Java DataFlavor.hashCode()
Syntax
DataFlavor.hashCode() has the following syntax.
public int hashCode()
Example
In the following code shows how to use DataFlavor.hashCode() method.
import java.awt.datatransfer.DataFlavor;
/*from w w w.j a va2s .c o m*/
public class Main {
public static void main(String[] args) {
DataFlavor df = DataFlavor.stringFlavor;
System.out.println (df.hashCode ());
}
}