}
/*package*/ Collection getTotalOverlapRefs(int left, int top, int right, int bottom, Collection lst) {
if (_ltRefs != null) {
for(final Iterator it = _ltRefs.iterator(); it.hasNext();) {
final Ref2d ref = (Ref2d) it.next();
final int refr = ref.getRight();
final int refb = ref.getBottom();
if ((right == -1 || refr <= right)
&& (bottom == -1 || refb <= bottom)) {
lst.add(ref);
}
}
}
if (_rbRefs != null) {
for(final Iterator it = _rbRefs.iterator(); it.hasNext();) {
final Ref2d ref = (Ref2d) it.next();
final int refl = ref.getLeft();
final int reft = ref.getTop();
if ((left == -1 || refl >= left)
&& (top == -1 || reft >= top)) {
lst.add(ref);
}
}