source: osm/applications/editors/josm/plugins/opendata/includes/org/j7zip/Common/ObjectVector.java@ 29679

Last change on this file since 29679 was 29679, checked in by donvip, 11 years ago

[josm_opendata] Add .7z archive read support

File size: 434 bytes
Line 
1package org.j7zip.Common;
2
3public class ObjectVector<E> extends java.util.Vector<E>
4{
5 public ObjectVector() {
6 super();
7 }
8
9 public void Reserve(int s) {
10 ensureCapacity(s);
11 }
12
13 public E Back() {
14 return get(elementCount-1);
15 }
16
17 public E Front() {
18 return get(0);
19 }
20
21 public void DeleteBack() {
22 remove(elementCount-1);
23 }
24}
Note: See TracBrowser for help on using the repository browser.