Class ListVariableChangedNotification<Solution_>
java.lang.Object
ai.timefold.solver.core.impl.domain.variable.listener.support.ListVariableChangedNotification<Solution_>
- All Implemented Interfaces:
ListVariableNotification<Solution_>,Notification<Solution_,ListElementsChangeEvent<Object>, InnerListVariableListener<Solution_, Object, Object>>
public final class ListVariableChangedNotification<Solution_>
extends Object
implements ListVariableNotification<Solution_>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbooleanWarning: do not test equality ofAbstractNotifications for differentInnerVariableListeners (soShadowVariableDescriptors) because equality does not take those into account (for performance)!intintinthashCode()toString()voidtriggerAfter(InnerListVariableListener<Solution_, Object, Object> variableListener, InnerScoreDirector<Solution_, ?> scoreDirector) TriggervariableListener's after method corresponding to this notification.voidtriggerBefore(InnerListVariableListener<Solution_, Object, Object> variableListener, InnerScoreDirector<Solution_, ?> scoreDirector) TriggervariableListener's before method corresponding to this notification.
-
Field Details
-
entity
-
-
Method Details
-
getFromIndex
public int getFromIndex() -
getToIndex
public int getToIndex() -
triggerBefore
public void triggerBefore(InnerListVariableListener<Solution_, Object, Object> variableListener, InnerScoreDirector<Solution_, ?> scoreDirector) Description copied from interface:NotificationTriggervariableListener's before method corresponding to this notification.- Specified by:
triggerBeforein interfaceNotification<Solution_,ListElementsChangeEvent<Object>, InnerListVariableListener<Solution_, Object, Object>>
-
triggerAfter
public void triggerAfter(InnerListVariableListener<Solution_, Object, Object> variableListener, InnerScoreDirector<Solution_, ?> scoreDirector) Description copied from interface:NotificationTriggervariableListener's after method corresponding to this notification.- Specified by:
triggerAfterin interfaceNotification<Solution_,ListElementsChangeEvent<Object>, InnerListVariableListener<Solution_, Object, Object>>
-
toString
-
getEntity
-
equals
Warning: do not test equality ofAbstractNotifications for differentInnerVariableListeners (soShadowVariableDescriptors) because equality does not take those into account (for performance)! -
hashCode
public int hashCode()
-