Searched refs:defensiveCopy (Results 1 – 2 of 2) sorted by relevance
104 return new AndPredicate<T>(defensiveCopy(components)); in and()117 return new AndPredicate<T>(defensiveCopy(components)); in and()143 return new OrPredicate<T>(defensiveCopy(components)); in or()156 return new OrPredicate<T>(defensiveCopy(components)); in or()459 private static <T> List<T> defensiveCopy(T... array) { in defensiveCopy() method in Predicates460 return defensiveCopy(Arrays.asList(array)); in defensiveCopy()463 static <T> List<T> defensiveCopy(Iterable<T> iterable) { in defensiveCopy() method in Predicates
107 return new AndPredicate<T>(defensiveCopy(components)); in and()120 return new AndPredicate<T>(defensiveCopy(components)); in and()146 return new OrPredicate<T>(defensiveCopy(components)); in or()159 return new OrPredicate<T>(defensiveCopy(components)); in or()641 private static <T> List<T> defensiveCopy(T... array) { in defensiveCopy() method in Predicates642 return defensiveCopy(Arrays.asList(array)); in defensiveCopy()645 static <T> List<T> defensiveCopy(Iterable<T> iterable) { in defensiveCopy() method in Predicates