*/
public static class SubVal
{
- protected int index = 0;
+ private static int NOTSET = -1;
+
+ protected int index = NOTSET;
protected String keyName = null;
this.content = item;
}
}
+
+ public boolean notSet()
+ {
+ // notSet is true if content present but nonsensical
+ return index == NOTSET && keyName == null && keyValue == null;
+ }
}
}
\ No newline at end of file