elasticsearch - What does this symbol mean in Java? -
i looking through illustration code elasticsearch library , noticed these symbols:
java.lang.short.class.getname(), "[s", "[[s", "[[[s", java.lang.character.class.getname(), "[c", "[[c", "[[[c", java.lang.byte.class.getname(), "[b", "[[b", "[[[b", java.lang.boolean.class.getname(), "[z", "[[z", "[[[z",
what mean? noted next primitive datatype objects.
its class names array. try
system.out.println(new short[1].getclass()); system.out.println(new short[1][1].getclass()); system.out.println(new int[1].getclass()); system.out.println(new char[1].getclass());
java elasticsearch
No comments:
Post a Comment