public Tax(String country,Collection<String> regions,float rate,Boolean taxShip){
  this.country=country;
  if (regions != null) {
    this.regions=ImmutableList.copyOf(regions);
  }
 else {
    this.regions=Collections.<String>emptySet();
  }
  this.rate=rate;
  this.taxShip=taxShip;
}

public Tax ( String country , Collection < String > regions , float rate , Boolean taxShip ) { this . country = country ; if ( regions != null ) { this . regions = ImmutableList . copyOf ( regions ) ; } else { this . regions = Collections . < String > emptySet ( ) ; } this . rate = rate ; this . taxShip = taxShip ; }
creates a tax object .
