Originally posted by luc comeau:
now say if i construct this class with TestComparator(true),how exactly am i to use that input value of true to make sure the list sorts in descending order?I kindof get the idea that i would say somewhere in my compare method
if(descending)
then..somehow make sure it sorts in descending order...but i duno how to do this.
Originally posted by Paul Keohan:
I'm not sure but I'd say it's because you're using Byte as the incoming parameter type in the method. The initial variable is a byte, not a Byte. There is nothing in Java to automatically cast a byte type to a Byte object.
Originally posted by Carl Trusiak:
One thing is the removal of pointers, This helps prevent the exceptions that occur due to improper amangement of them.
Originally posted by Cindy Glass:
Well, it took some poking around, but I finally found this fascinating disertation on the Lexical Structure of the Java Language.
http://java.sun.com/docs/books/jls/second_edition/html/lexical.doc.html
Originally posted by Cindy Glass:
Post the code that you used to play with the unicode.