Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.fasterxml.jackson.core.sym;

Specialized implementation of PName: can be used for short Strings that consists of 9 to 12 bytes. It's the longest special purpose implementaion; longer ones are expressed using NameN.
 
 public final class Name3
     extends Name
    final int mQuad1;
    final int mQuad2;
    final int mQuad3;
    Name3(String nameint hashint q1int q2int q3)
    {
        super(namehash);
         = q1;
         = q2;
         = q3;
    }
    // Implies quad length == 1, never matches
    @Override
    public boolean equals(int quad) { return false; }
    // Implies quad length == 2, never matches
    @Override
    public boolean equals(int quad1int quad2) { return false; }
    @Override
    public boolean equals(int[] quadsint qlen)
    {
        return (qlen == 3)
            && (quads[0] == )
            && (quads[1] == )
            && (quads[2] == );
    }
New to GrepCode? Check out our FAQ X