org.hsqldb.lib
Interface Set

All Superinterfaces:
Collection
All Known Implementing Classes:
HashSet

public interface Set
extends Collection

Since:
1.7.2
Version:
1.7.2
Author:
fredt@users

Method Summary
 boolean add(Object o)
           
 void clear()
           
 boolean contains(Object o)
           
 boolean equals(Object o)
           
 Object get(Object o)
          This method returns the Object that is already in the set and is equal to the argument o.
 int hashCode()
           
 boolean isEmpty()
           
 Iterator iterator()
           
 boolean remove(Object o)
           
 int size()
           
 

Method Detail

size

public int size()
Specified by:
size in interface Collection

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface Collection

contains

public boolean contains(Object o)
Specified by:
contains in interface Collection

iterator

public Iterator iterator()
Specified by:
iterator in interface Collection

add

public boolean add(Object o)
Specified by:
add in interface Collection

get

public Object get(Object o)
This method returns the Object that is already in the set and is equal to the argument o.


remove

public boolean remove(Object o)
Specified by:
remove in interface Collection

clear

public void clear()
Specified by:
clear in interface Collection

equals

public boolean equals(Object o)

hashCode

public int hashCode()
Specified by:
hashCode in interface Collection


Copyright © 2001 - 2004 HSQL Development Group. All Rights Reserved.