Class Cluster
java.lang.Object
org.cyclops.integrateddynamics.core.path.Cluster
- All Implemented Interfaces:
Iterable<ISidedPathElement>,Collection<ISidedPathElement>
A cluster for a collection of path elements.
-
Constructor Summary
ConstructorsConstructorDescriptionCluster()This constructor should not be called, except for the process of constructing networks from NBT.Cluster(TreeSet<ISidedPathElement> elements) -
Method Summary
Modifier and TypeMethodDescriptionbooleanadd(ISidedPathElement iSidedPathElement) booleanaddAll(Collection<? extends ISidedPathElement> c) voidclear()booleanbooleancontainsAll(Collection<?> c) booleanvoidfromParams(List<SidedPathElementParams> pathElements) inthashCode()booleanisEmpty()iterator()booleanbooleanremoveAll(Collection<?> c) booleanretainAll(Collection<?> c) intsize()Object[]toArray()<T> T[]toArray(T[] a) toParams()toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, spliterator, stream, toArray
-
Constructor Details
-
Cluster
public Cluster()This constructor should not be called, except for the process of constructing networks from NBT. -
Cluster
-
-
Method Details
-
getElements
-
equals
- Specified by:
equalsin interfaceCollection<ISidedPathElement>- Overrides:
equalsin classObject
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceCollection<ISidedPathElement>- Overrides:
hashCodein classObject
-
toString
-
size
public int size()- Specified by:
sizein interfaceCollection<ISidedPathElement>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceCollection<ISidedPathElement>
-
contains
- Specified by:
containsin interfaceCollection<ISidedPathElement>
-
iterator
- Specified by:
iteratorin interfaceCollection<ISidedPathElement>- Specified by:
iteratorin interfaceIterable<ISidedPathElement>
-
toArray
- Specified by:
toArrayin interfaceCollection<ISidedPathElement>
-
toArray
public <T> T[] toArray(T[] a) - Specified by:
toArrayin interfaceCollection<ISidedPathElement>
-
add
- Specified by:
addin interfaceCollection<ISidedPathElement>
-
remove
- Specified by:
removein interfaceCollection<ISidedPathElement>
-
containsAll
- Specified by:
containsAllin interfaceCollection<ISidedPathElement>
-
addAll
- Specified by:
addAllin interfaceCollection<ISidedPathElement>
-
removeAll
- Specified by:
removeAllin interfaceCollection<ISidedPathElement>
-
retainAll
- Specified by:
retainAllin interfaceCollection<ISidedPathElement>
-
clear
public void clear()- Specified by:
clearin interfaceCollection<ISidedPathElement>
-
fromParams
-
toParams
-