See: Description
| Interface | Description |
|---|---|
| Short2BooleanFunction |
A type-specific
Function ; provides some additional methods that use polymorphism to avoid (un)boxing. |
| Short2BooleanMap |
A type-specific
Map ; provides some additional methods that use polymorphism to avoid (un)boxing, and handling of a default return value. |
| Short2BooleanMap.Entry |
A type-specific
Map.Entry ; provides some additional methods
that use polymorphism to avoid (un)boxing. |
| Short2BooleanMap.FastEntrySet |
An entry set providing fast iteration.
|
| Short2BooleanSortedMap |
A type-specific
SortedMap ; provides some additional methods that use polymorphism to avoid (un)boxing. |
| Short2BooleanSortedMap.FastSortedEntrySet |
A sorted entry set providing fast iteration.
|
| Short2ByteFunction |
A type-specific
Function ; provides some additional methods that use polymorphism to avoid (un)boxing. |
| Short2ByteMap |
A type-specific
Map ; provides some additional methods that use polymorphism to avoid (un)boxing, and handling of a default return value. |
| Short2ByteMap.Entry |
A type-specific
Map.Entry ; provides some additional methods
that use polymorphism to avoid (un)boxing. |
| Short2ByteMap.FastEntrySet |
An entry set providing fast iteration.
|
| Short2ByteSortedMap |
A type-specific
SortedMap ; provides some additional methods that use polymorphism to avoid (un)boxing. |
| Short2ByteSortedMap.FastSortedEntrySet |
A sorted entry set providing fast iteration.
|
| Short2CharFunction |
A type-specific
Function ; provides some additional methods that use polymorphism to avoid (un)boxing. |
| Short2CharMap |
A type-specific
Map ; provides some additional methods that use polymorphism to avoid (un)boxing, and handling of a default return value. |
| Short2CharMap.Entry |
A type-specific
Map.Entry ; provides some additional methods
that use polymorphism to avoid (un)boxing. |
| Short2CharMap.FastEntrySet |
An entry set providing fast iteration.
|
| Short2CharSortedMap |
A type-specific
SortedMap ; provides some additional methods that use polymorphism to avoid (un)boxing. |
| Short2CharSortedMap.FastSortedEntrySet |
A sorted entry set providing fast iteration.
|
| Short2DoubleFunction |
A type-specific
Function ; provides some additional methods that use polymorphism to avoid (un)boxing. |
| Short2DoubleMap |
A type-specific
Map ; provides some additional methods that use polymorphism to avoid (un)boxing, and handling of a default return value. |
| Short2DoubleMap.Entry |
A type-specific
Map.Entry ; provides some additional methods
that use polymorphism to avoid (un)boxing. |
| Short2DoubleMap.FastEntrySet |
An entry set providing fast iteration.
|
| Short2DoubleSortedMap |
A type-specific
SortedMap ; provides some additional methods that use polymorphism to avoid (un)boxing. |
| Short2DoubleSortedMap.FastSortedEntrySet |
A sorted entry set providing fast iteration.
|
| Short2FloatFunction |
A type-specific
Function ; provides some additional methods that use polymorphism to avoid (un)boxing. |
| Short2FloatMap |
A type-specific
Map ; provides some additional methods that use polymorphism to avoid (un)boxing, and handling of a default return value. |
| Short2FloatMap.Entry |
A type-specific
Map.Entry ; provides some additional methods
that use polymorphism to avoid (un)boxing. |
| Short2FloatMap.FastEntrySet |
An entry set providing fast iteration.
|
| Short2FloatSortedMap |
A type-specific
SortedMap ; provides some additional methods that use polymorphism to avoid (un)boxing. |
| Short2FloatSortedMap.FastSortedEntrySet |
A sorted entry set providing fast iteration.
|
| Short2IntFunction |
A type-specific
Function ; provides some additional methods that use polymorphism to avoid (un)boxing. |
| Short2IntMap |
A type-specific
Map ; provides some additional methods that use polymorphism to avoid (un)boxing, and handling of a default return value. |
| Short2IntMap.Entry |
A type-specific
Map.Entry ; provides some additional methods
that use polymorphism to avoid (un)boxing. |
| Short2IntMap.FastEntrySet |
An entry set providing fast iteration.
|
| Short2IntSortedMap |
A type-specific
SortedMap ; provides some additional methods that use polymorphism to avoid (un)boxing. |
| Short2IntSortedMap.FastSortedEntrySet |
A sorted entry set providing fast iteration.
|
| Short2LongFunction |
A type-specific
Function ; provides some additional methods that use polymorphism to avoid (un)boxing. |
| Short2LongMap |
A type-specific
Map ; provides some additional methods that use polymorphism to avoid (un)boxing, and handling of a default return value. |
| Short2LongMap.Entry |
A type-specific
Map.Entry ; provides some additional methods
that use polymorphism to avoid (un)boxing. |
| Short2LongMap.FastEntrySet |
An entry set providing fast iteration.
|
| Short2LongSortedMap |
A type-specific
SortedMap ; provides some additional methods that use polymorphism to avoid (un)boxing. |
| Short2LongSortedMap.FastSortedEntrySet |
A sorted entry set providing fast iteration.
|
| Short2ObjectFunction<V> |
A type-specific
Function ; provides some additional methods that use polymorphism to avoid (un)boxing. |
| Short2ObjectMap<V> |
A type-specific
Map ; provides some additional methods that use polymorphism to avoid (un)boxing, and handling of a default return value. |
| Short2ObjectMap.Entry<V> |
A type-specific
Map.Entry ; provides some additional methods
that use polymorphism to avoid (un)boxing. |
| Short2ObjectMap.FastEntrySet<V> |
An entry set providing fast iteration.
|
| Short2ObjectSortedMap<V> |
A type-specific
SortedMap ; provides some additional methods that use polymorphism to avoid (un)boxing. |
| Short2ObjectSortedMap.FastSortedEntrySet<V> |
A sorted entry set providing fast iteration.
|
| Short2ReferenceFunction<V> |
A type-specific
Function ; provides some additional methods that use polymorphism to avoid (un)boxing. |
| Short2ReferenceMap<V> |
A type-specific
Map ; provides some additional methods that use polymorphism to avoid (un)boxing, and handling of a default return value. |
| Short2ReferenceMap.Entry<V> |
A type-specific
Map.Entry ; provides some additional methods
that use polymorphism to avoid (un)boxing. |
| Short2ReferenceMap.FastEntrySet<V> |
An entry set providing fast iteration.
|
| Short2ReferenceSortedMap<V> |
A type-specific
SortedMap ; provides some additional methods that use polymorphism to avoid (un)boxing. |
| Short2ReferenceSortedMap.FastSortedEntrySet<V> |
A sorted entry set providing fast iteration.
|
| Short2ShortFunction |
A type-specific
Function ; provides some additional methods that use polymorphism to avoid (un)boxing. |
| Short2ShortMap |
A type-specific
Map ; provides some additional methods that use polymorphism to avoid (un)boxing, and handling of a default return value. |
| Short2ShortMap.Entry |
A type-specific
Map.Entry ; provides some additional methods
that use polymorphism to avoid (un)boxing. |
| Short2ShortMap.FastEntrySet |
An entry set providing fast iteration.
|
| Short2ShortSortedMap |
A type-specific
SortedMap ; provides some additional methods that use polymorphism to avoid (un)boxing. |
| Short2ShortSortedMap.FastSortedEntrySet |
A sorted entry set providing fast iteration.
|
| ShortBidirectionalIterator |
A type-specific bidirectional iterator; provides an additional method to avoid (un)boxing,
and the possibility to skip elements backwards.
|
| ShortBigList |
A type-specific
BigList ; provides some additional methods that use polymorphism to avoid (un)boxing. |
| ShortBigListIterator |
A type-specific
BigListIterator . |
| ShortCollection |
A type-specific
Collection ; provides some additional methods
that use polymorphism to avoid (un)boxing. |
| ShortComparator |
A type-specific
Comparator ; provides methods to compare two primitive types both as objects
and as primitive types. |
| ShortHash |
A type-specific
Hash interface. |
| ShortHash.Strategy |
A type-specific hash strategy.
|
| ShortIndirectPriorityQueue |
A type-specific
IndirectPriorityQueue . |
| ShortIterable |
A type-specific
Iterable that strengthens that specification of Iterable.iterator() . |
| ShortIterator |
A type-specific
Iterator ; provides an additional method to avoid (un)boxing, and
the possibility to skip elements. |
| ShortList |
A type-specific
List ; provides some additional methods that use polymorphism to avoid (un)boxing. |
| ShortListIterator |
A type-specific bidirectional iterator that is also a
ListIterator . |
| ShortPriorityQueue |
A type-specific
PriorityQueue ; provides some additional methods that use polymorphism to avoid (un)boxing. |
| ShortSet |
A type-specific
Set ; provides some additional methods that use polymorphism to avoid (un)boxing. |
| ShortSortedSet |
A type-specific
SortedSet ; provides some additional methods that use polymorphism to avoid (un)boxing. |
| ShortStack |
A type-specific
Stack ; provides some additional methods that use polymorphism to avoid (un)boxing. |
| Class | Description |
|---|---|
| AbstractShort2BooleanFunction |
An abstract class providing basic methods for functions implementing a type-specific interface.
|
| AbstractShort2BooleanMap |
An abstract class providing basic methods for maps implementing a type-specific interface.
|
| AbstractShort2BooleanMap.BasicEntry |
This class provides a basic but complete type-specific entry class for all those maps implementations
that do not have entries on their own (e.g., most immutable maps).
|
| AbstractShort2BooleanSortedMap |
An abstract class providing basic methods for sorted maps implementing a type-specific interface.
|
| AbstractShort2BooleanSortedMap.KeySetIterator |
A wrapper exhibiting a map iterator as an iterator on keys.
|
| AbstractShort2BooleanSortedMap.ValuesIterator |
A wrapper exhibiting a map iterator as an iterator on values.
|
| AbstractShort2ByteFunction |
An abstract class providing basic methods for functions implementing a type-specific interface.
|
| AbstractShort2ByteMap |
An abstract class providing basic methods for maps implementing a type-specific interface.
|
| AbstractShort2ByteMap.BasicEntry |
This class provides a basic but complete type-specific entry class for all those maps implementations
that do not have entries on their own (e.g., most immutable maps).
|
| AbstractShort2ByteSortedMap |
An abstract class providing basic methods for sorted maps implementing a type-specific interface.
|
| AbstractShort2ByteSortedMap.KeySetIterator |
A wrapper exhibiting a map iterator as an iterator on keys.
|
| AbstractShort2ByteSortedMap.ValuesIterator |
A wrapper exhibiting a map iterator as an iterator on values.
|
| AbstractShort2CharFunction |
An abstract class providing basic methods for functions implementing a type-specific interface.
|
| AbstractShort2CharMap |
An abstract class providing basic methods for maps implementing a type-specific interface.
|
| AbstractShort2CharMap.BasicEntry |
This class provides a basic but complete type-specific entry class for all those maps implementations
that do not have entries on their own (e.g., most immutable maps).
|
| AbstractShort2CharSortedMap |
An abstract class providing basic methods for sorted maps implementing a type-specific interface.
|
| AbstractShort2CharSortedMap.KeySetIterator |
A wrapper exhibiting a map iterator as an iterator on keys.
|
| AbstractShort2CharSortedMap.ValuesIterator |
A wrapper exhibiting a map iterator as an iterator on values.
|
| AbstractShort2DoubleFunction |
An abstract class providing basic methods for functions implementing a type-specific interface.
|
| AbstractShort2DoubleMap |
An abstract class providing basic methods for maps implementing a type-specific interface.
|
| AbstractShort2DoubleMap.BasicEntry |
This class provides a basic but complete type-specific entry class for all those maps implementations
that do not have entries on their own (e.g., most immutable maps).
|
| AbstractShort2DoubleSortedMap |
An abstract class providing basic methods for sorted maps implementing a type-specific interface.
|
| AbstractShort2DoubleSortedMap.KeySetIterator |
A wrapper exhibiting a map iterator as an iterator on keys.
|
| AbstractShort2DoubleSortedMap.ValuesIterator |
A wrapper exhibiting a map iterator as an iterator on values.
|
| AbstractShort2FloatFunction |
An abstract class providing basic methods for functions implementing a type-specific interface.
|
| AbstractShort2FloatMap |
An abstract class providing basic methods for maps implementing a type-specific interface.
|
| AbstractShort2FloatMap.BasicEntry |
This class provides a basic but complete type-specific entry class for all those maps implementations
that do not have entries on their own (e.g., most immutable maps).
|
| AbstractShort2FloatSortedMap |
An abstract class providing basic methods for sorted maps implementing a type-specific interface.
|
| AbstractShort2FloatSortedMap.KeySetIterator |
A wrapper exhibiting a map iterator as an iterator on keys.
|
| AbstractShort2FloatSortedMap.ValuesIterator |
A wrapper exhibiting a map iterator as an iterator on values.
|
| AbstractShort2IntFunction |
An abstract class providing basic methods for functions implementing a type-specific interface.
|
| AbstractShort2IntMap |
An abstract class providing basic methods for maps implementing a type-specific interface.
|
| AbstractShort2IntMap.BasicEntry |
This class provides a basic but complete type-specific entry class for all those maps implementations
that do not have entries on their own (e.g., most immutable maps).
|
| AbstractShort2IntSortedMap |
An abstract class providing basic methods for sorted maps implementing a type-specific interface.
|
| AbstractShort2IntSortedMap.KeySetIterator |
A wrapper exhibiting a map iterator as an iterator on keys.
|
| AbstractShort2IntSortedMap.ValuesIterator |
A wrapper exhibiting a map iterator as an iterator on values.
|
| AbstractShort2LongFunction |
An abstract class providing basic methods for functions implementing a type-specific interface.
|
| AbstractShort2LongMap |
An abstract class providing basic methods for maps implementing a type-specific interface.
|
| AbstractShort2LongMap.BasicEntry |
This class provides a basic but complete type-specific entry class for all those maps implementations
that do not have entries on their own (e.g., most immutable maps).
|
| AbstractShort2LongSortedMap |
An abstract class providing basic methods for sorted maps implementing a type-specific interface.
|
| AbstractShort2LongSortedMap.KeySetIterator |
A wrapper exhibiting a map iterator as an iterator on keys.
|
| AbstractShort2LongSortedMap.ValuesIterator |
A wrapper exhibiting a map iterator as an iterator on values.
|
| AbstractShort2ObjectFunction<V> |
An abstract class providing basic methods for functions implementing a type-specific interface.
|
| AbstractShort2ObjectMap<V> |
An abstract class providing basic methods for maps implementing a type-specific interface.
|
| AbstractShort2ObjectMap.BasicEntry<V> |
This class provides a basic but complete type-specific entry class for all those maps implementations
that do not have entries on their own (e.g., most immutable maps).
|
| AbstractShort2ObjectSortedMap<V> |
An abstract class providing basic methods for sorted maps implementing a type-specific interface.
|
| AbstractShort2ObjectSortedMap.KeySetIterator<V> |
A wrapper exhibiting a map iterator as an iterator on keys.
|
| AbstractShort2ObjectSortedMap.ValuesIterator<V> |
A wrapper exhibiting a map iterator as an iterator on values.
|
| AbstractShort2ReferenceFunction<V> |
An abstract class providing basic methods for functions implementing a type-specific interface.
|
| AbstractShort2ReferenceMap<V> |
An abstract class providing basic methods for maps implementing a type-specific interface.
|
| AbstractShort2ReferenceMap.BasicEntry<V> |
This class provides a basic but complete type-specific entry class for all those maps implementations
that do not have entries on their own (e.g., most immutable maps).
|
| AbstractShort2ReferenceSortedMap<V> |
An abstract class providing basic methods for sorted maps implementing a type-specific interface.
|
| AbstractShort2ReferenceSortedMap.KeySetIterator<V> |
A wrapper exhibiting a map iterator as an iterator on keys.
|
| AbstractShort2ReferenceSortedMap.ValuesIterator<V> |
A wrapper exhibiting a map iterator as an iterator on values.
|
| AbstractShort2ShortFunction |
An abstract class providing basic methods for functions implementing a type-specific interface.
|
| AbstractShort2ShortMap |
An abstract class providing basic methods for maps implementing a type-specific interface.
|
| AbstractShort2ShortMap.BasicEntry |
This class provides a basic but complete type-specific entry class for all those maps implementations
that do not have entries on their own (e.g., most immutable maps).
|
| AbstractShort2ShortSortedMap |
An abstract class providing basic methods for sorted maps implementing a type-specific interface.
|
| AbstractShort2ShortSortedMap.KeySetIterator |
A wrapper exhibiting a map iterator as an iterator on keys.
|
| AbstractShort2ShortSortedMap.ValuesIterator |
A wrapper exhibiting a map iterator as an iterator on values.
|
| AbstractShortBidirectionalIterator |
An abstract class facilitating the creation of type-specific bidirectional iterators.
|
| AbstractShortBigList |
An abstract class providing basic methods for big lists implementing a type-specific big list interface.
|
| AbstractShortBigList.ShortSubList |
A class implementing a sublist view.
|
| AbstractShortBigListIterator |
An abstract class facilitating the creation of type-specific big-list iterators.
|
| AbstractShortCollection |
An abstract class providing basic methods for collections implementing a type-specific interface.
|
| AbstractShortComparator |
An abstract class facilitating the creation of type-specific comparators.
|
| AbstractShortIterator |
An abstract class facilitating the creation of type-specific iterators.
|
| AbstractShortList |
An abstract class providing basic methods for lists implementing a type-specific list interface.
|
| AbstractShortList.ShortSubList |
A class implementing a sublist view.
|
| AbstractShortListIterator |
An abstract class facilitating the creation of type-specific list iterators.
|
| AbstractShortPriorityQueue |
An abstract class providing basic methods for priority queues implementing a type-specific interface.
|
| AbstractShortSet |
An abstract class providing basic methods for sets implementing a type-specific interface.
|
| AbstractShortSortedSet |
An abstract class providing basic methods for sorted sets implementing a type-specific interface.
|
| AbstractShortStack |
An abstract class providing basic methods for implementing a type-specific stack interface.
|
| Short2BooleanArrayMap |
A simple, brute-force implementation of a map based on two parallel backing arrays.
|
| Short2BooleanAVLTreeMap |
A type-specific AVL tree map with a fast, small-footprint implementation.
|
| Short2BooleanFunctions |
A class providing static methods and objects that do useful things with type-specific functions.
|
| Short2BooleanFunctions.EmptyFunction |
An immutable class representing an empty type-specific function.
|
| Short2BooleanFunctions.Singleton |
An immutable class representing a type-specific singleton function.
|
| Short2BooleanFunctions.SynchronizedFunction |
A synchronized wrapper class for functions.
|
| Short2BooleanFunctions.UnmodifiableFunction |
An unmodifiable wrapper class for functions.
|
| Short2BooleanLinkedOpenHashMap |
A type-specific linked hash map with with a fast, small-footprint implementation.
|
| Short2BooleanMaps |
A class providing static methods and objects that do useful things with type-specific maps.
|
| Short2BooleanMaps.EmptyMap |
An immutable class representing an empty type-specific map.
|
| Short2BooleanMaps.Singleton |
An immutable class representing a type-specific singleton map.
|
| Short2BooleanMaps.SynchronizedMap |
A synchronized wrapper class for maps.
|
| Short2BooleanMaps.UnmodifiableMap |
An unmodifiable wrapper class for maps.
|
| Short2BooleanOpenCustomHashMap |
A type-specific hash map with a fast, small-footprint implementation whose hashing strategy
is specified at creation time.
|
| Short2BooleanOpenHashMap |
A type-specific hash map with a fast, small-footprint implementation.
|
| Short2BooleanRBTreeMap |
A type-specific red-black tree map with a fast, small-footprint implementation.
|
| Short2BooleanSortedMaps |
A class providing static methods and objects that do useful things with type-specific sorted maps.
|
| Short2BooleanSortedMaps.EmptySortedMap |
An immutable class representing an empty type-specific sorted map.
|
| Short2BooleanSortedMaps.Singleton |
An immutable class representing a type-specific singleton sorted map.
|
| Short2BooleanSortedMaps.SynchronizedSortedMap |
A synchronized wrapper class for sorted maps.
|
| Short2BooleanSortedMaps.UnmodifiableSortedMap |
An unmodifiable wrapper class for sorted maps.
|
| Short2ByteArrayMap |
A simple, brute-force implementation of a map based on two parallel backing arrays.
|
| Short2ByteAVLTreeMap |
A type-specific AVL tree map with a fast, small-footprint implementation.
|
| Short2ByteFunctions |
A class providing static methods and objects that do useful things with type-specific functions.
|
| Short2ByteFunctions.EmptyFunction |
An immutable class representing an empty type-specific function.
|
| Short2ByteFunctions.Singleton |
An immutable class representing a type-specific singleton function.
|
| Short2ByteFunctions.SynchronizedFunction |
A synchronized wrapper class for functions.
|
| Short2ByteFunctions.UnmodifiableFunction |
An unmodifiable wrapper class for functions.
|
| Short2ByteLinkedOpenHashMap |
A type-specific linked hash map with with a fast, small-footprint implementation.
|
| Short2ByteMaps |
A class providing static methods and objects that do useful things with type-specific maps.
|
| Short2ByteMaps.EmptyMap |
An immutable class representing an empty type-specific map.
|
| Short2ByteMaps.Singleton |
An immutable class representing a type-specific singleton map.
|
| Short2ByteMaps.SynchronizedMap |
A synchronized wrapper class for maps.
|
| Short2ByteMaps.UnmodifiableMap |
An unmodifiable wrapper class for maps.
|
| Short2ByteOpenCustomHashMap |
A type-specific hash map with a fast, small-footprint implementation whose hashing strategy
is specified at creation time.
|
| Short2ByteOpenHashMap |
A type-specific hash map with a fast, small-footprint implementation.
|
| Short2ByteRBTreeMap |
A type-specific red-black tree map with a fast, small-footprint implementation.
|
| Short2ByteSortedMaps |
A class providing static methods and objects that do useful things with type-specific sorted maps.
|
| Short2ByteSortedMaps.EmptySortedMap |
An immutable class representing an empty type-specific sorted map.
|
| Short2ByteSortedMaps.Singleton |
An immutable class representing a type-specific singleton sorted map.
|
| Short2ByteSortedMaps.SynchronizedSortedMap |
A synchronized wrapper class for sorted maps.
|
| Short2ByteSortedMaps.UnmodifiableSortedMap |
An unmodifiable wrapper class for sorted maps.
|
| Short2CharArrayMap |
A simple, brute-force implementation of a map based on two parallel backing arrays.
|
| Short2CharAVLTreeMap |
A type-specific AVL tree map with a fast, small-footprint implementation.
|
| Short2CharFunctions |
A class providing static methods and objects that do useful things with type-specific functions.
|
| Short2CharFunctions.EmptyFunction |
An immutable class representing an empty type-specific function.
|
| Short2CharFunctions.Singleton |
An immutable class representing a type-specific singleton function.
|
| Short2CharFunctions.SynchronizedFunction |
A synchronized wrapper class for functions.
|
| Short2CharFunctions.UnmodifiableFunction |
An unmodifiable wrapper class for functions.
|
| Short2CharLinkedOpenHashMap |
A type-specific linked hash map with with a fast, small-footprint implementation.
|
| Short2CharMaps |
A class providing static methods and objects that do useful things with type-specific maps.
|
| Short2CharMaps.EmptyMap |
An immutable class representing an empty type-specific map.
|
| Short2CharMaps.Singleton |
An immutable class representing a type-specific singleton map.
|
| Short2CharMaps.SynchronizedMap |
A synchronized wrapper class for maps.
|
| Short2CharMaps.UnmodifiableMap |
An unmodifiable wrapper class for maps.
|
| Short2CharOpenCustomHashMap |
A type-specific hash map with a fast, small-footprint implementation whose hashing strategy
is specified at creation time.
|
| Short2CharOpenHashMap |
A type-specific hash map with a fast, small-footprint implementation.
|
| Short2CharRBTreeMap |
A type-specific red-black tree map with a fast, small-footprint implementation.
|
| Short2CharSortedMaps |
A class providing static methods and objects that do useful things with type-specific sorted maps.
|
| Short2CharSortedMaps.EmptySortedMap |
An immutable class representing an empty type-specific sorted map.
|
| Short2CharSortedMaps.Singleton |
An immutable class representing a type-specific singleton sorted map.
|
| Short2CharSortedMaps.SynchronizedSortedMap |
A synchronized wrapper class for sorted maps.
|
| Short2CharSortedMaps.UnmodifiableSortedMap |
An unmodifiable wrapper class for sorted maps.
|
| Short2DoubleArrayMap |
A simple, brute-force implementation of a map based on two parallel backing arrays.
|
| Short2DoubleAVLTreeMap |
A type-specific AVL tree map with a fast, small-footprint implementation.
|
| Short2DoubleFunctions |
A class providing static methods and objects that do useful things with type-specific functions.
|
| Short2DoubleFunctions.EmptyFunction |
An immutable class representing an empty type-specific function.
|
| Short2DoubleFunctions.Singleton |
An immutable class representing a type-specific singleton function.
|
| Short2DoubleFunctions.SynchronizedFunction |
A synchronized wrapper class for functions.
|
| Short2DoubleFunctions.UnmodifiableFunction |
An unmodifiable wrapper class for functions.
|
| Short2DoubleLinkedOpenHashMap |
A type-specific linked hash map with with a fast, small-footprint implementation.
|
| Short2DoubleMaps |
A class providing static methods and objects that do useful things with type-specific maps.
|
| Short2DoubleMaps.EmptyMap |
An immutable class representing an empty type-specific map.
|
| Short2DoubleMaps.Singleton |
An immutable class representing a type-specific singleton map.
|
| Short2DoubleMaps.SynchronizedMap |
A synchronized wrapper class for maps.
|
| Short2DoubleMaps.UnmodifiableMap |
An unmodifiable wrapper class for maps.
|
| Short2DoubleOpenCustomHashMap |
A type-specific hash map with a fast, small-footprint implementation whose hashing strategy
is specified at creation time.
|
| Short2DoubleOpenHashMap |
A type-specific hash map with a fast, small-footprint implementation.
|
| Short2DoubleRBTreeMap |
A type-specific red-black tree map with a fast, small-footprint implementation.
|
| Short2DoubleSortedMaps |
A class providing static methods and objects that do useful things with type-specific sorted maps.
|
| Short2DoubleSortedMaps.EmptySortedMap |
An immutable class representing an empty type-specific sorted map.
|
| Short2DoubleSortedMaps.Singleton |
An immutable class representing a type-specific singleton sorted map.
|
| Short2DoubleSortedMaps.SynchronizedSortedMap |
A synchronized wrapper class for sorted maps.
|
| Short2DoubleSortedMaps.UnmodifiableSortedMap |
An unmodifiable wrapper class for sorted maps.
|
| Short2FloatArrayMap |
A simple, brute-force implementation of a map based on two parallel backing arrays.
|
| Short2FloatAVLTreeMap |
A type-specific AVL tree map with a fast, small-footprint implementation.
|
| Short2FloatFunctions |
A class providing static methods and objects that do useful things with type-specific functions.
|
| Short2FloatFunctions.EmptyFunction |
An immutable class representing an empty type-specific function.
|
| Short2FloatFunctions.Singleton |
An immutable class representing a type-specific singleton function.
|
| Short2FloatFunctions.SynchronizedFunction |
A synchronized wrapper class for functions.
|
| Short2FloatFunctions.UnmodifiableFunction |
An unmodifiable wrapper class for functions.
|
| Short2FloatLinkedOpenHashMap |
A type-specific linked hash map with with a fast, small-footprint implementation.
|
| Short2FloatMaps |
A class providing static methods and objects that do useful things with type-specific maps.
|
| Short2FloatMaps.EmptyMap |
An immutable class representing an empty type-specific map.
|
| Short2FloatMaps.Singleton |
An immutable class representing a type-specific singleton map.
|
| Short2FloatMaps.SynchronizedMap |
A synchronized wrapper class for maps.
|
| Short2FloatMaps.UnmodifiableMap |
An unmodifiable wrapper class for maps.
|
| Short2FloatOpenCustomHashMap |
A type-specific hash map with a fast, small-footprint implementation whose hashing strategy
is specified at creation time.
|
| Short2FloatOpenHashMap |
A type-specific hash map with a fast, small-footprint implementation.
|
| Short2FloatRBTreeMap |
A type-specific red-black tree map with a fast, small-footprint implementation.
|
| Short2FloatSortedMaps |
A class providing static methods and objects that do useful things with type-specific sorted maps.
|
| Short2FloatSortedMaps.EmptySortedMap |
An immutable class representing an empty type-specific sorted map.
|
| Short2FloatSortedMaps.Singleton |
An immutable class representing a type-specific singleton sorted map.
|
| Short2FloatSortedMaps.SynchronizedSortedMap |
A synchronized wrapper class for sorted maps.
|
| Short2FloatSortedMaps.UnmodifiableSortedMap |
An unmodifiable wrapper class for sorted maps.
|
| Short2IntArrayMap |
A simple, brute-force implementation of a map based on two parallel backing arrays.
|
| Short2IntAVLTreeMap |
A type-specific AVL tree map with a fast, small-footprint implementation.
|
| Short2IntFunctions |
A class providing static methods and objects that do useful things with type-specific functions.
|
| Short2IntFunctions.EmptyFunction |
An immutable class representing an empty type-specific function.
|
| Short2IntFunctions.Singleton |
An immutable class representing a type-specific singleton function.
|
| Short2IntFunctions.SynchronizedFunction |
A synchronized wrapper class for functions.
|
| Short2IntFunctions.UnmodifiableFunction |
An unmodifiable wrapper class for functions.
|
| Short2IntLinkedOpenHashMap |
A type-specific linked hash map with with a fast, small-footprint implementation.
|
| Short2IntMaps |
A class providing static methods and objects that do useful things with type-specific maps.
|
| Short2IntMaps.EmptyMap |
An immutable class representing an empty type-specific map.
|
| Short2IntMaps.Singleton |
An immutable class representing a type-specific singleton map.
|
| Short2IntMaps.SynchronizedMap |
A synchronized wrapper class for maps.
|
| Short2IntMaps.UnmodifiableMap |
An unmodifiable wrapper class for maps.
|
| Short2IntOpenCustomHashMap |
A type-specific hash map with a fast, small-footprint implementation whose hashing strategy
is specified at creation time.
|
| Short2IntOpenHashMap |
A type-specific hash map with a fast, small-footprint implementation.
|
| Short2IntRBTreeMap |
A type-specific red-black tree map with a fast, small-footprint implementation.
|
| Short2IntSortedMaps |
A class providing static methods and objects that do useful things with type-specific sorted maps.
|
| Short2IntSortedMaps.EmptySortedMap |
An immutable class representing an empty type-specific sorted map.
|
| Short2IntSortedMaps.Singleton |
An immutable class representing a type-specific singleton sorted map.
|
| Short2IntSortedMaps.SynchronizedSortedMap |
A synchronized wrapper class for sorted maps.
|
| Short2IntSortedMaps.UnmodifiableSortedMap |
An unmodifiable wrapper class for sorted maps.
|
| Short2LongArrayMap |
A simple, brute-force implementation of a map based on two parallel backing arrays.
|
| Short2LongAVLTreeMap |
A type-specific AVL tree map with a fast, small-footprint implementation.
|
| Short2LongFunctions |
A class providing static methods and objects that do useful things with type-specific functions.
|
| Short2LongFunctions.EmptyFunction |
An immutable class representing an empty type-specific function.
|
| Short2LongFunctions.Singleton |
An immutable class representing a type-specific singleton function.
|
| Short2LongFunctions.SynchronizedFunction |
A synchronized wrapper class for functions.
|
| Short2LongFunctions.UnmodifiableFunction |
An unmodifiable wrapper class for functions.
|
| Short2LongLinkedOpenHashMap |
A type-specific linked hash map with with a fast, small-footprint implementation.
|
| Short2LongMaps |
A class providing static methods and objects that do useful things with type-specific maps.
|
| Short2LongMaps.EmptyMap |
An immutable class representing an empty type-specific map.
|
| Short2LongMaps.Singleton |
An immutable class representing a type-specific singleton map.
|
| Short2LongMaps.SynchronizedMap |
A synchronized wrapper class for maps.
|
| Short2LongMaps.UnmodifiableMap |
An unmodifiable wrapper class for maps.
|
| Short2LongOpenCustomHashMap |
A type-specific hash map with a fast, small-footprint implementation whose hashing strategy
is specified at creation time.
|
| Short2LongOpenHashMap |
A type-specific hash map with a fast, small-footprint implementation.
|
| Short2LongRBTreeMap |
A type-specific red-black tree map with a fast, small-footprint implementation.
|
| Short2LongSortedMaps |
A class providing static methods and objects that do useful things with type-specific sorted maps.
|
| Short2LongSortedMaps.EmptySortedMap |
An immutable class representing an empty type-specific sorted map.
|
| Short2LongSortedMaps.Singleton |
An immutable class representing a type-specific singleton sorted map.
|
| Short2LongSortedMaps.SynchronizedSortedMap |
A synchronized wrapper class for sorted maps.
|
| Short2LongSortedMaps.UnmodifiableSortedMap |
An unmodifiable wrapper class for sorted maps.
|
| Short2ObjectArrayMap<V> |
A simple, brute-force implementation of a map based on two parallel backing arrays.
|
| Short2ObjectAVLTreeMap<V> |
A type-specific AVL tree map with a fast, small-footprint implementation.
|
| Short2ObjectFunctions |
A class providing static methods and objects that do useful things with type-specific functions.
|
| Short2ObjectFunctions.EmptyFunction<V> |
An immutable class representing an empty type-specific function.
|
| Short2ObjectFunctions.Singleton<V> |
An immutable class representing a type-specific singleton function.
|
| Short2ObjectFunctions.SynchronizedFunction<V> |
A synchronized wrapper class for functions.
|
| Short2ObjectFunctions.UnmodifiableFunction<V> |
An unmodifiable wrapper class for functions.
|
| Short2ObjectLinkedOpenHashMap<V> |
A type-specific linked hash map with with a fast, small-footprint implementation.
|
| Short2ObjectMaps |
A class providing static methods and objects that do useful things with type-specific maps.
|
| Short2ObjectMaps.EmptyMap<V> |
An immutable class representing an empty type-specific map.
|
| Short2ObjectMaps.Singleton<V> |
An immutable class representing a type-specific singleton map.
|
| Short2ObjectMaps.SynchronizedMap<V> |
A synchronized wrapper class for maps.
|
| Short2ObjectMaps.UnmodifiableMap<V> |
An unmodifiable wrapper class for maps.
|
| Short2ObjectOpenCustomHashMap<V> |
A type-specific hash map with a fast, small-footprint implementation whose hashing strategy
is specified at creation time.
|
| Short2ObjectOpenHashMap<V> |
A type-specific hash map with a fast, small-footprint implementation.
|
| Short2ObjectRBTreeMap<V> |
A type-specific red-black tree map with a fast, small-footprint implementation.
|
| Short2ObjectSortedMaps |
A class providing static methods and objects that do useful things with type-specific sorted maps.
|
| Short2ObjectSortedMaps.EmptySortedMap<V> |
An immutable class representing an empty type-specific sorted map.
|
| Short2ObjectSortedMaps.Singleton<V> |
An immutable class representing a type-specific singleton sorted map.
|
| Short2ObjectSortedMaps.SynchronizedSortedMap<V> |
A synchronized wrapper class for sorted maps.
|
| Short2ObjectSortedMaps.UnmodifiableSortedMap<V> |
An unmodifiable wrapper class for sorted maps.
|
| Short2ReferenceArrayMap<V> |
A simple, brute-force implementation of a map based on two parallel backing arrays.
|
| Short2ReferenceAVLTreeMap<V> |
A type-specific AVL tree map with a fast, small-footprint implementation.
|
| Short2ReferenceFunctions |
A class providing static methods and objects that do useful things with type-specific functions.
|
| Short2ReferenceFunctions.EmptyFunction<V> |
An immutable class representing an empty type-specific function.
|
| Short2ReferenceFunctions.Singleton<V> |
An immutable class representing a type-specific singleton function.
|
| Short2ReferenceFunctions.SynchronizedFunction<V> |
A synchronized wrapper class for functions.
|
| Short2ReferenceFunctions.UnmodifiableFunction<V> |
An unmodifiable wrapper class for functions.
|
| Short2ReferenceLinkedOpenHashMap<V> |
A type-specific linked hash map with with a fast, small-footprint implementation.
|
| Short2ReferenceMaps |
A class providing static methods and objects that do useful things with type-specific maps.
|
| Short2ReferenceMaps.EmptyMap<V> |
An immutable class representing an empty type-specific map.
|
| Short2ReferenceMaps.Singleton<V> |
An immutable class representing a type-specific singleton map.
|
| Short2ReferenceMaps.SynchronizedMap<V> |
A synchronized wrapper class for maps.
|
| Short2ReferenceMaps.UnmodifiableMap<V> |
An unmodifiable wrapper class for maps.
|
| Short2ReferenceOpenCustomHashMap<V> |
A type-specific hash map with a fast, small-footprint implementation whose hashing strategy
is specified at creation time.
|
| Short2ReferenceOpenHashMap<V> |
A type-specific hash map with a fast, small-footprint implementation.
|
| Short2ReferenceRBTreeMap<V> |
A type-specific red-black tree map with a fast, small-footprint implementation.
|
| Short2ReferenceSortedMaps |
A class providing static methods and objects that do useful things with type-specific sorted maps.
|
| Short2ReferenceSortedMaps.EmptySortedMap<V> |
An immutable class representing an empty type-specific sorted map.
|
| Short2ReferenceSortedMaps.Singleton<V> |
An immutable class representing a type-specific singleton sorted map.
|
| Short2ReferenceSortedMaps.SynchronizedSortedMap<V> |
A synchronized wrapper class for sorted maps.
|
| Short2ReferenceSortedMaps.UnmodifiableSortedMap<V> |
An unmodifiable wrapper class for sorted maps.
|
| Short2ShortArrayMap |
A simple, brute-force implementation of a map based on two parallel backing arrays.
|
| Short2ShortAVLTreeMap |
A type-specific AVL tree map with a fast, small-footprint implementation.
|
| Short2ShortFunctions |
A class providing static methods and objects that do useful things with type-specific functions.
|
| Short2ShortFunctions.EmptyFunction |
An immutable class representing an empty type-specific function.
|
| Short2ShortFunctions.Singleton |
An immutable class representing a type-specific singleton function.
|
| Short2ShortFunctions.SynchronizedFunction |
A synchronized wrapper class for functions.
|
| Short2ShortFunctions.UnmodifiableFunction |
An unmodifiable wrapper class for functions.
|
| Short2ShortLinkedOpenHashMap |
A type-specific linked hash map with with a fast, small-footprint implementation.
|
| Short2ShortMaps |
A class providing static methods and objects that do useful things with type-specific maps.
|
| Short2ShortMaps.EmptyMap |
An immutable class representing an empty type-specific map.
|
| Short2ShortMaps.Singleton |
An immutable class representing a type-specific singleton map.
|
| Short2ShortMaps.SynchronizedMap |
A synchronized wrapper class for maps.
|
| Short2ShortMaps.UnmodifiableMap |
An unmodifiable wrapper class for maps.
|
| Short2ShortOpenCustomHashMap |
A type-specific hash map with a fast, small-footprint implementation whose hashing strategy
is specified at creation time.
|
| Short2ShortOpenHashMap |
A type-specific hash map with a fast, small-footprint implementation.
|
| Short2ShortRBTreeMap |
A type-specific red-black tree map with a fast, small-footprint implementation.
|
| Short2ShortSortedMaps |
A class providing static methods and objects that do useful things with type-specific sorted maps.
|
| Short2ShortSortedMaps.EmptySortedMap |
An immutable class representing an empty type-specific sorted map.
|
| Short2ShortSortedMaps.Singleton |
An immutable class representing a type-specific singleton sorted map.
|
| Short2ShortSortedMaps.SynchronizedSortedMap |
A synchronized wrapper class for sorted maps.
|
| Short2ShortSortedMaps.UnmodifiableSortedMap |
An unmodifiable wrapper class for sorted maps.
|
| ShortArrayFIFOQueue |
A type-specific array-based FIFO queue, supporting also deque operations.
|
| ShortArrayFrontCodedList |
Compact storage of lists of arrays using front coding.
|
| ShortArrayIndirectPriorityQueue |
A type-specific array-based semi-indirect priority queue.
|
| ShortArrayList |
A type-specific array-based list; provides some additional methods that use polymorphism to avoid (un)boxing.
|
| ShortArrayPriorityQueue |
A type-specific array-based priority queue.
|
| ShortArrays |
A class providing static methods and objects that do useful things with type-specific arrays.
|
| ShortArrays.ForkJoinQuickSort | |
| ShortArrays.ForkJoinQuickSort2 | |
| ShortArrays.ForkJoinQuickSortComp | |
| ShortArrays.ForkJoinQuickSortIndirect | |
| ShortArrays.Segment | |
| ShortArraySet |
A simple, brute-force implementation of a set based on a backing array.
|
| ShortAVLTreeSet |
A type-specific AVL tree set with a fast, small-footprint implementation.
|
| ShortBigArrayBigList |
A type-specific big list based on a big array; provides some additional methods that use polymorphism to avoid (un)boxing.
|
| ShortBigArrays |
A class providing static methods and objects that do useful things with big arrays.
|
| ShortBigListIterators |
A class providing static methods and objects that do useful things with type-specific iterators.
|
| ShortBigListIterators.BigListIteratorListIterator |
A class exposing a list iterator as a big-list iterator..
|
| ShortBigListIterators.EmptyBigListIterator |
A class returning no elements and a type-specific big list iterator interface.
|
| ShortBigListIterators.UnmodifiableBigListIterator |
An unmodifiable wrapper class for big list iterators.
|
| ShortBigLists |
A class providing static methods and objects that do useful things with type-specific big lists.
|
| ShortBigLists.EmptyBigList |
An immutable class representing an empty type-specific big list.
|
| ShortBigLists.ListBigList |
A class exposing a list as a big list.
|
| ShortBigLists.Singleton |
An immutable class representing a type-specific singleton big list.
|
| ShortBigLists.SynchronizedBigList |
A synchronized wrapper class for big lists.
|
| ShortBigLists.UnmodifiableBigList |
An unmodifiable wrapper class for big lists.
|
| ShortCollections |
A class providing static methods and objects that do useful things with type-specific collections.
|
| ShortCollections.EmptyCollection |
An immutable class representing an empty type-specific collection.
|
| ShortCollections.IterableCollection |
A collection wrapper class for iterables.
|
| ShortCollections.SynchronizedCollection |
A synchronized wrapper class for collections.
|
| ShortCollections.UnmodifiableCollection |
An unmodifiable wrapper class for collections.
|
| ShortComparators |
A class providing static methods and objects that do useful things with comparators.
|
| ShortComparators.NaturalImplicitComparator |
A type-specific comparator mimicking the natural order.
|
| ShortComparators.OppositeComparator | |
| ShortComparators.OppositeImplicitComparator |
A type-specific comparator mimicking the opposite of the natural order.
|
| ShortHeapIndirectPriorityQueue |
A type-specific heap-based indirect priority queue.
|
| ShortHeapPriorityQueue |
A type-specific heap-based priority queue.
|
| ShortHeaps |
A class providing static methods and objects that do useful things with heaps.
|
| ShortHeapSemiIndirectPriorityQueue |
A type-specific heap-based semi-indirect priority queue.
|
| ShortIndirectHeaps |
A class providing static methods and objects that do useful things with indirect heaps.
|
| ShortIterators |
A class providing static methods and objects that do useful things with type-specific iterators.
|
| ShortIterators.ByteIteratorWrapper |
A wrapper promoting the results of a ByteIterator.
|
| ShortIterators.EmptyIterator |
A class returning no elements and a type-specific iterator interface.
|
| ShortIterators.UnmodifiableBidirectionalIterator |
An unmodifiable wrapper class for bidirectional iterators.
|
| ShortIterators.UnmodifiableIterator |
An unmodifiable wrapper class for iterators.
|
| ShortIterators.UnmodifiableListIterator |
An unmodifiable wrapper class for list iterators.
|
| ShortLinkedOpenCustomHashSet |
A type-specific linked hash set with with a fast, small-footprint implementation.
|
| ShortLinkedOpenHashSet |
A type-specific linked hash set with with a fast, small-footprint implementation.
|
| ShortLists |
A class providing static methods and objects that do useful things with type-specific lists.
|
| ShortLists.EmptyList |
An immutable class representing an empty type-specific list.
|
| ShortLists.Singleton |
An immutable class representing a type-specific singleton list.
|
| ShortLists.SynchronizedList |
A synchronized wrapper class for lists.
|
| ShortLists.SynchronizedRandomAccessList |
A synchronized wrapper class for random-access lists.
|
| ShortLists.UnmodifiableList |
An unmodifiable wrapper class for lists.
|
| ShortLists.UnmodifiableRandomAccessList |
An unmodifiable wrapper class for random-access lists.
|
| ShortOpenCustomHashSet |
A type-specific hash set with a fast, small-footprint implementation whose hashing strategy
is specified at creation time.
|
| ShortOpenHashSet |
A type-specific hash set with with a fast, small-footprint implementation.
|
| ShortPriorityQueues |
A class providing static methods and objects that do useful things with type-specific priority queues.
|
| ShortPriorityQueues.SynchronizedPriorityQueue |
A synchronized wrapper class for priority queues.
|
| ShortRBTreeSet |
A type-specific red-black tree set with a fast, small-footprint implementation.
|
| ShortSemiIndirectHeaps |
A class providing static methods and objects that do useful things with semi-indirect heaps.
|
| ShortSets |
A class providing static methods and objects that do useful things with type-specific sets.
|
| ShortSets.EmptySet |
An immutable class representing the empty set and implementing a type-specific set interface.
|
| ShortSets.Singleton |
An immutable class representing a type-specific singleton set.
|
| ShortSets.SynchronizedSet |
A synchronized wrapper class for sets.
|
| ShortSets.UnmodifiableSet |
An unmodifiable wrapper class for sets.
|
| ShortSortedSets |
A class providing static methods and objects that do useful things with type-specific sorted sets.
|
| ShortSortedSets.EmptySet |
An immutable class representing the empty sorted set and implementing a type-specific set interface.
|
| ShortSortedSets.Singleton |
A class representing a singleton sorted set.
|
| ShortSortedSets.SynchronizedSortedSet |
A synchronized wrapper class for sorted sets.
|
| ShortSortedSets.UnmodifiableSortedSet |
An unmodifiable wrapper class for sorted sets.
|
Provides type-specific classes for short elements or keys.
Copyright © 2019. All rights reserved.


