diff options
author | CGantert345 <57003061+CGantert345@users.noreply.github.com> | 2021-11-25 16:39:28 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-25 16:39:28 +0100 |
commit | c9f27f2de9b3fa713d10cb2f8014aad4e8af3070 (patch) | |
tree | ca00d8bae19bfcb5d7d55b388b568136ea62b57d /src/main/java/org/uic/barcode/asn1/datatypes/AlphabetBuilder.java | |
parent | Merge pull request #34 from UnionInternationalCheminsdeFer/1.2.7 (diff) | |
parent | test and bug fix on countermark and viaStation (diff) | |
download | UIC-barcode-c9f27f2de9b3fa713d10cb2f8014aad4e8af3070.tar UIC-barcode-c9f27f2de9b3fa713d10cb2f8014aad4e8af3070.tar.gz UIC-barcode-c9f27f2de9b3fa713d10cb2f8014aad4e8af3070.tar.bz2 UIC-barcode-c9f27f2de9b3fa713d10cb2f8014aad4e8af3070.tar.lz UIC-barcode-c9f27f2de9b3fa713d10cb2f8014aad4e8af3070.tar.xz UIC-barcode-c9f27f2de9b3fa713d10cb2f8014aad4e8af3070.tar.zst UIC-barcode-c9f27f2de9b3fa713d10cb2f8014aad4e8af3070.zip |
Diffstat (limited to '')
-rw-r--r-- | src/main/java/org/uic/barcode/asn1/datatypes/AlphabetBuilder.java | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/src/main/java/org/uic/barcode/asn1/datatypes/AlphabetBuilder.java b/src/main/java/org/uic/barcode/asn1/datatypes/AlphabetBuilder.java deleted file mode 100644 index b768897..0000000 --- a/src/main/java/org/uic/barcode/asn1/datatypes/AlphabetBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -package org.uic.barcode.asn1.datatypes; - - -public class AlphabetBuilder { - - private final StringBuilder sb = new StringBuilder(); - - public AlphabetBuilder() {} - - public String chars() { - return sb.toString(); - } - - public AlphabetBuilder withRange(char from, char to) { - for (char c = from; c <= to; c++) { - sb.append(c); - } - return this; - } - - public AlphabetBuilder withChars(String str) { - sb.append(str); - return this; - } - - public AlphabetBuilder withChars(Character... chars) { - for (char c : chars) { - sb.append(c); - } - return this; - } -} |