code: public static <T> List<T> takeRight(List<T> self, int num) {
          return (List<T>) takeRight((Iterable<T>) self, num);
      }
docs: Returns the last <code>num</code> elements from the tail of this List.
  <pre class="groovyTestCase">
  def strings = [ 'a', 'b', 'c' ]
  assert strings.takeRight( 0 ) == []
  assert strings.takeRight( 2 ) == [ 'b', 'c' ]
  assert strings.takeRight( 5 ) == [ 'a', 'b', 'c' ]
  </pre>
  
  @param self the original List
  @param num  the number of elements to take from this List
  @return a List consisting of the last <code>num</code> elements from this List,
  or else all the elements from the List if it has less then <code>num</code> elements.
  @since 2.4.0