Package adql.query

## Class NullADQLIterator

- java.lang.Object
- - adql.query.NullADQLIterator

- All Implemented Interfaces:
    `ADQLIterator`, `java.util.Iterator<ADQLObject>`

      public class NullADQLIterator
      extends java.lang.Object
      implements ADQLIterator

  An ADQL iterator which has no ADQL objects on which iterate.
  Version:
    06/2011
  Author:
    Grégory Mantelet (CDS)

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `NullADQLIterator()` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `boolean` | `hasNext()` |
    `ADQLObject` | `next()` |
    `void` | `remove()` |
    `void` | `replace​(ADQLObject replacer)` | Replaces the current ADQL object by the given ADQL object.

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

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

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

      `forEachRemaining`

- - ### Constructor Detail

    - #### NullADQLIterator

          public NullADQLIterator()

  - ### Method Detail

    - #### hasNext

          public boolean hasNext()

      Specified by:
        `hasNext` in interface `java.util.Iterator<ADQLObject>`

    - #### next

          public ADQLObject next()

      Specified by:
        `next` in interface `java.util.Iterator<ADQLObject>`

    - #### remove

          public void remove()

      Specified by:
        `remove` in interface `java.util.Iterator<ADQLObject>`

    - #### replace

          public void replace​(ADQLObject replacer)
                       throws java.lang.UnsupportedOperationException,
                              java.lang.IllegalStateException

      Description copied from interface: `ADQLIterator`
      Replaces the current ADQL object by the given ADQL object. This method can be called only one time per call to next.
      Specified by:
        `replace` in interface `ADQLIterator`
      Parameters:
        `replacer` - The ADQL object which has to replace the current object.
      Throws:
        `java.lang.UnsupportedOperationException` - If the replace operation is not supported by this ADQLIterator.
        `java.lang.IllegalStateException` - If the next method has not yet been called, or the replace method has already been called after the last call to the next method.