A C D E F G H I K L M N O P R S T V W

A

AbstractChain<T extends ModifiableLink<T>> - Class in org.semanticweb.elk.util.collections.chains
This class provides a skeletal implementation of the Chain interface to minimize the effort required to implement this interface.
AbstractChain() - Constructor for class org.semanticweb.elk.util.collections.chains.AbstractChain
 
AbstractHashMultimap<Key,Value> - Class in org.semanticweb.elk.util.collections
Implementation of Multimap backed by an ArrayHashMap
AbstractHashMultimap() - Constructor for class org.semanticweb.elk.util.collections.AbstractHashMultimap
 
AbstractHashMultimap(int) - Constructor for class org.semanticweb.elk.util.collections.AbstractHashMultimap
 
add(Key, Value) - Method in class org.semanticweb.elk.util.collections.AbstractHashMultimap
 
add(E) - Method in class org.semanticweb.elk.util.collections.ArrayHashSet
 
add(T) - Method in class org.semanticweb.elk.util.collections.ArraySet
 
add(T) - Method in class org.semanticweb.elk.util.collections.entryset.KeyEntryHashSet
 
add(Key, Value) - Method in interface org.semanticweb.elk.util.collections.Multimap
Stores the key-value pair in this multimap
addAll(Collection<? extends T>) - Method in class org.semanticweb.elk.util.collections.ArraySet
 
addAll(int, Collection<? extends T>) - Method in class org.semanticweb.elk.util.collections.ArraySet
 
addTo(Chain<T>) - Method in interface org.semanticweb.elk.util.collections.chains.Chainable
Adds this element to the given Chain
apply(I) - Method in interface org.semanticweb.elk.util.collections.Operations.Functor
 
ArrayHashMap<K,V> - Class in org.semanticweb.elk.util.collections
hash maps using array and linear probing for resolving hash collision see [1] p.526.
ArrayHashMap(int) - Constructor for class org.semanticweb.elk.util.collections.ArrayHashMap
 
ArrayHashMap() - Constructor for class org.semanticweb.elk.util.collections.ArrayHashMap
 
ArrayHashSet<E> - Class in org.semanticweb.elk.util.collections
hash sets using array and linear probing for resolving hash collision see [1] p.526.
ArrayHashSet(int) - Constructor for class org.semanticweb.elk.util.collections.ArrayHashSet
 
ArrayHashSet() - Constructor for class org.semanticweb.elk.util.collections.ArrayHashSet
 
ArraySet<T> - Class in org.semanticweb.elk.util.collections
 
ArraySet() - Constructor for class org.semanticweb.elk.util.collections.ArraySet
 
ArraySet(Collection<? extends T>) - Constructor for class org.semanticweb.elk.util.collections.ArraySet
 
ArraySet(int) - Constructor for class org.semanticweb.elk.util.collections.ArraySet
 

C

Chain<T extends ModifiableLink<T>> - Interface in org.semanticweb.elk.util.collections.chains
A linked list of elements together with helper functions to find, create if not found, and remove elements in the chain.
Chainable<T extends ModifiableLink<T>> - Interface in org.semanticweb.elk.util.collections.chains
Elements that can be inserted and removed from Chains
clear() - Method in class org.semanticweb.elk.util.collections.ArrayHashMap
 
clear() - Method in class org.semanticweb.elk.util.collections.ArrayHashSet
 
clear() - Method in class org.semanticweb.elk.util.collections.entryset.EntryHashSet
Removes all entries from this set.
clear() - Method in class org.semanticweb.elk.util.collections.entryset.KeyEntryHashSet
 
clear() - Method in interface org.semanticweb.elk.util.collections.Multimap
Removes all key-value pairs of this multimap
computeHashCode() - Method in class org.semanticweb.elk.util.collections.entryset.StrongKeyEntry
Compute the value which will be used as a final hash code for this object.
computeHashCode() - Method in class org.semanticweb.elk.util.collections.entryset.WeakKeyEntry
Compute the value which will be used as a final hash code for this object.
concat(Iterable<? extends T>, Iterable<? extends T>) - Static method in class org.semanticweb.elk.util.collections.Operations
 
