1 22 23 27 28 package org.netbeans.lib.terminalemulator; 29 30 class BExtent { 31 public BCoord begin; 32 public BCoord end; 33 34 public BExtent(BCoord begin, BCoord end) { 35 this.begin = (BCoord) begin.clone(); 36 this.end = (BCoord) end.clone(); 37 } 38 39 public Extent toExtent(int bias) { 40 return new Extent(new Coord(begin, bias), new Coord(end, bias)); 41 } 42 43 46 public String toString() { 47 return "BExtent[" + begin + " " + end + "]"; } 49 } 50 | Popular Tags |