Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 393 for hasTest (0.05 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/google/BiMapTestSuiteBuilder.java

    import com.google.common.collect.testing.google.DerivedGoogleCollectionGenerators.MapGenerator;
    import com.google.common.collect.testing.testers.SetCreationTester;
    import java.util.ArrayList;
    import java.util.HashSet;
    import java.util.List;
    import java.util.Map.Entry;
    import java.util.Set;
    import junit.framework.TestSuite;
    
    /**
     * Creates, based on your criteria, a JUnit test suite that exhaustively tests a {@code BiMap}
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/IoTestCase.java

    import java.io.File;
    import java.io.FileOutputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.net.URL;
    import java.util.HashSet;
    import java.util.Set;
    import java.util.logging.Level;
    import java.util.logging.Logger;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  3. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

        private int nextIndex;
    
        /**
         * nextItem holds on to item fields because once we claim that an element exists in hasNext(),
         * we must return it in the following next() call even if it was in the process of being removed
         * when hasNext() was called.
         */
        private @Nullable E nextItem;
    
        /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.lang.reflect.Method;
    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.Enumeration;
    import java.util.HashSet;
    import java.util.LinkedHashSet;
    import java.util.List;
    import java.util.Set;
    import java.util.logging.Logger;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/convert/TimeConversionUtil.java

                this.locale = locale;
            }
    
            @Override
            public boolean hasNext() {
                return index < STYLES.length;
            }
    
            @Override
            public DateFormat next() {
                if (!hasNext()) {
                    throw new NoSuchElementException();
                }
                final int style = STYLES[index++];
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/convert/TimestampConversionUtil.java

                this.locale = locale;
            }
    
            @Override
            public boolean hasNext() {
                return index < STYLES.length;
            }
    
            @Override
            public DateFormat next() {
                if (!hasNext()) {
                    throw new NoSuchElementException();
                }
                final int style = STYLES[index++];
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/AbstractMapBasedMultiset.java

            throw new ConcurrentModificationException();
          }
        }
    
        @Override
        public boolean hasNext() {
          checkForConcurrentModification();
          return entryIndex >= 0;
        }
    
        @Override
        @ParametricNullness
        public T next() {
          if (!hasNext()) {
            throw new NoSuchElementException();
          }
          T result = result(entryIndex);
          toRemove = entryIndex;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 05 23:15:58 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Streams.java

                    min(splitrA.estimateSize(), splitrB.estimateSize()), characteristics) {
                  @Override
                  public boolean tryAdvance(Consumer<? super R> action) {
                    if (itrA.hasNext() && itrB.hasNext()) {
                      action.accept(function.apply(itrA.next(), itrB.next()));
                      return true;
                    }
                    return false;
                  }
                },
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 36.4K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/hash/HashTestUtils.java

        byte[] key = new byte[256];
        byte[] hashes = new byte[hashBytes * 256];
    
        // Hash keys of the form {}, {0}, {0,1}, {0,1,2}... up to N=255,using 256-N as the seed
        for (int i = 0; i < 256; i++) {
          key[i] = (byte) i;
          int seed = 256 - i;
          byte[] hash = hashFunction.hash(Arrays.copyOf(key, i), seed);
          System.arraycopy(hash, 0, hashes, i * hashBytes, hash.length);
        }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:19:59 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/collection/EmptyIterator.java

         */
        public EmptyIterator() {
        }
    
        @Override
        public void remove() {
            throw new ClUnsupportedOperationException("remove");
        }
    
        @Override
        public boolean hasNext() {
            return false;
        }
    
        @Override
        public T next() {
            throw new ClUnsupportedOperationException("next");
        }
    
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 1.3K bytes
    - Viewed (0)
Back to top