Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 94 for emptyKey (0.04 sec)

  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())
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  2. 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;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Mar 20 13:05:10 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java

      protected abstract <E extends Comparable<? super E>> Set<E> copyOf(
          Iterator<? extends E> elements);
    
      public void testCreation_noArgs() {
        Set<String> set = of();
        assertEquals(Collections.<String>emptySet(), set);
        assertSame(this.<String>of(), set);
      }
    
      public void testCreation_oneElement() {
        Set<String> set = of("a");
        assertEquals(singleton("a"), set);
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.4K bytes
    - Viewed (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);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 12 14:49:24 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  5. 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");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 3.5K bytes
    - Viewed (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;
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Sep 29 14:45:25 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  7. 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");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Absent.java

      }
    
      @Override
      public @Nullable T orNull() {
        return null;
      }
    
      @Override
      public Set<T> asSet() {
        return Collections.emptySet();
      }
    
      @Override
      public <V> Optional<V> transform(Function<? super T, V> function) {
        checkNotNull(function);
        return Optional.absent();
      }
    
      @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Apr 15 22:14:00 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  9. 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());
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.6K bytes
    - Viewed (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");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 2.4K bytes
    - Viewed (0)
Back to top