/**
* Wrapper for an boolean value.
- *
+ *
* @author Kyle Galloway <kgallowa@redhat.com>
*/
public final class BooleanValue
/**
* Create a new BooleanValue from an boolean
- *
+ *
* @param value the boolean to wrap
*/
public BooleanValue(boolean value)
super(JdwpConstants.Tag.BOOLEAN);
_value = value;
}
-
+
/**
* Get the value held in this Value
- *
+ *
* @return the value represented by this Value object
*/
public boolean getValue()
{
return _value;
}
-
+
/**
* Return an object representing this type
- *
+ *
* @return an Object represntation of this value
*/
@Override
/**
* Write the wrapped boolean to the given DataOutputStream.
- *
+ *
* @param os the output stream to write to
*/
@Override
os.writeBoolean(_value);
}
}
-