Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 920 for maps (0.02 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/google/MapGenerators.java

        @Override
        protected Map<AnEnum, String> create(Entry<AnEnum, String>[] entries) {
          Map<AnEnum, String> map = new HashMap<>();
          for (Entry<AnEnum, String> entry : entries) {
            checkNotNull(entry);
            map.put(entry.getKey(), entry.getValue());
          }
          return Maps.immutableEnumMap(map);
        }
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/graph/AbstractValueGraph.java

     * limitations under the License.
     */
    
    package com.google.common.graph;
    
    import static java.util.Objects.requireNonNull;
    
    import com.google.common.annotations.Beta;
    import com.google.common.collect.Maps;
    import java.util.Map;
    import java.util.Optional;
    import java.util.Set;
    import org.jspecify.annotations.Nullable;
    
    /**
     * This class provides a skeletal implementation of {@link ValueGraph}. It is recommended to extend
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ArrayTable.java

      }
    
      @LazyInit private transient @Nullable ColumnMap columnMap;
    
      @Override
      public Map<C, Map<R, @Nullable V>> columnMap() {
        ColumnMap map = columnMap;
        return (map == null) ? columnMap = new ColumnMap() : map;
      }
    
      @WeakOuter
      private final class ColumnMap extends ArrayMap<C, Map<R, @Nullable V>> {
        private ColumnMap() {
          super(columnKeyToIndex);
        }
    
        @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Aug 13 19:39:21 UTC 2025
    - 26.2K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/TestMapGenerator.java

     * limitations under the License.
     */
    
    package com.google.common.collect.testing;
    
    import com.google.common.annotations.GwtCompatible;
    import java.util.Map;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Creates maps, containing sample elements, to be tested.
     *
     * @author George van den Driessche
     */
    @GwtCompatible
    @NullMarked
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/SortedIterablesTest.java

      public void testSameComparator() {
        assertTrue(SortedIterables.hasSameComparator(Ordering.natural(), Sets.newTreeSet()));
        assertTrue(SortedIterables.hasSameComparator(Ordering.natural(), Maps.newTreeMap().keySet()));
        assertTrue(
            SortedIterables.hasSameComparator(
                Ordering.natural().reverse(), Sets.newTreeSet(Ordering.natural().reverse())));
      }
    
      public void testComparator() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/math/LinearTransformation.java

       *
       * @deprecated Create instances by using the static factory methods of the class.
       */
      @Deprecated
      public LinearTransformation() {}
    
      /**
       * Start building an instance which maps {@code x = x1} to {@code y = y1}. Both arguments must be
       * finite. Call either {@link LinearTransformationBuilder#and} or {@link
       * LinearTransformationBuilder#withSlope} on the returned object to finish building the instance.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbFileInputStreamTest.java

                assertEquals(5, in.skip(5));
            }
        }
    
        @Nested
        @DisplayName("SMB1 interactions")
        class Smb1Behavior {
    
            @Test
            @DisplayName("Named pipe: broken pipe maps to -1")
            void namedPipeBrokenPipeReturnsMinusOne() throws Exception {
                when(mockTree.isSMB2()).thenReturn(false);
                when(mockFile.getType()).thenReturn(SmbConstants.TYPE_NAMED_PIPE);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableRangeMap.java

          return (ImmutableRangeMap<K, V>) rangeMap;
        }
        Map<Range<K>, ? extends V> map = rangeMap.asMapOfRanges();
        ImmutableList.Builder<Range<K>> rangesBuilder = new ImmutableList.Builder<>(map.size());
        ImmutableList.Builder<V> valuesBuilder = new ImmutableList.Builder<>(map.size());
        for (Entry<Range<K>, ? extends V> entry : map.entrySet()) {
          rangesBuilder.add(entry.getKey());
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 17:50:58 UTC 2025
    - 14.8K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/cache/EmptyCachesTest.java

    import com.google.common.cache.LocalCache.Strength;
    import com.google.common.collect.ImmutableSet;
    import com.google.common.collect.Iterables;
    import com.google.common.collect.Maps;
    import com.google.common.testing.EqualsTester;
    import java.util.Collection;
    import java.util.Map.Entry;
    import java.util.Set;
    import java.util.concurrent.ExecutionException;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/cache/EmptyCachesTest.java

    import com.google.common.cache.LocalCache.Strength;
    import com.google.common.collect.ImmutableSet;
    import com.google.common.collect.Iterables;
    import com.google.common.collect.Maps;
    import com.google.common.testing.EqualsTester;
    import java.util.Collection;
    import java.util.Map.Entry;
    import java.util.Set;
    import java.util.concurrent.ExecutionException;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 11.9K bytes
    - Viewed (0)
Back to top