Class SyntheticName
java.lang.Object
org.microbean.construct.element.SyntheticName
- All Implemented Interfaces:
CharSequence, Constable, Name
A
Name implementation based on Strings.
This Name implementation differs from StringName in that there is no PrimordialDomain involved, and therefore no notion of any kind of delegate.
- Author:
- Laird Nelson
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal charcharAt(int index) final IntStreamchars()final IntStreamfinal booleanfinal Optional<DynamicConstantDesc<SyntheticName>> final booleanfinal inthashCode()final booleanisEmpty()final intlength()final CharSequencesubSequence(int start, int end) final StringtoString()
-
Constructor Details
-
SyntheticName
Creates a newSyntheticName.- Parameters:
value- the actual name; must not benull- Throws:
NullPointerException- ifvalueisnull
-
-
Method Details
-
charAt
- Specified by:
charAtin interfaceCharSequence
-
chars
- Specified by:
charsin interfaceCharSequence
-
codePoints
- Specified by:
codePointsin interfaceCharSequence
-
contentEquals
- Specified by:
contentEqualsin interfaceName
-
describeConstable
- Specified by:
describeConstablein interfaceConstable
-
equals
-
hashCode
-
isEmpty
- Specified by:
isEmptyin interfaceCharSequence
-
length
- Specified by:
lengthin interfaceCharSequence
-
subSequence
- Specified by:
subSequencein interfaceCharSequence
-
toString
-