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