Class ValueSortedEntityList
java.lang.Object
ch.tocco.nice2.persist.core.api.entity.AbstractEntityList
ch.tocco.nice2.persist.core.api.entity.AbstractEntityListWrapper
ch.tocco.nice2.persist.core.api.util.AbstractSortedEntityList
ch.tocco.nice2.persist.core.api.util.ValueSortedEntityList
- All Implemented Interfaces:
EntityList
,Iterable<Entity>
A wrapper over an
EntityList
to sort the entries by Entity.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class ch.tocco.nice2.persist.core.api.entity.AbstractEntityList
AbstractEntityList.SimpleIterator
Nested classes/interfaces inherited from interface ch.tocco.nice2.persist.core.api.entity.EntityList
EntityList.Filter
-
Field Summary
Fields inherited from class ch.tocco.nice2.persist.core.api.util.AbstractSortedEntityList
keys
Fields inherited from class ch.tocco.nice2.persist.core.api.entity.AbstractEntityListWrapper
entityList
-
Constructor Summary
-
Method Summary
Methods inherited from class ch.tocco.nice2.persist.core.api.util.AbstractSortedEntityList
get, getKey, getKeys, indexOf, size
Methods inherited from class ch.tocco.nice2.persist.core.api.entity.AbstractEntityListWrapper
getManager, getModel, getPageCount, getPageSize, setPageSize, unwrap
Methods inherited from class ch.tocco.nice2.persist.core.api.entity.AbstractEntityList
contains, expect, expectAtLeast, expectAtMost, get, get, get, isEmpty, iterator, toList, toList
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface ch.tocco.nice2.persist.core.api.entity.EntityList
doWithSingleResult, doWithSingleResultOr, expectAtMostOrThrow, expectOr, expectOrThrow, getFirstEntity, getOnlyResult, getOptionalOnlyResult, getOptionalOnlyResult, spliterator, stream
-
Constructor Details
-
ValueSortedEntityList
public ValueSortedEntityList(EntityList entityList, Comparator<Entity> comparator) throws PersistException - Throws:
PersistException
- See Also:
-