Package com.perforce.p4java.diff
Class DigestTree
- java.lang.Object
-
- com.perforce.p4java.diff.DigestTree
-
public class DigestTree extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description DigestTree()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()booleancontains(StrStr entry)StrStrget(java.lang.String fileName)booleanputIfAbsent(StrStr entry)Custom putIfAbsent implementation.voidremove(java.lang.String fileName)
-
-
-
Method Detail
-
putIfAbsent
public boolean putIfAbsent(StrStr entry)
Custom putIfAbsent implementation. Adds the entry only if no mapping for the fileName already exists.- Parameters:
entry- the StrStr object to insert- Returns:
- true if the entry was added, false if it already existed
-
contains
public boolean contains(StrStr entry)
-
get
public StrStr get(java.lang.String fileName)
-
remove
public void remove(java.lang.String fileName)
-
clear
public void clear()
-
-