public final class ImmutableLinkedHashSet<E> extends ImmutableAbstractCollection<E> implements Set<E>, Serializable, Cloneable
| Constructor and Description |
|---|
ImmutableLinkedHashSet(Set<E> list)
Constructor that copies.
|
| Modifier and Type | Method and Description |
|---|---|
ImmutableLinkedHashSet<E> |
clone() |
E |
get(E object)
Retrieves the matching element specified.
|
E |
get(int index)
Retrieves the indexed element specified.
|
add, addAll, checkValidity, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray, toStringpublic ImmutableLinkedHashSet(Set<E> list)
list - the set to decorate, must not be nullIllegalArgumentException - if list is nullpublic final ImmutableLinkedHashSet<E> clone()
public E get(int index)
index - The element to retrieve.Copyright © 2010-2013 NWTS Java Code. All Rights Reserved. Licensed Under the Apache License version 2.0.