Segmenter.Base.Sequences.ComplexChain.IsEmpty C# (CSharp) Method

IsEmpty() public method

The is empty.
public IsEmpty ( ) : bool
return bool
        public bool IsEmpty()
        {
            return GetLength() == 0;
        }

Usage Example

コード例 #1
0
 public void IsEmptyTest()
 {
     string str = "s";
     var emptyChain = new ComplexChain(string.Empty);
     Assert.True(emptyChain.IsEmpty());
     emptyChain.Concat(str);
     Assert.True(!emptyChain.IsEmpty());
     emptyChain.ClearAt(0);
     Assert.True(emptyChain.IsEmpty());
 }
All Usage Examples Of Segmenter.Base.Sequences.ComplexChain::IsEmpty