Extension [ extension #81 ds version 1.2.0 ] { - Dependencies { Dependency [ json (Required) ] Dependency [ spl (Required) ] } - Classes [11] { Interface [ interface Ds\Hashable ] { - Constants [0] { } - Static properties [0] { } - Static methods [0] { } - Properties [0] { } - Methods [2] { Method [ abstract public method hash ] { - Parameters [0] { } } Method [ abstract public method equals ] { - Parameters [1] { Parameter #0 [ $obj ] } - Return [ boolean ] } } } Interface [ interface Ds\Collection extends Traversable, Countable, JsonSerializable ] { - Constants [0] { } - Static properties [0] { } - Static methods [0] { } - Properties [0] { } - Methods [6] { Method [ abstract public method clear ] { - Parameters [0] { } } Method [ abstract public method copy ] { - Parameters [0] { } - Return [ Ds\Collection or NULL ] } Method [ abstract public method isEmpty ] { - Parameters [0] { } - Return [ boolean ] } Method [ abstract public method toArray ] { - Parameters [0] { } - Return [ array ] } Method [ abstract public method count ] { - Parameters [0] { } } Method [ abstract public method jsonSerialize ] { - Parameters [0] { } } } } Interface [ interface Ds\Sequence extends Ds\Collection, JsonSerializable, Countable, Traversable ] { - Constants [0] { } - Static properties [0] { } - Static methods [0] { } - Properties [0] { } - Methods [30] { Method [ abstract public method __construct ] { - Parameters [1] { Parameter #0 [ $values ] } } Method [ abstract public method allocate ] { - Parameters [1] { Parameter #0 [ integer $capacity ] } } Method [ abstract public method capacity ] { - Parameters [0] { } - Return [ integer ] } Method [ abstract public method contains ] { - Parameters [1] { Parameter #0 [ ...$values ] } - Return [ boolean ] } Method [ abstract public method filter ] { - Parameters [1] { Parameter #0 [ callable or NULL $callback ] } - Return [ Ds\Sequence or NULL ] } Method [ abstract public method find ] { - Parameters [1] { Parameter #0 [ $value ] } } Method [ abstract public method first ] { - Parameters [0] { } } Method [ abstract public method get ] { - Parameters [1] { Parameter #0 [ integer $index ] } } Method [ abstract public method insert ] { - Parameters [2] { Parameter #0 [ integer $index ] Parameter #1 [ ...$values ] } } Method [ abstract public method join ] { - Parameters [1] { Parameter #0 [ string $glue ] } - Return [ string ] } Method [ abstract public method last ] { - Parameters [0] { } } Method [ abstract public method map ] { - Parameters [1] { Parameter #0 [ callable $callback ] } - Return [ Ds\Sequence or NULL ] } Method [ abstract public method merge ] { - Parameters [1] { Parameter #0 [ $values ] } - Return [ Ds\Sequence or NULL ] } Method [ abstract public method pop ] { - Parameters [0] { } } Method [ abstract public method push ] { - Parameters [1] { Parameter #0 [ ...$values ] } } Method [ abstract public method reduce ] { - Parameters [2] { Parameter #0 [ callable $callback ] Parameter #1 [ $initial ] } } Method [ abstract public method remove ] { - Parameters [1] { Parameter #0 [ integer $index ] } } Method [ abstract public method reverse ] { - Parameters [0] { } } Method [ abstract public method rotate ] { - Parameters [1] { Parameter #0 [ integer $rotations ] } } Method [ abstract public method set ] { - Parameters [2] { Parameter #0 [ integer $index ] Parameter #1 [ $value ] } } Method [ abstract public method shift ] { - Parameters [0] { } } Method [ abstract public method slice ] { - Parameters [2] { Parameter #0 [ integer $index ] Parameter #1 [ integer or NULL $length ] } - Return [ Ds\Sequence or NULL ] } Method [ abstract public method sort ] { - Parameters [1] { Parameter #0 [ callable or NULL $comparator ] } } Method [ abstract public method unshift ] { - Parameters [1] { Parameter #0 [ ...$values ] } } Method [ abstract public method clear ] { - Parameters [0] { } } Method [ abstract public method copy ] { - Parameters [0] { } - Return [ Ds\Collection or NULL ] } Method [ abstract public method isEmpty ] { - Parameters [0] { } - Return [ boolean ] } Method [ abstract public method toArray ] { - Parameters [0] { } - Return [ array ] } Method [ abstract public method count ] { - Parameters [0] { } } Method [ abstract public method jsonSerialize ] { - Parameters [0] { } } } } Class [ final class Ds\Vector implements Ds\Sequence, Traversable, Countable, JsonSerializable, Ds\Collection ] { - Constants [1] { Constant [ integer MIN_CAPACITY ] { 8 } } - Static properties [0] { } - Static methods [0] { } - Properties [0] { } - Methods [34] { Method [ public method __construct ] { - Parameters [1] { Parameter #0 [ $values ] } } Method [ public method allocate ] { - Parameters [1] { Parameter #0 [ integer $capacity ] } } Method [ public method apply ] { - Parameters [1] { Parameter #0 [ callable $callback ] } } Method [ public method capacity ] { - Parameters [0] { } - Return [ integer ] } Method [ public method contains ] { - Parameters [1] { Parameter #0 [ ...$values ] } - Return [ boolean ] } Method [ public method filter ] { - Parameters [1] { Parameter #0 [ callable or NULL $callback ] } - Return [ Ds\Sequence or NULL ] } Method [ public method find ] { - Parameters [1] { Parameter #0 [ $value ] } } Method [ public method first ] { - Parameters [0] { } } Method [ public method get ] { - Parameters [1] { Parameter #0 [ integer $index ] } } Method [ public method insert ] { - Parameters [2] { Parameter #0 [ integer $index ] Parameter #1 [ ...$values ] } } Method [ public method join ] { - Parameters [1] { Parameter #0 [ string $glue ] } - Return [ string ] } Method [ public method last ] { - Parameters [0] { } } Method [ public method map ] { - Parameters [1] { Parameter #0 [ callable $callback ] } - Return [ Ds\Sequence or NULL ] } Method [ public method merge ] { - Parameters [1] { Parameter #0 [ $values ] } - Return [ Ds\Sequence or NULL ] } Method [ public method pop ] { - Parameters [0] { } } Method [ public method push ] { - Parameters [1] { Parameter #0 [ ...$values ] } } Method [ public method reduce ] { - Parameters [2] { Parameter #0 [ callable $callback ] Parameter #1 [ $initial ] } } Method [ public method remove ] { - Parameters [1] { Parameter #0 [ integer $index ] } } Method [ public method reverse ] { - Parameters [0] { } } Method [ public method reversed ] { - Parameters [0] { } - Return [ Ds\Sequence or NULL ] } Method [ public method rotate ] { - Parameters [1] { Parameter #0 [ integer $rotations ] } } Method [ public method set ] { - Parameters [2] { Parameter #0 [ integer $index ] Parameter #1 [ $value ] } } Method [ public method shift ] { - Parameters [0] { } } Method [ public method slice ] { - Parameters [2] { Parameter #0 [ integer $index ] Parameter #1 [ integer or NULL $length ] } - Return [ Ds\Sequence or NULL ] } Method [ public method sort ] { - Parameters [1] { Parameter #0 [ callable or NULL $comparator ] } } Method [ public method sorted ] { - Parameters [1] { Parameter #0 [ callable or NULL $comparator ] } - Return [ Ds\Sequence or NULL ] } Method [ public method sum ] { - Parameters [0] { } } Method [ public method unshift ] { - Parameters [1] { Parameter #0 [ ...$values ] } } Method [ public method clear ] { - Parameters [0] { } } Method [ public method copy ] { - Parameters [0] { } - Return [ Ds\Collection or NULL ] } Method [ public method count ] { - Parameters [0] { } - Return [ integer ] } Method [ public method isEmpty ] { - Parameters [0] { } - Return [ boolean ] } Method [ public method jsonSerialize ] { - Parameters [0] { } } Method [ public method toArray ] { - Parameters [0] { } - Return [ array ] } } } Class [ final class Ds\Deque implements Ds\Sequence, Traversable, Countable, JsonSerializable, Ds\Collection ] { - Constants [1] { Constant [ integer MIN_CAPACITY ] { 8 } } - Static properties [0] { } - Static methods [0] { } - Properties [0] { } - Methods [34] { Method [ public method clear ] { - Parameters [0] { } } Method [ public method copy ] { - Parameters [0] { } - Return [ Ds\Collection or NULL ] } Method [ public method count ] { - Parameters [0] { } - Return [ integer ] } Method [ public method isEmpty ] { - Parameters [0] { } - Return [ boolean ] } Method [ public method jsonSerialize ] { - Parameters [0] { } } Method [ public method toArray ] { - Parameters [0] { } - Return [ array ] } Method [ public method __construct ] { - Parameters [1] { Parameter #0 [ $values ] } } Method [ public method allocate ] { - Parameters [1] { Parameter #0 [ integer $capacity ] } } Method [ public method apply ] { - Parameters [1] { Parameter #0 [ callable $callback ] } } Method [ public method capacity ] { - Parameters [0] { } - Return [ integer ] } Method [ public method contains ] { - Parameters [1] { Parameter #0 [ ...$values ] } - Return [ boolean ] } Method [ public method filter ] { - Parameters [1] { Parameter #0 [ callable or NULL $callback ] } - Return [ Ds\Sequence or NULL ] } Method [ public method find ] { - Parameters [1] { Parameter #0 [ $value ] } } Method [ public method first ] { - Parameters [0] { } } Method [ public method get ] { - Parameters [1] { Parameter #0 [ integer $index ] } } Method [ public method insert ] { - Parameters [2] { Parameter #0 [ integer $index ] Parameter #1 [ ...$values ] } } Method [ public method join ] { - Parameters [1] { Parameter #0 [ string $glue ] } - Return [ string ] } Method [ public method last ] { - Parameters [0] { } } Method [ public method map ] { - Parameters [1] { Parameter #0 [ callable $callback ] } - Return [ Ds\Sequence or NULL ] } Method [ public method merge ] { - Parameters [1] { Parameter #0 [ $values ] } - Return [ Ds\Sequence or NULL ] } Method [ public method pop ] { - Parameters [0] { } } Method [ public method push ] { - Parameters [1] { Parameter #0 [ ...$values ] } } Method [ public method reduce ] { - Parameters [2] { Parameter #0 [ callable $callback ] Parameter #1 [ $initial ] } } Method [ public method remove ] { - Parameters [1] { Parameter #0 [ integer $index ] } } Method [ public method reverse ] { - Parameters [0] { } } Method [ public method reversed ] { - Parameters [0] { } - Return [ Ds\Sequence or NULL ] } Method [ public method rotate ] { - Parameters [1] { Parameter #0 [ integer $rotations ] } } Method [ public method set ] { - Parameters [2] { Parameter #0 [ integer $index ] Parameter #1 [ $value ] } } Method [ public method shift ] { - Parameters [0] { } } Method [ public method slice ] { - Parameters [2] { Parameter #0 [ integer $index ] Parameter #1 [ integer or NULL $length ] } - Return [ Ds\Sequence or NULL ] } Method [ public method sort ] { - Parameters [1] { Parameter #0 [ callable or NULL $comparator ] } } Method [ public method sorted ] { - Parameters [1] { Parameter #0 [ callable or NULL $comparator ] } - Return [ Ds\Sequence or NULL ] } Method [ public method sum ] { - Parameters [0] { } } Method [ public method unshift ] { - Parameters [1] { Parameter #0 [ ...$values ] } } } } Class [ final class Ds\Stack implements Ds\Collection, JsonSerializable, Countable, Traversable ] { - Constants [0] { } - Static properties [0] { } - Static methods [0] { } - Properties [0] { } - Methods [12] { Method [ public method __construct ] { - Parameters [1] { Parameter #0 [ $values ] } } Method [ public method allocate ] { - Parameters [1] { Parameter #0 [ integer $capacity ] } } Method [ public method capacity ] { - Parameters [0] { } - Return [ integer ] } Method [ public method peek ] { - Parameters [0] { } } Method [ public method pop ] { - Parameters [0] { } } Method [ public method push ] { - Parameters [1] { Parameter #0 [ ...$values ] } } Method [ public method clear ] { - Parameters [0] { } } Method [ public method copy ] { - Parameters [0] { } - Return [ Ds\Collection or NULL ] } Method [ public method count ] { - Parameters [0] { } - Return [ integer ] } Method [ public method isEmpty ] { - Parameters [0] { } - Return [ boolean ] } Method [ public method jsonSerialize ] { - Parameters [0] { } } Method [ public method toArray ] { - Parameters [0] { } - Return [ array ] } } } Class [ final class Ds\Queue implements Ds\Collection, JsonSerializable, Countable, Traversable ] { - Constants [1] { Constant [ integer MIN_CAPACITY ] { 8 } } - Static properties [0] { } - Static methods [0] { } - Properties [0] { } - Methods [12] { Method [ public method __construct ] { - Parameters [1] { Parameter #0 [ $values ] } } Method [ public method allocate ] { - Parameters [1] { Parameter #0 [ integer $capacity ] } } Method [ public method capacity ] { - Parameters [0] { } - Return [ integer ] } Method [ public method peek ] { - Parameters [0] { } } Method [ public method pop ] { - Parameters [0] { } } Method [ public method push ] { - Parameters [1] { Parameter #0 [ ...$values ] } } Method [ public method clear ] { - Parameters [0] { } } Method [ public method copy ] { - Parameters [0] { } - Return [ Ds\Collection or NULL ] } Method [ public method count ] { - Parameters [0] { } - Return [ integer ] } Method [ public method isEmpty ] { - Parameters [0] { } - Return [ boolean ] } Method [ public method jsonSerialize ] { - Parameters [0] { } } Method [ public method toArray ] { - Parameters [0] { } - Return [ array ] } } } Class [ final class Ds\Map implements Ds\Collection, JsonSerializable, Countable, Traversable ] { - Constants [1] { Constant [ integer MIN_CAPACITY ] { 8 } } - Static properties [0] { } - Static methods [0] { } - Properties [0] { } - Methods [38] { Method [ public method __construct ] { - Parameters [1] { Parameter #0 [ $values ] } } Method [ public method allocate ] { - Parameters [1] { Parameter #0 [ integer $capacity ] } } Method [ public method apply ] { - Parameters [1] { Parameter #0 [ callable $callback ] } } Method [ public method capacity ] { - Parameters [0] { } - Return [ integer ] } Method [ public method diff ] { - Parameters [1] { Parameter #0 [ Ds\Map $map ] } - Return [ Ds\Map or NULL ] } Method [ public method filter ] { - Parameters [1] { Parameter #0 [ callable or NULL $callback ] } - Return [ Ds\Map or NULL ] } Method [ public method first ] { - Parameters [0] { } - Return [ Ds\Pair or NULL ] } Method [ public method get ] { - Parameters [2] { Parameter #0 [ $key ] Parameter #1 [ $default ] } } Method [ public method hasKey ] { - Parameters [1] { Parameter #0 [ $key ] } - Return [ boolean ] } Method [ public method hasValue ] { - Parameters [1] { Parameter #0 [ $value ] } - Return [ boolean ] } Method [ public method intersect ] { - Parameters [1] { Parameter #0 [ Ds\Map $map ] } - Return [ Ds\Map or NULL ] } Method [ public method keys ] { - Parameters [0] { } - Return [ Ds\Set or NULL ] } Method [ public method ksort ] { - Parameters [1] { Parameter #0 [ callable or NULL $comparator ] } } Method [ public method ksorted ] { - Parameters [1] { Parameter #0 [ callable or NULL $comparator ] } - Return [ Ds\Map or NULL ] } Method [ public method last ] { - Parameters [0] { } - Return [ Ds\Pair or NULL ] } Method [ public method map ] { - Parameters [1] { Parameter #0 [ callable $callback ] } - Return [ Ds\Map or NULL ] } Method [ public method merge ] { - Parameters [1] { Parameter #0 [ $values ] } - Return [ Ds\Map or NULL ] } Method [ public method pairs ] { - Parameters [0] { } - Return [ Ds\Sequence or NULL ] } Method [ public method put ] { - Parameters [2] { Parameter #0 [ $key ] Parameter #1 [ $value ] } } Method [ public method putAll ] { - Parameters [1] { Parameter #0 [ $values ] } } Method [ public method reduce ] { - Parameters [2] { Parameter #0 [ callable $callback ] Parameter #1 [ $initial ] } } Method [ public method remove ] { - Parameters [2] { Parameter #0 [ $key ] Parameter #1 [ $default ] } } Method [ public method reverse ] { - Parameters [0] { } } Method [ public method reversed ] { - Parameters [0] { } - Return [ Ds\Map or NULL ] } Method [ public method skip ] { - Parameters [1] { Parameter #0 [ integer $position ] } - Return [ Ds\Pair or NULL ] } Method [ public method slice ] { - Parameters [2] { Parameter #0 [ integer $index ] Parameter #1 [ integer or NULL $length ] } - Return [ Ds\Map or NULL ] } Method [ public method sort ] { - Parameters [1] { Parameter #0 [ callable or NULL $comparator ] } } Method [ public method sorted ] { - Parameters [1] { Parameter #0 [ callable or NULL $comparator ] } - Return [ Ds\Map or NULL ] } Method [ public method sum ] { - Parameters [0] { } } Method [ public method union ] { - Parameters [1] { Parameter #0 [ $map ] } - Return [ Ds\Map or NULL ] } Method [ public method values ] { - Parameters [0] { } - Return [ Ds\Sequence or NULL ] } Method [ public method xor ] { - Parameters [1] { Parameter #0 [ Ds\Map $map ] } - Return [ Ds\Map or NULL ] } Method [ public method clear ] { - Parameters [0] { } } Method [ public method copy ] { - Parameters [0] { } - Return [ Ds\Collection or NULL ] } Method [ public method count ] { - Parameters [0] { } - Return [ integer ] } Method [ public method isEmpty ] { - Parameters [0] { } - Return [ boolean ] } Method [ public method jsonSerialize ] { - Parameters [0] { } } Method [ public method toArray ] { - Parameters [0] { } - Return [ array ] } } } Class [ final class Ds\Set implements Ds\Collection, JsonSerializable, Countable, Traversable ] { - Constants [1] { Constant [ integer MIN_CAPACITY ] { 8 } } - Static properties [0] { } - Static methods [0] { } - Properties [0] { } - Methods [29] { Method [ public method __construct ] { - Parameters [1] { Parameter #0 [ $values ] } } Method [ public method add ] { - Parameters [1] { Parameter #0 [ ...$values ] } } Method [ public method allocate ] { - Parameters [1] { Parameter #0 [ integer $capacity ] } } Method [ public method capacity ] { - Parameters [0] { } - Return [ integer ] } Method [ public method contains ] { - Parameters [1] { Parameter #0 [ ...$values ] } - Return [ boolean ] } Method [ public method diff ] { - Parameters [1] { Parameter #0 [ Ds\Set $set ] } - Return [ Ds\Set or NULL ] } Method [ public method filter ] { - Parameters [1] { Parameter #0 [ callable or NULL $callback ] } - Return [ Ds\Set or NULL ] } Method [ public method first ] { - Parameters [0] { } } Method [ public method get ] { - Parameters [1] { Parameter #0 [ integer $index ] } } Method [ public method intersect ] { - Parameters [1] { Parameter #0 [ Ds\Set $set ] } - Return [ Ds\Set or NULL ] } Method [ public method join ] { - Parameters [1] { Parameter #0 [ string $glue ] } } Method [ public method last ] { - Parameters [0] { } } Method [ public method merge ] { - Parameters [1] { Parameter #0 [ $values ] } - Return [ Ds\Set or NULL ] } Method [ public method reduce ] { - Parameters [2] { Parameter #0 [ callable $callback ] Parameter #1 [ $initial ] } } Method [ public method remove ] { - Parameters [1] { Parameter #0 [ ...$values ] } } Method [ public method reverse ] { - Parameters [0] { } } Method [ public method reversed ] { - Parameters [0] { } - Return [ Ds\Set or NULL ] } Method [ public method slice ] { - Parameters [2] { Parameter #0 [ integer $index ] Parameter #1 [ integer or NULL $length ] } - Return [ Ds\Set or NULL ] } Method [ public method sort ] { - Parameters [1] { Parameter #0 [ callable or NULL $comparator ] } } Method [ public method sorted ] { - Parameters [1] { Parameter #0 [ callable or NULL $comparator ] } - Return [ Ds\Set or NULL ] } Method [ public method sum ] { - Parameters [0] { } } Method [ public method union ] { - Parameters [1] { Parameter #0 [ Ds\Set $set ] } - Return [ Ds\Set or NULL ] } Method [ public method xor ] { - Parameters [1] { Parameter #0 [ Ds\Set $set ] } - Return [ Ds\Set or NULL ] } Method [ public method clear ] { - Parameters [0] { } } Method [ public method copy ] { - Parameters [0] { } - Return [ Ds\Collection or NULL ] } Method [ public method count ] { - Parameters [0] { } - Return [ integer ] } Method [ public method isEmpty ] { - Parameters [0] { } - Return [ boolean ] } Method [ public method jsonSerialize ] { - Parameters [0] { } } Method [ public method toArray ] { - Parameters [0] { } - Return [ array ] } } } Class [ final class Ds\PriorityQueue implements Ds\Collection, JsonSerializable, Countable, Traversable ] { - Constants [1] { Constant [ integer MIN_CAPACITY ] { 8 } } - Static properties [0] { } - Static methods [0] { } - Properties [0] { } - Methods [12] { Method [ public method __construct ] { - Parameters [0] { } } Method [ public method allocate ] { - Parameters [1] { Parameter #0 [ integer $capacity ] } } Method [ public method capacity ] { - Parameters [0] { } - Return [ integer ] } Method [ public method peek ] { - Parameters [0] { } } Method [ public method pop ] { - Parameters [0] { } } Method [ public method push ] { - Parameters [2] { Parameter #0 [ $value ] Parameter #1 [ integer $priority ] } } Method [ public method clear ] { - Parameters [0] { } } Method [ public method copy ] { - Parameters [0] { } - Return [ Ds\Collection or NULL ] } Method [ public method count ] { - Parameters [0] { } - Return [ integer ] } Method [ public method isEmpty ] { - Parameters [0] { } - Return [ boolean ] } Method [ public method jsonSerialize ] { - Parameters [0] { } } Method [ public method toArray ] { - Parameters [0] { } - Return [ array ] } } } Class [ final class Ds\Pair implements JsonSerializable ] { - Constants [0] { } - Static properties [0] { } - Static methods [0] { } - Properties [0] { } - Methods [4] { Method [ public method __construct ] { - Parameters [2] { Parameter #0 [ $key ] Parameter #1 [ $value ] } } Method [ public method copy ] { - Parameters [0] { } - Return [ Ds\Pair or NULL ] } Method [ public method jsonSerialize ] { - Parameters [0] { } } Method [ public method toArray ] { - Parameters [0] { } - Return [ array ] } } } } }