Package org.jparsec.examples.common
Class ValueObject
java.lang.Object
org.jparsec.examples.common.ValueObject
- Direct Known Subclasses:
AliasedRelation,AltRule,Annotation,Annotation.Element,AnnotationDef,ArrayInitializer,ArraySubscriptExpression,ArrayTypeLiteral,AssertStatement,BetweenExpression,BinaryExpression,BinaryExpression,BinaryRelationalExpression,BlockStatement,BooleanLiteral,BreakStatement,CastExpression,CharLiteral,ClassDef,ClassInitializerDef,ClassLiteral,ConditionalExpression,ConstructorDef,ConstructorReference,ContinueStatement,CrossJoinRelation,DecimalPointNumberLiteral,DefBody,DoWhileStatement,EnumDef,ExpressionListStatement,ExpressionStatement,FieldDef,ForeachStatement,ForStatement,FullCaseExpression,FunctionExpression,GroupBy,Identifier,IfStatement,Import,InstanceOfExpression,IntegerLiteral,InterfaceDef,JoinRelation,LabelStatement,LambdaExpression,LambdaExpression.Parameter,LikeExpression,LiteralRule,LowerBoundWildcard,MethodCallExpression,MethodDef,MethodReference,NestedDef,NewArrayExpression,NewExpression,NumberExpression,OrderBy,OrderBy.Item,ParameterDef,PostfixUnaryExpression,PrefixUnaryExpression,Program,Projection,QualifiedExpression,QualifiedName,QualifiedName,QualifiedNameExpression,QuantifiedRule,ReturnStatement,RuleDef,RuleReference,ScientificNumberLiteral,Select,SequentialRule,SimpleCaseExpression,SimpleTypeLiteral,StringExpression,StringLiteral,SuperCallStatement,SuperExpression,SwitchStatement,SynchronizedBlockStatement,TableRelation,ThisCallStatement,ThisExpression,ThrowStatement,TryStatement,TryStatement.CatchBlock,TupleExpression,TypeParameterDef,UnaryExpression,UnaryRelationalExpression,UnionRelation,UpperBoundWildcard,VarStatement,VarStatement.Var,WhileStatement,WildcardExpression
Base class that implements
Object.equals(Object), Object.hashCode() and
Object#toString() on final fields.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Comparator<Field> private static final Field[]private static final ConcurrentMap<Class<?>, Field[]> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanprivate static Field[]getValueFields(Class<?> type) inthashCode()private static Field[]introspectValueFields(Class<?> type) private static <T> List<T> toString()toValueList(Object obj, Field[] fields)
-
Field Details
-
fieldValues
-
NAME_ORDER
-
valueFieldMap
-
NO_FIELD
-
-
Constructor Details
-
ValueObject
public ValueObject()
-
-
Method Details