src/main/java/tinyrtpl/Data.java
private boolean equalTo(Data d) {
        if(d == null) return false;
        if(this.type != d.type) return false;
        switch (this.type) {
            case 1:
                return this.vboolean == d.vboolean;
            case 2:
                return this.vint == d.vint;
            case 3:
                return this.vfloat == d.vfloat;
            case 4:
                return this.vstring.equals(d.vstring);
            default:
                return this.val() == d.val();
        }
    }
/**
     * Compare this instance with another
     * @param d: a Data instance
     * @return equal or not
     */
Compare this instance with another
@param d: a Data instance
@return equal or not
Compare this instance with another @param d : a Data instance @return equal or not
private boolean equalTo(Data d) {
        if(d == null) return false;
        if(this.type != d.type) return false;
        switch (this.type) {
            case 1:
                return this.vboolean == d.vboolean;
            case 2:
                return this.vint == d.vint;
            case 3:
                return this.vfloat == d.vfloat;
            case 4:
                return this.vstring.equals(d.vstring);
            default:
                return this.val() == d.val();
        }
    }
private boolean equalTo ( Data d ) { if ( d == null ) return false ; if ( this . type != d . type ) return false ; switch ( this . type ) { case 1 : return this . vboolean == d . vboolean ; case 2 : return this . vint == d . vint ; case 3 : return this . vfloat == d . vfloat ; case 4 : return this . vstring . equals ( d . vstring ) ; default : return this . val ( ) == d . val ( ) ; } }
Compare this instance with another
 @param d: a Data instance
 @return equal or not
Compare this instance with another @param d : a Data instance @return equal or not