public class LispAsAddress extends LispAfiAddress
| Modifier and Type | Class and Description |
|---|---|
static class |
LispAsAddress.AsAddressReader
Autonomous system address reader class.
|
static class |
LispAsAddress.AsAddressWriter
Autonomous system address writer class.
|
LispAfiAddress.AfiAddressReader, LispAfiAddress.AfiAddressWriter| Constructor and Description |
|---|
LispAsAddress(int num)
Initializes AS identifier number.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
int |
getASNum()
Obtains AS identifier number.
|
int |
hashCode() |
java.lang.String |
toString() |
getAfipublic LispAsAddress(int num)
num - AS numberpublic int getASNum()
public int hashCode()
hashCode in class LispAfiAddresspublic boolean equals(java.lang.Object obj)
equals in class LispAfiAddresspublic java.lang.String toString()
toString in class java.lang.Object