Package org.ships.movement
Class MovingBlockSet
- All Implemented Interfaces:
Serializable
,Cloneable
,Iterable<MovingBlock>
,Collection<MovingBlock>
,Set<MovingBlock>
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAfter
(org.core.world.position.impl.sync.SyncBlockPosition position) getAfter
(org.core.world.position.Positionable<?> positionable) getBefore
(org.core.world.position.impl.sync.SyncBlockPosition position) getBefore
(org.core.world.position.Positionable<?> positionable) order
(Comparator<? super MovingBlock> order) <T> Collection<T>
to
(Function<? super MovingBlock, ? extends T> function) Methods inherited from class java.util.HashSet
add, clear, clone, contains, isEmpty, iterator, remove, size, spliterator, toArray, toArray
Methods inherited from class java.util.AbstractSet
equals, hashCode, removeAll
Methods inherited from class java.util.AbstractCollection
addAll, containsAll, retainAll, 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
-
Field Details
-
ORDER_ON_PRIORITY
-
-
Constructor Details
-
MovingBlockSet
public MovingBlockSet() -
MovingBlockSet
-
-
Method Details
-
getOriginal
-
to
-
order
-
get
-
get
public Optional<MovingBlock> get(Predicate<? super org.core.world.position.block.details.BlockDetails> predicate) -
getBefore
-
getBefore
public Optional<MovingBlock> getBefore(org.core.world.position.impl.sync.SyncBlockPosition position) -
getAfter
-
getAfter
-