test_class.declarator: SEARCH_TERM = "searchTerm"
test_class.modifier: private static final
test_class.original_string: private static final String SEARCH_TERM = "searchTerm";
test_class.type: String
test_class.var_name: SEARCH_TERM
test_class.declarator: ID = 17L
test_class.modifier: private static final
test_class.original_string: private static final long ID = 17L;
test_class.type: long
test_class.var_name: ID
test_class.declarator: INITIAL_SIZE = 16
test_class.modifier: private static final
test_class.original_string: private static final int INITIAL_SIZE = 16;
test_class.type: int
test_class.var_name: INITIAL_SIZE
test_class.declarator: MISSING_VALUE = Long.MIN_VALUE
test_class.modifier: private static final
test_class.original_string: private static final long MISSING_VALUE = Long.MIN_VALUE;
test_class.type: long
test_class.var_name: MISSING_VALUE
test_class.declarator: MAX_KEY_LENGTH = 64
test_class.modifier: private static final
test_class.original_string: private static final int MAX_KEY_LENGTH = 64;
test_class.type: int
test_class.var_name: MAX_KEY_LENGTH
test_class.declarator: map = new CharSequenceMap(
          MAX_KEY_LENGTH, INITIAL_SIZE, MISSING_VALUE)
test_class.modifier: private final
test_class.original_string: private final CharSequenceMap map = new CharSequenceMap(
          MAX_KEY_LENGTH, INITIAL_SIZE, MISSING_VALUE);
test_class.type: CharSequenceMap
test_class.var_name: map
test_class.file: recall-store/src/test/java/com/aitusoftware/recall/map/CharSequenceMapTest.java
test_class.identifier: CharSequenceMapTest
test_case.body: @Test
      void shouldNotRetrieveUnknownValue()
      {
          assertThat(map.get(SEARCH_TERM)).isEqualTo(MISSING_VALUE);
      }
