| Modifier and Type | Class and Description |
|---|---|
| public static enum | TableEntry.
EntryType describes the type of TableEntry as either: - NAME_VALUE: a table entry where both name and value exist in table - NAME: a table entry where only name is present in table - NEITHER: a table entry where neither name nor value have been found |
| Modifier and Type | Field and Description |
|---|---|
| private final boolean | huffmanName
Record Component accessed by huffmanName(). |
| private final boolean | huffmanValue
Record Component accessed by huffmanValue(). |
| private final long | |
| private final boolean | isStaticTable
Record Component accessed by isStaticTable(). |
| private final CharSequence | |
| private final TableEntry. | |
| private final CharSequence |
| Access | Constructor and Description |
|---|---|
| public | TableEntry(boolean isStaticTable, long index, CharSequence name, CharSequence value, TableEntry.
|
| public | |
| public | TableEntry(boolean isStaticTable, long index, CharSequence name, CharSequence value, TableEntry.
|
| Modifier and Type | Method and Description |
|---|---|
| public final boolean | equals(Object o)
Implements abstract java. Indicates whether some other object is "equal to" this one. |
| public final int | |
| public boolean | |
| public boolean | |
| public long | |
| pack-priv static boolean | |
| public boolean | |
| public CharSequence | |
| public TableEntry | |
| public TableEntry | |
| public TableEntry | |
| public final String | toString()
Implements abstract java. Returns a string representation of the record. |
| public TableEntry. | |
| public CharSequence |
| huffmanName | back to summary |
|---|---|
| private final boolean huffmanName Record Component accessed by huffmanName(). | |
| huffmanValue | back to summary |
|---|---|
| private final boolean huffmanValue Record Component accessed by huffmanValue(). | |
| index | back to summary |
|---|---|
| private final long index Record Component accessed by index(). | |
| isStaticTable | back to summary |
|---|---|
| private final boolean isStaticTable Record Component accessed by isStaticTable(). | |
| name | back to summary |
|---|---|
| private final CharSequence name Record Component accessed by name(). | |
| type | back to summary |
|---|---|
| private final TableEntry. Record Component accessed by type(). | |
| value | back to summary |
|---|---|
| private final CharSequence value Record Component accessed by value(). | |
| TableEntry | back to summary |
|---|---|
| public TableEntry(boolean isStaticTable, long index, CharSequence name, CharSequence value, TableEntry. | |
| TableEntry | back to summary |
|---|---|
| public TableEntry(CharSequence name, CharSequence value) | |
| TableEntry | back to summary |
|---|---|
| public TableEntry(boolean isStaticTable, long index, CharSequence name, CharSequence value, TableEntry. | |
| equals | back to summary |
|---|---|
| public final boolean equals(Object o) Implements abstract java. Doc from java. Indicates whether some other object is "equal to" this one. In addition
to the general contract of
R copy = new R(r.c1(), r.c2(), ..., r.cn());
then it must be the case that r.equals(copy).
| |
| hashCode | back to summary |
|---|---|
| public final int hashCode() Implements abstract java. Doc from java. Returns a hash code value for the record.
Obeys the general contract of | |
| huffmanName | back to summary |
|---|---|
| public boolean huffmanName() Record Component getter of huffmanName. | |
| huffmanValue | back to summary |
|---|---|
| public boolean huffmanValue() Record Component getter of huffmanValue. | |
| index | back to summary |
|---|---|
| public long index() Record Component getter of index. | |
| isHuffmanBetterFor | back to summary |
|---|---|
| pack-priv static boolean isHuffmanBetterFor(CharSequence str, boolean isName, TableEntry. | |
| isStaticTable | back to summary |
|---|---|
| public boolean isStaticTable() Record Component getter of isStaticTable. | |
| name | back to summary |
|---|---|
| public CharSequence name() Record Component getter of name. | |
| relativizeDynamicTableEntry | back to summary |
|---|---|
| public TableEntry relativizeDynamicTableEntry(long relativeIndex) | |
| toLiteralsEntry | back to summary |
|---|---|
| public TableEntry toLiteralsEntry() | |
| toNewDynamicTableEntry | back to summary |
|---|---|
| public TableEntry toNewDynamicTableEntry(long index) | |
| toString | back to summary |
|---|---|
| public final String toString() Implements abstract java. Doc from java. Returns a string representation of the record.
In accordance with the general contract of In addition to this general contract, record classes must further participate in the invariant that any two records which are equal must produce equal strings. This invariant is necessarily relaxed in the rare case where corresponding equal component values might fail to produce equal strings for themselves. | |
| type | back to summary |
|---|---|
| public TableEntry. Record Component getter of type. | |
| value | back to summary |
|---|---|
| public CharSequence value() Record Component getter of value. | |
- NAME_VALUE: a table entry where both name and value exist in table - NAME: a table entry where only name is present in table - NEITHER: a table entry where neither name nor value have been found
| Modifier and Type | Field and Description |
|---|---|
| public static final TableEntry. | |
| public static final TableEntry. | |
| public static final TableEntry. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static TableEntry. | |
| public static TableEntry. |
| NAME | back to summary |
|---|---|
| public static final TableEntry. | |
| NAME_VALUE | back to summary |
|---|---|
| public static final TableEntry. | |
| NEITHER | back to summary |
|---|---|
| public static final TableEntry. | |
| EntryType | back to summary |
|---|---|
| private EntryType() | |
| valueOf | back to summary |
|---|---|
| public static TableEntry. | |
| values | back to summary |
|---|---|
| public static TableEntry. | |