- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 2,250 for contains (0.1 sec)
-
android/guava-testlib/test/com/google/common/testing/EquivalenceTesterTest.java
+ "equal to the hash (2) of TestObject{group=1, item=2} [group 1, item 2]"; if (!expected.getMessage().contains(expectedMessage)) { fail("<" + expected.getMessage() + "> expected to contain <" + expectedMessage + ">"); } return; } fail(); } /** An object with a friendly {@link #toString()}. */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 15:00:32 UTC 2024 - 8.3K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/EquivalenceTesterTest.java
+ "equal to the hash (2) of TestObject{group=1, item=2} [group 1, item 2]"; if (!expected.getMessage().contains(expectedMessage)) { fail("<" + expected.getMessage() + "> expected to contain <" + expectedMessage + ">"); } return; } fail(); } /** An object with a friendly {@link #toString()}. */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 15:00:32 UTC 2024 - 8.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RegularContiguousSet.java
@Override int indexOf(@CheckForNull Object target) { if (!contains(target)) { return -1; } // The cast is safe because of the contains checkāat least for any reasonable Comparable class. @SuppressWarnings("unchecked") // requireNonNull is safe because of the contains check. C c = (C) requireNonNull(target); return (int) domain.distance(first(), c); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 8.4K bytes - Viewed (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/building/SimpleProblemCollector.java
if (!fatals.contains(req.getMessage())) { fatals.add(req.getMessage()); } break; case ERROR: if (!errors.contains(req.getMessage())) { errors.add(req.getMessage()); } break; case WARNING: if (!warnings.contains(req.getMessage())) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableRangeMapTest.java
for (int i = MIN_BOUND; i <= MAX_BOUND; i++) { Integer expectedValue = null; if (range1.contains(i)) { expectedValue = 1; } else if (range2.contains(i)) { expectedValue = 2; } assertEquals(expectedValue, rangeMap.get(i)); } } } } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 9.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/ProtocolHelper.java
final String prefix = protocol + ":"; if (stream(webProtocols).get(stream -> stream.anyMatch(s -> s.equals(prefix)))) { logger.debug("web protocols contains {}.", protocol); return; } webProtocols = Arrays.copyOf(webProtocols, webProtocols.length + 1); webProtocols[webProtocols.length - 1] = prefix; }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Wed Jun 19 01:34:15 UTC 2024 - 7.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/MathPreconditionsTest.java
ArithmeticException.class, () -> MathPreconditions.checkInRangeForRoundingInputs(false, 1.0, RoundingMode.UP)); assertThat(expected).hasMessageThat().contains("1.0"); assertThat(expected).hasMessageThat().contains("UP"); } public void testCheckNoOverflow_success() { MathPreconditions.checkNoOverflow(true, "testCheckNoOverflow_success", 0, 0); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 15:00:32 UTC 2024 - 8K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/BytesTest.java
} public void testContains() { assertThat(Bytes.contains(EMPTY, (byte) 1)).isFalse(); assertThat(Bytes.contains(ARRAY1, (byte) 2)).isFalse(); assertThat(Bytes.contains(ARRAY234, (byte) 1)).isFalse(); assertThat(Bytes.contains(new byte[] {(byte) -1}, (byte) -1)).isTrue(); assertThat(Bytes.contains(ARRAY234, (byte) 2)).isTrue(); assertThat(Bytes.contains(ARRAY234, (byte) 3)).isTrue();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 17.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MoreCollectorsTest.java
assertThat(expected.getMessage()).contains("1, 2"); } public void testOnlyElementMany() { IllegalArgumentException expected = assertThrows( IllegalArgumentException.class, () -> Stream.of(1, 2, 3, 4, 5, 6).collect(onlyElement())); assertThat(expected.getMessage()).contains("1, 2, 3, 4, 5, ..."); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 20:24:49 UTC 2024 - 3.2K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/profiles/DefaultProfileManager.java
*/ @Deprecated public DefaultProfileManager(PlexusContainer container) { this(container, null); } /** * the properties passed to the profile manager are the props that * are passed to maven, possibly containing profile activator properties * */ public DefaultProfileManager(PlexusContainer container, Properties props) { try {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.7K bytes - Viewed (0)