Package | Description |
---|---|
org.eclipse.jgit.api |
High-level API commands (the porcelain of JGit).
|
org.eclipse.jgit.api.errors |
Exceptions thrown by API commands.
|
org.eclipse.jgit.awtui | |
org.eclipse.jgit.internal.ketch |
Distributed consensus system built on Git.
|
org.eclipse.jgit.internal.storage.dfs |
Distributed file system based repository storage.
|
org.eclipse.jgit.internal.storage.file |
File based repository storage.
|
org.eclipse.jgit.internal.storage.reftable | |
org.eclipse.jgit.internal.storage.reftree | |
org.eclipse.jgit.lib |
Core API for repository, config, refs, object database.
|
org.eclipse.jgit.merge |
Content and commit history merge algorithms.
|
org.eclipse.jgit.pgm | |
org.eclipse.jgit.pgm.debug | |
org.eclipse.jgit.revplot |
Building/rendering revision graphs.
|
org.eclipse.jgit.revwalk |
Walking revision graphs (commit history).
|
org.eclipse.jgit.transport |
Transport (fetch/push) for different protocols.
|
org.eclipse.jgit.util |
Utility classes.
|
Modifier and Type | Field and Description |
---|---|
private java.util.List<Ref> |
CherryPickResult.cherryPickedRefs |
private java.util.List<Ref> |
CherryPickCommand.commits |
private java.util.List<Ref> |
RevertCommand.commits |
private java.util.List<Ref> |
MergeCommand.commits |
private java.util.List<Ref> |
NameRevCommand.refs |
private java.util.List<Ref> |
RevertCommand.revertedRefs |
private java.util.Comparator<Ref> |
DescribeCommand.TAG_TIE_BREAKER |
Modifier and Type | Method and Description |
---|---|
Ref |
RenameBranchCommand.call() |
Ref |
ResetCommand.call() |
Ref |
CheckoutCommand.call() |
Ref |
CreateBranchCommand.call() |
Ref |
TagCommand.call() |
private Ref |
CloneCommand.findBranchToCheckout(FetchResult result) |
private Ref |
StashCreateCommand.getHead() |
private Ref |
RebaseCommand.getHead() |
private Ref |
StashDropCommand.getRef() |
private Ref |
TagCommand.updateTagRef(ObjectId tagId,
RevWalk revWalk,
java.lang.String tagName,
java.lang.String newTagToString) |
Modifier and Type | Method and Description |
---|---|
java.util.List<Ref> |
ListBranchCommand.call() |
java.util.Collection<Ref> |
LsRemoteCommand.call() |
java.util.List<Ref> |
ListTagCommand.call() |
java.util.Map<java.lang.String,Ref> |
LsRemoteCommand.callAsMap()
Same as
LsRemoteCommand.call() , but return Map instead of Collection. |
private java.util.Map<java.lang.String,Ref> |
LsRemoteCommand.execute() |
private java.util.Collection<Ref> |
ListBranchCommand.filterRefs(java.util.Collection<Ref> refs) |
private java.util.Optional<Ref> |
DescribeCommand.getBestMatch(java.util.List<Ref> tags) |
java.util.List<Ref> |
CherryPickResult.getCherryPickedRefs()
Get the cherry-picked
Ref s |
java.util.List<Ref> |
RevertCommand.getRevertedRefs()
Get the list of successfully reverted
Ref 's. |
Modifier and Type | Method and Description |
---|---|
PushCommand |
PushCommand.add(Ref ref)
Add a reference to push.
|
private void |
CloneCommand.addMergeConfig(Repository clonedRepo,
Ref head) |
NameRevCommand |
NameRevCommand.addRef(Ref ref)
Add a ref to the set that all results must match.
|
private void |
NameRevCommand.addRef(Ref ref,
java.util.Map<ObjectId,java.lang.String> nonCommits,
FIFORevQueue pending) |
private java.lang.String |
CherryPickCommand.calculateOurName(Ref headRef) |
private java.lang.String |
RevertCommand.calculateOurName(Ref headRef) |
private RefUpdate |
StashDropCommand.createRefUpdate(Ref stashRef) |
private void |
StashDropCommand.deleteRef(Ref stashRef) |
private boolean |
DescribeCommand.filterLightweightTags(Ref ref)
Whether we use lightweight tags or not for describe Candidates
|
private static java.lang.String |
RebaseCommand.getHeadName(Ref head) |
private ObjectId |
DescribeCommand.getObjectIdFromRef(Ref r) |
private java.lang.String |
CheckoutCommand.getShortBranchName(Ref headRef) |
CherryPickCommand |
CherryPickCommand.include(Ref commit)
Include a reference to a commit
|
RevertCommand |
RevertCommand.include(Ref commit)
Include a
Ref to a commit to be reverted |
MergeCommand |
MergeCommand.include(Ref aCommit)
Reference to a commit to be merged with the current head
|
private java.lang.String |
DescribeCommand.longDescription(Ref tag,
int depth,
ObjectId tip) |
private RevCommit |
CloneCommand.parseCommit(Repository clonedRepo,
Ref ref) |
private void |
StashDropCommand.updateRef(Ref stashRef,
ObjectId newId) |
Modifier and Type | Method and Description |
---|---|
private java.util.Collection<Ref> |
ListBranchCommand.filterRefs(java.util.Collection<Ref> refs) |
private java.util.Optional<Ref> |
DescribeCommand.getBestMatch(java.util.List<Ref> tags) |
Constructor and Description |
---|
CherryPickResult(RevCommit newHead,
java.util.List<Ref> cherryPickedRefs)
Constructor for CherryPickResult
|
Modifier and Type | Field and Description |
---|---|
private Ref |
ConcurrentRefUpdateException.ref |
Modifier and Type | Method and Description |
---|---|
Ref |
ConcurrentRefUpdateException.getRef()
Get
Ref |
Constructor and Description |
---|
ConcurrentRefUpdateException(java.lang.String message,
Ref ref,
RefUpdate.Result rc)
Constructor for ConcurrentRefUpdateException.
|
ConcurrentRefUpdateException(java.lang.String message,
Ref ref,
RefUpdate.Result rc,
java.lang.Throwable cause)
Constructor for ConcurrentRefUpdateException.
|
Modifier and Type | Method and Description |
---|---|
protected int |
AWTPlotRenderer.drawLabel(int x,
int y,
Ref ref)
Draw a decoration for the Ref ref at x,y
|
Modifier and Type | Field and Description |
---|---|
private java.util.Map<java.lang.String,Ref> |
ReplicaFetchRequest.refs |
private java.util.Map<java.lang.String,Ref> |
ReplicaPushRequest.refs |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,Ref> |
ReplicaFetchRequest.getRefs()
Get remote references, usually from the advertisement.
|
java.util.Map<java.lang.String,Ref> |
ReplicaPushRequest.getRefs()
Get remote references, usually from the advertisement.
|
private java.util.Map<java.lang.String,Ref> |
RemoteGitReplica.push(Repository git,
Transport transport,
java.util.List<RemoteGitReplica.RemoteCommand> cmds) |
Modifier and Type | Method and Description |
---|---|
(package private) boolean |
KetchReplica.canDelete(Ref ref) |
private static void |
Proposal.format(java.lang.StringBuilder s,
Ref r,
java.lang.String n) |
(package private) static ObjectId |
KetchReplica.getId(Ref ref) |
Modifier and Type | Method and Description |
---|---|
(package private) void |
KetchReplica.initialize(java.util.Map<java.lang.String,Ref> refs)
Update the leader's view of the replica after a poll.
|
private static boolean |
RemoteGitReplica.isExpectedValue(java.util.Map<java.lang.String,Ref> adv,
RemoteRefUpdate u) |
private void |
RemoteGitReplica.prepareCommit(Repository git,
java.util.List<RemoteGitReplica.RemoteCommand> cmds,
java.util.Map<java.lang.String,RemoteRefUpdate> updates,
java.util.Map<java.lang.String,Ref> adv,
ObjectId committed) |
protected java.util.Collection<ReceiveCommand> |
KetchReplica.prepareCommit(Repository git,
java.util.Map<java.lang.String,Ref> current,
ObjectId committed)
Build a list of commands to commit
KetchReplica.CommitMethod.ALL_REFS . |
void |
ReplicaFetchRequest.setRefs(java.util.Map<java.lang.String,Ref> refs)
Set references observed from the replica.
|
void |
ReplicaPushRequest.setRefs(java.util.Map<java.lang.String,Ref> refs)
Set references observed from the replica.
|
Modifier and Type | Field and Description |
---|---|
private Ref |
DfsRefUpdate.dstRef |
Modifier and Type | Field and Description |
---|---|
(package private) RefList<Ref> |
DfsRefDatabase.RefCache.ids |
private java.util.Collection<Ref> |
DfsGarbageCollector.refsBefore |
(package private) RefList<Ref> |
DfsRefDatabase.RefCache.sym |
Modifier and Type | Method and Description |
---|---|
(package private) Ref |
DfsRefDatabase.doPeel(Ref leaf) |
Ref |
DfsReftableDatabase.exactRef(java.lang.String name)
Read a single reference.
|
Ref |
DfsRefDatabase.exactRef(java.lang.String name)
Read a single reference.
|
Ref |
DfsRefDatabase.RefCache.get(java.lang.String name)
Find a reference by name.
|
Ref |
DfsReftableDatabase.peel(Ref ref)
Peel a possibly unpeeled reference by traversing the annotated tags.
|
Ref |
DfsRefDatabase.peel(Ref ref)
Peel a possibly unpeeled reference by traversing the annotated tags.
|
(package private) static Ref |
DfsRefDatabase.recreate(Ref old,
Ref leaf,
boolean hasVersioning) |
private Ref |
DfsRefDatabase.resolve(Ref ref,
int depth,
RefList<Ref> loose) |
Modifier and Type | Method and Description |
---|---|
java.util.List<Ref> |
DfsRefDatabase.getAdditionalRefs()
Get the additional reference-like entities from the repository.
|
private java.util.Collection<Ref> |
DfsGarbageCollector.getAllRefs() |
java.util.Map<java.lang.String,Ref> |
DfsReftableDatabase.getRefs(java.lang.String prefix)
Get a section of the reference namespace.
|
java.util.Map<java.lang.String,Ref> |
DfsRefDatabase.getRefs(java.lang.String prefix)
Get a section of the reference namespace.
|
java.util.List<Ref> |
DfsReftableDatabase.getRefsByPrefix(java.lang.String prefix)
Returns refs whose names start with a given prefix.
|
java.util.Set<Ref> |
DfsReftableDatabase.getTipsWithSha1(ObjectId id)
Returns all refs that resolve directly to the given
ObjectId . |
private static java.util.List<Ref> |
ReftableBatchRefUpdate.toNewRefs(RevWalk rw,
java.util.List<ReceiveCommand> pending) |
Modifier and Type | Method and Description |
---|---|
protected void |
DfsReftableDatabase.cachePeeledState(Ref oldLeaf,
Ref newLeaf)
Update the cached peeled state of a reference
|
protected void |
DfsRefDatabase.cachePeeledState(Ref oldLeaf,
Ref newLeaf)
Update the cached peeled state of a reference
|
protected boolean |
DfsReftableDatabase.compareAndPut(Ref oldRef,
Ref newRef)
Compare a reference, and put if it matches.
|
protected abstract boolean |
DfsRefDatabase.compareAndPut(Ref oldRef,
Ref newRef)
Compare a reference, and put if it matches.
|
protected boolean |
DfsReftableDatabase.compareAndRemove(Ref oldRef)
Compare a reference, and delete if it matches.
|
protected abstract boolean |
DfsRefDatabase.compareAndRemove(Ref oldRef)
Compare a reference, and delete if it matches.
|
(package private) Ref |
DfsRefDatabase.doPeel(Ref leaf) |
private static boolean |
DfsGarbageCollector.isHead(Ref ref) |
private static boolean |
DfsGarbageCollector.isTag(Ref ref) |
private static boolean |
ReftableBatchRefUpdate.matchOld(ReceiveCommand cmd,
Ref ref) |
Ref |
DfsReftableDatabase.peel(Ref ref)
Peel a possibly unpeeled reference by traversing the annotated tags.
|
Ref |
DfsRefDatabase.peel(Ref ref)
Peel a possibly unpeeled reference by traversing the annotated tags.
|
DfsRefDatabase.RefCache |
DfsRefDatabase.RefCache.put(Ref ref)
Obtain a modified copy of the cache with a ref stored.
|
(package private) static Ref |
DfsRefDatabase.recreate(Ref old,
Ref leaf,
boolean hasVersioning) |
private Ref |
DfsRefDatabase.resolve(Ref ref,
int depth,
RefList<Ref> loose) |
(package private) void |
DfsReftableDatabase.stored(Ref ref) |
(package private) void |
DfsRefDatabase.stored(Ref ref) |
private static ReceiveCommand |
DfsReftableDatabase.toCommand(Ref oldRef,
Ref newRef) |
private static ObjectId |
DfsReftableDatabase.toId(Ref ref) |
private static java.lang.String |
DfsReftableDatabase.toName(Ref oldRef,
Ref newRef) |
Modifier and Type | Method and Description |
---|---|
private Ref |
DfsRefDatabase.resolve(Ref ref,
int depth,
RefList<Ref> loose) |
private ReftableWriter.Stats |
ReftableBatchRefUpdate.write(java.io.OutputStream os,
ReftableConfig cfg,
long updateIndex,
java.util.List<Ref> newRefs,
java.util.List<ReceiveCommand> pending) |
private void |
DfsGarbageCollector.writeReftable(DfsPackDescription pack,
java.util.Collection<Ref> refs) |
Constructor and Description |
---|
DfsRefUpdate(DfsRefDatabase refdb,
Ref ref) |
Constructor and Description |
---|
RefCache(RefList<Ref> ids,
DfsRefDatabase.RefCache old) |
RefCache(RefList<Ref> ids,
RefList<Ref> sym)
Initialize a new reference cache.
|
RefCache(RefList<Ref> ids,
RefList<Ref> sym)
Initialize a new reference cache.
|
Modifier and Type | Interface and Description |
---|---|
private static interface |
RefDirectory.LooseRef |
Modifier and Type | Class and Description |
---|---|
private static class |
RefDirectory.LooseNonTag |
private static class |
RefDirectory.LoosePeeledTag |
private static class |
RefDirectory.LooseSymbolicRef |
private static class |
RefDirectory.LooseUnpeeled |
Modifier and Type | Field and Description |
---|---|
private java.util.Collection<Ref> |
GC.lastPackedRefs
the refs which existed during the last call to
GC.repack() . |
(package private) RefList.Builder<Ref> |
RefDirectory.LooseScanner.symbolic |
Modifier and Type | Method and Description |
---|---|
Ref |
RefDirectory.exactRef(java.lang.String name)
Read a single reference.
|
Ref |
RefDirectory.firstExactRef(java.lang.String... refs)
Find the first named reference.
|
Ref |
RefDirectory.peel(Ref ref)
Peel a possibly unpeeled reference by traversing the annotated tags.
|
private Ref |
RefDirectory.peeledPackedRef(Ref f)
Make sure a ref is peeled and has the Storage PACKED.
|
private static Ref |
PackedBatchRefUpdate.peeledRef(RevWalk walk,
ReceiveCommand cmd) |
private Ref |
RefDirectory.readAndResolve(java.lang.String name,
RefList<Ref> packed) |
private Ref |
RefDirectory.readRef(java.lang.String name,
RefList<Ref> packed) |
private static Ref |
RefDirectory.recreate(Ref old,
ObjectIdRef leaf) |
private Ref |
RefDirectory.resolve(Ref ref,
int depth,
java.lang.String prefix,
RefList<RefDirectory.LooseRef> loose,
RefList<Ref> packed) |
Modifier and Type | Method and Description |
---|---|
private static RefList<Ref> |
PackedBatchRefUpdate.applyUpdates(RevWalk walk,
RefList<Ref> refs,
java.util.List<ReceiveCommand> commands) |
java.util.Map<java.lang.String,Ref> |
RefDirectory.exactRef(java.lang.String... refs)
Read the specified references.
|
java.util.List<Ref> |
RefDirectory.getAdditionalRefs()
Get the additional reference-like entities from the repository.
|
private java.util.Collection<Ref> |
GC.getAllRefs()
Returns a collection of all refs and additional refs.
|
java.util.Map<java.lang.String,Ref> |
RefDirectory.getRefs(java.lang.String prefix)
Get a section of the reference namespace.
|
private RefList<Ref> |
RefDirectory.parsePackedRefs(java.io.BufferedReader br) |
private RefList<Ref> |
RefDirectory.upcast(RefList<? extends Ref> loose) |
Modifier and Type | Method and Description |
---|---|
private ObjectIdRef |
RefDirectory.doPeel(Ref leaf) |
private static boolean |
GC.equals(Ref r1,
Ref r2) |
private static boolean |
GC.isHead(Ref ref) |
private static boolean |
GC.isTag(Ref ref) |
private java.util.Set<ObjectId> |
GC.listRefLogObjects(Ref ref,
long minTime) |
Ref |
RefDirectory.peel(Ref ref)
Peel a possibly unpeeled reference by traversing the annotated tags.
|
private Ref |
RefDirectory.peeledPackedRef(Ref f)
Make sure a ref is peeled and has the Storage PACKED.
|
private static Ref |
RefDirectory.recreate(Ref old,
ObjectIdRef leaf) |
private Ref |
RefDirectory.resolve(Ref ref,
int depth,
java.lang.String prefix,
RefList<RefDirectory.LooseRef> loose,
RefList<Ref> packed) |
Modifier and Type | Method and Description |
---|---|
private static RefList<Ref> |
PackedBatchRefUpdate.applyUpdates(RevWalk walk,
RefList<Ref> refs,
java.util.List<ReceiveCommand> commands) |
(package private) RefDirectory.PackedRefList |
RefDirectory.commitPackedRefs(LockFile lck,
RefList<Ref> refs,
RefDirectory.PackedRefList oldPackedList,
boolean changed) |
private Ref |
RefDirectory.readAndResolve(java.lang.String name,
RefList<Ref> packed) |
private Ref |
RefDirectory.readRef(java.lang.String name,
RefList<Ref> packed) |
private Ref |
RefDirectory.resolve(Ref ref,
int depth,
java.lang.String prefix,
RefList<RefDirectory.LooseRef> loose,
RefList<Ref> packed) |
private RefList<Ref> |
RefDirectory.upcast(RefList<? extends Ref> loose) |
Constructor and Description |
---|
LooseSymbolicRef(FileSnapshot snapshot,
java.lang.String refName,
Ref target) |
RefDirectoryUpdate(RefDirectory r,
Ref ref) |
Constructor and Description |
---|
PackedRefList(RefList<Ref> src,
FileSnapshot s,
ObjectId i) |
Modifier and Type | Field and Description |
---|---|
(package private) Ref |
BlockWriter.RefEntry.ref |
private Ref |
MergedReftable.MergedRefCursor.ref |
private Ref |
ReftableReader.RefCursorImpl.ref |
private Ref |
ReftableReader.ObjCursorImpl.ref |
Modifier and Type | Method and Description |
---|---|
Ref |
Reftable.exactRef(java.lang.String refName)
Lookup a reference, or null if not found.
|
abstract Ref |
RefCursor.getRef()
Get reference at the current position.
|
Ref |
MergedReftable.MergedRefCursor.getRef() |
Ref |
ReftableReader.RefCursorImpl.getRef() |
Ref |
ReftableReader.ObjCursorImpl.getRef() |
private static Ref |
BlockReader.newRef(java.lang.String name,
long updateIndex) |
(package private) Ref |
BlockReader.readRef(long minUpdateIndex) |
Ref |
Reftable.resolve(Ref symref)
Resolve a symbolic reference to populate its value.
|
private Ref |
Reftable.resolve(Ref ref,
int depth) |
Modifier and Type | Method and Description |
---|---|
private void |
ReftableWriter.indexRef(Ref ref,
long blockPos) |
private static byte[] |
BlockWriter.RefEntry.nameUtf8(Ref ref) |
Ref |
Reftable.resolve(Ref symref)
Resolve a symbolic reference to populate its value.
|
private Ref |
Reftable.resolve(Ref ref,
int depth) |
void |
ReftableWriter.writeRef(Ref ref)
Write one reference to the reftable.
|
void |
ReftableWriter.writeRef(Ref ref,
long updateIndex)
Write one reference to the reftable.
|
Modifier and Type | Method and Description |
---|---|
static Reftable |
Reftable.from(java.util.Collection<Ref> refs)
References to convert into a reftable
|
ReftableWriter |
ReftableWriter.sortAndWriteRefs(java.util.Collection<Ref> refsToPack)
Sort a collection of references and write them to the reftable.
|
Constructor and Description |
---|
RefEntry(Ref ref,
long updateIndexDelta) |
Modifier and Type | Field and Description |
---|---|
private Ref |
Command.newRef |
private Ref |
RefTreeUpdate.oldRef |
private Ref |
Command.oldRef |
private Ref |
RefTreeBatch.src |
Modifier and Type | Field and Description |
---|---|
(package private) RefList<Ref> |
Scanner.Result.all |
(package private) RefList<Ref> |
Scanner.Result.sym |
Modifier and Type | Method and Description |
---|---|
private Ref |
RefTreeRename.asNew(Ref src) |
(package private) Ref |
RefTreeBatch.exactRef(ObjectReader reader,
java.lang.String name) |
Ref |
RefTree.exactRef(ObjectReader reader,
java.lang.String name)
Read one reference.
|
Ref |
RefTreeDatabase.exactRef(java.lang.String name)
Read a single reference.
|
Ref |
Command.getNewRef()
New peeled reference.
|
Ref |
Command.getOldRef()
Old peeled reference.
|
private Ref |
RefTreeUpdate.newRef(java.lang.String name,
ObjectId id) |
Ref |
RefTreeDatabase.peel(Ref ref)
Peel a possibly unpeeled reference by traversing the annotated tags.
|
private Ref |
RefTree.readRef(ObjectReader reader,
java.lang.String name) |
private static Ref |
RefTreeDatabase.recreate(Ref old,
Ref leaf) |
private Ref |
RefTree.resolve(ObjectReader reader,
Ref ref,
int depth) |
private static Ref |
Scanner.resolve(Ref ref,
int depth,
RefList<Ref> refs) |
private Ref |
RefTree.toRef(ObjectReader reader,
DirCacheEntry e,
java.lang.String name) |
private static Ref |
Scanner.toRef(ObjectReader reader,
int mode,
CanonicalTreeParser p) |
(package private) static Ref |
Command.toRef(RevWalk rw,
ObjectId id,
java.lang.String target,
java.lang.String name,
boolean mustExist) |
Modifier and Type | Method and Description |
---|---|
java.util.List<Ref> |
RefTreeDatabase.getAdditionalRefs()
Get the additional reference-like entities from the repository.
|
java.util.Map<java.lang.String,Ref> |
RefTreeDatabase.getRefs(java.lang.String prefix)
Get a section of the reference namespace.
|
Modifier and Type | Method and Description |
---|---|
private static void |
Command.append(java.lang.StringBuilder s,
Ref r,
java.lang.String nullName) |
private Ref |
RefTreeRename.asNew(Ref src) |
private static boolean |
Command.check(DirCacheEntry cur,
Ref exp) |
private static void |
RefTree.cleanupPeeledRef(DirCacheEditor ed,
Ref ref) |
private static ObjectId |
RefTreeDatabase.idOf(Ref src) |
Ref |
RefTreeDatabase.peel(Ref ref)
Peel a possibly unpeeled reference by traversing the annotated tags.
|
private static Ref |
RefTreeDatabase.recreate(Ref old,
Ref leaf) |
private Ref |
RefTree.resolve(ObjectReader reader,
Ref ref,
int depth) |
private static Ref |
Scanner.resolve(Ref ref,
int depth,
RefList<Ref> refs) |
private RefUpdate.Result |
RefTreeUpdate.run(Ref newRef,
RefUpdate.Result desiredResult) |
(package private) static Scanner.Result |
Scanner.scanRefTree(Repository repo,
Ref src,
java.lang.String prefix,
boolean recursive)
|
Modifier and Type | Method and Description |
---|---|
private static void |
Scanner.peel(RefList.Builder<Ref> all,
CanonicalTreeParser p) |
private static Ref |
Scanner.resolve(Ref ref,
int depth,
RefList<Ref> refs) |
private static void |
Scanner.scan(ObjectReader reader,
AnyObjectId srcId,
java.lang.String prefix,
boolean recursive,
RefList.Builder<Ref> all,
RefList.Builder<Ref> sym) |
private static void |
Scanner.scan(ObjectReader reader,
AnyObjectId srcId,
java.lang.String prefix,
boolean recursive,
RefList.Builder<Ref> all,
RefList.Builder<Ref> sym) |
Constructor and Description |
---|
Command(Ref oldRef,
Ref newRef)
Create a command to create, update or delete a reference.
|
RefTreeUpdate(RefTreeDatabase refdb,
Ref ref) |
Constructor and Description |
---|
Result(ObjectId id,
RefList<Ref> all,
RefList<Ref> sym) |
Result(ObjectId id,
RefList<Ref> all,
RefList<Ref> sym) |
Modifier and Type | Class and Description |
---|---|
class |
ObjectIdRef
|
static class |
ObjectIdRef.PeeledNonTag
A reference to a non-tag object coming from a cached source.
|
static class |
ObjectIdRef.PeeledTag
An annotated tag whose peeled object has been cached.
|
static class |
ObjectIdRef.Unpeeled
Any reference whose peeled value is not yet known.
|
class |
SymbolicRef
A reference that indirectly points at another
Ref . |
Modifier and Type | Field and Description |
---|---|
private Ref |
RefUpdate.ref |
private Ref |
SymbolicRef.target |
Modifier and Type | Field and Description |
---|---|
private java.util.Collection<Ref> |
RefWriter.refs |
Modifier and Type | Method and Description |
---|---|
abstract Ref |
RefDatabase.exactRef(java.lang.String name)
Read a single reference.
|
Ref |
Repository.exactRef(java.lang.String name)
Get a ref by name.
|
static Ref |
RefDatabase.findRef(java.util.Map<java.lang.String,Ref> map,
java.lang.String name)
Try to find the specified name in the ref map using
RefDatabase.SEARCH_PATH . |
Ref |
RefDatabase.findRef(java.lang.String name)
Read a single reference.
|
Ref |
Repository.findRef(java.lang.String name)
Search for a ref by (possibly abbreviated) name.
|
Ref |
RefDatabase.firstExactRef(java.lang.String... refs)
Find the first named reference.
|
Ref |
SymbolicRef.getLeaf()
Traverse target references until
isSymbolic() is false. |
Ref |
Ref.getLeaf()
Traverse target references until
isSymbolic() is false. |
Ref |
ObjectIdRef.getLeaf()
Traverse target references until
isSymbolic() is false. |
Ref |
RefUpdate.getRef()
Get the reference this update will create or modify.
|
Ref |
RefDatabase.getRef(java.lang.String name)
Deprecated.
Use
RefDatabase.findRef(String) instead. |
Ref |
SymbolicRef.getTarget()
Get the reference this reference points to, or
this . |
Ref |
Ref.getTarget()
Get the reference this reference points to, or
this . |
Ref |
ObjectIdRef.getTarget()
Get the reference this reference points to, or
this . |
abstract Ref |
RefDatabase.peel(Ref ref)
Peel a possibly unpeeled reference by traversing the annotated tags.
|
Ref |
Repository.peel(Ref ref)
Deprecated.
use
getRefDatabase().peel(ref) instead. |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,Ref> |
RefDatabase.exactRef(java.lang.String... refs)
Read the specified references.
|
abstract java.util.List<Ref> |
RefDatabase.getAdditionalRefs()
Get the additional reference-like entities from the repository.
|
java.util.Map<java.lang.String,Ref> |
Repository.getAllRefs()
Deprecated.
use
getRefDatabase().getRefs() instead. |
java.util.Map<AnyObjectId,java.util.Set<Ref>> |
Repository.getAllRefsByPeeledObjectId()
Get a map with all objects referenced by a peeled ref.
|
java.util.List<Ref> |
RefDatabase.getRefs()
Returns all refs.
|
abstract java.util.Map<java.lang.String,Ref> |
RefDatabase.getRefs(java.lang.String prefix)
Deprecated.
use
RefDatabase.getRefsByPrefix(java.lang.String) instead |
java.util.List<Ref> |
RefDatabase.getRefsByPrefix(java.lang.String... prefixes)
Returns refs whose names start with one of the given prefixes.
|
java.util.List<Ref> |
RefDatabase.getRefsByPrefix(java.lang.String prefix)
Returns refs whose names start with a given prefix.
|
java.util.Map<java.lang.String,Ref> |
Repository.getTags()
Deprecated.
use
getRefDatabase().getRefsByPrefix(R_TAGS) instead |
java.util.Set<Ref> |
RefDatabase.getTipsWithSha1(ObjectId id)
Returns all refs that resolve directly to the given
ObjectId . |
static java.util.Collection<Ref> |
RefComparator.sort(java.util.Collection<Ref> refs)
Sorts the collection of refs, returning a new collection.
|
Modifier and Type | Method and Description |
---|---|
int |
RefComparator.compare(Ref o1,
Ref o2) |
static int |
RefComparator.compareTo(Ref o1,
Ref o2)
Compare two references by name.
|
static int |
RefComparator.compareTo(Ref o1,
java.lang.String o2)
Compare a reference to a name.
|
abstract Ref |
RefDatabase.peel(Ref ref)
Peel a possibly unpeeled reference by traversing the annotated tags.
|
Ref |
Repository.peel(Ref ref)
Deprecated.
use
getRefDatabase().peel(ref) instead. |
private RevCommit |
Repository.resolveReflog(RevWalk rw,
Ref ref,
java.lang.String time) |
Modifier and Type | Method and Description |
---|---|
static Ref |
RefDatabase.findRef(java.util.Map<java.lang.String,Ref> map,
java.lang.String name)
Try to find the specified name in the ref map using
RefDatabase.SEARCH_PATH . |
static java.util.Collection<Ref> |
RefComparator.sort(java.util.Collection<Ref> refs)
Sorts the collection of refs, returning a new collection.
|
Constructor and Description |
---|
RefUpdate(Ref ref)
Construct a new update operation for the reference.
|
SymbolicRef(java.lang.String refName,
Ref target)
Create a new ref pairing.
|
SymbolicRef(java.lang.String refName,
Ref target,
long updateIndex)
Create a new ref pairing.
|
Constructor and Description |
---|
RefWriter(java.util.Collection<Ref> refs)
Constructor for RefWriter.
|
RefWriter(java.util.Map<java.lang.String,Ref> refs)
Constructor for RefWriter.
|
RefWriter(RefList<Ref> refs)
Constructor for RefWriter.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
MergeMessageFormatter.format(java.util.List<Ref> refsToMerge,
Ref target)
Construct the merge commit message.
|
java.lang.String |
SquashMessageFormatter.format(java.util.List<RevCommit> squashedCommits,
Ref target)
Construct the squashed commit message.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
MergeMessageFormatter.format(java.util.List<Ref> refsToMerge,
Ref target)
Construct the merge commit message.
|
Modifier and Type | Field and Description |
---|---|
private java.util.Map<AnyObjectId,java.util.Set<Ref>> |
Log.allRefsByPeeledObjectId |
private java.util.Map<java.lang.String,Ref> |
Branch.printRefs |
Modifier and Type | Method and Description |
---|---|
private Ref |
Merge.getOldHead() |
Modifier and Type | Method and Description |
---|---|
private java.lang.Iterable<Ref> |
ShowRef.getSortedRefs() |
Modifier and Type | Method and Description |
---|---|
private void |
Branch.addRef(java.lang.String name,
Ref ref) |
private boolean |
Merge.isMergedInto(Ref oldHead,
AnyObjectId src) |
private void |
Branch.printHead(ObjectReader reader,
java.lang.String ref,
boolean isCurrent,
Ref refObj) |
Modifier and Type | Method and Description |
---|---|
private void |
Branch.addRefs(java.util.Collection<Ref> refs,
java.lang.String prefix) |
Modifier and Type | Method and Description |
---|---|
private java.util.Map<java.lang.String,Ref> |
RebuildCommitGraph.computeNewRefs() |
private static java.util.Map<ObjectId,java.util.List<Ref>> |
VerifyReftable.groupById(java.util.List<Ref> refs) |
private RefList<Ref> |
BenchmarkReftable.readLsRemote() |
(package private) static java.util.List<Ref> |
WriteReftable.readRefs(java.lang.String inputFile) |
Modifier and Type | Method and Description |
---|---|
private void |
VerifyReftable.verify(Ref exp,
RefCursor rc) |
private void |
ReadReftable.write(Ref r) |
Modifier and Type | Method and Description |
---|---|
private void |
VerifyReftable.byId(java.util.List<Ref> refs,
ReftableReader reader) |
private static java.util.Map<ObjectId,java.util.List<Ref>> |
VerifyReftable.groupById(java.util.List<Ref> refs) |
private void |
VerifyReftable.scan(java.util.List<Ref> refs,
ReftableReader reader) |
private void |
VerifyReftable.seek(java.util.List<Ref> refs,
ReftableReader reader) |
Modifier and Type | Field and Description |
---|---|
(package private) static Ref[] |
PlotCommit.NO_REFS |
(package private) Ref[] |
PlotCommit.refs |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<AnyObjectId,java.util.Set<Ref>> |
PlotWalk.additionalRefMap |
private java.util.Map<AnyObjectId,java.util.Set<Ref>> |
PlotWalk.reverseRefMap |
Modifier and Type | Method and Description |
---|---|
Ref |
PlotCommit.getRef(int nth)
Get the nth Ref from this commit's ref list.
|
private Ref[] |
PlotWalk.getRefs(AnyObjectId commitId) |
Modifier and Type | Method and Description |
---|---|
int |
PlotWalk.PlotRefComparator.compare(Ref o1,
Ref o2) |
protected abstract int |
AbstractPlotRenderer.drawLabel(int x,
int y,
Ref ref)
Draw a decoration for the Ref ref at x,y
|
(package private) int |
PlotWalk.PlotRefComparator.kind(Ref r) |
Modifier and Type | Method and Description |
---|---|
void |
PlotWalk.addAdditionalRefs(java.lang.Iterable<Ref> refs)
Add additional refs to the walk
|
Modifier and Type | Method and Description |
---|---|
static java.util.List<Ref> |
RevWalkUtils.findBranchesReachableFrom(RevCommit commit,
RevWalk revWalk,
java.util.Collection<Ref> refs)
Find the list of branches a given commit is reachable from when following
parents.
|
static java.util.List<Ref> |
RevWalkUtils.findBranchesReachableFrom(RevCommit commit,
RevWalk revWalk,
java.util.Collection<Ref> refs,
ProgressMonitor monitor)
Find the list of branches a given commit is reachable from when following
parents.
|
Modifier and Type | Method and Description |
---|---|
static java.util.List<Ref> |
RevWalkUtils.findBranchesReachableFrom(RevCommit commit,
RevWalk revWalk,
java.util.Collection<Ref> refs)
Find the list of branches a given commit is reachable from when following
parents.
|
static java.util.List<Ref> |
RevWalkUtils.findBranchesReachableFrom(RevCommit commit,
RevWalk revWalk,
java.util.Collection<Ref> refs,
ProgressMonitor monitor)
Find the list of branches a given commit is reachable from when following
parents.
|
Modifier and Type | Field and Description |
---|---|
private Ref |
ReceiveCommand.ref |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<java.lang.String,Ref> |
BaseConnection.advertisedRefs |
(package private) java.util.Map<java.lang.String,Ref> |
OperationResult.advertisedRefs |
private java.util.HashMap<ObjectId,Ref> |
FetchProcess.askFor
Set of refs we will actually wind up asking to obtain.
|
private java.util.Map<java.lang.String,Ref> |
FetchProcess.localRefs |
private java.util.Map<java.lang.String,Ref> |
WalkPushConnection.newRefs
Complete listing of refs the remote will have after our push.
|
private java.util.Map<java.lang.String,Ref> |
UploadPack.refs
Refs eligible for advertising to the client, set using
UploadPack.setAdvertisedRefs(java.util.Map<java.lang.String, org.eclipse.jgit.lib.Ref>) . |
(package private) java.util.Map<java.lang.String,Ref> |
BaseReceivePack.refs
The refs we advertised as existing at the start of the connection.
|
Modifier and Type | Method and Description |
---|---|
private Ref |
UploadPack.findRef(java.lang.String name)
Find a ref in the usual search path on behalf of the client.
|
Ref |
OperationResult.getAdvertisedRef(java.lang.String name)
Get a single advertised ref by name.
|
Ref |
ReceiveCommand.getRef()
Get the ref, if this was advertised by the connection.
|
Ref |
BaseConnection.getRef(java.lang.String name)
Get a single advertised ref by name.
|
Ref |
Connection.getRef(java.lang.String name)
Get a single advertised ref by name.
|
private Ref |
TransportAmazonS3.DatabaseS3.readRef(java.util.TreeMap<java.lang.String,Ref> avail,
java.lang.String rn) |
private Ref |
TransportSftp.SftpObjectDB.readRef(java.util.TreeMap<java.lang.String,Ref> avail,
java.lang.String path,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
private java.util.Map<java.lang.String,Ref> |
UploadPack.exactRefs(java.util.List<java.lang.String> names)
Read refs on behalf of the client.
|
private java.util.Collection<Ref> |
FetchProcess.expandAutoFollowTags() |
java.util.Map<java.lang.String,Ref> |
RefFilter.filter(java.util.Map<java.lang.String,Ref> refs)
Filters a
Map of refs before it is advertised to the client. |
private java.util.Map<java.lang.String,Ref> |
UploadPack.getAdvertisedOrDefaultRefs() |
protected java.util.Map<java.lang.String,Ref> |
BaseReceivePack.getAdvertisedOrDefaultRefs()
Get advertised refs, or the default if not explicitly advertised.
|
java.util.Map<java.lang.String,Ref> |
UploadPack.getAdvertisedRefs()
Get refs which were advertised to the client.
|
abstract java.util.Map<java.lang.String,Ref> |
BaseReceivePack.getAdvertisedRefs()
Deprecated.
|
java.util.Map<java.lang.String,Ref> |
ReceivePack.getAdvertisedRefs()
Get refs which were advertised to the client.
|
java.util.Collection<Ref> |
OperationResult.getAdvertisedRefs()
Get the complete list of refs advertised by the remote.
|
protected abstract java.util.Map<java.lang.String,Ref> |
AbstractAdvertiseRefsHook.getAdvertisedRefs(Repository repository,
RevWalk revWalk)
Get the refs to advertise.
|
private java.util.Map<java.lang.String,Ref> |
UploadPack.getFilteredRefs(java.util.Collection<java.lang.String> refPrefixes) |
java.util.Collection<Ref> |
BaseConnection.getRefs()
Get the complete list of refs advertised as available for fetching or
pushing.
|
java.util.Collection<Ref> |
Connection.getRefs()
Get the complete list of refs advertised as available for fetching or
pushing.
|
java.util.Map<java.lang.String,Ref> |
BaseConnection.getRefsMap()
Get the complete map of refs advertised as available for fetching or
pushing.
|
java.util.Map<java.lang.String,Ref> |
Connection.getRefsMap()
Get the complete map of refs advertised as available for fetching or
pushing.
|
private java.util.Map<java.lang.String,Ref> |
FetchProcess.localRefs() |
private static java.util.Map<java.lang.String,Ref> |
UploadPack.mapRefs(java.util.Map<java.lang.String,Ref> refs,
java.util.List<java.lang.String> names)
Returns the specified references.
|
(package private) java.util.Map<java.lang.String,Ref> |
TransportHttp.HttpObjectDB.readAdvertisedImpl(java.io.BufferedReader br) |
(package private) java.util.Map<java.lang.String,Ref> |
TransportAmazonS3.DatabaseS3.readAdvertisedRefs() |
(package private) java.util.Map<java.lang.String,Ref> |
TransportSftp.SftpObjectDB.readAdvertisedRefs() |
Modifier and Type | Method and Description |
---|---|
private void |
FetchProcess.deleteTrackingRef(FetchResult result,
BatchRefUpdate batch,
RefSpec spec,
Ref localRef) |
RefSpec |
RefSpec.expandFromDestination(Ref r)
Expand this specification to exactly match a ref.
|
RefSpec |
RefSpec.expandFromSource(Ref r)
Expand this specification to exactly match a ref.
|
void |
BundleWriter.include(Ref r)
Include a single ref (a name/object pair) in the bundle.
|
private static boolean |
FetchProcess.isTag(Ref r) |
private Ref.Storage |
TransportAmazonS3.DatabaseS3.loose(Ref r) |
private Ref.Storage |
TransportSftp.SftpObjectDB.loose(Ref r) |
boolean |
RefSpec.matchDestination(Ref r)
Does this specification's destination description match the ref?
|
boolean |
RefSpec.matchSource(Ref r)
Does this specification's source description match the ref?
|
(package private) void |
ReceiveCommand.setRef(Ref r) |
private void |
FetchProcess.want(Ref src,
RefSpec spec) |
private void |
FetchProcess.wantTag(Ref r) |
Modifier and Type | Method and Description |
---|---|
protected void |
BaseConnection.available(java.util.Map<java.lang.String,Ref> all)
Denote the list of refs available on the remote repository.
|
protected void |
BundleFetchConnection.doFetch(ProgressMonitor monitor,
java.util.Collection<Ref> want,
java.util.Set<ObjectId> have)
Implementation of
BaseFetchConnection.fetch(ProgressMonitor, Collection, Set)
without checking for multiple fetch. |
protected abstract void |
BaseFetchConnection.doFetch(ProgressMonitor monitor,
java.util.Collection<Ref> want,
java.util.Set<ObjectId> have)
Implementation of
BaseFetchConnection.fetch(ProgressMonitor, Collection, Set)
without checking for multiple fetch. |
protected void |
WalkFetchConnection.doFetch(ProgressMonitor monitor,
java.util.Collection<Ref> want,
java.util.Set<ObjectId> have)
Implementation of
BaseFetchConnection.fetch(ProgressMonitor, Collection, Set)
without checking for multiple fetch. |
protected void |
BasePackFetchConnection.doFetch(ProgressMonitor monitor,
java.util.Collection<Ref> want,
java.util.Set<ObjectId> have,
java.io.OutputStream outputStream)
Execute common ancestor negotiation and fetch the objects.
|
protected void |
TransportHttp.SmartHttpFetchConnection.doFetch(ProgressMonitor monitor,
java.util.Collection<Ref> want,
java.util.Set<ObjectId> have,
java.io.OutputStream outputStream) |
private void |
FetchProcess.expandSingle(RefSpec spec,
java.util.Set<Ref> matched) |
private void |
FetchProcess.expandWildcard(RefSpec spec,
java.util.Set<Ref> matched) |
void |
BasePackFetchConnection.fetch(ProgressMonitor monitor,
java.util.Collection<Ref> want,
java.util.Set<ObjectId> have)
Fetch objects we don't have but that are reachable from advertised refs.
|
void |
FetchConnection.fetch(ProgressMonitor monitor,
java.util.Collection<Ref> want,
java.util.Set<ObjectId> have)
Fetch objects we don't have but that are reachable from advertised refs.
|
void |
BaseFetchConnection.fetch(ProgressMonitor monitor,
java.util.Collection<Ref> want,
java.util.Set<ObjectId> have)
Fetch objects we don't have but that are reachable from advertised refs.
|
void |
BasePackFetchConnection.fetch(ProgressMonitor monitor,
java.util.Collection<Ref> want,
java.util.Set<ObjectId> have,
java.io.OutputStream outputStream)
Fetch objects we don't have but that are reachable from advertised refs.
|
void |
FetchConnection.fetch(ProgressMonitor monitor,
java.util.Collection<Ref> want,
java.util.Set<ObjectId> have,
java.io.OutputStream out)
Fetch objects we don't have but that are reachable from advertised refs.
|
void |
BaseFetchConnection.fetch(ProgressMonitor monitor,
java.util.Collection<Ref> want,
java.util.Set<ObjectId> have,
java.io.OutputStream out)
Fetch objects we don't have but that are reachable from advertised refs.
|
java.util.Map<java.lang.String,Ref> |
RefFilter.filter(java.util.Map<java.lang.String,Ref> refs)
Filters a
Map of refs before it is advertised to the client. |
private static void |
UploadPack.findSymrefs(RefAdvertiser adv,
java.util.Map<java.lang.String,Ref> refs) |
private static java.util.Map<java.lang.String,Ref> |
UploadPack.mapRefs(java.util.Map<java.lang.String,Ref> refs,
java.util.List<java.lang.String> names)
Returns the specified references.
|
private int |
BasePackFetchConnection.maxTimeWanted(java.util.Collection<Ref> wants) |
private void |
WalkFetchConnection.queueWants(java.util.Collection<Ref> want) |
private void |
TransportAmazonS3.DatabaseS3.readLooseRefs(java.util.TreeMap<java.lang.String,Ref> avail) |
private void |
TransportSftp.SftpObjectDB.readLooseRefs(java.util.TreeMap<java.lang.String,Ref> avail,
java.lang.String dir,
java.lang.String prefix) |
protected void |
WalkRemoteObjectDatabase.readPackedRefs(java.util.Map<java.lang.String,Ref> avail)
Read a standard Git packed-refs file to discover known references.
|
private void |
WalkRemoteObjectDatabase.readPackedRefsImpl(java.util.Map<java.lang.String,Ref> avail,
java.io.BufferedReader br) |
private Ref |
TransportAmazonS3.DatabaseS3.readRef(java.util.TreeMap<java.lang.String,Ref> avail,
java.lang.String rn) |
private Ref |
TransportSftp.SftpObjectDB.readRef(java.util.TreeMap<java.lang.String,Ref> avail,
java.lang.String path,
java.lang.String name) |
private static java.util.Set<ObjectId> |
UploadPack.refIdSet(java.util.Collection<Ref> refs) |
java.util.Set<ObjectId> |
RefAdvertiser.send(java.util.Collection<Ref> refs)
Format an advertisement for the supplied refs.
|
java.util.Set<ObjectId> |
RefAdvertiser.send(java.util.Map<java.lang.String,Ref> refs)
Deprecated.
use
RefAdvertiser.send(Collection) instead. |
private void |
UploadPack.sendPack(boolean sideband,
FetchRequest req,
PackStatistics.Accumulator accumulator,
java.util.Collection<Ref> allTags,
java.util.List<ObjectId> unshallowCommits,
java.util.List<ObjectId> deepenNots)
Send the requested objects to the client.
|
private void |
UploadPack.sendPack(PackStatistics.Accumulator accumulator,
FetchRequest req,
java.util.Collection<Ref> allTags,
java.util.List<ObjectId> unshallowCommits,
java.util.List<ObjectId> deepenNots)
Send the requested objects to the client.
|
private boolean |
BasePackFetchConnection.sendWants(java.util.Collection<Ref> want) |
void |
UploadPack.setAdvertisedRefs(java.util.Map<java.lang.String,Ref> allRefs)
Set the refs advertised by this UploadPack.
|
abstract void |
BaseReceivePack.setAdvertisedRefs(java.util.Map<java.lang.String,Ref> allRefs,
java.util.Set<ObjectId> additionalHaves)
|
void |
ReceivePack.setAdvertisedRefs(java.util.Map<java.lang.String,Ref> allRefs,
java.util.Set<ObjectId> additionalHaves)
Set the refs advertised by this ReceivePack.
|
(package private) void |
OperationResult.setAdvertisedRefs(URIish u,
java.util.Map<java.lang.String,Ref> ar) |
Constructor and Description |
---|
RemoteRefUpdate(Repository localDb,
Ref srcRef,
java.lang.String remoteName,
boolean forceUpdate,
java.lang.String localName,
ObjectId expectedOldObjectId)
Construct remote ref update request by providing an update specification.
|
Modifier and Type | Class and Description |
---|---|
class |
RefList<T extends Ref>
Specialized variant of an ArrayList to support a
RefDatabase . |
static class |
RefList.Builder<T extends Ref>
Builder to facilitate fast construction of an immutable RefList.
|
Modifier and Type | Field and Description |
---|---|
(package private) Ref[] |
RefList.list |
private Ref[] |
RefList.Builder.list |
private Ref |
RefMap.Ent.ref |
Modifier and Type | Field and Description |
---|---|
private static RefList<Ref> |
RefList.EMPTY |
private java.util.Set<java.util.Map.Entry<java.lang.String,Ref>> |
RefMap.entrySet |
(package private) RefList<Ref> |
RefMap.loose
Immutable collection of the loose references at construction time.
|
private java.util.Map.Entry<java.lang.String,Ref> |
RefMap.SetIterator.next |
(package private) RefList<Ref> |
RefMap.packed
Immutable collection of the packed references at construction time.
|
(package private) RefList<Ref> |
RefMap.resolved
Immutable collection of resolved symbolic references.
|
Modifier and Type | Method and Description |
---|---|
static <T extends Ref> |
RefList.emptyList()
Create an empty unmodifiable reference list.
|
static <T extends Ref> |
RefList.toRefList(java.util.function.BinaryOperator<T> mergeFunction)
Create a
Collector for Ref . |
Modifier and Type | Method and Description |
---|---|
Ref |
RefMap.get(java.lang.Object key) |
Ref |
RefMap.Ent.getValue() |
Ref |
RefMap.put(java.lang.String keyName,
Ref value) |
Ref |
RefMap.remove(java.lang.Object key) |
private Ref |
RefMap.SetIterator.resolveLoose(Ref l) |
Ref |
RefMap.Ent.setValue(Ref value) |
Modifier and Type | Method and Description |
---|---|
java.util.List<Ref> |
RefList.asList()
Cast
this as an immutable, standard List . |
java.util.Set<java.util.Map.Entry<java.lang.String,Ref>> |
RefMap.entrySet() |
java.util.Iterator<Ref> |
RefList.iterator() |
java.util.Map.Entry<java.lang.String,Ref> |
RefMap.SetIterator.next() |
java.util.Map.Entry<java.lang.String,Ref> |
RefMap.SetIterator.peek() |
static java.util.stream.Collector<Ref,?,RefMap> |
RefMap.toRefMap(java.util.function.BinaryOperator<Ref> mergeFunction)
Create a
Collector for Ref . |
Modifier and Type | Method and Description |
---|---|
void |
RefList.Builder.addAll(Ref[] src,
int off,
int cnt)
Add all items from a source array.
|
Ref |
RefMap.put(java.lang.String keyName,
Ref value) |
private Ref |
RefMap.SetIterator.resolveLoose(Ref l) |
Ref |
RefMap.Ent.setValue(Ref value) |
private RefMap.Ent |
RefMap.SetIterator.toEntry(Ref p) |
(package private) java.lang.String |
RefMap.toMapKey(Ref ref) |
Modifier and Type | Method and Description |
---|---|
static java.util.stream.Collector<Ref,?,RefMap> |
RefMap.toRefMap(java.util.function.BinaryOperator<Ref> mergeFunction)
Create a
Collector for Ref . |
Constructor and Description |
---|
Ent(Ref ref) |
RefList(Ref[] list,
int cnt) |
Constructor and Description |
---|
RefMap(java.lang.String prefix,
RefList<? extends Ref> packed,
RefList<? extends Ref> loose,
RefList<? extends Ref> resolved)
Construct a map to merge 3 collections together.
|
RefMap(java.lang.String prefix,
RefList<? extends Ref> packed,
RefList<? extends Ref> loose,
RefList<? extends Ref> resolved)
Construct a map to merge 3 collections together.
|
RefMap(java.lang.String prefix,
RefList<? extends Ref> packed,
RefList<? extends Ref> loose,
RefList<? extends Ref> resolved)
Construct a map to merge 3 collections together.
|