Javolution 6.0.0 java
javolution.util.FastSet< E > Class Template Reference
Inheritance diagram for javolution.util.FastSet< E >:
[legend]
Collaboration diagram for javolution.util.FastSet< E >:
[legend]

Public Member Functions

 FastSet ()
 
 FastSet (Equality<? super E > comparator)
 
FastSet< E > atomic ()
 
FastSet< E > filtered (final Predicate<? super E > filter)
 
FastSet< E > shared ()
 
FastSet< E > unmodifiable ()
 
boolean isEmpty ()
 
int size ()
 
void clear ()
 
boolean contains (Object obj)
 
boolean remove (Object obj)
 
FastSet< E > addAll (E... elements)
 
FastSet< E > addAll (FastCollection<? extends E > that)
 
FastCollection< E > parallel ()
 
FastCollection< E > sequential ()
 
FastCollection< E > sorted ()
 
FastCollection< E > sorted (Comparator<? super E > cmp)
 
FastCollection< E > reversed ()
 
FastCollection< E > distinct ()
 
void perform (Consumer<? extends Collection< E >> action)
 
void update (Consumer<? extends Collection< E >> action)
 
void forEach (final Consumer<? super E > consumer)
 
boolean removeIf (final Predicate<? super E > filter)
 
reduce (Reducer< E > reducer)
 
boolean add (E element)
 
Iterator< E > iterator ()
 
boolean addAll (final Collection<? extends E > that)
 
boolean containsAll (Collection<?> that)
 
boolean removeAll (final Collection<?> that)
 
boolean retainAll (final Collection<?> that)
 
Object[] toArray ()
 
min ()
 
max ()
 
Equality<? super E > comparator ()
 
boolean equals (Object obj)
 
int hashCode ()
 
String toString ()
 

Protected Member Functions

 FastSet (SetService< E > service)
 
SetService< E > service ()
 

Static Protected Member Functions

static< E > CollectionService< E > serviceOf (FastCollection< E > collection)
 

Package Functions

public< R > FastCollection< R > mapped (Function<? super E, ? extends R > function)
 
public< T > T[] toArray (final T[] array)
 
public< T extends E > T any (Class< T > type)
 
public< T extends Collection< E > > Immutable< T > toImmutable ()
 

Private Attributes

final SetService< E > service
 

Static Private Attributes

static final long serialVersionUID = 0x600L
 

Detailed Description

A high-performance hash set with real-time behavior.

The iteration order over the set elements is deterministic (unlike java.util.HashSet).It is either the insertion order (default) or the key order for the FastSortedSet subclass. This class permits

null

elements.

Author
Jean-Marie Dautelle
Version
6.0, July 21, 2013

Definition at line 37 of file FastSet.java.

Constructor & Destructor Documentation

◆ FastSet() [1/3]

Creates an empty set backed up by a FastMap and having
the same real-time characteristics.

Definition at line 50 of file FastSet.java.

50  {
51  this(Equalities.STANDARD);
52  }

◆ FastSet() [2/3]

javolution.util.FastSet< E >.FastSet ( Equality<? super E >  comparator)

Creates an empty set backed up by a FastMap and using the specified comparator for key equality.

Definition at line 58 of file FastSet.java.

58  {
59  service = new FastMapImpl<E, Void>(comparator, Equalities.IDENTITY)
60  .keySet();
61  }

◆ FastSet() [3/3]

javolution.util.FastSet< E >.FastSet ( SetService< E >  service)
protected

Creates a fast set backed up by the specified service implementation.

Definition at line 66 of file FastSet.java.

66  {
67  this.service = service;
68  }

Member Function Documentation

◆ add()

◆ addAll() [1/3]

FastSet<E> javolution.util.FastSet< E >.addAll ( E...  elements)

Returns this collection with the specified element added.

Parameters
elementsthe elements to be added.
Returns
this

Reimplemented from javolution.util.FastCollection< E >.

Reimplemented in javolution.util.FastSortedSet< E >.

Definition at line 133 of file FastSet.java.

133  {
134  return (FastSet<E>) super.addAll(elements);
135  }

◆ addAll() [2/3]

FastSet<E> javolution.util.FastSet< E >.addAll ( FastCollection<? extends E >  that)

Returns this collection with the specified collection's elements added in sequence.

Reimplemented from javolution.util.FastCollection< E >.

Reimplemented in javolution.util.FastSortedSet< E >.

Definition at line 138 of file FastSet.java.

