Uploaded image for project: 'Spatial Information Systems'
  1. Spatial Information Systems
  2. SIS-367

IntegerList: Comodification check / primitive Stream

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.7
    • Fix Version/s: 0.8
    • Component/s: Utilities
    • Labels:
    • Environment:

      Any

    • Flags:
      Patch

      Description

      Hi,

      I'd like to propose a patch with following (minor) modifications on IntegerList class :

      • Add a method to acquire an IntStream over an IntegerList values, to allow iteration over primitive values in an IntegerList,
      • update AbstractList's modCount attribute when a modification happens over the list, which serves for multi-context modification.

      You'll find a patch attached. It contains all modifications, which are located in IntegerList and related test class.

      Hope it !

        Attachments

        1. IntegerList.patch
          7 kB
          Alexís Manin

          Activity

            People

            • Assignee:
              desruisseaux Martin Desruisseaux
              Reporter:
              amanin Alexís Manin
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: