Interface BanListType<T>


@NullMarked public interface BanListType<T>
Represents a ban-type that a BanList may track. It enforces the correct return value at compile time.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final BanListType<IpBanList>
    Banned IP addresses
    Banned player profiles
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the type class of the ban list used generically
  • Field Details

  • Method Details

    • typeClass

      Class<T> typeClass()
      Returns the type class of the ban list used generically
      Returns:
      the type class