18#ifndef _DECAF_UTIL_COLLECTIONS_H_
19#define _DECAF_UTIL_COLLECTIONS_H_
39 Collections(
const Collections&);
40 Collections& operator= (
const Collections&);
54 int size = list.
size();
58 for (
int i = 0; i < size / 2; i++) {
59 E frontNext = front->next();
60 E backPrev = back->previous();
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
virtual int size() const =0
Returns the number of elements in this collection.
static void reverse(List< E > &list)
Modifies the specified List by reversing the order of the elements.
Definition Collections.h:53
An ordered collection (also known as a sequence).
Definition List.h:47
virtual ListIterator< E > * listIterator()=0
#define DECAF_API
Definition Config.h:29
Definition AbstractCollection.h:33
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
Definition AprPool.h:25