Java - Interface extending itself

后端 未结 5 1280
灰色年华
灰色年华 2021-02-20 13:53

I\'ve been using this site for about 6 months now, and its time to ask my first question, because I cant find the answer to this, atleast not an answer that I can understand!

5条回答
  •  情深已故
    2021-02-20 14:19

    The interface isn't extending itself. The > is a bound on the generic type that is associated with your interface. It just means that the generic type parameter for any class that implements this interface must itself be a PositionedVertex.

提交回复
热议问题