Search Options

Results per page
Sort
Preferred Languages
Advance

Results 351 - 360 of 439 for setKey (0.05 sec)

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

     * that are equal to each other but unequal to the objects in any other group. For example:
     *
     * <pre>
     * new EqualsTester()
     *     .addEqualityGroup(new User("page"), new User("page"))
     *     .addEqualityGroup(new User("sergey"))
     *     .testEquals();
     * </pre>
     *
     * <p>This tests:
     *
     * <ul>
     *   <li>comparing each object against itself returns true
     *   <li>comparing each object against null returns false
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 31 19:11:50 UTC 2023
    - 6K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/MultimapPutTester.java

          Collection<V> collection = null;
          while (asMapItr.hasNext()) {
            Entry<K, Collection<V>> asMapEntry = asMapItr.next();
            if (key.equals(asMapEntry.getKey())) {
              collection = asMapEntry.getValue();
              break;
            }
          }
          assertNotNull(collection);
          Collection<V> expectedCollection = copyToList(collection);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/forked/DefaultForkedMavenInvoker.java

            if (mavenOptions.userProperties().isPresent()) {
                for (Map.Entry<String, String> entry :
                        mavenOptions.userProperties().get().entrySet()) {
                    cmdAndArguments.add("-D" + entry.getKey() + "=" + entry.getValue());
                }
            }
            if (mavenOptions.showVersionAndExit().orElse(false)) {
                cmdAndArguments.add("--version");
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java

        Object one = new Object();
        assertSame(one, cache.getUnchecked(one));
        assertTrue(segment.recencyQueue.isEmpty());
        assertSame(one, map.get(one));
        assertSame(one, segment.recencyQueue.peek().getKey());
        assertSame(one, cache.getUnchecked(one));
        assertFalse(segment.recencyQueue.isEmpty());
      }
    
      public void testRecursiveComputation() throws InterruptedException {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java

        Object one = new Object();
        assertSame(one, cache.getUnchecked(one));
        assertTrue(segment.recencyQueue.isEmpty());
        assertSame(one, map.get(one));
        assertSame(one, segment.recencyQueue.peek().getKey());
        assertSame(one, cache.getUnchecked(one));
        assertFalse(segment.recencyQueue.isEmpty());
      }
    
      public void testRecursiveComputation() throws InterruptedException {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/tests/AllTests.java

            for ( Entry<String, CIFSContext> ctx : CONTEXT_CACHE.entrySet() ) {
                if ( ctx.getValue().close() ) {
                    log.error("Context was still in use " + ctx.getKey());
                }
            }
        }
    
    
        static CIFSContext getCachedContext ( String context, Properties props ) throws CIFSException {
            CIFSContext cached = CONTEXT_CACHE.get(context);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:52:42 UTC 2020
    - 14.4K bytes
    - Viewed (0)
  7. architecture/standards/0006-use-of-provider-apis-in-gradle.md

    The Gradle codebase has evolved over time and has a mixture of simple getter/setter methods, Provider API and things in between.  It can be hard to follow best practices because Gradle provided types are reused in unexpected ways and extended by third party plugins.
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Oct 15 20:00:57 UTC 2024
    - 10K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/cache/AbstractCache.java

      }
    
      /** @since 12.0 */
      @Override
      public void putAll(Map<? extends K, ? extends V> m) {
        for (Entry<? extends K, ? extends V> entry : m.entrySet()) {
          put(entry.getKey(), entry.getValue());
        }
      }
    
      @Override
      public void cleanUp() {}
    
      @Override
      public long size() {
        throw new UnsupportedOperationException();
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 18:00:07 UTC 2021
    - 9.1K bytes
    - Viewed (0)
  9. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedMap.java

        return newView(unmodifiableSortedMap(delegate), comparator);
      }
    
      private static <K, V> void putEntryWithChecks(
          SortedMap<K, V> map, Entry<? extends K, ? extends V> entry) {
        K key = checkNotNull(entry.getKey());
        V value = checkNotNull(entry.getValue());
        if (map.containsKey(key)) {
          // When a collision happens, the colliding entry is the first entry
          // of the tail map.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 27 19:19:19 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/util/QueryStringBuilder.java

                        appendQuery(queryBuf, q);
                    }));
    
            stream(params.getFields()).of(stream -> stream.forEach(entry -> {
                final String key = entry.getKey();
                final String[] values = entry.getValue();
                if (values == null) {
                    // nothing
                } else if (values.length == 1) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 8.7K bytes
    - Viewed (0)
Back to top