Under development. Do not use. This simulator uses a branching process to
determine the infectiousness of individuals over time. It determines the
dates of events based on user-provided distributions. Distributions can be
provided either as distcrete
objects, as functions computing the
probability mass functions (PMF), or as vectors of numbers taken as the PMF
for values on 0, 1, ..., length(input) - 1
simulate_outbreak(duration = 100, population_size = 100, R_values, dist_incubation, dist_infectious_period, dist_reporting = NULL)
| duration | the number of days to run the simulation for |
|---|---|
| population_size | the number of susceptible hosts to use in the simulation; defaults to 100 |
| R_values | a vector of values to be used as reproduction number; values will be drawn at random from this vector to determine the expected numbero of secondary cases for each new case |
| dist_incubation | the distribution of the incubation period, i.e. the time interval between infection and onset of symtpoms |
| dist_infectious_period | the distribution of the infectious period, i.e. the time interval between the moment a case starts showing symptoms (onset) and the moment they infect new secondary cases |
| dist_reporting | (optional) the distribution of the reporting delay,
i.e. the time interval between symptom onset and the date at which the case
is notified; if |
## make toy distributions (showing the 3 possible input types) incubation <- c(0, 1, 1, 1, 1) # numbers = unscaled PMF infectious_period <- make_disc_gamma(10, 7) # distcrete object reporting <- function(x) dpois(x, 5) # PMF function set.seed(1) x <- simulate_outbreak(R = runif(100, 1, 3), # random values on [1;3] dist_incubation= incubation, dist_infectious_period = infectious_period, dist_reporting = reporting) dim(x)#> [1] 77 6head(x)#> id source date_infection date_onset date_report R #> 1 eLGzdD <NA> 0 3 12 1.954460 #> 2 MQ90i6 eLGzdD 4 5 12 2.209867 #> 3 VCEaZ4 MQ90i6 8 11 18 2.284577 #> 4 bEGjSA eLGzdD 12 13 17 2.321596 #> 5 k6rcYK eLGzdD 12 16 19 1.764776 #> 6 msP3Ki bEGjSA 15 16 19 2.514174tail(x)#> id source date_infection date_onset date_report R #> 72 K0450K S0jiBe 83 84 89 2.321596 #> 73 7a20Ap xeKC7z 83 86 91 1.403364 #> 74 41R9ih uijTrA 85 87 91 1.820168 #> 75 oiHVQb Q2diLw 86 87 91 2.284577 #> 76 vEGjkv 7a20Ap 86 88 92 2.796779 #> 77 uo5Bds shTo1z 90 94 98 1.490977#>


