Top Interfaces Classes
[default module]

Package org.jruby.util.collections


Interface Summary

Modifier and TypeInterface and Description
public interface
ClassValueCalculator<
value
T
>

Calculate a value based on an incoming class.

Class Summary

Modifier and TypeClass and Description
pack-priv abstract class
AbstractEntry<
the type of keys maintained by this map
TypeK
,
the type of mapped values
TypeV
>

A simple implementation of java.util.Map.Entry.

public abstract class
ClassValue<
value
T
>

Represents a cache or other mechanism for getting the Ruby-level proxy classes for a given Java class.

pack-priv class
ConcurrentAutoTable

An auto-resizing table of longs, supporting low-contention CAS operations.

public class
ConcurrentWeakHashMap<
the type of keys maintained by this map
K
,
the type of mapped values
V
>

A hash table with weak keys, full concurrency of retrievals, and adjustable expected concurrency for updates.

pack-priv class
Counter

A simple high-performance counter.

public class
DoubleObject<
one
T
,
two
U
>

A carrier object with two fields

public class
public class
public class
pack-priv class
Java7ClassValue<T>

A proxy cache that uses Java 7's ClassValue.

public class
MapBasedClassValue<
type
T
>

A simple Map-based cache of proxies.

public class
NonBlockingHashMapLong<
the type of mapped values
TypeV
>

A lock-free alternate implementation of java.util.concurrent.ConcurrentHashMap with primitive long keys, better scaling properties and generally lower costs.

public class
SingleBoolean

A carrier object with a single boolean

public class
SingleDouble

A carrier object with a single double

public class
SingleInt

A carrier object with a single int

public class
SingleLong

A carrier object with a single long

public class
SingleObject<
type
T
>

A carrier object with a single field

public class
StringArraySet

An RubyArray that maintains an O(1) Set for fast include?

public class
WeakHashSet<
type
T
>

A simple set that uses weak references to ensure that its elements can be garbage collected.

public class
WeakValuedIdentityMap<
key
Key
,
value
Value
>

Map-like that holds its values weakly and uses object identity for keys.

public class
WeakValuedMap<
key
Key
,
value
Value
>

Map-like that holds its values weakly (backed by a concurrent hash map).