Skip to content

Commit

Permalink
1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mrsaraira committed Oct 16, 2023
1 parent f0d8909 commit e5b26f4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ plugins {
}

group = 'io.github.mrsaraira'
version = '1.0.0'
version = '1.1.0'

java {
sourceCompatibility = JavaVersion.VERSION_11
Expand Down Expand Up @@ -46,7 +46,7 @@ publishing {

pom {
name = 'constant-containers'
description = 'Flexible generic data structure for storing immutable constant values'
description = 'Flexible generic data structure for storing immutable constant values and supports complex relations'
url = 'https://github.com/mrsaraira/constant-containers.git'

licenses {
Expand Down
6 changes: 5 additions & 1 deletion src/main/java/io/github/mrsaraira/constants/Constants.java
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ public static <L, R> RelationConstant<L, R> of(@NonNull L value, @NonNull R... r
* Create a {@link RelationConstant} with its relations stored in supplied collection.
*
* @param value key value
* @param collectionSupplier collection supplier
* @param relationValues relation values
* @param <L> value type
* @param <R> relation values type
Expand All @@ -66,8 +67,9 @@ public static <L, R> RelationConstant<L, R> of(@NonNull Supplier<Collection<Cons
}

/**
* Concatenate constant values to array.
* Concatenate values to array of constants.
*
* @param values constant values
* @param <T> values type
* @return constants array
*/
Expand All @@ -82,6 +84,7 @@ public static <T> Constant<T>[] concat(@NonNull T... values) {
/**
* Concatenate relation constants to array.
*
* @param relationConstants relation constants
* @param <V> constant value type
* @param <R> relation constants value type
* @param <C> array of relation constants
Expand Down Expand Up @@ -151,6 +154,7 @@ public static <T> boolean anyValue(T value, @NonNull Collection<Constant<T>> con
* @param value value to match
* @param containers containers to match
* @param <T> values type
* @param <C> constant container with constant values type T
* @return true - if any container has a constant value equal to value parameter
*/
@SafeVarargs
Expand Down

0 comments on commit e5b26f4

Please sign in to comment.