File: Layout.java

package info (click to toggle)
eclipse-jdt-ui 4.29-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 93,280 kB
  • sloc: java: 831,977; xml: 14,578; jsp: 33; makefile: 5
file content (16 lines) | stat: -rw-r--r-- 553 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package p;

import java.util.HashMap;
import java.util.HashSet;
import java.util.Set;

// To see the error
// select Layout -> right click to get context menu, Refactor -> Move Type to a New File
// an extra import com.github.forax.tomahawk.schema.Schema.Layout.PrimitiveLayout; is in Layout.java
public interface Layout {
	public static Set<HashMap<Layout, HashSet<Layout.PrimitiveLayout>>> abc = null;  
    default boolean isPrimitive() {
      return this instanceof Layout.PrimitiveLayout;
    }
    record PrimitiveLayout() implements Layout { }
}