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.ComparableBase class for a data representation using a string value as a key. This just holds the key and implements theComparableinterface.
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Stringm_keyKey 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 intcompareTo(java.lang.Object o)Compare to another instance.java.lang.StringgetKey()Get the key string.
-