Top Fields Constructors Methods
org.eclipse.jgit.internal.storage.pack

pack-priv final Class DeltaWindowEntry

extends Object
Class Inheritance

Field Summary

Modifier and TypeField and Description
pack-priv byte[]
buffer

Complete contents of this object.

pack-priv DeltaIndex
index

Index of this object's content, to encode other deltas.

pack-priv DeltaWindowEntry
pack-priv ObjectToPack
pack-priv DeltaWindowEntry

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv static DeltaWindowEntry
createWindow(int cnt)

pack-priv final int

Returns:

current delta chain depth of this object.
depth
()

Get delta chain depth

pack-priv final boolean

Returns:

true if there is no object stored in this entry.
empty
()

Whether the entry is empty

pack-priv final void
pack-priv final void
set(ObjectToPack object)

pack-priv final int

Returns:

estimated unpacked size of the object, in bytes .
size
()

Get estimated unpacked object size

pack-priv final int

Returns:

type of the object in this window entry.
type
()

Get object type in this window entry

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

bufferback to summary
pack-priv byte[] buffer

Complete contents of this object. Lazily loaded.

indexback to summary
pack-priv DeltaIndex index

Index of this object's content, to encode other deltas. Lazily loaded.

nextback to summary
pack-priv DeltaWindowEntry next
objectback to summary
pack-priv ObjectToPack object
prevback to summary
pack-priv DeltaWindowEntry prev

Constructor Detail

DeltaWindowEntryback to summary
pack-priv DeltaWindowEntry()

Method Detail

createWindowback to summary
pack-priv static DeltaWindowEntry createWindow(int cnt)
depthback to summary
pack-priv final int depth()

Get delta chain depth

Returns:int

current delta chain depth of this object.

emptyback to summary
pack-priv final boolean empty()

Whether the entry is empty

Returns:boolean

true if there is no object stored in this entry.

makeNextback to summary
pack-priv final void makeNext(DeltaWindowEntry e)
setback to summary
pack-priv final void set(ObjectToPack object)
sizeback to summary
pack-priv final int size()

Get estimated unpacked object size

Returns:int

estimated unpacked size of the object, in bytes .

typeback to summary
pack-priv final int type()

Get object type in this window entry

Returns:int

type of the object in this window entry.