RulesList<T> class abstract

List type. Items are not necessarily homogenous.

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

concat(RulesList<T> other) RulesList<T>
Create a new list by adding the elements of another list to the end of this list.
contains(T value) bool
Check if value v exists in list x.
hasAll(RulesList<T> other) bool
Determine whether the list contains all elements in another list.
hasAny(RulesList<T> other) bool
Determine whether the list contains any element in another list.
hasOnly(RulesList<T> other) bool
Determine whether all elements in the list are present in another list.
join(RulesString separator) RulesString
Join the elements in the list into a string, with a separator.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
range(int i, int j) RulesList<T>
Range operator, get sublist from index i to j
removeAll(RulesList<T> other) RulesList<T>
Create a new list by removing the elements of another list from this list.
size() int
Get the number of values in the list.
toSet() RulesSet<T>
Returns a set containing all unique elements in the list.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited
operator [](int i) → T
Index operator, get value index i