package com.xagasoft.gats; import java.io.InputStream; import java.io.OutputStream; /** * Represents a null value. This is really is the simplest type, GatsBoolean is * a damn liar. This doesn't have any value, it's just null. */ public class GatsNull extends GatsObject { private boolean bValue = false; /** * Construct a new GatsNull, the default value is false. */ public GatsNull() { } public int getType() { return GatsObject.NULL; } public String toString() { return "(null)"; } void read( InputStream is, char cType ) throws java.io.IOException { } void write( OutputStream os ) throws java.io.IOException { os.write( (int)'n' ); } };