Skip to content

Commit 9aaf193

Browse files
committed
Site updated: 2018-10-30 08:15:44
1 parent 08977d4 commit 9aaf193

File tree

77 files changed

+190
-190
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

77 files changed

+190
-190
lines changed

2014/03/19/Oracle中删除重复记录整理/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@
306306
<span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
307307
<meta itemprop="name" content="hyhcoder">
308308
<meta itemprop="description" content="">
309-
<meta itemprop="image" content="http://omwycd607.bkt.clouddn.com/avatar.jpg">
309+
<meta itemprop="image" content="https://img.hyhcoder.top/avatar.jpg">
310310
</span>
311311

312312
<span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
@@ -512,7 +512,7 @@ <h1 id="Oracle中删除重复记录整理"><a href="#Oracle中删除重复记录
512512
<div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person">
513513

514514
<img class="site-author-image" itemprop="image"
515-
src="http://omwycd607.bkt.clouddn.com/avatar.jpg"
515+
src="https://img.hyhcoder.top/avatar.jpg"
516516
alt="hyhcoder" />
517517

518518
<p class="site-author-name" itemprop="name">hyhcoder</p>

2014/05/15/Oracle数据库服务总结/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@
306306
<span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
307307
<meta itemprop="name" content="hyhcoder">
308308
<meta itemprop="description" content="">
309-
<meta itemprop="image" content="http://omwycd607.bkt.clouddn.com/avatar.jpg">
309+
<meta itemprop="image" content="https://img.hyhcoder.top/avatar.jpg">
310310
</span>
311311

312312
<span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
@@ -540,7 +540,7 @@ <h2 id="特别注意"><a href="#特别注意" class="headerlink" title="特别
540540
<div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person">
541541

542542
<img class="site-author-image" itemprop="image"
543-
src="http://omwycd607.bkt.clouddn.com/avatar.jpg"
543+
src="https://img.hyhcoder.top/avatar.jpg"
544544
alt="hyhcoder" />
545545

546546
<p class="site-author-name" itemprop="name">hyhcoder</p>

2014/10/28/关于Java中转换机制整理/index.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -91,13 +91,13 @@
9191
<meta property="og:site_name" content="hyhcoder的博客">
9292
<meta property="og:description" content="关于Java中转换机制整理这两天在会看think in java, 顺便整理一些东西; 下面是最基本的数据类型比较: 说明几点:1 . 也可以分为两大类:boolean类型和数值类型(主要为了数据转换时用) 注意boolean不能与其他类型转换,把boolean赋予一个int等类型是不可以的 2 . String字符串并不是基本数据类型,字符串是一个类,就是说是一个引用数据类型。3 . 若还需">
9393
<meta property="og:locale" content="zh-Hans">
94-
<meta property="og:image" content="http://img.hyhcoder.top/17-3-26/94101325-file_1490513405075_15bf5.gif">
95-
<meta property="og:image" content="http://img.hyhcoder.top/17-3-26/56836039-file_1490513440333_7802.png">
96-
<meta property="og:updated_time" content="2018-01-07T00:20:09.177Z">
94+
<meta property="og:image" content="https://img.hyhcoder.top/17-3-26/94101325-file_1490513405075_15bf5.gif">
95+
<meta property="og:image" content="https://img.hyhcoder.top/17-3-26/56836039-file_1490513440333_7802.png">
96+
<meta property="og:updated_time" content="2018-10-29T23:15:13.111Z">
9797
<meta name="twitter:card" content="summary">
9898
<meta name="twitter:title" content="关于Java中转换机制整理">
9999
<meta name="twitter:description" content="关于Java中转换机制整理这两天在会看think in java, 顺便整理一些东西; 下面是最基本的数据类型比较: 说明几点:1 . 也可以分为两大类:boolean类型和数值类型(主要为了数据转换时用) 注意boolean不能与其他类型转换,把boolean赋予一个int等类型是不可以的 2 . String字符串并不是基本数据类型,字符串是一个类,就是说是一个引用数据类型。3 . 若还需">
100-
<meta name="twitter:image" content="http://img.hyhcoder.top/17-3-26/94101325-file_1490513405075_15bf5.gif">
100+
<meta name="twitter:image" content="https://img.hyhcoder.top/17-3-26/94101325-file_1490513405075_15bf5.gif">
101101

