![]() |
getNumberArray(String) is deprecated
I am trying to get an array value from network tables in java but can't seem to get it right.
currently using this... Code:
double[] width = Table.getNumberArray("width");Code:
The method getNumberArray(String) from the type NetworkTable is deprecated |
Re: getNumberArray(String) is deprecated
Deprecated methods means that they are old or may no longer be supported/may be removed in a future update.
However, they should still work. I assume you aren't getting an error, but rather a warning. As for fixing it: You'd have to use the new way of doing what you are trying to do. I don't know what it is called off the top of my head. |
Re: getNumberArray(String) is deprecated
Quote:
|
Re: getNumberArray(String) is deprecated
Quote:
Code:
double[] defaultval = new double[0];forgive me if im missing something very obvious switched over to java 4 days ago and arrays are not my strong suit |
Re: getNumberArray(String) is deprecated
Quote:
Double[] x = {0.0}; getNumberArray("width", x); |
Re: getNumberArray(String) is deprecated
Quote:
|
| All times are GMT -5. The time now is 09:59. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi