@Generated(value="org.immutables.processor.ProxyProcessor") public final class Ports extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Ports.Builder
Builds instances of type
Ports. |
| Modifier and Type | Method and Description |
|---|---|
static Ports.Builder |
builder()
Creates a builder for
Ports. |
boolean |
equals(Object another)
This instance is equal to all instances of
Ports that have equal attribute values. |
Integer |
getEnd()
The ending port
|
Integer |
getStart()
The starting port
|
int |
hashCode()
Computes a hash code from attributes:
end, start. |
String |
toString()
Prints the immutable value
Ports with attribute values. |
public Integer getEnd()
public Integer getStart()
public boolean equals(Object another)
Ports that have equal attribute values.public int hashCode()
end, start.public String toString()
Ports with attribute values.public static Ports.Builder builder()
Ports.
Ports.builder()
.end(Integer) // required end
.start(Integer) // required start
.build();
Copyright © 2020. All rights reserved.