All Downloads are FREE. Search and download functionalities are using the official Maven repository.

javax.media.pim.PlugInInfo Maven / Gradle / Ivy

There is a newer version: 1.0.2-jitsi
Show newest version
package javax.media.pim;

import javax.media.*;

/**
 * Part of internal implementation of javax.media.PlugInManager.
 *
 * @author Ken Larson
 *
 */
class PlugInInfo
{
    public String className;
    public Format[] inputFormats;
    public Format[] outputFormats;

    public PlugInInfo(String name, Format[] formats, Format[] formats2)
    {
        super();
        className = name;
        inputFormats = formats;
        outputFormats = formats2;
    }

    @Override
    public boolean equals(Object other)
    {
        return (other instanceof PlugInInfo && (className == ((PlugInInfo) other).className || className != null
                && className.equals(((PlugInInfo) other).className)));
    }

    @Override
    public int hashCode()
    {
        return className.hashCode();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy