This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"actors":["刘书卫"],"alias":[],"categories":[],"commentsCount":null,"cover":{"l":"http://img.wdjimg.com/image/video/0c0f91873e19a5590bd3e65703d61f87_360_540.jpeg","s":"http://img.wdjimg.com/image/video/0c0f91873e19a5590bd3e65703d61f87_180_270.jpeg"},"createdDate":1409567652000,"description":"一只受伤的小黄鼠狼,被热情的小动物们收留。","directors":["刘书卫"],"downloadCount":0,"dubbings":[],"emax":1,"estart":0,"estimatedNextReleaseDate":null,"estimatedReleaseDates":[],"id":360979,"itemStatus":1,"language":"国语","lastEditTime":null,"latestEpisodeDate":null,"latestEpisodeNum":1,"marketComments":null,"marketRatings":[{"providerAlias":"sohu","providerName":"搜狐视频","rating":5.0}],"noDownloadUrls":false,"noPlayInfos":false,"noPrivateDownloadUrls":false,"pictures":{"l":["http://img.wdjimg.com/image/video/c7cf36d5fc842e16d248ed527622a4fe_600_450.jpeg","http://img.wdjimg.com/image/video/a0c47d31e98d043afcc31990ea22ede1_240_180.jpeg"],"m":["http://img.wdjimg.com/image/video/c7cf36d5fc842e16d248ed527622a4fe_1024_768.jpeg","http://img.wdjimg.com/imag |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package in.mobilelin.smartbar; | |
import java.lang.reflect.InvocationTargetException; | |
import java.lang.reflect.Method; | |
import android.app.ActionBar; | |
import android.support.v4.app.FragmentActivity; | |
public class SmartBarUtils { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int MergeCombin(int a[],int first, int middle , int last ,int temp[]) | |
{ | |
int i=first,j=middle+1,m=middle,n=last; | |
int k=0; | |
while(i<=m&&j<=n) | |
{ | |
if(a[i]<a[j]) | |
temp[k++]=a[i++]; | |
else | |
temp[k++]=a[j++]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int InsertSort(int data[]) | |
{ | |
int temp,j; | |
for(int i=0;i<10;i++) | |
{ | |
//把当前下标的数给temp | |
temp=data[i]; | |
//把当前下标给另外一个计数器j | |
j=i-1; | |
//当i之前的数比i大的时候,就依次向后挪位,留空给temp存储的数 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.LinkedList; | |
import java.util.Stack; | |
/* | |
* Email:wheam.me@gmail.com | |
* 程序说明:java多线程生产者消费者问题,采用wait&¬ify方法,参考了部分博客 | |
* */ | |
public class Sycn { | |
//设置一个list作为数据缓冲区 | |
private LinkedList<String> list = new LinkedList<String>(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.time; | |
import java.util.Timer; | |
import java.util.TimerTask; | |
import android.os.Bundle; | |
import android.os.Handler; | |
import android.os.Message; | |
import android.app.Activity; | |
import android.view.Menu; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?> | |
<!-- Put site-specific property overrides in this file. --> | |
<configuration> | |
<property> | |
<name>mapred.job.tracker</name> | |
<value>localhost:9001</value> | |
</property> | |
<property> | |
<name>mapred.local.dir</name> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?> | |
<!-- Put site-specific property overrides in this file. --> | |
<configuration> | |
<property> | |
<name>dfs.replication</name> | |
<value>1</value> | |
</property> | |
<property> | |
<name>dfs.name.dir</name> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?> | |
<!-- Put site-specific property overrides in this file. --> | |
<configuration> | |
<property> | |
<name>fs.default.name</name> | |
<value>hdfs://localhost:9000/</value> | |
</property> | |
<property> |