Hello Wines

krazy Koder
2 min readJan 10, 2021

The United States is home to the world’s most important wine market. But how many domestic wineries annually produce wine within the USA?

A recent study from Wines & Vines magazine tabulated the results and found that there are 8,391 wineries in North America, with 7,762 of those located in the United States, 568 of those located in Canada (primarily British Columbia and Ontario) and 61 in Mexico.

And the number of wineries in North America continues to grow at an impressive annual rate. Every year, the number of U.S. wineries increases by just over 4%. And, even more impressively, U.S. wine production is actually growing at an even faster pace of 6.3%. Thus, not only are there more overall wineries in the USA, but also these wineries are producing more wine than ever before.

It’s perhaps no surprise that California is the leading state in the nation in terms of wine production, with 3,674 wineries. That’s approximately half (47%) of all wineries in the United States, led by key wine producing regions such as Napa and Sonoma.

Altogether, there are 13 U.S. states with more than 100 wineries. Washington (689 wineries) and Oregon (566 wineries) are the next most important states after California in terms of total wineries. But just consider all the other states that have more than 100 wineries:

  • New York State : 395
  • Virginia : 276
  • Texas : 319
  • Pennsylvania : 261
  • Ohio : 208
  • Michigan : 184
  • North Carolina : 165
  • Missouri : 149
  • Colorado : 127
  • Illinois : 115

Now lets look at a piece of code

this is a java code

import java.util.List;
import java.util.stream.Collectors;
import java.util.stream.IntStream;
import java.util.stream.Stream;

import org.junit.Test;

public class LambdaLearn {

void hello(int number) {
boolean b = number > 1 && IntStream.range(2, number).noneMatch(index -> number % index == 0);
// (number) -> System.out.println("One parameter: " + number);

List<String> list = Stream.of("foo", "bar").collect(Collectors.toList());

list.forEach(System.out::print);

}

public List<Integer> doubling(List<Integer> nums) {
return nums.stream().map(n -> n * 2).collect(Collectors.toList());
}

@Test
public void hellotest() {
// Assert.assertEquals(hello(6))
hello(6);
// doubling({})_
}

}

--

--