102102

103103

@@ -309,7 +309,7 @@
309309
<span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
310310
<meta itemprop="name" content="hyhcoder">
311311
<meta itemprop="description" content="">
312-
<meta itemprop="image" content="http://omwycd607.bkt.clouddn.com/avatar.jpg">
312+
<meta itemprop="image" content="https://img.hyhcoder.top/avatar.jpg">
313313
</span>
314314

315315
<span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
@@ -382,15 +382,15 @@ <h1 class="post-title" itemprop="name headline">关于Java中转换机制整理<
382382

383383

384384
<h1 id="关于Java中转换机制整理"><a href="#关于Java中转换机制整理" class="headerlink" title="关于Java中转换机制整理"></a>关于Java中转换机制整理</h1><p>这两天在会看think in java, 顺便整理一些东西;</p>
385-
<p>下面是最基本的数据类型比较:<br><img src="http://img.hyhcoder.top/17-3-26/94101325-file_1490513405075_15bf5.gif" alt=""></p>
385+
<p>下面是最基本的数据类型比较:<br><img src="https://img.hyhcoder.top/17-3-26/94101325-file_1490513405075_15bf5.gif" alt=""></p>
386386
<p>说明几点:<br>1 . 也可以分为两大类:boolean类型和数值类型(主要为了数据转换时用)</p>
387387
<ul>
388388
<li>注意boolean不能与其他类型转换,把boolean赋予一个int等类型是不可以的</li>
389389
</ul>
390390
<p>2 . String字符串并不是基本数据类型,字符串是一个类,就是说是一个引用数据类型。<br>3 . 若还需要用更高精度的浮点数,可以考虑使用BigDecimal类。<br>4 . Java提供了三个特殊的浮点数值:正无穷大、负无穷大和非数,用于表示溢出和出错。<br>5 . 例如使用一个正浮点数除以0将得到正无穷大(POSITIVE_INFINITY);负浮点数除以0得到负无穷大(NEGATIVE_INFINITY)。0.0除以0.0或对一个负数开方得到一个非数(NaN)。(都属于Double或Float包装类)<br>6 . 所有正无穷大数值相等,所有负无穷大数值都是相等;而NaN不与任何数值相等。</p>
391391
<h3 id="1-基本数值型类型的自动类型转换"><a href="#1-基本数值型类型的自动类型转换" class="headerlink" title="1.基本数值型类型的自动类型转换"></a>1.基本数值型类型的自动类型转换</h3><p>这种很好理解,就是在基本类型中(boolean除外),可以系统自动转换把范围小的直接赋予范围大的变量。</p>
392392
<ul>
393-
<li>一般是实行如下转换,不用特别标记:<br><img src="http://img.hyhcoder.top/17-3-26/56836039-file_1490513440333_7802.png" alt=""></li>
393+
<li>一般是实行如下转换,不用特别标记:<br><img src="https://img.hyhcoder.top/17-3-26/56836039-file_1490513440333_7802.png" alt=""></li>
394394
</ul>
395395
<figure class="highlight java"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br></pre></td><td class="code"><pre><span class="line"><span class="keyword">public</span> <span class="class"><span class="keyword">class</span> <span class="title">AutoConversion</span> </span>&#123;</span><br><span class="line"> <span class="function"><span class="keyword">public</span> <span class="keyword">static</span> <span class="keyword">void</span> <span class="title">main</span><span class="params">(String[] args)</span> </span>&#123;</span><br><span class="line"> <span class="keyword">int</span> a = <span class="number">6</span>;</span><br><span class="line"> <span class="keyword">float</span> f = a;<span class="comment">//int可以自动转为float</span></span><br><span class="line"> </span><br><span class="line"> <span class="keyword">byte</span> b = <span class="number">9</span>;</span><br><span class="line"> <span class="keyword">char</span> c = b;<span class="comment">//出错,byte不能转为char型</span></span><br><span class="line"> <span class="keyword">double</span> d = b;<span class="comment">//byte 可以转为double</span></span><br><span class="line"> </span><br><span class="line"> &#125;</span><br><span class="line"> &#125;</span><br></pre></td></tr></table></figure>
396396
<p><strong>PS:</strong>有一种比较特殊的自动类型转换,就是把基本类型(boolean也行)和一个空字符连接起来,可以形成对应的字符串。</p>
@@ -573,7 +573,7 @@ <h3 id="5-基本数据类型和包装类的转换"><a href="#5-基本数据类
573573
<div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person">
574574

575575
<img class="site-author-image" itemprop="image"
576-
src="http://omwycd607.bkt.clouddn.com/avatar.jpg"
576+
src="https://img.hyhcoder.top/avatar.jpg"
577577
alt="hyhcoder" />
578578

579579
<p class="site-author-name" itemprop="name">hyhcoder</p>

2014/12/09/win7下安装ubuntu14-04双系统/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@
306306
<span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
307307
<meta itemprop="name" content="hyhcoder">
308308
<meta itemprop="description" content="">
309-
<meta itemprop="image" content="http://omwycd607.bkt.clouddn.com/avatar.jpg">
309+
<meta itemprop="image" content="https://img.hyhcoder.top/avatar.jpg">
310310
</span>
311311

312312
<span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
@@ -524,7 +524,7 @@ <h1 id="win7下安装ubuntu14-04双系统"><a href="#win7下安装ubuntu14-04双
524524
<div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person">
525525

526526
<img class="site-author-image" itemprop="image"
527-
src="http://omwycd607.bkt.clouddn.com/avatar.jpg"
527+
src="https://img.hyhcoder.top/avatar.jpg"
528528
alt="hyhcoder" />
529529

530530
<p class="site-author-name" itemprop="name">hyhcoder</p>

2014/12/10/ubuntu安装后鼠标闪烁和卡顿问题/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@
306306
<span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
307307
<meta itemprop="name" content="hyhcoder">
308308
<meta itemprop="description" content="">
309-
<meta itemprop="image" content="http://omwycd607.bkt.clouddn.com/avatar.jpg">
309+
<meta itemprop="image" content="https://img.hyhcoder.top/avatar.jpg">
310310
</span>
311311

312312
<span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
@@ -524,7 +524,7 @@ <h1 id="win7下安装ubuntu14-04双系统"><a href="#win7下安装ubuntu14-04双
524524
<div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person">
525525

526526
<img class="site-author-image" itemprop="image"
527-
src="http://omwycd607.bkt.clouddn.com/avatar.jpg"
527+
src="https://img.hyhcoder.top/avatar.jpg"
528528
alt="hyhcoder" />
529529

530530
<p class="site-author-name" itemprop="name">hyhcoder</p>

2014/12/11/关于android环境搭建时sdk和adt下载慢的解决方法/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@
306306
<span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
307307
<meta itemprop="name" content="hyhcoder">
308308
<meta itemprop="description" content="">
309-
<meta itemprop="image" content="http://omwycd607.bkt.clouddn.com/avatar.jpg">
309+
<meta itemprop="image" content="https://img.hyhcoder.top/avatar.jpg">
310310
</span>
311311

312312
<span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
@@ -506,7 +506,7 @@ <h1 id="关于android环境搭建时sdk和adt下载慢的解决方法"><a href="
506506
<div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person">
507507

508508
<img class="site-author-image" itemprop="image"
509-
src="http://omwycd607.bkt.clouddn.com/avatar.jpg"
509+
src="https://img.hyhcoder.top/avatar.jpg"
510510
alt="hyhcoder" />
511511

512512
<p class="site-author-name" itemprop="name">hyhcoder</p>

