Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 2,181 for Next (0.02 sec)

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

            return endOfData();
          }
          ImmutableList<E> next = ImmutableList.copyOf(list);
          calculateNextPermutation();
          return next;
        }
    
        void calculateNextPermutation() {
          j = list.size() - 1;
          int s = 0;
    
          // Handle the special case of an empty list. Skip the calculation of the
          // next permutation.
          if (j == -1) {
            return;
          }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/Helpers.java

        Iterator<?> expectedIter = expected.iterator();
        Iterator<?> actualIter = actual.iterator();
    
        while (expectedIter.hasNext() && actualIter.hasNext()) {
          if (!equal(expectedIter.next(), actualIter.next())) {
            fail(
                "contents were not equal and in the same order: "
                    + "expected = "
                    + expected
                    + ", actual = "
                    + actual);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/graph/DirectedGraphConnections.java

                @Override
                @CheckForNull
                protected N computeNext() {
                  while (nodeConnections.hasNext()) {
                    NodeConnection<N> nodeConnection = nodeConnections.next();
                    boolean added = seenNodes.add(nodeConnection.node);
                    if (added) {
                      return nodeConnection.node;
                    }
                  }
                  return endOfData();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 18K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/testing/ClusterException.java

      private ClusterException(Collection<? extends Throwable> exceptions) {
        super(
            exceptions.size() + " exceptions were thrown. The first exception is listed as a cause.",
            exceptions.iterator().next());
        ArrayList<? extends Throwable> temp = new ArrayList<>(exceptions);
        this.exceptions = Collections.unmodifiableCollection(temp);
      }
    
      /** See {@link #create(Collection)}. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 26 20:07:17 UTC 2023
    - 4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Ordering.java

        Iterator<? extends T> it = iterable.iterator();
        if (it.hasNext()) {
          T prev = it.next();
          while (it.hasNext()) {
            T next = it.next();
            if (compare(prev, next) > 0) {
              return false;
            }
            prev = next;
          }
        }
        return true;
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/MapClearTester.java

        assertThrows(
            ConcurrentModificationException.class,
            () -> {
              Iterator<Entry<K, V>> iterator = getMap().entrySet().iterator();
              getMap().clear();
              iterator.next();
            });
      }
    
      @MapFeature.Require({FAILS_FAST_ON_CONCURRENT_MODIFICATION, SUPPORTS_REMOVE})
      @CollectionSize.Require(SEVERAL)
      public void testClearConcurrentWithKeySetIteration() {
        assertThrows(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/session/Smb2SessionSetupResponse.java

         */
        @Override
        public void prepare ( CommonServerMessageBlockRequest next ) {
            if ( isReceived() ) {
                next.setSessionId(getSessionId());
            }
            super.prepare(next);
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb2.ServerMessageBlock2#isErrorResponseStatus()
         */
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponse.java

         */
        @Override
        public void prepare ( CommonServerMessageBlockRequest next ) {
            if ( isReceived() ) {
                ( (ServerMessageBlock2) next ).setTreeId(getTreeId());
            }
            super.prepare(next);
        }
    
    
        /**
         * @return the shareType
         */
        public byte getShareType () {
            return this.shareType;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon May 23 14:35:20 UTC 2022
    - 6.1K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

      }
    
      private Entry<K, V> getEntryNullReplaces() {
        Iterator<Entry<K, V>> entries = getSampleElements().iterator();
        for (int i = 0; i < getNullLocation(); i++) {
          entries.next();
        }
        return entries.next();
      }
    
      /** @return an array of the proper size with {@code null} as the value of the middle element. */
      protected Entry<K, V>[] createArrayWithNullValue() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/PairwiseEquivalence.java

        Iterator<T> iteratorA = iterableA.iterator();
        Iterator<T> iteratorB = iterableB.iterator();
    
        while (iteratorA.hasNext() && iteratorB.hasNext()) {
          if (!elementEquivalence.equivalent(iteratorA.next(), iteratorB.next())) {
            return false;
          }
        }
    
        return !iteratorA.hasNext() && !iteratorB.hasNext();
      }
    
      @Override
      protected int doHash(Iterable<T> iterable) {
        int hash = 78721;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 23 15:09:35 UTC 2023
    - 2.4K bytes
    - Viewed (0)
Back to top