Uploaded image for project: 'REEF (Retired)'
  1. REEF (Retired)
  2. REEF-15

Unify utils classes

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • None
    • All
    • 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

          Activity

            People

              Unassigned Unassigned
              markus.weimer Markus Weimer
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: