org.jactr.core.slot
Class DefaultMutableSlot
java.lang.Object
org.jactr.core.slot.BasicSlot
org.jactr.core.slot.DefaultMutableSlot
- All Implemented Interfaces:
- java.lang.Cloneable, java.lang.Comparable<ISlot>, IMutableSlot, ISlot
- Direct Known Subclasses:
- ChunkSlot, ChunkTypeSlot, DefaultConditionalSlot
public class DefaultMutableSlot
- extends BasicSlot
- implements IMutableSlot
- Author:
- harrison TODO To change the template for this generated type comment
go to Window - Preferences - Java - Code Style - Code Templates
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
DefaultMutableSlot
public DefaultMutableSlot(java.lang.String name,
java.lang.Object value)
- Parameters:
name - value -
DefaultMutableSlot
public DefaultMutableSlot(java.lang.String name)
DefaultMutableSlot
public DefaultMutableSlot(ISlot slot)
clone
public DefaultMutableSlot clone()
- Overrides:
clone in class BasicSlot
- See Also:
org.jactr.core.utils.Duplicateable#duplicate()
setValue
public void setValue(java.lang.Object value)
- Specified by:
setValue in interface IMutableSlot
- See Also:
IMutableSlot.setValue(java.lang.Object)
hashCode
public int hashCode()
- value is intentionally excluded since we dont want the hash to change..
- Overrides:
hashCode in class BasicSlot
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals in class BasicSlot