@Test public void testGetEnd() { assertEquals(6, group1.getEnd()); group1.add(annot3); assertEquals(20, group1.getEnd()); }
public int getEnd() { int end = Integer.MIN_VALUE; for (EntityAnnotation member : this) { if (member.getEnd() > end) { end = member.getEnd(); } } return end; }
EntityAnnotationGroup extends ForwardingQueue<EntityAnnotation> { public int getEnd() { int end = Integer.MIN_VALUE; for (EntityAnnotation member : this) { if (member.getEnd() > end) { end = member.getEnd(); } } return end; } }
EntityAnnotationGroup extends ForwardingQueue<EntityAnnotation> { public int getEnd() { int end = Integer.MIN_VALUE; for (EntityAnnotation member : this) { if (member.getEnd() > end) { end = member.getEnd(); } } return end; }  }
EntityAnnotationGroup extends ForwardingQueue<EntityAnnotation> { public int getEnd() { int end = Integer.MIN_VALUE; for (EntityAnnotation member : this) { if (member.getEnd() > end) { end = member.getEnd(); } } return end; }  boolean intersects(EntityAnnotation annotation); int getStart(); int getEnd(); Set<Entity> getAnnotations(); @Override boolean equals(Object obj); }
EntityAnnotationGroup extends ForwardingQueue<EntityAnnotation> { public int getEnd() { int end = Integer.MIN_VALUE; for (EntityAnnotation member : this) { if (member.getEnd() > end) { end = member.getEnd(); } } return end; }  boolean intersects(EntityAnnotation annotation); int getStart(); int getEnd(); Set<Entity> getAnnotations(); @Override boolean equals(Object obj);  }