public interface IByteArray extends IArray
ByteArrayList| Modifier and Type | Method and Description |
|---|---|
byte[] |
elements()
Provides the Underlying Array in the Implementation
|
default void |
elements(java.util.function.Consumer<byte[]> action)
Provides the Underlying Array in the Implementation.
|
ensureCapacityclearAndTrim, clearAndTrim, trim, trimbyte[] elements()
java.lang.ClassCastException - if the return type does not match the underlying array. (Only for Object Implementations)default void elements(java.util.function.Consumer<byte[]> action)
action - the action that handles the arrayjava.lang.NullPointerException - if action is null