: Interface Set

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## weiss.util
Interface Set

All Superinterfaces:
  Collection, java.io.Serializable

All Known Subinterfaces:
  SortedSet

All Known Implementing Classes:
  HashSet

public interface Set
extends Collection

Set interface.

Method Summary
`java.lang.Object` | `getMatch(java.lang.Object x)` This method is not part of standard Java 1.2.

Methods inherited from interface weiss.util.Collection
`add, clear, contains, isEmpty, iterator, remove, size, toArray`

Method Detail

### getMatch

    public java.lang.Object getMatch(java.lang.Object x)

  This method is not part of standard Java 1.2. Like contains, it checks if x is in the set. If it is, it returns the reference to the matching object; otherwise it returns null.
  Parameters:
    `x` - the object to search for.
  Returns:
    if contains(x) is false, the return value is null; otherwise, the return value is the object that causes contains(x) to return true.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD