Package org.teavm.classlib.java.util
Class TLinkedHashSet<E>
java.lang.Object
org.teavm.classlib.java.lang.TObject
org.teavm.classlib.java.util.TAbstractCollection<E>
org.teavm.classlib.java.util.TAbstractSet<E>
org.teavm.classlib.java.util.THashSet<E>
org.teavm.classlib.java.util.TLinkedHashSet<E>
- All Implemented Interfaces:
TSerializable,TCloneable,TIterable<E>,TCollection<E>,TSequencedCollection<E>,TSequencedSet<E>,TSet<E>
public class TLinkedHashSet<E>
extends THashSet<E>
implements TSequencedSet<E>, TCloneable, TSerializable
-
Constructor Summary
ConstructorsConstructorDescriptionTLinkedHashSet(int capacity) TLinkedHashSet(int capacity, float loadFactor) TLinkedHashSet(TCollection<? extends E> collection) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidgetFirst()getLast()static <T> TLinkedHashSet<T> newLinkedHashSet(int size) reversed()Methods inherited from class org.teavm.classlib.java.util.THashSet
add, clear, clone, clone0, contains, isEmpty, iterator, newHashSet, remove, sizeMethods inherited from class org.teavm.classlib.java.util.TAbstractSet
equals, hashCode, removeAllMethods inherited from class org.teavm.classlib.java.util.TAbstractCollection
addAll, containsAll, retainAll, toArray, toArray, toStringMethods inherited from class org.teavm.classlib.java.lang.TObject
equals0, finalize, getClass0, notify0, notifyAll0, wait0, wait0, waitImpl
-
Constructor Details
-
TLinkedHashSet
public TLinkedHashSet() -
TLinkedHashSet
public TLinkedHashSet(int capacity) -
TLinkedHashSet
public TLinkedHashSet(int capacity, float loadFactor) -
TLinkedHashSet
-
-
Method Details
-
addFirst
- Specified by:
addFirstin interfaceTSequencedCollection<E>
-
addLast
- Specified by:
addLastin interfaceTSequencedCollection<E>
-
getFirst
- Specified by:
getFirstin interfaceTSequencedCollection<E>
-
getLast
- Specified by:
getLastin interfaceTSequencedCollection<E>
-
removeFirst
- Specified by:
removeFirstin interfaceTSequencedCollection<E>
-
removeLast
- Specified by:
removeLastin interfaceTSequencedCollection<E>
-
reversed
- Specified by:
reversedin interfaceTSequencedCollection<E>- Specified by:
reversedin interfaceTSequencedSet<E>
-
newLinkedHashSet
-