snaker-core/src/main/java/org/snaker/engine/impl/SimpleContext.java
public <T> List<T> findList(Class<T> clazz) {
		List<T> list = new ArrayList<T>();
		for (Entry<String, Object> entry : contextMap.entrySet()) {
			if (clazz.isInstance(entry.getValue())) {
				list.add(clazz.cast(entry.getValue()));
			}
		}
		return list;
	}
public <T> List<T> findList(Class<T> clazz) {
		List<T> list = new ArrayList<T>();
		for (Entry<String, Object> entry : contextMap.entrySet()) {
			if (clazz.isInstance(entry.getValue())) {
				list.add(clazz.cast(entry.getValue()));
			}
		}
		return list;
	}
public < T > List < T > findList ( Class < T > clazz ) { List < T > list = new ArrayList < T > ( ) ; for ( Entry < String , Object > entry : contextMap . entrySet ( ) ) { if ( clazz . isInstance ( entry . getValue ( ) ) ) { list . add ( clazz . cast ( entry . getValue ( ) ) ) ; } } return list ; }
对外部提供的查找对象实例列表方法，根据class类型查找
@param clazz
@return
对外部提供的查找对象实例列表方法，根据class类型查找