Link Details

Link 918009 thumbnail
User 448255 avatar

By dotCore
via drdobbs.com
Submitted: Feb 04 2013 / 02:52

If you want to compare two complicated objects, the strategy is to define a function that computes a single number from each object and then compares those numbers.
  • 2
  • 0
  • 93
  • 23

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Upvoters (2)



Downvoters (0)



    Apache Hadoop
    Written by: Piotr Krewski
    Featured Refcardz: Top Refcardz:
    1. Play
    2. Akka
    3. Design Patterns
    4. OO JS
    5. Cont. Delivery
    1. Play
    2. Java Performance
    3. Akka
    4. REST
    5. Java