(InstanceScope scope, Object o)
| 1174 | } |
| 1175 | |
| 1176 | public Iterator<?> convertAnythingToIterator(InstanceScope scope, Object o) { |
| 1177 | o = convertAnythingIteratableToIterator(scope, o); |
| 1178 | if ( o instanceof Iterator) return (Iterator<?>)o; |
| 1179 | List<Object> singleton = new ST.AttributeList(1); |
| 1180 | singleton.add(o); |
| 1181 | return singleton.iterator(); |
| 1182 | } |
| 1183 | |
| 1184 | protected boolean testAttributeTrue(Object a) { |
| 1185 | if ( a==null ) return false; |
no test coverage detected