toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-foundation
/
korlibs.datastructure
/
ShortArrayDeque
Short
Array
Deque
class
ShortArrayDeque
(
val
initialBits
:
Int
=
10
)
Members
Constructors
Short
Array
Deque
Link copied to clipboard
constructor
(
initialBits
:
Int
=
10
)
Properties
available
Read
Link copied to clipboard
val
availableRead
:
Int
available
Write
Without
Allocating
Link copied to clipboard
val
availableWriteWithoutAllocating
:
Int
has
More
To
Read
Link copied to clipboard
val
hasMoreToRead
:
Boolean
has
More
To
Write
Link copied to clipboard
val
hasMoreToWrite
:
Boolean
initial
Bits
Link copied to clipboard
val
initialBits
:
Int
=
10
read
Link copied to clipboard
var
read
:
Long
written
Link copied to clipboard
var
written
:
Long
Functions
clear
Link copied to clipboard
fun
clear
(
)
clone
Link copied to clipboard
fun
clone
(
)
:
ShortArrayDeque
equals
Link copied to clipboard
open
operator override
fun
equals
(
other
:
Any
?
)
:
Boolean
hash
Code
Link copied to clipboard
open
override
fun
hashCode
(
)
:
Int
read
Link copied to clipboard
@
JvmOverloads
fun
read
(
buffer
:
ShortArray
,
offset
:
Int
=
0
,
size
:
Int
=
buffer.size - offset
)
:
Int
read
One
Link copied to clipboard
fun
readOne
(
)
:
Short
write
Link copied to clipboard
@
JvmOverloads
fun
write
(
buffer
:
ShortArray
,
offset
:
Int
=
0
,
size
:
Int
=
buffer.size - offset
)
:
Int
write
Head
Link copied to clipboard
@
JvmOverloads
fun
writeHead
(
buffer
:
ShortArray
,
offset
:
Int
=
0
,
size
:
Int
=
buffer.size - offset
)
:
Int
write
One
Link copied to clipboard
fun
writeOne
(
value
:
Short
)