@Immutable
public class MachineSet
extends java.lang.Object
implements java.lang.Iterable<org.jclouds.compute.domain.NodeMetadata>
Constructor and Description |
---|
MachineSet(java.lang.Iterable<? extends org.jclouds.compute.domain.NodeMetadata> m) |
MachineSet(org.jclouds.compute.domain.NodeMetadata... nodes) |
Modifier and Type | Method and Description |
---|---|
MachineSet |
added(MachineSet toAdd) |
boolean |
contains(org.jclouds.compute.domain.NodeMetadata input) |
boolean |
equals(java.lang.Object obj) |
MachineSet |
filtered(com.google.common.base.Predicate<org.jclouds.compute.domain.NodeMetadata>... criteria) |
MachineSet |
filtered(com.google.common.base.Predicate<org.jclouds.compute.domain.NodeMetadata> criterion) |
int |
hashCode() |
boolean |
isEmpty() |
java.util.Iterator<org.jclouds.compute.domain.NodeMetadata> |
iterator() |
MachineSet |
removed(MachineSet toRemove) |
int |
size() |
java.lang.String |
toString() |
public MachineSet(java.lang.Iterable<? extends org.jclouds.compute.domain.NodeMetadata> m)
public MachineSet(org.jclouds.compute.domain.NodeMetadata... nodes)
public java.util.Iterator<org.jclouds.compute.domain.NodeMetadata> iterator()
iterator
in interface java.lang.Iterable<org.jclouds.compute.domain.NodeMetadata>
public MachineSet removed(MachineSet toRemove)
public MachineSet added(MachineSet toAdd)
public MachineSet filtered(com.google.common.base.Predicate<org.jclouds.compute.domain.NodeMetadata> criterion)
public MachineSet filtered(com.google.common.base.Predicate<org.jclouds.compute.domain.NodeMetadata>... criteria)
public int size()
public boolean isEmpty()
public boolean contains(org.jclouds.compute.domain.NodeMetadata input)
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object