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 char
charAt(int index)
boolean
equals(Object obj)
byte[]
getName()
int
hashCode()
int
length()
CharSequence
subSequence(int start, int end)
String
toString()
-
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:
toString
in interfaceCharSequence
- Overrides:
toString
in classObject
-
getName
public byte[] getName()
-
length
public int length()
- Specified by:
length
in interfaceCharSequence
-
charAt
public char charAt(int index)
- Specified by:
charAt
in interfaceCharSequence
-
subSequence
public CharSequence subSequence(int start, int end)
- Specified by:
subSequence
in interfaceCharSequence
-
-