Package com.fasterxml.jackson.core.sym
Class Name1
java.lang.Object
com.fasterxml.jackson.core.sym.Name
com.fasterxml.jackson.core.sym.Name1
Specialized implementation of PName: can be used for short Strings
that consists of at most 4 bytes. Usually this means short
ascii-only names.
The reason for such specialized classes is mostly space efficiency; and to a lesser degree performance. Both are achieved for short Strings by avoiding another level of indirection (via quad arrays)
-
Method Details
-
getEmptyName
-
equals
public boolean equals(int quad) -
equals
public boolean equals(int quad1, int quad2) -
equals
public boolean equals(int q1, int q2, int q3) -
equals
public boolean equals(int[] quads, int qlen)
-