aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--java/com/xagasoft/gats/GatsDictionary.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/java/com/xagasoft/gats/GatsDictionary.java b/java/com/xagasoft/gats/GatsDictionary.java
index b04f02c..a980b9d 100644
--- a/java/com/xagasoft/gats/GatsDictionary.java
+++ b/java/com/xagasoft/gats/GatsDictionary.java
@@ -142,6 +142,15 @@ public class GatsDictionary extends GatsObject implements Map<String,GatsObject>
142 } 142 }
143 143
144 /** 144 /**
145 * Helper function that inserts a new com.xagasoft.gats.GatsString with the
146 * value val.
147 */
148 public GatsObject put( String key, byte val[] )
149 {
150 return hValue.put( key, new GatsString( val ) );
151 }
152
153 /**
145 * Helper function that gets the specified GatsObject, casts it to a 154 * Helper function that gets the specified GatsObject, casts it to a
146 * com.xagasoft.gats.GatsInteger and extracts the value from it. If the 155 * com.xagasoft.gats.GatsInteger and extracts the value from it. If the
147 * key specified does not appear in the GatsDictionary or is not the correct 156 * key specified does not appear in the GatsDictionary or is not the correct