Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 622 for elementId (0.05 sec)

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

       * 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
      public void putEdge_nodesNotInGraph() {
        assume().that(graphIsMutable()).isTrue();
    
        graphAsMutableGraph.addNode(N1);
        assertTrue(graphAsMutableGraph.putEdge(N1, N5));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/SetViewTest.java

                      @Override
                      protected Set<String> create(String[] elements) {
                        // Put the sets in different orders for the hell of it
                        return union(
                            new LinkedHashSet<>(asList(elements[0], elements[1], elements[2])),
                            new LinkedHashSet<>(asList(elements[1], elements[0], elements[2])));
                      }
                    })
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.9K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/TestListGenerator.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * Creates sets, containing sample elements, to be tested.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @NullMarked
    public interface TestListGenerator<E extends @Nullable Object> extends TestCollectionGenerator<E> {
      @Override
      List<E> create(Object... elements);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableListMultimap.java

        implements ListMultimap<K, V> {
      /**
       * Returns a {@link Collector} that accumulates elements into an {@code ImmutableListMultimap}
       * whose keys and values are the result of applying the provided mapping functions to the input
       * elements.
       *
       * <p>For streams with defined encounter order (as defined in the Ordering section of the {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/TestsForSetsInJavaUtil.java

                new TestEnumSetGenerator() {
                  @Override
                  public Set<AnEnum> create(AnEnum[] elements) {
                    return (elements.length == 0)
                        ? EnumSet.noneOf(AnEnum.class)
                        : EnumSet.copyOf(MinimalCollection.of(elements));
                  }
                })
            .named("EnumSet")
            .withFeatures(
                SetFeature.GENERAL_PURPOSE,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 15K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/SortedMapGenerators.java

        @Override
        protected List<String> create(String[] elements) {
          ImmutableSortedMap.Builder<String, Integer> builder = ImmutableSortedMap.naturalOrder();
          for (int i = 0; i < elements.length; i++) {
            builder.put(elements[i], i);
          }
          return builder.build().keySet().asList();
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ForwardingNavigableSet.java

     * invoke methods, they invoke methods on the {@code ForwardingNavigableSet}.
     *
     * <p>Each of the {@code standard} methods uses the set's comparator (or the natural ordering of the
     * elements, if there is no comparator) to test element equality. As a result, if the comparator is
     * not consistent with equals, some of the standard implementations may violate the {@code Set}
     * contract.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/package-info.java

     * called the <dfn>aggregator project</dfn> lists one or more <dfn>modules</dfn>
     * which are relative pointers on the file system to other projects. This is done using
     * the {@code /project/modules/module} elements of the POM in the aggregator project.
     * Note that the aggregator project is required to have a {@code pom} packaging.</p>
     *
     * <p><dfn>Project inheritance</dfn> defines a parent-child relationship between projects.
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Mar 05 14:29:21 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/SetTestSuiteBuilder.java

        }
    
        @Override
        public SampleElements<E> samples() {
          return gen.samples();
        }
    
        @Override
        public Set<E> create(Object... elements) {
          return (Set<E>) SerializableTester.reserialize(gen.create(elements));
        }
    
        @Override
        public E[] createArray(int length) {
          return gen.createArray(length);
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

        @ParametricNullness
        public V set(int index, @ParametricNullness V element) {
          refreshIfEmpty();
          return getListDelegate().set(index, element);
        }
    
        @Override
        public void add(int index, @ParametricNullness V element) {
          refreshIfEmpty();
          boolean wasEmpty = getDelegate().isEmpty();
          getListDelegate().add(index, element);
          totalSize++;
          if (wasEmpty) {
            addToMap();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Aug 12 15:51:57 UTC 2025
    - 48.2K bytes
    - Viewed (0)
Back to top