标签:any ext while 元素 lis stat job als eid
static boolean listIn(List list,
anyType element)
{
boolean ret = false;
ListEnumerator listE = list.getEnumerator();
;
if (list.typeId() != typeof(element))
ret = false;
else
{
while (listE.moveNext())
{
if (listE.current() == element)
ret = true;
}
}
return ret;
}
标签:any ext while 元素 lis stat job als eid
原文地址:https://www.cnblogs.com/xtwkh1973/p/11743590.html