Page 2 of 2 FirstFirst 12
Results 16 to 20 of 20

Thread: Queen Brahne > Quina

  1. #16
    Very VIP person Tech Admin Rantz's Avatar
    Join Date
    Apr 2006
    Posts
    17,631
    Articles
    1

    Default

    Implement IComparable.

  2. #17
    Old school, like an old fool. Flying Mullet's Avatar
    Join Date
    Apr 2003
    Location
    Napping in a peach tree.
    Posts
    19,185
    Articles
    6
    Blog Entries
    7
    Contributions
    • Former Administrator
    • Former Cid's Knight
    • Former Senior Site Staff

    Default

    Code:
    public int compareTo(Object iObject)
    {
    	Quina quina = this;
    	QueenBrahne queenBrahne = (QueenBrahne)iObject;
    	return quina.getFoodsEaten() - queenBrahne.getVoicesInHead();
    }
    Figaro Castle

  3. #18
    Very VIP person Tech Admin Rantz's Avatar
    Join Date
    Apr 2006
    Posts
    17,631
    Articles
    1

    Default

    xD

    Could be a close call that way!

  4. #19
    Meat Puppet's Avatar
    Join Date
    Dec 2003
    Location
    yes
    Posts
    9,983
    Contributions
    • Notable contributions to former community wiki

    Default

    are you trying to be ironic with this thread, pupu?

  5. #20
    Banned
    Join Date
    Aug 2006
    Location
    Far away
    Posts
    1,317

    Default

    maybe

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •