Class IteratorDecorator<E>

java.lang.Object
com.flipkart.zjsonpatch.mapping.IteratorDecorator<E>
Type Parameters:
E - the type of elements returned by the underlying iterator
All Implemented Interfaces:
Iterator<JsonNodeWrapper>

public class IteratorDecorator<E> extends Object implements Iterator<JsonNodeWrapper>
Decorator for Iterator to provide JsonNodeWrapper compatibility. Wraps an Iterator of any type and provides Iterator<JsonNodeWrapper> interface.
Since:
0.6.0
Author:
Mariusz Sondecki
  • Constructor Details

    • IteratorDecorator

      public IteratorDecorator(Iterator<E> iterator)
  • Method Details