| Modifier and Type | Class and Description |
|---|---|
| private static class | BasicErrorMessageFactory.
To avoid quoted String in message format. |
| Modifier and Type | Field and Description |
|---|---|
| protected final Object[] | |
| protected final String | |
| pack-priv MessageFormatter |
| Access | Constructor and Description |
|---|---|
| public | BasicErrorMessageFactory(String
the format string. format, Object... arguments referenced by the format specifiers in the format string. arguments)Creates a new |
| Modifier and Type | Method and Description |
|---|---|
| public String | create(Description
the description of the failed assertion. d, Representation the representation used representation)Implements org. |
| public String | create(Description
the description of the failed assertion. d)Implements org. StandardRepresentation.
|
| public String | create()
Implements org. |
| public boolean | equals(Object
the reference object with which to compare. obj)Overrides java. |
| public int | |
| public String | |
| protected static CharSequence | Returns: an unquoted string in message format.the string who will be unquoted. string)Return a string who will be unquoted in message format (without '') |
| arguments | back to summary |
|---|---|
| protected final Object[] arguments | |
| format | back to summary |
|---|---|
| protected final String format | |
| formatter | back to summary |
|---|---|
| pack-priv MessageFormatter formatter
| |
| BasicErrorMessageFactory | back to summary |
|---|---|
| public BasicErrorMessageFactory(String format, Object... arguments) Creates a new | |
| create | back to summary |
|---|---|
| public String create(Description d, Representation representation) Implements org. Doc from org. Creates a new error message as a result of a failed assertion.
| |
| create | back to summary |
|---|---|
| public String create(Description d) Implements org. Doc from org. Creates a new error message as a result of a failed assertion with
| |
| create | back to summary |
|---|---|
| public String create() Implements org. Doc from org. Creates a new error message as a result of a failed assertion without description. | |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| unquotedString | back to summary |
|---|---|
| protected static CharSequence unquotedString(String string) Return a string who will be unquoted in message format (without '')
| |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public char | charAt(int
the index of the index)char value to be returnedImplements java. char value at the specified index.
|
| public boolean | equals(Object
the reference object with which to compare. obj)Overrides java. |
| public int | |
| public int | |
| public CharSequence | subSequence(int
the start index, inclusive start, int the end index, exclusive end)Implements java. CharSequence that is a subsequence of this sequence.
|
| public String | toString()
Overrides java. Implements java. |
| string | back to summary |
|---|---|
| private final String string | |
| UnquotedString | back to summary |
|---|---|
| private UnquotedString(String string) | |
| charAt | back to summary |
|---|---|
| public char charAt(int index) Implements java. Doc from java. Returns the If the
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| length | back to summary |
|---|---|
| public int length() Implements java. Doc from java. Returns the length of this character sequence. The length is the number
of 16-bit
| |
| subSequence | back to summary |
|---|---|
| public CharSequence subSequence(int start, int end) Implements java. Doc from java. Returns a
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Implements java. Doc from java. Returns a string containing the characters in this sequence in the same order as this sequence. The length of the string will be the length of this sequence. | |