Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 89 for emptyKey (0.08 sec)

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

      public void testCartesianProduct_binary0x0() {
        Set<Integer> mt = emptySet();
        assertEmpty(cartesianProduct(mt, mt));
      }
    
      public void testCartesianProduct_binary0x1() {
        Set<Integer> mt = emptySet();
        assertEmpty(cartesianProduct(mt, set(1)));
      }
    
      public void testCartesianProduct_binary1x0() {
        Set<Integer> mt = emptySet();
        assertEmpty(cartesianProduct(set(1), mt));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 48.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableSetMultimap.java

       * values.
       */
      private final transient ImmutableSet<V> emptySet;
    
      ImmutableSetMultimap(
          ImmutableMap<K, ImmutableSet<V>> map,
          int size,
          @CheckForNull Comparator<? super V> valueComparator) {
        super(map, size);
        this.emptySet = emptySet(valueComparator);
      }
    
      // views
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  3. 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.errorprone.annotations.CanIgnoreReturnValue;
    import java.util.Collection;
    import java.util.Map;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  4. 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.errorprone.annotations.CanIgnoreReturnValue;
    import java.util.Collection;
    import java.util.Map;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/BiMapTestSuiteBuilder.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect.testing.google;
    
    import static java.util.Collections.emptySet;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.collect.BiMap;
    import com.google.common.collect.testing.AbstractTester;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  6. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/RegularImmutableSet.java

     */
    @ElementTypesAreNonnullByDefault
    final class RegularImmutableSet<E> extends ForwardingImmutableSet<E> {
      static final RegularImmutableSet<Object> EMPTY =
          new RegularImmutableSet<Object>(Collections.emptySet());
    
      RegularImmutableSet(Set<E> delegate) {
        super(delegate);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 23 18:43:40 UTC 2024
    - 1K bytes
    - Viewed (0)
  7. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 19K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/SortedMapTestSuiteBuilder.java

    package com.google.common.collect.testing;
    
    import static com.google.common.collect.testing.Helpers.copyToList;
    import static com.google.common.collect.testing.features.CollectionFeature.KNOWN_ORDER;
    import static java.util.Collections.emptySet;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.collect.testing.DerivedCollectionGenerators.Bound;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/google/MultisetTestSuiteBuilder.java

    package com.google.common.collect.testing.google;
    
    import static com.google.common.base.Preconditions.checkArgument;
    import static com.google.common.collect.testing.Helpers.copyToList;
    import static java.util.Collections.emptySet;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.collect.Multiset;
    import com.google.common.collect.Multiset.Entry;
    import com.google.common.collect.Multisets;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  10. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.5K bytes
    - Viewed (0)
Back to top