Package com.github.jmkgreen.morphia.testmodel

Examples of com.github.jmkgreen.morphia.testmodel.Rectangle


    }

    @Test
    public void testComplexRangeQuery() throws Exception {
        Rectangle[] rects = {
                new Rectangle(1, 10),
                new Rectangle(4, 2),
                new Rectangle(6, 10),
                new Rectangle(8, 5),
                new Rectangle(10, 4),
        };
        for(Rectangle rect: rects)
        {
            ds.save(rect);
        }
View Full Code Here


    }

    @Test
    public void testCombinationQuery() throws Exception {
        Rectangle[] rects = {
                new Rectangle(1, 10),
                new Rectangle(4, 2),
                new Rectangle(6, 10),
                new Rectangle(8, 5),
                new Rectangle(10, 4),
        };
        for(Rectangle rect: rects)
        {
            ds.save(rect);
        }
View Full Code Here

TOP

Related Classes of com.github.jmkgreen.morphia.testmodel.Rectangle

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.