Package org.jibx.schema.codegen
Class StringKeyed
- java.lang.Object
-
- org.jibx.schema.codegen.StringKeyed
-
- All Implemented Interfaces:
java.lang.Comparable
- Direct Known Subclasses:
StringObjectPair
,StringPair
public class StringKeyed extends java.lang.Object implements java.lang.Comparable
Base class for a data representation using a string value as a key. This just holds the key and implements theComparable
interface.
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
m_key
Key string.
-
Constructor Summary
Constructors Constructor Description StringKeyed(java.lang.String key)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(java.lang.Object o)
Compare to another instance.java.lang.String
getKey()
Get the key string.
-