Skip to content

gavinhon/GenericsMappable

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

GenericsMappable

Practice Generics in Java, with Geospatial class creation examples.

Using Mappable interface implmented by Abstract classes Point and Line. Implement concrete classes Park and River extended by the abstract classes Point and Line. Create a Generic class Layer that has a upper bound of Mappable. The layer holds elements in a list.

Example uses an array of instances of Parks and Rivers. Layer is created by interating over each instance. More instances can be added using addElements. renderLayer() just calls the overridden methods in Point and Line.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages