RulesSet<T> class abstract

A set is an unordered collection. A set cannot contain duplicate items.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

contains(T value) bool
Check if value v exists in set x.
difference(RulesSet<T> other) RulesSet<T>
Returns a set that is the difference between the set calling difference() and the set passed to difference(). That is, returns a set containing the elements in the comparison set that are not in the specified set.
hasAll(RulesIterable<T> other) bool
Test whether the set calling hasAll() contains all of the items in the comparison set passed to hasAll().
hasAny(RulesIterable<T> other) bool
Test whether the set calling hasAny() contains any of the items in the set or list passed to hasAny().
hasOnly(RulesIterable<T> other) bool
Test whether the set calling hasOnly() contains only the items in the comparison set or list passed to hasOnly().
intersection(RulesSet<T> other) RulesSet<T>
Returns a set that is the intersection between the set calling intersection() and the set passed to intersection(). That is, returns a set containing the elements the sets have in common.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
size() int
Returns the size of the set.
toString() String
A string representation of this object.
inherited
union(RulesSet<T> other) RulesSet<T>
Returns a set that is the union of the set calling union() and the set passed to union(). That is, returns a set that contains all elements from both sets.

Operators

operator ==(Object other) bool
The equality operator.
inherited