pcollections

Immutables.org encodings for pcollections

License

License

GroupId

GroupId

com.github.thirdteeth
ArtifactId

ArtifactId

pcollections
Last Version

Last Version

0.1.4
Release Date

Release Date

Type

Type

pom
Description

Description

pcollections
Immutables.org encodings for pcollections
Project URL

Project URL

https://github.com/thirdteeth/immutables-pcollections
Source Code Management

Source Code Management

https://github.com/thirdteeth/immutables-pcollections

Download pcollections

Filename Size
pcollections-0.1.4.pom 14 KB
Browse

How to add to project

<!-- https://jarcasting.com/artifacts/com.github.thirdteeth/pcollections/ -->
<dependency>
    <groupId>com.github.thirdteeth</groupId>
    <artifactId>pcollections</artifactId>
    <version>0.1.4</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/com.github.thirdteeth/pcollections/
implementation 'com.github.thirdteeth:pcollections:0.1.4'
// https://jarcasting.com/artifacts/com.github.thirdteeth/pcollections/
implementation ("com.github.thirdteeth:pcollections:0.1.4")
'com.github.thirdteeth:pcollections:pom:0.1.4'
<dependency org="com.github.thirdteeth" name="pcollections" rev="0.1.4">
  <artifact name="pcollections" type="pom" />
</dependency>
@Grapes(
@Grab(group='com.github.thirdteeth', module='pcollections', version='0.1.4')
)
libraryDependencies += "com.github.thirdteeth" % "pcollections" % "0.1.4"
[com.github.thirdteeth/pcollections "0.1.4"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

  • pcollections-checkstyle
  • pcollections-encodings
  • pcollections-examples

immutables-pcollections

A set of Immutables encodings for PCollections.

Include the encodings in your project:

<dependency>
  <groupId>com.github.thirdteeth</groupId>
  <artifactId>pcollections-encodings</artifactId>
  <version>0.1.4</version>
</dependency>

Annotate your types with @PCollectionsEncodingEnabled. Alternatively, you can annotate a @Style annotation with @PCollectionsEncodingEnabled and have it apply to any types that are using that style. See Styles.

Now, any use of PCollections collections in your abstract value types will magically result in the generated Builder types being augmented with methods to build immutable collections element-by-element.

Versions

Version
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0