Interface BiGenericEvent<T,U>

Type Parameters:
T - The primary generic type
U - The secondary generic type
All Superinterfaces:
Event, GenericEvent<T>
All Known Subinterfaces:
ProvideServiceEvent.EngineScoped<T,E>

public interface BiGenericEvent<T,U> extends GenericEvent<T>
GenericEvent that requires two type parameters.
  • Method Summary

    Modifier and Type
    Method
    Description
    default List<? extends io.leangen.geantyref.TypeToken<?>>
    Gets all the generic type's.
    io.leangen.geantyref.TypeToken<U>
    Gets the secondary generic type.

    Methods inherited from interface org.spongepowered.api.event.Event

    cause, context, source

    Methods inherited from interface org.spongepowered.api.event.GenericEvent

    paramType
  • Method Details

    • secondaryParamType

      io.leangen.geantyref.TypeToken<U> secondaryParamType()
      Gets the secondary generic type.
      Returns:
      The type token
    • paramTypes

      default List<? extends io.leangen.geantyref.TypeToken<?>> paramTypes()
      Description copied from interface: GenericEvent
      Gets all the generic type's.
      Specified by:
      paramTypes in interface GenericEvent<T>
      Returns:
      The list of type tokens