class PrefixIndex {

  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;
  }

  public  PrefixIndex();
  public  PrefixIndex(long[] keys);
    PrefixIndex(long[] keys, ChunkedArray<T> values, int offset, int range);
    PrefixIndex(int offset, int range);

}