public static enum ConflictKey.Serializer extends java.lang.Enum<ConflictKey.Serializer> implements com.google.gerrit.server.cache.serialize.CacheSerializer<ConflictKey>
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
ConflictKey |
deserialize(byte[] in) |
byte[] |
serialize(ConflictKey object) |
static ConflictKey.Serializer |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ConflictKey.Serializer[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConflictKey.Serializer INSTANCE
public static ConflictKey.Serializer[] values()
for (ConflictKey.Serializer c : ConflictKey.Serializer.values()) System.out.println(c);
public static ConflictKey.Serializer valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic byte[] serialize(ConflictKey object)
serialize in interface com.google.gerrit.server.cache.serialize.CacheSerializer<ConflictKey>public ConflictKey deserialize(byte[] in)
deserialize in interface com.google.gerrit.server.cache.serialize.CacheSerializer<ConflictKey>