summaryrefslogtreecommitdiff
path: root/src/main/java/net/transit/network/system/System.java
diff options
context:
space:
mode:
authorKyle Gunger <kgunger12@gmail.com>2019-11-21 18:35:14 -0500
committerKyle Gunger <kgunger12@gmail.com>2019-11-21 18:35:14 -0500
commitd08cbf6b8705df234077c49608de3c2f7ff0e3fa (patch)
tree6e8705d65e4e0f0c1cafe9736980504b5b6f9cde /src/main/java/net/transit/network/system/System.java
parentdf044930bca4252ff6e4814c654a612c6aee2136 (diff)
[Update] Codebase updated to 0.2.8
~ Rewrote files and documentation for cohesion ~ Removed I from the start of interface names
Diffstat (limited to 'src/main/java/net/transit/network/system/System.java')
-rw-r--r--src/main/java/net/transit/network/system/System.java17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/main/java/net/transit/network/system/System.java b/src/main/java/net/transit/network/system/System.java
new file mode 100644
index 0000000..c70292a
--- /dev/null
+++ b/src/main/java/net/transit/network/system/System.java
@@ -0,0 +1,17 @@
+package net.transit.network.system;
+
+
+/**ISystem - a group of nodes optimized for performance
+ *
+ * A node can exist without a system, but a system can not exist without at least one root node.
+ *
+ * @param T The object type stored in the system.
+ */
+public interface System
+{
+ /**The nodes stored by the system
+ *
+ * @return INode[]
+ */
+ public Node[] getNodes();
+}