-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0106b87
commit e59887a
Showing
3 changed files
with
726 additions
and
114 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
package architecture; | ||
|
||
import java.util.Set; | ||
|
||
public class DataType { | ||
|
||
// class fields | ||
private String name; | ||
private Set<Variable> vars; | ||
|
||
public DataType(String name, Set<Variable> vars) { | ||
this.name = name; | ||
this.vars = vars; | ||
} | ||
|
||
@Override | ||
public String toString() { | ||
return name; | ||
} | ||
|
||
// getter and setter methods | ||
public Set<Variable> getVars() { | ||
return vars; | ||
} | ||
} |
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
Oops, something went wrong.