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 TypeMethodDescriptionbooleanstatic SubstringTake a substring fromoriginal, andwrap(String, int, int)it into a Substring.static SubstringTake a substring fromoriginal, andwrap(String, int, int)it into a Substring.intgetEnd()intgetStart()inthashCode()toString()static SubstringWrap 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
-