@Portable public class Dependencies extends Object implements List<Dependency>
| Constructor and Description |
|---|
Dependencies() |
Dependencies(List<Dependency> dependencies) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(Dependency dependency) |
void |
add(int i,
Dependency dependency) |
boolean |
addAll(Collection<? extends Dependency> collection) |
boolean |
addAll(int i,
Collection<? extends Dependency> collection) |
void |
clear() |
boolean |
contains(Object o) |
boolean |
containsAll(Collection<?> collection) |
boolean |
containsDependency(GAV other) |
Dependency |
get(GAV gav) |
Dependency |
get(int i) |
Collection<GAV> |
getCompileScopedGavs() |
Collection<GAV> |
getGavs(String... scopes) |
int |
indexOf(Object o) |
boolean |
isEmpty() |
Iterator<Dependency> |
iterator() |
int |
lastIndexOf(Object o) |
ListIterator<Dependency> |
listIterator() |
ListIterator<Dependency> |
listIterator(int i) |
Dependency |
remove(int i) |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> collection) |
boolean |
retainAll(Collection<?> collection) |
Dependency |
set(int i,
Dependency dependency) |
int |
size() |
List<Dependency> |
subList(int i,
int i1) |
Object[] |
toArray() |
<T> T[] |
toArray(T[] ts) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequals, hashCode, replaceAll, sort, spliteratorparallelStream, removeIf, streampublic Dependencies()
public Dependencies(List<Dependency> dependencies)
public boolean containsDependency(GAV other)
public Dependency get(GAV gav)
public Collection<GAV> getGavs(String... scopes)
public Collection<GAV> getCompileScopedGavs()
public int size()
size in interface Collection<Dependency>size in interface List<Dependency>public boolean isEmpty()
isEmpty in interface Collection<Dependency>isEmpty in interface List<Dependency>public boolean contains(Object o)
contains in interface Collection<Dependency>contains in interface List<Dependency>public Iterator<Dependency> iterator()
iterator in interface Iterable<Dependency>iterator in interface Collection<Dependency>iterator in interface List<Dependency>public Object[] toArray()
toArray in interface Collection<Dependency>toArray in interface List<Dependency>public <T> T[] toArray(T[] ts)
toArray in interface Collection<Dependency>toArray in interface List<Dependency>public boolean add(Dependency dependency)
add in interface Collection<Dependency>add in interface List<Dependency>public boolean remove(Object o)
remove in interface Collection<Dependency>remove in interface List<Dependency>public boolean containsAll(Collection<?> collection)
containsAll in interface Collection<Dependency>containsAll in interface List<Dependency>public boolean addAll(Collection<? extends Dependency> collection)
addAll in interface Collection<Dependency>addAll in interface List<Dependency>public boolean addAll(int i,
Collection<? extends Dependency> collection)
addAll in interface List<Dependency>public boolean removeAll(Collection<?> collection)
removeAll in interface Collection<Dependency>removeAll in interface List<Dependency>public boolean retainAll(Collection<?> collection)
retainAll in interface Collection<Dependency>retainAll in interface List<Dependency>public void clear()
clear in interface Collection<Dependency>clear in interface List<Dependency>public Dependency get(int i)
get in interface List<Dependency>public Dependency set(int i, Dependency dependency)
set in interface List<Dependency>public void add(int i,
Dependency dependency)
add in interface List<Dependency>public Dependency remove(int i)
remove in interface List<Dependency>public int indexOf(Object o)
indexOf in interface List<Dependency>public int lastIndexOf(Object o)
lastIndexOf in interface List<Dependency>public ListIterator<Dependency> listIterator()
listIterator in interface List<Dependency>public ListIterator<Dependency> listIterator(int i)
listIterator in interface List<Dependency>public List<Dependency> subList(int i, int i1)
subList in interface List<Dependency>Copyright © 2012–2017 JBoss by Red Hat. All rights reserved.