public interface Memory
MemoryObject
,
MemoryContainer
Modifier and Type | Method and Description |
---|---|
void |
addMemoryObserver(MemoryObserver memoryObserver)
Add a memory observer to its list
|
java.lang.Double |
getEvaluation()
Gets the evaluation of this memory.
|
java.lang.Object |
getI()
Gets the info inside this memory.
|
java.lang.String |
getName()
Gets the type of this memory.
|
java.lang.Long |
getTimestamp()
Gets the timestamp of this Memory.
|
void |
setEvaluation(java.lang.Double eval)
Sets the evaluation of this memory.
|
int |
setI(java.lang.Object info)
Sets the info inside this Memory.
|
void |
setName(java.lang.String name)
Sets the type of this memory.
|
void |
setType(java.lang.String type)
Deprecated.
|
java.lang.Object getI()
int setI(java.lang.Object info)
info
- the updated info to set in memory.java.lang.Double getEvaluation()
java.lang.String getName()
@Deprecated void setType(java.lang.String type)
type
- the value to be set as type.void setName(java.lang.String name)
name
- the value to be set as name.void setEvaluation(java.lang.Double eval)
eval
- the value to be set as evaluation.java.lang.Long getTimestamp()
void addMemoryObserver(MemoryObserver memoryObserver)
memoryObserver
- MemoryObserver to be added