org.aminds.util
インタフェース Container<T>


public interface Container<T>

作成者:
Masashi Nakanishi

メソッドの概要
 boolean contains(T o)
          Returns true if this container contains the specified object.
 

メソッドの詳細

contains

boolean contains(T o)
Returns true if this container contains the specified object. This is an abstraction of Collection#contains(Object).

パラメータ:
o - element whose presence in this container is to be tested.
戻り値:
true if this container contains the specified object
例外:
ClassCastException - if the type of the specified element is incompatible with this collection (optional).
NullPointerException - if the specified element is null and this collection does not support null elements (optional).


Copyright (c) 2008-2011 Masashi Nakanishi.