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

## net.jini.core.lookup
Class ServiceMatches

    java.lang.Object
      net.jini.core.lookup.ServiceMatches

All Implemented Interfaces:
  Serializable

public class ServiceMatches
extends Object
implements Serializable

An instance of this class is used for the return value when looking up multiple items in the lookup service.

Since:
  1.0
See Also:
  Serialized Form

Field Summary
`ServiceItem[]` | `items` Matching items (up to maxMatches from lookup method).
`int` | `totalMatches` Total number of matching items.

Constructor Summary
`ServiceMatches(ServiceItem[] items, int totalMatches)` Simple constructor.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### items

    public ServiceItem[] items

  Matching items (up to maxMatches from lookup method).

### totalMatches

    public int totalMatches

  Total number of matching items.

Constructor Detail

### ServiceMatches

    public ServiceMatches(ServiceItem[] items,
                          int totalMatches)

  Simple constructor.

Parameters:
  `items` - matching items
  `totalMatches` - total number of matching items

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

Copyright © 2004 Sun Microsystems, Inc. All rights reserved