Package co.aikar.util

Class Counter<T>

All Implemented Interfaces:
Map<T,Long>

@Deprecated(forRemoval=true) public class Counter<T> extends ForwardingMap<T,Long>
Deprecated, for removal: This API element is subject to removal in a future version.
  • Constructor Details

    • Counter

      public Counter()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • decrement

      public long decrement(@Nullable T key)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • increment

      public long increment(@Nullable T key)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • decrement

      public long decrement(@Nullable T key, long amount)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • increment

      public long increment(@Nullable T key, long amount)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getCount

      public long getCount(@Nullable T key)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • delegate

      @NotNull protected @NotNull Map<T,Long> delegate()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      delegate in class ForwardingMap<T,Long>