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 class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.CharSequence
chars, codePoints, isEmpty
-
Field Details
-
m_Value
The 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
- Specified by:
toStringin interfaceCharSequence- Overrides:
toStringin classObject
-
