Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 101 - 110 of 551 for hasTest (0.06 seconds)

  1. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

        abstract T output(@ParametricNullness K key, @ParametricNullness V value);
    
        @Override
        public boolean hasNext() {
          return keyIterator.hasNext() || valueIterator.hasNext();
        }
    
        @Override
        @ParametricNullness
        public T next() {
          if (!valueIterator.hasNext()) {
            Entry<K, Collection<V>> mapEntry = keyIterator.next();
            key = mapEntry.getKey();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Nov 17 22:50:48 GMT 2025
    - 48.4K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/core/lang/ClassIterator.java

            this.includeObject = includeObject;
        }
    
        @Override
        public boolean hasNext() {
            if (!includeObject && clazz == Object.class) {
                return false;
            }
            return clazz != null;
        }
    
        @Override
        public Class<?> next() {
            if (!hasNext()) {
                throw new NoSuchElementException();
            }
            final Class<?> result = clazz;
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Thu Jun 19 09:12:22 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/ProjectBuildList.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.lifecycle.internal;
    
    import java.util.Collections;
    import java.util.HashSet;
    import java.util.Iterator;
    import java.util.List;
    import java.util.Map;
    import java.util.Set;
    import java.util.function.Function;
    import java.util.stream.Collectors;
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.1K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/opensearch/extension/analysis/PosConcatenationFilterFactory.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.opensearch.extension.analysis;
    
    import java.util.HashSet;
    import java.util.List;
    import java.util.Set;
    
    import org.apache.lucene.analysis.TokenStream;
    import org.apache.lucene.analysis.ja.tokenattributes.PartOfSpeechAttribute;
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Sat Mar 15 06:51:20 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb1/http/NetworkExplorer.java

                }
                len = name.length();
                if (len > maxLen) {
                    maxLen = len;
                }
    
                iter = sorted.listIterator();
                for (j = 0; iter.hasNext(); j++) {
                    if (sort == 0) {
                        if (compareNames(dirents[i], name, (SmbFile) iter.next()) < 0) {
                            break;
                        }
                    } else if (sort == 1) {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 22.6K bytes
    - Click Count (0)
  6. guava/src/com/google/common/base/AbstractIterator.java

          state = State.READY;
          return true;
        }
        return false;
      }
    
      @Override
      @ParametricNullness
      public final T next() {
        if (!hasNext()) {
          throw new NoSuchElementException();
        }
        state = State.NOT_READY;
        // Safe because hasNext() ensures that tryToComputeNext() has put a T into `next`.
        T result = uncheckedCastNullableTToT(next);
        next = null;
        return result;
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2.4K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/Multisets.java

          this.multiset = multiset;
          this.entryIterator = entryIterator;
        }
    
        @Override
        public boolean hasNext() {
          return laterCount > 0 || entryIterator.hasNext();
        }
    
        @Override
        @ParametricNullness
        public E next() {
          if (!hasNext()) {
            throw new NoSuchElementException();
          }
          if (laterCount == 0) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 41.3K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/Multisets.java

          this.multiset = multiset;
          this.entryIterator = entryIterator;
        }
    
        @Override
        public boolean hasNext() {
          return laterCount > 0 || entryIterator.hasNext();
        }
    
        @Override
        @ParametricNullness
        public E next() {
          if (!hasNext()) {
            throw new NoSuchElementException();
          }
          if (laterCount == 0) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 41.2K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/core/collection/EmptyIteratorTest.java

            emptyIterator.remove();
        }
    
        /**
         * Test method for
         * {@link org.codelibs.core.collection.EmptyIterator#hasNext()}.
         */
        @Test
        public void testHasNext() {
            final EmptyIterator<String> emptyIterator = new EmptyIterator<String>();
            assertThat(emptyIterator.hasNext(), is(false));
        }
    
        /**
         * Test method for {@link org.codelibs.core.collection.EmptyIterator#next()}.
         */
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/SetTestSuiteBuilder.java

    import com.google.common.collect.testing.testers.SetRemoveTester;
    import com.google.common.testing.SerializableTester;
    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.HashSet;
    import java.util.List;
    import java.util.Set;
    import junit.framework.TestSuite;
    
    /**
     * Creates, based on your criteria, a JUnit test suite that exhaustively tests a Set implementation.
     *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 4.7K bytes
    - Click Count (0)
Back to Top