I
- intermediate result typepublic static class PerceptionCollectable.Intermediate<I> extends Object
Copyright (c) 2013-2018 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
Constructor and Description |
---|
Intermediate(I object)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
getNumber()
Returns the number of the underlying object currently being accumulated, starts at 0 for the first.
|
I |
getObject()
Get intermediate object.
|
boolean |
isStop()
Method for the iterator to check if it can stop.
|
void |
setObject(I object)
Set intermediate object.
|
void |
step()
Method for the iterator the increase the underlying object number.
|
void |
stop()
Method for the accumulator to indicate the iterator can stop.
|
public Intermediate(I object)
object
- I; identity valuepublic I getObject()
public void setObject(I object)
object
- I; intermediate objectpublic int getNumber()
public void step()
public void stop()
public boolean isStop()
Copyright © 2014–2018 Delft University of Technology. All rights reserved.