Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 354 for Fontaine (9.23 sec)

  1. guava/src/com/google/common/collect/ForwardingMultiset.java

        return delegate().setCount(element, oldCount, newCount);
      }
    
      /**
       * A sensible definition of {@link #contains} in terms of {@link #count}. If you override {@link
       * #count}, you may wish to override {@link #contains} to forward to this implementation.
       *
       * @since 7.0
       */
      @Override
      protected boolean standardContains(@CheckForNull Object object) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri May 12 15:26:39 GMT 2023
    - 10.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ForwardingMultisetTest.java

        @Override
        public void clear() {
          standardClear();
        }
    
        @Override
        public int count(Object element) {
          return standardCount(element);
        }
    
        @Override
        public boolean contains(Object object) {
          return standardContains(object);
        }
    
        @Override
        public boolean containsAll(Collection<?> collection) {
          return standardContainsAll(collection);
        }
    
        @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 17 15:49:06 GMT 2023
    - 11.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

        }
      }
    
      /** constructor with empty array has size 0 and contains no elements */
      public void testConstructorEmptyArray() {
        AtomicDoubleArray aa = new AtomicDoubleArray(new double[0]);
        assertEquals(0, aa.length());
        assertThrows(IndexOutOfBoundsException.class, () -> aa.get(0));
      }
    
      /** constructor with length zero has size 0 and contains no elements */
      public void testConstructorZeroLength() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 10K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

    /**
     * Tester for {@code Spliterator} implementations.
     *
     * @since 21.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public final class SpliteratorTester<E extends @Nullable Object> {
      /** Return type from "contains the following elements" assertions. */
      public interface Ordered {
        /**
         * Attests that the expected values must not just be present but must be present in the order
         * they were given.
         */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 18:19:31 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/BaseEncodingTest.java

        testDecodes(base64(), "Zg==", "f"); // proper padding length
        testDecodes(base64(), "Zg===", "f");
        testDecodes(base64(), "Zg====", "f");
      }
    
      public void testBase64InvalidDecodings() {
        // These contain bytes not in the decodabet.
        assertFailsToDecode(base64(), "A\u007f", "Unrecognized character: 0x7f");
        assertFailsToDecode(base64(), "Wf2!", "Unrecognized character: !");
        // This sentence just isn't base64() encoded.
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Aug 25 16:34:08 GMT 2022
    - 24.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/reflect/TypeResolver.java

       *     always a bug if {@code formal} isn't a type variable and contains no type variable. Make
       *     sure you are passing the two parameters in the right order.
       * @param actual The type that the formal type variable(s) are mapped to. It can be or contain yet
       *     other type variables, in which case these type variables will be further resolved if
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 24.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Suppliers.java

       *
       * <p>The returned supplier is thread-safe. The delegate's {@code get()} method will be invoked at
       * most once unless the underlying {@code get()} throws an exception. The supplier's serialized
       * form does not contain the cached value, which will be recalculated when {@code get()} is called
       * on the deserialized instance.
       *
       * <p>When the underlying delegate throws an exception then this memoizing supplier will keep
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  8. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

        KeySet(ConcurrentMap<?, ?> map) {
          super(map);
        }
    
        @Override
        public Iterator<K> iterator() {
          return new KeyIterator();
        }
    
        @Override
        public boolean contains(Object o) {
          return map.containsKey(o);
        }
    
        @Override
        public boolean remove(Object o) {
          return map.remove(o) != null;
        }
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 27 19:19:19 GMT 2024
    - 21.6K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

          for (int i = 0; i < startIndex; i++) {
            previousElements.push(nextElements.pop());
          }
        }
    
        @Override
        public void add(E e) {
          if (!features.contains(IteratorFeature.SUPPORTS_ADD)) {
            throw PermittedMetaException.UOE;
          }
    
          previousElements.push(e);
          stackWithLastReturnedElementAtTop = null;
        }
    
        @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  10. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

        try {
          new NullPointerTester().testMethodParameter(new OneArg(), method, 0);
        } catch (AssertionFailedError expected) {
          assertThat(expected.getMessage()).contains("index 0");
          assertThat(expected.getMessage()).contains("[null]");
          foundProblem = true;
        }
        assertTrue("Should report error when different exception is thrown", foundProblem);
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 16 15:12:31 GMT 2023
    - 47.9K bytes
    - Viewed (0)
Back to top