public interface CapacityCarrying extends Sized
| Modifier and Type | Method and Description |
|---|---|
default boolean |
isFull() |
long |
maximumCapacity()
Returns the maximum amount of elements this carrier instance can contain.
The actual value may be depend on the configuration of the concrete instance or may depend only on the implementation of the carrier (meaning it is constant for all instances of the implementation, e.g. |
default long |
remainingCapacity() |
long maximumCapacity()
Integer.MAX_VALUE)default long remainingCapacity()
default boolean isFull()
Copyright © 2022 MicroStream Software. All rights reserved.