@Test public void testGetNgType() { NgWord ngword = new NgWord(NgWord.Type.WORD, NGWORD, REGTIME, true, true, true); assertThat(ngword.getType(), is(NgWord.Type.WORD)); ngword = new NgWord(NgWord.Type.ID, NGWORD, REGTIME, true, true, true); assertThat(ngword.getType(), is(NgWord.Type.ID)); }
public Type getType() { return type; }
NgWord { public Type getType() { return type; } }
NgWord { public Type getType() { return type; } NgWord(Type type, String ngWord, int registerTime, boolean useCaseUnify, boolean regex, boolean readonly); }
NgWord { public Type getType() { return type; } NgWord(Type type, String ngWord, int registerTime, boolean useCaseUnify, boolean regex, boolean readonly); Type getType(); String getNgWord(); int getRegisterTime(); boolean isUseCaseUnify(); boolean isRegex(); boolean isReadonly(); }
NgWord { public Type getType() { return type; } NgWord(Type type, String ngWord, int registerTime, boolean useCaseUnify, boolean regex, boolean readonly); Type getType(); String getNgWord(); int getRegisterTime(); boolean isUseCaseUnify(); boolean isRegex(); boolean isReadonly();  }