Class ListVariableChangedNotification<Solution_>
java.lang.Object
ai.timefold.solver.core.impl.domain.variable.listener.support.ListVariableChangedNotification<Solution_>
- All Implemented Interfaces:
ListVariableNotification<Solution_>,Notification<Solution_,ListVariableListener<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 differentVariableListeners (soShadowVariableDescriptors) because equality does not take those into account (for performance)!intintinthashCode()toString()voidtriggerAfter(ListVariableListener<Solution_, Object, Object> variableListener, ScoreDirector<Solution_> scoreDirector) TriggervariableListener's after method corresponding to this notification.voidtriggerBefore(ListVariableListener<Solution_, Object, Object> variableListener, ScoreDirector<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(ListVariableListener<Solution_, Object, Object> variableListener, ScoreDirector<Solution_> scoreDirector) Description copied from interface:NotificationTriggervariableListener's before method corresponding to this notification.- Specified by:
triggerBeforein interfaceNotification<Solution_,ListVariableListener<Solution_, Object, Object>>
-
triggerAfter
public void triggerAfter(ListVariableListener<Solution_, Object, Object> variableListener, ScoreDirector<Solution_> scoreDirector) Description copied from interface:NotificationTriggervariableListener's after method corresponding to this notification.- Specified by:
triggerAfterin interfaceNotification<Solution_,ListVariableListener<Solution_, Object, Object>>
-
toString
-
getEntity
-
equals
Warning: do not test equality ofAbstractNotifications for differentVariableListeners (soShadowVariableDescriptors) because equality does not take those into account (for performance)! -
hashCode
public int hashCode()
-