public enum Device extends Enum<Device> implements redis.clients.jedis.commands.ProtocolCommand
Modifier and Type | Method and Description |
---|---|
byte[] |
getRaw() |
static Device |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Device[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static Device[] values()
for (Device c : Device.values()) System.out.println(c);
public static Device valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic byte[] getRaw()
getRaw
in interface redis.clients.jedis.args.Rawable
Copyright © 2021. All rights reserved.