public int get ( final int key ) { int offset = endOfPositionField ; final int position = position ( ) ; while ( offset < position ) { if ( statusVolatile ( offset ) == COMMITTED && key == key ( offset ) ) { return offset + SIZE_OF_RECORD_FRAME ; } offset += slotSize ; } return DID_NOT_CLAIM_RECORD ; }
Search for the first record with the specified key .