code: public static List<TrackSegment> nonEmptySegments(
  		final List<TrackSegment> segments
  	) {
  		return segments.stream()
  			.filter(TrackSegment::nonEmpty)
  			.collect(toList());
  	}
docs: Return a new segment list with all <i>empty</i> segments removed.
  
  @param segments the segment list to clean up
  @return  a new segment list with all <i>empty</i> segments removed
  @throws NullPointerException if the given argument is {@code null}