Extension [ extension #86 ds version 1.2.7 ] { - 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 ] } 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 [29] { 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 ] } 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 ] } Method [ abstract public method merge ] { - Parameters [1] { Parameter #0 [ $values ] } - Return [ Ds\Sequence ] } 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 ] } 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 ] } 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 [ public 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 ] } 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 ] } Method [ public method merge ] { - Parameters [1] { Parameter #0 [ $values ] } - Return [ Ds\Sequence ] } 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 ] } 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 ] } 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 ] } 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 ] } 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 [ public 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 clear ] { - Parameters [0] { } } Method [ public method copy ] { - Parameters [0] { } - Return [ Ds\Collection ] } 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 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 ] } 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 ] } Method [ public method merge ] { - Parameters [1] { Parameter #0 [ $values ] } - Return [ Ds\Sequence ] } 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 ] } 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 ] } 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 ] } 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 ] } 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 [ public 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 ] } 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 [ public 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 ] } Method [ public method filter ] { - Parameters [1] { Parameter #0 [ callable or NULL $callback ] } - Return [ Ds\Map ] } Method [ public method first ] { - Parameters [0] { } - Return [ Ds\Pair ] } 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 ] } Method [ public method keys ] { - Parameters [0] { } - Return [ Ds\Set ] } 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 ] } Method [ public method last ] { - Parameters [0] { } - Return [ Ds\Pair ] } Method [ public method map ] { - Parameters [1] { Parameter #0 [ callable $callback ] } - Return [ Ds\Map ] } Method [ public method merge ] { - Parameters [1] { Parameter #0 [ $values ] } - Return [ Ds\Map ] } Method [ public method pairs ] { - Parameters [0] { } - Return [ Ds\Sequence ] } 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 ] } Method [ public method skip ] { - Parameters [1] { Parameter #0 [ integer $position ] } - Return [ Ds\Pair ] } Method [ public method slice ] { - Parameters [2] { Parameter #0 [ integer $index ] Parameter #1 [ integer or NULL $length ] } - Return [ Ds\Map ] } 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 ] } Method [ public method sum ] { - Parameters [0] { } } Method [ public method union ] { - Parameters [1] { Parameter #0 [ $map ] } - Return [ Ds\Map ] } Method [ public method values ] { - Parameters [0] { } - Return [ Ds\Sequence ] } Method [ public method xor ] { - Parameters [1] { Parameter #0 [ Ds\Map $map ] } - Return [ Ds\Map ] } Method [ public method clear ] { - Parameters [0] { } } Method [ public method copy ] { - Parameters [0] { } - Return [ Ds\Collection ] } 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 [ public integer MIN_CAPACITY ] { 8 } } - Static properties [0] { } - Static methods [0] { } - Properties [0] { } - Methods [30] { 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 ] } Method [ public method filter ] { - Parameters [1] { Parameter #0 [ callable or NULL $predicate ] } - Return [ Ds\Set ] } 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 ] } Method [ public method join ] { - Parameters [1] { Parameter #0 [ string $glue ] } } Method [ public method last ] { - Parameters [0] { } } Method [ public method map ] { - Parameters [1] { Parameter #0 [ callable $callback ] } - Return [ Ds\Set ] } Method [ public method merge ] { - Parameters [1] { Parameter #0 [ $values ] } - Return [ Ds\Set ] } 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 ] } Method [ public method slice ] { - Parameters [2] { Parameter #0 [ integer $index ] Parameter #1 [ integer or NULL $length ] } - Return [ Ds\Set ] } 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 ] } Method [ public method sum ] { - Parameters [0] { } } Method [ public method union ] { - Parameters [1] { Parameter #0 [ Ds\Set $set ] } - Return [ Ds\Set ] } Method [ public method xor ] { - Parameters [1] { Parameter #0 [ Ds\Set $set ] } - Return [ Ds\Set ] } Method [ public method clear ] { - Parameters [0] { } } Method [ public method copy ] { - Parameters [0] { } - Return [ Ds\Collection ] } 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 [ public 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 [ $priority ] } } Method [ public method clear ] { - Parameters [0] { } } Method [ public method copy ] { - Parameters [0] { } - Return [ Ds\Collection ] } 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 [2] { Property [ public $key ] Property [ public $value ] } - Methods [4] { Method [ public method __construct ] { - Parameters [2] { Parameter #0 [ $key ] Parameter #1 [ $value ] } } Method [ public method copy ] { - Parameters [0] { } - Return [ Ds\Pair ] } Method [ public method jsonSerialize ] { - Parameters [0] { } } Method [ public method toArray ] { - Parameters [0] { } - Return [ array ] } } } } }