Uses of Class
fj.Hash
Packages that use Hash
Package
Description
Types that set the premise for the existence of Functional Java.
Common algebraic data types.
-
Uses of Hash in fj
Modifier and TypeFieldDescriptionstatic final Hash<BigDecimal> Hash.bigdecimalHashA hash instance for theBigDecimaltype.static final Hash<BigInteger> Hash.bigintHashA hash instance for theBigIntegertype.Hash.booleanHashA hash instance for thebooleantype.Hash.byteHashA hash instance for thebytetype.Hash.charHashA hash instance for thechartype.Hash.doubleHashA hash instance for thedoubletype.Hash.floatHashA hash instance for thefloattype.Hash.intHashA hash instance for theinttype.Hash.longHashA hash instance for thelongtype.Hash.naturalHashA hash instance for theNaturaltype.Hash.shortHashA hash instance for theshorttype.static final Hash<StringBuffer> Hash.stringBufferHashA hash instance for theStringBuffertype.static final Hash<StringBuilder> Hash.stringBuilderHashA hash instance for theStringBuildertype.Hash.stringHashA hash instance for theStringtype.Modifier and TypeMethodDescriptionstatic <A> Hash<A> Hash.anyHash()A hash that usesObject.hashCode().A hash instance for theArraytype.<B> Hash<B> Maps the given function across this hash as a contra-variant functor.Hash.either3Hash(Hash<A> ha, Hash<B> hb, Hash<C> hc) Hash.eitherHash(Hash<A> ha, Hash<B> hb) A hash instance for theEithertype.static <A> Hash<A> Construct a hash with the given hash function.A hash instance for theListtype.static <A> Hash<NonEmptyList<A>> Hash.nonEmptyListHash(Hash<A> ha) A hash instance for theNonEmptyListtype.Hash.optionHash(Hash<A> ha) A hash instance for theOptiontype.A hash instance for a product-1.A hash instance for a product-2.A hash instance for a product-3.A hash instance for a product-4.A hash instance for a product-5.A hash instance for a product-6.A hash instance for a product-7.Hash.p8Hash(Hash<A> ha, Hash<B> hb, Hash<C> hc, Hash<D> hd, Hash<E> he, Hash<F$> hf, Hash<G> hg, Hash<H> hh) A hash instance for a product-8.Hash.resultHash(Hash<A> ha, Hash<I> hi) A hash instance for theResulttype.Hash.streamHash(Hash<A> ha) A hash instance for theStreamtype.A hash instance for theTreetype.Hash.treeMapHash(Hash<K> h, Hash<V> v) static <A> Hash<TreeZipper<A>> Hash.treeZipperHash(Hash<A> ha) A hash instance for theTreeZippertype.A hash instance for a vector-2.A hash instance for a vector-3.A hash instance for a vector-4.A hash instance for a vector-5.A hash instance for a vector-6.A hash instance for a vector-7.A hash instance for a vector-8.static <A,B> Hash <Validation<A, B>> Hash.validationHash(Hash<A> ha, Hash<B> hb) A hash instance for theValidationtype.Hash.zipperHash(Hash<A> ha) A hash instance for theZippertype.Modifier and TypeMethodDescriptionF.contramapHash()Promotes this function to map over a Hash as a contravariant functor.F.contramapHash()Promotes this function to map over a Hash as a contravariant functor.Modifier and TypeMethodDescriptionA hash instance for theArraytype.Hash.either3Hash(Hash<A> ha, Hash<B> hb, Hash<C> hc) Hash.eitherHash(Hash<A> ha, Hash<B> hb) A hash instance for theEithertype.A hash instance for theListtype.static <A> Hash<NonEmptyList<A>> Hash.nonEmptyListHash(Hash<A> ha) A hash instance for theNonEmptyListtype.Hash.optionHash(Hash<A> ha) A hash instance for theOptiontype.A hash instance for a product-1.A hash instance for a product-2.A hash instance for a product-3.A hash instance for a product-4.A hash instance for a product-5.A hash instance for a product-6.A hash instance for a product-7.Hash.p8Hash(Hash<A> ha, Hash<B> hb, Hash<C> hc, Hash<D> hd, Hash<E> he, Hash<F$> hf, Hash<G> hg, Hash<H> hh) A hash instance for a product-8.Hash.resultHash(Hash<A> ha, Hash<I> hi) A hash instance for theResulttype.Hash.streamHash(Hash<A> ha) A hash instance for theStreamtype.A hash instance for theTreetype.Hash.treeMapHash(Hash<K> h, Hash<V> v) static <A> Hash<TreeZipper<A>> Hash.treeZipperHash(Hash<A> ha) A hash instance for theTreeZippertype.A hash instance for a vector-2.A hash instance for a vector-3.A hash instance for a vector-4.A hash instance for a vector-5.A hash instance for a vector-6.A hash instance for a vector-7.A hash instance for a vector-8.static <A,B> Hash <Validation<A, B>> Hash.validationHash(Hash<A> ha, Hash<B> hb) A hash instance for theValidationtype.Hash.zipperHash(Hash<A> ha) A hash instance for theZippertype. -
Uses of Hash in fj.data
Modifier and TypeMethodDescriptionstatic <K,V> HashMap <K, V> HashMap.arrayHashMap(Equal<K> equal, Hash<K> hash, P2<K, V>... entries) Converts the array to a HashMapstatic <A> HashSet<A> HashSet.arrayHashSet(Equal<A> e, Hash<A> h, A... as) Create a HashSet from the array.static <A> HashSet<A> Creates a new HashSet using the given Equal and Hashstatic <K,V> HashMap <K, V> static <K,V> HashMap <K, V> Construct a hash map.static <A> HashSet<A> Create a HashSet from the array.static <K,V> HashMap <K, V> HashMap.iterableHashMap(Equal<K> equal, Hash<K> hash, Iterable<P2<K, V>> entries) Converts the Iterable to a HashMapstatic <A> HashSet<A> HashSet.iterableHashSet(Equal<A> e, Hash<A> h, Iterable<A> it) Create a HashSet from the Iterable.static <K,V> HashMap <K, V> HashMap.iteratorHashMap(Equal<K> equal, Hash<K> hash, Iterator<P2<K, V>> entries) Converts the Iterator to a HashMapstatic <A> HashSet<A> HashSet.iteratorHashSet(Equal<A> e, Hash<A> h, Iterator<A> it) Create a HashSet from the Iterator.<A,B> HashMap <A, B> <A,B> HashMap <A, B> ModifierConstructorDescriptionConstruct a hash map with the given equality and hashing strategy.Construct a hash map with the given equality and hashing strategy.Construct a hash map with the given equality and hashing strategy.Construct a hash set with the given equality and hashing strategy.Construct a hash set with the given equality and hashing strategy.Construct a hash set with the given equality and hashing strategy. -
Uses of Hash in fj.data.hamt
Fields in fj.data.hamt declared as HashMethods in fj.data.hamt with parameters of type HashModifier and TypeMethodDescriptionstatic <K,V> HashArrayMappedTrie <K, V> Creates an empty trie.private static <K,V> HashArrayMappedTrie <K, V> Static constructor for a HAMT instance.Constructors in fj.data.hamt with parameters of type Hash