nl: returns the 1-based position where a value is on this stack . if the value occurs as an item in this stack , this method returns the distance from the top of the stack of the occurrence nearest the top of the stack ; the topmost item on the stack is considered to be at distance 1 . concode_field_sep ArrayBooleanList list concode_field_sep boolean pop concode_elem_sep int size concode_elem_sep boolean get concode_elem_sep void clear concode_elem_sep boolean push concode_elem_sep boolean empty concode_elem_sep boolean peek concode_elem_sep boolean peek
code: int function ( boolean arg0 ) { for ( int loc0 = list . size ( ) - 1 ; loc0 >= 0 ; loc0 -- ) { if ( list . get ( loc0 ) == arg0 ) { return list . size ( ) - loc0 ; } } return - 1 ; }