/lucene-3.6.0/lucene/contrib/facet/src/java/org/apache/lucene/facet/index/attributes/ |
H A D | OrdinalProperty.java | 50 public boolean equals(Object other) { argument 51 if (other == this) { 54 if (!(other instanceof OrdinalProperty)) { 57 OrdinalProperty o = (OrdinalProperty) other; 66 public void merge(CategoryProperty other) { argument
|
/lucene-3.6.0/lucene/contrib/facet/src/java/org/apache/lucene/facet/enhancements/association/ |
H A D | AssociationIntProperty.java | 39 public boolean equals(Object other) { argument 40 if (other == this) { 43 if (!(other instanceof AssociationIntProperty)) { 46 AssociationIntProperty o = (AssociationIntProperty) other; 55 public void merge(CategoryProperty other) { argument 56 AssociationIntProperty o = (AssociationIntProperty) other;
|
H A D | AssociationFloatProperty.java | 42 public boolean equals(Object other) { argument 43 if (other == this) { 46 if (!(other instanceof AssociationFloatProperty)) { 49 AssociationFloatProperty o = (AssociationFloatProperty) other; 58 public void merge(CategoryProperty other) { argument 59 AssociationFloatProperty o = (AssociationFloatProperty) other;
|
/lucene-3.6.0/solr/core/src/java/org/apache/solr/search/ |
H A D | DocSet.java | 107 public DocSet intersection(DocSet other); argument 113 public int intersectionSize(DocSet other); argument 120 public DocSet union(DocSet other); argument 126 public int unionSize(DocSet other); argument 129 * Returns the documents in this set that are not in the other set. Neither set is modified - a new DocSet is 131 * @return a DocSet representing this AND NOT other 133 public DocSet andNot(DocSet other); argument 136 * Returns the number of documents in this set that are not in the other set. 138 public int andNotSize(DocSet other); argument
|
H A D | BitDocSet.java | 151 public int intersectionSize(DocSet other) { argument 152 if (other instanceof BitDocSet) { 153 return (int)OpenBitSet.intersectionCount(this.bits, ((BitDocSet)other).bits); 156 return other.intersectionSize(this); 161 public int unionSize(DocSet other) { argument 162 if (other instanceof BitDocSet) { 164 // size + other.size - intersection_size 165 return (int)OpenBitSet.unionCount(this.bits, ((BitDocSet)other).bits); 168 return other.unionSize(this); 173 public int andNotSize(DocSet other) { argument 184 andNot(DocSet other) argument 196 union(DocSet other) argument [all...] |
H A D | DocSetBase.java | 36 DocSet other = (DocSet)obj; 37 if (this.size() != other.size()) return false; 39 if (this instanceof DocList && other instanceof DocList) { 42 DocIterator i2=other.iterator(); 50 // if (this.size() != other.size()) return false; 51 return this.getBits().equals(other.getBits()); 81 public DocSet intersection(DocSet other) { argument 84 if (!(other instanceof BitDocSet)) { 85 return other.intersection(this); 90 newbits.and(other 94 union(DocSet other) argument 100 intersectionSize(DocSet other) argument 110 unionSize(DocSet other) argument 114 andNot(DocSet other) argument 120 andNotSize(DocSet other) argument [all...] |
H A D | DocSlice.java | 128 public DocSet intersection(DocSet other) { argument 129 if (other instanceof SortedIntDocSet || other instanceof HashDocSet) { 130 return other.intersection(this); 133 return h.intersection(other); 137 public int intersectionSize(DocSet other) { argument 138 if (other instanceof SortedIntDocSet || other instanceof HashDocSet) { 139 return other.intersectionSize(this); 142 return h.intersectionSize(other); [all...] |
H A D | HashDocSet.java | 149 public DocSet intersection(DocSet other) { argument 150 if (other instanceof HashDocSet) { 153 final HashDocSet a = size()<=other.size() ? this : (HashDocSet)other; 154 final HashDocSet b = size()<=other.size() ? (HashDocSet)other : this; 172 if (id >= 0 && other.exists(id)) { 182 public int intersectionSize(DocSet other) { argument 183 if (other instanceof HashDocSet) { 186 final HashDocSet a = size()<=other 212 andNot(DocSet other) argument 226 union(DocSet other) argument [all...] |
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/util/ |
H A D | IntsRef.java | 63 public boolean equals(Object other) { argument 64 if (other == null) { 67 if (other instanceof IntsRef) { 68 return this.intsEquals((IntsRef) other); 73 public boolean intsEquals(IntsRef other) { argument 74 if (length == other.length) { 75 int otherUpto = other.offset; 76 final int[] otherInts = other.ints; 90 public int compareTo(IntsRef other) { argument 91 if (this == other) retur 114 copyInts(IntsRef other) argument 153 deepCopyOf(IntsRef other) argument [all...] |
H A D | BytesRef.java | 106 * @param other Another BytesRef, should not be null. 109 public boolean bytesEquals(BytesRef other) { argument 110 assert other != null; 111 if (length == other.length) { 112 int otherUpto = other.offset; 113 final byte[] otherBytes = other.bytes; 131 private boolean sliceEquals(BytesRef other, int pos) { argument 132 if (pos < 0 || length - pos < other.length) { 136 int j = other.offset; 137 final int k = other 148 startsWith(BytesRef other) argument 152 endsWith(BytesRef other) argument 176 equals(Object other) argument 220 copyBytes(BytesRef other) argument 235 append(BytesRef other) argument 254 compareTo(BytesRef other) argument 354 deepCopyOf(BytesRef other) argument [all...] |
H A D | CharsRef.java | 88 public boolean equals(Object other) { argument 89 if (other == null) { 92 if (other instanceof CharsRef) { 93 return this.charsEquals((CharsRef) other); 98 public boolean charsEquals(CharsRef other) { argument 99 if (length == other.length) { 100 int otherUpto = other.offset; 101 final char[] otherChars = other.chars; 115 public int compareTo(CharsRef other) { argument 116 if (this == other) 148 copyChars(CharsRef other) argument 263 deepCopyOf(CharsRef other) argument [all...] |
H A D | Version.java | 118 public boolean onOrAfter(Version other) { argument 119 return compareTo(other) >= 0;
|
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/analysis/tokenattributes/ |
H A D | FlagsAttributeImpl.java | 36 * The flags can be used to encode information about the token for use by other {@link org.apache.lucene.analysis.TokenFilter}s. 58 public boolean equals(Object other) { argument 59 if (this == other) { 63 if (other instanceof FlagsAttributeImpl) { 64 return ((FlagsAttributeImpl) other).flags == flags;
|
H A D | OffsetAttributeImpl.java | 36 stemmer or some other filter. */ 65 public boolean equals(Object other) { argument 66 if (other == this) { 70 if (other instanceof OffsetAttributeImpl) { 71 OffsetAttributeImpl o = (OffsetAttributeImpl) other;
|
H A D | PositionIncrementAttributeImpl.java | 77 public boolean equals(Object other) { argument 78 if (other == this) { 82 if (other instanceof PositionIncrementAttributeImpl) { 83 PositionIncrementAttributeImpl _other = (PositionIncrementAttributeImpl) other;
|
H A D | PositionLengthAttributeImpl.java | 51 public boolean equals(Object other) { argument 52 if (other == this) { 56 if (other instanceof PositionLengthAttributeImpl) { 57 PositionLengthAttributeImpl _other = (PositionLengthAttributeImpl) other;
|
H A D | TypeAttributeImpl.java | 55 public boolean equals(Object other) { argument 56 if (other == this) { 60 if (other instanceof TypeAttributeImpl) { 61 final TypeAttributeImpl o = (TypeAttributeImpl) other;
|
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/search/ |
H A D | CachingCollector.java | 105 ScoreCachingCollector(Collector other, double maxRAMMB) { argument 106 super(other, maxRAMMB, true); 114 ScoreCachingCollector(Collector other, int maxDocsToCache) { argument 115 super(other, maxDocsToCache); 130 other.collect(doc); 156 other.collect(doc); 172 other.collect(doc); 176 public void replay(Collector other) throws IOException { argument 177 replayInit(other); 184 other 221 NoScoreCachingCollector(Collector other, double maxRAMMB) argument 225 NoScoreCachingCollector(Collector other, int maxDocsToCache) argument 272 replay(Collector other) argument 314 protected final Collector other; field in class:CachingCollector 369 create(Collector other, boolean cacheScores, double maxRAMMB) argument 387 create(Collector other, boolean cacheScores, int maxDocsToCache) argument 392 CachingCollector(Collector other, double maxRAMMB, boolean cacheScores) argument 406 CachingCollector(Collector other, int maxDocsToCache) argument 435 replayInit(Collector other) argument 466 replay(Collector other) argument [all...] |
/lucene-3.6.0/lucene/contrib/spatial/src/java/org/apache/lucene/spatial/geometry/shape/ |
H A D | Vector2D.java | 68 public Vector2D(Vector2D other) { argument 69 this.x = other.x; 70 this.y = other.y; 94 public boolean equals(Vector2D other) { argument 95 return other != null && x == other.x && y == other.y; 138 Vector2D other = (Vector2D) obj; 139 if (Double.doubleToLongBits(x) != Double.doubleToLongBits(other.x)) 141 if (Double.doubleToLongBits(y) != Double.doubleToLongBits(other [all...] |
/lucene-3.6.0/lucene/contrib/analyzers/smartcn/src/java/org/apache/lucene/analysis/cn/smart/hhmm/ |
H A D | SegToken.java | 105 SegToken other = (SegToken) obj; 106 if (!Arrays.equals(charArray, other.charArray)) 108 if (endOffset != other.endOffset) 110 if (index != other.index) 112 if (startOffset != other.startOffset) 114 if (weight != other.weight) 116 if (wordType != other.wordType)
|
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/index/ |
H A D | Term.java | 62 text of the word. In the case of dates and other types, this is an 85 Term other = (Term) obj; 87 if (other.field != null) 89 } else if (field != other.field) 92 if (other.text != null) 94 } else if (!text.equals(other.text)) 113 public final int compareTo(Term other) { argument 114 if (field == other.field) // fields are interned 115 return text.compareTo(other.text); 117 return field.compareTo(other [all...] |
/lucene-3.6.0/solr/core/src/java/org/apache/solr/search/function/ |
H A D | FieldCacheSource.java | 48 FieldCacheSource other = (FieldCacheSource)o; 49 return this.field.equals(other.field) 50 && this.cache == other.cache;
|
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/search/function/ |
H A D | FieldCacheSource.java | 82 FieldCacheSource other = (FieldCacheSource) o; 84 this.field.equals(other.field) && 85 cachedFieldSourceEquals(other); 100 public abstract boolean cachedFieldSourceEquals(FieldCacheSource other); argument
|
/lucene-3.6.0/lucene/contrib/facet/src/java/org/apache/lucene/util/collections/ |
H A D | IntArray.java | 24 * other IntArrays. 82 * @param other 85 public void intersect(IntArray other) { argument 87 other.sort(); 92 if (this.size > other.size) { 93 while (otherIndex < other.size && myIndex < size) { 94 while (otherIndex < other.size 95 && other.data[otherIndex] < data[myIndex]) { 98 if (otherIndex == other.size) { 101 while (myIndex < size && other [all...] |
/lucene-3.6.0/lucene/contrib/spatial/src/java/org/apache/lucene/spatial/geometry/ |
H A D | FixedLatLng.java | 130 public LatLng calculateMidpoint(LatLng other) { argument 132 (lat+other.getFixedLat())/2, 133 (lng+other.getFixedLng())/2); 151 FixedLatLng other = (FixedLatLng) obj; 152 if (lat != other.lat) 154 if (lng != other.lng) 156 if (normalized != other.normalized)
|