Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 231 for containsKey (0.07 sec)

  1. guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

          Array.set(array, 0, generate(componentType));
          return array;
        }
        Method emptyGenerate = EMPTY_GENERATORS.get(rawType);
        if (emptyGenerate != null) {
          if (emptyInstanceGenerated.containsKey(type.getType())) {
            // empty instance already generated
            if (emptyInstanceGenerated.get(type.getType()).intValue() == freshness.get()) {
              // same freshness, generate again.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/Splitter.java

            Iterator<String> entryFields = entrySplitter.splittingIterator(entry);
    
            checkArgument(entryFields.hasNext(), INVALID_ENTRY_MESSAGE, entry);
            String key = entryFields.next();
            checkArgument(!map.containsKey(key), "Duplicate key [%s] found.", key);
    
            checkArgument(entryFields.hasNext(), INVALID_ENTRY_MESSAGE, entry);
            String value = entryFields.next();
            map.put(key, value);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 21:14:05 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/cache/CacheBuilder.java

       * access. Access time is reset by all cache read and write operations (including {@code
       * Cache.asMap().get(Object)} and {@code Cache.asMap().put(K, V)}), but not by {@code
       * containsKey(Object)}, nor by operations on the collection-views of {@link Cache#asMap}}. So,
       * for example, iterating through {@code Cache.asMap().entrySet()} does not reset access time for
       * the entries you retrieve.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        tester.testAllPublicInstanceMethods(MinMaxPriorityQueue.<String>create());
      }
    
      private static void insertIntoReplica(Map<Integer, AtomicInteger> replica, int newValue) {
        if (replica.containsKey(newValue)) {
          replica.get(newValue).incrementAndGet();
        } else {
          replica.put(newValue, new AtomicInteger(1));
        }
      }
    
      private static void removeMinFromReplica(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/net/InternetDomainName.java

            return i;
          }
    
          // Excluded domains (e.g. !nhs.uk) use the next highest
          // domain as the effective public suffix (e.g. uk).
    
          if (PublicSuffixPatterns.EXCLUDED.containsKey(ancestorName)) {
            return i + 1;
          }
        }
    
        return NO_SUFFIX_FOUND;
      }
    
      /**
       * Returns an instance of {@link InternetDomainName} after lenient validation. Specifically,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Feb 05 20:47:23 UTC 2024
    - 28K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/graph/TraverserTest.java

        return new SuccessorsFunction<Character>() {
          @Override
          public Iterable<? extends Character> successors(Character node) {
            checkArgument(
                graphMap.containsKey(node) || graphMap.containsValue(node),
                "Node %s is not an element of this graph",
                node);
            return Ordering.natural().immutableSortedCopy(graphMap.get(node));
          }
        };
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 47.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/graph/TraverserTest.java

        return new SuccessorsFunction<Character>() {
          @Override
          public Iterable<? extends Character> successors(Character node) {
            checkArgument(
                graphMap.containsKey(node) || graphMap.containsValue(node),
                "Node %s is not an element of this graph",
                node);
            return Ordering.natural().immutableSortedCopy(graphMap.get(node));
          }
        };
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 47.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/lang/GenericsUtil.java

            }
            if (type instanceof TypeVariable) {
                final TypeVariable<?> typeVariable = TypeVariable.class.cast(type);
                if (map.containsKey(typeVariable)) {
                    return getActualClass(map.get(typeVariable), map);
                }
                return getActualClass(typeVariable.getBounds()[0], map);
            }
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbFile.java

                 */
                try {
                    entries = doDfsRootEnum();
                    for (int ei = 0; ei < entries.length; ei++) {
                        e = entries[ei];
                        if (map.containsKey(e) == false)
                            map.put(e, e);
                    }
                } catch (IOException ioe) {
                    if (log.level >= 4)
                        ioe.printStackTrace(log);
                }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 107.9K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

            context.setSystemProperties(request.getSystemProperties());
            // enrich user properties with project packaging
            Properties userProperties = request.getUserProperties();
            if (!userProperties.containsKey(ProfileActivationContext.PROPERTY_NAME_PACKAGING)) {
                userProperties.put(
                        ProfileActivationContext.PROPERTY_NAME_PACKAGING,
                        request.getFileModel().getPackaging());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 83.6K bytes
    - Viewed (0)
Back to top