|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
be.lassi.domain
Class FixtureGroups
java.lang.Object be.lassi.domain.FixtureGroups
- All Implemented Interfaces:
- java.lang.Iterable<Fixtures>
public class FixtureGroups
- extends java.lang.Object
- implements java.lang.Iterable<Fixtures>
- extends java.lang.Object
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 interfacejava.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
|
Lighting Assistant 1.2 | ||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |