Package hudson.model
Class EnvironmentList
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<Environment>
-
- hudson.model.EnvironmentList
-
- All Implemented Interfaces:
Iterable<Environment>
,Collection<Environment>
,List<Environment>
public final class EnvironmentList extends AbstractList<Environment>
List ofEnvironment
.- Since:
- 1.437
- Author:
- Kohsuke Kawaguchi
-
-
Field Summary
-
Fields inherited from class java.util.AbstractList
modCount
-
-
Constructor Summary
Constructors Constructor Description EnvironmentList(List<Environment> base)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(int index, Environment element)
Environment
get(int index)
<T extends Environment>
Tget(Class<T> type)
Environment
remove(int index)
Environment
set(int index, Environment element)
int
size()
-
Methods inherited from class java.util.AbstractList
add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, subList
-
Methods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Methods inherited from interface java.util.List
addAll, contains, containsAll, isEmpty, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArray
-
-
-
-
Constructor Detail
-
EnvironmentList
public EnvironmentList(List<Environment> base)
-
-
Method Detail
-
get
public Environment get(int index)
- Specified by:
get
in interfaceList<Environment>
- Specified by:
get
in classAbstractList<Environment>
-
size
public int size()
- Specified by:
size
in interfaceCollection<Environment>
- Specified by:
size
in interfaceList<Environment>
- Specified by:
size
in classAbstractCollection<Environment>
-
get
public <T extends Environment> T get(Class<T> type)
-
set
public Environment set(int index, Environment element)
- Specified by:
set
in interfaceList<Environment>
- Overrides:
set
in classAbstractList<Environment>
-
add
public void add(int index, Environment element)
- Specified by:
add
in interfaceList<Environment>
- Overrides:
add
in classAbstractList<Environment>
-
remove
public Environment remove(int index)
- Specified by:
remove
in interfaceList<Environment>
- Overrides:
remove
in classAbstractList<Environment>
-
-