Search Options

Results per page
Sort
Preferred Languages
Advance

Results 451 - 460 of 722 for Iterator (0.29 sec)

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

          return ImmutableMap.this.isHashCodeFast();
        }
    
        @Override
        UnmodifiableIterator<Entry<K, ImmutableSet<V>>> entryIterator() {
          final Iterator<Entry<K, V>> backingIterator = ImmutableMap.this.entrySet().iterator();
          return new UnmodifiableIterator<Entry<K, ImmutableSet<V>>>() {
            @Override
            public boolean hasNext() {
              return backingIterator.hasNext();
            }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 41.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/AbstractMapEntryTest.java

            return value;
          }
        };
      }
    
      private static <K extends @Nullable Object, V extends @Nullable Object> Entry<K, V> control(
          K key, V value) {
        return singletonMap(key, value).entrySet().iterator().next();
      }
    
      public void testToString() {
        assertEquals("foo=1", entry("foo", 1).toString());
      }
    
      public void testToStringNull() {
        assertEquals("null=1", entry(NK, 1).toString());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ObjectArrays.java

       * <i>only</i> if the caller knows that the collection does not contain any null elements.
       *
       * <p>This method returns the elements in the order they are returned by the collection's
       * iterator.
       *
       * <p>TODO(kevinb): support concurrently modified collections?
       *
       * @param c the collection for which to return an array of elements
       * @param array the array in which to place the collection elements
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/graph/EndpointPair.java

       * endpoints of a directed edge).
       */
      public abstract boolean isOrdered();
    
      /** Iterates in the order {@link #nodeU()}, {@link #nodeV()}. */
      @Override
      public final UnmodifiableIterator<N> iterator() {
        return Iterators.forArray(nodeU, nodeV);
      }
    
      /**
       * Two ordered {@link EndpointPair}s are equal if their {@link #source()} and {@link #target()}
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 01 17:18:04 UTC 2021
    - 8.1K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/ListMultimapRemoveTester.java

          resetContainer(mapEntry(k0(), v0()), mapEntry(k0(), v1()), mapEntry(k0(), v0()));
          List<V> expectedValues = copyToList(values);
    
          Entry<K, Collection<V>> asMapEntry = multimap().asMap().entrySet().iterator().next();
          List<V> asMapValue = (List<V>) asMapEntry.getValue();
          asMapValue.remove(i);
          expectedValues.remove(i);
    
          assertGet(k0(), expectedValues);
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/graph/AbstractNetworkTest.java

                break;
              case 1:
                assertThat(network.edgeConnectingOrNull(node, otherNode))
                    .isEqualTo(edgesConnecting.iterator().next());
                assertThat(network.hasEdgeConnecting(node, otherNode)).isTrue();
                break;
              default:
                assertThat(network.hasEdgeConnecting(node, otherNode)).isTrue();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ImmutableMap.java

          return ImmutableMap.this.isHashCodeFast();
        }
    
        @Override
        UnmodifiableIterator<Entry<K, ImmutableSet<V>>> entryIterator() {
          final Iterator<Entry<K, V>> backingIterator = ImmutableMap.this.entrySet().iterator();
          return new UnmodifiableIterator<Entry<K, ImmutableSet<V>>>() {
            @Override
            public boolean hasNext() {
              return backingIterator.hasNext();
            }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 44.6K bytes
    - Viewed (0)
  8. cmd/config.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"context"
    	"encoding/json"
    	"errors"
    	"fmt"
    	"path"
    	"sort"
    	"strings"
    
    	jsoniter "github.com/json-iterator/go"
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio/internal/config"
    	"github.com/minio/minio/internal/kms"
    )
    
    const (
    	minioConfigPrefix = "config"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 23 10:07:06 UTC 2023
    - 6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/TreeTraverserTest.java

        for (Node t : iterable) {
          builder.append(t.value);
        }
        StringBuilder forEachBuilder = new StringBuilder();
        iterable.forEach(t -> forEachBuilder.append(t.value));
        assertTrue(
            "Iterator content was " + builder + " but forEach content was " + forEachBuilder,
            builder.toString().contentEquals(forEachBuilder));
        return builder.toString();
      }
    
      public void testPreOrder() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/Dispatcher.kt

       */
      private fun promoteAndExecute(): Boolean {
        lock.assertNotHeld()
    
        val executableCalls = mutableListOf<AsyncCall>()
        val isRunning: Boolean
        this.withLock {
          val i = readyAsyncCalls.iterator()
          while (i.hasNext()) {
            val asyncCall = i.next()
    
            if (runningAsyncCalls.size >= this.maxRequests) break // Max capacity.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Jun 20 14:10:53 UTC 2024
    - 9K bytes
    - Viewed (0)
Back to top