Bees v0.5.0 API

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.
 
Method Summary
 java.lang.Object clone()
           
 boolean equals(java.lang.Object obj)
           
 java.lang.String getString()
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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.
Method Detail

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

Bees v0.5.0 API

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/