Home Products Download Order Contacts

comp.graphics.algorithms

Subject: Hashset problem in Java



Hello,

In Java Language.

I have a hashSet collection.
which the elements are nodes of any generic type (Object)
(node is a simple object class, that can have return any string).

I need to overwrite the hashcode of node class, and also the equals (for the
hashSet collection).

public class Node
{
private Object myNode;

Reply


View All Messages in comp.graphics.algorithms

path:


Replies:
Re: Hashset problem in Java

Copyright 2006 WatermarkFactory.com. All Rights Reserved.