138  {
139  return (FastSet<E>) super.addAll(that);
140  }

◆ addAll() [3/3]

boolean javolution.util.FastCollection< E >.addAll ( final Collection<? extends E >  that)
inherited

Adds all the specified elements to this collection.

Reimplemented in javolution.util.internal.collection.SharedCollectionImpl< E >, javolution.util.internal.collection.AtomicCollectionImpl< E >, and javolution.util.internal.collection.CollectionView< E >.

Definition at line 462 of file FastCollection.java.

462  {
463  return service().addAll(that);
464  }

◆ any()

public<T extends E> T javolution.util.FastCollection< E >.any ( Class< T >  type)
packageinherited

Returns any non-null element of the specified type (convenience method).

Parameters
typethe element type searched for.
Returns
reduce(Reducers.any(type))
See also
Reducers::any

Definition at line 515 of file FastCollection.java.

515  {
516  return (T) reduce((Reducer<E>) Reducers.any(type));
517  }

References javolution.util.function.Reducers.any().

Here is the call graph for this function:

◆ atomic()

FastSet<E> javolution.util.FastSet< E >.atomic ( )

Returns an atomic view over this collection. All operations that write or access multiple elements in the collection (such as addAll(), retainAll()) are atomic. Iterators on atomic collections are thread-safe (no ConcurrentModificationException possible).

Reimplemented from javolution.util.FastCollection< E >.

Reimplemented in javolution.util.FastSortedSet< E >.

Definition at line 75 of file FastSet.java.

75  {
76  return new FastSet<E>(new AtomicSetImpl<E>(service()));
77  }

◆ clear()

void javolution.util.FastSet< E >.clear ( )

Removes all elements from this collection.

Reimplemented from javolution.util.FastCollection< E >.

Definition at line 112 of file FastSet.java.

112  {
113  service.clear();
114  }

◆ comparator()

Equality<? super E> javolution.util.FastCollection< E >.comparator ( )
inherited

Returns the comparator uses by this collection for equality and/or ordering if this collection is sorted.

Reimplemented in javolution.util.internal.collection.SharedCollectionImpl< E >, javolution.util.internal.bitset.BitSetServiceImpl, javolution.util.internal.table.FastTableImpl< E >, javolution.util.internal.table.SubTableImpl< E >, javolution.util.internal.collection.AtomicCollectionImpl< E >, javolution.util.internal.collection.SortedCollectionImpl< E >, javolution.util.internal.set.sorted.SubSortedSetImpl< E >, javolution.util.internal.collection.CollectionView< E >, javolution.util.internal.collection.FilteredCollectionImpl< E >, javolution.util.internal.table.UnmodifiableTableImpl< E >, javolution.util.internal.collection.DistinctCollectionImpl< E >, javolution.util.internal.map.MapView< K, V >.EntrySet, javolution.util.internal.table.ReversedTableImpl< E >, javolution.util.internal.collection.ReversedCollectionImpl< E >, javolution.util.internal.collection.UnmodifiableCollectionImpl< E >, javolution.util.internal.collection.ParallelCollectionImpl< E >, and javolution.util.internal.collection.SequentialCollectionImpl< E >.

Definition at line 574 of file FastCollection.java.

574  {
575  return service().comparator();
576  }

Referenced by javolution.util.FastSet< Index >.FastSet(), javolution.util.FastSortedSet< E >.FastSortedSet(), javolution.util.FastSortedTable< E >.FastSortedTable(), and javolution.util.FastTable< javolution.xml.internal.stream.XMLStreamReaderImpl >.FastTable().

Here is the caller graph for this function:

◆ contains()

boolean javolution.util.FastSet< E >.contains ( Object  searched)

Indicates if this collection contains the specified element.

Reimplemented from javolution.util.FastCollection< E >.

Reimplemented in javolution.util.FastSortedSet< E >.

Definition at line 118 of file FastSet.java.

118  {
119  return service.contains(obj);
120  }

◆ containsAll()

boolean javolution.util.FastCollection< E >.containsAll ( Collection<?>  that)
inherited

Indicates if this collection contains all the specified elements.

Reimplemented in javolution.util.internal.collection.SharedCollectionImpl< E >, javolution.util.internal.collection.AtomicCollectionImpl< E >, and javolution.util.internal.collection.CollectionView< E >.

Definition at line 469 of file FastCollection.java.

469  {
470  return service().containsAll(that);
471  }

