18 #ifndef _DECAF_UTIL_COLLECTIONS_H_ 19 #define _DECAF_UTIL_COLLECTIONS_H_ 54 int size = list.
size();
58 for (
int i = 0; i < size / 2; i++) {
59 E frontNext = front->next();
60 E backPrev = back->previous();
static void reverse(List< E > &list)
Modifies the specified List by reversing the order of the elements.
Definition: Collections.h:53
virtual ListIterator< E > * listIterator()=0
Definition: Collections.h:35
virtual int size() const =0
Returns the number of elements in this collection.
#define DECAF_API
Definition: Config.h:29
An ordered collection (also known as a sequence).
Definition: List.h:47
Decaf's implementation of a Smart Pointer that is a template on a Type and is Thread Safe if the defa...
Definition: Pointer.h:53
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements...
Definition: AprPool.h:25