Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 438 for HashMap (0.03 sec)

  1. 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");
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 16K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/curl/CurlResponseTest.java

    import static org.junit.Assert.assertSame;
    import static org.junit.Assert.assertTrue;
    import static org.junit.Assert.fail;
    
    import java.io.IOException;
    import java.io.InputStream;
    import java.util.Arrays;
    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    
    import org.codelibs.curl.io.ContentCache;
    import org.junit.Test;
    
    /**
     * Test class for CurlResponse.
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Thu Nov 20 13:34:13 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  3. 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;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 10 07:09:12 UTC 2025
    - 16.9K bytes
    - Viewed (0)
  4. android/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);
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 22:56:33 UTC 2025
    - 62.7K bytes
    - Viewed (0)
  5. 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;
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Nov 20 19:58:27 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/pac/kerberos/KerberosRelevantAuthDataTest.java

    import static org.mockito.ArgumentMatchers.eq;
    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.mockStatic;
    
    import java.io.IOException;
    import java.util.Collections;
    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    
    import javax.security.auth.kerberos.KerberosKey;
    
    import org.bouncycastle.asn1.ASN1EncodableVector;
    import org.bouncycastle.asn1.ASN1Integer;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/opensearch/extension/ExtensionPlugin.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.opensearch.extension;
    
    import java.util.HashMap;
    import java.util.Map;
    
    import org.codelibs.opensearch.extension.analysis.AlphaNumWordFilterFactory;
    import org.codelibs.opensearch.extension.analysis.CharTypeFilterFactory;
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Tue Jul 08 14:37:06 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  8. 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);
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 22:56:33 UTC 2025
    - 65K bytes
    - Viewed (0)
  9. src/test/java/jcifs/http/NtlmHttpFilterTest.java

    import static org.mockito.Mockito.never;
    import static org.mockito.Mockito.verify;
    import static org.mockito.Mockito.when;
    
    import java.io.IOException;
    import java.util.Collections;
    import java.util.HashMap;
    import java.util.Map;
    import java.util.Properties;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.extension.ExtendWith;
    import org.mockito.Mock;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  10. 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) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 13.4K bytes
    - Viewed (0)
Back to top