- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 216 for if (0.22 sec)
-
android/guava/src/com/google/common/collect/RegularImmutableSortedSet.java
@Override public boolean equals(@CheckForNull Object object) { if (object == this) { return true; } if (!(object instanceof Set)) { return false; } Set<?> that = (Set<?>) object; if (size() != that.size()) { return false; } else if (isEmpty()) { return true; } if (SortedIterables.hasSameComparator(comparator, that)) {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 9K bytes - Viewed (0) -
guava/src/com/google/common/base/SmallCharMatcher.java
int startingIndex = smear(c) & mask; int index = startingIndex; do { if (table[index] == 0) { // Check for empty. return false; } else if (table[index] == c) { // Check for match. return true; } else { // Linear probing. index = (index + 1) & mask; } // Check to see if we wrapped around the whole table. } while (index != startingIndex); return false;
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 4.5K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingSortedMultiset.java
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Jan 23 18:43:40 GMT 2024 - 8.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CompactLinkedHashMap.java
*/ @CheckForNull @VisibleForTesting transient long[] links; /** Pointer to the first node in the linked list, or {@code ENDPOINT} if there are no entries. */ private transient int firstEntry; /** Pointer to the last node in the linked list, or {@code ENDPOINT} if there are no entries. */ private transient int lastEntry; private final boolean accessOrder; CompactLinkedHashMap() {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 8.5K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableCollection.java
if (minCapacity < 0) { throw new AssertionError("cannot store more than MAX_VALUE elements"); } // careful of overflow! int newCapacity = oldCapacity + (oldCapacity >> 1) + 1; if (newCapacity < minCapacity) { newCapacity = Integer.highestOneBit(minCapacity - 1) << 1; } if (newCapacity < 0) { newCapacity = Integer.MAX_VALUE;
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Jan 23 18:43:40 GMT 2024 - 5K bytes - Viewed (0) -
.github/workflows/ci.yml
# Note: Normally a step won't run if the job has failed, but this causes it to if: ${{ failure() }} shell: bash run: ./util/print_surefire_reports.sh - name: 'Integration Test' if: matrix.java == 11 shell: bash run: util/gradle_integration_tests.sh publish_snapshot: name: 'Publish snapshot' needs: test
Others - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Apr 24 19:33:50 GMT 2024 - 3.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/CompactLinkedHashSet.java
*/ @CheckForNull private transient int[] successor; /** Pointer to the first node in the linked list, or {@code ENDPOINT} if there are no entries. */ private transient int firstEntry; /** Pointer to the last node in the linked list, or {@code ENDPOINT} if there are no entries. */ private transient int lastEntry; CompactLinkedHashSet() { super(); }
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Feb 05 21:38:59 GMT 2024 - 9.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/AbstractTableTest.java
return true; } protected boolean supportsNullValues() { return false; } public void testClear() { table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); if (supportsRemove()) { table.clear(); assertEquals(0, table.size()); assertFalse(table.containsRow("foo")); } else { try { table.clear(); fail();
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Mar 04 16:54:11 GMT 2024 - 6K bytes - Viewed (0) -
guava/src/com/google/common/collect/ForwardingMapEntry.java
* A sensible definition of {@link #equals(Object)} in terms of {@link #getKey()} and {@link * #getValue()}. If you override either of these methods, you may wish to override {@link * #equals(Object)} to forward to this implementation. * * @since 7.0 */ protected boolean standardEquals(@CheckForNull Object object) { if (object instanceof Entry) { Entry<?, ?> that = (Entry<?, ?>) object;
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Tue Mar 19 19:28:11 GMT 2024 - 4.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapMergeTester.java
getMap() .merge( k3(), v3(), (oldV, newV) -> { throw new AssertionFailedError( "Should not call merge function if key was absent"); })); expectAdded(e3()); } @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_VALUES}) @CollectionSize.Require(absent = ZERO) public void testMappedToNull() {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 6.5K bytes - Viewed (0)