parameters: (self)
return_statement: return self.arr[(self.head + self.cap) % (self.cap + 1)]
docstring: Get the last item from the queue.
docstring_summary: Get the last item from the queue.
docstring_tokens: Get the last item from the queue .
function: def Rear(self) -> int:
          """
          Get the last item from the queue.
          """
          if self.isEmpty():
              return MyCircularQueue.NULL_VAL
          return self.arr[(self.head + self.cap) % (self.cap + 1)]
function_tokens: def Rear ( self ) -> int : if self . isEmpty ( ) : return MyCircularQueue . NULL_VAL return self . arr [ ( self . head + self . cap ) % ( self . cap + 1 ) ]