Class BooleanHolder


  • public class BooleanHolder
    extends Object
    This class is a simple wrapper around a boolean value. It can be used in lieu of the class org.omg.CORBA.BooleanHolder in order to avoid the dependency to the Java 10 module java.corba, which is deprecated since Java 9 and subject to removal in future versions.
    • Field Detail

      • value

        public boolean value
    • Constructor Detail

      • BooleanHolder

        public BooleanHolder()
        Instantiates an object of this class where the initial value is set to false.
      • BooleanHolder

        public BooleanHolder​(boolean value)
        Instantiates an object of this class.
        Parameters:
        value - The initial value.