public static enum Method.Stream extends Enum<Method.Stream>
| Modifier and Type | Method and Description |
|---|---|
static Method.Stream |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Method.Stream[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Method.Stream NONE
public static final Method.Stream CLIENT
public static final Method.Stream SERVER
public static final Method.Stream BIDI
public static Method.Stream[] values()
for (Method.Stream c : Method.Stream.values()) System.out.println(c);
public static Method.Stream 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 nullCopyright © 2022 Google LLC. All rights reserved.