concat(Iterable<? extends Iterable<? extends T>>) - Static method in class org.semanticweb.elk.util.collections.Operations
Concatenates several Iterables into one
contains(Key, Value) - Method in class org.semanticweb.elk.util.collections.AbstractHashMultimap
 
contains(Object) - Method in class org.semanticweb.elk.util.collections.ArrayHashSet
 
contains(Object) - Method in class org.semanticweb.elk.util.collections.LazyCollectionMinusSet
 
contains(Object) - Method in class org.semanticweb.elk.util.collections.LazySetIntersection
 
contains(Object) - Method in class org.semanticweb.elk.util.collections.LazySetUnion
 
contains(Key, Value) - Method in interface org.semanticweb.elk.util.collections.Multimap
Tests if the key-value pair occurs in this multimap
containsKey(Object) - Method in class org.semanticweb.elk.util.collections.ArrayHashMap
 
containsValue(Object) - Method in class org.semanticweb.elk.util.collections.ArrayHashMap
 
create(T) - Method in interface org.semanticweb.elk.util.collections.chains.ReferenceFactory
Creates a references to the given object
createEntry(T) - Method in interface org.semanticweb.elk.util.collections.entryset.KeyEntryFactory
Creates the key entry of the given type for the given key.

D

deapply(Object) - Method in interface org.semanticweb.elk.util.collections.Operations.FunctorEx
The reason this method takes Objects rather than instances of O is because it's primarily used for an efficient implementation of Set.contains(Object), which takes an Object
dumpDiff(Multimap<K, V>, Multimap<K, V>, Writer, String) - Static method in class org.semanticweb.elk.util.collections.Operations
Prints key-value entries present in the first Multimap but not in the second Multimap using the given Writer and prefixing all messages with a given prefix.
dumpDiff(Collection<T>, Collection<T>, Writer, String) - Static method in class org.semanticweb.elk.util.collections.Operations
Prints the elements present in the first Collection but not in the second Collection using the given Writer and prefixing all messages with a given prefix.

E

EMPTY_MULTIMAP - Static variable in class org.semanticweb.elk.util.collections.Operations
 
emptyMultimap() - Static method in class org.semanticweb.elk.util.collections.Operations
 
EntryHashSet<E extends org.semanticweb.elk.util.collections.entryset.Entry<E>> - Class in org.semanticweb.elk.util.collections.entryset
A duplicate-free collection of entries E#equals(Object).
EntryHashSet(int, float, float) - Constructor for class org.semanticweb.elk.util.collections.entryset.EntryHashSet
Constructs an empty EntryHashSet with the specified initial capacity, under-load factor, and over-load factor.
EntryHashSet(int) - Constructor for class org.semanticweb.elk.util.collections.entryset.EntryHashSet
Constructs an empty EntryHashSet with the specified initial capacity, the default under-load factor (0.15), and the default over-load factor (0.75).
EntryHashSet() - Constructor for class org.semanticweb.elk.util.collections.entryset.EntryHashSet
Constructs an empty EntryHashSet with the default initial capacity (16), the default under-load factor (0.15), and the default over-load factor (0.75).
entryHashSet - Variable in class org.semanticweb.elk.util.collections.entryset.KeyEntryHashSet
The underlying entry collection used to back this collection
entrySet() - Method in class org.semanticweb.elk.util.collections.ArrayHashMap
 
equals(Object) - Method in class org.semanticweb.elk.util.collections.entryset.StrongKeyEntry
 
equals(Object) - Method in class org.semanticweb.elk.util.collections.entryset.WeakKeyEntry
 
equals(Object) - Method in class org.semanticweb.elk.util.collections.Pair
 
equals(Object) - Method in class org.semanticweb.elk.util.collections.Triple
 

F

filter(Iterable<T>, Operations.Condition<? super T>) - Static method in class org.semanticweb.elk.util.collections.Operations
 
filter(Iterable<S>, Class<T>) - Static method in class org.semanticweb.elk.util.collections.Operations
 
filter(Set<T>, Operations.Condition<? super T>, int) - Static method in class org.semanticweb.elk.util.collections.Operations
Returns read-only view of the given set consisting of the elements satisfying a given condition, if the number of such elements is known
find(Matcher<T, S>) - Method in class org.semanticweb.elk.util.collections.chains.AbstractChain
 
