Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for findOne (0.21 sec)

  1. android/guava/src/com/google/common/collect/Comparators.java

        return least(k, comparator.reversed());
      }
    
      /**
       * Returns the minimum of the two values. If the values compare as 0, the first is returned.
       *
       * <p>The recommended solution for finding the {@code minimum} of some values depends on the type
       * of your data and the number of elements you have. Read more in the Guava User Guide article on
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Apr 11 08:42:51 GMT 2024
    - 10K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Iterables.java

       * iterator whether it has any elements <i>remaining</i> (which one does using {@link
       * Iterator#hasNext}).
       *
       * <p><b>{@code Stream} equivalent:</b> {@code !stream.findAny().isPresent()}
       *
       * @return {@code true} if the iterable contains no elements
       */
      public static boolean isEmpty(Iterable<?> iterable) {
        if (iterable instanceof Collection) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 42.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    never forgotten that, if you drink much from a bottle marked
    `poison,' it is almost certain to disagree with you, sooner or
    later.
    
      However, this bottle was NOT marked `poison,' so Alice ventured
    to taste it, and finding it very nice, (it had, in fact, a sort
    of mixed flavour of cherry-tart, custard, pine-apple, roast
    turkey, toffee, and hot buttered toast,) she very soon finished
    it off.
    
    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)
  4. guava/src/com/google/common/collect/Comparators.java

      }
    
      /**
       * Returns the minimum of the two values. If the values compare as 0, the first is returned.
       *
       * <p>The recommended solution for finding the {@code minimum} of some values depends on the type
       * of your data and the number of elements you have. Read more in the Guava User Guide article on
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 10.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/FluentIterable.java

       * iterable is empty, {@code Optional.absent()} is returned.
       *
       * <p><b>{@code Stream} equivalent:</b> if the goal is to obtain any element, {@link
       * Stream#findAny}; if it must specifically be the <i>first</i> element, {@code Stream#findFirst}.
       *
       * @throws NullPointerException if the first element is null; if this is a possibility, use {@code
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jan 30 00:14:39 GMT 2024
    - 35.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/Iterables.java

       * iterator whether it has any elements <i>remaining</i> (which one does using {@link
       * Iterator#hasNext}).
       *
       * <p><b>{@code Stream} equivalent:</b> {@code !stream.findAny().isPresent()}
       *
       * @return {@code true} if the iterable contains no elements
       */
      public static boolean isEmpty(Iterable<?> iterable) {
        if (iterable instanceof Collection) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    never forgotten that, if you drink much from a bottle marked
    `poison,' it is almost certain to disagree with you, sooner or
    later.
    
      However, this bottle was NOT marked `poison,' so Alice ventured
    to taste it, and finding it very nice, (it had, in fact, a sort
    of mixed flavour of cherry-tart, custard, pine-apple, roast
    turkey, toffee, and hot buttered toast,) she very soon finished
    it off.
    
    Plain Text
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Apr 21 02:27:51 GMT 2017
    - 145.2K bytes
    - Viewed (0)
  8. guava/src/com/google/common/base/FinalizableReferenceQueue.java

       * we needn't create a separate loader.
       */
      static class SystemLoader implements FinalizerLoader {
        // This is used by the ClassLoader-leak test in FinalizableReferenceQueueTest to disable
        // finding Finalizer on the system class path even if it is there.
        @VisibleForTesting static boolean disabled;
    
        @Override
        @CheckForNull
        public Class<?> loadFinalizer() {
          if (disabled) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 13.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/FinalizableReferenceQueue.java

       * we needn't create a separate loader.
       */
      static class SystemLoader implements FinalizerLoader {
        // This is used by the ClassLoader-leak test in FinalizableReferenceQueueTest to disable
        // finding Finalizer on the system class path even if it is there.
        @VisibleForTesting static boolean disabled;
    
        @Override
        @CheckForNull
        public Class<?> loadFinalizer() {
          if (disabled) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 13.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/FluentIterable.java

       * iterable is empty, {@code Optional.absent()} is returned.
       *
       * <p><b>{@code Stream} equivalent:</b> if the goal is to obtain any element, {@link
       * Stream#findAny}; if it must specifically be the <i>first</i> element, {@code Stream#findFirst}.
       *
       * @throws NullPointerException if the first element is null; if this is a possibility, use {@code
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 30 00:14:39 GMT 2024
    - 35.7K bytes
    - Viewed (0)
Back to top