Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 212 for Yellow (0.34 sec)

  1. android/guava-tests/test/com/google/common/collect/EnumMultisetTest.java

        BLUE,
        RED,
        YELLOW,
        GREEN,
        WHITE
      }
    
      private enum Gender {
        MALE,
        FEMALE
      }
    
      public void testClassCreate() {
        Multiset<Color> ms = EnumMultiset.create(Color.class);
        ms.add(Color.RED);
        ms.add(Color.YELLOW);
        ms.add(Color.RED);
        assertEquals(0, ms.count(Color.BLUE));
        assertEquals(1, ms.count(Color.YELLOW));
        assertEquals(2, ms.count(Color.RED));
    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. guava-tests/test/com/google/common/reflect/TypeTokenResolutionTest.java

          }
    
          Red<A> getSelfB() {
            return Red.this;
          }
        }
    
        Red<A> getSelfA() {
          return this;
        }
    
        private class Yellow<B> extends Red<B>.Orange {
          Yellow(Red<B> red) {
            red.super();
          }
    
          Class<?> getClassB() {
            return new TypeToken<B>(getClass()) {}.getRawType();
          }
    
          Red<A> getA() {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 19.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/EnumMultisetTest.java

        BLUE,
        RED,
        YELLOW,
        GREEN,
        WHITE
      }
    
      private enum Gender {
        MALE,
        FEMALE
      }
    
      public void testClassCreate() {
        Multiset<Color> ms = EnumMultiset.create(Color.class);
        ms.add(Color.RED);
        ms.add(Color.YELLOW);
        ms.add(Color.RED);
        assertEquals(0, ms.count(Color.BLUE));
        assertEquals(1, ms.count(Color.YELLOW));
        assertEquals(2, ms.count(Color.RED));
    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)
  4. guava-tests/test/com/google/common/collect/OrderingTest.java

      }
    
      public void testCompound_instance() {
        Comparator<String> comparator = byCharAt(1).compound(byCharAt(0));
        Helpers.testComparator(
            comparator,
            ImmutableList.of("red", "yellow", "violet", "blue", "indigo", "green", "orange"));
      }
    
      public void testCompound_instance_generics() {
        Ordering<Object> objects = Ordering.explicit((Object) 1);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/OrderingTest.java

      }
    
      public void testCompound_instance() {
        Comparator<String> comparator = byCharAt(1).compound(byCharAt(0));
        Helpers.testComparator(
            comparator,
            ImmutableList.of("red", "yellow", "violet", "blue", "indigo", "green", "orange"));
      }
    
      public void testCompound_instance_generics() {
        Ordering<Object> objects = Ordering.explicit((Object) 1);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/base/AndroidIncompatible.java

     * I'm not completely sure that this is the right choice, but it has various advantages:
     *
     * <ul>
     *   <li>An annotation named just "Suppress" might someday be treated by a non-Android tool as a
     *       suppression. This would follow the precedent of many of our annotation processors, which
     *       look for any annotation named, e.g., "GwtIncompatible," regardless of package.
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Jul 07 15:40:13 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/AbstractSortedSetMultimap.java

       * SortedSet} values.
       */
      @Override
      public Map<K, Collection<V>> asMap() {
        return super.asMap();
      }
    
      /**
       * {@inheritDoc}
       *
       * <p>Consequently, the values do not follow their natural ordering or the ordering of the value
       * comparator.
       */
      @Override
      public Collection<V> values() {
        return super.values();
      }
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 15 21:08:00 GMT 2021
    - 5.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/AbstractSortedSetMultimap.java

       * SortedSet} values.
       */
      @Override
      public Map<K, Collection<V>> asMap() {
        return super.asMap();
      }
    
      /**
       * {@inheritDoc}
       *
       * <p>Consequently, the values do not follow their natural ordering or the ordering of the value
       * comparator.
       */
      @Override
      public Collection<V> values() {
        return super.values();
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 15 21:08:00 GMT 2021
    - 5.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/DenseImmutableTable.java

        C columnKey = columnKeySet().asList().get(columnIndex);
        // requireNonNull is safe because we use indexes that were populated by the constructor.
        V value = requireNonNull(values[rowIndex][columnIndex]);
        return cellOf(rowKey, columnKey, value);
      }
    
      @Override
      V getValue(int index) {
        // requireNonNull is safe because we use indexes that were populated by the constructor.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 10K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/Ascii.java

       * Shift Out: A control character indicating that the code combinations which follow shall be
       * interpreted as outside of the character set of the standard code table until a Shift In
       * character is reached.
       *
       * @since 8.0
       */
      public static final byte SO = 14;
    
      /**
       * Shift In: A control character indicating that the code combinations which follow shall be
       * interpreted according to the standard code table.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jul 19 15:43:07 GMT 2021
    - 21.6K bytes
    - Viewed (0)
Back to top