/************************************************************************************ * Copyright (C) 2008 by Politehnica University of Bucharest and Rutgers University * All rights reserved. * Refer to LICENSE for terms and conditions of use. ***********************************************************************************/ package vnsim.vehicular.generator; import java.util.ArrayList; import vnsim.vehicular.simulator.CarInstance; public class SortedEventsVector { private ArrayList theArray; public SortedEventsVector() { theArray=new ArrayList(); } public int size() { return theArray.size(); } public String toString() { String ret=" [ "; for(int i=0;i