- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 21 for obj (0.01 sec)
-
MemoryUtil.java
freeBytes; L79: } L80: L81: public static long sizeOf(final Object obj) { L82: if (obj == null) { L83: return 0L; L84: } L85: if (obj instanceof String) { L86: return ((String) obj).length() + 56L; L87: } L88: if (obj instanceof Number) { L89: return 24L; L90: } L91: if (obj instanceof Date) { L92: return 32L; L93: } L94: if (obj instanceof LocalDateTime) { L95: return 80L; L96: ...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 4.6K bytes -
ProtwordsItem.java
L68: return prime * result + input.hashCode(); L69: } L70: L71: @Override L72: public boolean equals(final Object obj) { L73: if (this == obj) { L74: return true; L75: } L76: if (obj == null || getClass() != obj.getClass()) { L77: return false; L78: } L79: final ProtwordsItem other = (ProtwordsItem) obj; L80: if (!input.equals(other.input)) { L81: return false; L82: } L83: return true; L84: } L85:...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:11:58 UTC 2024 2.4K bytes -
DefaultQueryBuilder.java
return queryBuilder.hashCode(); L129: } L130: L131: @Override L132: public boolean equals(final Object obj) { L133: if (this == obj) { L134: return true; L135: } L136: if (obj == null || getClass() != obj.getClass()) { L137: return false; L138: } L139: final DefaultQueryBuilder other = (DefaultQueryBuilder) obj; L140: return Objects.equals(queryBuilder, other.queryBuilder); L141: } L142: L143: @Override L144: public...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:11:58 UTC 2024 4.1K bytes -
PrunedTag.java
hashCode() { L73: return Objects.hash(css, id, tag); L74: } L75: L76: @Override L77: public boolean equals(final Object obj) { L78: if (this == obj) { L79: return true; L80: } L81: if (obj == null || getClass() != obj.getClass()) { L82: return false; L83: } L84: final PrunedTag other = (PrunedTag) obj; L85: return StringUtils.compare(tag, other.tag) == 0 // L86: && StringUtils.compare(css, other.css) == 0 //...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:11:58 UTC 2024 4.8K bytes -
StemmerOverrideItem.java
L78: return Objects.hash(input, output); L79: } L80: L81: @Override L82: public boolean equals(final Object obj) { L83: if (this == obj) { L84: return true; L85: } L86: if (obj == null || getClass() != obj.getClass()) { L87: return false; L88: } L89: final StemmerOverrideItem other = (StemmerOverrideItem) obj; L90: if (!Objects.equals(input, other.input) || !Objects.equals(output, other.output)) { L91: return false;...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:11:58 UTC 2024 2.7K bytes -
CharMappingItem.java
Objects.hash(Arrays.hashCode(inputs), output); L98: } L99: L100: @Override L101: public boolean equals(final Object obj) { L102: if (this == obj) { L103: return true; L104: } L105: if (obj == null || getClass() != obj.getClass()) { L106: return false; L107: } L108: final CharMappingItem other = (CharMappingItem) obj; L109: sort(); L110: other.sort(); L111: if (!Arrays.equals(inputs, other.inputs) || !output.equals...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:11:58 UTC 2024 3.4K bytes -
SearchApiManager.java
').append(escapeJson(entry.getValue())); L1248: } L1249: buf.append('}'); L1250: } else if (obj instanceof Integer || obj instanceof Long || obj instanceof Float || obj instanceof Double) { L1251: buf.append(obj); L1252: } else if (obj instanceof Boolean) { L1253: buf.append(obj.toString()); L1254: } else if (obj instanceof Date) { L1255: final SimpleDateFormat sdf = new SimpleDateFormat(CoreLibConstants.DATE_FORMAT_ISO_8601_EXTEND,...github.com/codelibs/fess/src/main/java/org/code...Sat Oct 12 01:54:46 UTC 2024 50.3K bytes -
StopwordsItem.java
L68: return prime * result + input.hashCode(); L69: } L70: L71: @Override L72: public boolean equals(final Object obj) { L73: if (this == obj) { L74: return true; L75: } L76: if (obj == null || getClass() != obj.getClass()) { L77: return false; L78: } L79: final StopwordsItem other = (StopwordsItem) obj; L80: if (!input.equals(other.input)) { L81: return false; L82: } L83: return true; L84: } L85:...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:11:58 UTC 2024 2.4K bytes -
SynonymItem.java
Objects.hash(Arrays.hashCode(inputs), Arrays.hashCode(outputs)); L96: } L97: L98: @Override L99: public boolean equals(final Object obj) { L100: if (this == obj) { L101: return true; L102: } L103: if (obj == null || getClass() != obj.getClass()) { L104: return false; L105: } L106: final SynonymItem other = (SynonymItem) obj; L107: if (!ArrayUtil.equalsIgnoreSequence(inputs, other.inputs) || !ArrayUtil.equalsIgnoreSequence(outputs, other.outputs))...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:11:58 UTC 2024 3.7K bytes -
KuromojiItem.java
Objects.hash(pos, reading, segmentation, token); L114: } L115: L116: @Override L117: public boolean equals(final Object obj) { L118: if (this == obj) { L119: return true; L120: } L121: if (obj == null || getClass() != obj.getClass()) { L122: return false; L123: } L124: final KuromojiItem other = (KuromojiItem) obj; L125: if (!Objects.equals(pos, other.pos) || !Objects.equals(reading, other.reading) || !Objects.equals(segmentation,...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:11:58 UTC 2024 4.5K bytes