public static List<DimensionalItemObject> asList(Collection<? extends DimensionalItemObject> collection){
  List<DimensionalItemObject> list=new ArrayList<>();
  list.addAll(collection);
  return list;
}

public static List < DimensionalItemObject > asList ( Collection < ? extends DimensionalItemObject > collection ) { List < DimensionalItemObject > list = new ArrayList < > ( ) ; list . addAll ( collection ) ; return list ; }
returns a list with erasure dimensionalitemobject based on the given collection .
