Interface AsDelegate


  • public interface AsDelegate
    Author:
    Fabrizio Giudici
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      <T> java.util.Collection<? extends T> as​(java.lang.Class<T> roleType)  
    • Method Detail

      • as

        @Nonnull
        <T> java.util.Collection<? extends T> as​(@Nonnull
                                                 java.lang.Class<T> roleType)
        Type Parameters:
        T - the static type of the role
        Parameters:
        roleType - the dynamic type of the role
        Returns:
        a collection of roles