Class NameTestImpl
java.lang.Object
org.tquadrat.foundation.testutil.impl.NameTestImpl
- All Implemented Interfaces:
CharSequence, Name
An implementation of
Name
for test purposes.- Author:
- Thomas Thrien (thomas.thrien@tquadrat.org)
- Version:
- $Id: NameTestImpl.java 1074 2023-10-02 12:05:06Z tquadrat $
- Since:
- 0.0.1
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal charcharAt(int index) final booleanfinal booleanfinal inthashCode()final intlength()final CharSequencesubSequence(int start, int end) final StringtoString()Methods inherited from interface CharSequence
chars, codePoints, getChars, isEmpty
-
Field Details
-
m_Value
-
-
Constructor Details
-
NameTestImpl
Creates a newNameTestImplinstance.- Parameters:
value- The value.
-
-
Method Details
-
charAt
- Specified by:
charAtin interfaceCharSequence
-
contentEquals
- Specified by:
contentEqualsin interfaceName
-
equals
-
hashCode
-
length
- Specified by:
lengthin interfaceCharSequence
-
subSequence
- Specified by:
subSequencein interfaceCharSequence
-
toString
-
