Class ClassEntry
- java.lang.Object
-
- org.openjdk.jmc.flightrecorder.rules.jdk.util.ClassEntry
-
- All Implemented Interfaces:
java.lang.Comparable<ClassEntry>
public final class ClassEntry extends java.lang.Object implements java.lang.Comparable<ClassEntry>
-
-
Constructor Summary
Constructors Constructor Description ClassEntry(IMCType type, int count)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(ClassEntry o)
boolean
equals(java.lang.Object obj)
int
getCount()
IMCType
getType()
int
hashCode()
java.lang.String
toString()
-
-
-
Field Detail
-
type
private final IMCType type
-
count
private final int count
-
-
Constructor Detail
-
ClassEntry
public ClassEntry(IMCType type, int count)
-
-
Method Detail
-
compareTo
public int compareTo(ClassEntry o)
- Specified by:
compareTo
in interfacejava.lang.Comparable<ClassEntry>
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getType
public IMCType getType()
-
getCount
public int getCount()
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-