Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 632 for Kirsty (0.21 sec)

  1. src/main/java/org/codelibs/core/misc/Pair.java

            return new Pair<>(first, second);
        }
    
        /**
         * インスタンスを構築します。
         */
        public Pair() {
        }
    
        /**
         * インスタンスを構築します。
         *
         * @param first
         *            1番目の値
         * @param second
         *            2番目の値
         */
        public Pair(final T1 first, final T2 second) {
            this.first = first;
            this.second = second;
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  2. 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");
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 16.1K bytes
    - Viewed (1)
  3. android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java

        // If a clear() happens close to the end of computation, one of two things should happen:
        // - computation ends first: the removal listener is called, and the cache does not contain the
        //   key/value pair
        // - clear() happens first: the removal listener is not called, and the cache contains the pair
        AtomicBoolean computationShouldWait = new AtomicBoolean();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Oct 03 20:10:02 GMT 2023
    - 23.2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/Joiner.java

      @CanIgnoreReturnValue
      public final <A extends Appendable> A appendTo(
          A appendable,
          @CheckForNull Object first,
          @CheckForNull Object second,
          @Nullable Object... rest)
          throws IOException {
        return appendTo(appendable, iterable(first, second, rest));
      }
    
      /**
       * Appends the string representation of each of {@code parts}, using the previously configured
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 18.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java

                },
                directExecutor());
    
        // Wait for the first task to be started in the background. It will block until we explicitly
        // stop it.
        blockingCallable.waitForStart();
    
        // Give the second task a chance to (incorrectly) start up while the first task is running.
        assertThat(future2.isDone()).isFalse();
    
        // Stop the first task. The second task should then run.
        blockingCallable.stop();
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 16.8K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java

                },
                directExecutor());
    
        // Wait for the first task to be started in the background. It will block until we explicitly
        // stop it.
        blockingCallable.waitForStart();
    
        // Give the second task a chance to (incorrectly) start up while the first task is running.
        assertThat(future2.isDone()).isFalse();
    
        // Stop the first task. The second task should then run.
        blockingCallable.stop();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 16.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/Booleans.java

    @ElementTypesAreNonnullByDefault
    public final class Booleans {
      private Booleans() {}
    
      /** Comparators for {@code Boolean} values. */
      private enum BooleanComparator implements Comparator<Boolean> {
        TRUE_FIRST(1, "Booleans.trueFirst()"),
        FALSE_FIRST(-1, "Booleans.falseFirst()");
    
        private final int trueValue;
        private final String toString;
    
        BooleanComparator(int trueValue, String toString) {
          this.trueValue = trueValue;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 19.9K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/FilteredCollectionsTestUtil.java

          for (List<Integer> contents : SAMPLE_INPUTS) {
            C filtered = filter(createUnfiltered(contents), EVEN);
    
            try {
              Integer first = filtered.first();
              assertFalse(filtered.isEmpty());
              assertEquals(Ordering.natural().min(filtered), first);
            } catch (NoSuchElementException e) {
              assertTrue(filtered.isEmpty());
            }
          }
        }
    
        public void testLast() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 12.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/eventbus/Dispatcher.java

      }
    
      /**
       * Returns a dispatcher that dispatches events to subscribers immediately as they're posted
       * without using an intermediate queue to change the dispatch order. This is effectively a
       * depth-first dispatch order, vs. breadth-first when using a queue.
       */
      static Dispatcher immediate() {
        return ImmediateDispatcher.INSTANCE;
      }
    
      /** Dispatches the given {@code event} to the given {@code subscribers}. */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 7.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/JdkFutureAdapters.java

       * <p><b>Warning:</b> If the input future does not already implement {@code ListenableFuture}, the
       * returned future will emulate {@link ListenableFuture#addListener} by taking a thread from an
       * internal, unbounded pool at the first call to {@code addListener} and holding it until the
       * future is {@linkplain Future#isDone() done}.
       *
       * <p>Prefer to create {@code ListenableFuture} instances with {@link SettableFuture}, {@link
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 14 20:35:03 GMT 2023
    - 7.5K bytes
    - Viewed (0)
Back to top