com.ibm.uddi.datatypes
Class ResultList

java.lang.Object
  |
  +--com.ibm.uddi.datatypes.ResultList
All Implemented Interfaces:
java.io.Serializable

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

Corresponds to UDDI v2.0 sequence of 'result' elements. Encapsulates a Vector of Result objects.

See Also:
Serialized Form

Field Summary
static java.lang.String java_copyright
           
 
Constructor Summary
ResultList()
          Constructs a new, empty ResultList.
ResultList(int initialSize)
          Constructs a new, empty ResultList, with the initial capacity specified.
 
Method Summary
 void add(Result result)
          Adds a Result to the ResultList.
 Result get(int index)
          Returns the Result at the specified index.
 int size()
          Returns the number of Result objects in the ResultList.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

java_copyright

public static final java.lang.String java_copyright
Constructor Detail

ResultList

public ResultList()
Constructs a new, empty ResultList.

ResultList

public ResultList(int initialSize)
Constructs a new, empty ResultList, with the initial capacity specified.
Parameters:
initialSize - the initial capacity of the ResultList.
Method Detail

add

public void add(Result result)
Adds a Result to the ResultList.
Parameters:
result - the Result to be added.

get

public Result get(int index)
Returns the Result at the specified index.
Parameters:
int - the index of the Result to be retrieved.
Returns:
the Result at the specified index.

size

public int size()
Returns the number of Result objects in the ResultList.
Returns:
the number of Result objects in the ResultList.