PPT Slide
public class AVTable implements Attributed {
private AVListNode Head;
public void find(String attrName) {
AVListNode Marker;
Marker = Head;
while (Marker != null &&
Marker.Attribute != attrName)
Marker = Marker.Next;
if (Marker != null) return Marker.Value;
else return null;
} . . .
}
public class AVListNode {
String Attribute;
Attr Value;
AVListNode Next; . . . }
Previous slide
Next slide
Back to first slide
View graphic version