Value Wrapper
Serializable representation of a value that was used in an assertion.
This class only stores the value if it implements java.io.Serializable (on js this is always the case).
In any case, it stores its runtime type, identity hash code}, and string representation} determined via toString(). If the invocation of toString() throws an Exception, the string representation will take the form of "<Exception in toString(): " + e + ">", where "e" is the caught exception.
The toString method returns the string representation of the value along with its type and identity hash code.
Serializable representation of a value that was used in an assertion.
This class only stores the value if it implements Serializable. In any case, it stores its type, , and determined via String.valueOf. If the invocation of String.valueOf(Object) throws an Exception, the string representation will take the form of "<Exception in toString(): " + e + ">", where "e" is the caught exception.
The toString method returns the string representation of the value along with its type and identity hash code.
Author
Marc Philipp
Sam Brannen
Since
1.0
Author
Marc Philipp
Sam Brannen
Since
1.0
Properties
Returns the original value supplied to .create.
Returns the original value supplied to toValueWrapper.
Returns the value's identity hash code.
Returns the value's identity hash code.
Returns the value's string representation.
Returns the value supplied to .create if the value implements Serializable; otherwise, null.
Returns the value supplied to toValueWrapper if the value java.io.Serializable (always true on js and native); otherwise, null.
Returns the value's runtime type or null if the value is null.