Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for colour (0.16 sec)

  1. 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)
  2. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

            directExecutor());
        return future;
      }
    
      /**
       * Returns a default thread factory used to create new threads.
       *
       * <p>When running on AppEngine with access to <a
       * href="https://cloud.google.com/appengine/docs/standard/java/javadoc/">AppEngine legacy
       * APIs</a>, this method returns {@code ThreadManager.currentRequestThreadFactory()}. Otherwise,
       * it returns {@link Executors#defaultThreadFactory()}.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 41.8K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. src/main/java/org/codelibs/fess/app/web/admin/upgrade/AdminUpgradeAction.java

            final FessConfig fessConfig = ComponentUtil.getFessConfig();
    
            final String fesenType = fessConfig.getFesenType();
            switch (fesenType) {
            case Constants.FESEN_TYPE_CLOUD:
            case Constants.FESEN_TYPE_AWS:
                // nothing
                break;
            default:
                for (final String path : getDictionaryPaths()) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Sat Apr 13 11:43:03 GMT 2024
    - 46.9K bytes
    - Viewed (0)
  7. 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)
  8. samples/guide/src/main/java/okhttp3/guide/PostExample.java

            + "'lastSaved':1367702411696,"
            + "'dateStarted':1367702378785,"
            + "'players':["
            + "{'name':'" + player1 + "','history':[10,8,6,7,8],'color':-13388315,'total':39},"
            + "{'name':'" + player2 + "','history':[6,10,5,10,10],'color':-48060,'total':41}"
            + "]}";
      }
    
      public static void main(String[] args) throws IOException {
        PostExample example = new PostExample();
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Apr 05 03:30:42 GMT 2024
    - 2K bytes
    - Viewed (0)
  9. 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)
  10. android/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 May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 39.1K bytes
    - Viewed (0)
Back to top