Search Options

Results per page
Sort
Preferred Languages
Advance

Results 421 - 430 of 914 for iterate (0.05 sec)

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

      }
    
      @Override
      public boolean enclosesAll(Iterable<Range<C>> ranges) {
        for (Range<C> range : ranges) {
          if (!encloses(range)) {
            return false;
          }
        }
        return true;
      }
    
      @Override
      public void addAll(RangeSet<C> other) {
        addAll(other.asRanges());
      }
    
      @Override
      public void addAll(Iterable<Range<C>> ranges) {
        for (Range<C> range : ranges) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 2.9K 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. 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)
  4. 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)
  5. 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)
  6. src/test/java/org/codelibs/core/io/LineIteratorTest.java

        /**
         * @throws Exception
         */
        @Test
        public void testForEach() throws Exception {
            final StringReader reader = new StringReader("aaa\nbbb\nccc\n");
            for (final String line : LineIterator.iterable(reader)) {
                System.out.println(line);
            }
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  7. 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)
  8. guava-tests/test/com/google/common/eventbus/SubscriberRegistryTest.java

        StringSubscriber s2 = new StringSubscriber();
        ObjectSubscriber o1 = new ObjectSubscriber();
    
        Iterator<Subscriber> empty = registry.getSubscribers("");
        assertFalse(empty.hasNext());
    
        empty = registry.getSubscribers("");
    
        registry.register(s1);
        assertFalse(empty.hasNext());
    
        Iterator<Subscriber> one = registry.getSubscribers("");
        assertEquals(s1, one.next().target);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/MinimalCollection.java

            if (object == null) {
              throw new NullPointerException();
            }
          }
        }
        return super.containsAll(collection);
      }
    
      @Override
      public Iterator<E> iterator() {
        return asList(contents).iterator();
      }
    
      @Override
      public @Nullable Object[] toArray() {
        @Nullable Object[] result = new @Nullable Object[contents.length];
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/TreeBasedTable.java

        return super.rowMap();
      }
    
      /** Overridden column iterator to return columns values in globally sorted order. */
      @Override
      Iterator<C> createColumnKeyIterator() {
        Comparator<? super C> comparator = columnComparator();
    
        Iterator<C> merged =
            mergeSorted(
                transform(backingMap.values(), (Map<C, V> input) -> input.keySet().iterator()),
                comparator);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 11.5K bytes
    - Viewed (0)
Back to top