public boolean isFine( String n, int w, int h )
    {
        if ( !n.equals( name ) )
            return false;
        switch ( compare )
        {
            case 0:
                return ( w == width && h == height );
            case 1:
                return ( w <= width && h <= height );
            case 2:
                return ( w >= width && h >= height );
            default: // -1 = no specs
                return true;
        }
    }