code: @Override
      public boolean isSelected(final Comparable<E> value, final boolean caseSensitive)
      {
          if (value instanceof String)
          {
              if (min != null)
                  if (((String) value).toLowerCase().compareTo((String) min) < 0)
                      return false;
              if (max != null)
                  if (((String) value).toLowerCase().compareTo((String) max) > 0)
                      return false;
          } else
          {
              if (min != null)
                  if (value.compareTo(min) < 0)
                      return false;
              if (max != null)
                  if (value.compareTo(max) > 0)
                      return false;
          }
          return true;
      }
docs: {@inheritDoc}