/[xulu]/branches/1.8-gt2-2.6/src/appl/parallel/test/PingTestObject.java
ViewVC logotype

Contents of /branches/1.8-gt2-2.6/src/appl/parallel/test/PingTestObject.java

Parent Directory Parent Directory | Revision Log Revision Log


Revision 47 - (show annotations)
Mon Aug 31 14:23:19 2009 UTC (15 years, 3 months ago) by mojays
File size: 457 byte(s)
Branch 1.8-gt2-2.6 (from rev 45) for geotools 2.6 migration
1 package appl.parallel.test;
2
3 import java.io.Serializable;
4
5 /**
6 * Simply constructs a object with a given size which can be used for pinging.
7 * @author Dominik Appl
8 */
9 public class PingTestObject implements Serializable {
10 byte[] data = null;
11
12
13 /**
14 * @param bytes pingobject size in bytes
15 */
16 public PingTestObject(int bytes)
17 {
18 data = new byte[bytes];
19 for (int i = 0; i < data.length; i++) {
20 data[i]=(byte) i;
21 }}
22
23 }

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26