(InstanceScope scope, Object o)
| 1168 | } |
| 1169 | |
| 1170 | public Iterator<?> convertAnythingToIterator(InstanceScope scope, Object o) { |
| 1171 | o = convertAnythingIteratableToIterator(scope, o); |
| 1172 | if ( o instanceof Iterator) return (Iterator<?>)o; |
| 1173 | List<Object> singleton = new ST.AttributeList(1); |
| 1174 | singleton.add(o); |
| 1175 | return singleton.iterator(); |
| 1176 | } |
| 1177 | |
| 1178 | protected boolean testAttributeTrue(Object a) { |
| 1179 | if ( a==null ) return false; |
no test coverage detected