find(Matcher<T, S>) - Method in interface org.semanticweb.elk.util.collections.chains.Chain
Finds the first element in the chain that satisfies the provided Matcher.
first - Variable in class org.semanticweb.elk.util.collections.Pair
 
first - Variable in class org.semanticweb.elk.util.collections.Triple
 

G

get(Object) - Method in class org.semanticweb.elk.util.collections.AbstractHashMultimap
 
get(Object) - Method in class org.semanticweb.elk.util.collections.ArrayHashMap
 
get(T) - Method in class org.semanticweb.elk.util.collections.entryset.KeyEntryHashSet
Retrieves the element in the set that is equal to the given object, if it exists, or returns null otherwise.
get(Key) - Method in interface org.semanticweb.elk.util.collections.Multimap
Returns the collection of values associated with the given key in this multimap
getCollection(Iterable<T>, int) - Static method in class org.semanticweb.elk.util.collections.Operations
 
getCreate(Matcher<T, S>, ReferenceFactory<T, S>) - Method in class org.semanticweb.elk.util.collections.chains.AbstractChain
 
getCreate(Matcher<T, S>, ReferenceFactory<T, S>) - Method in interface org.semanticweb.elk.util.collections.chains.Chain
Finds an element in the chain satisfies the provided Matcher, or if no such element is found, creates a new element using the provided ReferenceFactory and inserts it into the chain.
getFirst() - Method in class org.semanticweb.elk.util.collections.Pair
 
getFirst() - Method in class org.semanticweb.elk.util.collections.Triple
 
getKey() - Method in interface org.semanticweb.elk.util.collections.entryset.KeyEntry
 
getKey() - Method in class org.semanticweb.elk.util.collections.entryset.StrongKeyEntry
 
getKey() - Method in class org.semanticweb.elk.util.collections.entryset.WeakKeyEntry
 
getMapBackedChain(Map<K, T>, K) - Static method in class org.semanticweb.elk.util.collections.chains.AbstractChain
Creates a Chain view of the value associated with the given key in the given Map.
getNext() - Method in class org.semanticweb.elk.util.collections.entryset.StrongKeyEntry
 
getNext() - Method in class org.semanticweb.elk.util.collections.entryset.WeakKeyEntry
 
getOld(Object) - Method in class org.semanticweb.elk.util.collections.AbstractHashMultimap
 
getRawData() - Method in class org.semanticweb.elk.util.collections.ArrayHashSet
 
getSecond() - Method in class org.semanticweb.elk.util.collections.Pair
 
getSecond() - Method in class org.semanticweb.elk.util.collections.Triple
 
getThird() - Method in class org.semanticweb.elk.util.collections.Triple
 

H

hash - Variable in class org.semanticweb.elk.util.collections.entryset.StrongKeyEntry
The value used as a hash code of this entry
hash - Variable in class org.semanticweb.elk.util.collections.entryset.WeakKeyEntry
The value used as a hash code of this record
hashCode() - Method in class org.semanticweb.elk.util.collections.entryset.StrongKeyEntry
 
hashCode() - Method in class org.semanticweb.elk.util.collections.entryset.WeakKeyEntry
 
hashCode() - Method in class org.semanticweb.elk.util.collections.Pair
 
hashCode() - Method in class org.semanticweb.elk.util.collections.Triple
 
HashListMultimap<Key,Value> - Class in org.semanticweb.elk.util.collections
Implementation of Multimap backed by an ArrayHashMap
HashListMultimap() - Constructor for class org.semanticweb.elk.util.collections.HashListMultimap
 
HashListMultimap(int) - Constructor for class org.semanticweb.elk.util.collections.HashListMultimap
 
HashSetMultimap<Key,Value> - Class in org.semanticweb.elk.util.collections
Implementation of Multimap backed by an ArrayHashMap
HashSetMultimap() - Constructor for class org.semanticweb.elk.util.collections.HashSetMultimap
 
HashSetMultimap(int) - Constructor for class org.semanticweb.elk.util.collections.HashSetMultimap
 
