Package com.longbridge.quote
Enum SecuritiesUpdateMode
- java.lang.Object
-
- java.lang.Enum<SecuritiesUpdateMode>
-
- com.longbridge.quote.SecuritiesUpdateMode
-
- All Implemented Interfaces:
Serializable,Comparable<SecuritiesUpdateMode>
public enum SecuritiesUpdateMode extends Enum<SecuritiesUpdateMode>
Securities update mode for watchlist groups
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SecuritiesUpdateModevalueOf(String name)Returns the enum constant of this type with the specified name.static SecuritiesUpdateMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Add
public static final SecuritiesUpdateMode Add
Add securities
-
Remove
public static final SecuritiesUpdateMode Remove
Remove securities
-
Replace
public static final SecuritiesUpdateMode Replace
Replace all securities
-
-
Method Detail
-
values
public static SecuritiesUpdateMode[] 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 (SecuritiesUpdateMode c : SecuritiesUpdateMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SecuritiesUpdateMode 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
-
-