Class SelectItemsBuilder

  • public class SelectItemsBuilder
    extends Object
    Helper class to build an array of SelectItems using various means, like via the builder pattern or a given Map.
    Arjan Tijms
    • Constructor Detail

      • SelectItemsBuilder

        public SelectItemsBuilder()
    • Method Detail

      • fromMap

        public static List<SelectItem> fromMap​(Map<?,​?> map)
        Builds a List of SelectItems from the given Map argument.
        map - the Map
        List of SelectItems having the map's value as value and the map's key as label.