Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 285 for FIRST (0.02 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

        checkMessage(
            expected, "OtherOrder.FIRST -> MyOrder.THIRD", "MyOrder.THIRD -> OtherOrder.FIRST");
        lockA.lock();
        lock01.unlock();
        lockB.lock();
        lockA.unlock();
    
        expected = assertThrows(PotentialDeadlockException.class, () -> lock01.lock());
        checkMessage(
            expected, "LockB -> OtherOrder.FIRST", "LockA -> LockB", "OtherOrder.FIRST -> LockA");
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

        checkMessage(
            expected, "OtherOrder.FIRST -> MyOrder.THIRD", "MyOrder.THIRD -> OtherOrder.FIRST");
        lockA.lock();
        lock01.unlock();
        lockB.lock();
        lockA.unlock();
    
        expected = assertThrows(PotentialDeadlockException.class, () -> lock01.lock());
        checkMessage(
            expected, "LockB -> OtherOrder.FIRST", "LockA -> LockB", "OtherOrder.FIRST -> LockA");
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableSet.java

       * the first are ignored.
       */
      public static <E> ImmutableSet<E> of(E e1, E e2, E e3, E e4, E e5) {
        return new RegularSetBuilderImpl<E>(5).add(e1).add(e2).add(e3).add(e4).add(e5).review().build();
      }
    
      /**
       * Returns an immutable set containing the given elements, minus duplicates, in the order each was
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/MoreObjects.java

       *
       * <p><b>Note:</b> if {@code first} is represented as an {@link Optional}, this can be
       * accomplished with {@link Optional#or(Object) first.or(second)}. That approach also allows for
       * lazy evaluation of the fallback instance, using {@link Optional#or(Supplier)
       * first.or(supplier)}.
       *
       * <p><b>Java 9 users:</b> use {@code java.util.Objects.requireNonNullElse(first, second)}
       * instead.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  5. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

        public void normalNullable(String first, @Nullable Integer second) {
          reactToNullParameters(first, second);
        }
    
        /** Two-arg method with the first param Nullable. */
        public void nullableNormal(@Nullable String first, Integer second) {
          reactToNullParameters(first, second);
        }
    
        /** Two-arg method with the both params Nullable. */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 47.7K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/Predicates.java

       * as a false predicate is found.
       *
       * <p><b>Discouraged:</b> Prefer using {@code first.and(second)}.
       */
      public static <T extends @Nullable Object> Predicate<T> and(
          Predicate<? super T> first, Predicate<? super T> second) {
        return new AndPredicate<>(Predicates.<T>asList(checkNotNull(first), checkNotNull(second)));
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/RegularImmutableMap.java

       * will remember the first duplicate key we encountered. All later calls to buildOrThrow() can
       * mention that key with its values. Further duplicates might be added in the meantime but since
       * builders only ever accumulate entries it will always be valid to throw from buildOrThrow() with
       * the first duplicate.
       */
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 22.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Lists.java

       *
       * @param first the first element
       * @param rest an array of additional elements, possibly empty
       * @return an unmodifiable list containing the specified elements
       */
      public static <E extends @Nullable Object> List<E> asList(@ParametricNullness E first, E[] rest) {
        return new OnePlusArrayList<>(first, rest);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 42.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/collection/SLinkedList.java

            return header.previous;
        }
    
        /**
         * Removes the first element.
         *
         * @return the first element
         */
        public E removeFirst() {
            if (isEmpty()) {
                throw new NoSuchElementException();
            }
            final E first = header.next.element;
            header.next.remove();
            return first;
        }
    
        /**
         * Removes the last element.
         *
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java

            // Load data first
            protwordsFile.reload(null);
    
            // Test with offset out of bounds
            PagingList<ProtwordsItem> list = protwordsFile.selectList(100, 10);
            assertEquals(0, list.size());
            assertTrue(list.isEmpty());
        }
    
        public void test_selectList_negativeOffset() {
            // Load data first
            protwordsFile.reload(null);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 20.8K bytes
    - Viewed (0)
Back to top