public class DefaultDependencies extends ArrayList implements Dependencies
modCount
Constructor and Description |
---|
DefaultDependencies() |
Modifier and Type | Method and Description |
---|---|
boolean |
contains(Object o) |
Dependency |
find(String type,
String code,
Version version) |
Dependency |
find(String type,
StringWithAlias code,
Version version) |
List |
findAll(String type,
String code,
Version version) |
List |
findAll(String type,
StringWithAlias code,
Version version) |
boolean |
match(String type,
String code,
Version version) |
boolean |
match(String type,
StringWithAlias code,
Version version) |
Dependencies |
parse(String dependecies) |
String |
toString() |
add, add, addAll, addAll, clear, clone, ensureCapacity, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeRange, retainAll, set, size, subList, toArray, toArray, trimToSize
equals, hashCode
containsAll
finalize, getClass, notify, notifyAll, wait, wait, wait
public Dependencies parse(String dependecies)
parse
in interface Dependencies
public String toString()
toString
in class AbstractCollection
public boolean contains(Object o)
public boolean match(String type, String code, Version version)
match
in interface Dependencies
public Dependency find(String type, String code, Version version)
find
in interface Dependencies
public List findAll(String type, String code, Version version)
findAll
in interface Dependencies
public boolean match(String type, StringWithAlias code, Version version)
match
in interface Dependencies
public Dependency find(String type, StringWithAlias code, Version version)
find
in interface Dependencies
public List findAll(String type, StringWithAlias code, Version version)
findAll
in interface Dependencies