holds(T) - Method in interface org.semanticweb.elk.util.collections.Operations.Condition
Checks if the condition holds for an element

I

isEmpty() - Method in class org.semanticweb.elk.util.collections.ArrayHashMap
 
isEmpty() - Method in class org.semanticweb.elk.util.collections.ArrayHashSet
 
isEmpty() - Method in class org.semanticweb.elk.util.collections.LazyCollectionMinusSet
 
isEmpty() - Method in class org.semanticweb.elk.util.collections.LazySetIntersection
 
isEmpty() - Method in class org.semanticweb.elk.util.collections.LazySetUnion
 
isEmpty() - Method in interface org.semanticweb.elk.util.collections.Multimap
Checks if this multimap is empty
iterator() - Method in class org.semanticweb.elk.util.collections.ArrayHashSet
 
iterator() - Method in class org.semanticweb.elk.util.collections.entryset.EntryHashSet
 
iterator() - Method in class org.semanticweb.elk.util.collections.entryset.KeyEntryHashSet
 
iterator() - Method in class org.semanticweb.elk.util.collections.LazyCollectionMinusSet
 
iterator() - Method in class org.semanticweb.elk.util.collections.LazySetIntersection
 
iterator() - Method in class org.semanticweb.elk.util.collections.LazySetUnion
 

K

key - Variable in class org.semanticweb.elk.util.collections.entryset.StrongKeyEntry
 
KeyEntry<T,K> - Interface in org.semanticweb.elk.util.collections.entryset
An interface for entries with key values.
KeyEntryFactory<T> - Interface in org.semanticweb.elk.util.collections.entryset
An interface for creating key entries from the key values.
keyEntryFactory - Variable in class org.semanticweb.elk.util.collections.entryset.KeyEntryHashSet
The factory used for wrapping keys into entries
KeyEntryHashSet<T> - Class in org.semanticweb.elk.util.collections.entryset
A collection containing elements modulo equality.
KeyEntryHashSet(KeyEntryFactory<T>, int) - Constructor for class org.semanticweb.elk.util.collections.entryset.KeyEntryHashSet
Create an empty set associated with a given factory for creating KeyEntry wrapper objects and with the given initial capacity.
KeyEntryHashSet(KeyEntryFactory<T>) - Constructor for class org.semanticweb.elk.util.collections.entryset.KeyEntryHashSet
Create an empty set associated with a given factory for creating KeyEntry wrapper objects.
keys - Variable in class org.semanticweb.elk.util.collections.ArrayHashMap
The table for the keys; the length MUST always be a power of two.
keySet() - Method in class org.semanticweb.elk.util.collections.ArrayHashMap
 
keySet() - Method in interface org.semanticweb.elk.util.collections.Multimap
 

L

LazyCollectionMinusSet<I> - Class in org.semanticweb.elk.util.collections
 
LazyCollectionMinusSet(Collection<I>, Set<I>) - Constructor for class org.semanticweb.elk.util.collections.LazyCollectionMinusSet
 
LazySetIntersection<E> - Class in org.semanticweb.elk.util.collections
Represents a Set view for common elements of two sets.
LazySetIntersection(Set<E>, Set<E>) - Constructor for class org.semanticweb.elk.util.collections.LazySetIntersection
Returns a new Set view for intersection of two input sets.
LazySetUnion<E> - Class in org.semanticweb.elk.util.collections
Represents a Set view for the union of elements of two sets.
LazySetUnion(Set<? extends E>, Set<? extends E>) - Constructor for class org.semanticweb.elk.util.collections.LazySetUnion
Returns a new Set view for union of two input sets.
Link<T> - Interface in org.semanticweb.elk.util.collections.chains
An object holding a (possibly null) reference to other object.

M

map(Iterable<I>, Operations.Transformation<? super I, O>) - Static method in class org.semanticweb.elk.util.collections.Operations
Transforms elements using a given Operations.Transformation the output elements consist of the result of the transformation in the same order; if the transformation returns null, it is not included in the output
map(Set<? extends I>, Operations.FunctorEx<I, O>) - Static method in class org.semanticweb.elk.util.collections.Operations
A simple second-order map function
match(I) - Method in interface org.semanticweb.elk.util.collections.chains.Matcher
Tests whether the given element satisfies the matching conditions.
match(T) - Method in class org.semanticweb.elk.util.collections.chains.SimpleTypeBasedMatcher
 
