All Downloads are FREE. Search and download functionalities are using the official Maven repository.

xapi.collect.impl.IteratorProxy Maven / Gradle / Ivy

There is a newer version: 0.5
Show newest version
package xapi.collect.impl;

import java.util.Map.Entry;

import javax.inject.Provider;

import xapi.collect.proxy.CollectionProxy;

public class IteratorProxy  implements Provider>> {

  private CollectionProxy proxy;

  public IteratorProxy(CollectionProxy proxy) {
    this.proxy = proxy;
  }

  @Override
  public Iterable> get() {
    return proxy.toMap(null).entrySet();
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy