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.
February 01, 2013
URL:http://www.drdobbs.com/jvm/jvm/a-strategy-for-defining-order-relations/240147625
Terms of Service | Privacy Statement | Copyright © 2024 UBM Tech, All rights reserved.