Hi
So here is what i have in hand:
An Object: Booking(Calendar c1, Calendar c2, Object o1, Object o2)
An ArrayList "bookings"
I have to sort the bookings according to c1 times of them and...
Type: Posts; User: leao
Hi
So here is what i have in hand:
An Object: Booking(Calendar c1, Calendar c2, Object o1, Object o2)
An ArrayList "bookings"
I have to sort the bookings according to c1 times of them and...
Ok it was my first time sorting an ArrayList and i figured it out,
Seems like it was a basic error.
I was using COMPARATOR instead of COMPARABLE and i found the compareTo method overriding...
Hello everyone,
Let me describe my program a bit.
There are 5 classes which describe Person, Tool, Building, Room and Organisation. They all have a String field so they are all similar. So...
Ooooh right ... ok i changed the both "break"s to "return false;"
thats true right ? =)
yes, i still cant figure it out, im a beginner =/
The Index and Word values of two arrays have to be same.
Otherwise it has to be false,
is this code true ? or is there a cleaner version...
Ok so here's my code. It has to check if all the array word members of "this" and "wca" array are same.
If theyre the same i need true.. But if only one of them is wrong it has to give false.
I...