- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 235 for KeySet (0.09 sec)
-
android/guava/src/com/google/common/escape/ArrayBasedEscaperMap.java
checkNotNull(map); // GWT specific check (do not optimize) if (map.isEmpty()) { return EMPTY_REPLACEMENT_ARRAY; } char max = max(map.keySet()); char[][] replacements = new char[max + 1][]; for (Character c : map.keySet()) { replacements[c] = map.get(c).toCharArray(); } return replacements; } // Immutable empty array for when there are no replacements.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 3.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java
this(new TreeMap<K, V>(map)); } private SafeTreeMap(NavigableMap<K, V> delegate) { this.delegate = delegate; if (delegate == null) { throw new NullPointerException(); } for (K k : keySet()) { checkValid(k); } } @Override public @Nullable Entry<K, V> ceilingEntry(K key) { return delegate.ceilingEntry(checkValid(key)); } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 20 17:00:05 UTC 2024 - 7.5K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/UndirectedGraphConnections.java
return Collections.unmodifiableSet(adjacentNodeValues.keySet()); } @Override public Set<N> predecessors() { return adjacentNodes(); } @Override public Set<N> successors() { return adjacentNodes(); } @Override public Iterator<EndpointPair<N>> incidentEdgeIterator(N thisNode) { return Iterators.transform( adjacentNodeValues.keySet().iterator(),
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 06 00:47:57 UTC 2021 - 3.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ArrayTable.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 26.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/QuantilesAlgorithmTest.java
assertThat(referenceQuantiles.keySet()).isEqualTo(indexes); for (QuantilesAlgorithm algorithm : NON_REFERENCE_ALGORITHMS) { Map<Integer, Double> quantiles = algorithm.multipleQuantiles(indexes, 100, dataset.clone()); assertWithMessage("Wrong keys from " + algorithm).that(quantiles.keySet()).isEqualTo(indexes); for (int i : indexes) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 3.4K bytes - Viewed (0) -
guava/src/com/google/common/graph/UndirectedGraphConnections.java
return Collections.unmodifiableSet(adjacentNodeValues.keySet()); } @Override public Set<N> predecessors() { return adjacentNodes(); } @Override public Set<N> successors() { return adjacentNodes(); } @Override public Iterator<EndpointPair<N>> incidentEdgeIterator(N thisNode) { return Iterators.transform( adjacentNodeValues.keySet().iterator(),
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 06 00:47:57 UTC 2021 - 3.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutTester.java
} @MapFeature.Require(SUPPORTS_PUT) @CollectionSize.Require(absent = ZERO) public void testPutPresentKeyPropagatesToGet() { List<K> keys = copyToList(multimap().keySet()); for (K key : keys) { resetContainer(); int size = getNumElements(); Collection<V> collection = multimap().get(key); Collection<V> expectedCollection = copyToList(collection);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 7.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapPutTester.java
} @MapFeature.Require(SUPPORTS_PUT) @CollectionSize.Require(absent = ZERO) public void testPutPresentKeyPropagatesToGet() { List<K> keys = copyToList(multimap().keySet()); for (K key : keys) { resetContainer(); int size = getNumElements(); Collection<V> collection = multimap().get(key); Collection<V> expectedCollection = copyToList(collection);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 7.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapClearTester.java
assertEmpty(multimap()); assertEquals(multimap(), getSubjectGenerator().create()); assertEmpty(multimap().entries()); assertEmpty(multimap().asMap()); assertEmpty(multimap().keySet()); assertEmpty(multimap().keys()); assertEmpty(multimap().values()); for (K key : sampleKeys()) { assertGet(key); } } @MapFeature.Require(SUPPORTS_REMOVE)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 19:10:20 UTC 2024 - 4.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/TreeMultimap.java
* interface. * * @since 14.0 (present with return type {@code SortedSet} since 2.0) */ @Override public NavigableSet<K> keySet() { return (NavigableSet<K>) super.keySet(); } /** * {@inheritDoc} * * <p>Because a {@code TreeMultimap} has unique sorted keys, this method returns a {@link
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Mar 09 00:21:17 UTC 2024 - 8.7K bytes - Viewed (0)