hudson.matrix
Class AxisList

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.ArrayList<Axis>
              extended by hudson.matrix.AxisList
All Implemented Interfaces:
Serializable, Cloneable, Iterable<Axis>, Collection<Axis>, List<Axis>, RandomAccess

public class AxisList
extends ArrayList<Axis>

List of Axis.

Author:
Kohsuke Kawaguchi
See Also:
Serialized Form

Nested Class Summary
static class AxisList.ConverterImpl
          Converter implementation for XStream.
 
Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
AxisList()
           
AxisList(Axis... c)
           
AxisList(Collection<? extends Axis> c)
           
 
Method Summary
 boolean add(Axis axis)
           
 Axis find(String name)
           
 Iterable<Combination> list()
          List up all the possible combinations of this list.
 AxisList subList(Class<? extends Axis> subType)
          Creates a subset of the list that only contains the type assignable to the specified type.
 
Methods inherited from class java.util.ArrayList
add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize
 
Methods inherited from class java.util.AbstractList
equals, hashCode, iterator, listIterator, listIterator, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, removeAll, retainAll, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList
 

Constructor Detail

AxisList

public AxisList()

AxisList

public AxisList(Collection<? extends Axis> c)

AxisList

public AxisList(Axis... c)
Method Detail

find

public Axis find(String name)

subList

public AxisList subList(Class<? extends Axis> subType)
Creates a subset of the list that only contains the type assignable to the specified type.


add

public boolean add(Axis axis)
Specified by:
add in interface Collection<Axis>
Specified by:
add in interface List<Axis>
Overrides:
add in class ArrayList<Axis>

list

public Iterable<Combination> list()
List up all the possible combinations of this list.



Copyright © 2004-2013. All Rights Reserved.