- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 93 for obj (0.27 sec)
-
android/guava-tests/test/com/google/common/collect/ListsImplTest.java
int index = 0; for (Object obj : toTest) { String name = "toTest[" + index + "] (" + obj + ")"; assertWithMessage(name).that(Lists.indexOfImpl(toTest, obj)).isEqualTo(expected[index]); index++; } } private void checkLastIndexOf(List<?> toTest, int[] expected) { int index = 0; for (Object obj : toTest) { String name = "toTest[" + index + "] (" + obj + ")";
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Feb 26 16:35:21 GMT 2024 - 10.6K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/artifact/repository/MavenArtifactRepository.java
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Dec 26 15:12:32 GMT 2022 - 11K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Suppliers.java
@ParametricNullness public T get() { return function.apply(supplier.get()); } @Override public boolean equals(@CheckForNull Object obj) { if (obj instanceof SupplierComposition) { SupplierComposition<?, ?> that = (SupplierComposition<?, ?>) obj; return function.equals(that.function) && supplier.equals(that.supplier); } return false; } @Override
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 15.3K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 15.7K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/EqualsTesterTest.java
/** Test proper handling of case where an object is not equal to itself */ public void testNonReflexiveEquals() { Object obj = new NonReflexiveObject(); equalsTester.addEqualityGroup(obj); try { equalsTester.testEquals(); } catch (AssertionFailedError e) { assertErrorMessage(e, obj + " must be Object#equals to itself"); return; } fail("Should get non-reflexive error"); }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Apr 17 15:49:06 GMT 2023 - 12.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/Helpers.java
} return lhs.compareTo(justAfterNull); } return lhs.compareTo(rhs); } @Override public boolean equals(@Nullable Object obj) { if (obj instanceof NullsBefore) { NullsBefore other = (NullsBefore) obj; return justAfterNull.equals(other.justAfterNull); } return false; } @Override public int hashCode() {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Feb 26 19:46:10 GMT 2024 - 17.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NbtAddress.java
* is based on the integer IP address and not the string representation. */ public boolean equals( Object obj ) { return ( obj != null ) && ( obj instanceof NbtAddress ) && ( ((NbtAddress)obj).address == address ); } /** * Returns the {@link java.lang.String} representaion of this address. */ public String toString() {
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 20:39:42 GMT 2019 - 30.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/TypeTokenSubtypeTest.java
UseIterable<? extends CharSequence> obj) { return isSubtype(obj); } @TestSubtype(suppressGetSupertype = true, suppressGetSubtype = true) public UseSerializableIterable<? extends Serializable> implicitTypeBoundIsSubtypeOfPartialExplicitTypeBound(UseSerializableIterable<?> obj) { return isSubtype(obj); }
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 20.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/Collections2.java
return new OrderedPermutationIterator<E>(inputList, comparator); } @Override public boolean contains(@CheckForNull Object obj) { if (obj instanceof List) { List<?> list = (List<?>) obj; return isPermutation(inputList, list); } return false; } @Override public String toString() {
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 23.1K bytes - Viewed (0) -
guava/src/com/google/common/cache/CacheBuilderSpec.java
durationInNanos(refreshDuration, refreshTimeUnit)); } @Override public boolean equals(@CheckForNull Object obj) { if (this == obj) { return true; } if (!(obj instanceof CacheBuilderSpec)) { return false; } CacheBuilderSpec that = (CacheBuilderSpec) obj; return Objects.equal(initialCapacity, that.initialCapacity) && Objects.equal(maximumSize, that.maximumSize)
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Aug 22 14:27:44 GMT 2022 - 18.1K bytes - Viewed (0)