Class SerializedCollectionEntry<T>
- java.lang.Object
-
- org.opennms.netmgt.graph.persistence.converter.collection.SerializedCollectionEntry<T>
-
- Type Parameters:
T
- The (de-serialized) type of the object.
public class SerializedCollectionEntry<T> extends java.lang.Object
Represents a serialized entry of an originalCollection
. In order to de-serialze it later, the type of the original entry is persisted as well.
-
-
Constructor Summary
Constructors Constructor Description SerializedCollectionEntry(java.lang.Class<T> type, java.lang.String value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.lang.Class<T>
getType()
java.lang.String
getValue()
int
hashCode()
java.lang.String
toString()
-
-
-
Constructor Detail
-
SerializedCollectionEntry
public SerializedCollectionEntry(java.lang.Class<T> type, java.lang.String value)
-
-
Method Detail
-
getType
public java.lang.Class<T> getType()
-
getValue
public java.lang.String getValue()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-