Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 235 for what (0.33 sec)

  1. android/guava/src/com/google/common/primitives/Floats.java

            return true;
          }
          if (object instanceof FloatArrayAsList) {
            FloatArrayAsList that = (FloatArrayAsList) object;
            int size = size();
            if (that.size() != size) {
              return false;
            }
            for (int i = 0; i < size; i++) {
              if (array[start + i] != that.array[that.start + i]) {
                return false;
              }
            }
            return true;
          }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 25.2K bytes
    - Viewed (0)
  2. android/pom.xml

                tests themselves and not the code being tested that needs that access, though there's no
                obvious way to ensure that.
    
                We could consider arranging things so that only the tests we know need this would get
                the add-opens. Right now that doesn't seem worth the effort, though.
            -->
            <test.add.opens>
    XML
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Mar 12 20:26:18 GMT 2024
    - 19.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Sets.java

          // substitute an empty ImmutableSet to the user in place of this
          if (object instanceof CartesianSet) {
            CartesianSet<?> that = (CartesianSet<?>) object;
            return this.axes.equals(that.axes);
          }
          if (object instanceof Set) {
            Set<?> that = (Set<?>) object;
            return this.size() == that.size() && this.containsAll(that);
          }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/primitives/Doubles.java

            return true;
          }
          if (object instanceof DoubleArrayAsList) {
            DoubleArrayAsList that = (DoubleArrayAsList) object;
            int size = size();
            if (that.size() != size) {
              return false;
            }
            for (int i = 0; i < size; i++) {
              if (array[start + i] != that.array[that.start + i]) {
                return false;
              }
            }
            return true;
          }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 27.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableSortedSet.java

       *
       * <p><b>Note:</b> Despite what the method name suggests, if {@code elements} is an {@code
       * ImmutableSortedSet}, it may be returned instead of a copy.
       *
       * <p>This method is not type-safe, as it may be called on elements that are not mutually
       * comparable.
       *
       * <p>This method is safe to use even when {@code elements} is a synchronized or concurrent
       * collection that is currently being modified by another thread.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 38.5K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

        }
      }
    
      /**
       * Verifies that a collection is immutable.
       *
       * <p>A collection is considered immutable if:
       *
       * <ol>
       *   <li>All its mutation methods result in UnsupportedOperationException, and do not change the
       *       underlying contents.
       *   <li>All methods that return objects that can indirectly mutate the collection throw
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 14.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Preconditions.java

       * nullness checker can already "prove" are non-null. That means that the first parameter to
       * checkNotNull *should* be annotated to require it to be non-null.
       *
       * However, for a variety of reasons, Google developers have written a ton of code over the past
       * decade that assumes that they can use checkNotNull for non-precondition checks. I had hoped to
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 11 11:52:14 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Suppliers.java

        }
    
        @Override
        public boolean equals(@CheckForNull Object obj) {
          if (obj instanceof SupplierComposition) {
            SupplierComposition<?, ?> that = (SupplierComposition<?, ?>) obj;
            return function.equals(that.function) && supplier.equals(that.supplier);
          }
          return false;
        }
    
        @Override
        public int hashCode() {
          return Objects.hashCode(function, supplier);
        }
    
    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)
  9. android/guava/src/com/google/common/collect/Iterables.java

       *
       * <p>The returned iterable's iterator supports {@code remove()} if the iterator of the underlying
       * iterable supports it. Note that it is <i>not</i> possible to delete the last skipped element by
       * immediately calling {@code remove()} on that iterator, as the {@code Iterator} contract states
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 42.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Multisets.java

        }
        if (object instanceof Multiset) {
          Multiset<?> that = (Multiset<?>) object;
          /*
           * We can't simply check whether the entry sets are equal, since that
           * approach fails when a TreeMultiset has a comparator that returns 0
           * when passed unequal elements.
           */
    
          if (multiset.size() != that.size() || multiset.entrySet().size() != that.entrySet().size()) {
            return false;
          }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 41.7K bytes
    - Viewed (0)
Back to top