Package uk.co.ractf.polaris.api.node
Class PortAllocations
- java.lang.Object
-
- uk.co.ractf.polaris.api.common.JsonRepresentable
-
- uk.co.ractf.polaris.api.node.PortAllocations
-
public class PortAllocations extends JsonRepresentable
-
-
Constructor Summary
Constructors Constructor Description PortAllocations(java.util.List<java.lang.Integer> tcp, java.util.List<java.lang.Integer> udp)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PortAllocations
empty()
boolean
equals(java.lang.Object o)
java.util.List<java.lang.Integer>
getTcp()
java.util.List<java.lang.Integer>
getUdp()
int
hashCode()
-
Methods inherited from class uk.co.ractf.polaris.api.common.JsonRepresentable
parse, toJsonString
-
-
-
-
Method Detail
-
empty
public static PortAllocations empty()
-
getTcp
public java.util.List<java.lang.Integer> getTcp()
-
getUdp
public java.util.List<java.lang.Integer> getUdp()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-