@SuppressWarnings("unchecked")
    public <T> T getData() {
        return (T) data;
    }
artificial superclass for RouteItem or Track objects
main/src/main/java/cgeo/geocaching/models/MapSelectableItem.java