test_case.class_method_signature: CharSequenceMapTest.shouldNotRetrieveUnknownValue()
test_case.full_signature: @Test void shouldNotRetrieveUnknownValue()
test_case.identifier: shouldNotRetrieveUnknownValue
test_case.invocations: isEqualTo assertThat get
test_case.modifiers: @Test
test_case.parameters: ()
test_case.return: void
test_case.signature: void shouldNotRetrieveUnknownValue()
focal_class.declarator: KEY_OFFSET = Integer.BYTES * 4
focal_class.modifier: private static final
focal_class.original_string: private static final int KEY_OFFSET = Integer.BYTES * 4;
focal_class.type: int
focal_class.var_name: KEY_OFFSET
focal_class.declarator: HASH_OFFSET = Integer.BYTES * 3
focal_class.modifier: private static final
focal_class.original_string: private static final int HASH_OFFSET = Integer.BYTES * 3;
focal_class.type: int
focal_class.var_name: HASH_OFFSET
focal_class.declarator: ID_OFFSET = Integer.BYTES
focal_class.modifier: private static final
focal_class.original_string: private static final int ID_OFFSET = Integer.BYTES;
focal_class.type: int
focal_class.var_name: ID_OFFSET
focal_class.declarator: hash
focal_class.modifier: private final
focal_class.original_string: private final ToIntFunction<CharSequence> hash;
focal_class.type: ToIntFunction<CharSequence>
focal_class.var_name: hash
focal_class.declarator: charBuffer = new CharArrayCharSequence()
focal_class.modifier: private final
focal_class.original_string: private final CharArrayCharSequence charBuffer = new CharArrayCharSequence();
focal_class.type: CharArrayCharSequence
focal_class.var_name: charBuffer
focal_class.declarator: loadFactor = 0.7f
focal_class.modifier: private final
focal_class.original_string: private final float loadFactor = 0.7f;
focal_class.type: float
focal_class.var_name: loadFactor
focal_class.declarator: bufferFactory
focal_class.modifier: private final
focal_class.original_string: private final IntFunction<ByteBuffer> bufferFactory;
focal_class.type: IntFunction<ByteBuffer>
focal_class.var_name: bufferFactory
focal_class.declarator: missingValue
focal_class.modifier: private final
focal_class.original_string: private final long missingValue;
focal_class.type: long
focal_class.var_name: missingValue
focal_class.declarator: maxKeyLength
focal_class.modifier: private final
focal_class.original_string: private final int maxKeyLength;
focal_class.type: int
focal_class.var_name: maxKeyLength
focal_class.declarator: removeEntryHandler
focal_class.modifier: private final
focal_class.original_string: private final RemoveEntryHandler removeEntryHandler;
focal_class.type: RemoveEntryHandler
focal_class.var_name: removeEntryHandler
focal_class.declarator: searchEntryHandler = (b, i) -> {}
focal_class.modifier: private final
focal_class.original_string: private final EntryHandler searchEntryHandler = (b, i) -> {};
focal_class.type: EntryHandler
focal_class.var_name: searchEntryHandler
focal_class.declarator: entrySizeInBytes
focal_class.modifier: private final
focal_class.original_string: private final int entrySizeInBytes;
focal_class.type: int
focal_class.var_name: entrySizeInBytes
focal_class.declarator: dataBuffer
focal_class.modifier: private
focal_class.original_string: private ByteBuffer dataBuffer;
focal_class.type: ByteBuffer
focal_class.var_name: dataBuffer
focal_class.declarator: totalEntryCount
focal_class.modifier: private
focal_class.original_string: private int totalEntryCount;
focal_class.type: int
focal_class.var_name: totalEntryCount
focal_class.declarator: liveEntryCount
focal_class.modifier: private
focal_class.original_string: private int liveEntryCount;
focal_class.type: int
focal_class.var_name: liveEntryCount
focal_class.declarator: entryCountToTriggerRehash
focal_class.modifier: private
focal_class.original_string: private int entryCountToTriggerRehash;
focal_class.type: int
focal_class.var_name: entryCountToTriggerRehash
focal_class.declarator: entryMask
focal_class.modifier: private
focal_class.original_string: private int entryMask;
focal_class.type: int
focal_class.var_name: entryMask
focal_class.declarator: noDeletes = true
focal_class.modifier: private
focal_class.original_string: private boolean noDeletes = true;
focal_class.type: boolean
focal_class.var_name: noDeletes
focal_class.file: recall-store/src/main/java/com/aitusoftware/recall/map/CharSequenceMap.java
focal_class.identifier: CharSequenceMap
focal_class.interfaces: implements SequenceMap<CharSequence>
focal_class.class_method_signature: CharSequenceMap.CharSequenceMap(final int maxKeyLength, final int initialSize, final long missingValue)
focal_class.full_signature: public  CharSequenceMap(final int maxKeyLength, final int initialSize, final long missingValue)
focal_class.identifier: CharSequenceMap
focal_class.modifiers: public
focal_class.parameters: (final int maxKeyLength, final int initialSize, final long missingValue)
focal_class.signature:  CharSequenceMap(final int maxKeyLength, final int initialSize, final long missingValue)
focal_class.class_method_signature: CharSequenceMap.CharSequenceMap(
          final int maxKeyLength, final int initialSize,
          final long missingValue, final IntFunction<ByteBuffer> bufferFactory)
focal_class.full_signature: public  CharSequenceMap(
          final int maxKeyLength, final int initialSize,
          final long missingValue, final IntFunction<ByteBuffer> bufferFactory)
focal_class.identifier: CharSequenceMap
focal_class.modifiers: public
focal_class.parameters: (
          final int maxKeyLength, final int initialSize,
          final long missingValue, final IntFunction<ByteBuffer> bufferFactory)
focal_class.signature:  CharSequenceMap(
          final int maxKeyLength, final int initialSize,
          final long missingValue, final IntFunction<ByteBuffer> bufferFactory)
focal_class.class_method_signature: CharSequenceMap.CharSequenceMap(
          final int maxKeyLength, final int initialSize,
          final ToIntFunction<CharSequence> hash, final long missingValue,
          final IntFunction<ByteBuffer> bufferFactory)
focal_class.full_signature:   CharSequenceMap(
          final int maxKeyLength, final int initialSize,
          final ToIntFunction<CharSequence> hash, final long missingValue,
          final IntFunction<ByteBuffer> bufferFactory)
focal_class.identifier: CharSequenceMap
focal_class.parameters: (
          final int maxKeyLength, final int initialSize,
          final ToIntFunction<CharSequence> hash, final long missingValue,
          final IntFunction<ByteBuffer> bufferFactory)
focal_class.signature:  CharSequenceMap(
          final int maxKeyLength, final int initialSize,
          final ToIntFunction<CharSequence> hash, final long missingValue,
          final IntFunction<ByteBuffer> bufferFactory)
