public final class Slice extends com.google.common.collect.ForwardingSet<JavaClass> implements HasDescription, CanOverrideDescription<Slice>
Modifier and Type | Method and Description |
---|---|
Slice |
as(java.lang.String pattern)
The pattern can be a description with references to the matching groups by '$' and position.
|
protected java.util.Set<JavaClass> |
delegate() |
java.util.Set<Dependency> |
getDependencies() |
java.lang.String |
getDescription() |
java.lang.String |
getNamePart(int index)
Returns a matching part of this slice.
|
java.lang.String |
toString() |
equals, hashCode, standardEquals, standardHashCode, standardRemoveAll
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, standardAddAll, standardClear, standardContains, standardContainsAll, standardIsEmpty, standardRemove, standardRetainAll, standardToArray, standardToArray, standardToString, toArray, toArray
protected java.util.Set<JavaClass> delegate()
delegate
in class com.google.common.collect.ForwardingSet<JavaClass>
public java.lang.String getDescription()
getDescription
in interface HasDescription
public Slice as(java.lang.String pattern)
as
in interface CanOverrideDescription<Slice>
pattern
- The description pattern with numbered references of the form $ipublic java.util.Set<Dependency> getDependencies()
public java.lang.String toString()
toString
in class com.google.common.collect.ForwardingObject
public java.lang.String getNamePart(int index)
index
- The index of the matched group