public abstract class Fragment extends java.lang.Object implements java.lang.Comparable<Fragment>, java.io.Serializable
Constructor and Description |
---|
Fragment(int s,
int e) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Fragment f) |
boolean |
equals(java.lang.Object o) |
int |
getEnd()
Gets the end index of the fragment
|
int |
getStart()
Gets the start index of the fragment
|
int |
hashCode() |
java.lang.String |
toString() |
public int getStart()
public int getEnd()
public java.lang.String toString()
toString
in class java.lang.Object
public int compareTo(Fragment f)
compareTo
in interface java.lang.Comparable<Fragment>
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object