Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 27 for Cooper (0.17 sec)

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

        assertSame(a, numberOrdering.max(ints));
        assertSame(a, numberOrdering.min(ints));
      }
    
      public void testVarargsMinAndMax() {
        // try the min and max values in all positions, since some values are proper
        // parameters and others are from the varargs array
        assertEquals(9, (int) numberOrdering.max(9, 3, 0, 5, 8));
        assertEquals(9, (int) numberOrdering.max(5, 9, 0, 3, 8));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

          // If ApiProxy doesn't exist, we're not on AppEngine at all.
          return false;
        } catch (InvocationTargetException e) {
          // If ApiProxy throws an exception, we're not in a proper AppEngine environment.
          return false;
        } catch (IllegalAccessException e) {
          // If the method isn't accessible, we're not on a supported version of AppEngine;
          return false;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 41.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/OrderingTest.java

        assertSame(a, numberOrdering.max(ints));
        assertSame(a, numberOrdering.min(ints));
      }
    
      public void testVarargsMinAndMax() {
        // try the min and max values in all positions, since some values are proper
        // parameters and others are from the varargs array
        assertEquals(9, (int) numberOrdering.max(9, 3, 0, 5, 8));
        assertEquals(9, (int) numberOrdering.max(5, 9, 0, 3, 8));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/net/InetAddresses.java

       *
       * <p>NOTE: This method is different from {@link Inet6Address#isIPv4CompatibleAddress} in that it
       * more correctly classifies {@code "::"} and {@code "::1"} as proper IPv6 addresses (which they
       * are), NOT IPv4 compatible addresses (which they are generally NOT considered to be).
       *
       * @param ip {@link Inet6Address} to be examined for embedded IPv4 compatible address format
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 44K bytes
    - Viewed (1)
  5. guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

      /**
       * Test EqualsTester with no equals or not equals objects. This checks proper handling of null,
       * incompatible class and reflexive tests
       */
      public void testTestEqualsEmptyLists() {
        equalsTester.addEqualityGroup(reference);
        equalsTester.testEquals();
      }
    
      /**
       * Test EqualsTester after populating equalObjects. This checks proper handling of equality and
       * verifies hashCode for valid objects
       */
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 15:49:06 GMT 2023
    - 12.9K bytes
    - Viewed (0)
  6. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

            i = inc(i);
          }
          return false;
        } finally {
          monitor.leave();
        }
      }
    
      /**
       * Returns an array containing all of the elements in this queue, in proper sequence.
       *
       * <p>The returned array will be "safe" in that no references to it are maintained by this queue.
       * (In other words, this method must allocate a new array). The caller is thus free to modify the
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 22.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/net/InternetDomainName.java

       * co.uk} or {@code pvt.k12.wy.us}. Examples of domain names that are <i>not</i> public suffixes
       * include {@code google.com}, {@code foo.co.uk}, and {@code myblog.blogspot.com}.
       *
       * <p>Public suffixes are a proper superset of {@linkplain #isRegistrySuffix() registry suffixes}.
       * The list of public suffixes additionally contains privately owned domain names under which
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 05 20:47:23 GMT 2024
    - 28K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableSortedMultiset.java

        throw new UnsupportedOperationException();
      }
    
      /**
       * Not supported. <b>You are attempting to create a multiset that may contain a non-{@code
       * Comparable} element.</b> Proper calls will resolve to the version in {@code
       * ImmutableSortedMultiset}, not this dummy version.
       *
       * @throws UnsupportedOperationException always
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 29.6K bytes
    - Viewed (0)
  9. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

            i = inc(i);
          }
          return false;
        } finally {
          monitor.leave();
        }
      }
    
      /**
       * Returns an array containing all of the elements in this queue, in proper sequence.
       *
       * <p>The returned array will be "safe" in that no references to it are maintained by this queue.
       * (In other words, this method must allocate a new array). The caller is thus free to modify the
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 22.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/hash/BloomFilter.java

       * <p>The constructed {@code BloomFilter} will be serializable if the provided {@code Funnel<T>}
       * is.
       *
       * <p>It is recommended that the funnel be implemented as a Java enum. This has the benefit of
       * ensuring proper serialization and deserialization, which is important since {@link #equals}
       * also relies on object identity of funnels.
       *
       * @param funnel the funnel of T's that the constructed {@code BloomFilter} will use
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 23.1K bytes
    - Viewed (0)
Back to top