Wrapper
The final proposal for method names of the Wrap
instance. The methods having some explanation can be clicked.
Instance method names
isClosingIn()
Checks if the provided text
has the closing of specified Wrapper
object at the end of the text.
isOpeningIn()
Checks if the provided text
has the opening of the specified Wrapper
object at the beginning of the text.
replaceClosingIn()
Replaces the closing chars of the Wrapper
object in the text with a given replacement value.
replaceOpeningIn()
Replaces the opening chars of the Wrapper
object in the text with a given replacement value.
removeWrapIn()
Returns the text without the opening and closing of the wrapper.
textWrap()
The method returns the Wrap
consisting of the text of the Wrapper
object and the given opening and closing chars.
textUnwrap()
The method returns the text of the Wrapper
object without the opening and closing chars.
toWrap()
Returns the Wrap
instance consists of the text, opening and closing chars of the Wrapper
object.
unwrap()
Returns the text without the opening and closing chars.
wrap()
The method wraps the primitive value of a specified Wrapper
object.
wrapOn()
Wraps the specific text with the wrap, the opening, and closing of the Wrapper
object.
Last updated