代码片段~
小记遇见过的代码小片段
符号分隔拼接字符串
@Override public boolean equals(Object obj) { if (this == obj) { return true; } if (obj == null) { return false; } if (getClass() != obj.getClass()) { return false; } Pattern other = (Pattern) obj; // expensive check done only if length and support matches return length == other.length && support == other.support && Arrays.equals(pattern, other.pattern); }