org.eclipse.modisco.infra.discovery.benchmark.api
Interface IDiscovererList

All Superinterfaces:
java.util.Collection<Discovery>, java.lang.Iterable<Discovery>, java.util.List<Discovery>

public interface IDiscovererList
extends java.util.List<Discovery>

Interface for Discoverer List operations, basically a specialization of the list interface for discoverers

Author:
Guillaume Doux

Method Summary
 boolean add(Discovery e)
           
 void add(int index, Discovery element)
           
 boolean addAll(java.util.Collection<? extends Discovery> c)
           
 boolean addAll(int index, java.util.Collection<? extends Discovery> c)
           
 void clear()
           
 boolean contains(java.lang.Object o)
           
 boolean containsAll(java.util.Collection<?> c)
           
 boolean equals(java.lang.Object o)
           
 Discovery get(int index)
           
 java.util.List<Discovery> getDiscoverers()
          Return the list of Discovery elements
 int hashCode()
           
 int indexOf(java.lang.Object o)
           
 boolean isEmpty()
           
 java.util.Iterator<Discovery> iterator()
           
 int lastIndexOf(java.lang.Object o)
           
 java.util.ListIterator<Discovery> listIterator()
           
 java.util.ListIterator<Discovery> listIterator(int index)
           
 Discovery remove(int index)
           
 boolean remove(java.lang.Object o)
           
 boolean removeAll(java.util.Collection<?> c)
           
 boolean retainAll(java.util.Collection<?> c)
           
 Discovery set(int index, Discovery element)
           
 int size()
           
 java.util.List<Discovery> subList(int fromIndex, int toIndex)
           
 java.lang.Object[] toArray()
           
<T> T[]
toArray(T[] a)
           
 java.lang.String toString()
           
 

Method Detail

getDiscoverers

java.util.List<Discovery> getDiscoverers()
Return the list of Discovery elements

Returns:
the list

add

void add(int index,
         Discovery element)
Specified by:
add in interface java.util.List<Discovery>
See Also:
List.add(int, Object)

add

boolean add(Discovery e)
Specified by:
add in interface java.util.Collection<Discovery>
Specified by:
add in interface java.util.List<Discovery>
See Also:
List.add(Object)

addAll

boolean addAll(java.util.Collection<? extends Discovery> c)
Specified by:
addAll in interface java.util.Collection<Discovery>
Specified by:
addAll in interface java.util.List<Discovery>
See Also:
List.addAll(Collection)

addAll

boolean addAll(int index,
               java.util.Collection<? extends Discovery> c)
Specified by:
addAll in interface java.util.List<Discovery>
See Also:
List.addAll(int, Collection)

clear

void clear()
Specified by:
clear in interface java.util.Collection<Discovery>
Specified by:
clear in interface java.util.List<Discovery>
See Also:
List.clear()

contains

boolean contains(java.lang.Object o)
Specified by:
contains in interface java.util.Collection<Discovery>
Specified by:
contains in interface java.util.List<Discovery>
See Also:
List.contains(Object)

containsAll

boolean containsAll(java.util.Collection<?> c)
Specified by:
containsAll in interface java.util.Collection<Discovery>
Specified by:
containsAll in interface java.util.List<Discovery>
See Also:
List.containsAll(Collection)

equals

boolean equals(java.lang.Object o)
Specified by:
equals in interface java.util.Collection<Discovery>
Specified by:
equals in interface java.util.List<Discovery>
Overrides:
equals in class java.lang.Object
See Also:
List.equals(Object)

get

Discovery get(int index)
Specified by:
get in interface java.util.List<Discovery>
See Also:
List.get(int)

hashCode

int hashCode()
Specified by:
hashCode in interface java.util.Collection<Discovery>
Specified by:
hashCode in interface java.util.List<Discovery>
Overrides:
hashCode in class java.lang.Object
See Also:
List.hashCode()

indexOf

int indexOf(java.lang.Object o)
Specified by:
indexOf in interface java.util.List<Discovery>
See Also:
List.indexOf(Object)

isEmpty

boolean isEmpty()
Specified by:
isEmpty in interface java.util.Collection<Discovery>
Specified by:
isEmpty in interface java.util.List<Discovery>
See Also:
List.isEmpty()

iterator

java.util.Iterator<Discovery> iterator()
Specified by:
iterator in interface java.util.Collection<Discovery>
Specified by:
iterator in interface java.lang.Iterable<Discovery>
Specified by:
iterator in interface java.util.List<Discovery>
See Also:
List.iterator()

lastIndexOf

int lastIndexOf(java.lang.Object o)
Specified by:
lastIndexOf in interface java.util.List<Discovery>
See Also:
List.lastIndexOf(Object)

listIterator

java.util.ListIterator<Discovery> listIterator()
Specified by:
listIterator in interface java.util.List<Discovery>
See Also:
List.listIterator()

listIterator

java.util.ListIterator<Discovery> listIterator(int index)
Specified by:
listIterator in interface java.util.List<Discovery>
See Also:
List.listIterator(int)

remove

Discovery remove(int index)
Specified by:
remove in interface java.util.List<Discovery>
See Also:
List.remove(int)

remove

boolean remove(java.lang.Object o)
Specified by:
remove in interface java.util.Collection<Discovery>
Specified by:
remove in interface java.util.List<Discovery>
See Also:
List.remove(Object)

removeAll

boolean removeAll(java.util.Collection<?> c)
Specified by:
removeAll in interface java.util.Collection<Discovery>
Specified by:
removeAll in interface java.util.List<Discovery>
See Also:
List.removeAll(Collection)

retainAll

boolean retainAll(java.util.Collection<?> c)
Specified by:
retainAll in interface java.util.Collection<Discovery>
Specified by:
retainAll in interface java.util.List<Discovery>
See Also:
List.retainAll(Collection)

set

Discovery set(int index,
              Discovery element)
Specified by:
set in interface java.util.List<Discovery>
See Also:
List.set(int, Object)

size

int size()
Specified by:
size in interface java.util.Collection<Discovery>
Specified by:
size in interface java.util.List<Discovery>
See Also:
List.size()

subList

java.util.List<Discovery> subList(int fromIndex,
                                  int toIndex)
Specified by:
subList in interface java.util.List<Discovery>
See Also:
List.subList(int, int)

toArray

java.lang.Object[] toArray()
Specified by:
toArray in interface java.util.Collection<Discovery>
Specified by:
toArray in interface java.util.List<Discovery>
See Also:
List.toArray()

toArray

<T> T[] toArray(T[] a)
Specified by:
toArray in interface java.util.Collection<Discovery>
Specified by:
toArray in interface java.util.List<Discovery>
See Also:
List.toArray(Object[])

toString

java.lang.String toString()
Overrides:
toString in class java.lang.Object
See Also:
java.util.List#toString()