Class ListUtils

  • All Implemented Interfaces:
    org.robotframework.javalib.library.KeywordDocumentationRepository, org.robotframework.javalib.library.RobotFrameworkDynamicAPI

    public class ListUtils
    extends org.robotframework.javalib.library.AnnotationLibrary
    • Field Summary

      • Fields inherited from class org.robotframework.javalib.library.AnnotationLibrary

        beanLoaders, classFilter
    • Constructor Summary

      Constructors 
      Constructor Description
      ListUtils()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String getLastElement​(java.util.List list)  
      static java.lang.String getLastElement​(java.util.List list, boolean reverse)  
      static boolean isSorted​(java.util.List list, boolean reverse)  
      • Methods inherited from class org.robotframework.javalib.library.AnnotationLibrary

        addKeywordPattern, autowireFields, createKeywordFactory, getKeywordArguments, getKeywordDocumentation, runKeyword, runKeyword
      • Methods inherited from class org.robotframework.javalib.library.KeywordFactoryBasedLibrary

        getClassLoader, getKeywordNames, setClassLoader
      • Methods inherited from class java.lang.Object

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

      • ListUtils

        public ListUtils()
    • Method Detail

      • getLastElement

        public static java.lang.String getLastElement​(java.util.List list,
                                                      boolean reverse)
      • getLastElement

        public static java.lang.String getLastElement​(java.util.List list)
      • isSorted

        public static boolean isSorted​(java.util.List list,
                                       boolean reverse)