Package org.redisson.client
Class ChannelName
- java.lang.Object
-
- org.redisson.client.ChannelName
-
- All Implemented Interfaces:
CharSequence
public class ChannelName extends Object implements CharSequence
- Author:
- Nikita Koksharov
-
-
Constructor Summary
Constructors Constructor Description ChannelName(byte[] name)ChannelName(String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description charcharAt(int index)booleanequals(Object obj)byte[]getName()inthashCode()intlength()CharSequencesubSequence(int start, int end)StringtoString()-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.CharSequence
chars, codePoints
-
-
-
-
Constructor Detail
-
ChannelName
public ChannelName(byte[] name)
-
ChannelName
public ChannelName(String name)
-
-
Method Detail
-
toString
public String toString()
- Specified by:
toStringin interfaceCharSequence- Overrides:
toStringin classObject
-
getName
public byte[] getName()
-
length
public int length()
- Specified by:
lengthin interfaceCharSequence
-
charAt
public char charAt(int index)
- Specified by:
charAtin interfaceCharSequence
-
subSequence
public CharSequence subSequence(int start, int end)
- Specified by:
subSequencein interfaceCharSequence
-
-