List of usage examples for com.google.common.collect Iterables unmodifiableIterable
@Deprecated public static <E> Iterable<E> unmodifiableIterable(ImmutableCollection<E> iterable)
From source file:org.apache.abdera2.common.pusher.AbstractPusher.java
public void pushAll(Iterable<T> t) { for (T i : Iterables.unmodifiableIterable(t)) push(i); }
From source file:org.eclipse.xtext.generator.CompositeGeneratorException.java
public Iterable<Exception> getExceptions() { return Iterables.unmodifiableIterable(exceptions); }
From source file:com.eucalyptus.auth.ws.EuareRequestLoggingFilter.java
private static Iterable<String> buildActionNVPs(final String action) { return Iterables.unmodifiableIterable(Iterables.transform(Arrays.asList(OperationParameter.values()), Functions.compose(Strings.append("=" + action), Functions.toStringFunction()))); }
From source file:google.registry.util.CapturingLogHandler.java
public Iterable<LogRecord> getRecords() { return Iterables.unmodifiableIterable(records); }
From source file:org.jboss.hal.meta.capabilitiy.Capability.java
public Iterable<AddressTemplate> getTemplates() { return Iterables.unmodifiableIterable(templates); }
From source file:com.eucalyptus.simpleworkflow.stateful.PolledNotificationCheckerDiscovery.java
static Supplier<Iterable<PolledNotificationChecker>> supplier() { return new Supplier<Iterable<PolledNotificationChecker>>() { @Override//from w w w . j a v a 2s .c om public Iterable<PolledNotificationChecker> get() { return Iterables.unmodifiableIterable(checkers); } }; }
From source file:org.openqa.selenium.net.NetworkInterface.java
NetworkInterface(String name, Iterable<InetAddress> inetAddresses) { this.name = name; this.inetAddresses = Iterables.unmodifiableIterable(inetAddresses); }
From source file:edu.oregonstate.eecs.mcplan.sim.StateNode.java
public Iterable<ActionNode<S, A>> successors() { return Iterables.unmodifiableIterable(successors); }
From source file:org.polarsys.reqcycle.types.impl.TypesManager.java
@Override public Iterable<IType> getAllTypes() { Iterable<Iterable<IType>> transform = Iterables.transform(providers, new ProviderToITypes()); Iterable<IType> result = Iterables.concat(transform); return Iterables.unmodifiableIterable(Iterables.concat(allTypes.values(), result)); }
From source file:edu.oregonstate.eecs.mcplan.sim.ActionNode.java
public Iterable<StateNode<S, A>> successors() { return Iterables.unmodifiableIterable(successors); }