Class AbstractDualBidiMap.EntrySetIterator<K,​V>

  • All Implemented Interfaces:
    java.util.Iterator<java.util.Map.Entry<K,​V>>
    Enclosing class:
    AbstractDualBidiMap<K,​V>

    protected static class AbstractDualBidiMap.EntrySetIterator<K,​V>
    extends AbstractIteratorDecorator<java.util.Map.Entry<K,​V>>
    Inner class EntrySetIterator.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected boolean canRemove
      Whether remove is allowed at present
      protected java.util.Map.Entry<K,​V> last
      The last returned entry
      protected AbstractDualBidiMap<K,​V> parent
      The parent map
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected EntrySetIterator​(java.util.Iterator<java.util.Map.Entry<K,​V>> iterator, AbstractDualBidiMap<K,​V> parent)
      Constructor.
    • Field Detail

      • last

        protected java.util.Map.Entry<K,​V> last
        The last returned entry
      • canRemove

        protected boolean canRemove
        Whether remove is allowed at present
    • Constructor Detail

      • EntrySetIterator

        protected EntrySetIterator​(java.util.Iterator<java.util.Map.Entry<K,​V>> iterator,
                                   AbstractDualBidiMap<K,​V> parent)
        Constructor.
        Parameters:
        iterator - the iterator to decorate
        parent - the parent map