public abstract class OutputCollection<T> extends Object implements Iterable<T>
| Modifier | Constructor and Description |
|---|---|
protected |
OutputCollection() |
protected |
OutputCollection(Collection<T> items) |
protected |
OutputCollection(T... items) |
protected |
OutputCollection(T item) |
| Modifier and Type | Method and Description |
|---|---|
void |
addItem(T item) |
void |
addItems(Collection<T> toAdd) |
boolean |
containsItem(T item) |
protected abstract Comparator<T> |
getComparator() |
T |
getItem(int i) |
List<T> |
getItems() |
boolean |
isEmpty() |
Iterator<T> |
iterator() |
void |
removeItem(T item) |
int |
size() |
OutputCollection<T> |
withSortedItems() |
OutputCollection<T> |
withSortedItems(Collator collator) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorprotected OutputCollection()
protected OutputCollection(T item)
protected OutputCollection(Collection<T> items)
protected OutputCollection(T... items)
public boolean isEmpty()
public final void addItem(T item)
public final void addItems(Collection<T> toAdd)
public void removeItem(T item)
public T getItem(int i)
public int size()
public OutputCollection<T> withSortedItems()
public OutputCollection<T> withSortedItems(Collator collator)
protected abstract Comparator<T> getComparator()
public boolean containsItem(T item)
Copyright © 2013–2017 52North Initiative for Geospatial Open Source Software GmbH. All rights reserved.