2015/02/09/mysqldump命令一点总结/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@
305305
<span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
306306
<meta itemprop="name" content="hyhcoder">
307307
<meta itemprop="description" content="">
308-
<meta itemprop="image" content="http://omwycd607.bkt.clouddn.com/avatar.jpg">
308+
<meta itemprop="image" content="https://img.hyhcoder.top/avatar.jpg">
309309
</span>
310310

311311
<span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
@@ -536,7 +536,7 @@ <h3 id="支持的选项"><a href="#支持的选项" class="headerlink" title="
536536
<div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person">
537537

538538
<img class="site-author-image" itemprop="image"
539-
src="http://omwycd607.bkt.clouddn.com/avatar.jpg"
539+
src="https://img.hyhcoder.top/avatar.jpg"
540540
alt="hyhcoder" />
541541

542542
<p class="site-author-name" itemprop="name">hyhcoder</p>

2015/03/03/Java与C++在面向对象基本概念上的区分/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@
305305
<span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
306306
<meta itemprop="name" content="hyhcoder">
307307
<meta itemprop="description" content="">
308-
<meta itemprop="image" content="http://omwycd607.bkt.clouddn.com/avatar.jpg">
308+
<meta itemprop="image" content="https://img.hyhcoder.top/avatar.jpg">
309309
</span>
310310

311311
<span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
@@ -528,7 +528,7 @@ <h2 id="其他方面的区别"><a href="#其他方面的区别" class="headerlin
528528
<div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person">
529529

530530
<img class="site-author-image" itemprop="image"
531-
src="http://omwycd607.bkt.clouddn.com/avatar.jpg"
531+
src="https://img.hyhcoder.top/avatar.jpg"
532532
alt="hyhcoder" />
533533

534534
<p class="site-author-name" itemprop="name">hyhcoder</p>

2015/03/16/Android 随记/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@
305305
<span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
306306
<meta itemprop="name" content="hyhcoder">
307307
<meta itemprop="description" content="">
308-
<meta itemprop="image" content="http://omwycd607.bkt.clouddn.com/avatar.jpg">
308+
<meta itemprop="image" content="https://img.hyhcoder.top/avatar.jpg">
309309
</span>
310310

311311
<span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
@@ -598,7 +598,7 @@ <h1 id="Android-随记"><a href="#Android-随记" class="headerlink" title="Andr
598598
<div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person">
599599

600600
<img class="site-author-image" itemprop="image"
601-
src="http://omwycd607.bkt.clouddn.com/avatar.jpg"
601+
src="https://img.hyhcoder.top/avatar.jpg"
602602
alt="hyhcoder" />
603603

604604
<p class="site-author-name" itemprop="name">hyhcoder</p>

2015/05/20/oracle11g导出一些表缺失问题/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@
305305
<span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
306306
<meta itemprop="name" content="hyhcoder">
307307
<meta itemprop="description" content="">
308-
<meta itemprop="image" content="http://omwycd607.bkt.clouddn.com/avatar.jpg">
308+
<meta itemprop="image" content="https://img.hyhcoder.top/avatar.jpg">
309309
</span>
310310

311311
<span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
@@ -509,7 +509,7 @@ <h3 id="下面是终极方法:"><a href="#下面是终极方法:" class="hea
509509
<div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person">
510510

511511
<img class="site-author-image" itemprop="image"
512-
src="http://omwycd607.bkt.clouddn.com/avatar.jpg"
512+
src="https://img.hyhcoder.top/avatar.jpg"
513513
alt="hyhcoder" />
514514

515515
<p class="site-author-name" itemprop="name">hyhcoder</p>

