Class EListUtil


  • public abstract class EListUtil
    extends Object
    • Method Detail

      • asEList

        @SafeVarargs
        public static <T> org.eclipse.emf.common.util.EList<T> asEList​(T... array)
      • singletonEList

        public static <T> org.eclipse.emf.common.util.EList<T> singletonEList​(T original)
      • elementsAreAllOfSameType

        public static boolean elementsAreAllOfSameType​(org.eclipse.emf.common.util.EList<?> list)
      • elementsAreAllInstancesOf

        public static boolean elementsAreAllInstancesOf​(org.eclipse.emf.common.util.EList<?> list,
                                                        Class<?> type)
      • castElements

        public static <T> org.eclipse.emf.common.util.EList<T> castElements​(org.eclipse.emf.common.util.EList<?> list,
                                                                            Class<? extends T> type)