Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 77 for Center (0.15 sec)

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

        this.lock = new ReentrantLock(fair);
      }
    
      /** Enters this monitor. Blocks indefinitely. */
      public void enter() {
        lock.lock();
      }
    
      /**
       * Enters this monitor. Blocks at most the given time.
       *
       * @return whether the monitor was entered
       */
      @SuppressWarnings("GoodTime") // should accept a java.time.Duration
      public boolean enter(long time, TimeUnit unit) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 18:22:01 GMT 2023
    - 38.6K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/SampleElements.java

      public static class Chars extends SampleElements<Character> {
        public Chars() {
          // elements aren't sorted, to better test SortedSet iteration ordering
          super('b', 'a', 'c', 'd', 'e');
        }
      }
    
      public static class Enums extends SampleElements<AnEnum> {
        public Enums() {
          // elements aren't sorted, to better test SortedSet iteration ordering
          super(AnEnum.B, AnEnum.A, AnEnum.C, AnEnum.D, AnEnum.E);
        }
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/SampleElements.java

      public static class Chars extends SampleElements<Character> {
        public Chars() {
          // elements aren't sorted, to better test SortedSet iteration ordering
          super('b', 'a', 'c', 'd', 'e');
        }
      }
    
      public static class Enums extends SampleElements<AnEnum> {
        public Enums() {
          // elements aren't sorted, to better test SortedSet iteration ordering
          super(AnEnum.B, AnEnum.A, AnEnum.C, AnEnum.D, AnEnum.E);
        }
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

          afe.initCause(ie);
          throw afe;
        }
      }
    
      /**
       * Spin-waits up to the specified number of milliseconds for the given thread to enter a wait
       * state: BLOCKED, WAITING, or TIMED_WAITING.
       */
      void waitForThreadToEnterWaitState(Thread thread, long timeoutMillis) {
        long startTime = System.nanoTime();
        for (; ; ) {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 37.7K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

    import java.util.Spliterator.OfPrimitive;
    import java.util.function.Consumer;
    import java.util.function.Function;
    import java.util.function.Supplier;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tester for {@code Spliterator} implementations.
     *
     * @since 21.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public final class SpliteratorTester<E extends @Nullable Object> {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 18:19:31 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

      }
    
      /**
       * Not supported. Use {@link #naturalOrder}, which offers better type-safety, instead. This method
       * exists only to hide {@link ImmutableMap#builder} from consumers of {@code ImmutableSortedMap}.
       *
       * @throws UnsupportedOperationException always
       * @deprecated Use {@link ImmutableSortedMap#naturalOrder}, which offers better type-safety.
       */
      @DoNotCall("Use naturalOrder")
      @Deprecated
    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)
  7. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

      }
    
      /**
       * Not supported. Use {@link #naturalOrder}, which offers better type-safety, instead. This method
       * exists only to hide {@link ImmutableSet#builder} from consumers of {@code ImmutableSortedSet}.
       *
       * @throws UnsupportedOperationException always
       * @deprecated Use {@link ImmutableSortedSet#naturalOrder}, which offers better type-safety.
       */
      @DoNotCall("Use naturalOrder")
      @Deprecated
    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)
  8. guava/src/com/google/common/base/Throwables.java

       *     directly, or use a combination of {@link #throwIfUnchecked} and {@code throw new
       *     RuntimeException(e)}. But consider whether users would be better off if your API threw a
       *     different type of exception. For background on the deprecation, read <a
       *     href="https://goo.gl/Ivn2kc">Why we deprecated {@code Throwables.propagate}</a>.
       */
      @CanIgnoreReturnValue
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/Throwables.java

       *     directly, or use a combination of {@link #throwIfUnchecked} and {@code throw new
       *     RuntimeException(e)}. But consider whether users would be better off if your API threw a
       *     different type of exception. For background on the deprecation, read <a
       *     href="https://goo.gl/Ivn2kc">Why we deprecated {@code Throwables.propagate}</a>.
       */
      @CanIgnoreReturnValue
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/ImmutableSortedMapTest.java

      public void testNullPointers() {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicStaticMethods(ImmutableSortedMap.class);
        tester.testAllPublicInstanceMethods(ImmutableSortedMap.<String, Integer>naturalOrder());
        tester.testAllPublicInstanceMethods(ImmutableSortedMap.of());
        tester.testAllPublicInstanceMethods(ImmutableSortedMap.of("one", 1));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 28.1K bytes
    - Viewed (0)
Back to top