提交 4386c94c 编写于 作者: K Kohsuke Kawaguchi

added the contain method

上级 9d5fb672
......@@ -162,6 +162,10 @@ public class CopyOnWriteList<E> implements Iterable<E> {
return core.size();
}
public boolean contains(Object item) {
return core.contains(item);
}
/**
* {@link Converter} implementation for XStream.
*/
......
......@@ -174,6 +174,10 @@ public class PersistedList<T> implements Iterable<T> {
return data.isEmpty();
}
public boolean contains(Object item) {
return data.contains(item);
}
/**
* {@link Converter} implementation for XStream.
*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册