Class Pair


  • @Generated("de.xima.openapi.codegen.java_jaxrs.XimaJavaJaxrsGenerator")
    public class Pair
    extends Object
    A product type (also known as a tuple) of 2 elements.
    • Constructor Detail

      • Pair

        public Pair​(String left,
                    String right)
        Creates a new pair with the given elements.
        Parameters:
        left - The value of the first element.
        right - The value of the second element.
    • Method Detail

      • left

        public String left()
        Returns:
        The value of the first element.
      • right

        public String right()
        Returns:
        The value of the second element.