org.sakaiproject.search.component.service.impl
Class SearchListImpl

java.lang.Object
  extended byorg.sakaiproject.search.component.service.impl.SearchListImpl
All Implemented Interfaces:
Collection, List, SearchList

public class SearchListImpl
extends Object
implements SearchList

Author:
ieb

Constructor Summary
SearchListImpl(org.apache.lucene.search.Hits h, org.apache.lucene.search.Query query, int start, int end)
           
 
Method Summary
 void add(int arg0, Object arg1)
           
 boolean add(Object arg0)
           
 boolean addAll(Collection arg0)
           
 boolean addAll(int arg0, Collection arg1)
           
 void clear()
           
 boolean contains(Object arg0)
           
 boolean containsAll(Collection arg0)
           
 Object get(int arg0)
           
 int getFullSize()
           
 int indexOf(Object arg0)
           
 boolean isEmpty()
           
 Iterator iterator()
           
 Iterator iterator(int startAt)
          get an Iterator starting at
 int lastIndexOf(Object arg0)
           
 ListIterator listIterator()
           
 ListIterator listIterator(int arg0)
           
 Object remove(int arg0)
           
 boolean remove(Object arg0)
           
 boolean removeAll(Collection arg0)
           
 boolean retainAll(Collection arg0)
           
 Object set(int arg0, Object arg1)
           
 int size()
           
 List subList(int arg0, int arg1)
           
 Object[] toArray()
           
 Object[] toArray(Object[] arg0)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.List
equals, hashCode
 

Constructor Detail

SearchListImpl

public SearchListImpl(org.apache.lucene.search.Hits h,
                      org.apache.lucene.search.Query query,
                      int start,
                      int end)
Method Detail

iterator

public Iterator iterator(int startAt)
Description copied from interface: SearchList
get an Iterator starting at

Specified by:
iterator in interface SearchList
Parameters:
startAt -
Returns:

size

public int size()
Specified by:
size in interface List

getFullSize

public int getFullSize()
Specified by:
getFullSize in interface SearchList
Returns:

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface List

contains

public boolean contains(Object arg0)
Specified by:
contains in interface List

iterator

public Iterator iterator()
Specified by:
iterator in interface List

toArray

public Object[] toArray()
Specified by:
toArray in interface List

toArray

public Object[] toArray(Object[] arg0)
Specified by:
toArray in interface List

add

public boolean add(Object arg0)
Specified by:
add in interface List

remove

public boolean remove(Object arg0)
Specified by:
remove in interface List

containsAll

public boolean containsAll(Collection arg0)
Specified by:
containsAll in interface List

addAll

public boolean addAll(Collection arg0)
Specified by:
addAll in interface List

addAll

public boolean addAll(int arg0,
                      Collection arg1)
Specified by:
addAll in interface List

removeAll

public boolean removeAll(Collection arg0)
Specified by:
removeAll in interface List

retainAll

public boolean retainAll(Collection arg0)
Specified by:
retainAll in interface List

clear

public void clear()
Specified by:
clear in interface List

get

public Object get(int arg0)
Specified by:
get in interface List

set

public Object set(int arg0,
                  Object arg1)
Specified by:
set in interface List

add

public void add(int arg0,
                Object arg1)
Specified by:
add in interface List

remove

public Object remove(int arg0)
Specified by:
remove in interface List

indexOf

public int indexOf(Object arg0)
Specified by:
indexOf in interface List

lastIndexOf

public int lastIndexOf(Object arg0)
Specified by:
lastIndexOf in interface List

listIterator

public ListIterator listIterator()
Specified by:
listIterator in interface List

listIterator

public ListIterator listIterator(int arg0)
Specified by:
listIterator in interface List

subList

public List subList(int arg0,
                    int arg1)
Specified by:
subList in interface List