Enum Enums.AddressRole
- java.lang.Object
-
- java.lang.Enum<Enums.AddressRole>
-
- com.algorand.algosdk.v2.client.model.Enums.AddressRole
-
- All Implemented Interfaces:
Serializable
,Comparable<Enums.AddressRole>
- Enclosing class:
- Enums
public static enum Enums.AddressRole extends Enum<Enums.AddressRole>
Combine with the address parameter to define what type of address to search for.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FREEZETARGET
RECEIVER
SENDER
UNKNOWN
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Enums.AddressRole
forValue(String value)
String
toString()
static Enums.AddressRole
valueOf(String name)
Returns the enum constant of this type with the specified name.static Enums.AddressRole[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SENDER
public static final Enums.AddressRole SENDER
-
RECEIVER
public static final Enums.AddressRole RECEIVER
-
FREEZETARGET
public static final Enums.AddressRole FREEZETARGET
-
UNKNOWN
public static final Enums.AddressRole UNKNOWN
-
-
Method Detail
-
values
public static Enums.AddressRole[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Enums.AddressRole c : Enums.AddressRole.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Enums.AddressRole valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
toString
public String toString()
- Overrides:
toString
in classEnum<Enums.AddressRole>
-
forValue
public static Enums.AddressRole forValue(String value)
-
-