예제 #1
0
  @Override
  public PolyStringType clone() {
    PolyStringType poly = new PolyStringType();
    poly.setNorm(getNorm());
    poly.setOrig(getOrig());
    copyContent(getAny(), poly.getAny());

    return poly;
  }
예제 #2
0
 public PolyStringType plus(PolyStringType operand) {
   if (operand == null) {
     return this;
   }
   return new PolyStringType(getOrig() + operand.getOrig());
 }