Added SDSIO and delete to SDS map
This commit is contained in:
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.
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));
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user