Equals() public method

public Equals ( object obj ) : bool
obj object
return bool
Esempio n. 1
0
		private void ImportPackage(NativeJavaPackage pkg)
		{
			if (pkg == null)
			{
				return;
			}
			lock (importedPackages)
			{
				for (int j = 0; j != importedPackages.Size(); j++)
				{
					if (pkg.Equals(importedPackages.Get(j)))
					{
						return;
					}
				}
				importedPackages.Add(pkg);
			}
		}