package org.warp.jcwdb; import java.util.Iterator; import java.util.List; import java.util.function.Consumer; public interface LightList extends List { Iterator> iteratorReferences(); void forEachReference(Consumer> action); EntryReference addEntry(T o); boolean remove(EntryReference ref); EntryReference getReference(int index); int indexOfEntry(EntryReference ref); int lastIndexOfEntry(EntryReference ref); void appendIndex(long elementIndex); }