code: @Pure
  	public static int compareValues(AttributeValue arg0, AttributeValue arg1) {
  		if (arg0 == arg1) {
  			return 0;
  		}
  		if (arg0 == null) {
  			return Integer.MAX_VALUE;
  		}
  		if (arg1 == null) {
  			return Integer.MIN_VALUE;
  		}
  
  		Object v0;
  		Object v1;
  
  		try {
  			v0 = arg0.getValue();
  		} catch (Exception exception) {
  			v0 = null;
  		}
  
  		try {
  			v1 = arg1.getValue();
  		} catch (Exception exception) {
  			v1 = null;
  		}
  
  		return compareRawValues(v0, v1);
  	}
docs: Compare the two specified values.
  
  @param arg0 first value.
  @param arg1 second value.
  @return replies a negative value if {@code arg0} is lesser than
  {@code arg1}, a positive value if {@code arg0} is greater than
  {@code arg1}, or <code>0</code> if they are equal.
  @see AttributeValueComparator