org.jactr.tools.misc
Class ChunkUtilities
java.lang.Object
org.jactr.tools.misc.ChunkUtilities
public class ChunkUtilities
- extends java.lang.Object
safe way to manipulate the source chunk of a buffer. This will be executed
via ExecutionUtilities so that the changes occur on the model thread
either before or after the normal production cycle sequence.
- Author:
- harrison
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ChunkUtilities
public ChunkUtilities()
manipulateChunkNow
public static java.util.concurrent.Future<java.lang.Boolean> manipulateChunkNow(org.jactr.core.buffer.IActivationBuffer buffer,
ChunkUtilities.IChunkModifier modifier)
- manipulate using
ExecutionUtilities.executeNow(org.jactr.core.model.IModel, Runnable)
- Parameters:
buffer - modifier -
- Returns:
manipulateChunkLater
public static java.util.concurrent.Future<java.lang.Boolean> manipulateChunkLater(org.jactr.core.buffer.IActivationBuffer buffer,
ChunkUtilities.IChunkModifier modifier)
- modify using
ExecutionUtilities.executeLater(org.jactr.core.model.IModel, Runnable)
- Parameters:
buffer - modifier -
- Returns: