Class LZWDecoder.LZWString
- java.lang.Object
-
- com.twelvemonkeys.imageio.plugins.tiff.LZWDecoder.LZWString
-
- All Implemented Interfaces:
java.lang.Comparable<LZWDecoder.LZWString>
- Enclosing class:
- LZWDecoder
static final class LZWDecoder.LZWString extends java.lang.Object implements java.lang.Comparable<LZWDecoder.LZWString>
-
-
Field Summary
Fields Modifier and Type Field Description (package private) static LZWDecoder.LZWString
EMPTY
(package private) byte
firstChar
(package private) int
length
(package private) LZWDecoder.LZWString
previous
(package private) byte
value
-
Constructor Summary
Constructors Modifier Constructor Description LZWString(byte code)
private
LZWString(byte value, byte firstChar, int length, LZWDecoder.LZWString previous)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(LZWDecoder.LZWString other)
LZWDecoder.LZWString
concatenate(byte value)
boolean
equals(java.lang.Object other)
int
hashCode()
java.lang.String
toString()
void
writeTo(java.nio.ByteBuffer buffer)
-
-
-
Field Detail
-
EMPTY
static final LZWDecoder.LZWString EMPTY
-
previous
final LZWDecoder.LZWString previous
-
length
final int length
-
value
final byte value
-
firstChar
final byte firstChar
-
-
Constructor Detail
-
LZWString
public LZWString(byte code)
-
LZWString
private LZWString(byte value, byte firstChar, int length, LZWDecoder.LZWString previous)
-
-
Method Detail
-
concatenate
public final LZWDecoder.LZWString concatenate(byte value)
-
writeTo
public final void writeTo(java.nio.ByteBuffer buffer)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
compareTo
public int compareTo(LZWDecoder.LZWString other)
- Specified by:
compareTo
in interfacejava.lang.Comparable<LZWDecoder.LZWString>
-
-