Class FieldInfoList

    • Method Detail

      • asMap

        public Map<String,​T> asMap()
        Returns:
        An index for this list, as a map from the name of each list item (obtained by calling getName on the list item) to the list item.
      • containsName

        public boolean containsName​(String name)
        Parameters:
        name - The name to search for.
        Returns:
        true if this list contains an item with the given name.
      • get

        public T get​(String name)
        Parameters:
        name - The name to search for.
        Returns:
        The list item with the given name, or null if not found.
      • getAsStrings

        public List<String> getAsStrings()
        Returns:
        The string representations of all items in this list, obtained by calling toString() on each item in the list.