Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 216 for have (0.14 sec)

  1. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

       * we're guaranteed to have properly initialized the subclass.
       */
      final void init() {
        /*
         * requireNonNull is safe because this is called from the constructor after `futures` is set but
         * before releaseResources could be called (because we have not yet set up any of the listeners
    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)
  2. android/guava/src/com/google/common/graph/ValueGraph.java

       *
       * <p>Thus, two value graphs A and B are equal if <b>all</b> of the following are true:
       *
       * <ul>
       *   <li>A and B have equal {@link #isDirected() directedness}.
       *   <li>A and B have equal {@link #nodes() node sets}.
       *   <li>A and B have equal {@link #edges() edge sets}.
       *   <li>The {@link #edgeValueOrDefault(N, N, V) value} of a given edge is the same in both A and
       *       B.
       * </ul>
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 15K bytes
    - Viewed (0)
  3. guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java

          return;
        }
        fail("should have failed");
      }
    
      public void testEqualsAndSerializableOnReturnValues_serializableButNotEquals() throws Exception {
        try {
          tester.forAllPublicStaticMethods(GoodSerializableFactory.class).testEqualsAndSerializable();
        } catch (AssertionFailedError expected) {
          return;
        }
        fail("should have failed");
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 16 15:12:31 GMT 2023
    - 36.3K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

       * @param sampleKey a key of the same type as that contained by {@code multimap}. {@code multimap}
       *     may or may not have {@code sampleKey} as a key.
       * @param sampleValue a key of the same type as that contained by {@code multimap}. {@code
       *     multimap} may or may not have {@code sampleValue} as a key.
       */
      public static <K extends @Nullable Object, V extends @Nullable Object>
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 15K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoDescriptorCreator.java

            String goal = null;
    
            Plugin plugin = null;
    
            String[] tok = task.split(":");
    
            int numTokens = tok.length;
    
            if (numTokens >= 4) {
                // We have everything that we need
                //
                // org.apache.maven.plugins:maven-remote-resources-plugin:1.0:process
                //
                // groupId
                // artifactId
                // version
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableBiMap.java

       * safe to do so. The exact circumstances under which a copy will or will not be performed are
       * undocumented and subject to change.
       *
       * @throws IllegalArgumentException if two keys have the same value or two values have the same
       *     key
       * @throws NullPointerException if any key or value in {@code map} is null
       */
      public static <K, V> ImmutableBiMap<K, V> copyOf(Map<? extends K, ? extends V> map) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 22.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Collections2.java

       * first permutation will be in ascending order, and the last will be in descending order.
       *
       * <p>Duplicate elements are considered equal. For example, the list [1, 1] will have only one
       * permutation, instead of two. This is why the elements have to implement {@link Comparable}.
       *
       * <p>An empty iterable has only one permutation, which is an empty list.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 22.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/RegularImmutableMap.java

      private final transient int size;
    
      /*
       * We have some considerable complexity in these create methods because of
       * Builder.buildKeepingLast(). The same Builder might be called with buildKeepingLast() and then
       * buildOrThrow(), or vice versa. So in particular, if we modify alternatingKeysAndValues to
       * eliminate duplicate keys (for buildKeepingLast()) then we have to ensure that a later call to
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 15 22:32:14 GMT 2024
    - 22.7K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/base/SuppliersTest.java

        // it still should only have executed once due to memoization
        assertEquals(1, countingSupplier.calls);
    
        Thread.sleep(150);
    
        assertEquals(20, (int) memoizedSupplier.get());
        // old value expired
        assertEquals(2, countingSupplier.calls);
    
        assertEquals(20, (int) memoizedSupplier.get());
        // it still should only have executed twice due to memoization
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 18.1K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/base/SuppliersTest.java

        // it still should only have executed once due to memoization
        assertEquals(1, countingSupplier.calls);
    
        Thread.sleep(150);
    
        assertEquals(20, (int) memoizedSupplier.get());
        // old value expired
        assertEquals(2, countingSupplier.calls);
    
        assertEquals(20, (int) memoizedSupplier.get());
        // it still should only have executed twice due to memoization
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 18.1K bytes
    - Viewed (0)
Back to top