ArrayList was replaced to List, vector0D was replaced to emptyVector