/** * Compares the DataFlavor passed in with this DataFlavor; calls * the <code>isMimeTypeEqual</code> method. * * @param dataFlavor the DataFlavor to compare with * @return true if the MIME type and representation class * are the same */ public boolean equals(DataFlavor dataFlavor) { return (isMimeTypeEqual(dataFlavor) && dataFlavor.getRepresentationClass() == representationClass); }
/** * Compares the DataFlavor passed in with this DataFlavor; calls * the <code>isMimeTypeEqual</code> method. * * @param dataFlavor the DataFlavor to compare with * @return true if the MIME type and representation class * are the same */ public boolean equals(DataFlavor dataFlavor) { return (isMimeTypeEqual(dataFlavor) && dataFlavor.getRepresentationClass() == representationClass); }
/** * Compares the DataFlavor passed in with this DataFlavor; calls * the <code>isMimeTypeEqual</code> method. * * @param dataFlavor the DataFlavor to compare with * @return true if the MIME type and representation class * are the same */ public boolean equals(DataFlavor dataFlavor) { return (isMimeTypeEqual(dataFlavor) && dataFlavor.getRepresentationClass() == representationClass); }
/** * Compares the DataFlavor passed in with this DataFlavor; calls * the <code>isMimeTypeEqual</code> method. * * @param dataFlavor the DataFlavor to compare with * @return true if the MIME type and representation class * are the same */ public boolean equals(DataFlavor dataFlavor) { return (isMimeTypeEqual(dataFlavor) && dataFlavor.getRepresentationClass() == representationClass); }
/** * Compares the DataFlavor passed in with this DataFlavor; calls * the <code>isMimeTypeEqual</code> method. * * @param dataFlavor the DataFlavor to compare with * @return true if the MIME type and representation class * are the same */ public boolean equals(DataFlavor dataFlavor) { return (isMimeTypeEqual(dataFlavor) && dataFlavor.getRepresentationClass() == representationClass); }
/** * Compares the DataFlavor passed in with this DataFlavor; calls * the <code>isMimeTypeEqual</code> method. * * @param dataFlavor the DataFlavor to compare with * @return true if the MIME type and representation class * are the same */ public boolean equals(DataFlavor dataFlavor) { return (isMimeTypeEqual(dataFlavor) && dataFlavor.getRepresentationClass() == representationClass); }
/** * Compares the DataFlavor passed in with this DataFlavor; calls * the <code>isMimeTypeEqual</code> method. * * @param dataFlavor the DataFlavor to compare with * @return true if the MIME type and representation class * are the same */ public boolean equals(DataFlavor dataFlavor) { return (isMimeTypeEqual(dataFlavor) && dataFlavor.getRepresentationClass() == representationClass); }
public boolean equals(DataFlavor dataFlavor) { return this.isMimeTypeEqual(dataFlavor.getMimeType()) && representationClass == dataFlavor.getRepresentationClass(); }
public boolean equals(DataFlavor dataFlavor) { return this.isMimeTypeEqual(dataFlavor.getMimeType()) && representationClass == dataFlavor.getRepresentationClass(); }
public boolean equals(DataFlavor dataFlavor) { return this.isMimeTypeEqual(dataFlavor.getMimeType()) && representationClass == dataFlavor.getRepresentationClass(); }