|
Groovy Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectjava.util.AbstractCollection
java.util.AbstractList
java.util.ArrayList
org.jdesktop.swingx.ws.yahoo.search.ResultsArrayList
public class ResultsArrayList extends ArrayList
A basic implementation of ResultsList based on ArrayList. This object contains
a constructor in which the totalResultsAvailable, firstResultPosition,
and YahooSearch must be specified. These are immutable properties.
| Field Summary | |
|---|---|
private int |
firstResultPosition
|
private YahooSearch |
search
|
private int |
totalResultsAvailable
|
| Constructor Summary | |
ResultsArrayList(YahooSearch search, int totalResultsAvailable, int firstResultPosition)
Creates a new instance of ResultsArrayList |
|
| Method Summary | |
|---|---|
int
|
getFirstResultPosition()
@inheritDoc |
int
|
getTotalResultsAvailable()
@inheritDoc |
YahooSearch
|
getYahooSearch()
@inheritDoc |
| Methods inherited from class ArrayList | |
|---|---|
| add, add, get, clone, indexOf, clear, isEmpty, lastIndexOf, contains, addAll, addAll, size, toArray, toArray, remove, remove, set, ensureCapacity, trimToSize, equals, hashCode, iterator, listIterator, listIterator, subList, toString, removeAll, containsAll, retainAll, wait, wait, wait, getClass, notify, notifyAll |
| Methods inherited from class AbstractList | |
|---|---|
| add, add, get, equals, hashCode, indexOf, clear, lastIndexOf, addAll, iterator, remove, set, listIterator, listIterator, subList, toString, isEmpty, contains, addAll, size, toArray, toArray, remove, removeAll, containsAll, retainAll, wait, wait, wait, getClass, notify, notifyAll, size |
| Field Detail |
|---|
private int firstResultPosition
private YahooSearch search
private int totalResultsAvailable
| Constructor Detail |
|---|
public ResultsArrayList(YahooSearch search, int totalResultsAvailable, int firstResultPosition)
| Method Detail |
|---|
public int getFirstResultPosition()
public int getTotalResultsAvailable()
public YahooSearch getYahooSearch()
Groovy Documentation