Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| OptaPlanner distribution 6.0.0.Beta1
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.optaplanner.core.impl.heuristic.selector.value.iterator
Interface ValueIterator

All Superinterfaces:
  Iterator<Object>

    public interface ValueIterator

extends Iterator<Object>

An iterator for planning values.

See Also:
  `Iterator`

Method Summary
`boolean` | `hasNext(Object entity)` Follows the specification of `Iterator.hasNext()`.
`Object` | `next(Object entity)` Follows the specification of `Iterator.next()`.

Methods inherited from interface java.util.Iterator
`hasNext, next, remove`

Method Detail

### hasNext

    boolean hasNext(Object entity)

  Follows the specification of `Iterator.hasNext()`.

  Parameters:
    `entity` - never null
  Returns:
    true if there are more planning values

### next

    Object next(Object entity)

  Follows the specification of `Iterator.next()`.

  Parameters:
    `entity` - never null
  Returns:
    the next planning value
  Throws:
    `NoSuchElementException` - if there are no more planning values

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| OptaPlanner distribution 6.0.0.Beta1
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2006-2013 JBoss by Red Hat. All Rights Reserved.