# algorithm_4_practice **Repository Path**: duoduo3_69/algorithm_4_practice ## Basic Information - **Project Name**: algorithm_4_practice - **Description**: 算法4这本书的练习 - **Primary Language**: Java - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2013-07-02 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README algorithm_4_practice ==================== #算法4练习 ### 说明 > 课本中使用<重定向,eclipse控制台并不支持 --> 解决方案:util包中使用RedirectStream重定向,需要捕获异常。 ### 记录 > 泛型时,如果使用泛型数组T[][] r = (T[][]) new Object[N][M]; 此时如果返回r,并在函数中使用,会报 java.lang.ClassCastException异常, --> 解决方案,实现implements Iterable接口,使用迭代器输出。 >