ImmutableArray3.Plain
An immutable array backed by an array.
| Methods |
| static ImmutableArray3 |
insert(ImmutableArray3 base, int index, K obj)
Get a plain array with the given entry inserted.
|
| static ImmutableArray3 |
insert(ImmutableArray3 base, int index, K obj)
Get a plain array with the given entry inserted.
Parameters:
base - the base type
index - the index
obj - the object
Returns:
the immutable array
|
| static ImmutableArray3 |
remove(ImmutableArray3 base, int index)
Get a plain array with the given entry removed.
|
| static ImmutableArray3 |
remove(ImmutableArray3 base, int index)
Get a plain array with the given entry removed.
Parameters:
base - the base type
index - the index
Returns:
the immutable array
|
| static ImmutableArray3 |
set(ImmutableArray3 base, int index, K obj)
Get a plain array with the given entry updated.
|
| static ImmutableArray3 |
set(ImmutableArray3 base, int index, K obj)
Get a plain array with the given entry updated.
Parameters:
base - the base type
index - the index
obj - the object
Returns:
the immutable array
|
| K |
get(int index)
|
| K |
get(int index)
|
| ImmutableArray3 |
insert(int index, K obj)
|
| ImmutableArray3 |
insert(int index, K obj)
|
| int |
length()
|
| int |
length()
|
| int |
level()
|
| int |
level()
|
| ImmutableArray3 |
remove(int index)
|
| ImmutableArray3 |
remove(int index)
|
| ImmutableArray3 |
set(int index, K obj)
|
| ImmutableArray3 |
set(int index, K obj)
|
|