Lines Matching defs:it
5 * This code is free software; you can redistribute it and/or modify it
9 * This code is distributed in the hope that it will be useful, but WITHOUT
55 public static final String LONG_STRING = "When in the Course of human events it becomes necessary for one people to dissolve the political bands which have connected them with another and to assume among the powers of the earth, the separate and equal station to which the Laws of Nature and of Nature's God entitle them, a decent respect to the opinions of mankind requires that they should declare the causes which impel them to the separation.";
184 public static void assertCountSum(Stream<? super Integer> it, int count, int sum) {
185 assertCountSum(it.iterator(), count, sum);
188 public static void assertCountSum(Iterable<? super Integer> it, int count, int sum) {
189 assertCountSum(it.iterator(), count, sum);
192 public static void assertCountSum(Iterator<? super Integer> it, int count, int sum) {
195 while (it.hasNext()) {
196 int i = (Integer) it.next();
205 public static void assertConcat(Iterator<Character> it, String result) {
207 while (it.hasNext()) {
208 sb.append(it.next());
333 private static<T> List<T> toBoxedList(Iterator<T> it) {
335 it.forEachRemaining(toBoxingConsumer(l::add));
360 private static<T> Map<T, Integer> toBoxedMultiset(Iterator<T> it) {
363 it.forEachRemaining(toBoxingConsumer(o -> {
374 public static<T> Map<T, Integer> toBoxedMultiset(Spliterator<T> it) {
377 it.forEachRemaining(toBoxingConsumer(o -> {