public class IdleCost extends Object implements Comparable<IdleCost>
Constructor and Description |
---|
IdleCost(Machine machine,
int activePeriodAfterIdle,
long cost) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(IdleCost other) |
boolean |
equals(Object o) |
int |
getActivePeriodAfterIdle() |
long |
getCost() |
Machine |
getMachine() |
int |
hashCode() |
String |
toString() |
public IdleCost(Machine machine, int activePeriodAfterIdle, long cost)
public Machine getMachine()
public int getActivePeriodAfterIdle()
public long getCost()
public int compareTo(IdleCost other)
compareTo
in interface Comparable<IdleCost>
Copyright © 2006–2019 JBoss by Red Hat. All rights reserved.