text: /* Generic definitions */
  
  
  #define PACKAGE it.unimi.dsi.fastutil.longs
  #define VALUE_PACKAGE it.unimi.dsi.fastutil.objects
  /* Assertions (useful to generate conditional code) */
  #unassert keyclass
  #assert keyclass(Long)
  #unassert keys
   #assert keys(primitive)
  #unassert valueclass
  #assert valueclass(Reference)
  #unassert values
   #assert values(reference)
  /* Current type and class (and size, if applicable) */
  #define KEY_TYPE long
  #define VALUE_TYPE Object
  #define KEY_CLASS Long
  #define VALUE_CLASS Reference
  #if #keyclass(Object) || #keyclass(Reference)
  #define KEY_GENERIC_CLASS K
  #define KEY_GENERIC_TYPE K
  #define KEY_GENERIC <K>
  #define KEY_GENERIC_WILDCARD <?>
  #define KEY_EXTENDS_GENERIC <? extends K>
  #define KEY_SUPER_GENERIC <? super K>
  #define KEY_GENERIC_CAST (K)
  #define KEY_GENERIC_ARRAY_CAST (K[])
  #define KEY_GENERIC_BIG_ARRAY_CAST (K[][])
  #else
  #define KEY_GENERIC_CLASS KEY_CLASS
  #define KEY_GENERIC_TYPE KEY_TYPE
  #define KEY_GENERIC
  #define KEY_GENERIC_WILDCARD
  #define KEY_EXTENDS_GENERIC
  #define KEY_SUPER_GENERIC
  #define KEY_GENERIC_CAST
  #define KEY_GENERIC_ARRAY_CAST
  #define KEY_GENERIC_BIG_ARRAY_CAST
  #endif
  #if #valueclass(Object) || #valueclass(Reference)
  #define VALUE_GENERIC_CLASS V
  #define VALUE_GENERIC_TYPE V
  #define VALUE_GENERIC <V>
  #define VALUE_EXTENDS_GENERIC <? extends V>
  #define VALUE_GENERIC_CAST (V)
  #define VALUE_GENERIC_ARRAY_CAST (V[])
  #else
  #define VALUE_GENERIC_CLASS VALUE_CLASS
  #define VALUE_GENERIC_TYPE VALUE_TYPE
  #define VALUE_GENERIC
  #define VALUE_EXTENDS_GENERIC
  #define VALUE_GENERIC_CAST
  #define VALUE_GENERIC_ARRAY_CAST
  #endif
  #if #keyclass(Object) || #keyclass(Reference)
  #if #valueclass(Object) || #valueclass(Reference)
  #define KEY_VALUE_GENERIC <K,V>
  #define KEY_VALUE_EXTENDS_GENERIC <? extends K, ? extends V>
  #else
  #define KEY_VALUE_GENERIC <K>
  #define KEY_VALUE_EXTENDS_GENERIC <? extends K>
  #endif
  #else
  #if #valueclass(Object) || #valueclass(Reference)
  #define KEY_VALUE_GENERIC <V>
  #define KEY_VALUE_EXTENDS_GENERIC <? extends V>
  #else
  #define KEY_VALUE_GENERIC
  #define KEY_VALUE_EXTENDS_GENERIC
  #endif
  #endif
  /* Value methods */
  #define KEY_VALUE longValue
  #define VALUE_VALUE ObjectValue
  /* Interfaces (keys) */
  #define COLLECTION LongCollection
  
  #define SET LongSet
  
  #define HASH LongHash
  
  #define SORTED_SET LongSortedSet
  
  #define STD_SORTED_SET LongSortedSet
  
  #define FUNCTION Long2ReferenceFunction
  #define MAP Long2ReferenceMap
  #define SORTED_MAP Long2ReferenceSortedMap
  #if #keyclass(Object) || #keyclass(Reference)
  #define STD_SORTED_MAP SortedMap
  
  #define STRATEGY Strategy
  
  #else
  #define STD_SORTED_MAP Long2ReferenceSortedMap
  
  #define STRATEGY PACKAGE.LongHash.Strategy
  
  #endif
  #define LIST LongList
  
  #define BIG_LIST LongBigList
  
  #define STACK LongStack
  
  #define PRIORITY_QUEUE LongPriorityQueue
  
  #define INDIRECT_PRIORITY_QUEUE LongIndirectPriorityQueue
  
  #define INDIRECT_DOUBLE_PRIORITY_QUEUE LongIndirectDoublePriorityQueue
  
  #define KEY_ITERATOR LongIterator
  
  #define KEY_ITERABLE LongIterable
  
  #define KEY_BIDI_ITERATOR LongBidirectionalIterator
  
  #define KEY_LIST_ITERATOR LongListIterator
  
  #define KEY_BIG_LIST_ITERATOR LongBigListIterator
  
  #define STD_KEY_ITERATOR LongIterator
  
  #define KEY_COMPARATOR LongComparator
  
  /* Interfaces (values) */
  #define VALUE_COLLECTION ReferenceCollection
  
  #define VALUE_ARRAY_SET ReferenceArraySet
  
  #define VALUE_ITERATOR ObjectIterator
  
  #define VALUE_LIST_ITERATOR ObjectListIterator
  
  /* Abstract implementations (keys) */
  #define ABSTRACT_COLLECTION AbstractLongCollection
  
  #define ABSTRACT_SET AbstractLongSet
  
  #define ABSTRACT_SORTED_SET AbstractLongSortedSet
  #define ABSTRACT_FUNCTION AbstractLong2ReferenceFunction
  #define ABSTRACT_MAP AbstractLong2ReferenceMap
  #define ABSTRACT_FUNCTION AbstractLong2ReferenceFunction
  #define ABSTRACT_SORTED_MAP AbstractLong2ReferenceSortedMap
  #define ABSTRACT_LIST AbstractLongList
  
  #define ABSTRACT_BIG_LIST AbstractLongBigList
  
  #define SUBLIST LongSubList
  
  #define ABSTRACT_PRIORITY_QUEUE AbstractLongPriorityQueue
  
  #define ABSTRACT_STACK AbstractLongStack
  
  #define KEY_ABSTRACT_ITERATOR AbstractLongIterator
  
  #define KEY_ABSTRACT_BIDI_ITERATOR AbstractLongBidirectionalIterator
  
  #define KEY_ABSTRACT_LIST_ITERATOR AbstractLongListIterator
  
  #define KEY_ABSTRACT_BIG_LIST_ITERATOR AbstractLongBigListIterator
  
  #if #keyclass(Object)
  #define KEY_ABSTRACT_COMPARATOR Comparator
  
  #else
  #define KEY_ABSTRACT_COMPARATOR AbstractLongComparator
  
  #endif
  /* Abstract implementations (values) */
  #define VALUE_ABSTRACT_COLLECTION AbstractReferenceCollection
  
  #define VALUE_ABSTRACT_ITERATOR AbstractObjectIterator
  
  #define VALUE_ABSTRACT_BIDI_ITERATOR AbstractObjectBidirectionalIterator
  
  /* Static containers (keys) */
  #define COLLECTIONS LongCollections
  
  #define SETS LongSets
  
  #define SORTED_SETS LongSortedSets
  
  #define LISTS LongLists
  
  #define BIG_LISTS LongBigLists
  
  #define MAPS Long2ReferenceMaps
  #define FUNCTIONS Long2ReferenceFunctions
  #define SORTED_MAPS Long2ReferenceSortedMaps
  #define PRIORITY_QUEUES LongPriorityQueues
  
  #define HEAPS LongHeaps
  
  #define SEMI_INDIRECT_HEAPS LongSemiIndirectHeaps
  
  #define INDIRECT_HEAPS LongIndirectHeaps
  
  #define ARRAYS LongArrays
  
  #define BIG_ARRAYS LongBigArrays
  
  #define ITERATORS LongIterators
  
  #define BIG_LIST_ITERATORS LongBigListIterators
  
  #define COMPARATORS LongComparators
  
  /* Static containers (values) */
  #define VALUE_COLLECTIONS ReferenceCollections
  
  #define VALUE_SETS ReferenceSets
  
  #define VALUE_ARRAYS ObjectArrays
  
  /* Implementations */
  #define OPEN_HASH_SET LongOpenHashSet
  
  #define OPEN_HASH_BIG_SET LongOpenHashBigSet
  
  #define OPEN_DOUBLE_HASH_SET LongOpenDoubleHashSet
  
  #define OPEN_HASH_MAP Long2ReferenceOpenHashMap
  
  #define STRIPED_OPEN_HASH_MAP StripedLong2ReferenceOpenHashMap
  
  #define OPEN_DOUBLE_HASH_MAP Long2ReferenceOpenDoubleHashMap
  
  #define ARRAY_SET LongArraySet
  
  #define ARRAY_MAP Long2ReferenceArrayMap
  
  #define LINKED_OPEN_HASH_SET LongLinkedOpenHashSet
  
  #define AVL_TREE_SET LongAVLTreeSet
  
  #define RB_TREE_SET LongRBTreeSet
  
  #define AVL_TREE_MAP Long2ReferenceAVLTreeMap
  
  #define RB_TREE_MAP Long2ReferenceRBTreeMap
  
  #define ARRAY_LIST LongArrayList
  
  #define BIG_ARRAY_BIG_LIST LongBigArrayBigList
  
  #define ARRAY_FRONT_CODED_LIST LongArrayFrontCodedList
  
  #define HEAP_PRIORITY_QUEUE LongHeapPriorityQueue
  
  #define HEAP_SEMI_INDIRECT_PRIORITY_QUEUE LongHeapSemiIndirectPriorityQueue
  
  #define HEAP_INDIRECT_PRIORITY_QUEUE LongHeapIndirectPriorityQueue
  
  #define HEAP_SESQUI_INDIRECT_DOUBLE_PRIORITY_QUEUE LongHeapSesquiIndirectDoublePriorityQueue
  
  #define HEAP_INDIRECT_DOUBLE_PRIORITY_QUEUE LongHeapIndirectDoublePriorityQueue
  
  #define ARRAY_FIFO_QUEUE LongArrayFIFOQueue
  
  #define ARRAY_PRIORITY_QUEUE LongArrayPriorityQueue
  
  #define ARRAY_INDIRECT_PRIORITY_QUEUE LongArrayIndirectPriorityQueue
  
  #define ARRAY_INDIRECT_DOUBLE_PRIORITY_QUEUE LongArrayIndirectDoublePriorityQueue
  
  /* Synchronized wrappers */
  #define SYNCHRONIZED_COLLECTION SynchronizedLongCollection
  
  #define SYNCHRONIZED_SET SynchronizedLongSet
  
  #define SYNCHRONIZED_SORTED_SET SynchronizedLongSortedSet
  
  #define SYNCHRONIZED_FUNCTION SynchronizedLong2ReferenceFunction
  
  #define SYNCHRONIZED_MAP SynchronizedLong2ReferenceMap
  
  #define SYNCHRONIZED_LIST SynchronizedLongList
  
  /* Unmodifiable wrappers */
  #define UNMODIFIABLE_COLLECTION UnmodifiableLongCollection
  
  #define UNMODIFIABLE_SET UnmodifiableLongSet
  
  #define UNMODIFIABLE_SORTED_SET UnmodifiableLongSortedSet
  
  #define UNMODIFIABLE_FUNCTION UnmodifiableLong2ReferenceFunction
  
  #define UNMODIFIABLE_MAP UnmodifiableLong2ReferenceMap
  
  #define UNMODIFIABLE_LIST UnmodifiableLongList
  
  #define UNMODIFIABLE_KEY_ITERATOR UnmodifiableLongIterator
  
  #define UNMODIFIABLE_KEY_BIDI_ITERATOR UnmodifiableLongBidirectionalIterator
  
  #define UNMODIFIABLE_KEY_LIST_ITERATOR UnmodifiableLongListIterator
  
  /* Other wrappers */
  #define KEY_READER_WRAPPER LongReaderWrapper
  
  #define KEY_DATA_INPUT_WRAPPER LongDataInputWrapper
  
  /* Methods (keys) */
  #define NEXT_KEY nextLong
  #define PREV_KEY previousLong
  #define FIRST_KEY firstLongKey
  #define LAST_KEY lastLongKey
  #define GET_KEY getLong
  #define REMOVE_KEY removeLong
  #define READ_KEY readLong
  #define WRITE_KEY writeLong
  #define DEQUEUE dequeueLong
  #define DEQUEUE_LAST dequeueLastLong
  #define SUBLIST_METHOD longSubList
  #define SINGLETON_METHOD longSingleton
  
  #define FIRST firstLong
  #define LAST lastLong
  #define TOP topLong
  #define PEEK peekLong
  #define POP popLong
  #define KEY_ITERATOR_METHOD longIterator
  
  #define KEY_LIST_ITERATOR_METHOD longListIterator
  
  #define KEY_EMPTY_ITERATOR_METHOD emptyLongIterator
  
  #define AS_KEY_ITERATOR asLongIterator
  
  #define TO_KEY_ARRAY toLongArray
  #define ENTRY_GET_KEY getLongKey
  #define REMOVE_FIRST_KEY removeFirstLong
  #define REMOVE_LAST_KEY removeLastLong
  #define PARSE_KEY parseLong
  #define LOAD_KEYS loadLongs
  #define LOAD_KEYS_BIG loadLongsBig
  #define STORE_KEYS storeLongs
  /* Methods (values) */
  #define NEXT_VALUE next
  #define PREV_VALUE previous
  #define READ_VALUE readObject
  #define WRITE_VALUE writeObject
  #define VALUE_ITERATOR_METHOD objectIterator
  
  #define ENTRY_GET_VALUE getValue
  #define REMOVE_FIRST_VALUE removeFirst
  #define REMOVE_LAST_VALUE removeLast
  /* Methods (keys/values) */
  #define ENTRYSET long2ReferenceEntrySet
  /* Methods that have special names depending on keys (but the special names depend on values) */
  #if #keyclass(Object) || #keyclass(Reference)
  #define GET_VALUE get
  #define REMOVE_VALUE remove
  #else
  #define GET_VALUE get
  #define REMOVE_VALUE remove
  #endif
  /* Equality */
  #ifdef Custom
  #define KEY_EQUALS(x,y) ( strategy.equals( (x),  KEY_GENERIC_CAST (y) ) )
  #else
  #if #keyclass(Object)
  #define KEY_EQUALS(x,y) ( (x) == null ? (y) == null : (x).equals(y) )
  #define KEY_EQUALS_NOT_NULL(x,y) ( (x).equals(y) )
  #else
  #define KEY_EQUALS(x,y) ( (x) == (y) )
  #define KEY_EQUALS_NOT_NULL(x,y) ( (x) == (y) )
  #endif
  #endif
  
  #if #valueclass(Object)
  #define VALUE_EQUALS(x,y) ( (x) == null ? (y) == null : (x).equals(y) )
  #else
  #define VALUE_EQUALS(x,y) ( (x) == (y) )
  #endif
  
  /* Object/Reference-only definitions (keys) */
  #if #keyclass(Object) || #keyclass(Reference)
  #define REMOVE remove
  #define KEY_OBJ2TYPE(x) (x)
  #define KEY_CLASS2TYPE(x) (x)
  #define KEY2OBJ(x) (x)
  #if #keyclass(Object)
  #ifdef Custom
  #define KEY2JAVAHASH(x) ( strategy.hashCode( KEY_GENERIC_CAST (x)) )
  #define KEY2INTHASH(x) ( it.unimi.dsi.fastutil.HashCommon.murmurHash3( strategy.hashCode( KEY_GENERIC_CAST (x)) ) )
  #define KEY2LONGHASH(x) ( it.unimi.dsi.fastutil.HashCommon.murmurHash3( (long)strategy.hashCode( KEY_GENERIC_CAST (x)) ) )
  #else
  #define KEY2JAVAHASH(x) ( (x) == null ? 0 : (x).hashCode() )
  #define KEY2INTHASH(x) ( (x) == null ? 0x87fcd5c : it.unimi.dsi.fastutil.HashCommon.murmurHash3( (x).hashCode() ) )
  #define KEY2LONGHASH(x) ( (x) == null ? 0x810879608e4259ccL : it.unimi.dsi.fastutil.HashCommon.murmurHash3( (long)(x).hashCode() ) )
  #endif
  #else
  #define KEY2JAVAHASH(x) ( (x) == null ? 0 : System.identityHashCode(x) )
  #define KEY2INTHASH(x) ( (x) == null ? 0x87fcd5c : it.unimi.dsi.fastutil.HashCommon.murmurHash3( System.identityHashCode(x) ) )
  #define KEY2LONGHASH(x) ( (x) == null ? 0x810879608e4259ccL : it.unimi.dsi.fastutil.HashCommon.murmurHash3( (long)System.identityHashCode(x) ) )
  #endif
  #define KEY_CMP(x,y) ( ((Comparable<KEY_GENERIC_CLASS>)(x)).compareTo(y) )
  #define KEY_CMP_EQ(x,y) ( ((Comparable<KEY_GENERIC_CLASS>)(x)).compareTo(y) == 0 )
  #define KEY_LESS(x,y) ( ((Comparable<KEY_GENERIC_CLASS>)(x)).compareTo(y) < 0 )
  #define KEY_LESSEQ(x,y) ( ((Comparable<KEY_GENERIC_CLASS>)(x)).compareTo(y) <= 0 )
  #define KEY_NULL (null)
  #else
  /* Primitive-type-only definitions (keys) */
  #define REMOVE rem
  #define KEY_CLASS2TYPE(x) ((x).KEY_VALUE())
  #define KEY_OBJ2TYPE(x) (KEY_CLASS2TYPE((KEY_CLASS)(x)))
  #define KEY2OBJ(x) (KEY_CLASS.valueOf(x))
  #if #keyclass(Boolean)
  #define KEY_CMP_EQ(x,y) ( (x) == (y) )
  #define KEY_NULL (false)
  #define KEY_CMP(x,y) ( !(x) && (y) ? -1 : ( (x) == (y) ? 0 : 1 ) )
  #define KEY_LESS(x,y) ( !(x) && (y) )
  #define KEY_LESSEQ(x,y) ( !(x) || (y) )
  #else
  #define KEY_NULL ((KEY_TYPE)0)
  #if #keyclass(Float) || #keyclass(Double)
  #define KEY_CMP_EQ(x,y) ( KEY_CLASS.compare((x),(y)) == 0 )
  #define KEY_CMP(x,y) ( KEY_CLASS.compare((x),(y)) )
  #define KEY_LESS(x,y) ( KEY_CLASS.compare((x),(y)) < 0 )
  #define KEY_LESSEQ(x,y) ( KEY_CLASS.compare((x),(y)) <= 0 )
  #else
  #define KEY_CMP_EQ(x,y) ( (x) == (y) )
  #define KEY_CMP(x,y) ( (x) < (y) ? -1 : ( (x) == (y) ? 0 : 1 ) )
  #define KEY_LESS(x,y) ( (x) < (y) )
  #define KEY_LESSEQ(x,y) ( (x) <= (y) )
  #endif
  #if #keyclass(Float)
  #define KEY2LEXINT(x) fixFloat(x)
  #elif #keyclass(Double)
  #define KEY2LEXINT(x) fixDouble(x)
  #else
  #define KEY2LEXINT(x) (x)
  #endif
  #endif
  #ifdef Custom
  #define KEY2JAVAHASH(x) ( strategy.hashCode(x) )
  #define KEY2INTHASH(x) ( it.unimi.dsi.fastutil.HashCommon.murmurHash3( strategy.hashCode(x) ) )
  #define KEY2LONGHASH(x) ( it.unimi.dsi.fastutil.HashCommon.murmurHash3( (long)strategy.hashCode(x) ) )
  #else
  #if #keyclass(Float)
  #define KEY2JAVAHASH(x) it.unimi.dsi.fastutil.HashCommon.float2int(x)
  #define KEY2INTHASH(x) it.unimi.dsi.fastutil.HashCommon.murmurHash3( it.unimi.dsi.fastutil.HashCommon.float2int(x) )
  #define KEY2LONGHASH(x) it.unimi.dsi.fastutil.HashCommon.murmurHash3( (long)it.unimi.dsi.fastutil.HashCommon.float2int(x) )
  #elif #keyclass(Double)
  #define KEY2JAVAHASH(x) it.unimi.dsi.fastutil.HashCommon.double2int(x)
  #define KEY2INTHASH(x) (int)it.unimi.dsi.fastutil.HashCommon.murmurHash3(Double.doubleToRawLongBits(x))
  #define KEY2LONGHASH(x) it.unimi.dsi.fastutil.HashCommon.murmurHash3(Double.doubleToRawLongBits(x))
  #elif #keyclass(Long)
  #define KEY2JAVAHASH(x) it.unimi.dsi.fastutil.HashCommon.long2int(x)
  #define KEY2INTHASH(x) (int)it.unimi.dsi.fastutil.HashCommon.murmurHash3(x)
  #define KEY2LONGHASH(x) it.unimi.dsi.fastutil.HashCommon.murmurHash3(x)
  #elif #keyclass(Boolean)
  #define KEY2JAVAHASH(x) ((x) ? 1231 : 1237)
  #define KEY2INTHASH(x) ((x) ? 0xfab5368 : 0xcba05e7b)
  #define KEY2LONGHASH(x) ((x) ? 0x74a19fc8b6428188L : 0xbaeca2031a4fd9ecL)
  #else
  #define KEY2JAVAHASH(x) (x)
  #define KEY2INTHASH(x) ( it.unimi.dsi.fastutil.HashCommon.murmurHash3( (x) ) )
  #define KEY2LONGHASH(x) ( it.unimi.dsi.fastutil.HashCommon.murmurHash3( (long)(x) ) )
  #endif
  #endif
  #endif
  /* Object/Reference-only definitions (values) */
  #if #valueclass(Object) || #valueclass(Reference)
  #define VALUE_OBJ2TYPE(x) (x)
  #define VALUE_CLASS2TYPE(x) (x)
  #define VALUE2OBJ(x) (x)
  #if #valueclass(Object)
  #define VALUE2JAVAHASH(x) ( (x) == null ? 0 : (x).hashCode() )
  #else
  #define VALUE2JAVAHASH(x) ( (x) == null ? 0 : System.identityHashCode(x) )
  #endif
  #define VALUE_NULL (null)
  #define OBJECT_DEFAULT_RETURN_VALUE (this.defRetValue)
  #else
  /* Primitive-type-only definitions (values) */
  #define VALUE_CLASS2TYPE(x) ((x).VALUE_VALUE())
  #define VALUE_OBJ2TYPE(x) (VALUE_CLASS2TYPE((VALUE_CLASS)(x)))
  #define VALUE2OBJ(x) (VALUE_CLASS.valueOf(x))
  #if #valueclass(Float) || #valueclass(Double) || #valueclass(Long)
  #define VALUE_NULL (0)
  #define VALUE2JAVAHASH(x) it.unimi.dsi.fastutil.HashCommon.Object2int(x)
  #elif #valueclass(Boolean)
  #define VALUE_NULL (false)
  #define VALUE2JAVAHASH(x) (x ? 1231 : 1237)
  #else
  #if #valueclass(Integer)
  #define VALUE_NULL (0)
  #else
  #define VALUE_NULL ((VALUE_TYPE)0)
  #endif
  #define VALUE2JAVAHASH(x) (x)
  #endif
  #define OBJECT_DEFAULT_RETURN_VALUE (null)
  #endif
  #include "drv/ArrayMap.drv"
  
  