Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 606 for has (0.14 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetReadsTester.java

      @CollectionSize.Require(ZERO)
      public void testEntrySet_hashCode_size0() {
        assertEquals(
            "multiset.entrySet() has incorrect hash code", 0, getMultiset().entrySet().hashCode());
      }
    
      @CollectionSize.Require(ONE)
      public void testEntrySet_hashCode_size1() {
        assertEquals(
            "multiset.entrySet() has incorrect hash code",
            1 ^ e0().hashCode(),
            getMultiset().entrySet().hashCode());
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 3.9K bytes
    - Viewed (0)
  2. guava-tests/benchmark/com/google/common/base/AsciiBenchmark.java

        // This benchmark has no concept of "noWorkToDo".
        String lhs = testString;
        String rhs = testString.toUpperCase();
    
        boolean dummy = false;
        for (int i = 0; i < reps; i++) {
          dummy ^= Ascii.equalsIgnoreCase(lhs, rhs);
        }
        return dummy;
      }
    
      @Benchmark
      boolean equalsIgnoreCaseJDK(int reps) {
        // This benchmark has no concept of "noWorkToDo".
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

          /*
           * requireNonNull is safe because:
           *
           * - This is a TrustedFuture, so tryInternalFastPathGetFailure will in fact return the failure
           *   cause if this Future has failed.
           *
           * - And this future *has* failed: This method is called only from handleException (through
           *   getOrInitSeenExceptions). handleException tried to call setException and failed, so
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/graph/AbstractGraphTest.java

      }
    
      /**
       * Verifies that the {@code Set} returned by {@code nodes} has the expected mutability property
       * (see the {@code Graph} documentation for more information).
       */
      @Test
      public abstract void nodes_checkReturnedSetMutability();
    
      /**
       * Verifies that the {@code Set} returned by {@code adjacentNodes} has the expected mutability
       * property (see the {@code Graph} documentation for more information).
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 16.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/DiscreteDomain.java

       * value for which {@link Comparable#compareTo(Object)} never returns a positive value for any
       * input of type {@code C}.
       *
       * <p>The default implementation throws {@code NoSuchElementException}.
       *
       * @return the minimum value of type {@code C}; never null
       * @throws NoSuchElementException if the type has no (practical) minimum value; for example,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/ReactorReader.java

    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    /**
     * An implementation of a workspace reader that knows how to search the Maven reactor for artifacts, either as packaged
     * jar if it has been built, or only compile output directory if packaging hasn't happened yet.
     *
     */
    @Named(ReactorReader.HINT)
    @SessionScoped
    class ReactorReader implements MavenWorkspaceReader {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/testers/ListEqualsTester.java

      public void testEquals_otherListContainingNull() {
        List<E> other = new ArrayList<>(getSampleElements());
        other.set(other.size() / 2, null);
        assertFalse(
            "Two Lists should not be equal if exactly one of them has null at a given index.",
            getList().equals(other));
      }
    
      @CollectionSize.Require(absent = CollectionSize.ZERO)
      @CollectionFeature.Require(ALLOWS_NULL_VALUES)
      public void testEquals_containingNull() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 3.5K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/ListEqualsTester.java

      public void testEquals_otherListContainingNull() {
        List<E> other = new ArrayList<>(getSampleElements());
        other.set(other.size() / 2, null);
        assertFalse(
            "Two Lists should not be equal if exactly one of them has null at a given index.",
            getList().equals(other));
      }
    
      @CollectionSize.Require(absent = CollectionSize.ZERO)
      @CollectionFeature.Require(ALLOWS_NULL_VALUES)
      public void testEquals_containingNull() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 3.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/SetMultimap.java

     * already in the multimap has no effect. See the {@link Multimap} documentation for information
     * common to all multimaps.
     *
     * <p>The {@link #get}, {@link #removeAll}, and {@link #replaceValues} methods each return a {@link
     * Set} of values, while {@link #entries} returns a {@code Set} of map entries. Though the method
     * signature doesn't say so explicitly, the map returned by {@link #asMap} has {@code Set} values.
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jan 24 17:47:51 GMT 2022
    - 4.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/NullnessCasts.java

       * {@code null}!) before returning it to callers. Depending on how the code is structured, a
       * nullness analysis might not understand that the field has been populated. To avoid that problem
       * without having to add {@code @SuppressWarnings}, the code can call this method.
       *
       * <p>Why <i>not</i> just add {@code SuppressWarnings}? The problem is that this method is
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Aug 17 15:44:29 GMT 2021
    - 3.1K bytes
    - Viewed (0)
Back to top