HomeSort by relevance Sort by last modified time
    Searched refs:CountingSupplier (Results 1 - 6 of 6) sorted by null

  /external/guava/guava-tests/test/com/google/common/base/
SuppliersTest.java 94 static class CountingSupplier implements Supplier<Integer>, Serializable {
105 CountingSupplier countingSupplier = new CountingSupplier();
106 Supplier<Integer> memoizedSupplier = Suppliers.memoize(countingSupplier);
107 checkMemoize(countingSupplier, memoizedSupplier);
111 CountingSupplier countingSupplier = new CountingSupplier();
112 Supplier<Integer> memoizedSupplier = Suppliers.memoize(countingSupplier);
    [all...]
FunctionsTest.java 385 private static class CountingSupplier
399 if (obj instanceof CountingSupplier) {
400 return this.value == ((CountingSupplier) obj).value;
412 Supplier<Integer> supplier = new CountingSupplier();
420 .addEqualityGroup(Functions.forSupplier(new CountingSupplier()))
428 checkCanReserialize(Functions.forSupplier(new CountingSupplier()));
  /external/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/
SuppliersTest.java 86 static class CountingSupplier implements Supplier<Integer>, Serializable {
97 CountingSupplier countingSupplier = new CountingSupplier();
98 Supplier<Integer> memoizedSupplier = Suppliers.memoize(countingSupplier);
99 checkMemoize(countingSupplier, memoizedSupplier);
103 CountingSupplier countingSupplier = new CountingSupplier();
104 Supplier<Integer> memoizedSupplier = Suppliers.memoize(countingSupplier);
    [all...]
FunctionsTest.java 277 private static class CountingSupplier
291 if (obj instanceof CountingSupplier) {
292 return this.value == ((CountingSupplier) obj).value;
304 Supplier<Integer> supplier = new CountingSupplier();
312 .addEqualityGroup(Functions.forSupplier(new CountingSupplier()))
  /external/guava/guava-tests/test/com/google/common/collect/
MultimapsTest.java 557 private abstract static class CountingSupplier<E>
570 private static class QueueSupplier extends CountingSupplier<Queue<Integer>> {
578 CountingSupplier<Set<Integer>> factory = new SetSupplier() {
625 CountingSupplier<Queue<Integer>> factory = new QueueSupplier();
649 CountingSupplier<Queue<Integer>> factory = new QueueSupplier();
658 CountingSupplier<LinkedList<Integer>> {
666 CountingSupplier<LinkedList<Integer>> factory = new ListSupplier();
684 CountingSupplier<LinkedList<Integer>> factory = new ListSupplier();
692 private static class SetSupplier extends CountingSupplier<Set<Integer>> {
700 CountingSupplier<Set<Integer>> factory = new SetSupplier()
    [all...]
  /external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
MultimapsTest.java 456 private abstract static class CountingSupplier<E>
469 private static class QueueSupplier extends CountingSupplier<Queue<Integer>> {
477 CountingSupplier<Set<Integer>> factory = new SetSupplier() {
524 CountingSupplier<Queue<Integer>> factory = new QueueSupplier();
547 CountingSupplier<LinkedList<Integer>> {
555 CountingSupplier<LinkedList<Integer>> factory = new ListSupplier();
571 private static class SetSupplier extends CountingSupplier<Set<Integer>> {
579 CountingSupplier<Set<Integer>> factory = new SetSupplier();
592 CountingSupplier<TreeSet<Integer>> {
600 CountingSupplier<TreeSet<Integer>> factory = new SortedSetSupplier()
    [all...]

Completed in 460 milliseconds