Serializable
, Comparable<BinaryHunk.Type>
public static enum BinaryHunk.Type extends Enum<BinaryHunk.Type>
Enum Constant | Description |
---|---|
DELTA_DEFLATED |
A Git pack-style delta is stored, deflated.
|
LITERAL_DEFLATED |
The full content is stored, deflated.
|
Modifier and Type | Method | Description |
---|---|---|
static BinaryHunk.Type |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static BinaryHunk.Type[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BinaryHunk.Type LITERAL_DEFLATED
public static final BinaryHunk.Type DELTA_DEFLATED
public static BinaryHunk.Type[] values()
for (BinaryHunk.Type c : BinaryHunk.Type.values()) System.out.println(c);
public static BinaryHunk.Type valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2018. All rights reserved.