owly
Banned
-
- Joined
- Oct 26, 2018
- Posts
- 2,294
has to have the objects you put in it implement the comparable interface ?
I had this problem :
I have a queue object and it has to store special objects (lets call them Animal for example)
but when I added a 2nd object to the queue it errored the compiler :
"cannot be cast to java.lang.Comparable" :
why the fucking shit in the ass does adding an implements Comparable<Animal> to the, fucking jizzy JB, Animal class fix this
why couldn't those java fuckers write it in the document, fucking, tation the fuck the fuck.
what the fuck puke in the whore pussy, is going in the crap shit bloody tampon, queue class that I have to implement that comparable
nig, da fuck da fuck.
also, yeah this is why I prefer to use this site to talk about programming related shit.
also if you could translate this
https://stackoverflow.com/questions...tudent-cannot-be-cast-to-java-lang-comparable
to trash talk plz
I had this problem :
I have a queue object and it has to store special objects (lets call them Animal for example)
but when I added a 2nd object to the queue it errored the compiler :
"cannot be cast to java.lang.Comparable" :
why the fucking shit in the ass does adding an implements Comparable<Animal> to the, fucking jizzy JB, Animal class fix this
why couldn't those java fuckers write it in the document, fucking, tation the fuck the fuck.
what the fuck puke in the whore pussy, is going in the crap shit bloody tampon, queue class that I have to implement that comparable
nig, da fuck da fuck.
also, yeah this is why I prefer to use this site to talk about programming related shit.
also if you could translate this
https://stackoverflow.com/questions...tudent-cannot-be-cast-to-java-lang-comparable
to trash talk plz