focal_class.class_method_signature: CharSequenceMap.put(final CharSequence value, final long id)
focal_class.full_signature: public void put(final CharSequence value, final long id)
focal_class.identifier: put
focal_class.modifiers: public
focal_class.parameters: (final CharSequence value, final long id)
focal_class.return: void
focal_class.signature: void put(final CharSequence value, final long id)
focal_class.class_method_signature: CharSequenceMap.get(final CharSequence value)
focal_class.full_signature: public long get(final CharSequence value)
focal_class.identifier: get
focal_class.modifiers: public
focal_class.parameters: (final CharSequence value)
focal_class.return: long
focal_class.signature: long get(final CharSequence value)
focal_class.class_method_signature: CharSequenceMap.remove(final CharSequence value)
focal_class.full_signature: public long remove(final CharSequence value)
focal_class.identifier: remove
focal_class.modifiers: public
focal_class.parameters: (final CharSequence value)
focal_class.return: long
focal_class.signature: long remove(final CharSequence value)
focal_class.class_method_signature: CharSequenceMap.size()
focal_class.full_signature: public int size()
focal_class.identifier: size
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int size()
focal_class.class_method_signature: CharSequenceMap.rehash()
focal_class.full_signature: public void rehash()
focal_class.identifier: rehash
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void rehash()
focal_class.class_method_signature: CharSequenceMap.insertEntry(
          final CharSequence value, final long id,
          final int entryIndex, final boolean isInsert, final int hashValue)
focal_class.full_signature: private void insertEntry(
          final CharSequence value, final long id,
          final int entryIndex, final boolean isInsert, final int hashValue)
focal_class.identifier: insertEntry
focal_class.modifiers: private
focal_class.parameters: (
          final CharSequence value, final long id,
          final int entryIndex, final boolean isInsert, final int hashValue)
focal_class.return: void
focal_class.signature: void insertEntry(
          final CharSequence value, final long id,
          final int entryIndex, final boolean isInsert, final int hashValue)
