com.shapesecurity.bandolier.es2018.transformations.MonoidMultiHashTableEqualityMerge Maven / Gradle / Ivy
The newest version!
package com.shapesecurity.bandolier.es2018.transformations;
import com.shapesecurity.functional.data.Monoid;
import com.shapesecurity.functional.data.MultiHashTable;
import javax.annotation.Nonnull;
public class MonoidMultiHashTableEqualityMerge implements Monoid> {
@Nonnull
@Override
public MultiHashTable identity() {
return MultiHashTable.emptyUsingEquality();
}
@Nonnull
@Override
public MultiHashTable append(MultiHashTable t1, MultiHashTable t2) {
return t1.merge(t2);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy