- All Known Subinterfaces:
WeightEntry
public interface TrackSupplier
An interface to represent something that can return a track.
-
Method Summary
Modifier and TypeMethodDescriptionGets all possibleTrackvalues from the supplier.getTrack()Gets aTrackfrom the supplier.booleanIf theTrackreturned viagetTrack()is inconsistent, meaning it may change.
-
Method Details
-
getTrack
Track getTrack()Gets aTrackfrom the supplier. The result of the supplier may return different values for every call ifisInconsistent()istrue.- Returns:
- A
Track
-
getAllTracks
-
isInconsistent
boolean isInconsistent()If theTrackreturned viagetTrack()is inconsistent, meaning it may change.- Returns:
- If the supplier is inconsistent
-