diff options
author | Mike Buland <eichlan@xagasoft.com> | 2011-04-21 18:25:39 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2011-04-21 18:25:39 +0000 |
commit | d35320258a47ef3ef257506fec4e44fa74b0afd4 (patch) | |
tree | 8238a43101f20c1e7c8e87f019066f23937b00ae /java/com/xagasoft | |
parent | b0cf10fc04f73bfca68cf1137636407a87a92197 (diff) | |
download | libgats-d35320258a47ef3ef257506fec4e44fa74b0afd4.tar.gz libgats-d35320258a47ef3ef257506fec4e44fa74b0afd4.tar.bz2 libgats-d35320258a47ef3ef257506fec4e44fa74b0afd4.tar.xz libgats-d35320258a47ef3ef257506fec4e44fa74b0afd4.zip |
Need a hand...
Diffstat (limited to 'java/com/xagasoft')
-rw-r--r-- | java/com/xagasoft/gats/GatsList.java | 13 | ||||
-rw-r--r-- | java/com/xagasoft/gats/GatsObject.java | 2 |
2 files changed, 13 insertions, 2 deletions
diff --git a/java/com/xagasoft/gats/GatsList.java b/java/com/xagasoft/gats/GatsList.java index f58faa2..6f13ea7 100644 --- a/java/com/xagasoft/gats/GatsList.java +++ b/java/com/xagasoft/gats/GatsList.java | |||
@@ -3,8 +3,19 @@ package com.xagasoft.gats; | |||
3 | import java.io.InputStream; | 3 | import java.io.InputStream; |
4 | import java.io.OutputStream; | 4 | import java.io.OutputStream; |
5 | 5 | ||
6 | public class GatsList extends GatsObject | 6 | import java.util.List; |
7 | import java.util.LinkedList; | ||
8 | |||
9 | public class GatsList extends GatsObject implements List<GatsObject> | ||
7 | { | 10 | { |
11 | private LinkedList<GatsObject> lValue = new LinkedList<GatsObject>(); | ||
12 | |||
13 | public GatsList() | ||
14 | { | ||
15 | } | ||
16 | |||
17 | |||
18 | |||
8 | public int getType() | 19 | public int getType() |
9 | { | 20 | { |
10 | return GatsObject.LIST; | 21 | return GatsObject.LIST; |
diff --git a/java/com/xagasoft/gats/GatsObject.java b/java/com/xagasoft/gats/GatsObject.java index 97c9c12..cb97a43 100644 --- a/java/com/xagasoft/gats/GatsObject.java +++ b/java/com/xagasoft/gats/GatsObject.java | |||
@@ -37,7 +37,7 @@ public abstract class GatsObject | |||
37 | break; | 37 | break; |
38 | 38 | ||
39 | case 'l': | 39 | case 'l': |
40 | // goRet = new GatsList(); | 40 | goRet = new GatsList(); |
41 | break; | 41 | break; |
42 | 42 | ||
43 | case 'd': | 43 | case 'd': |