org.jclouds.googlecloudstorage.domain
Class ListPage<T>

java.lang.Object
  extended by com.google.common.collect.FluentIterable<T>
      extended by org.jclouds.collect.IterableWithMarker<T>
          extended by org.jclouds.googlecloudstorage.domain.ListPage<T>
All Implemented Interfaces:
Iterable<T>

public class ListPage<T>
extends org.jclouds.collect.IterableWithMarker<T>

The collection returned from any listFirstPage() method.


Nested Class Summary
static class ListPage.Builder<T>
           
 
Constructor Summary
protected ListPage(Resource.Kind kind, String nextPageToken, Iterable<T> items, Set<String> prefixes)
           
 
Method Summary
static
<T> ListPage.Builder<T>
builder()
           
 boolean equals(Object obj)
           
 Resource.Kind getKind()
           
 String getNextPageToken()
           
 Set<String> getPrefixes()
           
 int hashCode()
           
 Iterator<T> iterator()
           
 com.google.common.base.Optional<Object> nextMarker()
           
protected  com.google.common.base.Objects.ToStringHelper string()
           
 ListPage.Builder<T> toBuilder()
           
 String toString()
           
 
Methods inherited from class com.google.common.collect.FluentIterable
allMatch, anyMatch, contains, copyInto, cycle, filter, filter, first, firstMatch, from, from, get, index, isEmpty, last, limit, size, skip, toArray, toList, toMap, toSet, toSortedList, toSortedSet, transform, transformAndConcat, uniqueIndex
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ListPage

@ConstructorProperties(value={"kind","nextPageToken","items","prefixes"})
protected ListPage(Resource.Kind kind,
                                              String nextPageToken,
                                              Iterable<T> items,
                                              Set<String> prefixes)
Method Detail

getKind

public Resource.Kind getKind()

getNextPageToken

public String getNextPageToken()

getPrefixes

public Set<String> getPrefixes()

nextMarker

public com.google.common.base.Optional<Object> nextMarker()
Specified by:
nextMarker in class org.jclouds.collect.IterableWithMarker<T>

iterator

public Iterator<T> iterator()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

string

protected com.google.common.base.Objects.ToStringHelper string()

toString

public String toString()
Overrides:
toString in class com.google.common.collect.FluentIterable<T>

builder

public static <T> ListPage.Builder<T> builder()

toBuilder

public ListPage.Builder<T> toBuilder()


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.