Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 97 for emptyKey (0.05 seconds)

  1. android/guava-tests/test/com/google/common/collect/ContiguousSetTest.java

      }
    
      public void testIntersection_empty() {
        ContiguousSet<Integer> set = ContiguousSet.closed(1, 3);
        ContiguousSet<Integer> emptySet = ContiguousSet.closedOpen(2, 2);
        assertEquals(ImmutableSet.of(), set.intersection(emptySet));
        assertEquals(ImmutableSet.of(), emptySet.intersection(set));
        assertEquals(
            ImmutableSet.of(),
            ContiguousSet.create(Range.closed(-5, -1), integers())
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 19.6K bytes
    - Click Count (0)
  2. android/guava-testlib/test/com/google/common/collect/testing/MinimalIterableTest.java

        assertThrows(IllegalStateException.class, () -> iterable.iterator());
      }
    
      public void testFrom_empty() {
        Iterable<String> iterable = MinimalIterable.from(Collections.<String>emptySet());
        Iterator<String> iterator = iterable.iterator();
        assertFalse(iterator.hasNext());
        assertThrows(NoSuchElementException.class, () -> iterator.next());
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Oct 30 16:15:19 GMT 2024
    - 2.6K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/AbstractSetMultimap.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static java.util.Collections.emptySet;
    import static java.util.Collections.unmodifiableSet;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Mar 20 13:05:10 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java

        array[2] = 2;
        assertThat(iia.asList()).containsExactly(0L, 1L, 3L).inOrder();
      }
    
      public void testCopyOf_iterable_notCollection_empty() {
        Iterable<Long> iterable = iterable(Collections.<Long>emptySet());
        assertThat(ImmutableLongArray.copyOf(iterable)).isSameInstanceAs(ImmutableLongArray.of());
      }
    
      public void testCopyOf_iterable_notCollection_nonempty() {
        List<Long> list = Arrays.asList(0L, 1L, 3L);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Dec 12 14:49:24 GMT 2025
    - 20.9K bytes
    - Click Count (0)
  5. impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/LifeCyclePluginAnalyzerStub.java

                plugins.add(newPlugin("maven-install-plugin", "install"));
                plugins.add(newPlugin("maven-deploy-plugin", "deploy"));
            } else {
                plugins = Collections.emptySet();
            }
    
            return plugins;
        }
    
        private Plugin newPlugin(String artifactId, String... goals) {
            Plugin plugin = new Plugin();
    
            plugin.setGroupId("org.apache.maven.plugins");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/project/artifact/DefaultProjectArtifactsCache.java

                    }
                }
                collect = scopesToCollect == null
                        ? Collections.emptySet()
                        : Collections.unmodifiableSet(new HashSet<>(scopesToCollect));
                resolve = scopesToResolve == null
                        ? Collections.emptySet()
                        : Collections.unmodifiableSet(new HashSet<>(scopesToResolve));
                this.aggregating = aggregating;
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  7. impl/maven-core/src/test/java/org/apache/maven/project/EmptyLifecycleExecutor.java

                plugins.add(newPlugin("maven-install-plugin", "install"));
                plugins.add(newPlugin("maven-deploy-plugin", "deploy"));
            } else {
                plugins = Collections.emptySet();
            }
    
            return plugins;
        }
    
        private Plugin newPlugin(String artifactId, String... goals) {
            Plugin plugin = new Plugin();
    
            plugin.setGroupId("org.apache.maven.plugins");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  8. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AcceptedRegressionsRuleSetup.java

            if (acceptedApiChanges != null) {
                this.acceptedApiChanges = AcceptedApiChanges.fromAcceptedChangesMap(acceptedApiChanges.get()).keySet();
            } else {
                this.acceptedApiChanges = Collections.emptySet();
            }
        }
    
        @Override
        @SuppressWarnings("unchecked")
        public void execute(ViolationCheckContext context) {
            Map<String, Object> userData = (Map<String, Object>) context.getUserData();
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Dec 30 10:14:25 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/project/EmptyLifecycleExecutor.java

                plugins.add(newPlugin("maven-install-plugin", "install"));
                plugins.add(newPlugin("maven-deploy-plugin", "deploy"));
            } else {
                plugins = Collections.emptySet();
            }
    
            return plugins;
        }
    
        private Plugin newPlugin(String artifactId, String... goals) {
            Plugin plugin = new Plugin();
    
            plugin.setGroupId("org.apache.maven.plugins");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  10. impl/maven-core/src/test/java/org/apache/maven/lifecycle/EmptyLifecyclePluginAnalyzer.java

                plugins.add(newPlugin("maven-install-plugin", "install"));
                plugins.add(newPlugin("maven-deploy-plugin", "deploy"));
            } else {
                plugins = Collections.emptySet();
            }
    
            return plugins;
        }
    
        private Plugin newPlugin(String artifactId, String... goals) {
            Plugin plugin = new Plugin();
    
            plugin.setGroupId("org.apache.maven.plugins");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2.4K bytes
    - Click Count (0)
Back to Top