Interface Predator<T extends Animal>

  • Type Parameters:
    T -
    All Known Implementing Classes:
    Wolf

    public interface Predator<T extends Animal>
    • Method Detail

      • attack

        void attack​(T animal)