org.jage.query
Class InitialSelectors

java.lang.Object
  extended by org.jage.query.InitialSelectors

public final class InitialSelectors
extends Object

Common implementations of IInitialSelector.

Author:
AGH AgE Team

Method Summary
static IInitialSelector all()
          Returns an initial selector that chooses all elements.
static IInitialSelector first(int number)
          Returns an initial selector that chooses a specified number of elements from the beginning of collection (if it is order, if it is not a selection is dependent on the iterator implementation).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

first

public static IInitialSelector first(int number)
Returns an initial selector that chooses a specified number of elements from the beginning of collection (if it is order, if it is not a selection is dependent on the iterator implementation).

Parameters:
number - A number of elements to choose.
Returns:
A new initial selector.

all

public static IInitialSelector all()
Returns an initial selector that chooses all elements.

Returns:
A new initial selector.


Copyright © 2006-2011 AGH University of Science and Technology. All Rights Reserved.