net.jini.core.lookup
Class ServiceMatches

java.lang.Object
  |
  +--net.jini.core.lookup.ServiceMatches

public class ServiceMatches
extends java.lang.Object
implements java.io.Serializable

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

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


Copyright © 1999 Sun Microsystems, Inc. All rights reserved