The Coffee Machine

Java & Eclipse tips blog

  • Categories

  • Archives

  •  

    September 2008
    M T W T F S S
    « Aug    
    1234567
    891011121314
    15161718192021
    22232425262728
    2930  

Archive for September, 2008

Sort a list of elements with the Comparable interface

Posted by ObLiB on September 11, 2008

JavaSometimes you’ve got to sort a list. Instead of doing our own sort method, you can use the Collections.sort(List list) method. To be sorted, your list elements must be “Comparable” (Like int, String, Date etc…). To do this, the only things to do are to implements the Comparable interface and define the public int compareTo(Object object) method in your element class.

Read the rest of this entry »

Posted in Java | Tagged: , , , , , , , | Leave a Comment »

Eclipse 3.4 Ganymede on Ubuntu 8.04 Hardy Heron

Posted by ObLiB on September 9, 2008

UbuntuUbuntu Hardy Heron does not have Eclipse 3.4 Ganymede in its deposits. Indeed the Aptitude eclipse installation will install Eclipse 3.2 on your system.

To install Eclipse Ganymede, it must be done manually.

Read the rest of this entry »

Posted in Eclipse, Ganymede, Ubuntu | Tagged: , , , , | 8 Comments »

1,000 hits !

Posted by ObLiB on September 3, 2008

The Coffee Machine

Hi everyone,

The symbolic 1,000th hit was achieved today!
I’m happy to see that so much people visit my blog :D

See you! ;)

Posted in The Coffee Machine | Tagged: | Leave a Comment »