org.optaplanner.constraint.streams.bavet.common.GroupPart Maven / Gradle / Ivy
package org.optaplanner.constraint.streams.bavet.common;
final class GroupPart {
public final Group_ group;
private final Runnable undoAccumulator;
public GroupPart(Group_ group, Runnable undoAccumulator) {
this.group = group;
this.undoAccumulator = undoAccumulator;
}
void undoAccumulate() {
if (undoAccumulator != null) {
undoAccumulator.run();
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy