1 package chat.business; 2 3 import java.util.Vector ; 4 import chat.spec.*; 5 6 12 public class SnapshotImpl implements Snapshot{ 13 14 17 public Vector contents; 18 19 22 public long state; 23 24 28 public SnapshotImpl(Vector contents, long state) { 29 this.contents = contents; 30 this.state = state; 31 } 32 public Vector getContents(){ 33 return contents; 34 } 35 public long getState(){ 36 return state; 37 } 38 } 39 40 | Popular Tags |