From d35320258a47ef3ef257506fec4e44fa74b0afd4 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Thu, 21 Apr 2011 18:25:39 +0000 Subject: Need a hand... --- java/com/xagasoft/gats/GatsList.java | 13 ++++++++++++- java/com/xagasoft/gats/GatsObject.java | 2 +- 2 files changed, 13 insertions(+), 2 deletions(-) (limited to 'java') 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; import java.io.InputStream; import java.io.OutputStream; -public class GatsList extends GatsObject +import java.util.List; +import java.util.LinkedList; + +public class GatsList extends GatsObject implements List { + private LinkedList lValue = new LinkedList(); + + public GatsList() + { + } + + + public int getType() { 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 break; case 'l': - // goRet = new GatsList(); + goRet = new GatsList(); break; case 'd': -- cgit v1.2.3