Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 381 - 390 of 550 for getValue5 (0.09 seconds)

  1. guava-testlib/src/com/google/common/collect/testing/testers/CollectionIteratorTester.java

        // If it's an Entry, it may become invalid once it's removed from the Map. Copy it.
        if (element instanceof Entry) {
          Entry<?, ?> entry = (Entry<?, ?>) element;
          element = mapEntry(entry.getKey(), entry.getValue());
        }
        assertTrue(collection.contains(element)); // sanity check
        iterator.remove();
        assertFalse(collection.contains(element));
        assertEquals(originalSize - 1, collection.size());
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  2. compat/maven-plugin-api/src/test/java/org/apache/maven/plugin/descriptor/PluginDescriptorBuilderTest.java

            assertEquals(1, md.getMojoConfiguration().getChildCount());
    
            PlexusConfiguration pc = md.getMojoConfiguration().getChild(0);
    
            assertEquals("${jar.finalName}", pc.getValue());
            assertEquals("${project.build.finalName}", pc.getAttribute("default-value"));
            assertEquals("java.lang.String", pc.getAttribute("implementation"));
    
            Parameter mp = md.getParameters().get(0);
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 6K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/ObjectCountLinkedHashMap.java

      }
    
      ObjectCountLinkedHashMap(ObjectCountHashMap<K> map) {
        init(map.size(), DEFAULT_LOAD_FACTOR);
        for (int i = map.firstIndex(); i != -1; i = map.nextIndex(i)) {
          put(map.getKey(i), map.getValue(i));
        }
      }
    
      @Override
      void init(int expectedSize, float loadFactor) {
        super.init(expectedSize, loadFactor);
        firstEntry = ENDPOINT;
        lastEntry = ENDPOINT;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/cache/LocalCacheMapComputeTest.java

              }
            });
    
        CacheTesting.checkEmpty(cache);
        for (RemovalNotification<String, String> entry : notifications) {
          assertThat(entry.getKey()).isNotNull();
          assertThat(entry.getValue()).isNotNull();
        }
      }
    
      public void testComputeExceptionally() {
        assertThrows(
            RuntimeException.class,
            () ->
                doParallelCacheOp(
                    count,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 6.4K bytes
    - Click Count (0)
  5. src/main/java/jcifs/spnego/NegTokenTarg.java

                    switch (tagged.getTagNo()) {
                    case 0:
                        final ASN1Enumerated enumerated = ASN1Enumerated.getInstance(tagged, true);
                        setResult(enumerated.getValue().intValue());
                        break;
                    case 1:
                        setMechanism(ASN1ObjectIdentifier.getInstance(tagged, true));
                        break;
                    case 2:
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

              Stopwatch stopwatch = entry.getValue();
              if (!stopwatch.isRunning() && !(service instanceof NoOpService)) {
                loadTimes.add(Maps.immutableEntry(service, stopwatch.elapsed(MILLISECONDS)));
              }
            }
          } finally {
            monitor.leave();
          }
          sort(loadTimes, Ordering.natural().onResultOf(Entry::getValue));
          return ImmutableMap.copyOf(loadTimes);
        }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 33.2K bytes
    - Click Count (1)
  7. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java

                                    return entry.getKey();
                                }
    
                                @Override
                                public String getValue() {
                                    return entry.getValue();
                                }
    
                                @Override
                                public String setValue(String value) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 38.4K bytes
    - Click Count (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/props/MavenProperties.java

                                    return entry.getKey();
                                }
    
                                @Override
                                public String getValue() {
                                    return entry.getValue();
                                }
    
                                @Override
                                public String setValue(String value) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Oct 16 09:03:48 GMT 2025
    - 38.5K bytes
    - Click Count (0)
  9. docs/smb3-features/06-witness-protocol-design.md

        VERSION_2(0x00020000);  // Windows Server 2012 R2+
        
        private final int version;
        
        WitnessVersion(int version) {
            this.version = version;
        }
        
        public int getValue() { return version; }
    }
    ```
    
    ### 3.2 Witness Event Types
    ```java
    public enum WitnessEventType {
        RESOURCE_CHANGE(1),        // Resource state changed
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 42K bytes
    - Click Count (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/MapPutIfAbsentTester.java

        Entry<K, V> nullValueEntry = entry(k3(), null);
        assertNull(
            "putIfAbsent(key, null) should return null",
            getMap().putIfAbsent(nullValueEntry.getKey(), nullValueEntry.getValue()));
        expectAdded(nullValueEntry);
      }
    
      @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_VALUES})
      @CollectionSize.Require(absent = ZERO)
      public void testPutIfAbsent_replacesNullValue() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 16 02:04:51 GMT 2025
    - 5.4K bytes
    - Click Count (0)
Back to Top