- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 23 for colour (0.16 sec)
-
android/guava-tests/test/com/google/common/collect/EnumMultisetTest.java
assertEquals(2, ms.count(Color.RED)); } public void testCollectionCreate() { Multiset<Color> ms = EnumMultiset.create(asList(Color.RED, Color.YELLOW, Color.RED)); assertEquals(0, ms.count(Color.BLUE)); assertEquals(1, ms.count(Color.YELLOW)); assertEquals(2, ms.count(Color.RED)); } public void testIllegalCreate() { Collection<Color> empty = EnumSet.noneOf(Color.class); try {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Feb 26 16:35:21 GMT 2024 - 5.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableList.java
* ("constant lists"). Example: * * <pre>{@code * public static final ImmutableList<Color> GOOGLE_COLORS * = new ImmutableList.Builder<Color>() * .addAll(WEBSAFE_COLORS) * .add(new Color(0, 191, 255)) * .build(); * }</pre> * * <p>Elements appear in the resulting list in the same order they were added to the builder.
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 30K bytes - Viewed (1) -
guava-tests/test/com/google/common/io/SourceSinkTester.java
@AndroidIncompatible // TODO(b/230620681): Make this available (even though we won't run it). public class SourceSinkTester<S, T, F extends SourceSinkFactory<S, T>> extends TestCase { static final String LOREM_IPSUM = "Lorem ipsum dolor sit amet, consectetur adipiscing " + "elit. Cras fringilla elit ac ipsum adipiscing vulputate. Maecenas in lorem nulla, ac " + "sollicitudin quam. Praesent neque elit, sodales quis vestibulum vel, pellentesque nec "
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Apr 27 18:57:08 GMT 2022 - 4.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java
ImmutableSet<String> set = this.<String>builder().addAll(a).addAll(b).build(); assertThat(set).containsExactly("a", "b", "c", "d", "e").inOrder(); } static final int LAST_COLOR_ADDED = 0x00BFFF; public void testComplexBuilder() { List<Integer> colorElem = asList(0x00, 0x33, 0x66, 0x99, 0xCC, 0xFF); // javac won't compile this without "this.<Integer>"
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 18.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java
ImmutableSet<String> set = this.<String>builder().addAll(a).addAll(b).build(); assertThat(set).containsExactly("a", "b", "c", "d", "e").inOrder(); } static final int LAST_COLOR_ADDED = 0x00BFFF; public void testComplexBuilder() { List<Integer> colorElem = asList(0x00, 0x33, 0x66, 0x99, 0xCC, 0xFF); // javac won't compile this without "this.<Integer>"
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 18.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableSetTest.java
} @Override <E extends Comparable<E>> Builder<E> builder() { return ImmutableSet.builder(); } @Override int getComplexBuilderSetLastElement() { return LAST_COLOR_ADDED; } public void testEquals() { new EqualsTester() .addEqualityGroup(ImmutableSet.of(), ImmutableSet.of()) .addEqualityGroup(ImmutableSet.of(1), ImmutableSet.of(1), ImmutableSet.of(1, 1))
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 13.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt
you?' And then a voice she had never heard before, `Sure then I'm here! Digging for apples, yer honour!' `Digging for apples, indeed!' said the Rabbit angrily. `Here! Come and help me out of THIS!' (Sounds of more broken glass.) `Now tell me, Pat, what's that in the window?' `Sure, it's an arm, yer honour!' (He pronounced it `arrum.') `An arm, you goose! Who ever saw one that size? Why, it
Plain Text - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Mon Oct 29 21:35:03 GMT 2012 - 145.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSet.java
} /** * A builder for creating {@code ImmutableSet} instances. Example: * * <pre>{@code * static final ImmutableSet<Color> GOOGLE_COLORS = * ImmutableSet.<Color>builder() * .addAll(WEBSAFE_COLORS) * .add(new Color(0, 191, 255)) * .build(); * }</pre> * * <p>Elements appear in the resulting set in the same order they were first added to the builder.
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 35.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/SourceSinkTester.java
@AndroidIncompatible // TODO(b/230620681): Make this available (even though we won't run it). public class SourceSinkTester<S, T, F extends SourceSinkFactory<S, T>> extends TestCase { static final String LOREM_IPSUM = "Lorem ipsum dolor sit amet, consectetur adipiscing " + "elit. Cras fringilla elit ac ipsum adipiscing vulputate. Maecenas in lorem nulla, ac " + "sollicitudin quam. Praesent neque elit, sodales quis vestibulum vel, pellentesque nec "
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Apr 27 18:57:08 GMT 2022 - 4.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableSetTest.java
} @Override <E extends Comparable<E>> Builder<E> builder() { return ImmutableSet.builder(); } @Override int getComplexBuilderSetLastElement() { return LAST_COLOR_ADDED; } public void testEquals() { new EqualsTester() .addEqualityGroup(ImmutableSet.of(), ImmutableSet.of()) .addEqualityGroup(ImmutableSet.of(1), ImmutableSet.of(1), ImmutableSet.of(1, 1))
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 13.9K bytes - Viewed (0)