public int compareTo(InterfaceHttpData arg0) { if (!(arg0 instanceof Attribute)) { throw new ClassCastException( "Cannot compare " + getHttpDataType() + " with " + arg0.getHttpDataType()); } return compareTo((Attribute) arg0); }
@Override public int compareTo(InterfaceHttpData o) { if (!(o instanceof FileUpload)) { throw new ClassCastException( "Cannot compare " + getHttpDataType() + " with " + o.getHttpDataType()); } return compareTo((FileUpload) o); }