Interface ObjectArray<T>
- Type Parameters:
T
- the type of the array
@Internal
public sealed interface ObjectArray<T>
Represents an array which will be resized to the highest required index.
-
Method Summary
Modifier and TypeMethodDescription@UnknownNullability T @NotNull []
static <T> @NotNull ObjectArray
<T> static <T> @NotNull ObjectArray
<T> concurrent
(int initialSize) @UnknownNullability T
get
(int index) default void
remove
(int index) void
static <T> @NotNull ObjectArray
<T> static <T> @NotNull ObjectArray
<T> singleThread
(int initialSize) void
trim()
-
Method Details
-
singleThread
-
singleThread
-
concurrent
-
concurrent
-
get
-
set
-
remove
default void remove(int index) -
trim
void trim() -
arrayCopy
-