de.tsl2.nano.structure.AConnection Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tsl2.nano.datastructure Show documentation
Show all versions of tsl2.nano.datastructure Show documentation
optimized implementations for trees, collections, arrays, historized input
package de.tsl2.nano.structure;
import de.tsl2.nano.core.messaging.IListener;
public class AConnection implements IConnection, IListener> {
/** content */
protected INode destination;
/** description or extension */
protected D descriptor;
/**
* constructor
* @param destination
* @param descriptor
*/
public AConnection(INode destination, D descriptor) {
super();
this.destination = destination;
this.descriptor = descriptor;
}
@Override
public INode getDestination() {
return destination;
}
@Override
public D getDescriptor() {
return descriptor;
}
@Override
public void handleEvent(INode event) {
}
}