Package org.assertj.core.error
Class BasicErrorMessageFactory.UnquotedString
- java.lang.Object
-
- org.assertj.core.error.BasicErrorMessageFactory.UnquotedString
-
- All Implemented Interfaces:
CharSequence
- Enclosing class:
- BasicErrorMessageFactory
private static class BasicErrorMessageFactory.UnquotedString extends Object implements CharSequence
To avoid quoted String in message format.
-
-
Constructor Summary
Constructors Modifier Constructor Description privateUnquotedString(String string)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description charcharAt(int index)booleanequals(Object obj)inthashCode()intlength()CharSequencesubSequence(int start, int end)StringtoString()-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.CharSequence
chars, codePoints
-
-
-
-
Field Detail
-
string
private final String string
-
-
Constructor Detail
-
UnquotedString
private UnquotedString(String string)
-
-
Method Detail
-
length
public int length()
- Specified by:
lengthin interfaceCharSequence
-
charAt
public char charAt(int index)
- Specified by:
charAtin interfaceCharSequence
-
subSequence
public CharSequence subSequence(int start, int end)
- Specified by:
subSequencein interfaceCharSequence
-
toString
public String toString()
- Specified by:
toStringin interfaceCharSequence- Overrides:
toStringin classObject
-
-