Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/itssodope01/java-generics
Generic Class that adds two numbers of different data types, performs bubble sorting for an array, whose elements extend Comparable class.
https://github.com/itssodope01/java-generics
Last synced: 6 days ago
JSON representation
Generic Class that adds two numbers of different data types, performs bubble sorting for an array, whose elements extend Comparable class.
- Host: GitHub
- URL: https://github.com/itssodope01/java-generics
- Owner: itssodope01
- Created: 2024-02-04T23:00:34.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-02-04T23:03:24.000Z (10 months ago)
- Last Synced: 2024-02-05T00:23:06.609Z (10 months ago)
- Language: Java
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Java-Generics
Generic Class that adds two numbers of different data types, performs bubble sorting for an array, whose elements extend Comparable class.3--> my own fancy compare method. This method
compares the String data types taking into account the total number of characters;
Integer data types taking into account the total number of non-zero digits, and
Double data types taking into the significand (the mantissa) of the number.4--> Using Upper Bounded Wildcard to sum all elements of the list of elements, which extends Number
class.