Example usage for java.awt TexturePaint hashCode

List of usage examples for java.awt TexturePaint hashCode

Introduction

In this page you can find the example usage for java.awt TexturePaint hashCode.

Prototype

@HotSpotIntrinsicCandidate
public native int hashCode();

Source Link

Document

Returns a hash code value for the object.

Usage

From source file:org.eclipse.birt.chart.device.svg.SVGGraphics2D.java

private String getTextureId(TexturePaint paint) {
    return "tp" + paint.hashCode(); //$NON-NLS-1$
}