RankedBallot<TCandidate extends Comparable> class
- Implemented types
-
- PluralityBallot<
TCandidate> - Comparable<
RankedBallot< TCandidate> >
- PluralityBallot<
- Annotations
-
- @immutable
Constructors
-
RankedBallot(List<
TCandidate> rank)
Properties
Methods
-
compareTo(
RankedBallot< TCandidate> other) → int -
Compares this object to another object.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
referencedCandidates(
) → Iterable< TCandidate> -
All candidates referenced by this ballot.
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
compareRanks<
T extends Comparable> (List< T> a, List<T> b) → int