com.cumulocity.model.util
Class CumulocityDocuments

java.lang.Object
  extended by com.cumulocity.model.util.CumulocityDocuments

public class CumulocityDocuments
extends Object


Constructor Summary
CumulocityDocuments()
           
 
Method Summary
static
<T> Set<T>
asSet(T... c)
           
static
<T> Set<T>
contentOf(Page<T> p)
           
static
<T extends Document<GId>>
Set<String>
idsOf(Collection<T> docs)
           
static
<T> Set<T>
unionOf(Collection<T>... collections)
           
static
<T> Set<T>
unionOf(Page<T> pageA, Page<T> pageB)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CumulocityDocuments

public CumulocityDocuments()
Method Detail

unionOf

public static <T> Set<T> unionOf(Page<T> pageA,
                                 Page<T> pageB)

unionOf

public static <T> Set<T> unionOf(Collection<T>... collections)

contentOf

public static <T> Set<T> contentOf(Page<T> p)

asSet

public static <T> Set<T> asSet(T... c)

idsOf

public static <T extends Document<GId>> Set<String> idsOf(Collection<T> docs)


Copyright © 2013 (C) Cumulocity GmbH. All Rights Reserved.