Package com.linkedin.alpini.base.misc
Class LowerCaseAsciiCharSequence
- java.lang.Object
-
- com.linkedin.alpini.base.misc.LowerCaseAsciiCharSequence
-
- All Implemented Interfaces:
java.lang.CharSequence
,java.lang.Comparable<java.lang.CharSequence>
,org.apache.logging.log4j.util.StringBuilderFormattable
public class LowerCaseAsciiCharSequence extends java.lang.Object implements java.lang.CharSequence, org.apache.logging.log4j.util.StringBuilderFormattable, java.lang.Comparable<java.lang.CharSequence>
-
-
Constructor Summary
Constructors Constructor Description LowerCaseAsciiCharSequence(java.lang.CharSequence charSequence)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description char
charAt(int index)
int
compareTo(java.lang.CharSequence o)
boolean
equals(java.lang.Object o)
void
formatTo(java.lang.StringBuilder buffer)
int
hashCode()
int
length()
java.lang.CharSequence
subSequence(int start, int end)
static java.lang.CharSequence
toLowerCase(java.lang.CharSequence charSequence)
java.lang.String
toString()
-
-
-
Method Detail
-
toLowerCase
@Nonnull public static java.lang.CharSequence toLowerCase(@Nonnull java.lang.CharSequence charSequence)
-
length
public int length()
- Specified by:
length
in interfacejava.lang.CharSequence
-
charAt
public char charAt(int index)
- Specified by:
charAt
in interfacejava.lang.CharSequence
-
subSequence
public java.lang.CharSequence subSequence(int start, int end)
- Specified by:
subSequence
in interfacejava.lang.CharSequence
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
@Nonnull public java.lang.String toString()
- Specified by:
toString
in interfacejava.lang.CharSequence
- Overrides:
toString
in classjava.lang.Object
-
formatTo
public void formatTo(java.lang.StringBuilder buffer)
- Specified by:
formatTo
in interfaceorg.apache.logging.log4j.util.StringBuilderFormattable
-
compareTo
public int compareTo(@Nonnull java.lang.CharSequence o)
- Specified by:
compareTo
in interfacejava.lang.Comparable<java.lang.CharSequence>
-
-