package mycompiler.myparser; import java.util.Vector; import mycompiler.mytype.RefType; import mycompiler.mytype.Type; public class BoundedClassIdentifierList extends Vector{ private int endOffset; private Vector list; public BoundedClassIdentifierList(Vector list, int endOffset){ this.endOffset = endOffset; this.addAll(list); } public int getEndOffset() { return endOffset; } public void addOffsetOff(RefType refType) { this.endOffset = refType.getOffset() + refType.getName().length(); } }