Overview
The `Wrap` primitive wrapper object
Last updated
The `Wrap` primitive wrapper object
Last updated
The Wrap
object is based on the String
object and represents the immutable primitive value of the text wrapped by the opening and closing chars. It is designed to preserve the type names of the supplied opening, text, and closing chars by using the generic type variables.
public get The accessor gets the of the wrap by returning the property of the specified object.
public get The accessor gets the of the wrap by returning the property of the specified object.
public get The accessor gets the of the by returning the property of a specified object.
public get
The accessor of the changes the default tag String
of the instance to the custom tag Wrap
.
Private property of the closing chars of a generic type variable .
Private property of the opening chars of a generic type variable .
Private property of text of a generic type variable .
public Gets the chars of the wrap by returning the property of a specified object.
public Gets the chars of the wrap by returning the property of a specified object.
public Gets the text of the wrap by returning the property of a specified object, without the and chars of the .
public Checks whether the of a specified object has the chars or given chars.
public Checks whether the of a specified object has the chars or given chars.
public The method checks whether the of a specified object is defined, which means it's a of at least one char and optionally equal to the given .
public The method checks whether the of the specified object is wrapped by the and chars of an instance or given and chars.
public Returns the with replaced chars.
public Returns the with replaced chars.
public Returns the with replaced .
public Gets the , the of a specified object.
public Returns the , of a specified object.
public static Checks whether the has given chars at the end.
public static Checks whether the has given chars at the beginning.
public static The method checks whether the of any type is the instance of any or given and chars.