boolean (@NotNull List<? extends Line> lines1, @NotNull List<? extends Line> lines2, @NotNull List<? extends Line> lines3, int index1, int index2, int index3) { CharSequence content1 = lines1.get(index1).getContent(); CharSequence content2 = lines2.get(index2).getContent(); CharSequence content3 = lines3.get(index3).getContent(); return ComparisonUtil.isEquals(content2, content1, DEFAULT) && ComparisonUtil.isEquals(content2, content3, DEFAULT); }