2011-05-25から1日間の記事一覧
特定のインターフェースを継承してたら処理を行いたかってけれど Class[] this_interfaces = this.getClass().getInterfaces(); for (int i = 0; i < this_interfaces.length; i++) { if(this_interfaces[i].getName().equals("InterfaceName")){ // 処理 } …
特定のインターフェースを継承してたら処理を行いたかってけれど Class[] this_interfaces = this.getClass().getInterfaces(); for (int i = 0; i < this_interfaces.length; i++) { if(this_interfaces[i].getName().equals("InterfaceName")){ // 処理 } …