Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 342 for Changed (0.2 sec)

  1. android/guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java

      /**
       * Verify thread safety by using a collection whose size() may be inconsistent with the actual
       * number of elements and whose elements may change over time.
       *
       * <p>This test might fail in GWT because the GWT emulations might count on the input collection
       * not to change during the copy. It is safe to do so in GWT because javascript is
       * single-threaded.
       */
      @GwtIncompatible // GWT is single threaded
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ComparatorsTest.java

        assertThat(Comparators.max(1, 2, reverse)).isEqualTo(1);
        assertThat(Comparators.max(2, 1, reverse)).isEqualTo(1);
      }
    
      /**
       * Fails compilation if the signature of min and max is changed to take {@code Comparator<T>}
       * instead of {@code Comparator<? super T>}.
       */
      public void testMinMaxWithSupertypeComparator() {
        Comparator<Number> numberComparator =
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Apr 11 08:42:51 GMT 2024
    - 6.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/FilteredEntryMultimap.java

            if (collection.size() == entry.getValue().size()) {
              entryIterator.remove();
            } else {
              collection.clear();
            }
            changed = true;
          }
        }
        return changed;
      }
    
      @WeakOuter
      class AsMap extends ViewCachingAbstractMap<K, Collection<V>> {
        @Override
        public boolean containsKey(@CheckForNull Object key) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Lists.java

          List<E> list, int index, Iterable<? extends E> elements) {
        boolean changed = false;
        ListIterator<E> listIterator = list.listIterator(index);
        for (E e : elements) {
          listIterator.add(e);
          changed = true;
        }
        return changed;
      }
    
      /** An implementation of {@link List#indexOf(Object)}. */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 29 16:48:36 GMT 2024
    - 41.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/graph/GraphsBridgeMethods.java

    package com.google.common.graph;
    
    import com.google.common.annotations.Beta;
    import java.util.Set;
    
    /**
     * Supertype for {@link Graphs}, containing the old signatures of methods whose signatures we've
     * changed. This provides binary compatibility for users who compiled against the old signatures.
     */
    @Beta
    @ElementTypesAreNonnullByDefault
    abstract class GraphsBridgeMethods {
    
      @SuppressWarnings("PreferredInterfaceType")
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 14 19:31:40 GMT 2024
    - 707 bytes
    - Viewed (0)
  6. LICENSE

          (a) You must give any other recipients of the Work or
              Derivative Works a copy of this License; and
    
          (b) You must cause any modified files to carry prominent notices
              stating that You changed the files; and
    
          (c) You must retain, in the Source form of any Derivative Works
              that You distribute, all copyright, patent, trademark, and
              attribution notices from the Source form of the Work,
    Plain Text
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 22 18:59:39 GMT 2023
    - 11.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/CharSource.java

       * of the chars.
       *
       * <p>Additionally, for mutable sources such as {@code StringBuilder}s, a subsequent read may
       * return a different number of chars if the contents are changed.
       *
       * @since 19.0
       */
      public Optional<Long> lengthIfKnown() {
        return Optional.absent();
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 22.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/LinkedListMultimap.java

        return true;
      }
    
      // Bulk Operations
    
      /**
       * {@inheritDoc}
       *
       * <p>If any entries for the specified {@code key} already exist in the multimap, their values are
       * changed in-place without affecting the iteration order.
       *
       * <p>The returned list is immutable and implements {@link java.util.RandomAccess}.
       */
      @CanIgnoreReturnValue
      @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 27.2K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java

       * each given element has increased by one since the test collection was created, and the number
       * of occurrences of all other elements has not changed.
       *
       * <p>Note: This means that a test like the following will fail if {@code collection} is a {@code
       * Set}:
       *
       * <pre>
       * collection.add(existingElement);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/AbstractSetTester.java

    public class AbstractSetTester<E> extends AbstractCollectionTester<E> {
      /*
       * Previously we had a field named set that was initialized to the value of
       * collection in setUp(), but that caused problems when a tester changed the
       * value of set or collection but not both.
       */
      protected final Set<E> getSet() {
        return (Set<E>) collection;
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 1.3K bytes
    - Viewed (0)
Back to top