diff options
Diffstat (limited to 'ddl/lib/java/RT')
-rw-r--r-- | ddl/lib/java/RT/Maybe.java | 6 | ||||
-rw-r--r-- | ddl/lib/java/RT/V2.java | 10 | ||||
-rw-r--r-- | ddl/lib/java/RT/V3.java | 12 | ||||
-rw-r--r-- | ddl/lib/java/RT/V4.java | 14 |
4 files changed, 42 insertions, 0 deletions
diff --git a/ddl/lib/java/RT/Maybe.java b/ddl/lib/java/RT/Maybe.java new file mode 100644 index 0000000..7e416a7 --- /dev/null +++ b/ddl/lib/java/RT/Maybe.java | |||
@@ -0,0 +1,6 @@ | |||
1 | package RT; | ||
2 | |||
3 | public class Maybe<T> { | ||
4 | public Boolean valid; | ||
5 | public T data; | ||
6 | } | ||
diff --git a/ddl/lib/java/RT/V2.java b/ddl/lib/java/RT/V2.java new file mode 100644 index 0000000..7c7c90f --- /dev/null +++ b/ddl/lib/java/RT/V2.java | |||
@@ -0,0 +1,10 @@ | |||
1 | package RT; | ||
2 | |||
3 | public class V2<T> { | ||
4 | public T x; | ||
5 | public T y; | ||
6 | public V2(T x_, T y_) { | ||
7 | x = x_; | ||
8 | y = y_; | ||
9 | } | ||
10 | } | ||
diff --git a/ddl/lib/java/RT/V3.java b/ddl/lib/java/RT/V3.java new file mode 100644 index 0000000..7859bff --- /dev/null +++ b/ddl/lib/java/RT/V3.java | |||
@@ -0,0 +1,12 @@ | |||
1 | package RT; | ||
2 | |||
3 | public class V3<T> { | ||
4 | public T x; | ||
5 | public T y; | ||
6 | public T z; | ||
7 | public V3(T x_, T y_, T z_) { | ||
8 | x = x_; | ||
9 | y = y_; | ||
10 | z = z_; | ||
11 | } | ||
12 | } | ||
diff --git a/ddl/lib/java/RT/V4.java b/ddl/lib/java/RT/V4.java new file mode 100644 index 0000000..cfb7eed --- /dev/null +++ b/ddl/lib/java/RT/V4.java | |||
@@ -0,0 +1,14 @@ | |||
1 | package RT; | ||
2 | |||
3 | public class V4<T> { | ||
4 | public T x; | ||
5 | public T y; | ||
6 | public T z; | ||
7 | public T w; | ||
8 | public V4(T x_, T y_, T z_, T w_) { | ||
9 | x = x_; | ||
10 | y = y_; | ||
11 | z = z_; | ||
12 | w = w_; | ||
13 | } | ||
14 | } | ||