StorageStrategy<T> class
abstract
Encapsulates data structures used for the various graph algorithms.
Constructors
- StorageStrategy.defaultStrategy()
-
Returns a suitable default strategy.
factory
- StorageStrategy.identity()
-
Returns a strategy using canonical collection objects and object identity.
factory
- StorageStrategy.object()
-
Returns a strategy using canonical collection objects.
factory
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
-
createMap<
R> () → Map< T, R> -
Creates an empty map of type
Map<T, R>
. -
createSet(
) → Set< T> -
Creates an empty set of type
Set<T>
. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
integer(
) → StorageStrategy< int> - Returns a strategy for int objects.
-
positiveInteger(
) → StorageStrategy< int> - Returns a strategy for positive int objects.