|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.vizzini.ai.neuralnetwork.ConnectorCollection
public class ConnectorCollection
Provides a collection to hold IConnector s.
| Constructor Summary | |
|---|---|
ConnectorCollection()
|
|
| Method Summary | |
|---|---|
void |
add(IConnector connector)
Add the given connector. |
boolean |
equals(Object object)
Return true if the given object is equal to this. |
IConnector |
get(ILayer fromLayer,
ILayer toLayer)
Return the connector for the given parameters. |
protected Map |
get(String toLayerName)
Return the map for the given parameter. |
IConnector |
get(String fromLayerName,
String toLayerName)
Return the connector for the given parameters. |
protected Map |
getConnectors()
Return the connectors map. |
int |
hashCode()
Returns a hash code value for the object. |
boolean |
isEmpty()
Return true if this collection is empty. |
Iterator |
iterator()
Return an iterator over this collection. |
Iterator |
iterator(String toLayerName)
Return an iterator over the collection of connectors with the given to layer. |
void |
remove(IConnector connector)
Remove the given connector. |
int |
size()
Return the size of this collection. |
List |
toList()
Return a list of members of this collection. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConnectorCollection()
| Method Detail |
|---|
public void add(IConnector connector)
connector - Connector.public boolean equals(Object object)
equals in class Objectobject - The object to compare.
public IConnector get(ILayer fromLayer,
ILayer toLayer)
fromLayer - From layer.toLayer - To layer.
public IConnector get(String fromLayerName,
String toLayerName)
fromLayerName - From layer name.toLayerName - To layer name.public int hashCode()
hashCode in class Objectpublic boolean isEmpty()
public Iterator iterator()
public Iterator iterator(String toLayerName)
toLayerName - To layer name.public void remove(IConnector connector)
connector - Connector.public int size()
public List toList()
protected Map get(String toLayerName)
toLayerName - To layer name.protected Map getConnectors()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
| Copyright © 2007 Vizzini.org. All Rights Reserved. | 2007.12.25.03.00.02 |