diff options
Diffstat (limited to 'src/library/scala/runtime/VolatileBooleanRef.java')
-rwxr-xr-x | src/library/scala/runtime/VolatileBooleanRef.java | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/library/scala/runtime/VolatileBooleanRef.java b/src/library/scala/runtime/VolatileBooleanRef.java new file mode 100755 index 0000000000..5cb308b0fd --- /dev/null +++ b/src/library/scala/runtime/VolatileBooleanRef.java @@ -0,0 +1,20 @@ +/* __ *\ +** ________ ___ / / ___ Scala API ** +** / __/ __// _ | / / / _ | (c) 2002-2010, LAMP/EPFL ** +** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** +** /____/\___/_/ |_/____/_/ | | ** +** |/ ** +\* */ + + + +package scala.runtime; + + +public class VolatileBooleanRef implements java.io.Serializable { + private static final long serialVersionUID = -5730524563015615974L; + + volatile public boolean elem; + public VolatileBooleanRef(boolean elem) { this.elem = elem; } + public String toString() { return "" + elem; } +} |