- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 132 for lives (0.24 sec)
-
android/guava/src/com/google/common/cache/RemovalListener.java
* already been re-added. */ // Technically should accept RemovalNotification<? extends K, ? extends V>, but because // RemovalNotification is guaranteed covariant, let's make users' lives simpler. void onRemoval(RemovalNotification<K, V> notification);
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Jun 15 18:00:07 GMT 2021 - 2K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/AbstractDirectedNetworkConnections.java
} @Override public N adjacentNode(E edge) { // Since the reference node is defined to be 'source' for directed graphs, // we can assume this edge lives in the set of outgoing edges. // (We're relying on callers to call this method only with an edge that's in the graph.) return requireNonNull(outEdgeMap.get(edge)); } @Override
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 26 17:43:39 GMT 2021 - 4.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Platform.java
/* * Arrays are a mess from a nullness perspective, and Class instances for object-array types are * even worse. For now, we just suppress and move on with our lives. * * - https://github.com/jspecify/jspecify/issues/65 * * - https://github.com/jspecify/jdk/commit/71d826792b8c7ef95d492c50a274deab938f2552 */ /*
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 4.9K bytes - Viewed (0) -
guava/src/com/google/common/cache/RemovalListener.java
* already been re-added. */ // Technically should accept RemovalNotification<? extends K, ? extends V>, but because // RemovalNotification is guaranteed covariant, let's make users' lives simpler. void onRemoval(RemovalNotification<K, V> notification);
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Tue Jun 15 18:00:07 GMT 2021 - 2K bytes - Viewed (0) -
guava/src/com/google/common/collect/Iterators.java
* * @see Collections#frequency */ public static int frequency(Iterator<?> iterator, @CheckForNull Object element) { int count = 0; while (contains(iterator, element)) { // Since it lives in the same class, we know contains gets to the element and then stops, // though that isn't currently publicly documented. count++; } return count; } /**
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Tue Jan 30 00:14:39 GMT 2024 - 50.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Iterators.java
* * @see Collections#frequency */ public static int frequency(Iterator<?> iterator, @CheckForNull Object element) { int count = 0; while (contains(iterator, element)) { // Since it lives in the same class, we know contains gets to the element and then stops, // though that isn't currently publicly documented. count++; } return count; } /**
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Sat Apr 20 03:33:06 GMT 2024 - 50.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/CharSourceTest.java
TestCharSource lines = new TestCharSource(LINES); assertEquals("foo", lines.readFirstLine()); assertTrue(lines.wasStreamOpened() && lines.wasStreamClosed()); } public void testReadLines_toList() throws IOException { TestCharSource lines = new TestCharSource(LINES); assertEquals(ImmutableList.of("foo", "bar", "baz", "something"), lines.readLines());
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 13K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/Striped64.java
* scattered in memory and thus don't interfere much with each * other. But Atomic objects residing in arrays will tend to be * placed adjacent to each other, and so will most often share * cache lines (with a huge negative performance impact) without * this precaution. * * In part because Cells are relatively large, we avoid creating * them until they are needed. When there is no contention, all
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 22 17:40:56 GMT 2024 - 11.5K bytes - Viewed (0) -
android/guava/src/com/google/common/io/CharSource.java
return lines.hasNext() ? lines.next() : null; } @Override public ImmutableList<String> readLines() { return ImmutableList.copyOf(linesIterator()); } @Override @ParametricNullness public <T extends @Nullable Object> T readLines(LineProcessor<T> processor) throws IOException { Iterator<String> lines = linesIterator(); while (lines.hasNext()) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed May 17 14:35:11 GMT 2023 - 22.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Multimaps.java
* provided that the function is capable of accepting null input. The transformed multimap might * contain null values, if the function sometimes gives a null result. * * <p>The returned multimap is not thread-safe or serializable, even if the underlying multimap * is. The {@code equals} and {@code hashCode} methods of the returned multimap are meaningless,
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 86.1K bytes - Viewed (0)