Skip to content

Releases: ololx/moonshine

Release version 0.13.0

28 Sep 12:19
Compare
Choose a tag to compare

[0.13.0] - 2023-09-28

Added

  • New method cardinality() in ConcurrentBitCollection interface - return the bits pop count.

Changed

  • Method toString() for the EmptyTuple that always return '(∅)'
  • Rename NonBlockingConcurrentBitSet to ConcurrentBitArray

[0.12.0] - 2023-09-08

Added

  • New class AtomicByteArray, which provides atomic operations over byte[], with operations largely analogous to other types of atomic arrays
    in java.util.concurrent.atomic.
  • New interface AtomicArrayWrapper and its implementations for AtomicByteArray, AtomicIntegerArray, and AtomicLongArray, which provides a contract for
    interacting with various atomic arrays through a unified interface; however, these wrappers will be somewhat slower than the original implementations.
  • New interface ByteUnaryOperator, representing a functional interface for implementing a unary operation with a byte primitive, analogous
    to IntUnaryOperator.
  • New interface ByteBinaryOperator, representing a functional interface for implementing a binary operation with a byte primitive, analogous
    to IntBinaryOperator.
  • New class NonBlockingConcurrentBitSet, which is a thread-safe alternative to java.util.BitSet, but is immutable and currently offers 4 operations on
    bits (get, set, flip, and clear).

[0.11.0] - 2023-07-14

Added

  • New method of() has been added to the Tuple collection, which allows create
    new Tuple instance of given values.

Release version 0.10.0

10 Jul 10:18
Compare
Choose a tag to compare

[0.10.0] - 2023-07-09

Added

  • New method `convert()`` has been added to the Tuple collection, which allows convert
    Tuple instance into other Objects.

[0.9.0] - 2023-07-06

Added

  • New method `stream()`` has been added to the Tuple collection, which allows creating a new stream
    from a Tuple object. The similar method toStream() has been deprecated and will be removed in upcoming releases.

Release version 0.8.2

24 Jun 11:00
Compare
Choose a tag to compare

[0.8.2] - 2023-06-23

Fixed

  • Fixed the behavior of the byteOrder method in the ByteOrder class. Previously, an incorrect ByteIndexOperator
    was returned, which was constructed for the size of bytes minus one instead of the actual size of bytes.
  • Fixed the behavior of ByteIndexOperator for pdp-endian in the Endianness class. Previously, if a ByteIndexOperator was constructed
    for an odd number of bytes, it could return an index out of range in the extreme positions of the array.

Added

  • New String coder/decoder realization.
  • New UUID coder/decoder realization.
  • New Date coder/decoder realization.
  • New LocalDate coder/decoder realization.
  • New LocalDateTime coder/decoder realization.
  • New ZonedDateTime coder/decoder realization.
  • New utility class for byte array operations, such as: concat, reorder, e.t.c.

Release version 0.7.0

27 Apr 16:24
3d532b3
Compare
Choose a tag to compare

[0.7.0] - 2023-04-27

Added

  • New utility classes for CPU usage measuring.
  • New class for CPU usage representation and converting.

Release version 0.6.1

11 Apr 18:08
Compare
Choose a tag to compare

[0.6.1] - 2023-04-11

Fixed

  • The WholeMemoryAllocatedMeter negative result when GC activated during measuring.

[0.6.0] - 2023-04-08

Added

  • New utility classes for allocated memory measuring.
  • New class for memory representation and converting.

Release version 0.5.0

29 Mar 11:32
Compare
Choose a tag to compare

[0.5.0] - 2023-03-29

Added

  • New utility class for encoding byte values to byte array.
  • New utility class for decoding byte array to byte value.
  • New utility class for encoding short values to byte array.
  • New utility class for decoding byte array to short value.
  • New utility class for encoding char values to byte array.
  • New utility class for decoding byte array to char value.
  • New utility class for encoding int values to byte array.
  • New utility class for decoding byte array to int value.
  • New utility class for encoding long values to byte array.
  • New utility class for decoding byte array to long value.
  • New utility class for encoding float values to byte array.
  • New utility class for decoding byte array to float value.
  • New utility class for encoding double values to byte array.
  • New utility class for decoding byte array to double value.

Release version 0.4.0

09 Feb 11:02
Compare
Choose a tag to compare

Added

New tuple method toArray(), which return an array of tuple elements
New tuple method toList(), which return a list of tuple elements
New tuple method toSet(), which return a set of tuple elements
New tuple method toStream(), which return a stream of tuple elements
New tuple method contains(), which allows to check that element contains in tuple
New tuple methods indexOf() and lastIndexOf(), which allow to get first and last index of specified element

Release version 0.3.0

29 Jan 12:58
Compare
Choose a tag to compare

[0.3.0] - 2023-01-29

Added

  • New tuple of 4 elements with the basic implementation Quadruple.
  • New tuple of 5 elements with the basic implementation Quintuple.
  • New tuple of 6 elements with the basic implementation Sextuple.
  • New tuple of 7 elements with the basic implementation Septuple.
  • New tuple of 8 elements with the basic implementation Octuple.
  • New tuple of N elements, just interface.
  • New abstraction for all tuples AbstractTuple.
  • Basic realization of method toString() for all tuples.
  • New Utility class for the checking index bounds.
  • New Utility class for the building string of tuple.

Changed

  • Method get() realization for all Tuple realizations to final.
  • Method size() realization for all Tuple realizations to final.

Snapshot version 0.3.0

29 Jan 12:48
Compare
Choose a tag to compare
Pre-release

[0.3.0] - 2023-01-29

Added

  • New tuple of 4 elements with the basic implementation Quadruple.
  • New tuple of 5 elements with the basic implementation Quintuple.
  • New tuple of 6 elements with the basic implementation Sextuple.
  • New tuple of 7 elements with the basic implementation Septuple.
  • New tuple of 8 elements with the basic implementation Octuple.
  • New tuple of N elements, just interface.
  • New abstraction for all tuples AbstractTuple.
  • Basic realization of method toString() for all tuples.
  • New Utility class for the checking index bounds.
  • New Utility class for the building string of tuple.

Changed

  • Method get() realization for all Tuple realizations to final.
  • Method size() realization for all Tuple realizations to final.

Snapshot version 0.0.1

08 Jan 07:06
21ad8ee
Compare
Choose a tag to compare
Pre-release

[0.0.1-SNAPSHOT] - 2023-01-08

Added

  • new module "moonshine-tuple" with several tuple realizations
  • new module "moonshine-stopwatch" with basic stopwatch realization