class PacketHeaderConstraintsToAclLineMatchExprUtils {

  @Nullable
  static AclLineMatchExpr applicationsToAclLineMatchExpr(@Nullable Set<Application> applications) {
    return applications == null
        ? null
        : or(
            applications.stream()
                .map(Application::toAclLineMatchExpr)
                .collect(ImmutableList.toImmutableList()));
  }

  private  PacketHeaderConstraintsToAclLineMatchExprUtils();

}