Package com.thoughtworks.xstream.core.util

Examples of com.thoughtworks.xstream.core.util.WeakCache


            throw new ObjectAccessException("Cannot clone XmlFriendlyNameCoder", e);
        }
    }

    private Object readResolve() {
        escapeCache = new WeakCache();
        unescapeCache = new WeakCache();
        return this;
    }
View Full Code Here


    /**
     * Construct a StringConverter using a cache with weak references.
     */
    public StringConverter() {
        this(Collections.synchronizedMap(new WeakCache()));
    }
View Full Code Here

TOP

Related Classes of com.thoughtworks.xstream.core.util.WeakCache

Copyright © 2018 www.massapicom. 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.