cp-library-kt
Toggle table of contents
jvm
Platform filter
jvm
Switch theme
Search in API
cp-library-kt
cp-library-kt
/
lib.mod
/
ModIntArray
Mod
Int
Array
@
JvmInline
value
class
ModIntArray
:
Collection
<
ModInt
>
(
source
)
ModInt
の配列
List<ModInt>
ではパフォーマンスが悪いため、内部的に
IntArray
として持つことで高速化する
Members
Constructors
Mod
Int
Array
Link copied to clipboard
constructor
(
size
:
Int
)
constructor
(
size
:
Int
,
init
:
(
Int
)
->
ModInt
)
Properties
size
Link copied to clipboard
open
override
val
size
:
Int
Functions
contains
Link copied to clipboard
open
operator override
fun
contains
(
element
:
ModInt
)
:
Boolean
contains
All
Link copied to clipboard
open
override
fun
containsAll
(
elements
:
Collection
<
ModInt
>
)
:
Boolean
copy
Of
Link copied to clipboard
fun
copyOf
(
)
:
ModIntArray
fun
copyOf
(
size
:
Int
)
:
ModIntArray
get
Link copied to clipboard
operator
fun
get
(
index
:
Int
)
:
ModInt
is
Empty
Link copied to clipboard
open
override
fun
isEmpty
(
)
:
Boolean
iterator
Link copied to clipboard
open
operator override
fun
iterator
(
)
:
Iterator
<
ModInt
>
set
Link copied to clipboard
operator
fun
set
(
index
:
Int
,
value
:
ModInt
)