(ISeq list, int limit)
| 1806 | } |
| 1807 | |
| 1808 | static public int boundedLength(ISeq list, int limit) { |
| 1809 | int i = 0; |
| 1810 | for(ISeq c = list; c != null && i <= limit; c = c.next()) { |
| 1811 | i++; |
| 1812 | } |
| 1813 | return i; |
| 1814 | } |
| 1815 | |
| 1816 | ///////////////////////////////// reader support //////////////////////////////// |
| 1817 |
no test coverage detected