Uploaded image for project: 'River (Retired)'
  1. River (Retired)
  2. RIVER-381

Collections or remote iterators, not both.

    XMLWordPrintableJSON

Details

    Description

      JavaSpace05.contents() returns a remote iterator named "MatchSet". JavaSpace05.take(with collection) returns a collection.

      Implementation detail aside, the purpose of both methods is quite similar - returning multiple entries from space at once, either from the readIfExists-like "contents" method or the take-like take-with-collection method.

      Thus it is preferable in my mind to have a standard return type across these methods and any future functionality of the same nature. The community could indicate whether it prefers remote iterators or collections.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jgrahn James Grahn
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: