mxsdoc

ArrayUtility.ms

struct ArrayUtilityStruct

配列操作の追加メソッドを提供する。

public fn MoveItems

インデックスで指定した要素を移動する。

パラメータ
items
<Array[<Any>]>

操作対象の配列。

パラメータ
targetIndices
<Array[<Integer>]>

対象要素のインデックス配列。

パラメータ
destination
<Integer>

操作前のインデックスを基にした移動先のインデックス。

戻り値
<Array[<Integer>]>

操作後の対象要素のインデックス配列。

public fn StructName

戻り値
<Name>

public fn Dump

パラメータ
indent:
<String>
パラメータ
out:
<FileStream|StringStream|WindowStream>

出力先。既定値はlistener

戻り値
<OkClass>

public fn Equals

パラメータ
obj
<Any>
戻り値
<BooleanClass>
補足

大文字と小文字を区別する。