Apache REEF  0.16.0
Retainable Evaluator Execution Framework
Public Member Functions | Properties | List of all members
Org.Apache.REEF.Utilities.Collections.ReadOnlySet< T > Class Template Reference

An implementation of a set that is read only. More...

Inherits IReadOnlyCollection< T >, and ISet< T >.

Public Member Functions

 ReadOnlySet (IEnumerable< T > enumerable)
 
IEnumerator< T > GetEnumerator ()
 
bool Add (T item)
 
void UnionWith (IEnumerable< T > other)
 
void IntersectWith (IEnumerable< T > other)
 
void ExceptWith (IEnumerable< T > other)
 
void SymmetricExceptWith (IEnumerable< T > other)
 
bool IsSubsetOf (IEnumerable< T > other)
 
bool IsSupersetOf (IEnumerable< T > other)
 
bool IsProperSupersetOf (IEnumerable< T > other)
 
bool IsProperSubsetOf (IEnumerable< T > other)
 
bool Overlaps (IEnumerable< T > other)
 
bool SetEquals (IEnumerable< T > other)
 
void Clear ()
 
bool Contains (T item)
 
void CopyTo (T[] array, int arrayIndex)
 
bool Remove (T item)
 

Properties

int Count [get]
 
bool IsReadOnly [get]
 

Detailed Description

An implementation of a set that is read only.

Backed by a HashSet.

Constructor & Destructor Documentation

◆ ReadOnlySet()

Org.Apache.REEF.Utilities.Collections.ReadOnlySet< T >.ReadOnlySet ( IEnumerable< T >  enumerable)
inline

Member Function Documentation

◆ Add()

bool Org.Apache.REEF.Utilities.Collections.ReadOnlySet< T >.Add ( item)
inline

◆ Clear()

◆ Contains()

bool Org.Apache.REEF.Utilities.Collections.ReadOnlySet< T >.Contains ( item)
inline

◆ CopyTo()

void Org.Apache.REEF.Utilities.Collections.ReadOnlySet< T >.CopyTo ( T []  array,
int  arrayIndex 
)
inline

◆ ExceptWith()

void Org.Apache.REEF.Utilities.Collections.ReadOnlySet< T >.ExceptWith ( IEnumerable< T >  other)
inline

◆ GetEnumerator()

IEnumerator<T> Org.Apache.REEF.Utilities.Collections.ReadOnlySet< T >.GetEnumerator ( )
inline

◆ IntersectWith()

void Org.Apache.REEF.Utilities.Collections.ReadOnlySet< T >.IntersectWith ( IEnumerable< T >  other)
inline

◆ IsProperSubsetOf()

bool Org.Apache.REEF.Utilities.Collections.ReadOnlySet< T >.IsProperSubsetOf ( IEnumerable< T >  other)
inline

◆ IsProperSupersetOf()

bool Org.Apache.REEF.Utilities.Collections.ReadOnlySet< T >.IsProperSupersetOf ( IEnumerable< T >  other)
inline

◆ IsSubsetOf()

bool Org.Apache.REEF.Utilities.Collections.ReadOnlySet< T >.IsSubsetOf ( IEnumerable< T >  other)
inline

◆ IsSupersetOf()

bool Org.Apache.REEF.Utilities.Collections.ReadOnlySet< T >.IsSupersetOf ( IEnumerable< T >  other)
inline

◆ Overlaps()

bool Org.Apache.REEF.Utilities.Collections.ReadOnlySet< T >.Overlaps ( IEnumerable< T >  other)
inline

◆ Remove()

bool Org.Apache.REEF.Utilities.Collections.ReadOnlySet< T >.Remove ( item)
inline

◆ SetEquals()

bool Org.Apache.REEF.Utilities.Collections.ReadOnlySet< T >.SetEquals ( IEnumerable< T >  other)
inline

◆ SymmetricExceptWith()

void Org.Apache.REEF.Utilities.Collections.ReadOnlySet< T >.SymmetricExceptWith ( IEnumerable< T >  other)
inline

◆ UnionWith()

void Org.Apache.REEF.Utilities.Collections.ReadOnlySet< T >.UnionWith ( IEnumerable< T >  other)
inline

Property Documentation

◆ Count

◆ IsReadOnly


The documentation for this class was generated from the following file: