|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use AbstractDictionary | |
---|---|
jaggregate | Jaggregate is a J2SE 5.0-aware collections library that is modeled after the ANSI Smalltalk collection protocols. |
Uses of AbstractDictionary in jaggregate |
---|
Classes in jaggregate that implement AbstractDictionary | |
---|---|
class |
AbstractDictionaryImpl<K,V>
Implementation of the dictionary concept that should be common for most concrete implementations. |
class |
Dictionary<K,V>
Represents an unordered collection whose elements can be accessed using an explicitly assigned external key. |
class |
IdentityDictionary<K,V>
Represents an unordered collection whose elements can be accessed using an explicitly assigned external key. |
Methods in jaggregate that return AbstractDictionary | ||
---|---|---|
|
AbstractDictionaryImpl.collectValues(UnaryFunctor<? super V,? extends R> transformer)
Answers a new dictionary whose keys are this dictionary's keys, and whose corresponding elements are the results of evaluating the given transformer with each corresponding element of this dictionary. |
|
|
AbstractDictionary.collectValues(UnaryFunctor<? super V,? extends R> transformer)
Answers a new dictionary whose keys are this dictionary's keys, and whose corresponding elements are the results of evaluating the given transformer with each corresponding element of this dictionary. |
|
AbstractDictionary<K,V> |
AbstractDictionaryImpl.reject(UnaryCondition<? super Pair<K,V>> discriminator)
Answers a new collection which contains only the elements in this collection which cause the given discriminator to answer false .
For each element of this collection, discriminator is evaluated with the
element as the parameter. Each element which causes discriminator to
answer false is included in the new collection.
The elements are traversed in the order specified by forEachDo for this collection.
Unless specifically refined, this message is defined to answer an object
conforming to the same protocol as this collection. If both this collection
and the result maintain an ordering of their elements, the elements of the
result will be in the same relative order as the elements of this collection. |
|
AbstractDictionary<K,V> |
AbstractDictionary.reject(UnaryCondition<? super Pair<K,V>> discriminator)
Answers a new collection which contains only the elements in this collection which cause the given discriminator to answer false . |
|
AbstractDictionary<K,V> |
AbstractDictionaryImpl.rejectValues(UnaryCondition<? super V> discriminator)
Answers a new dictionary which excludes the elements in this dictionary that cause the given discriminator to answer true . |
|
AbstractDictionary<K,V> |
AbstractDictionary.rejectValues(UnaryCondition<? super V> discriminator)
Answers a new dictionary which excludes the elements in this dictionary that cause the given discriminator to answer true . |
|
AbstractDictionary<K,V> |
AbstractDictionaryImpl.select(UnaryCondition<? super Pair<K,V>> discriminator)
Answers a new collection which contains only the elements in this collection which cause the given discriminator to answer true .
For each element of this collection, discriminator is evaluated with the
element as the parameter. Each element which causes discriminator to
answer true is included in the new collection.
The elements are traversed in order specified by forEachDo for this collection.
Unless specifically refined, this message is defined to answer an object
conforming to the same protocol as this collection. If both this collection
and the result maintain an ordering of their elements, the elements of the
result will be in the same relative order as the elements of this collection. |
|
AbstractDictionary<K,V> |
AbstractDictionary.select(UnaryCondition<? super Pair<K,V>> discriminator)
Answers a new collection which contains only the elements in this collection which cause the given discriminator to answer true . |
|
AbstractDictionary<K,V> |
AbstractDictionaryImpl.selectValues(UnaryCondition<? super V> discriminator)
Answers a new dictionary which contains the elements in this dictionary whose keys cause the given discriminator to answer true . |
|
AbstractDictionary<K,V> |
AbstractDictionary.selectValues(UnaryCondition<? super V> discriminator)
Answers a new dictionary which contains the elements in this dictionary whose keys cause the given discriminator to answer true . |
Methods in jaggregate with parameters of type AbstractDictionary | ||
---|---|---|
static
|
Dictionary.dictionaryFrom(AbstractDictionary<? extends T,? extends U> associations)
Creates a dictionary that contains the given associations. |
|
static
|
IdentityDictionary.identityDictionaryFrom(AbstractDictionary<? extends T,? extends U> associations)
Creates a dictionary that contains the given associations. |
|
void |
AbstractDictionaryImpl.putAll(AbstractDictionary<? extends K,? extends V> newPairs)
Stores the elements of the given dictionary in this dictionary at the corresponding key from the given dictionary. |
|
void |
AbstractDictionary.putAll(AbstractDictionary<? extends K,? extends V> newPairs)
Stores the elements of the given dictionary in this dictionary at the corresponding key from the given dictionary. |
Constructors in jaggregate with parameters of type AbstractDictionary | |
---|---|
Dictionary(AbstractDictionary<? extends K,? extends V> associations)
Creates a dictionary that contains the given associations. |
|
IdentityDictionary(AbstractDictionary<? extends K,? extends V> associations)
Creates a dictionary that contains the given associations. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |