Sha256: 9937ee7a94bf11cf45958e25effd6a371e330ca4797d76d44a66a5a7512c6e1f
Contents?: true
Size: 878 Bytes
Versions: 11
Compression:
Stored size: 878 Bytes
Contents
package toxi.util.datatypes; import java.util.List; /** * * @author tux * @param <T> */ public interface ItemIndex<T> { /** * */ public void clear(); /** * * @param id * @return */ public T forID(int id); /** * * @param item * @return */ public int getID(T item); /** * * @return */ public List<T> getItems(); /** * * @param item * @return */ public int index(T item); /** * * @param item * @return */ public boolean isIndexed(T item); /** * * @param item * @param newItem * @return */ public int reindex(T item, T newItem); /** * * @return */ public int size(); /** * * @param item * @return */ public int unindex(T item); }
Version data entries
11 entries across 11 versions & 1 rubygems