Groovy Documentation

org.gradle.tooling.model
[Java] Interface DomainObjectSet

java.lang.Iterable
  org.gradle.tooling.model.DomainObjectSet
      java.util.Collection
All Superinterfaces:
Iterable, Collection

public interface DomainObjectSet
extends Set

A set of domain objects of type T.

Parameters:
- The type of objects in this collection.


Method Summary
List getAll()

Returns the elements of this set as a list, in iteration order of this set.

Object getAt(int index)

Returns the element of this set at the given index in iteration order of this set.

 
Methods inherited from interface Set
add, equals, hashCode, clear, contains, isEmpty, size, toArray, toArray, addAll, iterator, remove, containsAll, removeAll, retainAll
 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Method Detail

getAll

public List getAll()
Returns the elements of this set as a list, in iteration order of this set.
Returns:
The elements.


getAt

public Object getAt(int index)
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.


 

Gradle API 1.0