public byte getMaximumDifference_as_byte(){
        byte diff = (byte) 0;
        if(this.type==10 || this.type==11){
            byte max = this.getMaximum_as_byte();
            byte min = this.getMinimum_as_byte();
            diff = (byte)(max - min);
        }
        else{
            throw new IllegalArgumentException("Maximum difference may only be returned as the same type as the type of the internal array - you are trying to return as byte or Byte the difference for a " + this.typeName[this.type] +"[] array");
        }
        return diff;
    }