From 82955c51088436e29d65ffbe6eff41715c0ee52e Mon Sep 17 00:00:00 2001 From: jvanzyl Date: Wed, 16 Jan 2002 20:39:07 +0000 Subject: [PATCH] - various notes PR: Obtained from: Submitted by: Reviewed by: git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/sandbox/graph/trunk@144590 13f79535-47bb-0310-9956-ffa450edef68 --- NOTES | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 NOTES diff --git a/NOTES b/NOTES new file mode 100644 index 0000000..f7eff88 --- /dev/null +++ b/NOTES @@ -0,0 +1,13 @@ +. Removing the "implements Constants" as it is a bad pattern. Interfaces + should represent types. It also makes the UML diagrams very hard + to follow. We're just going to use the fully qualified GraphConstants.{x} + idiom. + +. Added the Graphable interface to allow any arbitrary object to be + manipulated like a vertex in a graph. + +. Added a util package that has a dependency resolver that uses a depth first + search to sort the dependencies for a set of objects that implement + the Graphable interface. The resolver also works with Strings and + lists and deps stated as lists of strings so I can resuse the test + I wrote for the DependencyEngine in jjar.