-3
ArrayList <ShyForeignStockHolding> aithird = new ArrayList<ShyForeignStockHolding>();
ShyForeignStockHolding shyfrst = new ShyForeignStockHolding (shyPurchaseSharePrice, shyCurrentSharePrice, shyNumberOfShares, shyCompanyName, shyconversionRate1);
aithird.add(shyfrst);
我想Currentshare Price
如何對最低值的數組列表對象進行排序?
shyCurrentSharePrice是浮點型變量 – user3578882
您可以使用java比較器來實現你想要的。 –
你能給我一些提示或示例嗎? – user3578882