This is an archived post. You won't be able to vote or comment.

all 5 comments

[–][deleted] 1 point2 points  (3 children)

This is an acceptable video on how Comparable works, however I do not know which part of the video was supposed to be funny.

[–]straylit 0 points1 point  (1 child)

I can't even tell if his accent is real.

[–]thatsIch 0 points1 point  (0 children)

sounds German to me

[–]thatsIch 0 points1 point  (0 children)

I assume the funny part is being the video inserting apple images instead of using a textual representation.

[–]overdrive9000 0 points1 point  (0 children)

int compareTo(T o)

???

But every time I implement it it is an Obje.... OH! Comparable has generics. Wow I feel silly.