com.sybase.persistence
Class TestCriteriaList

java.lang.Object
  extended by com.sybase.persistence.TestCriteriaList

public class TestCriteriaList
extends java.lang.Object


Constructor Summary
TestCriteriaList()
          Create a TestCriteriaList
TestCriteriaList(int capacity)
          Sybase internal use only.
 
Method Summary
 TestCriteriaList _add(TestCriteria item)
          Sybase internal use only.
 boolean contains(TestCriteria x)
          Checks if this list contains the given TestCriteria.
 TestCriteria get(int index)
          Sybase internal use only.
 TestCriteria getByIndex(int index)
          Gets a TestCriteria by index.
 int indexOf(TestCriteria x)
          Determines the index of the specified TestCriteria.
 boolean isEmpty()
          Sybase internal use only.
 TestCriteria item(int index)
          Return the item at given index
 TestCriteriaList items(int skip, int take)
          Return the items from skip to skip+take.
 int size()
          Gets the number of TestCriteria objects in this list.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestCriteriaList

public TestCriteriaList()
Create a TestCriteriaList


TestCriteriaList

public TestCriteriaList(int capacity)
Sybase internal use only.

Method Detail

isEmpty

public boolean isEmpty()
Sybase internal use only.


get

public TestCriteria get(int index)
Sybase internal use only.


getByIndex

public TestCriteria getByIndex(int index)
Gets a TestCriteria by index.

Parameters:
index - The zero-based index of the TestCriteria to find.
Returns:
Returns TestCriteria.

contains

public boolean contains(TestCriteria x)
Checks if this list contains the given TestCriteria.

Parameters:
x - The TestCriteria to check.
Returns:
Returns true if x is found; otherwise, false.

indexOf

public int indexOf(TestCriteria x)
Determines the index of the specified TestCriteria.

Parameters:
x - The TestCriteria to find.
Returns:
Returns the index of x if found; otherwise, -1.

size

public int size()
Gets the number of TestCriteria objects in this list.

Returns:

_add

public TestCriteriaList _add(TestCriteria item)
Sybase internal use only.


item

public TestCriteria item(int index)
Return the item at given index

Parameters:
index - the relative position.

items

public TestCriteriaList items(int skip,
                              int take)
Return the items from skip to skip+take.

Parameters:
skip - Skip first N items
take - Take at most N items.