Class ImmutableLookUpStrategy
- java.lang.Object
-
- org.optaplanner.core.impl.domain.lookup.ImmutableLookUpStrategy
-
- All Implemented Interfaces:
LookUpStrategy
public class ImmutableLookUpStrategy extends Object implements LookUpStrategy
-
-
Constructor Summary
Constructors Constructor Description ImmutableLookUpStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addWorkingObject(Map<Object,Object> idToWorkingObjectMap, Object workingObject)
<E> E
lookUpWorkingObject(Map<Object,Object> idToWorkingObjectMap, E externalObject)
<E> E
lookUpWorkingObjectIfExists(Map<Object,Object> idToWorkingObjectMap, E externalObject)
void
removeWorkingObject(Map<Object,Object> idToWorkingObjectMap, Object workingObject)
-
-
-
Method Detail
-
addWorkingObject
public void addWorkingObject(Map<Object,Object> idToWorkingObjectMap, Object workingObject)
- Specified by:
addWorkingObject
in interfaceLookUpStrategy
-
removeWorkingObject
public void removeWorkingObject(Map<Object,Object> idToWorkingObjectMap, Object workingObject)
- Specified by:
removeWorkingObject
in interfaceLookUpStrategy
-
lookUpWorkingObject
public <E> E lookUpWorkingObject(Map<Object,Object> idToWorkingObjectMap, E externalObject)
- Specified by:
lookUpWorkingObject
in interfaceLookUpStrategy
-
lookUpWorkingObjectIfExists
public <E> E lookUpWorkingObjectIfExists(Map<Object,Object> idToWorkingObjectMap, E externalObject)
- Specified by:
lookUpWorkingObjectIfExists
in interfaceLookUpStrategy
-
-