public class RouteSet
extends java.lang.Object
| Constructor and Description |
|---|
RouteSet(RouteTableId tableId,
org.onlab.packet.IpPrefix prefix,
java.util.Set<Route> routes)
Creates a new route set.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object other) |
int |
hashCode() |
org.onlab.packet.IpPrefix |
prefix()
Returns the IP prefix.
|
java.util.Set<Route> |
routes()
Returns the set of routes.
|
RouteTableId |
tableId()
Returns the route table ID.
|
public RouteSet(RouteTableId tableId, org.onlab.packet.IpPrefix prefix, java.util.Set<Route> routes)
tableId - route table IDprefix - IP prefixroutes - routes for the given prefixpublic RouteTableId tableId()
public org.onlab.packet.IpPrefix prefix()
public java.util.Set<Route> routes()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object other)
equals in class java.lang.Object