@Override
	public boolean equals(Object obj) {
		String objString = null;
		String ourString = null;
		
		// if obj is not effectively one of us ...
		if (! this.getClass().isInstance(obj)) {
			throw new ClassCastException ();
		}
		
		// get the strings
		objString = ((StrungDocumentInfo)obj).getString();
		ourString = string;
		
		// if we're ignoring case
		if (ignoreCase) {
			// we'll compare in uppercase
			objString = objString.toUpperCase();
			ourString = ourString.toUpperCase();
		}
		
		// return test result
		return ourString.equals(objString);
	}