java.lang.Object
io.qt.QFlags<QtConcurrent.ReduceOption>
io.qt.concurrent.QtConcurrent.ReduceOptions
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<QtConcurrent.ReduceOptions>
- Enclosing class:
- QtConcurrent
public static final class QtConcurrent.ReduceOptions
extends io.qt.QFlags<QtConcurrent.ReduceOption>
implements Comparable<QtConcurrent.ReduceOptions>
QFlags type for enum
QtConcurrent.ReduceOption- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionReduceOptions(int value) Creates a new ReduceOptions with givenvalue.ReduceOptions(QtConcurrent.ReduceOption... args) Creates a new ReduceOptions where the flags inargsare set. -
Method Summary
Modifier and TypeMethodDescriptionclone()Clones the flagsCombines this flags with enum entry.final intfinal QtConcurrent.ReduceOption[]flags()Returns an array of flag objects represented by this ReduceOptions.Sets the flagesetFlag(QtConcurrent.ReduceOption e, boolean on) Sets or clears the flagflagMethods inherited from class io.qt.QFlags
clear, clear, clearAll, equals, flags, hashCode, isSet, isSet, set, set, setValue, testAnyFlags, testAnyFlags, testFlag, testFlags, testFlags, toInt, toString, value
-
Constructor Details
-
ReduceOptions
Creates a new ReduceOptions where the flags inargsare 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:
combinedin classio.qt.QFlags<QtConcurrent.ReduceOption>- Parameters:
e- enum entry- Returns:
- new ReduceOptions
-
setFlag
Sets the flage- Overrides:
setFlagin classio.qt.QFlags<QtConcurrent.ReduceOption>- Parameters:
e- enum entry- Returns:
- this
-
setFlag
Sets or clears the flagflag- Overrides:
setFlagin classio.qt.QFlags<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:
flagsin classio.qt.QFlags<QtConcurrent.ReduceOption>- Returns:
- array of enum entries
-
clone
Clones the flags- Overrides:
clonein classio.qt.QFlags<QtConcurrent.ReduceOption>
-
compareTo
- Specified by:
compareToin interfaceComparable<QtConcurrent.ReduceOptions>
-