Examples of TypePattern


Examples of org.lilyproject.indexer.model.indexerconf.TypePattern

    }

    @Test
    public void testRoundBracket() throws Exception {
        // Because angle brackets are annoying to write in XML, one can use round brackets too.
        TypePattern pattern = new TypePattern("LIST(LIST(RECORD(*)))");

        assertTrue(pattern.matches("LIST(LIST(RECORD))"));
        assertTrue(pattern.matches("LIST(LIST(RECORD(foobar)))"));
    }
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.