J.Concurrent.Counter

object Counter extends Ref.Custom.Type[Counter, AtomicLong]
class Ref.Custom.Type[Counter, AtomicLong]
class Object
trait Matchable
class Any

Def

def apply(initValue: Long): Counter
inline def get: Int
inline def getLong: Long
inline def next: Int
inline def nextLong: Long

Inherited

def info(v: Counter): Info

Type to Info

Type to Info

Override this method to provide type standard Info implementation

Inherited from
Type
Source
Type.scala
final def isRef: Boolean
Inherited from
Type
Source
Type.scala
def isVoid(v: Counter): Boolean

Void check

Void check

Override this method to define which instances of this type are void

By default this method always returns false

If type supports void instances, then following inmpelentation should be added in most cases:

 implicit inline def xxRequest(inline v: \/) : <type> = <return void>
Inherited from
Type
Source
Type.scala
val name: String
Inherited from
Type
Source
Type.scala
inline def real: AtomicLong
Inherited from
Type
Source
Type.scala
def tag(v: Counter): String

Type to String

Type to String

Override this method to provide type standard convertion to String

Inherited from
Type
Source
Type.scala