public interface ValueRange<T>
PlanningVariable. These values might be stored in memory as a
Set), but if the values are numbers, they can also be stored in memory by their bounds to use less memory and provide more opportunities.
CountableValueRange (which extends this interface) whenever possible.
A ValueRange is stateful (unlike a
ValueSelector which is stateless).
Implementations must be immutable.
boolean contains(T value)
value- sometimes null
Copyright © 2006–2018 JBoss by Red Hat. All rights reserved.