Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.memoire.yapod
Class YapodGroupQuery  view YapodGroupQuery download YapodGroupQuery.java

java.lang.Object
  extended bycom.memoire.yapod.YapodAbstractQuery
      extended bycom.memoire.yapod.YapodGroupQuery
All Implemented Interfaces:
YapodConstants, YapodQuery

public class YapodGroupQuery
extends YapodAbstractQuery

Regroupe les éléments résultants de _previous par valeurs du champ _field. Ex : YapodQuery q = new YapodGroupQuery("x", previous) avec resultat de previous = [ [x=1 y=1], [x=1 y=2], [x=2 y=1], [x=2 y=2] ] q donne [ pair(1, [ [x=1 y=1], [x=1 y=2] ], pair(2, [ [x=2 y=1], [x=2 y=2] ] ]


Field Summary
private  java.lang.String field_
           
 
Fields inherited from class com.memoire.yapod.YapodAbstractQuery
 
Fields inherited from interface com.memoire.yapod.YapodConstants
DUMMY, FAKE
 
Constructor Summary
YapodGroupQuery(java.lang.String _field, YapodQuery _previous)
           
 
Method Summary
static void main(java.lang.String[] args)
           
protected  java.util.Enumeration query(java.util.Enumeration e)
           
 java.lang.String toString()
          Convert this Object to a human-readable String.
 
Methods inherited from class com.memoire.yapod.YapodAbstractQuery
getPrevious, getResult, setPrevious
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

field_

private java.lang.String field_
Constructor Detail

YapodGroupQuery

public YapodGroupQuery(java.lang.String _field,
                       YapodQuery _previous)
Method Detail

query

protected java.util.Enumeration query(java.util.Enumeration e)
Specified by:
query in class YapodAbstractQuery

toString

public java.lang.String toString()
Description copied from class: java.lang.Object
Convert this Object to a human-readable String. There are no limits placed on how long this String should be or what it should contain. We suggest you make it as intuitive as possible to be able to place it into System.out.println() 55 and such.

It is typical, but not required, to ensure that this method never completes abruptly with a java.lang.RuntimeException.

This method will be called when performing string concatenation with this object. If the result is null, string concatenation will instead use "null".

The default implementation returns getClass().getName() + "@" + Integer.toHexString(hashCode()).

Overrides:
toString in class YapodAbstractQuery

main

public static void main(java.lang.String[] args)