◆ distinct()

FastCollection<E> javolution.util.FastCollection< E >.distinct ( )
inherited

Returns a view exposing only distinct elements (it does not iterate twice over the same elements). Adding elements already in the collection through this view has no effect. If this collection is initially empty, using a distinct view to add new elements ensures that this collection has no duplicate.

Definition at line 293 of file FastCollection.java.

293  {
294  return new DistinctCollectionImpl<E>(service());
295  }

◆ equals()

boolean javolution.util.FastCollection< E >.equals ( Object  obj)
inherited

Compares the specified object with this collection for equality. This method follows the Collection#equals(Object) specification if this collection comparator is Equalities#STANDARD (default). Otherwise, only collections using the same comparator can be considered equals.

Parameters
objthe object to be compared for equality with this collection
Returns
true if both collections are considered equals; false otherwise.

Reimplemented in javolution.util.internal.collection.SharedCollectionImpl< E >, javolution.util.internal.collection.AtomicCollectionImpl< E >, and javolution.util.internal.collection.CollectionView< E >.

Definition at line 611 of file FastCollection.java.

611  {
612  return service().equals(obj);
613  }

◆ filtered()

FastSet<E> javolution.util.FastSet< E >.filtered ( final Predicate<? super E >  filter)

Returns a view exposing only the elements matching the specified filter. Adding elements not matching the specified filter has no effect. If this collection is initially empty, using a filtered view to add new elements ensure that this collection has only elements satisfying the filter predicate.

Reimplemented from javolution.util.FastCollection< E >.

Definition at line 80 of file FastSet.java.

80  {
81  return new FastSet<E>(new FilteredSetImpl<E>(service(), filter));
82  }

◆ forEach()

void javolution.util.FastCollection< E >.forEach ( final Consumer<? super E >  consumer)
inherited

Iterates over all this collection elements applying the specified consumer (convenience method). Iterations are performed concurrently if the collection is parallel.

Parameters
consumerthe functional consumer applied to the collection elements.

Definition at line 346 of file FastCollection.java.

346  {
347  perform(new Consumer<Collection<E>>() {
348  public void accept(Collection<E> view) {
349  Iterator<E> it = view.iterator();
350  while (it.hasNext()) {
351  consumer.accept(it.next());
352  }
353  }
354  });
355  }

References javolution.util.function.Consumer< T >.accept().

Here is the call graph for this function:

◆ hashCode()

int javolution.util.FastCollection< E >.hashCode ( )
inherited

Returns the hash code of this collection. This method follows the Collection#hashCode() specification if this collection comparator is Equalities#STANDARD.

Returns
this collection hash code.

Reimplemented in javolution.util.internal.collection.SharedCollectionImpl< E >, javolution.util.internal.collection.CollectionView< E >, and javolution.util.internal.collection.AtomicCollectionImpl< E >.

Definition at line 625 of file FastCollection.java.

625  {
626  return service().hashCode();
627  }

◆ isEmpty()

boolean javolution.util.FastSet< E >.isEmpty ( )

Indicates if this collection is empty.

Reimplemented from javolution.util.FastCollection< E >.

Definition at line 100 of file FastSet.java.

100  {
101  return size() == 0;
102  }

◆ iterator()

Iterator<E> javolution.util.FastCollection< E >.iterator ( )
inherited

Returns an iterator over this collection elements. For shared/atomic collections the iterator is immune to concurrent modifications. In other words the elements iterated over may or may not reflect the current state of the collection.

Reimplemented in javolution.util.internal.bitset.BitSetServiceImpl, javolution.util.internal.collection.SharedCollectionImpl< E >, javolution.util.internal.collection.CollectionView< E >, javolution.util.internal.table.FastTableImpl< E >, javolution.util.internal.table.SharedTableImpl< E >, javolution.util.internal.collection.AtomicCollectionImpl< E >, javolution.util.internal.set.sorted.SubSortedSetImpl< E >, javolution.util.internal.table.TableView< E >, javolution.util.internal.collection.SortedCollectionImpl< E >, javolution.util.internal.map.MapView< K, V >.EntrySet, javolution.util.internal.collection.DistinctCollectionImpl< E >, javolution.util.internal.collection.FilteredCollectionImpl< E >, javolution.util.internal.table.AtomicTableImpl< E >, javolution.util.internal.collection.ReversedCollectionImpl< E >, javolution.util.internal.collection.UnmodifiableCollectionImpl< E >, javolution.util.internal.collection.ParallelCollectionImpl< E >, and javolution.util.internal.collection.SequentialCollectionImpl< E >.

