Class YamlSeq

    • Method Detail

      • from

        public static YamlSeq from​(Object... values)
        Quick inline sequence creation.
        Returns:
        sequence of provided values.
      • str

        public String str​(int i)
        String access
        Parameters:
        i - index
        Returns:
        String access, converting as needed
      • integer

        public Integer integer​(int i)
        Integer access
        Parameters:
        i - index
        Returns:
        Integer access, converting as needed
      • doub

        public Double doub​(int i)
        Double access
        Parameters:
        i - index
        Returns:
        Double access, converting as needed
      • bool

        public Boolean bool​(int i)
        Boolean access
        Parameters:
        i - index
        Returns:
        Boolean access, converting as needed
      • get

        public Object get​(int i)
        Value access
        Parameters:
        i - index
        Returns:
        Value access
      • obj

        public YamlObject<?> obj​(int i)
        Yaml wrapper access

        Wrappers are provided for Map and List

        Parameters:
        i - index
        Returns:
        Access as Yaml wrapper
      • map

        public YamlMap map​(int i)
        Map access
        Parameters:
        i - index
        Returns:
        Map access, provided as YamlMap wrapper
      • seq

        public YamlSeq seq​(int i)
        YamlSeq access
        Parameters:
        i - index
        Returns:
        Sequence access, provided as YamlSeq wrapper