Class ConverterCollections.ConverterEntrySet.ConverterIterator

java.lang.Object
com.tangosol.util.ConverterCollections.ConverterEntrySet.ConverterIterator
All Implemented Interfaces:
com.tangosol.internal.tracing.TracingAware, Iterator<Map.Entry<TK,TV>>
Enclosing class:
ConverterCollections.ConverterEntrySet<FK,TK,FV,TV>

protected class ConverterCollections.ConverterEntrySet.ConverterIterator extends Object implements Iterator<Map.Entry<TK,TV>>, com.tangosol.internal.tracing.TracingAware
A Map Entry Iterator that converts the key and value types.
Author:
cp 2002.02.08, jh 2007.09.28
  • Field Details

    • m_iter

      protected final Iterator<Map.Entry<FK,FV>> m_iter
      The underlying Iterator.
    • m_spanParent

      protected com.tangosol.internal.tracing.Span m_spanParent
      The parent Span, if any.
      Since:
      15.1.1.0
    • m_sSpanName

      protected String m_sSpanName
      The name of the parent Span.
      Since:
      15.1.1.0
  • Constructor Details

    • ConverterIterator

      public ConverterIterator(Iterator<Map.Entry<FK,FV>> iter)
      Constructor.
      Parameters:
      iter - the Iterator to wrap
  • Method Details

    • setParentSpan

      public void setParentSpan(String sSpanName, com.tangosol.internal.tracing.Span spanParent)
      Description copied from interface: com.tangosol.internal.tracing.TracingAware
      Sets the parent span name and span that the implementing component may use to build the span graph.
      Specified by:
      setParentSpan in interface com.tangosol.internal.tracing.TracingAware
      Parameters:
      sSpanName - the parent Span name
      spanParent - the parent Span
    • hasNext

      public boolean hasNext()
      Specified by:
      hasNext in interface Iterator<Map.Entry<TK,TV>>
    • next

      public Map.Entry<TK,TV> next()
      Specified by:
      next in interface Iterator<Map.Entry<TK,TV>>
    • remove

      public void remove()
      Specified by:
      remove in interface Iterator<Map.Entry<TK,TV>>
    • getIterator

      public Iterator<Map.Entry<FK,FV>> getIterator()
      Return the underlying Iterator.
      Returns:
      the underlying Iterator