- Sort Score
- Result 10 results
- Languages All
Results 371 - 380 of 2,250 for contains (0.05 sec)
-
guava/src/com/google/common/collect/CartesianList.java
return axesSizeProduct[0]; } @Override public boolean contains(@CheckForNull Object object) { if (!(object instanceof List)) { return false; } List<?> list = (List<?>) object; if (list.size() != axes.size()) { return false; } int i = 0; for (Object o : list) { if (!axes.get(i).contains(o)) { return false; } i++; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Nov 30 21:54:06 UTC 2023 - 4.8K bytes - Viewed (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/DefaultArtifactVersion.java
if (buildNumber == null) { qualifier = part2; } } else { qualifier = part2; } } if ((!part1.contains(".")) && !part1.startsWith("0")) { majorVersion = tryParseInt(part1); if (majorVersion == null) { // qualifier is the whole version, including "-" qualifier = version;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6K bytes - Viewed (0) -
internal/config/certs.go
package config import ( "bytes" "crypto/tls" "crypto/x509" "encoding/pem" "errors" "os" "github.com/minio/pkg/v3/env" ) // EnvCertPassword is the environment variable which contains the password used // to decrypt the TLS private key. It must be set if the TLS private key is // password protected. const EnvCertPassword = "MINIO_CERT_PASSWD"
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 14 17:11:51 UTC 2024 - 3.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java
ImmutableIntArray iia = ImmutableIntArray.of(1, 1, 2, 3, 5, 8); assertThat(iia.contains(1)).isTrue(); assertThat(iia.contains(8)).isTrue(); assertThat(iia.contains(4)).isFalse(); assertThat(ImmutableIntArray.of(13).contains(13)).isTrue(); assertThat(ImmutableIntArray.of().contains(21)).isFalse(); assertThat(iia.subArray(1, 5).contains(1)).isTrue(); } public void testForEach() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 18:05:56 UTC 2024 - 20.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java
assertThat(iia.contains(1)).isTrue(); assertThat(iia.contains(8)).isTrue(); assertThat(iia.contains(4)).isFalse(); assertThat(ImmutableDoubleArray.of(13).contains(13)).isTrue(); assertThat(ImmutableDoubleArray.of().contains(21)).isFalse(); assertThat(iia.subArray(1, 5).contains(1)).isTrue(); } public void testForEach() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 18:05:56 UTC 2024 - 21.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/FloatsTest.java
public void testContains() { assertThat(Floats.contains(EMPTY, (float) 1)).isFalse(); assertThat(Floats.contains(ARRAY1, (float) 2)).isFalse(); assertThat(Floats.contains(ARRAY234, (float) 1)).isFalse(); assertThat(Floats.contains(new float[] {(float) -1}, (float) -1)).isTrue(); assertThat(Floats.contains(ARRAY234, (float) 2)).isTrue(); assertThat(Floats.contains(ARRAY234, (float) 3)).isTrue();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 30.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/DoublesTest.java
public void testContains() { assertThat(Doubles.contains(EMPTY, (double) 1)).isFalse(); assertThat(Doubles.contains(ARRAY1, (double) 2)).isFalse(); assertThat(Doubles.contains(ARRAY234, (double) 1)).isFalse(); assertThat(Doubles.contains(new double[] {(double) -1}, (double) -1)).isTrue(); assertThat(Doubles.contains(ARRAY234, (double) 2)).isTrue(); assertThat(Doubles.contains(ARRAY234, (double) 3)).isTrue();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 32.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/FloatsTest.java
public void testContains() { assertThat(Floats.contains(EMPTY, (float) 1)).isFalse(); assertThat(Floats.contains(ARRAY1, (float) 2)).isFalse(); assertThat(Floats.contains(ARRAY234, (float) 1)).isFalse(); assertThat(Floats.contains(new float[] {(float) -1}, (float) -1)).isTrue(); assertThat(Floats.contains(ARRAY234, (float) 2)).isTrue(); assertThat(Floats.contains(ARRAY234, (float) 3)).isTrue();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 30.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/MutableTypeToInstanceMapTest.java
assertTrue(map.entrySet().contains(immutableEntry(TypeToken.of(Integer.class), null))); assertNull(map.get(TypeToken.of(Integer.class))); assertNull(map.getInstance(Integer.class)); map.putInstance(Long.class, null); assertTrue(map.containsKey(TypeToken.of(Long.class))); assertTrue(map.entrySet().contains(immutableEntry(TypeToken.of(Long.class), null)));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 17:15:24 UTC 2024 - 7.9K bytes - Viewed (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/inheritance/DefaultInheritanceAssemblerTest.java
} catch (AssertionError afe) { // expected failure: wrong relative path calculation assertTrue( afe.getMessage() .contains( "Expected text value 'http://www.apache.org/path/to/parent/child-artifact-id/' but was "
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 7.9K bytes - Viewed (0)