PName
instances, given input data to use for construction. The main reason
for a factory class here is just to insulate calling code from having
to know details of concrete implementations.
| Modifier and Type | Field and Description |
|---|---|
| private static final boolean | DO_INTERN
Can be set to false for debugging (for example, to test memory usage) |
| private static final ByteBasedPNameFactory |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public ByteBasedPName | |
| public ByteBasedPName | |
| public static ByteBasedPNameFactory |
| DO_INTERN | back to summary |
|---|---|
| private static final boolean DO_INTERN Can be set to false for debugging (for example, to test memory usage) | |
| sInstance | back to summary |
|---|---|
| private static final ByteBasedPNameFactory sInstance | |
| ByteBasedPNameFactory | back to summary |
|---|---|
| private ByteBasedPNameFactory() | |
| constructPName | back to summary |
|---|---|
| public ByteBasedPName constructPName(int hash, String pname, int colonIx, int quad1, int quad2) | |
| constructPName | back to summary |
|---|---|
| public ByteBasedPName constructPName(int hash, String pname, int colonIx, int[] quads, int qlen) | |
| getInstance | back to summary |
|---|---|
| public static ByteBasedPNameFactory getInstance() | |