ArrayList<Integer> hLProductList = getPointsValue(
Utility.convertToTextList(mProductListingPage.getProductPoints()));
logReport("hLProductList : ===== " + hLProductList);
List is displaying as hLProductList : ===== [2490, 990, 6870, 1870, 3740, 1240, 7370, 4370, 2870, 3740, 7370, 990, 2240, 3740, 7120, 3110, 1870, 2120, 3120, 8740, 930, 1870, 4370, 1240, 5620, 2620, 6240, 4620, 4990, 1870, 4120, 1240, 7120, 2120, 1870, 6990, 1620, 3110, 1610, 3240, 3870, 3120, 1870, 370, 2490, 3740, 1490, 3120]
このリストの値を1〜10000の範囲で確認する方法。特定の範囲の整数値を確認する方法
を理由だけではなく 'hlProductList.stream()allMatch(X - > X> = 1 && X <= 10000)'? –
私はjava8を使用していません –
@ OleV.V。ヒントをありがとう、それを修正しました! –