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 TypeMethodDescriptionvoid
void
getFirst()
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, size
Methods inherited from class org.teavm.classlib.java.util.TAbstractSet
equals, hashCode, removeAll
Methods inherited from class org.teavm.classlib.java.util.TAbstractCollection
addAll, containsAll, retainAll, toArray, toArray, toString
Methods 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:
addFirst
in interfaceTSequencedCollection<E>
-
addLast
- Specified by:
addLast
in interfaceTSequencedCollection<E>
-
getFirst
- Specified by:
getFirst
in interfaceTSequencedCollection<E>
-
getLast
- Specified by:
getLast
in interfaceTSequencedCollection<E>
-
removeFirst
- Specified by:
removeFirst
in interfaceTSequencedCollection<E>
-
removeLast
- Specified by:
removeLast
in interfaceTSequencedCollection<E>
-
reversed
- Specified by:
reversed
in interfaceTSequencedCollection<E>
- Specified by:
reversed
in interfaceTSequencedSet<E>
-
newLinkedHashSet
-