- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 62 for settable (0.1 sec)
-
guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java
assertThat(successCalls[0]).isEqualTo(1); assertThat(failureCalls[0]).isEqualTo(0); } public void testWildcardFuture() { SettableFuture<String> settable = SettableFuture.create(); ListenableFuture<?> f = settable; FutureCallback<Object> callback = new FutureCallback<Object>() { @Override public void onSuccess(Object result) {} @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 15:41:36 UTC 2024 - 6.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ListsTest.java
fail("transformed list iterator is addable"); } catch (UnsupportedOperationException | IllegalStateException expected) { } try { iterator.set("1"); fail("transformed list iterator is settable"); } catch (UnsupportedOperationException | IllegalStateException expected) { } } public void testTransformIteratorRandomAccess() { List<Integer> fromList = Lists.newArrayList(SOME_LIST);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 35K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ListsTest.java
fail("transformed list iterator is addable"); } catch (UnsupportedOperationException | IllegalStateException expected) { } try { iterator.set("1"); fail("transformed list iterator is settable"); } catch (UnsupportedOperationException | IllegalStateException expected) { } } public void testTransformIteratorRandomAccess() { List<Integer> fromList = Lists.newArrayList(SOME_LIST);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 35K bytes - Viewed (0) -
guava/src/com/google/common/collect/RegularImmutableBiMap.java
keyTable[keyBucket] = newEntry; valueTable[valueBucket] = newEntry; entries[i] = newEntry; hashCode += keyHash ^ valueHash; } return new RegularImmutableBiMap<>(keyTable, valueTable, entries, mask, hashCode); } private RegularImmutableBiMap( @CheckForNull @Nullable ImmutableMapEntry<K, V>[] keyTable,
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 11.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SingletonImmutableTableTest.java
} public void testContainsColumn() { assertTrue(testTable.containsColumn(1)); assertFalse(testTable.containsColumn(2)); } public void testContainsRow() { assertTrue(testTable.containsRow('a')); assertFalse(testTable.containsRow('A')); } public void testContainsValue() { assertTrue(testTable.containsValue("blah"));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 4K bytes - Viewed (0) -
guava/src/com/google/common/collect/CompactHashSet.java
int newNext = CompactHashing.tableGet(newTable, newTableIndex); CompactHashing.tableSet(newTable, newTableIndex, oldNext); entries[entryIndex] = CompactHashing.maskCombine(hash, newNext, newMask); oldNext = CompactHashing.getNext(oldEntry, oldMask); } } this.table = newTable; setHashTableMask(newMask); return newMask; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 20:24:49 UTC 2024 - 24.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CompactHashSet.java
int newNext = CompactHashing.tableGet(newTable, newTableIndex); CompactHashing.tableSet(newTable, newTableIndex, oldNext); entries[entryIndex] = CompactHashing.maskCombine(hash, newNext, newMask); oldNext = CompactHashing.getNext(oldEntry, oldMask); } } this.table = newTable; setHashTableMask(newMask); return newMask; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 20:24:49 UTC 2024 - 24K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MapMakerInternalMap.java
} AtomicReferenceArray<E> newEntryArray(int size) { return new AtomicReferenceArray<>(size); } void initTable(AtomicReferenceArray<E> newTable) { this.threshold = newTable.length() * 3 / 4; // 0.75 this.table = newTable; } // Convenience methods for testing /** * Unsafe cast of the given entry to {@code E}, the type of the specific {@link InternalEntry}
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 20:24:49 UTC 2024 - 90.8K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/TransferResourceIdentifier.java
/** * Immutable identifier of a {@link TransferResource}. * The {@link TransferResource} is not immutable and does not implement {@code Objects#equals} and {@code Objects#hashCode} methods, * making it not very suitable for usage in collections. */ record TransferResourceIdentifier(String repositoryId, String repositoryUrl, String resourceName, @Nullable File file) { TransferResourceIdentifier(TransferResource resource) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.5K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/RateLimiter.java
* * <p>It is possible to configure a {@code RateLimiter} to have a warmup period during which time * the permits issued each second steadily increases until it hits the stable rate. * * <p>As an example, imagine that we have a list of tasks to execute, but we don't want to submit * more than 2 per second: * * <pre>{@code
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:51:36 UTC 2024 - 21.9K bytes - Viewed (0)