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

## org.optaplanner.core.impl.heuristic.selector.entity.mimic
Class ManualEntityMimicRecorder

    java.lang.Object
      org.optaplanner.core.impl.heuristic.selector.entity.mimic.ManualEntityMimicRecorder

All Implemented Interfaces:
  EntityMimicRecorder

    public class ManualEntityMimicRecorder

extends Object
implements EntityMimicRecorder

Field Summary
`protected Object` | `recordedEntity`
`protected List<MimicReplayingEntitySelector>` | `replayingEntitySelectorList`
`protected EntitySelector` | `sourceEntitySelector`

Constructor Summary
`ManualEntityMimicRecorder(EntitySelector sourceEntitySelector)`

Method Summary
`void` | `addMimicReplayingEntitySelector(MimicReplayingEntitySelector replayingEntitySelector)`
`Iterator<Object>` | `endingIterator()`
`EntityDescriptor` | `getEntityDescriptor()`
`Object` | `getRecordedEntity()`
`long` | `getSize()`
`boolean` | `isCountable()`
`boolean` | `isNeverEnding()`
`void` | `setRecordedEntity(Object recordedEntity)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### sourceEntitySelector

    protected final EntitySelector sourceEntitySelector

### replayingEntitySelectorList

    protected final List<MimicReplayingEntitySelector> replayingEntitySelectorList

### recordedEntity

    protected Object recordedEntity

Constructor Detail

### ManualEntityMimicRecorder

    public ManualEntityMimicRecorder(EntitySelector sourceEntitySelector)

Method Detail

### addMimicReplayingEntitySelector

    public void addMimicReplayingEntitySelector(MimicReplayingEntitySelector replayingEntitySelector)

  Specified by:
    `addMimicReplayingEntitySelector` in interface `EntityMimicRecorder`
  Parameters:
    `replayingEntitySelector` - never null

### getRecordedEntity

    public Object getRecordedEntity()

### setRecordedEntity

    public void setRecordedEntity(Object recordedEntity)

### getEntityDescriptor

    public EntityDescriptor getEntityDescriptor()

  Specified by:
    `getEntityDescriptor` in interface `EntityMimicRecorder`
  See Also:
    `EntitySelector.getEntityDescriptor()`

### isCountable

    public boolean isCountable()

  Specified by:
    `isCountable` in interface `EntityMimicRecorder`
  See Also:
    `Selector.isCountable()`

### isNeverEnding

    public boolean isNeverEnding()

  Specified by:
    `isNeverEnding` in interface `EntityMimicRecorder`
  See Also:
    `Selector.isNeverEnding()`

### getSize

    public long getSize()

  Specified by:
    `getSize` in interface `EntityMimicRecorder`
  See Also:
    `IterableSelector.getSize()`

### endingIterator

    public Iterator<Object> endingIterator()

  Specified by:
    `endingIterator` in interface `EntityMimicRecorder`
  See Also:
    `EntitySelector.endingIterator()`

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

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