protected final int getIndex ( long stamp ) { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( this , tc , "getIndex" , Long . valueOf ( stamp ) ) ; int first = 0 ; int last = blockVector . size ( ) ; int index = linearSearch ( stamp , first , last - 1 ) ; if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . exit ( tc , "getIndex" , index ) ; return index ; }
gets the index in blockVector for the RangeObject containing stamp