org.appng.api.support

## Interface OptionOwner.HitCounter<T>

- Type Parameters:
    `T` - the type of the elements to count
  All Known Subinterfaces:
    OptionOwner.Selector
  Enclosing interface:
    OptionOwner

      public static interface OptionOwner.HitCounter<T>

  Counts the hits for `Option`s.
  See Also:
    `Option.getHits()`

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `Integer` | `count(T element)` Counts the hits for the option created from the given element.

- - ### Method Detail

    - #### count

          Integer count(T element)

      Counts the hits for the option created from the given element.
      Parameters:
        `element` - the element to count the hits for
      Returns:
        the number of hits for this option

Copyright © 2011–2023 aiticon GmbH. All rights reserved.