Skip to content

Commit

Permalink
Improved cgJava8
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinlano authored Aug 16, 2024
1 parent 81e666c commit c3d883c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cg/cgJava8.cstl
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@


Package::
package _1 { types: _2 classes: _3 usecases: _4 } |-->package _1;\n\nimport java.util.*;\nimport java.util.Map;\nimport java.util.HashMap;\nimport java.io.Serializable;\nimport java.util.function.Function;\n\n\n_2 \n_3\npublic class _1\n{ public static void main(String[] args) { }\n\n_4 \n}\n
package _1 { types: _2 classes: _3 usecases: _4 } |-->package _1;\n\nimport java.util.*;\nimport java.util.Map;\nimport java.util.HashMap;\nimport java.util.TreeMap;\nimport java.io.Serializable;\nimport java.util.function.Function;\n\n\n_2 \n_3\npublic class _1\n{ public static void main(String[] args) { }\n\n_4 \n}\n



Expand Down
8 changes: 8 additions & 0 deletions cg/jwrap.cstl
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,17 @@ boolean |-->Boolean
OclAny |-->Object
void |-->Object

Sequence |-->ArrayList
Set |-->HashSet
SortedSet |-->TreeSet
Map |-->HashMap
SortedMap |-->TreeMap

Set(_1) |-->HashSet<_1`jwrap>
SortedSet(_1) |-->TreeSet<_1`jwrap>
Sequence(_1) |-->ArrayList<_1`jwrap>
SortedSequence(_1) |-->SortedSequence<_1`jwrap>

Map(_1,_2) |-->HashMap<_1`jwrap,_2`jwrap>
SortedMap(_1,_2) |-->TreeMap<_1`jwrap,_2`jwrap>
Function(_1,_2) |-->Evaluation<_1`jwrap,_2`jwrap>
Expand Down

0 comments on commit c3d883c

Please sign in to comment.