Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 122 for Kata (0.2 sec)

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

      @Override
      protected Table<String, Integer, Character> create(@Nullable Object... data) {
        Table<String, Integer, String> table = HashBasedTable.create();
        checkArgument(data.length % 3 == 0);
        for (int i = 0; i < data.length; i += 3) {
          String value = (data[i + 2] == null) ? null : (data[i + 2] + "transformed");
          table.put((String) data[i], (Integer) data[i + 1], value);
        }
        return Tables.transformValues(table, FIRST_CHARACTER);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/AbstractTableTest.java

        extends AbstractTableReadTest<C> {
    
      protected void populate(Table<String, Integer, C> table, @Nullable Object... data) {
        checkArgument(data.length % 3 == 0);
        for (int i = 0; i < data.length; i += 3) {
          table.put(
              (String) data[i], (Integer) data[i + 1], nullableCellValue((Character) data[i + 2]));
        }
      }
    
      protected boolean supportsRemove() {
        return true;
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/HashBasedTableTest.java

      @Override
      protected Table<String, Integer, Character> create(@Nullable Object... data) {
        Table<String, Integer, Character> table = HashBasedTable.create();
        table.put("foo", 4, 'a');
        table.put("cat", 1, 'b');
        table.clear();
        populate(table, data);
        return table;
      }
    
      public void testIterationOrder() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Comparators.java

      /**
       * Returns the minimum of the two values. If the values compare as 0, the first is returned.
       *
       * <p>The recommended solution for finding the {@code minimum} of some values depends on the type
       * of your data and the number of elements you have. Read more in the Guava User Guide article on
       * <a href="https://github.com/google/guava/wiki/CollectionUtilitiesExplained#comparators">{@code
       * Comparators}</a>.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/TreeBasedTableTest.java

          Object... data) {
        TreeBasedTable<String, Integer, Character> table =
            TreeBasedTable.create(rowComparator, columnComparator);
        table.put("foo", 4, 'a');
        table.put("cat", 1, 'b');
        table.clear();
        populate(table, data);
        return table;
      }
    
      @Override
      protected TreeBasedTable<String, Integer, Character> create(@Nullable Object... data) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 15K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/Suppliers.java

       * on the deserialized instance.
       *
       * <p>When the underlying delegate throws an exception then this memoizing supplier will keep
       * delegating calls until it returns valid data.
       *
       * <p>If {@code delegate} is an instance created by an earlier call to {@code memoize}, it is
       * returned directly.
       */
      public static <T extends @Nullable Object> Supplier<T> memoize(Supplier<T> delegate) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ImmutableMapValues.java

      @Override
      @J2ktIncompatible // serialization
      @GwtIncompatible // serialization
      Object writeReplace() {
        return super.writeReplace();
      }
    
      // No longer used for new writes, but kept so that old data can still be read.
      @GwtIncompatible // serialization
      @J2ktIncompatible
      @SuppressWarnings("unused")
      private static class SerializedForm<V> implements Serializable {
        final ImmutableMap<?, V> map;
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

       * containing one element (the given set itself).
       *
       * <p>Despite the method name, this method attempts to avoid actually copying the data when it is
       * safe to do so. The exact circumstances under which a copy will or will not be performed are
       * undocumented and subject to change.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ImmutableList.java

            : copyOf(elements.iterator());
      }
    
      /**
       * Returns an immutable list containing the given elements, in order.
       *
       * <p>Despite the method name, this method attempts to avoid actually copying the data when it is
       * safe to do so. The exact circumstances under which a copy will or will not be performed are
       * undocumented and subject to change.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 30K bytes
    - Viewed (1)
  10. android/guava/src/com/google/common/collect/CompactLinkedHashMap.java

      }
    
      /**
       * Creates a {@code CompactLinkedHashMap} instance, with a high enough "initial capacity" that it
       * <i>should</i> hold {@code expectedSize} elements without rebuilding internal data structures.
       *
       * @param expectedSize the number of elements you expect to add to the returned set
       * @return a new, empty {@code CompactLinkedHashMap} with enough capacity to hold {@code
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 8.5K bytes
    - Viewed (0)
Back to top