Package zombie.core.Collections
Class ZomboidHashSet
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractSet
zombie.core.Collections.ZomboidHashSet
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.lang.Iterable
,java.util.Collection
,java.util.Set
public class ZomboidHashSet
extends java.util.AbstractSet
implements java.util.Set, java.lang.Cloneable, java.io.Serializable
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description ZomboidHashSet()
ZomboidHashSet(int int1)
ZomboidHashSet(int int1, float float1)
ZomboidHashSet(java.util.Collection collection)
-
Method Summary
Methods inherited from class java.util.AbstractSet
equals, hashCode, removeAll
Methods inherited from class java.util.AbstractCollection
addAll, containsAll, retainAll, toArray, toArray, toString
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
Methods inherited from interface java.lang.Iterable
forEach
Methods inherited from interface java.util.Set
addAll, containsAll, equals, hashCode, removeAll, retainAll, spliterator, toArray, toArray
-
Constructor Details
-
ZomboidHashSet
public ZomboidHashSet() -
ZomboidHashSet
public ZomboidHashSet(java.util.Collection collection) -
ZomboidHashSet
public ZomboidHashSet(int int1, float float1) -
ZomboidHashSet
public ZomboidHashSet(int int1)
-
-
Method Details
-
iterator
public java.util.Iterator iterator()- Specified by:
iterator
in interfacejava.util.Collection
- Specified by:
iterator
in interfacejava.lang.Iterable
- Specified by:
iterator
in interfacejava.util.Set
- Specified by:
iterator
in classjava.util.AbstractCollection
-
size
public int size()- Specified by:
size
in interfacejava.util.Collection
- Specified by:
size
in interfacejava.util.Set
- Specified by:
size
in classjava.util.AbstractCollection
-
isEmpty
public boolean isEmpty()- Specified by:
isEmpty
in interfacejava.util.Collection
- Specified by:
isEmpty
in interfacejava.util.Set
- Overrides:
isEmpty
in classjava.util.AbstractCollection
-
contains
public boolean contains(java.lang.Object object)- Specified by:
contains
in interfacejava.util.Collection
- Specified by:
contains
in interfacejava.util.Set
- Overrides:
contains
in classjava.util.AbstractCollection
-
add
public boolean add(java.lang.Object object)- Specified by:
add
in interfacejava.util.Collection
- Specified by:
add
in interfacejava.util.Set
- Overrides:
add
in classjava.util.AbstractCollection
-
remove
public boolean remove(java.lang.Object object)- Specified by:
remove
in interfacejava.util.Collection
- Specified by:
remove
in interfacejava.util.Set
- Overrides:
remove
in classjava.util.AbstractCollection
-
clear
public void clear()- Specified by:
clear
in interfacejava.util.Collection
- Specified by:
clear
in interfacejava.util.Set
- Overrides:
clear
in classjava.util.AbstractCollection
-
clone
public java.lang.Object clone()- Overrides:
clone
in classjava.lang.Object
-