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.Objectpublic int compareTo(CodeCacheRule.CodeHeapData o)
compareTo in interface java.lang.Comparable<CodeCacheRule.CodeHeapData>public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic java.lang.String displayUsing(java.lang.String formatHint)
IDisplayableformatHint. If no such formatter is defined for this type, the default formatter will
be used.displayUsing in interface IDisplayableformatHint - the format hint