| Modifier and Type | Field and Description |
|---|---|
protected LinkedList<AS> |
path |
| Modifier and Type | Method and Description |
|---|---|
void |
add(AS as)
alias of append(AS as)
|
void |
append(AS as)
Append an AS to the ASPATH
|
ASPath |
canonicalPath()
Build a copy of the AS_PATH but without prepends
|
int |
compareTo(ASPath aspath) |
boolean |
contains(AS as) |
boolean |
equals(ASPath other)
Shortcut for equals(Object o)
|
boolean |
equals(Object o)
This is the canonical implementation of the equals() method
|
AS |
generator() |
AS |
get(int i) |
LinkedList<AS> |
getPath() |
Vector<AS> |
getPrependers() |
boolean |
hasAsPathPrepend() |
boolean |
hasOriginPrepend() |
int |
indexOf(AS as) |
boolean |
isGenerator(AS as) |
int |
lastIndexOf(AS as) |
int |
length() |
void |
mkPrependers() |
void |
set(int index,
AS element) |
String |
toString() |
protected LinkedList<AS> path
public AS get(int i)
public void set(int index,
AS element)
public void append(AS as)
as - public void add(AS as)
as - public LinkedList<AS> getPath()
public int length()
public Vector<AS> getPrependers()
public boolean hasAsPathPrepend()
public void mkPrependers()
public int indexOf(AS as)
as: - an ASpublic int lastIndexOf(AS as)
as: - an ASpublic boolean contains(AS as)
public String toString()
public boolean equals(ASPath other)
ASPath - other: an other ASPathpublic boolean equals(Object o)
public boolean isGenerator(AS as)
as: - as Autonomous Systempublic AS generator()
public ASPath canonicalPath()
none - public boolean hasOriginPrepend()
public int compareTo(ASPath aspath)
Copyright © 2025. All rights reserved.