org.aksw.commons.collections
Class FlatMapView<T>

java.lang.Object
  extended by java.util.AbstractCollection<T>
      extended by org.aksw.commons.collections.FlatMapView<T>
All Implemented Interfaces:
Iterable<T>, Collection<T>

public class FlatMapView<T>
extends AbstractCollection<T>

Created by Claus Stadler Date: Oct 9, 2010 Time: 5:41:56 PM


Constructor Summary
FlatMapView(Collection<? extends Collection<T>> internal)
           
 
Method Summary
 Iterator<T> iterator()
           
 int size()
           
 
Methods inherited from class java.util.AbstractCollection
add, addAll, clear, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Collection
equals, hashCode
 

Constructor Detail

FlatMapView

public FlatMapView(Collection<? extends Collection<T>> internal)
Method Detail

iterator

public Iterator<T> iterator()
Specified by:
iterator in interface Iterable<T>
Specified by:
iterator in interface Collection<T>
Specified by:
iterator in class AbstractCollection<T>

size

public int size()
Specified by:
size in interface Collection<T>
Specified by:
size in class AbstractCollection<T>


Copyright © 2012. All Rights Reserved.