Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 1,664 for contains (0.07 seconds)

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

        assertThat(graph.edgeValueOrDefault(4, 4, DEFAULT)).isEqualTo("valueD");
    
        String toString = graph.toString();
        assertThat(toString).contains("valueA");
        assertThat(toString).contains("valueB");
        assertThat(toString).contains("valueC");
        assertThat(toString).contains("valueD");
      }
    
      @Test
      public void undirectedGraph() {
        graph = ValueGraphBuilder.undirected().allowsSelfLoops(true).build();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 07 15:57:03 GMT 2025
    - 18.1K bytes
    - Click Count (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetRemoveTester.java

        assertEquals(
            "multiset.remove(present, 2) didn't return the old count",
            1,
            getMultiset().remove(e0(), 2));
        assertFalse(
            "multiset contains present after multiset.remove(present, 2)",
            getMultiset().contains(e0()));
        assertEquals(0, getMultiset().count(e0()));
      }
    
      @CollectionSize.Require(SEVERAL)
      @CollectionFeature.Require(SUPPORTS_REMOVE)
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 7K bytes
    - Click Count (0)
  3. guava-testlib/src/com/google/common/collect/testing/google/MultisetRemoveTester.java

        assertEquals(
            "multiset.remove(present, 2) didn't return the old count",
            1,
            getMultiset().remove(e0(), 2));
        assertFalse(
            "multiset contains present after multiset.remove(present, 2)",
            getMultiset().contains(e0()));
        assertEquals(0, getMultiset().count(e0()));
      }
    
      @CollectionSize.Require(SEVERAL)
      @CollectionFeature.Require(SUPPORTS_REMOVE)
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 7K bytes
    - Click Count (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/TypeNameResolver.java

                candidateClassName = outerClassName + '.' + name;
                if (outerClass.getInnerClassNames().contains(candidateClassName)) {
                    return candidateClassName;
                }
                outerClassName = outerClass.getOuterClassName();
            }
    
            if (name.contains(".")) {
                return name;
            }
    
            for (String importedClass : classMetaData.getImports()) {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Jul 16 15:20:01 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java

       */
      @CanIgnoreReturnValue
      protected C resetContainer(C newValue) {
        container = newValue;
        return container;
      }
    
      /**
       * @see #expectContents(java.util.Collection)
       * @param elements expected contents of {@link #container}
       */
      protected final void expectContents(E... elements) {
        expectContents(asList(elements));
      }
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 20:54:16 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  6. impl/maven-core/src/test/java/org/apache/maven/project/ProjectSorterTest.java

            // the order of these two is non-deterministic, based on when they're added to the reactor.
            assertTrue(projects.contains(pluginProject), "Expected " + projects + " to contain " + pluginProject);
            assertTrue(
                    projects.contains(pluginLevelDepProject),
                    "Expected " + projects + " to contain " + pluginLevelDepProject);
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 12.7K bytes
    - Click Count (0)
  7. api/maven-api-di/src/main/java/org/apache/maven/di/tool/package-info.java

     * specific language governing permissions and limitations
     * under the License.
     */
    
    /**
     * Provides tools for processing Maven dependency injection annotations at compile time.
     * <p>
     * This package contains annotation processors that generate metadata files used by
     * the Maven dependency injection system. The main component is the {@link org.apache.maven.di.tool.DiIndexProcessor},
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Apr 03 13:33:59 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/math/StatsAccumulator.java

       * <p>If the dataset contains {@link Double#NaN} then the result is {@link Double#NaN}. If it
       * contains both {@link Double#POSITIVE_INFINITY} and {@link Double#NEGATIVE_INFINITY} then the
       * result is {@link Double#NaN}. If it contains {@link Double#POSITIVE_INFINITY} and finite values
       * only or {@link Double#POSITIVE_INFINITY} only, the result is {@link Double#POSITIVE_INFINITY}.
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Apr 14 16:36:11 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/collect/Collections2Test.java

        assertTrue(permutationSet.contains(newArrayList(1, 2, 3)));
        assertTrue(permutationSet.contains(newArrayList(2, 3, 1)));
        assertFalse(permutationSet.contains(newArrayList(1, 2)));
        assertFalse(permutationSet.contains(newArrayList(1, 1, 2, 3)));
        assertFalse(permutationSet.contains(newArrayList(1, 2, 3, 4)));
        assertFalse(permutationSet.contains(null));
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 20.1K bytes
    - Click Count (0)
  10. guava/src/com/google/common/graph/IncidentEdgeSet.java

              || (node.equals(target) && predecessorsOrEmpty(node).contains(source));
        } else {
          Set<N> adjacent = graph.adjacentNodes(node);
          Object nodeU = endpointPair.nodeU();
          Object nodeV = endpointPair.nodeV();
    
          return (node.equals(nodeV) && adjacent.contains(nodeU))
              || (node.equals(nodeU) && adjacent.contains(nodeV));
        }
      }
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 07 15:57:03 GMT 2025
    - 3.3K bytes
    - Click Count (0)
Back to Top