Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for HERE (0.15 sec)

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

            } while (oldHead != Waiter.TOMBSTONE);
          }
          // re-read value, if we get here then we must have observed a TOMBSTONE while trying to add a
          // waiter.
          // requireNonNull is safe because value is always set before TOMBSTONE.
          return getDoneValue(requireNonNull(value));
        }
        // If we get here then we have remainingNanos < SPIN_THRESHOLD_NANOS and there is no node on the
        // waiters list
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/SetsTest.java

        ImmutableSet<Integer> elements = ImmutableSet.of(1, 2, 3);
        Set<Set<Integer>> powerSet = powerSet(elements);
        // The API doesn't promise this iteration order, but it's convenient here.
        Iterator<Set<Integer>> i = powerSet.iterator();
        assertEquals(ImmutableSet.of(), i.next());
        assertEquals(ImmutableSet.of(1), i.next());
        assertEquals(ImmutableSet.of(2), i.next());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 49.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Preconditions.java

       * @see Verify#verify Verify.verify()
       */
      public static void checkState(
          boolean expression,
          /*
           * TODO(cpovirk): Consider removing @CheckForNull here, as we've done with the other methods'
           * errorMessageTemplate parameters: It is unlikely that callers intend for their string
           * template to be null (though we do handle that case gracefully at runtime). I've left this
    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)
  4. android/guava/src/com/google/common/collect/Synchronized.java

     * package will refer to the class. Plus, @ParametricNullness is only a temporary workaround,
     * anyway, so we just need to get by without the annotations here until Kotlin better understands
     * our other nullness annotations.
     */
    final class Synchronized {
      private Synchronized() {}
    
      static class SynchronizedObject implements Serializable {
        final Object delegate;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 53.4K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        TypeToken<List<String>> b = new TypeToken<List<String>>() {};
        assertEquals(a, b);
      }
    
      public <T> void testVariableTypeTokenNotAllowed() {
        /*
         * We'd use assertThrows here, but that causes no exception to be thrown under Java 8,
         * presumably because the ThrowingRunnable lambda triggers some kind of bug in Java 8's
         * reflection implementation.
         */
        try {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/MapsTest.java

        assertEquals("", result.get("test"));
        assertEquals("2", result.get("second"));
        assertEquals("item :   a short  phrase   ", result.get("Third"));
        assertFalse(result.containsKey("not here"));
    
        // Test loading system properties
        result = Maps.fromProperties(System.getProperties());
        assertTrue(result.containsKey("java.version"));
    
        // Test that defaults work, too.
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 67.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/MapsTest.java

        assertEquals("", result.get("test"));
        assertEquals("2", result.get("second"));
        assertEquals("item :   a short  phrase   ", result.get("Third"));
        assertFalse(result.containsKey("not here"));
    
        // Test loading system properties
        result = Maps.fromProperties(System.getProperties());
        assertTrue(result.containsKey("java.version"));
    
        // Test that defaults work, too.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 64.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/Futures.java

         * exceptions' docs suggest that either is acceptable. Google's Java Practices page recommends
         * IllegalArgumentException here, in part to keep its recommendation simple: Static methods
         * should throw IllegalStateException only when they use static state.
         *
         * Why do we deviate here? The answer: We want for fluentFuture.getDone() to throw the same
         * exception as Futures.getDone(fluentFuture).
         */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/CharMatcher.java

      }
    
      /**
       * Determines whether a character is whitespace according to the latest Unicode standard, as
       * illustrated <a
       * href="http://unicode.org/cldr/utility/list-unicodeset.jsp?a=%5Cp%7Bwhitespace%7D">here</a>.
       * This is not the same definition used by other Java APIs. (See a <a
       * href="https://goo.gl/Y6SLWx">comparison of several definitions of "whitespace"</a>.)
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.7K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/Preconditions.java

       * @see Verify#verify Verify.verify()
       */
      public static void checkState(
          boolean expression,
          /*
           * TODO(cpovirk): Consider removing @CheckForNull here, as we've done with the other methods'
           * errorMessageTemplate parameters: It is unlikely that callers intend for their string
           * template to be null (though we do handle that case gracefully at runtime). I've left this
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Feb 14 15:46:55 GMT 2024
    - 52.9K bytes
    - Viewed (0)
Back to top