Package org.onosproject.ui.lion
Class LionBundle.LionItem
- java.lang.Object
-
- org.onosproject.ui.lion.LionBundle.LionItem
-
- All Implemented Interfaces:
java.lang.Comparable<LionBundle.LionItem>
- Enclosing class:
- LionBundle
public static final class LionBundle.LionItem extends java.lang.Object implements java.lang.Comparable<LionBundle.LionItem>
Represents a single localization item.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(LionBundle.LionItem o)
boolean
equals(java.lang.Object obj)
int
hashCode()
java.lang.String
key()
Returns the key.java.lang.String
toString()
java.lang.String
value()
Returns the value.
-
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
compareTo
public int compareTo(LionBundle.LionItem o)
- Specified by:
compareTo
in interfacejava.lang.Comparable<LionBundle.LionItem>
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
key
public java.lang.String key()
Returns the key.- Returns:
- the key
-
value
public java.lang.String value()
Returns the value.- Returns:
- the value
-
-