org.openstreetmap.josm.plugins.streetside

## Class StreetsideLocationChangeset

- java.lang.Object
- - java.util.AbstractCollection<E>
  - - java.util.AbstractSet<StreetsideImage>
    - - org.openstreetmap.josm.plugins.streetside.StreetsideLocationChangeset

- All Implemented Interfaces:
    Iterable<StreetsideImage>, Collection<StreetsideImage>, Set<StreetsideImage>

      public class StreetsideLocationChangeset
      extends AbstractSet<StreetsideImage>

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `private Set<StreetsideImage>` | `changeset`
    `private Set<StreetsideChangesetListener>` | `listeners`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `StreetsideLocationChangeset()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `add(StreetsideImage image)`
    `void` | `addChangesetListener(StreetsideChangesetListener listener)`
    `void` | `cleanChangeset()`
    `private void` | `fireListeners()`
    `Iterator<StreetsideImage>` | `iterator()`
    `boolean` | `remove(Object image)`
    `int` | `size()`

    - ### Methods inherited from class java.util.AbstractSet

      `equals, hashCode, removeAll`

    - ### Methods inherited from class java.util.AbstractCollection

      `addAll, clear, contains, containsAll, isEmpty, retainAll, toArray, toArray, toString`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

    - ### Methods inherited from interface java.util.Set

      `addAll, clear, contains, containsAll, isEmpty, retainAll, spliterator, toArray, toArray`

    - ### Methods inherited from interface java.util.Collection

      `parallelStream, removeIf, stream`

    - ### Methods inherited from interface java.lang.Iterable

      `forEach`

- - ### Field Detail

    - #### listeners

          private final Set<StreetsideChangesetListener> listeners

    - #### changeset

          private final Set<StreetsideImage> changeset

  - ### Constructor Detail

    - #### StreetsideLocationChangeset

          public StreetsideLocationChangeset()

  - ### Method Detail

    - #### addChangesetListener

          public void addChangesetListener(StreetsideChangesetListener listener)

    - #### cleanChangeset

          public void cleanChangeset()

    - #### fireListeners

          private void fireListeners()

    - #### add

          public boolean add(StreetsideImage image)

      Specified by:
        `add` in interface `Collection<StreetsideImage>`
      Specified by:
        `add` in interface `Set<StreetsideImage>`
      Overrides:
        `add` in class `AbstractCollection<StreetsideImage>`

    - #### iterator

          public Iterator<StreetsideImage> iterator()

      Specified by:
        `iterator` in interface `Iterable<StreetsideImage>`
      Specified by:
        `iterator` in interface `Collection<StreetsideImage>`
      Specified by:
        `iterator` in interface `Set<StreetsideImage>`
      Specified by:
        `iterator` in class `AbstractCollection<StreetsideImage>`

    - #### size

          public int size()

      Specified by:
        `size` in interface `Collection<StreetsideImage>`
      Specified by:
        `size` in interface `Set<StreetsideImage>`
      Specified by:
        `size` in class `AbstractCollection<StreetsideImage>`

    - #### remove

          public boolean remove(Object image)

      Specified by:
        `remove` in interface `Collection<StreetsideImage>`
      Specified by:
        `remove` in interface `Set<StreetsideImage>`
      Overrides:
        `remove` in class `AbstractCollection<StreetsideImage>`

JOSM Plugins