Initializing help system before first use

XPRSenumerations.RefineOps

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<XPRSenumerations.RefineOps>
    Enclosing interface:
    XPRSenumerations

    public static final class XPRSenumerations.RefineOps
    extends XPRSenumerations.BitVector
    implements java.lang.Comparable<XPRSenumerations.RefineOps>
    A bitvector of 'REFINEOPS'. 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 using equals() rather than the equality operator.
    See Also:
    Serialized Form
    • Constructor Detail

      • RefineOps

        public RefineOps​(int val)
    • Method Detail

      • fromValue

        public static XPRSenumerations.RefineOps fromValue​(int val)
        Get bit vector from numeric value,
        Parameters:
        val - The value to map.
        Returns:
        The enumeration entry for <code>val</code>.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class  java.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:
        true if all bits in flags are also set in this bit vector.
      • hasFlag

        public boolean hasFlag​(XPRSenumerations.RefineOps... 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:
        true if all bits in flags are also set in this bit vector.
      • add

        public XPRSenumerations.RefineOps add​(XPRSenumerations.RefineOps... flags)
        Create a new instance that has all bits from this bit vector and those in flags.
        Parameters:
        flags - The additional flags to set.
        Returns:
        A new instance that has all bits in this and flags set.
      • clear

        public XPRSenumerations.RefineOps clear​(XPRSenumerations.RefineOps... flags)
        Create a new instance that has all bits from this bit vector without those in flags.
        Parameters:
        flags - The flags to remove.
        Returns:
        A new instance that has all bits in this without flags set.
      • valueOf

        public static XPRSenumerations.RefineOps valueOf​(int 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.