Package playn.core

Examples of playn.core.Platform


import playn.core.StubPlatform;

public class TypedStorageTest
{
    @Test public void testSetFor () {
        Platform pf = new StubPlatform();
        TypedStorage ts = new TypedStorage(pf.storage());
        Function<String,String> id = Functions.identity();

        RSet<String> strings = ts.setFor("strings", id, id);
        assertTrue(strings.isEmpty());
        strings.add("one");
View Full Code Here

TOP

Related Classes of playn.core.Platform

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.