Rule6:Use bounded wildcard to increase API flexibility
mnemonics:PECS –>Producer Extends Consumer Super
comparable and comparator are always consumer so , it will have super e.g. comparator
it will ensure the type safety.
know deep undersatnding of usage