XPRSenumerations.MultiObjOps
- java.lang.Object
-
- java.lang.Number
-
- com.dashoptimization.XPRSenumerations.BitVector
-
- com.dashoptimization.XPRSenumerations.MultiObjOps
-
- All Implemented Interfaces:
-
java.io.Serializable,java.lang.Comparable<XPRSenumerations.MultiObjOps>
- Enclosing interface:
- XPRSenumerations
public static final class XPRSenumerations.MultiObjOps extends XPRSenumerations.BitVector implements java.lang.Comparable<XPRSenumerations.MultiObjOps>
A bitvector of 'MULTIOBJOPS'. All instances of this enumeration will be drawn from combinations of the constant objects defined in this class. Instances of this class should be compared usingequals()rather than the equality operator.- See Also:
- Serialized Form
-
-
Field Summary
Modifier and Type Field Description static XPRSenumerations.MultiObjOpsENABLEDstatic XPRSenumerations.MultiObjOpsNOSOLVEATTRIBSstatic XPRSenumerations.MultiObjOpsPRESOLVEstatic XPRSenumerations.MultiObjOpsRCFIXING
-
Constructor Summary
Constructor Description MultiObjOps(int val)
-
Method Summary
Modifier and Type Method Description XPRSenumerations.MultiObjOpsadd(XPRSenumerations.MultiObjOps... flags)Create a new instance that has all bits from this bit vector and those inflags.XPRSenumerations.MultiObjOpsclear(XPRSenumerations.MultiObjOps... flags)Create a new instance that has all bits from this bit vector without those inflags.intcompareTo(XPRSenumerations.MultiObjOps other)booleanequals(XPRSenumerations.MultiObjOps other)static XPRSenumerations.MultiObjOpsfromValue(int val)Get bit vector from numeric value,booleanhasFlag(int flags)Check whether this bitvector has the specified bits set.booleanhasFlag(XPRSenumerations.MultiObjOps... flags)Check whether this bitvector has the specified bits set.java.lang.StringtoString()static java.lang.StringtoString(int val)Get a string representation of the specified value.static XPRSenumerations.MultiObjOpsvalueOf(int bits)Create a new instance with the specified value.static XPRSenumerations.MultiObjOpsvalueOf(XPRSenumerations.MultiObjOps... bits)Create a new instance with the specified value.-
Methods inherited from class com.dashoptimization.XPRSenumerations.BitVector
byteValue, doubleValue, equals, floatValue, getValue, hashCode, intValue, longValue, shortValue
-
-
-
-
Field Detail
-
ENABLED
public static final XPRSenumerations.MultiObjOps ENABLED
-
PRESOLVE
public static final XPRSenumerations.MultiObjOps PRESOLVE
-
RCFIXING
public static final XPRSenumerations.MultiObjOps RCFIXING
-
NOSOLVEATTRIBS
public static final XPRSenumerations.MultiObjOps NOSOLVEATTRIBS
-
-
Method Detail
-
fromValue
public static XPRSenumerations.MultiObjOps fromValue(int val)
Get bit vector from numeric value,- Parameters:
-
val- The value to map. - Returns:
- The enumeration entry for <code>val</code>.
-
compareTo
public int compareTo(XPRSenumerations.MultiObjOps other)
- Specified by:
-
compareToin interfacejava.lang.Comparable<XPRSenumerations.MultiObjOps>
-
equals
public boolean equals(XPRSenumerations.MultiObjOps other)
-
toString
public java.lang.String toString()
- Overrides:
-
toStringin classjava.lang.Object
-
toString
public static java.lang.String toString(int val)
Get a string representation of the specified value.- Parameters:
-
val- The value for which to get a string representation - Returns:
-
A string representation for
val.
-
hasFlag
public boolean hasFlag(int flags)
Check whether this bitvector has the specified bits set.- Parameters:
-
flags- The flags to test. - Returns:
-
trueif all bits inflagsare also set in this bit vector.
-
hasFlag
public boolean hasFlag(XPRSenumerations.MultiObjOps... flags)
Check whether this bitvector has the specified bits set. Note that an empty list or a value of 0 will always match.- Parameters:
-
flags- The flags to test. - Returns:
-
trueif all bits inflagsare also set in this bit vector.
-
add
public XPRSenumerations.MultiObjOps add(XPRSenumerations.MultiObjOps... flags)
Create a new instance that has all bits from this bit vector and those inflags.- Parameters:
-
flags- The additional flags to set. - Returns:
-
A new instance that has all bits in
thisandflagsset.
-
clear
public XPRSenumerations.MultiObjOps clear(XPRSenumerations.MultiObjOps... flags)
Create a new instance that has all bits from this bit vector without those inflags.- Parameters:
-
flags- The flags to remove. - Returns:
-
A new instance that has all bits in
thiswithoutflagsset.
-
valueOf
public static XPRSenumerations.MultiObjOps valueOf(int bits)
Create a new instance with the specified value.- Parameters:
-
bits- The bits to be set in the new instance.
-
valueOf
public static XPRSenumerations.MultiObjOps valueOf(XPRSenumerations.MultiObjOps... bits)
Create a new instance with the specified value.- Parameters:
-
bits- The bits to be set in the new instance.
-
-
© 2001-2026 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.
