public int CompareTo(object obj)
            {
                if (!(obj is CCMatch))
                {
                    throw new ArgumentException("L'argument n'est pas de type CCMatch", "obj");
                }

                CCMatch y = obj as CCMatch;

                if (this.Index < y.Index)
                {
                    return(-1);
                }

                if (this.Index > y.Index)
                {
                    return(1);
                }

                if (this.Index == y.Index)
                {
                    if (this.Length < y.Length)
                    {
                        return(-1);
                    }

                    if (this.Length > y.Length)
                    {
                        return(1);
                    }
                }

                return(0);
            }
 public int Add(CCMatch value)
 {
     return(base.InnerList.Add(value));
 }
 public bool Contains(CCMatch match)
 {
     return(this.Index <= match.Index &&
            this.Index + this.Length > match.Index);
 }