Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Optional (0.19 sec)

  1. guava/src/com/google/common/collect/FluentIterable.java

      public final Optional<@NonNull E> first() {
        Iterator<E> iterator = getDelegate().iterator();
        return iterator.hasNext() ? Optional.of(iterator.next()) : Optional.absent();
      }
    
      /**
       * Returns an {@link Optional} containing the last element in this fluent iterable. If the
       * iterable is empty, {@code Optional.absent()} is returned. If the underlying {@code iterable} is
    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)
  2. android/guava/src/com/google/common/collect/FluentIterable.java

      public final Optional<@NonNull E> first() {
        Iterator<E> iterator = getDelegate().iterator();
        return iterator.hasNext() ? Optional.of(iterator.next()) : Optional.absent();
      }
    
      /**
       * Returns an {@link Optional} containing the last element in this fluent iterable. If the
       * iterable is empty, {@code Optional.absent()} is returned. If the underlying {@code iterable} is
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jan 30 00:14:39 GMT 2024
    - 35.7K bytes
    - Viewed (0)
Back to top