Class Substring
java.lang.Object
com.sk89q.worldedit.internal.util.Substring
An explicit substring. Provides the range from which it was taken.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
static Substring
Take a substring fromoriginal
, andwrap(String, int, int)
it into a Substring.static Substring
Take a substring fromoriginal
, andwrap(String, int, int)
it into a Substring.int
getEnd()
int
getStart()
int
hashCode()
toString()
static Substring
Wrap the given parameters into a Substring instance.
-
Method Details
-
from
Take a substring fromoriginal
, andwrap(String, int, int)
it into a Substring. -
from
Take a substring fromoriginal
, andwrap(String, int, int)
it into a Substring. -
wrap
Wrap the given parameters into a Substring instance. -
getSubstring
-
getStart
public int getStart() -
getEnd
public int getEnd() -
equals
-
hashCode
public int hashCode() -
toString
-