Class ArrayMultiValueSetNode<T>
java.lang.Object
org.javimmutable.collections.hash.set.ArrayMultiValueSetNode<T>
- All Implemented Interfaces:
ArraySetNode<T>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
contains
(CollisionSet<T> collisionSet, T value) delete
(CollisionSet<T> collisionSet, T value) void
forEach
(CollisionSet<T> collisionSet, Proc1<T> proc) <E extends Exception>
voidforEachThrows
(CollisionSet<T> collisionSet, Proc1Throws<T, E> proc) insert
(CollisionSet<T> collisionSet, T value) int
size
(CollisionSet<T> collisionSet) values
(CollisionSet<T> collisionSet)
-
Constructor Details
-
ArrayMultiValueSetNode
-
-
Method Details
-
size
- Specified by:
size
in interfaceArraySetNode<T>
-
contains
- Specified by:
contains
in interfaceArraySetNode<T>
-
insert
- Specified by:
insert
in interfaceArraySetNode<T>
-
delete
- Specified by:
delete
in interfaceArraySetNode<T>
-
values
- Specified by:
values
in interfaceArraySetNode<T>
-
forEach
- Specified by:
forEach
in interfaceArraySetNode<T>
-
forEachThrows
public <E extends Exception> void forEachThrows(@Nonnull CollisionSet<T> collisionSet, @Nonnull Proc1Throws<T, E> proc) throws E- Specified by:
forEachThrows
in interfaceArraySetNode<T>
- Throws:
E
-