Back to project page sres.
The source code is released under:
Apache License
If you think the Android project sres listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package me.tatarka.sres.ast; /*ww w . j av a 2s . com*/ import java.util.Objects; /** * Created by evan on 3/11/14. */ public class Converter { public final Type type; public final String value; public Converter(Type type, String value) { this.type = type; this.value = value; } @Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; Converter converter = (Converter) o; return type == converter.type && value.equals(converter.value); } @Override public int hashCode() { return Objects.hash(type, value); } public static enum Type { CAST, METHOD } }