Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
/** @constructor */
ScalaJS.c.monifu_concurrent_atomic_AtomicNumberAny = (function() {
  ScalaJS.c.java_lang_Object.call(this);
  this.ev$1 = null;
  this.ref$1 = null
});
ScalaJS.c.monifu_concurrent_atomic_AtomicNumberAny.prototype = new ScalaJS.inheritable.java_lang_Object();
ScalaJS.c.monifu_concurrent_atomic_AtomicNumberAny.prototype.constructor = ScalaJS.c.monifu_concurrent_atomic_AtomicNumberAny;
ScalaJS.c.monifu_concurrent_atomic_AtomicNumberAny.prototype.apply__O = (function() {
  return ScalaJS.impls.monifu_concurrent_atomic_Atomic$class__apply__Lmonifu_concurrent_atomic_Atomic__O(this)
});
ScalaJS.c.monifu_concurrent_atomic_AtomicNumberAny.prototype.update__O__V = (function(value) {
  ScalaJS.impls.monifu_concurrent_atomic_Atomic$class__update__Lmonifu_concurrent_atomic_Atomic__O__V(this, value)
});
ScalaJS.c.monifu_concurrent_atomic_AtomicNumberAny.prototype.$$colon$eq__O__V = (function(value) {
  ScalaJS.impls.monifu_concurrent_atomic_Atomic$class__$colon$eq__Lmonifu_concurrent_atomic_Atomic__O__V(this, value)
});
ScalaJS.c.monifu_concurrent_atomic_AtomicNumberAny.prototype.getAndSet__O__O = (function(update) {
  var current = this.ref$1;
  this.ref$1 = update;
  return current
});
ScalaJS.c.monifu_concurrent_atomic_AtomicNumberAny.prototype.compareAndSet__O__O__Z = (function(expect, update) {
  if (ScalaJS.anyEqEq(this.ref$1, expect)) {
    this.ref$1 = update;
    return true
  } else {
    return false
  }
});
ScalaJS.c.monifu_concurrent_atomic_AtomicNumberAny.prototype.set__O__V = (function(update) {
  this.ref$1 = update
});
ScalaJS.c.monifu_concurrent_atomic_AtomicNumberAny.prototype.get__O = (function() {
  return this.ref$1
});
ScalaJS.c.monifu_concurrent_atomic_AtomicNumberAny.prototype.transformAndExtract__Lscala_Function1__O = (function(cb) {
  var x1 = ScalaJS.as.scala_Tuple2(cb.apply__O__O(this.ref$1));
  matchEnd3: {
    if ((x1 !== null)) {
      var update = x1.$$und1__O();
      var r = x1.$$und2__O();
      var x$1 = new ScalaJS.c.scala_Tuple2().init___O__O(update, r);
      break matchEnd3
    };
    throw new ScalaJS.c.scala_MatchError().init___O(x1)
  };
  var update$2 = x$1.$$und1__O();
  var r$2 = x$1.$$und2__O();
  this.ref$1 = update$2;
  return r$2
});
ScalaJS.c.monifu_concurrent_atomic_AtomicNumberAny.prototype.transformAndGet__Lscala_Function1__O = (function(cb) {
  var update = cb.apply__O__O(this.ref$1);
  this.ref$1 = update;
  return update
});
ScalaJS.c.monifu_concurrent_atomic_AtomicNumberAny.prototype.getAndTransform__Lscala_Function1__O = (function(cb) {
  var current = this.ref$1;
  this.ref$1 = cb.apply__O__O(this.ref$1);
  return current
});
ScalaJS.c.monifu_concurrent_atomic_AtomicNumberAny.prototype.transform__Lscala_Function1__V = (function(cb) {
  this.ref$1 = cb.apply__O__O(this.ref$1)
});
ScalaJS.c.monifu_concurrent_atomic_AtomicNumberAny.prototype.getAndSubtract__O__O = (function(v) {
  var c = this.ref$1;
  this.ref$1 = this.ev$1.minus__O__O__O(this.ref$1, v);
  return c
});
ScalaJS.c.monifu_concurrent_atomic_AtomicNumberAny.prototype.subtractAndGet__O__O = (function(v) {
  this.ref$1 = this.ev$1.minus__O__O__O(this.ref$1, v);
  return this.ref$1
});
ScalaJS.c.monifu_concurrent_atomic_AtomicNumberAny.prototype.subtract__O__V = (function(v) {
  this.ref$1 = this.ev$1.minus__O__O__O(this.ref$1, v)
});
ScalaJS.c.monifu_concurrent_atomic_AtomicNumberAny.prototype.getAndAdd__O__O = (function(v) {
  var c = this.ref$1;
  this.ref$1 = this.ev$1.plus__O__O__O(this.ref$1, v);
  return c
});
ScalaJS.c.monifu_concurrent_atomic_AtomicNumberAny.prototype.getAndIncrement__I__O = (function(v) {
  var c = this.ref$1;
  this.ref$1 = this.ev$1.plus__O__O__O(this.ref$1, this.ev$1.fromInt__I__O(v));
  return c
});
ScalaJS.c.monifu_concurrent_atomic_AtomicNumberAny.prototype.addAndGet__O__O = (function(v) {
  return this.incrementAndGet__O()
});
ScalaJS.c.monifu_concurrent_atomic_AtomicNumberAny.prototype.incrementAndGet__I__O = (function(v) {
  this.ref$1 = this.ev$1.plus__O__O__O(this.ref$1, this.ev$1.fromInt__I__O(v));
  return this.ref$1
});
ScalaJS.c.monifu_concurrent_atomic_AtomicNumberAny.prototype.add__O__V = (function(v) {
  this.ref$1 = this.ev$1.plus__O__O__O(this.ref$1, v)
});
ScalaJS.c.monifu_concurrent_atomic_AtomicNumberAny.prototype.increment__I__V = (function(v) {
  this.ref$1 = this.ev$1.plus__O__O__O(this.ref$1, this.ev$1.fromInt__I__O(v))
});
ScalaJS.c.monifu_concurrent_atomic_AtomicNumberAny.prototype.increment__V = (function() {
  this.increment__I__V(1)
});
ScalaJS.c.monifu_concurrent_atomic_AtomicNumberAny.prototype.decrement__I__V = (function(v) {
  this.increment__I__V((-v))
});
ScalaJS.c.monifu_concurrent_atomic_AtomicNumberAny.prototype.decrement__V = (function() {
  this.increment__I__V(-1)
});
ScalaJS.c.monifu_concurrent_atomic_AtomicNumberAny.prototype.incrementAndGet__O = (function() {
  return this.incrementAndGet__I__O(1)
});
ScalaJS.c.monifu_concurrent_atomic_AtomicNumberAny.prototype.decrementAndGet__I__O = (function(v) {
  return this.incrementAndGet__I__O((-v))
});
ScalaJS.c.monifu_concurrent_atomic_AtomicNumberAny.prototype.decrementAndGet__O = (function() {
  return this.incrementAndGet__I__O(-1)
});
ScalaJS.c.monifu_concurrent_atomic_AtomicNumberAny.prototype.getAndIncrement__O = (function() {
  return this.getAndIncrement__I__O(1)
});
ScalaJS.c.monifu_concurrent_atomic_AtomicNumberAny.prototype.getAndDecrement__O = (function() {
  return this.getAndIncrement__I__O(-1)
});
ScalaJS.c.monifu_concurrent_atomic_AtomicNumberAny.prototype.getAndDecrement__I__O = (function(v) {
  return this.getAndIncrement__I__O((-v))
});
ScalaJS.c.monifu_concurrent_atomic_AtomicNumberAny.prototype.$$plus$eq__O__V = (function(v) {
  this.addAndGet__O__O(v)
});
ScalaJS.c.monifu_concurrent_atomic_AtomicNumberAny.prototype.$$minus$eq__O__V = (function(v) {
  this.subtractAndGet__O__O(v)
});
ScalaJS.c.monifu_concurrent_atomic_AtomicNumberAny.prototype.init___O__Lscala_math_Numeric = (function(initialValue, evidence$1) {
  ScalaJS.c.java_lang_Object.prototype.init___.call(this);
  ScalaJS.impls.monifu_concurrent_atomic_Atomic$class__$init$__Lmonifu_concurrent_atomic_Atomic__V(this);
  this.ev$1 = ScalaJS.as.scala_math_Numeric(ScalaJS.modules.scala_Predef().implicitly__O__O(evidence$1));
  this.ref$1 = initialValue;
  return this
});
ScalaJS.c.monifu_concurrent_atomic_AtomicNumberAny.prototype.$$colon$eq__O__ = (function(value) {
  return ScalaJS.bV(this.$$colon$eq__O__V(value))
});
ScalaJS.c.monifu_concurrent_atomic_AtomicNumberAny.prototype.update__O__ = (function(value$2) {
  return ScalaJS.bV(this.update__O__V(value$2))
});
ScalaJS.c.monifu_concurrent_atomic_AtomicNumberAny.prototype.apply__ = (function() {
  return this.apply__O()
});
ScalaJS.c.monifu_concurrent_atomic_AtomicNumberAny.prototype.$$minus$eq__O__ = (function(v) {
  return ScalaJS.bV(this.$$minus$eq__O__V(v))
});
ScalaJS.c.monifu_concurrent_atomic_AtomicNumberAny.prototype.$$plus$eq__O__ = (function(v$2) {
  return ScalaJS.bV(this.$$plus$eq__O__V(v$2))
});
ScalaJS.c.monifu_concurrent_atomic_AtomicNumberAny.prototype.getAndDecrement__I__ = (function(v$3) {
  return this.getAndDecrement__I__O(v$3)
});
ScalaJS.c.monifu_concurrent_atomic_AtomicNumberAny.prototype.getAndDecrement__ = (function() {
  return this.getAndDecrement__O()
});
ScalaJS.c.monifu_concurrent_atomic_AtomicNumberAny.prototype.getAndIncrement__ = (function() {
  return this.getAndIncrement__O()
});
ScalaJS.c.monifu_concurrent_atomic_AtomicNumberAny.prototype.decrementAndGet__ = (function() {
  return this.decrementAndGet__O()
});
ScalaJS.c.monifu_concurrent_atomic_AtomicNumberAny.prototype.decrementAndGet__I__ = (function(v$4) {
  return this.decrementAndGet__I__O(v$4)
});
ScalaJS.c.monifu_concurrent_atomic_AtomicNumberAny.prototype.incrementAndGet__ = (function() {
  return this.incrementAndGet__O()
});
ScalaJS.c.monifu_concurrent_atomic_AtomicNumberAny.prototype.decrement__ = (function() {
  return ScalaJS.bV(this.decrement__V())
});
ScalaJS.c.monifu_concurrent_atomic_AtomicNumberAny.prototype.decrement__I__ = (function(v$5) {
  return ScalaJS.bV(this.decrement__I__V(v$5))
});
ScalaJS.c.monifu_concurrent_atomic_AtomicNumberAny.prototype.increment__ = (function() {
  return ScalaJS.bV(this.increment__V())
});
ScalaJS.c.monifu_concurrent_atomic_AtomicNumberAny.prototype.increment__I__ = (function(v$6) {
  return ScalaJS.bV(this.increment__I__V(v$6))
});
ScalaJS.c.monifu_concurrent_atomic_AtomicNumberAny.prototype.add__O__ = (function(v$7) {
  return ScalaJS.bV(this.add__O__V(v$7))
});
ScalaJS.c.monifu_concurrent_atomic_AtomicNumberAny.prototype.incrementAndGet__I__ = (function(v$8) {
  return this.incrementAndGet__I__O(v$8)
});
ScalaJS.c.monifu_concurrent_atomic_AtomicNumberAny.prototype.addAndGet__O__ = (function(v$9) {
  return this.addAndGet__O__O(v$9)
});
ScalaJS.c.monifu_concurrent_atomic_AtomicNumberAny.prototype.getAndIncrement__I__ = (function(v$10) {
  return this.getAndIncrement__I__O(v$10)
});
ScalaJS.c.monifu_concurrent_atomic_AtomicNumberAny.prototype.getAndAdd__O__ = (function(v$11) {
  return this.getAndAdd__O__O(v$11)
});
ScalaJS.c.monifu_concurrent_atomic_AtomicNumberAny.prototype.subtract__O__ = (function(v$12) {
  return ScalaJS.bV(this.subtract__O__V(v$12))
});
ScalaJS.c.monifu_concurrent_atomic_AtomicNumberAny.prototype.subtractAndGet__O__ = (function(v$13) {
  return this.subtractAndGet__O__O(v$13)
});
ScalaJS.c.monifu_concurrent_atomic_AtomicNumberAny.prototype.getAndSubtract__O__ = (function(v$14) {
  return this.getAndSubtract__O__O(v$14)
});
ScalaJS.c.monifu_concurrent_atomic_AtomicNumberAny.prototype.transform__Lscala_Function1__ = (function(cb) {
  return ScalaJS.bV(this.transform__Lscala_Function1__V(cb))
});
ScalaJS.c.monifu_concurrent_atomic_AtomicNumberAny.prototype.getAndTransform__Lscala_Function1__ = (function(cb$2) {
  return this.getAndTransform__Lscala_Function1__O(cb$2)
});
ScalaJS.c.monifu_concurrent_atomic_AtomicNumberAny.prototype.transformAndGet__Lscala_Function1__ = (function(cb$3) {
  return this.transformAndGet__Lscala_Function1__O(cb$3)
});
ScalaJS.c.monifu_concurrent_atomic_AtomicNumberAny.prototype.transformAndExtract__Lscala_Function1__ = (function(cb$4) {
  return this.transformAndExtract__Lscala_Function1__O(cb$4)
});
ScalaJS.c.monifu_concurrent_atomic_AtomicNumberAny.prototype.get__ = (function() {
  return this.get__O()
});
ScalaJS.c.monifu_concurrent_atomic_AtomicNumberAny.prototype.set__O__ = (function(update) {
  return ScalaJS.bV(this.set__O__V(update))
});
ScalaJS.c.monifu_concurrent_atomic_AtomicNumberAny.prototype.compareAndSet__O__O__ = (function(expect, update$2) {
  return ScalaJS.bZ(this.compareAndSet__O__O__Z(expect, update$2))
});
ScalaJS.c.monifu_concurrent_atomic_AtomicNumberAny.prototype.getAndSet__O__ = (function(update$3) {
  return this.getAndSet__O__O(update$3)
});
/** @constructor */
ScalaJS.inheritable.monifu_concurrent_atomic_AtomicNumberAny = (function() {
  /*<skip>*/
});
ScalaJS.inheritable.monifu_concurrent_atomic_AtomicNumberAny.prototype = ScalaJS.c.monifu_concurrent_atomic_AtomicNumberAny.prototype;
ScalaJS.is.monifu_concurrent_atomic_AtomicNumberAny = (function(obj) {
  return (!(!((obj && obj.$classData) && obj.$classData.ancestors.monifu_concurrent_atomic_AtomicNumberAny)))
});
ScalaJS.as.monifu_concurrent_atomic_AtomicNumberAny = (function(obj) {
  if ((ScalaJS.is.monifu_concurrent_atomic_AtomicNumberAny(obj) || (obj === null))) {
    return obj
  } else {
    ScalaJS.throwClassCastException(obj, "monifu.concurrent.atomic.AtomicNumberAny")
  }
});
ScalaJS.isArrayOf.monifu_concurrent_atomic_AtomicNumberAny = (function(obj, depth) {
  return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.monifu_concurrent_atomic_AtomicNumberAny)))
});
ScalaJS.asArrayOf.monifu_concurrent_atomic_AtomicNumberAny = (function(obj, depth) {
  if ((ScalaJS.isArrayOf.monifu_concurrent_atomic_AtomicNumberAny(obj, depth) || (obj === null))) {
    return obj
  } else {
    ScalaJS.throwArrayCastException(obj, "Lmonifu.concurrent.atomic.AtomicNumberAny;", depth)
  }
});
ScalaJS.data.monifu_concurrent_atomic_AtomicNumberAny = new ScalaJS.ClassTypeData({
  monifu_concurrent_atomic_AtomicNumberAny: 0
}, false, "monifu.concurrent.atomic.AtomicNumberAny", ScalaJS.data.java_lang_Object, {
  monifu_concurrent_atomic_AtomicNumberAny: 1,
  monifu_concurrent_atomic_AtomicNumber: 1,
  monifu_concurrent_atomic_Atomic: 1,
  java_lang_Object: 1
});
ScalaJS.c.monifu_concurrent_atomic_AtomicNumberAny.prototype.$classData = ScalaJS.data.monifu_concurrent_atomic_AtomicNumberAny;
//@ sourceMappingURL=AtomicNumberAny.js.map
New to GrepCode? Check out our FAQ X