Campbell Ritchie wrote:I have my own ideas about String, which differ from Java®'s. Thee are at least two ways of comparing Strings, the classic IT version, unofficially called ASCIIbetical, where Zymurgy comes before aardvark, and case‑insensitive, where aardvark comes first. I think that means the Strings don't have a natural ordering. But I shan't manage to implement that notion anywhere.
Piet Souris wrote:Do you mean by 'proceeding' 'following'? Here is a third version, after Careys and Rons code:
Chirayu Gangadkar wrote:Later found out: Float.MIN_VALUE does not represent the smallest negative float but instead represents the smallest positive float value.
Could you explain this?
Tim Holloway wrote:In other words, the docs are misleading and the "since" release refers only to the method signature, not its details.
Tim Holloway wrote:And, thanks to Campbell, we know know that the default encoding for data streams and byte character arrays is UTF-8, since Java 1.5 (way to make me feel old!)