public enum BufferOverflowPolicy extends java.lang.Enum<BufferOverflowPolicy>
| Modifier and Type | Method and Description |
|---|---|
<T> Xor<java.lang.Void,T> |
match(T value) |
static BufferOverflowPolicy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BufferOverflowPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BufferOverflowPolicy DROP
public static final BufferOverflowPolicy BLOCK
public static BufferOverflowPolicy[] values()
for (BufferOverflowPolicy c : BufferOverflowPolicy.values()) System.out.println(c);
public static BufferOverflowPolicy 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 <T> Xor<java.lang.Void,T> match(T value)