Uploaded image for project: 'TinkerPop'
  1. TinkerPop
  2. TINKERPOP-1888

Extend max and min to all Comparable properties, not just Numbers

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.2.7
    • Fix Version/s: 3.4.0
    • Component/s: process
    • Labels:

      Description

      Currently, min() and max() only operate on properties that extend Number. However, these should be able to be applied to anything which implements Comparable as they are well-defined for those, too. Other steps like mean() and sum() should stay just for Numbers.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dkuppitz Daniel Kuppitz
                Reporter:
                philipgraff Philip Graff
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: