This is the mail archive of the mauve-discuss@sourceware.cygnus.com mailing list for the Mauve project. See the Mauve home page for more information.


[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index] [Subject Index] [Author Index] [Thread Index]

where is Boolean.hashCode documented?




Where is the return value of Boolean.hashCode specified?

	- Godmar

package gnu.testlet.java.lang.Boolean;
import gnu.testlet.Testlet;
import gnu.testlet.TestHarness;

public class hashcode_Boolean implements Testlet
{
  public void test (TestHarness harness)
    {
      Boolean a = new Boolean("true");
      Boolean b = new Boolean("false");

      harness.check (a.hashCode(), 1231);
      harness.check (b.hashCode(), 1237);
    }
}