Definition at line 455 of file FastCollection.java.

455  {
456  return service().iterator();
457  }

Referenced by javolution.xml.internal.stream.NamespacesImpl.getPrefixes().

Here is the caller graph for this function:

◆ mapped()

public<R> FastCollection<R> javolution.util.FastCollection< E >.mapped ( Function<? super E, ? extends R >  function)
packageinherited

Returns a view exposing elements through the specified mapping function. The returned view does not allow new elements to be added.

Definition at line 258 of file FastCollection.java.

259  {
260  return new MappedCollectionImpl<E, R>(service(), function);
261  }

Referenced by javolution.xml.internal.stream.EntitiesImpl.setEntitiesMapping().

Here is the caller graph for this function:

◆ max()

E javolution.util.FastCollection< E >.max ( )
inherited

Returns the largest element of this collection using this collection comparator (convenience method). Returns

null

if this collection is empty.

Returns
reduce(Reducers.max(comparator()))
See also
Reducers::max

Definition at line 541 of file FastCollection.java.

541  {
542  return reduce(Reducers.max(comparator()));
543  }

References javolution.util.function.Reducers.max().

Here is the call graph for this function:

◆ min()

E javolution.util.FastCollection< E >.min ( )
inherited

Returns the smallest element of this collection using this collection comparator (convenience method). Returns

null

if this collection is empty.

Returns
reduce(Reducers.min(comparator()))
See also
Reducers::min

Definition at line 528 of file FastCollection.java.

528  {
529  return reduce(Reducers.min(comparator()));
530  }

References javolution.util.function.Reducers.min().

Here is the call graph for this function:

◆ parallel()

FastCollection<E> javolution.util.FastCollection< E >.parallel ( )
inherited

Returns a parallel collection. Parallel collections affect only closure-based operations, all others operations behaving the same. Parallel actions are performed concurrently using Javolution ConcurrentContext. The number of parallel views is derived from the context concurrency (

number of parallel views = concurrency + 1

). Parallel views do not require this collection to be thread-safe (internal synchronization).

See also
#perform(Consumer)
#update(Consumer)
#forEach(Consumer)
#removeIf(Predicate)
#reduce(Reducer)

Definition at line 222 of file FastCollection.java.

222  {
223  return new ParallelCollectionImpl<E>(service());
224  }

◆ perform()

void javolution.util.FastCollection< E >.perform ( Consumer<? extends Collection< E >>  action)
inherited

Executes the specified read-only action on this collection. That logic may be performed concurrently on sub-collections if this collection is parallel.

Parameters
actionthe read-only action.
Exceptions
UnsupportedOperationExceptionif the action tries to update this collection and this collection is thread-safe.
ClassCastExceptionif the action type is not compatible with this collection (e.g. action on set and this is a list).
See also
#update(Consumer)

Definition at line 315 of file FastCollection.java.

315  {
316  service().perform((Consumer<CollectionService<E>>) action, service());
317  }

◆ reduce()

E javolution.util.FastCollection< E >.reduce ( Reducer< E >  reducer)
inherited

Performs a reduction of the elements of this collection using the specified reducer. This may not involve iterating over all the collection elements, for example the reducers: Reducers#any, Reducers#and and Reducers#or may stop iterating early. Reduction is performed concurrently if this collection is parallel.

Parameters
reducerthe collection reducer.
Returns
the reduction result.

Definition at line 396 of file FastCollection.java.

396  {
397  perform(reducer);
398  return reducer.get();
399  }

◆ remove()

boolean javolution.util.FastSet< E >.remove ( Object  searched)

Removes the specified element from this collection.

Reimplemented from javolution.util.FastCollection< E >.

Reimplemented in javolution.util.FastSortedSet< E >.

Definition at line 124 of file FastSet.java.

124  {
125  return service.remove(obj);
126  }

◆ removeAll()

boolean javolution.util.FastCollection< E >.removeAll ( final Collection<?>  that)
inherited

Removes all the specified element from this collection.

Reimplemented in javolution.util.internal.collection.SharedCollectionImpl< E >, javolution.util.internal.collection.CollectionView< E >, and javolution.util.internal.collection.AtomicCollectionImpl< E >.

Definition at line 476 of file FastCollection.java.

476  {
477  return service().removeAll(that);
478  }

◆ removeIf()