Tension as prisoners protest alleged killing of colleague in A'Ibom
by https://www.facebook.com/CheerfulpraiseBassey Anthony, Uyo
There is palpable tension at the Nigeria Correctional Service in Eket local government area of Akwa Ibom state as inmates in the early hours of Saturday protested the alleged killing of their colleague.
Our correspondent gathered that the protest was triggered after a prison staff allegedly beat an inmate to death Friday evening.
The irate inmates numbering over 100 insisted that the deputy comptroller in charge of NCS Eket must go even as they destroyed properties worth millions of naira including four cells internally.
In the midst of the confusion, a large number of prisoners tried to escape from custody but were stoutly prevented by warders who fired gunshots sporadically.
The source disclosed that inmates who tried to escape were injured and apprehended by the warders.
Read Also: ’24 killed by landslides, floods’
“The clinic facilities, kitchen, storehouses, pantry and other facilities and condemned the inmates cells and nearly all the facilities were destroyed,” a source who refused to be named said.
He explained that the inmates had created holes on the walls to ease their escape.
The Nation learnt that scores of heavily armed warders surrounded the hospital where the injured inmates were receiving treatment.
“The warders surrounded the hospital where the three inmates were hospitalised,” he said.
He observed that if not for the combined JTF, DSS, Police, detachment of neighbouring personnel in other local government areas including Uyo, the inmates would have escaped.
He noted that there were shooting sporadically to ensure that the inmates could not escape from the prison.


Kernel backups for Debian security updates
Wed, Jul 2, 2014author: Marcel Moreaux
Two of our most important machines, both running Debian Stable, failed to boot after a routine kernel security update. In both cases, the security update itself was not the cause of the boot failure, but merely triggered latent problems (for the full story, see below under The problem with the snapshot machine).
Also in both cases, it would have been a great help if we could have booted the old kernel/initrd. But by default, Debian does not keep backups of the kernel or initrd.
In Testing and Unstable, you might get a new kernel with a new package name; the old kernel/initrd belong to a different package from the new kernel/initrd, so they will coexist until the old package is removed. In a Stable security update however, the package name remains the same. You simply get a slightly higher version of the same package, replacing all the constituent files. If the new kernel image or initrd is unbootable for some reason, there’s no easy way to get the machine back up quickly.
We wrote a kernel pre-installation script that makes backups of the kernel/initrd, providing a safety net for these situations.
A typical Debian Wheezy machine
# dpkg -l linux-image-3.2.0-4-amd64
ii linux-image-3.2.0-4-amd64 3.2.54-2 amd64 Linux 3.2 for 64-bit PCs
# md5sum /boot/{vmlinuz,initrd}*
a9f3061e6770cd5127ee610f4ad8cd9c /boot/vmlinuz-3.2.0-4-amd64
64954138ae6ecd4fb6d595da19b828be /boot/initrd.img-3.2.0-4-amd64
# egrep '(vmlinuz|initrd)' /boot/grub/grub.cfg
linux /boot/vmlinuz-3.2.0-4-amd64 root=UUID=ff68c9e1-efea-4a2f-b011-f9d24a392b62 ro quiet
initrd /boot/initrd.img-3.2.0-4-amd64
(single user mode entries omitted)
The kernel package is linux-image-3.2.0-4-amd64, version 3.2.54-2, and /boot contains just one kernel and initrd, both of which are in GRUB.
After a kernel update
# dpkg -l linux-image-3.2.0-4-amd64
ii linux-image-3.2.0-4-amd64 3.2.57-3+deb7u2 amd64 Linux 3.2 for 64-bit PCs
# md5sum /boot/{vmlinuz,initrd}*
f9d95fba346bc7d5c6a94400c5405d24 /boot/vmlinuz-3.2.0-4-amd64
e753f3984ac4897074749c94c42e6b34 /boot/initrd.img-3.2.0-4-amd64
# egrep '(vmlinuz|initrd)' /boot/grub/grub.cfg
linux /boot/vmlinuz-3.2.0-4-amd64 root=UUID=ff68c9e1-efea-4a2f-b011-f9d24a392b62 ro quiet
initrd /boot/initrd.img-3.2.0-4-amd64
The kernel package has its version bumped to 3.2.57-3+deb7u2, and the kernel image and initrd in /boot have been completely replaced (see md5sums). If the new kernel image and/or initrd fail to boot, the machine is unbootable with manual assistance.
The fix: a kernel preinst script
Our fix for this problem is to automatically make backup copies of the kernel image and initrd files during the installation of the update.
These backups are picked up by GRUB and can be booted in case of an emergency.
The following shell script should be installed as /etc/kernel/preinst.d/local-backup
:
#! /bin/sh
# Author: Marcel Moreaux; Copyright (c) 2014 Code Yellow B.V.
# MIT-licensed (feel free to use, share, and modify, but keep attribution).
set -e
# Number of kernel backups to keep (not counting the original)
BACKUPS="4"
DIR="/boot"
VERSION="$1"
DATE="$(date '+%Y%m%d%H%M')"
echo "Making backup of kernel/initrd..." > /dev/stderr
for F in "$DIR"/*-"$VERSION"
do
# Clean up oldest copies to make room
while [ $(ls "$F"* | wc -l) -gt "$BACKUPS" ]
do
O="$(ls ${F}~~* | sort | head -1)"
echo "Removing oldest backup: $O" > /dev/stderr
rm "$O"
done
# Make backup
B="${F}~~backup$DATE"
echo "Backup $F -> $B" > /dev/stderr
cp -f "$F" "$B"
done
After a kernel update, with backups
After performing the same kernel update as above with the preinst script in place, we see the following:
# dpkg -l linux-image-3.2.0-4-amd64
ii linux-image-3.2.0-4-amd64 3.2.57-3+deb7u2 amd64 Linux 3.2 for 64-bit PCs
# md5sum /boot/{vmlinuz,initrd}*
f9d95fba346bc7d5c6a94400c5405d24 /boot/vmlinuz-3.2.0-4-amd64
a9f3061e6770cd5127ee610f4ad8cd9c /boot/vmlinuz-3.2.0-4-amd64~~backup201407021638
ed74448bee73864dfa99f9d5781b98c6 /boot/initrd.img-3.2.0-4-amd64
64954138ae6ecd4fb6d595da19b828be /boot/initrd.img-3.2.0-4-amd64~~backup201407021638
# egrep '(vmlinuz|initrd)' /boot/grub/grub.cfg
linux /boot/vmlinuz-3.2.0-4-amd64 root=UUID=ff68c9e1-efea-4a2f-b011-f9d24a392b62 ro quiet
initrd /boot/initrd.img-3.2.0-4-amd64
linux /boot/vmlinuz-3.2.0-4-amd64~~backup201407021638 root=UUID=ff68c9e1-efea-4a2f-b011-f9d24a392b62 ro quiet
initrd /boot/initrd.img-3.2.0-4-amd64~~backup201407021638
Again, the kernel version has been bumped to 3.2.57-3+deb7u2, but this time the old kernel image and initrd are backed up as ~~backup201407021638 files, alongside the new files.
The backup files are automatically picked up by update-grub
and placed in grub.cfg
.
Here’s how this looks in GRUB:
The tildes as version suffix look a bit ugly, but they are required to make sure the backups are sorted below the regular kernel image so it doesn’t boot as default. In Debian version numbers, a tilde counts as “lower” than any other character (see the Debian policy manual), so when GRUB sorts the kernel images newest-first, the non-backup kernels appear newer and go to the top of the list. Using the date as backup-versioning also ensures that the backups are sorted newest-first.
The problem with the snapshot machine
In the introduction, I mentioned that two of our machines failed to boot after a kernel update, but that the kernel update itself was not to blame. So, what happened?
This is a backup machine, keeping snapshots of a production application for a customer. It is a VM in Proxmox VE, with about 120GiB of storage, all allocated as a single root filesystem (and a small swap space). After the kernel update, GRUB exploded with “syntax error”s and “invalid command”s on boot, and manually trying to boot the kernel from the GRUB rescue shell resulted in “error: invalid magic number”. When booting from rescue media, everything seemed fine on inspection.
Why? Well, Linux accesses the disk by letting its SATA driver speak with the disk controller directly, using a linear addressing mode known as LBA48 to access up to 2^48 sectors (128PiB). This is fine. GRUB on the other hand, runs very early in the boot process and does not have SATA drivers or anything. Instead, it asks the BIOS to read some data from the disk for it. Typically this happens using a legacy addressing scheme known as CHS (cylinder-head-sector), in which the sector address to be read is split in three parts. This scheme has some limitations on the size of each of those three components, and the exact limits have changed over time.
This machine runs in a Proxmox VM, which uses KVM for its virtualization. Then I found this (emphasis mine):
Why these numbers? It’s a throwback to ancient technology: ye olde PC accessed disks using cylinder/head/sector technology, and the upper bounds on each bit are 16383, 16, 63. In my testing, KVM ignores the CHS settings in the disk image and assumes 16 heads/63 sectors, …
Aha. Assuming the number of cylinders is a 16-bit integer (a fairly common limitation), heads is 16 and sector count is 63, we get a limit of 2^16 * 16 * 63 = 66 060 288 addressable sectors, or exactly 31.5GiB. Some experimentation with moving the boot files around on the disk confirmed that with grub.cfg, the kernel image, and the initrd at 31GiB from the start of the disk, everything would work fine, but at 32GiB, GRUB would choke (probably reading the disk modulo 31.5GiB as the cylinder address overflowed). This was fixed by adding a separate /boot partition at the start of the disk, so everything GRUB needs is within the first GiB of the disk. Everything is happy again.
But, why did this only occur after a routine kernel update, when the machine had been running in production for months? That’s fairly easy to explain as well. When the machine was installed (and so when GRUB, the kernel image, and the initrd were first installed), the disk was still mostly empty. Most OSses tend to fill filesystems start-to-end, so all these files were allocated close to the start of the disk. Later, when the machine had been collecting snapshots for months, the disk had largely been filled up, only leaving space towards the end of the disk. The kernel update then installed a new kernel image, initrd and grub.cfg, all of which had to be allocated close to the end of the disk, beyond the 31.5GiB limit, inadvertently leaving the machine unbootable.
That won’t happen again because of the separate boot partition, and if it does, the kernel backups will help us get the machine back up quicker ;)
The problem with the gateway
That leaves the story of our network gateway, which suffered a similar (but completely unrelated) unexpected boot failure after the kernel update.
On this machine, GRUB was fine, it loaded the kernel and initrd without problems and booted them. But the initrd failed to find the root filesystem, and the system does really need that to finish booting. The machine is installed on a physical machine on a 2-disk Linux software RAID-1, and for some reason, the initrd refused to auto-start the RAID array.
It turned out there was a good reason for this.
Originally, the machine was named foo, but later we established a naming scheme and we renamed the machine to bar.
What I didn’t know is - md arrays have a name (as seen in the output of mdadm -D /dev/md0
), and by default, this name is the hostname followed by a colon and a zero, foo:0 in this case.
The initrd autostarts arrays of the hostname:number format at boot.
Of course, since the hostname is now bar, the foo:0 array is ignored.
But wait, this only happened after a kernel update? Well yes. After the rename, the configration in the initrd still contained foo as hostname, so the old initrd would autostart foo:0 just fine. After the kernel update, the initrd was regenerated with the proper hostname bar, and it would no longer autostart foo:0. Oops.
This was fixed by renaming the array to bar:0, which was surprisingly tricky.
The only way to do this using mdadm is during the assemble action, which is only possible when the array has not yet been started.
This means it’s impossible to do this on a live system, as the root filesystem was on the array.
Luckily, it can be done from the failing initrd with mdadm --assemble /dev/md0 --update=name --name=bar:0 /dev/sd[ab]1
.
This assembled the array, updating its name to bar:0.
After a reboot, the new initrd now boots fine.


Please use the left navigation bar to browse through this support. Let’s go !
Installation
Before install, please make sure you have the components bellow enable on your serverPHP 7.3 or greater (with all default PHP functions enabled including exec(), etc.)
MySQL 5.6 or greater (The MySQL user need to have a full privilege to manage the database)
BCMath PHP Extension
Ctype PHP Extension
Fileinfo PHP extension
JSON PHP Extension
Mbstring PHP Extension
OpenSSL PHP Extension
PDO PHP Extension
Tokenizer PHP Extension
XML PHP Extension
GD PHP Extension (or Imagick PHP Extension)
PHP Zip Archive
Rewrite Module (Apache or Nginx)
PHP.INI Requirements
open_basedir must be disabled
File and folder permissions
/bootstrap 775
/storage 775 (recursively)
Installation with Apache
Creating a new Database
First thing you want to do before installing LaraClassified is to create a new database on your mysql server. If you already know how to do this/or have already created one just skip to the next step.
Your hosting provider will most likely have phpMyAdmin as mysql manager. If that is the case here is a step by step guide (if not the process will be very similar on other managers).
Login to your control panel, find and click phpMyAdmin link.
Click on the database tab in the top menu, enter any name for your database and click create.
Uploading Files
After creating a database, unzpip the file you donwloaded from CodeCanyon and upload the contents of LaraClassified folder to your server
root, usually /path/to/www/
or /path/to/html/
or /path/to/httpdocs/
or /path/to/public_html/
.
Launch the Installer
After you created a database and uploaded the files, simply open up your site in the browser (like http://mysite.com, you will redirect to http://mysite.com/install) and follow on-screen instructions to complete the installation.
Installation with Nginx
- Put all the LaraClassified package files to your server root, usually
/path/to/www/
or/path/to/html/
or/path/to/httpdocs/
or/path/to/public_html/
and set your server configuration like this:
root "/path/to/www/public";
location / {
try_files $uri $uri/ /index.php?$query_string;
}
- Then restart Nginx.
- Create a MySQL database, add user to it with full permissions.
- Go to the script's installation URL. For example
http://mysite.com/install
- And follow the web installation wizard.
Installation on localhost
- You have to create a local virtual host by using a domain name (eg.
http://mysite.localhost
) instead of localhost (http://localhost/mysite
).
For more information, please see this article: Using a domain name instead of localhost with XAMPP, WAMP or MAMP. - Restart your server.
- Create a MySQL database, add user to it with full permissions.
- Go to the script's installation URL. For example
http://mysite.localhost/install
- And follow the web installation wizard.
Upgrade to new versions
Upgrade
- Make sure you have backup your website (files and database, including your language files) before making upgrade.
-
If you have made any CSS customization, backup your
/public/css/custom.css
file and overwrite its latest version after update.
(If you didn't make any CSS customization you can skip this step). -
If you have made any translations, backup your language files in the
/resources/lang/
folder, and merge their content after update.
(If you didn't make any translations you can skip this step).
- Download the latest version from CodeCanyon.
-
Copy the
.zip
file you have downloaded to the root of your server (same place where files were uploaded during installation). -
Extract the
.zip
file (you have uploaded) into the root directory and overwrite old files. - (If you have installed any plugins) Update them to their latest version.
- Visit the URL
http://yoursite.com/upgrade
and clickUpgrade Now
button (Make sure you are logged in as admin). - Once update is completed you will be redirected back to homepage.
No users, data, uploads or settings will be lost on your site when applying updates.
If your server or hosting provider uses some kind of file caching (supercacher, opcache, cloudflare cache etc) you will need to clear that cache after updating, otherwise some changes from the update might not work properly.
- Find Your Purchase Code
- Add a new entry for your purchase code in the
/.env
file, like this:PURCHASE_CODE=yourpurchasecode
or Log in to your Admin panel -> Setup -> General Settings -> Application -> Purchase Code and Edit the line to add your Purchase Code
Upgrade Notes
- Exception of v7.1.0:
- You have to upload/replace the
/storage/app/public/app/default/
folder on your server before or after running the upgrade URL.
- In the v5.1+ you have to activate all the purchased plugins (add-ons) using their purchase code from the Admin panel -> Plugins.
- (Only) If your website is running on the v4.8 or lower, it's important to know that:
- Before starting the upgrade, you have to move all the contents of the
/public/uploads/
directory to the/storage/app/public/
directory.
- (Only) If your website is running on the v4.3 or lower: By upgrading your website to the v4.4 it's important to know that:
- You will lose all your
Admin panel -> Settings
entries, and you will need to setup your website again. - You will lose all the current internal messages (that were also sent by email address to their receivers)
- If you want to re-activate the ads review (ads approbation) option, all the existing ads will be approved automatically.
- You will need to (uninstall and) re-install all the script's plugins after the upgrade.
- You will lose all the plugins data and settings (except the payment plugins transactions entries).
- (Only) If your website is running on the v3.4 or lower, before starting the upgrade you have to:
- add this entry:
APP_VERSION=X.X
in the/.env
file (eg:APP_VERSION=3.4
if your current version is 3.4 orAPP_VERSION=1.4
for 1.4). - add a new entry for your purchase code in the
/.env
file, like this:PURCHASE_CODE=yourpurchasecode
. - (if exists) change
DB_PREFIX=
toDB_TABLES_PREFIX=
in the/.env
file. - (if exist) remove the
SESSION_DRIVER=file
andSESSION_DOMAIN=.mysite.com
entries from the/.env
file.
SMTP
What is SMTP ?Short for Simple Mail Transfer Protocol, a protocol for sending e-mail messages between servers. Most e-mail systems that send mail over the Internet use SMTP to send messages from one server to another; the messages can then be retrieved with an e-mail client using either POP or IMAP. In addition, SMTP is generally used to send messages from a mail client to a mail server. This is why you need to specify both the POP or IMAP server and the SMTP server when you configure your e-mail application.
In short it used to send emails to your site users..!! You can use any SMTP service provider.- Your own hosting SMTP server
- Mandrill
- Amazon SES
- Mailgun
- Sparkpost
- Gmail, Yahoo or some other email provider
Own SMTP Server
Using your own or some SMTP server Admin panel setup- Go to your Admin panel -> Setup -> General Settings -> Mail
- Set 'Mail Mailer', 'Mail Host', 'Mail Port', 'Mail Encryption', 'Mail Username' and 'Mail Password'
- And save your changes.
/.env
file setup
- Login to your FTP account.
- Open and Edit
/.env
file. - Copy and paste your server smtp details in the file.
MAIL_MAILER=smtp
MAIL_HOST=your-mail-host
MAIL_PORT=your-mail-port
MAIL_USERNAME=your-mail-username
MAIL_PASSWORD=your-mail-password
MAIL_ENCRYPTION=your-mail-encryption
- Replace
your-mail-host
,your-mail-port
,your-mail-username
,your-mail-password
andyour-mail-encryption
. - Save and Upload the file
- You are done.
/.env
file settings override those of the admin panel.
Mailgun
Admin panel setup- Go to your Admin panel -> Setup -> General Settings -> Mail
- Set 'Mail Mailer', 'Mailgun Domain', 'Mailgun Secret', 'Mail Host', 'Mail Port', 'Mail Encryption', 'Mail Username' and 'Mail Password'
- And save your changes.
/.env
file setup
- Login to your FTP account.
- Open and edit
/.env
file. - Remove all your current Mail configuration variables.
- Add the lines below:
MAIL_MAILER=mailgun
MAILGUN_DOMAIN=your-mailgun-domain
MAILGUN_SECRET=your-mailgun-secret
MAIL_HOST=your-mailgun-smtp-host
MAIL_PORT=your-mailgun-smtp-port
MAIL_USERNAME=your-mailgun-smtp-username
MAIL_PASSWORD=your-mailgun-smtp-password
MAIL_ENCRYPTION=your-mailgun-smtp-encryption
- Replace
your-mailgun-domain
,your-mailgun-secret
,your-mailgun-smtp-host
,your-mailgun-smtp-port
,your-mailgun-smtp-username
,your-mailgun-smtp-password
andyour-mailgun-smtp-encryption
. - Save and upload the file.
- You are done.
/.env
file settings override those of the admin panel.
Postmark
Admin panel setup- Go to your Admin panel -> Setup -> General Settings -> Mail
- Set 'Mail Mailer', 'Postmark Token', 'Mail Host', 'Mail Port', 'Mail Encryption', 'Mail Username' and 'Mail Password'
- And save your changes.
/.env
file setup
- Login to your FTP account.
- Open and edit
/.env
file. - Remove all your current Mail configuration variables.
- Add the lines below:
MAIL_MAILER=postmark
POSTMARK_TOKEN=your-postmark-token
MAIL_HOST=your-postmark-smtp-host
MAIL_PORT=your-postmark-smtp-port
MAIL_USERNAME=your-postmark-smtp-username
MAIL_PASSWORD=your-postmark-smtp-password
MAIL_ENCRYPTION=your-postmark-smtp-encryption
- Replace
your-postmark-secret
,your-postmark-smtp-host
,your-postmark-smtp-port
,your-postmark-smtp-username
,your-postmark-smtp-password
andyour-postmark-smtp-encryption
. - Save and upload the file.
- You are done.
/.env
file settings override those of the admin panel.
Amazon SES
Admin panel setup- Go to your Admin panel -> Setup -> General Settings -> Mail
- Set 'Mail Mailer', 'SES Key', 'SES Secret' and 'SES Region'
- And save your changes.
/.env
file setup
- Login to your FTP account.
- Open and edit
/.env
file. - Remove all your current Mail configuration variables.
- Add the lines below:
MAIL_MAILER=ses
SES_KEY=your-ses-key
SES_SECRET=your-ses-secret
SES_REGION=your-ses-region
- Replace
your-ses-key
,your-ses-secret
andyour-ses-region
. - Save and upload the file.
- You are done.
/.env
file settings override those of the admin panel.
Mandrill
Personally we use mandrill and yes it's free- Visit mandrill dashboard.
- Generate a API key, via this page https://mandrillapp.com/settings/
- Copy the key.
- Go to your Admin panel -> Setup -> General Settings -> Mail
- Set 'Mail Mailer', 'Mandrill Secret', 'Mail Host', 'Mail Port', 'Mail Encryption', 'Mail Username' and 'Mail Password'
- And save your changes.
/.env
file setup
- Login to your FTP account.
- Open and edit
/.env
file. - Remove all your current Mail configuration variables.
- Add the lines below:
MAIL_MAILER=mandrill
MANDRILL_SECRET=your-mandrill-secret
MAIL_HOST=your-mandrill-smtp-host
MAIL_PORT=your-mandrill-smtp-port
MAIL_USERNAME=your-mandrill-smtp-username
MAIL_PASSWORD=your-mandrill-smtp-password
MAIL_ENCRYPTION=your-mandrill-smtp-encryption
- Replace
your-mandrill-secret
,your-mandrill-smtp-host
,your-mandrill-smtp-port
,your-mandrill-smtp-username
,your-mandrill-smtp-password
andyour-mandrill-smtp-encryption
. - Save and upload the file.
- You are done.
/.env
file settings override those of the admin panel.
Sparkpost
Admin panel setup- Go to your Admin panel -> Setup -> General Settings -> Mail
- Set 'Mail Mailer', 'Sparkpost Secret', 'Mail Host', 'Mail Port', 'Mail Encryption', 'Mail Username' and 'Mail Password'
- And save your changes.
/.env
file setup
- Login to your FTP account.
- Open and edit
/.env
file. - Remove all your current Mail configuration variables.
- Add the lines below:
MAIL_MAILER=sparkpost
SPARKPOST_SECRET=your-sparkpost-secret
MAIL_HOST=your-sparkpost-smtp-host
MAIL_PORT=your-sparkpost-smtp-port
MAIL_USERNAME=your-sparkpost-smtp-username
MAIL_PASSWORD=your-sparkpost-smtp-password
MAIL_ENCRYPTION=your-sparkpost-smtp-encryption
- Replace
your-sparkpost-secret
,your-sparkpost-smtp-host
,your-sparkpost-smtp-port
,your-sparkpost-smtp-username
,your-sparkpost-smtp-password
andyour-sparkpost-smtp-encryption
. - Save and upload the file.
- You are done.
/.env
file settings override those of the admin panel.
Payment Providers
The script support these payment providers:
- Paypal
Paypal is one of the best payment gateway in the world, it support all credit cards and accepted in many countries.
Paypal
Visit the official documentation: https://developer.paypal.com/developer/applications/create
Setup
- Copy and paste the API username, password, and signature into the /.env file.
- Open and edit the
/.env
file by providing your keys like this:
PAYPAL_MODE=sandbox<EMAIL_ADDRESS>PAYPAL_PASSWORD=YourPassword PAYPAL_SIGNATURE=YourSignatrue
- You have to use
PAYPAL_MODE=live
in your live server. - You are done.
Now visit Admin Panel -> Payment -> Packages to set the packages and currencies.
SMS APIs
This functionality is only available in the version v3.1+ allowing to verify the mobile number of the users and offering the possibility to the sellers to be contacted by SMS.
How to set up?
- Admin panel -> Setup -> General Settings -> Mail -> 'SMS Driver' to set the default SMS API.
- You can use both NEXMO or TWILIO as your SMS provider API:
NEXMO
NEXMO - https://www.nexmo.com
Admin panel setup- Go to your Admin panel -> Setup -> General Settings -> SMS
- Set 'Nexmo Key', 'Nexmo Secret' and 'Nexmo From'
- And save your changes.
/.env
file setup
- Login to your FTP account.
- Open and edit
/.env
file. - Remove all your current Mail configuration variables.
- Add the lines below:
NEXMO_KEY=your-nexmo-key NEXMO_SECRET=your-nexmo-secret NEXMO_FROM=your-sender-number
TWILIO
TWILIO - https://www.twilio.com
Admin panel setup- Go to your Admin panel -> Setup -> General Settings -> SMS
- Set 'Twilio Account SID', 'Twilio Auth Token' and 'Twilio From'
- And save your changes.
/.env
file setup
- Login to your FTP account.
- Open and edit
/.env
file. - Remove all your current Mail configuration variables.
- Add the lines below:
TWILIO_ACCOUNT_SID=your-twilio-account-sid TWILIO_AUTH_TOKEN=your-auth-token TWILIO_FROM=your-sender-number
Others SMS Configurations
Now, go to your Admin panel :
- Admin panel -> Setup -> General Settings -> SMS -> 'Enable Phone Verification' to enabling/disabling the mobile Phone number verification.
- Admin panel -> Setup -> General Settings -> SMS -> 'Enable SMS Message' to enabling/disabling the SMS sending between users.
You are done.
Social Login
/.env
file matches your site url. It should be set automatically, but you might need to do it manually in some rare cases.
- Register for regular Facebook account, if you don't already have one.
- Open this url, and Create a New App.
- Get the new app settings.
Now, you have to setup your admin panel:
- Go to your Admin panel -> Setup -> General Settings -> Social Login
- For Facebook: set 'Facebook Client ID' and 'Facebook Client Secret'
- And save your changes.
- You are done.
Or place all the config values or API keys in the /.env
file.
Facebook example in /.env
file
FACEBOOK_CLIENT_ID=your-facebook-client_id FACEBOOK_CLIENT_SECRET=your-facebook-client_secret
NOTE:
- The
/.env
file settings override those of the admin panel. - The "OAuth redirect URI" is: (
http://
orhttps://
)domain.tld/auth/facebook/callback
orwww.domain.tld/auth/facebook/callback
- Register for regular LinkedIn account, if you don't already have one.
- Open this url, and Create a New App.
- Get the new app settings.
Now, you have to setup your admin panel:
- Go to your Admin panel -> Setup -> General Settings -> Social Login
- For LinkedIn: set 'LinkedIn Client ID' and 'LinkedIn Client Secret'
- And save your changes.
- You are done.
Or place all the config values or API keys in the /.env
file.
LinkedIn example in /.env
file
LINKEDIN_CLIENT_ID=your-linkedin-client_id LINKEDIN_CLIENT_SECRET=your-linkedin-client_secret
NOTE:
- The
/.env
file settings override those of the admin panel. - The "OAuth redirect URI" is: (
http://
orhttps://
)domain.tld/auth/linkedin/callback
orwww.domain.tld/auth/linkedin/callback
- Register for regular Twitter account, if you don't already have one.
- Open this url, and Create a New App.
- Get the new app settings.
Now, you have to setup your admin panel:
- Go to your Admin panel -> Setup -> General Settings -> Social Login
- For Twitter: set 'Twitter Client ID' and 'Twitter Client Secret'
- And save your changes.
- You are done.
Or place all the config values or API keys in the /.env
file.
Twitter example in /.env
file
TWITTER_CLIENT_ID=your-twitter-client_id TWITTER_CLIENT_SECRET=your-twitter-client_secret
NOTE:
- The
/.env
file settings override those of the admin panel. - The "OAuth redirect URI" is: (
http://
orhttps://
)domain.tld/auth/twitter/callback
orwww.domain.tld/auth/twitter/callback
- And before configuring your Twitter app in the script, you have to change its Permissions (on developer.twitter.com) by enabling the "Request email address from users" option.
Google (deprecated)
- Register for regular Google account, if you don't already have one.
- Open this url, and Create a New App.
- Get the new app settings.
Now, you have to setup your admin panel:
- Go to your Admin panel -> Setup -> General Settings -> Social Login
- For Google: set 'Google Client ID' and 'Google Client Secret'
- And save your changes.
- You are done.
Or place all the config values or API keys in the /.env
file.
Google example in /.env
file
GOOGLE_CLIENT_ID=your-google-client_id GOOGLE_CLIENT_SECRET=your-google-client_secret
NOTE:
- The
/.env
file settings override those of the admin panel. - The "OAuth redirect URI" is: (
http://
orhttps://
)domain.tld/auth/google/callback
orwww.domain.tld/auth/google/callback
Google Maps
You have to activate Google Maps Embed API and Google Maps JavaScript API in your Google Console.
Admin panel setup
- Go to your Admin panel -> Setup -> General Settings -> Others
- Set ‘Google Maps key‘
- And save your changes.
Or use /.env file setup
- Login to your FTP account.
- Open and edit
.env
file. - Add this code:
GOOGLE_MAPS_API_KEY=your-googlemaps-key
- Replace
your-googlemaps-key
. - Save and upload the file.
- You are done.
Captcha
Recaptcha Key
What is recaptcha
reCAPTCHA is a free CAPTCHA service that helps protect your site against spam, malicious registrations and other forms of attacks where computers try to disguise themselves as a human. reCAPTCHA comes in the form of a widget that you can easily add to your blog, forum, registration.
How to setup.- Visit https://www.google.com/recaptcha/admin
- Follow the steps by select the reCAPTCHA version and get your site key and your secret key.
Admin panel setup
- Go to the Admin panel -> Setup -> General Settings -> Security
- Enable the feature from the 'Enable reCAPTCHA' field
- Set 'reCAPTCHA version', 'reCAPTCHA site key' and 'reCAPTCHA secret key'
- And save your changes.
Or use /.env
file setup
- Login to your FTP account
- Open
/.env
file. - Provide the keys there.
RECAPTCHA_VERSION=your-recaptcha-keys-version
RECAPTCHA_SITE_KEY=your-recaptcha-site_key
RECAPTCHA_SECRET_KEY=your-recaptcha-secret_key
-
Replace
your-recaptcha-keys-version
(by v2 or v3), replaceyour-recaptcha-site_key
andyour-recaptcha-secret_key
by your keys. - Save the file.
- You are done.
NOTE: The /.env
file settings override those of the admin panel.
Image Processing
Image Setting
The script support for two image processor.
- GD
- Imagick
GD is very basic image resizing driver for PHP and only to used on basic website. It has memory issues and doesn't perform well at all conditions.
If you want your site for pro-photography or better quality images we prefer you to use imagick instead for better quality results.
Please make sure that your server has imagick installed.
Imagick
First make sure that you have imagick installed on your server, if not then contact your hosting provider.
- Login to your FTP account.
- Open and edit
/.env
file.
IMAGE_DRIVER=gd
Change it to
IMAGE_DRIVER=imagick
- You are done.
Geo location
How can I enable Geo location?
- Visit the Admin panel -> Setup -> General Settings -> Geo Location and turn 'Enable Geolocation' to ON by checking the checkbox.
- If you want to redirect users to their country's website based on their IP address, you should leave blank the parameter "Default Country" in your Admin panel -> Setup -> General Settings -> Geo Location. ATTENTION: When you reset this option by setting a default country, you need erase all your browser's data (like: historic, hosted app's data and cache, etc.) to see the effect of the change.
- (Optional) Go to: https://dev.maxmind.com/geoip/geoip2/geolite2/
- (Optional) Download the latest binary version of the 'GeoLite2 City' database.
- (Optional) Extract it in the Maxmind database folder at
/storage/database/maxmind/
like this/storage/database/maxmind/GeoLite2-City.mmdb
You can replace the current file (if exists) to update the Maxmind database. - You are done.
SVG Maps
The script uses Simplemaps SVG maps (http://simplemaps.com/resources/svg-maps). And the map of some countries (Kosovo, some islands, etc.) are not available.
For some countries you need to edit the SVG files to change some states or provinces name etc. You can find all the SVG maps files in the /public/images/maps/
directory.
 So you can buy a license for some missing SVG maps and hire a local developer to add them for your website (based on current code). You can also disable the SVG maps from your Admin panel.
Countries Data
Geonames Database
It is important to know that the script uses Geonames database (http://www.geonames.org) (their most structured database) for data on cities and administrative divisions.
But, sadly, this database is not complete for any country. And you need to update this database (from your Admin panel -> Setup -> General Settings -> International -> Countries -> "Admin. Division x" or "Cities") by adding new data (respecting the Geonames data format) or by modifying existing data or by deleting them.
From v3.1+ you have to update the countries locations database from your Admin panel -> Setup -> General Settings -> International -> Countries (see the screenshot below)
The script does not support certain countries (Kosovo, some islands, etc.) automatically because the data in these countries are not reliable. And you will need to add the missing (or incorrect) data manually from your admin panel.
Your own Database
You can also delete all data from Geoname and add your own data.
To do this, you need to:
- Clear the "subadmin1", "subadmin2" and "cities" tables in your database (using phpMyAdmin)
- Add new data from your Admin panel for your country (or for active countries)
Languages
How can I add new languages?
- Go to your Admin panel -> Setup -> Languages
- Click 'Add language'
- Go to the translation folder at
/resources/lang
- The script has been duplicated the folder
/resources/lang/en/
to/resources/lang/<abbr>/
- NOTE: Don't forget to translate the database translatable entries from the Admin panel (Users -> Titles, Ads -> Ad Types, Ads -> Categories, Setup -> Packages, Setup -> Report Type, etc.).
How can I change the default language?
- Go to your Admin panel -> Setup -> Languages
- Create a new language entry and check the "Default" field. Or click on Edit to edit an existing language and check "Default".
- Save all of changes
- You are done.
- To prevent the missing translations in the new default language, please open the file
/config/app.php
and change thefallback_locale
value with your default language<abbr>
value (e.g.de
). Save your files on your server.
How can I edit translations?
- Go to the translation folder at
/resources/lang/
(each language has his language code as folder name). - Go to the folder of the language you wish to translate and their files (e.g.
global.php
contains 90% of the site’s texts, mail.php for emails contents, etc.). - To translate a file, you must change the values and not the keys of PHP array.
- Save your files on your server.
- Your are done.
- NOTE: It's important to know the script does not support the RTL direction.
How can I disable languages?
- Go to your Admin panel -> Setup -> Languages
- Select a language and edit it.
- Uncheck ‘Active’ checkbox and save.
How can I delete languages?
- Go to your LaraClassified Admin panel -> Setup -> Languages
- Select a language and delete it.
- IMPORTANT: By deleting the language, the language files folder
/resources/lang/<abbr>
will be also removed.
How To
How can I set the Default country?
- Go to your Admin panel -> Setup -> General Settings -> Geo Location and set 'Default Country' with your country code (only ISO alpha-2 codes are accepted). From v2.x or above the script set the default country during installation.
- Your are done.
How can I set the Default currency?
- The default currency will be that of the current country, except the Packages's currency that you can set from Admin panel -> Setup -> Packages.
How can I setup the packages/Plans?
- Go to your Admin panel -> Setup -> Packages
- Select a package and edit it
- NOTE: You can add new packages or delete current packages in the actual version.
How can I setup the advertising code (e.g. Adsense)?
- Go to your Admin panel -> Setup -> Advertisings
- Edit 'top' and 'bottom' code.
- The code will be displayed on the search results pages and the ads page.
- Your are done.
How can I setup Recaptcha?
- Go to your Admin panel -> Setup -> General Settings -> Security
- Turn ON or OFF 'Enable reCAPTCHA'
- Set 'reCAPTCHA public key' and 'reCAPTCHA private key'
- And save your changes.
Cron Job
How can I start the Scheduler?
The Scheduler will execute:- The Ads Clear command (that auto archives and deletes ads after expiration) every hour.
- The Cache and Views Clear commands, the latest day of every week at 6:00.
When using the scheduler, you only need to add the following Cron entry to your server.
* * * * * {PHP_BIN_PATH} /path/to/public_html/artisan schedule:run >> /dev/null 2>&1
This Cron will call the Laravel command scheduler every minute. When the schedule:run
command is executed, Laravel will evaluate your scheduled tasks and runs the
tasks that are due.
NOTE
{PHP_BIN_PATH}
=> Ex:/usr/bin/php7.1.3
,/usr/bin/php
,/usr/lib/php
/path/to/public_html/
=> You have to replace this path by your real path.- Don't hesitate to ask more information about it from your hosting provider.
- You can disable the Auto Cache and Views Clear command by adding this variable:
DISABLE_CACHE_AUTO_CLEAR=1
in the/.env
file.
More information about Cron Job:
- https://crontab.guru/every-1-hour
- https://code.tutsplus.com/tutorials/scheduling-tasks-with-cron-jobs--net-8800
- http://askubuntu.com/questions/2368/how-do-i-set-up-a-cron-job
How does the Ads Clear command work?
After setting it up to run every hour (for example), you can consider 2 cases:
1. Regular Ads
You have to set up the options below from the Admin panel -> Setup -> General Settings -> Cron:
- Unactivated Ads Expiration: After this time (in days) the unactivated ads will be deleted
- Activated Ads Expiration: After this time (in days) the activated ads will be archived
- Archived Ads Expiration: After this time (in days) the archived ads will be removed
2. Premium/Sponsored/Paid Ads
- After the Packages duration time (in days) that you have set up from the Admin panel -> Setup -> Packages -> [EDIT] -> Duration, the Premium Ads become Regular Ads.
- And then, the Regular Ads rules (seen in #1) are applied to clear the website database.
Backup
Before using this feature, you have to set your MySQL dump binary path with the variable DB_DUMP_BINARY_PATH
in the /.env
file.
Example with MAMP on Mac OS: DB_DUMP_BINARY_PATH=/Applications/MAMP/Library/bin/
. Note: You have to set only the path, so without mysqldump
.
If local disk is used, you can get the backups on your server in the /storage/backups/
directory.
Important: The /storage/backups/
directory is NOT the MySQL dump binary (mysqldump
) path.
So if you don't know your server's mysqldump
path, you have to contact your host to get more information about that.
Manual Backup
Go to the Admin panel -> Backups to make the backups manually.
Automatic Backup
Go to the Admin panel -> Setup -> General Settings -> Backup to schedule backups and their clearing up.
Backup Storage
Go the Admin panel -> Setup -> General Settings -> Backup to select a storage type for the backups.
For local storage, select the Local Only
option and save the form. For cloud storage, select the Cloud Only
or Local and
Cloud
options and save the form.
Local Only
: The backup will be save on the website server only.Cloud Only
: The backup will be save on the cloud storage only.Local and Cloud
: The backup will be save both on the website server and on the cloud storage.
Cloud Storage
FTP
You have to add the config below in your /.env
file and you have to set the FILESYSTEM_CLOUD=
variable to ftp
like below and
replace
the FTP
parameters.
FILESYSTEM_CLOUD=ftp
FTP_HOST=your-ftp-host
FTP_USERNAME=your-ftp-username
FTP_PASSWORD=your-ftp-password
FTP_PORT=21
FTP_ROOT=/path/to/storage/root/
FTP_PASSIVE=true
FTP_SSL=true
FTP_TIMEOUT=30
SFTP
You have to add the config below in your /.env
file and you have to set the FILESYSTEM_CLOUD=
variable to sftp
like below and replace
the SFTP parameters.
FILESYSTEM_CLOUD=sftp
SFTP_HOST=your-sftp-host
SFTP_USERNAME=your-sftp-username
SFTP_PASSWORD=your-sftp-password
SFTP_SSH_PRIVATE_KEY=
SFTP_PORT=22
SFTP_ROOT=/path/to/storage/root/
SFTP_TIMEOUT=30
Amazon S3
You have to add the config below in your /.env
file and you have to set the FILESYSTEM_CLOUD=
variable to s3
like below and replace the
Amazon S3 parameters.
FILESYSTEM_CLOUD=s3
AWS_ACCESS_KEY_ID=your-s3-access-key
AWS_SECRET_ACCESS_KEY=your-s3-secret-key
AWS_DEFAULT_REGION=your-s3-region-code
AWS_BUCKET=your-s3-bucket
AWS_URL=
Dropbox
You have to add the config below in your /.env
file and you have to set the FILESYSTEM_CLOUD=
variable to dropbox
like below and replace
the Dropbox parameters.
FILESYSTEM_CLOUD=dropbox
DROPBOX_ROOT=path/to/storage/root
DROPBOX_AUTHORIZATION_TOKEN=your-dropbox-authorization-token
Backblaze
You have to add the config below in your /.env
file and you have to set the FILESYSTEM_CLOUD=
variable to backblaze
like below and
replace the Backblaze parameters.
FILESYSTEM_CLOUD=backblaze
BACKBLAZE_ACCOUNT_ID=your-backblaze-account-id
BACKBLAZE_APPLICATION_KEY=your-backblaze-app-key
BACKBLAZE_BUCKET=your-backblaze-bucket
DigitalOcean
You have to add the config below in your /.env
file and you have to set the FILESYSTEM_CLOUD=
variable to digitalocean
like below and
replace the DigitalOcean parameters.
FILESYSTEM_CLOUD=digitalocean
DIGITALOCEAN_KEY=your-s3-access-key
DIGITALOCEAN_SECRET=your-s3-secret-key
DIGITALOCEAN_REGION=your-s3-region-code
DIGITALOCEAN_BUCKET=your-s3-bucket
Credits
- Laravel – https://laravel.com
- Maxmind – https://www.maxmind.com
- Geonames – https://www.geonames.org
- Simplemaps – https://simplemaps.com
- and more...


kd.Key Class
Represents a key on the keyboard. You'll never actually call this method
directly; Key Objects for every key that Keydrown supports are created for
you when the library is initialized (as in, when the file is loaded). You
will, however, use the prototype
methods below to bind functions to key
states.
Constructor
kd.Key
-
keyCode
Parameters:
-
keyCode
NumberThe keyCode of the key.
Item Index
Methods
Methods
down
-
opt_handler
Bind a function to be called when the key is held down.
Parameters:
-
opt_handler
Function=The function to be called when the key is held down. If omitted, this function invokes whatever handler was previously bound.
isDown
()
Boolean
Returns whether the key is currently pressed or not.
Returns:
True if the key is down, otherwise false.
press
-
opt_handler
-
opt_evt
Bind a function to be called when the key is pressed. This handler will not fire again until the key is released — it does not repeat.
Parameters:
-
opt_handler
Function=The function to be called once when the key is pressed. If omitted, this function invokes whatever handler was previously bound.
-
opt_evt
KeyboardEvent=If this function is being called by the keydown event handler, this is the raw KeyboardEvent Object provided from the browser. This should generally not be provided by client code.
up
-
opt_handler
-
opt_evt
Bind a function to be called when the key is released.
Parameters:
-
opt_handler
Function=The function to be called when the key is released. If omitted, this function invokes whatever handler was previously bound.
-
opt_evt
KeyboardEvent=If this function is being called by the keyup event handler, this is the raw KeyboardEvent Object provided from the browser. This should generally not be provided by client code.


flavor forward
Coffees that pack a punch.
These coffees shine as an iced coffee, perfect for the summer heat.
textured & strong
textured & strong
textured & strong
textured & strong
Nespresso® Compatible
Coffee Capsules
International Delivery*
Curated from the World's
Best
Coffee Roasters
- Featured
- Price: Low to High
- Price: High to Low
- Alphabetically: A-Z
- Alphabetically: Z-A
- Oldest to Newest
- Newest to Oldest
- Best Selling
- Blend
- Blend
- Blend
smooth & juicy
Anserma Caldas
Colonna Coffee, United Kingdom
smooth & juicy
Anserma Caldas
Colonna Coffee, United Kingdom
smooth & juicy
Anserma Caldas
Colonna Coffee, United Kingdom
smooth & juicy
Anserma Caldas
Colonna Coffee, United Kingdom
smooth & juicy
Anserma Caldas
Colonna Coffee, United Kingdom
smooth & juicy
Anserma Caldas
Colonna Coffee, United Kingdom