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:
-
Method Summary
Modifier and TypeMethodDescriptionfinal charcharAt(int index) final IntStreamchars()final IntStreamfinal booleanfinal Optional<DynamicConstantDesc<SyntheticName>> final booleanfinal inthashCode()final booleanisEmpty()final intlength()static final SyntheticNamefinal CharSequencesubSequence(int start, int end) final StringtoString()
-
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
-
of
- Parameters:
name- aString; must not benull- Returns:
- a
SyntheticName; nevernull - Throws:
NullPointerException- ifnameisnull
-