CharSequences

Utility methods for dealing with java.lang.CharSequence

License

License

MIT
GroupId

GroupId

com.github.marschall
ArtifactId

ArtifactId

charsequences
Last Version

Last Version

0.8.0
Release Date

Release Date

Type

Type

jar
Description

Description

CharSequences
Utility methods for dealing with java.lang.CharSequence
Project URL

Project URL

https://github.com/marschall/charsequences
Source Code Management

Source Code Management

https://github.com/marschall/charsequences

Download charsequences

How to add to project

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

Dependencies

test (6)

Group / Artifact Type Version
org.junit.jupiter : junit-jupiter-api jar
org.junit.jupiter : junit-jupiter-engine jar
org.junit.jupiter : junit-jupiter-params jar
org.hamcrest : hamcrest-junit jar 2.0.0.0
org.openjdk.jmh : jmh-core jar 1.25.2
org.openjdk.jol : jol-core jar 0.13

Project Modules

There are no modules declared in this project.

CharSequences Maven Central Javadocs Build Status

Utility methods for dealing with java.lang.CharSequence.

<dependency>
  <groupId>com.github.marschall</groupId>
  <artifactId>charsequences</artifactId>
  <version>0.8.0</version>
</dependency>

When dealing with CharSequence instead of String many convince methods are not available. While you could simply call toString() on the CharSequence this would defeat the purpose of using a CharSequence. This is project contains implementations of some of them.

They avoid allocation where possible, check out the Javadoc for more information.

Versions

Version
0.8.0
0.7.0
0.6.0
0.5.3
0.5.2
0.5.1
0.5.0
0.4.2
0.4.1
0.4.0
0.3.0
0.2.0
0.1.0