<How to store two variables at the same time in an...
# stackoverflow
u
How to store two variables at the same time in an array or in different data structure I want to store two variables ,one is Timestamp and second is Alpha Value at the same time . Using below code I am not getting expected result. timeStampArray.add(rawData.received_at) alphaValuesArray.add(Math.toDegrees(result)) Could anybody help for how to store two variables using different methods? Thanks in advance.