public class DefaultDependencies extends java.util.ArrayList implements Dependencies
Constructor and Description |
---|
DefaultDependencies() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Creates a copy of the object.
|
boolean |
contains(java.lang.Object o) |
Dependency |
find(java.lang.String type,
java.lang.String code,
Version version) |
Dependency |
find(java.lang.String type,
StringWithAlias code,
Version version) |
java.util.List |
findAll(java.lang.String type,
java.lang.String code,
Version version) |
java.util.List |
findAll(java.lang.String type,
StringWithAlias code,
Version version) |
boolean |
match(java.lang.String type,
java.lang.String code,
Version version) |
boolean |
match(java.lang.String type,
StringWithAlias code,
Version version) |
Dependencies |
parse(java.lang.String dependecies) |
java.lang.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
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
cloneQuietly, cloneQuietly
public java.lang.Object clone()
Cloneable
clone
in class java.util.ArrayList
Object#clone()}.
public Dependencies parse(java.lang.String dependecies)
parse
in interface Dependencies
public java.lang.String toString()
toString
in class java.util.AbstractCollection
public boolean contains(java.lang.Object o)
contains
in interface java.util.Collection
contains
in interface java.util.List
contains
in class java.util.ArrayList
public boolean match(java.lang.String type, java.lang.String code, Version version)
match
in interface Dependencies
public Dependency find(java.lang.String type, java.lang.String code, Version version)
find
in interface Dependencies
public java.util.List findAll(java.lang.String type, java.lang.String code, Version version)
findAll
in interface Dependencies
public boolean match(java.lang.String type, StringWithAlias code, Version version)
match
in interface Dependencies
public Dependency find(java.lang.String type, StringWithAlias code, Version version)
find
in interface Dependencies
public java.util.List findAll(java.lang.String type, StringWithAlias code, Version version)
findAll
in interface Dependencies