Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 136 for retValue (0.05 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/MavenArtifactRepository.java

                if (retValue.length() >= 2 && retValue.charAt(1) == '|') {
                    retValue = retValue.charAt(0) + ":" + retValue.substring(2);
                }
    
                // normalize separators
                retValue = new File(retValue).getPath();
            }
    
            if (retValue == null) {
                retValue = "/";
            }
            return retValue.trim();
        }
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 11K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/mdo/profiles.mdo

                {
                    RepositoryBase other =  (RepositoryBase) obj;
    
                    boolean retValue = false;
    
                    if ( id != null )
                    {
                        retValue = id.equals( other.id );
                    }
    
                    return retValue;
                }
              ]]></code>
            </codeSegment>
          </codeSegments>
        </class>
        <class>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ArrayTable.java

            }
    
            @Override
            @ParametricNullness
            public V getValue() {
              return ArrayMap.this.getValue(index);
            }
    
            @Override
            @ParametricNullness
            public V setValue(@ParametricNullness V value) {
              return ArrayMap.this.setValue(index, value);
            }
          };
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

          for (Entry<K, V> entry : entrySet) {
            assertTrue(map.containsKey(entry.getKey()));
            assertTrue(map.containsValue(entry.getValue()));
            int expectedHash =
                (entry.getKey() == null ? 0 : entry.getKey().hashCode())
                    ^ (entry.getValue() == null ? 0 : entry.getValue().hashCode());
            assertEquals(expectedHash, entry.hashCode());
            expectedEntrySetHash += expectedHash;
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/Helpers.java

              Entry<K, V> e = (Entry<K, V>) o;
              e.setValue(value); // muhahaha!
    
              return equal(this.getKey(), e.getKey()) && equal(this.getValue(), e.getValue());
            }
            return false;
          }
    
          @Override
          public int hashCode() {
            K k = getKey();
            V v = getValue();
            return ((k == null) ? 0 : k.hashCode()) ^ ((v == null) ? 0 : v.hashCode());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/LinkedListMultimapTest.java

        assertEquals("bar", entry.getKey());
        assertEquals(1, (int) entry.getValue());
        entry = entries.next();
        assertEquals("foo", entry.getKey());
        assertEquals(2, (int) entry.getValue());
        entry.setValue(4);
        entry = entries.next();
        assertEquals("bar", entry.getKey());
        assertEquals(3, (int) entry.getValue());
        assertFalse(entries.hasNext());
        entries.remove();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

          for (Entry<K, V> entry : entrySet) {
            assertTrue(map.containsKey(entry.getKey()));
            assertTrue(map.containsValue(entry.getValue()));
            int expectedHash =
                (entry.getKey() == null ? 0 : entry.getKey().hashCode())
                    ^ (entry.getValue() == null ? 0 : entry.getValue().hashCode());
            assertEquals(expectedHash, entry.hashCode());
            expectedEntrySetHash += expectedHash;
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/ImmutableMapTest.java

            toImmutableMap(Entry::getKey, Entry::getValue);
        assertThrows(
            IllegalArgumentException.class,
            () -> Stream.of(mapEntry("one", 1), mapEntry("one", 11)).collect(collector));
      }
    
      public void testToImmutableMapMerging() {
        Collector<Entry<String, Integer>, ?, ImmutableMap<String, Integer>> collector =
            toImmutableMap(Entry::getKey, Entry::getValue, Integer::sum);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/Init.java

                    throw new InterruptedException();
                }
    
                List<Map.Entry<String, PromptResultItemIF>> editables = result.entrySet().stream()
                        .filter(e -> e.getValue().getResult().contains("$"))
                        .toList();
                if (!editables.isEmpty()) {
                    context.addInHeader("");
                    context.addInHeader("Please customize the editable value:");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/TreeRangeMap.java

          V newValue = remappingFunction.apply(entry.getValue().getValue(), value);
          if (newValue == null) {
            backingItr.remove();
          } else {
            entry.setValue(
                new RangeMapEntry<K, V>(
                    entry.getValue().getLowerBound(), entry.getValue().getUpperBound(), newValue));
          }
        }
    
        entriesByLowerBound.putAll(gaps.build());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.7K bytes
    - Viewed (0)
Back to top