Skip to content

Commit 50e3481

Browse files
authored
Updates to Ocl.java and qvt2umlrsds.pdf
1 parent 401bffc commit 50e3481

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Ocl.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.example.app6;
1+
22

33

44
/******************************
@@ -181,13 +181,13 @@ public static <T> ArrayList<T> initialiseSequence(T ... args)
181181
return result;
182182
}
183183

184-
public static <T> copySet(Collection<T> s)
184+
public static <T> HashSet<T> copySet(Collection<T> s)
185185
{ HashSet<T> result = new HashSet<T>();
186186
result.addAll(s);
187187
return result;
188188
}
189189

190-
public static <T> copySequence(Collection<T> s)
190+
public static <T> ArrayList<T> copySequence(Collection<T> s)
191191
{ ArrayList<T> result = new ArrayList<T>();
192192
result.addAll(s);
193193
return result;

qvt2umlrsds.pdf

100 KB
Binary file not shown.

0 commit comments

Comments
 (0)