Open myphysicslab opened 7 years ago
When a generic type is involved, the type is not shown consistently.
Here the docs show (T|null) when the parameter is the template type T. For example: https://www.myphysicslab.com/develop/docs/myphysicslab.lab.util.HistoryList.html#store
(T|null)
T
On the other hand, this method shows just T as the return type, which is correct: https://www.myphysicslab.com/develop/docs/myphysicslab.lab.util.HistoryList.html#getValue
For a case where the type is ?T (either null or the generic type) the type is shown as just ? https://www.myphysicslab.com/develop/docs/myphysicslab.lab.util.HistoryList.html#getEndValue
?T
?
When a generic type is involved, the type is not shown consistently.
Here the docs show
(T|null)
when the parameter is the template typeT
. For example: https://www.myphysicslab.com/develop/docs/myphysicslab.lab.util.HistoryList.html#storeOn the other hand, this method shows just
T
as the return type, which is correct: https://www.myphysicslab.com/develop/docs/myphysicslab.lab.util.HistoryList.html#getValueFor a case where the type is
?T
(either null or the generic type) the type is shown as just?
https://www.myphysicslab.com/develop/docs/myphysicslab.lab.util.HistoryList.html#getEndValue