コード例 #1
0
 public ByteBasedPName addSymbol(
     int hash, String symbolStr, int colonIx, int firstQuad, int secondQuad) {
   ByteBasedPName symbol =
       ByteBasedPNameFactory.getInstance()
           .constructPName(hash, symbolStr, colonIx, firstQuad, secondQuad);
   doAddSymbol(hash, symbol);
   return symbol;
 }
コード例 #2
0
 public ByteBasedPName addSymbol(int hash, String symbolStr, int colonIx, int[] quads, int qlen) {
   ByteBasedPName symbol =
       ByteBasedPNameFactory.getInstance().constructPName(hash, symbolStr, colonIx, quads, qlen);
   doAddSymbol(hash, symbol);
   return symbol;
 }