@Override public Iterator<Integer> iterator() { return Iterators.transform( baseIndex.iterator(), new Function<Integer, Integer>() { @Override public Integer apply(@Nullable Integer input) { return conversionBuffer.get(input); } }); }
public int get(int index) { return conversionBuffer.get(baseIndex.get(index)); }
public int size() { return baseIndex.size(); }