Class BooleanHolder

  • All Implemented Interfaces:
    Holder

    public final class BooleanHolder
    extends java.lang.Object
    implements Holder
    Holder for booleans.
    Version:
    1.0
    • Field Summary

      Fields 
      Modifier and Type Field Description
      boolean value
      The boolean contained by this holder.
    • Constructor Summary

      Constructors 
      Constructor Description
      BooleanHolder()
      Make a new BooleanHolder with a null value.
      BooleanHolder​(boolean value)
      Make a new BooleanHolder with value as the value.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • value

        public boolean value
        The boolean contained by this holder.
    • Constructor Detail

      • BooleanHolder

        public BooleanHolder()
        Make a new BooleanHolder with a null value.
      • BooleanHolder

        public BooleanHolder​(boolean value)
        Make a new BooleanHolder with value as the value.
        Parameters:
        value - the boolean to hold