public static long getValue(EnumSet<ExecutionCapability> set) { return EnumValues.getValue(set); }
public static long getValue(EnumSet<PartitionType> set) { return EnumValues.getValue(set); }
public static long getValue(EnumSet<QueueProperties> set) { return EnumValues.getValue(set); }
public static long getValue(EnumSet<Type> set) { return EnumValues.getValue(set); }
public static long getValue(EnumSet<FpConfig> set) { return EnumValues.getValue(set); }
public static long getValue(EnumSet<ContextProperties> set) { return EnumValues.getValue(set); }
public static long getValue(EnumSet<QueueProperties> set) { return EnumValues.getValue(set); }
public static long getValue(EnumSet<Migration> set) { return EnumValues.getValue(set); }
public static long getValue(EnumSet<Migration> set) { return EnumValues.getValue(set); }
public static long getValue(EnumSet<FpConfig> set) { return EnumValues.getValue(set); }
public static long getValue(EnumSet<ContextProperties> set) { return EnumValues.getValue(set); }
public static long getValue(EnumSet<ExecutionCapability> set) { return EnumValues.getValue(set); }
public static long getValue(EnumSet<Type> set) { return EnumValues.getValue(set); }
public static long getValue(EnumSet<PartitionType> set) { return EnumValues.getValue(set); }
public static long getValue(EnumSet<Flags> set) { return EnumValues.getValue(set); } public static EnumSet<Flags> getEnumSet(long v) { return EnumValues.getEnumSet(v, Flags.class); }
/** * Get the integer value resulting from ORing all the values of all the enum items present in the enum set. * @see EnumValues#getValue(java.lang.Enum) * @see EnumValue * @param set the EnumSet to process * @return the OR of all the values of the enums in the set */ public static <E extends Enum<E>> long getValue(EnumSet<E> set) { long v = 0; for (E e : set) { v |= getValue(e); } return v; } }
public static long getValue(EnumSet<Flags> set) { return EnumValues.getValue(set); } public static EnumSet<Flags> getEnumSet(long v) { return EnumValues.getEnumSet(v, Flags.class); }