Repeated Records in Java

Is there any way to create this type of structure in Java?

In Python it is possible, but we're programming the App Engine in Java and we don't have any idea how to make this.

Answers


Just use a List:

@Cache
@Entity
class  MyClass implements IsSerializable{
    public List<Log> logs;
    ...

In your Log class define your 4 fields:

@Entity
public class Log  implements IsSerializable {
  public String property1;
  public String property2;
  public String property3;
  public String property4;
  ....
}

I assume you are using Objectify


Need Your Help

DHTML menu not displaying

javascript dhtml

I am trying to display the menu using DHTML but I am getting a Javascript error and menus are not getting displayed.

How to style internal elements of a Dart Web Component?

dart dart-webui

I am playing with the popover component in the Dart "bee" Web Components package (bee)

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.