Class MAPSupportedCamelPhases

    • Constructor Detail

      • MAPSupportedCamelPhases

        public MAPSupportedCamelPhases()
        Constructs an object that has no bits set.
      • MAPSupportedCamelPhases

        public MAPSupportedCamelPhases​(int nbits)
        Constructs an object that has no bits set, initialised to accommodate the given number of bits.
        Parameters:
        nbits - initial number of bits
    • Method Detail

      • copyOf

        public static MAPSupportedCamelPhases copyOf​(BitString from)
        Creates a new object of this type, cloning the values of common fields from the given object of any subclass of the same base type.
        Parameters:
        from - the object from which to copy
        Returns:
        MAPSupportedCamelPhases
      • getPhase1

        public boolean getPhase1()
        Gets whether the bit for phase1 is set or not.
        Returns:
        the named bit's value
      • getPhase2

        public boolean getPhase2()
        Gets whether the bit for phase2 is set or not.
        Returns:
        the named bit's value
      • getPhase3

        public boolean getPhase3()
        Gets whether the bit for phase3 is set or not.
        Returns:
        the named bit's value
      • getPhase4

        public boolean getPhase4()
        Gets whether the bit for phase4 is set or not.
        Returns:
        the named bit's value
      • staticGetNamedBits

        public static BitStringWithNamedBits.NamedBit[] staticGetNamedBits()
        Gets the names of all bits of this type (not just the bits set in this value).
        Returns:
        array of NamedBit