DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=34217>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=34217

           Summary: RFE: getLength on StyleMap
           Product: Batik
           Version: 1.5
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: (RFE) Request For Extension
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


It seems the only way to iterate over a StyleMap is to try { getValue(i) }
until it throws an array index out of bounds exception. It would be better
if the class exposes a public getLength() method

  /**
   * ...
   */
  public int getLength() {
    return values.length;
  }

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to