Example usage for java.io FilePermission hashCode

List of usage examples for java.io FilePermission hashCode

Introduction

In this page you can find the example usage for java.io FilePermission hashCode.

Prototype

@Override
public int hashCode() 

Source Link

Document

Returns the hash code value for this object.

Usage

From source file:Main.java

public static void main(String[] args) throws IOException {

    FilePermission fp = new FilePermission("C://test.txt", "read");

    // the hash code value
    int hash = fp.hashCode();

    System.out.print("Hash Code: " + hash);

}