public class Instances extends Object
Modifier and Type | Method and Description |
---|---|
Instances |
access(Accessor accessor) |
boolean |
areEqual() |
boolean |
areNull() |
boolean |
areSame() |
Object |
getBase() |
<T> T |
getBase(Class<T> type) |
Object |
getFresh() |
<T> T |
getFresh(Class<T> type) |
Accessor |
getSourceAccessor() |
Class<?> |
getType() |
Object |
getWorking() |
<T> T |
getWorking(Class<T> type) |
boolean |
hasBeenAdded() |
boolean |
hasBeenRemoved() |
boolean |
isPrimitiveNumericType() |
boolean |
isPrimitiveType() |
boolean |
isPrimitiveWrapperType() |
static <T> Instances |
of(Accessor sourceAccessor,
T working,
T base) |
static <T> Instances |
of(Accessor sourceAccessor,
T working,
T base,
T fresh) |
static <T> Instances |
of(T working,
T base) |
public static <T> Instances of(T working, T base)
public Accessor getSourceAccessor()
Accessor
that has been used to get to these instances.public Object getWorking()
public <T> T getWorking(Class<T> type)
public Object getBase()
public <T> T getBase(Class<T> type)
public Object getFresh()
public <T> T getFresh(Class<T> type)
public boolean hasBeenAdded()
public boolean hasBeenRemoved()
public boolean isPrimitiveType()
public boolean isPrimitiveWrapperType()
public Class<?> getType()
public boolean isPrimitiveNumericType()
public boolean areEqual()
public boolean areSame()
public boolean areNull()
Copyright © 2014. All rights reserved.