Search in sources :

Example 51 with HashCodeBuilder

use of org.apache.commons.lang3.builder.HashCodeBuilder in project intellij-plugins by JetBrains.

the class Location method hashCode.

@Override
public int hashCode() {
    HashCodeBuilder builder = new HashCodeBuilder();
    builder.append(file);
    builder.append(offset);
    builder.append(length);
    builder.append(startLine);
    builder.append(startColumn);
    return builder.toHashCode();
}
Also used : HashCodeBuilder(org.apache.commons.lang3.builder.HashCodeBuilder)

Example 52 with HashCodeBuilder

use of org.apache.commons.lang3.builder.HashCodeBuilder in project intellij-plugins by JetBrains.

the class MoveFileOptions method hashCode.

@Override
public int hashCode() {
    HashCodeBuilder builder = new HashCodeBuilder();
    builder.append(newFile);
    return builder.toHashCode();
}
Also used : HashCodeBuilder(org.apache.commons.lang3.builder.HashCodeBuilder)

Example 53 with HashCodeBuilder

use of org.apache.commons.lang3.builder.HashCodeBuilder in project intellij-plugins by JetBrains.

the class NavigationRegion method hashCode.

@Override
public int hashCode() {
    HashCodeBuilder builder = new HashCodeBuilder();
    builder.append(offset);
    builder.append(length);
    builder.append(targets);
    return builder.toHashCode();
}
Also used : HashCodeBuilder(org.apache.commons.lang3.builder.HashCodeBuilder)

Example 54 with HashCodeBuilder

use of org.apache.commons.lang3.builder.HashCodeBuilder in project intellij-plugins by JetBrains.

the class RemoveContentOverlay method hashCode.

@Override
public int hashCode() {
    HashCodeBuilder builder = new HashCodeBuilder();
    builder.append(type);
    return builder.toHashCode();
}
Also used : HashCodeBuilder(org.apache.commons.lang3.builder.HashCodeBuilder)

Example 55 with HashCodeBuilder

use of org.apache.commons.lang3.builder.HashCodeBuilder in project intellij-plugins by JetBrains.

the class RequestError method hashCode.

@Override
public int hashCode() {
    HashCodeBuilder builder = new HashCodeBuilder();
    builder.append(code);
    builder.append(message);
    builder.append(stackTrace);
    return builder.toHashCode();
}
Also used : HashCodeBuilder(org.apache.commons.lang3.builder.HashCodeBuilder)

Aggregations

HashCodeBuilder (org.apache.commons.lang3.builder.HashCodeBuilder)70 IOException (java.io.IOException)1 KeyManagementException (java.security.KeyManagementException)1 KeyStoreException (java.security.KeyStoreException)1 NoSuchAlgorithmException (java.security.NoSuchAlgorithmException)1 CertificateException (java.security.cert.CertificateException)1 X509Certificate (java.security.cert.X509Certificate)1 TreeMap (java.util.TreeMap)1 Test (org.junit.Test)1