T
- The type of elements to be abstracted.public class Abstractable<T extends Resolver>
extends java.lang.Object
Constructor and Description |
---|
Abstractable(java.util.Collection<T> abstractableValues) |
Modifier and Type | Method and Description |
---|---|
java.util.Set<T> |
abstractable()
Returns a set of the values to be abstracted, for example by
Abstracter.handleAbstraction(Abstractable) . |
boolean |
overlapsWith(Abstractable<T> other)
Returns whether the elements in this set of abstractable values overlap at all with the elements in the other set
of abstractable values.
|
boolean |
overlapsWith(java.util.Collection<T> collection)
Returns whether the elements in this set of abstractable values overlap at all with the elements in the other
collection of abstractable values.
|
java.lang.String |
toString() |
public Abstractable(java.util.Collection<T> abstractableValues)
public java.util.Set<T> abstractable()
Abstracter.handleAbstraction(Abstractable)
.public boolean overlapsWith(Abstractable<T> other)
other
- The other set of abstractable values.public boolean overlapsWith(java.util.Collection<T> collection)
collection
- The other collection of abstractable values.public java.lang.String toString()
toString
in class java.lang.Object