Example usage for java.io FileDescriptor hashCode

List of usage examples for java.io FileDescriptor hashCode

Introduction

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

Prototype

@HotSpotIntrinsicCandidate
public native int hashCode();

Source Link

Document

Returns a hash code value for the object.

Usage

From source file:Main.java

public static void main(String args[]) {
    FileDescriptor fd = FileDescriptor.in;
    System.out.println(fd.hashCode());
}

From source file:Main.java

public static void main(String args[]) {
    FileDescriptor fd = FileDescriptor.err;
    System.out.println(fd.hashCode());
}

From source file:Main.java

public static void main(String args[]) {
    FileDescriptor fd = FileDescriptor.out;
    System.out.println(fd.hashCode());
}

From source file:Main.java

public static void main(String args[]) {
    FileDescriptor fd = new FileDescriptor();
    System.out.println(fd.hashCode());
}