public interface CountableValueRange<T> extends ValueRange<T>
AbstractCountableValueRange
to ensure backwards compatibility in future versions.Modifier and Type | Method and Description |
---|---|
Iterator<T> |
createOriginalIterator()
Select the elements in original (natural) order.
|
T |
get(long index)
Used by uniform random selection in a composite or nullable CountableValueRange.
|
long |
getSize()
Used by uniform random selection in a composite or nullable CountableValueRange.
|
contains, createRandomIterator
long getSize()
CountableValueRange
, always >= 0T get(long index)
index
- always < getSize()
PlanningVariable.nullable()
is true)Copyright © 2006-2015 JBoss by Red Hat. All Rights Reserved.