public final class HexishString extends Object implements Serializable
In either case, new HexishString(x).toString().equals(x) for any non-null string.
This class is developed to represent "instance hash" that findbugs produces, which appears to be 128bit information encoded in the hex form. In String with associated char[], it takes up about 128 bytes, but in this form it only occupies about 64 bytes if it's hex, and 112 when it's not. So it's more space efficient either way.
| Modifier and Type | Class and Description |
|---|---|
static class |
HexishString.ConverterImpl
Converter implementation for XStream that writes this out as a plain string. |
| Constructor and Description |
|---|
HexishString(String value) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object that) |
int |
hashCode() |
static HexishString |
of(String s) |
String |
toString() |
public HexishString(String value)
Copyright © 2016–2018. All rights reserved.