Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for congrats (0.19 sec)

  1. guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java

        //
        // Note: According to the spec, a NumberFormatException is thrown for a number that is not
        // parseable, but the spec doesn't seem to say which exception is thrown for an invalid radix.
        // In contrast to the JVM, Kotlin native throws an Illegal argument exception in this case
        // (which seems to make more sense).
        try {
          UnsignedInts.parseUnsignedInt("0", Character.MIN_RADIX - 1);
          fail();
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 06 16:10:08 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Multisets.java

       * #intersection(Multiset, Multiset) intersection} {@code (multisetToModify, multisetToRetain)},
       * but mutates {@code multisetToModify} instead of returning a view.
       *
       * <p>In contrast, {@code multisetToModify.retainAll(multisetToRetain)} keeps all occurrences of
       * elements that appear at all in {@code multisetToRetain}, and deletes all occurrences of all
       * other elements.
       *
    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)
  3. android/guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java

         * this is no worse than what FutureTask does in that situation. Additionally, because the
         * Future was cancelled, its listeners have been run, so its consumers will not hang.
         *
         * Contrast this to the situation we have if setResult() throws, a situation described below.
         */
        I sourceResult;
        try {
          sourceResult = getDone(localInputFuture);
        } catch (CancellationException e) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java

        //
        // Note: According to the spec, a NumberFormatException is thrown for a number that is not
        // parseable, but the spec doesn't seem to say which exception is thrown for an invalid radix.
        // In contrast to the JVM, Kotlin native throws an Illegal argument exception in this case
        // (which seems to make more sense).
        try {
          UnsignedInts.parseUnsignedInt("0", Character.MIN_RADIX - 1);
          fail();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 06 16:10:08 GMT 2024
    - 12.7K bytes
    - Viewed (1)
  5. android/guava-testlib/src/com/google/common/testing/GcFinalization.java

       * returns. This method may be useful when testing the garbage collection mechanism itself, or
       * inhibiting a spontaneous GC initiation in subsequent code.
       *
       * <p>In contrast, a plain call to {@link java.lang.System#gc()} does not ensure finalization
       * processing and may run concurrently, for example, if the JVM flag {@code
       * -XX:+ExplicitGCInvokesConcurrent} is used.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java

            return 0;
          }
        }
      }
    
      /**
       * Removes exactly the specified number of occurrences of {@code element}, or makes no change if
       * this is not possible.
       *
       * <p>This method, in contrast to {@link #remove(Object, int)}, has no effect when the element
       * count is smaller than {@code occurrences}.
       *
       * @param element the element to remove
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Converter.java

       * keep an eye out for problems that new users encounter. Note also that convertAll could support
       * both use cases by using @PolyNull. (By contrast, we can't use @PolyNull for our superinterface
       * (`implements Function<@PolyNull A, @PolyNull B>`), at least as far as I know.)
       */
      public Iterable<B> convertAll(Iterable<? extends A> fromIterable) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 23K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableMap.java

         * platforms we target.
         *
         * 2. Kotlin's Map type has a getOrDefault method that accepts and returns a "plain V," in
         * contrast to the "V?" type that we're using. As a result, Kotlin sees a conflict between the
         * nullness annotations in ImmutableMap and those in its own Map type. In response, it considers
    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)
  9. android/guava/src/com/google/common/primitives/UnsignedInts.java

       *
       * @throws NumberFormatException if the string does not contain a valid unsigned {@code int} value
       * @throws NullPointerException if {@code s} is null (in contrast to {@link
       *     Integer#parseInt(String)})
       */
      @CanIgnoreReturnValue
      public static int parseUnsignedInt(String s) {
        return parseUnsignedInt(s, 10);
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/UnsignedBytes.java

       *
       * @throws NumberFormatException if the string does not contain a valid unsigned {@code byte}
       *     value
       * @throws NullPointerException if {@code string} is null (in contrast to {@link
       *     Byte#parseByte(String)})
       * @since 13.0
       */
      @CanIgnoreReturnValue
      public static byte parseUnsignedByte(String string) {
        return parseUnsignedByte(string, 10);
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 18.3K bytes
    - Viewed (0)
Back to top