|
Jive Forums API (5.5.20.2-oracle) Developer Javadocs | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jivesoftware.base.stats.Element
com.jivesoftware.base.stats.element.StringElement
public class StringElement
An Element that wraps a String.
Constructor Summary | |
---|---|
StringElement(java.lang.String str)
Create a new StringElement |
Method Summary | |
---|---|
int |
compareTo(java.lang.Object obj)
Compare this StringElement to another object |
boolean |
equals(java.lang.Object obj)
Compare this StringElement to another object |
Element |
getInstance(long n)
Generates a new instance of InfiniteElement. |
java.lang.Object |
getValue()
Returns the object this element wraps. |
int |
hashCode()
Generate a hashCode for the StringElement so we can use them with hash tables. |
java.lang.Long |
toLong()
Convert the embedded String to a Long. |
java.lang.String |
toString()
Convert StringElement to a String |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public StringElement(java.lang.String str)
str
- String to embedMethod Detail |
---|
public java.lang.Object getValue()
getValue
in class Element
public java.lang.Long toLong()
toLong
in class Element
public java.lang.String toString()
toString
in class Element
public Element getInstance(long n)
getInstance
in class Element
n
- a long this element should wrap.
public int compareTo(java.lang.Object obj)
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
|
Jive Forums Project Page | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |