Class Utils


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

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static <T> java.util.List<T> getList​(java.util.Collection<T> list)  
      static <T extends S,​S>
      java.util.List<S>
      getList​(java.util.Collection<T> list, java.lang.Class<S> clazz)  
      static <T,​M>
      java.util.Map<T,​M>
      getMap​(java.util.Map<T,​M> map)  
      • Methods inherited from class java.lang.Object

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

      • getList

        public static <T> java.util.List<T> getList​(java.util.Collection<T> list)
      • getList

        public static <T extends S,​S> java.util.List<S> getList​(java.util.Collection<T> list,
                                                                      java.lang.Class<S> clazz)
      • getMap

        public static <T,​M> java.util.Map<T,​M> getMap​(java.util.Map<T,​M> map)