aima.basic
Class ObjectWithDynamicAttributes

java.lang.Object
  extended by aima.basic.ObjectWithDynamicAttributes
Direct Known Subclasses:
Agent, EnvironmentObject, Percept

public class ObjectWithDynamicAttributes
extends java.lang.Object


Constructor Summary
ObjectWithDynamicAttributes()
           
 
Method Summary
 java.lang.Object getAttribute(java.lang.Object key)
           
 java.util.Iterator<java.lang.Object> getSortedAttributeKeys()
           
 void removeAttribute(java.lang.Object key)
           
 void setAttribute(java.lang.Object key, java.lang.Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectWithDynamicAttributes

public ObjectWithDynamicAttributes()
Method Detail

setAttribute

public void setAttribute(java.lang.Object key,
                         java.lang.Object value)

getAttribute

public java.lang.Object getAttribute(java.lang.Object key)

removeAttribute

public void removeAttribute(java.lang.Object key)

getSortedAttributeKeys

public java.util.Iterator<java.lang.Object> getSortedAttributeKeys()