public class InsertionSortedSet<E> extends AbstractSet<E> implements Serializable
Title: Implementation of a set that is ordered by insertion order
Description:
Copyright: Copyright (c) 2002
Company: Jahia Ltd
| Constructor and Description |
|---|
InsertionSortedSet() |
InsertionSortedSet(Collection<? extends E> c) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(E o) |
Iterator<E> |
iterator() |
protected void |
setInternalList(List<E> internalList) |
int |
size() |
equals, hashCode, removeAlladdAll, clear, contains, containsAll, isEmpty, remove, retainAll, toArray, toArray, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddAll, clear, contains, containsAll, isEmpty, remove, retainAll, spliterator, toArray, toArrayparallelStream, removeIf, streampublic InsertionSortedSet()
public InsertionSortedSet(Collection<? extends E> c)
public boolean add(E o) throws UnsupportedOperationException, NullPointerException, ClassCastException, IllegalArgumentException
add in interface Collection<E>add in interface Set<E>add in class AbstractCollection<E>UnsupportedOperationExceptionNullPointerExceptionClassCastExceptionIllegalArgumentExceptionpublic int size()
size in interface Collection<E>size in interface Set<E>size in class AbstractCollection<E>Copyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.