Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-1223

Replace public constructors with static factory methods for Sum.[*]Fn classes

Details

    Description

      Sum.SumDoubleFn, SumIntegerFn and SumLongFn are not using the X.of() or X.from() or other instance creation via static method patterns that are ubiquitous in Beam.

      Following a discussion on the dev list, it would be great to preserve a consistent look and feel and change the creation patterns for these classes to something like SumFn.ofLong() etc.

      See also the corresponding dev list thread.

      Attachments

        Activity

          People

            staslev Stas Levin
            staslev Stas Levin
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: