Class EntityUtil


  • public class EntityUtil
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static <E extends org.dmg.pmml.Entity<?>>
      com.google.common.collect.BiMap<java.lang.String,​E>
      buildBiMap​(java.util.List<E> entities)  
      static <E extends org.dmg.pmml.Entity<?>>
      java.lang.String
      getId​(E entity, com.google.common.collect.BiMap<java.lang.String,​E> entityRegistry)  
      static <E extends org.dmg.pmml.Entity<?>>
      java.lang.String
      getId​(E entity, HasEntityRegistry<E> hasEntityRegistry)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getId

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

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

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