package conditions; public class Main { public static void main(String[] args) { int producers = 5; int consumers = 5; BoundedBuffer boundedBuffer = new BoundedBuffer<>(5); for(int i = 0; i