Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 856 for One (0.44 sec)

  1. android/guava-tests/test/com/google/common/io/CharSequenceReaderTest.java

        for (int i = 0; i < expected.length(); i++) {
          assertEquals(expected.charAt(i), reader.read());
        }
        assertFullyRead(reader);
    
        // read all to one array
        reader = new CharSequenceReader(charSequence);
        char[] buf = new char[expected.length()];
        assertEquals(expected.length() == 0 ? -1 : expected.length(), reader.read(buf));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/package-info.java

     *   <dt>{@link Multiset}
     *   <dd>An extension of {@link java.util.Collection} that may contain duplicate values like a
     *       {@link java.util.List}, yet has order-independent equality like a {@link java.util.Set}.
     *       One typical use for a multiset is to represent a histogram.
     *   <dt>{@link ClassToInstanceMap}
     *   <dd>An extension of {@link java.util.Map} that associates a raw type with an instance of that
     *       type.
     * </dl>
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Jul 06 16:29:45 GMT 2023
    - 5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/EnumBiMap.java

       * probably work around it by changing how we annotate the J2CL EnumMap, but that's probably more
       * trouble than just using Object.class.)
       *
       * Then we declare the getters for these fields as @GwtIncompatible so that no one can try to use
       * them under J2CL—or, as an unfortunate side effect, under GWT. We do still give the fields
       * themselves their proper values under GWT, since GWT's EnumMap does need the Class instance.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Aug 24 01:40:03 GMT 2023
    - 6.3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/ArrayTableRowTest.java

        throw new UnsupportedOperationException();
      }
    
      @Override
      protected Table<Character, String, Integer> makeTable() {
        return ArrayTable.create(
            Arrays.asList('a', 'b', 'c'), Arrays.asList("one", "two", "three", "four"));
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Apr 01 22:53:42 GMT 2022
    - 1.4K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/DerivedGenerator.java

     * iterator generator may delegate the work of creating the underlying collection to an inner
     * collection generator.
     *
     * <p>{@code GwtTestSuiteGenerator} expects every {@code DerivedIterator} implementation to provide
     * a one-arg constructor accepting its inner generator as an argument. This requirement enables it
     * to generate source code (since GWT cannot use reflection to generate the suites).
     *
     * @author Chris Povirk
     */
    @GwtCompatible
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 1.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/UnmodifiableRowSortedTableRowTest.java

        return Tables.unmodifiableRowSortedTable(table);
      }
    
      @Override
      protected Map<String, Integer> makePopulatedMap() {
        RowSortedTable<Character, String, Integer> table = TreeBasedTable.create();
        table.put('a', "one", 1);
        table.put('a', "two", 2);
        table.put('a', "three", 3);
        table.put('b', "four", 4);
        return Tables.unmodifiableRowSortedTable(table).row('a');
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/UnmodifiableTableColumnTest.java

        return Tables.unmodifiableTable(table);
      }
    
      @Override
      protected Map<String, Integer> makePopulatedMap() {
        Table<String, Character, Integer> table = HashBasedTable.create();
        table.put("one", 'a', 1);
        table.put("two", 'a', 2);
        table.put("three", 'a', 3);
        table.put("four", 'b', 4);
        return Tables.unmodifiableTable(table).column('a');
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ArrayListMultimapGwtSerializationDependencies.java

        extends AbstractListMultimap<K, V> {
      ArrayListMultimapGwtSerializationDependencies(Map<K, Collection<V>> map) {
        super(map);
      }
      // TODO(cpovirk): Maybe I should have just one shared superclass for AbstractMultimap itself?
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Oct 24 18:57:48 GMT 2019
    - 1.5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/TablesTransformValuesRowTest.java

      }
    
      @Override
      protected Map<String, Integer> makePopulatedMap() {
        Table<Character, String, Integer> table = HashBasedTable.create();
        table.put('a', "one", 2);
        table.put('a', "two", 4);
        table.put('a', "three", 6);
        table.put('b', "four", 8);
        return Tables.transformValues(table, TableCollectionTest.DIVIDE_BY_2).row('a');
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/ForwardingSortedSetMultimapTest.java

                    return wrap((SortedSetMultimap<?, ?>) delegate);
                  }
                });
      }
    
      public void testEquals() {
        SortedSetMultimap<Integer, String> map1 = TreeMultimap.create(ImmutableMultimap.of(1, "one"));
        SortedSetMultimap<Integer, String> map2 = TreeMultimap.create(ImmutableMultimap.of(2, "two"));
        new EqualsTester()
            .addEqualityGroup(map1, wrap(map1), wrap(map1))
            .addEqualityGroup(map2, wrap(map2))
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 2K bytes
    - Viewed (0)
Back to top