/**
  * Returns a typed list backed by the given list.
  * <p>
  * Only objects of the specified type can be added to the list.
  *
  * @param list  the list to limit to a specific type, must not be null
  * @param type  the type of objects which may be added to the list
  * @return a typed list backed by the specified list
  */
 public static java.util.List <Object> typedList(java.util.List <Object> list, java.lang.Class type)
 {
     return(TypedList.decorate(list, type));
 }