- java.lang.Object
-
- swim.uri.UriPort
-
- All Implemented Interfaces:
Comparable<UriPort>,Debug,Display
public class UriPort extends Object implements Comparable<UriPort>, Debug, Display
-
-
Field Summary
Fields Modifier and Type Field Description protected intnumber
-
Constructor Summary
Constructors Modifier Constructor Description protectedUriPort(int number)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(UriPort that)voiddebug(Output<?> output)Writes a developer readable, debug-formatted string representation of this object tooutput.voiddisplay(Output<?> output)Writes a human readable, display-formatted string representation of this object tooutput.booleanequals(Object other)static UriPortfrom(int number)inthashCode()booleanisDefined()intnumber()static UriPortparse(String string)StringtoString()static UriPortundefined()
-
-
-
Method Detail
-
undefined
public static UriPort undefined()
-
from
public static UriPort from(int number)
-
isDefined
public final boolean isDefined()
-
number
public final int number()
-
compareTo
public int compareTo(UriPort that)
- Specified by:
compareToin interfaceComparable<UriPort>
-
debug
public void debug(Output<?> output)
Description copied from interface:DebugWrites a developer readable, debug-formatted string representation of this object tooutput.
-
display
public void display(Output<?> output)
Description copied from interface:DisplayWrites a human readable, display-formatted string representation of this object tooutput.
-
-