cc.redberry.core.utils
Class THashSet<T extends Tensor>
- java.lang.Object
-
- cc.redberry.core.utils.THashSet<T>
-
- All Implemented Interfaces:
- java.lang.Iterable<T>, java.util.Collection<T>, java.util.Set<T>
public final class THashSet<T extends Tensor> extends java.lang.Object implements java.util.Set<T>Hash set of tensors.- Since:
- 1.0
- See Also:
HashSet
-
-
Constructor Summary
Constructors Constructor and Description THashSet()THashSet(java.util.Collection<? extends Tensor> tensors)THashSet(int initialCapacity)THashSet(int initialCapacity, float loadFactor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description booleanadd(T e)booleanaddAll(java.util.Collection<? extends T> c)voidclear()booleancontains(java.lang.Object o)booleancontainsAll(java.util.Collection<?> c)booleanisEmpty()java.util.Iterator<T>iterator()booleanremove(java.lang.Object o)booleanremoveAll(java.util.Collection<?> c)booleanretainAll(java.util.Collection<?> c)intsize()java.lang.Object[]toArray()<T> T[]toArray(T[] a)
-
-
-
Constructor Detail
-
THashSet
public THashSet()
-
THashSet
public THashSet(int initialCapacity)
-
THashSet
public THashSet(int initialCapacity, float loadFactor)
-
THashSet
public THashSet(java.util.Collection<? extends Tensor> tensors)
-
-
Method Detail
-
add
public boolean add(T e)
-
addAll
public boolean addAll(java.util.Collection<? extends T> c)
-
clear
public void clear()
-
contains
public boolean contains(java.lang.Object o)
-
containsAll
public boolean containsAll(java.util.Collection<?> c)
-
isEmpty
public boolean isEmpty()
-
iterator
public java.util.Iterator<T> iterator()
-
remove
public boolean remove(java.lang.Object o)
-
removeAll
public boolean removeAll(java.util.Collection<?> c)
-
retainAll
public boolean retainAll(java.util.Collection<?> c)
-
size
public int size()
-
toArray
public java.lang.Object[] toArray()
-
-
DataMelt 3.0 © DataMelt by jWork.ORG