Package com.yahoo.lang
Class MutableBoolean
- java.lang.Object
-
- com.yahoo.lang.MutableBoolean
-
public class MutableBoolean extends java.lang.Object
A mutable boolean- Author:
- bratseth
-
-
Constructor Summary
Constructors Constructor Description MutableBoolean(boolean value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
andSet(boolean value)
boolean
get()
boolean
getAndSet(boolean newValue)
void
orSet(boolean value)
void
set(boolean value)
java.lang.String
toString()
-
-
-
Method Detail
-
get
public boolean get()
-
set
public void set(boolean value)
-
andSet
public void andSet(boolean value)
-
orSet
public void orSet(boolean value)
-
getAndSet
public boolean getAndSet(boolean newValue)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-