Package com.antlersoft.util

Examples of com.antlersoft.util.IteratorEnumeration


    public Enumeration getAll(String type) throws Exception
    {
        Enumeration result;
        try
        {
            result = new IteratorEnumeration(_session.getAll(Class.forName(type)));
        }
        catch ( NoSuchClassException nsce)
        {
            result = EmptyEnum.empty;
        }
View Full Code Here


      return _result;
    }
   
    public Enumeration evaluate( DataSource source)
    {
      return new IteratorEnumeration( ((ILDB)source).getAll(_result));
    }
View Full Code Here

    public Class getResultClass()
    {
      return String.class;
    }
    public Enumeration evaluate(DataSource db) {
        return new IteratorEnumeration( m_set.iterator());
    }
View Full Code Here

  }
 
  protected Enumeration getEnumerationFromSets()
  {
    return new CombineEnum(
        new IteratorEnumeration( m_set_a.iterator()),
        new IteratorEnumeration( m_set_b.iterator())
        );
  }
View Full Code Here

    return result;
  }
 
  protected Enumeration getEnumerationFromSets()
  {
    return new IteratorEnumeration( m_set_both.iterator());
  }
View Full Code Here

    return result;
  }
 
  protected Enumeration getEnumerationFromSets()
  {
    return new CombineEnum( new IteratorEnumeration( m_set_both.iterator()),
        new CombineEnum( new IteratorEnumeration( m_set_a.iterator()),
            new IteratorEnumeration( m_set_b.iterator())));
  }
View Full Code Here

   *
   * @return Enumeration over DBArgument objects for this method
   */
  public Enumeration getArguments()
  {
    return new FromRefEnumeration( new IteratorEnumeration( m_arguments.iterator()));
  }
View Full Code Here

   *
   * @return Enumeration over DBFieldReference of references from this method
   */
  public Enumeration getReferences()
  {
    return new FromRefEnumeration( new IteratorEnumeration( m_field_references.iterator()));
  }
View Full Code Here

   *
   * @return Enumeration over DBStringReference representing string references from this method
   */
  public Enumeration getStringReferences()
  {
    return new FromRefEnumeration( new IteratorEnumeration( m_string_references.iterator()));   
  }
View Full Code Here

   *
   * @return Enumeration over calls <i>from</i> this method
   */
  public Enumeration getCalls()
  {
    return new FromRefEnumeration( new IteratorEnumeration( m_calls.iterator()));
  }
View Full Code Here

TOP

Related Classes of com.antlersoft.util.IteratorEnumeration

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.