Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,230 for nmap (0.12 sec)

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

        @Override
        protected Map<AnEnum, String> create(Entry<AnEnum, String>[] entries) {
          Map<AnEnum, String> map = Maps.newHashMap();
          for (Entry<AnEnum, String> entry : entries) {
            map.put(entry.getKey(), entry.getValue());
          }
          return Maps.immutableEnumMap(map);
        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // suite
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/features/MapFeature.java

    import java.lang.annotation.RetentionPolicy;
    import java.util.Map;
    import java.util.Set;
    
    /**
     * Optional features of classes derived from {@code Map}.
     *
     * @author George van den Driessche
     */
    @SuppressWarnings("rawtypes") // maybe avoidable if we rework the whole package?
    @GwtCompatible
    public enum MapFeature implements Feature<Map> {
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/reflect/MutableTypeToInstanceMapTest.java

        assertEquals(2, map.size());
    
        assertEquals(0, (int) map.getInstance(int.class));
        assertEquals(1, (int) map.getInstance(Integer.class));
    
        assertEquals(0, (int) map.putInstance(int.class, null));
        assertEquals(1, (int) map.putInstance(Integer.class, null));
    
        assertNull(map.getInstance(int.class));
        assertNull(map.getInstance(Integer.class));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/escape/ArrayBasedEscaperMapTest.java

          // pass
        }
      }
    
      public void testEmptyMap() {
        Map<Character, String> map = ImmutableMap.of();
        ArrayBasedEscaperMap fem = ArrayBasedEscaperMap.create(map);
        // Non-null array of zero length.
        assertEquals(0, fem.getReplacementArray().length);
      }
    
      public void testMapLength() {
        Map<Character, String> map =
            ImmutableMap.of(
                'a', "first",
                'z', "last");
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 2.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/SparseImmutableTable.java

          ImmutableList<Cell<R, C, V>> cellList,
          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 May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/indexer/DocBoostMatcher.java

        }
    
        public boolean match(final Map<String, Object> map) {
    
            if (map == null || map.isEmpty() || matchExpression == null) {
                return false;
            }
    
            final Object value = ComponentUtil.getScriptEngineFactory().getScriptEngine(scriptType).evaluate(matchExpression, map);
            if (value instanceof Boolean) {
                return ((Boolean) value);
            }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Serialization.java

      static <K extends @Nullable Object, V extends @Nullable Object> void writeMap(
          Map<K, V> map, ObjectOutputStream stream) throws IOException {
        stream.writeInt(map.size());
        for (Map.Entry<K, V> entry : map.entrySet()) {
          stream.writeObject(entry.getKey());
          stream.writeObject(entry.getValue());
        }
      }
    
      /**
       * Populates a map by reading an input stream, as part of deserialization. See {@link #writeMap}
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 06 16:06:58 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/UserInfoHelper.java

        public void storeQueryId(final String queryId, final List<Map<String, Object>> documentItems) {
            LaRequestUtil.getOptionalRequest().map(req -> req.getSession(false)).ifPresent(session -> {
                final FessConfig fessConfig = ComponentUtil.getFessConfig();
    
                final List<String> docIdList = new ArrayList<>();
                for (final Map<String, Object> map : documentItems) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/RangeMap.java

      /**
       * Returns a view of this range map as an unmodifiable {@code Map<Range<K>, V>}. Modifications to
       * this range map are guaranteed to read through to the returned {@code Map}.
       *
       * <p>The returned {@code Map} iterates over entries in ascending order of the bounds of the
       * {@code Range} entries.
       *
       * <p>It is guaranteed that no empty ranges will be in the returned {@code Map}.
       */
      Map<Range<K>, V> asMapOfRanges();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  10. 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 = Maps.newHashMap();
          for (Entry<AnEnum, String> entry : entries) {
            // checkArgument(!map.containsKey(entry.getKey()));
            map.put(entry.getKey(), entry.getValue());
          }
          return Maps.immutableEnumMap(map);
        }
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 8.4K bytes
    - Viewed (0)
Back to top