public static <T>List<T> emptyList(final List<T> list){
  return (list != null ? list : Collections.<T>emptyList());
}

public static < T > List < T > emptyList ( final List < T > list ) { return ( list != null ? list : Collections . < T > emptyList ( ) ) ; }
null - safe implementation for method invocations that return a list collection . if the returned list is null , then this method will return an empty list in it ' s place . < p / >
