Esempio n. 1
0
 //============================================================
 // <T>查找对象数组的位置。</T>
 // <P>如果不存在则返回-1。</P>
 //
 // @param items 对象数组
 // @return 所在位置
 //============================================================
 public int Find(T[] items)
 {
     return(RArray <T> .Find(_items, 0, _count, items, 0, items.Length));
 }
Esempio n. 2
0
 //============================================================
 // <T>查找对象数组的位置。</T>
 // <P>如果不存在则返回-1。</P>
 //
 // @param items 对象数组
 // @return 所在位置
 //============================================================
 public int Find(FVector <T> items)
 {
     return(RArray <T> .Find(_items, 0, _count, items._items, 0, items._count));
 }
Esempio n. 3
0
 //============================================================
 // <T>查找对象数组的位置。</T>
 // <P>如果不存在则返回-1。</P>
 //
 // @param items 对象数组
 // @param offset 开始位置
 // @param count 对象个数
 // @return 所在位置
 //============================================================
 public int Find(T[] items, int offset, int count)
 {
     return(RArray <T> .Find(_items, 0, _count, items, offset, count));
 }