Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 97 for device (0.35 sec)

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

        }
        assertNull(map.get(unmappedKey));
      }
    
      public void testGetNull() {
        Map<K, V> map = makeEitherMap();
        if (allowsNullKeys) {
          if (allowsNullValues) {
            // TODO: decide what to test here.
          } else {
            assertEquals(map.containsKey(null), map.get(null) != null);
          }
        } else {
          try {
            map.get(null);
          } catch (NullPointerException optional) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 45.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/math/Quantiles.java

     * computeInPlace} instead of {@code compute}.
     *
     * <h3>Definition and notes on interpolation</h3>
     *
     * <p>The definition of the kth q-quantile of N values is as follows: define x = k * (N - 1) / q; if
     * x is an integer, the result is the value which would appear at index x in the sorted dataset
     * (unless there are {@link Double#NaN NaN} values, see below); otherwise, the result is the average
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 29.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

     * equals</i>. That is, {@code a.compareTo(b)} or {@code comparator.compare(a, b)} should equal zero
     * <i>if and only if</i> {@code a.equals(b)}. If this advice is not followed, the resulting
     * collection will not correctly obey its specification.
     *
     * <p>See the Guava User Guide article on <a href=
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/Preconditions.java

     * misleading to future readers of the code and of stack traces. See <a
     * href="https://github.com/google/guava/wiki/ConditionalFailuresExplained">Conditional failures
     * explained</a> in the Guava User Guide for more advice. Notably, {@link Verify} offers assertions
     * similar to those in this class for non-precondition checks.
     *
     * <h3>{@code java.util.Objects.requireNonNull()}</h3>
     *
    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)
  5. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

     * equals</i>. That is, {@code a.compareTo(b)} or {@code comparator.compare(a, b)} should equal zero
     * <i>if and only if</i> {@code a.equals(b)}. If this advice is not followed, the resulting map will
     * not correctly obey its specification.
     *
     * <p>See the Guava User Guide article on <a href=
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    the poor little thing sat down and cried.
    
      `Come, there's no use in crying like that!' said Alice to
    herself, rather sharply; `I advise you to leave off this minute!'
    She generally gave herself very good advice, (though she very
    seldom followed it), and sometimes she scolded herself so
    severely as to bring tears into her eyes; and once she remembered
    trying to box her own ears for having cheated herself in a game
    Plain Text
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 29 21:35:03 GMT 2012
    - 145.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/Service.java

       * @since 15.0
       */
      @CanIgnoreReturnValue
      Service startAsync();
    
      /** Returns {@code true} if this service is {@linkplain State#RUNNING running}. */
      boolean isRunning();
    
      /** Returns the lifecycle state of the service. */
      State state();
    
      /**
       * If the service is {@linkplain State#STARTING starting} or {@linkplain State#RUNNING running},
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 10.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

                    newUpdater(AbstractFuture.class, Object.class, "value"));
          } catch (Exception // sneaky checked exception
              | Error atomicReferenceFieldUpdaterFailure) {
            // Some Android 5.0.x Samsung devices have bugs in JDK reflection APIs that cause
            // getDeclaredField to throw a NoSuchFieldException when the field is definitely there.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/features/TesterAnnotation.java

    import java.lang.annotation.RetentionPolicy;
    import java.lang.annotation.Target;
    
    /**
     * Use this to meta-annotate {@code XxxFeature.Require} annotations, so that those annotations can
     * be used to decide whether to apply a test to a given class-under-test.
     *
     * <p>This is needed because annotations can't implement interfaces, which is also why reflection is
     * used to extract values from the properties of the various annotations.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 21 02:27:51 GMT 2017
    - 1.4K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/SortedMapTestSuiteBuilder.java

          return Collections.emptySet();
        }
      }
    
      /**
       * Creates a suite whose map has some elements filtered out of view.
       *
       * <p>Because the map may be ascending or descending, this test must derive the relative order of
       * these extreme values rather than relying on their regular sort ordering.
       */
      final TestSuite createSubmapSuite(
          FeatureSpecificTestSuiteBuilder<
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 5K bytes
    - Viewed (0)
Back to top