- Sort Score
- Result 10 results
- Languages All
Results 11 - 18 of 18 for grein (0.17 sec)
-
android/guava-tests/test/com/google/common/collect/MultimapsTest.java
assertEquals(newHashSet(elements), multimap.get("foo")); } }; tester.test(); } private enum Color { BLUE, RED, YELLOW, GREEN } private abstract static class CountingSupplier<E> implements Supplier<E>, Serializable { int count; abstract E getImpl(); @Override public E get() { count++;
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 39.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/FluentIterable.java
* * <pre>{@code * Color red = new Color("red", 255, 0, 0); * ... * FluentIterable<Color> allColors = FluentIterable.from(ImmutableSet.of(red, green, blue)); * * Map<String, Color> colorForName = allColors.uniqueIndex(toStringFunction()); * assertThat(colorForName).containsEntry("red", red); * }</pre> *
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Tue Jan 30 00:14:39 GMT 2024 - 35.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Maps.java
* Example usage: * * <pre>{@code * Color red = new Color("red", 255, 0, 0); * ... * ImmutableSet<Color> allColors = ImmutableSet.of(red, green, blue); * * ImmutableMap<String, Color> colorForName = * uniqueIndex(allColors, c -> c.toString()); * assertThat(colorForName).containsEntry("red", red); * }</pre> *
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed May 01 18:44:57 GMT 2024 - 159.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/AppendableWriterTest.java
import java.io.Closeable; import java.io.Flushable; import java.io.IOException; import java.io.Writer; /** * Unit test for {@link AppendableWriter}. * * @author Alan Green */ public class AppendableWriterTest extends IoTestCase { /** Helper class for testing behavior with Flushable and Closeable targets. */ private static class SpyAppendable implements Appendable, Flushable, Closeable {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 3.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/EnumMultisetTest.java
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Feb 26 16:35:21 GMT 2024 - 5.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableListTest.java
ImmutableList.Builder<Integer> webSafeColorsBuilder = ImmutableList.builder(); for (Integer red : colorElem) { for (Integer green : colorElem) { for (Integer blue : colorElem) { webSafeColorsBuilder.add((red << 16) + (green << 8) + blue); } } } ImmutableList<Integer> webSafeColors = webSafeColorsBuilder.build(); assertEquals(216, webSafeColors.size());
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 23.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MultimapsTest.java
assertEquals(newHashSet(elements), multimap.get("foo")); } }; tester.test(); } private enum Color { BLUE, RED, YELLOW, GREEN } private abstract static class CountingSupplier<E> implements Supplier<E>, Serializable { int count; abstract E getImpl(); @Override public E get() { count++;
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 42.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/FluentIterable.java
* * <pre>{@code * Color red = new Color("red", 255, 0, 0); * ... * FluentIterable<Color> allColors = FluentIterable.from(ImmutableSet.of(red, green, blue)); * * Map<String, Color> colorForName = allColors.uniqueIndex(toStringFunction()); * assertThat(colorForName).containsEntry("red", red); * }</pre> *
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Jan 30 00:14:39 GMT 2024 - 35.7K bytes - Viewed (0)