Sampler<T> class
abstract
Select a subset (a statistical sample) of items.
- Implementers
Constructors
- Sampler()
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- totalCount → int
-
The total number of items added to the sampler.
no setter
Methods
-
add(
T item) → void - Add an item to the sampler.
-
addAll(
Iterable< T> items) → void - Add multiple items to the sampler.
-
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