Uses of Class
fj.Hash
-
Packages that use Hash Package Description fj Types that set the premise for the existence of Functional Java.fj.data Common algebraic data types.fj.data.hamt -
-
Uses of Hash in fj
Fields in fj declared as Hash Modifier and Type Field Description static Hash<java.math.BigDecimal>Hash. bigdecimalHashA hash instance for theBigDecimaltype.static Hash<java.math.BigInteger>Hash. bigintHashA hash instance for theBigIntegertype.static Hash<java.lang.Boolean>Hash. booleanHashA hash instance for thebooleantype.static Hash<java.lang.Byte>Hash. byteHashA hash instance for thebytetype.static Hash<java.lang.Character>Hash. charHashA hash instance for thechartype.static Hash<java.lang.Double>Hash. doubleHashA hash instance for thedoubletype.static Hash<java.lang.Float>Hash. floatHashA hash instance for thefloattype.static Hash<java.lang.Integer>Hash. intHashA hash instance for theinttype.static Hash<java.lang.Long>Hash. longHashA hash instance for thelongtype.static Hash<Natural>Hash. naturalHashA hash instance for theNaturaltype.static Hash<java.lang.Short>Hash. shortHashA hash instance for theshorttype.static Hash<java.lang.StringBuffer>Hash. stringBufferHashA hash instance for theStringBuffertype.static Hash<java.lang.StringBuilder>Hash. stringBuilderHashA hash instance for theStringBuildertype.static Hash<java.lang.String>Hash. stringHashA hash instance for theStringtype.Methods in fj that return Hash Modifier and Type Method Description static <A> Hash<A>Hash. anyHash()A hash that usesObject.hashCode().static <A> Hash<Array<A>>Hash. arrayHash(Hash<A> ha)A hash instance for theArraytype.<B> Hash<B>Hash. contramap(F<B,A> g)Maps the given function across this hash as a contra-variant functor.static <A,B,C>
Hash<Either3<A,B,C>>Hash. either3Hash(Hash<A> ha, Hash<B> hb, Hash<C> hc)static <A,B>
Hash<Either<A,B>>Hash. eitherHash(Hash<A> ha, Hash<B> hb)A hash instance for theEithertype.static <A> Hash<A>Hash. hash(F<A,java.lang.Integer> f)Construct a hash with the given hash function.static <A> Hash<List<A>>Hash. listHash(Hash<A> ha)A hash instance for theListtype.static <A> Hash<NonEmptyList<A>>Hash. nonEmptyListHash(Hash<A> ha)A hash instance for theNonEmptyListtype.static <A> Hash<Option<A>>Hash. optionHash(Hash<A> ha)A hash instance for theOptiontype.static <A> Hash<P1<A>>Hash. p1Hash(Hash<A> ha)A hash instance for a product-1.static <A,B>
Hash<P2<A,B>>Hash. p2Hash(Hash<A> ha, Hash<B> hb)A hash instance for a product-2.static <A,B,C>
Hash<P3<A,B,C>>Hash. p3Hash(Hash<A> ha, Hash<B> hb, Hash<C> hc)A hash instance for a product-3.static <A,B,C,D>
Hash<P4<A,B,C,D>>Hash. p4Hash(Hash<A> ha, Hash<B> hb, Hash<C> hc, Hash<D> hd)A hash instance for a product-4.static <A,B,C,D,E>
Hash<P5<A,B,C,D,E>>Hash. p5Hash(Hash<A> ha, Hash<B> hb, Hash<C> hc, Hash<D> hd, Hash<E> he)A hash instance for a product-5.static <A,B,C,D,E,F$>
Hash<P6<A,B,C,D,E,F$>>Hash. p6Hash(Hash<A> ha, Hash<B> hb, Hash<C> hc, Hash<D> hd, Hash<E> he, Hash<F$> hf)A hash instance for a product-6.static <A,B,C,D,E,F$,G>
Hash<P7<A,B,C,D,E,F$,G>>Hash. p7Hash(Hash<A> ha, Hash<B> hb, Hash<C> hc, Hash<D> hd, Hash<E> he, Hash<F$> hf, Hash<G> hg)A hash instance for a product-7.static <A,B,C,D,E,F$,G,H>
Hash<P8<A,B,C,D,E,F$,G,H>>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.static <I,A>
Hash<Result<I,A>>Hash. resultHash(Hash<A> ha, Hash<I> hi)A hash instance for theResulttype.static <A> Hash<Seq<A>>Hash. seqHash(Hash<A> h)static <A> Hash<Set<A>>Hash. setHash(Hash<A> h)static <A> Hash<Stream<A>>Hash. streamHash(Hash<A> ha)A hash instance for theStreamtype.static <A> Hash<Tree<A>>Hash. treeHash(Hash<A> ha)A hash instance for theTreetype.static <K,V>
Hash<TreeMap<K,V>>Hash. treeMapHash(Hash<K> h, Hash<V> v)static <A> Hash<TreeZipper<A>>Hash. treeZipperHash(Hash<A> ha)A hash instance for theTreeZippertype.static <A> Hash<V2<A>>Hash. v2Hash(Hash<A> ea)A hash instance for a vector-2.static <A> Hash<V3<A>>Hash. v3Hash(Hash<A> ea)A hash instance for a vector-3.static <A> Hash<V4<A>>Hash. v4Hash(Hash<A> ea)A hash instance for a vector-4.static <A> Hash<V5<A>>Hash. v5Hash(Hash<A> ea)A hash instance for a vector-5.static <A> Hash<V6<A>>Hash. v6Hash(Hash<A> ea)A hash instance for a vector-6.static <A> Hash<V7<A>>Hash. v7Hash(Hash<A> ea)A hash instance for a vector-7.static <A> Hash<V8<A>>Hash. v8Hash(Hash<A> ea)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.static <A> Hash<Zipper<A>>Hash. zipperHash(Hash<A> ha)A hash instance for theZippertype.Methods in fj that return types with arguments of type Hash Modifier and Type Method Description default F<Hash<B>,Hash<A>>F. contramapHash()Promotes this function to map over a Hash as a contravariant functor.default F<Hash<B>,Hash<A>>F. contramapHash()Promotes this function to map over a Hash as a contravariant functor.Methods in fj with parameters of type Hash Modifier and Type Method Description static <A> Hash<Array<A>>Hash. arrayHash(Hash<A> ha)A hash instance for theArraytype.static <A,B,C>
Hash<Either3<A,B,C>>Hash. either3Hash(Hash<A> ha, Hash<B> hb, Hash<C> hc)static <A,B>
Hash<Either<A,B>>Hash. eitherHash(Hash<A> ha, Hash<B> hb)A hash instance for theEithertype.static <A> Hash<List<A>>Hash. listHash(Hash<A> ha)A hash instance for theListtype.static <A> Hash<NonEmptyList<A>>Hash. nonEmptyListHash(Hash<A> ha)A hash instance for theNonEmptyListtype.static <A> Hash<Option<A>>Hash. optionHash(Hash<A> ha)A hash instance for theOptiontype.static <A> Hash<P1<A>>Hash. p1Hash(Hash<A> ha)A hash instance for a product-1.static <A,B>
Hash<P2<A,B>>Hash. p2Hash(Hash<A> ha, Hash<B> hb)A hash instance for a product-2.static <A,B,C>
Hash<P3<A,B,C>>Hash. p3Hash(Hash<A> ha, Hash<B> hb, Hash<C> hc)A hash instance for a product-3.static <A,B,C,D>
Hash<P4<A,B,C,D>>Hash. p4Hash(Hash<A> ha, Hash<B> hb, Hash<C> hc, Hash<D> hd)A hash instance for a product-4.static <A,B,C,D,E>
Hash<P5<A,B,C,D,E>>Hash. p5Hash(Hash<A> ha, Hash<B> hb, Hash<C> hc, Hash<D> hd, Hash<E> he)A hash instance for a product-5.static <A,B,C,D,E,F$>
Hash<P6<A,B,C,D,E,F$>>Hash. p6Hash(Hash<A> ha, Hash<B> hb, Hash<C> hc, Hash<D> hd, Hash<E> he, Hash<F$> hf)A hash instance for a product-6.static <A,B,C,D,E,F$,G>
Hash<P7<A,B,C,D,E,F$,G>>Hash. p7Hash(Hash<A> ha, Hash<B> hb, Hash<C> hc, Hash<D> hd, Hash<E> he, Hash<F$> hf, Hash<G> hg)A hash instance for a product-7.static <A,B,C,D,E,F$,G,H>
Hash<P8<A,B,C,D,E,F$,G,H>>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.static <I,A>
Hash<Result<I,A>>Hash. resultHash(Hash<A> ha, Hash<I> hi)A hash instance for theResulttype.static <A> Hash<Seq<A>>Hash. seqHash(Hash<A> h)static <A> Hash<Set<A>>Hash. setHash(Hash<A> h)static <A> Hash<Stream<A>>Hash. streamHash(Hash<A> ha)A hash instance for theStreamtype.static <A> Hash<Tree<A>>Hash. treeHash(Hash<A> ha)A hash instance for theTreetype.static <K,V>
Hash<TreeMap<K,V>>Hash. treeMapHash(Hash<K> h, Hash<V> v)static <A> Hash<TreeZipper<A>>Hash. treeZipperHash(Hash<A> ha)A hash instance for theTreeZippertype.static <A> Hash<V2<A>>Hash. v2Hash(Hash<A> ea)A hash instance for a vector-2.static <A> Hash<V3<A>>Hash. v3Hash(Hash<A> ea)A hash instance for a vector-3.static <A> Hash<V4<A>>Hash. v4Hash(Hash<A> ea)A hash instance for a vector-4.static <A> Hash<V5<A>>Hash. v5Hash(Hash<A> ea)A hash instance for a vector-5.static <A> Hash<V6<A>>Hash. v6Hash(Hash<A> ea)A hash instance for a vector-6.static <A> Hash<V7<A>>Hash. v7Hash(Hash<A> ea)A hash instance for a vector-7.static <A> Hash<V8<A>>Hash. v8Hash(Hash<A> ea)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.static <A> Hash<Zipper<A>>Hash. zipperHash(Hash<A> ha)A hash instance for theZippertype. -
Uses of Hash in fj.data
Fields in fj.data declared as Hash Modifier and Type Field Description private Hash<K>HashMap. hMethods in fj.data with parameters of type Hash Modifier and Type Method Description static <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>HashSet. empty(Equal<A> e, Hash<A> h)Creates a new HashSet using the given Equal and Hashstatic <K,V>
HashMap<K,V>HashMap. fromMap(Equal<K> eq, Hash<K> h, java.util.Map<K,V> map)static <K,V>
HashMap<K,V>HashMap. hashMap(Equal<K> e, Hash<K> h)Construct a hash map.static <A> HashSet<A>HashSet. hashSet(Equal<A> e, Hash<A> h, A... as)Create a HashSet from the array.static <K,V>
HashMap<K,V>HashMap. iterableHashMap(Equal<K> equal, Hash<K> hash, java.lang.Iterable<P2<K,V>> entries)Converts the Iterable to a HashMapstatic <A> HashSet<A>HashSet. iterableHashSet(Equal<A> e, Hash<A> h, java.lang.Iterable<A> it)Create a HashSet from the Iterable.static <K,V>
HashMap<K,V>HashMap. iteratorHashMap(Equal<K> equal, Hash<K> hash, java.util.Iterator<P2<K,V>> entries)Converts the Iterator to a HashMapstatic <A> HashSet<A>HashSet. iteratorHashSet(Equal<A> e, Hash<A> h, java.util.Iterator<A> it)Create a HashSet from the Iterator.<A,B>
HashMap<A,B>HashMap. map(F<P2<K,V>,P2<A,B>> function, Equal<A> equal, Hash<A> hash)<A,B>
HashMap<A,B>HashMap. map(F<K,A> keyFunction, F<V,B> valueFunction, Equal<A> equal, Hash<A> hash)<A> HashMap<A,V>HashMap. mapKeys(F<K,A> keyFunction, Equal<A> equal, Hash<A> hash)Constructors in fj.data with parameters of type Hash Constructor Description HashMap(Equal<K> e, Hash<K> h)Construct a hash map with the given equality and hashing strategy.HashMap(Equal<K> e, Hash<K> h, int initialCapacity)Construct a hash map with the given equality and hashing strategy.HashMap(Equal<K> e, Hash<K> h, int initialCapacity, float loadFactor)Construct a hash map with the given equality and hashing strategy.HashMap(java.util.Map<K,V> map, Equal<K> e, Hash<K> h)HashSet(Equal<A> e, Hash<A> h)Construct a hash set with the given equality and hashing strategy.HashSet(Equal<A> e, Hash<A> h, int initialCapacity)Construct a hash set with the given equality and hashing strategy.HashSet(Equal<A> e, Hash<A> h, int initialCapacity, float loadFactor)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 Hash Modifier and Type Field Description private Hash<K>HashArrayMappedTrie. hashMethods in fj.data.hamt with parameters of type Hash Modifier and Type Method Description static <K,V>
HashArrayMappedTrie<K,V>HashArrayMappedTrie. empty(Equal<K> e, Hash<K> h)Creates an empty trie.private static <K,V>
HashArrayMappedTrie<K,V>HashArrayMappedTrie. hamt(BitSet bs, Seq<Node<K,V>> s, Equal<K> e, Hash<K> h)Static constructor for a HAMT instance.Constructors in fj.data.hamt with parameters of type Hash Constructor Description HashArrayMappedTrie(BitSet bs, Seq<Node<K,V>> s, Equal<K> e, Hash<K> h)Creates an empty trie for the bitset, sequence of nodes, equal and hash.
-