public interface IShortArray extends IArray
ShortArrayList| Modifier and Type | Method and Description |
|---|---|
short[] |
elements()
Provides the Underlying Array in the Implementation
|
default void |
elements(java.util.function.Consumer<short[]> action)
Provides the Underlying Array in the Implementation.
|
ensureCapacityclearAndTrim, clearAndTrim, trim, trimshort[] 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<short[]> action)
action - the action that handles the arrayjava.lang.NullPointerException - if action is null