Академический Документы
Профессиональный Документы
Культура Документы
Java Generics
& JCF
Exchange
Ideas
http://support.novell.com/techcenter/articles/ana19970701.html
http://www.media-art-online.org/java/help/how-it-works.html
http://en.wikipedia.org/wiki/Java_virtual_machine
http://www.research.ibm.com/compsci/project_spotlight/plansoft/index.html
Abstract Class a class that have at least one method abstract has
the following features:
At least one abstract method keyword abstract
May contain standard static and non-static fully implemented methods
You may declare objects from an abstract class but you can NOT
instantiate them, you should use constructor method from a real Java
class
Pay attention @: Objects vs. vectors / arrays of objects + null pointer
exception
Section Conclusion
Fact:
java.util.*
<<interface>>
Iterable<T>
<<interface>>
Collection<E>
<<interface>>
List<E>
Vector<E>
ArrayList<E>
<<interface>>
Map<K,V>
<<interface>>
Set<E>
LinkedList<E>
TreeSet<E>
HashSet<E>
LinkedHashSet<E>
Section Conclusions
Java Generics programming is NOT equivalent with
C++ template class programming
Java Generics moves the error from run-time to
compile-time
JCF Java Collection Framework is a set of classes,
interfaces and algorithms for standard datastructure processing
Generics & JCF Summary
JCF needs for order of the items in the datastructures to process objects from classes that
provide methods for comparing.
?
Questions & Answers!
Whats
Thanks!Your Message?
DAD Distributed Application Development
End of Lecture 1 summary of Java SE section 1