Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
Description
REEF, Tang and Wake (and the several other subprojects) all have various utils packages that we should unify. For instance, there is a{{Pair}} class in reef-io and reef-common and there is a Tuple in reef-io that serves the same purpose.
I propose to move all of these utilities into a common package org.apache.reef.utils with subpackages named after standard Java package names. For instance, the Pair, Tuple and MonotonicSet classes all would be in org.apache.reef.utils.collections.
Also, those utilities should be in a new submodule called reef-utils which may not depend on anything but the JDK. That way, we don't run the risk of blowing up the dependency tree of current users.
Attachments
Issue Links
- links to