![JAR search and dependency download from the Maven repository](/logo.png)
de.tsl2.nano.structure.INode 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
The newest version!
/*
* File: $HeadURL$
* Id : $Id$
*
* created by: Tom
* created on: 21.01.2015
*
* Copyright: (c) Thomas Schneider 2015, all rights reserved
*/
package de.tsl2.nano.structure;
import java.util.List;
/**
* simplified generic tree or net interface
*
* @param nodes core or content
* @param nodes connection type
* @author Tom
* @version $Revision$
*/
public interface INode {
/** return a list of all children */
List> getConnections();
/** current nodes core or content */
CORE getCore();
/** goes through the given path filter */
INode path(String... nodeFilters);
/**
* creates a new connection
*
* @param destination node to connect to
* @param descriptor connection description
* @return new created connection
*/
IConnection connect(ANode destination, CONNECTOR descriptor);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy