- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<QtConcurrent.ReduceOptions>
- Enclosing class:
- QtConcurrent
public static final class QtConcurrent.ReduceOptions extends QFlags<QtConcurrent.ReduceOption> implements Comparable<QtConcurrent.ReduceOptions>
QFlags type for enum
QtConcurrent.ReduceOption
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description ReduceOptions(int value)
Creates a new ReduceOptions with givenvalue
.ReduceOptions(QtConcurrent.ReduceOption... args)
Creates a new ReduceOptions where the flags inargs
are set. -
Method Summary
Modifier and Type Method Description QtConcurrent.ReduceOptions
clone()
Clones the flagsQtConcurrent.ReduceOptions
combined(QtConcurrent.ReduceOption e)
Combines this flags with enum entry.int
compareTo(QtConcurrent.ReduceOptions other)
QtConcurrent.ReduceOption[]
flags()
Returns an array of flag objects represented by this ReduceOptions.QtConcurrent.ReduceOptions
setFlag(QtConcurrent.ReduceOption e)
Sets the flage
QtConcurrent.ReduceOptions
setFlag(QtConcurrent.ReduceOption e, boolean on)
Sets or clears the flagflag
-
Constructor Details
-
ReduceOptions
Creates a new ReduceOptions where the flags inargs
are set.- Parameters:
args
- enum entries
-
ReduceOptions
public ReduceOptions(int value)Creates a new ReduceOptions with givenvalue
.- Parameters:
value
-
-
-
Method Details
-
combined
Combines this flags with enum entry.- Overrides:
combined
in classQFlags<QtConcurrent.ReduceOption>
- Parameters:
e
- enum entry- Returns:
- new ReduceOptions
-
setFlag
Sets the flage
- Overrides:
setFlag
in classQFlags<QtConcurrent.ReduceOption>
- Parameters:
e
- enum entry- Returns:
- this
-
setFlag
Sets or clears the flagflag
- Overrides:
setFlag
in classQFlags<QtConcurrent.ReduceOption>
- Parameters:
e
- enum entryon
- set (true) or clear (false)- Returns:
- this
-
flags
Returns an array of flag objects represented by this ReduceOptions.- Overrides:
flags
in classQFlags<QtConcurrent.ReduceOption>
- Returns:
- array of enum entries
-
clone
Clones the flags- Overrides:
clone
in classQFlags<QtConcurrent.ReduceOption>
-
compareTo
- Specified by:
compareTo
in interfaceComparable<QtConcurrent.ReduceOptions>
-