Back to project page BusTicketer.
The source code is released under:
Copyright (c) 2013, Nelspike All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Red...
If you think the Android project BusTicketer 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 bus.ticketer.utils; /*from w w w .j a v a2 s . c o m*/ public enum Method { POST("POST"), GET("GET"), PUT("PUT"); private final String name; private Method(String s) { name = s; } public boolean equalsName(String otherName){ return (otherName == null)? false:name.equals(otherName); } public String toString(){ return name; } }