java版 strcmp函数

来源:互联网 发布:sql 查询表的列名 编辑:程序博客网 时间:2024/06/09 18:28
private static boolean strcmp( Message msg ) {
if( msg == null ){
            // No message indicates that the message queue is quitting.
            return false;
        }
if( msg.target.getClass().getName().length() < 30 ){
            return false;
}
        if( "com.android.launcher2.Launcher$1".substring(0, 30).equals(msg.target.getClass().getName().substring(0, 30)) == true ){
            return true;                                                                                            
}else{
            return false;
}  
}
0 0
原创粉丝点击