(InstanceScope scope, Object o)
| 1148 | } |
| 1149 | |
| 1150 | public Iterator<?> convertAnythingToIterator(InstanceScope scope, Object o) { |
| 1151 | o = convertAnythingIteratableToIterator(scope, o); |
| 1152 | if ( o instanceof Iterator ) return (Iterator<?>)o; |
| 1153 | List<Object> singleton = new ST.AttributeList(1); |
| 1154 | singleton.add(o); |
| 1155 | return singleton.iterator(); |
| 1156 | } |
| 1157 | |
| 1158 | protected boolean testAttributeTrue(Object a) { |
| 1159 | if ( a==null ) return false; |
no test coverage detected