Skip to content

Instantly share code, notes, and snippets.

<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../core-header-panel/core-header-panel.html">
<link rel="import" href="../core-menu/core-submenu.html">
<link rel="import" href="../core-item/core-item.html">
<polymer-element name="my-element">
<template>
<style>
@BrainKu
BrainKu / privatevisiable
Created October 3, 2014 01:44
something about private
class AB {
private int ab = 1;
public AB() {
System.out.println(this.getClass().getSimpleName());
System.out.println(this.ab);
System.out.println(((ABC)this).ab);
}
}
class ABC extends AB {
@BrainKu
BrainKu / somebug
Last active August 29, 2015 14:07
Some code that could not parse by hexo
/* When hexo parse these code, it would be wrong */
public class Test {
public static class Outter {
String s1 = null;
String s2 = null;
}
public static void main(String[] args) {
Outter[] outters = new Outter[] {{"HEHE","HEHE"},{"HEHE","HEHE"}};
}