org.optaplanner.examples.machinereassignment.domain.solver
public class MrServiceMovedProcessesCount extends Object implements Serializable, Comparable<MrServiceMovedProcessesCount>
Constructor and Description |
---|
MrServiceMovedProcessesCount(MrService service,
int movedProcessesCount) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(MrServiceMovedProcessesCount other)
Used by the GUI to sort the
ConstraintMatch list
by ConstraintMatch.getJustificationList() . |
boolean |
equals(Object o) |
int |
getMovedProcessesCount() |
MrService |
getService() |
Long |
getServiceId() |
int |
hashCode() |
String |
toString() |
public MrServiceMovedProcessesCount(MrService service, int movedProcessesCount)
public MrService getService()
public int getMovedProcessesCount()
public int compareTo(MrServiceMovedProcessesCount other)
ConstraintMatch
list
by ConstraintMatch.getJustificationList()
.compareTo
in interface Comparable<MrServiceMovedProcessesCount>
other
- never nullpublic Long getServiceId()
Copyright © 2006-2013 JBoss by Red Hat. All Rights Reserved.