text: public virtual int indexOf(object @object){int size_1;object[] array;lock (mutex){size_1 = list.size();array = new object[size_1];list.toArray(array);}if (@object != null){{for (int i = 0; i < size_1; i++){if (@object.Equals(array[i])){return i;}}}}else{{for (int i = 0; i < size_1; i++){if (array[i] == null){return i;}}}}return -1;}