class PacketHeaderConstraintsToAclLineMatchExprUtils {

  @Nullable
  static AclLineMatchExpr ecnsToAclLineMatchExpr(@Nullable IntegerSpace ecns) {
    return Optional.ofNullable(ecns)
        .map(IntegerSpace::enumerate)
        .map(k -> match(HeaderSpace.builder().setEcns(k).build()))
        .orElse(null);
  }

  private  PacketHeaderConstraintsToAclLineMatchExprUtils();

}