public abstract class AbstractCapacityRequirement extends Object implements CapacityRequirement
Constructor and Description |
---|
AbstractCapacityRequirement() |
AbstractCapacityRequirement(long value) |
Modifier and Type | Method and Description |
---|---|
CapacityRequirement |
add(CapacityRequirement otherCapacityRequirement) |
int |
compareTo(CapacityRequirement otherCapacityRequirement) |
double |
divide(CapacityRequirement otherCapacityRequirement) |
CapacityRequirement |
divide(int i) |
boolean |
equals(Object other) |
boolean |
equalsZero() |
CapacityRequirementType<? extends AbstractCapacityRequirement> |
getType() |
CapacityRequirement |
max(CapacityRequirement otherCapacityRequirement) |
CapacityRequirement |
min(CapacityRequirement otherCapacityRequirement) |
CapacityRequirement |
multiply(int i) |
CapacityRequirement |
subtract(CapacityRequirement otherCapacityRequirement) |
CapacityRequirement |
subtractOrZero(CapacityRequirement otherCapacityRequirement) |
abstract String |
toString() |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
hashCode
protected final Long value
public AbstractCapacityRequirement()
public AbstractCapacityRequirement(long value)
public int compareTo(CapacityRequirement otherCapacityRequirement)
compareTo
in interface Comparable<CapacityRequirement>
public boolean equalsZero()
equalsZero
in interface CapacityRequirement
public CapacityRequirement multiply(int i)
multiply
in interface CapacityRequirement
public CapacityRequirement divide(int i)
divide
in interface CapacityRequirement
public CapacityRequirement subtract(CapacityRequirement otherCapacityRequirement)
subtract
in interface CapacityRequirement
public CapacityRequirement subtractOrZero(CapacityRequirement otherCapacityRequirement)
subtractOrZero
in interface CapacityRequirement
public CapacityRequirement add(CapacityRequirement otherCapacityRequirement)
add
in interface CapacityRequirement
public CapacityRequirement min(CapacityRequirement otherCapacityRequirement)
min
in interface CapacityRequirement
public CapacityRequirement max(CapacityRequirement otherCapacityRequirement)
max
in interface CapacityRequirement
public double divide(CapacityRequirement otherCapacityRequirement)
divide
in interface CapacityRequirement
public CapacityRequirementType<? extends AbstractCapacityRequirement> getType()
getType
in interface CapacityRequirement
public boolean equals(Object other)
equals
in interface CapacityRequirement
equals
in class Object
public abstract String toString()
toString
in interface CapacityRequirement
toString
in class Object
Copyright © GigaSpaces.