@ForUseOnly public interface MPPViewports extends Iterable<MPPViewport>
The iterators returned by this class's iterator
are fail-fast:
if the collection is structurally modified at any time after the iterator is
created, in any way except through the iterator's own
remove
method, the iterator will throw a
ConcurrentModificationException
. Thus, in the face of
concurrent modification, the iterator fails quickly and cleanly, rather
than risking arbitrary, non-deterministic behavior at an undetermined
time in the future.
Modifier and Type | Method and Description |
---|---|
void |
add(MPPViewport viewport)
Adds the given
viewport to the current collection of viewports. |
MPPViewport.Builder |
builder()
Provides a new builder instance to create a
viewport . |
boolean |
remove(MPPViewport viewport)
Removes the given viewport from the current collection.
|
forEach, iterator, spliterator
@NotNull MPPViewport.Builder builder()
viewport
.MPPViewport
void add(@NotNull MPPViewport viewport)
viewport
to the current collection of viewports.viewport
- the viewport to addMPPViewport
boolean remove(@NotNull MPPViewport viewport)
viewport
- the viewport to removeMPPViewport
Copyright © 2021 e-Spirit AG. All Rights Reserved. Build 5.2.210210