toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-foundation
/
korlibs.datastructure
/
ShortArrayList
Short
Array
List
class
ShortArrayList
(
initialCapacity
:
Int
=
7
)
Members
Constructors
Short
Array
List
Link copied to clipboard
constructor
(
initialCapacity
:
Int
=
7
)
Properties
array
Link copied to clipboard
val
array
:
IntArrayList
size
Link copied to clipboard
var
size
:
Int
Functions
add
Link copied to clipboard
fun
add
(
value
:
Short
)
clear
Link copied to clipboard
fun
clear
(
)
ensure
Capacity
Link copied to clipboard
fun
ensureCapacity
(
capacity
:
Int
)
get
Link copied to clipboard
operator
fun
get
(
index
:
Int
)
:
Short
get
At
Link copied to clipboard
fun
getAt
(
index
:
Int
)
:
Short
remove
Index
Link copied to clipboard
fun
removeIndex
(
index
:
Int
)
:
Short
set
Link copied to clipboard
operator
fun
set
(
index
:
Int
,
value
:
Short
)
:
Int
set
At
Link copied to clipboard
fun
setAt
(
index
:
Int
,
value
:
Short
)
:
Int
to
Short
Array
Link copied to clipboard
fun
toShortArray
(
)
:
ShortArray