commons.java subversion repository

sventon subversion web client - http://www.sventon.org
[show recent changes]
 
  Help
HEAD
Rev: 676 - https://secure.bioinfweb.info/Code/svn/commons.java / trunk / main / info.bioinfweb.commons.core / src / info / bioinfweb / commons / collections / NonStoringCollection.java
Unified Diff View - NonStoringCollection.java
/trunk/main/info.bioinfweb.commons.core/src/info/bioinfweb/commons/collections/NonStoringCollection.java @ revision 675
/trunk/main/info.bioinfweb.commons.core/src/info/bioinfweb/commons/collections/NonStoringCollection.java @ revision 676
@@ -22,6 +22,7 @@ import java.util.Collection; import java.util.Collections; import java.util.Iterator; +import java.util.function.IntFunction; @@ -54,7 +55,7 @@   * @return {@code false}   */  @Override - public boolean addAll(Collection c) { + public boolean addAll(Collection<? extends E> c) {   return false;  } @@ -80,7 +81,7 @@   * @return always {@code false}   */  @Override - public boolean containsAll(Collection c) { + public boolean containsAll(Collection<?> c) {   return false;  } @@ -102,8 +103,8 @@   * @return an empty iterator   */  @Override - public Iterator iterator() { -  return Collections.emptyIterator(); + public Iterator<E> iterator() { +  return Collections.<E>emptyIterator();  } @@ -126,7 +127,7 @@   * @return always {@code false}   */  @Override - public boolean removeAll(Collection c) { + public boolean removeAll(Collection<?> c) {   return false;  } @@ -138,7 +139,7 @@   * @return always {@code false}   */  @Override - public boolean retainAll(Collection c) { + public boolean retainAll(Collection<?> c) {   return false;  }


feed icon

sventon 2.5.1

bioinfweb RSS feed bioinfweb on twitter bioinfweb.commons.java on GitHub
bioinfweb - Biology & Informatics Website