(InstanceScope scope, Object o)
| 1118 | } |
| 1119 | |
| 1120 | public Iterator<?> convertAnythingToIterator(InstanceScope scope, Object o) { |
| 1121 | o = convertAnythingIteratableToIterator(scope, o); |
| 1122 | if ( o instanceof Iterator ) return (Iterator<?>)o; |
| 1123 | List<Object> singleton = new ST. AttributeList(1); |
| 1124 | singleton.add(o); |
| 1125 | return singleton.iterator(); |
| 1126 | } |
| 1127 | |
| 1128 | protected boolean testAttributeTrue(Object a) { |
| 1129 | if ( a==null ) return false; |
no test coverage detected