# DependenciesMetadata

interface DependenciesMetadata<T : DependencyMetadata?> : Collection<E> (source)

Describes metadata about a dependency - direct dependencies or dependency constraints - declared in a resolved component's metadata.

#### Since

4.4

#### Parameters

<T>

type of the dependency metadata in this collection

#### Inheritors

DependencyConstraintsMetadata
DirectDependenciesMetadata

## Functions

add
Link copied to clipboard
abstract fun add(p: E): Boolean
abstract fun add(dependencyNotation: String)
abstract fun add(dependencyNotation: String, configureAction: Action<in T>)
Add a dependency or a dependency constraint using the string notation: `group:name:version`.
abstract fun add(dependencyNotation: Map<String, String>)
abstract fun add(dependencyNotation: Map<String, String>, configureAction: Action<in T>)
Add a dependency or a dependency constraint using the map notation: `group: group, name: name, version: version`.
addAll
Link copied to clipboard
abstract fun addAll(p: Collection<out E>): Boolean
clear
Link copied to clipboard
abstract fun clear()
contains
Link copied to clipboard
abstract fun contains(p: Any): Boolean
containsAll
Link copied to clipboard
abstract fun containsAll(p: Collection<out Any>): Boolean
equals
Link copied to clipboard
abstract fun equals(p: Any): Boolean
forEach
Link copied to clipboard
open fun forEach(p: Consumer<in T>)
hashCode
Link copied to clipboard
abstract fun hashCode(): Int
isEmpty
Link copied to clipboard
abstract fun isEmpty(): Boolean
iterator
Link copied to clipboard
abstract fun iterator(): Iterator<T>
abstract fun iterator(): Iterator<E>
parallelStream
Link copied to clipboard
open fun parallelStream(): Stream<E>
remove
Link copied to clipboard
abstract fun remove(p: Any): Boolean
removeAll
Link copied to clipboard
abstract fun removeAll(p: Collection<out Any>): Boolean
removeIf
Link copied to clipboard
open fun removeIf(p: Predicate<in E>): Boolean
retainAll
Link copied to clipboard
abstract fun retainAll(p: Collection<out Any>): Boolean
size
Link copied to clipboard
abstract fun size(): Int
spliterator
Link copied to clipboard
open fun spliterator(): Spliterator<T>
open fun spliterator(): Spliterator<E>
stream
Link copied to clipboard
open fun stream(): Stream<E>
toArray
Link copied to clipboard
abstract fun toArray(): Array<Any>
abstract fun <T> toArray(p: Array<T>): Array<T>