Back to project page WarehouseBarcode.
The source code is released under:
MIT License
If you think the Android project WarehouseBarcode listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.hlgranite.warehousescanner; /* w w w.ja v a2s. co m*/ import java.util.Comparator; /** * Created by yeang-shing.then on 10/1/13. */ public class QuantityComparator implements Comparator<Stock> { @Override public int compare(Stock lhs, Stock rhs) { return lhs.getBalance().compareTo(rhs.getBalance()); } }