@Immutable public class Dependencies extends Object
Modifier and Type | Field and Description |
---|---|
private Set<String> |
after |
private Set<String> |
before |
private Set<String> |
provides |
Constructor and Description |
---|
Dependencies(Collection<String> provides,
Collection<String> before,
Collection<String> after)
Create from collections of strings, typically from config.
|
Modifier and Type | Method and Description |
---|---|
Set<String> |
after() |
Set<String> |
before() |
static Dependencies |
emptyDependencies() |
private Set<String> |
immutableSet(Collection<String> set) |
Set<String> |
provides() |
String |
toString() |
Dependencies |
union(Dependencies dependencies) |
private Set<String> |
union(Set<String> s1,
Set<String> s2) |
public Dependencies(Collection<String> provides, Collection<String> before, Collection<String> after)
public static Dependencies emptyDependencies()
public Dependencies union(Dependencies dependencies)
private Set<String> immutableSet(Collection<String> set)
Copyright © 2018. All rights reserved.