Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getFirst (0.16 sec)

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

      /** @since 12.0 */
      @Override
      @CheckForNull
      public E ceiling(E e) {
        return Iterables.<@Nullable E>getFirst(tailSet(e, true), null);
      }
    
      /** @since 12.0 */
      @GwtIncompatible // NavigableSet
      @Override
      @CheckForNull
      public E higher(E e) {
        return Iterables.<@Nullable E>getFirst(tailSet(e, false), null);
      }
    
      @Override
      public E first() {
        return iterator().next();
      }
    
    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)
  2. android/guava/src/com/google/common/collect/Iterators.java

        }
      }
    
      /**
       * Returns the next element in {@code iterator} or {@code defaultValue} if the iterator is empty.
       * The {@link Iterables} analog to this method is {@link Iterables#getFirst}.
       *
       * @param defaultValue the default value to return if the iterator is empty
       * @return the next element of {@code iterator} or the default value
       * @since 7.0
       */
      @ParametricNullness
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 51.1K bytes
    - Viewed (0)
Back to top