Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.core.storage
Class PartialList<E>

java.lang.Object
  extended by org.nuxeo.ecm.core.storage.PartialList<E>
All Implemented Interfaces:
java.io.Serializable

public class PartialList<E>
extends java.lang.Object
implements java.io.Serializable

The bundling of a list and a total size.

The list MUST be Serializable.

See Also:
Serialized Form

Field Summary
 java.util.List<E> list
           
 long totalSize
           
 
Constructor Summary
PartialList(java.util.List<E> list, long totalSize)
          Constructs a partial list.
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

list

public final java.util.List<E> list

totalSize

public final long totalSize
Constructor Detail

PartialList

public PartialList(java.util.List<E> list,
                   long totalSize)
Constructs a partial list.

The list MUST be Serializable.

Parameters:
list - the list (MUST be Serializable)
totalSize - the total size

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.