-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
8251989: Hex formatting and parsing utility #482
Changes from all commits
c1bb451
3170b49
e7edf07
1892eca
ec334db
59bdb07
880cebb
bad80cb
450bfaf
d9f2b6e
1d2c26f
0a47544
2b493d3
94e6061
2aeab7d
80a7118
552d308
1d36cfb
b19d282
cad6a70
29f9bf7
a1ce9d7
bbcb213
892d08e
a137740
848c7a6
0a8088b
9ddda60
af7b1fa
044d463
8a6d379
b9e288f
4866a0a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -299,11 +299,19 @@ private static BigInteger toUnsignedBigInteger(long i) { | |
* <blockquote> | ||
* {@code Long.toHexString(n).toUpperCase()} | ||
* </blockquote> | ||
* <p> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Hi @Marcono1234, thanks for making a comment in an OpenJDK project! All comments and discussions in the OpenJDK Community must be made available under the OpenJDK Terms of Use. If you already are an OpenJDK Author, Committer or Reviewer, please click here to open a new issue so that we can record that fact. Please Use "Add GitHub user Marcono1234 for the summary. If you are not an OpenJDK Author, Committer or Reviewer, simply check the box below to accept the OpenJDK Terms of Use for your comments.
Your comment will be automatically restored once you have accepted the OpenJDK Terms of Use. |
||
* @apiNote | ||
* The {@link java.util.HexFormat} class provides formatting and parsing | ||
* of byte arrays and primitives to return a string or adding to an {@link Appendable}. | ||
* {@code HexFormat} formats and parses uppercase or lowercase hexadecimal characters, | ||
* with leading zeros and for byte arrays includes for each byte | ||
* a delimiter, prefix, and suffix. | ||
* | ||
* @param i a {@code long} to be converted to a string. | ||
* @return the string representation of the unsigned {@code long} | ||
* value represented by the argument in hexadecimal | ||
* (base 16). | ||
* @see java.util.HexFormat | ||
* @see #parseUnsignedLong(String, int) | ||
* @see #toUnsignedString(long, int) | ||
* @since 1.0.2 | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @Marcono1234, thanks for making a comment in an OpenJDK project!
All comments and discussions in the OpenJDK Community must be made available under the OpenJDK Terms of Use. If you already are an OpenJDK Author, Committer or Reviewer, please click here to open a new issue so that we can record that fact. Please Use "Add GitHub user Marcono1234 for the summary.
If you are not an OpenJDK Author, Committer or Reviewer, simply check the box below to accept the OpenJDK Terms of Use for your comments.
Your comment will be automatically restored once you have accepted the OpenJDK Terms of Use.