- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 409 for Maps (0.18 sec)
-
guava-tests/test/com/google/common/collect/TreeBasedTableTest.java
assertFalse(entrySet.remove(Maps.immutableEntry(10, 'X'))); assertTrue(entrySet.remove(Maps.immutableEntry(20, 'X'))); assertFalse(entrySet.remove(Maps.immutableEntry(15, 'X'))); entrySet = row.entrySet(); assertTrue(entrySet.remove(Maps.immutableEntry(10, 'X'))); assertFalse(entrySet.remove(Maps.immutableEntry(20, 'X'))); assertFalse(entrySet.remove(Maps.immutableEntry(15, 'X'))); }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 15K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableBiMapFloodingTest.java
Lists.transform( keys, key -> Maps.immutableEntry(key, new Object()))), keys -> path.create( Lists.transform( keys, key -> Maps.immutableEntry(new Object(), key))), keys -> path.create(
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Oct 03 21:01:39 GMT 2023 - 4.2K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/ElementOrder.java
<K extends T, V> Map<K, V> createMap(int expectedSize) { switch (type) { case UNORDERED: return Maps.newHashMapWithExpectedSize(expectedSize); case INSERTION: case STABLE: return Maps.newLinkedHashMapWithExpectedSize(expectedSize); case SORTED: return Maps.newTreeMap(comparator()); default: throw new AssertionError(); } }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri Oct 01 17:18:04 GMT 2021 - 6.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableMapFloodingTest.java
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Oct 03 21:01:39 GMT 2023 - 3.4K bytes - Viewed (0) -
istioctl/pkg/writer/ztunnel/configdump/services.go
// limitations under the License. package configdump import ( "cmp" "encoding/json" "fmt" "strings" "sigs.k8s.io/yaml" "istio.io/istio/pkg/maps" "istio.io/istio/pkg/slices" ) // ServiceFilter is used to pass filter information into service based config writer print functions type ServiceFilter struct { Namespace string }
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Tue Apr 23 21:30:30 GMT 2024 - 2.8K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableMap.java
/** * GWT emulation of {@link com.google.common.collect.ImmutableMap}. For non sorted maps, it is a * thin wrapper around {@link java.util.Collections#emptyMap()}, {@link * Collections#singletonMap(Object, Object)} and {@link java.util.LinkedHashMap} for empty, * singleton and regular maps respectively. For sorted maps, it's a thin wrapper around {@link * java.util.TreeMap}. * * @see ImmutableSortedMap
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 27 19:19:19 GMT 2024 - 17.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MapGenerators.java
@Override protected Map<AnEnum, String> create(Entry<AnEnum, String>[] entries) { Map<AnEnum, String> map = Maps.newHashMap(); for (Entry<AnEnum, String> entry : entries) { // checkArgument(!map.containsKey(entry.getKey())); map.put(entry.getKey(), entry.getValue()); } return Maps.immutableEnumMap(map); } }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Feb 26 19:46:10 GMT 2024 - 8.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TreeRangeMap.java
public Set<Range<K>> keySet() { return new Maps.KeySet<Range<K>, V>(SubRangeMapAsMap.this) { @Override public boolean remove(@CheckForNull Object o) { return SubRangeMapAsMap.this.remove(o) != null; } @Override public boolean retainAll(Collection<?> c) { return removeEntryIf(compose(not(in(c)), Maps.<Range<K>>keyFunction())); } };
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 21.9K bytes - Viewed (0) -
istioctl/pkg/writer/ztunnel/configdump/connections.go
"fmt" "net" "strings" "sigs.k8s.io/yaml" "istio.io/istio/pkg/maps" "istio.io/istio/pkg/slices" ) type ConnectionsFilter struct { Namespace string Direction string Raw bool } func (c *ConfigWriter) PrintConnectionsDump(filter ConnectionsFilter, outputFormat string) error { d := c.ztunnelDump workloads := maps.Values(d.WorkloadState)
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Mon Apr 22 15:39:28 GMT 2024 - 3.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/JdkBackedImmutableBiMap.java
@VisibleForTesting static <K, V> ImmutableBiMap<K, V> create(int n, @Nullable Entry<K, V>[] entryArray) { Map<K, V> forwardDelegate = Maps.newHashMapWithExpectedSize(n); Map<V, K> backwardDelegate = Maps.newHashMapWithExpectedSize(n); for (int i = 0; i < n; i++) { // requireNonNull is safe because the first `n` elements have been filled in.
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Nov 30 21:54:06 GMT 2023 - 4.6K bytes - Viewed (0)