class PacketHeaderConstraintsToAclLineMatchExprUtils {

  @Nullable
  static AclLineMatchExpr fragmentOffsetsToAclLineMatchExpr(
      @Nullable IntegerSpace fragmentOffsets) {
    return Optional.ofNullable(fragmentOffsets)
        .map(IntegerSpace::getSubRanges)
        .map(k -> match(HeaderSpace.builder().setFragmentOffsets(k).build()))
        .orElse(null);
  }

  private  PacketHeaderConstraintsToAclLineMatchExprUtils();

}