Object [] getObj() {

        if (obj instanceof Object[]) {
            return (Object []) obj;
        }
        if (obj == null) {
            return emptyArray;
        }
        Object[] objarray = new Object[1];
        objarray[0] = obj;

        return objarray;
    }
Removes a range from a object.

@param range the range being removed.
@param objID the id of the object it is being
removed from.
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/address/AddressObjectMap.java