public final boolean equalsIgnoreCase(CharSegment b){
  int length=_length;
  if (length != b._length)   return false;
  char[] buffer=_buffer;
  char[] bBuffer=b._buffer;
  int offset=_offset;
  int bOffset=b._offset;
  for (int i=length - 1; i >= 0; i--) {
    char ca=buffer[offset + i];
    char cb=bBuffer[bOffset + i];
    if (ca != cb && Character.toLowerCase(ca) != Character.toLowerCase(cb))     return false;
  }
  return true;
}

public final boolean equalsIgnoreCase ( CharSegment b ) { int length = _length ; if ( length != b . _length ) return false ; char [ ] buffer = _buffer ; char [ ] bBuffer = b . _buffer ; int offset = _offset ; int bOffset = b . _offset ; for ( int i = length - 1 ; i >= 0 ; i -- ) { char ca = buffer [ offset + i ] ; char cb = bBuffer [ bOffset + i ] ; if ( ca != cb && Character . toLowerCase ( ca ) != Character . toLowerCase ( cb ) ) return false ; } return true ; }
returns true if the two charsegments are equivalent ignoring the case .
