-
-
Save anonymous/725dfae10e75f5e34826 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class IdentifierHeaderNode | |
{ | |
private String identifier; | |
private LineNumNode next; | |
// constructor | |
public IdentifierHeaderNode(String identifier, LineNumNode next) | |
{ | |
this.identifier = identifier; | |
this.next = next; | |
} | |
// getters | |
public String getIdentifier() | |
{ | |
return identifier; | |
} | |
public LineNumNode getNext() | |
{ | |
return next; | |
} | |
// setters | |
public void setNext(LineNumNode next) | |
{ | |
this.next = next; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class LineNumNode | |
{ | |
private int lineNum; | |
private LineNumNode next; | |
// constructor | |
public LineNumNode(int lineNum, LineNumNode next) | |
{ | |
this.lineNum = lineNum; | |
this.next = next; | |
} | |
// getters | |
public int getLineNum() | |
{ | |
return lineNum; | |
} | |
public LineNumNode getNext() | |
{ | |
return next; | |
} | |
public void setNext(LineNumNode next) | |
{ | |
this.next = next; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment