Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for CountingSupplier (0.07 sec)

  1. android/guava-tests/test/com/google/common/base/SuppliersTest.java

        memoizeTest(new SerializableCountingSupplier());
      }
    
      private void memoizeTest(CountingSupplier countingSupplier) {
        Supplier<Integer> memoizedSupplier = Suppliers.memoize(countingSupplier);
        checkMemoize(countingSupplier, memoizedSupplier);
      }
    
      public void testMemoize_redudantly() {
        memoizeRedudantlyTest(new CountingSupplier());
        memoizeRedudantlyTest(new SerializableCountingSupplier());
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/FunctionsTest.java

          if (obj instanceof CountingSupplier) {
            return this.value == ((CountingSupplier) obj).value;
          }
          return false;
        }
    
        @Override
        public int hashCode() {
          return value;
        }
      }
    
      public void testForSupplier() {
        Supplier<Integer> supplier = new CountingSupplier();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/base/FunctionsTest.java

          if (obj instanceof CountingSupplier) {
            return this.value == ((CountingSupplier) obj).value;
          }
          return false;
        }
    
        @Override
        public int hashCode() {
          return value;
        }
      }
    
      public void testForSupplier() {
        Supplier<Integer> supplier = new CountingSupplier();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 15.9K bytes
    - Viewed (0)
Back to top