Nuxeo ECM Projects 5.4.3-SNAPSHOT

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

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

public class PartialList<E>
extends Object
implements Serializable

The bundling of a list and a total size.

The list MUST be Serializable.

See Also:
Serialized Form

Field Summary
 List<E> list
           
 long totalSize
           
 
Constructor Summary
PartialList(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 List<E> list

totalSize

public final long totalSize
Constructor Detail

PartialList

public PartialList(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 ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.