aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2011-04-21 18:25:39 +0000
committerMike Buland <eichlan@xagasoft.com>2011-04-21 18:25:39 +0000
commitd35320258a47ef3ef257506fec4e44fa74b0afd4 (patch)
tree8238a43101f20c1e7c8e87f019066f23937b00ae
parentb0cf10fc04f73bfca68cf1137636407a87a92197 (diff)
downloadlibgats-d35320258a47ef3ef257506fec4e44fa74b0afd4.tar.gz
libgats-d35320258a47ef3ef257506fec4e44fa74b0afd4.tar.bz2
libgats-d35320258a47ef3ef257506fec4e44fa74b0afd4.tar.xz
libgats-d35320258a47ef3ef257506fec4e44fa74b0afd4.zip
Need a hand...
-rw-r--r--java/com/xagasoft/gats/GatsList.java13
-rw-r--r--java/com/xagasoft/gats/GatsObject.java2
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;
3import java.io.InputStream; 3import java.io.InputStream;
4import java.io.OutputStream; 4import java.io.OutputStream;
5 5
6public class GatsList extends GatsObject 6import java.util.List;
7import java.util.LinkedList;
8
9public 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':