code: public static Collection<LineageEventBuilder> load(Collection<? extends State> states) {
      Preconditions.checkArgument(states != null && !states.isEmpty());
      Set<LineageEventBuilder> allEvents = Sets.newHashSet();
      for (State state : states) {
        Map<String, Set<LineageEventBuilder>> branchedEvents = load(state);
        branchedEvents.values().forEach(allEvents::addAll);
      }
      return allEvents;
    }
docs: Load all lineage information from {@link State}s of a dataset
  
  @param states All states which belong to the same dataset
  @return A collection of {@link LineageEventBuilder}s put in the state