focal_class.class_method_signature: CharSequenceMap.isEmptyEntrySlot(final int entryIndex)
focal_class.full_signature: private boolean isEmptyEntrySlot(final int entryIndex)
focal_class.identifier: isEmptyEntrySlot
focal_class.modifiers: private
focal_class.parameters: (final int entryIndex)
focal_class.return: boolean
focal_class.signature: boolean isEmptyEntrySlot(final int entryIndex)
focal_class.class_method_signature: CharSequenceMap.rehash(final boolean shouldResize)
focal_class.full_signature: private void rehash(final boolean shouldResize)
focal_class.identifier: rehash
focal_class.modifiers: private
focal_class.parameters: (final boolean shouldResize)
focal_class.return: void
focal_class.signature: void rehash(final boolean shouldResize)
focal_class.class_method_signature: CharSequenceMap.search(final CharSequence value, final EntryHandler entryHandler)
focal_class.full_signature: private long search(final CharSequence value, final EntryHandler entryHandler)
focal_class.identifier: search
focal_class.modifiers: private
focal_class.parameters: (final CharSequence value, final EntryHandler entryHandler)
focal_class.return: long
focal_class.signature: long search(final CharSequence value, final EntryHandler entryHandler)
focal_class.class_method_signature: CharSequenceMap.isExistingEntryAt(final CharSequence value, final int entryIndex, final int hashValue)
focal_class.full_signature: private boolean isExistingEntryAt(final CharSequence value, final int entryIndex, final int hashValue)
focal_class.identifier: isExistingEntryAt
focal_class.modifiers: private
focal_class.parameters: (final CharSequence value, final int entryIndex, final int hashValue)
focal_class.return: boolean
focal_class.signature: boolean isExistingEntryAt(final CharSequence value, final int entryIndex, final int hashValue)
focal_class.class_method_signature: CharSequenceMap.defaultHash(final CharSequence value)
focal_class.full_signature: private static int defaultHash(final CharSequence value)
focal_class.identifier: defaultHash
focal_class.modifiers: private static
focal_class.parameters: (final CharSequence value)
focal_class.return: int
focal_class.signature: int defaultHash(final CharSequence value)
focal_class.class_method_signature: CharSequenceMap.byteOffset(final int entryIndex)
focal_class.full_signature: private int byteOffset(final int entryIndex)
focal_class.identifier: byteOffset
focal_class.modifiers: private
focal_class.parameters: (final int entryIndex)
focal_class.return: int
focal_class.signature: int byteOffset(final int entryIndex)
focal_class.class_method_signature: CharSequenceMap.isValuePresent(final int entryIndex, final ByteBuffer dataBuffer)
focal_class.full_signature: private boolean isValuePresent(final int entryIndex, final ByteBuffer dataBuffer)
focal_class.identifier: isValuePresent
focal_class.modifiers: private
focal_class.parameters: (final int entryIndex, final ByteBuffer dataBuffer)
focal_class.return: boolean
focal_class.signature: boolean isValuePresent(final int entryIndex, final ByteBuffer dataBuffer)
focal_class.class_method_signature: CharSequenceMap.setValueLength(final int entryIndex, final int valueLength, final ByteBuffer dataBuffer)
focal_class.full_signature: private void setValueLength(final int entryIndex, final int valueLength, final ByteBuffer dataBuffer)
focal_class.identifier: setValueLength
focal_class.modifiers: private
focal_class.parameters: (final int entryIndex, final int valueLength, final ByteBuffer dataBuffer)
focal_class.return: void
focal_class.signature: void setValueLength(final int entryIndex, final int valueLength, final ByteBuffer dataBuffer)
focal_class.class_method_signature: CharSequenceMap.getValueLength(final int entryIndex, final ByteBuffer dataBuffer)
focal_class.full_signature: private int getValueLength(final int entryIndex, final ByteBuffer dataBuffer)
focal_class.identifier: getValueLength
focal_class.modifiers: private
focal_class.parameters: (final int entryIndex, final ByteBuffer dataBuffer)
focal_class.return: int
focal_class.signature: int getValueLength(final int entryIndex, final ByteBuffer dataBuffer)
focal_class.class_method_signature: CharSequenceMap.setId(final int entryIndex, final long id, final ByteBuffer dataBuffer)
focal_class.full_signature: private void setId(final int entryIndex, final long id, final ByteBuffer dataBuffer)
focal_class.identifier: setId
focal_class.modifiers: private
focal_class.parameters: (final int entryIndex, final long id, final ByteBuffer dataBuffer)
focal_class.return: void
focal_class.signature: void setId(final int entryIndex, final long id, final ByteBuffer dataBuffer)
focal_class.class_method_signature: CharSequenceMap.getId(final int entryIndex, final ByteBuffer dataBuffer)
focal_class.full_signature: private long getId(final int entryIndex, final ByteBuffer dataBuffer)
focal_class.identifier: getId
focal_class.modifiers: private
focal_class.parameters: (final int entryIndex, final ByteBuffer dataBuffer)
focal_class.return: long
focal_class.signature: long getId(final int entryIndex, final ByteBuffer dataBuffer)
focal_class.class_method_signature: CharSequenceMap.setHash(final int entryIndex, final int hashValue, final ByteBuffer dataBuffer)
focal_class.full_signature: private void setHash(final int entryIndex, final int hashValue, final ByteBuffer dataBuffer)
focal_class.identifier: setHash
focal_class.modifiers: private
focal_class.parameters: (final int entryIndex, final int hashValue, final ByteBuffer dataBuffer)
focal_class.return: void
focal_class.signature: void setHash(final int entryIndex, final int hashValue, final ByteBuffer dataBuffer)
focal_class.class_method_signature: CharSequenceMap.getHash(final int entryIndex, final ByteBuffer dataBuffer)
focal_class.full_signature: private int getHash(final int entryIndex, final ByteBuffer dataBuffer)
focal_class.identifier: getHash
focal_class.modifiers: private
focal_class.parameters: (final int entryIndex, final ByteBuffer dataBuffer)
focal_class.return: int
focal_class.signature: int getHash(final int entryIndex, final ByteBuffer dataBuffer)
focal_class.class_method_signature: CharSequenceMap.keyOffset(final int entryIndex)
focal_class.full_signature: private int keyOffset(final int entryIndex)
focal_class.identifier: keyOffset
focal_class.modifiers: private
focal_class.parameters: (final int entryIndex)
focal_class.return: int
focal_class.signature: int keyOffset(final int entryIndex)
focal_method.body: public long get(final CharSequence value)
      {
          return search(value, searchEntryHandler);
      }
focal_method.class_method_signature: CharSequenceMap.get(final CharSequence value)
focal_method.full_signature: public long get(final CharSequence value)
focal_method.identifier: get
focal_method.invocations: search
focal_method.modifiers: public
focal_method.parameters: (final CharSequence value)
focal_method.return: long
focal_method.signature: long get(final CharSequence value)