Example usage for java.awt Color hashCode

List of usage examples for java.awt Color hashCode

Introduction

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

Prototype

public int hashCode() 

Source Link

Document

Computes the hash code for this Color .

Usage

From source file:Main.java

public static void main(String[] args) {
    Color myColor = Color.RED;

    System.out.println(myColor.hashCode());

}