boolean javolution.util.FastCollection< E >.removeIf ( final Predicate<? super E >  filter)
inherited

Removes from this collection all the elements matching the specified functional predicate (convenience method). Removals are performed concurrently if this collection is parallel and atomically if this collection is atomic.

Parameters
filtera predicate returning
true
for elements to be removed.
Returns
true
if at least one element has been removed;
false
otherwise.

Definition at line 368 of file FastCollection.java.

368  {
369  final boolean[] removed = new boolean[1];
370  update(new Consumer<Collection<E>>() {
371  public void accept(Collection<E> view) {
372  Iterator<E> it = view.iterator();
373  while (it.hasNext()) {
374  if (filter.test(it.next())) {
375  it.remove(); // Ok mutable iteration.
376  removed[0] = true;
377  }
378  }
379  }
380  });
381  return removed[0];
382  }

◆ retainAll()

boolean javolution.util.FastCollection< E >.retainAll ( final Collection<?>  that)
inherited

Removes all the elements except those in the specified collection.

Reimplemented in javolution.util.internal.collection.SharedCollectionImpl< E >, javolution.util.internal.collection.CollectionView< E >, and javolution.util.internal.collection.AtomicCollectionImpl< E >.

Definition at line 483 of file FastCollection.java.

483  {
484  return service().retainAll(that);
485  }

◆ reversed()

FastCollection<E> javolution.util.FastCollection< E >.reversed ( )
inherited

Returns a view exposing elements in reverse iterative order.

Reimplemented in javolution.util.FastTable< E >.

Definition at line 282 of file FastCollection.java.

282  {
283  return new ReversedCollectionImpl<E>(service());
284  }

◆ sequential()

FastCollection<E> javolution.util.FastCollection< E >.sequential ( )
inherited

Returns a sequential view of this collection. Using this view, all closure-based iterations are performed sequentially.

Definition at line 230 of file FastCollection.java.

230  {
231  return new SequentialCollectionImpl<E>(service());
232  }

◆ service()

SetService<E> javolution.util.FastSet< E >.service ( )
protected

Returns the service implementation of this collection (for sub-classes).

Reimplemented from javolution.util.FastCollection< E >.

Reimplemented in javolution.util.FastSortedSet< E >.

Definition at line 143 of file FastSet.java.

143  {
144  return service;
145  }

◆ serviceOf()

static <E> CollectionService<E> javolution.util.FastCollection< E >.serviceOf ( FastCollection< E >  collection)
staticprotectedinherited

Returns the service implementation of any fast collection (for sub-classes).

Definition at line 647 of file FastCollection.java.

648  {
649  return collection.service();
650  }

References javolution.util.FastCollection< E >.service().

Here is the call graph for this function:

◆ shared()

FastSet<E> javolution.util.FastSet< E >.shared ( )

Returns a thread-safe view over this collection. The shared view allows for concurrent read as long as there is no writer. The default implementation is based on readers-writers locks giving priority to writers. Iterators on shared collections are thread-safe (no ConcurrentModificationException possible).

Reimplemented from javolution.util.FastCollection< E >.

Reimplemented in javolution.util.FastSortedSet< E >.

Definition at line 85 of file FastSet.java.

85  {
86  return new FastSet<E>(new SharedSetImpl<E>(service()));
87  }

◆ size()

int javolution.util.FastSet< E >.size ( )

Returns the size of this collection.

Reimplemented from javolution.util.FastCollection< E >.

Definition at line 106 of file FastSet.java.

106  {
107  return service.size();
108  }

Referenced by javolution.util.FastSet< Index >.isEmpty().

Here is the caller graph for this function:

◆ sorted() [1/2]

FastCollection<E> javolution.util.FastCollection< E >.sorted ( )
inherited

Returns a view exposing elements sorted according to the collection order.

Definition at line 267 of file FastCollection.java.

267  {
268  return new SortedCollectionImpl<E>(service(), comparator());
269  }

Referenced by javolution.util.internal.collection.SortedCollectionImpl< E >.IteratorImpl.IteratorImpl().

Here is the caller graph for this function:

◆ sorted() [2/2]

FastCollection<E> javolution.util.FastCollection< E >.sorted ( Comparator<? super E >  cmp)
inherited

Returns a view exposing elements sorted according to the specified comparator.

Definition at line 275 of file FastCollection.java.

275  {
276  return new SortedCollectionImpl<E>(service(), cmp);
277  }

