Counter

scalation.Counter
class Counter(value_: Int)

The Counter class supports the creation of counters.

Value parameters

value_

the initial value for the counter

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def dec(): Int
def get: Int
def inc(): Int
def reset(value_: Int): Unit
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any