Start line:  
End line:  

Snippet Preview

Snippet HTML Code

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

Base class for tokenized names (key strings in objects) that have been tokenized from byte-based input sources (like java.io.InputStream.

Author(s):
Tatu Saloranta
 
public abstract class Name
    protected final String _name;
    protected final int _hashCode;
    protected Name(String nameint hashCode) {
         = name;
         = hashCode;
    }
    public String getName() { return ; }
    /*
    /**********************************************************
    /* Methods for package/core parser
    /**********************************************************
     */
    public abstract boolean equals(int quad1);
    public abstract boolean equals(int quad1int quad2);
    public abstract boolean equals(int[] quadsint qlen);
    /*
    /**********************************************************
    /* Overridden standard methods
    /**********************************************************
     */
    @Override public String toString() { return ; }
    @Override public final int hashCode() { return ; }
    @Override public boolean equals(Object o)
    {
        // Canonical instances, can usually just do identity comparison
        return (o == this);
    }
New to GrepCode? Check out our FAQ X