Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for colors (0.18 sec)

  1. 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)
  2. 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)
  3. android/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 May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  4. android/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 May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 27.1K bytes
    - Viewed (0)
  5. 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 Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 26 16:35:21 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/MultimapsTest.java

              }
            };
    
        Map<Color, Collection<Integer>> map = Maps.newEnumMap(Color.class);
        Multimap<Color, Integer> multimap = Multimaps.newMultimap(map, factory);
        try {
          multimap.put(Color.BLUE, -1);
          fail("Expected IllegalArgumentException");
        } catch (IllegalArgumentException expected) {
        }
        multimap.put(Color.RED, 1);
        multimap.put(Color.BLUE, 2);
        try {
    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)
  7. android/guava-tests/test/com/google/common/collect/PackageSanityTests.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import com.google.common.testing.AbstractPackageSanityTests;
    
    /**
     * Covers basic sanity checks for the entire package.
     *
     * @author Ben Yu
     */
    
    public class PackageSanityTests extends AbstractPackageSanityTests {
      public PackageSanityTests() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 21 02:27:51 GMT 2017
    - 1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/FluentIterable.java

       * in the same order as they appeared in this fluent iterable. Example usage:
       *
       * <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)
  9. android/guava/src/com/google/common/net/HttpHeaders.java

       * The HTTP <a
       * href="https://wicg.github.io/user-preference-media-features-headers/#sec-ch-prefers-color-scheme">{@code
       * Sec-CH-Prefers-Color-Scheme}</a> header field name.
       *
       * <p>This header is experimental.
       *
       * @since 31.0
       */
      public static final String SEC_CH_PREFERS_COLOR_SCHEME = "Sec-CH-Prefers-Color-Scheme";
    
      /**
       * The HTTP <a
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:08:08 GMT 2024
    - 34.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

     *
     * @author mike nonemacher
     */
    
    public class PopulatedCachesTest extends TestCase {
      // we use integers as keys; make sure the range covers some values that ARE cached by
      // Integer.valueOf(int), and some that are not cached. (127 is the highest cached value.)
      static final int WARMUP_MIN = 120;
      static final int WARMUP_MAX = 135;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 15K bytes
    - Viewed (0)
Back to top