Added SDSIO and delete to SDS map

This commit is contained in:
FlareMicrosystems
2022-05-30 06:51:40 -07:00
parent a97769e934
commit 47cbd10798
18 changed files with 7 additions and 0 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -141,6 +141,11 @@ public class SDSNameMapType extends SDSObject<TreeMap<String, SDSObject<?>>>{
value.remove(name);
else value.put(name, sdsObject);
}
public void delete(String name)
{
put(name, null);
}
@Override
public int getByteLength() {
@@ -188,4 +193,6 @@ public class SDSNameMapType extends SDSObject<TreeMap<String, SDSObject<?>>>{
public boolean hasOfType(String name, Class<?> tester) {
return this.value.containsKey(name) && tester.isInstance(this.value.get(name));
}
}