choco.kernel.memory
Interface IStateLong

All Known Implementing Classes:
RcLong, StoredLong

public interface IStateLong

Created by IntelliJ IDEA. User: julien Date: 12 juil. 2007 Time: 10:24:12


Field Summary
static long UNKNOWN_LONG
          Value for an unknown integer.
 
Method Summary
 long add(long delta)
          modifying a StoredInt by an increment
 long get()
          Returns the current value.
 IEnvironment getEnvironment()
          Retrieving the environment
 void set(long y)
          Modifies the value and stores if needed the former value on the trailing stack.
 

Field Detail

UNKNOWN_LONG

static final long UNKNOWN_LONG
Value for an unknown integer.

See Also:
Constant Field Values
Method Detail

get

long get()
Returns the current value.


set

void set(long y)
Modifies the value and stores if needed the former value on the trailing stack.


add

long add(long delta)
modifying a StoredInt by an increment

Parameters:
delta -
Returns:
updated value

getEnvironment

IEnvironment getEnvironment()
Retrieving the environment



Copyright © 2012. All Rights Reserved.