(ci.getIndex() <= attribs[i].end_index))
(ci.getIndex() < attribs[i].end_index))
getAttribute(AttributedCharacterIterator.Attribute attrib){  if (attribs == null)    return(null);  for (int i = 0; i < attribs.length; i++)    {      Set key_set = attribs[i].attribs.keySet();      Iterator iter = key_set.iterator();      while (iter.hasNext())        {          Object obj = iter.next();          // Check for attribute match and range match          if (obj.equals(attrib))            if ((ci.getIndex() >= attribs[i].begin_index) &&                (ci.getIndex() <= attribs[i].end_index))              return(attribs[i].attribs.get(obj));        }    }  return(null);}