test_class.file: splitmap/src/test/java/com/openkappa/splitmap/PrefixIndexTest.java
test_class.identifier: PrefixIndexTest
test_case.body: @Test
    public void ifValueDoesntExisteGetNull() {
      PrefixIndex<String> index = new PrefixIndex<>();
      assertNull(index.get((short) 0));
    }
test_case.class_method_signature: PrefixIndexTest.ifValueDoesntExisteGetNull()
test_case.full_signature: @Test public void ifValueDoesntExisteGetNull()
test_case.identifier: ifValueDoesntExisteGetNull
test_case.invocations: assertNull get
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void ifValueDoesntExisteGetNull()
focal_class.declarator: PARTITIONS
focal_class.modifier: static final
focal_class.original_string: static final int PARTITIONS;
focal_class.type: int
focal_class.var_name: PARTITIONS
focal_class.declarator: PARTITION_SIZE
focal_class.modifier: static final
focal_class.original_string: static final int PARTITION_SIZE;
focal_class.type: int
focal_class.var_name: PARTITION_SIZE
focal_class.declarator: PROTOTYPE = new long[1 << 10]
focal_class.modifier: private static final
focal_class.original_string: private static final long[] PROTOTYPE = new long[1 << 10];
focal_class.type: long[]
focal_class.var_name: PROTOTYPE
focal_class.declarator: keys
focal_class.modifier: private final
focal_class.original_string: private final long[] keys;
focal_class.type: long[]
focal_class.var_name: keys
focal_class.declarator: values
focal_class.modifier: private final
focal_class.original_string: private final ChunkedArray<T> values;
focal_class.type: ChunkedArray<T>
focal_class.var_name: values
focal_class.declarator: offset
focal_class.modifier: private final
focal_class.original_string: private final int offset;
focal_class.type: int
focal_class.var_name: offset
focal_class.declarator: range
focal_class.modifier: private final
focal_class.original_string: private final int range;
focal_class.type: int
focal_class.var_name: range
focal_class.file: splitmap/src/main/java/com/openkappa/splitmap/PrefixIndex.java
focal_class.identifier: PrefixIndex
focal_class.class_method_signature: PrefixIndex.PrefixIndex()
focal_class.full_signature: public  PrefixIndex()
focal_class.identifier: PrefixIndex
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  PrefixIndex()
focal_class.class_method_signature: PrefixIndex.PrefixIndex(long[] keys)
focal_class.full_signature: public  PrefixIndex(long[] keys)
focal_class.identifier: PrefixIndex
focal_class.modifiers: public
focal_class.parameters: (long[] keys)
focal_class.signature:  PrefixIndex(long[] keys)
focal_class.class_method_signature: PrefixIndex.PrefixIndex(long[] keys, ChunkedArray<T> values, int offset, int range)
focal_class.full_signature:   PrefixIndex(long[] keys, ChunkedArray<T> values, int offset, int range)
focal_class.identifier: PrefixIndex
focal_class.parameters: (long[] keys, ChunkedArray<T> values, int offset, int range)
focal_class.signature:  PrefixIndex(long[] keys, ChunkedArray<T> values, int offset, int range)
focal_class.class_method_signature: PrefixIndex.PrefixIndex(int offset, int range)
focal_class.full_signature:   PrefixIndex(int offset, int range)
focal_class.identifier: PrefixIndex
focal_class.parameters: (int offset, int range)
focal_class.signature:  PrefixIndex(int offset, int range)
focal_class.class_method_signature: PrefixIndex.getMinChunkIndex()
focal_class.full_signature: public int getMinChunkIndex()
focal_class.identifier: getMinChunkIndex
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getMinChunkIndex()
focal_class.class_method_signature: PrefixIndex.getMaxChunkIndex()
focal_class.full_signature: public int getMaxChunkIndex()
focal_class.identifier: getMaxChunkIndex
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getMaxChunkIndex()
focal_class.class_method_signature: PrefixIndex.isEmpty()
focal_class.full_signature: public boolean isEmpty()
focal_class.identifier: isEmpty
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isEmpty()
focal_class.class_method_signature: PrefixIndex.get(short key)
focal_class.full_signature: public T get(short key)
focal_class.identifier: get
focal_class.modifiers: public
focal_class.parameters: (short key)
focal_class.return: T
focal_class.signature: T get(short key)
focal_class.class_method_signature: PrefixIndex.insert(short key, T value)
focal_class.full_signature: public void insert(short key, T value)
focal_class.identifier: insert
focal_class.modifiers: public
focal_class.parameters: (short key, T value)
focal_class.return: void
focal_class.signature: void insert(short key, T value)
focal_class.class_method_signature: PrefixIndex.streamUniformPartitions()
focal_class.full_signature: public Stream<PrefixIndex<T>> streamUniformPartitions()
focal_class.identifier: streamUniformPartitions
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Stream<PrefixIndex<T>>
focal_class.signature: Stream<PrefixIndex<T>> streamUniformPartitions()
focal_class.class_method_signature: PrefixIndex.forEach(KeyValueConsumer<T> consumer)
focal_class.full_signature: public void forEach(KeyValueConsumer<T> consumer)
focal_class.identifier: forEach
focal_class.modifiers: public
focal_class.parameters: (KeyValueConsumer<T> consumer)
focal_class.return: void
focal_class.signature: void forEach(KeyValueConsumer<T> consumer)
focal_class.class_method_signature: PrefixIndex.reduce(ReductionProcedure<Model, Output, Result, T> procedure)
focal_class.full_signature: public ReductionContext<Model, Output, Result> reduce(ReductionProcedure<Model, Output, Result, T> procedure)
focal_class.identifier: reduce
focal_class.modifiers: public
focal_class.parameters: (ReductionProcedure<Model, Output, Result, T> procedure)
focal_class.return: ReductionContext<Model, Output, Result>
focal_class.signature: ReductionContext<Model, Output, Result> reduce(ReductionProcedure<Model, Output, Result, T> procedure)
focal_class.class_method_signature: PrefixIndex.reduceDouble(ReductionProcedure<?, Output, Double, T> procedure)
focal_class.full_signature: public double reduceDouble(ReductionProcedure<?, Output, Double, T> procedure)
focal_class.identifier: reduceDouble
focal_class.modifiers: public
focal_class.parameters: (ReductionProcedure<?, Output, Double, T> procedure)
focal_class.return: double
focal_class.signature: double reduceDouble(ReductionProcedure<?, Output, Double, T> procedure)
focal_class.class_method_signature: PrefixIndex.reduceDouble(double initial, IntFunction<U> mapKey, ToDoubleBiFunction<T, U> mapValue, DoubleBinaryOperator reduce)
focal_class.full_signature: public double reduceDouble(double initial, IntFunction<U> mapKey, ToDoubleBiFunction<T, U> mapValue, DoubleBinaryOperator reduce)
focal_class.identifier: reduceDouble
focal_class.modifiers: public
focal_class.parameters: (double initial, IntFunction<U> mapKey, ToDoubleBiFunction<T, U> mapValue, DoubleBinaryOperator reduce)
focal_class.return: double
focal_class.signature: double reduceDouble(double initial, IntFunction<U> mapKey, ToDoubleBiFunction<T, U> mapValue, DoubleBinaryOperator reduce)
focal_class.class_method_signature: PrefixIndex.reduceDouble(double initial, ToDoubleFunction<T> map, DoubleBinaryOperator reduce)
focal_class.full_signature: public double reduceDouble(double initial, ToDoubleFunction<T> map, DoubleBinaryOperator reduce)
focal_class.identifier: reduceDouble
focal_class.modifiers: public
focal_class.parameters: (double initial, ToDoubleFunction<T> map, DoubleBinaryOperator reduce)
focal_class.return: double
focal_class.signature: double reduceDouble(double initial, ToDoubleFunction<T> map, DoubleBinaryOperator reduce)
focal_class.class_method_signature: PrefixIndex.reduceLong(ReductionProcedure<?, Output, Long, T> procedure)
focal_class.full_signature: public long reduceLong(ReductionProcedure<?, Output, Long, T> procedure)
focal_class.identifier: reduceLong
focal_class.modifiers: public
focal_class.parameters: (ReductionProcedure<?, Output, Long, T> procedure)
focal_class.return: long
focal_class.signature: long reduceLong(ReductionProcedure<?, Output, Long, T> procedure)
focal_class.class_method_signature: PrefixIndex.reduceLong(long initial, ToLongFunction<T> map, LongBinaryOperator reduce)
focal_class.full_signature: public long reduceLong(long initial, ToLongFunction<T> map, LongBinaryOperator reduce)
focal_class.identifier: reduceLong
focal_class.modifiers: public
focal_class.parameters: (long initial, ToLongFunction<T> map, LongBinaryOperator reduce)
focal_class.return: long
focal_class.signature: long reduceLong(long initial, ToLongFunction<T> map, LongBinaryOperator reduce)
focal_class.class_method_signature: PrefixIndex.reduceInt(ReductionProcedure<?, Output, Integer, T> procedure)
focal_class.full_signature: public int reduceInt(ReductionProcedure<?, Output, Integer, T> procedure)
focal_class.identifier: reduceInt
focal_class.modifiers: public
focal_class.parameters: (ReductionProcedure<?, Output, Integer, T> procedure)
focal_class.return: int
focal_class.signature: int reduceInt(ReductionProcedure<?, Output, Integer, T> procedure)
focal_class.class_method_signature: PrefixIndex.reduceInt(int initial, ToIntFunction<T> map, IntBinaryOperator reduce)
focal_class.full_signature: public int reduceInt(int initial, ToIntFunction<T> map, IntBinaryOperator reduce)
focal_class.identifier: reduceInt
focal_class.modifiers: public
focal_class.parameters: (int initial, ToIntFunction<T> map, IntBinaryOperator reduce)
focal_class.return: int
focal_class.signature: int reduceInt(int initial, ToIntFunction<T> map, IntBinaryOperator reduce)
focal_class.class_method_signature: PrefixIndex.writeChunk(int wordIndex, long word, T[] chunk)
focal_class.full_signature: public void writeChunk(int wordIndex, long word, T[] chunk)
focal_class.identifier: writeChunk
focal_class.modifiers: public
focal_class.parameters: (int wordIndex, long word, T[] chunk)
focal_class.return: void
focal_class.signature: void writeChunk(int wordIndex, long word, T[] chunk)
focal_class.class_method_signature: PrefixIndex.transferChunk(int wordIndex, long word, T[] chunk)
focal_class.full_signature: public void transferChunk(int wordIndex, long word, T[] chunk)
focal_class.identifier: transferChunk
focal_class.modifiers: public
focal_class.parameters: (int wordIndex, long word, T[] chunk)
focal_class.return: void
focal_class.signature: void transferChunk(int wordIndex, long word, T[] chunk)
focal_class.class_method_signature: PrefixIndex.computeKeyWord(int wordIndex, long value, LongBinaryOperator op)
focal_class.full_signature: public long computeKeyWord(int wordIndex, long value, LongBinaryOperator op)
focal_class.identifier: computeKeyWord
focal_class.modifiers: public
focal_class.parameters: (int wordIndex, long value, LongBinaryOperator op)
focal_class.return: long
focal_class.signature: long computeKeyWord(int wordIndex, long value, LongBinaryOperator op)
focal_class.class_method_signature: PrefixIndex.readKeyWord(int wordIndex)
focal_class.full_signature: public long readKeyWord(int wordIndex)
focal_class.identifier: readKeyWord
focal_class.modifiers: public
focal_class.parameters: (int wordIndex)
focal_class.return: long
focal_class.signature: long readKeyWord(int wordIndex)
focal_class.class_method_signature: PrefixIndex.readChunk(int chunkIndex, T[] ouptut)
focal_class.full_signature: public boolean readChunk(int chunkIndex, T[] ouptut)
focal_class.identifier: readChunk
focal_class.modifiers: public
focal_class.parameters: (int chunkIndex, T[] ouptut)
focal_class.return: boolean
focal_class.signature: boolean readChunk(int chunkIndex, T[] ouptut)
focal_class.class_method_signature: PrefixIndex.getChunkNoCopy(int chunkIndex)
focal_class.full_signature:  T[] getChunkNoCopy(int chunkIndex)
focal_class.identifier: getChunkNoCopy
focal_class.parameters: (int chunkIndex)
focal_class.return: T[]
focal_class.signature: T[] getChunkNoCopy(int chunkIndex)
focal_method.body: public T get(short key) {
      int pos = key & 0xFFFF;
      int wordIndex = pos >>> 6;
      assert wordIndex >= offset && wordIndex <= offset + range;
      if ((keys[wordIndex] & (1L << pos)) != 0) {
        return values.get(pos);
      }
      return null;
    }
focal_method.class_method_signature: PrefixIndex.get(short key)
focal_method.full_signature: public T get(short key)
focal_method.identifier: get
focal_method.invocations: get
focal_method.modifiers: public
focal_method.parameters: (short key)
focal_method.return: T
focal_method.signature: T get(short key)