
E - element type.public class LinkedHashSet<E> extends HashSet<E> implements Set<E>, Cloneable
| Constructor and Description |
|---|
LinkedHashSet() |
LinkedHashSet(Collection<? extends E> c) |
LinkedHashSet(int initialCapacity) |
LinkedHashSet(int initialCapacity,
float loadFactor) |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
add, clear, contains, isEmpty, iterator, remove, size, toStringequals, hashCode, removeAlladdAll, containsAll, retainAll, toArray, toArraypublic LinkedHashSet()
public LinkedHashSet(Collection<? extends E> c)
c - public LinkedHashSet(int initialCapacity)
initialCapacity - public LinkedHashSet(int initialCapacity,
float loadFactor)
initialCapacity - loadFactor - Copyright © 2018. All rights reserved.