Package
Class
Use
Tree
Deprecated
Index
All Classes
Help
Prev Class
Next Class
VCollections – Release 1
Interface org.violetlib.collections.Visitor
Inherited members: ShowHide
Deprecated: ShowHide
org.violetlib.collections

Interface Visitor<E>

  • Type Parameters:
    E - The type of the elements.
    public interface Visitor<E>
    A visitor of elements in a collection.
    • Static Methods 
      Modifier and Type Static Method and Description
      Ordinary member indicator fromIndexedVisitor Reveal DetailHide Detail
      static <V> Visitor<V> fromIndexedVisitor(IndexedVisitor<V> v)
      Return a visitor that calls an indexed visitor.
      static <V> Visitor<V> fromIndexedVisitor(IndexedVisitor<V> v)
      Return a visitor that calls an indexed visitor. The indexed visitor receives indexes in increasing order.
    • Methods 
      Modifier and Type Method and Description
      Ordinary member indicator visit Reveal DetailHide Detail
      abstract void visit(E element)
       
      void visit(E element)