public static <W extends Window> CountEvictor<W> of(long maxCount, boolean doEvictAfter) {
		return new CountEvictor<>(maxCount, doEvictAfter);
	}
public static < W extends Window > CountEvictor < W > of ( long maxCount , boolean doEvictAfter ) { return new CountEvictor < > ( maxCount , doEvictAfter ) ; }
Creates a {@code CountEvictor} that keeps the given number of elements in the pane
Eviction is done before/after the window function based on the value of doEvictAfter.

@param maxCount The number of elements to keep in the pane.
@param doEvictAfter Whether to do eviction after the window function.