|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbcds.phison.multfailures.ElemsSequencerBase<V,E>
public abstract class ElemsSequencerBase<V,E>
Provides default implementations of methods in the
ElemsSequencer interface.
| Constructor Summary | |
|---|---|
ElemsSequencerBase()
|
|
| Method Summary | |
|---|---|
java.util.List<E> |
arrangeDirectedLinks(java.util.Random rnd)
This method just throws an exception. |
java.util.List<V> |
arrangeNodes(java.util.Random rnd)
This method just throws an exception. |
java.util.List<E> |
arrangeUndirectedLinks(java.util.Random rnd)
This method just throws an exception. |
Environ |
getEnviron()
Returns the environment associated to this object. |
java.lang.Object[] |
getEnvParams()
Returns an empty array. |
java.lang.String |
getName()
Returns this instance's unqualified class name. |
void |
setup(TED<V,E> ted,
Environ env)
Saves the parameters for future use. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ElemsSequencerBase()
| Method Detail |
|---|
public void setup(TED<V,E> ted,
Environ env)
ted must
not be null. If env is null, a new empty environment
is created. Default values are incorporated by calling
getEnvParams and the types of already-present
values are adapted, if possible.
setup in interface ElemsSequencer<V,E>public java.util.List<V> arrangeNodes(java.util.Random rnd)
arrangeNodes in interface ElemsSequencer<V,E>UnsupportedOperationException();public java.util.List<E> arrangeDirectedLinks(java.util.Random rnd)
arrangeDirectedLinks in interface ElemsSequencer<V,E>UnsupportedOperationException();public java.util.List<E> arrangeUndirectedLinks(java.util.Random rnd)
arrangeUndirectedLinks in interface ElemsSequencer<V,E>UnsupportedOperationException();public java.lang.String getName()
getName in interface WithEnvParamspublic java.lang.Object[] getEnvParams()
getEnvParams in interface WithEnvParamspublic Environ getEnviron()
getEnviron in interface WithEnvParams
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||