activemq-cpp-3.9.5
decaf::util::Collections Class Reference

#include <src/main/decaf/util/Collections.h>

Static Public Member Functions

template<typename E>
static void reverse (List< E > &list)
 Modifies the specified List by reversing the order of the elements.
 

Member Function Documentation

◆ reverse()

template<typename E>
static void decaf::util::Collections::reverse ( List< E > & list)
inlinestatic

Modifies the specified List by reversing the order of the elements.

Parameters
listThe list to reverse.
Exceptions
UnsupportedOperationExceptionwhen replacing an element in the List is not supported.

References decaf::util::List< E >::listIterator(), and decaf::util::Collection< E >::size().


The documentation for this class was generated from the following file: