Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 663 for caps (0.18 sec)

  1. android/guava/src/com/google/common/collect/MapDifference.java

    /**
     * An object representing the differences between two maps.
     *
     * @author Kevin Bourrillion
     * @since 2.0
     */
    @DoNotMock("Use Maps.difference")
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public interface MapDifference<K extends @Nullable Object, V extends @Nullable Object> {
      /**
       * Returns {@code true} if there are no differences between the two maps; that is, if the maps are
       * equal.
       */
      boolean areEqual();
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Aug 04 13:28:27 GMT 2021
    - 3.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/MapsTransformValuesUnmodifiableIteratorTest.java

        assertTrue(entries.contains(Maps.immutableEntry("a", true)));
        assertTrue(entries.contains(Maps.<String, @Nullable Boolean>immutableEntry("b", null)));
        assertTrue(
            entries.contains(Maps.<@Nullable String, @Nullable Boolean>immutableEntry(null, null)));
    
        assertFalse(entries.contains(Maps.<String, @Nullable Boolean>immutableEntry("c", null)));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 12.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/EnumHashBiMapTest.java

        public SampleElements<Entry<Country, String>> samples() {
          return new SampleElements<>(
              Maps.immutableEntry(Country.CANADA, "DOLLAR"),
              Maps.immutableEntry(Country.CHILE, "PESO"),
              Maps.immutableEntry(Country.UK, "POUND"),
              Maps.immutableEntry(Country.JAPAN, "YEN"),
              Maps.immutableEntry(Country.SWITZERLAND, "FRANC"));
        }
    
        @SuppressWarnings("unchecked")
        @Override
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 26 16:35:21 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/TreeMultimapExplicitTest.java

            .containsExactly(
                Maps.<@Nullable String, Integer>immutableEntry(null, 7),
                Maps.<@Nullable String, Integer>immutableEntry(null, 3),
                Maps.<@Nullable String, Integer>immutableEntry(null, 1),
                Maps.<String, @Nullable Integer>immutableEntry("tree", null),
                Maps.immutableEntry("tree", 0),
                Maps.immutableEntry("google", 6),
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/HashBiMapTest.java

            .containsExactly(Maps.immutableEntry("bar", 2), Maps.immutableEntry("quux", 1))
            .inOrder();
      }
    
      public void testInverseInsertionOrderAfterInverse() {
        BiMap<String, Integer> map = HashBiMap.create();
        map.put("bar", 2);
        map.put("quux", 1);
    
        assertThat(map.inverse().entrySet())
            .containsExactly(Maps.immutableEntry(2, "bar"), Maps.immutableEntry(1, "quux"))
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/HashBiMapTest.java

            .containsExactly(Maps.immutableEntry("bar", 2), Maps.immutableEntry("quux", 1))
            .inOrder();
      }
    
      public void testInverseInsertionOrderAfterInverse() {
        BiMap<String, Integer> map = HashBiMap.create();
        map.put("bar", 2);
        map.put("quux", 1);
    
        assertThat(map.inverse().entrySet())
            .containsExactly(Maps.immutableEntry(2, "bar"), Maps.immutableEntry(1, "quux"))
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Tables.java

       *
       * <p>The table is serializable if {@code backingMap}, {@code factory}, the maps generated by
       * {@code factory}, and the table contents are all serializable.
       *
       * <p>Note: the table assumes complete ownership over of {@code backingMap} and the maps returned
       * by {@code factory}. Those objects should not be manually updated and they should not use soft,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Mar 04 22:45:41 GMT 2024
    - 26.1K bytes
    - Viewed (0)
  8. tensorflow/c/c_api_macros.h

    #ifdef SWIG
    #define TF_CAPI_EXPORT
    #else
    #if defined(_WIN32)
    #ifdef TF_COMPILE_LIBRARY
    #define TF_CAPI_EXPORT __declspec(dllexport)
    #else
    #define TF_CAPI_EXPORT __declspec(dllimport)
    #endif  // TF_COMPILE_LIBRARY
    #else
    #ifdef TF_CAPI_WEAK
    #define TF_CAPI_EXPORT \
      __attribute__((visibility("default"))) __attribute((weak))
    #else
    #define TF_CAPI_EXPORT __attribute__((visibility("default")))
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sat May 13 04:44:45 GMT 2023
    - 1.6K bytes
    - Viewed (1)
  9. guava-tests/test/com/google/common/collect/MapsTransformValuesTest.java

    import java.util.Map;
    
    /**
     * Tests for {@link Maps#transformValues(Map, Function)}.
     *
     * @author Isaac Shum
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public class MapsTransformValuesTest extends AbstractMapsTransformValuesTest {
      @Override
      protected Map<String, String> makeEmptyMap() {
        return Maps.transformValues(Maps.<String, String>newHashMap(), Functions.<String>identity());
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/SparseImmutableTable.java

          ImmutableSet<R> rowSpace,
          ImmutableSet<C> columnSpace) {
        Map<R, Integer> rowIndex = Maps.indexMap(rowSpace);
        Map<R, Map<C, V>> rows = Maps.newLinkedHashMap();
        for (R row : rowSpace) {
          rows.put(row, new LinkedHashMap<C, V>());
        }
        Map<C, Map<R, V>> columns = Maps.newLinkedHashMap();
        for (C col : columnSpace) {
          columns.put(col, new LinkedHashMap<R, V>());
        }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 5.6K bytes
    - Viewed (0)
Back to top