Set-like Array.
Array with set-like functionality.
Kind: global class
Create set with items.
Param | Description |
---|---|
...items | Initial items. |
Filter out non unique items.
Kind: instance method of ArraySet
Returns: Uniq set
Create Union-Set with all unique items from input sets.
Kind: instance method of ArraySet
Returns: Union-Set
Param | Description |
---|---|
...otherArrays | Input sets. |
Create Intersection-Set with all common items from input sets.
Kind: instance method of ArraySet
Returns: Intersection-Set
Param | Description |
---|---|
...otherArrays | Input sets. |
Create Difference-Set with all items not in input sets.
Kind: instance method of ArraySet
Returns: Difference-Set
Param | Description |
---|---|
...otherArrays | Input sets. |
Check whether array is superset of input sets.
Kind: instance method of ArraySet
Returns: If set is superset.
Param | Description |
---|---|
...otherArrays | Input sets. |
Check whether array is subset of input sets.
Kind: instance method of ArraySet
Returns: If set is subset.
Param | Description |
---|---|
...otherArrays | Input sets. |