parent
a1395b6823
commit
aac260f84c
|
@ -76,6 +76,7 @@ package org.apache.commons.lang3.builder;
|
|||
*
|
||||
* @since 3.0
|
||||
*/
|
||||
@FunctionalInterface
|
||||
public interface Builder<T> {
|
||||
|
||||
/**
|
||||
|
|
|
@ -39,6 +39,7 @@ package org.apache.commons.lang3.builder;
|
|||
* @param <T> the type of objects that this object may be differentiated against
|
||||
* @since 3.3
|
||||
*/
|
||||
@FunctionalInterface
|
||||
public interface Diffable<T> {
|
||||
|
||||
/**
|
||||
|
|
|
@ -69,6 +69,7 @@ import org.apache.commons.lang3.Validate;
|
|||
* <T> T obtain(Typed<T> typed, ...);
|
||||
* </pre>
|
||||
*
|
||||
* @param <T> the type
|
||||
* @since 3.2
|
||||
*/
|
||||
public abstract class TypeLiteral<T> implements Typed<T> {
|
||||
|
|
|
@ -20,13 +20,16 @@ import java.lang.reflect.Type;
|
|||
|
||||
/**
|
||||
* Generalization of "has a type."
|
||||
*
|
||||
* @param <T> the type
|
||||
* @see TypeLiteral
|
||||
* @since 3.2
|
||||
*/
|
||||
@FunctionalInterface
|
||||
public interface Typed<T> {
|
||||
|
||||
/**
|
||||
* Get the {@link Type} represented by this entity.
|
||||
* Gets the {@link Type} represented by this entity.
|
||||
*
|
||||
* @return Type
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue