Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 765 for nmap (0.18 sec)

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

        // Hack around K not being a subtype of Comparable.
        // Unsafe, see ImmutableSortedSetFauxverideShim.
        @SuppressWarnings("unchecked")
        Ordering<K> naturalOrder = (Ordering<K>) NATURAL_ORDER;
        return copyOfInternal(map, naturalOrder);
      }
    
      /**
       * Returns an immutable map containing the same entries as {@code map}, with keys sorted by the
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/EnumHashBiMap.java

       * {@code EnumHashBiMap} or an {@link EnumBiMap}, the new bimap has the same key type as the input
       * bimap. Otherwise, the specified map must contain at least one mapping, in order to determine
       * the key type.
       *
       * @param map the map whose mappings are to be placed in this map
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Aug 24 01:40:03 GMT 2023
    - 5.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/HashBasedTable.java

     * Null row keys, columns keys, and values are not supported.
     *
     * <p>Lookups by row key are often faster than lookups by column key, because the data is stored in
     * a {@code Map<R, Map<C, V>>}. A method call like {@code column(columnKey).get(rowKey)} still runs
     * quickly, since the row key is provided. However, {@code column(columnKey).size()} takes longer,
     * since an iteration across all row keys occurs.
     *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Jan 24 17:47:51 GMT 2022
    - 4K bytes
    - Viewed (0)
  4. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableBiMap.java

          ImmutableMap<K, V> map = super.buildOrThrow();
          if (map.isEmpty()) {
            return of();
          }
          return new RegularImmutableBiMap<K, V>(super.buildOrThrow());
        }
    
        @Override
        ImmutableBiMap<K, V> buildJdkBacked() {
          return build();
        }
      }
    
      public static <K, V> ImmutableBiMap<K, V> copyOf(Map<? extends K, ? extends V> map) {
        if (map instanceof ImmutableBiMap) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 23 18:43:40 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  5. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

        final ConcurrentMap<?, ?> map;
    
        AbstractCacheSet(ConcurrentMap<?, ?> map) {
          this.map = map;
        }
    
        @Override
        public int size() {
          return map.size();
        }
    
        @Override
        public boolean isEmpty() {
          return map.isEmpty();
        }
    
        @Override
        public void clear() {
          map.clear();
        }
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 27 19:19:19 GMT 2024
    - 21.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/AbstractSortedSetMultimap.java

        extends AbstractSetMultimap<K, V> implements SortedSetMultimap<K, V> {
      /**
       * Creates a new multimap that uses the provided map.
       *
       * @param map place to store the mapping from each key to its corresponding values
       */
      protected AbstractSortedSetMultimap(Map<K, Collection<V>> map) {
        super(map);
      }
    
      @Override
      abstract SortedSet<V> createCollection();
    
      @Override
    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)
  7. android/guava/src/com/google/common/collect/AbstractSortedSetMultimap.java

        extends AbstractSetMultimap<K, V> implements SortedSetMultimap<K, V> {
      /**
       * Creates a new multimap that uses the provided map.
       *
       * @param map place to store the mapping from each key to its corresponding values
       */
      protected AbstractSortedSetMultimap(Map<K, Collection<V>> map) {
        super(map);
      }
    
      @Override
      abstract SortedSet<V> createCollection();
    
      @Override
    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)
  8. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableMap.java

      public static <K, V> ImmutableMap<K, V> copyOf(Map<? extends K, ? extends V> map) {
        if ((map instanceof ImmutableMap) && !(map instanceof ImmutableSortedMap)) {
          @SuppressWarnings("unchecked") // safe since map is not writable
          ImmutableMap<K, V> kvMap = (ImmutableMap<K, V>) map;
          return kvMap;
        } else if (map instanceof EnumMap) {
          EnumMap<?, ?> enumMap = (EnumMap<?, ?>) map;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 27 19:19:19 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/TableCollectionTest.java

         * map.remove(x)} returns the same value which {@code map.get(x)} did immediately beforehand.
         */
        @Override
        public void testRemove() {
          final Map<String, Map<Integer, Character>> map;
          final String keyToRemove;
          try {
            map = makePopulatedMap();
          } catch (UnsupportedOperationException e) {
            return;
          }
          keyToRemove = map.keySet().iterator().next();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 35.3K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/testers/MapComputeTester.java

    import com.google.common.collect.testing.features.CollectionSize;
    import com.google.common.collect.testing.features.MapFeature;
    import java.util.Map;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@link Map#compute}. Can't be invoked directly; please see
     * {@link com.google.common.collect.testing.MapTestSuiteBuilder}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 6.8K bytes
    - Viewed (0)
Back to top