Class StiCollectionsUtil

java.lang.Object
com.stimulsoft.lib.utils.StiCollectionsUtil

public class StiCollectionsUtil extends Object
  • Constructor Details

    • StiCollectionsUtil

      public StiCollectionsUtil()
  • Method Details

    • getElement

      public static <T extends IStiName> T getElement(ArrayList<T> collection, String name, Class<? extends T> classElement, boolean showWarning)
    • getElementOrNull

      public static <T extends IStiName> T getElementOrNull(ArrayList<T> collection, String name, Class<? extends T> classElement)
    • getIndex

      public static <T extends IStiName> int getIndex(ArrayList<T> collection, String name, Class<? extends T> classElement)
    • contains

      public static <T extends IStiName> boolean contains(ArrayList<T> collection, String name, Class<? extends T> classElement)
    • sortByName

      public static <T extends IStiName> void sortByName(ArrayList<T> collection)
    • toList

      public static <T> List<T> toList(Iterable<T> iterable)