package com.google.common.collect;
/*
* #%L
* Matos
* $Id:$
* $HeadURL:$
* %%
* Copyright (C) 2010 - 2014 Orange SA
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* #L%
*/
public abstract class ForwardingCollection<E>
extends ForwardingObject implements java.util.Collection<E>
{
// Constructors
public ForwardingCollection(){
super();
}
// Methods
public boolean add(@com.francetelecom.rd.stubs.annotation.FieldSet("content") E arg1){
return false;
}
public void clear(){
}
public boolean contains(java.lang.Object arg1){
return false;
}
public boolean isEmpty(){
return false;
}
@com.francetelecom.rd.stubs.annotation.Code({"content=arg1.iterator().next();", "return com.francetelecom.rd.stubs.Generator.booleanValue();"})
public boolean addAll(java.util.Collection<? extends E> arg1){
return false;
}
public java.util.Iterator<E> iterator(){
return (java.util.Iterator) null;
}
public int size(){
return 0;
}
@com.francetelecom.rd.stubs.annotation.Code("return new java.lang.Object[] { content };")
public java.lang.Object [] toArray(){
return (java.lang.Object []) null;
}
@com.francetelecom.rd.stubs.annotation.Code({"T[] array = (T[]) java.lang.reflect.Array.newInstance(arg1.getClass().getComponentType(), 1);", "array[0]=(T) content;", "return array;"})
public <T>T [] toArray(T [] arg1){
return (T []) null;
}
public boolean remove(java.lang.Object arg1){
return false;
}
public boolean containsAll(java.util.Collection<?> arg1){
return false;
}
public boolean removeAll(java.util.Collection<?> arg1){
return false;
}
public boolean retainAll(java.util.Collection<?> arg1){
return false;
}
protected abstract java.util.Collection<E> delegate();
}