public final class Name1 extends Name
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)
Modifier and Type | Method and Description |
---|---|
boolean |
equals(int quad) |
boolean |
equals(int[] quads,
int qlen) |
boolean |
equals(int quad1,
int quad2) |
boolean |
equals(int q1,
int q2,
int q3) |
static Name1 |
getEmptyName() |
public static Name1 getEmptyName()
Copyright © 2017 JBoss by Red Hat. All rights reserved.