1 31 package org.objectweb.proactive.examples.algebra; 32 33 import java.io.Serializable ; 34 35 public class Row extends Vector implements Serializable , Cloneable { 36 37 public Row(int _size) { 38 super(_size); 39 } 40 41 42 public Row(double[] tab) { 43 super(tab); 44 } 45 46 47 public synchronized void display() { 48 int j; 49 50 for (j = 0; j < this.size; j++) { 51 System.out.print(this.getElement(j) + " "); 52 } 53 System.out.println(); 54 return; 55 } 56 } 57 | Popular Tags |