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 char
charAt
(int index) final boolean
final boolean
final int
hashCode()
final int
length()
final CharSequence
subSequence
(int start, int end) final String
toString()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.CharSequence
chars, codePoints, isEmpty
-
Field Details
-
m_Value
The value.
-
-
Constructor Details
-
NameTestImpl
Creates a newNameTestImpl
instance.- Parameters:
value
- The value.
-
-
Method Details
-
charAt
- Specified by:
charAt
in interfaceCharSequence
-
contentEquals
- Specified by:
contentEquals
in interfaceName
-
equals
-
hashCode
-
length
- Specified by:
length
in interfaceCharSequence
-
subSequence
- Specified by:
subSequence
in interfaceCharSequence
-
toString
- Specified by:
toString
in interfaceCharSequence
- Overrides:
toString
in classObject
-