Liking cljdoc? Tell your friends :D

jdk.util.concurrent.ConcurrentHashMap$KeySetView

A view of a ConcurrentHashMap as a Set of keys, in which additions may optionally be enabled by mapping to a common value. This class cannot be directly instantiated. See keySet(), keySet(V), newKeySet(), newKeySet(int).

A view of a ConcurrentHashMap as a Set of keys, in
which additions may optionally be enabled by mapping to a
common value.  This class cannot be directly instantiated.
See keySet(),
keySet(V),
newKeySet(),
newKeySet(int).
raw docstring

addclj

(add this e)

Adds the specified key to this set view by mapping the key to the default mapped value in the backing map, if defined.

e - key to be added - ConcurrentHashMap.KeySetView.K

returns: true if this set changed as a result of the call - boolean

throws: java.lang.NullPointerException - if the specified key is null

Adds the specified key to this set view by mapping the key to
 the default mapped value in the backing map, if defined.

e - key to be added - `ConcurrentHashMap.KeySetView.K`

returns: true if this set changed as a result of the call - `boolean`

throws: java.lang.NullPointerException - if the specified key is null
raw docstring

add-allclj

(add-all this c)

Adds all of the elements in the specified collection to this set, as if by calling add(K) on each one.

c - the elements to be inserted into this set - ConcurrentHashMap.KeySetView.K>

returns: true if this set changed as a result of the call - boolean

throws: java.lang.NullPointerException - if the collection or any of its elements are null

Adds all of the elements in the specified collection to this set,
 as if by calling add(K) on each one.

c - the elements to be inserted into this set - `ConcurrentHashMap.KeySetView.K>`

returns: true if this set changed as a result of the call - `boolean`

throws: java.lang.NullPointerException - if the collection or any of its elements are null
raw docstring

clearclj

(clear this)

Removes all of the elements from this view, by removing all the mappings from the map backing this view.

Removes all of the elements from this view, by removing all
the mappings from the map backing this view.
raw docstring

containsclj

(contains this o)

Returns true if this collection contains the specified element. More formally, returns true if and only if this collection contains at least one element e such that (o==null ? e==null : o.equals(e)).

o - element whose presence in this collection is to be tested - java.lang.Object

returns: true if this collection contains the specified element - boolean

throws: java.lang.NullPointerException - if the specified key is null

Returns true if this collection contains the specified element.
 More formally, returns true if and only if this collection
 contains at least one element e such that
 (o==null ? e==null : o.equals(e)).

o - element whose presence in this collection is to be tested - `java.lang.Object`

returns: true if this collection contains the specified
         element - `boolean`

throws: java.lang.NullPointerException - if the specified key is null
raw docstring

contains-allclj

(contains-all this c)

Description copied from interface: Collection

c - collection to be checked for containment in this collection - java.util.Collection<?>

returns: true if this collection contains all of the elements in the specified collection - boolean

Description copied from interface: Collection

c - collection to be checked for containment in this collection - `java.util.Collection<?>`

returns: true if this collection contains all of the elements
         in the specified collection - `boolean`
raw docstring

empty?clj

(empty? this)

Description copied from interface: Collection

returns: true if this collection contains no elements - boolean

Description copied from interface: Collection

returns: true if this collection contains no elements - `boolean`
raw docstring

equalsclj

(equals this o)

Description copied from class: Object

o - the reference object with which to compare. - java.lang.Object

returns: true if this object is the same as the obj argument; false otherwise. - boolean

Description copied from class: Object

o - the reference object with which to compare. - `java.lang.Object`

returns: true if this object is the same as the obj
          argument; false otherwise. - `boolean`
raw docstring

for-eachclj

(for-each this action)

Description copied from interface: Iterable

action - The action to be performed for each element - ConcurrentHashMap.KeySetView.K>

Description copied from interface: Iterable

action - The action to be performed for each element - `ConcurrentHashMap.KeySetView.K>`
raw docstring

get-mapclj

(get-map this)

Returns the map backing this view.

returns: the map backing this view - java.util.concurrent.ConcurrentHashMap<K,V>

Returns the map backing this view.

returns: the map backing this view - `java.util.concurrent.ConcurrentHashMap<K,V>`
raw docstring

get-mapped-valueclj

(get-mapped-value this)

Returns the default mapped value for additions, or null if additions are not supported.

returns: the default mapped value for additions, or null if not supported - ConcurrentHashMap.KeySetView.V

Returns the default mapped value for additions,
 or null if additions are not supported.

returns: the default mapped value for additions, or null
 if not supported - `ConcurrentHashMap.KeySetView.V`
raw docstring

hash-codeclj

(hash-code this)

Description copied from class: Object

returns: a hash code value for this object. - int

Description copied from class: Object

returns: a hash code value for this object. - `int`
raw docstring

iteratorclj

(iterator this)

Returns an iterator over the elements in this collection.

The returned iterator is weakly consistent.

returns: an iterator over the keys of the backing map - java.util.Iterator<ConcurrentHashMap.KeySetView.K>

Returns an iterator over the elements in this collection.

 The returned iterator is
 weakly consistent.

returns: an iterator over the keys of the backing map - `java.util.Iterator<ConcurrentHashMap.KeySetView.K>`
raw docstring

removeclj

(remove this o)

Removes the key from this map view, by removing the key (and its corresponding value) from the backing map. This method does nothing if the key is not in the map.

o - the key to be removed from the backing map - java.lang.Object

returns: true if the backing map contained the specified key - boolean

throws: java.lang.NullPointerException - if the specified key is null

Removes the key from this map view, by removing the key (and its
 corresponding value) from the backing map.  This method does
 nothing if the key is not in the map.

o - the key to be removed from the backing map - `java.lang.Object`

returns: true if the backing map contained the specified key - `boolean`

throws: java.lang.NullPointerException - if the specified key is null
raw docstring

remove-allclj

(remove-all this c)

Description copied from interface: Collection

c - collection containing elements to be removed from this collection - java.util.Collection<?>

returns: true if this collection changed as a result of the call - boolean

Description copied from interface: Collection

c - collection containing elements to be removed from this collection - `java.util.Collection<?>`

returns: true if this collection changed as a result of the
         call - `boolean`
raw docstring

retain-allclj

(retain-all this c)

Description copied from interface: Collection

c - collection containing elements to be retained in this collection - java.util.Collection<?>

returns: true if this collection changed as a result of the call - boolean

Description copied from interface: Collection

c - collection containing elements to be retained in this collection - `java.util.Collection<?>`

returns: true if this collection changed as a result of the call - `boolean`
raw docstring

sizeclj

(size this)

Description copied from interface: Collection

returns: the number of elements in this collection - int

Description copied from interface: Collection

returns: the number of elements in this collection - `int`
raw docstring

spliteratorclj

(spliterator this)

Description copied from interface: Set

returns: a Spliterator over the elements in this set - java.util.Spliterator<ConcurrentHashMap.KeySetView.K>

Description copied from interface: Set

returns: a Spliterator over the elements in this set - `java.util.Spliterator<ConcurrentHashMap.KeySetView.K>`
raw docstring

to-arrayclj

(to-array this)
(to-array this a)

Description copied from interface: Collection

a - the array into which the elements of this collection are to be stored, if it is big enough; otherwise, a new array of the same runtime type is allocated for this purpose. - T[]

returns: an array containing all of the elements in this collection - <T> T[]

Description copied from interface: Collection

a - the array into which the elements of this collection are to be stored, if it is big enough; otherwise, a new array of the same runtime type is allocated for this purpose. - `T[]`

returns: an array containing all of the elements in this collection - `<T> T[]`
raw docstring

to-stringclj

(to-string this)

Returns a string representation of this collection. The string representation consists of the string representations of the collection's elements in the order they are returned by its iterator, enclosed in square brackets ([]). Adjacent elements are separated by the characters , (comma and space). Elements are converted to strings as by String.valueOf(Object).

returns: a string representation of this collection - java.lang.String

Returns a string representation of this collection.
 The string representation consists of the string representations
 of the collection's elements in the order they are returned by
 its iterator, enclosed in square brackets (`[]`).
 Adjacent elements are separated by the characters `, `
 (comma and space).  Elements are converted to strings as by
 String.valueOf(Object).

returns: a string representation of this collection - `java.lang.String`
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close