Java(15)
-
Programming by Intending
테스트위주의 개발 : 의도된 프로그래밍 2005년 2월 4일, Dave Astels에 의해 쓰여짐, 챕터의 예제는 courtesy of Prentice Hall PTR가 제공했다. 부분적인 코드에 대해서 작업을 하고 또 그것에 대해 이해하는 것이 어렵다는것을 발견한 적이 있습니까? 아마 로직이 뒤죽박죽 일겁니다, 식별자들은 의미가 없거나 아니면 더 심각하게는 혼동될 수 있을 겁니다. 문서가 있다구요? 해석이 가능했습니까? 이해가 가던가요? 코드까지 설명했나요? 정말인가요? 어떻게 알수 있습니까? 이 챕터에서는 XP에서 중요한 요소인 의도된 프로그래밍에 대해서 다룰것입니다, 그것은 당신이 코딩을 할때에 당신의 의도를 명확하게 만드는 것을 의미합니다. O, be some other name! —Romeo a..
2006.12.22 -
Java API : Interface iterator<E>
java.util Interface Iterator 알려진 모든 서브 인터페이스: ListIterator 알려진 모든 구현되는 클래스: BeanContextSupport.BCSIterator, Scanner public interface Iterator iterator는 collection을 포함한다. Iterator는 Java collection famework의 Enumeration을 대체한다. Iterator는 enumeration과 두가지 차이점이 있다: * Iterator는 잘 정의된 semantic들을 가진 iteration 기초가 되는 collection element들을 불러서 지우는 것을 허가한다. * 메소드 이름들이 개량 되었다. 이 인터페이스는 Java Collections Frame..
2006.12.13 -
JDK 5.0 API - Collection<E>(해석중)
public interface Collectionextends IterableThe root interface in the collection hierarchy. A collection represents a group of objects, known as its elements. Some collections allow duplicate elements and others do not. Some are ordered and others unordered. The JDK does not provide any direct implementations of this interface: it provides implementations of more specific subinterfaces like Set a..
2006.11.09