public class PackStringAndFragment extends java.lang.Object implements java.lang.Comparable<PackStringAndFragment>
Constructor and Description |
---|
PackStringAndFragment(XMLFragment fragment)
Instantiates a new pack string and fragment.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(PackStringAndFragment o)
Compare to.
|
boolean |
equals(java.lang.Object obj)
Equals.
|
XMLFragment |
getFragment()
Gets the fragment.
|
int |
hashCode()
Hash code.
|
java.lang.String |
toString()
To string.
|
public PackStringAndFragment(XMLFragment fragment)
fragment
- the fragmentpublic XMLFragment getFragment()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- the objpublic java.lang.String toString()
toString
in class java.lang.Object
public int compareTo(PackStringAndFragment o)
compareTo
in interface java.lang.Comparable<PackStringAndFragment>
o
- the oCopyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa