Java Code Examples for org.jfree.util.ObjectUtilities#hashCode()

The following examples show how to use org.jfree.util.ObjectUtilities#hashCode() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: DialPlot.java    From openstock with GNU General Public License v3.0 6 votes vote down vote up
/**
 * Returns a hash code for this instance.
 *
 * @return The hash code.
 */
@Override
public int hashCode() {
    int result = 193;
    result = 37 * result + ObjectUtilities.hashCode(this.background);
    result = 37 * result + ObjectUtilities.hashCode(this.cap);
    result = 37 * result + this.dialFrame.hashCode();
    long temp = Double.doubleToLongBits(this.viewX);
    result = 37 * result + (int) (temp ^ (temp >>> 32));
    temp = Double.doubleToLongBits(this.viewY);
    result = 37 * result + (int) (temp ^ (temp >>> 32));
    temp = Double.doubleToLongBits(this.viewW);
    result = 37 * result + (int) (temp ^ (temp >>> 32));
    temp = Double.doubleToLongBits(this.viewH);
    result = 37 * result + (int) (temp ^ (temp >>> 32));
    return result;
}
 
Example 2
Source File: DialPlot.java    From buffer_bci with GNU General Public License v3.0 6 votes vote down vote up
/**
 * Returns a hash code for this instance.
 *
 * @return The hash code.
 */
@Override
public int hashCode() {
    int result = 193;
    result = 37 * result + ObjectUtilities.hashCode(this.background);
    result = 37 * result + ObjectUtilities.hashCode(this.cap);
    result = 37 * result + this.dialFrame.hashCode();
    long temp = Double.doubleToLongBits(this.viewX);
    result = 37 * result + (int) (temp ^ (temp >>> 32));
    temp = Double.doubleToLongBits(this.viewY);
    result = 37 * result + (int) (temp ^ (temp >>> 32));
    temp = Double.doubleToLongBits(this.viewW);
    result = 37 * result + (int) (temp ^ (temp >>> 32));
    temp = Double.doubleToLongBits(this.viewH);
    result = 37 * result + (int) (temp ^ (temp >>> 32));
    return result;
}
 
Example 3
Source File: DialPlot.java    From ccu-historian with GNU General Public License v3.0 6 votes vote down vote up
/**
 * Returns a hash code for this instance.
 *
 * @return The hash code.
 */
@Override
public int hashCode() {
    int result = 193;
    result = 37 * result + ObjectUtilities.hashCode(this.background);
    result = 37 * result + ObjectUtilities.hashCode(this.cap);
    result = 37 * result + this.dialFrame.hashCode();
    long temp = Double.doubleToLongBits(this.viewX);
    result = 37 * result + (int) (temp ^ (temp >>> 32));
    temp = Double.doubleToLongBits(this.viewY);
    result = 37 * result + (int) (temp ^ (temp >>> 32));
    temp = Double.doubleToLongBits(this.viewW);
    result = 37 * result + (int) (temp ^ (temp >>> 32));
    temp = Double.doubleToLongBits(this.viewH);
    result = 37 * result + (int) (temp ^ (temp >>> 32));
    return result;
}
 
Example 4
Source File: DialPlot.java    From buffer_bci with GNU General Public License v3.0 6 votes vote down vote up
/**
 * Returns a hash code for this instance.
 *
 * @return The hash code.
 */
@Override
public int hashCode() {
    int result = 193;
    result = 37 * result + ObjectUtilities.hashCode(this.background);
    result = 37 * result + ObjectUtilities.hashCode(this.cap);
    result = 37 * result + this.dialFrame.hashCode();
    long temp = Double.doubleToLongBits(this.viewX);
    result = 37 * result + (int) (temp ^ (temp >>> 32));
    temp = Double.doubleToLongBits(this.viewY);
    result = 37 * result + (int) (temp ^ (temp >>> 32));
    temp = Double.doubleToLongBits(this.viewW);
    result = 37 * result + (int) (temp ^ (temp >>> 32));
    temp = Double.doubleToLongBits(this.viewH);
    result = 37 * result + (int) (temp ^ (temp >>> 32));
    return result;
}
 
Example 5
Source File: DialPlot.java    From SIMVA-SoS with Apache License 2.0 6 votes vote down vote up
/**
 * Returns a hash code for this instance.
 *
 * @return The hash code.
 */
@Override
public int hashCode() {
    int result = 193;
    result = 37 * result + ObjectUtilities.hashCode(this.background);
    result = 37 * result + ObjectUtilities.hashCode(this.cap);
    result = 37 * result + this.dialFrame.hashCode();
    long temp = Double.doubleToLongBits(this.viewX);
    result = 37 * result + (int) (temp ^ (temp >>> 32));
    temp = Double.doubleToLongBits(this.viewY);
    result = 37 * result + (int) (temp ^ (temp >>> 32));
    temp = Double.doubleToLongBits(this.viewW);
    result = 37 * result + (int) (temp ^ (temp >>> 32));
    temp = Double.doubleToLongBits(this.viewH);
    result = 37 * result + (int) (temp ^ (temp >>> 32));
    return result;
}
 
Example 6
Source File: DialPlot.java    From ECG-Viewer with GNU General Public License v2.0 6 votes vote down vote up
/**
 * Returns a hash code for this instance.
 *
 * @return The hash code.
 */
@Override
public int hashCode() {
    int result = 193;
    result = 37 * result + ObjectUtilities.hashCode(this.background);
    result = 37 * result + ObjectUtilities.hashCode(this.cap);
    result = 37 * result + this.dialFrame.hashCode();
    long temp = Double.doubleToLongBits(this.viewX);
    result = 37 * result + (int) (temp ^ (temp >>> 32));
    temp = Double.doubleToLongBits(this.viewY);
    result = 37 * result + (int) (temp ^ (temp >>> 32));
    temp = Double.doubleToLongBits(this.viewW);
    result = 37 * result + (int) (temp ^ (temp >>> 32));
    temp = Double.doubleToLongBits(this.viewH);
    result = 37 * result + (int) (temp ^ (temp >>> 32));
    return result;
}
 
Example 7
Source File: LegendGraphic.java    From ECG-Viewer with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Returns a hash code for this instance.
 *
 * @return A hash code.
 */
@Override
public int hashCode() {
    int result = 193;
    result = 37 * result + ObjectUtilities.hashCode(this.fillPaint);
    // FIXME: use other fields too
    return result;
}
 
Example 8
Source File: LegendGraphic.java    From buffer_bci with GNU General Public License v3.0 5 votes vote down vote up
/**
 * Returns a hash code for this instance.
 *
 * @return A hash code.
 */
@Override
public int hashCode() {
    int result = 193;
    result = 37 * result + ObjectUtilities.hashCode(this.fillPaint);
    // FIXME: use other fields too
    return result;
}
 
Example 9
Source File: Title.java    From buffer_bci with GNU General Public License v3.0 5 votes vote down vote up
/**
 * Returns a hashcode for the title.
 *
 * @return The hashcode.
 */
@Override
public int hashCode() {
    int result = 193;
    result = 37 * result + ObjectUtilities.hashCode(this.position);
    result = 37 * result
            + ObjectUtilities.hashCode(this.horizontalAlignment);
    result = 37 * result + ObjectUtilities.hashCode(this.verticalAlignment);
    return result;
}
 
Example 10
Source File: LegendGraphic.java    From buffer_bci with GNU General Public License v3.0 5 votes vote down vote up
/**
 * Returns a hash code for this instance.
 *
 * @return A hash code.
 */
@Override
public int hashCode() {
    int result = 193;
    result = 37 * result + ObjectUtilities.hashCode(this.fillPaint);
    // FIXME: use other fields too
    return result;
}
 
Example 11
Source File: Title.java    From buffer_bci with GNU General Public License v3.0 5 votes vote down vote up
/**
 * Returns a hashcode for the title.
 *
 * @return The hashcode.
 */
@Override
public int hashCode() {
    int result = 193;
    result = 37 * result + ObjectUtilities.hashCode(this.position);
    result = 37 * result
            + ObjectUtilities.hashCode(this.horizontalAlignment);
    result = 37 * result + ObjectUtilities.hashCode(this.verticalAlignment);
    return result;
}
 
Example 12
Source File: AbstractRenderer.java    From opensim-gui with Apache License 2.0 5 votes vote down vote up
/**
 * Returns a hashcode for the renderer.
 * 
 * @return The hashcode.
 */
public int hashCode() {
    int result = 193;   
    result = 37 * result + ObjectUtilities.hashCode(this.stroke);     
    result = 37 * result + ObjectUtilities.hashCode(this.baseStroke);    
    result = 37 * result + ObjectUtilities.hashCode(this.outlineStroke);
    result = 37 * result + ObjectUtilities.hashCode(this.baseOutlineStroke);
    return result;
}
 
Example 13
Source File: LegendGraphic.java    From opensim-gui with Apache License 2.0 5 votes vote down vote up
/**
 * Returns a hash code for this instance.
 * 
 * @return A hash code.
 */
public int hashCode() {
    int result = 193;   
    result = 37 * result + ObjectUtilities.hashCode(this.fillPaint);
    // FIXME: use other fields too
    return result;
}
 
Example 14
Source File: Title.java    From opensim-gui with Apache License 2.0 5 votes vote down vote up
/**
 * Returns a hashcode for the title.
 * 
 * @return The hashcode.
 */
public int hashCode() {
    int result = 193;
    result = 37 * result + ObjectUtilities.hashCode(this.position);    
    result = 37 * result 
            + ObjectUtilities.hashCode(this.horizontalAlignment);    
    result = 37 * result + ObjectUtilities.hashCode(this.verticalAlignment);
    return result;
}
 
Example 15
Source File: Title.java    From openstock with GNU General Public License v3.0 5 votes vote down vote up
/**
 * Returns a hashcode for the title.
 *
 * @return The hashcode.
 */
@Override
public int hashCode() {
    int result = 193;
    result = 37 * result + ObjectUtilities.hashCode(this.position);
    result = 37 * result
            + ObjectUtilities.hashCode(this.horizontalAlignment);
    result = 37 * result + ObjectUtilities.hashCode(this.verticalAlignment);
    return result;
}
 
Example 16
Source File: Title.java    From ECG-Viewer with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Returns a hashcode for the title.
 *
 * @return The hashcode.
 */
@Override
public int hashCode() {
    int result = 193;
    result = 37 * result + ObjectUtilities.hashCode(this.position);
    result = 37 * result
            + ObjectUtilities.hashCode(this.horizontalAlignment);
    result = 37 * result + ObjectUtilities.hashCode(this.verticalAlignment);
    return result;
}
 
Example 17
Source File: LegendGraphic.java    From SIMVA-SoS with Apache License 2.0 5 votes vote down vote up
/**
 * Returns a hash code for this instance.
 *
 * @return A hash code.
 */
@Override
public int hashCode() {
    int result = 193;
    result = 37 * result + ObjectUtilities.hashCode(this.fillPaint);
    // FIXME: use other fields too
    return result;
}
 
Example 18
Source File: LegendGraphic.java    From ccu-historian with GNU General Public License v3.0 5 votes vote down vote up
/**
 * Returns a hash code for this instance.
 *
 * @return A hash code.
 */
@Override
public int hashCode() {
    int result = 193;
    result = 37 * result + ObjectUtilities.hashCode(this.fillPaint);
    // FIXME: use other fields too
    return result;
}
 
Example 19
Source File: Title.java    From ccu-historian with GNU General Public License v3.0 5 votes vote down vote up
/**
 * Returns a hashcode for the title.
 *
 * @return The hashcode.
 */
@Override
public int hashCode() {
    int result = 193;
    result = 37 * result + ObjectUtilities.hashCode(this.position);
    result = 37 * result
            + ObjectUtilities.hashCode(this.horizontalAlignment);
    result = 37 * result + ObjectUtilities.hashCode(this.verticalAlignment);
    return result;
}
 
Example 20
Source File: LegendGraphic.java    From openstock with GNU General Public License v3.0 5 votes vote down vote up
/**
 * Returns a hash code for this instance.
 *
 * @return A hash code.
 */
@Override
public int hashCode() {
    int result = 193;
    result = 37 * result + ObjectUtilities.hashCode(this.fillPaint);
    // FIXME: use other fields too
    return result;
}