@Test public void test2() throws Exception{ TailIndexBuilder tib = new ArrayTailIndexBuilder(); TailIndex ti = tib.build(); Assert.assertEquals(0, ti.size()); }
@Override public int size() { return indexes.length; }
ArrayTailIndex implements Externalizable, TailIndex { @Override public int size() { return indexes.length; } }
ArrayTailIndex implements Externalizable, TailIndex { @Override public int size() { return indexes.length; } ArrayTailIndex();  ArrayTailIndex(int[] indexes); }
ArrayTailIndex implements Externalizable, TailIndex { @Override public int size() { return indexes.length; } ArrayTailIndex();  ArrayTailIndex(int[] indexes); @Override int size(); int[] getIndexes(); @Override int get(int nodeId); @Override void readExternal(ObjectInput in); @Override void writeExternal(ObjectOutput out); }
ArrayTailIndex implements Externalizable, TailIndex { @Override public int size() { return indexes.length; } ArrayTailIndex();  ArrayTailIndex(int[] indexes); @Override int size(); int[] getIndexes(); @Override int get(int nodeId); @Override void readExternal(ObjectInput in); @Override void writeExternal(ObjectOutput out);  }