Examples of SimpleEntry


Examples of java.util.AbstractMap.SimpleEntry

    /**
     * @tests serialization/deserialization compatibility with RI.
     */
    @SuppressWarnings({ "unchecked", "boxing" })
    public void testSerializationCompatibility_SimpleEntry() throws Exception {
        SimpleEntry e = new AbstractMap.SimpleEntry<Integer, String>(1, "test");       
        SerializationTester.assertCompabilityEquals(e, "serialization/java/util/AbstractMapTest_SimpleEntry.golden.ser");
    }
View Full Code Here

Examples of nginx.clojure.NginxSimpleHandler.SimpleEntry

    long itemAddr = ngx_http_clojure_mem_get_list_item(headersPointer + NGX_HTTP_CLOJURE_HEADERSI_HEADERS_OFFSET, i);
//    System.out.println("LazyHeaderMap: i = " + i + ", addr:" + itemAddr + ", total=" + size);
    String key = fetchNGXString(itemAddr + NGX_HTTP_CLOJURE_TEL_KEY_OFFSET, DEFAULT_ENCODING).toLowerCase();
    String val = fetchNGXString(itemAddr + NGX_HTTP_CLOJURE_TEL_VALUE_OFFSET, DEFAULT_ENCODING);
//    System.out.println("LazyHeaderMap: i = " + i + ", key:" + key + ", val:" + val);
    return new SimpleEntry(key, val);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.