I have an object with the following memebers:
class XNode {
// key
long magicNumber;
// metadata:
int x;
iny y;
int z;
double angle;
double tempreture;
}
I want to use order list (the key is magicNumber).
Is there a list in java which already implements the add/remove/update in a order manner ? (I dont want to use Collections.sort for every operation).