Collection 인터페이스 에 대하 여

3129 단어 Collection
1.       
/**
 * <br>Copyright: Copyright (c) 2007
 * @author Tunie 
 * <br><b>   2013-4-9</b>
 * @version 1.0
 */
package tunie.learn;

import java.util.Collection;
import java.util.Iterator;

/**
 * <br><h5>  :</h5>
 *     
 * @author Tunie 
 * <br><b>   2013-4-9</b>
 */
public class LCollection<E> implements Collection<E>
{

	/* (  Javadoc)
	 * @see java.util.Collection#size()
	 */
	@Override
	public int size()
	{
		// TODO Auto-generated method stub
		return 0;
	}

	/* (  Javadoc)
	 * @see java.util.Collection#isEmpty()
	 */
	@Override
	public boolean isEmpty()
	{
		// TODO Auto-generated method stub
		return false;
	}

	/* (  Javadoc)
	 * @see java.util.Collection#contains(java.lang.Object)
	 */
	@Override
	public boolean contains(Object o)
	{
		// TODO Auto-generated method stub
		return false;
	}

	/* (  Javadoc)
	 * @see java.util.Collection#iterator()
	 */
	@Override
	public Iterator<E> iterator()
	{
		// TODO Auto-generated method stub
		return null;
	}

	/* (  Javadoc)
	 * @see java.util.Collection#toArray()
	 */
	@Override
	public Object[] toArray()
	{
		// TODO Auto-generated method stub
		return null;
	}

	/* (  Javadoc)
	 * @see java.util.Collection#toArray(T[])
	 */
	@Override
	public <T> T[] toArray(T[] a)
	{
		// TODO Auto-generated method stub
		return null;
	}

	/* (  Javadoc)
	 * @see java.util.Collection#add(java.lang.Object)
	 */
	@Override
	public boolean add(E e)
	{
		// TODO Auto-generated method stub
		return false;
	}

	/* (  Javadoc)
	 * @see java.util.Collection#remove(java.lang.Object)
	 */
	@Override
	public boolean remove(Object o)
	{
		// TODO Auto-generated method stub
		return false;
	}

	/* (  Javadoc)
	 * @see java.util.Collection#containsAll(java.util.Collection)
	 */
	@Override
	public boolean containsAll(Collection<?> c)
	{
		// TODO Auto-generated method stub
		return false;
	}

	/* (  Javadoc)
	 * @see java.util.Collection#addAll(java.util.Collection)
	 */
	@Override
	public boolean addAll(Collection<? extends E> c)
	{
		// TODO Auto-generated method stub
		return false;
	}

	/* (  Javadoc)
	 * @see java.util.Collection#removeAll(java.util.Collection)
	 */
	@Override
	public boolean removeAll(Collection<?> c)
	{
		// TODO Auto-generated method stub
		return false;
	}

	/* (  Javadoc)
	 * @see java.util.Collection#retainAll(java.util.Collection)
	 */
	@Override
	public boolean retainAll(Collection<?> c)
	{
		// TODO Auto-generated method stub
		return false;
	}

	/* (  Javadoc)
	 * @see java.util.Collection#clear()
	 */
	@Override
	public void clear()
	{
		// TODO Auto-generated method stub
		
	}
	
}
     Collection  ,  Collection     13   。
2.  Colleciton      
               
2.1      add/addAll
2.2      clear/remove/removeAll
2.3      contains/iterator/containsAll
2.4      size/isEmpty/toArray/retainAll

좋은 웹페이지 즐겨찾기