com.atlassian.jira.issue.search.parameters.lucene.sort
Class JiraLuceneFieldCache.Entry

java.lang.Object
  extended bycom.atlassian.jira.issue.search.parameters.lucene.sort.JiraLuceneFieldCache.Entry
Enclosing class:
JiraLuceneFieldCache

static class JiraLuceneFieldCache.Entry
extends Object

Expert: Every key in the internal cache is of this type.


Field Summary
(package private)  Object custom
           
(package private)  String field
           
(package private)  int type
           
 
Constructor Summary
(package private) JiraLuceneFieldCache.Entry(String field, int type)
          Creates one of these objects.
(package private) JiraLuceneFieldCache.Entry(String field, Object custom)
          Creates one of these objects for a custom comparator.
 
Method Summary
 boolean equals(Object o)
          Two of these are equal iff they reference the same field and type.
 int hashCode()
          Composes a hashcode based on the field and type.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

field

final String field

type

final int type

custom

final Object custom
Constructor Detail

JiraLuceneFieldCache.Entry

JiraLuceneFieldCache.Entry(String field,
                           int type)
Creates one of these objects.


JiraLuceneFieldCache.Entry

JiraLuceneFieldCache.Entry(String field,
                           Object custom)
Creates one of these objects for a custom comparator.

Method Detail

equals

public boolean equals(Object o)
Two of these are equal iff they reference the same field and type.


hashCode

public int hashCode()
Composes a hashcode based on the field and type.



Copyright © 2002-2006 Atlassian. All Rights Reserved.