Catrobat.IDE.Core.UI.NullItemCollection.IndexOf C# (CSharp) Method

IndexOf() public method

public IndexOf ( object value ) : int
value object
return int
    public int IndexOf(object value)
    {
      return value == NullObject || value == null ? 0 : SourceCollection.IndexOf(value) + 1;
    }