Searched refs:fromCollection (Results 1 – 1 of 1) sorted by relevance
245 public static <F, T> Collection<T> transform(Collection<F> fromCollection, in transform() argument247 return new TransformedCollection<F, T>(fromCollection, function); in transform()251 final Collection<F> fromCollection; field in Collections2.TransformedCollection254 TransformedCollection(Collection<F> fromCollection, in TransformedCollection() argument256 this.fromCollection = checkNotNull(fromCollection); in TransformedCollection()261 fromCollection.clear(); in clear()265 return fromCollection.isEmpty(); in isEmpty()269 return Iterators.transform(fromCollection.iterator(), function); in iterator()273 return fromCollection.size(); in size()