- Sort Score
- Num 10 results
- Language All
Results 581 - 590 of 2,301 for contains (0.13 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
android/guava-testlib/src/com/google/common/collect/testing/testers/SetEqualsTester.java
Collection<E> elements = getSampleElements(getNumElements() - 1); elements.add(null); Set<E> other = MinimalSet.from(elements); assertFalse( "Two Sets should not be equal if exactly one of them contains null.", getSet().equals(other)); } @CollectionSize.Require(absent = CollectionSize.ZERO) public void testEquals_smallerSet() { Collection<E> fewerElements = getSampleElements(getNumElements() - 1);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 3.6K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/SetEqualsTester.java
Collection<E> elements = getSampleElements(getNumElements() - 1); elements.add(null); Set<E> other = MinimalSet.from(elements); assertFalse( "Two Sets should not be equal if exactly one of them contains null.", getSet().equals(other)); } @CollectionSize.Require(absent = CollectionSize.ZERO) public void testEquals_smallerSet() { Collection<E> fewerElements = getSampleElements(getNumElements() - 1);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 3.6K bytes - Click Count (0) -
guava/src/com/google/common/collect/ArrayTable.java
* href="https://github.com/google/guava/wiki/NewCollectionTypesExplained#table">the wiki</a>. * * <p>The allowed row and column keys must be supplied when the table is created. The table always * contains a mapping for every row key / column pair. The value corresponding to a given row and * column is null unless another value is provided. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 26.9K bytes - Click Count (0) -
.teamcity/scripts/CheckBadMerge.java
System.out.println(" p1Branches: " + p1Branches); System.out.println(" p2Branches: " + p2Branches); boolean p1IsMaster = p1Branches.contains("origin/master"); boolean p2IsMaster = p2Branches.contains("origin/master"); boolean p2IsRelease = p2Branches.stream().anyMatch(b -> b.startsWith("origin/release")); if (p1IsMaster && !p2IsMaster && p2IsRelease) {
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Mar 30 16:25:09 GMT 2026 - 9K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/ProjectSegment.java
* ProjectBuildList.getByTaskSegments). Or maybe they should be introduced in the calculation * of the execution plan instead, which seems much nicer. * </p> * <p> * Additionally this class contains a clone of the MavenSession, which is *only* needed * because it has as notion of a "current" project. * </p> * <strong>NOTE:</strong> This class is not part of any public api and can be changed or deleted without prior notice.
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 3.5K bytes - Click Count (0) -
src/test/java/jcifs/smb/SSPContextTest.java
DummySSPContext ctx = new DummySSPContext(null, false, null, null, 0, false); CIFSException ex = assertThrows(CIFSException.class, ctx::getSigningKey); assertTrue(ex.getMessage().contains("signing key")); } @Test @DisplayName("initSecContext throws on invalid ranges") void testInitSecContextInvalidRanges() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.2K bytes - Click Count (0) -
guava/src/com/google/common/collect/BiMap.java
* @param value the value to be associated with the specified key * @return the value that was previously associated with the key, or {@code null} if there was no * previous entry. (If the bimap contains null values, then {@code forcePut}, like {@code * put}, returns {@code null} both if the key is absent and if it is present with a null * value.) */ @CanIgnoreReturnValueCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Aug 06 17:32:30 GMT 2025 - 4.2K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/SessionReuseTest.kt
assertNotEquals(sessionIds[0], sessionIds[1]) } else { // With TLSv1.2 it is really JDK specific. // assertEquals(sessionIds[0], sessionIds[1]) // assertThat(directSessionIds).contains(sessionIds[0], sessionIds[1]) } assertThat(sessionIds[0]).isNotEmpty() } } private fun enableTls() { client = client .newBuilder()
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat Nov 01 12:18:11 GMT 2025 - 5.9K bytes - Click Count (1) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureCancellationCauseTest.java
CancellationException expected = assertThrows(CancellationException.class, future::get); assertThat(expected).hasCauseThat().isInstanceOf(IllegalArgumentException.class); assertThat(expected).hasCauseThat().hasMessageThat().contains(badFuture.toString()); } private Future<?> newFutureInstance() throws Exception { return (Future<?>) settableFutureClass.getMethod("create").invoke(null); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 6.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractFutureCancellationCauseTest.java
CancellationException expected = assertThrows(CancellationException.class, future::get); assertThat(expected).hasCauseThat().isInstanceOf(IllegalArgumentException.class); assertThat(expected).hasCauseThat().hasMessageThat().contains(badFuture.toString()); } private Future<?> newFutureInstance() throws Exception { return (Future<?>) settableFutureClass.getMethod("create").invoke(null); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 6.3K bytes - Click Count (0)