Class SetElementIndex<E>

Type Parameters:
E - set element type

public class SetElementIndex<E> extends CollectionElementIndex<NavigableSet<E>,E>
An index on the elements of a set field.
  • Method Details

    • visit

      public <R> R visit(IndexSwitch<R> target)
      Description copied from class: Index
      Apply visitor pattern.
      Specified by:
      visit in class Index
      Type Parameters:
      R - visitor return type
      Parameters:
      target - target to invoke
      Returns:
      return value from the method of target corresponding to this instance's type