com.fasterxml.jackson.core.sym
Class Name

java.lang.Object
  extended by com.fasterxml.jackson.core.sym.Name
Direct Known Subclasses:
Name1, Name2, Name3, NameN

public abstract class Name
extends Object

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

Author:
Tatu Saloranta

Field Summary
protected  int _hashCode
           
protected  String _name
           
 
Constructor Summary
protected Name(String name, int hashCode)
           
 
Method Summary
abstract  boolean equals(int quad1)
           
abstract  boolean equals(int[] quads, int qlen)
           
abstract  boolean equals(int quad1, int quad2)
           
 boolean equals(Object o)
           
 String getName()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

_name

protected final String _name

_hashCode

protected final int _hashCode
Constructor Detail

Name

protected Name(String name,
               int hashCode)
Method Detail

getName

public String getName()

equals

public abstract boolean equals(int quad1)

equals

public abstract boolean equals(int quad1,
                               int quad2)

equals

public abstract boolean equals(int[] quads,
                               int qlen)

toString

public String toString()
Overrides:
toString in class Object

hashCode

public final int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object


Copyright © 2012 fasterxml.com. All Rights Reserved.