Matcher<I,O> - Interface in org.semanticweb.elk.util.collections.chains
A class of matching an object of one type against elements of another type.
merge(T) - Method in class org.semanticweb.elk.util.collections.entryset.KeyEntryHashSet
Get the element in set that is equal to the input entry if there is one, or otherwise insert the given entry into the set and return itself.
ModifiableLink<T> - Interface in org.semanticweb.elk.util.collections.chains
 
ModifiableLinkImpl<T> - Class in org.semanticweb.elk.util.collections.chains
A simple implementation of the Link and ModifiableLink interfaces.
ModifiableLinkImpl() - Constructor for class org.semanticweb.elk.util.collections.chains.ModifiableLinkImpl
 
ModifiableLinkImpl(T) - Constructor for class org.semanticweb.elk.util.collections.chains.ModifiableLinkImpl
 
Multimap<Key,Value> - Interface in org.semanticweb.elk.util.collections
Multimap from Keys to Collection of Values

N

newRecord() - Method in class org.semanticweb.elk.util.collections.AbstractHashMultimap
 
newRecord() - Method in class org.semanticweb.elk.util.collections.HashListMultimap
 
newRecord() - Method in class org.semanticweb.elk.util.collections.HashSetMultimap
 
next() - Method in interface org.semanticweb.elk.util.collections.chains.Link
 
next() - Method in interface org.semanticweb.elk.util.collections.chains.ModifiableLink
 
next() - Method in class org.semanticweb.elk.util.collections.chains.ModifiableLinkImpl
 
next - Variable in class org.semanticweb.elk.util.collections.entryset.WeakKeyEntry
The reference to the next element

O

Operations - Class in org.semanticweb.elk.util.collections
Some useful static methods for collections
Operations() - Constructor for class org.semanticweb.elk.util.collections.Operations
 
Operations.Condition<T> - Interface in org.semanticweb.elk.util.collections
Boolean conditions over some type.
Operations.Functor<I,O> - Interface in org.semanticweb.elk.util.collections
A simple object that transforms objects of type I to objects of type O
Operations.FunctorEx<I,O> - Interface in org.semanticweb.elk.util.collections
An extension of Operations.Functor which can do the reverse transformation
Operations.Transformation<I,O> - Interface in org.semanticweb.elk.util.collections
Transformations of input values to output values
org.semanticweb.elk.util.collections - package org.semanticweb.elk.util.collections
 
org.semanticweb.elk.util.collections.chains - package org.semanticweb.elk.util.collections.chains
 
org.semanticweb.elk.util.collections.entryset - package org.semanticweb.elk.util.collections.entryset
 

P

Pair<First,Second> - Class in org.semanticweb.elk.util.collections
 
Pair(First, Second) - Constructor for class org.semanticweb.elk.util.collections.Pair
 
put(K, V) - Method in class org.semanticweb.elk.util.collections.ArrayHashMap
 

R

ReferenceFactory<T,O extends ModifiableLink<T>> - Interface in org.semanticweb.elk.util.collections.chains
A factoring for creating references
remove(Object, Object) - Method in class org.semanticweb.elk.util.collections.AbstractHashMultimap
 
remove(Object) - Method in class org.semanticweb.elk.util.collections.ArrayHashMap
 
remove(Object) - Method in class org.semanticweb.elk.util.collections.ArrayHashSet
 
remove(Matcher<T, S>) - Method in class org.semanticweb.elk.util.collections.chains.AbstractChain
 
remove(Matcher<T, S>) - Method in interface org.semanticweb.elk.util.collections.chains.Chain
Removes the first element in the chain that satisfies the provided Matcher.
remove(Object) - Method in class org.semanticweb.elk.util.collections.entryset.KeyEntryHashSet
 
remove(Object) - Method in class org.semanticweb.elk.util.collections.LazyCollectionMinusSet
 
remove(Object) - Method in class org.semanticweb.elk.util.collections.LazySetIntersection
 
