Class EntityUtil


  • public class EntityUtil
    extends Object
    • Method Detail

      • getId

        public static <E extends org.dmg.pmml.Entity<?>> String getId​(E entity,
                                                                      HasEntityRegistry<E> hasEntityRegistry)
      • getId

        public static <E extends org.dmg.pmml.Entity<?>> String getId​(E entity,
                                                                      com.google.common.collect.BiMap<String,​E> entityRegistry)
      • buildBiMap

        public static <E extends org.dmg.pmml.Entity<?>> com.google.common.collect.BiMap<String,​E> buildBiMap​(List<E> entities)