char lastLetter = featureType.charAt(lastCharIndex);
    public static FeatureCacheGraphicList createForType(String featureType) {        int lastCharIndex = featureType.length() - 1;        if (lastCharIndex >= 0) {            char lastLetter = featureType.charAt(lastCharIndex);            if (featureType == VPFUtil.Edge) {                return new FeatureCacheGraphicList.EDGE();            }            if (featureType == VPFUtil.Area) {                return new FeatureCacheGraphicList.AREA();            }            if (featureType == VPFUtil.Text) {                return new FeatureCacheGraphicList.TEXT();            }            if (featureType == VPFUtil.EPoint || featureType == VPFUtil.CPoint) {                return new FeatureCacheGraphicList.POINT();            }        }        return new FeatureCacheGraphicList.DEFAULT();    }