@@ -341,14 +341,17 @@ public <F> Chain<F> distinctBy(final Function<T, F> func) {
341
341
return new Chain <F >($ .newArrayList ((Iterable <F >) $ .uniq (value (), func )));
342
342
}
343
343
344
+ @ SuppressWarnings ("unchecked" )
344
345
public Chain <T > union (final List <T > ... lists ) {
345
346
return new Chain <T >($ .union (value (), lists ));
346
347
}
347
348
349
+ @ SuppressWarnings ("unchecked" )
348
350
public Chain <T > intersection (final List <T > ... lists ) {
349
351
return new Chain <T >($ .intersection (value (), lists ));
350
352
}
351
353
354
+ @ SuppressWarnings ("unchecked" )
352
355
public Chain <T > difference (final List <T > ... lists ) {
353
356
return new Chain <T >($ .difference (value (), lists ));
354
357
}
@@ -369,6 +372,7 @@ public Chain<List<T>> chunk(final int size) {
369
372
return new Chain <List <T >>($ .chunk (value (), size ));
370
373
}
371
374
375
+ @ SuppressWarnings ("unchecked" )
372
376
public Chain <T > concat (final List <T > ... lists ) {
373
377
return new Chain <T >($ .concat (value (), lists ));
374
378
}
@@ -667,6 +671,7 @@ public static <T> Chain<T> chain(final Iterable<T> iterable, int size) {
667
671
return new $ .Chain <T >(newArrayList (iterable , size ));
668
672
}
669
673
674
+ @ SuppressWarnings ("unchecked" )
670
675
public static <T > Chain <T > chain (final T ... list ) {
671
676
return new $ .Chain <T >(Arrays .asList (list ));
672
677
}
@@ -2843,7 +2848,7 @@ public List<String> words() {
2843
2848
public static class LRUCache <K , V > {
2844
2849
private static final boolean SORT_BY_ACCESS = true ;
2845
2850
private static final float LOAD_FACTOR = 0.75F ;
2846
- private final LinkedHashMap <K , V > lruCacheMap ;
2851
+ private final Map <K , V > lruCacheMap ;
2847
2852
private final int capacity ;
2848
2853
2849
2854
public LRUCache (int capacity ) {
0 commit comments