Class SizedEntry


  • public final class SizedEntry
    extends Object
    An entry with its encoded size.
    • Method Detail

      • newSizedEntry

        public static SizedEntry newSizedEntry​(Entry entry,
                                               int size)
        Creates a new sized entry with a non-null entry.
        Parameters:
        entry - The non-null entry.
        size - The binary size of the entry.
        Returns:
        a new sized entry with a non-null entry.
      • getEntry

        public Entry getEntry()
        Returns the entry.
        Returns:
        the entry
      • getSize

        public int getSize()
        Returns the encoded size of the entry.
        Returns:
        the encoded size of the entry.
      • getName

        public Dn getName()
        Returns the DN of entry.
        Returns:
        the DN of the entry
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object