Results for “java function return array example code python 1 site:bugs.java.com file”
bugs.java.com
Bug ID: JDK-4034116 Functions that return multiple values
It would be nice if functions could return more than one object for example. public (int, File) getData(int p_stuff){ return m_anInt, m_aFile; } ... File f; int i; (i, f) = getData(2); This save having to make an object just to hold the data.
bugs.java.com
Bug ID: JDK-8147834 [macosx] KeyEvents for function keys F17, F18...
This makes it impossible to use these last three function keys on the keyboard in Java applications. F1 through F16 work as expected.The function keys F17, F18 and F19 are returning key code 0 because the key codes for these keys are not defined on the MacOS X platform.
bugs.java.com
Bug ID: JDK-8202055 Add methods to Files for reading/writing a string...
Reading and writing a string from and to a file are common File operations. Currently, java.nio.file.Files already provides methods for the conversion between a byte array and file, as well as a list and file.