org.jf.util.CharSequenceUtils Java Examples

The following examples show how to use org.jf.util.CharSequenceUtils. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: BaseMethodReference.java    From ZjDroid with Apache License 2.0 5 votes vote down vote up
@Override
public boolean equals(@Nullable Object o) {
    if (o != null && o instanceof MethodReference) {
        MethodReference other = (MethodReference)o;
        return getDefiningClass().equals(other.getDefiningClass()) &&
               getName().equals(other.getName()) &&
               getReturnType().equals(other.getReturnType()) &&
               CharSequenceUtils.listEquals(getParameterTypes(), other.getParameterTypes());
    }
    return false;
}
 
Example #2
Source File: ProtoPool.java    From ZjDroid with Apache License 2.0 5 votes vote down vote up
@Override
public boolean equals(@Nullable Object o) {
    if (o instanceof Key) {
        Key other = (Key)o;
        return getReturnType().equals(other.getReturnType()) &&
                CharSequenceUtils.listEquals(getParameters(), other.getParameters());
    }
    return false;
}
 
Example #3
Source File: BuilderProtoReference.java    From ZjDroid with Apache License 2.0 5 votes vote down vote up
@Override
public boolean equals(@Nullable Object o) {
    if (o != null && o instanceof BuilderProtoReference) {
        BuilderProtoReference other = (BuilderProtoReference)o;
        return returnType.equals(other.returnType) &&
               CharSequenceUtils.listEquals(parameterTypes, other.parameterTypes);
    }
    return false;
}
 
Example #4
Source File: BuilderProtoPool.java    From ZjDroid with Apache License 2.0 5 votes vote down vote up
@Override public boolean equals(Object o) {
    if (o != null && o instanceof ProtoKey) {
        ProtoKey other = (ProtoKey)o;
        return getReturnType().equals(other.getReturnType()) &&
                CharSequenceUtils.listEquals(getParameterTypes(), other.getParameterTypes());
    }
    return false;
}
 
Example #5
Source File: BaseMethodReference.java    From zjdroid with Apache License 2.0 5 votes vote down vote up
@Override
public boolean equals(@Nullable Object o) {
    if (o != null && o instanceof MethodReference) {
        MethodReference other = (MethodReference)o;
        return getDefiningClass().equals(other.getDefiningClass()) &&
               getName().equals(other.getName()) &&
               getReturnType().equals(other.getReturnType()) &&
               CharSequenceUtils.listEquals(getParameterTypes(), other.getParameterTypes());
    }
    return false;
}
 
Example #6
Source File: ProtoPool.java    From zjdroid with Apache License 2.0 5 votes vote down vote up
@Override
public boolean equals(@Nullable Object o) {
    if (o instanceof Key) {
        Key other = (Key)o;
        return getReturnType().equals(other.getReturnType()) &&
                CharSequenceUtils.listEquals(getParameters(), other.getParameters());
    }
    return false;
}
 
Example #7
Source File: BuilderProtoReference.java    From zjdroid with Apache License 2.0 5 votes vote down vote up
@Override
public boolean equals(@Nullable Object o) {
    if (o != null && o instanceof BuilderProtoReference) {
        BuilderProtoReference other = (BuilderProtoReference)o;
        return returnType.equals(other.returnType) &&
               CharSequenceUtils.listEquals(parameterTypes, other.parameterTypes);
    }
    return false;
}
 
Example #8
Source File: BuilderProtoPool.java    From zjdroid with Apache License 2.0 5 votes vote down vote up
@Override public boolean equals(Object o) {
    if (o != null && o instanceof ProtoKey) {
        ProtoKey other = (ProtoKey)o;
        return getReturnType().equals(other.getReturnType()) &&
                CharSequenceUtils.listEquals(getParameterTypes(), other.getParameterTypes());
    }
    return false;
}
 
Example #9
Source File: BaseMethodReference.java    From HeyGirl with Apache License 2.0 5 votes vote down vote up
@Override
public boolean equals(@Nullable Object o) {
    if (o != null && o instanceof MethodReference) {
        MethodReference other = (MethodReference)o;
        return getDefiningClass().equals(other.getDefiningClass()) &&
               getName().equals(other.getName()) &&
               getReturnType().equals(other.getReturnType()) &&
               CharSequenceUtils.listEquals(getParameterTypes(), other.getParameterTypes());
    }
    return false;
}
 
Example #10
Source File: ProtoPool.java    From HeyGirl with Apache License 2.0 5 votes vote down vote up
@Override
public boolean equals(@Nullable Object o) {
    if (o instanceof Key) {
        Key other = (Key)o;
        return getReturnType().equals(other.getReturnType()) &&
                CharSequenceUtils.listEquals(getParameters(), other.getParameters());
    }
    return false;
}
 
Example #11
Source File: BuilderProtoReference.java    From HeyGirl with Apache License 2.0 5 votes vote down vote up
@Override
public boolean equals(@Nullable Object o) {
    if (o != null && o instanceof BuilderProtoReference) {
        BuilderProtoReference other = (BuilderProtoReference)o;
        return returnType.equals(other.returnType) &&
               CharSequenceUtils.listEquals(parameterTypes, other.parameterTypes);
    }
    return false;
}
 
Example #12
Source File: BuilderProtoPool.java    From HeyGirl with Apache License 2.0 5 votes vote down vote up
@Override public boolean equals(Object o) {
    if (o != null && o instanceof ProtoKey) {
        ProtoKey other = (ProtoKey)o;
        return getReturnType().equals(other.getReturnType()) &&
                CharSequenceUtils.listEquals(getParameterTypes(), other.getParameterTypes());
    }
    return false;
}
 
Example #13
Source File: BaseMethodReference.java    From ZjDroid with Apache License 2.0 5 votes vote down vote up
@Override
public boolean equals(@Nullable Object o) {
    if (o != null && o instanceof MethodReference) {
        MethodReference other = (MethodReference)o;
        return getDefiningClass().equals(other.getDefiningClass()) &&
               getName().equals(other.getName()) &&
               getReturnType().equals(other.getReturnType()) &&
               CharSequenceUtils.listEquals(getParameterTypes(), other.getParameterTypes());
    }
    return false;
}
 
Example #14
Source File: ProtoPool.java    From ZjDroid with Apache License 2.0 5 votes vote down vote up
@Override
public boolean equals(@Nullable Object o) {
    if (o instanceof Key) {
        Key other = (Key)o;
        return getReturnType().equals(other.getReturnType()) &&
                CharSequenceUtils.listEquals(getParameters(), other.getParameters());
    }
    return false;
}
 
Example #15
Source File: BuilderProtoReference.java    From ZjDroid with Apache License 2.0 5 votes vote down vote up
@Override
public boolean equals(@Nullable Object o) {
    if (o != null && o instanceof BuilderProtoReference) {
        BuilderProtoReference other = (BuilderProtoReference)o;
        return returnType.equals(other.returnType) &&
               CharSequenceUtils.listEquals(parameterTypes, other.parameterTypes);
    }
    return false;
}
 
Example #16
Source File: BuilderProtoPool.java    From ZjDroid with Apache License 2.0 5 votes vote down vote up
@Override public boolean equals(Object o) {
    if (o != null && o instanceof ProtoKey) {
        ProtoKey other = (ProtoKey)o;
        return getReturnType().equals(other.getReturnType()) &&
                CharSequenceUtils.listEquals(getParameterTypes(), other.getParameterTypes());
    }
    return false;
}