Package com.redhat.ceylon.compiler.java.language

Examples of com.redhat.ceylon.compiler.java.language.StringInclusions


   
    @Ignore
    public static Iterable<? extends Integer, ?>
    inclusions(java.lang.String value, List<?> substring) {
        if (substring instanceof String) {
            return new StringInclusions(value, ((String) substring).value);
        }
        else {
            return instance(value).occurrences(substring);
        }
    }
View Full Code Here


    public Iterable<? extends Integer, ?>
    inclusions(
            @TypeInfo("ceylon.language::List<ceylon.language::Anything>")
            @Name("sublist") List<?> sublist) {
        if (sublist instanceof String) {
            return new StringInclusions(value, ((String) sublist).value);
        }
        else {
            return super.inclusions(sublist);
        }
    }
View Full Code Here

TOP

Related Classes of com.redhat.ceylon.compiler.java.language.StringInclusions

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.