org.modeshape.common.collection

## Class LinkedListMultimap.ValueIterator

- java.lang.Object
- - org.modeshape.common.collection.LinkedListMultimap.ValueIterator

- All Implemented Interfaces:
    Iterator<V>, ListIterator<V>
  Enclosing class:
    LinkedListMultimap<K,V>

      protected class LinkedListMultimap.ValueIterator
      extends Object
      implements ListIterator<V>

- - ### Constructor Summary

    Constructors
    Modifier | Constructor and Description
    --- | ---
    `protected` | `LinkedListMultimap.ValueIterator(K key)`
    `protected` | `LinkedListMultimap.ValueIterator(K key, int index)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `add(V value)`
    `boolean` | `hasNext()`
    `boolean` | `hasPrevious()`
    `V` | `next()`
    `int` | `nextIndex()`
    `V` | `previous()`
    `int` | `previousIndex()`
    `void` | `remove()`
    `void` | `set(V value)`

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

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### LinkedListMultimap.ValueIterator

          protected LinkedListMultimap.ValueIterator(K key)

    - #### LinkedListMultimap.ValueIterator

          protected LinkedListMultimap.ValueIterator(K key,
                                          int index)

  - ### Method Detail

    - #### hasNext

          public boolean hasNext()

      Specified by:
        `hasNext` in interface `Iterator<V>`
      Specified by:
        `hasNext` in interface `ListIterator<V>`

    - #### next

          public V next()

      Specified by:
        `next` in interface `Iterator<V>`
      Specified by:
        `next` in interface `ListIterator<V>`

    - #### nextIndex

          public int nextIndex()

      Specified by:
        `nextIndex` in interface `ListIterator<V>`

    - #### hasPrevious

          public boolean hasPrevious()

      Specified by:
        `hasPrevious` in interface `ListIterator<V>`

    - #### previous

          public V previous()

      Specified by:
        `previous` in interface `ListIterator<V>`

    - #### previousIndex

          public int previousIndex()

      Specified by:
        `previousIndex` in interface `ListIterator<V>`

    - #### remove

          public void remove()

      Specified by:
        `remove` in interface `Iterator<V>`
      Specified by:
        `remove` in interface `ListIterator<V>`

    - #### add

          public void add(V value)

      Specified by:
        `add` in interface `ListIterator<V>`

    - #### set

          public void set(V value)

      Specified by:
        `set` in interface `ListIterator<V>`

Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.