- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 206 for HashMap (0.04 seconds)
-
impl/maven-core/src/main/java/org/apache/maven/plugin/internal/DeprecatedCoreExpressionValidator.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 3.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ForMapMultimapAsMapImplementsMapTest.java
} @Override protected Map<String, Collection<Integer>> makeEmptyMap() { Map<String, Integer> map = new HashMap<>(); return Multimaps.forMap(map).asMap(); } @Override protected Map<String, Collection<Integer>> makePopulatedMap() { Map<String, Integer> map = new HashMap<>(); map.put("foo", 1); map.put("bar", 2); map.put("cow", 3); return Multimaps.forMap(map).asMap(); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 3K bytes - Click Count (0) -
guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java
@Override protected final Map<String, String> create(Entry<String, String>[] entries) { HashMap<String, String> map = new HashMap<>(); for (Entry<String, String> entry : entries) { map.put(entry.getKey(), entry.getValue()); } return wrap(map); } abstract Map<String, String> wrap(HashMap<String, String> map); } private static TestSuite wrappedHashMapTests(Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu May 22 16:18:11 GMT 2025 - 11.8K bytes - Click Count (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractorTest.java
* See the License for the specific language governing permissions and * limitations under the License. */ import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals;
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jan 10 07:09:12 GMT 2025 - 16.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/AbstractMapsTransformValuesTest.java
Map<String, Integer> underlying = new HashMap<>(); underlying.put("a", 1); Map<String, String> map = transformValues(underlying, Functions.toStringFunction()); assertEquals("1", map.remove("a")); assertThat(map.remove("b")).isNull(); } public void testTransformEqualityOfMapsWithNullValues() { Map<String, @Nullable String> underlying = new HashMap<>(); underlying.put("a", null);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 9.5K bytes - Click Count (0) -
api/maven-api-spi/src/main/java/org/apache/maven/api/spi/PropertyContributor.java
* @return The user properties with contributions. */ default Map<String, String> contribute(ProtoSession protoSession) { HashMap<String, String> userProperties = new HashMap<>(protoSession.getUserProperties()); contribute(userProperties); return userProperties; }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Nov 20 19:58:27 GMT 2024 - 2.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/FunctionsTest.java
public void testComposition() { Map<String, Integer> mJapaneseToInteger = new HashMap<>(); mJapaneseToInteger.put("Ichi", 1); mJapaneseToInteger.put("Ni", 2); mJapaneseToInteger.put("San", 3); Function<String, Integer> japaneseToInteger = Functions.forMap(mJapaneseToInteger); Map<Integer, String> mIntegerToSpanish = new HashMap<>(); mIntegerToSpanish.put(1, "Uno"); mIntegerToSpanish.put(3, "Tres");
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 16K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/MapsTest.java
Map<@Nullable String, String> hashmap = new HashMap<>(); hashmap.put("foo", "bar"); hashmap.put(null, "baz"); assertEquals(hashmap.toString(), Maps.toStringImpl(hashmap)); } public void testToStringImplWithNullValues() throws Exception { Map<String, @Nullable String> hashmap = new HashMap<>(); hashmap.put("foo", "bar"); hashmap.put("baz", null);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 22:56:33 GMT 2025 - 65K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/MapsTransformValuesUnmodifiableIteratorTest.java
protected Map<String, String> makeEmptyMap() { Map<String, Integer> underlying = new HashMap<>(); return transformValues( new UnmodifiableIteratorMap<String, Integer>(underlying), Functions.toStringFunction()); } @Override protected Map<String, String> makePopulatedMap() { Map<String, Integer> underlying = new HashMap<>(); underlying.put("a", 1); underlying.put("b", 2);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 12.4K bytes - Click Count (0) -
compat/maven-model/src/test/java/org/apache/maven/model/pom/PomMemoryAnalyzer.java
* duplicate content.</p> */ public class PomMemoryAnalyzer { private final Map<String, Map<String, StringStats>> pathStats = new HashMap<>(); private final Map<String, Integer> globalStringFrequency = new HashMap<>(); private int totalPoms = 0; public static void main(String[] args) throws Exception { if (args.length < 1) {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 13.4K bytes - Click Count (0)