remove(Object) - Method in class org.semanticweb.elk.util.collections.LazySetUnion
 
remove(Object, Object) - Method in interface org.semanticweb.elk.util.collections.Multimap
Removes the key-value pair from this multimap
removeAll(Collection<?>) - Method in class org.semanticweb.elk.util.collections.ArrayHashSet
 
removeEntry(T) - Method in class org.semanticweb.elk.util.collections.entryset.KeyEntryHashSet
Removes and returns the element in the set that is equal to the input element.
removeFrom(Chain<T>) - Method in interface org.semanticweb.elk.util.collections.chains.Chainable
Removes this element from the given Chain

S

second - Variable in class org.semanticweb.elk.util.collections.Pair
 
second - Variable in class org.semanticweb.elk.util.collections.Triple
 
setNext(T) - Method in interface org.semanticweb.elk.util.collections.chains.ModifiableLink
Setting the link to the given object.
setNext(T) - Method in class org.semanticweb.elk.util.collections.chains.ModifiableLinkImpl
 
setNext(KeyEntry<T, ? extends T>) - Method in class org.semanticweb.elk.util.collections.entryset.StrongKeyEntry
 
setNext(KeyEntry<T, ? extends T>) - Method in class org.semanticweb.elk.util.collections.entryset.WeakKeyEntry
 
SimpleTypeBasedMatcher<T,O> - Class in org.semanticweb.elk.util.collections.chains
 
SimpleTypeBasedMatcher(Class<O>) - Constructor for class org.semanticweb.elk.util.collections.chains.SimpleTypeBasedMatcher
 
singleton(T) - Static method in class org.semanticweb.elk.util.collections.Operations
 
size - Variable in class org.semanticweb.elk.util.collections.ArrayHashMap
The number of key-value entries contained in this map.
size() - Method in class org.semanticweb.elk.util.collections.ArrayHashMap
 
size() - Method in class org.semanticweb.elk.util.collections.ArrayHashSet
 
size() - Method in class org.semanticweb.elk.util.collections.entryset.EntryHashSet
Returns the number of entries in this set.
size() - Method in class org.semanticweb.elk.util.collections.entryset.KeyEntryHashSet
 
size() - Method in class org.semanticweb.elk.util.collections.LazyCollectionMinusSet
 
size() - Method in class org.semanticweb.elk.util.collections.LazySetIntersection
 
size() - Method in class org.semanticweb.elk.util.collections.LazySetUnion
 
split(Iterable<? extends T>, int) - Static method in class org.semanticweb.elk.util.collections.Operations
Splits the input Iterable on batches with at most given number of elements.
split(Collection<? extends T>, int) - Static method in class org.semanticweb.elk.util.collections.Operations
Splits the input Collection on batches with at most given number of elements.
StrongKeyEntry<T,K> - Class in org.semanticweb.elk.util.collections.entryset
A prototype class for entries with keys.
StrongKeyEntry(K) - Constructor for class org.semanticweb.elk.util.collections.entryset.StrongKeyEntry
 

T

third - Variable in class org.semanticweb.elk.util.collections.Triple
 
toString() - Method in class org.semanticweb.elk.util.collections.ArrayHashSet
 
transform(I) - Method in interface org.semanticweb.elk.util.collections.Operations.Transformation
Transforms the input element
Triple<First,Second,Third> - Class in org.semanticweb.elk.util.collections
 
Triple(First, Second, Third) - Constructor for class org.semanticweb.elk.util.collections.Triple
 

V

values - Variable in class org.semanticweb.elk.util.collections.ArrayHashMap
The table for the values; the length MUST be equal to the length of keys and MUST always be a power of two.
values() - Method in class org.semanticweb.elk.util.collections.ArrayHashMap
 

W

WeakKeyEntry<K,T> - Class in org.semanticweb.elk.util.collections.entryset
A prototype class for entries with weak keys, which can be collected by the garbage collector.
WeakKeyEntry(K) - Constructor for class org.semanticweb.elk.util.collections.entryset.WeakKeyEntry
Create a weak record for the key

A C D E F G H I K L M N O P R S T V W

Copyright © 2011-2013 Department of Computer Science, University of Oxford. All Rights Reserved.