Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,882 for contain (0.26 sec)

  1. guava-testlib/src/com/google/common/collect/testing/google/AbstractBiMapTester.java

          BiMap<V, K> inv = getMap().inverse();
          assertFalse(
              "Inverse should not contain entry " + reversed, inv.entrySet().contains(reversed));
          assertFalse(
              "Inverse should not contain key " + reversed.getKey(),
              inv.containsKey(reversed.getKey()));
          assertFalse(
              "Inverse should not contain value " + reversed.getValue(),
              inv.containsValue(reversed.getValue()));
          /*
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractBiMapTester.java

          BiMap<V, K> inv = getMap().inverse();
          assertFalse(
              "Inverse should not contain entry " + reversed, inv.entrySet().contains(reversed));
          assertFalse(
              "Inverse should not contain key " + reversed.getKey(),
              inv.containsKey(reversed.getKey()));
          assertFalse(
              "Inverse should not contain value " + reversed.getValue(),
              inv.containsValue(reversed.getValue()));
          /*
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapPutIfAbsentTester.java

          fail("putIfAbsent(null, value) should throw");
        } catch (NullPointerException expected) {
        }
        expectUnchanged();
        expectNullKeyMissingWhenNullKeysUnsupported(
            "Should not contain null key after unsupported putIfAbsent(null, value)");
      }
    
      @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUES)
      public void testPutIfAbsent_nullValueUnsupported() {
        try {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/reflect/TypeToInstanceMap.java

     * type {@code Iterable<Integer>}, the map won't be able to detect and throw type error.
     *
     * <p>Like any other {@code Map<Class, Object>}, this map may contain entries for primitive types,
     * and a primitive type and its corresponding wrapper type may map to different values.
     *
     * @param <B> the common supertype that all entries must share; often this is simply {@link Object}
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sat Apr 22 01:15:23 GMT 2023
    - 3.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/graph/EndpointPair.java

        return nodeV;
      }
    
      /**
       * Returns the node that is adjacent to {@code node} along the origin edge.
       *
       * @throws IllegalArgumentException if this {@link EndpointPair} does not contain {@code node}
       * @since 20.0 (but the argument type was changed from {@code Object} to {@code N} in 31.0)
       */
      public final N adjacentNode(N node) {
        if (node.equals(nodeU)) {
          return nodeV;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Oct 01 17:18:04 GMT 2021
    - 8.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/HashBiMap.java

       * null} even for a map which supposedly does not contain null elements, if the key is not present
       * when {@code getValue()} is called.
       */
      final class EntryForKey extends AbstractMapEntry<K, V> {
        @ParametricNullness final K key;
        int index;
    
        EntryForKey(int index) {
          // The cast is safe because we call forEntry only for indexes that contain entries.
          this.key = uncheckedCastNullableTToT(keys[index]);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 06 16:06:58 GMT 2023
    - 36.4K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/testers/QueueOfferTester.java

        try {
          getQueue().offer(null);
          fail("offer(null) should throw");
        } catch (NullPointerException expected) {
        }
        expectUnchanged();
        expectNullMissingWhenNullUnsupported("Should not contain null after unsupported offer(null)");
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/CompactLinkedHashSet.java

       * Creates a <i>mutable</i> {@code CompactLinkedHashSet} instance containing the elements of the
       * given collection in the order returned by the collection's iterator.
       *
       * @param collection the elements that the set should contain
       * @return a new {@code CompactLinkedHashSet} containing those elements (minus duplicates)
       */
      public static <E extends @Nullable Object> CompactLinkedHashSet<E> create(
          Collection<? extends E> collection) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 9.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/AbstractListMultimap.java

        return super.asMap();
      }
    
      /**
       * Compares the specified object to this multimap for equality.
       *
       * <p>Two {@code ListMultimap} instances are equal if, for each key, they contain the same values
       * in the same order. If the value orderings disagree, the multimaps will not be considered equal.
       */
      @Override
      public boolean equals(@CheckForNull Object object) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 15 21:08:00 GMT 2021
    - 4.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/AbstractListMultimap.java

        return super.asMap();
      }
    
      /**
       * Compares the specified object to this multimap for equality.
       *
       * <p>Two {@code ListMultimap} instances are equal if, for each key, they contain the same values
       * in the same order. If the value orderings disagree, the multimaps will not be considered equal.
       */
      @Override
      public boolean equals(@CheckForNull Object object) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 15 21:08:00 GMT 2021
    - 4.4K bytes
    - Viewed (0)
Back to top