org.siebengeisslein.indexedlist
Class QueryResult<EntryType>
java.lang.Object
org.siebengeisslein.indexedlist.QueryResult<EntryType>
- All Implemented Interfaces:
- java.lang.Iterable
public class QueryResult<EntryType>
- extends java.lang.Object
- implements java.lang.Iterable
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QueryResult
public QueryResult(java.util.List<Ref> entries)
QueryResult
public QueryResult(Ref entry)
QueryResult
public QueryResult()
size
public int size()
getEntry
public EntryType getEntry(int index)
getRef
public Ref getRef(int index)
sort
public void sort(java.util.Comparator<EntryType> comparator)
iterator
public java.util.Iterator<EntryType> iterator()
- Specified by:
iterator in interface java.lang.Iterable
getRefs
public java.util.Collection<Ref> getRefs()
asHashSet
public java.util.HashSet<Ref> asHashSet()
asList
public java.util.List asList()