com.mysema.query.types
Class IntervalImpl<T>
java.lang.Object
com.mysema.query.types.IntervalImpl<T>
- Type Parameters:
T
-
- All Implemented Interfaces:
- Interval<T>
public class IntervalImpl<T>
- extends Object
- implements Interval<T>
Default implementation of the interval interface
- Author:
- tiwe
Method Summary |
static
|
create(T begin,
T end)
|
T |
getBegin()
Get the beginning of the interval or null |
T |
getEnd()
Get the end of the interval or null |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IntervalImpl
public IntervalImpl(@Nullable
T begin,
@Nullable
T end)
create
public static <T> Interval<T> create(@Nullable
T begin,
@Nullable
T end)
getBegin
public T getBegin()
- Description copied from interface:
Interval
- Get the beginning of the interval or null
- Specified by:
getBegin
in interface Interval<T>
- Returns:
getEnd
public T getEnd()
- Description copied from interface:
Interval
- Get the end of the interval or null
- Specified by:
getEnd
in interface Interval<T>
- Returns:
Copyright © 2007-2010 Mysema Ltd. All Rights Reserved.