class Pointer extends Object
 Copyright (c) 2019-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. 
 BSD-style license. See OpenTrafficSim License.
 
| Constructor and Description | 
|---|
Pointer()
Construct a new Pointer with offset 0. 
 | 
Pointer(int initialOffset)
Construct a new Pointer with specified initial offset. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
(package private) int | 
get()
Retrieve the offset. 
 | 
(package private) int | 
getAndIncrement(int increment)
Retrieve the current value of offset and increment it. 
 | 
void | 
inc(int increment)
Increment the offset. 
 | 
String | 
toString() | 
Pointer(int initialOffset)
initialOffset - int; the initial offsetPointer()
int get()
int getAndIncrement(int increment)
increment - int; the amount by which the offset must be incrementedpublic void inc(int increment)
increment - int; the amount by which the offset must be incrementedCopyright © 2018–2019 Delft University of Technology. All rights reserved.