public static enum PyLib.CallableKind extends Enum<PyLib.CallableKind>
| Enum Constant and Description |
|---|
FUNCTION
Function call without the Python
self as first argument. |
METHOD
An instance method call with the Python
self (= the instance) as first argument. |
| Modifier and Type | Method and Description |
|---|---|
static PyLib.CallableKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PyLib.CallableKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PyLib.CallableKind FUNCTION
self as first argument.public static final PyLib.CallableKind METHOD
self (= the instance) as first argument.public static PyLib.CallableKind[] values()
for (PyLib.CallableKind c : PyLib.CallableKind.values()) System.out.println(c);
public static PyLib.CallableKind 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 © 2014–2015 Brockmann Consult GmbH. All rights reserved.