BreakpointItem (Object baseBreakpoint, List<? extends BreakpointItem> breakpointItems) { BreakpointItem breakpointItem = null; for (BreakpointItem item : breakpointItems) { if (item.getBreakpoint() == baseBreakpoint) { breakpointItem = item; break; } } return breakpointItem; }