mirror of
https://github.com/querydsl/querydsl.git
synced 2026-06-24 21:07:26 +08:00
separated ExprFactory into interface and implementation
This commit is contained in:
parent
d8b162f69a
commit
91641d6548
@ -0,0 +1,33 @@
|
||||
/*
|
||||
* Copyright (c) 2008 Mysema Ltd.
|
||||
* All rights reserved.
|
||||
*
|
||||
*/
|
||||
package com.mysema.query.collections;
|
||||
|
||||
import com.mysema.query.grammar.types.ColTypes.ExtString;
|
||||
import com.mysema.query.grammar.types.Path.*;
|
||||
|
||||
/**
|
||||
* ExprFactory provides
|
||||
*
|
||||
* @author tiwe
|
||||
* @version $Id$
|
||||
*/
|
||||
public interface ExprFactory {
|
||||
|
||||
PBoolean create(Boolean arg);
|
||||
|
||||
PBooleanArray create(Boolean[] args);
|
||||
|
||||
<D extends Comparable<D>> PComparable<D> create(D arg);
|
||||
|
||||
<D> PSimple<D> create(D arg);
|
||||
|
||||
<D extends Comparable<D>> PComparableArray<D> create(D[] args);
|
||||
|
||||
ExtString create(String arg);
|
||||
|
||||
PStringArray create(String[] args);
|
||||
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user