parameters: (self)
return_statement: return -1 if self.isEmpty() else self.__buffer[(self.__start+self.__size-1) % len(self.__buffer)]
docstring: Get the last item from the deque.
          :rtype: int
docstring_summary: Get the last item from the deque.
          :rtype: int
docstring_tokens: Get the last item from the deque . : rtype : int
function: def getRear(self):
          """
          Get the last item from the deque.
          :rtype: int
          """
          return -1 if self.isEmpty() else self.__buffer[(self.__start+self.__size-1) % len(self.__buffer)]
function_tokens: def getRear ( self ) : return - 1 if self . isEmpty ( ) else self . __buffer [ ( self . __start + self . __size - 1 ) % len ( self . __buffer ) ]