class_docstr: Base class for binary predicates that are defined in terms of the equals
  basic predicate.  `EqualsPredicateBase` implements utility functions that
  are used within many equals-related binary predicates.
  
  Used by:
  (Point, Point)
  (Point, Polygon)
  (LineString, Polygon)
  (Polygon, Point)
  (Polygon, MultiPoint)
  (Polygon, LineString)
  (Polygon, Polygon)
class_docstr_tok: ["Base","class","for","binary","predicates","that","are","defined","in","terms","of","the","equals","basic","predicate",".","`","EqualsPredicateBase","`","implements","utility","functions","that","are","used","within","many","equals-related","binary","predicates",".","Used","by",":","(","Point",",","Point",")","(","Point",",","Polygon",")","(","LineString",",","Polygon",")","(","Polygon",",","Point",")","(","Polygon",",","MultiPoint",")","(","Polygon",",","LineString",")","(","Polygon",",","Polygon",")"]
docstr: Reverse the order of coordinates in a Arrow buffer of coordinates
  and offsets.
docstr_tok: ["Reverse","the","order","of","coordinates","in","a","Arrow","buffer","of","coordinates","and","offsets","."]
code: def _reverse_linestrings(self, coords, offsets):
      """Reverse the order of coordinates in a Arrow buffer of coordinates
      and offsets."""
      result = self._sort_interleaved_points_by_offset(
          coords, offsets, ["object_key", "point_key", "xy_key"]
      )
      result.name = None
      return result
  
imports: from __future__ import annotations
  from typing import Generic, TypeVar
  import cupy
  import cudf
  from cudf import Series
  import cuspatial
  from cuspatial.core.binpreds.binpred_interface import BinPred, EqualsOpResult, ImpossiblePredicate, NotImplementedPredicate, PreprocessorResult
  from cuspatial.utils.binpred_utils import LineString, MultiPoint, Point, Polygon, _false_series
label_desc: Use image node_id 5 for calling the EqualsPredicateBase obj's underlying member method code with example usage: obj._reverse_linestrings(coords, offsets) and returns: result