com.hazelcast.util
Class MutableLong

java.lang.Object
  extended by com.hazelcast.util.MutableLong

public class MutableLong
extends Object

Mutable long which can be used for counting purposes.

This class is not thread-safe.


Field Summary
 long value
           
 
Constructor Summary
MutableLong()
           
 
Method Summary
 boolean equals(Object o)
           
 int hashCode()
           
 String toString()
           
static MutableLong valueOf(long value)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

value

public long value
Constructor Detail

MutableLong

public MutableLong()
Method Detail

valueOf

public static MutableLong valueOf(long value)

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.