Iz E-študij, proste zakladnice študentskega znanja
//Vozlisce grafa predstavljenega s seznamoma vozlisc in povezav
public class KVertex extends Vertex {
KVertex nextVertex ;
public KVertex() {
this(null, null) ;
}
public KVertex(Object val) {
this(val, null) ;
}
public KVertex(Object val, KVertex nV) {
super(val) ;
nextVertex = nV ;
}
}