Class DigestTree

java.lang.Object
com.perforce.p4java.diff.DigestTree

public class DigestTree extends Object
  • Constructor Details

    • DigestTree

      public DigestTree()
  • Method Details

    • 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(String fileName)
    • remove

      public void remove(String fileName)
    • clear

      public void clear()