- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for areEqual (0.07 sec)
-
android/guava/src/com/google/common/primitives/ImmutableDoubleArray.java
if (this.length() != that.length()) { return false; } for (int i = 0; i < length(); i++) { if (!areEqual(this.get(i), that.get(i))) { return false; } } return true; } // Match the behavior of Double.equals() private static boolean areEqual(double a, double b) { return Double.doubleToLongBits(a) == Double.doubleToLongBits(b); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 18:05:56 UTC 2024 - 23K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/HashCode.java
if (this.bytes.length != that.getBytesInternal().length) { return false; } boolean areEqual = true; for (int i = 0; i < this.bytes.length; i++) { areEqual &= (this.bytes[i] == that.getBytesInternal()[i]); } return areEqual; } private static final long serialVersionUID = 0; } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 19:54:59 UTC 2024 - 12.6K bytes - Viewed (0) -
guava/src/com/google/common/hash/HashCode.java
if (this.bytes.length != that.getBytesInternal().length) { return false; } boolean areEqual = true; for (int i = 0; i < this.bytes.length; i++) { areEqual &= (this.bytes[i] == that.getBytesInternal()[i]); } return areEqual; } private static final long serialVersionUID = 0; } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 19:54:59 UTC 2024 - 12.6K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java
assertTrue(ArbitraryInstances.get(ImmutableSetMultimap.class).isEmpty()); assertTrue(ArbitraryInstances.get(MapDifference.class).areEqual()); assertTrue(ArbitraryInstances.get(SortedMapDifference.class).areEqual()); assertEquals(Range.all(), ArbitraryInstances.get(Range.class)); assertTrue(ArbitraryInstances.get(NavigableSet.class).isEmpty());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 21.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Maps.java
this.onlyOnRight = unmodifiableMap(onlyOnRight); this.onBoth = unmodifiableMap(onBoth); this.differences = unmodifiableMap(differences); } @Override public boolean areEqual() { return onlyOnLeft.isEmpty() && onlyOnRight.isEmpty() && differences.isEmpty(); } @Override public Map<K, V> entriesOnlyOnLeft() { return onlyOnLeft; } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 161.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/Maps.java
this.onlyOnRight = unmodifiableMap(onlyOnRight); this.onBoth = unmodifiableMap(onBoth); this.differences = unmodifiableMap(differences); } @Override public boolean areEqual() { return onlyOnLeft.isEmpty() && onlyOnRight.isEmpty() && differences.isEmpty(); } @Override public Map<K, V> entriesOnlyOnLeft() { return onlyOnLeft; } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 167.4K bytes - Viewed (0)