◆ toArray() [1/2]

Object [] javolution.util.FastCollection< E >.toArray ( )
inherited

Returns an array holding this collection elements.

Reimplemented in javolution.util.internal.collection.SharedCollectionImpl< E >, javolution.util.internal.collection.CollectionView< E >, and javolution.util.internal.collection.AtomicCollectionImpl< E >.

Definition at line 490 of file FastCollection.java.

490  {
491  return service().toArray();
492  }

◆ toArray() [2/2]

public<T> T [] javolution.util.FastCollection< E >.toArray ( final T[]  array)
packageinherited

Returns the specified array holding this collection elements if enough capacity.

Reimplemented in javolution.util.internal.collection.SharedCollectionImpl< E >, javolution.util.internal.collection.CollectionView< E >, and javolution.util.internal.collection.AtomicCollectionImpl< E >.

Definition at line 498 of file FastCollection.java.

498  {
499  return service().toArray(array);
500  }

◆ toImmutable()

public<T extends Collection<E> > Immutable<T> javolution.util.FastCollection< E >.toImmutable ( )
packageinherited

Returns an immutable reference over this collection. The immutable value is an unmodifiable view of this collection. The caller must guarantees that the original collection is never going to be updated (e.g. there is no reference left of the original collection).

Definition at line 585 of file FastCollection.java.

585  {
586  return new Immutable<T>() {
587  @SuppressWarnings("unchecked")
588  final T value = (T) unmodifiable();
589 
590  @Override
591  public T value() {
592  return value;
593  }
594 
595  };
596  }

◆ toString()

String javolution.util.FastCollection< E >.toString ( )
inherited

Returns the string representation of this collection using its default format.

Definition at line 634 of file FastCollection.java.

634  {
635  return TextContext.getFormat(FastCollection.class).format(this);
636  }

References javolution.text.TextContext.getFormat().

Here is the call graph for this function:

◆ unmodifiable()

FastSet<E> javolution.util.FastSet< E >.unmodifiable ( )

Returns an unmodifiable view over this collection. Any attempt to modify the collection through this view will result into a java.lang.UnsupportedOperationException being raised.

Reimplemented from javolution.util.FastCollection< E >.

Reimplemented in javolution.util.FastSortedSet< E >.

Definition at line 90 of file FastSet.java.

90  {
91  return new FastSet<E>(new UnmodifiableSetImpl<E>(service()));
92  }

◆ update()

void javolution.util.FastCollection< E >.update ( Consumer<? extends Collection< E >>  action)
inherited

Executes the specified update action on this collection. That logic may be performed concurrently on sub-collections if this collection is parallel. For atomic collections the update is atomic (either concurrent readers see the full result of the action or nothing).

Parameters
actionthe update action.
Exceptions
ClassCastExceptionif the action type is not compatible with this collection (e.g. action on set and this is a list).
See also
#perform(Consumer)

Definition at line 334 of file FastCollection.java.

334  {
335  service().update((Consumer<CollectionService<E>>) action, service());
336  }

Referenced by javolution.util.FastTable< javolution.xml.internal.stream.XMLStreamReaderImpl >.sort().

Here is the caller graph for this function:

Member Data Documentation

◆ serialVersionUID

final long javolution.util.FastSet< E >.serialVersionUID = 0x600L
staticprivate

Definition at line 39 of file FastSet.java.

◆ service


The documentation for this class was generated from the following file:
javolution.util.FastCollection.comparator
Equality<? super E > comparator()
Definition: FastCollection.java:574
javolution.util.FastCollection.update
void update(Consumer<? extends Collection< E >> action)
Definition: FastCollection.java:334
javolution.util.FastCollection.reduce
E reduce(Reducer< E > reducer)
Definition: FastCollection.java:396
javolution.util.FastCollection.service
abstract CollectionService< E > service()
javolution.util.FastCollection.unmodifiable
FastCollection< E > unmodifiable()
Definition: FastCollection.java:239
javolution.util.FastCollection.parallel
FastCollection< E > parallel()
Definition: FastCollection.java:222
javolution.util.FastCollection.FastCollection
FastCollection()
Definition: FastCollection.java:173
javolution.util.FastCollection.perform
void perform(Consumer<? extends Collection< E >> action)
Definition: FastCollection.java:315
javolution.util.FastSet.size
int size()
Definition: FastSet.java:106
javolution.util.FastSet.service
final SetService< E > service
Definition: FastSet.java:44