bees.core.kernel
Class KernelString
java.lang.Object
|
+--bees.core.kernel.KernelString
- All Implemented Interfaces:
- java.lang.Cloneable
- public final class KernelString
- extends java.lang.Object
- implements java.lang.Cloneable
Simple class for representing bounded strings in the kernel.
Constructor Summary |
KernelString(java.lang.String str)
Construct a KernelString with the given value. |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
KernelString
public KernelString(java.lang.String str)
- Construct a KernelString with the given value.
- Parameters:
str
- The string to be transferred through/held in the kernel.
getString
public java.lang.String getString()
- Returns:
- The string.
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
clone
public java.lang.Object clone()
- Overrides:
clone
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
This documentation is Copyright (C) 2002 The University of Utah. All Rights Reserved. See the individual source files for distribution terms.
Documentation, software, and mailing lists for Bees v0.5.0 can be found at the Janos Project: http://www.cs.utah.edu/flux/janos/