Class HostPortRange.Builder

  • Enclosing class:
    HostPortRange

    public static class HostPortRange.Builder
    extends java.lang.Object
    • Method Detail

      • max

        public HostPortRange.Builder max​(@NonNull
                                         @NonNull java.lang.Number max)
        max is the end of the range, inclusive.
        Returns:
        this.
      • min

        public HostPortRange.Builder min​(@NonNull
                                         @NonNull java.lang.Number min)
        min is the start of the range, inclusive.
        Returns:
        this.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object