第二种排序法: 倒叙: list.sort((o1, o2) -> o2.get("UTILIZSIZE").toString().compareTo(o1.get("UTILIZSIZE").toString())); 正序: list.sort((o1, o2) -> o1.get("UTILIZSIZE").toString().compareTo(o2.get("UTILIZSIZE").toString()));
Powered by: 博客园 Copyright © 2024 testgogogo Powered by .NET 9.0 on Kubernetes