org.gradle.tooling.model
Interface DomainObjectSet<T>

Type Parameters:
T - The type of objects in this collection.
All Superinterfaces:
Collection<T>, Iterable<T>, Set<T>

public interface DomainObjectSet<T>
extends Set<T>

A set of domain objects of type T.


Method Summary
 List<T> getAll()
          Returns the elements of this set as a list, in iteration order of this set.
 T getAt(int index)
          Returns the element of this set at the given index in iteration order of this set.
 
Methods inherited from interface java.util.Set
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
 

Method Detail

getAll

List<T> getAll()
Returns the elements of this set as a list, in iteration order of this set.

Returns:
The elements.

getAt

T getAt(int index)
        throws IndexOutOfBoundsException
Returns the element of this set at the given index in iteration order of this set.

Parameters:
index - The index of the element to get.
Returns:
The element.
Throws:
IndexOutOfBoundsException