Advertisement
Guest User

Untitled

a guest
Sep 4th, 2010
191
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.69 KB | None | 0 0
  1. package model;
  2.  
  3. public class Row_i implements Cloneable{
  4.     public int id_A, id_B, startPosA, startPosB, endPosA, endPosB, rowType;
  5.  
  6.     public Row_i clone() {
  7.         try {
  8.             return (Row_i)super.clone();
  9.         } catch(CloneNotSupportedException e) {
  10.             return null;
  11.         }
  12.     }
  13.    
  14.     public Row_i() {}
  15.    
  16.     public Row_i(int id_A, int id_B, int startPosA, int startPosB, int endPosA, int endPosB, int rowType) {
  17.         this.id_A = id_A;
  18.         this.id_B = id_B;
  19.         this.startPosA = startPosA;
  20.         this.startPosB = startPosB;
  21.         this.endPosA = endPosA;
  22.         this.endPosB = endPosB;
  23.         this.rowType = rowType;
  24.        
  25.     }  
  26. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement