Package pulse.search.direction
Class ActiveFlags
- java.lang.Object
-
- pulse.search.direction.ActiveFlags
-
- All Implemented Interfaces:
Serializable
public class ActiveFlags extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Set<Flag>availableProperties()static Flagget(NumericPropertyKeyword key)static List<Flag>getAllFlags()static voidloadState(List<Flag> flags)Loads the argument into the current list of flags.static voidreset()static List<NumericPropertyKeyword>selectActiveAndListed(List<Flag> flags, PropertyHolder listed)static List<NumericPropertyKeyword>selectActiveTypes(List<Flag> flags)static List<Flag>storeState()Creates a deep copy of the flags collection.
-
-
-
Method Detail
-
reset
public static void reset()
-
get
public static Flag get(NumericPropertyKeyword key)
-
storeState
public static List<Flag> storeState()
Creates a deep copy of the flags collection.- Returns:
- a deep copy of the flags
-
loadState
public static void loadState(List<Flag> flags)
Loads the argument into the current list of flags. This will update any matching flags and assign values correpon- Parameters:
flags-
-
selectActiveAndListed
public static List<NumericPropertyKeyword> selectActiveAndListed(List<Flag> flags, PropertyHolder listed)
-
selectActiveTypes
public static List<NumericPropertyKeyword> selectActiveTypes(List<Flag> flags)
-
-