Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 23 of 23 for computeNext (0.07 sec)

  1. android/guava/src/com/google/common/io/CharSource.java

          return new AbstractIterator<String>() {
            final Iterator<String> lines = LINE_SPLITTER.split(seq).iterator();
    
            @Override
            protected @Nullable String computeNext() {
              if (lines.hasNext()) {
                String next = lines.next();
                // skip last line if it's empty
                if (lines.hasNext() || !next.isEmpty()) {
                  return next;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/io/CharSource.java

          return new AbstractIterator<String>() {
            final Iterator<String> lines = LINE_SPLITTER.split(seq).iterator();
    
            @Override
            protected @Nullable String computeNext() {
              if (lines.hasNext()) {
                String next = lines.next();
                // skip last line if it's empty
                if (lines.hasNext() || !next.isEmpty()) {
                  return next;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Iterators.java

          Iterator<T> unfiltered, Predicate<? super T> retainIfTrue) {
        checkNotNull(unfiltered);
        checkNotNull(retainIfTrue);
        return new AbstractIterator<T>() {
          @Override
          protected @Nullable T computeNext() {
            while (unfiltered.hasNext()) {
              T element = unfiltered.next();
              if (retainIfTrue.apply(element)) {
                return element;
              }
            }
            return endOfData();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 50.5K bytes
    - Viewed (0)
Back to top