Skip navigation links
A C D E F H I M S T U 

A

add(Key) - Method in class SET
Adds the key to this set (if it is not already present).

C

ceiling(Key) - Method in class SET
Returns the smallest key in this set greater than or equal to key.
contains(Key) - Method in class SET
Returns true if this set contains the given key.

D

delete(Key) - Method in class SET
Removes the specified key from this set (if the set contains the specified key).

E

equals(Object) - Method in class SET
Compares this set to the specified set.

F

floor(Key) - Method in class SET
Returns the largest key in this set less than or equal to key.

H

hashCode() - Method in class SET
This operation is not supported because sets are mutable.

I

intersects(SET<Key>) - Method in class SET
Returns the intersection of this set and that set.
isEmpty() - Method in class SET
Returns true if this set is empty.
iterator() - Method in class SET
Returns all of the keys in this set, as an iterator.

M

main(String[]) - Static method in class SET
Unit tests the SET data type.
max() - Method in class SET
Returns the largest key in this set.
min() - Method in class SET
Returns the smallest key in this set.

S

SET<Key extends java.lang.Comparable<Key>> - Class in <Unnamed>
The SET class represents an ordered set of comparable keys.
SET() - Constructor for class SET
Initializes an empty set.
SET(SET<Key>) - Constructor for class SET
Initializes a new set that is an independent copy of the specified set.
size() - Method in class SET
Returns the number of keys in this set.

T

toString() - Method in class SET
Returns a string representation of this set.

U

union(SET<Key>) - Method in class SET
Returns the union of this set and that set.
A C D E F H I M S T U 
Skip navigation links