class OverlappingBloomFilterBasedWindow {

    public ComplexEvent getLast(Boolean remove) {
        if (remove) {
            removLastEventFromFilters();
            return eventQueue.poll();
        } else {
            return eventQueue.peek();
        }
    }

}