Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 48 for Operator (0.17 sec)

  1. src/main/java/org/codelibs/core/collection/IteratorEnumeration.java

         */
        public IteratorEnumeration(final Iterator<T> iterator) {
            assertArgumentNotNull("iterator", iterator);
            this.iterator = iterator;
        }
    
        /**
         * {@link IteratorEnumeration}を作成します。
         *
         * @param iterable
         *            反復可能なオブジェクト。{@literal null}であってはいけません
         */
        public IteratorEnumeration(final Iterable<T> iterable) {
            assertArgumentNotNull("iterable", iterable);
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/PropertiesAsMap.java

            return new AbstractSet<Entry<String, String>>() {
                @Override
                public Iterator<Entry<String, String>> iterator() {
                    Iterator<Entry<Object, Object>> iterator = properties.entrySet().iterator();
                    return new Iterator<Entry<String, String>>() {
                        Entry<String, String> next;
    
                        {
                            advance();
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/collection/EnumerationIterator.java

    import java.util.Enumeration;
    import java.util.Iterator;
    
    import org.codelibs.core.exception.ClUnsupportedOperationException;
    
    /**
     * {@link Enumeration}を {@link Iterator}にするためのアダブタです。
     *
     * @author shot
     * @param <T>
     *            列挙する要素の型
     */
    public class EnumerationIterator<T> implements Iterator<T> {
    
        private Enumeration<T> enumeration = null;
    
        /**
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  4. maven-compat/src/test/java/org/apache/maven/artifact/testutils/TestFileManager.java

            tempFile.deleteOnExit();
            markForDeletion(tempFile);
    
            return tempFile;
        }
    
        public void cleanUp() throws IOException {
            for (Iterator it = filesToDelete.iterator(); it.hasNext(); ) {
                File file = (File) it.next();
    
                if (file.exists()) {
                    if (file.isDirectory()) {
                        FileUtils.deleteDirectory(file);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/lang/ClassLoaderUtil.java

    import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull;
    
    import java.io.IOException;
    import java.lang.reflect.Method;
    import java.net.URL;
    import java.util.Enumeration;
    import java.util.Iterator;
    
    import org.codelibs.core.collection.EnumerationIterator;
    import org.codelibs.core.exception.ClIllegalStateException;
    import org.codelibs.core.exception.ClassNotFoundRuntimeException;
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/internal/impl/SisuDiBridgeModule.java

    import java.lang.annotation.Annotation;
    import java.net.URL;
    import java.nio.charset.StandardCharsets;
    import java.util.ArrayList;
    import java.util.Comparator;
    import java.util.HashSet;
    import java.util.Iterator;
    import java.util.List;
    import java.util.Map;
    import java.util.Set;
    import java.util.function.Supplier;
    import java.util.stream.Collectors;
    
    import com.google.inject.AbstractModule;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/RegularImmutableSortedSet.java

        } else if (isEmpty()) {
          return true;
        }
    
        if (SortedIterables.hasSameComparator(comparator, that)) {
          Iterator<?> otherIterator = that.iterator();
          try {
            Iterator<E> iterator = iterator();
            while (iterator.hasNext()) {
              Object element = iterator.next();
              Object otherElement = otherIterator.next();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 9K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/MappedCollection.java

            this.list = list;
            this.mapper = mapper;
        }
    
        @Override
        public Iterator<U> iterator() {
            Iterator<V> it = list.iterator();
            return new Iterator<U>() {
                @Override
                public boolean hasNext() {
                    return it.hasNext();
                }
    
                @Override
                public U next() {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/TreeMultimapExplicitTest.java

        TreeMultimap<@Nullable String, @Nullable Integer> multimap = createPopulate();
        Iterator<Entry<String, Collection<Integer>>> iterator = multimap.asMap().entrySet().iterator();
        Entry<String, Collection<Integer>> entry = iterator.next();
        assertEquals(null, entry.getKey());
        assertThat(entry.getValue()).containsExactly(7, 3, 1);
        entry = iterator.next();
        assertEquals("tree", entry.getKey());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  10. maven-compat/src/test/java/org/apache/maven/project/inheritance/t08/ProjectInheritanceTest.java

            Set set = project1.getArtifacts();
            assertNotNull(set, "No artifacts");
            assertTrue(set.size() > 0, "No Artifacts");
            Iterator iter = set.iterator();
            assertTrue(set.size() == 4, "Set size should be 4, is " + set.size());
    
            while (iter.hasNext()) {
                Artifact artifact = (Artifact) iter.next();
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 3K bytes
    - Viewed (0)
Back to top