E - The underlying entity type.public class Entities<E> extends Entity implements Iterable<E>
| Modifier and Type | Field and Description |
|---|---|
protected List<E> |
entries |
entityType| Modifier | Constructor and Description |
|---|---|
protected |
Entities(String entityType) |
protected |
Entities(String entityType,
List<? extends E> entries) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addEntry(E entry) |
List<E> |
getEntries() |
E |
getEntry(int index) |
boolean |
isEmpty() |
Iterator<E> |
iterator() |
int |
size() |
void |
sort(Comparator<? super E> comparator) |
Stream<E> |
streamEntries() |
getEntityTypeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorprotected Entities(String entityType)
public E getEntry(int index)
public int size()
public boolean isEmpty()
public boolean addEntry(E entry)
public void sort(Comparator<? super E> comparator)
Copyright © 2018 Nuxeo. All rights reserved.