Package org.n52.io.response
Class OutputCollection<T extends ParameterOutput>
- java.lang.Object
-
- org.n52.io.response.OutputCollection<T>
-
- All Implemented Interfaces:
Iterable<T>
public class OutputCollection<T extends ParameterOutput> extends Object implements Iterable<T>
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedOutputCollection()OutputCollection(List<T> items)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddItem(T item)voidaddItems(Collection<T> toAdd)booleancontainsItem(T item)protected Comparator<T>getComparator()TgetItem(int i)List<T>getItems()booleanisEmpty()Iterator<T>iterator()voidremoveItem(T item)intsize()Stream<T>stream()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
-
addItem
public final void addItem(T item)
-
addItems
public final void addItems(Collection<T> toAdd)
-
removeItem
public void removeItem(T item)
-
getItem
public T getItem(int i)
-
size
public int size()
-
getComparator
protected Comparator<T> getComparator()
-
containsItem
public boolean containsItem(T item)
-
-