- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 69 for elseif (0.14 sec)
-
android/guava/src/com/google/common/collect/RegularImmutableSortedSet.java
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-tests/test/com/google/common/collect/AbstractTableTest.java
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(); } catch (UnsupportedOperationException expected) { } } } public void testPut() {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Mar 04 16:54:11 GMT 2024 - 6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/TreeMultimapExplicitTest.java
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 8.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TableCollectors.java
checkNotNull(value); V oldValue = table.get(row, column); if (oldValue == null) { table.put(row, column, value); } else { V newValue = mergeFunction.apply(oldValue, value); if (newValue == null) { table.remove(row, column); } else { table.put(row, column, newValue); } } } private TableCollectors() {}
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Sat Mar 09 00:21:17 GMT 2024 - 7.7K 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);
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) -
android/guava-testlib/src/com/google/common/collect/testing/google/AbstractListMultimapTester.java
assertEqualInOrder(values, multimap().get(key)); if (!values.isEmpty()) { assertEqualInOrder(values, multimap().asMap().get(key)); assertFalse(multimap().isEmpty()); } else { assertNull(multimap().asMap().get(key)); } assertEquals(values.size(), multimap().get(key).size()); assertEquals(values.size() > 0, multimap().containsKey(key));
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CompactLinkedHashMap.java
} private void setSucceeds(int pred, int succ) { if (pred == ENDPOINT) { firstEntry = succ; } else { setSuccessor(pred, succ); } if (succ == ENDPOINT) { lastEntry = pred; } else { setPredecessor(succ, pred); } } @Override void insertEntry(
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-tests/test/com/google/common/collect/AbstractMultimapAsMapImplementsMapTest.java
// This line doesn't hold - see the Javadoc comments above. // assertEquals(expectedValue, oldValue); assertFalse(map.containsKey(keyToRemove)); assertEquals(initialSize - 1, map.size()); } else { try { map.remove(keyToRemove); fail("Expected UnsupportedOperationException."); } catch (UnsupportedOperationException expected) { } } assertInvariants(map); }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Feb 19 20:34:55 GMT 2024 - 3K bytes - Viewed (0) -
guava/src/com/google/common/collect/CompactLinkedHashSet.java
} private void setSucceeds(int pred, int succ) { if (pred == ENDPOINT) { firstEntry = succ; } else { setSuccessor(pred, succ); } if (succ == ENDPOINT) { lastEntry = pred; } else { setPredecessor(succ, pred); } } @Override void insertEntry(int entryIndex, @ParametricNullness E object, int hash, int mask) {
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) -
android/guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java
private MinimalIterable(Iterator<E> iterator) { this.iterator = iterator; } @Override public Iterator<E> iterator() { if (iterator == null) { // TODO: throw something else? Do we worry that people's code and tests // might be relying on this particular type of exception? throw new IllegalStateException(); } try { return iterator; } finally {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 3.2K bytes - Viewed (0)