Examples of ATEFoldingEntity


Examples of org.antlr.works.ate.folding.ATEFoldingEntity

    public ATEFoldingEntity getEntityForIdentifier(List entities, String identifier) {
        if(entities == null || entities.isEmpty())
            return null;
        // optimize using a map ?
        for (Object entity1 : entities) {
            ATEFoldingEntity entity = (ATEFoldingEntity) entity1;
            if (entity.foldingEntityID().equals(identifier))
                return entity;
        }
        return null;
    }
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.