2015/09/09/解决-bin-bash-M-bad-interpreter-No-such-file-or-directory/index.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -90,13 +90,13 @@
9090
<meta property="og:site_name" content="hyhcoder的博客">
9191
<meta property="og:description" content="今天编译了一个程序,然后上传到服务器运行时,居然报了以下错误1/bin/bash^M: bad interpreter: No such file or directory&amp;apos; 查阅资料, 可以得知是因为linux和windows对换行符理解的不同所导致的,解决很简单;">
9292
<meta property="og:locale" content="zh-Hans">
93-
<meta property="og:image" content="http://img.hyhcoder.top/17-4-9/99388935-file_1491743658921_72a3.png">
94-
<meta property="og:image" content="http://img.hyhcoder.top/17-4-9/44570419-file_1491743952413_246c.png">
95-
<meta property="og:updated_time" content="2018-01-07T00:22:22.489Z">
93+
<meta property="og:image" content="https://img.hyhcoder.top/17-4-9/99388935-file_1491743658921_72a3.png">
94+
<meta property="og:image" content="https://img.hyhcoder.top/17-4-9/44570419-file_1491743952413_246c.png">
95+
<meta property="og:updated_time" content="2018-10-29T23:15:18.371Z">
9696
<meta name="twitter:card" content="summary">
9797
<meta name="twitter:title" content="解决&#x2F;bin&#x2F;bash^M: bad interpreter: No such file or directory">
9898
<meta name="twitter:description" content="今天编译了一个程序,然后上传到服务器运行时,居然报了以下错误1/bin/bash^M: bad interpreter: No such file or directory&amp;apos; 查阅资料, 可以得知是因为linux和windows对换行符理解的不同所导致的,解决很简单;">
99-
<meta name="twitter:image" content="http://img.hyhcoder.top/17-4-9/99388935-file_1491743658921_72a3.png">
99+
<meta name="twitter:image" content="https://img.hyhcoder.top/17-4-9/99388935-file_1491743658921_72a3.png">
100100

101101

102102

@@ -308,7 +308,7 @@
308308
<span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
309309
<meta itemprop="name" content="hyhcoder">
310310
<meta itemprop="description" content="">
311-
<meta itemprop="image" content="http://omwycd607.bkt.clouddn.com/avatar.jpg">
311+
<meta itemprop="image" content="https://img.hyhcoder.top/avatar.jpg">
312312
</span>
313313

314314
<span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
@@ -394,9 +394,9 @@ <h3 id="解决方法"><a href="#解决方法" class="headerlink" title="解决
394394
<h3 id="从根本解决"><a href="#从根本解决" class="headerlink" title="从根本解决"></a>从根本解决</h3><p>使用上面的命令的确解决了该脚本无法运行的错误, 但是不可能让我每次编译后再在linux上执行转换命令吧, 这个不科学;</p>
395395
<p>继续探究, 发现我们可以在Eclipse上设置换行符的模式为unix, 这就可以避免我们的文件在unix运行的尴尬了;</p>
396396
<ol>
397-
<li><p>设置<br><img src="http://img.hyhcoder.top/17-4-9/99388935-file_1491743658921_72a3.png" alt="enter image description here"></p>
397+
<li><p>设置<br><img src="https://img.hyhcoder.top/17-4-9/99388935-file_1491743658921_72a3.png" alt="enter image description here"></p>
398398
</li>
399-
<li><p>该设置只是对新建的文件有效, 还需要对之前的文件进行转换;<br><img src="http://img.hyhcoder.top/17-4-9/44570419-file_1491743952413_246c.png" alt="enter image description here"></p>
399+
<li><p>该设置只是对新建的文件有效, 还需要对之前的文件进行转换;<br><img src="https://img.hyhcoder.top/17-4-9/44570419-file_1491743952413_246c.png" alt="enter image description here"></p>
400400
</li>
401401
<li><p>至此,该问题全部解决</p>
402402
</li>
@@ -519,7 +519,7 @@ <h3 id="从根本解决"><a href="#从根本解决" class="headerlink" title="
519519
<div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person">
520520

521521
<img class="site-author-image" itemprop="image"
522-
src="http://omwycd607.bkt.clouddn.com/avatar.jpg"
522+
src="https://img.hyhcoder.top/avatar.jpg"
523523
alt="hyhcoder" />
524524

525525
<p class="site-author-name" itemprop="name">hyhcoder</p>

0 commit comments

Comments
 (0)