svn-gvsig-desktop / branches / v2_0_0_prep / libraries / libFMap_dal / src / org / gvsig / fmap / dal / feature / spi / LongList.java @ 33717
History | View | Annotate | Download (1.26 KB)
1 | 23952 | jiyarza | /* gvSIG. Geographic Information System of the Valencian Government
|
---|---|---|---|
2 | *
|
||
3 | * Copyright (C) 2007-2008 Infrastructures and Transports Department
|
||
4 | * of the Valencian Government (CIT)
|
||
5 | 29391 | jmvivo | *
|
6 | 23952 | jiyarza | * This program is free software; you can redistribute it and/or
|
7 | * modify it under the terms of the GNU General Public License
|
||
8 | * as published by the Free Software Foundation; either version 2
|
||
9 | * of the License, or (at your option) any later version.
|
||
10 | 29391 | jmvivo | *
|
11 | 23952 | jiyarza | * This program is distributed in the hope that it will be useful,
|
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||
14 | * GNU General Public License for more details.
|
||
15 | 29391 | jmvivo | *
|
16 | 23952 | jiyarza | * You should have received a copy of the GNU General Public License
|
17 | * along with this program; if not, write to the Free Software
|
||
18 | 29391 | jmvivo | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
19 | 23952 | jiyarza | * MA 02110-1301, USA.
|
20 | 29391 | jmvivo | *
|
21 | 23952 | jiyarza | */
|
22 | |||
23 | /*
|
||
24 | * AUTHORS (In addition to CIT):
|
||
25 | * 2008 {{Company}} {{Task}}
|
||
26 | */
|
||
27 | |||
28 | 29391 | jmvivo | |
29 | 24496 | jmvivo | package org.gvsig.fmap.dal.feature.spi; |
30 | 23952 | jiyarza | |
31 | import java.util.Iterator; |
||
32 | |||
33 | 29391 | jmvivo | /**
|
34 | * Interface like {@link java.util.List} but with <code>long</code> capacity
|
||
35 | *
|
||
36 | * @author jmvivo
|
||
37 | *
|
||
38 | */
|
||
39 | public interface LongList { |
||
40 | 23952 | jiyarza | |
41 | public long getSize(); |
||
42 | public boolean isEmpty(); |
||
43 | public Iterator iterator(); |
||
44 | public Iterator iterator(long index); |
||
45 | |||
46 | } |