Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 48 for MISSING (0.2 sec)

  1. android/guava-tests/test/com/google/common/graph/AbstractStandardDirectedGraphTest.java

        assertThat(e).hasMessageThat().contains(ENDPOINTS_MISMATCH);
      }
    
      /**
       * Tests that the method {@code putEdge} will silently add the missing nodes to the graph, then
       * add the edge connecting them. We are not using the proxy methods here as we want to test {@code
       * putEdge} when the end-points are not elements of the graph.
       */
      @Test
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 14.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableSetMultimap.java

            builder.put(key, set);
            size += set.size();
          }
        }
    
        return new ImmutableSetMultimap<>(builder.buildOrThrow(), size, valueComparator);
      }
    
      /**
       * Returned by get() when a missing key is provided. Also holds the comparator, if any, used for
       * values.
       */
      private final transient ImmutableSet<V> emptySet;
    
      ImmutableSetMultimap(
          ImmutableMap<K, ImmutableSet<V>> map,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetEntrySetTester.java

            "multiset.entrySet.remove(missingEntry) returned true",
            getMultiset().entrySet().remove(Multisets.immutableEntry(e0(), 2)));
        assertTrue(
            "multiset didn't contain element after removing a missing entry",
            getMultiset().contains(e0()));
      }
    
      @CollectionSize.Require(absent = ZERO)
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      public void testEntrySet_removeAllPresent() {
        assertTrue(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 9.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/TreeMultimapExplicitTest.java

        TreeMultimap<@Nullable String, @Nullable Integer> multimap = createPopulate();
        assertEquals(DECREASING_INT_COMPARATOR, multimap.get("foo").comparator());
        assertEquals(DECREASING_INT_COMPARATOR, multimap.get("missing").comparator());
      }
    
      public void testMultimapComparators() {
        Multimap<String, Integer> multimap = create();
        multimap.put("foo", 3);
        multimap.put("bar", 1);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/graph/AbstractStandardDirectedGraphTest.java

        assertThat(e).hasMessageThat().contains(ENDPOINTS_MISMATCH);
      }
    
      /**
       * Tests that the method {@code putEdge} will silently add the missing nodes to the graph, then
       * add the edge connecting them. We are not using the proxy methods here as we want to test {@code
       * putEdge} when the end-points are not elements of the graph.
       */
      @Test
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 14.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/graph/ImmutableNetwork.java

         * must also be non-null.
         *
         * <p>If either or both endpoints are not already present in this network, this method will
         * silently {@link #addNode(Object) add} each missing endpoint to the network.
         *
         * <p>If {@code edge} already connects an endpoint pair equal to {@code endpoints}, then this
         * method will have no effect.
         *
         * @return this {@code Builder} object
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 01 16:30:37 GMT 2022
    - 9.6K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

        }
      }
    
      public static class ImmutableSetWithBadHashesGenerator extends TestCollidingSetGenerator
          // Work around a GWT compiler bug.  Not explicitly listing this will
          // cause the createArray() method missing in the generated javascript.
          // TODO: Remove this once the GWT bug is fixed.
          implements TestCollectionGenerator<Object> {
        @Override
        public Set<Object> create(Object... elements) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Multisets.java

       * for (E e : occurrencesToRemove) {
       *   multisetToModify.remove(e);
       * }
       * }</pre>
       *
       * @return {@code true} if {@code multisetToModify} was changed as a result of this operation
       * @since 10.0 (missing in 18.0 when only the overload taking an {@code Iterable} was present)
       */
      @CanIgnoreReturnValue
      public static boolean removeOccurrences(
          Multiset<?> multisetToModify, Multiset<?> occurrencesToRemove) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Cut.java

            return compareResult == 0;
          } catch (ClassCastException wastNotComparableToOurType) {
            return false;
          }
        }
        return false;
      }
    
      // Prevent "missing hashCode" warning by explicitly forcing subclasses implement it
      @Override
      public abstract int hashCode();
    
      /*
       * The implementation neither produces nor consumes any non-null instance of type C, so
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/graph/MutableGraph.java

       *
       * <p>If this graph is directed, {@code endpoints} must be ordered.
       *
       * <p>If either or both endpoints are not already present in this graph, this method will silently
       * {@link #addNode(Object) add} each missing endpoint to the graph.
       *
       * @return {@code true} if the graph was modified as a result of this call
       * @throws IllegalArgumentException if the introduction of the edge would violate {@link
       *     #allowsSelfLoops()}
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 26 17:43:39 GMT 2021
    - 3.9K bytes
    - Viewed (0)
Back to top