Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 722 for Iterator (0.14 sec)

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

    import java.util.ListIterator;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A list iterator which forwards all its method calls to another list iterator. Subclasses should
     * override one or more methods to modify the behavior of the backing iterator as desired per the <a
     * href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 29 19:42:21 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/graph/GraphConnections.java

    interface GraphConnections<N, V> {
    
      Set<N> adjacentNodes();
    
      Set<N> predecessors();
    
      Set<N> successors();
    
      /**
       * Returns an iterator over the incident edges.
       *
       * @param thisNode The node that this all of the connections in this class are connected to.
       */
      Iterator<EndpointPair<N>> incidentEdgeIterator(N thisNode);
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 2.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/Splitter.java

        checkNotNull(sequence);
    
        Iterator<String> iterator = splittingIterator(sequence);
        List<String> result = new ArrayList<>();
    
        while (iterator.hasNext()) {
          result.add(iterator.next());
        }
    
        return Collections.unmodifiableList(result);
      }
    
      /**
       * Splits {@code sequence} into string components and makes them available through an {@link
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 21:14:05 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Tables.java

          return original.size();
        }
    
        @Override
        public Collection<V> values() {
          return original.values();
        }
    
        @Override
        Iterator<Cell<C, R, V>> cellIterator() {
          return Iterators.transform(original.cellSet().iterator(), Tables::transposeCell);
        }
      }
    
      private static <
              R extends @Nullable Object, C extends @Nullable Object, V extends @Nullable Object>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/AbstractNavigableMap.java

      public Entry<K, V> firstEntry() {
        return Iterators.<@Nullable Entry<K, V>>getNext(entryIterator(), null);
      }
    
      @Override
      @CheckForNull
      public Entry<K, V> lastEntry() {
        return Iterators.<@Nullable Entry<K, V>>getNext(descendingEntryIterator(), null);
      }
    
      @Override
      @CheckForNull
      public Entry<K, V> pollFirstEntry() {
        return Iterators.pollNext(entryIterator());
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jun 15 18:11:44 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java

        public static boolean repositoriesEquals(List<RemoteRepository> r1, List<RemoteRepository> r2) {
            if (r1.size() != r2.size()) {
                return false;
            }
    
            for (Iterator<RemoteRepository> it1 = r1.iterator(), it2 = r2.iterator(); it1.hasNext(); ) {
                if (!repositoryEquals(it1.next(), it2.next())) {
                    return false;
                }
            }
    
            return true;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/MultiInputStream.java

    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    final class MultiInputStream extends InputStream {
    
      private Iterator<? extends ByteSource> it;
      @CheckForNull private InputStream in;
    
      /**
       * Creates a new instance.
       *
       * @param it an iterator of I/O suppliers that will provide each substream
       */
      public MultiInputStream(Iterator<? extends ByteSource> it) throws IOException {
        this.it = checkNotNull(it);
        advance();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java

        TreeMultimap<String, Integer> multimap = createPopulate();
        Iterator<Entry<String, Collection<Integer>>> iterator = multimap.asMap().entrySet().iterator();
        Entry<String, Collection<Integer>> entry = iterator.next();
        assertEquals("foo", entry.getKey());
        assertThat(entry.getValue()).containsExactly(1, 3, 7);
        entry = iterator.next();
        assertEquals("google", entry.getKey());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/util/RenderDataUtil.java

                    // care performance for List that the most frequent pattern
                    final Object first = coll instanceof List<?> ? ((List<?>) coll).get(0) : coll.iterator().next();
                    if (first instanceof Entity) {
                        data.register(key, coll.stream().map(BeanUtil::copyBeanToNewMap).collect(Collectors.toList()));
                        return;
                    }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/ForwardingSortedMultisetTest.java

        }
    
        @Override
        public SortedMultiset<E> descendingMultiset() {
          return new StandardDescendingMultiset() {
    
            @Override
            Iterator<Entry<E>> entryIterator() {
              return backingMultiset.descendingMultiset().entrySet().iterator();
            }
          };
        }
    
        @Override
        public NavigableSet<E> elementSet() {
          return new StandardElementSet();
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
Back to top