private static class CodeCacheRule.CodeHeapData extends java.lang.Object implements java.lang.Comparable<CodeCacheRule.CodeHeapData>, IDisplayable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
name |
private IQuantity |
ratio |
AUTO, EXACT, VERBOSE
Constructor and Description |
---|
CodeHeapData(java.lang.String name,
IQuantity ratio) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(CodeCacheRule.CodeHeapData o) |
java.lang.String |
displayUsing(java.lang.String formatHint)
Format this object for display purposes, preferably using the formatter hinted by
formatHint . |
boolean |
equals(java.lang.Object o) |
IQuantity |
getRatio() |
int |
hashCode() |
java.lang.String |
toString() |
private java.lang.String name
private IQuantity ratio
CodeHeapData(java.lang.String name, IQuantity ratio)
public IQuantity getRatio()
public java.lang.String toString()
toString
in class java.lang.Object
public int compareTo(CodeCacheRule.CodeHeapData o)
compareTo
in interface java.lang.Comparable<CodeCacheRule.CodeHeapData>
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public java.lang.String displayUsing(java.lang.String formatHint)
IDisplayable
formatHint
. If no such formatter is defined for this type, the default formatter will
be used.displayUsing
in interface IDisplayable
formatHint
- the format hint