RMI
JMX
---------------
937. Reorder Log Files https://leetcode.com/problems/reorder-log-files/
class Solution {
public String[] reorderLogFiles(String[] logs) {
if(logs.length <= 1){
return logs;
}
String[] result = new String[logs.length];
for(int q = logs.length -1; q >= 0; q++){
if(!isLetterLogs(logs[q])){
result[q] = logs[q];
}else{
}
}
return result;
}
private boolean isLetterLogs(String log){
String[] logList = log.split(" ");
for(int i = 1;i < logList.length; i ++){
char[] temp = logList[i].toCharArray();
for(int j = 0; j< temp.length; j++){
if( !(temp[j]>='a' && temp[j]<='z')){
return false;
}
}
}
return true;
}
}
https://leetcode.com/problems/groups-of-special-equivalent-strings/discuss/289642/java-4ms-customized-hashing-algorithm-easy-to-understand
onenote:///\\asiapac.nom\home\userdata\SHA02\cuixunxu\Desktop\Email%20Automation
2019-05-17 08:25:30,860 ERROR [1] [LONWS20686] [DbImportPackageRunner] [f27e3790-8b43-4331-a3f5-d3fb76557602] Error during ValidateAndRun. ErrorMessage:Error during ExecutePostProcessStoredProcedure:sp_LoadStageTakaraBookToHierarchy LoadId:5831 Date:20190516
Inner Exceptions:Can't allocate space for object 'syslogs' in database 'UnityCreditETL' because 'logsegment' segment is full/has no free extents. If you ran out of space in syslogs, dump the transaction log. Otherwise, use ALTER DATABASE to increase the size of the segment.
StackTrace: at.Unity.Credit.Ace.DbImportUtils.DestinationConnection.DatabaseSybase.ExecutePostProcessStoredProcedure(String procedureName, Int32 loadId, DateTime dateTime)
at.Unity.Credit.Ace.DbImportUtils.DbImportPackageRunner.ImportData(String uri, Boolean performLoad)
2019-05-17 08:25:30,877 INFO [1] [LONWS20686] [DbImportPackageRunner] [f27e3790-8b43-4331-a3f5-d3fb76557602] ExitCode:False
2019-05-17 08:25:30,892 INFO [1] [LONWS20686] [DbImportPackageRunner] [f27e3790-8b43-4331-a3f5-d3fb76557602] *** END IMPORT DATA ***
2019-05-17 08:25:30,908 ERROR [1] [LONWS20686] [TraderMetricsDataLoader] Unexpected exception in TraderMetricsDataLoader. ErrorMessage:Error during ExecutePostProcessStoredProcedure:sp_LoadStageTakaraBookToHierarchy LoadId:5831 Date:20190516
Inner Exceptions:Can't allocate space for object 'syslogs' in database 'UnityCreditETL' because 'logsegment' segment is full/has no free extents. If you ran out of space in syslogs, dump the transaction log. Otherwise, use ALTER DATABASE to increase the size of the segment.
StackTrace: at.Unity.Credit.Ace.DbImportUtils.DestinationConnection.DatabaseSybase.ExecutePostProcessStoredProcedure(String procedureName, Int32 loadId, DateTime dateTime)
at.Unity.Credit.Ace.DbImportUtils.DbImportPackageRunner.ImportData(String uri, Boolean performLoad)
at .Unity.Credit.Ace.TraderMetricsDataLoader.TraderMetricsDataLoader.Main(String[] args)
2019-05-17 08:25:30,932 INFO [1] [LONWS20686] [TraderMetricsDataLoader] *** Finished TraderMetricsDataLoader Return:-1=Failure ***
Task List:
1- primitive type -> byte bit
> native 关键字
2- primitive type, reference type --> stack , 堆
3-stringBuffer stringBuilder
4-sealed, 没有关键字怎么处理
IObservable 接口 : https://jingyan.baidu.com/article/d3b74d64ac3b6c1f77e609c1.html
5-int, long的取值范围。。什么时候考虑大数字问题
6-why you cannot cast between Iterable<String> and Iterable<Object>, check out covariance and contravariance.