public class DefaultDependencies extends ArrayList implements Dependencies
modCount
Constructor and Description |
---|
DefaultDependencies() |
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Creates a copy of the object.
|
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, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
equals, hashCode
containsAll
finalize, getClass, notify, notifyAll, wait, wait, wait
add, add, addAll, addAll, clear, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray
parallelStream, removeIf, stream
public Object clone()
Cloneable
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