org.zkoss.pivot.util
Class PivotModels

java.lang.Object
  extended by org.zkoss.pivot.util.PivotModels

public class PivotModels
extends java.lang.Object

Utility class for PivotModel

Author:
simonpai

Nested Class Summary
static interface PivotModels.Filter<T>
          The filter interface
 
Constructor Summary
PivotModels()
           
 
Method Summary
static
<T> java.lang.Iterable<T>
filter(java.lang.Iterable<? extends T> iterable, PivotModels.Filter<T> filter)
          Return a proxy iterable object by filtering the items in the original.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PivotModels

public PivotModels()
Method Detail

filter

public static <T> java.lang.Iterable<T> filter(java.lang.Iterable<? extends T> iterable,
                                               PivotModels.Filter<T> filter)
Return a proxy iterable object by filtering the items in the original.

Parameters:
filter - the filter.
Returns:
the filtered iterable object


Copyright © 2013. All Rights Reserved.