public class ServiceMatches extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
ServiceItem[] |
items
Matching items (up to maxMatches from lookup method).
|
int |
totalMatches
Total number of matching items.
|
Constructor and Description |
---|
ServiceMatches(AtomicSerial.GetArg arg)
AtomicSerial convenience constructor. |
ServiceMatches(ServiceItem[] items,
int totalMatches)
Simple constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
toString()
Returns a
String representation of this
ServiceMatches . |
public final ServiceItem[] items
public final int totalMatches
public ServiceMatches(AtomicSerial.GetArg arg) throws IOException
AtomicSerial
convenience constructor.
Since this class is mutable it should be cloned during deserialization.arg
- IOException
public ServiceMatches(ServiceItem[] items, int totalMatches)
items
- matching itemstotalMatches
- total number of matching itemsCopyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.