01: /*
02: * GeoTools - OpenSource mapping toolkit
03: * http://geotools.org
04: * (C) 2003-2006, Geotools Project Managment Committee (PMC)
05: *
06: * This library is free software; you can redistribute it and/or
07: * modify it under the terms of the GNU Lesser General Public
08: * License as published by the Free Software Foundation; either
09: * version 2.1 of the License, or (at your option) any later version.
10: *
11: * This library 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 GNU
14: * Lesser General Public License for more details.
15: */
16: package org.geotools.data.vpf.io;
17:
18: import org.geotools.data.vpf.ifc.VPFRow;
19:
20: /**
21: * VariableIndexRow.java Created: Sun Mar 16 23:28:11 2003
22: *
23: * @author <a href="mailto:kobit@users.sourceforge.net">Artur Hefczyc</a>
24: * @source $URL: http://svn.geotools.org/geotools/tags/2.4.1/modules/unsupported/vpf/src/main/java/org/geotools/data/vpf/io/VariableIndexRow.java $
25: * @version $Id: VariableIndexRow.java 22482 2006-10-31 02:58:00Z desruisseaux $
26: */
27: public class VariableIndexRow implements VPFRow {
28: /** Describe variable <code>offset</code> here. */
29: private int offset = 0;
30:
31: /** Describe variable <code>size</code> here. */
32: private int size = 0;
33:
34: /**
35: * Creates a new <code>VariableIndexRow</code> instance.
36: *
37: * @param offset an <code>int</code> value
38: * @param size an <code>int</code> value
39: */
40: public VariableIndexRow(int offset, int size) {
41: this .offset = offset;
42: this .size = size;
43: }
44:
45: // VariableIndexRow constructor
46:
47: /**
48: * Gets the value of offset
49: *
50: * @return the value of offset
51: */
52: public int getOffset() {
53: return this .offset;
54: }
55:
56: // /**
57: // * Sets the value of offset
58: // *
59: // * @param argOffset Value to assign to this.offset
60: // */
61: // public void setOffset(int argOffset) {
62: // this.offset = argOffset;
63: // }
64:
65: /**
66: * Gets the value of size
67: *
68: * @return the value of size
69: */
70: public int getSize() {
71: return this .size;
72: }
73:
74: // /**
75: // * Sets the value of size
76: // *
77: // * @param argSize Value to assign to this.size
78: // */
79: // public void setSize(int argSize) {
80: // this.size = argSize;
81: // }
82: }
83:
84: // VariableIndexRow
|