Class CollectionTemplateExtensions

java.lang.Object
io.quarkus.qute.runtime.extensions.CollectionTemplateExtensions

@Vetoed public class CollectionTemplateExtensions extends Object
  • Constructor Details

    • CollectionTemplateExtensions

      public CollectionTemplateExtensions()
  • Method Details

    • get

      static <T> T get(List<T> list, int index)
    • getByIndex

      static <T> T getByIndex(List<T> list, String index)
    • reversed

      static <T> Iterator<T> reversed(List<T> list)
    • take

      static <T> List<T> take(List<T> list, int n)
    • takeLast

      static <T> List<T> takeLast(List<T> list, int n)
    • orEmpty

      static <T> Collection<T> orEmpty(Collection<T> iterable)
    • first

      static <T> T first(List<T> list)
    • last

      static <T> T last(List<T> list)