Overview  Package   Class  Tree  Index 

be.lassi.domain
Class FixtureGroups

java.lang.Object
  extended by be.lassi.domain.FixtureGroups
All Implemented Interfaces:
java.lang.Iterable<Fixtures>

public class FixtureGroups
extends java.lang.Object
implements java.lang.Iterable<Fixtures>

Collection of fixture collections.


Constructor Summary
FixtureGroups()
          Constructs a new instance.
FixtureGroups(int size)
          Constructs a new instance.
 
Method Summary
 void add(Fixtures fixtures)
          Adds a fixture collection.
 Fixtures get(int index)
          Gets the fixture collection at given index.
 java.util.Iterator<Fixtures> iterator()
          
 FixtureGroups reversed()
          Gets a copy of this collection with the elements in reversed order.
 int size()
          Gets the number of fixture collections.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FixtureGroups

public FixtureGroups()
Constructs a new instance.


FixtureGroups

public FixtureGroups(int size)
Constructs a new instance.

Parameters:
size - the initial number of (empty) fixture collections in the collection
Method Detail

add

public void add(Fixtures fixtures)
Adds a fixture collection.

Parameters:
fixtures - the fixture collection to be added

get

public Fixtures get(int index)
Gets the fixture collection at given index.

Parameters:
index - the index in the collection
Returns:
the fixture collection at given index

iterator

public java.util.Iterator<Fixtures> iterator()

Specified by:
iterator in interface java.lang.Iterable<Fixtures>

reversed

public FixtureGroups reversed()
Gets a copy of this collection with the elements in reversed order.

Returns:
copy with elements in reverse order

size

public int size()
Gets the number of fixture collections.

Returns:
the fixture collection count

Overview  Package   Class  Tree  Index 
Lighting Assistant 1.2