|
Evaluating Software Design Patterns — the "Gang of Four" patterns implemented in Java 6 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectdk.rode.thesis.state.StepSequence.Factory
public static final class StepSequence.Factory
A factory to create StepSequence instances.
| Field Summary | |
|---|---|
private static ProxyFactory |
factory
The proxy factory used to create the dynamic proxies. |
| Constructor Summary | |
|---|---|
private |
StepSequence.Factory()
Private off-limit constructor. |
| Method Summary | |
|---|---|
static StepSequence |
create(int step,
int value)
Creates a new step sequence using a step of step and
starting with the initial value supplied as value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static final ProxyFactory factory
Never null.
| Constructor Detail |
|---|
private StepSequence.Factory()
| Method Detail |
|---|
public static final StepSequence create(int step,
int value)
step and
starting with the initial value supplied as value.
step - The step; cannot be zero.value - The initial sequence value.
StepSequence instance; never null.
IllegalArgumentException - If step is zero.
|
Gunni Rode / rode.dk | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||