/** * @see java.lang.Object#hashCode() */ @Override public int hashCode() { final int prime = 31; int result = super.hashCode(); result = prime * result + this.dataValue; return result; }
/** * @see java.lang.Comparable#compareTo(java.lang.Object) */ public int compareTo( final TYPE aComparable ) { return ( this.idx - ( ( nl.lxtreme.ols.api.data.BaseData<?> )aComparable ).getIndex() ); }
/** * @see java.lang.Object#equals(java.lang.Object) */ @Override public boolean equals( final Object aObject ) { if ( this == aObject ) { return true; } if ( !super.equals( aObject ) || !( aObject instanceof JTAGData ) ) { return false; } final JTAGData other = ( JTAGData )aObject; if ( this.dataValue != other.dataValue ) { return false; } return true; }
/** * @see java.lang.Object#equals(java.lang.Object) */ @Override public boolean equals( final Object aObject ) { if ( this == aObject ) { return true; } if ( !super.equals( aObject ) || !( aObject instanceof I2CData ) ) { return false; } final I2CData other = ( I2CData )aObject; if ( this.value != other.value ) { return false; } return true; }
/** * @see java.lang.Object#hashCode() */ @Override public int hashCode() { final int prime = 31; int result = super.hashCode(); result = ( prime * result ) + this.value; return result; } }
/** * @see java.lang.Object#equals(java.lang.Object) */ @Override public boolean equals( final Object aObject ) { if ( this == aObject ) { return true; } if ( !super.equals( aObject ) || !( aObject instanceof OneWireData ) ) { return false; } final OneWireData other = ( OneWireData )aObject; if ( this.value != other.value ) { return false; } return true; }
/** * @see java.lang.Object#hashCode() */ @Override public int hashCode() { final int prime = 31; int result = super.hashCode(); result = prime * result + this.data; result = prime * result + this.type; return result; }
/** * @see java.lang.Object#equals(java.lang.Object) */ @Override public boolean equals( final Object aObject ) { if ( this == aObject ) { return true; } if ( !super.equals( aObject ) || !( aObject instanceof SPIData ) ) { return false; } final SPIData other = ( SPIData )aObject; if ( this.dataValue != other.dataValue ) { return false; } return true; }
/** * @see java.lang.Object#hashCode() */ @Override public int hashCode() { final int prime = 31; int result = super.hashCode(); result = ( prime * result ) + this.value; return result; } }
/** * @see java.lang.Object#equals(java.lang.Object) */ @Override public boolean equals( final Object aObject ) { if ( this == aObject ) { return true; } if ( !super.equals( aObject ) || !( aObject instanceof Asm45Data ) ) { return false; } final Asm45Data other = ( Asm45Data )aObject; if ( this.value != other.value ) { return false; } return true; }
/** * @see java.lang.Object#hashCode() */ @Override public int hashCode() { final int prime = 31; int result = super.hashCode(); result = prime * result + this.value; return result; } }
/** * @see java.lang.Object#equals(java.lang.Object) */ @Override public boolean equals( final Object aObject ) { if ( this == aObject ) { return true; } if ( !super.equals( aObject ) || !( aObject instanceof UARTData ) ) { return false; } final UARTData other = ( UARTData )aObject; if ( this.data != other.data ) { return false; } if ( this.type != other.type ) { return false; } return true; }
/** * @see java.lang.Object#hashCode() */ @Override public int hashCode() { final int prime = 31; int result = super.hashCode(); if ( this.dataValue != null ) { result = prime * result + this.dataValue.hashCode(); } return result; }