- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for MapRetrievalCache (0.3 sec)
-
android/guava/src/com/google/common/graph/MapRetrievalCache.java
* * @author James Sexton */ @ElementTypesAreNonnullByDefault final class MapRetrievalCache<K, V> extends MapIteratorCache<K, V> { // See the note about volatile in the superclass. @CheckForNull private transient volatile CacheEntry<K, V> cacheEntry1; @CheckForNull private transient volatile CacheEntry<K, V> cacheEntry2; MapRetrievalCache(Map<K, V> backingMap) { super(backingMap); }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 26 17:43:39 GMT 2021 - 3.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/MapCacheTest.java
{new MapIteratorCache<String, String>(new HashMap<String, String>())}, {new MapIteratorCache<String, String>(new TreeMap<String, String>(nullsLast))}, {new MapRetrievalCache<String, String>(new HashMap<String, String>())}, {new MapRetrievalCache<String, String>(new TreeMap<String, String>(nullsLast))} }); } @Before public void init() { mapCache.clear(); } @Test
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 26 16:23:26 GMT 2021 - 3.2K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/StandardNetwork.java
this.edgeOrder = builder.edgeOrder.cast(); // Prefer the heavier "MapRetrievalCache" for nodes if lookup is expensive. This optimizes // methods that access the same node(s) repeatedly, such as Graphs.removeEdgesConnecting(). this.nodeConnections = (nodeConnections instanceof TreeMap) ? new MapRetrievalCache<N, NetworkConnections<N, E>>(nodeConnections)
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Jan 22 17:29:38 GMT 2024 - 6.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/MapCacheTest.java
{new MapIteratorCache<String, String>(new HashMap<String, String>())}, {new MapIteratorCache<String, String>(new TreeMap<String, String>(nullsLast))}, {new MapRetrievalCache<String, String>(new HashMap<String, String>())}, {new MapRetrievalCache<String, String>(new TreeMap<String, String>(nullsLast))} }); } @Before public void init() { mapCache.clear(); } @Test
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Apr 26 16:23:26 GMT 2021 - 3.2K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/StandardValueGraph.java
this.allowsSelfLoops = builder.allowsSelfLoops; this.nodeOrder = builder.nodeOrder.cast(); // Prefer the heavier "MapRetrievalCache" for nodes if lookup is expensive. this.nodeConnections = (nodeConnections instanceof TreeMap) ? new MapRetrievalCache<N, GraphConnections<N, V>>(nodeConnections) : new MapIteratorCache<N, GraphConnections<N, V>>(nodeConnections);
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Jan 22 17:29:38 GMT 2024 - 6.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/ValueGraphTest.java
Set<Integer> unused = graph.successors(node); } /* * Also look up an earlier node so that, if the graph is using MapRetrievalCache, * we read one of the fields declared in that class. */ Set<Integer> unused = graph.successors(first); return null; }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Feb 06 18:35:19 GMT 2024 - 20K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/ValueGraphTest.java
Set<Integer> unused = graph.successors(node); } /* * Also look up an earlier node so that, if the graph is using MapRetrievalCache, * we read one of the fields declared in that class. */ Set<Integer> unused = graph.successors(first); return null; }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 17.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/AbstractNetworkTest.java
Set<Integer> unused = network.successors(node); } /* * Also look up an earlier node so that, if the graph is using MapRetrievalCache, * we read one of the fields declared in that class. */ Set<Integer> unused = network.successors(first); return null; }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Jan 22 17:29:38 GMT 2024 - 33K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/AbstractNetworkTest.java
Set<Integer> unused = network.successors(node); } /* * Also look up an earlier node so that, if the graph is using MapRetrievalCache, * we read one of the fields declared in that class. */ Set<Integer> unused = network.successors(first); return null; }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Jan 22 17:29:38 GMT 2024 - 32.7K bytes - Viewed (0)