Class LengthList<L extends Length>
java.lang.Object
de.xima.fc.common.graphdot.LengthList<L>
- Type Parameters:
L- Type of the length values in this list.
- All Implemented Interfaces:
Serializable, CharSequence
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classLengthList.LengthListFactory<L extends Length>A factory for creatingLengthListfrom values in a given unit. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondefault charcharAt(int index) default IntStreamchars()default IntStreamfinal booleanfinal inthashCode()default intlength()static <L extends Length>
LengthList<L> of(L... lengths) Creates a double list from the given doubles.default CharSequencesubSequence(int start, int end) toInches()Gets a factory for creating length lists from inch values.toPoints()Gets a factory for creating length lists from point values.toString()
-
Constructor Details
-
LengthList
-
-
Method Details
-
getLengths
-
toString
- Specified by:
toStringin interfaceCharSequence
-
of
Creates a double list from the given doubles.- Parameters:
lengths- Length values to put into a list.- Returns:
- A double list with the given doubles.
-
toInches
Gets a factory for creating length lists from inch values.- Returns:
- A factory for creating length lists from inch values.
-
toPoints
Gets a factory for creating length lists from point values.- Returns:
- A factory for creating length lists from point values.
-
equals
-
hashCode
-
charAt
default char charAt(int index) - Specified by:
charAtin interfaceCharSequence
-
chars
- Specified by:
charsin interfaceCharSequence
-
codePoints
- Specified by:
codePointsin interfaceCharSequence
-
length
default int length()- Specified by:
lengthin interfaceCharSequence
-
subSequence
- Specified by:
subSequencein interfaceCharSequence
-