Package org.opends.server.types
Class SizedEntry
- java.lang.Object
-
- org.opends.server.types.SizedEntry
-
public final class SizedEntry extends Object
An entry with its encoded size.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)EntrygetEntry()Returns the entry.DngetName()Returns the DN of entry.intgetSize()Returns the encoded size of the entry.inthashCode()static SizedEntrynewSizedEntry(Entry entry, int size)Creates a new sized entry with a non-null entry.StringtoString()
-
-
-
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
-
-