Example usage for java.awt Font hashCode

List of usage examples for java.awt Font hashCode

Introduction

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

Prototype

public int hashCode() 

Source Link

Document

Returns a hashcode for this Font .

Usage

From source file:Main.java

public void paint(Graphics g) {
    Font f = g.getFont();

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

    g.drawString("java2s.com", 4, 16);
}