Search Options

Results per page
Sort
Preferred Languages
Advance

Results 351 - 360 of 722 for Iterator (0.08 sec)

  1. src/main/java/jcifs/smb/FileEntryAdapterIterator.java

    
        /**
         * {@inheritDoc}
         *
         * @see java.util.Iterator#hasNext()
         */
        @Override
        public boolean hasNext () {
            return this.next != null;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see java.util.Iterator#next()
         */
        @Override
        public SmbResource next () {
            SmbResource n = this.next;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.5K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java

      public void testDescendingNavigation() {
        List<Entry<E>> ascending = new ArrayList<>();
        Iterators.addAll(ascending, sortedMultiset.entrySet().iterator());
        List<Entry<E>> descending = new ArrayList<>();
        Iterators.addAll(descending, sortedMultiset.descendingMultiset().entrySet().iterator());
        Collections.reverse(descending);
        assertEquals(ascending, descending);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/RegularImmutableMap.java

          this.alternatingKeysAndValues = alternatingKeysAndValues;
          this.keyOffset = keyOffset;
          this.size = size;
        }
    
        @Override
        public UnmodifiableIterator<Entry<K, V>> iterator() {
          return asList().iterator();
        }
    
        @Override
        int copyIntoArray(@Nullable Object[] dst, int offset) {
          return asList().copyIntoArray(dst, offset);
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 15 22:32:14 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/MultimapsTest.java

          Iterable<T> unmodifiable, Iterable<T> modifiable) {
        UnmodifiableCollectionTests.assertIteratorIsUnmodifiable(unmodifiable.iterator());
        UnmodifiableCollectionTests.assertIteratorsInOrder(
            unmodifiable.iterator(), modifiable.iterator());
      }
    
      public void testInvertFrom() {
        ImmutableMultimap<Integer, String> empty = ImmutableMultimap.of();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 38.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Synchronized.java

        @Override
        public boolean removeAll(Collection<?> c) {
          synchronized (mutex) {
            return Iterators.removeAll(delegate().iterator(), c);
          }
        }
    
        @Override
        public boolean retainAll(Collection<?> c) {
          synchronized (mutex) {
            return Iterators.retainAll(delegate().iterator(), c);
          }
        }
    
        private static final long serialVersionUID = 0;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 53.4K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutTester.java

        List<K> keys = copyToList(multimap().keySet());
        for (K key : keys) {
          resetContainer();
    
          int size = getNumElements();
    
          Iterator<Entry<K, Collection<V>>> asMapItr = multimap().asMap().entrySet().iterator();
          Collection<V> collection = null;
          while (asMapItr.hasNext()) {
            Entry<K, Collection<V>> asMapEntry = asMapItr.next();
            if (key.equals(asMapEntry.getKey())) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/google/MultimapPutTester.java

        List<K> keys = copyToList(multimap().keySet());
        for (K key : keys) {
          resetContainer();
    
          int size = getNumElements();
    
          Iterator<Entry<K, Collection<V>>> asMapItr = multimap().asMap().entrySet().iterator();
          Collection<V> collection = null;
          while (asMapItr.hasNext()) {
            Entry<K, Collection<V>> asMapEntry = asMapItr.next();
            if (key.equals(asMapEntry.getKey())) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/testing/DummyProxy.java

        // Make the proxy serializable to work with SerializableTester
        interfaceClasses.add(Serializable.class);
        Object dummy =
            Proxy.newProxyInstance(
                interfaceClasses.iterator().next().getClassLoader(),
                interfaceClasses.toArray(new Class<?>[interfaceClasses.size()]),
                new DummyHandler(interfaceType));
        @SuppressWarnings("unchecked") // interfaceType is T
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 08 17:31:55 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/AbstractIndexedListIterator.java

      private int position;
    
      /** Returns the element with the specified index. This method is called by {@link #next()}. */
      @ParametricNullness
      protected abstract E get(int index);
    
      /**
       * Constructs an iterator across a sequence of the given size whose initial position is 0. That
       * is, the first call to {@link #next()} will return the first element (or throw {@link
       * NoSuchElementException} if {@code size} is zero).
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jul 09 17:31:04 UTC 2021
    - 3.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/AtomicLongMap.java

       * zero values have been removed and others have not.
       */
      public void removeAllZeros() {
        Iterator<Entry<K, AtomicLong>> entryIterator = map.entrySet().iterator();
        while (entryIterator.hasNext()) {
          Entry<K, AtomicLong> entry = entryIterator.next();
          AtomicLong atomic = entry.getValue();
          if (atomic != null && atomic.get() == 0L) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 14.1K bytes
    - Viewed (0)
Back to top