file_name
stringlengths 6
65
| file_path
stringlengths 58
240
| content
stringlengths 684
891k
| file_size
int64 688
891k
| language
stringclasses 1
value | extension
stringclasses 1
value | repo_name
stringlengths 7
87
| repo_stars
int64 8
31.8k
| repo_forks
int64 0
9.36k
| repo_open_issues
int64 0
1.54k
| repo_created_at
stringlengths 20
20
| repo_pushed_at
stringlengths 20
20
| sha
stringlengths 64
64
| input_ids
listlengths 301
255k
| attention_mask
listlengths 1
1
| n_tok
int64 301
255k
| longline
bool 2
classes | alpha
float64 0.18
90.1
| encoded
bool 2
classes | autogen
bool 1
class |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
RemovalControlPanel.java
|
/FileExtraction/Java_unseen/comusika_comusika-studio/modules/frinika-core/src/main/java/com/frinika/gui/util/panel/RemovalControlPanel.java
|
package com.frinika.gui.util.panel;
import com.frinika.gui.util.LanguageUtils;
import com.frinika.gui.util.OkCancelListener;
import com.frinika.gui.util.WindowUtils;
import com.frinika.gui.util.handler.RemovalControlHandler;
import javax.annotation.Nonnull;
import javax.annotation.ParametersAreNonnullByDefault;
/**
* Basic control panel with support for removal.
*
* @author hajdam
*/
@ParametersAreNonnullByDefault
public class RemovalControlPanel extends javax.swing.JPanel implements RemovalControlHandler.RemovalControlService {
private final java.util.ResourceBundle resourceBundle;
private RemovalControlHandler handler;
private OkCancelListener okCancelListener;
public RemovalControlPanel() {
this(LanguageUtils.getResourceBundleByClass(RemovalControlPanel.class));
}
public RemovalControlPanel(java.util.ResourceBundle resourceBundle) {
this.resourceBundle = resourceBundle;
initComponents();
okCancelListener = new OkCancelListener() {
@Override
public void okEvent() {
performClick(RemovalControlHandler.ControlActionType.OK);
}
@Override
public void cancelEvent() {
performClick(RemovalControlHandler.ControlActionType.CANCEL);
}
};
}
public void setHandler(RemovalControlHandler handler) {
this.handler = handler;
}
/**
* This method is called from within the constructor to initialize the form.
* WARNING: Do NOT modify this code. The content of this method is always
* regenerated by the Form Editor.
*/
@SuppressWarnings("unchecked")
// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
private void initComponents() {
cancelButton = new javax.swing.JButton();
okButton = new javax.swing.JButton();
removeButton = new javax.swing.JButton();
cancelButton.setText(resourceBundle.getString("cancelButton.text")); // NOI18N
cancelButton.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
cancelButtonActionPerformed(evt);
}
});
okButton.setText(resourceBundle.getString("okButton.text")); // NOI18N
okButton.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
okButtonActionPerformed(evt);
}
});
removeButton.setText(resourceBundle.getString("removeButton.text")); // NOI18N
removeButton.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
removeButtonActionPerformed(evt);
}
});
javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
this.setLayout(layout);
layout.setHorizontalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
.addContainerGap()
.addComponent(removeButton)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(okButton)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(cancelButton)
.addContainerGap())
);
layout.setVerticalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(cancelButton)
.addComponent(okButton)
.addComponent(removeButton))
.addContainerGap())
);
}// </editor-fold>//GEN-END:initComponents
private void cancelButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_cancelButtonActionPerformed
if (handler != null) {
handler.controlActionPerformed(RemovalControlHandler.ControlActionType.CANCEL);
}
}//GEN-LAST:event_cancelButtonActionPerformed
private void okButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_okButtonActionPerformed
if (handler != null) {
handler.controlActionPerformed(RemovalControlHandler.ControlActionType.OK);
}
}//GEN-LAST:event_okButtonActionPerformed
private void removeButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_removeButtonActionPerformed
if (handler != null) {
handler.controlActionPerformed(RemovalControlHandler.ControlActionType.REMOVE);
}
}//GEN-LAST:event_removeButtonActionPerformed
// Variables declaration - do not modify//GEN-BEGIN:variables
private javax.swing.JButton cancelButton;
private javax.swing.JButton okButton;
private javax.swing.JButton removeButton;
// End of variables declaration//GEN-END:variables
@Override
public void performClick(RemovalControlHandler.ControlActionType actionType) {
WindowUtils.doButtonClick(actionType == RemovalControlHandler.ControlActionType.OK ? okButton : cancelButton);
}
@Nonnull
@Override
public OkCancelListener getOkCancelListener() {
return okCancelListener;
}
@Nonnull
@Override
public RemovalControlHandler.RemovalControlEnablementListener createEnablementListener() {
return (RemovalControlHandler.ControlActionType actionType, boolean enablement) -> {
switch (actionType) {
case OK: {
okButton.setEnabled(enablement);
break;
}
case CANCEL: {
cancelButton.setEnabled(enablement);
break;
}
default:
throw new IllegalStateException("Illegal action type " + actionType.name());
}
};
}
}
| 6,405
|
Java
|
.java
|
comusika/comusika-studio
| 13
| 2
| 1
|
2017-11-16T23:29:29Z
|
2023-03-02T21:19:32Z
|
cf58c459a06be4fdc6a892f45566e51d324f8ecfe875435aa1102d69c3a5cf86
|
[
1337,
785,
51,
2197,
285,
13042,
51,
8472,
51,
1058,
51,
4719,
64,
222,
222,
485,
785,
51,
2197,
285,
13042,
51,
8472,
51,
1058,
51,
5980,
2769,
64,
222,
485,
785,
51,
2197,
285,
13042,
51,
8472,
51,
1058,
51,
7573,
7034,
2239,
64,
222,
485,
785,
51,
2197,
285,
13042,
51,
8472,
51,
1058,
51,
1684,
2769,
64,
222,
485,
785,
51,
2197,
285,
13042,
51,
8472,
51,
1058,
51,
4543,
51,
36411,
2436,
1985,
64,
222,
485,
3698,
51,
4341,
51,
13438,
64,
222,
485,
3698,
51,
4341,
51,
3694,
3689,
13438,
46641,
64,
222,
222,
1350,
222,
338,
9280,
3518,
7992,
642,
2208,
456,
27228,
51,
222,
338,
222,
338,
496,
2133,
439,
2512,
29248,
222,
588,
222,
69,
3694,
3689,
13438,
46641,
222,
942,
462,
4212,
21861,
2436,
3686,
2041,
3698,
51,
5934,
51,
32273,
4584,
4212,
21861,
2436,
1985,
51,
36411,
2436,
1201,
320,
465,
964,
1175,
1401,
51,
1058,
51,
44616,
2885,
4775,
64,
303,
964,
4212,
21861,
2436,
1985,
4908,
64,
303,
964,
6326,
7034,
2239,
3847,
7034,
2239,
64,
465,
581,
4212,
21861,
2436,
3686,
365,
320,
310,
477,
45,
5980,
2769,
51,
17633,
4775,
1103,
1359,
45,
36411,
2436,
3686,
51,
842,
894,
303,
339,
465,
581,
4212,
21861,
2436,
3686,
45,
1874,
51,
1058,
51,
44616,
2885,
4775,
46,
320,
310,
477,
51,
3157,
4775,
299,
2885,
4775,
64,
310,
3238,
8176,
492,
603,
3847,
7034,
2239,
299,
556,
6326,
7034,
2239,
365,
320,
343,
496,
1806,
343,
581,
782,
3847,
1167,
365,
320,
419,
4464,
2668,
45,
36411,
2436,
1985,
51,
2436,
26682,
51,
2966,
312,
343,
339,
1083,
496,
1806,
343,
581,
782,
8260,
1167,
365,
320,
419,
4464,
2668,
45,
36411,
2436,
1985,
51,
2436,
26682,
51,
27934,
312,
343,
339,
310,
1487,
303,
339,
465,
581,
782,
758,
1985,
45,
36411,
2436,
1985,
4908,
46,
320,
310,
477,
51,
4543,
299,
4908,
64,
303,
339,
465,
1041,
294,
338,
1369,
1431,
458,
3845,
664,
4824,
341,
4389,
391,
7395,
341,
2252,
51,
294,
338,
18226,
63,
3291,
2387,
5370,
477,
1361,
51,
906,
1813,
451,
477,
1431,
458,
5198,
294,
338,
40662,
829,
341,
3735,
11419,
51,
294,
588,
303,
496,
14030,
459,
18362,
678,
303,
453,
350,
5739,
50,
8727,
1263,
1311,
366,
28757,
39,
5615,
366,
6540,
4420,
31146,
7155,
50,
12188,
63,
1683,
8176,
303,
964,
782,
3238,
8176,
365,
320,
603,
8260,
1732,
299,
556,
3698,
51,
5934,
51,
32880,
492,
310,
3847,
1732,
299,
556,
3698,
51,
5934,
51,
32880,
492,
310,
3365,
1732,
299,
556,
3698,
51,
5934,
51,
32880,
492,
603,
8260,
1732,
51,
6619,
45,
3157,
4775,
51,
7080,
459,
8158,
1732,
51,
897,
2992,
453,
32876,
54,
61,
83,
310,
8260,
1732,
51,
24508,
45,
909,
1401,
51,
8236,
51,
1585,
51,
17317,
365,
320,
343,
581,
782,
29546,
45,
1874,
51,
8236,
51,
1585,
51,
18126,
13975,
46,
320,
419,
8260,
1732,
22791,
45,
12000,
312,
343,
339,
310,
1141,
603,
3847,
1732,
51,
6619,
45,
3157,
4775,
51,
7080,
459,
1273,
1732,
51,
897,
2992,
453,
32876,
54,
61,
83,
310,
3847,
1732,
51,
24508,
45,
909,
1401,
51,
8236,
51,
1585,
51,
17317,
365,
320,
343,
581,
782,
29546,
45,
1874,
51,
8236,
51,
1585,
51,
18126,
13975,
46,
320,
419,
3847,
1732,
22791,
45,
12000,
312,
343,
339,
310,
1141,
603,
3365,
1732,
51,
6619,
45,
3157,
4775,
51,
7080,
459,
2564,
1732,
51,
897,
2992,
453,
32876,
54,
61,
83,
310,
3365,
1732,
51,
24508,
45,
909,
1401,
51,
8236,
51,
1585,
51,
17317,
365,
320,
343,
581,
782,
29546,
45,
1874,
51,
8236,
51,
1585,
51,
18126,
13975,
46,
320,
419,
3365,
1732,
22791,
45,
12000,
312,
343,
339,
310,
1141,
603,
3698,
51,
5934,
51,
13305,
6385,
299,
556,
3698,
51,
5934,
51,
13305,
45,
597,
312,
310,
477,
51,
20113,
45,
3106,
312,
310,
6385,
51,
41069,
1582,
45,
343,
6385,
51,
33205,
45,
10775,
51,
5934,
51,
13305,
51,
7759,
51,
37249,
46,
343,
657,
26446,
45,
10775,
51,
5934,
51,
13305,
51,
7759,
51,
1328,
9619,
1410,
49,
6385,
51,
42158,
365,
419,
657,
688,
2894,
15719,
365,
419,
657,
18334,
45,
2564,
1732,
46,
419,
657,
688,
17211,
15719,
45,
10775,
51,
5934,
51,
2362,
2291,
51,
1735,
19046,
51,
45205,
49,
3698,
51,
5934,
51,
13305,
51,
5815,
100,
3382,
49,
13813,
51,
3470,
100,
5986,
46,
419,
657,
18334,
45,
1273,
1732,
46,
419,
657,
688,
17211,
15719,
45,
10775,
51,
5934,
51,
2362,
2291,
51,
1735,
19046,
51,
1430,
45205,
46,
419,
657,
18334,
45,
8158,
1732,
46,
419,
657,
688,
2894,
15719,
1177,
310,
1110,
310,
6385,
51,
489,
11916,
1582,
45,
343,
6385,
51,
33205,
45,
10775,
51,
5934,
51,
13305,
51,
7759,
51,
37249,
46,
343,
657,
26446,
45,
3106,
51,
42158,
365,
419,
657,
688,
2894,
15719,
45,
10775,
51,
5934,
51,
13305,
51,
5815,
100,
3382,
49,
13813,
51,
3470,
100,
5986,
46,
419,
657,
26446,
45,
3106,
51,
33205,
45,
10775,
51,
5934,
51,
13305,
51,
7759,
51,
6185,
4794,
46,
547,
657,
18334,
45,
8158,
1732,
46,
547,
657,
18334,
45,
1273,
1732,
46,
547,
657,
18334,
45,
2564,
1732,
509,
419,
657,
688,
2894,
15719,
1177,
310,
1110,
303,
28843,
594,
5739,
50,
8727,
47447,
7155,
50,
3298,
63,
1683,
8176,
465,
964,
782,
8260,
1732,
22791,
45,
1874,
51,
8236,
51,
1585,
51,
18126,
13975,
46,
24167,
7155,
50,
16825,
63,
1585,
100,
8158,
1732,
22791,
310,
434,
327,
4543,
882,
762,
46,
320,
343,
4908,
51,
2452,
22791,
45,
36411,
2436,
1985,
51,
2436,
26682,
51,
27934,
312,
310,
339,
303,
28843,
7155,
50,
14388,
63,
1585,
100,
8158,
1732,
22791,
465,
964,
782,
3847,
1732,
22791,
45,
1874,
51,
8236,
51,
1585,
51,
18126,
13975,
46,
24167,
7155,
50,
16825,
63,
1585,
100,
1273,
1732,
22791,
310,
434,
327,
4543,
882,
762,
46,
320,
343,
4908,
51,
2452,
22791,
45,
36411,
2436,
1985,
51,
2436,
26682,
51,
2966,
312,
310,
339,
303,
28843,
7155,
50,
14388,
63,
1585,
100,
1273,
1732,
22791,
465,
964,
782,
3365,
1732,
22791,
45,
1874,
51,
8236,
51,
1585,
51,
18126,
13975,
46,
24167,
7155,
50,
16825,
63,
1585,
100,
2564,
1732,
22791,
310,
434,
327,
4543,
882,
762,
46,
320,
343,
4908,
51,
2452,
22791,
45,
36411,
2436,
1985,
51,
2436,
26682,
51,
25938,
312,
310,
339,
303,
28843,
7155,
50,
14388,
63,
1585,
100,
2564,
1732,
22791,
4054,
453,
19949,
13317,
449,
764,
666,
5370,
325,
7155,
50,
12188,
63,
9605,
303,
964,
3698,
51,
5934,
51,
32880,
8260,
1732,
64,
303,
964,
3698,
51,
5934,
51,
32880,
3847,
1732,
64,
303,
964,
3698,
51,
5934,
51,
32880,
3365,
1732,
64,
303,
453,
4733,
451,
4918,
13317,
325,
7155,
50,
3298,
63,
9605,
465,
496,
1806,
303,
581,
782,
4464,
2668,
45,
36411,
2436,
1985,
51,
2436,
26682,
2146,
638,
46,
320,
310,
12016,
2769,
51,
1428,
1732,
2668,
45,
1160,
638,
630,
4212,
21861,
2436,
1985,
51,
2436,
26682,
51,
2966,
1037,
3847,
1732,
518,
8260,
1732,
312,
303,
339,
465,
496,
13438,
303,
496,
1806,
303,
581,
6326,
7034,
2239,
640,
7573,
7034,
2239,
365,
320,
310,
461,
3847,
7034,
2239,
64,
303,
339,
465,
496,
13438,
303,
496,
1806,
303,
581,
4212,
21861,
2436,
1985,
51,
36411,
2436,
6601,
488,
2239,
1506,
6601,
488,
2239,
365,
320,
310,
461,
327,
36411,
2436,
1985,
51,
2436,
26682,
2146,
638,
49,
1922,
5362,
488,
46,
984,
320,
343,
3593,
327,
1160,
638,
46,
320,
419,
1152,
9209,
63,
320,
547,
3847,
1732,
51,
18822,
45,
4909,
488,
312,
547,
1644,
64,
419,
339,
419,
1152,
45044,
63,
320,
547,
8260,
1732,
51,
18822,
45,
4909,
488,
312,
547,
1644,
64,
419,
339,
419,
1263,
63,
547,
1440,
556,
21641,
459,
15083,
2146,
847,
332,
494,
2146,
638,
51,
444,
1052,
343,
339,
310,
1487,
303,
339,
222,
130,
222
] |
[
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 1,316
| true
| 66.96331
| true
| true
|
RedPacketUtils.java
|
/FileExtraction/Java_unseen/qwdigital_LinkWechat-Scrm/linkwe-common/src/main/java/com/linkwechat/common/utils/RedPacketUtils.java
|
package com.linkwechat.common.utils;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
import java.util.concurrent.CopyOnWriteArrayList;
public class RedPacketUtils {
private static final Random random = new Random();
/**
* 根据总数分割个数及限定区间进行数据随机处理
* 数列浮动阀值为0.95
*
* @param totalMoney - 被分割的总数
* @param splitNum - 分割的个数
* @param min - 单个数字下限
* @param max - 单个数字上限
* @return - 返回符合要求的数字列表
*/
public static List<BigDecimal> genRanddomList(BigDecimal totalMoney, Integer splitNum, BigDecimal min, BigDecimal max, float thresh) {
totalMoney = totalMoney.multiply(new BigDecimal(100));
min = min.multiply(new BigDecimal(100));
max = max.multiply(new BigDecimal(100));
List<Integer> li = genRandList(totalMoney.intValue(), splitNum, min.intValue(), max.intValue(), thresh);
List<BigDecimal> randomList = new CopyOnWriteArrayList<>();
for (Integer v : li) {
BigDecimal randomVlue = new BigDecimal(v).divide(new BigDecimal(100));
randomList.add(randomVlue);
}
randomList = randomArrayList(randomList);
return randomList;
}
/**
* 根据总数分割个数及限定区间进行数据随机处理
*
* @param total - 被分割的总数
* @param splitNum - 分割的个数
* @param min - 单个数字下限
* @param max - 单个数字上限
* @param thresh - 数列浮动阀值[0.0, 1.0]
*/
public static List<Integer> genRandList(int total, int splitNum, int min, int max, float thresh) {
assert total >= splitNum * min && total <= splitNum * max : "请校验红包参数设置的合理性";
assert thresh >= 0.0f && thresh <= 1.0f;
// 平均分配
int average = total / splitNum;
List<Integer> list = new ArrayList<>(splitNum);
int rest = total - average * splitNum;
for (int i = 0; i < splitNum; i++) {
if (i < rest) {
list.add(average + 1);
} else {
list.add(average);
}
}
// 如果浮动阀值为0则不进行数据随机处理
if (thresh == 0) {
return list;
}
// 根据阀值进行数据随机处理
int randOfRange = 0;
int randRom = 0;
int nextIndex = 0;
int nextValue = 0;
int surplus = 0;//多余
int lack = 0;//缺少
for (int i = 0; i < splitNum - 1; i++) {
nextIndex = i + 1;
int itemThis = list.get(i);
int itemNext = list.get(nextIndex);
boolean isLt = itemThis < itemNext;
int rangeThis = isLt ? max - itemThis : itemThis - min;
int rangeNext = isLt ? itemNext - min : max - itemNext;
int rangeFinal = (int) Math.ceil(thresh * (Math.min(rangeThis, rangeNext) + 100));
randOfRange = random.nextInt(rangeFinal);
randRom = isLt ? 1 : -1;
int iValue = list.get(i) + randRom * randOfRange;
nextValue = list.get(nextIndex) + randRom * randOfRange * -1;
if (iValue > max) {
surplus += (iValue - max);
list.set(i, max);
} else if (iValue < min) {
list.set(i, min);
lack += (min - iValue);
} else {
list.set(i, iValue);
}
list.set(nextIndex, nextValue);
}
if (nextValue > max) {
surplus += (nextValue - max);
list.set(nextIndex, max);
}
if (nextValue < min) {
lack += (min - nextValue);
list.set(nextIndex, min);
}
if (surplus - lack > 0) {//钱发少了 给低于max的凑到max
for (int i = 0; i < list.size(); i++) {
int value = list.get(i);
if (value < max) {
int tmp = max - value;
if (surplus >= tmp) {
surplus -= tmp;
list.set(i, max);
} else {
list.set(i, value + surplus);
return list;
}
}
}
} else if (lack - surplus > 0) {//钱发多了 给超过高于min的人凑到min
for (int i = 0; i < list.size(); i++) {
int value = list.get(i);
if (value > min) {
int tmp = value - min;
if (lack >= tmp) {
lack -= tmp;
list.set(i, min);
} else {
list.set(i, min + tmp - lack);
return list;
}
}
}
}
return list;
}
/**
* 打乱ArrayList
*/
public static List<BigDecimal> randomArrayList(List<BigDecimal> sourceList) {
if (sourceList == null || sourceList.isEmpty()) {
return sourceList;
}
List<BigDecimal> randomList = new CopyOnWriteArrayList<>();
do {
int randomIndex = Math.abs(new Random().nextInt(sourceList.size()));
randomList.add(sourceList.remove(randomIndex));
} while (sourceList.size() > 0);
return randomList;
}
public static void main(String[] args) {
//参考简书CoderZS https://www.jianshu.com/p/0174a026b9c9 总金额/红包个数<0.3 总金额/红包个数>0.5
Long startTi = System.currentTimeMillis();
List<BigDecimal> li = genRanddomList(new BigDecimal(1), 2, new BigDecimal(0.3), new BigDecimal(200),0.25f);
li = randomArrayList(li);
BigDecimal total = BigDecimal.ZERO;
// System.out.println("======li=========li:"+li);
System.out.println("======total=========total:" + total);
System.out.println("======size=========size:" + li.size());
Long endTi = System.currentTimeMillis();
System.out.println("======耗时=========:" + (endTi - startTi) / 1000 + "秒");
}
}
| 6,305
|
Java
|
.java
|
qwdigital/LinkWechat-Scrm
| 241
| 59
| 1
|
2022-09-08T10:08:13Z
|
2024-03-29T09:16:09Z
|
9ec52eef31e9a0b3d1b6fc5a2219ee15d8804860b86fb26c5baa957101bd80fa
|
[
1337,
785,
51,
1222,
30673,
51,
2297,
51,
2324,
64,
222,
222,
485,
1401,
51,
3851,
51,
20808,
64,
222,
485,
1401,
51,
1058,
51,
7119,
64,
222,
485,
1401,
51,
1058,
51,
739,
64,
222,
485,
1401,
51,
1058,
51,
6124,
64,
222,
485,
1401,
51,
1058,
51,
8349,
51,
4014,
1501,
2553,
7119,
64,
222,
222,
942,
462,
4777,
6839,
2769,
320,
465,
964,
924,
1175,
9607,
4051,
299,
556,
9607,
492,
4054,
1041,
294,
338,
29225,
14258,
2378,
4519,
29104,
43367,
12325,
10975,
3839,
7554,
5800,
9966,
4857,
37442,
11474,
294,
338,
244,
2378,
6723,
5641,
144,
5947,
6966,
246,
41464,
53,
51,
62,
58,
294,
338,
294,
338,
496,
772,
3410,
18210,
283,
449,
244,
9297,
4519,
29104,
1096,
14258,
2378,
294,
338,
496,
772,
6168,
2585,
449,
26484,
29104,
1096,
43367,
294,
338,
496,
772,
1865,
665,
449,
244,
6420,
2678,
24089,
4316,
10975,
294,
338,
496,
772,
1788,
665,
449,
244,
6420,
2678,
24089,
4518,
10975,
294,
338,
496,
620,
449,
24261,
49063,
24889,
1096,
24089,
12150,
294,
588,
303,
581,
924,
1701,
65,
20808,
67,
4515,
27301,
4734,
739,
45,
20808,
3410,
18210,
49,
4418,
6168,
2585,
49,
17262,
1865,
49,
17262,
1788,
49,
1916,
41550,
46,
320,
310,
3410,
18210,
299,
3410,
18210,
51,
20228,
45,
909,
17262,
45,
54,
53,
53,
894,
310,
1865,
299,
1865,
51,
20228,
45,
909,
17262,
45,
54,
53,
53,
894,
310,
1788,
299,
1788,
51,
20228,
45,
909,
17262,
45,
54,
53,
53,
894,
603,
1701,
65,
3078,
67,
1045,
299,
4515,
27301,
739,
45,
3025,
18210,
51,
22777,
1046,
6168,
2585,
49,
1865,
51,
22777,
1046,
1788,
51,
22777,
1046,
41550,
312,
310,
1701,
65,
20808,
67,
4051,
739,
299,
556,
2406,
1501,
2553,
7119,
6984,
310,
456,
327,
3078,
373,
518,
1045,
46,
320,
343,
17262,
4051,
29678,
359,
299,
556,
17262,
45,
123,
566,
23970,
45,
909,
17262,
45,
54,
53,
53,
894,
343,
4051,
739,
51,
688,
45,
3917,
29678,
359,
312,
310,
339,
603,
4051,
739,
299,
4051,
7119,
45,
3917,
739,
312,
310,
461,
4051,
739,
64,
303,
339,
465,
1041,
294,
338,
29225,
14258,
2378,
4519,
29104,
43367,
12325,
10975,
3839,
7554,
5800,
9966,
4857,
37442,
11474,
294,
338,
294,
338,
496,
772,
3410,
449,
244,
9297,
4519,
29104,
1096,
14258,
2378,
294,
338,
496,
772,
6168,
2585,
449,
26484,
29104,
1096,
43367,
294,
338,
496,
772,
1865,
449,
244,
6420,
2678,
24089,
4316,
10975,
294,
338,
496,
772,
1788,
449,
244,
6420,
2678,
24089,
4518,
10975,
294,
338,
496,
772,
41550,
449,
244,
2378,
6723,
5641,
144,
5947,
6966,
246,
6035,
96,
53,
51,
53,
49,
244,
54,
51,
53,
98,
294,
588,
303,
581,
924,
1701,
65,
3078,
67,
4515,
27301,
739,
45,
429,
3410,
49,
648,
6168,
2585,
49,
648,
1865,
49,
648,
1788,
49,
1916,
41550,
46,
320,
310,
1217,
3410,
2394,
6168,
2585,
338,
1865,
979,
3410,
2527,
6168,
2585,
338,
1788,
518,
332,
6311,
39256,
28863,
8516,
8917,
8537,
1096,
6363,
4830,
6242,
884,
310,
1217,
41550,
2394,
244,
53,
51,
53,
107,
979,
41550,
2527,
244,
54,
51,
53,
107,
64,
310,
453,
244,
45489,
35468,
310,
648,
10984,
299,
3410,
536,
6168,
2585,
64,
310,
1701,
65,
3078,
67,
1168,
299,
556,
5068,
11530,
3045,
2585,
312,
310,
648,
6125,
299,
3410,
449,
10984,
338,
6168,
2585,
64,
310,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
6168,
2585,
64,
613,
2002,
320,
343,
434,
327,
110,
350,
6125,
46,
320,
419,
1168,
51,
688,
45,
14482,
494,
244,
54,
312,
343,
339,
832,
320,
419,
1168,
51,
688,
45,
14482,
312,
343,
339,
310,
339,
310,
453,
16991,
5641,
144,
5947,
6966,
246,
41464,
53,
8987,
3065,
9966,
4857,
37442,
11474,
310,
434,
327,
24870,
630,
244,
53,
46,
320,
343,
461,
1168,
64,
310,
339,
310,
453,
29225,
6966,
246,
6035,
9966,
4857,
37442,
11474,
310,
648,
10510,
1436,
3216,
299,
244,
53,
64,
310,
648,
10510,
41817,
299,
244,
53,
64,
310,
648,
2371,
1301,
299,
244,
53,
64,
310,
648,
2371,
899,
299,
244,
53,
64,
310,
648,
6197,
5447,
299,
244,
53,
15345,
6525,
27581,
310,
648,
21677,
299,
244,
53,
15345,
30206,
15525,
310,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
6168,
2585,
449,
244,
54,
64,
613,
2002,
320,
343,
2371,
1301,
299,
613,
494,
244,
54,
64,
343,
648,
1641,
2287,
299,
1168,
51,
390,
45,
110,
312,
343,
648,
1641,
3364,
299,
1168,
51,
390,
45,
1995,
1301,
312,
343,
1922,
458,
36283,
299,
1641,
2287,
350,
1641,
3364,
64,
343,
648,
2189,
2287,
299,
458,
36283,
1037,
1788,
449,
1641,
2287,
518,
1641,
2287,
449,
1865,
64,
343,
648,
2189,
3364,
299,
458,
36283,
1037,
1641,
3364,
449,
1865,
518,
1788,
449,
1641,
3364,
64,
343,
648,
2189,
9795,
299,
327,
429,
46,
4189,
51,
17741,
45,
24870,
338,
327,
5728,
51,
907,
45,
3623,
2287,
49,
2189,
3364,
46,
494,
244,
54,
53,
53,
894,
343,
10510,
1436,
3216,
299,
4051,
51,
20827,
45,
3623,
9795,
312,
343,
10510,
41817,
299,
458,
36283,
1037,
244,
54,
518,
449,
54,
64,
343,
648,
613,
899,
299,
1168,
51,
390,
45,
110,
46,
494,
10510,
41817,
338,
10510,
1436,
3216,
64,
343,
2371,
899,
299,
1168,
51,
390,
45,
1995,
1301,
46,
494,
10510,
41817,
338,
10510,
1436,
3216,
338,
449,
54,
64,
343,
434,
327,
110,
899,
868,
1788,
46,
320,
419,
6197,
5447,
1475,
327,
110,
899,
449,
1788,
312,
419,
1168,
51,
489,
45,
110,
49,
1788,
312,
343,
339,
832,
434,
327,
110,
899,
350,
1865,
46,
320,
419,
1168,
51,
489,
45,
110,
49,
1865,
312,
419,
21677,
1475,
327,
907,
449,
613,
899,
312,
343,
339,
832,
320,
419,
1168,
51,
489,
45,
110,
49,
613,
899,
312,
343,
339,
343,
1168,
51,
489,
45,
1995,
1301,
49,
2371,
899,
312,
310,
339,
310,
434,
327,
1995,
899,
868,
1788,
46,
320,
343,
6197,
5447,
1475,
327,
1995,
899,
449,
1788,
312,
343,
1168,
51,
489,
45,
1995,
1301,
49,
1788,
312,
310,
339,
310,
434,
327,
1995,
899,
350,
1865,
46,
320,
343,
21677,
1475,
327,
907,
449,
2371,
899,
312,
343,
1168,
51,
489,
45,
1995,
1301,
49,
1865,
312,
310,
339,
310,
434,
327,
8863,
5447,
449,
21677,
868,
244,
53,
46,
24167,
42304,
5312,
15525,
3956,
244,
12862,
22883,
5024,
1472,
1096,
3093,
263,
4329,
1472,
343,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
1168,
51,
911,
492,
613,
2002,
320,
419,
648,
804,
299,
1168,
51,
390,
45,
110,
312,
419,
434,
327,
872,
350,
1788,
46,
320,
547,
648,
3709,
299,
1788,
449,
804,
64,
547,
434,
327,
8863,
5447,
2394,
3709,
46,
320,
733,
6197,
5447,
5928,
3709,
64,
733,
1168,
51,
489,
45,
110,
49,
1788,
312,
547,
339,
832,
320,
733,
1168,
51,
489,
45,
110,
49,
804,
494,
6197,
5447,
312,
733,
461,
1168,
64,
547,
339,
419,
339,
343,
339,
310,
339,
832,
434,
327,
113,
478,
449,
6197,
5447,
868,
244,
53,
46,
24167,
42304,
5312,
6525,
3956,
244,
12862,
37282,
9863,
5024,
907,
34402,
3093,
263,
4329,
907,
343,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
1168,
51,
911,
492,
613,
2002,
320,
419,
648,
804,
299,
1168,
51,
390,
45,
110,
312,
419,
434,
327,
872,
868,
1865,
46,
320,
547,
648,
3709,
299,
804,
449,
1865,
64,
547,
434,
327,
113,
478,
2394,
3709,
46,
320,
733,
21677,
5928,
3709,
64,
733,
1168,
51,
489,
45,
110,
49,
1865,
312,
547,
339,
832,
320,
733,
1168,
51,
489,
45,
110,
49,
1865,
494,
3709,
449,
21677,
312,
733,
461,
1168,
64,
547,
339,
419,
339,
343,
339,
310,
339,
310,
461,
1168,
64,
303,
339,
465,
1041,
294,
338,
244,
12394,
48440,
7119,
294,
588,
303,
581,
924,
1701,
65,
20808,
67,
4051,
7119,
45,
739,
65,
20808,
67,
1932,
739,
46,
320,
310,
434,
327,
1876,
739,
630,
762,
1293,
1932,
739,
51,
6401,
1177,
320,
343,
461,
1932,
739,
64,
310,
339,
310,
1701,
65,
20808,
67,
4051,
739,
299,
556,
2406,
1501,
2553,
7119,
6984,
310,
764,
320,
343,
648,
4051,
1301,
299,
4189,
51,
3615,
45,
909,
9607,
941,
20827,
45,
1876,
739,
51,
911,
5086,
343,
4051,
739,
51,
688,
45,
1876,
739,
51,
2564,
45,
3917,
1301,
894,
310,
339,
2236,
327,
1876,
739,
51,
911,
365,
868,
244,
53,
312,
603,
461,
4051,
739,
64,
303,
339,
4054,
581,
924,
782,
2594,
45,
671,
1197,
2194,
46,
320,
603,
453,
24571,
15031,
19292,
34942,
27953,
1698,
574,
1516,
51,
33797,
33532,
51,
527,
52,
117,
52,
53,
54,
60,
57,
102,
53,
55,
59,
103,
62,
104,
62,
244,
244,
14258,
45459,
52,
28863,
8516,
43367,
65,
53,
51,
56,
244,
244,
14258,
45459,
52,
28863,
8516,
43367,
67,
53,
51,
58,
310,
6374,
1496,
18375,
299,
1189,
51,
17217,
492,
310,
1701,
65,
20808,
67,
1045,
299,
4515,
27301,
4734,
739,
45,
909,
17262,
45,
54,
490,
244,
55,
49,
556,
17262,
45,
53,
51,
56,
490,
556,
17262,
45,
55,
53,
53,
490,
53,
51,
55,
58,
107,
312,
310,
1045,
299,
4051,
7119,
45,
393,
312,
310,
17262,
3410,
299,
17262,
51,
13977,
64,
222,
325,
283,
1189,
51,
560,
51,
3962,
459,
16110,
393,
16465,
393,
27132,
393,
312,
310,
1189,
51,
560,
51,
3962,
459,
16110,
3025,
16465,
3025,
1941,
494,
3410,
312,
310,
1189,
51,
560,
51,
3962,
459,
16110,
911,
16465,
911,
1941,
494,
1045,
51,
911,
1052,
310,
6374,
962,
18375,
299,
1189,
51,
17217,
492,
310,
1189,
51,
560,
51,
3962,
459,
16110,
38403,
3616,
16465,
1941,
494,
327,
435,
18375,
449,
1496,
18375,
46,
536,
244,
54,
53,
53,
53,
494,
332,
22874,
742,
303,
339,
222,
130,
499
] |
[
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,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1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 1,637
| true
| 48.921718
| true
| true
|
Comment.java
|
/FileExtraction/Java_unseen/SAP_SapMachine/src/java.xml/share/classes/org/w3c/dom/Comment.java
|
/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* This file is available under and governed by the GNU General Public
* License version 2 only, as published by the Free Software Foundation.
* However, the following notice accompanied the original version of this
* file and, per its terms, should not be removed:
*
* Copyright (c) 2004 World Wide Web Consortium,
*
* (Massachusetts Institute of Technology, European Research Consortium for
* Informatics and Mathematics, Keio University). All Rights Reserved. This
* work is distributed under the W3C(r) Software License [1] in the hope that
* it will be useful, but WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*
* [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
*/
package org.w3c.dom;
/**
* This interface inherits from <code>CharacterData</code> and represents the
* content of a comment, i.e., all the characters between the starting
* '{@code <!--}' and ending '{@code -->}'. Note that this is
* the definition of a comment in XML, and, in practice, HTML, although some
* HTML tools may implement the full SGML comment structure.
* <p> No lexical check is done on the content of a comment and it is
* therefore possible to have the character sequence <code>"--"</code>
* (double-hyphen) in the content, which is illegal in a comment per section
* 2.5 of [<a href='http://www.w3.org/TR/2004/REC-xml-20040204'>XML 1.0</a>]. The
* presence of this character sequence must generate a fatal error during
* serialization.
* <p>See also the <a href='http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407'>Document Object Model (DOM) Level 3 Core Specification</a>.
*
* @since 1.4, DOM Level 2
*/
public interface Comment extends CharacterData {
}
| 2,912
|
Java
|
.java
|
SAP/SapMachine
| 487
| 90
| 10
|
2017-11-13T21:40:03Z
|
2024-05-09T00:31:05Z
|
6fa4ae354898baacaef05b25b36c09d100e3ea6e1c881131f16d585018d7ebc7
|
[
1127,
222,
338,
4103,
2387,
23740,
1895,
35234,
8995,
2387,
11988,
1895,
8968,
10961,
30441,
51,
222,
338,
222,
338,
1369,
1361,
458,
3760,
2951,
64,
863,
902,
14081,
580,
480,
52,
290,
5370,
580,
222,
338,
1549,
341,
5974,
451,
341,
6994,
6153,
5062,
1196,
1522,
244,
55,
1773,
49,
641,
222,
338,
9582,
829,
341,
7834,
3870,
7120,
51,
244,
17980,
6759,
1218,
477,
222,
338,
8445,
822,
641,
5405,
391,
341,
332,
44978,
39,
3773,
641,
3961,
222,
338,
829,
17980,
347,
341,
7621,
822,
708,
20854,
297,
4850,
477,
1361,
51,
222,
338,
222,
338,
1369,
1361,
458,
2744,
347,
341,
9850,
708,
580,
1118,
545,
6386,
49,
1294,
4213,
222,
338,
2979,
9345,
64,
2895,
4462,
341,
4506,
14319,
451,
7934,
575,
222,
338,
8114,
4800,
418,
7848,
7763,
51,
244,
2819,
341,
6994,
6153,
5062,
1196,
222,
338,
1522,
244,
55,
456,
1851,
4261,
327,
102,
1948,
458,
5976,
347,
341,
7621,
822,
708,
222,
338,
20854,
297,
4850,
477,
1361,
566,
222,
338,
222,
338,
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
6153,
5062,
1196,
1522,
222,
338,
244,
55,
7979,
642,
477,
1409,
64,
434,
666,
49,
2886,
391,
341,
7834,
3870,
7120,
49,
222,
338,
6367,
4345,
244,
58,
54,
34113,
1277,
49,
33316,
26912,
49,
25006,
49,
13083,
244,
53,
55,
54,
54,
53,
50,
54,
56,
53,
54,
15067,
51,
222,
338,
222,
338,
5304,
7272,
17980,
49,
244,
58,
53,
53,
17980,
27004,
3094,
49,
4777,
21100,
2432,
6868,
49,
10562,
244,
62,
57,
53,
59,
58,
15067,
222,
338,
575,
7739,
19955,
51,
11116,
51,
527,
434,
863,
1868,
5408,
2490,
575,
1178,
1364,
222,
338,
10034,
51,
222,
588,
222,
222,
1127,
222,
338,
1369,
822,
458,
3322,
1549,
480,
17546,
829,
341,
6994,
6153,
5062,
222,
338,
1196,
1522,
244,
55,
1773,
49,
641,
9582,
829,
341,
7834,
3870,
7120,
51,
222,
338,
8786,
49,
341,
2434,
5410,
20854,
297,
4850,
341,
4732,
1522,
451,
477,
222,
338,
822,
480,
49,
1313,
2840,
5974,
49,
1414,
666,
545,
6563,
63,
222,
338,
222,
338,
2657,
327,
104,
46,
244,
55,
53,
53,
57,
10914,
25289,
3718,
1356,
3349,
3892,
49,
222,
338,
222,
338,
327,
15673,
886,
43099,
1448,
27343,
451,
21893,
49,
45374,
18687,
1356,
3349,
3892,
456,
222,
338,
29288,
24445,
480,
44844,
120,
49,
23433,
735,
11451,
566,
3381,
12902,
11921,
51,
1369,
222,
338,
1409,
458,
2744,
1549,
341,
643,
56,
72,
45,
119,
46,
3870,
1196,
447,
54,
98,
347,
341,
9850,
708,
222,
338,
580,
1118,
545,
6386,
49,
1294,
4213,
2979,
9345,
64,
2895,
4462,
341,
4506,
222,
338,
14319,
451,
7934,
575,
8114,
4800,
418,
7848,
7763,
51,
222,
338,
222,
338,
447,
54,
98,
1930,
574,
1516,
51,
124,
56,
51,
1107,
52,
628,
3349,
3892,
52,
30084,
52,
55,
53,
53,
55,
52,
11793,
50,
12300,
50,
55,
53,
53,
55,
54,
55,
56,
54,
222,
588,
222,
222,
1337,
1105,
51,
124,
56,
104,
51,
4734,
64,
222,
222,
1350,
222,
338,
1369,
2586,
47608,
664,
350,
707,
67,
6891,
768,
396,
707,
67,
480,
10684,
341,
222,
338,
1813,
451,
331,
5101,
49,
613,
51,
106,
4345,
1187,
341,
7152,
3761,
341,
8074,
222,
338,
46357,
707,
2760,
8154,
480,
22193,
46357,
707,
1120,
17064,
5857,
708,
477,
458,
222,
338,
341,
5658,
451,
331,
5101,
347,
7408,
49,
480,
49,
347,
18659,
49,
5796,
49,
21094,
1649,
222,
338,
5796,
8699,
1648,
2075,
341,
3559,
39864,
1696,
5101,
5213,
51,
222,
338,
350,
117,
67,
3155,
18354,
1599,
1524,
458,
3412,
563,
341,
1813,
451,
331,
5101,
480,
580,
458,
222,
338,
16438,
4222,
391,
1178,
341,
5373,
6645,
350,
707,
5852,
306,
14287,
707,
67,
222,
338,
327,
2640,
50,
4502,
19059,
46,
347,
341,
1813,
49,
1532,
458,
24211,
347,
331,
5101,
1313,
4193,
222,
338,
244,
55,
51,
58,
451,
17629,
102,
995,
1080,
544,
574,
1516,
51,
124,
56,
51,
1107,
52,
1328,
52,
55,
53,
53,
57,
52,
6770,
50,
2608,
50,
55,
53,
53,
57,
53,
55,
53,
57,
3035,
5741,
244,
54,
51,
53,
396,
102,
67,
1015,
906,
222,
338,
20822,
451,
477,
5373,
6645,
2315,
4468,
331,
26231,
1067,
5945,
222,
338,
22672,
51,
222,
338,
350,
117,
67,
7496,
2353,
341,
350,
102,
995,
1080,
544,
574,
1516,
51,
124,
56,
51,
1107,
52,
1328,
52,
55,
53,
53,
57,
52,
6770,
50,
8869,
50,
2671,
50,
56,
50,
2869,
50,
55,
53,
53,
57,
53,
57,
53,
60,
3035,
3112,
2210,
3707,
327,
8869,
46,
11587,
244,
56,
7357,
30158,
396,
102,
4513,
222,
338,
222,
338,
496,
8152,
244,
54,
51,
57,
49,
12108,
11587,
244,
55,
222,
588,
222,
942,
2586,
14523,
2041,
15045,
768,
320,
222,
130,
222
] |
[
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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| 802
| true
| 71.462912
| true
| true
|
SameNameClasses.java
|
/FileExtraction/Java_unseen/adoptium_jdk11u-fast-startup-incubator/test/hotspot/jtreg/runtime/appcds/SameNameClasses.java
|
/*
* Copyright (c) 2020, Google Inc. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
/*
* @test
* @summary Test same named classes in both -cp and -Xbootclasspath/a. The
* class in the -Xbootclasspath/a should be loaded.
* @requires vm.cds
* @library /test/lib ..
* @modules java.base/jdk.internal.misc
* java.management
* @run main SameNameClasses
*/
import java.nio.file.Path;
import java.nio.file.Paths;
import jdk.test.lib.compiler.InMemoryJavaCompiler;
import jdk.test.lib.process.OutputAnalyzer;
import jdk.test.lib.util.JarUtils;
public class SameNameClasses {
private final static String TEST_APP = "SameNameClassesTestApp";
private final static String TEST_CLASSES = System.getProperty("test.classes");
private final static String CP_DIR = TEST_CLASSES + "/CP/";
private final static Path CP_JAR_PATH = Paths.get(CP_DIR, "cp.jar");
private final static String BOOT_APPEND_DIR = TEST_CLASSES + "/boot_append/";
private final static Path BOOT_APPEND_JAR_PATH = Paths.get(CP_DIR, "boot_append.jar");
static String create_jar(String code, String dir, Path jar) throws Throwable {
String source = "public class " + TEST_APP + " { " +
" public static void main(String args[]) { " +
code +
" } " +
"}";
ClassFileInstaller.writeClassToDisk(
TEST_APP, InMemoryJavaCompiler.compile(TEST_APP, source), dir);
JarUtils.createJarFile(jar,
Paths.get(dir),
Paths.get(dir, TEST_APP + ".class"));
return jar.toString();
}
public static void main(String[] args) throws Throwable {
String cp_jar_path = create_jar(
"System.out.println(\"From classpath!\");",
CP_DIR, CP_JAR_PATH);
String boot_append_jar_path = create_jar(
"System.out.println(\"From bootclasspath append!\");",
BOOT_APPEND_DIR, BOOT_APPEND_JAR_PATH);
String[] appClasses = {TEST_APP};
OutputAnalyzer output = TestCommon.testDump(cp_jar_path, appClasses,
"-Xbootclasspath/a:" + boot_append_jar_path,
"-Xlog:class+load");
output.shouldMatch("SameNameClassesTestApp source: .*boot_append.jar");
TestCommon.run(
"-cp", cp_jar_path,
"-Xbootclasspath/a:" + boot_append_jar_path,
TEST_APP)
.assertNormalExit("From bootclasspath append");
}
}
| 3,593
|
Java
|
.java
|
adoptium/jdk11u-fast-startup-incubator
| 11
| 8
| 3
|
2021-04-06T14:18:44Z
|
2022-04-28T02:10:40Z
|
6a0dce6361d5f2f582d4d88b1ec408a575dfed0bb3d8f144fe72722002281a1e
|
[
1127,
222,
338,
2657,
327,
104,
46,
244,
55,
53,
55,
53,
49,
6608,
6367,
51,
3381,
4760,
5225,
51,
222,
338,
4103,
2387,
23740,
1895,
35234,
8995,
2387,
11988,
1895,
8968,
10961,
30441,
51,
222,
338,
222,
338,
1369,
1361,
458,
3760,
2951,
64,
863,
902,
14081,
580,
480,
52,
290,
5370,
580,
222,
338,
1549,
341,
5974,
451,
341,
6994,
6153,
5062,
1196,
1522,
244,
55,
1773,
49,
641,
222,
338,
9582,
829,
341,
7834,
3870,
7120,
51,
222,
338,
222,
338,
1369,
1361,
458,
2744,
347,
341,
9850,
708,
580,
1118,
545,
6386,
49,
1294,
4213,
222,
338,
2979,
9345,
64,
2895,
4462,
341,
4506,
14319,
451,
7934,
575,
222,
338,
8114,
4800,
418,
7848,
7763,
51,
244,
2819,
341,
6994,
6153,
5062,
1196,
222,
338,
1522,
244,
55,
456,
1851,
4261,
327,
102,
1948,
458,
5976,
347,
341,
7621,
822,
708,
222,
338,
20854,
297,
4850,
477,
1361,
566,
222,
338,
222,
338,
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
6153,
5062,
1196,
1522,
222,
338,
244,
55,
7979,
642,
477,
1409,
64,
434,
666,
49,
2886,
391,
341,
7834,
3870,
7120,
49,
222,
338,
6367,
4345,
244,
58,
54,
34113,
1277,
49,
33316,
26912,
49,
25006,
49,
13083,
244,
53,
55,
54,
54,
53,
50,
54,
56,
53,
54,
15067,
51,
222,
338,
222,
338,
5304,
7272,
17980,
49,
244,
58,
53,
53,
17980,
27004,
3094,
49,
4777,
21100,
2432,
6868,
49,
10562,
244,
62,
57,
53,
59,
58,
15067,
222,
338,
575,
7739,
19955,
51,
11116,
51,
527,
434,
863,
1868,
5408,
2490,
575,
1178,
1364,
222,
338,
10034,
51,
222,
338,
222,
588,
222,
222,
1127,
222,
338,
496,
881,
222,
338,
496,
1386,
2128,
2454,
8213,
6052,
347,
4354,
449,
2217,
480,
449,
93,
3621,
33423,
52,
102,
51,
906,
222,
338,
2052,
462,
347,
341,
449,
93,
3621,
33423,
52,
102,
1414,
545,
3906,
51,
222,
338,
496,
13980,
8510,
51,
29148,
222,
338,
496,
5261,
536,
881,
52,
1379,
4390,
222,
338,
496,
3490,
1401,
51,
1460,
52,
12461,
51,
3269,
51,
14495,
222,
338,
2052,
1401,
51,
9343,
222,
338,
496,
1967,
2594,
18997,
577,
8038,
222,
588,
222,
222,
485,
1401,
51,
11780,
51,
781,
51,
1233,
64,
222,
485,
1401,
51,
11780,
51,
781,
51,
9648,
64,
222,
485,
614,
4532,
51,
881,
51,
1379,
51,
10203,
51,
35461,
5445,
8122,
64,
222,
485,
614,
4532,
51,
881,
51,
1379,
51,
2441,
51,
2319,
17430,
64,
222,
485,
614,
4532,
51,
881,
51,
1379,
51,
1058,
51,
20388,
2769,
64,
222,
222,
942,
462,
18997,
577,
8038,
320,
303,
964,
1175,
924,
910,
5904,
100,
6876,
299,
332,
8525,
577,
8038,
1024,
1306,
884,
303,
964,
1175,
924,
910,
5904,
100,
37034,
299,
1189,
51,
12712,
459,
881,
51,
4844,
742,
303,
964,
1175,
924,
910,
17047,
100,
3217,
299,
5904,
100,
37034,
494,
2450,
2973,
26217,
303,
964,
1175,
924,
5404,
17047,
100,
48099,
100,
4088,
299,
33757,
51,
390,
45,
2973,
100,
3217,
49,
332,
2217,
51,
6873,
742,
303,
964,
1175,
924,
910,
9753,
1212,
100,
18460,
100,
3217,
299,
5904,
100,
37034,
494,
2450,
3621,
100,
1713,
26217,
303,
964,
1175,
924,
5404,
9753,
1212,
100,
18460,
100,
48099,
100,
4088,
299,
33757,
51,
390,
45,
2973,
100,
3217,
49,
332,
3621,
100,
1713,
51,
6873,
742,
465,
924,
910,
1506,
100,
6873,
45,
671,
1361,
49,
910,
4937,
49,
5404,
22324,
46,
2589,
9953,
320,
310,
910,
1932,
299,
332,
942,
462,
332,
494,
5904,
100,
6876,
494,
332,
320,
332,
494,
733,
332,
283,
581,
924,
782,
2594,
45,
671,
2194,
9798,
320,
332,
494,
6056,
1361,
981,
494,
733,
332,
283,
339,
332,
370,
494,
733,
332,
15499,
310,
1727,
991,
30582,
51,
1838,
1359,
724,
11307,
45,
343,
5904,
100,
6876,
49,
719,
5030,
5445,
8122,
51,
7028,
45,
3780,
100,
6876,
49,
1932,
490,
4937,
312,
603,
47387,
2769,
51,
1315,
20388,
991,
45,
6873,
49,
7723,
33757,
51,
390,
45,
1537,
490,
7723,
33757,
51,
390,
45,
1537,
49,
5904,
100,
6876,
494,
4956,
842,
2992,
310,
461,
22324,
51,
3127,
492,
303,
339,
465,
581,
924,
782,
2594,
45,
671,
1197,
2194,
46,
2589,
9953,
320,
310,
910,
9210,
100,
6873,
100,
1005,
299,
1506,
100,
6873,
45,
4528,
332,
1615,
51,
560,
51,
3962,
26314,
1811,
32394,
14355,
742,
411,
4528,
17047,
100,
3217,
49,
17047,
100,
48099,
100,
4088,
312,
310,
910,
12002,
100,
1713,
100,
6873,
100,
1005,
299,
1506,
100,
6873,
45,
4528,
332,
1615,
51,
560,
51,
3962,
26314,
1811,
12002,
33423,
5507,
14355,
742,
411,
4528,
9753,
1212,
100,
18460,
100,
3217,
49,
9753,
1212,
100,
18460,
100,
48099,
100,
4088,
312,
603,
910,
1197,
1142,
8038,
299,
320,
3780,
100,
6876,
1274,
310,
5601,
17430,
1716,
299,
2128,
5248,
51,
881,
15433,
45,
2217,
100,
6873,
100,
1005,
49,
1142,
8038,
49,
9488,
4840,
93,
3621,
33423,
52,
102,
1941,
494,
12002,
100,
1713,
100,
6873,
100,
1005,
49,
9488,
4840,
93,
769,
63,
842,
48,
963,
742,
310,
1716,
51,
3179,
3683,
459,
8525,
577,
8038,
1024,
1306,
1932,
63,
41452,
3621,
100,
1713,
51,
6873,
742,
603,
2128,
5248,
51,
1967,
45,
343,
4840,
2217,
411,
9210,
100,
6873,
100,
1005,
49,
343,
4840,
93,
3621,
33423,
52,
102,
1941,
494,
12002,
100,
1713,
100,
6873,
100,
1005,
49,
343,
5904,
100,
6876,
46,
419,
657,
880,
5981,
8121,
459,
1811,
12002,
33423,
5507,
742,
303,
339,
222,
130,
222
] |
[
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 915
| true
| 62.037295
| true
| true
|
EncKrbCredPart.java
|
/FileExtraction/Java_unseen/corretto_corretto-11/src/java.security.jgss/share/classes/sun/security/krb5/internal/EncKrbCredPart.java
|
/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
*
* (C) Copyright IBM Corp. 1999 All Rights Reserved.
* Copyright 1997 The Open Group Research Institute. All rights reserved.
*/
package sun.security.krb5.internal;
import sun.security.util.*;
import sun.security.krb5.Asn1Exception;
import sun.security.krb5.RealmException;
import java.util.Vector;
import java.io.IOException;
import java.math.BigInteger;
/**
* Implements the ASN.1 EncKrbCredPart type.
*
* <pre>{@code
* EncKrbCredPart ::= [APPLICATION 29] SEQUENCE {
* ticket-info [0] SEQUENCE OF KrbCredInfo,
* nonce [1] UInt32 OPTIONAL,
* timestamp [2] KerberosTime OPTIONAL,
* usec [3] Microseconds OPTIONAL,
* s-address [4] HostAddress OPTIONAL,
* r-address [5] HostAddress OPTIONAL
* }
* }</pre>
*
* <p>
* This definition reflects the Network Working Group RFC 4120
* specification available at
* <a href="http://www.ietf.org/rfc/rfc4120.txt">
* http://www.ietf.org/rfc/rfc4120.txt</a>.
*/
public class EncKrbCredPart {
public KrbCredInfo[] ticketInfo = null;
public KerberosTime timeStamp; //optional
private Integer nonce; //optional
private Integer usec; //optional
private HostAddress sAddress; //optional
private HostAddresses rAddress; //optional
public EncKrbCredPart(
KrbCredInfo[] new_ticketInfo,
KerberosTime new_timeStamp,
Integer new_usec,
Integer new_nonce,
HostAddress new_sAddress,
HostAddresses new_rAddress) throws IOException {
if (new_ticketInfo != null) {
ticketInfo = new KrbCredInfo[new_ticketInfo.length];
for (int i = 0; i < new_ticketInfo.length; i++) {
if (new_ticketInfo[i] == null) {
throw new IOException("Cannot create a EncKrbCredPart");
} else {
ticketInfo[i] = (KrbCredInfo) new_ticketInfo[i].clone();
}
}
}
timeStamp = new_timeStamp;
usec = new_usec;
nonce = new_nonce;
sAddress = new_sAddress;
rAddress = new_rAddress;
}
public EncKrbCredPart(byte[] data) throws Asn1Exception,
IOException, RealmException {
init(new DerValue(data));
}
public EncKrbCredPart(DerValue encoding) throws Asn1Exception,
IOException, RealmException {
init(encoding);
}
/**
* Initializes an EncKrbCredPart object.
* @param encoding a single DER-encoded value.
* @exception Asn1Exception if an error occurs while decoding an ASN1 encoded data.
* @exception IOException if an I/O error occurs while reading encoded data.
* @exception RealmException if an error occurs while parsing a Realm object.
*/
private void init(DerValue encoding) throws Asn1Exception,
IOException, RealmException {
DerValue der, subDer;
//may not be the correct error code for a tag
//mismatch on an encrypted structure
nonce = null;
timeStamp = null;
usec = null;
sAddress = null;
rAddress = null;
if (((encoding.getTag() & (byte) 0x1F) != (byte) 0x1D)
|| (encoding.isApplication() != true)
|| (encoding.isConstructed() != true)) {
throw new Asn1Exception(Krb5.ASN1_BAD_ID);
}
der = encoding.getData().getDerValue();
if (der.getTag() != DerValue.tag_Sequence) {
throw new Asn1Exception(Krb5.ASN1_BAD_ID);
}
subDer = der.getData().getDerValue();
if ((subDer.getTag() & (byte) 0x1F) == (byte) 0x00) {
DerValue[] derValues = subDer.getData().getSequence(1);
ticketInfo = new KrbCredInfo[derValues.length];
for (int i = 0; i < derValues.length; i++) {
ticketInfo[i] = new KrbCredInfo(derValues[i]);
}
} else {
throw new Asn1Exception(Krb5.ASN1_BAD_ID);
}
if (der.getData().available() > 0) {
if (((byte) (der.getData().peekByte()) & (byte) 0x1F) == (byte) 0x01) {
subDer = der.getData().getDerValue();
nonce = subDer.getData().getBigInteger().intValue();
}
}
if (der.getData().available() > 0) {
timeStamp = KerberosTime.parse(der.getData(), (byte) 0x02, true);
}
if (der.getData().available() > 0) {
if (((byte) (der.getData().peekByte()) & (byte) 0x1F) == (byte) 0x03) {
subDer = der.getData().getDerValue();
usec = subDer.getData().getBigInteger().intValue();
}
}
if (der.getData().available() > 0) {
sAddress = HostAddress.parse(der.getData(), (byte) 0x04, true);
}
if (der.getData().available() > 0) {
rAddress = HostAddresses.parse(der.getData(), (byte) 0x05, true);
}
if (der.getData().available() > 0) {
throw new Asn1Exception(Krb5.ASN1_BAD_ID);
}
}
/**
* Encodes an EncKrbCredPart object.
* @return byte array of encoded EncKrbCredPart object.
* @exception Asn1Exception if an error occurs while decoding an ASN1 encoded data.
* @exception IOException if an I/O error occurs while reading encoded data.
*
*/
public byte[] asn1Encode() throws Asn1Exception, IOException {
DerOutputStream bytes = new DerOutputStream();
DerOutputStream temp = new DerOutputStream();
DerValue[] tickets = new DerValue[ticketInfo.length];
for (int i = 0; i < ticketInfo.length; i++) {
tickets[i] = new DerValue(ticketInfo[i].asn1Encode());
}
temp.putSequence(tickets);
bytes.write(DerValue.createTag(DerValue.TAG_CONTEXT,
true, (byte) 0x00), temp);
if (nonce != null) {
temp = new DerOutputStream();
temp.putInteger(BigInteger.valueOf(nonce.intValue()));
bytes.write(DerValue.createTag(DerValue.TAG_CONTEXT,
true, (byte) 0x01), temp);
}
if (timeStamp != null) {
bytes.write(DerValue.createTag(DerValue.TAG_CONTEXT,
true, (byte) 0x02), timeStamp.asn1Encode());
}
if (usec != null) {
temp = new DerOutputStream();
temp.putInteger(BigInteger.valueOf(usec.intValue()));
bytes.write(DerValue.createTag(DerValue.TAG_CONTEXT,
true, (byte) 0x03), temp);
}
if (sAddress != null) {
bytes.write(DerValue.createTag(DerValue.TAG_CONTEXT,
true, (byte) 0x04), sAddress.asn1Encode());
}
if (rAddress != null) {
bytes.write(DerValue.createTag(DerValue.TAG_CONTEXT,
true, (byte) 0x05), rAddress.asn1Encode());
}
temp = new DerOutputStream();
temp.write(DerValue.tag_Sequence, bytes);
bytes = new DerOutputStream();
bytes.write(DerValue.createTag(DerValue.TAG_APPLICATION,
true, (byte) 0x1D), temp);
return bytes.toByteArray();
}
}
| 8,348
|
Java
|
.java
|
corretto/corretto-11
| 662
| 105
| 31
|
2019-02-11T20:13:52Z
|
2024-05-09T07:01:40Z
|
602342fc234f005ae556ebbecee91ab3ef548f78beca0caa11e7f79c199b20db
|
[
1127,
222,
338,
4103,
2387,
23740,
1895,
35234,
8995,
2387,
11988,
1895,
8968,
10961,
30441,
51,
222,
338,
222,
338,
1369,
1361,
458,
3760,
2951,
64,
863,
902,
14081,
580,
480,
52,
290,
5370,
580,
222,
338,
1549,
341,
5974,
451,
341,
6994,
6153,
5062,
1196,
1522,
244,
55,
1773,
49,
641,
222,
338,
9582,
829,
341,
7834,
3870,
7120,
51,
244,
17980,
6759,
1218,
477,
222,
338,
8445,
822,
641,
5405,
391,
341,
332,
44978,
39,
3773,
641,
3961,
222,
338,
829,
17980,
347,
341,
7621,
822,
708,
20854,
297,
4850,
477,
1361,
51,
222,
338,
222,
338,
1369,
1361,
458,
2744,
347,
341,
9850,
708,
580,
1118,
545,
6386,
49,
1294,
4213,
222,
338,
2979,
9345,
64,
2895,
4462,
341,
4506,
14319,
451,
7934,
575,
222,
338,
8114,
4800,
418,
7848,
7763,
51,
244,
2819,
341,
6994,
6153,
5062,
1196,
222,
338,
1522,
244,
55,
456,
1851,
4261,
327,
102,
1948,
458,
5976,
347,
341,
7621,
822,
708,
222,
338,
20854,
297,
4850,
477,
1361,
566,
222,
338,
222,
338,
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
6153,
5062,
1196,
1522,
222,
338,
244,
55,
7979,
642,
477,
1409,
64,
434,
666,
49,
2886,
391,
341,
7834,
3870,
7120,
49,
222,
338,
6367,
4345,
244,
58,
54,
34113,
1277,
49,
33316,
26912,
49,
25006,
49,
13083,
244,
53,
55,
54,
54,
53,
50,
54,
56,
53,
54,
15067,
51,
222,
338,
222,
338,
5304,
7272,
17980,
49,
244,
58,
53,
53,
17980,
27004,
3094,
49,
4777,
21100,
2432,
6868,
49,
10562,
244,
62,
57,
53,
59,
58,
15067,
222,
338,
575,
7739,
19955,
51,
11116,
51,
527,
434,
863,
1868,
5408,
2490,
575,
1178,
1364,
222,
338,
10034,
51,
222,
588,
222,
222,
1127,
222,
338,
222,
338,
244,
327,
72,
46,
2657,
25747,
37892,
51,
244,
54,
62,
62,
62,
3381,
12902,
11921,
51,
222,
338,
244,
2657,
244,
54,
62,
62,
60,
906,
3944,
7072,
18687,
27343,
51,
244,
3381,
4760,
5225,
51,
222,
588,
222,
222,
1337,
15315,
51,
4386,
51,
112,
4523,
58,
51,
3269,
64,
222,
222,
485,
15315,
51,
4386,
51,
1058,
7737,
222,
485,
15315,
51,
4386,
51,
112,
4523,
58,
51,
44172,
54,
1002,
64,
222,
485,
15315,
51,
4386,
51,
112,
4523,
58,
51,
22423,
1002,
64,
222,
485,
1401,
51,
1058,
51,
2880,
64,
222,
485,
1401,
51,
735,
51,
6860,
64,
222,
485,
1401,
51,
3851,
51,
21520,
64,
222,
222,
1350,
222,
338,
34799,
341,
23815,
51,
54,
2445,
104,
80,
4523,
23978,
2655,
847,
51,
222,
338,
222,
338,
350,
1023,
19338,
707,
222,
338,
2445,
104,
80,
4523,
23978,
2655,
244,
38870,
447,
16251,
244,
55,
62,
98,
43070,
320,
222,
338,
282,
14724,
50,
1357,
281,
447,
53,
98,
43070,
2258,
1242,
4523,
23978,
1139,
49,
222,
338,
282,
21857,
2281,
447,
54,
98,
13053,
56,
55,
31926,
49,
222,
338,
282,
6356,
981,
447,
55,
98,
39019,
1061,
31926,
49,
222,
338,
282,
813,
104,
1485,
447,
56,
98,
18168,
6373,
31926,
49,
222,
338,
282,
328,
50,
2485,
981,
447,
57,
98,
11219,
2455,
31926,
49,
222,
338,
282,
559,
50,
2485,
981,
447,
58,
98,
11219,
2455,
31926,
222,
338,
280,
339,
222,
338,
24681,
1023,
67,
222,
338,
222,
338,
350,
117,
67,
222,
338,
1369,
5658,
10238,
120,
341,
8187,
27246,
7072,
21611,
244,
57,
54,
55,
53,
222,
338,
14224,
3322,
840,
222,
338,
350,
102,
995,
366,
544,
574,
1516,
51,
26437,
51,
1107,
52,
21168,
52,
21168,
57,
54,
55,
53,
51,
2787,
432,
222,
338,
1930,
574,
1516,
51,
26437,
51,
1107,
52,
21168,
52,
21168,
57,
54,
55,
53,
51,
2787,
396,
102,
4513,
222,
588,
222,
942,
462,
2445,
104,
80,
4523,
23978,
2655,
320,
465,
581,
1242,
4523,
23978,
1139,
1197,
14724,
1139,
299,
762,
64,
303,
581,
39019,
1061,
1153,
12964,
64,
453,
5311,
303,
964,
4418,
21857,
64,
453,
5311,
303,
964,
4418,
813,
104,
64,
453,
5311,
303,
964,
11219,
2455,
328,
2455,
64,
453,
5311,
303,
964,
11219,
16806,
559,
2455,
64,
453,
5311,
465,
581,
2445,
104,
80,
4523,
23978,
2655,
45,
343,
1242,
4523,
23978,
1139,
1197,
556,
100,
13961,
1139,
49,
343,
39019,
1061,
556,
100,
1021,
12964,
49,
343,
4418,
556,
100,
34308,
49,
343,
4418,
556,
100,
17648,
49,
343,
11219,
2455,
556,
100,
120,
2455,
49,
343,
11219,
16806,
556,
100,
119,
2455,
46,
2589,
6300,
320,
310,
434,
327,
909,
100,
13961,
1139,
882,
762,
46,
320,
343,
14724,
1139,
299,
556,
1242,
4523,
23978,
1139,
96,
909,
100,
13961,
1139,
51,
1340,
988,
343,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
556,
100,
13961,
1139,
51,
1340,
64,
613,
2002,
320,
419,
434,
327,
909,
100,
13961,
1139,
96,
110,
98,
630,
762,
46,
320,
547,
1440,
556,
6300,
459,
11400,
1506,
331,
2445,
104,
80,
4523,
23978,
2655,
742,
419,
339,
832,
320,
547,
14724,
1139,
96,
110,
98,
299,
327,
80,
4523,
23978,
1139,
46,
556,
100,
13961,
1139,
96,
110,
1015,
6371,
492,
419,
339,
343,
339,
310,
339,
310,
1153,
12964,
299,
556,
100,
1021,
12964,
64,
310,
813,
104,
299,
556,
100,
34308,
64,
310,
21857,
299,
556,
100,
17648,
64,
310,
328,
2455,
299,
556,
100,
120,
2455,
64,
310,
559,
2455,
299,
556,
100,
119,
2455,
64,
303,
339,
465,
581,
2445,
104,
80,
4523,
23978,
2655,
45,
2278,
1197,
727,
46,
2589,
2915,
115,
54,
1002,
49,
343,
6300,
49,
41421,
1002,
320,
310,
3238,
45,
909,
15933,
899,
45,
624,
894,
303,
339,
465,
581,
2445,
104,
80,
4523,
23978,
2655,
45,
11917,
899,
7348,
46,
2589,
2915,
115,
54,
1002,
49,
343,
6300,
49,
41421,
1002,
320,
310,
3238,
45,
8657,
312,
303,
339,
465,
1041,
294,
338,
21010,
619,
2445,
104,
80,
4523,
23978,
2655,
1319,
51,
294,
338,
496,
772,
7348,
331,
4005,
493,
546,
50,
12631,
804,
51,
294,
338,
496,
3918,
2915,
115,
54,
1002,
434,
619,
1067,
12996,
2236,
28152,
619,
23815,
54,
11849,
727,
51,
294,
338,
496,
3918,
6300,
434,
619,
457,
52,
84,
1067,
12996,
2236,
9198,
11849,
727,
51,
294,
338,
496,
3918,
41421,
1002,
434,
619,
1067,
12996,
2236,
11713,
331,
41421,
1319,
51,
294,
588,
303,
964,
782,
3238,
45,
11917,
899,
7348,
46,
2589,
2915,
115,
54,
1002,
49,
343,
6300,
49,
41421,
1002,
320,
310,
15933,
899,
3768,
49,
1381,
11917,
64,
310,
453,
17340,
666,
545,
341,
3831,
1067,
1361,
456,
331,
2621,
310,
453,
45971,
563,
619,
15796,
5213,
310,
21857,
299,
762,
64,
310,
1153,
12964,
299,
762,
64,
310,
813,
104,
299,
762,
64,
310,
328,
2455,
299,
762,
64,
310,
559,
2455,
299,
762,
64,
310,
434,
8587,
8657,
51,
36638,
365,
568,
327,
2278,
46,
244,
53,
125,
54,
75,
46,
882,
327,
2278,
46,
244,
53,
125,
54,
73,
46,
419,
1293,
327,
8657,
51,
316,
2743,
365,
882,
878,
46,
419,
1293,
327,
8657,
51,
316,
13613,
337,
365,
882,
878,
509,
320,
343,
1440,
556,
2915,
115,
54,
1002,
45,
80,
4523,
58,
51,
25471,
54,
100,
13721,
100,
798,
312,
310,
339,
310,
3768,
299,
7348,
51,
11574,
941,
390,
11917,
899,
492,
310,
434,
327,
512,
51,
36638,
365,
882,
15933,
899,
51,
2159,
100,
5908,
46,
320,
343,
1440,
556,
2915,
115,
54,
1002,
45,
80,
4523,
58,
51,
25471,
54,
100,
13721,
100,
798,
312,
310,
339,
603,
1381,
11917,
299,
3768,
51,
11574,
941,
390,
11917,
899,
492,
310,
434,
1849,
1133,
11917,
51,
36638,
365,
568,
327,
2278,
46,
244,
53,
125,
54,
75,
46,
630,
327,
2278,
46,
244,
53,
125,
53,
53,
46,
320,
343,
15933,
899,
1197,
3768,
3367,
299,
1381,
11917,
51,
11574,
941,
390,
5908,
45,
54,
312,
343,
14724,
1139,
299,
556,
1242,
4523,
23978,
1139,
96,
512,
3367,
51,
1340,
988,
343,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
3768,
3367,
51,
1340,
64,
613,
2002,
320,
419,
14724,
1139,
96,
110,
98,
299,
556,
1242,
4523,
23978,
1139,
45,
512,
3367,
96,
110,
2004,
343,
339,
310,
339,
832,
320,
343,
1440,
556,
2915,
115,
54,
1002,
45,
80,
4523,
58,
51,
25471,
54,
100,
13721,
100,
798,
312,
310,
339,
310,
434,
327,
512,
51,
11574,
941,
7249,
365,
868,
244,
53,
46,
320,
343,
434,
8587,
2278,
46,
327,
512,
51,
11574,
941,
20106,
3945,
1177,
568,
327,
2278,
46,
244,
53,
125,
54,
75,
46,
630,
327,
2278,
46,
244,
53,
125,
53,
54,
46,
320,
419,
1381,
11917,
299,
3768,
51,
11574,
941,
390,
11917,
899,
492,
419,
21857,
299,
1381,
11917,
51,
11574,
941,
390,
21520,
941,
22777,
492,
343,
339,
310,
339,
310,
434,
327,
512,
51,
11574,
941,
7249,
365,
868,
244,
53,
46,
320,
343,
1153,
12964,
299,
39019,
1061,
51,
2228,
45,
512,
51,
11574,
1046,
327,
2278,
46,
244,
53,
125,
53,
55,
49,
878,
312,
310,
339,
310,
434,
327,
512,
51,
11574,
941,
7249,
365,
868,
244,
53,
46,
320,
343,
434,
8587,
2278,
46,
327,
512,
51,
11574,
941,
20106,
3945,
1177,
568,
327,
2278,
46,
244,
53,
125,
54,
75,
46,
630,
327,
2278,
46,
244,
53,
125,
53,
56,
46,
320,
419,
1381,
11917,
299,
3768,
51,
11574,
941,
390,
11917,
899,
492,
419,
813,
104,
299,
1381,
11917,
51,
11574,
941,
390,
21520,
941,
22777,
492,
343,
339,
310,
339,
310,
434,
327,
512,
51,
11574,
941,
7249,
365,
868,
244,
53,
46,
320,
343,
328,
2455,
299,
11219,
2455,
51,
2228,
45,
512,
51,
11574,
1046,
327,
2278,
46,
244,
53,
125,
53,
57,
49,
878,
312,
310,
339,
310,
434,
327,
512,
51,
11574,
941,
7249,
365,
868,
244,
53,
46,
320,
343,
559,
2455,
299,
11219,
16806,
51,
2228,
45,
512,
51,
11574,
1046,
327,
2278,
46,
244,
53,
125,
53,
58,
49,
878,
312,
310,
339,
310,
434,
327,
512,
51,
11574,
941,
7249,
365,
868,
244,
53,
46,
320,
343,
1440,
556,
2915,
115,
54,
1002,
45,
80,
4523,
58,
51,
25471,
54,
100,
13721,
100,
798,
312,
310,
339,
303,
339,
465,
1041,
294,
338,
2445,
7800,
619,
2445,
104,
80,
4523,
23978,
2655,
1319,
51,
294,
338,
496,
620,
3447,
1437,
451,
11849,
2445,
104,
80,
4523,
23978,
2655,
1319,
51,
294,
338,
496,
3918,
2915,
115,
54,
1002,
434,
619,
1067,
12996,
2236,
28152,
619,
23815,
54,
11849,
727,
51,
294,
338,
496,
3918,
6300,
434,
619,
457,
52,
84,
1067,
12996,
2236,
9198,
11849,
727,
51,
294,
338,
294,
588,
303,
581,
3447,
1197,
30952,
54,
10806,
365,
2589,
2915,
115,
54,
1002,
49,
6300,
320,
310,
15933,
8783,
3534,
299,
556,
15933,
8783,
492,
310,
15933,
8783,
1798,
299,
556,
15933,
8783,
492,
310,
15933,
899,
1197,
33211,
299,
556,
15933,
899,
96,
13961,
1139,
51,
1340,
988,
310,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
14724,
1139,
51,
1340,
64,
613,
2002,
320,
343,
33211,
96,
110,
98,
299,
556,
15933,
899,
45,
13961,
1139,
96,
110,
1015,
17508,
54,
10806,
1052,
310,
339,
310,
1798,
51,
543,
5908,
45,
30773,
312,
310,
3534,
51,
1838,
45,
11917,
899,
51,
1315,
2649,
45,
11917,
899,
51,
6545,
100,
13947,
49,
419,
878,
49,
327,
2278,
46,
244,
53,
125,
53,
53,
490,
1798,
312,
603,
434,
327,
17648,
882,
762,
46,
320,
343,
1798,
299,
556,
15933,
8783,
492,
343,
1798,
51,
543,
3078,
45,
21520,
51,
9169,
45,
17648,
51,
22777,
5086,
343,
3534,
51,
1838,
45,
11917,
899,
51,
1315,
2649,
45,
11917,
899,
51,
6545,
100,
13947,
49,
547,
878,
49,
327,
2278,
46,
244,
53,
125,
53,
54,
490,
1798,
312,
310,
339,
310,
434,
327,
1021,
12964,
882,
762,
46,
320,
343,
3534,
51,
1838,
45,
11917,
899,
51,
1315,
2649,
45,
11917,
899,
51,
6545,
100,
13947,
49,
547,
878,
49,
327,
2278,
46,
244,
53,
125,
53,
55,
490,
1153,
12964,
51,
17508,
54,
10806,
1052,
310,
339,
310,
434,
327,
34308,
882,
762,
46,
320,
343,
1798,
299,
556,
15933,
8783,
492,
343,
1798,
51,
543,
3078,
45,
21520,
51,
9169,
45,
34308,
51,
22777,
5086,
343,
3534,
51,
1838,
45,
11917,
899,
51,
1315,
2649,
45,
11917,
899,
51,
6545,
100,
13947,
49,
547,
878,
49,
327,
2278,
46,
244,
53,
125,
53,
56,
490,
1798,
312,
310,
339,
310,
434,
327,
120,
2455,
882,
762,
46,
320,
343,
3534,
51,
1838,
45,
11917,
899,
51,
1315,
2649,
45,
11917,
899,
51,
6545,
100,
13947,
49,
547,
878,
49,
327,
2278,
46,
244,
53,
125,
53,
57,
490,
328,
2455,
51,
17508,
54,
10806,
1052,
310,
339,
310,
434,
327,
119,
2455,
882,
762,
46,
320,
343,
3534,
51,
1838,
45,
11917,
899,
51,
1315,
2649,
45,
11917,
899,
51,
6545,
100,
13947,
49,
547,
878,
49,
327,
2278,
46,
244,
53,
125,
53,
58,
490,
559,
2455,
51,
17508,
54,
10806,
1052,
310,
339,
310,
1798,
299,
556,
15933,
8783,
492,
310,
1798,
51,
1838,
45,
11917,
899,
51,
2159,
100,
5908,
49,
3534,
312,
310,
3534,
299,
556,
15933,
8783,
492,
310,
3534,
51,
1838,
45,
11917,
899,
51,
1315,
2649,
45,
11917,
899,
51,
6545,
100,
16251,
49,
419,
878,
49,
327,
2278,
46,
244,
53,
125,
54,
73,
490,
1798,
312,
310,
461,
3534,
51,
35743,
492,
303,
339,
222,
130,
222
] |
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
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 2,230
| true
| 58.397221
| true
| true
|
MonServiceAggregation.java
|
/FileExtraction/Java_unseen/dlr-eoc_prosEO/monitor/src/main/java/de/dlr/proseo/monitor/microservice/MonServiceAggregation.java
|
package de.dlr.proseo.monitor.microservice;
import java.math.BigInteger;
import java.time.Instant;
import java.time.ZoneId;
import java.time.ZonedDateTime;
import java.time.format.DateTimeParseException;
import java.time.temporal.ChronoUnit;
import java.util.List;
import javax.persistence.EntityManager;
import javax.persistence.NoResultException;
import javax.persistence.Query;
import org.springframework.dao.CannotAcquireLockException;
import org.springframework.transaction.PlatformTransactionManager;
import org.springframework.transaction.TransactionDefinition;
import org.springframework.transaction.TransactionException;
import org.springframework.transaction.support.TransactionTemplate;
import de.dlr.proseo.logging.logger.ProseoLogger;
import de.dlr.proseo.logging.messages.GeneralMessage;
import de.dlr.proseo.logging.messages.MonitorMessage;
import de.dlr.proseo.model.MonExtService;
import de.dlr.proseo.model.MonExtServiceStateOperationDay;
import de.dlr.proseo.model.MonExtServiceStateOperationMonth;
import de.dlr.proseo.model.MonService;
import de.dlr.proseo.model.MonServiceStateOperationDay;
import de.dlr.proseo.model.MonServiceStateOperationMonth;
import de.dlr.proseo.model.service.RepositoryService;
import de.dlr.proseo.model.util.MonServiceStates;
import de.dlr.proseo.model.util.ProseoUtil;
import de.dlr.proseo.monitor.MonitorConfiguration;
/**
* The thread monitoring KPI01 timeliness
*
* @author Melchinger
*
*/
public class MonServiceAggregation extends Thread {
private static ProseoLogger logger = new ProseoLogger(MonServiceAggregation.class);
/** Transaction manager for transaction control */
private PlatformTransactionManager txManager;
/** JPA entity manager */
private EntityManager em;
/**
* The S1 monitor configuration additions (application.yml)
*/
private MonitorConfiguration config;
/**
* Instantiate the monitor services thread
*
* @param config The monitor configuration
* @param config The S1 monitor configuration additions
* @param txManager The transaction manager
*/
public MonServiceAggregation(MonitorConfiguration config,
PlatformTransactionManager txManager, EntityManager em) {
this.config = config;
this.txManager = txManager;
this.em = em;
this.setName("MonServiceAggregation");
}
/**
* Collect the monitoring information of services for day and month
*/
public void checkMonServiceAggregation() {
if (logger.isTraceEnabled())
logger.trace(">>> checkMonServiceAggregation()");
Instant now = Instant.now();
Instant timeFrom;
Instant timeTo;
TransactionTemplate transactionTemplate = new TransactionTemplate(txManager);
transactionTemplate.setIsolationLevel(TransactionDefinition.ISOLATION_REPEATABLE_READ);
transactionTemplate.setReadOnly(true);
ZonedDateTime zdt = transactionTemplate.execute((status) -> {
return calcBasicStartTime(now, RepositoryService.getMonServiceStateOperationDayRepository().findLastDatetime());
});
ZonedDateTime zdtOrig = zdt;
List<MonService> services = transactionTemplate.execute((status) -> {
return RepositoryService.getMonServiceRepository().findAll();
});
List<MonExtService> extServices = transactionTemplate.execute((status) -> {
return RepositoryService.getMonExtServiceRepository().findAll();
});
// loop over missing entries
transactionTemplate.setReadOnly(false);
for (MonService m : services) {
timeFrom = zdtOrig.toInstant();
timeTo = timeFrom.plus(1, ChronoUnit.DAYS);
if (logger.isTraceEnabled())
logger.trace(" aggregate days for service '{}'", m.getName());
while (timeFrom.isBefore(now)) {
final Instant timeFromX = timeFrom;
final Instant timeToX = timeTo;
for (int i = 0; i < ProseoUtil.DB_MAX_RETRY; i++) {
try {
transactionTemplate.execute((status) -> {
int countUp = getServiceStateCount(timeFromX, timeToX, m.getId(), true);
int countDown = getServiceStateCount(timeFromX, timeToX, m.getId(), false);
double upPercent = (countUp + countDown) == 0 ? 0.0 : 100.0 * countUp / (countUp + countDown);
MonServiceStateOperationDay tm;
try {
tm = RepositoryService.getMonServiceStateOperationDayRepository().findByDateTimeBetween(timeFromX, timeToX, m.getId()).get(0);
} catch (IndexOutOfBoundsException ex) {
tm = new MonServiceStateOperationDay();
}
tm.setMonServiceId(m.getId());
tm.setUpTime(upPercent);
tm.setDatetime(timeFromX);
RepositoryService.getMonServiceStateOperationDayRepository().save(tm);
return null;
});
break;
} catch (CannotAcquireLockException e) {
if (logger.isDebugEnabled()) logger.debug("... database concurrency issue detected: ", e);
if ((i + 1) < ProseoUtil.DB_MAX_RETRY) {
ProseoUtil.dbWait();
} else {
if (logger.isDebugEnabled()) logger.debug("... failing after {} attempts!", ProseoUtil.DB_MAX_RETRY);
throw e;
}
}
}
timeFrom = timeTo;
timeTo = timeTo.plus(1, ChronoUnit.DAYS);
}
}
transactionTemplate.setReadOnly(true);
zdt = transactionTemplate.execute((status) -> {
return calcBasicStartTime(now, RepositoryService.getMonExtServiceStateOperationDayRepository().findLastDatetime());
});
zdtOrig = zdt;
// loop over missing entries
transactionTemplate.setReadOnly(false);
for (MonExtService m : extServices) {
timeFrom = zdtOrig.toInstant();
timeTo = timeFrom.plus(1, ChronoUnit.DAYS);
if (logger.isTraceEnabled())
logger.trace(" aggregate days for external service '{}'", m.getName());
while (timeFrom.isBefore(now)) {
final Instant timeFromX = timeFrom;
final Instant timeToX = timeTo;
for (int i = 0; i < ProseoUtil.DB_MAX_RETRY; i++) {
try {
transactionTemplate.execute((status) -> {
int countUp = getExtServiceStateCount(timeFromX, timeToX, m.getId(), true);
int countDown = getExtServiceStateCount(timeFromX, timeToX, m.getId(), false);
double upPercent = (countUp + countDown) == 0 ? 0.0 : 100.0 * countUp / (countUp + countDown);
MonExtServiceStateOperationDay tm;
try {
tm = RepositoryService.getMonExtServiceStateOperationDayRepository().findByDateTimeBetween(timeFromX, timeToX, m.getId()).get(0);
} catch (IndexOutOfBoundsException ex) {
tm = new MonExtServiceStateOperationDay();
}
tm.setMonExtServiceId(m.getId());
tm.setUpTime(upPercent);
tm.setDatetime(timeFromX);
RepositoryService.getMonExtServiceStateOperationDayRepository().save(tm);
return null;
});
break;
} catch (CannotAcquireLockException e) {
if (logger.isDebugEnabled()) logger.debug("... database concurrency issue detected: ", e);
if ((i + 1) < ProseoUtil.DB_MAX_RETRY) {
ProseoUtil.dbWait();
} else {
if (logger.isDebugEnabled()) logger.debug("... failing after {} attempts!", ProseoUtil.DB_MAX_RETRY);
throw e;
}
}
}
timeFrom = timeTo;
timeTo = timeTo.plus(1, ChronoUnit.DAYS);
}
}
transactionTemplate.setReadOnly(true);
zdt = transactionTemplate.execute((status) -> {
return calcBasicStartTime(now, RepositoryService.getMonServiceStateOperationMonthRepository().findLastDatetime());
});
int d = zdt.getDayOfMonth() - 1;
zdtOrig = zdt.minusDays(d);
// loop over missing entries
transactionTemplate.setReadOnly(false);
for (MonService m : services) {
timeFrom = zdtOrig.toInstant();
timeTo = zdtOrig.plusMonths(1).toInstant();
if (logger.isTraceEnabled())
logger.trace(" aggregate months for service '{}'", m.getName());
while (timeFrom.isBefore(now)) {
final Instant timeFromX = timeFrom;
final Instant timeToX = timeTo;
for (int i = 0; i < ProseoUtil.DB_MAX_RETRY; i++) {
try {
transactionTemplate.execute((status) -> {
int countUp = getServiceStateCount(timeFromX, timeToX, m.getId(), true);
int countDown = getServiceStateCount(timeFromX, timeToX, m.getId(), false);
double upPercent = (countUp + countDown) == 0 ? 0.0 : 100.0 * countUp / (countUp + countDown);
MonServiceStateOperationMonth tm;
try {
tm = RepositoryService.getMonServiceStateOperationMonthRepository().findByDateTimeBetween(timeFromX, timeToX, m.getId()).get(0);
} catch (IndexOutOfBoundsException ex) {
tm = new MonServiceStateOperationMonth();
}
tm.setMonServiceId(m.getId());
tm.setUpTime(upPercent);
tm.setDatetime(timeFromX);
RepositoryService.getMonServiceStateOperationMonthRepository().save(tm);
return null;
});
break;
} catch (CannotAcquireLockException e) {
if (logger.isDebugEnabled()) logger.debug("... database concurrency issue detected: ", e);
if ((i + 1) < ProseoUtil.DB_MAX_RETRY) {
ProseoUtil.dbWait();
} else {
if (logger.isDebugEnabled()) logger.debug("... failing after {} attempts!", ProseoUtil.DB_MAX_RETRY);
throw e;
}
}
}
zdt = ZonedDateTime.ofInstant(timeFrom, ZoneId.of("UTC"));
timeFrom = zdt.plusMonths(1).toInstant();
zdt = ZonedDateTime.ofInstant(timeFrom, ZoneId.of("UTC"));
timeTo = zdt.plusMonths(1).toInstant();
}
}
transactionTemplate.setReadOnly(true);
zdt = transactionTemplate.execute((status) -> {
return calcBasicStartTime(now, RepositoryService.getMonExtServiceStateOperationMonthRepository().findLastDatetime());
});
d = zdt.getDayOfMonth() - 1;
zdtOrig = zdt.minusDays(d);
// loop over missing entries
transactionTemplate.setReadOnly(false);
for (MonExtService m : extServices) {
timeFrom = zdtOrig.toInstant();
timeTo = zdtOrig.plusMonths(1).toInstant();
if (logger.isTraceEnabled())
logger.trace(" aggregate months for external service '{}'", m.getName());
while (timeFrom.isBefore(now)) {
final Instant timeFromX = timeFrom;
final Instant timeToX = timeTo;
for (int i = 0; i < ProseoUtil.DB_MAX_RETRY; i++) {
try {
transactionTemplate.execute((status) -> {
int countUp = getExtServiceStateCount(timeFromX, timeToX, m.getId(), true);
int countDown = getExtServiceStateCount(timeFromX, timeToX, m.getId(), false);
double upPercent = (countUp + countDown) == 0 ? 0.0 : 100.0 * countUp / (countUp + countDown);
MonExtServiceStateOperationMonth tm;
try {
tm = RepositoryService.getMonExtServiceStateOperationMonthRepository().findByDateTimeBetween(timeFromX, timeToX, m.getId()).get(0);
} catch (IndexOutOfBoundsException ex) {
tm = new MonExtServiceStateOperationMonth();
}
tm.setMonExtServiceId(m.getId());
tm.setUpTime(upPercent);
tm.setDatetime(timeFromX);
RepositoryService.getMonExtServiceStateOperationMonthRepository().save(tm);
return null;
});
break;
} catch (CannotAcquireLockException e) {
if (logger.isDebugEnabled()) logger.debug("... database concurrency issue detected: ", e);
if ((i + 1) < ProseoUtil.DB_MAX_RETRY) {
ProseoUtil.dbWait();
} else {
if (logger.isDebugEnabled()) logger.debug("... failing after {} attempts!", ProseoUtil.DB_MAX_RETRY);
throw e;
}
}
}
zdt = ZonedDateTime.ofInstant(timeFrom, ZoneId.of("UTC"));
timeFrom = zdt.plusMonths(1).toInstant();
zdt = ZonedDateTime.ofInstant(timeFrom, ZoneId.of("UTC"));
timeTo = zdt.plusMonths(1).toInstant();
}
}
}
private int getServiceStateCount(Instant from, Instant to, long serviceId, Boolean up) {
int count = 0;
String sqlString = null;
sqlString = "SELECT count(*) FROM mon_service_state_operation d WHERE "
+ "d.mon_service_id = " + serviceId + " and ";
if (up) {
sqlString += "d.mon_service_state_id = " + MonServiceStates.RUNNING_ID + " and ";
} else {
sqlString += "d.mon_service_state_id <> " + MonServiceStates.RUNNING_ID + " and ";
}
sqlString += "d.datetime >= '" + from.toString() + "' and d.datetime < '" + to.toString() + "'";
final Query query = em.createNativeQuery(sqlString);
TransactionTemplate transactionTemplate = new TransactionTemplate(txManager);
transactionTemplate.setIsolationLevel(TransactionDefinition.ISOLATION_REPEATABLE_READ);
transactionTemplate.setReadOnly(true);
Object result = transactionTemplate.execute((status) -> {
return query.getSingleResult();
});
if (result != null && result instanceof BigInteger) {
count = ((BigInteger)result).intValue();
}
return count;
}
private int getExtServiceStateCount(Instant from, Instant to, long serviceId, Boolean up) {
int count = 0;
String sqlString = null;
sqlString = "SELECT count(*) FROM mon_ext_service_state_operation d WHERE "
+ "d.mon_ext_service_id = " + serviceId + " and ";
if (up) {
sqlString += "d.mon_service_state_id = " + MonServiceStates.RUNNING_ID + " and ";
} else {
sqlString += "d.mon_service_state_id <> " + MonServiceStates.RUNNING_ID + " and ";
}
sqlString += "d.datetime >= '" + from.toString() + "' and d.datetime < '" + to.toString() + "'";
Query query = em.createNativeQuery(sqlString);
TransactionTemplate transactionTemplate = new TransactionTemplate(txManager);
transactionTemplate.setIsolationLevel(TransactionDefinition.ISOLATION_REPEATABLE_READ);
transactionTemplate.setReadOnly(true);
Object result = transactionTemplate.execute((status) -> {
return query.getSingleResult();
});
if (result != null && result instanceof BigInteger) {
count = ((BigInteger)result).intValue();
}
return count;
}
private ZonedDateTime calcBasicStartTime(Instant now, Instant lastEntryDatetime) {
Instant timeFrom = null;
if (lastEntryDatetime == null) {
// no entry found, begin at now.
timeFrom = now.truncatedTo(ChronoUnit.DAYS);
if (config.getAggregationStart() != null) {
try {
timeFrom = Instant.parse(config.getAggregationStart()).truncatedTo(ChronoUnit.DAYS);
} catch (DateTimeParseException ex) {
logger.log(MonitorMessage.ILLEGAL_CONFIG_VALUE, config.getAggregationStart());
}
}
} else {
timeFrom = lastEntryDatetime.truncatedTo(ChronoUnit.DAYS);
}
ZonedDateTime zdt = ZonedDateTime.ofInstant(timeFrom, ZoneId.of("UTC"));
return zdt;
}
/**
* Start the monitor thread
*/
public void run() {
Long wait = (long) 100000;
try {
if (config.getServiceAggregationCycle() != null) {
wait = config.getServiceAggregationCycle();
}
} catch (NumberFormatException e) {
wait = (long) 100000;
}
while (!this.isInterrupted()) {
// look for job steps to run
try {
this.checkMonServiceAggregation();
} catch (NoResultException e) {
logger.log(GeneralMessage.EXCEPTION_ENCOUNTERED,e);
} catch (IllegalArgumentException e) {
logger.log(GeneralMessage.EXCEPTION_ENCOUNTERED,e);
} catch (TransactionException e) {
logger.log(GeneralMessage.EXCEPTION_ENCOUNTERED,e);
} catch (RuntimeException e) {
logger.log(GeneralMessage.EXCEPTION_ENCOUNTERED,e);
}
try {
sleep(wait);
}
catch(InterruptedException e) {
this.interrupt();
}
}
}
}
| 15,351
|
Java
|
.java
|
dlr-eoc/prosEO
| 14
| 1
| 56
|
2019-04-12T08:08:37Z
|
2024-05-08T14:58:34Z
|
de17b7f8e833114b5b3a0144ebcb397cefcebdb790d00bf9390281a98ed69a4f
|
[
1337,
428,
51,
3679,
119,
51,
529,
22046,
51,
8243,
51,
9465,
2140,
64,
222,
222,
485,
1401,
51,
3851,
51,
21520,
64,
222,
485,
1401,
51,
1021,
51,
22154,
64,
222,
485,
1401,
51,
1021,
51,
6778,
625,
64,
222,
485,
1401,
51,
1021,
51,
95,
36072,
64,
222,
485,
1401,
51,
1021,
51,
1664,
51,
4861,
26004,
64,
222,
485,
1401,
51,
1021,
51,
34616,
51,
846,
25834,
3024,
64,
222,
485,
1401,
51,
1058,
51,
739,
64,
222,
222,
485,
3698,
51,
10782,
51,
31972,
64,
222,
485,
3698,
51,
10782,
51,
2042,
1413,
1002,
64,
222,
485,
3698,
51,
10782,
51,
1643,
64,
222,
222,
485,
1105,
51,
4140,
51,
13974,
51,
11400,
20111,
4645,
1002,
64,
222,
485,
1105,
51,
4140,
51,
6561,
51,
6851,
4331,
1590,
64,
222,
485,
1105,
51,
4140,
51,
6561,
51,
4331,
3385,
64,
222,
485,
1105,
51,
4140,
51,
6561,
51,
4331,
1002,
64,
222,
485,
1105,
51,
4140,
51,
6561,
51,
3608,
51,
4331,
3455,
64,
222,
222,
485,
428,
51,
3679,
119,
51,
529,
22046,
51,
7506,
51,
4089,
51,
608,
22046,
3716,
64,
222,
485,
428,
51,
3679,
119,
51,
529,
22046,
51,
7506,
51,
6296,
51,
8633,
1193,
64,
222,
485,
428,
51,
3679,
119,
51,
529,
22046,
51,
7506,
51,
6296,
51,
8538,
1193,
64,
222,
485,
428,
51,
3679,
119,
51,
529,
22046,
51,
1184,
51,
3554,
2739,
1201,
64,
222,
485,
428,
51,
3679,
119,
51,
529,
22046,
51,
1184,
51,
3554,
2739,
1201,
1095,
3786,
6303,
64,
222,
485,
428,
51,
3679,
119,
51,
529,
22046,
51,
1184,
51,
3554,
2739,
1201,
1095,
3786,
7367,
64,
222,
485,
428,
51,
3679,
119,
51,
529,
22046,
51,
1184,
51,
3554,
1201,
64,
222,
485,
428,
51,
3679,
119,
51,
529,
22046,
51,
1184,
51,
3554,
1201,
1095,
3786,
6303,
64,
222,
485,
428,
51,
3679,
119,
51,
529,
22046,
51,
1184,
51,
3554,
1201,
1095,
3786,
7367,
64,
222,
485,
428,
51,
3679,
119,
51,
529,
22046,
51,
1184,
51,
2140,
51,
3231,
1201,
64,
222,
485,
428,
51,
3679,
119,
51,
529,
22046,
51,
1184,
51,
1058,
51,
3554,
1201,
10982,
64,
222,
485,
428,
51,
3679,
119,
51,
529,
22046,
51,
1184,
51,
1058,
51,
608,
22046,
1747,
64,
222,
485,
428,
51,
3679,
119,
51,
529,
22046,
51,
8243,
51,
8538,
2339,
64,
222,
222,
1350,
222,
338,
906,
3682,
20312,
1242,
1182,
53,
54,
1153,
1823,
522,
222,
338,
1676,
338,
496,
2133,
38641,
399,
10120,
222,
338,
222,
588,
222,
222,
942,
462,
5913,
1201,
26272,
2041,
7806,
320,
222,
221,
2072,
924,
1330,
22046,
3716,
4101,
299,
556,
1330,
22046,
3716,
45,
3554,
1201,
26272,
51,
842,
312,
221,
499,
221,
1350,
11726,
7886,
456,
6148,
3518,
588,
499,
221,
2072,
11329,
4331,
1590,
6495,
1590,
64,
3038,
221,
1350,
990,
9614,
4436,
7886,
588,
222,
221,
2072,
7276,
1590,
2667,
64,
499,
221,
1350,
376,
338,
906,
377,
54,
9315,
3505,
42084,
327,
3180,
51,
7083,
46,
4517,
588,
222,
221,
2072,
16645,
2339,
1377,
64,
499,
221,
1350,
376,
338,
26180,
341,
9315,
6694,
3682,
376,
338,
4517,
338,
496,
772,
1377,
906,
9315,
3505,
376,
338,
496,
772,
1377,
906,
377,
54,
9315,
3505,
42084,
376,
338,
496,
772,
6495,
1590,
906,
6148,
7886,
376,
588,
222,
221,
942,
5913,
1201,
26272,
45,
8538,
2339,
1377,
49,
374,
221,
6851,
4331,
1590,
6495,
1590,
49,
7276,
1590,
2667,
46,
320,
376,
221,
597,
51,
1180,
299,
1377,
64,
376,
221,
597,
51,
1500,
1590,
299,
6495,
1590,
64,
376,
221,
597,
51,
423,
299,
2667,
64,
376,
221,
597,
51,
15779,
459,
3554,
1201,
26272,
742,
222,
221,
130,
499,
221,
1350,
376,
338,
19808,
341,
20312,
2490,
451,
6694,
456,
5830,
480,
6829,
376,
588,
499,
221,
942,
782,
1524,
3554,
1201,
26272,
365,
320,
376,
221,
344,
327,
4089,
51,
316,
4804,
4006,
1177,
374,
221,
4089,
51,
5736,
30531,
2023,
1524,
3554,
1201,
26272,
33942,
376,
221,
22154,
2483,
299,
26696,
51,
2192,
492,
376,
221,
22154,
1153,
1811,
64,
376,
221,
22154,
1153,
724,
64,
376,
221,
4331,
3455,
6148,
3455,
299,
556,
11726,
3455,
45,
1500,
1590,
312,
376,
221,
6561,
3455,
51,
489,
25291,
2671,
45,
4331,
3385,
51,
1309,
1767,
2909,
100,
34742,
2164,
100,
4423,
312,
376,
221,
6561,
3455,
51,
489,
11060,
45,
1527,
312,
376,
221,
95,
36072,
1308,
2654,
299,
6148,
3455,
51,
4540,
1181,
1535,
46,
984,
320,
45062,
221,
620,
11680,
7114,
17885,
45,
2192,
49,
14205,
1201,
51,
390,
3554,
1201,
1095,
3786,
6303,
3231,
941,
1828,
3283,
30831,
1052,
376,
221,
1933,
376,
221,
95,
36072,
1308,
2654,
5837,
299,
1308,
2654,
64,
1332,
221,
739,
65,
3554,
1201,
67,
6694,
299,
6148,
3455,
51,
4540,
1181,
1535,
46,
984,
320,
31425,
221,
620,
14205,
1201,
51,
390,
3554,
1201,
3231,
941,
18896,
492,
376,
221,
1933,
376,
221,
739,
65,
3554,
2739,
1201,
67,
1467,
5466,
299,
6148,
3455,
51,
4540,
1181,
1535,
46,
984,
320,
31425,
221,
620,
14205,
1201,
51,
390,
3554,
2739,
1201,
3231,
941,
18896,
492,
376,
221,
1933,
376,
221,
325,
5276,
2308,
5839,
8072,
376,
221,
6561,
3455,
51,
489,
11060,
45,
1886,
312,
376,
221,
999,
327,
3554,
1201,
364,
518,
6694,
46,
320,
374,
221,
1021,
1811,
299,
1308,
2654,
5837,
51,
471,
22154,
492,
374,
221,
1021,
724,
299,
1153,
1811,
51,
5447,
45,
54,
49,
1902,
25834,
3024,
51,
39849,
312,
374,
221,
344,
327,
4089,
51,
316,
4804,
4006,
1177,
621,
221,
4089,
51,
5736,
459,
244,
19081,
6952,
456,
2733,
17253,
13077,
364,
51,
5175,
1052,
374,
221,
5544,
327,
1021,
1811,
51,
316,
5670,
45,
2192,
509,
320,
621,
221,
3242,
26696,
1153,
1811,
93,
299,
1153,
1811,
64,
621,
221,
3242,
26696,
1153,
724,
93,
299,
1153,
724,
64,
621,
221,
999,
327,
429,
613,
299,
244,
53,
64,
613,
350,
1330,
22046,
1747,
51,
2015,
100,
3470,
100,
38863,
64,
613,
2002,
320,
596,
221,
1287,
320,
1397,
221,
6561,
3455,
51,
4540,
1181,
1535,
46,
984,
320,
3177,
1504,
221,
429,
2409,
1405,
299,
640,
1201,
1095,
1552,
45,
1021,
1811,
93,
49,
1153,
724,
93,
49,
364,
51,
7068,
1046,
878,
312,
1504,
221,
429,
2409,
3228,
299,
640,
1201,
1095,
1552,
45,
1021,
1811,
93,
49,
1153,
724,
93,
49,
364,
51,
7068,
1046,
920,
312,
1504,
221,
2640,
992,
12270,
299,
327,
1016,
1405,
494,
2409,
3228,
46,
630,
244,
53,
1037,
244,
53,
51,
53,
518,
244,
54,
53,
53,
51,
53,
338,
2409,
1405,
536,
327,
1016,
1405,
494,
2409,
3228,
312,
22875,
221,
3554,
1201,
1095,
3786,
6303,
13844,
64,
1504,
221,
1287,
320,
2904,
221,
6565,
299,
14205,
1201,
51,
390,
3554,
1201,
1095,
3786,
6303,
3231,
941,
20202,
4861,
16149,
45,
1021,
1811,
93,
49,
1153,
724,
93,
49,
364,
51,
7068,
4269,
390,
45,
53,
312,
1504,
221,
130,
2385,
327,
1301,
35787,
557,
46,
320,
2904,
221,
6565,
299,
556,
5913,
1201,
1095,
3786,
6303,
492,
1504,
221,
130,
1504,
221,
6565,
51,
489,
3554,
1201,
625,
45,
114,
51,
7068,
1052,
1504,
221,
6565,
51,
23715,
1061,
45,
436,
12270,
312,
1504,
221,
6565,
51,
489,
30831,
45,
1021,
1811,
93,
312,
1504,
221,
3231,
1201,
51,
390,
3554,
1201,
1095,
3786,
6303,
3231,
941,
2882,
45,
6565,
312,
3177,
1504,
221,
620,
762,
64,
1397,
221,
1933,
1397,
221,
2986,
64,
596,
221,
130,
2385,
327,
11400,
20111,
4645,
1002,
503,
46,
320,
1397,
221,
344,
327,
4089,
51,
39736,
1177,
4101,
51,
2824,
459,
1198,
3520,
35732,
2443,
14117,
63,
3021,
503,
312,
14121,
221,
344,
1849,
110,
494,
244,
54,
46,
350,
1330,
22046,
1747,
51,
2015,
100,
3470,
100,
38863,
46,
320,
1504,
221,
608,
22046,
1747,
51,
1219,
6494,
492,
1397,
221,
130,
832,
320,
1504,
221,
344,
327,
4089,
51,
39736,
1177,
4101,
51,
2824,
459,
1198,
16814,
2703,
2172,
20154,
13700,
1330,
22046,
1747,
51,
2015,
100,
3470,
100,
38863,
312,
1504,
221,
5267,
503,
64,
1397,
221,
130,
596,
221,
130,
621,
221,
130,
6828,
3177,
621,
221,
1021,
1811,
299,
1153,
724,
64,
621,
221,
1021,
724,
299,
1153,
724,
51,
5447,
45,
54,
49,
1902,
25834,
3024,
51,
39849,
312,
374,
221,
130,
376,
221,
130,
376,
221,
6561,
3455,
51,
489,
11060,
45,
1527,
312,
376,
221,
127,
2654,
299,
6148,
3455,
51,
4540,
1181,
1535,
46,
984,
320,
45062,
221,
620,
11680,
7114,
17885,
45,
2192,
49,
14205,
1201,
51,
390,
3554,
2739,
1201,
1095,
3786,
6303,
3231,
941,
1828,
3283,
30831,
1052,
376,
221,
1933,
376,
221,
127,
2654,
5837,
299,
1308,
2654,
64,
376,
221,
325,
5276,
2308,
5839,
8072,
376,
221,
6561,
3455,
51,
489,
11060,
45,
1886,
312,
376,
221,
999,
327,
3554,
2739,
1201,
364,
518,
1467,
5466,
46,
320,
374,
221,
1021,
1811,
299,
1308,
2654,
5837,
51,
471,
22154,
492,
374,
221,
1021,
724,
299,
1153,
1811,
51,
5447,
45,
54,
49,
1902,
25834,
3024,
51,
39849,
312,
374,
221,
344,
327,
4089,
51,
316,
4804,
4006,
1177,
621,
221,
4089,
51,
5736,
459,
244,
19081,
6952,
456,
6596,
2733,
17253,
13077,
364,
51,
5175,
1052,
374,
221,
5544,
327,
1021,
1811,
51,
316,
5670,
45,
2192,
509,
320,
621,
221,
3242,
26696,
1153,
1811,
93,
299,
1153,
1811,
64,
621,
221,
3242,
26696,
1153,
724,
93,
299,
1153,
724,
64,
621,
221,
999,
327,
429,
613,
299,
244,
53,
64,
613,
350,
1330,
22046,
1747,
51,
2015,
100,
3470,
100,
38863,
64,
613,
2002,
320,
596,
221,
1287,
320,
1397,
221,
6561,
3455,
51,
4540,
1181,
1535,
46,
984,
320,
221,
1504,
221,
429,
2409,
1405,
299,
640,
2739,
1201,
1095,
1552,
45,
1021,
1811,
93,
49,
1153,
724,
93,
49,
364,
51,
7068,
1046,
878,
312,
1504,
221,
429,
2409,
3228,
299,
640,
2739,
1201,
1095,
1552,
45,
1021,
1811,
93,
49,
1153,
724,
93,
49,
364,
51,
7068,
1046,
920,
312,
1504,
221,
2640,
992,
12270,
299,
327,
1016,
1405,
494,
2409,
3228,
46,
630,
244,
53,
1037,
244,
53,
51,
53,
518,
244,
54,
53,
53,
51,
53,
338,
2409,
1405,
536,
327,
1016,
1405,
494,
2409,
3228,
312,
22875,
221,
3554,
2739,
1201,
1095,
3786,
6303,
13844,
64,
1504,
221,
1287,
320,
2904,
221,
6565,
299,
14205,
1201,
51,
390,
3554,
2739,
1201,
1095,
3786,
6303,
3231,
941,
20202,
4861,
16149,
45,
1021,
1811,
93,
49,
1153,
724,
93,
49,
364,
51,
7068,
4269,
390,
45,
53,
312,
1504,
221,
130,
2385,
327,
1301,
35787,
557,
46,
320,
2904,
221,
6565,
299,
556,
5913,
2739,
1201,
1095,
3786,
6303,
492,
1504,
221,
130,
1504,
221,
6565,
51,
489,
3554,
2739,
1201,
625,
45,
114,
51,
7068,
1052,
1504,
221,
6565,
51,
23715,
1061,
45,
436,
12270,
312,
1504,
221,
6565,
51,
489,
30831,
45,
1021,
1811,
93,
312,
1504,
221,
3231,
1201,
51,
390,
3554,
2739,
1201,
1095,
3786,
6303,
3231,
941,
2882,
45,
6565,
312,
3177,
1504,
221,
620,
762,
64,
1397,
221,
1933,
1397,
221,
2986,
64,
596,
221,
130,
2385,
327,
11400,
20111,
4645,
1002,
503,
46,
320,
1397,
221,
344,
327,
4089,
51,
39736,
1177,
4101,
51,
2824,
459,
1198,
3520,
35732,
2443,
14117,
63,
3021,
503,
312,
14121,
221,
344,
1849,
110,
494,
244,
54,
46,
350,
1330,
22046,
1747,
51,
2015,
100,
3470,
100,
38863,
46,
320,
1504,
221,
608,
22046,
1747,
51,
1219,
6494,
492,
1397,
221,
130,
832,
320,
1504,
221,
344,
327,
4089,
51,
39736,
1177,
4101,
51,
2824,
459,
1198,
16814,
2703,
2172,
20154,
13700,
1330,
22046,
1747,
51,
2015,
100,
3470,
100,
38863,
312,
1504,
221,
5267,
503,
64,
1397,
221,
130,
596,
221,
130,
621,
221,
130,
6828,
9186,
621,
221,
1021,
1811,
299,
1153,
724,
64,
621,
221,
1021,
724,
299,
1153,
724,
51,
5447,
45,
54,
49,
1902,
25834,
3024,
51,
39849,
312,
374,
221,
130,
376,
221,
130,
1332,
221,
6561,
3455,
51,
489,
11060,
45,
1527,
312,
376,
221,
127,
2654,
299,
6148,
3455,
51,
4540,
1181,
1535,
46,
984,
320,
45062,
221,
620,
11680,
7114,
17885,
45,
2192,
49,
14205,
1201,
51,
390,
3554,
1201,
1095,
3786,
7367,
3231,
941,
1828,
3283,
30831,
1052,
376,
221,
1933,
376,
221,
429,
362,
299,
1308,
2654,
51,
390,
6303,
38335,
365,
449,
244,
54,
64,
376,
221,
127,
2654,
5837,
299,
1308,
2654,
51,
15181,
11964,
45,
105,
312,
376,
221,
325,
5276,
2308,
5839,
8072,
376,
221,
6561,
3455,
51,
489,
11060,
45,
1886,
312,
376,
221,
999,
327,
3554,
1201,
364,
518,
6694,
46,
320,
374,
221,
1021,
1811,
299,
1308,
2654,
5837,
51,
471,
22154,
492,
374,
221,
1021,
724,
299,
1308,
2654,
5837,
51,
5447,
34024,
45,
54,
566,
471,
22154,
492,
374,
221,
344,
327,
4089,
51,
316,
4804,
4006,
1177,
621,
221,
4089,
51,
5736,
459,
244,
19081,
17722,
456,
2733,
17253,
13077,
364,
51,
5175,
1052,
374,
221,
5544,
327,
1021,
1811,
51,
316,
5670,
45,
2192,
509,
320,
621,
221,
3242,
26696,
1153,
1811,
93,
299,
1153,
1811,
64,
621,
221,
3242,
26696,
1153,
724,
93,
299,
1153,
724,
64,
621,
221,
999,
327,
429,
613,
299,
244,
53,
64,
613,
350,
1330,
22046,
1747,
51,
2015,
100,
3470,
100,
38863,
64,
613,
2002,
320,
596,
221,
1287,
320,
1397,
221,
6561,
3455,
51,
4540,
1181,
1535,
46,
984,
320,
221,
1504,
221,
429,
2409,
1405,
299,
640,
1201,
1095,
1552,
45,
1021,
1811,
93,
49,
1153,
724,
93,
49,
364,
51,
7068,
1046,
878,
312,
1504,
221,
429,
2409,
3228,
299,
640,
1201,
1095,
1552,
45,
1021,
1811,
93,
49,
1153,
724,
93,
49,
364,
51,
7068,
1046,
920,
312,
1504,
221,
2640,
992,
12270,
299,
327,
1016,
1405,
494,
2409,
3228,
46,
630,
244,
53,
1037,
244,
53,
51,
53,
518,
244,
54,
53,
53,
51,
53,
338,
2409,
1405,
536,
327,
1016,
1405,
494,
2409,
3228,
312,
22875,
221,
3554,
1201,
1095,
3786,
7367,
13844,
64,
1504,
221,
1287,
320,
2904,
221,
6565,
299,
14205,
1201,
51,
390,
3554,
1201,
1095,
3786,
7367,
3231,
941,
20202,
4861,
16149,
45,
1021,
1811,
93,
49,
1153,
724,
93,
49,
364,
51,
7068,
4269,
390,
45,
53,
312,
1504,
221,
130,
2385,
327,
1301,
35787,
557,
46,
320,
2904,
221,
6565,
299,
556,
5913,
1201,
1095,
3786,
7367,
492,
1504,
221,
130,
1504,
221,
6565,
51,
489,
3554,
1201,
625,
45,
114,
51,
7068,
1052,
1504,
221,
6565,
51,
23715,
1061,
45,
436,
12270,
312,
1504,
221,
6565,
51,
489,
30831,
45,
1021,
1811,
93,
312,
1504,
221,
3231,
1201,
51,
390,
3554,
1201,
1095,
3786,
7367,
3231,
941,
2882,
45,
6565,
312,
313,
1504,
221,
620,
762,
64,
1397,
221,
1933,
1397,
221,
2986,
64,
596,
221,
130,
2385,
327,
11400,
20111,
4645,
1002,
503,
46,
320,
1397,
221,
344,
327,
4089,
51,
39736,
1177,
4101,
51,
2824,
459,
1198,
3520,
35732,
2443,
14117,
63,
3021,
503,
312,
14121,
221,
344,
1849,
110,
494,
244,
54,
46,
350,
1330,
22046,
1747,
51,
2015,
100,
3470,
100,
38863,
46,
320,
1504,
221,
608,
22046,
1747,
51,
1219,
6494,
492,
1397,
221,
130,
832,
320,
1504,
221,
344,
327,
4089,
51,
39736,
1177,
4101,
51,
2824,
459,
1198,
16814,
2703,
2172,
20154,
13700,
1330,
22046,
1747,
51,
2015,
100,
3470,
100,
38863,
312,
1504,
221,
5267,
503,
64,
1397,
221,
130,
596,
221,
130,
621,
221,
130,
6828,
9186,
621,
221,
127,
2654,
299,
2538,
36072,
51,
1048,
22154,
45,
1021,
1811,
49,
24109,
625,
51,
1048,
459,
15680,
2992,
621,
221,
1021,
1811,
299,
1308,
2654,
51,
5447,
34024,
45,
54,
566,
471,
22154,
492,
621,
221,
127,
2654,
299,
2538,
36072,
51,
1048,
22154,
45,
1021,
1811,
49,
24109,
625,
51,
1048,
459,
15680,
2992,
621,
221,
1021,
724,
299,
1308,
2654,
51,
5447,
34024,
45,
54,
566,
471,
22154,
492,
374,
221,
130,
376,
221,
130,
376,
221,
6561,
3455,
51,
489,
11060,
45,
1527,
312,
376,
221,
127,
2654,
299,
6148,
3455,
51,
4540,
1181,
1535,
46,
984,
320,
3177,
376,
221,
620,
11680,
7114,
17885,
45,
2192,
49,
14205,
1201,
51,
390,
3554,
2739,
1201,
1095,
3786,
7367,
3231,
941,
1828,
3283,
30831,
1052,
376,
221,
1933,
376,
221,
105,
299,
1308,
2654,
51,
390,
6303,
38335,
365,
449,
244,
54,
64,
376,
221,
127,
2654,
5837,
299,
1308,
2654,
51,
15181,
11964,
45,
105,
312,
376,
221,
325,
5276,
2308,
5839,
8072,
376,
221,
6561,
3455,
51,
489,
11060,
45,
1886,
312,
376,
221,
999,
327,
3554,
2739,
1201,
364,
518,
1467,
5466,
46,
320,
374,
221,
1021,
1811,
299,
1308,
2654,
5837,
51,
471,
22154,
492,
374,
221,
1021,
724,
299,
1308,
2654,
5837,
51,
5447,
34024,
45,
54,
566,
471,
22154,
492,
374,
221,
344,
327,
4089,
51,
316,
4804,
4006,
1177,
621,
221,
4089,
51,
5736,
459,
244,
19081,
17722,
456,
6596,
2733,
17253,
13077,
364,
51,
5175,
1052,
374,
221,
5544,
327,
1021,
1811,
51,
316,
5670,
45,
2192,
509,
320,
621,
221,
3242,
26696,
1153,
1811,
93,
299,
1153,
1811,
64,
621,
221,
3242,
26696,
1153,
724,
93,
299,
1153,
724,
64,
621,
221,
999,
327,
429,
613,
299,
244,
53,
64,
613,
350,
1330,
22046,
1747,
51,
2015,
100,
3470,
100,
38863,
64,
613,
2002,
320,
596,
221,
1287,
320,
1397,
221,
6561,
3455,
51,
4540,
1181,
1535,
46,
984,
320,
221,
1504,
221,
429,
2409,
1405,
299,
640,
2739,
1201,
1095,
1552,
45,
1021,
1811,
93,
49,
1153,
724,
93,
49,
364,
51,
7068,
1046,
878,
312,
1504,
221,
429,
2409,
3228,
299,
640,
2739,
1201,
1095,
1552,
45,
1021,
1811,
93,
49,
1153,
724,
93,
49,
364,
51,
7068,
1046,
920,
312,
1504,
221,
2640,
992,
12270,
299,
327,
1016,
1405,
494,
2409,
3228,
46,
630,
244,
53,
1037,
244,
53,
51,
53,
518,
244,
54,
53,
53,
51,
53,
338,
2409,
1405,
536,
327,
1016,
1405,
494,
2409,
3228,
312,
22875,
221,
3554,
2739,
1201,
1095,
3786,
7367,
13844,
64,
1504,
221,
1287,
320,
2904,
221,
6565,
299,
14205,
1201,
51,
390,
3554,
2739,
1201,
1095,
3786,
7367,
3231,
941,
20202,
4861,
16149,
45,
1021,
1811,
93,
49,
1153,
724,
93,
49,
364,
51,
7068,
4269,
390,
45,
53,
312,
1504,
221,
130,
2385,
327,
1301,
35787,
557,
46,
320,
2904,
221,
6565,
299,
556,
5913,
2739,
1201,
1095,
3786,
7367,
492,
1504,
221,
130,
1504,
221,
6565,
51,
489,
3554,
2739,
1201,
625,
45,
114,
51,
7068,
1052,
1504,
221,
6565,
51,
23715,
1061,
45,
436,
12270,
312,
1504,
221,
6565,
51,
489,
30831,
45,
1021,
1811,
93,
312,
1504,
221,
3231,
1201,
51,
390,
3554,
2739,
1201,
1095,
3786,
7367,
3231,
941,
2882,
45,
6565,
312,
221,
1504,
221,
620,
762,
64,
1397,
221,
1933,
1397,
221,
2986,
64,
596,
221,
130,
2385,
327,
11400,
20111,
4645,
1002,
503,
46,
320,
1397,
221,
344,
327,
4089,
51,
39736,
1177,
4101,
51,
2824,
459,
1198,
3520,
35732,
2443,
14117,
63,
3021,
503,
312,
14121,
221,
344,
1849,
110,
494,
244,
54,
46,
350,
1330,
22046,
1747,
51,
2015,
100,
3470,
100,
38863,
46,
320,
1504,
221,
608,
22046,
1747,
51,
1219,
6494,
492,
1397,
221,
130,
832,
320,
1504,
221,
344,
327,
4089,
51,
39736,
1177,
4101,
51,
2824,
459,
1198,
16814,
2703,
2172,
20154,
13700,
1330,
22046,
1747,
51,
2015,
100,
3470,
100,
38863,
312,
1504,
221,
5267,
503,
64,
1397,
221,
130,
596,
221,
130,
621,
221,
130,
6828,
9186,
621,
221,
127,
2654,
299,
2538,
36072,
51,
1048,
22154,
45,
1021,
1811,
49,
24109,
625,
51,
1048,
459,
15680,
2992,
621,
221,
1021,
1811,
299,
1308,
2654,
51,
5447,
34024,
45,
54,
566,
471,
22154,
492,
621,
221,
127,
2654,
299,
2538,
36072,
51,
1048,
22154,
45,
1021,
1811,
49,
24109,
625,
51,
1048,
459,
15680,
2992,
621,
221,
1021,
724,
299,
1308,
2654,
51,
5447,
34024,
45,
54,
566,
471,
22154,
492,
374,
221,
130,
376,
221,
130,
222,
221,
130,
499,
221,
2072,
648,
640,
1201,
1095,
1552,
45,
22154,
664,
49,
26696,
391,
49,
1964,
2733,
625,
49,
5080,
992,
46,
320,
376,
221,
429,
2409,
299,
244,
53,
64,
376,
221,
671,
5576,
671,
299,
762,
64,
376,
221,
2622,
671,
299,
332,
4635,
2409,
20431,
3767,
3797,
100,
2140,
100,
1311,
100,
7440,
362,
5007,
332,
621,
221,
48,
332,
105,
51,
1231,
100,
2140,
100,
333,
299,
332,
494,
2733,
625,
494,
332,
480,
7216,
376,
221,
344,
327,
436,
46,
320,
374,
221,
2622,
671,
1475,
332,
105,
51,
1231,
100,
2140,
100,
1311,
100,
333,
299,
332,
494,
5913,
1201,
10982,
51,
34339,
100,
798,
494,
332,
480,
7216,
376,
221,
130,
832,
320,
374,
221,
2622,
671,
1475,
332,
105,
51,
1231,
100,
2140,
100,
1311,
100,
333,
9477,
332,
494,
5913,
1201,
10982,
51,
34339,
100,
798,
494,
332,
480,
7216,
376,
221,
130,
376,
221,
2622,
671,
1475,
332,
105,
51,
6703,
2394,
6121,
494,
664,
51,
3127,
365,
494,
5343,
480,
362,
51,
6703,
350,
6121,
494,
391,
51,
3127,
365,
494,
5343,
884,
376,
221,
3242,
6662,
2487,
299,
2667,
51,
1315,
6137,
1643,
45,
2622,
671,
312,
376,
221,
4331,
3455,
6148,
3455,
299,
556,
11726,
3455,
45,
1500,
1590,
312,
376,
221,
6561,
3455,
51,
489,
25291,
2671,
45,
4331,
3385,
51,
1309,
1767,
2909,
100,
34742,
2164,
100,
4423,
312,
376,
221,
6561,
3455,
51,
489,
11060,
45,
1527,
312,
376,
221,
976,
1074,
299,
6148,
3455,
51,
4540,
1181,
1535,
46,
984,
320,
45062,
221,
620,
2487,
51,
390,
6284,
1413,
492,
376,
221,
1933,
376,
221,
344,
327,
1285,
882,
762,
979,
1074,
5118,
21721,
46,
320,
374,
221,
1016,
299,
1849,
21520,
46,
1285,
566,
22777,
492,
376,
221,
130,
376,
221,
620,
2409,
64,
222,
221,
130,
499,
221,
2072,
648,
640,
2739,
1201,
1095,
1552,
45,
22154,
664,
49,
26696,
391,
49,
1964,
2733,
625,
49,
5080,
992,
46,
320,
376,
221,
429,
2409,
299,
244,
53,
64,
376,
221,
671,
5576,
671,
299,
762,
64,
376,
221,
2622,
671,
299,
332,
4635,
2409,
20431,
3767,
3797,
100,
426,
100,
2140,
100,
1311,
100,
7440,
362,
5007,
332,
621,
221,
48,
332,
105,
51,
1231,
100,
426,
100,
2140,
100,
333,
299,
332,
494,
2733,
625,
494,
332,
480,
7216,
376,
221,
344,
327,
436,
46,
320,
374,
221,
2622,
671,
1475,
332,
105,
51,
1231,
100,
2140,
100,
1311,
100,
333,
299,
332,
494,
5913,
1201,
10982,
51,
34339,
100,
798,
494,
332,
480,
7216,
376,
221,
130,
832,
320,
374,
221,
2622,
671,
1475,
332,
105,
51,
1231,
100,
2140,
100,
1311,
100,
333,
9477,
332,
494,
5913,
1201,
10982,
51,
34339,
100,
798,
494,
332,
480,
7216,
376,
221,
130,
376,
221,
2622,
671,
1475,
332,
105,
51,
6703,
2394,
6121,
494,
664,
51,
3127,
365,
494,
5343,
480,
362,
51,
6703,
350,
6121,
494,
391,
51,
3127,
365,
494,
5343,
884,
376,
221,
1643,
2487,
299,
2667,
51,
1315,
6137,
1643,
45,
2622,
671,
312,
376,
221,
4331,
3455,
6148,
3455,
299,
556,
11726,
3455,
45,
1500,
1590,
312,
376,
221,
6561,
3455,
51,
489,
25291,
2671,
45,
4331,
3385,
51,
1309,
1767,
2909,
100,
34742,
2164,
100,
4423,
312,
376,
221,
6561,
3455,
51,
489,
11060,
45,
1527,
312,
376,
221,
976,
1074,
299,
6148,
3455,
51,
4540,
1181,
1535,
46,
984,
320,
45062,
221,
620,
2487,
51,
390,
6284,
1413,
492,
376,
221,
1933,
376,
221,
344,
327,
1285,
882,
762,
979,
1074,
5118,
21721,
46,
320,
374,
221,
1016,
299,
1849,
21520,
46,
1285,
566,
22777,
492,
376,
221,
130,
376,
221,
620,
2409,
64,
222,
221,
130,
499,
221,
2072,
2538,
36072,
11680,
7114,
17885,
45,
22154,
2483,
49,
26696,
2419,
2717,
30831,
46,
320,
376,
221,
22154,
1153,
1811,
299,
762,
64,
21997,
221,
344,
327,
2153,
2717,
30831,
630,
244,
762,
46,
320,
374,
221,
325,
1307,
3429,
2448,
49,
4258,
840,
2483,
51,
374,
221,
1021,
1811,
299,
2483,
51,
378,
13244,
724,
45,
846,
25834,
3024,
51,
39849,
312,
374,
221,
344,
327,
1180,
51,
390,
26272,
2148,
365,
882,
762,
46,
320,
621,
221,
1287,
320,
596,
221,
1021,
1811,
299,
26696,
51,
2228,
45,
1180,
51,
390,
26272,
2148,
4269,
378,
13244,
724,
45,
846,
25834,
3024,
51,
39849,
312,
621,
221,
130,
2385,
327,
4861,
26004,
557,
46,
320,
596,
221,
4089,
51,
769,
45,
8538,
1193,
51,
1484,
24137,
744,
100,
6196,
100,
5986,
49,
1377,
51,
390,
26272,
2148,
1052,
621,
221,
130,
374,
221,
130,
4517,
221,
130,
832,
320,
374,
221,
1021,
1811,
299,
2419,
2717,
30831,
51,
378,
13244,
724,
45,
846,
25834,
3024,
51,
39849,
312,
376,
221,
130,
376,
221,
95,
36072,
1308,
2654,
299,
2538,
36072,
51,
1048,
22154,
45,
1021,
1811,
49,
24109,
625,
51,
1048,
459,
15680,
2992,
376,
221,
620,
1308,
2654,
64,
222,
221,
130,
465,
1041,
294,
338,
4807,
341,
9315,
3682,
294,
588,
221,
303,
581,
782,
1441,
365,
320,
294,
221,
3967,
4483,
299,
327,
3239,
46,
244,
54,
53,
53,
53,
53,
53,
64,
294,
221,
1287,
320,
10578,
221,
344,
327,
1180,
51,
25419,
26272,
16113,
365,
882,
762,
46,
320,
18545,
221,
1702,
299,
1377,
51,
25419,
26272,
16113,
492,
10578,
221,
130,
294,
221,
130,
2385,
327,
1936,
25931,
503,
46,
320,
10578,
221,
1702,
299,
327,
3239,
46,
244,
54,
53,
53,
53,
53,
53,
64,
294,
221,
130,
294,
221,
5544,
1445,
597,
51,
316,
1662,
12830,
1177,
320,
10578,
221,
325,
2803,
456,
4012,
6691,
391,
1441,
10578,
221,
1287,
320,
18545,
221,
597,
51,
1571,
3554,
1201,
26272,
492,
10578,
221,
130,
2385,
327,
2042,
1413,
1002,
503,
46,
320,
18545,
221,
4089,
51,
769,
45,
8633,
1193,
51,
19077,
100,
737,
26297,
1363,
49,
106,
312,
10578,
221,
130,
2385,
327,
25894,
503,
46,
320,
18545,
221,
4089,
51,
769,
45,
8633,
1193,
51,
19077,
100,
737,
26297,
1363,
49,
106,
312,
10578,
221,
130,
2385,
327,
4331,
1002,
503,
46,
320,
18545,
221,
4089,
51,
769,
45,
8633,
1193,
51,
19077,
100,
737,
26297,
1363,
49,
106,
312,
10578,
221,
130,
2385,
327,
19296,
503,
46,
320,
18545,
221,
4089,
51,
769,
45,
8633,
1193,
51,
19077,
100,
737,
26297,
1363,
49,
106,
312,
10578,
221,
130,
10578,
221,
1287,
320,
18545,
221,
7860,
45,
1702,
312,
10578,
221,
130,
10578,
221,
5639,
45,
28321,
503,
46,
320,
18545,
221,
597,
51,
15334,
492,
10578,
221,
130,
294,
221,
130,
303,
339,
283,
222,
130
] |
[
[
1,
1,
1,
1,
1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restcomm/javax/media/mscontrol/mediagroup/PlayerRecorderSignalDetectorConfig.java
|
/*
* TeleStax, Open Source Cloud Communications
* Copyright 2011-2017, Telestax Inc and individual contributors
* by the @authors tag.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1 of
* the License, or (at your option) any later version.
*
* This software is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
* You should have received a copy of the GNU Lesser General Public
* License along with this software; if not, write to the Free
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
*/
package org.restcomm.javax.media.mscontrol.mediagroup;
import java.util.HashSet;
import java.util.Set;
import javax.media.mscontrol.Configuration;
import javax.media.mscontrol.EventType;
import javax.media.mscontrol.MediaConfig;
import javax.media.mscontrol.MediaObject;
import javax.media.mscontrol.Parameter;
import javax.media.mscontrol.Parameters;
import javax.media.mscontrol.Qualifier;
import javax.media.mscontrol.Value;
import javax.media.mscontrol.mediagroup.Player;
import javax.media.mscontrol.mediagroup.PlayerEvent;
import javax.media.mscontrol.mediagroup.Recorder;
import javax.media.mscontrol.mediagroup.RecorderEvent;
import javax.media.mscontrol.mediagroup.signals.SignalDetector;
import javax.media.mscontrol.mediagroup.signals.SignalDetectorEvent;
import javax.media.mscontrol.resource.Action;
import javax.media.mscontrol.resource.Trigger;
import org.restcomm.javax.media.mscontrol.MediaConfigImpl;
import org.restcomm.javax.media.mscontrol.MediaObjectImpl;
import org.restcomm.javax.media.mscontrol.ParametersImpl;
import org.restcomm.javax.media.mscontrol.SupportedFeaturesImpl;
/**
*
* @author kulikov
*/
public class PlayerRecorderSignalDetectorConfig implements Configuration {
private MediaConfigImpl config;
private Parameters params = new ParametersImpl();
public PlayerRecorderSignalDetectorConfig() {
//specify parameters
Set<Parameter> parameters = new HashSet();
parameters.add(MediaObject.MEDIAOBJECT_ID);
parameters.add(Player.BEHAVIOUR_IF_BUSY);
parameters.add(Player.MAX_DURATION);
parameters.add(Player.INTERVAL);
parameters.add(Player.REPEAT_COUNT);
parameters.add(Player.START_OFFSET);
parameters.add(SignalDetector.INITIAL_TIMEOUT);
parameters.add(SignalDetector.MAX_DURATION);
parameters.add(SignalDetector.INTER_SIG_TIMEOUT);
for (Parameter p : SignalDetector.PATTERN) {
parameters.add(p);
}
parameters.add(Recorder.MAX_DURATION);
parameters.add(Recorder.START_BEEP);
//specify event types
Set<EventType> eventTypes = new HashSet();
eventTypes.add(PlayerEvent.PAUSED);
eventTypes.add(PlayerEvent.PLAY_COMPLETED);
eventTypes.add(PlayerEvent.RESUMED);
eventTypes.add(PlayerEvent.SPEED_CHANGED);
eventTypes.add(PlayerEvent.VOLUME_CHANGED);
eventTypes.add(SignalDetectorEvent.OVERFLOWED);
eventTypes.add(SignalDetectorEvent.RECEIVE_SIGNALS_COMPLETED);
eventTypes.add(SignalDetectorEvent.SIGNAL_DETECTED);
for (EventType e : SignalDetectorEvent.PATTERN_MATCHED) {
eventTypes.add(e);
}
eventTypes.add(RecorderEvent.PAUSED);
eventTypes.add(RecorderEvent.RECORD_COMPLETED);
eventTypes.add(RecorderEvent.RESUMED);
eventTypes.add(RecorderEvent.STARTED);
//Define actions
Set<Action> actions = new HashSet();
//Define qualifiers
Set<Qualifier> qualifiers = new HashSet();
qualifiers.add(PlayerEvent.DURATION_EXCEEDED);
qualifiers.add(PlayerEvent.END_OF_PLAY_LIST);
qualifiers.add(SignalDetectorEvent.DURATION_EXCEEDED);
qualifiers.add(SignalDetectorEvent.INITIAL_TIMEOUT_EXCEEDED);
qualifiers.add(SignalDetectorEvent.INTER_SIG_TIMEOUT_EXCEEDED);
qualifiers.add(SignalDetectorEvent.NUM_SIGNALS_DETECTED);
for (Qualifier q : SignalDetectorEvent.PATTERN_MATCHING) {
qualifiers.add(q);
}
qualifiers.add(SignalDetectorEvent.PROMPT_FAILURE);
qualifiers.add(RecorderEvent.DURATION_EXCEEDED);
qualifiers.add(RecorderEvent.END_OF_SPEECH_DETECTED);
//Define triggers
Set<Trigger> triggers = new HashSet();
triggers.add(SignalDetector.DETECTION_OF_ONE_SIGNAL);
triggers.add(SignalDetector.FLUSHING_OF_BUFFER);
for (Trigger t : SignalDetector.PATTERN_MATCH) {
triggers.add(t);
}
triggers.add(SignalDetector.RECEIVE_SIGNALS_COMPLETION);
//Define values
Set<Value> values = new HashSet();
values.add(Player.FAIL_IF_BUSY);
values.add(Player.QUEUE_IF_BUSY);
values.add(Player.STOP_IF_BUSY);
values.add(Recorder.DETECTOR_INACTIVE);
values.add(Recorder.DETECT_ALL_OCCURRENCES);
values.add(Recorder.DETECT_FIRST_OCCURRENCE);
params.put(MediaObjectImpl.ENDPOINT_NAME, "mobicents/ivr/$");
SupportedFeaturesImpl features = new SupportedFeaturesImpl(parameters, actions, eventTypes, qualifiers, triggers, values);
config = new MediaConfigImpl(features, params);
}
public MediaConfig getConfig() {
return config;
}
}
| 5,719
|
Java
|
.java
|
RestComm/media-core
| 159
| 122
| 175
|
2012-08-17T17:45:39Z
|
2024-01-09T14:52:11Z
|
982f39fd018f1ce9faf81d355e438ce270c414b1bf19eaee3c737f1cb47023db
|
[
1127,
222,
338,
22493,
520,
668,
49,
3944,
6391,
7594,
2780,
31174,
222,
338,
2657,
244,
55,
53,
54,
54,
50,
55,
53,
54,
60,
49,
22493,
289,
668,
6367,
480,
10139,
13356,
222,
338,
829,
341,
496,
17589,
2621,
51,
1676,
338,
5357,
338,
1369,
458,
3760,
2951,
64,
863,
902,
14081,
580,
480,
52,
290,
5370,
580,
222,
338,
1549,
341,
5974,
451,
341,
6994,
16227,
6153,
5062,
1196,
641,
222,
338,
9582,
829,
341,
7834,
3870,
7120,
64,
3173,
1522,
244,
55,
51,
54,
451,
222,
338,
341,
1196,
49,
575,
327,
288,
1390,
2489,
46,
1364,
6146,
1522,
51,
222,
338,
5357,
338,
1369,
2951,
458,
2744,
347,
341,
9850,
708,
580,
1118,
545,
6386,
49,
222,
338,
1294,
4213,
2979,
9345,
64,
2895,
4462,
341,
4506,
14319,
451,
222,
338,
7934,
575,
8114,
4800,
418,
7848,
7763,
51,
2819,
341,
6994,
222,
338,
16227,
6153,
5062,
1196,
456,
1851,
4261,
51,
222,
338,
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
16227,
6153,
5062,
222,
338,
1196,
7979,
642,
477,
2951,
64,
434,
666,
49,
2886,
391,
341,
7834,
222,
338,
3870,
7120,
49,
6367,
4345,
244,
58,
54,
34113,
1277,
49,
33316,
26912,
49,
25006,
49,
13083,
222,
338,
244,
53,
55,
54,
54,
53,
50,
54,
56,
53,
54,
15067,
49,
575,
2337,
341,
525,
12084,
4769,
63,
1930,
574,
1516,
51,
2569,
107,
51,
1107,
51,
222,
1975,
222,
1337,
1105,
51,
4756,
4870,
51,
10775,
51,
3453,
51,
35268,
406,
1214,
51,
3996,
500,
841,
64,
222,
222,
485,
1401,
51,
1058,
51,
17163,
64,
222,
485,
1401,
51,
1058,
51,
903,
64,
222,
485,
3698,
51,
3453,
51,
35268,
406,
1214,
51,
2339,
64,
222,
485,
3698,
51,
3453,
51,
35268,
406,
1214,
51,
15241,
64,
222,
485,
3698,
51,
3453,
51,
35268,
406,
1214,
51,
5003,
1081,
64,
222,
485,
3698,
51,
3453,
51,
35268,
406,
1214,
51,
5003,
976,
64,
222,
485,
3698,
51,
3453,
51,
35268,
406,
1214,
51,
3026,
64,
222,
485,
3698,
51,
3453,
51,
35268,
406,
1214,
51,
3694,
64,
222,
485,
3698,
51,
3453,
51,
35268,
406,
1214,
51,
24381,
64,
222,
485,
3698,
51,
3453,
51,
35268,
406,
1214,
51,
899,
64,
222,
485,
3698,
51,
3453,
51,
35268,
406,
1214,
51,
3996,
500,
841,
51,
3516,
64,
222,
485,
3698,
51,
3453,
51,
35268,
406,
1214,
51,
3996,
500,
841,
51,
3516,
1167,
64,
222,
485,
3698,
51,
3453,
51,
35268,
406,
1214,
51,
3996,
500,
841,
51,
17279,
64,
222,
485,
3698,
51,
3453,
51,
35268,
406,
1214,
51,
3996,
500,
841,
51,
17279,
1167,
64,
222,
485,
3698,
51,
3453,
51,
35268,
406,
1214,
51,
3996,
500,
841,
51,
28744,
51,
10765,
14334,
64,
222,
485,
3698,
51,
3453,
51,
35268,
406,
1214,
51,
3996,
500,
841,
51,
28744,
51,
10765,
14334,
1167,
64,
222,
485,
3698,
51,
3453,
51,
35268,
406,
1214,
51,
3157,
51,
1728,
64,
222,
485,
3698,
51,
3453,
51,
35268,
406,
1214,
51,
3157,
51,
7903,
64,
222,
222,
485,
1105,
51,
4756,
4870,
51,
10775,
51,
3453,
51,
35268,
406,
1214,
51,
5003,
1081,
3499,
64,
222,
485,
1105,
51,
4756,
4870,
51,
10775,
51,
3453,
51,
35268,
406,
1214,
51,
5003,
976,
3499,
64,
222,
485,
1105,
51,
4756,
4870,
51,
10775,
51,
3453,
51,
35268,
406,
1214,
51,
3694,
3499,
64,
222,
485,
1105,
51,
4756,
4870,
51,
10775,
51,
3453,
51,
35268,
406,
1214,
51,
10330,
9566,
3499,
64,
222,
222,
1350,
222,
338,
222,
338,
496,
2133,
851,
357,
1567,
1558,
222,
588,
222,
942,
462,
9306,
17279,
10765,
14334,
1081,
4584,
8149,
320,
2205,
964,
9826,
1081,
3499,
1377,
64,
303,
964,
8377,
2822,
299,
556,
8377,
3499,
492,
2205,
581,
9306,
17279,
10765,
14334,
1081,
365,
320,
310,
453,
38446,
3406,
310,
1776,
65,
3026,
67,
3406,
299,
556,
14253,
492,
310,
3406,
51,
688,
45,
5003,
976,
51,
21484,
8469,
100,
798,
312,
310,
3406,
51,
688,
45,
3516,
51,
4671,
45640,
2354,
1282,
100,
2971,
100,
41832,
312,
310,
3406,
51,
688,
45,
3516,
51,
3470,
100,
33474,
312,
310,
3406,
51,
688,
45,
3516,
51,
22863,
312,
310,
3406,
51,
688,
45,
3516,
51,
34742,
100,
7516,
312,
310,
3406,
51,
688,
45,
3516,
51,
7393,
100,
10153,
312,
310,
3406,
51,
688,
45,
10765,
14334,
51,
17542,
100,
14232,
312,
310,
3406,
51,
688,
45,
10765,
14334,
51,
3470,
100,
33474,
312,
310,
3406,
51,
688,
45,
10765,
14334,
51,
5464,
100,
14837,
100,
14232,
312,
310,
456,
327,
3026,
317,
518,
19549,
14334,
51,
21598,
46,
320,
343,
3406,
51,
688,
45,
117,
312,
310,
339,
310,
3406,
51,
688,
45,
17279,
51,
3470,
100,
33474,
312,
310,
3406,
51,
688,
45,
17279,
51,
7393,
100,
71,
4171,
85,
312,
2776,
453,
38446,
1708,
3756,
310,
1776,
65,
15241,
67,
1708,
2439,
299,
556,
14253,
492,
310,
1708,
2439,
51,
688,
45,
3516,
1167,
51,
9614,
9211,
312,
310,
1708,
2439,
51,
688,
45,
3516,
1167,
51,
10000,
100,
42510,
312,
310,
1708,
2439,
51,
688,
45,
3516,
1167,
51,
632,
4531,
14264,
312,
310,
1708,
2439,
51,
688,
45,
3516,
1167,
51,
22808,
100,
27702,
312,
310,
1708,
2439,
51,
688,
45,
3516,
1167,
51,
33580,
100,
27702,
312,
310,
1708,
2439,
51,
688,
45,
10765,
14334,
1167,
51,
9425,
18137,
1363,
312,
310,
1708,
2439,
51,
688,
45,
10765,
14334,
1167,
51,
48991,
100,
27840,
88,
100,
42510,
312,
310,
1708,
2439,
51,
688,
45,
10765,
14334,
1167,
51,
27840,
100,
46760,
1363,
312,
310,
456,
327,
15241,
503,
518,
19549,
14334,
1167,
51,
21598,
100,
15896,
1363,
46,
320,
343,
1708,
2439,
51,
688,
45,
106,
312,
310,
339,
310,
1708,
2439,
51,
688,
45,
17279,
1167,
51,
9614,
9211,
312,
310,
1708,
2439,
51,
688,
45,
17279,
1167,
51,
23595,
100,
42510,
312,
310,
1708,
2439,
51,
688,
45,
17279,
1167,
51,
632,
4531,
14264,
312,
310,
1708,
2439,
51,
688,
45,
17279,
1167,
51,
43965,
312,
2776,
453,
19097,
6905,
310,
1776,
65,
1728,
67,
6905,
299,
556,
14253,
492,
2776,
453,
19097,
7208,
6684,
310,
1776,
65,
24381,
67,
7208,
6684,
299,
556,
14253,
492,
310,
7208,
6684,
51,
688,
45,
3516,
1167,
51,
33474,
100,
1478,
1973,
28617,
312,
310,
7208,
6684,
51,
688,
45,
3516,
1167,
51,
3298,
100,
2124,
100,
10000,
100,
4625,
312,
310,
7208,
6684,
51,
688,
45,
10765,
14334,
1167,
51,
33474,
100,
1478,
1973,
28617,
312,
310,
7208,
6684,
51,
688,
45,
10765,
14334,
1167,
51,
17542,
100,
14232,
100,
1478,
1973,
28617,
312,
310,
7208,
6684,
51,
688,
45,
10765,
14334,
1167,
51,
5464,
100,
14837,
100,
14232,
100,
1478,
1973,
28617,
312,
310,
7208,
6684,
51,
688,
45,
10765,
14334,
1167,
51,
5511,
100,
27840,
88,
100,
46760,
1363,
312,
310,
456,
327,
24381,
2706,
518,
19549,
14334,
1167,
51,
21598,
100,
15896,
1410,
46,
320,
343,
7208,
6684,
51,
688,
45,
118,
312,
310,
339,
310,
7208,
6684,
51,
688,
45,
10765,
14334,
1167,
51,
46955,
100,
13307,
312,
310,
7208,
6684,
51,
688,
45,
17279,
1167,
51,
33474,
100,
1478,
1973,
28617,
312,
310,
7208,
6684,
51,
688,
45,
17279,
1167,
51,
3298,
100,
2124,
100,
8908,
74,
1424,
100,
46760,
1363,
312,
2776,
453,
19097,
21616,
310,
1776,
65,
7903,
67,
21616,
299,
556,
14253,
492,
310,
21616,
51,
688,
45,
10765,
14334,
51,
869,
1731,
2682,
100,
2124,
100,
4451,
100,
27840,
312,
310,
21616,
51,
688,
45,
10765,
14334,
51,
39010,
1410,
100,
2124,
100,
8455,
312,
310,
456,
327,
7903,
292,
518,
19549,
14334,
51,
21598,
100,
15896,
46,
320,
343,
21616,
51,
688,
45,
121,
312,
310,
339,
310,
21616,
51,
688,
45,
10765,
14334,
51,
48991,
100,
27840,
88,
100,
5772,
833,
5087,
312,
2776,
453,
19097,
2102,
310,
1776,
65,
899,
67,
2102,
299,
556,
14253,
492,
310,
2102,
51,
688,
45,
3516,
51,
8539,
100,
2971,
100,
41832,
312,
310,
2102,
51,
688,
45,
3516,
51,
18924,
100,
2971,
100,
41832,
312,
310,
2102,
51,
688,
45,
3516,
51,
15716,
100,
2971,
100,
41832,
312,
310,
2102,
51,
688,
45,
17279,
51,
869,
1731,
12824,
100,
540,
13028,
312,
310,
2102,
51,
688,
45,
17279,
51,
46760,
100,
2335,
100,
43748,
1282,
632,
6912,
959,
312,
310,
2102,
51,
688,
45,
17279,
51,
46760,
100,
16825,
100,
43748,
1282,
17026,
1973,
312,
2776,
2822,
51,
543,
45,
5003,
976,
3499,
51,
26426,
100,
2491,
49,
332,
6010,
314,
10753,
52,
407,
119,
9770,
742,
2776,
24533,
9566,
3499,
5423,
299,
556,
24533,
9566,
3499,
45,
5173,
49,
6905,
49,
1708,
2439,
49,
7208,
6684,
49,
21616,
49,
2102,
312,
310,
1377,
299,
556,
9826,
1081,
3499,
45,
5977,
49,
2822,
312,
303,
339,
2205,
581,
9826,
1081,
38441,
365,
320,
310,
461,
1377,
64,
303,
339,
222,
130,
222
] |
[
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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src/main/java/edu/jas/gbufd/GroebnerBasePartial.java
|
/*
* $Id$
*/
package edu.jas.gbufd;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import org.apache.logging.log4j.Logger;
import org.apache.logging.log4j.LogManager;
import edu.jas.gb.GroebnerBaseAbstract;
import edu.jas.gb.GroebnerBaseSeq;
import edu.jas.poly.GenPolynomial;
import edu.jas.poly.GenPolynomialRing;
import edu.jas.poly.OptimizedPolynomialList;
import edu.jas.poly.PolyUtil;
import edu.jas.poly.TermOrder;
import edu.jas.poly.TermOrderOptimization;
import edu.jas.structure.GcdRingElem;
import edu.jas.structure.RingFactory;
/**
* Partial Groebner Bases for subsets of variables. Let <code>pvars</code> be a
* subset of variables <code>vars</code> of the polynomial ring K[vars]. Methods
* compute Groebner bases with coefficients from K[vars \ pvars] in the
* polynomial ring K[vars \ pvars][pvars].
* @param <C> coefficient type
* @author Heinz Kredel
*/
public class GroebnerBasePartial<C extends GcdRingElem<C>> extends GroebnerBaseAbstract<C> {
private static final Logger logger = LogManager.getLogger(GroebnerBasePartial.class);
//private static final boolean debug = logger.isDebugEnabled();
/**
* Backing Groebner base engine.
*/
protected GroebnerBaseAbstract<C> bb;
/**
* Backing recursive Groebner base engine.
*/
protected GroebnerBaseAbstract<GenPolynomial<C>> rbb; // can be null
/**
* Constructor.
*/
public GroebnerBasePartial() {
this(new GroebnerBaseSeq<C>(), null);
}
/**
* Constructor.
* @param rf coefficient ring factory.
*/
public GroebnerBasePartial(RingFactory<GenPolynomial<C>> rf) {
this(new GroebnerBaseSeq<C>(), new GroebnerBasePseudoRecSeq<C>(rf));
}
/**
* Constructor.
* @param bb Groebner base engine
* @param rbb recursive Groebner base engine
*/
public GroebnerBasePartial(GroebnerBaseAbstract<C> bb, GroebnerBaseAbstract<GenPolynomial<C>> rbb) {
super();
this.bb = bb;
this.rbb = rbb;
//if (rbb == null) {
//logger.warn("no recursive GB given");
//}
}
/**
* Groebner base using pairlist class.
* @param modv module variable number.
* @param F polynomial list.
* @return GB(F) a Groebner base of F.
*/
public List<GenPolynomial<C>> GB(int modv, List<GenPolynomial<C>> F) {
return bb.GB(modv, F);
}
/**
* Groebner base test.
* @param F polynomial list.
* @return true, if F is a partial Groebner base, else false.
*/
public boolean isGBrec(List<GenPolynomial<GenPolynomial<C>>> F) {
return isGBrec(0, F);
}
/**
* Groebner base test.
* @param modv module variable number.
* @param F polynomial list.
* @return true, if F is a partial Groebner base, else false.
*/
public boolean isGBrec(int modv, List<GenPolynomial<GenPolynomial<C>>> F) {
if (F == null || F.isEmpty()) {
return true;
}
if (true) {
rbb = new GroebnerBasePseudoRecSeq<C>(F.get(0).ring.coFac);
}
return rbb.isGB(modv, F);
}
/**
* Partial permutation for specific variables. Computes a permutation perm
* for the variables vars, such that perm(vars) == pvars ... (vars \ pvars).
* Uses internal (reversed) variable sorting.
* @param vars names for all variables.
* @param pvars names for main variables, pvars subseteq vars.
* @return permutation for vars, such that perm(vars) == pvars ... (vars \
* pvars).
*/
public static List<Integer> partialPermutation(String[] vars, String[] pvars) {
return partialPermutation(vars, pvars, null);
//no: return getPermutation(vars,pvars);
}
/**
* Permutation of variables for elimination.
* @param aname variables for the full polynomial ring.
* @param ename variables for the elimination ring, subseteq aname.
* @return perm({vars \ ename},ename)
*/
public static List<Integer> getPermutation(String[] aname, String[] ename) {
if (aname == null || ename == null) {
throw new IllegalArgumentException("aname or ename may not be null");
}
List<Integer> perm = new ArrayList<Integer>(aname.length);
// add ename permutation
for (int i = 0; i < ename.length; i++) {
int j = indexOf(ename[i], aname);
if (j < 0) {
throw new IllegalArgumentException("ename not contained in aname");
}
perm.add(j);
}
//System.out.println("perm_low = " + perm);
// add aname \ ename permutation
for (int i = 0; i < aname.length; i++) {
if (!perm.contains(i)) {
perm.add(i);
}
}
//System.out.println("perm_all = " + perm);
// reverse permutation indices
int n1 = aname.length - 1;
List<Integer> perm1 = new ArrayList<Integer>(aname.length);
for (Integer k : perm) {
perm1.add(n1 - k);
}
perm = perm1;
//System.out.println("perm_inv = " + perm1);
Collections.reverse(perm);
//System.out.println("perm_rev = " + perm);
return perm;
}
/**
* Index of s in A.
* @param s search string
* @param A string array
* @return i if s == A[i] for some i, else -1.
*/
public static int indexOf(String s, String[] A) {
for (int i = 0; i < A.length; i++) {
if (s.equals(A[i])) {
return i;
}
}
return -1;
}
/**
* Partial permutation for specific variables. Computes a permutation perm
* for the variables vars, such that perm(vars) == pvars ... (vars \ pvars).
* Uses internal (reversed) variable sorting.
* @param vars names for all variables.
* @param pvars names for main variables, pvars subseteq vars.
* @param rvars names for remaining variables, rvars eq { vars \ pvars }.
* @return permutation for vars, such that perm(vars) == (pvars, {vars \
* pvars}).
*/
public static List<Integer> partialPermutation(String[] vars, String[] pvars, String[] rvars) {
if (vars == null || pvars == null) {
throw new IllegalArgumentException("no variable names found");
}
List<String> variables = new ArrayList<String>(vars.length);
List<String> pvariables = new ArrayList<String>(pvars.length);
for (int i = 0; i < vars.length; i++) {
variables.add(vars[i]);
}
for (int i = 0; i < pvars.length; i++) {
pvariables.add(pvars[i]);
}
if (rvars == null) {
rvars = remainingVars(vars, pvars);
}
List<String> rvariables = new ArrayList<String>(rvars.length);
for (int i = 0; i < rvars.length; i++) {
rvariables.add(rvars[i]);
}
if (rvars.length + pvars.length == vars.length) {
//System.out.println("pvariables = " + pvariables);
return getPermutation(vars, rvars);
}
logger.info("not implemented for {} != {} cup {}", variables, pvariables, rvariables);
throw new UnsupportedOperationException("not implemented");
/*
if (!variables.containsAll(pvariables) || !variables.containsAll(rvariables)) {
throw new IllegalArgumentException("partial variables not contained in all variables ");
}
Collections.reverse(variables);
Collections.reverse(pvariables);
Collections.reverse(rvariables);
System.out.println("variables = " + variables);
System.out.println("pvariables = " + pvariables);
System.out.println("rvariables = " + rvariables);
List<Integer> perm = new ArrayList<Integer>();
List<Integer> pv = new ArrayList<Integer>();
for (String s : variables) {
int j = pvariables.indexOf(s);
if (j >= 0) {
perm.add(j);
}
}
int i = pvariables.size();
for (String s : variables) {
if (!pvariables.contains(s)) {
pv.add(i);
}
i++;
}
System.out.println("perm, 1 = " + perm);
//System.out.println("pv = " + pv);
// sort perm according to pvars
int ps = perm.size(); // == pvars.length
for (int k = 0; k < ps; k++) {
for (int j = k + 1; j < ps; j++) {
int kk = variables.indexOf(pvariables.get(k));
int jj = variables.indexOf(pvariables.get(j));
if (kk > jj) { // swap
int t = perm.get(k);
System.out.println("swap " + t + " with " + perm.get(j));
perm.set(k, perm.get(j));
perm.set(j, t);
}
}
}
//System.out.println("perm = " + perm);
// sort pv according to rvars
int rs = pv.size(); // == rvars.length
for (int k = 0; k < rs; k++) {
for (int j = k + 1; j < rs; j++) {
int kk = variables.indexOf(rvariables.get(k));
int jj = variables.indexOf(rvariables.get(j));
if (kk > jj) { // swap
int t = pv.get(k);
//System.out.println("swap " + t + " with " + perm.get(j));
pv.set(k, pv.get(j));
pv.set(j, t);
}
}
}
//System.out.println("pv = " + pv);
perm.addAll(pv);
System.out.println("perm, 2 = " + perm);
return perm;
*/
}
/**
* Partial permutation for specific variables. Computes a permutation perm
* for the variables vars, such that perm(vars) == (evars, pvars, (vars \ {
* evars, pvars }). Uses internal (reversed) variable sorting.
* @param vars names for all variables.
* @param evars names for elimination variables, evars subseteq vars.
* @param pvars names for main variables, pvars subseteq vars.
* @param rvars names for remaining variables, rvars eq {vars \ { evars,
* pvars } }.
* @return permutation for vars, such that perm(vars) == (evars,pvars, {vars
* \ {evars,pvars}}.
*/
public static List<Integer> partialPermutation(String[] vars, String[] evars, String[] pvars,
String[] rvars) {
if (vars == null || evars == null || pvars == null) {
throw new IllegalArgumentException("not all variable names given");
}
String[] uvars;
if (rvars != null) {
uvars = new String[pvars.length + rvars.length];
for (int i = 0; i < pvars.length; i++) {
uvars[i] = pvars[i];
}
for (int i = 0; i < rvars.length; i++) {
uvars[pvars.length + i] = rvars[i];
}
} else {
uvars = pvars;
}
//System.out.println("uvars = " + Arrays.toString(uvars));
List<Integer> perm = partialPermutation(vars, evars, uvars);
return perm;
}
/**
* Remaining variables vars \ pvars. Uses internal (reversed) variable
* sorting, original order is preserved.
* @param vars names for all variables.
* @param pvars names for main variables, pvars subseteq vars.
* @return remaining vars = (vars \ pvars).
*/
public static String[] remainingVars(String[] vars, String[] pvars) {
if (vars == null || pvars == null) {
throw new IllegalArgumentException("no variable names found");
}
List<String> variables = new ArrayList<String>(vars.length);
List<String> pvariables = new ArrayList<String>(pvars.length);
for (int i = 0; i < vars.length; i++) {
variables.add(vars[i]);
}
for (int i = 0; i < pvars.length; i++) {
pvariables.add(pvars[i]);
}
if (!variables.containsAll(pvariables)) {
throw new IllegalArgumentException("partial variables not contained in all variables ");
}
// variables.setMinus(pvariables)
List<String> rvariables = new ArrayList<String>(variables);
for (String s : pvariables) {
rvariables.remove(s);
}
int cl = vars.length - pvars.length;
String[] rvars = new String[cl];
int i = 0;
for (String s : rvariables) {
rvars[i++] = s;
}
return rvars;
}
/**
* Partial recursive Groebner base for specific variables. Computes Groebner
* base in K[vars \ pvars][pvars] with coefficients from K[vars \ pvars].
* @param F polynomial list.
* @param pvars names for main variables of partial Groebner base
* computation.
* @return a container for a partial Groebner base of F wrt pvars.
*/
public OptimizedPolynomialList<GenPolynomial<C>> partialGBrec(List<GenPolynomial<C>> F, String[] pvars) {
if (F == null || F.isEmpty()) {
throw new IllegalArgumentException("empty F not allowed");
}
GenPolynomialRing<C> fac = F.get(0).ring;
String[] vars = fac.getVars();
if (vars == null || pvars == null) {
throw new IllegalArgumentException("not all variable names found");
}
if (vars.length == pvars.length) {
throw new IllegalArgumentException("use non recursive partialGB algorithm");
}
// compute permutation (in reverse sorting)
List<Integer> perm = partialPermutation(vars, pvars);
GenPolynomialRing<C> pfac = fac.permutation(perm);
logger.info("pfac = {}", pfac);
List<GenPolynomial<C>> ppolys = TermOrderOptimization.<C> permutation(perm, pfac, F);
//System.out.println("ppolys = " + ppolys);
int cl = fac.nvar - pvars.length; // > 0
int pl = pvars.length;
String[] rvars = remainingVars(vars, pvars);
GenPolynomialRing<C> cfac = new GenPolynomialRing<C>(fac.coFac, cl, fac.tord, rvars);
//System.out.println("cfac = " + cfac);
GenPolynomialRing<GenPolynomial<C>> rfac = new GenPolynomialRing<GenPolynomial<C>>(cfac, pl,
fac.tord, pvars);
logger.info("rfac = {}", rfac);
//System.out.println("rfac = " + rfac);
List<GenPolynomial<GenPolynomial<C>>> Fr = PolyUtil.<C> recursive(rfac, ppolys);
//System.out.println("\nFr = " + Fr);
if (true) {
rbb = new GroebnerBasePseudoRecSeq<C>(cfac);
}
List<GenPolynomial<GenPolynomial<C>>> Gr = rbb.GB(Fr);
//System.out.println("\nGr = " + Gr);
//perm = perm.subList(0,pl);
OptimizedPolynomialList<GenPolynomial<C>> pgb = new OptimizedPolynomialList<GenPolynomial<C>>(perm,
rfac, Gr);
return pgb;
}
/**
* Partial Groebner base for specific variables. Computes Groebner base in
* K[vars \ pvars][pvars] with coefficients from K[vars \ pvars] but returns
* polynomials in K[vars \ pvars, pvars].
* @param F polynomial list.
* @param pvars names for main variables of partial Groebner base
* computation.
* @return a container for a partial Groebner base of F wrt pvars.
*/
public OptimizedPolynomialList<C> partialGB(List<GenPolynomial<C>> F, String[] pvars) {
if (F == null || F.isEmpty()) {
throw new IllegalArgumentException("empty F not allowed");
}
GenPolynomialRing<C> fac = F.get(0).ring;
String[] vars = fac.getVars();
// compute permutation (in reverse sorting)
//String[] xvars = remainingVars(vars, pvars);
//System.out.println("xvars = " + Arrays.toString(xvars));
List<Integer> perm = partialPermutation(vars, pvars);
//System.out.println("pGB, perm = " + perm);
//System.out.println("pGB, perm,1 = " + getPermutation(vars, xvars));
GenPolynomialRing<C> pfac = fac.permutation(perm);
logger.info("pfac = {}", pfac);
List<GenPolynomial<C>> ppolys = TermOrderOptimization.<C> permutation(perm, pfac, F);
//System.out.println("ppolys = " + ppolys);
int cl = fac.nvar - pvars.length;
if (cl == 0) { // non recursive case
//GroebnerBaseSeq<C> bb = new GroebnerBaseSeq<C>();
List<GenPolynomial<C>> G = bb.GB(ppolys);
OptimizedPolynomialList<C> pgb = new OptimizedPolynomialList<C>(perm, pfac, G);
return pgb;
}
// recursive case
int pl = pvars.length;
String[] rvars = remainingVars(vars, pvars);
GenPolynomialRing<C> cfac = new GenPolynomialRing<C>(fac.coFac, cl, fac.tord, rvars);
//System.out.println("cfac = " + cfac);
GenPolynomialRing<GenPolynomial<C>> rfac = new GenPolynomialRing<GenPolynomial<C>>(cfac, pl,
fac.tord, pvars);
logger.info("rfac = {}", rfac);
List<GenPolynomial<GenPolynomial<C>>> Fr = PolyUtil.<C> recursive(rfac, ppolys);
//System.out.println("\nFr = " + Fr);
if (true) {
rbb = new GroebnerBasePseudoRecSeq<C>(cfac);
}
List<GenPolynomial<GenPolynomial<C>>> Gr = rbb.GB(Fr);
//System.out.println("\nGr = " + Gr);
List<GenPolynomial<C>> G = PolyUtil.<C> distribute(pfac, Gr);
//System.out.println("\nG = " + G);
OptimizedPolynomialList<C> pgb = new OptimizedPolynomialList<C>(perm, pfac, G);
return pgb;
}
/**
* Partial Groebner base for specific variables. Computes Groebner base with
* coefficients from K[pvars] but returns polynomials in K[pvars, evars].
* @param F polynomial list.
* @param evars names for upper main variables of partial Groebner base
* computation.
* @param pvars names for lower main variables of partial Groebner base
* computation.
* @return a container for a partial Groebner base of F wrt (pvars,evars).
*/
public OptimizedPolynomialList<C> elimPartialGB(List<GenPolynomial<C>> F, String[] evars, String[] pvars) {
if (F == null || F.isEmpty()) {
throw new IllegalArgumentException("empty F not allowed");
}
GenPolynomialRing<C> fac = F.get(0).ring;
String[] vars = fac.getVars();
// compute permutation (in reverse sorting)
//System.out.println("vars = " + Arrays.toString(vars));
//System.out.println("evars = " + Arrays.toString(evars));
//System.out.println("pvars = " + Arrays.toString(pvars));
List<Integer> perm = partialPermutation(vars, evars, pvars);
//System.out.println("perm = " + perm);
GenPolynomialRing<C> pfac = fac.permutation(perm);
logger.info("pfac = {}", pfac);
List<GenPolynomial<C>> ppolys = TermOrderOptimization.<C> permutation(perm, pfac, F);
//System.out.println("ppolys = " + ppolys);
int cl = fac.nvar - evars.length - pvars.length;
if (cl == 0) { // non recursive case
TermOrder to = pfac.tord;
int ev = to.getEvord();
//ev = TermOrder.IGRLEX;
TermOrder split = new TermOrder(ev, ev, pfac.nvar, evars.length);
pfac = new GenPolynomialRing<C>(pfac.coFac, pfac.nvar, split, pfac.getVars());
//logger.info("split = {}", split);
logger.info("pfac = {}", pfac);
List<GenPolynomial<C>> Fs = new ArrayList<GenPolynomial<C>>(ppolys.size());
for (GenPolynomial<C> p : ppolys) {
Fs.add(pfac.copy(p));
}
List<GenPolynomial<C>> G = bb.GB(Fs);
OptimizedPolynomialList<C> pgb = new OptimizedPolynomialList<C>(perm, pfac, G);
logger.info("pgb = {}", pgb);
return pgb;
}
logger.warn("not meaningful for elimination {}", cl);
// recursive case
int pl = pvars.length + pvars.length;
String[] rvars = remainingVars(vars, evars);
rvars = remainingVars(rvars, pvars);
String[] uvars = new String[evars.length + pvars.length];
for (int i = 0; i < pvars.length; i++) {
uvars[i] = pvars[i];
}
for (int i = 0; i < evars.length; i++) {
uvars[pvars.length + i] = evars[i];
}
GenPolynomialRing<C> cfac = new GenPolynomialRing<C>(fac.coFac, cl, fac.tord, rvars);
//System.out.println("cfac = " + cfac);
TermOrder to = pfac.tord;
int ev = to.getEvord();
TermOrder split = new TermOrder(ev, ev, pl, evars.length);
//GenPolynomialRing<C> sfac = new GenPolynomialRing<C>(pfac.coFac, pfac.nvar, split, pfac.getVars());
GenPolynomialRing<GenPolynomial<C>> rfac = new GenPolynomialRing<GenPolynomial<C>>(cfac, pl, split,
uvars);
List<GenPolynomial<GenPolynomial<C>>> Fr = PolyUtil.<C> recursive(rfac, ppolys);
logger.info("rfac = {}", rfac);
logger.info("Fr = {}", Fr);
if (true) {
rbb = new GroebnerBasePseudoRecSeq<C>(cfac);
}
List<GenPolynomial<GenPolynomial<C>>> Gr = rbb.GB(Fr);
//System.out.println("\nGr = " + Gr);
List<GenPolynomial<C>> G = PolyUtil.<C> distribute(pfac, Gr);
//System.out.println("\nG = " + G);
OptimizedPolynomialList<C> pgb = new OptimizedPolynomialList<C>(perm, pfac, G);
return pgb;
}
}
| 21,668
|
Java
|
.java
|
axkr/symja_android_library
| 350
| 81
| 57
|
2013-12-04T17:11:24Z
|
2024-05-08T16:36:04Z
|
a34d893c3e5653425eec4bdf6ddf706136d6858da64764e3acc0dea6bf20e05d
|
[
1127,
222,
338,
417,
625,
41,
222,
588,
222,
222,
1337,
15357,
51,
18526,
51,
108,
1972,
105,
64,
499,
222,
485,
1401,
51,
1058,
51,
7119,
64,
222,
485,
1401,
51,
1058,
51,
4293,
64,
222,
485,
1401,
51,
1058,
51,
739,
64,
222,
222,
485,
1105,
51,
2121,
51,
7506,
51,
769,
57,
111,
51,
3716,
64,
222,
485,
1105,
51,
2121,
51,
7506,
51,
769,
57,
111,
51,
1353,
1590,
64,
1676,
222,
485,
15357,
51,
18526,
51,
6267,
51,
28801,
891,
1403,
1778,
5597,
64,
222,
485,
15357,
51,
18526,
51,
6267,
51,
28801,
891,
1403,
1778,
8718,
64,
222,
485,
15357,
51,
18526,
51,
8562,
51,
5154,
37124,
64,
222,
485,
15357,
51,
18526,
51,
8562,
51,
5154,
37124,
16824,
64,
222,
485,
15357,
51,
18526,
51,
8562,
51,
15650,
1209,
37124,
739,
64,
222,
485,
15357,
51,
18526,
51,
8562,
51,
8379,
1747,
64,
222,
485,
15357,
51,
18526,
51,
8562,
51,
6269,
2888,
64,
222,
485,
15357,
51,
18526,
51,
8562,
51,
6269,
2888,
37685,
64,
222,
485,
15357,
51,
18526,
51,
6014,
51,
76,
2105,
16824,
10795,
64,
222,
485,
15357,
51,
18526,
51,
6014,
51,
16824,
2232,
64,
499,
222,
1350,
222,
338,
14583,
34790,
891,
1403,
3787,
120,
456,
1381,
2047,
451,
4918,
51,
10412,
350,
707,
67,
117,
6896,
396,
707,
67,
545,
331,
222,
338,
17384,
451,
4918,
350,
707,
67,
6896,
396,
707,
67,
451,
341,
25292,
16927,
1242,
96,
6896,
1015,
14944,
222,
338,
7665,
34790,
891,
1403,
26425,
642,
26479,
664,
1242,
96,
6896,
788,
317,
6896,
98,
347,
341,
222,
338,
25292,
16927,
1242,
96,
6896,
788,
317,
6896,
1697,
117,
6896,
1015,
222,
338,
496,
772,
350,
72,
67,
17210,
847,
222,
338,
496,
2133,
4401,
285,
127,
1242,
287,
4066,
222,
588,
222,
222,
942,
462,
34790,
891,
1403,
1778,
12229,
65,
72,
2041,
590,
2105,
16824,
10795,
65,
72,
2023,
2041,
34790,
891,
1403,
1778,
5597,
65,
72,
67,
320,
4054,
964,
924,
1175,
7145,
4101,
299,
2681,
1590,
51,
10588,
45,
28801,
891,
1403,
1778,
12229,
51,
842,
312,
4054,
453,
2072,
924,
1175,
1922,
4598,
299,
4101,
51,
39736,
492,
4054,
1041,
294,
338,
7607,
318,
34790,
891,
1403,
1712,
6894,
51,
294,
588,
303,
2532,
34790,
891,
1403,
1778,
5597,
65,
72,
67,
18560,
64,
4054,
1041,
294,
338,
7607,
318,
18578,
34790,
891,
1403,
1712,
6894,
51,
294,
588,
303,
2532,
34790,
891,
1403,
1778,
5597,
65,
5154,
37124,
65,
72,
2023,
559,
2901,
64,
453,
902,
545,
762,
4054,
1041,
294,
338,
12836,
51,
294,
588,
303,
581,
34790,
891,
1403,
1778,
12229,
365,
320,
310,
477,
45,
909,
34790,
891,
1403,
1778,
8718,
65,
72,
17951,
762,
312,
303,
339,
4054,
1041,
294,
338,
12836,
51,
294,
338,
496,
772,
15994,
17210,
16927,
7769,
51,
294,
588,
303,
581,
34790,
891,
1403,
1778,
12229,
45,
16824,
2232,
65,
5154,
37124,
65,
72,
2023,
15994,
46,
320,
310,
477,
45,
909,
34790,
891,
1403,
1778,
8718,
65,
72,
17951,
556,
34790,
891,
1403,
1778,
33281,
8347,
8718,
65,
72,
1579,
4939,
894,
303,
339,
4054,
1041,
294,
338,
12836,
51,
294,
338,
496,
772,
18560,
34790,
891,
1403,
1712,
6894,
294,
338,
496,
772,
559,
2901,
18578,
34790,
891,
1403,
1712,
6894,
294,
588,
303,
581,
34790,
891,
1403,
1778,
12229,
45,
28801,
891,
1403,
1778,
5597,
65,
72,
67,
18560,
49,
34790,
891,
1403,
1778,
5597,
65,
5154,
37124,
65,
72,
2023,
559,
2901,
46,
320,
310,
2615,
492,
310,
477,
51,
2901,
299,
18560,
64,
310,
477,
51,
119,
2901,
299,
559,
2901,
64,
310,
453,
344,
327,
119,
2901,
630,
762,
46,
320,
343,
453,
4089,
51,
8453,
459,
1365,
18578,
21122,
2716,
742,
310,
26410,
303,
339,
4054,
1041,
294,
338,
34790,
891,
1403,
1712,
1493,
6120,
687,
462,
51,
294,
338,
496,
772,
2065,
123,
2313,
2702,
1470,
51,
294,
338,
496,
772,
525,
25292,
1168,
51,
294,
338,
496,
620,
21122,
45,
75,
46,
331,
34790,
891,
1403,
1712,
451,
525,
51,
294,
588,
303,
581,
1701,
65,
5154,
37124,
65,
72,
2023,
21122,
45,
429,
2065,
123,
49,
1701,
65,
5154,
37124,
65,
72,
2023,
525,
46,
320,
310,
461,
18560,
51,
3947,
45,
1820,
123,
49,
525,
312,
303,
339,
4054,
1041,
294,
338,
34790,
891,
1403,
1712,
913,
51,
294,
338,
496,
772,
525,
25292,
1168,
51,
294,
338,
496,
620,
878,
49,
434,
525,
458,
331,
7382,
34790,
891,
1403,
1712,
49,
832,
920,
51,
294,
588,
303,
581,
1922,
458,
3947,
4898,
45,
739,
65,
5154,
37124,
65,
5154,
37124,
65,
72,
11978,
525,
46,
320,
310,
461,
458,
3947,
4898,
45,
53,
49,
525,
312,
303,
339,
4054,
1041,
294,
338,
34790,
891,
1403,
1712,
913,
51,
294,
338,
496,
772,
2065,
123,
2313,
2702,
1470,
51,
294,
338,
496,
772,
525,
25292,
1168,
51,
294,
338,
496,
620,
878,
49,
434,
525,
458,
331,
7382,
34790,
891,
1403,
1712,
49,
832,
920,
51,
294,
588,
303,
581,
1922,
458,
3947,
4898,
45,
429,
2065,
123,
49,
1701,
65,
5154,
37124,
65,
5154,
37124,
65,
72,
11978,
525,
46,
320,
310,
434,
327,
75,
630,
762,
1293,
525,
51,
6401,
1177,
320,
343,
461,
878,
64,
310,
339,
310,
434,
327,
1527,
46,
320,
343,
559,
2901,
299,
556,
34790,
891,
1403,
1778,
33281,
8347,
8718,
65,
72,
1579,
75,
51,
390,
45,
53,
566,
2601,
51,
352,
7784,
312,
310,
339,
310,
461,
559,
2901,
51,
316,
3947,
45,
1820,
123,
49,
525,
312,
303,
339,
4054,
1041,
294,
338,
14583,
38230,
456,
2835,
4918,
51,
41953,
331,
38230,
18196,
294,
338,
456,
341,
4918,
14450,
49,
3774,
708,
18196,
45,
6896,
46,
630,
317,
6896,
2437,
327,
6896,
788,
317,
6896,
566,
294,
338,
26072,
3584,
327,
35084,
46,
2702,
22326,
51,
294,
338,
496,
772,
14450,
4492,
456,
1187,
4918,
51,
294,
338,
496,
772,
317,
6896,
4492,
456,
2594,
4918,
49,
317,
6896,
17384,
3705,
14450,
51,
294,
338,
496,
620,
38230,
456,
14450,
49,
3774,
708,
18196,
45,
6896,
46,
630,
317,
6896,
2437,
327,
6896,
788,
294,
338,
282,
317,
6896,
566,
294,
588,
303,
581,
924,
1701,
65,
3078,
67,
7382,
1852,
11538,
45,
671,
1197,
14450,
49,
910,
1197,
317,
6896,
46,
320,
310,
461,
7382,
1852,
11538,
45,
6896,
49,
317,
6896,
49,
762,
312,
310,
453,
1365,
63,
461,
640,
1852,
11538,
45,
6896,
49,
117,
6896,
312,
303,
339,
4054,
1041,
294,
338,
4235,
11538,
451,
4918,
456,
16550,
3163,
51,
294,
338,
496,
772,
619,
340,
4918,
456,
341,
3559,
25292,
16927,
51,
294,
338,
496,
772,
949,
340,
4918,
456,
341,
16550,
3163,
16927,
49,
17384,
3705,
619,
340,
51,
294,
338,
496,
620,
18196,
1389,
6896,
788,
949,
340,
855,
2027,
46,
294,
588,
303,
581,
924,
1701,
65,
3078,
67,
640,
1852,
11538,
45,
671,
1197,
619,
340,
49,
910,
1197,
949,
340,
46,
320,
310,
434,
327,
297,
340,
630,
762,
1293,
949,
340,
630,
762,
46,
320,
343,
1440,
556,
12134,
459,
297,
340,
575,
949,
340,
1648,
666,
545,
762,
742,
310,
339,
310,
1701,
65,
3078,
67,
18196,
299,
556,
5068,
65,
3078,
1579,
297,
340,
51,
1340,
312,
310,
453,
1035,
949,
340,
38230,
310,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
949,
340,
51,
1340,
64,
613,
2002,
320,
343,
648,
614,
299,
40597,
45,
2027,
96,
110,
636,
619,
340,
312,
343,
434,
327,
111,
350,
244,
53,
46,
320,
419,
1440,
556,
12134,
459,
2027,
666,
14561,
347,
619,
340,
742,
343,
339,
343,
18196,
51,
688,
45,
111,
312,
310,
339,
310,
453,
1615,
51,
560,
51,
3962,
459,
13178,
100,
760,
299,
332,
494,
18196,
312,
310,
453,
1035,
619,
340,
788,
949,
340,
38230,
310,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
619,
340,
51,
1340,
64,
613,
2002,
320,
343,
434,
1445,
13178,
51,
4766,
45,
110,
509,
320,
419,
18196,
51,
688,
45,
110,
312,
343,
339,
310,
339,
310,
453,
1615,
51,
560,
51,
3962,
459,
13178,
100,
483,
299,
332,
494,
18196,
312,
310,
453,
10170,
38230,
10253,
310,
648,
329,
54,
299,
619,
340,
51,
1340,
449,
244,
54,
64,
310,
1701,
65,
3078,
67,
18196,
54,
299,
556,
5068,
65,
3078,
1579,
297,
340,
51,
1340,
312,
310,
456,
327,
3078,
851,
518,
18196,
46,
320,
343,
18196,
54,
51,
688,
45,
115,
54,
449,
851,
312,
310,
339,
310,
18196,
299,
18196,
54,
64,
310,
453,
1615,
51,
560,
51,
3962,
459,
13178,
100,
5834,
299,
332,
494,
18196,
54,
312,
310,
15490,
51,
9845,
45,
13178,
312,
310,
453,
1615,
51,
560,
51,
3962,
459,
13178,
100,
9892,
299,
332,
494,
18196,
312,
310,
461,
18196,
64,
303,
339,
4054,
1041,
294,
338,
6434,
451,
328,
347,
418,
51,
294,
338,
496,
772,
328,
3252,
821,
294,
338,
496,
772,
418,
821,
1437,
294,
338,
496,
620,
613,
434,
328,
630,
418,
96,
110,
98,
456,
1649,
613,
49,
832,
449,
54,
51,
294,
588,
303,
581,
924,
648,
40597,
45,
671,
328,
49,
910,
1197,
418,
46,
320,
310,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
418,
51,
1340,
64,
613,
2002,
320,
343,
434,
327,
120,
51,
3591,
45,
70,
96,
110,
5310,
320,
419,
461,
613,
64,
343,
339,
310,
339,
310,
461,
449,
54,
64,
303,
339,
4054,
1041,
294,
338,
14583,
38230,
456,
2835,
4918,
51,
41953,
331,
38230,
18196,
294,
338,
456,
341,
4918,
14450,
49,
3774,
708,
18196,
45,
6896,
46,
630,
317,
6896,
2437,
327,
6896,
788,
317,
6896,
566,
294,
338,
26072,
3584,
327,
35084,
46,
2702,
22326,
51,
294,
338,
496,
772,
14450,
4492,
456,
1187,
4918,
51,
294,
338,
496,
772,
317,
6896,
4492,
456,
2594,
4918,
49,
317,
6896,
17384,
3705,
14450,
51,
294,
338,
496,
772,
559,
6896,
4492,
456,
11479,
4918,
49,
559,
6896,
7103,
320,
14450,
788,
317,
6896,
12349,
294,
338,
496,
620,
38230,
456,
14450,
49,
3774,
708,
18196,
45,
6896,
46,
630,
327,
117,
6896,
49,
320,
6896,
788,
294,
338,
282,
317,
6896,
12675,
294,
588,
303,
581,
924,
1701,
65,
3078,
67,
7382,
1852,
11538,
45,
671,
1197,
14450,
49,
910,
1197,
317,
6896,
49,
910,
1197,
559,
6896,
46,
320,
310,
434,
327,
6896,
630,
762,
1293,
317,
6896,
630,
762,
46,
320,
343,
1440,
556,
12134,
459,
1365,
2702,
4492,
2448,
742,
310,
339,
310,
1701,
65,
671,
67,
4918,
299,
556,
5068,
65,
671,
1579,
6896,
51,
1340,
312,
310,
1701,
65,
671,
67,
317,
9605,
299,
556,
5068,
65,
671,
1579,
117,
6896,
51,
1340,
312,
310,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
14450,
51,
1340,
64,
613,
2002,
320,
343,
4918,
51,
688,
45,
6896,
96,
110,
2004,
310,
339,
310,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
317,
6896,
51,
1340,
64,
613,
2002,
320,
343,
317,
9605,
51,
688,
45,
117,
6896,
96,
110,
2004,
310,
339,
310,
434,
327,
119,
6896,
630,
762,
46,
320,
343,
559,
6896,
299,
11479,
12032,
45,
6896,
49,
317,
6896,
312,
310,
339,
310,
1701,
65,
671,
67,
559,
9605,
299,
556,
5068,
65,
671,
1579,
119,
6896,
51,
1340,
312,
310,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
559,
6896,
51,
1340,
64,
613,
2002,
320,
343,
559,
9605,
51,
688,
45,
119,
6896,
96,
110,
2004,
310,
339,
310,
434,
327,
119,
6896,
51,
1340,
494,
317,
6896,
51,
1340,
630,
14450,
51,
1340,
46,
320,
343,
453,
1615,
51,
560,
51,
3962,
459,
117,
9605,
244,
299,
332,
494,
317,
9605,
312,
343,
461,
640,
1852,
11538,
45,
6896,
49,
559,
6896,
312,
310,
339,
310,
4101,
51,
1357,
459,
1226,
7613,
456,
2172,
882,
2172,
24784,
12267,
4918,
49,
317,
9605,
49,
559,
9605,
312,
310,
1440,
556,
25788,
459,
1226,
7613,
742,
310,
1276,
310,
434,
1445,
9605,
51,
4766,
1947,
45,
117,
9605,
46,
1293,
673,
9605,
51,
4766,
1947,
45,
119,
9605,
509,
320,
343,
1440,
556,
12134,
459,
9985,
4918,
666,
14561,
347,
1187,
4918,
7173,
310,
339,
310,
15490,
51,
9845,
45,
9605,
312,
310,
15490,
51,
9845,
45,
117,
9605,
312,
310,
15490,
51,
9845,
45,
119,
9605,
312,
310,
1189,
51,
560,
51,
3962,
459,
9605,
244,
299,
332,
494,
4918,
312,
310,
1189,
51,
560,
51,
3962,
459,
117,
9605,
299,
332,
494,
317,
9605,
312,
310,
1189,
51,
560,
51,
3962,
459,
119,
9605,
299,
332,
494,
559,
9605,
312,
603,
1701,
65,
3078,
67,
18196,
299,
556,
5068,
65,
3078,
2938,
310,
1701,
65,
3078,
67,
19540,
299,
556,
5068,
65,
3078,
2938,
310,
456,
327,
671,
328,
518,
4918,
46,
320,
343,
648,
614,
299,
317,
9605,
51,
7149,
45,
120,
312,
343,
434,
327,
111,
2394,
244,
53,
46,
320,
419,
18196,
51,
688,
45,
111,
312,
343,
339,
310,
339,
310,
648,
613,
299,
317,
9605,
51,
911,
492,
310,
456,
327,
671,
328,
518,
4918,
46,
320,
343,
434,
1445,
117,
9605,
51,
4766,
45,
120,
509,
320,
419,
19540,
51,
688,
45,
110,
312,
343,
339,
343,
613,
3348,
310,
339,
603,
1189,
51,
560,
51,
3962,
459,
13178,
49,
244,
54,
299,
332,
494,
18196,
312,
310,
453,
1615,
51,
560,
51,
3962,
459,
12383,
280,
299,
332,
494,
19540,
312,
310,
453,
3873,
18196,
9299,
391,
317,
6896,
310,
648,
9680,
299,
18196,
51,
911,
492,
453,
630,
317,
6896,
51,
1340,
310,
456,
327,
429,
851,
299,
244,
53,
64,
851,
350,
9680,
64,
851,
2002,
320,
343,
456,
327,
429,
614,
299,
851,
494,
244,
54,
64,
614,
350,
9680,
64,
614,
2002,
320,
419,
648,
43708,
299,
4918,
51,
7149,
45,
117,
9605,
51,
390,
45,
112,
894,
419,
648,
25038,
299,
4918,
51,
7149,
45,
117,
9605,
51,
390,
45,
111,
894,
419,
434,
327,
14751,
868,
25038,
46,
320,
453,
12952,
547,
648,
292,
299,
18196,
51,
390,
45,
112,
312,
547,
1189,
51,
560,
51,
3962,
459,
10430,
332,
494,
292,
494,
332,
642,
332,
494,
18196,
51,
390,
45,
111,
894,
547,
18196,
51,
489,
45,
112,
49,
18196,
51,
390,
45,
111,
894,
547,
18196,
51,
489,
45,
111,
49,
292,
312,
419,
339,
343,
339,
310,
339,
310,
453,
1615,
51,
560,
51,
3962,
459,
13178,
299,
332,
494,
18196,
312,
310,
453,
3873,
19540,
9299,
391,
559,
6896,
310,
648,
9240,
299,
19540,
51,
911,
492,
453,
630,
559,
6896,
51,
1340,
310,
456,
327,
429,
851,
299,
244,
53,
64,
851,
350,
9240,
64,
851,
2002,
320,
343,
456,
327,
429,
614,
299,
851,
494,
244,
54,
64,
614,
350,
9240,
64,
614,
2002,
320,
419,
648,
43708,
299,
4918,
51,
7149,
45,
119,
9605,
51,
390,
45,
112,
894,
419,
648,
25038,
299,
4918,
51,
7149,
45,
119,
9605,
51,
390,
45,
111,
894,
419,
434,
327,
14751,
868,
25038,
46,
320,
453,
12952,
547,
648,
292,
299,
19540,
51,
390,
45,
112,
312,
547,
453,
1615,
51,
560,
51,
3962,
459,
10430,
332,
494,
292,
494,
332,
642,
332,
494,
18196,
51,
390,
45,
111,
894,
547,
19540,
51,
489,
45,
112,
49,
19540,
51,
390,
45,
111,
894,
547,
19540,
51,
489,
45,
111,
49,
292,
312,
419,
339,
343,
339,
310,
339,
310,
453,
1615,
51,
560,
51,
3962,
459,
12383,
280,
299,
332,
494,
19540,
312,
310,
18196,
51,
15109,
45,
12383,
312,
310,
1189,
51,
560,
51,
3962,
459,
13178,
49,
244,
55,
299,
332,
494,
18196,
312,
310,
461,
18196,
64,
310,
588,
303,
339,
4054,
1041,
294,
338,
14583,
38230,
456,
2835,
4918,
51,
41953,
331,
38230,
18196,
294,
338,
456,
341,
4918,
14450,
49,
3774,
708,
18196,
45,
6896,
46,
630,
327,
106,
6896,
49,
317,
6896,
49,
327,
6896,
788,
320,
294,
338,
503,
6896,
49,
317,
6896,
7694,
26072,
3584,
327,
35084,
46,
2702,
22326,
51,
294,
338,
496,
772,
14450,
4492,
456,
1187,
4918,
51,
294,
338,
496,
772,
503,
6896,
4492,
456,
16550,
3163,
4918,
49,
503,
6896,
17384,
3705,
14450,
51,
294,
338,
496,
772,
317,
6896,
4492,
456,
2594,
4918,
49,
317,
6896,
17384,
3705,
14450,
51,
294,
338,
496,
772,
559,
6896,
4492,
456,
11479,
4918,
49,
559,
6896,
7103,
320,
6896,
788,
320,
503,
6896,
49,
294,
338,
1485,
317,
6896,
339,
12349,
294,
338,
496,
620,
38230,
456,
14450,
49,
3774,
708,
18196,
45,
6896,
46,
630,
327,
106,
6896,
49,
117,
6896,
49,
320,
6896,
294,
338,
282,
788,
320,
106,
6896,
49,
117,
6896,
44633,
294,
588,
303,
581,
924,
1701,
65,
3078,
67,
7382,
1852,
11538,
45,
671,
1197,
14450,
49,
910,
1197,
503,
6896,
49,
910,
1197,
317,
6896,
49,
547,
910,
1197,
559,
6896,
46,
320,
310,
434,
327,
6896,
630,
762,
1293,
503,
6896,
630,
762,
1293,
317,
6896,
630,
762,
46,
320,
343,
1440,
556,
12134,
459,
1226,
1187,
2702,
4492,
2716,
742,
310,
339,
310,
910,
1197,
1064,
6896,
64,
310,
434,
327,
119,
6896,
882,
762,
46,
320,
343,
1064,
6896,
299,
556,
910,
96,
117,
6896,
51,
1340,
494,
559,
6896,
51,
1340,
988,
343,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
317,
6896,
51,
1340,
64,
613,
2002,
320,
419,
1064,
6896,
96,
110,
98,
299,
317,
6896,
96,
110,
988,
343,
339,
343,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
559,
6896,
51,
1340,
64,
613,
2002,
320,
419,
1064,
6896,
96,
117,
6896,
51,
1340,
494,
613,
98,
299,
559,
6896,
96,
110,
988,
343,
339,
310,
339,
832,
320,
343,
1064,
6896,
299,
317,
6896,
64,
310,
339,
310,
453,
1615,
51,
560,
51,
3962,
459,
122,
6896,
299,
332,
494,
14479,
51,
3127,
45,
122,
6896,
894,
310,
1701,
65,
3078,
67,
18196,
299,
7382,
1852,
11538,
45,
6896,
49,
503,
6896,
49,
1064,
6896,
312,
310,
461,
18196,
64,
303,
339,
4054,
1041,
294,
338,
4212,
2742,
4918,
14450,
788,
317,
6896,
51,
26072,
3584,
327,
35084,
46,
2702,
294,
338,
22326,
49,
4732,
2554,
458,
37870,
51,
294,
338,
496,
772,
14450,
4492,
456,
1187,
4918,
51,
294,
338,
496,
772,
317,
6896,
4492,
456,
2594,
4918,
49,
317,
6896,
17384,
3705,
14450,
51,
294,
338,
496,
620,
11479,
14450,
299,
327,
6896,
788,
317,
6896,
566,
294,
588,
303,
581,
924,
910,
1197,
11479,
12032,
45,
671,
1197,
14450,
49,
910,
1197,
317,
6896,
46,
320,
310,
434,
327,
6896,
630,
762,
1293,
317,
6896,
630,
762,
46,
320,
343,
1440,
556,
12134,
459,
1365,
2702,
4492,
2448,
742,
310,
339,
310,
1701,
65,
671,
67,
4918,
299,
556,
5068,
65,
671,
1579,
6896,
51,
1340,
312,
310,
1701,
65,
671,
67,
317,
9605,
299,
556,
5068,
65,
671,
1579,
117,
6896,
51,
1340,
312,
310,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
14450,
51,
1340,
64,
613,
2002,
320,
343,
4918,
51,
688,
45,
6896,
96,
110,
2004,
310,
339,
310,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
317,
6896,
51,
1340,
64,
613,
2002,
320,
343,
317,
9605,
51,
688,
45,
117,
6896,
96,
110,
2004,
310,
339,
310,
434,
1445,
9605,
51,
4766,
1947,
45,
117,
9605,
509,
320,
343,
1440,
556,
12134,
459,
9985,
4918,
666,
14561,
347,
1187,
4918,
7173,
310,
339,
310,
453,
4918,
51,
489,
20729,
45,
117,
9605,
46,
310,
1701,
65,
671,
67,
559,
9605,
299,
556,
5068,
65,
671,
1579,
9605,
312,
310,
456,
327,
671,
328,
518,
317,
9605,
46,
320,
343,
559,
9605,
51,
2564,
45,
120,
312,
310,
339,
310,
648,
1553,
299,
14450,
51,
1340,
449,
317,
6896,
51,
1340,
64,
310,
910,
1197,
559,
6896,
299,
556,
910,
96,
592,
988,
310,
648,
613,
299,
244,
53,
64,
310,
456,
327,
671,
328,
518,
559,
9605,
46,
320,
343,
559,
6896,
96,
110,
13415,
299,
328,
64,
310,
339,
310,
461,
559,
6896,
64,
303,
339,
4054,
1041,
294,
338,
14583,
18578,
34790,
891,
1403,
1712,
456,
2835,
4918,
51,
41953,
34790,
891,
1403,
294,
338,
1712,
347,
1242,
96,
6896,
788,
317,
6896,
1697,
117,
6896,
98,
642,
26479,
664,
1242,
96,
6896,
788,
317,
6896,
1015,
294,
338,
496,
772,
525,
25292,
1168,
51,
294,
338,
496,
772,
317,
6896,
4492,
456,
2594,
4918,
451,
7382,
34790,
891,
1403,
1712,
294,
338,
1485,
19686,
51,
294,
338,
496,
620,
331,
3863,
456,
331,
7382,
34790,
891,
1403,
1712,
451,
525,
360,
2069,
317,
6896,
51,
294,
588,
303,
581,
23078,
1209,
37124,
739,
65,
5154,
37124,
65,
72,
2023,
7382,
3947,
4898,
45,
739,
65,
5154,
37124,
65,
72,
2023,
525,
49,
910,
1197,
317,
6896,
46,
320,
310,
434,
327,
75,
630,
762,
1293,
525,
51,
6401,
1177,
320,
343,
1440,
556,
12134,
459,
2970,
525,
666,
6671,
742,
310,
339,
310,
9928,
37124,
16824,
65,
72,
67,
9663,
299,
525,
51,
390,
45,
53,
566,
2601,
64,
310,
910,
1197,
14450,
299,
9663,
51,
390,
12032,
492,
310,
434,
327,
6896,
630,
762,
1293,
317,
6896,
630,
762,
46,
320,
343,
1440,
556,
12134,
459,
1226,
1187,
2702,
4492,
2448,
742,
310,
339,
310,
434,
327,
6896,
51,
1340,
630,
317,
6896,
51,
1340,
46,
320,
343,
1440,
556,
12134,
459,
558,
3000,
18578,
7382,
3947,
8274,
742,
310,
339,
310,
453,
7665,
38230,
327,
285,
10170,
22326,
46,
310,
1701,
65,
3078,
67,
18196,
299,
7382,
1852,
11538,
45,
6896,
49,
317,
6896,
312,
603,
9928,
37124,
16824,
65,
72,
67,
317,
9691,
299,
9663,
51,
40424,
45,
13178,
312,
310,
4101,
51,
1357,
459,
7146,
348,
299,
12267,
317,
9691,
312,
310,
1701,
65,
5154,
37124,
65,
72,
2023,
317,
3435,
1291,
299,
12454,
2888,
37685,
5717,
72,
67,
38230,
45,
13178,
49,
317,
9691,
49,
525,
312,
310,
453,
1615,
51,
560,
51,
3962,
459,
612,
381,
1291,
299,
332,
494,
317,
3435,
1291,
312,
603,
648,
1553,
299,
9663,
51,
115,
887,
449,
317,
6896,
51,
1340,
64,
453,
868,
244,
53,
310,
648,
1302,
299,
317,
6896,
51,
1340,
64,
310,
910,
1197,
559,
6896,
299,
11479,
12032,
45,
6896,
49,
317,
6896,
312,
310,
9928,
37124,
16824,
65,
72,
67,
300,
9691,
299,
556,
9928,
37124,
16824,
65,
72,
1579,
9691,
51,
352,
7784,
49,
1553,
49,
9663,
51,
121,
675,
49,
559,
6896,
312,
310,
453,
1615,
51,
560,
51,
3962,
459,
2185,
348,
299,
332,
494,
300,
9691,
312,
310,
9928,
37124,
16824,
65,
5154,
37124,
65,
72,
2023,
559,
9691,
299,
556,
9928,
37124,
16824,
65,
5154,
37124,
65,
72,
15150,
2185,
348,
49,
1302,
49,
733,
9663,
51,
121,
675,
49,
317,
6896,
312,
310,
4101,
51,
1357,
459,
4939,
348,
299,
12267,
559,
9691,
312,
310,
453,
1615,
51,
560,
51,
3962,
459,
4939,
348,
299,
332,
494,
559,
9691,
312,
603,
1701,
65,
5154,
37124,
65,
5154,
37124,
65,
72,
11978,
10766,
299,
15955,
1747,
5717,
72,
67,
18578,
45,
4939,
348,
49,
317,
3435,
1291,
312,
310,
453,
1615,
51,
560,
51,
3962,
5564,
115,
6089,
299,
332,
494,
10766,
312,
603,
434,
327,
1527,
46,
320,
343,
559,
2901,
299,
556,
34790,
891,
1403,
1778,
33281,
8347,
8718,
65,
72,
1579,
2185,
348,
312,
310,
339,
310,
1701,
65,
5154,
37124,
65,
5154,
37124,
65,
72,
11978,
8102,
299,
559,
2901,
51,
3947,
45,
6089,
312,
310,
453,
1615,
51,
560,
51,
3962,
5564,
115,
4863,
299,
332,
494,
8102,
312,
310,
453,
13178,
299,
18196,
51,
1133,
739,
45,
53,
49,
576,
312,
310,
23078,
1209,
37124,
739,
65,
5154,
37124,
65,
72,
2023,
317,
6267,
299,
556,
23078,
1209,
37124,
739,
65,
5154,
37124,
65,
72,
15150,
13178,
49,
733,
559,
9691,
49,
8102,
312,
310,
461,
317,
6267,
64,
303,
339,
4054,
1041,
294,
338,
14583,
34790,
891,
1403,
1712,
456,
2835,
4918,
51,
41953,
34790,
891,
1403,
1712,
347,
294,
338,
1242,
96,
6896,
788,
317,
6896,
1697,
117,
6896,
98,
642,
26479,
664,
1242,
96,
6896,
788,
317,
6896,
98,
1294,
3235,
294,
338,
25292,
120,
347,
1242,
96,
6896,
788,
317,
6896,
49,
317,
6896,
1015,
294,
338,
496,
772,
525,
25292,
1168,
51,
294,
338,
496,
772,
317,
6896,
4492,
456,
2594,
4918,
451,
7382,
34790,
891,
1403,
1712,
294,
338,
1485,
19686,
51,
294,
338,
496,
620,
331,
3863,
456,
331,
7382,
34790,
891,
1403,
1712,
451,
525,
360,
2069,
317,
6896,
51,
294,
588,
303,
581,
23078,
1209,
37124,
739,
65,
72,
67,
7382,
3947,
45,
739,
65,
5154,
37124,
65,
72,
2023,
525,
49,
910,
1197,
317,
6896,
46,
320,
310,
434,
327,
75,
630,
762,
1293,
525,
51,
6401,
1177,
320,
343,
1440,
556,
12134,
459,
2970,
525,
666,
6671,
742,
310,
339,
310,
9928,
37124,
16824,
65,
72,
67,
9663,
299,
525,
51,
390,
45,
53,
566,
2601,
64,
310,
910,
1197,
14450,
299,
9663,
51,
390,
12032,
492,
310,
453,
7665,
38230,
327,
285,
10170,
22326,
46,
310,
453,
671,
1197,
837,
6896,
299,
11479,
12032,
45,
6896,
49,
317,
6896,
312,
310,
453,
1615,
51,
560,
51,
3962,
459,
125,
6896,
299,
332,
494,
14479,
51,
3127,
45,
125,
6896,
894,
603,
1701,
65,
3078,
67,
18196,
299,
7382,
1852,
11538,
45,
6896,
49,
317,
6896,
312,
310,
453,
1615,
51,
560,
51,
3962,
459,
117,
3947,
49,
18196,
280,
299,
332,
494,
18196,
312,
310,
453,
1615,
51,
560,
51,
3962,
459,
117,
3947,
49,
18196,
49,
54,
299,
332,
494,
640,
1852,
11538,
45,
6896,
49,
837,
6896,
894,
603,
9928,
37124,
16824,
65,
72,
67,
317,
9691,
299,
9663,
51,
40424,
45,
13178,
312,
310,
4101,
51,
1357,
459,
7146,
348,
299,
12267,
317,
9691,
312,
310,
1701,
65,
5154,
37124,
65,
72,
2023,
317,
3435,
1291,
299,
12454,
2888,
37685,
5717,
72,
67,
38230,
45,
13178,
49,
317,
9691,
49,
525,
312,
310,
453,
1615,
51,
560,
51,
3962,
459,
612,
381,
1291,
299,
332,
494,
317,
3435,
1291,
312,
603,
648,
1553,
299,
9663,
51,
115,
887,
449,
317,
6896,
51,
1340,
64,
310,
434,
327,
592,
630,
244,
53,
46,
320,
453,
3000,
18578,
1152,
343,
453,
28801,
891,
1403,
1778,
8718,
65,
72,
67,
18560,
299,
556,
34790,
891,
1403,
1778,
8718,
65,
72,
2938,
343,
1701,
65,
5154,
37124,
65,
72,
2023,
590,
299,
18560,
51,
3947,
45,
612,
381,
1291,
312,
343,
23078,
1209,
37124,
739,
65,
72,
67,
317,
6267,
299,
556,
23078,
1209,
37124,
739,
65,
72,
1579,
13178,
49,
317,
9691,
49,
590,
312,
343,
461,
317,
6267,
64,
310,
339,
310,
453,
18578,
1152,
310,
648,
1302,
299,
317,
6896,
51,
1340,
64,
310,
910,
1197,
559,
6896,
299,
11479,
12032,
45,
6896,
49,
317,
6896,
312,
310,
9928,
37124,
16824,
65,
72,
67,
300,
9691,
299,
556,
9928,
37124,
16824,
65,
72,
1579,
9691,
51,
352,
7784,
49,
1553,
49,
9663,
51,
121,
675,
49,
559,
6896,
312,
310,
453,
1615,
51,
560,
51,
3962,
459,
2185,
348,
299,
332,
494,
300,
9691,
312,
603,
9928,
37124,
16824,
65,
5154,
37124,
65,
72,
2023,
559,
9691,
299,
556,
9928,
37124,
16824,
65,
5154,
37124,
65,
72,
15150,
2185,
348,
49,
1302,
49,
733,
9663,
51,
121,
675,
49,
317,
6896,
312,
310,
4101,
51,
1357,
459,
4939,
348,
299,
12267,
559,
9691,
312,
603,
1701,
65,
5154,
37124,
65,
5154,
37124,
65,
72,
11978,
10766,
299,
15955,
1747,
5717,
72,
67,
18578,
45,
4939,
348,
49,
317,
3435,
1291,
312,
310,
453,
1615,
51,
560,
51,
3962,
5564,
115,
6089,
299,
332,
494,
10766,
312,
603,
434,
327,
1527,
46,
320,
343,
559,
2901,
299,
556,
34790,
891,
1403,
1778,
33281,
8347,
8718,
65,
72,
1579,
2185,
348,
312,
310,
339,
310,
1701,
65,
5154,
37124,
65,
5154,
37124,
65,
72,
11978,
8102,
299,
559,
2901,
51,
3947,
45,
6089,
312,
310,
453,
1615,
51,
560,
51,
3962,
5564,
115,
4863,
299,
332,
494,
8102,
312,
603,
1701,
65,
5154,
37124,
65,
72,
2023,
590,
299,
15955,
1747,
5717,
72,
67,
11915,
45,
7146,
348,
49,
8102,
312,
310,
453,
1615,
51,
560,
51,
3962,
5564,
115,
76,
299,
332,
494,
590,
312,
603,
23078,
1209,
37124,
739,
65,
72,
67,
317,
6267,
299,
556,
23078,
1209,
37124,
739,
65,
72,
1579,
13178,
49,
317,
9691,
49,
590,
312,
310,
461,
317,
6267,
64,
303,
339,
4054,
1041,
294,
338,
14583,
34790,
891,
1403,
1712,
456,
2835,
4918,
51,
41953,
34790,
891,
1403,
1712,
642,
294,
338,
26479,
664,
1242,
96,
117,
6896,
98,
1294,
3235,
25292,
120,
347,
1242,
96,
117,
6896,
49,
503,
6896,
1015,
294,
338,
496,
772,
525,
25292,
1168,
51,
294,
338,
496,
772,
503,
6896,
4492,
456,
8373,
2594,
4918,
451,
7382,
34790,
891,
1403,
1712,
294,
338,
1485,
19686,
51,
294,
338,
496,
772,
317,
6896,
4492,
456,
7245,
2594,
4918,
451,
7382,
34790,
891,
1403,
1712,
294,
338,
1485,
19686,
51,
294,
338,
496,
620,
331,
3863,
456,
331,
7382,
34790,
891,
1403,
1712,
451,
525,
360,
2069,
327,
117,
6896,
49,
106,
6896,
566,
294,
588,
303,
581,
23078,
1209,
37124,
739,
65,
72,
67,
16550,
12229,
3947,
45,
739,
65,
5154,
37124,
65,
72,
2023,
525,
49,
910,
1197,
503,
6896,
49,
910,
1197,
317,
6896,
46,
320,
310,
434,
327,
75,
630,
762,
1293,
525,
51,
6401,
1177,
320,
343,
1440,
556,
12134,
459,
2970,
525,
666,
6671,
742,
310,
339,
310,
9928,
37124,
16824,
65,
72,
67,
9663,
299,
525,
51,
390,
45,
53,
566,
2601,
64,
310,
910,
1197,
14450,
299,
9663,
51,
390,
12032,
492,
310,
453,
7665,
38230,
327,
285,
10170,
22326,
46,
310,
453,
1615,
51,
560,
51,
3962,
459,
6896,
244,
299,
332,
494,
14479,
51,
3127,
45,
6896,
894,
310,
453,
1615,
51,
560,
51,
3962,
459,
106,
6896,
299,
332,
494,
14479,
51,
3127,
45,
106,
6896,
894,
310,
453,
1615,
51,
560,
51,
3962,
459,
117,
6896,
299,
332,
494,
14479,
51,
3127,
45,
117,
6896,
894,
310,
1701,
65,
3078,
67,
18196,
299,
7382,
1852,
11538,
45,
6896,
49,
503,
6896,
49,
317,
6896,
312,
310,
453,
1615,
51,
560,
51,
3962,
459,
13178,
299,
332,
494,
18196,
312,
603,
9928,
37124,
16824,
65,
72,
67,
317,
9691,
299,
9663,
51,
40424,
45,
13178,
312,
310,
4101,
51,
1357,
459,
7146,
348,
299,
12267,
317,
9691,
312,
310,
1701,
65,
5154,
37124,
65,
72,
2023,
317,
3435,
1291,
299,
12454,
2888,
37685,
5717,
72,
67,
38230,
45,
13178,
49,
317,
9691,
49,
525,
312,
310,
453,
1615,
51,
560,
51,
3962,
459,
612,
381,
1291,
299,
332,
494,
317,
3435,
1291,
312,
603,
648,
1553,
299,
9663,
51,
115,
887,
449,
503,
6896,
51,
1340,
449,
317,
6896,
51,
1340,
64,
310,
434,
327,
592,
630,
244,
53,
46,
320,
453,
3000,
18578,
1152,
343,
12454,
2888,
391,
299,
317,
9691,
51,
121,
675,
64,
343,
648,
7064,
299,
391,
51,
390,
17606,
675,
492,
343,
453,
5103,
299,
12454,
2888,
51,
1453,
87,
15159,
64,
343,
12454,
2888,
6168,
299,
556,
12454,
2888,
45,
5103,
49,
7064,
49,
317,
9691,
51,
115,
887,
49,
503,
6896,
51,
1340,
312,
343,
317,
9691,
299,
556,
9928,
37124,
16824,
65,
72,
1579,
7146,
348,
51,
352,
7784,
49,
317,
9691,
51,
115,
887,
49,
6168,
49,
317,
9691,
51,
390,
12032,
1052,
343,
453,
4089,
51,
1357,
459,
3045,
299,
12267,
6168,
312,
343,
4101,
51,
1357,
459,
7146,
348,
299,
12267,
317,
9691,
312,
343,
1701,
65,
5154,
37124,
65,
72,
2023,
44831,
299,
556,
5068,
65,
5154,
37124,
65,
72,
15150,
612,
381,
1291,
51,
911,
1052,
343,
456,
327,
5154,
37124,
65,
72,
67,
317,
518,
317,
3435,
1291,
46,
320,
419,
44831,
51,
688,
45,
7146,
348,
51,
3014,
45,
117,
894,
343,
339,
343,
1701,
65,
5154,
37124,
65,
72,
2023,
590,
299,
18560,
51,
3947,
45,
15530,
312,
343,
23078,
1209,
37124,
739,
65,
72,
67,
317,
6267,
299,
556,
23078,
1209,
37124,
739,
65,
72,
1579,
13178,
49,
317,
9691,
49,
590,
312,
343,
4101,
51,
1357,
459,
2340,
103,
299,
12267,
317,
6267,
312,
343,
461,
317,
6267,
64,
310,
339,
310,
4101,
51,
8453,
459,
1226,
33144,
456,
16550,
3163,
12267,
1553,
312,
310,
453,
18578,
1152,
310,
648,
1302,
299,
317,
6896,
51,
1340,
494,
317,
6896,
51,
1340,
64,
310,
910,
1197,
559,
6896,
299,
11479,
12032,
45,
6896,
49,
503,
6896,
312,
310,
559,
6896,
299,
11479,
12032,
45,
119,
6896,
49,
317,
6896,
312,
310,
910,
1197,
1064,
6896,
299,
556,
910,
96,
106,
6896,
51,
1340,
494,
317,
6896,
51,
1340,
988,
310,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
317,
6896,
51,
1340,
64,
613,
2002,
320,
343,
1064,
6896,
96,
110,
98,
299,
317,
6896,
96,
110,
988,
310,
339,
310,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
503,
6896,
51,
1340,
64,
613,
2002,
320,
343,
1064,
6896,
96,
117,
6896,
51,
1340,
494,
613,
98,
299,
503,
6896,
96,
110,
988,
310,
339,
603,
9928,
37124,
16824,
65,
72,
67,
300,
9691,
299,
556,
9928,
37124,
16824,
65,
72,
1579,
9691,
51,
352,
7784,
49,
1553,
49,
9663,
51,
121,
675,
49,
559,
6896,
312,
310,
453,
1615,
51,
560,
51,
3962,
459,
2185,
348,
299,
332,
494,
300,
9691,
312,
603,
12454,
2888,
391,
299,
317,
9691,
51,
121,
675,
64,
310,
648,
7064,
299,
391,
51,
390,
17606,
675,
492,
310,
12454,
2888,
6168,
299,
556,
12454,
2888,
45,
5103,
49,
7064,
49,
1302,
49,
503,
6896,
51,
1340,
312,
310,
453,
5154,
37124,
16824,
65,
72,
67,
328,
9691,
299,
556,
9928,
37124,
16824,
65,
72,
1579,
7146,
348,
51,
352,
7784,
49,
317,
9691,
51,
115,
887,
49,
6168,
49,
317,
9691,
51,
390,
12032,
1052,
603,
9928,
37124,
16824,
65,
5154,
37124,
65,
72,
2023,
559,
9691,
299,
556,
9928,
37124,
16824,
65,
5154,
37124,
65,
72,
15150,
2185,
348,
49,
1302,
49,
6168,
49,
733,
1064,
6896,
312,
310,
1701,
65,
5154,
37124,
65,
5154,
37124,
65,
72,
11978,
10766,
299,
15955,
1747,
5717,
72,
67,
18578,
45,
4939,
348,
49,
317,
3435,
1291,
312,
310,
4101,
51,
1357,
459,
4939,
348,
299,
12267,
559,
9691,
312,
310,
4101,
51,
1357,
459,
6089,
280,
299,
12267,
10766,
312,
603,
434,
327,
1527,
46,
320,
343,
559,
2901,
299,
556,
34790,
891,
1403,
1778,
33281,
8347,
8718,
65,
72,
1579,
2185,
348,
312,
310,
339,
310,
1701,
65,
5154,
37124,
65,
5154,
37124,
65,
72,
11978,
8102,
299,
559,
2901,
51,
3947,
45,
6089,
312,
310,
453,
1615,
51,
560,
51,
3962,
5564,
115,
4863,
299,
332,
494,
8102,
312,
603,
1701,
65,
5154,
37124,
65,
72,
2023,
590,
299,
15955,
1747,
5717,
72,
67,
11915,
45,
7146,
348,
49,
8102,
312,
310,
453,
1615,
51,
560,
51,
3962,
5564,
115,
76,
299,
332,
494,
590,
312,
603,
23078,
1209,
37124,
739,
65,
72,
67,
317,
6267,
299,
556,
23078,
1209,
37124,
739,
65,
72,
1579,
13178,
49,
317,
9691,
49,
590,
312,
310,
461,
317,
6267,
64,
303,
339,
222,
222,
130,
222
] |
[
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 5,857
| true
| 56.996493
| true
| true
|
AbstractDatabaseTestCase.java
|
/FileExtraction/Java_unseen/waikato-datamining_adams-base/adams-core/src/test/java/adams/test/AbstractDatabaseTestCase.java
|
/*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
/*
* AbstractDatabaseTest.java
* Copyright (C) 2009-2024 University of Waikato
*/
package adams.test;
import adams.core.Properties;
import adams.core.base.BasePassword;
import adams.db.AbstractDatabaseConnection;
import adams.db.AbstractIndexedTable;
import java.util.Hashtable;
/**
* Abstract Test class for flow actors.
*
* @author FracPete (fracpete at waikato dot ac dot nz)
*/
public abstract class AbstractDatabaseTestCase
extends AdamsTestCase {
/** property for an alternative test database props file. */
public final static String PROPERTY_TESTDBPROPS = "adams.test.db.props";
/** the properties. */
protected Properties m_DatabaseProperties;
/** whether the "database disabled" message was output already. */
protected static boolean m_DatabaseDisableMessageDisplayed;
/** whether the tables got already initialized (JDBC URL <-> true|false). */
protected static Hashtable<String,Boolean> m_TablesInitialized;
static {
m_TablesInitialized = new Hashtable<>();
}
/**
* Constructs the <code>AbstractDatabaseTest</code>. Called by subclasses.
*
* @param name the name of the test class
*/
public AbstractDatabaseTestCase(String name) {
super(name);
}
/**
* Returns the name of the database properties file to use.
*
* @return the filename
*/
protected String getDatabasePropertiesFile() {
return "adams/test/TestDatabase.props";
}
/**
* Returns the properties for the flow tests.
* If {@link #PROPERTY_TESTDBPROPS} is defined and points to a valid
* properties file, then the "file" parameter gets ignored.
*
* @param file the file to load from the classpath, eg "adams/test/TestDatabase.props"
* @return the properties
* @see Properties#read(String)
*/
protected synchronized Properties getDatabaseProperties(String file) {
String props;
boolean useDefault;
if (m_DatabaseProperties == null) {
useDefault = true;
props = System.getProperty(PROPERTY_TESTDBPROPS);
if (props != null) {
try {
useDefault = false;
m_DatabaseProperties = new Properties();
m_DatabaseProperties.load(props);
}
catch (Exception e) {
System.err.println("Failed to read properties defined in " + PROPERTY_TESTDBPROPS + ": " + props);
e.printStackTrace();
}
}
if (useDefault) {
try {
m_DatabaseProperties = Properties.read(file);
}
catch (Exception e) {
e.printStackTrace();
m_DatabaseProperties = new Properties();
}
}
}
return m_DatabaseProperties;
}
/**
* Returns the properties for the flow tests.
*
* @return the properties
*/
public synchronized Properties getDatabaseProperties() {
return getDatabaseProperties(getDatabasePropertiesFile());
}
/**
* Returns whether the database is enabled.
*
* @return true if enabled
*/
public boolean isDatabaseEnabled() {
return getDatabaseProperties().getBoolean("DatabaseEnabled", true);
}
/**
* Returns the database URL.
*
* @return the URL
*/
public String getDatabaseURL() {
return getDatabaseProperties().getProperty("DatabaseURL");
}
/**
* Returns the database user.
*
* @return the user
*/
public String getDatabaseUser() {
return getDatabaseProperties().getProperty("DatabaseUser");
}
/**
* Returns the database password.
*
* @return the password
*/
public BasePassword getDatabasePassword() {
return new BasePassword(getDatabaseProperties().getProperty("DatabasePassword"));
}
/**
* Tries to connect to the database.
*/
protected synchronized void connect() {
if (isDatabaseEnabled()) {
m_TestHelper.connect(getDatabaseURL(), getDatabaseUser(), getDatabasePassword());
initTables();
postConnect();
}
else {
if (!m_DatabaseDisableMessageDisplayed) {
m_DatabaseDisableMessageDisplayed = true;
System.out.println("Test database disabled for unit tests");
}
}
}
/**
* Hook method for actions after connecting to a database.
* Calls the test helper's postConnect() method.
*/
protected void postConnect() {
if (isDatabaseEnabled()) {
m_TestHelper.postConnect();
}
}
/**
* Reconnects to the default database.
*
* @see #getDatabasePropertiesFile()
* @see #reconnect(String)
*/
protected synchronized void reconnect() {
if (isDatabaseEnabled()) {
reconnect(getDatabasePropertiesFile());
}
}
/**
* Reconnects to the databas setup stored in the specified props file.
*
* @param file the props file with the database connection setup
*/
protected synchronized void reconnect(String file) {
m_DatabaseProperties = null;
getDatabaseProperties(file);
connect();
}
/**
* Initializes the tables if necessary.
*/
protected void initTables() {
if (!m_TablesInitialized.containsKey(getDatabaseURL()))
m_TablesInitialized.put(getDatabaseURL(), false);
if (!m_TablesInitialized.get(getDatabaseURL())) {
AbstractIndexedTable.initTables(getDatabaseConnection());
m_TablesInitialized.put(getDatabaseURL(), true);
}
}
/**
* Returns the database connection.
*/
protected AbstractDatabaseConnection getDatabaseConnection() {
return m_TestHelper.getDatabaseConnection(getDatabaseURL(), getDatabaseUser(), getDatabasePassword());
}
/**
* Called by JUnit before each test method.
*
* @throws Exception if an error occurs
*/
@Override
protected void setUp() throws Exception {
super.setUp();
connect();
}
}
| 6,289
|
Java
|
.java
|
waikato-datamining/adams-base
| 17
| 4
| 0
|
2017-09-01T22:51:51Z
|
2024-05-08T02:22:17Z
|
62280c325784e8345de77060805d77effb733ba1638c400c20eb5d3ac5fb31dd
|
[
1127,
222,
338,
280,
1369,
3477,
458,
3760,
2951,
63,
863,
902,
14081,
580,
480,
52,
290,
5370,
222,
338,
280,
580,
1549,
341,
5974,
451,
341,
6994,
6153,
5062,
1196,
641,
9582,
829,
222,
338,
280,
341,
7834,
3870,
7120,
49,
3173,
1522,
244,
56,
451,
341,
1196,
49,
575,
222,
338,
280,
327,
288,
1390,
2489,
46,
1364,
6146,
1522,
51,
222,
338,
222,
338,
280,
1369,
3477,
458,
2744,
347,
341,
9850,
708,
580,
1118,
545,
6386,
49,
222,
338,
280,
1294,
4213,
2979,
9345,
64,
2895,
4462,
341,
4506,
14319,
451,
222,
338,
280,
7934,
575,
8114,
4800,
418,
7848,
7763,
51,
244,
2819,
341,
222,
338,
280,
6994,
6153,
5062,
1196,
456,
1851,
4261,
51,
222,
338,
222,
338,
280,
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
6153,
5062,
1196,
222,
338,
280,
7979,
642,
477,
3477,
51,
244,
1691,
666,
49,
2337,
350,
544,
574,
1516,
51,
10627,
51,
1107,
52,
4205,
28699,
222,
588,
222,
222,
1127,
222,
338,
7406,
3969,
1024,
51,
1874,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
53,
62,
50,
55,
53,
55,
57,
11451,
451,
643,
102,
1567,
6599,
222,
588,
222,
222,
1337,
26177,
51,
881,
64,
222,
222,
485,
26177,
51,
1284,
51,
3303,
64,
222,
485,
26177,
51,
1284,
51,
1460,
51,
1778,
4060,
64,
222,
485,
26177,
51,
1219,
51,
5597,
3969,
2815,
64,
222,
485,
26177,
51,
1219,
51,
5597,
14770,
1617,
64,
222,
222,
485,
1401,
51,
1058,
51,
40367,
64,
222,
222,
1350,
222,
338,
7406,
2128,
462,
456,
7307,
40765,
51,
222,
338,
222,
338,
496,
2133,
10766,
348,
85,
15324,
327,
8829,
367,
538,
840,
27884,
1567,
6599,
8078,
1449,
8078,
20181,
46,
222,
588,
222,
942,
5560,
462,
7406,
3969,
7246,
353,
2041,
3604,
1480,
7246,
320,
736,
1041,
2821,
456,
619,
15541,
913,
3520,
5589,
822,
51,
588,
353,
581,
1175,
924,
910,
42102,
100,
3780,
2015,
2398,
4259,
299,
332,
358,
1480,
51,
881,
51,
1219,
51,
2976,
884,
736,
1041,
341,
4324,
51,
588,
353,
2532,
9749,
364,
100,
3969,
3303,
64,
736,
1041,
4962,
341,
332,
4617,
6879,
39,
1492,
1616,
1716,
3443,
51,
588,
353,
2532,
924,
1922,
364,
100,
3969,
12602,
1193,
27341,
64,
736,
1041,
4962,
341,
10357,
5441,
3443,
8777,
327,
42466,
3846,
568,
2176,
18862,
1855,
64,
878,
129,
1886,
566,
588,
353,
2532,
924,
46324,
65,
671,
49,
4718,
67,
364,
100,
10140,
13743,
64,
353,
924,
320,
303,
364,
100,
10140,
13743,
299,
556,
46324,
6984,
353,
339,
736,
1041,
682,
338,
29755,
341,
350,
707,
67,
5597,
3969,
1024,
396,
707,
4513,
18034,
829,
36679,
51,
682,
338,
682,
338,
496,
772,
655,
341,
655,
451,
341,
913,
462,
682,
588,
353,
581,
7406,
3969,
7246,
45,
671,
655,
46,
320,
303,
2615,
45,
444,
312,
353,
339,
736,
1041,
682,
338,
3777,
341,
655,
451,
341,
3520,
4324,
822,
391,
813,
51,
682,
338,
682,
338,
496,
620,
221,
221,
1402,
4891,
682,
588,
353,
2532,
910,
640,
3969,
3303,
991,
365,
320,
303,
461,
332,
358,
1480,
52,
881,
52,
1024,
3969,
51,
2976,
884,
353,
339,
736,
1041,
682,
338,
3777,
341,
4324,
456,
341,
7307,
3326,
51,
682,
338,
1691,
3105,
1222,
607,
12323,
100,
3780,
2015,
2398,
4259,
130,
458,
3433,
480,
5018,
391,
331,
2101,
9075,
338,
4324,
822,
49,
1636,
341,
332,
781,
39,
3416,
8572,
10308,
51,
682,
338,
682,
338,
496,
772,
822,
221,
1402,
822,
391,
2480,
664,
341,
32394,
49,
16314,
332,
358,
1480,
52,
881,
52,
1024,
3969,
51,
2976,
39,
682,
338,
496,
620,
221,
221,
1402,
4324,
682,
338,
496,
2987,
221,
221,
3303,
40,
870,
45,
671,
46,
682,
588,
353,
2532,
13436,
9749,
640,
3969,
3303,
45,
671,
822,
46,
320,
303,
910,
221,
2976,
64,
303,
1922,
221,
558,
2061,
64,
2205,
434,
327,
114,
100,
3969,
3303,
630,
762,
46,
320,
416,
813,
2061,
299,
878,
64,
416,
5589,
665,
299,
1189,
51,
12712,
45,
12323,
100,
3780,
2015,
2398,
4259,
312,
416,
434,
327,
2976,
882,
762,
46,
320,
222,
221,
1287,
320,
4107,
813,
2061,
299,
920,
64,
4107,
364,
100,
3969,
3303,
299,
556,
9749,
492,
4107,
364,
100,
3969,
3303,
51,
963,
45,
2976,
312,
222,
221,
130,
222,
221,
5639,
327,
1002,
503,
46,
320,
4107,
1189,
51,
549,
51,
3962,
459,
5296,
391,
1511,
4324,
3433,
347,
332,
494,
42102,
100,
3780,
2015,
2398,
4259,
494,
10697,
332,
494,
5589,
312,
4107,
503,
51,
9428,
492,
222,
221,
130,
416,
339,
8911,
434,
327,
558,
2061,
46,
320,
222,
221,
1287,
320,
4107,
364,
100,
3969,
3303,
299,
9749,
51,
870,
45,
781,
312,
222,
221,
130,
222,
221,
5639,
327,
1002,
503,
46,
320,
4107,
503,
51,
9428,
492,
4107,
364,
100,
3969,
3303,
299,
556,
9749,
492,
222,
221,
130,
416,
339,
303,
339,
465,
461,
364,
100,
3969,
3303,
64,
353,
339,
736,
1041,
682,
338,
3777,
341,
4324,
456,
341,
7307,
3326,
51,
682,
338,
682,
338,
496,
620,
221,
221,
1402,
4324,
682,
588,
353,
581,
13436,
9749,
640,
3969,
3303,
365,
320,
303,
461,
640,
3969,
3303,
45,
390,
3969,
3303,
991,
1052,
353,
339,
736,
1041,
682,
338,
3777,
4962,
341,
3520,
458,
5892,
51,
682,
338,
682,
338,
496,
620,
221,
221,
1527,
434,
5892,
682,
588,
353,
581,
1922,
458,
3969,
4006,
365,
320,
303,
461,
640,
3969,
3303,
941,
28151,
459,
3969,
4006,
411,
878,
312,
353,
339,
736,
1041,
682,
338,
3777,
341,
3520,
3846,
51,
682,
338,
682,
338,
496,
620,
221,
221,
1402,
3846,
682,
588,
353,
581,
910,
640,
3969,
2427,
365,
320,
303,
461,
640,
3969,
3303,
941,
12712,
459,
3969,
2427,
742,
353,
339,
736,
1041,
682,
338,
3777,
341,
3520,
1275,
51,
682,
338,
682,
338,
496,
620,
221,
221,
1402,
1275,
682,
588,
353,
581,
910,
640,
3969,
1259,
365,
320,
303,
461,
640,
3969,
3303,
941,
12712,
459,
3969,
1259,
742,
353,
339,
736,
1041,
682,
338,
3777,
341,
3520,
3894,
51,
682,
338,
682,
338,
496,
620,
221,
221,
1402,
3894,
682,
588,
353,
581,
3787,
4060,
640,
3969,
4060,
365,
320,
303,
461,
556,
3787,
4060,
45,
390,
3969,
3303,
941,
12712,
459,
3969,
4060,
2992,
353,
339,
736,
1041,
682,
338,
413,
3089,
391,
5023,
391,
341,
3520,
51,
682,
588,
353,
2532,
13436,
782,
5023,
365,
320,
303,
434,
327,
316,
3969,
4006,
1177,
320,
416,
364,
100,
39031,
51,
3532,
45,
390,
3969,
2427,
1046,
640,
3969,
1259,
1046,
640,
3969,
4060,
1052,
416,
3238,
10140,
492,
416,
2381,
6767,
492,
303,
339,
303,
832,
320,
416,
434,
1445,
114,
100,
3969,
12602,
1193,
27341,
46,
320,
222,
221,
114,
100,
3969,
12602,
1193,
27341,
299,
878,
64,
222,
221,
1615,
51,
560,
51,
3962,
459,
1024,
3520,
6879,
456,
4220,
3326,
742,
416,
339,
303,
339,
353,
339,
736,
1041,
682,
338,
36290,
1431,
456,
6905,
2703,
22416,
391,
331,
3520,
51,
682,
338,
36571,
341,
913,
9348,
1200,
2381,
6767,
365,
1431,
51,
682,
588,
353,
2532,
782,
2381,
6767,
365,
320,
303,
434,
327,
316,
3969,
4006,
1177,
320,
416,
364,
100,
39031,
51,
1545,
6767,
492,
303,
339,
353,
339,
736,
1041,
682,
338,
922,
3532,
120,
391,
341,
1263,
3520,
51,
682,
338,
682,
338,
496,
2987,
4238,
221,
40,
390,
3969,
3303,
991,
365,
682,
338,
496,
2987,
221,
221,
40,
36176,
45,
671,
46,
682,
588,
353,
2532,
13436,
782,
30372,
365,
320,
303,
434,
327,
316,
3969,
4006,
1177,
320,
416,
30372,
45,
390,
3969,
3303,
991,
1052,
303,
339,
353,
339,
736,
1041,
682,
338,
922,
3532,
120,
391,
341,
33980,
321,
4721,
7129,
347,
341,
3205,
5589,
822,
51,
682,
338,
682,
338,
496,
772,
822,
221,
1402,
5589,
822,
642,
341,
3520,
3401,
4721,
682,
588,
353,
2532,
13436,
782,
30372,
45,
671,
822,
46,
320,
303,
364,
100,
3969,
3303,
299,
762,
64,
303,
640,
3969,
3303,
45,
781,
312,
303,
5023,
492,
353,
339,
736,
1041,
682,
338,
21010,
341,
10357,
434,
7527,
51,
682,
588,
353,
2532,
782,
3238,
10140,
365,
320,
303,
434,
1445,
114,
100,
10140,
13743,
51,
15927,
45,
390,
3969,
2427,
5183,
416,
364,
100,
10140,
13743,
51,
543,
45,
390,
3969,
2427,
1046,
920,
312,
465,
434,
1445,
114,
100,
10140,
13743,
51,
390,
45,
390,
3969,
2427,
5183,
320,
416,
7406,
14770,
1617,
51,
1683,
10140,
45,
390,
3969,
2815,
1052,
416,
364,
100,
10140,
13743,
51,
543,
45,
390,
3969,
2427,
1046,
878,
312,
303,
339,
353,
339,
736,
1041,
682,
338,
3777,
341,
3520,
3401,
51,
682,
588,
353,
2532,
7406,
3969,
2815,
640,
3969,
2815,
365,
320,
303,
461,
364,
100,
39031,
51,
390,
3969,
2815,
45,
390,
3969,
2427,
1046,
640,
3969,
1259,
1046,
640,
3969,
4060,
1052,
353,
339,
736,
1041,
682,
338,
18034,
829,
990,
3024,
2688,
2531,
913,
1431,
51,
682,
338,
682,
338,
496,
5124,
3284,
434,
619,
1067,
12996,
682,
588,
353,
496,
1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1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 1,530
| true
| 68.055335
| true
| true
|
DiffieHellmanReceiver.java
|
/FileExtraction/Java_unseen/vilie_javify/classpath/gnu/javax/crypto/key/dh/DiffieHellmanReceiver.java
|
/* DiffieHellmanReceiver.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
GNU Classpath is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or (at
your option) any later version.
GNU Classpath is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
You should have received a copy of the GNU General Public License
along with GNU Classpath; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
USA
Linking this library statically or dynamically with other modules is
making a combined work based on this library. Thus, the terms and
conditions of the GNU General Public License cover the whole
combination.
As a special exception, the copyright holders of this library give you
permission to link this library with independent modules to produce an
executable, regardless of the license terms of these independent
modules, and to copy and distribute the resulting executable under
terms of your choice, provided that you also meet, for each linked
independent module, the terms and conditions of the license of that
module. An independent module is a module which is not derived from
or based on this library. If you modify this library, you may extend
this exception to your version of the library, but you are not
obligated to do so. If you do not wish to do so, delete this
exception statement from your version. */
package gnu.javax.crypto.key.dh;
import gnu.java.security.prng.IRandom;
import gnu.javax.crypto.key.KeyAgreementException;
import gnu.javax.crypto.key.IncomingMessage;
import gnu.javax.crypto.key.OutgoingMessage;
import java.math.BigInteger;
import java.security.SecureRandom;
import java.util.Map;
import javax.crypto.interfaces.DHPrivateKey;
/**
* This implementation is the receiver's part of the basic version of the
* Diffie-Hellman key agreement exchange (B in [HAC]).
*
* @see DiffieHellmanKeyAgreement
*/
public class DiffieHellmanReceiver
extends DiffieHellmanKeyAgreement
{
private BigInteger y; // the receiver's random secret
// default 0-arguments constructor
protected void engineInit(Map attributes) throws KeyAgreementException
{
Object random = attributes.get(SOURCE_OF_RANDOMNESS);
rnd = null;
irnd = null;
if (random instanceof SecureRandom)
rnd = (SecureRandom) random;
else if (random instanceof IRandom)
irnd = (IRandom) random;
ownerKey = (DHPrivateKey) attributes.get(KA_DIFFIE_HELLMAN_OWNER_PRIVATE_KEY);
if (ownerKey == null)
throw new KeyAgreementException("missing owner's private key");
}
protected OutgoingMessage engineProcessMessage(IncomingMessage in)
throws KeyAgreementException
{
switch (step)
{
case 0:
return computeSharedSecret(in);
default:
throw new IllegalStateException("unexpected state");
}
}
private OutgoingMessage computeSharedSecret(IncomingMessage in)
throws KeyAgreementException
{
BigInteger m1 = in.readMPI();
if (m1 == null)
throw new KeyAgreementException("missing message (1)");
BigInteger p = ownerKey.getParams().getP();
BigInteger g = ownerKey.getParams().getG();
// B chooses a random integer y, 1 <= y <= p-2
// rfc-2631 restricts y to only be in [2, p-1]
BigInteger p_minus_2 = p.subtract(TWO);
byte[] xBytes = new byte[(p_minus_2.bitLength() + 7) / 8];
do
{
nextRandomBytes(xBytes);
y = new BigInteger(1, xBytes);
}
while (! (y.compareTo(TWO) >= 0 && y.compareTo(p_minus_2) <= 0));
ZZ = m1.modPow(y, p); // ZZ = (yb ^ xa) mod p
complete = true;
// B sends A the message: g^y mod p
OutgoingMessage result = new OutgoingMessage();
result.writeMPI(g.modPow(y, p)); // message (2)
return result;
}
}
| 4,139
|
Java
|
.java
|
vilie/javify
| 9
| 3
| 0
|
2016-01-23T12:09:27Z
|
2016-02-05T16:41:18Z
|
8979b488dc4d064951266d49ddf9bf86b16f7ee8d9ae8f26aa61088aca44caec
|
[
1127,
21880,
1093,
77,
1042,
1607,
12715,
51,
1874,
790,
682,
2657,
327,
72,
46,
244,
55,
53,
53,
56,
49,
244,
55,
53,
53,
59,
7834,
3870,
7120,
49,
6367,
51,
222,
222,
2287,
822,
458,
331,
1760,
451,
6994,
1727,
1005,
51,
222,
222,
21307,
1727,
1005,
458,
3760,
2951,
64,
863,
902,
14081,
580,
480,
52,
290,
5370,
222,
302,
1549,
341,
5974,
451,
341,
6994,
6153,
5062,
1196,
641,
9582,
829,
222,
1402,
7834,
3870,
7120,
64,
3173,
1522,
244,
55,
451,
341,
1196,
49,
575,
327,
288,
222,
8772,
2489,
46,
1364,
6146,
1522,
51,
222,
222,
21307,
1727,
1005,
458,
2744,
347,
341,
9850,
708,
580,
1118,
545,
6386,
49,
1294,
222,
26480,
2979,
9345,
64,
2895,
4462,
341,
4506,
14319,
451,
222,
22265,
7760,
575,
8114,
4800,
418,
7848,
7763,
51,
244,
2819,
341,
6994,
222,
8633,
5062,
1196,
456,
1851,
4261,
51,
222,
222,
4296,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
6153,
5062,
1196,
222,
40307,
642,
6994,
1727,
1005,
64,
434,
666,
49,
2886,
391,
341,
7834,
3870,
222,
9687,
49,
6367,
4345,
244,
58,
54,
34113,
1277,
49,
33316,
26912,
49,
25006,
49,
13083,
244,
53,
55,
54,
54,
53,
50,
54,
56,
53,
54,
222,
32708,
222,
222,
2375,
318,
477,
4277,
924,
1266,
575,
22530,
642,
1623,
7912,
458,
222,
36339,
331,
17011,
1409,
4148,
563,
477,
4277,
51,
244,
23245,
49,
341,
5974,
480,
222,
8438,
451,
341,
6994,
6153,
5062,
1196,
6399,
341,
9859,
222,
20939,
387,
51,
222,
222,
1482,
331,
7472,
3773,
49,
341,
5550,
7649,
502,
451,
477,
4277,
7651,
863,
222,
9207,
391,
2572,
477,
4277,
642,
16403,
7912,
391,
13909,
619,
222,
21876,
49,
23270,
451,
341,
3553,
5974,
451,
3301,
16403,
222,
3490,
49,
480,
391,
1948,
480,
11915,
341,
14341,
15020,
1549,
222,
13116,
451,
1390,
11704,
49,
3961,
708,
863,
2353,
18457,
49,
456,
2531,
12258,
222,
29203,
2313,
49,
341,
5974,
480,
5496,
451,
341,
3553,
451,
708,
222,
1663,
51,
244,
2262,
16403,
2313,
458,
331,
2313,
1532,
458,
666,
12015,
664,
222,
290,
4148,
563,
477,
4277,
51,
244,
1691,
863,
5370,
477,
4277,
49,
863,
1648,
12385,
222,
597,
3773,
391,
1390,
1522,
451,
341,
4277,
49,
1294,
863,
904,
666,
222,
926,
13255,
751,
391,
764,
1278,
51,
244,
1691,
863,
764,
666,
15873,
391,
764,
1278,
49,
3081,
477,
222,
3918,
7627,
664,
1390,
1522,
51,
244,
588,
499,
222,
1337,
504,
10024,
51,
10775,
51,
8866,
51,
697,
51,
11521,
64,
222,
222,
485,
504,
10024,
51,
1874,
51,
4386,
51,
796,
1159,
51,
3914,
1945,
64,
222,
222,
485,
504,
10024,
51,
10775,
51,
8866,
51,
697,
51,
971,
31628,
1002,
64,
222,
485,
504,
10024,
51,
10775,
51,
8866,
51,
697,
51,
24123,
1193,
64,
222,
485,
504,
10024,
51,
10775,
51,
8866,
51,
697,
51,
36325,
1193,
64,
222,
222,
485,
1401,
51,
3851,
51,
21520,
64,
222,
485,
1401,
51,
4386,
51,
16591,
6124,
64,
222,
485,
1401,
51,
1058,
51,
1225,
64,
222,
222,
485,
3698,
51,
8866,
51,
11204,
51,
73,
3617,
817,
971,
64,
222,
222,
1350,
222,
338,
1369,
4753,
458,
341,
13570,
1200,
1760,
451,
341,
6575,
1522,
451,
341,
222,
338,
21880,
1093,
50,
77,
1042,
1607,
1221,
21674,
15053,
327,
71,
347,
447,
77,
1205,
8527,
222,
338,
222,
338,
496,
2987,
21880,
1093,
77,
1042,
1607,
971,
31628,
222,
588,
222,
942,
462,
21880,
1093,
77,
1042,
1607,
12715,
303,
2041,
21880,
1093,
77,
1042,
1607,
971,
31628,
222,
128,
353,
964,
21721,
553,
64,
453,
341,
13570,
1200,
4051,
9321,
736,
453,
1263,
244,
53,
50,
8306,
4389,
736,
2532,
782,
6894,
3588,
45,
1225,
5437,
46,
2589,
3907,
31628,
1002,
353,
320,
303,
2210,
4051,
299,
5437,
51,
390,
45,
8192,
100,
2124,
100,
32976,
7126,
312,
303,
30712,
299,
762,
64,
303,
7710,
1462,
299,
762,
64,
303,
434,
327,
3917,
5118,
25525,
6124,
46,
416,
30712,
299,
327,
16591,
6124,
46,
4051,
64,
303,
832,
434,
327,
3917,
5118,
457,
6124,
46,
416,
7710,
1462,
299,
327,
3914,
1945,
46,
4051,
64,
303,
7431,
971,
299,
327,
73,
3617,
817,
971,
46,
5437,
51,
390,
45,
21729,
100,
30033,
4007,
100,
1692,
3218,
10662,
100,
31980,
100,
16846,
100,
3319,
312,
303,
434,
327,
5645,
971,
630,
762,
46,
416,
1440,
556,
3907,
31628,
1002,
459,
9832,
7431,
1200,
964,
1221,
742,
353,
339,
736,
2532,
4322,
12403,
1193,
6894,
2877,
1193,
45,
24123,
1193,
347,
46,
416,
2589,
3907,
31628,
1002,
353,
320,
303,
3593,
327,
3023,
46,
416,
320,
416,
1152,
244,
53,
63,
310,
461,
7665,
7444,
7795,
45,
285,
312,
416,
1263,
63,
310,
1440,
556,
21641,
459,
22536,
1621,
742,
416,
339,
353,
339,
736,
964,
4322,
12403,
1193,
7665,
7444,
7795,
45,
24123,
1193,
347,
46,
416,
2589,
3907,
31628,
1002,
353,
320,
303,
21721,
364,
54,
299,
347,
51,
870,
15901,
492,
303,
434,
327,
114,
54,
630,
762,
46,
416,
1440,
556,
3907,
31628,
1002,
459,
9832,
1492,
327,
54,
13365,
303,
21721,
317,
299,
7431,
971,
51,
390,
2799,
941,
34120,
492,
303,
21721,
504,
299,
7431,
971,
51,
390,
2799,
941,
390,
76,
492,
303,
453,
570,
683,
623,
1490,
331,
4051,
5009,
553,
49,
244,
54,
2527,
553,
2527,
317,
50,
55,
303,
453,
559,
3526,
50,
55,
59,
56,
54,
21452,
120,
553,
391,
1773,
545,
347,
447,
55,
49,
317,
50,
54,
98,
303,
21721,
317,
100,
15181,
100,
55,
299,
317,
51,
25340,
45,
36373,
312,
303,
3447,
1197,
837,
3656,
299,
556,
3447,
9448,
117,
100,
15181,
100,
55,
51,
2417,
2396,
365,
494,
244,
60,
46,
536,
244,
61,
988,
303,
764,
416,
320,
310,
2371,
6124,
3656,
45,
125,
3656,
312,
310,
553,
299,
556,
21721,
45,
54,
49,
837,
3656,
312,
416,
339,
303,
2236,
1445,
327,
126,
51,
23879,
45,
36373,
46,
2394,
244,
53,
979,
553,
51,
23879,
45,
117,
100,
15181,
100,
55,
46,
2527,
244,
53,
894,
303,
2538,
95,
299,
364,
54,
51,
1820,
23437,
45,
126,
49,
317,
312,
453,
2538,
95,
299,
327,
19690,
5317,
37783,
46,
2065,
317,
303,
6179,
299,
878,
64,
303,
453,
570,
18613,
418,
341,
1492,
63,
504,
99,
126,
2065,
317,
303,
4322,
12403,
1193,
1074,
299,
556,
4322,
12403,
1193,
492,
303,
1074,
51,
1838,
15901,
45,
108,
51,
1820,
23437,
45,
126,
49,
317,
894,
453,
1492,
327,
55,
46,
303,
461,
1074,
64,
353,
339,
222,
130,
222
] |
[
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,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
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 1,089
| true
| 72.046388
| true
| true
|
UsageOutOfRangeFilter.java
|
/FileExtraction/Java_unseen/RestComm_jain-slee/api/jar/src/main/java/javax/slee/usage/UsageOutOfRangeFilter.java
|
package javax.slee.usage;
import javax.management.Notification;
import javax.management.NotificationFilter;
import javax.slee.InvalidArgumentException;
import javax.slee.SbbID;
import javax.slee.ServiceID;
import javax.slee.management.NotificationSource;
/**
* A notification filter that only allows through {@link UsageNotification}s where the
* notification source and usage parameter name match specified values, and the value of
* the usage parameter contained in the notification falls outside a specified range.
* <p>
* If the notification contains usage information for some other notification source or
* usage parameter, or the value of the usage parameter falls within the specified range,
* the notification is suppressed.
* <p>
* Notifications that are not instances of {@link UsageNotification} are suppressed
* by this filter.
*/
public class UsageOutOfRangeFilter implements NotificationFilter {
/**
* Create a <code>UsageOutOfRangeFilter</code>. A filter created using this constructor
* will only allow SLEE 1.0-compliant usage notifications to pass through where they
* otherwise satisfy the filtering criteria.
* @param service the component identifier of the Service whose usage parameter
* should be monitored.
* @param sbb the component identifier of the SBB whose usage parameter should be
* monitored.
* @param paramName the name of a usage parameter defined by the SBB.
* @param lowValue the lower bound of the range. Notifications are allowed through
* this filter if the value of the specified usage parameter is less than
* this value.
* @param highValue the upper bound of the range. Notifications are allowed through
* this filter if the value of the specified usage parameter is greater than
* this value.
* @throws NullPointerException if <code>service</code>, <code>sbb</code>, or
* <code>paramName</code> is <code>null</code>.
* @throws InvalidArgumentException if <code>highValue < lowValue</code>.
* @deprecated Replaced with {@link #UsageOutOfRangeFilter(NotificationSource, String, long, long)}
* as usage collecting has been expanded to include SLEE components other than SBBs.
*/
public UsageOutOfRangeFilter(ServiceID service, SbbID sbb, String paramName, long lowValue, long highValue) throws NullPointerException, InvalidArgumentException {
if (service == null) throw new NullPointerException("service is null");
if (sbb == null) throw new NullPointerException("sbb is null");
if (paramName == null) throw new NullPointerException("paramName is null");
if (highValue < lowValue) throw new InvalidArgumentException("highValue < lowValue");
this.service = service;
this.sbb = sbb;
this.paramName = paramName;
this.lowValue = lowValue;
this.highValue = highValue;
// forward compatibiltiy
this.notificationSource = null;
}
/**
* Create a <code>UsageOutOfRangeFilter</code>. A filter created using this constructor
* will only allow SLEE 1.0-compliant usage notifications to pass through where they
* otherwise satisfy the filtering criteria.
* @param notificationSource the notification source whose usage parameter should be
* monitored.
* @param paramName the name of a usage parameter defined by the SBB.
* @param lowValue the lower bound of the range. Notifications are allowed through
* this filter if the value of the specified usage parameter is less than
* this value.
* @param highValue the upper bound of the range. Notifications are allowed through
* this filter if the value of the specified usage parameter is greater than
* this value.
* @throws NullPointerException if <code>notificationSource</code> or <code>paramName</code>
* is <code>null</code>.
* @throws InvalidArgumentException if <code>highValue < lowValue</code>.
*/
public UsageOutOfRangeFilter(NotificationSource notificationSource, String paramName, long lowValue, long highValue) throws NullPointerException, InvalidArgumentException {
if (notificationSource == null) throw new NullPointerException("notificationSource is null");
if (paramName == null) throw new NullPointerException("paramName is null");
if (highValue < lowValue) throw new InvalidArgumentException("highValue < lowValue");
this.notificationSource = notificationSource;
this.paramName = paramName;
this.lowValue = lowValue;
this.highValue = highValue;
// backward compatibiltiy
this.service = null;
this.sbb = null;
}
/**
* Determine whether the specified notification should be delivered to notification
* listeners using this notification filter.
* @param notification the notification to be sent.
* @return <code>true</code> if the notification should be delivered to notification
* listeners, <code>false</code> otherwise. This method always returns
* <code>false</code> if <code>notification</code> is not an instance of
* {@link UsageNotification}.
*/
public boolean isNotificationEnabled(Notification notification) {
if (!(notification instanceof UsageNotification)) return false;
UsageNotification usageNotification = (UsageNotification)notification;
if (service != null) {
// SLEE 1.0 comparison
return service.equals(usageNotification.getService())
&& sbb.equals(usageNotification.getSbb())
&& paramName.equals(usageNotification.getUsageParameterName())
&& (usageNotification.getValue() < lowValue || usageNotification.getValue() > highValue);
}
else {
// SLEE 1.1 comparison
return notificationSource.equals(usageNotification.getNotificationSource())
&& paramName.equals(usageNotification.getUsageParameterName())
&& (usageNotification.getValue() < lowValue || usageNotification.getValue() > highValue);
}
}
private final ServiceID service;
private final SbbID sbb;
private final NotificationSource notificationSource;
private final String paramName;
private final long lowValue;
private final long highValue;
}
| 6,485
|
Java
|
.java
|
RestComm/jain-slee
| 24
| 49
| 29
|
2012-08-17T17:50:15Z
|
2024-01-09T14:29:21Z
|
5e254cd2f4929de446e19c8f91ff428fa8790e8a52fedf38ca067fa4d39a9922
|
[
1337,
3698,
51,
120,
13372,
51,
8797,
64,
222,
222,
485,
3698,
51,
9343,
51,
6258,
64,
222,
485,
3698,
51,
9343,
51,
6258,
2365,
64,
222,
485,
3698,
51,
120,
13372,
51,
34892,
64,
222,
485,
3698,
51,
120,
13372,
51,
88,
2901,
798,
64,
222,
485,
3698,
51,
120,
13372,
51,
1201,
798,
64,
222,
485,
3698,
51,
120,
13372,
51,
9343,
51,
6258,
2044,
64,
222,
222,
1350,
222,
338,
418,
9203,
2785,
708,
1773,
6990,
3939,
3105,
1222,
10495,
6258,
130,
120,
2174,
341,
222,
338,
9203,
1932,
480,
6898,
3416,
655,
2549,
3205,
2102,
49,
480,
341,
804,
451,
222,
338,
341,
6898,
3416,
14561,
347,
341,
9203,
39407,
11154,
331,
3205,
2189,
51,
222,
338,
350,
117,
67,
222,
338,
1691,
341,
9203,
4326,
6898,
2490,
456,
1649,
1623,
9203,
1932,
575,
222,
338,
6898,
3416,
49,
575,
341,
804,
451,
341,
6898,
3416,
39407,
4824,
341,
3205,
2189,
49,
222,
338,
341,
9203,
458,
11091,
4787,
51,
222,
338,
350,
117,
67,
222,
338,
41859,
708,
904,
666,
6947,
451,
3105,
1222,
10495,
6258,
130,
904,
11091,
4787,
222,
338,
829,
477,
2785,
51,
222,
588,
222,
942,
462,
10495,
27046,
2365,
4584,
14387,
2365,
320,
303,
1041,
294,
338,
2673,
331,
350,
707,
67,
6786,
27046,
2365,
396,
707,
4513,
244,
418,
2785,
3290,
1493,
477,
4389,
294,
338,
1118,
1773,
2625,
377,
833,
74,
244,
54,
51,
53,
50,
998,
24797,
6898,
15858,
391,
3119,
3939,
2174,
2974,
294,
338,
5897,
30101,
341,
17514,
15296,
51,
294,
338,
496,
772,
2733,
341,
2595,
7262,
451,
341,
4860,
13719,
6898,
3416,
294,
338,
370,
1414,
545,
3797,
29893,
51,
294,
338,
496,
772,
328,
2901,
341,
2595,
7262,
451,
341,
377,
5117,
13719,
6898,
3416,
1414,
545,
294,
338,
370,
3797,
29893,
51,
294,
338,
496,
772,
4380,
577,
341,
655,
451,
331,
6898,
3416,
3433,
829,
341,
377,
5117,
51,
294,
338,
496,
772,
7487,
899,
341,
7245,
5105,
451,
341,
2189,
51,
244,
41859,
904,
6671,
3939,
294,
338,
370,
477,
2785,
434,
341,
804,
451,
341,
3205,
6898,
3416,
458,
6717,
2806,
294,
338,
370,
477,
804,
51,
294,
338,
496,
772,
3883,
899,
341,
8373,
5105,
451,
341,
2189,
51,
244,
41859,
904,
6671,
3939,
294,
338,
370,
477,
2785,
434,
341,
804,
451,
341,
3205,
6898,
3416,
458,
10783,
2806,
294,
338,
370,
477,
804,
51,
294,
338,
496,
5124,
23203,
434,
350,
707,
67,
2140,
396,
707,
2731,
350,
707,
67,
120,
2901,
396,
707,
2731,
575,
294,
338,
370,
350,
707,
67,
772,
577,
396,
707,
67,
458,
350,
707,
67,
1710,
396,
707,
4513,
294,
338,
496,
5124,
48026,
434,
350,
707,
67,
4385,
899,
350,
7487,
899,
396,
707,
4513,
294,
338,
496,
15033,
922,
11326,
642,
3105,
1222,
607,
6786,
27046,
2365,
45,
6258,
2044,
49,
910,
49,
1964,
49,
1964,
4416,
294,
338,
370,
641,
6898,
46382,
1421,
2602,
20911,
391,
2323,
377,
833,
74,
6361,
1623,
2806,
377,
5117,
120,
51,
294,
588,
303,
581,
10495,
27046,
2365,
45,
1201,
798,
2733,
49,
377,
2901,
798,
328,
2901,
49,
910,
4380,
577,
49,
1964,
7487,
899,
49,
1964,
3883,
899,
46,
2589,
23203,
49,
48026,
320,
310,
434,
327,
2140,
630,
762,
46,
1440,
556,
23203,
459,
2140,
458,
762,
742,
310,
434,
327,
120,
2901,
630,
762,
46,
1440,
556,
23203,
459,
120,
2901,
458,
762,
742,
310,
434,
327,
772,
577,
630,
762,
46,
1440,
556,
23203,
459,
772,
577,
458,
762,
742,
603,
434,
327,
4385,
899,
350,
7487,
899,
46,
1440,
556,
48026,
459,
4385,
899,
350,
7487,
899,
742,
603,
477,
51,
2140,
299,
2733,
64,
310,
477,
51,
120,
2901,
299,
328,
2901,
64,
310,
477,
51,
772,
577,
299,
4380,
577,
64,
310,
477,
51,
760,
899,
299,
7487,
899,
64,
310,
477,
51,
4385,
899,
299,
3883,
899,
64,
603,
453,
7425,
8262,
947,
3430,
16120,
310,
477,
51,
8855,
2044,
299,
762,
64,
303,
339,
465,
1041,
294,
338,
2673,
331,
350,
707,
67,
6786,
27046,
2365,
396,
707,
4513,
244,
418,
2785,
3290,
1493,
477,
4389,
294,
338,
1118,
1773,
2625,
377,
833,
74,
244,
54,
51,
53,
50,
998,
24797,
6898,
15858,
391,
3119,
3939,
2174,
2974,
294,
338,
5897,
30101,
341,
17514,
15296,
51,
294,
338,
496,
772,
9203,
2044,
341,
9203,
1932,
13719,
6898,
3416,
1414,
545,
294,
338,
370,
3797,
29893,
51,
294,
338,
496,
772,
4380,
577,
341,
655,
451,
331,
6898,
3416,
3433,
829,
341,
377,
5117,
51,
294,
338,
496,
772,
7487,
899,
341,
7245,
5105,
451,
341,
2189,
51,
244,
41859,
904,
6671,
3939,
294,
338,
370,
477,
2785,
434,
341,
804,
451,
341,
3205,
6898,
3416,
458,
6717,
2806,
294,
338,
370,
477,
804,
51,
294,
338,
496,
772,
3883,
899,
341,
8373,
5105,
451,
341,
2189,
51,
244,
41859,
904,
6671,
3939,
294,
338,
370,
477,
2785,
434,
341,
804,
451,
341,
3205,
6898,
3416,
458,
10783,
2806,
294,
338,
370,
477,
804,
51,
294,
338,
496,
5124,
23203,
434,
350,
707,
67,
8855,
2044,
396,
707,
67,
575,
350,
707,
67,
772,
577,
396,
707,
67,
294,
338,
370,
458,
350,
707,
67,
1710,
396,
707,
4513,
294,
338,
496,
5124,
48026,
434,
350,
707,
67,
4385,
899,
350,
7487,
899,
396,
707,
4513,
294,
588,
303,
581,
10495,
27046,
2365,
45,
6258,
2044,
9203,
2044,
49,
910,
4380,
577,
49,
1964,
7487,
899,
49,
1964,
3883,
899,
46,
2589,
23203,
49,
48026,
320,
310,
434,
327,
8855,
2044,
630,
762,
46,
1440,
556,
23203,
459,
8855,
2044,
458,
762,
742,
310,
434,
327,
772,
577,
630,
762,
46,
1440,
556,
23203,
459,
772,
577,
458,
762,
742,
603,
434,
327,
4385,
899,
350,
7487,
899,
46,
1440,
556,
48026,
459,
4385,
899,
350,
7487,
899,
742,
603,
477,
51,
8855,
2044,
299,
9203,
2044,
64,
310,
477,
51,
772,
577,
299,
4380,
577,
64,
310,
477,
51,
760,
899,
299,
7487,
899,
64,
310,
477,
51,
4385,
899,
299,
3883,
899,
64,
603,
453,
21942,
8262,
947,
3430,
16120,
310,
477,
51,
2140,
299,
762,
64,
310,
477,
51,
120,
2901,
299,
762,
64,
303,
339,
465,
1041,
294,
338,
22032,
4962,
341,
3205,
9203,
1414,
545,
31436,
391,
9203,
294,
338,
18370,
1493,
477,
9203,
2785,
51,
294,
338,
496,
772,
9203,
341,
9203,
391,
545,
4643,
51,
294,
338,
496,
620,
350,
707,
67,
1527,
396,
707,
67,
434,
341,
9203,
1414,
545,
31436,
391,
9203,
294,
338,
370,
18370,
49,
350,
707,
67,
1886,
396,
707,
67,
5897,
51,
244,
1369,
1431,
5198,
3235,
294,
338,
370,
350,
707,
67,
1886,
396,
707,
67,
434,
350,
707,
67,
8855,
396,
707,
67,
458,
666,
619,
1998,
451,
294,
338,
370,
3105,
1222,
10495,
6258,
4037,
294,
588,
303,
581,
1922,
458,
6258,
4006,
45,
6258,
9203,
46,
320,
310,
434,
11014,
8855,
5118,
10495,
6258,
509,
461,
920,
64,
603,
10495,
6258,
6898,
6258,
299,
327,
6786,
6258,
46,
8855,
64,
310,
434,
327,
2140,
882,
762,
46,
320,
343,
453,
377,
833,
74,
244,
54,
51,
53,
14872,
343,
461,
2733,
51,
3591,
45,
8797,
6258,
51,
25419,
1177,
419,
979,
328,
2901,
51,
3591,
45,
8797,
6258,
51,
18721,
2901,
1177,
419,
979,
4380,
577,
51,
3591,
45,
8797,
6258,
51,
390,
6786,
40958,
1177,
419,
979,
327,
8797,
6258,
51,
6693,
365,
350,
7487,
899,
1293,
6898,
6258,
51,
6693,
365,
868,
3883,
899,
312,
310,
339,
310,
832,
320,
343,
453,
377,
833,
74,
244,
54,
51,
54,
14872,
343,
461,
9203,
2044,
51,
3591,
45,
8797,
6258,
51,
390,
6258,
2044,
1177,
419,
979,
4380,
577,
51,
3591,
45,
8797,
6258,
51,
390,
6786,
40958,
1177,
419,
979,
327,
8797,
6258,
51,
6693,
365,
350,
7487,
899,
1293,
6898,
6258,
51,
6693,
365,
868,
3883,
899,
312,
310,
339,
303,
339,
4054,
964,
1175,
4860,
798,
2733,
64,
303,
964,
1175,
377,
2901,
798,
328,
2901,
64,
303,
964,
1175,
14387,
2044,
9203,
2044,
64,
303,
964,
1175,
910,
4380,
577,
64,
303,
964,
1175,
1964,
7487,
899,
64,
303,
964,
1175,
1964,
3883,
899,
64,
222,
130,
499
] |
[
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 1,359
| true
| 69.884348
| true
| true
|
ColorExtractionAlgorithm.java
|
/FileExtraction/Java_unseen/linsui_librechair/src_ui_overrides/com/android/launcher3/uioverrides/dynamicui/ColorExtractionAlgorithm.java
|
/*
* Copyright (C) 2017 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.android.launcher3.uioverrides.dynamicui;
import android.content.Context;
import android.graphics.Color;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.core.graphics.ColorUtils;
import android.util.Log;
import android.util.Pair;
import android.util.Range;
import com.android.launcher3.R;
import com.android.launcher3.Utilities;
import java.util.Arrays;
import java.util.LinkedList;
import java.util.List;
/**
* Implementation of tonal color extraction
**/
public class ColorExtractionAlgorithm {
public static ColorExtractionAlgorithm newInstance(Context context) {
return Utilities.getOverrideObject(ColorExtractionAlgorithm.class,
context.getApplicationContext(), R.string.color_extraction_impl_class);
}
private static final String TAG = "Tonal";
// Used for tonal palette fitting
private static final float FIT_WEIGHT_H = 1.0f;
private static final float FIT_WEIGHT_S = 1.0f;
private static final float FIT_WEIGHT_L = 10.0f;
public static final int MAIN_COLOR_LIGHT = 0xffb0b0b0;
public static final int SECONDARY_COLOR_LIGHT = 0xff9e9e9e;
public static final int MAIN_COLOR_DARK = 0xff212121;
public static final int SECONDARY_COLOR_DARK = 0xff000000;
// Temporary variable to avoid allocations
private float[] mTmpHSL = new float[3];
public Pair<Integer, Integer> extractInto(WallpaperColorsCompat inWallpaperColors) {
if (inWallpaperColors == null) {
return applyFallback(inWallpaperColors);
}
final List<Integer> mainColors = getMainColors(inWallpaperColors);
final int mainColorsSize = mainColors.size();
final boolean supportsDarkText = (inWallpaperColors.getColorHints() &
WallpaperColorsCompat.HINT_SUPPORTS_DARK_TEXT) != 0;
if (mainColorsSize == 0) {
return applyFallback(inWallpaperColors);
}
// Tonal is not really a sort, it takes a color from the extracted
// palette and finds a best fit amongst a collection of pre-defined
// palettes. The best fit is tweaked to be closer to the source color
// and replaces the original palette
// Get the most preeminent, non-blacklisted color.
Integer bestColor = 0;
final float[] hsl = new float[3];
for (int i = 0; i < mainColorsSize; i++) {
final int colorValue = mainColors.get(i);
ColorUtils.RGBToHSL(Color.red(colorValue), Color.green(colorValue),
Color.blue(colorValue), hsl);
// Stop when we find a color that meets our criteria
if (!isBlacklisted(hsl)) {
bestColor = colorValue;
break;
}
}
// Fail if not found
if (bestColor == null) {
return applyFallback(inWallpaperColors);
}
int colorValue = bestColor;
ColorUtils.RGBToHSL(Color.red(colorValue), Color.green(colorValue), Color.blue(colorValue),
hsl);
// The Android HSL definition requires the hue to go from 0 to 360 but
// the Material Tonal Palette defines hues from 0 to 1.
hsl[0] /= 360f;
// Find the palette that contains the closest color
TonalPalette palette = findTonalPalette(hsl[0], hsl[1]);
if (palette == null) {
Log.w(TAG, "Could not find a tonal palette!");
return applyFallback(inWallpaperColors);
}
// Figure out what's the main color index in the optimal palette
int fitIndex = bestFit(palette, hsl[0], hsl[1], hsl[2]);
if (fitIndex == -1) {
Log.w(TAG, "Could not find best fit!");
return applyFallback(inWallpaperColors);
}
// Generate the 10 colors palette by offsetting each one of them
float[] h = fit(palette.h, hsl[0], fitIndex,
Float.NEGATIVE_INFINITY, Float.POSITIVE_INFINITY);
float[] s = fit(palette.s, hsl[1], fitIndex, 0.0f, 1.0f);
float[] l = fit(palette.l, hsl[2], fitIndex, 0.0f, 1.0f);
int primaryIndex = fitIndex;
int mainColor = getColorInt(primaryIndex, h, s, l);
// We might want use the fallback in case the extracted color is brighter than our
// light fallback or darker than our dark fallback.
ColorUtils.colorToHSL(mainColor, mTmpHSL);
final float mainLuminosity = mTmpHSL[2];
ColorUtils.colorToHSL(MAIN_COLOR_LIGHT, mTmpHSL);
final float lightLuminosity = mTmpHSL[2];
if (mainLuminosity > lightLuminosity) {
return applyFallback(inWallpaperColors);
}
ColorUtils.colorToHSL(MAIN_COLOR_DARK, mTmpHSL);
final float darkLuminosity = mTmpHSL[2];
if (mainLuminosity < darkLuminosity) {
return applyFallback(inWallpaperColors);
}
// Dark colors:
// Stops at 4th color, only lighter if dark text is supported
if (supportsDarkText) {
primaryIndex = h.length - 1;
} else if (fitIndex < 2) {
primaryIndex = 0;
} else {
primaryIndex = Math.min(fitIndex, 3);
}
int secondaryIndex = primaryIndex + (primaryIndex >= 2 ? -2 : 2);
int secondaryColor = getColorInt(secondaryIndex, h, s, l);
return new Pair<>(mainColor, secondaryColor);
}
public static Pair<Integer, Integer> applyFallback(WallpaperColorsCompat inWallpaperColors) {
boolean light = inWallpaperColors != null
&& (inWallpaperColors.getColorHints()
& WallpaperColorsCompat.HINT_SUPPORTS_DARK_TEXT)!= 0;
int innerColor = light ? MAIN_COLOR_LIGHT : MAIN_COLOR_DARK;
int outerColor = light ? SECONDARY_COLOR_LIGHT : SECONDARY_COLOR_DARK;
return new Pair<>(innerColor, outerColor);
}
private int getColorInt(int fitIndex, float[] h, float[] s, float[] l) {
mTmpHSL[0] = fract(h[fitIndex]) * 360.0f;
mTmpHSL[1] = s[fitIndex];
mTmpHSL[2] = l[fitIndex];
return ColorUtils.HSLToColor(mTmpHSL);
}
/**
* Checks if a given color exists in the blacklist
* @param hsl float array with 3 components (H 0..360, S 0..1 and L 0..1)
* @return true if color should be avoided
*/
private boolean isBlacklisted(float[] hsl) {
for (ColorRange badRange: BLACKLISTED_COLORS) {
if (badRange.containsColor(hsl[0], hsl[1], hsl[2])) {
return true;
}
}
return false;
}
/**
* Offsets all colors by a delta, clamping values that go beyond what's
* supported on the color space.
* @param data what you want to fit
* @param v how big should be the offset
* @param index which index to calculate the delta against
* @param min minimum accepted value (clamp)
* @param max maximum accepted value (clamp)
* @return new shifted palette
*/
private static float[] fit(float[] data, float v, int index, float min, float max) {
float[] fitData = new float[data.length];
float delta = v - data[index];
for (int i = 0; i < data.length; i++) {
fitData[i] = Utilities.boundToRange(data[i] + delta, min, max);
}
return fitData;
}
/**
* Finds the closest color in a palette, given another HSL color
*
* @param palette where to search
* @param h hue
* @param s saturation
* @param l lightness
* @return closest index or -1 if palette is empty.
*/
private static int bestFit(@NonNull TonalPalette palette, float h, float s, float l) {
int minErrorIndex = -1;
float minError = Float.POSITIVE_INFINITY;
for (int i = 0; i < palette.h.length; i++) {
float error =
FIT_WEIGHT_H * Math.abs(h - palette.h[i])
+ FIT_WEIGHT_S * Math.abs(s - palette.s[i])
+ FIT_WEIGHT_L * Math.abs(l - palette.l[i]);
if (error < minError) {
minError = error;
minErrorIndex = i;
}
}
return minErrorIndex;
}
@Nullable
private static TonalPalette findTonalPalette(float h, float s) {
// Fallback to a grey palette if the color is too desaturated.
// This avoids hue shifts.
if (s < 0.05f) {
return GREY_PALETTE;
}
TonalPalette best = null;
float error = Float.POSITIVE_INFINITY;
for (int i = 0; i < TONAL_PALETTES.length; i++) {
final TonalPalette candidate = TONAL_PALETTES[i];
if (h >= candidate.minHue && h <= candidate.maxHue) {
best = candidate;
break;
}
if (candidate.maxHue > 1.0f && h >= 0.0f && h <= fract(candidate.maxHue)) {
best = candidate;
break;
}
if (candidate.minHue < 0.0f && h >= fract(candidate.minHue) && h <= 1.0f) {
best = candidate;
break;
}
if (h <= candidate.minHue && candidate.minHue - h < error) {
best = candidate;
error = candidate.minHue - h;
} else if (h >= candidate.maxHue && h - candidate.maxHue < error) {
best = candidate;
error = h - candidate.maxHue;
} else if (candidate.maxHue > 1.0f && h >= fract(candidate.maxHue)
&& h - fract(candidate.maxHue) < error) {
best = candidate;
error = h - fract(candidate.maxHue);
} else if (candidate.minHue < 0.0f && h <= fract(candidate.minHue)
&& fract(candidate.minHue) - h < error) {
best = candidate;
error = fract(candidate.minHue) - h;
}
}
return best;
}
private static float fract(float v) {
return v - (float) Math.floor(v);
}
static class TonalPalette {
final float[] h;
final float[] s;
final float[] l;
final float minHue;
final float maxHue;
TonalPalette(float[] h, float[] s, float[] l) {
if (h.length != s.length || s.length != l.length) {
throw new IllegalArgumentException("All arrays should have the same size. h: "
+ Arrays.toString(h) + " s: " + Arrays.toString(s) + " l: "
+ Arrays.toString(l));
}
this.h = h;
this.s = s;
this.l = l;
float minHue = Float.POSITIVE_INFINITY;
float maxHue = Float.NEGATIVE_INFINITY;
for (float v : h) {
minHue = Math.min(v, minHue);
maxHue = Math.max(v, maxHue);
}
this.minHue = minHue;
this.maxHue = maxHue;
}
}
// Data definition of Material Design tonal palettes
// When the sort type is set to TONAL, these palettes are used to find
// a best fit. Each palette is defined as 22 HSL colors
private static final TonalPalette[] TONAL_PALETTES = {
new TonalPalette(
new float[] {1f, 1f, 0.991f, 0.991f, 0.9833333333333333f, 0f, 0f, 0f,
0.01134380453752181f, 0.015625000000000003f, 0.024193548387096798f,
0.027397260273972573f, 0.017543859649122865f},
new float[] {1f, 1f, 1f, 1f, 1f, 1f, 1f, 0.8434782608695652f, 1f, 1f, 1f, 1f,
1f},
new float[] {0.04f, 0.09f, 0.14f, 0.2f, 0.27450980392156865f,
0.34901960784313724f, 0.4235294117647059f, 0.5490196078431373f,
0.6254901960784314f, 0.6862745098039216f, 0.7568627450980392f,
0.8568627450980393f, 0.9254901960784314f}
),
new TonalPalette(
new float[] {0.638f, 0.638f, 0.6385767790262171f, 0.6301169590643275f,
0.6223958333333334f, 0.6151079136690647f, 0.6065400843881856f,
0.5986964618249534f, 0.5910746812386157f, 0.5833333333333334f,
0.5748031496062993f, 0.5582010582010583f},
new float[] {1f, 1f, 1f, 1f, 0.9014084507042253f, 0.8128654970760234f,
0.7979797979797981f, 0.7816593886462883f, 0.778723404255319f, 1f, 1f,
1f},
new float[] {0.05f, 0.12f, 0.17450980392156862f, 0.2235294117647059f,
0.2784313725490196f, 0.3352941176470588f, 0.388235294117647f,
0.44901960784313727f, 0.5392156862745098f, 0.6509803921568628f,
0.7509803921568627f, 0.8764705882352941f}
),
new TonalPalette(
new float[] {0.563f, 0.569f, 0.5666f, 0.5669934640522876f, 0.5748031496062993f,
0.5595238095238095f, 0.5473118279569893f, 0.5393258426966292f,
0.5315955766192734f, 0.524031007751938f, 0.5154711673699016f,
0.508080808080808f, 0.5f},
new float[] {1f, 1f, 1f, 1f, 1f, 1f, 1f, 1f, 1f, 0.8847736625514403f, 1f, 1f,
1f},
new float[] {0.07f, 0.12f, 0.16f, 0.2f, 0.24901960784313726f,
0.27450980392156865f, 0.30392156862745096f, 0.34901960784313724f,
0.4137254901960784f, 0.47647058823529415f, 0.5352941176470588f,
0.6764705882352942f, 0.8f}
),
new TonalPalette(
new float[] {0.508f, 0.511f, 0.508f, 0.508f, 0.5082304526748972f,
0.5069444444444444f, 0.5f, 0.5f, 0.5f, 0.48724954462659376f,
0.4800347222222222f, 0.4755134281200632f, 0.4724409448818897f,
0.4671052631578947f},
new float[] {1f, 1f, 1f, 1f, 1f, 0.8888888888888887f, 0.9242424242424242f, 1f,
1f, 0.8133333333333332f, 0.7868852459016393f, 1f, 1f, 1f},
new float[] {0.04f, 0.06f, 0.08f, 0.12f, 0.1588235294117647f,
0.21176470588235297f, 0.25882352941176473f, 0.3f, 0.34901960784313724f,
0.44117647058823534f, 0.5215686274509804f, 0.5862745098039216f,
0.7509803921568627f, 0.8509803921568627f}
),
new TonalPalette(
new float[] {0.333f, 0.333f, 0.333f, 0.3333333333333333f, 0.3333333333333333f,
0.34006734006734f, 0.34006734006734f, 0.34006734006734f,
0.34259259259259256f, 0.3475783475783476f, 0.34767025089605735f,
0.3467741935483871f, 0.3703703703703704f},
new float[] {0.70f, 0.72f, 0.69f, 0.6703296703296703f, 0.728813559322034f,
0.5657142857142856f, 0.5076923076923077f, 0.3944223107569721f,
0.6206896551724138f, 0.8931297709923666f, 1f, 1f, 1f},
new float[] {0.05f, 0.08f, 0.14f, 0.1784313725490196f, 0.23137254901960785f,
0.3431372549019608f, 0.38235294117647056f, 0.49215686274509807f,
0.6588235294117647f, 0.7431372549019608f, 0.8176470588235294f,
0.8784313725490196f, 0.9294117647058824f}
),
new TonalPalette(
new float[] {0.161f, 0.163f, 0.163f, 0.162280701754386f, 0.15032679738562088f,
0.15879265091863518f, 0.16236559139784948f, 0.17443868739205526f,
0.17824074074074076f, 0.18674698795180725f, 0.18692449355432778f,
0.1946778711484594f, 0.18604651162790695f},
new float[] {1f, 1f, 1f, 1f, 1f, 1f, 1f, 1f, 1f, 1f, 1f, 1f, 1f},
new float[] {0.05f, 0.08f, 0.11f, 0.14901960784313725f, 0.2f,
0.24901960784313726f, 0.30392156862745096f, 0.3784313725490196f,
0.4235294117647059f, 0.48823529411764705f, 0.6450980392156863f,
0.7666666666666666f, 0.8313725490196078f}
),
new TonalPalette(
new float[] {0.108f, 0.105f, 0.105f, 0.105f, 0.10619469026548674f,
0.11924686192468618f, 0.13046448087431692f, 0.14248366013071895f,
0.1506024096385542f, 0.16220238095238093f, 0.16666666666666666f,
0.16666666666666666f, 0.162280701754386f, 0.15686274509803924f},
new float[] {1f, 1f, 1f, 1f, 1f, 1f, 1f, 1f, 1f, 1f, 1f, 1f, 1f, 1f},
new float[] {0.17f, 0.22f, 0.28f, 0.35f, 0.44313725490196076f,
0.46862745098039216f, 0.47843137254901963f, 0.5f, 0.5117647058823529f,
0.5607843137254902f, 0.6509803921568628f, 0.7509803921568627f,
0.8509803921568627f, 0.9f}
),
new TonalPalette(
new float[] {0.036f, 0.036f, 0.036f, 0.036f, 0.03561253561253561f,
0.05098039215686275f, 0.07516339869281045f, 0.09477124183006536f,
0.1150326797385621f, 0.134640522875817f, 0.14640522875816991f,
0.1582397003745319f, 0.15773809523809523f, 0.15359477124183002f},
new float[] {1f, 1f, 1f, 1f, 1f, 1f, 1f, 1f, 1f, 1f, 1f, 1f, 1f, 1f},
new float[] {0.19f, 0.26f, 0.34f, 0.39f, 0.4588235294117647f, 0.5f, 0.5f, 0.5f,
0.5f, 0.5f, 0.5f, 0.6509803921568628f, 0.7803921568627451f, 0.9f}
),
new TonalPalette(
new float[] {0.955f, 0.961f, 0.958f, 0.9596491228070175f, 0.9593837535014005f,
0.9514767932489452f, 0.943859649122807f, 0.9396825396825397f,
0.9395424836601307f, 0.9393939393939394f, 0.9362745098039216f,
0.9754098360655739f, 0.9824561403508771f},
new float[] {0.87f, 0.85f, 0.85f, 0.84070796460177f, 0.8206896551724138f,
0.7979797979797981f, 0.7661290322580644f, 0.9051724137931036f,
1f, 1f, 1f, 1f, 1f},
new float[] {0.06f, 0.11f, 0.16f, 0.22156862745098038f, 0.2843137254901961f,
0.388235294117647f, 0.48627450980392156f, 0.5450980392156863f,
0.6f, 0.6764705882352942f, 0.8f, 0.8803921568627451f,
0.9254901960784314f}
),
new TonalPalette(
new float[] {0.866f, 0.855f, 0.841025641025641f, 0.8333333333333334f,
0.8285256410256411f, 0.821522309711286f, 0.8083333333333333f,
0.8046594982078853f, 0.8005822416302766f, 0.7842377260981912f,
0.7771084337349398f, 0.7747747747747749f},
new float[] {1f, 1f, 1f, 1f, 1f, 1f, 1f, 1f, 1f,
0.737142857142857f, 0.6434108527131781f, 0.46835443037974644f},
new float[] {0.05f, 0.08f, 0.12745098039215685f, 0.15490196078431373f,
0.20392156862745098f, 0.24901960784313726f, 0.3137254901960784f,
0.36470588235294116f, 0.44901960784313727f, 0.6568627450980392f,
0.7470588235294118f, 0.8450980392156863f}
),
new TonalPalette(
new float[] {0.925f, 0.93f, 0.938f, 0.947f, 0.955952380952381f,
0.9681069958847737f, 0.9760479041916167f, 0.9873563218390804f, 0f, 0f,
0.009057971014492771f, 0.026748971193415648f,
0.041666666666666616f, 0.05303030303030304f},
new float[] {1f, 1f, 1f, 1f, 1f, 0.8350515463917526f, 0.6929460580912863f,
0.6387665198237885f, 0.6914893617021276f, 0.7583892617449666f,
0.8070175438596495f, 0.9310344827586209f, 1f, 1f},
new float[] {0.10f, 0.13f, 0.17f, 0.2f, 0.27450980392156865f,
0.3803921568627451f, 0.4725490196078432f, 0.5549019607843138f,
0.6313725490196078f, 0.707843137254902f, 0.7764705882352941f,
0.8294117647058823f, 0.9058823529411765f, 0.9568627450980391f}
),
new TonalPalette(
new float[] {0.733f, 0.736f, 0.744f, 0.7514619883040936f, 0.7679738562091503f,
0.7802083333333333f, 0.7844311377245509f, 0.796875f,
0.8165618448637316f, 0.8487179487179487f, 0.8582375478927203f,
0.8562091503267975f, 0.8666666666666667f},
new float[] {1f, 1f, 1f, 1f, 1f, 0.8163265306122449f, 0.6653386454183268f,
0.7547169811320753f, 0.929824561403509f, 0.9558823529411766f,
0.9560439560439562f, 1f, 1f},
new float[] {0.07f, 0.12f, 0.17f, 0.2235294117647059f, 0.3f,
0.38431372549019605f, 0.492156862745098f, 0.5843137254901961f,
0.6647058823529411f, 0.7333333333333334f, 0.8215686274509804f, 0.9f,
0.9411764705882353f}
),
new TonalPalette(
new float[] {0.6666666666666666f, 0.6666666666666666f, 0.6666666666666666f,
0.6666666666666666f, 0.6666666666666666f, 0.6666666666666666f,
0.6666666666666666f, 0.6666666666666666f, 0.6666666666666666f,
0.6666666666666666f, 0.6666666666666666f},
new float[] {0.25f, 0.24590163934426232f, 0.17880794701986752f,
0.14606741573033713f, 0.13761467889908252f, 0.14893617021276592f,
0.16756756756756758f, 0.20312500000000017f, 0.26086956521739135f,
0.29999999999999966f, 0.5000000000000004f},
new float[] {0.18f, 0.2392156862745098f, 0.296078431372549f,
0.34901960784313724f, 0.4274509803921569f, 0.5392156862745098f,
0.6372549019607843f, 0.7490196078431373f, 0.8196078431372549f,
0.8823529411764706f, 0.9372549019607843f}
),
new TonalPalette(
new float[] {0.938f, 0.944f, 0.952f, 0.961f, 0.9678571428571429f,
0.9944812362030905f, 0f, 0f,
0.0047348484848484815f, 0.00316455696202532f, 0f,
0.9980392156862745f, 0.9814814814814816f, 0.9722222222222221f},
new float[] {1f, 1f, 1f, 1f, 1f, 0.7023255813953488f, 0.6638655462184874f,
0.6521739130434782f, 0.7719298245614035f, 0.8315789473684211f,
0.6867469879518071f, 0.7264957264957265f, 0.8181818181818182f,
0.8181818181818189f},
new float[] {0.08f, 0.13f, 0.18f, 0.23f, 0.27450980392156865f,
0.4215686274509804f,
0.4666666666666667f, 0.503921568627451f, 0.5529411764705883f,
0.6274509803921569f, 0.6745098039215687f, 0.7705882352941176f,
0.892156862745098f, 0.9568627450980391f}
),
new TonalPalette(
new float[] {0.88f, 0.888f, 0.897f, 0.9052287581699346f, 0.9112021857923498f,
0.9270152505446624f, 0.9343137254901961f, 0.9391534391534391f,
0.9437984496124031f, 0.943661971830986f, 0.9438943894389439f,
0.9426229508196722f, 0.9444444444444444f},
new float[] {1f, 1f, 1f, 1f, 0.8133333333333332f, 0.7927461139896375f,
0.7798165137614679f, 0.7777777777777779f, 0.8190476190476191f,
0.8255813953488372f, 0.8211382113821142f, 0.8133333333333336f,
0.8000000000000006f},
new float[] {0.08f, 0.12f, 0.16f, 0.2f, 0.29411764705882354f,
0.3784313725490196f, 0.42745098039215684f, 0.4764705882352941f,
0.5882352941176471f, 0.6627450980392157f, 0.7588235294117647f,
0.8529411764705882f, 0.9411764705882353f}
),
new TonalPalette(
new float[] {0.669f, 0.680f, 0.6884057971014492f, 0.6974789915966387f,
0.7079889807162534f, 0.7154471544715447f, 0.7217741935483872f,
0.7274143302180687f, 0.7272727272727273f, 0.7258064516129031f,
0.7252252252252251f, 0.7333333333333333f},
new float[] {0.81f, 0.81f, 0.8214285714285715f, 0.6878612716763006f,
0.6080402010050251f, 0.5774647887323943f, 0.5391304347826086f,
0.46724890829694316f, 0.4680851063829788f, 0.462686567164179f,
0.45679012345678977f, 0.4545454545454551f},
new float[] {0.12f, 0.16f, 0.2196078431372549f, 0.33921568627450976f,
0.39019607843137255f, 0.4176470588235294f, 0.45098039215686275f,
0.5509803921568628f, 0.6313725490196078f, 0.7372549019607844f,
0.8411764705882353f, 0.9352941176470588f}
),
new TonalPalette(
new float[] {0.6470588235294118f, 0.6516666666666667f, 0.6464174454828661f,
0.6441441441441442f, 0.6432748538011696f, 0.6416666666666667f,
0.6402439024390243f, 0.6412429378531074f, 0.6435185185185186f,
0.6428571428571429f},
new float[] {0.8095238095238095f, 0.6578947368421053f, 0.5721925133689839f,
0.5362318840579711f, 0.5f, 0.4424778761061947f, 0.44086021505376327f,
0.44360902255639095f, 0.4499999999999997f, 0.4375000000000006f},
new float[] {0.16470588235294117f, 0.2980392156862745f, 0.36666666666666664f,
0.40588235294117647f, 0.44705882352941173f,
0.5568627450980392f, 0.6352941176470588f, 0.7392156862745098f,
0.8431372549019608f, 0.9372549019607843f}
),
new TonalPalette(
new float[] {0.469f, 0.46732026143790845f, 0.4718614718614719f,
0.4793650793650794f, 0.48071625344352614f, 0.4829683698296837f,
0.484375f, 0.4841269841269842f, 0.48444444444444457f,
0.48518518518518516f, 0.4907407407407408f},
new float[] {1f, 1f, 1f, 1f, 1f, 1f, 0.6274509803921569f, 0.41832669322709176f,
0.41899441340782106f, 0.4128440366972478f, 0.4090909090909088f},
new float[] {0.07f, 0.1f, 0.15098039215686274f, 0.20588235294117646f,
0.2372549019607843f, 0.26862745098039215f, 0.4f, 0.5078431372549019f,
0.6490196078431372f, 0.7862745098039216f, 0.9137254901960784f}
),
new TonalPalette(
new float[] {0.542f, 0.5444444444444444f, 0.5555555555555556f,
0.5555555555555556f, 0.553763440860215f, 0.5526315789473684f,
0.5555555555555556f, 0.5555555555555555f, 0.5555555555555556f,
0.5512820512820514f, 0.5666666666666667f},
new float[] {0.25f, 0.24590163934426232f, 0.19148936170212766f,
0.1791044776119403f, 0.18343195266272191f, 0.18446601941747576f,
0.1538461538461539f, 0.15625000000000003f, 0.15328467153284678f,
0.15662650602409653f, 0.151515151515151f},
new float[] {0.05f, 0.1196078431372549f, 0.1843137254901961f,
0.2627450980392157f,
0.33137254901960783f, 0.403921568627451f, 0.5411764705882354f,
0.6235294117647059f, 0.7313725490196079f, 0.8372549019607843f,
0.9352941176470588f}
),
new TonalPalette(
new float[] {0.022222222222222223f, 0.02469135802469136f, 0.031249999999999997f,
0.03947368421052631f, 0.04166666666666668f,
0.043650793650793655f, 0.04411764705882352f, 0.04166666666666652f,
0.04444444444444459f, 0.05555555555555529f},
new float[] {0.33333333333333337f, 0.2783505154639175f, 0.2580645161290323f,
0.25675675675675674f, 0.2528735632183908f, 0.17500000000000002f,
0.15315315315315312f, 0.15189873417721522f,
0.15789473684210534f, 0.15789473684210542f},
new float[] {0.08823529411764705f, 0.19019607843137254f, 0.2431372549019608f,
0.2901960784313725f, 0.3411764705882353f, 0.47058823529411764f,
0.5647058823529412f, 0.6901960784313725f, 0.8137254901960784f,
0.9254901960784314f}
),
new TonalPalette(
new float[] {0.027f, 0.03f, 0.038f, 0.044f, 0.050884955752212385f,
0.07254901960784313f, 0.0934640522875817f,
0.10457516339869281f, 0.11699346405228758f,
0.1255813953488372f, 0.1268939393939394f, 0.12533333333333332f,
0.12500000000000003f, 0.12777777777777777f},
new float[] {1f, 1f, 1f, 1f, 1f, 1f, 1f, 1f, 1f, 1f, 1f, 1f, 1f, 1f},
new float[] {0.25f, 0.3f, 0.35f, 0.4f, 0.44313725490196076f, 0.5f, 0.5f, 0.5f,
0.5f, 0.5784313725490196f,
0.6549019607843137f, 0.7549019607843137f, 0.8509803921568627f,
0.9411764705882353f}
)
};
private static final TonalPalette GREY_PALETTE = new TonalPalette(
new float[]{0f, 0f, 0f, 0f, 0f, 0f, 0f, 0f, 0f, 0f, 0f, 0f},
new float[]{0f, 0f, 0f, 0f, 0f, 0f, 0f, 0f, 0f, 0f, 0f, 0f},
new float[]{0.08f, 0.11f, 0.14901960784313725f, 0.2f, 0.2980392156862745f, 0.4f,
0.4980392156862745f, 0.6196078431372549f, 0.7176470588235294f,
0.8196078431372549f, 0.9176470588235294f, 0.9490196078431372f}
);
@SuppressWarnings("WeakerAccess")
static final ColorRange[] BLACKLISTED_COLORS = new ColorRange[] {
// Red
new ColorRange(
new Range<>(0f, 20f) /* H */,
new Range<>(0.7f, 1f) /* S */,
new Range<>(0.21f, 0.79f)) /* L */,
new ColorRange(
new Range<>(0f, 20f),
new Range<>(0.3f, 0.7f),
new Range<>(0.355f, 0.653f)),
// Red Orange
new ColorRange(
new Range<>(20f, 40f),
new Range<>(0.7f, 1f),
new Range<>(0.28f, 0.643f)),
new ColorRange(
new Range<>(20f, 40f),
new Range<>(0.3f, 0.7f),
new Range<>(0.414f, 0.561f)),
new ColorRange(
new Range<>(20f, 40f),
new Range<>(0f, 3f),
new Range<>(0.343f, 0.584f)),
// Orange
new ColorRange(
new Range<>(40f, 60f),
new Range<>(0.7f, 1f),
new Range<>(0.173f, 0.349f)),
new ColorRange(
new Range<>(40f, 60f),
new Range<>(0.3f, 0.7f),
new Range<>(0.233f, 0.427f)),
new ColorRange(
new Range<>(40f, 60f),
new Range<>(0f, 0.3f),
new Range<>(0.231f, 0.484f)),
// Yellow 60
new ColorRange(
new Range<>(60f, 80f),
new Range<>(0.7f, 1f),
new Range<>(0.488f, 0.737f)),
new ColorRange(
new Range<>(60f, 80f),
new Range<>(0.3f, 0.7f),
new Range<>(0.673f, 0.837f)),
// Yellow Green 80
new ColorRange(
new Range<>(80f, 100f),
new Range<>(0.7f, 1f),
new Range<>(0.469f, 0.61f)),
// Yellow green 100
new ColorRange(
new Range<>(100f, 120f),
new Range<>(0.7f, 1f),
new Range<>(0.388f, 0.612f)),
new ColorRange(
new Range<>(100f, 120f),
new Range<>(0.3f, 0.7f),
new Range<>(0.424f, 0.541f)),
// Green
new ColorRange(
new Range<>(120f, 140f),
new Range<>(0.7f, 1f),
new Range<>(0.375f, 0.52f)),
new ColorRange(
new Range<>(120f, 140f),
new Range<>(0.3f, 0.7f),
new Range<>(0.435f, 0.524f)),
// Green Blue 140
new ColorRange(
new Range<>(140f, 160f),
new Range<>(0.7f, 1f),
new Range<>(0.496f, 0.641f)),
// Seafoam
new ColorRange(
new Range<>(160f, 180f),
new Range<>(0.7f, 1f),
new Range<>(0.496f, 0.567f)),
// Cyan
new ColorRange(
new Range<>(180f, 200f),
new Range<>(0.7f, 1f),
new Range<>(0.52f, 0.729f)),
// Blue
new ColorRange(
new Range<>(220f, 240f),
new Range<>(0.7f, 1f),
new Range<>(0.396f, 0.571f)),
new ColorRange(
new Range<>(220f, 240f),
new Range<>(0.3f, 0.7f),
new Range<>(0.425f, 0.551f)),
// Blue Purple 240
new ColorRange(
new Range<>(240f, 260f),
new Range<>(0.7f, 1f),
new Range<>(0.418f, 0.639f)),
new ColorRange(
new Range<>(220f, 240f),
new Range<>(0.3f, 0.7f),
new Range<>(0.441f, 0.576f)),
// Blue Purple 260
new ColorRange(
new Range<>(260f, 280f),
new Range<>(0.3f, 1f), // Bigger range
new Range<>(0.461f, 0.553f)),
// Fuchsia
new ColorRange(
new Range<>(300f, 320f),
new Range<>(0.7f, 1f),
new Range<>(0.484f, 0.588f)),
new ColorRange(
new Range<>(300f, 320f),
new Range<>(0.3f, 0.7f),
new Range<>(0.48f, 0.592f)),
// Pink
new ColorRange(
new Range<>(320f, 340f),
new Range<>(0.7f, 1f),
new Range<>(0.466f, 0.629f)),
// Soft red
new ColorRange(
new Range<>(340f, 360f),
new Range<>(0.7f, 1f),
new Range<>(0.437f, 0.596f))
};
/**
* Representation of an HSL color range.
* <ul>
* <li>hsl[0] is Hue [0 .. 360)</li>
* <li>hsl[1] is Saturation [0...1]</li>
* <li>hsl[2] is Lightness [0...1]</li>
* </ul>
*/
static class ColorRange {
private Range<Float> mHue;
private Range<Float> mSaturation;
private Range<Float> mLightness;
ColorRange(Range<Float> hue, Range<Float> saturation, Range<Float> lightness) {
mHue = hue;
mSaturation = saturation;
mLightness = lightness;
}
boolean containsColor(float h, float s, float l) {
if (!mHue.contains(h)) {
return false;
} else if (!mSaturation.contains(s)) {
return false;
} else if (!mLightness.contains(l)) {
return false;
}
return true;
}
float[] getCenter() {
return new float[] {
mHue.getLower() + (mHue.getUpper() - mHue.getLower()) / 2f,
mSaturation.getLower() + (mSaturation.getUpper() - mSaturation.getLower()) / 2f,
mLightness.getLower() + (mLightness.getUpper() - mLightness.getLower()) / 2f
};
}
@Override
public String toString() {
return String.format("H: %s, S: %s, L %s", mHue, mSaturation, mLightness);
}
}
private static List<Integer> getMainColors(WallpaperColorsCompat wallpaperColors) {
LinkedList<Integer> colors = new LinkedList<>();
if (wallpaperColors.getPrimaryColor() != 0) {
colors.add(wallpaperColors.getPrimaryColor());
}
if (wallpaperColors.getSecondaryColor() != 0) {
colors.add(wallpaperColors.getSecondaryColor());
}
if (wallpaperColors.getTertiaryColor() != 0) {
colors.add(wallpaperColors.getTertiaryColor());
}
return colors;
}
}
| 39,045
|
Java
|
.java
|
linsui/librechair
| 15
| 0
| 0
|
2020-05-04T14:58:27Z
|
2020-05-16T08:08:38Z
|
2422d62a9e916f50d0680c066564c913a70afa943c8c000eac3b67895faa885f
|
[
1127,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
54,
60,
906,
8107,
3944,
6391,
5426,
222,
338,
222,
338,
4773,
1549,
341,
3954,
1196,
49,
3050,
244,
55,
51,
53,
327,
1402,
332,
3801,
742,
222,
338,
863,
1648,
666,
813,
477,
822,
2959,
347,
4960,
642,
341,
1196,
51,
222,
338,
2469,
1648,
4245,
331,
1948,
451,
341,
1196,
840,
222,
338,
222,
338,
665,
1930,
574,
1516,
51,
2121,
51,
1107,
52,
4205,
52,
4106,
50,
55,
51,
53,
222,
338,
222,
338,
5416,
2147,
829,
4568,
4940,
575,
5129,
391,
347,
4144,
49,
2951,
222,
338,
2744,
1549,
341,
1196,
458,
2744,
563,
619,
332,
1117,
2771,
39,
5128,
49,
222,
338,
4213,
3912,
1895,
5186,
2258,
2979,
4489,
49,
3173,
3927,
575,
4506,
51,
222,
338,
2819,
341,
1196,
456,
341,
2835,
2940,
5139,
4243,
480,
222,
338,
5191,
1549,
341,
1196,
51,
222,
588,
222,
222,
1337,
785,
51,
4048,
51,
23682,
56,
51,
122,
735,
1283,
120,
51,
9018,
1726,
64,
222,
222,
485,
2616,
51,
1304,
51,
1237,
64,
222,
485,
2616,
51,
7027,
51,
1530,
64,
222,
485,
10484,
51,
4341,
51,
10082,
64,
222,
485,
10484,
51,
4341,
51,
6825,
64,
222,
485,
10484,
51,
1284,
51,
7027,
51,
1530,
2769,
64,
222,
485,
2616,
51,
1058,
51,
1353,
64,
222,
485,
2616,
51,
1058,
51,
5460,
64,
222,
485,
2616,
51,
1058,
51,
3216,
64,
222,
222,
485,
785,
51,
4048,
51,
23682,
56,
51,
87,
64,
222,
485,
785,
51,
4048,
51,
23682,
56,
51,
13392,
64,
222,
222,
485,
1401,
51,
1058,
51,
9981,
64,
222,
485,
1401,
51,
1058,
51,
20535,
64,
222,
485,
1401,
51,
1058,
51,
739,
64,
222,
222,
1350,
222,
338,
19977,
451,
292,
11121,
1989,
32933,
222,
12570,
222,
942,
462,
5459,
46062,
10462,
320,
465,
581,
924,
5459,
46062,
10462,
556,
1825,
45,
1237,
1637,
46,
320,
310,
461,
29811,
51,
390,
1806,
976,
45,
1530,
46062,
10462,
51,
842,
49,
419,
1637,
51,
36160,
1046,
578,
51,
819,
51,
1507,
100,
47183,
100,
3126,
100,
842,
312,
303,
339,
465,
964,
924,
1175,
910,
19318,
299,
332,
89,
11121,
884,
465,
453,
12785,
456,
292,
11121,
21985,
38836,
303,
964,
924,
1175,
1916,
525,
799,
100,
29043,
100,
77,
299,
244,
54,
51,
53,
107,
64,
303,
964,
924,
1175,
1916,
525,
799,
100,
29043,
100,
88,
299,
244,
54,
51,
53,
107,
64,
303,
964,
924,
1175,
1916,
525,
799,
100,
29043,
100,
81,
299,
244,
54,
53,
51,
53,
107,
64,
465,
581,
924,
1175,
648,
35318,
100,
6237,
100,
18849,
299,
244,
53,
3144,
103,
53,
103,
53,
103,
53,
64,
303,
581,
924,
1175,
648,
5508,
20935,
4530,
100,
6237,
100,
18849,
299,
244,
53,
3144,
62,
106,
62,
106,
62,
106,
64,
303,
581,
924,
1175,
648,
35318,
100,
6237,
100,
44647,
299,
244,
53,
3144,
55,
54,
55,
54,
55,
54,
64,
303,
581,
924,
1175,
648,
5508,
20935,
4530,
100,
6237,
100,
44647,
299,
244,
53,
3144,
53,
53,
53,
53,
53,
53,
64,
465,
453,
38071,
2702,
391,
7373,
41511,
303,
964,
1916,
1197,
364,
15766,
77,
3910,
299,
556,
1916,
96,
56,
988,
465,
581,
16594,
65,
3078,
49,
4418,
67,
6600,
13650,
45,
15002,
12428,
10678,
6823,
347,
15002,
12428,
10678,
46,
320,
310,
434,
327,
285,
15002,
12428,
10678,
630,
762,
46,
320,
343,
461,
4894,
24442,
45,
285,
15002,
12428,
10678,
312,
310,
339,
603,
1175,
1701,
65,
3078,
67,
2594,
10678,
299,
640,
4370,
10678,
45,
285,
15002,
12428,
10678,
312,
310,
1175,
648,
2594,
10678,
1269,
299,
2594,
10678,
51,
911,
492,
310,
1175,
1922,
9568,
15820,
1049,
299,
327,
285,
15002,
12428,
10678,
51,
24849,
33404,
365,
568,
419,
35042,
12428,
10678,
6823,
51,
38924,
100,
14135,
88,
100,
44647,
100,
6025,
46,
882,
244,
53,
64,
603,
434,
327,
1850,
10678,
1269,
630,
244,
53,
46,
320,
343,
461,
4894,
24442,
45,
285,
15002,
12428,
10678,
312,
310,
339,
310,
453,
413,
11121,
458,
666,
6411,
331,
3873,
49,
580,
8756,
331,
1989,
664,
341,
20112,
310,
453,
21985,
480,
27198,
331,
5318,
8240,
17698,
289,
331,
4512,
451,
1426,
50,
2202,
310,
453,
9236,
749,
1610,
51,
906,
5318,
8240,
458,
27137,
337,
391,
545,
30890,
391,
341,
1932,
1989,
310,
453,
480,
30648,
341,
4732,
21985,
603,
453,
1408,
341,
4665,
1426,
423,
33594,
49,
3000,
50,
7061,
29139,
1989,
51,
310,
4418,
5318,
1530,
299,
244,
53,
64,
310,
1175,
1916,
1197,
439,
2021,
299,
556,
1916,
96,
56,
988,
310,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
2594,
10678,
1269,
64,
613,
2002,
320,
343,
1175,
648,
1989,
899,
299,
2594,
10678,
51,
390,
45,
110,
312,
343,
5459,
2769,
51,
7832,
724,
77,
3910,
45,
1530,
51,
1116,
45,
1507,
899,
490,
5459,
51,
6583,
45,
1507,
899,
490,
547,
5459,
51,
5494,
45,
1507,
899,
490,
439,
2021,
312,
1083,
453,
12321,
1429,
1019,
2309,
331,
1989,
708,
616,
5284,
3027,
15296,
343,
434,
1445,
316,
12850,
29139,
45,
109,
2021,
509,
320,
419,
5318,
1530,
299,
1989,
899,
64,
419,
1644,
64,
343,
339,
310,
339,
603,
453,
15812,
434,
666,
2448,
310,
434,
327,
8888,
1530,
630,
762,
46,
320,
343,
461,
4894,
24442,
45,
285,
15002,
12428,
10678,
312,
310,
339,
603,
648,
1989,
899,
299,
5318,
1530,
64,
310,
5459,
2769,
51,
7832,
724,
77,
3910,
45,
1530,
51,
1116,
45,
1507,
899,
490,
5459,
51,
6583,
45,
1507,
899,
490,
5459,
51,
5494,
45,
1507,
899,
490,
419,
439,
2021,
312,
603,
453,
906,
8107,
696,
3910,
5658,
7190,
341,
35650,
391,
2006,
664,
244,
53,
391,
244,
56,
59,
53,
1294,
310,
453,
341,
11937,
413,
11121,
46218,
12724,
439,
1053,
664,
244,
53,
391,
244,
54,
51,
310,
439,
2021,
96,
53,
98,
14414,
244,
56,
59,
53,
107,
64,
603,
453,
7499,
341,
21985,
708,
4326,
341,
18135,
1989,
310,
413,
11121,
18481,
21985,
299,
2309,
89,
11121,
18481,
45,
109,
2021,
96,
53,
636,
439,
2021,
96,
54,
2004,
310,
434,
327,
17515,
630,
762,
46,
320,
343,
2681,
51,
124,
45,
6545,
49,
332,
9752,
666,
2309,
331,
292,
11121,
21985,
9318,
343,
461,
4894,
24442,
45,
285,
15002,
12428,
10678,
312,
310,
339,
603,
453,
25809,
986,
2794,
1200,
341,
2594,
1989,
1671,
347,
341,
25050,
21985,
310,
648,
8240,
1301,
299,
5318,
14088,
45,
17515,
49,
439,
2021,
96,
53,
636,
439,
2021,
96,
54,
636,
439,
2021,
96,
55,
2004,
310,
434,
327,
4803,
1301,
630,
449,
54,
46,
320,
343,
2681,
51,
124,
45,
6545,
49,
332,
9752,
666,
2309,
5318,
8240,
9318,
343,
461,
4894,
24442,
45,
285,
15002,
12428,
10678,
312,
310,
339,
603,
453,
10987,
341,
244,
54,
53,
9660,
21985,
829,
3413,
1073,
2531,
1611,
451,
3049,
310,
1916,
1197,
439,
299,
8240,
45,
17515,
51,
109,
49,
439,
2021,
96,
53,
636,
8240,
1301,
49,
419,
8182,
51,
43470,
100,
36029,
49,
8182,
51,
42221,
100,
36029,
312,
310,
1916,
1197,
328,
299,
8240,
45,
17515,
51,
120,
49,
439,
2021,
96,
54,
636,
8240,
1301,
49,
244,
53,
51,
53,
107,
49,
244,
54,
51,
53,
107,
312,
310,
1916,
1197,
475,
299,
8240,
45,
17515,
51,
113,
49,
439,
2021,
96,
55,
636,
8240,
1301,
49,
244,
53,
51,
53,
107,
49,
244,
54,
51,
53,
107,
312,
603,
648,
7470,
1301,
299,
8240,
1301,
64,
310,
648,
2594,
1530,
299,
640,
1530,
1438,
45,
4472,
1301,
49,
439,
49,
328,
49,
475,
312,
603,
453,
2726,
4816,
2660,
813,
341,
17148,
347,
1152,
341,
20112,
1989,
458,
38193,
284,
2806,
3027,
310,
453,
6314,
17148,
575,
12067,
284,
2806,
3027,
12067,
17148,
51,
310,
5459,
2769,
51,
1507,
724,
77,
3910,
45,
1850,
1530,
49,
364,
15766,
77,
3910,
312,
310,
1175,
1916,
2594,
81,
19033,
26048,
299,
364,
15766,
77,
3910,
96,
55,
988,
310,
5459,
2769,
51,
1507,
724,
77,
3910,
45,
10386,
100,
6237,
100,
18849,
49,
364,
15766,
77,
3910,
312,
310,
1175,
1916,
6314,
81,
19033,
26048,
299,
364,
15766,
77,
3910,
96,
55,
988,
310,
434,
327,
1850,
81,
19033,
26048,
868,
6314,
81,
19033,
26048,
46,
320,
343,
461,
4894,
24442,
45,
285,
15002,
12428,
10678,
312,
310,
339,
310,
5459,
2769,
51,
1507,
724,
77,
3910,
45,
10386,
100,
6237,
100,
44647,
49,
364,
15766,
77,
3910,
312,
310,
1175,
1916,
12067,
81,
19033,
26048,
299,
364,
15766,
77,
3910,
96,
55,
988,
310,
434,
327,
1850,
81,
19033,
26048,
350,
12067,
81,
19033,
26048,
46,
320,
343,
461,
4894,
24442,
45,
285,
15002,
12428,
10678,
312,
310,
339,
603,
453,
28450,
9660,
63,
310,
453,
6433,
1088,
840,
244,
57,
368,
1989,
49,
1773,
6314,
284,
434,
12067,
1367,
458,
5430,
310,
434,
327,
25129,
15820,
1049,
46,
320,
343,
7470,
1301,
299,
439,
51,
1340,
449,
244,
54,
64,
310,
339,
832,
434,
327,
4803,
1301,
350,
244,
55,
46,
320,
343,
7470,
1301,
299,
244,
53,
64,
310,
339,
832,
320,
343,
7470,
1301,
299,
4189,
51,
907,
45,
4803,
1301,
49,
244,
56,
312,
310,
339,
310,
648,
16017,
1301,
299,
7470,
1301,
494,
327,
4472,
1301,
2394,
244,
55,
1037,
449,
55,
518,
244,
55,
312,
310,
648,
16017,
1530,
299,
640,
1530,
1438,
45,
11237,
1301,
49,
439,
49,
328,
49,
475,
312,
603,
461,
556,
16594,
11530,
1850,
1530,
49,
16017,
1530,
312,
303,
339,
465,
581,
924,
16594,
65,
3078,
49,
4418,
67,
4894,
24442,
45,
15002,
12428,
10678,
6823,
347,
15002,
12428,
10678,
46,
320,
310,
1922,
6314,
299,
347,
15002,
12428,
10678,
882,
762,
419,
979,
327,
285,
15002,
12428,
10678,
51,
24849,
33404,
365,
547,
568,
35042,
12428,
10678,
6823,
51,
38924,
100,
14135,
88,
100,
44647,
100,
6025,
38341,
244,
53,
64,
310,
648,
8287,
1530,
299,
6314,
1037,
35318,
100,
6237,
100,
18849,
518,
35318,
100,
6237,
100,
44647,
64,
310,
648,
16167,
1530,
299,
6314,
1037,
5508,
20935,
4530,
100,
6237,
100,
18849,
518,
5508,
20935,
4530,
100,
6237,
100,
44647,
64,
310,
461,
556,
16594,
11530,
3384,
1530,
49,
16167,
1530,
312,
303,
339,
465,
964,
648,
640,
1530,
1438,
45,
429,
8240,
1301,
49,
1916,
1197,
439,
49,
1916,
1197,
328,
49,
1916,
1197,
475,
46,
320,
310,
364,
15766,
77,
3910,
96,
53,
98,
299,
4953,
555,
45,
109,
96,
4803,
1301,
1156,
338,
244,
56,
59,
53,
51,
53,
107,
64,
310,
364,
15766,
77,
3910,
96,
54,
98,
299,
328,
96,
4803,
1301,
988,
310,
364,
15766,
77,
3910,
96,
55,
98,
299,
475,
96,
4803,
1301,
988,
310,
461,
5459,
2769,
51,
77,
3910,
724,
1530,
45,
114,
15766,
77,
3910,
312,
303,
339,
465,
1041,
294,
338,
17269,
434,
331,
2716,
1989,
5394,
347,
341,
46353,
294,
338,
496,
772,
439,
2021,
1916,
1437,
642,
244,
56,
6361,
327,
77,
244,
53,
516,
56,
59,
53,
49,
377,
244,
53,
516,
54,
480,
517,
244,
53,
516,
54,
46,
294,
338,
496,
620,
878,
434,
1989,
1414,
545,
331,
2103,
12190,
294,
588,
303,
964,
1922,
458,
12850,
29139,
45,
1832,
1197,
439,
2021,
46,
320,
310,
456,
327,
1530,
3216,
6677,
3216,
63,
45461,
4625,
1363,
100,
45627,
46,
320,
343,
434,
327,
3387,
3216,
51,
4766,
1530,
45,
109,
2021,
96,
53,
636,
439,
2021,
96,
54,
636,
439,
2021,
96,
55,
5310,
320,
419,
461,
878,
64,
343,
339,
310,
339,
310,
461,
920,
64,
303,
339,
465,
1041,
294,
338,
7467,
2047,
1187,
9660,
829,
331,
7755,
49,
28528,
318,
2102,
708,
2006,
21883,
2794,
1200,
294,
338,
5430,
563,
341,
1989,
5153,
51,
294,
338,
496,
772,
727,
2794,
863,
2660,
391,
8240,
294,
338,
496,
772,
373,
2650,
6546,
1414,
545,
341,
3413,
294,
338,
496,
772,
1671,
1532,
1671,
391,
9226,
341,
7755,
8209,
294,
338,
496,
772,
1865,
9367,
16186,
804,
327,
23470,
46,
294,
338,
496,
772,
1788,
7123,
16186,
804,
327,
23470,
46,
294,
338,
496,
620,
556,
44843,
21985,
294,
588,
303,
964,
924,
1916,
1197,
8240,
45,
1832,
1197,
727,
49,
1916,
373,
49,
648,
1671,
49,
1916,
1865,
49,
1916,
1788,
46,
320,
310,
1916,
1197,
8240,
768,
299,
556,
1916,
96,
624,
51,
1340,
988,
310,
1916,
7755,
299,
373,
449,
727,
96,
1076,
988,
603,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
727,
51,
1340,
64,
613,
2002,
320,
343,
8240,
768,
96,
110,
98,
299,
29811,
51,
4484,
724,
3216,
45,
624,
96,
110,
98,
494,
7755,
49,
1865,
49,
1788,
312,
310,
339,
603,
461,
8240,
768,
64,
303,
339,
465,
1041,
294,
338,
40555,
341,
18135,
1989,
347,
331,
21985,
49,
2716,
4691,
696,
3910,
1989,
294,
338,
294,
338,
496,
772,
21985,
2174,
391,
3252,
294,
338,
496,
772,
439,
35650,
294,
338,
496,
772,
328,
19664,
1232,
294,
338,
496,
772,
475,
6314,
4342,
294,
338,
496,
620,
18135,
1671,
575,
449,
54,
434,
21985,
458,
3517,
51,
294,
588,
303,
964,
924,
648,
5318,
14088,
4810,
10082,
413,
11121,
18481,
21985,
49,
1916,
439,
49,
1916,
328,
49,
1916,
475,
46,
320,
310,
648,
1865,
943,
1301,
299,
449,
54,
64,
310,
1916,
1865,
943,
299,
8182,
51,
42221,
100,
36029,
64,
603,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
21985,
51,
109,
51,
1340,
64,
613,
2002,
320,
343,
1916,
1067,
299,
547,
525,
799,
100,
29043,
100,
77,
338,
4189,
51,
3615,
45,
109,
449,
21985,
51,
109,
96,
110,
1156,
1031,
494,
525,
799,
100,
29043,
100,
88,
338,
4189,
51,
3615,
45,
120,
449,
21985,
51,
120,
96,
110,
1156,
1031,
494,
525,
799,
100,
29043,
100,
81,
338,
4189,
51,
3615,
45,
113,
449,
21985,
51,
113,
96,
110,
2004,
343,
434,
327,
750,
350,
1865,
943,
46,
320,
419,
1865,
943,
299,
1067,
64,
419,
1865,
943,
1301,
299,
613,
64,
343,
339,
310,
339,
603,
461,
1865,
943,
1301,
64,
303,
339,
465,
496,
6825,
303,
964,
924,
413,
11121,
18481,
2309,
89,
11121,
18481,
45,
1832,
439,
49,
1916,
328,
46,
320,
310,
453,
525,
10061,
391,
331,
29295,
21985,
434,
341,
1989,
458,
5150,
3993,
9577,
751,
51,
310,
453,
1369,
43715,
35650,
807,
22898,
51,
310,
434,
327,
120,
350,
244,
53,
51,
53,
58,
107,
46,
320,
343,
461,
590,
632,
94,
100,
28939,
1235,
1731,
64,
310,
339,
603,
413,
11121,
18481,
5318,
299,
762,
64,
310,
1916,
1067,
299,
8182,
51,
42221,
100,
36029,
64,
603,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
413,
586,
744,
100,
28939,
1235,
16436,
51,
1340,
64,
613,
2002,
320,
343,
1175,
413,
11121,
18481,
15164,
299,
413,
586,
744,
100,
28939,
1235,
16436,
96,
110,
988,
1083,
434,
327,
109,
2394,
15164,
51,
907,
39719,
979,
439,
2527,
15164,
51,
1472,
39719,
46,
320,
419,
5318,
299,
15164,
64,
419,
1644,
64,
343,
339,
1083,
434,
327,
16141,
51,
1472,
39719,
868,
244,
54,
51,
53,
107,
979,
439,
2394,
244,
53,
51,
53,
107,
979,
439,
2527,
4953,
555,
45,
16141,
51,
1472,
39719,
509,
320,
419,
5318,
299,
15164,
64,
419,
1644,
64,
343,
339,
1083,
434,
327,
16141,
51,
907,
39719,
350,
244,
53,
51,
53,
107,
979,
439,
2394,
4953,
555,
45,
16141,
51,
907,
39719,
46,
979,
439,
2527,
244,
54,
51,
53,
107,
46,
320,
419,
5318,
299,
15164,
64,
419,
1644,
64,
343,
339,
1083,
434,
327,
109,
2527,
15164,
51,
907,
39719,
979,
15164,
51,
907,
39719,
449,
439,
350,
1067,
46,
320,
419,
5318,
299,
15164,
64,
419,
1067,
299,
15164,
51,
907,
39719,
449,
439,
64,
343,
339,
832,
434,
327,
109,
2394,
15164,
51,
1472,
39719,
979,
439,
449,
15164,
51,
1472,
39719,
350,
1067,
46,
320,
419,
5318,
299,
15164,
64,
419,
1067,
299,
439,
449,
15164,
51,
1472,
39719,
64,
343,
339,
832,
434,
327,
16141,
51,
1472,
39719,
868,
244,
54,
51,
53,
107,
979,
439,
2394,
4953,
555,
45,
16141,
51,
1472,
39719,
46,
547,
979,
439,
449,
4953,
555,
45,
16141,
51,
1472,
39719,
46,
350,
1067,
46,
320,
419,
5318,
299,
15164,
64,
419,
1067,
299,
439,
449,
4953,
555,
45,
16141,
51,
1472,
39719,
312,
343,
339,
832,
434,
327,
16141,
51,
907,
39719,
350,
244,
53,
51,
53,
107,
979,
439,
2527,
4953,
555,
45,
16141,
51,
907,
39719,
46,
547,
979,
4953,
555,
45,
16141,
51,
907,
39719,
46,
449,
439,
350,
1067,
46,
320,
419,
5318,
299,
15164,
64,
419,
1067,
299,
4953,
555,
45,
16141,
51,
907,
39719,
46,
449,
439,
64,
343,
339,
310,
339,
603,
461,
5318,
64,
303,
339,
465,
964,
924,
1916,
4953,
555,
45,
1832,
373,
46,
320,
310,
461,
373,
449,
327,
1832,
46,
4189,
51,
9157,
45,
123,
312,
303,
339,
465,
924,
462,
413,
11121,
18481,
320,
310,
1175,
1916,
1197,
439,
64,
310,
1175,
1916,
1197,
328,
64,
310,
1175,
1916,
1197,
475,
64,
310,
1175,
1916,
1865,
39719,
64,
310,
1175,
1916,
1788,
39719,
64,
603,
413,
11121,
18481,
45,
1832,
1197,
439,
49,
1916,
1197,
328,
49,
1916,
1197,
475,
46,
320,
343,
434,
327,
109,
51,
1340,
882,
328,
51,
1340,
1293,
328,
51,
1340,
882,
475,
51,
1340,
46,
320,
419,
1440,
556,
12134,
459,
1947,
12146,
1414,
1178,
341,
2454,
1354,
51,
439,
63,
332,
733,
494,
14479,
51,
3127,
45,
109,
46,
494,
332,
328,
63,
332,
494,
14479,
51,
3127,
45,
120,
46,
494,
332,
475,
63,
332,
733,
494,
14479,
51,
3127,
45,
113,
894,
343,
339,
1083,
477,
51,
109,
299,
439,
64,
343,
477,
51,
120,
299,
328,
64,
343,
477,
51,
113,
299,
475,
64,
1083,
1916,
1865,
39719,
299,
8182,
51,
42221,
100,
36029,
64,
343,
1916,
1788,
39719,
299,
8182,
51,
43470,
100,
36029,
64,
1083,
456,
327,
1832,
373,
518,
439,
46,
320,
419,
1865,
39719,
299,
4189,
51,
907,
45,
123,
49,
1865,
39719,
312,
419,
1788,
39719,
299,
4189,
51,
1472,
45,
123,
49,
1788,
39719,
312,
343,
339,
1083,
477,
51,
907,
39719,
299,
1865,
39719,
64,
343,
477,
51,
1472,
39719,
299,
1788,
39719,
64,
310,
339,
303,
339,
465,
453,
2426,
5658,
451,
11937,
11758,
292,
11121,
9236,
749,
1610,
303,
453,
5094,
341,
3873,
847,
458,
758,
391,
413,
586,
744,
49,
3301,
9236,
749,
1610,
904,
1674,
391,
2309,
303,
453,
331,
5318,
8240,
51,
11112,
21985,
458,
3433,
641,
244,
55,
55,
696,
3910,
9660,
303,
964,
924,
1175,
413,
11121,
18481,
1197,
413,
586,
744,
100,
28939,
1235,
16436,
299,
320,
343,
556,
413,
11121,
18481,
45,
547,
556,
1916,
1197,
320,
54,
107,
49,
244,
54,
107,
49,
244,
53,
51,
62,
62,
54,
107,
49,
244,
53,
51,
62,
62,
54,
107,
49,
244,
53,
51,
62,
61,
56,
56,
56,
56,
56,
56,
56,
56,
56,
56,
56,
56,
56,
56,
107,
49,
244,
53,
107,
49,
244,
53,
107,
49,
244,
53,
107,
49,
6056,
53,
51,
53,
54,
54,
56,
57,
56,
61,
53,
57,
58,
56,
60,
58,
55,
54,
61,
54,
107,
49,
244,
53,
51,
53,
54,
58,
59,
55,
58,
53,
53,
53,
53,
53,
53,
53,
53,
53,
53,
53,
56,
107,
49,
244,
53,
51,
53,
55,
57,
54,
62,
56,
58,
57,
61,
56,
61,
60,
53,
62,
59,
60,
62,
61,
107,
49,
6056,
53,
51,
53,
55,
60,
56,
62,
60,
55,
59,
53,
55,
60,
56,
62,
60,
55,
58,
60,
56,
107,
49,
244,
53,
51,
53,
54,
60,
58,
57,
56,
61,
58,
62,
59,
57,
62,
54,
55,
55,
61,
59,
58,
107,
855,
547,
556,
1916,
1197,
320,
54,
107,
49,
244,
54,
107,
49,
244,
54,
107,
49,
244,
54,
107,
49,
244,
54,
107,
49,
244,
54,
107,
49,
244,
54,
107,
49,
244,
53,
51,
61,
57,
56,
57,
60,
61,
55,
59,
53,
61,
59,
62,
58,
59,
58,
55,
107,
49,
244,
54,
107,
49,
244,
54,
107,
49,
244,
54,
107,
49,
244,
54,
107,
49,
6056,
54,
107,
855,
547,
556,
1916,
1197,
320,
53,
51,
53,
57,
107,
49,
244,
53,
51,
53,
62,
107,
49,
244,
53,
51,
54,
57,
107,
49,
244,
53,
51,
55,
107,
49,
244,
53,
51,
55,
60,
57,
58,
53,
62,
61,
53,
56,
62,
55,
54,
58,
59,
61,
59,
58,
107,
49,
6056,
53,
51,
56,
57,
62,
53,
54,
62,
59,
53,
60,
61,
57,
56,
54,
56,
60,
55,
57,
107,
49,
244,
53,
51,
57,
55,
56,
58,
55,
62,
57,
54,
54,
60,
59,
57,
60,
53,
58,
62,
107,
49,
244,
53,
51,
58,
57,
62,
53,
54,
62,
59,
53,
60,
61,
57,
56,
54,
56,
60,
56,
107,
49,
6056,
53,
51,
59,
55,
58,
57,
62,
53,
54,
62,
59,
53,
60,
61,
57,
56,
54,
57,
107,
49,
244,
53,
51,
59,
61,
59,
55,
60,
57,
58,
53,
62,
61,
53,
56,
62,
55,
54,
59,
107,
49,
244,
53,
51,
60,
58,
59,
61,
59,
55,
60,
57,
58,
53,
62,
61,
53,
56,
62,
55,
107,
49,
6056,
53,
51,
61,
58,
59,
61,
59,
55,
60,
57,
58,
53,
62,
61,
53,
56,
62,
56,
107,
49,
244,
53,
51,
62,
55,
58,
57,
62,
53,
54,
62,
59,
53,
60,
61,
57,
56,
54,
57,
107,
130,
343,
2604,
343,
556,
413,
11121,
18481,
45,
547,
556,
1916,
1197,
320,
53,
51,
59,
56,
61,
107,
49,
244,
53,
51,
59,
56,
61,
107,
49,
244,
53,
51,
59,
56,
61,
58,
60,
59,
60,
60,
62,
53,
55,
59,
55,
54,
60,
54,
107,
49,
244,
53,
51,
59,
56,
53,
54,
54,
59,
62,
58,
62,
53,
59,
57,
56,
55,
60,
58,
107,
49,
6056,
53,
51,
59,
55,
55,
56,
62,
58,
61,
56,
56,
56,
56,
56,
56,
56,
56,
57,
107,
49,
244,
53,
51,
59,
54,
58,
54,
53,
60,
62,
54,
56,
59,
59,
62,
53,
59,
57,
60,
107,
49,
244,
53,
51,
59,
53,
59,
58,
57,
53,
53,
61,
57,
56,
61,
61,
54,
61,
58,
59,
107,
49,
6056,
53,
51,
58,
62,
61,
59,
62,
59,
57,
59,
54,
61,
55,
57,
62,
58,
56,
57,
107,
49,
244,
53,
51,
58,
62,
54,
53,
60,
57,
59,
61,
54,
55,
56,
61,
59,
54,
58,
60,
107,
49,
244,
53,
51,
58,
61,
56,
56,
56,
56,
56,
56,
56,
56,
56,
56,
56,
56,
56,
57,
107,
49,
6056,
53,
51,
58,
60,
57,
61,
53,
56,
54,
57,
62,
59,
53,
59,
55,
62,
62,
56,
107,
49,
244,
53,
51,
58,
58,
61,
55,
53,
54,
53,
58,
61,
55,
53,
54,
53,
58,
61,
56,
107,
855,
547,
556,
1916,
1197,
320,
54,
107,
49,
244,
54,
107,
49,
244,
54,
107,
49,
244,
54,
107,
49,
244,
53,
51,
62,
53,
54,
57,
53,
61,
57,
58,
53,
60,
53,
57,
55,
55,
58,
56,
107,
49,
244,
53,
51,
61,
54,
55,
61,
59,
58,
57,
62,
60,
53,
60,
59,
53,
55,
56,
57,
107,
49,
6056,
53,
51,
60,
62,
60,
62,
60,
62,
60,
62,
60,
62,
60,
62,
60,
62,
61,
54,
107,
49,
244,
53,
51,
60,
61,
54,
59,
58,
62,
56,
61,
61,
59,
57,
59,
55,
61,
61,
56,
107,
49,
244,
53,
51,
60,
60,
61,
60,
55,
56,
57,
53,
57,
55,
58,
58,
56,
54,
62,
107,
49,
244,
54,
107,
49,
244,
54,
107,
49,
6056,
54,
107,
855,
547,
556,
1916,
1197,
320,
53,
51,
53,
58,
107,
49,
244,
53,
51,
54,
55,
107,
49,
244,
53,
51,
54,
60,
57,
58,
53,
62,
61,
53,
56,
62,
55,
54,
58,
59,
61,
59,
55,
107,
49,
244,
53,
51,
55,
55,
56,
58,
55,
62,
57,
54,
54,
60,
59,
57,
60,
53,
58,
62,
107,
49,
6056,
53,
51,
55,
60,
61,
57,
56,
54,
56,
60,
55,
58,
57,
62,
53,
54,
62,
59,
107,
49,
244,
53,
51,
56,
56,
58,
55,
62,
57,
54,
54,
60,
59,
57,
60,
53,
58,
61,
61,
107,
49,
244,
53,
51,
56,
61,
61,
55,
56,
58,
55,
62,
57,
54,
54,
60,
59,
57,
60,
107,
49,
6056,
53,
51,
57,
57,
62,
53,
54,
62,
59,
53,
60,
61,
57,
56,
54,
56,
60,
55,
60,
107,
49,
244,
53,
51,
58,
56,
62,
55,
54,
58,
59,
61,
59,
55,
60,
57,
58,
53,
62,
61,
107,
49,
244,
53,
51,
59,
58,
53,
62,
61,
53,
56,
62,
55,
54,
58,
59,
61,
59,
55,
61,
107,
49,
6056,
53,
51,
60,
58,
53,
62,
61,
53,
56,
62,
55,
54,
58,
59,
61,
59,
55,
60,
107,
49,
244,
53,
51,
61,
60,
59,
57,
60,
53,
58,
61,
61,
55,
56,
58,
55,
62,
57,
54,
107,
130,
343,
2604,
343,
556,
413,
11121,
18481,
45,
547,
556,
1916,
1197,
320,
53,
51,
58,
59,
56,
107,
49,
244,
53,
51,
58,
59,
62,
107,
49,
244,
53,
51,
58,
59,
59,
59,
107,
49,
244,
53,
51,
58,
59,
59,
62,
62,
56,
57,
59,
57,
53,
58,
55,
55,
61,
60,
59,
107,
49,
244,
53,
51,
58,
60,
57,
61,
53,
56,
54,
57,
62,
59,
53,
59,
55,
62,
62,
56,
107,
49,
6056,
53,
51,
58,
58,
62,
58,
55,
56,
61,
53,
62,
58,
55,
56,
61,
53,
62,
58,
107,
49,
244,
53,
51,
58,
57,
60,
56,
54,
54,
61,
55,
60,
62,
58,
59,
62,
61,
62,
56,
107,
49,
244,
53,
51,
58,
56,
62,
56,
55,
58,
61,
57,
55,
59,
62,
59,
59,
55,
62,
55,
107,
49,
6056,
53,
51,
58,
56,
54,
58,
62,
58,
58,
60,
59,
59,
54,
62,
55,
60,
56,
57,
107,
49,
244,
53,
51,
58,
55,
57,
53,
56,
54,
53,
53,
60,
60,
58,
54,
62,
56,
61,
107,
49,
244,
53,
51,
58,
54,
58,
57,
60,
54,
54,
59,
60,
56,
59,
62,
62,
53,
54,
59,
107,
49,
6056,
53,
51,
58,
53,
61,
53,
61,
53,
61,
53,
61,
53,
61,
53,
61,
53,
61,
107,
49,
244,
53,
51,
58,
107,
855,
547,
556,
1916,
1197,
320,
54,
107,
49,
244,
54,
107,
49,
244,
54,
107,
49,
244,
54,
107,
49,
244,
54,
107,
49,
244,
54,
107,
49,
244,
54,
107,
49,
244,
54,
107,
49,
244,
54,
107,
49,
244,
53,
51,
61,
61,
57,
60,
60,
56,
59,
59,
55,
58,
58,
54,
57,
57,
53,
56,
107,
49,
244,
54,
107,
49,
244,
54,
107,
49,
6056,
54,
107,
855,
547,
556,
1916,
1197,
320,
53,
51,
53,
60,
107,
49,
244,
53,
51,
54,
55,
107,
49,
244,
53,
51,
54,
59,
107,
49,
244,
53,
51,
55,
107,
49,
244,
53,
51,
55,
57,
62,
53,
54,
62,
59,
53,
60,
61,
57,
56,
54,
56,
60,
55,
59,
107,
49,
6056,
53,
51,
55,
60,
57,
58,
53,
62,
61,
53,
56,
62,
55,
54,
58,
59,
61,
59,
58,
107,
49,
244,
53,
51,
56,
53,
56,
62,
55,
54,
58,
59,
61,
59,
55,
60,
57,
58,
53,
62,
59,
107,
49,
244,
53,
51,
56,
57,
62,
53,
54,
62,
59,
53,
60,
61,
57,
56,
54,
56,
60,
55,
57,
107,
49,
6056,
53,
51,
57,
54,
56,
60,
55,
58,
57,
62,
53,
54,
62,
59,
53,
60,
61,
57,
107,
49,
244,
53,
51,
57,
60,
59,
57,
60,
53,
58,
61,
61,
55,
56,
58,
55,
62,
57,
54,
58,
107,
49,
244,
53,
51,
58,
56,
58,
55,
62,
57,
54,
54,
60,
59,
57,
60,
53,
58,
61,
61,
107,
49,
6056,
53,
51,
59,
60,
59,
57,
60,
53,
58,
61,
61,
55,
56,
58,
55,
62,
57,
55,
107,
49,
244,
53,
51,
61,
107,
130,
343,
2604,
343,
556,
413,
11121,
18481,
45,
547,
556,
1916,
1197,
320,
53,
51,
58,
53,
61,
107,
49,
244,
53,
51,
58,
54,
54,
107,
49,
244,
53,
51,
58,
53,
61,
107,
49,
244,
53,
51,
58,
53,
61,
107,
49,
244,
53,
51,
58,
53,
61,
55,
56,
53,
57,
58,
55,
59,
60,
57,
61,
62,
60,
55,
107,
49,
6056,
53,
51,
58,
53,
59,
62,
57,
57,
57,
57,
57,
57,
57,
57,
57,
57,
57,
57,
107,
49,
244,
53,
51,
58,
107,
49,
244,
53,
51,
58,
107,
49,
244,
53,
51,
58,
107,
49,
244,
53,
51,
57,
61,
60,
55,
57,
62,
58,
57,
57,
59,
55,
59,
58,
62,
56,
60,
59,
107,
49,
6056,
53,
51,
57,
61,
53,
53,
56,
57,
60,
55,
55,
55,
55,
55,
55,
55,
55,
55,
107,
49,
244,
53,
51,
57,
60,
58,
58,
54,
56,
57,
55,
61,
54,
55,
53,
53,
59,
56,
55,
107,
49,
244,
53,
51,
57,
60,
55,
57,
57,
53,
62,
57,
57,
61,
61,
54,
61,
61,
62,
60,
107,
49,
6056,
53,
51,
57,
59,
60,
54,
53,
58,
55,
59,
56,
54,
58,
60,
61,
62,
57,
60,
107,
855,
547,
556,
1916,
1197,
320,
54,
107,
49,
244,
54,
107,
49,
244,
54,
107,
49,
244,
54,
107,
49,
244,
54,
107,
49,
244,
53,
51,
61,
61,
61,
61,
61,
61,
61,
61,
61,
61,
61,
61,
61,
61,
61,
60,
107,
49,
244,
53,
51,
62,
55,
57,
55,
57,
55,
57,
55,
57,
55,
57,
55,
57,
55,
57,
55,
107,
49,
244,
54,
107,
49,
6056,
54,
107,
49,
244,
53,
51,
61,
54,
56,
56,
56,
56,
56,
56,
56,
56,
56,
56,
56,
56,
56,
55,
107,
49,
244,
53,
51,
60,
61,
59,
61,
61,
58,
55,
57,
58,
62,
53,
54,
59,
56,
62,
56,
107,
49,
244,
54,
107,
49,
244,
54,
107,
49,
244,
54,
107,
855,
547,
556,
1916,
1197,
320,
53,
51,
53,
57,
107,
49,
244,
53,
51,
53,
59,
107,
49,
244,
53,
51,
53,
61,
107,
49,
244,
53,
51,
54,
55,
107,
49,
244,
53,
51,
54,
58,
61,
61,
55,
56,
58,
55,
62,
57,
54,
54,
60,
59,
57,
60,
107,
49,
6056,
53,
51,
55,
54,
54,
60,
59,
57,
60,
53,
58,
61,
61,
55,
56,
58,
55,
62,
60,
107,
49,
244,
53,
51,
55,
58,
61,
61,
55,
56,
58,
55,
62,
57,
54,
54,
60,
59,
57,
60,
56,
107,
49,
244,
53,
51,
56,
107,
49,
244,
53,
51,
56,
57,
62,
53,
54,
62,
59,
53,
60,
61,
57,
56,
54,
56,
60,
55,
57,
107,
49,
6056,
53,
51,
57,
57,
54,
54,
60,
59,
57,
60,
53,
58,
61,
61,
55,
56,
58,
56,
57,
107,
49,
244,
53,
51,
58,
55,
54,
58,
59,
61,
59,
55,
60,
57,
58,
53,
62,
61,
53,
57,
107,
49,
244,
53,
51,
58,
61,
59,
55,
60,
57,
58,
53,
62,
61,
53,
56,
62,
55,
54,
59,
107,
49,
6056,
53,
51,
60,
58,
53,
62,
61,
53,
56,
62,
55,
54,
58,
59,
61,
59,
55,
60,
107,
49,
244,
53,
51,
61,
58,
53,
62,
61,
53,
56,
62,
55,
54,
58,
59,
61,
59,
55,
60,
107,
130,
343,
2604,
343,
556,
413,
11121,
18481,
45,
547,
556,
1916,
1197,
320,
53,
51,
56,
56,
56,
107,
49,
244,
53,
51,
56,
56,
56,
107,
49,
244,
53,
51,
56,
56,
56,
107,
49,
244,
53,
51,
56,
56,
56,
56,
56,
56,
56,
56,
56,
56,
56,
56,
56,
56,
56,
56,
107,
49,
244,
53,
51,
56,
56,
56,
56,
56,
56,
56,
56,
56,
56,
56,
56,
56,
56,
56,
56,
107,
49,
6056,
53,
51,
56,
57,
53,
53,
59,
60,
56,
57,
53,
53,
59,
60,
56,
57,
107,
49,
244,
53,
51,
56,
57,
53,
53,
59,
60,
56,
57,
53,
53,
59,
60,
56,
57,
107,
49,
244,
53,
51,
56,
57,
53,
53,
59,
60,
56,
57,
53,
53,
59,
60,
56,
57,
107,
49,
6056,
53,
51,
56,
57,
55,
58,
62,
55,
58,
62,
55,
58,
62,
55,
58,
62,
55,
58,
59,
107,
49,
244,
53,
51,
56,
57,
60,
58,
60,
61,
56,
57,
60,
58,
60,
61,
56,
57,
60,
59,
107,
49,
244,
53,
51,
56,
57,
60,
59,
60,
53,
55,
58,
53,
61,
62,
59,
53,
58,
60,
56,
58,
107,
49,
6056,
53,
51,
56,
57,
59,
60,
60,
57,
54,
62,
56,
58,
57,
61,
56,
61,
60,
54,
107,
49,
244,
53,
51,
56,
60,
53,
56,
60,
53,
56,
60,
53,
56,
60,
53,
56,
60,
53,
57,
107,
855,
547,
556,
1916,
1197,
320,
53,
51,
60,
53,
107,
49,
244,
53,
51,
60,
55,
107,
49,
244,
53,
51,
59,
62,
107,
49,
244,
53,
51,
59,
60,
53,
56,
55,
62,
59,
60,
53,
56,
55,
62,
59,
60,
53,
56,
107,
49,
244,
53,
51,
60,
55,
61,
61,
54,
56,
58,
58,
62,
56,
55,
55,
53,
56,
57,
107,
49,
6056,
53,
51,
58,
59,
58,
60,
54,
57,
55,
61,
58,
60,
54,
57,
55,
61,
58,
59,
107,
49,
244,
53,
51,
58,
53,
60,
59,
62,
55,
56,
53,
60,
59,
62,
55,
56,
53,
60,
60,
107,
49,
244,
53,
51,
56,
62,
57,
57,
55,
55,
56,
54,
53,
60,
58,
59,
62,
60,
55,
54,
107,
49,
6056,
53,
51,
59,
55,
53,
59,
61,
62,
59,
58,
58,
54,
60,
55,
57,
54,
56,
61,
107,
49,
244,
53,
51,
61,
62,
56,
54,
55,
62,
60,
60,
53,
62,
62,
55,
56,
59,
59,
59,
107,
49,
244,
54,
107,
49,
244,
54,
107,
49,
244,
54,
107,
855,
547,
556,
1916,
1197,
320,
53,
51,
53,
58,
107,
49,
244,
53,
51,
53,
61,
107,
49,
244,
53,
51,
54,
57,
107,
49,
244,
53,
51,
54,
60,
61,
57,
56,
54,
56,
60,
55,
58,
57,
62,
53,
54,
62,
59,
107,
49,
244,
53,
51,
55,
56,
54,
56,
60,
55,
58,
57,
62,
53,
54,
62,
59,
53,
60,
61,
58,
107,
49,
6056,
53,
51,
56,
57,
56,
54,
56,
60,
55,
58,
57,
62,
53,
54,
62,
59,
53,
61,
107,
49,
244,
53,
51,
56,
61,
55,
56,
58,
55,
62,
57,
54,
54,
60,
59,
57,
60,
53,
58,
59,
107,
49,
244,
53,
51,
57,
62,
55,
54,
58,
59,
61,
59,
55,
60,
57,
58,
53,
62,
61,
53,
60,
107,
49,
6056,
53,
51,
59,
58,
61,
61,
55,
56,
58,
55,
62,
57,
54,
54,
60,
59,
57,
60,
107,
49,
244,
53,
51,
60,
57,
56,
54,
56,
60,
55,
58,
57,
62,
53,
54,
62,
59,
53,
61,
107,
49,
244,
53,
51,
61,
54,
60,
59,
57,
60,
53,
58,
61,
61,
55,
56,
58,
55,
62,
57,
107,
49,
6056,
53,
51,
61,
60,
61,
57,
56,
54,
56,
60,
55,
58,
57,
62,
53,
54,
62,
59,
107,
49,
244,
53,
51,
62,
55,
62,
57,
54,
54,
60,
59,
57,
60,
53,
58,
61,
61,
55,
57,
107,
130,
343,
2604,
343,
556,
413,
11121,
18481,
45,
547,
556,
1916,
1197,
320,
53,
51,
54,
59,
54,
107,
49,
244,
53,
51,
54,
59,
56,
107,
49,
244,
53,
51,
54,
59,
56,
107,
49,
244,
53,
51,
54,
59,
55,
55,
61,
53,
60,
53,
54,
60,
58,
57,
56,
61,
59,
107,
49,
244,
53,
51,
54,
58,
53,
56,
55,
59,
60,
62,
60,
56,
61,
58,
59,
55,
53,
61,
61,
107,
49,
6056,
53,
51,
54,
58,
61,
60,
62,
55,
59,
58,
53,
62,
54,
61,
59,
56,
58,
54,
61,
107,
49,
244,
53,
51,
54,
59,
55,
56,
59,
58,
58,
62,
54,
56,
62,
60,
61,
57,
62,
57,
61,
107,
49,
244,
53,
51,
54,
60,
57,
57,
56,
61,
59,
61,
60,
56,
62,
55,
53,
58,
58,
55,
59,
107,
49,
6056,
53,
51,
54,
60,
61,
55,
57,
53,
60,
57,
53,
60,
57,
53,
60,
57,
53,
60,
59,
107,
49,
244,
53,
51,
54,
61,
59,
60,
57,
59,
62,
61,
60,
62,
58,
54,
61,
53,
60,
55,
58,
107,
49,
244,
53,
51,
54,
61,
59,
62,
55,
57,
57,
62,
56,
58,
58,
57,
56,
55,
60,
60,
61,
107,
49,
6056,
53,
51,
54,
62,
57,
59,
60,
60,
61,
60,
54,
54,
57,
61,
57,
58,
62,
57,
107,
49,
244,
53,
51,
54,
61,
59,
53,
57,
59,
58,
54,
54,
59,
55,
60,
62,
53,
59,
62,
58,
107,
855,
547,
556,
1916,
1197,
320,
54,
107,
49,
244,
54,
107,
49,
244,
54,
107,
49,
244,
54,
107,
49,
244,
54,
107,
49,
244,
54,
107,
49,
244,
54,
107,
49,
244,
54,
107,
49,
244,
54,
107,
49,
244,
54,
107,
49,
244,
54,
107,
49,
244,
54,
107,
49,
244,
54,
107,
855,
547,
556,
1916,
1197,
320,
53,
51,
53,
58,
107,
49,
244,
53,
51,
53,
61,
107,
49,
244,
53,
51,
54,
54,
107,
49,
244,
53,
51,
54,
57,
62,
53,
54,
62,
59,
53,
60,
61,
57,
56,
54,
56,
60,
55,
58,
107,
49,
244,
53,
51,
55,
107,
49,
6056,
53,
51,
55,
57,
62,
53,
54,
62,
59,
53,
60,
61,
57,
56,
54,
56,
60,
55,
59,
107,
49,
244,
53,
51,
56,
53,
56,
62,
55,
54,
58,
59,
61,
59,
55,
60,
57,
58,
53,
62,
59,
107,
49,
244,
53,
51,
56,
60,
61,
57,
56,
54,
56,
60,
55,
58,
57,
62,
53,
54,
62,
59,
107,
49,
6056,
53,
51,
57,
55,
56,
58,
55,
62,
57,
54,
54,
60,
59,
57,
60,
53,
58,
62,
107,
49,
244,
53,
51,
57,
61,
61,
55,
56,
58,
55,
62,
57,
54,
54,
60,
59,
57,
60,
53,
58,
107,
49,
244,
53,
51,
59,
57,
58,
53,
62,
61,
53,
56,
62,
55,
54,
58,
59,
61,
59,
56,
107,
49,
6056,
53,
51,
60,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
107,
49,
244,
53,
51,
61,
56,
54,
56,
60,
55,
58,
57,
62,
53,
54,
62,
59,
53,
60,
61,
107,
130,
343,
2604,
343,
556,
413,
11121,
18481,
45,
547,
556,
1916,
1197,
320,
53,
51,
54,
53,
61,
107,
49,
244,
53,
51,
54,
53,
58,
107,
49,
244,
53,
51,
54,
53,
58,
107,
49,
244,
53,
51,
54,
53,
58,
107,
49,
244,
53,
51,
54,
53,
59,
54,
62,
57,
59,
62,
53,
55,
59,
58,
57,
61,
59,
60,
57,
107,
49,
6056,
53,
51,
54,
54,
62,
55,
57,
59,
61,
59,
54,
62,
55,
57,
59,
61,
59,
54,
61,
107,
49,
244,
53,
51,
54,
56,
53,
57,
59,
57,
57,
61,
53,
61,
60,
57,
56,
54,
59,
62,
55,
107,
49,
244,
53,
51,
54,
57,
55,
57,
61,
56,
59,
59,
53,
54,
56,
53,
60,
54,
61,
62,
58,
107,
49,
6056,
53,
51,
54,
58,
53,
59,
53,
55,
57,
53,
62,
59,
56,
61,
58,
58,
57,
55,
107,
49,
244,
53,
51,
54,
59,
55,
55,
53,
55,
56,
61,
53,
62,
58,
55,
56,
61,
53,
62,
56,
107,
49,
244,
53,
51,
54,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
107,
49,
6056,
53,
51,
54,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
107,
49,
244,
53,
51,
54,
59,
55,
55,
61,
53,
60,
53,
54,
60,
58,
57,
56,
61,
59,
107,
49,
244,
53,
51,
54,
58,
59,
61,
59,
55,
60,
57,
58,
53,
62,
61,
53,
56,
62,
55,
57,
107,
855,
547,
556,
1916,
1197,
320,
54,
107,
49,
244,
54,
107,
49,
244,
54,
107,
49,
244,
54,
107,
49,
244,
54,
107,
49,
244,
54,
107,
49,
244,
54,
107,
49,
244,
54,
107,
49,
244,
54,
107,
49,
244,
54,
107,
49,
244,
54,
107,
49,
244,
54,
107,
49,
244,
54,
107,
49,
244,
54,
107,
855,
547,
556,
1916,
1197,
320,
53,
51,
54,
60,
107,
49,
244,
53,
51,
55,
55,
107,
49,
244,
53,
51,
55,
61,
107,
49,
244,
53,
51,
56,
58,
107,
49,
244,
53,
51,
57,
57,
56,
54,
56,
60,
55,
58,
57,
62,
53,
54,
62,
59,
53,
60,
59,
107,
49,
6056,
53,
51,
57,
59,
61,
59,
55,
60,
57,
58,
53,
62,
61,
53,
56,
62,
55,
54,
59,
107,
49,
244,
53,
51,
57,
60,
61,
57,
56,
54,
56,
60,
55,
58,
57,
62,
53,
54,
62,
59,
56,
107,
49,
244,
53,
51,
58,
107,
49,
244,
53,
51,
58,
54,
54,
60,
59,
57,
60,
53,
58,
61,
61,
55,
56,
58,
55,
62,
107,
49,
6056,
53,
51,
58,
59,
53,
60,
61,
57,
56,
54,
56,
60,
55,
58,
57,
62,
53,
55,
107,
49,
244,
53,
51,
59,
58,
53,
62,
61,
53,
56,
62,
55,
54,
58,
59,
61,
59,
55,
61,
107,
49,
244,
53,
51,
60,
58,
53,
62,
61,
53,
56,
62,
55,
54,
58,
59,
61,
59,
55,
60,
107,
49,
6056,
53,
51,
61,
58,
53,
62,
61,
53,
56,
62,
55,
54,
58,
59,
61,
59,
55,
60,
107,
49,
244,
53,
51,
62,
107,
130,
343,
2604,
343,
556,
413,
11121,
18481,
45,
547,
556,
1916,
1197,
320,
53,
51,
53,
56,
59,
107,
49,
244,
53,
51,
53,
56,
59,
107,
49,
244,
53,
51,
53,
56,
59,
107,
49,
244,
53,
51,
53,
56,
59,
107,
49,
244,
53,
51,
53,
56,
58,
59,
54,
55,
58,
56,
58,
59,
54,
55,
58,
56,
58,
59,
54,
107,
49,
6056,
53,
51,
53,
58,
53,
62,
61,
53,
56,
62,
55,
54,
58,
59,
61,
59,
55,
60,
58,
107,
49,
244,
53,
51,
53,
60,
58,
54,
59,
56,
56,
62,
61,
59,
62,
55,
61,
54,
53,
57,
58,
107,
49,
244,
53,
51,
53,
62,
57,
60,
60,
54,
55,
57,
54,
61,
56,
53,
53,
59,
58,
56,
59,
107,
49,
6056,
53,
51,
54,
54,
58,
53,
56,
55,
59,
60,
62,
60,
56,
61,
58,
59,
55,
54,
107,
49,
244,
53,
51,
54,
56,
57,
59,
57,
53,
58,
55,
55,
61,
60,
58,
61,
54,
60,
107,
49,
244,
53,
51,
54,
57,
59,
57,
53,
58,
55,
55,
61,
60,
58,
61,
54,
59,
62,
62,
54,
107,
49,
6056,
53,
51,
54,
58,
61,
55,
56,
62,
60,
53,
53,
56,
60,
57,
58,
56,
54,
62,
107,
49,
244,
53,
51,
54,
58,
60,
60,
56,
61,
53,
62,
58,
55,
56,
61,
53,
62,
58,
55,
56,
107,
49,
244,
53,
51,
54,
58,
56,
58,
62,
57,
60,
60,
54,
55,
57,
54,
61,
56,
53,
53,
55,
107,
855,
547,
556,
1916,
1197,
320,
54,
107,
49,
244,
54,
107,
49,
244,
54,
107,
49,
244,
54,
107,
49,
244,
54,
107,
49,
244,
54,
107,
49,
244,
54,
107,
49,
244,
54,
107,
49,
244,
54,
107,
49,
244,
54,
107,
49,
244,
54,
107,
49,
244,
54,
107,
49,
244,
54,
107,
49,
244,
54,
107,
855,
547,
556,
1916,
1197,
320,
53,
51,
54,
62,
107,
49,
244,
53,
51,
55,
59,
107,
49,
244,
53,
51,
56,
57,
107,
49,
244,
53,
51,
56,
62,
107,
49,
244,
53,
51,
57,
58,
61,
61,
55,
56,
58,
55,
62,
57,
54,
54,
60,
59,
57,
60,
107,
49,
244,
53,
51,
58,
107,
49,
244,
53,
51,
58,
107,
49,
244,
53,
51,
58,
107,
49,
6056,
53,
51,
58,
107,
49,
244,
53,
51,
58,
107,
49,
244,
53,
51,
58,
107,
49,
244,
53,
51,
59,
58,
53,
62,
61,
53,
56,
62,
55,
54,
58,
59,
61,
59,
55,
61,
107,
49,
244,
53,
51,
60,
61,
53,
56,
62,
55,
54,
58,
59,
61,
59,
55,
60,
57,
58,
54,
107,
49,
244,
53,
51,
62,
107,
130,
343,
2604,
343,
556,
413,
11121,
18481,
45,
547,
556,
1916,
1197,
320,
53,
51,
62,
58,
58,
107,
49,
244,
53,
51,
62,
59,
54,
107,
49,
244,
53,
51,
62,
58,
61,
107,
49,
244,
53,
51,
62,
58,
62,
59,
57,
62,
54,
55,
55,
61,
53,
60,
53,
54,
60,
58,
107,
49,
244,
53,
51,
62,
58,
62,
56,
61,
56,
60,
58,
56,
58,
53,
54,
57,
53,
53,
58,
107,
49,
6056,
53,
51,
62,
58,
54,
57,
60,
59,
60,
62,
56,
55,
57,
61,
62,
57,
58,
55,
107,
49,
244,
53,
51,
62,
57,
56,
61,
58,
62,
59,
57,
62,
54,
55,
55,
61,
53,
60,
107,
49,
244,
53,
51,
62,
56,
62,
59,
61,
55,
58,
56,
62,
59,
61,
55,
58,
56,
62,
60,
107,
49,
6056,
53,
51,
62,
56,
62,
58,
57,
55,
57,
61,
56,
59,
59,
53,
54,
56,
53,
60,
107,
49,
244,
53,
51,
62,
56,
62,
56,
62,
56,
62,
56,
62,
56,
62,
56,
62,
56,
62,
57,
107,
49,
244,
53,
51,
62,
56,
59,
55,
60,
57,
58,
53,
62,
61,
53,
56,
62,
55,
54,
59,
107,
49,
6056,
53,
51,
62,
60,
58,
57,
53,
62,
61,
56,
59,
53,
59,
58,
58,
60,
56,
62,
107,
49,
244,
53,
51,
62,
61,
55,
57,
58,
59,
54,
57,
53,
56,
58,
53,
61,
60,
60,
54,
107,
855,
547,
556,
1916,
1197,
320,
53,
51,
61,
60,
107,
49,
244,
53,
51,
61,
58,
107,
49,
244,
53,
51,
61,
58,
107,
49,
244,
53,
51,
61,
57,
53,
60,
53,
60,
62,
59,
57,
59,
53,
54,
60,
60,
107,
49,
244,
53,
51,
61,
55,
53,
59,
61,
62,
59,
58,
58,
54,
60,
55,
57,
54,
56,
61,
107,
49,
6056,
53,
51,
60,
62,
60,
62,
60,
62,
60,
62,
60,
62,
60,
62,
60,
62,
61,
54,
107,
49,
244,
53,
51,
60,
59,
59,
54,
55,
62,
53,
56,
55,
55,
58,
61,
53,
59,
57,
57,
107,
49,
244,
53,
51,
62,
53,
58,
54,
60,
55,
57,
54,
56,
60,
62,
56,
54,
53,
56,
59,
107,
49,
6056,
54,
107,
49,
244,
54,
107,
49,
244,
54,
107,
49,
244,
54,
107,
49,
244,
54,
107,
855,
547,
556,
1916,
1197,
320,
53,
51,
53,
59,
107,
49,
244,
53,
51,
54,
54,
107,
49,
244,
53,
51,
54,
59,
107,
49,
244,
53,
51,
55,
55,
54,
58,
59,
61,
59,
55,
60,
57,
58,
53,
62,
61,
53,
56,
61,
107,
49,
244,
53,
51,
55,
61,
57,
56,
54,
56,
60,
55,
58,
57,
62,
53,
54,
62,
59,
54,
107,
49,
6056,
53,
51,
56,
61,
61,
55,
56,
58,
55,
62,
57,
54,
54,
60,
59,
57,
60,
107,
49,
244,
53,
51,
57,
61,
59,
55,
60,
57,
58,
53,
62,
61,
53,
56,
62,
55,
54,
58,
59,
107,
49,
244,
53,
51,
58,
57,
58,
53,
62,
61,
53,
56,
62,
55,
54,
58,
59,
61,
59,
56,
107,
49,
6056,
53,
51,
59,
107,
49,
244,
53,
51,
59,
60,
59,
57,
60,
53,
58,
61,
61,
55,
56,
58,
55,
62,
57,
55,
107,
49,
244,
53,
51,
61,
107,
49,
244,
53,
51,
61,
61,
53,
56,
62,
55,
54,
58,
59,
61,
59,
55,
60,
57,
58,
54,
107,
49,
6056,
53,
51,
62,
55,
58,
57,
62,
53,
54,
62,
59,
53,
60,
61,
57,
56,
54,
57,
107,
130,
343,
2604,
343,
556,
413,
11121,
18481,
45,
547,
556,
1916,
1197,
320,
53,
51,
61,
59,
59,
107,
49,
244,
53,
51,
61,
58,
58,
107,
49,
244,
53,
51,
61,
57,
54,
53,
55,
58,
59,
57,
54,
53,
55,
58,
59,
57,
54,
107,
49,
244,
53,
51,
61,
56,
56,
56,
56,
56,
56,
56,
56,
56,
56,
56,
56,
56,
56,
57,
107,
49,
6056,
53,
51,
61,
55,
61,
58,
55,
58,
59,
57,
54,
53,
55,
58,
59,
57,
54,
54,
107,
49,
244,
53,
51,
61,
55,
54,
58,
55,
55,
56,
53,
62,
60,
54,
54,
55,
61,
59,
107,
49,
244,
53,
51,
61,
53,
61,
56,
56,
56,
56,
56,
56,
56,
56,
56,
56,
56,
56,
56,
107,
49,
6056,
53,
51,
61,
53,
57,
59,
58,
62,
57,
62,
61,
55,
53,
60,
61,
61,
58,
56,
107,
49,
244,
53,
51,
61,
53,
53,
58,
61,
55,
55,
57,
54,
59,
56,
53,
55,
60,
59,
59,
107,
49,
244,
53,
51,
60,
61,
57,
55,
56,
60,
60,
55,
59,
53,
62,
61,
54,
62,
54,
55,
107,
49,
6056,
53,
51,
60,
60,
60,
54,
53,
61,
57,
56,
56,
60,
56,
57,
62,
56,
62,
61,
107,
49,
244,
53,
51,
60,
60,
57,
60,
60,
57,
60,
60,
57,
60,
60,
57,
60,
60,
57,
62,
107,
855,
547,
556,
1916,
1197,
320,
54,
107,
49,
244,
54,
107,
49,
244,
54,
107,
49,
244,
54,
107,
49,
244,
54,
107,
49,
244,
54,
107,
49,
244,
54,
107,
49,
244,
54,
107,
49,
244,
54,
107,
49,
6056,
53,
51,
60,
56,
60,
54,
57,
55,
61,
58,
60,
54,
57,
55,
61,
58,
60,
107,
49,
244,
53,
51,
59,
57,
56,
57,
54,
53,
61,
58,
55,
60,
54,
56,
54,
60,
61,
54,
107,
49,
244,
53,
51,
57,
59,
61,
56,
58,
57,
57,
56,
53,
56,
60,
62,
60,
57,
59,
57,
57,
107,
855,
547,
556,
1916,
1197,
320,
53,
51,
53,
58,
107,
49,
244,
53,
51,
53,
61,
107,
49,
244,
53,
51,
54,
55,
60,
57,
58,
53,
62,
61,
53,
56,
62,
55,
54,
58,
59,
61,
58,
107,
49,
244,
53,
51,
54,
58,
57,
62,
53,
54,
62,
59,
53,
60,
61,
57,
56,
54,
56,
60,
56,
107,
49,
6056,
53,
51,
55,
53,
56,
62,
55,
54,
58,
59,
61,
59,
55,
60,
57,
58,
53,
62,
61,
107,
49,
244,
53,
51,
55,
57,
62,
53,
54,
62,
59,
53,
60,
61,
57,
56,
54,
56,
60,
55,
59,
107,
49,
244,
53,
51,
56,
54,
56,
60,
55,
58,
57,
62,
53,
54,
62,
59,
53,
60,
61,
57,
107,
49,
6056,
53,
51,
56,
59,
57,
60,
53,
58,
61,
61,
55,
56,
58,
55,
62,
57,
54,
54,
59,
107,
49,
244,
53,
51,
57,
57,
62,
53,
54,
62,
59,
53,
60,
61,
57,
56,
54,
56,
60,
55,
60,
107,
49,
244,
53,
51,
59,
58,
59,
61,
59,
55,
60,
57,
58,
53,
62,
61,
53,
56,
62,
55,
107,
49,
6056,
53,
51,
60,
57,
60,
53,
58,
61,
61,
55,
56,
58,
55,
62,
57,
54,
54,
61,
107,
49,
244,
53,
51,
61,
57,
58,
53,
62,
61,
53,
56,
62,
55,
54,
58,
59,
61,
59,
56,
107,
130,
343,
2604,
343,
556,
413,
11121,
18481,
45,
547,
556,
1916,
1197,
320,
53,
51,
62,
55,
58,
107,
49,
244,
53,
51,
62,
56,
107,
49,
244,
53,
51,
62,
56,
61,
107,
49,
244,
53,
51,
62,
57,
60,
107,
49,
244,
53,
51,
62,
58,
58,
62,
58,
55,
56,
61,
53,
62,
58,
55,
56,
61,
54,
107,
49,
6056,
53,
51,
62,
59,
61,
54,
53,
59,
62,
62,
58,
61,
61,
57,
60,
60,
56,
60,
107,
49,
244,
53,
51,
62,
60,
59,
53,
57,
60,
62,
53,
57,
54,
62,
54,
59,
54,
59,
60,
107,
49,
244,
53,
51,
62,
61,
60,
56,
58,
59,
56,
55,
54,
61,
56,
62,
53,
61,
53,
57,
107,
49,
244,
53,
107,
49,
244,
53,
107,
49,
6056,
53,
51,
53,
53,
62,
53,
58,
60,
62,
60,
54,
53,
54,
57,
57,
62,
55,
60,
60,
54,
107,
49,
244,
53,
51,
53,
55,
59,
60,
57,
61,
62,
60,
54,
54,
62,
56,
57,
54,
58,
59,
57,
61,
107,
49,
6056,
53,
51,
53,
57,
54,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
54,
59,
107,
49,
244,
53,
51,
53,
58,
56,
53,
56,
53,
56,
53,
56,
53,
56,
53,
56,
53,
56,
53,
57,
107,
855,
547,
556,
1916,
1197,
320,
54,
107,
49,
244,
54,
107,
49,
244,
54,
107,
49,
244,
54,
107,
49,
244,
54,
107,
49,
244,
53,
51,
61,
56,
58,
53,
58,
54,
58,
57,
59,
56,
62,
54,
60,
58,
55,
59,
107,
49,
244,
53,
51,
59,
62,
55,
62,
57,
59,
53,
58,
61,
53,
62,
54,
55,
61,
59,
56,
107,
49,
6056,
53,
51,
59,
56,
61,
60,
59,
59,
58,
54,
62,
61,
55,
56,
60,
61,
61,
58,
107,
49,
244,
53,
51,
59,
62,
54,
57,
61,
62,
56,
59,
54,
60,
53,
55,
54,
55,
60,
59,
107,
49,
244,
53,
51,
60,
58,
61,
56,
61,
62,
55,
59,
54,
60,
57,
57,
62,
59,
59,
59,
107,
49,
6056,
53,
51,
61,
53,
60,
53,
54,
60,
58,
57,
56,
61,
58,
62,
59,
57,
62,
58,
107,
49,
244,
53,
51,
62,
56,
54,
53,
56,
57,
57,
61,
55,
60,
58,
61,
59,
55,
53,
62,
107,
49,
244,
54,
107,
49,
244,
54,
107,
855,
547,
556,
1916,
1197,
320,
53,
51,
54,
53,
107,
49,
244,
53,
51,
54,
56,
107,
49,
244,
53,
51,
54,
60,
107,
49,
244,
53,
51,
55,
107,
49,
244,
53,
51,
55,
60,
57,
58,
53,
62,
61,
53,
56,
62,
55,
54,
58,
59,
61,
59,
58,
107,
49,
6056,
53,
51,
56,
61,
53,
56,
62,
55,
54,
58,
59,
61,
59,
55,
60,
57,
58,
54,
107,
49,
244,
53,
51,
57,
60,
55,
58,
57,
62,
53,
54,
62,
59,
53,
60,
61,
57,
56,
55,
107,
49,
244,
53,
51,
58,
58,
57,
62,
53,
54,
62,
59,
53,
60,
61,
57,
56,
54,
56,
61,
107,
49,
6056,
53,
51,
59,
56,
54,
56,
60,
55,
58,
57,
62,
53,
54,
62,
59,
53,
60,
61,
107,
49,
244,
53,
51,
60,
53,
60,
61,
57,
56,
54,
56,
60,
55,
58,
57,
62,
53,
55,
107,
49,
244,
53,
51,
60,
60,
59,
57,
60,
53,
58,
61,
61,
55,
56,
58,
55,
62,
57,
54,
107,
49,
6056,
53,
51,
61,
55,
62,
57,
54,
54,
60,
59,
57,
60,
53,
58,
61,
61,
55,
56,
107,
49,
244,
53,
51,
62,
53,
58,
61,
61,
55,
56,
58,
55,
62,
57,
54,
54,
60,
59,
58,
107,
49,
244,
53,
51,
62,
58,
59,
61,
59,
55,
60,
57,
58,
53,
62,
61,
53,
56,
62,
54,
107,
130,
343,
2604,
343,
556,
413,
11121,
18481,
45,
547,
556,
1916,
1197,
320,
53,
51,
60,
56,
56,
107,
49,
244,
53,
51,
60,
56,
59,
107,
49,
244,
53,
51,
60,
57,
57,
107,
49,
244,
53,
51,
60,
58,
54,
57,
59,
54,
62,
61,
61,
56,
53,
57,
53,
62,
56,
59,
107,
49,
244,
53,
51,
60,
59,
60,
62,
60,
56,
61,
58,
59,
55,
53,
62,
54,
58,
53,
56,
107,
49,
6056,
53,
51,
60,
61,
53,
55,
53,
61,
56,
56,
56,
56,
56,
56,
56,
56,
56,
56,
107,
49,
244,
53,
51,
60,
61,
57,
57,
56,
54,
54,
56,
60,
60,
55,
57,
58,
58,
53,
62,
107,
49,
244,
53,
51,
60,
62,
59,
61,
60,
58,
107,
49,
6056,
53,
51,
61,
54,
59,
58,
59,
54,
61,
57,
57,
61,
59,
56,
60,
56,
54,
59,
107,
49,
244,
53,
51,
61,
57,
61,
60,
54,
60,
62,
57,
61,
60,
54,
60,
62,
57,
61,
60,
107,
49,
244,
53,
51,
61,
58,
61,
55,
56,
60,
58,
57,
60,
61,
62,
55,
60,
55,
53,
56,
107,
49,
6056,
53,
51,
61,
58,
59,
55,
53,
62,
54,
58,
53,
56,
55,
59,
60,
62,
60,
58,
107,
49,
244,
53,
51,
61,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
60,
107,
855,
547,
556,
1916,
1197,
320,
54,
107,
49,
244,
54,
107,
49,
244,
54,
107,
49,
244,
54,
107,
49,
244,
54,
107,
49,
244,
53,
51,
61,
54,
59,
56,
55,
59,
58,
56,
53,
59,
54,
55,
55,
57,
57,
62,
107,
49,
244,
53,
51,
59,
59,
58,
56,
56,
61,
59,
57,
58,
57,
54,
61,
56,
55,
59,
61,
107,
49,
6056,
53,
51,
60,
58,
57,
60,
54,
59,
62,
61,
54,
54,
56,
55,
53,
60,
58,
56,
107,
49,
244,
53,
51,
62,
55,
62,
61,
55,
57,
58,
59,
54,
57,
53,
56,
58,
53,
62,
107,
49,
244,
53,
51,
62,
58,
58,
61,
61,
55,
56,
58,
55,
62,
57,
54,
54,
60,
59,
59,
107,
49,
6056,
53,
51,
62,
58,
59,
53,
57,
56,
62,
58,
59,
53,
57,
56,
62,
58,
59,
55,
107,
49,
244,
54,
107,
49,
244,
54,
107,
855,
547,
556,
1916,
1197,
320,
53,
51,
53,
60,
107,
49,
244,
53,
51,
54,
55,
107,
49,
244,
53,
51,
54,
60,
107,
49,
244,
53,
51,
55,
55,
56,
58,
55,
62,
57,
54,
54,
60,
59,
57,
60,
53,
58,
62,
107,
49,
244,
53,
51,
56,
107,
49,
6056,
53,
51,
56,
61,
57,
56,
54,
56,
60,
55,
58,
57,
62,
53,
54,
62,
59,
53,
58,
107,
49,
244,
53,
51,
57,
62,
55,
54,
58,
59,
61,
59,
55,
60,
57,
58,
53,
62,
61,
107,
49,
244,
53,
51,
58,
61,
57,
56,
54,
56,
60,
55,
58,
57,
62,
53,
54,
62,
59,
54,
107,
49,
6056,
53,
51,
59,
59,
57,
60,
53,
58,
61,
61,
55,
56,
58,
55,
62,
57,
54,
54,
107,
49,
244,
53,
51,
60,
56,
56,
56,
56,
56,
56,
56,
56,
56,
56,
56,
56,
56,
56,
57,
107,
49,
244,
53,
51,
61,
55,
54,
58,
59,
61,
59,
55,
60,
57,
58,
53,
62,
61,
53,
57,
107,
49,
244,
53,
51,
62,
107,
49,
6056,
53,
51,
62,
57,
54,
54,
60,
59,
57,
60,
53,
58,
61,
61,
55,
56,
58,
56,
107,
130,
343,
2604,
343,
556,
413,
11121,
18481,
45,
547,
556,
1916,
1197,
320,
53,
51,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
107,
49,
244,
53,
51,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
107,
49,
244,
53,
51,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
107,
49,
6056,
53,
51,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
107,
49,
244,
53,
51,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
107,
49,
244,
53,
51,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
107,
49,
6056,
53,
51,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
107,
49,
244,
53,
51,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
107,
49,
244,
53,
51,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
107,
49,
6056,
53,
51,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
107,
49,
244,
53,
51,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
107,
855,
547,
556,
1916,
1197,
320,
53,
51,
55,
58,
107,
49,
244,
53,
51,
55,
57,
58,
62,
53,
54,
59,
56,
62,
56,
57,
57,
55,
59,
55,
56,
55,
107,
49,
244,
53,
51,
54,
60,
61,
61,
53,
60,
62,
57,
60,
53,
54,
62,
61,
59,
60,
58,
55,
107,
49,
6056,
53,
51,
54,
57,
59,
53,
59,
60,
57,
54,
58,
60,
56,
53,
56,
56,
60,
54,
56,
107,
49,
244,
53,
51,
54,
56,
60,
59,
54,
57,
59,
60,
61,
61,
62,
62,
53,
61,
55,
58,
55,
107,
49,
244,
53,
51,
54,
57,
61,
62,
56,
59,
54,
60,
53,
55,
54,
55,
60,
59,
58,
62,
55,
107,
49,
6056,
53,
51,
54,
59,
60,
58,
59,
60,
58,
59,
60,
58,
59,
60,
58,
59,
60,
58,
61,
107,
49,
244,
53,
51,
55,
53,
56,
54,
55,
58,
53,
53,
53,
53,
53,
53,
53,
53,
53,
54,
60,
107,
49,
244,
53,
51,
55,
59,
53,
61,
59,
62,
58,
59,
58,
55,
54,
60,
56,
62,
54,
56,
58,
107,
49,
6056,
53,
51,
55,
62,
62,
62,
62,
62,
62,
62,
62,
62,
62,
62,
62,
62,
62,
59,
59,
107,
49,
244,
53,
51,
58,
53,
53,
53,
53,
53,
53,
53,
53,
53,
53,
53,
53,
53,
53,
57,
107,
855,
547,
556,
1916,
1197,
320,
53,
51,
54,
61,
107,
49,
244,
53,
51,
55,
56,
62,
55,
54,
58,
59,
61,
59,
55,
60,
57,
58,
53,
62,
61,
107,
49,
244,
53,
51,
55,
62,
59,
53,
60,
61,
57,
56,
54,
56,
60,
55,
58,
57,
62,
107,
49,
6056,
53,
51,
56,
57,
62,
53,
54,
62,
59,
53,
60,
61,
57,
56,
54,
56,
60,
55,
57,
107,
49,
244,
53,
51,
57,
55,
60,
57,
58,
53,
62,
61,
53,
56,
62,
55,
54,
58,
59,
62,
107,
49,
244,
53,
51,
58,
56,
62,
55,
54,
58,
59,
61,
59,
55,
60,
57,
58,
53,
62,
61,
107,
49,
6056,
53,
51,
59,
56,
60,
55,
58,
57,
62,
53,
54,
62,
59,
53,
60,
61,
57,
56,
107,
49,
244,
53,
51,
60,
57,
62,
53,
54,
62,
59,
53,
60,
61,
57,
56,
54,
56,
60,
56,
107,
49,
244,
53,
51,
61,
54,
62,
59,
53,
60,
61,
57,
56,
54,
56,
60,
55,
58,
57,
62,
107,
49,
6056,
53,
51,
61,
61,
55,
56,
58,
55,
62,
57,
54,
54,
60,
59,
57,
60,
53,
59,
107,
49,
244,
53,
51,
62,
56,
60,
55,
58,
57,
62,
53,
54,
62,
59,
53,
60,
61,
57,
56,
107,
130,
343,
2604,
343,
556,
413,
11121,
18481,
45,
547,
556,
1916,
1197,
320,
53,
51,
62,
56,
61,
107,
49,
244,
53,
51,
62,
57,
57,
107,
49,
244,
53,
51,
62,
58,
55,
107,
49,
244,
53,
51,
62,
59,
54,
107,
49,
244,
53,
51,
62,
59,
60,
61,
58,
60,
54,
57,
55,
61,
58,
60,
54,
57,
55,
62,
107,
49,
6056,
53,
51,
62,
62,
57,
57,
61,
54,
55,
56,
59,
55,
53,
56,
53,
62,
53,
58,
107,
49,
244,
53,
107,
49,
244,
53,
107,
49,
6056,
53,
51,
53,
53,
57,
60,
56,
57,
61,
57,
61,
57,
61,
57,
61,
57,
61,
57,
61,
54,
58,
107,
49,
244,
53,
51,
53,
53,
56,
54,
59,
57,
58,
58,
59,
62,
59,
55,
53,
55,
58,
56,
55,
107,
49,
244,
53,
107,
49,
6056,
53,
51,
62,
62,
61,
53,
56,
62,
55,
54,
58,
59,
61,
59,
55,
60,
57,
58,
107,
49,
244,
53,
51,
62,
61,
54,
57,
61,
54,
57,
61,
54,
57,
61,
54,
57,
61,
54,
59,
107,
49,
244,
53,
51,
62,
60,
55,
55,
55,
55,
55,
55,
55,
55,
55,
55,
55,
55,
55,
54,
107,
855,
547,
556,
1916,
1197,
320,
54,
107,
49,
244,
54,
107,
49,
244,
54,
107,
49,
244,
54,
107,
49,
244,
54,
107,
49,
244,
53,
51,
60,
53,
55,
56,
55,
58,
58,
61,
54,
56,
62,
58,
56,
57,
61,
61,
107,
49,
244,
53,
51,
59,
59,
56,
61,
59,
58,
58,
57,
59,
55,
54,
61,
57,
61,
60,
57,
107,
49,
6056,
53,
51,
59,
58,
55,
54,
60,
56,
62,
54,
56,
53,
57,
56,
57,
60,
61,
55,
107,
49,
244,
53,
51,
60,
60,
54,
62,
55,
62,
61,
55,
57,
58,
59,
54,
57,
53,
56,
58,
107,
49,
244,
53,
51,
61,
56,
54,
58,
60,
61,
62,
57,
60,
56,
59,
61,
57,
55,
54,
54,
107,
49,
6056,
53,
51,
59,
61,
59,
60,
57,
59,
62,
61,
60,
62,
58,
54,
61,
53,
60,
54,
107,
49,
244,
53,
51,
60,
55,
59,
57,
62,
58,
60,
55,
59,
57,
62,
58,
60,
55,
59,
58,
107,
49,
244,
53,
51,
61,
54,
61,
54,
61,
54,
61,
54,
61,
54,
61,
54,
61,
54,
61,
55,
107,
49,
6056,
53,
51,
61,
54,
61,
54,
61,
54,
61,
54,
61,
54,
61,
54,
61,
54,
61,
62,
107,
855,
547,
556,
1916,
1197,
320,
53,
51,
53,
61,
107,
49,
244,
53,
51,
54,
56,
107,
49,
244,
53,
51,
54,
61,
107,
49,
244,
53,
51,
55,
56,
107,
49,
244,
53,
51,
55,
60,
57,
58,
53,
62,
61,
53,
56,
62,
55,
54,
58,
59,
61,
59,
58,
107,
49,
6056,
53,
51,
57,
55,
54,
58,
59,
61,
59,
55,
60,
57,
58,
53,
62,
61,
53,
57,
107,
49,
6056,
53,
51,
57,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
60,
107,
49,
244,
53,
51,
58,
53,
56,
62,
55,
54,
58,
59,
61,
59,
55,
60,
57,
58,
54,
107,
49,
244,
53,
51,
58,
58,
55,
62,
57,
54,
54,
60,
59,
57,
60,
53,
58,
61,
61,
56,
107,
49,
6056,
53,
51,
59,
55,
60,
57,
58,
53,
62,
61,
53,
56,
62,
55,
54,
58,
59,
62,
107,
49,
244,
53,
51,
59,
60,
57,
58,
53,
62,
61,
53,
56,
62,
55,
54,
58,
59,
61,
60,
107,
49,
244,
53,
51,
60,
60,
53,
58,
61,
61,
55,
56,
58,
55,
62,
57,
54,
54,
60,
59,
107,
49,
6056,
53,
51,
61,
62,
55,
54,
58,
59,
61,
59,
55,
60,
57,
58,
53,
62,
61,
107,
49,
244,
53,
51,
62,
58,
59,
61,
59,
55,
60,
57,
58,
53,
62,
61,
53,
56,
62,
54,
107,
130,
343,
2604,
343,
556,
413,
11121,
18481,
45,
547,
556,
1916,
1197,
320,
53,
51,
61,
61,
107,
49,
244,
53,
51,
61,
61,
61,
107,
49,
244,
53,
51,
61,
62,
60,
107,
49,
244,
53,
51,
62,
53,
58,
55,
55,
61,
60,
58,
61,
54,
59,
62,
62,
56,
57,
59,
107,
49,
244,
53,
51,
62,
54,
54,
55,
53,
55,
54,
61,
58,
60,
62,
55,
56,
57,
62,
61,
107,
49,
6056,
53,
51,
62,
55,
60,
53,
54,
58,
55,
58,
53,
58,
57,
57,
59,
59,
55,
57,
107,
49,
244,
53,
51,
62,
56,
57,
56,
54,
56,
60,
55,
58,
57,
62,
53,
54,
62,
59,
54,
107,
49,
244,
53,
51,
62,
56,
62,
54,
58,
56,
57,
56,
62,
54,
58,
56,
57,
56,
62,
54,
107,
49,
6056,
53,
51,
62,
57,
56,
60,
62,
61,
57,
57,
62,
59,
54,
55,
57,
53,
56,
54,
107,
49,
244,
53,
51,
62,
57,
56,
59,
59,
54,
62,
60,
54,
61,
56,
53,
62,
61,
59,
107,
49,
244,
53,
51,
62,
57,
56,
61,
62,
57,
56,
61,
62,
57,
56,
61,
62,
57,
56,
62,
107,
49,
6056,
53,
51,
62,
57,
55,
59,
55,
55,
62,
58,
53,
61,
54,
62,
59,
60,
55,
55,
107,
49,
244,
53,
51,
62,
57,
57,
57,
57,
57,
57,
57,
57,
57,
57,
57,
57,
57,
57,
57,
107,
855,
547,
556,
1916,
1197,
320,
54,
107,
49,
244,
54,
107,
49,
244,
54,
107,
49,
244,
54,
107,
49,
244,
53,
51,
61,
54,
56,
56,
56,
56,
56,
56,
56,
56,
56,
56,
56,
56,
56,
55,
107,
49,
244,
53,
51,
60,
62,
55,
60,
57,
59,
54,
54,
56,
62,
61,
62,
59,
56,
60,
58,
107,
49,
6056,
53,
51,
60,
60,
62,
61,
54,
59,
58,
54,
56,
60,
59,
54,
57,
59,
60,
62,
107,
49,
244,
53,
51,
60,
60,
60,
60,
60,
60,
60,
60,
60,
60,
60,
60,
60,
60,
60,
62,
107,
49,
244,
53,
51,
61,
54,
62,
53,
57,
60,
59,
54,
62,
53,
57,
60,
59,
54,
62,
54,
107,
49,
6056,
53,
51,
61,
55,
58,
58,
61,
54,
56,
62,
58,
56,
57,
61,
61,
56,
60,
55,
107,
49,
244,
53,
51,
61,
55,
54,
54,
56,
61,
55,
54,
54,
56,
61,
55,
54,
54,
57,
55,
107,
49,
244,
53,
51,
61,
54,
56,
56,
56,
56,
56,
56,
56,
56,
56,
56,
56,
56,
56,
59,
107,
49,
6056,
53,
51,
61,
53,
53,
53,
53,
53,
53,
53,
53,
53,
53,
53,
53,
53,
53,
59,
107,
855,
547,
556,
1916,
1197,
320,
53,
51,
53,
61,
107,
49,
244,
53,
51,
54,
55,
107,
49,
244,
53,
51,
54,
59,
107,
49,
244,
53,
51,
55,
107,
49,
244,
53,
51,
55,
62,
57,
54,
54,
60,
59,
57,
60,
53,
58,
61,
61,
55,
56,
58,
57,
107,
49,
6056,
53,
51,
56,
60,
61,
57,
56,
54,
56,
60,
55,
58,
57,
62,
53,
54,
62,
59,
107,
49,
244,
53,
51,
57,
55,
60,
57,
58,
53,
62,
61,
53,
56,
62,
55,
54,
58,
59,
61,
57,
107,
49,
244,
53,
51,
57,
60,
59,
57,
60,
53,
58,
61,
61,
55,
56,
58,
55,
62,
57,
54,
107,
49,
6056,
53,
51,
58,
61,
61,
55,
56,
58,
55,
62,
57,
54,
54,
60,
59,
57,
60,
54,
107,
49,
244,
53,
51,
59,
59,
55,
60,
57,
58,
53,
62,
61,
53,
56,
62,
55,
54,
58,
60,
107,
49,
244,
53,
51,
60,
58,
61,
61,
55,
56,
58,
55,
62,
57,
54,
54,
60,
59,
57,
60,
107,
49,
6056,
53,
51,
61,
58,
55,
62,
57,
54,
54,
60,
59,
57,
60,
53,
58,
61,
61,
55,
107,
49,
244,
53,
51,
62,
57,
54,
54,
60,
59,
57,
60,
53,
58,
61,
61,
55,
56,
58,
56,
107,
130,
343,
2604,
343,
556,
413,
11121,
18481,
45,
547,
556,
1916,
1197,
320,
53,
51,
59,
59,
62,
107,
49,
244,
53,
51,
59,
61,
53,
107,
49,
244,
53,
51,
59,
61,
61,
57,
53,
58,
60,
62,
60,
54,
53,
54,
57,
57,
62,
55,
107,
49,
244,
53,
51,
59,
62,
60,
57,
60,
61,
62,
62,
54,
58,
62,
59,
59,
56,
61,
60,
107,
49,
6056,
53,
51,
60,
53,
60,
62,
61,
61,
62,
61,
53,
60,
54,
59,
55,
58,
56,
57,
107,
49,
244,
53,
51,
60,
54,
58,
57,
57,
60,
54,
58,
57,
57,
60,
54,
58,
57,
57,
60,
107,
49,
244,
53,
51,
60,
55,
54,
60,
60,
57,
54,
62,
56,
58,
57,
61,
56,
61,
60,
55,
107,
49,
6056,
53,
51,
60,
55,
60,
57,
54,
57,
56,
56,
53,
55,
54,
61,
53,
59,
61,
60,
107,
49,
244,
53,
51,
60,
55,
60,
55,
60,
55,
60,
55,
60,
55,
60,
55,
60,
55,
60,
56,
107,
49,
244,
53,
51,
60,
55,
58,
61,
53,
59,
57,
58,
54,
59,
54,
55,
62,
53,
56,
54,
107,
49,
6056,
53,
51,
60,
55,
58,
55,
55,
58,
55,
55,
58,
55,
55,
58,
55,
55,
58,
54,
107,
49,
244,
53,
51,
60,
56,
56,
56,
56,
56,
56,
56,
56,
56,
56,
56,
56,
56,
56,
56,
107,
855,
547,
556,
1916,
1197,
320,
53,
51,
61,
54,
107,
49,
244,
53,
51,
61,
54,
107,
49,
244,
53,
51,
61,
55,
54,
57,
55,
61,
58,
60,
54,
57,
55,
61,
58,
60,
54,
58,
107,
49,
244,
53,
51,
59,
61,
60,
61,
59,
54,
55,
60,
54,
59,
60,
59,
56,
53,
53,
59,
107,
49,
6056,
53,
51,
59,
53,
61,
53,
57,
53,
55,
53,
54,
53,
53,
58,
53,
55,
58,
54,
107,
49,
244,
53,
51,
58,
60,
60,
57,
59,
57,
60,
61,
61,
60,
56,
55,
56,
62,
57,
56,
107,
49,
244,
53,
51,
58,
56,
62,
54,
56,
53,
57,
56,
57,
60,
61,
55,
59,
53,
61,
59,
107,
49,
6056,
53,
51,
57,
59,
60,
55,
57,
61,
62,
53,
61,
55,
62,
59,
62,
57,
56,
54,
59,
107,
49,
244,
53,
51,
57,
59,
61,
53,
61,
58,
54,
53,
59,
56,
61,
55,
62,
60,
61,
61,
107,
49,
244,
53,
51,
57,
59,
55,
59,
61,
59,
58,
59,
60,
54,
59,
57,
54,
60,
62,
107,
49,
6056,
53,
51,
57,
58,
59,
60,
62,
53,
54,
55,
56,
57,
58,
59,
60,
61,
62,
60,
60,
107,
49,
244,
53,
51,
57,
58,
57,
58,
57,
58,
57,
58,
57,
58,
57,
58,
57,
58,
58,
54,
107,
855,
547,
556,
1916,
1197,
320,
53,
51,
54,
55,
107,
49,
244,
53,
51,
54,
59,
107,
49,
244,
53,
51,
55,
54,
62,
59,
53,
60,
61,
57,
56,
54,
56,
60,
55,
58,
57,
62,
107,
49,
244,
53,
51,
56,
56,
62,
55,
54,
58,
59,
61,
59,
55,
60,
57,
58,
53,
62,
60,
59,
107,
49,
6056,
53,
51,
56,
62,
53,
54,
62,
59,
53,
60,
61,
57,
56,
54,
56,
60,
55,
58,
58,
107,
49,
244,
53,
51,
57,
54,
60,
59,
57,
60,
53,
58,
61,
61,
55,
56,
58,
55,
62,
57,
107,
49,
244,
53,
51,
57,
58,
53,
62,
61,
53,
56,
62,
55,
54,
58,
59,
61,
59,
55,
60,
58,
107,
49,
6056,
53,
51,
58,
58,
53,
62,
61,
53,
56,
62,
55,
54,
58,
59,
61,
59,
55,
61,
107,
49,
244,
53,
51,
59,
56,
54,
56,
60,
55,
58,
57,
62,
53,
54,
62,
59,
53,
60,
61,
107,
49,
244,
53,
51,
60,
56,
60,
55,
58,
57,
62,
53,
54,
62,
59,
53,
60,
61,
57,
57,
107,
49,
6056,
53,
51,
61,
57,
54,
54,
60,
59,
57,
60,
53,
58,
61,
61,
55,
56,
58,
56,
107,
49,
244,
53,
51,
62,
56,
58,
55,
62,
57,
54,
54,
60,
59,
57,
60,
53,
58,
61,
61,
107,
130,
343,
2604,
343,
556,
413,
11121,
18481,
45,
547,
556,
1916,
1197,
320,
53,
51,
59,
57,
60,
53,
58,
61,
61,
55,
56,
58,
55,
62,
57,
54,
54,
61,
107,
49,
244,
53,
51,
59,
58,
54,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
60,
107,
49,
244,
53,
51,
59,
57,
59,
57,
54,
60,
57,
57,
58,
57,
61,
55,
61,
59,
59,
54,
107,
49,
6056,
53,
51,
59,
57,
57,
54,
57,
57,
54,
57,
57,
54,
57,
57,
54,
57,
57,
55,
107,
49,
244,
53,
51,
59,
57,
56,
55,
60,
57,
61,
58,
56,
61,
53,
54,
54,
59,
62,
59,
107,
49,
244,
53,
51,
59,
57,
54,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
60,
107,
49,
6056,
53,
51,
59,
57,
53,
55,
57,
56,
62,
53,
55,
57,
56,
62,
53,
55,
57,
56,
107,
49,
244,
53,
51,
59,
57,
54,
55,
57,
55,
62,
56,
60,
61,
58,
56,
54,
53,
60,
57,
107,
49,
244,
53,
51,
59,
57,
56,
58,
54,
61,
58,
54,
61,
58,
54,
61,
58,
54,
61,
59,
107,
49,
6056,
53,
51,
59,
57,
55,
61,
58,
60,
54,
57,
55,
61,
58,
60,
54,
57,
55,
62,
107,
855,
547,
556,
1916,
1197,
320,
53,
51,
61,
53,
62,
58,
55,
56,
61,
53,
62,
58,
55,
56,
61,
53,
62,
58,
107,
49,
244,
53,
51,
59,
58,
60,
61,
62,
57,
60,
56,
59,
61,
57,
55,
54,
53,
58,
56,
107,
49,
244,
53,
51,
58,
60,
55,
54,
62,
55,
58,
54,
56,
56,
59,
61,
62,
61,
56,
62,
107,
49,
6056,
53,
51,
58,
56,
59,
55,
56,
54,
61,
61,
57,
53,
58,
60,
62,
60,
54,
54,
107,
49,
244,
53,
51,
58,
107,
49,
244,
53,
51,
57,
57,
55,
57,
60,
60,
61,
60,
59,
54,
53,
59,
54,
62,
57,
60,
107,
49,
244,
53,
51,
57,
57,
53,
61,
59,
53,
55,
54,
58,
53,
58,
56,
60,
59,
56,
55,
60,
107,
49,
6056,
53,
51,
57,
57,
56,
59,
53,
62,
53,
55,
55,
58,
58,
59,
56,
62,
53,
62,
58,
107,
49,
244,
53,
51,
57,
57,
62,
62,
62,
62,
62,
62,
62,
62,
62,
62,
62,
62,
62,
60,
107,
49,
244,
53,
51,
57,
56,
60,
58,
53,
53,
53,
53,
53,
53,
53,
53,
53,
53,
53,
59,
107,
855,
547,
556,
1916,
1197,
320,
53,
51,
54,
59,
57,
60,
53,
58,
61,
61,
55,
56,
58,
55,
62,
57,
54,
54,
60,
107,
49,
244,
53,
51,
55,
62,
61,
53,
56,
62,
55,
54,
58,
59,
61,
59,
55,
60,
57,
58,
107,
49,
244,
53,
51,
56,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
57,
107,
49,
6056,
53,
51,
57,
53,
58,
61,
61,
55,
56,
58,
55,
62,
57,
54,
54,
60,
59,
57,
60,
107,
49,
244,
53,
51,
57,
57,
60,
53,
58,
61,
61,
55,
56,
58,
55,
62,
57,
54,
54,
60,
56,
107,
49,
6056,
53,
51,
58,
58,
59,
61,
59,
55,
60,
57,
58,
53,
62,
61,
53,
56,
62,
55,
107,
49,
244,
53,
51,
59,
56,
58,
55,
62,
57,
54,
54,
60,
59,
57,
60,
53,
58,
61,
61,
107,
49,
244,
53,
51,
60,
56,
62,
55,
54,
58,
59,
61,
59,
55,
60,
57,
58,
53,
62,
61,
107,
49,
6056,
53,
51,
61,
57,
56,
54,
56,
60,
55,
58,
57,
62,
53,
54,
62,
59,
53,
61,
107,
49,
244,
53,
51,
62,
56,
60,
55,
58,
57,
62,
53,
54,
62,
59,
53,
60,
61,
57,
56,
107,
130,
343,
2604,
343,
556,
413,
11121,
18481,
45,
547,
556,
1916,
1197,
320,
53,
51,
57,
59,
62,
107,
49,
244,
53,
51,
57,
59,
60,
56,
55,
53,
55,
59,
54,
57,
56,
60,
62,
53,
61,
57,
58,
107,
49,
244,
53,
51,
57,
60,
54,
61,
59,
54,
57,
60,
54,
61,
59,
54,
57,
60,
54,
62,
107,
49,
6056,
53,
51,
57,
60,
62,
56,
59,
58,
53,
60,
62,
56,
59,
58,
53,
60,
62,
57,
107,
49,
244,
53,
51,
57,
61,
53,
60,
54,
59,
55,
58,
56,
57,
57,
56,
58,
55,
59,
54,
57,
107,
49,
244,
53,
51,
57,
61,
55,
62,
59,
61,
56,
59,
62,
61,
55,
62,
59,
61,
56,
60,
107,
49,
6056,
53,
51,
57,
61,
57,
56,
60,
58,
107,
49,
244,
53,
51,
57,
61,
57,
54,
55,
59,
62,
61,
57,
54,
55,
59,
62,
61,
57,
55,
107,
49,
244,
53,
51,
57,
61,
57,
57,
57,
57,
57,
57,
57,
57,
57,
57,
57,
57,
57,
58,
60,
107,
49,
6056,
53,
51,
57,
61,
58,
54,
61,
58,
54,
61,
58,
54,
61,
58,
54,
61,
58,
54,
59,
107,
49,
244,
53,
51,
57,
62,
53,
60,
57,
53,
60,
57,
53,
60,
57,
53,
60,
57,
53,
61,
107,
855,
547,
556,
1916,
1197,
320,
54,
107,
49,
244,
54,
107,
49,
244,
54,
107,
49,
244,
54,
107,
49,
244,
54,
107,
49,
244,
54,
107,
49,
244,
53,
51,
59,
55,
60,
57,
58,
53,
62,
61,
53,
56,
62,
55,
54,
58,
59,
62,
107,
49,
244,
53,
51,
57,
54,
61,
56,
55,
59,
59,
62,
56,
55,
55,
60,
53,
62,
54,
60,
59,
107,
49,
6056,
53,
51,
57,
54,
61,
62,
62,
57,
57,
54,
56,
57,
53,
60,
61,
55,
54,
53,
59,
107,
49,
244,
53,
51,
57,
54,
55,
61,
57,
57,
53,
56,
59,
59,
62,
60,
55,
57,
60,
61,
107,
49,
244,
53,
51,
57,
53,
62,
53,
62,
53,
62,
53,
62,
53,
62,
53,
62,
53,
61,
61,
107,
855,
547,
556,
1916,
1197,
320,
53,
51,
53,
60,
107,
49,
244,
53,
51,
54,
107,
49,
244,
53,
51,
54,
58,
53,
62,
61,
53,
56,
62,
55,
54,
58,
59,
61,
59,
55,
60,
57,
107,
49,
244,
53,
51,
55,
53,
58,
61,
61,
55,
56,
58,
55,
62,
57,
54,
54,
60,
59,
57,
59,
107,
49,
6056,
53,
51,
55,
56,
60,
55,
58,
57,
62,
53,
54,
62,
59,
53,
60,
61,
57,
56,
107,
49,
244,
53,
51,
55,
59,
61,
59,
55,
60,
57,
58,
53,
62,
61,
53,
56,
62,
55,
54,
58,
107,
49,
244,
53,
51,
57,
107,
49,
244,
53,
51,
58,
53,
60,
61,
57,
56,
54,
56,
60,
55,
58,
57,
62,
53,
54,
62,
107,
49,
6056,
53,
51,
59,
57,
62,
53,
54,
62,
59,
53,
60,
61,
57,
56,
54,
56,
60,
55,
107,
49,
244,
53,
51,
60,
61,
59,
55,
60,
57,
58,
53,
62,
61,
53,
56,
62,
55,
54,
59,
107,
49,
244,
53,
51,
62,
54,
56,
60,
55,
58,
57,
62,
53,
54,
62,
59,
53,
60,
61,
57,
107,
130,
343,
2604,
343,
556,
413,
11121,
18481,
45,
547,
556,
1916,
1197,
320,
53,
51,
58,
57,
55,
107,
49,
244,
53,
51,
58,
57,
57,
57,
57,
57,
57,
57,
57,
57,
57,
57,
57,
57,
57,
57,
107,
49,
244,
53,
51,
58,
58,
58,
58,
58,
58,
58,
58,
58,
58,
58,
58,
58,
58,
58,
59,
107,
49,
6056,
53,
51,
58,
58,
58,
58,
58,
58,
58,
58,
58,
58,
58,
58,
58,
58,
58,
59,
107,
49,
244,
53,
51,
58,
58,
56,
60,
59,
56,
57,
57,
53,
61,
59,
53,
55,
54,
58,
107,
49,
244,
53,
51,
58,
58,
55,
59,
56,
54,
58,
60,
61,
62,
57,
60,
56,
59,
61,
57,
107,
49,
6056,
53,
51,
58,
58,
58,
58,
58,
58,
58,
58,
58,
58,
58,
58,
58,
58,
58,
59,
107,
49,
244,
53,
51,
58,
58,
58,
58,
58,
58,
58,
58,
58,
58,
58,
58,
58,
58,
58,
58,
107,
49,
244,
53,
51,
58,
58,
58,
58,
58,
58,
58,
58,
58,
58,
58,
58,
58,
58,
58,
59,
107,
49,
6056,
53,
51,
58,
58,
54,
55,
61,
55,
53,
58,
54,
55,
61,
55,
53,
58,
54,
57,
107,
49,
244,
53,
51,
58,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
60,
107,
855,
547,
556,
1916,
1197,
320,
53,
51,
55,
58,
107,
49,
244,
53,
51,
55,
57,
58,
62,
53,
54,
59,
56,
62,
56,
57,
57,
55,
59,
55,
56,
55,
107,
49,
244,
53,
51,
54,
62,
54,
57,
61,
62,
56,
59,
54,
60,
53,
55,
54,
55,
60,
59,
59,
107,
49,
6056,
53,
51,
54,
60,
62,
54,
53,
57,
57,
60,
60,
59,
54,
54,
62,
57,
53,
56,
107,
49,
244,
53,
51,
54,
61,
56,
57,
56,
54,
62,
58,
55,
59,
59,
55,
60,
55,
54,
62,
54,
107,
49,
244,
53,
51,
54,
61,
57,
57,
59,
59,
53,
54,
62,
57,
54,
60,
57,
60,
58,
60,
59,
107,
49,
6056,
53,
51,
54,
58,
56,
61,
57,
59,
54,
58,
56,
61,
57,
59,
54,
58,
56,
62,
107,
49,
244,
53,
51,
54,
58,
59,
55,
58,
53,
53,
53,
53,
53,
53,
53,
53,
53,
53,
53,
56,
107,
49,
244,
53,
51,
54,
58,
56,
55,
61,
57,
59,
60,
54,
58,
56,
55,
61,
57,
59,
60,
61,
107,
49,
6056,
53,
51,
54,
58,
59,
59,
55,
59,
58,
53,
59,
53,
55,
57,
53,
62,
59,
58,
56,
107,
49,
244,
53,
51,
54,
58,
54,
58,
54,
58,
54,
58,
54,
58,
54,
58,
54,
58,
54,
107,
855,
547,
556,
1916,
1197,
320,
53,
51,
53,
58,
107,
49,
244,
53,
51,
54,
54,
62,
59,
53,
60,
61,
57,
56,
54,
56,
60,
55,
58,
57,
62,
107,
49,
244,
53,
51,
54,
61,
57,
56,
54,
56,
60,
55,
58,
57,
62,
53,
54,
62,
59,
54,
107,
49,
6056,
53,
51,
55,
59,
55,
60,
57,
58,
53,
62,
61,
53,
56,
62,
55,
54,
58,
60,
107,
49,
6056,
53,
51,
56,
56,
54,
56,
60,
55,
58,
57,
62,
53,
54,
62,
59,
53,
60,
61,
56,
107,
49,
244,
53,
51,
57,
53,
56,
62,
55,
54,
58,
59,
61,
59,
55,
60,
57,
58,
54,
107,
49,
244,
53,
51,
58,
57,
54,
54,
60,
59,
57,
60,
53,
58,
61,
61,
55,
56,
58,
57,
107,
49,
6056,
53,
51,
59,
55,
56,
58,
55,
62,
57,
54,
54,
60,
59,
57,
60,
53,
58,
62,
107,
49,
244,
53,
51,
60,
56,
54,
56,
60,
55,
58,
57,
62,
53,
54,
62,
59,
53,
60,
62,
107,
49,
244,
53,
51,
61,
56,
60,
55,
58,
57,
62,
53,
54,
62,
59,
53,
60,
61,
57,
56,
107,
49,
6056,
53,
51,
62,
56,
58,
55,
62,
57,
54,
54,
60,
59,
57,
60,
53,
58,
61,
61,
107,
130,
343,
2604,
343,
556,
413,
11121,
18481,
45,
547,
556,
1916,
1197,
320,
53,
51,
53,
55,
55,
55,
55,
55,
55,
55,
55,
55,
55,
55,
55,
55,
55,
55,
55,
56,
107,
49,
244,
53,
51,
53,
55,
57,
59,
62,
54,
56,
58,
61,
53,
55,
57,
59,
62,
54,
56,
59,
107,
49,
244,
53,
51,
53,
56,
54,
55,
57,
62,
62,
62,
62,
62,
62,
62,
62,
62,
62,
62,
62,
60,
107,
49,
6056,
53,
51,
53,
56,
62,
57,
60,
56,
59,
61,
57,
55,
54,
53,
58,
55,
59,
56,
54,
107,
49,
244,
53,
51,
53,
57,
54,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
61,
107,
49,
6056,
53,
51,
53,
57,
56,
59,
58,
53,
60,
62,
56,
59,
58,
53,
60,
62,
56,
59,
58,
58,
107,
49,
244,
53,
51,
53,
57,
57,
54,
54,
60,
59,
57,
60,
53,
58,
61,
61,
55,
56,
58,
55,
107,
49,
244,
53,
51,
53,
57,
54,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
59,
58,
55,
107,
49,
6056,
53,
51,
53,
57,
57,
57,
57,
57,
57,
57,
57,
57,
57,
57,
57,
57,
57,
58,
62,
107,
49,
244,
53,
51,
53,
58,
58,
58,
58,
58,
58,
58,
58,
58,
58,
58,
58,
58,
58,
55,
62,
107,
855,
547,
556,
1916,
1197,
320,
53,
51,
56,
56,
56,
56,
56,
56,
56,
56,
56,
56,
56,
56,
56,
56,
56,
56,
60,
107,
49,
244,
53,
51,
55,
60,
61,
56,
58,
53,
58,
54,
58,
57,
59,
56,
62,
54,
60,
58,
107,
49,
244,
53,
51,
55,
58,
61,
53,
59,
57,
58,
54,
59,
54,
55,
62,
53,
56,
55,
56,
107,
49,
6056,
53,
51,
55,
58,
59,
60,
58,
59,
60,
58,
59,
60,
58,
59,
60,
58,
59,
60,
57,
107,
49,
244,
53,
51,
55,
58,
55,
61,
60,
56,
58,
59,
56,
55,
54,
61,
56,
62,
53,
61,
107,
49,
244,
53,
51,
54,
60,
58,
53,
53,
53,
53,
53,
53,
53,
53,
53,
53,
53,
53,
53,
55,
107,
49,
6056,
53,
51,
54,
58,
56,
54,
58,
56,
54,
58,
56,
54,
58,
56,
54,
58,
56,
54,
55,
107,
49,
244,
53,
51,
54,
58,
54,
61,
62,
61,
60,
56,
57,
54,
60,
60,
55,
54,
58,
55,
55,
107,
49,
6056,
53,
51,
54,
58,
60,
61,
62,
57,
60,
56,
59,
61,
57,
55,
54,
53,
58,
56,
57,
107,
49,
244,
53,
51,
54,
58,
60,
61,
62,
57,
60,
56,
59,
61,
57,
55,
54,
53,
58,
57,
55,
107,
855,
547,
556,
1916,
1197,
320,
53,
51,
53,
61,
61,
55,
56,
58,
55,
62,
57,
54,
54,
60,
59,
57,
60,
53,
58,
107,
49,
244,
53,
51,
54,
62,
53,
54,
62,
59,
53,
60,
61,
57,
56,
54,
56,
60,
55,
58,
57,
107,
49,
244,
53,
51,
55,
57,
56,
54,
56,
60,
55,
58,
57,
62,
53,
54,
62,
59,
53,
61,
107,
49,
6056,
53,
51,
55,
62,
53,
54,
62,
59,
53,
60,
61,
57,
56,
54,
56,
60,
55,
58,
107,
49,
244,
53,
51,
56,
57,
54,
54,
60,
59,
57,
60,
53,
58,
61,
61,
55,
56,
58,
56,
107,
49,
244,
53,
51,
57,
60,
53,
58,
61,
61,
55,
56,
58,
55,
62,
57,
54,
54,
60,
59,
57,
107,
49,
6056,
53,
51,
58,
59,
57,
60,
53,
58,
61,
61,
55,
56,
58,
55,
62,
57,
54,
55,
107,
49,
244,
53,
51,
59,
62,
53,
54,
62,
59,
53,
60,
61,
57,
56,
54,
56,
60,
55,
58,
107,
49,
244,
53,
51,
61,
54,
56,
60,
55,
58,
57,
62,
53,
54,
62,
59,
53,
60,
61,
57,
107,
49,
6056,
53,
51,
62,
55,
58,
57,
62,
53,
54,
62,
59,
53,
60,
61,
57,
56,
54,
57,
107,
130,
343,
2604,
343,
556,
413,
11121,
18481,
45,
547,
556,
1916,
1197,
320,
53,
51,
53,
55,
60,
107,
49,
244,
53,
51,
53,
56,
107,
49,
244,
53,
51,
53,
56,
61,
107,
49,
244,
53,
51,
53,
57,
57,
107,
49,
244,
53,
51,
53,
58,
53,
61,
61,
57,
62,
58,
58,
60,
58,
55,
55,
54,
55,
56,
61,
58,
107,
49,
6056,
53,
51,
53,
60,
55,
58,
57,
62,
53,
54,
62,
59,
53,
60,
61,
57,
56,
54,
56,
107,
49,
244,
53,
51,
53,
62,
56,
57,
59,
57,
53,
58,
55,
55,
61,
60,
58,
61,
54,
60,
107,
49,
6056,
53,
51,
54,
53,
57,
58,
60,
58,
54,
59,
56,
56,
62,
61,
59,
62,
55,
61,
54,
107,
49,
244,
53,
51,
54,
54,
59,
62,
62,
56,
57,
59,
57,
53,
58,
55,
55,
61,
60,
58,
61,
107,
49,
6056,
53,
51,
54,
55,
58,
58,
61,
54,
56,
62,
58,
56,
57,
61,
61,
56,
60,
55,
107,
49,
244,
53,
51,
54,
55,
59,
61,
62,
56,
62,
56,
62,
56,
62,
56,
62,
56,
62,
57,
107,
49,
244,
53,
51,
54,
55,
58,
56,
56,
56,
56,
56,
56,
56,
56,
56,
56,
56,
56,
56,
55,
107,
49,
6056,
53,
51,
54,
55,
58,
53,
53,
53,
53,
53,
53,
53,
53,
53,
53,
53,
53,
53,
56,
107,
49,
244,
53,
51,
54,
55,
60,
60,
60,
60,
60,
60,
60,
60,
60,
60,
60,
60,
60,
60,
60,
107,
855,
547,
556,
1916,
1197,
320,
54,
107,
49,
244,
54,
107,
49,
244,
54,
107,
49,
244,
54,
107,
49,
244,
54,
107,
49,
244,
54,
107,
49,
244,
54,
107,
49,
244,
54,
107,
49,
244,
54,
107,
49,
244,
54,
107,
49,
244,
54,
107,
49,
244,
54,
107,
49,
244,
54,
107,
49,
244,
54,
107,
855,
547,
556,
1916,
1197,
320,
53,
51,
55,
58,
107,
49,
244,
53,
51,
56,
107,
49,
244,
53,
51,
56,
58,
107,
49,
244,
53,
51,
57,
107,
49,
244,
53,
51,
57,
57,
56,
54,
56,
60,
55,
58,
57,
62,
53,
54,
62,
59,
53,
60,
59,
107,
49,
244,
53,
51,
58,
107,
49,
244,
53,
51,
58,
107,
49,
244,
53,
51,
58,
107,
49,
6056,
53,
51,
58,
107,
49,
244,
53,
51,
58,
60,
61,
57,
56,
54,
56,
60,
55,
58,
57,
62,
53,
54,
62,
59,
107,
49,
6056,
53,
51,
59,
58,
57,
62,
53,
54,
62,
59,
53,
60,
61,
57,
56,
54,
56,
60,
107,
49,
244,
53,
51,
60,
58,
57,
62,
53,
54,
62,
59,
53,
60,
61,
57,
56,
54,
56,
60,
107,
49,
244,
53,
51,
61,
58,
53,
62,
61,
53,
56,
62,
55,
54,
58,
59,
61,
59,
55,
60,
107,
49,
6056,
53,
51,
62,
57,
54,
54,
60,
59,
57,
60,
53,
58,
61,
61,
55,
56,
58,
56,
107,
130,
343,
848,
303,
1487,
465,
964,
924,
1175,
413,
11121,
18481,
590,
632,
94,
100,
28939,
1235,
1731,
299,
556,
413,
11121,
18481,
45,
343,
556,
1916,
14161,
53,
107,
49,
244,
53,
107,
49,
244,
53,
107,
49,
244,
53,
107,
49,
244,
53,
107,
49,
244,
53,
107,
49,
244,
53,
107,
49,
244,
53,
107,
49,
244,
53,
107,
49,
244,
53,
107,
49,
244,
53,
107,
49,
244,
53,
107,
855,
343,
556,
1916,
14161,
53,
107,
49,
244,
53,
107,
49,
244,
53,
107,
49,
244,
53,
107,
49,
244,
53,
107,
49,
244,
53,
107,
49,
244,
53,
107,
49,
244,
53,
107,
49,
244,
53,
107,
49,
244,
53,
107,
49,
244,
53,
107,
49,
244,
53,
107,
855,
343,
556,
1916,
14161,
53,
51,
53,
61,
107,
49,
244,
53,
51,
54,
54,
107,
49,
244,
53,
51,
54,
57,
62,
53,
54,
62,
59,
53,
60,
61,
57,
56,
54,
56,
60,
55,
58,
107,
49,
244,
53,
51,
55,
107,
49,
244,
53,
51,
55,
62,
61,
53,
56,
62,
55,
54,
58,
59,
61,
59,
55,
60,
57,
58,
107,
49,
244,
53,
51,
57,
107,
49,
3507,
53,
51,
57,
62,
61,
53,
56,
62,
55,
54,
58,
59,
61,
59,
55,
60,
57,
58,
107,
49,
244,
53,
51,
59,
54,
62,
59,
53,
60,
61,
57,
56,
54,
56,
60,
55,
58,
57,
62,
107,
49,
244,
53,
51,
60,
54,
60,
59,
57,
60,
53,
58,
61,
61,
55,
56,
58,
55,
62,
57,
107,
49,
3507,
53,
51,
61,
54,
62,
59,
53,
60,
61,
57,
56,
54,
56,
60,
55,
58,
57,
62,
107,
49,
244,
53,
51,
62,
54,
60,
59,
57,
60,
53,
58,
61,
61,
55,
56,
58,
55,
62,
57,
107,
49,
244,
53,
51,
62,
57,
62,
53,
54,
62,
59,
53,
60,
61,
57,
56,
54,
56,
60,
55,
107,
130,
303,
1110,
465,
496,
14030,
459,
3139,
5218,
2807,
678,
303,
924,
1175,
5459,
3216,
1197,
45461,
4625,
1363,
100,
45627,
299,
556,
5459,
3216,
1197,
320,
1083,
453,
4777,
343,
556,
5459,
3216,
45,
547,
556,
13112,
11530,
53,
107,
49,
244,
55,
53,
107,
46,
1276,
696,
19378,
547,
556,
13112,
11530,
53,
51,
60,
107,
49,
244,
54,
107,
46,
1276,
377,
19378,
547,
556,
13112,
11530,
53,
51,
55,
54,
107,
49,
244,
53,
51,
60,
62,
107,
509,
1276,
517,
19378,
343,
556,
5459,
3216,
45,
547,
556,
13112,
11530,
53,
107,
49,
244,
55,
53,
107,
490,
547,
556,
13112,
11530,
53,
51,
56,
107,
49,
244,
53,
51,
60,
107,
490,
547,
556,
13112,
11530,
53,
51,
56,
58,
58,
107,
49,
244,
53,
51,
59,
58,
56,
107,
3684,
1083,
453,
4777,
565,
3623,
343,
556,
5459,
3216,
45,
547,
556,
13112,
11530,
55,
53,
107,
49,
244,
57,
53,
107,
490,
547,
556,
13112,
11530,
53,
51,
60,
107,
49,
244,
54,
107,
490,
547,
556,
13112,
11530,
53,
51,
55,
61,
107,
49,
244,
53,
51,
59,
57,
56,
107,
3684,
343,
556,
5459,
3216,
45,
547,
556,
13112,
11530,
55,
53,
107,
49,
244,
57,
53,
107,
490,
547,
556,
13112,
11530,
53,
51,
56,
107,
49,
244,
53,
51,
60,
107,
490,
547,
556,
13112,
11530,
53,
51,
57,
54,
57,
107,
49,
244,
53,
51,
58,
59,
54,
107,
3684,
343,
556,
5459,
3216,
45,
547,
556,
13112,
11530,
55,
53,
107,
49,
244,
57,
53,
107,
490,
547,
556,
13112,
11530,
53,
107,
49,
244,
56,
107,
490,
547,
556,
13112,
11530,
53,
51,
56,
57,
56,
107,
49,
244,
53,
51,
58,
61,
57,
107,
3684,
1083,
453,
565,
3623,
343,
556,
5459,
3216,
45,
547,
556,
13112,
11530,
57,
53,
107,
49,
244,
59,
53,
107,
490,
547,
556,
13112,
11530,
53,
51,
60,
107,
49,
244,
54,
107,
490,
547,
556,
13112,
11530,
53,
51,
54,
60,
56,
107,
49,
244,
53,
51,
56,
57,
62,
107,
3684,
343,
556,
5459,
3216,
45,
547,
556,
13112,
11530,
57,
53,
107,
49,
244,
59,
53,
107,
490,
547,
556,
13112,
11530,
53,
51,
56,
107,
49,
244,
53,
51,
60,
107,
490,
547,
556,
13112,
11530,
53,
51,
55,
56,
56,
107,
49,
244,
53,
51,
57,
55,
60,
107,
3684,
343,
556,
5459,
3216,
45,
547,
556,
13112,
11530,
57,
53,
107,
49,
244,
59,
53,
107,
490,
547,
556,
13112,
11530,
53,
107,
49,
244,
53,
51,
56,
107,
490,
547,
556,
13112,
11530,
53,
51,
55,
56,
54,
107,
49,
244,
53,
51,
57,
61,
57,
107,
3684,
1083,
453,
1432,
9632,
244,
59,
53,
343,
556,
5459,
3216,
45,
547,
556,
13112,
11530,
59,
53,
107,
49,
244,
61,
53,
107,
490,
547,
556,
13112,
11530,
53,
51,
60,
107,
49,
244,
54,
107,
490,
547,
556,
13112,
11530,
53,
51,
57,
61,
61,
107,
49,
244,
53,
51,
60,
56,
60,
107,
3684,
343,
556,
5459,
3216,
45,
547,
556,
13112,
11530,
59,
53,
107,
49,
244,
61,
53,
107,
490,
547,
556,
13112,
11530,
53,
51,
56,
107,
49,
244,
53,
51,
60,
107,
490,
547,
556,
13112,
11530,
53,
51,
59,
60,
56,
107,
49,
244,
53,
51,
61,
56,
60,
107,
3684,
1083,
453,
1432,
9632,
25593,
244,
61,
53,
343,
556,
5459,
3216,
45,
547,
556,
13112,
11530,
61,
53,
107,
49,
244,
54,
53,
53,
107,
490,
547,
556,
13112,
11530,
53,
51,
60,
107,
49,
244,
54,
107,
490,
547,
556,
13112,
11530,
53,
51,
57,
59,
62,
107,
49,
244,
53,
51,
59,
54,
107,
3684,
1083,
453,
1432,
9632,
9743,
244,
54,
53,
53,
343,
556,
5459,
3216,
45,
547,
556,
13112,
11530,
54,
53,
53,
107,
49,
244,
54,
55,
53,
107,
490,
547,
556,
13112,
11530,
53,
51,
60,
107,
49,
244,
54,
107,
490,
547,
556,
13112,
11530,
53,
51,
56,
61,
61,
107,
49,
244,
53,
51,
59,
54,
55,
107,
3684,
343,
556,
5459,
3216,
45,
547,
556,
13112,
11530,
54,
53,
53,
107,
49,
244,
54,
55,
53,
107,
490,
547,
556,
13112,
11530,
53,
51,
56,
107,
49,
244,
53,
51,
60,
107,
490,
547,
556,
13112,
11530,
53,
51,
57,
55,
57,
107,
49,
244,
53,
51,
58,
57,
54,
107,
3684,
1083,
453,
25593,
343,
556,
5459,
3216,
45,
547,
556,
13112,
11530,
54,
55,
53,
107,
49,
244,
54,
57,
53,
107,
490,
547,
556,
13112,
11530,
53,
51,
60,
107,
49,
244,
54,
107,
490,
547,
556,
13112,
11530,
53,
51,
56,
60,
58,
107,
49,
244,
53,
51,
58,
55,
107,
3684,
343,
556,
5459,
3216,
45,
547,
556,
13112,
11530,
54,
55,
53,
107,
49,
244,
54,
57,
53,
107,
490,
547,
556,
13112,
11530,
53,
51,
56,
107,
49,
244,
53,
51,
60,
107,
490,
547,
556,
13112,
11530,
53,
51,
57,
56,
58,
107,
49,
244,
53,
51,
58,
55,
57,
107,
3684,
1083,
453,
25593,
13883,
244,
54,
57,
53,
343,
556,
5459,
3216,
45,
547,
556,
13112,
11530,
54,
57,
53,
107,
49,
244,
54,
59,
53,
107,
490,
547,
556,
13112,
11530,
53,
51,
60,
107,
49,
244,
54,
107,
490,
547,
556,
13112,
11530,
53,
51,
57,
62,
59,
107,
49,
244,
53,
51,
59,
57,
54,
107,
3684,
1083,
453,
2171,
102,
598,
424,
343,
556,
5459,
3216,
45,
547,
556,
13112,
11530,
54,
59,
53,
107,
49,
244,
54,
61,
53,
107,
490,
547,
556,
13112,
11530,
53,
51,
60,
107,
49,
244,
54,
107,
490,
547,
556,
13112,
11530,
53,
51,
57,
62,
59,
107,
49,
244,
53,
51,
58,
59,
60,
107,
3684,
1083,
453,
409,
14488,
343,
556,
5459,
3216,
45,
547,
556,
13112,
11530,
54,
61,
53,
107,
49,
244,
55,
53,
53,
107,
490,
547,
556,
13112,
11530,
53,
51,
60,
107,
49,
244,
54,
107,
490,
547,
556,
13112,
11530,
53,
51,
58,
55,
107,
49,
244,
53,
51,
60,
55,
62,
107,
3684,
1083,
453,
13883,
343,
556,
5459,
3216,
45,
547,
556,
13112,
11530,
55,
55,
53,
107,
49,
244,
55,
57,
53,
107,
490,
547,
556,
13112,
11530,
53,
51,
60,
107,
49,
244,
54,
107,
490,
547,
556,
13112,
11530,
53,
51,
56,
62,
59,
107,
49,
244,
53,
51,
58,
60,
54,
107,
3684,
343,
556,
5459,
3216,
45,
547,
556,
13112,
11530,
55,
55,
53,
107,
49,
244,
55,
57,
53,
107,
490,
547,
556,
13112,
11530,
53,
51,
56,
107,
49,
244,
53,
51,
60,
107,
490,
547,
556,
13112,
11530,
53,
51,
57,
55,
58,
107,
49,
244,
53,
51,
58,
58,
54,
107,
3684,
1083,
453,
13883,
18878,
11996,
244,
55,
57,
53,
343,
556,
5459,
3216,
45,
547,
556,
13112,
11530,
55,
57,
53,
107,
49,
244,
55,
59,
53,
107,
490,
547,
556,
13112,
11530,
53,
51,
60,
107,
49,
244,
54,
107,
490,
547,
556,
13112,
11530,
53,
51,
57,
54,
61,
107,
49,
244,
53,
51,
59,
56,
62,
107,
3684,
343,
556,
5459,
3216,
45,
547,
556,
13112,
11530,
55,
55,
53,
107,
49,
244,
55,
57,
53,
107,
490,
547,
556,
13112,
11530,
53,
51,
56,
107,
49,
244,
53,
51,
60,
107,
490,
547,
556,
13112,
11530,
53,
51,
57,
57,
54,
107,
49,
244,
53,
51,
58,
60,
59,
107,
3684,
1083,
453,
13883,
18878,
11996,
244,
55,
59,
53,
343,
556,
5459,
3216,
45,
547,
556,
13112,
11530,
55,
59,
53,
107,
49,
244,
55,
61,
53,
107,
490,
547,
556,
13112,
11530,
53,
51,
56,
107,
49,
244,
54,
107,
490,
453,
7766,
892,
2189,
547,
556,
13112,
11530,
53,
51,
57,
59,
54,
107,
49,
244,
53,
51,
58,
58,
56,
107,
3684,
1083,
453,
525,
29430,
343,
556,
5459,
3216,
45,
547,
556,
13112,
11530,
56,
53,
53,
107,
49,
244,
56,
55,
53,
107,
490,
547,
556,
13112,
11530,
53,
51,
60,
107,
49,
244,
54,
107,
490,
547,
556,
13112,
11530,
53,
51,
57,
61,
57,
107,
49,
244,
53,
51,
58,
61,
61,
107,
3684,
343,
556,
5459,
3216,
45,
547,
556,
13112,
11530,
56,
53,
53,
107,
49,
244,
56,
55,
53,
107,
490,
547,
556,
13112,
11530,
53,
51,
56,
107,
49,
244,
53,
51,
60,
107,
490,
547,
556,
13112,
11530,
53,
51,
57,
61,
107,
49,
244,
53,
51,
58,
62,
55,
107,
3684,
1083,
453,
466,
783,
343,
556,
5459,
3216,
45,
547,
556,
13112,
11530,
56,
55,
53,
107,
49,
244,
56,
57,
53,
107,
490,
547,
556,
13112,
11530,
53,
51,
60,
107,
49,
244,
54,
107,
490,
547,
556,
13112,
11530,
53,
51,
57,
59,
59,
107,
49,
244,
53,
51,
59,
55,
62,
107,
3684,
1083,
453,
28437,
3363,
343,
556,
5459,
3216,
45,
547,
556,
13112,
11530,
56,
57,
53,
107,
49,
244,
56,
59,
53,
107,
490,
547,
556,
13112,
11530,
53,
51,
60,
107,
49,
244,
54,
107,
490,
547,
556,
13112,
11530,
53,
51,
57,
56,
60,
107,
49,
244,
53,
51,
58,
62,
59,
107,
509,
303,
1487,
465,
1041,
294,
338,
44931,
451,
619,
696,
3910,
1989,
2189,
51,
294,
338,
350,
357,
67,
294,
338,
350,
393,
67,
109,
2021,
96,
53,
98,
458,
696,
359,
447,
53,
4390,
244,
56,
59,
53,
2891,
393,
67,
294,
338,
350,
393,
67,
109,
2021,
96,
54,
98,
458,
18517,
1232,
447,
53,
1198,
54,
12875,
393,
67,
294,
338,
350,
393,
67,
109,
2021,
96,
55,
98,
458,
14174,
4342,
447,
53,
1198,
54,
12875,
393,
67,
294,
338,
594,
357,
67,
294,
588,
303,
924,
462,
5459,
3216,
320,
310,
964,
13112,
65,
3690,
67,
364,
39719,
64,
310,
964,
13112,
65,
3690,
67,
364,
20512,
1232,
64,
310,
964,
13112,
65,
3690,
67,
364,
6118,
4342,
64,
603,
5459,
3216,
45,
3216,
65,
3690,
67,
35650,
49,
13112,
65,
3690,
67,
19664,
1232,
49,
13112,
65,
3690,
67,
6314,
4342,
46,
320,
343,
364,
39719,
299,
35650,
64,
343,
364,
20512,
1232,
299,
19664,
1232,
64,
343,
364,
6118,
4342,
299,
6314,
4342,
64,
310,
339,
603,
1922,
4326,
1530,
45,
1832,
439,
49,
1916,
328,
49,
1916,
475,
46,
320,
343,
434,
1445,
114,
39719,
51,
4766,
45,
109,
509,
320,
419,
461,
920,
64,
343,
339,
832,
434,
1445,
114,
20512,
1232,
51,
4766,
45,
120,
509,
320,
419,
461,
920,
64,
343,
339,
832,
434,
1445,
114,
6118,
4342,
51,
4766,
45,
113,
509,
320,
419,
461,
920,
64,
343,
339,
343,
461,
878,
64,
310,
339,
603,
1916,
1197,
640,
7067,
365,
320,
343,
461,
556,
1916,
1197,
320,
547,
364,
39719,
51,
390,
6736,
365,
494,
327,
114,
39719,
51,
390,
9882,
365,
449,
364,
39719,
51,
390,
6736,
1177,
536,
244,
55,
107,
49,
547,
364,
20512,
1232,
51,
390,
6736,
365,
494,
327,
114,
20512,
1232,
51,
390,
9882,
365,
449,
364,
20512,
1232,
51,
390,
6736,
1177,
536,
244,
55,
107,
49,
547,
364,
6118,
4342,
51,
390,
6736,
365,
494,
327,
114,
6118,
4342,
51,
390,
9882,
365,
449,
364,
6118,
4342,
51,
390,
6736,
1177,
536,
244,
55,
107,
343,
1487,
310,
339,
603,
496,
1806,
310,
581,
910,
11349,
365,
320,
343,
461,
910,
51,
1664,
459,
77,
63,
925,
120,
49,
377,
63,
925,
120,
49,
517,
925,
120,
411,
364,
39719,
49,
364,
20512,
1232,
49,
364,
6118,
4342,
312,
310,
339,
303,
339,
465,
964,
924,
1701,
65,
3078,
67,
640,
4370,
10678,
45,
15002,
12428,
10678,
6823,
18032,
12428,
10678,
46,
320,
310,
21057,
65,
3078,
67,
9660,
299,
556,
21057,
6984,
310,
434,
327,
8999,
12428,
10678,
51,
390,
9029,
1530,
365,
882,
244,
53,
46,
320,
343,
9660,
51,
688,
45,
8999,
12428,
10678,
51,
390,
9029,
1530,
1052,
310,
339,
310,
434,
327,
8999,
12428,
10678,
51,
390,
18083,
1530,
365,
882,
244,
53,
46,
320,
343,
9660,
51,
688,
45,
8999,
12428,
10678,
51,
390,
18083,
1530,
1052,
310,
339,
310,
434,
327,
8999,
12428,
10678,
51,
47516,
600,
110,
692,
1530,
365,
882,
244,
53,
46,
320,
343,
9660,
51,
688,
45,
8999,
12428,
10678,
51,
47516,
600,
110,
692,
1530,
1052,
310,
339,
310,
461,
9660,
64,
303,
339,
222,
130,
222
] |
[
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,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1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 18,016
| true
| 28.2597
| true
| true
|
IButterflyRoot.java
|
/FileExtraction/Java_unseen/austinv11_PeripheralsPlusPlus/src/api/resources/reference/forestry/api/lepidopterology/IButterflyRoot.java
|
package forestry.api.lepidopterology;
import java.util.ArrayList;
import java.util.Collection;
import net.minecraft.entity.EntityLiving;
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.world.World;
import forestry.api.genetics.IAllele;
import forestry.api.genetics.IIndividual;
import forestry.api.genetics.ISpeciesRoot;
public interface IButterflyRoot extends ISpeciesRoot {
boolean isMember(ItemStack stack);
IButterfly getMember(ItemStack stack);
IButterfly getMember(NBTTagCompound compound);
ItemStack getMemberStack(IIndividual butterfly, int type);
/* GENOME CONVERSION */
IButterfly templateAsIndividual(IAllele[] template);
IButterfly templateAsIndividual(IAllele[] templateActive, IAllele[] templateInactive);
IButterflyGenome templateAsGenome(IAllele[] template);
IButterflyGenome templateAsGenome(IAllele[] templateActive, IAllele[] templateInactive);
/* BUTTERFLY SPECIFIC */
ILepidopteristTracker getBreedingTracker(World world, String player);
/**
* Spawns the given butterfly in the world.
* @param butterfly
* @return butterfly entity on success, null otherwise.
*/
EntityLiving spawnButterflyInWorld(World world, IButterfly butterfly, double x, double y, double z);
/**
* @return true if passed item is mated.
*/
boolean isMated(ItemStack stack);
/* TEMPLATES */
ArrayList<IButterfly> getIndividualTemplates();
/* MUTATIONS */
Collection<IButterflyMutation> getMutations(boolean shuffle);
}
| 1,511
|
Java
|
.java
|
austinv11/PeripheralsPlusPlus
| 26
| 29
| 22
|
2014-10-21T00:50:26Z
|
2017-10-11T19:11:23Z
|
aef096ab24fedafbc3aa577386509faf6648b91470e1ac1ecf6e265da8d190a5
|
[
1337,
3512,
16938,
51,
1256,
51,
293,
6336,
2238,
2168,
4278,
64,
222,
222,
485,
1401,
51,
1058,
51,
7119,
64,
222,
485,
1401,
51,
1058,
51,
2272,
64,
222,
222,
485,
3723,
51,
8654,
51,
2244,
51,
2234,
38958,
64,
222,
485,
3723,
51,
8654,
51,
1113,
51,
26022,
64,
222,
485,
3723,
51,
8654,
51,
39749,
51,
34770,
2649,
18133,
64,
222,
485,
3723,
51,
8654,
51,
5879,
51,
6719,
64,
222,
485,
3512,
16938,
51,
1256,
51,
2536,
35589,
51,
78,
32162,
293,
64,
222,
485,
3512,
16938,
51,
1256,
51,
2536,
35589,
51,
78,
27930,
64,
222,
485,
3512,
16938,
51,
1256,
51,
2536,
35589,
51,
1309,
917,
753,
4069,
64,
222,
222,
942,
2586,
23528,
4681,
13660,
4069,
2041,
457,
29817,
4069,
320,
499,
221,
4412,
458,
4605,
45,
26022,
4154,
312,
499,
221,
3077,
4681,
13660,
640,
4605,
45,
26022,
4154,
312,
499,
221,
3077,
4681,
13660,
640,
4605,
45,
34770,
2649,
18133,
27089,
312,
3038,
221,
26022,
640,
4605,
3131,
45,
78,
27930,
41531,
13660,
49,
648,
847,
312,
499,
221,
1127,
590,
21106,
1043,
2214,
4539,
588,
222,
221,
3077,
4681,
13660,
3098,
1482,
27930,
45,
78,
32162,
293,
1197,
3098,
312,
3038,
221,
3077,
4681,
13660,
3098,
1482,
27930,
45,
78,
32162,
293,
1197,
3098,
4091,
49,
457,
32162,
293,
1197,
3098,
27281,
312,
3038,
221,
3077,
4681,
13660,
5154,
861,
3098,
1482,
5154,
861,
45,
78,
32162,
293,
1197,
3098,
312,
499,
221,
3077,
4681,
13660,
5154,
861,
3098,
1482,
5154,
861,
45,
78,
32162,
293,
1197,
3098,
4091,
49,
457,
32162,
293,
1197,
3098,
27281,
312,
499,
221,
1127,
7744,
2933,
3329,
94,
37652,
39138,
588,
222,
221,
1484,
950,
333,
2238,
284,
446,
12143,
640,
71,
18821,
318,
12143,
45,
6719,
5810,
49,
910,
4376,
312,
499,
221,
1350,
376,
338,
5034,
38008,
341,
2716,
41531,
13660,
347,
341,
5810,
51,
376,
338,
496,
772,
41531,
13660,
376,
338,
496,
620,
41531,
13660,
4436,
563,
3136,
49,
762,
5897,
51,
376,
588,
222,
221,
2234,
38958,
16609,
71,
4681,
13660,
402,
6719,
45,
6719,
5810,
49,
23528,
4681,
13660,
41531,
13660,
49,
2082,
837,
49,
2082,
553,
49,
2082,
1308,
312,
499,
221,
1350,
376,
338,
496,
620,
878,
434,
5424,
1641,
458,
364,
751,
51,
376,
588,
222,
221,
4412,
458,
82,
751,
45,
26022,
4154,
312,
499,
221,
1127,
413,
18670,
42783,
588,
222,
221,
7119,
65,
3077,
4681,
13660,
67,
640,
27930,
15550,
492,
499,
221,
1127,
25960,
19412,
588,
222,
221,
2272,
65,
3077,
4681,
13660,
15353,
67,
640,
5414,
1014,
45,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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 435
| true
| 79.086698
| true
| true
|
TeiElement.java
|
/FileExtraction/Java_unseen/forTEXT_catma/src/main/java/de/catma/serialization/tei/TeiElement.java
|
/*
* CATMA Computer Aided Text Markup and Analysis
*
* Copyright (C) 2009 University Of Hamburg
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package de.catma.serialization.tei;
import java.util.SortedSet;
import java.util.TreeSet;
import nu.xom.Element;
import nu.xom.Elements;
import nu.xom.Nodes;
import nu.xom.ParentNode;
import nu.xom.XPathContext;
/**
* Represents a TEI xml-element.<br>
* <a href="http://www.tei-c.org/release/doc/tei-p5-doc/en/html/index.html">
* TEI P5 Reference</a>
*
* @see TeiNodeFactory
*
* @author Marco Petris
*
*/
public class TeiElement extends Element implements Comparable<TeiElement> {
/**
* The TEI Namespace <code>http://www.tei-c.org/ns/1.0</code>
*/
public static final String TEINAMESPACE = "http://www.tei-c.org/ns/1.0";
/**
* TEI Namespace prefix <code>tei</code>
*/
public static final String TEINAMESPACEPREFIX = "tei";
private boolean active;
/**
* @see Element#Element(Element)
*/
public TeiElement(TeiElement element) {
super(element);
}
/**
* @see Element#Element(String, String)
*/
public TeiElement(String name, String uri) {
super(name, uri);
}
/**
* @see Element#Element(String)
*/
public TeiElement(String name) {
super(name);
}
/**
* Uses the {@link #TEINAMESPACE}.
* @param name the name of the element
* @see Element#Element(String, String)
*/
public TeiElement(TeiElementName name) {
super(name.name(), TEINAMESPACE);
}
/**
* @return true if this element has at least one child element, else false
*/
public boolean hasChildElements() {
return (getChildElements().size() > 0);
}
/* (non-Javadoc)
* @see nu.xom.Element#shallowCopy()
*/
@Override
protected Element shallowCopy() {
return new TeiElement(getQualifiedName(), getNamespaceURI());
}
/**
* Uses the {@link #TEINAMESPACE}.
* @param localName the local name of the child elements
* @return a list of child elements
* @see Element#getChildElements(String, String)
*/
public final Elements getChildElements(TeiElementName localName) {
return getChildElements(localName.name(), TEINAMESPACE);
}
public final Nodes getChildNodes( TeiElementName teiElementName, String attributeFilter) {
String query =
"//"+TeiElement.TEINAMESPACEPREFIX
+ ":*" //wildcard
+ "[@"+Attribute.xmlid.getPrefixedName()
+ "='"+getID()+"']"
+"/"+TeiElement.TEINAMESPACEPREFIX+":"+teiElementName + "[" + attributeFilter + "]";
return this.getDocument().query(query,
new XPathContext( TeiElement.TEINAMESPACEPREFIX, TeiElement.TEINAMESPACE ));
}
public final Nodes getChildNodes(
TeiElementName teiElementName, AttributeFilter attributeFilter) {
Elements childElements = getChildElements(teiElementName);
Nodes nodes = new Nodes();
for (int i=0; i<childElements.size();i++) {
TeiElement element = (TeiElement)childElements.get(i);
if (attributeFilter.matches(element)) {
nodes.append(element);
}
}
return nodes;
}
public TeiElement getFirstTeiChildElement(TeiElementName localName) {
Elements elements = getChildElements(localName);
if (elements.size() >0) {
return (TeiElement)elements.get(0);
}
else {
return null;
}
}
/**
* @param name the name of the attribute
* @return the value
* @see #getAttributeValue(String, String)
*/
public String getAttributeValue(Attribute name) {
return getAttributeValue(name.getLocalName(), "");
}
public void setAttributeValue(Attribute name, String value) {
nu.xom.Attribute attribute = getAttribute(name.getLocalName(), name.getNamespaceURI());
if (attribute == null) {
attribute = new nu.xom.Attribute(name.getLocalName(), name.getNamespaceURI(), value);
addAttribute(attribute);
}
else {
attribute.setValue(value);
}
}
/**
* @return the {@link TeiElement} which is the parent of this element or
* <code>null</code> if there is no parent TeiElement.
*/
public TeiElement getTeiElementParent() {
ParentNode parent = getParent();
if( ( parent != null ) && ( parent instanceof TeiElement ) ) {
return (TeiElement)parent;
}
return null;
}
/**
* @param nameToTest the name to test
* @return true if the local name of this element equals the given element name.
*/
public boolean is( TeiElementName nameToTest ) {
return getLocalName().equalsIgnoreCase( nameToTest.name() );
}
/**
* @param nameToTest the name to test
* @return true if the local name of the parent element equals the given element name.
*/
public boolean parentIs( TeiElementName nameToTest ) {
return (getTeiElementParent() != null) && getTeiElementParent().is(nameToTest);
}
/**
* @return a string representation of this element, including attributes
* and their values
*/
public String getStringRepresentation() {
StringBuilder sb = new StringBuilder();
sb.append( this.toString() );
SortedSet<String> attributes = new TreeSet<String>();
for( int idx=0; idx<this.getAttributeCount(); idx++ ) {
attributes.add( this.getAttribute( idx ).getQualifiedName() );
}
sb.append( "[" );
for( String attributeName : attributes ) {
sb.append( " " );
sb.append( attributeName );
sb.append( "=" );
String value = this.getAttributeValue( attributeName );
if (attributeName.contains(":")) {
String attributeNameParts[] = attributeName.split(":");
Attribute a =
Attribute.getAttribute(
attributeNameParts[0].trim(), attributeNameParts[1].trim());
if (a!=null) {
nu.xom.Attribute attribute = getAttribute(a.getLocalName(), a.getNamespaceURI());
if (attribute != null) {
value = attribute.getValue();
}
}
}
sb.append( value );
}
sb.append( " ]" );
return sb.toString();
}
/**
* @return true if the {@link Attribute#type} has the
* {@link AttributeValue#type_catma}, else false
*/
public boolean isCatmaElement() {
String typeValue =
this.getAttributeValue( Attribute.type );
if( typeValue != null ) {
return AttributeValue.type_catma.getValueName().equalsIgnoreCase(
typeValue );
}
return false;
}
/**
* @return true, if this element is active
* @see TagManagerView#setActive(org.catma.tag.Tag, boolean)
*/
public boolean isActive() {
return active;
}
/**
* @param active true->this element is marked as active, else false
* @see TagManagerView#setActive(org.catma.tag.Tag, boolean)
*/
public void setActive( boolean active ) {
this.active = active;
}
/* (non-Javadoc)
* @see java.lang.Comparable#compareTo(java.lang.Object)
*/
public int compareTo( TeiElement o ) {
if( getLocalName().equals( o.getLocalName() ) ) {
String thisNValue = getAttributeValue( Attribute.n );
String oNValue = o.getAttributeValue( Attribute.n );
if( thisNValue == null ) {
return (oNValue==null)? 0 : -1;
}
else if( oNValue == null ) {
return (thisNValue==null)? 0 : 1;
}
else {
return Integer.valueOf( thisNValue ).compareTo(
Integer.valueOf( oNValue ) );
}
}
return getLocalName().compareTo(o.getLocalName());
}
/**
* @return the xml:id of this element or <code>null</code> if the
* element does not have an id.
*/
public String getID() {
String id = getAttributeValue(
Attribute.xmlid.getLocalName(),
Attribute.xmlid.getNamespaceURI());
if (id != null) {
return id.toUpperCase();
}
else {
return null;
}
}
void setID(String id) {
nu.xom.Attribute attribute =
getAttribute(
Attribute.xmlid.getLocalName(),
Attribute.xmlid.getNamespaceURI());
if (attribute == null) {
attribute = new nu.xom.Attribute(
Attribute.xmlid.getPrefixedName(),
Attribute.xmlid.getNamespaceURI(), id);
addAttribute(attribute);
}
else {
attribute.setValue(id);
}
}
}
| 9,021
|
Java
|
.java
|
forTEXT/catma
| 83
| 9
| 121
|
2013-03-05T17:15:30Z
|
2024-04-20T15:28:19Z
|
cd03a05b2352e0a02c1bc8868a87ac7ee8acba9a7a61484aac3c6250520324c8
|
[
1127,
21355,
338,
280,
27615,
1418,
17855,
418,
12190,
3336,
7797,
436,
480,
17497,
222,
338,
21355,
338,
280,
2657,
327,
72,
46,
244,
55,
53,
53,
62,
244,
11451,
16122,
696,
30788,
108,
222,
338,
222,
338,
280,
1369,
3477,
458,
3760,
2951,
63,
863,
902,
14081,
580,
480,
52,
290,
5370,
222,
338,
280,
580,
1549,
341,
5974,
451,
341,
6994,
6153,
5062,
1196,
641,
9582,
829,
222,
338,
280,
341,
7834,
3870,
7120,
49,
3173,
1522,
244,
56,
451,
341,
1196,
49,
575,
222,
338,
280,
327,
288,
1390,
2489,
46,
1364,
6146,
1522,
51,
222,
338,
222,
338,
280,
1369,
3477,
458,
2744,
347,
341,
9850,
708,
580,
1118,
545,
6386,
49,
222,
338,
280,
1294,
4213,
2979,
9345,
64,
2895,
4462,
341,
4506,
14319,
451,
222,
338,
280,
7934,
575,
8114,
4800,
418,
7848,
7763,
51,
244,
2819,
341,
222,
338,
280,
6994,
6153,
5062,
1196,
456,
1851,
4261,
51,
222,
338,
222,
338,
280,
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
6153,
5062,
1196,
222,
338,
280,
7979,
642,
477,
3477,
51,
244,
1691,
666,
49,
2337,
350,
544,
574,
1516,
51,
10627,
51,
1107,
52,
4205,
28699,
222,
588,
1676,
222,
1337,
428,
51,
2612,
954,
51,
17851,
51,
538,
110,
64,
499,
222,
485,
1401,
51,
1058,
51,
16425,
903,
64,
222,
485,
1401,
51,
1058,
51,
3371,
903,
64,
222,
222,
485,
17458,
51,
125,
437,
51,
1325,
64,
222,
485,
17458,
51,
125,
437,
51,
7466,
64,
222,
485,
17458,
51,
125,
437,
51,
5919,
64,
222,
485,
17458,
51,
125,
437,
51,
4449,
1230,
64,
222,
485,
17458,
51,
125,
437,
51,
27506,
1237,
64,
222,
222,
1350,
222,
338,
23121,
331,
24107,
78,
5604,
50,
2559,
5717,
858,
67,
222,
338,
350,
102,
995,
366,
544,
574,
1516,
51,
538,
110,
50,
104,
51,
1107,
52,
3794,
52,
1446,
52,
538,
110,
50,
117,
58,
50,
1446,
52,
291,
52,
935,
52,
1076,
51,
935,
432,
222,
338,
24107,
78,
466,
58,
9495,
396,
102,
67,
222,
338,
222,
338,
496,
2987,
5004,
110,
1230,
2232,
222,
338,
222,
338,
496,
2133,
8369,
352,
11715,
38265,
222,
338,
222,
588,
222,
942,
462,
5004,
110,
1325,
2041,
6840,
4584,
40363,
65,
3841,
110,
1325,
67,
320,
3038,
221,
1350,
376,
338,
906,
24107,
78,
18694,
350,
707,
67,
544,
574,
1516,
51,
538,
110,
50,
104,
51,
1107,
52,
2591,
52,
54,
51,
53,
396,
707,
67,
376,
588,
222,
221,
942,
924,
1175,
910,
24107,
540,
23574,
8994,
299,
332,
544,
574,
1516,
51,
538,
110,
50,
104,
51,
1107,
52,
2591,
52,
54,
51,
53,
884,
222,
221,
1350,
376,
338,
24107,
78,
18694,
5216,
350,
707,
67,
538,
110,
396,
707,
67,
376,
588,
222,
221,
942,
924,
1175,
910,
24107,
540,
23574,
8994,
9857,
299,
332,
538,
110,
884,
222,
221,
2072,
1922,
4537,
64,
3038,
221,
1350,
376,
338,
496,
2987,
6840,
40,
1325,
45,
1325,
46,
376,
588,
222,
221,
942,
5004,
110,
1325,
45,
3841,
110,
1325,
2016,
46,
320,
376,
221,
5282,
45,
2559,
312,
222,
221,
130,
499,
221,
1350,
376,
338,
496,
2987,
6840,
40,
1325,
45,
671,
49,
910,
46,
376,
588,
222,
221,
942,
5004,
110,
1325,
45,
671,
655,
49,
910,
8219,
46,
320,
376,
221,
5282,
45,
444,
49,
8219,
312,
222,
221,
130,
499,
221,
1350,
376,
338,
496,
2987,
6840,
40,
1325,
45,
671,
46,
376,
588,
222,
221,
942,
5004,
110,
1325,
45,
671,
655,
46,
320,
376,
221,
5282,
45,
444,
312,
222,
221,
130,
499,
221,
1350,
376,
338,
26072,
341,
3105,
1222,
607,
1731,
540,
23574,
8994,
4037,
376,
338,
496,
772,
655,
341,
655,
451,
341,
2016,
376,
338,
496,
2987,
6840,
40,
1325,
45,
671,
49,
910,
46,
376,
588,
222,
221,
942,
5004,
110,
1325,
45,
3841,
110,
40530,
655,
46,
320,
376,
221,
5282,
45,
444,
51,
444,
1046,
24107,
540,
23574,
8994,
312,
222,
221,
130,
3038,
221,
1350,
376,
338,
496,
620,
878,
434,
477,
2016,
1421,
840,
6247,
1611,
2851,
2016,
49,
832,
920,
376,
588,
222,
221,
942,
1922,
1421,
2950,
7466,
365,
320,
376,
221,
620,
327,
24200,
7466,
941,
911,
365,
868,
244,
53,
312,
222,
221,
130,
3038,
221,
1127,
327,
3804,
50,
29282,
46,
376,
338,
496,
2987,
17458,
51,
125,
437,
51,
1325,
40,
635,
4582,
4014,
365,
376,
588,
222,
221,
69,
1806,
222,
221,
5332,
6840,
25450,
4014,
365,
320,
376,
221,
620,
556,
5004,
110,
1325,
45,
390,
41289,
1046,
640,
5923,
6344,
1052,
222,
221,
130,
3038,
221,
1350,
376,
338,
26072,
341,
3105,
1222,
607,
1731,
540,
23574,
8994,
4037,
376,
338,
496,
772,
2212,
577,
341,
2212,
655,
451,
341,
2851,
4725,
376,
338,
496,
620,
331,
1168,
451,
2851,
4725,
376,
338,
496,
2987,
6840,
40,
24200,
7466,
45,
671,
49,
910,
46,
376,
588,
222,
221,
942,
1175,
24451,
640,
2950,
7466,
45,
3841,
110,
40530,
2212,
577,
46,
320,
376,
221,
620,
640,
2950,
7466,
45,
1717,
577,
51,
444,
1046,
24107,
540,
23574,
8994,
312,
222,
221,
130,
3038,
221,
942,
1175,
32017,
640,
2950,
5919,
45,
5004,
110,
40530,
2713,
110,
40530,
49,
910,
3895,
2365,
46,
320,
376,
221,
671,
2487,
299,
12493,
221,
39,
325,
5141,
3841,
110,
1325,
51,
1731,
540,
23574,
8994,
9857,
621,
221,
48,
10697,
22181,
453,
32644,
621,
221,
48,
7195,
69,
5141,
2230,
51,
2608,
333,
51,
390,
5429,
337,
577,
365,
621,
221,
48,
332,
44976,
37541,
30575,
806,
39,
12493,
221,
22212,
5141,
3841,
110,
1325,
51,
1731,
540,
23574,
8994,
9857,
48,
2524,
48,
538,
110,
40530,
494,
42252,
494,
3895,
2365,
494,
42872,
374,
310,
461,
477,
51,
35778,
941,
1234,
45,
1234,
49,
4310,
556,
37105,
1237,
45,
5004,
110,
1325,
51,
1731,
540,
23574,
8994,
9857,
49,
5004,
110,
1325,
51,
1731,
540,
23574,
8994,
11979,
222,
221,
130,
3038,
221,
942,
1175,
32017,
640,
2950,
5919,
45,
374,
221,
3841,
110,
40530,
2713,
110,
40530,
49,
9958,
2365,
3895,
2365,
46,
320,
376,
221,
7466,
2851,
7466,
299,
640,
2950,
7466,
45,
538,
110,
40530,
312,
376,
221,
5919,
5193,
299,
556,
32017,
492,
376,
221,
999,
327,
429,
613,
66,
53,
64,
613,
65,
2680,
7466,
51,
911,
492,
110,
2002,
320,
374,
221,
3841,
110,
1325,
2016,
299,
327,
3841,
110,
1325,
46,
2680,
7466,
51,
390,
45,
110,
312,
374,
221,
344,
327,
4902,
2365,
51,
8936,
45,
2559,
509,
320,
621,
221,
5484,
51,
1713,
45,
2559,
312,
374,
221,
130,
376,
221,
130,
1332,
221,
620,
5193,
64,
222,
221,
130,
3038,
221,
942,
5004,
110,
1325,
640,
3485,
3841,
110,
2950,
1325,
45,
3841,
110,
40530,
2212,
577,
46,
320,
376,
221,
7466,
4725,
299,
640,
2950,
7466,
45,
1717,
577,
312,
376,
221,
344,
327,
7620,
51,
911,
365,
868,
53,
46,
320,
374,
221,
620,
327,
3841,
110,
1325,
46,
7620,
51,
390,
45,
53,
312,
376,
221,
130,
376,
221,
728,
320,
374,
221,
620,
762,
64,
376,
221,
130,
222,
221,
130,
36675,
1041,
294,
338,
496,
772,
655,
341,
655,
451,
341,
3895,
294,
338,
496,
620,
341,
804,
294,
338,
496,
2987,
607,
11383,
899,
45,
671,
49,
910,
46,
294,
588,
303,
581,
910,
640,
24581,
45,
2230,
655,
46,
320,
310,
461,
640,
24581,
45,
444,
51,
29172,
577,
1046,
10780,
303,
339,
2205,
581,
782,
758,
24581,
45,
2230,
655,
49,
910,
804,
46,
320,
294,
221,
10024,
51,
125,
437,
51,
2230,
3895,
299,
640,
2230,
45,
444,
51,
29172,
577,
1046,
655,
51,
5175,
1183,
6344,
1052,
294,
221,
344,
327,
4902,
630,
762,
46,
320,
10578,
221,
4902,
299,
556,
17458,
51,
125,
437,
51,
2230,
45,
444,
51,
29172,
577,
1046,
655,
51,
5175,
1183,
6344,
1046,
804,
312,
10578,
221,
27989,
45,
4902,
312,
294,
221,
130,
294,
221,
728,
320,
10578,
221,
4902,
51,
11534,
45,
872,
312,
294,
221,
130,
303,
339,
2205,
1041,
294,
338,
496,
620,
341,
3105,
1222,
5004,
110,
1325,
130,
1532,
458,
341,
2952,
451,
477,
2016,
575,
5402,
338,
350,
707,
67,
1710,
396,
707,
67,
434,
2038,
458,
1307,
2952,
5004,
110,
1325,
51,
5402,
588,
303,
581,
5004,
110,
1325,
640,
3841,
110,
1325,
4449,
365,
320,
376,
221,
4449,
1230,
2952,
299,
38791,
492,
376,
221,
344,
45,
327,
2952,
882,
762,
848,
979,
327,
2952,
5118,
5004,
110,
1325,
848,
848,
320,
374,
221,
620,
327,
3841,
110,
1325,
46,
2562,
64,
376,
221,
130,
376,
221,
620,
762,
64,
303,
339,
2205,
1041,
294,
338,
496,
772,
655,
724,
1024,
341,
655,
391,
913,
294,
338,
496,
620,
878,
434,
341,
2212,
655,
451,
477,
2016,
12432,
341,
2716,
2016,
655,
51,
294,
588,
303,
581,
1922,
458,
45,
5004,
110,
40530,
655,
724,
1024,
848,
320,
294,
221,
620,
640,
3340,
577,
941,
18993,
45,
655,
724,
1024,
51,
444,
365,
1110,
303,
339,
465,
1041,
294,
338,
496,
772,
655,
724,
1024,
341,
655,
391,
913,
294,
338,
496,
620,
878,
434,
341,
2212,
655,
451,
341,
2952,
2016,
12432,
341,
2716,
2016,
655,
51,
294,
588,
303,
581,
1922,
2952,
1640,
45,
5004,
110,
40530,
655,
724,
1024,
848,
320,
310,
461,
327,
390,
3841,
110,
1325,
4449,
365,
882,
762,
46,
979,
640,
3841,
110,
1325,
4449,
941,
316,
45,
444,
724,
1024,
312,
303,
339,
465,
1041,
294,
338,
496,
620,
331,
821,
10323,
451,
477,
2016,
49,
6252,
5437,
5402,
338,
480,
3641,
2102,
294,
588,
303,
581,
910,
26625,
16521,
365,
320,
294,
221,
20859,
6127,
299,
556,
9705,
492,
294,
221,
5692,
51,
1713,
45,
244,
477,
51,
3127,
365,
1110,
294,
221,
16425,
903,
65,
671,
67,
5437,
299,
556,
9393,
903,
65,
671,
2938,
10578,
294,
221,
999,
45,
648,
5444,
66,
53,
64,
5444,
65,
597,
51,
11383,
1552,
492,
5444,
1065,
848,
320,
10578,
221,
5855,
51,
688,
45,
477,
51,
11383,
45,
5444,
6824,
390,
41289,
365,
1110,
294,
221,
130,
376,
221,
5692,
51,
1713,
45,
42252,
1110,
294,
221,
999,
45,
910,
3895,
577,
518,
5437,
848,
320,
10578,
221,
5692,
51,
1713,
45,
332,
332,
1110,
10578,
221,
5692,
51,
1713,
45,
3895,
577,
1110,
10578,
221,
5692,
51,
1713,
45,
29667,
1110,
343,
910,
804,
299,
477,
51,
11383,
899,
45,
3895,
577,
1110,
1083,
434,
327,
4902,
577,
51,
4766,
459,
1941,
509,
320,
419,
910,
3895,
577,
12329,
1197,
299,
3895,
577,
51,
3045,
17910,
742,
419,
9958,
331,
299,
733,
9958,
51,
11383,
45,
1396,
3895,
577,
12329,
96,
53,
1015,
5475,
1046,
3895,
577,
12329,
96,
54,
1015,
5475,
1052,
419,
434,
327,
102,
6917,
1710,
46,
320,
547,
17458,
51,
125,
437,
51,
2230,
3895,
299,
640,
2230,
45,
102,
51,
29172,
577,
1046,
331,
51,
5175,
1183,
6344,
1052,
547,
434,
327,
4902,
882,
762,
46,
320,
733,
804,
299,
3895,
51,
6693,
492,
547,
339,
419,
339,
343,
339,
343,
6127,
51,
1713,
45,
804,
1110,
294,
221,
130,
376,
221,
5692,
51,
1713,
45,
332,
1499,
39,
1110,
10578,
294,
221,
620,
6127,
51,
3127,
492,
303,
339,
2205,
1041,
294,
338,
496,
620,
878,
434,
341,
3105,
1222,
9958,
40,
700,
130,
1421,
341,
5402,
338,
3105,
1222,
9958,
899,
40,
700,
100,
2612,
954,
855,
832,
920,
294,
588,
303,
581,
1922,
458,
14140,
954,
1325,
365,
320,
376,
221,
671,
847,
899,
299,
8671,
221,
597,
51,
11383,
899,
45,
9958,
51,
700,
1110,
4102,
221,
344,
45,
847,
899,
882,
762,
848,
320,
8671,
221,
620,
9958,
899,
51,
700,
100,
2612,
954,
51,
6693,
577,
941,
18993,
45,
281,
596,
847,
899,
1110,
376,
221,
130,
4102,
221,
620,
920,
64,
303,
339,
2205,
1041,
294,
338,
496,
620,
878,
49,
434,
477,
2016,
458,
4537,
294,
338,
496,
2987,
9147,
1590,
1089,
40,
46094,
45,
1107,
51,
2612,
954,
51,
2159,
51,
2649,
49,
1922,
46,
294,
588,
303,
581,
1922,
36470,
365,
320,
376,
221,
620,
4537,
64,
222,
221,
130,
2205,
1041,
294,
338,
496,
772,
4537,
878,
415,
597,
2016,
458,
15168,
641,
4537,
49,
832,
920,
294,
338,
496,
2987,
9147,
1590,
1089,
40,
46094,
45,
1107,
51,
2612,
954,
51,
2159,
51,
2649,
49,
1922,
46,
294,
588,
303,
581,
782,
758,
4091,
45,
1922,
4537,
848,
320,
376,
221,
597,
51,
2498,
299,
4537,
64,
222,
221,
130,
2205,
1276,
327,
3804,
50,
29282,
46,
294,
338,
496,
2987,
1401,
51,
1600,
51,
36832,
40,
23879,
45,
1874,
51,
1600,
51,
976,
46,
294,
588,
303,
581,
648,
8910,
724,
45,
5004,
110,
1325,
356,
848,
320,
294,
221,
344,
45,
640,
3340,
577,
941,
3591,
45,
356,
51,
29172,
577,
365,
848,
848,
320,
10578,
221,
671,
477,
83,
899,
299,
640,
24581,
45,
9958,
51,
115,
1110,
10578,
221,
671,
356,
83,
899,
299,
244,
356,
51,
11383,
899,
45,
9958,
51,
115,
1110,
10578,
221,
344,
45,
244,
477,
83,
899,
630,
762,
848,
320,
18545,
221,
620,
327,
116,
83,
899,
398,
1710,
6506,
244,
53,
518,
449,
54,
64,
10578,
221,
130,
10578,
221,
728,
434,
45,
356,
83,
899,
630,
762,
848,
320,
18545,
221,
620,
327,
597,
83,
899,
398,
1710,
6506,
244,
53,
518,
244,
54,
64,
10578,
221,
130,
10578,
221,
728,
320,
18545,
221,
620,
4418,
51,
9169,
45,
477,
83,
899,
6824,
23879,
45,
5402,
1017,
221,
3078,
51,
9169,
45,
356,
83,
899,
848,
1110,
10578,
221,
130,
294,
221,
130,
294,
221,
620,
640,
3340,
577,
941,
23879,
45,
116,
51,
29172,
577,
1052,
303,
339,
294,
499,
221,
1350,
376,
338,
496,
620,
341,
5604,
63,
333,
451,
477,
2016,
575,
350,
707,
67,
1710,
396,
707,
67,
434,
341,
4517,
338,
2016,
1976,
666,
1178,
619,
828,
51,
376,
588,
222,
221,
942,
910,
640,
798,
365,
320,
376,
221,
671,
828,
299,
244,
640,
24581,
45,
12493,
221,
2230,
51,
2608,
333,
51,
29172,
577,
1046,
12493,
221,
2230,
51,
2608,
333,
51,
5175,
1183,
6344,
1052,
376,
221,
344,
327,
333,
882,
762,
46,
320,
374,
221,
620,
828,
51,
18068,
492,
376,
221,
130,
376,
221,
728,
320,
374,
221,
620,
762,
64,
23120,
221,
130,
222,
221,
130,
3038,
221,
1134,
758,
798,
45,
671,
828,
46,
320,
294,
221,
10024,
51,
125,
437,
51,
2230,
3895,
299,
5402,
313,
221,
11383,
45,
294,
1017,
221,
2230,
51,
2608,
333,
51,
29172,
577,
1046,
5402,
1017,
221,
2230,
51,
2608,
333,
51,
5175,
1183,
6344,
1052,
294,
221,
344,
327,
4902,
630,
762,
46,
320,
10578,
221,
4902,
299,
556,
17458,
51,
125,
437,
51,
2230,
45,
37669,
221,
2230,
51,
2608,
333,
51,
390,
5429,
337,
577,
1046,
5402,
3177,
221,
2230,
51,
2608,
333,
51,
5175,
1183,
6344,
1046,
828,
312,
10578,
221,
27989,
45,
4902,
312,
294,
221,
130,
294,
221,
728,
320,
10578,
221,
4902,
51,
11534,
45,
333,
312,
294,
221,
130,
499,
221,
130,
294,
222,
130,
499
] |
[
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1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
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 2,516
| true
| 63.097218
| true
| true
|
LibraryUpdateConsumer.java
|
/FileExtraction/Java_unseen/kandybaby_S3mediaArchival/backend/src/main/java/com/example/mediaarchival/consumers/LibraryUpdateConsumer.java
|
package com.example.mediaarchival.consumers;
import com.example.mediaarchival.enums.ArchivedStatus;
import com.example.mediaarchival.enums.MediaCategory;
import com.example.mediaarchival.models.LibraryModel;
import com.example.mediaarchival.models.MediaModel;
import com.example.mediaarchival.repositories.LibraryRepository;
import com.example.mediaarchival.repositories.MediaRepository;
import com.example.mediaarchival.utils.DirectoryUtils;
import java.io.File;
import java.time.Instant;
import java.util.Arrays;
import java.util.Optional;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jms.annotation.JmsListener;
import org.springframework.stereotype.Component;
import software.amazon.awssdk.services.s3.S3Client;
import software.amazon.awssdk.services.s3.model.ListObjectsV2Request;
import software.amazon.awssdk.services.s3.model.ListObjectsV2Response;
@Component
public class LibraryUpdateConsumer {
private final LibraryRepository libraryRepository;
private final MediaRepository mediaRepository;
private final S3Client s3Client;
private static final Logger errorLogger = LoggerFactory.getLogger("ERROR_LOGGER");
/**
* Consumer class responsible for handling library update operations.
* It listens to JMS queues for library scan and synchronization requests.
*/
@Autowired
public LibraryUpdateConsumer(
LibraryRepository libraryRepository, MediaRepository mediaRepository, S3Client s3Client) {
this.libraryRepository = libraryRepository;
this.mediaRepository = mediaRepository;
this.s3Client = s3Client;
}
/**
* Scans a library and updates media objects based on the local file system.
* Triggered by messages from the 'libraryScanQueue'.
*
* @param libraryId The ID of the library to be scanned.
*/
@JmsListener(
destination = "libraryScanQueue",
containerFactory = "containerFactory",
concurrency = "1")
public void scanLibrary(Long libraryId) {
LibraryModel library = null;
Optional<LibraryModel> libraryOptional;
try {
libraryOptional = libraryRepository.findById(libraryId);
if (libraryOptional.isEmpty()) {
return;
}
library = libraryOptional.get();
String libraryPath = library.getPath(); // Get the library path
String[] segments = libraryPath.split("/");
if (libraryPath.charAt(0) == '/') {
segments[0] = "/";
}
scanDirectory(segments[0], segments, library);
} catch(Exception e){
errorLogger.error(e.getMessage());
} finally {
if(library != null){
library.setUpdating(false);
libraryRepository.save(library);
}
}
}
/**
* Synchronizes a library with its corresponding objects in the S3 bucket.
* Triggered by messages from the 'librarySyncQueue'.
*
* @param libraryId The ID of the library to be synchronized.
*/
@JmsListener(
destination = "librarySyncQueue",
containerFactory = "containerFactory",
concurrency = "1")
public void synchronizeLibrary(Long libraryId) {
LibraryModel library = null;
Optional<LibraryModel> libraryOptional;
try {
libraryOptional = libraryRepository.findById(libraryId);
if (libraryOptional.isEmpty()) {
return;
}
library = libraryOptional.get();
String bucketName = library.getBucketName();
boolean moreObjectsExist = true;
String continuationToken = null;
while (moreObjectsExist) {
ListObjectsV2Request request =
ListObjectsV2Request.builder() // Using the builder pattern here
.bucket(bucketName)
.continuationToken(continuationToken)
.build();
ListObjectsV2Response result = this.s3Client.listObjectsV2(request);
for (software.amazon.awssdk.services.s3.model.S3Object object : result.contents()) {
String modifiedPath = object.key();
MediaModel media = mediaRepository.findByPath(modifiedPath);
if (media != null) {
Instant s3LastModifiedDate = object.lastModified();
Instant mediaLastModifiedDate = media.getDateLastModified();
if (mediaLastModifiedDate.isAfter(s3LastModifiedDate)) {
media.setArchivedStatus(ArchivedStatus.OUT_OF_DATE);
} else {
media.setArchivedStatus(ArchivedStatus.ARCHIVED);
}
media.setDateArchived(object.lastModified());
mediaRepository.save(media);
}
}
if (result.isTruncated()) {
continuationToken = result.nextContinuationToken();
} else {
moreObjectsExist = false;
}
}
} catch(Exception e){
errorLogger.error(e.getMessage());
} finally {
if(library != null){
library.setUpdating(false);
libraryRepository.save(library);
}
}
}
private void scanDirectory(String currentPath, String[] segments, LibraryModel library) {
File currentDir = new File(currentPath);
// Check if the current directory exists
if (!currentDir.exists() || !currentDir.isDirectory()) {
return;
}
// If there are no more segments left, create/update media objects for all files and directories
if (segments.length == 1) {
File[] filesAndDirs = currentDir.listFiles();
if (filesAndDirs != null) {
for (File fileOrDir : filesAndDirs) {
createOrUpdateMediaObject(fileOrDir, library);
}
}
return;
}
// Get the next segment
String nextSegment = segments[1];
String[] remainingSegments = Arrays.copyOfRange(segments, 1, segments.length);
if (nextSegment.startsWith("${") && nextSegment.endsWith("}")) {
File[] subDirs = currentDir.listFiles(File::isDirectory);
if (subDirs != null) {
for (File subDir : subDirs) {
scanDirectory(currentPath + "/" + subDir.getName(), remainingSegments, library);
}
}
} else {
scanDirectory(currentPath + "/" + nextSegment, remainingSegments, library);
}
}
// Helper method to create or update a MediaModel object
private void createOrUpdateMediaObject(File file, LibraryModel library) {
Instant lastModified = Instant.ofEpochMilli(file.lastModified());
// Check if a media object with the same path already exists
MediaModel existingMedia;
if (library.getCategory() == MediaCategory.TV) {
existingMedia = mediaRepository.findByPath(file.getPath() + "/metadata");
} else {
existingMedia = mediaRepository.findByPath(file.getPath());
}
if (existingMedia != null) {
// Check if the existing object is ARCHIVED and out of date
if (existingMedia.getArchivedStatus() == ArchivedStatus.ARCHIVED
&& existingMedia.getDateArchived() != null
&& lastModified.isAfter(existingMedia.getDateArchived())) {
existingMedia.setArchivedStatus(ArchivedStatus.OUT_OF_DATE);
existingMedia.setSize(
DirectoryUtils.getDirectorySize(file, library.getCategory() == MediaCategory.TV));
existingMedia.setSize(file.getTotalSpace());
}
existingMedia.setDateLastModified(lastModified);
mediaRepository.save(existingMedia);
} else {
MediaModel media = new MediaModel();
media.setLibrary(library);
media.setArchivedStatus(ArchivedStatus.NOT_ARCHIVED);
media.setDateLastModified(lastModified);
media.setArchiving(false);
media.setUploadProgress(-1);
media.setTarring(false);
media.setRestoring(false);
media.setRestored(false);
media.setDownloadProgress(-1);
media.setJobCancelled(false);
if (library.getCategory() == MediaCategory.TV) {
media.setName(file.getName() + " metadata");
media.setPath(file.getPath() + "/metadata");
media.setSize(DirectoryUtils.getDirectorySize(file, true));
} else {
media.setName(file.getName());
media.setPath(file.getPath());
media.setSize(DirectoryUtils.getDirectorySize(file, false));
}
// Save the media object
mediaRepository.save(media);
}
// Check if the library's mediaCategory is TV
if (library.getCategory() == MediaCategory.TV) {
if (file.isDirectory()) {
File[] subDirs = file.listFiles(File::isDirectory);
if (subDirs != null) {
for (File subDir : subDirs) {
// If the subdirectory contains "season" in its name, save it
if (subDir.getName().toLowerCase().contains("season")) {
// Check if a TV season media object with the same path already exists
String seasonPath = file.getPath() + "/" + subDir.getName();
MediaModel existingSeasonMedia = mediaRepository.findByPath(seasonPath);
if (existingSeasonMedia != null) {
// Update the existing TV season media object
existingSeasonMedia.setDateLastModified(lastModified);
// Check if the existing TV season object is ARCHIVED and out of date
if (existingSeasonMedia.getArchivedStatus() == ArchivedStatus.ARCHIVED
&& existingSeasonMedia.getDateArchived() != null
&& lastModified.isAfter(existingSeasonMedia.getDateArchived())) {
existingSeasonMedia.setArchivedStatus(ArchivedStatus.OUT_OF_DATE);
existingSeasonMedia.setSize(DirectoryUtils.getDirectorySize(subDir, false));
}
// Save the updated TV season media object
mediaRepository.save(existingSeasonMedia);
} else {
// Save the TV season directory as a new media object
MediaModel seasonMedia = new MediaModel();
seasonMedia.setName(file.getName() + " " + subDir.getName());
seasonMedia.setPath(seasonPath);
seasonMedia.setLibrary(library);
seasonMedia.setDateLastModified(lastModified);
seasonMedia.setArchivedStatus(ArchivedStatus.NOT_ARCHIVED);
seasonMedia.setArchiving(false);
seasonMedia.setUploadProgress(-1);
seasonMedia.setTarring(false);
seasonMedia.setRestoring(false);
seasonMedia.setRestored(false);
seasonMedia.setDownloadProgress(-1);
seasonMedia.setJobCancelled(false);
seasonMedia.setSize(DirectoryUtils.getDirectorySize(subDir, false));
// Save the TV season media object
mediaRepository.save(seasonMedia);
}
}
}
}
}
}
}
}
| 10,838
|
Java
|
.java
|
kandybaby/S3mediaArchival
| 13
| 1
| 0
|
2023-10-27T01:54:57Z
|
2024-01-20T14:36:53Z
|
3393543ee388204275ff31290cdee9921faf8f3824df59c60ee2ce1725b9f441
|
[
1337,
785,
51,
2783,
51,
3453,
1022,
18190,
51,
39217,
502,
64,
222,
222,
485,
785,
51,
2783,
51,
3453,
1022,
18190,
51,
20767,
51,
7867,
6955,
1551,
64,
222,
485,
785,
51,
2783,
51,
3453,
1022,
18190,
51,
20767,
51,
5003,
4236,
64,
222,
485,
785,
51,
2783,
51,
3453,
1022,
18190,
51,
3404,
51,
5887,
1262,
64,
222,
485,
785,
51,
2783,
51,
3453,
1022,
18190,
51,
3404,
51,
5003,
1262,
64,
222,
485,
785,
51,
2783,
51,
3453,
1022,
18190,
51,
20207,
51,
5887,
3231,
64,
222,
485,
785,
51,
2783,
51,
3453,
1022,
18190,
51,
20207,
51,
5003,
3231,
64,
222,
485,
785,
51,
2783,
51,
3453,
1022,
18190,
51,
2324,
51,
4562,
2769,
64,
222,
485,
1401,
51,
735,
51,
991,
64,
222,
485,
1401,
51,
1021,
51,
22154,
64,
222,
485,
1401,
51,
1058,
51,
9981,
64,
222,
485,
1401,
51,
1058,
51,
7575,
64,
222,
222,
485,
1105,
51,
12172,
57,
111,
51,
3716,
64,
222,
485,
1105,
51,
12172,
57,
111,
51,
19580,
64,
222,
485,
1105,
51,
4140,
51,
9580,
51,
5802,
51,
4341,
51,
10789,
64,
222,
485,
1105,
51,
4140,
51,
40140,
51,
4341,
51,
79,
893,
2239,
64,
222,
485,
1105,
51,
4140,
51,
19017,
51,
1735,
64,
222,
485,
2951,
51,
7204,
51,
831,
42234,
51,
4270,
51,
120,
56,
51,
88,
56,
1503,
64,
222,
485,
2951,
51,
7204,
51,
831,
42234,
51,
4270,
51,
120,
56,
51,
1184,
51,
739,
6699,
91,
55,
1123,
64,
222,
485,
2951,
51,
7204,
51,
831,
42234,
51,
4270,
51,
120,
56,
51,
1184,
51,
739,
6699,
91,
55,
1416,
64,
222,
222,
69,
1735,
222,
942,
462,
13395,
2346,
9123,
320,
736,
964,
1175,
13395,
3231,
4277,
3231,
64,
353,
964,
1175,
9826,
3231,
7459,
3231,
64,
736,
964,
1175,
377,
56,
1503,
328,
56,
1503,
64,
736,
964,
924,
1175,
7145,
1067,
3716,
299,
21818,
51,
10588,
459,
2946,
100,
22205,
742,
736,
1041,
682,
338,
24364,
462,
18387,
456,
9946,
4277,
1991,
7392,
51,
682,
338,
2048,
1168,
1249,
391,
990,
2758,
31219,
456,
4277,
8971,
480,
34211,
5188,
51,
682,
588,
353,
496,
10789,
353,
581,
13395,
2346,
9123,
45,
416,
13395,
3231,
4277,
3231,
49,
9826,
3231,
7459,
3231,
49,
377,
56,
1503,
328,
56,
1503,
46,
320,
303,
477,
51,
5261,
3231,
299,
4277,
3231,
64,
303,
477,
51,
3453,
3231,
299,
7459,
3231,
64,
303,
477,
51,
120,
56,
1503,
299,
328,
56,
1503,
64,
353,
339,
736,
1041,
682,
338,
6918,
711,
331,
4277,
480,
7786,
7459,
4706,
4148,
563,
341,
2212,
822,
2684,
51,
682,
338,
20454,
337,
829,
5231,
664,
341,
349,
5261,
8818,
4098,
2503,
682,
338,
682,
338,
496,
772,
4277,
625,
906,
2502,
451,
341,
4277,
391,
545,
47494,
51,
682,
588,
353,
496,
79,
893,
2239,
45,
416,
8061,
299,
332,
5261,
8818,
4098,
411,
416,
3863,
2232,
299,
332,
2646,
2232,
411,
416,
35732,
299,
332,
54,
678,
353,
581,
782,
8971,
5887,
45,
3967,
4277,
625,
46,
320,
303,
13395,
1262,
4277,
299,
762,
64,
303,
5663,
65,
5887,
1262,
67,
4277,
7575,
64,
465,
1614,
320,
416,
4277,
7575,
299,
4277,
3231,
51,
23673,
45,
5261,
625,
312,
416,
434,
327,
5261,
7575,
51,
6401,
1177,
320,
310,
461,
64,
416,
339,
416,
4277,
299,
4277,
7575,
51,
390,
492,
416,
910,
4277,
1233,
299,
4277,
51,
17676,
492,
453,
1408,
341,
4277,
1536,
416,
910,
1197,
17134,
299,
4277,
1233,
51,
3045,
47241,
416,
434,
327,
5261,
1233,
51,
15602,
45,
53,
46,
630,
33748,
320,
310,
17134,
96,
53,
98,
299,
2450,
884,
416,
339,
416,
8971,
4562,
45,
19958,
96,
53,
636,
17134,
49,
4277,
312,
303,
339,
2385,
45,
1002,
503,
1528,
416,
1067,
3716,
51,
750,
45,
106,
51,
7724,
1052,
303,
339,
8312,
320,
416,
434,
45,
5261,
882,
762,
1528,
310,
4277,
51,
23715,
9460,
45,
1886,
312,
310,
4277,
3231,
51,
2882,
45,
5261,
312,
416,
339,
303,
339,
353,
339,
736,
1041,
682,
338,
38328,
5072,
331,
4277,
642,
2840,
8475,
4706,
347,
341,
377,
56,
8120,
51,
682,
338,
20454,
337,
829,
5231,
664,
341,
349,
5261,
4774,
4098,
2503,
682,
338,
682,
338,
496,
772,
4277,
625,
906,
2502,
451,
341,
4277,
391,
545,
13436,
51,
682,
588,
353,
496,
79,
893,
2239,
45,
416,
8061,
299,
332,
5261,
4774,
4098,
411,
416,
3863,
2232,
299,
332,
2646,
2232,
411,
416,
35732,
299,
332,
54,
678,
353,
581,
782,
45567,
5887,
45,
3967,
4277,
625,
46,
320,
303,
13395,
1262,
4277,
299,
762,
64,
303,
5663,
65,
5887,
1262,
67,
4277,
7575,
64,
303,
1614,
320,
416,
4277,
7575,
299,
4277,
3231,
51,
23673,
45,
5261,
625,
312,
416,
434,
327,
5261,
7575,
51,
6401,
1177,
320,
310,
461,
64,
416,
339,
416,
4277,
299,
4277,
7575,
51,
390,
492,
1704,
910,
8120,
577,
299,
4277,
51,
390,
9006,
577,
492,
1704,
1922,
1851,
6699,
11761,
299,
878,
64,
416,
910,
11114,
8341,
299,
762,
64,
1704,
2236,
327,
7047,
6699,
11761,
46,
320,
310,
1701,
6699,
91,
55,
1123,
1343,
299,
419,
1701,
6699,
91,
55,
1123,
51,
4179,
365,
453,
9659,
341,
4914,
5275,
2464,
733,
657,
6468,
45,
36207,
46,
733,
657,
18067,
8341,
45,
18067,
8341,
46,
733,
657,
1848,
492,
603,
1701,
6699,
91,
55,
1416,
1074,
299,
477,
51,
120,
56,
1503,
51,
687,
6699,
91,
55,
45,
1375,
312,
310,
456,
327,
12300,
51,
7204,
51,
831,
42234,
51,
4270,
51,
120,
56,
51,
1184,
51,
88,
56,
976,
1319,
518,
1074,
51,
8089,
1177,
320,
633,
910,
8851,
1233,
299,
1319,
51,
697,
492,
633,
9826,
1262,
7459,
299,
7459,
3231,
51,
20202,
1233,
45,
10492,
1233,
312,
633,
434,
327,
3453,
882,
762,
46,
320,
343,
26696,
328,
56,
3283,
38510,
299,
1319,
51,
48470,
492,
343,
26696,
7459,
3283,
38510,
299,
7459,
51,
22080,
46179,
492,
1083,
434,
327,
3453,
3283,
38510,
51,
316,
5131,
45,
120,
56,
3283,
38510,
509,
320,
1108,
7459,
51,
489,
7867,
6955,
1551,
45,
7867,
6955,
1551,
51,
4256,
100,
2124,
100,
5252,
312,
343,
339,
832,
320,
1108,
7459,
51,
489,
7867,
6955,
1551,
45,
7867,
6955,
1551,
51,
9295,
37526,
312,
343,
339,
1083,
7459,
51,
42547,
7867,
6955,
45,
1491,
51,
48470,
1052,
343,
7459,
3231,
51,
2882,
45,
3453,
312,
633,
339,
310,
339,
603,
434,
327,
1285,
51,
316,
17541,
1177,
320,
633,
11114,
8341,
299,
1074,
51,
1995,
19961,
8341,
492,
310,
339,
832,
320,
633,
1851,
6699,
11761,
299,
920,
64,
310,
339,
416,
339,
303,
339,
2385,
45,
1002,
503,
1528,
416,
1067,
3716,
51,
750,
45,
106,
51,
7724,
1052,
303,
339,
8312,
320,
416,
434,
45,
5261,
882,
762,
1528,
310,
4277,
51,
23715,
9460,
45,
1886,
312,
310,
4277,
3231,
51,
2882,
45,
5261,
312,
416,
339,
303,
339,
353,
339,
736,
964,
782,
8971,
4562,
45,
671,
1565,
1233,
49,
910,
1197,
17134,
49,
13395,
1262,
4277,
46,
320,
303,
2050,
1565,
2995,
299,
556,
2050,
45,
1719,
1233,
312,
465,
453,
3471,
434,
341,
1565,
3378,
5394,
303,
434,
1445,
1719,
2995,
51,
4678,
365,
1293,
673,
1719,
2995,
51,
30815,
1177,
320,
416,
461,
64,
303,
339,
465,
453,
1691,
2038,
904,
1307,
1851,
17134,
2859,
49,
1506,
52,
1896,
7459,
4706,
456,
1187,
2293,
480,
14920,
303,
434,
327,
19958,
51,
1340,
630,
244,
54,
46,
320,
416,
2050,
1197,
2293,
2199,
25506,
299,
1565,
2995,
51,
687,
3852,
492,
416,
434,
327,
2558,
2199,
25506,
882,
762,
46,
320,
310,
456,
327,
991,
822,
1543,
2995,
518,
2293,
2199,
25506,
46,
320,
633,
1506,
24861,
5003,
976,
45,
781,
1543,
2995,
49,
4277,
312,
310,
339,
416,
339,
416,
461,
64,
303,
339,
465,
453,
1408,
341,
2371,
8459,
303,
910,
2371,
7719,
299,
17134,
96,
54,
988,
303,
910,
1197,
11479,
21396,
299,
14479,
51,
36927,
3216,
45,
19958,
49,
244,
54,
49,
17134,
51,
1340,
312,
465,
434,
327,
1995,
7719,
51,
13907,
27360,
678,
979,
2371,
7719,
51,
20982,
459,
130,
2152,
320,
416,
2050,
1197,
1381,
25506,
299,
1565,
2995,
51,
687,
3852,
45,
991,
422,
30815,
312,
416,
434,
327,
1133,
25506,
882,
762,
46,
320,
310,
456,
327,
991,
1381,
2995,
518,
1381,
25506,
46,
320,
633,
8971,
4562,
45,
1719,
1233,
494,
13198,
494,
1381,
2995,
51,
5175,
1046,
11479,
21396,
49,
4277,
312,
310,
339,
416,
339,
303,
339,
832,
320,
416,
8971,
4562,
45,
1719,
1233,
494,
13198,
494,
2371,
7719,
49,
11479,
21396,
49,
4277,
312,
303,
339,
353,
339,
736,
453,
6170,
1431,
391,
1506,
575,
1991,
331,
9826,
1262,
1319,
353,
964,
782,
1506,
24861,
5003,
976,
45,
991,
822,
49,
13395,
1262,
4277,
46,
320,
303,
26696,
2419,
9851,
299,
26696,
51,
1048,
16582,
22950,
45,
781,
51,
48470,
1052,
303,
453,
3471,
434,
331,
7459,
1319,
642,
341,
2454,
1536,
3443,
5394,
303,
9826,
1262,
4917,
5003,
64,
303,
434,
327,
5261,
51,
390,
4236,
365,
630,
9826,
4236,
51,
16482,
46,
320,
416,
4917,
5003,
299,
7459,
3231,
51,
20202,
1233,
45,
781,
51,
17676,
365,
494,
2450,
4541,
742,
303,
339,
832,
320,
416,
4917,
5003,
299,
7459,
3231,
51,
20202,
1233,
45,
781,
51,
17676,
1052,
303,
339,
465,
434,
327,
12736,
5003,
882,
762,
46,
320,
416,
453,
3471,
434,
341,
4917,
1319,
458,
44774,
37526,
480,
986,
451,
2361,
416,
434,
327,
12736,
5003,
51,
390,
7867,
6955,
1551,
365,
630,
12763,
6955,
1551,
51,
9295,
37526,
633,
979,
4917,
5003,
51,
22080,
7867,
6955,
365,
882,
762,
633,
979,
2419,
9851,
51,
316,
5131,
45,
12736,
5003,
51,
22080,
7867,
6955,
5183,
320,
310,
4917,
5003,
51,
489,
7867,
6955,
1551,
45,
7867,
6955,
1551,
51,
4256,
100,
2124,
100,
5252,
312,
310,
4917,
5003,
51,
29572,
45,
343,
10613,
2769,
51,
390,
4562,
1269,
45,
781,
49,
4277,
51,
390,
4236,
365,
630,
9826,
4236,
51,
16482,
894,
603,
4917,
5003,
51,
29572,
45,
781,
51,
30271,
5144,
1052,
416,
339,
416,
4917,
5003,
51,
42547,
46179,
45,
48470,
312,
416,
7459,
3231,
51,
2882,
45,
12736,
5003,
312,
303,
339,
832,
320,
416,
9826,
1262,
7459,
299,
556,
9826,
1262,
492,
416,
7459,
51,
489,
5887,
45,
5261,
312,
416,
7459,
51,
489,
7867,
6955,
1551,
45,
7867,
6955,
1551,
51,
3922,
100,
9295,
37526,
312,
416,
7459,
51,
42547,
46179,
45,
48470,
312,
416,
7459,
51,
489,
7867,
10681,
45,
1886,
312,
416,
7459,
51,
489,
7847,
5291,
3766,
54,
312,
416,
7459,
51,
489,
89,
865,
318,
45,
1886,
312,
416,
7459,
51,
489,
7005,
8757,
45,
1886,
312,
416,
7459,
51,
489,
14898,
105,
45,
1886,
312,
416,
7459,
51,
489,
7511,
5291,
3766,
54,
312,
416,
7459,
51,
489,
3798,
23092,
45,
1886,
312,
1704,
434,
327,
5261,
51,
390,
4236,
365,
630,
9826,
4236,
51,
16482,
46,
320,
310,
7459,
51,
15779,
45,
781,
51,
5175,
365,
494,
332,
5057,
742,
310,
7459,
51,
489,
1233,
45,
781,
51,
17676,
365,
494,
2450,
4541,
742,
310,
7459,
51,
29572,
45,
4562,
2769,
51,
390,
4562,
1269,
45,
781,
49,
878,
894,
416,
339,
832,
320,
310,
7459,
51,
15779,
45,
781,
51,
5175,
1052,
310,
7459,
51,
489,
1233,
45,
781,
51,
17676,
1052,
310,
7459,
51,
29572,
45,
4562,
2769,
51,
390,
4562,
1269,
45,
781,
49,
920,
894,
416,
339,
1704,
453,
9908,
341,
7459,
1319,
416,
7459,
3231,
51,
2882,
45,
3453,
312,
303,
339,
465,
453,
3471,
434,
341,
4277,
1200,
7459,
4236,
458,
27221,
303,
434,
327,
5261,
51,
390,
4236,
365,
630,
9826,
4236,
51,
16482,
46,
320,
416,
434,
327,
781,
51,
30815,
1177,
320,
310,
2050,
1197,
1381,
25506,
299,
822,
51,
687,
3852,
45,
991,
422,
30815,
312,
310,
434,
327,
1133,
25506,
882,
762,
46,
320,
633,
456,
327,
991,
1381,
2995,
518,
1381,
25506,
46,
320,
343,
453,
1691,
341,
45197,
4326,
332,
27002,
39,
347,
2840,
655,
49,
4166,
580,
343,
434,
327,
1133,
2995,
51,
5175,
941,
10498,
941,
4766,
459,
27002,
2152,
320,
1108,
453,
3471,
434,
331,
27221,
26841,
7459,
1319,
642,
341,
2454,
1536,
3443,
5394,
1108,
910,
26841,
1233,
299,
822,
51,
17676,
365,
494,
13198,
494,
1381,
2995,
51,
5175,
492,
1108,
9826,
1262,
4917,
34931,
5003,
299,
7459,
3231,
51,
20202,
1233,
45,
27002,
1233,
312,
1108,
434,
327,
12736,
34931,
5003,
882,
762,
46,
320,
419,
453,
4013,
341,
4917,
27221,
26841,
7459,
1319,
419,
4917,
34931,
5003,
51,
42547,
46179,
45,
48470,
312,
2125,
453,
3471,
434,
341,
4917,
27221,
26841,
1319,
458,
44774,
37526,
480,
986,
451,
2361,
419,
434,
327,
12736,
34931,
5003,
51,
390,
7867,
6955,
1551,
365,
630,
12763,
6955,
1551,
51,
9295,
37526,
547,
979,
4917,
34931,
5003,
51,
22080,
7867,
6955,
365,
882,
762,
547,
979,
2419,
9851,
51,
316,
5131,
45,
12736,
34931,
5003,
51,
22080,
7867,
6955,
5183,
320,
1764,
4917,
34931,
5003,
51,
489,
7867,
6955,
1551,
45,
7867,
6955,
1551,
51,
4256,
100,
2124,
100,
5252,
312,
1764,
4917,
34931,
5003,
51,
29572,
45,
4562,
2769,
51,
390,
4562,
1269,
45,
1133,
2995,
49,
920,
894,
419,
339,
419,
453,
9908,
341,
4478,
27221,
26841,
7459,
1319,
419,
7459,
3231,
51,
2882,
45,
12736,
34931,
5003,
312,
1108,
339,
832,
320,
419,
453,
9908,
341,
27221,
26841,
3378,
641,
331,
556,
7459,
1319,
419,
9826,
1262,
26841,
5003,
299,
556,
9826,
1262,
492,
419,
26841,
5003,
51,
15779,
45,
781,
51,
5175,
365,
494,
332,
332,
494,
1381,
2995,
51,
5175,
1052,
419,
26841,
5003,
51,
489,
1233,
45,
27002,
1233,
312,
419,
26841,
5003,
51,
489,
5887,
45,
5261,
312,
419,
26841,
5003,
51,
42547,
46179,
45,
48470,
312,
419,
26841,
5003,
51,
489,
7867,
6955,
1551,
45,
7867,
6955,
1551,
51,
3922,
100,
9295,
37526,
312,
419,
26841,
5003,
51,
489,
7867,
10681,
45,
1886,
312,
419,
26841,
5003,
51,
489,
7847,
5291,
3766,
54,
312,
419,
26841,
5003,
51,
489,
89,
865,
318,
45,
1886,
312,
419,
26841,
5003,
51,
489,
7005,
8757,
45,
1886,
312,
419,
26841,
5003,
51,
489,
14898,
105,
45,
1886,
312,
419,
26841,
5003,
51,
489,
7511,
5291,
3766,
54,
312,
419,
26841,
5003,
51,
489,
3798,
23092,
45,
1886,
312,
419,
26841,
5003,
51,
29572,
45,
4562,
2769,
51,
390,
4562,
1269,
45,
1133,
2995,
49,
920,
894,
2125,
453,
9908,
341,
27221,
26841,
7459,
1319,
419,
7459,
3231,
51,
2882,
45,
27002,
5003,
312,
1108,
339,
343,
339,
633,
339,
310,
339,
416,
339,
303,
339,
353,
339,
222,
130,
222
] |
[
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 2,430
| true
| 65.445654
| true
| true
|
EmulatorMain.java
|
/FileExtraction/Java_unseen/marcelrv_miio-emu/src/miio/EmulatorMain.java
|
/**
* Mi IO device emulator Copyright (C) 2017 M. Verpaalen
*
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package miio;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.Scanner;
import org.slf4j.LoggerFactory;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import miio.discovery.MDNSServiceRegistration;
import miio.emulator.MiIoDevices;
import miio.emulator.MiIoEmulator;
public class EmulatorMain {
private final static org.slf4j.Logger logger = LoggerFactory.getLogger(EmulatorMain.class);
// enter the default device here
public final static MiIoDevices DEFAULT_DEVICE = MiIoDevices.DREAME_VACUUM_P2009;
// private final static String DEFAULTSFILE = "miio-default.yaml";
private final static String DEFAULTSFILE = "miio-default.json";
private static final Gson GSON = new GsonBuilder().setPrettyPrinting().create();
private static boolean enableMdns = false;
public static void main(String[] args) {
logger.info("Mi IO Emulator");
MiIoDevices device = DEFAULT_DEVICE;
Scanner scan = new Scanner(System.in);
Defaults data = null;
MDNSServiceRegistration mdns = new MDNSServiceRegistration();
while (true) {
try {
data = GSON.fromJson(new FileReader(DEFAULTSFILE), Defaults.class);
} catch (IOException e) {
logger.info("Could not read {}: {}", DEFAULTSFILE, e.getMessage());
}
if (data == null) {
logger.info("Could not read defaults from file {}. Using initial values.", DEFAULTSFILE);
data = new Defaults();
}
data.setDid(data.getDid());
data.setToken(data.getToken());
data.setModel(data.getModel());
device = MiIoDevices.getType(data.getModel());
MiIoEmulator emu = new MiIoEmulator(device, data.getDid(), data.getToken());
logger.info("Mi Io Emulator started as device {} {} (did: {} token: {})", device.getDescription(),
device.getModel(), data.getDid(), data.getToken());
emu.start();
if (enableMdns) {
mdns.registerService(data.getModel(), data.getDid());
}
listOption();
String s = scan.next();
if ("?".equals(s)) {
logger.info("Mi Io Emulator started as device {} {} (did: {} token: {})", device.getDescription(),
device.getModel(), data.getDid(), data.getToken());
}
if ("q".equals(s)) {
emu.stop();
break;
}
if ("l".equals(s)) {
listDevices();
}
if ("r".equals(s)) {
emu.reload();
}
if ("s".equals(s)) {
emu.saveResponses();
}
if (s.startsWith("d") && s.substring(2).trim().length() == 8) {
data.setDid(s.substring(2).trim());
} else if (s.startsWith("t") && s.substring(2).trim().length() == 32) {
data.setToken(s.substring(2).trim());
} else if (MiIoDevices.UNKNOWN.equals(MiIoDevices.getType(s))) {
// device = DEFAULT_DEVICE;
logger.info("Unknown device");
} else {
device = MiIoDevices.getType(s);
data.setModel(device.getModel());
}
try {
int d = Integer.valueOf(s);
if (d >= 0 && d < MiIoDevices.values().length) {
device = MiIoDevices.values()[d];
data.setModel(device.getModel());
}
} catch (NumberFormatException e) {
// ignore
}
// data.setModel(device.getModel());
if (emu != null) {
emu.stop();
}
if (enableMdns) {
mdns.unRegisterService();
}
try (PrintWriter writer = new PrintWriter(DEFAULTSFILE)) {
GSON.toJson(data, writer);
logger.info("Defaults file written:{}", DEFAULTSFILE);
} catch (FileNotFoundException e) {
logger.info("Could not write defaults file {}", e.getMessage());
}
}
scan.close();
if (enableMdns) {
mdns.close();
}
}
/**
*
*/
private static void listDevices() {
for (MiIoDevices d : MiIoDevices.values()) {
logger.info("Device {} : {} - {}", d.ordinal(), d.getModel(), d.getDescription());
}
}
private static void listOption() {
logger.info("this menu: h");
logger.info("Setting: ?");
logger.info("set did: d:<did>");
logger.info("set token: t:<token>");
logger.info("List Devices: l");
logger.info("Save Responses:s");
logger.info("Reload response:r");
logger.info("Quit: q");
logger.info("Enter option or Device:");
}
}
| 5,798
|
Java
|
.java
|
marcelrv/miio-emu
| 14
| 7
| 0
|
2017-09-26T19:06:43Z
|
2023-11-21T21:40:38Z
|
62e1beb9da17dd9735250a28e7d41938a04ee8202ad4852d3b3a1f4d7caec4c2
|
[
1350,
222,
338,
45212,
4398,
3313,
32385,
2657,
327,
72,
46,
244,
55,
53,
54,
60,
244,
507,
51,
5788,
4554,
298,
291,
222,
338,
303,
1369,
3477,
458,
3760,
2951,
63,
863,
902,
14081,
580,
480,
52,
290,
5370,
303,
580,
1549,
341,
5974,
451,
341,
6994,
6153,
5062,
1196,
641,
9582,
829,
303,
341,
7834,
3870,
7120,
49,
3173,
1522,
244,
56,
451,
341,
1196,
49,
575,
303,
327,
288,
1390,
2489,
46,
1364,
6146,
1522,
51,
465,
1369,
3477,
458,
2744,
347,
341,
9850,
708,
580,
1118,
545,
6386,
49,
303,
1294,
4213,
2979,
9345,
64,
2895,
4462,
341,
4506,
14319,
451,
303,
7934,
575,
8114,
4800,
418,
7848,
7763,
51,
244,
2819,
341,
303,
6994,
6153,
5062,
1196,
456,
1851,
4261,
51,
465,
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
6153,
5062,
1196,
303,
7979,
642,
477,
3477,
51,
244,
1691,
666,
49,
2337,
350,
544,
574,
1516,
51,
10627,
51,
1107,
52,
4205,
28699,
222,
1975,
222,
1337,
12908,
735,
64,
222,
222,
485,
1401,
51,
735,
51,
27322,
64,
222,
485,
1401,
51,
735,
51,
33167,
64,
222,
485,
1401,
51,
735,
51,
6860,
64,
222,
485,
1401,
51,
735,
51,
42446,
64,
222,
485,
1401,
51,
1058,
51,
13037,
64,
222,
222,
485,
1105,
51,
12172,
57,
111,
51,
19580,
64,
222,
222,
485,
785,
51,
2193,
51,
19968,
51,
33548,
64,
222,
485,
785,
51,
2193,
51,
19968,
51,
33548,
1812,
64,
222,
222,
485,
12908,
735,
51,
21518,
51,
5121,
3033,
1201,
11509,
64,
222,
485,
12908,
735,
51,
46941,
51,
14933,
12092,
12184,
64,
222,
485,
12908,
735,
51,
46941,
51,
14933,
12092,
12306,
7901,
64,
222,
222,
942,
462,
14866,
7901,
4370,
320,
303,
964,
1175,
924,
1105,
51,
12172,
57,
111,
51,
3716,
4101,
299,
21818,
51,
10588,
45,
12306,
7901,
4370,
51,
842,
312,
303,
453,
6621,
341,
1263,
3313,
2464,
303,
581,
1175,
924,
45212,
12092,
12184,
4050,
100,
10553,
299,
45212,
12092,
12184,
51,
34788,
3862,
100,
91,
1205,
90,
2364,
100,
85,
55,
53,
53,
62,
64,
303,
453,
964,
1175,
924,
910,
4050,
88,
3555,
299,
332,
4557,
735,
50,
1555,
51,
6057,
884,
303,
964,
1175,
924,
910,
4050,
88,
3555,
299,
332,
4557,
735,
50,
1555,
51,
1279,
884,
465,
964,
924,
1175,
33317,
590,
1979,
299,
556,
33317,
1812,
941,
489,
20507,
4026,
318,
941,
1315,
492,
465,
964,
924,
1922,
5362,
82,
12242,
299,
920,
64,
465,
581,
924,
782,
2594,
45,
671,
1197,
2194,
46,
320,
310,
4101,
51,
1357,
459,
14933,
4398,
14866,
7901,
742,
310,
45212,
12092,
12184,
3313,
299,
4050,
100,
10553,
64,
310,
24386,
8971,
299,
556,
24386,
45,
1615,
51,
285,
312,
310,
16001,
727,
299,
762,
64,
310,
507,
17436,
1201,
11509,
8745,
2591,
299,
556,
507,
17436,
1201,
11509,
492,
310,
2236,
327,
1527,
46,
320,
343,
1614,
320,
419,
727,
299,
590,
1979,
51,
23862,
45,
909,
38773,
45,
5815,
88,
3555,
490,
16001,
51,
842,
312,
343,
339,
2385,
327,
6860,
503,
46,
320,
419,
4101,
51,
1357,
459,
9752,
666,
1511,
2172,
63,
12267,
4050,
88,
3555,
49,
503,
51,
7724,
1052,
343,
339,
343,
434,
327,
624,
630,
762,
46,
320,
419,
4101,
51,
1357,
459,
9752,
666,
1511,
10086,
664,
822,
2172,
51,
9659,
2838,
2102,
4429,
4050,
88,
3555,
312,
419,
727,
299,
556,
16001,
492,
343,
339,
343,
727,
51,
489,
11163,
45,
624,
51,
390,
11163,
1052,
343,
727,
51,
489,
1781,
45,
624,
51,
30096,
1052,
343,
727,
51,
42723,
45,
624,
51,
26959,
1052,
343,
3313,
299,
45212,
12092,
12184,
51,
10276,
45,
624,
51,
26959,
1052,
343,
45212,
12092,
12306,
7901,
2667,
122,
299,
556,
45212,
12092,
12306,
7901,
45,
2949,
49,
727,
51,
390,
11163,
1046,
727,
51,
30096,
1052,
343,
4101,
51,
1357,
459,
14933,
13875,
14866,
7901,
7326,
641,
3313,
2172,
2172,
327,
14330,
63,
2172,
2421,
63,
12794,
411,
3313,
51,
32844,
1046,
547,
3313,
51,
26959,
1046,
727,
51,
390,
11163,
1046,
727,
51,
30096,
1052,
343,
2667,
122,
51,
1384,
492,
343,
434,
327,
4909,
82,
12242,
46,
320,
419,
8745,
2591,
51,
3334,
1201,
45,
624,
51,
26959,
1046,
727,
51,
390,
11163,
1052,
343,
339,
1083,
1168,
2846,
492,
343,
910,
328,
299,
8971,
51,
1995,
492,
343,
434,
2903,
68,
2316,
3591,
45,
120,
509,
320,
419,
4101,
51,
1357,
459,
14933,
13875,
14866,
7901,
7326,
641,
3313,
2172,
2172,
327,
14330,
63,
2172,
2421,
63,
12794,
411,
3313,
51,
32844,
1046,
733,
3313,
51,
26959,
1046,
727,
51,
390,
11163,
1046,
727,
51,
30096,
1052,
343,
339,
343,
434,
2903,
118,
2316,
3591,
45,
120,
509,
320,
419,
2667,
122,
51,
4074,
492,
419,
1644,
64,
343,
339,
343,
434,
2903,
113,
2316,
3591,
45,
120,
509,
320,
419,
1168,
12184,
492,
343,
339,
343,
434,
2903,
119,
2316,
3591,
45,
120,
509,
320,
419,
2667,
122,
51,
12998,
492,
343,
339,
343,
434,
2903,
120,
2316,
3591,
45,
120,
509,
320,
419,
2667,
122,
51,
2882,
22592,
492,
343,
339,
343,
434,
327,
120,
51,
13907,
459,
105,
678,
979,
328,
51,
8724,
45,
55,
566,
5475,
941,
1340,
365,
630,
244,
61,
46,
320,
419,
727,
51,
489,
11163,
45,
120,
51,
8724,
45,
55,
566,
5475,
1052,
343,
339,
832,
434,
327,
120,
51,
13907,
459,
121,
678,
979,
328,
51,
8724,
45,
55,
566,
5475,
941,
1340,
365,
630,
244,
56,
55,
46,
320,
419,
727,
51,
489,
1781,
45,
120,
51,
8724,
45,
55,
566,
5475,
1052,
343,
339,
832,
434,
327,
14933,
12092,
12184,
51,
14165,
51,
3591,
45,
14933,
12092,
12184,
51,
10276,
45,
120,
2636,
320,
419,
453,
3313,
299,
4050,
100,
10553,
64,
419,
4101,
51,
1357,
459,
5850,
3313,
742,
343,
339,
832,
320,
419,
3313,
299,
45212,
12092,
12184,
51,
10276,
45,
120,
312,
419,
727,
51,
42723,
45,
2949,
51,
26959,
1052,
343,
339,
343,
1614,
320,
419,
648,
362,
299,
4418,
51,
9169,
45,
120,
312,
419,
434,
327,
105,
2394,
244,
53,
979,
362,
350,
45212,
12092,
12184,
51,
2857,
941,
1340,
46,
320,
547,
3313,
299,
45212,
12092,
12184,
51,
2857,
8577,
105,
988,
547,
727,
51,
42723,
45,
2949,
51,
26959,
1052,
419,
339,
343,
339,
2385,
327,
1936,
25931,
503,
46,
320,
419,
453,
5091,
343,
339,
343,
453,
727,
51,
42723,
45,
2949,
51,
26959,
1052,
1083,
434,
327,
22241,
882,
762,
46,
320,
419,
2667,
122,
51,
4074,
492,
343,
339,
343,
434,
327,
4909,
82,
12242,
46,
320,
419,
8745,
2591,
51,
330,
4339,
1201,
492,
343,
339,
1083,
1614,
327,
42446,
7294,
299,
556,
47163,
45,
5815,
88,
3555,
509,
320,
419,
590,
1979,
51,
22693,
45,
624,
49,
7294,
312,
419,
4101,
51,
1357,
459,
14486,
822,
6658,
19192,
411,
4050,
88,
3555,
312,
343,
339,
2385,
327,
27322,
503,
46,
320,
419,
4101,
51,
1357,
459,
9752,
666,
2886,
10086,
822,
12267,
503,
51,
7724,
1052,
343,
339,
310,
339,
310,
8971,
51,
2698,
492,
310,
434,
327,
4909,
82,
12242,
46,
320,
343,
8745,
2591,
51,
2698,
492,
310,
339,
303,
339,
465,
1041,
294,
338,
294,
588,
303,
964,
924,
782,
1168,
12184,
365,
320,
310,
456,
327,
14933,
12092,
12184,
362,
518,
45212,
12092,
12184,
51,
2857,
1177,
320,
343,
4101,
51,
1357,
459,
3046,
2172,
518,
2172,
449,
12267,
362,
51,
18537,
1046,
362,
51,
26959,
1046,
362,
51,
32844,
1052,
310,
339,
303,
339,
465,
964,
924,
782,
1168,
2846,
365,
320,
310,
4101,
51,
1357,
459,
597,
5279,
63,
281,
439,
742,
310,
4101,
51,
1357,
459,
7093,
63,
981,
1037,
742,
310,
4101,
51,
1357,
459,
489,
4163,
63,
981,
362,
14028,
14330,
13510,
310,
4101,
51,
1357,
459,
489,
2421,
63,
281,
292,
14028,
1977,
13510,
310,
4101,
51,
1357,
459,
739,
34291,
63,
244,
475,
742,
310,
4101,
51,
1357,
459,
5134,
5178,
120,
63,
120,
742,
310,
4101,
51,
1357,
459,
24902,
1808,
63,
119,
742,
310,
4101,
51,
1357,
459,
28721,
63,
2052,
2706,
742,
310,
4101,
51,
1357,
459,
6559,
2489,
575,
9151,
20120,
303,
339,
222,
130,
222
] |
[
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,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
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 1,356
| true
| 54.984477
| true
| true
|
EmojiThemes.java
|
/FileExtraction/Java_unseen/TeleTux_TeleTux/TMessagesProj/src/main/java/org/telegram/ui/ActionBar/EmojiThemes.java
|
package org.telegram.ui.ActionBar;
import android.app.Activity;
import android.content.SharedPreferences;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.drawable.BitmapDrawable;
import android.util.Pair;
import org.telegram.messenger.AndroidUtilities;
import org.telegram.messenger.ApplicationLoader;
import org.telegram.messenger.ChatThemeController;
import org.telegram.messenger.FileLoader;
import org.telegram.messenger.FileLog;
import org.telegram.messenger.ImageLoader;
import org.telegram.messenger.ImageLocation;
import org.telegram.messenger.ImageReceiver;
import org.telegram.messenger.SharedConfig;
import org.telegram.messenger.Utilities;
import org.telegram.tgnet.ResultCallback;
import org.telegram.tgnet.TLRPC;
import java.io.File;
import java.io.FileOutputStream;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;
public class EmojiThemes {
public boolean showAsDefaultStub;
public String emoji;
int currentIndex = 0;
ArrayList<ThemeItem> items = new ArrayList<>();
private static final String[] previewColorKeys = new String[]{
Theme.key_chat_inBubble,
Theme.key_chat_outBubble,
Theme.key_featuredStickers_addButton,
Theme.key_chat_wallpaper,
Theme.key_chat_wallpaper_gradient_to1,
Theme.key_chat_wallpaper_gradient_to2,
Theme.key_chat_wallpaper_gradient_to3,
Theme.key_chat_wallpaper_gradient_rotation
};
private EmojiThemes() {
}
public EmojiThemes(TLRPC.TL_theme chatThemeObject, boolean isDefault) {
this.showAsDefaultStub = isDefault;
this.emoji = chatThemeObject.emoticon;
if (!isDefault) {
ThemeItem lightTheme = new ThemeItem();
lightTheme.tlTheme = chatThemeObject;
lightTheme.settingsIndex = 0;
items.add(lightTheme);
ThemeItem darkTheme = new ThemeItem();
darkTheme.tlTheme = chatThemeObject;
darkTheme.settingsIndex = 1;
items.add(darkTheme);
}
}
public static EmojiThemes createPreviewFullTheme(TLRPC.TL_theme tl_theme) {
EmojiThemes chatTheme = new EmojiThemes();
chatTheme.emoji = tl_theme.emoticon;
for (int i = 0; i < tl_theme.settings.size(); i++) {
ThemeItem theme = new ThemeItem();
theme.tlTheme = tl_theme;
theme.settingsIndex = i;
chatTheme.items.add(theme);
}
return chatTheme;
}
public static EmojiThemes createChatThemesDefault() {
EmojiThemes themeItem = new EmojiThemes();
themeItem.emoji = "❌";
themeItem.showAsDefaultStub = true;
ThemeItem lightTheme = new ThemeItem();
lightTheme.themeInfo = getDefaultThemeInfo(true);
themeItem.items.add(lightTheme);
ThemeItem darkTheme = new ThemeItem();
darkTheme.themeInfo = getDefaultThemeInfo(false);
themeItem.items.add(darkTheme);
return themeItem;
}
public static EmojiThemes createPreviewCustom() {
EmojiThemes themeItem = new EmojiThemes();
themeItem.emoji = "\uD83C\uDFA8";
SharedPreferences preferences = ApplicationLoader.applicationContext.getSharedPreferences("themeconfig", Activity.MODE_PRIVATE);
String lastDayCustomTheme = preferences.getString("lastDayCustomTheme", null);
int dayAccentId = preferences.getInt("lastDayCustomThemeAccentId", -1);
if (lastDayCustomTheme == null || Theme.getTheme(lastDayCustomTheme) == null) {
lastDayCustomTheme = preferences.getString("lastDayTheme", "Blue");
Theme.ThemeInfo themeInfo = Theme.getTheme(lastDayCustomTheme);
if (themeInfo == null) {
lastDayCustomTheme = "Blue";
dayAccentId = 99;
} else {
dayAccentId = themeInfo.currentAccentId;
}
preferences.edit().putString("lastDayCustomTheme", lastDayCustomTheme).apply();
} else {
if (dayAccentId == -1) {
dayAccentId = Theme.getTheme(lastDayCustomTheme).lastAccentId;
}
}
if (dayAccentId == -1) {
lastDayCustomTheme = "Blue";
dayAccentId = 99;
}
String lastDarkCustomTheme = preferences.getString("lastDarkCustomTheme", null);
int darkAccentId = preferences.getInt("lastDarkCustomThemeAccentId", -1);
if (lastDarkCustomTheme == null || Theme.getTheme(lastDarkCustomTheme) == null) {
lastDarkCustomTheme = preferences.getString("lastDarkTheme", "Dark Blue");
Theme.ThemeInfo themeInfo = Theme.getTheme(lastDarkCustomTheme);
if (themeInfo == null) {
lastDarkCustomTheme = "Dark Blue";
darkAccentId = 0;
} else {
darkAccentId = themeInfo.currentAccentId;
}
preferences.edit().putString("lastDarkCustomTheme", lastDarkCustomTheme).apply();
} else {
if (darkAccentId == -1) {
darkAccentId = Theme.getTheme(lastDayCustomTheme).lastAccentId;
}
}
if (darkAccentId == -1) {
lastDarkCustomTheme = "Dark Blue";
darkAccentId = 0;
}
ThemeItem lightTheme = new ThemeItem();
lightTheme.themeInfo = Theme.getTheme(lastDayCustomTheme);
lightTheme.accentId = dayAccentId;
themeItem.items.add(lightTheme);
themeItem.items.add(null);
ThemeItem darkTheme = new ThemeItem();
darkTheme.themeInfo = Theme.getTheme(lastDarkCustomTheme);
darkTheme.accentId = darkAccentId;
themeItem.items.add(darkTheme);
themeItem.items.add(null);
return themeItem;
}
public static EmojiThemes createHomePreviewTheme() {
EmojiThemes themeItem = new EmojiThemes();
themeItem.emoji = "\uD83C\uDFE0";
ThemeItem blue = new ThemeItem();
blue.themeInfo = Theme.getTheme("Blue");
blue.accentId = 99;
themeItem.items.add(blue);
ThemeItem day = new ThemeItem();
day.themeInfo = Theme.getTheme("Day");
day.accentId = 9;
themeItem.items.add(day);
ThemeItem night = new ThemeItem();
night.themeInfo = Theme.getTheme("Night");
night.accentId = 0;
themeItem.items.add(night);
ThemeItem nightBlue = new ThemeItem();
nightBlue.themeInfo = Theme.getTheme("Dark Blue");
nightBlue.accentId = 0;
themeItem.items.add(nightBlue);
return themeItem;
}
public static EmojiThemes createHomeQrTheme() {
EmojiThemes themeItem = new EmojiThemes();
themeItem.emoji = "\uD83C\uDFE0";
ThemeItem blue = new ThemeItem();
blue.themeInfo = Theme.getTheme("Blue");
blue.accentId = 99;
themeItem.items.add(blue);
ThemeItem nightBlue = new ThemeItem();
nightBlue.themeInfo = Theme.getTheme("Dark Blue");
nightBlue.accentId = 0;
themeItem.items.add(nightBlue);
return themeItem;
}
public void initColors() {
getPreviewColors(0, 0);
getPreviewColors(0, 1);
}
public String getEmoticon() {
return emoji;
}
public TLRPC.TL_theme getTlTheme(int index) {
return items.get(index).tlTheme;
}
public TLRPC.WallPaper getWallpaper(int index) {
int settingsIndex = items.get(index).settingsIndex;
if (settingsIndex >= 0) {
TLRPC.TL_theme tlTheme = getTlTheme(index);
if (tlTheme != null) {
return tlTheme.settings.get(settingsIndex).wallpaper;
}
}
return null;
}
public String getWallpaperLink(int index) {
return items.get(index).wallpaperLink;
}
public int getSettingsIndex(int index) {
return items.get(index).settingsIndex;
}
public HashMap<String, Integer> getPreviewColors(int currentAccount, int index) {
HashMap<String, Integer> currentColors = items.get(index).currentPreviewColors;
if (currentColors != null) {
return currentColors;
}
Theme.ThemeInfo themeInfo = getThemeInfo(index);
Theme.ThemeAccent accent = null;
if (themeInfo == null) {
int settingsIndex = getSettingsIndex(index);
TLRPC.TL_theme tlTheme = getTlTheme(index);
Theme.ThemeInfo baseTheme = Theme.getTheme(Theme.getBaseThemeKey(tlTheme.settings.get(settingsIndex)));
themeInfo = new Theme.ThemeInfo(baseTheme);
accent = themeInfo.createNewAccent(tlTheme, currentAccount, true, settingsIndex);
themeInfo.setCurrentAccentId(accent.id);
} else {
if (themeInfo.themeAccentsMap != null) {
accent = themeInfo.themeAccentsMap.get(items.get(index).accentId);
}
}
HashMap<String, Integer> currentColorsNoAccent = new HashMap<>();
String[] wallpaperLink = new String[1];
if (themeInfo.pathToFile != null) {
currentColorsNoAccent.putAll(Theme.getThemeFileValues(new File(themeInfo.pathToFile), null, wallpaperLink));
} else if (themeInfo.assetName != null) {
currentColorsNoAccent.putAll(Theme.getThemeFileValues(null, themeInfo.assetName, wallpaperLink));
}
items.get(index).wallpaperLink = wallpaperLink[0];
if (accent != null) {
currentColors = new HashMap<>(currentColorsNoAccent);
accent.fillAccentColors(currentColorsNoAccent, currentColors);
currentColorsNoAccent.clear();
} else {
currentColors = currentColorsNoAccent;
}
HashMap<String, String> fallbackKeys = Theme.getFallbackKeys();
items.get(index).currentPreviewColors = new HashMap<>();
for (int i = 0; i < previewColorKeys.length; i++) {
String key = previewColorKeys[i];
items.get(index).currentPreviewColors.put(key, currentColors.get(key));
if (!items.get(index).currentPreviewColors.containsKey(key)) {
Integer color = currentColors.get(fallbackKeys.get(key));
currentColors.put(key, color);
}
}
currentColors.clear();
return items.get(index).currentPreviewColors;
}
public HashMap<String, Integer> createColors(int currentAccount, int index) {
HashMap<String, Integer> currentColors;
Theme.ThemeInfo themeInfo = getThemeInfo(index);
Theme.ThemeAccent accent = null;
if (themeInfo == null) {
int settingsIndex = getSettingsIndex(index);
TLRPC.TL_theme tlTheme = getTlTheme(index);
Theme.ThemeInfo baseTheme = Theme.getTheme(Theme.getBaseThemeKey(tlTheme.settings.get(settingsIndex)));
themeInfo = new Theme.ThemeInfo(baseTheme);
accent = themeInfo.createNewAccent(tlTheme, currentAccount, true, settingsIndex);
themeInfo.setCurrentAccentId(accent.id);
} else {
if (themeInfo.themeAccentsMap != null) {
accent = themeInfo.themeAccentsMap.get(items.get(index).accentId);
}
}
HashMap<String, Integer> currentColorsNoAccent = new HashMap<>();
String[] wallpaperLink = new String[1];
if (themeInfo.pathToFile != null) {
currentColorsNoAccent.putAll(Theme.getThemeFileValues(new File(themeInfo.pathToFile), null, wallpaperLink));
} else if (themeInfo.assetName != null) {
currentColorsNoAccent.putAll(Theme.getThemeFileValues(null, themeInfo.assetName, wallpaperLink));
}
items.get(index).wallpaperLink = wallpaperLink[0];
if (accent != null) {
currentColors = new HashMap<>(currentColorsNoAccent);
accent.fillAccentColors(currentColorsNoAccent, currentColors);
currentColorsNoAccent.clear();
} else {
currentColors = currentColorsNoAccent;
}
HashMap<String, String> fallbackKeys = Theme.getFallbackKeys();
for (Map.Entry<String, String> fallbackEntry : fallbackKeys.entrySet()) {
String colorKey = fallbackEntry.getKey();
if (!currentColors.containsKey(colorKey)) {
Integer color = currentColors.get(fallbackEntry.getValue());
currentColors.put(colorKey, color);
}
}
HashMap<String, Integer> defaultColors = Theme.getDefaultColors();
for (Map.Entry<String, Integer> entry : defaultColors.entrySet()) {
if (!currentColors.containsKey(entry.getKey())) {
currentColors.put(entry.getKey(), entry.getValue());
}
}
return currentColors;
}
public Theme.ThemeInfo getThemeInfo(int index) {
return items.get(index).themeInfo;
}
public void loadWallpaper(int index, ResultCallback<Pair<Long, Bitmap>> callback) {
final TLRPC.WallPaper wallPaper = getWallpaper(index);
if (wallPaper == null) {
if (callback != null) {
callback.onComplete(null);
}
return;
}
long themeId = getTlTheme(index).id;
ChatThemeController.getWallpaperBitmap(themeId, cachedBitmap -> {
if (cachedBitmap != null && callback != null) {
callback.onComplete(new Pair<>(themeId, cachedBitmap));
return;
}
ImageLocation imageLocation = ImageLocation.getForDocument(wallPaper.document);
ImageReceiver imageReceiver = new ImageReceiver();
String imageFilter;
if (SharedConfig.getDevicePerformanceClass() == SharedConfig.PERFORMANCE_CLASS_LOW) {
int w = Math.min(AndroidUtilities.displaySize.x, AndroidUtilities.displaySize.y);
int h = Math.max(AndroidUtilities.displaySize.x, AndroidUtilities.displaySize.y);
imageFilter = (int) (w / AndroidUtilities.density) + "_" + (int) (h / AndroidUtilities.density) + "_f";
} else {
imageFilter = (int) (1080 / AndroidUtilities.density) + "_" + (int) (1920 / AndroidUtilities.density) + "_f";
}
imageReceiver.setImage(imageLocation, imageFilter, null, ".jpg", wallPaper, 1);
imageReceiver.setDelegate((receiver, set, thumb, memCache) -> {
ImageReceiver.BitmapHolder holder = receiver.getBitmapSafe();
if (!set || holder == null) {
return;
}
Bitmap bitmap = holder.bitmap;
if (bitmap == null && (holder.drawable instanceof BitmapDrawable)) {
bitmap = ((BitmapDrawable) holder.drawable).getBitmap();
}
if (callback != null) {
callback.onComplete(new Pair<>(themeId, bitmap));
}
ChatThemeController.saveWallpaperBitmap(bitmap, themeId);
});
ImageLoader.getInstance().loadImageForImageReceiver(imageReceiver);
});
}
public void loadWallpaperThumb(int index, ResultCallback<Pair<Long, Bitmap>> callback) {
final TLRPC.WallPaper wallpaper = getWallpaper(index);
if (wallpaper == null) {
if (callback != null) {
callback.onComplete(null);
}
return;
}
long themeId = getTlTheme(index).id;
Bitmap bitmap = ChatThemeController.getWallpaperThumbBitmap(themeId);
File file = getWallpaperThumbFile(themeId);
if (bitmap == null && file.exists() && file.length() > 0) {
try {
bitmap = BitmapFactory.decodeFile(file.getAbsolutePath());
} catch (Exception e) {
FileLog.e(e);
}
}
if (bitmap != null) {
if (callback != null) {
callback.onComplete(new Pair<>(themeId, bitmap));
}
return;
}
if (wallpaper.document == null) {
if (callback != null) {
callback.onComplete(new Pair<>(themeId, null));
}
return;
}
final TLRPC.PhotoSize thumbSize = FileLoader.getClosestPhotoSizeWithSize(wallpaper.document.thumbs, 120);
ImageLocation imageLocation = ImageLocation.getForDocument(thumbSize, wallpaper.document);
ImageReceiver imageReceiver = new ImageReceiver();
imageReceiver.setImage(imageLocation, "120_80", null, null, null, 1);
imageReceiver.setDelegate((receiver, set, thumb, memCache) -> {
ImageReceiver.BitmapHolder holder = receiver.getBitmapSafe();
if (!set || holder == null) {
return;
}
Bitmap resultBitmap = holder.bitmap;
if (resultBitmap == null && (holder.drawable instanceof BitmapDrawable)) {
resultBitmap = ((BitmapDrawable) holder.drawable).getBitmap();
}
if (resultBitmap != null) {
if (callback != null) {
callback.onComplete(new Pair<>(themeId, resultBitmap));
}
final Bitmap saveBitmap = resultBitmap;
Utilities.globalQueue.postRunnable(() -> {
try (FileOutputStream outputStream = new FileOutputStream(file)) {
saveBitmap.compress(Bitmap.CompressFormat.PNG, 87, outputStream);
} catch (Exception e) {
FileLog.e(e);
}
});
} else {
if (callback != null) {
callback.onComplete(null);
}
}
});
ImageLoader.getInstance().loadImageForImageReceiver(imageReceiver);
}
public void preloadWallpaper() {
loadWallpaperThumb(0, null);
loadWallpaperThumb(1, null);
loadWallpaper(0, null);
loadWallpaper(1, null);
}
private File getWallpaperThumbFile(long themeId) {
return new File(ApplicationLoader.getFilesDirFixed(), "wallpaper_thumb_" + themeId + ".png");
}
public static Theme.ThemeInfo getDefaultThemeInfo(boolean isDark) {
Theme.ThemeInfo themeInfo = isDark ? Theme.getCurrentNightTheme() : Theme.getCurrentTheme();
if (isDark != themeInfo.isDark()) {
SharedPreferences preferences = ApplicationLoader.applicationContext.getSharedPreferences("themeconfig", Activity.MODE_PRIVATE);
String lastThemeName = isDark
? preferences.getString("lastDarkTheme", "Dark Blue")
: preferences.getString("lastDayTheme", "Blue");
themeInfo = Theme.getTheme(lastThemeName);
if (themeInfo == null) {
themeInfo = Theme.getTheme(isDark ? "Dark Blue" : "Blue");
}
}
return new Theme.ThemeInfo(themeInfo);
}
public static void fillTlTheme(Theme.ThemeInfo themeInfo) {
if (themeInfo.info == null) {
themeInfo.info = new TLRPC.TL_theme();
}
}
public static HashMap<String, Integer> getPreviewColors(Theme.ThemeInfo themeInfo) {
HashMap<String, Integer> currentColorsNoAccent = new HashMap<>();
if (themeInfo.pathToFile != null) {
currentColorsNoAccent.putAll(Theme.getThemeFileValues(new File(themeInfo.pathToFile), null, null));
} else if (themeInfo.assetName != null) {
currentColorsNoAccent.putAll(Theme.getThemeFileValues(null, themeInfo.assetName, null));
}
HashMap<String, Integer> currentColors = new HashMap<>(currentColorsNoAccent);
Theme.ThemeAccent themeAccent = themeInfo.getAccent(false);
if (themeAccent != null) {
themeAccent.fillAccentColors(currentColorsNoAccent, currentColors);
}
return currentColors;
}
public int getAccentId(int themeIndex) {
return items.get(themeIndex).accentId;
}
public void loadPreviewColors(int currentAccount) {
for (int i = 0; i < items.size(); i++) {
if (items.get(i) == null) {
continue;
}
HashMap<String, Integer> colorsMap = getPreviewColors(currentAccount, i);
Integer color = colorsMap.get(Theme.key_chat_inBubble);
if (color == null) {
color = Theme.getDefaultColor(Theme.key_chat_inBubble);
}
items.get(i).inBubbleColor = color;
color = colorsMap.get(Theme.key_chat_outBubble);
if (color == null) {
color = Theme.getDefaultColor(Theme.key_chat_outBubble);
}
items.get(i).outBubbleColor = color;
color = colorsMap.get(Theme.key_featuredStickers_addButton);
if (color == null) {
color = Theme.getDefaultColor(Theme.key_featuredStickers_addButton);
}
items.get(i).outLineColor = color;
color = colorsMap.get(Theme.key_chat_wallpaper);
if (color == null) {
items.get(i).patternBgColor = 0;
} else {
items.get(i).patternBgColor = color;
}
color = colorsMap.get(Theme.key_chat_wallpaper_gradient_to1);
if (color == null) {
items.get(i).patternBgGradientColor1 = 0;
} else {
items.get(i).patternBgGradientColor1 = color;
}
color = colorsMap.get(Theme.key_chat_wallpaper_gradient_to2);
if (color == null) {
items.get(i).patternBgGradientColor2 = 0;
} else {
items.get(i).patternBgGradientColor2 = color;
}
color = colorsMap.get(Theme.key_chat_wallpaper_gradient_to3);
if (color == null) {
items.get(i).patternBgGradientColor3 = 0;
} else {
items.get(i).patternBgGradientColor3 = color;
}
color = colorsMap.get(Theme.key_chat_wallpaper_gradient_rotation);
if (color == null) {
items.get(i).patternBgRotation = 0;
} else {
items.get(i).patternBgRotation = color;
}
if (items.get(i).themeInfo != null && items.get(i).themeInfo.getKey().equals("Blue")) {
int accentId = items.get(i).accentId >= 0 ? items.get(i).accentId : items.get(i).themeInfo.currentAccentId;
if (accentId == 99) {
items.get(i).patternBgColor = 0xffdbddbb;
items.get(i).patternBgGradientColor1 = 0xff6ba587;
items.get(i).patternBgGradientColor2 = 0xffd5d88d;
items.get(i).patternBgGradientColor3 = 0xff88b884;
}
}
}
}
public ThemeItem getThemeItem(int index) {
return items.get(index);
}
public static void saveCustomTheme(Theme.ThemeInfo themeInfo, int accentId) {
if (themeInfo == null) {
return;
}
if (accentId >= 0 && themeInfo.themeAccentsMap != null) {
Theme.ThemeAccent accent = themeInfo.themeAccentsMap.get(accentId);
if (accent == null || accent.isDefault) {
return;
}
}
if (themeInfo.getKey().equals("Blue") && accentId == 99) {
return;
}
if (themeInfo.getKey().equals("Day") && accentId == 9) {
return;
}
if (themeInfo.getKey().equals("Night") && accentId == 0) {
return;
}
if (themeInfo.getKey().equals("Dark Blue") && accentId == 0) {
return;
}
boolean dark = themeInfo.isDark();
String key = dark ? "lastDarkCustomTheme" : "lastDayCustomTheme";
String accentKey = dark ? "lastDarkCustomThemeAccentId" : "lastDayCustomThemeAccentId";
ApplicationLoader.applicationContext.getSharedPreferences("themeconfig", Activity.MODE_PRIVATE).edit()
.putString(key, themeInfo.getKey())
.putInt(accentKey, accentId)
.apply();
}
public static class ThemeItem {
public Theme.ThemeInfo themeInfo;
TLRPC.TL_theme tlTheme;
int settingsIndex;
public int accentId = -1;
public HashMap<String, Integer> currentPreviewColors;
private String wallpaperLink;
public int inBubbleColor;
public int outBubbleColor;
public int outLineColor;
public int patternBgColor;
public int patternBgGradientColor1;
public int patternBgGradientColor2;
public int patternBgGradientColor3;
public int patternBgRotation;
}
}
| 24,959
|
Java
|
.java
|
TeleTux/TeleTux
| 29
| 2
| 18
|
2021-04-17T07:56:31Z
|
2022-11-07T19:38:09Z
|
f59f107816ad682b970af48c89fedde2d0fa10bc7d9053241ba7af9632867ff0
|
[
1337,
1105,
51,
27922,
51,
1726,
51,
21540,
64,
222,
222,
485,
2616,
51,
745,
51,
3697,
64,
222,
485,
2616,
51,
1304,
51,
32235,
64,
222,
485,
2616,
51,
7027,
51,
9384,
64,
222,
485,
2616,
51,
7027,
51,
9384,
2232,
64,
222,
485,
2616,
51,
7027,
51,
16926,
51,
9384,
14439,
64,
222,
485,
2616,
51,
1058,
51,
5460,
64,
222,
222,
485,
1105,
51,
27922,
51,
45345,
51,
9213,
13392,
64,
222,
485,
1105,
51,
27922,
51,
45345,
51,
2743,
4903,
64,
222,
485,
1105,
51,
27922,
51,
45345,
51,
7580,
6537,
1934,
64,
222,
485,
1105,
51,
27922,
51,
45345,
51,
991,
4903,
64,
222,
485,
1105,
51,
27922,
51,
45345,
51,
991,
1353,
64,
222,
485,
1105,
51,
27922,
51,
45345,
51,
1675,
4903,
64,
222,
485,
1105,
51,
27922,
51,
45345,
51,
1675,
2941,
64,
222,
485,
1105,
51,
27922,
51,
45345,
51,
1675,
12715,
64,
222,
485,
1105,
51,
27922,
51,
45345,
51,
7444,
1081,
64,
222,
485,
1105,
51,
27922,
51,
45345,
51,
13392,
64,
222,
485,
1105,
51,
27922,
51,
14641,
1317,
51,
1413,
3309,
64,
222,
485,
1105,
51,
27922,
51,
14641,
1317,
51,
6054,
9508,
64,
222,
222,
485,
1401,
51,
735,
51,
991,
64,
222,
485,
1401,
51,
735,
51,
991,
8783,
64,
222,
485,
1401,
51,
1058,
51,
7119,
64,
222,
485,
1401,
51,
1058,
51,
8263,
64,
222,
485,
1401,
51,
1058,
51,
1225,
64,
222,
222,
942,
462,
35556,
42056,
320,
465,
581,
1922,
2539,
1482,
2061,
9814,
64,
303,
581,
910,
22716,
64,
303,
648,
47870,
299,
244,
53,
64,
303,
5068,
65,
6537,
1114,
67,
3966,
299,
556,
5068,
6984,
465,
964,
924,
1175,
910,
1197,
13314,
1530,
5044,
299,
556,
910,
14161,
343,
14588,
51,
697,
100,
6184,
100,
285,
31688,
49,
343,
14588,
51,
697,
100,
6184,
100,
560,
31688,
49,
343,
14588,
51,
697,
100,
21359,
39626,
502,
100,
688,
1732,
49,
343,
14588,
51,
697,
100,
6184,
100,
8999,
12428,
49,
343,
14588,
51,
697,
100,
6184,
100,
8999,
12428,
100,
11286,
100,
471,
54,
49,
343,
14588,
51,
697,
100,
6184,
100,
8999,
12428,
100,
11286,
100,
471,
55,
49,
343,
14588,
51,
697,
100,
6184,
100,
8999,
12428,
100,
11286,
100,
471,
56,
49,
343,
14588,
51,
697,
100,
6184,
100,
8999,
12428,
100,
11286,
100,
11863,
303,
1487,
465,
964,
35556,
42056,
365,
320,
303,
339,
465,
581,
35556,
42056,
45,
6054,
9508,
51,
6054,
100,
4679,
11217,
6537,
976,
49,
1922,
458,
2061,
46,
320,
310,
477,
51,
2276,
1482,
2061,
9814,
299,
458,
2061,
64,
310,
477,
51,
13491,
299,
11217,
6537,
976,
51,
423,
385,
1584,
64,
310,
434,
1445,
316,
2061,
46,
320,
343,
14588,
1114,
6314,
6537,
299,
556,
14588,
1114,
492,
343,
6314,
6537,
51,
5406,
6537,
299,
11217,
6537,
976,
64,
343,
6314,
6537,
51,
3563,
1301,
299,
244,
53,
64,
343,
3966,
51,
688,
45,
2447,
6537,
312,
1083,
14588,
1114,
12067,
6537,
299,
556,
14588,
1114,
492,
343,
12067,
6537,
51,
5406,
6537,
299,
11217,
6537,
976,
64,
343,
12067,
6537,
51,
3563,
1301,
299,
244,
54,
64,
343,
3966,
51,
688,
45,
7548,
6537,
312,
310,
339,
303,
339,
465,
581,
924,
35556,
42056,
1506,
10621,
4737,
6537,
45,
6054,
9508,
51,
6054,
100,
4679,
23294,
100,
4679,
46,
320,
310,
35556,
42056,
11217,
6537,
299,
556,
35556,
42056,
492,
310,
11217,
6537,
51,
13491,
299,
23294,
100,
4679,
51,
423,
385,
1584,
64,
603,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
23294,
100,
4679,
51,
3563,
51,
911,
492,
613,
2002,
320,
343,
14588,
1114,
6099,
299,
556,
14588,
1114,
492,
343,
6099,
51,
5406,
6537,
299,
23294,
100,
4679,
64,
343,
6099,
51,
3563,
1301,
299,
613,
64,
343,
11217,
6537,
51,
3053,
51,
688,
45,
4679,
312,
310,
339,
310,
461,
11217,
6537,
64,
303,
339,
4054,
581,
924,
35556,
42056,
1506,
7580,
42056,
2061,
365,
320,
603,
35556,
42056,
6099,
1114,
299,
556,
35556,
42056,
492,
310,
6099,
1114,
51,
13491,
299,
332,
31450,
258,
884,
310,
6099,
1114,
51,
2276,
1482,
2061,
9814,
299,
878,
64,
603,
14588,
1114,
6314,
6537,
299,
556,
14588,
1114,
492,
310,
6314,
6537,
51,
4679,
1139,
299,
23916,
6537,
1139,
45,
1527,
312,
310,
6099,
1114,
51,
3053,
51,
688,
45,
2447,
6537,
312,
603,
14588,
1114,
12067,
6537,
299,
556,
14588,
1114,
492,
310,
12067,
6537,
51,
4679,
1139,
299,
23916,
6537,
1139,
45,
1886,
312,
310,
6099,
1114,
51,
3053,
51,
688,
45,
7548,
6537,
312,
603,
461,
6099,
1114,
64,
303,
339,
465,
581,
924,
35556,
42056,
1506,
10621,
3414,
365,
320,
310,
35556,
42056,
6099,
1114,
299,
556,
35556,
42056,
492,
310,
6099,
1114,
51,
13491,
299,
2724,
44094,
61,
56,
72,
97,
44094,
1867,
61,
884,
603,
42116,
23333,
299,
6700,
4903,
51,
3180,
1237,
51,
390,
32235,
459,
4679,
1180,
411,
13478,
51,
4986,
100,
16846,
312,
310,
910,
2419,
6303,
3414,
6537,
299,
23333,
51,
7080,
459,
2153,
6303,
3414,
6537,
411,
762,
312,
310,
648,
5830,
47208,
625,
299,
23333,
51,
15384,
459,
2153,
6303,
3414,
6537,
47208,
625,
411,
449,
54,
312,
310,
434,
327,
2153,
6303,
3414,
6537,
630,
762,
1293,
14588,
51,
390,
6537,
45,
2153,
6303,
3414,
6537,
46,
630,
762,
46,
320,
343,
2419,
6303,
3414,
6537,
299,
23333,
51,
7080,
459,
2153,
6303,
6537,
411,
332,
8991,
742,
343,
14588,
51,
6537,
1139,
6099,
1139,
299,
14588,
51,
390,
6537,
45,
2153,
6303,
3414,
6537,
312,
343,
434,
327,
4679,
1139,
630,
762,
46,
320,
419,
2419,
6303,
3414,
6537,
299,
332,
8991,
884,
419,
5830,
47208,
625,
299,
244,
62,
62,
64,
343,
339,
832,
320,
419,
5830,
47208,
625,
299,
6099,
1139,
51,
1719,
47208,
625,
64,
343,
339,
343,
23333,
51,
3189,
941,
38380,
459,
2153,
6303,
3414,
6537,
411,
2419,
6303,
3414,
6537,
566,
4740,
492,
310,
339,
832,
320,
343,
434,
327,
3386,
47208,
625,
630,
449,
54,
46,
320,
419,
5830,
47208,
625,
299,
14588,
51,
390,
6537,
45,
2153,
6303,
3414,
6537,
566,
2153,
47208,
625,
64,
343,
339,
310,
339,
603,
434,
327,
3386,
47208,
625,
630,
449,
54,
46,
320,
343,
2419,
6303,
3414,
6537,
299,
332,
8991,
884,
343,
5830,
47208,
625,
299,
244,
62,
62,
64,
310,
339,
603,
910,
2419,
15820,
3414,
6537,
299,
23333,
51,
7080,
459,
2153,
15820,
3414,
6537,
411,
762,
312,
310,
648,
12067,
47208,
625,
299,
23333,
51,
15384,
459,
2153,
15820,
3414,
6537,
47208,
625,
411,
449,
54,
312,
310,
434,
327,
2153,
15820,
3414,
6537,
630,
762,
1293,
14588,
51,
390,
6537,
45,
2153,
15820,
3414,
6537,
46,
630,
762,
46,
320,
343,
2419,
15820,
3414,
6537,
299,
23333,
51,
7080,
459,
2153,
15820,
6537,
411,
332,
15820,
13883,
742,
343,
14588,
51,
6537,
1139,
6099,
1139,
299,
14588,
51,
390,
6537,
45,
2153,
15820,
3414,
6537,
312,
343,
434,
327,
4679,
1139,
630,
762,
46,
320,
419,
2419,
15820,
3414,
6537,
299,
332,
15820,
13883,
884,
419,
12067,
47208,
625,
299,
244,
53,
64,
343,
339,
832,
320,
419,
12067,
47208,
625,
299,
6099,
1139,
51,
1719,
47208,
625,
64,
343,
339,
343,
23333,
51,
3189,
941,
38380,
459,
2153,
15820,
3414,
6537,
411,
2419,
15820,
3414,
6537,
566,
4740,
492,
310,
339,
832,
320,
343,
434,
327,
7548,
47208,
625,
630,
449,
54,
46,
320,
419,
12067,
47208,
625,
299,
14588,
51,
390,
6537,
45,
2153,
6303,
3414,
6537,
566,
2153,
47208,
625,
64,
343,
339,
310,
339,
603,
434,
327,
7548,
47208,
625,
630,
449,
54,
46,
320,
343,
2419,
15820,
3414,
6537,
299,
332,
15820,
13883,
884,
343,
12067,
47208,
625,
299,
244,
53,
64,
310,
339,
603,
14588,
1114,
6314,
6537,
299,
556,
14588,
1114,
492,
310,
6314,
6537,
51,
4679,
1139,
299,
14588,
51,
390,
6537,
45,
2153,
6303,
3414,
6537,
312,
310,
6314,
6537,
51,
33313,
625,
299,
5830,
47208,
625,
64,
310,
6099,
1114,
51,
3053,
51,
688,
45,
2447,
6537,
312,
310,
6099,
1114,
51,
3053,
51,
688,
45,
1710,
312,
603,
14588,
1114,
12067,
6537,
299,
556,
14588,
1114,
492,
310,
12067,
6537,
51,
4679,
1139,
299,
14588,
51,
390,
6537,
45,
2153,
15820,
3414,
6537,
312,
310,
12067,
6537,
51,
33313,
625,
299,
12067,
47208,
625,
64,
310,
6099,
1114,
51,
3053,
51,
688,
45,
7548,
6537,
312,
310,
6099,
1114,
51,
3053,
51,
688,
45,
1710,
312,
603,
461,
6099,
1114,
64,
303,
339,
465,
581,
924,
35556,
42056,
1506,
4637,
10621,
6537,
365,
320,
310,
35556,
42056,
6099,
1114,
299,
556,
35556,
42056,
492,
310,
6099,
1114,
51,
13491,
299,
2724,
44094,
61,
56,
72,
97,
122,
3720,
74,
53,
884,
603,
14588,
1114,
10097,
299,
556,
14588,
1114,
492,
310,
10097,
51,
4679,
1139,
299,
14588,
51,
390,
6537,
459,
8991,
742,
310,
10097,
51,
33313,
625,
299,
244,
62,
62,
64,
310,
6099,
1114,
51,
3053,
51,
688,
45,
5494,
312,
603,
14588,
1114,
5830,
299,
556,
14588,
1114,
492,
310,
5830,
51,
4679,
1139,
299,
14588,
51,
390,
6537,
459,
6303,
742,
310,
5830,
51,
33313,
625,
299,
244,
62,
64,
310,
6099,
1114,
51,
3053,
51,
688,
45,
3386,
312,
603,
14588,
1114,
19200,
299,
556,
14588,
1114,
492,
310,
19200,
51,
4679,
1139,
299,
14588,
51,
390,
6537,
459,
35081,
742,
310,
19200,
51,
33313,
625,
299,
244,
53,
64,
310,
6099,
1114,
51,
3053,
51,
688,
45,
14615,
312,
603,
14588,
1114,
19200,
8991,
299,
556,
14588,
1114,
492,
310,
19200,
8991,
51,
4679,
1139,
299,
14588,
51,
390,
6537,
459,
15820,
13883,
742,
310,
19200,
8991,
51,
33313,
625,
299,
244,
53,
64,
310,
6099,
1114,
51,
3053,
51,
688,
45,
14615,
8991,
312,
310,
461,
6099,
1114,
64,
303,
339,
465,
581,
924,
35556,
42056,
1506,
4637,
29236,
6537,
365,
320,
310,
35556,
42056,
6099,
1114,
299,
556,
35556,
42056,
492,
310,
6099,
1114,
51,
13491,
299,
2724,
44094,
61,
56,
72,
97,
122,
3720,
74,
53,
884,
603,
14588,
1114,
10097,
299,
556,
14588,
1114,
492,
310,
10097,
51,
4679,
1139,
299,
14588,
51,
390,
6537,
459,
8991,
742,
310,
10097,
51,
33313,
625,
299,
244,
62,
62,
64,
310,
6099,
1114,
51,
3053,
51,
688,
45,
5494,
312,
603,
14588,
1114,
19200,
8991,
299,
556,
14588,
1114,
492,
310,
19200,
8991,
51,
4679,
1139,
299,
14588,
51,
390,
6537,
459,
15820,
13883,
742,
310,
19200,
8991,
51,
33313,
625,
299,
244,
53,
64,
310,
6099,
1114,
51,
3053,
51,
688,
45,
14615,
8991,
312,
603,
461,
6099,
1114,
64,
303,
339,
465,
581,
782,
3238,
10678,
365,
320,
310,
640,
10621,
10678,
45,
53,
49,
244,
53,
312,
310,
640,
10621,
10678,
45,
53,
49,
244,
54,
312,
303,
339,
465,
581,
910,
640,
12306,
385,
1584,
365,
320,
310,
461,
22716,
64,
303,
339,
465,
581,
26299,
9508,
51,
6054,
100,
4679,
640,
42632,
6537,
45,
429,
1671,
46,
320,
310,
461,
3966,
51,
390,
45,
1076,
566,
5406,
6537,
64,
303,
339,
465,
581,
26299,
9508,
51,
15002,
22267,
640,
15002,
12428,
45,
429,
1671,
46,
320,
310,
648,
4086,
1301,
299,
3966,
51,
390,
45,
1076,
566,
3563,
1301,
64,
310,
434,
327,
3563,
1301,
2394,
244,
53,
46,
320,
343,
26299,
9508,
51,
6054,
100,
4679,
23294,
6537,
299,
640,
42632,
6537,
45,
1076,
312,
343,
434,
327,
5406,
6537,
882,
762,
46,
320,
419,
461,
23294,
6537,
51,
3563,
51,
390,
45,
3563,
1301,
566,
8999,
12428,
64,
343,
339,
310,
339,
310,
461,
762,
64,
303,
339,
465,
581,
910,
640,
15002,
12428,
2375,
45,
429,
1671,
46,
320,
310,
461,
3966,
51,
390,
45,
1076,
566,
8999,
12428,
2375,
64,
303,
339,
465,
581,
648,
640,
2977,
1301,
45,
429,
1671,
46,
320,
310,
461,
3966,
51,
390,
45,
1076,
566,
3563,
1301,
64,
303,
339,
465,
581,
8329,
65,
671,
49,
4418,
67,
640,
10621,
10678,
45,
429,
1565,
3354,
49,
648,
1671,
46,
320,
310,
8329,
65,
671,
49,
4418,
67,
1565,
10678,
299,
3966,
51,
390,
45,
1076,
566,
1719,
10621,
10678,
64,
310,
434,
327,
1719,
10678,
882,
762,
46,
320,
343,
461,
1565,
10678,
64,
310,
339,
603,
14588,
51,
6537,
1139,
6099,
1139,
299,
640,
6537,
1139,
45,
1076,
312,
310,
14588,
51,
6537,
47208,
47753,
299,
762,
64,
310,
434,
327,
4679,
1139,
630,
762,
46,
320,
343,
648,
4086,
1301,
299,
640,
2977,
1301,
45,
1076,
312,
343,
26299,
9508,
51,
6054,
100,
4679,
23294,
6537,
299,
640,
42632,
6537,
45,
1076,
312,
343,
14588,
51,
6537,
1139,
1712,
6537,
299,
14588,
51,
390,
6537,
45,
6537,
51,
32143,
6537,
971,
45,
5406,
6537,
51,
3563,
51,
390,
45,
3563,
1301,
4254,
343,
6099,
1139,
299,
556,
14588,
51,
6537,
1139,
45,
1460,
6537,
312,
343,
47753,
299,
6099,
1139,
51,
42594,
47208,
45,
5406,
6537,
49,
1565,
3354,
49,
878,
49,
4086,
1301,
312,
343,
6099,
1139,
51,
28118,
47208,
625,
45,
33313,
51,
333,
312,
310,
339,
832,
320,
343,
434,
327,
4679,
1139,
51,
4679,
6087,
10753,
1225,
882,
762,
46,
320,
419,
47753,
299,
6099,
1139,
51,
4679,
6087,
10753,
1225,
51,
390,
45,
3053,
51,
390,
45,
1076,
566,
33313,
625,
312,
343,
339,
310,
339,
603,
8329,
65,
671,
49,
4418,
67,
1565,
10678,
2042,
47208,
299,
556,
8329,
6984,
310,
910,
1197,
18032,
12428,
2375,
299,
556,
910,
96,
54,
988,
310,
434,
327,
4679,
1139,
51,
1005,
22944,
882,
762,
46,
320,
343,
1565,
10678,
2042,
47208,
51,
543,
1947,
45,
6537,
51,
390,
6537,
991,
3367,
45,
909,
2050,
45,
4679,
1139,
51,
1005,
22944,
490,
762,
49,
18032,
12428,
2375,
894,
310,
339,
832,
434,
327,
4679,
1139,
51,
5485,
577,
882,
762,
46,
320,
343,
1565,
10678,
2042,
47208,
51,
543,
1947,
45,
6537,
51,
390,
6537,
991,
3367,
45,
1710,
49,
6099,
1139,
51,
5485,
577,
49,
18032,
12428,
2375,
894,
310,
339,
603,
3966,
51,
390,
45,
1076,
566,
8999,
12428,
2375,
299,
18032,
12428,
2375,
96,
53,
988,
603,
434,
327,
33313,
882,
762,
46,
320,
343,
1565,
10678,
299,
556,
8329,
11530,
1719,
10678,
2042,
47208,
312,
343,
47753,
51,
4182,
47208,
10678,
45,
1719,
10678,
2042,
47208,
49,
1565,
10678,
312,
343,
1565,
10678,
2042,
47208,
51,
3830,
492,
310,
339,
832,
320,
343,
1565,
10678,
299,
1565,
10678,
2042,
47208,
64,
310,
339,
603,
8329,
65,
671,
49,
910,
67,
17148,
5044,
299,
14588,
51,
390,
24442,
5044,
492,
310,
3966,
51,
390,
45,
1076,
566,
1719,
10621,
10678,
299,
556,
8329,
6984,
310,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
13314,
1530,
5044,
51,
1340,
64,
613,
2002,
320,
343,
910,
1221,
299,
13314,
1530,
5044,
96,
110,
988,
343,
3966,
51,
390,
45,
1076,
566,
1719,
10621,
10678,
51,
543,
45,
697,
49,
1565,
10678,
51,
390,
45,
697,
894,
1083,
434,
1445,
3053,
51,
390,
45,
1076,
566,
1719,
10621,
10678,
51,
15927,
45,
697,
509,
320,
419,
4418,
1989,
299,
1565,
10678,
51,
390,
45,
24022,
5044,
51,
390,
45,
697,
894,
419,
1565,
10678,
51,
543,
45,
697,
49,
1989,
312,
343,
339,
310,
339,
310,
1565,
10678,
51,
3830,
492,
603,
461,
3966,
51,
390,
45,
1076,
566,
1719,
10621,
10678,
64,
303,
339,
465,
581,
8329,
65,
671,
49,
4418,
67,
1506,
10678,
45,
429,
1565,
3354,
49,
648,
1671,
46,
320,
310,
8329,
65,
671,
49,
4418,
67,
1565,
10678,
64,
603,
14588,
51,
6537,
1139,
6099,
1139,
299,
640,
6537,
1139,
45,
1076,
312,
310,
14588,
51,
6537,
47208,
47753,
299,
762,
64,
310,
434,
327,
4679,
1139,
630,
762,
46,
320,
343,
648,
4086,
1301,
299,
640,
2977,
1301,
45,
1076,
312,
343,
26299,
9508,
51,
6054,
100,
4679,
23294,
6537,
299,
640,
42632,
6537,
45,
1076,
312,
343,
14588,
51,
6537,
1139,
1712,
6537,
299,
14588,
51,
390,
6537,
45,
6537,
51,
32143,
6537,
971,
45,
5406,
6537,
51,
3563,
51,
390,
45,
3563,
1301,
4254,
343,
6099,
1139,
299,
556,
14588,
51,
6537,
1139,
45,
1460,
6537,
312,
343,
47753,
299,
6099,
1139,
51,
42594,
47208,
45,
5406,
6537,
49,
1565,
3354,
49,
878,
49,
4086,
1301,
312,
343,
6099,
1139,
51,
28118,
47208,
625,
45,
33313,
51,
333,
312,
310,
339,
832,
320,
343,
434,
327,
4679,
1139,
51,
4679,
6087,
10753,
1225,
882,
762,
46,
320,
419,
47753,
299,
6099,
1139,
51,
4679,
6087,
10753,
1225,
51,
390,
45,
3053,
51,
390,
45,
1076,
566,
33313,
625,
312,
343,
339,
310,
339,
603,
8329,
65,
671,
49,
4418,
67,
1565,
10678,
2042,
47208,
299,
556,
8329,
6984,
310,
910,
1197,
18032,
12428,
2375,
299,
556,
910,
96,
54,
988,
310,
434,
327,
4679,
1139,
51,
1005,
22944,
882,
762,
46,
320,
343,
1565,
10678,
2042,
47208,
51,
543,
1947,
45,
6537,
51,
390,
6537,
991,
3367,
45,
909,
2050,
45,
4679,
1139,
51,
1005,
22944,
490,
762,
49,
18032,
12428,
2375,
894,
310,
339,
832,
434,
327,
4679,
1139,
51,
5485,
577,
882,
762,
46,
320,
343,
1565,
10678,
2042,
47208,
51,
543,
1947,
45,
6537,
51,
390,
6537,
991,
3367,
45,
1710,
49,
6099,
1139,
51,
5485,
577,
49,
18032,
12428,
2375,
894,
310,
339,
603,
3966,
51,
390,
45,
1076,
566,
8999,
12428,
2375,
299,
18032,
12428,
2375,
96,
53,
988,
603,
434,
327,
33313,
882,
762,
46,
320,
343,
1565,
10678,
299,
556,
8329,
11530,
1719,
10678,
2042,
47208,
312,
343,
47753,
51,
4182,
47208,
10678,
45,
1719,
10678,
2042,
47208,
49,
1565,
10678,
312,
343,
1565,
10678,
2042,
47208,
51,
3830,
492,
310,
339,
832,
320,
343,
1565,
10678,
299,
1565,
10678,
2042,
47208,
64,
310,
339,
603,
8329,
65,
671,
49,
910,
67,
17148,
5044,
299,
14588,
51,
390,
24442,
5044,
492,
310,
456,
327,
1225,
51,
2717,
65,
671,
49,
910,
67,
17148,
2717,
518,
17148,
5044,
51,
24338,
1177,
320,
343,
910,
1989,
971,
299,
17148,
2717,
51,
11728,
492,
343,
434,
1445,
1719,
10678,
51,
15927,
45,
1507,
971,
509,
320,
419,
4418,
1989,
299,
1565,
10678,
51,
390,
45,
24022,
2717,
51,
6693,
1052,
419,
1565,
10678,
51,
543,
45,
1507,
971,
49,
1989,
312,
343,
339,
310,
339,
310,
8329,
65,
671,
49,
4418,
67,
1263,
10678,
299,
14588,
51,
13729,
10678,
492,
310,
456,
327,
1225,
51,
2717,
65,
671,
49,
4418,
67,
3429,
518,
1263,
10678,
51,
24338,
1177,
320,
343,
434,
1445,
1719,
10678,
51,
15927,
45,
3054,
51,
11728,
5183,
320,
419,
1565,
10678,
51,
543,
45,
3054,
51,
11728,
1046,
3429,
51,
6693,
1052,
343,
339,
310,
339,
310,
461,
1565,
10678,
64,
303,
339,
465,
581,
14588,
51,
6537,
1139,
640,
6537,
1139,
45,
429,
1671,
46,
320,
310,
461,
3966,
51,
390,
45,
1076,
566,
4679,
1139,
64,
303,
339,
465,
581,
782,
2480,
15002,
12428,
45,
429,
1671,
49,
4717,
3309,
65,
5460,
65,
3967,
49,
16761,
2023,
3325,
46,
320,
310,
1175,
26299,
9508,
51,
15002,
22267,
18032,
22267,
299,
640,
15002,
12428,
45,
1076,
312,
310,
434,
327,
8999,
22267,
630,
762,
46,
320,
343,
434,
327,
4399,
882,
762,
46,
320,
419,
3325,
51,
47681,
45,
1710,
312,
343,
339,
343,
461,
64,
310,
339,
603,
1964,
6099,
625,
299,
640,
42632,
6537,
45,
1076,
566,
333,
64,
310,
16083,
6537,
1934,
51,
390,
15002,
12428,
9384,
45,
4679,
625,
49,
10812,
9384,
984,
320,
343,
434,
327,
10570,
9384,
882,
762,
979,
3325,
882,
762,
46,
320,
419,
3325,
51,
47681,
45,
909,
16594,
11530,
4679,
625,
49,
10812,
9384,
894,
419,
461,
64,
343,
339,
343,
4393,
2941,
1802,
2941,
299,
4393,
2941,
51,
390,
1580,
3112,
45,
8999,
22267,
51,
2826,
312,
343,
4393,
12715,
1802,
12715,
299,
556,
4393,
12715,
492,
343,
910,
1802,
2365,
64,
343,
434,
327,
7444,
1081,
51,
47747,
14669,
1359,
365,
630,
13160,
1081,
51,
3703,
43765,
100,
7428,
100,
5889,
46,
320,
419,
648,
360,
299,
4189,
51,
907,
45,
9213,
13392,
51,
2784,
1269,
51,
125,
49,
8107,
13392,
51,
2784,
1269,
51,
126,
312,
419,
648,
439,
299,
4189,
51,
1472,
45,
9213,
13392,
51,
2784,
1269,
51,
125,
49,
8107,
13392,
51,
2784,
1269,
51,
126,
312,
419,
1802,
2365,
299,
327,
429,
46,
327,
124,
536,
8107,
13392,
51,
18350,
46,
494,
25848,
494,
327,
429,
46,
327,
109,
536,
8107,
13392,
51,
18350,
46,
494,
7302,
107,
884,
343,
339,
832,
320,
419,
1802,
2365,
299,
327,
429,
46,
327,
54,
53,
61,
53,
536,
8107,
13392,
51,
18350,
46,
494,
25848,
494,
327,
429,
46,
327,
54,
62,
55,
53,
536,
8107,
13392,
51,
18350,
46,
494,
7302,
107,
884,
343,
339,
1083,
1802,
12715,
51,
25886,
45,
915,
2941,
49,
1802,
2365,
49,
762,
49,
4956,
3090,
411,
18032,
22267,
49,
244,
54,
312,
343,
1802,
12715,
51,
489,
8013,
1181,
16094,
49,
758,
49,
13762,
49,
2366,
2610,
46,
984,
320,
419,
4393,
12715,
51,
9384,
6773,
15655,
299,
13570,
51,
390,
9384,
11684,
492,
419,
434,
1445,
489,
1293,
15655,
630,
762,
46,
320,
547,
461,
64,
419,
339,
419,
16761,
15601,
299,
15655,
51,
16108,
64,
419,
434,
327,
16108,
630,
762,
979,
327,
3757,
51,
16926,
5118,
16761,
14439,
509,
320,
547,
15601,
299,
1849,
9384,
14439,
46,
15655,
51,
16926,
566,
390,
9384,
492,
419,
339,
419,
434,
327,
4399,
882,
762,
46,
320,
547,
3325,
51,
47681,
45,
909,
16594,
11530,
4679,
625,
49,
15601,
894,
419,
339,
419,
16083,
6537,
1934,
51,
2882,
15002,
12428,
9384,
45,
16108,
49,
6099,
625,
312,
343,
1141,
343,
4393,
4903,
51,
7432,
941,
963,
1675,
1580,
1675,
12715,
45,
915,
12715,
312,
310,
1141,
303,
339,
465,
581,
782,
2480,
15002,
12428,
13580,
45,
429,
1671,
49,
4717,
3309,
65,
5460,
65,
3967,
49,
16761,
2023,
3325,
46,
320,
310,
1175,
26299,
9508,
51,
15002,
22267,
18032,
12428,
299,
640,
15002,
12428,
45,
1076,
312,
310,
434,
327,
8999,
12428,
630,
762,
46,
320,
343,
434,
327,
4399,
882,
762,
46,
320,
419,
3325,
51,
47681,
45,
1710,
312,
343,
339,
343,
461,
64,
310,
339,
603,
1964,
6099,
625,
299,
640,
42632,
6537,
45,
1076,
566,
333,
64,
310,
16761,
15601,
299,
16083,
6537,
1934,
51,
390,
15002,
12428,
13580,
9384,
45,
4679,
625,
312,
310,
2050,
822,
299,
640,
15002,
12428,
13580,
991,
45,
4679,
625,
312,
310,
434,
327,
16108,
630,
762,
979,
822,
51,
4678,
365,
979,
822,
51,
1340,
365,
868,
244,
53,
46,
320,
343,
1614,
320,
419,
15601,
299,
16761,
2232,
51,
5480,
991,
45,
781,
51,
24697,
1052,
343,
339,
2385,
327,
1002,
503,
46,
320,
419,
2050,
1353,
51,
106,
45,
106,
312,
343,
339,
310,
339,
310,
434,
327,
16108,
882,
762,
46,
320,
343,
434,
327,
4399,
882,
762,
46,
320,
419,
3325,
51,
47681,
45,
909,
16594,
11530,
4679,
625,
49,
15601,
894,
343,
339,
343,
461,
64,
310,
339,
603,
434,
327,
8999,
12428,
51,
2826,
630,
762,
46,
320,
343,
434,
327,
4399,
882,
762,
46,
320,
419,
3325,
51,
47681,
45,
909,
16594,
11530,
4679,
625,
49,
762,
894,
343,
339,
343,
461,
64,
310,
339,
310,
1175,
26299,
9508,
51,
12101,
1269,
13762,
1269,
299,
2050,
4903,
51,
390,
34905,
12101,
1269,
1569,
1269,
45,
8999,
12428,
51,
2826,
51,
41813,
49,
244,
54,
55,
53,
312,
310,
4393,
2941,
1802,
2941,
299,
4393,
2941,
51,
390,
1580,
3112,
45,
7386,
1269,
49,
18032,
12428,
51,
2826,
312,
310,
4393,
12715,
1802,
12715,
299,
556,
4393,
12715,
492,
310,
1802,
12715,
51,
25886,
45,
915,
2941,
49,
332,
54,
55,
53,
100,
61,
53,
411,
762,
49,
762,
49,
762,
49,
244,
54,
312,
310,
1802,
12715,
51,
489,
8013,
1181,
16094,
49,
758,
49,
13762,
49,
2366,
2610,
46,
984,
320,
343,
4393,
12715,
51,
9384,
6773,
15655,
299,
13570,
51,
390,
9384,
11684,
492,
343,
434,
1445,
489,
1293,
15655,
630,
762,
46,
320,
419,
461,
64,
343,
339,
343,
16761,
1074,
9384,
299,
15655,
51,
16108,
64,
343,
434,
327,
1285,
9384,
630,
762,
979,
327,
3757,
51,
16926,
5118,
16761,
14439,
509,
320,
419,
1074,
9384,
299,
1849,
9384,
14439,
46,
15655,
51,
16926,
566,
390,
9384,
492,
343,
339,
343,
434,
327,
1285,
9384,
882,
762,
46,
320,
419,
434,
327,
4399,
882,
762,
46,
320,
547,
3325,
51,
47681,
45,
909,
16594,
11530,
4679,
625,
49,
1074,
9384,
894,
419,
339,
419,
1175,
16761,
4166,
9384,
299,
1074,
9384,
64,
419,
29811,
51,
3277,
4098,
51,
1545,
17695,
4133,
984,
320,
547,
1614,
327,
991,
8783,
43109,
299,
556,
37000,
45,
781,
509,
320,
733,
4166,
9384,
51,
12456,
45,
9384,
51,
22489,
2222,
51,
17185,
49,
244,
61,
60,
49,
43109,
312,
547,
339,
2385,
327,
1002,
503,
46,
320,
733,
2050,
1353,
51,
106,
45,
106,
312,
547,
339,
419,
1141,
343,
339,
832,
320,
419,
434,
327,
4399,
882,
762,
46,
320,
547,
3325,
51,
47681,
45,
1710,
312,
419,
339,
343,
339,
310,
1141,
310,
4393,
4903,
51,
7432,
941,
963,
1675,
1580,
1675,
12715,
45,
915,
12715,
312,
303,
339,
465,
581,
782,
33921,
15002,
12428,
365,
320,
310,
2480,
15002,
12428,
13580,
45,
53,
49,
762,
312,
310,
2480,
15002,
12428,
13580,
45,
54,
49,
762,
312,
310,
2480,
15002,
12428,
45,
53,
49,
762,
312,
310,
2480,
15002,
12428,
45,
54,
49,
762,
312,
303,
339,
465,
964,
2050,
640,
15002,
12428,
13580,
991,
45,
3239,
6099,
625,
46,
320,
310,
461,
556,
2050,
45,
2743,
4903,
51,
390,
3852,
2995,
8223,
1046,
332,
8999,
12428,
100,
7386,
15727,
494,
6099,
625,
494,
4956,
1665,
742,
303,
339,
465,
581,
924,
14588,
51,
6537,
1139,
23916,
6537,
1139,
45,
4412,
458,
15820,
46,
320,
310,
14588,
51,
6537,
1139,
6099,
1139,
299,
458,
15820,
1037,
14588,
51,
12344,
35081,
6537,
365,
518,
14588,
51,
12344,
6537,
492,
310,
434,
327,
316,
15820,
882,
6099,
1139,
51,
316,
15820,
1177,
320,
343,
42116,
23333,
299,
6700,
4903,
51,
3180,
1237,
51,
390,
32235,
459,
4679,
1180,
411,
13478,
51,
4986,
100,
16846,
312,
343,
910,
2419,
6537,
577,
299,
458,
15820,
547,
1037,
23333,
51,
7080,
459,
2153,
15820,
6537,
411,
332,
15820,
13883,
678,
547,
518,
23333,
51,
7080,
459,
2153,
6303,
6537,
411,
332,
8991,
742,
343,
6099,
1139,
299,
14588,
51,
390,
6537,
45,
2153,
6537,
577,
312,
343,
434,
327,
4679,
1139,
630,
762,
46,
320,
419,
6099,
1139,
299,
14588,
51,
390,
6537,
45,
316,
15820,
1037,
332,
15820,
13883,
39,
518,
332,
8991,
742,
343,
339,
310,
339,
310,
461,
556,
14588,
51,
6537,
1139,
45,
4679,
1139,
312,
303,
339,
465,
581,
924,
782,
5342,
42632,
6537,
45,
6537,
51,
6537,
1139,
6099,
1139,
46,
320,
310,
434,
327,
4679,
1139,
51,
1357,
630,
762,
46,
320,
343,
6099,
1139,
51,
1357,
299,
556,
26299,
9508,
51,
6054,
100,
4679,
492,
310,
339,
303,
339,
465,
581,
924,
8329,
65,
671,
49,
4418,
67,
640,
10621,
10678,
45,
6537,
51,
6537,
1139,
6099,
1139,
46,
320,
310,
8329,
65,
671,
49,
4418,
67,
1565,
10678,
2042,
47208,
299,
556,
8329,
6984,
310,
434,
327,
4679,
1139,
51,
1005,
22944,
882,
762,
46,
320,
343,
1565,
10678,
2042,
47208,
51,
543,
1947,
45,
6537,
51,
390,
6537,
991,
3367,
45,
909,
2050,
45,
4679,
1139,
51,
1005,
22944,
490,
762,
49,
762,
894,
310,
339,
832,
434,
327,
4679,
1139,
51,
5485,
577,
882,
762,
46,
320,
343,
1565,
10678,
2042,
47208,
51,
543,
1947,
45,
6537,
51,
390,
6537,
991,
3367,
45,
1710,
49,
6099,
1139,
51,
5485,
577,
49,
762,
894,
310,
339,
310,
8329,
65,
671,
49,
4418,
67,
1565,
10678,
299,
556,
8329,
11530,
1719,
10678,
2042,
47208,
312,
310,
14588,
51,
6537,
47208,
6099,
47208,
299,
6099,
1139,
51,
390,
47208,
45,
1886,
312,
310,
434,
327,
4679,
47208,
882,
762,
46,
320,
343,
6099,
47208,
51,
4182,
47208,
10678,
45,
1719,
10678,
2042,
47208,
49,
1565,
10678,
312,
310,
339,
310,
461,
1565,
10678,
64,
303,
339,
465,
581,
648,
640,
47208,
625,
45,
429,
6099,
1301,
46,
320,
310,
461,
3966,
51,
390,
45,
4679,
1301,
566,
33313,
625,
64,
303,
339,
465,
581,
782,
2480,
10621,
10678,
45,
429,
1565,
3354,
46,
320,
310,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
3966,
51,
911,
492,
613,
2002,
320,
343,
434,
327,
3053,
51,
390,
45,
110,
46,
630,
762,
46,
320,
419,
4056,
64,
343,
339,
343,
8329,
65,
671,
49,
4418,
67,
9660,
1225,
299,
640,
10621,
10678,
45,
1719,
3354,
49,
613,
312,
343,
4418,
1989,
299,
9660,
1225,
51,
390,
45,
6537,
51,
697,
100,
6184,
100,
285,
31688,
312,
343,
434,
327,
1507,
630,
762,
46,
320,
419,
1989,
299,
14588,
51,
13729,
1530,
45,
6537,
51,
697,
100,
6184,
100,
285,
31688,
312,
343,
339,
343,
3966,
51,
390,
45,
110,
566,
285,
31688,
1530,
299,
1989,
64,
343,
1989,
299,
9660,
1225,
51,
390,
45,
6537,
51,
697,
100,
6184,
100,
560,
31688,
312,
343,
434,
327,
1507,
630,
762,
46,
320,
419,
1989,
299,
14588,
51,
13729,
1530,
45,
6537,
51,
697,
100,
6184,
100,
560,
31688,
312,
343,
339,
343,
3966,
51,
390,
45,
110,
566,
560,
31688,
1530,
299,
1989,
64,
343,
1989,
299,
9660,
1225,
51,
390,
45,
6537,
51,
697,
100,
21359,
39626,
502,
100,
688,
1732,
312,
343,
434,
327,
1507,
630,
762,
46,
320,
419,
1989,
299,
14588,
51,
13729,
1530,
45,
6537,
51,
697,
100,
21359,
39626,
502,
100,
688,
1732,
312,
343,
339,
343,
3966,
51,
390,
45,
110,
566,
560,
1829,
1530,
299,
1989,
64,
343,
1989,
299,
9660,
1225,
51,
390,
45,
6537,
51,
697,
100,
6184,
100,
8999,
12428,
312,
343,
434,
327,
1507,
630,
762,
46,
320,
419,
3966,
51,
390,
45,
110,
566,
5622,
14734,
1530,
299,
244,
53,
64,
343,
339,
832,
320,
419,
3966,
51,
390,
45,
110,
566,
5622,
14734,
1530,
299,
1989,
64,
343,
339,
343,
1989,
299,
9660,
1225,
51,
390,
45,
6537,
51,
697,
100,
6184,
100,
8999,
12428,
100,
11286,
100,
471,
54,
312,
343,
434,
327,
1507,
630,
762,
46,
320,
419,
3966,
51,
390,
45,
110,
566,
5622,
14734,
15378,
1530,
54,
299,
244,
53,
64,
343,
339,
832,
320,
419,
3966,
51,
390,
45,
110,
566,
5622,
14734,
15378,
1530,
54,
299,
1989,
64,
343,
339,
343,
1989,
299,
9660,
1225,
51,
390,
45,
6537,
51,
697,
100,
6184,
100,
8999,
12428,
100,
11286,
100,
471,
55,
312,
343,
434,
327,
1507,
630,
762,
46,
320,
419,
3966,
51,
390,
45,
110,
566,
5622,
14734,
15378,
1530,
55,
299,
244,
53,
64,
343,
339,
832,
320,
419,
3966,
51,
390,
45,
110,
566,
5622,
14734,
15378,
1530,
55,
299,
1989,
64,
343,
339,
343,
1989,
299,
9660,
1225,
51,
390,
45,
6537,
51,
697,
100,
6184,
100,
8999,
12428,
100,
11286,
100,
471,
56,
312,
343,
434,
327,
1507,
630,
762,
46,
320,
419,
3966,
51,
390,
45,
110,
566,
5622,
14734,
15378,
1530,
56,
299,
244,
53,
64,
343,
339,
832,
320,
419,
3966,
51,
390,
45,
110,
566,
5622,
14734,
15378,
1530,
56,
299,
1989,
64,
343,
339,
343,
1989,
299,
9660,
1225,
51,
390,
45,
6537,
51,
697,
100,
6184,
100,
8999,
12428,
100,
11286,
100,
11863,
312,
343,
434,
327,
1507,
630,
762,
46,
320,
419,
3966,
51,
390,
45,
110,
566,
5622,
14734,
10493,
299,
244,
53,
64,
343,
339,
832,
320,
419,
3966,
51,
390,
45,
110,
566,
5622,
14734,
10493,
299,
1989,
64,
343,
339,
343,
434,
327,
3053,
51,
390,
45,
110,
566,
4679,
1139,
882,
762,
979,
3966,
51,
390,
45,
110,
566,
4679,
1139,
51,
11728,
941,
3591,
459,
8991,
2152,
320,
419,
648,
47753,
625,
299,
3966,
51,
390,
45,
110,
566,
33313,
625,
2394,
244,
53,
1037,
3966,
51,
390,
45,
110,
566,
33313,
625,
518,
3966,
51,
390,
45,
110,
566,
4679,
1139,
51,
1719,
47208,
625,
64,
419,
434,
327,
33313,
625,
630,
244,
62,
62,
46,
320,
547,
3966,
51,
390,
45,
110,
566,
5622,
14734,
1530,
299,
244,
53,
3144,
1219,
601,
2901,
64,
547,
3966,
51,
390,
45,
110,
566,
5622,
14734,
15378,
1530,
54,
299,
244,
53,
3144,
59,
2679,
58,
61,
60,
64,
547,
3966,
51,
390,
45,
110,
566,
5622,
14734,
15378,
1530,
55,
299,
244,
53,
3144,
105,
58,
105,
61,
61,
105,
64,
547,
3966,
51,
390,
45,
110,
566,
5622,
14734,
15378,
1530,
56,
299,
244,
53,
3144,
61,
61,
103,
61,
61,
57,
64,
419,
339,
343,
339,
310,
339,
303,
339,
465,
581,
14588,
1114,
640,
6537,
1114,
45,
429,
1671,
46,
320,
310,
461,
3966,
51,
390,
45,
1076,
312,
303,
339,
465,
581,
924,
782,
4166,
3414,
6537,
45,
6537,
51,
6537,
1139,
6099,
1139,
49,
648,
47753,
625,
46,
320,
310,
434,
327,
4679,
1139,
630,
762,
46,
320,
343,
461,
64,
310,
339,
310,
434,
327,
33313,
625,
2394,
244,
53,
979,
6099,
1139,
51,
4679,
6087,
10753,
1225,
882,
762,
46,
320,
343,
14588,
51,
6537,
47208,
47753,
299,
6099,
1139,
51,
4679,
6087,
10753,
1225,
51,
390,
45,
33313,
625,
312,
343,
434,
327,
33313,
630,
762,
1293,
47753,
51,
316,
2061,
46,
320,
419,
461,
64,
343,
339,
310,
339,
310,
434,
327,
4679,
1139,
51,
11728,
941,
3591,
459,
8991,
678,
979,
47753,
625,
630,
244,
62,
62,
46,
320,
343,
461,
64,
310,
339,
310,
434,
327,
4679,
1139,
51,
11728,
941,
3591,
459,
6303,
678,
979,
47753,
625,
630,
244,
62,
46,
320,
343,
461,
64,
310,
339,
310,
434,
327,
4679,
1139,
51,
11728,
941,
3591,
459,
35081,
678,
979,
47753,
625,
630,
244,
53,
46,
320,
343,
461,
64,
310,
339,
310,
434,
327,
4679,
1139,
51,
11728,
941,
3591,
459,
15820,
13883,
678,
979,
47753,
625,
630,
244,
53,
46,
320,
343,
461,
64,
310,
339,
603,
1922,
12067,
299,
6099,
1139,
51,
316,
15820,
492,
310,
910,
1221,
299,
12067,
1037,
332,
2153,
15820,
3414,
6537,
39,
518,
332,
2153,
6303,
3414,
6537,
884,
310,
910,
47753,
971,
299,
12067,
1037,
332,
2153,
15820,
3414,
6537,
47208,
625,
39,
518,
332,
2153,
6303,
3414,
6537,
47208,
625,
884,
310,
6700,
4903,
51,
3180,
1237,
51,
390,
32235,
459,
4679,
1180,
411,
13478,
51,
4986,
100,
16846,
566,
3189,
365,
419,
657,
38380,
45,
697,
49,
6099,
1139,
51,
11728,
1177,
419,
657,
543,
1438,
45,
33313,
971,
49,
47753,
625,
46,
419,
657,
4740,
492,
303,
339,
465,
581,
924,
462,
14588,
1114,
320,
603,
581,
14588,
51,
6537,
1139,
6099,
1139,
64,
310,
26299,
9508,
51,
6054,
100,
4679,
23294,
6537,
64,
310,
648,
4086,
1301,
64,
310,
581,
648,
47753,
625,
299,
449,
54,
64,
310,
581,
8329,
65,
671,
49,
4418,
67,
1565,
10621,
10678,
64,
310,
964,
910,
18032,
12428,
2375,
64,
603,
581,
648,
347,
31688,
1530,
64,
310,
581,
648,
986,
31688,
1530,
64,
310,
581,
648,
986,
1829,
1530,
64,
310,
581,
648,
5275,
14734,
1530,
64,
310,
581,
648,
5275,
14734,
15378,
1530,
54,
64,
310,
581,
648,
5275,
14734,
15378,
1530,
55,
64,
310,
581,
648,
5275,
14734,
15378,
1530,
56,
64,
310,
581,
648,
5275,
14734,
10493,
64,
303,
339,
222,
130,
222
] |
[
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,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1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 5,872
| true
| 59.746764
| true
| true
|
MappedFileFactory.java
|
/FileExtraction/Java_unseen/whz11_log-collector/src/main/java/com/whz/logcollector/store/MappedFileFactory.java
|
package com.whz.logcollector.store;
import com.whz.logcollector.store.config.StorePathConfigHelper;
import lombok.extern.slf4j.Slf4j;
import java.io.File;
import java.io.IOException;
import java.text.NumberFormat;
import java.util.ServiceLoader;
import java.util.concurrent.*;
/**
* @author whz
* @date 2022/1/19 11:17
**/
@Slf4j
public class MappedFileFactory extends ServiceThread {
private static final int WATERLINE = 1;
private final ConcurrentLinkedQueue<MappedFile> mappedFileWarehouse = new ConcurrentLinkedQueue<>();
private final BlockingQueue<Boolean> notifyQueue = new ArrayBlockingQueue<>(WATERLINE);
private final DefaultLogStore logStore;
private long latestOffset = -1;
public MappedFileFactory(DefaultLogStore logStore) {
this.logStore = logStore;
for (int i = 0; i < WATERLINE; i++) {
this.notifyQueue.offer(Boolean.TRUE);
}
}
public MappedFile allocate() {
notifyQueue.offer(Boolean.TRUE);
log.info("notify MappedFileFactory to create");
if (mappedFileWarehouse.isEmpty()) {
log.warn("mappedFileWarehouse isEmpty, wait MappedFileFactory to create");
try {
Thread.sleep(1000);
} catch (InterruptedException e) {
e.printStackTrace();
}
}
if (mappedFileWarehouse.isEmpty()) {
log.error("mappedFileWarehouse still Empty");
return null;
}
return mappedFileWarehouse.poll();
}
@Override
public String getServiceName() {
return this.getClass().getSimpleName();
}
@Override
public void shutdown() {
super.shutdown(true);
for (MappedFile mappedFile : this.mappedFileWarehouse.toArray(new MappedFile[0])) {
if (mappedFile != null) {
log.info("delete pre allocated maped file, {}", mappedFile.getFileName());
mappedFile.destroy(1000);
}
}
}
@Override
public void run() {
log.info(this.getServiceName() + " service started");
int fileSize = logStore.getLogStoreConfig().getCommitLogSize();
while (!this.isStopped()) {
try {
//阻塞,等待通知唤醒,减少while死循环占用cpu
notifyQueue.take();
long createOffset = latestOffset == -1 ? 0 : latestOffset + fileSize;
String nextFilePath = StorePathConfigHelper.getStorePathCommitLog(logStore.getLogStoreConfig().getStorePathRootDir()) + File.separator + offset2FileName(createOffset);
MappedFile curMappedFile = create(nextFilePath, fileSize);
mappedFileWarehouse.offer(curMappedFile);
latestOffset = createOffset;
} catch (InterruptedException e) {
e.printStackTrace();
}
}
log.info(this.getServiceName() + " service end");
}
public String offset2FileName(final long offset) {
final NumberFormat nf = NumberFormat.getInstance();
nf.setMinimumIntegerDigits(20);
nf.setMaximumFractionDigits(0);
nf.setGroupingUsed(false);
return nf.format(offset);
}
private MappedFile create(String fileName, int size) {
MappedFile mappedFile = null;
try {
mappedFile = new MappedFile(fileName, logStore.getLogStoreConfig().getCommitLogSize(), logStore.getDirectByteBufferPool());
} catch (IOException e) {
e.printStackTrace();
}
return mappedFile;
}
public void setLatestOffset(long latestOffset) {
this.latestOffset = latestOffset;
}
public long getLatestOffset() {
return latestOffset;
}
}
| 3,778
|
Java
|
.java
|
whz11/log-collector
| 57
| 0
| 0
|
2022-01-31T07:36:16Z
|
2022-02-17T15:22:36Z
|
ab419288f5db120facd9dc7c9ef1b648f853c6f1fc94634bbecd7a6a344417e0
|
[
1337,
785,
51,
1373,
127,
51,
769,
21937,
51,
2173,
64,
222,
222,
485,
785,
51,
1373,
127,
51,
769,
21937,
51,
2173,
51,
1180,
51,
2796,
1233,
1081,
2775,
64,
222,
485,
13243,
51,
4334,
51,
12172,
57,
111,
51,
27717,
57,
111,
64,
222,
222,
485,
1401,
51,
735,
51,
991,
64,
222,
485,
1401,
51,
735,
51,
6860,
64,
222,
485,
1401,
51,
897,
51,
44838,
64,
222,
485,
1401,
51,
1058,
51,
1201,
4903,
64,
222,
485,
1401,
51,
1058,
51,
8349,
7737,
222,
222,
1350,
222,
338,
496,
2133,
659,
127,
222,
338,
496,
787,
244,
55,
53,
55,
55,
52,
54,
52,
54,
62,
244,
54,
54,
63,
54,
60,
222,
12570,
222,
69,
27717,
57,
111,
222,
942,
462,
507,
4978,
991,
2232,
2041,
4860,
3032,
320,
465,
964,
924,
1175,
648,
643,
18760,
4794,
299,
244,
54,
64,
303,
964,
1175,
22219,
15373,
4098,
65,
23854,
991,
67,
14742,
991,
35001,
299,
556,
22219,
15373,
4098,
6984,
303,
964,
1175,
6579,
318,
4098,
65,
4718,
67,
11745,
4098,
299,
556,
2647,
48953,
11530,
47744,
4794,
312,
303,
964,
1175,
4119,
1353,
2796,
1264,
2796,
64,
303,
964,
1964,
6623,
3468,
299,
449,
54,
64,
465,
581,
507,
4978,
991,
2232,
45,
2061,
1353,
2796,
1264,
2796,
46,
320,
310,
477,
51,
769,
2796,
299,
1264,
2796,
64,
310,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
643,
18760,
4794,
64,
613,
2002,
320,
343,
477,
51,
9357,
4098,
51,
16613,
45,
4718,
51,
6382,
312,
310,
339,
303,
339,
4054,
581,
507,
4978,
991,
15024,
365,
320,
310,
11745,
4098,
51,
16613,
45,
4718,
51,
6382,
312,
310,
1264,
51,
1357,
459,
9357,
507,
4978,
991,
2232,
391,
1506,
742,
310,
434,
327,
19922,
991,
35001,
51,
6401,
1177,
320,
343,
1264,
51,
8453,
459,
19922,
991,
35001,
29059,
49,
4483,
507,
4978,
991,
2232,
391,
1506,
742,
343,
1614,
320,
419,
7806,
51,
7860,
45,
54,
53,
53,
53,
312,
343,
339,
2385,
327,
28321,
503,
46,
320,
419,
503,
51,
9428,
492,
343,
339,
310,
339,
310,
434,
327,
19922,
991,
35001,
51,
6401,
1177,
320,
343,
1264,
51,
750,
459,
19922,
991,
35001,
4224,
14888,
742,
343,
461,
762,
64,
310,
339,
310,
461,
14742,
991,
35001,
51,
11991,
492,
303,
339,
465,
496,
1806,
303,
581,
910,
640,
26573,
365,
320,
310,
461,
477,
51,
9699,
941,
26999,
492,
303,
339,
465,
496,
1806,
303,
581,
782,
17859,
365,
320,
310,
2615,
51,
16075,
45,
1527,
312,
310,
456,
327,
23854,
991,
14742,
991,
518,
477,
51,
19922,
991,
35001,
51,
14315,
45,
909,
507,
4978,
991,
96,
53,
5310,
320,
343,
434,
327,
19922,
991,
882,
762,
46,
320,
419,
1264,
51,
1357,
459,
2577,
1426,
15659,
2010,
337,
822,
49,
12267,
14742,
991,
51,
390,
6793,
1052,
419,
14742,
991,
51,
6978,
45,
54,
53,
53,
53,
312,
343,
339,
310,
339,
303,
339,
465,
496,
1806,
303,
581,
782,
1441,
365,
320,
310,
1264,
51,
1357,
45,
597,
51,
25419,
577,
365,
494,
332,
2733,
7326,
742,
310,
648,
47035,
299,
1264,
2796,
51,
38182,
2796,
1081,
941,
390,
7937,
1353,
1269,
492,
310,
2236,
1445,
597,
51,
316,
27306,
1177,
320,
343,
1614,
320,
419,
453,
37078,
38674,
1140,
33238,
27861,
17177,
135,
201,
11656,
1140,
49145,
5544,
28389,
29739,
32375,
2114,
6302,
419,
11745,
4098,
51,
11845,
492,
419,
1964,
1506,
3468,
299,
6623,
3468,
630,
449,
54,
1037,
244,
53,
518,
6623,
3468,
494,
47035,
64,
419,
910,
2371,
9141,
299,
8821,
1233,
1081,
2775,
51,
390,
2796,
1233,
7937,
1353,
45,
769,
2796,
51,
38182,
2796,
1081,
941,
390,
2796,
1233,
4069,
2995,
1177,
494,
2050,
51,
12640,
494,
3413,
55,
6793,
45,
1315,
3468,
312,
419,
507,
4978,
991,
2756,
23854,
991,
299,
1506,
45,
1995,
9141,
49,
47035,
312,
419,
14742,
991,
35001,
51,
16613,
45,
1556,
23854,
991,
312,
419,
6623,
3468,
299,
1506,
3468,
64,
343,
339,
2385,
327,
28321,
503,
46,
320,
419,
503,
51,
9428,
492,
343,
339,
603,
339,
310,
1264,
51,
1357,
45,
597,
51,
25419,
577,
365,
494,
332,
2733,
962,
742,
303,
339,
465,
581,
910,
3413,
55,
6793,
45,
3242,
1964,
3413,
46,
320,
310,
1175,
5132,
2222,
38326,
299,
5132,
2222,
51,
7432,
492,
310,
38326,
51,
36521,
3078,
22306,
45,
55,
53,
312,
310,
38326,
51,
34654,
20727,
22306,
45,
53,
312,
310,
38326,
51,
489,
38420,
10571,
45,
1886,
312,
310,
461,
38326,
51,
1664,
45,
2897,
312,
303,
339,
465,
964,
507,
4978,
991,
1506,
45,
671,
11221,
49,
648,
1354,
46,
320,
310,
507,
4978,
991,
14742,
991,
299,
762,
64,
310,
1614,
320,
2125,
14742,
991,
299,
556,
507,
4978,
991,
45,
10452,
49,
1264,
2796,
51,
38182,
2796,
1081,
941,
390,
7937,
1353,
1269,
1046,
1264,
2796,
51,
390,
7003,
21042,
4227,
1052,
603,
339,
2385,
327,
6860,
503,
46,
320,
343,
503,
51,
9428,
492,
310,
339,
310,
461,
14742,
991,
64,
303,
339,
465,
581,
782,
758,
14782,
3468,
45,
3239,
6623,
3468,
46,
320,
310,
477,
51,
5341,
3468,
299,
6623,
3468,
64,
303,
339,
465,
581,
1964,
640,
14782,
3468,
365,
320,
310,
461,
6623,
3468,
64,
303,
339,
222,
130,
222
] |
[
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 875
| true
| 61.858974
| true
| true
|
NMS.java
|
/FileExtraction/Java_unseen/Outspending_BiomesAPI/NMS/Wrapper/src/main/java/me/outspending/biomesapi/nms/NMS.java
|
package me.outspending.biomesapi.nms;
import org.bukkit.*;
import org.bukkit.entity.Player;
import org.jetbrains.annotations.NotNull;
import java.util.List;
import java.util.function.Supplier;
public interface NMS {
/**
* Checks if a given chunk is within the view distance of a player.
*
* @param player The player for whom to check the view distance.
* @param chunk The chunk to check if it's within the player's view distance.
* @return true if the chunk is within the player's view distance, false otherwise.
*/
private boolean inChunkViewDistance(@NotNull Player player, @NotNull Chunk chunk) {
Location playerLocation = player.getLocation();
int viewDistance = Bukkit.getViewDistance();
int playerChunkX = playerLocation.getChunk().getX();
int playerChunkZ = playerLocation.getChunk().getZ();
int targetChunkX = chunk.getX();
int targetChunkZ = chunk.getZ();
int deltaX = Math.abs(playerChunkX - targetChunkX);
int deltaZ = Math.abs(playerChunkZ - targetChunkZ);
return deltaX <= viewDistance && deltaZ <= viewDistance;
}
/**
* Gets a list of players who are within the view distance of a given chunk.
*
* @param chunk The chunk for which to get the players within its view distance.
* @return A list of players who are within the view distance of the chunk.
*/
default List<Player> getPlayersInDistance(@NotNull Chunk chunk) {
World world = chunk.getWorld();
return world.getPlayers().stream()
.filter(player -> inChunkViewDistance(player, chunk))
.toList();
}
/**
* Updates a list of chunks.
*
* @param chunks The chunks to update.
*/
void updateChunks(@NotNull List<Chunk> chunks);
/**
* Locks or unlocks the biome registry.
*
* @param isLocked true to lock the biome registry, false to unlock it.
*/
void biomeRegistryLock(boolean isLocked);
/**
* Unlocks the registry with a given supplier.
*
* @param supplier The supplier to use to unlock the registry.
*/
void unlockRegistry(@NotNull Supplier<?> supplier);
/**
* Retrieves the biome registry from the Minecraft server.
*
* This method gets the server instance from the Bukkit API, accesses the registry of the server,
* and retrieves the biome registry. If the biome registry cannot be retrieved, it throws a RuntimeException.
*
* @return The biome registry from the Minecraft server.
* @throws RuntimeException if the biome registry cannot be retrieved.
*/
@NotNull Object getRegistry();
void updateBiome(@NotNull Location minLoc, @NotNull Location maxLoc, @NotNull NamespacedKey namespacedKey);
}
| 2,814
|
Java
|
.java
|
Outspending/BiomesAPI
| 12
| 1
| 1
|
2023-12-17T17:41:45Z
|
2024-02-20T03:21:33Z
|
dc97435b823561559f189961ebe908e603b08a424339a903acaf4e4ab1f2e153
|
[
1337,
616,
51,
560,
438,
4034,
51,
12787,
8037,
1256,
51,
46809,
64,
222,
222,
485,
1105,
51,
20402,
7737,
222,
485,
1105,
51,
20402,
51,
2244,
51,
3516,
64,
222,
485,
1105,
51,
15575,
51,
8839,
51,
4936,
64,
222,
222,
485,
1401,
51,
1058,
51,
739,
64,
222,
485,
1401,
51,
1058,
51,
1144,
51,
17612,
64,
222,
222,
942,
2586,
508,
2758,
320,
465,
1041,
294,
338,
17269,
434,
331,
2716,
7325,
458,
4824,
341,
2221,
7336,
451,
331,
4376,
51,
294,
338,
294,
338,
496,
772,
4376,
906,
4376,
456,
13320,
391,
1524,
341,
2221,
7336,
51,
294,
338,
496,
772,
7325,
906,
7325,
391,
1524,
434,
580,
1200,
4824,
341,
4376,
1200,
2221,
7336,
51,
294,
338,
496,
620,
878,
434,
341,
7325,
458,
4824,
341,
4376,
1200,
2221,
7336,
49,
920,
5897,
51,
294,
588,
303,
964,
1922,
347,
7134,
1089,
8470,
4810,
4936,
9306,
4376,
49,
496,
4936,
22946,
7325,
46,
320,
310,
10642,
4376,
2941,
299,
4376,
51,
26716,
492,
603,
648,
2221,
8470,
299,
2755,
17120,
51,
28987,
8470,
492,
310,
648,
4376,
7134,
93,
299,
4376,
2941,
51,
390,
7134,
941,
18807,
492,
310,
648,
4376,
7134,
95,
299,
4376,
2941,
51,
390,
7134,
941,
40500,
492,
603,
648,
1780,
7134,
93,
299,
7325,
51,
18807,
492,
310,
648,
1780,
7134,
95,
299,
7325,
51,
40500,
492,
603,
648,
7755,
93,
299,
4189,
51,
3615,
45,
3857,
7134,
93,
449,
1780,
7134,
93,
312,
310,
648,
7755,
95,
299,
4189,
51,
3615,
45,
3857,
7134,
95,
449,
1780,
7134,
95,
312,
603,
461,
7755,
93,
2527,
2221,
8470,
979,
7755,
95,
2527,
2221,
8470,
64,
303,
339,
465,
1041,
294,
338,
7132,
331,
1168,
451,
14580,
6574,
904,
4824,
341,
2221,
7336,
451,
331,
2716,
7325,
51,
294,
338,
294,
338,
496,
772,
7325,
906,
7325,
456,
1532,
391,
640,
341,
14580,
4824,
2840,
2221,
7336,
51,
294,
338,
496,
620,
418,
1168,
451,
14580,
6574,
904,
4824,
341,
2221,
7336,
451,
341,
7325,
51,
294,
588,
303,
1263,
1701,
65,
3516,
67,
640,
17670,
402,
8470,
4810,
4936,
22946,
7325,
46,
320,
310,
10914,
5810,
299,
7325,
51,
390,
6719,
492,
603,
461,
5810,
51,
390,
17670,
941,
2255,
365,
419,
657,
2049,
45,
3857,
984,
347,
7134,
1089,
8470,
45,
3857,
49,
7325,
509,
419,
657,
15341,
492,
303,
339,
465,
1041,
294,
338,
19275,
331,
1168,
451,
18637,
51,
294,
338,
294,
338,
496,
772,
18637,
906,
18637,
391,
1991,
51,
294,
588,
303,
782,
1991,
29056,
4810,
4936,
1701,
65,
7134,
67,
18637,
312,
465,
1041,
294,
338,
15094,
120,
575,
25492,
120,
341,
16360,
308,
10886,
51,
294,
338,
294,
338,
496,
772,
458,
19093,
878,
391,
5449,
341,
16360,
308,
10886,
49,
920,
391,
25492,
580,
51,
294,
588,
303,
782,
16360,
308,
5389,
4645,
45,
4412,
458,
19093,
312,
465,
1041,
294,
338,
1703,
26424,
341,
10886,
642,
331,
2716,
28209,
51,
294,
338,
294,
338,
496,
772,
28209,
906,
28209,
391,
813,
391,
25492,
341,
10886,
51,
294,
588,
303,
782,
25492,
5389,
4810,
4936,
34549,
11667,
28209,
312,
465,
1041,
294,
338,
31979,
341,
16360,
308,
10886,
664,
341,
35022,
2160,
51,
294,
338,
294,
338,
1369,
1431,
8572,
341,
2160,
1998,
664,
341,
2755,
17120,
2347,
49,
42389,
341,
10886,
451,
341,
2160,
49,
294,
338,
480,
41628,
341,
16360,
308,
10886,
51,
1691,
341,
16360,
308,
10886,
4897,
545,
19213,
49,
580,
2589,
331,
13383,
51,
294,
338,
294,
338,
496,
620,
906,
16360,
308,
10886,
664,
341,
35022,
2160,
51,
294,
338,
496,
5124,
13383,
434,
341,
16360,
308,
10886,
4897,
545,
19213,
51,
294,
588,
303,
496,
4936,
2210,
640,
5389,
492,
465,
782,
1991,
19615,
308,
4810,
4936,
10642,
1865,
1624,
49,
496,
4936,
10642,
1788,
1624,
49,
496,
4936,
3286,
19960,
971,
655,
19960,
971,
312,
222,
222,
130,
222
] |
[
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 645
| true
| 66.84435
| true
| true
|
SPOStructure.java
|
/FileExtraction/Java_unseen/uiuc-ischool-scanr_ConText/src/context/core/tokenizer/SPOStructure.java
|
/*
* Copyright (c) 2020 University of Illinois Board of Trustees, All rights reserved.
* Developed at the iSchool, by Dr. Jana Diesner, Chieh-Li Chin,
* Amirhossein Aleyasen, Shubhanshu Mishra, Kiumars Soltani, Liang Tao,
* Ming Jiang, Harathi Korrapati, Nikolaus Nova Parulian, and Lan Jiang..
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License as published by the Free Software
* Foundation; either version 2 of the License, or any later version.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License along with
* this program; if not, see <http://www.gnu.org/licenses>.
*
*/
package context.core.tokenizer;
import java.util.ArrayList;
import java.util.List;
/**
*
* @author Aale
*/
public class SPOStructure {
List<CustomToken> subjects;
List<CustomToken> objects;
CustomToken predicate;
/**
*
*/
public SPOStructure() {
subjects = new ArrayList<CustomToken>();
objects = new ArrayList<CustomToken>();
}
/**
*
* @param subjects
*/
public void setSubjects(List<CustomToken> subjects) {
this.subjects = subjects;
}
/**
*
* @return
*/
public List<CustomToken> getSubjects() {
return subjects;
}
/**
*
* @param objects
*/
public void setObjects(List<CustomToken> objects) {
this.objects = objects;
}
/**
*
* @return
*/
public List<CustomToken> getObjects() {
return objects;
}
/**
*
* @param predicate
*/
public void setPredicate(CustomToken predicate) {
this.predicate = predicate;
}
/**
*
* @return
*/
public CustomToken getPredicate() {
return predicate;
}
/**
*
* @param subject
*/
public void addSubject(CustomToken subject) {
if (subjects == null) {
subjects = new ArrayList<>();
}
subjects.add(subject);
}
/**
*
* @param object
*/
public void addObject(CustomToken object) {
if (objects == null) {
objects = new ArrayList<>();
}
objects.add(object);
}
@Override
public String toString() {
return "{" + "subjects=" + subjects + ", predicate=" + predicate + ", objects=" + objects + '}';
}
}
| 2,828
|
Java
|
.java
|
uiuc-ischool-scanr/ConText
| 10
| 4
| 0
|
2015-06-15T21:33:29Z
|
2020-09-24T16:17:32Z
|
d6a18e33836d80a7b6872ecd401f80d9621ffa5306e1f40c282498e0b4f68f6a
|
[
1127,
353,
222,
47,
2657,
327,
104,
46,
244,
55,
53,
55,
53,
11451,
451,
41595,
44044,
18652,
451,
32620,
12910,
49,
3381,
4760,
5225,
51,
283,
222,
47,
43572,
337,
840,
341,
613,
26443,
49,
829,
17454,
51,
990,
5505,
47979,
1403,
49,
1902,
1093,
109,
50,
3776,
1902,
285,
49,
244,
222,
47,
418,
18922,
36434,
296,
285,
418,
8345,
321,
291,
49,
2432,
375,
14628,
33532,
507,
1729,
1709,
49,
1242,
3892,
4207,
377,
15775,
12914,
49,
8110,
761,
413,
3370,
49,
244,
222,
47,
507,
318,
990,
45329,
49,
25083,
569,
110,
1242,
290,
1085,
11906,
49,
46229,
14042,
371,
508,
11120,
2736,
357,
2560,
49,
480,
517,
297,
990,
45329,
516,
665,
222,
338,
21355,
338,
1369,
3477,
458,
3760,
2951,
64,
863,
902,
14081,
580,
480,
52,
290,
5370,
580,
1549,
21355,
338,
341,
5974,
451,
341,
6994,
6153,
5062,
1196,
641,
9582,
829,
341,
7834,
3870,
21355,
338,
7120,
64,
3173,
1522,
244,
55,
451,
341,
1196,
49,
575,
1364,
6146,
1522,
51,
21355,
338,
29836,
338,
1369,
3477,
458,
2744,
347,
341,
9850,
708,
580,
1118,
545,
6386,
49,
1294,
4213,
21355,
338,
2979,
9345,
64,
2895,
4462,
341,
4506,
14319,
451,
7934,
575,
29836,
338,
8114,
4800,
418,
7848,
7763,
51,
2819,
341,
6994,
6153,
5062,
1196,
456,
21355,
338,
1851,
4261,
51,
21355,
338,
29836,
338,
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
6153,
5062,
1196,
7979,
642,
21355,
338,
477,
3477,
64,
434,
666,
49,
2337,
350,
544,
574,
1516,
51,
10627,
51,
1107,
52,
4205,
4513,
21355,
338,
353,
15781,
588,
222,
1337,
1637,
51,
1284,
51,
26693,
64,
222,
222,
485,
1401,
51,
1058,
51,
7119,
64,
222,
485,
1401,
51,
1058,
51,
739,
64,
222,
222,
1350,
222,
338,
222,
338,
496,
2133,
418,
1572,
222,
588,
222,
942,
462,
377,
1862,
8648,
320,
465,
1701,
65,
3414,
1781,
67,
34762,
64,
303,
1701,
65,
3414,
1781,
67,
4706,
64,
303,
6041,
1781,
14093,
64,
465,
1041,
294,
338,
294,
588,
303,
581,
377,
1862,
8648,
365,
320,
310,
34762,
299,
556,
5068,
65,
3414,
1781,
2938,
310,
4706,
299,
556,
5068,
65,
3414,
1781,
2938,
303,
339,
465,
1041,
294,
338,
294,
338,
496,
772,
34762,
294,
588,
303,
581,
782,
758,
8273,
120,
45,
739,
65,
3414,
1781,
67,
34762,
46,
320,
310,
477,
51,
28964,
299,
34762,
64,
303,
339,
465,
1041,
294,
338,
294,
338,
496,
620,
294,
588,
303,
581,
1701,
65,
3414,
1781,
67,
640,
8273,
120,
365,
320,
310,
461,
34762,
64,
303,
339,
465,
1041,
294,
338,
294,
338,
496,
772,
4706,
294,
588,
303,
581,
782,
758,
6699,
45,
739,
65,
3414,
1781,
67,
4706,
46,
320,
310,
477,
51,
5754,
299,
4706,
64,
303,
339,
465,
1041,
294,
338,
294,
338,
496,
620,
294,
588,
303,
581,
1701,
65,
3414,
1781,
67,
640,
6699,
365,
320,
310,
461,
4706,
64,
303,
339,
465,
1041,
294,
338,
294,
338,
496,
772,
14093,
294,
588,
303,
581,
782,
758,
12690,
45,
3414,
1781,
14093,
46,
320,
310,
477,
51,
15512,
299,
14093,
64,
303,
339,
465,
1041,
294,
338,
294,
338,
496,
620,
294,
588,
303,
581,
6041,
1781,
640,
12690,
365,
320,
310,
461,
14093,
64,
303,
339,
465,
1041,
294,
338,
294,
338,
496,
772,
5405,
294,
588,
303,
581,
782,
1035,
8273,
45,
3414,
1781,
5405,
46,
320,
310,
434,
327,
28964,
630,
762,
46,
320,
343,
34762,
299,
556,
5068,
6984,
310,
339,
310,
34762,
51,
688,
45,
6264,
312,
303,
339,
465,
1041,
294,
338,
294,
338,
496,
772,
1319,
294,
588,
303,
581,
782,
1035,
976,
45,
3414,
1781,
1319,
46,
320,
310,
434,
327,
5754,
630,
762,
46,
320,
343,
4706,
299,
556,
5068,
6984,
310,
339,
310,
4706,
51,
688,
45,
1491,
312,
303,
339,
465,
496,
1806,
303,
581,
910,
11349,
365,
320,
310,
461,
332,
2382,
494,
332,
28964,
366,
494,
34762,
494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
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 676
| true
| 58.66373
| true
| true
|
JShellHeapDumpTest.java
|
/FileExtraction/Java_unseen/openjdk_jdk20u/test/jdk/sun/tools/jhsdb/JShellHeapDumpTest.java
|
/*
* Copyright (c) 2019, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/**
* @test
* @bug 8225715
* @requires vm.hasSA
* @library /test/lib
* @compile JShellHeapDumpTest.java
* @run main/timeout=240 JShellHeapDumpTest
*/
import static jdk.test.lib.Asserts.assertTrue;
import java.io.IOException;
import java.io.File;
import java.util.List;
import java.util.Arrays;
import java.util.Map;
import jdk.test.lib.Utils;
import jdk.test.lib.hprof.parser.HprofReader;
import jdk.test.lib.JDKToolLauncher;
import jdk.test.lib.JDKToolFinder;
import jdk.test.lib.process.OutputAnalyzer;
import jdk.test.lib.process.ProcessTools;
import jdk.test.lib.SA.SATestUtils;
import jdk.jshell.JShell;
public class JShellHeapDumpTest {
static Process jShellProcess;
static boolean doSleep = true; // By default do a short sleep when app starts up
public static void launch(String expectedMessage, List<String> toolArgs)
throws IOException {
try {
launchJshell();
long jShellPID = jShellProcess.pid();
System.out.println("Starting " + toolArgs.get(0) + " against " + jShellPID);
JDKToolLauncher launcher = JDKToolLauncher.createUsingTestJDK("jhsdb");
launcher.addVMArgs(Utils.getFilteredTestJavaOpts("-Xcomp"));
for (String cmd : toolArgs) {
launcher.addToolArg(cmd);
}
launcher.addToolArg("--pid=" + Long.toString(jShellPID));
ProcessBuilder processBuilder = SATestUtils.createProcessBuilder(launcher);
long startTime = System.currentTimeMillis();
OutputAnalyzer output = ProcessTools.executeProcess(processBuilder);
System.out.println("jhsdb jmap stdout:");
System.out.println(output.getStdout());
System.out.println("jhsdb jmap stderr:");
System.out.println(output.getStderr());
long elapsedTime = System.currentTimeMillis() - startTime;
System.out.println("###### End of all output which took " + elapsedTime + "ms");
output.shouldHaveExitValue(0);
} catch (Exception ex) {
throw new RuntimeException("Test ERROR " + ex, ex);
} finally {
if (jShellProcess.isAlive()) {
System.out.println("Destroying jshell");
jShellProcess.destroy();
System.out.println("Jshell destroyed");
} else {
System.out.println("Jshell not alive");
}
}
}
public static void launch(String expectedMessage, String... toolArgs)
throws IOException {
launch(expectedMessage, Arrays.asList(toolArgs));
}
/* Returns false if the attempt should be retried. */
public static boolean printStackTraces(String file, boolean allowRetry) throws IOException {
try {
String output = HprofReader.getStack(file, 0);
// We only require JShellToolProvider to be in the output if we did the
// short sleep. If we did not, the java process may not have executed far
// enough along to even start the main thread.
if (doSleep && !output.contains("JShellToolProvider")) {
// This check will very rarely fail due to not be able to get the stack trace
// of the main thread do to it actively executing. See JDK-8269556. We retry once
// if that happens. This failure is so rare that this should be enough to make it
// extremely unlikely that we ever see this test fail again for this reason.
if (!allowRetry) {
throw new RuntimeException("'JShellToolProvider' missing from stdout/stderr");
} else {
System.out.println("'JShellToolProvider' missing. Allow one retry.");
return true; // Allow one retry
}
}
} catch (Exception ex) {
throw new RuntimeException("Test ERROR " + ex, ex);
}
return false;
}
/* Returns false if the attempt should be retried. */
public static boolean testHeapDump(boolean allowRetry) throws IOException {
File hprofFile = new File("jhsdb.jmap.heap." +
System.currentTimeMillis() + ".hprof");
if (hprofFile.exists()) {
hprofFile.delete();
}
launch("heap written to", "jmap",
"--binaryheap", "--dumpfile=" + hprofFile.getAbsolutePath());
assertTrue(hprofFile.exists() && hprofFile.isFile(),
"Could not create dump file " + hprofFile.getAbsolutePath());
boolean retry = printStackTraces(hprofFile.getAbsolutePath(), allowRetry);
System.out.println("hprof file size: " + hprofFile.length());
hprofFile.delete();
return retry;
}
public static void launchJshell() throws IOException {
System.out.println("Starting Jshell");
long startTime = System.currentTimeMillis();
try {
ProcessBuilder pb = new ProcessBuilder(JDKToolFinder.getTestJDKTool("jshell"));
jShellProcess = ProcessTools.startProcess("JShell", pb,
s -> { // warm-up predicate
return s.contains("Welcome to JShell");
});
} catch (Exception ex) {
throw new RuntimeException("Test ERROR " + ex, ex);
}
long elapsedTime = System.currentTimeMillis() - startTime;
System.out.println("Jshell Started in " + elapsedTime + "ms");
// Give jshell a chance to fully start up. This makes SA more stable for the jmap dump.
try {
if (doSleep) {
Thread.sleep(4000);
}
} catch (Exception e) {
}
}
public static void main(String[] args) throws Exception {
SATestUtils.skipIfCannotAttach(); // throws SkippedException if attach not expected to work.
if (args.length == 1) {
if (args[0].equals("nosleep")) {
doSleep = false;
} else {
throw new RuntimeException("Invalid arg: " + args[0]);
}
} else if (args.length != 0) {
throw new RuntimeException("Too many args: " + args.length);
}
boolean retry = testHeapDump(true);
// In case of rare failure to find 'JShellToolProvider' in the output, allow one retry.
if (retry) {
testHeapDump(false);
}
// The test throws RuntimeException on error.
// IOException is thrown if Jshell can't start because of some bad
// environment condition
System.out.println("Test PASSED");
}
}
| 7,854
|
Java
|
.java
|
openjdk/jdk20u
| 15
| 41
| 0
|
2023-01-10T17:11:14Z
|
2023-09-02T03:54:59Z
|
46977c1da6ad9b3a9ca3bfefd0b312b020f061b84f6e0760e0b4726a39210bce
|
[
1127,
222,
338,
2657,
327,
104,
46,
244,
55,
53,
54,
62,
49,
244,
55,
53,
55,
55,
49,
17980,
480,
52,
290,
2840,
25094,
51,
3381,
4760,
5225,
51,
222,
338,
4103,
2387,
23740,
1895,
35234,
8995,
2387,
11988,
1895,
8968,
10961,
30441,
51,
222,
338,
222,
338,
1369,
1361,
458,
3760,
2951,
64,
863,
902,
14081,
580,
480,
52,
290,
5370,
580,
222,
338,
1549,
341,
5974,
451,
341,
6994,
6153,
5062,
1196,
1522,
244,
55,
1773,
49,
641,
222,
338,
9582,
829,
341,
7834,
3870,
7120,
51,
222,
338,
222,
338,
1369,
1361,
458,
2744,
347,
341,
9850,
708,
580,
1118,
545,
6386,
49,
1294,
4213,
222,
338,
2979,
9345,
64,
2895,
4462,
341,
4506,
14319,
451,
7934,
575,
222,
338,
8114,
4800,
418,
7848,
7763,
51,
244,
2819,
341,
6994,
6153,
5062,
1196,
222,
338,
1522,
244,
55,
456,
1851,
4261,
327,
102,
1948,
458,
5976,
347,
341,
7621,
822,
708,
222,
338,
20854,
297,
4850,
477,
1361,
566,
222,
338,
222,
338,
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
6153,
5062,
1196,
1522,
222,
338,
244,
55,
7979,
642,
477,
1409,
64,
434,
666,
49,
2886,
391,
341,
7834,
3870,
7120,
49,
222,
338,
6367,
4345,
244,
58,
54,
34113,
1277,
49,
33316,
26912,
49,
25006,
49,
13083,
244,
53,
55,
54,
54,
53,
50,
54,
56,
53,
54,
15067,
51,
222,
338,
222,
338,
5304,
7272,
17980,
49,
244,
58,
53,
53,
17980,
27004,
3094,
49,
4777,
21100,
2432,
6868,
49,
10562,
244,
62,
57,
53,
59,
58,
15067,
222,
338,
575,
7739,
19955,
51,
11116,
51,
527,
434,
863,
1868,
5408,
2490,
575,
1178,
1364,
222,
338,
10034,
51,
222,
588,
222,
222,
1350,
222,
338,
496,
881,
222,
338,
496,
1468,
244,
61,
55,
55,
58,
60,
54,
58,
222,
338,
496,
13980,
8510,
51,
2057,
3569,
222,
338,
496,
5261,
536,
881,
52,
1379,
222,
338,
496,
7028,
990,
7171,
12678,
15433,
1024,
51,
1874,
222,
338,
496,
1967,
2594,
52,
5470,
66,
55,
57,
53,
990,
7171,
12678,
15433,
1024,
222,
588,
222,
222,
485,
924,
614,
4532,
51,
881,
51,
1379,
51,
3285,
120,
51,
6553,
64,
222,
222,
485,
1401,
51,
735,
51,
6860,
64,
222,
485,
1401,
51,
735,
51,
991,
64,
222,
485,
1401,
51,
1058,
51,
739,
64,
222,
485,
1401,
51,
1058,
51,
9981,
64,
222,
485,
1401,
51,
1058,
51,
1225,
64,
222,
222,
485,
614,
4532,
51,
881,
51,
1379,
51,
2769,
64,
222,
485,
614,
4532,
51,
881,
51,
1379,
51,
109,
15780,
51,
3936,
51,
77,
15780,
3314,
64,
222,
485,
614,
4532,
51,
881,
51,
1379,
51,
25766,
3670,
22614,
64,
222,
485,
614,
4532,
51,
881,
51,
1379,
51,
25766,
3670,
15868,
64,
222,
485,
614,
4532,
51,
881,
51,
1379,
51,
2441,
51,
2319,
17430,
64,
222,
485,
614,
4532,
51,
881,
51,
1379,
51,
2441,
51,
2877,
7926,
64,
222,
485,
614,
4532,
51,
881,
51,
1379,
51,
3569,
51,
29151,
464,
2769,
64,
222,
222,
485,
614,
4532,
51,
773,
3120,
51,
4638,
3120,
64,
222,
222,
942,
462,
990,
7171,
12678,
15433,
1024,
320,
465,
924,
6849,
614,
7171,
2877,
64,
303,
924,
1922,
764,
15145,
299,
878,
64,
453,
4529,
1263,
764,
331,
4514,
9375,
1429,
1142,
11214,
992,
465,
581,
924,
782,
11305,
45,
671,
2816,
1193,
49,
1701,
65,
671,
67,
4572,
3097,
46,
310,
2589,
6300,
320,
603,
1614,
320,
343,
11305,
79,
7890,
492,
343,
1964,
614,
7171,
17058,
299,
614,
7171,
2877,
51,
6336,
492,
1083,
1189,
51,
560,
51,
3962,
459,
15623,
332,
494,
4572,
3097,
51,
390,
45,
53,
46,
494,
332,
8209,
332,
494,
614,
7171,
17058,
312,
343,
33047,
3670,
22614,
42483,
299,
33047,
3670,
22614,
51,
1315,
9529,
1024,
25766,
459,
111,
3931,
1219,
742,
343,
42483,
51,
688,
91,
1418,
1270,
120,
45,
2769,
51,
390,
22763,
1024,
5445,
13107,
10364,
93,
998,
2992,
1083,
456,
327,
671,
4781,
518,
4572,
3097,
46,
320,
419,
42483,
51,
688,
3670,
1782,
45,
3530,
312,
343,
339,
1083,
42483,
51,
688,
3670,
1782,
13715,
6336,
366,
494,
6374,
51,
3127,
45,
111,
7171,
17058,
894,
1083,
6849,
1812,
2183,
1812,
299,
377,
741,
464,
2769,
51,
1315,
2877,
1812,
45,
23682,
312,
343,
1964,
17570,
299,
1189,
51,
17217,
492,
343,
5601,
17430,
1716,
299,
6849,
7926,
51,
4540,
2877,
45,
2441,
1812,
312,
343,
1189,
51,
560,
51,
3962,
459,
111,
3931,
1219,
614,
1130,
12544,
20120,
343,
1189,
51,
560,
51,
3962,
45,
2051,
51,
390,
29772,
1052,
343,
1189,
51,
560,
51,
3962,
459,
111,
3931,
1219,
614,
1130,
16148,
20120,
343,
1189,
51,
560,
51,
3962,
45,
2051,
51,
390,
30940,
1052,
343,
1964,
18303,
1061,
299,
1189,
51,
17217,
365,
449,
17570,
64,
343,
1189,
51,
560,
51,
3962,
459,
14308,
4733,
451,
1187,
1716,
1532,
15654,
332,
494,
18303,
1061,
494,
332,
893,
742,
343,
1716,
51,
3179,
9041,
8121,
899,
45,
53,
312,
310,
339,
2385,
327,
1002,
557,
46,
320,
343,
1440,
556,
13383,
459,
1024,
7902,
332,
494,
557,
49,
557,
312,
310,
339,
8312,
320,
343,
434,
327,
111,
7171,
2877,
51,
316,
18897,
1177,
320,
419,
1189,
51,
560,
51,
3962,
459,
9413,
318,
4071,
3120,
742,
419,
614,
7171,
2877,
51,
6978,
492,
419,
1189,
51,
560,
51,
3962,
459,
79,
7890,
25957,
742,
343,
339,
832,
320,
419,
1189,
51,
560,
51,
3962,
459,
79,
7890,
666,
29028,
742,
343,
339,
310,
339,
303,
339,
465,
581,
924,
782,
11305,
45,
671,
2816,
1193,
49,
910,
1198,
4572,
3097,
46,
310,
2589,
6300,
320,
603,
11305,
45,
3156,
1193,
49,
14479,
51,
14100,
45,
3749,
3097,
894,
303,
339,
465,
1276,
3777,
920,
434,
341,
11570,
1414,
545,
43613,
51,
588,
303,
581,
924,
1922,
1489,
3131,
875,
2576,
45,
671,
822,
49,
1922,
2625,
12333,
46,
2589,
6300,
320,
310,
1614,
320,
343,
910,
1716,
299,
696,
15780,
3314,
51,
390,
3131,
45,
781,
49,
244,
53,
312,
343,
453,
2726,
1773,
1224,
990,
7171,
3670,
2588,
391,
545,
347,
341,
1716,
434,
1019,
4163,
341,
343,
453,
4514,
9375,
51,
1691,
1019,
4163,
666,
49,
341,
1401,
2183,
1648,
666,
1178,
10784,
9050,
343,
453,
8473,
7979,
391,
4462,
1496,
341,
2594,
3682,
51,
343,
434,
327,
1428,
15145,
979,
673,
2051,
51,
4766,
459,
4638,
3120,
3670,
2588,
2152,
320,
419,
453,
1369,
1524,
1118,
5055,
28640,
651,
3562,
7278,
391,
666,
545,
5320,
391,
640,
341,
4154,
8266,
419,
453,
451,
341,
2594,
3682,
764,
391,
580,
42760,
16952,
51,
2819,
33047,
50,
61,
55,
59,
62,
58,
58,
59,
51,
2726,
11320,
5065,
419,
453,
434,
708,
11215,
51,
1369,
7837,
458,
1278,
28640,
708,
477,
1414,
545,
8473,
391,
1949,
580,
419,
453,
30903,
39936,
708,
1019,
14552,
2337,
477,
913,
3562,
4076,
456,
477,
5982,
51,
419,
434,
1445,
4582,
12333,
46,
320,
547,
1440,
556,
13383,
27431,
4638,
3120,
3670,
2588,
44,
5839,
664,
12544,
52,
8232,
742,
419,
339,
832,
320,
547,
1189,
51,
560,
51,
3962,
27431,
4638,
3120,
3670,
2588,
44,
5839,
51,
10809,
1611,
11320,
5377,
547,
461,
878,
64,
453,
10809,
1611,
11320,
419,
339,
343,
339,
310,
339,
2385,
327,
1002,
557,
46,
320,
343,
1440,
556,
13383,
459,
1024,
7902,
332,
494,
557,
49,
557,
312,
310,
339,
310,
461,
920,
64,
303,
339,
465,
1276,
3777,
920,
434,
341,
11570,
1414,
545,
43613,
51,
588,
303,
581,
924,
1922,
913,
12678,
15433,
45,
4412,
2625,
12333,
46,
2589,
6300,
320,
310,
2050,
439,
15780,
991,
299,
556,
2050,
459,
111,
3931,
1219,
51,
111,
1130,
51,
14338,
3128,
494,
6056,
1189,
51,
17217,
365,
494,
4956,
109,
15780,
742,
310,
434,
327,
109,
15780,
991,
51,
4678,
1177,
320,
343,
439,
15780,
991,
51,
2577,
492,
310,
339,
603,
11305,
459,
14338,
6658,
391,
411,
332,
111,
1130,
411,
3102,
7931,
7038,
14338,
411,
7931,
5955,
781,
366,
494,
439,
15780,
991,
51,
24697,
1052,
603,
9396,
45,
109,
15780,
991,
51,
4678,
365,
979,
439,
15780,
991,
51,
41746,
1046,
4528,
332,
9752,
666,
1506,
10137,
822,
332,
494,
439,
15780,
991,
51,
24697,
1052,
603,
1922,
11320,
299,
1489,
3131,
875,
2576,
45,
109,
15780,
991,
51,
24697,
1046,
2625,
12333,
312,
603,
1189,
51,
560,
51,
3962,
459,
109,
15780,
822,
1354,
63,
332,
494,
439,
15780,
991,
51,
1340,
1052,
310,
439,
15780,
991,
51,
2577,
492,
603,
461,
11320,
64,
303,
339,
465,
581,
924,
782,
11305,
79,
7890,
365,
2589,
6300,
320,
310,
1189,
51,
560,
51,
3962,
459,
15623,
990,
7890,
742,
310,
1964,
17570,
299,
1189,
51,
17217,
492,
310,
1614,
320,
343,
6849,
1812,
10292,
299,
556,
6849,
1812,
45,
25766,
3670,
15868,
51,
38824,
25766,
3670,
459,
773,
3120,
2992,
343,
614,
7171,
2877,
299,
6849,
7926,
51,
1384,
2877,
459,
4638,
3120,
411,
10292,
49,
20094,
328,
984,
320,
244,
453,
33027,
50,
436,
14093,
24896,
461,
328,
51,
4766,
459,
19003,
391,
990,
7171,
742,
20094,
1141,
310,
339,
2385,
327,
1002,
557,
46,
320,
343,
1440,
556,
13383,
459,
1024,
7902,
332,
494,
557,
49,
557,
312,
310,
339,
603,
1964,
18303,
1061,
299,
1189,
51,
17217,
365,
449,
17570,
64,
310,
1189,
51,
560,
51,
3962,
459,
79,
7890,
17890,
347,
332,
494,
18303,
1061,
494,
332,
893,
742,
603,
453,
31571,
4071,
3120,
331,
16551,
391,
12114,
1496,
992,
51,
1369,
7437,
19245,
1851,
15714,
456,
341,
614,
1130,
10137,
51,
310,
1614,
320,
343,
434,
327,
1428,
15145,
46,
320,
419,
7806,
51,
7860,
45,
57,
53,
53,
53,
312,
343,
339,
310,
339,
2385,
327,
1002,
503,
46,
320,
310,
339,
303,
339,
465,
581,
924,
782,
2594,
45,
671,
1197,
2194,
46,
2589,
3284,
320,
310,
377,
741,
464,
2769,
51,
5969,
2811,
11400,
14320,
492,
453,
2589,
6920,
9978,
1002,
434,
12390,
666,
2816,
391,
1409,
51,
310,
434,
327,
1150,
51,
1340,
630,
244,
54,
46,
320,
343,
434,
327,
1150,
96,
53,
1015,
3591,
459,
14718,
4450,
2152,
320,
419,
764,
15145,
299,
920,
64,
343,
339,
832,
320,
419,
1440,
556,
13383,
459,
3828,
1657,
63,
332,
494,
2194,
96,
53,
2004,
343,
339,
310,
339,
832,
434,
327,
1150,
51,
1340,
882,
244,
53,
46,
320,
343,
1440,
556,
13383,
459,
20564,
5110,
2194,
63,
332,
494,
2194,
51,
1340,
312,
310,
339,
603,
1922,
11320,
299,
913,
12678,
15433,
45,
1527,
312,
310,
453,
719,
1152,
451,
28640,
7837,
391,
2309,
349,
4638,
3120,
3670,
2588,
44,
347,
341,
1716,
49,
2625,
1611,
11320,
51,
310,
434,
327,
13542,
46,
320,
343,
913,
12678,
15433,
45,
1886,
312,
310,
339,
603,
453,
906,
913,
2589,
13383,
563,
1067,
51,
310,
453,
6300,
458,
12165,
434,
990,
7890,
902,
1348,
1496,
3318,
451,
1649,
6677,
310,
453,
4730,
3721,
310,
1189,
51,
560,
51,
3962,
459,
1024,
37174,
9730,
742,
303,
339,
222,
130,
222
] |
[
[
1,
1,
1,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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 1,825
| true
| 60.606061
| true
| true
|
BaseChartFragment.java
|
/FileExtraction/Java_unseen/shinnytech_shinny-futures-android/app/src/main/java/com/shinnytech/futures/controller/fragment/BaseChartFragment.java
|
package com.shinnytech.futures.controller.fragment;
import androidx.databinding.DataBindingUtil;
import androidx.databinding.ViewDataBinding;
import android.os.Bundle;
import androidx.core.content.ContextCompat;
import android.util.SparseArray;
import android.view.GestureDetector;
import android.view.LayoutInflater;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewGroup;
import com.github.mikephil.charting.charts.CombinedChart;
import com.github.mikephil.charting.components.Legend;
import com.github.mikephil.charting.components.LegendEntry;
import com.github.mikephil.charting.components.LimitLine;
import com.github.mikephil.charting.components.YAxis;
import com.github.mikephil.charting.data.Entry;
import com.github.mikephil.charting.highlight.Highlight;
import com.github.mikephil.charting.listener.OnChartValueSelectedListener;
import com.github.mikephil.charting.utils.Transformer;
import com.shinnytech.futures.R;
import com.shinnytech.futures.application.BaseApplication;
import com.shinnytech.futures.controller.activity.MainActivity;
import com.shinnytech.futures.controller.activity.MainActivityPresenter;
import com.shinnytech.futures.model.bean.accountinfobean.OrderEntity;
import com.shinnytech.futures.model.bean.accountinfobean.PositionEntity;
import com.shinnytech.futures.model.bean.accountinfobean.UserEntity;
import com.shinnytech.futures.model.bean.eventbusbean.SwitchInsEvent;
import com.shinnytech.futures.model.bean.eventbusbean.VisibilityEvent;
import com.shinnytech.futures.model.bean.futureinfobean.KlineEntity;
import com.shinnytech.futures.model.bean.futureinfobean.QuoteEntity;
import com.shinnytech.futures.model.bean.searchinfobean.SearchEntity;
import com.shinnytech.futures.model.engine.DataManager;
import com.shinnytech.futures.model.engine.LatestFileManager;
import com.shinnytech.futures.utils.MathUtils;
import com.shinnytech.futures.utils.SPUtils;
import com.shinnytech.futures.view.custommpchart.mycomponent.MyValueFormatter;
import org.greenrobot.eventbus.EventBus;
import org.greenrobot.eventbus.Subscribe;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import static com.shinnytech.futures.constants.SettingConstants.CONFIG_ORDER_LINE;
import static com.shinnytech.futures.constants.SettingConstants.CONFIG_POSITION_LINE;
import static com.shinnytech.futures.constants.MarketConstants.CURRENT_DAY_FRAGMENT;
import static com.shinnytech.futures.constants.CommonConstants.DALIAN;
import static com.shinnytech.futures.constants.CommonConstants.DALIANZUHE;
import static com.shinnytech.futures.constants.TradeConstants.DIRECTION_BUY;
import static com.shinnytech.futures.constants.CommonConstants.DOMINANT;
import static com.shinnytech.futures.constants.CommonConstants.NENGYUAN;
import static com.shinnytech.futures.constants.CommonConstants.OPTIONAL;
import static com.shinnytech.futures.constants.CommonConstants.SHANGHAI;
import static com.shinnytech.futures.constants.TradeConstants.STATUS_ALIVE;
import static com.shinnytech.futures.constants.TradeConstants.STATUS_FINISHED;
import static com.shinnytech.futures.constants.MarketConstants.VIEW_WIDTH;
import static com.shinnytech.futures.constants.CommonConstants.ZHENGZHOU;
import static com.shinnytech.futures.constants.CommonConstants.ZHENGZHOUZUHE;
import static com.shinnytech.futures.constants.CommonConstants.ZHONGJIN;
import static java.lang.Float.NaN;
/**
* date: 9/20/17
* author: chenli
* description:
* version:
* state:
*/
public class BaseChartFragment extends LazyLoadFragment {
protected static final int FLING_MAX_DISTANCE_X = 300;// X轴移动最大距离
protected static final int FLING_MIN_DISTANCE_Y = 200;// Y轴移动最小距离
protected static final int FLING_MIN_VELOCITY = 200;// 移动最大速度
/**
* date: 7/9/17
* description: 组合图
*/
protected CombinedChart mTopChartViewBase;
protected CombinedChart mMiddleChartViewBase;
protected CombinedChart mBottomChartViewBase;
/**
* date: 7/9/17
* description: 图表背景色
*/
protected int mColorHomeBg;
/**
* date: 7/9/17
* description: 轴线颜色
*/
protected int mColorAxis;
/**
* date: 7/9/17
* description: 文字颜色
*/
protected int mColorText;
/**
* date: 7/9/17
* description: 网格线颜色
*/
protected int mColorGrid;
/**
* date: 7/9/17
* description: 持仓线颜色
*/
protected int mColorBuy;
/**
* date: 7/9/17
* description: 挂单线颜色
*/
protected int mColorSell;
/**
* date: 2019/7/28
* description: k线看涨色
*/
protected int mIncreasingColor;
/**
* date: 2019/7/28
* description: k线看跌色
*/
protected int mDecreasingColor;
/**
* date: 2019/7/28
* description: 十字光标颜色
*/
protected int mHighlightColor;
/**
* date: 2019/7/28
* description: 持仓线颜色
*/
protected int mOIColor;
/**
* date: 2019/7/28
* description:
*/
/**
* date: 2019/7/28
* description: diff
*/
protected int mDiffColor;
/**
* date: 2019/7/28
* description: dea
*/
protected int mDeaColor;
/**
* date: 7/9/17
* description: 判断是否显示持仓线、挂单线、均线
*/
protected boolean mIsPosition;
protected boolean mIsPending;
protected boolean mIsAverage;
/**
* date: 7/9/17
* description: 持仓线
*/
protected Map<String, LimitLine> mPositionLimitLines;
/**
* date: 2018/11/20
* description: 持仓线合约手数
*/
protected Map<String, Integer> mPositionVolumes;
/**
* date: 7/9/17
* description: 挂单线
*/
protected Map<String, LimitLine> mOrderLimitLines;
/**
* date: 2018/11/20
* description: 挂单合约手数
*/
protected Map<String, Integer> mOrderVolumes;
/**
* date: 2019/5/22
* description: 目前合约所在的列表
*/
protected List<String> mInsList;
protected DataManager sDataManager;
protected String instrument_id;
protected String instrument_id_transaction;
protected Calendar mCalendar;
protected SparseArray<String> xVals;
protected String mFragmentType;
protected String mKlineType;
protected SimpleDateFormat mSimpleDateFormat;
protected int mLayoutId;
protected FutureInfoFragment mFutureInfoFragment;
private ViewDataBinding mViewDataBinding;
private View mView;
protected int mS;
protected int mL;
protected int mN;
protected Map<Integer, Float> mEMAs;
protected Map<Integer, Float> mEMAl;
protected Map<Integer, Float> mDEA;
protected String yValue;
protected boolean mIsLongPress;
protected GestureDetector mDetectorTop;
protected GestureDetector mDetectorMiddle;
protected GestureDetector mDetectorBottom;
protected View.OnTouchListener touchListenerTop;
protected View.OnTouchListener touchListenerMiddle;
protected View.OnTouchListener touchListenerBottom;
protected KlineEntity mKlineEntity;
protected int mViewWidth;
protected int mLeftIndex;
protected int mBaseIndex;
protected int mLastIndex;
private float startX;
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
mViewDataBinding = DataBindingUtil.inflate(inflater, mLayoutId, container, false);
mTopChartViewBase = mViewDataBinding.getRoot().findViewById(R.id.chart);
mMiddleChartViewBase = mViewDataBinding.getRoot().findViewById(R.id.middleChart);
mBottomChartViewBase = mViewDataBinding.getRoot().findViewById(R.id.bottomChart);
initData();
initChart();
mView = mViewDataBinding.getRoot();
return mView;
}
/**
* date: 2019/5/22
* author: chenli
* description: 初始化本合约所在列表
*/
private void initInsList() {
String title = DataManager.getInstance().EXCHANGE_ID;
Map<String, QuoteEntity> map = new HashMap<>();
switch (title) {
case OPTIONAL:
map = LatestFileManager.getOptionalInsList();
break;
case DOMINANT:
map = LatestFileManager.getMainInsList();
break;
case SHANGHAI:
map = LatestFileManager.getShangqiInsList();
break;
case NENGYUAN:
map = LatestFileManager.getNengyuanInsList();
break;
case DALIAN:
map = LatestFileManager.getDalianInsList();
break;
case ZHENGZHOU:
map = LatestFileManager.getZhengzhouInsList();
break;
case ZHONGJIN:
map = LatestFileManager.getZhongjinInsList();
break;
case DALIANZUHE:
map = LatestFileManager.getDalianzuheInsList();
break;
case ZHENGZHOUZUHE:
map = LatestFileManager.getZhengzhouzuheInsList();
break;
default:
break;
}
mInsList = new ArrayList<>(map.keySet());
if (OPTIONAL.equals(title)) {
DataManager dataManager = DataManager.getInstance();
UserEntity userEntity = dataManager.getTradeBean().getUsers().get(dataManager.USER_ID);
if (userEntity != null) {
for (PositionEntity positionEntity : userEntity.getPositions().values()) {
try {
int volume_long = Integer.parseInt(positionEntity.getVolume_long());
int volume_short = Integer.parseInt(positionEntity.getVolume_short());
String ins = positionEntity.getExchange_id() + "." + positionEntity.getInstrument_id();
if ((volume_long != 0 || volume_short != 0) && !mInsList.contains(ins))
mInsList.add(ins);
} catch (Exception e) {
e.printStackTrace();
}
}
}
}
}
protected void initData() {
EventBus.getDefault().register(this);
MainActivity mainActivity = (MainActivity) getActivity();
MainActivityPresenter mainActivityPresenter = mainActivity.getmMainActivityPresenter();
mFutureInfoFragment = (FutureInfoFragment) mainActivityPresenter.getmViewPagerFragmentAdapter().getItem(2);
mOIColor = ContextCompat.getColor(getActivity(), R.color.text_white);
mDiffColor = ContextCompat.getColor(getActivity(), R.color.text_white);
mDeaColor = ContextCompat.getColor(getActivity(), R.color.kline_ma2);
mHighlightColor = ContextCompat.getColor(getActivity(), R.color.text_white);
mIncreasingColor = ContextCompat.getColor(getActivity(), R.color.kline_red);
mDecreasingColor = ContextCompat.getColor(getActivity(), R.color.kline_green);
mColorHomeBg = ContextCompat.getColor(getActivity(), R.color.kline_background);
mColorAxis = ContextCompat.getColor(getActivity(), R.color.kline_axis);
mColorGrid = ContextCompat.getColor(getActivity(), R.color.kline_grid);
mColorText = ContextCompat.getColor(getActivity(), R.color.kline_text);
mColorBuy = ContextCompat.getColor(getActivity(), R.color.kline_position);
mColorSell = ContextCompat.getColor(getActivity(), R.color.kline_order);
mPositionLimitLines = new HashMap<>();
mPositionVolumes = new HashMap<>();
mOrderLimitLines = new HashMap<>();
mOrderVolumes = new HashMap<>();
mCalendar = Calendar.getInstance();
sDataManager = DataManager.getInstance();
xVals = new SparseArray<>();
yValue = "";
mIsLongPress = false;
mViewWidth = VIEW_WIDTH;
startX = 0.0f;
mS = 12;
mL = 26;
mN = 9;
mEMAs = new HashMap<>();
mEMAl = new HashMap<>();
mDEA = new HashMap<>();
mIsPosition = (boolean) SPUtils.get(BaseApplication.getContext(), CONFIG_POSITION_LINE, true);
mIsPending = (boolean) SPUtils.get(BaseApplication.getContext(), CONFIG_ORDER_LINE, true);
}
protected void initChart() {
mTopChartViewBase.getDescription().setEnabled(false);
mTopChartViewBase.setDrawGridBackground(true);
mTopChartViewBase.setBackgroundColor(mColorHomeBg);
mTopChartViewBase.setGridBackgroundColor(mColorHomeBg);
mTopChartViewBase.setDrawValueAboveBar(false);
mTopChartViewBase.setBorderWidth(1f);
mTopChartViewBase.setDrawBorders(true);
mTopChartViewBase.setNoDataText("数据申请中");
mTopChartViewBase.setAutoScaleMinMaxEnabled(true);
mTopChartViewBase.setDragEnabled(true);
mTopChartViewBase.setViewPortOffsets(0, 1, 0, 1);
mTopChartViewBase.setDoubleTapToZoomEnabled(false);
mTopChartViewBase.setHighlightPerTapEnabled(false);
mTopChartViewBase.setHighlightPerDragEnabled(false);
mMiddleChartViewBase.getDescription().setEnabled(false);
mMiddleChartViewBase.setDrawGridBackground(true);
mMiddleChartViewBase.setBackgroundColor(mColorHomeBg);
mMiddleChartViewBase.setGridBackgroundColor(mColorHomeBg);
mMiddleChartViewBase.setDrawValueAboveBar(false);
mMiddleChartViewBase.setNoDataText("数据申请中");
mMiddleChartViewBase.setAutoScaleMinMaxEnabled(true);
mMiddleChartViewBase.setDragEnabled(true);
mMiddleChartViewBase.setDrawBorders(false);
mMiddleChartViewBase.setViewPortOffsets(0, 0, 0, 1);
mMiddleChartViewBase.setDoubleTapToZoomEnabled(false);
mMiddleChartViewBase.setHighlightPerTapEnabled(false);
mMiddleChartViewBase.setHighlightPerDragEnabled(false);
mBottomChartViewBase.getDescription().setEnabled(false);
mBottomChartViewBase.setDrawGridBackground(true);
mBottomChartViewBase.setBackgroundColor(mColorHomeBg);
mBottomChartViewBase.setGridBackgroundColor(mColorHomeBg);
mBottomChartViewBase.setDrawValueAboveBar(false);
mBottomChartViewBase.setNoDataText("数据申请中");
mBottomChartViewBase.setAutoScaleMinMaxEnabled(true);
mBottomChartViewBase.setDragEnabled(true);
mBottomChartViewBase.setDrawBorders(false);
mBottomChartViewBase.setViewPortOffsets(0, 0, 0, 40);
mBottomChartViewBase.setDoubleTapToZoomEnabled(false);
mBottomChartViewBase.setHighlightPerTapEnabled(false);
mBottomChartViewBase.setHighlightPerDragEnabled(false);
mDetectorTop = new GestureDetector(this.getContext(), new GestureDetector.SimpleOnGestureListener() {
@Override
public void onLongPress(MotionEvent e) {
super.onLongPress(e);
resizeMarker();
mIsLongPress = true;
Highlight h = mTopChartViewBase.getHighlightByTouchPoint(e.getX(), e.getY());
if (h != null) {
h.setDraw(e.getX(), e.getY());
mTopChartViewBase.highlightValue(h, true);
mTopChartViewBase.disableScroll();
}
}
@Override
public boolean onSingleTapUp(MotionEvent e) {
mIsLongPress = false;
mTopChartViewBase.highlightValue(null, true);
mTopChartViewBase.enableScroll();
return super.onSingleTapUp(e);
}
@Override
public boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX, float velocityY) {
// TODO Auto-generated method stub
// e1:第1个ACTION_DOWN MotionEvent
// e2:最后一个ACTION_MOVE MotionEvent
// velocityX:X轴上的移动速度(像素/秒)
// velocityY:Y轴上的移动速度(像素/秒)
// Y轴的坐标位移大于FLING_MIN_DISTANCE,且移动速度大于FLING_MIN_VELOCITY个像素/秒
if (mIsLongPress)return false;
String ins = "";
if (Math.abs(e1.getX() - e2.getX()) > FLING_MAX_DISTANCE_X) return false;
//向上
if (e1.getY() - e2.getY() > FLING_MIN_DISTANCE_Y && Math.abs(velocityY) > FLING_MIN_VELOCITY) {
ins = getNextInstrumentId(true);
}
//向下
if (e2.getY() - e1.getY() > FLING_MIN_DISTANCE_Y && Math.abs(velocityY) > FLING_MIN_VELOCITY) {
ins = getNextInstrumentId(false);
}
if (!ins.isEmpty()) {
SwitchInsEvent switchInsEvent = new SwitchInsEvent();
switchInsEvent.setInstrument_id(ins);
EventBus.getDefault().post(switchInsEvent);
}
return false;
}
});
mDetectorMiddle = new GestureDetector(this.getContext(), new GestureDetector.SimpleOnGestureListener() {
@Override
public void onLongPress(MotionEvent e) {
super.onLongPress(e);
resizeMarker();
mIsLongPress = true;
Highlight h = mMiddleChartViewBase.getHighlightByTouchPoint(e.getX(), e.getY());
if (h != null) {
h.setDraw(e.getX(), e.getY());
mMiddleChartViewBase.highlightValue(h, true);
mMiddleChartViewBase.disableScroll();
}
}
@Override
public boolean onSingleTapUp(MotionEvent e) {
mIsLongPress = false;
mMiddleChartViewBase.highlightValue(null, true);
mMiddleChartViewBase.enableScroll();
return super.onSingleTapUp(e);
}
});
mDetectorBottom = new GestureDetector(this.getContext(), new GestureDetector.SimpleOnGestureListener() {
@Override
public void onLongPress(MotionEvent e) {
super.onLongPress(e);
resizeMarker();
mIsLongPress = true;
Highlight h = mBottomChartViewBase.getHighlightByTouchPoint(e.getX(), e.getY());
if (h != null) {
h.setDraw(e.getX(), e.getY());
mBottomChartViewBase.highlightValue(h, true);
mBottomChartViewBase.disableScroll();
}
}
@Override
public boolean onSingleTapUp(MotionEvent e) {
mIsLongPress = false;
mBottomChartViewBase.highlightValue(null, true);
mBottomChartViewBase.enableScroll();
return super.onSingleTapUp(e);
}
});
touchListenerTop = new View.OnTouchListener() {
@Override
public boolean onTouch(View v, MotionEvent event) {
mDetectorTop.onTouchEvent(event);
if (!CURRENT_DAY_FRAGMENT.equals(mKlineType)) {
switch (event.getAction()) {
case MotionEvent.ACTION_DOWN:
startX = event.getX();
break;
case MotionEvent.ACTION_UP:
if (!mIsLongPress && (event.getX() - startX) > mTopChartViewBase.getViewPortHandler().contentRight() / 7) {
float startIndex = mLeftIndex - mBaseIndex;
if (Math.abs(mTopChartViewBase.getLowestVisibleX() - startIndex) < 50) {
if (xVals.size() >= mViewWidth) {
mViewWidth = mViewWidth + 100;
BaseApplication.getmMDWebSocket().sendSetChartKline(instrument_id, mViewWidth, mKlineType);
}
}
}
break;
default:
break;
}
}
if (mIsLongPress && event.getAction() == MotionEvent.ACTION_MOVE) {
float topHeight = mTopChartViewBase.getViewPortHandler().contentHeight();
float y = event.getY();
if (y > topHeight) {
//滑到中部图
event.setLocation(event.getX(), y - topHeight);
touchListenerMiddle.onTouch(v, event);
} else {
//超过上部图顶部
if (y <= 0) y = y + topHeight;
Highlight h = mTopChartViewBase.getHighlightByTouchPoint(event.getX(), y);
if (h != null) {
h.setDraw(event.getX(), y);
mTopChartViewBase.highlightValue(h, true);
mTopChartViewBase.disableScroll();
}
}
return true;
}
return false;
}
};
mTopChartViewBase.setOnTouchListener(touchListenerTop);
touchListenerMiddle = new View.OnTouchListener() {
@Override
public boolean onTouch(View v, MotionEvent event) {
mDetectorMiddle.onTouchEvent(event);
if (!CURRENT_DAY_FRAGMENT.equals(mKlineType)) {
switch (event.getAction()) {
case MotionEvent.ACTION_DOWN:
startX = event.getX();
break;
case MotionEvent.ACTION_UP:
if (!mIsLongPress && (event.getX() - startX) > mMiddleChartViewBase.getViewPortHandler().contentRight() / 7) {
float startIndex = mLeftIndex - mBaseIndex;
if (Math.abs(mMiddleChartViewBase.getLowestVisibleX() - startIndex) < 50) {
if (xVals.size() >= mViewWidth) {
mViewWidth = mViewWidth + 100;
BaseApplication.getmMDWebSocket().sendSetChartKline(instrument_id, mViewWidth, mKlineType);
}
}
}
break;
default:
break;
}
}
if (mIsLongPress && event.getAction() == MotionEvent.ACTION_MOVE) {
float topHeight = mTopChartViewBase.getViewPortHandler().contentHeight();
float middleHeight = mMiddleChartViewBase.getViewPortHandler().contentHeight();
float y = event.getY();
if (y > middleHeight) {
//滑到下部图
event.setLocation(event.getX(), y - middleHeight);
touchListenerBottom.onTouch(v, event);
} else if (y <= 0) {
//超过中部图顶部
event.setLocation(event.getX(), y + topHeight);
touchListenerTop.onTouch(v, event);
} else {
Highlight h = mMiddleChartViewBase.getHighlightByTouchPoint(event.getX(), y);
if (h != null) {
h.setDraw(event.getX(), y);
mMiddleChartViewBase.highlightValue(h, true);
mMiddleChartViewBase.disableScroll();
}
}
return true;
}
return false;
}
};
mMiddleChartViewBase.setOnTouchListener(touchListenerMiddle);
touchListenerBottom = new View.OnTouchListener() {
@Override
public boolean onTouch(View v, MotionEvent event) {
mDetectorBottom.onTouchEvent(event);
if (!CURRENT_DAY_FRAGMENT.equals(mKlineType)) {
switch (event.getAction()) {
case MotionEvent.ACTION_DOWN:
startX = event.getX();
break;
case MotionEvent.ACTION_UP:
if (!mIsLongPress && (event.getX() - startX) > mBottomChartViewBase.getViewPortHandler().contentRight() / 7) {
float startIndex = mLeftIndex - mBaseIndex;
if (Math.abs(mBottomChartViewBase.getLowestVisibleX() - startIndex) < 50) {
if (xVals.size() >= mViewWidth) {
mViewWidth = mViewWidth + 100;
BaseApplication.getmMDWebSocket().sendSetChartKline(instrument_id, mViewWidth, mKlineType);
}
}
}
break;
default:
break;
}
}
if (mIsLongPress && event.getAction() == MotionEvent.ACTION_MOVE) {
float bottomHeight = mBottomChartViewBase.getViewPortHandler().contentHeight();
float middleHeight = mMiddleChartViewBase.getViewPortHandler().contentHeight();
float y = event.getY();
if (y <= 0) {
//超过下部图顶部
event.setLocation(event.getX(), y + middleHeight);
touchListenerMiddle.onTouch(v, event);
} else {
if (y > bottomHeight) y = y - bottomHeight;
Highlight h = mBottomChartViewBase.getHighlightByTouchPoint(event.getX(), y);
if (h != null) {
h.setDraw(event.getX(), y);
mBottomChartViewBase.highlightValue(h, true);
mBottomChartViewBase.disableScroll();
}
}
return true;
}
return false;
}
};
mBottomChartViewBase.setOnTouchListener(touchListenerBottom);
mTopChartViewBase.setOnChartValueSelectedListener(new OnChartValueSelectedListener() {
@Override
public void onValueSelected(Entry e, Highlight h) {
Transformer transformer = mTopChartViewBase.getTransformer(YAxis.AxisDependency.LEFT);
float yMaxValue = mTopChartViewBase.getYChartMax();
float yMinValue = mTopChartViewBase.getYChartMin();
float xValue = h.getX();
float yMin = (float) transformer.getPixelForValues(xValue, yMaxValue).y;
float yMax = (float) transformer.getPixelForValues(xValue, yMinValue).y;
float touchY = h.getDrawY();//手指接触点在srcChart上的Y坐标,即手势监听器中保存数据
float yData = (yMax - touchY) / (yMax - yMin) * (yMaxValue - yMinValue) + yMinValue;
yValue = LatestFileManager.saveScaleByPtick(yData + "", instrument_id);
float y = touchY - mTopChartViewBase.getHeight();
Highlight hl = mMiddleChartViewBase.getHighlightByTouchPoint(h.getXPx(), h.getYPx());
if (hl != null) hl.setDraw(h.getX(), y);
mMiddleChartViewBase.highlightValue(hl);
Highlight hlBottom = mBottomChartViewBase.getHighlightByTouchPoint(h.getXPx(), h.getYPx());
if (hlBottom != null) hlBottom.setDraw(h.getX(), y);
mBottomChartViewBase.highlightValue(hlBottom);
}
@Override
public void onNothingSelected() {
refreshChartLegend(mLastIndex - mBaseIndex);
mMiddleChartViewBase.highlightValue(null);
mBottomChartViewBase.highlightValue(null);
}
});
mMiddleChartViewBase.setOnChartValueSelectedListener(new OnChartValueSelectedListener() {
@Override
public void onValueSelected(Entry e, Highlight h) {
Transformer transformer = mMiddleChartViewBase.getTransformer(YAxis.AxisDependency.LEFT);
float yMaxValue = mMiddleChartViewBase.getYChartMax();
float xValue = h.getX();
float yMin = (float) transformer.getPixelForValues(xValue, yMaxValue).y;
float yMax = (float) transformer.getPixelForValues(xValue, 0).y;
float touchY = h.getDrawY();//手指接触点在srcChart上的Y坐标,即手势监听器中保存数据
int yData = (int) ((yMax - touchY) / (yMax - yMin) * yMaxValue);
yValue = yData + "";
float y = touchY + mTopChartViewBase.getHeight();
Highlight hl = mTopChartViewBase.getHighlightByTouchPoint(h.getXPx(), h.getYPx());
if (hl != null) hl.setDraw(h.getX(), y);
mTopChartViewBase.highlightValue(hl);
float yBottom = touchY - mMiddleChartViewBase.getHeight();
Highlight hlBottom = mBottomChartViewBase.getHighlightByTouchPoint(h.getXPx(), h.getYPx());
if (hlBottom != null) hlBottom.setDraw(h.getX(), yBottom);
mBottomChartViewBase.highlightValue(hlBottom);
}
@Override
public void onNothingSelected() {
refreshChartLegend(mLastIndex - mBaseIndex);
mTopChartViewBase.highlightValue(null);
mBottomChartViewBase.highlightValue(null);
}
});
mBottomChartViewBase.setOnChartValueSelectedListener(new OnChartValueSelectedListener() {
@Override
public void onValueSelected(Entry e, Highlight h) {
Transformer transformer = mBottomChartViewBase.getTransformer(YAxis.AxisDependency.LEFT);
float yMaxValue = mBottomChartViewBase.getYChartMax();
float yMinValue = mBottomChartViewBase.getYChartMin();
float xValue = h.getX();
float yMin = (float) transformer.getPixelForValues(xValue, yMaxValue).y;
float yMax = (float) transformer.getPixelForValues(xValue, yMinValue).y;
float touchY = h.getDrawY();//手指接触点在srcChart上的Y坐标,即手势监听器中保存数据
float yData = (yMax - touchY) / (yMax - yMin) * (yMaxValue - yMinValue) + yMinValue;
yValue = MathUtils.round(yData + "", 2);
float y = touchY + mTopChartViewBase.getHeight() + mMiddleChartViewBase.getHeight();
Highlight hl = mTopChartViewBase.getHighlightByTouchPoint(h.getXPx(), h.getYPx());
if (hl != null) hl.setDraw(h.getX(), y);
mTopChartViewBase.highlightValue(hl);
Highlight hlMiddle = mMiddleChartViewBase.getHighlightByTouchPoint(h.getXPx(), h.getYPx());
if (hlMiddle != null) hlMiddle.setDraw(h.getX(), y);
mMiddleChartViewBase.highlightValue(hlMiddle);
}
@Override
public void onNothingSelected() {
refreshChartLegend(mLastIndex - mBaseIndex);
mTopChartViewBase.highlightValue(null);
mMiddleChartViewBase.highlightValue(null);
}
});
}
/**
* date: 2019/7/30
* description: 调整十字光标尺寸
*/
private void resizeMarker() {
int topHeight = (int) (mTopChartViewBase.getViewPortHandler().contentHeight());
if (CURRENT_DAY_FRAGMENT.equals(mFragmentType))
((CurrentDayFragment.CurrentDayMarkerView) mTopChartViewBase.getMarker()).resize(topHeight);
else ((KlineFragment.KlineMarkerView) mTopChartViewBase.getMarker()).resize(topHeight);
}
/**
* date: 2019/7/3
* author: chenli
* description: 设置合约id
*/
public void setInstrument_id(String ins) {
instrument_id = ins;
SearchEntity searchEntity = LatestFileManager.getSearchEntities().get(instrument_id);
if (instrument_id.contains("KQ") && searchEntity != null)
instrument_id_transaction = searchEntity.getUnderlying_symbol();
else instrument_id_transaction = instrument_id;
}
@Override
public void show() {
if (mView == null) return;
//控制图表显示
if (sDataManager.IS_SHOW_VP_CONTENT) {
mMiddleChartViewBase.setVisibility(View.GONE);
mBottomChartViewBase.setVisibility(View.GONE);
} else {
mMiddleChartViewBase.setVisibility(View.VISIBLE);
mBottomChartViewBase.setVisibility(View.VISIBLE);
}
initInsList();
}
@Override
public void leave() {
}
@Override
public void refreshMD() {
if (mView == null) return;
drawKline();
}
@Override
public void refreshTD() {
if (mView == null) return;
UserEntity userEntity = sDataManager.getTradeBean().getUsers().get(sDataManager.USER_ID);
if (userEntity == null) return;
if (mIsPending) {
for (OrderEntity orderEntity :
userEntity.getOrders().values()) {
if (orderEntity != null &&
(orderEntity.getExchange_id() + "." + orderEntity.getInstrument_id())
.equals(instrument_id_transaction)) {
String key = orderEntity.getKey();
if (!mOrderLimitLines.containsKey(key)) {
if (STATUS_ALIVE.equals(orderEntity.getStatus())) {
addOneOrderLimitLine(orderEntity);
}
} else {
if (STATUS_FINISHED.equals(orderEntity.getStatus())) {
removeOneOrderLimitLine(key);
}
}
}
}
}
if (mIsPosition) {
String key = instrument_id_transaction;
if (!mPositionLimitLines.containsKey(key + "0")) {
//添加多头持仓线
addLongPositionLimitLine();
} else {
//刷新多头持仓线
refreshLongPositionLimitLine();
}
if (!mPositionLimitLines.containsKey(key + "1")) {
//添加空持仓线
addShortPositionLimitLine();
} else {
//刷新空头持仓线
refreshShortPositionLimitLine();
}
}
}
/**
* date: 6/28/18
* author: chenli
* description: 刷新行情信息
*/
protected void drawKline() {
}
/**
* date: 2019/5/12
* author: chenli
* description: 清空行情图
*/
protected void clearKline() {
}
/**
* date: 6/1/18
* author: chenli
* description: 增加持仓线
*/
protected void addPositionLimitLines() {
addLongPositionLimitLine();
addShortPositionLimitLine();
}
/**
* date: 6/6/18
* author: chenli
* description: 添加多头持仓线
*/
private void addLongPositionLimitLine() {
try {
String key = instrument_id_transaction;
UserEntity userEntity = sDataManager.getTradeBean().getUsers().get(sDataManager.USER_ID);
if (userEntity == null) return;
PositionEntity positionEntity = userEntity.getPositions().get(key);
if (positionEntity == null) return;
int volume_long = Integer.parseInt(positionEntity.getVolume_long());
if (volume_long != 0) {
String limit_long = LatestFileManager.saveScaleByPtick(positionEntity.getOpen_price_long(), key);
String label_long = limit_long + "/" + volume_long + "手";
generateLimitLine(Float.valueOf(limit_long), label_long, mColorBuy, key + "0", volume_long, LimitLine.LimitLabelPosition.LEFT_TOP);
}
} catch (NumberFormatException ex) {
ex.printStackTrace();
}
}
/**
* date: 6/6/18
* author: chenli
* description: 添加空头持仓线
*/
private void addShortPositionLimitLine() {
try {
String key = instrument_id_transaction;
UserEntity userEntity = sDataManager.getTradeBean().getUsers().get(sDataManager.USER_ID);
if (userEntity == null) return;
PositionEntity positionEntity = userEntity.getPositions().get(key);
if (positionEntity == null) return;
int volume_short = Integer.parseInt(positionEntity.getVolume_short());
if (volume_short != 0) {
String limit_short = LatestFileManager.saveScaleByPtick(positionEntity.getOpen_price_short(), key);
String label_short = limit_short + "/" + volume_short + "手";
generateLimitLine(Float.valueOf(limit_short), label_short, mColorSell, key + "1", volume_short, LimitLine.LimitLabelPosition.LEFT_BOTTOM);
}
} catch (NumberFormatException ex) {
ex.printStackTrace();
}
}
/**
* date: 6/6/18
* author: chenli
* description: 添加一条持仓线
*/
private void generateLimitLine(float limit, String label, int color, String limitKey, Integer volume, LimitLine.LimitLabelPosition position) {
LimitLine limitLine = new LimitLine(limit, label);
limitLine.setLineWidth(0.7f);
limitLine.enableDashedLine(10f, 10f, 0f);
limitLine.setLineColor(color);
limitLine.setLabelPosition(position);
limitLine.setTextSize(10f);
limitLine.setTextColor(mColorText);
mPositionLimitLines.put(limitKey, limitLine);
mPositionVolumes.put(limitKey, volume);
mTopChartViewBase.getAxisLeft().addLimitLine(limitLine);
mTopChartViewBase.invalidate();
}
/**
* date: 6/1/18
* author: chenli
* description: 刷新多头持仓线
*/
private void refreshLongPositionLimitLine() {
try {
String key = instrument_id_transaction;
UserEntity userEntity = sDataManager.getTradeBean().getUsers().get(sDataManager.USER_ID);
if (userEntity == null) return;
PositionEntity positionEntity = userEntity.getPositions().get(key);
String limitKey = key + "0";
if (positionEntity == null) return;
int volume_long = Integer.parseInt(positionEntity.getVolume_long());
if (volume_long != 0) {
String limit_long_S = LatestFileManager.saveScaleByPtick(positionEntity.getOpen_price_long(), key);
float limit_long = Float.parseFloat(limit_long_S);
LimitLine limitLine = mPositionLimitLines.get(limitKey);
int volume_long_l = mPositionVolumes.get(limitKey);
if (limitLine.getLimit() != limit_long || volume_long_l != volume_long) {
String label_long = limit_long_S + "/" + volume_long + "手";
mTopChartViewBase.getAxisLeft().removeLimitLine(mPositionLimitLines.get(limitKey));
mPositionLimitLines.remove(limitKey);
mPositionVolumes.remove(limitKey);
generateLimitLine(limit_long, label_long, mColorBuy, limitKey, volume_long, LimitLine.LimitLabelPosition.LEFT_TOP);
}
} else {
mTopChartViewBase.getAxisLeft().removeLimitLine(mPositionLimitLines.get(limitKey));
mTopChartViewBase.invalidate();
mPositionLimitLines.remove(limitKey);
mPositionVolumes.remove(limitKey);
}
} catch (NumberFormatException ex) {
ex.printStackTrace();
}
}
/**
* date: 6/1/18
* author: chenli
* description: 刷新空头持仓线
*/
private void refreshShortPositionLimitLine() {
try {
String key = instrument_id_transaction;
UserEntity userEntity = sDataManager.getTradeBean().getUsers().get(sDataManager.USER_ID);
if (userEntity == null) return;
PositionEntity positionEntity = userEntity.getPositions().get(key);
String limitKey = key + "1";
if (positionEntity == null) return;
int volume_short = Integer.parseInt(positionEntity.getVolume_short());
if (volume_short != 0) {
String limit_short_S = LatestFileManager.saveScaleByPtick(positionEntity.getOpen_price_short(), key);
float limit_short = Float.parseFloat(limit_short_S);
LimitLine limitLine = mPositionLimitLines.get(limitKey);
int volume_short_l = mPositionVolumes.get(limitKey);
if (limitLine.getLimit() != limit_short || volume_short_l != volume_short) {
String label_short = limit_short_S + "/" + volume_short + "手";
mTopChartViewBase.getAxisLeft().removeLimitLine(mPositionLimitLines.get(limitKey));
mPositionLimitLines.remove(limitKey);
mPositionVolumes.remove(limitKey);
generateLimitLine(limit_short, label_short, mColorSell, limitKey, volume_short, LimitLine.LimitLabelPosition.LEFT_BOTTOM);
}
} else {
mTopChartViewBase.getAxisLeft().removeLimitLine(mPositionLimitLines.get(limitKey));
mTopChartViewBase.invalidate();
mPositionLimitLines.remove(limitKey);
mPositionVolumes.remove(limitKey);
}
} catch (NumberFormatException ex) {
ex.printStackTrace();
}
}
/**
* date: 7/9/17
* author: chenli
* description: 移除持仓线
*/
protected void removePositionLimitLines() {
if (!mPositionLimitLines.isEmpty()) {
for (LimitLine limitLine :
mPositionLimitLines.values()) {
mTopChartViewBase.getAxisLeft().removeLimitLine(limitLine);
}
}
mPositionLimitLines.clear();
mPositionVolumes.clear();
}
/**
* date: 6/1/18
* author: chenli
* description: 增加一条挂单线
*/
private void addOneOrderLimitLine(OrderEntity orderEntity) {
try {
int limit_volume = Integer.parseInt(orderEntity.getVolume_orign());
String key = orderEntity.getKey();
String limit_price = LatestFileManager.saveScaleByPtick(orderEntity.getLimit_price(), instrument_id_transaction);
LimitLine limitLine = new LimitLine(Float.parseFloat(limit_price),
limit_price + "/" + limit_volume + "手");
mOrderLimitLines.put(key, limitLine);
mOrderVolumes.put(key, limit_volume);
limitLine.setLineWidth(0.7f);
limitLine.disableDashedLine();
if (DIRECTION_BUY.equals(orderEntity.getDirection())) {
limitLine.setLabelPosition(LimitLine.LimitLabelPosition.RIGHT_TOP);
limitLine.setLineColor(mColorBuy);
} else {
limitLine.setLabelPosition(LimitLine.LimitLabelPosition.RIGHT_BOTTOM);
limitLine.setLineColor(mColorSell);
}
limitLine.setTextSize(10f);
limitLine.setTextColor(mColorText);
mTopChartViewBase.getAxisLeft().addLimitLine(limitLine);
mTopChartViewBase.invalidate();
} catch (NumberFormatException ex) {
ex.printStackTrace();
}
}
/**
* date: 6/1/18
* author: chenli
* description: 移除一条挂单线
*/
private void removeOneOrderLimitLine(String key) {
mTopChartViewBase.getAxisLeft().removeLimitLine(mOrderLimitLines.get(key));
mTopChartViewBase.invalidate();
mOrderLimitLines.remove(key);
mOrderVolumes.remove(key);
}
/**
* date: 7/9/17
* author: chenli
* description: 增加挂单线
*/
protected void addOrderLimitLines() {
UserEntity userEntity = sDataManager.getTradeBean().getUsers().get(sDataManager.USER_ID);
if (userEntity == null) return;
for (OrderEntity orderEntity :
userEntity.getOrders().values()) {
if (orderEntity != null && (orderEntity.getExchange_id() + "." + orderEntity.getInstrument_id())
.equals(instrument_id_transaction) && STATUS_ALIVE.equals(orderEntity.getStatus())) {
addOneOrderLimitLine(orderEntity);
}
}
}
/**
* date: 7/9/17
* author: chenli
* description: 移除挂单线
*/
protected void removeOrderLimitLines() {
if (!mOrderLimitLines.isEmpty()) {
for (LimitLine limitLine :
mOrderLimitLines.values()) {
mTopChartViewBase.getAxisLeft().removeLimitLine(limitLine);
}
}
mOrderLimitLines.clear();
mOrderVolumes.clear();
}
/**
* date: 2019/1/10
* author: chenli
* description: 获取组合两腿
*/
private String getIns(String ins) {
if (ins.contains("&") && ins.contains(" ")) {
SearchEntity searchEntity = LatestFileManager.getSearchEntities().get(ins);
if (searchEntity != null) {
String leg1_symbol = searchEntity.getLeg1_symbol();
String leg2_symbol = searchEntity.getLeg2_symbol();
ins = leg1_symbol + "," + leg2_symbol;
}
}
return ins;
}
/**
* date: 6/1/18
* author: chenli
* description: k线数据取消订阅
*/
@Override
public void onDestroyView() {
super.onDestroyView();
EventBus.getDefault().unregister(this);
}
/**
* date: 2019/2/20
* author: chenli
* description: 控制中间和底部的图表显示
*/
@Subscribe
public void onEventBase(VisibilityEvent data) {
//原本在图上的十字光标消失
mTopChartViewBase.highlightValue(null);
if (data.isVisible()) {
mMiddleChartViewBase.setVisibility(View.VISIBLE);
mBottomChartViewBase.setVisibility(View.VISIBLE);
} else {
mMiddleChartViewBase.setVisibility(View.GONE);
mBottomChartViewBase.setVisibility(View.GONE);
}
}
/**
* date: 2019/7/31
* author: chenli
* description: 刷新中部图标值
*/
protected void refreshChartLegend(int index){
Map<String, KlineEntity.DataEntity> dataEntities = mKlineEntity.getData();
int middleIndex = index;
if (!CURRENT_DAY_FRAGMENT.equals(mFragmentType)) middleIndex = middleIndex + mBaseIndex;
KlineEntity.DataEntity dataEntity = dataEntities.get(String.valueOf(middleIndex));
if (dataEntity != null){
List<LegendEntry> legendEntriesMiddle = new ArrayList<>();
legendEntriesMiddle.add(new LegendEntry("OI:"+dataEntity.getClose_oi(), Legend.LegendForm.NONE,
NaN, NaN, null, mOIColor));
legendEntriesMiddle.add(new LegendEntry("VOL:"+dataEntity.getVolume(), Legend.LegendForm.NONE,
NaN, NaN, null, mIncreasingColor));
Legend legendMiddle = mMiddleChartViewBase.getLegend();
legendMiddle.setCustom(legendEntriesMiddle);
legendMiddle.setVerticalAlignment(Legend.LegendVerticalAlignment.TOP);
legendMiddle.setHorizontalAlignment(Legend.LegendHorizontalAlignment.RIGHT);
}
Float emasF = mEMAs.get(index);
Float emalF = mEMAl.get(index);
if (emasF != null && emalF != null){
float emas = mEMAs.get(index);
float emal = mEMAl.get(index);
String dif = MathUtils.round((emas - emal) + "", 2);
String dea = MathUtils.round(mDEA.get(index) + "", 2);
List<LegendEntry> legendEntriesBottom = new ArrayList<>();
legendEntriesBottom.add(new LegendEntry("MACD(12,26,9)" , Legend.LegendForm.NONE,
NaN, NaN, null, mDeaColor));
legendEntriesBottom.add(new LegendEntry("DIFF:"+dif, Legend.LegendForm.NONE,
NaN, NaN, null, mDiffColor));
legendEntriesBottom.add(new LegendEntry("DEA:"+dea, Legend.LegendForm.NONE,
NaN, NaN, null, mDeaColor));
Legend legendBottom = mBottomChartViewBase.getLegend();
legendBottom.setCustom(legendEntriesBottom);
legendBottom.setVerticalAlignment(Legend.LegendVerticalAlignment.TOP);
legendBottom.setHorizontalAlignment(Legend.LegendHorizontalAlignment.RIGHT);
}
}
/**
* date: 2019/4/19
* author: chenli
* description: 上下滑动获取下个合约代码
*/
protected String getNextInstrumentId(boolean isNext) {
int index = mInsList.indexOf(instrument_id);
if (index == -1) return "";
if (isNext) index += 1;
else index -= 1;
if (index < 0) index = mInsList.size() - 1;
if (index >= mInsList.size()) index = 0;
return mInsList.get(index);
}
/**
* date: 7/9/17
* author: chenli
* description: 格式化左Y轴数据
* version:
* state: done
*/
public class TopChartLeftYAxisValueFormatter extends MyValueFormatter {
@Override
public String getFormattedValue(float value) {
return LatestFileManager.saveScaleByPtick(value + "", instrument_id);
}
}
public class BottomChartLeftYAxisValueFormatter extends MyValueFormatter{
@Override
public String getFormattedValue(float value) {
return MathUtils.round(value + "", 2);
}
}
}
| 50,759
|
Java
|
.java
|
shinnytech/shinny-futures-android
| 138
| 110
| 3
|
2018-05-30T08:01:17Z
|
2019-09-10T10:15:43Z
|
de7e191a2c0390e0aeac7b74bb4540da1716772107e75890954bdb902f75eaa9
|
[
1337,
785,
51,
635,
285,
5588,
6646,
51,
43355,
51,
4641,
51,
9883,
64,
222,
222,
485,
10484,
51,
47930,
51,
768,
5910,
1747,
64,
222,
485,
10484,
51,
47930,
51,
42615,
5910,
64,
222,
485,
2616,
51,
519,
51,
4775,
64,
222,
485,
10484,
51,
1284,
51,
1304,
51,
1237,
6823,
64,
222,
485,
2616,
51,
1058,
51,
19820,
1280,
64,
222,
485,
2616,
51,
1090,
51,
21909,
14334,
64,
222,
485,
2616,
51,
1090,
51,
25966,
64,
222,
485,
2616,
51,
1090,
51,
16252,
1167,
64,
222,
485,
2616,
51,
1090,
51,
1089,
64,
222,
485,
2616,
51,
1090,
51,
22484,
64,
222,
222,
485,
785,
51,
951,
51,
39710,
31519,
51,
5841,
318,
51,
16080,
51,
30360,
6334,
64,
222,
485,
785,
51,
951,
51,
39710,
31519,
51,
5841,
318,
51,
3545,
51,
23638,
64,
222,
485,
785,
51,
951,
51,
39710,
31519,
51,
5841,
318,
51,
3545,
51,
23638,
2717,
64,
222,
485,
785,
51,
951,
51,
39710,
31519,
51,
5841,
318,
51,
3545,
51,
5829,
1829,
64,
222,
485,
785,
51,
951,
51,
39710,
31519,
51,
5841,
318,
51,
3545,
51,
94,
6370,
64,
222,
485,
785,
51,
951,
51,
39710,
31519,
51,
5841,
318,
51,
624,
51,
2717,
64,
222,
485,
785,
51,
951,
51,
39710,
31519,
51,
5841,
318,
51,
6584,
51,
13352,
64,
222,
485,
785,
51,
951,
51,
39710,
31519,
51,
5841,
318,
51,
9447,
51,
1501,
6334,
899,
4559,
2239,
64,
222,
485,
785,
51,
951,
51,
39710,
31519,
51,
5841,
318,
51,
2324,
51,
15070,
64,
222,
485,
785,
51,
635,
285,
5588,
6646,
51,
43355,
51,
87,
64,
222,
485,
785,
51,
635,
285,
5588,
6646,
51,
43355,
51,
3180,
51,
1778,
2743,
64,
222,
485,
785,
51,
635,
285,
5588,
6646,
51,
43355,
51,
4641,
51,
6904,
51,
32102,
64,
222,
485,
785,
51,
635,
285,
5588,
6646,
51,
43355,
51,
4641,
51,
6904,
51,
32102,
17462,
64,
222,
485,
785,
51,
635,
285,
5588,
6646,
51,
43355,
51,
1184,
51,
12455,
51,
3543,
1357,
12455,
51,
2888,
2234,
64,
222,
485,
785,
51,
635,
285,
5588,
6646,
51,
43355,
51,
1184,
51,
12455,
51,
3543,
1357,
12455,
51,
2746,
2234,
64,
222,
485,
785,
51,
635,
285,
5588,
6646,
51,
43355,
51,
1184,
51,
12455,
51,
3543,
1357,
12455,
51,
1259,
2234,
64,
222,
485,
785,
51,
635,
285,
5588,
6646,
51,
43355,
51,
1184,
51,
12455,
51,
1585,
4906,
12455,
51,
7940,
6916,
1167,
64,
222,
485,
785,
51,
635,
285,
5588,
6646,
51,
43355,
51,
1184,
51,
12455,
51,
1585,
4906,
12455,
51,
9952,
1167,
64,
222,
485,
785,
51,
635,
285,
5588,
6646,
51,
43355,
51,
1184,
51,
12455,
51,
9689,
1357,
12455,
51,
80,
948,
2234,
64,
222,
485,
785,
51,
635,
285,
5588,
6646,
51,
43355,
51,
1184,
51,
12455,
51,
9689,
1357,
12455,
51,
17117,
2234,
64,
222,
485,
785,
51,
635,
285,
5588,
6646,
51,
43355,
51,
1184,
51,
12455,
51,
1925,
1357,
12455,
51,
3209,
2234,
64,
222,
485,
785,
51,
635,
285,
5588,
6646,
51,
43355,
51,
1184,
51,
3502,
51,
42549,
64,
222,
485,
785,
51,
635,
285,
5588,
6646,
51,
43355,
51,
1184,
51,
3502,
51,
14782,
45275,
64,
222,
485,
785,
51,
635,
285,
5588,
6646,
51,
43355,
51,
2324,
51,
5728,
2769,
64,
222,
485,
785,
51,
635,
285,
5588,
6646,
51,
43355,
51,
2324,
51,
2249,
2769,
64,
222,
485,
785,
51,
635,
285,
5588,
6646,
51,
43355,
51,
1090,
51,
3005,
336,
5841,
51,
1791,
2307,
51,
3781,
899,
8748,
64,
222,
222,
485,
1105,
51,
6583,
10535,
51,
1585,
4906,
51,
38794,
64,
222,
485,
1105,
51,
6583,
10535,
51,
1585,
4906,
51,
15981,
64,
222,
222,
485,
1401,
51,
897,
51,
41033,
64,
222,
485,
1401,
51,
1058,
51,
7119,
64,
222,
485,
1401,
51,
1058,
51,
9391,
64,
222,
485,
1401,
51,
1058,
51,
8263,
64,
222,
485,
1401,
51,
1058,
51,
739,
64,
222,
485,
1401,
51,
1058,
51,
1225,
64,
222,
222,
485,
924,
785,
51,
635,
285,
5588,
6646,
51,
43355,
51,
9778,
51,
7093,
5238,
51,
6196,
100,
9359,
100,
4794,
64,
222,
485,
924,
785,
51,
635,
285,
5588,
6646,
51,
43355,
51,
9778,
51,
7093,
5238,
51,
6196,
100,
19646,
100,
4794,
64,
222,
485,
924,
785,
51,
635,
285,
5588,
6646,
51,
43355,
51,
9778,
51,
17933,
5238,
51,
13929,
100,
14332,
100,
36074,
64,
222,
485,
924,
785,
51,
635,
285,
5588,
6646,
51,
43355,
51,
9778,
51,
5248,
5238,
51,
73,
17997,
946,
64,
222,
485,
924,
785,
51,
635,
285,
5588,
6646,
51,
43355,
51,
9778,
51,
5248,
5238,
51,
73,
17997,
946,
27894,
1692,
64,
222,
485,
924,
785,
51,
635,
285,
5588,
6646,
51,
43355,
51,
9778,
51,
16730,
5238,
51,
33945,
100,
1771,
94,
64,
222,
485,
924,
785,
51,
635,
285,
5588,
6646,
51,
43355,
51,
9778,
51,
5248,
5238,
51,
1700,
4697,
4525,
64,
222,
485,
924,
785,
51,
635,
285,
5588,
6646,
51,
43355,
51,
9778,
51,
5248,
5238,
51,
83,
737,
15063,
90,
946,
64,
222,
485,
924,
785,
51,
635,
285,
5588,
6646,
51,
43355,
51,
9778,
51,
5248,
5238,
51,
41085,
64,
222,
485,
924,
785,
51,
635,
285,
5588,
6646,
51,
43355,
51,
9778,
51,
5248,
5238,
51,
2526,
5300,
77,
6231,
64,
222,
485,
924,
785,
51,
635,
285,
5588,
6646,
51,
43355,
51,
9778,
51,
16730,
5238,
51,
5965,
100,
744,
5765,
64,
222,
485,
924,
785,
51,
635,
285,
5588,
6646,
51,
43355,
51,
9778,
51,
16730,
5238,
51,
5965,
100,
48321,
64,
222,
485,
924,
785,
51,
635,
285,
5588,
6646,
51,
43355,
51,
9778,
51,
17933,
5238,
51,
11476,
100,
10582,
64,
222,
485,
924,
785,
51,
635,
285,
5588,
6646,
51,
43355,
51,
9778,
51,
5248,
5238,
51,
95,
4198,
22231,
39173,
64,
222,
485,
924,
785,
51,
635,
285,
5588,
6646,
51,
43355,
51,
9778,
51,
5248,
5238,
51,
95,
4198,
22231,
39173,
27894,
1692,
64,
222,
485,
924,
785,
51,
635,
285,
5588,
6646,
51,
43355,
51,
9778,
51,
5248,
5238,
51,
33992,
5592,
79,
540,
64,
222,
485,
924,
1401,
51,
1600,
51,
3690,
51,
11138,
64,
222,
222,
1350,
222,
338,
2361,
63,
244,
62,
52,
55,
53,
52,
54,
60,
222,
338,
4096,
63,
683,
291,
393,
222,
338,
3066,
63,
222,
338,
1522,
63,
222,
338,
1621,
63,
222,
588,
222,
942,
462,
3787,
6334,
5763,
2041,
23980,
3028,
5763,
320,
465,
2532,
924,
1175,
648,
12945,
1410,
100,
3470,
100,
43770,
100,
93,
299,
244,
56,
53,
53,
15345,
1618,
48595,
30329,
19848,
46683,
303,
2532,
924,
1175,
648,
12945,
1410,
100,
4697,
100,
43770,
100,
94,
299,
244,
55,
53,
53,
15345,
1432,
48595,
30329,
31923,
46683,
303,
2532,
924,
1175,
648,
12945,
1410,
100,
4697,
100,
2494,
5922,
2932,
299,
244,
55,
53,
53,
15345,
244,
30329,
19848,
36746,
303,
1041,
294,
338,
2361,
63,
244,
60,
52,
62,
52,
54,
60,
294,
338,
3066,
63,
244,
43934,
7071,
294,
588,
303,
2532,
2780,
10861,
6334,
364,
3169,
6334,
1089,
1778,
64,
303,
2532,
2780,
10861,
6334,
364,
18347,
6334,
1089,
1778,
64,
303,
2532,
2780,
10861,
6334,
364,
7883,
6334,
1089,
1778,
64,
303,
1041,
294,
338,
2361,
63,
244,
60,
52,
62,
52,
54,
60,
294,
338,
3066,
63,
244,
7071,
4461,
39068,
11759,
294,
588,
303,
2532,
648,
364,
1530,
4637,
14734,
64,
303,
1041,
294,
338,
2361,
63,
244,
60,
52,
62,
52,
54,
60,
294,
338,
3066,
63,
244,
48595,
9717,
30870,
294,
588,
303,
2532,
648,
364,
1530,
6370,
64,
303,
1041,
294,
338,
2361,
63,
244,
60,
52,
62,
52,
54,
60,
294,
338,
3066,
63,
244,
20201,
30870,
294,
588,
303,
2532,
648,
364,
1530,
1049,
64,
303,
1041,
294,
338,
2361,
63,
244,
60,
52,
62,
52,
54,
60,
294,
338,
3066,
63,
244,
9193,
9745,
9717,
30870,
294,
588,
303,
2532,
648,
364,
1530,
3567,
64,
303,
1041,
294,
338,
2361,
63,
244,
60,
52,
62,
52,
54,
60,
294,
338,
3066,
63,
244,
9583,
36047,
9717,
30870,
294,
588,
303,
2532,
648,
364,
1530,
16353,
64,
303,
1041,
294,
338,
2361,
63,
244,
60,
52,
62,
52,
54,
60,
294,
338,
3066,
63,
244,
4135,
248,
6420,
9717,
30870,
294,
588,
303,
2532,
648,
364,
1530,
27516,
64,
303,
1041,
294,
338,
2361,
63,
244,
55,
53,
54,
62,
52,
60,
52,
55,
61,
294,
338,
3066,
63,
851,
9717,
8463,
8963,
139,
11759,
294,
588,
303,
2532,
648,
364,
402,
32706,
1530,
64,
303,
1041,
294,
338,
2361,
63,
244,
55,
53,
54,
62,
52,
60,
52,
55,
61,
294,
338,
3066,
63,
851,
9717,
8463,
6465,
258,
11759,
294,
588,
303,
2532,
648,
364,
703,
32706,
1530,
64,
303,
1041,
294,
338,
2361,
63,
244,
55,
53,
54,
62,
52,
60,
52,
55,
61,
294,
338,
3066,
63,
244,
14190,
5211,
23105,
7044,
30870,
294,
588,
303,
2532,
648,
364,
13352,
1530,
64,
303,
1041,
294,
338,
2361,
63,
244,
55,
53,
54,
62,
52,
60,
52,
55,
61,
294,
338,
3066,
63,
244,
9583,
36047,
9717,
30870,
294,
588,
303,
2532,
648,
364,
40029,
1530,
64,
303,
1041,
294,
338,
2361,
63,
244,
55,
53,
54,
62,
52,
60,
52,
55,
61,
294,
338,
3066,
63,
294,
588,
303,
1041,
294,
338,
2361,
63,
244,
55,
53,
54,
62,
52,
60,
52,
55,
61,
294,
338,
3066,
63,
5861,
294,
588,
303,
2532,
648,
364,
7849,
1530,
64,
303,
1041,
294,
338,
2361,
63,
244,
55,
53,
54,
62,
52,
60,
52,
55,
61,
294,
338,
3066,
63,
428,
102,
294,
588,
303,
2532,
648,
364,
703,
102,
1530,
64,
303,
1041,
294,
338,
2361,
63,
244,
60,
52,
62,
52,
54,
60,
294,
338,
3066,
63,
36620,
9271,
14183,
9583,
36047,
9717,
2626,
4135,
248,
6420,
9717,
2626,
23650,
9717,
294,
588,
303,
2532,
1922,
364,
1640,
2746,
64,
303,
2532,
1922,
364,
1640,
10710,
64,
303,
2532,
1922,
364,
1640,
15810,
64,
303,
1041,
294,
338,
2361,
63,
244,
60,
52,
62,
52,
54,
60,
294,
338,
3066,
63,
244,
9583,
36047,
9717,
294,
588,
303,
2532,
3531,
65,
671,
49,
16106,
1829,
67,
364,
2746,
5829,
8690,
64,
303,
1041,
294,
338,
2361,
63,
244,
55,
53,
54,
61,
52,
54,
54,
52,
55,
53,
294,
338,
3066,
63,
244,
9583,
36047,
9717,
6363,
24447,
11341,
2378,
294,
588,
303,
2532,
3531,
65,
671,
49,
4418,
67,
364,
2746,
31175,
64,
303,
1041,
294,
338,
2361,
63,
244,
60,
52,
62,
52,
54,
60,
294,
338,
3066,
63,
244,
4135,
248,
6420,
9717,
294,
588,
303,
2532,
3531,
65,
671,
49,
16106,
1829,
67,
364,
2888,
5829,
8690,
64,
303,
1041,
294,
338,
2361,
63,
244,
55,
53,
54,
61,
52,
54,
54,
52,
55,
53,
294,
338,
3066,
63,
244,
4135,
248,
6420,
6363,
24447,
11341,
2378,
294,
588,
303,
2532,
3531,
65,
671,
49,
4418,
67,
364,
2888,
31175,
64,
303,
1041,
294,
338,
2361,
63,
244,
55,
53,
54,
62,
52,
58,
52,
55,
55,
294,
338,
3066,
63,
244,
30879,
6363,
24447,
44351,
1096,
12150,
294,
588,
303,
2532,
1701,
65,
671,
67,
364,
6916,
739,
64,
303,
2532,
2426,
1590,
328,
42549,
64,
303,
2532,
910,
16893,
100,
333,
64,
303,
2532,
910,
16893,
100,
333,
100,
6561,
64,
303,
2532,
16587,
364,
9391,
64,
303,
2532,
35802,
1280,
65,
671,
67,
837,
26945,
64,
303,
2532,
910,
364,
5763,
638,
64,
303,
2532,
910,
364,
80,
948,
638,
64,
303,
2532,
27194,
364,
41033,
64,
303,
2532,
648,
364,
2362,
625,
64,
303,
2532,
12102,
1139,
5763,
364,
8271,
1139,
5763,
64,
303,
964,
4340,
768,
5910,
364,
42615,
5910,
64,
303,
964,
4340,
364,
1089,
64,
303,
2532,
648,
364,
88,
64,
303,
2532,
648,
364,
81,
64,
303,
2532,
648,
364,
83,
64,
303,
2532,
3531,
65,
3078,
49,
8182,
67,
364,
74,
1418,
120,
64,
303,
2532,
3531,
65,
3078,
49,
8182,
67,
364,
74,
1418,
113,
64,
303,
2532,
3531,
65,
3078,
49,
8182,
67,
364,
869,
70,
64,
303,
2532,
910,
553,
899,
64,
303,
2532,
1922,
364,
1640,
3967,
8338,
64,
303,
2532,
30107,
532,
14334,
364,
14334,
3169,
64,
303,
2532,
30107,
532,
14334,
364,
14334,
18347,
64,
303,
2532,
30107,
532,
14334,
364,
14334,
7883,
64,
303,
2532,
4340,
51,
1501,
10464,
2239,
12800,
2239,
3169,
64,
303,
2532,
4340,
51,
1501,
10464,
2239,
12800,
2239,
18347,
64,
303,
2532,
4340,
51,
1501,
10464,
2239,
12800,
2239,
7883,
64,
303,
2532,
1242,
948,
2234,
364,
80,
948,
2234,
64,
303,
2532,
648,
364,
1089,
2627,
64,
303,
2532,
648,
364,
3695,
1301,
64,
303,
2532,
648,
364,
1778,
1301,
64,
303,
2532,
648,
364,
3283,
1301,
64,
303,
964,
1916,
1496,
93,
64,
4054,
496,
1806,
303,
581,
4340,
16456,
1089,
45,
25966,
29704,
49,
29721,
3863,
49,
14092,
19902,
46,
320,
310,
364,
42615,
5910,
299,
2426,
5910,
1747,
51,
23053,
45,
285,
12867,
49,
364,
2362,
625,
49,
3863,
49,
920,
312,
310,
364,
3169,
6334,
1089,
1778,
299,
364,
42615,
5910,
51,
29847,
941,
14137,
45,
87,
51,
333,
51,
5841,
312,
310,
364,
18347,
6334,
1089,
1778,
299,
364,
42615,
5910,
51,
29847,
941,
14137,
45,
87,
51,
333,
51,
10519,
6334,
312,
310,
364,
7883,
6334,
1089,
1778,
299,
364,
42615,
5910,
51,
29847,
941,
14137,
45,
87,
51,
333,
51,
3476,
6334,
312,
310,
3238,
768,
492,
310,
3238,
6334,
492,
310,
364,
1089,
299,
364,
42615,
5910,
51,
29847,
492,
310,
461,
364,
1089,
64,
303,
339,
465,
1041,
294,
338,
2361,
63,
244,
55,
53,
54,
62,
52,
58,
52,
55,
55,
294,
338,
4096,
63,
683,
291,
393,
294,
338,
3066,
63,
37130,
5207,
6363,
24447,
44351,
12150,
294,
588,
303,
964,
782,
3238,
6916,
739,
365,
320,
310,
910,
1799,
299,
2426,
1590,
51,
7432,
941,
1478,
13870,
100,
798,
64,
310,
3531,
65,
671,
49,
43524,
2234,
67,
2010,
299,
556,
8329,
6984,
310,
3593,
327,
1333,
46,
320,
343,
1152,
31926,
63,
419,
2010,
299,
38417,
45275,
51,
390,
7575,
6916,
739,
492,
419,
1644,
64,
343,
1152,
4103,
4697,
4525,
63,
419,
2010,
299,
38417,
45275,
51,
390,
4370,
6916,
739,
492,
419,
1644,
64,
343,
1152,
5324,
5300,
77,
6231,
63,
419,
2010,
299,
38417,
45275,
51,
390,
1207,
761,
16384,
6916,
739,
492,
419,
1644,
64,
343,
1152,
508,
737,
15063,
90,
946,
63,
419,
2010,
299,
38417,
45275,
51,
47302,
838,
126,
10476,
6916,
739,
492,
419,
1644,
64,
343,
1152,
493,
17997,
946,
63,
419,
2010,
299,
38417,
45275,
51,
390,
34235,
2560,
6916,
739,
492,
419,
1644,
64,
343,
1152,
2538,
4198,
22231,
39173,
63,
419,
2010,
299,
38417,
45275,
51,
390,
29349,
838,
7322,
663,
6916,
739,
492,
419,
1644,
64,
343,
1152,
2538,
77,
5592,
79,
540,
63,
419,
2010,
299,
38417,
45275,
51,
390,
29349,
805,
24245,
6916,
739,
492,
419,
1644,
64,
343,
1152,
493,
17997,
946,
27894,
1692,
63,
419,
2010,
299,
38417,
45275,
51,
390,
34235,
2560,
9049,
311,
6916,
739,
492,
419,
1644,
64,
343,
1152,
2538,
4198,
22231,
39173,
27894,
1692,
63,
419,
2010,
299,
38417,
45275,
51,
390,
29349,
838,
7322,
663,
9049,
311,
6916,
739,
492,
419,
1644,
64,
343,
1263,
63,
419,
1644,
64,
310,
339,
310,
364,
6916,
739,
299,
556,
5068,
11530,
1130,
51,
23585,
1052,
310,
434,
327,
41085,
51,
3591,
45,
1333,
509,
320,
343,
2426,
1590,
727,
1590,
299,
2426,
1590,
51,
7432,
492,
343,
2694,
2234,
1275,
2234,
299,
727,
1590,
51,
390,
16730,
5358,
941,
390,
3715,
941,
390,
45,
624,
1590,
51,
4991,
100,
798,
312,
343,
434,
327,
514,
2234,
882,
762,
46,
320,
419,
456,
327,
2746,
2234,
2764,
2234,
518,
1275,
2234,
51,
390,
17943,
941,
2857,
1177,
320,
547,
1614,
320,
733,
648,
6883,
100,
3239,
299,
4418,
51,
11824,
45,
2719,
2234,
51,
390,
6806,
100,
3239,
1052,
733,
648,
6883,
100,
4036,
299,
4418,
51,
11824,
45,
2719,
2234,
51,
390,
6806,
100,
4036,
1052,
733,
910,
7951,
299,
2764,
2234,
51,
390,
11900,
100,
333,
365,
494,
17029,
494,
2764,
2234,
51,
390,
17568,
100,
333,
492,
733,
434,
1849,
7259,
100,
3239,
882,
244,
53,
1293,
6883,
100,
4036,
882,
244,
53,
46,
979,
673,
114,
6916,
739,
51,
4766,
45,
2395,
509,
1031,
364,
6916,
739,
51,
688,
45,
2395,
312,
547,
339,
2385,
327,
1002,
503,
46,
320,
733,
503,
51,
9428,
492,
547,
339,
419,
339,
343,
339,
310,
339,
465,
339,
465,
2532,
782,
3238,
768,
365,
320,
310,
3916,
5997,
51,
13729,
941,
3334,
45,
597,
312,
310,
37570,
2594,
3697,
299,
327,
32102,
46,
47341,
492,
310,
37570,
17462,
2594,
3697,
17462,
299,
2594,
3697,
51,
390,
114,
32102,
17462,
492,
310,
364,
8271,
1139,
5763,
299,
327,
8271,
1139,
5763,
46,
2594,
3697,
17462,
51,
390,
114,
42566,
5763,
4433,
941,
12244,
45,
55,
312,
603,
364,
40029,
1530,
299,
7063,
6823,
51,
24849,
45,
28176,
1046,
578,
51,
1507,
51,
897,
100,
4911,
312,
310,
364,
7849,
1530,
299,
7063,
6823,
51,
24849,
45,
28176,
1046,
578,
51,
1507,
51,
897,
100,
4911,
312,
310,
364,
703,
102,
1530,
299,
7063,
6823,
51,
24849,
45,
28176,
1046,
578,
51,
1507,
51,
112,
948,
100,
954,
55,
312,
310,
364,
13352,
1530,
299,
7063,
6823,
51,
24849,
45,
28176,
1046,
578,
51,
1507,
51,
897,
100,
4911,
312,
310,
364,
402,
32706,
1530,
299,
7063,
6823,
51,
24849,
45,
28176,
1046,
578,
51,
1507,
51,
112,
948,
100,
1116,
312,
310,
364,
703,
32706,
1530,
299,
7063,
6823,
51,
24849,
45,
28176,
1046,
578,
51,
1507,
51,
112,
948,
100,
6583,
312,
310,
364,
1530,
4637,
14734,
299,
7063,
6823,
51,
24849,
45,
28176,
1046,
578,
51,
1507,
51,
112,
948,
100,
4175,
312,
310,
364,
1530,
6370,
299,
7063,
6823,
51,
24849,
45,
28176,
1046,
578,
51,
1507,
51,
112,
948,
100,
5167,
312,
310,
364,
1530,
3567,
299,
7063,
6823,
51,
24849,
45,
28176,
1046,
578,
51,
1507,
51,
112,
948,
100,
3393,
312,
310,
364,
1530,
1049,
299,
7063,
6823,
51,
24849,
45,
28176,
1046,
578,
51,
1507,
51,
112,
948,
100,
897,
312,
310,
364,
1530,
16353,
299,
7063,
6823,
51,
24849,
45,
28176,
1046,
578,
51,
1507,
51,
112,
948,
100,
2719,
312,
310,
364,
1530,
27516,
299,
7063,
6823,
51,
24849,
45,
28176,
1046,
578,
51,
1507,
51,
112,
948,
100,
1191,
312,
603,
364,
2746,
5829,
8690,
299,
556,
8329,
6984,
310,
364,
2746,
31175,
299,
556,
8329,
6984,
310,
364,
2888,
5829,
8690,
299,
556,
8329,
6984,
310,
364,
2888,
31175,
299,
556,
8329,
6984,
310,
364,
9391,
299,
16587,
51,
7432,
492,
310,
328,
42549,
299,
2426,
1590,
51,
7432,
492,
310,
837,
26945,
299,
556,
35802,
1280,
6984,
310,
553,
899,
299,
5127,
310,
364,
1640,
3967,
8338,
299,
920,
64,
310,
364,
1089,
2627,
299,
32721,
100,
10582,
64,
310,
1496,
93,
299,
244,
53,
51,
53,
107,
64,
603,
364,
88,
299,
244,
54,
55,
64,
310,
364,
81,
299,
244,
55,
59,
64,
310,
364,
83,
299,
244,
62,
64,
310,
364,
74,
1418,
120,
299,
556,
8329,
6984,
310,
364,
74,
1418,
113,
299,
556,
8329,
6984,
310,
364,
869,
70,
299,
556,
8329,
6984,
603,
364,
1640,
2746,
299,
327,
4412,
46,
7859,
2769,
51,
390,
45,
1778,
2743,
51,
14722,
1046,
12263,
100,
19646,
100,
4794,
49,
878,
312,
310,
364,
1640,
10710,
299,
327,
4412,
46,
7859,
2769,
51,
390,
45,
1778,
2743,
51,
14722,
1046,
12263,
100,
9359,
100,
4794,
49,
878,
312,
303,
339,
465,
2532,
782,
3238,
6334,
365,
320,
310,
364,
3169,
6334,
1089,
1778,
51,
32844,
941,
18822,
45,
1886,
312,
310,
364,
3169,
6334,
1089,
1778,
51,
489,
2900,
3567,
5777,
45,
1527,
312,
310,
364,
3169,
6334,
1089,
1778,
51,
489,
16216,
45,
114,
1530,
4637,
14734,
312,
310,
364,
3169,
6334,
1089,
1778,
51,
489,
3567,
16216,
45,
114,
1530,
4637,
14734,
312,
310,
364,
3169,
6334,
1089,
1778,
51,
489,
2900,
899,
36780,
2914,
45,
1886,
312,
310,
364,
3169,
6334,
1089,
1778,
51,
38618,
2627,
45,
54,
107,
312,
310,
364,
3169,
6334,
1089,
1778,
51,
489,
2900,
71,
10424,
45,
1527,
312,
310,
364,
3169,
6334,
1089,
1778,
51,
489,
2042,
768,
1049,
459,
4857,
35163,
3011,
742,
310,
364,
3169,
6334,
1089,
1778,
51,
489,
32544,
35322,
4006,
45,
1527,
312,
310,
364,
3169,
6334,
1089,
1778,
51,
489,
9517,
4006,
45,
1527,
312,
310,
364,
3169,
6334,
1089,
1778,
51,
43133,
3451,
23031,
45,
53,
49,
244,
54,
49,
244,
53,
49,
244,
54,
312,
310,
364,
3169,
6334,
1089,
1778,
51,
489,
4090,
18172,
724,
12750,
4006,
45,
1886,
312,
310,
364,
3169,
6334,
1089,
1778,
51,
489,
13352,
1852,
18172,
4006,
45,
1886,
312,
310,
364,
3169,
6334,
1089,
1778,
51,
489,
13352,
1852,
9517,
4006,
45,
1886,
312,
603,
364,
18347,
6334,
1089,
1778,
51,
32844,
941,
18822,
45,
1886,
312,
310,
364,
18347,
6334,
1089,
1778,
51,
489,
2900,
3567,
5777,
45,
1527,
312,
310,
364,
18347,
6334,
1089,
1778,
51,
489,
16216,
45,
114,
1530,
4637,
14734,
312,
310,
364,
18347,
6334,
1089,
1778,
51,
489,
3567,
16216,
45,
114,
1530,
4637,
14734,
312,
310,
364,
18347,
6334,
1089,
1778,
51,
489,
2900,
899,
36780,
2914,
45,
1886,
312,
310,
364,
18347,
6334,
1089,
1778,
51,
489,
2042,
768,
1049,
459,
4857,
35163,
3011,
742,
310,
364,
18347,
6334,
1089,
1778,
51,
489,
32544,
35322,
4006,
45,
1527,
312,
310,
364,
18347,
6334,
1089,
1778,
51,
489,
9517,
4006,
45,
1527,
312,
310,
364,
18347,
6334,
1089,
1778,
51,
489,
2900,
71,
10424,
45,
1886,
312,
310,
364,
18347,
6334,
1089,
1778,
51,
43133,
3451,
23031,
45,
53,
49,
244,
53,
49,
244,
53,
49,
244,
54,
312,
310,
364,
18347,
6334,
1089,
1778,
51,
489,
4090,
18172,
724,
12750,
4006,
45,
1886,
312,
310,
364,
18347,
6334,
1089,
1778,
51,
489,
13352,
1852,
18172,
4006,
45,
1886,
312,
310,
364,
18347,
6334,
1089,
1778,
51,
489,
13352,
1852,
9517,
4006,
45,
1886,
312,
603,
364,
7883,
6334,
1089,
1778,
51,
32844,
941,
18822,
45,
1886,
312,
310,
364,
7883,
6334,
1089,
1778,
51,
489,
2900,
3567,
5777,
45,
1527,
312,
310,
364,
7883,
6334,
1089,
1778,
51,
489,
16216,
45,
114,
1530,
4637,
14734,
312,
310,
364,
7883,
6334,
1089,
1778,
51,
489,
3567,
16216,
45,
114,
1530,
4637,
14734,
312,
310,
364,
7883,
6334,
1089,
1778,
51,
489,
2900,
899,
36780,
2914,
45,
1886,
312,
310,
364,
7883,
6334,
1089,
1778,
51,
489,
2042,
768,
1049,
459,
4857,
35163,
3011,
742,
310,
364,
7883,
6334,
1089,
1778,
51,
489,
32544,
35322,
4006,
45,
1527,
312,
310,
364,
7883,
6334,
1089,
1778,
51,
489,
9517,
4006,
45,
1527,
312,
310,
364,
7883,
6334,
1089,
1778,
51,
489,
2900,
71,
10424,
45,
1886,
312,
310,
364,
7883,
6334,
1089,
1778,
51,
43133,
3451,
23031,
45,
53,
49,
244,
53,
49,
244,
53,
49,
244,
57,
53,
312,
310,
364,
7883,
6334,
1089,
1778,
51,
489,
4090,
18172,
724,
12750,
4006,
45,
1886,
312,
310,
364,
7883,
6334,
1089,
1778,
51,
489,
13352,
1852,
18172,
4006,
45,
1886,
312,
310,
364,
7883,
6334,
1089,
1778,
51,
489,
13352,
1852,
9517,
4006,
45,
1886,
312,
603,
364,
14334,
3169,
299,
556,
30107,
532,
14334,
45,
597,
51,
14722,
1046,
556,
30107,
532,
14334,
51,
5302,
1501,
21909,
2239,
365,
320,
343,
496,
1806,
343,
581,
782,
563,
3967,
8338,
45,
16252,
1167,
503,
46,
320,
419,
2615,
51,
286,
3967,
8338,
45,
106,
312,
419,
15189,
11126,
492,
419,
364,
1640,
3967,
8338,
299,
878,
64,
419,
43999,
439,
299,
364,
3169,
6334,
1089,
1778,
51,
390,
13352,
1103,
10464,
1962,
45,
106,
51,
18807,
1046,
503,
51,
20421,
1052,
419,
434,
327,
109,
882,
762,
46,
320,
547,
439,
51,
489,
2900,
45,
106,
51,
18807,
1046,
503,
51,
20421,
1052,
547,
364,
3169,
6334,
1089,
1778,
51,
6584,
899,
45,
109,
49,
878,
312,
547,
364,
3169,
6334,
1089,
1778,
51,
5826,
5606,
492,
419,
339,
343,
339,
1083,
496,
1806,
343,
581,
1922,
563,
6284,
18172,
1405,
45,
16252,
1167,
503,
46,
320,
419,
364,
1640,
3967,
8338,
299,
920,
64,
419,
364,
3169,
6334,
1089,
1778,
51,
6584,
899,
45,
1710,
49,
878,
312,
419,
364,
3169,
6334,
1089,
1778,
51,
4909,
5606,
492,
419,
461,
2615,
51,
286,
6284,
18172,
1405,
45,
106,
312,
343,
339,
1083,
496,
1806,
343,
581,
1922,
563,
2151,
318,
45,
16252,
1167,
503,
54,
49,
30388,
1167,
503,
55,
49,
1916,
15689,
93,
49,
1916,
15689,
94,
46,
320,
419,
453,
4314,
7998,
50,
6413,
1431,
11674,
419,
453,
503,
54,
3111,
8980,
54,
2678,
8755,
100,
10453,
30388,
1167,
419,
453,
503,
55,
3111,
21360,
4597,
8755,
100,
13522,
30388,
1167,
419,
453,
15689,
93,
3111,
93,
48595,
24905,
30329,
36746,
5200,
13323,
11828,
52,
22874,
5114,
419,
453,
15689,
94,
3111,
94,
48595,
24905,
30329,
36746,
5200,
13323,
11828,
52,
22874,
5114,
419,
453,
1432,
48595,
1096,
35702,
7838,
13694,
43739,
3329,
1410,
100,
4697,
100,
43770,
1140,
15372,
30329,
36746,
43739,
3329,
1410,
100,
4697,
100,
2494,
5922,
2932,
2678,
13323,
11828,
52,
22874,
2125,
434,
327,
114,
1640,
3967,
8338,
46,
620,
920,
64,
2125,
910,
7951,
299,
5127,
419,
434,
327,
5728,
51,
3615,
45,
106,
54,
51,
18807,
365,
449,
503,
55,
51,
18807,
1177,
868,
12945,
1410,
100,
3470,
100,
43770,
100,
93,
46,
461,
920,
64,
2125,
453,
10393,
4518,
419,
434,
327,
106,
54,
51,
20421,
365,
449,
503,
55,
51,
20421,
365,
868,
12945,
1410,
100,
4697,
100,
43770,
100,
94,
979,
4189,
51,
3615,
45,
14962,
94,
46,
868,
12945,
1410,
100,
4697,
100,
2494,
5922,
2932,
46,
320,
547,
7951,
299,
36231,
17568,
625,
45,
1527,
312,
419,
339,
419,
453,
10393,
4316,
419,
434,
327,
106,
55,
51,
20421,
365,
449,
503,
54,
51,
20421,
365,
868,
12945,
1410,
100,
4697,
100,
43770,
100,
94,
979,
4189,
51,
3615,
45,
14962,
94,
46,
868,
12945,
1410,
100,
4697,
100,
2494,
5922,
2932,
46,
320,
547,
7951,
299,
36231,
17568,
625,
45,
1886,
312,
419,
339,
2125,
434,
1445,
2395,
51,
6401,
1177,
320,
547,
15763,
6916,
1167,
3593,
6916,
1167,
299,
556,
15763,
6916,
1167,
492,
547,
3593,
6916,
1167,
51,
489,
17568,
100,
333,
45,
2395,
312,
547,
3916,
5997,
51,
13729,
941,
1545,
45,
4651,
6916,
1167,
312,
419,
339,
419,
461,
920,
64,
343,
339,
603,
1141,
603,
364,
14334,
18347,
299,
556,
30107,
532,
14334,
45,
597,
51,
14722,
1046,
556,
30107,
532,
14334,
51,
5302,
1501,
21909,
2239,
365,
320,
343,
496,
1806,
343,
581,
782,
563,
3967,
8338,
45,
16252,
1167,
503,
46,
320,
419,
2615,
51,
286,
3967,
8338,
45,
106,
312,
419,
15189,
11126,
492,
419,
364,
1640,
3967,
8338,
299,
878,
64,
419,
43999,
439,
299,
364,
18347,
6334,
1089,
1778,
51,
390,
13352,
1103,
10464,
1962,
45,
106,
51,
18807,
1046,
503,
51,
20421,
1052,
419,
434,
327,
109,
882,
762,
46,
320,
547,
439,
51,
489,
2900,
45,
106,
51,
18807,
1046,
503,
51,
20421,
1052,
547,
364,
18347,
6334,
1089,
1778,
51,
6584,
899,
45,
109,
49,
878,
312,
547,
364,
18347,
6334,
1089,
1778,
51,
5826,
5606,
492,
419,
339,
343,
339,
1083,
496,
1806,
343,
581,
1922,
563,
6284,
18172,
1405,
45,
16252,
1167,
503,
46,
320,
419,
364,
1640,
3967,
8338,
299,
920,
64,
419,
364,
18347,
6334,
1089,
1778,
51,
6584,
899,
45,
1710,
49,
878,
312,
419,
364,
18347,
6334,
1089,
1778,
51,
4909,
5606,
492,
419,
461,
2615,
51,
286,
6284,
18172,
1405,
45,
106,
312,
343,
339,
310,
1141,
603,
364,
14334,
7883,
299,
556,
30107,
532,
14334,
45,
597,
51,
14722,
1046,
556,
30107,
532,
14334,
51,
5302,
1501,
21909,
2239,
365,
320,
343,
496,
1806,
343,
581,
782,
563,
3967,
8338,
45,
16252,
1167,
503,
46,
320,
419,
2615,
51,
286,
3967,
8338,
45,
106,
312,
419,
15189,
11126,
492,
419,
364,
1640,
3967,
8338,
299,
878,
64,
419,
43999,
439,
299,
364,
7883,
6334,
1089,
1778,
51,
390,
13352,
1103,
10464,
1962,
45,
106,
51,
18807,
1046,
503,
51,
20421,
1052,
419,
434,
327,
109,
882,
762,
46,
320,
547,
439,
51,
489,
2900,
45,
106,
51,
18807,
1046,
503,
51,
20421,
1052,
547,
364,
7883,
6334,
1089,
1778,
51,
6584,
899,
45,
109,
49,
878,
312,
547,
364,
7883,
6334,
1089,
1778,
51,
5826,
5606,
492,
419,
339,
343,
339,
1083,
496,
1806,
343,
581,
1922,
563,
6284,
18172,
1405,
45,
16252,
1167,
503,
46,
320,
419,
364,
1640,
3967,
8338,
299,
920,
64,
419,
364,
7883,
6334,
1089,
1778,
51,
6584,
899,
45,
1710,
49,
878,
312,
419,
364,
7883,
6334,
1089,
1778,
51,
4909,
5606,
492,
419,
461,
2615,
51,
286,
6284,
18172,
1405,
45,
106,
312,
343,
339,
310,
1141,
603,
12800,
2239,
3169,
299,
556,
4340,
51,
1501,
10464,
2239,
365,
320,
343,
496,
1806,
343,
581,
1922,
563,
10464,
45,
1089,
373,
49,
30388,
1167,
1708,
46,
320,
419,
364,
14334,
3169,
51,
286,
10464,
1167,
45,
1585,
312,
419,
434,
1445,
13929,
100,
14332,
100,
36074,
51,
3591,
45,
114,
80,
948,
638,
509,
320,
547,
3593,
327,
1585,
51,
28103,
1177,
320,
733,
1152,
30388,
1167,
51,
8755,
100,
10453,
63,
1031,
1496,
93,
299,
1708,
51,
18807,
492,
1031,
1644,
64,
733,
1152,
30388,
1167,
51,
8755,
100,
2430,
63,
1031,
434,
1445,
114,
1640,
3967,
8338,
979,
327,
1585,
51,
18807,
365,
449,
1496,
93,
46,
868,
364,
3169,
6334,
1089,
1778,
51,
28987,
3451,
1985,
941,
1304,
4058,
365,
536,
244,
60,
46,
320,
1396,
1916,
23504,
299,
364,
3695,
1301,
449,
364,
1778,
1301,
64,
1396,
434,
327,
5728,
51,
3615,
45,
114,
3169,
6334,
1089,
1778,
51,
390,
12020,
464,
5671,
93,
365,
449,
23504,
46,
350,
244,
58,
53,
46,
320,
1908,
434,
327,
125,
26945,
51,
911,
365,
2394,
364,
1089,
2627,
46,
320,
2493,
364,
1089,
2627,
299,
364,
1089,
2627,
494,
244,
54,
53,
53,
64,
2493,
3787,
2743,
51,
390,
114,
5121,
19431,
941,
2729,
903,
6334,
80,
948,
45,
17967,
100,
333,
49,
364,
1089,
2627,
49,
364,
80,
948,
638,
312,
1908,
339,
1396,
339,
1031,
339,
1031,
1644,
64,
733,
1263,
63,
1031,
1644,
64,
547,
339,
419,
339,
419,
434,
327,
114,
1640,
3967,
8338,
979,
1708,
51,
28103,
365,
630,
30388,
1167,
51,
8755,
100,
13522,
46,
320,
547,
1916,
2687,
3041,
299,
364,
3169,
6334,
1089,
1778,
51,
28987,
3451,
1985,
941,
1304,
3041,
492,
547,
1916,
553,
299,
1708,
51,
20421,
492,
547,
434,
327,
126,
868,
2687,
3041,
46,
320,
733,
453,
46596,
4329,
3011,
7209,
7071,
733,
1708,
51,
35853,
45,
1585,
51,
18807,
1046,
553,
449,
2687,
3041,
312,
733,
12800,
2239,
18347,
51,
286,
10464,
45,
123,
49,
1708,
312,
547,
339,
832,
320,
733,
453,
37282,
4518,
7209,
7071,
30847,
7209,
733,
434,
327,
126,
2527,
244,
53,
46,
553,
299,
553,
494,
2687,
3041,
64,
733,
43999,
439,
299,
364,
3169,
6334,
1089,
1778,
51,
390,
13352,
1103,
10464,
1962,
45,
1585,
51,
18807,
1046,
553,
312,
733,
434,
327,
109,
882,
762,
46,
320,
1031,
439,
51,
489,
2900,
45,
1585,
51,
18807,
1046,
553,
312,
1031,
364,
3169,
6334,
1089,
1778,
51,
6584,
899,
45,
109,
49,
878,
312,
1031,
364,
3169,
6334,
1089,
1778,
51,
5826,
5606,
492,
733,
339,
547,
339,
547,
461,
878,
64,
419,
339,
419,
461,
920,
64,
343,
339,
310,
1487,
310,
364,
3169,
6334,
1089,
1778,
51,
22304,
10464,
2239,
45,
11252,
2239,
3169,
312,
603,
12800,
2239,
18347,
299,
556,
4340,
51,
1501,
10464,
2239,
365,
320,
343,
496,
1806,
343,
581,
1922,
563,
10464,
45,
1089,
373,
49,
30388,
1167,
1708,
46,
320,
419,
364,
14334,
18347,
51,
286,
10464,
1167,
45,
1585,
312,
419,
434,
1445,
13929,
100,
14332,
100,
36074,
51,
3591,
45,
114,
80,
948,
638,
509,
320,
547,
3593,
327,
1585,
51,
28103,
1177,
320,
733,
1152,
30388,
1167,
51,
8755,
100,
10453,
63,
1031,
1496,
93,
299,
1708,
51,
18807,
492,
1031,
1644,
64,
733,
1152,
30388,
1167,
51,
8755,
100,
2430,
63,
1031,
434,
1445,
114,
1640,
3967,
8338,
979,
327,
1585,
51,
18807,
365,
449,
1496,
93,
46,
868,
364,
18347,
6334,
1089,
1778,
51,
28987,
3451,
1985,
941,
1304,
4058,
365,
536,
244,
60,
46,
320,
1396,
1916,
23504,
299,
364,
3695,
1301,
449,
364,
1778,
1301,
64,
1396,
434,
327,
5728,
51,
3615,
45,
114,
18347,
6334,
1089,
1778,
51,
390,
12020,
464,
5671,
93,
365,
449,
23504,
46,
350,
244,
58,
53,
46,
320,
1908,
434,
327,
125,
26945,
51,
911,
365,
2394,
364,
1089,
2627,
46,
320,
2493,
364,
1089,
2627,
299,
364,
1089,
2627,
494,
244,
54,
53,
53,
64,
2493,
3787,
2743,
51,
390,
114,
5121,
19431,
941,
2729,
903,
6334,
80,
948,
45,
17967,
100,
333,
49,
364,
1089,
2627,
49,
364,
80,
948,
638,
312,
1908,
339,
1396,
339,
1031,
339,
1031,
1644,
64,
733,
1263,
63,
1031,
1644,
64,
547,
339,
419,
339,
419,
434,
327,
114,
1640,
3967,
8338,
979,
1708,
51,
28103,
365,
630,
30388,
1167,
51,
8755,
100,
13522,
46,
320,
547,
1916,
2687,
3041,
299,
364,
3169,
6334,
1089,
1778,
51,
28987,
3451,
1985,
941,
1304,
3041,
492,
547,
1916,
11861,
3041,
299,
364,
18347,
6334,
1089,
1778,
51,
28987,
3451,
1985,
941,
1304,
3041,
492,
547,
1916,
553,
299,
1708,
51,
20421,
492,
547,
434,
327,
126,
868,
11861,
3041,
46,
320,
733,
453,
46596,
4329,
4316,
7209,
7071,
733,
1708,
51,
35853,
45,
1585,
51,
18807,
1046,
553,
449,
11861,
3041,
312,
733,
12800,
2239,
7883,
51,
286,
10464,
45,
123,
49,
1708,
312,
547,
339,
832,
434,
327,
126,
2527,
244,
53,
46,
320,
733,
453,
37282,
3011,
7209,
7071,
30847,
7209,
733,
1708,
51,
35853,
45,
1585,
51,
18807,
1046,
553,
494,
2687,
3041,
312,
733,
12800,
2239,
3169,
51,
286,
10464,
45,
123,
49,
1708,
312,
547,
339,
832,
320,
733,
43999,
439,
299,
364,
18347,
6334,
1089,
1778,
51,
390,
13352,
1103,
10464,
1962,
45,
1585,
51,
18807,
1046,
553,
312,
733,
434,
327,
109,
882,
762,
46,
320,
1031,
439,
51,
489,
2900,
45,
1585,
51,
18807,
1046,
553,
312,
1031,
364,
18347,
6334,
1089,
1778,
51,
6584,
899,
45,
109,
49,
878,
312,
1031,
364,
18347,
6334,
1089,
1778,
51,
5826,
5606,
492,
733,
339,
547,
339,
547,
461,
878,
64,
419,
339,
419,
461,
920,
64,
343,
339,
310,
1487,
310,
364,
18347,
6334,
1089,
1778,
51,
22304,
10464,
2239,
45,
11252,
2239,
18347,
312,
603,
12800,
2239,
7883,
299,
556,
4340,
51,
1501,
10464,
2239,
365,
320,
343,
496,
1806,
343,
581,
1922,
563,
10464,
45,
1089,
373,
49,
30388,
1167,
1708,
46,
320,
419,
364,
14334,
7883,
51,
286,
10464,
1167,
45,
1585,
312,
419,
434,
1445,
13929,
100,
14332,
100,
36074,
51,
3591,
45,
114,
80,
948,
638,
509,
320,
547,
3593,
327,
1585,
51,
28103,
1177,
320,
733,
1152,
30388,
1167,
51,
8755,
100,
10453,
63,
1031,
1496,
93,
299,
1708,
51,
18807,
492,
1031,
1644,
64,
733,
1152,
30388,
1167,
51,
8755,
100,
2430,
63,
1031,
434,
1445,
114,
1640,
3967,
8338,
979,
327,
1585,
51,
18807,
365,
449,
1496,
93,
46,
868,
364,
7883,
6334,
1089,
1778,
51,
28987,
3451,
1985,
941,
1304,
4058,
365,
536,
244,
60,
46,
320,
1396,
1916,
23504,
299,
364,
3695,
1301,
449,
364,
1778,
1301,
64,
1396,
434,
327,
5728,
51,
3615,
45,
114,
7883,
6334,
1089,
1778,
51,
390,
12020,
464,
5671,
93,
365,
449,
23504,
46,
350,
244,
58,
53,
46,
320,
1908,
434,
327,
125,
26945,
51,
911,
365,
2394,
364,
1089,
2627,
46,
320,
2493,
364,
1089,
2627,
299,
364,
1089,
2627,
494,
244,
54,
53,
53,
64,
2493,
3787,
2743,
51,
390,
114,
5121,
19431,
941,
2729,
903,
6334,
80,
948,
45,
17967,
100,
333,
49,
364,
1089,
2627,
49,
364,
80,
948,
638,
312,
1908,
339,
1396,
339,
1031,
339,
1031,
1644,
64,
733,
1263,
63,
1031,
1644,
64,
547,
339,
419,
339,
419,
434,
327,
114,
1640,
3967,
8338,
979,
1708,
51,
28103,
365,
630,
30388,
1167,
51,
8755,
100,
13522,
46,
320,
547,
1916,
6838,
3041,
299,
364,
7883,
6334,
1089,
1778,
51,
28987,
3451,
1985,
941,
1304,
3041,
492,
547,
1916,
11861,
3041,
299,
364,
18347,
6334,
1089,
1778,
51,
28987,
3451,
1985,
941,
1304,
3041,
492,
547,
1916,
553,
299,
1708,
51,
20421,
492,
547,
434,
327,
126,
2527,
244,
53,
46,
320,
733,
453,
37282,
4316,
7209,
7071,
30847,
7209,
733,
1708,
51,
35853,
45,
1585,
51,
18807,
1046,
553,
494,
11861,
3041,
312,
733,
12800,
2239,
18347,
51,
286,
10464,
45,
123,
49,
1708,
312,
547,
339,
832,
320,
733,
434,
327,
126,
868,
6838,
3041,
46,
553,
299,
553,
449,
6838,
3041,
64,
733,
43999,
439,
299,
364,
7883,
6334,
1089,
1778,
51,
390,
13352,
1103,
10464,
1962,
45,
1585,
51,
18807,
1046,
553,
312,
733,
434,
327,
109,
882,
762,
46,
320,
1031,
439,
51,
489,
2900,
45,
1585,
51,
18807,
1046,
553,
312,
1031,
364,
7883,
6334,
1089,
1778,
51,
6584,
899,
45,
109,
49,
878,
312,
1031,
364,
7883,
6334,
1089,
1778,
51,
5826,
5606,
492,
733,
339,
547,
339,
547,
461,
878,
64,
419,
339,
419,
461,
920,
64,
343,
339,
310,
1487,
310,
364,
7883,
6334,
1089,
1778,
51,
22304,
10464,
2239,
45,
11252,
2239,
7883,
312,
603,
364,
3169,
6334,
1089,
1778,
51,
22304,
6334,
899,
4559,
2239,
45,
909,
2715,
6334,
899,
4559,
2239,
365,
320,
343,
496,
1806,
343,
581,
782,
563,
899,
4559,
45,
2717,
503,
49,
43999,
439,
46,
320,
419,
35010,
26723,
299,
364,
3169,
6334,
1089,
1778,
51,
390,
15070,
45,
94,
6370,
51,
6370,
9666,
51,
10779,
312,
419,
1916,
553,
25795,
299,
364,
3169,
6334,
1089,
1778,
51,
20421,
6334,
2725,
492,
419,
1916,
553,
34429,
299,
364,
3169,
6334,
1089,
1778,
51,
20421,
6334,
2944,
492,
419,
1916,
837,
899,
299,
439,
51,
18807,
492,
419,
1916,
553,
2944,
299,
327,
1832,
46,
26723,
51,
390,
7040,
1580,
3367,
45,
125,
899,
49,
553,
25795,
566,
126,
64,
419,
1916,
553,
2725,
299,
327,
1832,
46,
26723,
51,
390,
7040,
1580,
3367,
45,
125,
899,
49,
553,
34429,
566,
126,
64,
419,
1916,
12800,
94,
299,
439,
51,
390,
2900,
94,
36622,
11341,
6979,
5435,
26367,
5864,
2924,
1634,
6334,
24905,
94,
35702,
1140,
12886,
11341,
40640,
29439,
5944,
3011,
17677,
4857,
419,
1916,
553,
768,
299,
327,
126,
2725,
449,
12800,
94,
46,
536,
327,
126,
2725,
449,
553,
2944,
46,
338,
327,
126,
25795,
449,
553,
34429,
46,
494,
553,
34429,
64,
419,
553,
899,
299,
38417,
45275,
51,
2882,
5243,
1103,
85,
10793,
45,
126,
768,
494,
4343,
16893,
100,
333,
312,
419,
1916,
553,
299,
12800,
94,
449,
364,
3169,
6334,
1089,
1778,
51,
22361,
492,
419,
43999,
17613,
299,
364,
18347,
6334,
1089,
1778,
51,
390,
13352,
1103,
10464,
1962,
45,
109,
51,
390,
15535,
125,
1046,
439,
51,
390,
16820,
125,
1052,
419,
434,
327,
5395,
882,
762,
46,
17613,
51,
489,
2900,
45,
109,
51,
18807,
1046,
553,
312,
419,
364,
18347,
6334,
1089,
1778,
51,
6584,
899,
45,
5395,
312,
419,
43999,
17613,
7883,
299,
364,
7883,
6334,
1089,
1778,
51,
390,
13352,
1103,
10464,
1962,
45,
109,
51,
390,
15535,
125,
1046,
439,
51,
390,
16820,
125,
1052,
419,
434,
327,
5395,
7883,
882,
762,
46,
17613,
7883,
51,
489,
2900,
45,
109,
51,
18807,
1046,
553,
312,
419,
364,
7883,
6334,
1089,
1778,
51,
6584,
899,
45,
5395,
7883,
312,
343,
339,
1083,
496,
1806,
343,
581,
782,
563,
17975,
4559,
365,
320,
419,
9736,
6334,
23638,
45,
114,
3283,
1301,
449,
364,
1778,
1301,
312,
419,
364,
18347,
6334,
1089,
1778,
51,
6584,
899,
45,
1710,
312,
419,
364,
7883,
6334,
1089,
1778,
51,
6584,
899,
45,
1710,
312,
343,
339,
310,
1141,
603,
364,
18347,
6334,
1089,
1778,
51,
22304,
6334,
899,
4559,
2239,
45,
909,
2715,
6334,
899,
4559,
2239,
365,
320,
343,
496,
1806,
343,
581,
782,
563,
899,
4559,
45,
2717,
503,
49,
43999,
439,
46,
320,
419,
35010,
26723,
299,
364,
18347,
6334,
1089,
1778,
51,
390,
15070,
45,
94,
6370,
51,
6370,
9666,
51,
10779,
312,
419,
1916,
553,
25795,
299,
364,
18347,
6334,
1089,
1778,
51,
20421,
6334,
2725,
492,
419,
1916,
837,
899,
299,
439,
51,
18807,
492,
419,
1916,
553,
2944,
299,
327,
1832,
46,
26723,
51,
390,
7040,
1580,
3367,
45,
125,
899,
49,
553,
25795,
566,
126,
64,
419,
1916,
553,
2725,
299,
327,
1832,
46,
26723,
51,
390,
7040,
1580,
3367,
45,
125,
899,
49,
244,
53,
566,
126,
64,
419,
1916,
12800,
94,
299,
439,
51,
390,
2900,
94,
36622,
11341,
6979,
5435,
26367,
5864,
2924,
1634,
6334,
24905,
94,
35702,
1140,
12886,
11341,
40640,
29439,
5944,
3011,
17677,
4857,
419,
648,
553,
768,
299,
327,
429,
46,
1849,
126,
2725,
449,
12800,
94,
46,
536,
327,
126,
2725,
449,
553,
2944,
46,
338,
553,
25795,
312,
419,
553,
899,
299,
553,
768,
494,
5127,
419,
1916,
553,
299,
12800,
94,
494,
364,
3169,
6334,
1089,
1778,
51,
22361,
492,
419,
43999,
17613,
299,
364,
3169,
6334,
1089,
1778,
51,
390,
13352,
1103,
10464,
1962,
45,
109,
51,
390,
15535,
125,
1046,
439,
51,
390,
16820,
125,
1052,
419,
434,
327,
5395,
882,
762,
46,
17613,
51,
489,
2900,
45,
109,
51,
18807,
1046,
553,
312,
419,
364,
3169,
6334,
1089,
1778,
51,
6584,
899,
45,
5395,
312,
419,
1916,
553,
7883,
299,
12800,
94,
449,
364,
18347,
6334,
1089,
1778,
51,
22361,
492,
419,
43999,
17613,
7883,
299,
364,
7883,
6334,
1089,
1778,
51,
390,
13352,
1103,
10464,
1962,
45,
109,
51,
390,
15535,
125,
1046,
439,
51,
390,
16820,
125,
1052,
419,
434,
327,
5395,
7883,
882,
762,
46,
17613,
7883,
51,
489,
2900,
45,
109,
51,
18807,
1046,
553,
7883,
312,
419,
364,
7883,
6334,
1089,
1778,
51,
6584,
899,
45,
5395,
7883,
312,
343,
339,
1083,
496,
1806,
343,
581,
782,
563,
17975,
4559,
365,
320,
419,
9736,
6334,
23638,
45,
114,
3283,
1301,
449,
364,
1778,
1301,
312,
419,
364,
3169,
6334,
1089,
1778,
51,
6584,
899,
45,
1710,
312,
419,
364,
7883,
6334,
1089,
1778,
51,
6584,
899,
45,
1710,
312,
343,
339,
310,
1141,
603,
364,
7883,
6334,
1089,
1778,
51,
22304,
6334,
899,
4559,
2239,
45,
909,
2715,
6334,
899,
4559,
2239,
365,
320,
343,
496,
1806,
343,
581,
782,
563,
899,
4559,
45,
2717,
503,
49,
43999,
439,
46,
320,
419,
35010,
26723,
299,
364,
7883,
6334,
1089,
1778,
51,
390,
15070,
45,
94,
6370,
51,
6370,
9666,
51,
10779,
312,
419,
1916,
553,
25795,
299,
364,
7883,
6334,
1089,
1778,
51,
20421,
6334,
2725,
492,
419,
1916,
553,
34429,
299,
364,
7883,
6334,
1089,
1778,
51,
20421,
6334,
2944,
492,
419,
1916,
837,
899,
299,
439,
51,
18807,
492,
419,
1916,
553,
2944,
299,
327,
1832,
46,
26723,
51,
390,
7040,
1580,
3367,
45,
125,
899,
49,
553,
25795,
566,
126,
64,
419,
1916,
553,
2725,
299,
327,
1832,
46,
26723,
51,
390,
7040,
1580,
3367,
45,
125,
899,
49,
553,
34429,
566,
126,
64,
419,
1916,
12800,
94,
299,
439,
51,
390,
2900,
94,
36622,
11341,
6979,
5435,
26367,
5864,
2924,
1634,
6334,
24905,
94,
35702,
1140,
12886,
11341,
40640,
29439,
5944,
3011,
17677,
4857,
419,
1916,
553,
768,
299,
327,
126,
2725,
449,
12800,
94,
46,
536,
327,
126,
2725,
449,
553,
2944,
46,
338,
327,
126,
25795,
449,
553,
34429,
46,
494,
553,
34429,
64,
419,
553,
899,
299,
4189,
2769,
51,
1514,
45,
126,
768,
494,
4343,
244,
55,
312,
419,
1916,
553,
299,
12800,
94,
494,
364,
3169,
6334,
1089,
1778,
51,
22361,
365,
494,
364,
18347,
6334,
1089,
1778,
51,
22361,
492,
419,
43999,
17613,
299,
364,
3169,
6334,
1089,
1778,
51,
390,
13352,
1103,
10464,
1962,
45,
109,
51,
390,
15535,
125,
1046,
439,
51,
390,
16820,
125,
1052,
419,
434,
327,
5395,
882,
762,
46,
17613,
51,
489,
2900,
45,
109,
51,
18807,
1046,
553,
312,
419,
364,
3169,
6334,
1089,
1778,
51,
6584,
899,
45,
5395,
312,
419,
43999,
17613,
18347,
299,
364,
18347,
6334,
1089,
1778,
51,
390,
13352,
1103,
10464,
1962,
45,
109,
51,
390,
15535,
125,
1046,
439,
51,
390,
16820,
125,
1052,
419,
434,
327,
5395,
18347,
882,
762,
46,
17613,
18347,
51,
489,
2900,
45,
109,
51,
18807,
1046,
553,
312,
419,
364,
18347,
6334,
1089,
1778,
51,
6584,
899,
45,
5395,
18347,
312,
343,
339,
1083,
496,
1806,
343,
581,
782,
563,
17975,
4559,
365,
320,
419,
9736,
6334,
23638,
45,
114,
3283,
1301,
449,
364,
1778,
1301,
312,
419,
364,
3169,
6334,
1089,
1778,
51,
6584,
899,
45,
1710,
312,
419,
364,
18347,
6334,
1089,
1778,
51,
6584,
899,
45,
1710,
312,
343,
339,
310,
1141,
465,
339,
465,
1041,
294,
338,
2361,
63,
244,
55,
53,
54,
62,
52,
60,
52,
56,
53,
294,
338,
3066,
63,
244,
43935,
14190,
5211,
23105,
7044,
2546,
156,
3022,
154,
294,
588,
303,
964,
782,
15189,
11126,
365,
320,
310,
648,
2687,
3041,
299,
327,
429,
46,
327,
114,
3169,
6334,
1089,
1778,
51,
28987,
3451,
1985,
941,
1304,
3041,
1052,
310,
434,
327,
13929,
100,
14332,
100,
36074,
51,
3591,
45,
114,
5763,
638,
509,
343,
1849,
3075,
6303,
5763,
51,
3075,
6303,
11126,
1089,
46,
364,
3169,
6334,
1089,
1778,
51,
390,
11126,
4269,
8529,
45,
1412,
3041,
312,
310,
832,
1849,
80,
948,
5763,
51,
80,
948,
11126,
1089,
46,
364,
3169,
6334,
1089,
1778,
51,
390,
11126,
4269,
8529,
45,
1412,
3041,
312,
303,
339,
465,
1041,
294,
338,
2361,
63,
244,
55,
53,
54,
62,
52,
60,
52,
56,
294,
338,
4096,
63,
683,
291,
393,
294,
338,
3066,
63,
19130,
6363,
24447,
333,
294,
588,
303,
581,
782,
758,
17568,
100,
333,
45,
671,
7951,
46,
320,
310,
16893,
100,
333,
299,
7951,
64,
310,
7438,
2234,
3252,
2234,
299,
38417,
45275,
51,
390,
3209,
10502,
941,
390,
45,
17967,
100,
333,
312,
310,
434,
327,
17967,
100,
333,
51,
4766,
459,
80,
86,
678,
979,
3252,
2234,
882,
762,
46,
343,
16893,
100,
333,
100,
6561,
299,
3252,
2234,
51,
390,
12921,
9470,
100,
7029,
492,
310,
832,
16893,
100,
333,
100,
6561,
299,
16893,
100,
333,
64,
303,
339,
465,
496,
1806,
303,
581,
782,
2539,
365,
320,
310,
434,
327,
114,
1089,
630,
762,
46,
461,
64,
310,
453,
17818,
7071,
4461,
14183,
310,
434,
327,
120,
42549,
51,
1309,
100,
19397,
100,
12466,
100,
11841,
46,
320,
343,
364,
18347,
6334,
1089,
1778,
51,
20070,
45,
1089,
51,
27774,
312,
343,
364,
7883,
6334,
1089,
1778,
51,
20070,
45,
1089,
51,
27774,
312,
310,
339,
832,
320,
343,
364,
18347,
6334,
1089,
1778,
51,
20070,
45,
1089,
51,
18392,
312,
343,
364,
7883,
6334,
1089,
1778,
51,
20070,
45,
1089,
51,
18392,
312,
310,
339,
310,
3238,
6916,
739,
492,
303,
339,
4054,
496,
1806,
303,
581,
782,
11920,
365,
320,
303,
339,
465,
496,
1806,
303,
581,
782,
9736,
5121,
365,
320,
310,
434,
327,
114,
1089,
630,
762,
46,
461,
64,
310,
5194,
80,
948,
492,
303,
339,
4054,
496,
1806,
303,
581,
782,
9736,
3202,
365,
320,
310,
434,
327,
114,
1089,
630,
762,
46,
461,
64,
310,
2694,
2234,
1275,
2234,
299,
328,
42549,
51,
390,
16730,
5358,
941,
390,
3715,
941,
390,
45,
120,
42549,
51,
4991,
100,
798,
312,
310,
434,
327,
514,
2234,
630,
762,
46,
461,
64,
310,
434,
327,
114,
1640,
10710,
46,
320,
343,
456,
327,
2888,
2234,
2554,
2234,
518,
547,
1275,
2234,
51,
390,
15939,
941,
2857,
1177,
320,
419,
434,
327,
1191,
2234,
882,
762,
979,
733,
327,
1191,
2234,
51,
390,
11900,
100,
333,
365,
494,
17029,
494,
2554,
2234,
51,
390,
17568,
100,
333,
1177,
1396,
657,
3591,
45,
17967,
100,
333,
100,
6561,
509,
320,
547,
910,
1221,
299,
2554,
2234,
51,
11728,
492,
3704,
434,
1445,
114,
2888,
5829,
8690,
51,
15927,
45,
697,
509,
320,
733,
434,
327,
5965,
100,
744,
5765,
51,
3591,
45,
1191,
2234,
51,
19642,
5183,
320,
1031,
1035,
3597,
2888,
5829,
1829,
45,
1191,
2234,
312,
733,
339,
547,
339,
832,
320,
733,
434,
327,
5965,
100,
48321,
51,
3591,
45,
1191,
2234,
51,
19642,
5183,
320,
1031,
3365,
3597,
2888,
5829,
1829,
45,
697,
312,
733,
339,
547,
339,
419,
339,
343,
339,
310,
339,
603,
434,
327,
114,
1640,
2746,
46,
320,
343,
910,
1221,
299,
16893,
100,
333,
100,
6561,
64,
343,
434,
1445,
114,
2746,
5829,
8690,
51,
15927,
45,
697,
494,
332,
53,
2152,
320,
419,
453,
14101,
6525,
14814,
9583,
36047,
9717,
419,
1035,
3967,
2746,
5829,
1829,
492,
343,
339,
832,
320,
419,
453,
44089,
6525,
14814,
9583,
36047,
9717,
419,
9736,
3967,
2746,
5829,
1829,
492,
343,
339,
1083,
434,
1445,
114,
2746,
5829,
8690,
51,
15927,
45,
697,
494,
332,
54,
2152,
320,
419,
453,
14101,
9670,
9583,
36047,
9717,
419,
1035,
6881,
2746,
5829,
1829,
492,
343,
339,
832,
320,
419,
453,
44089,
9670,
14814,
9583,
36047,
9717,
419,
9736,
6881,
2746,
5829,
1829,
492,
343,
339,
310,
339,
303,
339,
465,
1041,
294,
338,
2361,
63,
244,
59,
52,
55,
61,
52,
54,
61,
294,
338,
4096,
63,
683,
291,
393,
294,
338,
3066,
63,
244,
44089,
3677,
9063,
7853,
294,
588,
303,
2532,
782,
5194,
80,
948,
365,
320,
303,
339,
465,
1041,
294,
338,
2361,
63,
244,
55,
53,
54,
62,
52,
58,
52,
54,
55,
294,
338,
4096,
63,
683,
291,
393,
294,
338,
3066,
63,
41930,
251,
9670,
3677,
9063,
7071,
294,
588,
303,
2532,
782,
4250,
80,
948,
365,
320,
303,
339,
465,
1041,
294,
338,
2361,
63,
244,
59,
52,
54,
52,
54,
61,
294,
338,
4096,
63,
683,
291,
393,
294,
338,
3066,
63,
244,
26206,
9583,
36047,
9717,
294,
588,
303,
2532,
782,
1035,
2746,
5829,
8690,
365,
320,
310,
1035,
3967,
2746,
5829,
1829,
492,
310,
1035,
6881,
2746,
5829,
1829,
492,
303,
339,
465,
1041,
294,
338,
2361,
63,
244,
59,
52,
59,
52,
54,
61,
294,
338,
4096,
63,
683,
291,
393,
294,
338,
3066,
63,
32339,
6525,
14814,
9583,
36047,
9717,
294,
588,
303,
964,
782,
1035,
3967,
2746,
5829,
1829,
365,
320,
310,
1614,
320,
343,
910,
1221,
299,
16893,
100,
333,
100,
6561,
64,
343,
2694,
2234,
1275,
2234,
299,
328,
42549,
51,
390,
16730,
5358,
941,
390,
3715,
941,
390,
45,
120,
42549,
51,
4991,
100,
798,
312,
343,
434,
327,
514,
2234,
630,
762,
46,
461,
64,
343,
11943,
2234,
2764,
2234,
299,
1275,
2234,
51,
390,
17943,
941,
390,
45,
697,
312,
1083,
434,
327,
2719,
2234,
630,
762,
46,
461,
64,
343,
648,
6883,
100,
3239,
299,
4418,
51,
11824,
45,
2719,
2234,
51,
390,
6806,
100,
3239,
1052,
343,
434,
327,
7259,
100,
3239,
882,
244,
53,
46,
320,
419,
910,
2741,
100,
3239,
299,
38417,
45275,
51,
2882,
5243,
1103,
85,
10793,
45,
2719,
2234,
51,
390,
2981,
100,
4440,
100,
3239,
1046,
1221,
312,
419,
910,
2300,
100,
3239,
299,
2741,
100,
3239,
494,
13198,
494,
6883,
100,
3239,
494,
332,
11341,
884,
419,
4468,
5829,
1829,
45,
3690,
51,
9169,
45,
3262,
100,
3239,
490,
2300,
100,
3239,
49,
364,
1530,
16353,
49,
1221,
494,
332,
53,
411,
6883,
100,
3239,
49,
16106,
1829,
51,
5829,
2186,
2746,
51,
10779,
100,
9526,
312,
343,
339,
310,
339,
2385,
327,
1936,
25931,
557,
46,
320,
343,
557,
51,
9428,
492,
310,
339,
303,
339,
465,
1041,
294,
338,
2361,
63,
244,
59,
52,
59,
52,
54,
61,
294,
338,
4096,
63,
683,
291,
393,
294,
338,
3066,
63,
32339,
9670,
14814,
9583,
36047,
9717,
294,
588,
303,
964,
782,
1035,
6881,
2746,
5829,
1829,
365,
320,
310,
1614,
320,
343,
910,
1221,
299,
16893,
100,
333,
100,
6561,
64,
343,
2694,
2234,
1275,
2234,
299,
328,
42549,
51,
390,
16730,
5358,
941,
390,
3715,
941,
390,
45,
120,
42549,
51,
4991,
100,
798,
312,
343,
434,
327,
514,
2234,
630,
762,
46,
461,
64,
343,
11943,
2234,
2764,
2234,
299,
1275,
2234,
51,
390,
17943,
941,
390,
45,
697,
312,
343,
434,
327,
2719,
2234,
630,
762,
46,
461,
64,
1083,
648,
6883,
100,
4036,
299,
4418,
51,
11824,
45,
2719,
2234,
51,
390,
6806,
100,
4036,
1052,
343,
434,
327,
7259,
100,
4036,
882,
244,
53,
46,
320,
419,
910,
2741,
100,
4036,
299,
38417,
45275,
51,
2882,
5243,
1103,
85,
10793,
45,
2719,
2234,
51,
390,
2981,
100,
4440,
100,
4036,
1046,
1221,
312,
419,
910,
2300,
100,
4036,
299,
2741,
100,
4036,
494,
13198,
494,
6883,
100,
4036,
494,
332,
11341,
884,
419,
4468,
5829,
1829,
45,
3690,
51,
9169,
45,
3262,
100,
4036,
490,
2300,
100,
4036,
49,
364,
1530,
27516,
49,
1221,
494,
332,
54,
411,
6883,
100,
4036,
49,
16106,
1829,
51,
5829,
2186,
2746,
51,
10779,
100,
27991,
312,
343,
339,
310,
339,
2385,
327,
1936,
25931,
557,
46,
320,
343,
557,
51,
9428,
492,
310,
339,
303,
339,
465,
1041,
294,
338,
2361,
63,
244,
59,
52,
59,
52,
54,
61,
294,
338,
4096,
63,
683,
291,
393,
294,
338,
3066,
63,
32339,
45949,
9583,
36047,
9717,
294,
588,
303,
964,
782,
4468,
5829,
1829,
45,
1832,
2741,
49,
910,
2300,
49,
648,
1989,
49,
910,
2741,
971,
49,
4418,
6883,
49,
16106,
1829,
51,
5829,
2186,
2746,
2764,
46,
320,
310,
16106,
1829,
2741,
1829,
299,
556,
16106,
1829,
45,
3262,
49,
2300,
312,
310,
2741,
1829,
51,
489,
41256,
45,
53,
51,
60,
107,
312,
310,
2741,
1829,
51,
4909,
73,
22258,
1829,
45,
54,
53,
107,
49,
244,
54,
53,
107,
49,
244,
53,
107,
312,
310,
2741,
1829,
51,
489,
1829,
1530,
45,
1507,
312,
310,
2741,
1829,
51,
44062,
2746,
45,
2719,
312,
310,
2741,
1829,
51,
6619,
1269,
45,
54,
53,
107,
312,
310,
2741,
1829,
51,
42626,
45,
114,
1530,
1049,
312,
310,
364,
2746,
5829,
8690,
51,
543,
45,
3262,
971,
49,
2741,
1829,
312,
310,
364,
2746,
31175,
51,
543,
45,
3262,
971,
49,
6883,
312,
310,
364,
3169,
6334,
1089,
1778,
51,
390,
6370,
3695,
941,
688,
5829,
1829,
45,
3262,
1829,
312,
310,
364,
3169,
6334,
1089,
1778,
51,
27328,
492,
303,
339,
465,
1041,
294,
338,
2361,
63,
244,
59,
52,
54,
52,
54,
61,
294,
338,
4096,
63,
683,
291,
393,
294,
338,
3066,
63,
244,
44089,
6525,
14814,
9583,
36047,
9717,
294,
588,
303,
964,
782,
9736,
3967,
2746,
5829,
1829,
365,
320,
310,
1614,
320,
343,
910,
1221,
299,
16893,
100,
333,
100,
6561,
64,
343,
2694,
2234,
1275,
2234,
299,
328,
42549,
51,
390,
16730,
5358,
941,
390,
3715,
941,
390,
45,
120,
42549,
51,
4991,
100,
798,
312,
343,
434,
327,
514,
2234,
630,
762,
46,
461,
64,
343,
11943,
2234,
2764,
2234,
299,
1275,
2234,
51,
390,
17943,
941,
390,
45,
697,
312,
343,
910,
2741,
971,
299,
1221,
494,
332,
53,
884,
343,
434,
327,
2719,
2234,
630,
762,
46,
461,
64,
1083,
648,
6883,
100,
3239,
299,
4418,
51,
11824,
45,
2719,
2234,
51,
390,
6806,
100,
3239,
1052,
343,
434,
327,
7259,
100,
3239,
882,
244,
53,
46,
320,
419,
910,
2741,
100,
3239,
100,
88,
299,
38417,
45275,
51,
2882,
5243,
1103,
85,
10793,
45,
2719,
2234,
51,
390,
2981,
100,
4440,
100,
3239,
1046,
1221,
312,
419,
1916,
2741,
100,
3239,
299,
8182,
51,
31793,
45,
3262,
100,
3239,
100,
88,
312,
419,
16106,
1829,
2741,
1829,
299,
364,
2746,
5829,
8690,
51,
390,
45,
3262,
971,
312,
419,
648,
6883,
100,
3239,
100,
113,
299,
364,
2746,
31175,
51,
390,
45,
3262,
971,
312,
419,
434,
327,
3262,
1829,
51,
390,
5829,
365,
882,
2741,
100,
3239,
1293,
6883,
100,
3239,
100,
113,
882,
6883,
100,
3239,
46,
320,
547,
910,
2300,
100,
3239,
299,
2741,
100,
3239,
100,
88,
494,
13198,
494,
6883,
100,
3239,
494,
332,
11341,
884,
547,
364,
3169,
6334,
1089,
1778,
51,
390,
6370,
3695,
941,
2564,
5829,
1829,
45,
114,
2746,
5829,
8690,
51,
390,
45,
3262,
971,
894,
547,
364,
2746,
5829,
8690,
51,
2564,
45,
3262,
971,
312,
547,
364,
2746,
31175,
51,
2564,
45,
3262,
971,
312,
547,
4468,
5829,
1829,
45,
3262,
100,
3239,
49,
2300,
100,
3239,
49,
364,
1530,
16353,
49,
2741,
971,
49,
6883,
100,
3239,
49,
16106,
1829,
51,
5829,
2186,
2746,
51,
10779,
100,
9526,
312,
419,
339,
343,
339,
832,
320,
419,
364,
3169,
6334,
1089,
1778,
51,
390,
6370,
3695,
941,
2564,
5829,
1829,
45,
114,
2746,
5829,
8690,
51,
390,
45,
3262,
971,
894,
419,
364,
3169,
6334,
1089,
1778,
51,
27328,
492,
419,
364,
2746,
5829,
8690,
51,
2564,
45,
3262,
971,
312,
419,
364,
2746,
31175,
51,
2564,
45,
3262,
971,
312,
343,
339,
310,
339,
2385,
327,
1936,
25931,
557,
46,
320,
343,
557,
51,
9428,
492,
310,
339,
465,
339,
465,
1041,
294,
338,
2361,
63,
244,
59,
52,
54,
52,
54,
61,
294,
338,
4096,
63,
683,
291,
393,
294,
338,
3066,
63,
244,
44089,
9670,
14814,
9583,
36047,
9717,
294,
588,
303,
964,
782,
9736,
6881,
2746,
5829,
1829,
365,
320,
310,
1614,
320,
343,
910,
1221,
299,
16893,
100,
333,
100,
6561,
64,
343,
2694,
2234,
1275,
2234,
299,
328,
42549,
51,
390,
16730,
5358,
941,
390,
3715,
941,
390,
45,
120,
42549,
51,
4991,
100,
798,
312,
343,
434,
327,
514,
2234,
630,
762,
46,
461,
64,
343,
11943,
2234,
2764,
2234,
299,
1275,
2234,
51,
390,
17943,
941,
390,
45,
697,
312,
343,
910,
2741,
971,
299,
1221,
494,
332,
54,
884,
343,
434,
327,
2719,
2234,
630,
762,
46,
461,
64,
1083,
648,
6883,
100,
4036,
299,
4418,
51,
11824,
45,
2719,
2234,
51,
390,
6806,
100,
4036,
1052,
343,
434,
327,
7259,
100,
4036,
882,
244,
53,
46,
320,
419,
910,
2741,
100,
4036,
100,
88,
299,
38417,
45275,
51,
2882,
5243,
1103,
85,
10793,
45,
2719,
2234,
51,
390,
2981,
100,
4440,
100,
4036,
1046,
1221,
312,
419,
1916,
2741,
100,
4036,
299,
8182,
51,
31793,
45,
3262,
100,
4036,
100,
88,
312,
419,
16106,
1829,
2741,
1829,
299,
364,
2746,
5829,
8690,
51,
390,
45,
3262,
971,
312,
419,
648,
6883,
100,
4036,
100,
113,
299,
364,
2746,
31175,
51,
390,
45,
3262,
971,
312,
419,
434,
327,
3262,
1829,
51,
390,
5829,
365,
882,
2741,
100,
4036,
1293,
6883,
100,
4036,
100,
113,
882,
6883,
100,
4036,
46,
320,
547,
910,
2300,
100,
4036,
299,
2741,
100,
4036,
100,
88,
494,
13198,
494,
6883,
100,
4036,
494,
332,
11341,
884,
547,
364,
3169,
6334,
1089,
1778,
51,
390,
6370,
3695,
941,
2564,
5829,
1829,
45,
114,
2746,
5829,
8690,
51,
390,
45,
3262,
971,
894,
547,
364,
2746,
5829,
8690,
51,
2564,
45,
3262,
971,
312,
547,
364,
2746,
31175,
51,
2564,
45,
3262,
971,
312,
547,
4468,
5829,
1829,
45,
3262,
100,
4036,
49,
2300,
100,
4036,
49,
364,
1530,
27516,
49,
2741,
971,
49,
6883,
100,
4036,
49,
16106,
1829,
51,
5829,
2186,
2746,
51,
10779,
100,
27991,
312,
419,
339,
343,
339,
832,
320,
419,
364,
3169,
6334,
1089,
1778,
51,
390,
6370,
3695,
941,
2564,
5829,
1829,
45,
114,
2746,
5829,
8690,
51,
390,
45,
3262,
971,
894,
419,
364,
3169,
6334,
1089,
1778,
51,
27328,
492,
419,
364,
2746,
5829,
8690,
51,
2564,
45,
3262,
971,
312,
419,
364,
2746,
31175,
51,
2564,
45,
3262,
971,
312,
343,
339,
310,
339,
2385,
327,
1936,
25931,
557,
46,
320,
343,
557,
51,
9428,
492,
310,
339,
303,
339,
465,
1041,
294,
338,
2361,
63,
244,
60,
52,
62,
52,
54,
60,
294,
338,
4096,
63,
683,
291,
393,
294,
338,
3066,
63,
244,
42414,
9583,
36047,
9717,
294,
588,
303,
2532,
782,
3365,
2746,
5829,
8690,
365,
320,
310,
434,
1445,
114,
2746,
5829,
8690,
51,
6401,
1177,
320,
343,
456,
327,
5829,
1829,
2741,
1829,
518,
547,
364,
2746,
5829,
8690,
51,
2857,
1177,
320,
419,
364,
3169,
6334,
1089,
1778,
51,
390,
6370,
3695,
941,
2564,
5829,
1829,
45,
3262,
1829,
312,
343,
339,
310,
339,
310,
364,
2746,
5829,
8690,
51,
3830,
492,
310,
364,
2746,
31175,
51,
3830,
492,
303,
339,
465,
1041,
294,
338,
2361,
63,
244,
59,
52,
54,
52,
54,
61,
294,
338,
4096,
63,
683,
291,
393,
294,
338,
3066,
63,
244,
26206,
45949,
4135,
248,
6420,
9717,
294,
588,
303,
964,
782,
1035,
3597,
2888,
5829,
1829,
45,
2888,
2234,
2554,
2234,
46,
320,
310,
1614,
320,
343,
648,
2741,
100,
7259,
299,
4418,
51,
11824,
45,
1191,
2234,
51,
390,
6806,
100,
290,
646,
1052,
343,
910,
1221,
299,
2554,
2234,
51,
11728,
492,
343,
910,
2741,
100,
4440,
299,
38417,
45275,
51,
2882,
5243,
1103,
85,
10793,
45,
1191,
2234,
51,
390,
5829,
100,
4440,
1046,
16893,
100,
333,
100,
6561,
312,
343,
16106,
1829,
2741,
1829,
299,
556,
16106,
1829,
45,
3690,
51,
31793,
45,
3262,
100,
4440,
490,
547,
2741,
100,
4440,
494,
13198,
494,
2741,
100,
7259,
494,
332,
11341,
742,
343,
364,
2888,
5829,
8690,
51,
543,
45,
697,
49,
2741,
1829,
312,
343,
364,
2888,
31175,
51,
543,
45,
697,
49,
2741,
100,
7259,
312,
343,
2741,
1829,
51,
489,
41256,
45,
53,
51,
60,
107,
312,
343,
2741,
1829,
51,
5826,
73,
22258,
1829,
492,
343,
434,
327,
33945,
100,
1771,
94,
51,
3591,
45,
1191,
2234,
51,
390,
5235,
5183,
320,
419,
2741,
1829,
51,
44062,
2746,
45,
5829,
1829,
51,
5829,
2186,
2746,
51,
6517,
100,
9526,
312,
419,
2741,
1829,
51,
489,
1829,
1530,
45,
114,
1530,
16353,
312,
343,
339,
832,
320,
419,
2741,
1829,
51,
44062,
2746,
45,
5829,
1829,
51,
5829,
2186,
2746,
51,
6517,
100,
27991,
312,
419,
2741,
1829,
51,
489,
1829,
1530,
45,
114,
1530,
27516,
312,
343,
339,
343,
2741,
1829,
51,
6619,
1269,
45,
54,
53,
107,
312,
343,
2741,
1829,
51,
42626,
45,
114,
1530,
1049,
312,
343,
364,
3169,
6334,
1089,
1778,
51,
390,
6370,
3695,
941,
688,
5829,
1829,
45,
3262,
1829,
312,
343,
364,
3169,
6334,
1089,
1778,
51,
27328,
492,
310,
339,
2385,
327,
1936,
25931,
557,
46,
320,
343,
557,
51,
9428,
492,
310,
339,
465,
339,
465,
1041,
294,
338,
2361,
63,
244,
59,
52,
54,
52,
54,
61,
294,
338,
4096,
63,
683,
291,
393,
294,
338,
3066,
63,
244,
42414,
45949,
4135,
248,
6420,
9717,
294,
588,
303,
964,
782,
3365,
3597,
2888,
5829,
1829,
45,
671,
1221,
46,
320,
310,
364,
3169,
6334,
1089,
1778,
51,
390,
6370,
3695,
941,
2564,
5829,
1829,
45,
114,
2888,
5829,
8690,
51,
390,
45,
697,
894,
310,
364,
3169,
6334,
1089,
1778,
51,
27328,
492,
310,
364,
2888,
5829,
8690,
51,
2564,
45,
697,
312,
310,
364,
2888,
31175,
51,
2564,
45,
697,
312,
303,
339,
465,
1041,
294,
338,
2361,
63,
244,
60,
52,
62,
52,
54,
60,
294,
338,
4096,
63,
683,
291,
393,
294,
338,
3066,
63,
244,
26206,
4135,
248,
6420,
9717,
294,
588,
303,
2532,
782,
1035,
2888,
5829,
8690,
365,
320,
310,
2694,
2234,
1275,
2234,
299,
328,
42549,
51,
390,
16730,
5358,
941,
390,
3715,
941,
390,
45,
120,
42549,
51,
4991,
100,
798,
312,
310,
434,
327,
514,
2234,
630,
762,
46,
461,
64,
310,
456,
327,
2888,
2234,
2554,
2234,
518,
419,
1275,
2234,
51,
390,
15939,
941,
2857,
1177,
320,
343,
434,
327,
1191,
2234,
882,
762,
979,
327,
1191,
2234,
51,
390,
11900,
100,
333,
365,
494,
17029,
494,
2554,
2234,
51,
390,
17568,
100,
333,
1177,
547,
657,
3591,
45,
17967,
100,
333,
100,
6561,
46,
979,
16633,
100,
744,
5765,
51,
3591,
45,
1191,
2234,
51,
19642,
5183,
320,
419,
1035,
3597,
2888,
5829,
1829,
45,
1191,
2234,
312,
343,
339,
310,
339,
303,
339,
465,
1041,
294,
338,
2361,
63,
244,
60,
52,
62,
52,
54,
60,
294,
338,
4096,
63,
683,
291,
393,
294,
338,
3066,
63,
244,
42414,
4135,
248,
6420,
9717,
294,
588,
303,
2532,
782,
3365,
2888,
5829,
8690,
365,
320,
310,
434,
1445,
114,
2888,
5829,
8690,
51,
6401,
1177,
320,
343,
456,
327,
5829,
1829,
2741,
1829,
518,
547,
364,
2888,
5829,
8690,
51,
2857,
1177,
320,
419,
364,
3169,
6334,
1089,
1778,
51,
390,
6370,
3695,
941,
2564,
5829,
1829,
45,
3262,
1829,
312,
343,
339,
310,
339,
310,
364,
2888,
5829,
8690,
51,
3830,
492,
310,
364,
2888,
31175,
51,
3830,
492,
303,
339,
465,
1041,
294,
338,
2361,
63,
244,
55,
53,
54,
62,
52,
54,
52,
54,
53,
294,
338,
4096,
63,
683,
291,
393,
294,
338,
3066,
63,
13614,
43934,
11811,
26098,
161,
294,
588,
303,
964,
910,
640,
6916,
45,
671,
7951,
46,
320,
310,
434,
327,
2395,
51,
4766,
24893,
678,
979,
7951,
51,
4766,
459,
29583,
320,
343,
7438,
2234,
3252,
2234,
299,
38417,
45275,
51,
390,
3209,
10502,
941,
390,
45,
2395,
312,
343,
434,
327,
1925,
2234,
882,
762,
46,
320,
419,
910,
10375,
54,
100,
7029,
299,
3252,
2234,
51,
390,
12290,
54,
100,
7029,
492,
419,
910,
10375,
55,
100,
7029,
299,
3252,
2234,
51,
390,
12290,
55,
100,
7029,
492,
419,
7951,
299,
10375,
54,
100,
7029,
494,
17708,
494,
10375,
55,
100,
7029,
64,
343,
339,
310,
339,
310,
461,
7951,
64,
303,
339,
465,
1041,
294,
338,
2361,
63,
244,
59,
52,
54,
52,
54,
61,
294,
338,
4096,
63,
683,
291,
393,
294,
338,
3066,
63,
851,
9717,
4857,
28703,
17738,
24017,
294,
588,
303,
496,
1806,
303,
581,
782,
563,
9413,
1089,
365,
320,
310,
2615,
51,
286,
9413,
1089,
492,
310,
3916,
5997,
51,
13729,
941,
28370,
45,
597,
312,
303,
339,
465,
1041,
294,
338,
2361,
63,
244,
55,
53,
54,
62,
52,
55,
52,
55,
53,
294,
338,
4096,
63,
683,
291,
393,
294,
338,
3066,
63,
244,
17818,
44458,
4496,
26066,
7209,
1096,
7071,
4461,
14183,
294,
588,
303,
496,
15981,
303,
581,
782,
563,
1167,
1778,
45,
9952,
1167,
727,
46,
320,
310,
453,
10654,
5207,
2924,
7071,
24905,
14190,
5211,
23105,
7044,
10387,
10691,
310,
364,
3169,
6334,
1089,
1778,
51,
6584,
899,
45,
1710,
312,
310,
434,
327,
624,
51,
31215,
1177,
320,
343,
364,
18347,
6334,
1089,
1778,
51,
20070,
45,
1089,
51,
18392,
312,
343,
364,
7883,
6334,
1089,
1778,
51,
20070,
45,
1089,
51,
18392,
312,
310,
339,
832,
320,
343,
364,
18347,
6334,
1089,
1778,
51,
20070,
45,
1089,
51,
27774,
312,
343,
364,
7883,
6334,
1089,
1778,
51,
20070,
45,
1089,
51,
27774,
312,
310,
339,
303,
339,
465,
1041,
294,
338,
2361,
63,
244,
55,
53,
54,
62,
52,
60,
52,
56,
54,
294,
338,
4096,
63,
683,
291,
393,
294,
338,
3066,
63,
244,
44089,
3011,
7209,
7071,
7044,
6035,
294,
588,
303,
2532,
782,
9736,
6334,
23638,
45,
429,
1671,
1528,
310,
3531,
65,
671,
49,
1242,
948,
2234,
51,
768,
2234,
67,
727,
10502,
299,
364,
80,
948,
2234,
51,
11574,
492,
310,
648,
11861,
1301,
299,
1671,
64,
310,
434,
1445,
13929,
100,
14332,
100,
36074,
51,
3591,
45,
114,
5763,
638,
509,
11861,
1301,
299,
11861,
1301,
494,
364,
1778,
1301,
64,
310,
1242,
948,
2234,
51,
768,
2234,
727,
2234,
299,
727,
10502,
51,
390,
45,
671,
51,
9169,
45,
10519,
1301,
894,
310,
434,
327,
624,
2234,
882,
762,
1528,
343,
1701,
65,
23638,
2717,
67,
19013,
9917,
18347,
299,
556,
5068,
6984,
343,
19013,
9917,
18347,
51,
688,
45,
909,
46960,
2717,
459,
40029,
27132,
624,
2234,
51,
390,
4187,
100,
8517,
1046,
46960,
51,
23638,
1260,
51,
8476,
49,
547,
21726,
49,
21726,
49,
762,
49,
364,
40029,
1530,
894,
343,
19013,
9917,
18347,
51,
688,
45,
909,
46960,
2717,
459,
18467,
27132,
624,
2234,
51,
390,
6806,
1046,
46960,
51,
23638,
1260,
51,
8476,
49,
547,
21726,
49,
21726,
49,
762,
49,
364,
402,
32706,
1530,
894,
343,
46960,
19013,
18347,
299,
364,
18347,
6334,
1089,
1778,
51,
390,
23638,
492,
343,
19013,
18347,
51,
489,
3414,
45,
11614,
9917,
18347,
312,
343,
19013,
18347,
51,
489,
11916,
7759,
45,
23638,
51,
23638,
11916,
7759,
51,
9526,
312,
343,
19013,
18347,
51,
41069,
7759,
45,
23638,
51,
23638,
11388,
7759,
51,
6517,
312,
310,
339,
603,
8182,
2667,
321,
75,
299,
364,
74,
1418,
120,
51,
390,
45,
1076,
312,
310,
8182,
2667,
298,
75,
299,
364,
74,
1418,
113,
51,
390,
45,
1076,
312,
310,
434,
327,
423,
321,
75,
882,
762,
979,
2667,
298,
75,
882,
762,
1528,
343,
1916,
2667,
321,
299,
364,
74,
1418,
120,
51,
390,
45,
1076,
312,
343,
1916,
2667,
298,
299,
364,
74,
1418,
113,
51,
390,
45,
1076,
312,
343,
910,
2261,
299,
4189,
2769,
51,
1514,
1181,
423,
321,
449,
2667,
298,
46,
494,
4343,
244,
55,
312,
343,
910,
428,
102,
299,
4189,
2769,
51,
1514,
45,
114,
869,
70,
51,
390,
45,
1076,
46,
494,
4343,
244,
55,
312,
343,
1701,
65,
23638,
2717,
67,
19013,
9917,
7883,
299,
556,
5068,
6984,
343,
19013,
9917,
7883,
51,
688,
45,
909,
46960,
2717,
459,
8457,
73,
45,
54,
55,
49,
55,
59,
49,
62,
4748,
1737,
46960,
51,
23638,
1260,
51,
8476,
49,
547,
21726,
49,
21726,
49,
762,
49,
364,
703,
102,
1530,
894,
343,
19013,
9917,
7883,
51,
688,
45,
909,
46960,
2717,
459,
30033,
27132,
27725,
49,
46960,
51,
23638,
1260,
51,
8476,
49,
547,
21726,
49,
21726,
49,
762,
49,
364,
7849,
1530,
894,
343,
19013,
9917,
7883,
51,
688,
45,
909,
46960,
2717,
459,
869,
70,
27132,
32930,
49,
46960,
51,
23638,
1260,
51,
8476,
49,
547,
21726,
49,
21726,
49,
762,
49,
364,
703,
102,
1530,
894,
343,
46960,
19013,
7883,
299,
364,
7883,
6334,
1089,
1778,
51,
390,
23638,
492,
343,
19013,
7883,
51,
489,
3414,
45,
11614,
9917,
7883,
312,
343,
19013,
7883,
51,
489,
11916,
7759,
45,
23638,
51,
23638,
11916,
7759,
51,
9526,
312,
343,
19013,
7883,
51,
41069,
7759,
45,
23638,
51,
23638,
11388,
7759,
51,
6517,
312,
310,
339,
465,
339,
465,
1041,
294,
338,
2361,
63,
244,
55,
53,
54,
62,
52,
57,
52,
54,
62,
294,
338,
4096,
63,
683,
291,
393,
294,
338,
3066,
63,
28803,
4316,
46596,
5947,
7878,
4316,
2678,
6363,
24447,
10994,
294,
588,
303,
2532,
910,
36231,
17568,
625,
45,
4412,
458,
3364,
46,
320,
310,
648,
1671,
299,
364,
6916,
739,
51,
7149,
45,
17967,
100,
333,
312,
310,
434,
327,
1076,
630,
449,
54,
46,
461,
5127,
310,
434,
327,
316,
3364,
46,
1671,
1475,
244,
54,
64,
310,
832,
1671,
5928,
244,
54,
64,
310,
434,
327,
1076,
350,
244,
53,
46,
1671,
299,
364,
6916,
739,
51,
911,
365,
449,
244,
54,
64,
310,
434,
327,
1076,
2394,
364,
6916,
739,
51,
911,
1177,
1671,
299,
244,
53,
64,
310,
461,
364,
6916,
739,
51,
390,
45,
1076,
312,
303,
339,
465,
1041,
294,
338,
2361,
63,
244,
60,
52,
62,
52,
54,
60,
294,
338,
4096,
63,
683,
291,
393,
294,
338,
3066,
63,
244,
17400,
6747,
19661,
94,
48595,
4857,
294,
338,
1522,
63,
294,
338,
1621,
63,
3412,
294,
588,
303,
581,
462,
9068,
6334,
3695,
94,
6370,
899,
8748,
2041,
4318,
899,
8748,
320,
603,
496,
1806,
310,
581,
910,
640,
20929,
899,
45,
1832,
804,
46,
320,
343,
461,
38417,
45275,
51,
2882,
5243,
1103,
85,
10793,
45,
872,
494,
4343,
16893,
100,
333,
312,
310,
339,
303,
339,
465,
581,
462,
26243,
6334,
3695,
94,
6370,
899,
8748,
2041,
4318,
899,
8748,
128,
310,
496,
1806,
310,
581,
910,
640,
20929,
899,
45,
1832,
804,
46,
320,
343,
461,
4189,
2769,
51,
1514,
45,
872,
494,
4343,
244,
55,
312,
310,
339,
303,
339,
222,
222,
130,
222
] |
[
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,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1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 11,984
| true
| 58.451341
| true
| true
|
TestLongClass.java
|
/FileExtraction/Java_unseen/corretto_corretto-11/test/jdk/java/beans/PropertyEditor/TestLongClass.java
|
/*
* Copyright (c) 2006, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test
* @bug 4506596 6258510
* @summary Tests PropertyEditor for value of type Long with security manager
* @author Sergey Malenkov
* @modules java.compiler
* java.desktop
* jdk.compiler
*/
public class TestLongClass {
public static void main(String[] args) {
System.setSecurityManager(new SecurityManager());
new TestEditor(Long.class);
}
}
| 1,456
|
Java
|
.java
|
corretto/corretto-11
| 662
| 105
| 31
|
2019-02-11T20:13:52Z
|
2024-05-09T07:01:40Z
|
4cb9c6fc64b9a8b8cb8d950201cf8fcfe642e0d711a73deb7f87d4c4c24d9587
|
[
1127,
222,
338,
2657,
327,
104,
46,
244,
55,
53,
53,
59,
49,
244,
55,
53,
54,
58,
49,
17980,
480,
52,
290,
2840,
25094,
51,
3381,
4760,
5225,
51,
222,
338,
4103,
2387,
23740,
1895,
35234,
8995,
2387,
11988,
1895,
8968,
10961,
30441,
51,
222,
338,
222,
338,
1369,
1361,
458,
3760,
2951,
64,
863,
902,
14081,
580,
480,
52,
290,
5370,
580,
222,
338,
1549,
341,
5974,
451,
341,
6994,
6153,
5062,
1196,
1522,
244,
55,
1773,
49,
641,
222,
338,
9582,
829,
341,
7834,
3870,
7120,
51,
222,
338,
222,
338,
1369,
1361,
458,
2744,
347,
341,
9850,
708,
580,
1118,
545,
6386,
49,
1294,
4213,
222,
338,
2979,
9345,
64,
2895,
4462,
341,
4506,
14319,
451,
7934,
575,
222,
338,
8114,
4800,
418,
7848,
7763,
51,
244,
2819,
341,
6994,
6153,
5062,
1196,
222,
338,
1522,
244,
55,
456,
1851,
4261,
327,
102,
1948,
458,
5976,
347,
341,
7621,
822,
708,
222,
338,
20854,
297,
4850,
477,
1361,
566,
222,
338,
222,
338,
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
6153,
5062,
1196,
1522,
222,
338,
244,
55,
7979,
642,
477,
1409,
64,
434,
666,
49,
2886,
391,
341,
7834,
3870,
7120,
49,
222,
338,
6367,
4345,
244,
58,
54,
34113,
1277,
49,
33316,
26912,
49,
25006,
49,
13083,
244,
53,
55,
54,
54,
53,
50,
54,
56,
53,
54,
15067,
51,
222,
338,
222,
338,
5304,
7272,
17980,
49,
244,
58,
53,
53,
17980,
27004,
3094,
49,
4777,
21100,
2432,
6868,
49,
10562,
244,
62,
57,
53,
59,
58,
15067,
222,
338,
575,
7739,
19955,
51,
11116,
51,
527,
434,
863,
1868,
5408,
2490,
575,
1178,
1364,
222,
338,
10034,
51,
222,
588,
222,
222,
1127,
222,
338,
496,
881,
222,
338,
496,
1468,
244,
57,
58,
53,
59,
58,
62,
59,
244,
59,
55,
58,
61,
58,
54,
53,
222,
338,
496,
1386,
11399,
6484,
4836,
456,
804,
451,
847,
6374,
642,
7669,
7886,
222,
338,
496,
2133,
2074,
319,
126,
28886,
7015,
1558,
222,
338,
496,
3490,
1401,
51,
10203,
222,
338,
2052,
1401,
51,
10956,
222,
338,
2052,
614,
4532,
51,
10203,
222,
588,
222,
222,
942,
462,
2128,
3967,
1359,
320,
303,
581,
924,
782,
2594,
45,
671,
1197,
2194,
46,
320,
310,
1189,
51,
489,
5196,
1590,
45,
909,
7344,
1590,
1052,
310,
556,
2128,
4836,
45,
3967,
51,
842,
312,
303,
339,
222,
130,
222
] |
[
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1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orceressgarden/SorceressGardenConfig.java
|
package net.runelite.client.plugins.sorceressgarden;
import net.runelite.client.config.Config;
import net.runelite.client.config.ConfigGroup;
import net.runelite.client.config.ConfigItem;
@ConfigGroup("SorceressGarden")
public interface SorceressGardenConfig extends Config
{
@ConfigItem(
keyName = "showGardenStats",
name = "Show Garden Stats",
description = "Shows the player's garden stats",
position = 0
)
default boolean showGardenStats()
{
return true;
}
@ConfigItem(
keyName = "showSqirksStats",
name = "Show Sqi'rks Stats",
description = "Show the amount of sqi'rks the player has collected",
position = 1
)
default boolean showSqirksStats()
{
return true;
}
@ConfigItem(
keyName = "showSafeTiles",
name = "Show Safe Tiles",
description = "Show the safe tiles within each garden",
position = 2
)
default boolean showSafeTiles()
{
return false;
}
@ConfigItem(
keyName = "highlightElementals",
name = "Highlight Elementals",
description = "Highlights the garden elementals",
position = 3
)
default boolean highlightElementals()
{
return true;
}
@ConfigItem(
keyName = "showOneClickSync",
name = "Show One-Click Syncing",
description = "Show one-clicking indicators for the gardens",
position = 4
)
default boolean showOneClickSync()
{
return true;
}
@ConfigItem(
keyName = "showWinterOneClick",
name = "Show Winter One-Click",
description = "Show the elemental sync for Winter Garden one-clicking",
hidden = true,
unhide = "showOneClickSync",
position = 5
)
default boolean showWinterOneClick()
{
return false;
}
@ConfigItem(
keyName = "showSummerOneClick",
name = "Show Summer One-Click",
description = "Show the elemental sync for Summer Garden one-clicking",
hidden = true,
unhide = "showOneClickSync",
position = 6
)
default boolean showSummerOneClick()
{
return false;
}
}
| 1,905
|
Java
|
.java
|
xKylee/plugins-source
| 85
| 223
| 0
|
2020-02-10T23:26:25Z
|
2023-07-30T19:46:36Z
|
4027794b654923046e363e9f0d4ee09e94c8aa60cb63ac2ebe7116b817314be2
|
[
1337,
3723,
51,
1967,
29443,
51,
1598,
51,
5573,
51,
2975,
10046,
522,
108,
22449,
64,
222,
222,
485,
3723,
51,
1967,
29443,
51,
1598,
51,
1180,
51,
1081,
64,
222,
485,
3723,
51,
1967,
29443,
51,
1598,
51,
1180,
51,
1081,
1582,
64,
222,
485,
3723,
51,
1967,
29443,
51,
1598,
51,
1180,
51,
1081,
1114,
64,
222,
222,
69,
1081,
1582,
459,
88,
290,
10046,
522,
76,
22449,
678,
222,
222,
942,
2586,
377,
290,
10046,
522,
76,
22449,
1081,
2041,
3395,
222,
128,
222,
221,
69,
1081,
1114,
45,
376,
221,
697,
577,
299,
332,
2276,
76,
22449,
5779,
411,
376,
221,
444,
299,
332,
4325,
590,
22449,
23261,
411,
376,
221,
2328,
299,
332,
46823,
341,
4376,
1200,
504,
22449,
8652,
411,
376,
221,
2719,
299,
244,
53,
222,
221,
46,
222,
221,
1555,
1922,
2539,
76,
22449,
5779,
365,
222,
221,
128,
376,
221,
620,
878,
64,
222,
221,
130,
499,
221,
69,
1081,
1114,
45,
376,
221,
697,
577,
299,
332,
2276,
17524,
495,
5532,
5779,
411,
376,
221,
444,
299,
332,
4325,
377,
16384,
44,
119,
5532,
23261,
411,
376,
221,
2328,
299,
332,
4325,
341,
5190,
451,
11152,
110,
44,
119,
5532,
341,
4376,
1421,
21651,
411,
376,
221,
2719,
299,
244,
54,
222,
221,
46,
222,
221,
1555,
1922,
2539,
17524,
495,
5532,
5779,
365,
222,
221,
128,
376,
221,
620,
878,
64,
222,
221,
130,
499,
221,
69,
1081,
1114,
45,
376,
221,
697,
577,
299,
332,
2276,
11684,
24998,
411,
376,
221,
444,
299,
332,
4325,
21741,
413,
6924,
411,
376,
221,
2328,
299,
332,
4325,
341,
10065,
22336,
4824,
2531,
504,
22449,
411,
376,
221,
2719,
299,
244,
55,
222,
221,
46,
222,
221,
1555,
1922,
2539,
11684,
24998,
365,
222,
221,
128,
376,
221,
620,
920,
64,
222,
221,
130,
499,
221,
69,
1081,
1114,
45,
376,
221,
697,
577,
299,
332,
6584,
1325,
3561,
411,
376,
221,
444,
299,
332,
13352,
6840,
3561,
411,
376,
221,
2328,
299,
332,
13352,
120,
341,
504,
22449,
2016,
3561,
411,
376,
221,
2719,
299,
244,
56,
222,
221,
46,
222,
221,
1555,
1922,
8846,
1325,
3561,
365,
222,
221,
128,
376,
221,
620,
878,
64,
222,
221,
130,
499,
221,
69,
1081,
1114,
45,
376,
221,
697,
577,
299,
332,
2276,
3597,
2668,
4774,
411,
376,
221,
444,
299,
332,
4325,
8553,
50,
2668,
14345,
318,
411,
376,
221,
2328,
299,
332,
4325,
1611,
50,
2956,
318,
40866,
456,
341,
504,
723,
1249,
411,
376,
221,
2719,
299,
244,
57,
222,
221,
46,
222,
221,
1555,
1922,
2539,
3597,
2668,
4774,
365,
222,
221,
128,
376,
221,
620,
878,
64,
222,
221,
130,
499,
221,
69,
1081,
1114,
45,
376,
221,
697,
577,
299,
332,
2276,
92,
1164,
3597,
2668,
411,
376,
221,
444,
299,
332,
4325,
643,
1164,
8553,
50,
2668,
411,
376,
221,
2328,
299,
332,
4325,
341,
2016,
298,
7659,
456,
643,
1164,
590,
22449,
1611,
50,
2956,
318,
411,
376,
221,
3887,
299,
878,
49,
376,
221,
330,
5845,
299,
332,
2276,
3597,
2668,
4774,
411,
376,
221,
2719,
299,
244,
58,
222,
221,
46,
222,
221,
1555,
1922,
2539,
92,
1164,
3597,
2668,
365,
222,
221,
128,
376,
221,
620,
920,
64,
222,
221,
130,
499,
221,
69,
1081,
1114,
45,
376,
221,
697,
577,
299,
332,
2276,
4950,
2322,
3597,
2668,
411,
376,
221,
444,
299,
332,
4325,
10755,
2322,
8553,
50,
2668,
411,
376,
221,
2328,
299,
332,
4325,
341,
2016,
298,
7659,
456,
10755,
2322,
590,
22449,
1611,
50,
2956,
318,
411,
376,
221,
3887,
299,
878,
49,
376,
221,
330,
5845,
299,
332,
2276,
3597,
2668,
4774,
411,
376,
221,
2719,
299,
244,
59,
222,
221,
46,
222,
221,
1555,
1922,
2539,
4950,
2322,
3597,
2668,
365,
222,
221,
128,
376,
221,
620,
920,
64,
222,
221,
130,
222,
130
] |
[
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1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
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 640
| true
| 71.076115
| true
| true
|
MapContainer.java
|
/FileExtraction/Java_unseen/aadnk_ProtocolLib/src/main/java/com/comphenix/protocol/injector/packet/MapContainer.java
|
package com.comphenix.protocol.injector.packet;
import com.comphenix.protocol.reflect.accessors.Accessors;
import com.comphenix.protocol.reflect.accessors.FieldAccessor;
import static com.google.common.base.Preconditions.checkNotNull;
/**
* Represents a class that can detect if a map has changed.
* @author Kristian
*/
public class MapContainer {
// For detecting changes
private final FieldAccessor modCountField;
private int lastModCount;
// The object along with whether or not this is the initial run
private final Object source;
private boolean changed;
public MapContainer(Object source) {
this.source = source;
this.changed = false;
this.modCountField = Accessors.getFieldAccessorOrNull(source.getClass(), "modCount", int.class);
checkNotNull(this.modCountField, "unable to retrieve modCount field for " + source.getClass());
this.lastModCount = getModificationCount();
}
/**
* Determine if the map has changed.
* @return TRUE if it has, FALSE otherwise.
*/
public boolean hasChanged() {
// Check if unchanged
checkChanged();
return changed;
}
/**
* Mark the map as changed or unchanged.
* @param changed - TRUE if the map has changed, FALSE otherwise.
*/
public void setChanged(boolean changed) {
this.changed = changed;
}
/**
* Check for modifications to the current map.
*/
protected void checkChanged() {
if (!changed) {
if (getModificationCount() != lastModCount) {
lastModCount = getModificationCount();
changed = true;
}
}
}
/**
* Retrieve the current modification count.
* @return The current count
*/
private int getModificationCount() {
return (int) modCountField.get(source);
}
}
| 1,699
|
Java
|
.java
|
aadnk/ProtocolLib
| 286
| 92
| 26
|
2012-09-13T19:17:15Z
|
2023-08-03T22:06:33Z
|
c48b24ca06d926f85d71b84afba1d41fafb654cfde67f5be5d10e21c3adbd939
|
[
1337,
785,
51,
998,
19802,
801,
51,
5732,
51,
35605,
51,
8776,
64,
222,
222,
485,
785,
51,
998,
19802,
801,
51,
5732,
51,
9069,
51,
3575,
1758,
51,
44457,
64,
222,
485,
785,
51,
998,
19802,
801,
51,
5732,
51,
9069,
51,
3575,
1758,
51,
1195,
9794,
64,
222,
222,
485,
924,
785,
51,
2193,
51,
2297,
51,
1460,
51,
36329,
51,
42657,
64,
222,
222,
1350,
222,
338,
23121,
331,
462,
708,
902,
11189,
434,
331,
2010,
1421,
5386,
51,
222,
338,
496,
2133,
1242,
11581,
2560,
222,
588,
222,
942,
462,
3531,
2894,
320,
222,
221,
325,
2643,
11189,
318,
3417,
222,
221,
2072,
1175,
5697,
9794,
2065,
1552,
1195,
64,
222,
221,
2072,
648,
2419,
2590,
1552,
64,
3038,
221,
325,
906,
1319,
7979,
642,
4962,
575,
666,
477,
458,
341,
2838,
1441,
222,
221,
2072,
1175,
2210,
1932,
64,
222,
221,
2072,
1922,
5386,
64,
3038,
221,
942,
3531,
2894,
45,
976,
1932,
46,
320,
376,
221,
597,
51,
1876,
299,
1932,
64,
376,
221,
597,
51,
8970,
299,
920,
64,
1332,
221,
597,
51,
1820,
1552,
1195,
299,
8275,
1758,
51,
18257,
9794,
18778,
45,
1876,
51,
9699,
1046,
332,
1820,
1552,
411,
648,
51,
842,
312,
376,
221,
42657,
45,
597,
51,
1820,
1552,
1195,
49,
332,
23880,
391,
10857,
2065,
1552,
1620,
456,
332,
494,
1932,
51,
9699,
1052,
1332,
221,
597,
51,
2153,
2590,
1552,
299,
640,
25114,
1552,
492,
222,
221,
130,
3038,
221,
1350,
376,
338,
22032,
434,
341,
2010,
1421,
5386,
51,
376,
338,
496,
620,
7798,
434,
580,
1421,
49,
7455,
5897,
51,
376,
588,
222,
221,
942,
1922,
1421,
3663,
365,
320,
376,
221,
325,
3471,
434,
30345,
376,
221,
1571,
3663,
492,
376,
221,
620,
5386,
64,
222,
221,
130,
3038,
221,
1350,
376,
338,
7797,
341,
2010,
641,
5386,
575,
30345,
51,
376,
338,
496,
772,
5386,
449,
7798,
434,
341,
2010,
1421,
5386,
49,
7455,
5897,
51,
376,
588,
222,
221,
942,
782,
758,
3663,
45,
4412,
5386,
46,
320,
376,
221,
597,
51,
8970,
299,
5386,
64,
222,
221,
130,
3038,
221,
1350,
376,
338,
3471,
456,
23125,
391,
341,
1565,
2010,
51,
376,
588,
222,
221,
5332,
782,
1524,
3663,
365,
320,
376,
221,
344,
1445,
8970,
46,
320,
374,
221,
344,
327,
390,
25114,
1552,
365,
882,
2419,
2590,
1552,
46,
320,
621,
221,
2153,
2590,
1552,
299,
640,
25114,
1552,
492,
621,
221,
8970,
299,
878,
64,
374,
221,
130,
376,
221,
130,
222,
221,
130,
3038,
221,
1350,
376,
338,
19814,
341,
1565,
11402,
2409,
51,
376,
338,
496,
620,
906,
1565,
2409,
376,
588,
222,
221,
2072,
648,
640,
25114,
1552,
365,
320,
376,
221,
620,
327,
429,
46,
2065,
1552,
1195,
51,
390,
45,
1876,
312,
222,
221,
130,
222,
130,
222
] |
[
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 466
| true
| 72.101236
| true
| true
|
LocationService.java
|
/FileExtraction/Java_unseen/devgateway_amp/amp/WEB-INF/src/org/digijava/kernel/ampapi/endpoints/gis/services/LocationService.java
|
package org.digijava.kernel.ampapi.endpoints.gis.services;
import java.math.BigDecimal;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.regex.Matcher;
import com.google.common.collect.ImmutableSet;
import com.fasterxml.jackson.databind.node.POJONode;
import com.fasterxml.jackson.databind.node.TextNode;
import org.apache.commons.lang.StringEscapeUtils;
import org.apache.commons.lang3.StringUtils;
import org.apache.log4j.Logger;
import org.dgfoundation.amp.Util;
import org.dgfoundation.amp.algo.ValueWrapper;
import org.dgfoundation.amp.ar.ArConstants;
import org.dgfoundation.amp.ar.ColumnConstants;
import org.dgfoundation.amp.ar.viewfetcher.RsInfo;
import org.dgfoundation.amp.ar.viewfetcher.SQLUtils;
import org.dgfoundation.amp.newreports.AmountsUnits;
import org.dgfoundation.amp.newreports.AmpReportFilters;
import org.dgfoundation.amp.newreports.FilterRule;
import org.dgfoundation.amp.newreports.GeneratedReport;
import org.dgfoundation.amp.newreports.IdentifiedReportCell;
import org.dgfoundation.amp.newreports.ReportArea;
import org.dgfoundation.amp.newreports.ReportAreaImpl;
import org.dgfoundation.amp.newreports.ReportCell;
import org.dgfoundation.amp.newreports.ReportColumn;
import org.dgfoundation.amp.newreports.ReportOutputColumn;
import org.dgfoundation.amp.newreports.ReportSettingsImpl;
import org.dgfoundation.amp.newreports.ReportSpecification;
import org.dgfoundation.amp.newreports.ReportSpecificationImpl;
import org.dgfoundation.amp.nireports.amp.OutputSettings;
import org.digijava.kernel.ampapi.endpoints.common.EndpointUtils;
import org.digijava.kernel.ampapi.endpoints.gis.PerformanceFilterParameters;
import org.digijava.kernel.ampapi.endpoints.settings.SettingsConstants;
import org.digijava.kernel.ampapi.endpoints.settings.SettingsUtils;
import org.digijava.kernel.ampapi.endpoints.util.FilterUtils;
import org.digijava.kernel.ampapi.endpoints.util.GisConstants;
import org.digijava.kernel.ampapi.exception.AmpApiException;
import org.digijava.kernel.ampapi.helpers.geojson.FeatureGeoJSON;
import org.digijava.kernel.ampapi.helpers.geojson.GeoJSON;
import org.digijava.kernel.ampapi.helpers.geojson.LineStringGeoJSON;
import org.digijava.kernel.ampapi.helpers.geojson.PointGeoJSON;
import org.digijava.kernel.ampapi.helpers.geojson.PolygonGeoJSON;
import org.digijava.kernel.ampapi.helpers.geojson.objects.ClusteredPoints;
import org.digijava.kernel.persistence.PersistenceManager;
import org.digijava.kernel.translator.TranslatorWorker;
import org.digijava.module.aim.dbentity.AmpCategoryValueLocations;
import org.digijava.module.aim.dbentity.AmpFiscalCalendar;
import org.digijava.module.aim.dbentity.AmpStructure;
import org.digijava.module.aim.dbentity.AmpStructureCoordinate;
import org.digijava.module.aim.helper.GlobalSettingsConstants;
import org.digijava.module.aim.util.DynLocationManagerUtil;
import org.digijava.module.aim.util.FeaturesUtil;
import org.digijava.module.categorymanager.dbentity.AmpCategoryValue;
import org.digijava.module.categorymanager.util.CategoryConstants;
import org.digijava.module.categorymanager.util.CategoryConstants.HardCodedCategoryValue;
import org.hibernate.HibernateException;
import org.hibernate.Query;
import org.hibernate.jdbc.Work;
/**
*
* @author Diego Dimunzio
*
*/
public class LocationService {
protected static Logger logger = Logger.getLogger(LocationService.class);
private ReportSpecification spec = null;
public ReportSpecification getLastReportSpec() {
return spec;
}
/**
* Get totals (actual commitments/ actual disbursements) by administrative level
* @param admlevel
* @param config json configuration
* @return
*/
public AdmLevelTotals getTotals(String admlevel, PerformanceFilterParameters config, AmountsUnits amountUnits) {
HardCodedCategoryValue admLevelCV = GisConstants.ADM_TO_IMPL_CATEGORY_VALUE.getOrDefault(admlevel,
CategoryConstants.IMPLEMENTATION_LOCATION_ADM_LEVEL_1);
admlevel = admLevelCV.getValueKey();
ReportSpecificationImpl spec = new ReportSpecificationImpl("LocationsTotals", ArConstants.DONOR_TYPE);
this.spec = spec;
spec.addColumn(new ReportColumn(admlevel));
spec.getHierarchies().addAll(spec.getColumns());
// also configures the measure(s) from funding type settings request
SettingsUtils.applyExtendedSettings(spec, config.getSettings());
ReportSettingsImpl mrs = (ReportSettingsImpl) spec.getSettings();
// THIS IS OLD, just allowing now to not reset the units when used by other services
if (amountUnits != null)
mrs.setUnitsOption(AmountsUnits.AMOUNTS_OPTION_UNITS);
AmpReportFilters filterRules = new AmpReportFilters((AmpFiscalCalendar) spec.getSettings().getCalendar());
if(config != null){
Map<String, Object> filters = config.getFilters();
if (filters != null) {
filterRules = FilterUtils.getFilterRules(filters, null, filterRules);
}
GisUtils.configurePerformanceFilter(config, filterRules);
}
Map<Long, String> admLevelToGeoCode;
if (admlevel.equals(ColumnConstants.LOCATION_ADM_LEVEL_0)) {
// If the admin level is country we filter only to show projects at
// the country of the current installation
final ValueWrapper<String> countryId = new ValueWrapper<String>("");
final ValueWrapper<String> countryName = new ValueWrapper<>("");
PersistenceManager.getSession().doWork(conn -> {
String countryIdQuery = "select acvl.id,acvl.location_name from amp_category_value_location acvl,"
+ "amp_global_settings gs ,amp_category_value acv "
+ "where acvl.iso=gs.settingsvalue and gs.settingsname ='%s' "
+ "and acvl.parent_category_value=acv.id "
+ "and acv.category_value = 'Administrative Level 0' ";
RsInfo rsi = SQLUtils.rawRunQuery(conn, String.format(countryIdQuery,
GlobalSettingsConstants.DEFAULT_COUNTRY),
null);
if (rsi.rs.next()) {
countryId.value = rsi.rs.getString(1);
countryName.value = rsi.rs.getString(2);
}
rsi.close();
});
filterRules.addFilterRule(new ReportColumn(ColumnConstants.LOCATION_ADM_LEVEL_0),
new FilterRule(countryId.value, true));
}
admLevelToGeoCode = getAdmLevelGeoCodeMap(admlevel, admLevelCV);
spec.setFilters(filterRules);
String currcode = FilterUtils.getSettingbyName(config.getSettings(), SettingsConstants.CURRENCY_ID);
String numberformat = FeaturesUtil.getGlobalSettingValue(GlobalSettingsConstants.NUMBER_FORMAT);
GeneratedReport report = EndpointUtils.runReport(spec);
List<AdmLevelTotal> values = new ArrayList<>();
if (report != null && report.reportContents != null && report.reportContents.getChildren() != null) {
// find the admID (geocode) for each implementation location name
for (ReportArea reportArea : report.reportContents.getChildren()) {
Iterator<ReportCell> iter = reportArea.getContents().values().iterator();
BigDecimal value = (BigDecimal) iter.next().value;
ReportCell reportcell = iter.next();
//we fetch the entity id so we can Univocally search the GeoId
Long entityId=((IdentifiedReportCell)reportcell).entityId;
String admid = admLevelToGeoCode.get(entityId);
if (admid != null) {
values.add(new AdmLevelTotal(admid, value));
}
}
}
return new AdmLevelTotals(currcode, numberformat, values);
}
/**
* Provides admLevel name to geo code map
* @param admLevel
* @param admLevelCV
* @return
*/
public Map<Long, String> getAdmLevelGeoCodeMap(String admLevel, HardCodedCategoryValue admLevelCV) {
Set<AmpCategoryValueLocations> acvlData = DynLocationManagerUtil.getLocationsByLayer(admLevelCV);
Map<Long, String> levelToGeoCodeMap = new HashMap<Long, String>();
if (acvlData != null) {
for (AmpCategoryValueLocations acvl : acvlData) {
levelToGeoCodeMap.put(acvl.getId(), acvl.getGeoCode());
}
}
return levelToGeoCodeMap;
}
public static List<ClusteredPoints> getClusteredPoints(PerformanceFilterParameters config) throws AmpApiException {
String adminLevel = "";
final List<ClusteredPoints> l = new ArrayList<ClusteredPoints>();
if (config != null) {
Map filters = config.getFilters();
if (filters != null && filters.get("adminLevel") != null) {
adminLevel = filters.get("adminLevel").toString();
}
}
final String usedAdminLevel = adminLevel;
Set<Long> activitiesId = getActivitiesForFiltering(config, adminLevel);
final Double countryLatitude=FeaturesUtil.getGlobalSettingDouble(GlobalSettingsConstants.COUNTRY_LATITUDE);
final Double countryLongitude=FeaturesUtil.getGlobalSettingDouble(GlobalSettingsConstants.COUNTRY_LONGITUDE);
final ValueWrapper<String> qry = new ValueWrapper<String>(null);
if (adminLevel.equals("Administrative Level 0")) {
qry.value = " SELECT al.amp_activity_id, acvl.id root_location_id,acvl.location_name "
+ "root_location_description,acvl.gs_lat, acvl.gs_long "
+ " FROM amp_activity_location al "
+ " join amp_category_value_location acvl on al.location_id = acvl.id "
+ " join amp_category_value amcv on acvl.parent_category_value =amcv.id "
+ " where amcv.category_value ='Administrative Level 0'"
+ " and (acvl.deleted is null or acvl.deleted = false) "
+ " and al.amp_activity_id in(" + Util.toCSStringForIN(activitiesId) + " ) "
+ " and location_name=(select country_name "
+ " from DG_COUNTRIES where iso='" + FeaturesUtil
.getGlobalSettingValue(GlobalSettingsConstants.DEFAULT_COUNTRY) + "')";
}else{
qry.value = " WITH RECURSIVE rt_amp_category_value_location(id, parent_id, gs_lat, gs_long, acvl_parent_category_value, level, root_location_id,root_location_description) AS ( "
+ " select acvl.id, acvl.parent_location, acvl.gs_lat, acvl.gs_long, acvl.parent_category_value, 1, acvl.id,acvl.location_name "
+ " from amp_category_value_location acvl "
+ " join amp_category_value amcv on acvl.parent_category_value =amcv.id "
+ " where amcv.category_value ='"
+ adminLevel
+ "' "
+ " and acvl.gs_lat is not null and acvl.gs_long is not null "
+ " and (acvl.deleted is null or acvl.deleted = false) "
+ " UNION ALL "
+ " SELECT acvl.id, acvl.parent_location, rt.gs_lat, rt.gs_long, acvl.parent_category_value, rt.LEVEL + 1, rt.root_location_id, rt.root_location_description "
+ " FROM rt_amp_category_value_location rt, amp_category_value_location acvl "
+ " WHERE acvl.parent_location =rt.id "
+ " ) "
+ " SELECT distinct al.amp_activity_id, acvl.root_location_id, acvl.root_location_description, acvl.gs_lat, acvl.gs_long "
+ " FROM amp_activity_location al "
+ " join rt_amp_category_value_location acvl on al.location_id = acvl.id "
+ " where al.amp_activity_id in(" + Util.toCSStringForIN(activitiesId) + " ) "
+ " order by acvl.root_location_id,al.amp_activity_id";
}
try {
PersistenceManager.getSession().doWork(new Work() {
@Override
public void execute(Connection connection) throws SQLException {
try(RsInfo rsi = SQLUtils.rawRunQuery(connection, qry.value, null)) {
ResultSet rs = rsi.rs;
ClusteredPoints cp = null;
Long rootLocationId = 0L;
while (rs.next()) {
if (!rootLocationId.equals(rs.getLong("root_location_id"))) {
if (cp != null) {
l.add(cp);
}
rootLocationId = rs.getLong("root_location_id");
cp = new ClusteredPoints();
cp.setAdmId(rootLocationId);
cp.setAdmin(rs.getString("root_location_description"));
if (usedAdminLevel.equals(
CategoryConstants.IMPLEMENTATION_LOCATION_ADM_LEVEL_0.getValueKey())) {
cp.setLat(countryLatitude.toString());
cp.setLon(countryLongitude.toString());
}else{
cp.setLat(rs.getString("gs_lat"));
cp.setLon(rs.getString("gs_long"));
}
}
cp.getActivityids().add(rs.getLong("amp_activity_id"));
}
if (cp != null) {
l.add(cp);
}
}
}});
}
catch(HibernateException e){
throw new RuntimeException(e);
}
return l;
}
private static Set<Long> getActivitiesForFiltering(PerformanceFilterParameters config, String adminLevel)
throws AmpApiException {
Set<Long> activitiesId = new HashSet<Long>();
ReportSpecificationImpl spec = new ReportSpecificationImpl("ActivityIdsForCluster", ArConstants.DONOR_TYPE);
spec.addColumn(new ReportColumn(ColumnConstants.AMP_ID));
// AMP-20903 - In order to not have inconsistency with data used in gis map, DONOR_ID was added
spec.addColumn(new ReportColumn(ColumnConstants.DONOR_AGENCY));
OutputSettings outSettings = new OutputSettings(new HashSet<String>() {{
add(ColumnConstants.AMP_ID);
}});
SettingsUtils.configureMeasures(spec, config.getSettings());
ReportColumn implementationLevelColumn = null;
if (adminLevel != null) {
switch (adminLevel) {
case ColumnConstants.LOCATION_ADM_LEVEL_0:
implementationLevelColumn = new ReportColumn(ColumnConstants.LOCATION_ADM_LEVEL_0);
break;
case ColumnConstants.LOCATION_ADM_LEVEL_1:
implementationLevelColumn = new ReportColumn(ColumnConstants.LOCATION_ADM_LEVEL_1);
break;
case ColumnConstants.LOCATION_ADM_LEVEL_2:
implementationLevelColumn = new ReportColumn(ColumnConstants.LOCATION_ADM_LEVEL_2);
break;
case ColumnConstants.LOCATION_ADM_LEVEL_3:
implementationLevelColumn = new ReportColumn(ColumnConstants.LOCATION_ADM_LEVEL_3);
break;
}
}
if(implementationLevelColumn != null){
spec.addColumn(implementationLevelColumn);
Set<ReportColumn>implementationLevelHierarchy=new HashSet<ReportColumn>();
implementationLevelHierarchy.add(implementationLevelColumn);
spec.setHierarchies(implementationLevelHierarchy);
}
spec.setDisplayEmptyFundingRows(true);
SettingsUtils.applyExtendedSettings(spec, config.getSettings());
ReportSettingsImpl mrs = (ReportSettingsImpl) spec.getSettings();
mrs.setUnitsOption(AmountsUnits.AMOUNTS_OPTION_UNITS);
if (config != null) {
Map<String, Object> filterMap = config.getFilters();
AmpReportFilters filterRules = FilterUtils.getFilters(filterMap, new AmpReportFilters(mrs.getCalendar()));
GisUtils.configurePerformanceFilter(config, filterRules);
if (filterRules != null) {
spec.setFilters(filterRules);
}
}
GeneratedReport report = EndpointUtils.runReport(spec, ReportAreaImpl.class, outSettings);
List<ReportArea> ll = null;
ll = report.reportContents.getChildren();
if (ll != null) {
for (ReportArea reportArea : ll) {
if (implementationLevelColumn != null) {
List<ReportArea> childrenHierarchy = reportArea.getChildren();
for (ReportArea reportAreachi : childrenHierarchy) {
Map<ReportOutputColumn, ReportCell> row = reportAreachi.getContents();
Set<ReportOutputColumn> col = row.keySet();
for (ReportOutputColumn reportOutputColumn : col) {
if (reportOutputColumn.originalColumnName.equals(ColumnConstants.AMP_ID)) {
activitiesId.add(((IdentifiedReportCell) row.get(reportOutputColumn)).entityId);
}
}
}
} else {
// we don't have hierarchy
Map<ReportOutputColumn, ReportCell> row = reportArea.getContents();
Set<ReportOutputColumn> col = row.keySet();
for (ReportOutputColumn reportOutputColumn : col) {
if (reportOutputColumn.originalColumnName.equals(ColumnConstants.AMP_ID)) {
activitiesId.add(((IdentifiedReportCell) row.get(reportOutputColumn)).entityId);
}
}
}
}
}
return activitiesId;
}
@SuppressWarnings("unchecked")
public static List<AmpStructure> getStructures(PerformanceFilterParameters config) throws AmpApiException {
List<AmpStructure> al = null;
Set<Long> activitiesId = getActivitiesForFiltering(config, null);
String queryString = "select s from " + AmpStructure.class.getName() + " s where"
+ " s.activity in (" + Util.toCSStringForIN(activitiesId) + " )";
Query q = PersistenceManager.getSession().createQuery(queryString);
al = q.list();
return al;
}
public static FeatureGeoJSON buildFeatureGeoJSON(AmpStructure structure) {
FeatureGeoJSON fgj = new FeatureGeoJSON();
try {
fgj.geometry = getGeometry(structure);
fgj.id = structure.getAmpStructureId().toString();
fgj.properties.put("title", new TextNode(StringEscapeUtils.escapeHtml(structure.getTitle())));
if (structure.getDescription() != null && !structure.getDescription().trim().equals("")) {
fgj.properties.put("description", new TextNode(
StringEscapeUtils.escapeHtml(structure.getDescription())));
}
if (structure.getStructureColor() != null) {
AmpCategoryValue cValue = structure.getStructureColor();
if (isValidColor(cValue.getValue())) {
fgj.properties.put("color", new TextNode(TranslatorWorker.translateText(cValue.getValue())));
}
}
fgj.properties.put("activity", new POJONode(ImmutableSet.of(structure.getActivity().getAmpActivityId())));
} catch (NumberFormatException e) {
logger.warn("Couldn't get parse latitude/longitude for structure with latitude: "
+ structure.getLatitude() + " longitude: " + structure.getLongitude() + " and title: "
+ structure.getTitle());
return null;
}
return fgj;
}
private static boolean isValidColor(String color) {
if (!color.contains(GisConstants.GIS_STRUCTURE_COLOR_DELIMITER)) {
return false;
}
String hex = color.split(GisConstants.GIS_STRUCTURE_COLOR_DELIMITER)[0];
Matcher matcher = GisConstants.HEX_PATTERN.matcher(hex);
return matcher.matches();
}
private static GeoJSON getGeometry(AmpStructure structure) {
String shape = StringUtils.isEmpty(structure.getShape()) ? GisConstants.GIS_STRUCTURE_POINT
: structure.getShape();
switch (shape) {
case GisConstants.GIS_STRUCTURE_POLYGON:
return buildPolygon(structure);
case GisConstants.GIS_STRUCTURE_POLYLINE:
return buildPolyLine(structure);
case GisConstants.GIS_STRUCTURE_POINT:
return buildPoint(structure);
default:
return null;
}
}
private static PointGeoJSON buildPoint(AmpStructure structure) {
PointGeoJSON pg = new PointGeoJSON();
pg.coordinates.add(parseDouble(structure.getLatitude()));
pg.coordinates.add(parseDouble(structure.getLongitude()));
return pg;
}
private static LineStringGeoJSON buildPolyLine(AmpStructure structure) {
LineStringGeoJSON line = new LineStringGeoJSON();
line.coordinates = new ArrayList<>();
if (structure.getCoordinates() != null) {
for (AmpStructureCoordinate coord : structure.getCoordinates()) {
List<Double> lngLat = new ArrayList<>();
lngLat.add(parseDouble(coord.getLatitude()));
lngLat.add(parseDouble(coord.getLongitude()));
line.coordinates.add(lngLat);
}
}
return line;
}
private static PolygonGeoJSON buildPolygon(AmpStructure structure) {
PolygonGeoJSON polygon = new PolygonGeoJSON();
polygon.coordinates = new ArrayList<>();
if (structure.getCoordinates() != null) {
List<List<Double>> ring = new ArrayList<>();
for (AmpStructureCoordinate coord : structure.getCoordinates()) {
List<Double> lngLat = new ArrayList<>();
lngLat.add(parseDouble(coord.getLatitude()));
lngLat.add(parseDouble(coord.getLongitude()));
ring.add(lngLat);
}
polygon.coordinates.add(ring);
}
return polygon;
}
private static Double parseDouble(String value) {
return Double.parseDouble(value == null ? "0" : value);
}
}
| 23,337
|
Java
|
.java
|
devgateway/amp
| 8
| 4
| 31
|
2015-11-10T23:22:20Z
|
2024-05-09T09:02:32Z
|
ad72d04325828db26262a54ce48f284522eaead5af2c9a9dff8960e6be949e94
|
[
1337,
1105,
51,
5690,
110,
1874,
51,
6515,
51,
778,
1256,
51,
20444,
51,
21114,
51,
4270,
64,
222,
222,
485,
1401,
51,
3851,
51,
20808,
64,
222,
485,
1401,
51,
2622,
51,
2815,
64,
222,
485,
1401,
51,
2622,
51,
15836,
64,
222,
485,
1401,
51,
2622,
51,
20335,
64,
222,
485,
1401,
51,
1058,
51,
7119,
64,
222,
485,
1401,
51,
1058,
51,
8263,
64,
222,
485,
1401,
51,
1058,
51,
17163,
64,
222,
485,
1401,
51,
1058,
51,
5740,
64,
222,
485,
1401,
51,
1058,
51,
739,
64,
222,
485,
1401,
51,
1058,
51,
1225,
64,
222,
485,
1401,
51,
1058,
51,
903,
64,
222,
485,
1401,
51,
1058,
51,
7927,
51,
11947,
64,
222,
222,
485,
785,
51,
2193,
51,
2297,
51,
6190,
51,
15026,
903,
64,
222,
485,
785,
51,
15066,
51,
13353,
51,
21416,
51,
1271,
51,
1862,
79,
586,
421,
64,
222,
485,
785,
51,
15066,
51,
13353,
51,
21416,
51,
1271,
51,
1049,
1230,
64,
222,
485,
1105,
51,
2121,
51,
8381,
51,
1600,
51,
671,
19018,
2769,
64,
222,
485,
1105,
51,
2121,
51,
8381,
51,
1600,
56,
51,
15193,
64,
222,
485,
1105,
51,
2121,
51,
769,
57,
111,
51,
3716,
64,
222,
485,
1105,
51,
12592,
19076,
51,
778,
51,
1747,
64,
222,
485,
1105,
51,
12592,
19076,
51,
778,
51,
18554,
51,
899,
4687,
64,
222,
485,
1105,
51,
12592,
19076,
51,
778,
51,
301,
51,
3437,
5238,
64,
222,
485,
1105,
51,
12592,
19076,
51,
778,
51,
301,
51,
2154,
5238,
64,
222,
485,
1105,
51,
12592,
19076,
51,
778,
51,
301,
51,
1090,
48443,
51,
24633,
1139,
64,
222,
485,
1105,
51,
12592,
19076,
51,
778,
51,
301,
51,
1090,
48443,
51,
3566,
2769,
64,
222,
485,
1105,
51,
12592,
19076,
51,
778,
51,
909,
13787,
51,
5956,
120,
13117,
64,
222,
485,
1105,
51,
12592,
19076,
51,
778,
51,
909,
13787,
51,
23696,
4158,
11785,
64,
222,
485,
1105,
51,
12592,
19076,
51,
778,
51,
909,
13787,
51,
2365,
3855,
64,
222,
485,
1105,
51,
12592,
19076,
51,
778,
51,
909,
13787,
51,
6540,
4158,
64,
222,
485,
1105,
51,
12592,
19076,
51,
778,
51,
909,
13787,
51,
9593,
1658,
4158,
2917,
64,
222,
485,
1105,
51,
12592,
19076,
51,
778,
51,
909,
13787,
51,
4158,
5585,
64,
222,
485,
1105,
51,
12592,
19076,
51,
778,
51,
909,
13787,
51,
4158,
5585,
3499,
64,
222,
485,
1105,
51,
12592,
19076,
51,
778,
51,
909,
13787,
51,
4158,
2917,
64,
222,
485,
1105,
51,
12592,
19076,
51,
778,
51,
909,
13787,
51,
4158,
2154,
64,
222,
485,
1105,
51,
12592,
19076,
51,
778,
51,
909,
13787,
51,
4158,
2319,
2154,
64,
222,
485,
1105,
51,
12592,
19076,
51,
778,
51,
909,
13787,
51,
4158,
2977,
3499,
64,
222,
485,
1105,
51,
12592,
19076,
51,
778,
51,
909,
13787,
51,
4158,
13904,
64,
222,
485,
1105,
51,
12592,
19076,
51,
778,
51,
909,
13787,
51,
4158,
13904,
3499,
64,
222,
485,
1105,
51,
12592,
19076,
51,
778,
51,
115,
567,
11178,
51,
778,
51,
2319,
2977,
64,
222,
485,
1105,
51,
5690,
110,
1874,
51,
6515,
51,
778,
1256,
51,
20444,
51,
2297,
51,
6701,
2769,
64,
222,
485,
1105,
51,
5690,
110,
1874,
51,
6515,
51,
778,
1256,
51,
20444,
51,
21114,
51,
14669,
2365,
3694,
64,
222,
485,
1105,
51,
5690,
110,
1874,
51,
6515,
51,
778,
1256,
51,
20444,
51,
3563,
51,
2977,
5238,
64,
222,
485,
1105,
51,
5690,
110,
1874,
51,
6515,
51,
778,
1256,
51,
20444,
51,
3563,
51,
2977,
2769,
64,
222,
485,
1105,
51,
5690,
110,
1874,
51,
6515,
51,
778,
1256,
51,
20444,
51,
1058,
51,
2365,
2769,
64,
222,
485,
1105,
51,
5690,
110,
1874,
51,
6515,
51,
778,
1256,
51,
20444,
51,
1058,
51,
76,
316,
5238,
64,
222,
485,
1105,
51,
5690,
110,
1874,
51,
6515,
51,
778,
1256,
51,
3918,
51,
23696,
36391,
64,
222,
485,
1105,
51,
5690,
110,
1874,
51,
6515,
51,
778,
1256,
51,
8789,
51,
38429,
51,
4249,
10643,
3275,
64,
222,
485,
1105,
51,
5690,
110,
1874,
51,
6515,
51,
778,
1256,
51,
8789,
51,
38429,
51,
10643,
3275,
64,
222,
485,
1105,
51,
5690,
110,
1874,
51,
6515,
51,
778,
1256,
51,
8789,
51,
38429,
51,
1829,
671,
10643,
3275,
64,
222,
485,
1105,
51,
5690,
110,
1874,
51,
6515,
51,
778,
1256,
51,
8789,
51,
38429,
51,
1962,
10643,
3275,
64,
222,
485,
1105,
51,
5690,
110,
1874,
51,
6515,
51,
778,
1256,
51,
8789,
51,
38429,
51,
14269,
10643,
3275,
64,
222,
485,
1105,
51,
5690,
110,
1874,
51,
6515,
51,
778,
1256,
51,
8789,
51,
38429,
51,
5754,
51,
4619,
337,
6843,
64,
222,
485,
1105,
51,
5690,
110,
1874,
51,
6515,
51,
10782,
51,
20410,
1590,
64,
222,
485,
1105,
51,
5690,
110,
1874,
51,
6515,
51,
24802,
51,
23234,
8077,
64,
222,
485,
1105,
51,
5690,
110,
1874,
51,
1663,
51,
5700,
51,
1219,
2244,
51,
23696,
4236,
899,
15547,
64,
222,
485,
1105,
51,
5690,
110,
1874,
51,
1663,
51,
5700,
51,
1219,
2244,
51,
23696,
48807,
1299,
9391,
64,
222,
485,
1105,
51,
5690,
110,
1874,
51,
1663,
51,
5700,
51,
1219,
2244,
51,
23696,
8648,
64,
222,
485,
1105,
51,
5690,
110,
1874,
51,
1663,
51,
5700,
51,
1219,
2244,
51,
23696,
8648,
17048,
64,
222,
485,
1105,
51,
5690,
110,
1874,
51,
1663,
51,
5700,
51,
4328,
51,
4470,
2977,
5238,
64,
222,
485,
1105,
51,
5690,
110,
1874,
51,
1663,
51,
5700,
51,
1058,
51,
24753,
2941,
1590,
1747,
64,
222,
485,
1105,
51,
5690,
110,
1874,
51,
1663,
51,
5700,
51,
1058,
51,
9566,
1747,
64,
222,
485,
1105,
51,
5690,
110,
1874,
51,
1663,
51,
3168,
4031,
51,
1219,
2244,
51,
23696,
4236,
899,
64,
222,
485,
1105,
51,
5690,
110,
1874,
51,
1663,
51,
3168,
4031,
51,
1058,
51,
4236,
5238,
64,
222,
485,
1105,
51,
5690,
110,
1874,
51,
1663,
51,
3168,
4031,
51,
1058,
51,
4236,
5238,
51,
15014,
21146,
4236,
899,
64,
222,
485,
1105,
51,
20294,
51,
39036,
1002,
64,
222,
485,
1105,
51,
20294,
51,
1643,
64,
222,
485,
1105,
51,
20294,
51,
14704,
51,
3003,
64,
222,
222,
1350,
222,
338,
1676,
338,
496,
2133,
15326,
1724,
9707,
330,
127,
735,
222,
338,
222,
588,
222,
942,
462,
10642,
1201,
320,
303,
2532,
924,
7145,
4101,
299,
7145,
51,
10588,
45,
2941,
1201,
51,
842,
312,
2205,
964,
9094,
13904,
1394,
299,
762,
64,
2205,
581,
9094,
13904,
36640,
4158,
2722,
365,
320,
310,
461,
1394,
64,
303,
339,
2205,
1041,
294,
338,
1408,
42139,
327,
8015,
4591,
1745,
52,
4668,
1236,
13782,
296,
1745,
46,
829,
22155,
1372,
3215,
294,
338,
496,
772,
47956,
2675,
294,
338,
496,
772,
1377,
2379,
3505,
294,
338,
496,
620,
294,
588,
303,
581,
3604,
114,
2671,
43181,
640,
43181,
45,
671,
47956,
2675,
49,
23013,
2365,
3694,
1377,
49,
24460,
120,
13117,
5190,
13117,
46,
320,
310,
20764,
21146,
4236,
899,
47956,
2671,
8215,
299,
590,
316,
5238,
51,
1208,
82,
100,
1425,
100,
18956,
100,
24258,
100,
5986,
51,
390,
13637,
45,
27329,
2675,
49,
419,
9954,
5238,
51,
25765,
2909,
100,
17022,
100,
1208,
82,
100,
10736,
100,
54,
312,
310,
47956,
2675,
299,
47956,
2671,
8215,
51,
6693,
971,
492,
2776,
9094,
13904,
3499,
1394,
299,
556,
9094,
13904,
3499,
459,
15547,
43181,
411,
5534,
5238,
51,
73,
586,
776,
100,
2333,
312,
310,
477,
51,
2314,
299,
1394,
64,
310,
1394,
51,
14348,
45,
909,
9094,
2154,
45,
27329,
2675,
894,
310,
1394,
51,
390,
77,
8834,
753,
941,
15109,
45,
2314,
51,
390,
7633,
1052,
310,
453,
2353,
1377,
3029,
341,
9483,
45,
120,
46,
664,
45229,
847,
4086,
1343,
310,
9925,
2769,
51,
4740,
14856,
2977,
45,
2314,
49,
1377,
51,
390,
2977,
1052,
310,
9094,
2977,
3499,
364,
3685,
299,
327,
4158,
2977,
3499,
46,
1394,
51,
390,
2977,
492,
310,
453,
8968,
2771,
565,
7131,
49,
2277,
18087,
2483,
391,
666,
5672,
341,
10058,
1429,
1674,
829,
1623,
6694,
4488,
434,
327,
5568,
13117,
882,
762,
46,
343,
364,
3685,
51,
489,
13117,
2846,
45,
5956,
120,
13117,
51,
38675,
88,
100,
10534,
100,
47802,
312,
2776,
41499,
4158,
11785,
2785,
9156,
299,
556,
41499,
4158,
11785,
1181,
23696,
48807,
1299,
9391,
46,
1394,
51,
390,
2977,
941,
390,
9391,
1052,
2776,
434,
45,
1180,
882,
762,
1528,
343,
3531,
65,
671,
49,
2210,
67,
10637,
299,
1377,
51,
390,
11785,
492,
343,
434,
327,
9252,
882,
762,
46,
320,
419,
2785,
9156,
299,
8301,
2769,
51,
390,
2365,
9156,
45,
9252,
49,
762,
49,
2785,
9156,
312,
343,
339,
1083,
590,
316,
2769,
51,
7814,
14669,
2365,
45,
1180,
49,
2785,
9156,
312,
310,
339,
310,
3531,
65,
3967,
49,
910,
67,
47956,
2671,
724,
10643,
1241,
64,
310,
434,
327,
27329,
2675,
51,
3591,
45,
2154,
5238,
51,
17022,
100,
1208,
82,
100,
10736,
100,
53,
509,
320,
343,
453,
1691,
341,
5611,
3215,
458,
10769,
1019,
2785,
1773,
391,
2539,
8536,
840,
343,
453,
341,
10769,
451,
341,
1565,
11129,
343,
1175,
3867,
4687,
65,
671,
67,
10769,
625,
299,
556,
3867,
4687,
65,
671,
9486,
742,
343,
1175,
3867,
4687,
65,
671,
67,
10769,
577,
299,
556,
3867,
4687,
65,
9486,
742,
343,
46746,
1590,
51,
25942,
941,
1428,
3003,
45,
3795,
984,
320,
419,
910,
10769,
625,
1643,
299,
332,
1632,
1449,
11392,
51,
333,
49,
348,
11392,
51,
2665,
100,
444,
664,
17588,
100,
3168,
100,
872,
100,
2665,
1449,
11392,
2376,
733,
494,
332,
778,
100,
3277,
100,
3563,
23233,
244,
1737,
778,
100,
3168,
100,
872,
1449,
123,
332,
733,
494,
332,
2786,
1449,
11392,
51,
9341,
66,
5399,
51,
3563,
872,
480,
23233,
51,
3563,
444,
299,
21771,
120,
44,
332,
733,
494,
332,
382,
1449,
11392,
51,
2562,
100,
3168,
100,
872,
66,
348,
123,
51,
333,
332,
733,
494,
332,
382,
1449,
123,
51,
3168,
100,
872,
299,
349,
35784,
1372,
11587,
244,
53,
44,
7216,
419,
42750,
1139,
559,
3450,
299,
4447,
2769,
51,
1312,
2544,
1643,
45,
3795,
49,
910,
51,
1664,
45,
7039,
625,
1643,
49,
733,
6566,
2977,
5238,
51,
5815,
100,
39691,
490,
733,
762,
312,
419,
434,
327,
24891,
51,
3685,
51,
1995,
1177,
320,
547,
10769,
625,
51,
872,
299,
559,
3450,
51,
3685,
51,
7080,
45,
54,
312,
547,
10769,
577,
51,
872,
299,
559,
3450,
51,
3685,
51,
7080,
45,
55,
312,
419,
339,
419,
559,
3450,
51,
2698,
492,
343,
1141,
1083,
2785,
9156,
51,
688,
2365,
3855,
45,
909,
9094,
2154,
45,
2154,
5238,
51,
17022,
100,
1208,
82,
100,
10736,
100,
53,
490,
547,
556,
8301,
3855,
45,
7039,
625,
51,
872,
49,
878,
894,
15964,
339,
244,
2776,
47956,
2671,
724,
10643,
1241,
299,
640,
1785,
114,
2671,
10643,
1241,
1225,
45,
27329,
2675,
49,
47956,
2671,
8215,
312,
310,
1394,
51,
489,
11785,
45,
2049,
9156,
312,
2776,
910,
9986,
707,
299,
8301,
2769,
51,
390,
7093,
1186,
577,
45,
1180,
51,
390,
2977,
1046,
9925,
5238,
51,
7525,
632,
45563,
100,
798,
312,
603,
910,
1470,
1664,
299,
17077,
1747,
51,
33918,
7093,
899,
45,
4470,
2977,
5238,
51,
10468,
100,
9309,
312,
603,
13046,
4158,
3652,
299,
21120,
2769,
51,
1967,
4158,
45,
2314,
312,
310,
1701,
65,
1785,
114,
2671,
4767,
67,
2102,
299,
556,
5068,
6984,
2776,
434,
327,
3755,
882,
762,
979,
3652,
51,
3755,
8048,
882,
762,
979,
3652,
51,
3755,
8048,
51,
28817,
365,
882,
762,
46,
320,
343,
453,
2309,
341,
47956,
798,
327,
8544,
707,
46,
456,
2531,
4753,
3913,
655,
6455,
456,
327,
4158,
5585,
3652,
5585,
518,
3652,
51,
3755,
8048,
51,
28817,
1177,
320,
419,
14730,
65,
4158,
2917,
67,
3881,
299,
3652,
5585,
51,
390,
8048,
941,
2857,
941,
5174,
492,
419,
17262,
804,
299,
327,
20808,
46,
3881,
51,
1995,
941,
872,
64,
419,
9094,
2917,
3652,
3400,
299,
3881,
51,
1995,
492,
419,
453,
1399,
5644,
341,
4436,
828,
1278,
1019,
902,
1703,
407,
561,
1266,
3252,
341,
16287,
625,
419,
6374,
4436,
625,
66,
1181,
9593,
1658,
4158,
2917,
46,
3755,
3400,
566,
44873,
64,
419,
910,
1564,
7852,
299,
47956,
2671,
724,
10643,
1241,
51,
390,
45,
44873,
312,
419,
434,
327,
358,
7852,
882,
762,
46,
320,
547,
2102,
51,
688,
45,
909,
3604,
114,
2671,
4767,
45,
358,
7852,
49,
804,
894,
419,
339,
343,
339,
310,
339,
310,
461,
556,
3604,
114,
2671,
43181,
45,
8951,
707,
49,
1470,
1664,
49,
2102,
312,
303,
339,
2205,
1041,
294,
338,
25052,
47956,
2671,
655,
391,
12315,
1361,
2010,
294,
338,
496,
772,
47956,
2671,
294,
338,
496,
772,
47956,
2671,
8215,
294,
338,
496,
620,
294,
588,
303,
581,
3531,
65,
3967,
49,
910,
67,
640,
1785,
114,
2671,
10643,
1241,
1225,
45,
671,
47956,
2671,
49,
20764,
21146,
4236,
899,
47956,
2671,
8215,
46,
320,
310,
1776,
65,
23696,
4236,
899,
15547,
67,
1449,
11392,
768,
299,
48876,
2941,
1590,
1747,
51,
390,
15547,
1103,
4789,
45,
27329,
2671,
8215,
312,
310,
3531,
65,
3967,
49,
910,
67,
3215,
724,
10643,
1241,
1225,
299,
556,
8329,
65,
3967,
49,
910,
2938,
310,
434,
327,
348,
11392,
768,
882,
762,
46,
320,
343,
456,
327,
23696,
4236,
899,
15547,
1449,
11392,
518,
1449,
11392,
768,
46,
320,
419,
3215,
724,
10643,
1241,
1225,
51,
543,
45,
348,
11392,
51,
7068,
1046,
1449,
11392,
51,
390,
10643,
1241,
1052,
343,
339,
310,
339,
310,
461,
3215,
724,
10643,
1241,
1225,
64,
303,
339,
2205,
581,
924,
1701,
65,
4619,
337,
6843,
67,
640,
4619,
337,
6843,
45,
14669,
2365,
3694,
1377,
46,
2589,
41499,
36391,
320,
310,
910,
5611,
2671,
299,
5127,
310,
1175,
1701,
65,
4619,
337,
6843,
67,
475,
299,
556,
5068,
65,
4619,
337,
6843,
2938,
603,
434,
327,
1180,
882,
762,
46,
320,
343,
3531,
10637,
299,
1377,
51,
390,
11785,
492,
343,
434,
327,
9252,
882,
762,
979,
10637,
51,
390,
459,
2317,
2671,
678,
882,
762,
46,
320,
419,
5611,
2671,
299,
10637,
51,
390,
459,
2317,
2671,
1912,
3127,
492,
343,
339,
310,
339,
2776,
1175,
910,
1674,
4208,
2671,
299,
5611,
2671,
64,
310,
1776,
65,
3967,
67,
22099,
625,
299,
640,
24740,
1580,
37353,
45,
1180,
49,
5611,
2671,
312,
2776,
1175,
6938,
10769,
27437,
66,
9566,
1747,
51,
33918,
7093,
4090,
45,
4470,
2977,
5238,
51,
39691,
100,
22341,
799,
7212,
312,
310,
1175,
6938,
10769,
27998,
66,
9566,
1747,
51,
33918,
7093,
4090,
45,
4470,
2977,
5238,
51,
39691,
100,
10129,
799,
7212,
312,
310,
1175,
3867,
4687,
65,
671,
67,
2706,
1012,
299,
556,
3867,
4687,
65,
671,
1579,
1710,
312,
310,
434,
327,
2317,
2671,
51,
3591,
459,
35784,
1372,
11587,
244,
53,
2152,
320,
343,
2706,
1012,
51,
872,
299,
332,
10264,
763,
51,
778,
100,
6904,
100,
333,
49,
1449,
11392,
51,
333,
3070,
100,
2665,
100,
333,
49,
348,
11392,
51,
2665,
100,
444,
332,
547,
494,
332,
2405,
100,
2665,
100,
2328,
49,
348,
11392,
51,
5399,
100,
4520,
49,
1449,
11392,
51,
5399,
100,
3239,
332,
547,
494,
332,
3767,
17588,
100,
6904,
100,
2665,
763,
280,
332,
547,
494,
332,
7163,
17588,
100,
3168,
100,
872,
100,
2665,
1449,
11392,
563,
763,
51,
2665,
100,
333,
299,
1449,
11392,
51,
333,
244,
332,
547,
494,
332,
7163,
17588,
100,
3168,
100,
872,
3874,
4167,
563,
1449,
11392,
51,
2562,
100,
3168,
100,
872,
299,
424,
4167,
51,
333,
332,
547,
494,
332,
2174,
3874,
4167,
51,
3168,
100,
872,
28348,
35784,
1372,
11587,
244,
53,
7368,
547,
494,
332,
480,
327,
348,
11392,
51,
11976,
458,
762,
575,
1449,
11392,
51,
11976,
299,
920,
46,
332,
547,
494,
332,
480,
763,
51,
778,
100,
6904,
100,
333,
347,
459,
494,
7292,
51,
471,
3765,
671,
1580,
540,
45,
27382,
625,
46,
494,
332,
848,
332,
547,
494,
332,
480,
3913,
100,
444,
4381,
1632,
10769,
100,
444,
332,
547,
494,
332,
664,
41388,
100,
18988,
1328,
12180,
2174,
26440,
19050,
494,
17077,
1747,
547,
657,
33918,
7093,
899,
45,
4470,
2977,
5238,
51,
5815,
100,
39691,
46,
494,
332,
704,
884,
222,
15964,
339,
728,
128,
310,
2706,
1012,
51,
872,
299,
332,
8849,
3062,
7525,
41458,
12204,
100,
778,
100,
3168,
100,
872,
100,
2665,
45,
333,
49,
2952,
100,
333,
49,
23233,
100,
4520,
49,
23233,
100,
3239,
49,
1449,
11392,
100,
2562,
100,
3168,
100,
872,
49,
3215,
49,
3070,
100,
2665,
100,
333,
49,
2405,
100,
2665,
100,
2328,
46,
2486,
327,
332,
419,
494,
332,
2209,
1449,
11392,
51,
333,
49,
1449,
11392,
51,
2562,
100,
2665,
49,
1449,
11392,
51,
5399,
100,
4520,
49,
1449,
11392,
51,
5399,
100,
3239,
49,
1449,
11392,
51,
2562,
100,
3168,
100,
872,
49,
244,
54,
49,
1449,
11392,
51,
333,
49,
348,
11392,
51,
2665,
100,
444,
244,
332,
419,
494,
332,
664,
17588,
100,
3168,
100,
872,
100,
2665,
1449,
11392,
244,
332,
419,
494,
332,
7163,
17588,
100,
3168,
100,
872,
3874,
4167,
563,
1449,
11392,
51,
2562,
100,
3168,
100,
872,
299,
424,
4167,
51,
333,
244,
332,
419,
494,
332,
2174,
3874,
4167,
51,
3168,
100,
872,
299,
7368,
419,
494,
5611,
2671,
419,
494,
5343,
244,
332,
419,
494,
332,
480,
1449,
11392,
51,
5399,
100,
4520,
458,
666,
762,
480,
1449,
11392,
51,
5399,
100,
3239,
458,
666,
762,
244,
332,
419,
494,
332,
480,
327,
348,
11392,
51,
11976,
458,
762,
575,
1449,
11392,
51,
11976,
299,
920,
46,
332,
419,
494,
332,
23951,
11877,
244,
332,
419,
494,
332,
10264,
1449,
11392,
51,
333,
49,
1449,
11392,
51,
2562,
100,
2665,
49,
12204,
51,
5399,
100,
4520,
49,
12204,
51,
5399,
100,
3239,
49,
1449,
11392,
51,
2562,
100,
3168,
100,
872,
49,
12204,
51,
10736,
494,
244,
54,
49,
12204,
51,
2405,
100,
2665,
100,
333,
49,
12204,
51,
2405,
100,
2665,
100,
2328,
244,
332,
419,
494,
332,
3767,
12204,
100,
778,
100,
3168,
100,
872,
100,
2665,
12204,
49,
17588,
100,
3168,
100,
872,
100,
2665,
1449,
11392,
244,
332,
419,
494,
332,
5007,
1449,
11392,
51,
2562,
100,
2665,
299,
2069,
51,
333,
244,
332,
419,
494,
332,
848,
244,
332,
419,
494,
332,
10264,
19098,
763,
51,
778,
100,
6904,
100,
333,
49,
1449,
11392,
51,
2405,
100,
2665,
100,
333,
49,
1449,
11392,
51,
2405,
100,
2665,
100,
2328,
49,
1449,
11392,
51,
5399,
100,
4520,
49,
1449,
11392,
51,
5399,
100,
3239,
244,
332,
419,
494,
332,
3767,
17588,
100,
6904,
100,
2665,
763,
244,
332,
419,
494,
332,
7163,
12204,
100,
778,
100,
3168,
100,
872,
100,
2665,
1449,
11392,
563,
763,
51,
2665,
100,
333,
299,
1449,
11392,
51,
333,
244,
332,
419,
494,
332,
2174,
763,
51,
778,
100,
6904,
100,
333,
347,
459,
494,
7292,
51,
471,
3765,
671,
1580,
540,
45,
27382,
625,
46,
494,
332,
848,
332,
419,
494,
332,
2554,
829,
1449,
11392,
51,
2405,
100,
2665,
100,
333,
49,
298,
51,
778,
100,
6904,
100,
333,
884,
310,
339,
603,
1614,
320,
343,
46746,
1590,
51,
25942,
941,
1428,
3003,
45,
909,
6352,
365,
320,
2125,
496,
1806,
419,
581,
782,
5755,
45,
2815,
3401,
46,
2589,
23189,
320,
547,
1614,
45,
24633,
1139,
559,
3450,
299,
4447,
2769,
51,
1312,
2544,
1643,
45,
3854,
49,
2706,
1012,
51,
872,
49,
762,
509,
320,
733,
31468,
9240,
299,
559,
3450,
51,
3685,
64,
733,
12144,
337,
6843,
9210,
299,
762,
64,
733,
6374,
3070,
2941,
625,
299,
244,
53,
81,
64,
733,
2236,
327,
3685,
51,
1995,
1177,
320,
1031,
434,
1445,
2405,
2941,
625,
51,
3591,
45,
3685,
51,
33192,
459,
2405,
100,
2665,
100,
333,
14040,
320,
1396,
434,
327,
2217,
882,
762,
46,
320,
1908,
475,
51,
688,
45,
2217,
312,
1396,
339,
1396,
3070,
2941,
625,
299,
9240,
51,
33192,
459,
2405,
100,
2665,
100,
333,
742,
1396,
9210,
299,
556,
12144,
337,
6843,
492,
1396,
9210,
51,
489,
1785,
114,
625,
45,
2405,
2941,
625,
312,
1396,
9210,
51,
489,
4208,
45,
3685,
51,
7080,
459,
2405,
100,
2665,
100,
2328,
2992,
1396,
434,
327,
4001,
4208,
2671,
51,
3591,
45,
2493,
9954,
5238,
51,
25765,
2909,
100,
17022,
100,
1208,
82,
100,
10736,
100,
53,
51,
6693,
971,
5183,
320,
1908,
9210,
51,
489,
9105,
45,
7039,
27437,
51,
3127,
1052,
1908,
9210,
51,
489,
22620,
45,
7039,
27998,
51,
3127,
1052,
10094,
1396,
339,
728,
128,
1908,
9210,
51,
489,
9105,
45,
3685,
51,
7080,
459,
5399,
100,
4520,
2992,
1908,
9210,
51,
489,
22620,
45,
3685,
51,
7080,
459,
5399,
100,
3239,
2992,
1396,
339,
1031,
339,
1031,
9210,
51,
28176,
3653,
941,
688,
45,
3685,
51,
33192,
459,
778,
100,
6904,
100,
333,
2992,
733,
339,
733,
434,
327,
2217,
882,
762,
46,
320,
1031,
475,
51,
688,
45,
2217,
312,
733,
339,
547,
339,
419,
339,
1933,
310,
339,
310,
2385,
45,
39036,
1002,
503,
1528,
343,
1440,
556,
13383,
45,
106,
312,
310,
339,
13749,
461,
475,
64,
303,
339,
303,
964,
924,
1776,
65,
3967,
67,
640,
24740,
1580,
37353,
45,
14669,
2365,
3694,
1377,
49,
910,
5611,
2671,
46,
343,
2589,
41499,
36391,
320,
310,
1776,
65,
3967,
67,
22099,
625,
299,
556,
14253,
65,
3967,
2938,
633,
310,
9094,
13904,
3499,
1394,
299,
556,
9094,
13904,
3499,
459,
3697,
5345,
1580,
4619,
411,
5534,
5238,
51,
73,
586,
776,
100,
2333,
312,
603,
1394,
51,
14348,
45,
909,
9094,
2154,
45,
2154,
5238,
51,
7116,
100,
798,
894,
310,
453,
42233,
50,
55,
53,
62,
53,
56,
449,
719,
2554,
391,
666,
1178,
347,
37166,
642,
727,
1674,
347,
504,
316,
2010,
49,
493,
586,
776,
100,
798,
1616,
3654,
4488,
1394,
51,
14348,
45,
909,
9094,
2154,
45,
2154,
5238,
51,
73,
586,
776,
100,
1631,
25551,
894,
603,
5601,
2977,
986,
2977,
299,
556,
5601,
2977,
45,
909,
14253,
65,
671,
6939,
3351,
343,
1035,
45,
2154,
5238,
51,
7116,
100,
798,
312,
310,
339,
1933,
2776,
9925,
2769,
51,
7814,
43586,
45,
2314,
49,
1377,
51,
390,
2977,
1052,
603,
9094,
2154,
4753,
2671,
2154,
299,
762,
64,
310,
434,
327,
2317,
2671,
882,
762,
46,
320,
343,
3593,
327,
2317,
2671,
46,
320,
419,
1152,
7747,
5238,
51,
17022,
100,
1208,
82,
100,
10736,
100,
53,
63,
547,
4753,
2671,
2154,
299,
556,
9094,
2154,
45,
2154,
5238,
51,
17022,
100,
1208,
82,
100,
10736,
100,
53,
312,
547,
1644,
64,
419,
1152,
7747,
5238,
51,
17022,
100,
1208,
82,
100,
10736,
100,
54,
63,
547,
4753,
2671,
2154,
299,
556,
9094,
2154,
45,
2154,
5238,
51,
17022,
100,
1208,
82,
100,
10736,
100,
54,
312,
547,
1644,
64,
419,
1152,
7747,
5238,
51,
17022,
100,
1208,
82,
100,
10736,
100,
55,
63,
547,
4753,
2671,
2154,
299,
556,
9094,
2154,
45,
2154,
5238,
51,
17022,
100,
1208,
82,
100,
10736,
100,
55,
312,
547,
1644,
64,
419,
1152,
7747,
5238,
51,
17022,
100,
1208,
82,
100,
10736,
100,
56,
63,
547,
4753,
2671,
2154,
299,
556,
9094,
2154,
45,
2154,
5238,
51,
17022,
100,
1208,
82,
100,
10736,
100,
56,
312,
547,
1644,
64,
343,
339,
310,
339,
603,
434,
45,
19364,
2671,
2154,
882,
762,
1528,
343,
1394,
51,
14348,
45,
19364,
2671,
2154,
312,
343,
1776,
65,
4158,
2154,
67,
19364,
2671,
22189,
66,
909,
14253,
65,
4158,
2154,
2938,
343,
4753,
2671,
22189,
51,
688,
45,
19364,
2671,
2154,
312,
343,
1394,
51,
489,
77,
8834,
753,
45,
19364,
2671,
22189,
312,
310,
339,
310,
1394,
51,
489,
3948,
2779,
18970,
318,
7264,
45,
1527,
312,
2776,
9925,
2769,
51,
4740,
14856,
2977,
45,
2314,
49,
1377,
51,
390,
2977,
1052,
310,
9094,
2977,
3499,
364,
3685,
299,
327,
4158,
2977,
3499,
46,
1394,
51,
390,
2977,
492,
310,
364,
3685,
51,
489,
13117,
2846,
45,
5956,
120,
13117,
51,
38675,
88,
100,
10534,
100,
47802,
312,
603,
434,
327,
1180,
882,
762,
46,
320,
343,
3531,
65,
671,
49,
2210,
67,
2785,
1225,
299,
1377,
51,
390,
11785,
492,
343,
41499,
4158,
11785,
2785,
9156,
299,
8301,
2769,
51,
390,
11785,
45,
2049,
1225,
49,
556,
41499,
4158,
11785,
45,
114,
3685,
51,
390,
9391,
5086,
1083,
590,
316,
2769,
51,
7814,
14669,
2365,
45,
1180,
49,
2785,
9156,
312,
1083,
434,
327,
2049,
9156,
882,
762,
46,
320,
419,
1394,
51,
489,
11785,
45,
2049,
9156,
312,
343,
339,
310,
339,
603,
13046,
4158,
3652,
299,
21120,
2769,
51,
1967,
4158,
45,
2314,
49,
9094,
5585,
3499,
51,
842,
49,
986,
2977,
312,
2776,
1701,
65,
4158,
5585,
67,
9599,
299,
762,
64,
310,
9599,
299,
3652,
51,
3755,
8048,
51,
28817,
492,
310,
434,
327,
629,
882,
762,
46,
320,
343,
456,
327,
4158,
5585,
3652,
5585,
518,
9599,
46,
320,
419,
434,
327,
19364,
2671,
2154,
882,
762,
46,
320,
547,
1701,
65,
4158,
5585,
67,
5727,
22189,
299,
3652,
5585,
51,
28817,
492,
3704,
456,
327,
4158,
5585,
3652,
3689,
49132,
518,
5727,
22189,
46,
320,
733,
3531,
65,
4158,
2319,
2154,
49,
9094,
2917,
67,
2720,
299,
3652,
3689,
49132,
51,
390,
8048,
492,
733,
1776,
65,
4158,
2319,
2154,
67,
956,
299,
2720,
51,
23585,
492,
733,
456,
327,
4158,
2319,
2154,
3652,
2319,
2154,
518,
956,
46,
320,
1031,
434,
327,
3755,
2319,
2154,
51,
7351,
16702,
51,
3591,
45,
2154,
5238,
51,
7116,
100,
798,
509,
320,
1396,
22099,
625,
51,
688,
7738,
9593,
1658,
4158,
2917,
46,
2720,
51,
390,
45,
3755,
2319,
2154,
3445,
44873,
312,
1031,
339,
733,
339,
547,
339,
2125,
339,
832,
320,
547,
453,
1019,
2818,
1348,
1178,
21260,
547,
3531,
65,
4158,
2319,
2154,
49,
9094,
2917,
67,
2720,
299,
3652,
5585,
51,
390,
8048,
492,
547,
1776,
65,
4158,
2319,
2154,
67,
956,
299,
2720,
51,
23585,
492,
547,
456,
327,
4158,
2319,
2154,
3652,
2319,
2154,
518,
956,
46,
320,
733,
434,
327,
3755,
2319,
2154,
51,
7351,
16702,
51,
3591,
45,
2154,
5238,
51,
7116,
100,
798,
509,
320,
1031,
22099,
625,
51,
688,
7738,
9593,
1658,
4158,
2917,
46,
2720,
51,
390,
45,
3755,
2319,
2154,
3445,
44873,
312,
733,
339,
547,
339,
419,
339,
343,
339,
310,
339,
310,
461,
22099,
625,
64,
303,
339,
465,
496,
14030,
459,
18362,
678,
303,
581,
924,
1701,
65,
23696,
8648,
67,
640,
32860,
45,
14669,
2365,
3694,
1377,
46,
2589,
41499,
36391,
320,
310,
1701,
65,
23696,
8648,
67,
763,
299,
762,
64,
310,
1776,
65,
3967,
67,
22099,
625,
299,
640,
24740,
1580,
37353,
45,
1180,
49,
762,
312,
310,
910,
43007,
299,
332,
1632,
328,
664,
332,
494,
41499,
8648,
51,
842,
51,
5175,
365,
494,
332,
328,
2174,
39,
547,
494,
332,
328,
51,
6904,
347,
2903,
494,
7292,
51,
471,
3765,
671,
1580,
540,
45,
27382,
625,
46,
494,
332,
848,
884,
603,
6662,
2706,
299,
46746,
1590,
51,
25942,
941,
45587,
45,
43432,
312,
310,
763,
299,
2706,
51,
687,
492,
310,
461,
763,
64,
465,
339,
465,
581,
924,
8608,
10643,
3275,
1984,
4249,
10643,
3275,
45,
23696,
8648,
5213,
46,
320,
310,
8608,
10643,
3275,
25479,
111,
299,
556,
8608,
10643,
3275,
492,
310,
1614,
320,
343,
25479,
111,
51,
10132,
299,
640,
9520,
45,
6014,
312,
343,
25479,
111,
51,
333,
299,
5213,
51,
390,
23696,
8648,
625,
941,
3127,
492,
1083,
25479,
111,
51,
4659,
51,
543,
459,
1333,
411,
556,
3336,
1230,
45,
671,
19018,
2769,
51,
11735,
6447,
45,
6014,
51,
29733,
25545,
343,
434,
327,
6014,
51,
32844,
365,
882,
762,
979,
673,
6014,
51,
32844,
941,
5475,
941,
3591,
34320,
320,
419,
25479,
111,
51,
4659,
51,
543,
459,
2328,
411,
556,
3336,
1230,
45,
733,
910,
19018,
2769,
51,
11735,
6447,
45,
6014,
51,
32844,
25545,
343,
339,
1083,
434,
327,
6014,
51,
390,
8648,
1530,
365,
882,
762,
46,
320,
419,
41499,
4236,
899,
300,
899,
299,
5213,
51,
390,
8648,
1530,
492,
419,
434,
327,
13431,
1530,
45,
104,
899,
51,
6693,
5183,
320,
547,
25479,
111,
51,
4659,
51,
543,
459,
1507,
411,
556,
3336,
1230,
45,
23234,
8077,
51,
7407,
1049,
45,
104,
899,
51,
6693,
25545,
38296,
339,
442,
343,
339,
2429,
6455,
25479,
111,
51,
4659,
51,
543,
459,
6904,
411,
556,
5277,
79,
586,
421,
45,
15026,
903,
51,
1048,
45,
6014,
51,
28176,
941,
390,
23696,
3697,
625,
25545,
310,
339,
2385,
327,
1936,
25931,
503,
46,
320,
343,
4101,
51,
8453,
459,
29875,
1348,
640,
3203,
20913,
52,
17202,
456,
5213,
642,
20913,
63,
332,
547,
494,
5213,
51,
390,
27437,
365,
494,
332,
20471,
63,
332,
494,
5213,
51,
390,
27998,
365,
494,
332,
480,
1799,
63,
332,
547,
494,
5213,
51,
29733,
1052,
6455,
461,
762,
64,
310,
339,
603,
461,
25479,
111,
64,
465,
339,
465,
964,
924,
1922,
20424,
1530,
45,
671,
1989,
46,
320,
310,
434,
1445,
1507,
51,
4766,
45,
76,
316,
5238,
51,
31601,
100,
27173,
100,
6237,
100,
869,
44777,
509,
320,
343,
461,
920,
64,
310,
339,
603,
910,
9965,
299,
1989,
51,
3045,
45,
76,
316,
5238,
51,
31601,
100,
27173,
100,
6237,
100,
869,
44777,
5630,
53,
988,
310,
33077,
20633,
299,
590,
316,
5238,
51,
25885,
100,
21598,
51,
16943,
45,
6961,
312,
310,
461,
20633,
51,
8936,
492,
303,
339,
465,
964,
924,
16287,
3275,
640,
9520,
45,
23696,
8648,
5213,
46,
320,
310,
910,
6073,
299,
26582,
51,
6401,
45,
6014,
51,
390,
4749,
1177,
1037,
590,
316,
5238,
51,
31601,
100,
27173,
100,
9871,
419,
518,
5213,
51,
390,
4749,
492,
310,
3593,
327,
3299,
46,
320,
310,
1152,
590,
316,
5238,
51,
31601,
100,
27173,
100,
28692,
63,
343,
461,
1984,
14269,
45,
6014,
312,
310,
1152,
590,
316,
5238,
51,
31601,
100,
27173,
100,
48601,
4794,
63,
343,
461,
1984,
8379,
1829,
45,
6014,
312,
310,
1152,
590,
316,
5238,
51,
31601,
100,
27173,
100,
9871,
63,
343,
461,
1984,
1962,
45,
6014,
312,
310,
1263,
63,
343,
461,
762,
64,
310,
339,
303,
339,
465,
964,
924,
6460,
10643,
3275,
1984,
1962,
45,
23696,
8648,
5213,
46,
320,
310,
6460,
10643,
3275,
12632,
299,
556,
6460,
10643,
3275,
492,
310,
12632,
51,
17891,
51,
688,
45,
38832,
45,
6014,
51,
390,
27437,
5086,
310,
12632,
51,
17891,
51,
688,
45,
38832,
45,
6014,
51,
390,
27998,
5086,
310,
461,
12632,
64,
303,
339,
465,
964,
924,
7118,
671,
10643,
3275,
1984,
8379,
1829,
45,
23696,
8648,
5213,
46,
320,
310,
7118,
671,
10643,
3275,
1646,
299,
556,
7118,
671,
10643,
3275,
492,
310,
1646,
51,
17891,
299,
556,
5068,
6984,
310,
434,
327,
6014,
51,
390,
18583,
365,
882,
762,
46,
320,
633,
456,
327,
23696,
8648,
17048,
5113,
518,
5213,
51,
390,
18583,
1177,
320,
1108,
1701,
65,
4090,
67,
30243,
9105,
299,
244,
556,
5068,
6984,
1108,
30243,
9105,
51,
688,
45,
38832,
45,
5708,
51,
390,
27437,
5086,
1108,
30243,
9105,
51,
688,
45,
38832,
45,
5708,
51,
390,
27998,
5086,
1108,
1646,
51,
17891,
51,
688,
45,
17744,
9105,
312,
633,
339,
310,
339,
603,
461,
1646,
64,
303,
339,
465,
964,
924,
30182,
10643,
3275,
1984,
14269,
45,
23696,
8648,
5213,
46,
320,
310,
30182,
10643,
3275,
20391,
299,
556,
30182,
10643,
3275,
492,
310,
20391,
51,
17891,
299,
556,
5068,
6984,
310,
434,
327,
6014,
51,
390,
18583,
365,
882,
762,
46,
320,
343,
1701,
65,
739,
65,
4090,
2023,
16927,
299,
556,
5068,
6984,
343,
456,
327,
23696,
8648,
17048,
5113,
518,
5213,
51,
390,
18583,
1177,
320,
419,
1701,
65,
4090,
67,
30243,
9105,
299,
556,
5068,
6984,
419,
30243,
9105,
51,
688,
45,
38832,
45,
5708,
51,
390,
27437,
5086,
419,
30243,
9105,
51,
688,
45,
38832,
45,
5708,
51,
390,
27998,
5086,
419,
16927,
51,
688,
45,
17744,
9105,
312,
343,
339,
1083,
20391,
51,
17891,
51,
688,
45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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 5,349
| true
| 62.244504
| true
| true
|
HttpDownloaderTest.java
|
/FileExtraction/Java_unseen/AntennaPod_AntennaPod/app/src/androidTest/java/de/test/antennapod/service/download/HttpDownloaderTest.java
|
package de.test.antennapod.service.download;
import androidx.test.platform.app.InstrumentationRegistry;
import androidx.test.filters.LargeTest;
import android.util.Log;
import java.io.File;
import java.io.IOException;
import de.danoeh.antennapod.model.feed.Feed;
import de.danoeh.antennapod.net.download.service.feed.remote.Downloader;
import de.danoeh.antennapod.net.download.service.feed.remote.HttpDownloader;
import de.danoeh.antennapod.storage.preferences.UserPreferences;
import de.danoeh.antennapod.model.download.DownloadRequest;
import de.danoeh.antennapod.model.download.DownloadResult;
import de.danoeh.antennapod.model.download.DownloadError;
import de.test.antennapod.util.service.download.HTTPBin;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertTrue;
@LargeTest
public class HttpDownloaderTest {
private static final String TAG = "HttpDownloaderTest";
private static final String DOWNLOAD_DIR = "testdownloads";
private String url404;
private String urlAuth;
private File destDir;
private HTTPBin httpServer;
public HttpDownloaderTest() {
super();
}
@After
public void tearDown() throws Exception {
File[] contents = destDir.listFiles();
for (File f : contents) {
assertTrue(f.delete());
}
httpServer.stop();
}
@Before
public void setUp() throws Exception {
UserPreferences.init(InstrumentationRegistry.getInstrumentation().getTargetContext());
destDir = InstrumentationRegistry.getInstrumentation().getTargetContext().getExternalFilesDir(DOWNLOAD_DIR);
assertNotNull(destDir);
assertTrue(destDir.exists());
httpServer = new HTTPBin();
httpServer.start();
url404 = httpServer.getBaseUrl() + "/status/404";
urlAuth = httpServer.getBaseUrl() + "/basic-auth/user/passwd";
}
private Feed setupFeedFile(String downloadUrl, String title, boolean deleteExisting) {
Feed feedfile = new Feed(downloadUrl, "");
String fileUrl = new File(destDir, title).getAbsolutePath();
File file = new File(fileUrl);
if (deleteExisting) {
Log.d(TAG, "Deleting file: " + file.delete());
}
feedfile.setLocalFileUrl(fileUrl);
return feedfile;
}
private Downloader download(String url, String title, boolean expectedResult) {
return download(url, title, expectedResult, true, null, null);
}
private Downloader download(String url, String title, boolean expectedResult, boolean deleteExisting,
String username, String password) {
Feed feedFile = setupFeedFile(url, title, deleteExisting);
DownloadRequest request = new DownloadRequest(feedFile.getLocalFileUrl(), url, title, 0, Feed.FEEDFILETYPE_FEED,
username, password, null, false);
Downloader downloader = new HttpDownloader(request);
downloader.call();
DownloadResult status = downloader.getResult();
assertNotNull(status);
assertEquals(expectedResult, status.isSuccessful());
// the file should not exist if the download has failed and deleteExisting was true
assertTrue(!deleteExisting || new File(feedFile.getLocalFileUrl()).exists() == expectedResult);
return downloader;
}
@Test
public void testPassingHttp() {
download(httpServer.getBaseUrl() + "/status/200", "test200", true);
}
@Test
public void testRedirect() {
download(httpServer.getBaseUrl() + "/redirect/4", "testRedirect", true);
}
@Test
public void testGzip() {
download(httpServer.getBaseUrl() + "/gzip/100", "testGzip", true);
}
@Test
public void test404() {
download(url404, "test404", false);
}
@Test
public void testCancel() {
final String url = httpServer.getBaseUrl() + "/delay/3";
Feed feedFile = setupFeedFile(url, "delay", true);
final Downloader downloader = new HttpDownloader(new DownloadRequest(feedFile.getLocalFileUrl(),
url, "delay", 0, Feed.FEEDFILETYPE_FEED, null, null, null, false));
Thread t = new Thread() {
@Override
public void run() {
downloader.call();
}
};
t.start();
downloader.cancel();
try {
t.join();
} catch (InterruptedException e) {
e.printStackTrace();
}
DownloadResult result = downloader.getResult();
assertFalse(result.isSuccessful());
}
@Test
public void testDeleteOnFailShouldDelete() {
Downloader downloader = download(url404, "testDeleteOnFailShouldDelete", false, true, null, null);
assertFalse(new File(downloader.getDownloadRequest().getDestination()).exists());
}
@Test
public void testDeleteOnFailShouldNotDelete() throws IOException {
String filename = "testDeleteOnFailShouldDelete";
File dest = new File(destDir, filename);
dest.delete();
assertTrue(dest.createNewFile());
Downloader downloader = download(url404, filename, false, false, null, null);
assertTrue(new File(downloader.getDownloadRequest().getDestination()).exists());
}
@Test
public void testAuthenticationShouldSucceed() throws InterruptedException {
download(urlAuth, "testAuthSuccess", true, true, "user", "passwd");
}
@Test
public void testAuthenticationShouldFail() {
Downloader downloader = download(urlAuth, "testAuthSuccess", false, true, "user", "Wrong passwd");
assertEquals(DownloadError.ERROR_UNAUTHORIZED, downloader.getResult().getReason());
}
}
| 5,915
|
Java
|
.java
|
AntennaPod/AntennaPod
| 5,866
| 1,335
| 280
|
2012-07-31T10:25:08Z
|
2024-05-09T03:25:30Z
|
8ec4c8e663157af72d2876ed9a5d8f974f544d81b8d306d5e53dee918ce96c96
|
[
1337,
428,
51,
881,
51,
32316,
3415,
450,
51,
2140,
51,
5000,
64,
222,
222,
485,
10484,
51,
881,
51,
5146,
51,
745,
51,
36011,
5389,
64,
222,
485,
10484,
51,
881,
51,
9252,
51,
16135,
1024,
64,
222,
485,
2616,
51,
1058,
51,
1353,
64,
222,
222,
485,
1401,
51,
735,
51,
991,
64,
222,
485,
1401,
51,
735,
51,
6860,
64,
222,
222,
485,
428,
51,
105,
7234,
13860,
51,
32316,
3415,
450,
51,
1184,
51,
6543,
51,
8359,
64,
222,
485,
428,
51,
105,
7234,
13860,
51,
32316,
3415,
450,
51,
1317,
51,
5000,
51,
2140,
51,
6543,
51,
7004,
51,
36642,
64,
222,
485,
428,
51,
105,
7234,
13860,
51,
32316,
3415,
450,
51,
1317,
51,
5000,
51,
2140,
51,
6543,
51,
7004,
51,
2233,
36642,
64,
222,
485,
428,
51,
105,
7234,
13860,
51,
32316,
3415,
450,
51,
4239,
51,
22561,
51,
1259,
11333,
64,
222,
485,
428,
51,
105,
7234,
13860,
51,
32316,
3415,
450,
51,
1184,
51,
5000,
51,
7511,
1123,
64,
222,
485,
428,
51,
105,
7234,
13860,
51,
32316,
3415,
450,
51,
1184,
51,
5000,
51,
7511,
1413,
64,
222,
485,
428,
51,
105,
7234,
13860,
51,
32316,
3415,
450,
51,
1184,
51,
5000,
51,
7511,
943,
64,
222,
485,
428,
51,
881,
51,
32316,
3415,
450,
51,
1058,
51,
2140,
51,
5000,
51,
5078,
9084,
64,
222,
485,
1105,
51,
3946,
51,
5131,
64,
222,
485,
1105,
51,
3946,
51,
5670,
64,
222,
485,
1105,
51,
3946,
51,
1024,
64,
222,
222,
485,
924,
1105,
51,
3946,
51,
3285,
51,
4993,
64,
222,
485,
924,
1105,
51,
3946,
51,
3285,
51,
14840,
64,
222,
485,
924,
1105,
51,
3946,
51,
3285,
51,
14765,
64,
222,
485,
924,
1105,
51,
3946,
51,
3285,
51,
6553,
64,
222,
222,
69,
16135,
1024,
222,
942,
462,
4699,
36642,
1024,
320,
303,
964,
924,
1175,
910,
19318,
299,
332,
2233,
36642,
1024,
884,
303,
964,
924,
1175,
910,
29914,
5703,
100,
3217,
299,
332,
881,
14557,
884,
465,
964,
910,
2001,
57,
53,
57,
64,
303,
964,
910,
2001,
2693,
64,
303,
964,
2050,
3481,
2995,
64,
303,
964,
4818,
9084,
1930,
2077,
64,
465,
581,
4699,
36642,
1024,
365,
320,
310,
2615,
492,
303,
339,
465,
496,
5131,
303,
581,
782,
28896,
365,
2589,
3284,
320,
310,
2050,
1197,
7321,
299,
3481,
2995,
51,
687,
3852,
492,
310,
456,
327,
991,
315,
518,
7321,
46,
320,
343,
9396,
45,
107,
51,
2577,
1052,
310,
339,
603,
1930,
2077,
51,
4074,
492,
303,
339,
465,
496,
5670,
303,
581,
782,
14544,
365,
2589,
3284,
320,
310,
2694,
11333,
51,
1683,
45,
36011,
5389,
51,
390,
36011,
941,
26028,
1237,
1052,
310,
3481,
2995,
299,
31970,
387,
5389,
51,
390,
36011,
941,
26028,
1237,
941,
390,
8392,
3852,
2995,
45,
24256,
100,
3217,
312,
310,
17141,
45,
3332,
2995,
312,
310,
9396,
45,
3332,
2995,
51,
4678,
1052,
310,
1930,
2077,
299,
556,
4818,
9084,
492,
310,
1930,
2077,
51,
1384,
492,
310,
2001,
57,
53,
57,
299,
1930,
2077,
51,
390,
29326,
365,
494,
2450,
1535,
52,
57,
53,
57,
884,
310,
2001,
2693,
299,
1930,
2077,
51,
390,
29326,
365,
494,
2450,
6404,
50,
2408,
52,
514,
52,
28904,
884,
303,
339,
465,
964,
18341,
4721,
8359,
991,
45,
671,
5844,
2226,
49,
910,
1799,
49,
1922,
3081,
18104,
46,
320,
310,
18341,
7006,
781,
299,
556,
18341,
45,
5000,
2226,
49,
10780,
310,
910,
822,
2226,
299,
556,
2050,
45,
3332,
2995,
49,
1799,
566,
24697,
492,
310,
2050,
822,
299,
556,
2050,
45,
781,
2226,
312,
310,
434,
327,
2577,
18104,
46,
320,
343,
2681,
51,
105,
45,
6545,
49,
332,
36539,
822,
63,
332,
494,
822,
51,
2577,
1052,
310,
339,
310,
7006,
781,
51,
489,
3340,
991,
2226,
45,
781,
2226,
312,
310,
461,
7006,
781,
64,
303,
339,
465,
964,
9170,
4579,
5844,
45,
671,
2001,
49,
910,
1799,
49,
1922,
2816,
1413,
46,
320,
310,
461,
5844,
45,
983,
49,
1799,
49,
2816,
1413,
49,
878,
49,
762,
49,
762,
312,
303,
339,
465,
964,
9170,
4579,
5844,
45,
671,
2001,
49,
910,
1799,
49,
1922,
2816,
1413,
49,
1922,
3081,
18104,
49,
1396,
910,
969,
49,
910,
3894,
46,
320,
310,
18341,
7006,
991,
299,
4721,
8359,
991,
45,
983,
49,
1799,
49,
3081,
18104,
312,
310,
12497,
1123,
1343,
299,
556,
12497,
1123,
45,
6543,
991,
51,
29172,
991,
2226,
1046,
2001,
49,
1799,
49,
244,
53,
49,
18341,
51,
39444,
3555,
2333,
100,
39444,
49,
419,
969,
49,
3894,
49,
762,
49,
920,
312,
310,
9170,
4579,
2850,
4579,
299,
556,
4699,
36642,
45,
1375,
312,
310,
2850,
4579,
51,
1872,
492,
310,
12497,
1413,
2302,
299,
2850,
4579,
51,
23946,
492,
310,
17141,
45,
1535,
312,
310,
3803,
45,
3156,
1413,
49,
2302,
51,
316,
21502,
1052,
310,
453,
341,
822,
1414,
666,
2325,
434,
341,
5844,
1421,
3818,
480,
3081,
18104,
1616,
878,
310,
9396,
3848,
2577,
18104,
1293,
556,
2050,
45,
6543,
991,
51,
29172,
991,
2226,
4269,
4678,
365,
630,
2816,
1413,
312,
310,
461,
2850,
4579,
64,
303,
339,
465,
496,
1024,
303,
581,
782,
913,
6136,
318,
2233,
365,
320,
310,
5844,
45,
544,
2077,
51,
390,
29326,
365,
494,
2450,
1535,
52,
55,
53,
53,
411,
332,
881,
55,
53,
53,
411,
878,
312,
303,
339,
465,
496,
1024,
303,
581,
782,
913,
11446,
365,
320,
310,
5844,
45,
544,
2077,
51,
390,
29326,
365,
494,
2450,
7353,
52,
57,
411,
332,
881,
11446,
411,
878,
312,
303,
339,
465,
496,
1024,
303,
581,
782,
913,
76,
3992,
365,
320,
310,
5844,
45,
544,
2077,
51,
390,
29326,
365,
494,
2450,
13624,
52,
54,
53,
53,
411,
332,
881,
76,
3992,
411,
878,
312,
303,
339,
465,
496,
1024,
303,
581,
782,
913,
57,
53,
57,
365,
320,
310,
5844,
45,
983,
57,
53,
57,
49,
332,
881,
57,
53,
57,
411,
920,
312,
303,
339,
465,
496,
1024,
303,
581,
782,
913,
7034,
365,
320,
310,
1175,
910,
2001,
299,
1930,
2077,
51,
390,
29326,
365,
494,
2450,
7875,
52,
56,
884,
310,
18341,
7006,
991,
299,
4721,
8359,
991,
45,
983,
49,
332,
7875,
411,
878,
312,
310,
1175,
9170,
4579,
2850,
4579,
299,
556,
4699,
36642,
45,
909,
12497,
1123,
45,
6543,
991,
51,
29172,
991,
2226,
1046,
419,
2001,
49,
332,
7875,
411,
244,
53,
49,
18341,
51,
39444,
3555,
2333,
100,
39444,
49,
762,
49,
762,
49,
762,
49,
920,
894,
310,
7806,
292,
299,
556,
7806,
365,
320,
343,
496,
1806,
343,
581,
782,
1441,
365,
320,
419,
2850,
4579,
51,
1872,
492,
343,
339,
310,
1487,
310,
292,
51,
1384,
492,
310,
2850,
4579,
51,
8158,
492,
310,
1614,
320,
343,
292,
51,
2548,
492,
310,
339,
2385,
327,
28321,
503,
46,
320,
343,
503,
51,
9428,
492,
310,
339,
310,
12497,
1413,
1074,
299,
2850,
4579,
51,
23946,
492,
310,
12745,
45,
1285,
51,
316,
21502,
1052,
303,
339,
465,
496,
1024,
303,
581,
782,
913,
3422,
1501,
4989,
6473,
3422,
365,
320,
310,
9170,
4579,
2850,
4579,
299,
5844,
45,
983,
57,
53,
57,
49,
332,
881,
3422,
1501,
4989,
6473,
3422,
411,
920,
49,
878,
49,
762,
49,
762,
312,
310,
12745,
45,
909,
2050,
45,
47310,
51,
390,
7511,
1123,
941,
390,
11351,
4269,
4678,
1052,
303,
339,
465,
496,
1024,
303,
581,
782,
913,
3422,
1501,
4989,
6473,
1355,
3422,
365,
2589,
6300,
320,
310,
910,
4891,
299,
332,
881,
3422,
1501,
4989,
6473,
3422,
884,
310,
2050,
3481,
299,
556,
2050,
45,
3332,
2995,
49,
4891,
312,
310,
3481,
51,
2577,
492,
310,
9396,
45,
3332,
51,
42594,
991,
1052,
310,
9170,
4579,
2850,
4579,
299,
5844,
45,
983,
57,
53,
57,
49,
4891,
49,
920,
49,
920,
49,
762,
49,
762,
312,
310,
9396,
45,
909,
2050,
45,
47310,
51,
390,
7511,
1123,
941,
390,
11351,
4269,
4678,
1052,
303,
339,
465,
496,
1024,
303,
581,
782,
913,
8164,
6473,
12414,
6365,
365,
2589,
24683,
320,
310,
5844,
45,
983,
2693,
49,
332,
881,
2693,
4424,
411,
878,
49,
878,
49,
332,
514,
411,
332,
28904,
742,
303,
339,
465,
496,
1024,
303,
581,
782,
913,
8164,
6473,
4989,
365,
320,
310,
9170,
4579,
2850,
4579,
299,
5844,
45,
983,
2693,
49,
332,
881,
2693,
4424,
411,
920,
49,
878,
49,
332,
514,
411,
332,
19123,
44517,
742,
310,
3803,
45,
7511,
943,
51,
2946,
100,
1430,
30717,
1363,
49,
2850,
4579,
51,
23946,
941,
390,
10457,
1052,
303,
339,
222,
130,
222
] |
[
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1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
1
]
] | 1,420
| true
| 66.728656
| true
| true
|
LinearMover.java
|
/FileExtraction/Java_unseen/yugecin_opsu-dance/src/yugecin/opsudance/movers/LinearMover.java
|
/*
* opsu!dance - fork of opsu! with cursordance auto
* Copyright (C) 2016 yugecin
*
* opsu!dance is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* opsu!dance is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with opsu!dance. If not, see <http://www.gnu.org/licenses/>.
*/
package yugecin.opsudance.movers;
import itdelatrisu.opsu.objects.GameObject;
public class LinearMover extends Mover {
public LinearMover(GameObject start, GameObject end, int dir) {
super(start, end, dir);
}
@Override
public double[] getPointAt(int time) {
double t = getT(time);
return new double[] {
startX + (endX - startX) * t,
startY + (endY - startY) * t
};
}
@Override
public String getName() {
return "Linear";
}
}
| 1,186
|
Java
|
.java
|
yugecin/opsu-dance
| 72
| 15
| 172
|
2016-09-25T20:24:08Z
|
2022-11-11T13:46:30Z
|
14ccff9fa6a39e8fddb7bf07f9ae36ff516a660303d8dfb4a93196419b82855b
|
[
1127,
222,
338,
13727,
122,
38,
105,
743,
449,
13557,
451,
13727,
122,
38,
642,
32760,
32654,
2283,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
54,
59,
553,
9352,
17281,
222,
338,
222,
338,
13727,
122,
38,
105,
743,
458,
3760,
2951,
63,
863,
902,
14081,
580,
480,
52,
290,
5370,
222,
338,
580,
1549,
341,
5974,
451,
341,
6994,
6153,
5062,
1196,
641,
9582,
829,
222,
338,
341,
7834,
3870,
7120,
49,
3173,
1522,
244,
56,
451,
341,
1196,
49,
575,
222,
338,
327,
288,
1390,
2489,
46,
1364,
6146,
1522,
51,
222,
338,
222,
338,
13727,
122,
38,
105,
743,
458,
2744,
347,
341,
9850,
708,
580,
1118,
545,
6386,
49,
222,
338,
1294,
4213,
2979,
9345,
64,
2895,
4462,
341,
4506,
14319,
451,
222,
338,
7934,
575,
8114,
4800,
418,
7848,
7763,
51,
244,
2819,
341,
222,
338,
6994,
6153,
5062,
1196,
456,
1851,
4261,
51,
222,
338,
222,
338,
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
6153,
5062,
1196,
222,
338,
7979,
642,
13727,
122,
38,
105,
743,
51,
244,
1691,
666,
49,
2337,
350,
544,
574,
1516,
51,
10627,
51,
1107,
52,
4205,
28699,
222,
588,
222,
1337,
553,
9352,
17281,
51,
4178,
856,
743,
51,
794,
5257,
64,
222,
222,
485,
580,
4066,
288,
10997,
122,
51,
4178,
122,
51,
5754,
51,
19694,
64,
222,
222,
942,
462,
14138,
82,
1515,
2041,
507,
1515,
320,
499,
221,
942,
14138,
82,
1515,
45,
19694,
1496,
49,
17991,
962,
49,
648,
4937,
46,
320,
376,
221,
5282,
45,
1384,
49,
962,
49,
4937,
312,
222,
221,
130,
499,
221,
69,
1806,
222,
221,
942,
2082,
1197,
640,
1962,
1094,
45,
429,
1153,
46,
320,
376,
221,
2640,
292,
299,
640,
89,
45,
1021,
312,
376,
221,
620,
556,
2082,
1197,
320,
374,
221,
1384,
93,
494,
327,
435,
93,
449,
1496,
93,
46,
338,
292,
49,
374,
221,
1384,
94,
494,
327,
435,
94,
449,
1496,
94,
46,
338,
292,
376,
221,
1274,
222,
221,
130,
499,
221,
69,
1806,
222,
221,
942,
910,
16389,
365,
320,
376,
221,
620,
332,
9505,
884,
222,
221,
130,
222,
222,
130,
222
] |
[
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 358
| true
| 70.994941
| true
| true
|
AbstractServletListExtendedChange.java
|
/FileExtraction/Java_unseen/link-it_govway/tools/web_interfaces/control_station/src/org/openspcoop2/web/ctrlstat/plugins/servlet/AbstractServletListExtendedChange.java
|
/*
* GovWay - A customizable API Gateway
* https://govway.org
*
* Copyright (c) 2005-2024 Link.it srl (https://link.it).
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 3, as published by
* the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
package org.openspcoop2.web.ctrlstat.plugins.servlet;
import java.sql.Connection;
import java.util.ArrayList;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;
import org.openspcoop2.web.ctrlstat.core.ControlStationCore;
import org.openspcoop2.web.ctrlstat.core.DBManager;
import org.openspcoop2.web.ctrlstat.core.ConsoleSearch;
import org.openspcoop2.web.ctrlstat.core.UrlParameters;
import org.openspcoop2.web.ctrlstat.plugins.ExtendedException;
import org.openspcoop2.web.ctrlstat.plugins.ExtendedList;
import org.openspcoop2.web.ctrlstat.plugins.IExtendedBean;
import org.openspcoop2.web.ctrlstat.plugins.IExtendedListServlet;
import org.openspcoop2.web.ctrlstat.plugins.WrapperExtendedBean;
import org.openspcoop2.web.ctrlstat.servlet.ConsoleHelper;
import org.openspcoop2.web.ctrlstat.servlet.GeneralHelper;
import org.openspcoop2.web.lib.mvc.Costanti;
import org.openspcoop2.web.lib.mvc.DataElement;
import org.openspcoop2.web.lib.mvc.ForwardParams;
import org.openspcoop2.web.lib.mvc.GeneralData;
import org.openspcoop2.web.lib.mvc.PageData;
import org.openspcoop2.web.lib.mvc.ServletUtils;
import org.openspcoop2.web.lib.mvc.TipoOperazione;
/**
* AbstractServletListExtendedChange
*
* @author Andrea Poli ([email protected])
* @author $Author$
* @version $Rev$, $Date$
*
*/
public abstract class AbstractServletListExtendedChange extends AbstractServletListUtilities {
protected abstract void addToHiddenDati(List<DataElement> dati,ConsoleHelper consoleHelper) throws ExtendedException;
protected abstract UrlParameters getUrlExtendedList(ConsoleHelper consoleHelper) throws Exception;
@Override
public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception {
HttpSession session = request.getSession(true);
// Inizializzo PageData
PageData pd = new PageData();
GeneralHelper generalHelper = new GeneralHelper(session);
// Inizializzo GeneralData
GeneralData gd = generalHelper.initGeneralData(request);
try {
ConsoleHelper consoleHelper = this.getConsoleHelper(request, pd, session);
ControlStationCore consoleCore = this.getConsoleCore();
IExtendedListServlet extendedServlet = this.getExtendedServlet(consoleHelper);
Object object = this.getObject(consoleHelper);
IExtendedBean extendedBean = null;
DBManager dbManager = null;
Connection con = null;
try{
dbManager = DBManager.getInstance();
con = dbManager.getConnection();
extendedBean = extendedServlet.getExtendedBean(con, extendedServlet.getId(request));
}finally{
if(dbManager!=null) {
dbManager.releaseConnection(con);
}
}
extendedBean = extendedServlet.readHttpParameters(object, TipoOperazione.CHANGE, extendedBean, request);
// Preparo il menu
consoleHelper.makeMenu();
// Se idhid = null, devo visualizzare la pagina per la
// modifica dati
if (consoleHelper.isEditModeInProgress()) {
// setto la barra del titolo
this.setFormTitle(object, consoleHelper, extendedServlet, extendedBean, pd, TipoOperazione.CHANGE,
this.getUrlExtendedList(consoleHelper));
// preparo i campi
List<DataElement> dati = new ArrayList<>();
dati.add(ServletUtils.getDataElementForEditModeFinished());
this.addToHiddenDati(dati,consoleHelper);
extendedServlet.addToDati(dati, TipoOperazione.CHANGE, consoleHelper, consoleCore, object, extendedBean);
pd.setDati(dati);
ServletUtils.setGeneralAndPageDataIntoSession(request, session, gd, pd);
return ServletUtils.getStrutsForwardEditModeInProgress(mapping,
this.getObjectName(),
ForwardParams.CHANGE());
}
// Controlli sui campi immessi
boolean isOk = true;
try{
extendedServlet.checkDati(TipoOperazione.CHANGE, consoleHelper, consoleCore, object, extendedBean);
}catch(Exception e){
isOk = false;
pd.setMessage(e.getMessage());
}
if (!isOk) {
// setto la barra del titolo
this.setFormTitle(object, consoleHelper, extendedServlet, extendedBean, pd, TipoOperazione.CHANGE,
this.getUrlExtendedList(consoleHelper));
// preparo i campi
List<DataElement> dati = new ArrayList<>();
dati.add(ServletUtils.getDataElementForEditModeFinished());
this.addToHiddenDati(dati,consoleHelper);
extendedServlet.addToDati(dati, TipoOperazione.CHANGE, consoleHelper, consoleCore, object, extendedBean);
pd.setDati(dati);
ServletUtils.setGeneralAndPageDataIntoSession(request, session, gd, pd);
return ServletUtils.getStrutsForwardEditModeCheckError(mapping,
this.getObjectName(),
ForwardParams.CHANGE());
}
String userLogin = ServletUtils.getUserLoginFromSession(session);
WrapperExtendedBean wrapper = new WrapperExtendedBean();
wrapper.setExtendedBean(extendedBean);
wrapper.setExtendedServlet(extendedServlet);
wrapper.setOriginalBean(object);
wrapper.setManageOriginalBean(false);
consoleCore.performUpdateOperation(userLogin, consoleHelper.smista(), wrapper);
// Preparo la lista
ConsoleSearch ricerca = (ConsoleSearch) ServletUtils.getSearchObjectFromSession(request, session, ConsoleSearch.class);
int idLista = this.getIdList();
int limit = ricerca.getPageSize(idLista);
int offset = ricerca.getIndexIniziale(idLista);
String search = (org.openspcoop2.core.constants.Costanti.SESSION_ATTRIBUTE_VALUE_RICERCA_UNDEFINED.equals(ricerca.getSearchString(idLista)) ? "" : ricerca.getSearchString(idLista));
ExtendedList extendedList = extendedServlet.extendedBeanList(TipoOperazione.CHANGE, consoleHelper, consoleCore,
object, limit, offset, search);
ricerca.setNumEntries(idLista,extendedList.getSize());
this.prepareList(TipoOperazione.CHANGE, consoleHelper, ricerca, object, extendedServlet, extendedList.getExtendedBean(), ControlStationCore.getLog(),
this.getUrlExtendedFather(consoleHelper));
String msgCompletato = extendedServlet.getTestoModificaEffettuata(TipoOperazione.CHANGE, consoleHelper);
if(msgCompletato!=null && !"".equals(msgCompletato)){
pd.setMessage(msgCompletato,Costanti.MESSAGE_TYPE_INFO);
}
ServletUtils.setGeneralAndPageDataIntoSession(request, session, gd, pd);
return ServletUtils.getStrutsForwardEditModeFinished(mapping,
this.getObjectName(),
ForwardParams.CHANGE());
} catch (Exception e) {
return ServletUtils.getStrutsForwardError(ControlStationCore.getLog(), e, pd, request, session, gd, mapping,
this.getObjectName(),
ForwardParams.CHANGE());
}
}
}
| 7,587
|
Java
|
.java
|
link-it/govway
| 48
| 8
| 18
|
2018-06-25T07:52:40Z
|
2024-05-08T13:23:36Z
|
f07489399cd5313119970afc03b8e88700ec3d112760405c349afeca8c501829
|
[
1127,
222,
338,
590,
1558,
17963,
449,
418,
3137,
6776,
2347,
19405,
1676,
338,
1698,
574,
7202,
3094,
51,
1107,
222,
338,
1676,
338,
2657,
327,
104,
46,
244,
55,
53,
53,
58,
50,
55,
53,
55,
57,
6130,
51,
302,
328,
1796,
327,
662,
574,
1222,
51,
302,
566,
1676,
338,
1676,
338,
1369,
3477,
458,
3760,
2951,
63,
863,
902,
14081,
580,
480,
52,
290,
5370,
222,
338,
580,
1549,
341,
5974,
451,
341,
6994,
6153,
5062,
1196,
1522,
244,
56,
49,
641,
9582,
829,
222,
338,
341,
7834,
3870,
7120,
51,
222,
338,
222,
338,
1369,
3477,
458,
2744,
347,
341,
9850,
708,
580,
1118,
545,
6386,
49,
222,
338,
1294,
4213,
2979,
9345,
64,
2895,
4462,
341,
4506,
14319,
451,
222,
338,
7934,
575,
8114,
4800,
418,
7848,
7763,
51,
244,
2819,
341,
222,
338,
6994,
6153,
5062,
1196,
456,
1851,
4261,
51,
222,
338,
222,
338,
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
6153,
5062,
1196,
222,
338,
7979,
642,
477,
3477,
51,
244,
1691,
666,
49,
2337,
350,
544,
574,
1516,
51,
10627,
51,
1107,
52,
4205,
28699,
222,
338,
222,
588,
499,
222,
1337,
1105,
51,
1693,
438,
352,
539,
55,
51,
1857,
51,
7542,
4611,
51,
5573,
51,
10010,
64,
222,
222,
485,
1401,
51,
2622,
51,
2815,
64,
222,
485,
1401,
51,
1058,
51,
7119,
64,
222,
485,
1401,
51,
1058,
51,
739,
64,
222,
222,
485,
3698,
51,
10010,
51,
544,
51,
18804,
64,
222,
485,
3698,
51,
10010,
51,
544,
51,
30443,
64,
222,
485,
3698,
51,
10010,
51,
544,
51,
2233,
3152,
64,
222,
222,
485,
1105,
51,
2121,
51,
48901,
51,
1160,
51,
1728,
1260,
64,
222,
485,
1105,
51,
2121,
51,
48901,
51,
1160,
51,
1728,
11347,
64,
222,
485,
1105,
51,
2121,
51,
48901,
51,
1160,
51,
1728,
4815,
64,
222,
485,
1105,
51,
1693,
438,
352,
539,
55,
51,
1857,
51,
7542,
4611,
51,
1284,
51,
2436,
16554,
2869,
64,
222,
485,
1105,
51,
1693,
438,
352,
539,
55,
51,
1857,
51,
7542,
4611,
51,
1284,
51,
2015,
1590,
64,
222,
485,
1105,
51,
1693,
438,
352,
539,
55,
51,
1857,
51,
7542,
4611,
51,
1284,
51,
7634,
3209,
64,
222,
485,
1105,
51,
1693,
438,
352,
539,
55,
51,
1857,
51,
7542,
4611,
51,
1284,
51,
2226,
3694,
64,
222,
485,
1105,
51,
1693,
438,
352,
539,
55,
51,
1857,
51,
7542,
4611,
51,
5573,
51,
14856,
1002,
64,
222,
485,
1105,
51,
1693,
438,
352,
539,
55,
51,
1857,
51,
7542,
4611,
51,
5573,
51,
14856,
739,
64,
222,
485,
1105,
51,
1693,
438,
352,
539,
55,
51,
1857,
51,
7542,
4611,
51,
5573,
51,
78,
14856,
5358,
64,
222,
485,
1105,
51,
1693,
438,
352,
539,
55,
51,
1857,
51,
7542,
4611,
51,
5573,
51,
78,
14856,
739,
7399,
64,
222,
485,
1105,
51,
1693,
438,
352,
539,
55,
51,
1857,
51,
7542,
4611,
51,
5573,
51,
4687,
14856,
5358,
64,
222,
485,
1105,
51,
1693,
438,
352,
539,
55,
51,
1857,
51,
7542,
4611,
51,
10010,
51,
7634,
2775,
64,
222,
485,
1105,
51,
1693,
438,
352,
539,
55,
51,
1857,
51,
7542,
4611,
51,
10010,
51,
8633,
2775,
64,
222,
485,
1105,
51,
1693,
438,
352,
539,
55,
51,
1857,
51,
1379,
51,
21557,
51,
9381,
7330,
64,
222,
485,
1105,
51,
1693,
438,
352,
539,
55,
51,
1857,
51,
1379,
51,
21557,
51,
768,
1325,
64,
222,
485,
1105,
51,
1693,
438,
352,
539,
55,
51,
1857,
51,
1379,
51,
21557,
51,
11347,
2799,
64,
222,
485,
1105,
51,
1693,
438,
352,
539,
55,
51,
1857,
51,
1379,
51,
21557,
51,
8633,
768,
64,
222,
485,
1105,
51,
1693,
438,
352,
539,
55,
51,
1857,
51,
1379,
51,
21557,
51,
1983,
768,
64,
222,
485,
1105,
51,
1693,
438,
352,
539,
55,
51,
1857,
51,
1379,
51,
21557,
51,
7399,
2769,
64,
222,
485,
1105,
51,
1693,
438,
352,
539,
55,
51,
1857,
51,
1379,
51,
21557,
51,
11437,
6425,
10048,
64,
222,
222,
1350,
222,
338,
7406,
7399,
739,
14856,
1810,
222,
338,
1676,
338,
496,
2133,
4262,
25706,
14358,
110,
327,
386,
26422,
69,
1222,
51,
302,
46,
222,
338,
496,
2133,
417,
4372,
41,
222,
338,
496,
1687,
417,
14911,
15730,
417,
1563,
41,
222,
338,
1676,
588,
222,
942,
5560,
462,
7406,
7399,
739,
14856,
1810,
2041,
7406,
7399,
739,
13392,
320,
499,
221,
5332,
5560,
782,
33625,
13831,
7833,
110,
45,
739,
65,
768,
1325,
67,
26888,
49,
7634,
2775,
2566,
2775,
46,
2589,
24675,
1002,
64,
15662,
221,
5332,
5560,
15795,
3694,
48017,
14856,
739,
45,
7634,
2775,
2566,
2775,
46,
2589,
3284,
64,
3038,
221,
69,
1806,
222,
221,
942,
5255,
11347,
5755,
45,
1728,
4815,
8023,
49,
5255,
1260,
2252,
49,
38757,
1343,
49,
28307,
1808,
46,
2589,
3284,
320,
1332,
221,
2233,
3152,
3541,
299,
1343,
51,
25942,
45,
1527,
312,
1332,
221,
325,
719,
445,
583,
10747,
116,
6021,
768,
376,
221,
1983,
768,
6451,
299,
556,
6021,
768,
492,
4102,
221,
8633,
2775,
8108,
2775,
299,
556,
6153,
2775,
45,
2867,
312,
1332,
221,
325,
719,
445,
583,
10747,
116,
6153,
768,
376,
221,
8633,
768,
22004,
299,
8108,
2775,
51,
1683,
8633,
768,
45,
1375,
312,
374,
1332,
221,
1287,
320,
374,
221,
7634,
2775,
2566,
2775,
299,
477,
51,
390,
7634,
2775,
45,
1375,
49,
6451,
49,
3541,
312,
8212,
221,
2436,
16554,
2869,
2566,
2869,
299,
477,
51,
390,
7634,
2869,
492,
8212,
221,
78,
14856,
739,
7399,
13979,
7399,
299,
477,
51,
390,
14856,
7399,
45,
4482,
2775,
312,
8212,
221,
976,
1319,
299,
477,
51,
19717,
45,
4482,
2775,
312,
8212,
221,
78,
14856,
5358,
13979,
5358,
299,
762,
64,
374,
221,
2015,
1590,
3100,
1590,
299,
762,
64,
374,
221,
2815,
476,
299,
762,
64,
374,
221,
1287,
128,
621,
221,
1219,
1590,
299,
4594,
1590,
51,
7432,
492,
621,
221,
487,
299,
3100,
1590,
51,
20712,
492,
621,
221,
17168,
5358,
299,
13979,
7399,
51,
390,
14856,
5358,
45,
487,
49,
13979,
7399,
51,
7068,
45,
1375,
894,
374,
221,
130,
22220,
128,
621,
221,
344,
45,
1219,
1590,
6917,
1710,
46,
320,
596,
221,
1219,
1590,
51,
3794,
2815,
45,
487,
312,
621,
221,
130,
374,
221,
130,
8212,
221,
17168,
5358,
299,
13979,
7399,
51,
870,
2233,
3694,
45,
1491,
49,
38393,
6425,
10048,
51,
13870,
49,
13979,
5358,
49,
1343,
312,
8212,
221,
325,
7497,
587,
116,
6245,
5279,
374,
221,
4482,
2775,
51,
2696,
2689,
492,
2556,
221,
325,
2171,
828,
21973,
299,
762,
49,
428,
2103,
8253,
10747,
605,
2343,
33473,
1313,
2343,
374,
221,
325,
2065,
21039,
26888,
374,
221,
344,
327,
4482,
2775,
51,
316,
3594,
2116,
26691,
1177,
320,
13699,
221,
325,
758,
471,
2343,
342,
32731,
3579,
292,
4736,
335,
621,
221,
597,
51,
489,
1260,
3188,
45,
1491,
49,
2566,
2775,
49,
13979,
7399,
49,
13979,
5358,
49,
6451,
49,
38393,
6425,
10048,
51,
13870,
49,
21535,
221,
597,
51,
30105,
14856,
739,
45,
4482,
2775,
894,
5033,
221,
325,
1426,
587,
116,
613,
16298,
110,
621,
221,
739,
65,
768,
1325,
67,
26888,
299,
556,
5068,
6984,
621,
221,
2923,
110,
51,
688,
45,
7399,
2769,
51,
11574,
1325,
1580,
3594,
2116,
14071,
1052,
13699,
221,
597,
51,
23390,
13831,
7833,
110,
45,
2923,
110,
49,
4482,
2775,
312,
13699,
221,
17168,
7399,
51,
23390,
7833,
110,
45,
2923,
110,
49,
38393,
6425,
10048,
51,
13870,
49,
2566,
2775,
49,
2566,
2869,
49,
1319,
49,
13979,
5358,
312,
13699,
221,
7221,
51,
489,
7833,
110,
45,
2923,
110,
312,
5033,
221,
7399,
2769,
51,
489,
8633,
2199,
1983,
768,
13650,
3152,
45,
1375,
49,
3541,
49,
22004,
49,
6451,
312,
5033,
221,
620,
24622,
2769,
51,
390,
2026,
16566,
11347,
3594,
2116,
26691,
45,
9399,
49,
21535,
221,
597,
51,
390,
17455,
1046,
1397,
221,
11347,
2799,
51,
13870,
1052,
2556,
221,
130,
2556,
221,
325,
7822,
393,
328,
1726,
16298,
110,
3987,
14608,
110,
374,
221,
4412,
458,
7573,
299,
878,
64,
374,
221,
1287,
128,
621,
221,
17168,
7399,
51,
1571,
7833,
110,
45,
11437,
6425,
10048,
51,
13870,
49,
2566,
2775,
49,
2566,
2869,
49,
1319,
49,
13979,
5358,
312,
374,
221,
130,
5639,
45,
1002,
503,
1528,
621,
221,
316,
7573,
299,
920,
64,
621,
221,
7221,
51,
28901,
45,
106,
51,
7724,
1052,
374,
221,
130,
374,
221,
344,
1445,
316,
7573,
46,
320,
13699,
221,
325,
758,
471,
2343,
342,
32731,
3579,
292,
4736,
335,
621,
221,
597,
51,
489,
1260,
3188,
45,
1491,
49,
2566,
2775,
49,
13979,
7399,
49,
13979,
5358,
49,
6451,
49,
38393,
6425,
10048,
51,
13870,
49,
21535,
221,
597,
51,
30105,
14856,
739,
45,
4482,
2775,
894,
5033,
221,
325,
1426,
587,
116,
613,
16298,
110,
621,
221,
739,
65,
768,
1325,
67,
26888,
299,
556,
5068,
6984,
621,
221,
2923,
110,
51,
688,
45,
7399,
2769,
51,
11574,
1325,
1580,
3594,
2116,
14071,
1052,
13699,
221,
597,
51,
23390,
13831,
7833,
110,
45,
2923,
110,
49,
4482,
2775,
312,
13699,
221,
17168,
7399,
51,
23390,
7833,
110,
45,
2923,
110,
49,
38393,
6425,
10048,
51,
13870,
49,
2566,
2775,
49,
2566,
2869,
49,
1319,
49,
13979,
5358,
312,
13699,
221,
7221,
51,
489,
7833,
110,
45,
2923,
110,
312,
5033,
221,
7399,
2769,
51,
489,
8633,
2199,
1983,
768,
13650,
3152,
45,
1375,
49,
3541,
49,
22004,
49,
6451,
312,
5033,
221,
620,
24622,
2769,
51,
390,
2026,
16566,
11347,
3594,
2116,
2157,
943,
45,
9399,
49,
21535,
221,
597,
51,
390,
17455,
1046,
1397,
221,
11347,
2799,
51,
13870,
1052,
374,
221,
130,
2556,
221,
671,
1275,
5333,
299,
24622,
2769,
51,
12226,
5333,
1811,
3152,
45,
2867,
312,
2556,
221,
4687,
14856,
5358,
7780,
299,
556,
21723,
14856,
5358,
492,
374,
221,
5106,
51,
489,
14856,
5358,
45,
17168,
5358,
312,
374,
221,
5106,
51,
489,
14856,
7399,
45,
17168,
7399,
312,
374,
221,
5106,
51,
489,
11313,
5358,
45,
1491,
312,
374,
221,
5106,
51,
489,
16775,
11313,
5358,
45,
1886,
312,
8212,
221,
4482,
2869,
51,
14426,
2346,
3786,
45,
514,
5333,
49,
2566,
2775,
51,
1752,
13823,
1046,
7780,
312,
2556,
221,
325,
7497,
587,
116,
2343,
16332,
374,
221,
7634,
3209,
559,
15946,
1192,
299,
327,
7634,
3209,
46,
24622,
2769,
51,
390,
3209,
976,
1811,
3152,
45,
1375,
49,
3541,
49,
6497,
3209,
51,
842,
312,
374,
221,
429,
828,
31668,
299,
477,
51,
7068,
739,
492,
374,
221,
429,
2741,
299,
559,
15946,
1192,
51,
390,
25331,
45,
333,
31668,
312,
374,
221,
429,
3413,
299,
559,
15946,
1192,
51,
27799,
402,
445,
923,
293,
45,
333,
31668,
312,
374,
221,
671,
3252,
299,
327,
1107,
51,
1693,
438,
352,
539,
55,
51,
1284,
51,
9778,
51,
9381,
7330,
51,
9561,
100,
18384,
100,
5986,
100,
34237,
546,
4035,
100,
41597,
51,
3591,
45,
3953,
284,
1192,
51,
390,
3209,
671,
45,
333,
31668,
509,
1037,
3347,
518,
559,
15946,
1192,
51,
390,
3209,
671,
45,
333,
31668,
894,
374,
221,
14856,
739,
13979,
739,
299,
13979,
7399,
51,
17168,
5358,
739,
45,
11437,
6425,
10048,
51,
13870,
49,
2566,
2775,
49,
2566,
2869,
49,
596,
221,
1491,
49,
2741,
49,
3413,
49,
3252,
312,
374,
221,
3953,
284,
1192,
51,
489,
2585,
9917,
45,
333,
31668,
49,
17168,
739,
51,
24600,
1052,
2556,
221,
597,
51,
9272,
739,
45,
11437,
6425,
10048,
51,
13870,
49,
2566,
2775,
49,
559,
15946,
1192,
49,
1319,
49,
13979,
7399,
49,
13979,
739,
51,
390,
14856,
5358,
1046,
7822,
16554,
2869,
51,
38182,
1046,
596,
221,
597,
51,
30105,
14856,
75,
3814,
45,
4482,
2775,
894,
2556,
221,
671,
3141,
1000,
749,
6599,
299,
13979,
7399,
51,
38824,
116,
2590,
21039,
33460,
383,
13389,
420,
45,
11437,
6425,
10048,
51,
13870,
49,
2566,
2775,
312,
374,
221,
344,
45,
2093,
1000,
749,
6599,
6917,
1710,
979,
673,
1033,
51,
3591,
45,
2093,
1000,
749,
6599,
7717,
621,
221,
7221,
51,
28901,
45,
2093,
1000,
749,
6599,
49,
9381,
7330,
51,
9570,
100,
2333,
100,
1608,
312,
374,
221,
130,
8212,
244,
221,
7399,
2769,
51,
489,
8633,
2199,
1983,
768,
13650,
3152,
45,
1375,
49,
3541,
49,
22004,
49,
6451,
312,
2556,
244,
221,
620,
24622,
2769,
51,
390,
2026,
16566,
11347,
3594,
2116,
14071,
45,
9399,
49,
8671,
10883,
221,
597,
51,
390,
17455,
1046,
9139,
313,
221,
11347,
2799,
51,
13870,
1052,
376,
221,
130,
2385,
327,
1002,
503,
46,
320,
374,
221,
620,
24622,
2769,
51,
390,
2026,
16566,
11347,
943,
45,
2436,
16554,
2869,
51,
38182,
1046,
503,
49,
6451,
49,
1343,
49,
3541,
49,
22004,
49,
8023,
49,
19753,
221,
597,
51,
390,
17455,
1046,
596,
221,
11347,
2799,
51,
13870,
1052,
376,
221,
130,
5357,
221,
130,
3038,
222,
130,
222
] |
[
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 2,128
| true
| 76.117042
| true
| true
|
UpdateOrCreateSoggettoResponse.java
|
/FileExtraction/Java_unseen/link-it_govway/tools/ws/registry/server/src/org/openspcoop2/core/registry/ws/server/wrapped/UpdateOrCreateSoggettoResponse.java
|
/*
* GovWay - A customizable API Gateway
* https://govway.org
*
* Copyright (c) 2005-2024 Link.it srl (https://link.it).
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 3, as published by
* the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
package org.openspcoop2.core.registry.ws.server.wrapped;
/**
* <p>Java class for UpdateOrCreateSoggettoResponse complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="updateOrCreateResponse" />
* </pre>
*
*
*/
import java.io.Serializable;
/**
* UpdateOrCreateSoggettoResponse
*
* @author Poli Andrea ([email protected])
* @author $Author$
* @version $Rev$, $Date$
*/
@javax.xml.bind.annotation.XmlAccessorType(javax.xml.bind.annotation.XmlAccessType.FIELD)
@javax.xml.bind.annotation.XmlType(name = "updateOrCreateResponse", namespace="http://www.openspcoop2.org/core/registry/management", propOrder = {
})
@javax.xml.bind.annotation.XmlRootElement(name = "updateOrCreateResponse")
public class UpdateOrCreateSoggettoResponse extends org.openspcoop2.utils.beans.BaseBean implements Serializable , Cloneable {
private static final long serialVersionUID = -1L;
}
| 1,709
|
Java
|
.java
|
link-it/govway
| 48
| 8
| 18
|
2018-06-25T07:52:40Z
|
2024-05-08T13:23:36Z
|
09414186d070be161ceeaa8e65a764c4c7d87c36eb03bde399275351fbc50601
|
[
1127,
222,
338,
590,
1558,
17963,
449,
418,
3137,
6776,
2347,
19405,
1676,
338,
1698,
574,
7202,
3094,
51,
1107,
222,
338,
1676,
338,
2657,
327,
104,
46,
244,
55,
53,
53,
58,
50,
55,
53,
55,
57,
6130,
51,
302,
328,
1796,
327,
662,
574,
1222,
51,
302,
566,
222,
338,
1676,
338,
1369,
3477,
458,
3760,
2951,
63,
863,
902,
14081,
580,
480,
52,
290,
5370,
222,
338,
580,
1549,
341,
5974,
451,
341,
6994,
6153,
5062,
1196,
1522,
244,
56,
49,
641,
9582,
829,
222,
338,
341,
7834,
3870,
7120,
51,
222,
338,
222,
338,
1369,
3477,
458,
2744,
347,
341,
9850,
708,
580,
1118,
545,
6386,
49,
222,
338,
1294,
4213,
2979,
9345,
64,
2895,
4462,
341,
4506,
14319,
451,
222,
338,
7934,
575,
8114,
4800,
418,
7848,
7763,
51,
244,
2819,
341,
222,
338,
6994,
6153,
5062,
1196,
456,
1851,
4261,
51,
222,
338,
222,
338,
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
6153,
5062,
1196,
222,
338,
7979,
642,
477,
3477,
51,
244,
1691,
666,
49,
2337,
350,
544,
574,
1516,
51,
10627,
51,
1107,
52,
4205,
28699,
222,
338,
222,
588,
222,
1337,
1105,
51,
1693,
438,
352,
539,
55,
51,
1284,
51,
8205,
51,
3624,
51,
1805,
51,
21084,
64,
222,
222,
1350,
222,
338,
350,
117,
67,
5445,
462,
456,
4013,
25276,
88,
835,
33359,
1416,
8667,
847,
51,
222,
338,
1676,
338,
350,
117,
67,
1338,
2434,
5379,
10299,
15834,
341,
2816,
1813,
14561,
4824,
477,
462,
51,
222,
338,
1676,
338,
350,
1023,
67,
222,
338,
568,
2176,
64,
46990,
655,
366,
1896,
25276,
1416,
39,
43200,
1855,
64,
222,
338,
594,
1023,
67,
222,
338,
1676,
338,
1676,
588,
353,
222,
485,
1401,
51,
735,
51,
12644,
64,
15781,
222,
1350,
665,
222,
338,
4013,
25276,
88,
835,
33359,
1416,
222,
338,
222,
338,
496,
2133,
14358,
110,
4262,
25706,
327,
3435,
110,
69,
1222,
51,
302,
46,
222,
338,
496,
2133,
417,
4372,
41,
222,
338,
496,
1687,
417,
14911,
15730,
417,
1563,
41,
222,
588,
222,
222,
69,
10775,
51,
2608,
51,
2555,
51,
4341,
51,
4411,
9794,
638,
45,
10775,
51,
2608,
51,
2555,
51,
4341,
51,
4411,
41079,
51,
6457,
46,
222,
69,
10775,
51,
2608,
51,
2555,
51,
4341,
51,
40002,
45,
444,
299,
332,
1896,
25276,
1416,
411,
3596,
366,
544,
574,
1516,
51,
1693,
438,
352,
539,
55,
51,
1107,
52,
1284,
52,
8205,
52,
9343,
411,
7030,
2888,
299,
320,
222,
1770,
222,
69,
10775,
51,
2608,
51,
2555,
51,
4341,
51,
4411,
4069,
1325,
45,
444,
299,
332,
1896,
25276,
1416,
678,
222,
942,
462,
4013,
25276,
88,
835,
33359,
1416,
2041,
1105,
51,
1693,
438,
352,
539,
55,
51,
2324,
51,
9580,
51,
1778,
5358,
4584,
19182,
1737,
14427,
463,
320,
3038,
221,
2072,
924,
1175,
1964,
19896,
299,
449,
54,
81,
64,
15778,
376,
222,
130
] |
[
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 481
| true
| 72.908133
| true
| true
|
InspectKillActionTest.java
|
/FileExtraction/Java_unseen/arianne_stendhal/tests/games/stendhal/client/actions/InspectKillActionTest.java
|
/* $Id$ */
/***************************************************************************
* (C) Copyright 2003-2010 - Stendhal *
***************************************************************************
***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
package games.stendhal.client.actions;
import static games.stendhal.common.constants.Actions.INSPECTKILL;
import static org.hamcrest.CoreMatchers.is;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertThat;
import static org.junit.Assert.assertTrue;
import org.junit.After;
import org.junit.BeforeClass;
import org.junit.Test;
import games.stendhal.client.MockStendhalClient;
import games.stendhal.client.StendhalClient;
import marauroa.common.game.RPAction;
public class InspectKillActionTest {
@BeforeClass
public static void setUpBeforeClass() throws Exception {
}
@After
public void tearDown() throws Exception {
StendhalClient.resetClient();
}
/**
* Tests for execute.
*/
@Test
public void testExecute() {
new MockStendhalClient() {
@Override
public void send(final RPAction action) {
assertEquals(INSPECTKILL, action.get("type"));
}
};
final InspectKillAction action = new InspectKillAction();
String[] params = {"target", "killtype", "count"};
assertTrue(action.execute(params, "remainder"));
}
/**
* Tests for getMaximumParameters.
*/
@Test
public void testGetMaximumParameters() {
final InspectKillAction action = new InspectKillAction();
assertThat(action.getMaximumParameters(), is(1));
}
/**
* Tests for getMinimumParameters.
*/
@Test
public void testGetMinimumParameters() {
final InspectKillAction action = new InspectKillAction();
assertThat(action.getMinimumParameters(), is(1));
}
}
| 2,362
|
Java
|
.java
|
arianne/stendhal
| 564
| 198
| 134
|
2015-08-02T18:22:40Z
|
2024-05-09T08:19:35Z
|
39898a16a12065c3113ec003392bc36c0d331cc973699393e3ca6418a48362dd
|
[
1127,
417,
625,
41,
588,
222,
11528,
8150,
222,
338,
6031,
327,
72,
46,
2657,
244,
55,
53,
53,
56,
50,
55,
53,
54,
53,
449,
1277,
435,
10296,
4714,
338,
222,
13533,
345,
222,
13533,
345,
222,
338,
41101,
338,
222,
338,
280,
1369,
3477,
458,
3760,
2951,
64,
863,
902,
14081,
580,
480,
52,
290,
5370,
244,
338,
222,
338,
280,
580,
1549,
341,
5974,
451,
341,
6994,
6153,
5062,
1196,
641,
9582,
829,
244,
338,
222,
338,
280,
341,
7834,
3870,
7120,
64,
3173,
1522,
244,
55,
451,
341,
1196,
49,
575,
281,
338,
222,
338,
280,
327,
288,
1390,
2489,
46,
1364,
6146,
1522,
51,
19054,
338,
222,
338,
41101,
338,
222,
13533,
15722,
222,
1337,
19768,
51,
289,
435,
10296,
51,
1598,
51,
3564,
64,
222,
222,
485,
924,
19768,
51,
289,
435,
10296,
51,
2297,
51,
9778,
51,
7113,
51,
14013,
4321,
48932,
64,
222,
485,
924,
1105,
51,
28777,
51,
2869,
17349,
51,
316,
64,
222,
485,
924,
1105,
51,
3946,
51,
3285,
51,
4993,
64,
222,
485,
924,
1105,
51,
3946,
51,
3285,
51,
17427,
64,
222,
485,
924,
1105,
51,
3946,
51,
3285,
51,
6553,
64,
222,
222,
485,
1105,
51,
3946,
51,
5131,
64,
222,
485,
1105,
51,
3946,
51,
40078,
64,
222,
485,
1105,
51,
3946,
51,
1024,
64,
222,
222,
485,
19768,
51,
289,
435,
10296,
51,
1598,
51,
3672,
520,
435,
10296,
1503,
64,
222,
485,
19768,
51,
289,
435,
10296,
51,
1598,
51,
520,
435,
10296,
1503,
64,
222,
485,
11633,
4474,
309,
102,
51,
2297,
51,
3642,
51,
5743,
1728,
64,
222,
222,
942,
462,
719,
14590,
27844,
1728,
1024,
320,
222,
221,
69,
40078,
222,
221,
942,
924,
782,
14544,
40078,
365,
2589,
3284,
320,
222,
221,
130,
499,
221,
69,
5131,
222,
221,
942,
782,
28896,
365,
2589,
3284,
320,
376,
221,
520,
435,
10296,
1503,
51,
4558,
1503,
492,
222,
221,
130,
499,
221,
1350,
376,
338,
11399,
456,
5755,
51,
376,
588,
222,
221,
69,
1024,
222,
221,
942,
782,
913,
7089,
365,
320,
376,
221,
909,
7509,
520,
435,
10296,
1503,
365,
320,
374,
221,
69,
1806,
374,
221,
942,
782,
3256,
45,
3242,
8229,
1728,
2146,
46,
320,
621,
221,
4993,
45,
14013,
4321,
48932,
49,
2146,
51,
390,
459,
700,
2992,
374,
221,
130,
376,
221,
1274,
1332,
221,
3242,
719,
14590,
27844,
1728,
2146,
299,
556,
719,
14590,
27844,
1728,
492,
376,
221,
671,
1197,
2822,
299,
3479,
2000,
411,
332,
14043,
700,
411,
332,
1016,
17066,
376,
221,
6553,
45,
1160,
51,
4540,
45,
2155,
49,
332,
43744,
2992,
222,
221,
130,
499,
221,
1350,
376,
338,
11399,
456,
640,
12739,
3694,
51,
376,
588,
222,
221,
69,
1024,
222,
221,
942,
782,
23910,
12739,
3694,
365,
320,
376,
221,
3242,
719,
14590,
27844,
1728,
2146,
299,
556,
719,
14590,
27844,
1728,
492,
376,
221,
17427,
45,
1160,
51,
390,
12739,
3694,
1046,
458,
45,
54,
894,
222,
221,
130,
499,
221,
1350,
376,
338,
11399,
456,
640,
13368,
3694,
51,
376,
588,
222,
221,
69,
1024,
222,
221,
942,
782,
23910,
13368,
3694,
365,
320,
376,
221,
3242,
719,
14590,
27844,
1728,
2146,
299,
556,
719,
14590,
27844,
1728,
492,
376,
221,
17427,
45,
1160,
51,
390,
13368,
3694,
1046,
458,
45,
54,
894,
222,
221,
130,
222,
130,
222
] |
[
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,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1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 555
| true
| 56.604572
| true
| true
|
EntityEventClass.java
|
/FileExtraction/Java_unseen/wizards-of-lua_wizards-of-lua/src/main/java/net/wizardsoflua/lua/classes/event/EntityEventClass.java
|
package net.wizardsoflua.lua.classes.event;
import com.google.auto.service.AutoService;
import net.minecraft.entity.Entity;
import net.minecraftforge.event.entity.EntityEvent;
import net.sandius.rembulan.Table;
import net.wizardsoflua.annotation.GenerateLuaClassTable;
import net.wizardsoflua.annotation.GenerateLuaDoc;
import net.wizardsoflua.annotation.GenerateLuaInstanceTable;
import net.wizardsoflua.annotation.LuaProperty;
import net.wizardsoflua.extension.api.inject.Resource;
import net.wizardsoflua.extension.spell.api.resource.Injector;
import net.wizardsoflua.extension.spell.api.resource.LuaConverters;
import net.wizardsoflua.extension.spell.spi.LuaConverter;
import net.wizardsoflua.lua.classes.BasicLuaClass;
import net.wizardsoflua.lua.classes.LuaClassAttributes;
import net.wizardsoflua.lua.classes.common.Delegator;
/**
* The <span class="notranslate">EntityEvent</span> is the base class of events about an entity.
*
*/
@AutoService(LuaConverter.class)
@LuaClassAttributes(name = EntityEventClass.NAME, superClass = EventClass.class)
@GenerateLuaClassTable(instance = EntityEventClass.Instance.class)
@GenerateLuaDoc(type = EventClass.TYPE)
public final class EntityEventClass
extends BasicLuaClass<EntityEvent, EntityEventClass.Instance<EntityEvent>> {
public static final String NAME = "EntityEvent";
@Resource
private LuaConverters converters;
@Resource
private Injector injector;
@Override
protected Table createRawTable() {
return new EntityEventClassTable<>(this, converters);
}
@Override
protected Delegator<Instance<EntityEvent>> toLuaInstance(EntityEvent javaInstance) {
return new EntityEventClassInstanceTable<>(new Instance<>(javaInstance, getName(), injector),
getTable(), converters);
}
@GenerateLuaInstanceTable
public static class Instance<D extends EntityEvent> extends EventClass.Instance<D> {
public Instance(D delegate, String name, Injector injector) {
super(delegate, name, injector);
}
/**
* The entity that this event is about.
*/
@LuaProperty
public Entity getEntity() {
return delegate.getEntity();
}
}
}
| 2,154
|
Java
|
.java
|
wizards-of-lua/wizards-of-lua
| 23
| 0
| 37
|
2016-11-20T13:01:39Z
|
2024-03-18T18:17:32Z
|
2738a8ebf8dad22e89c677c827a61521d75ed3ba2d7e5b71490e99ecdbb0f02e
|
[
1337,
3723,
51,
21862,
780,
1326,
3546,
51,
8822,
51,
4844,
51,
1585,
64,
222,
222,
485,
785,
51,
2193,
51,
2853,
51,
2140,
51,
4754,
1201,
64,
222,
222,
485,
3723,
51,
8654,
51,
2244,
51,
2234,
64,
222,
485,
3723,
51,
31599,
51,
1585,
51,
2244,
51,
2234,
1167,
64,
222,
485,
3723,
51,
25067,
3279,
51,
287,
1253,
44448,
51,
1617,
64,
222,
485,
3723,
51,
21862,
780,
1326,
3546,
51,
4341,
51,
10513,
15711,
1359,
1617,
64,
222,
485,
3723,
51,
21862,
780,
1326,
3546,
51,
4341,
51,
10513,
15711,
4234,
64,
222,
485,
3723,
51,
21862,
780,
1326,
3546,
51,
4341,
51,
10513,
15711,
1825,
1617,
64,
222,
485,
3723,
51,
21862,
780,
1326,
3546,
51,
4341,
51,
15711,
1667,
64,
222,
485,
3723,
51,
21862,
780,
1326,
3546,
51,
6749,
51,
1256,
51,
10287,
51,
2305,
64,
222,
485,
3723,
51,
21862,
780,
1326,
3546,
51,
6749,
51,
19303,
51,
1256,
51,
3157,
51,
26669,
64,
222,
485,
3723,
51,
21862,
780,
1326,
3546,
51,
6749,
51,
19303,
51,
1256,
51,
3157,
51,
15711,
36192,
64,
222,
485,
3723,
51,
21862,
780,
1326,
3546,
51,
6749,
51,
19303,
51,
10787,
51,
15711,
6521,
64,
222,
485,
3723,
51,
21862,
780,
1326,
3546,
51,
8822,
51,
4844,
51,
7114,
15711,
1359,
64,
222,
485,
3723,
51,
21862,
780,
1326,
3546,
51,
8822,
51,
4844,
51,
15711,
1359,
5097,
64,
222,
485,
3723,
51,
21862,
780,
1326,
3546,
51,
8822,
51,
4844,
51,
2297,
51,
19933,
738,
64,
222,
222,
1350,
222,
338,
906,
350,
681,
462,
366,
1365,
7407,
432,
2234,
1167,
396,
681,
67,
458,
341,
1712,
462,
451,
5233,
2645,
619,
4436,
51,
222,
338,
222,
588,
222,
69,
4754,
1201,
45,
15711,
6521,
51,
842,
46,
222,
69,
15711,
1359,
5097,
45,
444,
299,
7276,
1167,
1359,
51,
2491,
49,
47458,
299,
3916,
1359,
51,
842,
46,
222,
69,
10513,
15711,
1359,
1617,
45,
2403,
299,
7276,
1167,
1359,
51,
1825,
51,
842,
46,
222,
69,
10513,
15711,
4234,
45,
700,
299,
3916,
1359,
51,
2333,
46,
222,
942,
1175,
462,
7276,
1167,
1359,
303,
2041,
9280,
15711,
1359,
65,
2234,
1167,
49,
7276,
1167,
1359,
51,
1825,
65,
2234,
1167,
2023,
320,
353,
581,
924,
1175,
910,
8920,
299,
332,
2234,
1167,
884,
353,
496,
2305,
353,
964,
18940,
36192,
17682,
120,
64,
353,
496,
2305,
353,
964,
19732,
290,
44599,
64,
736,
496,
1806,
353,
2532,
5565,
1506,
6200,
1617,
365,
320,
303,
461,
556,
7276,
1167,
1359,
1617,
11530,
597,
49,
17682,
120,
312,
353,
339,
736,
496,
1806,
353,
2532,
41806,
738,
65,
1825,
65,
2234,
1167,
2023,
391,
15711,
1825,
45,
2234,
1167,
1401,
1825,
46,
320,
303,
461,
556,
7276,
1167,
1359,
1825,
1617,
11530,
909,
11619,
11530,
1874,
1825,
49,
16389,
1046,
44599,
490,
310,
640,
1617,
1046,
17682,
120,
312,
353,
339,
736,
496,
10513,
15711,
1825,
1617,
353,
581,
924,
462,
11619,
65,
73,
2041,
7276,
1167,
67,
2041,
3916,
1359,
51,
1825,
65,
73,
67,
320,
303,
581,
11619,
45,
73,
11164,
49,
910,
655,
49,
19732,
290,
44599,
46,
320,
416,
2615,
45,
14381,
49,
655,
49,
44599,
312,
303,
339,
465,
1041,
294,
338,
906,
4436,
708,
477,
1708,
458,
2645,
51,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1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 568
| true
| 78.505107
| true
| true
|
GroovyClassLoadingTests.java
|
/FileExtraction/Java_unseen/TAKETODAY_today-infrastructure/today-context/src/test/java/cn/taketoday/scripting/groovy/GroovyClassLoadingTests.java
|
/*
* Original Author -> Harry Yang ([email protected]) https://taketoday.cn
* Copyright © TODAY & 2017 - 2022 All Rights Reserved.
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see [http://www.gnu.org/licenses/]
*/
package cn.taketoday.scripting.groovy;
import org.junit.jupiter.api.Test;
import java.lang.reflect.Method;
import cn.taketoday.beans.factory.support.RootBeanDefinition;
import cn.taketoday.context.support.StaticApplicationContext;
import cn.taketoday.util.ReflectionUtils;
import groovy.lang.GroovyClassLoader;
import static org.assertj.core.api.Assertions.assertThat;
/**
* @author Mark Fisher
*/
public class GroovyClassLoadingTests {
@Test
@SuppressWarnings("resource")
public void classLoading() throws Exception {
StaticApplicationContext context = new StaticApplicationContext();
GroovyClassLoader gcl = new GroovyClassLoader();
Class<?> class1 = gcl.parseClass("class TestBean { def myMethod() { \"foo\" } }");
Class<?> class2 = gcl.parseClass("class TestBean { def myMethod() { \"bar\" } }");
context.registerBeanDefinition("testBean", new RootBeanDefinition(class1));
Object testBean1 = context.getBean("testBean");
Method method1 = class1.getDeclaredMethod("myMethod", new Class<?>[0]);
Object result1 = ReflectionUtils.invokeMethod(method1, testBean1);
assertThat(result1).isEqualTo("foo");
context.removeBeanDefinition("testBean");
context.registerBeanDefinition("testBean", new RootBeanDefinition(class2));
Object testBean2 = context.getBean("testBean");
Method method2 = class2.getDeclaredMethod("myMethod", new Class<?>[0]);
Object result2 = ReflectionUtils.invokeMethod(method2, testBean2);
assertThat(result2).isEqualTo("bar");
}
}
| 2,381
|
Java
|
.java
|
TAKETODAY/today-infrastructure
| 106
| 13
| 25
|
2018-08-16T12:12:39Z
|
2024-05-08T14:01:23Z
|
1c4d39f996cb5b74534947092b4a562b2b0979055ed3c9e89042db02e3f70926
|
[
1127,
222,
338,
20157,
6265,
984,
696,
11066,
47492,
327,
121,
23060,
450,
414,
69,
10106,
2215,
51,
527,
46,
1698,
574,
121,
23060,
450,
414,
51,
4999,
222,
338,
2657,
14416,
2841,
14332,
568,
244,
55,
53,
54,
60,
449,
244,
55,
53,
55,
55,
3381,
12902,
11921,
51,
222,
338,
222,
338,
4103,
2387,
23740,
1895,
35234,
8995,
2387,
11988,
1895,
8968,
30441,
222,
338,
222,
338,
1369,
3477,
458,
3760,
2951,
63,
863,
902,
14081,
580,
480,
52,
290,
5370,
222,
338,
580,
1549,
341,
5974,
451,
341,
6994,
6153,
5062,
1196,
641,
9582,
829,
222,
338,
341,
7834,
3870,
7120,
49,
3173,
1522,
244,
56,
451,
341,
1196,
49,
575,
222,
338,
327,
288,
1390,
2489,
46,
1364,
6146,
1522,
51,
222,
338,
222,
338,
1369,
3477,
458,
2744,
347,
341,
9850,
708,
580,
1118,
545,
6386,
49,
222,
338,
1294,
4213,
2979,
9345,
64,
2895,
4462,
341,
4506,
14319,
451,
222,
338,
7934,
575,
8114,
4800,
418,
7848,
7763,
51,
244,
2819,
341,
222,
338,
6994,
6153,
5062,
1196,
456,
1851,
4261,
51,
222,
338,
222,
338,
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
6153,
5062,
1196,
222,
338,
7979,
642,
477,
3477,
51,
244,
1691,
666,
49,
2337,
447,
544,
574,
1516,
51,
10627,
51,
1107,
52,
4205,
52,
98,
222,
588,
222,
1337,
13007,
51,
121,
23060,
450,
414,
51,
1442,
318,
51,
26029,
64,
222,
222,
485,
1105,
51,
3946,
51,
14127,
51,
1256,
51,
1024,
64,
222,
222,
485,
1401,
51,
1600,
51,
9069,
51,
1885,
64,
222,
222,
485,
13007,
51,
121,
23060,
450,
414,
51,
9580,
51,
5802,
51,
3608,
51,
4069,
5358,
3385,
64,
222,
485,
13007,
51,
121,
23060,
450,
414,
51,
1834,
51,
3608,
51,
5983,
18385,
64,
222,
485,
13007,
51,
121,
23060,
450,
414,
51,
1058,
51,
12396,
2769,
64,
222,
485,
20255,
16684,
51,
1600,
51,
28801,
16684,
20422,
64,
222,
222,
485,
924,
1105,
51,
40018,
51,
1284,
51,
1256,
51,
16980,
51,
17427,
64,
222,
222,
1350,
222,
338,
496,
2133,
7797,
47947,
284,
222,
588,
222,
942,
462,
34790,
16684,
1359,
7077,
4485,
320,
736,
496,
1024,
353,
496,
14030,
459,
3157,
678,
353,
581,
782,
462,
7077,
365,
2589,
3284,
320,
303,
14352,
18385,
1637,
299,
556,
14352,
18385,
492,
465,
34790,
16684,
20422,
504,
592,
299,
556,
34790,
16684,
20422,
492,
303,
1727,
11667,
462,
54,
299,
504,
592,
51,
2228,
1359,
459,
842,
2128,
5358,
320,
684,
1690,
1885,
365,
320,
4045,
4003,
1508,
339,
339,
742,
303,
1727,
11667,
462,
55,
299,
504,
592,
51,
2228,
1359,
459,
842,
2128,
5358,
320,
684,
1690,
1885,
365,
320,
4045,
1652,
1508,
339,
339,
742,
465,
1637,
51,
3334,
5358,
3385,
459,
881,
5358,
411,
556,
14753,
5358,
3385,
45,
842,
54,
894,
303,
2210,
913,
5358,
54,
299,
1637,
51,
39497,
459,
881,
5358,
742,
303,
5409,
1431,
54,
299,
462,
54,
51,
36823,
1885,
459,
1791,
1885,
411,
556,
1727,
1907,
8838,
53,
2004,
303,
2210,
1074,
54,
299,
28722,
2769,
51,
7845,
1885,
45,
1978,
54,
49,
913,
5358,
54,
312,
303,
7624,
45,
1285,
54,
566,
14697,
459,
4003,
742,
465,
1637,
51,
2564,
5358,
3385,
459,
881,
5358,
742,
303,
1637,
51,
3334,
5358,
3385,
459,
881,
5358,
411,
556,
14753,
5358,
3385,
45,
842,
55,
894,
303,
2210,
913,
5358,
55,
299,
1637,
51,
39497,
459,
881,
5358,
742,
303,
5409,
1431,
55,
299,
462,
55,
51,
36823,
1885,
459,
1791,
1885,
411,
556,
1727,
1907,
8838,
53,
2004,
303,
2210,
1074,
55,
299,
28722,
2769,
51,
7845,
1885,
45,
1978,
55,
49,
913,
5358,
55,
312,
303,
7624,
45,
1285,
55,
566,
14697,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
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 623
| true
| 73.235294
| true
| true
|
ClassicalRungeKuttaIntegratorTest.java
|
/FileExtraction/Java_unseen/SpoonLabs_astor/examples/math_85/src/test/org/apache/commons/math/ode/nonstiff/ClassicalRungeKuttaIntegratorTest.java
|
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.apache.commons.math.ode.nonstiff;
import junit.framework.*;
import org.apache.commons.math.ode.DerivativeException;
import org.apache.commons.math.ode.FirstOrderDifferentialEquations;
import org.apache.commons.math.ode.FirstOrderIntegrator;
import org.apache.commons.math.ode.IntegratorException;
import org.apache.commons.math.ode.TestProblem1;
import org.apache.commons.math.ode.TestProblem3;
import org.apache.commons.math.ode.TestProblem5;
import org.apache.commons.math.ode.TestProblemAbstract;
import org.apache.commons.math.ode.TestProblemFactory;
import org.apache.commons.math.ode.TestProblemHandler;
import org.apache.commons.math.ode.events.EventHandler;
import org.apache.commons.math.ode.nonstiff.ClassicalRungeKuttaIntegrator;
import org.apache.commons.math.ode.sampling.StepHandler;
import org.apache.commons.math.ode.sampling.StepInterpolator;
public class ClassicalRungeKuttaIntegratorTest
extends TestCase {
public ClassicalRungeKuttaIntegratorTest(String name) {
super(name);
}
public void testSanityChecks() {
try {
TestProblem1 pb = new TestProblem1();
new ClassicalRungeKuttaIntegrator(0.01).integrate(pb,
0.0, new double[pb.getDimension()+10],
1.0, new double[pb.getDimension()]);
fail("an exception should have been thrown");
} catch(DerivativeException de) {
fail("wrong exception caught");
} catch(IntegratorException ie) {
}
try {
TestProblem1 pb = new TestProblem1();
new ClassicalRungeKuttaIntegrator(0.01).integrate(pb,
0.0, new double[pb.getDimension()],
1.0, new double[pb.getDimension()+10]);
fail("an exception should have been thrown");
} catch(DerivativeException de) {
fail("wrong exception caught");
} catch(IntegratorException ie) {
}
try {
TestProblem1 pb = new TestProblem1();
new ClassicalRungeKuttaIntegrator(0.01).integrate(pb,
0.0, new double[pb.getDimension()],
0.0, new double[pb.getDimension()]);
fail("an exception should have been thrown");
} catch(DerivativeException de) {
fail("wrong exception caught");
} catch(IntegratorException ie) {
}
}
public void testDecreasingSteps()
throws DerivativeException, IntegratorException {
TestProblemAbstract[] problems = TestProblemFactory.getProblems();
for (int k = 0; k < problems.length; ++k) {
double previousError = Double.NaN;
for (int i = 4; i < 10; ++i) {
TestProblemAbstract pb = problems[k].copy();
double step = (pb.getFinalTime() - pb.getInitialTime()) * Math.pow(2.0, -i);
FirstOrderIntegrator integ = new ClassicalRungeKuttaIntegrator(step);
TestProblemHandler handler = new TestProblemHandler(pb, integ);
integ.addStepHandler(handler);
EventHandler[] functions = pb.getEventsHandlers();
for (int l = 0; l < functions.length; ++l) {
integ.addEventHandler(functions[l],
Double.POSITIVE_INFINITY, 1.0e-6 * step, 1000);
}
assertEquals(functions.length, integ.getEventHandlers().size());
double stopTime = integ.integrate(pb, pb.getInitialTime(), pb.getInitialState(),
pb.getFinalTime(), new double[pb.getDimension()]);
if (functions.length == 0) {
assertEquals(pb.getFinalTime(), stopTime, 1.0e-10);
}
double error = handler.getMaximalValueError();
if (i > 4) {
assertTrue(error < Math.abs(previousError));
}
previousError = error;
assertEquals(0, handler.getMaximalTimeError(), 1.0e-12);
integ.clearEventHandlers();
assertEquals(0, integ.getEventHandlers().size());
}
}
}
public void testSmallStep()
throws DerivativeException, IntegratorException {
TestProblem1 pb = new TestProblem1();
double step = (pb.getFinalTime() - pb.getInitialTime()) * 0.001;
FirstOrderIntegrator integ = new ClassicalRungeKuttaIntegrator(step);
TestProblemHandler handler = new TestProblemHandler(pb, integ);
integ.addStepHandler(handler);
integ.integrate(pb, pb.getInitialTime(), pb.getInitialState(),
pb.getFinalTime(), new double[pb.getDimension()]);
assertTrue(handler.getLastError() < 2.0e-13);
assertTrue(handler.getMaximalValueError() < 4.0e-12);
assertEquals(0, handler.getMaximalTimeError(), 1.0e-12);
assertEquals("classical Runge-Kutta", integ.getName());
}
public void testBigStep()
throws DerivativeException, IntegratorException {
TestProblem1 pb = new TestProblem1();
double step = (pb.getFinalTime() - pb.getInitialTime()) * 0.2;
FirstOrderIntegrator integ = new ClassicalRungeKuttaIntegrator(step);
TestProblemHandler handler = new TestProblemHandler(pb, integ);
integ.addStepHandler(handler);
integ.integrate(pb, pb.getInitialTime(), pb.getInitialState(),
pb.getFinalTime(), new double[pb.getDimension()]);
assertTrue(handler.getLastError() > 0.0004);
assertTrue(handler.getMaximalValueError() > 0.005);
assertEquals(0, handler.getMaximalTimeError(), 1.0e-12);
}
public void testBackward()
throws DerivativeException, IntegratorException {
TestProblem5 pb = new TestProblem5();
double step = Math.abs(pb.getFinalTime() - pb.getInitialTime()) * 0.001;
FirstOrderIntegrator integ = new ClassicalRungeKuttaIntegrator(step);
TestProblemHandler handler = new TestProblemHandler(pb, integ);
integ.addStepHandler(handler);
integ.integrate(pb, pb.getInitialTime(), pb.getInitialState(),
pb.getFinalTime(), new double[pb.getDimension()]);
assertTrue(handler.getLastError() < 5.0e-10);
assertTrue(handler.getMaximalValueError() < 7.0e-10);
assertEquals(0, handler.getMaximalTimeError(), 1.0e-12);
assertEquals("classical Runge-Kutta", integ.getName());
}
public void testKepler()
throws DerivativeException, IntegratorException {
final TestProblem3 pb = new TestProblem3(0.9);
double step = (pb.getFinalTime() - pb.getInitialTime()) * 0.0003;
FirstOrderIntegrator integ = new ClassicalRungeKuttaIntegrator(step);
integ.addStepHandler(new KeplerHandler(pb));
integ.integrate(pb,
pb.getInitialTime(), pb.getInitialState(),
pb.getFinalTime(), new double[pb.getDimension()]);
}
private static class KeplerHandler implements StepHandler {
public KeplerHandler(TestProblem3 pb) {
this.pb = pb;
reset();
}
public boolean requiresDenseOutput() {
return false;
}
public void reset() {
maxError = 0;
}
public void handleStep(StepInterpolator interpolator,
boolean isLast) throws DerivativeException {
double[] interpolatedY = interpolator.getInterpolatedState ();
double[] theoreticalY = pb.computeTheoreticalState(interpolator.getCurrentTime());
double dx = interpolatedY[0] - theoreticalY[0];
double dy = interpolatedY[1] - theoreticalY[1];
double error = dx * dx + dy * dy;
if (error > maxError) {
maxError = error;
}
if (isLast) {
// even with more than 1000 evaluations per period,
// RK4 is not able to integrate such an eccentric
// orbit with a good accuracy
assertTrue(maxError > 0.005);
}
}
private double maxError = 0;
private TestProblem3 pb;
}
public void testStepSize()
throws DerivativeException, IntegratorException {
final double step = 1.23456;
FirstOrderIntegrator integ = new ClassicalRungeKuttaIntegrator(step);
integ.addStepHandler(new StepHandler() {
public void handleStep(StepInterpolator interpolator, boolean isLast) {
if (! isLast) {
assertEquals(step,
interpolator.getCurrentTime() - interpolator.getPreviousTime(),
1.0e-12);
}
}
public boolean requiresDenseOutput() {
return false;
}
public void reset() {
}
});
integ.integrate(new FirstOrderDifferentialEquations() {
private static final long serialVersionUID = 0L;
public void computeDerivatives(double t, double[] y, double[] dot) {
dot[0] = 1.0;
}
public int getDimension() {
return 1;
}
}, 0.0, new double[] { 0.0 }, 5.0, new double[1]);
}
public static Test suite() {
return new TestSuite(ClassicalRungeKuttaIntegratorTest.class);
}
}
| 9,839
|
Java
|
.java
|
SpoonLabs/astor
| 198
| 107
| 78
|
2014-10-01T09:34:41Z
|
2023-09-29T11:23:56Z
|
bf2cb91709c0d48e3607941979438d75fda49c163df3ba43c840a402100c0aea
|
[
1127,
222,
338,
4773,
391,
341,
3954,
3870,
7120,
327,
17888,
46,
1549,
1611,
575,
1851,
222,
338,
13890,
3553,
15153,
51,
244,
2819,
341,
15077,
822,
2744,
642,
222,
338,
477,
1409,
456,
5408,
2490,
12052,
5550,
13677,
51,
222,
338,
906,
18011,
12815,
477,
822,
391,
2469,
1549,
341,
3954,
1196,
49,
3050,
244,
55,
51,
53,
222,
338,
327,
1402,
332,
3801,
742,
863,
1648,
666,
813,
477,
822,
2959,
347,
4960,
642,
222,
338,
341,
1196,
51,
244,
2469,
1648,
4245,
331,
1948,
451,
341,
1196,
840,
222,
338,
222,
338,
665,
1930,
574,
1516,
51,
2121,
51,
1107,
52,
4205,
52,
4106,
50,
55,
51,
53,
222,
338,
222,
338,
5416,
2147,
829,
4568,
4940,
575,
5129,
391,
347,
4144,
49,
2951,
222,
338,
2744,
1549,
341,
1196,
458,
2744,
563,
619,
332,
1117,
2771,
39,
5128,
49,
222,
338,
4213,
3912,
1895,
5186,
2258,
2979,
4489,
49,
3173,
3927,
575,
4506,
51,
222,
338,
2819,
341,
1196,
456,
341,
2835,
2940,
5139,
4243,
480,
222,
338,
5191,
1549,
341,
1196,
51,
222,
588,
222,
222,
1337,
1105,
51,
2121,
51,
8381,
51,
3851,
51,
421,
51,
3804,
289,
2961,
64,
222,
222,
485,
36678,
51,
2863,
7737,
222,
222,
485,
1105,
51,
2121,
51,
8381,
51,
3851,
51,
421,
51,
30979,
1372,
1002,
64,
222,
485,
1105,
51,
2121,
51,
8381,
51,
3851,
51,
421,
51,
3485,
2888,
36722,
2748,
26576,
1014,
64,
222,
485,
1105,
51,
2121,
51,
8381,
51,
3851,
51,
421,
51,
3485,
2888,
9197,
738,
64,
222,
485,
1105,
51,
2121,
51,
8381,
51,
3851,
51,
421,
51,
9197,
738,
1002,
64,
222,
485,
1105,
51,
2121,
51,
8381,
51,
3851,
51,
421,
51,
1024,
14780,
54,
64,
222,
485,
1105,
51,
2121,
51,
8381,
51,
3851,
51,
421,
51,
1024,
14780,
56,
64,
222,
485,
1105,
51,
2121,
51,
8381,
51,
3851,
51,
421,
51,
1024,
14780,
58,
64,
222,
485,
1105,
51,
2121,
51,
8381,
51,
3851,
51,
421,
51,
1024,
14780,
5597,
64,
222,
485,
1105,
51,
2121,
51,
8381,
51,
3851,
51,
421,
51,
1024,
14780,
2232,
64,
222,
485,
1105,
51,
2121,
51,
8381,
51,
3851,
51,
421,
51,
1024,
14780,
1985,
64,
222,
485,
1105,
51,
2121,
51,
8381,
51,
3851,
51,
421,
51,
5070,
51,
9889,
64,
222,
485,
1105,
51,
2121,
51,
8381,
51,
3851,
51,
421,
51,
3804,
289,
2961,
51,
1359,
1599,
2544,
319,
80,
322,
1371,
9197,
738,
64,
222,
485,
1105,
51,
2121,
51,
8381,
51,
3851,
51,
421,
51,
23110,
51,
3549,
1985,
64,
222,
485,
1105,
51,
2121,
51,
8381,
51,
3851,
51,
421,
51,
23110,
51,
3549,
37914,
64,
222,
222,
942,
462,
1727,
1599,
2544,
319,
80,
322,
1371,
9197,
738,
1024,
353,
2041,
19189,
320,
736,
581,
1727,
1599,
2544,
319,
80,
322,
1371,
9197,
738,
1024,
45,
671,
655,
46,
320,
303,
2615,
45,
444,
312,
353,
339,
736,
581,
782,
913,
24954,
562,
19374,
365,
320,
303,
1614,
244,
320,
416,
2128,
14780,
54,
10292,
299,
556,
2128,
14780,
54,
492,
416,
556,
1727,
1599,
2544,
319,
80,
322,
1371,
9197,
738,
45,
53,
51,
53,
54,
566,
42817,
45,
4391,
49,
23842,
53,
51,
53,
49,
556,
2082,
96,
4391,
51,
390,
9884,
19218,
54,
53,
636,
23842,
54,
51,
53,
49,
556,
2082,
96,
4391,
51,
390,
9884,
36584,
310,
3562,
459,
297,
3773,
1414,
1178,
2602,
12165,
742,
303,
339,
2385,
45,
30979,
1372,
1002,
428,
46,
320,
416,
3562,
459,
19696,
3773,
27405,
742,
303,
339,
2385,
45,
9197,
738,
1002,
21777,
46,
320,
303,
339,
303,
1614,
244,
320,
310,
2128,
14780,
54,
10292,
299,
556,
2128,
14780,
54,
492,
310,
556,
1727,
1599,
2544,
319,
80,
322,
1371,
9197,
738,
45,
53,
51,
53,
54,
566,
42817,
45,
4391,
49,
32282,
53,
51,
53,
49,
556,
2082,
96,
4391,
51,
390,
9884,
28752,
32282,
54,
51,
53,
49,
556,
2082,
96,
4391,
51,
390,
9884,
19218,
54,
53,
2004,
633,
3562,
459,
297,
3773,
1414,
1178,
2602,
12165,
742,
416,
339,
2385,
45,
30979,
1372,
1002,
428,
46,
320,
310,
3562,
459,
19696,
3773,
27405,
742,
416,
339,
2385,
45,
9197,
738,
1002,
21777,
46,
320,
416,
339,
303,
1614,
244,
320,
416,
2128,
14780,
54,
10292,
299,
556,
2128,
14780,
54,
492,
416,
556,
1727,
1599,
2544,
319,
80,
322,
1371,
9197,
738,
45,
53,
51,
53,
54,
566,
42817,
45,
4391,
49,
23842,
53,
51,
53,
49,
556,
2082,
96,
4391,
51,
390,
9884,
28752,
23842,
53,
51,
53,
49,
556,
2082,
96,
4391,
51,
390,
9884,
36584,
310,
3562,
459,
297,
3773,
1414,
1178,
2602,
12165,
742,
303,
339,
2385,
45,
30979,
1372,
1002,
428,
46,
320,
416,
3562,
459,
19696,
3773,
27405,
742,
303,
339,
2385,
45,
9197,
738,
1002,
21777,
46,
320,
303,
339,
353,
339,
4070,
581,
782,
913,
703,
32706,
12810,
365,
303,
2589,
15933,
407,
1372,
1002,
49,
14292,
738,
1002,
244,
320,
27259,
2128,
14780,
5597,
1197,
9827,
299,
2128,
14780,
2232,
51,
390,
42501,
492,
303,
456,
327,
429,
851,
299,
244,
53,
64,
851,
350,
9827,
51,
1340,
64,
3323,
112,
46,
320,
1704,
2082,
4575,
943,
299,
6938,
51,
11138,
64,
416,
456,
327,
429,
613,
299,
244,
57,
64,
613,
350,
244,
54,
53,
64,
3323,
110,
46,
320,
603,
2128,
14780,
5597,
10292,
299,
9827,
96,
112,
1015,
3014,
492,
310,
2082,
3138,
299,
327,
4391,
51,
390,
9795,
1061,
365,
449,
10292,
51,
390,
4694,
1061,
1177,
338,
4189,
51,
7555,
45,
55,
51,
53,
49,
449,
110,
312,
603,
8854,
2888,
9197,
738,
12956,
108,
299,
556,
1727,
1599,
2544,
319,
80,
322,
1371,
9197,
738,
45,
3023,
312,
310,
2128,
14780,
1985,
4908,
299,
556,
2128,
14780,
1985,
45,
4391,
49,
12956,
108,
312,
310,
12956,
108,
51,
688,
3549,
1985,
45,
4543,
312,
310,
26907,
1197,
4465,
299,
10292,
51,
390,
5015,
15544,
492,
310,
456,
327,
429,
475,
299,
244,
53,
64,
475,
350,
4465,
51,
1340,
64,
3323,
113,
46,
320,
633,
12956,
108,
51,
688,
9889,
45,
8259,
96,
113,
636,
9488,
6938,
51,
42221,
100,
36029,
49,
244,
54,
51,
53,
106,
50,
59,
338,
3138,
49,
244,
54,
53,
53,
53,
312,
310,
339,
310,
3803,
45,
8259,
51,
1340,
49,
12956,
108,
51,
33400,
15544,
941,
911,
1052,
310,
2082,
4739,
1061,
299,
12956,
108,
51,
42817,
45,
4391,
49,
10292,
51,
390,
4694,
1061,
1046,
10292,
51,
390,
45224,
1046,
10657,
10292,
51,
390,
9795,
1061,
1046,
556,
2082,
96,
4391,
51,
390,
9884,
36584,
310,
434,
327,
8259,
51,
1340,
630,
244,
53,
46,
320,
343,
3803,
45,
4391,
51,
390,
9795,
1061,
1046,
4739,
1061,
49,
244,
54,
51,
53,
106,
50,
54,
53,
312,
310,
339,
603,
2082,
1067,
299,
4908,
51,
23742,
2998,
22209,
492,
310,
434,
327,
110,
868,
244,
57,
46,
320,
633,
9396,
45,
750,
350,
4189,
51,
3615,
45,
8891,
943,
894,
310,
339,
310,
4575,
943,
299,
1067,
64,
310,
3803,
45,
53,
49,
4908,
51,
23742,
2998,
1061,
943,
1046,
244,
54,
51,
53,
106,
50,
54,
55,
312,
310,
12956,
108,
51,
3830,
1167,
15544,
492,
310,
3803,
45,
53,
49,
12956,
108,
51,
33400,
15544,
941,
911,
1052,
416,
339,
465,
339,
736,
339,
736,
581,
782,
913,
12480,
3549,
365,
303,
2589,
15933,
407,
1372,
1002,
49,
14292,
738,
1002,
320,
465,
2128,
14780,
54,
10292,
299,
556,
2128,
14780,
54,
492,
303,
2082,
3138,
299,
327,
4391,
51,
390,
9795,
1061,
365,
449,
10292,
51,
390,
4694,
1061,
1177,
338,
244,
53,
51,
53,
53,
54,
64,
465,
8854,
2888,
9197,
738,
12956,
108,
299,
556,
1727,
1599,
2544,
319,
80,
322,
1371,
9197,
738,
45,
3023,
312,
303,
2128,
14780,
1985,
4908,
299,
556,
2128,
14780,
1985,
45,
4391,
49,
12956,
108,
312,
303,
12956,
108,
51,
688,
3549,
1985,
45,
4543,
312,
303,
12956,
108,
51,
42817,
45,
4391,
49,
10292,
51,
390,
4694,
1061,
1046,
10292,
51,
390,
45224,
1046,
547,
10292,
51,
390,
9795,
1061,
1046,
556,
2082,
96,
4391,
51,
390,
9884,
36584,
465,
9396,
45,
4543,
51,
20164,
943,
365,
350,
244,
55,
51,
53,
106,
50,
54,
56,
312,
303,
9396,
45,
4543,
51,
23742,
2998,
22209,
365,
350,
244,
57,
51,
53,
106,
50,
54,
55,
312,
303,
3803,
45,
53,
49,
4908,
51,
23742,
2998,
1061,
943,
1046,
244,
54,
51,
53,
106,
50,
54,
55,
312,
303,
3803,
459,
842,
1599,
4507,
319,
50,
80,
322,
1371,
411,
12956,
108,
51,
5175,
1052,
353,
339,
736,
581,
782,
913,
7481,
3549,
365,
303,
2589,
15933,
407,
1372,
1002,
49,
14292,
738,
1002,
320,
465,
2128,
14780,
54,
10292,
299,
556,
2128,
14780,
54,
492,
303,
2082,
3138,
299,
327,
4391,
51,
390,
9795,
1061,
365,
449,
10292,
51,
390,
4694,
1061,
1177,
338,
244,
53,
51,
55,
64,
465,
8854,
2888,
9197,
738,
12956,
108,
299,
556,
1727,
1599,
2544,
319,
80,
322,
1371,
9197,
738,
45,
3023,
312,
303,
2128,
14780,
1985,
4908,
299,
556,
2128,
14780,
1985,
45,
4391,
49,
12956,
108,
312,
303,
12956,
108,
51,
688,
3549,
1985,
45,
4543,
312,
303,
12956,
108,
51,
42817,
45,
4391,
49,
10292,
51,
390,
4694,
1061,
1046,
10292,
51,
390,
45224,
1046,
547,
10292,
51,
390,
9795,
1061,
1046,
556,
2082,
96,
4391,
51,
390,
9884,
36584,
465,
9396,
45,
4543,
51,
20164,
943,
365,
868,
244,
53,
51,
53,
53,
53,
57,
312,
303,
9396,
45,
4543,
51,
23742,
2998,
22209,
365,
868,
244,
53,
51,
53,
53,
58,
312,
303,
3803,
45,
53,
49,
4908,
51,
23742,
2998,
1061,
943,
1046,
244,
54,
51,
53,
106,
50,
54,
55,
312,
736,
339,
736,
581,
782,
913,
38447,
365,
303,
2589,
15933,
407,
1372,
1002,
49,
14292,
738,
1002,
320,
465,
2128,
14780,
58,
10292,
299,
556,
2128,
14780,
58,
492,
303,
2082,
3138,
299,
4189,
51,
3615,
45,
4391,
51,
390,
9795,
1061,
365,
449,
10292,
51,
390,
4694,
1061,
1177,
338,
244,
53,
51,
53,
53,
54,
64,
465,
8854,
2888,
9197,
738,
12956,
108,
299,
556,
1727,
1599,
2544,
319,
80,
322,
1371,
9197,
738,
45,
3023,
312,
303,
2128,
14780,
1985,
4908,
299,
556,
2128,
14780,
1985,
45,
4391,
49,
12956,
108,
312,
303,
12956,
108,
51,
688,
3549,
1985,
45,
4543,
312,
303,
12956,
108,
51,
42817,
45,
4391,
49,
10292,
51,
390,
4694,
1061,
1046,
10292,
51,
390,
45224,
1046,
547,
10292,
51,
390,
9795,
1061,
1046,
556,
2082,
96,
4391,
51,
390,
9884,
36584,
465,
9396,
45,
4543,
51,
20164,
943,
365,
350,
244,
58,
51,
53,
106,
50,
54,
53,
312,
303,
9396,
45,
4543,
51,
23742,
2998,
22209,
365,
350,
244,
60,
51,
53,
106,
50,
54,
53,
312,
303,
3803,
45,
53,
49,
4908,
51,
23742,
2998,
1061,
943,
1046,
244,
54,
51,
53,
106,
50,
54,
55,
312,
303,
3803,
459,
842,
1599,
4507,
319,
50,
80,
322,
1371,
411,
12956,
108,
51,
5175,
1052,
353,
339,
736,
581,
782,
913,
19506,
27913,
365,
303,
2589,
15933,
407,
1372,
1002,
49,
14292,
738,
1002,
320,
465,
1175,
2128,
14780,
56,
10292,
244,
299,
556,
2128,
14780,
56,
45,
53,
51,
62,
312,
303,
2082,
3138,
299,
327,
4391,
51,
390,
9795,
1061,
365,
449,
10292,
51,
390,
4694,
1061,
1177,
338,
244,
53,
51,
53,
53,
53,
56,
64,
465,
8854,
2888,
9197,
738,
12956,
108,
299,
556,
1727,
1599,
2544,
319,
80,
322,
1371,
9197,
738,
45,
3023,
312,
303,
12956,
108,
51,
688,
3549,
1985,
45,
909,
23433,
27913,
1985,
45,
4391,
894,
303,
12956,
108,
51,
42817,
45,
4391,
49,
547,
10292,
51,
390,
4694,
1061,
1046,
10292,
51,
390,
45224,
1046,
547,
10292,
51,
390,
9795,
1061,
1046,
556,
2082,
96,
4391,
51,
390,
9884,
36584,
353,
339,
736,
964,
924,
462,
23433,
27913,
1985,
4584,
11564,
1985,
320,
303,
581,
23433,
27913,
1985,
45,
1024,
14780,
56,
10292,
46,
320,
416,
477,
51,
4391,
299,
10292,
64,
416,
5672,
492,
303,
339,
303,
581,
1922,
7190,
21365,
2319,
365,
320,
416,
461,
920,
64,
303,
339,
303,
581,
782,
5672,
365,
320,
416,
1788,
943,
299,
244,
53,
64,
303,
339,
303,
581,
782,
2902,
3549,
45,
3549,
37914,
14462,
738,
49,
6048,
1922,
458,
3283,
46,
2589,
15933,
407,
1372,
1002,
320,
1704,
2082,
1197,
46189,
94,
299,
14462,
738,
51,
390,
19518,
751,
1095,
8840,
416,
2082,
1197,
47941,
1599,
94,
244,
299,
10292,
51,
7946,
1338,
35115,
1599,
1095,
45,
19584,
738,
51,
12344,
1061,
1052,
416,
2082,
12262,
299,
46189,
94,
96,
53,
98,
449,
47941,
1599,
94,
96,
53,
988,
416,
2082,
13211,
299,
46189,
94,
96,
54,
98,
449,
47941,
1599,
94,
96,
54,
988,
416,
2082,
1067,
299,
12262,
338,
12262,
494,
13211,
338,
13211,
64,
416,
434,
327,
750,
868,
1788,
943,
46,
320,
310,
1788,
943,
299,
1067,
64,
416,
339,
416,
434,
327,
316,
3283,
46,
320,
310,
453,
4462,
642,
1851,
2806,
244,
54,
53,
53,
53,
6189,
1014,
1313,
7949,
49,
310,
453,
578,
80,
57,
458,
666,
5320,
391,
26724,
3774,
619,
38284,
323,
3953,
310,
453,
33957,
642,
331,
4667,
14729,
310,
9396,
45,
1472,
943,
868,
244,
53,
51,
53,
53,
58,
312,
416,
339,
303,
339,
303,
964,
2082,
1788,
943,
299,
244,
53,
64,
303,
964,
2128,
14780,
56,
10292,
64,
353,
339,
736,
581,
782,
913,
3549,
1269,
365,
303,
2589,
15933,
407,
1372,
1002,
49,
14292,
738,
1002,
320,
416,
1175,
2082,
3138,
299,
244,
54,
51,
55,
56,
57,
58,
59,
64,
416,
8854,
2888,
9197,
738,
12956,
108,
299,
556,
1727,
1599,
2544,
319,
80,
322,
1371,
9197,
738,
45,
3023,
312,
416,
12956,
108,
51,
688,
3549,
1985,
45,
909,
11564,
1985,
365,
320,
633,
581,
782,
2902,
3549,
45,
3549,
37914,
14462,
738,
49,
1922,
458,
3283,
46,
320,
1108,
434,
1445,
458,
3283,
46,
320,
1764,
3803,
45,
3023,
49,
7723,
14462,
738,
51,
12344,
1061,
365,
449,
14462,
738,
51,
390,
11694,
1061,
1046,
1396,
54,
51,
53,
106,
50,
54,
55,
312,
1108,
339,
633,
339,
633,
581,
1922,
7190,
21365,
2319,
365,
320,
1108,
461,
920,
64,
633,
339,
633,
581,
782,
5672,
365,
320,
633,
339,
2281,
416,
1141,
416,
12956,
108,
51,
42817,
45,
909,
8854,
2888,
36722,
2748,
26576,
1014,
365,
320,
633,
964,
924,
1175,
1964,
19896,
299,
244,
53,
81,
64,
633,
581,
782,
7665,
30979,
11198,
45,
2640,
292,
49,
2082,
1197,
553,
49,
2082,
1197,
8078,
46,
320,
1108,
8078,
96,
53,
98,
299,
244,
54,
51,
53,
64,
633,
339,
633,
581,
648,
640,
9884,
365,
320,
1108,
461,
244,
54,
64,
633,
339,
416,
820,
244,
53,
51,
53,
49,
556,
2082,
1197,
320,
244,
53,
51,
53,
820,
244,
58,
51,
53,
49,
556,
2082,
96,
54,
2004,
353,
339,
736,
581,
924,
2128,
13270,
365,
320,
303,
461,
556,
2128,
10911,
45,
1359,
1599,
2544,
319,
80,
322,
1371,
9197,
738,
1024,
51,
842,
312,
353,
339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
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 2,512
| true
| 62.933225
| true
| true
|
JsonTypeDescriptor.java
|
/FileExtraction/Java_unseen/meveo-org_meveo/meveo-model/src/main/java/org/meveo/model/persistence/JsonTypeDescriptor.java
|
package org.meveo.model.persistence;
import java.util.Properties;
import org.hibernate.type.descriptor.WrapperOptions;
import org.hibernate.type.descriptor.java.AbstractTypeDescriptor;
import org.hibernate.type.descriptor.java.MutableMutabilityPlan;
import org.hibernate.usertype.DynamicParameterizedType;
public class JsonTypeDescriptor extends AbstractTypeDescriptor<Object> implements DynamicParameterizedType {
private static final long serialVersionUID = -5030465106663645694L;
private Class<?> jsonObjectClass;
@Override
public void setParameterValues(Properties parameters) {
jsonObjectClass = ((ParameterType) parameters.get(PARAMETER_TYPE)).getReturnedClass();
}
@SuppressWarnings("serial")
public JsonTypeDescriptor() {
super(Object.class, new MutableMutabilityPlan<Object>() {
@Override
protected Object deepCopyNotNull(Object value) {
return JacksonUtil.clone(value);
}
});
}
@Override
public boolean areEqual(Object one, Object another) {
if (one == another) {
return true;
}
if (one == null || another == null) {
return false;
}
return JacksonUtil.toJsonNode(JacksonUtil.toString(one)).equals(JacksonUtil.toJsonNode(JacksonUtil.toString(another)));
}
@Override
public String toString(Object value) {
// Logger log = LoggerFactory.getLogger(getClass());
// log.error("AKK Json converter to string");
return JacksonUtil.toString(value);
}
@Override
public Object fromString(String string) {
// Logger log = LoggerFactory.getLogger(getClass());
// log.error("AKK Json converter from string");
return JacksonUtil.fromString(string, jsonObjectClass);
}
@SuppressWarnings({ "unchecked" })
@Override
public <X> X unwrap(Object value, Class<X> type, WrapperOptions options) {
if (value == null) {
return null;
}
if (String.class.isAssignableFrom(type)) {
return (X) toString(value);
}
if (Object.class.isAssignableFrom(type)) {
return (X) JacksonUtil.toJsonNode(toString(value));
}
throw unknownUnwrap(type);
}
@Override
public <X> Object wrap(X value, WrapperOptions options) {
if (value == null) {
return null;
}
return fromString(value.toString());
}
}
| 2,488
|
Java
|
.java
|
meveo-org/meveo
| 10
| 15
| 87
|
2020-01-07T02:37:41Z
|
2023-12-11T19:31:29Z
|
d59714a882ecf6198ff689a5b4b7ceccbedd3b58eede066459576142c625cff9
|
[
1337,
1105,
51,
308,
606,
116,
51,
1184,
51,
10782,
64,
222,
222,
485,
1401,
51,
1058,
51,
3303,
64,
222,
222,
485,
1105,
51,
20294,
51,
700,
51,
9662,
51,
4687,
2045,
64,
222,
485,
1105,
51,
20294,
51,
700,
51,
9662,
51,
1874,
51,
5597,
44708,
64,
222,
485,
1105,
51,
20294,
51,
700,
51,
9662,
51,
1874,
51,
12907,
5414,
3478,
7932,
64,
222,
485,
1105,
51,
20294,
51,
514,
700,
51,
7193,
33588,
638,
64,
222,
222,
942,
462,
5890,
44708,
2041,
7406,
44708,
65,
976,
67,
4584,
14800,
33588,
638,
320,
465,
964,
924,
1175,
1964,
19896,
299,
449,
58,
53,
56,
53,
57,
59,
58,
54,
53,
59,
59,
59,
56,
59,
57,
58,
59,
62,
57,
81,
64,
465,
964,
1727,
11667,
27720,
1359,
64,
465,
496,
1806,
303,
581,
782,
758,
3026,
3367,
45,
3303,
3406,
46,
320,
310,
27720,
1359,
299,
1849,
46375,
46,
3406,
51,
390,
45,
13302,
100,
2333,
3445,
390,
35065,
1359,
492,
465,
339,
465,
496,
14030,
459,
3557,
678,
303,
581,
5890,
44708,
365,
320,
310,
2615,
45,
976,
51,
842,
49,
556,
20395,
5414,
3478,
7932,
65,
976,
6939,
320,
343,
496,
1806,
343,
2532,
2210,
11196,
4014,
4936,
45,
976,
804,
46,
320,
419,
461,
30147,
1174,
1747,
51,
6371,
45,
872,
312,
343,
339,
310,
1141,
303,
339,
465,
496,
1806,
303,
581,
1922,
904,
1342,
45,
976,
1611,
49,
2210,
4691,
46,
320,
310,
434,
327,
677,
630,
4691,
46,
320,
343,
461,
878,
64,
310,
339,
310,
434,
327,
677,
630,
762,
1293,
4691,
630,
762,
46,
320,
343,
461,
920,
64,
310,
339,
310,
461,
30147,
1174,
1747,
51,
22693,
1230,
45,
30625,
1174,
1747,
51,
3127,
45,
677,
3445,
3591,
45,
30625,
1174,
1747,
51,
22693,
1230,
45,
30625,
1174,
1747,
51,
3127,
45,
23250,
4254,
303,
339,
465,
496,
1806,
303,
581,
910,
11349,
45,
976,
804,
46,
320,
310,
453,
7145,
1264,
299,
21818,
51,
10588,
45,
9699,
1052,
310,
453,
1264,
51,
750,
459,
7418,
80,
5890,
17682,
391,
821,
742,
310,
461,
30147,
1174,
1747,
51,
3127,
45,
872,
312,
303,
339,
465,
496,
1806,
303,
581,
2210,
664,
671,
45,
671,
821,
46,
320,
603,
453,
7145,
1264,
299,
21818,
51,
10588,
45,
9699,
1052,
310,
453,
1264,
51,
750,
459,
7418,
80,
5890,
17682,
664,
821,
742,
603,
461,
30147,
1174,
1747,
51,
32972,
45,
819,
49,
27720,
1359,
312,
303,
339,
465,
496,
14030,
1389,
332,
18362,
39,
1809,
303,
496,
1806,
303,
581,
350,
93,
67,
1618,
42564,
45,
976,
804,
49,
1727,
65,
93,
67,
847,
49,
21723,
2045,
2089,
46,
320,
310,
434,
327,
872,
630,
762,
46,
320,
343,
461,
762,
64,
310,
339,
310,
434,
327,
671,
51,
842,
51,
45162,
45,
700,
509,
320,
343,
461,
327,
93,
46,
11349,
45,
872,
312,
310,
339,
310,
434,
327,
976,
51,
842,
51,
45162,
45,
700,
509,
320,
343,
461,
327,
93,
46,
30147,
1174,
1747,
51,
22693,
1230,
45,
3127,
45,
872,
894,
310,
339,
310,
1440,
8675,
1079,
4087,
45,
700,
312,
303,
339,
465,
496,
1806,
303,
581,
350,
93,
67,
2210,
9817,
45,
93,
804,
49,
21723,
2045,
2089,
46,
320,
310,
434,
327,
872,
630,
762,
46,
320,
343,
461,
762,
64,
310,
339,
310,
461,
664,
671,
45,
872,
51,
3127,
1052,
303,
339,
222,
130
] |
[
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,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sics-sse_moped/squawk/cldc/src/java/lang/Throwable.java
|
/*
* Copyright 2004-2010 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 2011 Oracle. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER
*
* This code is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2
* only, as published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License version 2 for more details (a copy is
* included in the LICENSE file that accompanied this code).
*
* You should have received a copy of the GNU General Public License
* version 2 along with this work; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA
*
* Please contact Oracle, 16 Network Circle, Menlo Park, CA 94025 or
* visit www.oracle.com if you need additional information or have
* any questions.
*/
package java.lang;
import java.io.*;
import com.sun.squawk.*;
/**
* The <code>Throwable</code> class is the superclass of all errors
* and exceptions in the Java language. Only objects that are
* instances of this class (or of one of its subclasses) are thrown
* by the Java Virtual Machine or can be thrown by the Java
* <code>throw</code> statement. Similarly, only this class or one of
* its subclasses can be the argument type in a <code>catch</code>
* clause.
* <p>
* Instances of two subclasses, {@link java.lang.Error} and
* {@link java.lang.Exception}, are conventionally used to indicate
* that exceptional situations have occurred. Typically, these instances
* are freshly created in the context of the exceptional situation so
* as to include relevant information (such as stack trace data).
* <p>
* By convention, class <code>Throwable</code> and its subclasses have
* two constructors, one that takes no arguments and one that takes a
* <code>String</code> argument that can be used to produce an error
* message.
* <p>
* A <code>Throwable</code> class contains a snapshot of the
* execution stack of its thread at the time it was created. It can
* also contain a message string that gives more information about
* the error.
* <p>
* Here is one example of catching an exception:
* <p><blockquote><pre>
* try {
* int a[] = new int[2];
* a[4];
* } catch (ArrayIndexOutOfBoundsException e) {
* System.out.println("exception: " + e.getMessage());
* e.printStackTrace();
* }
* </pre></blockquote>
*
* @version 1.43, 12/04/99 (CLDC 1.0, Spring 2000)
* @since JDK1.0
*/
public class Throwable {
/**
* The detailed message for the exception.
*/
private String detailMessage;
/**
* The trace of the call stack at the point this object was created.
*/
private final ExecutionPoint[] trace;
/**
* Constructs a new <code>Throwable</code> with <code>null</code> as
* its error message string.
*/
public Throwable() {
if (VMThread.currentThread() != null) {
trace = VM.reifyCurrentStack( -1);
} else {
trace = null;
}
}
/**
* Constructs a new <code>Throwable</code> with the specified error
* message.
*
* @param message the error message. The error message is saved for
* later retrieval by the {@link #getMessage()} method.
*/
public Throwable(String message) {
this();
detailMessage = message;
}
/**
* Returns the error message string of this throwable object.
*
* @return the error message string of this <code>Throwable</code>
* object if it was {@link #Throwable(String) created} with an
* error message string; or <code>null</code> if it was
* {@link #Throwable() created} with no error message.
*
*/
public String getMessage() {
return detailMessage;
}
/**
* Returns a short description of this throwable object.
* If this <code>Throwable</code> object was
* {@link #Throwable(String) created} with an error message string,
* then the result is the concatenation of three strings:
* <ul>
* <li>The name of the actual class of this object
* <li>": " (a colon and a space)
* <li>The result of the {@link #getMessage} method for this object
* </ul>
* If this <code>Throwable</code> object was {@link #Throwable() created}
* with no error message string, then the name of the actual class of
* this object is returned.
*
* @return a string representation of this <code>Throwable</code>.
*/
public String toString() {
String s = getClass().getName();
String message = getMessage();
return (message != null) ? (s + ": " + message) : s;
}
/**
* Is this frame related to constructing and throwing the exception...
* @param frame
* @return true
*/
private boolean internalFrame(ExecutionPoint frame) {
return frame.getKlass().isInstance(this) || MethodHeader.isInterpreterInvoked(frame.mp);
}
/**
* Prints this <code>Throwable</code> and its backtrace to the
* standard error stream. This method prints a stack trace for this
* <code>Throwable</code> object on the error output stream that is
* the value of the field <code>System.err</code>. The first line of
* output contains the result of the {@link #toString()} method for
* this object. <p>
*
* The format of the backtrace information depends on the implementation.
*/
public void printStackTrace() {
PrintStream stream = System.err;
String message = getMessage();
if (stream == null) {
VM.printExceptionAndTrace(this, "exception thrown while System.err misconfigured", false);
} else {
stream.print(GC.getKlass(this).getName());
if (message != null) {
stream.print(": ");
stream.print(message);
}
stream.println();
boolean internalFrame = !VM.isVeryVerbose();
if (this != VM.getOutOfMemoryError() && trace != null) {
for (int i = 0; i != trace.length; ++i) {
internalFrame = internalFrame && internalFrame(trace[i]);
if (!internalFrame) {
stream.print(" ");
if (trace[i] != null) {
trace[i].print(stream);
} else {
stream.print("undecipherable");
}
stream.println();
}
}
}
}
}
}
| 6,933
|
Java
|
.java
|
sics-sse/moped
| 160
| 113
| 56
|
2014-12-22T10:59:09Z
|
2019-04-17T11:10:16Z
|
abd3d62011326eb99dc0c3493625309b35d2f281a6879a6560e98c199d8acf9b
|
[
1127,
222,
338,
2657,
244,
55,
53,
53,
57,
50,
55,
53,
54,
53,
21437,
18168,
17575,
49,
6367,
51,
3381,
12902,
11921,
51,
222,
338,
2657,
244,
55,
53,
54,
54,
17980,
51,
3381,
12902,
11921,
51,
222,
338,
4103,
2387,
23740,
1895,
35234,
8995,
2387,
11988,
1895,
8968,
10961,
30441,
222,
338,
222,
338,
1369,
1361,
458,
3760,
2951,
64,
863,
902,
14081,
580,
480,
52,
290,
5370,
222,
338,
580,
1549,
341,
5974,
451,
341,
6994,
6153,
5062,
1196,
1522,
244,
55,
222,
338,
1773,
49,
641,
9582,
829,
341,
7834,
3870,
7120,
51,
222,
338,
222,
338,
1369,
1361,
458,
2744,
347,
341,
9850,
708,
580,
1118,
545,
6386,
49,
1294,
222,
338,
4213,
2979,
9345,
64,
2895,
4462,
341,
4506,
14319,
451,
222,
338,
7934,
575,
8114,
4800,
418,
7848,
7763,
51,
2819,
341,
6994,
222,
338,
6153,
5062,
1196,
1522,
244,
55,
456,
1851,
4261,
327,
102,
1948,
458,
222,
338,
5976,
347,
341,
7621,
822,
708,
20854,
297,
4850,
477,
1361,
566,
222,
338,
222,
338,
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
6153,
5062,
1196,
222,
338,
1522,
244,
55,
7979,
642,
477,
1409,
64,
434,
666,
49,
2886,
391,
341,
7834,
3870,
222,
338,
7120,
49,
6367,
4345,
244,
58,
54,
34113,
1277,
49,
33316,
26912,
49,
25006,
49,
13083,
222,
338,
244,
53,
55,
54,
54,
53,
50,
54,
56,
53,
54,
15067,
222,
338,
222,
338,
5304,
7272,
17980,
49,
244,
54,
59,
8187,
25119,
49,
28498,
335,
27004,
49,
10562,
244,
62,
57,
53,
55,
58,
575,
222,
338,
7739,
19955,
51,
11116,
51,
527,
434,
863,
1868,
5408,
2490,
575,
1178,
222,
338,
1364,
10034,
51,
222,
588,
222,
222,
1337,
1401,
51,
1600,
64,
222,
222,
485,
1401,
51,
735,
7737,
222,
222,
485,
785,
51,
9886,
51,
40390,
23275,
7737,
222,
222,
1350,
222,
338,
906,
350,
707,
67,
14080,
396,
707,
67,
462,
458,
341,
37435,
451,
1187,
3896,
222,
338,
480,
14739,
347,
341,
4957,
2940,
51,
9303,
4706,
708,
904,
222,
338,
6947,
451,
477,
462,
327,
290,
451,
1611,
451,
2840,
36679,
46,
904,
12165,
222,
338,
829,
341,
4957,
13675,
13713,
575,
902,
545,
12165,
829,
341,
4957,
222,
338,
350,
707,
67,
5267,
396,
707,
67,
7627,
51,
26881,
651,
49,
1773,
477,
462,
575,
1611,
451,
222,
338,
2840,
36679,
902,
545,
341,
2814,
847,
347,
331,
350,
707,
67,
5639,
396,
707,
67,
222,
338,
15309,
51,
222,
338,
350,
117,
67,
222,
338,
36295,
451,
3161,
36679,
49,
3105,
1222,
1401,
51,
1600,
51,
943,
130,
480,
222,
338,
3105,
1222,
1401,
51,
1600,
51,
1002,
855,
904,
20684,
1266,
1674,
391,
14197,
222,
338,
708,
3773,
298,
30229,
1178,
12341,
51,
44699,
49,
3301,
6947,
222,
338,
904,
21185,
651,
3290,
347,
341,
1637,
451,
341,
3773,
298,
18765,
1278,
222,
338,
641,
391,
2323,
10109,
2490,
327,
21905,
641,
4154,
8266,
727,
566,
222,
338,
350,
117,
67,
222,
338,
4529,
20684,
49,
462,
350,
707,
67,
14080,
396,
707,
67,
480,
2840,
36679,
1178,
222,
338,
3161,
30837,
49,
1611,
708,
8756,
1307,
4228,
480,
1611,
708,
8756,
331,
222,
338,
350,
707,
67,
671,
396,
707,
67,
2814,
708,
902,
545,
1674,
391,
13909,
619,
1067,
222,
338,
1492,
51,
222,
338,
350,
117,
67,
222,
338,
418,
350,
707,
67,
14080,
396,
707,
67,
462,
4326,
331,
10432,
451,
341,
222,
338,
6111,
4154,
451,
2840,
3682,
840,
341,
1153,
580,
1616,
3290,
51,
2048,
902,
222,
338,
2353,
4814,
331,
1492,
821,
708,
13437,
1851,
2490,
2645,
222,
338,
341,
1067,
51,
222,
338,
350,
117,
67,
222,
338,
9597,
458,
1611,
2301,
451,
2385,
318,
619,
3773,
63,
222,
338,
350,
117,
789,
12951,
789,
1023,
67,
222,
338,
281,
1614,
320,
222,
338,
282,
648,
331,
1197,
299,
556,
648,
96,
55,
988,
222,
338,
282,
331,
96,
57,
988,
222,
338,
281,
339,
2385,
327,
45849,
35787,
503,
46,
320,
222,
338,
282,
1189,
51,
560,
51,
3962,
459,
3918,
63,
332,
494,
503,
51,
7724,
1052,
222,
338,
282,
503,
51,
9428,
492,
222,
338,
281,
339,
222,
338,
594,
1023,
873,
12951,
67,
222,
338,
222,
338,
496,
1687,
244,
54,
51,
57,
56,
49,
244,
54,
55,
52,
53,
57,
52,
62,
62,
327,
1601,
4439,
244,
54,
51,
53,
49,
16036,
244,
55,
53,
53,
53,
46,
222,
338,
496,
8152,
280,
33047,
54,
51,
53,
222,
588,
222,
942,
462,
9953,
320,
465,
1041,
294,
338,
906,
16361,
1492,
456,
341,
3773,
51,
294,
588,
303,
964,
910,
9363,
1193,
64,
465,
1041,
294,
338,
906,
8266,
451,
341,
1495,
4154,
840,
341,
2282,
477,
1319,
1616,
3290,
51,
294,
588,
303,
964,
1175,
16254,
1962,
1197,
8266,
64,
465,
1041,
294,
338,
29755,
331,
556,
350,
707,
67,
14080,
396,
707,
67,
642,
350,
707,
67,
1710,
396,
707,
67,
641,
294,
338,
2840,
1067,
1492,
821,
51,
294,
588,
303,
581,
9953,
365,
320,
310,
434,
327,
5064,
3032,
51,
36951,
365,
882,
762,
46,
320,
343,
8266,
299,
8558,
51,
287,
1165,
3075,
3131,
45,
449,
54,
312,
310,
339,
832,
320,
343,
8266,
299,
762,
64,
310,
339,
303,
339,
465,
1041,
294,
338,
29755,
331,
556,
350,
707,
67,
14080,
396,
707,
67,
642,
341,
3205,
1067,
294,
338,
1492,
51,
294,
338,
294,
338,
496,
772,
280,
1492,
280,
341,
1067,
1492,
51,
906,
1067,
1492,
458,
7533,
456,
294,
338,
2052,
6146,
34057,
829,
341,
3105,
1222,
607,
7724,
9768,
1431,
51,
294,
588,
303,
581,
9953,
45,
671,
1492,
46,
320,
310,
477,
492,
310,
9363,
1193,
299,
1492,
64,
303,
339,
465,
1041,
294,
338,
3777,
341,
1067,
1492,
821,
451,
477,
24466,
1319,
51,
294,
338,
294,
338,
496,
620,
244,
341,
1067,
1492,
821,
451,
477,
350,
707,
67,
14080,
396,
707,
67,
294,
338,
2052,
1319,
434,
580,
1616,
3105,
1222,
607,
14080,
45,
671,
46,
3290,
130,
642,
619,
294,
338,
2052,
1067,
1492,
821,
64,
575,
350,
707,
67,
1710,
396,
707,
67,
434,
580,
1616,
294,
338,
2052,
3105,
1222,
607,
14080,
365,
3290,
130,
642,
1307,
1067,
1492,
51,
294,
338,
294,
588,
303,
581,
910,
40451,
365,
320,
310,
461,
9363,
1193,
64,
303,
339,
465,
1041,
294,
338,
3777,
331,
4514,
3066,
451,
477,
24466,
1319,
51,
294,
338,
1691,
477,
350,
707,
67,
14080,
396,
707,
67,
1319,
1616,
294,
338,
3105,
1222,
607,
14080,
45,
671,
46,
3290,
130,
642,
619,
1067,
1492,
821,
49,
294,
338,
1636,
341,
1074,
458,
341,
14406,
23633,
451,
8058,
5872,
63,
294,
338,
350,
357,
67,
294,
338,
350,
393,
67,
1338,
655,
451,
341,
4668,
462,
451,
477,
1319,
294,
338,
350,
393,
67,
582,
332,
327,
102,
24904,
480,
331,
5153,
46,
294,
338,
350,
393,
67,
1338,
1074,
451,
341,
3105,
1222,
607,
7724,
130,
1431,
456,
477,
1319,
294,
338,
594,
357,
67,
294,
338,
1691,
477,
350,
707,
67,
14080,
396,
707,
67,
1319,
1616,
3105,
1222,
607,
14080,
365,
3290,
130,
294,
338,
642,
1307,
1067,
1492,
821,
49,
1636,
341,
655,
451,
341,
4668,
462,
451,
294,
338,
477,
1319,
458,
4731,
51,
294,
338,
294,
338,
496,
620,
244,
331,
821,
10323,
451,
477,
350,
707,
67,
14080,
396,
707,
4513,
294,
588,
303,
581,
910,
11349,
365,
320,
310,
910,
328,
299,
27042,
941,
5175,
492,
310,
910,
1492,
299,
40451,
492,
310,
461,
327,
1454,
882,
762,
46,
1037,
327,
120,
494,
10697,
332,
494,
1492,
46,
518,
328,
64,
303,
339,
465,
1041,
294,
338,
3626,
477,
3145,
5898,
391,
44848,
480,
34158,
341,
3773,
1198,
294,
338,
496,
772,
3145,
294,
338,
496,
620,
878,
294,
588,
303,
964,
1922,
3584,
2163,
45,
6141,
1962,
3145,
46,
320,
310,
461,
3145,
51,
390,
80,
405,
941,
316,
1825,
45,
597,
46,
1293,
5409,
2661,
51,
316,
18661,
6358,
20077,
45,
1763,
51,
336,
312,
303,
339,
465,
1041,
294,
338,
40939,
477,
350,
707,
67,
14080,
396,
707,
67,
480,
2840,
1769,
5736,
391,
341,
294,
338,
6244,
1067,
3458,
51,
1369,
1431,
23471,
331,
4154,
8266,
456,
477,
294,
338,
350,
707,
67,
14080,
396,
707,
67,
1319,
563,
341,
1067,
1716,
3458,
708,
458,
294,
338,
341,
804,
451,
341,
1620,
350,
707,
67,
1615,
51,
549,
396,
707,
4513,
906,
1950,
1646,
451,
294,
338,
1716,
4326,
341,
1074,
451,
341,
3105,
1222,
607,
3127,
9768,
1431,
456,
294,
338,
477,
1319,
51,
350,
117,
67,
294,
338,
294,
338,
906,
2224,
451,
341,
1769,
5736,
2490,
12448,
563,
341,
4753,
51,
294,
588,
303,
581,
782,
1489,
8432,
365,
320,
310,
9232,
1880,
3458,
299,
1189,
51,
549,
64,
310,
910,
1492,
299,
40451,
492,
310,
434,
327,
2255,
630,
762,
46,
320,
343,
8558,
51,
1243,
1002,
2199,
4804,
45,
597,
49,
332,
3918,
12165,
2236,
1189,
51,
549,
4004,
27077,
411,
920,
312,
310,
339,
832,
320,
343,
3458,
51,
1243,
45,
11260,
51,
390,
80,
405,
45,
597,
566,
5175,
1052,
343,
434,
327,
1454,
882,
762,
46,
320,
419,
3458,
51,
1243,
17910,
7173,
419,
3458,
51,
1243,
45,
1454,
312,
343,
339,
343,
3458,
51,
3962,
492,
1083,
1922,
3584,
2163,
299,
673,
5064,
51,
316,
39556,
18734,
492,
343,
434,
327,
597,
882,
8558,
51,
390,
15437,
5030,
943,
365,
979,
8266,
882,
762,
46,
320,
419,
456,
327,
429,
613,
299,
244,
53,
64,
613,
882,
8266,
51,
1340,
64,
3323,
110,
46,
320,
547,
3584,
2163,
299,
3584,
2163,
979,
3584,
2163,
45,
5736,
96,
110,
2004,
547,
434,
1445,
3269,
2163,
46,
320,
733,
3458,
51,
1243,
459,
283,
7173,
733,
434,
327,
5736,
96,
110,
98,
882,
762,
46,
320,
1031,
8266,
96,
110,
1015,
1243,
45,
2255,
312,
733,
339,
832,
320,
1031,
3458,
51,
1243,
459,
330,
6154,
9110,
463,
742,
733,
339,
733,
3458,
51,
3962,
492,
547,
339,
419,
339,
343,
339,
310,
339,
303,
339,
222,
222,
130,
222
] |
[
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,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1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 1,677
| true
| 60.926006
| true
| true
|
EntityList.java
|
/FileExtraction/Java_unseen/yaxim-org_yaxim/src/org/yaxim/androidclient/data/EntityList.java
|
package org.yaxim.androidclient.data;
import android.text.TextUtils;
import android.widget.Filter;
import android.widget.Filterable;
import org.yaxim.androidclient.list.EntityListAdapter;
import java.util.ArrayList;
import java.util.HashMap;
/**
* Filterable list of entities for a sub-tree in an EntityListAdapter.
*
* This list preserves the insertion order and allows addressing / replacing by JID.
*
* It supports the states "loading" and "error".
*/
public class EntityList implements Filterable {
EntityListAdapter adapter;
private ArrayList<EntityInfo> unfiltered_items = new ArrayList<>();
private HashMap<String, Integer> jid_index = new HashMap<>();
private EntityInfoFilter pif = new EntityInfoFilter();
public String groupName;
public ArrayList<EntityInfo> items = unfiltered_items;
private boolean loading;
private boolean error;
public EntityList(EntityListAdapter adapter, String groupName) {
this.adapter = adapter;
this.groupName = groupName;
loading = false;
error = false;
}
public void startLoading() {
loading = true;
error = false;
adapter.notifyDataSetChanged();
}
public void finishLoading() {
loading = false;
error = false;
adapter.notifyDataSetChanged();
}
public boolean isLoading() {
return loading;
}
public boolean isError() {
return error;
}
public void add(EntityInfo pp, boolean notify) {
Integer idx = jid_index.get(pp.jid);
if (idx != null)
unfiltered_items.set(idx, pp);
else {
jid_index.put(pp.jid, unfiltered_items.size());
unfiltered_items.add(pp);
}
if (notify)
adapter.notifyDataSetChanged();
}
public void clear() {
unfiltered_items.clear();
jid_index.clear();
loading = true;
error = false;
adapter.notifyDataSetChanged();
}
public void setError(Throwable ex) {
unfiltered_items.clear();
unfiltered_items.add(EntityInfo.fromError(ex));
loading = false;
error = true;
adapter.notifyDataSetChanged();
}
@Override
public Filter getFilter() {
return pif;
}
class EntityInfoFilter extends Filter {
@Override
protected FilterResults performFiltering(CharSequence search) {
ArrayList<EntityInfo> filtered = new ArrayList<>();
String needle = search.toString().toLowerCase();
for (EntityInfo item : unfiltered_items) {
if (item.jid.contains(needle) || item.name.contains(needle))
filtered.add(item);
}
FilterResults fr = new FilterResults();
fr.values = filtered;
fr.count = filtered.size();
return fr;
}
@Override
protected void publishResults(CharSequence charSequence, FilterResults filterResults) {
if (TextUtils.isEmpty(charSequence))
items = unfiltered_items;
else
items = (ArrayList<EntityInfo>) filterResults.values;
adapter.notifyDataSetChanged();
}
}
}
| 2,780
|
Java
|
.java
|
yaxim-org/yaxim
| 484
| 238
| 72
|
2009-08-23T16:38:52Z
|
2023-03-07T14:03:12Z
|
420a51bfc43de80c24a9ee233ed87cb9fee142227d79e7696b1cb948af3048bf
|
[
1337,
1105,
51,
126,
668,
468,
51,
4048,
1598,
51,
624,
64,
222,
222,
485,
2616,
51,
897,
51,
34310,
64,
222,
485,
2616,
51,
3872,
51,
2365,
64,
222,
485,
2616,
51,
3872,
51,
2365,
463,
64,
222,
222,
485,
1105,
51,
126,
668,
468,
51,
4048,
1598,
51,
687,
51,
2234,
46480,
64,
222,
222,
485,
1401,
51,
1058,
51,
7119,
64,
222,
485,
1401,
51,
1058,
51,
8263,
64,
222,
222,
1350,
222,
338,
8301,
463,
1168,
451,
11762,
456,
331,
1381,
50,
3266,
347,
619,
7276,
46480,
51,
222,
338,
222,
338,
1369,
1168,
1426,
33109,
341,
28913,
2554,
480,
6990,
43342,
536,
27952,
829,
990,
798,
51,
222,
338,
222,
338,
2048,
9568,
341,
10134,
332,
6709,
39,
480,
332,
750,
2316,
222,
588,
222,
222,
942,
462,
7276,
739,
4584,
8301,
463,
320,
222,
221,
2234,
46480,
10726,
64,
499,
221,
2072,
5068,
65,
2234,
1139,
67,
725,
15771,
100,
3053,
299,
556,
5068,
6984,
222,
221,
2072,
8329,
65,
671,
49,
4418,
67,
614,
333,
100,
1076,
299,
556,
8329,
6984,
222,
221,
2072,
7276,
1139,
2365,
317,
344,
299,
556,
7276,
1139,
2365,
492,
499,
221,
942,
910,
47621,
64,
222,
221,
942,
5068,
65,
2234,
1139,
67,
3966,
299,
725,
15771,
100,
3053,
64,
222,
221,
2072,
1922,
7752,
64,
222,
221,
2072,
1922,
1067,
64,
499,
221,
942,
7276,
739,
45,
2234,
46480,
10726,
49,
910,
47621,
46,
320,
376,
221,
597,
51,
8730,
299,
10726,
64,
376,
221,
597,
51,
37271,
299,
47621,
64,
376,
221,
6709,
299,
920,
64,
376,
221,
750,
299,
920,
64,
222,
221,
130,
499,
221,
942,
782,
1496,
7077,
365,
320,
376,
221,
6709,
299,
878,
64,
376,
221,
750,
299,
920,
64,
376,
221,
8730,
51,
9357,
13019,
3663,
492,
222,
221,
130,
222,
221,
942,
782,
11371,
7077,
365,
320,
376,
221,
6709,
299,
920,
64,
376,
221,
750,
299,
920,
64,
376,
221,
8730,
51,
9357,
13019,
3663,
492,
222,
221,
130,
499,
221,
942,
1922,
33644,
365,
320,
376,
221,
620,
7752,
64,
222,
221,
130,
499,
221,
942,
1922,
458,
943,
365,
320,
376,
221,
620,
1067,
64,
222,
221,
130,
499,
221,
942,
782,
1035,
45,
2234,
1139,
12059,
49,
1922,
11745,
46,
320,
376,
221,
3078,
5444,
299,
614,
333,
100,
1076,
51,
390,
45,
612,
51,
44503,
312,
376,
221,
344,
327,
2910,
882,
762,
46,
374,
221,
330,
15771,
100,
3053,
51,
489,
45,
2910,
49,
12059,
312,
376,
221,
728,
320,
374,
221,
44503,
100,
1076,
51,
543,
45,
612,
51,
44503,
49,
725,
15771,
100,
3053,
51,
911,
1052,
374,
221,
330,
15771,
100,
3053,
51,
688,
45,
612,
312,
376,
221,
130,
376,
221,
344,
327,
9357,
46,
374,
221,
8730,
51,
9357,
13019,
3663,
492,
222,
221,
130,
222,
221,
942,
782,
4250,
365,
320,
376,
221,
330,
15771,
100,
3053,
51,
3830,
492,
376,
221,
44503,
100,
1076,
51,
3830,
492,
376,
221,
6709,
299,
878,
64,
376,
221,
750,
299,
920,
64,
376,
221,
8730,
51,
9357,
13019,
3663,
492,
222,
221,
130,
499,
221,
942,
782,
48848,
45,
14080,
557,
46,
320,
376,
221,
330,
15771,
100,
3053,
51,
3830,
492,
376,
221,
330,
15771,
100,
3053,
51,
688,
45,
2234,
1139,
51,
1097,
943,
45,
346,
894,
376,
221,
6709,
299,
920,
64,
376,
221,
750,
299,
878,
64,
376,
221,
8730,
51,
9357,
13019,
3663,
492,
222,
221,
130,
499,
221,
69,
1806,
222,
221,
942,
8301,
640,
2365,
365,
320,
376,
221,
620,
317,
344,
64,
222,
221,
130,
499,
221,
842,
7276,
1139,
2365,
2041,
8301,
320,
376,
221,
69,
1806,
376,
221,
5332,
8301,
5483,
4464,
37353,
45,
32295,
3252,
46,
320,
374,
221,
7119,
65,
2234,
1139,
67,
14025,
299,
556,
5068,
6984,
374,
221,
671,
45448,
299,
3252,
51,
3127,
941,
10498,
492,
374,
221,
999,
327,
2234,
1139,
1641,
518,
725,
15771,
100,
3053,
46,
320,
621,
221,
344,
327,
1113,
51,
44503,
51,
4766,
45,
43938,
46,
1293,
1641,
51,
444,
51,
4766,
45,
43938,
509,
596,
221,
15771,
51,
688,
45,
1113,
312,
374,
221,
130,
374,
221,
2365,
5483,
4953,
299,
556,
8301,
5483,
492,
374,
221,
2197,
51,
2857,
299,
14025,
64,
374,
221,
2197,
51,
1016,
299,
14025,
51,
911,
492,
374,
221,
620,
4953,
64,
376,
221,
130,
1332,
221,
69,
1806,
376,
221,
5332,
782,
6686,
5483,
45,
32295,
1370,
5908,
49,
8301,
5483,
2785,
5483,
46,
320,
374,
221,
344,
327,
34310,
51,
6401,
45,
1612,
5908,
509,
621,
221,
3053,
299,
725,
15771,
100,
3053,
64,
374,
221,
728,
621,
221,
3053,
299,
327,
7119,
65,
2234,
1139,
5111,
2785,
5483,
51,
2857,
64,
374,
221,
8730,
51,
9357,
13019,
3663,
492,
376,
221,
130,
222,
221,
130,
222,
130,
222
] |
[
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,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ore-mods/src/main/java/org/mycore/mods/classification/MCRTypeOfResource.java
|
/*
* This file is part of *** M y C o R e ***
* See http://www.mycore.de/ for details.
*
* MyCoRe is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* MyCoRe is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with MyCoRe. If not, see <http://www.gnu.org/licenses/>.
*/
package org.mycore.mods.classification;
import org.mycore.datamodel.classifications2.MCRCategoryDAOFactory;
import org.mycore.datamodel.classifications2.MCRCategoryID;
import org.w3c.dom.Element;
/**
* Authority information that is a static mapping for mods:typeOfResource. This element is always mapped to a
* classification with the ID typeOfResource.
*
* @author Frank Lützenkirchen
*/
class MCRTypeOfResource extends MCRAuthorityInfo {
/**
* The name of the MODS element typeOfResource, which is same as the classification ID used to map the codes to
* categories.
*/
public static final String TYPE_OF_RESOURCE = "typeOfResource";
/**
* The mods:typeOfResource code, which is same as the category ID
*/
private String code;
MCRTypeOfResource(String code) {
this.code = code;
}
/**
* If the given element is mods:typeOfResource, returns the MCRTypeOfResource mapping.
*/
public static MCRTypeOfResource getAuthorityInfo(org.jdom2.Element modsElement) {
if (modsElement == null) {
return null;
}
String name = modsElement.getName();
String code = modsElement.getTextTrim();
return getTypeOfResource(name, code);
}
/**
* If the given element is mods:typeOfResource, returns the MCRTypeOfResource mapping.
*/
public static MCRTypeOfResource getAuthorityInfo(Element modsElement) {
if (modsElement == null) {
return null;
}
String name = modsElement.getLocalName();
String code = MCRMODSClassificationSupport.getText(modsElement).trim();
return getTypeOfResource(name, code);
}
/**
* If the given element name is typeOfResource, returns the MCRTypeOfResource mapping.
*/
private static MCRTypeOfResource getTypeOfResource(String name, String code) {
return (name.equals(TYPE_OF_RESOURCE) && isClassificationPresent()) ? new MCRTypeOfResource(code) : null;
}
@Override
public String toString() {
return TYPE_OF_RESOURCE + "#" + code;
}
@Override
protected MCRCategoryID lookupCategoryID() {
return new MCRCategoryID(TYPE_OF_RESOURCE, code.replace(" ", "_")); // Category IDs can not contain spaces
}
@Override
public void setInElement(org.jdom2.Element element) {
element.setText(code);
}
@Override
public void setInElement(Element element) {
element.setTextContent(code);
}
public static boolean isClassificationPresent() {
return MCRCategoryDAOFactory.getInstance().exist(MCRCategoryID.rootID(TYPE_OF_RESOURCE));
}
}
| 3,397
|
Java
|
.java
|
MyCoRe-Org/mycore
| 33
| 14
| 19
|
2016-10-07T06:02:02Z
|
2024-05-08T18:38:30Z
|
bdf86a48130d3637d75533a042cb694147bfc98370087db20e6541a63ca335fb
|
[
1127,
222,
338,
1369,
822,
458,
1760,
451,
10439,
244,
507,
553,
409,
356,
578,
503,
244,
10439,
222,
338,
2819,
1930,
574,
1516,
51,
1791,
1284,
51,
305,
52,
456,
4261,
51,
222,
338,
222,
338,
4318,
2253,
454,
458,
3760,
2951,
63,
863,
902,
14081,
580,
480,
52,
290,
5370,
222,
338,
580,
1549,
341,
5974,
451,
341,
6994,
6153,
5062,
1196,
641,
9582,
829,
222,
338,
341,
7834,
3870,
7120,
49,
3173,
1522,
244,
56,
451,
341,
1196,
49,
575,
222,
338,
327,
288,
1390,
2489,
46,
1364,
6146,
1522,
51,
222,
338,
222,
338,
4318,
2253,
454,
458,
2744,
347,
341,
9850,
708,
580,
1118,
545,
6386,
49,
222,
338,
1294,
4213,
2979,
9345,
64,
2895,
4462,
341,
4506,
14319,
451,
222,
338,
7934,
575,
8114,
4800,
418,
7848,
7763,
51,
244,
2819,
341,
222,
338,
6994,
6153,
5062,
1196,
456,
1851,
4261,
51,
222,
338,
222,
338,
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
6153,
5062,
1196,
222,
338,
7979,
642,
4318,
2253,
454,
51,
244,
1691,
666,
49,
2337,
350,
544,
574,
1516,
51,
10627,
51,
1107,
52,
4205,
28699,
222,
588,
222,
222,
1337,
1105,
51,
1791,
1284,
51,
22862,
51,
15358,
64,
222,
222,
485,
1105,
51,
1791,
1284,
51,
40215,
51,
842,
5833,
55,
51,
82,
3769,
4236,
5472,
2124,
1720,
64,
222,
485,
1105,
51,
1791,
1284,
51,
40215,
51,
842,
5833,
55,
51,
82,
3769,
4236,
798,
64,
222,
485,
1105,
51,
124,
56,
104,
51,
4734,
51,
1325,
64,
222,
222,
1350,
222,
338,
6265,
562,
2490,
708,
458,
331,
924,
8023,
456,
27402,
63,
700,
1436,
2305,
51,
1369,
2016,
458,
5198,
14742,
391,
331,
222,
338,
18005,
642,
341,
2502,
35993,
2305,
51,
222,
338,
1676,
338,
496,
2133,
26656,
517,
2022,
121,
5891,
35457,
16229,
222,
588,
222,
842,
507,
3769,
18486,
2305,
2041,
507,
3769,
20379,
1139,
320,
465,
1041,
294,
338,
906,
655,
451,
341,
7707,
4150,
2016,
35993,
2305,
49,
1532,
458,
2454,
641,
341,
18005,
2502,
1674,
391,
2010,
341,
12685,
391,
294,
338,
12851,
51,
294,
588,
303,
581,
924,
1175,
910,
11405,
100,
2124,
100,
16935,
299,
332,
700,
1436,
2305,
884,
465,
1041,
294,
338,
906,
27402,
63,
700,
1436,
2305,
1361,
49,
1532,
458,
2454,
641,
341,
6233,
2502,
294,
588,
303,
964,
910,
1361,
64,
465,
507,
3769,
18486,
2305,
45,
671,
1361,
46,
320,
310,
477,
51,
707,
299,
1361,
64,
303,
339,
465,
1041,
294,
338,
1691,
341,
2716,
2016,
458,
27402,
63,
700,
1436,
2305,
49,
3235,
341,
507,
3769,
18486,
2305,
8023,
51,
294,
588,
303,
581,
924,
507,
3769,
18486,
2305,
640,
20379,
1139,
45,
1107,
51,
111,
4734,
55,
51,
1325,
27402,
1325,
46,
320,
310,
434,
327,
22862,
1325,
630,
762,
46,
320,
343,
461,
762,
64,
310,
339,
310,
910,
655,
299,
27402,
1325,
51,
5175,
492,
310,
910,
1361,
299,
27402,
1325,
51,
10624,
13988,
492,
310,
461,
640,
18486,
2305,
45,
444,
49,
1361,
312,
303,
339,
465,
1041,
294,
338,
1691,
341,
2716,
2016,
458,
27402,
63,
700,
1436,
2305,
49,
3235,
341,
507,
3769,
18486,
2305,
8023,
51,
294,
588,
303,
581,
924,
507,
3769,
18486,
2305,
640,
20379,
1139,
45,
1325,
27402,
1325,
46,
320,
310,
434,
327,
22862,
1325,
630,
762,
46,
320,
343,
461,
762,
64,
310,
339,
310,
910,
655,
299,
27402,
1325,
51,
29172,
577,
492,
310,
910,
1361,
299,
507,
3769,
2414,
4150,
22749,
4417,
51,
10624,
45,
22862,
1325,
566,
5475,
492,
310,
461,
640,
18486,
2305,
45,
444,
49,
1361,
312,
303,
339,
465,
1041,
294,
338,
1691,
341,
2716,
2016,
655,
458,
35993,
2305,
49,
3235,
341,
507,
3769,
18486,
2305,
8023,
51,
294,
588,
303,
964,
924,
507,
3769,
18486,
2305,
640,
18486,
2305,
45,
671,
655,
49,
910,
1361,
46,
320,
310,
461,
327,
444,
51,
3591,
45,
2333,
100,
2124,
100,
16935,
46,
979,
458,
22749,
9013,
1177,
1037,
556,
507,
3769,
18486,
2305,
45,
707,
46,
518,
762,
64,
303,
339,
465,
496,
1806,
303,
581,
910,
11349,
365,
320,
310,
461,
11405,
100,
2124,
100,
16935,
494,
41314,
494,
1361,
64,
303,
339,
465,
496,
1806,
303,
2532,
507,
3769,
4236,
798,
11478,
4236,
798,
365,
320,
310,
461,
556,
507,
3769,
4236,
798,
45,
2333,
100,
2124,
100,
16935,
49,
1361,
51,
3249,
459,
3021,
7302,
2992,
453,
9954,
15350,
902,
666,
4814,
13950,
303,
339,
465,
496,
1806,
303,
581,
782,
758,
402,
1325,
45,
1107,
51,
111,
4734,
55,
51,
1325,
2016,
46,
320,
310,
2016,
51,
6619,
45,
707,
312,
465,
339,
465,
496,
1806,
303,
581,
782,
758,
402,
1325,
45,
1325,
2016,
46,
320,
310,
2016,
51,
6619,
1795,
45,
707,
312,
303,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 833
| true
| 68.669022
| true
| true
|
Area.java
|
/FileExtraction/Java_unseen/dataease_dataease/core/core-backend/src/main/java/io/dataease/map/dao/auto/entity/Area.java
|
package io.dataease.map.dao.auto.entity;
import java.io.Serializable;
/**
* <p>
*
* </p>
*
* @author fit2cloud
* @since 2023-07-09
*/
public class Area implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 区域id,和文件对应
*/
private String id;
/**
* 区域级别,从高到低country,province,city,district,更细的待定
*/
private String level;
/**
* 区域名称
*/
private String name;
/**
* 父级区域id
*/
private String pid;
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getLevel() {
return level;
}
public void setLevel(String level) {
this.level = level;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getPid() {
return pid;
}
public void setPid(String pid) {
this.pid = pid;
}
@Override
public String toString() {
return "Area{" +
"id = " + id +
", level = " + level +
", name = " + name +
", pid = " + pid +
"}";
}
}
| 1,273
|
Java
|
.java
|
dataease/dataease
| 15,352
| 2,826
| 242
|
2021-02-02T04:10:21Z
|
2024-05-09T08:20:23Z
|
0e52102ce2837c0ba81a03c11b5cb42f64ca93bee4c2ef4dd026405a9194b44f
|
[
1337,
3377,
51,
624,
25608,
51,
1130,
51,
13974,
51,
2853,
51,
2244,
64,
222,
222,
485,
1401,
51,
735,
51,
12644,
64,
222,
222,
1350,
222,
338,
350,
117,
67,
222,
338,
1676,
338,
594,
117,
67,
222,
338,
222,
338,
496,
2133,
8240,
55,
3227,
222,
338,
496,
8152,
244,
55,
53,
55,
56,
50,
53,
60,
50,
53,
62,
222,
588,
222,
942,
462,
21725,
4584,
19182,
320,
465,
964,
924,
1175,
1964,
19896,
299,
244,
54,
81,
64,
465,
1041,
294,
338,
244,
34025,
333,
49,
4496,
6162,
17867,
294,
588,
303,
964,
910,
828,
64,
465,
1041,
294,
338,
244,
34025,
45228,
1140,
9682,
9863,
4329,
22883,
7039,
49,
14640,
49,
5733,
49,
21098,
49,
6965,
19747,
1096,
17684,
3839,
294,
588,
303,
964,
910,
3215,
64,
465,
1041,
294,
338,
244,
34025,
13140,
294,
588,
303,
964,
910,
655,
64,
465,
1041,
294,
338,
244,
24936,
11867,
34025,
333,
294,
588,
303,
964,
910,
12498,
64,
465,
581,
910,
19832,
365,
320,
310,
461,
828,
64,
303,
339,
465,
581,
782,
29452,
45,
671,
828,
46,
320,
310,
477,
51,
333,
299,
828,
64,
303,
339,
465,
581,
910,
640,
2671,
365,
320,
310,
461,
3215,
64,
303,
339,
465,
581,
782,
758,
2671,
45,
671,
3215,
46,
320,
310,
477,
51,
2675,
299,
3215,
64,
303,
339,
465,
581,
910,
16389,
365,
320,
310,
461,
655,
64,
303,
339,
465,
581,
782,
28331,
45,
671,
655,
46,
320,
310,
477,
51,
444,
299,
655,
64,
303,
339,
465,
581,
910,
640,
21096,
365,
320,
310,
461,
12498,
64,
303,
339,
465,
581,
782,
758,
21096,
45,
671,
12498,
46,
320,
310,
477,
51,
6336,
299,
12498,
64,
303,
339,
465,
496,
1806,
303,
581,
910,
11349,
365,
320,
310,
461,
332,
5585,
2382,
494,
310,
332,
333,
299,
332,
494,
828,
494,
310,
3021,
3215,
299,
332,
494,
3215,
494,
310,
3021,
655,
299,
332,
494,
655,
494,
310,
3021,
12498,
299,
332,
494,
12498,
494,
310,
332,
15499,
303,
339,
222,
130,
222
] |
[
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 341
| true
| 49.794239
| true
| true
|
BrowserSearch.java
|
/FileExtraction/Java_unseen/adempiere_adempiere/client/src/org/eevolution/grid/BrowserSearch.java
|
/******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* This program is free software; you can redistribute it and/or modify it *
* under the terms version 2 of the GNU General Public License as published *
* by the Free Software Foundation. This program is distributed in the hope *
* that it will be useful, but WITHOUT ANY WARRANTY; without even the implied *
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU General Public License for more details. *
* You should have received a copy of the GNU General Public License along *
* with this program; if not, write to the Free Software Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
* For the text or an alternative of this public license, you may reach us *
* Copyright (C) 2003-2016 E.R.P. Consultores y Asociados, C.A. *
* All Rights Reserved. *
* Contributor(s): Yamel Senih www.erpcya.com *
*****************************************************************************/
package org.eevolution.grid;
import java.util.List;
import org.adempiere.controller.SmallViewController;
import org.adempiere.model.MBrowse;
import org.adempiere.model.MBrowseField;
import org.compiere.util.CLogger;
import org.spin.util.ASPUtil;
/**
* Controller for Browser Search, it allow to developer create different views from it
* @author Yamel Senih, [email protected], ERPCyA http://www.erpcya.com
* <li>BR [ 344 ] Smart Browse Search View is not MVC
* @see https://github.com/adempiere/adempiere/issues/344
* <li><a href="https://github.com/adempiere/adempiere/issues/556">
* FR [ 556 ] Criteria Search on SB don't have a parameter like only information</a>
* @author Michael Mckay [email protected]
* <li> BR [ <a href="https://github.com/adempiere/adempiere/issues/495">495</a> ]
* Parameter Panel & SmartBrowser criteria do not set gridField value
*/
public abstract class BrowserSearch extends SmallViewController {
/**
* Dynamic generated Parameter panel.
* @param WindowNo window
* @param p_AD_Browse_ID browser
* @param columns
*/
public BrowserSearch(int WindowNo, int p_AD_Browse_ID, int columns) {
// Get parameters
m_WindowNo = WindowNo;
m_AD_Browse_ID = p_AD_Browse_ID;
m_Columns = columns;
//init();
// if (!isLoaded())
// dispose();
} // BrowserSearch
/**
* Standard Constructor
* @param WindowNo
* @param p_AD_Browse_ID
*/
public BrowserSearch(int WindowNo, int p_AD_Browse_ID) {
this(WindowNo, p_AD_Browse_ID, COLUMNS_1);
}
private int m_WindowNo;
private int m_AD_Browse_ID;
private int m_Columns;
/** Logger */
private static CLogger log = CLogger.getCLogger(BrowserSearch.class);
// Constants
/** For one Column */
public static final int COLUMNS_1 = 1;
/** For two Column */
public static final int COLUMNS_2 = 2;
//
/**
* Get Columns
* @return
*/
public int getColumns() {
return m_Columns;
}
/**
* Set Columns
* @param columns
*/
public void setColumns(int columns) {
m_Columns = columns;
}
/**
* Read Fields to display
* @return true if loaded OK
*/
public boolean loadData() {
log.config("");
// Create Fields
ASPUtil aspUtil = ASPUtil.getInstance();
MBrowse browse = aspUtil.getBrowse(m_AD_Browse_ID);
// Valid null
if(browse == null)
return false;
//
List<MBrowseField> fields = aspUtil.getBrowseCriteriaFields(m_AD_Browse_ID);
if(fields == null
|| fields.size() == 0)
return false;
// Add fields
for (MBrowseField field : fields) {
createField (field, m_WindowNo);
}
//
return true;
} // init
/**
* Get the Window number
* @return
*/
public int getWindowNo() {
return m_WindowNo;
}
} // BrowserSearch
| 4,166
|
Java
|
.java
|
adempiere/adempiere
| 780
| 770
| 560
|
2015-01-08T01:15:53Z
|
2024-04-22T22:00:16Z
|
3558a9e6b040bafcf53abd2c5300e21a1bae3b6f03fc16ab718c469ea471c2e8
|
[
48063,
222,
338,
7697,
63,
418,
305,
17208,
767,
535,
5743,
568,
9975,
82,
18852,
17256,
12219,
7704,
338,
222,
338,
1369,
3477,
458,
3760,
2951,
64,
863,
902,
14081,
580,
480,
52,
290,
5370,
580,
283,
338,
222,
338,
1549,
341,
5974,
1522,
244,
55,
451,
341,
6994,
6153,
5062,
1196,
641,
9582,
280,
338,
222,
338,
829,
341,
7834,
3870,
7120,
51,
1369,
3477,
458,
2744,
347,
341,
9850,
280,
338,
222,
338,
708,
580,
1118,
545,
6386,
49,
1294,
4213,
2979,
9345,
64,
2895,
4462,
341,
4506,
338,
222,
338,
14319,
451,
7934,
575,
8114,
4800,
418,
7848,
7763,
51,
2281,
338,
222,
338,
2819,
341,
6994,
6153,
5062,
1196,
456,
1851,
4261,
51,
7704,
338,
222,
338,
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
6153,
5062,
1196,
7979,
283,
338,
222,
338,
642,
477,
3477,
64,
434,
666,
49,
2886,
391,
341,
7834,
3870,
7120,
49,
6367,
4345,
283,
338,
222,
338,
244,
58,
62,
38849,
17693,
49,
25280,
244,
56,
56,
53,
49,
25006,
49,
13083,
244,
53,
55,
54,
54,
54,
50,
54,
56,
53,
60,
15067,
51,
6039,
338,
222,
338,
2643,
341,
1367,
575,
619,
15541,
451,
477,
581,
3553,
49,
863,
1648,
15678,
1790,
283,
338,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
53,
56,
50,
55,
53,
54,
59,
535,
51,
87,
51,
85,
51,
12097,
357,
471,
595,
553,
2915,
3117,
5221,
49,
409,
51,
70,
51,
3403,
338,
222,
338,
3381,
12902,
11921,
51,
39223,
338,
222,
338,
42692,
45,
120,
731,
1432,
11617,
42984,
10019,
19955,
51,
284,
1982,
9491,
51,
527,
1229,
338,
222,
13533,
22121,
222,
1337,
1105,
51,
1310,
10569,
51,
3393,
64,
222,
222,
485,
1401,
51,
1058,
51,
739,
64,
222,
222,
485,
1105,
51,
1546,
17208,
767,
51,
4641,
51,
12480,
13928,
64,
222,
485,
1105,
51,
1546,
17208,
767,
51,
1184,
51,
3361,
9835,
64,
222,
485,
1105,
51,
1546,
17208,
767,
51,
1184,
51,
3361,
9835,
1195,
64,
222,
485,
1105,
51,
998,
47475,
51,
1058,
51,
72,
3716,
64,
222,
485,
1105,
51,
12917,
51,
1058,
51,
28142,
1747,
64,
222,
222,
1350,
222,
338,
221,
1934,
456,
14154,
7438,
49,
580,
2625,
391,
14383,
1506,
3473,
11887,
664,
580,
222,
338,
221,
69,
2133,
1432,
11617,
42984,
10019,
49,
553,
15500,
10019,
69,
284,
1982,
9491,
51,
527,
49,
535,
9508,
126,
70,
1930,
574,
1516,
51,
284,
1982,
9491,
51,
527,
222,
338,
4238,
221,
65,
393,
67,
4768,
447,
244,
56,
57,
57,
1499,
18852,
570,
9835,
7438,
4340,
458,
666,
32451,
222,
338,
4238,
221,
69,
2987,
1698,
574,
951,
51,
527,
52,
1546,
17208,
767,
52,
1546,
17208,
767,
52,
4491,
52,
56,
57,
57,
222,
338,
4238,
221,
65,
393,
789,
102,
995,
366,
662,
574,
951,
51,
527,
52,
1546,
17208,
767,
52,
1546,
17208,
767,
52,
4491,
52,
58,
58,
59,
432,
222,
338,
4238,
221,
4016,
447,
244,
58,
58,
59,
1499,
18800,
7438,
563,
30212,
2818,
1348,
1178,
331,
3416,
2144,
1773,
2490,
396,
102,
67,
222,
338,
221,
69,
2133,
29099,
507,
473,
414,
364,
19875,
51,
114,
473,
414,
69,
114,
473,
414,
22059,
51,
527,
222,
338,
221,
221,
65,
393,
67,
26929,
447,
350,
102,
995,
366,
662,
574,
951,
51,
527,
52,
1546,
17208,
767,
52,
1546,
17208,
767,
52,
4491,
52,
57,
62,
58,
432,
57,
62,
58,
396,
102,
67,
1499,
1676,
338,
313,
221,
3026,
19920,
568,
18852,
9611,
15296,
764,
666,
758,
5145,
1195,
804,
222,
588,
222,
942,
5560,
462,
14154,
3209,
2041,
23327,
13928,
320,
3038,
221,
1350,
376,
338,
221,
7193,
4741,
10922,
7992,
51,
376,
338,
244,
496,
772,
12016,
2042,
3240,
376,
338,
244,
496,
772,
317,
100,
1208,
100,
27181,
100,
798,
5439,
376,
338,
244,
496,
772,
6165,
376,
588,
222,
221,
942,
14154,
3209,
45,
429,
12016,
2042,
49,
648,
317,
100,
1208,
100,
27181,
100,
798,
49,
648,
6165,
46,
320,
376,
221,
325,
221,
953,
3406,
376,
221,
114,
100,
1684,
2042,
299,
12016,
2042,
64,
376,
221,
114,
100,
1208,
100,
27181,
100,
798,
299,
317,
100,
1208,
100,
27181,
100,
798,
64,
376,
221,
114,
100,
7633,
299,
6165,
64,
23120,
221,
325,
1683,
492,
374,
222,
325,
221,
221,
344,
1445,
316,
10661,
1177,
222,
325,
313,
221,
19904,
492,
499,
221,
130,
221,
325,
221,
9611,
3209,
3038,
221,
1350,
376,
338,
9312,
12836,
376,
338,
496,
772,
12016,
2042,
376,
338,
496,
772,
317,
100,
1208,
100,
27181,
100,
798,
376,
588,
222,
221,
942,
14154,
3209,
45,
429,
12016,
2042,
49,
648,
317,
100,
1208,
100,
27181,
100,
798,
46,
320,
376,
221,
597,
45,
1684,
2042,
49,
317,
100,
1208,
100,
27181,
100,
798,
49,
4969,
34795,
100,
54,
312,
222,
221,
130,
499,
221,
2072,
648,
313,
221,
114,
100,
1684,
2042,
64,
222,
221,
2072,
648,
4238,
221,
114,
100,
1208,
100,
27181,
100,
798,
64,
222,
221,
2072,
648,
4238,
221,
114,
100,
7633,
64,
222,
221,
1350,
221,
3716,
313,
221,
1975,
222,
221,
2072,
924,
409,
3716,
1264,
299,
409,
3716,
51,
11641,
3716,
45,
9611,
3209,
51,
842,
312,
222,
221,
325,
221,
5238,
222,
221,
1350,
221,
1580,
1611,
7747,
221,
221,
1975,
222,
221,
942,
924,
1175,
648,
4969,
34795,
100,
54,
299,
244,
54,
64,
222,
221,
1350,
221,
1580,
3161,
7747,
221,
221,
1975,
222,
221,
942,
924,
1175,
648,
4969,
34795,
100,
55,
299,
244,
55,
64,
222,
221,
325,
13699,
222,
221,
1350,
376,
338,
1408,
38572,
376,
338,
496,
620,
376,
588,
222,
221,
942,
648,
640,
7633,
365,
320,
376,
221,
620,
364,
100,
7633,
64,
222,
221,
130,
3038,
221,
1350,
376,
338,
1776,
38572,
376,
338,
496,
772,
6165,
376,
588,
222,
221,
942,
782,
758,
7633,
45,
429,
6165,
46,
320,
376,
221,
114,
100,
7633,
299,
6165,
64,
222,
221,
130,
3038,
221,
1350,
376,
338,
221,
2248,
17650,
391,
2540,
376,
338,
244,
496,
620,
878,
434,
3906,
9209,
376,
588,
222,
221,
942,
1922,
2480,
768,
365,
320,
376,
221,
769,
51,
1180,
10928,
27606,
221,
325,
221,
1940,
17650,
376,
221,
28142,
1747,
21434,
1747,
299,
19909,
1747,
51,
7432,
492,
376,
221,
3361,
9835,
32813,
299,
21434,
1747,
51,
390,
27181,
45,
114,
100,
1208,
100,
27181,
100,
798,
312,
376,
221,
325,
221,
2320,
762,
376,
221,
344,
45,
14296,
630,
762,
46,
374,
221,
620,
920,
64,
376,
221,
325,
21997,
221,
739,
65,
3361,
9835,
1195,
67,
3844,
299,
21434,
1747,
51,
390,
27181,
11810,
4152,
45,
114,
100,
1208,
100,
27181,
100,
798,
312,
376,
221,
344,
45,
4169,
630,
762,
621,
221,
4711,
3844,
51,
911,
365,
630,
244,
53,
46,
374,
221,
620,
920,
64,
376,
221,
325,
221,
1121,
3844,
376,
221,
999,
327,
3361,
9835,
1195,
1620,
518,
3844,
46,
320,
374,
221,
1315,
1195,
327,
1512,
49,
364,
100,
1684,
2042,
312,
376,
221,
130,
376,
221,
325,
21997,
221,
620,
878,
64,
222,
221,
130,
221,
325,
221,
1683,
596,
222,
221,
1350,
376,
338,
1408,
341,
12016,
1470,
376,
338,
496,
620,
376,
588,
222,
221,
942,
648,
640,
1684,
2042,
365,
320,
376,
221,
620,
364,
100,
1684,
2042,
64,
222,
221,
130,
376,
222,
130,
221,
325,
221,
9611,
3209,
222
] |
[
[
1,
1,
1,
1,
1,
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1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 1,228
| true
| 61.570862
| true
| true
|
RacyStringMemberLoopTest.java
|
/FileExtraction/Java_unseen/openjdk_tsan/test/hotspot/jtreg/tsan/RacyStringMemberLoopTest.java
|
/*
* Copyright (c) 2019 Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2019 Google and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/* @test RacyStringMemberLoopTest
* @summary Test a simple Java data race via a String field.
* @library /test/lib
* @build AbstractLoop TsanRunner
* @run main RacyStringMemberLoopTest
*/
import java.io.IOException;
import jdk.test.lib.process.OutputAnalyzer;
import jdk.test.lib.process.ProcessTools;
public class RacyStringMemberLoopTest {
public static void main(String[] args) throws IOException {
TsanRunner.runTsanTestExpectFailure(RacyStringMemberLoopRunner.class)
.shouldMatch("(Read|Write) of size [48] at 0x[0-9a-fA-F]+ by thread T[0-9]+")
.shouldContain(" #0 RacyStringMemberLoopRunner.run(I)V RacyStringMemberLoopTest.java:");
}
}
class RacyStringMemberLoopRunner extends AbstractLoop {
private String x = "a";
@Override
protected void run(int i) {
char c = x.charAt(0);
x = Character.toString(c);
}
public static void main(String[] args) throws InterruptedException {
RacyStringMemberLoopRunner loop = new RacyStringMemberLoopRunner();
loop.runInTwoThreads();
System.out.println("x = " + loop.x);
}
}
| 2,204
|
Java
|
.java
|
openjdk/tsan
| 22
| 15
| 0
|
2019-04-23T14:12:57Z
|
2024-05-09T07:43:42Z
|
de56357f493de7b6cf7e18711615bfade92eecc5a8792049d17c4fa20f1030e3
|
[
1127,
222,
338,
2657,
327,
104,
46,
244,
55,
53,
54,
62,
17980,
480,
52,
290,
2840,
25094,
51,
3381,
4760,
5225,
51,
222,
338,
2657,
327,
104,
46,
244,
55,
53,
54,
62,
6608,
480,
52,
290,
2840,
25094,
51,
3381,
4760,
5225,
51,
222,
338,
4103,
2387,
23740,
1895,
35234,
8995,
2387,
11988,
1895,
8968,
10961,
30441,
51,
222,
338,
222,
338,
1369,
1361,
458,
3760,
2951,
64,
863,
902,
14081,
580,
480,
52,
290,
5370,
580,
222,
338,
1549,
341,
5974,
451,
341,
6994,
6153,
5062,
1196,
1522,
244,
55,
1773,
49,
641,
222,
338,
9582,
829,
341,
7834,
3870,
7120,
51,
222,
338,
222,
338,
1369,
1361,
458,
2744,
347,
341,
9850,
708,
580,
1118,
545,
6386,
49,
1294,
4213,
222,
338,
2979,
9345,
64,
2895,
4462,
341,
4506,
14319,
451,
7934,
575,
222,
338,
8114,
4800,
418,
7848,
7763,
51,
244,
2819,
341,
6994,
6153,
5062,
1196,
222,
338,
1522,
244,
55,
456,
1851,
4261,
327,
102,
1948,
458,
5976,
347,
341,
7621,
822,
708,
222,
338,
20854,
297,
4850,
477,
1361,
566,
222,
338,
222,
338,
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
6153,
5062,
1196,
1522,
222,
338,
244,
55,
7979,
642,
477,
1409,
64,
434,
666,
49,
2886,
391,
341,
7834,
3870,
7120,
49,
222,
338,
6367,
4345,
244,
58,
54,
34113,
1277,
49,
33316,
26912,
49,
25006,
49,
13083,
244,
53,
55,
54,
54,
53,
50,
54,
56,
53,
54,
15067,
51,
222,
338,
222,
338,
5304,
7272,
17980,
49,
244,
58,
53,
53,
17980,
27004,
3094,
49,
4777,
21100,
2432,
6868,
49,
10562,
244,
62,
57,
53,
59,
58,
15067,
222,
338,
575,
7739,
19955,
51,
11116,
51,
527,
434,
863,
1868,
5408,
2490,
575,
1178,
1364,
222,
338,
10034,
51,
222,
588,
222,
222,
1127,
496,
881,
578,
4099,
671,
4605,
7503,
1024,
222,
338,
496,
1386,
2128,
331,
4313,
4957,
727,
22048,
4745,
331,
910,
1620,
51,
222,
338,
496,
5261,
536,
881,
52,
1379,
222,
338,
496,
1848,
7406,
7503,
413,
17813,
7980,
222,
338,
496,
1967,
2594,
578,
4099,
671,
4605,
7503,
1024,
222,
588,
222,
222,
485,
1401,
51,
735,
51,
6860,
64,
222,
485,
614,
4532,
51,
881,
51,
1379,
51,
2441,
51,
2319,
17430,
64,
222,
485,
614,
4532,
51,
881,
51,
1379,
51,
2441,
51,
2877,
7926,
64,
222,
222,
942,
462,
578,
4099,
671,
4605,
7503,
1024,
320,
353,
581,
924,
782,
2594,
45,
671,
1197,
2194,
46,
2589,
6300,
320,
303,
413,
17813,
7980,
51,
1967,
16125,
297,
1024,
5027,
7966,
45,
87,
4099,
671,
4605,
7503,
7980,
51,
842,
46,
310,
657,
3179,
3683,
21858,
2248,
129,
2553,
46,
451,
1354,
447,
57,
61,
98,
840,
244,
53,
125,
96,
53,
50,
62,
102,
50,
42075,
50,
75,
6176,
829,
3682,
413,
96,
53,
50,
62,
6176,
678,
310,
657,
3179,
19863,
459,
607,
53,
578,
4099,
671,
4605,
7503,
7980,
51,
1967,
45,
78,
46,
91,
578,
4099,
671,
4605,
7503,
1024,
51,
1874,
20120,
353,
339,
222,
130,
222,
222,
842,
578,
4099,
671,
4605,
7503,
7980,
2041,
7406,
7503,
320,
353,
964,
910,
837,
299,
332,
102,
884,
736,
496,
1806,
353,
2532,
782,
1441,
45,
429,
613,
46,
320,
303,
1370,
300,
299,
837,
51,
15602,
45,
53,
312,
303,
837,
299,
15045,
51,
3127,
45,
104,
312,
353,
339,
736,
581,
924,
782,
2594,
45,
671,
1197,
2194,
46,
2589,
24683,
320,
303,
578,
4099,
671,
4605,
7503,
7980,
5276,
299,
556,
578,
4099,
671,
4605,
7503,
7980,
492,
303,
5276,
51,
1967,
402,
8625,
18145,
492,
303,
1189,
51,
560,
51,
3962,
459,
125,
299,
332,
494,
5276,
51,
125,
312,
353,
339,
222,
130,
222
] |
[
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 615
| true
| 72.277677
| true
| true
|
IFormUILogicCode.java
|
/FileExtraction/Java_unseen/IMS-MAXIMS_openMAXIMS/Source Library/openmaxims_workspace/Core/src/ims/core/forms/carecontexthistorydialog/IFormUILogicCode.java
|
//#############################################################################
//# #
//# Copyright (C) <2015> <IMS MAXIMS> #
//# #
//# This program is free software: you can redistribute it and/or modify #
//# it under the terms of the GNU Affero General Public License as #
//# published by the Free Software Foundation, either version 3 of the #
//# License, or (at your option) any later version. #
//# #
//# This program is distributed in the hope that it will be useful, #
//# but WITHOUT ANY WARRANTY; without even the implied warranty of #
//# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
//# GNU Affero General Public License for more details. #
//# #
//# You should have received a copy of the GNU Affero General Public License #
//# along with this program. If not, see <http://www.gnu.org/licenses/>. #
//# #
//# IMS MAXIMS provides absolutely NO GUARANTEE OF THE CLINICAL SAFTEY of #
//# this program. Users of this software do so entirely at their own risk. #
//# IMS MAXIMS only ensures the Clinical Safety of unaltered run-time #
//# software that it builds, deploys and maintains. #
//# #
//#############################################################################
//#EOH
// This code was generated by Barbara Worwood using IMS Development Environment (version 1.80 build 5589.25814)
// Copyright (C) 1995-2015 IMS MAXIMS. All rights reserved.
// WARNING: DO NOT MODIFY the content of this file
package ims.core.forms.carecontexthistorydialog;
public interface IFormUILogicCode
{
// No methods yet.
}
| 2,215
|
Java
|
.java
|
IMS-MAXIMS/openMAXIMS
| 61
| 50
| 23
|
2014-06-12T12:04:02Z
|
2020-07-31T09:34:49Z
|
5d7092623e5f10a0883e62769e1d94cc9f69cf41566269e4c779f9d72ac5c0f5
|
[
325,
19989,
8689,
222,
16802,
42053,
607,
222,
16802,
244,
2657,
327,
72,
46,
350,
55,
53,
54,
58,
67,
244,
350,
2348,
88,
7490,
2348,
88,
67,
22768,
607,
222,
16802,
42053,
607,
222,
16802,
244,
1369,
3477,
458,
3760,
2951,
63,
863,
902,
14081,
580,
480,
52,
290,
5370,
281,
607,
222,
16802,
244,
580,
1549,
341,
5974,
451,
341,
6994,
30994,
6153,
5062,
1196,
641,
2281,
607,
222,
16802,
244,
9582,
829,
341,
7834,
3870,
7120,
49,
3173,
1522,
244,
56,
451,
341,
981,
607,
222,
16802,
244,
1196,
49,
575,
327,
288,
1390,
2489,
46,
1364,
6146,
1522,
51,
10094,
607,
244,
222,
16802,
42053,
607,
222,
16802,
244,
1369,
3477,
458,
2744,
347,
341,
9850,
708,
580,
1118,
545,
6386,
49,
2052,
607,
222,
16802,
244,
1294,
4213,
2979,
9345,
64,
2895,
4462,
341,
4506,
14319,
451,
2281,
607,
222,
16802,
244,
7934,
575,
8114,
4800,
418,
7848,
7763,
51,
244,
2819,
341,
1485,
607,
222,
16802,
244,
6994,
30994,
6153,
5062,
1196,
456,
1851,
4261,
51,
7223,
607,
222,
16802,
42053,
607,
222,
16802,
244,
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
30994,
6153,
5062,
1196,
607,
222,
16802,
244,
7979,
642,
477,
3477,
51,
244,
1691,
666,
49,
2337,
350,
544,
574,
1516,
51,
10627,
51,
1107,
52,
4205,
28699,
283,
607,
222,
16802,
42053,
607,
222,
16802,
244,
457,
2758,
7490,
2348,
88,
7388,
39501,
4452,
26147,
802,
946,
1731,
74,
2258,
2906,
5052,
540,
12634,
377,
5999,
1731,
94,
451,
283,
607,
222,
16802,
244,
477,
3477,
51,
244,
14213,
451,
477,
2951,
764,
1278,
22793,
840,
3641,
4387,
19916,
51,
244,
607,
222,
16802,
244,
457,
2758,
7490,
2348,
88,
1773,
26085,
341,
409,
1823,
1599,
377,
21778,
451,
725,
17776,
337,
1441,
50,
1021,
370,
607,
222,
16802,
244,
2951,
708,
580,
13968,
49,
428,
44513,
480,
48573,
51,
10094,
607,
222,
16802,
42053,
607,
222,
325,
19989,
8689,
222,
16802,
10207,
77,
222,
325,
1369,
1361,
1616,
4741,
829,
11489,
39305,
643,
290,
21100,
1493,
457,
2758,
15606,
10584,
327,
1687,
244,
54,
51,
61,
53,
1984,
244,
58,
58,
61,
62,
51,
55,
58,
61,
54,
57,
46,
222,
325,
2657,
327,
72,
46,
244,
54,
62,
62,
58,
50,
55,
53,
54,
58,
457,
2758,
7490,
2348,
88,
51,
3381,
4760,
5225,
51,
222,
325,
18226,
63,
4103,
2387,
24110,
341,
1813,
451,
477,
822,
222,
222,
1337,
3987,
120,
51,
1284,
51,
8543,
51,
12818,
685,
346,
368,
3170,
5962,
64,
222,
222,
942,
2586,
457,
1260,
2299,
12281,
1241,
244,
222,
128,
222,
221,
325,
3155,
4457,
6320,
51,
222,
130,
222
] |
[
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1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
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 440
| true
| 44.566713
| true
| true
|
RowRecogExprNodeVisitorRepeat.java
|
/FileExtraction/Java_unseen/espertechinc_esper/common/src/main/java/com/espertech/esper/common/internal/epl/rowrecog/expr/RowRecogExprNodeVisitorRepeat.java
|
/*
***************************************************************************************
* Copyright (C) 2006 EsperTech, Inc. All rights reserved. *
* http://www.espertech.com/esper *
* http://www.espertech.com *
* ---------------------------------------------------------------------------------- *
* The software in this package is published under the terms of the GPL license *
* a copy of which has been included with this distribution in the license.txt file. *
***************************************************************************************
*/
package com.espertech.esper.common.internal.epl.rowrecog.expr;
import com.espertech.esper.common.internal.collection.Pair;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
public class RowRecogExprNodeVisitorRepeat implements RowRecogExprNodeVisitor {
private List<Pair<RowRecogExprNodeAtom, RowRecogExprNode>> atoms;
private List<RowRegexNestedDesc> nesteds;
private List<RowRegexPermuteDesc> permutes;
public void visit(RowRecogExprNode node, RowRecogExprNode optionalParent, int level) {
if (node instanceof RowRecogExprNodeAtom) {
RowRecogExprNodeAtom atom = (RowRecogExprNodeAtom) node;
if (atom.getOptionalRepeat() != null) {
if (atoms == null) {
atoms = new ArrayList<Pair<RowRecogExprNodeAtom, RowRecogExprNode>>();
}
atoms.add(new Pair<RowRecogExprNodeAtom, RowRecogExprNode>(atom, optionalParent));
}
}
if (node instanceof RowRecogExprNodeNested) {
RowRecogExprNodeNested nested = (RowRecogExprNodeNested) node;
if (nested.getOptionalRepeat() != null) {
if (nesteds == null) {
nesteds = new ArrayList<RowRegexNestedDesc>();
}
nesteds.add(new RowRegexNestedDesc(nested, optionalParent, level));
}
}
if (node instanceof RowRecogExprNodePermute) {
RowRecogExprNodePermute permute = (RowRecogExprNodePermute) node;
if (permutes == null) {
permutes = new ArrayList<RowRegexPermuteDesc>();
}
permutes.add(new RowRegexPermuteDesc(permute, optionalParent, level));
}
}
public List<Pair<RowRecogExprNodeAtom, RowRecogExprNode>> getAtoms() {
if (atoms == null) {
return Collections.emptyList();
}
return atoms;
}
public List<RowRegexNestedDesc> getNesteds() {
if (nesteds == null) {
return Collections.emptyList();
}
return nesteds;
}
public List<RowRegexPermuteDesc> getPermutes() {
if (permutes == null) {
return Collections.emptyList();
}
return permutes;
}
public static class RowRegexPermuteDesc {
private final RowRecogExprNodePermute permute;
private final RowRecogExprNode optionalParent;
private final int level;
public RowRegexPermuteDesc(RowRecogExprNodePermute permute, RowRecogExprNode optionalParent, int level) {
this.permute = permute;
this.optionalParent = optionalParent;
this.level = level;
}
public RowRecogExprNodePermute getPermute() {
return permute;
}
public RowRecogExprNode getOptionalParent() {
return optionalParent;
}
public int getLevel() {
return level;
}
}
public static class RowRegexNestedDesc {
private final RowRecogExprNodeNested nested;
private final RowRecogExprNode optionalParent;
private final int level;
public RowRegexNestedDesc(RowRecogExprNodeNested nested, RowRecogExprNode optionalParent, int level) {
this.nested = nested;
this.optionalParent = optionalParent;
this.level = level;
}
public RowRecogExprNodeNested getNested() {
return nested;
}
public RowRecogExprNode getOptionalParent() {
return optionalParent;
}
public int getLevel() {
return level;
}
}
}
| 4,384
|
Java
|
.java
|
espertechinc/esper
| 821
| 256
| 13
|
2015-04-06T16:21:10Z
|
2024-04-26T12:22:15Z
|
abf07e3f9bc1fe190154ec7d92e53eaea9f4a1f739728b69b9368b230795c430
|
[
1127,
222,
17854,
1011,
6372,
222,
338,
244,
2657,
327,
72,
46,
244,
55,
53,
53,
59,
535,
39535,
13668,
49,
6367,
51,
3381,
4760,
5225,
51,
9326,
338,
222,
338,
244,
1930,
574,
1516,
51,
326,
481,
6646,
51,
527,
52,
326,
481,
38946,
338,
222,
338,
244,
1930,
574,
1516,
51,
326,
481,
6646,
51,
527,
41148,
338,
222,
338,
244,
26091,
306,
338,
222,
338,
244,
906,
2951,
347,
477,
2670,
458,
9582,
1549,
341,
5974,
451,
341,
23508,
3553,
981,
338,
222,
338,
244,
331,
1948,
451,
1532,
1421,
2602,
5976,
642,
477,
7507,
347,
341,
3553,
51,
2787,
822,
51,
244,
338,
222,
17854,
1011,
6372,
222,
588,
222,
1337,
785,
51,
326,
481,
6646,
51,
326,
481,
51,
2297,
51,
3269,
51,
106,
576,
51,
661,
287,
26699,
51,
3396,
64,
222,
222,
485,
785,
51,
326,
481,
6646,
51,
326,
481,
51,
2297,
51,
3269,
51,
4192,
51,
5460,
64,
222,
222,
485,
1401,
51,
1058,
51,
7119,
64,
222,
485,
1401,
51,
1058,
51,
4293,
64,
222,
485,
1401,
51,
1058,
51,
739,
64,
222,
222,
942,
462,
5582,
454,
26699,
6158,
1230,
10536,
18282,
4584,
5582,
454,
26699,
6158,
1230,
10536,
320,
303,
964,
1701,
65,
5460,
65,
2368,
454,
26699,
6158,
1230,
7869,
49,
5582,
454,
26699,
6158,
1230,
2023,
27951,
64,
303,
964,
1701,
65,
2368,
10845,
14109,
5349,
67,
11825,
120,
64,
303,
964,
1701,
65,
2368,
10845,
22610,
1161,
5349,
67,
1313,
2294,
326,
64,
465,
581,
782,
7739,
45,
2368,
454,
26699,
6158,
1230,
1560,
49,
5582,
454,
26699,
6158,
1230,
5316,
4449,
49,
648,
3215,
46,
320,
310,
434,
327,
1271,
5118,
5582,
454,
26699,
6158,
1230,
7869,
46,
320,
343,
5582,
454,
26699,
6158,
1230,
7869,
8579,
299,
327,
2368,
454,
26699,
6158,
1230,
7869,
46,
1560,
64,
343,
434,
327,
4170,
51,
390,
7575,
18282,
365,
882,
762,
46,
320,
419,
434,
327,
20074,
630,
762,
46,
320,
547,
27951,
299,
556,
5068,
65,
5460,
65,
2368,
454,
26699,
6158,
1230,
7869,
49,
5582,
454,
26699,
6158,
1230,
20591,
419,
339,
419,
27951,
51,
688,
45,
909,
16594,
65,
2368,
454,
26699,
6158,
1230,
7869,
49,
5582,
454,
26699,
6158,
1230,
1579,
4170,
49,
5316,
4449,
894,
343,
339,
310,
339,
310,
434,
327,
1271,
5118,
5582,
454,
26699,
6158,
1230,
14109,
46,
320,
343,
5582,
454,
26699,
6158,
1230,
14109,
11825,
299,
327,
2368,
454,
26699,
6158,
1230,
14109,
46,
1560,
64,
343,
434,
327,
15391,
51,
390,
7575,
18282,
365,
882,
762,
46,
320,
419,
434,
327,
15391,
120,
630,
762,
46,
320,
547,
11825,
120,
299,
556,
5068,
65,
2368,
10845,
14109,
5349,
2938,
419,
339,
419,
11825,
120,
51,
688,
45,
909,
5582,
10845,
14109,
5349,
45,
15391,
49,
5316,
4449,
49,
3215,
894,
343,
339,
310,
339,
310,
434,
327,
1271,
5118,
5582,
454,
26699,
6158,
1230,
22610,
1161,
46,
320,
343,
5582,
454,
26699,
6158,
1230,
22610,
1161,
18196,
1161,
299,
327,
2368,
454,
26699,
6158,
1230,
22610,
1161,
46,
1560,
64,
343,
434,
327,
481,
2294,
326,
630,
762,
46,
320,
419,
1313,
2294,
326,
299,
556,
5068,
65,
2368,
10845,
22610,
1161,
5349,
2938,
343,
339,
343,
1313,
2294,
326,
51,
688,
45,
909,
5582,
10845,
22610,
1161,
5349,
45,
13178,
1161,
49,
5316,
4449,
49,
3215,
894,
310,
339,
303,
339,
465,
581,
1701,
65,
5460,
65,
2368,
454,
26699,
6158,
1230,
7869,
49,
5582,
454,
26699,
6158,
1230,
2023,
640,
39012,
365,
320,
310,
434,
327,
20074,
630,
762,
46,
320,
343,
461,
15490,
51,
31447,
492,
310,
339,
310,
461,
27951,
64,
303,
339,
465,
581,
1701,
65,
2368,
10845,
14109,
5349,
67,
640,
14109,
120,
365,
320,
310,
434,
327,
15391,
120,
630,
762,
46,
320,
343,
461,
15490,
51,
31447,
492,
310,
339,
310,
461,
11825,
120,
64,
303,
339,
465,
581,
1701,
65,
2368,
10845,
22610,
1161,
5349,
67,
640,
1852,
2294,
326,
365,
320,
310,
434,
327,
481,
2294,
326,
630,
762,
46,
320,
343,
461,
15490,
51,
31447,
492,
310,
339,
310,
461,
1313,
2294,
326,
64,
303,
339,
465,
581,
924,
462,
5582,
10845,
22610,
1161,
5349,
320,
310,
964,
1175,
5582,
454,
26699,
6158,
1230,
22610,
1161,
18196,
1161,
64,
310,
964,
1175,
5582,
454,
26699,
6158,
1230,
5316,
4449,
64,
310,
964,
1175,
648,
3215,
64,
603,
581,
5582,
10845,
22610,
1161,
5349,
45,
2368,
454,
26699,
6158,
1230,
22610,
1161,
18196,
1161,
49,
5582,
454,
26699,
6158,
1230,
5316,
4449,
49,
648,
3215,
46,
320,
343,
477,
51,
13178,
1161,
299,
18196,
1161,
64,
343,
477,
51,
5311,
4449,
299,
5316,
4449,
64,
343,
477,
51,
2675,
299,
3215,
64,
310,
339,
603,
581,
5582,
454,
26699,
6158,
1230,
22610,
1161,
640,
22610,
1161,
365,
320,
343,
461,
18196,
1161,
64,
310,
339,
603,
581,
5582,
454,
26699,
6158,
1230,
640,
7575,
4449,
365,
320,
343,
461,
5316,
4449,
64,
310,
339,
603,
581,
648,
640,
2671,
365,
320,
343,
461,
3215,
64,
310,
339,
303,
339,
465,
581,
924,
462,
5582,
10845,
14109,
5349,
320,
310,
964,
1175,
5582,
454,
26699,
6158,
1230,
14109,
11825,
64,
310,
964,
1175,
5582,
454,
26699,
6158,
1230,
5316,
4449,
64,
310,
964,
1175,
648,
3215,
64,
603,
581,
5582,
10845,
14109,
5349,
45,
2368,
454,
26699,
6158,
1230,
14109,
11825,
49,
5582,
454,
26699,
6158,
1230,
5316,
4449,
49,
648,
3215,
46,
320,
343,
477,
51,
15391,
299,
11825,
64,
343,
477,
51,
5311,
4449,
299,
5316,
4449,
64,
343,
477,
51,
2675,
299,
3215,
64,
310,
339,
603,
581,
5582,
454,
26699,
6158,
1230,
14109,
640,
14109,
365,
320,
343,
461,
11825,
64,
310,
339,
603,
581,
5582,
454,
26699,
6158,
1230,
640,
7575,
4449,
365,
320,
343,
461,
5316,
4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Support_ProtocolSupport/src/protocolsupport/protocol/packet/middle/impl/clientbound/play/v_4_5_6_7_8_9r1_9r2_10_11_12r1_12r2_13_14r1_14r2_15/AbstractThunderboltSpawnObject.java
|
package protocolsupport.protocol.packet.middle.impl.clientbound.play.v_4_5_6_7_8_9r1_9r2_10_11_12r1_12r2_13_14r1_14r2_15;
import protocolsupport.protocol.packet.middle.impl.clientbound.play.v_4_5_6_7_8_9r1_9r2_10_11_12r1_12r2_13_14r1_14r2_15_16r1_16r2_17r1_17r2_18.AbstractRemappedSpawnObject;
import protocolsupport.protocol.types.networkentity.NetworkEntityType;
public abstract class AbstractThunderboltSpawnObject extends AbstractRemappedSpawnObject {
protected AbstractThunderboltSpawnObject(IMiddlePacketInit init) {
super(init);
}
@Override
protected void write() {
if (fType != NetworkEntityType.THUNDERBOLT) {
writeSpawnObject();
} else {
writeSpawnThunderbolt();
}
}
protected abstract void writeSpawnObject();
protected abstract void writeSpawnThunderbolt();
}
| 800
|
Java
|
.java
|
ProtocolSupport/ProtocolSupport
| 528
| 168
| 28
|
2014-12-06T18:35:33Z
|
2023-09-09T07:37:01Z
|
04802ad2be98d573ed74485a5c64172e832f5d18fe6771b585ddc238a1ae45d5
|
[
1337,
7088,
3608,
51,
5732,
51,
8776,
51,
10519,
51,
3126,
51,
1598,
4484,
51,
1087,
51,
123,
100,
57,
100,
58,
100,
59,
100,
60,
100,
61,
100,
62,
119,
54,
100,
62,
119,
55,
100,
54,
53,
100,
54,
54,
100,
54,
55,
119,
54,
100,
54,
55,
119,
55,
100,
54,
56,
100,
54,
57,
119,
54,
100,
54,
57,
119,
55,
100,
54,
58,
64,
222,
222,
485,
7088,
3608,
51,
5732,
51,
8776,
51,
10519,
51,
3126,
51,
1598,
4484,
51,
1087,
51,
123,
100,
57,
100,
58,
100,
59,
100,
60,
100,
61,
100,
62,
119,
54,
100,
62,
119,
55,
100,
54,
53,
100,
54,
54,
100,
54,
55,
119,
54,
100,
54,
55,
119,
55,
100,
54,
56,
100,
54,
57,
119,
54,
100,
54,
57,
119,
55,
100,
54,
58,
100,
54,
59,
119,
54,
100,
54,
59,
119,
55,
100,
54,
60,
119,
54,
100,
54,
60,
119,
55,
100,
54,
61,
51,
5597,
2798,
4978,
16354,
976,
64,
222,
485,
7088,
3608,
51,
5732,
51,
2529,
51,
4599,
2244,
51,
4723,
21960,
64,
222,
222,
942,
5560,
462,
7406,
1047,
8505,
32868,
16354,
976,
2041,
7406,
2798,
4978,
16354,
976,
320,
499,
221,
5332,
7406,
1047,
8505,
32868,
16354,
976,
45,
2348,
3438,
6839,
3588,
3238,
46,
320,
376,
221,
5282,
45,
1683,
312,
222,
221,
130,
499,
221,
69,
1806,
222,
221,
5332,
782,
2886,
365,
320,
376,
221,
344,
327,
107,
638,
882,
8187,
21960,
51,
1797,
26708,
71,
1767,
89,
46,
320,
374,
221,
1838,
16354,
976,
492,
376,
221,
130,
832,
320,
374,
221,
1838,
16354,
1047,
8505,
32868,
492,
376,
221,
130,
222,
221,
130,
499,
221,
5332,
5560,
782,
2886,
16354,
976,
492,
499,
221,
5332,
5560,
782,
2886,
16354,
1047,
8505,
32868,
492,
222,
222,
130,
222
] |
[
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 305
| true
| 70.375
| true
| true
|
ShardingSubdomains.java
|
/FileExtraction/Java_unseen/open-xchange_appsuite-middleware/com.openexchange.server/src/com/openexchange/groupware/settings/tree/ShardingSubdomains.java
|
/*
* @copyright Copyright (c) OX Software GmbH, Germany <[email protected]>
* @license AGPL-3.0
*
* This code is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with OX App Suite. If not, see <https://www.gnu.org/licenses/agpl-3.0.txt>.
*
* Any use of the work other than as authorized under this license or copyright law is prohibited.
*
*/
package com.openexchange.groupware.settings.tree;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import org.slf4j.LoggerFactory;
import com.openexchange.exception.OXException;
import com.openexchange.groupware.contexts.Context;
import com.openexchange.groupware.settings.IValueHandler;
import com.openexchange.groupware.settings.PreferencesItemService;
import com.openexchange.groupware.settings.ReadOnlyValue;
import com.openexchange.groupware.settings.Setting;
import com.openexchange.groupware.userconfiguration.UserConfiguration;
import com.openexchange.jslob.ConfigTreeEquivalent;
import com.openexchange.log.LogProperties;
import com.openexchange.server.services.ServerServiceRegistry;
import com.openexchange.serverconfig.ServerConfigService;
import com.openexchange.session.Session;
import com.openexchange.user.User;
/**
* {@link ShardingSubdomains}
*
* Provide an array of sharding subdomains determined for each host via as-config.yml.
* Attention, to use cookies correctly, the following properties have to be set also
* for the host: <br><br>
* com.openexchange.cookie.domain.enabled<br>
* com.openexchange.cookie.domain<br>
* com.openexchange.cookie.domain.prefixWithDot<br>
*
* @author <a href="mailto:[email protected]">Vitali Sjablow</a>
* @since v7.8.4
*/
public class ShardingSubdomains implements PreferencesItemService, ConfigTreeEquivalent {
private static final String SHARDING_SUBDOMAINS = "shardingSubdomains";
@Override
public String getConfigTreePath() {
return SHARDING_SUBDOMAINS;
}
@Override
public String getJslobPath() {
return "io.ox/core//shardingSubdomains";
}
@Override
public String[] getPath() {
return new String[] { SHARDING_SUBDOMAINS };
}
@Override
public IValueHandler getSharedValue() {
return new ReadOnlyValue() {
private List<String> shardingSubdomains;
@Override
public boolean isAvailable(UserConfiguration userConfig) {
List<Map<String, Object>> customHostConfigurations = new ArrayList<>();
shardingSubdomains = new ArrayList<>();
ServerConfigService serverConfigService = ServerServiceRegistry.getInstance().getService(ServerConfigService.class);
if (serverConfigService != null) {
try {
customHostConfigurations = serverConfigService.getCustomHostConfigurations(LogProperties.getHostName(), userConfig.getUserId(), userConfig.getContext().getContextId());
} catch (OXException e) {
LoggerFactory.getLogger(ShardingSubdomains.class).error("Unable to retrieve sharding subdomains.", e);
}
}
return areShardingHostsAvailable(customHostConfigurations);
}
@SuppressWarnings("unchecked")
private boolean areShardingHostsAvailable(List<Map<String, Object>> customHostConfigurations) {
for (Map<String, Object> map : customHostConfigurations) {
if (map.containsKey(SHARDING_SUBDOMAINS)) {
shardingSubdomains = (List<String>) map.get(SHARDING_SUBDOMAINS);
}
}
return shardingSubdomains.isEmpty() ? false : true;
}
@Override
public void getValue(Session session, Context ctx, User user, UserConfiguration userConfig, Setting setting) throws OXException {
for (String host : shardingSubdomains) {
setting.addMultiValue(host);
}
}
};
}
}
| 4,615
|
Java
|
.java
|
open-xchange/appsuite-middleware
| 11
| 8
| 0
|
2018-11-16T10:18:56Z
|
2022-11-14T14:03:46Z
|
e4f4f210090f2d3697f2ef7b16877b5951cf6c6ec3cb325edc8283513e595920
|
[
1127,
222,
338,
496,
11793,
2657,
327,
104,
46,
565,
93,
3870,
34723,
49,
44851,
350,
1357,
69,
1693,
50,
125,
2357,
51,
527,
67,
222,
338,
496,
2094,
418,
21156,
50,
56,
51,
53,
222,
338,
222,
338,
1369,
1361,
458,
3760,
2951,
63,
863,
902,
14081,
580,
480,
52,
290,
5370,
222,
338,
580,
1549,
341,
5974,
451,
341,
6994,
30994,
6153,
5062,
1196,
641,
9582,
829,
222,
338,
341,
7834,
3870,
7120,
49,
3173,
1522,
244,
56,
451,
341,
1196,
49,
575,
222,
338,
327,
288,
1390,
2489,
46,
1364,
6146,
1522,
51,
222,
338,
222,
338,
1369,
3477,
458,
2744,
347,
341,
9850,
708,
580,
1118,
545,
6386,
49,
222,
338,
1294,
4213,
2979,
9345,
64,
2895,
4462,
341,
4506,
14319,
451,
222,
338,
7934,
575,
8114,
4800,
418,
7848,
7763,
51,
244,
2819,
341,
222,
338,
6994,
30994,
6153,
5062,
1196,
456,
1851,
4261,
51,
222,
338,
222,
338,
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
30994,
6153,
5062,
1196,
222,
338,
7979,
642,
565,
93,
2013,
25280,
51,
244,
1691,
666,
49,
2337,
350,
662,
574,
1516,
51,
10627,
51,
1107,
52,
4205,
52,
500,
576,
50,
56,
51,
53,
51,
2787,
4513,
222,
338,
222,
338,
6213,
813,
451,
341,
1409,
1623,
2806,
641,
23760,
1549,
477,
3553,
575,
5550,
4940,
458,
552,
43814,
51,
222,
338,
222,
588,
222,
222,
1337,
785,
51,
1693,
11435,
51,
1382,
1415,
51,
3563,
51,
3266,
64,
222,
222,
485,
1401,
51,
1058,
51,
7119,
64,
222,
485,
1401,
51,
1058,
51,
739,
64,
222,
485,
1401,
51,
1058,
51,
1225,
64,
222,
485,
1105,
51,
12172,
57,
111,
51,
19580,
64,
222,
485,
785,
51,
1693,
11435,
51,
3918,
51,
27439,
1002,
64,
222,
485,
785,
51,
1693,
11435,
51,
1382,
1415,
51,
29483,
51,
1237,
64,
222,
485,
785,
51,
1693,
11435,
51,
1382,
1415,
51,
3563,
51,
78,
899,
1985,
64,
222,
485,
785,
51,
1693,
11435,
51,
1382,
1415,
51,
3563,
51,
11333,
1114,
1201,
64,
222,
485,
785,
51,
1693,
11435,
51,
1382,
1415,
51,
3563,
51,
11060,
899,
64,
222,
485,
785,
51,
1693,
11435,
51,
1382,
1415,
51,
3563,
51,
7093,
64,
222,
485,
785,
51,
1693,
11435,
51,
1382,
1415,
51,
514,
5990,
51,
1259,
2339,
64,
222,
485,
785,
51,
1693,
11435,
51,
773,
1166,
51,
1081,
3371,
43040,
64,
222,
485,
785,
51,
1693,
11435,
51,
769,
51,
1353,
3303,
64,
222,
485,
785,
51,
1693,
11435,
51,
1805,
51,
4270,
51,
2077,
1201,
5389,
64,
222,
485,
785,
51,
1693,
11435,
51,
1805,
1180,
51,
2077,
1081,
1201,
64,
222,
485,
785,
51,
1693,
11435,
51,
2867,
51,
3152,
64,
222,
485,
785,
51,
1693,
11435,
51,
514,
51,
1259,
64,
222,
222,
1350,
222,
338,
3105,
1222,
2432,
9260,
1736,
20840,
130,
222,
338,
1676,
338,
14112,
619,
1437,
451,
807,
9260,
1381,
20840,
19886,
456,
2531,
3421,
4745,
641,
50,
1180,
51,
7083,
51,
222,
338,
12442,
5098,
49,
391,
813,
21006,
8487,
49,
341,
2434,
4324,
1178,
391,
545,
758,
2353,
222,
338,
456,
341,
3421,
63,
350,
858,
789,
858,
67,
222,
338,
785,
51,
1693,
11435,
51,
9532,
51,
4136,
51,
6572,
65,
858,
67,
222,
338,
785,
51,
1693,
11435,
51,
9532,
51,
4136,
65,
858,
67,
222,
338,
785,
51,
1693,
11435,
51,
9532,
51,
4136,
51,
4271,
1569,
10026,
65,
858,
67,
222,
338,
222,
338,
496,
2133,
350,
102,
995,
366,
16951,
63,
123,
4729,
110,
51,
24312,
380,
760,
69,
1693,
50,
125,
2357,
51,
527,
432,
91,
4729,
110,
377,
28261,
760,
396,
102,
67,
222,
338,
496,
8152,
373,
60,
51,
61,
51,
57,
222,
588,
222,
942,
462,
2432,
9260,
1736,
20840,
4584,
38440,
1114,
1201,
49,
3395,
3371,
43040,
320,
465,
964,
924,
1175,
910,
5324,
7866,
1410,
100,
7107,
16792,
88,
299,
332,
41476,
1736,
20840,
884,
465,
496,
1806,
303,
581,
910,
38441,
3371,
1233,
365,
320,
310,
461,
5324,
7866,
1410,
100,
7107,
16792,
88,
64,
303,
339,
465,
496,
1806,
303,
581,
910,
640,
10552,
1166,
1233,
365,
320,
310,
461,
332,
735,
51,
1290,
52,
1284,
325,
41476,
1736,
20840,
884,
303,
339,
465,
496,
1806,
303,
581,
910,
1197,
42433,
365,
320,
310,
461,
556,
910,
1197,
320,
5324,
7866,
1410,
100,
7107,
16792,
88,
1487,
303,
339,
465,
496,
1806,
303,
581,
457,
899,
1985,
640,
7444,
899,
365,
320,
310,
461,
556,
23347,
899,
365,
320,
1083,
964,
1701,
65,
671,
67,
807,
9260,
1736,
20840,
64,
1083,
496,
1806,
343,
581,
1922,
458,
8590,
45,
1259,
2339,
1275,
1081,
46,
320,
419,
1701,
65,
1225,
65,
671,
49,
2210,
2023,
3137,
3680,
26992,
299,
556,
5068,
6984,
419,
807,
9260,
1736,
20840,
299,
556,
5068,
6984,
419,
4242,
1081,
1201,
2160,
1081,
1201,
299,
4242,
1201,
5389,
51,
7432,
941,
25419,
45,
2077,
1081,
1201,
51,
842,
312,
419,
434,
327,
1805,
1081,
1201,
882,
762,
46,
320,
547,
1614,
320,
733,
3137,
3680,
26992,
299,
2160,
1081,
1201,
51,
390,
3414,
3680,
26992,
45,
1353,
3303,
51,
390,
33022,
1046,
1275,
1081,
51,
41301,
1046,
1275,
1081,
51,
14722,
941,
14722,
625,
1052,
547,
339,
2385,
327,
27439,
1002,
503,
46,
320,
733,
21818,
51,
10588,
45,
1207,
9260,
1736,
20840,
51,
842,
566,
750,
459,
12019,
391,
10857,
807,
9260,
1381,
20840,
4429,
503,
312,
547,
339,
419,
339,
419,
461,
904,
1207,
9260,
25954,
8590,
45,
3005,
3680,
26992,
312,
343,
339,
1083,
496,
14030,
459,
18362,
678,
343,
964,
1922,
904,
1207,
9260,
25954,
8590,
45,
739,
65,
1225,
65,
671,
49,
2210,
2023,
3137,
3680,
26992,
46,
320,
419,
456,
327,
1225,
65,
671,
49,
2210,
67,
2010,
518,
3137,
3680,
26992,
46,
320,
547,
434,
327,
1130,
51,
15927,
45,
2526,
7866,
1410,
100,
7107,
16792,
88,
509,
320,
733,
807,
9260,
1736,
20840,
299,
327,
739,
65,
671,
5111,
2010,
51,
390,
45,
2526,
7866,
1410,
100,
7107,
16792,
88,
312,
547,
339,
419,
339,
419,
461,
807,
9260,
1736,
20840,
51,
6401,
365,
1037,
920,
518,
878,
64,
343,
339,
1083,
496,
1806,
343,
581,
782,
21517,
45,
3152,
3541,
49,
7063,
3708,
49,
2694,
1275,
49,
2694,
2339,
1275,
1081,
49,
15478,
5767,
46,
2589,
565,
93,
1002,
320,
419,
456,
327,
671,
3421,
518,
807,
9260,
1736,
20840,
46,
320,
547,
5767,
51,
688,
6230,
899,
45,
2067,
312,
419,
339,
343,
339,
310,
1487,
303,
339,
222,
130,
222
] |
[
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 1,080
| true
| 69.057421
| true
| true
|
PunishmentEnforcer.java
|
/FileExtraction/Java_unseen/OvercastNetwork_ProjectAres/Commons/bukkit/src/main/java/tc/oc/commons/bukkit/punishment/PunishmentEnforcer.java
|
package tc.oc.commons.bukkit.punishment;
import javax.inject.Inject;
import javax.inject.Singleton;
import org.bukkit.Sound;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import tc.oc.api.bukkit.users.OnlinePlayers;
import tc.oc.api.docs.Punishment;
import tc.oc.api.docs.Server;
import tc.oc.api.docs.virtual.PunishmentDoc;
import tc.oc.api.docs.virtual.ServerDoc;
import tc.oc.api.message.MessageListener;
import tc.oc.api.message.MessageQueue;
import tc.oc.api.message.types.ModelUpdate;
import tc.oc.api.model.UpdateService;
import tc.oc.api.util.Permissions;
import tc.oc.commons.bukkit.chat.Audiences;
import tc.oc.commons.bukkit.chat.BukkitSound;
import tc.oc.commons.bukkit.nick.IdentityProvider;
import tc.oc.commons.bukkit.settings.SettingManagerProvider;
import tc.oc.commons.bukkit.teleport.PlayerServerChanger;
import tc.oc.commons.core.chat.Audience;
import tc.oc.commons.core.concurrent.Flexecutor;
import tc.oc.minecraft.api.event.Enableable;
import tc.oc.minecraft.scheduler.Sync;
import static tc.oc.commons.bukkit.punishment.PunishmentMessageSetting.Options;
import static tc.oc.commons.bukkit.punishment.PunishmentPermissions.LOOK_UP;
import static tc.oc.commons.bukkit.punishment.PunishmentPermissions.LOOK_UP_STALE;
@Singleton
public class PunishmentEnforcer implements Enableable, MessageListener {
private final PunishmentFormatter punishmentFormatter;
private final UpdateService<PunishmentDoc.Partial> punishmentService;
private final MessageQueue queue;
private final Flexecutor executor;
private final Server localServer;
private final OnlinePlayers players;
private final IdentityProvider identities;
private final Audiences audiences;
private final PlayerServerChanger playerServerChanger;
private final SettingManagerProvider settings;
@Inject PunishmentEnforcer(PunishmentFormatter punishmentFormatter,
UpdateService<PunishmentDoc.Partial> punishmentService,
MessageQueue queue,
@Sync Flexecutor executor,
Server localServer,
OnlinePlayers players,
IdentityProvider identities,
Audiences audiences,
PlayerServerChanger playerServerChanger,
SettingManagerProvider settings) {
this.punishmentFormatter = punishmentFormatter;
this.punishmentService = punishmentService;
this.queue = queue;
this.executor = executor;
this.localServer = localServer;
this.players = players;
this.identities = identities;
this.audiences = audiences;
this.playerServerChanger = playerServerChanger;
this.settings = settings;
}
@Override
public void enable() {
queue.bind(ModelUpdate.class);
queue.subscribe(this, executor);
}
@Override
public void disable() {
queue.unsubscribe(this);
}
@HandleMessage
private void onUpdate(ModelUpdate<Punishment> message) {
final Punishment punishment = message.document();
if(!punishment.enforced()) {
announce(punishment);
enforce(punishment);
}
}
private void enforce(Punishment punishment) {
players.byUserId(punishment.punished()).ifPresent(punished -> enforce(punishment, punished));
}
private void enforce(Punishment punishment, Player punished) {
final Audience audience = audiences.get(punished);
switch(punishment.type()) {
case WARN:
audience.playSound(new BukkitSound(Sound.ENTITY_ENDERDRAGON_GROWL, 1f, 1f));
punishmentFormatter.warning(punishment)
.feed((title, subtitle) -> audience.showTitle(title, subtitle, 5, 200, 10));
break;
case KICK:
case BAN:
playerServerChanger.kickPlayer(punished, punishmentFormatter.screen(punishment, punished));
break;
}
punishmentService.update(punishment._id(), (PunishmentDoc.Enforce) () -> true);
}
private void announce(Punishment punishment) {
players.all()
.stream()
.filter(player -> viewable(player, punishment, true))
.forEach(player -> audiences.get(player).sendMessages(
punishmentFormatter.format(punishment, true,
!punishment.server_id().equals(localServer._id()))
));
}
public boolean viewable(CommandSender sender, Punishment punishment, boolean announced) {
if(viewByIdentity(sender, punishment)) {
if(announced) {
return viewByType(sender, punishment) && viewBySetting(sender, punishment) && viewByIdentity(sender, punishment);
} else {
return viewByLookup(sender, punishment);
}
}
return false;
}
private boolean viewByIdentity(CommandSender sender, Punishment punishment) {
return identities.currentOrConsoleIdentity(punishment.punisher()).isRevealed(sender);
}
private boolean viewBySetting(CommandSender sender, Punishment punishment) {
switch(settings.tryManager(sender).map(m -> m.getValue(PunishmentMessageSetting.get(), Options.class, Options.SERVER)).orElse(Options.NONE)) {
case GLOBAL:
return true;
case SERVER:
return localServer._id().equals(punishment.server_id());
case NONE:
default:
return false;
}
}
private boolean viewByType(CommandSender sender, Punishment punishment) {
switch(punishment.type()) {
case WARN:
case FORUM_BAN:
case FORUM_WARN:
return sender.hasPermission(Permissions.STAFF);
case TOURNEY_BAN:
return localServer.network().equals(ServerDoc.Network.TOURNAMENT);
default:
return true;
}
}
private boolean viewByLookup(CommandSender sender, Punishment punishment) {
return sender.hasPermission(punishment.stale() ? LOOK_UP_STALE : LOOK_UP);
}
}
| 6,381
|
Java
|
.java
|
OvercastNetwork/ProjectAres
| 172
| 74
| 7
|
2017-01-30T00:44:55Z
|
2020-07-20T15:58:11Z
|
f02a8548a8f16cb88709b6303c84eafbb41e450b7159981b92b217fda0187d2d
|
[
1337,
12893,
51,
561,
51,
8381,
51,
20402,
51,
42342,
1729,
488,
64,
222,
222,
485,
3698,
51,
10287,
51,
8836,
64,
222,
485,
3698,
51,
10287,
51,
15948,
64,
222,
222,
485,
1105,
51,
20402,
51,
9024,
64,
222,
485,
1105,
51,
20402,
51,
2514,
51,
2037,
10455,
64,
222,
485,
1105,
51,
20402,
51,
2244,
51,
3516,
64,
222,
485,
12893,
51,
561,
51,
1256,
51,
20402,
51,
3724,
51,
14097,
17670,
64,
222,
485,
12893,
51,
561,
51,
1256,
51,
2198,
51,
85,
330,
1729,
488,
64,
222,
485,
12893,
51,
561,
51,
1256,
51,
2198,
51,
2077,
64,
222,
485,
12893,
51,
561,
51,
1256,
51,
2198,
51,
5010,
51,
85,
330,
1729,
488,
4234,
64,
222,
485,
12893,
51,
561,
51,
1256,
51,
2198,
51,
5010,
51,
2077,
4234,
64,
222,
485,
12893,
51,
561,
51,
1256,
51,
1454,
51,
1193,
2239,
64,
222,
485,
12893,
51,
561,
51,
1256,
51,
1454,
51,
1193,
4098,
64,
222,
485,
12893,
51,
561,
51,
1256,
51,
1454,
51,
2529,
51,
1262,
2346,
64,
222,
485,
12893,
51,
561,
51,
1256,
51,
1184,
51,
2346,
1201,
64,
222,
485,
12893,
51,
561,
51,
1256,
51,
1058,
51,
10967,
64,
222,
485,
12893,
51,
561,
51,
8381,
51,
20402,
51,
6184,
51,
23278,
110,
3042,
64,
222,
485,
12893,
51,
561,
51,
8381,
51,
20402,
51,
6184,
51,
982,
17120,
9024,
64,
222,
485,
12893,
51,
561,
51,
8381,
51,
20402,
51,
14987,
51,
6741,
2588,
64,
222,
485,
12893,
51,
561,
51,
8381,
51,
20402,
51,
3563,
51,
7093,
1590,
2588,
64,
222,
485,
12893,
51,
561,
51,
8381,
51,
20402,
51,
11448,
644,
51,
3516,
2077,
846,
6015,
64,
222,
485,
12893,
51,
561,
51,
8381,
51,
1284,
51,
6184,
51,
43942,
64,
222,
485,
12893,
51,
561,
51,
8381,
51,
1284,
51,
8349,
51,
17242,
754,
2921,
64,
222,
485,
12893,
51,
561,
51,
8654,
51,
1256,
51,
1585,
51,
6601,
463,
64,
222,
485,
12893,
51,
561,
51,
8654,
51,
13273,
51,
4774,
64,
222,
222,
485,
924,
12893,
51,
561,
51,
8381,
51,
20402,
51,
42342,
1729,
488,
51,
85,
330,
1729,
488,
1193,
7093,
51,
2045,
64,
222,
485,
924,
12893,
51,
561,
51,
8381,
51,
20402,
51,
42342,
1729,
488,
51,
85,
330,
1729,
488,
10967,
51,
38604,
100,
2430,
64,
222,
485,
924,
12893,
51,
561,
51,
8381,
51,
20402,
51,
42342,
1729,
488,
51,
85,
330,
1729,
488,
10967,
51,
38604,
100,
2430,
100,
654,
14349,
64,
222,
222,
69,
15948,
222,
942,
462,
466,
330,
1729,
488,
795,
999,
10046,
4584,
11602,
463,
49,
4587,
2239,
320,
465,
964,
1175,
466,
330,
1729,
488,
8748,
317,
330,
1729,
488,
8748,
64,
303,
964,
1175,
4013,
1201,
65,
85,
330,
1729,
488,
4234,
51,
12229,
67,
317,
330,
1729,
488,
1201,
64,
303,
964,
1175,
4587,
4098,
5535,
64,
303,
964,
1175,
24142,
754,
2921,
13915,
64,
303,
964,
1175,
4242,
2212,
2077,
64,
303,
964,
1175,
21064,
17670,
14580,
64,
303,
964,
1175,
15900,
2588,
5230,
2130,
64,
303,
964,
1175,
418,
28396,
3042,
21074,
110,
3042,
64,
303,
964,
1175,
9306,
2077,
846,
6015,
4376,
2077,
846,
6015,
64,
303,
964,
1175,
15478,
1590,
2588,
4086,
64,
465,
496,
8836,
466,
330,
1729,
488,
795,
999,
10046,
45,
85,
330,
1729,
488,
8748,
317,
330,
1729,
488,
8748,
49,
7723,
4013,
1201,
65,
85,
330,
1729,
488,
4234,
51,
12229,
67,
317,
330,
1729,
488,
1201,
49,
7723,
4587,
4098,
5535,
49,
7723,
496,
4774,
24142,
754,
2921,
13915,
49,
7723,
4242,
2212,
2077,
49,
7723,
21064,
17670,
14580,
49,
7723,
15900,
2588,
5230,
2130,
49,
7723,
418,
28396,
3042,
21074,
110,
3042,
49,
7723,
9306,
2077,
846,
6015,
4376,
2077,
846,
6015,
49,
7723,
15478,
1590,
2588,
4086,
46,
320,
603,
477,
51,
42342,
1729,
488,
8748,
299,
317,
330,
1729,
488,
8748,
64,
310,
477,
51,
42342,
1729,
488,
1201,
299,
317,
330,
1729,
488,
1201,
64,
310,
477,
51,
3941,
299,
5535,
64,
310,
477,
51,
15194,
299,
13915,
64,
310,
477,
51,
1717,
2077,
299,
2212,
2077,
64,
310,
477,
51,
14403,
299,
14580,
64,
310,
477,
51,
4859,
2130,
299,
5230,
2130,
64,
310,
477,
51,
14010,
110,
3042,
299,
21074,
110,
3042,
64,
310,
477,
51,
3857,
2077,
846,
6015,
299,
4376,
2077,
846,
6015,
64,
310,
477,
51,
3563,
299,
4086,
64,
303,
339,
465,
496,
1806,
303,
581,
782,
5362,
365,
320,
310,
5535,
51,
2555,
45,
1262,
2346,
51,
842,
312,
310,
5535,
51,
7771,
45,
597,
49,
13915,
312,
303,
339,
465,
496,
1806,
303,
581,
782,
7383,
365,
320,
310,
5535,
51,
29543,
45,
597,
312,
303,
339,
465,
496,
3308,
1193,
303,
964,
782,
48663,
45,
1262,
2346,
65,
85,
330,
1729,
488,
67,
1492,
46,
320,
310,
1175,
466,
330,
1729,
488,
317,
330,
1729,
488,
299,
1492,
51,
2826,
492,
310,
434,
3848,
42342,
1729,
488,
51,
291,
27021,
1177,
320,
343,
46712,
45,
42342,
1729,
488,
312,
343,
24042,
45,
42342,
1729,
488,
312,
310,
339,
303,
339,
465,
964,
782,
24042,
45,
85,
330,
1729,
488,
317,
330,
1729,
488,
46,
320,
310,
14580,
51,
1186,
10223,
45,
42342,
1729,
488,
51,
42342,
3359,
4269,
344,
9013,
45,
42342,
3359,
984,
24042,
45,
42342,
1729,
488,
49,
317,
330,
3359,
894,
303,
339,
465,
964,
782,
24042,
45,
85,
330,
1729,
488,
317,
330,
1729,
488,
49,
9306,
317,
330,
3359,
46,
320,
310,
1175,
37366,
5493,
35982,
299,
21074,
110,
3042,
51,
390,
45,
42342,
3359,
312,
310,
3593,
45,
42342,
1729,
488,
51,
700,
1177,
320,
343,
1152,
25122,
63,
419,
35982,
51,
1087,
9024,
45,
909,
2755,
17120,
9024,
45,
9024,
51,
18770,
100,
37511,
3577,
1631,
586,
100,
8139,
12755,
49,
244,
54,
107,
49,
244,
54,
107,
894,
419,
317,
330,
1729,
488,
8748,
51,
5718,
45,
42342,
1729,
488,
46,
9129,
657,
6543,
1181,
1333,
49,
27755,
46,
984,
35982,
51,
2276,
3188,
45,
1333,
49,
27755,
49,
244,
58,
49,
244,
55,
53,
53,
49,
244,
54,
53,
894,
419,
1644,
64,
343,
1152,
1242,
12305,
63,
343,
1152,
570,
946,
63,
419,
4376,
2077,
846,
6015,
51,
30492,
3516,
45,
42342,
3359,
49,
317,
330,
1729,
488,
8748,
51,
4475,
45,
42342,
1729,
488,
49,
317,
330,
3359,
894,
419,
1644,
64,
310,
339,
603,
317,
330,
1729,
488,
1201,
51,
1896,
45,
42342,
1729,
488,
1132,
333,
1046,
327,
85,
330,
1729,
488,
4234,
51,
795,
5556,
46,
1423,
984,
878,
312,
303,
339,
465,
964,
782,
46712,
45,
85,
330,
1729,
488,
317,
330,
1729,
488,
46,
320,
310,
14580,
51,
483,
365,
3102,
657,
2255,
365,
3102,
657,
2049,
45,
3857,
984,
2221,
463,
45,
3857,
49,
317,
330,
1729,
488,
49,
878,
509,
3102,
657,
5388,
45,
3857,
984,
21074,
110,
3042,
51,
390,
45,
3857,
566,
2729,
6389,
45,
4528,
317,
330,
1729,
488,
8748,
51,
1664,
45,
42342,
1729,
488,
49,
878,
49,
13586,
673,
42342,
1729,
488,
51,
1805,
100,
333,
941,
3591,
45,
1717,
2077,
1132,
333,
5183,
3102,
11979,
303,
339,
465,
581,
1922,
2221,
463,
45,
2037,
10455,
7056,
49,
466,
330,
1729,
488,
317,
330,
1729,
488,
49,
1922,
16847,
42435,
46,
320,
310,
434,
45,
1090,
3229,
2244,
45,
8272,
49,
317,
330,
1729,
488,
509,
320,
343,
434,
45,
13241,
42435,
46,
320,
419,
461,
2221,
30247,
45,
8272,
49,
317,
330,
1729,
488,
46,
979,
2221,
1103,
7093,
45,
8272,
49,
317,
330,
1729,
488,
46,
979,
2221,
3229,
2244,
45,
8272,
49,
317,
330,
1729,
488,
312,
343,
339,
832,
320,
419,
461,
2221,
1103,
10138,
45,
8272,
49,
317,
330,
1729,
488,
312,
343,
339,
310,
339,
310,
461,
920,
64,
303,
339,
465,
964,
1922,
2221,
3229,
2244,
45,
2037,
10455,
7056,
49,
466,
330,
1729,
488,
317,
330,
1729,
488,
46,
320,
310,
461,
5230,
2130,
51,
1719,
1543,
7634,
6741,
45,
42342,
1729,
488,
51,
42342,
1729,
284,
4269,
316,
454,
606,
9004,
45,
8272,
312,
303,
339,
465,
964,
1922,
2221,
1103,
7093,
45,
2037,
10455,
7056,
49,
466,
330,
1729,
488,
317,
330,
1729,
488,
46,
320,
310,
3593,
45,
3563,
51,
1287,
1590,
45,
8272,
566,
1130,
45,
114,
984,
364,
51,
6693,
45,
85,
330,
1729,
488,
1193,
7093,
51,
390,
1046,
11027,
51,
842,
49,
11027,
51,
8099,
3445,
26628,
45,
2045,
51,
8476,
509,
320,
343,
1152,
35187,
63,
419,
461,
878,
64,
343,
1152,
28325,
63,
419,
461,
2212,
2077,
1132,
333,
941,
3591,
45,
42342,
1729,
488,
51,
1805,
100,
333,
1052,
343,
1152,
33152,
63,
343,
1263,
63,
419,
461,
920,
64,
310,
339,
303,
339,
465,
964,
1922,
2221,
30247,
45,
2037,
10455,
7056,
49,
466,
330,
1729,
488,
317,
330,
1729,
488,
46,
320,
310,
3593,
45,
42342,
1729,
488,
51,
700,
1177,
320,
343,
1152,
25122,
63,
343,
1152,
4800,
2364,
100,
38934,
63,
343,
1152,
4800,
2364,
100,
17222,
63,
419,
461,
7056,
51,
2057,
7052,
45,
10967,
51,
30784,
1158,
312,
343,
1152,
2841,
1282,
3585,
94,
100,
38934,
63,
419,
461,
2212,
2077,
51,
4599,
941,
3591,
45,
2077,
4234,
51,
4723,
51,
1425,
1282,
1841,
3495,
312,
343,
1263,
63,
419,
461,
878,
64,
310,
339,
303,
339,
465,
964,
1922,
2221,
1103,
10138,
45,
2037,
10455,
7056,
49,
466,
330,
1729,
488,
317,
330,
1729,
488,
46,
320,
310,
461,
7056,
51,
2057,
7052,
45,
42342,
1729,
488,
51,
289,
1572,
365,
1037,
3920,
2966,
100,
2430,
100,
654,
14349,
518,
3920,
2966,
100,
2430,
312,
303,
339,
222,
222,
130,
222
] |
[
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1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
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 1,604
| true
| 65.1622
| true
| true
|
FunctionDescriptorImpl.java
|
/FileExtraction/Java_unseen/SAP_SapMachine/src/java.base/share/classes/jdk/internal/foreign/FunctionDescriptorImpl.java
|
/*
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
package jdk.internal.foreign;
import java.lang.foreign.FunctionDescriptor;
import java.lang.foreign.GroupLayout;
import java.lang.foreign.MemoryLayout;
import java.lang.foreign.MemorySegment;
import java.lang.foreign.PaddingLayout;
import java.lang.foreign.SequenceLayout;
import java.lang.foreign.ValueLayout;
import java.lang.invoke.MethodType;
import java.util.ArrayList;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import java.util.stream.Collectors;
import static java.util.Objects.requireNonNull;
/**
* @implSpec This class and its subclasses are immutable, thread-safe and <a href="{@docRoot}/java.base/java/lang/doc-files/ValueBased.html">value-based</a>.
*/
public final class FunctionDescriptorImpl implements FunctionDescriptor {
private final MemoryLayout resLayout; // Nullable
private final List<MemoryLayout> argLayouts;
private FunctionDescriptorImpl(MemoryLayout resLayout, List<MemoryLayout> argLayouts) {
if (resLayout instanceof PaddingLayout) {
throw new IllegalArgumentException("Unsupported padding layout return in function descriptor: " + resLayout);
}
Optional<MemoryLayout> paddingLayout = argLayouts.stream().filter(l -> l instanceof PaddingLayout).findAny();
if (paddingLayout.isPresent()) {
throw new IllegalArgumentException("Unsupported padding layout argument in function descriptor: " + paddingLayout.get());
}
this.resLayout = resLayout;
this.argLayouts = List.copyOf(argLayouts);
}
/**
* {@return the return layout (if any) associated with this function descriptor}
*/
public Optional<MemoryLayout> returnLayout() {
return Optional.ofNullable(resLayout);
}
/**
* {@return the argument layouts associated with this function descriptor (as an immutable list)}.
*/
public List<MemoryLayout> argumentLayouts() {
return argLayouts;
}
/**
* Returns a function descriptor with the given argument layouts appended to the argument layout array
* of this function descriptor.
*
* @param addedLayouts the argument layouts to append.
* @return the new function descriptor.
*/
public FunctionDescriptorImpl appendArgumentLayouts(MemoryLayout... addedLayouts) {
return insertArgumentLayouts(argLayouts.size(), addedLayouts);
}
/**
* Returns a function descriptor with the given argument layouts inserted at the given index, into the argument
* layout array of this function descriptor.
*
* @param index the index at which to insert the arguments
* @param addedLayouts the argument layouts to insert at given index.
* @return the new function descriptor.
* @throws IllegalArgumentException if {@code index < 0 || index > argumentLayouts().size()}.
*/
public FunctionDescriptorImpl insertArgumentLayouts(int index, MemoryLayout... addedLayouts) {
if (index < 0 || index > argLayouts.size())
throw new IllegalArgumentException("Index out of bounds: " + index);
List<MemoryLayout> added = List.of(addedLayouts); // null check on array and its elements
List<MemoryLayout> newLayouts = new ArrayList<>(argLayouts.size() + addedLayouts.length);
newLayouts.addAll(argLayouts.subList(0, index));
newLayouts.addAll(added);
newLayouts.addAll(argLayouts.subList(index, argLayouts.size()));
return new FunctionDescriptorImpl(resLayout, newLayouts);
}
/**
* Returns a function descriptor with the given memory layout as the new return layout.
*
* @param newReturn the new return layout.
* @return the new function descriptor.
*/
public FunctionDescriptorImpl changeReturnLayout(MemoryLayout newReturn) {
requireNonNull(newReturn);
return new FunctionDescriptorImpl(newReturn, argLayouts);
}
/**
* Returns a function descriptor with the return layout dropped. This is useful to model functions
* which return no values.
*
* @return the new function descriptor.
*/
public FunctionDescriptorImpl dropReturnLayout() {
return new FunctionDescriptorImpl(null, argLayouts);
}
private static Class<?> carrierTypeFor(MemoryLayout layout) {
if (layout instanceof ValueLayout valueLayout) {
return valueLayout.carrier();
} else if (layout instanceof GroupLayout || layout instanceof SequenceLayout) {
return MemorySegment.class;
} else {
// Note: we should not worry about padding layouts, as they cannot be present in a function descriptor
throw new AssertionError("Cannot get here");
}
}
@Override
public MethodType toMethodType() {
Class<?> returnValue = resLayout != null ? carrierTypeFor(resLayout) : void.class;
Class<?>[] argCarriers = new Class<?>[argLayouts.size()];
for (int i = 0; i < argCarriers.length; i++) {
argCarriers[i] = carrierTypeFor(argLayouts.get(i));
}
return MethodType.methodType(returnValue, argCarriers);
}
/**
* {@return the string representation of this function descriptor}
*/
@Override
public String toString() {
return String.format("(%s)%s",
argLayouts.stream().map(Object::toString)
.collect(Collectors.joining()),
returnLayout()
.map(Object::toString)
.orElse("v"));
}
/**
* Compares the specified object with this function descriptor for equality. Returns {@code true} if and only if the specified
* object is also a function descriptor, and all the following conditions are met:
* <ul>
* <li>the two function descriptors have equals return layouts (see {@link MemoryLayout#equals(Object)}), or both have no return layout;</li>
* <li>the two function descriptors have argument layouts that are pair-wise {@linkplain MemoryLayout#equals(Object) equal}; and</li>
* </ul>
*
* @param other the object to be compared for equality with this function descriptor.
* @return {@code true} if the specified object is equal to this function descriptor.
*/
@Override
public boolean equals(Object other) {
return other instanceof FunctionDescriptorImpl f &&
Objects.equals(resLayout, f.resLayout) &&
Objects.equals(argLayouts, f.argLayouts);
}
/**
* {@return the hash code value for this function descriptor}
*/
@Override
public int hashCode() {
return Objects.hash(argLayouts, resLayout);
}
public static FunctionDescriptor of(MemoryLayout resLayout, List<MemoryLayout> argLayouts) {
return new FunctionDescriptorImpl(resLayout, argLayouts);
}
public static FunctionDescriptor ofVoid(List<MemoryLayout> argLayouts) {
return new FunctionDescriptorImpl(null, argLayouts);
}
}
| 8,279
|
Java
|
.java
|
SAP/SapMachine
| 487
| 90
| 10
|
2017-11-13T21:40:03Z
|
2024-05-09T00:31:05Z
|
dd67aa6bf6fe5e17a3fbd532b7b9b8174f8ea7f740aa4e2a9e4dd296c3f5a413
|
[
1127,
222,
338,
244,
2657,
327,
104,
46,
244,
55,
53,
55,
53,
49,
244,
55,
53,
55,
55,
49,
17980,
480,
52,
290,
2840,
25094,
51,
3381,
4760,
5225,
51,
222,
338,
244,
4103,
2387,
23740,
1895,
35234,
8995,
2387,
11988,
1895,
8968,
10961,
30441,
51,
222,
338,
222,
338,
244,
1369,
1361,
458,
3760,
2951,
64,
863,
902,
14081,
580,
480,
52,
290,
5370,
580,
222,
338,
244,
1549,
341,
5974,
451,
341,
6994,
6153,
5062,
1196,
1522,
244,
55,
1773,
49,
641,
222,
338,
244,
9582,
829,
341,
7834,
3870,
7120,
51,
244,
17980,
6759,
1218,
477,
222,
338,
244,
8445,
822,
641,
5405,
391,
341,
332,
44978,
39,
3773,
641,
3961,
222,
338,
244,
829,
17980,
347,
341,
7621,
822,
708,
20854,
297,
4850,
477,
1361,
51,
222,
338,
222,
338,
244,
1369,
1361,
458,
2744,
347,
341,
9850,
708,
580,
1118,
545,
6386,
49,
1294,
4213,
222,
338,
244,
2979,
9345,
64,
2895,
4462,
341,
4506,
14319,
451,
7934,
575,
222,
338,
244,
8114,
4800,
418,
7848,
7763,
51,
244,
2819,
341,
6994,
6153,
5062,
1196,
222,
338,
244,
1522,
244,
55,
456,
1851,
4261,
327,
102,
1948,
458,
5976,
347,
341,
7621,
822,
708,
222,
338,
244,
20854,
297,
4850,
477,
1361,
566,
222,
338,
222,
338,
244,
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
6153,
5062,
1196,
1522,
222,
338,
280,
55,
7979,
642,
477,
1409,
64,
434,
666,
49,
2886,
391,
341,
7834,
3870,
7120,
49,
222,
338,
244,
6367,
4345,
244,
58,
54,
34113,
1277,
49,
33316,
26912,
49,
25006,
49,
13083,
244,
53,
55,
54,
54,
53,
50,
54,
56,
53,
54,
15067,
51,
222,
338,
222,
338,
244,
5304,
7272,
17980,
49,
244,
58,
53,
53,
17980,
27004,
3094,
49,
4777,
21100,
2432,
6868,
49,
10562,
244,
62,
57,
53,
59,
58,
15067,
222,
338,
244,
575,
7739,
19955,
51,
11116,
51,
527,
434,
863,
1868,
5408,
2490,
575,
1178,
1364,
222,
338,
244,
10034,
51,
222,
588,
222,
1337,
614,
4532,
51,
3269,
51,
13611,
64,
222,
222,
485,
1401,
51,
1600,
51,
13611,
51,
2466,
4336,
64,
222,
485,
1401,
51,
1600,
51,
13611,
51,
13305,
64,
222,
485,
1401,
51,
1600,
51,
13611,
51,
5030,
2362,
64,
222,
485,
1401,
51,
1600,
51,
13611,
51,
5030,
7719,
64,
222,
485,
1401,
51,
1600,
51,
13611,
51,
10350,
2362,
64,
222,
485,
1401,
51,
1600,
51,
13611,
51,
5908,
2362,
64,
222,
485,
1401,
51,
1600,
51,
13611,
51,
899,
2362,
64,
222,
485,
1401,
51,
1600,
51,
7845,
51,
37434,
64,
222,
485,
1401,
51,
1058,
51,
7119,
64,
222,
485,
1401,
51,
1058,
51,
739,
64,
222,
485,
1401,
51,
1058,
51,
6699,
64,
222,
485,
1401,
51,
1058,
51,
7575,
64,
222,
485,
1401,
51,
1058,
51,
2255,
51,
16862,
64,
222,
222,
485,
924,
1401,
51,
1058,
51,
6699,
51,
33197,
64,
222,
222,
1350,
222,
338,
496,
3126,
2722,
1369,
462,
480,
2840,
36679,
904,
26079,
49,
3682,
50,
4779,
480,
350,
102,
995,
15469,
69,
1446,
4069,
3206,
1874,
51,
1460,
52,
1874,
52,
1600,
52,
1446,
50,
2558,
52,
899,
10339,
51,
935,
432,
872,
50,
7893,
396,
102,
4513,
222,
588,
222,
942,
1175,
462,
4564,
4336,
3499,
4584,
4564,
4336,
320,
465,
964,
1175,
11366,
2362,
755,
2362,
64,
453,
29415,
303,
964,
1175,
1701,
65,
5030,
2362,
67,
1657,
42572,
64,
465,
964,
4564,
4336,
3499,
45,
5030,
2362,
755,
2362,
49,
1701,
65,
5030,
2362,
67,
1657,
42572,
46,
320,
310,
434,
327,
595,
2362,
5118,
29426,
2362,
46,
320,
343,
1440,
556,
12134,
459,
16737,
3747,
6385,
461,
347,
686,
9869,
63,
332,
494,
755,
2362,
312,
310,
339,
310,
5663,
65,
5030,
2362,
67,
3747,
2362,
299,
1657,
42572,
51,
2255,
941,
2049,
45,
113,
984,
475,
5118,
29426,
2362,
566,
1828,
4292,
492,
310,
434,
327,
5297,
2362,
51,
28200,
1177,
320,
343,
1440,
556,
12134,
459,
16737,
3747,
6385,
2814,
347,
686,
9869,
63,
332,
494,
3747,
2362,
51,
390,
1052,
310,
339,
310,
477,
51,
595,
2362,
299,
755,
2362,
64,
310,
477,
51,
645,
42572,
299,
1701,
51,
36927,
45,
645,
42572,
312,
303,
339,
465,
1041,
294,
338,
3105,
620,
341,
461,
6385,
327,
344,
1364,
46,
5764,
642,
477,
686,
9869,
130,
294,
588,
303,
581,
5663,
65,
5030,
2362,
67,
461,
2362,
365,
320,
310,
461,
5663,
51,
1048,
6825,
45,
595,
2362,
312,
303,
339,
465,
1041,
294,
338,
3105,
620,
341,
2814,
37994,
5764,
642,
477,
686,
9869,
327,
321,
619,
26079,
1168,
31927,
294,
588,
303,
581,
1701,
65,
5030,
2362,
67,
2814,
42572,
365,
320,
310,
461,
1657,
42572,
64,
303,
339,
465,
1041,
294,
338,
3777,
331,
686,
9869,
642,
341,
2716,
2814,
37994,
22355,
391,
341,
2814,
6385,
1437,
294,
338,
451,
477,
686,
9869,
51,
294,
338,
294,
338,
496,
772,
3654,
42572,
341,
2814,
37994,
391,
5507,
51,
294,
338,
496,
620,
341,
556,
686,
9869,
51,
294,
588,
303,
581,
4564,
4336,
3499,
5507,
3501,
42572,
45,
5030,
2362,
1198,
3654,
42572,
46,
320,
310,
461,
5567,
3501,
42572,
45,
645,
42572,
51,
911,
1046,
3654,
42572,
312,
303,
339,
465,
1041,
294,
338,
3777,
331,
686,
9869,
642,
341,
2716,
2814,
37994,
17812,
840,
341,
2716,
1671,
49,
2012,
341,
2814,
294,
338,
6385,
1437,
451,
477,
686,
9869,
51,
294,
338,
294,
338,
496,
772,
1671,
370,
341,
1671,
840,
1532,
391,
5567,
341,
4228,
294,
338,
496,
772,
3654,
42572,
341,
2814,
37994,
391,
5567,
840,
2716,
1671,
51,
294,
338,
496,
620,
341,
556,
686,
9869,
51,
294,
338,
496,
5124,
12134,
434,
3105,
707,
1671,
350,
244,
53,
1293,
1671,
868,
2814,
42572,
941,
911,
41271,
294,
588,
303,
581,
4564,
4336,
3499,
5567,
3501,
42572,
45,
429,
1671,
49,
11366,
2362,
1198,
3654,
42572,
46,
320,
310,
434,
327,
1076,
350,
244,
53,
1293,
1671,
868,
1657,
42572,
51,
911,
1177,
343,
1440,
556,
12134,
459,
1301,
986,
451,
11622,
63,
332,
494,
1671,
312,
310,
1701,
65,
5030,
2362,
67,
3654,
299,
1701,
51,
1048,
45,
11051,
42572,
312,
453,
762,
1524,
563,
1437,
480,
2840,
4725,
310,
1701,
65,
5030,
2362,
67,
556,
42572,
299,
556,
5068,
11530,
645,
42572,
51,
911,
365,
494,
3654,
42572,
51,
1340,
312,
310,
556,
42572,
51,
15109,
45,
645,
42572,
51,
1133,
739,
45,
53,
49,
1671,
894,
310,
556,
42572,
51,
15109,
45,
11051,
312,
310,
556,
42572,
51,
15109,
45,
645,
42572,
51,
1133,
739,
45,
1076,
49,
1657,
42572,
51,
911,
5086,
310,
461,
556,
4564,
4336,
3499,
45,
595,
2362,
49,
556,
42572,
312,
303,
339,
465,
1041,
294,
338,
3777,
331,
686,
9869,
642,
341,
2716,
4137,
6385,
641,
341,
556,
461,
6385,
51,
294,
338,
294,
338,
496,
772,
556,
2907,
341,
556,
461,
6385,
51,
294,
338,
496,
620,
341,
556,
686,
9869,
51,
294,
588,
303,
581,
4564,
4336,
3499,
1557,
2907,
2362,
45,
5030,
2362,
556,
2907,
46,
320,
310,
1224,
10082,
45,
909,
2907,
312,
310,
461,
556,
4564,
4336,
3499,
45,
909,
2907,
49,
1657,
42572,
312,
303,
339,
465,
1041,
294,
338,
3777,
331,
686,
9869,
642,
341,
461,
6385,
23158,
51,
1369,
458,
6386,
391,
1573,
4465,
294,
338,
1532,
461,
1307,
2102,
51,
294,
338,
294,
338,
496,
620,
341,
556,
686,
9869,
51,
294,
588,
303,
581,
4564,
4336,
3499,
6310,
2907,
2362,
365,
320,
310,
461,
556,
4564,
4336,
3499,
45,
1710,
49,
1657,
42572,
312,
303,
339,
465,
964,
924,
1727,
11667,
43033,
638,
1580,
45,
5030,
2362,
6385,
46,
320,
310,
434,
327,
3106,
5118,
3867,
2362,
804,
2362,
46,
320,
343,
461,
804,
2362,
51,
37680,
492,
310,
339,
832,
434,
327,
3106,
5118,
7072,
2362,
1293,
6385,
5118,
16738,
2362,
46,
320,
343,
461,
11366,
7719,
51,
842,
64,
310,
339,
832,
320,
343,
453,
5857,
63,
1019,
1414,
666,
28169,
2645,
3747,
37994,
49,
641,
2974,
4897,
545,
5041,
347,
331,
686,
9869,
343,
1440,
556,
34845,
459,
11400,
640,
2464,
742,
310,
339,
303,
339,
465,
496,
1806,
303,
581,
5409,
638,
391,
37434,
365,
320,
310,
1727,
11667,
34174,
299,
755,
2362,
882,
762,
1037,
43033,
638,
1580,
45,
595,
2362,
46,
518,
782,
51,
842,
64,
310,
1727,
11667,
1197,
1657,
7346,
37493,
299,
556,
1727,
1907,
8838,
645,
42572,
51,
911,
22061,
310,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
1657,
7346,
37493,
51,
1340,
64,
613,
2002,
320,
343,
1657,
7346,
37493,
96,
110,
98,
299,
43033,
638,
1580,
45,
645,
42572,
51,
390,
45,
110,
894,
310,
339,
310,
461,
5409,
638,
51,
1978,
638,
45,
28414,
49,
1657,
7346,
37493,
312,
303,
339,
465,
1041,
294,
338,
3105,
620,
341,
821,
10323,
451,
477,
686,
9869,
130,
294,
588,
303,
496,
1806,
303,
581,
910,
11349,
365,
320,
310,
461,
910,
51,
1664,
459,
7846,
120,
15970,
120,
411,
419,
1657,
42572,
51,
2255,
941,
1130,
45,
976,
422,
3127,
46,
733,
657,
6190,
45,
16862,
51,
2548,
318,
6198,
419,
461,
2362,
365,
733,
657,
1130,
45,
976,
422,
3127,
46,
733,
657,
26628,
459,
123,
2992,
303,
339,
465,
1041,
294,
338,
2270,
11026,
341,
3205,
1319,
642,
477,
686,
9869,
456,
28614,
51,
3777,
3105,
707,
878,
130,
434,
480,
1773,
434,
341,
3205,
294,
338,
1319,
458,
2353,
331,
686,
9869,
49,
480,
1187,
341,
2434,
5496,
904,
3294,
63,
294,
338,
350,
357,
67,
294,
338,
281,
350,
393,
67,
1402,
3161,
686,
26527,
1178,
12432,
461,
37994,
327,
2987,
3105,
1222,
11366,
2362,
40,
3591,
45,
976,
4416,
490,
575,
4354,
1178,
1307,
461,
6385,
2701,
393,
67,
294,
338,
281,
350,
393,
67,
1402,
3161,
686,
26527,
1178,
2814,
37994,
708,
904,
6120,
50,
3790,
3105,
1222,
7378,
11366,
2362,
40,
3591,
45,
976,
46,
5058,
1274,
480,
396,
393,
67,
294,
338,
594,
357,
67,
294,
338,
294,
338,
496,
772,
1623,
341,
1319,
391,
545,
19187,
456,
28614,
642,
477,
686,
9869,
51,
294,
338,
496,
620,
3105,
707,
878,
130,
434,
341,
3205,
1319,
458,
5058,
391,
477,
686,
9869,
51,
294,
588,
303,
496,
1806,
303,
581,
1922,
12432,
45,
976,
1623,
46,
320,
310,
461,
1623,
5118,
4564,
4336,
3499,
315,
979,
419,
14592,
51,
3591,
45,
595,
2362,
49,
315,
51,
595,
2362,
46,
979,
419,
14592,
51,
3591,
45,
645,
42572,
49,
315,
51,
645,
42572,
312,
303,
339,
465,
1041,
294,
338,
3105,
620,
341,
3696,
1361,
804,
456,
477,
686,
9869,
130,
294,
588,
303,
496,
1806,
303,
581,
648,
17759,
365,
320,
310,
461,
14592,
51,
2905,
45,
645,
42572,
49,
755,
2362,
312,
303,
339,
465,
581,
924,
4564,
4336,
451,
45,
5030,
2362,
755,
2362,
49,
1701,
65,
5030,
2362,
67,
1657,
42572,
46,
320,
310,
461,
556,
4564,
4336,
3499,
45,
595,
2362,
49,
1657,
42572,
312,
303,
339,
465,
581,
924,
4564,
4336,
451,
10717,
45,
739,
65,
5030,
2362,
67,
1657,
42572,
46,
320,
310,
461,
556,
4564,
4336,
3499,
45,
1710,
49,
1657,
42572,
312,
303,
339,
222,
130,
222
] |
[
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1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1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 1,853
| true
| 68.571083
| true
| true
|
Rgaa40Rule010704.java
|
/FileExtraction/Java_unseen/Asqatasun_Asqatasun/rules/rules-rgaa4.0/src/main/java/org/asqatasun/rules/rgaa40/Rgaa40Rule010704.java
|
/**
* Asqatasun - Automated webpage assessment
* Copyright (C) 2008-2020 Asqatasun.org
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* Contact us by mail: asqatasun AT asqatasun DOT org
*/
package org.asqatasun.rules.rgaa40;
import org.asqatasun.ruleimplementation.AbstractNotTestedRuleImplementation;
/**
* Implementation of rule 1.7.4 (referential RGAA 4.0)
*
* For more details about implementation, refer to <a href="https://doc.asqatasun.org/v5/en/Business-rules/RGAA-v4/01.Images/Rule-1-7-4/">rule 1.7.4 design page</a>.
* @see <a href="https://www.numerique.gouv.fr/publications/rgaa-accessibilite/methode/criteres/#test-1-7-4">1.7.4 rule specification</a>
*/
public class Rgaa40Rule010704 extends AbstractNotTestedRuleImplementation {
/**
* Default constructor
*/
public Rgaa40Rule010704() {
super();
}
}
| 1,484
|
Java
|
.java
|
Asqatasun/Asqatasun
| 234
| 71
| 21
|
2015-10-13T16:45:50Z
|
2023-02-22T08:38:21Z
|
f264c93c41689afdcb1340f8833e3bfb8fde5b2b6d5ef120845b288aef1119ce
|
[
1350,
222,
338,
2915,
118,
288,
321,
330,
449,
13515,
751,
41171,
34138,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
53,
61,
50,
55,
53,
55,
53,
244,
2915,
118,
288,
321,
330,
51,
1107,
222,
338,
222,
338,
1369,
3477,
458,
3760,
2951,
63,
863,
902,
14081,
580,
480,
52,
290,
5370,
222,
338,
580,
1549,
341,
5974,
451,
341,
6994,
30994,
6153,
5062,
1196,
641,
222,
338,
9582,
829,
341,
7834,
3870,
7120,
49,
3173,
1522,
244,
56,
451,
341,
222,
338,
1196,
49,
575,
327,
288,
1390,
2489,
46,
1364,
6146,
1522,
51,
222,
338,
222,
338,
1369,
3477,
458,
2744,
347,
341,
9850,
708,
580,
1118,
545,
6386,
49,
222,
338,
1294,
4213,
2979,
9345,
64,
2895,
4462,
341,
4506,
14319,
451,
222,
338,
7934,
575,
8114,
4800,
418,
7848,
7763,
51,
244,
2819,
341,
222,
338,
6994,
30994,
6153,
5062,
1196,
456,
1851,
4261,
51,
222,
338,
222,
338,
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
30994,
6153,
5062,
1196,
222,
338,
7979,
642,
477,
3477,
51,
244,
1691,
666,
49,
2337,
350,
544,
574,
1516,
51,
10627,
51,
1107,
52,
4205,
28699,
222,
338,
222,
338,
12140,
1790,
829,
10863,
63,
641,
118,
288,
321,
330,
13089,
641,
118,
288,
321,
330,
32730,
1105,
222,
588,
222,
1337,
1105,
51,
321,
118,
288,
321,
330,
51,
7021,
51,
1270,
2336,
57,
53,
64,
222,
222,
485,
1105,
51,
321,
118,
288,
321,
330,
51,
5286,
19364,
51,
5597,
1355,
48343,
3855,
14631,
64,
222,
222,
1350,
222,
338,
19977,
451,
5760,
244,
54,
51,
60,
51,
57,
327,
2250,
2748,
578,
76,
2162,
244,
57,
51,
53,
46,
222,
338,
222,
338,
2643,
1851,
4261,
2645,
4753,
49,
5293,
391,
350,
102,
995,
366,
662,
574,
1446,
51,
321,
118,
288,
321,
330,
51,
1107,
52,
123,
58,
52,
291,
52,
13268,
50,
7021,
52,
19173,
2162,
50,
123,
57,
52,
53,
54,
51,
9622,
52,
3855,
50,
54,
50,
60,
50,
57,
9082,
5286,
244,
54,
51,
60,
51,
57,
6759,
1957,
396,
102,
4513,
222,
338,
496,
2987,
350,
102,
995,
366,
662,
574,
1516,
51,
1538,
284,
2699,
51,
108,
663,
123,
51,
2197,
52,
44736,
52,
1270,
2336,
50,
3575,
23497,
676,
52,
17834,
421,
52,
104,
2058,
326,
7255,
881,
50,
54,
50,
60,
50,
57,
432,
54,
51,
60,
51,
57,
5760,
14224,
396,
102,
67,
222,
588,
222,
942,
462,
578,
108,
2336,
57,
53,
3855,
53,
54,
53,
60,
53,
57,
2041,
7406,
1355,
48343,
3855,
14631,
320,
465,
1041,
294,
338,
4119,
4389,
294,
588,
303,
581,
578,
108,
2336,
57,
53,
3855,
53,
54,
53,
60,
53,
57,
365,
320,
310,
2615,
492,
303,
339,
222,
222,
130,
222
] |
[
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1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SkyblockRemake/src/main/java/me/CarsCupcake/SkyblockRemake/isles/rift/RiftCalculator.java
|
package me.CarsCupcake.SkyblockRemake.isles.rift;
import lombok.Getter;
import me.CarsCupcake.SkyblockRemake.API.HealthChangeReason;
import me.CarsCupcake.SkyblockRemake.Main;
import me.CarsCupcake.SkyblockRemake.Skyblock.FinalDamageDesider;
import me.CarsCupcake.SkyblockRemake.Skyblock.SkyblockEntity;
import me.CarsCupcake.SkyblockRemake.Skyblock.Stats;
import me.CarsCupcake.SkyblockRemake.isles.rift.events.RiftCalculatorEvent;
import me.CarsCupcake.SkyblockRemake.isles.rift.events.RiftDamageEvent;
import me.CarsCupcake.SkyblockRemake.utils.Assert;
import me.CarsCupcake.SkyblockRemake.utils.runnable.RunnableWithParam;
import org.bukkit.Bukkit;
import org.bukkit.Location;
import org.bukkit.entity.ArmorStand;
import org.bukkit.entity.Entity;
import org.bukkit.potion.PotionEffect;
import org.bukkit.potion.PotionEffectType;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import java.util.Random;
public class RiftCalculator {
public long timeDamage;
public double heartsDamage;
@Getter
private RiftPlayer player;
@Getter
private SkyblockEntity entity;
@Getter
private Action action;
private boolean isDone = false;
public void damagePlayer(SkyblockEntity entity, RiftPlayer player) {
damagePlayer(entity, player, 0);
}
public void damagePlayer(@Nullable SkyblockEntity entity, @NotNull RiftPlayer player, int extraHeartDamage) {
Assert.notNull(player, "Player is not allowed to be null!");
if (entity == null) action = Action.PlayerSelfe;
else action = Action.EntityToPlayer;
this.entity = entity;
this.player = player;
timeDamage = (entity != null) ? entity.getRiftTimeDamage() : 0;
heartsDamage = ((entity != null) ? entity.getRiftDamage() : 0) + extraHeartDamage;
}
public void damageEntity(SkyblockEntity entity, RiftPlayer player) {
damageEntity(entity, player, 0);
}
public void damageEntity(SkyblockEntity entity, RiftPlayer player, int extraHeartDamage) {
Assert.notNull(entity, "Entity is not allowed to be null!");
if (player == null) action = Action.EntitySelfe;
else action = Action.PlayerToEntity;
this.entity = entity;
this.player = player;
timeDamage = 0;
heartsDamage = ((player != null) ? Main.getPlayerStat(player, Stats.RiftDamage) : 0) + extraHeartDamage;
}
public void execute() {
RiftCalculatorEvent event = new RiftDamageEvent(this);
Bukkit.getPluginManager().callEvent(event);
if (event.isCancelled()) return;
if (action == Action.PlayerToEntity && entity instanceof FinalDamageDesider fdd)
heartsDamage = fdd.getFinalDamage(player, heartsDamage);
isDone = true;
System.out.println("do: " + heartsDamage);
action.run(event);
isDone = false;
}
public void spawnTag(SkyblockEntity entity, String str) {
Entity e = entity.getEntity();
spawnTag(new Location(e.getWorld(), e.getLocation().getX(), e.getLocation().getY() + 0.7, e.getLocation().getZ()), str);
}
public void spawnTag(Entity e, String str) {
spawnTag(new Location(e.getWorld(), e.getLocation().getX(), e.getLocation().getY() + 0.7, e.getLocation().getZ()), str);
}
public void spawnTag(Location loc, String str) {
loc = loc.clone().add(new Random().nextDouble(0.4) - 0.2, new Random().nextDouble(0.4) - 0.2, new Random().nextDouble(0.4) - 0.2);
ArmorStand stand = loc.getWorld().spawn(loc, ArmorStand.class, armorstand -> {
armorstand.setVisible(false);
armorstand.setGravity(false);
armorstand.setMarker(true);
armorstand.setCustomNameVisible(true);
armorstand.setInvulnerable(true);
armorstand.setCustomName("§7" + str);
armorstand.addPotionEffect(new PotionEffect(PotionEffectType.FIRE_RESISTANCE, 999999, 999999));
armorstand.addScoreboardTag("damage_tag");
armorstand.setArms(false);
armorstand.setBasePlate(false);
});
Main.getMain().killarmorstand(stand);
}
public enum Action implements RunnableWithParam<RiftCalculatorEvent> {
PlayerToEntity() {
@Override
public void run(RiftCalculatorEvent event) {
if (!event.getCalculator().isDone)
throw new IllegalCallerException("Not allowed to call this before the calculation is done!");
event.getCalculator().entity.damage(event.getCalculator().heartsDamage * event.getMultiplier(), event.getCalculator().getPlayer());
if (event.getCalculator().heartsDamage > 0)
event.getCalculator().spawnTag(event.getCalculator().getEntity().getEntity(), String.format("%.0f", event.getCalculator().heartsDamage));
if (event.getCalculator().getEntity().getHealth() <= 0)
SkyblockEntity.killEntity(event.getCalculator().getEntity(), event.getCalculator().getPlayer());
Main.updateentitystats(event.getCalculator().getEntity().getEntity());
}
},
EntityToPlayer {
@Override
public void run(RiftCalculatorEvent event) {
if (!event.getCalculator().isDone)
throw new IllegalCallerException("Not allowed to call this before the calculation is done!");
if (event.getCalculator().heartsDamage != 0) {
event.getCalculator().player.setHealth(Math.max(0, event.getCalculator().player.getHealth() - (event.getCalculator().heartsDamage * event.getMultiplier() * 2)), HealthChangeReason.Damage);
event.getCalculator().player.damage(0.1, event.getCalculator().entity.getEntity());
}
event.getCalculator().player.subtractRiftTime(event.getCalculator().timeDamage);
if (event.getCalculator().heartsDamage > 0)
event.getCalculator().spawnTag(event.getCalculator().getPlayer(), String.format("%.0f", event.getCalculator().heartsDamage));
if (event.getCalculator().timeDamage > 0)
event.getCalculator().spawnTag(event.getCalculator().getPlayer(), "§a" + event.getCalculator().timeDamage);
}
}, PlayerSelfe {
@Override
public void run(RiftCalculatorEvent event) {
if (!event.getCalculator().isDone)
throw new IllegalCallerException("Not allowed to call this before the calculation is done!");
if (event.getCalculator().heartsDamage != 0)
event.getCalculator().player.damage(event.getCalculator().heartsDamage * 2 * event.getMultiplier());
event.getCalculator().player.subtractRiftTime(event.getCalculator().timeDamage);
if (event.getCalculator().heartsDamage > 0)
event.getCalculator().spawnTag(event.getCalculator().getPlayer(), String.format("%.0f", event.getCalculator().heartsDamage));
if (event.getCalculator().timeDamage > 0)
event.getCalculator().spawnTag(event.getCalculator().getPlayer(), "§a" + event.getCalculator().timeDamage);
}
}, EntitySelfe {
@Override
public void run(RiftCalculatorEvent event) {
PlayerToEntity.run(event);
}
}
}
}
| 7,501
|
Java
|
.java
|
CarsCupcake/SkyblockRemake
| 20
| 4
| 1
|
2022-11-04T14:49:21Z
|
2024-04-27T16:45:46Z
|
6695eea880c233e9215f2520989de46280b36a658a48a9dbe75272dee8f67aaf
|
[
1337,
616,
51,
72,
4207,
47068,
37222,
51,
22627,
1540,
2798,
1082,
51,
316,
1904,
51,
7690,
64,
222,
222,
485,
13243,
51,
11722,
64,
222,
485,
616,
51,
72,
4207,
47068,
37222,
51,
22627,
1540,
2798,
1082,
51,
2571,
51,
10038,
1810,
10457,
64,
222,
485,
616,
51,
72,
4207,
47068,
37222,
51,
22627,
1540,
2798,
1082,
51,
4370,
64,
222,
485,
616,
51,
72,
4207,
47068,
37222,
51,
22627,
1540,
2798,
1082,
51,
22627,
1540,
51,
9795,
15022,
1466,
1411,
64,
222,
485,
616,
51,
72,
4207,
47068,
37222,
51,
22627,
1540,
2798,
1082,
51,
22627,
1540,
51,
22627,
1540,
2234,
64,
222,
485,
616,
51,
72,
4207,
47068,
37222,
51,
22627,
1540,
2798,
1082,
51,
22627,
1540,
51,
5779,
64,
222,
485,
616,
51,
72,
4207,
47068,
37222,
51,
22627,
1540,
2798,
1082,
51,
316,
1904,
51,
7690,
51,
5070,
51,
87,
2064,
18587,
1167,
64,
222,
485,
616,
51,
72,
4207,
47068,
37222,
51,
22627,
1540,
2798,
1082,
51,
316,
1904,
51,
7690,
51,
5070,
51,
87,
2064,
15022,
1167,
64,
222,
485,
616,
51,
72,
4207,
47068,
37222,
51,
22627,
1540,
2798,
1082,
51,
2324,
51,
3285,
64,
222,
485,
616,
51,
72,
4207,
47068,
37222,
51,
22627,
1540,
2798,
1082,
51,
2324,
51,
1967,
9382,
51,
17695,
1569,
3196,
64,
222,
485,
1105,
51,
20402,
51,
982,
17120,
64,
222,
485,
1105,
51,
20402,
51,
2941,
64,
222,
485,
1105,
51,
20402,
51,
2244,
51,
32174,
19399,
64,
222,
485,
1105,
51,
20402,
51,
2244,
51,
2234,
64,
222,
485,
1105,
51,
20402,
51,
117,
5838,
51,
85,
5838,
5572,
64,
222,
485,
1105,
51,
20402,
51,
117,
5838,
51,
85,
5838,
5572,
638,
64,
222,
485,
1105,
51,
15575,
51,
8839,
51,
4936,
64,
222,
485,
1105,
51,
15575,
51,
8839,
51,
6825,
64,
222,
222,
485,
1401,
51,
1058,
51,
6124,
64,
222,
222,
942,
462,
578,
2064,
18587,
320,
303,
581,
1964,
1153,
15022,
64,
303,
581,
2082,
19197,
120,
15022,
64,
303,
496,
11722,
303,
964,
578,
2064,
3516,
4376,
64,
303,
496,
11722,
303,
964,
34606,
1540,
2234,
4436,
64,
303,
496,
11722,
303,
964,
5255,
2146,
64,
303,
964,
1922,
458,
9114,
299,
920,
64,
465,
581,
782,
13676,
3516,
45,
22627,
1540,
2234,
4436,
49,
578,
2064,
3516,
4376,
46,
320,
310,
13676,
3516,
45,
2244,
49,
4376,
49,
244,
53,
312,
303,
339,
465,
581,
782,
13676,
3516,
4810,
6825,
34606,
1540,
2234,
4436,
49,
496,
4936,
578,
2064,
3516,
4376,
49,
648,
6737,
22338,
15022,
46,
320,
310,
3187,
51,
28872,
45,
3857,
49,
332,
3516,
458,
666,
6671,
391,
545,
762,
9318,
310,
434,
327,
2244,
630,
762,
46,
2146,
299,
5255,
51,
3516,
15475,
1247,
64,
310,
832,
2146,
299,
5255,
51,
2234,
724,
3516,
64,
310,
477,
51,
2244,
299,
4436,
64,
310,
477,
51,
3857,
299,
4376,
64,
310,
1153,
15022,
299,
327,
2244,
882,
762,
46,
1037,
4436,
51,
43850,
2064,
1061,
15022,
365,
518,
244,
53,
64,
310,
19197,
120,
15022,
299,
1849,
2244,
882,
762,
46,
1037,
4436,
51,
43850,
2064,
15022,
365,
518,
244,
53,
46,
494,
6737,
22338,
15022,
64,
303,
339,
465,
581,
782,
13676,
2234,
45,
22627,
1540,
2234,
4436,
49,
578,
2064,
3516,
4376,
46,
320,
310,
13676,
2234,
45,
2244,
49,
4376,
49,
244,
53,
312,
303,
339,
465,
581,
782,
13676,
2234,
45,
22627,
1540,
2234,
4436,
49,
578,
2064,
3516,
4376,
49,
648,
6737,
22338,
15022,
46,
320,
310,
3187,
51,
28872,
45,
2244,
49,
332,
2234,
458,
666,
6671,
391,
545,
762,
9318,
310,
434,
327,
3857,
630,
762,
46,
2146,
299,
5255,
51,
2234,
15475,
1247,
64,
310,
832,
2146,
299,
5255,
51,
3516,
724,
2234,
64,
310,
477,
51,
2244,
299,
4436,
64,
310,
477,
51,
3857,
299,
4376,
64,
310,
1153,
15022,
299,
244,
53,
64,
310,
19197,
120,
15022,
299,
1849,
3857,
882,
762,
46,
1037,
6697,
51,
32872,
5952,
45,
3857,
49,
23261,
51,
87,
2064,
15022,
46,
518,
244,
53,
46,
494,
6737,
22338,
15022,
64,
303,
339,
465,
581,
782,
5755,
365,
320,
310,
578,
2064,
18587,
1167,
1708,
299,
556,
578,
2064,
15022,
1167,
45,
597,
312,
310,
2755,
17120,
51,
390,
43417,
941,
1872,
1167,
45,
1585,
312,
310,
434,
327,
1585,
51,
316,
23092,
1177,
461,
64,
310,
434,
327,
1160,
630,
5255,
51,
3516,
724,
2234,
979,
4436,
5118,
11929,
15022,
1466,
1411,
315,
601,
46,
343,
19197,
120,
15022,
299,
315,
601,
51,
390,
9795,
15022,
45,
3857,
49,
19197,
120,
15022,
312,
310,
458,
9114,
299,
878,
64,
310,
1189,
51,
560,
51,
3962,
459,
1428,
63,
332,
494,
19197,
120,
15022,
312,
310,
2146,
51,
1967,
45,
1585,
312,
310,
458,
9114,
299,
920,
64,
303,
339,
465,
581,
782,
16609,
2649,
45,
22627,
1540,
2234,
4436,
49,
910,
615,
46,
320,
310,
7276,
503,
299,
4436,
51,
23258,
492,
310,
16609,
2649,
45,
909,
10642,
45,
106,
51,
390,
6719,
1046,
503,
51,
26716,
941,
18807,
1046,
503,
51,
26716,
941,
20421,
365,
494,
244,
53,
51,
60,
49,
503,
51,
26716,
941,
40500,
6198,
615,
312,
303,
339,
465,
581,
782,
16609,
2649,
45,
2234,
503,
49,
910,
615,
46,
320,
310,
16609,
2649,
45,
909,
10642,
45,
106,
51,
390,
6719,
1046,
503,
51,
26716,
941,
18807,
1046,
503,
51,
26716,
941,
20421,
365,
494,
244,
53,
51,
60,
49,
503,
51,
26716,
941,
40500,
6198,
615,
312,
303,
339,
465,
581,
782,
16609,
2649,
45,
2941,
2600,
49,
910,
615,
46,
320,
310,
2600,
299,
2600,
51,
6371,
941,
688,
45,
909,
9607,
941,
1995,
4090,
45,
53,
51,
57,
46,
449,
244,
53,
51,
55,
49,
556,
9607,
941,
1995,
4090,
45,
53,
51,
57,
46,
449,
244,
53,
51,
55,
49,
556,
9607,
941,
1995,
4090,
45,
53,
51,
57,
46,
449,
244,
53,
51,
55,
312,
310,
29009,
290,
19399,
14031,
299,
2600,
51,
390,
6719,
941,
15709,
45,
901,
49,
29009,
290,
19399,
51,
842,
49,
14864,
290,
5382,
984,
320,
343,
14864,
290,
5382,
51,
18215,
45,
1886,
312,
343,
14864,
290,
5382,
51,
489,
27025,
45,
1886,
312,
343,
14864,
290,
5382,
51,
489,
11126,
45,
1527,
312,
343,
14864,
290,
5382,
51,
489,
3414,
577,
5671,
45,
1527,
312,
343,
14864,
290,
5382,
51,
489,
6358,
13023,
463,
45,
1527,
312,
343,
14864,
290,
5382,
51,
489,
3414,
577,
459,
33338,
60,
39,
494,
615,
312,
343,
14864,
290,
5382,
51,
688,
85,
5838,
5572,
45,
909,
466,
5838,
5572,
45,
85,
5838,
5572,
638,
51,
37352,
100,
632,
31815,
6316,
49,
244,
62,
62,
62,
62,
62,
62,
49,
244,
62,
62,
62,
62,
62,
62,
894,
343,
14864,
290,
5382,
51,
688,
7066,
2207,
2649,
459,
23937,
100,
2159,
742,
343,
14864,
290,
5382,
51,
489,
3437,
893,
45,
1886,
312,
343,
14864,
290,
5382,
51,
489,
1778,
36407,
45,
1886,
312,
310,
1141,
310,
6697,
51,
390,
4370,
941,
14043,
44423,
5382,
45,
5382,
312,
303,
339,
465,
581,
3858,
5255,
4584,
18662,
1569,
3196,
65,
87,
2064,
18587,
1167,
67,
320,
310,
9306,
724,
2234,
365,
320,
343,
496,
1806,
343,
581,
782,
1441,
45,
87,
2064,
18587,
1167,
1708,
46,
320,
419,
434,
1445,
1585,
51,
390,
18587,
941,
316,
9114,
46,
547,
1440,
556,
8961,
19735,
1002,
459,
1355,
6671,
391,
1495,
477,
2688,
341,
17751,
458,
3412,
9318,
419,
1708,
51,
390,
18587,
941,
2244,
51,
23937,
45,
1585,
51,
390,
18587,
941,
15894,
120,
15022,
338,
1708,
51,
390,
24185,
1046,
1708,
51,
390,
18587,
941,
32872,
1052,
419,
434,
327,
1585,
51,
390,
18587,
941,
15894,
120,
15022,
868,
244,
53,
46,
547,
1708,
51,
390,
18587,
941,
15709,
2649,
45,
1585,
51,
390,
18587,
941,
23258,
941,
23258,
1046,
910,
51,
1664,
4923,
51,
53,
107,
411,
1708,
51,
390,
18587,
941,
15894,
120,
15022,
894,
419,
434,
327,
1585,
51,
390,
18587,
941,
23258,
941,
390,
10038,
365,
2527,
244,
53,
46,
547,
34606,
1540,
2234,
51,
14043,
2234,
45,
1585,
51,
390,
18587,
941,
23258,
1046,
1708,
51,
390,
18587,
941,
32872,
1052,
419,
6697,
51,
1896,
2244,
5170,
45,
1585,
51,
390,
18587,
941,
23258,
941,
23258,
1052,
343,
339,
310,
820,
310,
7276,
724,
3516,
320,
343,
496,
1806,
343,
581,
782,
1441,
45,
87,
2064,
18587,
1167,
1708,
46,
320,
419,
434,
1445,
1585,
51,
390,
18587,
941,
316,
9114,
46,
547,
1440,
556,
8961,
19735,
1002,
459,
1355,
6671,
391,
1495,
477,
2688,
341,
17751,
458,
3412,
9318,
419,
434,
327,
1585,
51,
390,
18587,
941,
15894,
120,
15022,
882,
244,
53,
46,
320,
547,
1708,
51,
390,
18587,
941,
3857,
51,
489,
10038,
45,
5728,
51,
1472,
45,
53,
49,
1708,
51,
390,
18587,
941,
3857,
51,
390,
10038,
365,
449,
327,
1585,
51,
390,
18587,
941,
15894,
120,
15022,
338,
1708,
51,
390,
24185,
365,
338,
244,
55,
3684,
19256,
1810,
10457,
51,
15022,
312,
547,
1708,
51,
390,
18587,
941,
3857,
51,
23937,
45,
53,
51,
54,
49,
1708,
51,
390,
18587,
941,
2244,
51,
23258,
1052,
419,
339,
419,
1708,
51,
390,
18587,
941,
3857,
51,
25340,
87,
2064,
1061,
45,
1585,
51,
390,
18587,
941,
1021,
15022,
312,
419,
434,
327,
1585,
51,
390,
18587,
941,
15894,
120,
15022,
868,
244,
53,
46,
547,
1708,
51,
390,
18587,
941,
15709,
2649,
45,
1585,
51,
390,
18587,
941,
32872,
1046,
910,
51,
1664,
4923,
51,
53,
107,
411,
1708,
51,
390,
18587,
941,
15894,
120,
15022,
894,
419,
434,
327,
1585,
51,
390,
18587,
941,
1021,
15022,
868,
244,
53,
46,
547,
1708,
51,
390,
18587,
941,
15709,
2649,
45,
1585,
51,
390,
18587,
941,
32872,
1046,
332,
33338,
102,
39,
494,
1708,
51,
390,
18587,
941,
1021,
15022,
312,
343,
339,
310,
820,
9306,
15475,
1247,
320,
343,
496,
1806,
343,
581,
782,
1441,
45,
87,
2064,
18587,
1167,
1708,
46,
320,
419,
434,
1445,
1585,
51,
390,
18587,
941,
316,
9114,
46,
547,
1440,
556,
8961,
19735,
1002,
459,
1355,
6671,
391,
1495,
477,
2688,
341,
17751,
458,
3412,
9318,
419,
434,
327,
1585,
51,
390,
18587,
941,
15894,
120,
15022,
882,
244,
53,
46,
547,
1708,
51,
390,
18587,
941,
3857,
51,
23937,
45,
1585,
51,
390,
18587,
941,
15894,
120,
15022,
338,
244,
55,
338,
1708,
51,
390,
24185,
1052,
419,
1708,
51,
390,
18587,
941,
3857,
51,
25340,
87,
2064,
1061,
45,
1585,
51,
390,
18587,
941,
1021,
15022,
312,
419,
434,
327,
1585,
51,
390,
18587,
941,
15894,
120,
15022,
868,
244,
53,
46,
547,
1708,
51,
390,
18587,
941,
15709,
2649,
45,
1585,
51,
390,
18587,
941,
32872,
1046,
910,
51,
1664,
4923,
51,
53,
107,
411,
1708,
51,
390,
18587,
941,
15894,
120,
15022,
894,
419,
434,
327,
1585,
51,
390,
18587,
941,
1021,
15022,
868,
244,
53,
46,
547,
1708,
51,
390,
18587,
941,
15709,
2649,
45,
1585,
51,
390,
18587,
941,
32872,
1046,
332,
33338,
102,
39,
494,
1708,
51,
390,
18587,
941,
1021,
15022,
312,
343,
339,
310,
820,
7276,
15475,
1247,
320,
343,
496,
1806,
343,
581,
782,
1441,
45,
87,
2064,
18587,
1167,
1708,
46,
320,
419,
9306,
724,
2234,
51,
1967,
45,
1585,
312,
343,
339,
310,
339,
303,
339,
222,
130,
222
] |
[
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1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
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 1,873
| true
| 65.004001
| true
| true
|
FifoQueue.java
|
/FileExtraction/Java_unseen/ZabinX_DuskRPG/DuskFiles/Dusk3.0.1/src/in/groan/dusk/util/FifoQueue.java
|
package in.groan.dusk.util;
public class FifoQueue extends Object
{
private long lNumEntries;
private QueueObject head = null;
private QueueObject tail = null;
public FifoQueue()
{
lNumEntries = 0;
}
public synchronized boolean isEmpty()
{
return (head==null);
}
public synchronized long size()
{
return lNumEntries;
}
public synchronized QueueObject head()
{
return head;
}
public synchronized Object firstElement()
{
if (head == null)
{
return null;
}
return head.getObject();
}
public synchronized void push(Object o)
{
QueueObject qo = new QueueObject(o);
if (head == null)
{
head = qo;
tail = qo;
} else
{
tail.append(qo);
tail = qo;
}
lNumEntries++;
notify();
}
public synchronized Object pop()
{
while (head==null)
{
try
{
wait();
} catch (InterruptedException e) { }
}
QueueObject qo = head;
head = head.remove();
if (head == null)
{
tail = null;
}
lNumEntries--;
return qo.getObject();
}
}
| 1,088
|
Java
|
.java
|
ZabinX/DuskRPG
| 33
| 10
| 0
|
2012-11-18T11:26:06Z
|
2024-03-07T01:42:13Z
|
696c4f0ce8911c7ad3dda44bff8ddef637c72f6b1935b6007fe420afecc8b2c2
|
[
1337,
347,
51,
14156,
297,
51,
105,
371,
112,
51,
1058,
64,
222,
222,
942,
462,
525,
13851,
4098,
2041,
2210,
222,
128,
222,
221,
2072,
1964,
475,
2585,
9917,
64,
222,
221,
2072,
14317,
976,
5783,
299,
762,
64,
222,
221,
2072,
14317,
976,
13249,
299,
762,
64,
499,
221,
942,
525,
13851,
4098,
365,
222,
221,
128,
376,
221,
113,
2585,
9917,
299,
244,
53,
64,
222,
221,
130,
499,
221,
942,
13436,
1922,
29059,
365,
222,
221,
128,
376,
221,
620,
327,
1843,
398,
1710,
312,
222,
221,
130,
499,
221,
942,
13436,
1964,
1354,
365,
222,
221,
128,
376,
221,
620,
475,
2585,
9917,
64,
222,
221,
130,
499,
221,
942,
13436,
14317,
976,
5783,
365,
222,
221,
128,
376,
221,
620,
5783,
64,
222,
221,
130,
499,
221,
942,
13436,
2210,
1950,
1325,
365,
222,
221,
128,
376,
221,
344,
327,
1843,
630,
762,
46,
376,
221,
128,
374,
221,
620,
762,
64,
376,
221,
130,
376,
221,
620,
5783,
51,
19717,
492,
222,
221,
130,
499,
221,
942,
13436,
782,
5849,
45,
976,
356,
46,
222,
221,
128,
376,
221,
4098,
976,
2706,
116,
299,
556,
14317,
976,
45,
116,
312,
1332,
221,
344,
327,
1843,
630,
762,
46,
376,
221,
128,
374,
221,
1843,
299,
2706,
116,
64,
374,
221,
9836,
299,
2706,
116,
64,
376,
221,
130,
832,
376,
221,
128,
374,
221,
9836,
51,
1713,
45,
34151,
312,
374,
221,
9836,
299,
2706,
116,
64,
376,
221,
130,
376,
221,
113,
2585,
9917,
3348,
376,
221,
9357,
492,
222,
221,
130,
499,
221,
942,
13436,
2210,
4742,
365,
222,
221,
128,
376,
221,
5544,
327,
1843,
398,
1710,
46,
376,
221,
128,
374,
221,
1287,
374,
221,
128,
621,
221,
1702,
492,
374,
221,
130,
2385,
327,
28321,
503,
46,
320,
339,
376,
221,
130,
376,
221,
4098,
976,
2706,
116,
299,
5783,
64,
376,
221,
1843,
299,
5783,
51,
2564,
492,
376,
221,
344,
327,
1843,
630,
762,
46,
376,
221,
128,
374,
221,
9836,
299,
762,
64,
376,
221,
130,
376,
221,
113,
2585,
9917,
10606,
376,
221,
620,
2706,
116,
51,
19717,
492,
222,
221,
130,
222,
130,
222
] |
[
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 361
| true
| 62.463054
| true
| true
|
ReplTests.java
|
/FileExtraction/Java_unseen/wyvernlang_wyvern/tools/src/wyvern/tools/tests/ReplTests.java
|
package wyvern.tools.tests;
import static org.junit.Assert.assertEquals;
import org.junit.Test;
import wyvern.tools.REPL;
import wyvern.tools.parsing.coreparser.ParseException;
public class ReplTests {
private REPL repl = new REPL();
@Test
public void testAnonymous() throws ParseException {
repl.interpretREPL("reset");
String input = "((x: Int) => x)(3)";
String v = repl.interpretREPL(input);
// REPL.interpret("exit");
assertEquals(v, "3");
}
@Test
public void testVarREPL() throws ParseException {
repl.interpretREPL("reset");
String input = "var y:Int = 5";
String input1 = "y";
repl.interpretREPL(input);
String v = repl.interpretREPL(input1);
assertEquals(v, "5");
}
@Test
public void testValREPL() throws ParseException {
repl.interpretREPL("reset");
String input = "val v = 6";
String input1 = "v";
repl.interpretREPL(input);
String v = repl.interpretREPL(input1);
assertEquals(v, "6");
}
@Test
public void testFunction() throws ParseException {
repl.interpretREPL("reset");
String input = "def factorial(n:Int):Int";
String input1 = " (n < 2).ifTrue(";
String input2 = " () => 1,";
String input3 = " () => n * factorial(n-1)";
String input4 = ")";
repl.interpretREPL(input);
repl.interpretREPL(input1);
repl.interpretREPL(input2);
repl.interpretREPL(input3);
repl.interpretREPL(input4);
String v = repl.interpretREPL("factorial(6)");
assertEquals(v, "720");
}
@Test
public void testVarVal() throws ParseException {
repl.interpretREPL("reset");
String input = "var c:Int = 33";
String input1 = "val v = 22";
repl.interpretREPL(input);
repl.interpretREPL(input1);
String v = repl.interpretREPL("c");
String v1 = repl.interpretREPL("v");
assertEquals(v, "33");
assertEquals(v1, "22");
}
@Test
public void testValVar() throws ParseException {
repl.interpretREPL("reset");
String input = "var c:Int = 33";
String input1 = "val v = 22";
repl.interpretREPL(input);
repl.interpretREPL(input1);
String v = repl.interpretREPL("c");
String v1 = repl.interpretREPL("v");
assertEquals(v, "33");
assertEquals(v1, "22");
}
@Test
public void testObj() throws ParseException {
repl.interpretREPL("reset");
String input = "val obj = new";
String input1 = " def getValue():Int";
String input2 = " 5";
String input3 = "";
String input4 = "";
repl.interpretREPL(input);
repl.interpretREPL(input1);
repl.interpretREPL(input2);
repl.interpretREPL(input3);
repl.interpretREPL(input4);
String v1 = repl.interpretREPL("obj.getValue()");
assertEquals(v1, "5");
}
@Test
public void testModule() throws ParseException {
repl.interpretREPL("reset");
String input = "resource type TCellAsModule";
String input1 = " def get():Int";
String input2 = " def set(newValue:Int):Unit";
String input3 = "";
String input4 = "";
String input5 = "module def cellAsModule():TCellAsModule";
String input6 = "var value : Int = 0";
String input7 = "def set(newValue:Int):Unit";
String input8 = " value = newValue";
String input9 = "def get():Int = value";
String input10 = "";
String input11 = "";
String input12 = "val c = cellAsModule()";
String input13 = "c.set(34)";
repl.interpretREPL(input);
repl.interpretREPL(input1);
repl.interpretREPL(input2);
repl.interpretREPL(input3);
repl.interpretREPL(input4);
repl.interpretREPL(input5);
repl.interpretREPL(input6);
repl.interpretREPL(input7);
repl.interpretREPL(input8);
repl.interpretREPL(input9);
repl.interpretREPL(input10);
repl.interpretREPL(input11);
repl.interpretREPL(input12);
repl.interpretREPL(input13);
String v1 = repl.interpretREPL("c.get()");
assertEquals(v1, "34");
}
}
| 4,397
|
Java
|
.java
|
wyvernlang/wyvern
| 551
| 70
| 63
|
2012-09-11T15:17:20Z
|
2023-02-12T05:57:06Z
|
b07ecd58967f9eaf404eacb2f8227270995e0f4fa2b5bc3fa67228044c4eae69
|
[
1337,
13916,
443,
115,
51,
4303,
51,
4895,
64,
222,
222,
485,
924,
1105,
51,
3946,
51,
3285,
51,
4993,
64,
222,
222,
485,
1105,
51,
3946,
51,
1024,
64,
222,
222,
485,
13916,
443,
115,
51,
4303,
51,
42432,
64,
222,
485,
13916,
443,
115,
51,
4303,
51,
26778,
51,
1284,
3936,
51,
26004,
64,
222,
222,
942,
462,
922,
576,
4485,
320,
303,
964,
45173,
21175,
299,
556,
45173,
492,
465,
496,
1024,
303,
581,
782,
913,
25521,
365,
2589,
33848,
320,
310,
21175,
51,
10872,
42432,
459,
4558,
742,
310,
910,
1533,
299,
332,
1181,
125,
63,
2871,
46,
551,
837,
2516,
56,
15534,
310,
910,
373,
299,
21175,
51,
10872,
42432,
45,
1151,
312,
310,
453,
45173,
51,
10872,
459,
4788,
742,
310,
3803,
45,
123,
49,
332,
56,
742,
303,
339,
465,
496,
1024,
303,
581,
782,
913,
1901,
42432,
365,
2589,
33848,
320,
310,
21175,
51,
10872,
42432,
459,
4558,
742,
310,
910,
1533,
299,
332,
887,
553,
63,
1438,
299,
244,
58,
884,
310,
910,
1533,
54,
299,
332,
126,
884,
310,
21175,
51,
10872,
42432,
45,
1151,
312,
310,
910,
373,
299,
21175,
51,
10872,
42432,
45,
1151,
54,
312,
310,
3803,
45,
123,
49,
332,
58,
742,
303,
339,
465,
496,
1024,
303,
581,
782,
913,
1420,
42432,
365,
2589,
33848,
320,
310,
21175,
51,
10872,
42432,
459,
4558,
742,
310,
910,
1533,
299,
332,
718,
373,
299,
244,
59,
884,
310,
910,
1533,
54,
299,
332,
123,
884,
310,
21175,
51,
10872,
42432,
45,
1151,
312,
310,
910,
373,
299,
21175,
51,
10872,
42432,
45,
1151,
54,
312,
310,
3803,
45,
123,
49,
332,
59,
742,
303,
339,
465,
496,
1024,
303,
581,
782,
913,
2466,
365,
2589,
33848,
320,
310,
21175,
51,
10872,
42432,
459,
4558,
742,
310,
910,
1533,
299,
332,
610,
10384,
583,
45,
115,
63,
1438,
731,
1438,
884,
310,
910,
1533,
54,
299,
332,
280,
327,
115,
350,
244,
55,
566,
344,
1844,
45336,
310,
910,
1533,
55,
299,
332,
981,
1423,
551,
244,
54,
49,
884,
310,
910,
1533,
56,
299,
332,
981,
1423,
551,
329,
338,
10384,
583,
45,
115,
50,
54,
15534,
310,
910,
1533,
57,
299,
34305,
310,
21175,
51,
10872,
42432,
45,
1151,
312,
310,
21175,
51,
10872,
42432,
45,
1151,
54,
312,
310,
21175,
51,
10872,
42432,
45,
1151,
55,
312,
310,
21175,
51,
10872,
42432,
45,
1151,
56,
312,
310,
21175,
51,
10872,
42432,
45,
1151,
57,
312,
310,
910,
373,
299,
21175,
51,
10872,
42432,
459,
9454,
583,
45,
59,
13365,
310,
3803,
45,
123,
49,
332,
60,
55,
53,
742,
303,
339,
465,
496,
1024,
303,
581,
782,
913,
1901,
1420,
365,
2589,
33848,
320,
310,
21175,
51,
10872,
42432,
459,
4558,
742,
310,
910,
1533,
299,
332,
887,
300,
63,
1438,
299,
244,
56,
56,
884,
310,
910,
1533,
54,
299,
332,
718,
373,
299,
244,
55,
55,
884,
310,
21175,
51,
10872,
42432,
45,
1151,
312,
310,
21175,
51,
10872,
42432,
45,
1151,
54,
312,
310,
910,
373,
299,
21175,
51,
10872,
42432,
459,
104,
742,
310,
910,
373,
54,
299,
21175,
51,
10872,
42432,
459,
123,
742,
310,
3803,
45,
123,
49,
332,
56,
56,
742,
310,
3803,
45,
123,
54,
49,
332,
55,
55,
742,
303,
339,
465,
496,
1024,
303,
581,
782,
913,
1420,
1901,
365,
2589,
33848,
320,
310,
21175,
51,
10872,
42432,
459,
4558,
742,
310,
910,
1533,
299,
332,
887,
300,
63,
1438,
299,
244,
56,
56,
884,
310,
910,
1533,
54,
299,
332,
718,
373,
299,
244,
55,
55,
884,
310,
21175,
51,
10872,
42432,
45,
1151,
312,
310,
21175,
51,
10872,
42432,
45,
1151,
54,
312,
310,
910,
373,
299,
21175,
51,
10872,
42432,
459,
104,
742,
310,
910,
373,
54,
299,
21175,
51,
10872,
42432,
459,
123,
742,
310,
3803,
45,
123,
49,
332,
56,
56,
742,
310,
3803,
45,
123,
54,
49,
332,
55,
55,
742,
303,
339,
2205,
496,
1024,
303,
581,
782,
913,
3287,
365,
2589,
33848,
320,
310,
21175,
51,
10872,
42432,
459,
4558,
742,
310,
910,
1533,
299,
332,
718,
2847,
299,
556,
884,
310,
910,
1533,
54,
299,
332,
283,
684,
21517,
2284,
1438,
884,
310,
910,
1533,
55,
299,
332,
282,
58,
884,
310,
910,
1533,
56,
299,
5127,
310,
910,
1533,
57,
299,
5127,
310,
21175,
51,
10872,
42432,
45,
1151,
312,
310,
21175,
51,
10872,
42432,
45,
1151,
54,
312,
310,
21175,
51,
10872,
42432,
45,
1151,
55,
312,
310,
21175,
51,
10872,
42432,
45,
1151,
56,
312,
310,
21175,
51,
10872,
42432,
45,
1151,
57,
312,
310,
910,
373,
54,
299,
21175,
51,
10872,
42432,
459,
2085,
51,
6693,
33942,
310,
3803,
45,
123,
54,
49,
332,
58,
742,
303,
339,
2205,
496,
1024,
303,
581,
782,
913,
2478,
365,
2589,
33848,
320,
310,
21175,
51,
10872,
42432,
459,
4558,
742,
310,
910,
1533,
299,
332,
3157,
847,
413,
2917,
1482,
2478,
884,
310,
910,
1533,
54,
299,
332,
283,
684,
640,
2284,
1438,
884,
310,
910,
1533,
55,
299,
332,
283,
684,
758,
45,
25018,
63,
1438,
731,
3024,
884,
310,
910,
1533,
56,
299,
5127,
310,
910,
1533,
57,
299,
5127,
310,
910,
1533,
58,
299,
332,
1663,
684,
4046,
1482,
2478,
2284,
89,
2917,
1482,
2478,
884,
310,
910,
1533,
59,
299,
332,
887,
804,
518,
2871,
299,
244,
53,
884,
310,
910,
1533,
60,
299,
332,
610,
758,
45,
25018,
63,
1438,
731,
3024,
884,
310,
910,
1533,
61,
299,
332,
283,
804,
299,
17772,
884,
310,
910,
1533,
62,
299,
332,
610,
640,
2284,
1438,
299,
804,
884,
310,
910,
1533,
54,
53,
299,
5127,
310,
910,
1533,
54,
54,
299,
5127,
310,
910,
1533,
54,
55,
299,
332,
718,
300,
299,
4046,
1482,
2478,
365,
884,
310,
910,
1533,
54,
56,
299,
332,
104,
51,
489,
45,
56,
57,
15534,
310,
21175,
51,
10872,
42432,
45,
1151,
312,
310,
21175,
51,
10872,
42432,
45,
1151,
54,
312,
310,
21175,
51,
10872,
42432,
45,
1151,
55,
312,
310,
21175,
51,
10872,
42432,
45,
1151,
56,
312,
310,
21175,
51,
10872,
42432,
45,
1151,
57,
312,
310,
21175,
51,
10872,
42432,
45,
1151,
58,
312,
310,
21175,
51,
10872,
42432,
45,
1151,
59,
312,
310,
21175,
51,
10872,
42432,
45,
1151,
60,
312,
310,
21175,
51,
10872,
42432,
45,
1151,
61,
312,
310,
21175,
51,
10872,
42432,
45,
1151,
62,
312,
310,
21175,
51,
10872,
42432,
45,
1151,
54,
53,
312,
310,
21175,
51,
10872,
42432,
45,
1151,
54,
54,
312,
310,
21175,
51,
10872,
42432,
45,
1151,
54,
55,
312,
310,
21175,
51,
10872,
42432,
45,
1151,
54,
56,
312,
310,
910,
373,
54,
299,
21175,
51,
10872,
42432,
459,
104,
51,
390,
33942,
310,
3803,
45,
123,
54,
49,
332,
56,
57,
742,
303,
339,
8060,
222,
222,
130,
222
] |
[
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 1,131
| true
| 55.56061
| true
| true
|
Field.java
|
/FileExtraction/Java_unseen/todoroo_astrid/api/src/com/todoroo/andlib/sql/Field.java
|
/**
* Copyright (c) 2012 Todoroo Inc
*
* See the file "LICENSE" for the full license governing this code.
*/
package com.todoroo.andlib.sql;
import static com.todoroo.andlib.sql.SqlConstants.AND;
import static com.todoroo.andlib.sql.SqlConstants.BETWEEN;
import static com.todoroo.andlib.sql.SqlConstants.COMMA;
import static com.todoroo.andlib.sql.SqlConstants.LEFT_PARENTHESIS;
import static com.todoroo.andlib.sql.SqlConstants.RIGHT_PARENTHESIS;
import static com.todoroo.andlib.sql.SqlConstants.SPACE;
public class Field extends DBObject<Field> {
protected Field(String expression) {
super(expression);
}
public static Field field(String expression) {
return new Field(expression);
}
public Criterion eq(Object value) {
if(value == null)
return UnaryCriterion.isNull(this);
return UnaryCriterion.eq(this, value);
}
/**
* Adds the criterion that the field must be equal to the given string, ignoring case.
*
* Thanks to a sqlite bug, this will only work for ASCII values.
*
* @param value string which field must equal
* @return the criterion
*/
@SuppressWarnings("nls")
public Criterion eqCaseInsensitive(String value) {
if(value == null)
return UnaryCriterion.isNull(this);
String escaped = value.replace("\\", "\\\\").replace("%", "\\%").replace("_", "\\_");
return UnaryCriterion.like(this, escaped, "\\");
}
public Criterion neq(Object value) {
if(value == null)
return UnaryCriterion.isNotNull(this);
return UnaryCriterion.neq(this, value);
}
public Criterion gt(Object value) {
return UnaryCriterion.gt(this, value);
}
public Criterion gte(Object value) {
return UnaryCriterion.gte(this, value);
}
public Criterion lt(final Object value) {
return UnaryCriterion.lt(this, value);
}
public Criterion lte(final Object value) {
return UnaryCriterion.lte(this, value);
}
public Criterion isNull() {
return UnaryCriterion.isNull(this);
}
public Criterion isNotNull() {
return UnaryCriterion.isNotNull(this);
}
public Criterion between(final Object lower, final Object upper) {
final Field field = this;
return new Criterion(null) {
@Override
protected void populate(StringBuilder sb) {
sb.append(field).append(SPACE).append(BETWEEN).append(SPACE).append(lower).append(SPACE).append(AND)
.append(SPACE).append(upper);
}
};
}
public Criterion like(final String value) {
return UnaryCriterion.like(this, value);
}
public Criterion like(String value, String escape) {
return UnaryCriterion.like(this, value, escape);
}
public <T> Criterion in(final T[] value) {
final Field field = this;
return new Criterion(Operator.in) {
@Override
protected void populate(StringBuilder sb) {
sb.append(field).append(SPACE).append(Operator.in).append(SPACE).append(LEFT_PARENTHESIS).append(SPACE);
for (T t : value) {
sb.append(t.toString()).append(COMMA);
}
sb.deleteCharAt(sb.length() - 1).append(RIGHT_PARENTHESIS);
}
};
}
public Criterion in(final Query query) {
final Field field = this;
return new Criterion(Operator.in) {
@Override
protected void populate(StringBuilder sb) {
sb.append(field).append(SPACE).append(Operator.in).append(SPACE).append(LEFT_PARENTHESIS).append(query)
.append(RIGHT_PARENTHESIS);
}
};
}
}
| 3,818
|
Java
|
.java
|
todoroo/astrid
| 1,076
| 691
| 14
|
2010-05-22T20:26:39Z
|
2020-01-30T20:16:21Z
|
120080a2acb4fd7e15d51617742bb9a966aa8459f050a5f23baa9a8eadc58391
|
[
1350,
222,
338,
2657,
327,
104,
46,
244,
55,
53,
54,
55,
28818,
290,
623,
6367,
222,
338,
222,
338,
2819,
341,
822,
332,
4106,
39,
456,
341,
3559,
3553,
5139,
477,
1361,
51,
222,
588,
222,
1337,
785,
51,
10197,
290,
623,
51,
382,
1379,
51,
2622,
64,
222,
222,
485,
924,
785,
51,
10197,
290,
623,
51,
382,
1379,
51,
2622,
51,
5352,
5238,
51,
3362,
64,
222,
485,
924,
785,
51,
10197,
290,
623,
51,
382,
1379,
51,
2622,
51,
5352,
5238,
51,
71,
36410,
64,
222,
485,
924,
785,
51,
10197,
290,
623,
51,
382,
1379,
51,
2622,
51,
5352,
5238,
51,
47403,
64,
222,
485,
924,
785,
51,
10197,
290,
623,
51,
382,
1379,
51,
2622,
51,
5352,
5238,
51,
10779,
100,
47096,
1797,
39391,
64,
222,
485,
924,
785,
51,
10197,
290,
623,
51,
382,
1379,
51,
2622,
51,
5352,
5238,
51,
6517,
100,
47096,
1797,
39391,
64,
222,
485,
924,
785,
51,
10197,
290,
623,
51,
382,
1379,
51,
2622,
51,
5352,
5238,
51,
13174,
64,
222,
222,
942,
462,
5697,
2041,
4594,
976,
65,
1195,
67,
320,
465,
2532,
5697,
45,
671,
6112,
46,
320,
310,
2615,
45,
7681,
312,
303,
339,
465,
581,
924,
5697,
1620,
45,
671,
6112,
46,
320,
310,
461,
556,
5697,
45,
7681,
312,
303,
339,
465,
581,
409,
12004,
7103,
45,
976,
804,
46,
320,
310,
434,
45,
872,
630,
762,
46,
343,
461,
40263,
18120,
51,
17331,
45,
597,
312,
310,
461,
40263,
18120,
51,
3705,
45,
597,
49,
804,
312,
303,
339,
465,
1041,
294,
338,
15444,
341,
29793,
708,
341,
1620,
2315,
545,
5058,
391,
341,
2716,
821,
49,
32006,
1152,
51,
294,
338,
294,
338,
5659,
391,
331,
17743,
4845,
49,
477,
1118,
1773,
1409,
456,
26686,
2102,
51,
294,
338,
294,
338,
496,
772,
804,
821,
1532,
1620,
2315,
5058,
294,
338,
496,
620,
341,
29793,
294,
588,
303,
496,
14030,
459,
115,
3259,
678,
303,
581,
409,
12004,
7103,
2747,
6916,
10477,
45,
671,
804,
46,
320,
294,
221,
344,
45,
872,
630,
762,
46,
343,
461,
40263,
18120,
51,
17331,
45,
597,
312,
310,
910,
31221,
299,
804,
51,
3249,
22904,
411,
18469,
97,
1508,
566,
3249,
4923,
411,
18469,
42,
1912,
3249,
14719,
411,
18469,
100,
742,
310,
461,
40263,
18120,
51,
6257,
45,
597,
49,
31221,
49,
18469,
742,
303,
339,
465,
581,
409,
12004,
1188,
118,
45,
976,
804,
46,
320,
310,
434,
45,
872,
630,
762,
46,
343,
461,
40263,
18120,
51,
38661,
45,
597,
312,
310,
461,
40263,
18120,
51,
34071,
45,
597,
49,
804,
312,
303,
339,
465,
581,
409,
12004,
15979,
45,
976,
804,
46,
320,
310,
461,
40263,
18120,
51,
1855,
45,
597,
49,
804,
312,
303,
339,
465,
581,
409,
12004,
504,
538,
45,
976,
804,
46,
320,
310,
461,
40263,
18120,
51,
33559,
45,
597,
49,
804,
312,
303,
339,
465,
581,
409,
12004,
22152,
45,
3242,
2210,
804,
46,
320,
310,
461,
40263,
18120,
51,
2176,
45,
597,
49,
804,
312,
303,
339,
465,
581,
409,
12004,
475,
538,
45,
3242,
2210,
804,
46,
320,
310,
461,
40263,
18120,
51,
23795,
45,
597,
49,
804,
312,
303,
339,
465,
581,
409,
12004,
458,
1898,
365,
320,
310,
461,
40263,
18120,
51,
17331,
45,
597,
312,
303,
339,
465,
581,
409,
12004,
458,
4936,
365,
320,
310,
461,
40263,
18120,
51,
38661,
45,
597,
312,
303,
339,
465,
581,
409,
12004,
3761,
45,
3242,
2210,
7245,
49,
1175,
2210,
8373,
46,
320,
310,
1175,
5697,
1620,
299,
477,
64,
310,
461,
556,
409,
12004,
45,
1710,
46,
320,
1083,
496,
1806,
343,
2532,
782,
18985,
45,
20859,
6127,
46,
320,
419,
6127,
51,
1713,
45,
1512,
566,
1713,
45,
13174,
566,
1713,
45,
71,
36410,
566,
1713,
45,
13174,
566,
1713,
45,
5773,
566,
1713,
45,
13174,
566,
1713,
45,
3362,
46,
733,
657,
1713,
45,
13174,
566,
1713,
45,
7647,
312,
343,
339,
310,
1487,
303,
339,
465,
581,
409,
12004,
2144,
45,
3242,
910,
804,
46,
320,
310,
461,
40263,
18120,
51,
6257,
45,
597,
49,
804,
312,
303,
339,
465,
581,
409,
12004,
2144,
45,
671,
804,
49,
910,
15821,
46,
320,
310,
461,
40263,
18120,
51,
6257,
45,
597,
49,
804,
49,
15821,
312,
303,
339,
465,
581,
350,
89,
67,
409,
12004,
347,
45,
3242,
413,
1197,
804,
46,
320,
310,
1175,
5697,
1620,
299,
477,
64,
310,
461,
556,
409,
12004,
45,
7151,
51,
285,
46,
320,
1083,
496,
1806,
343,
2532,
782,
18985,
45,
20859,
6127,
46,
320,
419,
6127,
51,
1713,
45,
1512,
566,
1713,
45,
13174,
566,
1713,
45,
7151,
51,
285,
566,
1713,
45,
13174,
566,
1713,
45,
10779,
100,
47096,
1797,
39391,
566,
1713,
45,
13174,
312,
419,
456,
327,
89,
292,
518,
804,
46,
320,
547,
6127,
51,
1713,
45,
121,
51,
3127,
4269,
1713,
45,
47403,
312,
419,
339,
419,
6127,
51,
2577,
2674,
1094,
45,
5692,
51,
1340,
365,
449,
244,
54,
566,
1713,
45,
6517,
100,
47096,
1797,
39391,
312,
343,
339,
310,
1487,
303,
339,
465,
581,
409,
12004,
347,
45,
3242,
6662,
2487,
46,
320,
310,
1175,
5697,
1620,
299,
477,
64,
310,
461,
556,
409,
12004,
45,
7151,
51,
285,
46,
320,
1083,
496,
1806,
343,
2532,
782,
18985,
45,
20859,
6127,
46,
320,
419,
6127,
51,
1713,
45,
1512,
566,
1713,
45,
13174,
566,
1713,
45,
7151,
51,
285,
566,
1713,
45,
13174,
566,
1713,
45,
10779,
100,
47096,
1797,
39391,
566,
1713,
45,
1234,
46,
733,
657,
1713,
45,
6517,
100,
47096,
1797,
39391,
312,
343,
339,
310,
1487,
303,
339,
222,
130,
222
] |
[
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 935
| true
| 61.786276
| true
| true
|
AddressTypeBase.java
|
/FileExtraction/Java_unseen/taktik_freehealth-connector/src/main/java/org/taktik/connector/business/domain/kmehr/v20130710/be/fgov/ehealth/standards/kmehr/schema/v1/AddressTypeBase.java
|
//
// Ce fichier a été généré par l'implémentation de référence JavaTM Architecture for XML Binding (JAXB), v2.2.8-b130911.1802
// Voir <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Toute modification apportée à ce fichier sera perdue lors de la recompilation du schéma source.
// Généré le : 2015.03.05 à 11:48:09 AM CET
//
package org.taktik.connector.business.domain.kmehr.v20130710.be.fgov.ehealth.standards.kmehr.schema.v1;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
import org.taktik.connector.business.domain.kmehr.v20130710.be.fgov.ehealth.standards.kmehr.cd.v1.CDADDRESS;
import org.taktik.connector.business.domain.kmehr.v20130710.be.fgov.ehealth.standards.kmehr.dt.v1.TextType;
import org.taktik.connector.business.domain.kmehr.v20130710.be.fgov.ehealth.standards.kmehr.id.v1.IDKMEHR;
/**
* <p>Classe Java pour addressTypeBase complex type.
*
* <p>Le fragment de schéma suivant indique le contenu attendu figurant dans cette classe.
*
* <pre>
* <complexType name="addressTypeBase">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="id" type="{http://www.ehealth.fgov.be/standards/kmehr/id/v1}ID-KMEHR" maxOccurs="unbounded" minOccurs="0"/>
* <element name="cd" type="{http://www.ehealth.fgov.be/standards/kmehr/cd/v1}CD-ADDRESS" maxOccurs="unbounded" minOccurs="0"/>
* <choice>
* <element name="text" type="{http://www.ehealth.fgov.be/standards/kmehr/dt/v1}textType" maxOccurs="unbounded" minOccurs="0"/>
* <sequence>
* <element name="country" type="{http://www.ehealth.fgov.be/standards/kmehr/schema/v1}countryType" minOccurs="0"/>
* <element name="zip" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="nis" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="city" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="district" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="street" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="housenumber" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="postboxnumber" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="text" type="{http://www.ehealth.fgov.be/standards/kmehr/dt/v1}textType" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </choice>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "addressTypeBase", propOrder = {
"ids",
"cds",
"country",
"zip",
"nis",
"city",
"district",
"street",
"housenumber",
"postboxnumber",
"texts"
})
@XmlSeeAlso({
AddressType.class
})
public class AddressTypeBase
implements Serializable
{
private final static long serialVersionUID = 20130710L;
@XmlElement(name = "id")
protected List<IDKMEHR> ids;
@XmlElement(name = "cd")
protected List<CDADDRESS> cds;
protected CountryType country;
protected String zip;
protected String nis;
protected String city;
protected String district;
protected String street;
protected String housenumber;
protected String postboxnumber;
@XmlElement(name = "text")
protected List<TextType> texts;
/**
* Gets the value of the ids property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the ids property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getIds().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link IDKMEHR }
*
*
*/
public List<IDKMEHR> getIds() {
if (ids == null) {
ids = new ArrayList<IDKMEHR>();
}
return this.ids;
}
/**
* Gets the value of the cds property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the cds property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getCds().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link CDADDRESS }
*
*
*/
public List<CDADDRESS> getCds() {
if (cds == null) {
cds = new ArrayList<CDADDRESS>();
}
return this.cds;
}
/**
* Obtient la valeur de la propriété country.
*
* @return
* possible object is
* {@link CountryType }
*
*/
public CountryType getCountry() {
return country;
}
/**
* Définit la valeur de la propriété country.
*
* @param value
* allowed object is
* {@link CountryType }
*
*/
public void setCountry(CountryType value) {
this.country = value;
}
/**
* Obtient la valeur de la propriété zip.
*
* @return
* possible object is
* {@link String }
*
*/
public String getZip() {
return zip;
}
/**
* Définit la valeur de la propriété zip.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setZip(String value) {
this.zip = value;
}
/**
* Obtient la valeur de la propriété nis.
*
* @return
* possible object is
* {@link String }
*
*/
public String getNis() {
return nis;
}
/**
* Définit la valeur de la propriété nis.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setNis(String value) {
this.nis = value;
}
/**
* Obtient la valeur de la propriété city.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCity() {
return city;
}
/**
* Définit la valeur de la propriété city.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCity(String value) {
this.city = value;
}
/**
* Obtient la valeur de la propriété district.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDistrict() {
return district;
}
/**
* Définit la valeur de la propriété district.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDistrict(String value) {
this.district = value;
}
/**
* Obtient la valeur de la propriété street.
*
* @return
* possible object is
* {@link String }
*
*/
public String getStreet() {
return street;
}
/**
* Définit la valeur de la propriété street.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setStreet(String value) {
this.street = value;
}
/**
* Obtient la valeur de la propriété housenumber.
*
* @return
* possible object is
* {@link String }
*
*/
public String getHousenumber() {
return housenumber;
}
/**
* Définit la valeur de la propriété housenumber.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setHousenumber(String value) {
this.housenumber = value;
}
/**
* Obtient la valeur de la propriété postboxnumber.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPostboxnumber() {
return postboxnumber;
}
/**
* Définit la valeur de la propriété postboxnumber.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setPostboxnumber(String value) {
this.postboxnumber = value;
}
/**
* Gets the value of the texts property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the texts property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getTexts().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link TextType }
*
*
*/
public List<TextType> getTexts() {
if (texts == null) {
texts = new ArrayList<TextType>();
}
return this.texts;
}
}
| 9,989
|
Java
|
.java
|
taktik/freehealth-connector
| 18
| 21
| 13
|
2018-04-04T20:40:46Z
|
2023-09-08T06:15:36Z
|
38dee7f72c1a85e35be36d32406d4ccaa44718474d2f66c3d51068d6e2ec4a49
|
[
325,
222,
325,
31584,
30633,
331,
35212,
40322,
42773,
898,
475,
44,
3126,
47309,
387,
428,
12713,
41114,
30390,
4957,
9043,
29327,
456,
7408,
17393,
327,
47329,
490,
373,
55,
51,
55,
51,
61,
50,
103,
54,
56,
53,
62,
54,
54,
51,
54,
61,
53,
55,
244,
222,
325,
30244,
495,
350,
102,
995,
366,
544,
574,
1874,
51,
9886,
51,
527,
52,
2608,
52,
8954,
103,
432,
544,
574,
1874,
51,
9886,
51,
527,
52,
2608,
52,
8954,
103,
396,
102,
67,
244,
222,
325,
413,
35139,
11402,
1142,
392,
13195,
7244,
10659,
30633,
1124,
102,
1313,
19627,
39481,
428,
2343,
334,
31635,
6305,
11117,
1329,
954,
1932,
51,
244,
222,
325,
590,
1329,
9926,
42773,
1018,
518,
244,
55,
53,
54,
58,
51,
53,
56,
51,
53,
58,
7244,
244,
54,
54,
63,
57,
61,
63,
53,
62,
8117,
409,
1235,
244,
222,
325,
499,
222,
1337,
1105,
51,
121,
11385,
1567,
51,
11636,
51,
11628,
51,
4136,
51,
112,
308,
3943,
51,
123,
55,
53,
54,
56,
53,
60,
54,
53,
51,
883,
51,
4658,
1558,
51,
106,
9864,
51,
9165,
120,
51,
112,
308,
3943,
51,
3982,
51,
123,
54,
64,
222,
222,
485,
1401,
51,
735,
51,
12644,
64,
222,
485,
1401,
51,
1058,
51,
7119,
64,
222,
485,
1401,
51,
1058,
51,
739,
64,
222,
485,
3698,
51,
2608,
51,
2555,
51,
4341,
51,
4411,
41079,
64,
222,
485,
3698,
51,
2608,
51,
2555,
51,
4341,
51,
4411,
9794,
638,
64,
222,
485,
3698,
51,
2608,
51,
2555,
51,
4341,
51,
17093,
64,
222,
485,
3698,
51,
2608,
51,
2555,
51,
4341,
51,
4411,
7496,
12936,
64,
222,
485,
3698,
51,
2608,
51,
2555,
51,
4341,
51,
40002,
64,
222,
222,
485,
1105,
51,
121,
11385,
1567,
51,
11636,
51,
11628,
51,
4136,
51,
112,
308,
3943,
51,
123,
55,
53,
54,
56,
53,
60,
54,
53,
51,
883,
51,
4658,
1558,
51,
106,
9864,
51,
9165,
120,
51,
112,
308,
3943,
51,
2105,
51,
123,
54,
51,
4778,
12351,
64,
222,
485,
1105,
51,
121,
11385,
1567,
51,
11636,
51,
11628,
51,
4136,
51,
112,
308,
3943,
51,
123,
55,
53,
54,
56,
53,
60,
54,
53,
51,
883,
51,
4658,
1558,
51,
106,
9864,
51,
9165,
120,
51,
112,
308,
3943,
51,
2654,
51,
123,
54,
51,
1049,
638,
64,
222,
485,
1105,
51,
121,
11385,
1567,
51,
11636,
51,
11628,
51,
4136,
51,
112,
308,
3943,
51,
123,
55,
53,
54,
56,
53,
60,
54,
53,
51,
883,
51,
4658,
1558,
51,
106,
9864,
51,
9165,
120,
51,
112,
308,
3943,
51,
333,
51,
123,
54,
51,
798,
80,
1043,
5157,
64,
499,
222,
1350,
222,
338,
350,
117,
67,
2180,
14931,
4957,
9220,
2983,
638,
1778,
8667,
847,
51,
222,
338,
1676,
338,
350,
117,
67,
1494,
10299,
428,
11117,
1329,
954,
24153,
710,
44058,
554,
1018,
729,
1486,
36938,
122,
6643,
324,
710,
10625,
31485,
27062,
51,
222,
338,
1676,
338,
350,
1023,
67,
222,
338,
568,
2176,
64,
46990,
655,
366,
2485,
638,
1778,
432,
222,
338,
280,
568,
2176,
64,
11493,
1795,
67,
222,
338,
281,
568,
2176,
64,
33955,
1712,
15469,
544,
574,
1516,
51,
124,
56,
51,
1107,
52,
55,
53,
53,
54,
52,
29064,
130,
1831,
638,
432,
222,
338,
981,
568,
2176,
64,
7543,
67,
222,
338,
282,
568,
2176,
64,
2559,
655,
366,
333,
39,
847,
15469,
544,
574,
1516,
51,
106,
9864,
51,
4658,
1558,
51,
883,
52,
9165,
120,
52,
112,
308,
3943,
52,
333,
52,
123,
54,
130,
798,
50,
80,
1043,
5157,
39,
1788,
34827,
366,
330,
28936,
39,
1865,
34827,
366,
53,
3551,
222,
338,
282,
568,
2176,
64,
2559,
655,
366,
2105,
39,
847,
15469,
544,
574,
1516,
51,
106,
9864,
51,
4658,
1558,
51,
883,
52,
9165,
120,
52,
112,
308,
3943,
52,
2105,
52,
123,
54,
130,
4778,
50,
12351,
39,
1788,
34827,
366,
330,
28936,
39,
1865,
34827,
366,
53,
3551,
222,
338,
282,
568,
2176,
64,
11512,
67,
222,
338,
2281,
568,
2176,
64,
2559,
655,
366,
897,
39,
847,
15469,
544,
574,
1516,
51,
106,
9864,
51,
4658,
1558,
51,
883,
52,
9165,
120,
52,
112,
308,
3943,
52,
2654,
52,
123,
54,
130,
897,
638,
39,
1788,
34827,
366,
330,
28936,
39,
1865,
34827,
366,
53,
3551,
222,
338,
2281,
568,
2176,
64,
7543,
67,
222,
338,
2429,
568,
2176,
64,
2559,
655,
366,
7039,
39,
847,
15469,
544,
574,
1516,
51,
106,
9864,
51,
4658,
1558,
51,
883,
52,
9165,
120,
52,
112,
308,
3943,
52,
3982,
52,
123,
54,
130,
7039,
638,
39,
1865,
34827,
366,
53,
3551,
222,
338,
2429,
568,
2176,
64,
2559,
655,
366,
3992,
39,
847,
15469,
544,
574,
1516,
51,
124,
56,
51,
1107,
52,
55,
53,
53,
54,
52,
29064,
130,
819,
39,
1865,
34827,
366,
53,
3551,
222,
338,
2429,
568,
2176,
64,
2559,
655,
366,
21409,
39,
847,
15469,
544,
574,
1516,
51,
124,
56,
51,
1107,
52,
55,
53,
53,
54,
52,
29064,
130,
819,
39,
1865,
34827,
366,
53,
3551,
222,
338,
2429,
568,
2176,
64,
2559,
655,
366,
5733,
39,
847,
15469,
544,
574,
1516,
51,
124,
56,
51,
1107,
52,
55,
53,
53,
54,
52,
29064,
130,
819,
3551,
222,
338,
2429,
568,
2176,
64,
2559,
655,
366,
21098,
39,
847,
15469,
544,
574,
1516,
51,
124,
56,
51,
1107,
52,
55,
53,
53,
54,
52,
29064,
130,
819,
39,
1865,
34827,
366,
53,
3551,
222,
338,
2429,
568,
2176,
64,
2559,
655,
366,
16978,
39,
847,
15469,
544,
574,
1516,
51,
124,
56,
51,
1107,
52,
55,
53,
53,
54,
52,
29064,
130,
819,
39,
1865,
34827,
366,
53,
3551,
222,
338,
2429,
568,
2176,
64,
2559,
655,
366,
109,
3311,
17990,
39,
847,
15469,
544,
574,
1516,
51,
124,
56,
51,
1107,
52,
55,
53,
53,
54,
52,
29064,
130,
819,
39,
1865,
34827,
366,
53,
3551,
222,
338,
2429,
568,
2176,
64,
2559,
655,
366,
1545,
1521,
2188,
39,
847,
15469,
544,
574,
1516,
51,
124,
56,
51,
1107,
52,
55,
53,
53,
54,
52,
29064,
130,
819,
39,
1865,
34827,
366,
53,
3551,
222,
338,
2429,
568,
2176,
64,
2559,
655,
366,
897,
39,
847,
15469,
544,
574,
1516,
51,
106,
9864,
51,
4658,
1558,
51,
883,
52,
9165,
120,
52,
112,
308,
3943,
52,
2654,
52,
123,
54,
130,
897,
638,
39,
1788,
34827,
366,
330,
28936,
39,
1865,
34827,
366,
53,
3551,
222,
338,
2281,
568,
2176,
6532,
7543,
67,
222,
338,
282,
568,
2176,
6532,
11512,
67,
222,
338,
981,
568,
2176,
6532,
7543,
67,
222,
338,
281,
568,
2176,
6532,
33955,
67,
222,
338,
280,
568,
2176,
6532,
11493,
1795,
67,
222,
338,
568,
2176,
6532,
46990,
67,
222,
338,
594,
1023,
67,
222,
338,
1676,
338,
1676,
588,
222,
69,
4411,
9794,
638,
45,
4411,
41079,
51,
6457,
46,
222,
69,
40002,
45,
444,
299,
332,
2485,
638,
1778,
411,
7030,
2888,
299,
320,
303,
332,
3653,
411,
303,
332,
29148,
411,
303,
332,
7039,
411,
303,
332,
3992,
411,
303,
332,
21409,
411,
303,
332,
5733,
411,
303,
332,
21098,
411,
303,
332,
16978,
411,
303,
332,
109,
3311,
17990,
411,
303,
332,
1545,
1521,
2188,
411,
303,
332,
21438,
39,
222,
1770,
222,
69,
4411,
7496,
12936,
1389,
303,
8984,
638,
51,
842,
222,
1770,
222,
942,
462,
8984,
638,
1778,
303,
4584,
19182,
222,
128,
465,
964,
1175,
924,
1964,
19896,
299,
244,
55,
53,
54,
56,
53,
60,
54,
53,
81,
64,
303,
496,
17093,
45,
444,
299,
332,
333,
678,
303,
2532,
1701,
65,
798,
80,
1043,
5157,
67,
9673,
64,
303,
496,
17093,
45,
444,
299,
332,
2105,
678,
303,
2532,
1701,
65,
4778,
12351,
67,
38077,
64,
303,
2532,
25243,
638,
10769,
64,
303,
2532,
910,
8617,
64,
303,
2532,
910,
329,
316,
64,
303,
2532,
910,
11353,
64,
303,
2532,
910,
37614,
64,
303,
2532,
910,
26494,
64,
303,
2532,
910,
439,
3311,
17990,
64,
303,
2532,
910,
2381,
1521,
2188,
64,
303,
496,
17093,
45,
444,
299,
332,
897,
678,
303,
2532,
1701,
65,
1049,
638,
67,
31807,
64,
465,
1041,
294,
338,
7132,
341,
804,
451,
341,
9673,
2821,
51,
294,
338,
294,
338,
350,
117,
67,
294,
338,
1369,
22069,
1431,
3235,
331,
4141,
391,
341,
10918,
1168,
49,
294,
338,
666,
331,
10432,
51,
20830,
1364,
11402,
863,
1949,
391,
341,
294,
338,
4731,
1168,
1118,
545,
5041,
6529,
341,
25362,
1319,
51,
294,
338,
1369,
458,
6927,
2038,
458,
666,
331,
350,
3535,
67,
489,
396,
3535,
67,
1431,
456,
341,
9673,
2821,
51,
294,
338,
294,
338,
350,
117,
67,
294,
338,
2643,
2301,
49,
391,
1035,
331,
556,
1641,
49,
764,
641,
11629,
63,
294,
338,
350,
1023,
67,
294,
338,
283,
640,
5345,
941,
688,
45,
909,
1114,
312,
294,
338,
594,
1023,
67,
294,
338,
294,
338,
294,
338,
350,
117,
67,
294,
338,
14592,
451,
341,
2434,
847,
45,
120,
46,
904,
6671,
347,
341,
1168,
294,
338,
3105,
1222,
2502,
80,
1043,
5157,
339,
294,
338,
294,
338,
294,
588,
303,
581,
1701,
65,
798,
80,
1043,
5157,
67,
640,
5345,
365,
320,
310,
434,
327,
3653,
630,
762,
46,
320,
343,
9673,
299,
556,
5068,
65,
798,
80,
1043,
5157,
2938,
310,
339,
310,
461,
477,
51,
3653,
64,
303,
339,
465,
1041,
294,
338,
7132,
341,
804,
451,
341,
38077,
2821,
51,
294,
338,
294,
338,
350,
117,
67,
294,
338,
1369,
22069,
1431,
3235,
331,
4141,
391,
341,
10918,
1168,
49,
294,
338,
666,
331,
10432,
51,
20830,
1364,
11402,
863,
1949,
391,
341,
294,
338,
4731,
1168,
1118,
545,
5041,
6529,
341,
25362,
1319,
51,
294,
338,
1369,
458,
6927,
2038,
458,
666,
331,
350,
3535,
67,
489,
396,
3535,
67,
1431,
456,
341,
38077,
2821,
51,
294,
338,
294,
338,
350,
117,
67,
294,
338,
2643,
2301,
49,
391,
1035,
331,
556,
1641,
49,
764,
641,
11629,
63,
294,
338,
350,
1023,
67,
294,
338,
283,
38941,
3246,
941,
688,
45,
909,
1114,
312,
294,
338,
594,
1023,
67,
294,
338,
294,
338,
294,
338,
350,
117,
67,
294,
338,
14592,
451,
341,
2434,
847,
45,
120,
46,
904,
6671,
347,
341,
1168,
294,
338,
3105,
1222,
20321,
12351,
339,
294,
338,
294,
338,
294,
588,
303,
581,
1701,
65,
4778,
12351,
67,
38941,
3246,
365,
320,
310,
434,
327,
29148,
630,
762,
46,
320,
343,
38077,
299,
556,
5068,
65,
4778,
12351,
2938,
310,
339,
310,
461,
477,
51,
29148,
64,
303,
339,
465,
1041,
294,
338,
5842,
121,
1633,
2343,
34811,
428,
2343,
45370,
1329,
10769,
51,
294,
338,
294,
338,
496,
620,
294,
338,
281,
4222,
1319,
458,
294,
338,
281,
3105,
1222,
25243,
638,
339,
294,
338,
294,
588,
303,
581,
25243,
638,
640,
10926,
365,
320,
310,
461,
10769,
64,
303,
339,
465,
1041,
294,
338,
493,
1329,
107,
1683,
2343,
34811,
428,
2343,
45370,
1329,
10769,
51,
294,
338,
294,
338,
496,
772,
804,
294,
338,
281,
6671,
1319,
458,
294,
338,
281,
3105,
1222,
25243,
638,
339,
294,
338,
35399,
588,
303,
581,
782,
758,
10926,
45,
10926,
638,
804,
46,
320,
310,
477,
51,
7039,
299,
804,
64,
303,
339,
465,
1041,
294,
338,
5842,
121,
1633,
2343,
34811,
428,
2343,
45370,
1329,
8617,
51,
294,
338,
5402,
338,
496,
620,
294,
338,
281,
4222,
1319,
458,
294,
338,
281,
3105,
1222,
910,
339,
294,
338,
35399,
588,
303,
581,
910,
640,
13593,
365,
320,
310,
461,
8617,
64,
303,
339,
465,
1041,
294,
338,
493,
1329,
107,
1683,
2343,
34811,
428,
2343,
45370,
1329,
8617,
51,
294,
338,
5402,
338,
496,
772,
804,
294,
338,
281,
6671,
1319,
458,
294,
338,
281,
3105,
1222,
910,
339,
294,
338,
35399,
588,
303,
581,
782,
758,
13593,
45,
671,
804,
46,
320,
310,
477,
51,
3992,
299,
804,
64,
303,
339,
465,
1041,
294,
338,
5842,
121,
1633,
2343,
34811,
428,
2343,
45370,
1329,
329,
316,
51,
294,
338,
5402,
338,
496,
620,
294,
338,
281,
4222,
1319,
458,
294,
338,
281,
3105,
1222,
910,
339,
294,
338,
35399,
588,
303,
581,
910,
640,
83,
316,
365,
320,
310,
461,
329,
316,
64,
303,
339,
465,
1041,
294,
338,
493,
1329,
107,
1683,
2343,
34811,
428,
2343,
45370,
1329,
329,
316,
51,
294,
338,
5402,
338,
496,
772,
804,
294,
338,
281,
6671,
1319,
458,
294,
338,
281,
3105,
1222,
910,
339,
294,
338,
35399,
588,
303,
581,
782,
758,
83,
316,
45,
671,
804,
46,
320,
310,
477,
51,
21409,
299,
804,
64,
303,
339,
465,
1041,
294,
338,
5842,
121,
1633,
2343,
34811,
428,
2343,
45370,
1329,
11353,
51,
294,
338,
5402,
338,
496,
620,
294,
338,
281,
4222,
1319,
458,
294,
338,
281,
3105,
1222,
910,
339,
294,
338,
35399,
588,
303,
581,
910,
640,
11134,
365,
320,
310,
461,
11353,
64,
303,
339,
465,
1041,
294,
338,
493,
1329,
107,
1683,
2343,
34811,
428,
2343,
45370,
1329,
11353,
51,
294,
338,
5402,
338,
496,
772,
804,
294,
338,
281,
6671,
1319,
458,
294,
338,
281,
3105,
1222,
910,
339,
294,
338,
35399,
588,
303,
581,
782,
758,
11134,
45,
671,
804,
46,
320,
310,
477,
51,
5733,
299,
804,
64,
303,
339,
465,
1041,
294,
338,
5842,
121,
1633,
2343,
34811,
428,
2343,
45370,
1329,
37614,
51,
294,
338,
5402,
338,
496,
620,
294,
338,
281,
4222,
1319,
458,
294,
338,
281,
3105,
1222,
910,
339,
294,
338,
35399,
588,
303,
581,
910,
640,
33566,
365,
320,
310,
461,
37614,
64,
303,
339,
465,
1041,
294,
338,
493,
1329,
107,
1683,
2343,
34811,
428,
2343,
45370,
1329,
37614,
51,
294,
338,
5402,
338,
496,
772,
804,
294,
338,
281,
6671,
1319,
458,
294,
338,
281,
3105,
1222,
910,
339,
294,
338,
35399,
588,
303,
581,
782,
758,
33566,
45,
671,
804,
46,
320,
310,
477,
51,
21098,
299,
804,
64,
303,
339,
465,
1041,
294,
338,
5842,
121,
1633,
2343,
34811,
428,
2343,
45370,
1329,
26494,
51,
294,
338,
5402,
338,
496,
620,
294,
338,
281,
4222,
1319,
458,
294,
338,
281,
3105,
1222,
910,
339,
294,
338,
35399,
588,
303,
581,
910,
640,
26624,
365,
320,
310,
461,
26494,
64,
303,
339,
465,
1041,
294,
338,
493,
1329,
107,
1683,
2343,
34811,
428,
2343,
45370,
1329,
26494,
51,
294,
338,
5402,
338,
496,
772,
804,
294,
338,
281,
6671,
1319,
458,
294,
338,
281,
3105,
1222,
910,
339,
294,
338,
35399,
588,
303,
581,
782,
758,
26624,
45,
671,
804,
46,
320,
310,
477,
51,
16978,
299,
804,
64,
303,
339,
465,
1041,
294,
338,
5842,
121,
1633,
2343,
34811,
428,
2343,
45370,
1329,
439,
3311,
17990,
51,
294,
338,
5402,
338,
496,
620,
294,
338,
281,
4222,
1319,
458,
294,
338,
281,
3105,
1222,
910,
339,
294,
338,
35399,
588,
303,
581,
910,
640,
77,
3311,
17990,
365,
320,
310,
461,
439,
3311,
17990,
64,
303,
339,
465,
1041,
294,
338,
493,
1329,
107,
1683,
2343,
34811,
428,
2343,
45370,
1329,
439,
3311,
17990,
51,
294,
338,
5402,
338,
496,
772,
804,
294,
338,
281,
6671,
1319,
458,
294,
338,
281,
3105,
1222,
910,
339,
294,
338,
35399,
588,
303,
581,
782,
758,
77,
3311,
17990,
45,
671,
804,
46,
320,
310,
477,
51,
109,
3311,
17990,
299,
804,
64,
303,
339,
465,
1041,
294,
338,
5842,
121,
1633,
2343,
34811,
428,
2343,
45370,
1329,
2381,
1521,
2188,
51,
294,
338,
5402,
338,
496,
620,
294,
338,
281,
4222,
1319,
458,
294,
338,
281,
3105,
1222,
910,
339,
294,
338,
35399,
588,
303,
581,
910,
640,
3176,
1521,
2188,
365,
320,
310,
461,
2381,
1521,
2188,
64,
303,
339,
465,
1041,
294,
338,
493,
1329,
107,
1683,
2343,
34811,
428,
2343,
45370,
1329,
2381,
1521,
2188,
51,
294,
338,
5402,
338,
496,
772,
804,
294,
338,
281,
6671,
1319,
458,
294,
338,
281,
3105,
1222,
910,
339,
294,
338,
35399,
588,
303,
581,
782,
758,
3176,
1521,
2188,
45,
671,
804,
46,
320,
310,
477,
51,
1545,
1521,
2188,
299,
804,
64,
303,
339,
465,
1041,
294,
338,
7132,
341,
804,
451,
341,
31807,
2821,
51,
294,
338,
5402,
338,
350,
117,
67,
294,
338,
1369,
22069,
1431,
3235,
331,
4141,
391,
341,
10918,
1168,
49,
294,
338,
666,
331,
10432,
51,
20830,
1364,
11402,
863,
1949,
391,
341,
294,
338,
4731,
1168,
1118,
545,
5041,
6529,
341,
25362,
1319,
51,
294,
338,
1369,
458,
6927,
2038,
458,
666,
331,
350,
3535,
67,
489,
396,
3535,
67,
1431,
456,
341,
31807,
2821,
51,
294,
338,
5402,
338,
350,
117,
67,
294,
338,
2643,
2301,
49,
391,
1035,
331,
556,
1641,
49,
764,
641,
11629,
63,
294,
338,
350,
1023,
67,
294,
338,
283,
640,
33363,
941,
688,
45,
909,
1114,
312,
294,
338,
594,
1023,
67,
294,
338,
5402,
338,
5402,
338,
350,
117,
67,
294,
338,
14592,
451,
341,
2434,
847,
45,
120,
46,
904,
6671,
347,
341,
1168,
294,
338,
3105,
1222,
3336,
638,
339,
294,
338,
5402,
338,
5402,
588,
303,
581,
1701,
65,
1049,
638,
67,
640,
33363,
365,
320,
310,
434,
327,
21438,
630,
762,
46,
320,
343,
31807,
299,
556,
5068,
65,
1049,
638,
2938,
310,
339,
310,
461,
477,
51,
21438,
64,
303,
339,
222,
222,
130,
222
] |
[
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1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98/java/net/PortUnreachableException.java
|
/* PortUnreachableException.java -- received an ICMP port unreachable datagram
Copyright (C) 2002 Free Software Foundation, Inc.
This file is part of GNU Classpath.
GNU Classpath is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
GNU Classpath is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
You should have received a copy of the GNU General Public License
along with GNU Classpath; see the file COPYING. If not, write to the
Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
02110-1301 USA.
Linking this library statically or dynamically with other modules is
making a combined work based on this library. Thus, the terms and
conditions of the GNU General Public License cover the whole
combination.
As a special exception, the copyright holders of this library give you
permission to link this library with independent modules to produce an
executable, regardless of the license terms of these independent
modules, and to copy and distribute the resulting executable under
terms of your choice, provided that you also meet, for each linked
independent module, the terms and conditions of the license of that
module. An independent module is a module which is not derived from
or based on this library. If you modify this library, you may extend
this exception to your version of the library, but you are not
obligated to do so. If you do not wish to do so, delete this
exception statement from your version. */
package java.net;
/**
* This exception signals that an ICMP port unreachable datagram has been
* received.
*
* @author Eric Blake ([email protected])
* @since 1.4
* @status updated to 1.4
*/
public class PortUnreachableException extends SocketException
{
/**
* Compatible with JDK 1.0+.
*/
private static final long serialVersionUID = 8462541992376507323L;
/**
* Create a new instance without a descriptive error message.
*/
public PortUnreachableException()
{
}
/**
* Create a new instance with a descriptive error message.
*
* @param message a message describing the error that occurred
*/
public PortUnreachableException(String message)
{
super(message);
}
} // class PortUnreachableException
| 2,545
|
Java
|
.java
|
koterpillar/android-sasl
| 10
| 11
| 0
|
2010-01-01T16:52:00Z
|
2010-01-01T17:24:27Z
|
0282b81ce66d4ffd0a734fa1c3d8d7f31d753afa8c87928175578f42d8c82700
|
[
1127,
8449,
1079,
19014,
1002,
51,
1874,
790,
6589,
619,
16398,
1471,
2618,
36830,
727,
1786,
682,
2657,
327,
72,
46,
244,
55,
53,
53,
55,
7834,
3870,
7120,
49,
6367,
51,
222,
222,
2287,
822,
458,
1760,
451,
6994,
1727,
1005,
51,
222,
222,
21307,
1727,
1005,
458,
3760,
2951,
64,
863,
902,
14081,
580,
480,
52,
290,
5370,
222,
302,
1549,
341,
5974,
451,
341,
6994,
6153,
5062,
1196,
641,
9582,
829,
222,
1402,
7834,
3870,
7120,
64,
3173,
1522,
244,
55,
49,
575,
327,
288,
1390,
2489,
46,
222,
1831,
6146,
1522,
51,
222,
222,
21307,
1727,
1005,
458,
2744,
347,
341,
9850,
708,
580,
1118,
545,
6386,
49,
1294,
222,
26480,
2979,
9345,
64,
2895,
4462,
341,
4506,
14319,
451,
222,
22265,
7760,
575,
8114,
4800,
418,
7848,
7763,
51,
244,
2819,
341,
6994,
222,
8633,
5062,
1196,
456,
1851,
4261,
51,
222,
222,
4296,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
6153,
5062,
1196,
222,
40307,
642,
6994,
1727,
1005,
64,
2337,
341,
822,
39543,
51,
244,
1691,
666,
49,
2886,
391,
341,
222,
7023,
3870,
7120,
49,
6367,
4345,
244,
58,
54,
34113,
22321,
49,
33316,
26912,
49,
25006,
49,
13083,
222,
53,
55,
54,
54,
53,
50,
54,
56,
53,
54,
15067,
51,
222,
222,
2375,
318,
477,
4277,
924,
1266,
575,
22530,
642,
1623,
7912,
458,
222,
36339,
331,
17011,
1409,
4148,
563,
477,
4277,
51,
244,
23245,
49,
341,
5974,
480,
222,
8438,
451,
341,
6994,
6153,
5062,
1196,
6399,
341,
9859,
222,
20939,
387,
51,
222,
222,
1482,
331,
7472,
3773,
49,
341,
5550,
7649,
502,
451,
477,
4277,
7651,
863,
222,
9207,
391,
2572,
477,
4277,
642,
16403,
7912,
391,
13909,
619,
222,
21876,
49,
23270,
451,
341,
3553,
5974,
451,
3301,
16403,
222,
3490,
49,
480,
391,
1948,
480,
11915,
341,
14341,
15020,
1549,
222,
13116,
451,
1390,
11704,
49,
3961,
708,
863,
2353,
18457,
49,
456,
2531,
12258,
222,
29203,
2313,
49,
341,
5974,
480,
5496,
451,
341,
3553,
451,
708,
222,
1663,
51,
244,
2262,
16403,
2313,
458,
331,
2313,
1532,
458,
666,
12015,
664,
222,
290,
4148,
563,
477,
4277,
51,
244,
1691,
863,
5370,
477,
4277,
49,
863,
1648,
12385,
222,
597,
3773,
391,
1390,
1522,
451,
341,
4277,
49,
1294,
863,
904,
666,
222,
926,
13255,
751,
391,
764,
1278,
51,
244,
1691,
863,
764,
666,
15873,
391,
764,
1278,
49,
3081,
477,
222,
3918,
7627,
664,
1390,
1522,
51,
588,
222,
222,
1337,
1401,
51,
1317,
64,
499,
222,
1350,
222,
338,
1369,
3773,
20713,
708,
619,
16398,
1471,
2618,
36830,
727,
1786,
1421,
2602,
222,
338,
6589,
51,
222,
338,
222,
338,
496,
2133,
42857,
7709,
1082,
327,
31831,
62,
69,
1951,
51,
1186,
122,
51,
7619,
46,
222,
338,
496,
8152,
244,
54,
51,
57,
222,
338,
496,
1535,
4478,
391,
244,
54,
51,
57,
222,
588,
222,
942,
462,
8449,
1079,
19014,
1002,
2041,
14834,
1002,
222,
128,
353,
1041,
682,
338,
34822,
1497,
642,
33047,
244,
54,
51,
53,
39163,
682,
588,
353,
964,
924,
1175,
1964,
19896,
299,
244,
61,
57,
59,
55,
58,
57,
54,
62,
62,
55,
56,
60,
59,
58,
53,
60,
56,
55,
56,
81,
64,
736,
1041,
682,
338,
2673,
331,
556,
1998,
2895,
331,
41614,
1067,
1492,
51,
682,
588,
353,
581,
8449,
1079,
19014,
1002,
365,
353,
320,
353,
339,
736,
1041,
682,
338,
2673,
331,
556,
1998,
642,
331,
41614,
1067,
1492,
51,
682,
338,
682,
338,
496,
772,
1492,
331,
1492,
22454,
341,
1067,
708,
12341,
682,
588,
353,
581,
8449,
1079,
19014,
1002,
45,
671,
1492,
46,
353,
320,
303,
2615,
45,
1454,
312,
353,
339,
222,
130,
453,
462,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
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 619
| true
| 75.363458
| true
| true
|
EnrolledCertsInfo.java
|
/FileExtraction/Java_unseen/dogtagpki_pki/base/tps/src/main/java/org/dogtagpki/server/tps/processor/EnrolledCertsInfo.java
|
// --- BEGIN COPYRIGHT BLOCK ---
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 2 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License along
// with this program; if not, write to the Free Software Foundation, Inc.,
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
//
// (C) 2013 Red Hat, Inc.
// All rights reserved.
// --- END COPYRIGHT BLOCK ---
package org.dogtagpki.server.tps.processor;
import java.io.IOException;
import java.math.BigInteger;
import java.util.ArrayList;
import org.dogtagpki.server.tps.dbs.TPSCertRecord;
import org.dogtagpki.server.tps.dbs.TokenCertStatus;
import org.dogtagpki.server.tps.main.PKCS11Obj;
import org.dogtagpki.tps.main.TPSBuffer;
import org.dogtagpki.tps.main.Util;
import org.mozilla.jss.netscape.security.x509.X509CertImpl;
import com.netscape.certsrv.base.EBaseException;
public class EnrolledCertsInfo {
public static org.slf4j.Logger logger = org.slf4j.LoggerFactory.getLogger(EnrolledCertsInfo.class);
EnrolledCertsInfo() {
certificates = new ArrayList<>();
certStatuses = new ArrayList<>();
ktypes = new ArrayList<>();
origins = new ArrayList<>();
tokenTypes = new ArrayList<>();
externalRegRecoveryEnrollList = new ArrayList<>();
}
EnrolledCertsInfo(PKCS11Obj obj, TPSBuffer wrappedChallenge, TPSBuffer plainChallenge, int keyTypeNum,
int startProgress, int endProgress) {
this();
this.wrappedChallenge = wrappedChallenge;
plaintextChallenge = plainChallenge;
pkcs11objx = obj;
numCertsToEnroll = keyTypeNum;
this.startProgress = startProgress;
this.endProgress = endProgress;
}
//Tables that will get set during processing
private ArrayList<String> origins;
private ArrayList<String> ktypes;
private ArrayList<String> tokenTypes;
private ArrayList<X509CertImpl> certificates;
private ArrayList<TokenCertStatus> certStatuses;
private ArrayList<CertEnrollInfo> externalRegRecoveryEnrollList;
//Input challenge data
private TPSBuffer wrappedChallenge;
private TPSBuffer plaintextChallenge;
private TPSBuffer keyCheck;
private int numCertsToEnroll;
private int currentCertIndex;
private int startProgress;
private int endProgress;
public int getCurrentCertIndex() {
return currentCertIndex;
}
public ArrayList<CertEnrollInfo> getExternalRegRecoveryEnrollList() {
return externalRegRecoveryEnrollList;
}
public void setCurrentCertIndex(int index) {
currentCertIndex = index;
}
public void setNumCertsToEnroll(int num) {
numCertsToEnroll = num;
}
public int getNumCertsToEnroll() {
return numCertsToEnroll;
}
int getStartProgressValue() {
return startProgress;
}
int getEndProgressValue() {
return endProgress;
}
public void setKeyCheck(TPSBuffer keyCheck) {
this.keyCheck = keyCheck;
}
public TPSBuffer getKeyCheck() {
return keyCheck;
}
//PKCS11Object that will have values added to it during processing
private PKCS11Obj pkcs11objx;
public void setWrappedChallenge(TPSBuffer wrappedChallenge) {
this.wrappedChallenge = wrappedChallenge;
}
public TPSBuffer getWrappedChallenge() {
return wrappedChallenge;
}
public void setPlaintextChallenge(TPSBuffer plaintextChallenge) {
this.plaintextChallenge = plaintextChallenge;
}
public TPSBuffer getPlaintextChallenge() {
return plaintextChallenge;
}
public void setPKCS11Obj(PKCS11Obj pkcs11obj) {
pkcs11objx = pkcs11obj;
}
public PKCS11Obj getPKCS11Obj() {
return pkcs11objx;
}
public void addOrigin(String origin) {
logger.debug("EnrolledCertsInfo.addOrigin: " + origin);
origins.add(origin);
}
public void addKType(String ktype) {
ktypes.add(ktype);
}
public void addTokenType(String tokenType) {
tokenTypes.add(tokenType);
}
public void addCertificate(X509CertImpl x509Cert) {
certificates.add(x509Cert);
}
public void removeCertificate(X509CertImpl x509Cert) {
certificates.remove(x509Cert);
}
public void addCertStatus(TokenCertStatus status) {
certStatuses.add(status);
}
public void setCertStatus(int index, TokenCertStatus status) {
certStatuses.set(index, status);
}
public void setStartProgress(int startP) {
startProgress = startP;
}
public void setEndProgress(int endP) {
endProgress = endP;
}
public ArrayList<TPSCertRecord> toTPSCertRecords(String cuid, String uid) {
ArrayList<TPSCertRecord> certs = new ArrayList<>();
logger.debug("EnrolledCertsInfo.toTPSCertRecords: starts");
int index = 0;
for (X509CertImpl cert: certificates) {
TPSCertRecord certRecord = new TPSCertRecord();
//serial number
BigInteger serial_BigInt = cert.getSerialNumber();
String hexSerial = serial_BigInt.toString(16);
String serialNumber = "0x" + hexSerial;
certRecord.setSerialNumber(serialNumber);
String uniqueString = Util.getTimeStampString(false);
String id = hexSerial + "." + uniqueString;
certRecord.setId(id);
logger.debug("EnrolledCertsInfo.toTPSCertRecords: converting cert:"+ certRecord.getId());
//token id
certRecord.setTokenID(cuid);
logger.debug("EnrolledCertsInfo.toTPSCertRecords: cuid =" + cuid);
//origin
if ((!origins.isEmpty()) && index <origins.size() && origins.get(index)!= null) {
certRecord.setOrigin(origins.get(index));
logger.debug("EnrolledCertsInfo.toTPSCertRecords: origin =" + origins.get(index));
} else {
logger.warn("EnrolledCertsInfo.toTPSCertRecords: origin not found for index:"+ index);
}
//user id
certRecord.setUserID(uid);
logger.debug("EnrolledCertsInfo.toTPSCertRecords: uid =" + uid);
//KeyType
if ((!ktypes.isEmpty()) && index <ktypes.size() && ktypes.get(index)!= null) {
certRecord.setKeyType(ktypes.get(index));
logger.debug("EnrolledCertsInfo.toTPSCertRecords: keyType =" + ktypes.get(index));
} else {
logger.warn("EnrolledCertsInfo.toTPSCertRecords: keyType not found for index:"+ index);
}
//token type
if ((!tokenTypes.isEmpty()) && index <tokenTypes.size() && tokenTypes.get(index)!= null) {
logger.debug("EnrolledCertsInfo.toTPSCertRecords: tokenType=" + tokenTypes.get(index));
certRecord.setType(tokenTypes.get(index));
logger.debug("EnrolledCertsInfo.toTPSCertRecords: tokenType set");
} else {
logger.warn("EnrolledCertsInfo.toTPSCertRecords: tokenType not found for index:"+ index);
//certRecord.setType("");
}
//cert status
if ((!certStatuses.isEmpty()) && index < certStatuses.size() && certStatuses.get(index) != null) {
logger.debug("EnrolledCertsInfo.toTPSCertRecords: cert status=" + certStatuses.get(index));
certRecord.setStatus(certStatuses.get(index).toString());
} else {
logger.warn("EnrolledCertsInfo.toTPSCertRecords: certStatus not found for index:" + index
+ "; set to default active");
certRecord.setStatus(TokenCertStatus.ACTIVE.toString());
}
//Issuer
String issuedBy = cert.getIssuerName().toString();
certRecord.setIssuedBy(issuedBy);
logger.debug("EnrolledCertsInfo.toTPSCertRecords: issuer ="+ issuedBy);
//Subject
String subject = cert.getSubjectName().toString();
certRecord.setSubject(subject);
logger.debug("EnrolledCertsInfo.toTPSCertRecords: subject ="+ subject);
//NotBefore
certRecord.setValidNotBefore(cert.getNotBefore());
logger.debug("EnrolledCertsInfo.toTPSCertRecords: notBefore ="+ cert.getNotBefore().toString());
//NotAfter
certRecord.setValidNotAfter(cert.getNotAfter());
logger.debug("EnrolledCertsInfo.toTPSCertRecords: notAfter ="+ cert.getNotAfter().toString());
/* certificate
byte[] certBytes = null;
try {
certBytes = cert.getEncoded();
//logger.debug("EnrolledCertsInfo.toTPSCertRecords: certBytes ="+ CMS.BtoA(certBytes));
logger.debug("EnrolledCertsInfo.toTPSCertRecords: cert encoded");
} catch (CertificateEncodingException e) {
logger.warn("EnrolledCertsInfo.toTPSCertRecord: "+ e.getMessage(), e);
//TODO: throw
}
certRecord.setCertificate(CMS.BtoA(certBytes));
*/
// Alternative to the actual certificate -- certificate AKI
try {
String aki = Util.getCertAkiString(cert);
certRecord.setCertificate(aki);
} catch (EBaseException | IOException e) {
logger.warn("EnrolledCertsInfo: " + e.getMessage(), e);
}
certs.add(certRecord);
index++;
}
logger.debug("EnrolledCertsInfo.toTPSCertRecords: ends");
return certs;
}
}
| 10,075
|
Java
|
.java
|
dogtagpki/pki
| 323
| 130
| 961
|
2017-02-16T19:36:36Z
|
2024-05-09T02:30:28Z
|
7aa75f20beb433ac07239ccb02ec988a75442fba004c238942fad704d2e231fa
|
[
325,
5351,
18264,
8995,
20293,
5351,
222,
325,
1369,
3477,
458,
3760,
2951,
64,
863,
902,
14081,
580,
480,
52,
290,
5370,
222,
325,
580,
1549,
341,
5974,
451,
341,
6994,
6153,
5062,
1196,
641,
9582,
829,
222,
325,
341,
7834,
3870,
7120,
64,
1522,
244,
55,
451,
341,
1196,
51,
222,
325,
222,
325,
1369,
3477,
458,
2744,
347,
341,
9850,
708,
580,
1118,
545,
6386,
49,
222,
325,
1294,
4213,
2979,
9345,
64,
2895,
4462,
341,
4506,
14319,
451,
222,
325,
7934,
575,
8114,
4800,
418,
7848,
7763,
51,
244,
2819,
341,
222,
325,
6994,
6153,
5062,
1196,
456,
1851,
4261,
51,
222,
325,
222,
325,
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
6153,
5062,
1196,
7979,
222,
325,
642,
477,
3477,
64,
434,
666,
49,
2886,
391,
341,
7834,
3870,
7120,
49,
6367,
4345,
222,
325,
244,
58,
54,
34113,
22321,
49,
33316,
26912,
49,
25006,
49,
13083,
244,
53,
55,
54,
54,
53,
50,
54,
56,
53,
54,
15067,
51,
222,
325,
222,
325,
327,
72,
46,
244,
55,
53,
54,
56,
4777,
30044,
49,
6367,
51,
222,
325,
3381,
4760,
5225,
51,
222,
325,
5351,
7092,
8995,
20293,
5351,
222,
1337,
1105,
51,
14717,
2159,
48530,
51,
1805,
51,
34833,
51,
10093,
64,
222,
222,
485,
1401,
51,
735,
51,
6860,
64,
222,
485,
1401,
51,
3851,
51,
21520,
64,
222,
485,
1401,
51,
1058,
51,
7119,
64,
222,
222,
485,
1105,
51,
14717,
2159,
48530,
51,
1805,
51,
34833,
51,
43231,
51,
2345,
2134,
600,
3171,
64,
222,
485,
1105,
51,
14717,
2159,
48530,
51,
1805,
51,
34833,
51,
43231,
51,
1781,
9625,
1551,
64,
222,
485,
1105,
51,
14717,
2159,
48530,
51,
1805,
51,
34833,
51,
1850,
51,
36240,
54,
54,
3287,
64,
222,
485,
1105,
51,
14717,
2159,
48530,
51,
34833,
51,
1850,
51,
2345,
88,
2030,
64,
222,
485,
1105,
51,
14717,
2159,
48530,
51,
34833,
51,
1850,
51,
1747,
64,
222,
485,
1105,
51,
16404,
51,
111,
441,
51,
1317,
10959,
51,
4386,
51,
125,
58,
53,
62,
51,
93,
58,
53,
62,
9625,
3499,
64,
222,
222,
485,
785,
51,
1317,
10959,
51,
7007,
14371,
51,
1460,
51,
74,
1778,
1002,
64,
222,
222,
942,
462,
2445,
23202,
43065,
1139,
320,
465,
581,
924,
1105,
51,
12172,
57,
111,
51,
3716,
4101,
299,
1105,
51,
12172,
57,
111,
51,
19580,
51,
10588,
45,
795,
23202,
43065,
1139,
51,
842,
312,
465,
2445,
23202,
43065,
1139,
365,
320,
310,
25174,
299,
556,
5068,
6984,
310,
6459,
27624,
299,
556,
5068,
6984,
310,
851,
2529,
299,
556,
5068,
6984,
310,
3241,
2395,
299,
556,
5068,
6984,
310,
2421,
2439,
299,
556,
5068,
6984,
310,
6596,
3357,
22868,
795,
1038,
739,
299,
556,
5068,
6984,
303,
339,
465,
2445,
23202,
43065,
1139,
45,
36240,
54,
54,
3287,
2847,
49,
413,
4259,
2030,
16279,
22900,
49,
413,
4259,
2030,
14923,
22900,
49,
648,
1221,
638,
2585,
49,
343,
648,
1496,
5291,
49,
648,
962,
5291,
46,
320,
310,
477,
492,
310,
477,
51,
21084,
22900,
299,
16279,
22900,
64,
310,
37420,
22900,
299,
14923,
22900,
64,
310,
15762,
1766,
54,
54,
2085,
125,
299,
2847,
64,
310,
1952,
9625,
20753,
795,
1038,
299,
1221,
638,
2585,
64,
310,
477,
51,
1384,
5291,
299,
1496,
5291,
64,
310,
477,
51,
435,
5291,
299,
962,
5291,
64,
303,
339,
465,
453,
10140,
708,
1118,
640,
758,
5945,
8220,
303,
964,
5068,
65,
671,
67,
3241,
2395,
64,
303,
964,
5068,
65,
671,
67,
851,
2529,
64,
303,
964,
5068,
65,
671,
67,
2421,
2439,
64,
303,
964,
5068,
65,
93,
58,
53,
62,
9625,
3499,
67,
25174,
64,
303,
964,
5068,
65,
1781,
9625,
1551,
67,
6459,
27624,
64,
465,
964,
5068,
65,
9625,
795,
1038,
1139,
67,
6596,
3357,
22868,
795,
1038,
739,
64,
465,
453,
1630,
18299,
727,
303,
964,
413,
4259,
2030,
16279,
22900,
64,
303,
964,
413,
4259,
2030,
37420,
22900,
64,
303,
964,
413,
4259,
2030,
1221,
2157,
64,
465,
964,
648,
1952,
9625,
20753,
795,
1038,
64,
303,
964,
648,
1565,
9625,
1301,
64,
465,
964,
648,
1496,
5291,
64,
303,
964,
648,
962,
5291,
64,
465,
581,
648,
23403,
9625,
1301,
365,
320,
310,
461,
1565,
9625,
1301,
64,
303,
339,
465,
581,
5068,
65,
9625,
795,
1038,
1139,
67,
640,
8392,
3357,
22868,
795,
1038,
739,
365,
320,
310,
461,
6596,
3357,
22868,
795,
1038,
739,
64,
303,
339,
465,
581,
782,
40332,
9625,
1301,
45,
429,
1671,
46,
320,
310,
1565,
9625,
1301,
299,
1671,
64,
303,
339,
465,
581,
782,
758,
2585,
9625,
20753,
795,
1038,
45,
429,
1952,
46,
320,
310,
1952,
9625,
20753,
795,
1038,
299,
1952,
64,
303,
339,
465,
581,
648,
44866,
9625,
20753,
795,
1038,
365,
320,
310,
461,
1952,
9625,
20753,
795,
1038,
64,
303,
339,
465,
648,
640,
2148,
5291,
899,
365,
320,
310,
461,
1496,
5291,
64,
303,
339,
465,
648,
640,
2117,
5291,
899,
365,
320,
310,
461,
962,
5291,
64,
303,
339,
465,
581,
782,
758,
971,
2157,
45,
2345,
88,
2030,
1221,
2157,
46,
320,
310,
477,
51,
697,
2157,
299,
1221,
2157,
64,
303,
339,
465,
581,
413,
4259,
2030,
39774,
2157,
365,
320,
310,
461,
1221,
2157,
64,
303,
339,
465,
453,
36240,
54,
54,
976,
708,
1118,
1178,
2102,
3654,
391,
580,
5945,
8220,
303,
964,
47887,
54,
54,
3287,
15762,
1766,
54,
54,
2085,
125,
64,
465,
581,
782,
758,
21834,
22900,
45,
2345,
88,
2030,
16279,
22900,
46,
320,
310,
477,
51,
21084,
22900,
299,
16279,
22900,
64,
303,
339,
465,
581,
413,
4259,
2030,
640,
21834,
22900,
365,
320,
310,
461,
16279,
22900,
64,
303,
339,
465,
581,
782,
758,
1839,
14438,
22900,
45,
2345,
88,
2030,
37420,
22900,
46,
320,
310,
477,
51,
17995,
22900,
299,
37420,
22900,
64,
303,
339,
465,
581,
413,
4259,
2030,
640,
1839,
14438,
22900,
365,
320,
310,
461,
37420,
22900,
64,
303,
339,
465,
581,
782,
758,
36240,
54,
54,
3287,
45,
36240,
54,
54,
3287,
15762,
1766,
54,
54,
2085,
46,
320,
310,
15762,
1766,
54,
54,
2085,
125,
299,
15762,
1766,
54,
54,
2085,
64,
303,
339,
465,
581,
47887,
54,
54,
3287,
640,
36240,
54,
54,
3287,
365,
320,
310,
461,
15762,
1766,
54,
54,
2085,
125,
64,
303,
339,
465,
581,
782,
1035,
9016,
45,
671,
7391,
46,
320,
603,
4101,
51,
2824,
459,
795,
23202,
43065,
1139,
51,
688,
9016,
63,
332,
494,
7391,
312,
310,
3241,
2395,
51,
688,
45,
6954,
312,
303,
339,
465,
581,
782,
1035,
80,
638,
45,
671,
851,
700,
46,
320,
310,
851,
2529,
51,
688,
45,
112,
700,
312,
303,
339,
465,
581,
782,
1035,
27546,
45,
671,
2421,
638,
46,
320,
310,
2421,
2439,
51,
688,
45,
1977,
638,
312,
303,
339,
465,
581,
782,
1035,
9546,
45,
93,
58,
53,
62,
9625,
3499,
837,
58,
53,
62,
9625,
46,
320,
310,
25174,
51,
688,
45,
125,
58,
53,
62,
9625,
312,
303,
339,
465,
581,
782,
3365,
9546,
45,
93,
58,
53,
62,
9625,
3499,
837,
58,
53,
62,
9625,
46,
320,
310,
25174,
51,
2564,
45,
125,
58,
53,
62,
9625,
312,
303,
339,
465,
581,
782,
1035,
9625,
1551,
45,
1781,
9625,
1551,
2302,
46,
320,
310,
6459,
27624,
51,
688,
45,
1535,
312,
303,
339,
465,
581,
782,
758,
9625,
1551,
45,
429,
1671,
49,
6520,
9625,
1551,
2302,
46,
320,
310,
6459,
27624,
51,
489,
45,
1076,
49,
2302,
312,
303,
339,
465,
581,
782,
758,
2148,
5291,
45,
429,
1496,
85,
46,
320,
310,
1496,
5291,
299,
1496,
85,
64,
465,
339,
465,
581,
782,
758,
2117,
5291,
45,
429,
962,
85,
46,
320,
310,
962,
5291,
299,
962,
85,
64,
465,
339,
465,
581,
5068,
65,
2345,
2134,
600,
3171,
67,
391,
2345,
2134,
600,
11549,
45,
671,
300,
1909,
49,
910,
12379,
46,
320,
310,
5068,
65,
2345,
2134,
600,
3171,
67,
41561,
299,
556,
5068,
6984,
310,
4101,
51,
2824,
459,
795,
23202,
43065,
1139,
51,
471,
2345,
2134,
600,
11549,
63,
11214,
742,
310,
648,
1671,
299,
244,
53,
64,
310,
456,
327,
93,
58,
53,
62,
9625,
3499,
6459,
63,
25174,
46,
320,
343,
24711,
2134,
600,
3171,
6459,
3171,
299,
556,
24711,
2134,
600,
3171,
492,
1083,
453,
3557,
1470,
343,
21721,
4569,
100,
33292,
299,
6459,
51,
390,
43553,
492,
1083,
910,
9965,
2960,
299,
4569,
100,
33292,
51,
3127,
45,
54,
59,
312,
343,
910,
4569,
1936,
299,
332,
53,
125,
39,
494,
9965,
2960,
64,
343,
6459,
3171,
51,
489,
43553,
45,
3557,
1936,
312,
1083,
910,
5823,
671,
299,
7292,
51,
11960,
12964,
671,
45,
1886,
312,
343,
910,
828,
299,
9965,
2960,
494,
17029,
494,
5823,
671,
64,
1083,
6459,
3171,
51,
21603,
45,
333,
312,
343,
4101,
51,
2824,
459,
795,
23202,
43065,
1139,
51,
471,
2345,
2134,
600,
11549,
63,
24667,
6459,
27132,
6459,
3171,
51,
7068,
1052,
1083,
453,
1977,
828,
343,
6459,
3171,
51,
489,
1781,
798,
45,
104,
1909,
312,
343,
4101,
51,
2824,
459,
795,
23202,
43065,
1139,
51,
471,
2345,
2134,
600,
11549,
63,
300,
1909,
18310,
494,
300,
1909,
312,
1083,
453,
6954,
343,
434,
40220,
3849,
2395,
51,
6401,
1177,
979,
1671,
350,
3849,
2395,
51,
911,
365,
979,
3241,
2395,
51,
390,
45,
1076,
38341,
762,
46,
320,
419,
6459,
3171,
51,
489,
9016,
45,
3849,
2395,
51,
390,
45,
1076,
894,
419,
4101,
51,
2824,
459,
795,
23202,
43065,
1139,
51,
471,
2345,
2134,
600,
11549,
63,
7391,
18310,
494,
3241,
2395,
51,
390,
45,
1076,
894,
343,
339,
832,
320,
419,
4101,
51,
8453,
459,
795,
23202,
43065,
1139,
51,
471,
2345,
2134,
600,
11549,
63,
7391,
666,
2448,
456,
1671,
27132,
1671,
312,
343,
339,
1083,
453,
514,
828,
343,
6459,
3171,
51,
489,
24726,
45,
1909,
312,
343,
4101,
51,
2824,
459,
795,
23202,
43065,
1139,
51,
471,
2345,
2134,
600,
11549,
63,
12379,
18310,
494,
12379,
312,
1083,
453,
38708,
343,
434,
40220,
112,
2529,
51,
6401,
1177,
979,
1671,
350,
112,
2529,
51,
911,
365,
979,
851,
2529,
51,
390,
45,
1076,
38341,
762,
46,
320,
419,
6459,
3171,
51,
489,
38708,
45,
112,
2529,
51,
390,
45,
1076,
894,
419,
4101,
51,
2824,
459,
795,
23202,
43065,
1139,
51,
471,
2345,
2134,
600,
11549,
63,
1221,
638,
18310,
494,
851,
2529,
51,
390,
45,
1076,
894,
343,
339,
832,
320,
419,
4101,
51,
8453,
459,
795,
23202,
43065,
1139,
51,
471,
2345,
2134,
600,
11549,
63,
1221,
638,
666,
2448,
456,
1671,
27132,
1671,
312,
343,
339,
1083,
453,
1977,
847,
343,
434,
40220,
1977,
2439,
51,
6401,
1177,
979,
1671,
350,
1977,
2439,
51,
911,
365,
979,
2421,
2439,
51,
390,
45,
1076,
38341,
762,
46,
320,
419,
4101,
51,
2824,
459,
795,
23202,
43065,
1139,
51,
471,
2345,
2134,
600,
11549,
63,
2421,
638,
366,
494,
2421,
2439,
51,
390,
45,
1076,
894,
419,
6459,
3171,
51,
26646,
45,
1977,
2439,
51,
390,
45,
1076,
894,
419,
4101,
51,
2824,
459,
795,
23202,
43065,
1139,
51,
471,
2345,
2134,
600,
11549,
63,
2421,
638,
758,
742,
343,
339,
832,
320,
419,
4101,
51,
8453,
459,
795,
23202,
43065,
1139,
51,
471,
2345,
2134,
600,
11549,
63,
2421,
638,
666,
2448,
456,
1671,
27132,
1671,
312,
419,
453,
7007,
3171,
51,
26646,
10928,
343,
339,
1083,
453,
7007,
2302,
343,
434,
40220,
7007,
27624,
51,
6401,
1177,
979,
1671,
350,
6459,
27624,
51,
911,
365,
979,
6459,
27624,
51,
390,
45,
1076,
46,
882,
762,
46,
320,
419,
4101,
51,
2824,
459,
795,
23202,
43065,
1139,
51,
471,
2345,
2134,
600,
11549,
63,
6459,
2302,
366,
494,
6459,
27624,
51,
390,
45,
1076,
894,
419,
6459,
3171,
51,
26860,
45,
7007,
27624,
51,
390,
45,
1076,
566,
3127,
1052,
343,
339,
832,
320,
419,
4101,
51,
8453,
459,
795,
23202,
43065,
1139,
51,
471,
2345,
2134,
600,
11549,
63,
6459,
1551,
666,
2448,
456,
1671,
1941,
494,
1671,
733,
494,
7216,
758,
391,
1263,
4537,
742,
419,
6459,
3171,
51,
26860,
45,
1781,
9625,
1551,
51,
13028,
51,
3127,
1052,
343,
339,
1083,
453,
24257,
343,
910,
29132,
1103,
299,
6459,
51,
390,
24257,
577,
941,
3127,
492,
343,
6459,
3171,
51,
489,
13737,
8410,
1103,
45,
2676,
8410,
1103,
312,
343,
4101,
51,
2824,
459,
795,
23202,
43065,
1139,
51,
471,
2345,
2134,
600,
11549,
63,
31564,
299,
5141,
29132,
1103,
312,
1083,
453,
8273,
343,
910,
5405,
299,
6459,
51,
390,
8273,
577,
941,
3127,
492,
343,
6459,
3171,
51,
489,
8273,
45,
6264,
312,
343,
4101,
51,
2824,
459,
795,
23202,
43065,
1139,
51,
471,
2345,
2134,
600,
11549,
63,
5405,
299,
5141,
5405,
312,
1083,
453,
1355,
5670,
343,
6459,
3171,
51,
489,
2320,
1355,
5670,
45,
7007,
51,
390,
1355,
5670,
1052,
343,
4101,
51,
2824,
459,
795,
23202,
43065,
1139,
51,
471,
2345,
2134,
600,
11549,
63,
666,
5670,
299,
5141,
6459,
51,
390,
1355,
5670,
941,
3127,
1052,
1083,
453,
1355,
5131,
343,
6459,
3171,
51,
489,
2320,
1355,
5131,
45,
7007,
51,
390,
1355,
5131,
1052,
343,
4101,
51,
2824,
459,
795,
23202,
43065,
1139,
51,
471,
2345,
2134,
600,
11549,
63,
666,
5131,
299,
5141,
6459,
51,
390,
1355,
5131,
941,
3127,
1052,
1083,
1276,
10286,
343,
3447,
1197,
6459,
3656,
299,
762,
64,
343,
1614,
320,
419,
6459,
3656,
299,
6459,
51,
390,
18037,
492,
419,
453,
4089,
51,
2824,
459,
795,
23202,
43065,
1139,
51,
471,
2345,
2134,
600,
11549,
63,
6459,
3656,
299,
5141,
27312,
51,
71,
471,
70,
45,
7007,
3656,
894,
419,
4101,
51,
2824,
459,
795,
23202,
43065,
1139,
51,
471,
2345,
2134,
600,
11549,
63,
6459,
11849,
742,
343,
339,
2385,
327,
9546,
42302,
503,
46,
320,
419,
4101,
51,
8453,
459,
795,
23202,
43065,
1139,
51,
471,
2345,
2134,
600,
3171,
63,
6771,
503,
51,
7724,
1046,
503,
312,
419,
453,
10767,
63,
1440,
1083,
339,
343,
6459,
3171,
51,
489,
9546,
45,
17358,
51,
71,
471,
70,
45,
7007,
3656,
894,
343,
588,
343,
453,
20376,
1372,
391,
341,
4668,
10286,
790,
10286,
418,
27716,
343,
1614,
320,
419,
910,
331,
7335,
299,
7292,
51,
390,
9625,
70,
7335,
671,
45,
7007,
312,
419,
6459,
3171,
51,
489,
9546,
45,
14402,
312,
343,
339,
2385,
327,
74,
1778,
1002,
542,
6300,
503,
46,
320,
419,
4101,
51,
8453,
459,
795,
23202,
43065,
1139,
63,
332,
494,
503,
51,
7724,
1046,
503,
312,
343,
339,
1083,
41561,
51,
688,
45,
7007,
3171,
312,
1083,
1671,
3348,
310,
339,
310,
4101,
51,
2824,
459,
795,
23202,
43065,
1139,
51,
471,
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
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 2,442
| true
| 63.533499
| true
| true
|
CompiereComboBoxUI.java
|
/FileExtraction/Java_unseen/adempiere_adempiere/client/src/org/compiere/plaf/CompiereComboBoxUI.java
|
/******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
* This program is free software; you can redistribute it and/or modify it *
* under the terms version 2 of the GNU General Public License as published *
* by the Free Software Foundation. This program is distributed in the hope *
* that it will be useful, but WITHOUT ANY WARRANTY; without even the implied *
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU General Public License for more details. *
* You should have received a copy of the GNU General Public License along *
* with this program; if not, write to the Free Software Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
* For the text or an alternative of this public license, you may reach us *
* ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *
* or via [email protected] or http://www.compiere.org/license.html *
*****************************************************************************/
package org.compiere.plaf;
import java.awt.event.MouseListener;
import javax.swing.Icon;
import javax.swing.JButton;
import javax.swing.JComponent;
import javax.swing.plaf.ComponentUI;
import javax.swing.plaf.basic.ComboPopup;
import javax.swing.plaf.metal.MetalComboBoxButton;
import javax.swing.plaf.metal.MetalComboBoxUI;
/**
* Adempiere ComboBox UI.
* The ComboBox is opaque - with opaque arrow button and textfield background
*
* @author Jorg Janke
* @version $Id: AdempiereComboBoxUI.java,v 1.2 2006/07/30 00:52:24 jjanke Exp $
*/
public class CompiereComboBoxUI extends MetalComboBoxUI
{
/**
* Create UI
* @param c
* @return new instance of AdempiereComboBoxUI
*/
public static ComponentUI createUI(JComponent c)
{
return new CompiereComboBoxUI();
} // CreateUI
/*************************************************************************/
static int s_no = 0;
/**
* Install UI - Set ComboBox opaque.
* Bug in Metal: arrowButton gets Mouse Events, so add the JComboBox
* MouseListeners to the arrowButton
* @see org.compiere.swing.CComboBox#addMouseListener(MouseListener)
* @param c componrnt
*/
public void installUI (JComponent c)
{
MouseListener[] ml = c.getMouseListeners();
super.installUI(c);
c.setOpaque(false);
//
for (int i = 0; i < ml.length; i++)
{
// System.out.println("adding " + c.getClass().getName());
arrowButton.addMouseListener(ml[i]);
}
} // installUI
/*************************************************************************/
/**
* Create opaque button
* @return opaque button
*/
protected JButton createArrowButton()
{
JButton button = super.createArrowButton();
button.setContentAreaFilled(false);
button.setOpaque(false);
return button;
} // createArrowButton
public JButton getArrowButton()
{
return arrowButton;
}
/**
* Set Icon of arrow button
* @param defaultIcon
*/
public void setIcon(Icon defaultIcon)
{
((MetalComboBoxButton)arrowButton).setComboIcon(defaultIcon);
} // setIcon
/*************************************************************************/
/**
* Create Popup
* @return AdempiereComboPopup
*/
protected ComboPopup createPopup()
{
CompiereComboPopup newPopup = new CompiereComboPopup( comboBox );
newPopup.getAccessibleContext().setAccessibleParent(comboBox);
return newPopup;
} // createPopup
} // AdempiereComboBoxUI
| 3,833
|
Java
|
.java
|
adempiere/adempiere
| 780
| 770
| 560
|
2015-01-08T01:15:53Z
|
2024-04-22T22:00:16Z
|
5977f392fa855e03e9974e451330d5222160c3f14d4cd87b59f009f5b578a84a
|
[
48063,
222,
338,
7697,
63,
418,
305,
17208,
767,
535,
5743,
568,
9975,
82,
18852,
17256,
12219,
7704,
338,
222,
338,
2657,
327,
72,
46,
244,
54,
62,
62,
62,
50,
55,
53,
53,
59,
2780,
12566,
767,
49,
6367,
51,
3381,
12902,
11921,
51,
2087,
338,
222,
338,
1369,
3477,
458,
3760,
2951,
64,
863,
902,
14081,
580,
480,
52,
290,
5370,
580,
283,
338,
222,
338,
1549,
341,
5974,
1522,
244,
55,
451,
341,
6994,
6153,
5062,
1196,
641,
9582,
280,
338,
222,
338,
829,
341,
7834,
3870,
7120,
51,
1369,
3477,
458,
2744,
347,
341,
9850,
280,
338,
222,
338,
708,
580,
1118,
545,
6386,
49,
1294,
4213,
2979,
9345,
64,
2895,
4462,
341,
4506,
338,
222,
338,
14319,
451,
7934,
575,
8114,
4800,
418,
7848,
7763,
51,
2281,
338,
222,
338,
2819,
341,
6994,
6153,
5062,
1196,
456,
1851,
4261,
51,
7704,
338,
222,
338,
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
6153,
5062,
1196,
7979,
283,
338,
222,
338,
642,
477,
3477,
64,
434,
666,
49,
2886,
391,
341,
7834,
3870,
7120,
49,
6367,
4345,
283,
338,
222,
338,
244,
58,
62,
38849,
17693,
49,
25280,
244,
56,
56,
53,
49,
25006,
49,
13083,
244,
53,
55,
54,
54,
54,
50,
54,
56,
53,
60,
15067,
51,
6039,
338,
222,
338,
2643,
341,
1367,
575,
619,
15541,
451,
477,
581,
3553,
49,
863,
1648,
15678,
1790,
283,
338,
222,
338,
2780,
12566,
767,
49,
6367,
4345,
244,
55,
59,
55,
53,
34574,
501,
17454,
51,
607,
55,
57,
58,
49,
377,
19712,
409,
4055,
102,
49,
10562,
244,
62,
58,
53,
58,
57,
49,
15067,
370,
338,
222,
338,
575,
4745,
3116,
69,
998,
47475,
51,
1107,
575,
1930,
574,
1516,
51,
998,
47475,
51,
1107,
52,
2094,
51,
935,
2281,
338,
222,
13533,
22121,
222,
1337,
1105,
51,
998,
47475,
51,
576,
1566,
64,
222,
222,
485,
1401,
51,
8236,
51,
1585,
51,
6042,
2239,
64,
222,
222,
485,
3698,
51,
5934,
51,
2930,
64,
222,
485,
3698,
51,
5934,
51,
32880,
64,
222,
485,
3698,
51,
5934,
51,
79,
1735,
64,
222,
485,
3698,
51,
5934,
51,
576,
1566,
51,
1735,
2299,
64,
222,
485,
3698,
51,
5934,
51,
576,
1566,
51,
6404,
51,
8989,
11131,
64,
222,
485,
3698,
51,
5934,
51,
576,
1566,
51,
23188,
51,
35145,
11248,
1732,
64,
222,
485,
3698,
51,
5934,
51,
576,
1566,
51,
23188,
51,
35145,
11248,
2299,
64,
499,
222,
1350,
222,
338,
244,
418,
305,
17208,
767,
35379,
1723,
5326,
51,
222,
338,
244,
906,
35379,
1723,
458,
32376,
449,
642,
32376,
14779,
3467,
480,
1367,
1512,
3224,
222,
338,
222,
338,
244,
496,
2133,
281,
990,
1107,
14336,
498,
222,
338,
244,
496,
1687,
283,
417,
625,
63,
418,
305,
17208,
767,
11248,
2299,
51,
1874,
49,
123,
244,
54,
51,
55,
244,
55,
53,
53,
59,
52,
53,
60,
52,
56,
53,
244,
53,
53,
63,
58,
55,
63,
55,
57,
614,
18605,
498,
9665,
417,
222,
588,
222,
942,
462,
2270,
47475,
11248,
2299,
2041,
8357,
298,
11248,
2299,
222,
128,
222,
221,
1350,
376,
338,
244,
2673,
5326,
376,
338,
244,
496,
772,
300,
376,
338,
244,
496,
620,
556,
1998,
451,
418,
305,
17208,
767,
11248,
2299,
376,
588,
222,
221,
942,
924,
5715,
2299,
1506,
2299,
45,
79,
1735,
300,
46,
222,
221,
128,
376,
221,
620,
556,
2270,
47475,
11248,
2299,
492,
222,
221,
130,
280,
453,
244,
2673,
2299,
499,
221,
11528,
1975,
499,
221,
1592,
648,
328,
100,
1365,
299,
244,
53,
64,
222,
221,
1350,
376,
338,
244,
6764,
5326,
449,
1776,
35379,
1723,
32376,
51,
376,
338,
244,
12548,
347,
8357,
298,
63,
14779,
1732,
8572,
16263,
17874,
49,
1278,
1035,
341,
990,
11248,
376,
338,
244,
16263,
14625,
391,
341,
14779,
1732,
376,
338,
244,
496,
2987,
1105,
51,
998,
47475,
51,
5934,
51,
72,
11248,
40,
688,
6042,
2239,
45,
6042,
2239,
46,
376,
338,
244,
496,
772,
300,
940,
286,
119,
585,
376,
588,
222,
221,
942,
782,
2462,
2299,
327,
79,
1735,
300,
46,
222,
221,
128,
376,
221,
6042,
2239,
1197,
14963,
299,
300,
51,
390,
6042,
14625,
492,
376,
221,
5282,
51,
3806,
2299,
45,
104,
312,
376,
221,
104,
51,
489,
31045,
45,
1886,
312,
376,
221,
325,
376,
221,
999,
327,
429,
613,
299,
244,
53,
64,
613,
350,
14963,
51,
1340,
64,
613,
2002,
376,
221,
128,
376,
221,
325,
221,
1615,
51,
560,
51,
3962,
459,
2386,
332,
494,
300,
51,
9699,
941,
5175,
1052,
374,
221,
6477,
1732,
51,
688,
6042,
2239,
45,
713,
96,
110,
2004,
376,
221,
130,
499,
221,
130,
280,
453,
244,
2462,
2299,
499,
221,
11528,
1975,
499,
221,
1350,
376,
338,
244,
2673,
32376,
3467,
376,
338,
244,
496,
620,
32376,
3467,
376,
588,
222,
221,
5332,
24328,
1506,
12514,
1732,
365,
222,
221,
128,
376,
221,
32880,
3467,
299,
2615,
51,
1315,
12514,
1732,
492,
376,
221,
1654,
51,
29480,
5585,
23963,
45,
1886,
312,
376,
221,
1654,
51,
489,
31045,
45,
1886,
312,
376,
221,
620,
3467,
64,
222,
221,
130,
280,
453,
244,
1506,
12514,
1732,
499,
221,
942,
24328,
640,
12514,
1732,
365,
222,
221,
128,
376,
221,
620,
14779,
1732,
64,
222,
221,
130,
499,
221,
1350,
376,
338,
244,
1776,
10165,
244,
451,
14779,
3467,
376,
338,
244,
496,
772,
1263,
2930,
376,
588,
222,
221,
942,
782,
758,
2930,
45,
2930,
1263,
2930,
46,
222,
221,
128,
376,
221,
1181,
35145,
11248,
1732,
46,
6477,
1732,
566,
489,
8989,
2930,
45,
1555,
2930,
312,
222,
221,
130,
280,
453,
244,
758,
2930,
499,
221,
11528,
1975,
499,
221,
1350,
376,
338,
244,
2673,
35489,
376,
338,
244,
496,
620,
418,
305,
17208,
767,
8989,
11131,
376,
588,
222,
221,
5332,
35379,
11131,
1506,
11131,
365,
222,
221,
128,
376,
221,
1000,
47475,
8989,
11131,
556,
11131,
299,
556,
2270,
47475,
8989,
11131,
45,
22273,
1723,
1110,
376,
221,
909,
11131,
51,
390,
20803,
1237,
941,
45167,
4449,
45,
35884,
312,
376,
221,
620,
556,
11131,
64,
222,
221,
130,
280,
453,
244,
1506,
11131,
222,
222,
130,
280,
453,
244,
418,
305,
17208,
767,
11248,
2299,
222
] |
[
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1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1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 1,031
| true
| 60.446357
| true
| true
|
ENNRS.java
|
/FileExtraction/Java_unseen/SCI2SUGR_KEEL/src/keel/Algorithms/Instance_Selection/ENNRS/ENNRS.java
|
/***********************************************************************
This file is part of KEEL-software, the Data Mining tool for regression,
classification, clustering, pattern mining and so on.
Copyright (C) 2004-2010
F. Herrera ([email protected])
L. Sánchez ([email protected])
J. Alcalá-Fdez ([email protected])
S. García ([email protected])
A. Fernández ([email protected])
J. Luengo ([email protected])
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see http://www.gnu.org/licenses/
**********************************************************************/
//
// ENNRS.java
//
// Salvador García López
//
// Created by Salvador García López 17-7-2004.
// Copyright (c) 2004 __MyCompanyName__. All rights reserved.
//
package keel.Algorithms.Instance_Selection.ENNRS;
import keel.Algorithms.Preprocess.Basic.*;
import keel.Dataset.*;
import org.core.*;
import java.util.StringTokenizer;
import java.util.Vector;
/**
*
* File: ENNRS.java
*
* The ENN Instance Selection algorithm.
*
* @author Written by Salvador García (University of Granada) 20/07/2004
* @version 0.1
* @since JDK1.5
*
*/
public class ENNRS extends Metodo{
/*Own paremeters of the algorithm*/
private long semilla;
private int k;
private double porcentaje;
private int n;
/**
* Default builder. Construct the algoritm by using the superclass builder.
* @param ficheroScript Configuration script
*/
public ENNRS (String ficheroScript) {
super (ficheroScript);
}
/**
* Executes the algorithm
*/
public void ejecutar () {
int i, j, l, m, o;
int nClases;
int claseObt;
boolean marcas[];
double conjS[][];
int clasesS[];
int eleS[], eleT[];
int bestAc, aciertos;
int temp[];
int pos, tmp;
long tiempo = System.currentTimeMillis();
/*Getting the number of different classes*/
nClases = 0;
for (i=0; i<clasesTrain.length; i++)
if (clasesTrain[i] > nClases)
nClases = clasesTrain[i];
nClases++;
/*Inicialization of the flagged instance vector of the S set*/
marcas = new boolean[datosTrain.length];
for (i=0; i<datosTrain.length; i++)
marcas[i] = false;
/*Allocate memory for the random selection*/
m = (int)((porcentaje * datosTrain.length) / 100.0);
eleS = new int[m];
eleT = new int[datosTrain.length - m];
temp = new int[datosTrain.length];
for (i=0; i<datosTrain.length; i++)
temp[i] = i;
/**Random distribution of elements in each set*/
Randomize.setSeed (semilla);
for (i=0; i<eleS.length; i++) {
pos = Randomize.Randint (i, datosTrain.length-1);
tmp = temp[i];
temp[i] = temp[pos];
temp[pos] = tmp;
eleS[i] = temp[i];
}
for (i=0; i<eleT.length; i++) {
pos = Randomize.Randint (m+i, datosTrain.length-1);
tmp = temp[m+i];
temp[m+i] = temp[pos];
temp[pos] = tmp;
eleT[i] = temp[m+i];
}
for (i=0; i<eleS.length; i++)
marcas[eleS[i]] = true;
/*Building of the S set from the flags*/
conjS = new double[m][datosTrain[0].length];
clasesS = new int[m];
for (o=0, l=0; o<datosTrain.length; o++) {
if (marcas[o]) { //the instance will be evaluated
for (j=0; j<datosTrain[0].length; j++) {
conjS[l][j] = datosTrain[o][j];
}
clasesS[l] = clasesTrain[o];
l++;
}
}
/*Evaluation of the S set*/
bestAc = 0;
for (i=0; i<datosTrain.length; i++) {
claseObt = KNN.evaluacionKNN2 (k, conjS, clasesS, datosTrain[i], nClases);
if (claseObt == clasesTrain[i]) //correct clasification
bestAc++;
}
/*Body of the ENNRS algorithm. Change the S set in each iteration for instances
of the T set until get a complete sustitution*/
for (i=0; i<n; i++) {
/*Preparation the set to interchange*/
for (j=0; j<eleS.length; j++) {
pos = Randomize.Randint (j, eleT.length-1);
tmp = eleT[j];
eleT[j] = eleT[pos];
eleT[pos] = tmp;
}
/*Interchange of instances*/
for (j=0; j<eleS.length; j++) {
tmp = eleS[j];
eleS[j] = eleT[j];
eleT[j] = tmp;
marcas[eleS[j]] = true;
marcas[eleT[j]] = false;
}
/*Building of the S set from the flags*/
for (o=0, l=0; o<datosTrain.length; o++) {
if (marcas[o]) { //the instance will evaluate
for (j=0; j<datosTrain[0].length; j++) {
conjS[l][j] = datosTrain[o][j];
}
clasesS[l] = clasesTrain[o];
l++;
}
}
/*Evaluation of the S set*/
aciertos = 0;
for (j=0; j<datosTrain.length; j++) {
claseObt = KNN.evaluacionKNN2 (k, conjS, clasesS, datosTrain[j], nClases);
if (claseObt == clasesTrain[j]) //correct clasification
aciertos++;
}
if (aciertos > bestAc) { //keep S
bestAc = aciertos;
} else { //undo changes
for (j=0; j<eleS.length; j++) {
tmp = eleS[j];
eleS[j] = eleT[j];
eleT[j] = tmp;
marcas[eleS[j]] = true;
marcas[eleT[j]] = false;
}
}
}
/*Building of the S set from the flags*/
/*Building of the S set from the flags*/
for (o=0, l=0; o<datosTrain.length; o++) {
if (marcas[o]) { //the instance will evaluate
for (j=0; j<datosTrain[0].length; j++) {
conjS[l][j] = datosTrain[o][j];
}
clasesS[l] = clasesTrain[o];
l++;
}
}
System.out.println("ENNRS "+ relation + " " + (double)(System.currentTimeMillis()-tiempo)/1000.0 + "s");
// COn conjS me vale.
int trainRealClass[][];
int trainPrediction[][];
trainRealClass = new int[datosTrain.length][1];
trainPrediction = new int[datosTrain.length][1];
//Working on training
for ( i=0; i<datosTrain.length; i++) {
trainRealClass[i][0] = clasesTrain[i];
trainPrediction[i][0] = KNN.evaluate(datosTrain[i],conjS, nClases, clasesS, this.k);
}
KNN.writeOutput(ficheroSalida[0], trainRealClass, trainPrediction, entradas, salida, relation);
//Working on test
int realClass[][] = new int[datosTest.length][1];
int prediction[][] = new int[datosTest.length][1];
//Check time
for (i=0; i<realClass.length; i++) {
realClass[i][0] = clasesTest[i];
prediction[i][0]= KNN.evaluate(datosTest[i],conjS, nClases, clasesS, this.k);
}
KNN.writeOutput(ficheroSalida[1], realClass, prediction, entradas, salida, relation);
}
public void leerConfiguracion (String ficheroScript) {
String fichero, linea, token;
StringTokenizer lineasFichero, tokens;
byte line[];
int i, j;
ficheroSalida = new String[2];
fichero = Fichero.leeFichero (ficheroScript);
lineasFichero = new StringTokenizer (fichero,"\n\r");
lineasFichero.nextToken();
linea = lineasFichero.nextToken();
tokens = new StringTokenizer (linea, "=");
tokens.nextToken();
token = tokens.nextToken();
/*Getting the names of the training and test files*/
line = token.getBytes();
for (i=0; line[i]!='\"'; i++);
i++;
for (j=i; line[j]!='\"'; j++);
ficheroTraining = new String (line,i,j-i);
for (i=j+1; line[i]!='\"'; i++);
i++;
for (j=i; line[j]!='\"'; j++);
ficheroValidation = new String (line,i,j-i);
for (i=j+1; line[i]!='\"'; i++);
i++;
for (j=i; line[j]!='\"'; j++);
ficheroTest = new String (line,i,j-i);
/*Getting the path and base name of the results files*/
linea = lineasFichero.nextToken();
tokens = new StringTokenizer (linea, "=");
tokens.nextToken();
token = tokens.nextToken();
/*Getting the names of output files*/
line = token.getBytes();
for (i=0; line[i]!='\"'; i++);
i++;
for (j=i; line[j]!='\"'; j++);
ficheroSalida[0] = new String (line,i,j-i);
for (i=j+1; line[i]!='\"'; i++);
i++;
for (j=i; line[j]!='\"'; j++);
ficheroSalida[1] = new String (line,i,j-i);
/*Getting the seed*/
linea = lineasFichero.nextToken();
tokens = new StringTokenizer (linea, "=");
tokens.nextToken();
semilla = Long.parseLong(tokens.nextToken().substring(1));
/*Getting the number of neighbors*/
linea = lineasFichero.nextToken();
tokens = new StringTokenizer (linea, "=");
tokens.nextToken();
k = Integer.parseInt(tokens.nextToken().substring(1));
/*Getting the percentage*/
linea = lineasFichero.nextToken();
tokens = new StringTokenizer (linea, "=");
tokens.nextToken();
porcentaje = Double.parseDouble(tokens.nextToken().substring(1));
/*Getting the number of iterations*/
linea = lineasFichero.nextToken();
tokens = new StringTokenizer (linea, "=");
tokens.nextToken();
n = Integer.parseInt(tokens.nextToken().substring(1));
}
}
| 10,352
|
Java
|
.java
|
SCI2SUGR/KEEL
| 126
| 50
| 18
|
2015-09-18T07:40:54Z
|
2018-03-05T17:45:40Z
|
4992cc65e59c224bc9511b9af3bc91d65c8c6b97d8036ee216ab7240884fd860
|
[
18200,
14525,
499,
221,
2287,
822,
458,
1760,
451,
1242,
74,
2165,
50,
12300,
49,
341,
2426,
7535,
318,
4572,
456,
18051,
49,
1676,
221,
15358,
49,
34406,
49,
5275,
42440,
480,
1278,
563,
51,
499,
221,
10585,
327,
72,
46,
244,
55,
53,
53,
57,
50,
55,
53,
54,
53,
3038,
221,
75,
51,
696,
549,
3017,
327,
109,
549,
3017,
69,
305,
1766,
3063,
51,
122,
791,
51,
326,
46,
303,
517,
51,
377,
9045,
1075,
127,
327,
11508,
25720,
69,
330,
735,
4811,
51,
326,
46,
303,
990,
51,
2770,
1299,
1597,
50,
75,
36964,
327,
39515,
1299,
102,
69,
305,
1766,
3063,
51,
122,
791,
51,
326,
46,
303,
377,
51,
590,
10272,
15559,
327,
1889,
18483,
127,
69,
122,
4615,
291,
51,
326,
46,
303,
418,
51,
525,
2369,
9045,
36964,
327,
298,
47192,
51,
1036,
10158,
36964,
69,
122,
4615,
291,
51,
326,
46,
303,
990,
51,
45304,
838,
116,
327,
30152,
2560,
12779,
69,
305,
1766,
3063,
51,
122,
791,
51,
326,
46,
499,
221,
2287,
3477,
458,
3760,
2951,
63,
863,
902,
14081,
580,
480,
52,
290,
5370,
222,
221,
302,
1549,
341,
5974,
451,
341,
6994,
6153,
5062,
1196,
641,
9582,
829,
222,
221,
1402,
7834,
3870,
7120,
49,
3173,
1522,
244,
56,
451,
341,
1196,
49,
575,
222,
221,
45,
288,
1390,
2489,
46,
1364,
6146,
1522,
51,
499,
221,
2287,
3477,
458,
2744,
347,
341,
9850,
708,
580,
1118,
545,
6386,
49,
222,
221,
717,
4213,
2979,
9345,
64,
2895,
4462,
341,
4506,
14319,
451,
222,
221,
22265,
7760,
575,
8114,
4800,
418,
7848,
7763,
51,
244,
2819,
341,
222,
221,
21307,
6153,
5062,
1196,
456,
1851,
4261,
51,
499,
221,
4296,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
6153,
5062,
1196,
222,
221,
40307,
642,
477,
3477,
51,
244,
1691,
666,
49,
2337,
1930,
574,
1516,
51,
10627,
51,
1107,
52,
4205,
52,
682,
222,
4241,
13214,
222,
222,
325,
222,
222,
325,
244,
3650,
83,
10187,
51,
1874,
222,
222,
325,
222,
222,
325,
244,
23082,
123,
6725,
590,
10272,
15559,
517,
2122,
367,
127,
222,
222,
325,
222,
222,
325,
244,
6956,
829,
23082,
123,
6725,
590,
10272,
15559,
517,
2122,
367,
127,
244,
54,
60,
50,
60,
50,
55,
53,
53,
57,
51,
222,
222,
325,
244,
2657,
327,
104,
46,
244,
55,
53,
53,
57,
1176,
3781,
12318,
577,
9822,
3381,
4760,
5225,
51,
222,
222,
325,
3067,
222,
1337,
3973,
361,
51,
30627,
51,
1825,
100,
5385,
51,
737,
83,
10187,
64,
222,
222,
485,
3973,
361,
51,
30627,
51,
2641,
2441,
51,
7114,
7737,
222,
222,
485,
3973,
361,
51,
9440,
7737,
222,
485,
1105,
51,
1284,
7737,
3067,
222,
485,
1401,
51,
1058,
51,
671,
22411,
64,
222,
222,
485,
1401,
51,
1058,
51,
2880,
64,
499,
222,
1350,
222,
338,
1676,
338,
2050,
63,
3650,
83,
10187,
51,
1874,
222,
338,
1676,
338,
906,
3650,
83,
11619,
19085,
8274,
51,
222,
338,
1676,
338,
496,
2133,
48449,
829,
23082,
123,
6725,
590,
10272,
15559,
327,
37137,
451,
8102,
297,
4252,
46,
244,
55,
53,
52,
53,
60,
52,
55,
53,
53,
57,
1676,
338,
496,
1687,
244,
53,
51,
54,
1676,
338,
496,
8152,
33047,
54,
51,
58,
222,
338,
1676,
588,
222,
942,
462,
3650,
83,
10187,
2041,
8357,
6049,
128,
36091,
1276,
8142,
39216,
24670,
451,
341,
8274,
1975,
736,
964,
1964,
8804,
6815,
64,
736,
964,
648,
851,
64,
736,
964,
2082,
7673,
2488,
13969,
64,
736,
964,
648,
329,
64,
499,
222,
1350,
294,
338,
4119,
4914,
51,
12983,
341,
763,
3426,
44167,
829,
1493,
341,
37435,
4914,
51,
4107,
338,
496,
772,
21105,
2168,
3223,
8149,
3273,
294,
588,
353,
581,
3650,
83,
10187,
327,
671,
21105,
2168,
3223,
46,
320,
303,
2615,
327,
46570,
2168,
3223,
312,
353,
339,
499,
222,
1350,
376,
338,
6798,
3699,
341,
8274,
376,
588,
5246,
581,
782,
27575,
36891,
1423,
320,
17522,
648,
613,
49,
614,
49,
475,
49,
364,
49,
356,
64,
465,
648,
329,
2180,
5657,
64,
465,
648,
44801,
2263,
121,
64,
465,
1922,
364,
10272,
321,
10855,
465,
2082,
18491,
88,
1197,
10855,
465,
648,
1553,
5657,
88,
10855,
465,
648,
16717,
88,
10022,
16717,
89,
10855,
465,
648,
5318,
1609,
49,
1449,
2506,
10382,
64,
465,
648,
1798,
10855,
465,
648,
3423,
49,
3709,
64,
17522,
1964,
39161,
299,
1189,
51,
17217,
492,
17522,
1276,
20479,
341,
1470,
451,
3473,
6052,
1975,
465,
329,
2180,
5657,
299,
244,
53,
64,
465,
456,
327,
110,
66,
53,
64,
613,
65,
592,
5657,
18076,
51,
1340,
64,
613,
2002,
1704,
434,
327,
592,
5657,
18076,
96,
110,
98,
868,
329,
2180,
5657,
46,
603,
329,
2180,
5657,
299,
1553,
5657,
18076,
96,
110,
988,
465,
329,
2180,
5657,
3348,
17522,
1276,
402,
9328,
1668,
451,
341,
4666,
3899,
1998,
4065,
451,
341,
377,
758,
1975,
465,
364,
10272,
321,
299,
556,
1922,
96,
21570,
18076,
51,
1340,
988,
465,
456,
327,
110,
66,
53,
64,
613,
65,
21570,
18076,
51,
1340,
64,
613,
2002,
1704,
364,
10272,
321,
96,
110,
98,
299,
920,
64,
17522,
1276,
24833,
4137,
456,
341,
4051,
7818,
1975,
465,
364,
299,
327,
429,
18161,
6000,
2488,
13969,
338,
14147,
18076,
51,
1340,
46,
536,
244,
54,
53,
53,
51,
53,
312,
465,
16717,
88,
299,
556,
648,
96,
114,
988,
465,
16717,
89,
299,
556,
648,
96,
21570,
18076,
51,
1340,
449,
364,
988,
465,
1798,
299,
556,
648,
96,
21570,
18076,
51,
1340,
988,
465,
456,
327,
110,
66,
53,
64,
613,
65,
21570,
18076,
51,
1340,
64,
613,
2002,
1704,
1798,
96,
110,
98,
299,
613,
64,
17522,
1041,
6124,
7507,
451,
4725,
347,
2531,
758,
1975,
465,
9607,
537,
51,
489,
11483,
327,
6631,
6815,
312,
465,
456,
327,
110,
66,
53,
64,
613,
65,
13560,
88,
51,
1340,
64,
613,
2002,
320,
1704,
3423,
299,
9607,
537,
51,
27301,
429,
327,
110,
49,
14147,
18076,
51,
1340,
50,
54,
312,
1704,
3709,
299,
1798,
96,
110,
988,
1704,
1798,
96,
110,
98,
299,
1798,
96,
985,
988,
1704,
1798,
96,
985,
98,
299,
3709,
64,
1704,
16717,
88,
96,
110,
98,
299,
1798,
96,
110,
988,
465,
339,
465,
456,
327,
110,
66,
53,
64,
613,
65,
13560,
89,
51,
1340,
64,
613,
2002,
320,
1704,
3423,
299,
9607,
537,
51,
27301,
429,
327,
114,
48,
110,
49,
14147,
18076,
51,
1340,
50,
54,
312,
1704,
3709,
299,
1798,
96,
114,
48,
110,
988,
1704,
1798,
96,
114,
48,
110,
98,
299,
1798,
96,
985,
988,
1704,
1798,
96,
985,
98,
299,
3709,
64,
1704,
16717,
89,
96,
110,
98,
299,
1798,
96,
114,
48,
110,
988,
465,
339,
465,
456,
327,
110,
66,
53,
64,
613,
65,
13560,
88,
51,
1340,
64,
613,
2002,
1704,
364,
10272,
321,
96,
13560,
88,
96,
110,
3234,
299,
878,
64,
17522,
1276,
15009,
451,
341,
377,
758,
664,
341,
5748,
1975,
465,
18491,
88,
299,
556,
2082,
96,
114,
1697,
21570,
18076,
96,
53,
1015,
1340,
988,
465,
1553,
5657,
88,
299,
556,
648,
96,
114,
988,
465,
456,
327,
116,
66,
53,
49,
475,
66,
53,
64,
356,
65,
21570,
18076,
51,
1340,
64,
356,
2002,
320,
1704,
434,
327,
3321,
11258,
96,
116,
1156,
320,
453,
1402,
1998,
1118,
545,
22519,
603,
456,
327,
111,
66,
53,
64,
614,
65,
21570,
18076,
96,
53,
1015,
1340,
64,
614,
2002,
320,
5682,
18491,
88,
96,
113,
1697,
111,
98,
299,
14147,
18076,
96,
116,
1697,
111,
988,
603,
339,
603,
1553,
5657,
88,
96,
113,
98,
299,
1553,
5657,
18076,
96,
116,
988,
603,
475,
3348,
1704,
339,
465,
339,
17522,
1276,
19633,
451,
341,
377,
758,
1975,
465,
5318,
1609,
299,
244,
53,
64,
465,
456,
327,
110,
66,
53,
64,
613,
65,
21570,
18076,
51,
1340,
64,
613,
2002,
320,
1704,
44801,
2263,
121,
299,
1242,
5863,
51,
9185,
5537,
80,
5863,
55,
327,
112,
49,
18491,
88,
49,
1553,
5657,
88,
49,
14147,
18076,
96,
110,
636,
329,
2180,
5657,
312,
1704,
434,
327,
592,
479,
2263,
121,
630,
1553,
5657,
18076,
96,
110,
1156,
244,
453,
11035,
1553,
321,
1884,
603,
5318,
1609,
3348,
465,
339,
17522,
1276,
3069,
451,
341,
3650,
83,
10187,
8274,
51,
5621,
341,
377,
758,
347,
2531,
13403,
456,
6947,
294,
451,
341,
413,
758,
6234,
640,
331,
6179,
328,
695,
10376,
1975,
465,
456,
327,
110,
66,
53,
64,
613,
65,
115,
64,
613,
2002,
320,
1704,
1276,
2641,
21930,
341,
758,
391,
1447,
2357,
1975,
1704,
456,
327,
111,
66,
53,
64,
614,
65,
13560,
88,
51,
1340,
64,
614,
2002,
320,
603,
3423,
299,
9607,
537,
51,
27301,
429,
327,
111,
49,
16717,
89,
51,
1340,
50,
54,
312,
603,
3709,
299,
16717,
89,
96,
111,
988,
603,
16717,
89,
96,
111,
98,
299,
16717,
89,
96,
985,
988,
603,
16717,
89,
96,
985,
98,
299,
3709,
64,
1704,
339,
499,
1704,
1276,
1662,
2357,
451,
6947,
1975,
1704,
456,
327,
111,
66,
53,
64,
614,
65,
13560,
88,
51,
1340,
64,
614,
2002,
320,
603,
3709,
299,
16717,
88,
96,
111,
988,
603,
16717,
88,
96,
111,
98,
299,
16717,
89,
96,
111,
988,
603,
16717,
89,
96,
111,
98,
299,
3709,
64,
603,
364,
10272,
321,
96,
13560,
88,
96,
111,
3234,
299,
878,
64,
603,
364,
10272,
321,
96,
13560,
89,
96,
111,
3234,
299,
920,
64,
1704,
339,
499,
1704,
1276,
15009,
451,
341,
377,
758,
664,
341,
5748,
1975,
1704,
456,
327,
116,
66,
53,
49,
475,
66,
53,
64,
356,
65,
21570,
18076,
51,
1340,
64,
356,
2002,
320,
603,
434,
327,
3321,
11258,
96,
116,
1156,
320,
453,
1402,
1998,
1118,
13552,
5682,
456,
327,
111,
66,
53,
64,
614,
65,
21570,
18076,
96,
53,
1015,
1340,
64,
614,
2002,
320,
1083,
18491,
88,
96,
113,
1697,
111,
98,
299,
14147,
18076,
96,
116,
1697,
111,
988,
5682,
339,
5682,
1553,
5657,
88,
96,
113,
98,
299,
1553,
5657,
18076,
96,
116,
988,
5682,
475,
3348,
603,
339,
1704,
339,
499,
1704,
1276,
19633,
451,
341,
377,
758,
1975,
1704,
1449,
2506,
10382,
299,
244,
53,
64,
1704,
456,
327,
111,
66,
53,
64,
614,
65,
21570,
18076,
51,
1340,
64,
614,
2002,
320,
603,
44801,
2263,
121,
299,
1242,
5863,
51,
9185,
5537,
80,
5863,
55,
327,
112,
49,
18491,
88,
49,
1553,
5657,
88,
49,
14147,
18076,
96,
111,
636,
329,
2180,
5657,
312,
603,
434,
327,
592,
479,
2263,
121,
630,
1553,
5657,
18076,
96,
111,
1156,
244,
453,
11035,
1553,
321,
1884,
5682,
1449,
2506,
10382,
3348,
1704,
339,
499,
1704,
434,
327,
348,
2506,
10382,
868,
5318,
1609,
46,
320,
453,
10530,
377,
603,
5318,
1609,
299,
1449,
2506,
10382,
64,
1704,
339,
832,
320,
453,
16222,
3417,
603,
456,
327,
111,
66,
53,
64,
614,
65,
13560,
88,
51,
1340,
64,
614,
2002,
320,
5682,
3709,
299,
16717,
88,
96,
111,
988,
5682,
16717,
88,
96,
111,
98,
299,
16717,
89,
96,
111,
988,
5682,
16717,
89,
96,
111,
98,
299,
3709,
64,
5682,
364,
10272,
321,
96,
13560,
88,
96,
111,
3234,
299,
878,
64,
5682,
364,
10272,
321,
96,
13560,
89,
96,
111,
3234,
299,
920,
64,
603,
339,
1704,
339,
465,
339,
17522,
1276,
15009,
451,
341,
377,
758,
664,
341,
5748,
1975,
303,
1276,
15009,
451,
341,
377,
758,
664,
341,
5748,
1975,
465,
456,
327,
116,
66,
53,
49,
475,
66,
53,
64,
356,
65,
21570,
18076,
51,
1340,
64,
356,
2002,
320,
1704,
434,
327,
3321,
11258,
96,
116,
1156,
320,
453,
1402,
1998,
1118,
13552,
603,
456,
327,
111,
66,
53,
64,
614,
65,
21570,
18076,
96,
53,
1015,
1340,
64,
614,
2002,
320,
5682,
18491,
88,
96,
113,
1697,
111,
98,
299,
14147,
18076,
96,
116,
1697,
111,
988,
603,
339,
603,
1553,
5657,
88,
96,
113,
98,
299,
1553,
5657,
18076,
96,
116,
988,
603,
475,
3348,
1704,
339,
465,
339,
17522,
1189,
51,
560,
51,
3962,
459,
737,
83,
10187,
6771,
14774,
494,
332,
332,
494,
327,
2640,
2516,
1615,
51,
17217,
17681,
5699,
28358,
4201,
54,
53,
53,
53,
51,
53,
494,
332,
120,
742,
4054,
453,
409,
1501,
18491,
88,
616,
26607,
51,
303,
648,
5877,
6893,
1359,
1197,
10855,
303,
648,
5877,
33417,
1197,
10855,
1819,
294,
5877,
6893,
1359,
299,
556,
648,
96,
21570,
18076,
51,
1340,
1697,
54,
988,
376,
5877,
33417,
299,
556,
648,
96,
21570,
18076,
51,
1340,
1697,
54,
988,
221,
1819,
294,
453,
17817,
563,
7924,
294,
456,
327,
613,
66,
53,
64,
613,
65,
21570,
18076,
51,
1340,
64,
613,
2002,
320,
633,
5877,
6893,
1359,
96,
110,
1697,
53,
98,
299,
1553,
5657,
18076,
96,
110,
988,
633,
5877,
33417,
96,
110,
1697,
53,
98,
299,
1242,
5863,
51,
13876,
45,
21570,
18076,
96,
110,
636,
23306,
88,
49,
329,
2180,
5657,
49,
1553,
5657,
88,
49,
477,
51,
112,
312,
416,
339,
1108,
416,
1242,
5863,
51,
1838,
2319,
45,
46570,
2168,
15694,
8802,
96,
53,
636,
5877,
6893,
1359,
49,
5877,
33417,
49,
244,
1680,
2341,
321,
49,
11460,
8802,
49,
14774,
312,
1108,
1108,
303,
453,
17817,
563,
913,
222,
221,
429,
4033,
1359,
11338,
299,
556,
648,
96,
21570,
1024,
51,
1340,
1697,
54,
988,
222,
221,
429,
17214,
11338,
299,
556,
648,
96,
21570,
1024,
51,
1340,
1697,
54,
988,
221,
3038,
221,
325,
2157,
244,
1153,
313,
621,
222,
221,
999,
327,
110,
66,
53,
64,
613,
65,
4571,
1359,
51,
1340,
64,
613,
2002,
320,
376,
221,
4571,
1359,
96,
110,
1697,
53,
98,
299,
1553,
5657,
1024,
96,
110,
988,
376,
221,
20492,
96,
110,
1697,
53,
7813,
1242,
5863,
51,
13876,
45,
21570,
1024,
96,
110,
636,
23306,
88,
49,
329,
2180,
5657,
49,
1553,
5657,
88,
49,
477,
51,
112,
312,
222,
221,
130,
1819,
294,
1242,
5863,
51,
1838,
2319,
45,
46570,
2168,
15694,
8802,
96,
54,
636,
4033,
1359,
49,
17214,
49,
244,
1680,
2341,
321,
49,
11460,
8802,
49,
14774,
312,
8886,
339,
736,
581,
782,
1018,
284,
14048,
5537,
327,
671,
21105,
2168,
3223,
46,
320,
17522,
910,
21105,
2168,
49,
1646,
102,
49,
2421,
64,
465,
910,
22411,
1646,
321,
75,
1211,
2168,
49,
7960,
64,
465,
3447,
1646,
10855,
465,
648,
613,
49,
614,
64,
17522,
21105,
2168,
15694,
8802,
299,
556,
910,
96,
55,
988,
17522,
21105,
2168,
299,
525,
1211,
2168,
51,
13372,
75,
1211,
2168,
327,
46570,
2168,
3223,
312,
465,
1646,
321,
75,
1211,
2168,
299,
556,
910,
22411,
327,
46570,
2168,
25928,
115,
97,
119,
742,
17522,
1646,
321,
75,
1211,
2168,
51,
34074,
492,
465,
1646,
102,
299,
1646,
321,
75,
1211,
2168,
51,
34074,
492,
17522,
7960,
299,
556,
910,
22411,
327,
948,
102,
49,
29667,
312,
465,
7960,
51,
34074,
492,
465,
2421,
299,
7960,
51,
34074,
492,
17522,
1276,
20479,
341,
4492,
451,
341,
7924,
480,
913,
2293,
1975,
465,
1646,
299,
2421,
51,
19682,
492,
465,
456,
327,
110,
66,
53,
64,
1646,
96,
110,
98,
28041,
1508,
938,
613,
24872,
465,
613,
3348,
465,
456,
327,
111,
66,
110,
64,
1646,
96,
111,
98,
28041,
1508,
938,
614,
24872,
465,
21105,
2168,
20240,
299,
556,
910,
327,
948,
49,
110,
49,
111,
50,
110,
312,
8060,
222,
221,
999,
327,
110,
66,
111,
48,
54,
64,
1646,
96,
110,
98,
28041,
1508,
938,
613,
24872,
222,
221,
110,
3348,
222,
221,
999,
327,
111,
66,
110,
64,
1646,
96,
111,
98,
28041,
1508,
938,
614,
24872,
222,
221,
46570,
2168,
6329,
299,
556,
910,
327,
948,
49,
110,
49,
111,
50,
110,
312,
36675,
456,
327,
110,
66,
111,
48,
54,
64,
1646,
96,
110,
98,
28041,
1508,
938,
613,
24872,
465,
613,
3348,
465,
456,
327,
111,
66,
110,
64,
1646,
96,
111,
98,
28041,
1508,
938,
614,
24872,
465,
21105,
2168,
1024,
299,
556,
910,
327,
948,
49,
110,
49,
111,
50,
110,
312,
17522,
1276,
20479,
341,
1536,
480,
1712,
655,
451,
341,
3300,
2293,
1975,
465,
1646,
102,
299,
1646,
321,
75,
1211,
2168,
51,
34074,
492,
465,
7960,
299,
556,
910,
22411,
327,
948,
102,
49,
29667,
312,
465,
7960,
51,
34074,
492,
465,
2421,
299,
7960,
51,
34074,
492,
17522,
1276,
20479,
341,
4492,
451,
1716,
2293,
1975,
465,
1646,
299,
2421,
51,
19682,
492,
465,
456,
327,
110,
66,
53,
64,
1646,
96,
110,
98,
28041,
1508,
938,
613,
24872,
465,
613,
3348,
465,
456,
327,
111,
66,
110,
64,
1646,
96,
111,
98,
28041,
1508,
938,
614,
24872,
465,
21105,
2168,
15694,
8802,
96,
53,
98,
299,
556,
910,
327,
948,
49,
110,
49,
111,
50,
110,
312,
465,
456,
327,
110,
66,
111,
48,
54,
64,
1646,
96,
110,
98,
28041,
1508,
938,
613,
24872,
465,
613,
3348,
465,
456,
327,
111,
66,
110,
64,
1646,
96,
111,
98,
28041,
1508,
938,
614,
24872,
465,
21105,
2168,
15694,
8802,
96,
54,
98,
299,
556,
910,
327,
948,
49,
110,
49,
111,
50,
110,
312,
45253,
1276,
20479,
341,
9202,
1975,
465,
1646,
102,
299,
1646,
321,
75,
1211,
2168,
51,
34074,
492,
465,
7960,
299,
556,
910,
22411,
327,
948,
102,
49,
29667,
312,
465,
7960,
51,
34074,
492,
465,
8804,
6815,
299,
6374,
51,
2228,
3967,
45,
8433,
51,
34074,
941,
8724,
45,
54,
894,
17522,
1276,
20479,
341,
1470,
451,
25190,
1975,
465,
1646,
102,
299,
1646,
321,
75,
1211,
2168,
51,
34074,
492,
465,
7960,
299,
556,
910,
22411,
327,
948,
102,
49,
29667,
312,
465,
7960,
51,
34074,
492,
465,
851,
299,
4418,
51,
11824,
45,
8433,
51,
34074,
941,
8724,
45,
54,
894,
17522,
1276,
20479,
341,
17773,
1975,
465,
1646,
102,
299,
1646,
321,
75,
1211,
2168,
51,
34074,
492,
465,
7960,
299,
556,
910,
22411,
327,
948,
102,
49,
29667,
312,
465,
7960,
51,
34074,
492,
465,
7673,
2488,
13969,
299,
6938,
51,
38832,
45,
8433,
51,
34074,
941,
8724,
45,
54,
894,
17522,
1276,
20479,
341,
1470,
451,
17700,
1975,
465,
1646,
102,
299,
1646,
321,
75,
1211,
2168,
51,
34074,
492,
465,
7960,
299,
556,
910,
22411,
327,
948,
102,
49,
29667,
312,
465,
7960,
51,
34074,
492,
465,
329,
299,
4418,
51,
11824,
45,
8433,
51,
34074,
941,
8724,
45,
54,
894,
736,
339,
3067,
222,
130,
499
] |
[
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 3,044
| true
| 56.155419
| true
| true
|
PatchModuleDupModule.java
|
/FileExtraction/Java_unseen/corretto_corretto-19/test/hotspot/jtreg/runtime/modules/PatchModule/PatchModuleDupModule.java
|
/*
* Copyright (c) 2016, 2021, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test
* @summary Module system initialization exception results if a module is specificed twice to --patch-module.
* @requires vm.flagless
* @modules java.base/jdk.internal.misc
* @library /test/lib
* @run driver PatchModuleDupModule
*/
import jdk.test.lib.process.OutputAnalyzer;
import jdk.test.lib.process.ProcessTools;
public class PatchModuleDupModule {
// The module system initialization should generate an ExceptionInInitializerError
// if --patch-module is specified with the same module more than once.
public static void main(String args[]) throws Exception {
ProcessBuilder pb = ProcessTools.createJavaProcessBuilder(
"--patch-module=module_one=module_one_dir",
"--patch-module=module_one=module_one_dir",
"-version");
OutputAnalyzer output = new OutputAnalyzer(pb.start());
output.shouldContain("java.lang.ExceptionInInitializerError");
output.shouldHaveExitValue(1);
}
}
| 2,001
|
Java
|
.java
|
corretto/corretto-19
| 12
| 5
| 1
|
2022-08-09T18:56:37Z
|
2023-03-20T21:14:59Z
|
ffeec61a1930edc28e0ba311bee204c670a0a9f8ca6d9e65eb8ddee801b158b5
|
[
1127,
222,
338,
2657,
327,
104,
46,
244,
55,
53,
54,
59,
49,
244,
55,
53,
55,
54,
49,
17980,
480,
52,
290,
2840,
25094,
51,
3381,
4760,
5225,
51,
222,
338,
4103,
2387,
23740,
1895,
35234,
8995,
2387,
11988,
1895,
8968,
10961,
30441,
51,
222,
338,
222,
338,
1369,
1361,
458,
3760,
2951,
64,
863,
902,
14081,
580,
480,
52,
290,
5370,
580,
222,
338,
1549,
341,
5974,
451,
341,
6994,
6153,
5062,
1196,
1522,
244,
55,
1773,
49,
641,
222,
338,
9582,
829,
341,
7834,
3870,
7120,
51,
222,
338,
222,
338,
1369,
1361,
458,
2744,
347,
341,
9850,
708,
580,
1118,
545,
6386,
49,
1294,
4213,
222,
338,
2979,
9345,
64,
2895,
4462,
341,
4506,
14319,
451,
7934,
575,
222,
338,
8114,
4800,
418,
7848,
7763,
51,
244,
2819,
341,
6994,
6153,
5062,
1196,
222,
338,
1522,
244,
55,
456,
1851,
4261,
327,
102,
1948,
458,
5976,
347,
341,
7621,
822,
708,
222,
338,
20854,
297,
4850,
477,
1361,
566,
222,
338,
222,
338,
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
6153,
5062,
1196,
1522,
222,
338,
244,
55,
7979,
642,
477,
1409,
64,
434,
666,
49,
2886,
391,
341,
7834,
3870,
7120,
49,
222,
338,
6367,
4345,
244,
58,
54,
34113,
1277,
49,
33316,
26912,
49,
25006,
49,
13083,
244,
53,
55,
54,
54,
53,
50,
54,
56,
53,
54,
15067,
51,
222,
338,
222,
338,
5304,
7272,
17980,
49,
244,
58,
53,
53,
17980,
27004,
3094,
49,
4777,
21100,
2432,
6868,
49,
10562,
244,
62,
57,
53,
59,
58,
15067,
222,
338,
575,
7739,
19955,
51,
11116,
51,
527,
434,
863,
1868,
5408,
2490,
575,
1178,
1364,
222,
338,
10034,
51,
222,
588,
222,
222,
1127,
222,
338,
496,
881,
222,
338,
496,
1386,
7716,
2684,
13603,
3773,
3300,
434,
331,
2313,
458,
2835,
337,
19487,
391,
790,
2690,
50,
1663,
51,
222,
338,
496,
13980,
8510,
51,
4570,
2290,
222,
338,
496,
3490,
1401,
51,
1460,
52,
12461,
51,
3269,
51,
14495,
222,
338,
496,
5261,
536,
881,
52,
1379,
222,
338,
496,
1967,
5419,
19601,
2478,
30370,
2478,
222,
588,
222,
222,
485,
614,
4532,
51,
881,
51,
1379,
51,
2441,
51,
2319,
17430,
64,
222,
485,
614,
4532,
51,
881,
51,
1379,
51,
2441,
51,
2877,
7926,
64,
222,
222,
942,
462,
19601,
2478,
30370,
2478,
320,
736,
453,
906,
2313,
2684,
13603,
1414,
4468,
619,
3284,
402,
20038,
943,
353,
453,
434,
790,
2690,
50,
1663,
458,
3205,
642,
341,
2454,
2313,
1851,
2806,
5065,
51,
736,
581,
924,
782,
2594,
45,
671,
2194,
9798,
2589,
3284,
320,
303,
6849,
1812,
10292,
299,
6849,
7926,
51,
1315,
5445,
2877,
1812,
45,
416,
7931,
2690,
50,
1663,
66,
1663,
100,
677,
66,
1663,
100,
677,
100,
1537,
411,
416,
7931,
2690,
50,
1663,
66,
1663,
100,
677,
66,
1663,
100,
677,
100,
1537,
411,
416,
4840,
1687,
742,
303,
5601,
17430,
1716,
299,
556,
5601,
17430,
45,
4391,
51,
1384,
1052,
303,
1716,
51,
3179,
19863,
459,
1874,
51,
1600,
51,
1002,
402,
20038,
943,
742,
303,
1716,
51,
3179,
9041,
8121,
899,
45,
54,
312,
353,
339,
222,
130,
222
] |
[
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,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1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 521
| true
| 73.113443
| true
| true
|
MergeBotFactory.java
|
/FileExtraction/Java_unseen/openjdk_skara/bots/merge/src/main/java/org/openjdk/skara/bots/merge/MergeBotFactory.java
|
/*
* Copyright (c) 2019, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
package org.openjdk.skara.bots.merge;
import org.openjdk.skara.bot.*;
import org.openjdk.skara.json.JSON;
import org.openjdk.skara.vcs.Branch;
import java.io.*;
import java.nio.file.Files;
import java.time.DayOfWeek;
import java.time.Month;
import java.util.*;
import java.util.stream.Collectors;
import java.util.logging.Logger;
public class MergeBotFactory implements BotFactory {
private final Logger log = Logger.getLogger("org.openjdk.skara.bots");;
static final String NAME = "merge";
@Override
public String name() {
return NAME;
}
private static MergeBot.Spec.Frequency.Interval toInterval(String s) {
switch (s.toLowerCase()) {
case "hourly":
return MergeBot.Spec.Frequency.Interval.HOURLY;
case "daily":
return MergeBot.Spec.Frequency.Interval.DAILY;
case "weekly":
return MergeBot.Spec.Frequency.Interval.WEEKLY;
case "monthly":
return MergeBot.Spec.Frequency.Interval.MONTHLY;
case "yearly":
return MergeBot.Spec.Frequency.Interval.YEARLY;
default:
throw new IllegalArgumentException("Unknown interval: " + s);
}
}
private static DayOfWeek toWeekday(String s) {
switch (s.toLowerCase()) {
case "monday":
return DayOfWeek.MONDAY;
case "tuesday":
return DayOfWeek.TUESDAY;
case "wednesday":
return DayOfWeek.WEDNESDAY;
case "thursday":
return DayOfWeek.THURSDAY;
case "friday":
return DayOfWeek.FRIDAY;
case "saturday":
return DayOfWeek.SATURDAY;
case "sunday":
return DayOfWeek.SUNDAY;
default:
throw new IllegalArgumentException("Unknown weekday: " + s);
}
}
private static Month toMonth(String s) {
switch (s.toLowerCase()) {
case "january":
return Month.JANUARY;
case "february":
return Month.FEBRUARY;
case "march":
return Month.MARCH;
case "april":
return Month.APRIL;
case "may":
return Month.MAY;
case "june":
return Month.JUNE;
case "july":
return Month.JULY;
case "august":
return Month.AUGUST;
case "september":
return Month.SEPTEMBER;
case "october":
return Month.OCTOBER;
case "november":
return Month.NOVEMBER;
case "december":
return Month.DECEMBER;
default:
throw new IllegalArgumentException("Unknown month: " + s);
}
}
private static int toDay(int i) {
if (i < 0 || i > 30) {
throw new IllegalArgumentException("Unknown day: " + i);
}
return i;
}
private static int toHour(int i) {
if (i < 0 || i > 23) {
throw new IllegalArgumentException("Unknown hour: " + i);
}
return i;
}
private static int toMinute(int i) {
if (i < 0 || i > 59) {
throw new IllegalArgumentException("Unknown minute: " + i);
}
return i;
}
@Override
public List<Bot> create(BotConfiguration configuration) {
var storage = configuration.storageFolder();
try {
Files.createDirectories(storage);
} catch (IOException e) {
throw new UncheckedIOException(e);
}
var specific = configuration.specific();
var bots = new ArrayList<Bot>();
for (var repo : specific.get("repositories").asArray()) {
var targetRepo = configuration.repository(repo.get("target").asString());
var forkRepo = configuration.repository(repo.get("fork").asString());
var specs = new ArrayList<MergeBot.Spec>();
for (var spec : repo.get("spec").asArray()) {
var from = spec.get("from").asString().split(":");
var fromRepo = configuration.repository(from[0]);
var fromBranch = new Branch(from[1]);
var toBranch = new Branch(spec.get("to").asString());
MergeBot.Spec.Frequency frequency = null;
if (spec.contains("frequency")) {
var freq = spec.get("frequency").asObject();
var interval = toInterval(freq.get("interval").asString());
if (interval.isHourly()) {
var minute = toMinute(freq.get("minute").asInt());
frequency = MergeBot.Spec.Frequency.hourly(minute);
} else if (interval.isDaily()) {
var hour = toHour(freq.get("hour").asInt());
frequency = MergeBot.Spec.Frequency.daily(hour);
} else if (interval.isWeekly()) {
var weekday = toWeekday(freq.get("weekday").asString());
var hour = toHour(freq.get("hour").asInt());
frequency = MergeBot.Spec.Frequency.weekly(weekday, hour);
} else if (interval.isMonthly()) {
var day = toDay(freq.get("day").asInt());
var hour = toHour(freq.get("hour").asInt());
frequency = MergeBot.Spec.Frequency.monthly(day, hour);
} else if (interval.isYearly()) {
var month = toMonth(freq.get("month").asString());
var day = toDay(freq.get("day").asInt());
var hour = toHour(freq.get("hour").asInt());
frequency = MergeBot.Spec.Frequency.yearly(month, day, hour);
} else {
throw new IllegalStateException("Unexpected interval: " + interval);
}
}
var name = spec.getOrDefault("name", JSON.of()).asString();
var dependencies = spec.getOrDefault("dependencies", JSON.array())
.stream()
.map(e -> e.asString())
.collect(Collectors.toList());
var prerequisites = spec.getOrDefault("prerequisites", JSON.array())
.stream()
.map(e -> e.asString())
.map(configuration::repository)
.collect(Collectors.toList());
specs.add(new MergeBot.Spec(fromRepo,
fromBranch,
toBranch,
frequency,
name,
dependencies,
prerequisites));
}
bots.add(new MergeBot(storage, targetRepo, forkRepo, specs));
}
return bots;
}
}
| 8,389
|
Java
|
.java
|
openjdk/skara
| 198
| 80
| 1
|
2019-06-24T12:22:10Z
|
2024-05-07T23:19:02Z
|
9d0c88bb28ed98723e42b7eb6caf0259e25ef2375c60d3bf3f78c971cc386360
|
[
1127,
222,
338,
2657,
327,
104,
46,
244,
55,
53,
54,
62,
49,
244,
55,
53,
55,
55,
49,
17980,
480,
52,
290,
2840,
25094,
51,
3381,
4760,
5225,
51,
222,
338,
4103,
2387,
23740,
1895,
35234,
8995,
2387,
11988,
1895,
8968,
10961,
30441,
51,
222,
338,
222,
338,
1369,
1361,
458,
3760,
2951,
64,
863,
902,
14081,
580,
480,
52,
290,
5370,
580,
222,
338,
1549,
341,
5974,
451,
341,
6994,
6153,
5062,
1196,
1522,
244,
55,
1773,
49,
641,
222,
338,
9582,
829,
341,
7834,
3870,
7120,
51,
222,
338,
222,
338,
1369,
1361,
458,
2744,
347,
341,
9850,
708,
580,
1118,
545,
6386,
49,
1294,
4213,
222,
338,
2979,
9345,
64,
2895,
4462,
341,
4506,
14319,
451,
7934,
575,
222,
338,
8114,
4800,
418,
7848,
7763,
51,
244,
2819,
341,
6994,
6153,
5062,
1196,
222,
338,
1522,
244,
55,
456,
1851,
4261,
327,
102,
1948,
458,
5976,
347,
341,
7621,
822,
708,
222,
338,
20854,
297,
4850,
477,
1361,
566,
222,
338,
222,
338,
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
6153,
5062,
1196,
1522,
222,
338,
244,
55,
7979,
642,
477,
1409,
64,
434,
666,
49,
2886,
391,
341,
7834,
3870,
7120,
49,
222,
338,
6367,
4345,
244,
58,
54,
34113,
1277,
49,
33316,
26912,
49,
25006,
49,
13083,
244,
53,
55,
54,
54,
53,
50,
54,
56,
53,
54,
15067,
51,
222,
338,
222,
338,
5304,
7272,
17980,
49,
244,
58,
53,
53,
17980,
27004,
3094,
49,
4777,
21100,
2432,
6868,
49,
10562,
244,
62,
57,
53,
59,
58,
15067,
222,
338,
575,
7739,
19955,
51,
11116,
51,
527,
434,
863,
1868,
5408,
2490,
575,
1178,
1364,
222,
338,
10034,
51,
222,
588,
222,
1337,
1105,
51,
22203,
51,
2009,
9138,
51,
38289,
51,
6097,
64,
222,
222,
485,
1105,
51,
22203,
51,
2009,
9138,
51,
2213,
7737,
222,
485,
1105,
51,
22203,
51,
2009,
9138,
51,
1279,
51,
3275,
64,
222,
485,
1105,
51,
22203,
51,
2009,
9138,
51,
37607,
51,
10096,
64,
222,
222,
485,
1401,
51,
735,
7737,
222,
485,
1401,
51,
11780,
51,
781,
51,
3852,
64,
222,
485,
1401,
51,
1021,
51,
37529,
64,
222,
485,
1401,
51,
1021,
51,
7367,
64,
222,
485,
1401,
51,
1058,
7737,
222,
485,
1401,
51,
1058,
51,
2255,
51,
16862,
64,
222,
485,
1401,
51,
1058,
51,
7506,
51,
3716,
64,
222,
222,
942,
462,
13922,
9037,
2232,
4584,
17099,
2232,
320,
303,
964,
1175,
7145,
1264,
299,
7145,
51,
10588,
459,
1107,
51,
22203,
51,
2009,
9138,
51,
38289,
742,
64,
465,
924,
1175,
910,
8920,
299,
332,
6097,
884,
303,
496,
1806,
303,
581,
910,
655,
365,
320,
310,
461,
8920,
64,
303,
339,
465,
964,
924,
13922,
9037,
51,
2722,
51,
16098,
51,
5766,
391,
5766,
45,
671,
328,
46,
320,
310,
3593,
327,
120,
51,
10498,
1177,
320,
343,
1152,
332,
43650,
582,
419,
461,
13922,
9037,
51,
2722,
51,
16098,
51,
5766,
51,
2271,
2427,
94,
64,
343,
1152,
332,
18946,
582,
419,
461,
13922,
9037,
51,
2722,
51,
16098,
51,
5766,
51,
5472,
1484,
94,
64,
343,
1152,
332,
28335,
582,
419,
461,
13922,
9037,
51,
2722,
51,
16098,
51,
5766,
51,
39593,
7715,
64,
343,
1152,
332,
23254,
582,
419,
461,
13922,
9037,
51,
2722,
51,
16098,
51,
5766,
51,
22825,
7715,
64,
343,
1152,
332,
4614,
651,
582,
419,
461,
13922,
9037,
51,
2722,
51,
16098,
51,
5766,
51,
23181,
7715,
64,
343,
1263,
63,
419,
1440,
556,
12134,
459,
5850,
7917,
63,
332,
494,
328,
312,
310,
339,
303,
339,
465,
964,
924,
17102,
24721,
391,
11109,
3386,
45,
671,
328,
46,
320,
310,
3593,
327,
120,
51,
10498,
1177,
320,
343,
1152,
332,
1231,
3386,
582,
419,
461,
17102,
24721,
51,
10522,
14332,
64,
343,
1152,
332,
121,
30123,
582,
419,
461,
17102,
24721,
51,
89,
2635,
14332,
64,
343,
1152,
332,
35227,
28296,
582,
419,
461,
17102,
24721,
51,
92,
1363,
83,
959,
14332,
64,
343,
1152,
332,
368,
31156,
582,
419,
461,
17102,
24721,
51,
1797,
1282,
3197,
2749,
64,
343,
1152,
332,
107,
25664,
582,
419,
461,
17102,
24721,
51,
4016,
798,
2749,
64,
343,
1152,
332,
120,
30279,
582,
419,
461,
17102,
24721,
51,
88,
24322,
14332,
64,
343,
1152,
332,
120,
28024,
582,
419,
461,
17102,
24721,
51,
88,
6144,
2749,
64,
343,
1263,
63,
419,
1440,
556,
12134,
459,
5850,
8231,
3386,
63,
332,
494,
328,
312,
310,
339,
303,
339,
465,
964,
924,
24052,
391,
7367,
45,
671,
328,
46,
320,
310,
3593,
327,
120,
51,
10498,
1177,
320,
343,
1152,
332,
18605,
20405,
582,
419,
461,
24052,
51,
79,
946,
90,
4530,
64,
343,
1152,
332,
1247,
29315,
582,
419,
461,
24052,
51,
4683,
4768,
90,
4530,
64,
343,
1152,
332,
114,
1022,
582,
419,
461,
24052,
51,
82,
9295,
64,
343,
1152,
332,
24716,
354,
582,
419,
461,
24052,
51,
1910,
87,
1484,
64,
343,
1152,
332,
17340,
582,
419,
461,
24052,
51,
33069,
64,
343,
1152,
332,
111,
6874,
582,
419,
461,
24052,
51,
79,
48500,
64,
343,
1152,
332,
30152,
126,
582,
419,
461,
24052,
51,
79,
809,
94,
64,
343,
1152,
332,
17820,
695,
582,
419,
461,
24052,
51,
10076,
76,
6906,
64,
343,
1152,
332,
296,
23431,
582,
419,
461,
24052,
51,
40038,
1731,
6787,
64,
343,
1152,
332,
13206,
22650,
582,
419,
461,
24052,
51,
39644,
4409,
546,
64,
343,
1152,
332,
15019,
10947,
582,
419,
461,
24052,
51,
2593,
2494,
6787,
64,
343,
1152,
332,
305,
28110,
582,
419,
461,
24052,
51,
869,
1973,
6787,
64,
343,
1263,
63,
419,
1440,
556,
12134,
459,
5850,
6829,
63,
332,
494,
328,
312,
310,
339,
303,
339,
465,
964,
924,
648,
391,
6303,
45,
429,
613,
46,
320,
310,
434,
327,
110,
350,
244,
53,
1293,
613,
868,
244,
56,
53,
46,
320,
343,
1440,
556,
12134,
459,
5850,
5830,
63,
332,
494,
613,
312,
310,
339,
310,
461,
613,
64,
303,
339,
465,
964,
924,
648,
391,
14425,
45,
429,
613,
46,
320,
310,
434,
327,
110,
350,
244,
53,
1293,
613,
868,
244,
55,
56,
46,
320,
343,
1440,
556,
12134,
459,
5850,
12039,
63,
332,
494,
613,
312,
310,
339,
310,
461,
613,
64,
303,
339,
465,
964,
924,
648,
391,
20169,
45,
429,
613,
46,
320,
310,
434,
327,
110,
350,
244,
53,
1293,
613,
868,
244,
58,
62,
46,
320,
343,
1440,
556,
12134,
459,
5850,
16059,
63,
332,
494,
613,
312,
310,
339,
310,
461,
613,
64,
303,
339,
465,
496,
1806,
303,
581,
1701,
65,
9037,
67,
1506,
45,
9037,
2339,
3505,
46,
320,
310,
792,
4780,
299,
3505,
51,
4239,
5653,
492,
310,
1614,
320,
343,
11105,
51,
1315,
26054,
45,
4239,
312,
310,
339,
2385,
327,
6860,
503,
46,
320,
343,
1440,
556,
1703,
7156,
6860,
45,
106,
312,
310,
339,
310,
792,
2835,
299,
3505,
51,
10281,
492,
603,
792,
48572,
299,
556,
5068,
65,
9037,
2938,
310,
456,
327,
887,
5885,
518,
2835,
51,
390,
459,
20207,
1912,
321,
1280,
1177,
320,
343,
792,
1780,
9339,
299,
3505,
51,
6335,
45,
6446,
51,
390,
459,
2000,
1912,
38938,
1052,
343,
792,
13557,
9339,
299,
3505,
51,
6335,
45,
6446,
51,
390,
459,
15814,
1912,
38938,
1052,
1083,
792,
24066,
299,
556,
5068,
65,
8631,
9037,
51,
2722,
2938,
343,
456,
327,
887,
1394,
518,
5885,
51,
390,
459,
2314,
1912,
321,
1280,
1177,
320,
419,
792,
664,
299,
1394,
51,
390,
459,
1097,
1912,
38938,
941,
3045,
17910,
742,
419,
792,
664,
9339,
299,
3505,
51,
6335,
45,
1097,
96,
53,
2004,
419,
792,
664,
10096,
299,
556,
23721,
45,
1097,
96,
54,
2004,
419,
792,
391,
10096,
299,
556,
23721,
45,
2314,
51,
390,
459,
471,
1912,
38938,
1052,
2125,
13922,
9037,
51,
2722,
51,
16098,
13526,
299,
762,
64,
419,
434,
327,
2314,
51,
4766,
459,
15749,
2152,
320,
547,
792,
18815,
299,
1394,
51,
390,
459,
15749,
1912,
321,
976,
492,
547,
792,
7917,
299,
391,
5766,
45,
11111,
51,
390,
459,
7591,
1912,
38938,
1052,
547,
434,
327,
7591,
51,
316,
14425,
651,
1177,
320,
733,
792,
16059,
299,
391,
20169,
45,
11111,
51,
390,
459,
19888,
1912,
321,
1438,
1052,
733,
13526,
299,
13922,
9037,
51,
2722,
51,
16098,
51,
43650,
45,
19888,
312,
547,
339,
832,
434,
327,
7591,
51,
316,
25272,
1177,
320,
733,
792,
12039,
299,
391,
14425,
45,
11111,
51,
390,
459,
11343,
1912,
321,
1438,
1052,
733,
13526,
299,
13922,
9037,
51,
2722,
51,
16098,
51,
18946,
45,
11343,
312,
547,
339,
832,
434,
327,
7591,
51,
316,
11109,
651,
1177,
320,
733,
792,
8231,
3386,
299,
391,
11109,
3386,
45,
11111,
51,
390,
459,
44951,
1912,
38938,
1052,
733,
792,
12039,
299,
391,
14425,
45,
11111,
51,
390,
459,
11343,
1912,
321,
1438,
1052,
733,
13526,
299,
13922,
9037,
51,
2722,
51,
16098,
51,
28335,
45,
44951,
49,
12039,
312,
547,
339,
832,
434,
327,
7591,
51,
316,
29560,
1177,
320,
733,
792,
5830,
299,
391,
6303,
45,
11111,
51,
390,
459,
3386,
1912,
321,
1438,
1052,
733,
792,
12039,
299,
391,
14425,
45,
11111,
51,
390,
459,
11343,
1912,
321,
1438,
1052,
733,
13526,
299,
13922,
9037,
51,
2722,
51,
16098,
51,
23254,
45,
3386,
49,
12039,
312,
547,
339,
832,
434,
327,
7591,
51,
316,
6633,
651,
1177,
320,
733,
792,
6829,
299,
391,
7367,
45,
11111,
51,
390,
459,
5926,
1912,
38938,
1052,
733,
792,
5830,
299,
391,
6303,
45,
11111,
51,
390,
459,
3386,
1912,
321,
1438,
1052,
733,
792,
12039,
299,
391,
14425,
45,
11111,
51,
390,
459,
11343,
1912,
321,
1438,
1052,
733,
13526,
299,
13922,
9037,
51,
2722,
51,
16098,
51,
4614,
651,
45,
5926,
49,
5830,
49,
12039,
312,
547,
339,
832,
320,
733,
1440,
556,
21641,
459,
10202,
7917,
63,
332,
494,
7917,
312,
547,
339,
419,
339,
2125,
792,
655,
299,
1394,
51,
390,
13637,
459,
444,
411,
3411,
51,
1048,
4269,
38938,
492,
419,
792,
6450,
299,
1394,
51,
390,
13637,
459,
10954,
411,
3411,
51,
977,
1177,
10013,
657,
2255,
365,
10013,
657,
1130,
45,
106,
984,
503,
51,
38938,
1177,
10013,
657,
6190,
45,
16862,
51,
15341,
1052,
419,
792,
1173,
19939,
299,
1394,
51,
390,
13637,
459,
39273,
411,
3411,
51,
977,
1177,
2493,
657,
2255,
365,
2493,
657,
1130,
45,
106,
984,
503,
51,
38938,
1177,
2493,
657,
1130,
45,
5990,
422,
6335,
46,
2493,
657,
6190,
45,
16862,
51,
15341,
1052,
2125,
24066,
51,
688,
45,
909,
13922,
9037,
51,
2722,
45,
1097,
9339,
49,
3402,
664,
10096,
49,
3402,
391,
10096,
49,
3402,
13526,
49,
3402,
655,
49,
3402,
6450,
49,
3402,
1173,
19939,
894,
343,
339,
1083,
48572,
51,
688,
45,
909,
13922,
9037,
45,
4239,
49,
1780,
9339,
49,
13557,
9339,
49,
24066,
894,
310,
339,
310,
461,
48572,
64,
303,
339,
222,
130,
222
] |
[
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 1,798
| true
| 51.877459
| true
| true
|
ThreadGuard.java
|
/FileExtraction/Java_unseen/wikimedia_wikidata-query-blazegraph/bigdata-core/bigdata/src/java/com/bigdata/util/concurrent/ThreadGuard.java
|
/**
Copyright (C) SYSTAP, LLC DBA Blazegraph 2006-2016. All rights reserved.
Contact:
SYSTAP, LLC DBA Blazegraph
2501 Calvert ST NW #106
Washington, DC 20008
[email protected]
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; version 2 of the License.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
package com.bigdata.util.concurrent;
import java.util.Iterator;
import java.util.Map;
import java.util.concurrent.Callable;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.atomic.AtomicInteger;
import java.util.concurrent.locks.Condition;
import org.apache.log4j.Logger;
/**
* Pattern used to guard critical regions that await {@link Condition}s when a
* concurrent event may cause the {@link Condition} to become unsatisfiable.
*
* @author <a href="mailto:[email protected]">Bryan Thompson</a>
*/
public class ThreadGuard {
private static final transient Logger log = Logger.getLogger(ThreadGuard.class);
public static abstract class Guard {
abstract public void run() throws InterruptedException;
}
/**
* Execute a critical region which needs to be interrupted if some condition
* is violated.
*
* @param r
* The lambda.
*/
public void guard(final Runnable r) {
incThread();
try {
r.run();
} finally {
decThread();
}
}
/**
* Execute a critical region which needs to be interrupted if some condition
* is violated.
*
* @param r
* The lambda.
*
* @return The result (if any).
*/
public void guard(final Guard r) throws InterruptedException {
incThread();
try {
r.run();
} catch(InterruptedException e) {
throw e;
} catch (Exception e) {
throw new RuntimeException(e);
} finally {
decThread();
}
}
/**
* Execute a critical region which needs to be interrupted if some condition
* is violated.
*
* @param r
* The lambda.
*
* @return The result (if any).
* @throws Exception
*/
public <T> T guard(final Callable<T> r) throws Exception {
incThread();
try {
return r.call();
} finally {
decThread();
}
}
private final ConcurrentHashMap<Thread, AtomicInteger> threads = new ConcurrentHashMap<Thread, AtomicInteger>();
/**
* Increment thread in critical region awaiting a {@link Condition}.
*/
private void incThread() {
synchronized (threads) {
final Thread t = Thread.currentThread();
final AtomicInteger tmp = threads.get(t);
if (tmp == null) {
threads.put(t, new AtomicInteger(1));
} else {
tmp.incrementAndGet();
}
}
}
/**
* Decrement thread in critical region awaiting a {@link Condition}.
*/
public void decThread() {
synchronized (threads) {
final Thread t = Thread.currentThread();
final AtomicInteger tmp = threads.get(t);
if (tmp == null) {
// code must be wrong with broken try/finally.
throw new AssertionError();
}
if (tmp.decrementAndGet() == 0) {
threads.remove(t);
}
}
}
/**
* Interrupt any threads in critical regions awaiting a
* {@link Condition}.
*/
public void interruptAll() {
synchronized (threads) {
final Iterator<Map.Entry<Thread, AtomicInteger>> itr = threads
.entrySet().iterator();
while(itr.hasNext()) {
final Map.Entry<Thread,AtomicInteger> e = itr.next();
final Thread t = e.getKey();
final int counter = e.getValue().get();
t.interrupt();
log.warn("Interrupted: " + t.getName() + "@counter=" + counter);
}
// Note: Will be cleared when we leave the finally{}.
// // clear everything!
// threads.clear();
}
}
}
| 4,776
|
Java
|
.java
|
wikimedia/wikidata-query-blazegraph
| 15
| 3
| 0
|
2015-05-18T20:35:30Z
|
2020-04-03T16:18:14Z
|
cc3eee54b0fa6612da4f2b776d9a27b0e46a850db6cdf6510cfe2902116e9166
|
[
1350,
222,
222,
10585,
327,
72,
46,
9292,
654,
1910,
49,
21000,
4594,
70,
7709,
13776,
2275,
244,
55,
53,
53,
59,
50,
55,
53,
54,
59,
51,
244,
3381,
4760,
5225,
51,
222,
222,
5883,
63,
294,
9292,
654,
1910,
49,
21000,
4594,
70,
7709,
13776,
2275,
416,
55,
58,
53,
54,
6441,
1645,
3860,
508,
92,
607,
54,
53,
59,
294,
643,
34609,
49,
23273,
244,
55,
53,
53,
53,
61,
294,
12815,
69,
1570,
13776,
2275,
51,
527,
222,
222,
2287,
3477,
458,
3760,
2951,
64,
863,
902,
14081,
580,
480,
52,
290,
5370,
222,
302,
1549,
341,
5974,
451,
341,
6994,
6153,
5062,
1196,
641,
9582,
829,
222,
1402,
7834,
3870,
7120,
64,
1522,
244,
55,
451,
341,
1196,
51,
222,
222,
2287,
3477,
458,
2744,
347,
341,
9850,
708,
580,
1118,
545,
6386,
49,
222,
717,
4213,
2979,
9345,
64,
2895,
4462,
341,
4506,
14319,
451,
222,
22265,
7760,
575,
8114,
4800,
418,
7848,
7763,
51,
244,
2819,
341,
222,
21307,
6153,
5062,
1196,
456,
1851,
4261,
51,
222,
222,
4296,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
6153,
5062,
1196,
222,
40307,
642,
477,
3477,
64,
434,
666,
49,
2886,
391,
341,
7834,
3870,
222,
9687,
49,
6367,
4345,
244,
58,
62,
38849,
17693,
49,
25280,
244,
56,
56,
53,
49,
25006,
49,
13083,
280,
53,
55,
54,
54,
54,
50,
54,
56,
53,
60,
244,
15067,
222,
1975,
222,
1337,
785,
51,
7400,
624,
51,
1058,
51,
8349,
64,
222,
222,
485,
1401,
51,
1058,
51,
5740,
64,
222,
485,
1401,
51,
1058,
51,
1225,
64,
222,
485,
1401,
51,
1058,
51,
8349,
51,
14485,
64,
222,
485,
1401,
51,
1058,
51,
8349,
51,
18705,
8263,
64,
222,
485,
1401,
51,
1058,
51,
8349,
51,
6238,
51,
17122,
3078,
64,
222,
485,
1401,
51,
1058,
51,
8349,
51,
26424,
51,
5371,
64,
222,
222,
485,
1105,
51,
2121,
51,
769,
57,
111,
51,
3716,
64,
222,
222,
1350,
222,
338,
13405,
1674,
391,
16309,
18893,
17844,
708,
2031,
3105,
1222,
14178,
130,
120,
1429,
331,
222,
338,
22466,
1708,
1648,
5758,
341,
3105,
1222,
14178,
130,
391,
9573,
725,
32869,
1548,
51,
222,
338,
1676,
338,
496,
2133,
350,
102,
995,
366,
16951,
63,
368,
611,
1174,
858,
126,
69,
3724,
51,
21426,
51,
1317,
432,
71,
1012,
297,
967,
611,
1174,
396,
102,
67,
222,
588,
222,
942,
462,
7806,
12378,
320,
465,
964,
924,
1175,
30215,
7145,
1264,
299,
7145,
51,
10588,
45,
3032,
12378,
51,
842,
312,
2205,
581,
924,
5560,
462,
28918,
320,
603,
5560,
581,
782,
1441,
365,
2589,
24683,
64,
10232,
339,
2205,
1041,
294,
338,
13015,
331,
18893,
6727,
1532,
5669,
391,
545,
42032,
434,
1649,
3721,
294,
338,
458,
8955,
23730,
51,
294,
338,
5402,
338,
496,
772,
559,
294,
338,
1485,
906,
9332,
51,
294,
588,
303,
581,
782,
16309,
45,
3242,
18662,
559,
46,
320,
310,
6985,
3032,
492,
310,
1614,
320,
2624,
559,
51,
1967,
492,
310,
339,
8312,
320,
343,
6006,
3032,
492,
310,
339,
303,
339,
465,
1041,
294,
338,
13015,
331,
18893,
6727,
1532,
5669,
391,
545,
42032,
244,
434,
1649,
3721,
294,
338,
458,
8955,
23730,
51,
294,
338,
5402,
338,
496,
772,
559,
294,
338,
1485,
906,
9332,
51,
294,
338,
2429,
294,
338,
496,
620,
906,
1074,
327,
344,
1364,
566,
294,
588,
303,
581,
782,
16309,
45,
3242,
28918,
559,
46,
2589,
24683,
320,
310,
6985,
3032,
492,
310,
1614,
320,
343,
559,
51,
1967,
492,
310,
339,
2385,
45,
28321,
503,
46,
320,
343,
1440,
503,
64,
310,
339,
2385,
327,
1002,
503,
46,
320,
343,
1440,
556,
13383,
45,
106,
312,
310,
339,
8312,
320,
343,
6006,
3032,
492,
310,
339,
303,
339,
3051,
1041,
303,
338,
13015,
331,
18893,
6727,
1532,
5669,
391,
545,
42032,
434,
1649,
3721,
303,
338,
458,
8955,
23730,
51,
303,
338,
3751,
338,
496,
772,
559,
303,
338,
2281,
906,
9332,
51,
303,
338,
3751,
338,
496,
620,
906,
1074,
327,
344,
1364,
566,
303,
338,
496,
5124,
3284,
303,
588,
682,
581,
350,
89,
67,
413,
16309,
45,
3242,
27052,
65,
89,
67,
559,
46,
2589,
3284,
320,
310,
6985,
3032,
492,
310,
1614,
320,
2624,
461,
559,
51,
1872,
492,
310,
339,
8312,
320,
343,
6006,
3032,
492,
310,
339,
303,
339,
465,
964,
1175,
22219,
8263,
65,
3032,
49,
42034,
67,
11157,
299,
556,
22219,
8263,
65,
3032,
49,
42034,
2938,
465,
1041,
294,
338,
29471,
3682,
347,
18893,
6727,
2031,
318,
331,
3105,
1222,
14178,
4037,
294,
588,
303,
964,
782,
6985,
3032,
365,
320,
310,
13436,
327,
10471,
46,
320,
343,
1175,
7806,
292,
299,
7806,
51,
36951,
492,
343,
1175,
42034,
3709,
299,
11157,
51,
390,
45,
121,
312,
343,
434,
327,
2887,
630,
762,
46,
320,
419,
11157,
51,
543,
45,
121,
49,
556,
42034,
45,
54,
894,
343,
339,
832,
320,
419,
3709,
51,
12128,
35335,
492,
343,
339,
310,
339,
303,
339,
465,
1041,
294,
338,
9190,
46137,
3682,
347,
18893,
6727,
2031,
318,
331,
3105,
1222,
14178,
4037,
294,
588,
303,
581,
782,
6006,
3032,
365,
320,
310,
13436,
327,
10471,
46,
320,
343,
1175,
7806,
292,
299,
7806,
51,
36951,
492,
343,
1175,
42034,
3709,
299,
11157,
51,
390,
45,
121,
312,
343,
434,
327,
2887,
630,
762,
46,
320,
419,
453,
1361,
2315,
545,
6661,
642,
12858,
1614,
52,
22220,
51,
419,
1440,
556,
34845,
492,
343,
339,
343,
434,
327,
2887,
51,
44217,
35335,
365,
630,
244,
53,
46,
320,
419,
11157,
51,
2564,
45,
121,
312,
343,
339,
310,
339,
303,
339,
465,
1041,
294,
338,
25009,
1364,
11157,
347,
18893,
17844,
2031,
318,
331,
294,
338,
3105,
1222,
14178,
4037,
294,
588,
303,
581,
782,
11269,
1947,
365,
320,
310,
13436,
327,
10471,
46,
320,
343,
1175,
14730,
65,
1225,
51,
2717,
65,
3032,
49,
42034,
2023,
31781,
299,
11157,
547,
657,
24338,
941,
5174,
492,
343,
2236,
45,
16758,
51,
16408,
1177,
320,
419,
1175,
3531,
51,
2717,
65,
3032,
49,
17122,
3078,
67,
503,
299,
31781,
51,
1995,
492,
419,
1175,
7806,
292,
299,
503,
51,
11728,
492,
419,
1175,
648,
7035,
299,
503,
51,
6693,
941,
390,
492,
419,
292,
51,
15334,
492,
419,
1264,
51,
8453,
459,
1662,
12830,
63,
332,
494,
292,
51,
5175,
365,
494,
6653,
4696,
366,
494,
7035,
312,
343,
339,
343,
453,
5857,
63,
13513,
545,
27731,
1429,
1019,
11920,
341,
8312,
24436,
222,
325,
1485,
453,
4250,
9010,
38,
222,
325,
1485,
11157,
51,
3830,
492,
310,
339,
303,
339,
222,
222,
130,
222
] |
[
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 1,093
| true
| 57.872697
| true
| true
|
TestDescription.java
|
/FileExtraction/Java_unseen/SAP_SapMachine/test/hotspot/jtreg/vmTestbase/nsk/jdi/VirtualMachine/process/process001/TestDescription.java
|
/*
* Copyright (c) 2018, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test
*
* @summary converted from VM Testbase nsk/jdi/VirtualMachine/process/process001.
* VM Testbase keywords: [quick, jpda, jdi]
* VM Testbase readme:
* DESCRIPTION:
* The test for the implementation of an object of the type
* VirtualMachine.
* The test checks up that a result of the method
* com.sun.jdi.VirtualMachine.process()
* complies with its spec:
* public java.lang.Process process()
* Returns the Process object for this virtual machine
* if launched by a LaunchingConnector
* Returns: the Process object for this virtual machine, or
* null if it was not launched by a LaunchingConnector.
* The test case includes only a LaunchingConnector.
* The test works as follows:
* The debugger program - nsk.jdi.VirtualMachine.process.process001;
* the debuggee program - nsk.jdi.VirtualMachine.process.process001a.
* Using nsk.jdi.share classes,
* the debugger gets the debuggee running on another JavaVM,
* creates the object debuggee.VM,
* establishes a pipe with the debuggee program, and then
* send to the programm commands, to which the debuggee replies
* via the pipe. Upon getting reply,
* the debugger calls corresponding debuggee.VM methods to get
* needed data and compares the data got to the data expected.
* In case of error the test produces the return value 97 and
* a corresponding error message(s).
* Otherwise, the test is passed and produces
* the return value 95 and no message.
* COMMENTS:
*
* @library /vmTestbase
* /test/lib
* @build nsk.jdi.VirtualMachine.process.process001
* nsk.jdi.VirtualMachine.process.process001a
* @run driver
* nsk.jdi.VirtualMachine.process.process001
* -verbose
* -arch=${os.family}-${os.simpleArch}
* -waittime=5
* -debugee.vmkind=java
* -transport.address=dynamic
* -debugee.vmkeys="${test.vm.opts} ${test.java.opts}"
*/
| 3,057
|
Java
|
.java
|
SAP/SapMachine
| 487
| 90
| 10
|
2017-11-13T21:40:03Z
|
2024-05-09T00:31:05Z
|
2aae6ff855122c1e7a74a3f4ef2201ac409169ddac93a0bc94d5c294021a558a
|
[
1127,
222,
338,
2657,
327,
104,
46,
244,
55,
53,
54,
61,
49,
244,
55,
53,
55,
57,
49,
17980,
480,
52,
290,
2840,
25094,
51,
3381,
4760,
5225,
51,
222,
338,
4103,
2387,
23740,
1895,
35234,
8995,
2387,
11988,
1895,
8968,
10961,
30441,
51,
222,
338,
222,
338,
1369,
1361,
458,
3760,
2951,
64,
863,
902,
14081,
580,
480,
52,
290,
5370,
580,
222,
338,
1549,
341,
5974,
451,
341,
6994,
6153,
5062,
1196,
1522,
244,
55,
1773,
49,
641,
222,
338,
9582,
829,
341,
7834,
3870,
7120,
51,
222,
338,
222,
338,
1369,
1361,
458,
2744,
347,
341,
9850,
708,
580,
1118,
545,
6386,
49,
1294,
4213,
222,
338,
2979,
9345,
64,
2895,
4462,
341,
4506,
14319,
451,
7934,
575,
222,
338,
8114,
4800,
418,
7848,
7763,
51,
244,
2819,
341,
6994,
6153,
5062,
1196,
222,
338,
1522,
244,
55,
456,
1851,
4261,
327,
102,
1948,
458,
5976,
347,
341,
7621,
822,
708,
222,
338,
20854,
297,
4850,
477,
1361,
566,
222,
338,
222,
338,
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
6153,
5062,
1196,
1522,
222,
338,
244,
55,
7979,
642,
477,
1409,
64,
434,
666,
49,
2886,
391,
341,
7834,
3870,
7120,
49,
222,
338,
6367,
4345,
244,
58,
54,
34113,
1277,
49,
33316,
26912,
49,
25006,
49,
13083,
244,
53,
55,
54,
54,
53,
50,
54,
56,
53,
54,
15067,
51,
222,
338,
222,
338,
5304,
7272,
17980,
49,
244,
58,
53,
53,
17980,
27004,
3094,
49,
4777,
21100,
2432,
6868,
49,
10562,
244,
62,
57,
53,
59,
58,
15067,
222,
338,
575,
7739,
19955,
51,
11116,
51,
527,
434,
863,
1868,
5408,
2490,
575,
1178,
1364,
222,
338,
10034,
51,
222,
588,
499,
222,
1127,
222,
338,
496,
881,
222,
338,
222,
338,
496,
1386,
12829,
664,
8558,
2128,
1460,
329,
2009,
52,
111,
1351,
52,
20960,
52,
2441,
52,
2441,
53,
53,
54,
51,
222,
338,
8558,
2128,
1460,
16418,
63,
447,
10593,
49,
29753,
1830,
49,
614,
1351,
98,
222,
338,
8558,
2128,
1460,
22365,
63,
222,
338,
23339,
63,
222,
338,
281,
906,
913,
456,
341,
4753,
451,
619,
1319,
451,
341,
847,
222,
338,
281,
13675,
7105,
51,
222,
338,
281,
906,
913,
9378,
992,
708,
331,
1074,
451,
341,
1431,
222,
338,
281,
785,
51,
9886,
51,
111,
1351,
51,
20960,
51,
2441,
365,
222,
338,
281,
940,
6844,
642,
2840,
1394,
63,
222,
338,
281,
581,
1401,
51,
1600,
51,
2877,
2183,
365,
222,
338,
281,
3777,
341,
6849,
1319,
456,
477,
3511,
6676,
222,
338,
281,
434,
35965,
829,
331,
23488,
318,
9940,
222,
338,
281,
3777,
63,
341,
6849,
1319,
456,
477,
3511,
6676,
49,
575,
222,
338,
2868,
762,
434,
580,
1616,
666,
35965,
829,
331,
23488,
318,
9940,
51,
222,
338,
281,
906,
913,
1152,
8619,
1773,
331,
23488,
318,
9940,
51,
222,
338,
281,
906,
913,
4864,
641,
11629,
63,
222,
338,
281,
906,
25856,
3477,
449,
329,
2009,
51,
111,
1351,
51,
20960,
51,
2441,
51,
2441,
53,
53,
54,
64,
222,
338,
281,
341,
4598,
41067,
3477,
449,
329,
2009,
51,
111,
1351,
51,
20960,
51,
2441,
51,
2441,
53,
53,
54,
102,
51,
222,
338,
281,
9659,
329,
2009,
51,
111,
1351,
51,
6085,
6052,
49,
222,
338,
281,
341,
25856,
8572,
341,
4598,
41067,
3991,
563,
4691,
4957,
5064,
49,
222,
338,
281,
9602,
341,
1319,
4598,
41067,
51,
5064,
49,
222,
338,
281,
16856,
42340,
331,
13581,
642,
341,
4598,
41067,
3477,
49,
480,
1636,
222,
338,
281,
3256,
391,
341,
3477,
114,
6364,
49,
391,
1532,
341,
4598,
41067,
47759,
222,
338,
281,
4745,
341,
13581,
51,
2791,
286,
7882,
9451,
49,
222,
338,
281,
341,
25856,
7410,
8475,
4598,
41067,
51,
5064,
4457,
391,
640,
222,
338,
281,
5366,
727,
480,
940,
11026,
341,
727,
5441,
391,
341,
727,
2816,
51,
222,
338,
281,
719,
1152,
451,
1067,
341,
913,
20700,
341,
461,
804,
244,
62,
60,
480,
222,
338,
281,
331,
8475,
1067,
1492,
45,
120,
566,
222,
338,
281,
12783,
49,
341,
913,
458,
5424,
480,
20700,
222,
338,
281,
341,
461,
804,
244,
62,
58,
480,
1307,
1492,
51,
222,
338,
13544,
88,
63,
222,
338,
222,
338,
496,
5261,
536,
3166,
1024,
1460,
222,
338,
2052,
536,
881,
52,
1379,
222,
338,
496,
1848,
329,
2009,
51,
111,
1351,
51,
20960,
51,
2441,
51,
2441,
53,
53,
54,
222,
338,
370,
329,
2009,
51,
111,
1351,
51,
20960,
51,
2441,
51,
2441,
53,
53,
54,
102,
222,
338,
496,
1967,
5419,
222,
338,
665,
329,
2009,
51,
111,
1351,
51,
20960,
51,
2441,
51,
2441,
53,
53,
54,
222,
338,
665,
449,
10563,
222,
338,
665,
449,
1022,
9111,
519,
51,
5082,
35336,
519,
51,
6681,
7867,
130,
222,
338,
665,
449,
1702,
1021,
66,
58,
222,
338,
665,
449,
305,
716,
41067,
51,
3166,
5478,
66,
1874,
222,
338,
665,
449,
9618,
51,
2485,
66,
9018,
222,
338,
665,
449,
305,
716,
41067,
51,
3166,
3519,
9482,
881,
51,
3166,
51,
6375,
130,
2298,
881,
51,
1874,
51,
6375,
3864,
222,
588,
499
] |
[
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,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1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 844
| true
| 68.858358
| true
| true
|
MIOPTestServer.java
|
/FileExtraction/Java_unseen/JacORB_JacORB/test/regression/src/test/java/org/jacorb/test/miop/MIOPTestServer.java
|
package org.jacorb.test.miop;
import java.util.Properties;
import org.jacorb.orb.util.CorbaLoc;
import org.jacorb.test.harness.TestUtils;
import org.omg.PortableGroup.GOA;
import org.omg.PortableGroup.GOAHelper;
import org.omg.PortableServer.Servant;
public class MIOPTestServer
{
private static String miopURL = "corbaloc:miop:[email protected]/224.1.239.2:1234";
public static void main (String[] args) throws Exception
{
Properties props = new Properties();
props.setProperty
("jacorb.transport.factories", "org.jacorb.orb.iiop.IIOPFactories,org.jacorb.orb.miop.MIOPFactories");
props.setProperty
("jacorb.transport.client.selector", "org.jacorb.orb.miop.MIOPProfileSelector");
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init(args, props);
GreetingService helloGroup = GreetingServiceHelper.unchecked_narrow(orb.string_to_object(miopURL));
org.omg.PortableServer.POA poa;
poa = org.omg.PortableServer.POAHelper.narrow(orb.resolve_initial_references("RootPOA"));
poa.the_POAManager().activate();
GOA goa = GOAHelper.narrow(poa);
final String servantName = args[0];
Class<?> servantClass = TestUtils.classForName(servantName);
Servant helloServant = ( Servant ) servantClass.newInstance();
byte[] oid = poa.activate_object(helloServant);
goa.associate_reference_with_id(helloGroup,oid);
String groupURL = miopURL + ";" + CorbaLoc.generateCorbaloc (orb, helloServant._this_object());
System.out.println("SERVER IOR: "+groupURL);
TestUtils.getLogger().debug ("Using IOR: " + groupURL);
System.out.flush();
orb.run();
}
}
| 1,731
|
Java
|
.java
|
JacORB/JacORB
| 74
| 83
| 32
|
2012-06-21T12:18:10Z
|
2024-03-05T12:22:08Z
|
5be24b98b28f1345fc4ad56a681f03ef0bf2060aac6465e5eb8e9ecc7d77b7b9
|
[
1337,
1105,
51,
11171,
42326,
51,
881,
51,
4557,
539,
64,
222,
222,
485,
1401,
51,
1058,
51,
3303,
64,
222,
485,
1105,
51,
11171,
42326,
51,
42326,
51,
1058,
51,
8714,
2679,
1624,
64,
222,
485,
1105,
51,
11171,
42326,
51,
881,
51,
109,
18166,
51,
32384,
64,
222,
485,
1105,
51,
37947,
51,
42931,
1582,
51,
7001,
70,
64,
222,
485,
1105,
51,
37947,
51,
42931,
1582,
51,
7001,
70,
2775,
64,
222,
485,
1105,
51,
37947,
51,
42931,
2077,
51,
21163,
710,
64,
222,
222,
942,
462,
23357,
1970,
1024,
2077,
222,
128,
303,
964,
924,
910,
12908,
539,
2427,
244,
299,
332,
2881,
9964,
561,
63,
4557,
539,
63,
54,
51,
53,
69,
54,
51,
53,
50,
1024,
5048,
50,
54,
52,
55,
55,
57,
51,
54,
51,
55,
56,
62,
51,
55,
63,
54,
55,
56,
57,
884,
465,
581,
924,
782,
2594,
327,
671,
1197,
2194,
46,
2589,
3284,
303,
320,
310,
9749,
5589,
299,
556,
9749,
492,
310,
5589,
51,
17507,
343,
2903,
11171,
42326,
51,
9618,
51,
42007,
411,
332,
1107,
51,
11171,
42326,
51,
42326,
51,
3660,
539,
51,
7135,
1970,
29399,
49,
1107,
51,
11171,
42326,
51,
42326,
51,
4557,
539,
51,
5899,
1970,
29399,
742,
310,
5589,
51,
17507,
343,
2903,
11171,
42326,
51,
9618,
51,
1598,
51,
9040,
411,
332,
1107,
51,
11171,
42326,
51,
42326,
51,
4557,
539,
51,
5899,
1970,
4302,
4454,
742,
603,
1105,
51,
37947,
51,
12669,
6807,
51,
776,
71,
244,
575,
103,
299,
1105,
51,
37947,
51,
12669,
6807,
51,
776,
71,
51,
1683,
45,
1150,
49,
5589,
312,
603,
590,
32648,
1201,
17966,
1582,
299,
590,
32648,
1201,
2775,
51,
18362,
100,
42341,
45,
42326,
51,
819,
100,
471,
100,
1491,
45,
4557,
539,
2427,
894,
603,
1105,
51,
37947,
51,
42931,
2077,
51,
1862,
70,
2104,
102,
64,
603,
2104,
102,
299,
1105,
51,
37947,
51,
42931,
2077,
51,
1862,
70,
2775,
51,
42341,
45,
42326,
51,
5292,
100,
4353,
100,
6377,
459,
4069,
1862,
70,
2992,
603,
2104,
102,
51,
1402,
100,
1862,
70,
1590,
941,
11433,
492,
310,
18837,
70,
2006,
102,
299,
18837,
70,
2775,
51,
42341,
45,
864,
102,
312,
6934,
1175,
910,
14964,
710,
577,
299,
2194,
96,
53,
988,
310,
1727,
11667,
14964,
710,
1359,
299,
40098,
51,
842,
1580,
577,
45,
1682,
710,
577,
312,
310,
2074,
123,
710,
17966,
21163,
710,
299,
327,
2074,
123,
710,
848,
14964,
710,
1359,
51,
20237,
492,
603,
3447,
1197,
33163,
299,
2104,
102,
51,
11433,
100,
1491,
45,
7670,
21163,
710,
312,
310,
2006,
102,
51,
30139,
100,
3592,
100,
1814,
100,
333,
45,
7670,
1582,
49,
599,
312,
603,
910,
2370,
2427,
299,
12908,
539,
2427,
494,
44286,
494,
8878,
2679,
1624,
51,
5555,
8714,
9964,
561,
327,
42326,
49,
17966,
21163,
710,
1132,
597,
100,
1491,
1052,
603,
1189,
51,
560,
51,
3962,
459,
8099,
457,
776,
63,
6771,
1382,
2427,
312,
603,
40098,
51,
10588,
941,
2824,
2903,
9529,
457,
776,
63,
332,
494,
2370,
2427,
312,
310,
1189,
51,
560,
51,
9327,
492,
603,
575,
103,
51,
1967,
492,
303,
339,
222,
130,
222
] |
[
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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Missile.java
|
/*
* Pixel Dungeon
* Copyright (C) 2012-2015 Oleg Dolya
*
* Shattered Pixel Dungeon
* Copyright (C) 2014-2024 Evan Debenham
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>
*/
package com.shatteredpixel.shatteredpixeldungeon.effects;
import com.shatteredpixel.shatteredpixeldungeon.actors.Actor;
import com.shatteredpixel.shatteredpixeldungeon.effects.particles.BloodParticle;
import com.shatteredpixel.shatteredpixeldungeon.effects.particles.CorrosionParticle;
import com.shatteredpixel.shatteredpixeldungeon.effects.particles.ElmoParticle;
import com.shatteredpixel.shatteredpixeldungeon.effects.particles.FlameParticle;
import com.shatteredpixel.shatteredpixeldungeon.effects.particles.LeafParticle;
import com.shatteredpixel.shatteredpixeldungeon.effects.particles.PoisonParticle;
import com.shatteredpixel.shatteredpixeldungeon.effects.particles.PurpleParticle;
import com.shatteredpixel.shatteredpixeldungeon.effects.particles.RainbowParticle;
import com.shatteredpixel.shatteredpixeldungeon.effects.particles.ShadowParticle;
import com.shatteredpixel.shatteredpixeldungeon.effects.particles.SparkParticle;
import com.shatteredpixel.shatteredpixeldungeon.tiles.DungeonTilemap;
import com.watabou.noosa.Game;
import com.watabou.noosa.Group;
import com.watabou.noosa.Visual;
import com.watabou.noosa.particles.Emitter;
import com.watabou.noosa.particles.PixelParticle;
import com.watabou.utils.Callback;
import com.watabou.utils.ColorMath;
import com.watabou.utils.PointF;
import com.watabou.utils.Random;
public class MagicMissile extends Emitter {
private static final float SPEED = 200f;
private Callback callback;
private PointF to;
private float sx;
private float sy;
private float time;
//missile types
public static final int MAGIC_MISSILE = 0;
public static final int FROST = 1;
public static final int FIRE = 2;
public static final int CORROSION = 3;
public static final int FOLIAGE = 4;
public static final int FORCE = 5;
public static final int BEACON = 6;
public static final int SHADOW = 7;
public static final int RAINBOW = 8;
public static final int EARTH = 9;
public static final int WARD = 10;
public static final int SHAMAN_RED = 11;
public static final int SHAMAN_BLUE = 12;
public static final int SHAMAN_PURPLE = 13;
public static final int TOXIC_VENT = 14;
public static final int ELMO = 15;
public static final int POISON = 16;
public static final int MAGIC_MISS_CONE = 100;
public static final int FROST_CONE = 101;
public static final int FIRE_CONE = 102;
public static final int CORROSION_CONE = 103;
public static final int FOLIAGE_CONE = 104;
public static final int FORCE_CONE = 105;
public static final int SHADOW_CONE = 107;
public static final int RAINBOW_CONE = 108;
public static final int EARTH_CONE = 109;
public static final int WARD_CONE = 110;
public static final int PURPLE_CONE = 111;
public static final int SPARK_CONE = 112;
public static final int BLOOD_CONE = 113;
public void reset( int type, int from, int to, Callback callback ) {
reset( type,
DungeonTilemap.raisedTileCenterToWorld( from ),
DungeonTilemap.raisedTileCenterToWorld( to ),
callback );
}
public void reset( int type, Visual from, Visual to, Callback callback ) {
reset( type,
from.center(),
to.center(),
callback);
}
public void reset( int type, Visual from, int to, Callback callback ) {
reset( type,
from.center(),
DungeonTilemap.raisedTileCenterToWorld( to ),
callback);
}
public void reset( int type, PointF from, PointF to, Callback callback ) {
this.callback = callback;
this.to = to;
x = from.x;
y = from.y;
width = 0;
height = 0;
PointF d = PointF.diff( to, from );
PointF speed = new PointF( d ).normalize().scale( SPEED );
sx = speed.x;
sy = speed.y;
time = d.length() / SPEED;
switch(type){
case MAGIC_MISSILE: default:
size( 4 );
pour( WhiteParticle.FACTORY, 0.01f );
break;
case FROST:
pour( MagicParticle.FACTORY, 0.01f );
break;
case FIRE:
size( 4 );
pour( FlameParticle.FACTORY, 0.01f );
break;
case CORROSION:
size( 3 );
pour( CorrosionParticle.MISSILE, 0.01f );
break;
case FOLIAGE:
size( 4 );
pour( LeafParticle.GENERAL, 0.01f );
break;
case FORCE:
pour( SlowParticle.FACTORY, 0.01f );
break;
case BEACON:
pour( ForceParticle.FACTORY, 0.01f );
break;
case SHADOW:
size( 4 );
pour( ShadowParticle.MISSILE, 0.01f );
break;
case RAINBOW:
size( 4 );
pour( RainbowParticle.BURST, 0.01f );
break;
case EARTH:
size( 4 );
pour( EarthParticle.FACTORY, 0.01f );
break;
case WARD:
size( 4 );
pour( WardParticle.FACTORY, 0.01f );
break;
case SHAMAN_RED:
size( 2 );
pour( ShamanParticle.RED, 0.01f );
break;
case SHAMAN_BLUE:
size( 2 );
pour( ShamanParticle.BLUE, 0.01f );
break;
case SHAMAN_PURPLE:
size( 2 );
pour( ShamanParticle.PURPLE, 0.01f );
break;
case TOXIC_VENT:
size( 10 );
pour( Speck.factory(Speck.TOXIC), 0.02f );
break;
case ELMO:
size( 5 );
pour( ElmoParticle.FACTORY, 0.01f );
break;
case POISON:
size( 3 );
pour( PoisonParticle.MISSILE, 0.01f );
break;
case MAGIC_MISS_CONE:
size( 10 );
pour( WhiteParticle.FACTORY, 0.03f );
break;
case FROST_CONE:
size( 10 );
pour( MagicParticle.FACTORY, 0.03f );
break;
case FIRE_CONE:
size( 10 );
pour( FlameParticle.FACTORY, 0.03f );
break;
case CORROSION_CONE:
size( 10 );
pour( CorrosionParticle.MISSILE, 0.03f );
break;
case FOLIAGE_CONE:
size( 10 );
pour( LeafParticle.GENERAL, 0.03f );
break;
case FORCE_CONE:
size( 10 );
pour( SlowParticle.FACTORY, 0.02f );
break;
case SHADOW_CONE:
size( 10 );
pour( ShadowParticle.MISSILE, 0.03f );
break;
case RAINBOW_CONE:
size( 10 );
pour( RainbowParticle.BURST, 0.03f );
break;
case EARTH_CONE:
size( 10 );
pour( EarthParticle.FACTORY, 0.03f );
break;
case WARD_CONE:
size( 10 );
pour( WardParticle.FACTORY, 0.03f );
break;
case PURPLE_CONE:
size( 10 );
pour( PurpleParticle.MISSILE, 0.03f );
break;
case SPARK_CONE:
size( 10 );
pour( SparkParticle.FACTORY, 0.03f );
break;
case BLOOD_CONE:
size( 10 );
pour( BloodParticle.FACTORY, 0.03f );
break;
}
revive();
}
public void size( float size ) {
x -= size / 2;
y -= size / 2;
width = height = size;
}
public void setSpeed( float newSpeed ){
PointF d = PointF.diff( to, new PointF(x, y) );
PointF speed = new PointF( d ).normalize().scale( newSpeed );
sx = speed.x;
sy = speed.y;
time = d.length() / newSpeed;
}
//convenience method for the common case of a bolt going from a character to a tile or enemy
public static MagicMissile boltFromChar(Group group, int type, Visual sprite, int to, Callback callback){
MagicMissile missile = ((MagicMissile)group.recycle( MagicMissile.class ));
if (Actor.findChar(to) != null){
missile.reset(type, sprite.center(), Actor.findChar(to).sprite.destinationCenter(), callback);
} else {
missile.reset(type, sprite, to, callback);
}
return missile;
}
@Override
protected boolean isFrozen() {
return false; //cannot be frozen
}
@Override
public void update() {
super.update();
if (on) {
float d = Game.elapsed;
x += sx * d;
y += sy * d;
if ((time -= d) <= 0) {
on = false;
if (callback != null ) callback.call();
}
}
}
public static class MagicParticle extends PixelParticle {
public static final Emitter.Factory FACTORY = new Factory() {
@Override
public void emit( Emitter emitter, int index, float x, float y ) {
((MagicParticle)emitter.recycle( MagicParticle.class )).reset( x, y );
}
@Override
public boolean lightMode() {
return true;
}
};
public static final Emitter.Factory ATTRACTING = new Factory() {
@Override
public void emit( Emitter emitter, int index, float x, float y ) {
((MagicParticle)emitter.recycle( MagicParticle.class )).resetAttract( x, y );
}
@Override
public boolean lightMode() {
return true;
}
};
public MagicParticle() {
super();
color( 0x88CCFF );
lifespan = 0.5f;
speed.set( Random.Float( -10, +10 ), Random.Float( -10, +10 ) );
}
public void reset( float x, float y ) {
revive();
this.x = x;
this.y = y;
left = lifespan;
}
public void resetAttract( float x, float y) {
revive();
//size = 8;
left = lifespan;
speed.polar( Random.Float( PointF.PI2 ), Random.Float( 16, 32 ) );
this.x = x - speed.x * lifespan;
this.y = y - speed.y * lifespan;
}
@Override
public void update() {
super.update();
// alpha: 1 -> 0; size: 1 -> 4
size( 4 - (am = left / lifespan) * 3 );
}
}
public static class EarthParticle extends PixelParticle.Shrinking {
public static final Emitter.Factory FACTORY = new Factory() {
@Override
public void emit( Emitter emitter, int index, float x, float y ) {
((EarthParticle)emitter.recycle( EarthParticle.class )).reset( x, y );
}
};
public static final Emitter.Factory BURST = new Factory() {
@Override
public void emit( Emitter emitter, int index, float x, float y ) {
((EarthParticle)emitter.recycle( EarthParticle.class )).resetBurst( x, y );
}
};
public static final Emitter.Factory ATTRACT = new Factory() {
@Override
public void emit( Emitter emitter, int index, float x, float y ) {
((EarthParticle)emitter.recycle( EarthParticle.class )).resetAttract( x, y );
}
};
public EarthParticle() {
super();
lifespan = 0.5f;
acc.set( 0, +40 );
}
public void reset( float x, float y ) {
revive();
this.x = x;
this.y = y;
left = lifespan;
size = 4;
if (Random.Int(10) == 0){
color(ColorMath.random(0xFFF266, 0x80771A));
} else {
color(ColorMath.random(0x805500, 0x332500));
}
speed.set( Random.Float( -10, +10 ), Random.Float( -10, +10 ) );
}
public void resetBurst( float x, float y ){
reset(x, y);
speed.polar( Random.Float( PointF.PI2 ), Random.Float( 40, 60 ) );
}
public void resetAttract( float x, float y ){
reset(x, y);
speed.polar( Random.Float( PointF.PI2 ), Random.Float( 24, 32 ) );
this.x = x - speed.x * lifespan;
this.y = y - speed.y * lifespan;
acc.set( 0, 0 );
}
}
public static class ShamanParticle extends EarthParticle{
public static final Emitter.Factory RED = new Factory() {
@Override
public void emit( Emitter emitter, int index, float x, float y ) {
((ShamanParticle)emitter.recycle( ShamanParticle.class ))
.reset( x, y, ColorMath.random(0xFF4D4D, 0x801A1A) );
}
};
public static final Emitter.Factory BLUE = new Factory() {
@Override
public void emit( Emitter emitter, int index, float x, float y ) {
((ShamanParticle)emitter.recycle( ShamanParticle.class ))
.reset( x, y, ColorMath.random(0x6699FF, 0x1A3C80) );
}
};
public static final Emitter.Factory PURPLE = new Factory() {
@Override
public void emit( Emitter emitter, int index, float x, float y ) {
((ShamanParticle)emitter.recycle( ShamanParticle.class ))
.reset( x, y, ColorMath.random(0xBB33FF, 0x5E1A80) );
}
};
int startColor;
int endColor;
public ShamanParticle() {
super();
lifespan = 0.6f;
acc.set( 0, 0 );
}
public void reset( float x, float y, int endColor ){
super.reset( x, y );
size( 1 );
this.endColor = endColor;
startColor = ColorMath.random(0x805500, 0x332500);
speed.set( Random.Float( -10, +10 ), Random.Float( -10, +10 ) );
}
@Override
public void update() {
super.update();
color( ColorMath.interpolate( endColor, startColor, (left / lifespan) ));
}
}
public static class WhiteParticle extends PixelParticle {
public static final Emitter.Factory FACTORY = new Factory() {
@Override
public void emit( Emitter emitter, int index, float x, float y ) {
((WhiteParticle)emitter.recycle( WhiteParticle.class )).reset( x, y );
}
@Override
public boolean lightMode() {
return true;
}
};
public WhiteParticle() {
super();
lifespan = 0.4f;
am = 0.5f;
}
public void reset( float x, float y ) {
revive();
this.x = x;
this.y = y;
left = lifespan;
}
@Override
public void update() {
super.update();
// size: 3 -> 0
size( (left / lifespan) * 3 );
}
}
public static class SlowParticle extends PixelParticle {
private Emitter emitter;
public static final Emitter.Factory FACTORY = new Factory() {
@Override
public void emit( Emitter emitter, int index, float x, float y ) {
((SlowParticle)emitter.recycle( SlowParticle.class )).reset( x, y, emitter );
}
@Override
public boolean lightMode() {
return true;
}
};
public SlowParticle() {
super();
lifespan = 0.6f;
color( 0x664422 );
size( 2 );
}
public void reset( float x, float y, Emitter emitter ) {
revive();
this.x = x;
this.y = y;
this.emitter = emitter;
left = lifespan;
acc.set( 0 );
speed.set( Random.Float( -20, +20 ), Random.Float( -20, +20 ) );
}
@Override
public void update() {
super.update();
am = left / lifespan;
acc.set( (emitter.x - x) * 10, (emitter.y - y) * 10 );
}
}
public static class ForceParticle extends PixelParticle.Shrinking {
public static final Emitter.Factory FACTORY = new Factory() {
@Override
public void emit( Emitter emitter, int index, float x, float y ) {
((ForceParticle)emitter.recycle( ForceParticle.class )).reset( index, x, y );
}
};
public void reset( int index, float x, float y ) {
super.reset( x, y, 0xFFFFFF, 8, 0.5f );
speed.polar( PointF.PI2 / 8 * index, 12 );
this.x -= speed.x * lifespan;
this.y -= speed.y * lifespan;
}
@Override
public void update() {
super.update();
am = (1 - left / lifespan) / 2;
}
}
public static class WardParticle extends PixelParticle.Shrinking {
public static final Emitter.Factory FACTORY = new Factory() {
@Override
public void emit( Emitter emitter, int index, float x, float y ) {
((WardParticle)emitter.recycle( WardParticle.class )).reset( x, y );
}
@Override
public boolean lightMode() {
return true;
}
};
public static final Emitter.Factory UP = new Factory() {
@Override
public void emit( Emitter emitter, int index, float x, float y ) {
((WardParticle)emitter.recycle( WardParticle.class )).resetUp( x, y );
}
@Override
public boolean lightMode() {
return true;
}
};
public WardParticle() {
super();
lifespan = 0.6f;
color( 0x8822FF );
}
public void reset( float x, float y ) {
revive();
this.x = x;
this.y = y;
left = lifespan;
size = 8;
}
public void resetUp( float x, float y){
reset(x, y);
speed.set( Random.Float( -8, +8 ), Random.Float( -32, -48 ) );
}
@Override
public void update() {
super.update();
am = 1 - left / lifespan;
}
}
}
| 16,131
|
Java
|
.java
|
Hoto-Mocha/Re-ARranged-Pixel-Dungeon
| 13
| 1
| 5
|
2023-11-27T05:56:58Z
|
2024-05-05T00:54:39Z
|
11d42c3a6525adeab362b1d0fd98b33e2b5dc0b81c56a5a1d149ee3e78091402
|
[
1127,
222,
338,
20244,
493,
28253,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
54,
55,
50,
55,
53,
54,
58,
565,
2358,
493,
4628,
102,
222,
338,
222,
338,
2432,
6319,
337,
20244,
493,
28253,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
54,
57,
50,
55,
53,
55,
57,
535,
15738,
21945,
291,
11809,
222,
338,
222,
338,
1369,
3477,
458,
3760,
2951,
63,
863,
902,
14081,
580,
480,
52,
290,
5370,
222,
338,
580,
1549,
341,
5974,
451,
341,
6994,
6153,
5062,
1196,
641,
9582,
829,
222,
338,
341,
7834,
3870,
7120,
49,
3173,
1522,
244,
56,
451,
341,
1196,
49,
575,
222,
338,
327,
288,
1390,
2489,
46,
1364,
6146,
1522,
51,
222,
338,
222,
338,
1369,
3477,
458,
2744,
347,
341,
9850,
708,
580,
1118,
545,
6386,
49,
222,
338,
1294,
4213,
2979,
9345,
64,
2895,
4462,
341,
4506,
14319,
451,
222,
338,
7934,
575,
8114,
4800,
418,
7848,
7763,
51,
244,
2819,
341,
222,
338,
6994,
6153,
5062,
1196,
456,
1851,
4261,
51,
222,
338,
222,
338,
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
6153,
5062,
1196,
222,
338,
7979,
642,
477,
3477,
51,
244,
1691,
666,
49,
2337,
350,
544,
574,
1516,
51,
10627,
51,
1107,
52,
4205,
2056,
222,
588,
222,
222,
1337,
785,
51,
635,
6319,
337,
7807,
51,
635,
6319,
337,
7807,
105,
28253,
51,
16413,
64,
222,
222,
485,
785,
51,
635,
6319,
337,
7807,
51,
635,
6319,
337,
7807,
105,
28253,
51,
31869,
51,
10459,
64,
222,
485,
785,
51,
635,
6319,
337,
7807,
51,
635,
6319,
337,
7807,
105,
28253,
51,
16413,
51,
26617,
51,
46472,
15038,
64,
222,
485,
785,
51,
635,
6319,
337,
7807,
51,
635,
6319,
337,
7807,
105,
28253,
51,
16413,
51,
26617,
51,
45343,
15038,
64,
222,
485,
785,
51,
635,
6319,
337,
7807,
51,
635,
6319,
337,
7807,
105,
28253,
51,
16413,
51,
26617,
51,
5467,
794,
15038,
64,
222,
485,
785,
51,
635,
6319,
337,
7807,
51,
635,
6319,
337,
7807,
105,
28253,
51,
16413,
51,
26617,
51,
2151,
340,
15038,
64,
222,
485,
785,
51,
635,
6319,
337,
7807,
51,
635,
6319,
337,
7807,
105,
28253,
51,
16413,
51,
26617,
51,
17192,
15038,
64,
222,
485,
785,
51,
635,
6319,
337,
7807,
51,
635,
6319,
337,
7807,
105,
28253,
51,
16413,
51,
26617,
51,
3785,
5853,
15038,
64,
222,
485,
785,
51,
635,
6319,
337,
7807,
51,
635,
6319,
337,
7807,
105,
28253,
51,
16413,
51,
26617,
51,
17896,
11996,
15038,
64,
222,
485,
785,
51,
635,
6319,
337,
7807,
51,
635,
6319,
337,
7807,
105,
28253,
51,
16413,
51,
26617,
51,
40497,
18604,
15038,
64,
222,
485,
785,
51,
635,
6319,
337,
7807,
51,
635,
6319,
337,
7807,
105,
28253,
51,
16413,
51,
26617,
51,
10059,
15038,
64,
222,
485,
785,
51,
635,
6319,
337,
7807,
51,
635,
6319,
337,
7807,
105,
28253,
51,
16413,
51,
26617,
51,
20907,
15038,
64,
222,
485,
785,
51,
635,
6319,
337,
7807,
51,
635,
6319,
337,
7807,
105,
28253,
51,
21662,
51,
73,
28253,
8079,
1130,
64,
222,
485,
785,
51,
124,
1626,
663,
51,
1365,
22201,
51,
3783,
64,
222,
485,
785,
51,
124,
1626,
663,
51,
1365,
22201,
51,
1582,
64,
222,
485,
785,
51,
124,
1626,
663,
51,
1365,
22201,
51,
7442,
64,
222,
485,
785,
51,
124,
1626,
663,
51,
1365,
22201,
51,
26617,
51,
13931,
64,
222,
485,
785,
51,
124,
1626,
663,
51,
1365,
22201,
51,
26617,
51,
7040,
15038,
64,
222,
485,
785,
51,
124,
1626,
663,
51,
2324,
51,
3309,
64,
222,
485,
785,
51,
124,
1626,
663,
51,
2324,
51,
1530,
5728,
64,
222,
485,
785,
51,
124,
1626,
663,
51,
2324,
51,
48882,
64,
222,
485,
785,
51,
124,
1626,
663,
51,
2324,
51,
6124,
64,
222,
222,
942,
462,
25839,
31689,
433,
2041,
22731,
410,
320,
499,
221,
2072,
924,
1175,
1916,
12388,
1363,
221,
66,
244,
55,
53,
53,
107,
64,
3038,
221,
2072,
14706,
3325,
64,
3038,
221,
2072,
6460,
75,
391,
64,
3038,
221,
2072,
1916,
23516,
64,
222,
221,
2072,
1916,
11425,
64,
222,
221,
2072,
1916,
1153,
64,
499,
221,
325,
7774,
433,
3756,
222,
221,
942,
924,
1175,
648,
40214,
1122,
100,
10591,
2142,
833,
280,
299,
244,
53,
64,
222,
221,
942,
924,
1175,
648,
525,
1030,
654,
2281,
299,
244,
54,
64,
222,
221,
942,
924,
1175,
648,
16922,
632,
1485,
299,
244,
55,
64,
222,
221,
942,
924,
1175,
648,
21295,
1030,
3606,
981,
299,
244,
56,
64,
222,
221,
942,
924,
1175,
648,
28044,
78,
3484,
282,
299,
244,
57,
64,
222,
221,
942,
924,
1175,
648,
4800,
1973,
2281,
299,
244,
58,
64,
222,
221,
942,
924,
1175,
648,
6761,
1205,
586,
2052,
299,
244,
59,
64,
222,
221,
942,
924,
1175,
648,
5324,
47165,
2052,
299,
244,
60,
64,
222,
221,
942,
924,
1175,
648,
578,
7420,
3199,
92,
282,
299,
244,
61,
64,
222,
221,
942,
924,
1175,
648,
535,
802,
1797,
2281,
299,
244,
62,
64,
222,
221,
942,
924,
1175,
648,
3040,
73,
1485,
299,
244,
54,
53,
64,
222,
221,
942,
924,
1175,
648,
5324,
2229,
946,
100,
7106,
665,
299,
244,
54,
54,
64,
222,
221,
942,
924,
1175,
648,
5324,
2229,
946,
100,
24269,
281,
299,
244,
54,
55,
64,
222,
221,
942,
924,
1175,
648,
5324,
2229,
946,
100,
46566,
31107,
280,
299,
244,
54,
56,
64,
222,
221,
942,
924,
1175,
648,
2841,
93,
1122,
100,
4929,
665,
299,
244,
54,
57,
64,
222,
221,
942,
924,
1175,
648,
10544,
2414,
1485,
299,
244,
54,
58,
64,
222,
221,
942,
924,
1175,
648,
5277,
1309,
586,
2052,
299,
244,
54,
59,
64,
499,
221,
942,
924,
1175,
648,
40214,
1122,
100,
10591,
88,
100,
1742,
74,
299,
244,
54,
53,
53,
64,
222,
221,
942,
924,
1175,
648,
525,
1030,
654,
100,
1742,
74,
665,
299,
244,
54,
53,
54,
64,
222,
221,
942,
924,
1175,
648,
16922,
632,
100,
1742,
74,
981,
299,
244,
54,
53,
55,
64,
222,
221,
942,
924,
1175,
648,
21295,
1030,
3606,
100,
1742,
74,
244,
299,
244,
54,
53,
56,
64,
222,
221,
942,
924,
1175,
648,
28044,
78,
3484,
100,
1742,
74,
283,
299,
244,
54,
53,
57,
64,
222,
221,
942,
924,
1175,
648,
4800,
1973,
100,
1742,
74,
665,
299,
244,
54,
53,
58,
64,
222,
221,
942,
924,
1175,
648,
5324,
47165,
100,
1742,
74,
281,
299,
244,
54,
53,
60,
64,
222,
221,
942,
924,
1175,
648,
578,
7420,
3199,
92,
100,
1742,
74,
283,
299,
244,
54,
53,
61,
64,
222,
221,
942,
924,
1175,
648,
535,
802,
1797,
100,
1742,
74,
665,
299,
244,
54,
53,
62,
64,
222,
221,
942,
924,
1175,
648,
3040,
73,
100,
1742,
74,
981,
299,
244,
54,
54,
53,
64,
222,
221,
942,
924,
1175,
648,
466,
1282,
31107,
100,
1742,
74,
281,
299,
244,
54,
54,
54,
64,
222,
221,
942,
924,
1175,
648,
377,
4200,
80,
100,
1742,
74,
665,
299,
244,
54,
54,
55,
64,
222,
221,
942,
924,
1175,
648,
570,
1323,
5422,
100,
1742,
74,
665,
299,
244,
54,
54,
56,
64,
3038,
221,
942,
782,
5672,
45,
648,
847,
49,
648,
664,
49,
648,
391,
49,
14706,
3325,
848,
320,
376,
221,
4558,
45,
847,
49,
621,
221,
73,
28253,
8079,
1130,
51,
47919,
8079,
7067,
724,
6719,
45,
664,
2604,
621,
221,
73,
28253,
8079,
1130,
51,
47919,
8079,
7067,
724,
6719,
45,
391,
2604,
621,
221,
4399,
1110,
222,
221,
130,
499,
221,
942,
782,
5672,
45,
648,
847,
49,
8879,
664,
49,
8879,
391,
49,
14706,
3325,
848,
320,
376,
221,
4558,
45,
847,
49,
621,
221,
1097,
51,
2413,
1046,
621,
221,
471,
51,
2413,
1046,
621,
221,
4399,
312,
222,
221,
130,
499,
221,
942,
782,
5672,
45,
648,
847,
49,
8879,
664,
49,
648,
391,
49,
14706,
3325,
848,
320,
376,
221,
4558,
45,
847,
49,
621,
221,
1097,
51,
2413,
1046,
621,
221,
73,
28253,
8079,
1130,
51,
47919,
8079,
7067,
724,
6719,
45,
391,
2604,
621,
221,
4399,
312,
222,
221,
130,
499,
221,
942,
782,
5672,
45,
648,
847,
49,
6460,
75,
664,
49,
6460,
75,
391,
49,
14706,
3325,
848,
320,
376,
221,
597,
51,
4399,
299,
3325,
64,
4102,
221,
597,
51,
471,
299,
391,
64,
4102,
221,
125,
299,
664,
51,
125,
64,
376,
221,
126,
299,
664,
51,
126,
64,
376,
221,
1660,
299,
244,
53,
64,
376,
221,
2296,
299,
244,
53,
64,
4102,
221,
48882,
362,
299,
6460,
75,
51,
4927,
45,
391,
49,
664,
1110,
376,
221,
48882,
8246,
299,
556,
6460,
75,
45,
362,
6824,
13038,
941,
3826,
45,
12388,
1363,
1110,
376,
221,
21062,
299,
8246,
51,
125,
64,
376,
221,
5824,
299,
8246,
51,
126,
64,
376,
221,
1021,
299,
362,
51,
1340,
365,
536,
12388,
1363,
64,
1332,
221,
4651,
45,
700,
1528,
374,
221,
1749,
40214,
1122,
100,
10591,
2142,
833,
63,
1263,
63,
621,
221,
911,
45,
244,
57,
1110,
621,
221,
117,
534,
45,
24759,
15038,
51,
24813,
49,
244,
53,
51,
53,
54,
107,
1110,
621,
221,
2986,
64,
374,
221,
1749,
525,
1030,
654,
63,
621,
221,
117,
534,
45,
25839,
15038,
51,
24813,
49,
244,
53,
51,
53,
54,
107,
1110,
621,
221,
2986,
64,
374,
221,
1749,
16922,
632,
63,
621,
221,
911,
45,
244,
57,
1110,
621,
221,
117,
534,
45,
5463,
340,
15038,
51,
24813,
49,
244,
53,
51,
53,
54,
107,
1110,
621,
221,
2986,
64,
374,
221,
1749,
21295,
1030,
3606,
63,
621,
221,
911,
45,
244,
56,
1110,
621,
221,
117,
534,
45,
8878,
38721,
15038,
51,
10591,
2142,
833,
49,
244,
53,
51,
53,
54,
107,
1110,
621,
221,
2986,
64,
374,
221,
1749,
28044,
78,
3484,
63,
621,
221,
911,
45,
244,
57,
1110,
621,
221,
117,
534,
45,
33541,
15038,
51,
28316,
49,
244,
53,
51,
53,
54,
107,
1110,
621,
221,
2986,
64,
374,
221,
1749,
4800,
1973,
63,
621,
221,
117,
534,
45,
377,
760,
15038,
51,
24813,
49,
244,
53,
51,
53,
54,
107,
1110,
621,
221,
2986,
64,
374,
221,
1749,
6761,
1205,
586,
63,
621,
221,
117,
534,
45,
21415,
15038,
51,
24813,
49,
244,
53,
51,
53,
54,
107,
1110,
621,
221,
2986,
64,
374,
221,
1749,
5324,
47165,
63,
621,
221,
911,
45,
244,
57,
1110,
621,
221,
117,
534,
45,
30675,
15038,
51,
10591,
2142,
833,
49,
244,
53,
51,
53,
54,
107,
1110,
621,
221,
2986,
64,
374,
221,
1749,
578,
7420,
3199,
92,
63,
621,
221,
911,
45,
244,
57,
1110,
621,
221,
117,
534,
45,
578,
524,
18604,
15038,
51,
46773,
654,
49,
244,
53,
51,
53,
54,
107,
1110,
621,
221,
2986,
64,
374,
221,
1749,
535,
802,
1797,
63,
621,
221,
911,
45,
244,
57,
1110,
621,
221,
117,
534,
45,
30766,
15038,
51,
24813,
49,
244,
53,
51,
53,
54,
107,
1110,
621,
221,
2986,
64,
374,
221,
1749,
3040,
73,
63,
621,
221,
911,
45,
244,
57,
1110,
621,
221,
117,
534,
45,
643,
723,
15038,
51,
24813,
49,
244,
53,
51,
53,
54,
107,
1110,
621,
221,
2986,
64,
374,
221,
1749,
5324,
2229,
946,
100,
7106,
63,
621,
221,
911,
45,
244,
55,
1110,
621,
221,
117,
534,
45,
2432,
12261,
15038,
51,
7106,
49,
244,
53,
51,
53,
54,
107,
1110,
621,
221,
2986,
64,
374,
221,
1749,
5324,
2229,
946,
100,
24269,
63,
621,
221,
911,
45,
244,
55,
1110,
621,
221,
117,
534,
45,
2432,
12261,
15038,
51,
24269,
49,
244,
53,
51,
53,
54,
107,
1110,
621,
221,
2986,
64,
374,
221,
1749,
5324,
2229,
946,
100,
46566,
31107,
63,
621,
221,
911,
45,
244,
55,
1110,
621,
221,
117,
534,
45,
2432,
12261,
15038,
51,
46566,
31107,
49,
244,
53,
51,
53,
54,
107,
1110,
621,
221,
2986,
64,
374,
221,
1749,
2841,
93,
1122,
100,
4929,
63,
621,
221,
911,
45,
244,
54,
53,
1110,
621,
221,
117,
534,
45,
32968,
473,
51,
5802,
45,
39592,
473,
51,
1425,
93,
1122,
490,
244,
53,
51,
53,
55,
107,
1110,
621,
221,
2986,
64,
374,
221,
1749,
10544,
2414,
63,
621,
221,
911,
45,
244,
58,
1110,
621,
221,
117,
534,
45,
10421,
794,
15038,
51,
24813,
49,
244,
53,
51,
53,
54,
107,
1110,
621,
221,
2986,
64,
374,
221,
1749,
5277,
1309,
586,
63,
621,
221,
911,
45,
244,
56,
1110,
621,
221,
117,
534,
45,
7243,
5853,
15038,
51,
10591,
2142,
833,
49,
244,
53,
51,
53,
54,
107,
1110,
621,
221,
2986,
64,
2556,
221,
1749,
40214,
1122,
100,
10591,
88,
100,
1742,
74,
63,
621,
221,
911,
45,
244,
54,
53,
1110,
621,
221,
117,
534,
45,
24759,
15038,
51,
24813,
49,
244,
53,
51,
53,
56,
107,
1110,
621,
221,
2986,
64,
374,
221,
1749,
525,
1030,
654,
100,
1742,
74,
63,
621,
221,
911,
45,
244,
54,
53,
1110,
621,
221,
117,
534,
45,
25839,
15038,
51,
24813,
49,
244,
53,
51,
53,
56,
107,
1110,
621,
221,
2986,
64,
374,
221,
1749,
16922,
632,
100,
1742,
74,
63,
621,
221,
911,
45,
244,
54,
53,
1110,
621,
221,
117,
534,
45,
5463,
340,
15038,
51,
24813,
49,
244,
53,
51,
53,
56,
107,
1110,
621,
221,
2986,
64,
374,
221,
1749,
21295,
1030,
3606,
100,
1742,
74,
63,
621,
221,
911,
45,
244,
54,
53,
1110,
621,
221,
117,
534,
45,
8878,
38721,
15038,
51,
10591,
2142,
833,
49,
244,
53,
51,
53,
56,
107,
1110,
621,
221,
2986,
64,
374,
221,
1749,
28044,
78,
3484,
100,
1742,
74,
63,
621,
221,
911,
45,
244,
54,
53,
1110,
621,
221,
117,
534,
45,
33541,
15038,
51,
28316,
49,
244,
53,
51,
53,
56,
107,
1110,
621,
221,
2986,
64,
374,
221,
1749,
4800,
1973,
100,
1742,
74,
63,
621,
221,
911,
45,
244,
54,
53,
1110,
621,
221,
117,
534,
45,
377,
760,
15038,
51,
24813,
49,
244,
53,
51,
53,
55,
107,
1110,
621,
221,
2986,
64,
374,
221,
1749,
5324,
47165,
100,
1742,
74,
63,
621,
221,
911,
45,
244,
54,
53,
1110,
621,
221,
117,
534,
45,
30675,
15038,
51,
10591,
2142,
833,
49,
244,
53,
51,
53,
56,
107,
1110,
621,
221,
2986,
64,
374,
221,
1749,
578,
7420,
3199,
92,
100,
1742,
74,
63,
621,
221,
911,
45,
244,
54,
53,
1110,
621,
221,
117,
534,
45,
578,
524,
18604,
15038,
51,
46773,
654,
49,
244,
53,
51,
53,
56,
107,
1110,
621,
221,
2986,
64,
374,
221,
1749,
535,
802,
1797,
100,
1742,
74,
63,
621,
221,
911,
45,
244,
54,
53,
1110,
621,
221,
117,
534,
45,
30766,
15038,
51,
24813,
49,
244,
53,
51,
53,
56,
107,
1110,
621,
221,
2986,
64,
374,
221,
1749,
3040,
73,
100,
1742,
74,
63,
621,
221,
911,
45,
244,
54,
53,
1110,
621,
221,
117,
534,
45,
643,
723,
15038,
51,
24813,
49,
244,
53,
51,
53,
56,
107,
1110,
621,
221,
2986,
64,
374,
221,
1749,
466,
1282,
31107,
100,
1742,
74,
63,
621,
221,
911,
45,
244,
54,
53,
1110,
621,
221,
117,
534,
45,
18878,
11996,
15038,
51,
10591,
2142,
833,
49,
244,
53,
51,
53,
56,
107,
1110,
621,
221,
2986,
64,
374,
221,
1749,
377,
4200,
80,
100,
1742,
74,
63,
621,
221,
911,
45,
244,
54,
53,
1110,
621,
221,
117,
534,
45,
17311,
15038,
51,
24813,
49,
244,
53,
51,
53,
56,
107,
1110,
621,
221,
2986,
64,
374,
221,
1749,
570,
1323,
5422,
100,
1742,
74,
63,
621,
221,
911,
45,
244,
54,
53,
1110,
621,
221,
117,
534,
45,
570,
13795,
15038,
51,
24813,
49,
244,
53,
51,
53,
56,
107,
1110,
621,
221,
2986,
64,
376,
221,
130,
1332,
221,
9892,
680,
492,
222,
221,
130,
3038,
221,
942,
782,
1354,
45,
1916,
1354,
848,
320,
376,
221,
125,
5928,
1354,
536,
244,
55,
64,
376,
221,
126,
5928,
1354,
536,
244,
55,
64,
376,
221,
1660,
299,
2401,
299,
1354,
64,
222,
221,
130,
3038,
221,
942,
782,
758,
8186,
45,
1916,
556,
8186,
10555,
376,
221,
48882,
362,
299,
6460,
75,
51,
4927,
45,
391,
49,
556,
6460,
75,
45,
125,
49,
553,
46,
1110,
376,
221,
48882,
8246,
299,
556,
6460,
75,
45,
362,
6824,
13038,
941,
3826,
45,
556,
8186,
1110,
376,
221,
21062,
299,
8246,
51,
125,
64,
376,
221,
5824,
299,
8246,
51,
126,
64,
376,
221,
1021,
299,
362,
51,
1340,
365,
536,
556,
8186,
64,
222,
221,
130,
499,
221,
325,
487,
33250,
1431,
456,
341,
4959,
1152,
451,
331,
342,
15775,
6808,
664,
331,
5373,
391,
331,
9615,
575,
22129,
222,
221,
942,
924,
25839,
31689,
433,
342,
15775,
1811,
2674,
45,
1582,
2370,
49,
648,
847,
49,
8879,
15537,
49,
648,
391,
49,
14706,
3325,
1528,
376,
221,
20199,
31689,
433,
25206,
433,
299,
1849,
20199,
31689,
433,
46,
1382,
51,
46088,
45,
25839,
31689,
433,
51,
842,
11979,
376,
221,
344,
327,
10459,
51,
1828,
2674,
45,
471,
46,
882,
762,
1528,
374,
221,
7774,
433,
51,
4558,
45,
700,
49,
15537,
51,
2413,
1046,
22022,
51,
1828,
2674,
45,
471,
566,
13999,
51,
9750,
7067,
1046,
3325,
312,
376,
221,
130,
832,
320,
374,
221,
7774,
433,
51,
4558,
45,
700,
49,
15537,
49,
391,
49,
3325,
312,
376,
221,
130,
376,
221,
620,
25206,
433,
64,
222,
221,
130,
499,
221,
69,
1806,
222,
221,
5332,
1922,
458,
42118,
365,
320,
376,
221,
620,
920,
64,
453,
18510,
545,
20089,
222,
221,
130,
499,
221,
69,
1806,
222,
221,
942,
782,
1991,
365,
320,
376,
221,
5282,
51,
1896,
492,
376,
221,
344,
327,
286,
46,
320,
374,
221,
1832,
362,
299,
6067,
51,
18155,
64,
374,
221,
125,
1475,
23516,
338,
362,
64,
374,
221,
126,
1475,
11425,
338,
362,
64,
374,
221,
344,
1849,
1021,
5928,
362,
46,
2527,
244,
53,
46,
320,
621,
221,
286,
299,
920,
64,
621,
221,
344,
327,
4399,
882,
762,
848,
3325,
51,
1872,
492,
374,
221,
130,
376,
221,
130,
222,
221,
130,
3038,
221,
942,
924,
462,
25839,
15038,
2041,
20244,
15038,
320,
4102,
221,
942,
924,
1175,
22731,
410,
51,
2232,
525,
3833,
5655,
299,
556,
15590,
365,
320,
374,
221,
69,
1806,
374,
221,
942,
782,
9533,
45,
22731,
410,
30407,
49,
648,
1671,
49,
1916,
837,
49,
1916,
553,
848,
320,
621,
221,
1181,
20199,
15038,
46,
26615,
51,
46088,
45,
25839,
15038,
51,
842,
244,
3445,
4558,
45,
837,
49,
553,
1110,
374,
221,
130,
374,
221,
69,
1806,
374,
221,
942,
1922,
6314,
2116,
365,
320,
621,
221,
620,
878,
64,
374,
221,
130,
376,
221,
1274,
1332,
221,
942,
924,
1175,
22731,
410,
51,
2232,
13089,
8601,
1410,
299,
556,
15590,
365,
320,
374,
221,
69,
1806,
374,
221,
942,
782,
9533,
45,
22731,
410,
30407,
49,
648,
1671,
49,
1916,
837,
49,
1916,
553,
848,
320,
621,
221,
1181,
20199,
15038,
46,
26615,
51,
46088,
45,
25839,
15038,
51,
842,
244,
3445,
4558,
1094,
2024,
45,
837,
49,
553,
1110,
374,
221,
130,
374,
221,
69,
1806,
374,
221,
942,
1922,
6314,
2116,
365,
320,
621,
221,
620,
878,
64,
374,
221,
130,
376,
221,
1274,
4102,
221,
942,
25839,
15038,
365,
320,
374,
221,
5282,
492,
8212,
221,
1507,
45,
244,
53,
125,
61,
61,
2218,
1158,
1110,
374,
221,
38963,
326,
7489,
299,
244,
53,
51,
58,
107,
64,
8212,
221,
7682,
51,
489,
45,
9607,
51,
3690,
45,
449,
54,
53,
49,
494,
54,
53,
2604,
9607,
51,
3690,
45,
449,
54,
53,
49,
494,
54,
53,
848,
1110,
376,
221,
130,
4102,
221,
942,
782,
5672,
45,
1916,
837,
49,
1916,
553,
848,
320,
374,
221,
9892,
680,
492,
8212,
221,
597,
51,
125,
299,
837,
64,
374,
221,
597,
51,
126,
299,
553,
64,
8212,
221,
1892,
299,
475,
344,
326,
7489,
64,
376,
221,
130,
1332,
221,
942,
782,
5672,
1094,
2024,
45,
1916,
837,
49,
1916,
553,
46,
320,
374,
221,
9892,
680,
492,
2556,
221,
325,
911,
299,
244,
61,
64,
374,
221,
1892,
299,
475,
344,
326,
7489,
64,
2556,
221,
7682,
51,
34780,
45,
9607,
51,
3690,
45,
6460,
75,
51,
1182,
55,
2604,
9607,
51,
3690,
45,
244,
54,
59,
49,
244,
56,
55,
848,
1110,
374,
221,
597,
51,
125,
299,
837,
449,
8246,
51,
125,
338,
475,
344,
326,
7489,
64,
374,
221,
597,
51,
126,
299,
553,
449,
8246,
51,
126,
338,
475,
344,
326,
7489,
64,
376,
221,
130,
4102,
221,
69,
1806,
376,
221,
942,
782,
1991,
365,
320,
374,
221,
5282,
51,
1896,
492,
374,
221,
325,
7461,
63,
244,
54,
984,
244,
53,
64,
1354,
63,
244,
54,
984,
244,
57,
374,
221,
911,
45,
244,
57,
449,
327,
424,
299,
2859,
536,
475,
344,
326,
7489,
46,
338,
244,
56,
1110,
376,
221,
130,
222,
221,
130,
3038,
221,
942,
924,
462,
30766,
15038,
2041,
20244,
15038,
51,
47656,
318,
320,
4102,
221,
942,
924,
1175,
22731,
410,
51,
2232,
525,
3833,
5655,
299,
556,
15590,
365,
320,
374,
221,
69,
1806,
374,
221,
942,
782,
9533,
45,
22731,
410,
30407,
49,
648,
1671,
49,
1916,
837,
49,
1916,
553,
848,
320,
621,
221,
1181,
35789,
15038,
46,
26615,
51,
46088,
45,
30766,
15038,
51,
842,
244,
3445,
4558,
45,
837,
49,
553,
1110,
374,
221,
130,
376,
221,
1274,
4102,
221,
942,
924,
1175,
22731,
410,
51,
2232,
570,
1282,
654,
299,
556,
15590,
365,
320,
374,
221,
69,
1806,
374,
221,
942,
782,
9533,
45,
22731,
410,
30407,
49,
648,
1671,
49,
1916,
837,
49,
1916,
553,
848,
320,
621,
221,
1181,
35789,
15038,
46,
26615,
51,
46088,
45,
30766,
15038,
51,
842,
244,
3445,
4558,
27498,
289,
45,
837,
49,
553,
1110,
374,
221,
130,
376,
221,
1274,
4102,
221,
942,
924,
1175,
22731,
410,
51,
2232,
13089,
8601,
299,
556,
15590,
365,
320,
374,
221,
69,
1806,
374,
221,
942,
782,
9533,
45,
22731,
410,
30407,
49,
648,
1671,
49,
1916,
837,
49,
1916,
553,
848,
320,
621,
221,
1181,
35789,
15038,
46,
26615,
51,
46088,
45,
30766,
15038,
51,
842,
244,
3445,
4558,
1094,
2024,
45,
837,
49,
553,
1110,
374,
221,
130,
376,
221,
1274,
4102,
221,
942,
30766,
15038,
365,
320,
374,
221,
5282,
492,
8212,
221,
38963,
326,
7489,
299,
244,
53,
51,
58,
107,
64,
8212,
221,
4755,
51,
489,
45,
244,
53,
49,
494,
57,
53,
1110,
376,
221,
130,
4102,
221,
942,
782,
5672,
45,
1916,
837,
49,
1916,
553,
848,
320,
374,
221,
9892,
680,
492,
8212,
221,
597,
51,
125,
299,
837,
64,
374,
221,
597,
51,
126,
299,
553,
64,
8212,
221,
1892,
299,
475,
344,
326,
7489,
64,
374,
221,
911,
299,
244,
57,
64,
8212,
221,
344,
327,
6124,
51,
1438,
45,
54,
53,
46,
630,
244,
53,
1528,
621,
221,
1507,
45,
1530,
5728,
51,
3917,
45,
53,
4776,
75,
55,
59,
59,
49,
244,
53,
125,
61,
53,
60,
60,
54,
70,
894,
374,
221,
130,
832,
320,
621,
221,
1507,
45,
1530,
5728,
51,
3917,
45,
53,
125,
61,
53,
58,
58,
53,
53,
49,
244,
53,
125,
56,
56,
55,
58,
53,
53,
894,
374,
221,
130,
8212,
221,
7682,
51,
489,
45,
9607,
51,
3690,
45,
449,
54,
53,
49,
494,
54,
53,
2604,
9607,
51,
3690,
45,
449,
54,
53,
49,
494,
54,
53,
848,
1110,
376,
221,
130,
4102,
221,
942,
782,
5672,
27498,
289,
45,
1916,
837,
49,
1916,
553,
10555,
374,
221,
4558,
45,
125,
49,
553,
312,
8212,
221,
7682,
51,
34780,
45,
9607,
51,
3690,
45,
6460,
75,
51,
1182,
55,
2604,
9607,
51,
3690,
45,
244,
57,
53,
49,
244,
59,
53,
848,
1110,
376,
221,
130,
4102,
221,
942,
782,
5672,
1094,
2024,
45,
1916,
837,
49,
1916,
553,
10555,
374,
221,
4558,
45,
125,
49,
553,
312,
8212,
221,
7682,
51,
34780,
45,
9607,
51,
3690,
45,
6460,
75,
51,
1182,
55,
2604,
9607,
51,
3690,
45,
244,
55,
57,
49,
244,
56,
55,
848,
1110,
8212,
221,
597,
51,
125,
299,
837,
449,
8246,
51,
125,
338,
475,
344,
326,
7489,
64,
374,
221,
597,
51,
126,
299,
553,
449,
8246,
51,
126,
338,
475,
344,
326,
7489,
64,
8212,
221,
4755,
51,
489,
45,
244,
53,
49,
244,
53,
1110,
376,
221,
130,
222,
221,
130,
3038,
221,
942,
924,
462,
2432,
12261,
15038,
2041,
30766,
15038,
128,
4102,
221,
942,
924,
1175,
22731,
410,
51,
2232,
19067,
299,
556,
15590,
365,
320,
374,
221,
69,
1806,
374,
221,
942,
782,
9533,
45,
22731,
410,
30407,
49,
648,
1671,
49,
1916,
837,
49,
1916,
553,
848,
320,
621,
221,
1181,
1207,
12261,
15038,
46,
26615,
51,
46088,
45,
2432,
12261,
15038,
51,
842,
9671,
1397,
221,
51,
4558,
45,
837,
49,
553,
49,
5459,
5728,
51,
3917,
45,
53,
4776,
57,
73,
57,
73,
49,
244,
53,
125,
61,
53,
54,
70,
54,
70,
46,
1110,
374,
221,
130,
376,
221,
1274,
4102,
221,
942,
924,
1175,
22731,
410,
51,
2232,
15980,
2018,
299,
556,
15590,
365,
320,
374,
221,
69,
1806,
374,
221,
942,
782,
9533,
45,
22731,
410,
30407,
49,
648,
1671,
49,
1916,
837,
49,
1916,
553,
848,
320,
621,
221,
1181,
1207,
12261,
15038,
46,
26615,
51,
46088,
45,
2432,
12261,
15038,
51,
842,
9671,
1397,
221,
51,
4558,
45,
837,
49,
553,
49,
5459,
5728,
51,
3917,
45,
53,
125,
59,
59,
62,
62,
1158,
49,
244,
53,
125,
54,
70,
56,
72,
61,
53,
46,
1110,
374,
221,
130,
376,
221,
1274,
4102,
221,
942,
924,
1175,
22731,
410,
51,
2232,
466,
1282,
31107,
299,
556,
15590,
365,
320,
374,
221,
69,
1806,
374,
221,
942,
782,
9533,
45,
22731,
410,
30407,
49,
648,
1671,
49,
1916,
837,
49,
1916,
553,
848,
320,
621,
221,
1181,
1207,
12261,
15038,
46,
26615,
51,
46088,
45,
2432,
12261,
15038,
51,
842,
9671,
1397,
221,
51,
4558,
45,
837,
49,
553,
49,
5459,
5728,
51,
3917,
45,
53,
32303,
56,
56,
1158,
49,
244,
53,
125,
58,
74,
54,
70,
61,
53,
46,
1110,
374,
221,
130,
376,
221,
1274,
4102,
221,
429,
1496,
1530,
64,
376,
221,
429,
962,
1530,
64,
4102,
221,
942,
2432,
12261,
15038,
365,
320,
374,
221,
5282,
492,
8212,
221,
38963,
326,
7489,
299,
244,
53,
51,
59,
107,
64,
374,
221,
4755,
51,
489,
45,
244,
53,
49,
244,
53,
1110,
376,
221,
130,
4102,
221,
942,
782,
5672,
45,
1916,
837,
49,
1916,
553,
49,
648,
962,
1530,
10555,
374,
221,
5282,
51,
4558,
45,
837,
49,
553,
1110,
8212,
221,
911,
45,
244,
54,
1110,
8212,
221,
597,
51,
435,
1530,
299,
962,
1530,
64,
374,
221,
1384,
1530,
299,
5459,
5728,
51,
3917,
45,
53,
125,
61,
53,
58,
58,
53,
53,
49,
244,
53,
125,
56,
56,
55,
58,
53,
53,
312,
8212,
221,
7682,
51,
489,
45,
9607,
51,
3690,
45,
449,
54,
53,
49,
494,
54,
53,
2604,
9607,
51,
3690,
45,
449,
54,
53,
49,
494,
54,
53,
848,
1110,
376,
221,
130,
4102,
221,
69,
1806,
376,
221,
942,
782,
1991,
365,
320,
374,
221,
5282,
51,
1896,
492,
374,
221,
1507,
45,
5459,
5728,
51,
33546,
45,
962,
1530,
49,
1496,
1530,
49,
327,
1892,
536,
475,
344,
326,
7489,
46,
11979,
376,
221,
130,
222,
221,
130,
3038,
221,
942,
924,
462,
24759,
15038,
2041,
20244,
15038,
320,
4102,
221,
942,
924,
1175,
22731,
410,
51,
2232,
525,
3833,
5655,
299,
556,
15590,
365,
320,
374,
221,
69,
1806,
374,
221,
942,
782,
9533,
45,
22731,
410,
30407,
49,
648,
1671,
49,
1916,
837,
49,
1916,
553,
848,
320,
621,
221,
1181,
11076,
15038,
46,
26615,
51,
46088,
45,
24759,
15038,
51,
842,
244,
3445,
4558,
45,
837,
49,
553,
1110,
374,
221,
130,
374,
221,
69,
1806,
374,
221,
942,
1922,
6314,
2116,
365,
320,
621,
221,
620,
878,
64,
374,
221,
130,
376,
221,
1274,
4102,
221,
942,
24759,
15038,
365,
320,
374,
221,
5282,
492,
8212,
221,
38963,
326,
7489,
299,
244,
53,
51,
57,
107,
64,
8212,
221,
424,
299,
244,
53,
51,
58,
107,
64,
376,
221,
130,
4102,
221,
942,
782,
5672,
45,
1916,
837,
49,
1916,
553,
848,
320,
374,
221,
9892,
680,
492,
8212,
221,
597,
51,
125,
299,
837,
64,
374,
221,
597,
51,
126,
299,
553,
64,
8212,
221,
1892,
299,
475,
344,
326,
7489,
64,
376,
221,
130,
4102,
221,
69,
1806,
376,
221,
942,
782,
1991,
365,
320,
374,
221,
5282,
51,
1896,
492,
374,
221,
325,
1354,
63,
244,
56,
984,
244,
53,
374,
221,
911,
45,
327,
1892,
536,
475,
344,
326,
7489,
46,
338,
244,
56,
1110,
376,
221,
130,
222,
221,
130,
499,
221,
942,
924,
462,
377,
760,
15038,
2041,
20244,
15038,
320,
4102,
221,
2072,
22731,
410,
30407,
64,
4102,
221,
942,
924,
1175,
22731,
410,
51,
2232,
525,
3833,
5655,
299,
556,
15590,
365,
320,
374,
221,
69,
1806,
374,
221,
942,
782,
9533,
45,
22731,
410,
30407,
49,
648,
1671,
49,
1916,
837,
49,
1916,
553,
848,
320,
621,
221,
1181,
32221,
15038,
46,
26615,
51,
46088,
45,
377,
760,
15038,
51,
842,
244,
3445,
4558,
45,
837,
49,
553,
49,
30407,
1110,
374,
221,
130,
374,
221,
69,
1806,
374,
221,
942,
1922,
6314,
2116,
365,
320,
621,
221,
620,
878,
64,
374,
221,
130,
376,
221,
1274,
4102,
221,
942,
377,
760,
15038,
365,
320,
374,
221,
5282,
492,
8212,
221,
38963,
326,
7489,
299,
244,
53,
51,
59,
107,
64,
8212,
221,
1507,
45,
244,
53,
125,
59,
59,
57,
57,
55,
55,
1110,
374,
221,
911,
45,
244,
55,
1110,
376,
221,
130,
4102,
221,
942,
782,
5672,
45,
1916,
837,
49,
1916,
553,
49,
22731,
410,
30407,
848,
320,
374,
221,
9892,
680,
492,
8212,
221,
597,
51,
125,
299,
837,
64,
374,
221,
597,
51,
126,
299,
553,
64,
374,
221,
597,
51,
26615,
299,
30407,
64,
8212,
221,
1892,
299,
475,
344,
326,
7489,
64,
8212,
221,
4755,
51,
489,
45,
244,
53,
1110,
374,
221,
7682,
51,
489,
45,
9607,
51,
3690,
45,
449,
55,
53,
49,
494,
55,
53,
2604,
9607,
51,
3690,
45,
449,
55,
53,
49,
494,
55,
53,
848,
1110,
376,
221,
130,
4102,
221,
69,
1806,
376,
221,
942,
782,
1991,
365,
320,
374,
221,
5282,
51,
1896,
492,
8212,
221,
424,
299,
2859,
536,
475,
344,
326,
7489,
64,
374,
221,
4755,
51,
489,
45,
327,
26615,
51,
125,
449,
837,
46,
338,
244,
54,
53,
49,
327,
26615,
51,
126,
449,
553,
46,
338,
244,
54,
53,
1110,
376,
221,
130,
222,
221,
130,
499,
221,
942,
924,
462,
21415,
15038,
2041,
20244,
15038,
51,
47656,
318,
320,
1332,
221,
942,
924,
1175,
22731,
410,
51,
2232,
525,
3833,
5655,
299,
556,
15590,
365,
320,
374,
221,
69,
1806,
374,
221,
942,
782,
9533,
45,
22731,
410,
30407,
49,
648,
1671,
49,
1916,
837,
49,
1916,
553,
848,
320,
621,
221,
1181,
10500,
15038,
46,
26615,
51,
46088,
45,
21415,
15038,
51,
842,
244,
3445,
4558,
45,
1671,
49,
837,
49,
553,
1110,
374,
221,
130,
376,
221,
1274,
1332,
221,
942,
782,
5672,
45,
648,
1671,
49,
1916,
837,
49,
1916,
553,
848,
320,
374,
221,
5282,
51,
4558,
45,
837,
49,
553,
49,
244,
53,
125,
13158,
49,
244,
61,
49,
244,
53,
51,
58,
107,
1110,
2556,
221,
7682,
51,
34780,
45,
6460,
75,
51,
1182,
55,
536,
244,
61,
338,
1671,
49,
244,
54,
55,
1110,
374,
221,
597,
51,
125,
5928,
8246,
51,
125,
338,
475,
344,
326,
7489,
64,
374,
221,
597,
51,
126,
5928,
8246,
51,
126,
338,
475,
344,
326,
7489,
64,
376,
221,
130,
1332,
221,
69,
1806,
376,
221,
942,
782,
1991,
365,
320,
374,
221,
5282,
51,
1896,
492,
2556,
221,
424,
299,
327,
54,
449,
2859,
536,
475,
344,
326,
7489,
46,
536,
244,
55,
64,
376,
221,
130,
222,
221,
130,
499,
221,
942,
924,
462,
643,
723,
15038,
2041,
20244,
15038,
51,
47656,
318,
320,
4102,
221,
942,
924,
1175,
22731,
410,
51,
2232,
525,
3833,
5655,
299,
556,
15590,
365,
320,
374,
221,
69,
1806,
374,
221,
942,
782,
9533,
45,
22731,
410,
30407,
49,
648,
1671,
49,
1916,
837,
49,
1916,
553,
848,
320,
621,
221,
1181,
92,
723,
15038,
46,
26615,
51,
46088,
45,
643,
723,
15038,
51,
842,
244,
3445,
4558,
45,
837,
49,
553,
1110,
374,
221,
130,
374,
221,
69,
1806,
374,
221,
942,
1922,
6314,
2116,
365,
320,
621,
221,
620,
878,
64,
374,
221,
130,
376,
221,
1274,
1332,
221,
942,
924,
1175,
22731,
410,
51,
2232,
10159,
299,
556,
15590,
365,
320,
374,
221,
69,
1806,
374,
221,
942,
782,
9533,
45,
22731,
410,
30407,
49,
648,
1671,
49,
1916,
837,
49,
1916,
553,
848,
320,
621,
221,
1181,
92,
723,
15038,
46,
26615,
51,
46088,
45,
643,
723,
15038,
51,
842,
244,
3445,
4558,
1405,
45,
837,
49,
553,
1110,
374,
221,
130,
374,
221,
69,
1806,
374,
221,
942,
1922,
6314,
2116,
365,
320,
621,
221,
620,
878,
64,
374,
221,
130,
376,
221,
1274,
4102,
221,
942,
643,
723,
15038,
365,
320,
374,
221,
5282,
492,
8212,
221,
38963,
326,
7489,
299,
244,
53,
51,
59,
107,
64,
8212,
221,
1507,
45,
244,
53,
125,
61,
61,
55,
55,
1158,
1110,
376,
221,
130,
4102,
221,
942,
782,
5672,
45,
1916,
837,
49,
1916,
553,
848,
320,
374,
221,
9892,
680,
492,
8212,
221,
597,
51,
125,
299,
837,
64,
374,
221,
597,
51,
126,
299,
553,
64,
8212,
221,
1892,
299,
475,
344,
326,
7489,
64,
374,
221,
911,
299,
244,
61,
64,
376,
221,
130,
1332,
221,
942,
782,
5672,
1405,
45,
1916,
837,
49,
1916,
553,
1528,
374,
221,
4558,
45,
125,
49,
553,
312,
2556,
221,
7682,
51,
489,
45,
9607,
51,
3690,
45,
449,
61,
49,
494,
61,
2604,
9607,
51,
3690,
45,
449,
56,
55,
49,
449,
57,
61,
848,
1110,
376,
221,
130,
4102,
221,
69,
1806,
376,
221,
942,
782,
1991,
365,
320,
374,
221,
5282,
51,
1896,
492,
8212,
221,
424,
299,
244,
54,
449,
2859,
536,
475,
344,
326,
7489,
64,
376,
221,
130,
222,
221,
130,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 5,712
| true
| 61.694873
| true
| true
|
ConfigurationUtilsTest.java
|
/FileExtraction/Java_unseen/SoftInstigate_restheart/commons/src/test/java/org/restheart/utils/ConfigurationUtilsTest.java
|
/*-
* ========================LICENSE_START=================================
* restheart-commons
* %%
* Copyright (C) 2019 - 2024 SoftInstigate
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* =========================LICENSE_END==================================
*/
package org.restheart.utils;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertThrows;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static org.restheart.configuration.Utils.overrides;
import java.util.List;
import java.util.Map;
import org.junit.jupiter.api.Test;
public class ConfigurationUtilsTest {
@Test
public void testEmpty() {
var os = overrides(" ");
assertEquals(os.size(), 0);
}
@Test
public void testOne() {
var os = overrides("/a/b/c->1");
assertEquals(os.size(), 1);
var o = os.get(0);
assertEquals(o.path(), "/a/b/c");
assertEquals(1, o.value());
}
@Test
public void testNoOperator() {
assertThrows(IllegalArgumentException.class, () -> overrides("/a/b/c"));
}
@Test
public void testNoPath() {
assertThrows(IllegalArgumentException.class, () -> overrides("->1"));
}
@Test
public void testWrongPath() {
assertThrows(IllegalArgumentException.class, () -> overrides("/@@@@->1"));
assertThrows(IllegalArgumentException.class, () -> overrides("/---->1"));
}
@Test
public void testWrongValue() {
assertThrows(IllegalArgumentException.class, () -> overrides("/a->[1,2"));
}
@Test
public void testPathNotAbsolute() {
assertThrows(IllegalArgumentException.class, () -> overrides("a->[1,2"));
}
@Test
public void testSplit() {
var rho = "/a/b/c->{\"k\": \"v;\"};/a/b/c->{\"k\": \"v\"};/a->1;/a->\"1\";";
var os = overrides(rho);
assertEquals(os.size(), 4);
}
@Test
public void testMap() {
var o = overrides("/a->{'a': 1, 'b': 2}").get(0);
assertTrue(o.value() instanceof Map<?, ?>);
}
@Test
public void testList() {
var o = overrides("/a->[1,2,3]").get(0);
assertTrue(o.value() instanceof List<?>);
}
@Test
public void testStringSingleQuote() {
var o = overrides("/a->'ciao;';/b->'eccolo;'").get(0);
System.out.println("*********** " + o.value());
assertTrue(o.value() instanceof String);
if (o.value() instanceof String v) {
assertTrue(v.endsWith(";"));
}
}
@Test
public void testStringSingleQuoteWithEscaped() {
var o = overrides("/a->'ciao;';/b->'eccolo \\'qui;\\''").get(0);
assertTrue(o.value() instanceof String);
if (o.value() instanceof String v) {
assertTrue(v.endsWith(";"));
}
}
@Test
public void testStringDoubleQuote() {
var o = overrides("/a->\"ciao\";/b->\"eccolo;\"").get(0);
assertTrue(o.value() instanceof String);
}
@Test
public void testStringDoubleQuoteWithEscaped() {
var o = overrides("/a->\"ciao\";/b->\"eccolo \\\"qui;\\\" \"").get(0);
assertTrue(o.value() instanceof String);
}
@Test
public void testInt() {
var o = overrides("/a->0").get(0);
assertTrue(o.value() instanceof Integer);
}
}
| 3,908
|
Java
|
.java
|
SoftInstigate/restheart
| 790
| 170
| 10
|
2014-11-16T18:01:01Z
|
2024-05-07T16:34:12Z
|
360bef268e8bf0a25eca30bc2c69e1217500501e5324148af5405fbb1e05fdbe
|
[
1127,
50,
222,
338,
19984,
16625,
4106,
100,
7393,
2550,
66,
222,
338,
6125,
15894,
50,
8381,
222,
338,
12947,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
54,
62,
449,
244,
55,
53,
55,
57,
28437,
3245,
40882,
222,
338,
12947,
222,
338,
4773,
1549,
341,
3954,
1196,
49,
3050,
244,
55,
51,
53,
327,
1402,
332,
3801,
742,
222,
338,
863,
1648,
666,
813,
477,
822,
2959,
347,
4960,
642,
341,
1196,
51,
222,
338,
2469,
1648,
4245,
331,
1948,
451,
341,
1196,
840,
222,
338,
222,
338,
665,
1930,
574,
1516,
51,
2121,
51,
1107,
52,
4205,
52,
4106,
50,
55,
51,
53,
222,
338,
222,
338,
5416,
2147,
829,
4568,
4940,
575,
5129,
391,
347,
4144,
49,
2951,
222,
338,
2744,
1549,
341,
1196,
458,
2744,
563,
619,
332,
1117,
2771,
39,
5128,
49,
222,
338,
4213,
3912,
1895,
5186,
2258,
2979,
4489,
49,
3173,
3927,
575,
4506,
51,
222,
338,
2819,
341,
1196,
456,
341,
2835,
2940,
5139,
4243,
480,
222,
338,
5191,
1549,
341,
1196,
51,
222,
338,
19984,
800,
4106,
100,
3298,
2550,
398,
222,
588,
222,
1337,
1105,
51,
4756,
15894,
51,
2324,
64,
222,
222,
485,
924,
1105,
51,
3946,
51,
14127,
51,
1256,
51,
16980,
51,
4993,
64,
222,
485,
924,
1105,
51,
3946,
51,
14127,
51,
1256,
51,
16980,
51,
880,
12762,
64,
222,
485,
924,
1105,
51,
3946,
51,
14127,
51,
1256,
51,
16980,
51,
6553,
64,
222,
485,
924,
1105,
51,
4756,
15894,
51,
5990,
51,
2769,
51,
25043,
64,
222,
222,
485,
1401,
51,
1058,
51,
739,
64,
222,
485,
1401,
51,
1058,
51,
1225,
64,
222,
485,
1105,
51,
3946,
51,
14127,
51,
1256,
51,
1024,
64,
222,
222,
942,
462,
8149,
44318,
320,
303,
496,
1024,
303,
581,
782,
913,
2779,
365,
320,
310,
792,
2355,
299,
19980,
459,
280,
7173,
603,
3803,
45,
519,
51,
911,
1046,
244,
53,
312,
303,
339,
465,
496,
1024,
303,
581,
782,
913,
3597,
365,
320,
310,
792,
2355,
299,
19980,
4229,
102,
52,
103,
52,
104,
415,
54,
742,
603,
3803,
45,
519,
51,
911,
1046,
244,
54,
312,
603,
792,
356,
299,
2355,
51,
390,
45,
53,
312,
310,
3803,
45,
116,
51,
1005,
1046,
2450,
102,
52,
103,
52,
104,
742,
310,
3803,
45,
54,
49,
356,
51,
872,
1052,
303,
339,
465,
496,
1024,
303,
581,
782,
913,
2042,
7151,
365,
320,
310,
38945,
45,
25894,
51,
842,
49,
1423,
984,
19980,
4229,
102,
52,
103,
52,
104,
2992,
303,
339,
465,
496,
1024,
303,
581,
782,
913,
2042,
1233,
365,
320,
310,
38945,
45,
25894,
51,
842,
49,
1423,
984,
19980,
459,
415,
54,
2992,
303,
339,
465,
496,
1024,
303,
581,
782,
913,
19123,
1233,
365,
320,
310,
38945,
45,
25894,
51,
842,
49,
1423,
984,
19980,
4229,
22967,
415,
54,
2992,
310,
38945,
45,
25894,
51,
842,
49,
1423,
984,
19980,
4229,
355,
67,
54,
2992,
303,
339,
465,
496,
1024,
303,
581,
782,
913,
19123,
899,
365,
320,
310,
38945,
45,
25894,
51,
842,
49,
1423,
984,
19980,
4229,
102,
415,
96,
54,
49,
55,
2992,
303,
339,
465,
496,
1024,
303,
581,
782,
913,
1233,
1355,
12036,
365,
320,
310,
38945,
45,
25894,
51,
842,
49,
1423,
984,
19980,
459,
102,
415,
96,
54,
49,
55,
2992,
303,
339,
465,
496,
1024,
303,
581,
782,
913,
7356,
365,
320,
310,
792,
23330,
299,
2450,
102,
52,
103,
52,
104,
8974,
1508,
112,
4576,
4045,
123,
64,
1508,
1274,
52,
102,
52,
103,
52,
104,
8974,
1508,
112,
4576,
4045,
123,
1508,
1274,
52,
102,
415,
54,
6532,
102,
415,
1508,
54,
7084,
884,
603,
792,
2355,
299,
19980,
45,
15306,
312,
603,
3803,
45,
519,
51,
911,
1046,
244,
57,
312,
303,
339,
465,
496,
1024,
303,
581,
782,
913,
1225,
365,
320,
310,
792,
356,
299,
19980,
4229,
102,
28277,
102,
972,
244,
54,
49,
349,
103,
972,
244,
55,
130,
1912,
390,
45,
53,
312,
603,
9396,
45,
116,
51,
872,
365,
5118,
3531,
36628,
2860,
312,
303,
339,
465,
496,
1024,
303,
581,
782,
913,
739,
365,
320,
310,
792,
356,
299,
19980,
4229,
102,
415,
96,
54,
49,
55,
49,
56,
48958,
390,
45,
53,
312,
603,
9396,
45,
116,
51,
872,
365,
5118,
1701,
11667,
312,
303,
339,
465,
496,
1024,
303,
581,
782,
913,
671,
6284,
17117,
365,
320,
310,
792,
356,
299,
19980,
4229,
102,
415,
44,
104,
16872,
64,
938,
52,
103,
415,
44,
754,
19353,
24937,
1912,
390,
45,
53,
312,
603,
1189,
51,
560,
51,
3962,
459,
639,
8150,
332,
494,
356,
51,
872,
1052,
603,
9396,
45,
116,
51,
872,
365,
5118,
910,
312,
310,
434,
327,
116,
51,
872,
365,
5118,
910,
373,
46,
320,
343,
9396,
45,
123,
51,
20982,
45336,
2992,
310,
339,
303,
339,
465,
496,
1024,
303,
581,
782,
913,
671,
6284,
17117,
1569,
24854,
26678,
365,
320,
310,
792,
356,
299,
19980,
4229,
102,
415,
44,
104,
16872,
64,
938,
52,
103,
415,
44,
754,
19353,
6101,
44,
19990,
64,
1750,
2723,
1912,
390,
45,
53,
312,
603,
9396,
45,
116,
51,
872,
365,
5118,
910,
312,
310,
434,
327,
116,
51,
872,
365,
5118,
910,
373,
46,
320,
343,
9396,
45,
123,
51,
20982,
45336,
2992,
310,
339,
303,
339,
465,
496,
1024,
303,
581,
782,
913,
671,
4090,
17117,
365,
320,
310,
792,
356,
299,
19980,
4229,
102,
415,
1508,
104,
16872,
7084,
52,
103,
415,
1508,
754,
19353,
8884,
1033,
566,
390,
45,
53,
312,
603,
9396,
45,
116,
51,
872,
365,
5118,
910,
312,
303,
339,
465,
496,
1024,
303,
581,
782,
913,
671,
4090,
17117,
1569,
24854,
26678,
365,
320,
310,
792,
356,
299,
19980,
4229,
102,
415,
1508,
104,
16872,
7084,
52,
103,
415,
1508,
754,
19353,
6101,
1508,
19990,
64,
30953,
25656,
566,
390,
45,
53,
312,
603,
9396,
45,
116,
51,
872,
365,
5118,
910,
312,
303,
339,
465,
496,
1024,
303,
581,
782,
913,
1438,
365,
320,
310,
792,
356,
299,
19980,
4229,
102,
415,
53,
1912,
390,
45,
53,
312,
603,
9396,
45,
116,
51,
872,
365,
5118,
4418,
312,
303,
339,
222,
130,
222
] |
[
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 1,025
| true
| 56.397134
| true
| true
|
Knife.java
|
/FileExtraction/Java_unseen/Hoto-Mocha_Re-ARranged-Pixel-Dungeon/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/weapon/melee/Knife.java
|
/*
* Pixel Dungeon
* Copyright (C) 2012-2015 Oleg Dolya
*
* Shattered Pixel Dungeon
* Copyright (C) 2014-2022 Evan Debenham
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>
*/
package com.shatteredpixel.shatteredpixeldungeon.items.weapon.melee;
import com.shatteredpixel.shatteredpixeldungeon.Assets;
import com.shatteredpixel.shatteredpixeldungeon.Dungeon;
import com.shatteredpixel.shatteredpixeldungeon.actors.Actor;
import com.shatteredpixel.shatteredpixeldungeon.actors.Char;
import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Bleeding;
import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Buff;
import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Cripple;
import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Invisibility;
import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Paralysis;
import com.shatteredpixel.shatteredpixeldungeon.actors.hero.Hero;
import com.shatteredpixel.shatteredpixeldungeon.actors.hero.HeroSubClass;
import com.shatteredpixel.shatteredpixeldungeon.messages.Messages;
import com.shatteredpixel.shatteredpixeldungeon.sprites.ItemSpriteSheet;
import com.shatteredpixel.shatteredpixeldungeon.ui.AttackIndicator;
import com.shatteredpixel.shatteredpixeldungeon.utils.GLog;
import com.watabou.noosa.audio.Sample;
import com.watabou.utils.Callback;
import com.watabou.utils.Random;
public class Knife extends MeleeWeapon {
{
image = ItemSpriteSheet.KNIFE;
hitSound = Assets.Sounds.HIT_SLASH;
hitSoundPitch = 1.2f;
tier = 2;
}
@Override
public int max(int lvl) {
return tier+2 +
lvl;
}
@Override
public int proc(Char attacker, Char defender, int damage) {
Buff.affect(defender, Bleeding.class).set(damage);
return super.proc( attacker, defender, damage );
}
@Override
protected int baseChargeUse(Hero hero, Char target){
return 3;
}
@Override
public String targetingPrompt() {
return Messages.get(this, "prompt");
}
@Override
protected void duelistAbility(Hero hero, Integer target) {
knifeAbility(hero, target, 0.5f, this);
}
public static void knifeAbility(Hero hero, Integer target, float bleedingAmt, MeleeWeapon wep){
if (target == null) {
return;
}
Char enemy = Actor.findChar(target);
if (enemy == null || enemy == hero || hero.isCharmedBy(enemy) || !Dungeon.level.heroFOV[target]) {
GLog.w(Messages.get(wep, "ability_no_target"));
return;
}
hero.belongings.abilityWeapon = wep;
if (!hero.canAttack(enemy)){
GLog.w(Messages.get(wep, "ability_bad_position"));
hero.belongings.abilityWeapon = null;
return;
}
hero.belongings.abilityWeapon = null;
hero.sprite.attack(enemy.pos, new Callback() {
@Override
public void call() {
wep.beforeAbilityUsed(hero, enemy);
AttackIndicator.target(enemy);
if (hero.attack(enemy, 1, 0, Char.INFINITE_ACCURACY)){
Sample.INSTANCE.play(Assets.Sounds.HIT_STRONG);
}
Invisibility.dispel();
hero.spendAndNext(hero.attackDelay());
float multi = bleedingAmt;
if (enemy.properties().contains(Char.Property.BOSS) || enemy.properties().contains(Char.Property.MINIBOSS)) {
multi = 0.05f;
}
if (!enemy.isAlive()){
wep.onAbilityKill(hero, enemy);
} else {
Buff.affect(enemy, Bleeding.class).set(enemy.HP*multi);
}
wep.afterAbilityUsed(hero);
}
});
}
}
| 3,932
|
Java
|
.java
|
Hoto-Mocha/Re-ARranged-Pixel-Dungeon
| 13
| 1
| 5
|
2023-11-27T05:56:58Z
|
2024-05-05T00:54:39Z
|
e9a0fcfc37e4896ad7b799655dc89108fe7b5285c8f6cf928d6c30e21da4b7e1
|
[
1127,
222,
338,
20244,
493,
28253,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
54,
55,
50,
55,
53,
54,
58,
565,
2358,
493,
4628,
102,
222,
338,
222,
338,
2432,
6319,
337,
20244,
493,
28253,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
54,
57,
50,
55,
53,
55,
55,
535,
15738,
21945,
291,
11809,
222,
338,
222,
338,
1369,
3477,
458,
3760,
2951,
63,
863,
902,
14081,
580,
480,
52,
290,
5370,
222,
338,
580,
1549,
341,
5974,
451,
341,
6994,
6153,
5062,
1196,
641,
9582,
829,
222,
338,
341,
7834,
3870,
7120,
49,
3173,
1522,
244,
56,
451,
341,
1196,
49,
575,
222,
338,
327,
288,
1390,
2489,
46,
1364,
6146,
1522,
51,
222,
338,
222,
338,
1369,
3477,
458,
2744,
347,
341,
9850,
708,
580,
1118,
545,
6386,
49,
222,
338,
1294,
4213,
2979,
9345,
64,
2895,
4462,
341,
4506,
14319,
451,
222,
338,
7934,
575,
8114,
4800,
418,
7848,
7763,
51,
244,
2819,
341,
222,
338,
6994,
6153,
5062,
1196,
456,
1851,
4261,
51,
222,
338,
222,
338,
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
6153,
5062,
1196,
222,
338,
7979,
642,
477,
3477,
51,
244,
1691,
666,
49,
2337,
350,
544,
574,
1516,
51,
10627,
51,
1107,
52,
4205,
2056,
222,
588,
222,
222,
1337,
785,
51,
635,
6319,
337,
7807,
51,
635,
6319,
337,
7807,
105,
28253,
51,
3053,
51,
15218,
51,
308,
13372,
64,
222,
222,
485,
785,
51,
635,
6319,
337,
7807,
51,
635,
6319,
337,
7807,
105,
28253,
51,
14016,
64,
222,
485,
785,
51,
635,
6319,
337,
7807,
51,
635,
6319,
337,
7807,
105,
28253,
51,
73,
28253,
64,
222,
485,
785,
51,
635,
6319,
337,
7807,
51,
635,
6319,
337,
7807,
105,
28253,
51,
31869,
51,
10459,
64,
222,
485,
785,
51,
635,
6319,
337,
7807,
51,
635,
6319,
337,
7807,
105,
28253,
51,
31869,
51,
2674,
64,
222,
485,
785,
51,
635,
6319,
337,
7807,
51,
635,
6319,
337,
7807,
105,
28253,
51,
31869,
51,
12811,
120,
51,
71,
293,
337,
318,
64,
222,
485,
785,
51,
635,
6319,
337,
7807,
51,
635,
6319,
337,
7807,
105,
28253,
51,
31869,
51,
12811,
120,
51,
20334,
64,
222,
485,
785,
51,
635,
6319,
337,
7807,
51,
635,
6319,
337,
7807,
105,
28253,
51,
31869,
51,
12811,
120,
51,
72,
23939,
64,
222,
485,
785,
51,
635,
6319,
337,
7807,
51,
635,
6319,
337,
7807,
105,
28253,
51,
31869,
51,
12811,
120,
51,
402,
13484,
64,
222,
485,
785,
51,
635,
6319,
337,
7807,
51,
635,
6319,
337,
7807,
105,
28253,
51,
31869,
51,
12811,
120,
51,
945,
4425,
64,
222,
485,
785,
51,
635,
6319,
337,
7807,
51,
635,
6319,
337,
7807,
105,
28253,
51,
31869,
51,
15263,
51,
21823,
64,
222,
485,
785,
51,
635,
6319,
337,
7807,
51,
635,
6319,
337,
7807,
105,
28253,
51,
31869,
51,
15263,
51,
21823,
1736,
1359,
64,
222,
485,
785,
51,
635,
6319,
337,
7807,
51,
635,
6319,
337,
7807,
105,
28253,
51,
6296,
51,
6389,
64,
222,
485,
785,
51,
635,
6319,
337,
7807,
51,
635,
6319,
337,
7807,
105,
28253,
51,
34666,
51,
1114,
10792,
8337,
64,
222,
485,
785,
51,
635,
6319,
337,
7807,
51,
635,
6319,
337,
7807,
105,
28253,
51,
1726,
51,
13321,
12474,
64,
222,
485,
785,
51,
635,
6319,
337,
7807,
51,
635,
6319,
337,
7807,
105,
28253,
51,
2324,
51,
76,
1353,
64,
222,
485,
785,
51,
124,
1626,
663,
51,
1365,
22201,
51,
7376,
51,
5209,
64,
222,
485,
785,
51,
124,
1626,
663,
51,
2324,
51,
3309,
64,
222,
485,
785,
51,
124,
1626,
663,
51,
2324,
51,
6124,
64,
222,
222,
942,
462,
44271,
6376,
2041,
3130,
13372,
18599,
320,
499,
221,
128,
376,
221,
915,
299,
6337,
10792,
8337,
51,
32714,
2971,
74,
64,
376,
221,
11369,
9024,
299,
25769,
51,
40824,
51,
42978,
100,
3910,
7885,
64,
376,
221,
11369,
9024,
24367,
299,
244,
54,
51,
55,
107,
64,
1332,
221,
23001,
299,
244,
55,
64,
222,
221,
130,
499,
221,
69,
1806,
222,
221,
942,
648,
1788,
45,
429,
41163,
46,
320,
376,
221,
620,
244,
29419,
48,
55,
494,
621,
221,
26514,
64,
222,
221,
130,
499,
221,
69,
1806,
222,
221,
942,
648,
11502,
45,
2674,
35500,
49,
7698,
684,
1629,
49,
648,
13676,
46,
320,
376,
221,
20334,
51,
102,
2567,
45,
43510,
49,
570,
293,
337,
318,
51,
842,
566,
489,
45,
23937,
312,
376,
221,
620,
2615,
51,
6805,
45,
35500,
49,
684,
1629,
49,
13676,
1110,
222,
221,
130,
499,
221,
69,
1806,
222,
221,
5332,
648,
1712,
18580,
4404,
45,
21823,
24294,
49,
7698,
1780,
1528,
376,
221,
620,
244,
56,
64,
222,
221,
130,
499,
221,
69,
1806,
222,
221,
942,
910,
42785,
18234,
365,
320,
376,
221,
620,
22617,
51,
390,
45,
597,
49,
332,
13226,
742,
222,
221,
130,
499,
221,
69,
1806,
222,
221,
5332,
782,
7278,
687,
22130,
45,
21823,
24294,
49,
4418,
1780,
46,
320,
376,
221,
37515,
22130,
45,
15263,
49,
1780,
49,
244,
53,
51,
58,
107,
49,
477,
312,
222,
221,
130,
499,
221,
942,
924,
782,
22871,
6376,
22130,
45,
21823,
24294,
49,
4418,
1780,
49,
1916,
17585,
337,
318,
30093,
49,
3130,
13372,
18599,
360,
950,
1528,
376,
221,
344,
327,
2000,
630,
762,
46,
320,
374,
221,
620,
64,
376,
221,
130,
1332,
221,
2674,
22129,
299,
22022,
51,
1828,
2674,
45,
2000,
312,
376,
221,
344,
327,
27339,
630,
762,
1293,
22129,
630,
24294,
1293,
24294,
51,
316,
2674,
1987,
1103,
45,
27339,
46,
1293,
673,
73,
28253,
51,
2675,
51,
15263,
1380,
91,
96,
2000,
1156,
320,
374,
221,
76,
1353,
51,
124,
45,
6389,
51,
390,
45,
124,
950,
49,
332,
3478,
100,
1365,
100,
2000,
2992,
374,
221,
620,
64,
376,
221,
130,
1332,
221,
15263,
51,
11008,
805,
2070,
51,
3478,
18599,
299,
360,
950,
64,
376,
221,
344,
1445,
15263,
51,
3389,
13321,
45,
27339,
7717,
374,
221,
76,
1353,
51,
124,
45,
6389,
51,
390,
45,
124,
950,
49,
332,
3478,
100,
3387,
100,
2719,
2992,
374,
221,
15263,
51,
11008,
805,
2070,
51,
3478,
18599,
299,
762,
64,
374,
221,
620,
64,
376,
221,
130,
376,
221,
15263,
51,
11008,
805,
2070,
51,
3478,
18599,
299,
762,
64,
1332,
221,
15263,
51,
13999,
51,
15605,
45,
27339,
51,
985,
49,
556,
14706,
365,
320,
374,
221,
69,
1806,
374,
221,
942,
782,
1495,
365,
320,
621,
221,
124,
950,
51,
5566,
22130,
10571,
45,
15263,
49,
22129,
312,
621,
221,
13321,
12474,
51,
2000,
45,
27339,
312,
621,
221,
344,
327,
15263,
51,
15605,
45,
27339,
49,
244,
54,
49,
244,
53,
49,
7698,
51,
10189,
540,
2363,
100,
1205,
7525,
32179,
7717,
596,
221,
5209,
51,
12457,
51,
1087,
45,
14016,
51,
40824,
51,
42978,
100,
20474,
312,
621,
221,
130,
5033,
221,
402,
13484,
51,
18606,
361,
492,
621,
221,
15263,
51,
438,
435,
2199,
3364,
45,
15263,
51,
15605,
8221,
1052,
621,
221,
1832,
6973,
299,
17585,
337,
318,
30093,
64,
621,
221,
344,
327,
27339,
51,
4659,
941,
4766,
45,
2674,
51,
1667,
51,
3199,
1725,
46,
1293,
22129,
51,
4659,
941,
4766,
45,
2674,
51,
1667,
51,
4697,
3077,
41241,
509,
320,
596,
221,
6870,
299,
244,
53,
51,
53,
58,
107,
64,
621,
221,
130,
621,
221,
344,
1445,
27339,
51,
316,
18897,
13059,
596,
221,
124,
950,
51,
286,
22130,
27844,
45,
15263,
49,
22129,
312,
621,
221,
130,
832,
320,
596,
221,
20334,
51,
102,
2567,
45,
27339,
49,
570,
293,
337,
318,
51,
842,
566,
489,
45,
27339,
51,
3617,
47,
6870,
312,
621,
221,
130,
621,
221,
124,
950,
51,
5497,
22130,
10571,
45,
15263,
312,
374,
221,
130,
376,
221,
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
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 1,294
| true
| 74.160732
| true
| true
|
ShellCommandShellEnvironment.java
|
/FileExtraction/Java_unseen/AndroidIDEOfficial_AndroidIDE/termux/termux-shared/src/main/java/com/termux/shared/shell/command/environment/ShellCommandShellEnvironment.java
|
package com.termux.shared.shell.command.environment;
import android.content.Context;
import androidx.annotation.NonNull;
import com.termux.shared.shell.command.ExecutionCommand;
import java.util.HashMap;
/**
* Environment for {@link ExecutionCommand}.
*/
public class ShellCommandShellEnvironment {
/** Environment variable prefix for the {@link ExecutionCommand}. */
public static final String SHELL_CMD_ENV_PREFIX = "SHELL_CMD__";
/** Environment variable for the {@link ExecutionCommand.Runner} name. */
public static final String ENV_SHELL_CMD__RUNNER_NAME = SHELL_CMD_ENV_PREFIX + "RUNNER_NAME";
/** Environment variable for the package name running the {@link ExecutionCommand}. */
public static final String ENV_SHELL_CMD__PACKAGE_NAME = SHELL_CMD_ENV_PREFIX + "PACKAGE_NAME";
/** Environment variable for the {@link ExecutionCommand#id}/TermuxShellManager.SHELL_ID name.
* This will be common for all runners. */
public static final String ENV_SHELL_CMD__SHELL_ID = SHELL_CMD_ENV_PREFIX + "SHELL_ID";
/** Environment variable for the {@link ExecutionCommand#shellName} name. */
public static final String ENV_SHELL_CMD__SHELL_NAME = SHELL_CMD_ENV_PREFIX + "SHELL_NAME";
/** Environment variable for the {@link ExecutionCommand.Runner#APP_SHELL} number since boot. */
public static final String ENV_SHELL_CMD__APP_SHELL_NUMBER_SINCE_BOOT = SHELL_CMD_ENV_PREFIX + "APP_SHELL_NUMBER_SINCE_BOOT";
/** Environment variable for the {{@link ExecutionCommand.Runner#TERMINAL_SESSION} number since boot. */
public static final String ENV_SHELL_CMD__TERMINAL_SESSION_NUMBER_SINCE_BOOT = SHELL_CMD_ENV_PREFIX + "TERMINAL_SESSION_NUMBER_SINCE_BOOT";
/** Environment variable for the {@link ExecutionCommand.Runner#APP_SHELL} number since app start. */
public static final String ENV_SHELL_CMD__APP_SHELL_NUMBER_SINCE_APP_START = SHELL_CMD_ENV_PREFIX + "APP_SHELL_NUMBER_SINCE_APP_START";
/** Environment variable for the {@link ExecutionCommand.Runner#TERMINAL_SESSION} number since app start. */
public static final String ENV_SHELL_CMD__TERMINAL_SESSION_NUMBER_SINCE_APP_START = SHELL_CMD_ENV_PREFIX + "TERMINAL_SESSION_NUMBER_SINCE_APP_START";
/** Get shell environment containing info for {@link ExecutionCommand}. */
@NonNull
public HashMap<String, String> getEnvironment(@NonNull Context currentPackageContext,
@NonNull ExecutionCommand executionCommand) {
HashMap<String, String> environment = new HashMap<>();
ExecutionCommand.Runner runner = ExecutionCommand.Runner.runnerOf(executionCommand.runner);
if (runner == null) return environment;
ShellEnvironmentUtils.putToEnvIfSet(environment, ENV_SHELL_CMD__RUNNER_NAME, runner.getRunnerName());
ShellEnvironmentUtils.putToEnvIfSet(environment, ENV_SHELL_CMD__PACKAGE_NAME, currentPackageContext.getPackageName());
ShellEnvironmentUtils.putToEnvIfSet(environment, ENV_SHELL_CMD__SHELL_ID, String.valueOf(executionCommand.id));
ShellEnvironmentUtils.putToEnvIfSet(environment, ENV_SHELL_CMD__SHELL_NAME, executionCommand.shellName);
return environment;
}
}
| 3,241
|
Java
|
.java
|
AndroidIDEOfficial/AndroidIDE
| 1,961
| 233
| 145
|
2021-07-20T13:31:14Z
|
2024-05-07T22:27:12Z
|
ff583baacacfb9db83efcbe7c2c12c36e078d897851050b9cf77a1fac1caec76
|
[
1337,
785,
51,
3908,
1677,
51,
4206,
51,
7890,
51,
2514,
51,
9247,
64,
222,
222,
485,
2616,
51,
1304,
51,
1237,
64,
222,
222,
485,
10484,
51,
4341,
51,
10082,
64,
222,
222,
485,
785,
51,
3908,
1677,
51,
4206,
51,
7890,
51,
2514,
51,
6141,
2037,
64,
222,
222,
485,
1401,
51,
1058,
51,
8263,
64,
222,
222,
1350,
222,
338,
10584,
456,
3105,
1222,
16254,
2037,
4037,
222,
588,
222,
942,
462,
20418,
2037,
7171,
6342,
320,
465,
1041,
10584,
2702,
5216,
456,
341,
3105,
1222,
16254,
2037,
4037,
588,
303,
581,
924,
1175,
910,
377,
1692,
3218,
100,
8193,
100,
7235,
100,
9857,
299,
332,
41440,
100,
8193,
523,
884,
465,
1041,
10584,
2702,
456,
341,
3105,
1222,
16254,
2037,
51,
7980,
130,
655,
51,
588,
303,
581,
924,
1175,
910,
20977,
100,
41440,
100,
8193,
523,
6338,
13726,
100,
2491,
299,
377,
1692,
3218,
100,
8193,
100,
7235,
100,
9857,
494,
332,
6338,
13726,
100,
2491,
884,
465,
1041,
10584,
2702,
456,
341,
2670,
655,
3991,
341,
3105,
1222,
16254,
2037,
4037,
588,
303,
581,
924,
1175,
910,
20977,
100,
41440,
100,
8193,
523,
15803,
100,
2491,
299,
377,
1692,
3218,
100,
8193,
100,
7235,
100,
9857,
494,
332,
15803,
100,
2491,
884,
465,
1041,
10584,
2702,
456,
341,
3105,
1222,
16254,
2037,
40,
333,
3206,
6269,
1677,
7171,
1590,
51,
41440,
100,
798,
655,
51,
294,
338,
1369,
1118,
545,
4959,
456,
1187,
1441,
11831,
51,
588,
303,
581,
924,
1175,
910,
20977,
100,
41440,
100,
8193,
523,
41440,
100,
798,
299,
377,
1692,
3218,
100,
8193,
100,
7235,
100,
9857,
494,
332,
41440,
100,
798,
884,
465,
1041,
10584,
2702,
456,
341,
3105,
1222,
16254,
2037,
40,
7890,
577,
130,
655,
51,
588,
303,
581,
924,
1175,
910,
20977,
100,
41440,
100,
8193,
523,
41440,
100,
2491,
299,
377,
1692,
3218,
100,
8193,
100,
7235,
100,
9857,
494,
332,
41440,
100,
2491,
884,
2205,
1041,
10584,
2702,
456,
341,
3105,
1222,
16254,
2037,
51,
7980,
40,
6876,
100,
41440,
130,
1470,
4577,
12002,
51,
588,
303,
581,
924,
1175,
910,
20977,
100,
41440,
100,
8193,
523,
6876,
100,
41440,
100,
10468,
100,
44443,
1973,
100,
24941,
299,
377,
1692,
3218,
100,
8193,
100,
7235,
100,
9857,
494,
332,
6876,
100,
41440,
100,
10468,
100,
44443,
1973,
100,
24941,
884,
465,
1041,
10584,
2702,
456,
341,
3351,
69,
1222,
16254,
2037,
51,
7980,
40,
40456,
744,
100,
9561,
130,
1470,
4577,
12002,
51,
588,
303,
581,
924,
1175,
910,
20977,
100,
41440,
100,
8193,
523,
40456,
744,
100,
9561,
100,
10468,
100,
44443,
1973,
100,
24941,
299,
377,
1692,
3218,
100,
8193,
100,
7235,
100,
9857,
494,
332,
40456,
744,
100,
9561,
100,
10468,
100,
44443,
1973,
100,
24941,
884,
465,
1041,
10584,
2702,
456,
341,
3105,
1222,
16254,
2037,
51,
7980,
40,
6876,
100,
41440,
130,
1470,
4577,
1142,
1496,
51,
588,
303,
581,
924,
1175,
910,
20977,
100,
41440,
100,
8193,
523,
6876,
100,
41440,
100,
10468,
100,
44443,
1973,
100,
6876,
100,
7393,
299,
377,
1692,
3218,
100,
8193,
100,
7235,
100,
9857,
494,
332,
6876,
100,
41440,
100,
10468,
100,
44443,
1973,
100,
6876,
100,
7393,
884,
465,
1041,
10584,
2702,
456,
341,
3105,
1222,
16254,
2037,
51,
7980,
40,
40456,
744,
100,
9561,
130,
1470,
4577,
1142,
1496,
51,
588,
303,
581,
924,
1175,
910,
20977,
100,
41440,
100,
8193,
523,
40456,
744,
100,
9561,
100,
10468,
100,
44443,
1973,
100,
6876,
100,
7393,
299,
377,
1692,
3218,
100,
8193,
100,
7235,
100,
9857,
494,
332,
40456,
744,
100,
9561,
100,
10468,
100,
44443,
1973,
100,
6876,
100,
7393,
884,
4054,
1041,
1408,
9092,
4730,
6663,
3116,
456,
3105,
1222,
16254,
2037,
4037,
588,
303,
496,
10082,
303,
581,
8329,
65,
671,
49,
910,
67,
640,
6342,
4810,
10082,
7063,
1565,
4057,
1237,
49,
15614,
496,
10082,
16254,
2037,
6111,
2037,
46,
320,
310,
8329,
65,
671,
49,
910,
67,
4730,
299,
556,
8329,
6984,
603,
16254,
2037,
51,
7980,
15682,
299,
16254,
2037,
51,
7980,
51,
10349,
1436,
45,
10526,
2037,
51,
10349,
312,
310,
434,
327,
10349,
630,
762,
46,
461,
4730,
64,
603,
20418,
6342,
2769,
51,
543,
724,
6063,
2811,
903,
45,
9247,
49,
20977,
100,
41440,
100,
8193,
523,
6338,
13726,
100,
2491,
49,
15682,
51,
390,
7980,
577,
1052,
310,
20418,
6342,
2769,
51,
543,
724,
6063,
2811,
903,
45,
9247,
49,
20977,
100,
41440,
100,
8193,
523,
15803,
100,
2491,
49,
1565,
4057,
1237,
51,
390,
28458,
1052,
310,
20418,
6342,
2769,
51,
543,
724,
6063,
2811,
903,
45,
9247,
49,
20977,
100,
41440,
100,
8193,
523,
41440,
100,
798,
49,
910,
51,
9169,
45,
10526,
2037,
51,
333,
894,
310,
20418,
6342,
2769,
51,
543,
724,
6063,
2811,
903,
45,
9247,
49,
20977,
100,
41440,
100,
8193,
523,
41440,
100,
2491,
49,
6111,
2037,
51,
7890,
577,
312,
603,
461,
4730,
64,
303,
339,
222,
222,
130,
222
] |
[
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 817
| true
| 73.125579
| true
| true
|
ResolveTypeInPoolTest.java
|
/FileExtraction/Java_unseen/campolake_openjdk9/hotspot/test/compiler/jvmci/compilerToVM/ResolveTypeInPoolTest.java
|
/*
* Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
/*
* @test
* @bug 8136421
* @requires (os.simpleArch == "x64" | os.simpleArch == "sparcv9" | os.simpleArch == "aarch64")
* @summary Testing compiler.jvmci.CompilerToVM.resolveTypeInPool method
* @library /testlibrary /test/lib /
* @library ../common/patches
* @modules java.base/jdk.internal.misc
* java.base/jdk.internal.reflect
* java.base/jdk.internal.org.objectweb.asm
* jdk.vm.ci/jdk.vm.ci.hotspot
* jdk.vm.ci/jdk.vm.ci.meta
* @build jdk.vm.ci/jdk.vm.ci.hotspot.CompilerToVMHelper
* @build sun.hotspot.WhiteBox
* compiler.jvmci.compilerToVM.ResolveTypeInPoolTest
* @run main ClassFileInstaller sun.hotspot.WhiteBox
* sun.hotspot.WhiteBox$WhiteBoxPermission
* @run main/othervm -Xbootclasspath/a:.
* -XX:+UnlockExperimentalVMOptions -XX:+EnableJVMCI
* -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
* compiler.jvmci.compilerToVM.ResolveTypeInPoolTest
*/
package compiler.jvmci.compilerToVM;
import compiler.jvmci.compilerToVM.ConstantPoolTestsHelper.DummyClasses;
import compiler.jvmci.compilerToVM.ConstantPoolTestCase.ConstantTypes;
import static compiler.jvmci.compilerToVM.ConstantPoolTestCase.ConstantTypes.*;
import compiler.jvmci.compilerToVM.ConstantPoolTestCase.TestedCPEntry;
import compiler.jvmci.compilerToVM.ConstantPoolTestCase.Validator;
import java.util.HashMap;
import java.util.Map;
import jdk.vm.ci.hotspot.CompilerToVMHelper;
import jdk.vm.ci.hotspot.HotSpotResolvedObjectType;
import jdk.vm.ci.meta.ConstantPool;
/**
* Test for {@code jdk.vm.ci.hotspot.CompilerToVM.resolveTypeInPool} method
*/
public class ResolveTypeInPoolTest {
public static void main(String[] args) throws Exception {
Map<ConstantTypes, Validator> typeTests = new HashMap<>();
typeTests.put(CONSTANT_CLASS, ResolveTypeInPoolTest::validate);
ConstantPoolTestCase testCase = new ConstantPoolTestCase(typeTests);
testCase.test();
// The next "Class.forName" and repeating "testCase.test()"
// are here for the following reason.
// The first test run is without dummy class initialization,
// which means no constant pool cache exists.
// The second run is with initialized class (with constant pool cache available).
// Some CompilerToVM methods require different input
// depending on whether CP cache exists or not.
for (DummyClasses dummy : DummyClasses.values()) {
Class.forName(dummy.klass.getName());
}
testCase.test();
}
public static void validate(ConstantPool constantPoolCTVM,
ConstantTypes cpType,
DummyClasses dummyClass,
int i) {
TestedCPEntry entry = cpType.getTestedCPEntry(dummyClass, i);
if (entry == null) {
return;
}
HotSpotResolvedObjectType typeToVerify = CompilerToVMHelper.resolveTypeInPool(constantPoolCTVM, i);
String classNameToRefer = entry.klass;
String outputToVerify = typeToVerify.toString();
if (!outputToVerify.contains(classNameToRefer)) {
String msg = String.format("Wrong class accessed by constant"
+ " pool index %d: %s, but should be %s",
i,
outputToVerify,
classNameToRefer);
throw new AssertionError(msg);
}
}
}
| 4,663
|
Java
|
.java
|
campolake/openjdk9
| 8
| 10
| 0
|
2016-03-04T04:55:23Z
|
2016-06-11T09:35:41Z
|
dd7fa419c5a174ae07da19d57354692251bec7c01d2a313160e5b1b1070c7e2e
|
[
1127,
222,
338,
2657,
327,
104,
46,
244,
55,
53,
54,
58,
49,
244,
55,
53,
54,
59,
49,
17980,
480,
52,
290,
2840,
25094,
51,
3381,
4760,
5225,
51,
222,
338,
4103,
2387,
23740,
1895,
35234,
8995,
2387,
11988,
1895,
8968,
10961,
30441,
51,
222,
338,
222,
338,
1369,
1361,
458,
3760,
2951,
64,
863,
902,
14081,
580,
480,
52,
290,
5370,
580,
222,
338,
1549,
341,
5974,
451,
341,
6994,
6153,
5062,
1196,
1522,
244,
55,
1773,
49,
641,
222,
338,
9582,
829,
341,
7834,
3870,
7120,
51,
222,
338,
222,
338,
1369,
1361,
458,
2744,
347,
341,
9850,
708,
580,
1118,
545,
6386,
49,
1294,
4213,
222,
338,
2979,
9345,
64,
2895,
4462,
341,
4506,
14319,
451,
7934,
575,
222,
338,
8114,
4800,
418,
7848,
7763,
51,
244,
2819,
341,
6994,
6153,
5062,
1196,
222,
338,
1522,
244,
55,
456,
1851,
4261,
327,
102,
1948,
458,
5976,
347,
341,
7621,
822,
708,
222,
338,
20854,
297,
4850,
477,
1361,
566,
222,
338,
222,
338,
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
6153,
5062,
1196,
1522,
222,
338,
244,
55,
7979,
642,
477,
1409,
64,
434,
666,
49,
2886,
391,
341,
7834,
3870,
7120,
49,
222,
338,
6367,
4345,
244,
58,
54,
34113,
1277,
49,
33316,
26912,
49,
25006,
49,
13083,
244,
53,
55,
54,
54,
53,
50,
54,
56,
53,
54,
15067,
51,
222,
338,
222,
338,
5304,
7272,
17980,
49,
244,
58,
53,
53,
17980,
27004,
3094,
49,
4777,
21100,
2432,
6868,
49,
10562,
244,
62,
57,
53,
59,
58,
15067,
222,
338,
575,
7739,
19955,
51,
11116,
51,
527,
434,
863,
1868,
5408,
2490,
575,
1178,
1364,
222,
338,
10034,
51,
222,
338,
222,
588,
222,
222,
1127,
222,
338,
496,
881,
222,
338,
496,
1468,
244,
61,
54,
56,
59,
57,
55,
54,
222,
338,
496,
13980,
327,
519,
51,
6681,
7867,
630,
332,
125,
59,
57,
39,
542,
2355,
51,
6681,
7867,
630,
332,
34874,
4167,
62,
39,
542,
2355,
51,
6681,
7867,
630,
332,
39455,
59,
57,
678,
222,
338,
496,
1386,
15613,
8986,
51,
23491,
1891,
51,
8122,
724,
5064,
51,
5292,
638,
402,
4227,
1431,
222,
338,
496,
5261,
536,
881,
5261,
536,
881,
52,
1379,
536,
222,
338,
496,
5261,
11789,
2297,
52,
27271,
222,
338,
496,
3490,
1401,
51,
1460,
52,
12461,
51,
3269,
51,
14495,
222,
338,
2052,
1401,
51,
1460,
52,
12461,
51,
3269,
51,
9069,
222,
338,
2052,
1401,
51,
1460,
52,
12461,
51,
3269,
51,
1107,
51,
1491,
1857,
51,
7741,
222,
338,
2052,
614,
4532,
51,
3166,
51,
1891,
52,
12461,
51,
3166,
51,
1891,
51,
8156,
7529,
222,
338,
2052,
614,
4532,
51,
3166,
51,
1891,
52,
12461,
51,
3166,
51,
1891,
51,
2874,
222,
338,
496,
1848,
614,
4532,
51,
3166,
51,
1891,
52,
12461,
51,
3166,
51,
1891,
51,
8156,
7529,
51,
8122,
724,
5064,
2775,
222,
338,
496,
1848,
15315,
51,
8156,
7529,
51,
11076,
1723,
222,
338,
370,
8986,
51,
23491,
1891,
51,
10203,
724,
5064,
51,
15044,
638,
402,
4227,
1024,
222,
338,
496,
1967,
2594,
1727,
991,
30582,
15315,
51,
8156,
7529,
51,
11076,
1723,
222,
338,
12994,
15315,
51,
8156,
7529,
51,
11076,
1723,
41,
11076,
1723,
7052,
222,
338,
496,
1967,
2594,
52,
2476,
3166,
449,
93,
3621,
33423,
52,
102,
15696,
222,
338,
6031,
449,
2931,
30041,
13104,
26659,
5064,
2045,
449,
2931,
30041,
6601,
35886,
4264,
222,
338,
6031,
449,
2931,
30041,
13104,
24031,
5064,
2045,
449,
2931,
30041,
11076,
1723,
2571,
222,
338,
6031,
8986,
51,
23491,
1891,
51,
10203,
724,
5064,
51,
15044,
638,
402,
4227,
1024,
222,
588,
222,
222,
1337,
8986,
51,
23491,
1891,
51,
10203,
724,
5064,
64,
222,
222,
485,
8986,
51,
23491,
1891,
51,
10203,
724,
5064,
51,
5476,
4227,
4485,
2775,
51,
17292,
8038,
64,
222,
485,
8986,
51,
23491,
1891,
51,
10203,
724,
5064,
51,
5476,
4227,
7246,
51,
5476,
2439,
64,
222,
485,
924,
8986,
51,
23491,
1891,
51,
10203,
724,
5064,
51,
5476,
4227,
7246,
51,
5476,
2439,
7737,
222,
485,
8986,
51,
23491,
1891,
51,
10203,
724,
5064,
51,
5476,
4227,
7246,
51,
48343,
2973,
2717,
64,
222,
485,
8986,
51,
23491,
1891,
51,
10203,
724,
5064,
51,
5476,
4227,
7246,
51,
7069,
64,
222,
485,
1401,
51,
1058,
51,
8263,
64,
222,
485,
1401,
51,
1058,
51,
1225,
64,
222,
485,
614,
4532,
51,
3166,
51,
1891,
51,
8156,
7529,
51,
8122,
724,
5064,
2775,
64,
222,
485,
614,
4532,
51,
3166,
51,
1891,
51,
8156,
7529,
51,
14102,
19021,
17901,
15885,
64,
222,
485,
614,
4532,
51,
3166,
51,
1891,
51,
2874,
51,
5476,
4227,
64,
222,
222,
1350,
222,
338,
2128,
456,
3105,
707,
614,
4532,
51,
3166,
51,
1891,
51,
8156,
7529,
51,
8122,
724,
5064,
51,
5292,
638,
402,
4227,
130,
1431,
222,
588,
222,
942,
462,
27294,
638,
402,
4227,
1024,
320,
465,
581,
924,
782,
2594,
45,
671,
1197,
2194,
46,
2589,
3284,
320,
310,
3531,
65,
5476,
2439,
49,
19510,
67,
847,
4485,
299,
556,
8329,
6984,
310,
847,
4485,
51,
543,
45,
21159,
100,
7428,
49,
27294,
638,
402,
4227,
1024,
422,
4647,
312,
310,
15027,
4227,
7246,
32161,
299,
556,
15027,
4227,
7246,
45,
700,
4485,
312,
310,
32161,
51,
881,
492,
310,
453,
906,
2371,
332,
1359,
51,
31918,
39,
480,
29716,
1761,
332,
42401,
51,
881,
19286,
310,
453,
904,
2464,
456,
341,
2434,
5982,
51,
310,
453,
906,
1950,
913,
1441,
458,
2895,
11657,
462,
13603,
49,
310,
453,
1532,
6084,
1307,
8100,
6937,
3337,
5394,
51,
310,
453,
906,
3118,
1441,
458,
642,
8777,
462,
327,
1814,
8100,
6937,
3337,
3322,
566,
310,
453,
4202,
20178,
724,
5064,
4457,
1224,
3473,
1533,
310,
453,
14732,
563,
4962,
17047,
3337,
5394,
575,
666,
51,
310,
456,
327,
17292,
8038,
11657,
518,
25222,
8038,
51,
2857,
1177,
320,
343,
1727,
51,
31918,
45,
11230,
51,
23303,
51,
5175,
1052,
310,
339,
310,
32161,
51,
881,
492,
303,
339,
465,
581,
924,
782,
6051,
45,
5476,
4227,
8100,
4227,
952,
5064,
49,
1396,
15027,
2439,
9210,
638,
49,
1396,
25222,
8038,
11657,
1359,
49,
1396,
648,
613,
46,
320,
310,
27832,
2973,
2717,
3429,
299,
9210,
638,
51,
38824,
337,
2973,
2717,
45,
11230,
1359,
49,
613,
312,
310,
434,
327,
3054,
630,
762,
46,
320,
343,
461,
64,
310,
339,
310,
24851,
19021,
17901,
15885,
847,
724,
10574,
299,
20178,
724,
5064,
2775,
51,
5292,
638,
402,
4227,
45,
8696,
4227,
952,
5064,
49,
613,
312,
310,
910,
2631,
724,
8806,
299,
3429,
51,
23303,
64,
310,
910,
1716,
724,
10574,
299,
847,
724,
10574,
51,
3127,
492,
310,
434,
1445,
2051,
724,
10574,
51,
4766,
45,
8686,
724,
8806,
509,
320,
343,
910,
3141,
299,
910,
51,
1664,
459,
19123,
462,
20008,
829,
8100,
39,
16324,
494,
332,
6937,
1671,
925,
105,
63,
925,
120,
49,
1294,
1414,
545,
925,
120,
411,
10013,
613,
49,
10013,
1716,
724,
10574,
49,
10013,
2631,
724,
8806,
312,
343,
1440,
556,
34845,
45,
2093,
312,
310,
339,
303,
339,
222,
130,
222
] |
[
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 1,174
| true
| 66.330688
| true
| true
|
GeneralMethods.java
|
/FileExtraction/Java_unseen/geckoanton_Quadrum/desktop/Quadrum/src/main/GeneralMethods.java
|
/*
* GeneralMethods.java
*
* Created on: Okt 29, 2020
* Last Updated on: Okt 29, 2020
* Author: Gecko Anton https://github.com/geckoanton
*
* Quadrum is a LED-Cube framework and editor.
* Copyright (C) 2020 geckoanton
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package main;
import java.awt.*;
import java.net.URI;
public class GeneralMethods {
public static final int BYTE_SIZE = 8;
public static byte[] stringToByteArray(String stringName, int byteLength) {
byte[] retArr = new byte[byteLength];
for(int i = 0; i < byteLength; i++)
retArr[i] = 0;
if(stringName == null)
return retArr;
for(int i = 0; i < stringName.length(); i++)
retArr[i] = (byte) stringName.charAt(i);
return retArr;
}
public static String byteArrayToString(byte[] array) {
StringBuilder result = new StringBuilder(array.length);
for(int i = 0; i < array.length; i++) {
if(array[i] == 0)
break;
result.append((char) array[i]);
}
return result.toString();
}
private static final char[] HEX_ARRAY = "0123456789ABCDEF".toCharArray();
public static String byteToHex(byte data) {
char[] hexChars = new char[2];
int v = data & 0xFF;
hexChars[0] = HEX_ARRAY[v >>> 4];
hexChars[1] = HEX_ARRAY[v & 0x0F];
return new String(hexChars);
}
public static void openUrl(String urlString) {
try {
String osString = System.getProperty("os.name").toLowerCase();
if (osString.contains("nix") || osString.contains("nux") || osString.contains("aix")) {
// workaround for linux because "Desktop.getDesktop().browse()" doesn't work on some linux implementations
if (Runtime.getRuntime().exec(new String[] { "which", "xdg-open" }).getInputStream().read() != -1) {
Runtime.getRuntime().exec(new String[] { "xdg-open", urlString });
}
}
else {
if (Desktop.isDesktopSupported()) {
Desktop.getDesktop().browse(new URI(urlString));
}
}
}
catch (Exception e) {}
}
}
| 2,560
|
Java
|
.java
|
geckoanton/Quadrum
| 10
| 1
| 2
|
2020-11-03T18:42:53Z
|
2021-02-27T22:29:42Z
|
8c304ddb053f1927fdb8d9bea51effa6ea51a92f062a3d2ee4f77fe55a99579a
|
[
1127,
222,
338,
6153,
8898,
51,
1874,
222,
338,
222,
338,
981,
6956,
563,
63,
244,
565,
4455,
244,
55,
62,
49,
244,
55,
53,
55,
53,
222,
338,
244,
11321,
13619,
563,
63,
244,
565,
4455,
244,
55,
62,
49,
244,
55,
53,
55,
53,
222,
338,
2281,
6265,
63,
244,
26281,
16396,
286,
1698,
574,
951,
51,
527,
52,
319,
19724,
710,
286,
222,
338,
222,
338,
35811,
10538,
458,
331,
17827,
50,
17435,
8376,
480,
7020,
51,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
55,
53,
244,
3244,
19724,
710,
286,
222,
338,
222,
338,
1369,
3477,
458,
3760,
2951,
63,
863,
902,
14081,
580,
480,
52,
290,
5370,
222,
338,
580,
1549,
341,
5974,
451,
341,
6994,
6153,
5062,
1196,
641,
9582,
829,
222,
338,
341,
7834,
3870,
7120,
49,
3173,
1522,
244,
56,
451,
341,
1196,
49,
575,
222,
338,
327,
288,
1390,
2489,
46,
1364,
6146,
1522,
51,
222,
338,
222,
338,
1369,
3477,
458,
2744,
347,
341,
9850,
708,
580,
1118,
545,
6386,
49,
222,
338,
1294,
4213,
2979,
9345,
64,
2895,
4462,
341,
4506,
14319,
451,
222,
338,
7934,
575,
8114,
4800,
418,
7848,
7763,
51,
244,
2819,
341,
222,
338,
6994,
6153,
5062,
1196,
456,
1851,
4261,
51,
222,
338,
222,
338,
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
6153,
5062,
1196,
222,
338,
7979,
642,
477,
3477,
51,
244,
1691,
666,
49,
2337,
350,
662,
574,
1516,
51,
10627,
51,
1107,
52,
4205,
28699,
222,
588,
222,
222,
1337,
2594,
64,
222,
222,
485,
1401,
51,
8236,
7737,
222,
485,
1401,
51,
1317,
51,
6344,
64,
222,
222,
942,
462,
6153,
8898,
320,
222,
221,
942,
924,
1175,
648,
25140,
100,
3382,
299,
244,
61,
64,
499,
221,
942,
924,
3447,
1197,
821,
724,
12561,
45,
671,
821,
577,
49,
648,
3447,
2396,
46,
320,
376,
221,
2278,
1197,
2170,
7729,
299,
556,
3447,
96,
2278,
2396,
988,
376,
221,
999,
45,
429,
613,
299,
244,
53,
64,
613,
350,
3447,
2396,
64,
613,
2002,
374,
221,
2113,
7729,
96,
110,
98,
299,
244,
53,
64,
376,
221,
344,
45,
819,
577,
630,
762,
46,
374,
221,
620,
2170,
7729,
64,
376,
221,
999,
45,
429,
613,
299,
244,
53,
64,
613,
350,
821,
577,
51,
1340,
492,
613,
2002,
374,
221,
2113,
7729,
96,
110,
98,
299,
327,
2278,
46,
821,
577,
51,
15602,
45,
110,
312,
376,
221,
620,
2170,
7729,
64,
222,
221,
130,
222,
221,
942,
924,
910,
41558,
4602,
45,
2278,
1197,
1437,
46,
320,
376,
221,
20859,
1074,
299,
556,
9705,
45,
977,
51,
1340,
312,
376,
221,
999,
45,
429,
613,
299,
244,
53,
64,
613,
350,
1437,
51,
1340,
64,
613,
2002,
320,
374,
221,
344,
45,
977,
96,
110,
98,
630,
244,
53,
46,
621,
221,
2986,
64,
374,
221,
1285,
51,
1713,
1181,
1612,
46,
1437,
96,
110,
2004,
376,
221,
130,
376,
221,
620,
1074,
51,
3127,
492,
222,
221,
130,
499,
221,
2072,
924,
1175,
1370,
1197,
46691,
100,
9489,
299,
332,
53,
54,
55,
56,
57,
58,
59,
60,
61,
62,
38610,
2316,
44536,
492,
222,
221,
942,
924,
910,
3447,
724,
10226,
45,
2278,
727,
46,
320,
376,
221,
1612,
1197,
9965,
16356,
299,
556,
1370,
96,
55,
988,
376,
221,
429,
373,
299,
727,
568,
244,
53,
4776,
64,
376,
221,
6961,
16356,
96,
53,
98,
299,
46691,
100,
9489,
96,
123,
8257,
244,
57,
988,
376,
221,
6961,
16356,
96,
54,
98,
299,
46691,
100,
9489,
96,
123,
568,
244,
53,
125,
53,
75,
988,
376,
221,
620,
556,
910,
45,
6961,
16356,
312,
222,
221,
130,
499,
221,
942,
924,
782,
2177,
2226,
45,
671,
2001,
671,
46,
320,
376,
221,
1287,
320,
374,
221,
671,
2355,
671,
299,
1189,
51,
12712,
459,
519,
51,
444,
1912,
10498,
492,
374,
221,
344,
327,
519,
671,
51,
4766,
459,
11380,
678,
1293,
2355,
671,
51,
4766,
459,
33499,
678,
1293,
2355,
671,
51,
4766,
459,
102,
801,
2152,
320,
621,
221,
325,
15725,
456,
14228,
3318,
332,
13050,
51,
390,
13050,
941,
14296,
19286,
4183,
1348,
1409,
563,
1649,
14228,
17448,
621,
221,
344,
327,
5061,
51,
390,
5061,
941,
2510,
45,
909,
910,
1197,
320,
332,
7916,
411,
332,
3096,
108,
50,
1693,
39,
7694,
42810,
941,
870,
365,
882,
449,
54,
46,
320,
596,
221,
5061,
51,
390,
5061,
941,
2510,
45,
909,
910,
1197,
320,
332,
3096,
108,
50,
1693,
411,
2001,
671,
1141,
621,
221,
130,
374,
221,
130,
374,
221,
728,
320,
621,
221,
344,
327,
13050,
51,
316,
13050,
10330,
1177,
320,
596,
221,
13050,
51,
390,
13050,
941,
14296,
45,
909,
7417,
45,
983,
671,
894,
621,
221,
130,
374,
221,
130,
376,
221,
130,
376,
221,
5639,
327,
1002,
503,
46,
2172,
222,
221,
130,
222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1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 806
| true
| 65.9375
| true
| true
|
BasicStandardReader.java
|
/FileExtraction/Java_unseen/TeamMonumenta_scripted-quests/plugin/src/main/java/com/floweytf/utils/stdstreams/BasicStandardReader.java
|
package com.floweytf.utils.stdstreams;
/*
* These are utilities for serialization between forge & bukkit
* See original project here: https://github.com/FloweyTheFlower420/mappings-utils
* Author: Flowey
* License: GPL v3
*/
import java.io.IOException;
import java.nio.ByteBuffer;
import java.nio.charset.StandardCharsets;
public class BasicStandardReader<T> implements IStandardByteReader {
public interface ByteReader<T> {
int read(T instance, byte[] buf) throws IOException;
}
private final T mInstance;
private final ByteReader<T> mReader;
public BasicStandardReader(T inst, ByteReader<T> rd) {
mInstance = inst;
mReader = rd;
}
@Override
public long readLong() throws IOException {
byte[] bytes = new byte[8];
mReader.read(mInstance, bytes);
return ByteBuffer.wrap(bytes).order(java.nio.ByteOrder.LITTLE_ENDIAN).getLong();
}
@Override
public int readInt() throws IOException {
byte[] bytes = new byte[4];
mReader.read(mInstance, bytes);
return ByteBuffer.wrap(bytes).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt();
}
@Override
public short readShort() throws IOException {
byte[] bytes = new byte[2];
mReader.read(mInstance, bytes);
return ByteBuffer.wrap(bytes).order(java.nio.ByteOrder.LITTLE_ENDIAN).getShort();
}
@Override
public byte readByte() throws IOException {
byte[] bytes = new byte[1];
mReader.read(mInstance, bytes);
return bytes[0];
}
@Override
public String readString() throws IOException {
int size = readInt();
byte[] bytes = new byte[size];
mReader.read(mInstance, bytes);
return new String(bytes, StandardCharsets.UTF_8);
}
@Override
public float readFloat() throws IOException {
return Float.intBitsToFloat(readInt());
}
@Override
public double readDouble() throws IOException {
return Double.longBitsToDouble(readLong());
}
}
| 1,841
|
Java
|
.java
|
TeamMonumenta/scripted-quests
| 9
| 3
| 20
|
2018-01-28T08:12:27Z
|
2024-05-01T21:20:28Z
|
3517f4ee4d94de2138a1bf78519051bb7ed0f01f1c31b916798ed81d523e9c05
|
[
1337,
785,
51,
1888,
929,
4274,
51,
2324,
51,
1550,
15176,
64,
222,
1127,
222,
338,
8227,
904,
22773,
456,
22672,
3761,
456,
319,
568,
1098,
17120,
222,
338,
2819,
4732,
2091,
2464,
63,
1698,
574,
951,
51,
527,
52,
4078,
929,
1338,
4078,
284,
57,
55,
53,
52,
28347,
50,
2324,
222,
338,
6265,
63,
12433,
929,
222,
338,
1196,
63,
23508,
373,
56,
222,
588,
222,
222,
485,
1401,
51,
735,
51,
6860,
64,
222,
485,
1401,
51,
11780,
51,
21042,
64,
222,
485,
1401,
51,
11780,
51,
15220,
51,
44137,
64,
222,
222,
942,
462,
9280,
8109,
3314,
65,
89,
67,
4584,
457,
8109,
3945,
3314,
320,
222,
221,
942,
2586,
8049,
3314,
65,
89,
67,
320,
376,
221,
429,
1511,
45,
89,
1998,
49,
3447,
1197,
4856,
46,
2589,
6300,
64,
222,
221,
130,
499,
221,
2072,
1175,
413,
364,
1825,
64,
222,
221,
2072,
1175,
8049,
3314,
65,
89,
67,
364,
3314,
64,
499,
221,
942,
9280,
8109,
3314,
45,
89,
1458,
49,
8049,
3314,
65,
89,
67,
18950,
46,
320,
376,
221,
114,
1825,
299,
1458,
64,
376,
221,
114,
3314,
299,
18950,
64,
222,
221,
130,
499,
221,
69,
1806,
222,
221,
942,
1964,
1511,
3967,
365,
2589,
6300,
320,
376,
221,
2278,
1197,
3534,
299,
556,
3447,
96,
61,
988,
376,
221,
114,
3314,
51,
870,
45,
114,
1825,
49,
3534,
312,
376,
221,
620,
24976,
51,
4087,
45,
3669,
566,
1191,
45,
1874,
51,
11780,
51,
3945,
2888,
51,
22571,
35312,
100,
34223,
566,
33192,
492,
222,
221,
130,
499,
221,
69,
1806,
222,
221,
942,
648,
1511,
1438,
365,
2589,
6300,
320,
376,
221,
2278,
1197,
3534,
299,
556,
3447,
96,
57,
988,
376,
221,
114,
3314,
51,
870,
45,
114,
1825,
49,
3534,
312,
376,
221,
620,
24976,
51,
4087,
45,
3669,
566,
1191,
45,
1874,
51,
11780,
51,
3945,
2888,
51,
22571,
35312,
100,
34223,
566,
15384,
492,
222,
221,
130,
499,
221,
69,
1806,
222,
221,
942,
4514,
1511,
6881,
365,
2589,
6300,
320,
376,
221,
2278,
1197,
3534,
299,
556,
3447,
96,
55,
988,
376,
221,
114,
3314,
51,
870,
45,
114,
1825,
49,
3534,
312,
376,
221,
620,
24976,
51,
4087,
45,
3669,
566,
1191,
45,
1874,
51,
11780,
51,
3945,
2888,
51,
22571,
35312,
100,
34223,
566,
390,
6881,
492,
222,
221,
130,
499,
221,
69,
1806,
222,
221,
942,
3447,
1511,
3945,
365,
2589,
6300,
320,
376,
221,
2278,
1197,
3534,
299,
556,
3447,
96,
54,
988,
376,
221,
114,
3314,
51,
870,
45,
114,
1825,
49,
3534,
312,
376,
221,
620,
3534,
96,
53,
988,
222,
221,
130,
499,
221,
69,
1806,
222,
221,
942,
910,
1511,
671,
365,
2589,
6300,
320,
376,
221,
429,
1354,
299,
1511,
1438,
492,
376,
221,
2278,
1197,
3534,
299,
556,
3447,
96,
911,
988,
376,
221,
114,
3314,
51,
870,
45,
114,
1825,
49,
3534,
312,
376,
221,
620,
556,
910,
45,
3669,
49,
9312,
32606,
51,
6266,
100,
61,
312,
222,
221,
130,
499,
221,
69,
1806,
222,
221,
942,
1916,
1511,
3690,
365,
2589,
6300,
320,
376,
221,
620,
8182,
51,
429,
8738,
724,
3690,
45,
33798,
1052,
222,
221,
130,
499,
221,
69,
1806,
222,
221,
942,
2082,
1511,
4090,
365,
2589,
6300,
320,
376,
221,
620,
6938,
51,
3239,
8738,
40571,
45,
870,
3967,
1052,
222,
221,
130,
222,
130,
222
] |
[
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 560
| true
| 72.949484
| true
| true
|
TestMetaspaceAllocationMT1.java
|
/FileExtraction/Java_unseen/graalvm_labs-openjdk-17/test/hotspot/jtreg/runtime/Metaspace/elastic/TestMetaspaceAllocationMT1.java
|
/*
* Copyright (c) 2020, 2021, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2020 SAP SE. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
/*
* This is a stress test for allocating from a single MetaspaceArena from
* multiple threads, optionally with reserve limit (mimicking the non-expandable CompressedClassSpace)
* or commit limit (mimimcking MaxMetaspaceSize).
*
* The test threads will start to allocate from the Arena, and occasionally deallocate.
* The threads run with a safety allocation max; if reached (or, if the underlying arena
* hits either commit or reserve limit, if given) they will switch to deallocation and then
* kind of float at the allocation ceiling, alternating between allocation and deallocation.
*
* We test with various flags, to exercise all 3 reclaim policies (none, balanced (default)
* and aggessive) as well as one run with allocation guards enabled.
*
* We also set MetaspaceVerifyInterval very low to trigger many verifications in debug vm.
*
*/
/*
* @test id=debug-default
* @library /test/lib
* @modules java.base/jdk.internal.misc
* java.management
* @build sun.hotspot.WhiteBox
* @key randomness
* @requires (vm.debug == true)
*
* @run driver jdk.test.lib.helpers.ClassFileInstaller sun.hotspot.WhiteBox
*
* @run main/othervm/timeout=400
* -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
* -XX:VerifyMetaspaceInterval=10
* TestMetaspaceAllocationMT1
*/
/*
* @test id=debug-none
* @library /test/lib
* @modules java.base/jdk.internal.misc
* java.management
* @build sun.hotspot.WhiteBox
* @key randomness
* @requires (vm.debug == true)
*
* @run driver jdk.test.lib.helpers.ClassFileInstaller sun.hotspot.WhiteBox
*
* @run main/othervm/timeout=400
* -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
* -XX:VerifyMetaspaceInterval=10
* -XX:MetaspaceReclaimPolicy=none
* TestMetaspaceAllocationMT1
*/
/*
* @test id=debug-aggressive
* @library /test/lib
* @modules java.base/jdk.internal.misc
* java.management
* @build sun.hotspot.WhiteBox
* @key randomness
* @requires (vm.debug == true)
*
* @run driver jdk.test.lib.helpers.ClassFileInstaller sun.hotspot.WhiteBox
*
* @run main/othervm/timeout=400
* -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
* -XX:VerifyMetaspaceInterval=10
* -XX:MetaspaceReclaimPolicy=aggressive
* TestMetaspaceAllocationMT1
*/
/*
* @test id=debug-guard
* @library /test/lib
* @modules java.base/jdk.internal.misc
* java.management
* @build sun.hotspot.WhiteBox
* @key randomness
* @requires (vm.debug == true)
*
* @run driver jdk.test.lib.helpers.ClassFileInstaller sun.hotspot.WhiteBox
*
* @run main/othervm/timeout=400
* -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
* -XX:VerifyMetaspaceInterval=10
* -XX:+MetaspaceGuardAllocations
* TestMetaspaceAllocationMT1
*/
/*
* @test id=ndebug-default
* @library /test/lib
* @modules java.base/jdk.internal.misc
* java.management
* @build sun.hotspot.WhiteBox
* @key randomness
* @requires (vm.debug == false)
*
* @run driver jdk.test.lib.helpers.ClassFileInstaller sun.hotspot.WhiteBox
*
* @run main/othervm/timeout=400
* -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
* TestMetaspaceAllocationMT1
*/
/*
* @test id=ndebug-none
* @library /test/lib
* @modules java.base/jdk.internal.misc
* java.management
* @build sun.hotspot.WhiteBox
* @key randomness
* @requires (vm.debug == false)
*
* @run driver jdk.test.lib.helpers.ClassFileInstaller sun.hotspot.WhiteBox
*
* @run main/othervm/timeout=400
* -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
* -XX:MetaspaceReclaimPolicy=none
* TestMetaspaceAllocationMT1
*/
/*
* @test id=ndebug-aggressive
* @library /test/lib
* @modules java.base/jdk.internal.misc
* java.management
* @build sun.hotspot.WhiteBox
* @key randomness
* @requires (vm.debug == false)
*
* @run driver jdk.test.lib.helpers.ClassFileInstaller sun.hotspot.WhiteBox
*
* @run main/othervm/timeout=400
* -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
* -XX:MetaspaceReclaimPolicy=aggressive
* TestMetaspaceAllocationMT1
*/
public class TestMetaspaceAllocationMT1 {
public static void main(String[] args) throws Exception {
final long testAllocationCeiling = 1024 * 1024 * 8; // 8m words = 64M on 64bit
final int numThreads = 4;
final int seconds = 10;
for (int i = 0; i < 3; i ++) {
long commitLimit = (i == 1) ? 1024 * 256 : 0;
// Note: reserve limit must be a multiple of Metaspace::reserve_alignment_words()
// (512K on 64bit, 1M on 32bit)
long reserveLimit = (i == 2) ? Settings.rootChunkWordSize * 2 : 0;
System.out.println("#### Test: ");
System.out.println("#### testAllocationCeiling: " + testAllocationCeiling);
System.out.println("#### numThreads: " + numThreads);
System.out.println("#### seconds: " + seconds);
System.out.println("#### commitLimit: " + commitLimit);
System.out.println("#### reserveLimit: " + reserveLimit);
System.out.println("#### ReclaimPolicy: " + Settings.settings().reclaimPolicy);
System.out.println("#### guards: " + Settings.settings().usesAllocationGuards);
MetaspaceTestContext context = new MetaspaceTestContext(commitLimit, reserveLimit);
MetaspaceTestOneArenaManyThreads test = new MetaspaceTestOneArenaManyThreads(context, testAllocationCeiling, numThreads, seconds);
try {
test.runTest();
} catch (RuntimeException e) {
System.out.println(e);
context.printToTTY();
throw e;
}
context.destroy();
System.out.println("#### Done. ####");
System.out.println("###############");
}
}
}
| 7,136
|
Java
|
.java
|
graalvm/labs-openjdk-17
| 23
| 21
| 0
|
2021-06-30T21:56:16Z
|
2023-11-27T09:36:45Z
|
ca5fce18d9f1b1c31cd34636fa1e34542590b699335115345cf6f89239cf596a
|
[
1127,
222,
338,
2657,
327,
104,
46,
244,
55,
53,
55,
53,
49,
244,
55,
53,
55,
54,
49,
17980,
480,
52,
290,
2840,
25094,
51,
3381,
4760,
5225,
51,
222,
338,
2657,
327,
104,
46,
244,
55,
53,
55,
53,
25106,
5508,
51,
3381,
4760,
5225,
51,
222,
338,
4103,
2387,
23740,
1895,
35234,
8995,
2387,
11988,
1895,
8968,
10961,
30441,
51,
222,
338,
222,
338,
1369,
1361,
458,
3760,
2951,
64,
863,
902,
14081,
580,
480,
52,
290,
5370,
580,
222,
338,
1549,
341,
5974,
451,
341,
6994,
6153,
5062,
1196,
1522,
244,
55,
1773,
49,
641,
222,
338,
9582,
829,
341,
7834,
3870,
7120,
51,
222,
338,
222,
338,
1369,
1361,
458,
2744,
347,
341,
9850,
708,
580,
1118,
545,
6386,
49,
1294,
4213,
222,
338,
2979,
9345,
64,
2895,
4462,
341,
4506,
14319,
451,
7934,
575,
222,
338,
8114,
4800,
418,
7848,
7763,
51,
244,
2819,
341,
6994,
6153,
5062,
1196,
222,
338,
1522,
244,
55,
456,
1851,
4261,
327,
102,
1948,
458,
5976,
347,
341,
7621,
822,
708,
222,
338,
20854,
297,
4850,
477,
1361,
566,
222,
338,
222,
338,
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
6153,
5062,
1196,
1522,
222,
338,
244,
55,
7979,
642,
477,
1409,
64,
434,
666,
49,
2886,
391,
341,
7834,
3870,
7120,
49,
222,
338,
6367,
4345,
244,
58,
54,
34113,
1277,
49,
33316,
26912,
49,
25006,
49,
13083,
244,
53,
55,
54,
54,
53,
50,
54,
56,
53,
54,
15067,
51,
222,
338,
222,
338,
5304,
7272,
17980,
49,
244,
58,
53,
53,
17980,
27004,
3094,
49,
4777,
21100,
2432,
6868,
49,
10562,
244,
62,
57,
53,
59,
58,
15067,
222,
338,
575,
7739,
19955,
51,
11116,
51,
527,
434,
863,
1868,
5408,
2490,
575,
1178,
1364,
222,
338,
10034,
51,
222,
338,
222,
588,
222,
222,
1127,
222,
338,
1369,
458,
331,
35721,
913,
456,
6167,
1761,
664,
331,
4005,
8357,
321,
10853,
19559,
664,
222,
338,
244,
4632,
11157,
49,
24500,
642,
28264,
2741,
327,
114,
468,
1246,
318,
341,
3000,
50,
8976,
463,
2270,
4787,
1359,
5144,
46,
222,
338,
575,
4591,
2741,
327,
114,
468,
468,
473,
318,
7482,
3373,
321,
10853,
1269,
566,
222,
338,
222,
338,
906,
913,
11157,
1118,
1496,
391,
15024,
664,
341,
418,
17482,
49,
480,
48089,
1266,
428,
14942,
51,
222,
338,
906,
11157,
1441,
642,
331,
26128,
18130,
1788,
64,
434,
16691,
327,
290,
49,
434,
341,
13289,
35414,
222,
338,
24173,
3173,
4591,
575,
28264,
2741,
49,
434,
2716,
46,
2974,
1118,
3593,
391,
8664,
2665,
480,
1636,
222,
338,
6207,
451,
1916,
840,
341,
18130,
10659,
10943,
49,
9637,
1761,
3761,
18130,
480,
8664,
2665,
51,
222,
338,
222,
338,
2726,
913,
642,
10329,
5748,
49,
391,
22467,
1187,
244,
56,
334,
13684,
20623,
327,
4129,
49,
14727,
6104,
327,
1555,
46,
222,
338,
480,
1917,
319,
441,
680,
46,
641,
4509,
641,
1611,
1441,
642,
18130,
3949,
8824,
5892,
51,
222,
338,
222,
338,
2726,
2353,
758,
8357,
321,
10853,
10574,
5766,
5055,
7487,
391,
6604,
5110,
2666,
5833,
347,
4598,
8510,
51,
222,
338,
222,
588,
222,
222,
1127,
222,
338,
496,
881,
828,
66,
2824,
50,
1555,
222,
338,
496,
5261,
536,
881,
52,
1379,
222,
338,
496,
3490,
1401,
51,
1460,
52,
12461,
51,
3269,
51,
14495,
222,
338,
2052,
1401,
51,
9343,
222,
338,
496,
1848,
15315,
51,
8156,
7529,
51,
11076,
1723,
222,
338,
496,
697,
4051,
4342,
222,
338,
496,
13980,
327,
3166,
51,
2824,
630,
878,
46,
222,
338,
222,
338,
496,
1967,
5419,
614,
4532,
51,
881,
51,
1379,
51,
8789,
51,
1359,
991,
30582,
15315,
51,
8156,
7529,
51,
11076,
1723,
222,
338,
222,
338,
496,
1967,
2594,
52,
2476,
3166,
52,
5470,
66,
57,
53,
53,
222,
338,
665,
449,
93,
3621,
33423,
52,
102,
15696,
449,
2931,
30041,
13104,
24031,
5064,
2045,
449,
2931,
30041,
11076,
1723,
2571,
222,
338,
665,
449,
2931,
63,
10574,
3373,
321,
10853,
5766,
66,
54,
53,
222,
338,
665,
2128,
3373,
321,
10853,
16809,
3911,
54,
222,
588,
222,
222,
1127,
222,
338,
496,
881,
828,
66,
2824,
50,
4129,
222,
338,
496,
5261,
536,
881,
52,
1379,
222,
338,
496,
3490,
1401,
51,
1460,
52,
12461,
51,
3269,
51,
14495,
222,
338,
2052,
1401,
51,
9343,
222,
338,
496,
1848,
15315,
51,
8156,
7529,
51,
11076,
1723,
222,
338,
496,
697,
4051,
4342,
222,
338,
496,
13980,
327,
3166,
51,
2824,
630,
878,
46,
222,
338,
222,
338,
496,
1967,
5419,
614,
4532,
51,
881,
51,
1379,
51,
8789,
51,
1359,
991,
30582,
15315,
51,
8156,
7529,
51,
11076,
1723,
222,
338,
222,
338,
496,
1967,
2594,
52,
2476,
3166,
52,
5470,
66,
57,
53,
53,
222,
338,
665,
449,
93,
3621,
33423,
52,
102,
15696,
449,
2931,
30041,
13104,
24031,
5064,
2045,
449,
2931,
30041,
11076,
1723,
2571,
222,
338,
665,
449,
2931,
63,
10574,
3373,
321,
10853,
5766,
66,
54,
53,
222,
338,
665,
449,
2931,
63,
3373,
321,
10853,
454,
13684,
4263,
66,
4129,
222,
338,
665,
2128,
3373,
321,
10853,
16809,
3911,
54,
222,
588,
222,
222,
1127,
222,
338,
496,
881,
828,
66,
2824,
50,
500,
23537,
222,
338,
496,
5261,
536,
881,
52,
1379,
222,
338,
496,
3490,
1401,
51,
1460,
52,
12461,
51,
3269,
51,
14495,
222,
338,
2052,
1401,
51,
9343,
222,
338,
496,
1848,
15315,
51,
8156,
7529,
51,
11076,
1723,
222,
338,
496,
697,
4051,
4342,
222,
338,
496,
13980,
327,
3166,
51,
2824,
630,
878,
46,
222,
338,
222,
338,
496,
1967,
5419,
614,
4532,
51,
881,
51,
1379,
51,
8789,
51,
1359,
991,
30582,
15315,
51,
8156,
7529,
51,
11076,
1723,
222,
338,
222,
338,
496,
1967,
2594,
52,
2476,
3166,
52,
5470,
66,
57,
53,
53,
222,
338,
665,
449,
93,
3621,
33423,
52,
102,
15696,
449,
2931,
30041,
13104,
24031,
5064,
2045,
449,
2931,
30041,
11076,
1723,
2571,
222,
338,
665,
449,
2931,
63,
10574,
3373,
321,
10853,
5766,
66,
54,
53,
222,
338,
665,
449,
2931,
63,
3373,
321,
10853,
454,
13684,
4263,
66,
500,
23537,
222,
338,
665,
2128,
3373,
321,
10853,
16809,
3911,
54,
222,
588,
222,
222,
1127,
222,
338,
496,
881,
828,
66,
2824,
50,
10729,
222,
338,
496,
5261,
536,
881,
52,
1379,
222,
338,
496,
3490,
1401,
51,
1460,
52,
12461,
51,
3269,
51,
14495,
222,
338,
2052,
1401,
51,
9343,
222,
338,
496,
1848,
15315,
51,
8156,
7529,
51,
11076,
1723,
222,
338,
496,
697,
4051,
4342,
222,
338,
496,
13980,
327,
3166,
51,
2824,
630,
878,
46,
222,
338,
222,
338,
496,
1967,
5419,
614,
4532,
51,
881,
51,
1379,
51,
8789,
51,
1359,
991,
30582,
15315,
51,
8156,
7529,
51,
11076,
1723,
222,
338,
222,
338,
496,
1967,
2594,
52,
2476,
3166,
52,
5470,
66,
57,
53,
53,
222,
338,
665,
449,
93,
3621,
33423,
52,
102,
15696,
449,
2931,
30041,
13104,
24031,
5064,
2045,
449,
2931,
30041,
11076,
1723,
2571,
222,
338,
665,
449,
2931,
63,
10574,
3373,
321,
10853,
5766,
66,
54,
53,
222,
338,
665,
449,
2931,
30041,
3373,
321,
10853,
12378,
7439,
1014,
222,
338,
665,
2128,
3373,
321,
10853,
16809,
3911,
54,
222,
588,
222,
222,
1127,
222,
338,
496,
881,
828,
66,
115,
2824,
50,
1555,
222,
338,
496,
5261,
536,
881,
52,
1379,
222,
338,
496,
3490,
1401,
51,
1460,
52,
12461,
51,
3269,
51,
14495,
222,
338,
2052,
1401,
51,
9343,
222,
338,
496,
1848,
15315,
51,
8156,
7529,
51,
11076,
1723,
222,
338,
496,
697,
4051,
4342,
222,
338,
496,
13980,
327,
3166,
51,
2824,
630,
920,
46,
222,
338,
222,
338,
496,
1967,
5419,
614,
4532,
51,
881,
51,
1379,
51,
8789,
51,
1359,
991,
30582,
15315,
51,
8156,
7529,
51,
11076,
1723,
222,
338,
222,
338,
496,
1967,
2594,
52,
2476,
3166,
52,
5470,
66,
57,
53,
53,
222,
338,
665,
449,
93,
3621,
33423,
52,
102,
15696,
449,
2931,
30041,
13104,
24031,
5064,
2045,
449,
2931,
30041,
11076,
1723,
2571,
222,
338,
665,
2128,
3373,
321,
10853,
16809,
3911,
54,
222,
588,
222,
222,
1127,
222,
338,
496,
881,
828,
66,
115,
2824,
50,
4129,
222,
338,
496,
5261,
536,
881,
52,
1379,
222,
338,
496,
3490,
1401,
51,
1460,
52,
12461,
51,
3269,
51,
14495,
222,
338,
2052,
1401,
51,
9343,
222,
338,
496,
1848,
15315,
51,
8156,
7529,
51,
11076,
1723,
222,
338,
496,
697,
4051,
4342,
222,
338,
496,
13980,
327,
3166,
51,
2824,
630,
920,
46,
222,
338,
222,
338,
496,
1967,
5419,
614,
4532,
51,
881,
51,
1379,
51,
8789,
51,
1359,
991,
30582,
15315,
51,
8156,
7529,
51,
11076,
1723,
222,
338,
222,
338,
496,
1967,
2594,
52,
2476,
3166,
52,
5470,
66,
57,
53,
53,
222,
338,
665,
449,
93,
3621,
33423,
52,
102,
15696,
449,
2931,
30041,
13104,
24031,
5064,
2045,
449,
2931,
30041,
11076,
1723,
2571,
222,
338,
665,
449,
2931,
63,
3373,
321,
10853,
454,
13684,
4263,
66,
4129,
222,
338,
665,
2128,
3373,
321,
10853,
16809,
3911,
54,
222,
588,
222,
222,
1127,
222,
338,
496,
881,
828,
66,
115,
2824,
50,
500,
23537,
222,
338,
496,
5261,
536,
881,
52,
1379,
222,
338,
496,
3490,
1401,
51,
1460,
52,
12461,
51,
3269,
51,
14495,
222,
338,
2052,
1401,
51,
9343,
222,
338,
496,
1848,
15315,
51,
8156,
7529,
51,
11076,
1723,
222,
338,
496,
697,
4051,
4342,
222,
338,
496,
13980,
327,
3166,
51,
2824,
630,
920,
46,
222,
338,
222,
338,
496,
1967,
5419,
614,
4532,
51,
881,
51,
1379,
51,
8789,
51,
1359,
991,
30582,
15315,
51,
8156,
7529,
51,
11076,
1723,
222,
338,
222,
338,
496,
1967,
2594,
52,
2476,
3166,
52,
5470,
66,
57,
53,
53,
222,
338,
665,
449,
93,
3621,
33423,
52,
102,
15696,
449,
2931,
30041,
13104,
24031,
5064,
2045,
449,
2931,
30041,
11076,
1723,
2571,
222,
338,
665,
449,
2931,
63,
3373,
321,
10853,
454,
13684,
4263,
66,
500,
23537,
222,
338,
665,
2128,
3373,
321,
10853,
16809,
3911,
54,
222,
588,
222,
222,
942,
462,
2128,
3373,
321,
10853,
16809,
3911,
54,
320,
465,
581,
924,
782,
2594,
45,
671,
1197,
2194,
46,
2589,
3284,
320,
603,
1175,
1964,
913,
16809,
20846,
10943,
299,
244,
54,
53,
55,
57,
338,
244,
54,
53,
55,
57,
338,
244,
61,
64,
453,
244,
61,
114,
8190,
299,
244,
59,
57,
82,
563,
244,
59,
57,
2417,
310,
1175,
648,
1952,
18145,
299,
244,
57,
64,
310,
1175,
648,
6810,
299,
244,
54,
53,
64,
603,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
244,
56,
64,
613,
38835,
320,
1083,
1964,
4591,
5829,
299,
327,
110,
630,
244,
54,
46,
1037,
244,
54,
53,
55,
57,
338,
244,
55,
58,
59,
518,
244,
53,
64,
1083,
453,
5857,
63,
28264,
2741,
2315,
545,
331,
4632,
451,
8357,
321,
10853,
422,
19854,
100,
18927,
100,
4094,
365,
343,
453,
244,
327,
58,
54,
55,
80,
563,
244,
59,
57,
2417,
49,
244,
54,
82,
563,
244,
56,
55,
2417,
46,
343,
1964,
28264,
5829,
299,
327,
110,
630,
244,
55,
46,
1037,
9925,
51,
2405,
7134,
5108,
1269,
338,
244,
55,
518,
244,
53,
64,
1083,
1189,
51,
560,
51,
3962,
459,
784,
2128,
63,
7173,
343,
1189,
51,
560,
51,
3962,
459,
784,
913,
16809,
20846,
10943,
63,
332,
494,
913,
16809,
20846,
10943,
312,
343,
1189,
51,
560,
51,
3962,
459,
784,
1952,
18145,
63,
332,
494,
1952,
18145,
312,
343,
1189,
51,
560,
51,
3962,
459,
784,
6810,
63,
332,
494,
6810,
312,
343,
1189,
51,
560,
51,
3962,
459,
784,
4591,
5829,
63,
332,
494,
4591,
5829,
312,
343,
1189,
51,
560,
51,
3962,
459,
784,
28264,
5829,
63,
332,
494,
28264,
5829,
312,
343,
1189,
51,
560,
51,
3962,
459,
784,
922,
13684,
4263,
63,
332,
494,
9925,
51,
3563,
941,
287,
13684,
4263,
312,
343,
1189,
51,
560,
51,
3962,
459,
784,
3949,
8824,
63,
332,
494,
9925,
51,
3563,
941,
7678,
16809,
5719,
8824,
312,
1083,
8357,
321,
10853,
41557,
1637,
299,
556,
8357,
321,
10853,
41557,
45,
3388,
5829,
49,
28264,
5829,
312,
343,
8357,
321,
10853,
1024,
3597,
19559,
7445,
18145,
913,
299,
556,
8357,
321,
10853,
1024,
3597,
19559,
7445,
18145,
45,
1834,
49,
913,
16809,
20846,
10943,
49,
1952,
18145,
49,
6810,
312,
1083,
1614,
320,
419,
913,
51,
1967,
1024,
492,
343,
339,
2385,
327,
19296,
503,
46,
320,
419,
1189,
51,
560,
51,
3962,
45,
106,
312,
419,
1637,
51,
1243,
724,
35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
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 2,111
| true
| 66.185538
| true
| true
|
CompassController.java
|
/FileExtraction/Java_unseen/valsr_SweetHome3D/src/com/eteks/sweethome3d/viewcontroller/CompassController.java
|
/*
* CompassController.java 22 sept. 2010
*
* Sweet Home 3D, Copyright (c) 2010 Emmanuel PUYBARET / eTeks <[email protected]>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
package com.eteks.sweethome3d.viewcontroller;
import java.beans.PropertyChangeListener;
import java.beans.PropertyChangeSupport;
import javax.swing.undo.AbstractUndoableEdit;
import javax.swing.undo.CannotRedoException;
import javax.swing.undo.CannotUndoException;
import javax.swing.undo.UndoableEdit;
import javax.swing.undo.UndoableEditSupport;
import com.eteks.sweethome3d.model.Compass;
import com.eteks.sweethome3d.model.Home;
import com.eteks.sweethome3d.model.UserPreferences;
/**
* A MVC controller for the compass view.
* @author Emmanuel Puybaret
*/
public class CompassController implements Controller
{
/**
* The properties that may be edited by the view associated to this controller.
*/
public enum Property
{
X, Y, DIAMETER, VISIBLE, NORTH_DIRECTION_IN_DEGREES, LATITUDE_IN_DEGREES, LONGITUDE_IN_DEGREES, TIME_ZONE
}
private final Home home;
private final UserPreferences preferences;
private final ViewFactory viewFactory;
private final UndoableEditSupport undoSupport;
private final PropertyChangeSupport propertyChangeSupport;
private DialogView compassView;
private float x;
private float y;
private float diameter;
private boolean visible;
private float northDirectionInDegrees;
private float latitudeInDegrees;
private float longitudeInDegrees;
private String timeZone;
public CompassController(Home home, UserPreferences preferences, ViewFactory viewFactory,
UndoableEditSupport undoSupport)
{
this.home = home;
this.preferences = preferences;
this.viewFactory = viewFactory;
this.undoSupport = undoSupport;
this.propertyChangeSupport = new PropertyChangeSupport(this);
updateProperties();
}
/**
* Returns the view associated with this controller.
*/
public DialogView getView()
{
// Create view lazily only once it's needed
if (this.compassView == null)
{
this.compassView = this.viewFactory.createCompassView(this.preferences, this);
}
return this.compassView;
}
/**
* Displays the view controlled by this controller.
*/
public void displayView(View parentView)
{
getView().displayView(parentView);
}
/**
* Adds the property change <code>listener</code> in parameter to this controller.
*/
public void addPropertyChangeListener(Property property, PropertyChangeListener listener)
{
this.propertyChangeSupport.addPropertyChangeListener(property.name(), listener);
}
/**
* Removes the property change <code>listener</code> in parameter from this controller.
*/
public void removePropertyChangeListener(Property property, PropertyChangeListener listener)
{
this.propertyChangeSupport.removePropertyChangeListener(property.name(), listener);
}
/**
* Updates compass properties edited by this controller.
*/
protected void updateProperties()
{
Compass compass = this.home.getCompass();
setX(compass.getX());
setY(compass.getY());
setDiameter(compass.getDiameter());
setVisible(compass.isVisible());
setNorthDirectionInDegrees((float) Math.toDegrees(compass.getNorthDirection()));
setLatitudeInDegrees((float) Math.toDegrees(compass.getLatitude()));
setLongitudeInDegrees((float) Math.toDegrees(compass.getLongitude()));
setTimeZone(compass.getTimeZone());
}
/**
* Returns the edited abscissa of the center.
*/
public float getX()
{
return this.x;
}
/**
* Sets the edited abscissa of the center.
*/
public void setX(float x)
{
if (x != this.x)
{
float oldX = this.x;
this.x = x;
this.propertyChangeSupport.firePropertyChange(Property.X.name(), oldX, x);
}
}
/**
* Returns the edited ordinate of the center.
*/
public float getY()
{
return this.y;
}
/**
* Sets the edited ordinate of the center.
*/
public void setY(float y)
{
if (y != this.y)
{
float oldY = this.y;
this.y = y;
this.propertyChangeSupport.firePropertyChange(Property.Y.name(), oldY, y);
}
}
/**
* Returns the edited diameter.
*/
public float getDiameter()
{
return this.diameter;
}
/**
* Sets the edited diameter.
*/
public void setDiameter(float diameter)
{
if (diameter != this.diameter)
{
float oldDiameter = this.diameter;
this.diameter = diameter;
this.propertyChangeSupport.firePropertyChange(Property.DIAMETER.name(), oldDiameter, diameter);
}
}
/**
* Returns whether compass is visible or not.
*/
public boolean isVisible()
{
return this.visible;
}
/**
* Sets whether this compass is visible or not.
*/
public void setVisible(boolean visible)
{
if (visible != this.visible)
{
this.visible = visible;
this.propertyChangeSupport.firePropertyChange(Property.VISIBLE.name(), !visible, visible);
}
}
/**
* Returns the edited North direction angle in degrees.
*/
public float getNorthDirectionInDegrees()
{
return this.northDirectionInDegrees;
}
/**
* Sets the edited North direction angle.
*/
public void setNorthDirectionInDegrees(float northDirectionInDegrees)
{
if (northDirectionInDegrees != this.northDirectionInDegrees)
{
float oldNorthDirectionInDegrees = this.northDirectionInDegrees;
this.northDirectionInDegrees = northDirectionInDegrees;
this.propertyChangeSupport.firePropertyChange(Property.NORTH_DIRECTION_IN_DEGREES.name(),
oldNorthDirectionInDegrees, northDirectionInDegrees);
}
}
/**
* Returns the edited latitude in degrees.
*/
public final float getLatitudeInDegrees()
{
return this.latitudeInDegrees;
}
/**
* Sets the edited latitude in degrees.
*/
public void setLatitudeInDegrees(float latitudeInDegrees)
{
if (latitudeInDegrees != this.latitudeInDegrees)
{
float oldLatitudeInDegrees = this.latitudeInDegrees;
this.latitudeInDegrees = latitudeInDegrees;
this.propertyChangeSupport.firePropertyChange(Property.LATITUDE_IN_DEGREES.name(), oldLatitudeInDegrees,
latitudeInDegrees);
}
}
/**
* Returns the edited longitude in degrees.
*/
public final float getLongitudeInDegrees()
{
return this.longitudeInDegrees;
}
/**
* Sets the edited longitude of the center.
*/
public void setLongitudeInDegrees(float longitudeInDegrees)
{
if (longitudeInDegrees != this.longitudeInDegrees)
{
float oldLongitudeInDegrees = this.longitudeInDegrees;
this.longitudeInDegrees = longitudeInDegrees;
this.propertyChangeSupport.firePropertyChange(Property.LONGITUDE_IN_DEGREES.name(), oldLongitudeInDegrees,
longitudeInDegrees);
}
}
/**
* Returns the edited time zone identifier.
*/
public String getTimeZone()
{
return this.timeZone;
}
/**
* Sets the edited time zone identifier.
*/
public void setTimeZone(String timeZone)
{
if (!timeZone.equals(this.timeZone))
{
String oldTimeZone = this.timeZone;
this.timeZone = timeZone;
this.propertyChangeSupport.firePropertyChange(Property.TIME_ZONE.name(), oldTimeZone, timeZone);
}
}
/**
* Modifies home compass from the values stored in this controller.
*/
public void modifyCompass()
{
float x = getX();
float y = getY();
float diameter = getDiameter();
boolean visible = isVisible();
float northDirection = (float) Math.toRadians(getNorthDirectionInDegrees());
float latitude = (float) Math.toRadians(getLatitudeInDegrees());
float longitude = (float) Math.toRadians(getLongitudeInDegrees());
String timeZone = getTimeZone();
UndoableEdit undoableEdit = new CompassUndoableEdit(this.home.getCompass(), this.preferences, x, y, diameter,
visible, northDirection, latitude, longitude, timeZone);
doModifyCompass(this.home.getCompass(), x, y, diameter, visible, northDirection, latitude, longitude, timeZone);
this.undoSupport.postEdit(undoableEdit);
}
/**
* Undoable edit for compass. This class isn't anonymous to avoid
* being bound to controller and its view.
*/
private static class CompassUndoableEdit extends AbstractUndoableEdit
{
private final Compass compass;
private final UserPreferences preferences;
private final float oldX;
private final float oldY;
private final float oldDiameter;
private final float oldNorthDirection;
private final float oldLatitude;
private final float oldLongitude;
private final String oldTimeZone;
private final boolean oldVisible;
private final float newX;
private final float newY;
private final float newDiameter;
private final float newNorthDirection;
private final float newLatitude;
private final float newLongitude;
private final String newTimeZone;
private final boolean newVisible;
public CompassUndoableEdit(Compass compass, UserPreferences preferences, float newX, float newY,
float newDiameter, boolean newVisible, float newNorthDirection, float newLatitude, float newLongitude,
String newTimeZone)
{
this.compass = compass;
this.preferences = preferences;
this.oldX = compass.getX();
this.oldY = compass.getY();
this.oldDiameter = compass.getDiameter();
this.oldVisible = compass.isVisible();
this.oldNorthDirection = compass.getNorthDirection();
this.oldLatitude = compass.getLatitude();
this.oldLongitude = compass.getLongitude();
this.oldTimeZone = compass.getTimeZone();
this.newX = newX;
this.newY = newY;
this.newDiameter = newDiameter;
this.newVisible = newVisible;
this.newNorthDirection = newNorthDirection;
this.newLatitude = newLatitude;
this.newLongitude = newLongitude;
this.newTimeZone = newTimeZone;
}
@Override
public void undo() throws CannotUndoException
{
super.undo();
doModifyCompass(this.compass, this.oldX, this.oldY, this.oldDiameter, this.oldVisible,
this.oldNorthDirection, this.oldLatitude, this.oldLongitude, this.oldTimeZone);
}
@Override
public void redo() throws CannotRedoException
{
super.redo();
doModifyCompass(this.compass, this.newX, this.newY, this.newDiameter, this.newVisible,
this.newNorthDirection, this.newLatitude, this.newLongitude, this.newTimeZone);
}
@Override
public String getPresentationName()
{
return this.preferences.getLocalizedString(CompassController.class, "undoModifyCompassName");
}
}
private static void doModifyCompass(Compass compass, float x, float y, float diameter, boolean visible,
float northDirection, float latitude, float longitude, String timeZone)
{
compass.setX(x);
compass.setY(y);
compass.setDiameter(diameter);
compass.setVisible(visible);
compass.setNorthDirection(northDirection);
compass.setLatitude(latitude);
compass.setLongitude(longitude);
compass.setTimeZone(timeZone);
}
}
| 11,384
|
Java
|
.java
|
valsr/SweetHome3D
| 44
| 18
| 0
|
2016-03-31T00:20:09Z
|
2016-07-03T16:11:40Z
|
f2ee54cd03b3f442dfa30cb22b27b44cac8555f3b0166196af5f22f3bd44238c
|
[
1127,
222,
338,
2270,
369,
1934,
51,
1874,
244,
55,
55,
427,
404,
51,
244,
55,
53,
54,
53,
222,
338,
222,
338,
377,
9224,
9531,
244,
56,
73,
49,
2657,
327,
104,
46,
244,
55,
53,
54,
53,
14866,
1607,
8397,
466,
33117,
71,
3212,
89,
536,
503,
89,
32559,
350,
1357,
69,
383,
32559,
51,
527,
67,
222,
338,
222,
338,
1369,
3477,
458,
3760,
2951,
64,
863,
902,
14081,
580,
480,
52,
290,
5370,
222,
338,
580,
1549,
341,
5974,
451,
341,
6994,
6153,
5062,
1196,
641,
9582,
829,
222,
338,
341,
7834,
3870,
7120,
64,
3173,
1522,
244,
55,
451,
341,
1196,
49,
575,
222,
338,
327,
288,
1390,
2489,
46,
1364,
6146,
1522,
51,
222,
338,
222,
338,
1369,
3477,
458,
2744,
347,
341,
9850,
708,
580,
1118,
545,
6386,
49,
222,
338,
1294,
4213,
2979,
9345,
64,
2895,
4462,
341,
4506,
14319,
451,
222,
338,
7934,
575,
8114,
4800,
418,
7848,
7763,
51,
244,
2819,
341,
222,
338,
6994,
6153,
5062,
1196,
456,
1851,
4261,
51,
222,
338,
222,
338,
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
6153,
5062,
1196,
222,
338,
7979,
642,
477,
3477,
64,
434,
666,
49,
2886,
391,
341,
7834,
3870,
222,
338,
7120,
49,
6367,
4345,
244,
58,
62,
38849,
17693,
49,
25280,
244,
56,
56,
53,
49,
25006,
49,
13083,
280,
53,
55,
54,
54,
54,
50,
54,
56,
53,
60,
244,
15067,
222,
588,
222,
1337,
785,
51,
383,
32559,
51,
1605,
1310,
368,
861,
56,
105,
51,
1090,
4641,
64,
222,
222,
485,
1401,
51,
9580,
51,
1667,
17089,
64,
222,
485,
1401,
51,
9580,
51,
1667,
1810,
4417,
64,
222,
222,
485,
3698,
51,
5934,
51,
16222,
51,
5597,
23654,
463,
3594,
64,
222,
485,
3698,
51,
5934,
51,
16222,
51,
11400,
44805,
1002,
64,
222,
485,
3698,
51,
5934,
51,
16222,
51,
11400,
23654,
1002,
64,
222,
485,
3698,
51,
5934,
51,
16222,
51,
23654,
463,
3594,
64,
222,
485,
3698,
51,
5934,
51,
16222,
51,
23654,
463,
3594,
4417,
64,
222,
222,
485,
785,
51,
383,
32559,
51,
1605,
1310,
368,
861,
56,
105,
51,
1184,
51,
1000,
369,
64,
222,
485,
785,
51,
383,
32559,
51,
1605,
1310,
368,
861,
56,
105,
51,
1184,
51,
4637,
64,
222,
485,
785,
51,
383,
32559,
51,
1605,
1310,
368,
861,
56,
105,
51,
1184,
51,
1259,
11333,
64,
222,
222,
1350,
222,
338,
418,
32451,
5940,
456,
341,
940,
369,
2221,
51,
222,
338,
496,
2133,
14866,
1607,
8397,
466,
14007,
30131,
121,
222,
588,
222,
942,
462,
2270,
369,
1934,
4584,
6932,
222,
128,
222,
221,
1350,
376,
338,
906,
4324,
708,
1648,
545,
25146,
829,
341,
2221,
5764,
391,
477,
5940,
51,
4517,
588,
222,
221,
942,
3858,
6484,
222,
221,
128,
376,
221,
93,
49,
1432,
49,
9446,
11012,
49,
46905,
15456,
49,
42778,
1797,
100,
33945,
100,
540,
100,
869,
22215,
959,
49,
27479,
799,
7212,
100,
540,
100,
869,
22215,
959,
49,
27018,
799,
7212,
100,
540,
100,
869,
22215,
959,
49,
16729,
100,
27346,
222,
221,
130,
3038,
221,
2072,
1175,
9531,
6780,
64,
222,
221,
2072,
1175,
2694,
11333,
23333,
64,
222,
221,
2072,
1175,
4340,
2232,
2221,
2232,
64,
222,
221,
2072,
1175,
48085,
463,
3594,
4417,
25395,
4417,
64,
222,
221,
2072,
1175,
6484,
1810,
4417,
2821,
1810,
4417,
64,
222,
221,
2072,
13695,
1089,
940,
369,
1089,
64,
3038,
221,
2072,
1916,
837,
64,
222,
221,
2072,
1916,
553,
64,
222,
221,
2072,
1916,
48283,
64,
222,
221,
2072,
1922,
8716,
64,
222,
221,
2072,
1916,
34374,
5235,
402,
32670,
64,
222,
221,
2072,
1916,
20913,
402,
32670,
64,
222,
221,
2072,
1916,
20471,
402,
32670,
64,
222,
221,
2072,
910,
1153,
6778,
64,
3038,
221,
942,
2270,
369,
1934,
45,
4637,
6780,
49,
2694,
11333,
23333,
49,
4340,
2232,
2221,
2232,
49,
374,
221,
23654,
463,
3594,
4417,
25395,
4417,
46,
222,
221,
128,
376,
221,
597,
51,
2849,
299,
6780,
64,
376,
221,
597,
51,
22561,
299,
23333,
64,
376,
221,
597,
51,
1090,
2232,
299,
2221,
2232,
64,
376,
221,
597,
51,
16222,
4417,
299,
25395,
4417,
64,
376,
221,
597,
51,
2449,
1810,
4417,
299,
556,
6484,
1810,
4417,
45,
597,
312,
4102,
221,
1896,
3303,
492,
222,
221,
130,
3038,
221,
1350,
376,
338,
3777,
341,
2221,
5764,
642,
477,
5940,
51,
376,
588,
222,
221,
942,
13695,
1089,
640,
1089,
365,
222,
221,
128,
376,
221,
325,
2673,
2221,
475,
1392,
2820,
1773,
5065,
580,
1200,
5366,
376,
221,
344,
327,
597,
51,
41753,
1089,
630,
762,
46,
376,
221,
128,
374,
221,
597,
51,
41753,
1089,
299,
477,
51,
1090,
2232,
51,
1315,
1000,
369,
1089,
45,
597,
51,
22561,
49,
477,
312,
376,
221,
130,
376,
221,
620,
477,
51,
41753,
1089,
64,
222,
221,
130,
3038,
221,
1350,
376,
338,
42557,
341,
2221,
28354,
829,
477,
5940,
51,
376,
588,
222,
221,
942,
782,
2540,
1089,
45,
1089,
2952,
1089,
46,
222,
221,
128,
376,
221,
28987,
941,
2784,
1089,
45,
2562,
1089,
312,
222,
221,
130,
3038,
221,
1350,
376,
338,
15444,
341,
2821,
1557,
350,
707,
67,
9447,
396,
707,
67,
347,
3416,
391,
477,
5940,
51,
376,
588,
222,
221,
942,
782,
1035,
1667,
17089,
45,
1667,
2821,
49,
6484,
17089,
7510,
46,
222,
221,
128,
376,
221,
597,
51,
2449,
1810,
4417,
51,
36538,
17089,
45,
2449,
51,
444,
1046,
7510,
312,
222,
221,
130,
3038,
221,
1350,
376,
338,
24968,
341,
2821,
1557,
350,
707,
67,
9447,
396,
707,
67,
347,
3416,
664,
477,
5940,
51,
376,
588,
222,
221,
942,
782,
3365,
1667,
17089,
45,
1667,
2821,
49,
6484,
17089,
7510,
46,
222,
221,
128,
376,
221,
597,
51,
2449,
1810,
4417,
51,
2564,
1667,
17089,
45,
2449,
51,
444,
1046,
7510,
312,
222,
221,
130,
3038,
221,
1350,
376,
338,
19275,
940,
369,
4324,
25146,
829,
477,
5940,
51,
376,
588,
222,
221,
5332,
782,
1991,
3303,
365,
222,
221,
128,
376,
221,
1000,
369,
940,
369,
299,
477,
51,
2849,
51,
390,
1000,
369,
492,
376,
221,
489,
93,
45,
41753,
51,
18807,
1052,
376,
221,
489,
94,
45,
41753,
51,
20421,
1052,
376,
221,
489,
2844,
1099,
45,
41753,
51,
390,
2844,
1099,
1052,
376,
221,
18215,
45,
41753,
51,
31215,
1052,
376,
221,
489,
25080,
5235,
402,
32670,
1181,
1832,
46,
4189,
51,
471,
32670,
45,
41753,
51,
390,
25080,
5235,
5086,
376,
221,
489,
27437,
402,
32670,
1181,
1832,
46,
4189,
51,
471,
32670,
45,
41753,
51,
390,
27437,
5086,
376,
221,
489,
27998,
402,
32670,
1181,
1832,
46,
4189,
51,
471,
32670,
45,
41753,
51,
390,
27998,
5086,
376,
221,
489,
26193,
45,
41753,
51,
11960,
6778,
1052,
222,
221,
130,
3038,
221,
1350,
376,
338,
3777,
341,
25146,
1419,
564,
47142,
451,
341,
4216,
51,
376,
588,
222,
221,
942,
1916,
640,
93,
365,
222,
221,
128,
376,
221,
620,
477,
51,
125,
64,
222,
221,
130,
3038,
221,
1350,
376,
338,
9023,
341,
25146,
1419,
564,
47142,
451,
341,
4216,
51,
376,
588,
222,
221,
942,
782,
758,
93,
45,
1832,
837,
46,
222,
221,
128,
376,
221,
344,
327,
125,
882,
477,
51,
125,
46,
376,
221,
128,
374,
221,
1832,
3627,
93,
299,
477,
51,
125,
64,
374,
221,
597,
51,
125,
299,
837,
64,
374,
221,
597,
51,
2449,
1810,
4417,
51,
5734,
1667,
1810,
45,
1667,
51,
93,
51,
444,
1046,
3627,
93,
49,
837,
312,
376,
221,
130,
222,
221,
130,
3038,
221,
1350,
376,
338,
3777,
341,
25146,
16208,
3061,
451,
341,
4216,
51,
376,
588,
222,
221,
942,
1916,
640,
94,
365,
222,
221,
128,
376,
221,
620,
477,
51,
126,
64,
222,
221,
130,
3038,
221,
1350,
376,
338,
9023,
341,
25146,
16208,
3061,
451,
341,
4216,
51,
4517,
588,
222,
221,
942,
782,
758,
94,
45,
1832,
553,
46,
222,
221,
128,
376,
221,
344,
327,
126,
882,
477,
51,
126,
46,
376,
221,
128,
374,
221,
1832,
3627,
94,
299,
477,
51,
126,
64,
374,
221,
597,
51,
126,
299,
553,
64,
374,
221,
597,
51,
2449,
1810,
4417,
51,
5734,
1667,
1810,
45,
1667,
51,
94,
51,
444,
1046,
3627,
94,
49,
553,
312,
376,
221,
130,
222,
221,
130,
3038,
221,
1350,
376,
338,
3777,
341,
25146,
48283,
51,
376,
588,
222,
221,
942,
1916,
640,
2844,
1099,
365,
222,
221,
128,
376,
221,
620,
477,
51,
44272,
64,
222,
221,
130,
3038,
221,
1350,
376,
338,
9023,
341,
25146,
48283,
51,
376,
588,
222,
221,
942,
782,
758,
2844,
1099,
45,
1832,
48283,
46,
222,
221,
128,
376,
221,
344,
327,
44272,
882,
477,
51,
44272,
46,
376,
221,
128,
374,
221,
1832,
3627,
2844,
1099,
299,
477,
51,
44272,
64,
374,
221,
597,
51,
44272,
299,
48283,
64,
374,
221,
597,
51,
2449,
1810,
4417,
51,
5734,
1667,
1810,
45,
1667,
51,
1740,
11012,
51,
444,
1046,
3627,
2844,
1099,
49,
48283,
312,
376,
221,
130,
222,
221,
130,
3038,
221,
1350,
376,
338,
3777,
4962,
940,
369,
458,
8716,
575,
666,
51,
376,
588,
222,
221,
942,
1922,
458,
5671,
365,
222,
221,
128,
376,
221,
620,
477,
51,
7913,
64,
222,
221,
130,
3038,
221,
1350,
376,
338,
9023,
4962,
477,
940,
369,
458,
8716,
575,
666,
51,
376,
588,
222,
221,
942,
782,
758,
5671,
45,
4412,
8716,
46,
222,
221,
128,
376,
221,
344,
327,
7913,
882,
477,
51,
7913,
46,
376,
221,
128,
374,
221,
597,
51,
7913,
299,
8716,
64,
374,
221,
597,
51,
2449,
1810,
4417,
51,
5734,
1667,
1810,
45,
1667,
51,
18392,
51,
444,
1046,
673,
7913,
49,
8716,
312,
376,
221,
130,
222,
221,
130,
3038,
221,
1350,
376,
338,
3777,
341,
25146,
27971,
6999,
8826,
347,
18713,
51,
376,
588,
222,
221,
942,
1916,
640,
25080,
5235,
402,
32670,
365,
222,
221,
128,
376,
221,
620,
477,
51,
19830,
5235,
402,
32670,
64,
222,
221,
130,
3038,
221,
1350,
376,
338,
9023,
341,
25146,
27971,
6999,
8826,
51,
376,
588,
222,
221,
942,
782,
758,
25080,
5235,
402,
32670,
45,
1832,
34374,
5235,
402,
32670,
46,
222,
221,
128,
376,
221,
344,
327,
19830,
5235,
402,
32670,
882,
477,
51,
19830,
5235,
402,
32670,
46,
376,
221,
128,
374,
221,
1832,
3627,
25080,
5235,
402,
32670,
299,
477,
51,
19830,
5235,
402,
32670,
64,
374,
221,
597,
51,
19830,
5235,
402,
32670,
299,
34374,
5235,
402,
32670,
64,
374,
221,
597,
51,
2449,
1810,
4417,
51,
5734,
1667,
1810,
45,
1667,
51,
43168,
100,
33945,
100,
540,
100,
869,
22215,
959,
51,
444,
1046,
596,
221,
1477,
25080,
5235,
402,
32670,
49,
34374,
5235,
402,
32670,
312,
376,
221,
130,
222,
221,
130,
3038,
221,
1350,
376,
338,
3777,
341,
25146,
20913,
347,
18713,
51,
376,
588,
222,
221,
942,
1175,
1916,
640,
27437,
402,
32670,
365,
222,
221,
128,
376,
221,
620,
477,
51,
16487,
402,
32670,
64,
222,
221,
130,
3038,
221,
1350,
376,
338,
9023,
341,
25146,
20913,
347,
18713,
51,
376,
588,
222,
221,
942,
782,
758,
27437,
402,
32670,
45,
1832,
20913,
402,
32670,
46,
222,
221,
128,
376,
221,
344,
327,
16487,
402,
32670,
882,
477,
51,
16487,
402,
32670,
46,
376,
221,
128,
374,
221,
1832,
3627,
27437,
402,
32670,
299,
477,
51,
16487,
402,
32670,
64,
374,
221,
597,
51,
16487,
402,
32670,
299,
20913,
402,
32670,
64,
374,
221,
597,
51,
2449,
1810,
4417,
51,
5734,
1667,
1810,
45,
1667,
51,
22341,
799,
7212,
100,
540,
100,
869,
22215,
959,
51,
444,
1046,
3627,
27437,
402,
32670,
49,
596,
221,
16487,
402,
32670,
312,
376,
221,
130,
222,
221,
130,
3038,
221,
1350,
376,
338,
3777,
341,
25146,
20471,
347,
18713,
51,
376,
588,
222,
221,
942,
1175,
1916,
640,
27998,
402,
32670,
365,
222,
221,
128,
376,
221,
620,
477,
51,
17202,
402,
32670,
64,
222,
221,
130,
3038,
221,
1350,
376,
338,
9023,
341,
25146,
20471,
451,
341,
4216,
51,
376,
588,
222,
221,
942,
782,
758,
27998,
402,
32670,
45,
1832,
20471,
402,
32670,
46,
222,
221,
128,
376,
221,
344,
327,
17202,
402,
32670,
882,
477,
51,
17202,
402,
32670,
46,
376,
221,
128,
374,
221,
1832,
3627,
27998,
402,
32670,
299,
477,
51,
17202,
402,
32670,
64,
374,
221,
597,
51,
17202,
402,
32670,
299,
20471,
402,
32670,
64,
374,
221,
597,
51,
2449,
1810,
4417,
51,
5734,
1667,
1810,
45,
1667,
51,
10129,
799,
7212,
100,
540,
100,
869,
22215,
959,
51,
444,
1046,
3627,
27998,
402,
32670,
49,
596,
221,
17202,
402,
32670,
312,
376,
221,
130,
222,
221,
130,
3038,
221,
1350,
376,
338,
3777,
341,
25146,
1153,
10796,
7262,
51,
376,
588,
222,
221,
942,
910,
640,
26193,
365,
222,
221,
128,
376,
221,
620,
477,
51,
1021,
6778,
64,
222,
221,
130,
3038,
221,
1350,
376,
338,
9023,
341,
25146,
1153,
10796,
7262,
51,
4517,
588,
222,
221,
942,
782,
758,
26193,
45,
671,
1153,
6778,
46,
222,
221,
128,
376,
221,
344,
1445,
1021,
6778,
51,
3591,
45,
597,
51,
1021,
6778,
509,
376,
221,
128,
374,
221,
671,
3627,
26193,
299,
477,
51,
1021,
6778,
64,
374,
221,
597,
51,
1021,
6778,
299,
1153,
6778,
64,
374,
221,
597,
51,
2449,
1810,
4417,
51,
5734,
1667,
1810,
45,
1667,
51,
4812,
100,
27346,
51,
444,
1046,
3627,
26193,
49,
1153,
6778,
312,
376,
221,
130,
222,
221,
130,
3038,
221,
1350,
376,
338,
5516,
6871,
6780,
940,
369,
664,
341,
2102,
7129,
347,
477,
5940,
51,
4517,
588,
222,
221,
942,
782,
5370,
1000,
369,
365,
222,
221,
128,
376,
221,
1832,
837,
299,
640,
93,
492,
376,
221,
1832,
553,
299,
640,
94,
492,
376,
221,
1832,
48283,
299,
640,
2844,
1099,
492,
376,
221,
4412,
8716,
299,
458,
5671,
492,
376,
221,
1832,
34374,
5235,
299,
327,
1832,
46,
4189,
51,
471,
39121,
45,
390,
25080,
5235,
402,
32670,
1052,
376,
221,
1832,
20913,
299,
327,
1832,
46,
4189,
51,
471,
39121,
45,
390,
27437,
402,
32670,
1052,
376,
221,
1832,
20471,
299,
327,
1832,
46,
4189,
51,
471,
39121,
45,
390,
27998,
402,
32670,
1052,
376,
221,
671,
1153,
6778,
299,
640,
26193,
492,
376,
221,
23654,
463,
3594,
25395,
463,
3594,
299,
556,
2270,
369,
23654,
463,
3594,
45,
597,
51,
2849,
51,
390,
1000,
369,
1046,
477,
51,
22561,
49,
837,
49,
553,
49,
48283,
49,
621,
221,
7913,
49,
34374,
5235,
49,
20913,
49,
20471,
49,
1153,
6778,
312,
376,
221,
1428,
14498,
1000,
369,
45,
597,
51,
2849,
51,
390,
1000,
369,
1046,
837,
49,
553,
49,
48283,
49,
8716,
49,
34374,
5235,
49,
20913,
49,
20471,
49,
1153,
6778,
312,
376,
221,
597,
51,
16222,
4417,
51,
1545,
3594,
45,
16222,
463,
3594,
312,
222,
221,
130,
3038,
221,
1350,
376,
338,
48085,
463,
4588,
456,
940,
369,
51,
1369,
462,
7751,
1348,
23214,
391,
7373,
376,
338,
4019,
5105,
391,
5940,
480,
2840,
2221,
51,
376,
588,
222,
221,
2072,
924,
462,
2270,
369,
23654,
463,
3594,
2041,
7406,
23654,
463,
3594,
222,
221,
128,
376,
221,
2072,
1175,
2270,
369,
940,
369,
64,
376,
221,
2072,
1175,
2694,
11333,
23333,
64,
376,
221,
2072,
1175,
1916,
3627,
93,
64,
376,
221,
2072,
1175,
1916,
3627,
94,
64,
376,
221,
2072,
1175,
1916,
3627,
2844,
1099,
64,
376,
221,
2072,
1175,
1916,
3627,
25080,
5235,
64,
376,
221,
2072,
1175,
1916,
3627,
27437,
64,
376,
221,
2072,
1175,
1916,
3627,
27998,
64,
376,
221,
2072,
1175,
910,
3627,
26193,
64,
376,
221,
2072,
1175,
1922,
3627,
5671,
64,
376,
221,
2072,
1175,
1916,
556,
93,
64,
376,
221,
2072,
1175,
1916,
556,
94,
64,
376,
221,
2072,
1175,
1916,
556,
2844,
1099,
64,
376,
221,
2072,
1175,
1916,
556,
25080,
5235,
64,
376,
221,
2072,
1175,
1916,
556,
27437,
64,
376,
221,
2072,
1175,
1916,
556,
27998,
64,
376,
221,
2072,
1175,
910,
556,
26193,
64,
376,
221,
2072,
1175,
1922,
556,
5671,
64,
4102,
221,
942,
2270,
369,
23654,
463,
3594,
45,
1000,
369,
940,
369,
49,
2694,
11333,
23333,
49,
1916,
556,
93,
49,
1916,
556,
94,
49,
621,
221,
1832,
556,
2844,
1099,
49,
1922,
556,
5671,
49,
1916,
556,
25080,
5235,
49,
1916,
556,
27437,
49,
1916,
556,
27998,
49,
621,
221,
671,
556,
26193,
46,
376,
221,
128,
374,
221,
597,
51,
41753,
299,
940,
369,
64,
374,
221,
597,
51,
22561,
299,
23333,
64,
374,
221,
597,
51,
1477,
93,
299,
940,
369,
51,
18807,
492,
374,
221,
597,
51,
1477,
94,
299,
940,
369,
51,
20421,
492,
374,
221,
597,
51,
1477,
2844,
1099,
299,
940,
369,
51,
390,
2844,
1099,
492,
374,
221,
597,
51,
1477,
5671,
299,
940,
369,
51,
31215,
492,
374,
221,
597,
51,
1477,
25080,
5235,
299,
940,
369,
51,
390,
25080,
5235,
492,
374,
221,
597,
51,
1477,
27437,
299,
940,
369,
51,
390,
27437,
492,
374,
221,
597,
51,
1477,
27998,
299,
940,
369,
51,
390,
27998,
492,
374,
221,
597,
51,
1477,
26193,
299,
940,
369,
51,
11960,
6778,
492,
374,
221,
597,
51,
909,
93,
299,
556,
93,
64,
374,
221,
597,
51,
909,
94,
299,
556,
94,
64,
374,
221,
597,
51,
909,
2844,
1099,
299,
556,
2844,
1099,
64,
374,
221,
597,
51,
909,
5671,
299,
556,
5671,
64,
374,
221,
597,
51,
909,
25080,
5235,
299,
556,
25080,
5235,
64,
374,
221,
597,
51,
909,
27437,
299,
556,
27437,
64,
374,
221,
597,
51,
909,
27998,
299,
556,
27998,
64,
374,
221,
597,
51,
909,
26193,
299,
556,
26193,
64,
376,
221,
130,
4102,
221,
69,
1806,
376,
221,
942,
782,
25395,
365,
2589,
16794,
23654,
1002,
376,
221,
128,
374,
221,
5282,
51,
16222,
492,
374,
221,
1428,
14498,
1000,
369,
45,
597,
51,
41753,
49,
477,
51,
1477,
93,
49,
477,
51,
1477,
94,
49,
477,
51,
1477,
2844,
1099,
49,
477,
51,
1477,
5671,
49,
596,
221,
597,
51,
1477,
25080,
5235,
49,
477,
51,
1477,
27437,
49,
477,
51,
1477,
27998,
49,
477,
51,
1477,
26193,
312,
376,
221,
130,
4102,
221,
69,
1806,
376,
221,
942,
782,
45434,
365,
2589,
16794,
44805,
1002,
376,
221,
128,
374,
221,
5282,
51,
37597,
492,
374,
221,
1428,
14498,
1000,
369,
45,
597,
51,
41753,
49,
477,
51,
909,
93,
49,
477,
51,
909,
94,
49,
477,
51,
909,
2844,
1099,
49,
477,
51,
909,
5671,
49,
596,
221,
597,
51,
909,
25080,
5235,
49,
477,
51,
909,
27437,
49,
477,
51,
909,
27998,
49,
477,
51,
909,
26193,
312,
376,
221,
130,
4102,
221,
69,
1806,
376,
221,
942,
910,
640,
21407,
577,
365,
376,
221,
128,
374,
221,
620,
477,
51,
22561,
51,
390,
24210,
671,
45,
1000,
369,
1934,
51,
842,
49,
332,
16222,
14498,
1000,
369,
577,
742,
376,
221,
130,
222,
221,
130,
3038,
221,
2072,
924,
782,
764,
14498,
1000,
369,
45,
1000,
369,
940,
369,
49,
1916,
837,
49,
1916,
553,
49,
1916,
48283,
49,
1922,
8716,
49,
374,
221,
1832,
34374,
5235,
49,
1916,
20913,
49,
1916,
20471,
49,
910,
1153,
6778,
46,
222,
221,
128,
376,
221,
41753,
51,
489,
93,
45,
125,
312,
376,
221,
41753,
51,
489,
94,
45,
126,
312,
376,
221,
41753,
51,
489,
2844,
1099,
45,
44272,
312,
376,
221,
41753,
51,
18215,
45,
7913,
312,
376,
221,
41753,
51,
489,
25080,
5235,
45,
19830,
5235,
312,
376,
221,
41753,
51,
489,
27437,
45,
16487,
312,
376,
221,
41753,
51,
489,
27998,
45,
17202,
312,
376,
221,
41753,
51,
489,
26193,
45,
1021,
6778,
312,
222,
221,
130,
222,
130,
222
] |
[
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 3,252
| true
| 74.0513
| true
| true
|
FeatureSelectorResolver.java
|
/FileExtraction/Java_unseen/wireapp_picklejar-engine/src/main/java/com/wire/qa/picklejar/engine/discovery/FeatureSelectorResolver.java
|
package com.wire.qa.picklejar.engine.discovery;
import java.io.File;
import java.io.IOException;
import java.lang.reflect.Method;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Optional;
import java.util.Set;
import java.util.logging.Logger;
import java.util.stream.Collectors;
import com.wire.qa.picklejar.engine.PicklejarConfiguration;
import com.wire.qa.picklejar.engine.annotations.AnnotationPattern;
import com.wire.qa.picklejar.engine.descriptor.FeatureDescriptor;
import com.wire.qa.picklejar.engine.descriptor.ScenarioDescriptor;
import com.wire.qa.picklejar.engine.exception.DiscoveryException;
import com.wire.qa.picklejar.engine.exception.ExceptionHelper;
import gherkin.AstBuilder;
import gherkin.Parser;
import gherkin.ast.Feature;
import gherkin.ast.ScenarioDefinition;
import gherkin.ast.Tag;
import org.junit.platform.commons.PreconditionViolationException;
import org.junit.platform.commons.util.Preconditions;
import org.junit.platform.commons.util.StringUtils;
import org.junit.platform.engine.TestDescriptor;
import org.junit.platform.engine.UniqueId;
import org.junit.platform.engine.discovery.FileSelector;
import org.junit.platform.engine.discovery.PackageSelector;
import org.junit.platform.engine.discovery.UniqueIdSelector;
import org.junit.platform.engine.support.discovery.SelectorResolver;
import static org.junit.platform.commons.util.StringUtils.isNotBlank;
import static org.junit.platform.engine.support.discovery.SelectorResolver.Resolution.unresolved;
public class FeatureSelectorResolver implements SelectorResolver {
private static final Logger logger = Logger.getLogger(FeatureSelectorResolver.class.getName());
private static final Parser<Feature> PARSER = new Parser<>(new AstBuilder());
protected final UniqueId uniqueId;
protected final PicklejarConfiguration configuration;
protected final Map<AnnotationPattern, Method> methodCache;
protected final FeatureFileFilter fileFilter = new FeatureFileFilter();
FeatureSelectorResolver(UniqueId uniqueId, PicklejarConfiguration configuration, Map<AnnotationPattern, Method> methodCache) {
this.uniqueId = uniqueId;
this.configuration = configuration;
this.methodCache = methodCache;
}
@Override
public Resolution resolve(PackageSelector selector, Context context) {
String packageName = selector.getPackageName();
// packageName is not set when running via IntelliJ JUnit Run configuration
if (StringUtils.isBlank(packageName)) {
packageName = configuration.getFeaturesPackageName();
}
Preconditions.condition(
isNotBlank(packageName),
"com.wire.qa.picklejar.features.package must not be null or blank");
String finalPackageName = packageName;
logger.info(() -> String.format("[Discovery] Features: Searching package %s", finalPackageName));
Collection<File> featureFiles = ResourceSeeker.scanForFilesInPackage(packageName, fileFilter);
Preconditions.condition(featureFiles.size() > 0,
String.format("Could not find files with extension '.%s' in any provided package: %s",
FeatureFileFilter.EXTENSION,
packageName));
logger.info(() -> String.format("[Discovery] Features: Found %s feature(s)", featureFiles.size()));
Set<Match> matches = new HashSet<>();
for (File featureFile : featureFiles) {
matches.addAll(discoverScenarios(featureFile, context));
}
return matches.isEmpty() ? unresolved() : Resolution.matches(matches);
}
@Override
public Resolution resolve(FileSelector selector, Context context) {
return Resolution.matches(discoverScenarios(selector.getFile(), context));
}
@Override
public Resolution resolve(UniqueIdSelector selector, Context context) {
String packageName = configuration.getFeaturesPackageName();
logger.info(() -> String.format("[Discovery] Features: Searching package %s", packageName));
Collection<File> featureFiles = ResourceSeeker.scanForFilesInPackage(packageName, fileFilter);
Preconditions.condition(featureFiles.size() > 0,
String.format("Could not find files with extension '.%s' in any provided package: %s",
FeatureFileFilter.EXTENSION,
packageName));
logger.info(() -> String.format("[Discovery] Features: Found %s feature(s)", featureFiles.size()));
Set<Match> scenarios = new HashSet<>();
for (File featureFile : featureFiles) {
scenarios.addAll(discoverScenarios(featureFile, context));
}
logger.info(() -> "[Discovery] Features: Filter by UniqueId: " + selector.getUniqueId());
// Recursively go through children
Set<TestDescriptor> descriptors = scenarios.stream().map(Match::getTestDescriptor).collect(Collectors.toSet());
Optional<? extends TestDescriptor> match = descriptors.stream().findFirst().get().findByUniqueId(selector.getUniqueId());
Set<Match> matches = new HashSet<>();
match.ifPresent(i -> matches.add(Match.exact(i)));
return matches.isEmpty() ? unresolved() : Resolution.matches(matches);
}
private Set<Match> discoverScenarios(File file, Context context) {
// TODO: Maybe return new scenario selectors instead of matches?
logger.fine(() -> String.format("[Discovery] Scenarios: Searching scenarios in file %s", file.getAbsolutePath()));
// Check for file existence and correct file extension
Preconditions.condition(file.exists(), String.format("Cannot find feature file: %s", file.getAbsolutePath()));
Preconditions.condition(fileFilter.accept(null, file.getName()),
String.format("Supplied feature file does not end with extension '.%s': %s",
FeatureFileFilter.EXTENSION,
file.getAbsolutePath()));
Feature feature = null;
try {
feature = PARSER.parse(readFile(file));
} catch (IOException e) {
throw new PreconditionViolationException(
String.format("Could not read file %s: %s", file.getName(), e.getMessage()));
}
// Check feature naming
Preconditions.notNull(feature, "");
Preconditions.notNull(feature.getName(), String.format("Feature is missing name in file: %s", file.getAbsolutePath()));
feature = normalizeName(feature);
return discoverScenarios(feature, file, context);
}
private Set<Match> discoverScenarios(Feature feature, File file, Context context) {
ScenarioSelectorResolver scenarioSelectorResolver = new ScenarioSelectorResolver(uniqueId, configuration, methodCache);
Set<Match> matches = new HashSet<>();
String relativeFolder = getRelativeFeatureFolder(file, configuration.getFeaturesPackagePaths());
FeatureDescriptor featureDescriptor = new FeatureDescriptor(uniqueId, feature.getName(), file, relativeFolder);
List<String> tags = new ArrayList<>();
for (Tag tag : feature.getTags()) {
tags.add(tag.getName());
}
featureDescriptor.setTags(tags);
List<ScenarioDefinition> filteredScenarios = feature.getScenarioDefinitions();
List<ScenarioDescriptor> scenarioDescriptors = new ArrayList<>();
for (ScenarioDefinition scenarioDefinition : filteredScenarios) {
scenarioDescriptors.addAll(scenarioSelectorResolver.discover(scenarioDefinition,
featureDescriptor));
}
logger.fine(() -> "[Discovery] Check for duplicate scenarios");
List<String> names = scenarioDescriptors.stream().map(TestDescriptor::getDisplayName).collect(Collectors.toList());
Set<String> items = new HashSet<>();
Set<String> duplicates = names.stream().filter(n -> !items.add(n)).collect(Collectors.toSet());
if (duplicates.size() > 0) {
throw new DiscoveryException(
String.format("Duplicate scenario name(s) in feature '%s': %s",
feature.getName(),
String.join(",", duplicates)),
featureDescriptor.getFile(),
ExceptionHelper.getLineNumberInFeature(featureDescriptor.getFile(),
duplicates.iterator().next().replaceAll(" [0-9]+$", "")));
}
for (ScenarioDescriptor scenarioDescriptor : scenarioDescriptors) {
featureDescriptor.addChild(scenarioDescriptor);
}
logger.info(String.format("[Discovery] Scenarios: Found %s scenario(s) in feature \"%s%s\"",
featureDescriptor.getChildren().size(),
relativeFolder,
feature.getName()));
context.addToParent(parent -> Optional.of(featureDescriptor));
matches.add(Match.exact(featureDescriptor));
return matches;
}
private static String readFile(File file) throws IOException {
logger.fine(() -> String.format("[Discovery] Scenarios: Reading file: %s", file.getName()));
if (!file.isFile()) {
throw new IllegalArgumentException(String.format("Provided file is a folder: %s",
file.getAbsolutePath()));
}
return Files.readString(Paths.get(file.getAbsolutePath()));
}
public static Feature normalizeName(Feature feature) {
String name = feature.getName()
.replaceAll("[^a-zA-Z0-9 ]+", " ")
.replaceAll("\\s+", " ")
.trim();
return new Feature(feature.getTags(), feature.getLocation(), feature.getLanguage(), feature.getKeyword(),
name, feature.getDescription(), feature.getBackground(), feature.getScenarioDefinitions(),
feature.getComments());
}
// Only public because of tests
public static String getRelativeFeatureFolder(File file, Set<File> featuresPackageFolders) {
Optional<String> relativeFolder = featuresPackageFolders.stream()
.map(folder -> folder.toURI().relativize(file.getParentFile().toURI()).getPath())
.filter(result -> !result.startsWith(File.separator))
.findFirst();
if (relativeFolder.isEmpty()) {
throw new RuntimeException(String.format(
"[Discovery] Could not relate any feature package folders to file %s",
file.getAbsolutePath()));
} else {
return relativeFolder.get();
}
}
}
| 10,822
|
Java
|
.java
|
wireapp/picklejar-engine
| 9
| 0
| 0
|
2023-07-18T08:56:54Z
|
2023-07-19T14:40:22Z
|
9d8d3ebf1d1fae7f841340a6c89ed05c24ac32350bf1e9b38454ceb89f69d717
|
[
1337,
785,
51,
11411,
51,
9503,
51,
24274,
6873,
51,
3502,
51,
21518,
64,
222,
222,
485,
1401,
51,
735,
51,
991,
64,
222,
485,
1401,
51,
735,
51,
6860,
64,
222,
485,
1401,
51,
1600,
51,
9069,
51,
1885,
64,
222,
485,
1401,
51,
11780,
51,
781,
51,
3852,
64,
222,
485,
1401,
51,
11780,
51,
781,
51,
9648,
64,
222,
485,
1401,
51,
1058,
51,
7119,
64,
222,
485,
1401,
51,
1058,
51,
2272,
64,
222,
485,
1401,
51,
1058,
51,
17163,
64,
222,
485,
1401,
51,
1058,
51,
739,
64,
222,
485,
1401,
51,
1058,
51,
1225,
64,
222,
485,
1401,
51,
1058,
51,
7575,
64,
222,
485,
1401,
51,
1058,
51,
903,
64,
222,
485,
1401,
51,
1058,
51,
7506,
51,
3716,
64,
222,
485,
1401,
51,
1058,
51,
2255,
51,
16862,
64,
222,
222,
485,
785,
51,
11411,
51,
9503,
51,
24274,
6873,
51,
3502,
51,
14687,
293,
6873,
2339,
64,
222,
485,
785,
51,
11411,
51,
9503,
51,
24274,
6873,
51,
3502,
51,
8839,
51,
7945,
5526,
64,
222,
485,
785,
51,
11411,
51,
9503,
51,
24274,
6873,
51,
3502,
51,
9662,
51,
4249,
4336,
64,
222,
485,
785,
51,
11411,
51,
9503,
51,
24274,
6873,
51,
3502,
51,
9662,
51,
17597,
4336,
64,
222,
485,
785,
51,
11411,
51,
9503,
51,
24274,
6873,
51,
3502,
51,
3918,
51,
17300,
1002,
64,
222,
485,
785,
51,
11411,
51,
9503,
51,
24274,
6873,
51,
3502,
51,
3918,
51,
1002,
2775,
64,
222,
485,
504,
2752,
10503,
51,
19501,
1812,
64,
222,
485,
504,
2752,
10503,
51,
2837,
64,
222,
485,
504,
2752,
10503,
51,
652,
51,
4249,
64,
222,
485,
504,
2752,
10503,
51,
652,
51,
17597,
3385,
64,
222,
485,
504,
2752,
10503,
51,
652,
51,
2649,
64,
222,
485,
1105,
51,
3946,
51,
5146,
51,
8381,
51,
48736,
28030,
1002,
64,
222,
485,
1105,
51,
3946,
51,
5146,
51,
8381,
51,
1058,
51,
36329,
64,
222,
485,
1105,
51,
3946,
51,
5146,
51,
8381,
51,
1058,
51,
15193,
64,
222,
485,
1105,
51,
3946,
51,
5146,
51,
3502,
51,
1024,
4336,
64,
222,
485,
1105,
51,
3946,
51,
5146,
51,
3502,
51,
34245,
64,
222,
485,
1105,
51,
3946,
51,
5146,
51,
3502,
51,
21518,
51,
991,
4454,
64,
222,
485,
1105,
51,
3946,
51,
5146,
51,
3502,
51,
21518,
51,
4057,
4454,
64,
222,
485,
1105,
51,
3946,
51,
5146,
51,
3502,
51,
21518,
51,
34245,
4454,
64,
222,
485,
1105,
51,
3946,
51,
5146,
51,
3502,
51,
3608,
51,
21518,
51,
4454,
7266,
64,
222,
222,
485,
924,
1105,
51,
3946,
51,
5146,
51,
8381,
51,
1058,
51,
15193,
51,
45421,
64,
222,
485,
924,
1105,
51,
3946,
51,
5146,
51,
3502,
51,
3608,
51,
21518,
51,
4454,
7266,
51,
13288,
51,
330,
15646,
64,
222,
222,
942,
462,
8608,
4454,
7266,
4584,
27537,
7266,
320,
465,
964,
924,
1175,
7145,
4101,
299,
7145,
51,
10588,
45,
4249,
4454,
7266,
51,
842,
51,
5175,
1052,
303,
964,
924,
1175,
12264,
65,
4249,
67,
27879,
299,
556,
12264,
11530,
909,
22334,
1812,
1052,
465,
2532,
1175,
21358,
625,
5823,
625,
64,
303,
2532,
1175,
24699,
293,
6873,
2339,
3505,
64,
303,
2532,
1175,
3531,
65,
7945,
5526,
49,
5409,
67,
1431,
2610,
64,
303,
2532,
1175,
8608,
991,
2365,
822,
2365,
299,
556,
8608,
991,
2365,
492,
465,
8608,
4454,
7266,
45,
34245,
5823,
625,
49,
24699,
293,
6873,
2339,
3505,
49,
3531,
65,
7945,
5526,
49,
5409,
67,
1431,
2610,
46,
320,
310,
477,
51,
5714,
625,
299,
5823,
625,
64,
310,
477,
51,
5990,
299,
3505,
64,
310,
477,
51,
1978,
2610,
299,
1431,
2610,
64,
303,
339,
465,
496,
1806,
303,
581,
43177,
5895,
45,
4057,
4454,
9196,
49,
7063,
1637,
46,
320,
310,
910,
34021,
299,
9196,
51,
390,
28458,
492,
310,
453,
34021,
458,
666,
758,
1429,
3991,
4745,
46017,
990,
3024,
4507,
3505,
310,
434,
327,
15193,
51,
40481,
45,
28475,
509,
320,
343,
34021,
299,
3505,
51,
390,
9566,
28458,
492,
310,
339,
310,
40554,
51,
4759,
45,
419,
458,
48705,
45,
28475,
490,
419,
332,
527,
51,
11411,
51,
9503,
51,
24274,
6873,
51,
5977,
51,
1337,
2315,
666,
545,
762,
575,
11778,
742,
603,
910,
1175,
28458,
299,
34021,
64,
310,
4101,
51,
1357,
4133,
984,
910,
51,
1664,
9669,
17300,
98,
17077,
63,
7438,
318,
2670,
925,
120,
411,
1175,
28458,
894,
603,
7380,
65,
991,
67,
2817,
3852,
299,
6297,
18441,
284,
51,
6987,
1580,
3852,
402,
4057,
45,
28475,
49,
822,
2365,
312,
603,
40554,
51,
4759,
45,
3317,
3852,
51,
911,
365,
868,
244,
53,
49,
419,
910,
51,
1664,
459,
9752,
666,
2309,
2293,
642,
5122,
5629,
42,
120,
44,
347,
1364,
3961,
2670,
63,
925,
120,
411,
733,
8608,
991,
2365,
51,
19798,
49,
733,
34021,
894,
603,
4101,
51,
1357,
4133,
984,
910,
51,
1664,
9669,
17300,
98,
17077,
63,
5433,
925,
120,
2817,
45,
120,
5742,
2817,
3852,
51,
911,
5086,
603,
1776,
65,
3683,
67,
8012,
299,
556,
14253,
6984,
603,
456,
327,
991,
2817,
991,
518,
2817,
3852,
46,
320,
343,
8012,
51,
15109,
45,
33535,
2391,
30829,
45,
3317,
991,
49,
1637,
894,
310,
339,
310,
461,
8012,
51,
6401,
365,
1037,
725,
15646,
365,
518,
43177,
51,
8936,
45,
8936,
312,
303,
339,
465,
496,
1806,
303,
581,
43177,
5895,
45,
991,
4454,
9196,
49,
7063,
1637,
46,
320,
310,
461,
43177,
51,
8936,
45,
33535,
2391,
30829,
45,
9040,
51,
22184,
1046,
1637,
894,
303,
339,
465,
496,
1806,
303,
581,
43177,
5895,
45,
34245,
4454,
9196,
49,
7063,
1637,
46,
320,
310,
910,
34021,
299,
3505,
51,
390,
9566,
28458,
492,
310,
4101,
51,
1357,
4133,
984,
910,
51,
1664,
9669,
17300,
98,
17077,
63,
7438,
318,
2670,
925,
120,
411,
34021,
894,
603,
7380,
65,
991,
67,
2817,
3852,
299,
6297,
18441,
284,
51,
6987,
1580,
3852,
402,
4057,
45,
28475,
49,
822,
2365,
312,
603,
40554,
51,
4759,
45,
3317,
3852,
51,
911,
365,
868,
244,
53,
49,
419,
910,
51,
1664,
459,
9752,
666,
2309,
2293,
642,
5122,
5629,
42,
120,
44,
347,
1364,
3961,
2670,
63,
925,
120,
411,
733,
8608,
991,
2365,
51,
19798,
49,
733,
34021,
894,
603,
4101,
51,
1357,
4133,
984,
910,
51,
1664,
9669,
17300,
98,
17077,
63,
5433,
925,
120,
2817,
45,
120,
5742,
2817,
3852,
51,
911,
5086,
603,
1776,
65,
3683,
67,
21654,
299,
556,
14253,
6984,
603,
456,
327,
991,
2817,
991,
518,
2817,
3852,
46,
320,
343,
21654,
51,
15109,
45,
33535,
2391,
30829,
45,
3317,
991,
49,
1637,
894,
310,
339,
310,
4101,
51,
1357,
4133,
984,
7195,
17300,
98,
17077,
63,
8301,
829,
21358,
625,
63,
332,
494,
9196,
51,
390,
34245,
1052,
310,
453,
922,
33024,
2006,
3939,
5727,
310,
1776,
65,
1024,
4336,
67,
26527,
299,
21654,
51,
2255,
941,
1130,
45,
3683,
422,
38824,
4336,
566,
6190,
45,
16862,
51,
45995,
1052,
603,
5663,
1907,
2041,
2128,
4336,
67,
2549,
299,
26527,
51,
2255,
941,
45219,
941,
390,
941,
20202,
34245,
45,
9040,
51,
390,
34245,
1052,
310,
1776,
65,
3683,
67,
8012,
299,
556,
14253,
6984,
310,
2549,
51,
344,
9013,
45,
110,
984,
8012,
51,
688,
45,
3683,
51,
16964,
45,
110,
4254,
603,
461,
8012,
51,
6401,
365,
1037,
725,
15646,
365,
518,
43177,
51,
8936,
45,
8936,
312,
303,
339,
465,
964,
1776,
65,
3683,
67,
23145,
2391,
30829,
45,
991,
822,
49,
7063,
1637,
46,
320,
310,
453,
4314,
63,
9215,
461,
556,
13184,
30984,
4203,
451,
8012,
68,
310,
4101,
51,
31227,
4133,
984,
910,
51,
1664,
9669,
17300,
98,
6918,
30829,
63,
7438,
318,
21654,
347,
822,
925,
120,
411,
822,
51,
24697,
5086,
603,
453,
3471,
456,
822,
31304,
480,
3831,
822,
5122,
310,
40554,
51,
4759,
45,
781,
51,
4678,
1046,
910,
51,
1664,
459,
11400,
2309,
2817,
822,
63,
925,
120,
411,
822,
51,
24697,
5086,
310,
40554,
51,
4759,
45,
781,
2365,
51,
7504,
45,
1710,
49,
822,
51,
5175,
6198,
419,
910,
51,
1664,
459,
33749,
3048,
2817,
822,
1976,
666,
962,
642,
5122,
5629,
42,
120,
972,
925,
120,
411,
733,
8608,
991,
2365,
51,
19798,
49,
733,
822,
51,
24697,
5086,
603,
8608,
2817,
299,
762,
64,
603,
1614,
320,
343,
2817,
299,
27879,
51,
2228,
45,
32213,
45,
781,
894,
310,
339,
2385,
327,
6860,
503,
46,
320,
343,
1440,
556,
7497,
4759,
28030,
1002,
45,
547,
910,
51,
1664,
459,
9752,
666,
1511,
822,
925,
120,
63,
925,
120,
411,
822,
51,
5175,
1046,
503,
51,
7724,
5086,
310,
339,
603,
453,
3471,
2817,
22564,
310,
40554,
51,
28872,
45,
3317,
49,
10780,
310,
40554,
51,
28872,
45,
3317,
51,
5175,
1046,
910,
51,
1664,
459,
4249,
458,
5839,
655,
347,
822,
63,
925,
120,
411,
822,
51,
24697,
5086,
310,
2817,
299,
13445,
577,
45,
3317,
312,
603,
461,
23145,
2391,
30829,
45,
3317,
49,
822,
49,
1637,
312,
303,
339,
465,
964,
1776,
65,
3683,
67,
23145,
2391,
30829,
45,
4249,
2817,
49,
2050,
822,
49,
7063,
1637,
46,
320,
310,
34366,
4454,
7266,
13184,
4454,
7266,
299,
556,
34366,
4454,
7266,
45,
5714,
625,
49,
3505,
49,
1431,
2610,
312,
310,
1776,
65,
3683,
67,
8012,
299,
556,
14253,
6984,
310,
910,
6498,
5653,
299,
640,
11776,
4249,
5653,
45,
781,
49,
3505,
51,
390,
9566,
4057,
9648,
1052,
310,
8608,
4336,
2817,
4336,
299,
556,
8608,
4336,
45,
5714,
625,
49,
2817,
51,
5175,
1046,
822,
49,
6498,
5653,
312,
310,
1701,
65,
671,
67,
5957,
299,
556,
5068,
6984,
310,
456,
327,
2649,
2621,
518,
2817,
51,
390,
6763,
1177,
320,
343,
5957,
51,
688,
45,
2159,
51,
5175,
1052,
310,
339,
310,
2817,
4336,
51,
489,
6763,
45,
3981,
312,
603,
1701,
65,
17597,
3385,
67,
14025,
2391,
30829,
299,
2817,
51,
390,
17597,
12683,
492,
603,
1701,
65,
17597,
4336,
67,
13184,
17825,
299,
556,
5068,
6984,
310,
456,
327,
17597,
3385,
13184,
3385,
518,
14025,
2391,
30829,
46,
320,
343,
13184,
17825,
51,
15109,
45,
17866,
4454,
7266,
51,
33535,
45,
17866,
3385,
49,
547,
2817,
4336,
894,
310,
339,
603,
4101,
51,
31227,
4133,
984,
7195,
17300,
98,
3471,
456,
12855,
21654,
742,
310,
1701,
65,
671,
67,
4492,
299,
13184,
17825,
51,
2255,
941,
1130,
45,
1024,
4336,
422,
390,
12572,
566,
6190,
45,
16862,
51,
15341,
1052,
310,
1776,
65,
671,
67,
3966,
299,
556,
14253,
6984,
310,
1776,
65,
671,
67,
27573,
299,
4492,
51,
2255,
941,
2049,
45,
115,
984,
673,
3053,
51,
688,
45,
115,
3445,
6190,
45,
16862,
51,
45995,
1052,
310,
434,
327,
37731,
51,
911,
365,
868,
244,
53,
46,
320,
343,
1440,
556,
35879,
1002,
45,
547,
910,
51,
1664,
459,
18000,
13184,
655,
45,
120,
46,
347,
2817,
6625,
120,
972,
925,
120,
411,
1031,
2817,
51,
5175,
1046,
1031,
910,
51,
2548,
42910,
27573,
3684,
547,
2817,
4336,
51,
22184,
1046,
547,
3284,
2775,
51,
390,
29652,
402,
4249,
45,
3317,
4336,
51,
22184,
1046,
1031,
27573,
51,
5174,
941,
1995,
941,
23355,
459,
447,
53,
50,
62,
6176,
30201,
332,
13265,
310,
339,
603,
456,
327,
17597,
4336,
13184,
4336,
518,
13184,
17825,
46,
320,
343,
2817,
4336,
51,
21523,
45,
17866,
4336,
312,
310,
339,
603,
4101,
51,
1357,
45,
671,
51,
1664,
9669,
17300,
98,
6918,
30829,
63,
5433,
925,
120,
13184,
45,
120,
46,
347,
2817,
25920,
120,
42,
120,
22074,
419,
2817,
4336,
51,
28817,
941,
911,
1046,
419,
6498,
5653,
49,
419,
2817,
51,
5175,
5086,
603,
1637,
51,
23390,
4449,
45,
2562,
984,
5663,
51,
1048,
45,
3317,
4336,
894,
310,
8012,
51,
688,
45,
3683,
51,
16964,
45,
3317,
4336,
894,
310,
461,
8012,
64,
303,
339,
465,
964,
924,
910,
43003,
45,
991,
822,
46,
2589,
6300,
320,
310,
4101,
51,
31227,
4133,
984,
910,
51,
1664,
9669,
17300,
98,
6918,
30829,
63,
26391,
822,
63,
925,
120,
411,
822,
51,
5175,
5086,
310,
434,
1445,
781,
51,
41746,
1177,
320,
343,
1440,
556,
12134,
45,
671,
51,
1664,
459,
29515,
822,
458,
331,
4865,
63,
925,
120,
411,
547,
822,
51,
24697,
5086,
310,
339,
310,
461,
11105,
51,
29842,
45,
9648,
51,
390,
45,
781,
51,
24697,
5086,
303,
339,
465,
581,
924,
8608,
13445,
577,
45,
4249,
2817,
46,
320,
310,
910,
655,
299,
2817,
51,
5175,
365,
419,
657,
23355,
9669,
99,
102,
50,
15169,
50,
95,
53,
50,
62,
1499,
32681,
332,
7816,
419,
657,
23355,
22904,
120,
32681,
332,
7816,
419,
657,
5475,
492,
603,
461,
556,
8608,
45,
3317,
51,
390,
6763,
1046,
2817,
51,
26716,
1046,
2817,
51,
390,
5980,
1046,
2817,
51,
11728,
1131,
1046,
419,
655,
49,
2817,
51,
32844,
1046,
2817,
51,
390,
5777,
1046,
2817,
51,
390,
17597,
12683,
1046,
419,
2817,
51,
390,
12504,
1052,
303,
339,
465,
453,
9303,
581,
3318,
451,
3326,
303,
581,
924,
910,
640,
11776,
4249,
5653,
45,
991,
822,
49,
1776,
65,
991,
67,
5423,
4057,
27880,
46,
320,
310,
5663,
65,
671,
67,
6498,
5653,
299,
5423,
4057,
27880,
51,
2255,
365,
419,
657,
1130,
45,
6204,
984,
4865,
51,
471,
6344,
941,
2836,
6221,
537,
45,
781,
51,
18777,
991,
941,
471,
6344,
4269,
17676,
1177,
419,
657,
2049,
45,
1285,
984,
673,
1285,
51,
13907,
45,
991,
51,
12640,
509,
419,
657,
45219,
492,
310,
434,
327,
9540,
5653,
51,
6401,
1177,
320,
343,
1440,
556,
13383,
45,
671,
51,
1664,
45,
547,
7195,
17300,
98,
12624,
666,
334,
1106,
1364,
2817,
2670,
18634,
391,
822,
925,
120,
411,
547,
822,
51,
24697,
5086,
310,
339,
832,
320,
343,
461,
6498,
5653,
51,
390,
492,
310,
339,
303,
339,
222,
130,
222
] |
[
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 2,279
| true
| 67.436703
| true
| true
|
EffServerTickSprint.java
|
/FileExtraction/Java_unseen/ShaneBeee_SkBee/src/main/java/com/shanebeestudios/skbee/elements/tickmanager/effects/EffServerTickSprint.java
|
package com.shanebeestudios.skbee.elements.tickmanager.effects;
import ch.njol.skript.Skript;
import ch.njol.skript.doc.Description;
import ch.njol.skript.doc.Examples;
import ch.njol.skript.doc.Name;
import ch.njol.skript.doc.Since;
import ch.njol.skript.lang.Effect;
import ch.njol.skript.lang.Expression;
import ch.njol.skript.lang.SkriptParser.ParseResult;
import ch.njol.skript.util.Timespan;
import ch.njol.util.Kleenean;
import com.shanebeestudios.skbee.api.util.Util;
import org.bukkit.Bukkit;
import org.bukkit.ServerTickManager;
import org.bukkit.event.Event;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
@Name("Server Tick - Sprint")
@Description({"Attempts to initiate a sprint, which executes all server ticks at a faster rate then normal.",
Util.MCWIKI_TICK_COMMAND, "Requires Minecraft 1.20.4+"})
@Examples({"request game to sprint 10 ticks",
"stop sprinting game"})
@Since("3.1.0")
public class EffServerTickSprint extends Effect {
static {
Skript.registerEffect(EffServerTickSprint.class,
"request (game|server) to sprint %timespan%",
"stop sprinting (game|server)");
}
private Expression<Timespan> ticks;
@SuppressWarnings({"NullableProblems", "unchecked"})
@Override
public boolean init(Expression<?>[] exprs, int matchedPattern, Kleenean isDelayed, ParseResult parseResult) {
this.ticks = matchedPattern == 0 ? (Expression<Timespan>) exprs[0] : null;
return true;
}
@SuppressWarnings("NullableProblems")
@Override
protected void execute(Event event) {
ServerTickManager tickManager = Bukkit.getServerTickManager();
if (this.ticks == null) {
tickManager.stopSprinting();
} else {
Timespan timespan = this.ticks.getSingle(event);
if (timespan != null) {
tickManager.requestGameToSprint((int) timespan.getTicks_i());
}
}
}
@Override
public @NotNull String toString(@Nullable Event e, boolean d) {
if (this.ticks == null) return "stop stepping server";
return "request game to sprint by " + this.ticks.toString(e, d);
}
}
| 2,227
|
Java
|
.java
|
ShaneBeee/SkBee
| 41
| 11
| 11
|
2020-03-07T13:44:23Z
|
2024-05-09T06:12:05Z
|
e5b2282f68952dec2cb32fa39c7cac23f4dffcea7b3feda6c3ff055ecbaefde8
|
[
1337,
785,
51,
635,
2617,
883,
464,
856,
3963,
51,
2009,
16641,
51,
7620,
51,
10793,
4031,
51,
16413,
64,
222,
222,
485,
683,
51,
22589,
381,
51,
2009,
42468,
51,
4561,
42468,
64,
222,
485,
683,
51,
22589,
381,
51,
2009,
42468,
51,
1446,
51,
3250,
64,
222,
485,
683,
51,
22589,
381,
51,
2009,
42468,
51,
1446,
51,
17535,
64,
222,
485,
683,
51,
22589,
381,
51,
2009,
42468,
51,
1446,
51,
577,
64,
222,
485,
683,
51,
22589,
381,
51,
2009,
42468,
51,
1446,
51,
13757,
64,
222,
485,
683,
51,
22589,
381,
51,
2009,
42468,
51,
1600,
51,
5572,
64,
222,
485,
683,
51,
22589,
381,
51,
2009,
42468,
51,
1600,
51,
3503,
64,
222,
485,
683,
51,
22589,
381,
51,
2009,
42468,
51,
1600,
51,
4561,
42468,
2837,
51,
4493,
1413,
64,
222,
485,
683,
51,
22589,
381,
51,
2009,
42468,
51,
1058,
51,
1061,
681,
64,
222,
485,
683,
51,
22589,
381,
51,
1058,
51,
80,
293,
45013,
64,
222,
485,
785,
51,
635,
2617,
883,
464,
856,
3963,
51,
2009,
16641,
51,
1256,
51,
1058,
51,
1747,
64,
222,
485,
1105,
51,
20402,
51,
982,
17120,
64,
222,
485,
1105,
51,
20402,
51,
2077,
10397,
1590,
64,
222,
485,
1105,
51,
20402,
51,
1585,
51,
1167,
64,
222,
485,
1105,
51,
15575,
51,
8839,
51,
4936,
64,
222,
485,
1105,
51,
15575,
51,
8839,
51,
6825,
64,
222,
222,
69,
577,
459,
2077,
34319,
449,
377,
1243,
678,
222,
69,
3250,
15540,
30163,
391,
42239,
331,
328,
1243,
49,
1532,
28373,
1187,
2160,
23571,
840,
331,
15211,
7765,
1636,
4330,
4429,
310,
7292,
51,
6613,
6620,
27716,
100,
37821,
100,
12251,
49,
332,
21035,
35022,
244,
54,
51,
55,
53,
51,
57,
5688,
1770,
222,
69,
17535,
15540,
1375,
4204,
391,
328,
1243,
244,
54,
53,
23571,
411,
310,
332,
4074,
328,
47389,
4204,
15147,
222,
69,
13757,
459,
56,
51,
54,
51,
53,
678,
222,
942,
462,
535,
505,
2077,
10397,
35349,
2041,
19234,
320,
465,
924,
320,
310,
6920,
42468,
51,
3334,
5572,
45,
33460,
2077,
10397,
35349,
51,
842,
49,
419,
332,
1375,
327,
3642,
129,
1805,
46,
391,
328,
1243,
925,
1021,
681,
22520,
419,
332,
4074,
328,
47389,
327,
3642,
129,
1805,
13365,
465,
339,
465,
964,
10298,
65,
1061,
681,
67,
23571,
64,
465,
496,
14030,
15540,
6825,
42501,
411,
332,
18362,
15147,
303,
496,
1806,
303,
581,
1922,
3238,
45,
3503,
11667,
1197,
9806,
120,
49,
648,
15008,
5526,
49,
1242,
293,
45013,
458,
32021,
49,
8663,
1413,
3203,
1413,
46,
320,
310,
477,
51,
19700,
299,
15008,
5526,
630,
244,
53,
1037,
327,
3503,
65,
1061,
681,
5111,
9806,
120,
96,
53,
98,
518,
762,
64,
310,
461,
878,
64,
303,
339,
465,
496,
14030,
459,
6825,
42501,
678,
303,
496,
1806,
303,
2532,
782,
5755,
45,
1167,
1708,
46,
320,
310,
4242,
10397,
1590,
12931,
1590,
299,
2755,
17120,
51,
32789,
10397,
1590,
492,
310,
434,
327,
597,
51,
19700,
630,
762,
46,
320,
343,
12931,
1590,
51,
4074,
35349,
318,
492,
310,
339,
832,
320,
343,
3734,
681,
1153,
681,
299,
477,
51,
19700,
51,
390,
6284,
45,
1585,
312,
343,
434,
327,
1021,
681,
882,
762,
46,
320,
419,
12931,
1590,
51,
1375,
3783,
17946,
1243,
1181,
429,
46,
1153,
681,
51,
390,
18717,
100,
110,
1052,
343,
339,
310,
339,
303,
339,
465,
496,
1806,
303,
581,
496,
4936,
910,
11349,
4810,
6825,
3916,
503,
49,
1922,
362,
46,
320,
310,
434,
327,
597,
51,
19700,
630,
762,
46,
461,
332,
4074,
14683,
11787,
2160,
884,
310,
461,
332,
1375,
4204,
391,
328,
1243,
829,
332,
494,
477,
51,
19700,
51,
3127,
45,
106,
49,
362,
312,
303,
339,
222,
222,
130,
222
] |
[
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1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
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 622
| true
| 68.612483
| true
| true
|
HtmlUtilTest.java
|
/FileExtraction/Java_unseen/Ramblurr_Anki-Android/tests/src/com/ichi2/utils/HtmlUtilTest.java
|
/****************************************************************************************
* Copyright (c) 2013 Flavio Lerda <[email protected]> *
* *
* This program is free software; you can redistribute it and/or modify it under *
* the terms of the GNU General Public License as published by the Free Software *
* Foundation; either version 3 of the License, or (at your option) any later *
* version. *
* *
* This program is distributed in the hope that it will be useful, but WITHOUT ANY *
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A *
* PARTICULAR PURPOSE. See the GNU General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License along with *
* this program. If not, see <http://www.gnu.org/licenses/>. *
****************************************************************************************/
package com.ichi2.utils;
import android.test.AndroidTestCase;
/**
* Unit tests for {@link HtmlUtil}.
*/
public class HtmlUtilTest extends AndroidTestCase {
public void testUnescape_EntityName() {
assertEquals("\"", HtmlUtil.unescape("""));
assertEquals("&", HtmlUtil.unescape("&"));
assertEquals("<", HtmlUtil.unescape("<"));
assertEquals(">", HtmlUtil.unescape(">"));
assertEquals("ë", HtmlUtil.unescape("ë"));
assertEquals("\u039B", HtmlUtil.unescape("Λ"));
}
public void testUnescape_Code() {
assertEquals("&", HtmlUtil.unescape("&"));
assertEquals("<", HtmlUtil.unescape("<"));
assertEquals(">", HtmlUtil.unescape(">"));
assertEquals("A", HtmlUtil.unescape("A"));
assertEquals("ë", HtmlUtil.unescape("ë"));
assertEquals("\u039B", HtmlUtil.unescape("Λ"));
}
public void testUnescape_XCode() {
assertEquals("&", HtmlUtil.unescape("&"));
assertEquals("<", HtmlUtil.unescape("<")); // Lower case.
assertEquals(">", HtmlUtil.unescape(">")); // Upper case.
assertEquals("A", HtmlUtil.unescape("A"));
assertEquals("ë", HtmlUtil.unescape("ë")); // Mixed case.
assertEquals("\u039B", HtmlUtil.unescape("Λ"));
}
public void testUnescape_MultipleSequences() {
assertEquals("Запомните все! Mémoriser quoi que ce soit!背诵的东西!",
HtmlUtil.unescape("Запомните "
+ "все! Mémoriser quoi que ce soit!背诵的"
+ "东西!"));
}
public void testUnescape_WithTags() {
assertEquals("ë", HtmlUtil.unescape("<b>ë</b>"));
assertEquals("ë", HtmlUtil.unescape("<a href='http://www.example.com/'>ë</a>"));
}
}
| 3,374
|
Java
|
.java
|
Ramblurr/Anki-Android
| 86
| 298
| 0
|
2009-06-03T14:52:49Z
|
2014-03-31T16:08:42Z
|
f4be9713ee5006b35dc33948869080942117381e240976730ac949ad83d4f3c7
|
[
18200,
12825,
222,
338,
2657,
327,
104,
46,
244,
55,
53,
54,
56,
5463,
472,
735,
517,
284,
1830,
350,
107,
1202,
1830,
69,
7265,
51,
527,
67,
19054,
338,
222,
338,
3556,
7223,
338,
222,
338,
1369,
3477,
458,
3760,
2951,
64,
863,
902,
14081,
580,
480,
52,
290,
5370,
580,
1549,
370,
338,
222,
338,
341,
5974,
451,
341,
6994,
6153,
5062,
1196,
641,
9582,
829,
341,
7834,
3870,
370,
338,
222,
338,
7120,
64,
3173,
1522,
244,
56,
451,
341,
1196,
49,
575,
327,
288,
1390,
2489,
46,
1364,
6146,
2281,
338,
222,
338,
1522,
51,
45891,
338,
222,
338,
3556,
7223,
338,
222,
338,
1369,
3477,
458,
2744,
347,
341,
9850,
708,
580,
1118,
545,
6386,
49,
1294,
4213,
2979,
665,
338,
222,
338,
9345,
64,
2895,
4462,
341,
4506,
14319,
451,
7934,
575,
8114,
4800,
418,
665,
338,
222,
338,
7848,
7763,
51,
2819,
341,
6994,
6153,
5062,
1196,
456,
1851,
4261,
51,
2429,
338,
222,
338,
3556,
7223,
338,
222,
338,
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
6153,
5062,
1196,
7979,
642,
282,
338,
222,
338,
477,
3477,
51,
244,
1691,
666,
49,
2337,
350,
544,
574,
1516,
51,
10627,
51,
1107,
52,
4205,
28699,
10450,
338,
222,
17854,
1011,
23076,
222,
222,
1337,
785,
51,
46368,
55,
51,
2324,
64,
222,
222,
485,
2616,
51,
881,
51,
9213,
7246,
64,
222,
222,
1350,
222,
338,
7148,
3326,
456,
3105,
1222,
13030,
1747,
4037,
222,
588,
222,
942,
462,
13030,
1747,
1024,
2041,
8107,
7246,
320,
465,
581,
782,
913,
1079,
11735,
100,
2234,
577,
365,
320,
310,
3803,
459,
22074,
13030,
1747,
51,
330,
11735,
24893,
2477,
64,
2992,
310,
3803,
24893,
411,
13030,
1747,
51,
330,
11735,
24893,
778,
64,
2992,
310,
3803,
10379,
411,
13030,
1747,
51,
330,
11735,
24893,
2176,
64,
2992,
310,
3803,
30531,
411,
13030,
1747,
51,
330,
11735,
24893,
1855,
64,
2992,
310,
3803,
459,
22811,
411,
13030,
1747,
51,
330,
11735,
24893,
106,
15303,
64,
2992,
310,
3803,
5564,
122,
53,
56,
62,
71,
411,
13030,
1747,
51,
330,
11735,
24893,
16182,
64,
2992,
303,
339,
4054,
581,
782,
913,
1079,
11735,
100,
1241,
365,
320,
310,
3803,
24893,
411,
13030,
1747,
51,
330,
11735,
459,
5242,
56,
61,
64,
2992,
310,
3803,
10379,
411,
13030,
1747,
51,
330,
11735,
459,
5242,
59,
53,
64,
2992,
310,
3803,
30531,
411,
13030,
1747,
51,
330,
11735,
459,
5242,
59,
55,
64,
2992,
310,
3803,
459,
70,
411,
13030,
1747,
51,
330,
11735,
459,
5242,
59,
58,
64,
2992,
310,
3803,
459,
22811,
411,
13030,
1747,
51,
330,
11735,
459,
5242,
55,
56,
58,
64,
2992,
310,
3803,
5564,
122,
53,
56,
62,
71,
411,
13030,
1747,
51,
330,
11735,
459,
5242,
62,
55,
56,
64,
2992,
303,
339,
4054,
581,
782,
913,
1079,
11735,
100,
93,
1241,
365,
320,
310,
3803,
24893,
411,
13030,
1747,
51,
330,
11735,
459,
5242,
125,
55,
59,
64,
2992,
310,
3803,
10379,
411,
13030,
1747,
51,
330,
11735,
459,
5242,
125,
56,
104,
64,
2992,
244,
453,
35243,
1152,
51,
310,
3803,
30531,
411,
13030,
1747,
51,
330,
11735,
459,
5242,
125,
56,
74,
64,
2992,
244,
453,
42028,
1152,
51,
310,
3803,
459,
70,
411,
13030,
1747,
51,
330,
11735,
459,
5242,
125,
57,
54,
64,
2992,
310,
3803,
459,
22811,
411,
13030,
1747,
51,
330,
11735,
459,
5242,
2651,
71,
64,
2992,
244,
453,
507,
4052,
1152,
51,
310,
3803,
5564,
122,
53,
56,
62,
71,
411,
13030,
1747,
51,
330,
11735,
459,
5242,
125,
53,
56,
62,
71,
64,
2992,
303,
339,
4054,
581,
782,
913,
1079,
11735,
100,
11727,
47194,
365,
320,
310,
3803,
459,
26270,
13661,
6863,
1439,
19257,
31069,
38,
507,
15377,
290,
12080,
2084,
8517,
2518,
10659,
1278,
302,
38,
30102,
1879,
151,
1096,
43862,
11251,
411,
419,
13030,
1747,
51,
330,
11735,
459,
5242,
125,
53,
57,
54,
60,
17233,
125,
53,
57,
56,
53,
17233,
125,
53,
57,
56,
107,
17233,
125,
53,
57,
56,
106,
17233,
125,
53,
57,
56,
104,
17233,
125,
53,
57,
56,
105,
17233,
125,
53,
57,
56,
61,
17233,
125,
53,
57,
57,
55,
17233,
125,
53,
57,
56,
58,
64,
332,
733,
494,
332,
5242,
125,
53,
57,
56,
55,
17233,
125,
53,
57,
57,
54,
17233,
125,
53,
57,
56,
58,
64,
38,
507,
43,
39669,
64,
27872,
12080,
2084,
8517,
2518,
10659,
1278,
302,
38,
5242,
125,
61,
53,
1172,
17233,
125,
61,
3618,
58,
17233,
125,
60,
59,
61,
57,
7884,
733,
494,
332,
5242,
125,
57,
106,
54,
104,
17233,
125,
61,
62,
60,
107,
17233,
3144,
53,
54,
64,
2992,
303,
339,
4054,
581,
782,
913,
1079,
11735,
100,
1569,
6763,
365,
320,
310,
3803,
459,
22811,
411,
13030,
1747,
51,
330,
11735,
10379,
103,
18921,
55,
56,
58,
2701,
103,
67,
2992,
310,
3803,
459,
22811,
411,
13030,
1747,
51,
330,
11735,
10379,
102,
995,
1080,
544,
574,
1516,
51,
2783,
51,
527,
7441,
18921,
55,
56,
58,
2701,
102,
67,
2992,
303,
339,
222,
222,
130,
222
] |
[
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 842
| true
| 47.129187
| true
| true
|
CDMSMEDICATIONTYPE.java
|
/FileExtraction/Java_unseen/taktik_icure-backend/src/main/java/org/taktik/icure/be/ehealth/dto/kmehr/v20180601/be/fgov/ehealth/standards/kmehr/cd/v1/CDMSMEDICATIONTYPE.java
|
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2019.06.14 at 03:48:59 PM CEST
//
package org.taktik.icure.be.ehealth.dto.kmehr.v20180601.be.fgov.ehealth.standards.kmehr.cd.v1;
import java.io.Serializable;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.XmlValue;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* <p>Java class for CD-MS-MEDICATIONTYPE complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="CD-MS-MEDICATIONTYPE">
* <simpleContent>
* <extension base="<http://www.ehealth.fgov.be/standards/kmehr/cd/v1>CD-MS-MEDICATIONTYPEvalues">
* <attribute name="S" use="required" type="{http://www.w3.org/2001/XMLSchema}string" fixed="CD-MS-MEDICATIONTYPE" />
* <attribute name="SV" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="SL" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="DN" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="L" type="{http://www.w3.org/2001/XMLSchema}language" default="en" />
* </extension>
* </simpleContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CD-MS-MEDICATIONTYPE", propOrder = {
"value"
})
public class CDMSMEDICATIONTYPE
implements Serializable
{
private final static long serialVersionUID = 20180601L;
@XmlValue
protected CDMSMEDICATIONTYPEvalues value;
@XmlAttribute(name = "S", required = true)
protected String s = "CD-MS-MEDICATIONTYPE";
@XmlAttribute(name = "SV", required = true)
protected String sv = "1.0";
@XmlAttribute(name = "SL")
protected String sl;
@XmlAttribute(name = "DN")
protected String dn;
@XmlAttribute(name = "L")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "language")
protected String l;
/**
* Gets the value of the value property.
*
* @return
* possible object is
* {@link CDMSMEDICATIONTYPEvalues }
*
*/
public CDMSMEDICATIONTYPEvalues getValue() {
return value;
}
/**
* Sets the value of the value property.
*
* @param value
* allowed object is
* {@link CDMSMEDICATIONTYPEvalues }
*
*/
public void setValue(CDMSMEDICATIONTYPEvalues value) {
this.value = value;
}
/**
* Gets the value of the s property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getS() {
if (s == null) {
return "CD-MS-MEDICATIONTYPE";
} else {
return s;
}
}
/**
* Sets the value of the s property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setS(String value) {
this.s = value;
}
/**
* Gets the value of the sv property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSV() {
return sv;
}
/**
* Sets the value of the sv property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSV(String value) {
this.sv = value;
}
/**
* Gets the value of the sl property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSL() {
return sl;
}
/**
* Sets the value of the sl property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSL(String value) {
this.sl = value;
}
/**
* Gets the value of the dn property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDN() {
return dn;
}
/**
* Sets the value of the dn property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDN(String value) {
this.dn = value;
}
/**
* Gets the value of the l property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getL() {
if (l == null) {
return "en";
} else {
return l;
}
}
/**
* Sets the value of the l property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setL(String value) {
this.l = value;
}
}
| 5,373
|
Java
|
.java
|
taktik/icure-backend
| 19
| 25
| 3
|
2018-03-29T12:01:32Z
|
2022-11-18T08:44:46Z
|
b3646ea49d074ecbf562b27ee32f6c63e6749125ab54e394fc3cd88d9e376d07
|
[
325,
222,
325,
1369,
822,
1616,
4741,
829,
341,
4957,
9043,
29327,
456,
7408,
17393,
45,
47329,
46,
9495,
19977,
49,
373,
55,
51,
55,
51,
61,
50,
103,
54,
56,
53,
62,
54,
54,
51,
54,
61,
53,
55,
244,
222,
325,
2819,
350,
102,
995,
366,
544,
574,
1874,
51,
9886,
51,
527,
52,
2608,
52,
8954,
103,
432,
544,
574,
1874,
51,
9886,
51,
527,
52,
2608,
52,
8954,
103,
396,
102,
67,
244,
222,
325,
6213,
23125,
391,
477,
822,
1118,
545,
15058,
12710,
334,
31635,
451,
341,
1932,
5379,
51,
244,
222,
325,
13046,
563,
63,
244,
55,
53,
54,
62,
51,
53,
59,
51,
54,
57,
840,
244,
53,
56,
63,
57,
61,
63,
58,
62,
9401,
409,
4143,
244,
222,
325,
499,
222,
1337,
1105,
51,
121,
11385,
1567,
51,
314,
532,
51,
883,
51,
106,
9864,
51,
12292,
51,
112,
308,
3943,
51,
123,
55,
53,
54,
61,
53,
59,
53,
54,
51,
883,
51,
4658,
1558,
51,
106,
9864,
51,
9165,
120,
51,
112,
308,
3943,
51,
2105,
51,
123,
54,
64,
222,
222,
485,
1401,
51,
735,
51,
12644,
64,
222,
485,
3698,
51,
2608,
51,
2555,
51,
4341,
51,
4411,
41079,
64,
222,
485,
3698,
51,
2608,
51,
2555,
51,
4341,
51,
4411,
9794,
638,
64,
222,
485,
3698,
51,
2608,
51,
2555,
51,
4341,
51,
43713,
64,
222,
485,
3698,
51,
2608,
51,
2555,
51,
4341,
51,
26886,
638,
64,
222,
485,
3698,
51,
2608,
51,
2555,
51,
4341,
51,
40002,
64,
222,
485,
3698,
51,
2608,
51,
2555,
51,
4341,
51,
4411,
899,
64,
222,
485,
3698,
51,
2608,
51,
2555,
51,
4341,
51,
27351,
51,
33832,
671,
4433,
64,
222,
485,
3698,
51,
2608,
51,
2555,
51,
4341,
51,
27351,
51,
4411,
5445,
638,
4433,
64,
499,
222,
1350,
222,
338,
350,
117,
67,
5445,
462,
456,
20321,
50,
2758,
50,
14264,
9586,
2333,
8667,
847,
51,
222,
338,
1676,
338,
350,
117,
67,
1338,
2434,
5379,
10299,
15834,
341,
2816,
1813,
14561,
4824,
477,
462,
51,
222,
338,
1676,
338,
350,
1023,
67,
222,
338,
568,
2176,
64,
46990,
655,
366,
4778,
50,
2758,
50,
14264,
9586,
2333,
432,
222,
338,
280,
568,
2176,
64,
6681,
1795,
67,
222,
338,
281,
568,
2176,
64,
6749,
1712,
366,
43,
2176,
64,
544,
574,
1516,
51,
106,
9864,
51,
4658,
1558,
51,
883,
52,
9165,
120,
52,
112,
308,
3943,
52,
2105,
52,
123,
54,
67,
4778,
50,
2758,
50,
14264,
9586,
2333,
2857,
432,
222,
338,
981,
568,
2176,
64,
4902,
655,
366,
88,
39,
813,
366,
3662,
39,
847,
15469,
544,
574,
1516,
51,
124,
56,
51,
1107,
52,
55,
53,
53,
54,
52,
29064,
130,
819,
39,
5264,
366,
4778,
50,
2758,
50,
14264,
9586,
2333,
39,
1699,
222,
338,
981,
568,
2176,
64,
4902,
655,
366,
6029,
39,
813,
366,
3662,
39,
847,
15469,
544,
574,
1516,
51,
124,
56,
51,
1107,
52,
55,
53,
53,
54,
52,
29064,
130,
819,
39,
1699,
222,
338,
981,
568,
2176,
64,
4902,
655,
366,
3910,
39,
847,
15469,
544,
574,
1516,
51,
124,
56,
51,
1107,
52,
55,
53,
53,
54,
52,
29064,
130,
819,
39,
1699,
222,
338,
981,
568,
2176,
64,
4902,
655,
366,
11686,
39,
847,
15469,
544,
574,
1516,
51,
124,
56,
51,
1107,
52,
55,
53,
53,
54,
52,
29064,
130,
819,
39,
1699,
222,
338,
981,
568,
2176,
64,
4902,
655,
366,
81,
39,
847,
15469,
544,
574,
1516,
51,
124,
56,
51,
1107,
52,
55,
53,
53,
54,
52,
29064,
130,
4210,
39,
1263,
366,
291,
39,
1699,
222,
338,
281,
568,
2176,
6532,
6749,
67,
222,
338,
280,
568,
2176,
6532,
6681,
1795,
67,
222,
338,
568,
2176,
6532,
46990,
67,
222,
338,
594,
1023,
67,
222,
338,
1676,
338,
1676,
588,
222,
69,
4411,
9794,
638,
45,
4411,
41079,
51,
6457,
46,
222,
69,
40002,
45,
444,
299,
332,
4778,
50,
2758,
50,
14264,
9586,
2333,
411,
7030,
2888,
299,
320,
303,
332,
872,
39,
222,
1770,
222,
942,
462,
20321,
2758,
14264,
9586,
2333,
303,
4584,
19182,
222,
128,
465,
964,
1175,
924,
1964,
19896,
299,
244,
55,
53,
54,
61,
53,
59,
53,
54,
81,
64,
303,
496,
4411,
899,
303,
2532,
20321,
2758,
14264,
9586,
2333,
2857,
804,
64,
303,
496,
43713,
45,
444,
299,
332,
88,
411,
2147,
299,
878,
46,
303,
2532,
910,
328,
299,
332,
4778,
50,
2758,
50,
14264,
9586,
2333,
884,
303,
496,
43713,
45,
444,
299,
332,
6029,
411,
2147,
299,
878,
46,
303,
2532,
910,
5870,
299,
332,
54,
51,
53,
884,
303,
496,
43713,
45,
444,
299,
332,
3910,
678,
303,
2532,
910,
5454,
64,
303,
496,
43713,
45,
444,
299,
332,
11686,
678,
303,
2532,
910,
29751,
64,
303,
496,
43713,
45,
444,
299,
332,
81,
678,
303,
496,
4411,
5445,
638,
4433,
45,
33832,
671,
4433,
51,
842,
46,
303,
496,
26886,
638,
45,
444,
299,
332,
4210,
678,
303,
2532,
910,
475,
64,
465,
1041,
294,
338,
7132,
341,
804,
451,
341,
804,
2821,
51,
294,
338,
5402,
338,
496,
620,
294,
338,
281,
4222,
1319,
458,
294,
338,
281,
3105,
1222,
20321,
2758,
14264,
9586,
2333,
2857,
339,
294,
338,
35399,
588,
303,
581,
20321,
2758,
14264,
9586,
2333,
2857,
21517,
365,
320,
310,
461,
804,
64,
303,
339,
465,
1041,
294,
338,
9023,
341,
804,
451,
341,
804,
2821,
51,
294,
338,
5402,
338,
496,
772,
804,
294,
338,
281,
6671,
1319,
458,
294,
338,
281,
3105,
1222,
20321,
2758,
14264,
9586,
2333,
2857,
339,
294,
338,
35399,
588,
303,
581,
782,
27609,
45,
4778,
2758,
14264,
9586,
2333,
2857,
804,
46,
320,
310,
477,
51,
872,
299,
804,
64,
303,
339,
465,
1041,
294,
338,
7132,
341,
804,
451,
341,
328,
2821,
51,
294,
338,
5402,
338,
496,
620,
294,
338,
281,
4222,
1319,
458,
294,
338,
281,
3105,
1222,
910,
339,
294,
338,
35399,
588,
303,
581,
910,
43543,
365,
320,
310,
434,
327,
120,
630,
762,
46,
320,
343,
461,
332,
4778,
50,
2758,
50,
14264,
9586,
2333,
884,
310,
339,
832,
320,
343,
461,
328,
64,
310,
339,
303,
339,
465,
1041,
294,
338,
9023,
341,
804,
451,
341,
328,
2821,
51,
294,
338,
5402,
338,
496,
772,
804,
294,
338,
281,
6671,
1319,
458,
294,
338,
281,
3105,
1222,
910,
339,
294,
338,
35399,
588,
303,
581,
782,
758,
88,
45,
671,
804,
46,
320,
310,
477,
51,
120,
299,
804,
64,
303,
339,
465,
1041,
294,
338,
7132,
341,
804,
451,
341,
5870,
2821,
51,
294,
338,
5402,
338,
496,
620,
294,
338,
281,
4222,
1319,
458,
294,
338,
281,
3105,
1222,
910,
339,
294,
338,
35399,
588,
303,
581,
910,
640,
6029,
365,
320,
310,
461,
5870,
64,
303,
339,
465,
1041,
294,
338,
9023,
341,
804,
451,
341,
5870,
2821,
51,
294,
338,
5402,
338,
496,
772,
804,
294,
338,
281,
6671,
1319,
458,
294,
338,
281,
3105,
1222,
910,
339,
294,
338,
35399,
588,
303,
581,
782,
758,
6029,
45,
671,
804,
46,
320,
310,
477,
51,
2289,
299,
804,
64,
303,
339,
465,
1041,
294,
338,
7132,
341,
804,
451,
341,
5454,
2821,
51,
294,
338,
5402,
338,
496,
620,
294,
338,
281,
4222,
1319,
458,
294,
338,
281,
3105,
1222,
910,
339,
294,
338,
35399,
588,
303,
581,
910,
640,
3910,
365,
320,
310,
461,
5454,
64,
303,
339,
465,
1041,
294,
338,
9023,
341,
804,
451,
341,
5454,
2821,
51,
294,
338,
5402,
338,
496,
772,
804,
294,
338,
281,
6671,
1319,
458,
294,
338,
281,
3105,
1222,
910,
339,
294,
338,
35399,
588,
303,
581,
782,
758,
3910,
45,
671,
804,
46,
320,
310,
477,
51,
2021,
299,
804,
64,
303,
339,
465,
1041,
294,
338,
7132,
341,
804,
451,
341,
29751,
2821,
51,
294,
338,
5402,
338,
496,
620,
294,
338,
281,
4222,
1319,
458,
294,
338,
281,
3105,
1222,
910,
339,
294,
338,
35399,
588,
303,
581,
910,
640,
11686,
365,
320,
310,
461,
29751,
64,
303,
339,
465,
1041,
294,
338,
9023,
341,
804,
451,
341,
29751,
2821,
51,
294,
338,
5402,
338,
496,
772,
804,
294,
338,
281,
6671,
1319,
458,
294,
338,
281,
3105,
1222,
910,
339,
294,
338,
35399,
588,
303,
581,
782,
758,
11686,
45,
671,
804,
46,
320,
310,
477,
51,
6156,
299,
804,
64,
303,
339,
465,
1041,
294,
338,
7132,
341,
804,
451,
341,
475,
2821,
51,
294,
338,
5402,
338,
496,
620,
294,
338,
281,
4222,
1319,
458,
294,
338,
281,
3105,
1222,
910,
339,
294,
338,
35399,
588,
303,
581,
910,
640,
81,
365,
320,
310,
434,
327,
113,
630,
762,
46,
320,
343,
461,
332,
291,
884,
310,
339,
832,
320,
343,
461,
475,
64,
310,
339,
303,
339,
465,
1041,
294,
338,
9023,
341,
804,
451,
341,
475,
2821,
51,
294,
338,
5402,
338,
496,
772,
804,
294,
338,
281,
6671,
1319,
458,
294,
338,
281,
3105,
1222,
910,
339,
294,
338,
35399,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1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 1,514
| true
| 55.332217
| true
| true
|
ExplorerTreeModel.java
|
/FileExtraction/Java_unseen/ptidejteam_Ptidej-v5_2/PADL Creator JavaFile (Eclipse) Tests/data/argouml/trunk/src_new/org/argouml/ui/explorer/ExplorerTreeModel.java
|
// $Id$
// Copyright (c) 1996-2006 The Regents of the University of California. All
// Rights Reserved. Permission to use, copy, modify, and distribute this
// software and its documentation without fee, and without a written
// agreement is hereby granted, provided that the above copyright notice
// and this paragraph appear in all copies. This software program and
// documentation are copyrighted by The Regents of the University of
// California. The software program and documentation are supplied "AS
// IS", without any accompanying services from The Regents. The Regents
// does not warrant that the operation of the program will be
// uninterrupted or error-free. The end-user understands that the program
// was developed for research purposes and is advised not to rely
// exclusively on the program for any reason. IN NO EVENT SHALL THE
// UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT,
// SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS,
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE. THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY
// WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT,
// UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
package org.argouml.ui.explorer;
import java.awt.EventQueue;
import java.awt.event.ItemEvent;
import java.awt.event.ItemListener;
import java.util.Collection;
import java.util.Collections;
import java.util.Comparator;
import java.util.Enumeration;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.Vector;
import javax.swing.tree.DefaultMutableTreeNode;
import javax.swing.tree.DefaultTreeModel;
import javax.swing.tree.MutableTreeNode;
import javax.swing.tree.TreeNode;
import javax.swing.tree.TreePath;
import org.apache.log4j.Logger;
import org.argouml.kernel.Project;
import org.argouml.kernel.ProjectManager;
import org.argouml.model.InvalidElementException;
import org.argouml.ui.explorer.rules.PerspectiveRule;
/**
* The model for the Explorer tree view of the uml model.
*
* provides:
* - receives events from the uml model and updates itself and the tree ui.
* - responds to changes in perspective and ordering.
*
* @author alexb
* @since 0.15.2
*/
public class ExplorerTreeModel extends DefaultTreeModel
implements TreeModelUMLEventListener, ItemListener {
/**
* Logger.
*/
private static final Logger LOG =
Logger.getLogger(ExplorerTreeModel.class);
/**
* an array of
* {@link org.argouml.ui.explorer.rules.PerspectiveRule PerspectiveRules},
* that determine the tree view.
*/
private Object[] rules;
/**
* a map used to resolve model elements to tree nodes when determining
* what effect a model event will have on the tree.
*/
private Map modelElementMap;
/**
* the global order for siblings in the tree.
*/
private Comparator order;
/**
* The children currently being updated.
*/
private Vector updatingChildren = new Vector();
/**
* A Runnable object that when executed does update some
* currently pending nodes.
*/
private ExplorerUpdater nodeUpdater = new ExplorerUpdater();
private ExplorerTree tree;
/**
* Help class to semi-lazily update nodes in the tree.
* This class is thread safe.
*/
class ExplorerUpdater implements Runnable {
/**
* The set of nodes pending being updated.
*/
private LinkedList pendingUpdates = new LinkedList();
/**
* Is this object currently waiting to be run.
*/
private boolean hot;
/**
* The maximum number of nodes to update in one chunk.
*/
public static final int MAX_UPDATES_PER_RUN = 100;
/**
* Schedule this object to run on AWT-EventQueue-0 at some later time.
*/
private synchronized void schedule() {
if (hot) {
return;
}
hot = true;
EventQueue.invokeLater(this);
}
/**
* Schedule updateChildren to be called on node at some later time.
* Does nothing if there already is a pending update of node.
*
* @param node The ExplorerTreeNode to be updated.
* @throws NullPointerException If node is null.
*/
public synchronized void schedule(ExplorerTreeNode node) {
if (node.getPending()) {
return;
}
pendingUpdates.add(node);
node.setPending(true);
schedule();
}
/**
* Call updateChildren for some pending nodes. Will call at most
* MAX_UPDATES_PER_RUN each time. Should there still be pending
* updates after that then it will reschedule itself.<p>
*
* This method should not be called explicitly, instead schedule
* should be called and this method will be called automatically.
*/
public void run() {
boolean done = false;
for (int i = 0; i < MAX_UPDATES_PER_RUN; i++) {
ExplorerTreeNode node = null;
synchronized (this) {
if (!pendingUpdates.isEmpty()) {
node = (ExplorerTreeNode) pendingUpdates.removeFirst();
node.setPending(false);
} else {
done = true;
hot = false;
break;
}
}
updateChildren(new TreePath(getPathToRoot(node)));
}
if (!done) {
schedule();
} else {
/* This solves issue 2287. */
tree.refreshSelection();
}
}
}
/**
* The constructor of ExplorerTreeModel.
*
* @param root an object to place at the root
* @param myTree the tree
*/
public ExplorerTreeModel(Object root, ExplorerTree myTree) {
super(new DefaultMutableTreeNode());
tree = myTree;
setRoot(new ExplorerTreeNode(root, this));
setAsksAllowsChildren(false);
modelElementMap = new HashMap();
ExplorerEventAdaptor.getInstance()
.setTreeModelUMLEventListener(this);
order = new TypeThenNameOrder();
}
/**
* a model element has changed in some way.
*
* @see org.argouml.ui.explorer.TreeModelUMLEventListener#modelElementChanged(java.lang.Object)
*/
public void modelElementChanged(Object node) {
traverseModified((TreeNode) getRoot(), node);
}
/**
* a model element has been added to the model.
*
* @see org.argouml.ui.explorer.TreeModelUMLEventListener#modelElementAdded(java.lang.Object)
*/
public void modelElementAdded(Object node) {
traverseModified((TreeNode) getRoot(), node);
}
/**
* Traverses the children, finds those affected by the given node,
* and notifies them that they are modified.
*
* @param start the node to start from
* @param node the given node
*/
private void traverseModified(TreeNode start, Object node) {
Enumeration children = start.children();
while (children.hasMoreElements()) {
TreeNode child = (TreeNode) children.nextElement();
traverseModified(child, node);
}
if (start instanceof ExplorerTreeNode) {
((ExplorerTreeNode) start).nodeModified(node);
}
}
/**
* a model element has been removed from the model.
*
* @see org.argouml.ui.explorer.TreeModelUMLEventListener#modelElementRemoved(java.lang.Object)
*/
public void modelElementRemoved(Object node) {
Collection nodes = this.findNodes(node);
Object[] nodesArray = nodes.toArray();
for (int x = 0; x < nodesArray.length; x++) {
ExplorerTreeNode changeNode = (ExplorerTreeNode) nodesArray[x];
if (changeNode.getParent() != null) {
removeNodeFromParent(changeNode);
}
}
traverseModified((TreeNode) getRoot(), node);
}
/**
* the model structure has changed, eg a new project.
*/
public void structureChanged() {
// remove references for gc
if (getRoot() instanceof ExplorerTreeNode) {
((ExplorerTreeNode) getRoot()).remove();
}
// This should only be helpful for old garbage collectors.
Collection values = modelElementMap.values();
Iterator valuesIt = values.iterator();
while (valuesIt.hasNext()) {
((Collection) valuesIt.next()).clear();
}
modelElementMap.clear();
// This is somewhat inconsistent with the design of the constructor
// that receives the root object by argument. If this is okay
// then there may be no need for a constructor with that argument.
modelElementMap = new HashMap();
Project proj = ProjectManager.getManager().getCurrentProject();
ExplorerTreeNode rootNode = new ExplorerTreeNode(proj, this);
addToMap(proj, rootNode);
setRoot(rootNode);
}
/**
* updates next level of the explorer tree for a given tree path.
*
* @param path the path to the node whose children to update.
* @throws IllegalArgumentException if node has a child that is not a
* (descendant of) DefaultMutableTreeNode.
*/
public void updateChildren(TreePath path) {
ExplorerTreeNode node = (ExplorerTreeNode) path.getLastPathComponent();
Object modelElement = node.getUserObject();
// Avoid doing this too early in the initialization process
if (rules == null) {
return;
}
// Avoid recursively updating the same child
if (updatingChildren.contains(node)) {
return;
}
updatingChildren.add(node);
Vector children = reorderChildren(node);
Vector newChildren = new Vector();
Set deps = new HashSet();
collectChildren(modelElement, newChildren, deps);
node.setModifySet(deps);
mergeChildren(node, children, newChildren);
updatingChildren.remove(node);
}
/**
* Sorts the child nodes of node using the current ordering.<p>
*
* Note: UserObject is only available from descendants of
* DefaultMutableTreeNode, so any other children couldn't be sorted.
* Thus these are currently forbidden. But currently no such node is
* ever inserted into the tree.
*
* @param node the node whose children to sort
* @return the UserObjects of the children, in the same order as the
* children.
* @throws IllegalArgumentException if node has a child that is not a
* (descendant of) DefaultMutableTreeNode.
*/
private Vector reorderChildren(ExplorerTreeNode node) {
Vector children = new Vector();
Vector reordered = new Vector();
// Enumerate the current children of node to find out which now sorts
// in different order, since these must be moved
Enumeration enChld = node.children();
Object lastObj = null;
while (enChld.hasMoreElements()) {
Object child = enChld.nextElement();
if (child instanceof DefaultMutableTreeNode) {
Object obj = ((DefaultMutableTreeNode) child).getUserObject();
if (lastObj != null && order.compare(lastObj, obj) > 0) {
/*
* If a node to be moved is currently selected,
* move its predecessors instead so don't lose selection.
* This fixes issue 3249.
* NOTE: this does not deal with the case where
* multiple nodes are selected and they are out
* of order with respect to each other, but I
* don't think more than one node is ever reordered
* at a time - tfm
*/
if (!tree.isPathSelected(new TreePath(
getPathToRoot((DefaultMutableTreeNode) child)))) {
reordered.add(child);
} else {
DefaultMutableTreeNode prev =
((DefaultMutableTreeNode) child)
.getPreviousSibling();
while (prev != null
&& (order.compare(prev.getUserObject(), obj)
>= 0)) {
reordered.add(prev);
children.removeElementAt(children.size() - 1);
prev = prev.getPreviousSibling();
}
children.add(obj);
lastObj = obj;
}
} else {
children.add(obj);
lastObj = obj;
}
} else {
throw new IllegalArgumentException(
"Incomprehencible child node " + child.toString());
}
}
for (int x = 0; x < reordered.size(); x++) {
DefaultMutableTreeNode child =
(DefaultMutableTreeNode) reordered.get(x);
// Avoid our deinitialization here
// The node will be added back to the tree again
super.removeNodeFromParent(child);
}
// For each reordered node, find it's new position among the current
// children and move it there
for (int x = 0; x < reordered.size(); x++) {
DefaultMutableTreeNode child =
(DefaultMutableTreeNode) reordered.get(x);
Object obj = child.getUserObject();
int ip = Collections.binarySearch(children, obj, order);
if (ip < 0) {
ip = -(ip + 1);
}
// Avoid our initialization here
super.insertNodeInto(child, node, ip);
children.add(ip, obj);
}
return children;
}
/**
* Collects the set of children modelElement should have at this point in
* time. The children are added to newChildren.<p>
*
* Note: Both newChildren and deps are modified by this function, it
* is in fact it's primary purpose to modify these collections. It is your
* responsibility to make sure that they are empty when it is called, or
* to know what you are doing if they are not.
*
* @param modelElement the element to collect children for.
* @param newChildren the new children of modelElement.
* @param deps the set of objects that should be monitored for changes
* since these could affect this list.
* @throws UnsupportedOperationException if add is not supported by
* newChildren or addAll isn't supported by deps.
* @throws NullPointerException if newChildren or deps is null.
* @throws ClassCastException if newChildren or deps rejects some element.
* @throws IllegalArgumentException if newChildren or deps rejects some
* element.
*/
private void collectChildren(Object modelElement, List newChildren,
Set deps) {
if (modelElement == null) {
return;
}
// Collect the current set of objects that should be children to
// this node
for (int x = 0; x < rules.length; x++) {
Collection c = null;
Set c2 = null;
// TODO: A better implementation would be to batch events into
// logical groups and update the tree one time for the entire
// group, synchronizing access to the model repository so that
// it stays consistent during the query. This would likely
// require doing the updates in a different thread than the
// event delivery thread to prevent deadlocks, so for right now
// we protect ourselves with try/catch blocks.
try {
c =
((PerspectiveRule) rules[x])
.getChildren(modelElement);
} catch (InvalidElementException e) {
LOG.debug("InvalidElementException in ExplorerTree : "
+ e.getStackTrace());
}
try {
c2 =
((PerspectiveRule) rules[x])
.getDependencies(modelElement);
} catch (InvalidElementException e) {
LOG.debug("InvalidElementException in ExplorerTree : "
+ e.getStackTrace());
}
if (c != null) {
Iterator it = c.iterator();
while (it.hasNext()) {
Object obj = it.next();
if (obj == null) {
LOG.warn("PerspectiveRule " + rules[x] + " wanted to "
+ "add null to the explorer tree!");
} else if (!newChildren.contains(obj)) {
newChildren.add(obj);
}
}
}
if (c2 != null) {
deps.addAll(c2);
}
}
// Order the new children, the dependencies cannot and
// need not be ordered
Collections.sort(newChildren, order);
deps.addAll(newChildren);
}
/**
* Returns a Set of current children to remove and modifies newChildren
* to only contain the children not already in children and not subsumed
* by any WeakExplorerNode in children.<p>
*
* Note: newChildren will be modified by this call.<p>
*
* Note: It is expected that a WeakExplorerNode will not be reused and
* thus they will always initially be slated for removal, and only those
* nodes are in fact used to check subsumption of new nodes. New nodes
* are not checked among themselves for subsumtion.
*
* @param children is the list of current children.
* @param newChildren is the list of expected children.
* @return the Set of current children to remove.
* @throws UnsupportedOperationException if newChildren doesn't support
* remove or removeAll.
* @throws NullPointerException if either argument is null.
*/
private Set prepareAddRemoveSets(List children, List newChildren) {
Set removeSet = new HashSet();
Set commonObjects = new HashSet();
if (children.size() < newChildren.size()) {
commonObjects.addAll(children);
commonObjects.retainAll(newChildren);
} else {
commonObjects.addAll(newChildren);
commonObjects.retainAll(children);
}
newChildren.removeAll(commonObjects);
removeSet.addAll(children);
removeSet.removeAll(commonObjects);
// Handle WeakExplorerNodes
Iterator it = removeSet.iterator();
List weakNodes = null;
while (it.hasNext()) {
Object obj = it.next();
if (!(obj instanceof WeakExplorerNode)) {
continue;
}
WeakExplorerNode node = (WeakExplorerNode) obj;
if (weakNodes == null) {
weakNodes = new LinkedList();
Iterator it2 = newChildren.iterator();
while (it2.hasNext()) {
Object obj2 = it2.next();
if (obj2 instanceof WeakExplorerNode) {
weakNodes.add(obj2);
}
}
}
Iterator it3 = weakNodes.iterator();
while (it3.hasNext()) {
Object obj3 = it3.next();
if (node.subsumes(obj3)) {
// Remove the node from removeSet
it.remove();
// Remove obj3 from weakNodes and newChildren
newChildren.remove(obj3);
it3.remove();
break;
}
}
}
return removeSet;
}
/**
* Merges the current children with the new children removing children no
* longer present and adding new children in the right place.
*
* @param node the TreeNode were merging lists for.
* @param children the current child UserObjects, in order.
* @param newChildren the expected child UserObjects, in order.
* @throws UnsupportedOperationException if the Iterator returned by
* newChildren doesn't support the remove operation, or if
* newChildren itself doesn't support remove or removeAll.
* @throws NullPointerException if node, children or newChildren are null.
*/
private void mergeChildren(ExplorerTreeNode node, List children,
List newChildren) {
Set removeObjects = prepareAddRemoveSets(children, newChildren);
// Remember that children are not TreeNodes but UserObjects
Vector actualNodes = new Vector();
Enumeration childrenEnum = node.children();
while (childrenEnum.hasMoreElements()) {
actualNodes.add(childrenEnum.nextElement());
}
int position = 0;
Iterator childNodes = actualNodes.iterator();
Iterator newNodes = newChildren.iterator();
Object firstNew = newNodes.hasNext() ? newNodes.next() : null;
while (childNodes.hasNext()) {
Object childObj = childNodes.next();
if (!(childObj instanceof DefaultMutableTreeNode)) {
continue;
}
DefaultMutableTreeNode child = (DefaultMutableTreeNode) childObj;
Object userObject = child.getUserObject();
if (removeObjects.contains(userObject)) {
removeNodeFromParent(child);
} else {
while (firstNew != null
&& order.compare(firstNew, userObject) < 0) {
insertNodeInto(new ExplorerTreeNode(firstNew, this),
node,
position);
position++;
firstNew = newNodes.hasNext() ? newNodes.next() : null;
}
position++;
}
}
// Add any remaining nodes
while (firstNew != null) {
insertNodeInto(new ExplorerTreeNode(firstNew, this),
node,
position);
position++;
firstNew = newNodes.hasNext() ? newNodes.next() : null;
}
}
/**
* Invoked this to insert newChild at location index in parents children.
* This will then message nodesWereInserted to create the appropriate
* event. This is the preferred way to add children as it will create the
* appropriate event.<p>
*
* Also performs subclass specific initialization.
*
* @param newChild The new child node.
* @param parent The parent node.
* @param index The index.
*/
public void insertNodeInto(MutableTreeNode newChild,
MutableTreeNode parent, int index) {
super.insertNodeInto(newChild, parent, index);
addNodesToMap(newChild);
}
/**
* Message this to remove node from its parent. This will message
* nodesWereRemoved to create the appropriate event. This is the
* preferred way to remove a node as it handles the event creation
* for you.<p>
*
* Also performs subclass specific uninitialization.
*
* @param node The node to remove.
*/
public void removeNodeFromParent(MutableTreeNode node) {
removeNodesFromMap(node);
if (node instanceof ExplorerTreeNode) {
((ExplorerTreeNode) node).remove();
}
super.removeNodeFromParent(node);
}
/**
* Map all nodes in the subtree rooted at node.
*
* @param node the node to be added
*/
private void addNodesToMap(TreeNode node) {
Enumeration children = node.children();
while (children.hasMoreElements()) {
TreeNode child = (TreeNode) children.nextElement();
addNodesToMap(child);
}
if (node instanceof DefaultMutableTreeNode) {
DefaultMutableTreeNode mtn = (DefaultMutableTreeNode) node;
addToMap(mtn.getUserObject(), mtn);
}
}
/**
* Unmap all nodes in the subtree rooted at the given node.
*
* @param node the given node
*/
private void removeNodesFromMap(TreeNode node) {
Enumeration children = node.children();
while (children.hasMoreElements()) {
TreeNode child = (TreeNode) children.nextElement();
removeNodesFromMap(child);
}
if (node instanceof DefaultMutableTreeNode) {
DefaultMutableTreeNode mtn = (DefaultMutableTreeNode) node;
removeFromMap(mtn.getUserObject(), mtn);
}
}
/**
* Adds a new tree node and model element to the map.
* nodes are removed from the map when a {@link #modelElementRemoved(Object)
* modelElementRemoved} event is received.
*
* @param modelElement the modelelement to be added
* @param node the node to be added
*/
private void addToMap(Object modelElement, TreeNode node) {
Object value = modelElementMap.get(modelElement);
if (value != null) {
((Set) value).add(node);
} else {
Set nodes = new HashSet();
nodes.add(node);
modelElementMap.put(modelElement, nodes);
}
}
/**
* removes a new tree node and model element from the map.
*
* @param modelElement the modelelement to be removed
* @param node the node to be removed
*/
private void removeFromMap(Object modelElement, TreeNode node) {
Object value = modelElementMap.get(modelElement);
if (value != null) {
Set nodeset = (Set) value;
nodeset.remove(node);
if (nodeset.isEmpty()) {
modelElementMap.remove(modelElement);
}
}
}
/**
* Node lookup for a given model element.
*
* @param modelElement the given modelelement
* @return the nodes sought
*/
private Collection findNodes(Object modelElement) {
Collection nodes = (Collection) modelElementMap.get(modelElement);
if (nodes == null) {
return Collections.EMPTY_LIST;
}
return nodes;
}
/**
* Updates the explorer for new perspectives / orderings.
*
* @see java.awt.event.ItemListener#itemStateChanged(java.awt.event.ItemEvent)
*/
public void itemStateChanged(ItemEvent e) {
if (e.getSource() instanceof PerspectiveComboBox) {
rules = ((ExplorerPerspective) e.getItem()).getRulesArray();
} else { // it is the combo for "order"
order = (Comparator) e.getItem();
}
structureChanged();
tree.expandPath(tree.getPathForRow(0));
}
/**
* @return Returns the nodeUpdater.
*/
ExplorerUpdater getNodeUpdater() {
return nodeUpdater;
}
/**
* The UID.
*/
private static final long serialVersionUID = 3132732494386565870L;
}
| 25,041
|
Java
|
.java
|
ptidejteam/Ptidej-v5.2
| 9
| 8
| 0
|
2017-05-16T18:53:18Z
|
2018-01-13T01:05:21Z
|
aceced0c739c3bb44f6bea0133ee44e9bb57560c6bb242342adadbc1bd88895b
|
[
325,
417,
625,
41,
222,
325,
2657,
327,
104,
46,
244,
54,
62,
62,
59,
50,
55,
53,
53,
59,
906,
7894,
10753,
451,
341,
11451,
451,
34327,
51,
3381,
222,
325,
12902,
11921,
51,
11125,
391,
813,
49,
1948,
49,
5370,
49,
480,
11915,
477,
222,
325,
2951,
480,
2840,
4349,
2895,
18307,
49,
480,
2895,
331,
6658,
222,
325,
21674,
458,
13528,
11495,
49,
3961,
708,
341,
3713,
5550,
5410,
222,
325,
480,
477,
18841,
9268,
347,
1187,
8685,
51,
244,
1369,
2951,
3477,
480,
222,
325,
4349,
904,
5550,
337,
829,
906,
7894,
10753,
451,
341,
11451,
451,
222,
325,
34327,
51,
906,
2951,
3477,
480,
4349,
904,
13810,
332,
1117,
222,
325,
2771,
411,
2895,
1364,
22156,
6694,
664,
906,
7894,
10753,
51,
906,
7894,
10753,
222,
325,
1976,
666,
13085,
710,
708,
341,
4231,
451,
341,
3477,
1118,
545,
222,
325,
725,
1164,
12830,
575,
1067,
50,
4010,
51,
906,
962,
50,
514,
7677,
120,
708,
341,
3477,
222,
325,
1616,
18928,
456,
13261,
15010,
480,
458,
9801,
8628,
666,
391,
24064,
222,
325,
39410,
8637,
563,
341,
3477,
456,
1364,
5982,
51,
244,
1255,
4452,
8454,
10180,
2906,
222,
325,
6419,
16491,
88,
2932,
2258,
31252,
2971,
776,
83,
7851,
6761,
10389,
2841,
2979,
10864,
1730,
4800,
14703,
49,
17637,
49,
222,
325,
17084,
49,
18689,
49,
1895,
17621,
10053,
49,
9993,
3920,
654,
17908,
49,
222,
325,
10481,
7002,
2258,
2906,
6134,
2258,
8968,
5427,
3133,
457,
7157,
47408,
2909,
49,
18440,
5515,
222,
325,
2906,
6419,
16491,
88,
2932,
2258,
31252,
2971,
776,
83,
7851,
35854,
6761,
737,
18712,
2258,
2906,
18828,
2258,
222,
325,
18372,
18550,
51,
2906,
6419,
16491,
88,
2932,
2258,
31252,
2971,
776,
83,
7851,
37652,
39138,
31554,
48892,
88,
2979,
222,
325,
3912,
49,
9993,
49,
7744,
2387,
8493,
2841,
49,
2906,
8467,
3912,
2258,
222,
325,
7934,
3133,
8114,
4800,
418,
7848,
7763,
51,
2906,
5427,
222,
325,
10081,
33584,
26708,
2771,
5716,
1753,
332,
1117,
2771,
39,
5128,
49,
3133,
2906,
6419,
16491,
88,
2932,
2258,
222,
325,
31252,
2971,
776,
83,
7851,
35854,
4452,
565,
5165,
1453,
19412,
2841,
4174,
5689,
74,
507,
12574,
737,
6316,
49,
47674,
49,
222,
325,
10159,
9872,
959,
49,
3650,
77,
6316,
32445,
49,
1895,
7707,
12369,
9586,
88,
51,
222,
222,
1337,
1105,
51,
10667,
15303,
51,
1726,
51,
26146,
64,
222,
222,
485,
1401,
51,
8236,
51,
37690,
64,
222,
485,
1401,
51,
8236,
51,
1585,
51,
1114,
1167,
64,
222,
485,
1401,
51,
8236,
51,
1585,
51,
1114,
2239,
64,
222,
485,
1401,
51,
1058,
51,
2272,
64,
222,
485,
1401,
51,
1058,
51,
4293,
64,
222,
485,
1401,
51,
1058,
51,
18676,
64,
222,
485,
1401,
51,
1058,
51,
21933,
64,
222,
485,
1401,
51,
1058,
51,
8263,
64,
222,
485,
1401,
51,
1058,
51,
17163,
64,
222,
485,
1401,
51,
1058,
51,
5740,
64,
222,
485,
1401,
51,
1058,
51,
20535,
64,
222,
485,
1401,
51,
1058,
51,
739,
64,
222,
485,
1401,
51,
1058,
51,
1225,
64,
222,
485,
1401,
51,
1058,
51,
903,
64,
222,
485,
1401,
51,
1058,
51,
2880,
64,
222,
222,
485,
3698,
51,
5934,
51,
3266,
51,
2061,
12907,
15422,
64,
222,
485,
3698,
51,
5934,
51,
3266,
51,
2061,
3371,
1262,
64,
222,
485,
3698,
51,
5934,
51,
3266,
51,
12907,
15422,
64,
222,
485,
3698,
51,
5934,
51,
3266,
51,
15422,
64,
222,
485,
3698,
51,
5934,
51,
3266,
51,
3371,
1233,
64,
222,
222,
485,
1105,
51,
2121,
51,
769,
57,
111,
51,
3716,
64,
222,
485,
1105,
51,
10667,
15303,
51,
6515,
51,
3214,
64,
222,
485,
1105,
51,
10667,
15303,
51,
6515,
51,
3214,
1590,
64,
222,
485,
1105,
51,
10667,
15303,
51,
1184,
51,
3828,
44798,
64,
222,
485,
1105,
51,
10667,
15303,
51,
1726,
51,
26146,
51,
7021,
51,
44721,
3855,
64,
222,
222,
1350,
222,
338,
906,
1573,
456,
341,
18224,
4369,
2221,
451,
341,
4225,
113,
1573,
51,
222,
338,
222,
338,
7388,
63,
222,
338,
244,
449,
22880,
5233,
664,
341,
4225,
113,
1573,
480,
7786,
8032,
480,
341,
4369,
7900,
51,
222,
338,
244,
449,
18627,
3246,
391,
3417,
347,
28183,
480,
19454,
51,
222,
338,
222,
338,
496,
2133,
244,
331,
1927,
103,
222,
338,
496,
8152,
244,
53,
51,
54,
58,
51,
55,
222,
588,
222,
942,
462,
18224,
3371,
1262,
2041,
4119,
3371,
1262,
376,
221,
30559,
9393,
1262,
2364,
833,
672,
2239,
49,
6337,
2239,
320,
303,
1041,
294,
338,
7145,
51,
294,
588,
303,
964,
924,
1175,
7145,
5784,
299,
222,
221,
3716,
51,
10588,
45,
23371,
3371,
1262,
51,
842,
312,
465,
1041,
294,
338,
619,
1437,
451,
294,
338,
3105,
1222,
1105,
51,
10667,
15303,
51,
1726,
51,
26146,
51,
7021,
51,
44721,
3855,
17370,
16530,
9156,
855,
294,
338,
708,
9949,
341,
4369,
2221,
51,
294,
588,
303,
964,
2210,
1197,
7032,
64,
465,
1041,
294,
338,
331,
2010,
1674,
391,
5895,
1573,
4725,
391,
4369,
5193,
1429,
35862,
294,
338,
2794,
5769,
331,
1573,
1708,
1118,
1178,
563,
341,
4369,
51,
294,
588,
303,
964,
3531,
1573,
1325,
1225,
64,
465,
1041,
294,
338,
341,
3671,
2554,
456,
328,
28608,
347,
341,
4369,
51,
294,
588,
303,
964,
34839,
2554,
64,
465,
1041,
294,
338,
906,
5727,
5937,
4019,
4478,
51,
294,
588,
303,
964,
4126,
13291,
7646,
299,
556,
4126,
492,
465,
1041,
294,
338,
418,
18662,
1319,
708,
1429,
10784,
1976,
1991,
1649,
294,
338,
5937,
11354,
5193,
51,
294,
588,
303,
964,
18224,
21289,
1560,
21289,
299,
556,
18224,
21289,
492,
465,
964,
18224,
3371,
4369,
64,
465,
1041,
294,
338,
16899,
462,
391,
32932,
50,
113,
1392,
2820,
1991,
5193,
347,
341,
4369,
51,
294,
338,
1369,
462,
458,
3682,
10065,
51,
294,
588,
303,
462,
18224,
21289,
4584,
18662,
320,
222,
221,
1350,
376,
338,
906,
758,
451,
5193,
11354,
4019,
4478,
51,
376,
588,
222,
221,
2072,
21057,
11354,
15634,
299,
556,
21057,
492,
499,
221,
1350,
376,
338,
3626,
477,
1319,
5937,
10774,
391,
545,
1441,
51,
376,
588,
222,
221,
2072,
1922,
14372,
64,
499,
221,
1350,
295,
338,
906,
7123,
1470,
451,
5193,
391,
1991,
347,
1611,
7325,
51,
295,
588,
222,
221,
942,
924,
1175,
648,
7490,
100,
2430,
9872,
959,
100,
3703,
100,
6338,
299,
244,
54,
53,
53,
64,
499,
221,
1350,
376,
338,
18681,
477,
1319,
391,
1441,
563,
418,
8919,
50,
37690,
50,
53,
840,
1649,
6146,
1153,
51,
376,
588,
222,
221,
2072,
13436,
782,
10101,
365,
320,
3281,
434,
327,
8156,
46,
320,
419,
461,
64,
343,
339,
3281,
14372,
299,
878,
64,
3281,
3916,
4098,
51,
7845,
31312,
45,
597,
312,
222,
221,
130,
499,
221,
1350,
376,
338,
18681,
1991,
7646,
391,
545,
3845,
563,
1560,
840,
1649,
6146,
1153,
51,
376,
338,
12901,
7572,
434,
2038,
3443,
458,
331,
11354,
1991,
451,
1560,
51,
376,
338,
376,
338,
496,
772,
1560,
906,
18224,
15422,
391,
545,
4478,
51,
376,
338,
496,
5124,
23203,
1691,
1560,
458,
762,
51,
376,
588,
222,
221,
942,
13436,
782,
10101,
45,
23371,
15422,
1560,
46,
320,
3281,
434,
327,
1271,
51,
390,
10710,
1177,
320,
419,
461,
64,
343,
339,
19075,
11354,
15634,
51,
688,
45,
1271,
312,
3281,
1560,
51,
489,
10710,
45,
1527,
312,
3281,
10101,
492,
222,
221,
130,
499,
221,
1350,
376,
338,
5654,
1991,
7646,
456,
1649,
11354,
5193,
51,
13513,
1495,
840,
4665,
376,
338,
7490,
100,
2430,
9872,
959,
100,
3703,
100,
6338,
2531,
1153,
51,
9056,
2038,
4224,
545,
11354,
376,
338,
7786,
2703,
708,
1636,
580,
1118,
334,
8598,
8032,
5717,
117,
67,
376,
338,
376,
338,
1369,
1431,
1414,
666,
545,
3845,
13435,
49,
4203,
10101,
376,
338,
1414,
545,
3845,
480,
477,
1431,
1118,
545,
3845,
6936,
51,
376,
588,
222,
221,
942,
782,
1441,
365,
320,
3281,
1922,
3412,
299,
920,
64,
19075,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
7490,
100,
2430,
9872,
959,
100,
3703,
100,
6338,
64,
613,
2002,
320,
376,
221,
23371,
15422,
1560,
299,
762,
64,
376,
221,
34508,
327,
597,
46,
320,
6993,
434,
1445,
9678,
15634,
51,
6401,
1177,
320,
374,
221,
1271,
299,
327,
23371,
15422,
46,
11354,
15634,
51,
2564,
3485,
492,
374,
221,
1271,
51,
489,
10710,
45,
1886,
312,
6993,
339,
832,
320,
374,
221,
5099,
299,
878,
64,
374,
221,
8156,
299,
920,
64,
374,
221,
2986,
64,
6993,
339,
376,
221,
130,
1332,
221,
1896,
7646,
45,
909,
9393,
1233,
45,
17676,
724,
4069,
45,
1271,
4254,
3281,
339,
19075,
434,
1445,
5099,
46,
320,
376,
221,
8598,
492,
343,
339,
832,
320,
419,
1276,
1369,
39563,
2443,
244,
55,
55,
61,
60,
51,
588,
419,
4369,
51,
8195,
5385,
492,
343,
339,
222,
221,
130,
303,
339,
465,
1041,
294,
338,
906,
4389,
451,
18224,
3371,
1262,
51,
294,
338,
294,
338,
496,
772,
3070,
619,
1319,
391,
3687,
840,
341,
3070,
294,
338,
496,
772,
1690,
3371,
341,
4369,
294,
588,
303,
581,
18224,
3371,
1262,
45,
976,
3070,
49,
18224,
3371,
1690,
3371,
46,
320,
222,
221,
5282,
45,
909,
4119,
12907,
15422,
1052,
603,
4369,
299,
1690,
3371,
64,
222,
221,
489,
4069,
45,
909,
18224,
15422,
45,
2405,
49,
477,
894,
222,
221,
489,
1482,
5532,
6679,
120,
7646,
45,
1886,
312,
222,
221,
1184,
1325,
1225,
299,
556,
8329,
492,
499,
221,
23371,
1167,
38932,
51,
7432,
365,
3281,
657,
489,
3371,
1262,
2364,
833,
672,
2239,
45,
597,
312,
499,
221,
1191,
299,
556,
2782,
10695,
577,
2888,
492,
303,
339,
465,
1041,
294,
338,
331,
1573,
2016,
1421,
5386,
347,
1649,
3374,
51,
294,
338,
294,
338,
496,
2987,
1105,
51,
10667,
15303,
51,
1726,
51,
26146,
51,
3371,
1262,
2364,
833,
672,
2239,
40,
1184,
1325,
3663,
45,
1874,
51,
1600,
51,
976,
46,
294,
588,
303,
581,
782,
1573,
1325,
3663,
45,
976,
1560,
46,
320,
310,
29106,
9851,
1181,
15422,
46,
640,
4069,
1046,
1560,
312,
303,
339,
465,
1041,
294,
338,
331,
1573,
2016,
1421,
2602,
3654,
391,
341,
1573,
51,
294,
338,
294,
338,
496,
2987,
1105,
51,
10667,
15303,
51,
1726,
51,
26146,
51,
3371,
1262,
2364,
833,
672,
2239,
40,
1184,
1325,
11030,
45,
1874,
51,
1600,
51,
976,
46,
294,
588,
303,
581,
782,
1573,
1325,
11030,
45,
976,
1560,
46,
320,
310,
29106,
9851,
1181,
15422,
46,
640,
4069,
1046,
1560,
312,
303,
339,
465,
1041,
294,
338,
1588,
15243,
1490,
341,
5727,
49,
27198,
5543,
18799,
829,
341,
2716,
1560,
49,
5402,
338,
480,
666,
6871,
3049,
708,
2974,
904,
8851,
51,
294,
338,
294,
338,
496,
772,
1496,
341,
1560,
391,
1496,
664,
294,
338,
496,
772,
1560,
341,
2716,
1560,
294,
588,
303,
964,
782,
29106,
9851,
45,
15422,
1496,
49,
2210,
1560,
46,
320,
222,
221,
21933,
5727,
299,
1496,
51,
4931,
492,
222,
221,
5544,
327,
4931,
51,
43832,
7466,
1177,
320,
3281,
21390,
2851,
299,
327,
15422,
46,
5727,
51,
47236,
492,
3281,
29106,
9851,
45,
2680,
49,
1560,
312,
222,
221,
130,
499,
221,
344,
327,
1384,
5118,
18224,
15422,
46,
320,
3281,
1849,
23371,
15422,
46,
1496,
566,
1271,
9851,
45,
1271,
312,
222,
221,
130,
303,
339,
465,
1041,
294,
338,
331,
1573,
2016,
1421,
2602,
6563,
664,
341,
1573,
51,
294,
338,
294,
338,
496,
2987,
1105,
51,
10667,
15303,
51,
1726,
51,
26146,
51,
3371,
1262,
2364,
833,
672,
2239,
40,
1184,
1325,
16971,
45,
1874,
51,
1600,
51,
976,
46,
294,
588,
303,
581,
782,
1573,
1325,
16971,
45,
976,
1560,
46,
320,
310,
7380,
5193,
299,
477,
51,
1828,
5919,
45,
1271,
312,
310,
2210,
1197,
5193,
1280,
299,
5193,
51,
14315,
492,
603,
456,
327,
429,
837,
299,
244,
53,
64,
837,
350,
5193,
1280,
51,
1340,
64,
837,
2002,
320,
343,
18224,
15422,
1557,
1230,
299,
327,
23371,
15422,
46,
5193,
1280,
96,
125,
988,
1083,
434,
327,
2357,
1230,
51,
18777,
365,
882,
762,
46,
320,
419,
3365,
1230,
1811,
4449,
45,
2357,
1230,
312,
343,
339,
310,
339,
603,
29106,
9851,
1181,
15422,
46,
640,
4069,
1046,
1560,
312,
303,
339,
465,
1041,
294,
338,
341,
1573,
5213,
1421,
5386,
49,
16314,
331,
556,
2091,
51,
294,
588,
303,
581,
782,
5213,
3663,
365,
320,
222,
221,
325,
3365,
10656,
456,
16950,
222,
221,
344,
327,
29847,
365,
5118,
18224,
15422,
46,
320,
343,
1849,
23371,
15422,
46,
640,
4069,
4269,
2564,
492,
310,
339,
499,
221,
325,
1369,
1414,
1773,
545,
17267,
456,
3627,
29262,
7922,
1758,
51,
222,
221,
2272,
2102,
299,
1573,
1325,
1225,
51,
2857,
492,
222,
221,
5740,
2102,
1029,
299,
2102,
51,
5174,
492,
222,
221,
5544,
327,
2857,
1029,
51,
16408,
1177,
320,
3281,
1849,
2272,
46,
2102,
1029,
51,
1995,
4269,
3830,
492,
222,
221,
130,
222,
221,
1184,
1325,
1225,
51,
3830,
492,
499,
221,
325,
1369,
458,
29815,
38967,
642,
341,
6759,
451,
341,
4389,
222,
221,
325,
708,
22880,
341,
3070,
1319,
829,
2814,
51,
1691,
477,
458,
26018,
222,
221,
325,
1636,
2038,
1648,
545,
1307,
1868,
456,
331,
4389,
642,
708,
2814,
51,
222,
221,
1184,
1325,
1225,
299,
556,
8329,
492,
222,
221,
3214,
20450,
299,
5426,
1590,
51,
43253,
941,
12344,
3214,
492,
222,
221,
23371,
15422,
3070,
1230,
299,
556,
18224,
15422,
45,
11044,
49,
477,
312,
499,
221,
23390,
1225,
45,
11044,
49,
3070,
1230,
312,
222,
221,
489,
4069,
45,
2405,
1230,
312,
303,
339,
465,
1041,
294,
338,
7786,
2371,
3215,
451,
341,
46230,
4369,
456,
331,
2716,
4369,
1536,
51,
294,
338,
294,
338,
496,
772,
1536,
341,
1536,
391,
341,
1560,
13719,
5727,
391,
1991,
51,
294,
338,
496,
5124,
12134,
434,
1560,
1421,
331,
2851,
708,
458,
666,
331,
294,
338,
282,
327,
3817,
23192,
451,
46,
4119,
12907,
15422,
51,
294,
588,
303,
581,
782,
1991,
7646,
45,
3371,
1233,
1536,
46,
320,
222,
221,
23371,
15422,
1560,
299,
327,
23371,
15422,
46,
1536,
51,
20164,
1233,
1735,
492,
310,
2210,
1573,
1325,
299,
1560,
51,
12226,
976,
492,
499,
221,
325,
30672,
8132,
477,
5150,
15942,
347,
341,
13603,
2183,
222,
221,
344,
327,
7021,
630,
762,
46,
320,
3281,
461,
64,
222,
221,
130,
499,
221,
325,
30672,
30367,
13291,
341,
2454,
2851,
222,
221,
344,
327,
34916,
7646,
51,
4766,
45,
1271,
509,
320,
3281,
461,
64,
222,
221,
130,
222,
221,
34916,
7646,
51,
688,
45,
1271,
312,
499,
221,
2880,
5727,
299,
48965,
7646,
45,
1271,
312,
499,
221,
2880,
556,
7646,
299,
556,
4126,
492,
222,
221,
903,
21005,
299,
556,
14253,
492,
222,
221,
6190,
7646,
45,
1184,
1325,
49,
556,
7646,
49,
21005,
312,
499,
221,
1271,
51,
489,
14498,
903,
45,
11177,
312,
499,
221,
6097,
7646,
45,
1271,
49,
5727,
49,
556,
7646,
312,
499,
221,
34916,
7646,
51,
2564,
45,
1271,
312,
303,
339,
465,
1041,
294,
338,
11899,
120,
341,
2851,
5193,
451,
1560,
1493,
341,
1565,
19454,
5717,
117,
67,
294,
338,
294,
338,
5857,
63,
2694,
976,
458,
1773,
3322,
664,
5615,
31859,
451,
294,
338,
4119,
12907,
15422,
49,
1278,
1364,
1623,
5727,
18495,
1348,
545,
8635,
51,
294,
338,
23245,
3301,
904,
5937,
40187,
51,
7158,
5937,
1307,
3774,
1560,
458,
294,
338,
14552,
17812,
2012,
341,
4369,
51,
294,
338,
294,
338,
496,
772,
1560,
341,
1560,
13719,
5727,
391,
3873,
294,
338,
496,
620,
341,
2694,
6699,
451,
341,
5727,
49,
347,
341,
2454,
2554,
641,
341,
294,
338,
282,
5727,
51,
294,
338,
496,
5124,
12134,
434,
1560,
1421,
331,
2851,
708,
458,
666,
331,
294,
338,
282,
327,
3817,
23192,
451,
46,
4119,
12907,
15422,
51,
294,
588,
303,
964,
4126,
48965,
7646,
45,
23371,
15422,
1560,
46,
320,
222,
221,
2880,
5727,
299,
556,
4126,
492,
222,
221,
2880,
24286,
299,
556,
4126,
492,
499,
221,
325,
7827,
7385,
341,
1565,
5727,
451,
1560,
391,
2309,
986,
1532,
2483,
43031,
222,
221,
325,
347,
3473,
2554,
49,
4577,
3301,
2315,
545,
13643,
222,
221,
21933,
949,
846,
1400,
299,
1560,
51,
4931,
492,
222,
221,
976,
2419,
3287,
299,
762,
64,
222,
221,
5544,
327,
291,
846,
1400,
51,
43832,
7466,
1177,
320,
3281,
2210,
2851,
299,
949,
846,
1400,
51,
47236,
492,
3281,
434,
327,
2680,
5118,
4119,
12907,
15422,
46,
320,
376,
221,
976,
2847,
299,
1849,
2061,
12907,
15422,
46,
2851,
566,
12226,
976,
492,
376,
221,
344,
327,
2153,
3287,
882,
762,
979,
2554,
51,
6076,
45,
2153,
3287,
49,
2847,
46,
868,
244,
53,
46,
320,
6993,
1276,
16311,
338,
1691,
331,
1560,
391,
545,
13643,
458,
5937,
4337,
49,
16311,
338,
5187,
2840,
1426,
35017,
1758,
4203,
1278,
2818,
1348,
28336,
7818,
51,
16311,
338,
1369,
11000,
2443,
244,
56,
55,
57,
62,
51,
16311,
338,
12125,
63,
477,
1976,
666,
8664,
642,
341,
1152,
2174,
3507,
338,
4632,
5193,
904,
4337,
480,
2974,
904,
986,
3507,
338,
451,
2554,
642,
10198,
391,
2531,
1623,
49,
1294,
457,
3507,
338,
2818,
1348,
3558,
1851,
2806,
1611,
1560,
458,
14552,
24286,
16311,
338,
840,
331,
1153,
449,
5369,
114,
16311,
588,
6993,
434,
1445,
3266,
51,
316,
1233,
4559,
45,
909,
9393,
1233,
45,
1031,
42433,
724,
4069,
1181,
2061,
12907,
15422,
46,
2851,
7775,
320,
374,
221,
22385,
51,
688,
45,
2680,
312,
6993,
339,
832,
320,
374,
221,
2061,
12907,
15422,
7329,
299,
1396,
1849,
2061,
12907,
15422,
46,
2851,
46,
2493,
657,
390,
11694,
20842,
492,
374,
221,
5544,
327,
5599,
882,
762,
1396,
979,
327,
1191,
51,
6076,
45,
5599,
51,
12226,
976,
1046,
2847,
46,
2493,
2394,
244,
53,
509,
320,
13203,
24286,
51,
688,
45,
5599,
312,
13203,
5727,
51,
2564,
47200,
45,
4931,
51,
911,
365,
449,
244,
54,
312,
13203,
7329,
299,
7329,
51,
390,
11694,
20842,
492,
374,
221,
130,
374,
221,
4931,
51,
688,
45,
2085,
312,
374,
221,
2153,
3287,
299,
2847,
64,
6993,
339,
376,
221,
130,
832,
320,
6993,
5727,
51,
688,
45,
2085,
312,
6993,
2419,
3287,
299,
2847,
64,
376,
221,
130,
3281,
339,
832,
320,
376,
221,
5267,
556,
12134,
45,
374,
221,
39,
402,
998,
18552,
1344,
1497,
2851,
1560,
332,
494,
2851,
51,
3127,
1052,
3281,
339,
222,
221,
130,
603,
456,
327,
429,
837,
299,
244,
53,
64,
837,
350,
24286,
51,
911,
492,
837,
2002,
320,
3281,
4119,
12907,
15422,
2851,
299,
376,
221,
45,
2061,
12907,
15422,
46,
24286,
51,
390,
45,
125,
312,
19075,
453,
30672,
3027,
428,
40170,
2464,
3281,
453,
906,
1560,
1118,
545,
3654,
1769,
391,
341,
4369,
4076,
3281,
2615,
51,
2564,
1230,
1811,
4449,
45,
2680,
312,
222,
221,
130,
499,
221,
325,
2643,
2531,
24286,
1560,
49,
2309,
580,
1200,
556,
2764,
17698,
341,
1565,
222,
221,
325,
5727,
480,
5187,
580,
2038,
310,
456,
327,
429,
837,
299,
244,
53,
64,
837,
350,
24286,
51,
911,
492,
837,
2002,
320,
3281,
4119,
12907,
15422,
2851,
299,
376,
221,
45,
2061,
12907,
15422,
46,
24286,
51,
390,
45,
125,
312,
3281,
2210,
2847,
299,
2851,
51,
12226,
976,
492,
3281,
648,
4762,
299,
15490,
51,
7038,
3209,
45,
4931,
49,
2847,
49,
2554,
312,
19075,
434,
327,
658,
350,
244,
53,
46,
320,
376,
221,
658,
299,
25354,
658,
494,
244,
54,
312,
3281,
339,
19075,
453,
30672,
3027,
13603,
2464,
3281,
2615,
51,
3233,
1230,
13650,
45,
2680,
49,
1560,
49,
4762,
312,
3281,
5727,
51,
688,
45,
658,
49,
2847,
312,
222,
221,
130,
499,
221,
620,
5727,
64,
303,
339,
465,
1041,
294,
338,
19808,
120,
341,
758,
451,
5727,
1573,
1325,
1414,
1178,
840,
477,
2282,
347,
294,
338,
1153,
51,
906,
5727,
904,
3654,
391,
556,
7646,
5717,
117,
67,
294,
338,
294,
338,
5857,
63,
23739,
556,
7646,
480,
21005,
904,
8851,
829,
477,
686,
49,
580,
294,
338,
458,
347,
8465,
580,
1200,
7470,
11673,
391,
5370,
3301,
13722,
51,
2048,
458,
1390,
294,
338,
31378,
391,
1949,
3673,
708,
2974,
904,
3517,
1429,
580,
458,
3845,
49,
575,
294,
338,
391,
3722,
2794,
863,
904,
8132,
434,
2974,
904,
666,
51,
294,
338,
294,
338,
496,
772,
1573,
1325,
341,
2016,
391,
7922,
5727,
456,
51,
294,
338,
496,
772,
556,
7646,
341,
556,
5727,
451,
1573,
1325,
51,
294,
338,
496,
772,
21005,
341,
758,
451,
4706,
708,
1414,
545,
3797,
29893,
456,
3417,
294,
338,
370,
4577,
3301,
3087,
13343,
477,
1168,
51,
294,
338,
496,
5124,
25788,
434,
1035,
458,
666,
5430,
829,
294,
338,
282,
556,
7646,
575,
1035,
1947,
7751,
1348,
5430,
829,
21005,
51,
294,
338,
496,
5124,
23203,
434,
556,
7646,
575,
21005,
458,
762,
51,
294,
338,
496,
5124,
1727,
36886,
434,
556,
7646,
575,
21005,
7666,
120,
1649,
2016,
51,
294,
338,
496,
5124,
12134,
434,
556,
7646,
575,
21005,
7666,
120,
1649,
294,
338,
282,
2016,
51,
294,
588,
303,
964,
782,
7922,
7646,
45,
976,
1573,
1325,
49,
1701,
556,
7646,
49,
596,
1776,
21005,
46,
320,
222,
221,
344,
327,
1184,
1325,
630,
762,
46,
320,
3281,
461,
64,
222,
221,
130,
499,
221,
325,
19808,
341,
1565,
758,
451,
4706,
708,
1414,
545,
5727,
391,
222,
221,
325,
477,
1560,
310,
456,
327,
429,
837,
299,
244,
53,
64,
837,
350,
7032,
51,
1340,
64,
837,
2002,
320,
343,
7380,
300,
299,
762,
64,
343,
1776,
300,
55,
299,
762,
64,
6455,
453,
4314,
63,
418,
6106,
4753,
2285,
545,
391,
5334,
5233,
2012,
343,
453,
16028,
8374,
480,
1991,
341,
4369,
1611,
1153,
456,
341,
9476,
343,
453,
2370,
49,
8788,
6206,
2872,
391,
341,
1573,
5347,
1278,
708,
343,
453,
580,
45192,
14500,
5945,
341,
2487,
51,
244,
1369,
2285,
11386,
343,
453,
1224,
8132,
341,
7786,
347,
331,
3473,
3682,
2806,
341,
343,
453,
1708,
18187,
3682,
391,
9457,
13517,
26424,
49,
1278,
456,
2109,
2483,
343,
453,
1019,
23789,
37524,
642,
1614,
52,
5639,
9072,
51,
1083,
1614,
320,
419,
300,
299,
547,
1849,
44721,
3855,
46,
7032,
96,
125,
1156,
733,
657,
28817,
45,
1184,
1325,
312,
343,
339,
2385,
327,
3828,
44798,
503,
46,
320,
419,
5784,
51,
2824,
459,
3828,
44798,
347,
18224,
3371,
518,
332,
16629,
494,
503,
51,
390,
8432,
1052,
343,
339,
343,
1614,
320,
419,
300,
55,
299,
547,
1849,
44721,
3855,
46,
7032,
96,
125,
1156,
733,
657,
390,
12721,
45,
1184,
1325,
312,
343,
339,
2385,
327,
3828,
44798,
503,
46,
320,
419,
5784,
51,
2824,
459,
3828,
44798,
347,
18224,
3371,
518,
332,
16629,
494,
503,
51,
390,
8432,
1052,
343,
339,
1819,
3281,
434,
327,
104,
882,
762,
46,
320,
376,
221,
5740,
580,
299,
300,
51,
5174,
492,
376,
221,
5544,
327,
302,
51,
16408,
1177,
320,
6993,
2210,
2847,
299,
580,
51,
1995,
492,
6993,
434,
327,
2085,
630,
762,
46,
320,
374,
221,
3612,
51,
8453,
459,
44721,
3855,
332,
494,
7032,
96,
125,
98,
494,
332,
13583,
391,
332,
596,
494,
332,
688,
762,
391,
341,
46230,
4369,
9318,
6993,
339,
832,
434,
1445,
909,
7646,
51,
4766,
45,
2085,
509,
320,
374,
221,
909,
7646,
51,
688,
45,
2085,
312,
6993,
339,
376,
221,
130,
3281,
339,
19075,
434,
327,
104,
55,
882,
762,
46,
320,
376,
221,
11177,
51,
15109,
45,
104,
55,
312,
3281,
339,
310,
339,
499,
221,
325,
7700,
341,
556,
5727,
49,
341,
6450,
4897,
480,
222,
221,
325,
1868,
666,
545,
17169,
222,
221,
4293,
51,
3349,
45,
909,
7646,
49,
2554,
312,
222,
221,
11177,
51,
15109,
45,
909,
7646,
312,
303,
339,
465,
1041,
294,
338,
3777,
331,
1776,
451,
1565,
5727,
391,
3365,
480,
2065,
6871,
556,
7646,
294,
338,
391,
1773,
4814,
341,
5727,
666,
3443,
347,
5727,
480,
666,
29302,
11356,
294,
338,
829,
1364,
31243,
23371,
1230,
347,
5727,
5717,
117,
67,
294,
338,
294,
338,
5857,
63,
556,
7646,
1118,
545,
8851,
829,
477,
1495,
5717,
117,
67,
294,
338,
294,
338,
5857,
63,
2048,
458,
2816,
708,
331,
31243,
23371,
1230,
1118,
666,
545,
44826,
480,
294,
338,
15004,
2974,
1118,
5198,
26303,
545,
5454,
751,
456,
27228,
49,
480,
1773,
5543,
294,
338,
5193,
904,
347,
8465,
1674,
391,
1524,
29302,
14693,
451,
556,
5193,
51,
3153,
5193,
294,
338,
904,
666,
8146,
17698,
21979,
456,
1381,
1055,
9106,
51,
294,
338,
294,
338,
496,
772,
5727,
458,
341,
1168,
451,
1565,
5727,
51,
294,
338,
496,
772,
556,
7646,
458,
341,
1168,
451,
2816,
5727,
51,
294,
338,
496,
620,
341,
1776,
451,
1565,
5727,
391,
3365,
51,
294,
338,
496,
5124,
25788,
434,
556,
7646,
4183,
1348,
2208,
294,
338,
282,
3365,
575,
3365,
1947,
51,
294,
338,
496,
5124,
23203,
434,
3173,
2814,
458,
762,
51,
294,
588,
303,
964,
1776,
11670,
1121,
4926,
10532,
45,
739,
5727,
49,
1701,
556,
7646,
46,
320,
222,
221,
903,
3365,
903,
299,
556,
14253,
492,
222,
221,
903,
4959,
6699,
299,
556,
14253,
492,
222,
221,
344,
327,
4931,
51,
911,
365,
350,
556,
7646,
51,
911,
1177,
320,
3281,
4959,
6699,
51,
15109,
45,
4931,
312,
3281,
4959,
6699,
51,
23631,
1947,
45,
909,
7646,
312,
222,
221,
130,
832,
320,
3281,
4959,
6699,
51,
15109,
45,
909,
7646,
312,
3281,
4959,
6699,
51,
23631,
1947,
45,
4931,
312,
222,
221,
130,
222,
221,
909,
7646,
51,
28768,
45,
2297,
6699,
312,
222,
221,
2564,
903,
51,
15109,
45,
4931,
312,
222,
221,
2564,
903,
51,
28768,
45,
2297,
6699,
312,
499,
221,
325,
7971,
31243,
23371,
5919,
222,
221,
5740,
580,
299,
3365,
903,
51,
5174,
492,
222,
221,
739,
18100,
5919,
299,
762,
64,
222,
221,
5544,
327,
302,
51,
16408,
1177,
320,
3281,
2210,
2847,
299,
580,
51,
1995,
492,
3281,
434,
11014,
2085,
5118,
31243,
23371,
1230,
509,
320,
376,
221,
7514,
64,
3281,
339,
3281,
31243,
23371,
1230,
1560,
299,
327,
20967,
23371,
1230,
46,
2847,
64,
19075,
434,
327,
12066,
5919,
630,
762,
46,
320,
376,
221,
12066,
5919,
299,
556,
21057,
492,
376,
221,
5740,
580,
55,
299,
556,
7646,
51,
5174,
492,
376,
221,
5544,
327,
302,
55,
51,
16408,
1177,
320,
6993,
2210,
2847,
55,
299,
580,
55,
51,
1995,
492,
6993,
434,
327,
2085,
55,
5118,
31243,
23371,
1230,
46,
320,
374,
221,
12066,
5919,
51,
688,
45,
2085,
55,
312,
6993,
339,
376,
221,
130,
3281,
339,
19075,
14730,
580,
56,
299,
18100,
5919,
51,
5174,
492,
3281,
2236,
327,
302,
56,
51,
16408,
1177,
320,
376,
221,
976,
2847,
56,
299,
580,
56,
51,
1995,
492,
376,
221,
344,
327,
1271,
51,
23993,
25212,
45,
2085,
56,
509,
320,
6993,
453,
6491,
341,
1560,
664,
3365,
903,
6993,
580,
51,
2564,
492,
6993,
453,
6491,
2847,
56,
664,
18100,
5919,
480,
556,
7646,
6993,
556,
7646,
51,
2564,
45,
2085,
56,
312,
6993,
580,
56,
51,
2564,
492,
6993,
1644,
64,
376,
221,
130,
3281,
339,
222,
221,
130,
499,
221,
620,
3365,
903,
64,
303,
339,
465,
1041,
294,
338,
13922,
120,
341,
1565,
5727,
642,
341,
556,
5727,
15281,
5727,
1307,
294,
338,
8940,
5041,
480,
7178,
556,
5727,
347,
341,
2109,
3687,
51,
294,
338,
294,
338,
496,
772,
1560,
341,
21390,
4547,
20066,
10411,
456,
51,
294,
338,
496,
772,
5727,
341,
1565,
2851,
2694,
6699,
49,
347,
2554,
51,
294,
338,
496,
772,
556,
7646,
341,
2816,
2851,
2694,
6699,
49,
347,
2554,
51,
294,
338,
496,
5124,
25788,
434,
341,
14730,
4731,
829,
294,
338,
282,
556,
7646,
4183,
1348,
2208,
341,
3365,
4231,
49,
575,
434,
294,
338,
282,
556,
7646,
8032,
4183,
1348,
2208,
3365,
575,
3365,
1947,
51,
294,
338,
496,
5124,
23203,
434,
1560,
49,
5727,
575,
556,
7646,
904,
762,
51,
294,
588,
303,
964,
782,
4009,
7646,
45,
23371,
15422,
1560,
49,
1701,
5727,
49,
28095,
1701,
556,
7646,
46,
320,
222,
221,
903,
3365,
6699,
299,
11670,
1121,
4926,
10532,
45,
4931,
49,
556,
7646,
312,
222,
221,
325,
36146,
708,
5727,
904,
666,
9393,
5919,
1294,
2694,
6699,
222,
221,
2880,
4668,
5919,
299,
556,
4126,
492,
222,
221,
21933,
5727,
2773,
299,
1560,
51,
4931,
492,
222,
221,
5544,
327,
4931,
2773,
51,
43832,
7466,
1177,
320,
3281,
4668,
5919,
51,
688,
45,
4931,
2773,
51,
47236,
1052,
222,
221,
130,
499,
221,
429,
2764,
299,
244,
53,
64,
222,
221,
5740,
2851,
5919,
299,
4668,
5919,
51,
5174,
492,
222,
221,
5740,
556,
5919,
299,
556,
7646,
51,
5174,
492,
222,
221,
976,
1950,
1827,
299,
556,
5919,
51,
16408,
365,
1037,
556,
5919,
51,
1995,
365,
518,
762,
64,
222,
221,
5544,
327,
28903,
51,
16408,
1177,
320,
3281,
2210,
2851,
3287,
299,
2851,
5919,
51,
1995,
492,
3281,
434,
11014,
2680,
3287,
5118,
4119,
12907,
15422,
509,
320,
376,
221,
7514,
64,
3281,
339,
19075,
4119,
12907,
15422,
2851,
299,
327,
2061,
12907,
15422,
46,
2851,
3287,
64,
3281,
2210,
1275,
976,
299,
2851,
51,
12226,
976,
492,
19075,
434,
327,
2564,
6699,
51,
4766,
45,
514,
976,
509,
320,
376,
221,
2564,
1230,
1811,
4449,
45,
2680,
312,
3281,
339,
832,
320,
376,
221,
5544,
327,
2251,
1827,
882,
762,
22104,
979,
2554,
51,
6076,
45,
2251,
1827,
49,
1275,
976,
46,
350,
244,
53,
46,
320,
6993,
5567,
1230,
13650,
45,
909,
18224,
15422,
45,
2251,
1827,
49,
477,
490,
25832,
1560,
49,
25832,
2764,
312,
6993,
2764,
3348,
6993,
1950,
1827,
299,
556,
5919,
51,
16408,
365,
1037,
556,
5919,
51,
1995,
365,
518,
762,
64,
376,
221,
130,
376,
221,
2719,
3348,
3281,
339,
222,
221,
130,
499,
221,
325,
2242,
1364,
11479,
5193,
222,
221,
5544,
327,
2251,
1827,
882,
762,
46,
320,
3281,
5567,
1230,
13650,
45,
909,
18224,
15422,
45,
2251,
1827,
49,
477,
490,
18195,
1560,
49,
18195,
2764,
312,
3281,
2764,
3348,
3281,
1950,
1827,
299,
556,
5919,
51,
16408,
365,
1037,
556,
5919,
51,
1995,
365,
518,
762,
64,
222,
221,
130,
303,
339,
465,
1041,
294,
338,
14744,
20077,
477,
391,
5567,
556,
2950,
840,
3913,
1671,
347,
20845,
5727,
51,
294,
338,
1369,
1118,
1636,
1492,
5193,
92,
767,
47321,
391,
1506,
341,
9150,
294,
338,
1708,
51,
1369,
458,
341,
16321,
3374,
391,
1035,
5727,
641,
580,
1118,
1506,
341,
294,
338,
9150,
1708,
5717,
117,
67,
294,
338,
294,
338,
8688,
23707,
22964,
2835,
13603,
51,
294,
338,
294,
338,
496,
772,
556,
2950,
906,
556,
2851,
1560,
51,
294,
338,
496,
772,
2952,
906,
2952,
1560,
51,
294,
338,
496,
772,
1671,
906,
1671,
51,
294,
588,
303,
581,
782,
5567,
1230,
13650,
45,
12907,
15422,
556,
2950,
49,
28095,
20395,
15422,
2952,
49,
648,
1671,
46,
320,
222,
221,
5282,
51,
3233,
1230,
13650,
45,
909,
2950,
49,
2952,
49,
1671,
312,
499,
221,
688,
5919,
45555,
45,
909,
2950,
312,
303,
339,
465,
1041,
294,
338,
4587,
477,
391,
3365,
1560,
664,
2840,
2952,
51,
1369,
1118,
1492,
294,
338,
5193,
92,
767,
16971,
391,
1506,
341,
9150,
1708,
51,
1369,
458,
341,
294,
338,
16321,
3374,
391,
3365,
331,
1560,
641,
580,
13657,
341,
1708,
10075,
294,
338,
456,
863,
5717,
117,
67,
294,
338,
294,
338,
8688,
23707,
22964,
2835,
725,
40170,
51,
294,
338,
294,
338,
496,
772,
1560,
906,
1560,
391,
3365,
51,
294,
588,
303,
581,
782,
3365,
1230,
1811,
4449,
45,
12907,
15422,
1560,
46,
320,
222,
221,
2564,
5919,
1811,
1225,
45,
1271,
312,
499,
221,
344,
327,
1271,
5118,
18224,
15422,
46,
320,
3281,
1849,
23371,
15422,
46,
1560,
566,
2564,
492,
222,
221,
130,
499,
221,
5282,
51,
2564,
1230,
1811,
4449,
45,
1271,
312,
303,
339,
465,
1041,
294,
338,
3531,
1187,
5193,
347,
341,
37251,
3070,
337,
840,
1560,
51,
294,
338,
294,
338,
496,
772,
1560,
341,
1560,
391,
545,
3654,
294,
588,
303,
964,
782,
1035,
5919,
45555,
45,
15422,
1560,
46,
320,
222,
221,
21933,
5727,
299,
1560,
51,
4931,
492,
222,
221,
5544,
327,
4931,
51,
43832,
7466,
1177,
320,
3281,
21390,
2851,
299,
327,
15422,
46,
5727,
51,
47236,
492,
3281,
1035,
5919,
45555,
45,
2680,
312,
222,
221,
130,
499,
221,
344,
327,
1271,
5118,
4119,
12907,
15422,
46,
320,
3281,
4119,
12907,
15422,
364,
1544,
299,
327,
2061,
12907,
15422,
46,
1560,
64,
3281,
33625,
1225,
45,
114,
1544,
51,
12226,
976,
1046,
364,
1544,
312,
222,
221,
130,
303,
339,
465,
1041,
294,
338,
1703,
1130,
1187,
5193,
347,
341,
37251,
3070,
337,
840,
341,
2716,
1560,
51,
294,
338,
294,
338,
496,
772,
1560,
341,
2716,
1560,
294,
588,
303,
964,
782,
3365,
5919,
1811,
1225,
45,
15422,
1560,
46,
320,
222,
221,
21933,
5727,
299,
1560,
51,
4931,
492,
222,
221,
5544,
327,
4931,
51,
43832,
7466,
1177,
320,
3281,
21390,
2851,
299,
327,
15422,
46,
5727,
51,
47236,
492,
3281,
3365,
5919,
1811,
1225,
45,
2680,
312,
222,
221,
130,
499,
221,
344,
327,
1271,
5118,
4119,
12907,
15422,
46,
320,
3281,
4119,
12907,
15422,
364,
1544,
299,
327,
2061,
12907,
15422,
46,
1560,
64,
3281,
3365,
1811,
1225,
45,
114,
1544,
51,
12226,
976,
1046,
364,
1544,
312,
222,
221,
130,
303,
339,
465,
1041,
294,
338,
15444,
331,
556,
4369,
1560,
480,
1573,
2016,
391,
341,
2010,
51,
294,
338,
5193,
904,
6563,
664,
341,
2010,
1429,
331,
3105,
1222,
607,
1184,
1325,
16971,
45,
976,
46,
294,
338,
1573,
1325,
16971,
130,
1708,
458,
6589,
51,
294,
338,
294,
338,
496,
772,
1573,
1325,
341,
2945,
293,
746,
391,
545,
3654,
294,
338,
496,
772,
1560,
341,
1560,
391,
545,
3654,
294,
588,
303,
964,
782,
33625,
1225,
45,
976,
1573,
1325,
49,
21390,
1560,
46,
320,
222,
221,
976,
804,
299,
1573,
1325,
1225,
51,
390,
45,
1184,
1325,
312,
499,
221,
344,
327,
872,
882,
762,
46,
320,
3281,
1849,
903,
46,
804,
566,
688,
45,
1271,
312,
222,
221,
130,
832,
320,
3281,
1776,
5193,
299,
556,
14253,
492,
3281,
5193,
51,
688,
45,
1271,
312,
3281,
1573,
1325,
1225,
51,
543,
45,
1184,
1325,
49,
5193,
312,
222,
221,
130,
303,
339,
465,
1041,
294,
338,
20085,
331,
556,
4369,
1560,
480,
1573,
2016,
664,
341,
2010,
51,
294,
338,
294,
338,
496,
772,
1573,
1325,
341,
2945,
293,
746,
391,
545,
6563,
294,
338,
496,
772,
1560,
341,
1560,
391,
545,
6563,
294,
588,
303,
964,
782,
3365,
1811,
1225,
45,
976,
1573,
1325,
49,
21390,
1560,
46,
320,
222,
221,
976,
804,
299,
1573,
1325,
1225,
51,
390,
45,
1184,
1325,
312,
499,
221,
344,
327,
872,
882,
762,
46,
320,
3281,
1776,
1560,
489,
299,
327,
903,
46,
804,
64,
3281,
1560,
489,
51,
2564,
45,
1271,
312,
3281,
434,
327,
1271,
489,
51,
6401,
1177,
320,
419,
1573,
1325,
1225,
51,
2564,
45,
1184,
1325,
312,
343,
339,
222,
221,
130,
303,
339,
465,
1041,
294,
338,
4021,
11478,
456,
331,
2716,
1573,
2016,
51,
294,
338,
294,
338,
496,
772,
1573,
1325,
341,
2716,
2945,
293,
746,
294,
338,
496,
620,
341,
5193,
328,
8404,
294,
588,
303,
964,
7380,
2309,
5919,
45,
976,
1573,
1325,
46,
320,
222,
221,
2272,
5193,
299,
327,
2272,
46,
1573,
1325,
1225,
51,
390,
45,
1184,
1325,
312,
499,
221,
344,
327,
5484,
630,
762,
46,
320,
3281,
461,
15490,
51,
13070,
100,
4625,
64,
222,
221,
130,
310,
461,
5193,
64,
303,
339,
465,
1041,
294,
338,
19275,
341,
46230,
456,
556,
6454,
939,
4145,
536,
2554,
2070,
51,
294,
338,
294,
338,
496,
2987,
1401,
51,
8236,
51,
1585,
51,
1114,
2239,
40,
1113,
36164,
45,
1874,
51,
8236,
51,
1585,
51,
1114,
1167,
46,
294,
588,
303,
581,
782,
1641,
36164,
45,
1114,
1167,
503,
46,
320,
222,
221,
344,
327,
106,
51,
25518,
365,
5118,
17370,
16530,
11248,
46,
320,
343,
7032,
299,
1849,
23371,
44721,
46,
503,
51,
12244,
4269,
390,
9156,
1280,
492,
222,
221,
130,
832,
320,
453,
580,
458,
341,
22273,
456,
332,
1191,
39,
3281,
2554,
299,
327,
18676,
46,
503,
51,
12244,
492,
222,
221,
130,
222,
221,
6014,
3663,
492,
222,
221,
3266,
51,
8976,
1233,
45,
3266,
51,
17676,
1580,
2368,
45,
53,
894,
303,
339,
465,
1041,
294,
338,
496,
620,
3777,
341,
1560,
21289,
51,
294,
588,
303,
18224,
21289,
40502,
21289,
365,
320,
310,
461,
1560,
21289,
64,
303,
339,
465,
1041,
294,
338,
906,
28543,
51,
294,
588,
303,
964,
924,
1175,
1964,
19896,
299,
244,
56,
54,
56,
55,
60,
56,
55,
57,
62,
57,
56,
61,
59,
58,
59,
58,
61,
60,
53,
81,
64,
222,
130,
499
] |
[
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1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1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 6,079
| true
| 65.660317
| true
| true
|
ATCommand.java
|
/FileExtraction/Java_unseen/Niestrat99_AT-Rewritten/AdvancedTeleport-Bukkit/src/main/java/io/github/niestrat99/advancedteleport/commands/ATCommand.java
|
package io.github.niestrat99.advancedteleport.commands;
import io.github.niestrat99.advancedteleport.config.CustomMessages;
import net.kyori.adventure.text.minimessage.tag.resolver.TagResolver;
import org.bukkit.Bukkit;
import org.bukkit.command.Command;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import org.bukkit.util.StringUtil;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import java.util.ArrayList;
import java.util.List;
/** Represents the base implementation for a command in AT. */
public abstract class ATCommand implements IATCommand {
public Void handleCommandFeedback(
@Nullable final Throwable err,
@NotNull final CommandSender sender,
@NotNull final String success,
@NotNull final String failure,
@NotNull TagResolver... placeholders) {
// If an error occurred, send the error and print the stacktrace
if (err != null) {
CustomMessages.sendMessage(sender, failure, placeholders);
err.printStackTrace();
return null;
}
// Otherwise, just send the success message
CustomMessages.sendMessage(sender, success, placeholders);
return null;
}
@Override
public @Nullable List<String> onTabComplete(
@NotNull final CommandSender sender,
@NotNull final Command command,
@NotNull final String s,
@NotNull final String[] args) {
final var checkVisibility = sender instanceof Player;
final var players =
Bukkit.getOnlinePlayers()
.stream() // TODO - see how performance intensive this is (love streams)
.filter(player -> !checkVisibility || ((Player) sender).canSee(player))
.map(Player::getName)
.toList();
return StringUtil.copyPartialMatches(args[args.length - 1], players, new ArrayList<>());
}
}
| 2,032
|
Java
|
.java
|
Niestrat99/AT-Rewritten
| 34
| 16
| 17
|
2019-06-12T13:47:50Z
|
2024-05-07T19:00:51Z
|
acd0034390eaf976e08a46469712f1524fe8a7af1f5eba29e15ff5ed6deaeef7
|
[
1337,
3377,
51,
951,
51,
5177,
464,
17429,
62,
62,
51,
16986,
11448,
644,
51,
7626,
64,
222,
222,
485,
3377,
51,
951,
51,
5177,
464,
17429,
62,
62,
51,
16986,
11448,
644,
51,
1180,
51,
3414,
6389,
64,
222,
222,
485,
3723,
51,
7656,
15860,
51,
358,
20369,
51,
897,
51,
907,
531,
966,
51,
2159,
51,
15668,
51,
2649,
7266,
64,
222,
222,
485,
1105,
51,
20402,
51,
982,
17120,
64,
222,
485,
1105,
51,
20402,
51,
2514,
51,
2037,
64,
222,
485,
1105,
51,
20402,
51,
2514,
51,
2037,
10455,
64,
222,
485,
1105,
51,
20402,
51,
2244,
51,
3516,
64,
222,
485,
1105,
51,
20402,
51,
1058,
51,
48786,
64,
222,
485,
1105,
51,
15575,
51,
8839,
51,
4936,
64,
222,
485,
1105,
51,
15575,
51,
8839,
51,
6825,
64,
222,
222,
485,
1401,
51,
1058,
51,
7119,
64,
222,
485,
1401,
51,
1058,
51,
739,
64,
222,
222,
1350,
23121,
341,
1712,
4753,
456,
331,
2035,
347,
13089,
51,
588,
222,
942,
5560,
462,
13089,
2037,
4584,
457,
741,
2037,
320,
465,
581,
22962,
2902,
2037,
15362,
45,
343,
496,
6825,
1175,
9953,
1155,
49,
343,
496,
4936,
1175,
5730,
10455,
7056,
49,
343,
496,
4936,
1175,
910,
3136,
49,
343,
496,
4936,
1175,
910,
7837,
49,
343,
496,
4936,
9147,
7266,
1198,
41281,
46,
320,
310,
453,
1691,
619,
1067,
12341,
49,
3256,
341,
1067,
480,
1489,
341,
4154,
5736,
310,
434,
327,
549,
882,
762,
46,
320,
343,
6041,
6389,
51,
19693,
45,
8272,
49,
7837,
49,
41281,
312,
343,
1155,
51,
9428,
492,
343,
461,
762,
64,
310,
339,
603,
453,
12783,
49,
2277,
3256,
341,
3136,
1492,
310,
6041,
6389,
51,
19693,
45,
8272,
49,
3136,
49,
41281,
312,
310,
461,
762,
64,
303,
339,
465,
496,
1806,
303,
581,
496,
6825,
1701,
65,
671,
67,
563,
4011,
7375,
45,
343,
496,
4936,
1175,
5730,
10455,
7056,
49,
343,
496,
4936,
1175,
5730,
2035,
49,
343,
496,
4936,
1175,
910,
328,
49,
343,
496,
4936,
1175,
910,
1197,
2194,
46,
320,
310,
1175,
792,
1524,
9952,
299,
7056,
5118,
9306,
64,
310,
1175,
792,
14580,
299,
419,
2755,
17120,
51,
390,
14097,
17670,
365,
733,
657,
2255,
365,
453,
4314,
449,
2337,
2650,
7919,
648,
18702,
477,
458,
327,
26199,
18386,
46,
733,
657,
2049,
45,
3857,
984,
673,
1571,
9952,
1293,
1849,
3516,
46,
7056,
566,
3389,
7496,
45,
3857,
509,
733,
657,
1130,
45,
3516,
422,
5175,
46,
733,
657,
15341,
492,
603,
461,
910,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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 442
| true
| 65.452756
| true
| true
|
AndroidSourceSetFactory.java
|
/FileExtraction/Java_unseen/tyron12233_CodeAssist/build-tools/codeassist-builder-plugin/src/main/java/com/tyron/builder/gradle/internal/dsl/AndroidSourceSetFactory.java
|
package com.tyron.builder.gradle.internal.dsl;
import com.android.annotations.NonNull;
import com.tyron.builder.gradle.api.AndroidSourceSet;
import com.tyron.builder.gradle.internal.api.DefaultAndroidSourceSet;
import com.tyron.builder.gradle.internal.services.DslServices;
import org.gradle.api.NamedDomainObjectFactory;
import org.gradle.api.Project;
import org.gradle.api.model.ObjectFactory;
/**
* Factory to create AndroidSourceSet object using an {@link ObjectFactory} to add the DSL methods.
*/
public class AndroidSourceSetFactory implements NamedDomainObjectFactory<AndroidSourceSet> {
@NonNull private final Project project;
private final boolean publishPackage;
@NonNull private final DslServices dslServices;
/**
* Constructor for this AndroidSourceSetFactory.
*
* @param project the project for this AndroidSourceSetFactory.
* @param publishPackage true to set the package name to "publish", false to set it to "apk".
* @param dslServices dslServices of the project.
*/
public AndroidSourceSetFactory(
@NonNull Project project, boolean publishPackage, @NonNull DslServices dslServices) {
this.publishPackage = publishPackage;
this.project = project;
this.dslServices = dslServices;
}
@NonNull
@Override
public AndroidSourceSet create(@NonNull String name) {
return dslServices.newInstance(
DefaultAndroidSourceSet.class, name, project, publishPackage);
}
}
| 1,507
|
Java
|
.java
|
tyron12233/CodeAssist
| 875
| 168
| 139
|
2021-08-16T11:30:27Z
|
2023-11-09T23:59:12Z
|
3785be9a388f45c1a16d7a31ab67d210586f8a774423439edceb92a1b70053ee
|
[
1337,
785,
51,
637,
2575,
51,
4179,
51,
12209,
51,
3269,
51,
23342,
64,
222,
222,
485,
785,
51,
4048,
51,
8839,
51,
10082,
64,
222,
485,
785,
51,
637,
2575,
51,
4179,
51,
12209,
51,
1256,
51,
9213,
2044,
903,
64,
222,
485,
785,
51,
637,
2575,
51,
4179,
51,
12209,
51,
3269,
51,
1256,
51,
2061,
9213,
2044,
903,
64,
222,
485,
785,
51,
637,
2575,
51,
4179,
51,
12209,
51,
3269,
51,
4270,
51,
33525,
5466,
64,
222,
485,
1105,
51,
12209,
51,
1256,
51,
11061,
5048,
44737,
64,
222,
485,
1105,
51,
12209,
51,
1256,
51,
3214,
64,
222,
485,
1105,
51,
12209,
51,
1256,
51,
1184,
51,
44737,
64,
222,
222,
1350,
222,
338,
15590,
391,
1506,
8107,
2044,
903,
1319,
1493,
619,
3105,
1222,
2210,
2232,
130,
391,
1035,
341,
35918,
4457,
51,
222,
588,
222,
942,
462,
8107,
2044,
903,
2232,
4584,
19593,
5048,
44737,
65,
9213,
2044,
903,
67,
320,
465,
496,
10082,
964,
1175,
5426,
2091,
64,
303,
964,
1175,
1922,
6686,
4057,
64,
303,
496,
10082,
964,
1175,
493,
2021,
5466,
362,
2021,
5466,
64,
465,
1041,
294,
338,
12836,
456,
477,
8107,
2044,
903,
2232,
51,
294,
338,
294,
338,
496,
772,
2091,
341,
2091,
456,
477,
8107,
2044,
903,
2232,
51,
294,
338,
496,
772,
6686,
4057,
878,
391,
758,
341,
2670,
655,
391,
332,
7226,
411,
920,
391,
758,
580,
391,
332,
25215,
2316,
294,
338,
496,
772,
362,
2021,
5466,
362,
2021,
5466,
451,
341,
2091,
51,
294,
588,
303,
581,
8107,
2044,
903,
2232,
45,
343,
496,
10082,
5426,
2091,
49,
1922,
6686,
4057,
49,
496,
10082,
493,
2021,
5466,
362,
2021,
5466,
46,
320,
310,
477,
51,
7226,
4057,
299,
6686,
4057,
64,
310,
477,
51,
2268,
299,
2091,
64,
310,
477,
51,
23342,
5466,
299,
362,
2021,
5466,
64,
303,
339,
465,
496,
10082,
303,
496,
1806,
303,
581,
8107,
2044,
903,
1506,
4810,
10082,
910,
655,
46,
320,
310,
461,
362,
2021,
5466,
51,
20237,
45,
419,
4119,
9213,
2044,
903,
51,
842,
49,
655,
49,
2091,
49,
6686,
4057,
312,
303,
339,
222,
130,
222
] |
[
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 354
| true
| 74.585269
| true
| true
|
RTAVo.java
|
/FileExtraction/Java_unseen/IMS-MAXIMS_openMAXIMS/Source Library/openmaxims_workspace-archive/ValueObjects/src/ims/emergency/vo/RTAVo.java
|
//#############################################################################
//# #
//# Copyright (C) <2014> <IMS MAXIMS> #
//# #
//# This program is free software: you can redistribute it and/or modify #
//# it under the terms of the GNU Affero General Public License as #
//# published by the Free Software Foundation, either version 3 of the #
//# License, or (at your option) any later version. #
//# #
//# This program is distributed in the hope that it will be useful, #
//# but WITHOUT ANY WARRANTY; without even the implied warranty of #
//# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
//# GNU Affero General Public License for more details. #
//# #
//# You should have received a copy of the GNU Affero General Public License #
//# along with this program. If not, see <http://www.gnu.org/licenses/>. #
//# #
//#############################################################################
//#EOH
// This code was generated by Barbara Worwood using IMS Development Environment (version 1.80 build 5007.25751)
// Copyright (C) 1995-2014 IMS MAXIMS. All rights reserved.
// WARNING: DO NOT MODIFY the content of this file
package ims.emergency.vo;
/**
* Linked to core.admin.RTA business object (ID: 1086100000).
*/
public class RTAVo extends ims.core.admin.vo.RTARefVo implements ims.vo.ImsCloneable, Comparable
{
private static final long serialVersionUID = 1L;
public RTAVo()
{
}
public RTAVo(Integer id, int version)
{
super(id, version);
}
public RTAVo(ims.emergency.vo.beans.RTAVoBean bean)
{
this.id = bean.getId();
this.version = bean.getVersion();
this.rtatype = bean.getRTAType() == null ? null : ims.emergency.vo.lookups.RTAPatientType.buildLookup(bean.getRTAType());
this.protectiondevice = bean.getProtectionDevice() == null ? null : ims.emergency.vo.lookups.ProtectionDevice.buildLookup(bean.getProtectionDevice());
this.isdriverowner = bean.getIsDriverOwner();
this.drivername = bean.getDriverName() == null ? null : bean.getDriverName().buildVo();
this.driveraddress = bean.getDriverAddress() == null ? null : bean.getDriverAddress().buildVo();
this.notes = bean.getNotes();
this.policeinvolved = bean.getPoliceInvolved();
this.policeid = bean.getPoliceID();
this.policestation = bean.getPoliceStation() == null ? null : ims.emergency.vo.lookups.PoliceStation.buildLookup(bean.getPoliceStation());
}
public void populate(ims.vo.ValueObjectBeanMap map, ims.emergency.vo.beans.RTAVoBean bean)
{
this.id = bean.getId();
this.version = bean.getVersion();
this.rtatype = bean.getRTAType() == null ? null : ims.emergency.vo.lookups.RTAPatientType.buildLookup(bean.getRTAType());
this.protectiondevice = bean.getProtectionDevice() == null ? null : ims.emergency.vo.lookups.ProtectionDevice.buildLookup(bean.getProtectionDevice());
this.isdriverowner = bean.getIsDriverOwner();
this.drivername = bean.getDriverName() == null ? null : bean.getDriverName().buildVo(map);
this.driveraddress = bean.getDriverAddress() == null ? null : bean.getDriverAddress().buildVo(map);
this.notes = bean.getNotes();
this.policeinvolved = bean.getPoliceInvolved();
this.policeid = bean.getPoliceID();
this.policestation = bean.getPoliceStation() == null ? null : ims.emergency.vo.lookups.PoliceStation.buildLookup(bean.getPoliceStation());
}
public ims.vo.ValueObjectBean getBean()
{
return this.getBean(new ims.vo.ValueObjectBeanMap());
}
public ims.vo.ValueObjectBean getBean(ims.vo.ValueObjectBeanMap map)
{
ims.emergency.vo.beans.RTAVoBean bean = null;
if(map != null)
bean = (ims.emergency.vo.beans.RTAVoBean)map.getValueObjectBean(this);
if (bean == null)
{
bean = new ims.emergency.vo.beans.RTAVoBean();
map.addValueObjectBean(this, bean);
bean.populate(map, this);
}
return bean;
}
public Object getFieldValueByFieldName(String fieldName)
{
if(fieldName == null)
throw new ims.framework.exceptions.CodingRuntimeException("Invalid field name");
fieldName = fieldName.toUpperCase();
if(fieldName.equals("RTATYPE"))
return getRTAType();
if(fieldName.equals("PROTECTIONDEVICE"))
return getProtectionDevice();
if(fieldName.equals("ISDRIVEROWNER"))
return getIsDriverOwner();
if(fieldName.equals("DRIVERNAME"))
return getDriverName();
if(fieldName.equals("DRIVERADDRESS"))
return getDriverAddress();
if(fieldName.equals("NOTES"))
return getNotes();
if(fieldName.equals("POLICEINVOLVED"))
return getPoliceInvolved();
if(fieldName.equals("POLICEID"))
return getPoliceID();
if(fieldName.equals("POLICESTATION"))
return getPoliceStation();
return super.getFieldValueByFieldName(fieldName);
}
public boolean getRTATypeIsNotNull()
{
return this.rtatype != null;
}
public ims.emergency.vo.lookups.RTAPatientType getRTAType()
{
return this.rtatype;
}
public void setRTAType(ims.emergency.vo.lookups.RTAPatientType value)
{
this.isValidated = false;
this.rtatype = value;
}
public boolean getProtectionDeviceIsNotNull()
{
return this.protectiondevice != null;
}
public ims.emergency.vo.lookups.ProtectionDevice getProtectionDevice()
{
return this.protectiondevice;
}
public void setProtectionDevice(ims.emergency.vo.lookups.ProtectionDevice value)
{
this.isValidated = false;
this.protectiondevice = value;
}
public boolean getIsDriverOwnerIsNotNull()
{
return this.isdriverowner != null;
}
public Boolean getIsDriverOwner()
{
return this.isdriverowner;
}
public void setIsDriverOwner(Boolean value)
{
this.isValidated = false;
this.isdriverowner = value;
}
public boolean getDriverNameIsNotNull()
{
return this.drivername != null;
}
public ims.core.vo.PersonName getDriverName()
{
return this.drivername;
}
public void setDriverName(ims.core.vo.PersonName value)
{
this.isValidated = false;
this.drivername = value;
}
public boolean getDriverAddressIsNotNull()
{
return this.driveraddress != null;
}
public ims.core.vo.PersonAddress getDriverAddress()
{
return this.driveraddress;
}
public void setDriverAddress(ims.core.vo.PersonAddress value)
{
this.isValidated = false;
this.driveraddress = value;
}
public boolean getNotesIsNotNull()
{
return this.notes != null;
}
public String getNotes()
{
return this.notes;
}
public static int getNotesMaxLength()
{
return 255;
}
public void setNotes(String value)
{
this.isValidated = false;
this.notes = value;
}
public boolean getPoliceInvolvedIsNotNull()
{
return this.policeinvolved != null;
}
public Boolean getPoliceInvolved()
{
return this.policeinvolved;
}
public void setPoliceInvolved(Boolean value)
{
this.isValidated = false;
this.policeinvolved = value;
}
public boolean getPoliceIDIsNotNull()
{
return this.policeid != null;
}
public String getPoliceID()
{
return this.policeid;
}
public static int getPoliceIDMaxLength()
{
return 40;
}
public void setPoliceID(String value)
{
this.isValidated = false;
this.policeid = value;
}
public boolean getPoliceStationIsNotNull()
{
return this.policestation != null;
}
public ims.emergency.vo.lookups.PoliceStation getPoliceStation()
{
return this.policestation;
}
public void setPoliceStation(ims.emergency.vo.lookups.PoliceStation value)
{
this.isValidated = false;
this.policestation = value;
}
public boolean isValidated()
{
if(this.isBusy)
return true;
this.isBusy = true;
if(!this.isValidated)
{
this.isBusy = false;
return false;
}
if(this.drivername != null)
{
if(!this.drivername.isValidated())
{
this.isBusy = false;
return false;
}
}
if(this.driveraddress != null)
{
if(!this.driveraddress.isValidated())
{
this.isBusy = false;
return false;
}
}
this.isBusy = false;
return true;
}
public String[] validate()
{
return validate(null);
}
public String[] validate(String[] existingErrors)
{
if(this.isBusy)
return null;
this.isBusy = true;
java.util.ArrayList<String> listOfErrors = new java.util.ArrayList<String>();
if(existingErrors != null)
{
for(int x = 0; x < existingErrors.length; x++)
{
listOfErrors.add(existingErrors[x]);
}
}
if(this.rtatype == null)
listOfErrors.add("RTAType is mandatory");
if(this.isdriverowner == null)
listOfErrors.add("isDriverOwner is mandatory");
if(this.drivername != null)
{
String[] listOfOtherErrors = this.drivername.validate();
if(listOfOtherErrors != null)
{
for(int x = 0; x < listOfOtherErrors.length; x++)
{
listOfErrors.add(listOfOtherErrors[x]);
}
}
}
if(this.driveraddress != null)
{
String[] listOfOtherErrors = this.driveraddress.validate();
if(listOfOtherErrors != null)
{
for(int x = 0; x < listOfOtherErrors.length; x++)
{
listOfErrors.add(listOfOtherErrors[x]);
}
}
}
if(this.notes != null)
if(this.notes.length() > 255)
listOfErrors.add("The length of the field [notes] in the value object [ims.emergency.vo.RTAVo] is too big. It should be less or equal to 255");
if(this.policeid != null)
if(this.policeid.length() > 40)
listOfErrors.add("The length of the field [policeid] in the value object [ims.emergency.vo.RTAVo] is too big. It should be less or equal to 40");
int errorCount = listOfErrors.size();
if(errorCount == 0)
{
this.isBusy = false;
this.isValidated = true;
return null;
}
String[] result = new String[errorCount];
for(int x = 0; x < errorCount; x++)
result[x] = (String)listOfErrors.get(x);
this.isBusy = false;
this.isValidated = false;
return result;
}
public void clearIDAndVersion()
{
this.id = null;
this.version = 0;
}
public Object clone()
{
if(this.isBusy)
return this;
this.isBusy = true;
RTAVo clone = new RTAVo(this.id, this.version);
if(this.rtatype == null)
clone.rtatype = null;
else
clone.rtatype = (ims.emergency.vo.lookups.RTAPatientType)this.rtatype.clone();
if(this.protectiondevice == null)
clone.protectiondevice = null;
else
clone.protectiondevice = (ims.emergency.vo.lookups.ProtectionDevice)this.protectiondevice.clone();
clone.isdriverowner = this.isdriverowner;
if(this.drivername == null)
clone.drivername = null;
else
clone.drivername = (ims.core.vo.PersonName)this.drivername.clone();
if(this.driveraddress == null)
clone.driveraddress = null;
else
clone.driveraddress = (ims.core.vo.PersonAddress)this.driveraddress.clone();
clone.notes = this.notes;
clone.policeinvolved = this.policeinvolved;
clone.policeid = this.policeid;
if(this.policestation == null)
clone.policestation = null;
else
clone.policestation = (ims.emergency.vo.lookups.PoliceStation)this.policestation.clone();
clone.isValidated = this.isValidated;
this.isBusy = false;
return clone;
}
public int compareTo(Object obj)
{
return compareTo(obj, true);
}
public int compareTo(Object obj, boolean caseInsensitive)
{
if (obj == null)
{
return -1;
}
if(caseInsensitive); // this is to avoid eclipse warning only.
if (!(RTAVo.class.isAssignableFrom(obj.getClass())))
{
throw new ClassCastException("A RTAVo object cannot be compared an Object of type " + obj.getClass().getName());
}
if (this.id == null)
return 1;
if (((RTAVo)obj).getBoId() == null)
return -1;
return this.id.compareTo(((RTAVo)obj).getBoId());
}
public synchronized static int generateValueObjectUniqueID()
{
return ims.vo.ValueObject.generateUniqueID();
}
public int countFieldsWithValue()
{
int count = 0;
if(this.rtatype != null)
count++;
if(this.protectiondevice != null)
count++;
if(this.isdriverowner != null)
count++;
if(this.drivername != null)
count++;
if(this.driveraddress != null)
count++;
if(this.notes != null)
count++;
if(this.policeinvolved != null)
count++;
if(this.policeid != null)
count++;
if(this.policestation != null)
count++;
return count;
}
public int countValueObjectFields()
{
return 9;
}
protected ims.emergency.vo.lookups.RTAPatientType rtatype;
protected ims.emergency.vo.lookups.ProtectionDevice protectiondevice;
protected Boolean isdriverowner;
protected ims.core.vo.PersonName drivername;
protected ims.core.vo.PersonAddress driveraddress;
protected String notes;
protected Boolean policeinvolved;
protected String policeid;
protected ims.emergency.vo.lookups.PoliceStation policestation;
private boolean isValidated = false;
private boolean isBusy = false;
}
| 13,026
|
Java
|
.java
|
IMS-MAXIMS/openMAXIMS
| 61
| 50
| 23
|
2014-06-12T12:04:02Z
|
2020-07-31T09:34:49Z
|
df053f6cecd4ae7dfcbebb416eaeef046f63333fd7eaae04c703778700134e17
|
[
325,
19989,
8689,
222,
16802,
42053,
607,
222,
16802,
244,
2657,
327,
72,
46,
350,
55,
53,
54,
57,
67,
244,
350,
2348,
88,
7490,
2348,
88,
67,
22768,
607,
222,
16802,
42053,
607,
222,
16802,
244,
1369,
3477,
458,
3760,
2951,
63,
863,
902,
14081,
580,
480,
52,
290,
5370,
281,
607,
222,
16802,
244,
580,
1549,
341,
5974,
451,
341,
6994,
30994,
6153,
5062,
1196,
641,
2281,
607,
222,
16802,
244,
9582,
829,
341,
7834,
3870,
7120,
49,
3173,
1522,
244,
56,
451,
341,
981,
607,
222,
16802,
244,
1196,
49,
575,
327,
288,
1390,
2489,
46,
1364,
6146,
1522,
51,
10094,
607,
244,
222,
16802,
42053,
607,
222,
16802,
244,
1369,
3477,
458,
2744,
347,
341,
9850,
708,
580,
1118,
545,
6386,
49,
2052,
607,
222,
16802,
244,
1294,
4213,
2979,
9345,
64,
2895,
4462,
341,
4506,
14319,
451,
2281,
607,
222,
16802,
244,
7934,
575,
8114,
4800,
418,
7848,
7763,
51,
244,
2819,
341,
1485,
607,
222,
16802,
244,
6994,
30994,
6153,
5062,
1196,
456,
1851,
4261,
51,
7223,
607,
222,
16802,
42053,
607,
222,
16802,
244,
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
30994,
6153,
5062,
1196,
607,
222,
16802,
244,
7979,
642,
477,
3477,
51,
244,
1691,
666,
49,
2337,
350,
544,
574,
1516,
51,
10627,
51,
1107,
52,
4205,
28699,
283,
607,
222,
16802,
42053,
607,
222,
325,
19989,
8689,
222,
16802,
10207,
77,
222,
325,
1369,
1361,
1616,
4741,
829,
11489,
39305,
643,
290,
21100,
1493,
457,
2758,
15606,
10584,
327,
1687,
244,
54,
51,
61,
53,
1984,
244,
58,
53,
53,
60,
51,
55,
58,
60,
58,
54,
46,
222,
325,
2657,
327,
72,
46,
244,
54,
62,
62,
58,
50,
55,
53,
54,
57,
457,
2758,
7490,
2348,
88,
51,
3381,
4760,
5225,
51,
222,
325,
18226,
63,
4103,
2387,
24110,
341,
1813,
451,
477,
822,
222,
222,
1337,
3987,
120,
51,
423,
37770,
51,
2103,
64,
222,
222,
1350,
222,
338,
18218,
391,
5305,
51,
2317,
51,
4477,
70,
12609,
1319,
327,
798,
63,
244,
54,
53,
61,
59,
54,
53,
53,
53,
53,
53,
566,
222,
588,
222,
942,
462,
16225,
4583,
116,
2041,
3987,
120,
51,
1284,
51,
2317,
51,
2103,
51,
4477,
70,
2099,
12536,
4584,
3987,
120,
51,
2103,
51,
78,
893,
11533,
463,
49,
40363,
222,
128,
222,
221,
2072,
924,
1175,
1964,
19896,
299,
244,
54,
81,
64,
499,
221,
942,
16225,
4583,
116,
365,
222,
221,
128,
222,
221,
130,
222,
221,
942,
16225,
4583,
116,
45,
3078,
828,
49,
648,
1522,
46,
222,
221,
128,
376,
221,
5282,
45,
333,
49,
1522,
312,
222,
221,
130,
222,
221,
942,
16225,
4583,
116,
45,
16178,
51,
423,
37770,
51,
2103,
51,
9580,
51,
4477,
4583,
116,
5358,
15999,
46,
222,
221,
128,
376,
221,
597,
51,
333,
299,
15999,
51,
7068,
492,
376,
221,
597,
51,
1687,
299,
15999,
51,
31982,
492,
376,
221,
597,
51,
2069,
12298,
299,
15999,
51,
390,
4477,
70,
638,
365,
630,
762,
1037,
762,
518,
3987,
120,
51,
423,
37770,
51,
2103,
51,
6436,
9026,
51,
4477,
1910,
288,
1633,
638,
51,
1848,
10138,
45,
12455,
51,
390,
4477,
70,
638,
1052,
376,
221,
597,
51,
25328,
2949,
299,
15999,
51,
390,
20508,
3046,
365,
630,
762,
1037,
762,
518,
3987,
120,
51,
423,
37770,
51,
2103,
51,
6436,
9026,
51,
20508,
3046,
51,
1848,
10138,
45,
12455,
51,
390,
20508,
3046,
1052,
376,
221,
597,
51,
316,
5381,
5645,
299,
15999,
51,
43448,
6641,
6456,
492,
376,
221,
597,
51,
5381,
444,
299,
15999,
51,
390,
6641,
577,
365,
630,
762,
1037,
762,
518,
15999,
51,
390,
6641,
577,
941,
1848,
12536,
492,
376,
221,
597,
51,
5381,
2485,
299,
15999,
51,
390,
6641,
2455,
365,
630,
762,
1037,
762,
518,
15999,
51,
390,
6641,
2455,
941,
1848,
12536,
492,
376,
221,
597,
51,
8903,
299,
15999,
51,
390,
11440,
492,
376,
221,
597,
51,
3435,
584,
285,
32816,
299,
15999,
51,
390,
9765,
584,
402,
32816,
492,
376,
221,
597,
51,
3435,
584,
333,
299,
15999,
51,
390,
9765,
584,
798,
492,
376,
221,
597,
51,
117,
2092,
464,
387,
299,
15999,
51,
390,
9765,
584,
16554,
365,
630,
762,
1037,
762,
518,
3987,
120,
51,
423,
37770,
51,
2103,
51,
6436,
9026,
51,
9765,
584,
16554,
51,
1848,
10138,
45,
12455,
51,
390,
9765,
584,
16554,
1052,
222,
221,
130,
222,
221,
942,
782,
18985,
45,
16178,
51,
2103,
51,
43984,
5358,
1225,
2010,
49,
3987,
120,
51,
423,
37770,
51,
2103,
51,
9580,
51,
4477,
4583,
116,
5358,
15999,
46,
222,
221,
128,
376,
221,
597,
51,
333,
299,
15999,
51,
7068,
492,
376,
221,
597,
51,
1687,
299,
15999,
51,
31982,
492,
376,
221,
597,
51,
2069,
12298,
299,
15999,
51,
390,
4477,
70,
638,
365,
630,
762,
1037,
762,
518,
3987,
120,
51,
423,
37770,
51,
2103,
51,
6436,
9026,
51,
4477,
1910,
288,
1633,
638,
51,
1848,
10138,
45,
12455,
51,
390,
4477,
70,
638,
1052,
376,
221,
597,
51,
25328,
2949,
299,
15999,
51,
390,
20508,
3046,
365,
630,
762,
1037,
762,
518,
3987,
120,
51,
423,
37770,
51,
2103,
51,
6436,
9026,
51,
20508,
3046,
51,
1848,
10138,
45,
12455,
51,
390,
20508,
3046,
1052,
376,
221,
597,
51,
316,
5381,
5645,
299,
15999,
51,
43448,
6641,
6456,
492,
376,
221,
597,
51,
5381,
444,
299,
15999,
51,
390,
6641,
577,
365,
630,
762,
1037,
762,
518,
15999,
51,
390,
6641,
577,
941,
1848,
12536,
45,
1130,
312,
376,
221,
597,
51,
5381,
2485,
299,
15999,
51,
390,
6641,
2455,
365,
630,
762,
1037,
762,
518,
15999,
51,
390,
6641,
2455,
941,
1848,
12536,
45,
1130,
312,
376,
221,
597,
51,
8903,
299,
15999,
51,
390,
11440,
492,
376,
221,
597,
51,
3435,
584,
285,
32816,
299,
15999,
51,
390,
9765,
584,
402,
32816,
492,
376,
221,
597,
51,
3435,
584,
333,
299,
15999,
51,
390,
9765,
584,
798,
492,
376,
221,
597,
51,
117,
2092,
464,
387,
299,
15999,
51,
390,
9765,
584,
16554,
365,
630,
762,
1037,
762,
518,
3987,
120,
51,
423,
37770,
51,
2103,
51,
6436,
9026,
51,
9765,
584,
16554,
51,
1848,
10138,
45,
12455,
51,
390,
9765,
584,
16554,
1052,
222,
221,
130,
222,
221,
942,
3987,
120,
51,
2103,
51,
43984,
5358,
640,
5358,
365,
222,
221,
128,
376,
221,
620,
477,
51,
39497,
45,
909,
3987,
120,
51,
2103,
51,
43984,
5358,
1225,
1052,
222,
221,
130,
222,
221,
942,
3987,
120,
51,
2103,
51,
43984,
5358,
640,
5358,
45,
16178,
51,
2103,
51,
43984,
5358,
1225,
2010,
46,
222,
221,
128,
376,
221,
16178,
51,
423,
37770,
51,
2103,
51,
9580,
51,
4477,
4583,
116,
5358,
15999,
299,
762,
64,
376,
221,
344,
45,
1130,
882,
762,
46,
374,
221,
12455,
299,
327,
16178,
51,
423,
37770,
51,
2103,
51,
9580,
51,
4477,
4583,
116,
5358,
46,
1130,
51,
6693,
976,
5358,
45,
597,
312,
376,
221,
344,
327,
12455,
630,
762,
46,
376,
221,
128,
374,
221,
12455,
299,
556,
3987,
120,
51,
423,
37770,
51,
2103,
51,
9580,
51,
4477,
4583,
116,
5358,
492,
374,
221,
1130,
51,
688,
43984,
5358,
45,
597,
49,
15999,
312,
374,
221,
12455,
51,
22966,
45,
1130,
49,
477,
312,
376,
221,
130,
376,
221,
620,
15999,
64,
222,
221,
130,
222,
221,
942,
2210,
640,
23413,
1103,
20484,
45,
671,
22759,
46,
222,
221,
128,
376,
221,
344,
45,
19216,
630,
762,
46,
374,
221,
5267,
556,
3987,
120,
51,
2863,
51,
11453,
51,
27406,
19296,
459,
3828,
1620,
655,
742,
376,
221,
19216,
299,
22759,
51,
18068,
492,
376,
221,
344,
45,
19216,
51,
3591,
459,
4477,
741,
6038,
2152,
374,
221,
620,
640,
4477,
70,
638,
492,
376,
221,
344,
45,
19216,
51,
3591,
459,
2398,
1731,
2682,
10553,
2152,
374,
221,
620,
640,
20508,
3046,
492,
376,
221,
344,
45,
19216,
51,
3591,
459,
1309,
21364,
31980,
2152,
374,
221,
620,
640,
1640,
6641,
6456,
492,
376,
221,
344,
45,
19216,
51,
3591,
459,
21364,
2491,
2152,
374,
221,
620,
640,
6641,
577,
492,
376,
221,
344,
45,
19216,
51,
3591,
459,
21364,
12351,
2152,
374,
221,
620,
640,
6641,
2455,
492,
376,
221,
344,
45,
19216,
51,
3591,
459,
37525,
2152,
374,
221,
620,
640,
11440,
492,
376,
221,
344,
45,
19216,
51,
3591,
459,
11640,
4563,
540,
18467,
16769,
2152,
374,
221,
620,
640,
9765,
584,
402,
32816,
492,
376,
221,
344,
45,
19216,
51,
3591,
459,
11640,
4563,
798,
2152,
374,
221,
620,
640,
9765,
584,
798,
492,
376,
221,
344,
45,
19216,
51,
3591,
459,
11640,
1122,
4143,
2909,
2152,
374,
221,
620,
640,
9765,
584,
16554,
492,
376,
221,
620,
2615,
51,
18257,
899,
1103,
20484,
45,
19216,
312,
222,
221,
130,
222,
221,
942,
1922,
640,
4477,
70,
638,
25183,
365,
222,
221,
128,
376,
221,
620,
477,
51,
2069,
12298,
882,
762,
64,
222,
221,
130,
222,
221,
942,
3987,
120,
51,
423,
37770,
51,
2103,
51,
6436,
9026,
51,
4477,
1910,
288,
1633,
638,
640,
4477,
70,
638,
365,
222,
221,
128,
376,
221,
620,
477,
51,
2069,
12298,
64,
222,
221,
130,
222,
221,
942,
782,
758,
4477,
70,
638,
45,
16178,
51,
423,
37770,
51,
2103,
51,
6436,
9026,
51,
4477,
1910,
288,
1633,
638,
804,
46,
222,
221,
128,
376,
221,
597,
51,
13431,
751,
299,
920,
64,
376,
221,
597,
51,
2069,
12298,
299,
804,
64,
222,
221,
130,
222,
221,
942,
1922,
640,
20508,
3046,
25183,
365,
222,
221,
128,
376,
221,
620,
477,
51,
25328,
2949,
882,
762,
64,
222,
221,
130,
222,
221,
942,
3987,
120,
51,
423,
37770,
51,
2103,
51,
6436,
9026,
51,
20508,
3046,
640,
20508,
3046,
365,
222,
221,
128,
376,
221,
620,
477,
51,
25328,
2949,
64,
222,
221,
130,
222,
221,
942,
782,
758,
20508,
3046,
45,
16178,
51,
423,
37770,
51,
2103,
51,
6436,
9026,
51,
20508,
3046,
804,
46,
222,
221,
128,
376,
221,
597,
51,
13431,
751,
299,
920,
64,
376,
221,
597,
51,
25328,
2949,
299,
804,
64,
222,
221,
130,
222,
221,
942,
1922,
640,
1640,
6641,
6456,
25183,
365,
222,
221,
128,
376,
221,
620,
477,
51,
316,
5381,
5645,
882,
762,
64,
222,
221,
130,
222,
221,
942,
5080,
640,
1640,
6641,
6456,
365,
222,
221,
128,
376,
221,
620,
477,
51,
316,
5381,
5645,
64,
222,
221,
130,
222,
221,
942,
782,
26502,
6641,
6456,
45,
4718,
804,
46,
222,
221,
128,
376,
221,
597,
51,
13431,
751,
299,
920,
64,
376,
221,
597,
51,
316,
5381,
5645,
299,
804,
64,
222,
221,
130,
222,
221,
942,
1922,
640,
6641,
577,
25183,
365,
222,
221,
128,
376,
221,
620,
477,
51,
5381,
444,
882,
762,
64,
222,
221,
130,
222,
221,
942,
3987,
120,
51,
1284,
51,
2103,
51,
6016,
577,
640,
6641,
577,
365,
222,
221,
128,
376,
221,
620,
477,
51,
5381,
444,
64,
222,
221,
130,
222,
221,
942,
782,
758,
6641,
577,
45,
16178,
51,
1284,
51,
2103,
51,
6016,
577,
804,
46,
222,
221,
128,
376,
221,
597,
51,
13431,
751,
299,
920,
64,
376,
221,
597,
51,
5381,
444,
299,
804,
64,
222,
221,
130,
222,
221,
942,
1922,
640,
6641,
2455,
25183,
365,
222,
221,
128,
376,
221,
620,
477,
51,
5381,
2485,
882,
762,
64,
222,
221,
130,
222,
221,
942,
3987,
120,
51,
1284,
51,
2103,
51,
6016,
2455,
640,
6641,
2455,
365,
222,
221,
128,
376,
221,
620,
477,
51,
5381,
2485,
64,
222,
221,
130,
222,
221,
942,
782,
758,
6641,
2455,
45,
16178,
51,
1284,
51,
2103,
51,
6016,
2455,
804,
46,
222,
221,
128,
376,
221,
597,
51,
13431,
751,
299,
920,
64,
376,
221,
597,
51,
5381,
2485,
299,
804,
64,
222,
221,
130,
222,
221,
942,
1922,
640,
11440,
25183,
365,
222,
221,
128,
376,
221,
620,
477,
51,
8903,
882,
762,
64,
222,
221,
130,
222,
221,
942,
910,
640,
11440,
365,
222,
221,
128,
376,
221,
620,
477,
51,
8903,
64,
222,
221,
130,
222,
221,
942,
924,
648,
640,
11440,
25935,
365,
222,
221,
128,
376,
221,
620,
244,
55,
58,
58,
64,
222,
221,
130,
222,
221,
942,
782,
758,
11440,
45,
671,
804,
46,
222,
221,
128,
376,
221,
597,
51,
13431,
751,
299,
920,
64,
376,
221,
597,
51,
8903,
299,
804,
64,
222,
221,
130,
222,
221,
942,
1922,
640,
9765,
584,
402,
32816,
25183,
365,
222,
221,
128,
376,
221,
620,
477,
51,
3435,
584,
285,
32816,
882,
762,
64,
222,
221,
130,
222,
221,
942,
5080,
640,
9765,
584,
402,
32816,
365,
222,
221,
128,
376,
221,
620,
477,
51,
3435,
584,
285,
32816,
64,
222,
221,
130,
222,
221,
942,
782,
758,
9765,
584,
402,
32816,
45,
4718,
804,
46,
222,
221,
128,
376,
221,
597,
51,
13431,
751,
299,
920,
64,
376,
221,
597,
51,
3435,
584,
285,
32816,
299,
804,
64,
222,
221,
130,
222,
221,
942,
1922,
640,
9765,
584,
798,
25183,
365,
222,
221,
128,
376,
221,
620,
477,
51,
3435,
584,
333,
882,
762,
64,
222,
221,
130,
222,
221,
942,
910,
640,
9765,
584,
798,
365,
222,
221,
128,
376,
221,
620,
477,
51,
3435,
584,
333,
64,
222,
221,
130,
222,
221,
942,
924,
648,
640,
9765,
584,
798,
25935,
365,
222,
221,
128,
376,
221,
620,
244,
57,
53,
64,
222,
221,
130,
222,
221,
942,
782,
758,
9765,
584,
798,
45,
671,
804,
46,
222,
221,
128,
376,
221,
597,
51,
13431,
751,
299,
920,
64,
376,
221,
597,
51,
3435,
584,
333,
299,
804,
64,
222,
221,
130,
222,
221,
942,
1922,
640,
9765,
584,
16554,
25183,
365,
222,
221,
128,
376,
221,
620,
477,
51,
117,
2092,
464,
387,
882,
762,
64,
222,
221,
130,
222,
221,
942,
3987,
120,
51,
423,
37770,
51,
2103,
51,
6436,
9026,
51,
9765,
584,
16554,
640,
9765,
584,
16554,
365,
222,
221,
128,
376,
221,
620,
477,
51,
117,
2092,
464,
387,
64,
222,
221,
130,
222,
221,
942,
782,
758,
9765,
584,
16554,
45,
16178,
51,
423,
37770,
51,
2103,
51,
6436,
9026,
51,
9765,
584,
16554,
804,
46,
222,
221,
128,
376,
221,
597,
51,
13431,
751,
299,
920,
64,
376,
221,
597,
51,
117,
2092,
464,
387,
299,
804,
64,
222,
221,
130,
222,
221,
942,
1922,
20424,
751,
365,
222,
221,
128,
376,
221,
344,
45,
597,
51,
316,
27521,
46,
374,
221,
620,
878,
64,
376,
221,
597,
51,
316,
27521,
299,
878,
64,
15778,
221,
344,
3848,
597,
51,
13431,
751,
46,
376,
221,
128,
374,
221,
597,
51,
316,
27521,
299,
920,
64,
374,
221,
620,
920,
64,
376,
221,
130,
376,
221,
344,
45,
597,
51,
5381,
444,
882,
762,
46,
376,
221,
128,
374,
221,
344,
3848,
597,
51,
5381,
444,
51,
13431,
751,
1177,
374,
221,
128,
621,
221,
597,
51,
316,
27521,
299,
920,
64,
621,
221,
620,
920,
64,
374,
221,
130,
376,
221,
130,
376,
221,
344,
45,
597,
51,
5381,
2485,
882,
762,
46,
376,
221,
128,
374,
221,
344,
3848,
597,
51,
5381,
2485,
51,
13431,
751,
1177,
374,
221,
128,
621,
221,
597,
51,
316,
27521,
299,
920,
64,
621,
221,
620,
920,
64,
374,
221,
130,
376,
221,
130,
376,
221,
597,
51,
316,
27521,
299,
920,
64,
376,
221,
620,
878,
64,
222,
221,
130,
222,
221,
942,
910,
1197,
6051,
365,
222,
221,
128,
376,
221,
620,
6051,
45,
1710,
312,
222,
221,
130,
222,
221,
942,
910,
1197,
6051,
45,
671,
1197,
4917,
7362,
46,
222,
221,
128,
376,
221,
344,
45,
597,
51,
316,
27521,
46,
374,
221,
620,
762,
64,
376,
221,
597,
51,
316,
27521,
299,
878,
64,
15778,
221,
1874,
51,
1058,
51,
7119,
65,
671,
67,
23052,
7362,
299,
556,
1401,
51,
1058,
51,
7119,
65,
671,
2938,
376,
221,
344,
45,
12736,
7362,
882,
762,
46,
376,
221,
128,
374,
221,
999,
45,
429,
837,
299,
244,
53,
64,
837,
350,
4917,
7362,
51,
1340,
64,
837,
2002,
374,
221,
128,
621,
221,
34756,
7362,
51,
688,
45,
12736,
7362,
96,
125,
2004,
374,
221,
130,
376,
221,
130,
376,
221,
344,
45,
597,
51,
2069,
12298,
630,
762,
46,
374,
221,
34756,
7362,
51,
688,
459,
4477,
70,
638,
458,
22982,
742,
376,
221,
344,
45,
597,
51,
316,
5381,
5645,
630,
762,
46,
374,
221,
34756,
7362,
51,
688,
459,
316,
6641,
6456,
458,
22982,
742,
376,
221,
344,
45,
597,
51,
5381,
444,
882,
762,
46,
376,
221,
128,
374,
221,
671,
1197,
23052,
8394,
7362,
299,
477,
51,
5381,
444,
51,
4647,
492,
374,
221,
344,
45,
34756,
8394,
7362,
882,
762,
46,
374,
221,
128,
621,
221,
999,
45,
429,
837,
299,
244,
53,
64,
837,
350,
23052,
8394,
7362,
51,
1340,
64,
837,
2002,
621,
221,
128,
596,
221,
34756,
7362,
51,
688,
45,
34756,
8394,
7362,
96,
125,
2004,
621,
221,
130,
374,
221,
130,
376,
221,
130,
376,
221,
344,
45,
597,
51,
5381,
2485,
882,
762,
46,
376,
221,
128,
374,
221,
671,
1197,
23052,
8394,
7362,
299,
477,
51,
5381,
2485,
51,
4647,
492,
374,
221,
344,
45,
34756,
8394,
7362,
882,
762,
46,
374,
221,
128,
621,
221,
999,
45,
429,
837,
299,
244,
53,
64,
837,
350,
23052,
8394,
7362,
51,
1340,
64,
837,
2002,
621,
221,
128,
596,
221,
34756,
7362,
51,
688,
45,
34756,
8394,
7362,
96,
125,
2004,
621,
221,
130,
374,
221,
130,
376,
221,
130,
376,
221,
344,
45,
597,
51,
8903,
882,
762,
46,
374,
221,
344,
45,
597,
51,
8903,
51,
1340,
365,
868,
244,
55,
58,
58,
46,
621,
221,
34756,
7362,
51,
688,
459,
1338,
3124,
451,
341,
1620,
447,
8903,
98,
347,
341,
804,
1319,
447,
16178,
51,
423,
37770,
51,
2103,
51,
4477,
4583,
116,
98,
458,
5150,
6546,
51,
2048,
1414,
545,
6717,
575,
5058,
391,
244,
55,
58,
58,
742,
376,
221,
344,
45,
597,
51,
3435,
584,
333,
882,
762,
46,
374,
221,
344,
45,
597,
51,
3435,
584,
333,
51,
1340,
365,
868,
244,
57,
53,
46,
621,
221,
34756,
7362,
51,
688,
459,
1338,
3124,
451,
341,
1620,
447,
3435,
584,
333,
98,
347,
341,
804,
1319,
447,
16178,
51,
423,
37770,
51,
2103,
51,
4477,
4583,
116,
98,
458,
5150,
6546,
51,
2048,
1414,
545,
6717,
575,
5058,
391,
244,
57,
53,
742,
376,
221,
429,
1067,
1552,
299,
23052,
7362,
51,
911,
492,
376,
221,
344,
45,
750,
1552,
630,
244,
53,
46,
376,
221,
128,
374,
221,
597,
51,
316,
27521,
299,
920,
64,
374,
221,
597,
51,
13431,
751,
299,
878,
64,
374,
221,
620,
762,
64,
376,
221,
130,
376,
221,
671,
1197,
1074,
299,
556,
910,
96,
750,
1552,
988,
376,
221,
999,
45,
429,
837,
299,
244,
53,
64,
837,
350,
1067,
1552,
64,
837,
2002,
374,
221,
1285,
96,
125,
98,
299,
327,
671,
46,
34756,
7362,
51,
390,
45,
125,
312,
376,
221,
597,
51,
316,
27521,
299,
920,
64,
376,
221,
597,
51,
13431,
751,
299,
920,
64,
376,
221,
620,
1074,
64,
222,
221,
130,
222,
221,
942,
782,
4250,
798,
2199,
2080,
365,
222,
221,
128,
376,
221,
597,
51,
333,
299,
762,
64,
376,
221,
597,
51,
1687,
299,
244,
53,
64,
222,
221,
130,
222,
221,
942,
2210,
7905,
365,
222,
221,
128,
376,
221,
344,
45,
597,
51,
316,
27521,
46,
374,
221,
620,
477,
64,
376,
221,
597,
51,
316,
27521,
299,
878,
64,
15778,
221,
4477,
4583,
116,
7905,
299,
556,
16225,
4583,
116,
45,
597,
51,
333,
49,
477,
51,
1687,
312,
4102,
221,
344,
45,
597,
51,
2069,
12298,
630,
762,
46,
374,
221,
6371,
51,
2069,
12298,
299,
762,
64,
376,
221,
728,
374,
221,
6371,
51,
2069,
12298,
299,
327,
16178,
51,
423,
37770,
51,
2103,
51,
6436,
9026,
51,
4477,
1910,
288,
1633,
638,
46,
597,
51,
2069,
12298,
51,
6371,
492,
376,
221,
344,
45,
597,
51,
25328,
2949,
630,
762,
46,
374,
221,
6371,
51,
25328,
2949,
299,
762,
64,
376,
221,
728,
374,
221,
6371,
51,
25328,
2949,
299,
327,
16178,
51,
423,
37770,
51,
2103,
51,
6436,
9026,
51,
20508,
3046,
46,
597,
51,
25328,
2949,
51,
6371,
492,
376,
221,
6371,
51,
316,
5381,
5645,
299,
477,
51,
316,
5381,
5645,
64,
376,
221,
344,
45,
597,
51,
5381,
444,
630,
762,
46,
374,
221,
6371,
51,
5381,
444,
299,
762,
64,
376,
221,
728,
374,
221,
6371,
51,
5381,
444,
299,
327,
16178,
51,
1284,
51,
2103,
51,
6016,
577,
46,
597,
51,
5381,
444,
51,
6371,
492,
376,
221,
344,
45,
597,
51,
5381,
2485,
630,
762,
46,
374,
221,
6371,
51,
5381,
2485,
299,
762,
64,
376,
221,
728,
374,
221,
6371,
51,
5381,
2485,
299,
327,
16178,
51,
1284,
51,
2103,
51,
6016,
2455,
46,
597,
51,
5381,
2485,
51,
6371,
492,
376,
221,
6371,
51,
8903,
299,
477,
51,
8903,
64,
376,
221,
6371,
51,
3435,
584,
285,
32816,
299,
477,
51,
3435,
584,
285,
32816,
64,
376,
221,
6371,
51,
3435,
584,
333,
299,
477,
51,
3435,
584,
333,
64,
376,
221,
344,
45,
597,
51,
117,
2092,
464,
387,
630,
762,
46,
374,
221,
6371,
51,
117,
2092,
464,
387,
299,
762,
64,
376,
221,
728,
374,
221,
6371,
51,
117,
2092,
464,
387,
299,
327,
16178,
51,
423,
37770,
51,
2103,
51,
6436,
9026,
51,
9765,
584,
16554,
46,
597,
51,
117,
2092,
464,
387,
51,
6371,
492,
376,
221,
6371,
51,
13431,
751,
299,
477,
51,
13431,
751,
64,
4102,
221,
597,
51,
316,
27521,
299,
920,
64,
376,
221,
620,
7905,
64,
222,
221,
130,
222,
221,
942,
648,
8910,
724,
45,
976,
2847,
46,
222,
221,
128,
376,
221,
620,
8910,
724,
45,
2085,
49,
878,
312,
222,
221,
130,
222,
221,
942,
648,
8910,
724,
45,
976,
2847,
49,
1922,
1152,
6916,
10477,
46,
222,
221,
128,
376,
221,
344,
327,
2085,
630,
762,
46,
376,
221,
128,
374,
221,
620,
449,
54,
64,
376,
221,
130,
376,
221,
344,
45,
1749,
6916,
10477,
312,
453,
477,
458,
391,
7373,
11050,
6522,
5987,
1773,
51,
376,
221,
344,
11014,
4477,
4583,
116,
51,
842,
51,
45162,
45,
2085,
51,
9699,
28237,
376,
221,
128,
374,
221,
5267,
556,
1727,
36886,
459,
70,
16225,
4583,
116,
1319,
4897,
545,
19187,
619,
2210,
451,
847,
332,
494,
2847,
51,
9699,
941,
5175,
1052,
376,
221,
130,
376,
221,
344,
327,
597,
51,
333,
630,
762,
46,
374,
221,
620,
244,
54,
64,
376,
221,
344,
8587,
4477,
4583,
116,
46,
2085,
566,
390,
5558,
625,
365,
630,
762,
46,
374,
221,
620,
449,
54,
64,
376,
221,
620,
477,
51,
333,
51,
23879,
7738,
4477,
4583,
116,
46,
2085,
566,
390,
5558,
625,
1052,
222,
221,
130,
222,
221,
942,
13436,
924,
648,
4468,
43984,
10186,
798,
365,
222,
221,
128,
376,
221,
620,
3987,
120,
51,
2103,
51,
43984,
51,
5555,
10186,
798,
492,
222,
221,
130,
222,
221,
942,
648,
2409,
4152,
33779,
365,
222,
221,
128,
376,
221,
429,
2409,
299,
244,
53,
64,
376,
221,
344,
45,
597,
51,
2069,
12298,
882,
762,
46,
374,
221,
1016,
3348,
376,
221,
344,
45,
597,
51,
25328,
2949,
882,
762,
46,
374,
221,
1016,
3348,
376,
221,
344,
45,
597,
51,
316,
5381,
5645,
882,
762,
46,
374,
221,
1016,
3348,
376,
221,
344,
45,
597,
51,
5381,
444,
882,
762,
46,
374,
221,
1016,
3348,
376,
221,
344,
45,
597,
51,
5381,
2485,
882,
762,
46,
374,
221,
1016,
3348,
376,
221,
344,
45,
597,
51,
8903,
882,
762,
46,
374,
221,
1016,
3348,
376,
221,
344,
45,
597,
51,
3435,
584,
285,
32816,
882,
762,
46,
374,
221,
1016,
3348,
376,
221,
344,
45,
597,
51,
3435,
584,
333,
882,
762,
46,
374,
221,
1016,
3348,
376,
221,
344,
45,
597,
51,
117,
2092,
464,
387,
882,
762,
46,
374,
221,
1016,
3348,
376,
221,
620,
2409,
64,
222,
221,
130,
222,
221,
942,
648,
2409,
43984,
4152,
365,
222,
221,
128,
376,
221,
620,
244,
62,
64,
222,
221,
130,
222,
221,
5332,
3987,
120,
51,
423,
37770,
51,
2103,
51,
6436,
9026,
51,
4477,
1910,
288,
1633,
638,
12204,
12298,
64,
222,
221,
5332,
3987,
120,
51,
423,
37770,
51,
2103,
51,
6436,
9026,
51,
20508,
3046,
22472,
2949,
64,
222,
221,
5332,
5080,
458,
5381,
5645,
64,
222,
221,
5332,
3987,
120,
51,
1284,
51,
2103,
51,
6016,
577,
5419,
444,
64,
222,
221,
5332,
3987,
120,
51,
1284,
51,
2103,
51,
6016,
2455,
5419,
2485,
64,
222,
221,
5332,
910,
10178,
64,
222,
221,
5332,
5080,
7757,
584,
285,
32816,
64,
222,
221,
5332,
910,
7757,
584,
333,
64,
222,
221,
5332,
3987,
120,
51,
423,
37770,
51,
2103,
51,
6436,
9026,
51,
9765,
584,
16554,
317,
2092,
464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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 4,159
| true
| 67.104253
| true
| true
|
CFMHandler.java
|
/FileExtraction/Java_unseen/clarin-eric_VLO/vlo-importer/src/main/java/eu/clarin/cmdi/vlo/importer/CFMHandler.java
|
/**
*
*/
package eu.clarin.cmdi.vlo.importer;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.xml.sax.Attributes;
import org.xml.sax.SAXException;
import org.xml.sax.helpers.DefaultHandler;
import eu.clarin.cmdi.vlo.importer.mapping.FacetDefinition;
import eu.clarin.cmdi.vlo.importer.mapping.FacetsMapping;
/**
* @author WolfgangWalter SAUER (wowasa) <[email protected]>
*
*/
public class CFMHandler extends DefaultHandler {
private final Logger LOG;
private FacetsMapping mapping;
private FacetDefinition orginFacet;
public CFMHandler(FacetsMapping mapping) {
super();
this.LOG = LoggerFactory.getLogger(this.getClass());
this.mapping = mapping;
}
@Override
public void endElement(String uri, String localName, String qName) throws SAXException {
if("origin-facet".equals(qName))
this.orginFacet = null;
}
@Override
public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException {
/* if("origin-facet".equals(qName)){
this.orginFacet = this.mapping.getFacetConfiguration(attributes.getValue("name"));
if(this.orginFacet == null)
LOG.warn("origin facet " + attributes.getValue("name") + " can't be processed since there is NO valid facetConcept defined for this facet");
return;
}
else if(this.orginFacet != null && "condition".equals(qName)){
this.orginFacet.addCondition(new CFMCondition(attributes.getValue("ifvalue")));
return;
}
else if(this.orginFacet != null && "cross-facet".equals(qName)){
FacetDefinition crossFacet;
if((crossFacet = this.mapping.getFacetConfiguration(attributes.getValue("name"))) == null)
LOG.warn("cross facet " + attributes.getValue("name") + " can't be processed since there is NO valid facetConcept defined for this facet");
else
this.orginFacet.getConditions().get(this.orginFacet.getConditions().size() -1).addFacetValuePair(crossFacet, attributes.getValue("setvalue"));;
}*/
}
}
| 1,977
|
Java
|
.java
|
clarin-eric/VLO
| 14
| 6
| 93
|
2015-11-18T10:57:22Z
|
2024-01-23T15:07:32Z
|
a72135c0371a7eb68354ed3314d19d1796b1baefd66a9cc487b57221261c95cc
|
[
1350,
222,
338,
1676,
588,
222,
1337,
14604,
51,
592,
301,
285,
51,
3530,
110,
51,
123,
335,
51,
36079,
64,
222,
222,
485,
1105,
51,
12172,
57,
111,
51,
3716,
64,
222,
485,
1105,
51,
12172,
57,
111,
51,
19580,
64,
222,
485,
1105,
51,
2608,
51,
31965,
51,
5097,
64,
222,
485,
1105,
51,
2608,
51,
31965,
51,
42188,
1002,
64,
222,
485,
1105,
51,
2608,
51,
31965,
51,
8789,
51,
2061,
1985,
64,
222,
222,
485,
14604,
51,
592,
301,
285,
51,
3530,
110,
51,
123,
335,
51,
36079,
51,
9399,
51,
25758,
3385,
64,
222,
485,
14604,
51,
592,
301,
285,
51,
3530,
110,
51,
123,
335,
51,
36079,
51,
9399,
51,
7784,
5284,
4815,
64,
222,
222,
1350,
222,
338,
496,
2133,
643,
381,
4658,
761,
92,
17776,
377,
10076,
546,
327,
23747,
17453,
46,
350,
124,
381,
4658,
761,
51,
2473,
8703,
69,
15636,
831,
51,
348,
51,
288,
67,
222,
338,
222,
588,
222,
942,
462,
409,
15484,
1985,
2041,
4119,
1985,
320,
222,
221,
2072,
1175,
7145,
5784,
64,
1676,
221,
2072,
28576,
5284,
4815,
8023,
64,
222,
221,
2072,
28576,
383,
3385,
1105,
285,
25758,
64,
499,
221,
942,
409,
15484,
1985,
45,
7784,
5284,
4815,
8023,
46,
320,
376,
221,
5282,
492,
376,
221,
597,
51,
3612,
299,
21818,
51,
10588,
45,
597,
51,
9699,
1052,
376,
221,
597,
51,
9399,
299,
8023,
64,
222,
221,
130,
499,
221,
69,
1806,
222,
221,
942,
782,
962,
1325,
45,
671,
8219,
49,
910,
2212,
577,
49,
910,
2706,
577,
46,
2589,
45334,
1002,
320,
376,
221,
344,
459,
6954,
50,
27324,
2316,
3591,
45,
118,
577,
509,
374,
221,
597,
51,
1107,
285,
25758,
299,
762,
64,
222,
221,
130,
499,
221,
69,
1806,
222,
221,
942,
782,
1496,
1325,
45,
671,
8219,
49,
910,
2212,
577,
49,
910,
2706,
577,
49,
18198,
5437,
46,
2589,
45334,
1002,
320,
222,
1127,
221,
221,
344,
459,
6954,
50,
27324,
2316,
3591,
45,
118,
577,
7717,
374,
221,
597,
51,
1107,
285,
25758,
299,
477,
51,
9399,
51,
390,
25758,
2339,
45,
5855,
51,
6693,
459,
444,
2992,
374,
221,
344,
45,
597,
51,
1107,
285,
25758,
630,
762,
46,
621,
221,
3612,
51,
8453,
459,
6954,
29551,
332,
494,
5437,
51,
6693,
459,
444,
678,
494,
332,
902,
1348,
545,
11487,
4577,
2038,
458,
4452,
2101,
29551,
15458,
3433,
456,
477,
29551,
742,
374,
221,
620,
64,
376,
221,
130,
21997,
221,
728,
434,
45,
597,
51,
1107,
285,
25758,
882,
762,
979,
332,
4759,
2316,
3591,
45,
118,
577,
7717,
374,
221,
597,
51,
1107,
285,
25758,
51,
688,
5371,
45,
909,
409,
15484,
5371,
45,
5855,
51,
6693,
459,
344,
872,
13265,
374,
221,
620,
64,
376,
221,
130,
376,
221,
728,
434,
45,
597,
51,
1107,
285,
25758,
882,
762,
979,
332,
10598,
50,
27324,
2316,
3591,
45,
118,
577,
7717,
2556,
221,
25758,
3385,
8252,
25758,
64,
374,
221,
344,
1181,
10598,
25758,
299,
477,
51,
9399,
51,
390,
25758,
2339,
45,
5855,
51,
6693,
459,
444,
14040,
630,
762,
46,
621,
221,
3612,
51,
8453,
459,
10598,
29551,
332,
494,
5437,
51,
6693,
459,
444,
678,
494,
332,
902,
1348,
545,
11487,
4577,
2038,
458,
4452,
2101,
29551,
15458,
3433,
456,
477,
29551,
742,
374,
221,
728,
621,
221,
597,
51,
1107,
285,
25758,
51,
390,
17547,
941,
390,
45,
597,
51,
1107,
285,
25758,
51,
390,
17547,
941,
911,
365,
449,
54,
566,
688,
25758,
14767,
45,
10598,
25758,
49,
5437,
51,
6693,
459,
489,
872,
2992,
64,
376,
221,
37129,
222,
221,
130,
222,
130,
222
] |
[
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1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
1,
1,
1,
1,
1,
1,
1,
1
]
] | 601
| true
| 74.051593
| true
| true
|
TestDynamicNumberOfGCThreads.java
|
/FileExtraction/Java_unseen/corretto_corretto-19/test/hotspot/jtreg/gc/ergonomics/TestDynamicNumberOfGCThreads.java
|
/*
* Copyright (c) 2015, 2021, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
package gc.ergonomics;
/*
* @test TestDynamicNumberOfGCThreads
* @bug 8017462
* @summary Ensure that UseDynamicNumberOfGCThreads runs
* @modules java.base/jdk.internal.misc
* @library /test/lib
* @build sun.hotspot.WhiteBox
* @run driver jdk.test.lib.helpers.ClassFileInstaller sun.hotspot.WhiteBox
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI gc.ergonomics.TestDynamicNumberOfGCThreads
*/
import jdk.test.lib.process.OutputAnalyzer;
import jdk.test.lib.process.ProcessTools;
import jtreg.SkippedException;
import sun.hotspot.gc.GC;
public class TestDynamicNumberOfGCThreads {
public static void main(String[] args) throws Exception {
boolean noneGCSupported = true;
if (GC.G1.isSupported()) {
noneGCSupported = false;
testDynamicNumberOfGCThreads("UseG1GC");
}
if (GC.Parallel.isSupported()) {
noneGCSupported = false;
testDynamicNumberOfGCThreads("UseParallelGC");
}
if (GC.Shenandoah.isSupported()) {
noneGCSupported = false;
testDynamicNumberOfGCThreads("UseShenandoahGC");
}
if (noneGCSupported) {
throw new SkippedException("Skipping test because none of G1/Parallel/Shenandoah is supported.");
}
}
private static void verifyDynamicNumberOfGCThreads(OutputAnalyzer output) {
output.shouldHaveExitValue(0); // test should run succesfully
output.shouldContain("new_active_workers");
}
private static void testDynamicNumberOfGCThreads(String gcFlag) throws Exception {
// UseDynamicNumberOfGCThreads enabled
String[] baseArgs = {"-XX:+UnlockExperimentalVMOptions", "-XX:+" + gcFlag, "-Xmx10M", "-XX:+UseDynamicNumberOfGCThreads", "-Xlog:gc+task=trace", GCTest.class.getName()};
// Base test with gc and +UseDynamicNumberOfGCThreads:
ProcessBuilder pb_enabled = ProcessTools.createJavaProcessBuilder(baseArgs);
verifyDynamicNumberOfGCThreads(new OutputAnalyzer(pb_enabled.start()));
// Turn on parallel reference processing
String[] parRefProcArg = {"-XX:+ParallelRefProcEnabled", "-XX:-ShowMessageBoxOnError"};
String[] parRefArgs = new String[baseArgs.length + parRefProcArg.length];
System.arraycopy(parRefProcArg, 0, parRefArgs, 0, parRefProcArg.length);
System.arraycopy(baseArgs, 0, parRefArgs, parRefProcArg.length, baseArgs.length);
pb_enabled = ProcessTools.createJavaProcessBuilder(parRefArgs);
verifyDynamicNumberOfGCThreads(new OutputAnalyzer(pb_enabled.start()));
}
static class GCTest {
private static byte[] garbage;
public static void main(String [] args) {
System.out.println("Creating garbage");
// create 128MB of garbage. This should result in at least one GC
for (int i = 0; i < 1024; i++) {
garbage = new byte[128 * 1024];
}
System.out.println("Done");
}
}
}
| 3,921
|
Java
|
.java
|
corretto/corretto-19
| 12
| 5
| 1
|
2022-08-09T18:56:37Z
|
2023-03-20T21:14:59Z
|
ee105212c96b898b7760cbd64ff51775bf658996966546a8fa4f480b03507002
|
[
1127,
222,
338,
2657,
327,
104,
46,
244,
55,
53,
54,
58,
49,
244,
55,
53,
55,
54,
49,
17980,
480,
52,
290,
2840,
25094,
51,
3381,
4760,
5225,
51,
222,
338,
4103,
2387,
23740,
1895,
35234,
8995,
2387,
11988,
1895,
8968,
10961,
30441,
51,
222,
338,
222,
338,
1369,
1361,
458,
3760,
2951,
64,
863,
902,
14081,
580,
480,
52,
290,
5370,
580,
222,
338,
1549,
341,
5974,
451,
341,
6994,
6153,
5062,
1196,
1522,
244,
55,
1773,
49,
641,
222,
338,
9582,
829,
341,
7834,
3870,
7120,
51,
222,
338,
222,
338,
1369,
1361,
458,
2744,
347,
341,
9850,
708,
580,
1118,
545,
6386,
49,
1294,
4213,
222,
338,
2979,
9345,
64,
2895,
4462,
341,
4506,
14319,
451,
7934,
575,
222,
338,
8114,
4800,
418,
7848,
7763,
51,
244,
2819,
341,
6994,
6153,
5062,
1196,
222,
338,
1522,
244,
55,
456,
1851,
4261,
327,
102,
1948,
458,
5976,
347,
341,
7621,
822,
708,
222,
338,
20854,
297,
4850,
477,
1361,
566,
222,
338,
222,
338,
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
6153,
5062,
1196,
1522,
222,
338,
244,
55,
7979,
642,
477,
1409,
64,
434,
666,
49,
2886,
391,
341,
7834,
3870,
7120,
49,
222,
338,
6367,
4345,
244,
58,
54,
34113,
1277,
49,
33316,
26912,
49,
25006,
49,
13083,
244,
53,
55,
54,
54,
53,
50,
54,
56,
53,
54,
15067,
51,
222,
338,
222,
338,
5304,
7272,
17980,
49,
244,
58,
53,
53,
17980,
27004,
3094,
49,
4777,
21100,
2432,
6868,
49,
10562,
244,
62,
57,
53,
59,
58,
15067,
222,
338,
575,
7739,
19955,
51,
11116,
51,
527,
434,
863,
1868,
5408,
2490,
575,
1178,
1364,
222,
338,
10034,
51,
222,
588,
222,
222,
1337,
16950,
51,
284,
7094,
30819,
64,
222,
222,
1127,
222,
338,
496,
881,
2128,
7193,
12659,
76,
952,
109,
19651,
222,
338,
496,
1468,
244,
61,
53,
54,
60,
57,
59,
55,
222,
338,
496,
1386,
15135,
708,
4443,
7193,
12659,
76,
952,
109,
19651,
9808,
222,
338,
496,
3490,
1401,
51,
1460,
52,
12461,
51,
3269,
51,
14495,
222,
338,
496,
5261,
536,
881,
52,
1379,
222,
338,
496,
1848,
15315,
51,
8156,
7529,
51,
11076,
1723,
222,
338,
496,
1967,
5419,
614,
4532,
51,
881,
51,
1379,
51,
8789,
51,
1359,
991,
30582,
15315,
51,
8156,
7529,
51,
11076,
1723,
222,
338,
496,
1967,
2594,
52,
2476,
3166,
449,
93,
3621,
33423,
52,
102,
15696,
449,
2931,
30041,
13104,
24031,
5064,
2045,
449,
2931,
30041,
11076,
1723,
2571,
16950,
51,
284,
7094,
30819,
51,
1024,
7193,
12659,
76,
952,
109,
19651,
222,
588,
222,
222,
485,
614,
4532,
51,
881,
51,
1379,
51,
2441,
51,
2319,
17430,
64,
222,
485,
614,
4532,
51,
881,
51,
1379,
51,
2441,
51,
2877,
7926,
64,
222,
485,
614,
121,
1604,
51,
42906,
1002,
64,
222,
485,
15315,
51,
8156,
7529,
51,
9285,
51,
11260,
64,
222,
222,
942,
462,
2128,
7193,
12659,
76,
952,
109,
19651,
320,
353,
581,
924,
782,
2594,
45,
671,
1197,
2194,
46,
2589,
3284,
320,
303,
1922,
4919,
76,
3765,
1374,
337,
299,
878,
64,
465,
434,
327,
11260,
51,
76,
54,
51,
316,
10330,
1177,
320,
416,
4919,
76,
3765,
1374,
337,
299,
920,
64,
416,
913,
7193,
12659,
76,
952,
109,
19651,
459,
4404,
76,
54,
11260,
742,
303,
339,
465,
434,
327,
11260,
51,
13717,
51,
316,
10330,
1177,
320,
416,
4919,
76,
3765,
1374,
337,
299,
920,
64,
416,
913,
7193,
12659,
76,
952,
109,
19651,
459,
4404,
13717,
11260,
742,
303,
339,
465,
434,
327,
11260,
51,
1207,
291,
5917,
2389,
51,
316,
10330,
1177,
320,
416,
4919,
76,
3765,
1374,
337,
299,
920,
64,
416,
913,
7193,
12659,
76,
952,
109,
19651,
459,
4404,
1207,
291,
5917,
2389,
11260,
742,
303,
339,
465,
434,
327,
4129,
76,
3765,
1374,
337,
46,
320,
416,
1440,
556,
6920,
9978,
1002,
459,
41232,
913,
3318,
4919,
451,
590,
54,
52,
13717,
52,
1207,
291,
5917,
2389,
458,
5430,
5377,
303,
339,
353,
339,
736,
964,
924,
782,
6152,
7193,
12659,
76,
952,
109,
19651,
45,
2319,
17430,
1716,
46,
320,
303,
1716,
51,
3179,
9041,
8121,
899,
45,
53,
312,
453,
913,
1414,
1441,
10723,
1109,
4955,
303,
1716,
51,
3179,
19863,
459,
909,
100,
2498,
100,
17764,
742,
353,
339,
736,
964,
924,
782,
913,
7193,
12659,
76,
952,
109,
19651,
45,
671,
16950,
5266,
46,
2589,
3284,
320,
303,
453,
4443,
7193,
12659,
76,
952,
109,
19651,
5892,
303,
910,
1197,
1712,
3097,
299,
3479,
50,
2931,
30041,
13104,
26659,
5064,
2045,
411,
4840,
2931,
63,
5688,
494,
16950,
5266,
49,
4840,
93,
7796,
54,
53,
82,
411,
4840,
2931,
30041,
4404,
7193,
12659,
76,
952,
109,
19651,
411,
4840,
93,
769,
63,
9285,
48,
2810,
66,
5736,
411,
590,
952,
464,
51,
842,
51,
5175,
45473,
465,
453,
3787,
913,
642,
16950,
480,
494,
4404,
7193,
12659,
76,
952,
109,
19651,
63,
303,
6849,
1812,
10292,
100,
6572,
299,
6849,
7926,
51,
1315,
5445,
2877,
1812,
45,
1460,
3097,
312,
303,
6152,
7193,
12659,
76,
952,
109,
19651,
45,
909,
5601,
17430,
45,
4391,
100,
6572,
51,
1384,
5086,
465,
453,
20380,
563,
11994,
4141,
8220,
303,
910,
1197,
898,
2099,
11102,
1782,
299,
3479,
50,
2931,
30041,
13717,
2099,
11102,
4006,
411,
4840,
2931,
6012,
4325,
22945,
28217,
17066,
303,
910,
1197,
898,
2099,
3097,
299,
556,
910,
96,
1460,
3097,
51,
1340,
494,
898,
2099,
11102,
1782,
51,
1340,
988,
303,
1189,
51,
40816,
45,
587,
2099,
11102,
1782,
49,
244,
53,
49,
898,
2099,
3097,
49,
244,
53,
49,
2087,
898,
2099,
11102,
1782,
51,
1340,
312,
303,
1189,
51,
40816,
45,
1460,
3097,
49,
280,
53,
49,
898,
2099,
3097,
49,
898,
2099,
11102,
1782,
51,
1340,
49,
1712,
3097,
51,
1340,
312,
303,
10292,
100,
6572,
299,
6849,
7926,
51,
1315,
5445,
2877,
1812,
45,
587,
2099,
3097,
312,
303,
6152,
7193,
12659,
76,
952,
109,
19651,
45,
909,
5601,
17430,
45,
4391,
100,
6572,
51,
1384,
5086,
353,
339,
736,
924,
462,
590,
952,
464,
320,
303,
964,
924,
3447,
1197,
29262,
64,
303,
581,
924,
782,
2594,
45,
671,
1627,
2194,
46,
320,
416,
1189,
51,
560,
51,
3962,
459,
16607,
29262,
742,
416,
453,
1506,
244,
54,
55,
61,
3361,
451,
29262,
51,
1369,
1414,
1074,
347,
840,
6247,
1611,
19366,
416,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
244,
54,
53,
55,
57,
64,
613,
2002,
320,
310,
29262,
299,
556,
3447,
96,
54,
55,
61,
338,
244,
54,
53,
55,
57,
988,
416,
339,
416,
1189,
51,
560,
51,
3962,
459,
9114,
742,
303,
339,
353,
339,
222,
130,
222
] |
[
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1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1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 1,106
| true
| 71.461362
| true
| true
|
GetShareInfoRequest.java
|
/FileExtraction/Java_unseen/zextras_carbonio-mailbox/soap/src/main/java/com/zimbra/soap/account/message/GetShareInfoRequest.java
|
// SPDX-FileCopyrightText: 2022 Synacor, Inc.
// SPDX-FileCopyrightText: 2022 Zextras <https://www.zextras.com>
//
// SPDX-License-Identifier: GPL-2.0-only
package com.zimbra.soap.account.message;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import com.google.common.base.MoreObjects;
import com.zimbra.common.soap.AccountConstants;
import com.zimbra.soap.type.AccountSelector;
import com.zimbra.soap.type.GranteeChooser;
import com.zimbra.soap.type.ZmBoolean;
/**
* @zm-api-command-auth-required true
* @zm-api-command-admin-auth-required false
* @zm-api-command-description Get information about published shares
* @zm-api-request-description
* Notes:
* <ul>
* <li> if <b><owner></b> is *not* specified the server will search the LDAP directory for published shares
* (<b>zimbraSharedItem</b> account attribute) accessible to the authed user.
* <li> if <b><owner></b> *is* specified, the server will iterate through the owner's mailbox to discover all
* shares applicable to the authed user, instead of looking at any of the published share info.
* <li> All applicable shares will be returned, including any shares that are:
* <table>
* <tr> <td>shared with the account directly</td> <td></td></tr>
* <tr> <td>shared with any group(and parent groups) the account belongs.</td> <td>(*is* supported)</td></tr>
* <tr> <td>shared with the cos assigned to the account. </td> <td>(*is* supported)</td></tr>
* <tr> <td>shared with the domain this account is in. </td> <td>(*is* supported)</td></tr>
* <tr> <td>shared with all authed users (i.e. all Zimbra users) </td> <td>(*is* supported)</td></tr>
* <tr> <td>shared with the public </td> <td>(*is* supported)</td></tr>
* </table>
* </ul>
* e.g.
* <ol>
* <li> What folders are shared with any of the groups I belong to?
* <ol type="a">
* <li> folders of any user
* <pre>
* <GetShareInfoRequest>
* <grantee type="grp">
* </GetShareInfoRequest>
* </pre>
* <li> folders of a particular user
* <pre>
* <GetShareInfoRequest>
* <grantee type="grp">
* <owner by="name">[email protected]</owner>
* </GetShareInfoRequest>
* </pre>
* </ol>
* <li> What folders does a particular user share with me?
* <ol type="a">
* <li> include all folders directly shared with me and shared with an entry I can inherit shares from:
* <pre>
* <GetShareInfoRequest>
* <owner by="name">[email protected]</owner>
* </GetShareInfoRequest>
* </pre>
* <li> include only folders directly shared with me.
* <pre>
* <GetShareInfoRequest>
* <grantee type="usr">
* <owner by="name">[email protected]</owner>
* </GetShareInfoRequest>
* </pre>
* </ol>
* <li> Show me all folders shared directly with me and with any entry I can inherit shares from:
* <pre>
* <GetShareInfoRequest>
* </GetShareInfoRequest>
* </pre>
* </ol>
*/
@XmlAccessorType(XmlAccessType.NONE)
@XmlRootElement(name=AccountConstants.E_GET_SHARE_INFO_REQUEST)
public class GetShareInfoRequest {
/**
* @zm-api-field-description Flags that have been proxied to this server because the specified "owner account" is
* homed here. Do not proxy in this case. (Used internally by ZCS)
*/
@XmlAttribute(name=AccountConstants.A_INTERNAL, required=false)
private ZmBoolean internal;
/**
* @zm-api-field-description Flag whether own shares should be included:
* <ul>
* <li> <b>0</b> if shares owned by the requested account should not be included in the response
* <li> <b>1</b> (default) include shares owned by the requested account
* </ul>
* (It might be useful to see the shares I've shared to a DL that I belong to so that I know I'm sharing it
* correctly.)
*/
@XmlAttribute(name=AccountConstants.A_INCLUDE_SELF, required=false)
private ZmBoolean includeSelf;
/**
* @zm-api-field-description Filter by the specified grantee type
*/
@XmlElement(name=AccountConstants.E_GRANTEE, required=false)
private GranteeChooser grantee;
/**
* @zm-api-field-description Specifies the owner of the share
*/
@XmlElement(name=AccountConstants.E_OWNER, required=false)
private AccountSelector owner;
public GetShareInfoRequest() {
}
public static GetShareInfoRequest create(AccountSelector owner, GranteeChooser grantee, Boolean includeSelf) {
GetShareInfoRequest req = new GetShareInfoRequest();
req.setOwner(owner);
req.setGrantee(grantee);
req.setIncludeSelf(includeSelf);
return req;
}
public void setInternal(Boolean internal) { this.internal = ZmBoolean.fromBool(internal); }
public void setIncludeSelf(Boolean includeSelf) { this.includeSelf = ZmBoolean.fromBool(includeSelf); }
public void setGrantee(GranteeChooser grantee) { this.grantee = grantee; }
public void setOwner(AccountSelector owner) { this.owner = owner; }
public Boolean getInternal() { return ZmBoolean.toBool(internal); }
public Boolean getIncludeSelf() { return ZmBoolean.toBool(includeSelf); }
public GranteeChooser getGrantee() { return grantee; }
public AccountSelector getOwner() { return owner; }
@Override
public String toString() {
return MoreObjects.toStringHelper(this)
.add("internal", internal)
.add("includeSelf", includeSelf)
.add("grantee", grantee)
.add("owner", owner)
.toString();
}
}
| 6,177
|
Java
|
.java
|
zextras/carbonio-mailbox
| 27
| 3
| 2
|
2021-12-22T15:33:02Z
|
2024-05-08T15:47:01Z
|
ca5484abf9a1430e1fa19528b9cfebec17e2e6c11ca0212957511097cdb24d39
|
[
325,
18769,
50,
991,
10585,
1049,
63,
244,
55,
53,
55,
55,
18890,
348,
290,
49,
6367,
51,
222,
325,
18769,
50,
991,
10585,
1049,
63,
244,
55,
53,
55,
55,
2538,
20920,
350,
662,
574,
1516,
51,
127,
20920,
51,
527,
67,
222,
325,
222,
325,
18769,
50,
3801,
50,
5551,
63,
23508,
50,
55,
51,
53,
50,
2605,
222,
222,
1337,
785,
51,
45187,
9030,
51,
21701,
51,
3543,
51,
1454,
64,
222,
222,
485,
3698,
51,
2608,
51,
2555,
51,
4341,
51,
4411,
41079,
64,
222,
485,
3698,
51,
2608,
51,
2555,
51,
4341,
51,
4411,
9794,
638,
64,
222,
485,
3698,
51,
2608,
51,
2555,
51,
4341,
51,
43713,
64,
222,
485,
3698,
51,
2608,
51,
2555,
51,
4341,
51,
17093,
64,
222,
485,
3698,
51,
2608,
51,
2555,
51,
4341,
51,
4411,
4069,
1325,
64,
222,
222,
485,
785,
51,
2193,
51,
2297,
51,
1460,
51,
8901,
6699,
64,
222,
485,
785,
51,
45187,
9030,
51,
2297,
51,
21701,
51,
3354,
5238,
64,
222,
485,
785,
51,
45187,
9030,
51,
21701,
51,
700,
51,
3354,
4454,
64,
222,
485,
785,
51,
45187,
9030,
51,
21701,
51,
700,
51,
4863,
6850,
106,
21216,
64,
222,
485,
785,
51,
45187,
9030,
51,
21701,
51,
700,
51,
24805,
4718,
64,
222,
222,
1350,
222,
338,
496,
19592,
50,
1256,
50,
2514,
50,
2408,
50,
3662,
878,
222,
338,
496,
19592,
50,
1256,
50,
2514,
50,
2317,
50,
2408,
50,
3662,
920,
222,
338,
496,
19592,
50,
1256,
50,
2514,
50,
2328,
1408,
2490,
2645,
9582,
30118,
222,
338,
496,
19592,
50,
1256,
50,
1375,
50,
2328,
222,
338,
13917,
63,
222,
338,
350,
357,
67,
222,
338,
350,
393,
67,
434,
350,
103,
2893,
2176,
64,
5645,
873,
103,
67,
458,
338,
1226,
47,
3205,
341,
2160,
1118,
3252,
341,
26377,
3378,
456,
9582,
30118,
222,
338,
665,
11310,
103,
67,
45187,
9030,
7444,
1114,
396,
103,
67,
3513,
3895,
46,
17762,
391,
341,
7140,
2054,
1275,
51,
222,
338,
350,
393,
67,
434,
350,
103,
2893,
2176,
64,
5645,
873,
103,
67,
338,
316,
47,
3205,
49,
341,
2160,
1118,
20258,
3939,
341,
7431,
1200,
41512,
391,
23145,
1187,
222,
338,
665,
30118,
4568,
391,
341,
7140,
2054,
1275,
49,
4203,
451,
9724,
840,
1364,
451,
341,
9582,
8642,
3116,
51,
222,
338,
350,
393,
67,
3381,
4568,
30118,
1118,
545,
4731,
49,
6252,
1364,
30118,
708,
904,
63,
222,
338,
281,
350,
1292,
67,
222,
338,
281,
350,
378,
67,
350,
689,
67,
4206,
642,
341,
3513,
7045,
396,
689,
67,
12994,
350,
689,
873,
689,
873,
378,
67,
222,
338,
281,
350,
378,
67,
350,
689,
67,
4206,
642,
1364,
2370,
45,
382,
2952,
8374,
46,
341,
3513,
17739,
1746,
689,
67,
350,
689,
39394,
316,
47,
5430,
2891,
689,
873,
378,
67,
222,
338,
281,
350,
378,
67,
350,
689,
67,
4206,
642,
341,
10757,
11032,
391,
341,
3513,
51,
594,
689,
67,
442,
350,
689,
39394,
316,
47,
5430,
2891,
689,
873,
378,
67,
222,
338,
281,
350,
378,
67,
350,
689,
67,
4206,
642,
341,
5900,
477,
3513,
458,
347,
51,
594,
689,
67,
6031,
350,
689,
39394,
316,
47,
5430,
2891,
689,
873,
378,
67,
222,
338,
281,
350,
378,
67,
350,
689,
67,
4206,
642,
1187,
7140,
2054,
4272,
327,
110,
51,
106,
51,
1187,
2538,
468,
9030,
4272,
46,
594,
689,
67,
282,
350,
689,
39394,
316,
47,
5430,
2891,
689,
873,
378,
67,
222,
338,
281,
350,
378,
67,
350,
689,
67,
4206,
642,
341,
581,
594,
689,
67,
22768,
350,
689,
39394,
316,
47,
5430,
2891,
689,
873,
378,
67,
222,
338,
281,
594,
1292,
67,
222,
338,
594,
357,
67,
222,
338,
503,
51,
108,
51,
222,
338,
350,
381,
67,
222,
338,
350,
393,
67,
6208,
18634,
904,
7187,
642,
1364,
451,
341,
8374,
457,
22119,
391,
68,
222,
338,
665,
350,
381,
847,
366,
102,
432,
222,
338,
665,
350,
393,
67,
18634,
451,
1364,
1275,
222,
338,
2281,
350,
1023,
67,
222,
338,
2868,
568,
2176,
64,
953,
10338,
1139,
1123,
67,
222,
338,
5707,
568,
2176,
64,
791,
6850,
106,
847,
366,
17654,
432,
222,
338,
2868,
568,
2176,
6532,
953,
10338,
1139,
1123,
67,
222,
338,
2281,
594,
1023,
67,
222,
338,
665,
350,
393,
67,
18634,
451,
331,
8445,
1275,
222,
338,
2281,
350,
1023,
67,
222,
338,
2868,
568,
2176,
64,
953,
10338,
1139,
1123,
67,
222,
338,
5707,
568,
2176,
64,
791,
6850,
106,
847,
366,
17654,
432,
222,
338,
5707,
568,
2176,
64,
5645,
829,
366,
444,
432,
514,
54,
69,
2783,
51,
527,
43,
2176,
6532,
5645,
67,
222,
338,
2868,
568,
2176,
6532,
953,
10338,
1139,
1123,
67,
222,
338,
2281,
594,
1023,
67,
222,
338,
665,
594,
381,
67,
499,
338,
350,
393,
67,
6208,
18634,
1976,
331,
8445,
1275,
8642,
642,
616,
68,
222,
338,
665,
350,
381,
847,
366,
102,
432,
222,
338,
665,
350,
393,
67,
2323,
1187,
18634,
7045,
7187,
642,
616,
480,
7187,
642,
619,
3429,
457,
902,
11096,
30118,
664,
63,
222,
338,
2281,
350,
1023,
67,
222,
338,
2868,
568,
2176,
64,
953,
10338,
1139,
1123,
67,
222,
338,
5707,
568,
2176,
64,
5645,
829,
366,
444,
432,
514,
54,
69,
2783,
51,
527,
43,
2176,
6532,
5645,
67,
222,
338,
2868,
568,
2176,
6532,
953,
10338,
1139,
1123,
67,
222,
338,
2281,
594,
1023,
67,
222,
338,
665,
350,
393,
67,
2323,
1773,
18634,
7045,
7187,
642,
616,
51,
222,
338,
2281,
350,
1023,
67,
222,
338,
2868,
568,
2176,
64,
953,
10338,
1139,
1123,
67,
222,
338,
5707,
568,
2176,
64,
791,
6850,
106,
847,
366,
3392,
432,
222,
338,
5707,
568,
2176,
64,
5645,
829,
366,
444,
432,
514,
54,
69,
2783,
51,
527,
43,
2176,
6532,
5645,
67,
222,
338,
2868,
568,
2176,
6532,
953,
10338,
1139,
1123,
67,
222,
338,
2281,
594,
1023,
67,
222,
338,
665,
594,
381,
67,
222,
338,
350,
393,
67,
7933,
616,
1187,
18634,
7187,
7045,
642,
616,
480,
642,
1364,
3429,
457,
902,
11096,
30118,
664,
63,
222,
338,
2281,
350,
1023,
67,
222,
338,
2868,
568,
2176,
64,
953,
10338,
1139,
1123,
67,
222,
338,
2868,
568,
2176,
6532,
953,
10338,
1139,
1123,
67,
222,
338,
2281,
594,
1023,
67,
222,
338,
594,
381,
67,
222,
588,
222,
69,
4411,
9794,
638,
45,
4411,
41079,
51,
8476,
46,
222,
69,
4411,
4069,
1325,
45,
444,
66,
3354,
5238,
51,
74,
100,
2804,
100,
18286,
100,
1608,
100,
7921,
46,
222,
942,
462,
1408,
10338,
1139,
1123,
320,
465,
1041,
294,
338,
496,
19592,
50,
1256,
50,
1512,
50,
2328,
22176,
708,
1178,
2602,
22609,
4850,
391,
477,
2160,
3318,
341,
3205,
332,
5645,
3513,
39,
458,
294,
338,
6780,
105,
2464,
51,
244,
3291,
666,
7671,
347,
477,
1152,
51,
327,
10571,
22683,
829,
2538,
3765,
46,
294,
588,
303,
496,
43713,
45,
444,
66,
3354,
5238,
51,
70,
100,
16745,
49,
2147,
66,
1886,
46,
303,
964,
2538,
114,
4718,
3584,
64,
465,
1041,
294,
338,
496,
19592,
50,
1256,
50,
1512,
50,
2328,
18857,
4962,
4387,
30118,
1414,
545,
5976,
63,
294,
338,
350,
357,
67,
294,
338,
350,
393,
67,
350,
103,
67,
53,
396,
103,
67,
434,
30118,
25913,
829,
341,
8844,
3513,
1414,
666,
545,
5976,
347,
341,
1808,
294,
338,
350,
393,
67,
350,
103,
67,
54,
396,
103,
67,
327,
1555,
46,
2323,
30118,
25913,
829,
341,
8844,
3513,
294,
338,
594,
357,
67,
294,
338,
327,
1029,
4816,
545,
6386,
391,
2337,
341,
30118,
457,
4783,
7187,
391,
331,
27629,
708,
457,
22119,
391,
1278,
708,
457,
3722,
457,
3480,
21710,
580,
294,
338,
8487,
7475,
294,
588,
303,
496,
43713,
45,
444,
66,
3354,
5238,
51,
70,
100,
8570,
100,
28810,
49,
2147,
66,
1886,
46,
303,
964,
2538,
114,
4718,
2323,
8183,
64,
465,
1041,
294,
338,
496,
19592,
50,
1256,
50,
1512,
50,
2328,
8301,
829,
341,
3205,
2935,
6850,
106,
847,
294,
588,
303,
496,
17093,
45,
444,
66,
3354,
5238,
51,
74,
100,
27672,
1731,
74,
49,
2147,
66,
1886,
46,
303,
964,
8102,
6850,
106,
21216,
2935,
6850,
106,
64,
465,
1041,
294,
338,
496,
19592,
50,
1256,
50,
1512,
50,
2328,
18995,
341,
7431,
451,
341,
8642,
294,
588,
303,
496,
17093,
45,
444,
66,
3354,
5238,
51,
74,
100,
31980,
49,
2147,
66,
1886,
46,
303,
964,
9042,
4454,
7431,
64,
465,
581,
1408,
10338,
1139,
1123,
365,
320,
303,
339,
465,
581,
924,
1408,
10338,
1139,
1123,
1506,
45,
3354,
4454,
7431,
49,
8102,
6850,
106,
21216,
2935,
6850,
106,
49,
5080,
2323,
8183,
46,
320,
310,
1408,
10338,
1139,
1123,
3630,
299,
556,
1408,
10338,
1139,
1123,
492,
310,
3630,
51,
489,
6456,
45,
5645,
312,
310,
3630,
51,
489,
4863,
6850,
106,
45,
791,
6850,
106,
312,
310,
3630,
51,
489,
8518,
8183,
45,
1032,
8183,
312,
310,
461,
3630,
64,
303,
339,
465,
581,
782,
758,
4305,
45,
4718,
3584,
46,
320,
477,
51,
3269,
299,
2538,
114,
4718,
51,
1097,
5964,
45,
3269,
312,
339,
303,
581,
782,
758,
8518,
8183,
45,
4718,
2323,
8183,
46,
320,
477,
51,
1032,
8183,
299,
2538,
114,
4718,
51,
1097,
5964,
45,
1032,
8183,
312,
339,
465,
581,
782,
758,
4863,
6850,
106,
45,
4863,
6850,
106,
21216,
2935,
6850,
106,
46,
320,
477,
51,
791,
6850,
106,
299,
2935,
6850,
106,
64,
339,
303,
581,
782,
758,
6456,
45,
3354,
4454,
7431,
46,
320,
477,
51,
5645,
299,
7431,
64,
339,
303,
581,
5080,
640,
4305,
365,
320,
461,
2538,
114,
4718,
51,
471,
5964,
45,
3269,
312,
339,
303,
581,
5080,
640,
8518,
8183,
365,
320,
461,
2538,
114,
4718,
51,
471,
5964,
45,
1032,
8183,
312,
339,
303,
581,
8102,
6850,
106,
21216,
640,
4863,
6850,
106,
365,
320,
461,
2935,
6850,
106,
64,
339,
303,
581,
9042,
4454,
640,
6456,
365,
320,
461,
7431,
64,
339,
465,
496,
1806,
303,
581,
910,
11349,
365,
320,
310,
461,
12662,
6699,
51,
3127,
2775,
45,
597,
46,
343,
657,
688,
459,
3269,
411,
3584,
46,
343,
657,
688,
459,
1032,
8183,
411,
2323,
8183,
46,
343,
657,
688,
459,
791,
6850,
106,
411,
2935,
6850,
106,
46,
343,
657,
688,
459,
5645,
411,
7431,
46,
343,
657,
3127,
492,
303,
339,
222,
130,
222
] |
[
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
1,
1
]
] | 1,719
| true
| 63.23458
| true
| true
|
ActivityHelper.java
|
/FileExtraction/Java_unseen/tranleduy2000_text_converter/common/src/main/java/com/duy/common/activities/ActivityHelper.java
|
/*
* Copyright (C) 2017-2018 Tran Le Duy
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package com.duy.common.activities;
import android.app.Activity;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Toolbar;
import com.duy.common.R;
/**
* Created by Duy on 25-Dec-17.
*/
public class ActivityHelper {
public static boolean setupToolbar(Activity activity) {
//Not a AppCompatActivity
if (activity == null || !(activity instanceof AppCompatActivity)) {
return false;
}
//find toolbar and setup, display back button
AppCompatActivity appCompatActivity = (AppCompatActivity) activity;
Toolbar toolbar = activity.findViewById(R.id.toolbar);
if (toolbar != null) {
appCompatActivity.setSupportActionBar(toolbar);
appCompatActivity.getSupportActionBar().setDisplayHomeAsUpEnabled(true);
return true;
}
return false;
}
}
| 1,603
|
Java
|
.java
|
tranleduy2000/text_converter
| 90
| 34
| 2
|
2017-04-16T04:58:30Z
|
2018-05-29T09:01:22Z
|
1e5dbd6715060dac558e78374267bb18fce1aeeebda0bd0996014da959683720
|
[
1127,
222,
338,
2657,
327,
72,
46,
280,
55,
53,
54,
60,
50,
55,
53,
54,
61,
47038,
4684,
493,
14007,
222,
338,
222,
338,
244,
1369,
3477,
458,
3760,
2951,
63,
863,
902,
14081,
580,
480,
52,
290,
5370,
222,
338,
244,
580,
1549,
341,
5974,
451,
341,
6994,
6153,
5062,
1196,
641,
9582,
829,
222,
338,
244,
341,
7834,
3870,
7120,
49,
3173,
1522,
244,
56,
451,
341,
1196,
49,
575,
222,
338,
244,
327,
288,
1390,
2489,
46,
1364,
6146,
1522,
51,
222,
338,
222,
338,
244,
1369,
3477,
458,
2744,
347,
341,
9850,
708,
580,
1118,
545,
6386,
49,
222,
338,
244,
1294,
4213,
2979,
9345,
64,
2895,
4462,
341,
4506,
14319,
451,
222,
338,
244,
7934,
575,
8114,
4800,
418,
7848,
7763,
51,
244,
2819,
341,
222,
338,
244,
6994,
6153,
5062,
1196,
456,
1851,
4261,
51,
222,
338,
222,
338,
244,
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
6153,
5062,
1196,
222,
338,
244,
7979,
642,
477,
3477,
51,
244,
1691,
666,
49,
2337,
350,
544,
574,
1516,
51,
10627,
51,
1107,
52,
4205,
28699,
222,
588,
222,
222,
1337,
785,
51,
1815,
126,
51,
2297,
51,
27382,
64,
222,
222,
485,
2616,
51,
745,
51,
3697,
64,
222,
485,
2616,
51,
3608,
51,
123,
60,
51,
745,
51,
35181,
64,
222,
485,
2616,
51,
3608,
51,
123,
60,
51,
3872,
51,
14155,
64,
222,
222,
485,
785,
51,
1815,
126,
51,
2297,
51,
87,
64,
222,
222,
1350,
222,
338,
6956,
829,
493,
14007,
563,
244,
55,
58,
50,
13796,
50,
54,
60,
51,
222,
588,
222,
222,
942,
462,
13478,
2775,
320,
303,
581,
924,
1922,
4721,
14155,
45,
3697,
8800,
46,
320,
310,
453,
1355,
331,
36463,
310,
434,
327,
6904,
630,
762,
1293,
13687,
6904,
5118,
36463,
509,
320,
343,
461,
920,
64,
310,
339,
603,
453,
1828,
20049,
480,
4721,
49,
2540,
1769,
3467,
310,
36463,
1142,
6823,
3697,
299,
327,
35181,
46,
8800,
64,
310,
36614,
20049,
299,
8800,
51,
14137,
45,
87,
51,
333,
51,
15671,
312,
310,
434,
327,
15671,
882,
762,
46,
320,
343,
1142,
6823,
3697,
51,
489,
4417,
21540,
45,
15671,
312,
343,
1142,
6823,
3697,
51,
390,
4417,
21540,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 394
| true
| 68.746101
| true
| true
|
HelpSubCommand.java
|
/FileExtraction/Java_unseen/BluevaDevelopment_BlueArcade/src/main/java/net/blueva/arcade/commands/main/subcommands/HelpSubCommand.java
|
package net.blueva.arcade.commands.main.subcommands;
import net.blueva.arcade.Main;
import net.blueva.arcade.commands.CommandInterface;
import net.blueva.arcade.managers.CacheManager;
import net.blueva.arcade.utils.StringUtils;
import org.bukkit.command.Command;
import org.bukkit.command.CommandSender;
import org.jetbrains.annotations.NotNull;
import java.util.List;
//ArgsCmd also implements CommandInterface
public class HelpSubCommand implements CommandInterface
{
private final Main main;
public HelpSubCommand(Main main) {
this.main = main;
}
@Override
public boolean onCommand(CommandSender sender, Command cmd,
String commandLabel, String @NotNull [] args) {
String player = sender.getName();
if(args.length == 1) {
if(sender.hasPermission("bluearcade.help")) {
List<String> xahelp = CacheManager.Language.COMMANDS_BLUEARCADE_HELP;
for (String message : xahelp) {
StringUtils.sendMessage(sender, player, message);
}
} else {
StringUtils.sendMessage(sender, player, CacheManager.Language.GLOBAL_ERROR_INSUFFICIENT_PERMISSIONS);
}
} else if (args.length == 2) {
if(args[1].equals("admin")) {
if(sender.hasPermission("bluearcade.admin.help")) {
List<String> xahelp = CacheManager.Language.COMMANDS_BLUEARCADE_ADMINHELP;
for (String message : xahelp) {
StringUtils.sendMessage(sender, player, message);
}
} else {
StringUtils.sendMessage(sender, player, CacheManager.Language.GLOBAL_ERROR_INSUFFICIENT_PERMISSIONS);
}
} else if (args[1].equals("user")) {
if(sender.hasPermission("bluearcade.help")) {
List<String> bahelp = CacheManager.Language.COMMANDS_BLUEARCADE_HELP;
for (String message : bahelp) {
StringUtils.sendMessage(sender, player, message);
}
} else {
StringUtils.sendMessage(sender, player, CacheManager.Language.GLOBAL_ERROR_INSUFFICIENT_PERMISSIONS);
}
} else {
StringUtils.sendMessage(sender, player, CacheManager.Language.GLOBAL_OTHER_USE_HELP_SUBCOMMAND);
}
} else {
StringUtils.sendMessage(sender, player, CacheManager.Language.GLOBAL_OTHER_USE_HELP_SUBCOMMAND);
}
return false;
}
}
| 2,624
|
Java
|
.java
|
BluevaDevelopment/BlueArcade
| 10
| 1
| 0
|
2024-01-31T19:57:05Z
|
2024-03-09T18:39:46Z
|
23b1bd1a920b16436d156c8590732db0fd27984ac2bb2a12885655daac14665c
|
[
1337,
3723,
51,
5494,
5335,
51,
301,
9017,
51,
7626,
51,
1850,
51,
1133,
7626,
64,
222,
222,
485,
3723,
51,
5494,
5335,
51,
301,
9017,
51,
4370,
64,
222,
485,
3723,
51,
5494,
5335,
51,
301,
9017,
51,
7626,
51,
2037,
3058,
64,
222,
485,
3723,
51,
5494,
5335,
51,
301,
9017,
51,
35276,
51,
42814,
64,
222,
485,
3723,
51,
5494,
5335,
51,
301,
9017,
51,
2324,
51,
15193,
64,
222,
485,
1105,
51,
20402,
51,
2514,
51,
2037,
64,
222,
485,
1105,
51,
20402,
51,
2514,
51,
2037,
10455,
64,
222,
485,
1105,
51,
15575,
51,
8839,
51,
4936,
64,
222,
222,
485,
1401,
51,
1058,
51,
739,
64,
222,
222,
325,
3097,
5285,
2353,
4584,
5730,
3058,
222,
942,
462,
16899,
1736,
2037,
4584,
5730,
3058,
222,
128,
465,
964,
1175,
6697,
2594,
64,
465,
581,
16899,
1736,
2037,
45,
4370,
2594,
46,
320,
310,
477,
51,
1850,
299,
2594,
64,
303,
339,
465,
496,
1806,
303,
581,
1922,
563,
2037,
45,
2037,
10455,
7056,
49,
5730,
4781,
49,
6056,
910,
2035,
2186,
49,
910,
496,
4936,
1627,
2194,
46,
320,
603,
910,
4376,
299,
7056,
51,
5175,
492,
310,
434,
45,
1150,
51,
1340,
630,
244,
54,
46,
320,
343,
434,
45,
8272,
51,
2057,
7052,
459,
5494,
301,
9017,
51,
4771,
2152,
320,
419,
1701,
65,
671,
67,
37783,
4771,
299,
10425,
1590,
51,
5980,
51,
12251,
88,
100,
24269,
802,
17193,
100,
31504,
64,
419,
456,
327,
671,
1492,
518,
37783,
4771,
46,
320,
547,
26582,
51,
19693,
45,
8272,
49,
4376,
49,
1492,
312,
419,
339,
343,
339,
832,
320,
419,
26582,
51,
19693,
45,
8272,
49,
4376,
49,
10425,
1590,
51,
5980,
51,
14277,
100,
2946,
100,
540,
24309,
1122,
21738,
100,
28689,
88,
312,
343,
339,
310,
339,
832,
434,
327,
1150,
51,
1340,
630,
244,
55,
46,
320,
343,
434,
45,
1150,
96,
54,
1015,
3591,
459,
2317,
2152,
320,
419,
434,
45,
8272,
51,
2057,
7052,
459,
5494,
301,
9017,
51,
2317,
51,
4771,
2152,
320,
547,
1701,
65,
671,
67,
37783,
4771,
299,
10425,
1590,
51,
5980,
51,
12251,
88,
100,
24269,
802,
17193,
100,
15805,
31504,
64,
547,
456,
327,
671,
1492,
518,
37783,
4771,
46,
320,
733,
26582,
51,
19693,
45,
8272,
49,
4376,
49,
1492,
312,
547,
339,
419,
339,
832,
320,
547,
26582,
51,
19693,
45,
8272,
49,
4376,
49,
10425,
1590,
51,
5980,
51,
14277,
100,
2946,
100,
540,
24309,
1122,
21738,
100,
28689,
88,
312,
419,
339,
343,
339,
832,
434,
327,
1150,
96,
54,
1015,
3591,
459,
514,
2152,
320,
419,
434,
45,
8272,
51,
2057,
7052,
459,
5494,
301,
9017,
51,
4771,
2152,
320,
547,
1701,
65,
671,
67,
11639,
4771,
299,
10425,
1590,
51,
5980,
51,
12251,
88,
100,
24269,
802,
17193,
100,
31504,
64,
547,
456,
327,
671,
1492,
518,
11639,
4771,
46,
320,
733,
26582,
51,
19693,
45,
8272,
49,
4376,
49,
1492,
312,
547,
339,
419,
339,
832,
320,
547,
26582,
51,
19693,
45,
8272,
49,
4376,
49,
10425,
1590,
51,
5980,
51,
14277,
100,
2946,
100,
540,
24309,
1122,
21738,
100,
28689,
88,
312,
419,
339,
343,
339,
832,
320,
419,
26582,
51,
19693,
45,
8272,
49,
4376,
49,
10425,
1590,
51,
5980,
51,
14277,
100,
21127,
100,
4866,
100,
31504,
100,
7107,
12251,
312,
343,
339,
310,
339,
832,
320,
343,
26582,
51,
19693,
45,
8272,
49,
4376,
49,
10425,
1590,
51,
5980,
51,
14277,
100,
21127,
100,
4866,
100,
31504,
100,
7107,
12251,
312,
310,
339,
603,
461,
920,
64,
303,
339,
222,
222,
130
] |
[
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,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1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 593
| true
| 60.213415
| true
| true
|
V1_13.java
|
/FileExtraction/Java_unseen/LOOHP_HoloMobHealth/V1_13/src/main/java/com/loohp/holomobhealth/nms/V1_13.java
|
/*
* This file is part of HoloMobHealth.
*
* Copyright (C) 2024. LoohpJames <[email protected]>
* Copyright (C) 2024. Contributors
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package com.loohp.holomobhealth.nms;
import com.comphenix.protocol.events.PacketContainer;
import com.loohp.holomobhealth.holders.IHoloMobArmorStand;
import com.loohp.holomobhealth.utils.BoundingBox;
import net.kyori.adventure.text.Component;
import net.kyori.adventure.text.serializer.gson.GsonComponentSerializer;
import net.minecraft.server.v1_13_R1.PacketPlayOutEntityDestroy;
import net.minecraft.server.v1_13_R1.PacketPlayOutEntityMetadata;
import net.minecraft.server.v1_13_R1.PacketPlayOutEntityTeleport;
import net.minecraft.server.v1_13_R1.PacketPlayOutSpawnEntityLiving;
import net.minecraft.server.v1_13_R1.WorldServer;
import net.minecraft.server.v1_13_R1.IChatBaseComponent;
import net.minecraft.server.v1_13_R1.DataWatcher;
import net.minecraft.server.v1_13_R1.DataWatcherObject;
import net.minecraft.server.v1_13_R1.MathHelper;
import net.minecraft.server.v1_13_R1.EntityTypes;
import net.minecraft.server.v1_13_R1.EntityTropicalFish;
import net.minecraft.server.v1_13_R1.EntityArmorStand;
import net.minecraft.server.v1_13_R1.AxisAlignedBB;
import org.bukkit.Bukkit;
import org.bukkit.Location;
import org.bukkit.World;
import org.bukkit.craftbukkit.v1_13_R1.CraftWorld;
import org.bukkit.craftbukkit.v1_13_R1.entity.CraftEntity;
import org.bukkit.craftbukkit.v1_13_R1.util.CraftChatMessage;
import org.bukkit.entity.Entity;
import org.bukkit.util.Vector;
import java.lang.reflect.Field;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Optional;
import java.util.UUID;
import java.util.concurrent.CompletableFuture;
import java.util.concurrent.Future;
import java.util.concurrent.atomic.AtomicInteger;
@SuppressWarnings("unused")
public class V1_13 extends NMSWrapper {
private final Field[] entityMetadataPacketFields;
private final Field entityCountField;
private final Field dataWatcherByteField;
private final Field dataWatcherCustomNameField;
private final Field dataWatcherCustomNameVisibleField;
private final Field dataWatcherSilentField;
private final Field dataWatcherNoGravityField;
private final Field[] spawnEntityLivingPacketFields;
private final Field[] entityTeleportPacketFields;
public V1_13() {
try {
entityMetadataPacketFields = PacketPlayOutEntityMetadata.class.getDeclaredFields();
entityCountField = net.minecraft.server.v1_13_R1.Entity.class.getDeclaredField("entityCount");
dataWatcherByteField = net.minecraft.server.v1_13_R1.Entity.class.getDeclaredField("ac");
dataWatcherCustomNameField = net.minecraft.server.v1_13_R1.Entity.class.getDeclaredField("aE");
dataWatcherCustomNameVisibleField = net.minecraft.server.v1_13_R1.Entity.class.getDeclaredField("aF");
dataWatcherSilentField = net.minecraft.server.v1_13_R1.Entity.class.getDeclaredField("aG");
dataWatcherNoGravityField = net.minecraft.server.v1_13_R1.Entity.class.getDeclaredField("aH");
spawnEntityLivingPacketFields = PacketPlayOutSpawnEntityLiving.class.getDeclaredFields();
entityTeleportPacketFields = PacketPlayOutEntityTeleport.class.getDeclaredFields();
} catch (NoSuchFieldException e) {
throw new RuntimeException(e);
}
}
@Override
public PacketContainer[] createEntityDestroyPacket(int... entityIds) {
return new PacketContainer[] {p(new PacketPlayOutEntityDestroy(entityIds))};
}
@Override
public PacketContainer createEntityMetadataPacket(int entityId, List<?> dataWatchers) {
try {
PacketPlayOutEntityMetadata packet = new PacketPlayOutEntityMetadata();
entityMetadataPacketFields[0].setAccessible(true);
entityMetadataPacketFields[0].setInt(packet, entityId);
entityMetadataPacketFields[1].setAccessible(true);
entityMetadataPacketFields[1].set(packet, dataWatchers);
return p(packet);
} catch (IllegalAccessException e) {
throw new RuntimeException(e);
}
}
@Override
public PacketContainer createEntityTeleportPacket(int entityId, Location location) {
try {
PacketPlayOutEntityTeleport packet = new PacketPlayOutEntityTeleport();
entityTeleportPacketFields[0].setAccessible(true);
entityTeleportPacketFields[1].setAccessible(true);
entityTeleportPacketFields[2].setAccessible(true);
entityTeleportPacketFields[3].setAccessible(true);
entityTeleportPacketFields[4].setAccessible(true);
entityTeleportPacketFields[5].setAccessible(true);
entityTeleportPacketFields[6].setAccessible(true);
entityTeleportPacketFields[0].setInt(packet, entityId);
entityTeleportPacketFields[1].setDouble(packet, location.getX());
entityTeleportPacketFields[2].setDouble(packet, location.getY());
entityTeleportPacketFields[3].setDouble(packet, location.getZ());
entityTeleportPacketFields[4].setByte(packet, (byte) (int) (location.getYaw() * 256.0F / 360.0F));
entityTeleportPacketFields[5].setByte(packet, (byte) (int) (location.getPitch() * 256.0F / 360.0F));
entityTeleportPacketFields[6].setBoolean(packet, false);
return p(packet);
} catch (IllegalAccessException e) {
throw new RuntimeException(e);
}
}
@Override
public BoundingBox getBoundingBox(Entity entity) {
net.minecraft.server.v1_13_R1.Entity nmsEntity = ((CraftEntity) entity).getHandle();
AxisAlignedBB axisAlignedBB = nmsEntity.getBoundingBox();
return new BoundingBox(axisAlignedBB.a, axisAlignedBB.b, axisAlignedBB.c, axisAlignedBB.d, axisAlignedBB.e, axisAlignedBB.f);
}
@SuppressWarnings("deprecation")
@Override
public String getEntityTranslationKey(Entity entity) {
EntityTypes<?> type = EntityTypes.a(entity.getType().getName());
if (type == null) {
throw new RuntimeException();
}
return type.d();
}
@Override
public Component getEntityCustomName(Entity entity) {
IChatBaseComponent customName = ((CraftEntity) entity).getHandle().getCustomName();
return GsonComponentSerializer.gson().deserialize(CraftChatMessage.toJSON(customName));
}
@Override
public Future<Integer> getNextEntityId() {
try {
entityCountField.setAccessible(true);
AtomicInteger counter = (AtomicInteger) entityCountField.get(null);
return CompletableFuture.completedFuture(counter.incrementAndGet());
} catch (IllegalAccessException e) {
throw new RuntimeException(e);
}
}
@Override
public List<Entity> getPassengers(Entity entity) {
return entity.getPassengers();
}
@Override
public int getTropicalFishVariant(Entity entity) {
net.minecraft.server.v1_13_R1.Entity nmsEntity = ((CraftEntity) entity).getHandle();
EntityTropicalFish fish = (EntityTropicalFish) nmsEntity;
return fish.getVariant();
}
@Override
public UUID getEntityUUIDFromID(World world, int id) {
try {
WorldServer worldServer = ((CraftWorld) world).getHandle();
net.minecraft.server.v1_13_R1.Entity entity = worldServer.getEntity(id);
return entity == null ? null : entity.getUniqueID();
} catch (Exception e) {
throw new RuntimeException(e);
}
}
@Override
public Entity getEntityFromUUID(UUID uuid) {
return Bukkit.getEntity(uuid);
}
@Override
public double getEntityHeight(Entity entity) {
net.minecraft.server.v1_13_R1.Entity nmsEntity = ((CraftEntity) entity).getHandle();
AxisAlignedBB axisAlignedBB = nmsEntity.getBoundingBox();
double minY = axisAlignedBB.b;
double maxY = axisAlignedBB.e;
return maxY - minY;
}
@Override
public double getEntityWidth(Entity entity) {
net.minecraft.server.v1_13_R1.Entity nmsEntity = ((CraftEntity) entity).getHandle();
AxisAlignedBB axisAlignedBB = nmsEntity.getBoundingBox();
double minX = axisAlignedBB.a;
double maxX = axisAlignedBB.d;
return maxX - minX;
}
@SuppressWarnings("unchecked")
@Override
public PacketContainer createUpdateEntityPacket(Entity entity) {
try {
List<DataWatcher.Item<?>> dataWatcher = new ArrayList<>();
dataWatcherCustomNameField.setAccessible(true);
dataWatcherCustomNameVisibleField.setAccessible(true);
net.minecraft.server.v1_13_R1.Entity nmsEntity = ((CraftEntity) entity).getHandle();
DataWatcher watcher = nmsEntity.getDataWatcher();
Optional<IChatBaseComponent> name = watcher.get((DataWatcherObject<Optional<IChatBaseComponent>>) dataWatcherCustomNameField.get(null));
boolean visible = watcher.get((DataWatcherObject<Boolean>) dataWatcherCustomNameVisibleField.get(null));
dataWatcher.add(new DataWatcher.Item<>((DataWatcherObject<Optional<IChatBaseComponent>>) dataWatcherCustomNameField.get(null), name));
dataWatcher.add(new DataWatcher.Item<>((DataWatcherObject<Boolean>) dataWatcherCustomNameVisibleField.get(null), visible));
return createEntityMetadataPacket(entity.getEntityId(), dataWatcher);
} catch (Exception e) {
throw new RuntimeException(e);
}
}
@SuppressWarnings("unchecked")
@Override
public PacketContainer createUpdateEntityMetadataPacket(Entity entity, Component entityNameComponent, boolean visible) {
try {
List<DataWatcher.Item<?>> dataWatcher = new ArrayList<>();
dataWatcherCustomNameField.setAccessible(true);
dataWatcherCustomNameVisibleField.setAccessible(true);
Optional<IChatBaseComponent> name = entityNameComponent == null ? Optional.empty() : Optional.ofNullable(IChatBaseComponent.ChatSerializer.a(GsonComponentSerializer.gson().serialize(entityNameComponent)));
dataWatcher.add(new DataWatcher.Item<>((DataWatcherObject<Optional<IChatBaseComponent>>) dataWatcherCustomNameField.get(null), name));
dataWatcher.add(new DataWatcher.Item<>((DataWatcherObject<Boolean>) dataWatcherCustomNameVisibleField.get(null), visible));
return createEntityMetadataPacket(entity.getEntityId(), dataWatcher);
} catch (Exception e) {
throw new RuntimeException(e);
}
}
@SuppressWarnings("unchecked")
@Override
public List<?> buildDataWatchers(IHoloMobArmorStand entity, Component entityNameComponent, boolean visible) {
try {
List<DataWatcher.Item<?>> dataWatcher = new ArrayList<>();
dataWatcherByteField.setAccessible(true);
dataWatcherCustomNameField.setAccessible(true);
dataWatcherCustomNameVisibleField.setAccessible(true);
byte bitmask = 0x20;
dataWatcher.add(new DataWatcher.Item<>((DataWatcherObject<Byte>) dataWatcherByteField.get(null), bitmask));
Optional<IChatBaseComponent> name = entityNameComponent == null ? Optional.empty() : Optional.ofNullable(IChatBaseComponent.ChatSerializer.a(GsonComponentSerializer.gson().serialize(entityNameComponent)));
dataWatcher.add(new DataWatcher.Item<>((DataWatcherObject<Optional<IChatBaseComponent>>) dataWatcherCustomNameField.get(null), name));
dataWatcher.add(new DataWatcher.Item<>((DataWatcherObject<Boolean>) dataWatcherCustomNameVisibleField.get(null), visible));
dataWatcher.add(new DataWatcher.Item<>((DataWatcherObject<Boolean>) dataWatcherNoGravityField.get(null), true));
byte standbitmask = 0x01 | 0x10;
dataWatcher.add(new DataWatcher.Item<>(EntityArmorStand.a, standbitmask));
return dataWatcher;
} catch (Exception e) {
throw new RuntimeException(e);
}
}
@SuppressWarnings("deprecation")
@Override
public PacketContainer[] createArmorStandSpawnPackets(IHoloMobArmorStand entity, Component component, boolean visible) {
try {
EntityTypes<?> type = EntityTypes.a(entity.getType().getName());
PacketPlayOutSpawnEntityLiving packet1 = new PacketPlayOutSpawnEntityLiving();
spawnEntityLivingPacketFields[0].setAccessible(true);
spawnEntityLivingPacketFields[1].setAccessible(true);
spawnEntityLivingPacketFields[2].setAccessible(true);
spawnEntityLivingPacketFields[3].setAccessible(true);
spawnEntityLivingPacketFields[4].setAccessible(true);
spawnEntityLivingPacketFields[5].setAccessible(true);
spawnEntityLivingPacketFields[6].setAccessible(true);
spawnEntityLivingPacketFields[7].setAccessible(true);
spawnEntityLivingPacketFields[8].setAccessible(true);
spawnEntityLivingPacketFields[9].setAccessible(true);
spawnEntityLivingPacketFields[10].setAccessible(true);
spawnEntityLivingPacketFields[11].setAccessible(true);
spawnEntityLivingPacketFields[12].setAccessible(true);
spawnEntityLivingPacketFields[13].setAccessible(true);
spawnEntityLivingPacketFields[0].setInt(packet1, entity.getEntityId());
spawnEntityLivingPacketFields[1].set(packet1, entity.getUniqueId());
spawnEntityLivingPacketFields[2].setInt(packet1, EntityTypes.REGISTRY.a(type));
spawnEntityLivingPacketFields[3].setDouble(packet1, entity.getLocation().getX());
spawnEntityLivingPacketFields[4].setDouble(packet1, entity.getLocation().getY());
spawnEntityLivingPacketFields[5].setDouble(packet1, entity.getLocation().getZ());
spawnEntityLivingPacketFields[6].setInt(packet1, 0);
spawnEntityLivingPacketFields[7].setInt(packet1, 0);
spawnEntityLivingPacketFields[8].setInt(packet1, 0);
spawnEntityLivingPacketFields[9].setByte(packet1, (byte) ((int) (entity.getLocation().getYaw() * 256.0F / 360.0F)));
spawnEntityLivingPacketFields[10].setByte(packet1, (byte) ((int) (entity.getLocation().getPitch() * 256.0F / 360.0F)));
spawnEntityLivingPacketFields[11].setByte(packet1, (byte) ((int) (entity.getLocation().getYaw() * 256.0F / 360.0F)));
spawnEntityLivingPacketFields[12].set(packet1, new DataWatcher(null));
spawnEntityLivingPacketFields[13].set(packet1, Collections.emptyList());
List<?> dataWatchers = buildDataWatchers(entity, component, visible);
PacketContainer packet2 = createEntityMetadataPacket(entity.getEntityId(), dataWatchers);
return new PacketContainer[] {p(packet1), packet2};
} catch (Exception e) {
throw new RuntimeException(e);
}
}
@Override
public PacketContainer[] createUpdateArmorStandPackets(IHoloMobArmorStand entity, Component component, boolean visible) {
List<?> dataWatchers = buildDataWatchers(entity, component, visible);
PacketContainer packet1 = createEntityMetadataPacket(entity.getEntityId(), dataWatchers);
PacketContainer packet2 = createEntityTeleportPacket(entity.getEntityId(), entity.getLocation());
return new PacketContainer[] {packet1, packet2};
}
@Override
public PacketContainer[] createUpdateArmorStandLocationPackets(IHoloMobArmorStand entity) {
return new PacketContainer[] {createEntityTeleportPacket(entity.getEntityId(), entity.getLocation())};
}
@SuppressWarnings("unchecked")
@Override
public PacketContainer[] createSpawnDamageIndicatorPackets(int entityId, UUID uuid, Component entityNameComponent, Location location, Vector velocity, boolean gravity) {
try {
EntityTypes<EntityArmorStand> type = EntityTypes.ARMOR_STAND;
PacketPlayOutSpawnEntityLiving packet1 = new PacketPlayOutSpawnEntityLiving();
spawnEntityLivingPacketFields[0].setAccessible(true);
spawnEntityLivingPacketFields[1].setAccessible(true);
spawnEntityLivingPacketFields[2].setAccessible(true);
spawnEntityLivingPacketFields[3].setAccessible(true);
spawnEntityLivingPacketFields[4].setAccessible(true);
spawnEntityLivingPacketFields[5].setAccessible(true);
spawnEntityLivingPacketFields[6].setAccessible(true);
spawnEntityLivingPacketFields[7].setAccessible(true);
spawnEntityLivingPacketFields[8].setAccessible(true);
spawnEntityLivingPacketFields[9].setAccessible(true);
spawnEntityLivingPacketFields[10].setAccessible(true);
spawnEntityLivingPacketFields[11].setAccessible(true);
spawnEntityLivingPacketFields[12].setAccessible(true);
spawnEntityLivingPacketFields[13].setAccessible(true);
spawnEntityLivingPacketFields[0].setInt(packet1, entityId);
spawnEntityLivingPacketFields[1].set(packet1, uuid);
spawnEntityLivingPacketFields[2].setInt(packet1, EntityTypes.REGISTRY.a(type));
spawnEntityLivingPacketFields[3].setDouble(packet1, location.getX());
spawnEntityLivingPacketFields[4].setDouble(packet1, location.getY());
spawnEntityLivingPacketFields[5].setDouble(packet1, location.getZ());
spawnEntityLivingPacketFields[6].setInt(packet1, (int) (MathHelper.a(velocity.getX(), -3.9, 3.9) * 8000.0));
spawnEntityLivingPacketFields[7].setInt(packet1, (int) (MathHelper.a(velocity.getY(), -3.9, 3.9) * 8000.0));
spawnEntityLivingPacketFields[8].setInt(packet1, (int) (MathHelper.a(velocity.getZ(), -3.9, 3.9) * 8000.0));
spawnEntityLivingPacketFields[9].setByte(packet1, (byte) 0);
spawnEntityLivingPacketFields[10].setByte(packet1, (byte) 0);
spawnEntityLivingPacketFields[11].setByte(packet1, (byte) 0);
spawnEntityLivingPacketFields[12].set(packet1, new DataWatcher(null));
spawnEntityLivingPacketFields[13].set(packet1, Collections.emptyList());
List<DataWatcher.Item<?>> dataWatcher = new ArrayList<>();
dataWatcherByteField.setAccessible(true);
dataWatcherCustomNameField.setAccessible(true);
dataWatcherCustomNameVisibleField.setAccessible(true);
byte bitmask = 0x20;
dataWatcher.add(new DataWatcher.Item<>((DataWatcherObject<Byte>) dataWatcherByteField.get(null), bitmask));
Optional<IChatBaseComponent> name = entityNameComponent == null ? Optional.empty() : Optional.ofNullable(IChatBaseComponent.ChatSerializer.a(GsonComponentSerializer.gson().serialize(entityNameComponent)));
dataWatcher.add(new DataWatcher.Item<>((DataWatcherObject<Optional<IChatBaseComponent>>) dataWatcherCustomNameField.get(null), name));
dataWatcher.add(new DataWatcher.Item<>((DataWatcherObject<Boolean>) dataWatcherCustomNameVisibleField.get(null), true));
dataWatcher.add(new DataWatcher.Item<>((DataWatcherObject<Boolean>) dataWatcherSilentField.get(null), true));
dataWatcher.add(new DataWatcher.Item<>((DataWatcherObject<Boolean>) dataWatcherNoGravityField.get(null), !gravity));
byte standBitmask = (byte) 0x01 | 0x08 | 0x10;
dataWatcher.add(new DataWatcher.Item<>(EntityArmorStand.a, standBitmask));
PacketContainer packet2 = createEntityMetadataPacket(entityId, dataWatcher);
return new PacketContainer[] {p(packet1), packet2};
} catch (Exception e) {
throw new RuntimeException(e);
}
}
}
| 20,618
|
Java
|
.java
|
LOOHP/HoloMobHealth
| 14
| 7
| 11
|
2020-03-19T08:55:53Z
|
2024-05-05T20:36:28Z
|
406cddb77cf06e05b67a71114dfae3bdee86bf501f8fb0be97dd8e8f49fd47f1
|
[
1127,
222,
338,
1369,
822,
458,
1760,
451,
16563,
335,
26533,
10038,
51,
222,
338,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
55,
57,
51,
517,
623,
11319,
48458,
350,
111,
17069,
335,
6899,
117,
69,
7265,
51,
527,
67,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
55,
57,
51,
26368,
222,
338,
222,
338,
1369,
3477,
458,
3760,
2951,
63,
863,
902,
14081,
580,
480,
52,
290,
5370,
222,
338,
580,
1549,
341,
5974,
451,
341,
6994,
6153,
5062,
1196,
641,
9582,
829,
222,
338,
341,
7834,
3870,
7120,
49,
3173,
1522,
244,
56,
451,
341,
1196,
49,
575,
222,
338,
327,
288,
1390,
2489,
46,
1364,
6146,
1522,
51,
222,
338,
222,
338,
1369,
3477,
458,
2744,
347,
341,
9850,
708,
580,
1118,
545,
6386,
49,
222,
338,
1294,
4213,
2979,
9345,
64,
2895,
4462,
341,
4506,
14319,
451,
222,
338,
7934,
575,
8114,
4800,
418,
7848,
7763,
51,
244,
2819,
341,
222,
338,
6994,
6153,
5062,
1196,
456,
1851,
4261,
51,
222,
338,
222,
338,
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
6153,
5062,
1196,
222,
338,
7979,
642,
477,
3477,
51,
1691,
666,
49,
2337,
350,
662,
574,
1516,
51,
10627,
51,
1107,
52,
4205,
28699,
222,
588,
222,
222,
1337,
785,
51,
335,
6899,
117,
51,
37454,
6010,
9864,
51,
46809,
64,
222,
222,
485,
785,
51,
998,
19802,
801,
51,
5732,
51,
5070,
51,
6839,
2894,
64,
222,
485,
785,
51,
335,
6899,
117,
51,
37454,
6010,
9864,
51,
19484,
51,
78,
13930,
335,
26533,
32174,
19399,
64,
222,
485,
785,
51,
335,
6899,
117,
51,
37454,
6010,
9864,
51,
2324,
51,
26561,
64,
222,
485,
3723,
51,
7656,
15860,
51,
358,
20369,
51,
897,
51,
1735,
64,
222,
485,
3723,
51,
7656,
15860,
51,
358,
20369,
51,
897,
51,
15237,
51,
19968,
51,
33548,
1735,
7271,
64,
222,
485,
3723,
51,
8654,
51,
1805,
51,
123,
54,
100,
54,
56,
100,
87,
54,
51,
6839,
5202,
1529,
2234,
9413,
64,
222,
485,
3723,
51,
8654,
51,
1805,
51,
123,
54,
100,
54,
56,
100,
87,
54,
51,
6839,
5202,
1529,
2234,
4108,
64,
222,
485,
3723,
51,
8654,
51,
1805,
51,
123,
54,
100,
54,
56,
100,
87,
54,
51,
6839,
5202,
1529,
2234,
46432,
64,
222,
485,
3723,
51,
8654,
51,
1805,
51,
123,
54,
100,
54,
56,
100,
87,
54,
51,
6839,
5202,
1529,
16354,
2234,
38958,
64,
222,
485,
3723,
51,
8654,
51,
1805,
51,
123,
54,
100,
54,
56,
100,
87,
54,
51,
6719,
2077,
64,
222,
485,
3723,
51,
8654,
51,
1805,
51,
123,
54,
100,
54,
56,
100,
87,
54,
51,
78,
7580,
1778,
1735,
64,
222,
485,
3723,
51,
8654,
51,
1805,
51,
123,
54,
100,
54,
56,
100,
87,
54,
51,
768,
18728,
64,
222,
485,
3723,
51,
8654,
51,
1805,
51,
123,
54,
100,
54,
56,
100,
87,
54,
51,
768,
18728,
976,
64,
222,
485,
3723,
51,
8654,
51,
1805,
51,
123,
54,
100,
54,
56,
100,
87,
54,
51,
5728,
2775,
64,
222,
485,
3723,
51,
8654,
51,
1805,
51,
123,
54,
100,
54,
56,
100,
87,
54,
51,
2234,
2439,
64,
222,
485,
3723,
51,
8654,
51,
1805,
51,
123,
54,
100,
54,
56,
100,
87,
54,
51,
2234,
89,
1996,
1599,
35549,
64,
222,
485,
3723,
51,
8654,
51,
1805,
51,
123,
54,
100,
54,
56,
100,
87,
54,
51,
2234,
32174,
19399,
64,
222,
485,
3723,
51,
8654,
51,
1805,
51,
123,
54,
100,
54,
56,
100,
87,
54,
51,
6370,
28878,
5117,
64,
222,
485,
1105,
51,
20402,
51,
982,
17120,
64,
222,
485,
1105,
51,
20402,
51,
2941,
64,
222,
485,
1105,
51,
20402,
51,
6719,
64,
222,
485,
1105,
51,
20402,
51,
6181,
20402,
51,
123,
54,
100,
54,
56,
100,
87,
54,
51,
23998,
6719,
64,
222,
485,
1105,
51,
20402,
51,
6181,
20402,
51,
123,
54,
100,
54,
56,
100,
87,
54,
51,
2244,
51,
23998,
2234,
64,
222,
485,
1105,
51,
20402,
51,
6181,
20402,
51,
123,
54,
100,
54,
56,
100,
87,
54,
51,
1058,
51,
23998,
44352,
64,
222,
485,
1105,
51,
20402,
51,
2244,
51,
2234,
64,
222,
485,
1105,
51,
20402,
51,
1058,
51,
2880,
64,
222,
222,
485,
1401,
51,
1600,
51,
9069,
51,
1195,
64,
222,
485,
1401,
51,
1058,
51,
7119,
64,
222,
485,
1401,
51,
1058,
51,
4293,
64,
222,
485,
1401,
51,
1058,
51,
739,
64,
222,
485,
1401,
51,
1058,
51,
7575,
64,
222,
485,
1401,
51,
1058,
51,
7604,
64,
222,
485,
1401,
51,
1058,
51,
8349,
51,
1000,
28622,
64,
222,
485,
1401,
51,
1058,
51,
8349,
51,
8271,
64,
222,
485,
1401,
51,
1058,
51,
8349,
51,
6238,
51,
17122,
3078,
64,
222,
222,
69,
14030,
459,
12086,
678,
222,
942,
462,
694,
54,
100,
54,
56,
2041,
508,
2758,
4687,
320,
465,
964,
1175,
5697,
1197,
4436,
4108,
6839,
4152,
64,
303,
964,
1175,
5697,
4436,
1552,
1195,
64,
303,
964,
1175,
5697,
727,
18728,
3945,
1195,
64,
303,
964,
1175,
5697,
727,
18728,
3414,
577,
1195,
64,
303,
964,
1175,
5697,
727,
18728,
3414,
577,
5671,
1195,
64,
303,
964,
1175,
5697,
727,
18728,
20068,
323,
1195,
64,
303,
964,
1175,
5697,
727,
18728,
2042,
27025,
1195,
64,
303,
964,
1175,
5697,
1197,
16609,
2234,
38958,
6839,
4152,
64,
303,
964,
1175,
5697,
1197,
4436,
46432,
6839,
4152,
64,
465,
581,
694,
54,
100,
54,
56,
365,
320,
310,
1614,
320,
343,
4436,
4108,
6839,
4152,
299,
18706,
5202,
1529,
2234,
4108,
51,
842,
51,
36823,
4152,
492,
343,
4436,
1552,
1195,
299,
3723,
51,
8654,
51,
1805,
51,
123,
54,
100,
54,
56,
100,
87,
54,
51,
2234,
51,
842,
51,
36823,
1195,
459,
2244,
1552,
742,
343,
727,
18728,
3945,
1195,
299,
3723,
51,
8654,
51,
1805,
51,
123,
54,
100,
54,
56,
100,
87,
54,
51,
2234,
51,
842,
51,
36823,
1195,
459,
348,
742,
343,
727,
18728,
3414,
577,
1195,
299,
3723,
51,
8654,
51,
1805,
51,
123,
54,
100,
54,
56,
100,
87,
54,
51,
2234,
51,
842,
51,
36823,
1195,
459,
102,
74,
742,
343,
727,
18728,
3414,
577,
5671,
1195,
299,
3723,
51,
8654,
51,
1805,
51,
123,
54,
100,
54,
56,
100,
87,
54,
51,
2234,
51,
842,
51,
36823,
1195,
459,
102,
75,
742,
343,
727,
18728,
20068,
323,
1195,
299,
3723,
51,
8654,
51,
1805,
51,
123,
54,
100,
54,
56,
100,
87,
54,
51,
2234,
51,
842,
51,
36823,
1195,
459,
38021,
742,
343,
727,
18728,
2042,
27025,
1195,
299,
3723,
51,
8654,
51,
1805,
51,
123,
54,
100,
54,
56,
100,
87,
54,
51,
2234,
51,
842,
51,
36823,
1195,
459,
102,
77,
742,
343,
16609,
2234,
38958,
6839,
4152,
299,
18706,
5202,
1529,
16354,
2234,
38958,
51,
842,
51,
36823,
4152,
492,
343,
4436,
46432,
6839,
4152,
299,
18706,
5202,
1529,
2234,
46432,
51,
842,
51,
36823,
4152,
492,
310,
339,
2385,
327,
26348,
1195,
1002,
503,
46,
320,
343,
1440,
556,
13383,
45,
106,
312,
310,
339,
303,
339,
465,
496,
1806,
303,
581,
18706,
2894,
1197,
1506,
2234,
9413,
6839,
45,
429,
1198,
4436,
5345,
46,
320,
310,
461,
556,
18706,
2894,
1197,
320,
117,
45,
909,
18706,
5202,
1529,
2234,
9413,
45,
2244,
5345,
509,
1274,
303,
339,
465,
496,
1806,
303,
581,
18706,
2894,
1506,
2234,
4108,
6839,
45,
429,
4436,
625,
49,
1701,
11667,
727,
9416,
502,
46,
320,
310,
1614,
320,
343,
18706,
5202,
1529,
2234,
4108,
6892,
299,
556,
18706,
5202,
1529,
2234,
4108,
492,
343,
4436,
4108,
6839,
4152,
96,
53,
1015,
45167,
45,
1527,
312,
343,
4436,
4108,
6839,
4152,
96,
53,
1015,
34288,
45,
8776,
49,
4436,
625,
312,
343,
4436,
4108,
6839,
4152,
96,
54,
1015,
45167,
45,
1527,
312,
343,
4436,
4108,
6839,
4152,
96,
54,
1015,
489,
45,
8776,
49,
727,
9416,
502,
312,
343,
461,
317,
45,
8776,
312,
310,
339,
2385,
327,
15083,
27123,
503,
46,
320,
343,
1440,
556,
13383,
45,
106,
312,
310,
339,
303,
339,
465,
496,
1806,
303,
581,
18706,
2894,
1506,
2234,
46432,
6839,
45,
429,
4436,
625,
49,
10642,
3913,
46,
320,
310,
1614,
320,
343,
18706,
5202,
1529,
2234,
46432,
6892,
299,
556,
18706,
5202,
1529,
2234,
46432,
492,
343,
4436,
46432,
6839,
4152,
96,
53,
1015,
45167,
45,
1527,
312,
343,
4436,
46432,
6839,
4152,
96,
54,
1015,
45167,
45,
1527,
312,
343,
4436,
46432,
6839,
4152,
96,
55,
1015,
45167,
45,
1527,
312,
343,
4436,
46432,
6839,
4152,
96,
56,
1015,
45167,
45,
1527,
312,
343,
4436,
46432,
6839,
4152,
96,
57,
1015,
45167,
45,
1527,
312,
343,
4436,
46432,
6839,
4152,
96,
58,
1015,
45167,
45,
1527,
312,
343,
4436,
46432,
6839,
4152,
96,
59,
1015,
45167,
45,
1527,
312,
1083,
4436,
46432,
6839,
4152,
96,
53,
1015,
34288,
45,
8776,
49,
4436,
625,
312,
343,
4436,
46432,
6839,
4152,
96,
54,
1015,
489,
4090,
45,
8776,
49,
3913,
51,
18807,
1052,
343,
4436,
46432,
6839,
4152,
96,
55,
1015,
489,
4090,
45,
8776,
49,
3913,
51,
20421,
1052,
343,
4436,
46432,
6839,
4152,
96,
56,
1015,
489,
4090,
45,
8776,
49,
3913,
51,
40500,
1052,
343,
4436,
46432,
6839,
4152,
96,
57,
1015,
489,
3945,
45,
8776,
49,
327,
2278,
46,
327,
429,
46,
327,
2665,
51,
20421,
831,
365,
338,
244,
55,
58,
59,
51,
53,
75,
536,
244,
56,
59,
53,
51,
53,
75,
894,
343,
4436,
46432,
6839,
4152,
96,
58,
1015,
489,
3945,
45,
8776,
49,
327,
2278,
46,
327,
429,
46,
327,
2665,
51,
390,
24367,
365,
338,
244,
55,
58,
59,
51,
53,
75,
536,
244,
56,
59,
53,
51,
53,
75,
894,
343,
4436,
46432,
6839,
4152,
96,
59,
1015,
489,
4718,
45,
8776,
49,
920,
312,
1083,
461,
317,
45,
8776,
312,
310,
339,
2385,
327,
15083,
27123,
503,
46,
320,
343,
1440,
556,
13383,
45,
106,
312,
310,
339,
303,
339,
465,
496,
1806,
303,
581,
41990,
1723,
640,
26561,
45,
2234,
4436,
46,
320,
310,
3723,
51,
8654,
51,
1805,
51,
123,
54,
100,
54,
56,
100,
87,
54,
51,
2234,
329,
893,
2234,
299,
1849,
23998,
2234,
46,
4436,
566,
390,
3308,
492,
310,
27365,
28878,
5117,
6100,
28878,
5117,
299,
329,
893,
2234,
51,
390,
26561,
492,
310,
461,
556,
41990,
1723,
45,
5167,
28878,
5117,
51,
102,
49,
6100,
28878,
5117,
51,
103,
49,
6100,
28878,
5117,
51,
104,
49,
6100,
28878,
5117,
51,
105,
49,
6100,
28878,
5117,
51,
106,
49,
6100,
28878,
5117,
51,
107,
312,
303,
339,
465,
496,
14030,
459,
44096,
678,
303,
496,
1806,
303,
581,
910,
640,
2234,
12687,
971,
45,
2234,
4436,
46,
320,
310,
7276,
2439,
11667,
847,
299,
7276,
2439,
51,
102,
45,
2244,
51,
10276,
941,
5175,
1052,
310,
434,
327,
700,
630,
762,
46,
320,
343,
1440,
556,
13383,
492,
310,
339,
310,
461,
847,
51,
105,
492,
303,
339,
465,
496,
1806,
303,
581,
5715,
640,
2234,
3414,
577,
45,
2234,
4436,
46,
320,
310,
457,
7580,
1778,
1735,
3137,
577,
299,
1849,
23998,
2234,
46,
4436,
566,
390,
3308,
941,
390,
3414,
577,
492,
310,
461,
33317,
1735,
7271,
51,
19968,
941,
16997,
45,
23998,
44352,
51,
25708,
45,
3005,
577,
894,
303,
339,
465,
496,
1806,
303,
581,
12102,
65,
3078,
67,
36231,
38646,
365,
320,
310,
1614,
320,
343,
4436,
1552,
1195,
51,
45167,
45,
1527,
312,
343,
42034,
7035,
299,
327,
17122,
3078,
46,
4436,
1552,
1195,
51,
390,
45,
1710,
312,
343,
461,
40364,
51,
14908,
8271,
45,
4696,
51,
12128,
35335,
1052,
310,
339,
2385,
327,
15083,
27123,
503,
46,
320,
343,
1440,
556,
13383,
45,
106,
312,
310,
339,
303,
339,
465,
496,
1806,
303,
581,
1701,
65,
2234,
67,
640,
6136,
43362,
45,
2234,
4436,
46,
320,
310,
461,
4436,
51,
390,
6136,
43362,
492,
303,
339,
465,
496,
1806,
303,
581,
648,
640,
89,
1996,
1599,
35549,
10827,
45,
2234,
4436,
46,
320,
310,
3723,
51,
8654,
51,
1805,
51,
123,
54,
100,
54,
56,
100,
87,
54,
51,
2234,
329,
893,
2234,
299,
1849,
23998,
2234,
46,
4436,
566,
390,
3308,
492,
310,
7276,
89,
1996,
1599,
35549,
27612,
299,
327,
2234,
89,
1996,
1599,
35549,
46,
329,
893,
2234,
64,
310,
461,
27612,
51,
390,
10827,
492,
303,
339,
465,
496,
1806,
303,
581,
14286,
640,
2234,
7604,
1811,
798,
45,
6719,
5810,
49,
648,
828,
46,
320,
310,
1614,
320,
343,
10914,
2077,
5810,
2077,
299,
1849,
23998,
6719,
46,
5810,
566,
390,
3308,
492,
343,
3723,
51,
8654,
51,
1805,
51,
123,
54,
100,
54,
56,
100,
87,
54,
51,
2234,
4436,
299,
5810,
2077,
51,
23258,
45,
333,
312,
343,
461,
4436,
630,
762,
1037,
762,
518,
4436,
51,
390,
10186,
798,
492,
310,
339,
2385,
327,
1002,
503,
46,
320,
343,
1440,
556,
13383,
45,
106,
312,
310,
339,
303,
339,
465,
496,
1806,
303,
581,
7276,
640,
2234,
1811,
7604,
45,
7604,
11168,
46,
320,
310,
461,
2755,
17120,
51,
23258,
45,
6615,
312,
303,
339,
465,
496,
1806,
303,
581,
2082,
640,
2234,
3041,
45,
2234,
4436,
46,
320,
310,
3723,
51,
8654,
51,
1805,
51,
123,
54,
100,
54,
56,
100,
87,
54,
51,
2234,
329,
893,
2234,
299,
1849,
23998,
2234,
46,
4436,
566,
390,
3308,
492,
310,
27365,
28878,
5117,
6100,
28878,
5117,
299,
329,
893,
2234,
51,
390,
26561,
492,
310,
2082,
1865,
94,
299,
6100,
28878,
5117,
51,
103,
64,
310,
2082,
1788,
94,
299,
6100,
28878,
5117,
51,
106,
64,
310,
461,
1788,
94,
449,
1865,
94,
64,
303,
339,
465,
496,
1806,
303,
581,
2082,
640,
2234,
2627,
45,
2234,
4436,
46,
320,
310,
3723,
51,
8654,
51,
1805,
51,
123,
54,
100,
54,
56,
100,
87,
54,
51,
2234,
329,
893,
2234,
299,
1849,
23998,
2234,
46,
4436,
566,
390,
3308,
492,
310,
27365,
28878,
5117,
6100,
28878,
5117,
299,
329,
893,
2234,
51,
390,
26561,
492,
310,
2082,
1865,
93,
299,
6100,
28878,
5117,
51,
102,
64,
310,
2082,
1788,
93,
299,
6100,
28878,
5117,
51,
105,
64,
310,
461,
1788,
93,
449,
1865,
93,
64,
303,
339,
465,
496,
14030,
459,
18362,
678,
303,
496,
1806,
303,
581,
18706,
2894,
1506,
2346,
2234,
6839,
45,
2234,
4436,
46,
320,
310,
1614,
320,
343,
1701,
65,
768,
18728,
51,
1114,
31785,
727,
18728,
299,
556,
5068,
6984,
1083,
727,
18728,
3414,
577,
1195,
51,
45167,
45,
1527,
312,
343,
727,
18728,
3414,
577,
5671,
1195,
51,
45167,
45,
1527,
312,
1083,
3723,
51,
8654,
51,
1805,
51,
123,
54,
100,
54,
56,
100,
87,
54,
51,
2234,
329,
893,
2234,
299,
1849,
23998,
2234,
46,
4436,
566,
390,
3308,
492,
343,
2426,
18728,
33697,
299,
329,
893,
2234,
51,
11574,
18728,
492,
1083,
5663,
65,
78,
7580,
1778,
1735,
67,
655,
299,
33697,
51,
390,
1181,
768,
18728,
976,
65,
7575,
65,
78,
7580,
1778,
1735,
33948,
727,
18728,
3414,
577,
1195,
51,
390,
45,
1710,
894,
343,
1922,
8716,
299,
33697,
51,
390,
1181,
768,
18728,
976,
65,
4718,
5111,
727,
18728,
3414,
577,
5671,
1195,
51,
390,
45,
1710,
894,
1083,
727,
18728,
51,
688,
45,
909,
2426,
18728,
51,
1114,
13366,
1181,
768,
18728,
976,
65,
7575,
65,
78,
7580,
1778,
1735,
33948,
727,
18728,
3414,
577,
1195,
51,
390,
45,
1710,
490,
655,
894,
343,
727,
18728,
51,
688,
45,
909,
2426,
18728,
51,
1114,
13366,
1181,
768,
18728,
976,
65,
4718,
5111,
727,
18728,
3414,
577,
5671,
1195,
51,
390,
45,
1710,
490,
8716,
894,
1083,
461,
1506,
2234,
4108,
6839,
45,
2244,
51,
23258,
625,
1046,
727,
18728,
312,
310,
339,
2385,
327,
1002,
503,
46,
320,
343,
1440,
556,
13383,
45,
106,
312,
310,
339,
303,
339,
465,
496,
14030,
459,
18362,
678,
303,
496,
1806,
303,
581,
18706,
2894,
1506,
2346,
2234,
4108,
6839,
45,
2234,
4436,
49,
5715,
4436,
577,
1735,
49,
1922,
8716,
46,
320,
310,
1614,
320,
343,
1701,
65,
768,
18728,
51,
1114,
31785,
727,
18728,
299,
556,
5068,
6984,
1083,
727,
18728,
3414,
577,
1195,
51,
45167,
45,
1527,
312,
343,
727,
18728,
3414,
577,
5671,
1195,
51,
45167,
45,
1527,
312,
1083,
5663,
65,
78,
7580,
1778,
1735,
67,
655,
299,
4436,
577,
1735,
630,
762,
1037,
5663,
51,
2970,
365,
518,
5663,
51,
1048,
6825,
45,
78,
7580,
1778,
1735,
51,
7580,
7271,
51,
102,
45,
33548,
1735,
7271,
51,
19968,
941,
6293,
45,
42406,
1735,
4254,
343,
727,
18728,
51,
688,
45,
909,
2426,
18728,
51,
1114,
13366,
1181,
768,
18728,
976,
65,
7575,
65,
78,
7580,
1778,
1735,
33948,
727,
18728,
3414,
577,
1195,
51,
390,
45,
1710,
490,
655,
894,
343,
727,
18728,
51,
688,
45,
909,
2426,
18728,
51,
1114,
13366,
1181,
768,
18728,
976,
65,
4718,
5111,
727,
18728,
3414,
577,
5671,
1195,
51,
390,
45,
1710,
490,
8716,
894,
1083,
461,
1506,
2234,
4108,
6839,
45,
2244,
51,
23258,
625,
1046,
727,
18728,
312,
310,
339,
2385,
327,
1002,
503,
46,
320,
343,
1440,
556,
13383,
45,
106,
312,
310,
339,
303,
339,
465,
496,
14030,
459,
18362,
678,
303,
496,
1806,
303,
581,
1701,
11667,
1984,
768,
9416,
502,
45,
78,
13930,
335,
26533,
32174,
19399,
4436,
49,
5715,
4436,
577,
1735,
49,
1922,
8716,
46,
320,
310,
1614,
320,
343,
1701,
65,
768,
18728,
51,
1114,
31785,
727,
18728,
299,
556,
5068,
6984,
1083,
727,
18728,
3945,
1195,
51,
45167,
45,
1527,
312,
343,
727,
18728,
3414,
577,
1195,
51,
45167,
45,
1527,
312,
343,
727,
18728,
3414,
577,
5671,
1195,
51,
45167,
45,
1527,
312,
1083,
3447,
3510,
3988,
299,
244,
53,
125,
55,
53,
64,
343,
727,
18728,
51,
688,
45,
909,
2426,
18728,
51,
1114,
13366,
1181,
768,
18728,
976,
65,
3945,
5111,
727,
18728,
3945,
1195,
51,
390,
45,
1710,
490,
3510,
3988,
894,
1083,
5663,
65,
78,
7580,
1778,
1735,
67,
655,
299,
4436,
577,
1735,
630,
762,
1037,
5663,
51,
2970,
365,
518,
5663,
51,
1048,
6825,
45,
78,
7580,
1778,
1735,
51,
7580,
7271,
51,
102,
45,
33548,
1735,
7271,
51,
19968,
941,
6293,
45,
42406,
1735,
4254,
343,
727,
18728,
51,
688,
45,
909,
2426,
18728,
51,
1114,
13366,
1181,
768,
18728,
976,
65,
7575,
65,
78,
7580,
1778,
1735,
33948,
727,
18728,
3414,
577,
1195,
51,
390,
45,
1710,
490,
655,
894,
343,
727,
18728,
51,
688,
45,
909,
2426,
18728,
51,
1114,
13366,
1181,
768,
18728,
976,
65,
4718,
5111,
727,
18728,
3414,
577,
5671,
1195,
51,
390,
45,
1710,
490,
8716,
894,
1083,
727,
18728,
51,
688,
45,
909,
2426,
18728,
51,
1114,
13366,
1181,
768,
18728,
976,
65,
4718,
5111,
727,
18728,
2042,
27025,
1195,
51,
390,
45,
1710,
490,
878,
894,
1083,
3447,
14031,
2417,
3988,
299,
244,
53,
125,
53,
54,
542,
244,
53,
125,
54,
53,
64,
343,
727,
18728,
51,
688,
45,
909,
2426,
18728,
51,
1114,
11530,
2234,
32174,
19399,
51,
102,
49,
14031,
2417,
3988,
894,
1083,
461,
727,
18728,
64,
310,
339,
2385,
327,
1002,
503,
46,
320,
343,
1440,
556,
13383,
45,
106,
312,
310,
339,
303,
339,
465,
496,
14030,
459,
44096,
678,
303,
496,
1806,
303,
581,
18706,
2894,
1197,
1506,
32174,
19399,
16354,
29769,
45,
78,
13930,
335,
26533,
32174,
19399,
4436,
49,
5715,
2595,
49,
1922,
8716,
46,
320,
310,
1614,
320,
343,
7276,
2439,
11667,
847,
299,
7276,
2439,
51,
102,
45,
2244,
51,
10276,
941,
5175,
1052,
343,
18706,
5202,
1529,
16354,
2234,
38958,
6892,
54,
299,
556,
18706,
5202,
1529,
16354,
2234,
38958,
492,
343,
16609,
2234,
38958,
6839,
4152,
96,
53,
1015,
45167,
45,
1527,
312,
343,
16609,
2234,
38958,
6839,
4152,
96,
54,
1015,
45167,
45,
1527,
312,
343,
16609,
2234,
38958,
6839,
4152,
96,
55,
1015,
45167,
45,
1527,
312,
343,
16609,
2234,
38958,
6839,
4152,
96,
56,
1015,
45167,
45,
1527,
312,
343,
16609,
2234,
38958,
6839,
4152,
96,
57,
1015,
45167,
45,
1527,
312,
343,
16609,
2234,
38958,
6839,
4152,
96,
58,
1015,
45167,
45,
1527,
312,
343,
16609,
2234,
38958,
6839,
4152,
96,
59,
1015,
45167,
45,
1527,
312,
343,
16609,
2234,
38958,
6839,
4152,
96,
60,
1015,
45167,
45,
1527,
312,
343,
16609,
2234,
38958,
6839,
4152,
96,
61,
1015,
45167,
45,
1527,
312,
343,
16609,
2234,
38958,
6839,
4152,
96,
62,
1015,
45167,
45,
1527,
312,
343,
16609,
2234,
38958,
6839,
4152,
96,
54,
53,
1015,
45167,
45,
1527,
312,
343,
16609,
2234,
38958,
6839,
4152,
96,
54,
54,
1015,
45167,
45,
1527,
312,
343,
16609,
2234,
38958,
6839,
4152,
96,
54,
55,
1015,
45167,
45,
1527,
312,
343,
16609,
2234,
38958,
6839,
4152,
96,
54,
56,
1015,
45167,
45,
1527,
312,
1083,
16609,
2234,
38958,
6839,
4152,
96,
53,
1015,
34288,
45,
8776,
54,
49,
4436,
51,
23258,
625,
1052,
343,
16609,
2234,
38958,
6839,
4152,
96,
54,
1015,
489,
45,
8776,
54,
49,
4436,
51,
390,
34245,
1052,
343,
16609,
2234,
38958,
6839,
4152,
96,
55,
1015,
34288,
45,
8776,
54,
49,
7276,
2439,
51,
37382,
51,
102,
45,
700,
894,
343,
16609,
2234,
38958,
6839,
4152,
96,
56,
1015,
489,
4090,
45,
8776,
54,
49,
4436,
51,
26716,
941,
18807,
1052,
343,
16609,
2234,
38958,
6839,
4152,
96,
57,
1015,
489,
4090,
45,
8776,
54,
49,
4436,
51,
26716,
941,
20421,
1052,
343,
16609,
2234,
38958,
6839,
4152,
96,
58,
1015,
489,
4090,
45,
8776,
54,
49,
4436,
51,
26716,
941,
40500,
1052,
343,
16609,
2234,
38958,
6839,
4152,
96,
59,
1015,
34288,
45,
8776,
54,
49,
244,
53,
312,
343,
16609,
2234,
38958,
6839,
4152,
96,
60,
1015,
34288,
45,
8776,
54,
49,
244,
53,
312,
343,
16609,
2234,
38958,
6839,
4152,
96,
61,
1015,
34288,
45,
8776,
54,
49,
244,
53,
312,
343,
16609,
2234,
38958,
6839,
4152,
96,
62,
1015,
489,
3945,
45,
8776,
54,
49,
327,
2278,
46,
1849,
429,
46,
327,
2244,
51,
26716,
941,
20421,
831,
365,
338,
244,
55,
58,
59,
51,
53,
75,
536,
244,
56,
59,
53,
51,
53,
75,
4254,
343,
16609,
2234,
38958,
6839,
4152,
96,
54,
53,
1015,
489,
3945,
45,
8776,
54,
49,
327,
2278,
46,
1849,
429,
46,
327,
2244,
51,
26716,
941,
390,
24367,
365,
338,
244,
55,
58,
59,
51,
53,
75,
536,
244,
56,
59,
53,
51,
53,
75,
4254,
343,
16609,
2234,
38958,
6839,
4152,
96,
54,
54,
1015,
489,
3945,
45,
8776,
54,
49,
327,
2278,
46,
1849,
429,
46,
327,
2244,
51,
26716,
941,
20421,
831,
365,
338,
244,
55,
58,
59,
51,
53,
75,
536,
244,
56,
59,
53,
51,
53,
75,
4254,
343,
16609,
2234,
38958,
6839,
4152,
96,
54,
55,
1015,
489,
45,
8776,
54,
49,
556,
2426,
18728,
45,
1710,
894,
343,
16609,
2234,
38958,
6839,
4152,
96,
54,
56,
1015,
489,
45,
8776,
54,
49,
15490,
51,
31447,
1052,
1083,
1701,
11667,
727,
9416,
502,
299,
1984,
768,
9416,
502,
45,
2244,
49,
2595,
49,
8716,
312,
343,
18706,
2894,
6892,
55,
299,
1506,
2234,
4108,
6839,
45,
2244,
51,
23258,
625,
1046,
727,
9416,
502,
312,
1083,
461,
556,
18706,
2894,
1197,
320,
117,
45,
8776,
54,
490,
6892,
55,
1274,
310,
339,
2385,
327,
1002,
503,
46,
320,
343,
1440,
556,
13383,
45,
106,
312,
310,
339,
303,
339,
465,
496,
1806,
303,
581,
18706,
2894,
1197,
1506,
2346,
32174,
19399,
29769,
45,
78,
13930,
335,
26533,
32174,
19399,
4436,
49,
5715,
2595,
49,
1922,
8716,
46,
320,
310,
1701,
11667,
727,
9416,
502,
299,
1984,
768,
9416,
502,
45,
2244,
49,
2595,
49,
8716,
312,
310,
18706,
2894,
6892,
54,
299,
1506,
2234,
4108,
6839,
45,
2244,
51,
23258,
625,
1046,
727,
9416,
502,
312,
310,
18706,
2894,
6892,
55,
299,
1506,
2234,
46432,
6839,
45,
2244,
51,
23258,
625,
1046,
4436,
51,
26716,
1052,
310,
461,
556,
18706,
2894,
1197,
320,
8776,
54,
49,
6892,
55,
1274,
303,
339,
465,
496,
1806,
303,
581,
18706,
2894,
1197,
1506,
2346,
32174,
19399,
2941,
29769,
45,
78,
13930,
335,
26533,
32174,
19399,
4436,
46,
320,
310,
461,
556,
18706,
2894,
1197,
320,
1315,
2234,
46432,
6839,
45,
2244,
51,
23258,
625,
1046,
4436,
51,
26716,
1177,
1274,
303,
339,
465,
496,
14030,
459,
18362,
678,
303,
496,
1806,
303,
581,
18706,
2894,
1197,
1506,
16354,
15022,
12474,
29769,
45,
429,
4436,
625,
49,
14286,
11168,
49,
5715,
4436,
577,
1735,
49,
10642,
3913,
49,
4126,
15689,
49,
1922,
37309,
46,
320,
310,
1614,
320,
343,
7276,
2439,
65,
2234,
32174,
19399,
67,
847,
299,
7276,
2439,
51,
14023,
776,
100,
24196,
64,
1083,
18706,
5202,
1529,
16354,
2234,
38958,
6892,
54,
299,
556,
18706,
5202,
1529,
16354,
2234,
38958,
492,
343,
16609,
2234,
38958,
6839,
4152,
96,
53,
1015,
45167,
45,
1527,
312,
343,
16609,
2234,
38958,
6839,
4152,
96,
54,
1015,
45167,
45,
1527,
312,
343,
16609,
2234,
38958,
6839,
4152,
96,
55,
1015,
45167,
45,
1527,
312,
343,
16609,
2234,
38958,
6839,
4152,
96,
56,
1015,
45167,
45,
1527,
312,
343,
16609,
2234,
38958,
6839,
4152,
96,
57,
1015,
45167,
45,
1527,
312,
343,
16609,
2234,
38958,
6839,
4152,
96,
58,
1015,
45167,
45,
1527,
312,
343,
16609,
2234,
38958,
6839,
4152,
96,
59,
1015,
45167,
45,
1527,
312,
343,
16609,
2234,
38958,
6839,
4152,
96,
60,
1015,
45167,
45,
1527,
312,
343,
16609,
2234,
38958,
6839,
4152,
96,
61,
1015,
45167,
45,
1527,
312,
343,
16609,
2234,
38958,
6839,
4152,
96,
62,
1015,
45167,
45,
1527,
312,
343,
16609,
2234,
38958,
6839,
4152,
96,
54,
53,
1015,
45167,
45,
1527,
312,
343,
16609,
2234,
38958,
6839,
4152,
96,
54,
54,
1015,
45167,
45,
1527,
312,
343,
16609,
2234,
38958,
6839,
4152,
96,
54,
55,
1015,
45167,
45,
1527,
312,
343,
16609,
2234,
38958,
6839,
4152,
96,
54,
56,
1015,
45167,
45,
1527,
312,
1083,
16609,
2234,
38958,
6839,
4152,
96,
53,
1015,
34288,
45,
8776,
54,
49,
4436,
625,
312,
343,
16609,
2234,
38958,
6839,
4152,
96,
54,
1015,
489,
45,
8776,
54,
49,
11168,
312,
343,
16609,
2234,
38958,
6839,
4152,
96,
55,
1015,
34288,
45,
8776,
54,
49,
7276,
2439,
51,
37382,
51,
102,
45,
700,
894,
343,
16609,
2234,
38958,
6839,
4152,
96,
56,
1015,
489,
4090,
45,
8776,
54,
49,
3913,
51,
18807,
1052,
343,
16609,
2234,
38958,
6839,
4152,
96,
57,
1015,
489,
4090,
45,
8776,
54,
49,
3913,
51,
20421,
1052,
343,
16609,
2234,
38958,
6839,
4152,
96,
58,
1015,
489,
4090,
45,
8776,
54,
49,
3913,
51,
40500,
1052,
343,
16609,
2234,
38958,
6839,
4152,
96,
59,
1015,
34288,
45,
8776,
54,
49,
327,
429,
46,
327,
5728,
2775,
51,
102,
45,
14962,
51,
18807,
1046,
449,
56,
51,
62,
49,
244,
56,
51,
62,
46,
338,
244,
61,
53,
53,
53,
51,
53,
894,
343,
16609,
2234,
38958,
6839,
4152,
96,
60,
1015,
34288,
45,
8776,
54,
49,
327,
429,
46,
327,
5728,
2775,
51,
102,
45,
14962,
51,
20421,
1046,
449,
56,
51,
62,
49,
244,
56,
51,
62,
46,
338,
244,
61,
53,
53,
53,
51,
53,
894,
343,
16609,
2234,
38958,
6839,
4152,
96,
61,
1015,
34288,
45,
8776,
54,
49,
327,
429,
46,
327,
5728,
2775,
51,
102,
45,
14962,
51,
40500,
1046,
449,
56,
51,
62,
49,
244,
56,
51,
62,
46,
338,
244,
61,
53,
53,
53,
51,
53,
894,
343,
16609,
2234,
38958,
6839,
4152,
96,
62,
1015,
489,
3945,
45,
8776,
54,
49,
327,
2278,
46,
244,
53,
312,
343,
16609,
2234,
38958,
6839,
4152,
96,
54,
53,
1015,
489,
3945,
45,
8776,
54,
49,
327,
2278,
46,
244,
53,
312,
343,
16609,
2234,
38958,
6839,
4152,
96,
54,
54,
1015,
489,
3945,
45,
8776,
54,
49,
327,
2278,
46,
244,
53,
312,
343,
16609,
2234,
38958,
6839,
4152,
96,
54,
55,
1015,
489,
45,
8776,
54,
49,
556,
2426,
18728,
45,
1710,
894,
343,
16609,
2234,
38958,
6839,
4152,
96,
54,
56,
1015,
489,
45,
8776,
54,
49,
15490,
51,
31447,
1052,
1083,
1701,
65,
768,
18728,
51,
1114,
31785,
727,
18728,
299,
556,
5068,
6984,
1083,
727,
18728,
3945,
1195,
51,
45167,
45,
1527,
312,
343,
727,
18728,
3414,
577,
1195,
51,
45167,
45,
1527,
312,
343,
727,
18728,
3414,
577,
5671,
1195,
51,
45167,
45,
1527,
312,
1083,
3447,
3510,
3988,
299,
244,
53,
125,
55,
53,
64,
343,
727,
18728,
51,
688,
45,
909,
2426,
18728,
51,
1114,
13366,
1181,
768,
18728,
976,
65,
3945,
5111,
727,
18728,
3945,
1195,
51,
390,
45,
1710,
490,
3510,
3988,
894,
1083,
5663,
65,
78,
7580,
1778,
1735,
67,
655,
299,
4436,
577,
1735,
630,
762,
1037,
5663,
51,
2970,
365,
518,
5663,
51,
1048,
6825,
45,
78,
7580,
1778,
1735,
51,
7580,
7271,
51,
102,
45,
33548,
1735,
7271,
51,
19968,
941,
6293,
45,
42406,
1735,
4254,
343,
727,
18728,
51,
688,
45,
909,
2426,
18728,
51,
1114,
13366,
1181,
768,
18728,
976,
65,
7575,
65,
78,
7580,
1778,
1735,
33948,
727,
18728,
3414,
577,
1195,
51,
390,
45,
1710,
490,
655,
894,
343,
727,
18728,
51,
688,
45,
909,
2426,
18728,
51,
1114,
13366,
1181,
768,
18728,
976,
65,
4718,
5111,
727,
18728,
3414,
577,
5671,
1195,
51,
390,
45,
1710,
490,
878,
894,
1083,
727,
18728,
51,
688,
45,
909,
2426,
18728,
51,
1114,
13366,
1181,
768,
18728,
976,
65,
4718,
5111,
727,
18728,
20068,
323,
1195,
51,
390,
45,
1710,
490,
878,
894,
343,
727,
18728,
51,
688,
45,
909,
2426,
18728,
51,
1114,
13366,
1181,
768,
18728,
976,
65,
4718,
5111,
727,
18728,
2042,
27025,
1195,
51,
390,
45,
1710,
490,
673,
31542,
894,
1083,
3447,
14031,
4596,
3988,
299,
327,
2278,
46,
244,
53,
125,
53,
54,
542,
244,
53,
125,
53,
61,
542,
244,
53,
125,
54,
53,
64,
343,
727,
18728,
51,
688,
45,
909,
2426,
18728,
51,
1114,
11530,
2234,
32174,
19399,
51,
102,
49,
14031,
4596,
3988,
894,
1083,
18706,
2894,
6892,
55,
299,
1506,
2234,
4108,
6839,
45,
44873,
49,
727,
18728,
312,
1083,
461,
556,
18706,
2894,
1197,
320,
117,
45,
8776,
54,
490,
6892,
55,
1274,
310,
339,
2385,
327,
1002,
503,
46,
320,
343,
1440,
556,
13383,
45,
106,
312,
310,
339,
303,
339,
222,
130,
222
] |
[
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 4,997
| true
| 69.206519
| true
| true
|
MineFragment.java
|
/FileExtraction/Java_unseen/z-chu_FriendBook/app/src/main/java/com/youshibi/app/presentation/mine/MineFragment.java
|
package com.youshibi.app.presentation.mine;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.app.AppCompatDelegate;
import android.view.View;
import android.widget.CompoundButton;
import com.umeng.analytics.MobclickAgent;
import com.youshibi.app.AppRouter;
import com.youshibi.app.R;
import com.youshibi.app.base.BaseFragment;
import com.youshibi.app.pref.AppConfig;
import com.youshibi.app.util.Shares;
import com.youshibi.app.util.ToastUtil;
/**
* Created by Chu on 2017/5/28.
*/
public class MineFragment extends BaseFragment implements View.OnClickListener {
private CompoundButton swNightMode;
public static MineFragment newInstance() {
MineFragment fragment = new MineFragment();
return fragment;
}
@Override
public int getLayoutId() {
return R.layout.fragment_mine;
}
@Override
public void onViewCreated(View view, @Nullable Bundle savedInstanceState) {
super.onViewCreated(view, savedInstanceState);
swNightMode = view.findViewById(R.id.sw_night_mode);
swNightMode.setChecked(AppConfig.isNightMode());
swNightMode.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {
@Override
public void onCheckedChanged(CompoundButton compoundButton, boolean b) {
AppCompatActivity activity = (AppCompatActivity) getActivity();
if (!b) {
activity
.getDelegate()
.setLocalNightMode(AppCompatDelegate.MODE_NIGHT_NO);
AppConfig.setNightMode(false);
swNightMode.setChecked(false);
} else {
activity
.getDelegate()
.setLocalNightMode(AppCompatDelegate.MODE_NIGHT_YES);
AppConfig.setNightMode(true);
swNightMode.setChecked(true);
}
activity.recreate();
}
});
bindOnClickLister(view, this,
R.id.tv_action_login,
R.id.mine_app_setting,
R.id.mine_app_night_mode,
R.id.mine_app_share,
R.id.mine_app_good_reputation,
R.id.mine_app_feedback,
R.id.mine_app_about);
}
@Override
public void onHiddenChanged(boolean hidden) {
super.onHiddenChanged(hidden);
if (hidden) {
MobclickAgent.onPageEnd(getClass().getPackage().getName() + ".MineFragment");
} else {
MobclickAgent.onPageStart(getClass().getPackage().getName() + ".MineFragment");
}
}
@Override
public void onClick(View view) {
switch (view.getId()) {
case R.id.tv_action_login:
ToastUtil.showToast(getString(R.string.developing));
break;
case R.id.mine_app_setting:
ToastUtil.showToast(getString(R.string.developing));
break;
case R.id.mine_app_night_mode:
AppCompatActivity activity = (AppCompatActivity) getActivity();
if (AppConfig.isNightMode()) {
activity
.getDelegate()
.setLocalNightMode(AppCompatDelegate.MODE_NIGHT_NO);
AppConfig.setNightMode(false);
swNightMode.setChecked(false);
} else {
activity
.getDelegate()
.setLocalNightMode(AppCompatDelegate.MODE_NIGHT_YES);
AppConfig.setNightMode(true);
swNightMode.setChecked(true);
}
activity.recreate();
break;
case R.id.mine_app_share:
Shares.share(getContext(), R.string.share_text);
break;
case R.id.mine_app_good_reputation:
AppRouter.showAppMarket(getContext());
break;
case R.id.mine_app_feedback:
ToastUtil.showToast(getString(R.string.developing));
break;
case R.id.mine_app_about:
AppRouter.showAboutActivity(getContext());
break;
}
}
}
| 4,440
|
Java
|
.java
|
z-chu/FriendBook
| 318
| 91
| 16
|
2017-02-20T14:19:19Z
|
2019-11-22T04:09:24Z
|
d22a5a39c93d7c7fe9806f8fda8d33938db810d11bc4503a07515720f0931048
|
[
1337,
785,
51,
11404,
1391,
947,
110,
51,
745,
51,
8157,
51,
6758,
64,
222,
222,
485,
2616,
51,
519,
51,
4775,
64,
222,
485,
2616,
51,
3608,
51,
4341,
51,
6825,
64,
222,
485,
2616,
51,
3608,
51,
123,
60,
51,
745,
51,
35181,
64,
222,
485,
2616,
51,
3608,
51,
123,
60,
51,
745,
51,
14958,
8013,
64,
222,
485,
2616,
51,
1090,
51,
1089,
64,
222,
485,
2616,
51,
3872,
51,
18133,
1732,
64,
222,
222,
485,
785,
51,
397,
838,
51,
12449,
51,
26533,
2956,
6150,
64,
222,
485,
785,
51,
11404,
1391,
947,
110,
51,
745,
51,
1306,
7055,
64,
222,
485,
785,
51,
11404,
1391,
947,
110,
51,
745,
51,
87,
64,
222,
485,
785,
51,
11404,
1391,
947,
110,
51,
745,
51,
1460,
51,
1778,
5763,
64,
222,
485,
785,
51,
11404,
1391,
947,
110,
51,
745,
51,
13471,
51,
42728,
64,
222,
485,
785,
51,
11404,
1391,
947,
110,
51,
745,
51,
1058,
51,
38197,
64,
222,
485,
785,
51,
11404,
1391,
947,
110,
51,
745,
51,
1058,
51,
15030,
1747,
64,
222,
222,
1350,
222,
338,
6956,
829,
1902,
122,
563,
244,
55,
53,
54,
60,
52,
58,
52,
55,
61,
51,
222,
588,
222,
222,
942,
462,
507,
501,
5763,
2041,
3787,
5763,
4584,
4340,
51,
12733,
320,
465,
964,
42160,
1732,
2552,
35081,
2116,
64,
465,
581,
924,
507,
501,
5763,
556,
1825,
365,
320,
6934,
507,
501,
5763,
10299,
299,
556,
507,
501,
5763,
492,
310,
461,
10299,
64,
303,
339,
465,
496,
1806,
303,
581,
648,
640,
2362,
625,
365,
320,
310,
461,
578,
51,
3106,
51,
9883,
100,
6758,
64,
303,
339,
465,
496,
1806,
303,
581,
782,
563,
1089,
6880,
45,
1089,
2221,
49,
496,
6825,
14092,
19902,
46,
320,
310,
2615,
51,
286,
1089,
6880,
45,
1090,
49,
19902,
312,
310,
2552,
35081,
2116,
299,
2221,
51,
14137,
45,
87,
51,
333,
51,
1605,
100,
14615,
100,
2832,
312,
310,
2552,
35081,
2116,
51,
47187,
45,
42728,
51,
316,
35081,
2116,
1052,
310,
2552,
35081,
2116,
51,
22304,
9027,
17089,
45,
909,
42160,
1732,
51,
1501,
9027,
17089,
365,
320,
343,
496,
1806,
343,
581,
782,
563,
42796,
45,
18133,
1732,
27089,
1732,
49,
1922,
342,
46,
320,
419,
36463,
8800,
299,
327,
35181,
46,
47341,
492,
419,
434,
1445,
103,
46,
320,
547,
8800,
1031,
657,
390,
8013,
365,
1031,
657,
489,
3340,
35081,
2116,
45,
14958,
8013,
51,
4986,
100,
83,
4022,
100,
2593,
312,
547,
2013,
1081,
51,
489,
35081,
2116,
45,
1886,
312,
547,
2552,
35081,
2116,
51,
47187,
45,
1886,
312,
419,
339,
832,
320,
547,
8800,
1031,
657,
390,
8013,
365,
1031,
657,
489,
3340,
35081,
2116,
45,
14958,
8013,
51,
4986,
100,
83,
4022,
100,
19341,
312,
547,
2013,
1081,
51,
489,
35081,
2116,
45,
1527,
312,
547,
2552,
35081,
2116,
51,
47187,
45,
1527,
312,
419,
339,
419,
8800,
51,
287,
1315,
492,
343,
339,
310,
1141,
310,
5119,
32374,
47549,
45,
1090,
49,
477,
49,
419,
578,
51,
333,
51,
7609,
100,
1160,
100,
3632,
49,
419,
578,
51,
333,
51,
6758,
100,
745,
100,
8129,
49,
419,
578,
51,
333,
51,
6758,
100,
745,
100,
14615,
100,
2832,
49,
419,
578,
51,
333,
51,
6758,
100,
745,
100,
6085,
49,
419,
578,
51,
333,
51,
6758,
100,
745,
100,
7136,
100,
287,
45715,
49,
419,
578,
51,
333,
51,
6758,
100,
745,
100,
12643,
49,
419,
578,
51,
333,
51,
6758,
100,
745,
100,
7476,
312,
303,
339,
465,
496,
1806,
303,
581,
782,
563,
13831,
3663,
45,
4412,
6862,
46,
320,
310,
2615,
51,
286,
13831,
3663,
45,
3887,
312,
310,
434,
327,
3887,
46,
320,
343,
42080,
2956,
6150,
51,
286,
1983,
2117,
45,
9699,
941,
390,
4057,
941,
5175,
365,
494,
4956,
36301,
5763,
742,
310,
339,
832,
320,
343,
42080,
2956,
6150,
51,
286,
1983,
2148,
45,
9699,
941,
390,
4057,
941,
5175,
365,
494,
4956,
36301,
5763,
742,
310,
339,
303,
339,
4054,
496,
1806,
303,
581,
782,
7057,
45,
1089,
2221,
46,
320,
310,
3593,
327,
1090,
51,
7068,
1177,
320,
343,
1152,
578,
51,
333,
51,
7609,
100,
1160,
100,
3632,
63,
419,
15250,
1747,
51,
2276,
15030,
45,
7080,
45,
87,
51,
819,
51,
17528,
318,
894,
419,
1644,
64,
343,
1152,
578,
51,
333,
51,
6758,
100,
745,
100,
8129,
63,
419,
15250,
1747,
51,
2276,
15030,
45,
7080,
45,
87,
51,
819,
51,
17528,
318,
894,
419,
1644,
64,
343,
1152,
578,
51,
333,
51,
6758,
100,
745,
100,
14615,
100,
2832,
63,
419,
36463,
8800,
299,
327,
35181,
46,
47341,
492,
419,
434,
327,
42728,
51,
316,
35081,
2116,
1177,
320,
547,
8800,
1031,
657,
390,
8013,
365,
1031,
657,
489,
3340,
35081,
2116,
45,
14958,
8013,
51,
4986,
100,
83,
4022,
100,
2593,
312,
547,
2013,
1081,
51,
489,
35081,
2116,
45,
1886,
312,
547,
2552,
35081,
2116,
51,
47187,
45,
1886,
312,
419,
339,
832,
320,
547,
8800,
1031,
657,
390,
8013,
365,
1031,
657,
489,
3340,
35081,
2116,
45,
14958,
8013,
51,
4986,
100,
83,
4022,
100,
19341,
312,
547,
2013,
1081,
51,
489,
35081,
2116,
45,
1527,
312,
547,
2552,
35081,
2116,
51,
47187,
45,
1527,
312,
419,
339,
419,
8800,
51,
287,
1315,
492,
419,
1644,
64,
343,
1152,
578,
51,
333,
51,
6758,
100,
745,
100,
6085,
63,
419,
2432,
11026,
51,
6085,
45,
14722,
1046,
578,
51,
819,
51,
6085,
100,
897,
312,
419,
1644,
64,
343,
1152,
578,
51,
333,
51,
6758,
100,
745,
100,
7136,
100,
287,
45715,
63,
419,
2013,
7055,
51,
2276,
1306,
17933,
45,
14722,
1052,
419,
1644,
64,
343,
1152,
578,
51,
333,
51,
6758,
100,
745,
100,
12643,
63,
419,
15250,
1747,
51,
2276,
15030,
45,
7080,
45,
87,
51,
819,
51,
17528,
318,
894,
419,
1644,
64,
343,
1152,
578,
51,
333,
51,
6758,
100,
745,
100,
7476,
63,
419,
2013,
7055,
51,
2276,
11946,
3697,
45,
14722,
1052,
419,
1644,
64,
603,
339,
303,
339,
222,
130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raglider/common/src/main/java/tictim/paraglider/wind/WindUtils.java
|
package tictim.paraglider.wind;
import net.fabricmc.api.EnvType;
import net.fabricmc.api.Environment;
import net.minecraft.client.Minecraft;
import net.minecraft.core.particles.ParticleTypes;
import net.minecraft.server.level.ServerLevel;
import net.minecraft.world.entity.player.Player;
import net.minecraft.world.level.ChunkPos;
import net.minecraft.world.level.Level;
import net.minecraft.world.level.chunk.LevelChunk;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.UnknownNullability;
import tictim.paraglider.ParagliderUtils;
import tictim.paraglider.api.item.Paraglider;
import tictim.paraglider.client.ParagliderClientSettings;
import tictim.paraglider.network.ParagliderNetwork;
import java.util.ArrayList;
import java.util.List;
public final class WindUtils{
private WindUtils(){}
public static void updateWind(@NotNull Level level){
Wind wind = Wind.of(level);
if(wind==null) return;
long gameTime = level.getGameTime();
if(gameTime%4==0){
List<? extends Player> players = level.players();
for(Player player : players){
if(player.getMainHandItem().getItem() instanceof Paraglider){
wind.placeAround(player);
}
}
}
wind.checkPlacedWind(level);
if(level instanceof ServerLevel serverLevel){
for(var it = wind.dirtyWindChunks().iterator(); it.hasNext(); ){
long chunkPos = it.nextLong();
WindChunk windChunk = wind.getChunk(chunkPos);
if(windChunk==null) continue; // ???
LevelChunk chunk = level.getChunk(ChunkPos.getX(chunkPos), ChunkPos.getZ(chunkPos));
ParagliderNetwork.get().syncWind(serverLevel.getServer(), chunk, windChunk);
}
}
wind.dirtyWindChunks().clear();
}
// reusing one instance to store nodes for placing wind particles
// because there's no way the method is called concurrently... right?
@Environment(EnvType.CLIENT)
private static List<WindNode> nodes;
@Environment(EnvType.CLIENT)
private static double windParticleState;
@Environment(EnvType.CLIENT)
public static void placeWindParticles(@NotNull Level level, @NotNull Wind wind){
if(Minecraft.getInstance().isPaused()) return;
windParticleState += ParagliderClientSettings.get().windParticleFrequency();
double s2 = windParticleState-1;
if(s2>=0) windParticleState = s2;
else return;
if(nodes==null) nodes = new ArrayList<>();
for(WindChunk windChunk : wind.windChunks()){
// intellij idea why are you like this
for(@UnknownNullability WindNode node : windChunk.getAllRootNodes()){
do{
nodes.add(node);
}while((node = node.next)!=null);
}
}
int bound = 5+nodes.size();
for(WindNode node : nodes){
if(ParagliderUtils.PARTICLE_RNG.nextInt(bound)==0)
level.addAlwaysVisibleParticle(ParticleTypes.FIREWORK,
node.x+ParagliderUtils.PARTICLE_RNG.nextDouble(),
node.y+0.5,
node.z+ParagliderUtils.PARTICLE_RNG.nextDouble(),
0, 1, 0);
}
nodes.clear();
}
}
| 2,926
|
Java
|
.java
|
Tictim/Paraglider
| 9
| 7
| 20
|
2020-08-20T14:37:12Z
|
2024-01-19T21:23:22Z
|
4bc16d0724ea5d4980af4566042ef57d6e17ace38ddd1463f4ca1315f345d344
|
[
1337,
292,
31773,
51,
587,
500,
113,
1411,
51,
12112,
64,
222,
222,
485,
3723,
51,
11169,
6070,
51,
1256,
51,
6063,
638,
64,
222,
485,
3723,
51,
11169,
6070,
51,
1256,
51,
6342,
64,
222,
485,
3723,
51,
8654,
51,
1598,
51,
33186,
64,
222,
485,
3723,
51,
8654,
51,
1284,
51,
26617,
51,
15038,
2439,
64,
222,
485,
3723,
51,
8654,
51,
1805,
51,
2675,
51,
2077,
2671,
64,
222,
485,
3723,
51,
8654,
51,
5879,
51,
2244,
51,
3857,
51,
3516,
64,
222,
485,
3723,
51,
8654,
51,
5879,
51,
2675,
51,
7134,
3010,
64,
222,
485,
3723,
51,
8654,
51,
5879,
51,
2675,
51,
2671,
64,
222,
485,
3723,
51,
8654,
51,
5879,
51,
2675,
51,
7211,
51,
2671,
7134,
64,
222,
485,
1105,
51,
15575,
51,
8839,
51,
4936,
64,
222,
485,
1105,
51,
15575,
51,
8839,
51,
5850,
1898,
3478,
64,
222,
485,
292,
31773,
51,
587,
500,
113,
1411,
51,
945,
500,
113,
1411,
2769,
64,
222,
485,
292,
31773,
51,
587,
500,
113,
1411,
51,
1256,
51,
1113,
51,
945,
500,
113,
1411,
64,
222,
485,
292,
31773,
51,
587,
500,
113,
1411,
51,
1598,
51,
945,
500,
113,
1411,
1503,
2977,
64,
222,
485,
292,
31773,
51,
587,
500,
113,
1411,
51,
4599,
51,
945,
500,
113,
1411,
4723,
64,
222,
222,
485,
1401,
51,
1058,
51,
7119,
64,
222,
485,
1401,
51,
1058,
51,
739,
64,
222,
222,
942,
1175,
462,
44100,
2769,
128,
222,
221,
2072,
44100,
2769,
47421,
499,
221,
942,
924,
782,
1991,
27893,
4810,
4936,
11587,
3215,
1528,
376,
221,
27893,
23230,
299,
44100,
51,
1048,
45,
2675,
312,
376,
221,
344,
45,
12112,
398,
1710,
46,
461,
64,
1332,
221,
3239,
4204,
1061,
299,
3215,
51,
390,
3783,
1061,
492,
376,
221,
344,
45,
3642,
1061,
42,
57,
398,
53,
1528,
374,
221,
739,
1907,
2041,
9306,
67,
14580,
299,
3215,
51,
14403,
492,
374,
221,
999,
45,
3516,
4376,
518,
14580,
1528,
621,
221,
344,
45,
3857,
51,
390,
4370,
6812,
1114,
941,
12244,
365,
5118,
2736,
500,
113,
1411,
1528,
596,
221,
12112,
51,
1878,
39233,
45,
3857,
312,
621,
221,
130,
374,
221,
130,
376,
221,
130,
1332,
221,
12112,
51,
1571,
1839,
9014,
27893,
45,
2675,
312,
1332,
221,
344,
45,
2675,
5118,
4242,
2671,
2160,
2671,
1528,
374,
221,
999,
45,
887,
580,
299,
23230,
51,
19781,
27893,
29056,
941,
5174,
492,
580,
51,
16408,
492,
10555,
621,
221,
3239,
7325,
3010,
299,
580,
51,
1995,
3967,
492,
621,
221,
27893,
7134,
23230,
7134,
299,
23230,
51,
390,
7134,
45,
7211,
3010,
312,
621,
221,
344,
45,
12112,
7134,
398,
1710,
46,
4056,
64,
453,
39292,
621,
221,
2671,
7134,
7325,
299,
3215,
51,
390,
7134,
45,
7134,
3010,
51,
18807,
45,
7211,
3010,
490,
22946,
3010,
51,
40500,
45,
7211,
3010,
894,
621,
221,
945,
500,
113,
1411,
4723,
51,
390,
941,
5220,
27893,
45,
1805,
2671,
51,
32789,
1046,
7325,
49,
23230,
7134,
312,
374,
221,
130,
376,
221,
130,
1332,
221,
12112,
51,
19781,
27893,
29056,
941,
3830,
492,
222,
221,
130,
499,
221,
325,
334,
927,
1611,
1998,
391,
2989,
5193,
456,
1302,
4275,
23230,
22478,
222,
221,
325,
3318,
2038,
1200,
1307,
3374,
341,
1431,
458,
3845,
22466,
651,
1198,
2109,
68,
222,
221,
69,
6342,
45,
6063,
638,
51,
10929,
46,
222,
221,
2072,
924,
1701,
65,
27893,
1230,
67,
5193,
64,
499,
221,
69,
6342,
45,
6063,
638,
51,
10929,
46,
222,
221,
2072,
924,
2082,
23230,
15038,
1095,
64,
499,
221,
69,
6342,
45,
6063,
638,
51,
10929,
46,
222,
221,
942,
924,
782,
3687,
27893,
29431,
4810,
4936,
11587,
3215,
49,
496,
4936,
44100,
23230,
1528,
376,
221,
344,
45,
33186,
51,
7432,
941,
316,
28233,
1177,
461,
64,
376,
221,
12112,
15038,
1095,
1475,
2736,
500,
113,
1411,
1503,
2977,
51,
390,
941,
12112,
15038,
16098,
492,
376,
221,
2640,
328,
55,
299,
23230,
15038,
1095,
50,
54,
64,
376,
221,
344,
45,
120,
55,
7168,
53,
46,
23230,
15038,
1095,
299,
328,
55,
64,
376,
221,
728,
461,
64,
1332,
221,
344,
45,
5484,
398,
1710,
46,
5193,
299,
556,
5068,
6984,
1332,
221,
999,
45,
27893,
7134,
23230,
7134,
518,
23230,
51,
12112,
29056,
13059,
374,
221,
325,
648,
11859,
8779,
6927,
904,
863,
2144,
477,
374,
221,
999,
4810,
5850,
1898,
3478,
44100,
1230,
1560,
518,
23230,
7134,
51,
13912,
4069,
5919,
13059,
621,
221,
1428,
128,
596,
221,
5484,
51,
688,
45,
1271,
312,
621,
221,
130,
5544,
1181,
1271,
299,
1560,
51,
1995,
38341,
1710,
312,
374,
221,
130,
376,
221,
130,
1332,
221,
429,
5105,
299,
244,
58,
48,
5484,
51,
911,
492,
1332,
221,
999,
45,
27893,
1230,
1560,
518,
5193,
1528,
374,
221,
344,
45,
945,
500,
113,
1411,
2769,
51,
85,
7299,
833,
100,
87,
7493,
51,
20827,
45,
4484,
19203,
53,
46,
621,
221,
2675,
51,
688,
23084,
5671,
15038,
45,
15038,
2439,
51,
37352,
8729,
49,
1397,
221,
1271,
51,
125,
48,
945,
500,
113,
1411,
2769,
51,
85,
7299,
833,
100,
87,
7493,
51,
1995,
4090,
1046,
1397,
221,
1271,
51,
126,
48,
53,
51,
58,
49,
1397,
221,
1271,
51,
127,
48,
945,
500,
113,
1411,
2769,
51,
85,
7299,
833,
100,
87,
7493,
51,
1995,
4090,
1046,
1504,
53,
49,
244,
54,
49,
244,
53,
312,
376,
221,
130,
1332,
221,
5484,
51,
3830,
492,
222,
221,
130,
222,
130,
222
] |
[
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 905
| true
| 73.684211
| true
| true
|
PatientGraphicAssessmentVoBean.java
|
/FileExtraction/Java_unseen/IMS-MAXIMS_openMAXIMS/Source Library/openmaxims_workspace/ValueObjects/src/ims/assessment/vo/beans/PatientGraphicAssessmentVoBean.java
|
//#############################################################################
//# #
//# Copyright (C) <2015> <IMS MAXIMS> #
//# #
//# This program is free software: you can redistribute it and/or modify #
//# it under the terms of the GNU Affero General Public License as #
//# published by the Free Software Foundation, either version 3 of the #
//# License, or (at your option) any later version. #
//# #
//# This program is distributed in the hope that it will be useful, #
//# but WITHOUT ANY WARRANTY; without even the implied warranty of #
//# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
//# GNU Affero General Public License for more details. #
//# #
//# You should have received a copy of the GNU Affero General Public License #
//# along with this program. If not, see <http://www.gnu.org/licenses/>. #
//# #
//# IMS MAXIMS provides absolutely NO GUARANTEE OF THE CLINICAL SAFTEY of #
//# this program. Users of this software do so entirely at their own risk. #
//# IMS MAXIMS only ensures the Clinical Safety of unaltered run-time #
//# software that it builds, deploys and maintains. #
//# #
//#############################################################################
//#EOH
// This code was generated by Barbara Worwood using IMS Development Environment (version 1.80 build 5589.25814)
// Copyright (C) 1995-2015 IMS MAXIMS. All rights reserved.
// WARNING: DO NOT MODIFY the content of this file
package ims.assessment.vo.beans;
public class PatientGraphicAssessmentVoBean extends ims.vo.ValueObjectBean
{
public PatientGraphicAssessmentVoBean()
{
}
public PatientGraphicAssessmentVoBean(ims.assessment.vo.PatientGraphicAssessmentVo vo)
{
this.id = vo.getBoId();
this.version = vo.getBoVersion();
this.graphicimage = vo.getGraphicImage() == null ? null : (ims.core.vo.beans.DrawingGraphicImageVoBean)vo.getGraphicImage().getBean();
this.patientgraphicfinding = vo.getPatientGraphicFinding() == null ? null : vo.getPatientGraphicFinding().getBeanCollection();
}
public void populate(ims.vo.ValueObjectBeanMap map, ims.assessment.vo.PatientGraphicAssessmentVo vo)
{
this.id = vo.getBoId();
this.version = vo.getBoVersion();
this.graphicimage = vo.getGraphicImage() == null ? null : (ims.core.vo.beans.DrawingGraphicImageVoBean)vo.getGraphicImage().getBean(map);
this.patientgraphicfinding = vo.getPatientGraphicFinding() == null ? null : vo.getPatientGraphicFinding().getBeanCollection();
}
public ims.assessment.vo.PatientGraphicAssessmentVo buildVo()
{
return this.buildVo(new ims.vo.ValueObjectBeanMap());
}
public ims.assessment.vo.PatientGraphicAssessmentVo buildVo(ims.vo.ValueObjectBeanMap map)
{
ims.assessment.vo.PatientGraphicAssessmentVo vo = null;
if(map != null)
vo = (ims.assessment.vo.PatientGraphicAssessmentVo)map.getValueObject(this);
if(vo == null)
{
vo = new ims.assessment.vo.PatientGraphicAssessmentVo();
map.addValueObject(this, vo);
vo.populate(map, this);
}
return vo;
}
public Integer getId()
{
return this.id;
}
public void setId(Integer value)
{
this.id = value;
}
public int getVersion()
{
return this.version;
}
public void setVersion(int value)
{
this.version = value;
}
public ims.core.vo.beans.DrawingGraphicImageVoBean getGraphicImage()
{
return this.graphicimage;
}
public void setGraphicImage(ims.core.vo.beans.DrawingGraphicImageVoBean value)
{
this.graphicimage = value;
}
public ims.assessment.vo.beans.PatientGraphicAssessmentFindingVoBean[] getPatientGraphicFinding()
{
return this.patientgraphicfinding;
}
public void setPatientGraphicFinding(ims.assessment.vo.beans.PatientGraphicAssessmentFindingVoBean[] value)
{
this.patientgraphicfinding = value;
}
private Integer id;
private int version;
private ims.core.vo.beans.DrawingGraphicImageVoBean graphicimage;
private ims.assessment.vo.beans.PatientGraphicAssessmentFindingVoBean[] patientgraphicfinding;
}
| 4,689
|
Java
|
.java
|
IMS-MAXIMS/openMAXIMS
| 61
| 50
| 23
|
2014-06-12T12:04:02Z
|
2020-07-31T09:34:49Z
|
3c1d62ca1405ddd8d33f6c1e7a6ae69cbf359984f63a2cbcdfd3b33c5f8ac9ad
|
[
325,
19989,
8689,
222,
16802,
42053,
607,
222,
16802,
244,
2657,
327,
72,
46,
350,
55,
53,
54,
58,
67,
244,
350,
2348,
88,
7490,
2348,
88,
67,
22768,
607,
222,
16802,
42053,
607,
222,
16802,
244,
1369,
3477,
458,
3760,
2951,
63,
863,
902,
14081,
580,
480,
52,
290,
5370,
281,
607,
222,
16802,
244,
580,
1549,
341,
5974,
451,
341,
6994,
30994,
6153,
5062,
1196,
641,
2281,
607,
222,
16802,
244,
9582,
829,
341,
7834,
3870,
7120,
49,
3173,
1522,
244,
56,
451,
341,
981,
607,
222,
16802,
244,
1196,
49,
575,
327,
288,
1390,
2489,
46,
1364,
6146,
1522,
51,
10094,
607,
244,
222,
16802,
42053,
607,
222,
16802,
244,
1369,
3477,
458,
2744,
347,
341,
9850,
708,
580,
1118,
545,
6386,
49,
2052,
607,
222,
16802,
244,
1294,
4213,
2979,
9345,
64,
2895,
4462,
341,
4506,
14319,
451,
2281,
607,
222,
16802,
244,
7934,
575,
8114,
4800,
418,
7848,
7763,
51,
244,
2819,
341,
1485,
607,
222,
16802,
244,
6994,
30994,
6153,
5062,
1196,
456,
1851,
4261,
51,
7223,
607,
222,
16802,
42053,
607,
222,
16802,
244,
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
30994,
6153,
5062,
1196,
607,
222,
16802,
244,
7979,
642,
477,
3477,
51,
244,
1691,
666,
49,
2337,
350,
544,
574,
1516,
51,
10627,
51,
1107,
52,
4205,
28699,
283,
607,
222,
16802,
42053,
607,
222,
16802,
244,
457,
2758,
7490,
2348,
88,
7388,
39501,
4452,
26147,
802,
946,
1731,
74,
2258,
2906,
5052,
540,
12634,
377,
5999,
1731,
94,
451,
283,
607,
222,
16802,
244,
477,
3477,
51,
244,
14213,
451,
477,
2951,
764,
1278,
22793,
840,
3641,
4387,
19916,
51,
244,
607,
222,
16802,
244,
457,
2758,
7490,
2348,
88,
1773,
26085,
341,
409,
1823,
1599,
377,
21778,
451,
725,
17776,
337,
1441,
50,
1021,
370,
607,
222,
16802,
244,
2951,
708,
580,
13968,
49,
428,
44513,
480,
48573,
51,
10094,
607,
222,
16802,
42053,
607,
222,
325,
19989,
8689,
222,
16802,
10207,
77,
222,
325,
1369,
1361,
1616,
4741,
829,
11489,
39305,
643,
290,
21100,
1493,
457,
2758,
15606,
10584,
327,
1687,
244,
54,
51,
61,
53,
1984,
244,
58,
58,
61,
62,
51,
55,
58,
61,
54,
57,
46,
222,
325,
2657,
327,
72,
46,
244,
54,
62,
62,
58,
50,
55,
53,
54,
58,
457,
2758,
7490,
2348,
88,
51,
3381,
4760,
5225,
51,
222,
325,
18226,
63,
4103,
2387,
24110,
341,
1813,
451,
477,
822,
222,
222,
1337,
3987,
120,
51,
31250,
51,
2103,
51,
9580,
64,
222,
222,
942,
462,
33989,
23903,
23419,
12536,
5358,
2041,
3987,
120,
51,
2103,
51,
43984,
5358,
222,
128,
222,
221,
942,
33989,
23903,
23419,
12536,
5358,
365,
222,
221,
128,
222,
221,
130,
222,
221,
942,
33989,
23903,
23419,
12536,
5358,
45,
16178,
51,
31250,
51,
2103,
51,
18754,
23903,
23419,
12536,
9180,
46,
222,
221,
128,
376,
221,
597,
51,
333,
299,
9180,
51,
390,
5558,
625,
492,
376,
221,
597,
51,
1687,
299,
9180,
51,
390,
5558,
2080,
492,
376,
221,
597,
51,
14166,
915,
299,
9180,
51,
390,
23903,
1675,
365,
630,
762,
1037,
762,
518,
327,
16178,
51,
1284,
51,
2103,
51,
9580,
51,
4631,
23903,
1675,
12536,
5358,
46,
2103,
51,
390,
23903,
1675,
941,
39497,
492,
376,
221,
597,
51,
16976,
14166,
32151,
299,
9180,
51,
390,
18754,
23903,
41284,
365,
630,
762,
1037,
762,
518,
9180,
51,
390,
18754,
23903,
41284,
941,
39497,
2272,
492,
222,
221,
130,
499,
221,
942,
782,
18985,
45,
16178,
51,
2103,
51,
43984,
5358,
1225,
2010,
49,
3987,
120,
51,
31250,
51,
2103,
51,
18754,
23903,
23419,
12536,
9180,
46,
222,
221,
128,
376,
221,
597,
51,
333,
299,
9180,
51,
390,
5558,
625,
492,
376,
221,
597,
51,
1687,
299,
9180,
51,
390,
5558,
2080,
492,
376,
221,
597,
51,
14166,
915,
299,
9180,
51,
390,
23903,
1675,
365,
630,
762,
1037,
762,
518,
327,
16178,
51,
1284,
51,
2103,
51,
9580,
51,
4631,
23903,
1675,
12536,
5358,
46,
2103,
51,
390,
23903,
1675,
941,
39497,
45,
1130,
312,
376,
221,
597,
51,
16976,
14166,
32151,
299,
9180,
51,
390,
18754,
23903,
41284,
365,
630,
762,
1037,
762,
518,
9180,
51,
390,
18754,
23903,
41284,
941,
39497,
2272,
492,
222,
221,
130,
499,
221,
942,
3987,
120,
51,
31250,
51,
2103,
51,
18754,
23903,
23419,
12536,
1984,
12536,
365,
222,
221,
128,
376,
221,
620,
477,
51,
1848,
12536,
45,
909,
3987,
120,
51,
2103,
51,
43984,
5358,
1225,
1052,
222,
221,
130,
499,
221,
942,
3987,
120,
51,
31250,
51,
2103,
51,
18754,
23903,
23419,
12536,
1984,
12536,
45,
16178,
51,
2103,
51,
43984,
5358,
1225,
2010,
46,
222,
221,
128,
376,
221,
16178,
51,
31250,
51,
2103,
51,
18754,
23903,
23419,
12536,
9180,
299,
762,
64,
376,
221,
344,
45,
1130,
882,
762,
46,
374,
221,
2103,
299,
327,
16178,
51,
31250,
51,
2103,
51,
18754,
23903,
23419,
12536,
46,
1130,
51,
6693,
976,
45,
597,
312,
376,
221,
344,
45,
2103,
630,
762,
46,
376,
221,
128,
374,
221,
2103,
299,
556,
3987,
120,
51,
31250,
51,
2103,
51,
18754,
23903,
23419,
12536,
492,
374,
221,
1130,
51,
688,
43984,
45,
597,
49,
9180,
312,
374,
221,
2103,
51,
22966,
45,
1130,
49,
477,
312,
376,
221,
130,
376,
221,
620,
9180,
64,
222,
221,
130,
499,
221,
942,
4418,
19832,
365,
222,
221,
128,
376,
221,
620,
477,
51,
333,
64,
222,
221,
130,
222,
221,
942,
782,
29452,
45,
3078,
804,
46,
222,
221,
128,
376,
221,
597,
51,
333,
299,
804,
64,
222,
221,
130,
222,
221,
942,
648,
640,
2080,
365,
222,
221,
128,
376,
221,
620,
477,
51,
1687,
64,
222,
221,
130,
222,
221,
942,
782,
758,
2080,
45,
429,
804,
46,
222,
221,
128,
376,
221,
597,
51,
1687,
299,
804,
64,
222,
221,
130,
222,
221,
942,
3987,
120,
51,
1284,
51,
2103,
51,
9580,
51,
4631,
23903,
1675,
12536,
5358,
640,
23903,
1675,
365,
222,
221,
128,
376,
221,
620,
477,
51,
14166,
915,
64,
222,
221,
130,
222,
221,
942,
782,
758,
23903,
1675,
45,
16178,
51,
1284,
51,
2103,
51,
9580,
51,
4631,
23903,
1675,
12536,
5358,
804,
46,
222,
221,
128,
376,
221,
597,
51,
14166,
915,
299,
804,
64,
222,
221,
130,
222,
221,
942,
3987,
120,
51,
31250,
51,
2103,
51,
9580,
51,
18754,
23903,
23419,
41284,
12536,
5358,
1197,
640,
18754,
23903,
41284,
365,
222,
221,
128,
376,
221,
620,
477,
51,
16976,
14166,
32151,
64,
222,
221,
130,
222,
221,
942,
782,
758,
18754,
23903,
41284,
45,
16178,
51,
31250,
51,
2103,
51,
9580,
51,
18754,
23903,
23419,
41284,
12536,
5358,
1197,
804,
46,
222,
221,
128,
376,
221,
597,
51,
16976,
14166,
32151,
299,
804,
64,
222,
221,
130,
499,
221,
2072,
4418,
828,
64,
222,
221,
2072,
648,
1522,
64,
222,
221,
2072,
3987,
120,
51,
1284,
51,
2103,
51,
9580,
51,
4631,
23903,
1675,
12536,
5358,
37649,
915,
64,
222,
221,
2072,
3987,
120,
51,
31250,
51,
2103,
51,
9580,
51,
18754,
23903,
23419,
41284,
12536,
5358,
1197,
18019,
14166,
32151,
64,
222,
130,
222
] |
[
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 1,175
| true
| 61.493124
| true
| true
|
IOObjectEntry.java
|
/FileExtraction/Java_unseen/rapidminer_rapidminer-5/src/com/rapidminer/repository/IOObjectEntry.java
|
/*
* RapidMiner
*
* Copyright (C) 2001-2014 by RapidMiner and the contributors
*
* Complete list of developers available at our web site:
*
* http://rapidminer.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see http://www.gnu.org/licenses/.
*/
package com.rapidminer.repository;
import com.rapidminer.operator.IOObject;
import com.rapidminer.operator.Operator;
import com.rapidminer.operator.ports.metadata.MetaData;
import com.rapidminer.tools.ProgressListener;
/**
* @author Simon Fischer
*/
public interface IOObjectEntry extends DataEntry {
public static final String TYPE_NAME = "data";
public IOObject retrieveData(ProgressListener l) throws RepositoryException;
public MetaData retrieveMetaData() throws RepositoryException;
/**
* This method returns the class of the stored object or null, if it is not an object known to this
* RapidMiner Client.
*/
public Class<? extends IOObject> getObjectClass();
/** Stores data in this entry. */
public void storeData(IOObject data, Operator callingOperator, ProgressListener l) throws RepositoryException;
}
| 1,701
|
Java
|
.java
|
rapidminer/rapidminer-5
| 116
| 77
| 0
|
2013-08-07T12:01:58Z
|
2014-10-30T12:49:43Z
|
730165dade36800e4a0ce76a7dca4b3308e19a970094b5f39490edc4e53de42b
|
[
1127,
222,
338,
244,
578,
15740,
43180,
222,
338,
222,
338,
244,
2657,
327,
72,
46,
244,
55,
53,
53,
54,
50,
55,
53,
54,
57,
829,
578,
15740,
43180,
480,
341,
13356,
222,
338,
222,
338,
244,
22309,
1168,
451,
15470,
3322,
840,
3027,
2692,
4769,
63,
222,
338,
222,
338,
981,
1930,
574,
31360,
36385,
51,
527,
222,
338,
222,
338,
244,
1369,
3477,
458,
3760,
2951,
63,
863,
902,
14081,
580,
480,
52,
290,
5370,
222,
338,
244,
580,
1549,
341,
5974,
451,
341,
6994,
30994,
6153,
5062,
1196,
641,
9582,
829,
222,
338,
244,
341,
7834,
3870,
7120,
49,
3173,
1522,
244,
56,
451,
341,
1196,
49,
575,
222,
338,
244,
327,
288,
1390,
2489,
46,
1364,
6146,
1522,
51,
222,
338,
222,
338,
244,
1369,
3477,
458,
2744,
347,
341,
9850,
708,
580,
1118,
545,
6386,
49,
222,
338,
244,
1294,
4213,
2979,
9345,
64,
2895,
4462,
341,
4506,
14319,
451,
222,
338,
244,
7934,
575,
8114,
4800,
418,
7848,
7763,
51,
244,
2819,
341,
222,
338,
244,
6994,
30994,
6153,
5062,
1196,
456,
1851,
4261,
51,
222,
338,
222,
338,
244,
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
30994,
6153,
5062,
1196,
222,
338,
244,
7979,
642,
477,
3477,
51,
244,
1691,
666,
49,
2337,
1930,
574,
1516,
51,
10627,
51,
1107,
52,
4205,
4735,
222,
588,
222,
1337,
785,
51,
31360,
36385,
51,
6335,
64,
222,
222,
485,
785,
51,
31360,
36385,
51,
3004,
51,
2354,
976,
64,
222,
485,
785,
51,
31360,
36385,
51,
3004,
51,
7151,
64,
222,
485,
785,
51,
31360,
36385,
51,
3004,
51,
11178,
51,
4541,
51,
13185,
64,
222,
485,
785,
51,
31360,
36385,
51,
4303,
51,
5291,
2239,
64,
222,
1350,
222,
338,
496,
2133,
45068,
525,
316,
18663,
222,
588,
222,
942,
2586,
4398,
976,
2717,
2041,
2426,
2717,
320,
499,
221,
942,
924,
1175,
910,
11405,
100,
2491,
299,
332,
624,
884,
499,
221,
942,
4398,
976,
10857,
768,
45,
5291,
2239,
475,
46,
2589,
14205,
1002,
64,
3038,
221,
942,
11990,
768,
10857,
13185,
365,
2589,
14205,
1002,
64,
3038,
221,
1350,
376,
338,
1369,
1431,
3235,
341,
462,
451,
341,
7129,
1319,
575,
762,
49,
434,
580,
458,
666,
619,
1319,
8998,
391,
477,
376,
338,
578,
15740,
43180,
5680,
51,
376,
588,
222,
221,
942,
1727,
1907,
2041,
4398,
976,
67,
43385,
1359,
492,
3038,
221,
1350,
40553,
727,
347,
477,
3429,
51,
588,
222,
221,
942,
782,
2989,
768,
45,
2354,
976,
727,
49,
16759,
8294,
7151,
49,
15592,
2239,
475,
46,
2589,
14205,
1002,
64,
376,
222,
130,
222
] |
[
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 432
| true
| 74.779541
| true
| true
|
GameConstants.java
|
/FileExtraction/Java_unseen/speedyHKjournalist_MapleServerAndroid/app/src/main/java/constants/game/GameConstants.java
|
package constants.game;
import client.Disease;
import client.Job;
import config.YamlConfig;
import constants.id.MapId;
import constants.skills.Aran;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import provider.*;
import provider.wz.WZFiles;
import server.maps.FieldLimit;
import server.maps.MapleMap;
import server.quest.Quest;
import java.text.DecimalFormat;
import java.text.NumberFormat;
import java.util.*;
/*
* @author kevintjuh93
* @author Ronan
*/
public class GameConstants {
public static String[] WORLD_NAMES = {"Scania", "Bera", "Broa", "Windia", "Khaini", "Bellocan", "Mardia", "Kradia", "Yellonde", "Demethos", "Galicia", "El Nido", "Zenith", "Arcenia", "Kastia", "Judis", "Plana", "Kalluna", "Stius", "Croa", "Medere"};
public static final String[] stats = {"tuc", "reqLevel", "reqJob", "reqSTR", "reqDEX", "reqINT", "reqLUK", "reqPOP", "cash", "cursed", "success", "setItemID", "equipTradeBlock", "durability", "randOption", "randStat", "masterLevel", "reqSkillLevel", "elemDefault", "incRMAS", "incRMAF", "incRMAI", "incRMAL", "canLevel", "skill", "charmEXP"};
public static final int[] CASH_DATA = new int[]{50200004, 50200069, 50200117, 50100008, 50000047};
// Ronan's rates upgrade system
private static final int[] DROP_RATE_GAIN = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14};
private static final int[] MESO_RATE_GAIN = {1, 3, 6, 10, 15, 21, 28, 36, 45, 55, 66, 78, 91, 105};
private static final int[] EXP_RATE_GAIN = {1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377, 610}; //fibonacci :3
private static final int[] jobUpgradeBlob = {1, 20, 60, 110, 190};
private static final int[] jobUpgradeSpUp = {0, 1, 2, 3, 6};
private final static Map<Integer, String> jobNames = new HashMap<>();
private final static NumberFormat nfFormatter = new DecimalFormat("#,###,###,###");
private final static NumberFormat nfParser = NumberFormat.getInstance(YamlConfig.config.server.USE_UNITPRICE_WITH_COMMA ? Locale.FRANCE : Locale.UK);
private static final Logger log = LoggerFactory.getLogger(GameConstants.class);
public static final Disease[] CPQ_DISEASES = {Disease.SLOW, Disease.SEDUCE, Disease.STUN, Disease.POISON,
Disease.SEAL, Disease.DARKNESS, Disease.WEAKEN, Disease.CURSE};
public static final int MAX_FIELD_MOB_DAMAGE = getMaxObstacleMobDamageFromWz() * 2;
public static int getPlayerBonusDropRate(int slot) {
return (DROP_RATE_GAIN[slot]);
}
public static int getPlayerBonusMesoRate(int slot) {
return (MESO_RATE_GAIN[slot]);
}
public static int getPlayerBonusExpRate(int slot) {
return (EXP_RATE_GAIN[slot]);
}
// "goto" command for players
public static final Map<String, Integer> GOTO_TOWNS = new HashMap<>() {{
put("southperry", MapId.SOUTHPERRY);
put("amherst", MapId.AMHERST);
put("henesys", MapId.HENESYS);
put("ellinia", MapId.ELLINIA);
put("perion", MapId.PERION);
put("kerning", MapId.KERNING_CITY);
put("lith", MapId.LITH_HARBOUR);
put("sleepywood", MapId.SLEEPYWOOD);
put("florina", MapId.FLORINA_BEACH);
put("nautilus", MapId.NAUTILUS_HARBOR);
put("ereve", MapId.EREVE);
put("rien", MapId.RIEN);
put("orbis", MapId.ORBIS);
put("happy", MapId.HAPPYVILLE);
put("elnath", MapId.EL_NATH);
put("ludi", MapId.LUDIBRIUM);
put("aqua", MapId.AQUARIUM);
put("leafre", MapId.LEAFRE);
put("mulung", MapId.MU_LUNG);
put("herb", MapId.HERB_TOWN);
put("omega", MapId.OMEGA_SECTOR);
put("kft", MapId.KOREAN_FOLK_TOWN);
put("ellin", MapId.ELLIN_FOREST);
put("nlc", MapId.NEW_LEAF_CITY);
put("showa", MapId.SHOWA_TOWN);
put("shrine", MapId.MUSHROOM_SHRINE);
put("ariant", MapId.ARIANT);
put("magatia", MapId.MAGATIA);
put("singapore", MapId.SINGAPORE);
put("quay", MapId.BOAT_QUAY_TOWN);
put("kampung", MapId.KAMPUNG_VILLAGE);
put("amoria", MapId.AMORIA);
put("temple", MapId.TEMPLE_OF_TIME);
put("square", MapId.KERNING_SQUARE);
put("neo", MapId.NEO_CITY);
put("mushking", MapId.MUSHROOM_KINGDOM);
}};
// "goto" command for only-GMs
public static final Map<String, Integer> GOTO_AREAS = new HashMap<>() {{
put("gmmap", MapId.GM_MAP);
put("excavation", MapId.EXCAVATION_SITE);
put("mushmom", MapId.SOMEONE_ELSES_HOUSE);
put("griffey", MapId.GRIFFEY_FOREST);
put("manon", MapId.MANONS_FOREST);
put("horseman", MapId.HOLLOWED_GROUND);
put("balrog", MapId.CURSED_SANCTUARY);
put("zakum", MapId.DOOR_TO_ZAKUM);
put("papu", MapId.ORIGIN_OF_CLOCKTOWER);
put("guild", MapId.GUILD_HQ);
put("skelegon", MapId.DRAGON_NEST_LEFT_BEHIND);
put("hpq", MapId.HENESYS_PARK);
put("pianus", MapId.CAVE_OF_PIANUS);
put("horntail", MapId.ENTRANCE_TO_HORNTAILS_CAVE);
put("pinkbean", MapId.FORGOTTEN_TWILIGHT);
put("keep", MapId.CRIMSONWOOD_KEEP);
put("dojo", MapId.MU_LUNG_DOJO_HALL);
put("bosspq", MapId.EXCLUSIVE_TRAINING_CENTER);
put("fm", MapId.FM_ENTRANCE);
}};
public static final List<String> GAME_SONGS = new ArrayList<>(170) {{
add("Jukebox/Congratulation");
add("Bgm00/SleepyWood");
add("Bgm00/FloralLife");
add("Bgm00/GoPicnic");
add("Bgm00/Nightmare");
add("Bgm00/RestNPeace");
add("Bgm01/AncientMove");
add("Bgm01/MoonlightShadow");
add("Bgm01/WhereTheBarlogFrom");
add("Bgm01/CavaBien");
add("Bgm01/HighlandStar");
add("Bgm01/BadGuys");
add("Bgm02/MissingYou");
add("Bgm02/WhenTheMorningComes");
add("Bgm02/EvilEyes");
add("Bgm02/JungleBook");
add("Bgm02/AboveTheTreetops");
add("Bgm03/Subway");
add("Bgm03/Elfwood");
add("Bgm03/BlueSky");
add("Bgm03/Beachway");
add("Bgm03/SnowyVillage");
add("Bgm04/PlayWithMe");
add("Bgm04/WhiteChristmas");
add("Bgm04/UponTheSky");
add("Bgm04/ArabPirate");
add("Bgm04/Shinin'Harbor");
add("Bgm04/WarmRegard");
add("Bgm05/WolfWood");
add("Bgm05/DownToTheCave");
add("Bgm05/AbandonedMine");
add("Bgm05/MineQuest");
add("Bgm05/HellGate");
add("Bgm06/FinalFight");
add("Bgm06/WelcomeToTheHell");
add("Bgm06/ComeWithMe");
add("Bgm06/FlyingInABlueDream");
add("Bgm06/FantasticThinking");
add("Bgm07/WaltzForWork");
add("Bgm07/WhereverYouAre");
add("Bgm07/FunnyTimeMaker");
add("Bgm07/HighEnough");
add("Bgm07/Fantasia");
add("Bgm08/LetsMarch");
add("Bgm08/ForTheGlory");
add("Bgm08/FindingForest");
add("Bgm08/LetsHuntAliens");
add("Bgm08/PlotOfPixie");
add("Bgm09/DarkShadow");
add("Bgm09/TheyMenacingYou");
add("Bgm09/FairyTale");
add("Bgm09/FairyTalediffvers");
add("Bgm09/TimeAttack");
add("Bgm10/Timeless");
add("Bgm10/TimelessB");
add("Bgm10/BizarreTales");
add("Bgm10/TheWayGrotesque");
add("Bgm10/Eregos");
add("Bgm11/BlueWorld");
add("Bgm11/Aquarium");
add("Bgm11/ShiningSea");
add("Bgm11/DownTown");
add("Bgm11/DarkMountain");
add("Bgm12/AquaCave");
add("Bgm12/DeepSee");
add("Bgm12/WaterWay");
add("Bgm12/AcientRemain");
add("Bgm12/RuinCastle");
add("Bgm12/Dispute");
add("Bgm13/CokeTown");
add("Bgm13/Leafre");
add("Bgm13/Minar'sDream");
add("Bgm13/AcientForest");
add("Bgm13/TowerOfGoddess");
add("Bgm14/DragonLoad");
add("Bgm14/HonTale");
add("Bgm14/CaveOfHontale");
add("Bgm14/DragonNest");
add("Bgm14/Ariant");
add("Bgm14/HotDesert");
add("Bgm15/MureungHill");
add("Bgm15/MureungForest");
add("Bgm15/WhiteHerb");
add("Bgm15/Pirate");
add("Bgm15/SunsetDesert");
add("Bgm16/Duskofgod");
add("Bgm16/FightingPinkBeen");
add("Bgm16/Forgetfulness");
add("Bgm16/Remembrance");
add("Bgm16/Repentance");
add("Bgm16/TimeTemple");
add("Bgm17/MureungSchool1");
add("Bgm17/MureungSchool2");
add("Bgm17/MureungSchool3");
add("Bgm17/MureungSchool4");
add("Bgm18/BlackWing");
add("Bgm18/DrillHall");
add("Bgm18/QueensGarden");
add("Bgm18/RaindropFlower");
add("Bgm18/WolfAndSheep");
add("Bgm19/BambooGym");
add("Bgm19/CrystalCave");
add("Bgm19/MushCatle");
add("Bgm19/RienVillage");
add("Bgm19/SnowDrop");
add("Bgm20/GhostShip");
add("Bgm20/NetsPiramid");
add("Bgm20/UnderSubway");
add("Bgm21/2021year");
add("Bgm21/2099year");
add("Bgm21/2215year");
add("Bgm21/2230year");
add("Bgm21/2503year");
add("Bgm21/KerningSquare");
add("Bgm21/KerningSquareField");
add("Bgm21/KerningSquareSubway");
add("Bgm21/TeraForest");
add("BgmEvent/FunnyRabbit");
add("BgmEvent/FunnyRabbitFaster");
add("BgmEvent/wedding");
add("BgmEvent/weddingDance");
add("BgmEvent/wichTower");
add("BgmGL/amoria");
add("BgmGL/Amorianchallenge");
add("BgmGL/chapel");
add("BgmGL/cathedral");
add("BgmGL/Courtyard");
add("BgmGL/CrimsonwoodKeep");
add("BgmGL/CrimsonwoodKeepInterior");
add("BgmGL/GrandmastersGauntlet");
add("BgmGL/HauntedHouse");
add("BgmGL/NLChunt");
add("BgmGL/NLCtown");
add("BgmGL/NLCupbeat");
add("BgmGL/PartyQuestGL");
add("BgmGL/PhantomForest");
add("BgmJp/Feeling");
add("BgmJp/BizarreForest");
add("BgmJp/Hana");
add("BgmJp/Yume");
add("BgmJp/Bathroom");
add("BgmJp/BattleField");
add("BgmJp/FirstStepMaster");
add("BgmMY/Highland");
add("BgmMY/KualaLumpur");
add("BgmSG/BoatQuay_field");
add("BgmSG/BoatQuay_town");
add("BgmSG/CBD_field");
add("BgmSG/CBD_town");
add("BgmSG/Ghostship");
add("BgmUI/ShopBgm");
add("BgmUI/Title");
}};
// MapleStory default keyset
private static final int[] DEFAULT_KEY = {18, 65, 2, 23, 3, 4, 5, 6, 16, 17, 19, 25, 26, 27, 31, 34, 35, 37, 38, 40, 43, 44, 45, 46, 50, 56, 59, 60, 61, 62, 63, 64, 57, 48, 29, 7, 24, 33, 41, 39};
private static final int[] DEFAULT_TYPE = {4, 6, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 5, 5, 4, 4, 5, 6, 6, 6, 6, 6, 6, 5, 4, 5, 4, 4, 4, 4, 4};
private static final int[] DEFAULT_ACTION = {0, 106, 10, 1, 12, 13, 18, 24, 8, 5, 4, 19, 14, 15, 2, 17, 11, 3, 20, 16, 9, 50, 51, 6, 7, 53, 100, 101, 102, 103, 104, 105, 54, 22, 52, 21, 25, 26, 23, 27};
// HeavenMS custom keyset
private static final int[] CUSTOM_KEY = {2, 3, 4, 5, 31, 56, 59, 32, 42, 6, 17, 29, 30, 41, 50, 60, 61, 62, 63, 64, 65, 16, 7, 9, 13, 8};
private static final int[] CUSTOM_TYPE = {4, 4, 4, 4, 5, 5, 6, 5, 5, 4, 4, 4, 5, 4, 4, 6, 6, 6, 6, 6, 6, 4, 4, 4, 4, 4};
private static final int[] CUSTOM_ACTION = {1, 0, 3, 2, 53, 54, 100, 52, 51, 19, 5, 9, 50, 7, 22, 101, 102, 103, 104, 105, 106, 8, 17, 26, 20, 4};
public static int[] getCustomKey(boolean customKeyset) {
return (customKeyset ? CUSTOM_KEY : DEFAULT_KEY);
}
public static int[] getCustomType(boolean customKeyset) {
return (customKeyset ? CUSTOM_TYPE : DEFAULT_TYPE);
}
public static int[] getCustomAction(boolean customKeyset) {
return (customKeyset ? CUSTOM_ACTION : DEFAULT_ACTION);
}
private static final int[] mobHpVal = {0, 15, 20, 25, 35, 50, 65, 80, 95, 110, 125, 150, 175, 200, 225, 250, 275, 300, 325, 350,
375, 405, 435, 465, 495, 525, 580, 650, 720, 790, 900, 990, 1100, 1200, 1300, 1400, 1500, 1600, 1700, 1800,
1900, 2000, 2100, 2200, 2300, 2400, 2520, 2640, 2760, 2880, 3000, 3200, 3400, 3600, 3800, 4000, 4300, 4600, 4900, 5200,
5500, 5900, 6300, 6700, 7100, 7500, 8000, 8500, 9000, 9500, 10000, 11000, 12000, 13000, 14000, 15000, 17000, 19000, 21000, 23000,
25000, 27000, 29000, 31000, 33000, 35000, 37000, 39000, 41000, 43000, 45000, 47000, 49000, 51000, 53000, 55000, 57000, 59000, 61000, 63000,
65000, 67000, 69000, 71000, 73000, 75000, 77000, 79000, 81000, 83000, 85000, 89000, 91000, 93000, 95000, 97000, 99000, 101000, 103000,
105000, 107000, 109000, 111000, 113000, 115000, 118000, 120000, 125000, 130000, 135000, 140000, 145000, 150000, 155000, 160000, 165000, 170000, 175000, 180000,
185000, 190000, 195000, 200000, 205000, 210000, 215000, 220000, 225000, 230000, 235000, 240000, 250000, 260000, 270000, 280000, 290000, 300000, 310000, 320000,
330000, 340000, 350000, 360000, 370000, 380000, 390000, 400000, 410000, 420000, 430000, 440000, 450000, 460000, 470000, 480000, 490000, 500000, 510000, 520000,
530000, 550000, 570000, 590000, 610000, 630000, 650000, 670000, 690000, 710000, 730000, 750000, 770000, 790000, 810000, 830000, 850000, 870000, 890000, 910000};
public static String getJobName(int jobid) {
String name = jobNames.get(jobid);
if (name == null) {
Job job = Job.getById(jobid);
if (job != null) {
name = job.name().toLowerCase();
name = name.replaceAll("[*0-9]", "");
name = name.substring(0, 1).toUpperCase() + name.substring(1);
} else {
name = "";
}
jobNames.put(jobid, name);
}
return name;
}
public static int getJobUpgradeLevelRange(int jobbranch) {
return jobUpgradeBlob[jobbranch];
}
public static int getChangeJobSpUpgrade(int jobbranch) {
return jobUpgradeSpUp[jobbranch];
}
public static boolean isHallOfFameMap(int mapid) {
switch (mapid) {
case MapId.HALL_OF_WARRIORS: // warrior
case MapId.HALL_OF_MAGICIANS: // magician
case MapId.HALL_OF_BOWMEN: // bowman
case MapId.HALL_OF_THIEVES: // thief
case MapId.NAUTILUS_TRAINING_ROOM: // pirate
case MapId.KNIGHTS_CHAMBER: // cygnus
case MapId.KNIGHTS_CHAMBER_LARGE: // other cygnus
case MapId.KNIGHTS_CHAMBER_2: // cygnus 2nd floor
case MapId.KNIGHTS_CHAMBER_3: // cygnus 3rd floor (beginners)
case MapId.PALACE_OF_THE_MASTER: // aran
return true;
default:
return false;
}
}
public static boolean isPodiumHallOfFameMap(int mapid) {
switch (mapid) {
case MapId.HALL_OF_WARRIORS:
case MapId.HALL_OF_MAGICIANS: // magician
case MapId.HALL_OF_BOWMEN: // bowman
case MapId.HALL_OF_THIEVES: // thief
case MapId.NAUTILUS_TRAINING_ROOM: // pirate
return true;
default:
return false;
}
}
public static byte getHallOfFameBranch(Job job, int mapid) {
if (!isHallOfFameMap(mapid)) {
return (byte) (26 + 4 * (mapid / 100000000)); // custom, 400 pnpcs available per continent
}
if (job.isA(Job.WARRIOR)) {
return 10;
} else if (job.isA(Job.MAGICIAN)) {
return 11;
} else if (job.isA(Job.BOWMAN)) {
return 12;
} else if (job.isA(Job.THIEF)) {
return 13;
} else if (job.isA(Job.PIRATE)) {
return 14;
} else if (job.isA(Job.DAWNWARRIOR1)) {
return 15;
} else if (job.isA(Job.BLAZEWIZARD1)) {
return 16;
} else if (job.isA(Job.WINDARCHER1)) {
return 17;
} else if (job.isA(Job.NIGHTWALKER1)) {
return 18;
} else if (job.isA(Job.THUNDERBREAKER1)) {
return 19;
} else if (job.isA(Job.ARAN1)) {
return 20;
} else if (job.isA(Job.EVAN1)) {
return 21;
} else if (job.isA(Job.BEGINNER)) {
return 22;
} else if (job.isA(Job.NOBLESSE)) {
return 23;
} else if (job.isA(Job.LEGEND)) {
return 24;
} else {
return 25;
}
}
public static int getOverallJobRankByScriptId(int scriptId) {
int branch = (scriptId / 100) % 100;
if (branch < 26) {
return (scriptId % 100) + 1;
} else {
return ((scriptId - 2600) % 400) + 1;
}
}
public static boolean canPnpcBranchUseScriptId(byte branch, int scriptId) {
scriptId /= 100;
scriptId %= 100;
if (branch < 26) {
return branch == scriptId;
} else {
return scriptId >= branch && scriptId < branch + 4;
}
}
public static int getHallOfFameMapid(Job job) {
int jobid = job.getId();
if (isCygnus(jobid)) {
return MapId.KNIGHTS_CHAMBER;
} else if (isAran(jobid)) {
return MapId.PALACE_OF_THE_MASTER;
} else {
if (job.isA(Job.WARRIOR)) {
return MapId.HALL_OF_WARRIORS;
} else if (job.isA(Job.MAGICIAN)) {
return MapId.HALL_OF_MAGICIANS;
} else if (job.isA(Job.BOWMAN)) {
return MapId.HALL_OF_BOWMEN;
} else if (job.isA(Job.THIEF)) {
return MapId.HALL_OF_THIEVES;
} else if (job.isA(Job.PIRATE)) {
return MapId.NAUTILUS_TRAINING_ROOM;
} else {
return MapId.KNIGHTS_CHAMBER_2; // beginner explorers are allotted with the Cygnus, available map lul
}
}
}
public static int getJobBranch(Job job) {
int jobid = job.getId();
if (jobid % 1000 == 0) {
return 0;
} else if (jobid % 100 == 0) {
return 1;
} else {
return 2 + (jobid % 10);
}
}
public static int getJobMaxLevel(Job job) {
int jobBranch = getJobBranch(job);
switch (jobBranch) {
case 0:
return 10; // beginner
case 1:
return 30; // 1st job
case 2:
return 70; // 2nd job
case 3:
return 120; // 3rd job
default:
return (job.getId() / 1000 == 1) ? 120 : 200; // 4th job: cygnus is 120, rest is 200
}
}
public static int getSkillBook(final int job) {
if (job >= 2210 && job <= 2218) {
return job - 2209;
}
return 0;
}
public static boolean isAranSkills(final int skill) {
return Aran.FULL_SWING == skill || Aran.OVER_SWING == skill || Aran.COMBO_TEMPEST == skill || Aran.COMBO_FENRIR == skill || Aran.COMBO_DRAIN == skill
|| Aran.HIDDEN_FULL_DOUBLE == skill || Aran.HIDDEN_FULL_TRIPLE == skill || Aran.HIDDEN_OVER_DOUBLE == skill || Aran.HIDDEN_OVER_TRIPLE == skill
|| Aran.COMBO_SMASH == skill || Aran.DOUBLE_SWING == skill || Aran.TRIPLE_SWING == skill;
}
public static boolean isHiddenSkills(final int skill) {
return Aran.HIDDEN_FULL_DOUBLE == skill || Aran.HIDDEN_FULL_TRIPLE == skill || Aran.HIDDEN_OVER_DOUBLE == skill || Aran.HIDDEN_OVER_TRIPLE == skill;
}
public static boolean isCygnus(final int job) {
return job / 1000 == 1;
}
public static boolean isAran(final int job) {
return job == 2000 || (job >= 2100 && job <= 2112);
}
private static boolean isInBranchJobTree(int skillJobId, int jobId, int branchType) {
int branch = (int) (Math.pow(10, branchType));
int skillBranch = (skillJobId / branch) * branch;
int jobBranch = (jobId / branch) * branch;
return skillBranch == jobBranch;
}
private static boolean hasDivergedBranchJobTree(int skillJobId, int jobId, int branchType) {
int branch = (int) (Math.pow(10, branchType));
int skillBranch = skillJobId / branch;
int jobBranch = jobId / branch;
return skillBranch != jobBranch && skillBranch % 10 != 0;
}
public static boolean isInJobTree(int skillId, int jobId) {
int skillJob = skillId / 10000;
if (!isInBranchJobTree(skillJob, jobId, 0)) {
for (int i = 1; i <= 3; i++) {
if (hasDivergedBranchJobTree(skillJob, jobId, i)) {
return false;
}
if (isInBranchJobTree(skillJob, jobId, i)) {
return (skillJob <= jobId);
}
}
} else {
return (skillJob <= jobId);
}
return false;
}
public static boolean isPqSkill(final int skill) {
return (skill >= 20000014 && skill <= 20000018) || skill == 10000013 || skill == 20001013 || (skill % 10000000 >= 1009 && skill % 10000000 <= 1011) || skill % 10000000 == 1020;
}
public static boolean bannedBindSkills(final int skill) {
return isAranSkills(skill) || isPqSkill(skill);
}
public static boolean isGMSkills(final int skill) {
return skill >= 9001000 && skill <= 9101008 || skill >= 8001000 && skill <= 8001001;
}
public static boolean isFreeMarketRoom(int mapid) {
return mapid / 1000000 == 910 && mapid > MapId.FM_ENTRANCE; // FM rooms subset, thanks to shavitush (shavit)
}
public static boolean isMerchantLocked(MapleMap map) {
if (FieldLimit.CANNOTMIGRATE.check(map.getFieldLimit())) { // maps that cannot access cash shop cannot access merchants too (except FM rooms).
return true;
}
return map.getId() == MapId.FM_ENTRANCE;
}
public static boolean isDojoBossArea(int mapid) {
return MapId.isDojo(mapid) && (((mapid / 100) % 100) % 6) > 0;
}
public static boolean isAriantColiseumLobby(int mapid) {
int mapbranch = mapid / 1000;
return mapbranch == 980010 && mapid % 10 == 0;
}
public static boolean isAriantColiseumArena(int mapid) {
int mapbranch = mapid / 1000;
return mapbranch == 980010 && mapid % 10 == 1;
}
public static boolean isPqSkillMap(int mapid) {
return MapId.isDojo(mapid) || MapId.isNettsPyramid(mapid);
}
public static boolean isFinisherSkill(int skillId) {
return skillId > 1111002 && skillId < 1111007 || skillId == 11111002 || skillId == 11111003;
}
public static boolean isMedalQuest(short questid) {
return Quest.getInstance(questid).getMedalRequirement() != -1;
}
public static boolean hasSPTable(Job job) {
switch (job) {
case EVAN:
case EVAN1:
case EVAN2:
case EVAN3:
case EVAN4:
case EVAN5:
case EVAN6:
case EVAN7:
case EVAN8:
case EVAN9:
case EVAN10:
return true;
default:
return false;
}
}
public static int getMonsterHP(final int level) {
if (level < 0 || level >= mobHpVal.length) {
return Integer.MAX_VALUE;
}
return mobHpVal[level];
}
public static String ordinal(int i) {
String[] sufixes = new String[]{"th", "st", "nd", "rd", "th", "th", "th", "th", "th", "th"};
switch (i % 100) {
case 11:
case 12:
case 13:
return i + "th";
default:
return i + sufixes[i % 10];
}
}
public synchronized static String numberWithCommas(int i) {
if (!YamlConfig.config.server.USE_DISPLAY_NUMBERS_WITH_COMMA) {
return nfFormatter.format(i); // will display number on whatever locale is currently assigned on NumberFormat
} else {
return NumberFormat.getNumberInstance(Locale.UK).format(i);
}
}
public synchronized static Number parseNumber(String value) {
try {
return nfParser.parse(value);
} catch (Exception e) {
log.error("parseNumber error", e);
return 0.0f;
}
}
private static int getMaxObstacleMobDamageFromWz() {
DataProvider mapSource = DataProviderFactory.getDataProvider(WZFiles.MAP);
int maxMobDmg = 0;
DataDirectoryEntry root = mapSource.getRoot();
for (DataDirectoryEntry objData : root.getSubdirectories()) {
if (!objData.getName().contentEquals("Obj")) {
continue;
}
for (DataFileEntry obj : objData.getFiles()) {
for (Data l0 : mapSource.getData(objData.getName() + "/" + obj.getName()).getChildren()) {
for (Data l1 : l0.getChildren()) {
for (Data l2 : l1.getChildren()) {
int objDmg = DataTool.getIntConvert("s1/mobdamage", l2, 0);
if (maxMobDmg < objDmg) {
maxMobDmg = objDmg;
}
}
}
}
}
}
return maxMobDmg;
}
}
| 25,714
|
Java
|
.java
|
speedyHKjournalist/MapleServerAndroid
| 78
| 17
| 0
|
2023-10-08T10:32:11Z
|
2024-05-05T12:13:14Z
|
8902b7a23469ea4214fb800c80e98dec55b5a2cc532ed3864945239c69e71409
|
[
1337,
12405,
51,
3642,
64,
222,
222,
485,
2060,
51,
73,
22017,
64,
222,
485,
2060,
51,
3798,
64,
222,
485,
1377,
51,
22802,
1081,
64,
222,
485,
12405,
51,
333,
51,
1225,
625,
64,
222,
485,
12405,
51,
25048,
51,
3437,
297,
64,
222,
485,
1105,
51,
12172,
57,
111,
51,
3716,
64,
222,
485,
1105,
51,
12172,
57,
111,
51,
19580,
64,
222,
485,
6897,
7737,
222,
485,
6897,
51,
27759,
51,
34135,
3852,
64,
222,
485,
2160,
51,
8222,
51,
1195,
5829,
64,
222,
485,
2160,
51,
8222,
51,
1225,
293,
1225,
64,
222,
485,
2160,
51,
622,
51,
7819,
64,
222,
222,
485,
1401,
51,
897,
51,
7701,
2222,
64,
222,
485,
1401,
51,
897,
51,
44838,
64,
222,
485,
1401,
51,
1058,
7737,
222,
222,
1127,
222,
338,
496,
2133,
3973,
25726,
111,
16519,
62,
56,
222,
338,
496,
2133,
578,
286,
297,
222,
588,
222,
942,
462,
6067,
5238,
320,
303,
581,
924,
910,
1197,
643,
25073,
100,
8362,
299,
3479,
8818,
923,
411,
332,
71,
3017,
411,
332,
13541,
102,
411,
332,
27893,
923,
411,
332,
24428,
524,
110,
411,
332,
24645,
901,
297,
411,
332,
82,
723,
923,
411,
332,
80,
2341,
923,
411,
332,
94,
1042,
286,
305,
411,
332,
703,
17834,
519,
411,
332,
76,
15319,
923,
411,
332,
5467,
508,
7026,
411,
332,
95,
291,
469,
411,
332,
8780,
29827,
411,
332,
80,
652,
923,
411,
332,
79,
856,
316,
411,
332,
1839,
5505,
411,
332,
80,
483,
12181,
411,
332,
520,
3279,
411,
332,
72,
309,
102,
411,
332,
8676,
767,
17066,
303,
581,
924,
1175,
910,
1197,
8652,
299,
3479,
121,
1027,
411,
332,
2418,
2671,
411,
332,
2418,
3798,
411,
332,
2418,
2393,
411,
332,
2418,
7232,
411,
332,
2418,
1860,
411,
332,
2418,
11830,
80,
411,
332,
2418,
24139,
411,
332,
22247,
411,
332,
1556,
1265,
411,
332,
3146,
411,
332,
19313,
798,
411,
332,
34150,
16730,
2246,
411,
332,
19545,
3478,
411,
332,
6458,
2846,
411,
332,
6458,
5952,
411,
332,
2611,
2671,
411,
332,
2418,
18136,
2671,
411,
332,
7617,
2061,
411,
332,
3582,
11267,
1117,
411,
332,
3582,
87,
1418,
75,
411,
332,
3582,
87,
1418,
78,
411,
332,
3582,
11267,
744,
411,
332,
3389,
2671,
411,
332,
10900,
411,
332,
39289,
12279,
17066,
303,
581,
924,
1175,
648,
1197,
409,
7885,
100,
4629,
299,
556,
648,
14161,
58,
53,
55,
53,
53,
53,
53,
57,
49,
244,
58,
53,
55,
53,
53,
53,
59,
62,
49,
244,
58,
53,
55,
53,
53,
54,
54,
60,
49,
244,
58,
53,
54,
53,
53,
53,
53,
61,
49,
244,
58,
53,
53,
53,
53,
53,
57,
60,
1274,
465,
453,
578,
286,
297,
1200,
26201,
10751,
2684,
303,
964,
924,
1175,
648,
1197,
31604,
100,
19568,
100,
48126,
299,
320,
54,
49,
244,
55,
49,
244,
56,
49,
244,
57,
49,
244,
58,
49,
244,
59,
49,
244,
60,
49,
244,
61,
49,
244,
62,
49,
244,
54,
53,
49,
244,
54,
54,
49,
244,
54,
55,
49,
244,
54,
56,
49,
244,
54,
57,
1274,
303,
964,
924,
1175,
648,
1197,
507,
959,
84,
100,
19568,
100,
48126,
299,
320,
54,
49,
244,
56,
49,
244,
59,
49,
244,
54,
53,
49,
244,
54,
58,
49,
244,
55,
54,
49,
244,
55,
61,
49,
244,
56,
59,
49,
244,
57,
58,
49,
244,
58,
58,
49,
244,
59,
59,
49,
244,
60,
61,
49,
244,
62,
54,
49,
244,
54,
53,
58,
1274,
303,
964,
924,
1175,
648,
1197,
39897,
100,
19568,
100,
48126,
299,
320,
54,
49,
244,
55,
49,
244,
56,
49,
244,
58,
49,
244,
61,
49,
244,
54,
56,
49,
244,
55,
54,
49,
244,
56,
57,
49,
244,
58,
58,
49,
244,
61,
62,
49,
244,
54,
57,
57,
49,
244,
55,
56,
56,
49,
244,
56,
60,
60,
49,
244,
59,
54,
53,
1274,
283,
453,
26487,
34789,
518,
56,
465,
964,
924,
1175,
648,
1197,
4012,
15486,
10405,
299,
320,
54,
49,
244,
55,
53,
49,
244,
59,
53,
49,
244,
54,
54,
53,
49,
244,
54,
62,
53,
1274,
303,
964,
924,
1175,
648,
1197,
4012,
15486,
2184,
1405,
299,
320,
53,
49,
244,
54,
49,
244,
55,
49,
244,
56,
49,
244,
59,
1274,
303,
964,
1175,
924,
3531,
65,
3078,
49,
910,
67,
4012,
4128,
299,
556,
8329,
6984,
303,
964,
1175,
924,
5132,
2222,
38326,
8748,
299,
556,
23501,
2222,
4139,
49,
1502,
49,
1502,
49,
1502,
742,
303,
964,
1175,
924,
5132,
2222,
38326,
2837,
299,
5132,
2222,
51,
7432,
45,
22802,
1081,
51,
1180,
51,
1805,
51,
4866,
100,
14078,
31835,
100,
12006,
100,
47403,
1037,
23239,
51,
75,
2587,
1973,
518,
23239,
51,
15626,
312,
303,
964,
924,
1175,
7145,
1264,
299,
21818,
51,
10588,
45,
3783,
5238,
51,
842,
312,
465,
581,
924,
1175,
493,
22017,
1197,
17047,
86,
100,
1740,
825,
3221,
88,
299,
320,
73,
22017,
51,
88,
5889,
49,
493,
22017,
51,
9730,
35522,
49,
493,
22017,
51,
654,
1430,
49,
493,
22017,
51,
1862,
1309,
586,
49,
343,
493,
22017,
51,
825,
744,
49,
493,
22017,
51,
44647,
7126,
49,
493,
22017,
51,
4656,
7418,
737,
49,
493,
22017,
51,
7525,
825,
1274,
465,
581,
924,
1175,
648,
7490,
100,
6457,
100,
40786,
100,
5472,
7297,
299,
39438,
2263,
25543,
26533,
15022,
1811,
37383,
365,
338,
244,
55,
64,
465,
581,
924,
648,
640,
3516,
25759,
6260,
5595,
45,
429,
9848,
46,
320,
310,
461,
327,
12472,
100,
19568,
100,
48126,
96,
9054,
2004,
303,
339,
465,
581,
924,
648,
640,
3516,
25759,
21075,
116,
5595,
45,
429,
9848,
46,
320,
310,
461,
327,
6976,
84,
100,
19568,
100,
48126,
96,
9054,
2004,
303,
339,
465,
581,
924,
648,
640,
3516,
25759,
3878,
5595,
45,
429,
9848,
46,
320,
310,
461,
327,
12279,
100,
19568,
100,
48126,
96,
9054,
2004,
303,
339,
465,
453,
332,
7768,
39,
2035,
456,
14580,
303,
581,
924,
1175,
3531,
65,
671,
49,
4418,
67,
42725,
100,
1425,
46750,
299,
556,
8329,
65,
6939,
3351,
310,
4180,
459,
23735,
481,
1012,
411,
3531,
625,
51,
3644,
1086,
3617,
2220,
94,
312,
310,
4180,
459,
424,
2752,
289,
411,
3531,
625,
51,
2229,
3200,
654,
312,
310,
4180,
459,
19802,
326,
1291,
411,
3531,
625,
51,
4198,
959,
16947,
312,
310,
4180,
459,
1042,
285,
923,
411,
3531,
625,
51,
2165,
7734,
7851,
312,
310,
4180,
459,
481,
304,
411,
3531,
625,
51,
3703,
1034,
312,
310,
4180,
459,
4797,
1244,
411,
3531,
625,
51,
24830,
6964,
100,
72,
2932,
312,
310,
4180,
459,
113,
469,
411,
3531,
625,
51,
81,
8719,
100,
49117,
3199,
1282,
312,
310,
4180,
459,
7860,
126,
21100,
411,
3531,
625,
51,
88,
833,
74,
5189,
18624,
5422,
312,
310,
4180,
459,
1326,
290,
5245,
411,
3531,
625,
51,
3329,
776,
26475,
100,
4671,
10029,
312,
310,
4180,
459,
3288,
1058,
371,
411,
3531,
625,
51,
1841,
18432,
2062,
100,
77,
11293,
776,
312,
310,
4180,
459,
767,
606,
411,
3531,
625,
51,
25071,
2494,
312,
310,
4180,
459,
363,
291,
411,
3531,
625,
51,
4727,
737,
312,
310,
4180,
459,
290,
28346,
411,
3531,
625,
51,
776,
71,
1309,
312,
310,
4180,
459,
39300,
411,
3531,
625,
51,
77,
1910,
5189,
91,
1484,
833,
312,
310,
4180,
459,
43156,
569,
411,
3531,
625,
51,
2165,
100,
83,
3356,
312,
310,
4180,
459,
113,
28396,
411,
3531,
625,
51,
11830,
1740,
71,
4727,
2364,
312,
310,
4180,
459,
102,
22797,
411,
3531,
625,
51,
70,
5239,
802,
34236,
312,
310,
4180,
459,
12806,
287,
411,
3531,
625,
51,
40891,
632,
312,
310,
4180,
459,
8856,
3292,
411,
3531,
625,
51,
19015,
100,
81,
47084,
312,
310,
4180,
459,
2752,
103,
411,
3531,
625,
51,
3200,
71,
100,
1425,
3635,
312,
310,
4180,
459,
18691,
411,
3531,
625,
51,
84,
1043,
11488,
100,
825,
12824,
312,
310,
4180,
459,
112,
726,
411,
3531,
625,
51,
80,
9081,
946,
100,
15231,
80,
100,
1425,
3635,
312,
310,
4180,
459,
1042,
285,
411,
3531,
625,
51,
2165,
7734,
100,
1380,
13402,
312,
310,
4180,
459,
8387,
104,
411,
3531,
625,
51,
11364,
100,
40891,
100,
72,
2932,
312,
310,
4180,
459,
2276,
102,
411,
3531,
625,
51,
40049,
9639,
100,
1425,
3635,
312,
310,
4180,
459,
36271,
501,
411,
3531,
625,
51,
82,
13897,
43734,
100,
2526,
87,
3142,
312,
310,
4180,
459,
2828,
710,
411,
3531,
625,
51,
42386,
4525,
312,
310,
4180,
459,
10528,
288,
923,
411,
3531,
625,
51,
7536,
741,
7851,
312,
310,
4180,
459,
1755,
43566,
411,
3531,
625,
51,
11318,
70,
1862,
632,
312,
310,
4180,
459,
467,
414,
411,
3531,
625,
51,
3199,
741,
100,
5239,
2749,
100,
1425,
3635,
312,
310,
4180,
459,
112,
778,
3292,
411,
3531,
625,
51,
80,
7116,
47084,
100,
91,
13139,
3484,
312,
310,
4180,
459,
424,
25274,
411,
3531,
625,
51,
2229,
776,
7851,
312,
310,
4180,
459,
1452,
293,
411,
3531,
625,
51,
10118,
833,
100,
2124,
100,
4812,
312,
310,
4180,
459,
9732,
411,
3531,
625,
51,
24830,
6964,
100,
88,
44201,
312,
310,
4180,
459,
23307,
411,
3531,
625,
51,
3585,
84,
100,
72,
2932,
312,
310,
4180,
459,
114,
1391,
12897,
411,
3531,
625,
51,
82,
13897,
43734,
100,
80,
1410,
8869,
312,
303,
41401,
465,
453,
332,
7768,
39,
2035,
456,
1773,
50,
76,
11085,
303,
581,
924,
1175,
3531,
65,
671,
49,
4418,
67,
42725,
100,
3212,
1117,
299,
556,
8329,
65,
6939,
3351,
310,
4180,
459,
13957,
1130,
411,
3531,
625,
51,
15185,
100,
5847,
312,
310,
4180,
459,
14819,
472,
387,
411,
3531,
625,
51,
1478,
4035,
91,
2909,
100,
24788,
312,
310,
4180,
459,
114,
1391,
114,
437,
411,
3531,
625,
51,
3644,
1043,
4451,
100,
2165,
21177,
100,
2271,
4866,
312,
310,
4180,
459,
43286,
929,
411,
3531,
625,
51,
4290,
38819,
5240,
100,
1380,
13402,
312,
310,
4180,
459,
1607,
286,
411,
3531,
625,
51,
10662,
39649,
100,
1380,
13402,
312,
310,
4180,
459,
109,
11600,
1607,
411,
3531,
625,
51,
77,
1767,
5889,
1363,
100,
26415,
312,
310,
4180,
459,
9964,
19985,
411,
3531,
625,
51,
7525,
9730,
100,
23620,
952,
90,
4530,
312,
310,
4180,
459,
127,
793,
397,
411,
3531,
625,
51,
1700,
776,
100,
1425,
100,
95,
7418,
2364,
312,
310,
4180,
459,
37491,
122,
411,
3531,
625,
51,
28271,
100,
2124,
100,
24953,
1425,
14926,
312,
310,
4180,
459,
13454,
411,
3531,
625,
51,
11501,
7306,
100,
21293,
312,
310,
4180,
459,
120,
498,
2358,
286,
411,
3531,
625,
51,
3577,
1631,
586,
100,
3585,
654,
100,
10779,
100,
4671,
77,
3339,
312,
310,
4180,
459,
11319,
118,
411,
3531,
625,
51,
4198,
959,
16947,
100,
4200,
80,
312,
310,
4180,
459,
1314,
297,
371,
411,
3531,
625,
51,
4035,
2494,
100,
2124,
100,
1182,
946,
2062,
312,
310,
4180,
459,
19242,
585,
626,
411,
3531,
625,
51,
35230,
6316,
100,
1425,
100,
77,
776,
4750,
9619,
88,
100,
4035,
2494,
312,
310,
4180,
459,
32224,
12455,
411,
3531,
625,
51,
7331,
76,
1212,
32956,
100,
4164,
1484,
4022,
312,
310,
4180,
459,
10530,
411,
3531,
625,
51,
3769,
2348,
1979,
18624,
5422,
100,
39750,
312,
310,
4180,
459,
13880,
411,
3531,
625,
51,
19015,
100,
81,
47084,
100,
1700,
16301,
100,
77,
2335,
312,
310,
4180,
459,
18013,
438,
118,
411,
3531,
625,
51,
30292,
42925,
100,
30845,
1410,
100,
16562,
312,
310,
4180,
459,
12398,
411,
3531,
625,
51,
15484,
100,
35230,
6316,
312,
303,
41401,
465,
581,
924,
1175,
1701,
65,
671,
67,
28434,
100,
1979,
11139,
299,
556,
5068,
11530,
54,
60,
53,
46,
3351,
310,
1035,
459,
30160,
498,
1521,
52,
628,
44796,
3935,
742,
310,
1035,
459,
71,
13957,
53,
53,
52,
15145,
126,
92,
4920,
742,
310,
1035,
459,
71,
13957,
53,
53,
52,
2151,
12530,
19815,
742,
310,
1035,
459,
71,
13957,
53,
53,
52,
6103,
19689,
16057,
742,
310,
1035,
459,
71,
13957,
53,
53,
52,
35081,
114,
605,
742,
310,
1035,
459,
71,
13957,
53,
53,
52,
7005,
83,
6502,
579,
742,
310,
1035,
459,
71,
13957,
53,
54,
52,
1062,
104,
1633,
5785,
742,
310,
1035,
459,
71,
13957,
53,
54,
52,
47211,
2447,
10059,
742,
310,
1035,
459,
71,
13957,
53,
54,
52,
8130,
1338,
2914,
769,
1811,
742,
310,
1035,
459,
71,
13957,
53,
54,
52,
72,
937,
71,
8629,
742,
310,
1035,
459,
71,
13957,
53,
54,
52,
7564,
6836,
9033,
742,
310,
1035,
459,
71,
13957,
53,
54,
52,
8421,
5719,
1291,
742,
310,
1035,
459,
71,
13957,
53,
55,
52,
9095,
4296,
742,
310,
1035,
459,
71,
13957,
53,
55,
52,
5797,
1338,
40802,
1244,
41743,
120,
742,
310,
1035,
459,
71,
13957,
53,
55,
52,
17606,
354,
74,
7150,
742,
310,
1035,
459,
71,
13957,
53,
55,
52,
31824,
1240,
6597,
742,
310,
1035,
459,
71,
13957,
53,
55,
52,
36780,
1338,
89,
7111,
4178,
742,
310,
1035,
459,
71,
13957,
53,
56,
52,
1736,
3094,
742,
310,
1035,
459,
71,
13957,
53,
56,
52,
74,
506,
21100,
742,
310,
1035,
459,
71,
13957,
53,
56,
52,
8991,
22627,
742,
310,
1035,
459,
71,
13957,
53,
56,
52,
1483,
886,
3094,
742,
310,
1035,
459,
71,
13957,
53,
56,
52,
35625,
126,
91,
26701,
742,
310,
1035,
459,
71,
13957,
53,
57,
52,
5202,
1569,
1451,
742,
310,
1035,
459,
71,
13957,
53,
57,
52,
11076,
46344,
6308,
742,
310,
1035,
459,
71,
13957,
53,
57,
52,
1405,
286,
1338,
22627,
742,
310,
1035,
459,
71,
13957,
53,
57,
52,
3437,
380,
85,
495,
351,
742,
310,
1035,
459,
71,
13957,
53,
57,
52,
1207,
32990,
44,
77,
47502,
742,
310,
1035,
459,
71,
13957,
53,
57,
52,
92,
3932,
3357,
723,
742,
310,
1035,
459,
71,
13957,
53,
58,
52,
92,
24599,
92,
4920,
742,
310,
1035,
459,
71,
13957,
53,
58,
52,
3228,
724,
1338,
72,
808,
742,
310,
1035,
459,
71,
13957,
53,
58,
52,
2792,
382,
11751,
36301,
742,
310,
1035,
459,
71,
13957,
53,
58,
52,
36301,
7819,
742,
310,
1035,
459,
71,
13957,
53,
58,
52,
77,
1042,
18301,
742,
310,
1035,
459,
71,
13957,
53,
59,
52,
9795,
42518,
742,
310,
1035,
459,
71,
13957,
53,
59,
52,
19003,
724,
1338,
77,
1042,
742,
310,
1035,
459,
71,
13957,
53,
59,
52,
41743,
1569,
1451,
742,
310,
1035,
459,
71,
13957,
53,
59,
52,
75,
9470,
402,
1336,
113,
359,
73,
1070,
742,
310,
1035,
459,
71,
13957,
53,
59,
52,
75,
710,
6452,
40291,
318,
742,
310,
1035,
459,
71,
13957,
53,
60,
52,
92,
3853,
127,
1580,
3003,
742,
310,
1035,
459,
71,
13957,
53,
60,
52,
8130,
443,
4296,
3689,
742,
310,
1035,
459,
71,
13957,
53,
60,
52,
11592,
5588,
1061,
18914,
742,
310,
1035,
459,
71,
13957,
53,
60,
52,
7564,
795,
3986,
742,
310,
1035,
459,
71,
13957,
53,
60,
52,
75,
710,
321,
923,
742,
310,
1035,
459,
71,
13957,
53,
61,
52,
81,
5284,
35662,
742,
310,
1035,
459,
71,
13957,
53,
61,
52,
1580,
1338,
11731,
647,
742,
310,
1035,
459,
71,
13957,
53,
61,
52,
41284,
28276,
742,
310,
1035,
459,
71,
13957,
53,
61,
52,
81,
5284,
77,
593,
5650,
1249,
742,
310,
1035,
459,
71,
13957,
53,
61,
52,
11756,
1436,
24158,
1093,
742,
310,
1035,
459,
71,
13957,
53,
62,
52,
15820,
10059,
742,
310,
1035,
459,
71,
13957,
53,
62,
52,
31832,
23028,
4275,
4296,
742,
310,
1035,
459,
71,
13957,
53,
62,
52,
75,
2017,
126,
89,
1572,
742,
310,
1035,
459,
71,
13957,
53,
62,
52,
75,
2017,
126,
89,
9004,
2961,
5257,
742,
310,
1035,
459,
71,
13957,
53,
62,
52,
1061,
13321,
742,
310,
1035,
459,
71,
13957,
54,
53,
52,
1061,
2290,
742,
310,
1035,
459,
71,
13957,
54,
53,
52,
1061,
2290,
71,
742,
310,
1035,
459,
71,
13957,
54,
53,
52,
71,
10935,
287,
89,
4952,
742,
310,
1035,
459,
71,
13957,
54,
53,
52,
1338,
17963,
28801,
1610,
554,
742,
310,
1035,
459,
71,
13957,
54,
53,
52,
74,
1604,
519,
742,
310,
1035,
459,
71,
13957,
54,
54,
52,
8991,
6719,
742,
310,
1035,
459,
71,
13957,
54,
54,
52,
70,
467,
2828,
397,
742,
310,
1035,
459,
71,
13957,
54,
54,
52,
1207,
19091,
48973,
742,
310,
1035,
459,
71,
13957,
54,
54,
52,
3228,
40478,
742,
310,
1035,
459,
71,
13957,
54,
54,
52,
15820,
11891,
524,
742,
310,
1035,
459,
71,
13957,
54,
55,
52,
70,
467,
10713,
808,
742,
310,
1035,
459,
71,
13957,
54,
55,
52,
11585,
7496,
742,
310,
1035,
459,
71,
13957,
54,
55,
52,
16027,
17963,
742,
310,
1035,
459,
71,
13957,
54,
55,
52,
1609,
1633,
40488,
742,
310,
1035,
459,
71,
13957,
54,
55,
52,
28837,
285,
41196,
742,
310,
1035,
459,
71,
13957,
54,
55,
52,
1744,
543,
106,
742,
310,
1035,
459,
71,
13957,
54,
56,
52,
2253,
498,
40478,
742,
310,
1035,
459,
71,
13957,
54,
56,
52,
17192,
287,
742,
310,
1035,
459,
71,
13957,
54,
56,
52,
2944,
301,
1200,
73,
1070,
742,
310,
1035,
459,
71,
13957,
54,
56,
52,
1609,
1633,
28276,
742,
310,
1035,
459,
71,
13957,
54,
56,
52,
41818,
1436,
30990,
305,
441,
742,
310,
1035,
459,
71,
13957,
54,
57,
52,
43268,
3028,
742,
310,
1035,
459,
71,
13957,
54,
57,
52,
44702,
89,
1572,
742,
310,
1035,
459,
71,
13957,
54,
57,
52,
72,
808,
1436,
77,
406,
1572,
742,
310,
1035,
459,
71,
13957,
54,
57,
52,
43268,
48578,
742,
310,
1035,
459,
71,
13957,
54,
57,
52,
70,
363,
710,
742,
310,
1035,
459,
71,
13957,
54,
57,
52,
14102,
1466,
600,
742,
310,
1035,
459,
71,
13957,
54,
58,
52,
82,
532,
3292,
77,
747,
742,
310,
1035,
459,
71,
13957,
54,
58,
52,
82,
532,
3292,
28276,
742,
310,
1035,
459,
71,
13957,
54,
58,
52,
11076,
30337,
103,
742,
310,
1035,
459,
71,
13957,
54,
58,
52,
85,
495,
351,
742,
310,
1035,
459,
71,
13957,
54,
58,
52,
88,
16801,
1466,
600,
742,
310,
1035,
459,
71,
13957,
54,
59,
52,
73,
371,
112,
1048,
16195,
742,
310,
1035,
459,
71,
13957,
54,
59,
52,
42518,
318,
85,
783,
11228,
742,
310,
1035,
459,
71,
13957,
54,
59,
52,
1580,
390,
2812,
4342,
742,
310,
1035,
459,
71,
13957,
54,
59,
52,
454,
1853,
858,
743,
742,
310,
1035,
459,
71,
13957,
54,
59,
52,
7599,
323,
743,
742,
310,
1035,
459,
71,
13957,
54,
59,
52,
1061,
2422,
293,
742,
310,
1035,
459,
71,
13957,
54,
60,
52,
82,
532,
3292,
26443,
54,
742,
310,
1035,
459,
71,
13957,
54,
60,
52,
82,
532,
3292,
26443,
55,
742,
310,
1035,
459,
71,
13957,
54,
60,
52,
82,
532,
3292,
26443,
56,
742,
310,
1035,
459,
71,
13957,
54,
60,
52,
82,
532,
3292,
26443,
57,
742,
310,
1035,
459,
71,
13957,
54,
61,
52,
12850,
92,
318,
742,
310,
1035,
459,
71,
13957,
54,
61,
52,
13284,
747,
77,
483,
742,
310,
1035,
459,
71,
13957,
54,
61,
52,
3072,
1249,
76,
22449,
742,
310,
1035,
459,
71,
13957,
54,
61,
52,
40497,
3850,
4078,
284,
742,
310,
1035,
459,
71,
13957,
54,
61,
52,
92,
24599,
2199,
25352,
950,
742,
310,
1035,
459,
71,
13957,
54,
62,
52,
71,
44380,
76,
2225,
742,
310,
1035,
459,
71,
13957,
54,
62,
52,
9719,
23316,
72,
808,
742,
310,
1035,
459,
71,
13957,
54,
62,
52,
82,
1391,
14140,
293,
742,
310,
1035,
459,
71,
13957,
54,
62,
52,
87,
8629,
91,
26701,
742,
310,
1035,
459,
71,
13957,
54,
62,
52,
35625,
6260,
742,
310,
1035,
459,
71,
13957,
55,
53,
52,
34686,
17137,
742,
310,
1035,
459,
71,
13957,
55,
53,
52,
3598,
120,
85,
495,
424,
333,
742,
310,
1035,
459,
71,
13957,
55,
53,
52,
12921,
1736,
3094,
742,
310,
1035,
459,
71,
13957,
55,
54,
52,
55,
53,
55,
54,
4614,
742,
310,
1035,
459,
71,
13957,
55,
54,
52,
55,
53,
62,
62,
4614,
742,
310,
1035,
459,
71,
13957,
55,
54,
52,
55,
55,
54,
58,
4614,
742,
310,
1035,
459,
71,
13957,
55,
54,
52,
55,
55,
56,
53,
4614,
742,
310,
1035,
459,
71,
13957,
55,
54,
52,
55,
58,
53,
56,
4614,
742,
310,
1035,
459,
71,
13957,
55,
54,
52,
30446,
1244,
18379,
742,
310,
1035,
459,
71,
13957,
55,
54,
52,
30446,
1244,
18379,
1195,
742,
310,
1035,
459,
71,
13957,
55,
54,
52,
30446,
1244,
18379,
1736,
3094,
742,
310,
1035,
459,
71,
13957,
55,
54,
52,
89,
3017,
28276,
742,
310,
1035,
459,
71,
13957,
1167,
52,
11592,
5588,
29941,
742,
310,
1035,
459,
71,
13957,
1167,
52,
11592,
5588,
29941,
75,
1711,
742,
310,
1035,
459,
71,
13957,
1167,
52,
35227,
2438,
742,
310,
1035,
459,
71,
13957,
1167,
52,
35227,
2438,
73,
743,
742,
310,
1035,
459,
71,
13957,
1167,
52,
42914,
41818,
742,
310,
1035,
459,
71,
13957,
2079,
52,
424,
25274,
742,
310,
1035,
459,
71,
13957,
2079,
52,
12889,
25031,
18033,
742,
310,
1035,
459,
71,
13957,
2079,
52,
28139,
361,
742,
310,
1035,
459,
71,
13957,
2079,
52,
2612,
2054,
5329,
742,
310,
1035,
459,
71,
13957,
2079,
52,
20320,
637,
723,
742,
310,
1035,
459,
71,
13957,
2079,
52,
34342,
893,
286,
21100,
16635,
742,
310,
1035,
459,
71,
13957,
2079,
52,
34342,
893,
286,
21100,
16635,
48824,
742,
310,
1035,
459,
71,
13957,
2079,
52,
41374,
114,
27361,
18476,
593,
749,
742,
310,
1035,
459,
71,
13957,
2079,
52,
24553,
593,
337,
18729,
742,
310,
1035,
459,
71,
13957,
2079,
52,
15661,
846,
593,
742,
310,
1035,
459,
71,
13957,
2079,
52,
83,
7273,
29249,
742,
310,
1035,
459,
71,
13957,
2079,
52,
83,
7273,
436,
12719,
742,
310,
1035,
459,
71,
13957,
2079,
52,
15399,
7819,
2079,
742,
310,
1035,
459,
71,
13957,
2079,
52,
2839,
20266,
28276,
742,
310,
1035,
459,
71,
13957,
34015,
52,
31535,
318,
742,
310,
1035,
459,
71,
13957,
34015,
52,
71,
10935,
287,
28276,
742,
310,
1035,
459,
71,
13957,
34015,
52,
77,
5505,
742,
310,
1035,
459,
71,
13957,
34015,
52,
94,
2097,
742,
310,
1035,
459,
71,
13957,
34015,
52,
71,
569,
6003,
742,
310,
1035,
459,
71,
13957,
34015,
52,
29329,
1195,
742,
310,
1035,
459,
71,
13957,
34015,
52,
3485,
3549,
8801,
742,
310,
1035,
459,
71,
13957,
11844,
52,
7564,
6836,
742,
310,
1035,
459,
71,
13957,
11844,
52,
80,
1050,
41521,
2311,
324,
742,
310,
1035,
459,
71,
13957,
9779,
52,
5558,
288,
1257,
414,
100,
1512,
742,
310,
1035,
459,
71,
13957,
9779,
52,
5558,
288,
1257,
414,
100,
29249,
742,
310,
1035,
459,
71,
13957,
9779,
52,
5442,
73,
100,
1512,
742,
310,
1035,
459,
71,
13957,
9779,
52,
5442,
73,
100,
29249,
742,
310,
1035,
459,
71,
13957,
9779,
52,
34686,
4808,
742,
310,
1035,
459,
71,
13957,
2299,
52,
12826,
71,
13957,
742,
310,
1035,
459,
71,
13957,
2299,
52,
3188,
742,
303,
41401,
465,
453,
3531,
293,
18494,
1263,
1221,
489,
303,
964,
924,
1175,
648,
1197,
4050,
100,
3319,
299,
320,
54,
61,
49,
244,
59,
58,
49,
244,
55,
49,
244,
55,
56,
49,
244,
56,
49,
244,
57,
49,
244,
58,
49,
244,
59,
49,
244,
54,
59,
49,
244,
54,
60,
49,
244,
54,
62,
49,
244,
55,
58,
49,
244,
55,
59,
49,
244,
55,
60,
49,
244,
56,
54,
49,
244,
56,
57,
49,
244,
56,
58,
49,
244,
56,
60,
49,
244,
56,
61,
49,
244,
57,
53,
49,
244,
57,
56,
49,
244,
57,
57,
49,
244,
57,
58,
49,
244,
57,
59,
49,
244,
58,
53,
49,
244,
58,
59,
49,
244,
58,
62,
49,
244,
59,
53,
49,
244,
59,
54,
49,
244,
59,
55,
49,
244,
59,
56,
49,
244,
59,
57,
49,
244,
58,
60,
49,
244,
57,
61,
49,
244,
55,
62,
49,
244,
60,
49,
244,
55,
57,
49,
244,
56,
56,
49,
244,
57,
54,
49,
244,
56,
62,
1274,
303,
964,
924,
1175,
648,
1197,
4050,
100,
2333,
299,
320,
57,
49,
244,
59,
49,
244,
57,
49,
244,
57,
49,
244,
57,
49,
244,
57,
49,
244,
57,
49,
244,
57,
49,
244,
57,
49,
244,
57,
49,
244,
57,
49,
244,
57,
49,
244,
57,
49,
244,
57,
49,
244,
57,
49,
244,
57,
49,
244,
57,
49,
244,
57,
49,
244,
57,
49,
244,
57,
49,
244,
57,
49,
244,
58,
49,
244,
58,
49,
244,
57,
49,
244,
57,
49,
244,
58,
49,
244,
59,
49,
244,
59,
49,
244,
59,
49,
244,
59,
49,
244,
59,
49,
244,
59,
49,
244,
58,
49,
244,
57,
49,
244,
58,
49,
244,
57,
49,
244,
57,
49,
244,
57,
49,
244,
57,
49,
244,
57,
1274,
303,
964,
924,
1175,
648,
1197,
4050,
100,
8755,
299,
320,
53,
49,
244,
54,
53,
59,
49,
244,
54,
53,
49,
244,
54,
49,
244,
54,
55,
49,
244,
54,
56,
49,
244,
54,
61,
49,
244,
55,
57,
49,
244,
61,
49,
244,
58,
49,
244,
57,
49,
244,
54,
62,
49,
244,
54,
57,
49,
244,
54,
58,
49,
244,
55,
49,
244,
54,
60,
49,
244,
54,
54,
49,
244,
56,
49,
244,
55,
53,
49,
244,
54,
59,
49,
244,
62,
49,
244,
58,
53,
49,
244,
58,
54,
49,
244,
59,
49,
244,
60,
49,
244,
58,
56,
49,
244,
54,
53,
53,
49,
244,
54,
53,
54,
49,
244,
54,
53,
55,
49,
244,
54,
53,
56,
49,
244,
54,
53,
57,
49,
244,
54,
53,
58,
49,
244,
58,
57,
49,
244,
55,
55,
49,
244,
58,
55,
49,
244,
55,
54,
49,
244,
55,
58,
49,
244,
55,
59,
49,
244,
55,
56,
49,
244,
55,
60,
1274,
465,
453,
4401,
5327,
2758,
3137,
1221,
489,
303,
964,
924,
1175,
648,
1197,
41119,
100,
3319,
299,
320,
55,
49,
244,
56,
49,
244,
57,
49,
244,
58,
49,
244,
56,
54,
49,
244,
58,
59,
49,
244,
58,
62,
49,
244,
56,
55,
49,
244,
57,
55,
49,
244,
59,
49,
244,
54,
60,
49,
244,
55,
62,
49,
244,
56,
53,
49,
244,
57,
54,
49,
244,
58,
53,
49,
244,
59,
53,
49,
244,
59,
54,
49,
244,
59,
55,
49,
244,
59,
56,
49,
244,
59,
57,
49,
244,
59,
58,
49,
244,
54,
59,
49,
244,
60,
49,
244,
62,
49,
244,
54,
56,
49,
244,
61,
1274,
303,
964,
924,
1175,
648,
1197,
41119,
100,
2333,
299,
320,
57,
49,
244,
57,
49,
244,
57,
49,
244,
57,
49,
244,
58,
49,
244,
58,
49,
244,
59,
49,
244,
58,
49,
244,
58,
49,
244,
57,
49,
244,
57,
49,
244,
57,
49,
244,
58,
49,
244,
57,
49,
244,
57,
49,
244,
59,
49,
244,
59,
49,
244,
59,
49,
244,
59,
49,
244,
59,
49,
244,
59,
49,
244,
57,
49,
244,
57,
49,
244,
57,
49,
244,
57,
49,
244,
57,
1274,
303,
964,
924,
1175,
648,
1197,
41119,
100,
8755,
299,
320,
54,
49,
244,
53,
49,
244,
56,
49,
244,
55,
49,
244,
58,
56,
49,
244,
58,
57,
49,
244,
54,
53,
53,
49,
244,
58,
55,
49,
244,
58,
54,
49,
244,
54,
62,
49,
244,
58,
49,
244,
62,
49,
244,
58,
53,
49,
244,
60,
49,
244,
55,
55,
49,
244,
54,
53,
54,
49,
244,
54,
53,
55,
49,
244,
54,
53,
56,
49,
244,
54,
53,
57,
49,
244,
54,
53,
58,
49,
244,
54,
53,
59,
49,
244,
61,
49,
244,
54,
60,
49,
244,
55,
59,
49,
244,
55,
53,
49,
244,
57,
1274,
465,
581,
924,
648,
1197,
640,
3414,
971,
45,
4412,
3137,
971,
489,
46,
320,
310,
461,
327,
3005,
971,
489,
1037,
41119,
100,
3319,
518,
4050,
100,
3319,
312,
303,
339,
465,
581,
924,
648,
1197,
640,
3414,
638,
45,
4412,
3137,
971,
489,
46,
320,
310,
461,
327,
3005,
971,
489,
1037,
41119,
100,
2333,
518,
4050,
100,
2333,
312,
303,
339,
465,
581,
924,
648,
1197,
640,
3414,
1728,
45,
4412,
3137,
971,
489,
46,
320,
310,
461,
327,
3005,
971,
489,
1037,
41119,
100,
8755,
518,
4050,
100,
8755,
312,
303,
339,
465,
964,
924,
1175,
648,
1197,
24692,
26846,
1420,
299,
320,
53,
49,
244,
54,
58,
49,
244,
55,
53,
49,
244,
55,
58,
49,
244,
56,
58,
49,
244,
58,
53,
49,
244,
59,
58,
49,
244,
61,
53,
49,
244,
62,
58,
49,
244,
54,
54,
53,
49,
244,
54,
55,
58,
49,
244,
54,
58,
53,
49,
244,
54,
60,
58,
49,
244,
55,
53,
53,
49,
244,
55,
55,
58,
49,
244,
55,
58,
53,
49,
244,
55,
60,
58,
49,
244,
56,
53,
53,
49,
244,
56,
55,
58,
49,
244,
56,
58,
53,
49,
1819,
56,
60,
58,
49,
244,
57,
53,
58,
49,
244,
57,
56,
58,
49,
244,
57,
59,
58,
49,
244,
57,
62,
58,
49,
244,
58,
55,
58,
49,
244,
58,
61,
53,
49,
244,
59,
58,
53,
49,
244,
60,
55,
53,
49,
244,
60,
62,
53,
49,
244,
62,
53,
53,
49,
244,
62,
62,
53,
49,
244,
54,
54,
53,
53,
49,
244,
54,
55,
53,
53,
49,
244,
54,
56,
53,
53,
49,
244,
54,
57,
53,
53,
49,
244,
54,
58,
53,
53,
49,
244,
54,
59,
53,
53,
49,
244,
54,
60,
53,
53,
49,
244,
54,
61,
53,
53,
49,
1819,
54,
62,
53,
53,
49,
244,
55,
53,
53,
53,
49,
244,
55,
54,
53,
53,
49,
244,
55,
55,
53,
53,
49,
244,
55,
56,
53,
53,
49,
244,
55,
57,
53,
53,
49,
244,
55,
58,
55,
53,
49,
244,
55,
59,
57,
53,
49,
244,
55,
60,
59,
53,
49,
244,
55,
61,
61,
53,
49,
244,
56,
53,
53,
53,
49,
244,
56,
55,
53,
53,
49,
244,
56,
57,
53,
53,
49,
244,
56,
59,
53,
53,
49,
244,
56,
61,
53,
53,
49,
244,
57,
53,
53,
53,
49,
244,
57,
56,
53,
53,
49,
244,
57,
59,
53,
53,
49,
244,
57,
62,
53,
53,
49,
244,
58,
55,
53,
53,
49,
1819,
58,
58,
53,
53,
49,
244,
58,
62,
53,
53,
49,
244,
59,
56,
53,
53,
49,
244,
59,
60,
53,
53,
49,
244,
60,
54,
53,
53,
49,
244,
60,
58,
53,
53,
49,
244,
61,
53,
53,
53,
49,
244,
61,
58,
53,
53,
49,
244,
62,
53,
53,
53,
49,
244,
62,
58,
53,
53,
49,
244,
54,
53,
53,
53,
53,
49,
244,
54,
54,
53,
53,
53,
49,
244,
54,
55,
53,
53,
53,
49,
244,
54,
56,
53,
53,
53,
49,
244,
54,
57,
53,
53,
53,
49,
244,
54,
58,
53,
53,
53,
49,
244,
54,
60,
53,
53,
53,
49,
244,
54,
62,
53,
53,
53,
49,
244,
55,
54,
53,
53,
53,
49,
244,
55,
56,
53,
53,
53,
49,
1819,
55,
58,
53,
53,
53,
49,
244,
55,
60,
53,
53,
53,
49,
244,
55,
62,
53,
53,
53,
49,
244,
56,
54,
53,
53,
53,
49,
244,
56,
56,
53,
53,
53,
49,
244,
56,
58,
53,
53,
53,
49,
244,
56,
60,
53,
53,
53,
49,
244,
56,
62,
53,
53,
53,
49,
244,
57,
54,
53,
53,
53,
49,
244,
57,
56,
53,
53,
53,
49,
244,
57,
58,
53,
53,
53,
49,
244,
57,
60,
53,
53,
53,
49,
244,
57,
62,
53,
53,
53,
49,
244,
58,
54,
53,
53,
53,
49,
244,
58,
56,
53,
53,
53,
49,
244,
58,
58,
53,
53,
53,
49,
244,
58,
60,
53,
53,
53,
49,
244,
58,
62,
53,
53,
53,
49,
244,
59,
54,
53,
53,
53,
49,
244,
59,
56,
53,
53,
53,
49,
1819,
59,
58,
53,
53,
53,
49,
244,
59,
60,
53,
53,
53,
49,
244,
59,
62,
53,
53,
53,
49,
244,
60,
54,
53,
53,
53,
49,
244,
60,
56,
53,
53,
53,
49,
244,
60,
58,
53,
53,
53,
49,
244,
60,
60,
53,
53,
53,
49,
244,
60,
62,
53,
53,
53,
49,
244,
61,
54,
53,
53,
53,
49,
244,
61,
56,
53,
53,
53,
49,
244,
61,
58,
53,
53,
53,
49,
244,
61,
62,
53,
53,
53,
49,
244,
62,
54,
53,
53,
53,
49,
244,
62,
56,
53,
53,
53,
49,
244,
62,
58,
53,
53,
53,
49,
244,
62,
60,
53,
53,
53,
49,
244,
62,
62,
53,
53,
53,
49,
244,
54,
53,
54,
53,
53,
53,
49,
244,
54,
53,
56,
53,
53,
53,
49,
1819,
54,
53,
58,
53,
53,
53,
49,
244,
54,
53,
60,
53,
53,
53,
49,
244,
54,
53,
62,
53,
53,
53,
49,
244,
54,
54,
54,
53,
53,
53,
49,
244,
54,
54,
56,
53,
53,
53,
49,
244,
54,
54,
58,
53,
53,
53,
49,
244,
54,
54,
61,
53,
53,
53,
49,
244,
54,
55,
53,
53,
53,
53,
49,
244,
54,
55,
58,
53,
53,
53,
49,
244,
54,
56,
53,
53,
53,
53,
49,
244,
54,
56,
58,
53,
53,
53,
49,
244,
54,
57,
53,
53,
53,
53,
49,
244,
54,
57,
58,
53,
53,
53,
49,
244,
54,
58,
53,
53,
53,
53,
49,
244,
54,
58,
58,
53,
53,
53,
49,
244,
54,
59,
53,
53,
53,
53,
49,
244,
54,
59,
58,
53,
53,
53,
49,
244,
54,
60,
53,
53,
53,
53,
49,
244,
54,
60,
58,
53,
53,
53,
49,
244,
54,
61,
53,
53,
53,
53,
49,
1819,
54,
61,
58,
53,
53,
53,
49,
244,
54,
62,
53,
53,
53,
53,
49,
244,
54,
62,
58,
53,
53,
53,
49,
244,
55,
53,
53,
53,
53,
53,
49,
244,
55,
53,
58,
53,
53,
53,
49,
244,
55,
54,
53,
53,
53,
53,
49,
244,
55,
54,
58,
53,
53,
53,
49,
244,
55,
55,
53,
53,
53,
53,
49,
244,
55,
55,
58,
53,
53,
53,
49,
244,
55,
56,
53,
53,
53,
53,
49,
244,
55,
56,
58,
53,
53,
53,
49,
244,
55,
57,
53,
53,
53,
53,
49,
244,
55,
58,
53,
53,
53,
53,
49,
244,
55,
59,
53,
53,
53,
53,
49,
244,
55,
60,
53,
53,
53,
53,
49,
244,
55,
61,
53,
53,
53,
53,
49,
244,
55,
62,
53,
53,
53,
53,
49,
244,
56,
53,
53,
53,
53,
53,
49,
244,
56,
54,
53,
53,
53,
53,
49,
244,
56,
55,
53,
53,
53,
53,
49,
1819,
56,
56,
53,
53,
53,
53,
49,
244,
56,
57,
53,
53,
53,
53,
49,
244,
56,
58,
53,
53,
53,
53,
49,
244,
56,
59,
53,
53,
53,
53,
49,
244,
56,
60,
53,
53,
53,
53,
49,
244,
56,
61,
53,
53,
53,
53,
49,
244,
56,
62,
53,
53,
53,
53,
49,
244,
57,
53,
53,
53,
53,
53,
49,
244,
57,
54,
53,
53,
53,
53,
49,
244,
57,
55,
53,
53,
53,
53,
49,
244,
57,
56,
53,
53,
53,
53,
49,
244,
57,
57,
53,
53,
53,
53,
49,
244,
57,
58,
53,
53,
53,
53,
49,
244,
57,
59,
53,
53,
53,
53,
49,
244,
57,
60,
53,
53,
53,
53,
49,
244,
57,
61,
53,
53,
53,
53,
49,
244,
57,
62,
53,
53,
53,
53,
49,
244,
58,
53,
53,
53,
53,
53,
49,
244,
58,
54,
53,
53,
53,
53,
49,
244,
58,
55,
53,
53,
53,
53,
49,
1819,
58,
56,
53,
53,
53,
53,
49,
244,
58,
58,
53,
53,
53,
53,
49,
244,
58,
60,
53,
53,
53,
53,
49,
244,
58,
62,
53,
53,
53,
53,
49,
244,
59,
54,
53,
53,
53,
53,
49,
244,
59,
56,
53,
53,
53,
53,
49,
244,
59,
58,
53,
53,
53,
53,
49,
244,
59,
60,
53,
53,
53,
53,
49,
244,
59,
62,
53,
53,
53,
53,
49,
244,
60,
54,
53,
53,
53,
53,
49,
244,
60,
56,
53,
53,
53,
53,
49,
244,
60,
58,
53,
53,
53,
53,
49,
244,
60,
60,
53,
53,
53,
53,
49,
244,
60,
62,
53,
53,
53,
53,
49,
244,
61,
54,
53,
53,
53,
53,
49,
244,
61,
56,
53,
53,
53,
53,
49,
244,
61,
58,
53,
53,
53,
53,
49,
244,
61,
60,
53,
53,
53,
53,
49,
244,
61,
62,
53,
53,
53,
53,
49,
244,
62,
54,
53,
53,
53,
53,
1274,
465,
581,
924,
910,
640,
3798,
577,
45,
429,
4012,
333,
46,
320,
310,
910,
655,
299,
4012,
4128,
51,
390,
45,
3267,
333,
312,
603,
434,
327,
444,
630,
762,
46,
320,
343,
9216,
4012,
299,
9216,
51,
45747,
45,
3267,
333,
312,
1083,
434,
327,
3267,
882,
762,
46,
320,
419,
655,
299,
4012,
51,
444,
941,
10498,
492,
419,
655,
299,
655,
51,
23355,
9669,
47,
53,
50,
62,
9177,
10780,
419,
655,
299,
655,
51,
8724,
45,
53,
49,
244,
54,
566,
18068,
365,
494,
655,
51,
8724,
45,
54,
312,
343,
339,
832,
320,
419,
655,
299,
5127,
343,
339,
1083,
4012,
4128,
51,
543,
45,
3267,
333,
49,
655,
312,
310,
339,
603,
461,
655,
64,
303,
339,
465,
581,
924,
648,
640,
3798,
15486,
2671,
3216,
45,
429,
4012,
6606,
46,
320,
310,
461,
4012,
15486,
10405,
96,
3267,
6606,
988,
303,
339,
465,
581,
924,
648,
640,
1810,
3798,
2184,
15486,
45,
429,
4012,
6606,
46,
320,
310,
461,
4012,
15486,
2184,
1405,
96,
3267,
6606,
988,
303,
339,
465,
581,
924,
1922,
458,
77,
483,
1436,
75,
340,
1225,
45,
429,
2010,
333,
46,
320,
310,
3593,
327,
1130,
333,
46,
320,
343,
1152,
3531,
625,
51,
77,
2335,
100,
2124,
100,
6110,
4727,
6542,
63,
281,
453,
18535,
363,
290,
343,
1152,
3531,
625,
51,
77,
2335,
100,
2124,
100,
30891,
26969,
88,
63,
281,
453,
17305,
2560,
343,
1152,
3531,
625,
51,
77,
2335,
100,
2124,
100,
3199,
9065,
737,
63,
281,
453,
342,
460,
1607,
343,
1152,
3531,
625,
51,
77,
2335,
100,
2124,
100,
1797,
4007,
91,
959,
63,
281,
453,
379,
21913,
343,
1152,
3531,
625,
51,
1841,
18432,
2062,
100,
30845,
1410,
100,
43734,
63,
281,
453,
317,
495,
351,
343,
1152,
3531,
625,
51,
32714,
4022,
88,
100,
1424,
2229,
7789,
63,
281,
453,
7458,
2331,
371,
343,
1152,
3531,
625,
51,
32714,
4022,
88,
100,
1424,
2229,
7789,
100,
28551,
63,
281,
453,
1623,
7458,
2331,
371,
343,
1152,
3531,
625,
51,
32714,
4022,
88,
100,
1424,
2229,
7789,
100,
55,
63,
281,
453,
7458,
2331,
371,
244,
55,
1462,
17675,
343,
1152,
3531,
625,
51,
32714,
4022,
88,
100,
1424,
2229,
7789,
100,
56,
63,
281,
453,
7458,
2331,
371,
244,
56,
5344,
17675,
327,
2425,
11831,
46,
343,
1152,
3531,
625,
51,
28939,
3280,
100,
2124,
100,
14103,
100,
25020,
63,
281,
453,
2119,
297,
419,
461,
878,
64,
1083,
1263,
63,
419,
461,
920,
64,
310,
339,
303,
339,
465,
581,
924,
1922,
458,
10483,
3892,
77,
483,
1436,
75,
340,
1225,
45,
429,
2010,
333,
46,
320,
310,
3593,
327,
1130,
333,
46,
320,
343,
1152,
3531,
625,
51,
77,
2335,
100,
2124,
100,
6110,
4727,
6542,
63,
343,
1152,
3531,
625,
51,
77,
2335,
100,
2124,
100,
30891,
26969,
88,
63,
281,
453,
17305,
2560,
343,
1152,
3531,
625,
51,
77,
2335,
100,
2124,
100,
3199,
9065,
737,
63,
281,
453,
342,
460,
1607,
343,
1152,
3531,
625,
51,
77,
2335,
100,
2124,
100,
1797,
4007,
91,
959,
63,
281,
453,
379,
21913,
343,
1152,
3531,
625,
51,
1841,
18432,
2062,
100,
30845,
1410,
100,
43734,
63,
281,
453,
317,
495,
351,
419,
461,
878,
64,
1083,
1263,
63,
419,
461,
920,
64,
310,
339,
303,
339,
465,
581,
924,
3447,
640,
77,
483,
1436,
75,
340,
10096,
45,
3798,
4012,
49,
648,
2010,
333,
46,
320,
310,
434,
1445,
316,
77,
483,
1436,
75,
340,
1225,
45,
1130,
333,
509,
320,
343,
461,
327,
2278,
46,
327,
55,
59,
494,
244,
57,
338,
327,
1130,
333,
536,
244,
54,
53,
53,
53,
53,
53,
53,
53,
53,
894,
280,
453,
3137,
49,
244,
57,
53,
53,
317,
2399,
1766,
3322,
1313,
22788,
323,
310,
339,
603,
434,
327,
3267,
51,
316,
70,
45,
3798,
51,
6110,
4727,
776,
509,
320,
343,
461,
244,
54,
53,
64,
310,
339,
832,
434,
327,
3267,
51,
316,
70,
45,
3798,
51,
30891,
26969,
509,
320,
343,
461,
244,
54,
54,
64,
310,
339,
832,
434,
327,
3267,
51,
316,
70,
45,
3798,
51,
3199,
9065,
946,
509,
320,
343,
461,
244,
54,
55,
64,
310,
339,
832,
434,
327,
3267,
51,
316,
70,
45,
3798,
51,
1797,
4007,
75,
509,
320,
343,
461,
244,
54,
56,
64,
310,
339,
832,
434,
327,
3267,
51,
316,
70,
45,
3798,
51,
1182,
19568,
509,
320,
343,
461,
244,
54,
57,
64,
310,
339,
832,
434,
327,
3267,
51,
316,
70,
45,
3798,
51,
5472,
3635,
6110,
4727,
776,
54,
509,
320,
343,
461,
244,
54,
58,
64,
310,
339,
832,
434,
327,
3267,
51,
316,
70,
45,
3798,
51,
5165,
70,
2740,
6620,
95,
7866,
54,
509,
320,
343,
461,
244,
54,
59,
64,
310,
339,
832,
434,
327,
3267,
51,
316,
70,
45,
3798,
51,
92,
3339,
9295,
546,
54,
509,
320,
343,
461,
244,
54,
60,
64,
310,
339,
832,
434,
327,
3267,
51,
316,
70,
45,
3798,
51,
83,
4022,
30473,
24830,
54,
509,
320,
343,
461,
244,
54,
61,
64,
310,
339,
832,
434,
327,
3267,
51,
316,
70,
45,
3798,
51,
1797,
26708,
26897,
546,
54,
509,
320,
343,
461,
244,
54,
62,
64,
310,
339,
832,
434,
327,
3267,
51,
316,
70,
45,
3798,
51,
802,
946,
54,
509,
320,
343,
461,
244,
55,
53,
64,
310,
339,
832,
434,
327,
3267,
51,
316,
70,
45,
3798,
51,
17072,
946,
54,
509,
320,
343,
461,
244,
55,
54,
64,
310,
339,
832,
434,
327,
3267,
51,
316,
70,
45,
3798,
51,
12188,
13726,
509,
320,
343,
461,
244,
55,
55,
64,
310,
339,
832,
434,
327,
3267,
51,
316,
70,
45,
3798,
51,
2593,
71,
10882,
825,
509,
320,
343,
461,
244,
55,
56,
64,
310,
339,
832,
434,
327,
3267,
51,
316,
70,
45,
3798,
51,
24137,
3298,
509,
320,
343,
461,
244,
55,
57,
64,
310,
339,
832,
320,
343,
461,
244,
55,
58,
64,
310,
339,
303,
339,
465,
581,
924,
648,
640,
43857,
3798,
12211,
1103,
3223,
625,
45,
429,
3273,
625,
46,
320,
310,
648,
5586,
299,
327,
1442,
625,
536,
244,
54,
53,
53,
46,
925,
244,
54,
53,
53,
64,
603,
434,
327,
6606,
350,
244,
55,
59,
46,
320,
343,
461,
327,
1442,
625,
925,
244,
54,
53,
53,
46,
494,
244,
54,
64,
310,
339,
832,
320,
343,
461,
1849,
1442,
625,
449,
244,
55,
59,
53,
53,
46,
925,
244,
57,
53,
53,
46,
494,
244,
54,
64,
310,
339,
303,
339,
465,
581,
924,
1922,
902,
85,
22233,
10096,
4404,
3223,
625,
45,
2278,
5586,
49,
648,
3273,
625,
46,
320,
310,
3273,
625,
14414,
244,
54,
53,
53,
64,
310,
3273,
625,
925,
66,
244,
54,
53,
53,
64,
603,
434,
327,
6606,
350,
244,
55,
59,
46,
320,
343,
461,
5586,
630,
3273,
625,
64,
310,
339,
832,
320,
343,
461,
3273,
625,
2394,
5586,
979,
3273,
625,
350,
5586,
494,
244,
57,
64,
310,
339,
303,
339,
465,
581,
924,
648,
640,
77,
483,
1436,
75,
340,
1225,
333,
45,
3798,
4012,
46,
320,
310,
648,
4012,
333,
299,
4012,
51,
7068,
492,
603,
434,
327,
316,
16931,
2331,
371,
45,
3267,
333,
509,
320,
343,
461,
3531,
625,
51,
32714,
4022,
88,
100,
1424,
2229,
7789,
64,
310,
339,
832,
434,
327,
316,
3437,
297,
45,
3267,
333,
509,
320,
343,
461,
3531,
625,
51,
28939,
3280,
100,
2124,
100,
14103,
100,
25020,
64,
310,
339,
832,
320,
343,
434,
327,
3267,
51,
316,
70,
45,
3798,
51,
6110,
4727,
776,
509,
320,
419,
461,
3531,
625,
51,
77,
2335,
100,
2124,
100,
6110,
4727,
6542,
64,
343,
339,
832,
434,
327,
3267,
51,
316,
70,
45,
3798,
51,
30891,
26969,
509,
320,
419,
461,
3531,
625,
51,
77,
2335,
100,
2124,
100,
30891,
26969,
88,
64,
343,
339,
832,
434,
327,
3267,
51,
316,
70,
45,
3798,
51,
3199,
9065,
946,
509,
320,
419,
461,
3531,
625,
51,
77,
2335,
100,
2124,
100,
3199,
9065,
737,
64,
343,
339,
832,
434,
327,
3267,
51,
316,
70,
45,
3798,
51,
1797,
4007,
75,
509,
320,
419,
461,
3531,
625,
51,
77,
2335,
100,
2124,
100,
1797,
4007,
91,
959,
64,
343,
339,
832,
434,
327,
3267,
51,
316,
70,
45,
3798,
51,
1182,
19568,
509,
320,
419,
461,
3531,
625,
51,
1841,
18432,
2062,
100,
30845,
1410,
100,
43734,
64,
343,
339,
832,
320,
419,
461,
3531,
625,
51,
32714,
4022,
88,
100,
1424,
2229,
7789,
100,
55,
64,
280,
453,
4258,
1403,
27791,
502,
904,
763,
37051,
642,
341,
22404,
2331,
371,
49,
3322,
2010,
475,
357,
343,
339,
310,
339,
303,
339,
465,
581,
924,
648,
640,
3798,
10096,
45,
3798,
4012,
46,
320,
310,
648,
4012,
333,
299,
4012,
51,
7068,
492,
603,
434,
327,
3267,
333,
925,
244,
54,
53,
53,
53,
630,
244,
53,
46,
320,
343,
461,
244,
53,
64,
310,
339,
832,
434,
327,
3267,
333,
925,
244,
54,
53,
53,
630,
244,
53,
46,
320,
343,
461,
244,
54,
64,
310,
339,
832,
320,
343,
461,
244,
55,
494,
327,
3267,
333,
925,
244,
54,
53,
312,
310,
339,
303,
339,
465,
581,
924,
648,
640,
3798,
2725,
2671,
45,
3798,
4012,
46,
320,
310,
648,
4012,
10096,
299,
640,
3798,
10096,
45,
3267,
312,
603,
3593,
327,
3267,
10096,
46,
320,
343,
1152,
244,
53,
63,
419,
461,
244,
54,
53,
64,
280,
453,
4258,
1403,
1083,
1152,
244,
54,
63,
419,
461,
244,
56,
53,
64,
280,
453,
244,
54,
289,
4012,
1083,
1152,
244,
55,
63,
419,
461,
244,
60,
53,
64,
280,
453,
244,
55,
1462,
4012,
1083,
1152,
244,
56,
63,
419,
461,
244,
54,
55,
53,
64,
280,
453,
244,
56,
5344,
4012,
1083,
1263,
63,
419,
461,
327,
3267,
51,
7068,
365,
536,
244,
54,
53,
53,
53,
630,
244,
54,
46,
1037,
244,
54,
55,
53,
518,
244,
55,
53,
53,
64,
280,
453,
244,
57,
368,
4012,
63,
7458,
2331,
371,
458,
244,
54,
55,
53,
49,
6125,
458,
244,
55,
53,
53,
310,
339,
303,
339,
465,
581,
924,
648,
640,
18136,
6597,
45,
3242,
648,
4012,
46,
320,
310,
434,
327,
3267,
2394,
244,
55,
55,
54,
53,
979,
4012,
2527,
244,
55,
55,
54,
61,
46,
320,
343,
461,
4012,
449,
244,
55,
55,
53,
62,
64,
310,
339,
310,
461,
244,
53,
64,
303,
339,
465,
581,
924,
1922,
458,
3437,
297,
30848,
45,
3242,
648,
20881,
46,
320,
310,
461,
5534,
297,
51,
15744,
100,
5696,
1410,
630,
20881,
1293,
5534,
297,
51,
9425,
100,
5696,
1410,
630,
20881,
1293,
5534,
297,
51,
8678,
3199,
100,
1731,
82,
1321,
654,
630,
20881,
1293,
5534,
297,
51,
8678,
3199,
100,
75,
737,
87,
3914,
630,
20881,
1293,
5534,
297,
51,
8678,
3199,
100,
3577,
7420,
630,
20881,
419,
1293,
5534,
297,
51,
48411,
100,
15744,
100,
15774,
630,
20881,
1293,
5534,
297,
51,
48411,
100,
15744,
100,
1328,
2046,
833,
630,
20881,
1293,
5534,
297,
51,
48411,
100,
9425,
100,
15774,
630,
20881,
1293,
5534,
297,
51,
48411,
100,
9425,
100,
1328,
2046,
833,
630,
20881,
419,
1293,
5534,
297,
51,
8678,
3199,
100,
5632,
7885,
630,
20881,
1293,
5534,
297,
51,
15774,
100,
5696,
1410,
630,
20881,
1293,
5534,
297,
51,
1328,
2046,
833,
100,
5696,
1410,
630,
20881,
64,
303,
339,
465,
581,
924,
1922,
458,
13831,
30848,
45,
3242,
648,
20881,
46,
320,
310,
461,
5534,
297,
51,
48411,
100,
15744,
100,
15774,
630,
20881,
1293,
5534,
297,
51,
48411,
100,
15744,
100,
1328,
2046,
833,
630,
20881,
1293,
5534,
297,
51,
48411,
100,
9425,
100,
15774,
630,
20881,
1293,
5534,
297,
51,
48411,
100,
9425,
100,
1328,
2046,
833,
630,
20881,
64,
303,
339,
465,
581,
924,
1922,
458,
16931,
2331,
371,
45,
3242,
648,
4012,
46,
320,
310,
461,
4012,
536,
244,
54,
53,
53,
53,
630,
244,
54,
64,
303,
339,
465,
581,
924,
1922,
458,
3437,
297,
45,
3242,
648,
4012,
46,
320,
310,
461,
4012,
630,
244,
55,
53,
53,
53,
1293,
327,
3267,
2394,
244,
55,
54,
53,
53,
979,
4012,
2527,
244,
55,
54,
54,
55,
312,
303,
339,
465,
964,
924,
1922,
43337,
10096,
3798,
3371,
45,
429,
20881,
48153,
49,
648,
4012,
625,
49,
648,
5586,
638,
46,
320,
310,
648,
5586,
299,
327,
429,
46,
327,
5728,
51,
7555,
45,
54,
53,
49,
5586,
638,
894,
603,
648,
20881,
10096,
299,
327,
10900,
48153,
536,
5586,
46,
338,
5586,
64,
310,
648,
4012,
10096,
299,
327,
44486,
536,
5586,
46,
338,
5586,
64,
603,
461,
20881,
10096,
630,
4012,
10096,
64,
303,
339,
465,
964,
924,
1922,
1421,
6792,
2991,
105,
10096,
3798,
3371,
45,
429,
20881,
48153,
49,
648,
4012,
625,
49,
648,
5586,
638,
46,
320,
310,
648,
5586,
299,
327,
429,
46,
327,
5728,
51,
7555,
45,
54,
53,
49,
5586,
638,
894,
603,
648,
20881,
10096,
299,
20881,
48153,
536,
5586,
64,
310,
648,
4012,
10096,
299,
4012,
625,
536,
5586,
64,
603,
461,
20881,
10096,
882,
4012,
10096,
979,
20881,
10096,
925,
244,
54,
53,
882,
244,
53,
64,
303,
339,
465,
581,
924,
1922,
43337,
3798,
3371,
45,
429,
20881,
625,
49,
648,
4012,
625,
46,
320,
310,
648,
20881,
3798,
299,
20881,
625,
536,
244,
54,
53,
53,
53,
53,
64,
603,
434,
1445,
28831,
10096,
3798,
3371,
45,
10900,
3798,
49,
4012,
625,
49,
244,
53,
509,
320,
343,
456,
327,
429,
613,
299,
244,
54,
64,
613,
2527,
244,
56,
64,
613,
2002,
320,
419,
434,
327,
2057,
6792,
2991,
105,
10096,
3798,
3371,
45,
10900,
3798,
49,
4012,
625,
49,
613,
509,
320,
547,
461,
920,
64,
419,
339,
419,
434,
327,
28831,
10096,
3798,
3371,
45,
10900,
3798,
49,
4012,
625,
49,
613,
509,
320,
547,
461,
327,
10900,
3798,
2527,
4012,
625,
312,
419,
339,
343,
339,
310,
339,
832,
320,
343,
461,
327,
10900,
3798,
2527,
4012,
625,
312,
310,
339,
603,
461,
920,
64,
303,
339,
465,
581,
924,
1922,
458,
45869,
18136,
45,
3242,
648,
20881,
46,
320,
310,
461,
327,
10900,
2394,
244,
55,
53,
53,
53,
53,
53,
54,
57,
979,
20881,
2527,
244,
55,
53,
53,
53,
53,
53,
54,
61,
46,
1293,
20881,
630,
244,
54,
53,
53,
53,
53,
53,
54,
56,
1293,
20881,
630,
244,
55,
53,
53,
53,
54,
53,
54,
56,
1293,
327,
10900,
925,
244,
54,
53,
53,
53,
53,
53,
53,
53,
2394,
244,
54,
53,
53,
62,
979,
20881,
925,
244,
54,
53,
53,
53,
53,
53,
53,
53,
2527,
244,
54,
53,
54,
54,
46,
1293,
20881,
925,
244,
54,
53,
53,
53,
53,
53,
53,
53,
630,
244,
54,
53,
55,
53,
64,
303,
339,
465,
581,
924,
1922,
342,
12357,
3739,
30848,
45,
3242,
648,
20881,
46,
320,
310,
461,
458,
3437,
297,
30848,
45,
10900,
46,
1293,
458,
45869,
18136,
45,
10900,
312,
303,
339,
465,
581,
924,
1922,
458,
76,
2758,
112,
8589,
45,
3242,
648,
20881,
46,
320,
310,
461,
20881,
2394,
244,
62,
53,
53,
54,
53,
53,
53,
979,
20881,
2527,
244,
62,
54,
53,
54,
53,
53,
61,
1293,
20881,
2394,
244,
61,
53,
53,
54,
53,
53,
53,
979,
20881,
2527,
244,
61,
53,
53,
54,
53,
53,
54,
64,
303,
339,
465,
581,
924,
1922,
458,
7023,
17933,
8423,
45,
429,
2010,
333,
46,
320,
310,
461,
2010,
333,
536,
244,
54,
53,
53,
53,
53,
53,
53,
630,
244,
62,
54,
53,
979,
2010,
333,
868,
3531,
625,
51,
15484,
100,
35230,
6316,
64,
453,
29353,
30092,
17384,
49,
9262,
391,
807,
472,
302,
1391,
327,
635,
472,
302,
46,
303,
339,
465,
581,
924,
1922,
458,
31676,
19093,
45,
1225,
293,
1225,
2010,
46,
320,
310,
434,
327,
1195,
5829,
51,
16808,
3922,
82,
1453,
19568,
51,
1571,
45,
1130,
51,
18257,
5829,
5183,
320,
280,
453,
14302,
708,
4897,
2872,
34282,
17728,
4897,
2872,
10565,
399,
2392,
5150,
327,
7364,
29353,
30092,
566,
343,
461,
878,
64,
310,
339,
603,
461,
2010,
51,
7068,
365,
630,
3531,
625,
51,
15484,
100,
35230,
6316,
64,
303,
339,
465,
581,
924,
1922,
458,
2573,
3613,
28581,
5585,
45,
429,
2010,
333,
46,
320,
310,
461,
3531,
625,
51,
316,
2573,
3613,
45,
1130,
333,
46,
979,
8587,
1130,
333,
536,
244,
54,
53,
53,
46,
925,
244,
54,
53,
53,
46,
925,
244,
59,
46,
868,
244,
53,
64,
303,
339,
465,
581,
924,
1922,
458,
70,
363,
710,
889,
1145,
397,
37642,
45,
429,
2010,
333,
46,
320,
310,
648,
2010,
6606,
299,
2010,
333,
536,
244,
54,
53,
53,
53,
64,
310,
461,
2010,
6606,
630,
244,
62,
61,
53,
53,
54,
53,
979,
2010,
333,
925,
244,
54,
53,
630,
244,
53,
64,
303,
339,
465,
581,
924,
1922,
458,
70,
363,
710,
889,
1145,
397,
19559,
45,
429,
2010,
333,
46,
320,
310,
648,
2010,
6606,
299,
2010,
333,
536,
244,
54,
53,
53,
53,
64,
310,
461,
2010,
6606,
630,
244,
62,
61,
53,
53,
54,
53,
979,
2010,
333,
925,
244,
54,
53,
630,
244,
54,
64,
303,
339,
465,
581,
924,
1922,
458,
45869,
18136,
1225,
45,
429,
2010,
333,
46,
320,
310,
461,
3531,
625,
51,
316,
2573,
3613,
45,
1130,
333,
46,
1293,
3531,
625,
51,
316,
3598,
1448,
5019,
29356,
45,
1130,
333,
312,
303,
339,
465,
581,
924,
1922,
458,
13534,
284,
18136,
45,
429,
20881,
625,
46,
320,
310,
461,
20881,
625,
868,
244,
54,
54,
54,
54,
53,
53,
55,
979,
20881,
625,
350,
244,
54,
54,
54,
54,
53,
53,
60,
1293,
20881,
625,
630,
244,
54,
54,
54,
54,
54,
53,
53,
55,
1293,
20881,
625,
630,
244,
54,
54,
54,
54,
54,
53,
53,
56,
64,
303,
339,
465,
581,
924,
1922,
458,
8676,
298,
7819,
45,
4036,
18936,
333,
46,
320,
310,
461,
11649,
51,
7432,
45,
622,
333,
566,
390,
8676,
298,
18059,
365,
882,
449,
54,
64,
303,
339,
465,
581,
924,
1922,
1421,
2249,
1617,
45,
3798,
4012,
46,
320,
310,
3593,
327,
3267,
46,
320,
343,
1152,
39358,
946,
63,
343,
1152,
39358,
946,
54,
63,
343,
1152,
39358,
946,
55,
63,
343,
1152,
39358,
946,
56,
63,
343,
1152,
39358,
946,
57,
63,
343,
1152,
39358,
946,
58,
63,
343,
1152,
39358,
946,
59,
63,
343,
1152,
39358,
946,
60,
63,
343,
1152,
39358,
946,
61,
63,
343,
1152,
39358,
946,
62,
63,
343,
1152,
39358,
946,
54,
53,
63,
419,
461,
878,
64,
343,
1263,
63,
419,
461,
920,
64,
310,
339,
303,
339,
465,
581,
924,
648,
640,
31566,
3617,
45,
3242,
648,
3215,
46,
320,
310,
434,
327,
2675,
350,
244,
53,
1293,
3215,
2394,
24692,
26846,
1420,
51,
1340,
46,
320,
343,
461,
4418,
51,
3470,
100,
5986,
64,
310,
339,
310,
461,
24692,
26846,
1420,
96,
2675,
988,
303,
339,
465,
581,
924,
910,
40204,
45,
429,
613,
46,
320,
310,
910,
1197,
7345,
29641,
299,
556,
910,
41167,
368,
411,
332,
289,
411,
332,
1462,
411,
332,
5344,
411,
332,
368,
411,
332,
368,
411,
332,
368,
411,
332,
368,
411,
332,
368,
411,
332,
368,
17066,
310,
3593,
327,
110,
925,
244,
54,
53,
53,
46,
320,
343,
1152,
244,
54,
54,
63,
343,
1152,
244,
54,
55,
63,
343,
1152,
244,
54,
56,
63,
419,
461,
613,
494,
332,
368,
884,
1083,
1263,
63,
419,
461,
613,
494,
7345,
29641,
96,
110,
925,
244,
54,
53,
988,
310,
339,
303,
339,
465,
581,
13436,
924,
910,
1470,
1569,
1251,
6308,
45,
429,
613,
46,
320,
310,
434,
1445,
22802,
1081,
51,
1180,
51,
1805,
51,
4866,
100,
20747,
100,
10468,
88,
100,
12006,
100,
47403,
46,
320,
343,
461,
38326,
8748,
51,
1664,
45,
110,
312,
280,
453,
1118,
2540,
1470,
563,
17017,
11262,
458,
5937,
11032,
563,
5132,
2222,
310,
339,
832,
320,
343,
461,
5132,
2222,
51,
37863,
1825,
45,
9459,
51,
15626,
566,
1664,
45,
110,
312,
310,
339,
303,
339,
465,
581,
13436,
924,
5132,
3203,
1936,
45,
671,
804,
46,
320,
310,
1614,
320,
343,
461,
38326,
2837,
51,
2228,
45,
872,
312,
310,
339,
2385,
327,
1002,
503,
46,
320,
343,
1264,
51,
750,
459,
2228,
1936,
1067,
411,
503,
312,
343,
461,
244,
53,
51,
53,
107,
64,
310,
339,
303,
339,
465,
964,
924,
648,
39438,
2263,
25543,
26533,
15022,
1811,
37383,
365,
320,
310,
2426,
2588,
2010,
2044,
299,
2426,
2588,
2232,
51,
11574,
2588,
45,
34135,
3852,
51,
5847,
312,
310,
648,
1788,
26533,
73,
9080,
299,
244,
53,
64,
603,
2426,
4562,
2717,
3070,
299,
2010,
2044,
51,
29847,
492,
310,
456,
327,
768,
4562,
2717,
2847,
768,
518,
3070,
51,
34287,
23994,
1177,
320,
343,
434,
1445,
2085,
768,
51,
5175,
941,
1304,
2273,
459,
3287,
2152,
320,
419,
4056,
64,
343,
339,
1083,
456,
327,
768,
991,
2717,
2847,
518,
2847,
768,
51,
390,
3852,
1177,
320,
419,
456,
327,
768,
475,
53,
518,
2010,
2044,
51,
11574,
45,
2085,
768,
51,
5175,
365,
494,
13198,
494,
2847,
51,
5175,
4269,
28817,
1177,
320,
547,
456,
327,
768,
475,
54,
518,
475,
53,
51,
28817,
1177,
320,
733,
456,
327,
768,
475,
55,
518,
475,
54,
51,
28817,
1177,
320,
1031,
648,
2847,
73,
9080,
299,
2426,
3670,
51,
15384,
6734,
459,
120,
54,
52,
794,
4209,
7534,
411,
475,
55,
49,
244,
53,
312,
1031,
434,
327,
1472,
26533,
73,
9080,
350,
2847,
73,
9080,
46,
320,
1396,
1788,
26533,
73,
9080,
299,
2847,
73,
9080,
64,
1031,
339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
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 9,690
| true
| 48.502761
| true
| true
|
TagTypeWithState.java
|
/FileExtraction/Java_unseen/bobbui_Direct-File-Downloader/src/src/com/aelitis/azureus/core/tag/impl/TagTypeWithState.java
|
/*
* Created on Mar 22, 2013
* Created by Paul Gardner
*
* Copyright 2013 Azureus Software, Inc. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License only.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
*/
package com.aelitis.azureus.core.tag.impl;
import com.aelitis.azureus.core.tag.Tag;
import com.aelitis.azureus.core.tag.Taggable;
import com.aelitis.azureus.core.tag.TaggableResolver;
import com.aelitis.azureus.core.util.CopyOnWriteList;
import java.util.List;
public class
TagTypeWithState
extends TagTypeBase
{
private CopyOnWriteList<Tag> tags = new CopyOnWriteList<Tag>();
private TaggableResolver resolver;
protected
TagTypeWithState(
int tag_type,
int tag_features,
String tag_name )
{
super( tag_type, tag_features, tag_name );
}
protected
TagTypeWithState(
int tag_type,
TaggableResolver _resolver,
int tag_features,
String tag_name )
{
super( tag_type, tag_features, tag_name );
resolver = _resolver;
}
protected Taggable
resolveTaggable(
String id )
{
if ( resolver == null ){
return( super.resolveTaggable( id ));
}
return( resolver.resolveTaggable( id ));
}
protected void
removeTaggable(
TaggableResolver _resolver,
Taggable taggable )
{
if ( resolver == _resolver ){
for ( Tag t: tags ){
t.removeTaggable( taggable );
}
}
}
public void
addTag(
Tag t )
{
tags.add( t );
if ( t instanceof TagWithState ){
getManager().tagCreated((TagWithState)t );
}
super.addTag( t );
}
public void
removeTag(
Tag t )
{
tags.remove( t );
if ( t instanceof TagWithState ){
getManager().tagRemoved((TagWithState)t );
}
super.removeTag( t );
}
public List<Tag>
getTags()
{
return( tags.getList());
}
}
| 2,391
|
Java
|
.java
|
bobbui/Direct-File-Downloader
| 17
| 3
| 0
|
2016-06-28T02:26:55Z
|
2021-11-13T08:49:41Z
|
773ed2e29a1f41b9ef17e54efcbbf74fe5a80732eca0b52be685d3a03dc7dc5f
|
[
1127,
222,
338,
6956,
563,
8369,
244,
55,
55,
49,
244,
55,
53,
54,
56,
222,
338,
6956,
829,
30498,
590,
723,
1403,
222,
338,
1676,
338,
2657,
244,
55,
53,
54,
56,
3391,
371,
3870,
49,
6367,
51,
244,
3381,
4760,
5225,
51,
222,
338,
1676,
338,
1369,
3477,
458,
3760,
2951,
64,
863,
902,
14081,
580,
480,
52,
290,
5370,
222,
338,
580,
1549,
341,
5974,
451,
341,
6994,
6153,
5062,
1196,
641,
9582,
829,
222,
338,
341,
7834,
3870,
7120,
64,
1522,
244,
55,
451,
341,
1196,
1773,
51,
222,
338,
1676,
338,
1369,
3477,
458,
2744,
347,
341,
9850,
708,
580,
1118,
545,
6386,
49,
222,
338,
1294,
4213,
2979,
9345,
64,
2895,
4462,
341,
4506,
14319,
451,
222,
338,
7934,
575,
8114,
4800,
418,
7848,
7763,
51,
2819,
341,
222,
338,
6994,
6153,
5062,
1196,
456,
1851,
4261,
51,
222,
338,
1676,
338,
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
6153,
5062,
1196,
222,
338,
7979,
642,
477,
3477,
64,
434,
666,
49,
2886,
391,
341,
7834,
3870,
222,
338,
7120,
49,
6367,
4345,
244,
58,
62,
38849,
17693,
49,
25280,
244,
56,
56,
53,
49,
25006,
49,
13083,
244,
53,
55,
54,
54,
54,
50,
54,
56,
53,
60,
49,
15067,
51,
222,
588,
499,
222,
1337,
785,
51,
15462,
46572,
51,
3775,
371,
51,
1284,
51,
2159,
51,
3126,
64,
222,
222,
485,
785,
51,
15462,
46572,
51,
3775,
371,
51,
1284,
51,
2159,
51,
2649,
64,
222,
485,
785,
51,
15462,
46572,
51,
3775,
371,
51,
1284,
51,
2159,
51,
2649,
15321,
64,
222,
485,
785,
51,
15462,
46572,
51,
3775,
371,
51,
1284,
51,
2159,
51,
2649,
15321,
7266,
64,
222,
485,
785,
51,
15462,
46572,
51,
3775,
371,
51,
1284,
51,
1058,
51,
4014,
1501,
2553,
739,
64,
222,
222,
485,
1401,
51,
1058,
51,
739,
64,
222,
222,
942,
462,
244,
222,
2649,
638,
1569,
1095,
222,
221,
9970,
9147,
638,
1778,
222,
128,
222,
221,
2072,
2406,
1501,
2553,
739,
65,
2649,
67,
221,
3981,
299,
556,
2406,
1501,
2553,
739,
65,
2649,
2938,
499,
221,
2072,
9147,
15321,
7266,
221,
221,
15668,
64,
3038,
221,
5332,
222,
221,
2649,
638,
1569,
1095,
45,
376,
221,
429,
313,
221,
2159,
100,
700,
49,
376,
221,
429,
313,
221,
2159,
100,
5977,
49,
376,
221,
671,
221,
221,
2159,
100,
444,
848,
222,
221,
128,
376,
221,
5282,
45,
2621,
100,
700,
49,
2621,
100,
5977,
49,
2621,
100,
444,
1110,
222,
221,
130,
3038,
221,
5332,
222,
221,
2649,
638,
1569,
1095,
45,
376,
221,
429,
1017,
221,
2159,
100,
700,
49,
376,
221,
2649,
15321,
7266,
221,
100,
15668,
49,
376,
221,
429,
1017,
221,
2159,
100,
5977,
49,
376,
221,
671,
3177,
221,
2159,
100,
444,
848,
222,
221,
128,
376,
221,
5282,
45,
2621,
100,
700,
49,
2621,
100,
5977,
49,
2621,
100,
444,
1110,
4102,
221,
15668,
299,
634,
15668,
64,
222,
221,
130,
3038,
221,
5332,
9147,
15321,
222,
221,
5292,
2649,
15321,
45,
376,
221,
671,
221,
221,
333,
848,
222,
221,
128,
376,
221,
344,
327,
17175,
630,
762,
10555,
8212,
221,
620,
45,
2615,
51,
5292,
2649,
15321,
45,
828,
11979,
376,
221,
130,
4102,
221,
620,
45,
17175,
51,
5292,
2649,
15321,
45,
828,
11979,
222,
221,
130,
3038,
221,
5332,
782,
222,
221,
2564,
2649,
15321,
45,
376,
221,
2649,
15321,
7266,
221,
100,
15668,
49,
376,
221,
2649,
15321,
313,
221,
2159,
15321,
848,
222,
221,
128,
21997,
221,
344,
327,
17175,
630,
634,
15668,
10555,
8212,
221,
999,
327,
9147,
292,
63,
5957,
10555,
13699,
221,
121,
51,
2564,
2649,
15321,
45,
2621,
15321,
1110,
374,
221,
130,
376,
221,
130,
222,
221,
130,
3038,
221,
942,
782,
222,
221,
688,
2649,
45,
376,
221,
2649,
221,
221,
121,
848,
222,
221,
128,
376,
221,
3981,
51,
688,
45,
292,
1110,
4102,
221,
344,
327,
292,
5118,
9147,
1569,
1095,
10555,
27726,
221,
43253,
941,
2159,
6880,
1181,
2649,
1569,
1095,
46,
121,
1110,
376,
221,
130,
4102,
221,
5282,
51,
688,
2649,
45,
292,
1110,
34522,
221,
130,
3038,
221,
942,
782,
222,
221,
2564,
2649,
45,
376,
221,
2649,
221,
221,
121,
848,
222,
221,
128,
376,
221,
3981,
51,
2564,
45,
292,
1110,
4102,
221,
344,
327,
292,
5118,
9147,
1569,
1095,
10555,
8212,
221,
43253,
941,
2159,
16971,
1181,
2649,
1569,
1095,
46,
121,
1110,
376,
221,
130,
4102,
221,
5282,
51,
2564,
2649,
45,
292,
1110,
34522,
221,
130,
3038,
221,
942,
1701,
65,
2649,
67,
222,
221,
390,
6763,
365,
222,
221,
128,
376,
221,
620,
45,
5957,
51,
29376,
1052,
222,
221,
130,
222,
130,
222
] |
[
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 779
| true
| 67.252196
| true
| true
|
JavacTestingAbstractProcessor.java
|
/FileExtraction/Java_unseen/openjdk_valhalla/test/langtools/tools/javac/lib/JavacTestingAbstractProcessor.java
|
/*
* Copyright (c) 2010, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
import java.io.Writer;
import java.util.*;
import javax.annotation.processing.*;
import javax.lang.model.SourceVersion;
import javax.lang.model.element.*;
import javax.lang.model.type.*;
import javax.lang.model.util.*;
import static javax.lang.model.SourceVersion.*;
/**
* An abstract annotation processor tailored to {@code javac} regression testing.
*/
public abstract class JavacTestingAbstractProcessor extends AbstractProcessor {
private static final Set<String> allAnnotations = Set.of("*");
protected Elements eltUtils;
protected Elements elements;
protected Types typeUtils;
protected Types types;
protected Filer filer;
protected Messager messager;
protected Map<String, String> options;
/**
* Constructor for subclasses to call.
*/
protected JavacTestingAbstractProcessor() {
super();
}
/**
* Return the latest source version. Unless this method is
* overridden, an {@code IllegalStateException} will be thrown if a
* subclass has a {@code SupportedSourceVersion} annotation.
*/
@Override
public SourceVersion getSupportedSourceVersion() {
SupportedSourceVersion ssv = this.getClass().getAnnotation(SupportedSourceVersion.class);
if (ssv != null)
throw new IllegalStateException("SupportedSourceVersion annotation not supported here.");
return SourceVersion.latest();
}
/**
* If the processor class is annotated with {@link
* SupportedAnnotationTypes}, return an unmodifiable set with the
* same set of strings as the annotation. If the class is not so
* annotated, a one-element set containing {@code "*"} is returned
* to indicate all annotations are processed.
*
* @return the names of the annotation types supported by this
* processor, or an empty set if none
*/
@Override
public Set<String> getSupportedAnnotationTypes() {
SupportedAnnotationTypes sat = this.getClass().getAnnotation(SupportedAnnotationTypes.class);
if (sat != null)
return super.getSupportedAnnotationTypes();
else
return allAnnotations;
}
@Override
public void init(ProcessingEnvironment processingEnv) {
super.init(processingEnv);
elements = eltUtils = processingEnv.getElementUtils();
types = typeUtils = processingEnv.getTypeUtils();
filer = processingEnv.getFiler();
messager = processingEnv.getMessager();
options = processingEnv.getOptions();
}
protected void addExports(String moduleName, String... packageNames) {
for (String packageName : packageNames) {
try {
ModuleLayer layer = ModuleLayer.boot();
Optional<Module> m = layer.findModule(moduleName);
if (!m.isPresent())
throw new Error("module not found: " + moduleName);
m.get().addExports(packageName, getClass().getModule());
} catch (Exception e) {
throw new Error("failed to add exports for " + moduleName + "/" + packageName);
}
}
}
/*
* The set of visitors below will directly extend the most recent
* corresponding platform visitor type.
*/
@SupportedSourceVersion(RELEASE_23)
public static abstract class AbstractAnnotationValueVisitor<R, P> extends AbstractAnnotationValueVisitor14<R, P> {
/**
* Constructor for concrete subclasses to call.
*/
protected AbstractAnnotationValueVisitor() {
super();
}
}
@SupportedSourceVersion(RELEASE_23)
public static abstract class AbstractElementVisitor<R, P> extends AbstractElementVisitor14<R, P> {
/**
* Constructor for concrete subclasses to call.
*/
protected AbstractElementVisitor(){
super();
}
}
@SupportedSourceVersion(RELEASE_23)
public static abstract class AbstractTypeVisitor<R, P> extends AbstractTypeVisitor14<R, P> {
/**
* Constructor for concrete subclasses to call.
*/
protected AbstractTypeVisitor() {
super();
}
}
@SupportedSourceVersion(RELEASE_23)
public static class ElementKindVisitor<R, P> extends ElementKindVisitor14<R, P> {
/**
* Constructor for concrete subclasses; uses {@code null} for the
* default value.
*/
protected ElementKindVisitor() {
super(null);
}
/**
* Constructor for concrete subclasses; uses the argument for the
* default value.
*
* @param defaultValue the value to assign to {@link #DEFAULT_VALUE}
*/
protected ElementKindVisitor(R defaultValue) {
super(defaultValue);
}
}
@SupportedSourceVersion(RELEASE_23)
public static class ElementScanner<R, P> extends ElementScanner14<R, P> {
/**
* Constructor for concrete subclasses; uses {@code null} for the
* default value.
*/
protected ElementScanner(){
super(null);
}
/**
* Constructor for concrete subclasses; uses the argument for the
* default value.
*/
protected ElementScanner(R defaultValue){
super(defaultValue);
}
}
@SupportedSourceVersion(RELEASE_23)
public static class SimpleAnnotationValueVisitor<R, P> extends SimpleAnnotationValueVisitor14<R, P> {
/**
* Constructor for concrete subclasses; uses {@code null} for the
* default value.
*/
protected SimpleAnnotationValueVisitor() {
super(null);
}
/**
* Constructor for concrete subclasses; uses the argument for the
* default value.
*
* @param defaultValue the value to assign to {@link #DEFAULT_VALUE}
*/
protected SimpleAnnotationValueVisitor(R defaultValue) {
super(defaultValue);
}
}
@SupportedSourceVersion(RELEASE_23)
public static class SimpleElementVisitor<R, P> extends SimpleElementVisitor14<R, P> {
/**
* Constructor for concrete subclasses; uses {@code null} for the
* default value.
*/
protected SimpleElementVisitor(){
super(null);
}
/**
* Constructor for concrete subclasses; uses the argument for the
* default value.
*
* @param defaultValue the value to assign to {@link #DEFAULT_VALUE}
*/
protected SimpleElementVisitor(R defaultValue){
super(defaultValue);
}
}
@SupportedSourceVersion(RELEASE_23)
public static class SimpleTypeVisitor<R, P> extends SimpleTypeVisitor14<R, P> {
/**
* Constructor for concrete subclasses; uses {@code null} for the
* default value.
*/
protected SimpleTypeVisitor(){
super(null);
}
/**
* Constructor for concrete subclasses; uses the argument for the
* default value.
*
* @param defaultValue the value to assign to {@link #DEFAULT_VALUE}
*/
protected SimpleTypeVisitor(R defaultValue){
super(defaultValue);
}
}
@SupportedSourceVersion(RELEASE_23)
public static class TypeKindVisitor<R, P> extends TypeKindVisitor14<R, P> {
/**
* Constructor for concrete subclasses to call; uses {@code null}
* for the default value.
*/
protected TypeKindVisitor() {
super(null);
}
/**
* Constructor for concrete subclasses to call; uses the argument
* for the default value.
*
* @param defaultValue the value to assign to {@link #DEFAULT_VALUE}
*/
protected TypeKindVisitor(R defaultValue) {
super(defaultValue);
}
}
/**
* Vacuous implementation of javax.lang.model.util.Elements to aid
* in test development. Methods with defaults in the interface are
* *not* overridden to allow them to be tested.
*/
public static class VacuousElements implements Elements {
public VacuousElements() {}
@Override
public PackageElement getPackageElement(CharSequence name) {return null;}
@Override
public TypeElement getTypeElement(CharSequence name) {return null;}
@Override
public Map<? extends ExecutableElement, ? extends AnnotationValue>
getElementValuesWithDefaults(AnnotationMirror a) {return null;}
@Override
public String getDocComment(Element e) {return null;}
@Override
public boolean isDeprecated(Element e) {return false;}
@Override
public Name getBinaryName(TypeElement type) {return null;}
@Override
public PackageElement getPackageOf(Element e) {return null;}
@Override
public List<? extends Element> getAllMembers(TypeElement type) {return null;}
@Override
public List<? extends AnnotationMirror> getAllAnnotationMirrors(Element e) {return null;}
@Override
public boolean hides(Element hider, Element hidden) {return false;}
@Override
public boolean overrides(ExecutableElement overrider,
ExecutableElement overridden,
TypeElement type) {return false;}
@Override
public String getConstantExpression(Object value) {return null;}
@Override
public void printElements(Writer w, Element... elements) {}
@Override
public Name getName(CharSequence cs) {return null;}
@Override
public boolean isFunctionalInterface(TypeElement type) {return false;}
}
/**
* Vacuous implementation of javax.lang.model.util.Types to aid
* in test development. Methods with defaults in the interface are
* *not* overridden to allow them to be tested.
*/
public static class VacuousTypes implements Types {
public VacuousTypes() {}
@Override
public Element asElement(TypeMirror t) {return null;}
@Override
public boolean isSameType(TypeMirror t1, TypeMirror t2) {return false;}
@Override
public boolean isSubtype(TypeMirror t1, TypeMirror t2) {return false;};
@Override
public boolean isAssignable(TypeMirror t1, TypeMirror t2) {return false;};
@Override
public boolean contains(TypeMirror t1, TypeMirror t2) {return false;};
@Override
public boolean isSubsignature(ExecutableType m1, ExecutableType m2) {return false;}
@Override
public List<? extends TypeMirror> directSupertypes(TypeMirror t) {return null;}
@Override
public TypeMirror erasure(TypeMirror t) {return null;}
@Override
public TypeElement boxedClass(PrimitiveType p) {return null;}
@Override
public PrimitiveType unboxedType(TypeMirror t) {return null;}
@Override
public TypeMirror capture(TypeMirror t) {return null;}
@Override
public PrimitiveType getPrimitiveType(TypeKind kind) {return null;}
@Override
public NullType getNullType() {return null;}
@Override
public NoType getNoType(TypeKind kind) {return null;}
@Override
public ArrayType getArrayType(TypeMirror componentType) {return null;}
@Override
public WildcardType getWildcardType(TypeMirror extendsBound,
TypeMirror superBound) {return null;}
@Override
public DeclaredType getDeclaredType(TypeElement typeElem, TypeMirror... typeArgs) {return null;}
@Override
public DeclaredType getDeclaredType(DeclaredType containing,
TypeElement typeElem, TypeMirror... typeArgs) {return null;}
@Override
public TypeMirror asMemberOf(DeclaredType containing, Element element) {return null;}
}
}
| 13,309
|
Java
|
.java
|
openjdk/valhalla
| 492
| 88
| 5
|
2019-04-18T06:02:51Z
|
2024-05-09T07:43:42Z
|
5610156303a96589b957796399bff034d291b3ba824c08b4a41b22084b26dd44
|
[
1127,
222,
338,
2657,
327,
104,
46,
244,
55,
53,
54,
53,
49,
244,
55,
53,
55,
57,
49,
17980,
480,
52,
290,
2840,
25094,
51,
3381,
4760,
5225,
51,
222,
338,
4103,
2387,
23740,
1895,
35234,
8995,
2387,
11988,
1895,
8968,
10961,
30441,
51,
222,
338,
222,
338,
1369,
1361,
458,
3760,
2951,
64,
863,
902,
14081,
580,
480,
52,
290,
5370,
580,
222,
338,
1549,
341,
5974,
451,
341,
6994,
6153,
5062,
1196,
1522,
244,
55,
1773,
49,
641,
222,
338,
9582,
829,
341,
7834,
3870,
7120,
51,
222,
338,
222,
338,
1369,
1361,
458,
2744,
347,
341,
9850,
708,
580,
1118,
545,
6386,
49,
1294,
4213,
222,
338,
2979,
9345,
64,
2895,
4462,
341,
4506,
14319,
451,
7934,
575,
222,
338,
8114,
4800,
418,
7848,
7763,
51,
244,
2819,
341,
6994,
6153,
5062,
1196,
222,
338,
1522,
244,
55,
456,
1851,
4261,
327,
102,
1948,
458,
5976,
347,
341,
7621,
822,
708,
222,
338,
20854,
297,
4850,
477,
1361,
566,
222,
338,
222,
338,
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
6153,
5062,
1196,
1522,
222,
338,
244,
55,
7979,
642,
477,
1409,
64,
434,
666,
49,
2886,
391,
341,
7834,
3870,
7120,
49,
222,
338,
6367,
4345,
244,
58,
54,
34113,
1277,
49,
33316,
26912,
49,
25006,
49,
13083,
244,
53,
55,
54,
54,
53,
50,
54,
56,
53,
54,
15067,
51,
222,
338,
222,
338,
5304,
7272,
17980,
49,
244,
58,
53,
53,
17980,
27004,
3094,
49,
4777,
21100,
2432,
6868,
49,
10562,
244,
62,
57,
53,
59,
58,
15067,
222,
338,
575,
7739,
19955,
51,
11116,
51,
527,
434,
863,
1868,
5408,
2490,
575,
1178,
1364,
222,
338,
10034,
51,
222,
588,
222,
222,
485,
1401,
51,
735,
51,
3989,
64,
222,
485,
1401,
51,
1058,
7737,
222,
485,
3698,
51,
4341,
51,
9608,
7737,
222,
485,
3698,
51,
1600,
51,
1184,
51,
2044,
2080,
64,
222,
485,
3698,
51,
1600,
51,
1184,
51,
2559,
7737,
222,
485,
3698,
51,
1600,
51,
1184,
51,
700,
7737,
222,
485,
3698,
51,
1600,
51,
1184,
51,
1058,
7737,
222,
485,
924,
3698,
51,
1600,
51,
1184,
51,
2044,
2080,
7737,
222,
222,
1350,
222,
338,
2262,
5560,
11208,
12814,
292,
3063,
335,
1116,
391,
3105,
707,
43202,
348,
130,
18051,
6351,
51,
222,
588,
222,
942,
5560,
462,
990,
472,
348,
10870,
5597,
6872,
2041,
7406,
6872,
320,
303,
964,
924,
1175,
1776,
65,
671,
67,
1187,
13040,
299,
1776,
51,
1048,
21471,
742,
465,
2532,
24451,
31026,
2769,
64,
303,
2532,
24451,
4725,
64,
303,
2532,
13413,
283,
847,
2769,
64,
303,
2532,
13413,
283,
3756,
64,
303,
2532,
525,
3113,
283,
315,
3113,
64,
303,
2532,
29795,
1227,
15202,
1227,
64,
303,
2532,
3531,
65,
671,
49,
910,
67,
2089,
64,
465,
1041,
294,
338,
12836,
456,
36679,
391,
1495,
51,
294,
588,
303,
2532,
990,
472,
348,
10870,
5597,
6872,
365,
320,
310,
2615,
492,
303,
339,
465,
1041,
294,
338,
2762,
341,
6623,
1932,
1522,
51,
5416,
477,
1431,
458,
294,
338,
26596,
49,
619,
3105,
707,
21641,
130,
1118,
545,
12165,
434,
331,
294,
338,
22964,
1421,
331,
3105,
707,
24533,
2044,
2080,
130,
11208,
51,
294,
588,
303,
496,
1806,
303,
581,
6391,
2080,
640,
10330,
2044,
2080,
365,
320,
310,
24533,
2044,
2080,
328,
2289,
299,
477,
51,
9699,
941,
45269,
45,
10330,
2044,
2080,
51,
842,
312,
310,
434,
327,
441,
123,
882,
762,
46,
343,
1440,
556,
21641,
459,
10330,
2044,
2080,
11208,
666,
5430,
2464,
5377,
603,
461,
6391,
2080,
51,
5341,
492,
303,
339,
465,
1041,
294,
338,
1691,
341,
12814,
462,
458,
30404,
642,
3105,
1222,
294,
338,
24533,
7945,
2439,
855,
461,
619,
725,
30377,
758,
642,
341,
294,
338,
2454,
758,
451,
5872,
641,
341,
11208,
51,
244,
1691,
341,
462,
458,
666,
1278,
294,
338,
30404,
49,
331,
1611,
50,
2559,
758,
6663,
3105,
707,
11577,
3667,
458,
4731,
294,
338,
391,
14197,
1187,
14711,
904,
11487,
51,
294,
338,
294,
338,
496,
620,
341,
4492,
451,
341,
11208,
3756,
5430,
829,
477,
294,
338,
12814,
49,
575,
619,
3517,
758,
434,
4919,
294,
588,
303,
496,
1806,
303,
581,
1776,
65,
671,
67,
640,
10330,
7945,
2439,
365,
320,
310,
24533,
7945,
2439,
19664,
299,
477,
51,
9699,
941,
45269,
45,
10330,
7945,
2439,
51,
842,
312,
310,
434,
327,
13159,
882,
762,
46,
343,
461,
2615,
51,
390,
10330,
7945,
2439,
492,
310,
832,
343,
461,
1187,
13040,
64,
303,
339,
465,
496,
1806,
303,
581,
782,
3238,
45,
11442,
6342,
8220,
6063,
46,
320,
310,
2615,
51,
1683,
45,
9608,
6063,
312,
310,
4725,
299,
31026,
2769,
244,
299,
8220,
6063,
51,
4661,
2769,
492,
310,
3756,
299,
847,
2769,
299,
8220,
6063,
51,
10276,
2769,
492,
310,
315,
3113,
281,
299,
8220,
6063,
51,
30306,
3113,
492,
310,
15202,
1227,
244,
299,
8220,
6063,
51,
390,
15944,
1227,
492,
310,
2089,
280,
299,
8220,
6063,
51,
49079,
492,
303,
339,
465,
2532,
782,
1035,
20709,
45,
671,
45950,
49,
910,
1198,
2670,
4128,
46,
320,
310,
456,
327,
671,
34021,
518,
2670,
4128,
46,
320,
343,
1614,
320,
419,
7716,
4789,
5458,
299,
7716,
4789,
51,
3621,
492,
419,
5663,
65,
2478,
67,
364,
299,
5458,
51,
1828,
2478,
45,
37159,
312,
419,
434,
1445,
114,
51,
28200,
1177,
547,
1440,
556,
3099,
459,
1663,
666,
2448,
63,
332,
494,
45950,
312,
419,
364,
51,
390,
941,
688,
20709,
45,
28475,
49,
27042,
941,
48583,
1052,
343,
339,
2385,
327,
1002,
503,
46,
320,
419,
1440,
556,
3099,
459,
7824,
391,
1035,
10923,
456,
332,
494,
45950,
494,
13198,
494,
34021,
312,
343,
339,
310,
339,
303,
339,
465,
1276,
294,
338,
906,
758,
451,
16944,
120,
4834,
1118,
7045,
12385,
341,
4665,
8303,
294,
338,
8475,
5637,
16944,
847,
51,
294,
588,
465,
496,
10330,
2044,
2080,
45,
15305,
100,
55,
56,
46,
303,
581,
924,
5560,
462,
7406,
7945,
899,
10536,
65,
87,
49,
466,
67,
2041,
7406,
7945,
899,
10536,
54,
57,
65,
87,
49,
466,
67,
320,
603,
1041,
295,
338,
12836,
456,
26316,
36679,
391,
1495,
51,
295,
588,
310,
2532,
7406,
7945,
899,
10536,
365,
320,
343,
2615,
492,
310,
339,
303,
339,
465,
496,
10330,
2044,
2080,
45,
15305,
100,
55,
56,
46,
303,
581,
924,
5560,
462,
7406,
1325,
10536,
65,
87,
49,
466,
67,
2041,
7406,
1325,
10536,
54,
57,
65,
87,
49,
466,
67,
320,
310,
1041,
295,
338,
12836,
456,
26316,
36679,
391,
1495,
51,
295,
588,
310,
2532,
7406,
1325,
10536,
3261,
343,
2615,
492,
310,
339,
303,
339,
465,
496,
10330,
2044,
2080,
45,
15305,
100,
55,
56,
46,
303,
581,
924,
5560,
462,
7406,
638,
10536,
65,
87,
49,
466,
67,
2041,
7406,
638,
10536,
54,
57,
65,
87,
49,
466,
67,
320,
310,
1041,
295,
338,
12836,
456,
26316,
36679,
391,
1495,
51,
295,
588,
310,
2532,
7406,
638,
10536,
365,
320,
343,
2615,
492,
310,
339,
303,
339,
465,
496,
10330,
2044,
2080,
45,
15305,
100,
55,
56,
46,
303,
581,
924,
462,
6840,
4676,
10536,
65,
87,
49,
466,
67,
2041,
6840,
4676,
10536,
54,
57,
65,
87,
49,
466,
67,
320,
310,
1041,
295,
338,
12836,
456,
26316,
36679,
64,
5268,
3105,
707,
762,
130,
456,
341,
295,
338,
1263,
804,
51,
295,
588,
310,
2532,
6840,
4676,
10536,
365,
320,
343,
2615,
45,
1710,
312,
310,
339,
603,
1041,
295,
338,
12836,
456,
26316,
36679,
64,
5268,
341,
2814,
456,
341,
295,
338,
1263,
804,
51,
295,
338,
295,
338,
496,
772,
14327,
341,
804,
391,
5336,
391,
3105,
1222,
607,
5815,
100,
5986,
130,
295,
588,
310,
2532,
6840,
4676,
10536,
45,
87,
14327,
46,
320,
343,
2615,
45,
23452,
312,
310,
339,
303,
339,
465,
496,
10330,
2044,
2080,
45,
15305,
100,
55,
56,
46,
303,
581,
924,
462,
6840,
13037,
65,
87,
49,
466,
67,
2041,
6840,
13037,
54,
57,
65,
87,
49,
466,
67,
320,
310,
1041,
295,
338,
12836,
456,
26316,
36679,
64,
5268,
3105,
707,
762,
130,
456,
341,
295,
338,
1263,
804,
51,
295,
588,
310,
2532,
6840,
13037,
3261,
343,
2615,
45,
1710,
312,
310,
339,
603,
1041,
295,
338,
12836,
456,
26316,
36679,
64,
5268,
341,
2814,
456,
341,
295,
338,
1263,
804,
51,
295,
588,
310,
2532,
6840,
13037,
45,
87,
14327,
1528,
343,
2615,
45,
23452,
312,
310,
339,
303,
339,
465,
496,
10330,
2044,
2080,
45,
15305,
100,
55,
56,
46,
303,
581,
924,
462,
7169,
7945,
899,
10536,
65,
87,
49,
466,
67,
2041,
7169,
7945,
899,
10536,
54,
57,
65,
87,
49,
466,
67,
320,
310,
1041,
295,
338,
12836,
456,
26316,
36679,
64,
5268,
3105,
707,
762,
130,
456,
341,
295,
338,
1263,
804,
51,
295,
588,
310,
2532,
7169,
7945,
899,
10536,
365,
320,
343,
2615,
45,
1710,
312,
310,
339,
603,
1041,
295,
338,
12836,
456,
26316,
36679,
64,
5268,
341,
2814,
456,
341,
295,
338,
1263,
804,
51,
295,
338,
295,
338,
496,
772,
14327,
341,
804,
391,
5336,
391,
3105,
1222,
607,
5815,
100,
5986,
130,
295,
588,
310,
2532,
7169,
7945,
899,
10536,
45,
87,
14327,
46,
320,
343,
2615,
45,
23452,
312,
310,
339,
303,
339,
465,
496,
10330,
2044,
2080,
45,
15305,
100,
55,
56,
46,
303,
581,
924,
462,
7169,
1325,
10536,
65,
87,
49,
466,
67,
2041,
7169,
1325,
10536,
54,
57,
65,
87,
49,
466,
67,
320,
310,
1041,
295,
338,
12836,
456,
26316,
36679,
64,
5268,
3105,
707,
762,
130,
456,
341,
295,
338,
1263,
804,
51,
295,
588,
310,
2532,
7169,
1325,
10536,
3261,
343,
2615,
45,
1710,
312,
310,
339,
603,
1041,
295,
338,
12836,
456,
26316,
36679,
64,
5268,
341,
2814,
456,
341,
295,
338,
1263,
804,
51,
295,
338,
295,
338,
496,
772,
14327,
341,
804,
391,
5336,
391,
3105,
1222,
607,
5815,
100,
5986,
130,
295,
588,
310,
2532,
7169,
1325,
10536,
45,
87,
14327,
1528,
343,
2615,
45,
23452,
312,
310,
339,
303,
339,
465,
496,
10330,
2044,
2080,
45,
15305,
100,
55,
56,
46,
303,
581,
924,
462,
7169,
638,
10536,
65,
87,
49,
466,
67,
2041,
7169,
638,
10536,
54,
57,
65,
87,
49,
466,
67,
320,
310,
1041,
295,
338,
12836,
456,
26316,
36679,
64,
5268,
3105,
707,
762,
130,
456,
341,
295,
338,
1263,
804,
51,
295,
588,
310,
2532,
7169,
638,
10536,
3261,
343,
2615,
45,
1710,
312,
310,
339,
603,
1041,
295,
338,
12836,
456,
26316,
36679,
64,
5268,
341,
2814,
456,
341,
295,
338,
1263,
804,
51,
295,
338,
295,
338,
496,
772,
14327,
341,
804,
391,
5336,
391,
3105,
1222,
607,
5815,
100,
5986,
130,
295,
588,
310,
2532,
7169,
638,
10536,
45,
87,
14327,
1528,
343,
2615,
45,
23452,
312,
310,
339,
303,
339,
465,
496,
10330,
2044,
2080,
45,
15305,
100,
55,
56,
46,
303,
581,
924,
462,
2782,
4676,
10536,
65,
87,
49,
466,
67,
2041,
2782,
4676,
10536,
54,
57,
65,
87,
49,
466,
67,
320,
310,
1041,
295,
338,
12836,
456,
26316,
36679,
391,
1495,
64,
5268,
3105,
707,
762,
130,
295,
338,
456,
341,
1263,
804,
51,
295,
588,
310,
2532,
2782,
4676,
10536,
365,
320,
343,
2615,
45,
1710,
312,
310,
339,
603,
1041,
295,
338,
12836,
456,
26316,
36679,
391,
1495,
64,
5268,
341,
2814,
295,
338,
456,
341,
1263,
804,
51,
295,
338,
295,
338,
496,
772,
14327,
341,
804,
391,
5336,
391,
3105,
1222,
607,
5815,
100,
5986,
130,
295,
588,
310,
2532,
2782,
4676,
10536,
45,
87,
14327,
46,
320,
343,
2615,
45,
23452,
312,
310,
339,
303,
339,
465,
1041,
294,
338,
694,
348,
122,
3311,
4753,
451,
3698,
51,
1600,
51,
1184,
51,
1058,
51,
7466,
391,
36855,
294,
338,
347,
913,
8230,
51,
14944,
642,
10086,
347,
341,
2586,
904,
294,
338,
338,
1226,
47,
26596,
391,
2625,
3049,
391,
545,
10116,
51,
294,
588,
303,
581,
924,
462,
694,
348,
122,
3311,
7466,
4584,
24451,
320,
310,
581,
694,
348,
122,
3311,
7466,
365,
2172,
603,
496,
1806,
310,
581,
9718,
1325,
640,
4057,
1325,
45,
32295,
655,
46,
320,
620,
762,
7160,
603,
496,
1806,
310,
581,
2782,
1325,
24097,
1325,
45,
32295,
655,
46,
320,
620,
762,
7160,
603,
496,
1806,
310,
581,
3531,
1907,
2041,
6798,
7524,
1325,
49,
1037,
2041,
20144,
899,
67,
24896,
640,
1325,
3367,
1569,
14486,
45,
7945,
21246,
331,
46,
320,
620,
762,
7160,
310,
496,
1806,
310,
581,
910,
640,
4234,
6327,
45,
1325,
503,
46,
320,
620,
762,
7160,
603,
496,
1806,
310,
581,
1922,
458,
15375,
45,
1325,
503,
46,
320,
620,
920,
7160,
603,
496,
1806,
310,
581,
244,
3286,
640,
6958,
577,
45,
638,
1325,
847,
46,
320,
620,
762,
7160,
603,
496,
1806,
310,
581,
9718,
1325,
640,
4057,
1436,
45,
1325,
503,
46,
320,
620,
762,
7160,
603,
496,
1806,
310,
581,
1701,
1907,
2041,
6840,
67,
16721,
9651,
45,
638,
1325,
847,
46,
320,
620,
762,
7160,
603,
496,
1806,
310,
581,
1701,
1907,
2041,
20144,
21246,
67,
16721,
7945,
39695,
31624,
45,
1325,
503,
46,
320,
620,
762,
7160,
603,
496,
1806,
310,
581,
1922,
10618,
120,
45,
1325,
439,
1411,
49,
6840,
6862,
46,
320,
620,
920,
7160,
603,
496,
1806,
310,
581,
1922,
19980,
45,
23902,
1325,
2308,
119,
1411,
49,
6056,
6798,
7524,
1325,
26596,
49,
6056,
2782,
1325,
847,
46,
320,
620,
920,
7160,
603,
496,
1806,
310,
581,
910,
640,
5476,
3503,
45,
976,
804,
46,
320,
620,
762,
7160,
603,
496,
1806,
310,
581,
782,
1489,
7466,
45,
3989,
360,
49,
6840,
1198,
4725,
46,
2172,
603,
496,
1806,
310,
581,
3286,
16389,
45,
32295,
9122,
46,
244,
320,
620,
762,
7160,
603,
496,
1806,
310,
581,
1922,
458,
27064,
3058,
45,
638,
1325,
847,
46,
320,
620,
920,
7160,
303,
339,
465,
1041,
294,
338,
694,
348,
122,
3311,
4753,
451,
3698,
51,
1600,
51,
1184,
51,
1058,
51,
2439,
391,
36855,
294,
338,
347,
913,
8230,
51,
14944,
642,
10086,
347,
341,
2586,
904,
294,
338,
338,
1226,
47,
26596,
391,
2625,
3049,
391,
545,
10116,
51,
294,
588,
303,
581,
924,
462,
694,
348,
122,
3311,
2439,
4584,
13413,
320,
310,
581,
694,
348,
122,
3311,
2439,
365,
2172,
603,
496,
1806,
310,
581,
6840,
641,
1325,
45,
638,
21246,
292,
46,
320,
620,
762,
7160,
603,
496,
1806,
310,
581,
1922,
458,
8525,
638,
45,
638,
21246,
292,
54,
49,
2782,
21246,
292,
55,
46,
320,
620,
920,
7160,
603,
496,
1806,
310,
581,
1922,
458,
41127,
45,
638,
21246,
292,
54,
49,
2782,
21246,
292,
55,
46,
320,
620,
920,
64,
1274,
603,
496,
1806,
310,
581,
1922,
458,
29273,
45,
638,
21246,
292,
54,
49,
2782,
21246,
292,
55,
46,
320,
620,
920,
64,
1274,
603,
496,
1806,
310,
581,
1922,
4326,
45,
638,
21246,
292,
54,
49,
2782,
21246,
292,
55,
46,
320,
620,
920,
64,
1274,
603,
496,
1806,
310,
581,
1922,
458,
1736,
9588,
45,
23902,
638,
364,
54,
49,
6798,
7524,
638,
364,
55,
46,
320,
620,
920,
7160,
603,
496,
1806,
310,
581,
1701,
1907,
2041,
2782,
21246,
67,
3889,
6202,
600,
1707,
45,
638,
21246,
292,
46,
320,
620,
762,
7160,
603,
496,
1806,
310,
581,
2782,
21246,
5107,
4604,
45,
638,
21246,
292,
46,
320,
620,
762,
7160,
603,
496,
1806,
310,
581,
2782,
1325,
4410,
337,
1359,
45,
12216,
638,
317,
46,
320,
620,
762,
7160,
603,
496,
1806,
310,
581,
32641,
638,
725,
23284,
638,
45,
638,
21246,
292,
46,
320,
620,
762,
7160,
603,
496,
1806,
310,
581,
2782,
21246,
12874,
45,
638,
21246,
292,
46,
320,
620,
762,
7160,
603,
496,
1806,
310,
581,
32641,
638,
640,
12216,
638,
45,
638,
4676,
6207,
46,
320,
620,
762,
7160,
603,
496,
1806,
310,
581,
9286,
638,
640,
1898,
638,
365,
320,
620,
762,
7160,
603,
496,
1806,
310,
581,
3155,
638,
640,
2042,
638,
45,
638,
4676,
6207,
46,
320,
620,
762,
7160,
603,
496,
1806,
310,
581,
2647,
638,
640,
35047,
45,
638,
21246,
2595,
638,
46,
320,
620,
762,
7160,
603,
496,
1806,
310,
581,
643,
14431,
638,
640,
35238,
638,
45,
638,
21246,
2041,
4728,
49,
786,
2782,
21246,
2615,
4728,
46,
320,
620,
762,
7160,
603,
496,
1806,
310,
581,
18488,
1961,
638,
640,
22027,
638,
45,
638,
1325,
847,
10795,
49,
2782,
21246,
1198,
847,
3097,
46,
320,
620,
762,
7160,
6934,
496,
1806,
310,
581,
18488,
1961,
638,
640,
22027,
638,
45,
22027,
638,
6663,
49,
786,
2782,
1325,
847,
10795,
49,
2782,
21246,
1198,
847,
3097,
46,
320,
620,
762,
7160,
603,
496,
1806,
310,
581,
2782,
21246,
641,
4605,
1436,
45,
22027,
638,
6663,
49,
6840,
2016,
46,
320,
620,
762,
7160,
303,
339,
222,
130,
222
] |
[
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1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
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 2,783
| true
| 62.927342
| true
| true
|
JavaStringIsEmptyExample.java
|
/FileExtraction/Java_unseen/tranleduy2000_javaide/app/src/main/assets/sample/CommonlyUsedJavaClasses/JavaString/src/main/java/sample/JavaStringIsEmptyExample.java
|
package sample;
/*
Java String isEmpty Example.
This Java String isEmpty example shows how to check whether the given
string is empty or not using isEmpty method of Java String class.
*/
public class JavaStringIsEmptyExample {
public static void main(String args[]) {
String str1 = "";
String str2 = null;
String str3 = "Hello World";
/*
* To check whether the String is empty or not, use
* boolean isEmpty() method of Java String class.
*
* This method returns true if and only if string.length() is 0.
*/
System.out.println("Is String 1 empty? :" + str1.isEmpty());
//this will throw NullPointerException since str2 is null
//System.out.println("Is String 2 empty? :" + str2.isEmpty());
System.out.println("Is String 3 empty? :" + str3.isEmpty());
/*
* Please note that isEmpty method was added in JDK 1.6 and it is not available
* in previous versions.
*
* However, you can use
* (string.length() == 0) instead of (string.isEmpty())
* in previous JDK versions.
*/
}
}
/*
Output of Java String isEmpty would be
Is String 1 empty? :true
Is String 3 empty? :false
*/
| 1,288
|
Java
|
.java
|
tranleduy2000/javaide
| 468
| 158
| 245
|
2017-07-16T09:11:22Z
|
2021-09-29T16:30:25Z
|
0ed75fc858a3030bba523baa5910622eb4a77a9265715e03c42b3c003e3adf15
|
[
1337,
4002,
64,
222,
222,
1127,
1586,
4957,
910,
29059,
5958,
51,
1586,
1369,
4957,
910,
29059,
2301,
9873,
2650,
391,
1524,
4962,
341,
2716,
1586,
821,
458,
3517,
575,
666,
1493,
29059,
1431,
451,
4957,
910,
462,
51,
222,
1975,
222,
942,
462,
4957,
671,
29525,
5306,
320,
303,
581,
924,
782,
2594,
45,
671,
2194,
9798,
320,
603,
910,
615,
54,
299,
5127,
310,
910,
615,
55,
299,
762,
64,
310,
910,
615,
56,
299,
332,
8302,
10914,
884,
603,
1276,
295,
338,
2634,
1524,
4962,
341,
910,
458,
3517,
575,
666,
49,
813,
295,
338,
1922,
29059,
365,
1431,
451,
4957,
910,
462,
51,
295,
338,
295,
338,
1369,
1431,
3235,
878,
434,
480,
1773,
434,
821,
51,
1340,
365,
458,
244,
53,
51,
295,
588,
603,
1189,
51,
560,
51,
3962,
459,
1640,
910,
244,
54,
3517,
68,
35762,
494,
615,
54,
51,
6401,
1052,
603,
453,
597,
1118,
1440,
23203,
4577,
615,
55,
458,
762,
310,
453,
1615,
51,
560,
51,
3962,
459,
1640,
910,
244,
55,
3517,
68,
35762,
494,
615,
55,
51,
6401,
1052,
603,
1189,
51,
560,
51,
3962,
459,
1640,
910,
244,
56,
3517,
68,
35762,
494,
615,
56,
51,
6401,
1052,
603,
1276,
295,
338,
5304,
6013,
708,
29059,
1431,
1616,
3654,
347,
33047,
244,
54,
51,
59,
480,
580,
458,
666,
3322,
295,
338,
347,
4575,
7058,
51,
295,
338,
295,
338,
8786,
49,
863,
902,
813,
295,
338,
327,
819,
51,
1340,
365,
630,
244,
53,
46,
4203,
451,
327,
819,
51,
6401,
1177,
295,
338,
347,
4575,
33047,
7058,
51,
295,
588,
303,
339,
222,
130,
222,
222,
1127,
222,
5601,
451,
4957,
910,
29059,
2285,
545,
222,
3626,
910,
244,
54,
3517,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ty_Gshine-Server/src/generated/main/java/emu/grasscutter/net/proto/BounceConjuringInfoOuterClass.java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: BounceConjuringInfo.proto
package emu.grasscutter.net.proto;
public final class BounceConjuringInfoOuterClass {
private BounceConjuringInfoOuterClass() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
public interface BounceConjuringInfoOrBuilder extends
// @@protoc_insertion_point(interface_extends:BounceConjuringInfo)
com.google.protobuf.MessageOrBuilder {
/**
* <code>uint32 totalDestroyedMachineCount = 5;</code>
* @return The totalDestroyedMachineCount.
*/
int getTotalDestroyedMachineCount();
/**
* <code>uint32 totalScore = 4;</code>
* @return The totalScore.
*/
int getTotalScore();
}
/**
* Protobuf type {@code BounceConjuringInfo}
*/
public static final class BounceConjuringInfo extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:BounceConjuringInfo)
BounceConjuringInfoOrBuilder {
private static final long serialVersionUID = 0L;
// Use BounceConjuringInfo.newBuilder() to construct.
private BounceConjuringInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private BounceConjuringInfo() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new BounceConjuringInfo();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private BounceConjuringInfo(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 32: {
totalScore_ = input.readUInt32();
break;
}
case 40: {
totalDestroyedMachineCount_ = input.readUInt32();
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return emu.grasscutter.net.proto.BounceConjuringInfoOuterClass.internal_static_BounceConjuringInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.BounceConjuringInfoOuterClass.internal_static_BounceConjuringInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.BounceConjuringInfoOuterClass.BounceConjuringInfo.class, emu.grasscutter.net.proto.BounceConjuringInfoOuterClass.BounceConjuringInfo.Builder.class);
}
public static final int TOTALDESTROYEDMACHINECOUNT_FIELD_NUMBER = 5;
private int totalDestroyedMachineCount_;
/**
* <code>uint32 totalDestroyedMachineCount = 5;</code>
* @return The totalDestroyedMachineCount.
*/
@java.lang.Override
public int getTotalDestroyedMachineCount() {
return totalDestroyedMachineCount_;
}
public static final int TOTALSCORE_FIELD_NUMBER = 4;
private int totalScore_;
/**
* <code>uint32 totalScore = 4;</code>
* @return The totalScore.
*/
@java.lang.Override
public int getTotalScore() {
return totalScore_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (totalScore_ != 0) {
output.writeUInt32(4, totalScore_);
}
if (totalDestroyedMachineCount_ != 0) {
output.writeUInt32(5, totalDestroyedMachineCount_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (totalScore_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(4, totalScore_);
}
if (totalDestroyedMachineCount_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(5, totalDestroyedMachineCount_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof emu.grasscutter.net.proto.BounceConjuringInfoOuterClass.BounceConjuringInfo)) {
return super.equals(obj);
}
emu.grasscutter.net.proto.BounceConjuringInfoOuterClass.BounceConjuringInfo other = (emu.grasscutter.net.proto.BounceConjuringInfoOuterClass.BounceConjuringInfo) obj;
if (getTotalDestroyedMachineCount()
!= other.getTotalDestroyedMachineCount()) return false;
if (getTotalScore()
!= other.getTotalScore()) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + TOTALDESTROYEDMACHINECOUNT_FIELD_NUMBER;
hash = (53 * hash) + getTotalDestroyedMachineCount();
hash = (37 * hash) + TOTALSCORE_FIELD_NUMBER;
hash = (53 * hash) + getTotalScore();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static emu.grasscutter.net.proto.BounceConjuringInfoOuterClass.BounceConjuringInfo parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.BounceConjuringInfoOuterClass.BounceConjuringInfo parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.BounceConjuringInfoOuterClass.BounceConjuringInfo parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.BounceConjuringInfoOuterClass.BounceConjuringInfo parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.BounceConjuringInfoOuterClass.BounceConjuringInfo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.BounceConjuringInfoOuterClass.BounceConjuringInfo parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.BounceConjuringInfoOuterClass.BounceConjuringInfo parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.BounceConjuringInfoOuterClass.BounceConjuringInfo parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static emu.grasscutter.net.proto.BounceConjuringInfoOuterClass.BounceConjuringInfo parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.BounceConjuringInfoOuterClass.BounceConjuringInfo parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static emu.grasscutter.net.proto.BounceConjuringInfoOuterClass.BounceConjuringInfo parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.BounceConjuringInfoOuterClass.BounceConjuringInfo parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(emu.grasscutter.net.proto.BounceConjuringInfoOuterClass.BounceConjuringInfo prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code BounceConjuringInfo}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:BounceConjuringInfo)
emu.grasscutter.net.proto.BounceConjuringInfoOuterClass.BounceConjuringInfoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return emu.grasscutter.net.proto.BounceConjuringInfoOuterClass.internal_static_BounceConjuringInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.BounceConjuringInfoOuterClass.internal_static_BounceConjuringInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.BounceConjuringInfoOuterClass.BounceConjuringInfo.class, emu.grasscutter.net.proto.BounceConjuringInfoOuterClass.BounceConjuringInfo.Builder.class);
}
// Construct using emu.grasscutter.net.proto.BounceConjuringInfoOuterClass.BounceConjuringInfo.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
totalDestroyedMachineCount_ = 0;
totalScore_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return emu.grasscutter.net.proto.BounceConjuringInfoOuterClass.internal_static_BounceConjuringInfo_descriptor;
}
@java.lang.Override
public emu.grasscutter.net.proto.BounceConjuringInfoOuterClass.BounceConjuringInfo getDefaultInstanceForType() {
return emu.grasscutter.net.proto.BounceConjuringInfoOuterClass.BounceConjuringInfo.getDefaultInstance();
}
@java.lang.Override
public emu.grasscutter.net.proto.BounceConjuringInfoOuterClass.BounceConjuringInfo build() {
emu.grasscutter.net.proto.BounceConjuringInfoOuterClass.BounceConjuringInfo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public emu.grasscutter.net.proto.BounceConjuringInfoOuterClass.BounceConjuringInfo buildPartial() {
emu.grasscutter.net.proto.BounceConjuringInfoOuterClass.BounceConjuringInfo result = new emu.grasscutter.net.proto.BounceConjuringInfoOuterClass.BounceConjuringInfo(this);
result.totalDestroyedMachineCount_ = totalDestroyedMachineCount_;
result.totalScore_ = totalScore_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof emu.grasscutter.net.proto.BounceConjuringInfoOuterClass.BounceConjuringInfo) {
return mergeFrom((emu.grasscutter.net.proto.BounceConjuringInfoOuterClass.BounceConjuringInfo)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(emu.grasscutter.net.proto.BounceConjuringInfoOuterClass.BounceConjuringInfo other) {
if (other == emu.grasscutter.net.proto.BounceConjuringInfoOuterClass.BounceConjuringInfo.getDefaultInstance()) return this;
if (other.getTotalDestroyedMachineCount() != 0) {
setTotalDestroyedMachineCount(other.getTotalDestroyedMachineCount());
}
if (other.getTotalScore() != 0) {
setTotalScore(other.getTotalScore());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
emu.grasscutter.net.proto.BounceConjuringInfoOuterClass.BounceConjuringInfo parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (emu.grasscutter.net.proto.BounceConjuringInfoOuterClass.BounceConjuringInfo) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int totalDestroyedMachineCount_ ;
/**
* <code>uint32 totalDestroyedMachineCount = 5;</code>
* @return The totalDestroyedMachineCount.
*/
@java.lang.Override
public int getTotalDestroyedMachineCount() {
return totalDestroyedMachineCount_;
}
/**
* <code>uint32 totalDestroyedMachineCount = 5;</code>
* @param value The totalDestroyedMachineCount to set.
* @return This builder for chaining.
*/
public Builder setTotalDestroyedMachineCount(int value) {
totalDestroyedMachineCount_ = value;
onChanged();
return this;
}
/**
* <code>uint32 totalDestroyedMachineCount = 5;</code>
* @return This builder for chaining.
*/
public Builder clearTotalDestroyedMachineCount() {
totalDestroyedMachineCount_ = 0;
onChanged();
return this;
}
private int totalScore_ ;
/**
* <code>uint32 totalScore = 4;</code>
* @return The totalScore.
*/
@java.lang.Override
public int getTotalScore() {
return totalScore_;
}
/**
* <code>uint32 totalScore = 4;</code>
* @param value The totalScore to set.
* @return This builder for chaining.
*/
public Builder setTotalScore(int value) {
totalScore_ = value;
onChanged();
return this;
}
/**
* <code>uint32 totalScore = 4;</code>
* @return This builder for chaining.
*/
public Builder clearTotalScore() {
totalScore_ = 0;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:BounceConjuringInfo)
}
// @@protoc_insertion_point(class_scope:BounceConjuringInfo)
private static final emu.grasscutter.net.proto.BounceConjuringInfoOuterClass.BounceConjuringInfo DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new emu.grasscutter.net.proto.BounceConjuringInfoOuterClass.BounceConjuringInfo();
}
public static emu.grasscutter.net.proto.BounceConjuringInfoOuterClass.BounceConjuringInfo getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<BounceConjuringInfo>
PARSER = new com.google.protobuf.AbstractParser<BounceConjuringInfo>() {
@java.lang.Override
public BounceConjuringInfo parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new BounceConjuringInfo(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser<BounceConjuringInfo> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<BounceConjuringInfo> getParserForType() {
return PARSER;
}
@java.lang.Override
public emu.grasscutter.net.proto.BounceConjuringInfoOuterClass.BounceConjuringInfo getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_BounceConjuringInfo_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_BounceConjuringInfo_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\031BounceConjuringInfo.proto\"M\n\023BounceCon" +
"juringInfo\022\"\n\032totalDestroyedMachineCount" +
"\030\005 \001(\r\022\022\n\ntotalScore\030\004 \001(\rB\033\n\031emu.grassc" +
"utter.net.protob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
});
internal_static_BounceConjuringInfo_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_BounceConjuringInfo_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_BounceConjuringInfo_descriptor,
new java.lang.String[] { "TotalDestroyedMachineCount", "TotalScore", });
}
// @@protoc_insertion_point(outer_class_scope)
}
| 22,933
|
Java
|
.java
|
AngelicPretty/Gshine-Server
| 209
| 35
| 1
|
2023-02-23T01:48:47Z
|
2023-05-11T03:15:36Z
|
8c17a72f5b9e525a24e111f044e0a9e75846ee7c883311311d3577f48478af3f
|
[
325,
13046,
829,
341,
7088,
3129,
8986,
51,
244,
4103,
2387,
18805,
38,
222,
325,
1932,
63,
11547,
8583,
628,
111,
4116,
1139,
51,
1822,
222,
222,
1337,
2667,
122,
51,
791,
369,
104,
4681,
51,
1317,
51,
1822,
64,
222,
222,
942,
1175,
462,
11547,
8583,
628,
111,
4116,
1139,
29094,
320,
353,
964,
11547,
8583,
628,
111,
4116,
1139,
29094,
365,
2172,
353,
581,
924,
782,
3923,
1947,
7460,
45,
416,
785,
51,
2193,
51,
3952,
51,
33976,
10886,
46,
320,
353,
339,
736,
581,
924,
782,
3923,
1947,
7460,
45,
416,
785,
51,
2193,
51,
3952,
51,
27983,
10886,
46,
320,
303,
3923,
1947,
7460,
45,
310,
327,
527,
51,
2193,
51,
3952,
51,
33976,
46,
10886,
312,
353,
339,
353,
581,
2586,
11547,
8583,
628,
111,
4116,
1139,
21181,
2041,
416,
453,
10804,
12422,
100,
16284,
100,
1513,
45,
3352,
100,
9970,
63,
5558,
8583,
628,
111,
4116,
1139,
46,
416,
785,
51,
2193,
51,
3952,
51,
1193,
21181,
320,
465,
1041,
294,
338,
350,
707,
67,
1792,
56,
55,
3410,
42849,
7105,
1552,
299,
244,
58,
2701,
707,
67,
294,
338,
496,
620,
906,
3410,
42849,
7105,
1552,
51,
294,
588,
303,
648,
45272,
42849,
7105,
1552,
492,
465,
1041,
294,
338,
350,
707,
67,
1792,
56,
55,
3410,
7066,
299,
244,
57,
2701,
707,
67,
294,
338,
496,
620,
906,
3410,
7066,
51,
294,
588,
303,
648,
45272,
7066,
492,
353,
339,
353,
1041,
682,
338,
42192,
847,
3105,
707,
11547,
8583,
628,
111,
4116,
1139,
130,
682,
588,
353,
581,
924,
1175,
462,
11547,
8583,
628,
111,
4116,
1139,
2041,
416,
785,
51,
2193,
51,
3952,
51,
26061,
56,
4584,
416,
453,
10804,
12422,
100,
16284,
100,
1513,
45,
1454,
100,
30559,
63,
5558,
8583,
628,
111,
4116,
1139,
46,
416,
11547,
8583,
628,
111,
4116,
1139,
21181,
320,
353,
964,
924,
1175,
1964,
19896,
299,
244,
53,
81,
64,
303,
453,
4443,
11547,
8583,
628,
111,
4116,
1139,
51,
22020,
365,
391,
8551,
51,
303,
964,
11547,
8583,
628,
111,
4116,
1139,
45,
527,
51,
2193,
51,
3952,
51,
26061,
56,
51,
1812,
11667,
4914,
46,
320,
416,
2615,
45,
4179,
312,
303,
339,
303,
964,
11547,
8583,
628,
111,
4116,
1139,
365,
320,
303,
339,
465,
496,
1874,
51,
1600,
51,
1806,
303,
496,
14030,
15540,
12086,
15147,
303,
2532,
1401,
51,
1600,
51,
976,
556,
1825,
45,
310,
1703,
4001,
6533,
3026,
15648,
46,
320,
416,
461,
556,
11547,
8583,
628,
111,
4116,
1139,
492,
303,
339,
465,
496,
1874,
51,
1600,
51,
1806,
303,
581,
1175,
785,
51,
2193,
51,
3952,
51,
33489,
303,
640,
29587,
365,
320,
416,
461,
477,
51,
17548,
64,
303,
339,
303,
964,
11547,
8583,
628,
111,
4116,
1139,
45,
310,
785,
51,
2193,
51,
3952,
51,
41631,
1533,
49,
310,
785,
51,
2193,
51,
3952,
51,
33976,
21984,
46,
310,
2589,
785,
51,
2193,
51,
3952,
51,
31492,
320,
416,
477,
492,
416,
434,
327,
6749,
5389,
630,
762,
46,
320,
310,
1440,
556,
1401,
51,
1600,
51,
26268,
492,
416,
339,
416,
785,
51,
2193,
51,
3952,
51,
33489,
51,
1812,
41790,
299,
633,
785,
51,
2193,
51,
3952,
51,
33489,
51,
22020,
492,
416,
1614,
320,
310,
1922,
3412,
299,
920,
64,
310,
2236,
1445,
5099,
46,
320,
633,
648,
2621,
299,
1533,
51,
870,
2649,
492,
633,
3593,
327,
2159,
46,
320,
343,
1152,
244,
53,
63,
1108,
3412,
299,
878,
64,
1108,
1644,
64,
343,
1152,
244,
56,
55,
63,
320,
13921,
3410,
7066,
100,
299,
1533,
51,
870,
9267,
56,
55,
492,
1108,
1644,
64,
343,
339,
343,
1152,
244,
57,
53,
63,
320,
13921,
3410,
42849,
7105,
1552,
100,
299,
1533,
51,
870,
9267,
56,
55,
492,
1108,
1644,
64,
343,
339,
343,
1263,
63,
320,
1108,
434,
1445,
2228,
5850,
1195,
45,
1764,
1533,
49,
41790,
49,
21984,
49,
2621,
509,
320,
419,
3412,
299,
878,
64,
1108,
339,
1108,
1644,
64,
343,
339,
633,
339,
310,
339,
416,
339,
2385,
327,
527,
51,
2193,
51,
3952,
51,
31492,
503,
46,
320,
310,
1440,
503,
51,
489,
1079,
15017,
1193,
45,
597,
312,
416,
339,
2385,
327,
1874,
51,
735,
51,
6860,
503,
46,
320,
310,
1440,
556,
785,
51,
2193,
51,
3952,
51,
31492,
45,
343,
503,
566,
489,
1079,
15017,
1193,
45,
597,
312,
416,
339,
8312,
320,
310,
477,
51,
17548,
299,
41790,
51,
1848,
492,
310,
1949,
7460,
15026,
492,
416,
339,
303,
339,
303,
581,
924,
1175,
785,
51,
2193,
51,
3952,
51,
17825,
51,
4336,
310,
38767,
365,
320,
416,
461,
2667,
122,
51,
791,
369,
104,
4681,
51,
1317,
51,
1822,
51,
5558,
8583,
628,
111,
4116,
1139,
29094,
51,
3269,
100,
1592,
100,
5558,
8583,
628,
111,
4116,
1139,
100,
9662,
64,
303,
339,
465,
496,
1874,
51,
1600,
51,
1806,
303,
2532,
785,
51,
2193,
51,
3952,
51,
26061,
56,
51,
46450,
310,
3584,
27170,
26809,
365,
320,
416,
461,
2667,
122,
51,
791,
369,
104,
4681,
51,
1317,
51,
1822,
51,
5558,
8583,
628,
111,
4116,
1139,
29094,
51,
3269,
100,
1592,
100,
5558,
8583,
628,
111,
4116,
1139,
100,
46310,
633,
657,
12827,
1195,
44457,
13743,
45,
1108,
2667,
122,
51,
791,
369,
104,
4681,
51,
1317,
51,
1822,
51,
5558,
8583,
628,
111,
4116,
1139,
29094,
51,
5558,
8583,
628,
111,
4116,
1139,
51,
842,
49,
2667,
122,
51,
791,
369,
104,
4681,
51,
1317,
51,
1822,
51,
5558,
8583,
628,
111,
4116,
1139,
29094,
51,
5558,
8583,
628,
111,
4116,
1139,
51,
1812,
51,
842,
312,
303,
339,
465,
581,
924,
1175,
648,
44248,
744,
46498,
1363,
29579,
7516,
100,
6457,
100,
10468,
299,
244,
58,
64,
303,
964,
648,
3410,
42849,
7105,
1552,
4131,
303,
1041,
294,
338,
350,
707,
67,
1792,
56,
55,
3410,
42849,
7105,
1552,
299,
244,
58,
2701,
707,
67,
294,
338,
496,
620,
906,
3410,
42849,
7105,
1552,
51,
294,
588,
303,
496,
1874,
51,
1600,
51,
1806,
303,
581,
648,
45272,
42849,
7105,
1552,
365,
320,
416,
461,
3410,
42849,
7105,
1552,
4131,
303,
339,
465,
581,
924,
1175,
648,
44248,
744,
34547,
100,
6457,
100,
10468,
299,
244,
57,
64,
303,
964,
648,
3410,
7066,
4131,
303,
1041,
294,
338,
350,
707,
67,
1792,
56,
55,
3410,
7066,
299,
244,
57,
2701,
707,
67,
294,
338,
496,
620,
906,
3410,
7066,
51,
294,
588,
303,
496,
1874,
51,
1600,
51,
1806,
303,
581,
648,
45272,
7066,
365,
320,
416,
461,
3410,
7066,
4131,
303,
339,
465,
964,
3447,
31407,
44658,
299,
449,
54,
64,
303,
496,
1874,
51,
1600,
51,
1806,
303,
581,
1175,
1922,
458,
13743,
365,
320,
416,
3447,
458,
13743,
299,
31407,
44658,
64,
416,
434,
327,
43849,
630,
244,
54,
46,
461,
878,
64,
416,
434,
327,
43849,
630,
244,
53,
46,
461,
920,
64,
1704,
31407,
44658,
299,
244,
54,
64,
416,
461,
878,
64,
303,
339,
465,
496,
1874,
51,
1600,
51,
1806,
303,
581,
782,
48562,
45,
527,
51,
2193,
51,
3952,
51,
36107,
1716,
46,
733,
2589,
1401,
51,
735,
51,
6860,
320,
416,
434,
327,
3025,
7066,
100,
882,
244,
53,
46,
320,
310,
1716,
51,
1838,
9267,
56,
55,
45,
57,
49,
3410,
7066,
7227,
416,
339,
416,
434,
327,
3025,
42849,
7105,
1552,
100,
882,
244,
53,
46,
320,
310,
1716,
51,
1838,
9267,
56,
55,
45,
58,
49,
3410,
42849,
7105,
1552,
7227,
416,
339,
416,
41790,
51,
43319,
45,
2051,
312,
303,
339,
465,
496,
1874,
51,
1600,
51,
1806,
303,
581,
648,
640,
14313,
1269,
365,
320,
416,
648,
1354,
299,
31407,
1269,
64,
416,
434,
327,
911,
882,
449,
54,
46,
461,
1354,
64,
1704,
1354,
299,
244,
53,
64,
416,
434,
327,
3025,
7066,
100,
882,
244,
53,
46,
320,
310,
1354,
1475,
785,
51,
2193,
51,
3952,
51,
36107,
633,
657,
7946,
9267,
56,
55,
1269,
45,
57,
49,
3410,
7066,
7227,
416,
339,
416,
434,
327,
3025,
42849,
7105,
1552,
100,
882,
244,
53,
46,
320,
310,
1354,
1475,
785,
51,
2193,
51,
3952,
51,
36107,
633,
657,
7946,
9267,
56,
55,
1269,
45,
58,
49,
3410,
42849,
7105,
1552,
7227,
416,
339,
416,
1354,
1475,
41790,
51,
390,
14313,
1269,
492,
416,
31407,
1269,
299,
1354,
64,
416,
461,
1354,
64,
303,
339,
465,
496,
1874,
51,
1600,
51,
1806,
303,
581,
1922,
12432,
45,
3242,
1401,
51,
1600,
51,
976,
2847,
46,
320,
416,
434,
327,
2085,
630,
477,
46,
320,
1586,
461,
878,
64,
416,
339,
416,
434,
11014,
2085,
5118,
2667,
122,
51,
791,
369,
104,
4681,
51,
1317,
51,
1822,
51,
5558,
8583,
628,
111,
4116,
1139,
29094,
51,
5558,
8583,
628,
111,
4116,
1139,
509,
320,
310,
461,
2615,
51,
3591,
45,
2085,
312,
416,
339,
416,
2667,
122,
51,
791,
369,
104,
4681,
51,
1317,
51,
1822,
51,
5558,
8583,
628,
111,
4116,
1139,
29094,
51,
5558,
8583,
628,
111,
4116,
1139,
1623,
299,
327,
22241,
51,
791,
369,
104,
4681,
51,
1317,
51,
1822,
51,
5558,
8583,
628,
111,
4116,
1139,
29094,
51,
5558,
8583,
628,
111,
4116,
1139,
46,
2847,
64,
1704,
434,
327,
30271,
42849,
7105,
1552,
365,
633,
882,
1623,
51,
30271,
42849,
7105,
1552,
1177,
461,
920,
64,
416,
434,
327,
30271,
7066,
365,
633,
882,
1623,
51,
30271,
7066,
1177,
461,
920,
64,
416,
434,
1445,
17548,
51,
3591,
45,
2476,
51,
17548,
509,
461,
920,
64,
416,
461,
878,
64,
303,
339,
465,
496,
1874,
51,
1600,
51,
1806,
303,
581,
648,
17759,
365,
320,
416,
434,
327,
19096,
1209,
14940,
882,
244,
53,
46,
320,
310,
461,
31407,
14940,
64,
416,
339,
416,
648,
3696,
299,
244,
57,
54,
64,
416,
3696,
299,
327,
54,
62,
338,
3696,
46,
494,
38767,
941,
14941,
492,
416,
3696,
299,
327,
56,
60,
338,
3696,
46,
494,
44248,
744,
46498,
1363,
29579,
7516,
100,
6457,
100,
10468,
64,
416,
3696,
299,
327,
58,
56,
338,
3696,
46,
494,
45272,
42849,
7105,
1552,
492,
416,
3696,
299,
327,
56,
60,
338,
3696,
46,
494,
44248,
744,
34547,
100,
6457,
100,
10468,
64,
416,
3696,
299,
327,
58,
56,
338,
3696,
46,
494,
45272,
7066,
492,
416,
3696,
299,
327,
55,
62,
338,
3696,
46,
494,
41790,
51,
14941,
492,
416,
31407,
14940,
299,
3696,
64,
416,
461,
3696,
64,
303,
339,
465,
581,
924,
2667,
122,
51,
791,
369,
104,
4681,
51,
1317,
51,
1822,
51,
5558,
8583,
628,
111,
4116,
1139,
29094,
51,
5558,
8583,
628,
111,
4116,
1139,
32950,
45,
310,
1401,
51,
11780,
51,
21042,
727,
46,
310,
2589,
785,
51,
2193,
51,
3952,
51,
31492,
320,
416,
461,
27879,
51,
38948,
45,
624,
312,
303,
339,
303,
581,
924,
2667,
122,
51,
791,
369,
104,
4681,
51,
1317,
51,
1822,
51,
5558,
8583,
628,
111,
4116,
1139,
29094,
51,
5558,
8583,
628,
111,
4116,
1139,
32950,
45,
310,
1401,
51,
11780,
51,
21042,
727,
49,
310,
785,
51,
2193,
51,
3952,
51,
33976,
21984,
46,
310,
2589,
785,
51,
2193,
51,
3952,
51,
31492,
320,
416,
461,
27879,
51,
38948,
45,
624,
49,
21984,
312,
303,
339,
303,
581,
924,
2667,
122,
51,
791,
369,
104,
4681,
51,
1317,
51,
1822,
51,
5558,
8583,
628,
111,
4116,
1139,
29094,
51,
5558,
8583,
628,
111,
4116,
1139,
32950,
45,
310,
785,
51,
2193,
51,
3952,
51,
16079,
727,
46,
310,
2589,
785,
51,
2193,
51,
3952,
51,
31492,
320,
416,
461,
27879,
51,
38948,
45,
624,
312,
303,
339,
303,
581,
924,
2667,
122,
51,
791,
369,
104,
4681,
51,
1317,
51,
1822,
51,
5558,
8583,
628,
111,
4116,
1139,
29094,
51,
5558,
8583,
628,
111,
4116,
1139,
32950,
45,
310,
785,
51,
2193,
51,
3952,
51,
16079,
727,
49,
310,
785,
51,
2193,
51,
3952,
51,
33976,
21984,
46,
310,
2589,
785,
51,
2193,
51,
3952,
51,
31492,
320,
416,
461,
27879,
51,
38948,
45,
624,
49,
21984,
312,
303,
339,
303,
581,
924,
2667,
122,
51,
791,
369,
104,
4681,
51,
1317,
51,
1822,
51,
5558,
8583,
628,
111,
4116,
1139,
29094,
51,
5558,
8583,
628,
111,
4116,
1139,
32950,
45,
2278,
1197,
727,
46,
310,
2589,
785,
51,
2193,
51,
3952,
51,
31492,
320,
416,
461,
27879,
51,
38948,
45,
624,
312,
303,
339,
303,
581,
924,
2667,
122,
51,
791,
369,
104,
4681,
51,
1317,
51,
1822,
51,
5558,
8583,
628,
111,
4116,
1139,
29094,
51,
5558,
8583,
628,
111,
4116,
1139,
32950,
45,
310,
3447,
1197,
727,
49,
310,
785,
51,
2193,
51,
3952,
51,
33976,
21984,
46,
310,
2589,
785,
51,
2193,
51,
3952,
51,
31492,
320,
416,
461,
27879,
51,
38948,
45,
624,
49,
21984,
312,
303,
339,
303,
581,
924,
2667,
122,
51,
791,
369,
104,
4681,
51,
1317,
51,
1822,
51,
5558,
8583,
628,
111,
4116,
1139,
29094,
51,
5558,
8583,
628,
111,
4116,
1139,
32950,
45,
1874,
51,
735,
51,
6989,
1533,
46,
310,
2589,
1401,
51,
735,
51,
6860,
320,
416,
461,
785,
51,
2193,
51,
3952,
51,
26061,
56,
633,
657,
2228,
1569,
6860,
45,
28107,
49,
1533,
312,
303,
339,
303,
581,
924,
2667,
122,
51,
791,
369,
104,
4681,
51,
1317,
51,
1822,
51,
5558,
8583,
628,
111,
4116,
1139,
29094,
51,
5558,
8583,
628,
111,
4116,
1139,
32950,
45,
310,
1401,
51,
735,
51,
6989,
1533,
49,
310,
785,
51,
2193,
51,
3952,
51,
33976,
21984,
46,
310,
2589,
1401,
51,
735,
51,
6860,
320,
416,
461,
785,
51,
2193,
51,
3952,
51,
26061,
56,
633,
657,
2228,
1569,
6860,
45,
28107,
49,
1533,
49,
21984,
312,
303,
339,
303,
581,
924,
2667,
122,
51,
791,
369,
104,
4681,
51,
1317,
51,
1822,
51,
5558,
8583,
628,
111,
4116,
1139,
29094,
51,
5558,
8583,
628,
111,
4116,
1139,
3203,
32038,
1811,
45,
1874,
51,
735,
51,
6989,
1533,
46,
310,
2589,
1401,
51,
735,
51,
6860,
320,
416,
461,
785,
51,
2193,
51,
3952,
51,
26061,
56,
633,
657,
2228,
32038,
1569,
6860,
45,
28107,
49,
1533,
312,
303,
339,
303,
581,
924,
2667,
122,
51,
791,
369,
104,
4681,
51,
1317,
51,
1822,
51,
5558,
8583,
628,
111,
4116,
1139,
29094,
51,
5558,
8583,
628,
111,
4116,
1139,
3203,
32038,
1811,
45,
310,
1401,
51,
735,
51,
6989,
1533,
49,
310,
785,
51,
2193,
51,
3952,
51,
33976,
21984,
46,
310,
2589,
1401,
51,
735,
51,
6860,
320,
416,
461,
785,
51,
2193,
51,
3952,
51,
26061,
56,
633,
657,
2228,
32038,
1569,
6860,
45,
28107,
49,
1533,
49,
21984,
312,
303,
339,
303,
581,
924,
2667,
122,
51,
791,
369,
104,
4681,
51,
1317,
51,
1822,
51,
5558,
8583,
628,
111,
4116,
1139,
29094,
51,
5558,
8583,
628,
111,
4116,
1139,
32950,
45,
310,
785,
51,
2193,
51,
3952,
51,
41631,
1533,
46,
310,
2589,
1401,
51,
735,
51,
6860,
320,
416,
461,
785,
51,
2193,
51,
3952,
51,
26061,
56,
633,
657,
2228,
1569,
6860,
45,
28107,
49,
1533,
312,
303,
339,
303,
581,
924,
2667,
122,
51,
791,
369,
104,
4681,
51,
1317,
51,
1822,
51,
5558,
8583,
628,
111,
4116,
1139,
29094,
51,
5558,
8583,
628,
111,
4116,
1139,
32950,
45,
310,
785,
51,
2193,
51,
3952,
51,
41631,
1533,
49,
310,
785,
51,
2193,
51,
3952,
51,
33976,
21984,
46,
310,
2589,
1401,
51,
735,
51,
6860,
320,
416,
461,
785,
51,
2193,
51,
3952,
51,
26061,
56,
633,
657,
2228,
1569,
6860,
45,
28107,
49,
1533,
49,
21984,
312,
303,
339,
465,
496,
1874,
51,
1600,
51,
1806,
303,
581,
7963,
40093,
28510,
365,
320,
461,
40093,
492,
339,
303,
581,
924,
7963,
40093,
365,
320,
416,
461,
4050,
100,
12457,
51,
471,
1812,
492,
303,
339,
303,
581,
924,
7963,
40093,
45,
22241,
51,
791,
369,
104,
4681,
51,
1317,
51,
1822,
51,
5558,
8583,
628,
111,
4116,
1139,
29094,
51,
5558,
8583,
628,
111,
4116,
1139,
21634,
46,
320,
416,
461,
4050,
100,
12457,
51,
471,
1812,
941,
39348,
45,
3900,
312,
303,
339,
303,
496,
1874,
51,
1600,
51,
1806,
303,
581,
7963,
391,
1812,
365,
320,
416,
461,
477,
630,
4050,
100,
12457,
633,
1037,
556,
7963,
365,
518,
556,
7963,
941,
39348,
45,
597,
312,
303,
339,
465,
496,
1874,
51,
1600,
51,
1806,
303,
2532,
7963,
40093,
28510,
45,
310,
785,
51,
2193,
51,
3952,
51,
26061,
56,
51,
1812,
4449,
2952,
46,
320,
416,
7963,
4914,
299,
556,
7963,
45,
2562,
312,
416,
461,
4914,
64,
303,
339,
303,
1041,
294,
338,
42192,
847,
3105,
707,
11547,
8583,
628,
111,
4116,
1139,
130,
294,
588,
303,
581,
924,
1175,
462,
7963,
2041,
310,
785,
51,
2193,
51,
3952,
51,
26061,
56,
51,
1812,
65,
1812,
67,
4584,
310,
453,
10804,
12422,
100,
16284,
100,
1513,
45,
4179,
100,
30559,
63,
5558,
8583,
628,
111,
4116,
1139,
46,
310,
2667,
122,
51,
791,
369,
104,
4681,
51,
1317,
51,
1822,
51,
5558,
8583,
628,
111,
4116,
1139,
29094,
51,
5558,
8583,
628,
111,
4116,
1139,
21181,
320,
416,
581,
924,
1175,
785,
51,
2193,
51,
3952,
51,
17825,
51,
4336,
633,
38767,
365,
320,
310,
461,
2667,
122,
51,
791,
369,
104,
4681,
51,
1317,
51,
1822,
51,
5558,
8583,
628,
111,
4116,
1139,
29094,
51,
3269,
100,
1592,
100,
5558,
8583,
628,
111,
4116,
1139,
100,
9662,
64,
416,
339,
1704,
496,
1874,
51,
1600,
51,
1806,
416,
2532,
785,
51,
2193,
51,
3952,
51,
26061,
56,
51,
46450,
633,
3584,
27170,
26809,
365,
320,
310,
461,
2667,
122,
51,
791,
369,
104,
4681,
51,
1317,
51,
1822,
51,
5558,
8583,
628,
111,
4116,
1139,
29094,
51,
3269,
100,
1592,
100,
5558,
8583,
628,
111,
4116,
1139,
100,
46310,
343,
657,
12827,
1195,
44457,
13743,
45,
419,
2667,
122,
51,
791,
369,
104,
4681,
51,
1317,
51,
1822,
51,
5558,
8583,
628,
111,
4116,
1139,
29094,
51,
5558,
8583,
628,
111,
4116,
1139,
51,
842,
49,
2667,
122,
51,
791,
369,
104,
4681,
51,
1317,
51,
1822,
51,
5558,
8583,
628,
111,
4116,
1139,
29094,
51,
5558,
8583,
628,
111,
4116,
1139,
51,
1812,
51,
842,
312,
416,
339,
1704,
453,
12983,
1493,
2667,
122,
51,
791,
369,
104,
4681,
51,
1317,
51,
1822,
51,
5558,
8583,
628,
111,
4116,
1139,
29094,
51,
5558,
8583,
628,
111,
4116,
1139,
51,
22020,
365,
416,
964,
7963,
365,
320,
310,
8784,
10500,
1812,
20336,
492,
416,
339,
1704,
964,
7963,
45,
633,
785,
51,
2193,
51,
3952,
51,
26061,
56,
51,
1812,
4449,
2952,
46,
320,
310,
2615,
45,
2562,
312,
310,
8784,
10500,
1812,
20336,
492,
416,
339,
416,
964,
782,
8784,
10500,
1812,
20336,
365,
320,
310,
434,
327,
527,
51,
2193,
51,
3952,
51,
26061,
56,
419,
657,
12152,
4404,
1195,
30251,
46,
320,
310,
339,
416,
339,
416,
496,
1874,
51,
1600,
51,
1806,
416,
581,
7963,
4250,
365,
320,
310,
2615,
51,
3830,
492,
310,
3410,
42849,
7105,
1552,
100,
299,
244,
53,
64,
603,
3410,
7066,
100,
299,
244,
53,
64,
603,
461,
477,
64,
416,
339,
1704,
496,
1874,
51,
1600,
51,
1806,
416,
581,
785,
51,
2193,
51,
3952,
51,
17825,
51,
4336,
633,
38767,
28510,
365,
320,
310,
461,
2667,
122,
51,
791,
369,
104,
4681,
51,
1317,
51,
1822,
51,
5558,
8583,
628,
111,
4116,
1139,
29094,
51,
3269,
100,
1592,
100,
5558,
8583,
628,
111,
4116,
1139,
100,
9662,
64,
416,
339,
1704,
496,
1874,
51,
1600,
51,
1806,
416,
581,
2667,
122,
51,
791,
369,
104,
4681,
51,
1317,
51,
1822,
51,
5558,
8583,
628,
111,
4116,
1139,
29094,
51,
5558,
8583,
628,
111,
4116,
1139,
23916,
1825,
28510,
365,
320,
310,
461,
2667,
122,
51,
791,
369,
104,
4681,
51,
1317,
51,
1822,
51,
5558,
8583,
628,
111,
4116,
1139,
29094,
51,
5558,
8583,
628,
111,
4116,
1139,
51,
36777,
492,
416,
339,
1704,
496,
1874,
51,
1600,
51,
1806,
416,
581,
2667,
122,
51,
791,
369,
104,
4681,
51,
1317,
51,
1822,
51,
5558,
8583,
628,
111,
4116,
1139,
29094,
51,
5558,
8583,
628,
111,
4116,
1139,
1984,
365,
320,
310,
2667,
122,
51,
791,
369,
104,
4681,
51,
1317,
51,
1822,
51,
5558,
8583,
628,
111,
4116,
1139,
29094,
51,
5558,
8583,
628,
111,
4116,
1139,
1074,
299,
1984,
12229,
492,
310,
434,
1445,
1285,
51,
43849,
1177,
320,
633,
1440,
556,
1079,
16150,
1193,
1002,
45,
1285,
312,
310,
339,
310,
461,
1074,
64,
416,
339,
1704,
496,
1874,
51,
1600,
51,
1806,
416,
581,
2667,
122,
51,
791,
369,
104,
4681,
51,
1317,
51,
1822,
51,
5558,
8583,
628,
111,
4116,
1139,
29094,
51,
5558,
8583,
628,
111,
4116,
1139,
1984,
12229,
365,
320,
310,
2667,
122,
51,
791,
369,
104,
4681,
51,
1317,
51,
1822,
51,
5558,
8583,
628,
111,
4116,
1139,
29094,
51,
5558,
8583,
628,
111,
4116,
1139,
1074,
299,
556,
2667,
122,
51,
791,
369,
104,
4681,
51,
1317,
51,
1822,
51,
5558,
8583,
628,
111,
4116,
1139,
29094,
51,
5558,
8583,
628,
111,
4116,
1139,
45,
597,
312,
310,
1074,
51,
3025,
42849,
7105,
1552,
100,
299,
3410,
42849,
7105,
1552,
4131,
310,
1074,
51,
3025,
7066,
100,
299,
3410,
7066,
4131,
310,
563,
15115,
492,
310,
461,
1074,
64,
416,
339,
1704,
496,
1874,
51,
1600,
51,
1806,
416,
581,
7963,
7905,
365,
320,
310,
461,
2615,
51,
6371,
492,
416,
339,
416,
496,
1874,
51,
1600,
51,
1806,
416,
581,
7963,
758,
1195,
45,
633,
785,
51,
2193,
51,
3952,
51,
17825,
51,
45392,
1620,
49,
633,
1401,
51,
1600,
51,
976,
804,
46,
320,
310,
461,
2615,
51,
46818,
45,
1512,
49,
804,
312,
416,
339,
416,
496,
1874,
51,
1600,
51,
1806,
416,
581,
7963,
4250,
1195,
45,
633,
785,
51,
2193,
51,
3952,
51,
17825,
51,
45392,
1620,
46,
320,
310,
461,
2615,
51,
3830,
1195,
45,
1512,
312,
416,
339,
416,
496,
1874,
51,
1600,
51,
1806,
416,
581,
7963,
4250,
35209,
45,
633,
785,
51,
2193,
51,
3952,
51,
17825,
51,
35209,
4336,
1611,
1048,
46,
320,
310,
461,
2615,
51,
3830,
35209,
45,
677,
1048,
312,
416,
339,
416,
496,
1874,
51,
1600,
51,
1806,
416,
581,
7963,
758,
47248,
45,
633,
785,
51,
2193,
51,
3952,
51,
17825,
51,
45392,
1620,
49,
633,
648,
1671,
49,
1401,
51,
1600,
51,
976,
804,
46,
320,
310,
461,
2615,
51,
489,
47248,
45,
1512,
49,
1671,
49,
804,
312,
416,
339,
416,
496,
1874,
51,
1600,
51,
1806,
416,
581,
7963,
1035,
47248,
45,
633,
785,
51,
2193,
51,
3952,
51,
17825,
51,
45392,
1620,
49,
633,
1401,
51,
1600,
51,
976,
804,
46,
320,
310,
461,
2615,
51,
688,
47248,
45,
1512,
49,
804,
312,
416,
339,
416,
496,
1874,
51,
1600,
51,
1806,
416,
581,
7963,
48921,
45,
527,
51,
2193,
51,
3952,
51,
1193,
1623,
46,
320,
310,
434,
327,
2476,
5118,
2667,
122,
51,
791,
369,
104,
4681,
51,
1317,
51,
1822,
51,
5558,
8583,
628,
111,
4116,
1139,
29094,
51,
5558,
8583,
628,
111,
4116,
1139,
46,
320,
633,
461,
48921,
1181,
22241,
51,
791,
369,
104,
4681,
51,
1317,
51,
1822,
51,
5558,
8583,
628,
111,
4116,
1139,
29094,
51,
5558,
8583,
628,
111,
4116,
1139,
46,
2476,
312,
310,
339,
832,
320,
633,
2615,
51,
39348,
45,
2476,
312,
633,
461,
477,
64,
310,
339,
416,
339,
1704,
581,
7963,
48921,
45,
22241,
51,
791,
369,
104,
4681,
51,
1317,
51,
1822,
51,
5558,
8583,
628,
111,
4116,
1139,
29094,
51,
5558,
8583,
628,
111,
4116,
1139,
1623,
46,
320,
310,
434,
327,
2476,
630,
2667,
122,
51,
791,
369,
104,
4681,
51,
1317,
51,
1822,
51,
5558,
8583,
628,
111,
4116,
1139,
29094,
51,
5558,
8583,
628,
111,
4116,
1139,
51,
36777,
1177,
461,
477,
64,
310,
434,
327,
2476,
51,
30271,
42849,
7105,
1552,
365,
882,
244,
53,
46,
320,
633,
758,
4767,
42849,
7105,
1552,
45,
2476,
51,
30271,
42849,
7105,
1552,
1052,
310,
339,
310,
434,
327,
2476,
51,
30271,
7066,
365,
882,
244,
53,
46,
320,
633,
758,
4767,
7066,
45,
2476,
51,
30271,
7066,
1052,
310,
339,
310,
477,
51,
6097,
29587,
45,
2476,
51,
17548,
312,
310,
20662,
492,
310,
461,
477,
64,
416,
339,
1704,
496,
1874,
51,
1600,
51,
1806,
416,
581,
1175,
1922,
458,
13743,
365,
320,
310,
461,
878,
64,
416,
339,
1704,
496,
1874,
51,
1600,
51,
1806,
416,
581,
7963,
48921,
45,
633,
785,
51,
2193,
51,
3952,
51,
41631,
1533,
49,
633,
785,
51,
2193,
51,
3952,
51,
33976,
21984,
46,
633,
2589,
1401,
51,
735,
51,
6860,
320,
310,
2667,
122,
51,
791,
369,
104,
4681,
51,
1317,
51,
1822,
51,
5558,
8583,
628,
111,
4116,
1139,
29094,
51,
5558,
8583,
628,
111,
4116,
1139,
8450,
1193,
299,
762,
64,
310,
1614,
320,
633,
8450,
1193,
299,
27879,
51,
2228,
12229,
1811,
45,
1151,
49,
21984,
312,
310,
339,
2385,
327,
527,
51,
2193,
51,
3952,
51,
31492,
503,
46,
320,
633,
8450,
1193,
299,
327,
22241,
51,
791,
369,
104,
4681,
51,
1317,
51,
1822,
51,
5558,
8583,
628,
111,
4116,
1139,
29094,
51,
5558,
8583,
628,
111,
4116,
1139,
46,
503,
51,
36127,
15017,
1193,
492,
633,
1440,
503,
51,
7523,
6860,
492,
310,
339,
8312,
320,
633,
434,
327,
12885,
1193,
882,
762,
46,
320,
343,
48921,
45,
12885,
1193,
312,
633,
339,
310,
339,
310,
461,
477,
64,
416,
339,
1704,
964,
648,
3410,
42849,
7105,
1552,
100,
2098,
416,
1041,
1586,
338,
350,
707,
67,
1792,
56,
55,
3410,
42849,
7105,
1552,
299,
244,
58,
2701,
707,
67,
1586,
338,
496,
620,
906,
3410,
42849,
7105,
1552,
51,
1586,
588,
416,
496,
1874,
51,
1600,
51,
1806,
416,
581,
648,
45272,
42849,
7105,
1552,
365,
320,
310,
461,
3410,
42849,
7105,
1552,
4131,
416,
339,
416,
1041,
1586,
338,
350,
707,
67,
1792,
56,
55,
3410,
42849,
7105,
1552,
299,
244,
58,
2701,
707,
67,
1586,
338,
496,
772,
804,
906,
3410,
42849,
7105,
1552,
391,
758,
51,
1586,
338,
496,
620,
1369,
4914,
456,
37989,
51,
1586,
588,
416,
581,
7963,
758,
4767,
42849,
7105,
1552,
45,
429,
804,
46,
320,
2776,
3410,
42849,
7105,
1552,
100,
299,
804,
64,
310,
20662,
492,
310,
461,
477,
64,
416,
339,
416,
1041,
1586,
338,
350,
707,
67,
1792,
56,
55,
3410,
42849,
7105,
1552,
299,
244,
58,
2701,
707,
67,
1586,
338,
496,
620,
1369,
4914,
456,
37989,
51,
1586,
588,
416,
581,
7963,
4250,
4767,
42849,
7105,
1552,
365,
320,
2776,
3410,
42849,
7105,
1552,
100,
299,
244,
53,
64,
310,
20662,
492,
310,
461,
477,
64,
416,
339,
1704,
964,
648,
3410,
7066,
100,
2098,
416,
1041,
1586,
338,
350,
707,
67,
1792,
56,
55,
3410,
7066,
299,
244,
57,
2701,
707,
67,
1586,
338,
496,
620,
906,
3410,
7066,
51,
1586,
588,
416,
496,
1874,
51,
1600,
51,
1806,
416,
581,
648,
45272,
7066,
365,
320,
310,
461,
3410,
7066,
4131,
416,
339,
416,
1041,
1586,
338,
350,
707,
67,
1792,
56,
55,
3410,
7066,
299,
244,
57,
2701,
707,
67,
1586,
338,
496,
772,
804,
906,
3410,
7066,
391,
758,
51,
1586,
338,
496,
620,
1369,
4914,
456,
37989,
51,
1586,
588,
416,
581,
7963,
758,
4767,
7066,
45,
429,
804,
46,
320,
2776,
3410,
7066,
100,
299,
804,
64,
310,
20662,
492,
310,
461,
477,
64,
416,
339,
416,
1041,
1586,
338,
350,
707,
67,
1792,
56,
55,
3410,
7066,
299,
244,
57,
2701,
707,
67,
1586,
338,
496,
620,
1369,
4914,
456,
37989,
51,
1586,
588,
416,
581,
7963,
4250,
4767,
7066,
365,
320,
2776,
3410,
7066,
100,
299,
244,
53,
64,
310,
20662,
492,
310,
461,
477,
64,
416,
339,
416,
496,
1874,
51,
1600,
51,
1806,
416,
581,
1175,
7963,
758,
29587,
45,
633,
1175,
785,
51,
2193,
51,
3952,
51,
33489,
41790,
46,
320,
310,
461,
2615,
51,
489,
29587,
45,
17548,
312,
416,
339,
1704,
496,
1874,
51,
1600,
51,
1806,
416,
581,
1175,
7963,
4009,
29587,
45,
633,
1175,
785,
51,
2193,
51,
3952,
51,
33489,
41790,
46,
320,
310,
461,
2615,
51,
6097,
29587,
45,
17548,
312,
416,
339,
27396,
453,
10804,
12422,
100,
16284,
100,
1513,
45,
4179,
100,
3488,
63,
5558,
8583,
628,
111,
4116,
1139,
46,
303,
339,
465,
453,
10804,
12422,
100,
16284,
100,
1513,
45,
842,
100,
3488,
63,
5558,
8583,
628,
111,
4116,
1139,
46,
303,
964,
924,
1175,
2667,
122,
51,
791,
369,
104,
4681,
51,
1317,
51,
1822,
51,
5558,
8583,
628,
111,
4116,
1139,
29094,
51,
5558,
8583,
628,
111,
4116,
1139,
4050,
100,
12457,
64,
303,
924,
320,
416,
4050,
100,
12457,
299,
556,
2667,
122,
51,
791,
369,
104,
4681,
51,
1317,
51,
1822,
51,
5558,
8583,
628,
111,
4116,
1139,
29094,
51,
5558,
8583,
628,
111,
4116,
1139,
492,
303,
339,
465,
581,
924,
2667,
122,
51,
791,
369,
104,
4681,
51,
1317,
51,
1822,
51,
5558,
8583,
628,
111,
4116,
1139,
29094,
51,
5558,
8583,
628,
111,
4116,
1139,
23916,
1825,
365,
320,
416,
461,
4050,
100,
12457,
64,
303,
339,
465,
964,
924,
1175,
785,
51,
2193,
51,
3952,
51,
2837,
65,
5558,
8583,
628,
111,
4116,
1139,
67,
310,
27879,
299,
556,
785,
51,
2193,
51,
3952,
51,
5597,
2837,
65,
5558,
8583,
628,
111,
4116,
1139,
6939,
320,
416,
496,
1874,
51,
1600,
51,
1806,
416,
581,
11547,
8583,
628,
111,
4116,
1139,
3203,
12229,
1811,
45,
633,
785,
51,
2193,
51,
3952,
51,
41631,
1533,
49,
633,
785,
51,
2193,
51,
3952,
51,
33976,
21984,
46,
633,
2589,
785,
51,
2193,
51,
3952,
51,
31492,
320,
310,
461,
556,
11547,
8583,
628,
111,
4116,
1139,
45,
1151,
49,
21984,
312,
416,
339,
303,
1487,
465,
581,
924,
785,
51,
2193,
51,
3952,
51,
2837,
65,
5558,
8583,
628,
111,
4116,
1139,
67,
4138,
365,
320,
416,
461,
27879,
64,
303,
339,
465,
496,
1874,
51,
1600,
51,
1806,
303,
581,
785,
51,
2193,
51,
3952,
51,
2837,
65,
5558,
8583,
628,
111,
4116,
1139,
67,
640,
2837,
28510,
365,
320,
416,
461,
27879,
64,
303,
339,
465,
496,
1874,
51,
1600,
51,
1806,
303,
581,
2667,
122,
51,
791,
369,
104,
4681,
51,
1317,
51,
1822,
51,
5558,
8583,
628,
111,
4116,
1139,
29094,
51,
5558,
8583,
628,
111,
4116,
1139,
23916,
1825,
28510,
365,
320,
416,
461,
4050,
100,
12457,
64,
303,
339,
736,
339,
736,
964,
924,
1175,
785,
51,
2193,
51,
3952,
51,
17825,
51,
4336,
303,
3584,
100,
1592,
100,
5558,
8583,
628,
111,
4116,
1139,
100,
9662,
64,
353,
964,
924,
1175,
3751,
785,
51,
2193,
51,
3952,
51,
26061,
56,
51,
46450,
416,
3584,
100,
1592,
100,
5558,
8583,
628,
111,
4116,
1139,
100,
46310,
64,
736,
581,
924,
785,
51,
2193,
51,
3952,
51,
17825,
51,
33719,
416,
38767,
365,
320,
303,
461,
9869,
64,
353,
339,
353,
964,
924,
244,
785,
51,
2193,
51,
3952,
51,
17825,
51,
33719,
416,
9869,
64,
353,
924,
320,
303,
1401,
51,
1600,
51,
671,
1197,
9869,
768,
299,
320,
416,
2724,
115,
97,
53,
56,
54,
5558,
8583,
628,
111,
4116,
1139,
51,
1822,
1508,
82,
97,
115,
97,
53,
55,
56,
5558,
8583,
628,
39,
494,
416,
332,
111,
4116,
1139,
97,
53,
55,
55,
13512,
115,
97,
53,
56,
55,
3025,
42849,
7105,
1552,
39,
494,
416,
2724,
53,
56,
53,
97,
53,
53,
58,
788,
53,
53,
54,
5026,
119,
97,
53,
55,
55,
97,
53,
55,
55,
97,
115,
97,
585,
1583,
7066,
97,
53,
56,
53,
97,
53,
53,
57,
788,
53,
53,
54,
5026,
119,
71,
97,
53,
56,
56,
97,
115,
97,
53,
56,
54,
22241,
51,
791,
369,
104,
39,
494,
416,
332,
4681,
51,
1317,
51,
1822,
103,
97,
53,
53,
59,
1822,
56,
39,
303,
1487,
303,
9869,
299,
785,
51,
2193,
51,
3952,
51,
17825,
51,
33719,
416,
657,
3269,
3328,
6540,
991,
1811,
45,
9662,
768,
49,
310,
556,
785,
51,
2193,
51,
3952,
51,
17825,
51,
33719,
1197,
320,
310,
1141,
303,
3584,
100,
1592,
100,
5558,
8583,
628,
111,
4116,
1139,
100,
9662,
299,
416,
38767,
941,
7724,
2439,
941,
390,
45,
53,
312,
303,
3584,
100,
1592,
100,
5558,
8583,
628,
111,
4116,
1139,
100,
46310,
299,
556,
416,
785,
51,
2193,
51,
3952,
51,
26061,
56,
51,
46450,
45,
310,
3584,
100,
1592,
100,
5558,
8583,
628,
111,
4116,
1139,
100,
9662,
49,
310,
556,
1401,
51,
1600,
51,
671,
1197,
320,
332,
4767,
42849,
7105,
1552,
411,
332,
4767,
7066,
411,
1141,
353,
339,
736,
453,
10804,
12422,
100,
16284,
100,
1513,
45,
11949,
100,
842,
100,
3488,
46,
222,
130,
222
] |
[
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 5,403
| true
| 68.23355
| true
| null |
EncryptionMode.java
|
/FileExtraction/Java_unseen/wultra_powerauth-server/powerauth-java-server/src/main/java/io/getlime/security/powerauth/app/server/database/model/enumeration/EncryptionMode.java
|
/*
* PowerAuth Server and related software components
* Copyright (C) 2023 Wultra s.r.o.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published
* by the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package io.getlime.security.powerauth.app.server.database.model.enumeration;
/**
* Enum representing encryption modes. Following values are supported:
* <p>
* - NO_ENCRYPTION = 0
* - AES_HMAC = 1
* </p>
*
* @author Roman Strobl, [email protected]
*/
public enum EncryptionMode {
/**
* No encryption.
*/
NO_ENCRYPTION((byte) 0),
/**
* AES encryption with HMAC-based index.
*/
AES_HMAC((byte) 1);
/**
* Byte value of encryption mode.
*/
final byte value;
/**
* No-arg constructor with byte value of encryption mode.
* @param value Byte value of encryption mode.
*/
EncryptionMode(final byte value) {
this.value = value;
}
/**
* Get byte value of encryption mode.
* @return Byte value of encryption mode.
*/
public byte getValue() {
return value;
}
}
| 1,657
|
Java
|
.java
|
wultra/powerauth-server
| 16
| 12
| 41
|
2017-07-22T14:07:51Z
|
2024-05-07T10:46:25Z
|
ca042a558c305d761d1aa58a050e05911c83e62f42eca24746ef16eebd09488a
|
[
1127,
222,
338,
8566,
2693,
4242,
480,
5898,
2951,
6361,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
55,
56,
643,
357,
2704,
328,
51,
119,
51,
116,
51,
222,
338,
222,
338,
1369,
3477,
458,
3760,
2951,
63,
863,
902,
14081,
580,
480,
52,
290,
5370,
222,
338,
580,
1549,
341,
5974,
451,
341,
6994,
30994,
6153,
5062,
1196,
641,
9582,
222,
338,
829,
341,
7834,
3870,
7120,
49,
3173,
1522,
244,
56,
451,
341,
1196,
49,
575,
222,
338,
327,
288,
1390,
2489,
46,
1364,
6146,
1522,
51,
222,
338,
222,
338,
1369,
3477,
458,
2744,
347,
341,
9850,
708,
580,
1118,
545,
6386,
49,
222,
338,
1294,
4213,
2979,
9345,
64,
2895,
4462,
341,
4506,
14319,
451,
222,
338,
7934,
575,
8114,
4800,
418,
7848,
7763,
51,
244,
2819,
341,
222,
338,
6994,
30994,
6153,
5062,
1196,
456,
1851,
4261,
51,
222,
338,
222,
338,
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
30994,
6153,
5062,
1196,
222,
338,
7979,
642,
477,
3477,
51,
244,
1691,
666,
49,
2337,
350,
544,
574,
1516,
51,
10627,
51,
1107,
52,
4205,
28699,
222,
588,
222,
1337,
3377,
51,
390,
15607,
51,
4386,
51,
7404,
2408,
51,
745,
51,
1805,
51,
4617,
51,
1184,
51,
36953,
64,
222,
222,
1350,
222,
338,
7827,
12714,
17533,
19395,
51,
41565,
2102,
904,
5430,
63,
222,
338,
350,
117,
67,
222,
338,
449,
4452,
100,
35919,
1034,
299,
244,
53,
222,
338,
449,
22543,
100,
40586,
299,
244,
54,
222,
338,
594,
117,
67,
222,
338,
222,
338,
496,
2133,
31217,
1277,
309,
1570,
49,
26027,
297,
51,
36962,
1570,
69,
124,
357,
2704,
51,
527,
222,
588,
222,
942,
3858,
26179,
2116,
320,
465,
1041,
294,
338,
3155,
17533,
51,
294,
588,
303,
4452,
100,
35919,
1034,
1181,
2278,
46,
244,
53,
490,
465,
1041,
294,
338,
22543,
17533,
642,
47864,
50,
7893,
1671,
51,
294,
588,
303,
22543,
100,
40586,
1181,
2278,
46,
244,
54,
312,
465,
1041,
294,
338,
8049,
804,
451,
17533,
2945,
51,
294,
588,
303,
1175,
3447,
804,
64,
465,
1041,
294,
338,
3155,
50,
645,
4389,
642,
3447,
804,
451,
17533,
2945,
51,
294,
338,
496,
772,
804,
8049,
804,
451,
17533,
2945,
51,
294,
588,
303,
26179,
2116,
45,
3242,
3447,
804,
46,
320,
310,
477,
51,
872,
299,
804,
64,
303,
339,
465,
1041,
294,
338,
1408,
3447,
804,
451,
17533,
2945,
51,
294,
338,
496,
620,
8049,
804,
451,
17533,
2945,
51,
294,
588,
303,
581,
3447,
21517,
365,
320,
310,
461,
804,
64,
303,
339,
222,
130,
222
] |
[
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1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
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 428
| true
| 65.781533
| true
| true
|
Vout.java
|
/FileExtraction/Java_unseen/ashish-gehani_SPADE/src/spade/reporter/bitcoin/Vout.java
|
/*
--------------------------------------------------------------------------------
SPADE - Support for Provenance Auditing in Distributed Environments.
Copyright (C) 2012 SRI International
This program is free software: you can redistribute it and/or
modify it under the terms of the GNU General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
--------------------------------------------------------------------------------
* @author Hasanat Kazmi
*/
package spade.reporter.bitcoin;
import org.json.JSONException;
import org.json.JSONObject;
import java.util.ArrayList;
import java.util.List;
public class Vout {
double value;
int n;
List<String> addresses = new ArrayList<String>();
public Vout(JSONObject vout) throws JSONException {
value = vout.getDouble("value");
n = vout.getInt("n");
String address;
for(int i = 0; i < vout.getJSONObject("scriptPubKey").getJSONArray("addresses").length(); i++) {
// addresses.add( JSONObject.valueToString( vout.getJSONObject("scriptPubKey").getJSONArray("addresses").getString(i) ) );
address = JSONObject.valueToString( vout.getJSONObject("scriptPubKey").getJSONArray("addresses").getString(i) );
addresses.add( address.substring(1, address.length()-1) );
}
}
public double getValue() {
return value;
}
public int getN() {
return n;
}
public List<String> getAddresses() {
return addresses;
}
}
| 1,966
|
Java
|
.java
|
ashish-gehani/SPADE
| 159
| 69
| 3
|
2015-06-04T23:36:31Z
|
2024-03-21T02:55:52Z
|
e37a10ae4067cebcc7d6d9c3fc590aa5b49d38572bf70f3b021faafae07c38a2
|
[
1127,
222,
26091,
222,
7859,
25818,
449,
6332,
456,
1330,
26393,
25519,
318,
347,
22775,
2445,
39369,
51,
222,
2657,
327,
72,
46,
244,
55,
53,
54,
55,
377,
4727,
21548,
499,
1369,
3477,
458,
3760,
2951,
63,
863,
902,
14081,
580,
480,
52,
290,
222,
5370,
580,
1549,
341,
5974,
451,
341,
6994,
6153,
5062,
1196,
641,
222,
9582,
829,
341,
7834,
3870,
7120,
49,
3173,
1522,
244,
56,
451,
341,
222,
1196,
49,
575,
327,
288,
1390,
2489,
46,
1364,
6146,
1522,
51,
499,
1369,
3477,
458,
2744,
347,
341,
9850,
708,
580,
1118,
545,
6386,
49,
222,
1294,
4213,
2979,
9345,
64,
2895,
4462,
341,
4506,
14319,
451,
222,
7934,
575,
8114,
4800,
418,
7848,
7763,
51,
244,
2819,
341,
6994,
222,
6153,
5062,
1196,
456,
1851,
4261,
51,
499,
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
6153,
5062,
1196,
222,
7979,
642,
477,
3477,
51,
1691,
666,
49,
2337,
350,
544,
574,
1516,
51,
10627,
51,
1107,
52,
4205,
28699,
222,
26091,
222,
338,
496,
2133,
244,
9804,
297,
288,
1242,
1392,
4557,
499,
588,
222,
1337,
1887,
1546,
51,
24106,
51,
27513,
64,
222,
222,
485,
1105,
51,
1279,
51,
40458,
64,
222,
485,
1105,
51,
1279,
51,
15543,
64,
222,
222,
485,
1401,
51,
1058,
51,
7119,
64,
222,
485,
1401,
51,
1058,
51,
739,
64,
222,
222,
942,
462,
694,
560,
320,
303,
2082,
804,
64,
303,
648,
329,
64,
303,
1701,
65,
671,
67,
11022,
299,
556,
5068,
65,
671,
2938,
465,
581,
694,
560,
45,
15543,
373,
560,
46,
2589,
3411,
1002,
320,
310,
804,
299,
373,
560,
51,
37754,
459,
872,
742,
310,
329,
299,
373,
560,
51,
15384,
459,
115,
742,
310,
910,
2983,
64,
310,
456,
45,
429,
613,
299,
244,
53,
64,
613,
350,
373,
560,
51,
40883,
459,
1442,
32941,
1912,
390,
27698,
459,
15092,
1912,
1340,
492,
613,
2002,
320,
4310,
453,
11022,
51,
688,
45,
15439,
51,
872,
4602,
45,
373,
560,
51,
40883,
459,
1442,
32941,
1912,
390,
27698,
459,
15092,
1912,
7080,
45,
110,
46,
848,
1110,
343,
2983,
299,
15439,
51,
872,
4602,
45,
373,
560,
51,
40883,
459,
1442,
32941,
1912,
390,
27698,
459,
15092,
1912,
7080,
45,
110,
46,
1110,
343,
11022,
51,
688,
45,
2983,
51,
8724,
45,
54,
49,
2983,
51,
1340,
17681,
54,
46,
1110,
310,
339,
303,
339,
465,
581,
2082,
21517,
365,
320,
310,
461,
804,
64,
303,
339,
465,
581,
648,
640,
83,
365,
320,
310,
461,
329,
64,
303,
339,
465,
581,
1701,
65,
671,
67,
640,
16806,
365,
320,
310,
461,
11022,
64,
303,
339,
222,
130,
222
] |
[
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 439
| true
| 63.428281
| true
| true
|
excreq002.java
|
/FileExtraction/Java_unseen/openjdk_jdk14u/test/hotspot/jtreg/vmTestbase/nsk/jdi/EventRequestManager/exceptionRequests/excreq002.java
|
/*
* Copyright (c) 2001, 2018, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
package nsk.jdi.EventRequestManager.exceptionRequests;
import nsk.share.*;
import nsk.share.jpda.*;
import nsk.share.jdi.*;
import com.sun.jdi.*;
import com.sun.jdi.event.*;
import com.sun.jdi.request.*;
import java.util.*;
import java.io.*;
/**
* The test for the implementation of an object of the type <BR>
* EventRequestManager. <BR>
* <BR>
* The test checks that results of the method <BR>
* <code>com.sun.jdi.EventRequestManager.exceptionRequests()</code> <BR>
* complies with its spec. <BR>
* <BR>
* The test checks up on the following assertion: <BR>
* - The list is unmodifiable. <BR>
* - The list of the enabled and disabled exception requests. <BR>
* - This list is changes as requests are added and deleted. <BR>
* <BR>
* The test has three phases and works as follows. <BR>
* <BR>
* In first phase, <BR>
* upon launching debuggee's VM which will be suspended, <BR>
* a debugger waits for the VMStartEvent within a predefined <BR>
* time interval. If no the VMStartEvent received, the test is FAILED. <BR>
* Upon getting the VMStartEvent, it makes the request for debuggee's <BR>
* ClassPrepareEvent with SUSPEND_EVENT_THREAD, resumes the VM, <BR>
* and waits for the event within the predefined time interval. <BR>
* If no the ClassPrepareEvent received, the test is FAILED. <BR>
* Upon getting the ClassPrepareEvent, <BR>
* the debugger sets up the breakpoint with SUSPEND_EVENT_THREAD <BR>
* within debuggee's special methodForCommunication(). <BR>
* <BR>
* In second phase to check the assertion, <BR>
* the debugger and the debuggee perform the following. <BR>
* - The debugger resumes the debuggee and waits for the BreakpointEvent.<BR>
* - The debuggee prepares the check case and invokes <BR>
* the methodForCommunication to be suspended and <BR>
* to inform the debugger with the event. <BR>
* - Upon getting the BreakpointEvent, <BR>
* the debugger checking up on assertions. <BR>
* <BR>
* In third phase, at the end of the test, the debuggee changes <BR>
* the value of the "instruction" which the debugger and debuggee <BR>
* use to inform each other of needed actions, and both end. <BR>
* <BR>
*/
public class excreq002 {
//----------------------------------------------------- templete section
static final int PASSED = 0;
static final int FAILED = 2;
static final int PASS_BASE = 95;
//----------------------------------------------------- templete parameters
static final String
sHeader1 = "\n==> nsk/jdi/EventRequestManager/exceptionRequests/excreq002 ",
sHeader2 = "--> debugger: ",
sHeader3 = "##> debugger: ";
//----------------------------------------------------- main method
public static void main (String argv[]) {
int result = run(argv, System.out);
System.exit(result + PASS_BASE);
}
public static int run (String argv[], PrintStream out) {
int exitCode = new excreq002().runThis(argv, out);
if (exitCode != PASSED) {
System.out.println("TEST FAILED");
}
return testExitCode;
}
//-------------------------------------------------- log procedures
private static Log logHandler;
private static void log1(String message) {
logHandler.display(sHeader1 + message);
}
private static void log2(String message) {
logHandler.display(sHeader2 + message);
}
private static void log3(String message) {
logHandler.complain(sHeader3 + message);
}
// ************************************************ test parameters
private String debuggeeName =
"nsk.jdi.EventRequestManager.exceptionRequests.excreq002a";
//====================================================== test program
//------------------------------------------------------ common section
static Debugee debuggee;
static ArgumentHandler argsHandler;
static int waitTime;
static VirtualMachine vm = null;
static EventRequestManager eventRManager = null;
static EventQueue eventQueue = null;
static EventSet eventSet = null;
static EventIterator eventIterator = null;
static ReferenceType debuggeeClass = null;
static int testExitCode = PASSED;
//------------------------------------------------------ methods
private int runThis (String argv[], PrintStream out) {
argsHandler = new ArgumentHandler(argv);
logHandler = new Log(out, argsHandler);
Binder binder = new Binder(argsHandler, logHandler);
waitTime = argsHandler.getWaitTime() * 60000;
try {
log2("launching a debuggee :");
log2(" " + debuggeeName);
if (argsHandler.verbose()) {
debuggee = binder.bindToDebugee(debuggeeName + " -vbs");
} else {
debuggee = binder.bindToDebugee(debuggeeName);
}
if (debuggee == null) {
log3("ERROR: no debuggee launched");
return FAILED;
}
log2("debuggee launched");
} catch ( Exception e ) {
log3("ERROR: Exception : " + e);
log2(" test cancelled");
return FAILED;
}
debuggee.redirectOutput(logHandler);
vm = debuggee.VM();
eventQueue = vm.eventQueue();
if (eventQueue == null) {
log3("ERROR: eventQueue == null : TEST ABORTED");
vm.exit(PASS_BASE);
return FAILED;
}
log2("invocation of the method runTest()");
switch (runTest()) {
case 0 : log2("test phase has finished normally");
log2(" waiting for the debuggee to finish ...");
debuggee.waitFor();
log2("......getting the debuggee's exit status");
int status = debuggee.getStatus();
if (status != PASS_BASE) {
log3("ERROR: debuggee returned UNEXPECTED exit status: " +
status + " != PASS_BASE");
testExitCode = FAILED;
} else {
log2("......debuggee returned expected exit status: " +
status + " == PASS_BASE");
}
break;
default : log3("ERROR: runTest() returned unexpected value");
case 1 : log3("test phase has not finished normally: debuggee is still alive");
log2("......forcing: vm.exit();");
testExitCode = FAILED;
try {
vm.exit(PASS_BASE);
} catch ( Exception e ) {
log3("ERROR: Exception : " + e);
}
break;
case 2 : log3("test cancelled due to VMDisconnectedException");
log2("......trying: vm.process().destroy();");
testExitCode = FAILED;
try {
Process vmProcess = vm.process();
if (vmProcess != null) {
vmProcess.destroy();
}
} catch ( Exception e ) {
log3("ERROR: Exception : " + e);
}
break;
}
return testExitCode;
}
/*
* Return value: 0 - normal end of the test
* 1 - ubnormal end of the test
* 2 - VMDisconnectedException while test phase
*/
private int runTest() {
try {
testRun();
log2("waiting for VMDeathEvent");
getEventSet();
if (eventIterator.nextEvent() instanceof VMDeathEvent)
return 0;
log3("ERROR: last event is not the VMDeathEvent");
return 1;
} catch ( VMDisconnectedException e ) {
log3("ERROR: VMDisconnectedException : " + e);
return 2;
} catch ( Exception e ) {
log3("ERROR: Exception : " + e);
return 1;
}
}
private void testRun()
throws JDITestRuntimeException, Exception {
eventRManager = vm.eventRequestManager();
ClassPrepareRequest cpRequest = eventRManager.createClassPrepareRequest();
cpRequest.setSuspendPolicy( EventRequest.SUSPEND_EVENT_THREAD);
cpRequest.addClassFilter(debuggeeName);
cpRequest.enable();
vm.resume();
getEventSet();
cpRequest.disable();
ClassPrepareEvent event = (ClassPrepareEvent) eventIterator.next();
debuggeeClass = event.referenceType();
if (!debuggeeClass.name().equals(debuggeeName))
throw new JDITestRuntimeException("** Unexpected ClassName for ClassPrepareEvent **");
log2(" received: ClassPrepareEvent for debuggeeClass");
String bPointMethod = "methodForCommunication";
String lineForComm = "lineForComm";
ThreadReference mainThread = debuggee.threadByNameOrThrow("main");
BreakpointRequest bpRequest = settingBreakpoint(mainThread,
debuggeeClass,
bPointMethod, lineForComm, "zero");
bpRequest.enable();
//------------------------------------------------------ testing section
String fieldName = "testField";
List requests = null;
ListIterator li = null;
ExceptionRequest request = null;
ExceptionRequest cuRequests[] = { null, null, null, null, null,
null, null, null, null, null };
int listSize;
int flag;
log1(" TESTING BEGINS");
for (int i = 0; ; i++) {
vm.resume();
breakpointForCommunication();
int instruction = ((IntegerValue)
(debuggeeClass.getValue(debuggeeClass.fieldByName("instruction")))).value();
if (instruction == 0) {
vm.resume();
break;
}
log1(":::::: case: # " + i);
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ variable part
ReferenceType refType = (ReferenceType)
debuggeeClass.getValue(debuggeeClass.fieldByName(fieldName)).type();
log2("......creating ExceptionRequests");
for (int i1 = 0; i1 < cuRequests.length; i1++) {
cuRequests[i1] = eventRManager.createExceptionRequest(refType, false, false);
cuRequests[i1].putProperty("number", String.valueOf(i1));
log2("......checking up on returned List after creating new ExceptionRequest");
requests = eventRManager.exceptionRequests();
listSize = requests.size();
if ( listSize != (i1 + 1) ) {
testExitCode = FAILED;
log3("ERROR: size of returned List is not equal to expected : " + listSize + " != " + (i1 + 1));
}
flag = 0;
li = requests.listIterator();
while (li.hasNext()) {
request = (ExceptionRequest) li.next();
if ( !request.isEnabled() ) {
flag++;
if (flag > 1) {
testExitCode = FAILED;
log3("ERROR: # of disabled requests > 1 : " + flag);
}
if ( !request.getProperty("number").equals(String.valueOf(i1)) ) {
testExitCode = FAILED;
log3("ERROR: in the List, disabled is request expected to be enabled : # == " + i1);
}
} else {
if ( request.getProperty("number").equals(String.valueOf(i1)) ) {
testExitCode = FAILED;
log3("ERROR: in the List, enabled is newly created disabled request : # == " + i1);
}
}
}
log2(" enabling created ExceptionRequest");
cuRequests[i1].enable();
requests = eventRManager.exceptionRequests();
listSize = requests.size();
if ( listSize != (i1 + 1) ) {
testExitCode = FAILED;
log3("ERROR: size of returned List is not equal to expected : " + listSize + " != " + (i1 + 1));
}
li = requests.listIterator();
while (li.hasNext()) {
request = (ExceptionRequest) li.next();
if ( !request.isEnabled() ) {
testExitCode = FAILED;
log3("ERROR: returned List contains disabled request : " + request);
}
}
log2(" removing item from the List; UnsupportedOperationException is expected");
try {
requests.remove(i1);
testExitCode = FAILED;
log3("ERROR: NO exception");
} catch ( UnsupportedOperationException e ) {
log2(" UnsupportedOperationException ");
}
}
log2("......deleting ExceptionRequests");
for (int i2 = cuRequests.length -1; i2 >= 0; i2--) {
eventRManager.deleteEventRequest(cuRequests[i2]);
requests = eventRManager.exceptionRequests();
listSize = requests.size();
if ( listSize != i2 ) {
testExitCode = FAILED;
log3("ERROR: size of returned List is not equal to expected : " + listSize + " != " + i2);
}
log2(" removing item from the List; UnsupportedOperationException is expected");
try {
requests.remove(i2);
testExitCode = FAILED;
log3("ERROR: NO exception");
} catch ( UnsupportedOperationException e ) {
log2(" UnsupportedOperationException ");
}
}
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
}
log1(" TESTING ENDS");
return;
}
/*
* private BreakpointRequest settingBreakpoint(ThreadReference, ReferenceType,
* String, String, String)
*
* It sets up a breakpoint at given line number within a given method in a given class
* for a given thread.
*
* Return value: BreakpointRequest object in case of success
*
* JDITestRuntimeException in case of an Exception thrown within the method
*/
private BreakpointRequest settingBreakpoint ( ThreadReference thread,
ReferenceType testedClass,
String methodName,
String bpLine,
String property)
throws JDITestRuntimeException {
log2("......setting up a breakpoint:");
log2(" thread: " + thread + "; class: " + testedClass +
"; method: " + methodName + "; line: " + bpLine);
List alllineLocations = null;
Location lineLocation = null;
BreakpointRequest breakpRequest = null;
try {
Method method = (Method) testedClass.methodsByName(methodName).get(0);
alllineLocations = method.allLineLocations();
int n =
( (IntegerValue) testedClass.getValue(testedClass.fieldByName(bpLine) ) ).value();
if (n > alllineLocations.size()) {
log3("ERROR: TEST_ERROR_IN_settingBreakpoint(): number is out of bound of method's lines");
} else {
lineLocation = (Location) alllineLocations.get(n);
try {
breakpRequest = eventRManager.createBreakpointRequest(lineLocation);
breakpRequest.putProperty("number", property);
breakpRequest.addThreadFilter(thread);
breakpRequest.setSuspendPolicy( EventRequest.SUSPEND_EVENT_THREAD);
} catch ( Exception e1 ) {
log3("ERROR: inner Exception within settingBreakpoint() : " + e1);
breakpRequest = null;
}
}
} catch ( Exception e2 ) {
log3("ERROR: ATTENTION: outer Exception within settingBreakpoint() : " + e2);
breakpRequest = null;
}
if (breakpRequest == null) {
log2(" A BREAKPOINT HAS NOT BEEN SET UP");
throw new JDITestRuntimeException("**FAILURE to set up a breakpoint**");
}
log2(" a breakpoint has been set up");
return breakpRequest;
}
private void getEventSet()
throws JDITestRuntimeException {
try {
// log2(" eventSet = eventQueue.remove(waitTime);");
eventSet = eventQueue.remove(waitTime);
if (eventSet == null) {
throw new JDITestRuntimeException("** TIMEOUT while waiting for event **");
}
// log2(" eventIterator = eventSet.eventIterator;");
eventIterator = eventSet.eventIterator();
} catch ( Exception e ) {
throw new JDITestRuntimeException("** EXCEPTION while waiting for event ** : " + e);
}
}
private void breakpointForCommunication()
throws JDITestRuntimeException {
log2("breakpointForCommunication");
getEventSet();
if (eventIterator.nextEvent() instanceof BreakpointEvent)
return;
throw new JDITestRuntimeException("** event IS NOT a breakpoint **");
}
}
| 20,072
|
Java
|
.java
|
openjdk/jdk14u
| 16
| 20
| 0
|
2020-02-03T09:43:48Z
|
2020-07-14T18:59:16Z
|
f8f32d59f2d50070d8d17cba30fa620dd8efc3cddd5c3c70e8e3976cbdd9ccb8
|
[
1127,
222,
338,
2657,
327,
104,
46,
244,
55,
53,
53,
54,
49,
244,
55,
53,
54,
61,
49,
17980,
480,
52,
290,
2840,
25094,
51,
3381,
4760,
5225,
51,
222,
338,
4103,
2387,
23740,
1895,
35234,
8995,
2387,
11988,
1895,
8968,
10961,
30441,
51,
222,
338,
222,
338,
1369,
1361,
458,
3760,
2951,
64,
863,
902,
14081,
580,
480,
52,
290,
5370,
580,
222,
338,
1549,
341,
5974,
451,
341,
6994,
6153,
5062,
1196,
1522,
244,
55,
1773,
49,
641,
222,
338,
9582,
829,
341,
7834,
3870,
7120,
51,
222,
338,
222,
338,
1369,
1361,
458,
2744,
347,
341,
9850,
708,
580,
1118,
545,
6386,
49,
1294,
4213,
222,
338,
2979,
9345,
64,
2895,
4462,
341,
4506,
14319,
451,
7934,
575,
222,
338,
8114,
4800,
418,
7848,
7763,
51,
244,
2819,
341,
6994,
6153,
5062,
1196,
222,
338,
1522,
244,
55,
456,
1851,
4261,
327,
102,
1948,
458,
5976,
347,
341,
7621,
822,
708,
222,
338,
20854,
297,
4850,
477,
1361,
566,
222,
338,
222,
338,
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
6153,
5062,
1196,
1522,
222,
338,
244,
55,
7979,
642,
477,
1409,
64,
434,
666,
49,
2886,
391,
341,
7834,
3870,
7120,
49,
222,
338,
6367,
4345,
244,
58,
54,
34113,
1277,
49,
33316,
26912,
49,
25006,
49,
13083,
244,
53,
55,
54,
54,
53,
50,
54,
56,
53,
54,
15067,
51,
222,
338,
222,
338,
5304,
7272,
17980,
49,
244,
58,
53,
53,
17980,
27004,
3094,
49,
4777,
21100,
2432,
6868,
49,
10562,
244,
62,
57,
53,
59,
58,
15067,
222,
338,
575,
7739,
19955,
51,
11116,
51,
527,
434,
863,
1868,
5408,
2490,
575,
1178,
1364,
222,
338,
10034,
51,
222,
588,
222,
222,
1337,
329,
2009,
51,
111,
1351,
51,
1167,
1123,
1590,
51,
3918,
10343,
64,
222,
222,
485,
329,
2009,
51,
6085,
7737,
222,
485,
329,
2009,
51,
6085,
51,
11558,
1830,
7737,
222,
485,
329,
2009,
51,
6085,
51,
111,
1351,
7737,
222,
222,
485,
785,
51,
9886,
51,
111,
1351,
7737,
222,
485,
785,
51,
9886,
51,
111,
1351,
51,
1585,
7737,
222,
485,
785,
51,
9886,
51,
111,
1351,
51,
1375,
7737,
222,
222,
485,
1401,
51,
1058,
7737,
222,
485,
1401,
51,
735,
7737,
222,
222,
1350,
222,
338,
906,
913,
456,
341,
4753,
451,
619,
1319,
451,
341,
847,
281,
350,
4768,
67,
222,
338,
3916,
1123,
1590,
51,
24867,
350,
4768,
67,
222,
338,
46068,
350,
4768,
67,
222,
338,
906,
913,
9378,
708,
3300,
451,
341,
1431,
6031,
350,
4768,
67,
222,
338,
350,
707,
67,
527,
51,
9886,
51,
111,
1351,
51,
1167,
1123,
1590,
51,
3918,
10343,
11052,
707,
67,
350,
4768,
67,
222,
338,
940,
6844,
642,
2840,
1394,
51,
20725,
350,
4768,
67,
222,
338,
350,
4768,
67,
222,
338,
906,
913,
9378,
992,
563,
341,
2434,
21009,
63,
7704,
350,
4768,
67,
222,
338,
449,
906,
1168,
458,
725,
30377,
51,
27819,
350,
4768,
67,
222,
338,
449,
906,
1168,
451,
341,
5892,
480,
6879,
3773,
5188,
51,
2281,
350,
4768,
67,
222,
338,
449,
1369,
1168,
458,
3417,
641,
5188,
904,
3654,
480,
8133,
51,
1485,
350,
4768,
67,
222,
338,
350,
4768,
67,
222,
338,
906,
913,
1421,
8058,
44317,
480,
4864,
641,
11629,
51,
7223,
350,
4768,
67,
222,
338,
350,
4768,
67,
222,
338,
719,
1950,
11311,
49,
38893,
350,
4768,
67,
222,
338,
12710,
11305,
318,
4598,
41067,
1200,
8558,
1532,
1118,
545,
10561,
22300,
49,
2087,
350,
4768,
67,
222,
338,
331,
25856,
38587,
456,
341,
8558,
2148,
1167,
4824,
331,
32655,
1485,
350,
4768,
67,
222,
338,
1153,
7917,
51,
1691,
1307,
341,
8558,
2148,
1167,
6589,
49,
341,
913,
458,
28663,
51,
244,
350,
4768,
67,
222,
338,
2791,
286,
7882,
341,
8558,
2148,
1167,
49,
580,
7437,
341,
1343,
456,
4598,
41067,
1200,
280,
350,
4768,
67,
222,
338,
1727,
19155,
1167,
642,
377,
2062,
20518,
100,
8062,
100,
13696,
49,
20787,
120,
341,
8558,
49,
282,
350,
4768,
67,
222,
338,
480,
38587,
456,
341,
1708,
4824,
341,
32655,
1153,
7917,
51,
282,
350,
4768,
67,
222,
338,
1691,
1307,
341,
1727,
19155,
1167,
6589,
49,
341,
913,
458,
28663,
51,
1485,
350,
4768,
67,
222,
338,
2791,
286,
7882,
341,
1727,
19155,
1167,
49,
17871,
350,
4768,
67,
222,
338,
341,
25856,
6930,
992,
341,
31521,
642,
377,
2062,
20518,
100,
8062,
100,
13696,
370,
350,
4768,
67,
222,
338,
4824,
4598,
41067,
1200,
7472,
1431,
1580,
26342,
941,
5707,
350,
4768,
67,
222,
338,
350,
4768,
67,
222,
338,
719,
3118,
11311,
391,
1524,
341,
21009,
49,
12994,
350,
4768,
67,
222,
338,
341,
25856,
480,
341,
4598,
41067,
4464,
341,
2434,
51,
442,
350,
4768,
67,
222,
338,
449,
906,
25856,
20787,
120,
341,
4598,
41067,
480,
38587,
456,
341,
19869,
1513,
1167,
5717,
4768,
67,
222,
338,
449,
906,
4598,
41067,
1426,
4554,
595,
341,
1524,
1152,
480,
48028,
6031,
350,
4768,
67,
222,
338,
280,
341,
1431,
1580,
26342,
391,
545,
10561,
22300,
480,
6039,
350,
4768,
67,
222,
338,
280,
391,
7973,
341,
25856,
642,
341,
1708,
51,
11357,
350,
4768,
67,
222,
338,
449,
2791,
286,
7882,
341,
19869,
1513,
1167,
49,
17871,
350,
4768,
67,
222,
338,
280,
341,
25856,
11087,
992,
563,
37739,
51,
9326,
350,
4768,
67,
222,
338,
350,
4768,
67,
222,
338,
719,
10999,
11311,
49,
840,
341,
962,
451,
341,
913,
49,
341,
4598,
41067,
3417,
282,
350,
4768,
67,
222,
338,
341,
804,
451,
341,
332,
18358,
39,
1532,
341,
25856,
480,
4598,
41067,
981,
350,
4768,
67,
222,
338,
813,
391,
7973,
2531,
1623,
451,
5366,
6905,
49,
244,
480,
4354,
962,
51,
2281,
350,
4768,
67,
222,
338,
350,
4768,
67,
222,
588,
222,
222,
942,
462,
557,
1238,
118,
53,
53,
55,
320,
465,
453,
5888,
6751,
1798,
1129,
4193,
303,
924,
1175,
648,
37174,
9730,
299,
244,
53,
64,
303,
924,
1175,
648,
28663,
299,
244,
55,
64,
303,
924,
1175,
648,
25240,
100,
6185,
299,
244,
62,
58,
64,
465,
453,
5888,
6751,
1798,
1129,
3406,
303,
924,
1175,
910,
303,
328,
2661,
54,
299,
2724,
115,
30213,
329,
2009,
52,
111,
1351,
52,
1167,
1123,
1590,
52,
3918,
10343,
52,
346,
1238,
118,
53,
53,
55,
3021,
303,
328,
2661,
55,
299,
332,
4304,
25856,
63,
3021,
303,
328,
2661,
56,
299,
332,
452,
67,
25856,
63,
7216,
465,
453,
5888,
6751,
2594,
1431,
465,
581,
924,
782,
2594,
327,
671,
6194,
9798,
320,
603,
648,
1074,
299,
1441,
45,
6129,
49,
1189,
51,
560,
312,
603,
1189,
51,
4788,
45,
1285,
494,
25240,
100,
6185,
312,
303,
339,
465,
581,
924,
648,
1441,
327,
671,
6194,
10022,
9232,
1880,
986,
46,
320,
603,
648,
4338,
1241,
299,
556,
557,
1238,
118,
53,
53,
55,
941,
1967,
2287,
45,
6129,
49,
986,
312,
603,
434,
327,
4788,
1241,
882,
37174,
9730,
46,
320,
343,
1189,
51,
560,
51,
3962,
459,
3780,
28663,
742,
310,
339,
310,
461,
913,
39803,
64,
303,
339,
465,
453,
5888,
306,
280,
1264,
38332,
465,
964,
924,
2681,
244,
1264,
1985,
64,
465,
964,
924,
782,
1264,
54,
45,
671,
1492,
46,
320,
310,
1264,
1985,
51,
2784,
45,
120,
2661,
54,
494,
1492,
312,
303,
339,
303,
964,
924,
782,
1264,
55,
45,
671,
1492,
46,
320,
310,
1264,
1985,
51,
2784,
45,
120,
2661,
55,
494,
1492,
312,
303,
339,
303,
964,
924,
782,
1264,
56,
45,
671,
1492,
46,
320,
310,
1264,
1985,
51,
25635,
524,
45,
120,
2661,
56,
494,
1492,
312,
303,
339,
465,
453,
244,
20150,
639,
14525,
283,
913,
3406,
465,
964,
910,
4598,
41067,
577,
299,
310,
332,
115,
2009,
51,
111,
1351,
51,
1167,
1123,
1590,
51,
3918,
10343,
51,
346,
1238,
118,
53,
53,
55,
102,
884,
465,
453,
13649,
16110,
913,
3477,
303,
453,
5888,
6768,
4959,
4193,
465,
924,
1531,
716,
41067,
2052,
4598,
41067,
64,
303,
924,
7115,
1985,
244,
2194,
1985,
64,
465,
924,
648,
4483,
1061,
64,
465,
924,
13675,
7105,
665,
8510,
1485,
299,
762,
64,
303,
924,
3916,
1123,
1590,
1708,
87,
1590,
299,
762,
64,
303,
924,
3916,
4098,
2052,
1708,
4098,
283,
299,
762,
64,
303,
924,
3916,
903,
1485,
1708,
903,
665,
299,
762,
64,
303,
924,
3916,
5740,
981,
1708,
5740,
299,
762,
64,
465,
924,
9495,
638,
981,
4598,
41067,
1359,
299,
762,
64,
465,
924,
648,
244,
913,
39803,
299,
37174,
9730,
64,
4054,
453,
5888,
6768,
4457,
465,
964,
648,
1441,
2287,
327,
671,
6194,
10022,
9232,
1880,
986,
46,
320,
603,
2194,
1985,
281,
299,
556,
7115,
1985,
45,
6129,
312,
310,
1264,
1985,
665,
299,
556,
2681,
45,
560,
49,
2194,
1985,
312,
310,
570,
15125,
37767,
280,
299,
556,
570,
15125,
45,
1150,
1985,
49,
1264,
1985,
312,
603,
4483,
1061,
370,
299,
2194,
1985,
51,
390,
6494,
1061,
365,
338,
244,
59,
53,
53,
53,
53,
64,
603,
1614,
320,
343,
1264,
55,
459,
10579,
318,
331,
4598,
41067,
518,
742,
343,
1264,
55,
459,
981,
332,
494,
4598,
41067,
577,
312,
343,
434,
327,
1150,
1985,
51,
10563,
1177,
320,
419,
4598,
41067,
299,
37767,
51,
2555,
724,
703,
716,
41067,
45,
2824,
41067,
577,
494,
332,
449,
123,
3904,
742,
343,
339,
832,
320,
419,
4598,
41067,
299,
37767,
51,
2555,
724,
703,
716,
41067,
45,
2824,
41067,
577,
312,
343,
339,
343,
434,
327,
2824,
41067,
630,
762,
46,
320,
419,
1264,
56,
459,
2946,
63,
1307,
4598,
41067,
35965,
742,
419,
461,
28663,
64,
343,
339,
343,
1264,
55,
459,
2824,
41067,
35965,
742,
310,
339,
2385,
327,
3284,
503,
848,
320,
343,
1264,
56,
459,
2946,
63,
3284,
518,
332,
494,
503,
312,
343,
1264,
55,
459,
981,
913,
25532,
742,
343,
461,
28663,
64,
310,
339,
603,
4598,
41067,
51,
7353,
2319,
45,
769,
1985,
312,
603,
8510,
299,
4598,
41067,
51,
5064,
492,
603,
1708,
4098,
299,
8510,
51,
1585,
4098,
492,
310,
434,
327,
1585,
4098,
630,
762,
46,
320,
343,
1264,
56,
459,
2946,
63,
1708,
4098,
630,
762,
518,
5904,
20660,
2442,
1363,
742,
343,
8510,
51,
4788,
45,
9696,
100,
6185,
312,
343,
461,
28663,
64,
310,
339,
603,
1264,
55,
459,
28876,
451,
341,
1431,
1441,
1024,
33942,
310,
3593,
327,
1967,
1024,
1177,
320,
1083,
1152,
244,
53,
518,
244,
1264,
55,
459,
881,
11311,
1421,
11285,
20216,
742,
2876,
1264,
55,
459,
280,
10774,
456,
341,
4598,
41067,
391,
11371,
2437,
742,
2876,
4598,
41067,
51,
20955,
492,
41138,
1264,
55,
459,
31330,
15529,
341,
4598,
41067,
1200,
4338,
2302,
742,
2876,
648,
2302,
299,
4598,
41067,
51,
19642,
492,
2876,
434,
327,
1535,
882,
25240,
100,
6185,
46,
320,
3792,
1264,
56,
459,
2946,
63,
4598,
41067,
4731,
6419,
30314,
4338,
2302,
63,
332,
494,
4997,
2302,
494,
332,
882,
25240,
100,
6185,
742,
3792,
913,
39803,
299,
28663,
64,
2876,
339,
832,
320,
3792,
1264,
55,
459,
31330,
2824,
41067,
4731,
2816,
4338,
2302,
63,
332,
494,
4997,
2302,
494,
332,
630,
25240,
100,
6185,
742,
2876,
339,
2876,
1644,
64,
1083,
1263,
518,
1264,
56,
459,
2946,
63,
1441,
1024,
365,
4731,
15370,
804,
742,
1083,
1152,
244,
54,
518,
244,
1264,
56,
459,
881,
11311,
1421,
666,
11285,
20216,
63,
4598,
41067,
458,
4224,
29028,
742,
2876,
1264,
55,
459,
31330,
999,
20752,
63,
8510,
51,
4788,
20666,
2876,
913,
39803,
299,
28663,
64,
2876,
1614,
320,
3792,
8510,
51,
4788,
45,
9696,
100,
6185,
312,
2876,
339,
2385,
327,
3284,
503,
848,
320,
3792,
1264,
56,
459,
2946,
63,
3284,
518,
332,
494,
503,
312,
2876,
339,
2876,
1644,
64,
1083,
1152,
244,
55,
518,
244,
1264,
56,
459,
881,
25532,
7278,
391,
8558,
38688,
1002,
742,
2876,
1264,
55,
459,
31330,
1287,
318,
63,
8510,
51,
2441,
941,
6978,
20666,
2876,
913,
39803,
299,
28663,
64,
2876,
1614,
320,
3792,
6849,
8510,
2877,
299,
8510,
51,
2441,
492,
3792,
434,
327,
3166,
2877,
882,
762,
46,
320,
4997,
8510,
2877,
51,
6978,
492,
3792,
339,
2876,
339,
2385,
327,
3284,
503,
848,
320,
3792,
1264,
56,
459,
2946,
63,
3284,
518,
332,
494,
503,
312,
2876,
339,
2876,
1644,
64,
343,
339,
603,
461,
913,
39803,
64,
303,
339,
32790,
1276,
303,
338,
2762,
804,
63,
244,
53,
449,
4330,
962,
451,
341,
913,
303,
338,
2087,
54,
449,
25589,
4434,
962,
451,
341,
913,
303,
338,
2087,
55,
449,
8558,
38688,
1002,
2236,
913,
11311,
303,
588,
465,
964,
648,
1441,
1024,
365,
320,
603,
1614,
320,
343,
913,
2544,
492,
1083,
1264,
55,
459,
21095,
456,
8558,
24233,
1167,
742,
343,
640,
1167,
903,
492,
343,
434,
327,
1585,
5740,
51,
1995,
1167,
365,
5118,
8558,
24233,
1167,
46,
419,
461,
244,
53,
64,
1083,
1264,
56,
459,
2946,
63,
2419,
1708,
458,
666,
341,
8558,
24233,
1167,
742,
343,
461,
244,
54,
64,
310,
339,
2385,
327,
8558,
38688,
1002,
503,
848,
320,
343,
1264,
56,
459,
2946,
63,
8558,
38688,
1002,
518,
332,
494,
503,
312,
343,
461,
244,
55,
64,
310,
339,
2385,
327,
3284,
503,
848,
320,
343,
1264,
56,
459,
2946,
63,
3284,
518,
332,
494,
503,
312,
343,
461,
244,
54,
64,
310,
339,
465,
339,
465,
964,
782,
913,
2544,
365,
372,
2589,
990,
73,
38396,
19296,
49,
3284,
320,
603,
1708,
87,
1590,
299,
8510,
51,
1585,
1123,
1590,
492,
603,
1727,
19155,
1123,
9210,
1123,
299,
1708,
87,
1590,
51,
36659,
19155,
1123,
492,
310,
9210,
1123,
51,
489,
24020,
4263,
45,
3916,
1123,
51,
45960,
20518,
100,
8062,
100,
13696,
312,
310,
9210,
1123,
51,
10056,
2365,
45,
2824,
41067,
577,
312,
603,
9210,
1123,
51,
4909,
492,
310,
8510,
51,
14970,
492,
310,
640,
1167,
903,
492,
310,
9210,
1123,
51,
5826,
492,
603,
1727,
19155,
1167,
1708,
299,
327,
1359,
19155,
1167,
46,
1708,
5740,
51,
1995,
492,
310,
4598,
41067,
1359,
299,
1708,
51,
3592,
638,
492,
603,
434,
1445,
2824,
41067,
1359,
51,
444,
941,
3591,
45,
2824,
41067,
577,
509,
2624,
1440,
556,
990,
73,
38396,
19296,
459,
345,
36166,
1727,
577,
456,
1727,
19155,
1167,
1137,
742,
603,
1264,
55,
459,
665,
6589,
63,
1727,
19155,
1167,
456,
4598,
41067,
1359,
742,
603,
910,
342,
1962,
1885,
299,
332,
1978,
1580,
26342,
884,
310,
910,
1646,
1580,
21179,
244,
299,
332,
948,
1580,
21179,
884,
603,
7806,
3580,
280,
2594,
3032,
299,
4598,
41067,
51,
3442,
9809,
48915,
459,
1850,
742,
603,
19869,
1513,
1123,
20057,
1123,
299,
5767,
41890,
45,
1850,
3032,
49,
13703,
4598,
41067,
1359,
49,
3402,
342,
1962,
1885,
49,
1646,
1580,
21179,
49,
332,
6187,
742,
310,
20057,
1123,
51,
4909,
492,
465,
453,
5888,
6768,
244,
6351,
4193,
603,
910,
22759,
299,
332,
881,
1195,
884,
603,
1701,
282,
5188,
299,
762,
64,
310,
1701,
5740,
1045,
981,
299,
762,
64,
603,
3284,
1123,
1343,
299,
762,
64,
310,
3284,
1123,
14281,
10343,
1197,
299,
320,
762,
49,
762,
49,
762,
49,
762,
49,
762,
49,
10657,
762,
49,
762,
49,
762,
49,
762,
49,
762,
1487,
310,
648,
1168,
1269,
64,
310,
648,
4666,
64,
6934,
1264,
54,
459,
281,
5904,
1410,
18264,
88,
742,
603,
456,
327,
429,
613,
299,
244,
53,
64,
2098,
613,
2002,
320,
1083,
8510,
51,
14970,
492,
343,
31521,
1580,
26342,
492,
1083,
648,
12419,
299,
1849,
3078,
899,
46,
7723,
327,
2824,
41067,
1359,
51,
6693,
45,
2824,
41067,
1359,
51,
1512,
9809,
459,
18358,
2152,
3445,
872,
492,
1083,
434,
327,
18358,
630,
244,
53,
46,
320,
419,
8510,
51,
14970,
492,
419,
1644,
64,
343,
339,
1083,
1264,
54,
459,
10395,
422,
1152,
63,
607,
332,
494,
613,
312,
1083,
453,
28018,
44324,
2063,
2702,
1760,
1083,
9495,
638,
2505,
638,
299,
327,
3580,
638,
46,
1908,
4598,
41067,
1359,
51,
6693,
45,
2824,
41067,
1359,
51,
1512,
9809,
45,
19216,
3445,
700,
492,
1083,
1264,
55,
459,
31330,
19648,
3284,
10343,
742,
343,
456,
327,
429,
613,
54,
299,
244,
53,
64,
613,
54,
350,
14281,
10343,
51,
1340,
64,
613,
54,
2002,
320,
419,
14281,
10343,
96,
110,
54,
98,
299,
1708,
87,
1590,
51,
1315,
1002,
1123,
45,
631,
638,
49,
920,
49,
920,
312,
419,
14281,
10343,
96,
110,
54,
1015,
543,
1667,
459,
2188,
411,
910,
51,
9169,
45,
110,
54,
894,
2125,
1264,
55,
459,
31330,
23025,
992,
563,
4731,
1701,
2703,
6913,
556,
3284,
1123,
742,
419,
5188,
299,
1708,
87,
1590,
51,
3918,
10343,
492,
419,
1168,
1269,
299,
5188,
51,
911,
492,
419,
434,
327,
1168,
1269,
882,
327,
110,
54,
494,
244,
54,
46,
848,
320,
547,
913,
39803,
299,
28663,
64,
547,
1264,
56,
459,
2946,
63,
1354,
451,
4731,
1701,
458,
666,
5058,
391,
2816,
518,
332,
494,
1168,
1269,
494,
332,
882,
332,
494,
244,
327,
110,
54,
494,
244,
54,
894,
419,
339,
419,
4666,
299,
244,
53,
64,
419,
1045,
299,
5188,
51,
687,
5740,
492,
419,
2236,
327,
393,
51,
16408,
1177,
320,
547,
1343,
299,
327,
1002,
1123,
46,
1045,
51,
1995,
492,
547,
434,
327,
673,
1375,
51,
30684,
365,
848,
320,
733,
4666,
3348,
733,
434,
327,
4570,
868,
244,
54,
46,
320,
1031,
913,
39803,
299,
28663,
64,
1031,
1264,
56,
459,
2946,
63,
607,
451,
6879,
5188,
868,
244,
54,
518,
332,
494,
4666,
312,
733,
339,
733,
434,
327,
673,
1375,
51,
12712,
459,
2188,
1912,
3591,
45,
671,
51,
9169,
45,
110,
54,
509,
848,
320,
1031,
913,
39803,
299,
28663,
64,
1031,
1264,
56,
459,
2946,
63,
347,
341,
1701,
49,
6879,
458,
1343,
2816,
391,
545,
5892,
518,
607,
630,
332,
494,
613,
54,
312,
733,
339,
547,
339,
832,
320,
733,
434,
327,
1343,
51,
12712,
459,
2188,
1912,
3591,
45,
671,
51,
9169,
45,
110,
54,
509,
848,
320,
1031,
913,
39803,
299,
28663,
64,
1031,
1264,
56,
459,
2946,
63,
347,
341,
1701,
49,
5892,
458,
16394,
3290,
6879,
1343,
518,
607,
630,
332,
494,
613,
54,
312,
733,
339,
547,
339,
419,
339,
2125,
1264,
55,
459,
665,
29290,
3290,
3284,
1123,
742,
419,
14281,
10343,
96,
110,
54,
1015,
4909,
492,
419,
5188,
299,
1708,
87,
1590,
51,
3918,
10343,
492,
419,
1168,
1269,
299,
5188,
51,
911,
492,
419,
434,
327,
1168,
1269,
882,
327,
110,
54,
494,
244,
54,
46,
848,
320,
547,
913,
39803,
299,
28663,
64,
547,
1264,
56,
459,
2946,
63,
1354,
451,
4731,
1701,
458,
666,
5058,
391,
2816,
518,
332,
494,
1168,
1269,
494,
332,
882,
332,
494,
244,
327,
110,
54,
494,
244,
54,
894,
419,
339,
2125,
1045,
299,
5188,
51,
687,
5740,
492,
419,
2236,
327,
393,
51,
16408,
1177,
320,
547,
1343,
299,
327,
1002,
1123,
46,
1045,
51,
1995,
492,
547,
434,
327,
673,
1375,
51,
30684,
365,
848,
320,
733,
913,
39803,
299,
28663,
64,
733,
1264,
56,
459,
2946,
63,
4731,
1701,
4326,
6879,
1343,
518,
332,
494,
1343,
312,
547,
339,
419,
339,
2125,
1264,
55,
459,
665,
15281,
1641,
664,
341,
1701,
64,
25788,
458,
2816,
742,
419,
1614,
320,
547,
5188,
51,
2564,
45,
110,
54,
312,
547,
913,
39803,
299,
28663,
64,
547,
1264,
56,
459,
2946,
63,
4452,
3773,
742,
419,
339,
2385,
327,
25788,
503,
848,
320,
547,
1264,
55,
459,
370,
25788,
7173,
419,
339,
343,
339,
1083,
1264,
55,
459,
31330,
305,
13561,
3284,
10343,
742,
343,
456,
327,
429,
613,
55,
299,
14281,
10343,
51,
1340,
449,
54,
64,
613,
55,
2394,
244,
53,
64,
613,
55,
15344,
320,
419,
1708,
87,
1590,
51,
2577,
1167,
1123,
45,
9816,
10343,
96,
110,
55,
2004,
419,
5188,
299,
1708,
87,
1590,
51,
3918,
10343,
492,
419,
1168,
1269,
299,
5188,
51,
911,
492,
419,
434,
327,
1168,
1269,
882,
613,
55,
848,
320,
547,
913,
39803,
299,
28663,
64,
547,
1264,
56,
459,
2946,
63,
1354,
451,
4731,
1701,
458,
666,
5058,
391,
2816,
518,
332,
494,
1168,
1269,
494,
332,
882,
332,
494,
613,
55,
312,
419,
339,
419,
1264,
55,
459,
665,
15281,
1641,
664,
341,
1701,
64,
25788,
458,
2816,
742,
419,
1614,
320,
547,
5188,
51,
2564,
45,
110,
55,
312,
547,
913,
39803,
299,
28663,
64,
547,
1264,
56,
459,
2946,
63,
4452,
3773,
742,
419,
339,
2385,
327,
25788,
503,
848,
320,
547,
1264,
55,
459,
370,
25788,
7173,
419,
339,
343,
339,
1083,
453,
28018,
44324,
2063,
310,
339,
310,
1264,
54,
459,
283,
5904,
1410,
3650,
4150,
742,
310,
461,
64,
303,
339,
3051,
1276,
303,
338,
964,
19869,
1513,
1123,
5767,
41890,
45,
3032,
3580,
49,
9495,
638,
49,
303,
338,
26405,
910,
49,
910,
49,
910,
46,
303,
338,
303,
338,
2048,
6930,
992,
331,
31521,
840,
2716,
1646,
1470,
4824,
331,
2716,
1431,
347,
331,
2716,
462,
303,
338,
456,
331,
2716,
3682,
51,
303,
338,
303,
338,
2762,
804,
63,
19869,
1513,
1123,
1319,
244,
347,
1152,
451,
3136,
303,
338,
303,
338,
990,
73,
38396,
19296,
280,
347,
1152,
451,
619,
3284,
12165,
4824,
341,
1431,
303,
588,
465,
964,
19869,
1513,
1123,
5767,
41890,
327,
7806,
3580,
3682,
49,
15614,
9495,
638,
10116,
1359,
49,
15614,
910,
24887,
49,
15614,
910,
20057,
1829,
49,
15614,
910,
2821,
46,
343,
2589,
990,
73,
38396,
19296,
320,
603,
1264,
55,
459,
31330,
8129,
992,
331,
31521,
20120,
310,
1264,
55,
459,
981,
3682,
63,
332,
494,
3682,
494,
7216,
462,
63,
332,
494,
10116,
1359,
494,
733,
7216,
1431,
63,
332,
494,
24887,
494,
7216,
1646,
63,
332,
494,
20057,
1829,
312,
603,
1701,
2868,
1187,
948,
15547,
299,
762,
64,
310,
10642,
2052,
1646,
2941,
281,
299,
762,
64,
310,
19869,
1513,
1123,
1644,
117,
1123,
283,
299,
762,
64,
603,
1614,
320,
343,
5409,
244,
1431,
244,
299,
327,
1885,
46,
10116,
1359,
51,
9152,
9809,
45,
27668,
566,
390,
45,
53,
312,
1083,
1187,
948,
15547,
299,
1431,
51,
483,
1829,
15547,
492,
1083,
648,
329,
299,
419,
327,
327,
3078,
899,
46,
10116,
1359,
51,
6693,
45,
36422,
1359,
51,
1512,
9809,
45,
8403,
1829,
46,
848,
6824,
872,
492,
343,
434,
327,
115,
868,
1187,
948,
15547,
51,
911,
1177,
320,
419,
1264,
56,
459,
2946,
63,
244,
5904,
100,
2946,
100,
540,
100,
8129,
41890,
2284,
1470,
458,
986,
451,
5105,
451,
1431,
1200,
5452,
742,
343,
339,
832,
320,
419,
1646,
2941,
299,
327,
2941,
46,
1187,
948,
15547,
51,
390,
45,
115,
312,
419,
1614,
320,
547,
1644,
117,
1123,
299,
1708,
87,
1590,
51,
1315,
41890,
1123,
45,
948,
2941,
312,
547,
1644,
117,
1123,
51,
543,
1667,
459,
2188,
411,
2821,
312,
547,
1644,
117,
1123,
51,
688,
3032,
2365,
45,
3442,
312,
547,
1644,
117,
1123,
51,
489,
24020,
4263,
45,
3916,
1123,
51,
45960,
20518,
100,
8062,
100,
13696,
312,
419,
339,
2385,
327,
3284,
503,
54,
848,
320,
547,
1264,
56,
459,
2946,
63,
8287,
3284,
4824,
5767,
41890,
365,
518,
332,
494,
503,
54,
312,
547,
1644,
117,
1123,
283,
299,
762,
64,
419,
339,
343,
339,
310,
339,
2385,
327,
3284,
503,
55,
848,
320,
343,
1264,
56,
459,
2946,
63,
39746,
1456,
1034,
63,
244,
16167,
3284,
4824,
5767,
41890,
365,
518,
332,
494,
503,
55,
312,
343,
1644,
117,
1123,
283,
299,
762,
64,
310,
339,
603,
434,
327,
2986,
117,
1123,
630,
762,
46,
320,
343,
1264,
55,
459,
665,
418,
46097,
7418,
9871,
35854,
2387,
6761,
737,
5809,
10159,
742,
343,
1440,
556,
990,
73,
38396,
19296,
459,
345,
13307,
391,
758,
992,
331,
31521,
345,
742,
310,
339,
603,
1264,
55,
459,
665,
331,
31521,
1421,
2602,
758,
992,
742,
310,
461,
1644,
117,
1123,
64,
303,
339,
4054,
964,
782,
640,
1167,
903,
365,
372,
2589,
990,
73,
38396,
19296,
320,
310,
1614,
320,
222,
325,
1485,
1264,
55,
459,
981,
1708,
903,
299,
1708,
4098,
51,
2564,
45,
1702,
1061,
312,
742,
343,
1708,
903,
299,
1708,
4098,
51,
2564,
45,
1702,
1061,
312,
343,
434,
327,
1585,
903,
630,
762,
46,
320,
419,
1440,
556,
990,
73,
38396,
19296,
459,
345,
16729,
4256,
2236,
10774,
456,
1708,
1137,
742,
343,
339,
222,
325,
1485,
1264,
55,
459,
981,
1708,
5740,
299,
1708,
903,
51,
1585,
5740,
26305,
343,
1708,
5740,
299,
1708,
903,
51,
1585,
5740,
492,
310,
339,
2385,
327,
3284,
503,
848,
320,
343,
1440,
556,
990,
73,
38396,
19296,
459,
345,
46996,
2236,
10774,
456,
1708,
1137,
518,
332,
494,
503,
312,
310,
339,
303,
339,
4054,
964,
782,
31521,
1580,
26342,
365,
372,
2589,
990,
73,
38396,
19296,
320,
603,
1264,
55,
459,
42298,
1580,
26342,
742,
310,
640,
1167,
903,
492,
603,
434,
327,
1585,
5740,
51,
1995,
1167,
365,
5118,
19869,
1513,
1167,
46,
343,
461,
64,
603,
1440,
556,
990,
73,
38396,
19296,
459,
345,
1708,
2771,
2387,
331,
31521,
1137,
742,
303,
339,
222,
222,
130,
222
] |
[
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 4,142
| true
| 49.790753
| true
| true
|
MethodPointerStamp.java
|
/FileExtraction/Java_unseen/corretto_corretto-11/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.hotspot/src/org/graalvm/compiler/hotspot/nodes/type/MethodPointerStamp.java
|
/*
* Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
package org.graalvm.compiler.hotspot.nodes.type;
import org.graalvm.compiler.core.common.type.AbstractPointerStamp;
import org.graalvm.compiler.core.common.type.Stamp;
import jdk.vm.ci.hotspot.HotSpotMemoryAccessProvider;
import jdk.vm.ci.hotspot.HotSpotMetaspaceConstant;
import jdk.vm.ci.meta.Constant;
import jdk.vm.ci.meta.JavaConstant;
import jdk.vm.ci.meta.MemoryAccessProvider;
import jdk.vm.ci.meta.MetaAccessProvider;
public final class MethodPointerStamp extends MetaspacePointerStamp {
private static final MethodPointerStamp METHOD = new MethodPointerStamp(false, false);
private static final MethodPointerStamp METHOD_NON_NULL = new MethodPointerStamp(true, false);
private static final MethodPointerStamp METHOD_ALWAYS_NULL = new MethodPointerStamp(false, true);
public static MethodPointerStamp method() {
return METHOD;
}
public static MethodPointerStamp methodNonNull() {
return METHOD_NON_NULL;
}
private MethodPointerStamp(boolean nonNull, boolean alwaysNull) {
super(nonNull, alwaysNull);
}
@Override
protected AbstractPointerStamp copyWith(boolean newNonNull, boolean newAlwaysNull) {
if (newNonNull) {
assert !newAlwaysNull;
return METHOD_NON_NULL;
} else if (newAlwaysNull) {
return METHOD_ALWAYS_NULL;
} else {
return METHOD;
}
}
@Override
public boolean isCompatible(Stamp otherStamp) {
if (this == otherStamp) {
return true;
}
return otherStamp instanceof MethodPointerStamp;
}
@Override
public boolean isCompatible(Constant constant) {
if (constant instanceof HotSpotMetaspaceConstant) {
return ((HotSpotMetaspaceConstant) constant).asResolvedJavaMethod() != null;
} else {
return super.isCompatible(constant);
}
}
@Override
public Stamp constant(Constant c, MetaAccessProvider meta) {
if (JavaConstant.NULL_POINTER.equals(c)) {
return METHOD_ALWAYS_NULL;
} else {
assert c instanceof HotSpotMetaspaceConstant;
return METHOD_NON_NULL;
}
}
@Override
public Constant readConstant(MemoryAccessProvider provider, Constant base, long displacement) {
HotSpotMemoryAccessProvider hsProvider = (HotSpotMemoryAccessProvider) provider;
return hsProvider.readMethodPointerConstant(base, displacement);
}
@Override
public String toString() {
StringBuilder ret = new StringBuilder("Method*");
appendString(ret);
return ret.toString();
}
}
| 3,723
|
Java
|
.java
|
corretto/corretto-11
| 662
| 105
| 31
|
2019-02-11T20:13:52Z
|
2024-05-09T07:01:40Z
|
d246d7e5adf8eef3fc0e1e8f48ba3c65df1304daa62f2a4aeabfa0dfaaaa0ff5
|
[
1127,
222,
338,
2657,
327,
104,
46,
244,
55,
53,
54,
57,
49,
244,
55,
53,
54,
58,
49,
17980,
480,
52,
290,
2840,
25094,
51,
3381,
4760,
5225,
51,
222,
338,
4103,
2387,
23740,
1895,
35234,
8995,
2387,
11988,
1895,
8968,
10961,
30441,
51,
222,
338,
222,
338,
1369,
1361,
458,
3760,
2951,
64,
863,
902,
14081,
580,
480,
52,
290,
5370,
580,
222,
338,
1549,
341,
5974,
451,
341,
6994,
6153,
5062,
1196,
1522,
244,
55,
1773,
49,
641,
222,
338,
9582,
829,
341,
7834,
3870,
7120,
51,
222,
338,
222,
338,
1369,
1361,
458,
2744,
347,
341,
9850,
708,
580,
1118,
545,
6386,
49,
1294,
4213,
222,
338,
2979,
9345,
64,
2895,
4462,
341,
4506,
14319,
451,
7934,
575,
222,
338,
8114,
4800,
418,
7848,
7763,
51,
244,
2819,
341,
6994,
6153,
5062,
1196,
222,
338,
1522,
244,
55,
456,
1851,
4261,
327,
102,
1948,
458,
5976,
347,
341,
7621,
822,
708,
222,
338,
20854,
297,
4850,
477,
1361,
566,
222,
338,
222,
338,
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
6153,
5062,
1196,
1522,
222,
338,
244,
55,
7979,
642,
477,
1409,
64,
434,
666,
49,
2886,
391,
341,
7834,
3870,
7120,
49,
222,
338,
6367,
4345,
244,
58,
54,
34113,
1277,
49,
33316,
26912,
49,
25006,
49,
13083,
244,
53,
55,
54,
54,
53,
50,
54,
56,
53,
54,
15067,
51,
222,
338,
222,
338,
5304,
7272,
17980,
49,
244,
58,
53,
53,
17980,
27004,
3094,
49,
4777,
21100,
2432,
6868,
49,
10562,
244,
62,
57,
53,
59,
58,
15067,
222,
338,
575,
7739,
19955,
51,
11116,
51,
527,
434,
863,
1868,
5408,
2490,
575,
1178,
1364,
222,
338,
10034,
51,
222,
588,
499,
222,
1337,
1105,
51,
22502,
298,
3166,
51,
10203,
51,
8156,
7529,
51,
5484,
51,
700,
64,
222,
222,
485,
1105,
51,
22502,
298,
3166,
51,
10203,
51,
1284,
51,
2297,
51,
700,
51,
5597,
4828,
12964,
64,
222,
485,
1105,
51,
22502,
298,
3166,
51,
10203,
51,
1284,
51,
2297,
51,
700,
51,
12964,
64,
222,
222,
485,
614,
4532,
51,
3166,
51,
1891,
51,
8156,
7529,
51,
14102,
19021,
5030,
2807,
2588,
64,
222,
485,
614,
4532,
51,
3166,
51,
1891,
51,
8156,
7529,
51,
14102,
19021,
3373,
321,
10853,
5476,
64,
222,
485,
614,
4532,
51,
3166,
51,
1891,
51,
2874,
51,
5476,
64,
222,
485,
614,
4532,
51,
3166,
51,
1891,
51,
2874,
51,
5445,
5476,
64,
222,
485,
614,
4532,
51,
3166,
51,
1891,
51,
2874,
51,
5030,
2807,
2588,
64,
222,
485,
614,
4532,
51,
3166,
51,
1891,
51,
2874,
51,
4247,
2807,
2588,
64,
222,
222,
942,
1175,
462,
5409,
4828,
12964,
2041,
8357,
321,
10853,
4828,
12964,
320,
465,
964,
924,
1175,
5409,
4828,
12964,
28259,
299,
556,
5409,
4828,
12964,
45,
1886,
49,
920,
312,
465,
964,
924,
1175,
5409,
4828,
12964,
28259,
100,
10012,
100,
3305,
299,
556,
5409,
4828,
12964,
45,
1527,
49,
920,
312,
465,
964,
924,
1175,
5409,
4828,
12964,
28259,
100,
29971,
100,
3305,
299,
556,
5409,
4828,
12964,
45,
1886,
49,
878,
312,
465,
581,
924,
5409,
4828,
12964,
1431,
365,
320,
310,
461,
28259,
64,
303,
339,
465,
581,
924,
5409,
4828,
12964,
1431,
10082,
365,
320,
310,
461,
28259,
100,
10012,
100,
3305,
64,
303,
339,
465,
964,
5409,
4828,
12964,
45,
4412,
3000,
1898,
49,
1922,
5198,
1898,
46,
320,
310,
2615,
45,
3804,
1898,
49,
5198,
1898,
312,
303,
339,
465,
496,
1806,
303,
2532,
7406,
4828,
12964,
1948,
1569,
45,
4412,
556,
10082,
49,
1922,
556,
23084,
1898,
46,
320,
310,
434,
327,
909,
10082,
46,
320,
343,
1217,
673,
909,
23084,
1898,
64,
343,
461,
28259,
100,
10012,
100,
3305,
64,
310,
339,
832,
434,
327,
909,
23084,
1898,
46,
320,
343,
461,
28259,
100,
29971,
100,
3305,
64,
310,
339,
832,
320,
343,
461,
28259,
64,
310,
339,
303,
339,
465,
496,
1806,
303,
581,
1922,
458,
17271,
45,
12964,
1623,
12964,
46,
320,
310,
434,
327,
597,
630,
1623,
12964,
46,
320,
343,
461,
878,
64,
310,
339,
310,
461,
1623,
12964,
5118,
5409,
4828,
12964,
64,
303,
339,
465,
496,
1806,
303,
581,
1922,
458,
17271,
45,
5476,
8100,
46,
320,
310,
434,
327,
8696,
5118,
24851,
19021,
3373,
321,
10853,
5476,
46,
320,
343,
461,
1849,
14102,
19021,
3373,
321,
10853,
5476,
46,
8100,
566,
321,
17901,
5445,
1885,
365,
882,
762,
64,
310,
339,
832,
320,
343,
461,
2615,
51,
316,
17271,
45,
8696,
312,
310,
339,
303,
339,
465,
496,
1806,
303,
581,
1277,
778,
8100,
45,
5476,
300,
49,
11990,
2807,
2588,
6096,
46,
320,
310,
434,
327,
5445,
5476,
51,
3305,
100,
21541,
51,
3591,
45,
104,
509,
320,
343,
461,
28259,
100,
29971,
100,
3305,
64,
310,
339,
832,
320,
343,
1217,
300,
5118,
24851,
19021,
3373,
321,
10853,
5476,
64,
343,
461,
28259,
100,
10012,
100,
3305,
64,
310,
339,
303,
339,
465,
496,
1806,
303,
581,
15027,
1511,
5476,
45,
5030,
2807,
2588,
6897,
49,
15027,
1712,
49,
1964,
41329,
46,
320,
310,
24851,
19021,
5030,
2807,
2588,
28054,
2588,
299,
327,
14102,
19021,
5030,
2807,
2588,
46,
6897,
64,
310,
461,
28054,
2588,
51,
870,
1885,
4828,
5476,
45,
1460,
49,
41329,
312,
303,
339,
465,
496,
1806,
303,
581,
910,
11349,
365,
320,
310,
9705,
2170,
299,
556,
9705,
459,
1885,
44006,
310,
5507,
671,
45,
2113,
312,
310,
461,
2170,
51,
3127,
492,
303,
339,
222,
130,
222
] |
[
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 904
| true
| 69.674993
| true
| true
|
AbstractAopProxyTests.java
|
/FileExtraction/Java_unseen/TAKETODAY_today-infrastructure/today-context/src/test/java/cn/taketoday/aop/framework/AbstractAopProxyTests.java
|
/*
* Copyright 2017 - 2023 the original author or authors.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see [http://www.gnu.org/licenses/]
*/
package cn.taketoday.aop.framework;
import org.aopalliance.aop.Advice;
import org.aopalliance.intercept.MethodInterceptor;
import org.aopalliance.intercept.MethodInvocation;
import org.assertj.core.api.Assertions;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.lang.reflect.Method;
import java.lang.reflect.UndeclaredThrowableException;
import java.rmi.MarshalException;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import cn.taketoday.aop.AdvisedSupportListener;
import cn.taketoday.aop.Advisor;
import cn.taketoday.aop.AfterReturningAdvice;
import cn.taketoday.aop.DynamicIntroductionAdvice;
import cn.taketoday.aop.MethodBeforeAdvice;
import cn.taketoday.aop.Pointcut;
import cn.taketoday.aop.TargetSource;
import cn.taketoday.aop.ThrowsAdvice;
import cn.taketoday.aop.interceptor.DebugInterceptor;
import cn.taketoday.aop.interceptor.ExposeInvocationInterceptor;
import cn.taketoday.aop.support.AopUtils;
import cn.taketoday.aop.support.DefaultIntroductionAdvisor;
import cn.taketoday.aop.support.DefaultPointcutAdvisor;
import cn.taketoday.aop.support.DelegatingIntroductionInterceptor;
import cn.taketoday.aop.support.DynamicMethodMatcherPointcut;
import cn.taketoday.aop.support.NameMatchMethodPointcut;
import cn.taketoday.aop.support.StaticMethodMatcherPointcutAdvisor;
import cn.taketoday.aop.target.HotSwappableTargetSource;
import cn.taketoday.aop.target.SingletonTargetSource;
import cn.taketoday.aop.testfixture.advice.CountingAfterReturningAdvice;
import cn.taketoday.aop.testfixture.advice.CountingBeforeAdvice;
import cn.taketoday.aop.testfixture.advice.MethodCounter;
import cn.taketoday.aop.testfixture.advice.MyThrowsHandler;
import cn.taketoday.aop.testfixture.interceptor.NopInterceptor;
import cn.taketoday.aop.testfixture.interceptor.SerializableNopInterceptor;
import cn.taketoday.aop.testfixture.interceptor.TimestampIntroductionInterceptor;
import cn.taketoday.beans.testfixture.beans.IOther;
import cn.taketoday.beans.testfixture.beans.ITestBean;
import cn.taketoday.beans.testfixture.beans.Person;
import cn.taketoday.beans.testfixture.beans.SerializablePerson;
import cn.taketoday.beans.testfixture.beans.TestBean;
import cn.taketoday.core.testfixture.TimeStamped;
import cn.taketoday.core.testfixture.io.SerializationTestUtils;
import cn.taketoday.lang.Nullable;
import test.mixin.LockMixin;
import test.mixin.LockMixinAdvisor;
import test.mixin.Lockable;
import test.mixin.LockedException;
import static org.assertj.core.api.Assertions.assertThat;
import static org.assertj.core.api.Assertions.assertThatExceptionOfType;
import static org.assertj.core.api.Assertions.assertThatIllegalArgumentException;
import static org.assertj.core.api.Assertions.assertThatIllegalStateException;
/**
* @author Rod Johnson
* @author Juergen Hoeller
* @author Chris Beams
* @since 13.03.2003
*/
public abstract class AbstractAopProxyTests {
protected final MockTargetSource mockTargetSource = new MockTargetSource();
/**
* Make a clean target source available if code wants to use it.
* The target must be set. Verification will be automatic in tearDown
* to ensure that it was used appropriately by code.
*/
@BeforeEach
public void setUp() {
mockTargetSource.reset();
}
@AfterEach
public void tearDown() {
mockTargetSource.verify();
}
/**
* Set in CGLIB or JDK mode.
*/
protected abstract Object createProxy(ProxyCreatorSupport as);
protected abstract AopProxy createAopProxy(AdvisedSupport as);
/**
* Is a target always required?
*/
protected boolean requiresTarget() {
return false;
}
/**
* Simple test that if we set values we can get them out again.
*/
@Test
public void testValuesStick() {
int age1 = 33;
int age2 = 37;
String name = "tony";
TestBean target1 = new TestBean();
target1.setAge(age1);
ProxyFactory pf1 = new ProxyFactory(target1);
pf1.addAdvisor(new DefaultPointcutAdvisor(new NopInterceptor()));
pf1.addAdvisor(new DefaultPointcutAdvisor(new TimestampIntroductionInterceptor()));
ITestBean tb = (ITestBean) pf1.getProxy();
assertThat(tb.getAge()).isEqualTo(age1);
tb.setAge(age2);
assertThat(tb.getAge()).isEqualTo(age2);
assertThat(tb.getName()).isNull();
tb.setName(name);
assertThat(tb.getName()).isEqualTo(name);
}
@Test
public void testSerializationAdviceAndTargetNotSerializable() throws Exception {
TestBean tb = new TestBean();
assertThat(SerializationTestUtils.isSerializable(tb)).isFalse();
ProxyFactory pf = new ProxyFactory(tb);
pf.addAdvice(new NopInterceptor());
ITestBean proxy = (ITestBean) createAopProxy(pf).getProxy();
assertThat(SerializationTestUtils.isSerializable(proxy)).isFalse();
}
@Test
public void testSerializationAdviceNotSerializable() throws Exception {
SerializablePerson sp = new SerializablePerson();
assertThat(SerializationTestUtils.isSerializable(sp)).isTrue();
ProxyFactory pf = new ProxyFactory(sp);
// This isn't serializable
Advice i = new NopInterceptor();
pf.addAdvice(i);
assertThat(SerializationTestUtils.isSerializable(i)).isFalse();
Object proxy = createAopProxy(pf).getProxy();
assertThat(SerializationTestUtils.isSerializable(proxy)).isFalse();
}
@Test
public void testSerializableTargetAndAdvice() throws Throwable {
SerializablePerson personTarget = new SerializablePerson();
personTarget.setName("jim");
personTarget.setAge(26);
assertThat(SerializationTestUtils.isSerializable(personTarget)).isTrue();
ProxyFactory pf = new ProxyFactory(personTarget);
CountingThrowsAdvice cta = new CountingThrowsAdvice();
pf.addAdvice(new SerializableNopInterceptor());
// Try various advice types
pf.addAdvice(new CountingBeforeAdvice());
pf.addAdvice(new CountingAfterReturningAdvice());
pf.addAdvice(cta);
Person p = (Person) createAopProxy(pf).getProxy();
p.echo(null);
assertThat(cta.getCalls()).isEqualTo(0);
try {
p.echo(new IOException());
}
catch (IOException ex) {
/* expected */
}
assertThat(cta.getCalls()).isEqualTo(1);
// Will throw exception if it fails
Person p2 = SerializationTestUtils.serializeAndDeserialize(p);
assertThat(p2).isNotSameAs(p);
assertThat(p2.getName()).isEqualTo(p.getName());
assertThat(p2.getAge()).isEqualTo(p.getAge());
assertThat(AopUtils.isAopProxy(p2)).as("Deserialized object is an AOP proxy").isTrue();
Advised a1 = (Advised) p;
Advised a2 = (Advised) p2;
// Check we can manipulate state of p2
assertThat(a2.getAdvisors().length).isEqualTo(a1.getAdvisors().length);
// This should work as SerializablePerson is equal
assertThat(p2).as("Proxies should be equal, even after one was serialized").isEqualTo(p);
assertThat(p).as("Proxies should be equal, even after one was serialized").isEqualTo(p2);
// Check we can add a new advisor to the target
NopInterceptor ni = new NopInterceptor();
p2.getAge();
assertThat(ni.getCount()).isEqualTo(0);
a2.addAdvice(ni);
p2.getAge();
assertThat(ni.getCount()).isEqualTo(1);
cta = (CountingThrowsAdvice) a2.getAdvisors()[3].getAdvice();
p2.echo(null);
assertThat(cta.getCalls()).isEqualTo(1);
try {
p2.echo(new IOException());
}
catch (IOException ex) {
}
assertThat(cta.getCalls()).isEqualTo(2);
}
/**
* Check that the two MethodInvocations necessary are independent and
* don't conflict.
* Check also proxy exposure.
*/
@Test
public void testOneAdvisedObjectCallsAnother() {
int age1 = 33;
int age2 = 37;
TestBean target1 = new TestBean();
ProxyFactory pf1 = new ProxyFactory(target1);
// Permit proxy and invocation checkers to get context from AopContext
pf1.setExposeProxy(true);
NopInterceptor di1 = new NopInterceptor();
pf1.addAdvice(0, di1);
pf1.addAdvice(1, new ProxyMatcherInterceptor());
pf1.addAdvice(2, new CheckMethodInvocationIsSameInAndOutInterceptor());
pf1.addAdvice(1, new CheckMethodInvocationViaThreadLocalIsSameInAndOutInterceptor());
// Must be first
pf1.addAdvice(0, ExposeInvocationInterceptor.INSTANCE);
ITestBean advised1 = (ITestBean) pf1.getProxy();
advised1.setAge(age1); // = 1 invocation
TestBean target2 = new TestBean();
ProxyFactory pf2 = new ProxyFactory(target2);
pf2.setExposeProxy(true);
NopInterceptor di2 = new NopInterceptor();
pf2.addAdvice(0, di2);
pf2.addAdvice(1, new ProxyMatcherInterceptor());
pf2.addAdvice(2, new CheckMethodInvocationIsSameInAndOutInterceptor());
pf2.addAdvice(1, new CheckMethodInvocationViaThreadLocalIsSameInAndOutInterceptor());
pf2.addAdvice(0, ExposeInvocationInterceptor.INSTANCE);
ITestBean advised2 = (ITestBean) createProxy(pf2);
advised2.setAge(age2);
advised1.setSpouse(advised2); // = 2 invocations
// = 3 invocations
assertThat(advised1.getAge()).as("Advised one has correct age").isEqualTo(age1);
assertThat(advised2.getAge()).as("Advised two has correct age").isEqualTo(age2);
// Means extra call on advised 2
// = 4 invocations on 1 and another one on 2
assertThat(advised1.getSpouse().getAge()).as("Advised one spouse has correct age").isEqualTo(age2);
assertThat(di1.getCount()).as("one was invoked correct number of times").isEqualTo(4);
// Got hit by call to advised1.getSpouse().getAge()
assertThat(di2.getCount()).as("one was invoked correct number of times").isEqualTo(3);
}
@Test
public void testReentrance() {
int age1 = 33;
TestBean target1 = new TestBean();
ProxyFactory pf1 = new ProxyFactory(target1);
NopInterceptor di1 = new NopInterceptor();
pf1.addAdvice(0, di1);
ITestBean advised1 = (ITestBean) createProxy(pf1);
advised1.setAge(age1); // = 1 invocation
advised1.setSpouse(advised1); // = 2 invocations
assertThat(di1.getCount()).as("one was invoked correct number of times").isEqualTo(2);
// = 3 invocations
assertThat(advised1.getAge()).as("Advised one has correct age").isEqualTo(age1);
assertThat(di1.getCount()).as("one was invoked correct number of times").isEqualTo(3);
// = 5 invocations, as reentrant call to spouse is advised also
assertThat(advised1.getSpouse().getAge()).as("Advised spouse has correct age").isEqualTo(age1);
assertThat(di1.getCount()).as("one was invoked correct number of times").isEqualTo(5);
}
@Test
public void testTargetCanGetProxy() {
NopInterceptor di = new NopInterceptor();
INeedsToSeeProxy target = new TargetChecker();
ProxyFactory proxyFactory = new ProxyFactory(target);
proxyFactory.setExposeProxy(true);
assertThat(proxyFactory.isExposeProxy()).isTrue();
proxyFactory.addAdvice(0, di);
INeedsToSeeProxy proxied = (INeedsToSeeProxy) createProxy(proxyFactory);
assertThat(di.getCount()).isEqualTo(0);
assertThat(target.getCount()).isEqualTo(0);
proxied.incrementViaThis();
assertThat(target.getCount()).as("Increment happened").isEqualTo(1);
assertThat(di.getCount()).as("Only one invocation via AOP as use of this wasn't proxied").isEqualTo(1);
// 1 invocation
assertThat(proxied.getCount()).as("Increment happened").isEqualTo(1);
proxied.incrementViaProxy(); // 2 invocations
assertThat(target.getCount()).as("Increment happened").isEqualTo(2);
assertThat(di.getCount()).as("3 more invocations via AOP as the first call was reentrant through the proxy").isEqualTo(4);
}
@Test
// Should fail to get proxy as exposeProxy wasn't set to true
public void testTargetCantGetProxyByDefault() {
NeedsToSeeProxy et = new NeedsToSeeProxy();
ProxyFactory pf1 = new ProxyFactory(et);
assertThat(pf1.isExposeProxy()).isFalse();
INeedsToSeeProxy proxied = (INeedsToSeeProxy) createProxy(pf1);
assertThatIllegalStateException().isThrownBy(() ->
proxied.incrementViaProxy());
}
@Test
public void testContext() throws Throwable {
testContext(true);
}
@Test
public void testNoContext() throws Throwable {
testContext(false);
}
/**
* @param context if true, want context
*/
private void testContext(final boolean context) throws Throwable {
final String s = "foo";
// Test return value
MethodInterceptor mi = invocation -> {
if (!context) {
assertNoInvocationContext();
}
else {
assertThat(ExposeInvocationInterceptor.currentInvocation()).as("have context").isNotNull();
}
return s;
};
AdvisedSupport pc = new AdvisedSupport(ITestBean.class);
if (context) {
pc.addAdvice(ExposeInvocationInterceptor.INSTANCE);
}
pc.addAdvice(mi);
// Keep CGLIB happy
if (requiresTarget()) {
pc.setTarget(new TestBean());
}
AopProxy aop = createAopProxy(pc);
assertNoInvocationContext();
ITestBean tb = (ITestBean) aop.getProxy();
assertNoInvocationContext();
assertThat(tb.getName()).as("correct return value").isSameAs(s);
}
/**
* Test that the proxy returns itself when the
* target returns {@code this}
*/
@Test
public void testTargetReturnsThis() throws Throwable {
// Test return value
TestBean raw = new OwnSpouse();
ProxyCreatorSupport pc = new ProxyCreatorSupport();
pc.setInterfaces(ITestBean.class);
pc.setTarget(raw);
ITestBean tb = (ITestBean) createProxy(pc);
assertThat(tb.getSpouse()).as("this return is wrapped in proxy").isSameAs(tb);
}
@Test
public void testDeclaredException() throws Throwable {
final Exception expectedException = new Exception();
// Test return value
MethodInterceptor mi = invocation -> {
throw expectedException;
};
AdvisedSupport pc = new AdvisedSupport(ITestBean.class);
pc.addAdvice(ExposeInvocationInterceptor.INSTANCE);
pc.addAdvice(mi);
// We don't care about the object
mockTargetSource.setTarget(new TestBean());
pc.setTargetSource(mockTargetSource);
AopProxy aop = createAopProxy(pc);
assertThatExceptionOfType(Exception.class).isThrownBy(() -> {
ITestBean tb = (ITestBean) aop.getProxy();
// Note: exception param below isn't used
tb.exceptional(expectedException);
}).matches(expectedException::equals);
}
/**
* An interceptor throws a checked exception not on the method signature.
* For efficiency, we don't bother unifying java.lang.reflect and
* cn.taketoday.cglib UndeclaredThrowableException
*/
@Test
public void testUndeclaredCheckedException() throws Throwable {
final Exception unexpectedException = new Exception();
// Test return value
MethodInterceptor mi = invocation -> {
throw unexpectedException;
};
AdvisedSupport pc = new AdvisedSupport(ITestBean.class);
pc.addAdvice(ExposeInvocationInterceptor.INSTANCE);
pc.addAdvice(mi);
// We don't care about the object
pc.setTarget(new TestBean());
AopProxy aop = createAopProxy(pc);
ITestBean tb = (ITestBean) aop.getProxy();
assertThatExceptionOfType(UndeclaredThrowableException.class).isThrownBy(
tb::getAge)
.satisfies(ex -> Assertions.assertThat(ex.getUndeclaredThrowable()).isEqualTo(unexpectedException));
}
@Test
public void testUndeclaredUncheckedException() throws Throwable {
final RuntimeException unexpectedException = new RuntimeException();
// Test return value
MethodInterceptor mi = invocation -> {
throw unexpectedException;
};
AdvisedSupport pc = new AdvisedSupport(ITestBean.class);
pc.addAdvice(ExposeInvocationInterceptor.INSTANCE);
pc.addAdvice(mi);
// We don't care about the object
pc.setTarget(new TestBean());
AopProxy aop = createAopProxy(pc);
ITestBean tb = (ITestBean) aop.getProxy();
assertThatExceptionOfType(RuntimeException.class).isThrownBy(
tb::getAge)
.matches(unexpectedException::equals);
}
/**
* Check that although a method is eligible for advice chain optimization and
* direct reflective invocation, it doesn't happen if we've asked to see the proxy,
* so as to guarantee a consistent programming model.
*/
@Test
public void testTargetCanGetInvocationEvenIfNoAdviceChain() throws Throwable {
NeedsToSeeProxy target = new NeedsToSeeProxy();
AdvisedSupport pc = new AdvisedSupport(INeedsToSeeProxy.class);
pc.setTarget(target);
pc.setExposeProxy(true);
// Now let's try it with the special target
AopProxy aop = createAopProxy(pc);
INeedsToSeeProxy proxied = (INeedsToSeeProxy) aop.getProxy();
// It will complain if it can't get the proxy
proxied.incrementViaProxy();
}
@Test
public void testTargetCanGetInvocation() throws Throwable {
final InvocationCheckExposedInvocationTestBean expectedTarget = new InvocationCheckExposedInvocationTestBean();
AdvisedSupport pc = new AdvisedSupport(ITestBean.class, IOther.class);
pc.addAdvice(ExposeInvocationInterceptor.INSTANCE);
TrapTargetInterceptor tii = new TrapTargetInterceptor() {
@Override
public Object invoke(MethodInvocation invocation) throws Throwable {
// Assert that target matches BEFORE invocation returns
assertThat(invocation.getThis()).as("Target is correct").isEqualTo(expectedTarget);
return super.invoke(invocation);
}
};
pc.addAdvice(tii);
pc.setTarget(expectedTarget);
AopProxy aop = createAopProxy(pc);
ITestBean tb = (ITestBean) aop.getProxy();
tb.getName();
}
/**
* Throw an exception if there is an Invocation.
*/
private void assertNoInvocationContext() {
assertThatIllegalStateException().isThrownBy(
ExposeInvocationInterceptor::currentInvocation);
}
/**
* Test stateful interceptor
*/
@Test
public void testMixinWithIntroductionAdvisor() throws Throwable {
TestBean tb = new TestBean();
ProxyFactory pc = new ProxyFactory();
pc.addInterface(ITestBean.class);
pc.addAdvisor(new LockMixinAdvisor());
pc.setTarget(tb);
testTestBeanIntroduction(pc);
}
@Test
public void testMixinWithIntroductionInfo() throws Throwable {
TestBean tb = new TestBean();
ProxyFactory pc = new ProxyFactory();
pc.addInterface(ITestBean.class);
// We don't use an IntroductionAdvisor, we can just add an advice that implements IntroductionInfo
pc.addAdvice(new LockMixin());
pc.setTarget(tb);
testTestBeanIntroduction(pc);
}
private void testTestBeanIntroduction(ProxyFactory pc) {
int newAge = 65;
ITestBean itb = (ITestBean) createProxy(pc);
itb.setAge(newAge);
assertThat(itb.getAge()).isEqualTo(newAge);
Lockable lockable = (Lockable) itb;
assertThat(lockable.locked()).isFalse();
lockable.lock();
assertThat(itb.getAge()).isEqualTo(newAge);
assertThatExceptionOfType(LockedException.class).isThrownBy(() ->
itb.setAge(1));
assertThat(itb.getAge()).isEqualTo(newAge);
// Unlock
assertThat(lockable.locked()).isTrue();
lockable.unlock();
itb.setAge(1);
assertThat(itb.getAge()).isEqualTo(1);
}
@Test
public void testReplaceArgument() throws Throwable {
TestBean tb = new TestBean();
ProxyFactory pc = new ProxyFactory();
pc.addInterface(ITestBean.class);
pc.setTarget(tb);
pc.addAdvisor(new StringSetterNullReplacementAdvice());
ITestBean t = (ITestBean) pc.getProxy();
int newAge = 5;
t.setAge(newAge);
assertThat(t.getAge()).isEqualTo(newAge);
String newName = "greg";
t.setName(newName);
assertThat(t.getName()).isEqualTo(newName);
t.setName(null);
// Null replacement magic should work
assertThat(t.getName()).isEqualTo("");
}
@Test
public void testCanCastProxyToProxyConfig() throws Throwable {
TestBean tb = new TestBean();
ProxyFactory pc = new ProxyFactory(tb);
NopInterceptor di = new NopInterceptor();
pc.addAdvice(0, di);
ITestBean t = (ITestBean) createProxy(pc);
assertThat(di.getCount()).isEqualTo(0);
t.setAge(23);
assertThat(t.getAge()).isEqualTo(23);
assertThat(di.getCount()).isEqualTo(2);
Advised advised = (Advised) t;
assertThat(advised.getAdvisors().length).as("Have 1 advisor").isEqualTo(1);
assertThat(advised.getAdvisors()[0].getAdvice()).isEqualTo(di);
NopInterceptor di2 = new NopInterceptor();
advised.addAdvice(1, di2);
t.getName();
assertThat(di.getCount()).isEqualTo(3);
assertThat(di2.getCount()).isEqualTo(1);
// will remove di
advised.removeAdvisor(0);
t.getAge();
// Unchanged
assertThat(di.getCount()).isEqualTo(3);
assertThat(di2.getCount()).isEqualTo(2);
CountingBeforeAdvice cba = new CountingBeforeAdvice();
assertThat(cba.getCalls()).isEqualTo(0);
advised.addAdvice(cba);
t.setAge(16);
assertThat(t.getAge()).isEqualTo(16);
assertThat(cba.getCalls()).isEqualTo(2);
}
@Test
public void testAdviceImplementsIntroductionInfo() throws Throwable {
TestBean tb = new TestBean();
String name = "tony";
tb.setName(name);
ProxyFactory pc = new ProxyFactory(tb);
NopInterceptor di = new NopInterceptor();
pc.addAdvice(di);
final long ts = 37;
pc.addAdvice(new DelegatingIntroductionInterceptor((TimeStamped) () -> ts));
ITestBean proxied = (ITestBean) createProxy(pc);
assertThat(proxied.getName()).isEqualTo(name);
TimeStamped intro = (TimeStamped) proxied;
assertThat(intro.getTimeStamp()).isEqualTo(ts);
}
@Test
public void testCannotAddDynamicIntroductionAdviceExceptInIntroductionAdvice() throws Throwable {
TestBean target = new TestBean();
target.setAge(21);
ProxyFactory pc = new ProxyFactory(target);
assertThatExceptionOfType(AopConfigException.class).isThrownBy(() ->
pc.addAdvice(new DummyIntroductionAdviceImpl()))
.withMessageContaining("ntroduction");
// Check it still works: proxy factory state shouldn't have been corrupted
ITestBean proxied = (ITestBean) createProxy(pc);
assertThat(proxied.getAge()).isEqualTo(target.getAge());
}
@Test
public void testRejectsBogusDynamicIntroductionAdviceWithNoAdapter() throws Throwable {
TestBean target = new TestBean();
target.setAge(21);
ProxyFactory pc = new ProxyFactory(target);
pc.addAdvisor(new DefaultIntroductionAdvisor(new DummyIntroductionAdviceImpl(), Comparable.class));
assertThatExceptionOfType(Exception.class).isThrownBy(() -> {
// TODO May fail on either call: may want to tighten up definition
ITestBean proxied = (ITestBean) createProxy(pc);
proxied.getName();
});
// TODO used to catch UnknownAdviceTypeException, but
// with CGLIB some errors are in proxy creation and are wrapped
// in aspect exception. Error message is still fine.
//assertTrue(ex.getMessage().indexOf("ntroduction") > -1);
}
/**
* Check that the introduction advice isn't allowed to introduce interfaces
* that are unsupported by the IntroductionInterceptor.
*/
@Test
public void testCannotAddIntroductionAdviceWithUnimplementedInterface() throws Throwable {
TestBean target = new TestBean();
target.setAge(21);
ProxyFactory pc = new ProxyFactory(target);
assertThatIllegalArgumentException().isThrownBy(() ->
pc.addAdvisor(0, new DefaultIntroductionAdvisor(new TimestampIntroductionInterceptor(), ITestBean.class)));
// Check it still works: proxy factory state shouldn't have been corrupted
ITestBean proxied = (ITestBean) createProxy(pc);
assertThat(proxied.getAge()).isEqualTo(target.getAge());
}
/**
* Note that an introduction can't throw an unexpected checked exception,
* as it's constrained by the interface.
*/
@Test
public void testIntroductionThrowsUncheckedException() throws Throwable {
TestBean target = new TestBean();
target.setAge(21);
ProxyFactory pc = new ProxyFactory(target);
@SuppressWarnings("serial")
class MyDi extends DelegatingIntroductionInterceptor implements TimeStamped {
/**
* @see TimeStamped#getTimeStamp()
*/
@Override
public long getTimeStamp() {
throw new UnsupportedOperationException();
}
}
pc.addAdvisor(new DefaultIntroductionAdvisor(new MyDi()));
TimeStamped ts = (TimeStamped) createProxy(pc);
assertThatExceptionOfType(UnsupportedOperationException.class).isThrownBy(
ts::getTimeStamp);
}
/**
* Should only be able to introduce interfaces, not classes.
*/
@Test
public void testCannotAddIntroductionAdviceToIntroduceClass() throws Throwable {
TestBean target = new TestBean();
target.setAge(21);
ProxyFactory pc = new ProxyFactory(target);
assertThatIllegalArgumentException().as("Shouldn't be able to add introduction advice that introduces a class, rather than an interface").isThrownBy(() ->
pc.addAdvisor(0, new DefaultIntroductionAdvisor(new TimestampIntroductionInterceptor(), TestBean.class)))
.withMessageContaining("interface");
// Check it still works: proxy factory state shouldn't have been corrupted
ITestBean proxied = (ITestBean) createProxy(pc);
assertThat(proxied.getAge()).isEqualTo(target.getAge());
}
@Test
public void testCannotAddInterceptorWhenFrozen() throws Throwable {
TestBean target = new TestBean();
target.setAge(21);
ProxyFactory pc = new ProxyFactory(target);
assertThat(pc.isFrozen()).isFalse();
pc.addAdvice(new NopInterceptor());
ITestBean proxied = (ITestBean) createProxy(pc);
pc.setFrozen(true);
assertThatExceptionOfType(AopConfigException.class).as("Shouldn't be able to add interceptor when frozen").isThrownBy(() ->
pc.addAdvice(0, new NopInterceptor()))
.withMessageContaining("frozen");
// Check it still works: proxy factory state shouldn't have been corrupted
assertThat(proxied.getAge()).isEqualTo(target.getAge());
assertThat(((Advised) proxied).getAdvisors().length).isEqualTo(1);
}
/**
* Check that casting to Advised can't get around advice freeze.
*/
@Test
public void testCannotAddAdvisorWhenFrozenUsingCast() throws Throwable {
TestBean target = new TestBean();
target.setAge(21);
ProxyFactory pc = new ProxyFactory(target);
assertThat(pc.isFrozen()).isFalse();
pc.addAdvice(new NopInterceptor());
ITestBean proxied = (ITestBean) createProxy(pc);
pc.setFrozen(true);
Advised advised = (Advised) proxied;
assertThat(pc.isFrozen()).isTrue();
assertThatExceptionOfType(AopConfigException.class).as("Shouldn't be able to add Advisor when frozen").isThrownBy(() ->
advised.addAdvisor(new DefaultPointcutAdvisor(new NopInterceptor())))
.withMessageContaining("frozen");
// Check it still works: proxy factory state shouldn't have been corrupted
assertThat(proxied.getAge()).isEqualTo(target.getAge());
assertThat(advised.getAdvisors().length).isEqualTo(1);
}
@Test
public void testCannotRemoveAdvisorWhenFrozen() throws Throwable {
TestBean target = new TestBean();
target.setAge(21);
ProxyFactory pc = new ProxyFactory(target);
assertThat(pc.isFrozen()).isFalse();
pc.addAdvice(new NopInterceptor());
ITestBean proxied = (ITestBean) createProxy(pc);
pc.setFrozen(true);
Advised advised = (Advised) proxied;
assertThat(pc.isFrozen()).isTrue();
assertThatExceptionOfType(AopConfigException.class).as("Shouldn't be able to remove Advisor when frozen").isThrownBy(() ->
advised.removeAdvisor(0))
.withMessageContaining("frozen");
// Didn't get removed
assertThat(advised.getAdvisors().length).isEqualTo(1);
pc.setFrozen(false);
// Can now remove it
advised.removeAdvisor(0);
// Check it still works: proxy factory state shouldn't have been corrupted
assertThat(proxied.getAge()).isEqualTo(target.getAge());
assertThat(advised.getAdvisors().length).isEqualTo(0);
}
@Test
public void testUseAsHashKey() {
TestBean target1 = new TestBean();
ProxyFactory pf1 = new ProxyFactory(target1);
pf1.addAdvice(new NopInterceptor());
ITestBean proxy1 = (ITestBean) createProxy(pf1);
TestBean target2 = new TestBean();
ProxyFactory pf2 = new ProxyFactory(target2);
pf2.addAdvisor(new DefaultIntroductionAdvisor(new TimestampIntroductionInterceptor()));
ITestBean proxy2 = (ITestBean) createProxy(pf2);
HashMap<ITestBean, Object> h = new HashMap<>();
Object value1 = "foo";
Object value2 = "bar";
assertThat(h.get(proxy1)).isNull();
h.put(proxy1, value1);
h.put(proxy2, value2);
assertThat(value1).isEqualTo(h.get(proxy1));
assertThat(value2).isEqualTo(h.get(proxy2));
}
/**
* Check that the string is informative.
*/
@Test
public void testProxyConfigString() {
TestBean target = new TestBean();
ProxyFactory pc = new ProxyFactory(target);
pc.setInterfaces(ITestBean.class);
pc.addAdvice(new NopInterceptor());
MethodBeforeAdvice mba = new CountingBeforeAdvice();
Advisor advisor = new DefaultPointcutAdvisor(new NameMatchMethodPointcut(), mba);
pc.addAdvisor(advisor);
ITestBean proxied = (ITestBean) createProxy(pc);
String proxyConfigString = ((Advised) proxied).toProxyConfigString();
assertThat(proxyConfigString.contains(advisor.toString())).isTrue();
assertThat(proxyConfigString.contains("1 interface")).isTrue();
}
@Test
public void testCanPreventCastToAdvisedUsingOpaque() {
TestBean target = new TestBean();
ProxyFactory pc = new ProxyFactory(target);
pc.setInterfaces(ITestBean.class);
pc.addAdvice(new NopInterceptor());
CountingBeforeAdvice mba = new CountingBeforeAdvice();
Advisor advisor = new DefaultPointcutAdvisor(new NameMatchMethodPointcut().addMethodName("setAge"), mba);
pc.addAdvisor(advisor);
assertThat(pc.isOpaque()).as("Opaque defaults to false").isFalse();
pc.setOpaque(true);
assertThat(pc.isOpaque()).as("Opaque now true for this config").isTrue();
ITestBean proxied = (ITestBean) createProxy(pc);
proxied.setAge(10);
assertThat(proxied.getAge()).isEqualTo(10);
assertThat(mba.getCalls()).isEqualTo(1);
boolean condition = proxied instanceof Advised;
assertThat(condition).as("Cannot be cast to Advised").isFalse();
}
@Test
public void testAdviceSupportListeners() throws Throwable {
TestBean target = new TestBean();
target.setAge(21);
ProxyFactory pc = new ProxyFactory(target);
CountingAdvisorListener l = new CountingAdvisorListener(pc);
pc.addListener(l);
RefreshCountingAdvisorChainFactory acf = new RefreshCountingAdvisorChainFactory();
// Should be automatically added as a listener
pc.addListener(acf);
assertThat(pc.isActive()).isFalse();
assertThat(l.activates).isEqualTo(0);
assertThat(acf.refreshes).isEqualTo(0);
ITestBean proxied = (ITestBean) createProxy(pc);
assertThat(acf.refreshes).isEqualTo(1);
assertThat(l.activates).isEqualTo(1);
assertThat(pc.isActive()).isTrue();
assertThat(proxied.getAge()).isEqualTo(target.getAge());
assertThat(l.adviceChanges).isEqualTo(0);
NopInterceptor di = new NopInterceptor();
pc.addAdvice(0, di);
assertThat(l.adviceChanges).isEqualTo(1);
assertThat(acf.refreshes).isEqualTo(2);
assertThat(proxied.getAge()).isEqualTo(target.getAge());
pc.removeAdvice(di);
assertThat(l.adviceChanges).isEqualTo(2);
assertThat(acf.refreshes).isEqualTo(3);
assertThat(proxied.getAge()).isEqualTo(target.getAge());
pc.getProxy();
assertThat(l.activates).isEqualTo(1);
pc.removeListener(l);
assertThat(l.adviceChanges).isEqualTo(2);
pc.addAdvisor(new DefaultPointcutAdvisor(new NopInterceptor()));
// No longer counting
assertThat(l.adviceChanges).isEqualTo(2);
}
@Test
public void testExistingProxyChangesTarget() throws Throwable {
TestBean tb1 = new TestBean();
tb1.setAge(33);
TestBean tb2 = new TestBean();
tb2.setAge(26);
tb2.setName("Juergen");
TestBean tb3 = new TestBean();
tb3.setAge(37);
ProxyFactory pc = new ProxyFactory(tb1);
NopInterceptor nop = new NopInterceptor();
pc.addAdvice(nop);
ITestBean proxy = (ITestBean) createProxy(pc);
assertThat(0).isEqualTo(nop.getCount());
assertThat(proxy.getAge()).isEqualTo(tb1.getAge());
assertThat(1).isEqualTo(nop.getCount());
// Change to a new static target
pc.setTarget(tb2);
assertThat(proxy.getAge()).isEqualTo(tb2.getAge());
assertThat(2).isEqualTo(nop.getCount());
// Change to a new dynamic target
HotSwappableTargetSource hts = new HotSwappableTargetSource(tb3);
pc.setTargetSource(hts);
assertThat(proxy.getAge()).isEqualTo(tb3.getAge());
assertThat(3).isEqualTo(nop.getCount());
hts.swap(tb1);
assertThat(proxy.getAge()).isEqualTo(tb1.getAge());
tb1.setName("Colin");
assertThat(proxy.getName()).isEqualTo(tb1.getName());
assertThat(5).isEqualTo(nop.getCount());
// Change back, relying on casting to Advised
Advised advised = (Advised) proxy;
assertThat(advised.getTargetSource()).isSameAs(hts);
SingletonTargetSource sts = new SingletonTargetSource(tb2);
advised.setTargetSource(sts);
assertThat(proxy.getName()).isEqualTo(tb2.getName());
assertThat(advised.getTargetSource()).isSameAs(sts);
assertThat(proxy.getAge()).isEqualTo(tb2.getAge());
}
@Test
public void testDynamicMethodPointcutThatAlwaysAppliesStatically() throws Throwable {
TestBean tb = new TestBean();
ProxyFactory pc = new ProxyFactory();
pc.addInterface(ITestBean.class);
TestDynamicPointcutAdvice dp = new TestDynamicPointcutAdvice(new NopInterceptor(), "getAge");
pc.addAdvisor(dp);
pc.setTarget(tb);
ITestBean it = (ITestBean) createProxy(pc);
assertThat(dp.count).isEqualTo(0);
it.getAge();
assertThat(dp.count).isEqualTo(1);
it.setAge(11);
assertThat(it.getAge()).isEqualTo(11);
assertThat(dp.count).isEqualTo(2);
}
@Test
public void testDynamicMethodPointcutThatAppliesStaticallyOnlyToSetters() throws Throwable {
TestBean tb = new TestBean();
ProxyFactory pc = new ProxyFactory();
pc.addInterface(ITestBean.class);
// Could apply dynamically to getAge/setAge but not to getName
TestDynamicPointcutForSettersOnly dp = new TestDynamicPointcutForSettersOnly(new NopInterceptor(), "Age");
pc.addAdvisor(dp);
this.mockTargetSource.setTarget(tb);
pc.setTargetSource(mockTargetSource);
ITestBean it = (ITestBean) createProxy(pc);
assertThat(dp.count).isEqualTo(0);
it.getAge();
// Statically vetoed
assertThat(dp.count).isEqualTo(0);
it.setAge(11);
assertThat(it.getAge()).isEqualTo(11);
assertThat(dp.count).isEqualTo(1);
// Applies statically but not dynamically
it.setName("joe");
assertThat(dp.count).isEqualTo(1);
}
@Test
public void testStaticMethodPointcut() throws Throwable {
TestBean tb = new TestBean();
ProxyFactory pc = new ProxyFactory();
pc.addInterface(ITestBean.class);
NopInterceptor di = new NopInterceptor();
TestStaticPointcutAdvice sp = new TestStaticPointcutAdvice(di, "getAge");
pc.addAdvisor(sp);
pc.setTarget(tb);
ITestBean it = (ITestBean) createProxy(pc);
assertThat(0).isEqualTo(di.getCount());
it.getAge();
assertThat(1).isEqualTo(di.getCount());
it.setAge(11);
assertThat(11).isEqualTo(it.getAge());
assertThat(2).isEqualTo(di.getCount());
}
/**
* There are times when we want to call proceed() twice.
* We can do this if we clone the invocation.
*/
@Test
public void testCloneInvocationToProceedThreeTimes() throws Throwable {
TestBean tb = new TestBean();
ProxyFactory pc = new ProxyFactory(tb);
pc.addInterface(ITestBean.class);
MethodInterceptor twoBirthdayInterceptor = mi -> {
// Clone the invocation to proceed three times
// "The Moor's Last Sigh": this technology can cause premature aging
MethodInvocation clone1 = ((AbstractMethodInvocation) mi).invocableClone();
MethodInvocation clone2 = ((AbstractMethodInvocation) mi).invocableClone();
clone1.proceed();
clone2.proceed();
return mi.proceed();
};
@SuppressWarnings("serial")
StaticMethodMatcherPointcutAdvisor advisor = new StaticMethodMatcherPointcutAdvisor(twoBirthdayInterceptor) {
@Override
public boolean matches(Method m, @Nullable Class<?> targetClass) {
return "haveBirthday".equals(m.getName());
}
};
pc.addAdvisor(advisor);
ITestBean it = (ITestBean) createProxy(pc);
final int age = 20;
it.setAge(age);
assertThat(it.getAge()).isEqualTo(age);
// Should return the age before the third, AOP-induced birthday
assertThat(it.haveBirthday()).isEqualTo((age + 2));
// Return the final age produced by 3 birthdays
assertThat(it.getAge()).isEqualTo((age + 3));
}
/**
* We want to change the arguments on a clone: it shouldn't affect the original.
*/
@Test
public void testCanChangeArgumentsIndependentlyOnClonedInvocation() throws Throwable {
TestBean tb = new TestBean();
ProxyFactory pc = new ProxyFactory(tb);
pc.addInterface(ITestBean.class);
/**
* Changes the name, then changes it back.
*/
MethodInterceptor nameReverter = mi -> {
MethodInvocation clone = ((AbstractMethodInvocation) mi).invocableClone();
String oldName = ((ITestBean) mi.getThis()).getName();
clone.getArguments()[0] = oldName;
// Original method invocation should be unaffected by changes to argument list of clone
mi.proceed();
return clone.proceed();
};
class NameSaver implements MethodInterceptor {
private List<Object> names = new ArrayList<>();
@Override
public Object invoke(MethodInvocation mi) throws Throwable {
names.add(mi.getArguments()[0]);
return mi.proceed();
}
}
NameSaver saver = new NameSaver();
pc.addAdvisor(new DefaultPointcutAdvisor(Pointcut.SETTERS, nameReverter));
pc.addAdvisor(new DefaultPointcutAdvisor(Pointcut.SETTERS, saver));
ITestBean it = (ITestBean) createProxy(pc);
String name1 = "tony";
String name2 = "gordon";
tb.setName(name1);
assertThat(tb.getName()).isEqualTo(name1);
it.setName(name2);
// NameReverter saved it back
assertThat(it.getName()).isEqualTo(name1);
assertThat(saver.names.size()).isEqualTo(2);
assertThat(saver.names.get(0)).isEqualTo(name2);
assertThat(saver.names.get(1)).isEqualTo(name1);
}
@SuppressWarnings("serial")
@Test
public void testOverloadedMethodsWithDifferentAdvice() throws Throwable {
Overloads target = new Overloads();
ProxyFactory pc = new ProxyFactory(target);
NopInterceptor overLoadVoids = new NopInterceptor();
pc.addAdvisor(new StaticMethodMatcherPointcutAdvisor(overLoadVoids) {
@Override
public boolean matches(Method m, @Nullable Class<?> targetClass) {
return m.getName().equals("overload") && m.getParameterCount() == 0;
}
});
NopInterceptor overLoadInts = new NopInterceptor();
pc.addAdvisor(new StaticMethodMatcherPointcutAdvisor(overLoadInts) {
@Override
public boolean matches(Method m, @Nullable Class<?> targetClass) {
return m.getName().equals("overload") && m.getParameterCount() == 1 &&
m.getParameterTypes()[0].equals(int.class);
}
});
IOverloads proxy = (IOverloads) createProxy(pc);
assertThat(overLoadInts.getCount()).isEqualTo(0);
assertThat(overLoadVoids.getCount()).isEqualTo(0);
proxy.overload();
assertThat(overLoadInts.getCount()).isEqualTo(0);
assertThat(overLoadVoids.getCount()).isEqualTo(1);
assertThat(proxy.overload(25)).isEqualTo(25);
assertThat(overLoadInts.getCount()).isEqualTo(1);
assertThat(overLoadVoids.getCount()).isEqualTo(1);
proxy.noAdvice();
assertThat(overLoadInts.getCount()).isEqualTo(1);
assertThat(overLoadVoids.getCount()).isEqualTo(1);
}
@Test
public void testProxyIsBoundBeforeTargetSourceInvoked() {
final TestBean target = new TestBean();
ProxyFactory pf = new ProxyFactory(target);
pf.addAdvice(new DebugInterceptor());
pf.setExposeProxy(true);
final ITestBean proxy = (ITestBean) createProxy(pf);
Advised config = (Advised) proxy;
// This class just checks proxy is bound before getTarget() call
config.setTargetSource(new TargetSource() {
@Override
public Class<?> getTargetClass() {
return TestBean.class;
}
@Override
public boolean isStatic() {
return false;
}
@Override
public Object getTarget() throws Exception {
assertThat(AopContext.currentProxy()).isEqualTo(proxy);
return target;
}
@Override
public void releaseTarget(Object target) throws Exception {
}
});
// Just test anything: it will fail if context wasn't found
assertThat(proxy.getAge()).isEqualTo(0);
}
@Test
public void testEquals() {
IOther a = new AllInstancesAreEqual();
IOther b = new AllInstancesAreEqual();
NopInterceptor i1 = new NopInterceptor();
NopInterceptor i2 = new NopInterceptor();
ProxyFactory pfa = new ProxyFactory(a);
pfa.addAdvice(i1);
ProxyFactory pfb = new ProxyFactory(b);
pfb.addAdvice(i2);
IOther proxyA = (IOther) createProxy(pfa);
IOther proxyB = (IOther) createProxy(pfb);
assertThat(pfb.getAdvisors().length).isEqualTo(pfa.getAdvisors().length);
assertThat(b).isEqualTo(a);
assertThat(i2).isEqualTo(i1);
assertThat(proxyB).isEqualTo(proxyA);
assertThat(proxyB.hashCode()).isEqualTo(proxyA.hashCode());
assertThat(proxyA.equals(a)).isFalse();
// Equality checks were handled by the proxy
assertThat(i1.getCount()).isEqualTo(0);
// When we invoke A, it's NopInterceptor will have count == 1
// and won't think it's equal to B's NopInterceptor
proxyA.absquatulate();
assertThat(i1.getCount()).isEqualTo(1);
assertThat(proxyA.equals(proxyB)).isFalse();
}
@Test
public void testBeforeAdvisorIsInvoked() {
CountingBeforeAdvice cba = new CountingBeforeAdvice();
@SuppressWarnings("serial")
Advisor matchesNoArgs = new StaticMethodMatcherPointcutAdvisor(cba) {
@Override
public boolean matches(Method m, @Nullable Class<?> targetClass) {
return m.getParameterCount() == 0;
}
};
TestBean target = new TestBean();
target.setAge(80);
ProxyFactory pf = new ProxyFactory(target);
pf.addAdvice(new NopInterceptor());
pf.addAdvisor(matchesNoArgs);
assertThat(pf.getAdvisors()[1]).as("Advisor was added").isEqualTo(matchesNoArgs);
ITestBean proxied = (ITestBean) createProxy(pf);
assertThat(cba.getCalls()).isEqualTo(0);
assertThat(cba.getCalls("getAge")).isEqualTo(0);
assertThat(proxied.getAge()).isEqualTo(target.getAge());
assertThat(cba.getCalls()).isEqualTo(1);
assertThat(cba.getCalls("getAge")).isEqualTo(1);
assertThat(cba.getCalls("setAge")).isEqualTo(0);
// Won't be advised
proxied.setAge(26);
assertThat(cba.getCalls()).isEqualTo(1);
assertThat(proxied.getAge()).isEqualTo(26);
}
@Test
public void testUserAttributes() throws Throwable {
class MapAwareMethodInterceptor implements MethodInterceptor {
private final Map<String, String> expectedValues;
private final Map<String, String> valuesToAdd;
public MapAwareMethodInterceptor(Map<String, String> expectedValues, Map<String, String> valuesToAdd) {
this.expectedValues = expectedValues;
this.valuesToAdd = valuesToAdd;
}
@Override
public Object invoke(MethodInvocation invocation) throws Throwable {
AbstractMethodInvocation rmi = (AbstractMethodInvocation) invocation;
for (Iterator<String> it = rmi.getAttributes().keySet().iterator(); it.hasNext(); ) {
Object key = it.next();
assertThat(rmi.getAttributes().get(key)).isEqualTo(expectedValues.get(key));
}
rmi.getAttributes().putAll(valuesToAdd);
return invocation.proceed();
}
}
AdvisedSupport pc = new AdvisedSupport(ITestBean.class);
MapAwareMethodInterceptor mami1 = new MapAwareMethodInterceptor(new HashMap<>(), new HashMap<String, String>());
Map<String, String> firstValuesToAdd = new HashMap<>();
firstValuesToAdd.put("test", "");
MapAwareMethodInterceptor mami2 = new MapAwareMethodInterceptor(new HashMap<>(), firstValuesToAdd);
MapAwareMethodInterceptor mami3 = new MapAwareMethodInterceptor(firstValuesToAdd, new HashMap<>());
MapAwareMethodInterceptor mami4 = new MapAwareMethodInterceptor(firstValuesToAdd, new HashMap<>());
Map<String, String> secondValuesToAdd = new HashMap<>();
secondValuesToAdd.put("foo", "bar");
secondValuesToAdd.put("cat", "dog");
MapAwareMethodInterceptor mami5 = new MapAwareMethodInterceptor(firstValuesToAdd, secondValuesToAdd);
Map<String, String> finalExpected = new HashMap<>(firstValuesToAdd);
finalExpected.putAll(secondValuesToAdd);
MapAwareMethodInterceptor mami6 = new MapAwareMethodInterceptor(finalExpected, secondValuesToAdd);
pc.addAdvice(mami1);
pc.addAdvice(mami2);
pc.addAdvice(mami3);
pc.addAdvice(mami4);
pc.addAdvice(mami5);
pc.addAdvice(mami6);
// We don't care about the object
pc.setTarget(new TestBean());
AopProxy aop = createAopProxy(pc);
ITestBean tb = (ITestBean) aop.getProxy();
String newName = "foo";
tb.setName(newName);
assertThat(tb.getName()).isEqualTo(newName);
}
@Test
public void testMultiAdvice() throws Throwable {
CountingMultiAdvice cca = new CountingMultiAdvice();
@SuppressWarnings("serial")
Advisor matchesNoArgs = new StaticMethodMatcherPointcutAdvisor(cca) {
@Override
public boolean matches(Method m, @Nullable Class<?> targetClass) {
return m.getParameterCount() == 0 || "exceptional".equals(m.getName());
}
};
TestBean target = new TestBean();
target.setAge(80);
ProxyFactory pf = new ProxyFactory(target);
pf.addAdvice(new NopInterceptor());
pf.addAdvisor(matchesNoArgs);
assertThat(pf.getAdvisors()[1]).as("Advisor was added").isEqualTo(matchesNoArgs);
ITestBean proxied = (ITestBean) createProxy(pf);
assertThat(cca.getCalls()).isEqualTo(0);
assertThat(cca.getCalls("getAge")).isEqualTo(0);
assertThat(proxied.getAge()).isEqualTo(target.getAge());
assertThat(cca.getCalls()).isEqualTo(2);
assertThat(cca.getCalls("getAge")).isEqualTo(2);
assertThat(cca.getCalls("setAge")).isEqualTo(0);
// Won't be advised
proxied.setAge(26);
assertThat(cca.getCalls()).isEqualTo(2);
assertThat(proxied.getAge()).isEqualTo(26);
assertThat(cca.getCalls()).isEqualTo(4);
assertThatExceptionOfType(SpecializedUncheckedException.class).as("Should have thrown CannotGetJdbcConnectionException").isThrownBy(() ->
proxied.exceptional(new SpecializedUncheckedException("foo", (SQLException) null)));
assertThat(cca.getCalls()).isEqualTo(6);
}
@Test
public void testBeforeAdviceThrowsException() {
final RuntimeException rex = new RuntimeException();
@SuppressWarnings("serial")
CountingBeforeAdvice ba = new CountingBeforeAdvice() {
@Override
public void before(MethodInvocation invocation) throws Throwable {
super.before(invocation);
if (invocation.getMethod().getName().startsWith("set")) {
throw rex;
}
}
};
TestBean target = new TestBean();
target.setAge(80);
NopInterceptor nop1 = new NopInterceptor();
NopInterceptor nop2 = new NopInterceptor();
ProxyFactory pf = new ProxyFactory(target);
pf.addAdvice(nop1);
pf.addAdvice(ba);
pf.addAdvice(nop2);
ITestBean proxied = (ITestBean) createProxy(pf);
// Won't throw an exception
assertThat(proxied.getAge()).isEqualTo(target.getAge());
assertThat(ba.getCalls()).isEqualTo(1);
assertThat(ba.getCalls("getAge")).isEqualTo(1);
assertThat(nop1.getCount()).isEqualTo(1);
assertThat(nop2.getCount()).isEqualTo(1);
// Will fail, after invoking Nop1
assertThatExceptionOfType(RuntimeException.class).as("before advice should have ended chain").isThrownBy(() ->
proxied.setAge(26))
.matches(rex::equals);
assertThat(ba.getCalls()).isEqualTo(2);
assertThat(nop1.getCount()).isEqualTo(2);
// Nop2 didn't get invoked when the exception was thrown
assertThat(nop2.getCount()).isEqualTo(1);
// Shouldn't have changed value in joinpoint
assertThat(proxied.getAge()).isEqualTo(target.getAge());
}
@Test
public void testAfterReturningAdvisorIsInvoked() {
class SummingAfterAdvice implements AfterReturningAdvice {
public int sum;
@Override
public void afterReturning(Object returnValue, MethodInvocation invocation) throws Throwable {
sum += ((Integer) returnValue).intValue();
}
}
SummingAfterAdvice aa = new SummingAfterAdvice();
@SuppressWarnings("serial")
Advisor matchesInt = new StaticMethodMatcherPointcutAdvisor(aa) {
@Override
public boolean matches(Method m, @Nullable Class<?> targetClass) {
return m.getReturnType() == int.class;
}
};
TestBean target = new TestBean();
ProxyFactory pf = new ProxyFactory(target);
pf.addAdvice(new NopInterceptor());
pf.addAdvisor(matchesInt);
assertThat(pf.getAdvisors()[1]).as("Advisor was added").isEqualTo(matchesInt);
ITestBean proxied = (ITestBean) createProxy(pf);
assertThat(aa.sum).isEqualTo(0);
int i1 = 12;
int i2 = 13;
// Won't be advised
proxied.setAge(i1);
assertThat(proxied.getAge()).isEqualTo(i1);
assertThat(aa.sum).isEqualTo(i1);
proxied.setAge(i2);
assertThat(proxied.getAge()).isEqualTo(i2);
assertThat(aa.sum).isEqualTo((i1 + i2));
assertThat(proxied.getAge()).isEqualTo(i2);
}
@Test
public void testAfterReturningAdvisorIsNotInvokedOnException() {
CountingAfterReturningAdvice car = new CountingAfterReturningAdvice();
TestBean target = new TestBean();
ProxyFactory pf = new ProxyFactory(target);
pf.addAdvice(new NopInterceptor());
pf.addAdvice(car);
assertThat(pf.getAdvisors()[1].getAdvice()).as("Advice was wrapped in Advisor and added").isEqualTo(car);
ITestBean proxied = (ITestBean) createProxy(pf);
assertThat(car.getCalls()).isEqualTo(0);
int age = 10;
proxied.setAge(age);
assertThat(proxied.getAge()).isEqualTo(age);
assertThat(car.getCalls()).isEqualTo(2);
Exception exc = new Exception();
// On exception it won't be invoked
assertThatExceptionOfType(Throwable.class).isThrownBy(() ->
proxied.exceptional(exc))
.satisfies(ex -> Assertions.assertThat(ex).isSameAs(exc));
assertThat(car.getCalls()).isEqualTo(2);
}
@Test
public void testThrowsAdvisorIsInvoked() throws Throwable {
// Reacts to ServletException and RemoteException
MyThrowsHandler th = new MyThrowsHandler();
@SuppressWarnings("serial")
Advisor matchesEchoInvocations = new StaticMethodMatcherPointcutAdvisor(th) {
@Override
public boolean matches(Method m, @Nullable Class<?> targetClass) {
return m.getName().startsWith("echo");
}
};
Echo target = new Echo();
target.setA(16);
ProxyFactory pf = new ProxyFactory(target);
pf.addAdvice(new NopInterceptor());
pf.addAdvisor(matchesEchoInvocations);
assertThat(pf.getAdvisors()[1]).as("Advisor was added").isEqualTo(matchesEchoInvocations);
IEcho proxied = (IEcho) createProxy(pf);
assertThat(th.getCalls()).isEqualTo(0);
assertThat(proxied.getA()).isEqualTo(target.getA());
assertThat(th.getCalls()).isEqualTo(0);
Exception ex = new Exception();
// Will be advised but doesn't match
assertThatExceptionOfType(Exception.class).isThrownBy(() ->
proxied.echoException(1, ex))
.matches(ex::equals);
FileNotFoundException fex = new FileNotFoundException();
assertThatExceptionOfType(FileNotFoundException.class).isThrownBy(() ->
proxied.echoException(1, fex))
.matches(fex::equals);
assertThat(th.getCalls("ioException")).isEqualTo(1);
}
@Test
public void testAddThrowsAdviceWithoutAdvisor() throws Throwable {
// Reacts to ServletException and RemoteException
MyThrowsHandler th = new MyThrowsHandler();
Echo target = new Echo();
target.setA(16);
ProxyFactory pf = new ProxyFactory(target);
pf.addAdvice(new NopInterceptor());
pf.addAdvice(th);
IEcho proxied = (IEcho) createProxy(pf);
assertThat(th.getCalls()).isEqualTo(0);
assertThat(proxied.getA()).isEqualTo(target.getA());
assertThat(th.getCalls()).isEqualTo(0);
Exception ex = new Exception();
// Will be advised but doesn't match
assertThatExceptionOfType(Exception.class).isThrownBy(() ->
proxied.echoException(1, ex))
.matches(ex::equals);
// Subclass of RemoteException
MarshalException mex = new MarshalException("");
assertThatExceptionOfType(MarshalException.class).isThrownBy(() ->
proxied.echoException(1, mex))
.matches(mex::equals);
assertThat(th.getCalls("remoteException")).isEqualTo(1);
}
private static class CheckMethodInvocationIsSameInAndOutInterceptor implements MethodInterceptor {
@Override
public Object invoke(MethodInvocation mi) throws Throwable {
Method m = mi.getMethod();
Object retval = mi.proceed();
assertThat(mi.getMethod()).as("Method invocation has same method on way back").isEqualTo(m);
return retval;
}
}
/**
* ExposeInvocation must be set to true.
*/
private static class CheckMethodInvocationViaThreadLocalIsSameInAndOutInterceptor implements MethodInterceptor {
@Override
public Object invoke(MethodInvocation mi) throws Throwable {
String task = "get invocation on way IN";
try {
MethodInvocation current = ExposeInvocationInterceptor.currentInvocation();
assertThat(current.getMethod()).isEqualTo(mi.getMethod());
Object retval = mi.proceed();
task = "get invocation on way OUT";
assertThat(ExposeInvocationInterceptor.currentInvocation()).isEqualTo(current);
return retval;
}
catch (IllegalStateException ex) {
System.err.println(task + " for " + mi.getMethod());
ex.printStackTrace();
throw ex;
}
}
}
/**
* Same thing for a proxy.
* Only works when exposeProxy is set to true.
* Checks that the proxy is the same on the way in and out.
*/
private static class ProxyMatcherInterceptor implements MethodInterceptor {
@Override
public Object invoke(MethodInvocation mi) throws Throwable {
Object proxy = AopContext.currentProxy();
Object ret = mi.proceed();
assertThat(AopContext.currentProxy()).isEqualTo(proxy);
return ret;
}
}
/**
* Fires on setter methods that take a string. Replaces null arg with "".
*/
@SuppressWarnings("serial")
protected static class StringSetterNullReplacementAdvice extends DefaultPointcutAdvisor {
private static MethodInterceptor cleaner = mi -> {
// We know it can only be invoked if there's a single parameter of type string
mi.getArguments()[0] = "";
return mi.proceed();
};
public StringSetterNullReplacementAdvice() {
super(cleaner);
setPointcut(new DynamicMethodMatcherPointcut() {
@Override
public boolean matches(MethodInvocation invocation) {
return invocation.getArguments()[0] == null;
}
@Override
public boolean matches(Method m, @Nullable Class<?> targetClass) {
return m.getName().startsWith("set") &&
m.getParameterCount() == 1 &&
m.getParameterTypes()[0].equals(String.class);
}
});
}
}
@SuppressWarnings("serial")
protected static class TestDynamicPointcutAdvice extends DefaultPointcutAdvisor {
public int count;
public TestDynamicPointcutAdvice(MethodInterceptor mi, final String pattern) {
super(mi);
setPointcut(new DynamicMethodMatcherPointcut() {
@Override
public boolean matches(MethodInvocation invocation) {
boolean run = invocation.getMethod().getName().contains(pattern);
if (run) {
++count;
}
return run;
}
});
}
}
@SuppressWarnings("serial")
protected static class TestDynamicPointcutForSettersOnly extends DefaultPointcutAdvisor {
public int count;
public TestDynamicPointcutForSettersOnly(MethodInterceptor mi, final String pattern) {
super(mi);
setPointcut(new DynamicMethodMatcherPointcut() {
@Override
public boolean matches(MethodInvocation invocation) {
boolean run = invocation.getMethod().getName().contains(pattern);
if (run) {
++count;
}
return run;
}
@Override
public boolean matches(Method m, @Nullable Class<?> clazz) {
return m.getName().startsWith("set");
}
});
}
}
@SuppressWarnings("serial")
protected static class TestStaticPointcutAdvice extends StaticMethodMatcherPointcutAdvisor {
private String pattern;
public TestStaticPointcutAdvice(MethodInterceptor mi, String pattern) {
super(mi);
this.pattern = pattern;
}
@Override
public boolean matches(Method m, @Nullable Class<?> targetClass) {
return m.getName().contains(pattern);
}
}
/**
* Note that trapping the Invocation as in previous version of this test
* isn't safe, as invocations may be reused
* and hence cleared at the end of each invocation.
* So we trap only the target.
*/
protected static class TrapTargetInterceptor implements MethodInterceptor {
public Object target;
@Override
public Object invoke(MethodInvocation invocation) throws Throwable {
this.target = invocation.getThis();
return invocation.proceed();
}
}
private static class DummyIntroductionAdviceImpl implements DynamicIntroductionAdvice {
@Override
public boolean implementsInterface(Class<?> intf) {
return true;
}
}
public static class OwnSpouse extends TestBean {
@Override
public ITestBean getSpouse() {
return this;
}
}
public static class AllInstancesAreEqual implements IOther {
@Override
public boolean equals(Object other) {
return (other instanceof AllInstancesAreEqual);
}
@Override
public int hashCode() {
return getClass().hashCode();
}
@Override
public void absquatulate() {
}
}
public interface INeedsToSeeProxy {
int getCount();
void incrementViaThis();
void incrementViaProxy();
void increment();
}
public static class NeedsToSeeProxy implements INeedsToSeeProxy {
private int count;
@Override
public int getCount() {
return count;
}
@Override
public void incrementViaThis() {
this.increment();
}
@Override
public void incrementViaProxy() {
INeedsToSeeProxy thisViaProxy = (INeedsToSeeProxy) AopContext.currentProxy();
thisViaProxy.increment();
Advised advised = (Advised) thisViaProxy;
checkAdvised(advised);
}
protected void checkAdvised(Advised advised) {
}
@Override
public void increment() {
++count;
}
}
public static class TargetChecker extends NeedsToSeeProxy {
@Override
protected void checkAdvised(Advised advised) {
// TODO replace this check: no longer possible
//assertEquals(advised.getTarget(), this);
}
}
public static class CountingAdvisorListener implements AdvisedSupportListener {
public int adviceChanges;
public int activates;
private AdvisedSupport expectedSource;
public CountingAdvisorListener(AdvisedSupport expectedSource) {
this.expectedSource = expectedSource;
}
@Override
public void activated(AdvisedSupport advised) {
assertThat(advised).isEqualTo(expectedSource);
++activates;
}
@Override
public void adviceChanged(AdvisedSupport advised) {
assertThat(advised).isEqualTo(expectedSource);
++adviceChanges;
}
}
public static class RefreshCountingAdvisorChainFactory implements AdvisedSupportListener {
public int refreshes;
@Override
public void activated(AdvisedSupport advised) {
++refreshes;
}
@Override
public void adviceChanged(AdvisedSupport advised) {
++refreshes;
}
}
public static interface IOverloads {
void overload();
int overload(int i);
String overload(String foo);
void noAdvice();
}
public static class Overloads implements IOverloads {
@Override
public void overload() {
}
@Override
public int overload(int i) {
return i;
}
@Override
public String overload(String s) {
return s;
}
@Override
public void noAdvice() {
}
}
@SuppressWarnings("serial")
public static class CountingMultiAdvice extends MethodCounter implements MethodBeforeAdvice,
AfterReturningAdvice, ThrowsAdvice {
@Override
public void before(MethodInvocation invocation) throws Throwable {
count(invocation.getMethod());
}
@Override
public void afterReturning(Object returnValue, MethodInvocation invocation) throws Throwable {
count(invocation.getMethod());
}
public void afterThrowing(IOException ex) throws Throwable {
count(IOException.class.getName());
}
public void afterThrowing(UncheckedException ex) throws Throwable {
count(UncheckedException.class.getName());
}
}
@SuppressWarnings("serial")
public static class CountingThrowsAdvice extends MethodCounter implements ThrowsAdvice {
public void afterThrowing(IOException ex) throws Throwable {
count(IOException.class.getName());
}
public void afterThrowing(UncheckedException ex) throws Throwable {
count(UncheckedException.class.getName());
}
}
@SuppressWarnings("serial")
static class UncheckedException extends RuntimeException {
}
@SuppressWarnings("serial")
static class SpecializedUncheckedException extends UncheckedException {
public SpecializedUncheckedException(String string, SQLException exception) {
}
}
static class MockTargetSource implements TargetSource {
private Object target;
public int gets;
public int releases;
public void reset() {
this.target = null;
gets = releases = 0;
}
public void setTarget(Object target) {
this.target = target;
}
/**
* @see cn.taketoday.aop.TargetSource#getTargetClass()
*/
@Override
public Class<?> getTargetClass() {
return target.getClass();
}
/**
* @see cn.taketoday.aop.TargetSource#getTarget()
*/
@Override
public Object getTarget() throws Exception {
++gets;
return target;
}
/**
* @see cn.taketoday.aop.TargetSource#releaseTarget(java.lang.Object)
*/
@Override
public void releaseTarget(Object pTarget) throws Exception {
if (pTarget != this.target) {
throw new RuntimeException("Released wrong target");
}
++releases;
}
/**
* Check that gets and releases match
*/
public void verify() {
if (gets != releases) {
throw new RuntimeException("Expectation failed: " + gets + " gets and " + releases + " releases");
}
}
/**
* @see cn.taketoday.aop.TargetSource#isStatic()
*/
@Override
public boolean isStatic() {
return false;
}
}
static abstract class ExposedInvocationTestBean extends TestBean {
@Override
public String getName() {
MethodInvocation invocation = ExposeInvocationInterceptor.currentInvocation();
assertions(invocation);
return super.getName();
}
@Override
public void absquatulate() {
MethodInvocation invocation = ExposeInvocationInterceptor.currentInvocation();
assertions(invocation);
super.absquatulate();
}
protected abstract void assertions(MethodInvocation invocation);
}
static class InvocationCheckExposedInvocationTestBean extends ExposedInvocationTestBean {
@Override
protected void assertions(MethodInvocation invocation) {
assertThat(invocation.getThis()).isSameAs(this);
assertThat(ITestBean.class.isAssignableFrom(invocation.getMethod().getDeclaringClass())).as("Invocation should be on ITestBean: " + invocation.getMethod()).isTrue();
}
}
}
| 66,360
|
Java
|
.java
|
TAKETODAY/today-infrastructure
| 106
| 13
| 25
|
2018-08-16T12:12:39Z
|
2024-05-08T14:01:23Z
|
4459451e21fd3aaf70a9baa93b3c658ab925864b7f7b49eebc9f011369c827a9
|
[
1127,
222,
338,
2657,
244,
55,
53,
54,
60,
449,
244,
55,
53,
55,
56,
341,
4732,
4096,
575,
14656,
51,
222,
338,
222,
338,
1369,
3477,
458,
3760,
2951,
63,
863,
902,
14081,
580,
480,
52,
290,
5370,
222,
338,
580,
1549,
341,
5974,
451,
341,
6994,
6153,
5062,
1196,
641,
9582,
829,
222,
338,
341,
7834,
3870,
7120,
49,
3173,
1522,
244,
56,
451,
341,
1196,
49,
575,
222,
338,
327,
288,
1390,
2489,
46,
1364,
6146,
1522,
51,
222,
338,
222,
338,
1369,
3477,
458,
2744,
347,
341,
9850,
708,
580,
1118,
545,
6386,
49,
222,
338,
1294,
4213,
2979,
9345,
64,
2895,
4462,
341,
4506,
14319,
451,
222,
338,
7934,
575,
8114,
4800,
418,
7848,
7763,
51,
244,
2819,
341,
222,
338,
6994,
6153,
5062,
1196,
456,
1851,
4261,
51,
222,
338,
222,
338,
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
6153,
5062,
1196,
222,
338,
7979,
642,
477,
3477,
51,
244,
1691,
666,
49,
2337,
447,
544,
574,
1516,
51,
10627,
51,
1107,
52,
4205,
52,
98,
222,
588,
222,
222,
1337,
13007,
51,
121,
23060,
450,
414,
51,
32223,
51,
2863,
64,
222,
222,
485,
1105,
51,
32223,
298,
4352,
51,
32223,
51,
1785,
698,
64,
222,
485,
1105,
51,
32223,
298,
4352,
51,
26083,
51,
1885,
13843,
64,
222,
485,
1105,
51,
32223,
298,
4352,
51,
26083,
51,
1885,
13777,
64,
222,
485,
1105,
51,
40018,
51,
1284,
51,
1256,
51,
16980,
64,
222,
485,
1105,
51,
3946,
51,
14127,
51,
1256,
51,
5131,
3875,
64,
222,
485,
1105,
51,
3946,
51,
14127,
51,
1256,
51,
32361,
64,
222,
485,
1105,
51,
3946,
51,
14127,
51,
1256,
51,
1024,
64,
222,
222,
485,
1401,
51,
735,
51,
27322,
64,
222,
485,
1401,
51,
735,
51,
6860,
64,
222,
485,
1401,
51,
1600,
51,
9069,
51,
1885,
64,
222,
485,
1401,
51,
1600,
51,
9069,
51,
1079,
26537,
14080,
1002,
64,
222,
485,
1401,
51,
31139,
51,
8728,
1002,
64,
222,
485,
1401,
51,
2622,
51,
20335,
64,
222,
485,
1401,
51,
1058,
51,
7119,
64,
222,
485,
1401,
51,
1058,
51,
8263,
64,
222,
485,
1401,
51,
1058,
51,
5740,
64,
222,
485,
1401,
51,
1058,
51,
739,
64,
222,
485,
1401,
51,
1058,
51,
1225,
64,
222,
222,
485,
13007,
51,
121,
23060,
450,
414,
51,
32223,
51,
18999,
8628,
4417,
2239,
64,
222,
485,
13007,
51,
121,
23060,
450,
414,
51,
32223,
51,
1785,
12386,
64,
222,
485,
13007,
51,
121,
23060,
450,
414,
51,
32223,
51,
5131,
2907,
318,
1785,
698,
64,
222,
485,
13007,
51,
121,
23060,
450,
414,
51,
32223,
51,
7193,
25843,
1785,
698,
64,
222,
485,
13007,
51,
121,
23060,
450,
414,
51,
32223,
51,
1885,
5670,
1785,
698,
64,
222,
485,
13007,
51,
121,
23060,
450,
414,
51,
32223,
51,
1962,
6330,
64,
222,
485,
13007,
51,
121,
23060,
450,
414,
51,
32223,
51,
2937,
2044,
64,
222,
485,
13007,
51,
121,
23060,
450,
414,
51,
32223,
51,
12762,
1785,
698,
64,
222,
485,
13007,
51,
121,
23060,
450,
414,
51,
32223,
51,
38398,
51,
3544,
13843,
64,
222,
485,
13007,
51,
121,
23060,
450,
414,
51,
32223,
51,
38398,
51,
31946,
13777,
13843,
64,
222,
485,
13007,
51,
121,
23060,
450,
414,
51,
32223,
51,
3608,
51,
70,
539,
2769,
64,
222,
485,
13007,
51,
121,
23060,
450,
414,
51,
32223,
51,
3608,
51,
2061,
25843,
1785,
12386,
64,
222,
485,
13007,
51,
121,
23060,
450,
414,
51,
32223,
51,
3608,
51,
2061,
1962,
6330,
1785,
12386,
64,
222,
485,
13007,
51,
121,
23060,
450,
414,
51,
32223,
51,
3608,
51,
41184,
25843,
13843,
64,
222,
485,
13007,
51,
121,
23060,
450,
414,
51,
32223,
51,
3608,
51,
7193,
1885,
11947,
1962,
6330,
64,
222,
485,
13007,
51,
121,
23060,
450,
414,
51,
32223,
51,
3608,
51,
577,
3683,
1885,
1962,
6330,
64,
222,
485,
13007,
51,
121,
23060,
450,
414,
51,
32223,
51,
3608,
51,
5983,
1885,
11947,
1962,
6330,
1785,
12386,
64,
222,
485,
13007,
51,
121,
23060,
450,
414,
51,
32223,
51,
2000,
51,
14102,
3926,
44891,
2937,
2044,
64,
222,
485,
13007,
51,
121,
23060,
450,
414,
51,
32223,
51,
2000,
51,
15948,
2937,
2044,
64,
222,
485,
13007,
51,
121,
23060,
450,
414,
51,
32223,
51,
881,
12942,
51,
358,
698,
51,
1552,
318,
5131,
2907,
318,
1785,
698,
64,
222,
485,
13007,
51,
121,
23060,
450,
414,
51,
32223,
51,
881,
12942,
51,
358,
698,
51,
1552,
318,
5670,
1785,
698,
64,
222,
485,
13007,
51,
121,
23060,
450,
414,
51,
32223,
51,
881,
12942,
51,
358,
698,
51,
1885,
6489,
64,
222,
485,
13007,
51,
121,
23060,
450,
414,
51,
32223,
51,
881,
12942,
51,
358,
698,
51,
3781,
12762,
1985,
64,
222,
485,
13007,
51,
121,
23060,
450,
414,
51,
32223,
51,
881,
12942,
51,
38398,
51,
83,
539,
13843,
64,
222,
485,
13007,
51,
121,
23060,
450,
414,
51,
32223,
51,
881,
12942,
51,
38398,
51,
12644,
83,
539,
13843,
64,
222,
485,
13007,
51,
121,
23060,
450,
414,
51,
32223,
51,
881,
12942,
51,
38398,
51,
7477,
25843,
13843,
64,
222,
485,
13007,
51,
121,
23060,
450,
414,
51,
9580,
51,
881,
12942,
51,
9580,
51,
2354,
987,
64,
222,
485,
13007,
51,
121,
23060,
450,
414,
51,
9580,
51,
881,
12942,
51,
9580,
51,
38396,
5358,
64,
222,
485,
13007,
51,
121,
23060,
450,
414,
51,
9580,
51,
881,
12942,
51,
9580,
51,
6016,
64,
222,
485,
13007,
51,
121,
23060,
450,
414,
51,
9580,
51,
881,
12942,
51,
9580,
51,
12644,
6016,
64,
222,
485,
13007,
51,
121,
23060,
450,
414,
51,
9580,
51,
881,
12942,
51,
9580,
51,
1024,
5358,
64,
222,
485,
13007,
51,
121,
23060,
450,
414,
51,
1284,
51,
881,
12942,
51,
27130,
337,
64,
222,
485,
13007,
51,
121,
23060,
450,
414,
51,
1284,
51,
881,
12942,
51,
735,
51,
8333,
32384,
64,
222,
485,
13007,
51,
121,
23060,
450,
414,
51,
1600,
51,
6825,
64,
222,
485,
913,
51,
22649,
51,
4645,
13983,
64,
222,
485,
913,
51,
22649,
51,
4645,
13983,
1785,
12386,
64,
222,
485,
913,
51,
22649,
51,
4645,
463,
64,
222,
485,
913,
51,
22649,
51,
19093,
1002,
64,
222,
222,
485,
924,
1105,
51,
40018,
51,
1284,
51,
1256,
51,
16980,
51,
17427,
64,
222,
485,
924,
1105,
51,
40018,
51,
1284,
51,
1256,
51,
16980,
51,
17427,
1002,
21853,
64,
222,
485,
924,
1105,
51,
40018,
51,
1284,
51,
1256,
51,
16980,
51,
17427,
25894,
64,
222,
485,
924,
1105,
51,
40018,
51,
1284,
51,
1256,
51,
16980,
51,
17427,
45123,
64,
222,
222,
1350,
222,
338,
496,
2133,
43802,
21588,
1174,
222,
338,
496,
2133,
990,
8703,
2536,
16563,
15204,
222,
338,
496,
2133,
39636,
4284,
1480,
222,
338,
496,
8152,
244,
54,
56,
51,
53,
56,
51,
55,
53,
53,
56,
222,
588,
222,
942,
5560,
462,
7406,
70,
539,
5401,
4485,
320,
736,
2532,
1175,
7509,
2937,
2044,
4408,
2937,
2044,
299,
556,
7509,
2937,
2044,
492,
736,
1041,
682,
338,
6429,
331,
5084,
1780,
1932,
3322,
434,
1361,
18874,
391,
813,
580,
51,
682,
338,
906,
1780,
2315,
545,
758,
51,
41560,
1118,
545,
5814,
347,
28896,
682,
338,
391,
7197,
708,
580,
1616,
1674,
36797,
829,
1361,
51,
682,
588,
353,
496,
32361,
353,
581,
782,
14544,
365,
320,
303,
4408,
2937,
2044,
51,
4558,
492,
353,
339,
736,
496,
5131,
3875,
353,
581,
782,
28896,
365,
320,
303,
4408,
2937,
2044,
51,
6970,
492,
353,
339,
736,
1041,
682,
338,
1776,
347,
17183,
7654,
575,
33047,
2945,
51,
682,
588,
353,
2532,
5560,
2210,
1506,
5401,
45,
5401,
11147,
4417,
641,
312,
736,
2532,
5560,
418,
539,
5401,
1506,
70,
539,
5401,
45,
18999,
8628,
4417,
641,
312,
736,
1041,
682,
338,
3626,
331,
1780,
5198,
2147,
68,
682,
588,
353,
2532,
1922,
7190,
2937,
365,
320,
303,
461,
920,
64,
353,
339,
736,
1041,
682,
338,
7169,
913,
708,
434,
1019,
758,
2102,
1019,
902,
640,
3049,
986,
4076,
51,
682,
588,
353,
496,
1024,
353,
581,
782,
913,
3367,
39626,
365,
320,
303,
648,
11505,
54,
299,
244,
56,
56,
64,
303,
648,
11505,
55,
299,
244,
56,
60,
64,
303,
910,
655,
299,
332,
955,
126,
884,
465,
2128,
5358,
1780,
54,
299,
556,
2128,
5358,
492,
303,
1780,
54,
51,
489,
12475,
45,
400,
54,
312,
303,
15628,
2232,
19170,
54,
299,
556,
15628,
2232,
45,
2000,
54,
312,
303,
19170,
54,
51,
688,
1785,
12386,
45,
909,
4119,
1962,
6330,
1785,
12386,
45,
909,
508,
539,
13843,
5086,
303,
19170,
54,
51,
688,
1785,
12386,
45,
909,
4119,
1962,
6330,
1785,
12386,
45,
909,
18367,
25843,
13843,
5086,
303,
457,
1024,
5358,
15317,
299,
327,
38396,
5358,
46,
19170,
54,
51,
390,
5401,
492,
465,
7624,
45,
7180,
51,
390,
12475,
4269,
14697,
45,
400,
54,
312,
303,
15317,
51,
489,
12475,
45,
400,
55,
312,
303,
7624,
45,
7180,
51,
390,
12475,
4269,
14697,
45,
400,
55,
312,
303,
7624,
45,
7180,
51,
5175,
4269,
17331,
492,
303,
15317,
51,
15779,
45,
444,
312,
303,
7624,
45,
7180,
51,
5175,
4269,
14697,
45,
444,
312,
353,
339,
736,
496,
1024,
353,
581,
782,
913,
8333,
1785,
698,
2199,
2937,
1355,
12644,
365,
2589,
3284,
320,
303,
2128,
5358,
15317,
299,
556,
2128,
5358,
492,
303,
7624,
45,
8333,
32384,
51,
316,
12644,
45,
7180,
3445,
37206,
492,
465,
15628,
2232,
19170,
299,
556,
15628,
2232,
45,
7180,
312,
465,
19170,
51,
688,
1785,
698,
45,
909,
508,
539,
13843,
1052,
303,
457,
1024,
5358,
7671,
299,
327,
38396,
5358,
46,
1506,
70,
539,
5401,
45,
7146,
566,
390,
5401,
492,
465,
7624,
45,
8333,
32384,
51,
316,
12644,
45,
5881,
3445,
37206,
492,
353,
339,
736,
496,
1024,
353,
581,
782,
913,
8333,
1785,
698,
1355,
12644,
365,
2589,
3284,
320,
303,
19182,
6016,
1887,
299,
556,
19182,
6016,
492,
303,
7624,
45,
8333,
32384,
51,
316,
12644,
45,
438,
3445,
25761,
492,
465,
15628,
2232,
19170,
299,
556,
15628,
2232,
45,
438,
312,
465,
453,
1369,
7751,
1348,
4569,
6776,
303,
3604,
698,
613,
299,
556,
508,
539,
13843,
492,
303,
19170,
51,
688,
1785,
698,
45,
110,
312,
303,
7624,
45,
8333,
32384,
51,
316,
12644,
45,
110,
3445,
37206,
492,
303,
2210,
7671,
299,
1506,
70,
539,
5401,
45,
7146,
566,
390,
5401,
492,
465,
7624,
45,
8333,
32384,
51,
316,
12644,
45,
5881,
3445,
37206,
492,
353,
339,
736,
496,
1024,
353,
581,
782,
913,
12644,
2937,
2199,
1785,
698,
365,
2589,
9953,
320,
303,
19182,
6016,
4944,
2937,
299,
556,
19182,
6016,
492,
303,
4944,
2937,
51,
15779,
459,
111,
468,
742,
303,
4944,
2937,
51,
489,
12475,
45,
55,
59,
312,
465,
7624,
45,
8333,
32384,
51,
316,
12644,
45,
6427,
2937,
3445,
25761,
492,
465,
15628,
2232,
19170,
299,
556,
15628,
2232,
45,
6427,
2937,
312,
465,
9658,
318,
12762,
1785,
698,
300,
1371,
299,
556,
9658,
318,
12762,
1785,
698,
492,
465,
19170,
51,
688,
1785,
698,
45,
909,
19182,
83,
539,
13843,
1052,
303,
453,
8982,
10329,
29332,
3756,
303,
19170,
51,
688,
1785,
698,
45,
909,
9658,
318,
5670,
1785,
698,
1052,
303,
19170,
51,
688,
1785,
698,
45,
909,
9658,
318,
5131,
2907,
318,
1785,
698,
1052,
303,
19170,
51,
688,
1785,
698,
45,
41243,
312,
303,
11057,
317,
299,
327,
6016,
46,
1506,
70,
539,
5401,
45,
7146,
566,
390,
5401,
492,
465,
317,
51,
3486,
45,
1710,
312,
303,
7624,
45,
41243,
51,
390,
17822,
4269,
14697,
45,
53,
312,
303,
1614,
320,
416,
317,
51,
3486,
45,
909,
6300,
1052,
303,
339,
303,
2385,
327,
6860,
557,
46,
320,
416,
1276,
2816,
588,
303,
339,
303,
7624,
45,
41243,
51,
390,
17822,
4269,
14697,
45,
54,
312,
465,
453,
13513,
1440,
3773,
434,
580,
8163,
303,
11057,
317,
55,
299,
39846,
32384,
51,
6293,
2199,
17194,
45,
117,
312,
303,
7624,
45,
117,
55,
566,
28564,
8525,
1482,
45,
117,
312,
303,
7624,
45,
117,
55,
51,
5175,
4269,
14697,
45,
117,
51,
5175,
1052,
303,
7624,
45,
117,
55,
51,
390,
12475,
4269,
14697,
45,
117,
51,
390,
12475,
1052,
303,
7624,
45,
70,
539,
2769,
51,
316,
70,
539,
5401,
45,
117,
55,
3445,
321,
459,
10951,
1209,
1319,
458,
619,
418,
1970,
7671,
1912,
25761,
492,
465,
3604,
27234,
331,
54,
299,
327,
18999,
8628,
46,
317,
64,
303,
3604,
27234,
331,
55,
299,
327,
18999,
8628,
46,
317,
55,
64,
303,
453,
3471,
1019,
902,
36482,
1621,
451,
317,
55,
303,
7624,
45,
102,
55,
51,
390,
1785,
1893,
1758,
941,
1340,
566,
14697,
45,
102,
54,
51,
390,
1785,
1893,
1758,
941,
1340,
312,
465,
453,
1369,
1414,
1409,
641,
19182,
6016,
458,
5058,
303,
7624,
45,
117,
55,
566,
321,
459,
26993,
753,
1414,
545,
5058,
49,
4462,
2703,
1611,
1616,
14304,
1912,
14697,
45,
117,
312,
303,
7624,
45,
117,
566,
321,
459,
26993,
753,
1414,
545,
5058,
49,
4462,
2703,
1611,
1616,
14304,
1912,
14697,
45,
117,
55,
312,
465,
453,
3471,
1019,
902,
1035,
331,
556,
1564,
12386,
391,
341,
1780,
303,
508,
539,
13843,
18593,
299,
556,
508,
539,
13843,
492,
303,
317,
55,
51,
390,
12475,
492,
303,
7624,
45,
5177,
51,
32931,
4269,
14697,
45,
53,
312,
303,
331,
55,
51,
688,
1785,
698,
45,
5177,
312,
303,
317,
55,
51,
390,
12475,
492,
303,
7624,
45,
5177,
51,
32931,
4269,
14697,
45,
54,
312,
465,
300,
1371,
299,
327,
1552,
318,
12762,
1785,
698,
46,
331,
55,
51,
390,
1785,
1893,
1758,
8577,
56,
1015,
390,
1785,
698,
492,
303,
317,
55,
51,
3486,
45,
1710,
312,
303,
7624,
45,
41243,
51,
390,
17822,
4269,
14697,
45,
54,
312,
303,
1614,
320,
416,
317,
55,
51,
3486,
45,
909,
6300,
1052,
303,
339,
303,
2385,
327,
6860,
557,
46,
320,
465,
339,
303,
7624,
45,
41243,
51,
390,
17822,
4269,
14697,
45,
55,
312,
353,
339,
736,
1041,
682,
338,
3471,
708,
341,
3161,
5409,
6358,
32530,
7527,
904,
16403,
480,
682,
338,
2818,
1348,
11729,
51,
682,
338,
3471,
2353,
7671,
42181,
51,
682,
588,
353,
496,
1024,
353,
581,
782,
913,
3597,
18999,
8628,
976,
17822,
20964,
365,
320,
303,
648,
11505,
54,
299,
244,
56,
56,
64,
303,
648,
11505,
55,
299,
244,
56,
60,
64,
465,
2128,
5358,
1780,
54,
299,
556,
2128,
5358,
492,
303,
15628,
2232,
19170,
54,
299,
556,
15628,
2232,
45,
2000,
54,
312,
303,
453,
4235,
930,
7671,
480,
18586,
1524,
502,
391,
640,
1637,
664,
418,
539,
1237,
303,
19170,
54,
51,
489,
31946,
5401,
45,
1527,
312,
303,
508,
539,
13843,
2090,
54,
299,
556,
508,
539,
13843,
492,
303,
19170,
54,
51,
688,
1785,
698,
45,
53,
49,
2090,
54,
312,
303,
19170,
54,
51,
688,
1785,
698,
45,
54,
49,
556,
15628,
11947,
13843,
1052,
303,
19170,
54,
51,
688,
1785,
698,
45,
55,
49,
556,
3471,
1885,
13777,
1640,
8525,
402,
2199,
1529,
13843,
1052,
303,
19170,
54,
51,
688,
1785,
698,
45,
54,
49,
556,
3471,
1885,
13777,
28562,
3032,
3340,
1640,
8525,
402,
2199,
1529,
13843,
1052,
303,
453,
15620,
545,
1950,
303,
19170,
54,
51,
688,
1785,
698,
45,
53,
49,
1300,
3622,
13777,
13843,
51,
12457,
312,
303,
457,
1024,
5358,
9801,
8628,
54,
299,
327,
38396,
5358,
46,
19170,
54,
51,
390,
5401,
492,
303,
9801,
8628,
54,
51,
489,
12475,
45,
400,
54,
312,
453,
299,
244,
54,
18586,
465,
2128,
5358,
1780,
55,
299,
556,
2128,
5358,
492,
303,
15628,
2232,
19170,
55,
299,
556,
15628,
2232,
45,
2000,
55,
312,
303,
19170,
55,
51,
489,
31946,
5401,
45,
1527,
312,
303,
508,
539,
13843,
2090,
55,
299,
556,
508,
539,
13843,
492,
303,
19170,
55,
51,
688,
1785,
698,
45,
53,
49,
2090,
55,
312,
303,
19170,
55,
51,
688,
1785,
698,
45,
54,
49,
556,
15628,
11947,
13843,
1052,
303,
19170,
55,
51,
688,
1785,
698,
45,
55,
49,
556,
3471,
1885,
13777,
1640,
8525,
402,
2199,
1529,
13843,
1052,
303,
19170,
55,
51,
688,
1785,
698,
45,
54,
49,
556,
3471,
1885,
13777,
28562,
3032,
3340,
1640,
8525,
402,
2199,
1529,
13843,
1052,
303,
19170,
55,
51,
688,
1785,
698,
45,
53,
49,
1300,
3622,
13777,
13843,
51,
12457,
312,
303,
457,
1024,
5358,
9801,
8628,
55,
299,
327,
38396,
5358,
46,
1506,
5401,
45,
7146,
55,
312,
303,
9801,
8628,
55,
51,
489,
12475,
45,
400,
55,
312,
303,
9801,
8628,
54,
51,
489,
25693,
558,
45,
11236,
8628,
55,
312,
453,
299,
244,
55,
4712,
32530,
465,
453,
299,
244,
56,
4712,
32530,
303,
7624,
45,
11236,
8628,
54,
51,
390,
12475,
4269,
321,
459,
18999,
8628,
1611,
1421,
3831,
11505,
1912,
14697,
45,
400,
54,
312,
303,
7624,
45,
11236,
8628,
55,
51,
390,
12475,
4269,
321,
459,
18999,
8628,
3161,
1421,
3831,
11505,
1912,
14697,
45,
400,
55,
312,
303,
453,
3130,
711,
6737,
1495,
563,
9801,
8628,
244,
55,
303,
453,
299,
244,
57,
4712,
32530,
563,
244,
54,
480,
4691,
1611,
563,
244,
55,
303,
7624,
45,
11236,
8628,
54,
51,
18721,
864,
558,
941,
390,
12475,
4269,
321,
459,
18999,
8628,
1611,
22705,
558,
1421,
3831,
11505,
1912,
14697,
45,
400,
55,
312,
465,
7624,
45,
1351,
54,
51,
32931,
4269,
321,
459,
677,
1616,
16638,
3831,
1470,
451,
6524,
1912,
14697,
45,
57,
312,
303,
453,
26014,
8990,
829,
1495,
391,
9801,
8628,
54,
51,
18721,
864,
558,
941,
390,
12475,
365,
303,
7624,
45,
1351,
55,
51,
32931,
4269,
321,
459,
677,
1616,
16638,
3831,
1470,
451,
6524,
1912,
14697,
45,
56,
312,
353,
339,
736,
496,
1024,
353,
581,
782,
913,
454,
17656,
743,
365,
320,
303,
648,
11505,
54,
299,
244,
56,
56,
64,
465,
2128,
5358,
1780,
54,
299,
556,
2128,
5358,
492,
303,
15628,
2232,
19170,
54,
299,
556,
15628,
2232,
45,
2000,
54,
312,
303,
508,
539,
13843,
2090,
54,
299,
556,
508,
539,
13843,
492,
303,
19170,
54,
51,
688,
1785,
698,
45,
53,
49,
2090,
54,
312,
303,
457,
1024,
5358,
9801,
8628,
54,
299,
327,
38396,
5358,
46,
1506,
5401,
45,
7146,
54,
312,
303,
9801,
8628,
54,
51,
489,
12475,
45,
400,
54,
312,
453,
299,
244,
54,
18586,
303,
9801,
8628,
54,
51,
489,
25693,
558,
45,
11236,
8628,
54,
312,
453,
299,
244,
55,
4712,
32530,
465,
7624,
45,
1351,
54,
51,
32931,
4269,
321,
459,
677,
1616,
16638,
3831,
1470,
451,
6524,
1912,
14697,
45,
55,
312,
465,
453,
299,
244,
56,
4712,
32530,
303,
7624,
45,
11236,
8628,
54,
51,
390,
12475,
4269,
321,
459,
18999,
8628,
1611,
1421,
3831,
11505,
1912,
14697,
45,
400,
54,
312,
303,
7624,
45,
1351,
54,
51,
32931,
4269,
321,
459,
677,
1616,
16638,
3831,
1470,
451,
6524,
1912,
14697,
45,
56,
312,
465,
453,
299,
244,
58,
4712,
32530,
49,
641,
334,
33366,
1495,
391,
22705,
558,
458,
9801,
8628,
2353,
303,
7624,
45,
11236,
8628,
54,
51,
18721,
864,
558,
941,
390,
12475,
4269,
321,
459,
18999,
8628,
22705,
558,
1421,
3831,
11505,
1912,
14697,
45,
400,
54,
312,
465,
7624,
45,
1351,
54,
51,
32931,
4269,
321,
459,
677,
1616,
16638,
3831,
1470,
451,
6524,
1912,
14697,
45,
58,
312,
353,
339,
736,
496,
1024,
353,
581,
782,
913,
2937,
4460,
953,
5401,
365,
320,
303,
508,
539,
13843,
2090,
299,
556,
508,
539,
13843,
492,
303,
1255,
3540,
20753,
7496,
5401,
1780,
299,
556,
10069,
14003,
492,
303,
15628,
2232,
7671,
2232,
299,
556,
15628,
2232,
45,
2000,
312,
303,
7671,
2232,
51,
489,
31946,
5401,
45,
1527,
312,
303,
7624,
45,
5881,
2232,
51,
316,
31946,
5401,
4269,
25761,
492,
465,
7671,
2232,
51,
688,
1785,
698,
45,
53,
49,
2090,
312,
303,
1255,
3540,
20753,
7496,
5401,
22609,
4850,
299,
327,
540,
3540,
20753,
7496,
5401,
46,
1506,
5401,
45,
5881,
2232,
312,
303,
7624,
45,
1351,
51,
32931,
4269,
14697,
45,
53,
312,
303,
7624,
45,
2000,
51,
32931,
4269,
14697,
45,
53,
312,
303,
22609,
4850,
51,
12128,
28562,
2287,
492,
303,
7624,
45,
2000,
51,
32931,
4269,
321,
459,
13814,
18658,
1912,
14697,
45,
54,
312,
465,
7624,
45,
1351,
51,
32931,
4269,
321,
459,
4505,
1611,
18586,
4745,
418,
1970,
641,
813,
451,
477,
16970,
1348,
22609,
4850,
1912,
14697,
45,
54,
312,
303,
453,
244,
54,
18586,
303,
7624,
45,
22177,
4850,
51,
32931,
4269,
321,
459,
13814,
18658,
1912,
14697,
45,
54,
312,
303,
22609,
4850,
51,
12128,
28562,
5401,
492,
453,
244,
55,
4712,
32530,
303,
7624,
45,
2000,
51,
32931,
4269,
321,
459,
13814,
18658,
1912,
14697,
45,
55,
312,
303,
7624,
45,
1351,
51,
32931,
4269,
321,
459,
56,
1851,
4712,
32530,
4745,
418,
1970,
641,
341,
1950,
1495,
1616,
334,
33366,
3939,
341,
7671,
1912,
14697,
45,
57,
312,
353,
339,
736,
496,
1024,
353,
453,
9056,
3562,
391,
640,
7671,
641,
21946,
5401,
16970,
1348,
758,
391,
878,
353,
581,
782,
913,
2937,
72,
710,
953,
5401,
46641,
365,
320,
303,
17377,
20753,
7496,
5401,
2990,
299,
556,
17377,
20753,
7496,
5401,
492,
303,
15628,
2232,
19170,
54,
299,
556,
15628,
2232,
45,
383,
312,
303,
7624,
45,
7146,
54,
51,
316,
31946,
5401,
4269,
37206,
492,
303,
1255,
3540,
20753,
7496,
5401,
22609,
4850,
299,
327,
540,
3540,
20753,
7496,
5401,
46,
1506,
5401,
45,
7146,
54,
312,
303,
7624,
45123,
941,
316,
27350,
1103,
4133,
984,
343,
22609,
4850,
51,
12128,
28562,
5401,
1052,
353,
339,
736,
496,
1024,
353,
581,
782,
913,
1237,
365,
2589,
9953,
320,
303,
913,
1237,
45,
1527,
312,
353,
339,
736,
496,
1024,
353,
581,
782,
913,
2042,
1237,
365,
2589,
9953,
320,
303,
913,
1237,
45,
1886,
312,
353,
339,
736,
1041,
682,
338,
496,
772,
1637,
434,
878,
49,
2660,
1637,
682,
588,
353,
964,
782,
913,
1237,
45,
3242,
1922,
1637,
46,
2589,
9953,
320,
303,
1175,
910,
328,
299,
332,
4003,
884,
303,
453,
2128,
461,
804,
303,
5409,
13843,
12908,
299,
18586,
984,
320,
416,
434,
1445,
1834,
46,
320,
310,
1217,
2042,
13777,
1237,
492,
416,
339,
416,
832,
320,
310,
7624,
45,
31946,
13777,
13843,
51,
1719,
13777,
4269,
321,
459,
8799,
1637,
1912,
38661,
492,
416,
339,
416,
461,
328,
64,
303,
1487,
303,
3604,
27234,
4417,
11497,
299,
556,
3604,
27234,
4417,
45,
38396,
5358,
51,
842,
312,
303,
434,
327,
1834,
46,
320,
416,
11497,
51,
688,
1785,
698,
45,
31946,
13777,
13843,
51,
12457,
312,
303,
339,
303,
11497,
51,
688,
1785,
698,
45,
4557,
312,
303,
453,
19135,
17183,
7654,
15817,
303,
434,
327,
13980,
2937,
1177,
320,
416,
11497,
51,
45611,
45,
909,
2128,
5358,
1052,
303,
339,
303,
418,
539,
5401,
331,
539,
299,
1506,
70,
539,
5401,
45,
1982,
312,
465,
1217,
2042,
13777,
1237,
492,
303,
457,
1024,
5358,
15317,
299,
327,
38396,
5358,
46,
331,
539,
51,
390,
5401,
492,
303,
1217,
2042,
13777,
1237,
492,
303,
7624,
45,
7180,
51,
5175,
4269,
321,
459,
11035,
461,
804,
1912,
316,
8525,
1482,
45,
120,
312,
353,
339,
736,
1041,
682,
338,
2128,
708,
341,
7671,
3235,
8032,
1429,
341,
682,
338,
1780,
3235,
3105,
707,
477,
130,
682,
588,
353,
496,
1024,
353,
581,
782,
913,
2937,
6972,
2287,
365,
2589,
9953,
320,
303,
453,
2128,
461,
804,
303,
2128,
5358,
5096,
299,
556,
29908,
25693,
558,
492,
465,
15628,
11147,
4417,
11497,
299,
556,
15628,
11147,
4417,
492,
303,
11497,
51,
489,
12303,
45,
38396,
5358,
51,
842,
312,
303,
11497,
51,
45611,
45,
1312,
312,
465,
457,
1024,
5358,
15317,
299,
327,
38396,
5358,
46,
1506,
5401,
45,
1982,
312,
303,
7624,
45,
7180,
51,
18721,
864,
558,
4269,
321,
459,
597,
461,
458,
16279,
347,
7671,
1912,
316,
8525,
1482,
45,
7180,
312,
353,
339,
736,
496,
1024,
353,
581,
782,
913,
22027,
1002,
365,
2589,
9953,
320,
303,
1175,
3284,
2816,
1002,
299,
556,
3284,
492,
303,
453,
2128,
461,
804,
303,
5409,
13843,
12908,
299,
18586,
984,
320,
416,
1440,
2816,
1002,
64,
303,
1487,
303,
3604,
27234,
4417,
11497,
299,
556,
3604,
27234,
4417,
45,
38396,
5358,
51,
842,
312,
303,
11497,
51,
688,
1785,
698,
45,
31946,
13777,
13843,
51,
12457,
312,
303,
11497,
51,
688,
1785,
698,
45,
4557,
312,
465,
453,
2726,
2818,
1348,
9412,
2645,
341,
1319,
303,
4408,
2937,
2044,
51,
45611,
45,
909,
2128,
5358,
1052,
303,
11497,
51,
45611,
2044,
45,
3628,
2937,
2044,
312,
303,
418,
539,
5401,
331,
539,
299,
1506,
70,
539,
5401,
45,
1982,
312,
465,
7624,
1002,
21853,
45,
1002,
51,
842,
566,
316,
27350,
1103,
4133,
984,
320,
416,
457,
1024,
5358,
15317,
299,
327,
38396,
5358,
46,
331,
539,
51,
390,
5401,
492,
416,
453,
5857,
63,
3773,
4380,
4834,
7751,
1348,
1674,
416,
15317,
51,
3918,
298,
45,
3156,
1002,
312,
303,
7694,
8936,
45,
3156,
1002,
422,
3591,
312,
353,
339,
736,
1041,
682,
338,
2262,
22978,
2589,
331,
8146,
3773,
666,
563,
341,
1431,
8214,
51,
682,
338,
2643,
30797,
49,
1019,
2818,
1348,
41594,
725,
20947,
1401,
51,
1600,
51,
9069,
480,
682,
338,
13007,
51,
121,
23060,
450,
414,
51,
12503,
1379,
48558,
14080,
1002,
682,
588,
353,
496,
1024,
353,
581,
782,
913,
1079,
26537,
9027,
1002,
365,
2589,
9953,
320,
303,
1175,
3284,
15370,
1002,
299,
556,
3284,
492,
303,
453,
2128,
461,
804,
303,
5409,
13843,
12908,
299,
18586,
984,
320,
416,
1440,
15370,
1002,
64,
303,
1487,
303,
3604,
27234,
4417,
11497,
299,
556,
3604,
27234,
4417,
45,
38396,
5358,
51,
842,
312,
303,
11497,
51,
688,
1785,
698,
45,
31946,
13777,
13843,
51,
12457,
312,
303,
11497,
51,
688,
1785,
698,
45,
4557,
312,
465,
453,
2726,
2818,
1348,
9412,
2645,
341,
1319,
303,
11497,
51,
45611,
45,
909,
2128,
5358,
1052,
303,
418,
539,
5401,
331,
539,
299,
1506,
70,
539,
5401,
45,
1982,
312,
303,
457,
1024,
5358,
15317,
299,
327,
38396,
5358,
46,
331,
539,
51,
390,
5401,
492,
465,
7624,
1002,
21853,
45,
1079,
26537,
14080,
1002,
51,
842,
566,
316,
27350,
1103,
45,
547,
15317,
422,
390,
12475,
46,
343,
657,
32869,
753,
45,
346,
984,
31102,
51,
17427,
45,
346,
51,
36127,
26537,
14080,
4269,
14697,
45,
22536,
1002,
894,
353,
339,
736,
496,
1024,
353,
581,
782,
913,
1079,
26537,
45944,
1002,
365,
2589,
9953,
320,
303,
1175,
13383,
15370,
1002,
299,
556,
13383,
492,
303,
453,
2128,
461,
804,
303,
5409,
13843,
12908,
299,
18586,
984,
320,
416,
1440,
15370,
1002,
64,
303,
1487,
303,
3604,
27234,
4417,
11497,
299,
556,
3604,
27234,
4417,
45,
38396,
5358,
51,
842,
312,
303,
11497,
51,
688,
1785,
698,
45,
31946,
13777,
13843,
51,
12457,
312,
303,
11497,
51,
688,
1785,
698,
45,
4557,
312,
465,
453,
2726,
2818,
1348,
9412,
2645,
341,
1319,
303,
11497,
51,
45611,
45,
909,
2128,
5358,
1052,
303,
418,
539,
5401,
331,
539,
299,
1506,
70,
539,
5401,
45,
1982,
312,
303,
457,
1024,
5358,
15317,
299,
327,
38396,
5358,
46,
331,
539,
51,
390,
5401,
492,
465,
7624,
1002,
21853,
45,
19296,
51,
842,
566,
316,
27350,
1103,
45,
547,
15317,
422,
390,
12475,
46,
343,
657,
8936,
45,
22536,
1002,
422,
3591,
312,
353,
339,
736,
1041,
682,
338,
3471,
708,
21094,
331,
1431,
458,
1871,
30387,
456,
29332,
8269,
16891,
480,
682,
338,
3889,
10238,
680,
18586,
49,
580,
4183,
1348,
7305,
434,
1019,
4783,
18485,
391,
2337,
341,
7671,
49,
682,
338,
1278,
641,
391,
28759,
331,
14500,
16100,
1573,
51,
682,
588,
353,
496,
1024,
353,
581,
782,
913,
2937,
4460,
953,
13777,
22843,
2811,
2042,
1785,
698,
7429,
365,
2589,
9953,
320,
303,
17377,
20753,
7496,
5401,
1780,
299,
556,
17377,
20753,
7496,
5401,
492,
303,
3604,
27234,
4417,
11497,
299,
556,
3604,
27234,
4417,
45,
540,
3540,
20753,
7496,
5401,
51,
842,
312,
303,
11497,
51,
45611,
45,
2000,
312,
303,
11497,
51,
489,
31946,
5401,
45,
1527,
312,
465,
453,
9188,
1228,
1200,
1614,
580,
642,
341,
7472,
1780,
303,
418,
539,
5401,
331,
539,
299,
1506,
70,
539,
5401,
45,
1982,
312,
303,
1255,
3540,
20753,
7496,
5401,
22609,
4850,
299,
327,
540,
3540,
20753,
7496,
5401,
46,
331,
539,
51,
390,
5401,
492,
303,
453,
2048,
1118,
19132,
524,
434,
580,
902,
1348,
640,
341,
7671,
303,
22609,
4850,
51,
12128,
28562,
5401,
492,
353,
339,
736,
496,
1024,
353,
581,
782,
913,
2937,
4460,
953,
13777,
365,
2589,
9953,
320,
303,
1175,
39641,
2157,
589,
6865,
13777,
1024,
5358,
2816,
2937,
299,
556,
39641,
2157,
589,
6865,
13777,
1024,
5358,
492,
465,
3604,
27234,
4417,
11497,
299,
556,
3604,
27234,
4417,
45,
38396,
5358,
51,
842,
49,
4398,
987,
51,
842,
312,
303,
11497,
51,
688,
1785,
698,
45,
31946,
13777,
13843,
51,
12457,
312,
303,
413,
1085,
2937,
13843,
292,
3660,
299,
556,
413,
1085,
2937,
13843,
365,
320,
416,
496,
1806,
416,
581,
2210,
11324,
45,
1885,
13777,
18586,
46,
2589,
9953,
320,
310,
453,
3187,
708,
1780,
8012,
6761,
17373,
18586,
3235,
310,
7624,
45,
28876,
51,
390,
2287,
4269,
321,
459,
2937,
458,
3831,
1912,
14697,
45,
3156,
2937,
312,
310,
461,
2615,
51,
7845,
45,
28876,
312,
416,
339,
303,
1487,
303,
11497,
51,
688,
1785,
698,
45,
121,
3660,
312,
303,
11497,
51,
45611,
45,
3156,
2937,
312,
303,
418,
539,
5401,
331,
539,
299,
1506,
70,
539,
5401,
45,
1982,
312,
465,
457,
1024,
5358,
15317,
299,
327,
38396,
5358,
46,
331,
539,
51,
390,
5401,
492,
303,
15317,
51,
5175,
492,
353,
339,
736,
1041,
682,
338,
8342,
619,
3773,
434,
2038,
458,
619,
39641,
51,
682,
588,
353,
964,
782,
1217,
2042,
13777,
1237,
365,
320,
303,
7624,
45123,
941,
316,
27350,
1103,
45,
343,
1300,
3622,
13777,
13843,
422,
1719,
13777,
312,
353,
339,
736,
1041,
682,
338,
2128,
1621,
2812,
22978,
682,
588,
353,
496,
1024,
353,
581,
782,
913,
13983,
1569,
25843,
1785,
12386,
365,
2589,
9953,
320,
303,
2128,
5358,
15317,
299,
556,
2128,
5358,
492,
303,
15628,
2232,
11497,
299,
556,
15628,
2232,
492,
303,
11497,
51,
688,
3058,
45,
38396,
5358,
51,
842,
312,
303,
11497,
51,
688,
1785,
12386,
45,
909,
15094,
13983,
1785,
12386,
1052,
303,
11497,
51,
45611,
45,
7180,
312,
465,
913,
1024,
5358,
25843,
45,
1982,
312,
353,
339,
736,
496,
1024,
353,
581,
782,
913,
13983,
1569,
25843,
1139,
365,
2589,
9953,
320,
303,
2128,
5358,
15317,
299,
556,
2128,
5358,
492,
303,
15628,
2232,
11497,
299,
556,
15628,
2232,
492,
303,
11497,
51,
688,
3058,
45,
38396,
5358,
51,
842,
312,
303,
453,
2726,
2818,
1348,
813,
619,
25724,
1785,
12386,
49,
1019,
902,
2277,
1035,
619,
29332,
708,
4584,
25724,
1139,
303,
11497,
51,
688,
1785,
698,
45,
909,
15094,
13983,
1052,
303,
11497,
51,
45611,
45,
7180,
312,
465,
913,
1024,
5358,
25843,
45,
1982,
312,
353,
339,
736,
964,
782,
913,
1024,
5358,
25843,
45,
5401,
2232,
11497,
46,
320,
303,
648,
556,
12475,
299,
244,
59,
58,
64,
303,
457,
1024,
5358,
580,
103,
299,
327,
38396,
5358,
46,
1506,
5401,
45,
1982,
312,
303,
580,
103,
51,
489,
12475,
45,
909,
12475,
312,
303,
7624,
45,
302,
103,
51,
390,
12475,
4269,
14697,
45,
909,
12475,
312,
465,
15094,
463,
5449,
463,
299,
327,
4645,
463,
46,
580,
103,
64,
303,
7624,
45,
827,
463,
51,
16114,
4269,
37206,
492,
303,
5449,
463,
51,
827,
492,
465,
7624,
45,
302,
103,
51,
390,
12475,
4269,
14697,
45,
909,
12475,
312,
303,
7624,
1002,
21853,
45,
19093,
1002,
51,
842,
566,
316,
27350,
1103,
4133,
984,
343,
580,
103,
51,
489,
12475,
45,
54,
894,
303,
7624,
45,
302,
103,
51,
390,
12475,
4269,
14697,
45,
909,
12475,
312,
465,
453,
1703,
827,
303,
7624,
45,
827,
463,
51,
16114,
4269,
25761,
492,
303,
5449,
463,
51,
11203,
492,
303,
580,
103,
51,
489,
12475,
45,
54,
312,
303,
7624,
45,
302,
103,
51,
390,
12475,
4269,
14697,
45,
54,
312,
353,
339,
736,
496,
1024,
353,
581,
782,
913,
9395,
3501,
365,
2589,
9953,
320,
303,
2128,
5358,
15317,
299,
556,
2128,
5358,
492,
303,
15628,
2232,
11497,
299,
556,
15628,
2232,
492,
303,
11497,
51,
688,
3058,
45,
38396,
5358,
51,
842,
312,
303,
11497,
51,
45611,
45,
7180,
312,
303,
11497,
51,
688,
1785,
12386,
45,
909,
910,
16923,
1898,
24217,
1785,
698,
1052,
465,
457,
1024,
5358,
292,
299,
327,
38396,
5358,
46,
11497,
51,
390,
5401,
492,
303,
648,
556,
12475,
299,
244,
58,
64,
303,
292,
51,
489,
12475,
45,
909,
12475,
312,
303,
7624,
45,
121,
51,
390,
12475,
4269,
14697,
45,
909,
12475,
312,
303,
910,
42562,
299,
332,
5040,
884,
303,
292,
51,
15779,
45,
909,
577,
312,
303,
7624,
45,
121,
51,
5175,
4269,
14697,
45,
909,
577,
312,
465,
292,
51,
15779,
45,
1710,
312,
303,
453,
9286,
15914,
17305,
1414,
1409,
303,
7624,
45,
121,
51,
5175,
4269,
14697,
10928,
353,
339,
736,
496,
1024,
353,
581,
782,
913,
4460,
8948,
5401,
724,
5401,
1081,
365,
2589,
9953,
320,
303,
2128,
5358,
15317,
299,
556,
2128,
5358,
492,
303,
15628,
2232,
11497,
299,
556,
15628,
2232,
45,
7180,
312,
303,
508,
539,
13843,
2090,
299,
556,
508,
539,
13843,
492,
303,
11497,
51,
688,
1785,
698,
45,
53,
49,
2090,
312,
465,
457,
1024,
5358,
292,
299,
327,
38396,
5358,
46,
1506,
5401,
45,
1982,
312,
303,
7624,
45,
1351,
51,
32931,
4269,
14697,
45,
53,
312,
303,
292,
51,
489,
12475,
45,
55,
56,
312,
303,
7624,
45,
121,
51,
390,
12475,
4269,
14697,
45,
55,
56,
312,
303,
7624,
45,
1351,
51,
32931,
4269,
14697,
45,
55,
312,
465,
3604,
27234,
9801,
8628,
299,
327,
18999,
8628,
46,
292,
64,
303,
7624,
45,
11236,
8628,
51,
390,
1785,
1893,
1758,
941,
1340,
566,
321,
459,
9041,
244,
54,
1564,
12386,
1912,
14697,
45,
54,
312,
303,
7624,
45,
11236,
8628,
51,
390,
1785,
1893,
1758,
8577,
53,
1015,
390,
1785,
698,
4269,
14697,
45,
1351,
312,
303,
508,
539,
13843,
2090,
55,
299,
556,
508,
539,
13843,
492,
303,
9801,
8628,
51,
688,
1785,
698,
45,
54,
49,
2090,
55,
312,
303,
292,
51,
5175,
492,
303,
7624,
45,
1351,
51,
32931,
4269,
14697,
45,
56,
312,
303,
7624,
45,
1351,
55,
51,
32931,
4269,
14697,
45,
54,
312,
303,
453,
1118,
3365,
2090,
303,
9801,
8628,
51,
2564,
1785,
12386,
45,
53,
312,
303,
292,
51,
390,
12475,
492,
303,
453,
1703,
8970,
303,
7624,
45,
1351,
51,
32931,
4269,
14697,
45,
56,
312,
303,
7624,
45,
1351,
55,
51,
32931,
4269,
14697,
45,
55,
312,
465,
9658,
318,
5670,
1785,
698,
300,
2679,
299,
556,
9658,
318,
5670,
1785,
698,
492,
303,
7624,
45,
35192,
51,
390,
17822,
4269,
14697,
45,
53,
312,
303,
9801,
8628,
51,
688,
1785,
698,
45,
35192,
312,
303,
292,
51,
489,
12475,
45,
54,
59,
312,
303,
7624,
45,
121,
51,
390,
12475,
4269,
14697,
45,
54,
59,
312,
303,
7624,
45,
35192,
51,
390,
17822,
4269,
14697,
45,
55,
312,
353,
339,
736,
496,
1024,
353,
581,
782,
913,
1785,
698,
47362,
25843,
1139,
365,
2589,
9953,
320,
303,
2128,
5358,
15317,
299,
556,
2128,
5358,
492,
303,
910,
655,
299,
332,
955,
126,
884,
303,
15317,
51,
15779,
45,
444,
312,
303,
15628,
2232,
11497,
299,
556,
15628,
2232,
45,
7180,
312,
303,
508,
539,
13843,
2090,
299,
556,
508,
539,
13843,
492,
303,
11497,
51,
688,
1785,
698,
45,
1351,
312,
303,
1175,
1964,
8363,
299,
244,
56,
60,
64,
303,
11497,
51,
688,
1785,
698,
45,
909,
41806,
1761,
25843,
13843,
1181,
27130,
337,
46,
1423,
984,
8363,
894,
465,
457,
1024,
5358,
22609,
4850,
299,
327,
38396,
5358,
46,
1506,
5401,
45,
1982,
312,
303,
7624,
45,
22177,
4850,
51,
5175,
4269,
14697,
45,
444,
312,
303,
3734,
12964,
337,
8665,
299,
327,
27130,
337,
46,
22609,
4850,
64,
303,
7624,
45,
11340,
51,
11960,
12964,
4269,
14697,
45,
1448,
312,
353,
339,
736,
496,
1024,
353,
581,
782,
913,
11400,
1121,
7193,
25843,
1785,
698,
32886,
402,
25843,
1785,
698,
365,
2589,
9953,
320,
303,
2128,
5358,
1780,
299,
556,
2128,
5358,
492,
303,
1780,
51,
489,
12475,
45,
55,
54,
312,
303,
15628,
2232,
11497,
299,
556,
15628,
2232,
45,
2000,
312,
303,
7624,
1002,
21853,
45,
70,
539,
1081,
1002,
51,
842,
566,
316,
27350,
1103,
4133,
984,
547,
11497,
51,
688,
1785,
698,
45,
909,
25222,
25843,
1785,
698,
3499,
5183,
343,
657,
1814,
1193,
32097,
459,
585,
309,
4593,
742,
303,
453,
3471,
580,
4224,
4864,
63,
7671,
7769,
1621,
15495,
1348,
1178,
2602,
45088,
303,
457,
1024,
5358,
22609,
4850,
299,
327,
38396,
5358,
46,
1506,
5401,
45,
1982,
312,
303,
7624,
45,
22177,
4850,
51,
390,
12475,
4269,
14697,
45,
2000,
51,
390,
12475,
1052,
353,
339,
736,
496,
1024,
353,
581,
782,
913,
18816,
120,
71,
835,
371,
7193,
25843,
1785,
698,
1569,
2042,
4433,
365,
2589,
9953,
320,
303,
2128,
5358,
1780,
299,
556,
2128,
5358,
492,
303,
1780,
51,
489,
12475,
45,
55,
54,
312,
303,
15628,
2232,
11497,
299,
556,
15628,
2232,
45,
2000,
312,
303,
11497,
51,
688,
1785,
12386,
45,
909,
4119,
25843,
1785,
12386,
45,
909,
25222,
25843,
1785,
698,
3499,
1046,
40363,
51,
842,
894,
303,
7624,
1002,
21853,
45,
1002,
51,
842,
566,
316,
27350,
1103,
4133,
984,
320,
416,
453,
4314,
10712,
3562,
563,
3173,
1495,
63,
1648,
2660,
391,
39808,
291,
992,
5658,
416,
457,
1024,
5358,
22609,
4850,
299,
327,
38396,
5358,
46,
1506,
5401,
45,
1982,
312,
416,
22609,
4850,
51,
5175,
492,
303,
1141,
303,
453,
4314,
1674,
391,
2385,
17911,
1785,
698,
638,
1002,
49,
1294,
303,
453,
642,
17183,
7654,
1649,
3896,
904,
347,
7671,
10075,
480,
904,
16279,
303,
453,
347,
14382,
3773,
51,
3099,
1492,
458,
4224,
8407,
51,
303,
453,
6553,
45,
346,
51,
7724,
941,
7149,
459,
585,
309,
4593,
678,
868,
449,
54,
312,
353,
339,
736,
1041,
682,
338,
3471,
708,
341,
32585,
29332,
7751,
1348,
6671,
391,
20023,
14099,
682,
338,
708,
904,
26848,
829,
341,
25724,
13843,
51,
682,
588,
353,
496,
1024,
353,
581,
782,
913,
11400,
1121,
25843,
1785,
698,
1569,
28735,
3058,
365,
2589,
9953,
320,
303,
2128,
5358,
1780,
299,
556,
2128,
5358,
492,
303,
1780,
51,
489,
12475,
45,
55,
54,
312,
303,
15628,
2232,
11497,
299,
556,
15628,
2232,
45,
2000,
312,
303,
7624,
25894,
941,
316,
27350,
1103,
4133,
984,
343,
11497,
51,
688,
1785,
12386,
45,
53,
49,
556,
4119,
25843,
1785,
12386,
45,
909,
18367,
25843,
13843,
1046,
457,
1024,
5358,
51,
842,
4254,
303,
453,
3471,
580,
4224,
4864,
63,
7671,
7769,
1621,
15495,
1348,
1178,
2602,
45088,
303,
457,
1024,
5358,
22609,
4850,
299,
327,
38396,
5358,
46,
1506,
5401,
45,
1982,
312,
303,
7624,
45,
22177,
4850,
51,
390,
12475,
4269,
14697,
45,
2000,
51,
390,
12475,
1052,
353,
339,
736,
1041,
682,
338,
5857,
708,
619,
32585,
902,
1348,
1440,
619,
15370,
8146,
3773,
49,
682,
338,
641,
580,
1200,
21273,
8865,
829,
341,
2586,
51,
682,
588,
353,
496,
1024,
353,
581,
782,
913,
25843,
12762,
45944,
1002,
365,
2589,
9953,
320,
303,
2128,
5358,
1780,
299,
556,
2128,
5358,
492,
303,
1780,
51,
489,
12475,
45,
55,
54,
312,
303,
15628,
2232,
11497,
299,
556,
15628,
2232,
45,
2000,
312,
465,
496,
14030,
459,
3557,
678,
303,
462,
4318,
2844,
2041,
41806,
1761,
25843,
13843,
4584,
3734,
12964,
337,
320,
416,
1041,
1586,
338,
496,
2987,
3734,
12964,
337,
40,
11960,
12964,
365,
1586,
588,
416,
496,
1806,
416,
581,
1964,
640,
27130,
365,
320,
310,
1440,
556,
25788,
492,
416,
339,
303,
339,
303,
11497,
51,
688,
1785,
12386,
45,
909,
4119,
25843,
1785,
12386,
45,
909,
4318,
2844,
5086,
465,
3734,
12964,
337,
8363,
299,
327,
27130,
337,
46,
1506,
5401,
45,
1982,
312,
303,
7624,
1002,
21853,
45,
16737,
14797,
51,
842,
566,
316,
27350,
1103,
45,
343,
8363,
422,
11960,
12964,
312,
353,
339,
736,
1041,
682,
338,
9056,
1773,
545,
5320,
391,
20023,
14099,
49,
666,
6052,
51,
682,
588,
353,
496,
1024,
353,
581,
782,
913,
11400,
1121,
25843,
1785,
698,
14110,
309,
4092,
1359,
365,
2589,
9953,
320,
303,
2128,
5358,
1780,
299,
556,
2128,
5358,
492,
303,
1780,
51,
489,
12475,
45,
55,
54,
312,
303,
15628,
2232,
11497,
299,
556,
15628,
2232,
45,
2000,
312,
303,
7624,
25894,
941,
321,
459,
6473,
115,
1348,
545,
5320,
391,
1035,
32585,
29332,
708,
39124,
331,
462,
49,
9302,
2806,
619,
2586,
1912,
316,
27350,
1103,
4133,
984,
547,
11497,
51,
688,
1785,
12386,
45,
53,
49,
556,
4119,
25843,
1785,
12386,
45,
909,
18367,
25843,
13843,
1046,
2128,
5358,
51,
842,
2636,
343,
657,
1814,
1193,
32097,
459,
3352,
742,
303,
453,
3471,
580,
4224,
4864,
63,
7671,
7769,
1621,
15495,
1348,
1178,
2602,
45088,
303,
457,
1024,
5358,
22609,
4850,
299,
327,
38396,
5358,
46,
1506,
5401,
45,
1982,
312,
303,
7624,
45,
22177,
4850,
51,
390,
12475,
4269,
14697,
45,
2000,
51,
390,
12475,
1052,
353,
339,
736,
496,
1024,
353,
581,
782,
913,
11400,
1121,
13843,
5797,
42118,
365,
2589,
9953,
320,
303,
2128,
5358,
1780,
299,
556,
2128,
5358,
492,
303,
1780,
51,
489,
12475,
45,
55,
54,
312,
303,
15628,
2232,
11497,
299,
556,
15628,
2232,
45,
2000,
312,
303,
7624,
45,
1982,
51,
316,
42118,
4269,
37206,
492,
303,
11497,
51,
688,
1785,
698,
45,
909,
508,
539,
13843,
1052,
303,
457,
1024,
5358,
22609,
4850,
299,
327,
38396,
5358,
46,
1506,
5401,
45,
1982,
312,
303,
11497,
51,
489,
42118,
45,
1527,
312,
303,
7624,
1002,
21853,
45,
70,
539,
1081,
1002,
51,
842,
566,
321,
459,
6473,
115,
1348,
545,
5320,
391,
1035,
22978,
1429,
20089,
1912,
316,
27350,
1103,
4133,
984,
547,
11497,
51,
688,
1785,
698,
45,
53,
49,
556,
508,
539,
13843,
5183,
343,
657,
1814,
1193,
32097,
459,
30562,
742,
303,
453,
3471,
580,
4224,
4864,
63,
7671,
7769,
1621,
15495,
1348,
1178,
2602,
45088,
303,
7624,
45,
22177,
4850,
51,
390,
12475,
4269,
14697,
45,
2000,
51,
390,
12475,
1052,
303,
7624,
7738,
18999,
8628,
46,
22609,
4850,
566,
390,
1785,
1893,
1758,
941,
1340,
566,
14697,
45,
54,
312,
353,
339,
736,
1041,
682,
338,
3471,
708,
48160,
391,
3604,
27234,
902,
1348,
640,
6857,
29332,
34782,
51,
682,
588,
353,
496,
1024,
353,
581,
782,
913,
11400,
1121,
1785,
12386,
5797,
42118,
9529,
8948,
365,
2589,
9953,
320,
303,
2128,
5358,
1780,
299,
556,
2128,
5358,
492,
303,
1780,
51,
489,
12475,
45,
55,
54,
312,
303,
15628,
2232,
11497,
299,
556,
15628,
2232,
45,
2000,
312,
303,
7624,
45,
1982,
51,
316,
42118,
4269,
37206,
492,
303,
11497,
51,
688,
1785,
698,
45,
909,
508,
539,
13843,
1052,
303,
457,
1024,
5358,
22609,
4850,
299,
327,
38396,
5358,
46,
1506,
5401,
45,
1982,
312,
303,
11497,
51,
489,
42118,
45,
1527,
312,
303,
3604,
27234,
9801,
8628,
299,
327,
18999,
8628,
46,
22609,
4850,
64,
465,
7624,
45,
1982,
51,
316,
42118,
4269,
25761,
492,
303,
7624,
1002,
21853,
45,
70,
539,
1081,
1002,
51,
842,
566,
321,
459,
6473,
115,
1348,
545,
5320,
391,
1035,
3604,
12386,
1429,
20089,
1912,
316,
27350,
1103,
4133,
984,
547,
9801,
8628,
51,
688,
1785,
12386,
45,
909,
4119,
1962,
6330,
1785,
12386,
45,
909,
508,
539,
13843,
28237,
343,
657,
1814,
1193,
32097,
459,
30562,
742,
303,
453,
3471,
580,
4224,
4864,
63,
7671,
7769,
1621,
15495,
1348,
1178,
2602,
45088,
303,
7624,
45,
22177,
4850,
51,
390,
12475,
4269,
14697,
45,
2000,
51,
390,
12475,
1052,
303,
7624,
45,
11236,
8628,
51,
390,
1785,
1893,
1758,
941,
1340,
566,
14697,
45,
54,
312,
353,
339,
736,
496,
1024,
353,
581,
782,
913,
11400,
4926,
1785,
12386,
5797,
42118,
365,
2589,
9953,
320,
303,
2128,
5358,
1780,
299,
556,
2128,
5358,
492,
303,
1780,
51,
489,
12475,
45,
55,
54,
312,
303,
15628,
2232,
11497,
299,
556,
15628,
2232,
45,
2000,
312,
303,
7624,
45,
1982,
51,
316,
42118,
4269,
37206,
492,
303,
11497,
51,
688,
1785,
698,
45,
909,
508,
539,
13843,
1052,
303,
457,
1024,
5358,
22609,
4850,
299,
327,
38396,
5358,
46,
1506,
5401,
45,
1982,
312,
303,
11497,
51,
489,
42118,
45,
1527,
312,
303,
3604,
27234,
9801,
8628,
299,
327,
18999,
8628,
46,
22609,
4850,
64,
465,
7624,
45,
1982,
51,
316,
42118,
4269,
25761,
492,
303,
7624,
1002,
21853,
45,
70,
539,
1081,
1002,
51,
842,
566,
321,
459,
6473,
115,
1348,
545,
5320,
391,
3365,
3604,
12386,
1429,
20089,
1912,
316,
27350,
1103,
4133,
984,
547,
9801,
8628,
51,
2564,
1785,
12386,
45,
53,
509,
343,
657,
1814,
1193,
32097,
459,
30562,
742,
303,
453,
19222,
115,
1348,
640,
6563,
303,
7624,
45,
11236,
8628,
51,
390,
1785,
1893,
1758,
941,
1340,
566,
14697,
45,
54,
312,
303,
11497,
51,
489,
42118,
45,
1886,
312,
303,
453,
5491,
2483,
3365,
580,
303,
9801,
8628,
51,
2564,
1785,
12386,
45,
53,
312,
303,
453,
3471,
580,
4224,
4864,
63,
7671,
7769,
1621,
15495,
1348,
1178,
2602,
45088,
303,
7624,
45,
22177,
4850,
51,
390,
12475,
4269,
14697,
45,
2000,
51,
390,
12475,
1052,
303,
7624,
45,
11236,
8628,
51,
390,
1785,
1893,
1758,
941,
1340,
566,
14697,
45,
53,
312,
353,
339,
736,
496,
1024,
353,
581,
782,
913,
4404,
1482,
2899,
971,
365,
320,
303,
2128,
5358,
1780,
54,
299,
556,
2128,
5358,
492,
303,
15628,
2232,
19170,
54,
299,
556,
15628,
2232,
45,
2000,
54,
312,
303,
19170,
54,
51,
688,
1785,
698,
45,
909,
508,
539,
13843,
1052,
303,
457,
1024,
5358,
7671,
54,
299,
327,
38396,
5358,
46,
1506,
5401,
45,
7146,
54,
312,
465,
2128,
5358,
1780,
55,
299,
556,
2128,
5358,
492,
303,
15628,
2232,
19170,
55,
299,
556,
15628,
2232,
45,
2000,
55,
312,
303,
19170,
55,
51,
688,
1785,
12386,
45,
909,
4119,
25843,
1785,
12386,
45,
909,
18367,
25843,
13843,
5086,
303,
457,
1024,
5358,
7671,
55,
299,
327,
38396,
5358,
46,
1506,
5401,
45,
7146,
55,
312,
465,
8329,
65,
38396,
5358,
49,
2210,
67,
439,
299,
556,
8329,
6984,
303,
2210,
804,
54,
299,
332,
4003,
884,
303,
2210,
804,
55,
299,
332,
1652,
884,
303,
7624,
45,
109,
51,
390,
45,
5881,
54,
3445,
17331,
492,
303,
439,
51,
543,
45,
5881,
54,
49,
804,
54,
312,
303,
439,
51,
543,
45,
5881,
55,
49,
804,
55,
312,
303,
7624,
45,
872,
54,
566,
14697,
45,
109,
51,
390,
45,
5881,
54,
894,
303,
7624,
45,
872,
55,
566,
14697,
45,
109,
51,
390,
45,
5881,
55,
894,
353,
339,
736,
1041,
682,
338,
3471,
708,
341,
821,
458,
7973,
1372,
51,
682,
588,
353,
496,
1024,
353,
581,
782,
913,
5401,
1081,
671,
365,
320,
303,
2128,
5358,
1780,
299,
556,
2128,
5358,
492,
303,
15628,
2232,
11497,
299,
556,
15628,
2232,
45,
2000,
312,
303,
11497,
51,
489,
12303,
45,
38396,
5358,
51,
842,
312,
303,
11497,
51,
688,
1785,
698,
45,
909,
508,
539,
13843,
1052,
303,
5409,
5670,
1785,
698,
364,
2679,
299,
556,
9658,
318,
5670,
1785,
698,
492,
303,
3604,
12386,
1564,
12386,
299,
556,
4119,
1962,
6330,
1785,
12386,
45,
909,
3286,
3683,
1885,
1962,
6330,
1046,
364,
2679,
312,
303,
11497,
51,
688,
1785,
12386,
45,
358,
12386,
312,
303,
457,
1024,
5358,
22609,
4850,
299,
327,
38396,
5358,
46,
1506,
5401,
45,
1982,
312,
465,
910,
7671,
1081,
671,
299,
1849,
18999,
8628,
46,
22609,
4850,
566,
471,
5401,
1081,
671,
492,
303,
7624,
45,
5881,
1081,
671,
51,
4766,
45,
358,
12386,
51,
3127,
22293,
25761,
492,
303,
7624,
45,
5881,
1081,
671,
51,
4766,
459,
54,
2586,
11606,
25761,
492,
353,
339,
736,
496,
1024,
353,
581,
782,
913,
4460,
48439,
8948,
724,
18999,
8628,
9529,
31045,
365,
320,
303,
2128,
5358,
1780,
299,
556,
2128,
5358,
492,
303,
15628,
2232,
11497,
299,
556,
15628,
2232,
45,
2000,
312,
303,
11497,
51,
489,
12303,
45,
38396,
5358,
51,
842,
312,
303,
11497,
51,
688,
1785,
698,
45,
909,
508,
539,
13843,
1052,
303,
9658,
318,
5670,
1785,
698,
364,
2679,
299,
556,
9658,
318,
5670,
1785,
698,
492,
303,
3604,
12386,
1564,
12386,
299,
556,
4119,
1962,
6330,
1785,
12386,
45,
909,
3286,
3683,
1885,
1962,
6330,
941,
688,
21759,
459,
489,
12475,
2132,
364,
2679,
312,
303,
11497,
51,
688,
1785,
12386,
45,
358,
12386,
312,
303,
7624,
45,
1982,
51,
316,
31045,
4269,
321,
459,
31045,
10086,
391,
920,
1912,
37206,
492,
303,
11497,
51,
489,
31045,
45,
1527,
312,
303,
7624,
45,
1982,
51,
316,
31045,
4269,
321,
459,
31045,
2483,
878,
456,
477,
1377,
1912,
25761,
492,
303,
457,
1024,
5358,
22609,
4850,
299,
327,
38396,
5358,
46,
1506,
5401,
45,
1982,
312,
303,
22609,
4850,
51,
489,
12475,
45,
54,
53,
312,
303,
7624,
45,
22177,
4850,
51,
390,
12475,
4269,
14697,
45,
54,
53,
312,
303,
7624,
45,
1253,
102,
51,
390,
17822,
4269,
14697,
45,
54,
312,
465,
1922,
3721,
299,
22609,
4850,
5118,
3604,
27234,
64,
303,
7624,
45,
4759,
566,
321,
459,
11400,
545,
9947,
391,
3604,
27234,
1912,
37206,
492,
353,
339,
736,
496,
1024,
353,
581,
782,
913,
1785,
698,
4417,
14625,
365,
2589,
9953,
320,
303,
2128,
5358,
1780,
299,
556,
2128,
5358,
492,
303,
1780,
51,
489,
12475,
45,
55,
54,
312,
465,
15628,
2232,
11497,
299,
556,
15628,
2232,
45,
2000,
312,
303,
9658,
318,
1785,
12386,
2239,
475,
299,
556,
9658,
318,
1785,
12386,
2239,
45,
1982,
312,
303,
11497,
51,
24333,
45,
113,
312,
303,
21112,
1552,
318,
1785,
12386,
7429,
2232,
1449,
107,
299,
556,
21112,
1552,
318,
1785,
12386,
7429,
2232,
492,
303,
453,
9056,
545,
6936,
3654,
641,
331,
7510,
303,
11497,
51,
24333,
45,
30685,
312,
303,
7624,
45,
1982,
51,
22630,
4269,
37206,
492,
303,
7624,
45,
113,
51,
5453,
1218,
566,
14697,
45,
53,
312,
303,
7624,
45,
30685,
51,
631,
595,
4301,
566,
14697,
45,
53,
312,
303,
457,
1024,
5358,
22609,
4850,
299,
327,
38396,
5358,
46,
1506,
5401,
45,
1982,
312,
303,
7624,
45,
30685,
51,
631,
595,
4301,
566,
14697,
45,
54,
312,
303,
7624,
45,
113,
51,
5453,
1218,
566,
14697,
45,
54,
312,
303,
7624,
45,
1982,
51,
22630,
4269,
25761,
492,
303,
7624,
45,
22177,
4850,
51,
390,
12475,
4269,
14697,
45,
2000,
51,
390,
12475,
1052,
303,
7624,
45,
113,
51,
358,
698,
9572,
566,
14697,
45,
53,
312,
303,
508,
539,
13843,
2090,
299,
556,
508,
539,
13843,
492,
303,
11497,
51,
688,
1785,
698,
45,
53,
49,
2090,
312,
303,
7624,
45,
113,
51,
358,
698,
9572,
566,
14697,
45,
54,
312,
303,
7624,
45,
30685,
51,
631,
595,
4301,
566,
14697,
45,
55,
312,
303,
7624,
45,
22177,
4850,
51,
390,
12475,
4269,
14697,
45,
2000,
51,
390,
12475,
1052,
303,
11497,
51,
2564,
1785,
698,
45,
1351,
312,
303,
7624,
45,
113,
51,
358,
698,
9572,
566,
14697,
45,
55,
312,
303,
7624,
45,
30685,
51,
631,
595,
4301,
566,
14697,
45,
56,
312,
303,
7624,
45,
22177,
4850,
51,
390,
12475,
4269,
14697,
45,
2000,
51,
390,
12475,
1052,
303,
11497,
51,
390,
5401,
492,
303,
7624,
45,
113,
51,
5453,
1218,
566,
14697,
45,
54,
312,
465,
11497,
51,
2564,
2239,
45,
113,
312,
303,
7624,
45,
113,
51,
358,
698,
9572,
566,
14697,
45,
55,
312,
303,
11497,
51,
688,
1785,
12386,
45,
909,
4119,
1962,
6330,
1785,
12386,
45,
909,
508,
539,
13843,
5086,
303,
453,
3155,
8940,
33486,
303,
7624,
45,
113,
51,
358,
698,
9572,
566,
14697,
45,
55,
312,
353,
339,
736,
496,
1024,
353,
581,
782,
913,
18104,
5401,
9572,
2937,
365,
2589,
9953,
320,
303,
2128,
5358,
15317,
54,
299,
556,
2128,
5358,
492,
303,
15317,
54,
51,
489,
12475,
45,
56,
56,
312,
465,
2128,
5358,
15317,
55,
299,
556,
2128,
5358,
492,
303,
15317,
55,
51,
489,
12475,
45,
55,
59,
312,
303,
15317,
55,
51,
15779,
459,
79,
8703,
2536,
742,
303,
2128,
5358,
15317,
56,
299,
556,
2128,
5358,
492,
303,
15317,
56,
51,
489,
12475,
45,
56,
60,
312,
303,
15628,
2232,
11497,
299,
556,
15628,
2232,
45,
7180,
54,
312,
303,
508,
539,
13843,
36946,
299,
556,
508,
539,
13843,
492,
303,
11497,
51,
688,
1785,
698,
45,
10361,
312,
303,
457,
1024,
5358,
7671,
299,
327,
38396,
5358,
46,
1506,
5401,
45,
1982,
312,
303,
7624,
45,
53,
566,
14697,
45,
10361,
51,
32931,
1052,
303,
7624,
45,
5881,
51,
390,
12475,
4269,
14697,
45,
7180,
54,
51,
390,
12475,
1052,
303,
7624,
45,
54,
566,
14697,
45,
10361,
51,
32931,
1052,
303,
453,
5621,
391,
331,
556,
924,
1780,
303,
11497,
51,
45611,
45,
7180,
55,
312,
303,
7624,
45,
5881,
51,
390,
12475,
4269,
14697,
45,
7180,
55,
51,
390,
12475,
1052,
303,
7624,
45,
55,
566,
14697,
45,
10361,
51,
32931,
1052,
465,
453,
5621,
391,
331,
556,
7108,
1780,
303,
24851,
3926,
44891,
2937,
2044,
13670,
120,
299,
556,
24851,
3926,
44891,
2937,
2044,
45,
7180,
56,
312,
303,
11497,
51,
45611,
2044,
45,
403,
120,
312,
303,
7624,
45,
5881,
51,
390,
12475,
4269,
14697,
45,
7180,
56,
51,
390,
12475,
1052,
303,
7624,
45,
56,
566,
14697,
45,
10361,
51,
32931,
1052,
303,
13670,
120,
51,
10430,
45,
7180,
54,
312,
303,
7624,
45,
5881,
51,
390,
12475,
4269,
14697,
45,
7180,
54,
51,
390,
12475,
1052,
303,
15317,
54,
51,
15779,
459,
889,
285,
742,
303,
7624,
45,
5881,
51,
5175,
4269,
14697,
45,
7180,
54,
51,
5175,
1052,
303,
7624,
45,
58,
566,
14697,
45,
10361,
51,
32931,
1052,
465,
453,
5621,
1769,
49,
48696,
563,
48160,
391,
3604,
27234,
303,
3604,
27234,
9801,
8628,
299,
327,
18999,
8628,
46,
7671,
64,
303,
7624,
45,
11236,
8628,
51,
26028,
2044,
4269,
316,
8525,
1482,
45,
403,
120,
312,
303,
34816,
2937,
2044,
395,
120,
299,
556,
34816,
2937,
2044,
45,
7180,
55,
312,
303,
9801,
8628,
51,
45611,
2044,
45,
21526,
312,
303,
7624,
45,
5881,
51,
5175,
4269,
14697,
45,
7180,
55,
51,
5175,
1052,
303,
7624,
45,
11236,
8628,
51,
26028,
2044,
4269,
316,
8525,
1482,
45,
21526,
312,
303,
7624,
45,
5881,
51,
390,
12475,
4269,
14697,
45,
7180,
55,
51,
390,
12475,
1052,
353,
339,
736,
496,
1024,
353,
581,
782,
913,
7193,
1885,
1962,
6330,
4987,
23084,
1306,
6844,
5983,
1266,
365,
2589,
9953,
320,
303,
2128,
5358,
15317,
299,
556,
2128,
5358,
492,
303,
15628,
2232,
11497,
299,
556,
15628,
2232,
492,
303,
11497,
51,
688,
3058,
45,
38396,
5358,
51,
842,
312,
303,
2128,
7193,
1962,
6330,
1785,
698,
11345,
299,
556,
2128,
7193,
1962,
6330,
1785,
698,
45,
909,
508,
539,
13843,
1046,
332,
390,
12475,
742,
303,
11497,
51,
688,
1785,
12386,
45,
5994,
312,
303,
11497,
51,
45611,
45,
7180,
312,
303,
457,
1024,
5358,
580,
299,
327,
38396,
5358,
46,
1506,
5401,
45,
1982,
312,
303,
7624,
45,
5994,
51,
1016,
566,
14697,
45,
53,
312,
303,
580,
51,
390,
12475,
492,
303,
7624,
45,
5994,
51,
1016,
566,
14697,
45,
54,
312,
303,
580,
51,
489,
12475,
45,
54,
54,
312,
303,
7624,
45,
302,
51,
390,
12475,
4269,
14697,
45,
54,
54,
312,
303,
7624,
45,
5994,
51,
1016,
566,
14697,
45,
55,
312,
353,
339,
736,
496,
1024,
353,
581,
782,
913,
7193,
1885,
1962,
6330,
4987,
1306,
6844,
5983,
1266,
4505,
724,
903,
5749,
365,
2589,
9953,
320,
303,
2128,
5358,
15317,
299,
556,
2128,
5358,
492,
303,
15628,
2232,
11497,
299,
556,
15628,
2232,
492,
303,
11497,
51,
688,
3058,
45,
38396,
5358,
51,
842,
312,
303,
453,
12624,
4894,
22530,
391,
640,
12475,
52,
489,
12475,
1294,
666,
391,
16389,
303,
2128,
7193,
1962,
6330,
1580,
903,
5749,
4505,
11345,
299,
556,
2128,
7193,
1962,
6330,
1580,
903,
5749,
4505,
45,
909,
508,
539,
13843,
1046,
332,
12475,
742,
303,
11497,
51,
688,
1785,
12386,
45,
5994,
312,
303,
477,
51,
3628,
2937,
2044,
51,
45611,
45,
7180,
312,
303,
11497,
51,
45611,
2044,
45,
3628,
2937,
2044,
312,
303,
457,
1024,
5358,
580,
299,
327,
38396,
5358,
46,
1506,
5401,
45,
1982,
312,
303,
7624,
45,
5994,
51,
1016,
566,
14697,
45,
53,
312,
303,
580,
51,
390,
12475,
492,
303,
453,
14352,
1266,
373,
13746,
337,
303,
7624,
45,
5994,
51,
1016,
566,
14697,
45,
53,
312,
303,
580,
51,
489,
12475,
45,
54,
54,
312,
303,
7624,
45,
302,
51,
390,
12475,
4269,
14697,
45,
54,
54,
312,
303,
7624,
45,
5994,
51,
1016,
566,
14697,
45,
54,
312,
303,
453,
48853,
924,
1266,
1294,
666,
22530,
303,
580,
51,
15779,
459,
3613,
106,
742,
303,
7624,
45,
5994,
51,
1016,
566,
14697,
45,
54,
312,
353,
339,
736,
496,
1024,
353,
581,
782,
913,
5983,
1885,
1962,
6330,
365,
2589,
9953,
320,
303,
2128,
5358,
15317,
299,
556,
2128,
5358,
492,
303,
15628,
2232,
11497,
299,
556,
15628,
2232,
492,
303,
11497,
51,
688,
3058,
45,
38396,
5358,
51,
842,
312,
303,
508,
539,
13843,
2090,
299,
556,
508,
539,
13843,
492,
303,
2128,
5983,
1962,
6330,
1785,
698,
1887,
299,
556,
2128,
5983,
1962,
6330,
1785,
698,
45,
1351,
49,
332,
390,
12475,
742,
303,
11497,
51,
688,
1785,
12386,
45,
438,
312,
303,
11497,
51,
45611,
45,
7180,
312,
303,
457,
1024,
5358,
580,
299,
327,
38396,
5358,
46,
1506,
5401,
45,
1982,
312,
303,
7624,
45,
53,
566,
14697,
45,
1351,
51,
32931,
1052,
303,
580,
51,
390,
12475,
492,
303,
7624,
45,
54,
566,
14697,
45,
1351,
51,
32931,
1052,
303,
580,
51,
489,
12475,
45,
54,
54,
312,
303,
7624,
45,
54,
54,
566,
14697,
45,
302,
51,
390,
12475,
1052,
303,
7624,
45,
55,
566,
14697,
45,
1351,
51,
32931,
1052,
353,
339,
736,
1041,
682,
338,
5825,
904,
6524,
1429,
1019,
2660,
391,
1495,
21881,
365,
19487,
51,
682,
338,
2726,
902,
764,
477,
434,
1019,
7905,
341,
18586,
51,
682,
588,
353,
496,
1024,
353,
581,
782,
913,
11533,
13777,
724,
608,
6365,
17828,
9695,
365,
2589,
9953,
320,
303,
2128,
5358,
15317,
299,
556,
2128,
5358,
492,
303,
15628,
2232,
11497,
299,
556,
15628,
2232,
45,
7180,
312,
303,
11497,
51,
688,
3058,
45,
38396,
5358,
51,
842,
312,
465,
5409,
13843,
3161,
20158,
3386,
13843,
299,
12908,
984,
320,
416,
453,
14427,
341,
18586,
391,
21881,
8058,
6524,
416,
453,
332,
1338,
12444,
290,
1200,
11321,
377,
1821,
582,
477,
21519,
902,
5758,
28646,
1190,
1917,
318,
416,
5409,
13777,
7905,
54,
299,
1849,
5597,
1885,
13777,
46,
12908,
566,
5834,
561,
463,
11533,
492,
416,
5409,
13777,
7905,
55,
299,
1849,
5597,
1885,
13777,
46,
12908,
566,
5834,
561,
463,
11533,
492,
416,
7905,
54,
51,
46096,
492,
416,
7905,
55,
51,
46096,
492,
416,
461,
12908,
51,
46096,
492,
303,
1487,
303,
496,
14030,
459,
3557,
678,
303,
14352,
1885,
11947,
1962,
6330,
1785,
12386,
1564,
12386,
299,
556,
14352,
1885,
11947,
1962,
6330,
1785,
12386,
45,
8295,
20158,
3386,
13843,
46,
320,
416,
496,
1806,
416,
581,
1922,
8012,
45,
1885,
364,
49,
496,
6825,
1727,
11667,
1780,
1359,
46,
320,
310,
461,
332,
8799,
20158,
3386,
2316,
3591,
45,
114,
51,
5175,
1052,
416,
339,
303,
1487,
303,
11497,
51,
688,
1785,
12386,
45,
358,
12386,
312,
303,
457,
1024,
5358,
580,
299,
327,
38396,
5358,
46,
1506,
5401,
45,
1982,
312,
465,
1175,
648,
11505,
299,
244,
55,
53,
64,
303,
580,
51,
489,
12475,
45,
400,
312,
303,
7624,
45,
302,
51,
390,
12475,
4269,
14697,
45,
400,
312,
303,
453,
9056,
461,
341,
11505,
2688,
341,
10999,
49,
418,
1970,
50,
572,
1027,
337,
43585,
303,
7624,
45,
302,
51,
8799,
20158,
3386,
4269,
14697,
1181,
400,
494,
244,
55,
894,
303,
453,
2762,
341,
1175,
11505,
16526,
829,
244,
56,
20281,
6140,
303,
7624,
45,
302,
51,
390,
12475,
4269,
14697,
1181,
400,
494,
244,
56,
894,
353,
339,
736,
1041,
682,
338,
2726,
2660,
391,
1557,
341,
4228,
563,
331,
7905,
63,
580,
15495,
1348,
13343,
341,
4732,
51,
682,
588,
353,
496,
1024,
353,
581,
782,
913,
4460,
1810,
8560,
402,
9702,
651,
1501,
2180,
11751,
13777,
365,
2589,
9953,
320,
303,
2128,
5358,
15317,
299,
556,
2128,
5358,
492,
303,
15628,
2232,
11497,
299,
556,
15628,
2232,
45,
7180,
312,
303,
11497,
51,
688,
3058,
45,
38396,
5358,
51,
842,
312,
465,
1041,
294,
338,
14015,
341,
655,
49,
1636,
3417,
580,
1769,
51,
294,
588,
303,
5409,
13843,
655,
454,
4688,
299,
12908,
984,
320,
416,
5409,
13777,
7905,
299,
1849,
5597,
1885,
13777,
46,
12908,
566,
5834,
561,
463,
11533,
492,
416,
910,
3627,
577,
299,
1849,
38396,
5358,
46,
12908,
51,
390,
2287,
4269,
5175,
492,
416,
7905,
51,
390,
8560,
8577,
53,
98,
299,
3627,
577,
64,
416,
453,
20157,
1431,
18586,
1414,
545,
725,
31289,
829,
3417,
391,
2814,
1168,
451,
7905,
416,
12908,
51,
46096,
492,
416,
461,
7905,
51,
46096,
492,
303,
1487,
465,
462,
3286,
42039,
4584,
5409,
13843,
320,
416,
964,
1701,
65,
976,
67,
4492,
299,
556,
5068,
6984,
1704,
496,
1806,
416,
581,
2210,
11324,
45,
1885,
13777,
12908,
46,
2589,
9953,
320,
310,
4492,
51,
688,
45,
4557,
51,
390,
8560,
8577,
53,
2004,
310,
461,
12908,
51,
46096,
492,
416,
339,
303,
339,
465,
3286,
42039,
4276,
443,
299,
556,
3286,
42039,
492,
465,
11497,
51,
688,
1785,
12386,
45,
909,
4119,
1962,
6330,
1785,
12386,
45,
1962,
6330,
51,
2710,
2933,
88,
49,
655,
454,
4688,
894,
303,
11497,
51,
688,
1785,
12386,
45,
909,
4119,
1962,
6330,
1785,
12386,
45,
1962,
6330,
51,
2710,
2933,
88,
49,
4276,
443,
894,
303,
457,
1024,
5358,
580,
299,
327,
38396,
5358,
46,
1506,
5401,
45,
1982,
312,
465,
910,
655,
54,
299,
332,
955,
126,
884,
303,
910,
655,
55,
299,
332,
108,
675,
286,
884,
465,
15317,
51,
15779,
45,
444,
54,
312,
303,
7624,
45,
7180,
51,
5175,
4269,
14697,
45,
444,
54,
312,
465,
580,
51,
15779,
45,
444,
55,
312,
303,
453,
3286,
454,
4688,
7533,
580,
1769,
303,
7624,
45,
302,
51,
5175,
4269,
14697,
45,
444,
54,
312,
303,
7624,
45,
2473,
443,
51,
4288,
51,
911,
4269,
14697,
45,
55,
312,
303,
7624,
45,
2473,
443,
51,
4288,
51,
390,
45,
53,
3445,
14697,
45,
444,
55,
312,
303,
7624,
45,
2473,
443,
51,
4288,
51,
390,
45,
54,
3445,
14697,
45,
444,
54,
312,
353,
339,
736,
496,
14030,
459,
3557,
678,
353,
496,
1024,
353,
581,
782,
913,
3980,
5907,
1885,
8621,
31247,
1785,
698,
365,
2589,
9953,
320,
303,
9878,
13428,
1780,
299,
556,
9878,
13428,
492,
303,
15628,
2232,
11497,
299,
556,
15628,
2232,
45,
2000,
312,
465,
508,
539,
13843,
2308,
3028,
10717,
120,
299,
556,
508,
539,
13843,
492,
303,
11497,
51,
688,
1785,
12386,
45,
909,
14352,
1885,
11947,
1962,
6330,
1785,
12386,
45,
1515,
3028,
10717,
120,
46,
320,
416,
496,
1806,
416,
581,
1922,
8012,
45,
1885,
364,
49,
496,
6825,
1727,
11667,
1780,
1359,
46,
320,
310,
461,
364,
51,
5175,
941,
3591,
459,
33334,
678,
979,
364,
51,
17745,
1552,
365,
630,
244,
53,
64,
416,
339,
303,
1141,
465,
508,
539,
13843,
2308,
3028,
42388,
299,
556,
508,
539,
13843,
492,
303,
11497,
51,
688,
1785,
12386,
45,
909,
14352,
1885,
11947,
1962,
6330,
1785,
12386,
45,
1515,
3028,
42388,
46,
320,
416,
496,
1806,
416,
581,
1922,
8012,
45,
1885,
364,
49,
496,
6825,
1727,
11667,
1780,
1359,
46,
320,
310,
461,
364,
51,
5175,
941,
3591,
459,
33334,
678,
979,
364,
51,
17745,
1552,
365,
630,
244,
54,
979,
419,
364,
51,
17745,
2439,
8577,
53,
1015,
3591,
45,
429,
51,
842,
312,
416,
339,
303,
1141,
465,
457,
3980,
13428,
7671,
299,
327,
2354,
443,
13428,
46,
1506,
5401,
45,
1982,
312,
303,
7624,
45,
1515,
3028,
42388,
51,
32931,
4269,
14697,
45,
53,
312,
303,
7624,
45,
1515,
3028,
10717,
120,
51,
32931,
4269,
14697,
45,
53,
312,
303,
7671,
51,
33334,
492,
303,
7624,
45,
1515,
3028,
42388,
51,
32931,
4269,
14697,
45,
53,
312,
303,
7624,
45,
1515,
3028,
10717,
120,
51,
32931,
4269,
14697,
45,
54,
312,
303,
7624,
45,
5881,
51,
33334,
45,
55,
58,
3445,
14697,
45,
55,
58,
312,
303,
7624,
45,
1515,
3028,
42388,
51,
32931,
4269,
14697,
45,
54,
312,
303,
7624,
45,
1515,
3028,
10717,
120,
51,
32931,
4269,
14697,
45,
54,
312,
303,
7671,
51,
1365,
1785,
698,
492,
303,
7624,
45,
1515,
3028,
42388,
51,
32931,
4269,
14697,
45,
54,
312,
303,
7624,
45,
1515,
3028,
10717,
120,
51,
32931,
4269,
14697,
45,
54,
312,
353,
339,
736,
496,
1024,
353,
581,
782,
913,
5401,
1640,
4728,
5670,
2937,
2044,
6358,
20077,
365,
320,
303,
1175,
2128,
5358,
1780,
299,
556,
2128,
5358,
492,
303,
15628,
2232,
19170,
299,
556,
15628,
2232,
45,
2000,
312,
303,
19170,
51,
688,
1785,
698,
45,
909,
8093,
13843,
1052,
303,
19170,
51,
489,
31946,
5401,
45,
1527,
312,
303,
1175,
457,
1024,
5358,
7671,
299,
327,
38396,
5358,
46,
1506,
5401,
45,
7146,
312,
303,
3604,
27234,
1377,
299,
327,
18999,
8628,
46,
7671,
64,
465,
453,
1369,
462,
2277,
9378,
7671,
458,
5105,
2688,
640,
2937,
365,
1495,
303,
1377,
51,
45611,
2044,
45,
909,
10069,
2044,
365,
320,
416,
496,
1806,
416,
581,
1727,
11667,
640,
2937,
1359,
365,
320,
310,
461,
2128,
5358,
51,
842,
64,
416,
339,
1704,
496,
1806,
416,
581,
1922,
458,
5983,
365,
320,
310,
461,
920,
64,
416,
339,
1704,
496,
1806,
416,
581,
2210,
640,
2937,
365,
2589,
3284,
320,
310,
7624,
45,
70,
539,
1237,
51,
1719,
5401,
4269,
14697,
45,
5881,
312,
310,
461,
1780,
64,
416,
339,
1704,
496,
1806,
416,
581,
782,
3636,
2937,
45,
976,
1780,
46,
2589,
3284,
320,
416,
339,
303,
1141,
465,
453,
9097,
913,
8003,
63,
580,
1118,
3562,
434,
1637,
16970,
1348,
2448,
303,
7624,
45,
5881,
51,
390,
12475,
4269,
14697,
45,
53,
312,
353,
339,
736,
496,
1024,
353,
581,
782,
913,
2273,
365,
320,
303,
4398,
987,
331,
299,
556,
3381,
8354,
8883,
492,
303,
4398,
987,
342,
299,
556,
3381,
8354,
8883,
492,
303,
508,
539,
13843,
613,
54,
299,
556,
508,
539,
13843,
492,
303,
508,
539,
13843,
613,
55,
299,
556,
508,
539,
13843,
492,
303,
15628,
2232,
317,
1939,
299,
556,
15628,
2232,
45,
102,
312,
303,
317,
1939,
51,
688,
1785,
698,
45,
110,
54,
312,
303,
15628,
2232,
317,
4365,
299,
556,
15628,
2232,
45,
103,
312,
303,
317,
4365,
51,
688,
1785,
698,
45,
110,
55,
312,
303,
4398,
987,
7671,
70,
299,
327,
2354,
987,
46,
1506,
5401,
45,
117,
1939,
312,
303,
4398,
987,
7671,
71,
299,
327,
2354,
987,
46,
1506,
5401,
45,
117,
4365,
312,
465,
7624,
45,
117,
4365,
51,
390,
1785,
1893,
1758,
941,
1340,
566,
14697,
45,
117,
1939,
51,
390,
1785,
1893,
1758,
941,
1340,
312,
303,
7624,
45,
103,
566,
14697,
45,
102,
312,
303,
7624,
45,
110,
55,
566,
14697,
45,
110,
54,
312,
303,
7624,
45,
5881,
71,
566,
14697,
45,
5881,
70,
312,
303,
7624,
45,
5881,
71,
51,
14941,
4269,
14697,
45,
5881,
70,
51,
14941,
1052,
303,
7624,
45,
5881,
70,
51,
3591,
45,
102,
3445,
37206,
492,
465,
453,
535,
13752,
9378,
4547,
13748,
829,
341,
7671,
303,
7624,
45,
110,
54,
51,
32931,
4269,
14697,
45,
53,
312,
465,
453,
5094,
1019,
11324,
418,
49,
580,
1200,
508,
539,
13843,
1118,
1178,
2409,
630,
244,
54,
303,
453,
480,
7623,
1348,
3558,
580,
1200,
5058,
391,
570,
1200,
508,
539,
13843,
303,
7671,
70,
51,
3615,
32717,
6710,
492,
303,
7624,
45,
110,
54,
51,
32931,
4269,
14697,
45,
54,
312,
303,
7624,
45,
5881,
70,
51,
3591,
45,
5881,
71,
3445,
37206,
492,
353,
339,
736,
496,
1024,
353,
581,
782,
913,
5670,
1785,
12386,
1640,
6358,
20077,
365,
320,
303,
9658,
318,
5670,
1785,
698,
300,
2679,
299,
556,
9658,
318,
5670,
1785,
698,
492,
303,
496,
14030,
459,
3557,
678,
303,
3604,
12386,
8012,
2042,
3097,
299,
556,
14352,
1885,
11947,
1962,
6330,
1785,
12386,
45,
35192,
46,
320,
416,
496,
1806,
416,
581,
1922,
8012,
45,
1885,
364,
49,
496,
6825,
1727,
11667,
1780,
1359,
46,
320,
310,
461,
364,
51,
17745,
1552,
365,
630,
244,
53,
64,
416,
339,
303,
1487,
303,
2128,
5358,
1780,
299,
556,
2128,
5358,
492,
303,
1780,
51,
489,
12475,
45,
61,
53,
312,
303,
15628,
2232,
19170,
299,
556,
15628,
2232,
45,
2000,
312,
303,
19170,
51,
688,
1785,
698,
45,
909,
508,
539,
13843,
1052,
303,
19170,
51,
688,
1785,
12386,
45,
8936,
2042,
3097,
312,
303,
7624,
45,
7146,
51,
390,
1785,
1893,
1758,
8577,
54,
8527,
321,
459,
1785,
12386,
1616,
3654,
1912,
14697,
45,
8936,
2042,
3097,
312,
303,
457,
1024,
5358,
22609,
4850,
299,
327,
38396,
5358,
46,
1506,
5401,
45,
7146,
312,
303,
7624,
45,
35192,
51,
390,
17822,
4269,
14697,
45,
53,
312,
303,
7624,
45,
35192,
51,
390,
17822,
459,
390,
12475,
11606,
14697,
45,
53,
312,
303,
7624,
45,
22177,
4850,
51,
390,
12475,
4269,
14697,
45,
2000,
51,
390,
12475,
1052,
303,
7624,
45,
35192,
51,
390,
17822,
4269,
14697,
45,
54,
312,
303,
7624,
45,
35192,
51,
390,
17822,
459,
390,
12475,
11606,
14697,
45,
54,
312,
303,
7624,
45,
35192,
51,
390,
17822,
459,
489,
12475,
11606,
14697,
45,
53,
312,
303,
453,
643,
286,
1348,
545,
9801,
8628,
303,
22609,
4850,
51,
489,
12475,
45,
55,
59,
312,
303,
7624,
45,
35192,
51,
390,
17822,
4269,
14697,
45,
54,
312,
303,
7624,
45,
22177,
4850,
51,
390,
12475,
4269,
14697,
45,
55,
59,
312,
353,
339,
736,
496,
1024,
353,
581,
782,
913,
1259,
5097,
365,
2589,
9953,
320,
303,
462,
3531,
19835,
1885,
13843,
4584,
5409,
13843,
320,
416,
964,
1175,
3531,
65,
671,
49,
910,
67,
2816,
3367,
64,
416,
964,
1175,
3531,
65,
671,
49,
910,
67,
2102,
27099,
64,
1704,
581,
3531,
19835,
1885,
13843,
45,
1225,
65,
671,
49,
910,
67,
2816,
3367,
49,
3531,
65,
671,
49,
910,
67,
2102,
27099,
46,
320,
310,
477,
51,
3156,
3367,
299,
2816,
3367,
64,
310,
477,
51,
2857,
27099,
299,
2102,
27099,
64,
416,
339,
1704,
496,
1806,
416,
581,
2210,
11324,
45,
1885,
13777,
18586,
46,
2589,
9953,
320,
310,
7406,
1885,
13777,
559,
4557,
299,
327,
5597,
1885,
13777,
46,
18586,
64,
310,
456,
327,
5740,
65,
671,
67,
580,
299,
559,
4557,
51,
43174,
941,
23585,
941,
5174,
492,
580,
51,
16408,
492,
848,
320,
633,
2210,
1221,
299,
580,
51,
1995,
492,
633,
7624,
45,
31139,
51,
43174,
941,
390,
45,
697,
3445,
14697,
45,
3156,
3367,
51,
390,
45,
697,
894,
310,
339,
310,
559,
4557,
51,
43174,
941,
543,
1947,
45,
2857,
27099,
312,
310,
461,
18586,
51,
46096,
492,
416,
339,
303,
339,
303,
3604,
27234,
4417,
11497,
299,
556,
3604,
27234,
4417,
45,
38396,
5358,
51,
842,
312,
303,
3531,
19835,
1885,
13843,
364,
12417,
54,
299,
556,
3531,
19835,
1885,
13843,
45,
909,
8329,
13366,
1046,
556,
8329,
65,
671,
49,
910,
19504,
303,
3531,
65,
671,
49,
910,
67,
1950,
3367,
27099,
299,
556,
8329,
6984,
303,
1950,
3367,
27099,
51,
543,
459,
881,
411,
10780,
303,
3531,
19835,
1885,
13843,
364,
12417,
55,
299,
556,
3531,
19835,
1885,
13843,
45,
909,
8329,
13366,
1046,
1950,
3367,
27099,
312,
303,
3531,
19835,
1885,
13843,
364,
12417,
56,
299,
556,
3531,
19835,
1885,
13843,
45,
2251,
3367,
27099,
49,
556,
8329,
13366,
1052,
303,
3531,
19835,
1885,
13843,
364,
12417,
57,
299,
556,
3531,
19835,
1885,
13843,
45,
2251,
3367,
27099,
49,
556,
8329,
13366,
1052,
303,
3531,
65,
671,
49,
910,
67,
3118,
3367,
27099,
299,
556,
8329,
6984,
303,
3118,
3367,
27099,
51,
543,
459,
4003,
411,
332,
1652,
742,
303,
3118,
3367,
27099,
51,
543,
459,
2612,
411,
332,
14717,
742,
303,
3531,
19835,
1885,
13843,
364,
12417,
58,
299,
556,
3531,
19835,
1885,
13843,
45,
2251,
3367,
27099,
49,
3118,
3367,
27099,
312,
303,
3531,
65,
671,
49,
910,
67,
1175,
7705,
299,
556,
8329,
11530,
2251,
3367,
27099,
312,
303,
1175,
7705,
51,
543,
1947,
45,
3109,
3367,
27099,
312,
303,
3531,
19835,
1885,
13843,
364,
12417,
59,
299,
556,
3531,
19835,
1885,
13843,
45,
3242,
7705,
49,
3118,
3367,
27099,
312,
465,
11497,
51,
688,
1785,
698,
45,
114,
12417,
54,
312,
303,
11497,
51,
688,
1785,
698,
45,
114,
12417,
55,
312,
303,
11497,
51,
688,
1785,
698,
45,
114,
12417,
56,
312,
303,
11497,
51,
688,
1785,
698,
45,
114,
12417,
57,
312,
303,
11497,
51,
688,
1785,
698,
45,
114,
12417,
58,
312,
303,
11497,
51,
688,
1785,
698,
45,
114,
12417,
59,
312,
465,
453,
2726,
2818,
1348,
9412,
2645,
341,
1319,
303,
11497,
51,
45611,
45,
909,
2128,
5358,
1052,
303,
418,
539,
5401,
331,
539,
299,
1506,
70,
539,
5401,
45,
1982,
312,
303,
457,
1024,
5358,
15317,
299,
327,
38396,
5358,
46,
331,
539,
51,
390,
5401,
492,
465,
910,
42562,
299,
332,
4003,
884,
303,
15317,
51,
15779,
45,
909,
577,
312,
303,
7624,
45,
7180,
51,
5175,
4269,
14697,
45,
909,
577,
312,
353,
339,
736,
496,
1024,
353,
581,
782,
913,
6230,
1785,
698,
365,
2589,
9953,
320,
303,
9658,
318,
6230,
1785,
698,
300,
1192,
299,
556,
9658,
318,
6230,
1785,
698,
492,
303,
496,
14030,
459,
3557,
678,
303,
3604,
12386,
8012,
2042,
3097,
299,
556,
14352,
1885,
11947,
1962,
6330,
1785,
12386,
45,
33692,
46,
320,
416,
496,
1806,
416,
581,
1922,
8012,
45,
1885,
364,
49,
496,
6825,
1727,
11667,
1780,
1359,
46,
320,
310,
461,
364,
51,
17745,
1552,
365,
630,
244,
53,
1293,
332,
3918,
298,
2316,
3591,
45,
114,
51,
5175,
1052,
416,
339,
303,
1487,
303,
2128,
5358,
1780,
299,
556,
2128,
5358,
492,
303,
1780,
51,
489,
12475,
45,
61,
53,
312,
303,
15628,
2232,
19170,
299,
556,
15628,
2232,
45,
2000,
312,
303,
19170,
51,
688,
1785,
698,
45,
909,
508,
539,
13843,
1052,
303,
19170,
51,
688,
1785,
12386,
45,
8936,
2042,
3097,
312,
303,
7624,
45,
7146,
51,
390,
1785,
1893,
1758,
8577,
54,
8527,
321,
459,
1785,
12386,
1616,
3654,
1912,
14697,
45,
8936,
2042,
3097,
312,
303,
457,
1024,
5358,
22609,
4850,
299,
327,
38396,
5358,
46,
1506,
5401,
45,
7146,
312,
465,
7624,
45,
33692,
51,
390,
17822,
4269,
14697,
45,
53,
312,
303,
7624,
45,
33692,
51,
390,
17822,
459,
390,
12475,
11606,
14697,
45,
53,
312,
303,
7624,
45,
22177,
4850,
51,
390,
12475,
4269,
14697,
45,
2000,
51,
390,
12475,
1052,
303,
7624,
45,
33692,
51,
390,
17822,
4269,
14697,
45,
55,
312,
303,
7624,
45,
33692,
51,
390,
17822,
459,
390,
12475,
11606,
14697,
45,
55,
312,
303,
7624,
45,
33692,
51,
390,
17822,
459,
489,
12475,
11606,
14697,
45,
53,
312,
303,
453,
643,
286,
1348,
545,
9801,
8628,
303,
22609,
4850,
51,
489,
12475,
45,
55,
59,
312,
303,
7624,
45,
33692,
51,
390,
17822,
4269,
14697,
45,
55,
312,
303,
7624,
45,
22177,
4850,
51,
390,
12475,
4269,
14697,
45,
55,
59,
312,
303,
7624,
45,
33692,
51,
390,
17822,
4269,
14697,
45,
57,
312,
303,
7624,
1002,
21853,
45,
11506,
1209,
45944,
1002,
51,
842,
566,
321,
459,
6473,
1178,
12165,
16794,
953,
22200,
2815,
1002,
1912,
316,
27350,
1103,
4133,
984,
343,
22609,
4850,
51,
3918,
298,
45,
909,
17972,
1209,
45944,
1002,
459,
4003,
411,
327,
20335,
46,
762,
4254,
303,
7624,
45,
33692,
51,
390,
17822,
4269,
14697,
45,
59,
312,
353,
339,
736,
496,
1024,
353,
581,
782,
913,
5670,
1785,
698,
12762,
1002,
365,
320,
303,
1175,
13383,
334,
125,
299,
556,
13383,
492,
303,
496,
14030,
459,
3557,
678,
303,
9658,
318,
5670,
1785,
698,
11639,
299,
556,
9658,
318,
5670,
1785,
698,
365,
320,
416,
496,
1806,
416,
581,
782,
2688,
45,
1885,
13777,
18586,
46,
2589,
9953,
320,
310,
2615,
51,
5566,
45,
28876,
312,
310,
434,
327,
28876,
51,
27847,
941,
5175,
941,
13907,
459,
489,
2152,
320,
633,
1440,
334,
125,
64,
310,
339,
416,
339,
303,
1487,
465,
2128,
5358,
1780,
299,
556,
2128,
5358,
492,
303,
1780,
51,
489,
12475,
45,
61,
53,
312,
303,
508,
539,
13843,
36946,
54,
299,
556,
508,
539,
13843,
492,
303,
508,
539,
13843,
36946,
55,
299,
556,
508,
539,
13843,
492,
303,
15628,
2232,
19170,
299,
556,
15628,
2232,
45,
2000,
312,
303,
19170,
51,
688,
1785,
698,
45,
10361,
54,
312,
303,
19170,
51,
688,
1785,
698,
45,
2679,
312,
303,
19170,
51,
688,
1785,
698,
45,
10361,
55,
312,
303,
457,
1024,
5358,
22609,
4850,
299,
327,
38396,
5358,
46,
1506,
5401,
45,
7146,
312,
303,
453,
643,
286,
1348,
1440,
619,
3773,
303,
7624,
45,
22177,
4850,
51,
390,
12475,
4269,
14697,
45,
2000,
51,
390,
12475,
1052,
303,
7624,
45,
2679,
51,
390,
17822,
4269,
14697,
45,
54,
312,
303,
7624,
45,
2679,
51,
390,
17822,
459,
390,
12475,
11606,
14697,
45,
54,
312,
303,
7624,
45,
10361,
54,
51,
32931,
4269,
14697,
45,
54,
312,
303,
7624,
45,
10361,
55,
51,
32931,
4269,
14697,
45,
54,
312,
303,
453,
13513,
3562,
49,
2703,
24012,
508,
539,
54,
303,
7624,
1002,
21853,
45,
19296,
51,
842,
566,
321,
459,
5566,
29332,
1414,
1178,
22952,
8269,
1912,
316,
27350,
1103,
4133,
984,
547,
22609,
4850,
51,
489,
12475,
45,
55,
59,
509,
343,
657,
8936,
45,
28842,
422,
3591,
312,
303,
7624,
45,
2679,
51,
390,
17822,
4269,
14697,
45,
55,
312,
303,
7624,
45,
10361,
54,
51,
32931,
4269,
14697,
45,
55,
312,
303,
453,
508,
539,
55,
9085,
1348,
640,
16638,
1429,
341,
3773,
1616,
12165,
303,
7624,
45,
10361,
55,
51,
32931,
4269,
14697,
45,
54,
312,
303,
453,
9056,
115,
1348,
1178,
5386,
804,
347,
7163,
1513,
303,
7624,
45,
22177,
4850,
51,
390,
12475,
4269,
14697,
45,
2000,
51,
390,
12475,
1052,
353,
339,
736,
496,
1024,
353,
581,
782,
913,
5131,
2907,
318,
1785,
12386,
1640,
6358,
20077,
365,
320,
303,
462,
10755,
6755,
5131,
1785,
698,
4584,
9747,
2907,
318,
1785,
698,
320,
416,
581,
648,
3668,
64,
1704,
496,
1806,
416,
581,
782,
2703,
2907,
318,
45,
976,
34174,
49,
5409,
13777,
18586,
46,
2589,
9953,
320,
310,
3668,
1475,
1849,
3078,
46,
34174,
566,
22777,
492,
416,
339,
303,
339,
303,
10755,
6755,
5131,
1785,
698,
27167,
299,
556,
10755,
6755,
5131,
1785,
698,
492,
303,
496,
14030,
459,
3557,
678,
303,
3604,
12386,
8012,
1438,
299,
556,
14352,
1885,
11947,
1962,
6330,
1785,
12386,
45,
2336,
46,
320,
416,
496,
1806,
416,
581,
1922,
8012,
45,
1885,
364,
49,
496,
6825,
1727,
11667,
1780,
1359,
46,
320,
310,
461,
364,
51,
390,
28050,
365,
630,
648,
51,
842,
64,
416,
339,
303,
1487,
303,
2128,
5358,
1780,
299,
556,
2128,
5358,
492,
303,
15628,
2232,
19170,
299,
556,
15628,
2232,
45,
2000,
312,
303,
19170,
51,
688,
1785,
698,
45,
909,
508,
539,
13843,
1052,
303,
19170,
51,
688,
1785,
12386,
45,
8936,
1438,
312,
303,
7624,
45,
7146,
51,
390,
1785,
1893,
1758,
8577,
54,
8527,
321,
459,
1785,
12386,
1616,
3654,
1912,
14697,
45,
8936,
1438,
312,
303,
457,
1024,
5358,
22609,
4850,
299,
327,
38396,
5358,
46,
1506,
5401,
45,
7146,
312,
303,
7624,
45,
2336,
51,
1055,
566,
14697,
45,
53,
312,
303,
648,
613,
54,
299,
244,
54,
55,
64,
303,
648,
613,
55,
299,
244,
54,
56,
64,
465,
453,
643,
286,
1348,
545,
9801,
8628,
303,
22609,
4850,
51,
489,
12475,
45,
110,
54,
312,
303,
7624,
45,
22177,
4850,
51,
390,
12475,
4269,
14697,
45,
110,
54,
312,
303,
7624,
45,
2336,
51,
1055,
566,
14697,
45,
110,
54,
312,
303,
22609,
4850,
51,
489,
12475,
45,
110,
55,
312,
303,
7624,
45,
22177,
4850,
51,
390,
12475,
4269,
14697,
45,
110,
55,
312,
303,
7624,
45,
2336,
51,
1055,
566,
14697,
1181,
110,
54,
494,
613,
55,
894,
303,
7624,
45,
22177,
4850,
51,
390,
12475,
4269,
14697,
45,
110,
55,
312,
353,
339,
736,
496,
1024,
353,
581,
782,
913,
5131,
2907,
318,
1785,
12386,
35683,
6358,
20077,
1501,
1002,
365,
320,
303,
9658,
318,
5131,
2907,
318,
1785,
698,
6378,
299,
556,
9658,
318,
5131,
2907,
318,
1785,
698,
492,
303,
2128,
5358,
1780,
299,
556,
2128,
5358,
492,
303,
15628,
2232,
19170,
299,
556,
15628,
2232,
45,
2000,
312,
303,
19170,
51,
688,
1785,
698,
45,
909,
508,
539,
13843,
1052,
303,
19170,
51,
688,
1785,
698,
45,
3745,
312,
303,
7624,
45,
7146,
51,
390,
1785,
1893,
1758,
8577,
54,
1015,
390,
1785,
698,
4269,
321,
459,
1785,
698,
1616,
16279,
347,
3604,
12386,
480,
3654,
1912,
14697,
45,
3745,
312,
303,
457,
1024,
5358,
22609,
4850,
299,
327,
38396,
5358,
46,
1506,
5401,
45,
7146,
312,
303,
7624,
45,
3745,
51,
390,
17822,
4269,
14697,
45,
53,
312,
303,
648,
11505,
299,
244,
54,
53,
64,
303,
22609,
4850,
51,
489,
12475,
45,
400,
312,
303,
7624,
45,
22177,
4850,
51,
390,
12475,
4269,
14697,
45,
400,
312,
303,
7624,
45,
3745,
51,
390,
17822,
4269,
14697,
45,
55,
312,
303,
3284,
13511,
299,
556,
3284,
492,
303,
453,
2715,
3773,
580,
7623,
1348,
545,
16638,
303,
7624,
1002,
21853,
45,
14080,
51,
842,
566,
316,
27350,
1103,
4133,
984,
547,
22609,
4850,
51,
3918,
298,
45,
14819,
509,
343,
657,
32869,
753,
45,
346,
984,
31102,
51,
17427,
45,
346,
566,
316,
8525,
1482,
45,
14819,
894,
303,
7624,
45,
3745,
51,
390,
17822,
4269,
14697,
45,
55,
312,
353,
339,
736,
496,
1024,
353,
581,
782,
913,
12762,
1785,
12386,
1640,
6358,
20077,
365,
2589,
9953,
320,
303,
453,
3487,
120,
391,
39586,
480,
48986,
303,
4318,
12762,
1985,
379,
299,
556,
4318,
12762,
1985,
492,
303,
496,
14030,
459,
3557,
678,
303,
3604,
12386,
8012,
23849,
6358,
32530,
299,
556,
14352,
1885,
11947,
1962,
6330,
1785,
12386,
45,
368,
46,
320,
416,
496,
1806,
416,
581,
1922,
8012,
45,
1885,
364,
49,
496,
6825,
1727,
11667,
1780,
1359,
46,
320,
310,
461,
364,
51,
5175,
941,
13907,
459,
3486,
742,
416,
339,
303,
1487,
465,
41501,
1780,
299,
556,
41501,
492,
303,
1780,
51,
489,
70,
45,
54,
59,
312,
303,
15628,
2232,
19170,
299,
556,
15628,
2232,
45,
2000,
312,
303,
19170,
51,
688,
1785,
698,
45,
909,
508,
539,
13843,
1052,
303,
19170,
51,
688,
1785,
12386,
45,
8936,
23849,
6358,
32530,
312,
303,
7624,
45,
7146,
51,
390,
1785,
1893,
1758,
8577,
54,
8527,
321,
459,
1785,
12386,
1616,
3654,
1912,
14697,
45,
8936,
23849,
6358,
32530,
312,
303,
12275,
1525,
22609,
4850,
299,
327,
4007,
1525,
46,
1506,
5401,
45,
7146,
312,
303,
7624,
45,
368,
51,
390,
17822,
4269,
14697,
45,
53,
312,
303,
7624,
45,
22177,
4850,
51,
390,
70,
4269,
14697,
45,
2000,
51,
390,
70,
1052,
303,
7624,
45,
368,
51,
390,
17822,
4269,
14697,
45,
53,
312,
303,
3284,
557,
299,
556,
3284,
492,
303,
453,
13513,
545,
9801,
8628,
1294,
4183,
1348,
2549,
303,
7624,
1002,
21853,
45,
1002,
51,
842,
566,
316,
27350,
1103,
4133,
984,
547,
22609,
4850,
51,
3486,
1002,
45,
54,
49,
557,
509,
343,
657,
8936,
45,
346,
422,
3591,
312,
303,
47493,
315,
346,
299,
556,
47493,
492,
303,
7624,
1002,
21853,
45,
27322,
51,
842,
566,
316,
27350,
1103,
4133,
984,
547,
22609,
4850,
51,
3486,
1002,
45,
54,
49,
315,
346,
509,
343,
657,
8936,
45,
107,
346,
422,
3591,
312,
303,
7624,
45,
368,
51,
390,
17822,
459,
735,
1002,
11606,
14697,
45,
54,
312,
353,
339,
736,
496,
1024,
353,
581,
782,
913,
1121,
12762,
1785,
698,
11449,
1785,
12386,
365,
2589,
9953,
320,
303,
453,
3487,
120,
391,
39586,
480,
48986,
303,
4318,
12762,
1985,
379,
299,
556,
4318,
12762,
1985,
492,
465,
41501,
1780,
299,
556,
41501,
492,
303,
1780,
51,
489,
70,
45,
54,
59,
312,
303,
15628,
2232,
19170,
299,
556,
15628,
2232,
45,
2000,
312,
303,
19170,
51,
688,
1785,
698,
45,
909,
508,
539,
13843,
1052,
303,
19170,
51,
688,
1785,
698,
45,
368,
312,
303,
12275,
1525,
22609,
4850,
299,
327,
4007,
1525,
46,
1506,
5401,
45,
7146,
312,
303,
7624,
45,
368,
51,
390,
17822,
4269,
14697,
45,
53,
312,
303,
7624,
45,
22177,
4850,
51,
390,
70,
4269,
14697,
45,
2000,
51,
390,
70,
1052,
303,
7624,
45,
368,
51,
390,
17822,
4269,
14697,
45,
53,
312,
303,
3284,
557,
299,
556,
3284,
492,
303,
453,
13513,
545,
9801,
8628,
1294,
4183,
1348,
2549,
303,
7624,
1002,
21853,
45,
1002,
51,
842,
566,
316,
27350,
1103,
4133,
984,
547,
22609,
4850,
51,
3486,
1002,
45,
54,
49,
557,
509,
343,
657,
8936,
45,
346,
422,
3591,
312,
465,
453,
3743,
842,
451,
48986,
303,
18312,
1002,
39219,
299,
556,
18312,
1002,
10928,
303,
7624,
1002,
21853,
45,
8728,
1002,
51,
842,
566,
316,
27350,
1103,
4133,
984,
547,
22609,
4850,
51,
3486,
1002,
45,
54,
49,
39219,
509,
343,
657,
8936,
45,
29656,
422,
3591,
312,
465,
7624,
45,
368,
51,
390,
17822,
459,
7004,
1002,
11606,
14697,
45,
54,
312,
353,
339,
736,
964,
924,
462,
3471,
1885,
13777,
1640,
8525,
402,
2199,
1529,
13843,
4584,
5409,
13843,
320,
465,
496,
1806,
303,
581,
2210,
11324,
45,
1885,
13777,
12908,
46,
2589,
9953,
320,
416,
5409,
364,
299,
12908,
51,
27847,
492,
416,
2210,
18679,
299,
12908,
51,
46096,
492,
416,
7624,
45,
4557,
51,
27847,
4269,
321,
459,
1885,
18586,
1421,
2454,
1431,
563,
3374,
1769,
1912,
14697,
45,
114,
312,
416,
461,
18679,
64,
303,
339,
353,
339,
736,
1041,
682,
338,
1300,
3622,
13777,
2315,
545,
758,
391,
878,
51,
682,
588,
353,
964,
924,
462,
3471,
1885,
13777,
28562,
3032,
3340,
1640,
8525,
402,
2199,
1529,
13843,
4584,
5409,
13843,
320,
465,
496,
1806,
303,
581,
2210,
11324,
45,
1885,
13777,
12908,
46,
2589,
9953,
320,
416,
910,
2918,
299,
332,
390,
18586,
563,
3374,
1255,
884,
416,
1614,
320,
310,
5409,
13777,
1565,
299,
1300,
3622,
13777,
13843,
51,
1719,
13777,
492,
310,
7624,
45,
1719,
51,
27847,
4269,
14697,
45,
4557,
51,
27847,
1052,
310,
2210,
18679,
299,
12908,
51,
46096,
492,
310,
2918,
299,
332,
390,
18586,
563,
3374,
7002,
884,
310,
7624,
45,
31946,
13777,
13843,
51,
1719,
13777,
4269,
14697,
45,
1719,
312,
310,
461,
18679,
64,
416,
339,
416,
2385,
327,
45123,
557,
46,
320,
310,
1189,
51,
549,
51,
3962,
45,
2810,
494,
332,
456,
332,
494,
12908,
51,
27847,
1052,
310,
557,
51,
9428,
492,
310,
1440,
557,
64,
416,
339,
303,
339,
353,
339,
736,
1041,
682,
338,
18997,
7928,
456,
331,
7671,
51,
682,
338,
9303,
4864,
1429,
21946,
5401,
458,
758,
391,
878,
51,
682,
338,
17269,
708,
341,
7671,
458,
341,
2454,
563,
341,
3374,
347,
480,
986,
51,
682,
588,
353,
964,
924,
462,
15628,
11947,
13843,
4584,
5409,
13843,
320,
465,
496,
1806,
303,
581,
2210,
11324,
45,
1885,
13777,
12908,
46,
2589,
9953,
320,
416,
2210,
7671,
299,
418,
539,
1237,
51,
1719,
5401,
492,
416,
2210,
2170,
299,
12908,
51,
46096,
492,
416,
7624,
45,
70,
539,
1237,
51,
1719,
5401,
4269,
14697,
45,
5881,
312,
416,
461,
2170,
64,
303,
339,
353,
339,
736,
1041,
682,
338,
525,
8027,
563,
25282,
4457,
708,
4843,
331,
821,
51,
922,
15838,
762,
1657,
642,
34946,
682,
588,
353,
496,
14030,
459,
3557,
678,
353,
2532,
924,
462,
910,
16923,
1898,
24217,
1785,
698,
2041,
4119,
1962,
6330,
1785,
12386,
320,
465,
964,
924,
5409,
13843,
41759,
299,
12908,
984,
320,
416,
453,
2726,
3722,
580,
902,
1773,
545,
16638,
434,
2038,
1200,
331,
4005,
3416,
451,
847,
821,
416,
12908,
51,
390,
8560,
8577,
53,
98,
299,
5127,
416,
461,
12908,
51,
46096,
492,
303,
1487,
465,
581,
910,
16923,
1898,
24217,
1785,
698,
365,
320,
416,
2615,
45,
6064,
284,
312,
416,
758,
1962,
6330,
45,
909,
14800,
1885,
11947,
1962,
6330,
365,
320,
603,
496,
1806,
310,
581,
1922,
8012,
45,
1885,
13777,
18586,
46,
320,
633,
461,
18586,
51,
390,
8560,
8577,
53,
98,
630,
762,
64,
310,
339,
603,
496,
1806,
310,
581,
1922,
8012,
45,
1885,
364,
49,
496,
6825,
1727,
11667,
1780,
1359,
46,
320,
633,
461,
364,
51,
5175,
941,
13907,
459,
489,
678,
979,
1764,
364,
51,
17745,
1552,
365,
630,
244,
54,
979,
1764,
364,
51,
17745,
2439,
8577,
53,
1015,
3591,
45,
671,
51,
842,
312,
310,
339,
1704,
1141,
303,
339,
353,
339,
736,
496,
14030,
459,
3557,
678,
353,
2532,
924,
462,
2128,
7193,
1962,
6330,
1785,
698,
2041,
4119,
1962,
6330,
1785,
12386,
320,
465,
581,
648,
2409,
64,
465,
581,
2128,
7193,
1962,
6330,
1785,
698,
45,
1885,
13843,
12908,
49,
1175,
910,
5275,
46,
320,
416,
2615,
45,
4557,
312,
416,
758,
1962,
6330,
45,
909,
14800,
1885,
11947,
1962,
6330,
365,
320,
310,
496,
1806,
310,
581,
1922,
8012,
45,
1885,
13777,
18586,
46,
320,
633,
1922,
1441,
299,
18586,
51,
27847,
941,
5175,
941,
4766,
45,
5622,
312,
633,
434,
327,
1967,
46,
320,
343,
3323,
1016,
64,
633,
339,
633,
461,
1441,
64,
310,
339,
416,
1141,
303,
339,
353,
339,
736,
496,
14030,
459,
3557,
678,
353,
2532,
924,
462,
2128,
7193,
1962,
6330,
1580,
903,
5749,
4505,
2041,
4119,
1962,
6330,
1785,
12386,
320,
465,
581,
648,
2409,
64,
465,
581,
2128,
7193,
1962,
6330,
1580,
903,
5749,
4505,
45,
1885,
13843,
12908,
49,
1175,
910,
5275,
46,
320,
416,
2615,
45,
4557,
312,
416,
758,
1962,
6330,
45,
909,
14800,
1885,
11947,
1962,
6330,
365,
320,
310,
496,
1806,
310,
581,
1922,
8012,
45,
1885,
13777,
18586,
46,
320,
633,
1922,
1441,
299,
18586,
51,
27847,
941,
5175,
941,
4766,
45,
5622,
312,
633,
434,
327,
1967,
46,
320,
343,
3323,
1016,
64,
633,
339,
633,
461,
1441,
64,
310,
339,
603,
496,
1806,
310,
581,
1922,
8012,
45,
1885,
364,
49,
496,
6825,
1727,
11667,
16486,
46,
320,
633,
461,
364,
51,
5175,
941,
13907,
459,
489,
742,
310,
339,
416,
1141,
303,
339,
353,
339,
736,
496,
14030,
459,
3557,
678,
353,
2532,
924,
462,
2128,
5983,
1962,
6330,
1785,
698,
2041,
14352,
1885,
11947,
1962,
6330,
1785,
12386,
320,
465,
964,
910,
5275,
64,
465,
581,
2128,
5983,
1962,
6330,
1785,
698,
45,
1885,
13843,
12908,
49,
910,
5275,
46,
320,
416,
2615,
45,
4557,
312,
416,
477,
51,
5622,
299,
5275,
64,
303,
339,
465,
496,
1806,
303,
581,
1922,
8012,
45,
1885,
364,
49,
496,
6825,
1727,
11667,
1780,
1359,
46,
320,
416,
461,
364,
51,
5175,
941,
4766,
45,
5622,
312,
303,
339,
353,
339,
736,
1041,
682,
338,
5857,
708,
573,
2801,
341,
39641,
641,
347,
4575,
1522,
451,
477,
913,
682,
338,
7751,
1348,
10065,
49,
641,
4712,
32530,
1648,
545,
44826,
682,
338,
480,
26323,
27731,
840,
341,
962,
451,
2531,
18586,
51,
682,
338,
2790,
1019,
25810,
1773,
341,
1780,
51,
682,
588,
353,
2532,
924,
462,
413,
1085,
2937,
13843,
4584,
5409,
13843,
320,
465,
581,
2210,
1780,
64,
465,
496,
1806,
303,
581,
2210,
11324,
45,
1885,
13777,
18586,
46,
2589,
9953,
320,
416,
477,
51,
2000,
299,
18586,
51,
390,
2287,
492,
416,
461,
18586,
51,
46096,
492,
303,
339,
353,
339,
736,
964,
924,
462,
25222,
25843,
1785,
698,
3499,
4584,
14800,
25843,
1785,
698,
320,
465,
496,
1806,
303,
581,
1922,
4584,
3058,
45,
1359,
11667,
648,
107,
46,
320,
416,
461,
878,
64,
303,
339,
353,
339,
736,
581,
924,
462,
29908,
25693,
558,
2041,
2128,
5358,
320,
465,
496,
1806,
303,
581,
457,
1024,
5358,
640,
25693,
558,
365,
320,
416,
461,
477,
64,
303,
339,
353,
339,
736,
581,
924,
462,
3381,
8354,
8883,
4584,
4398,
987,
320,
465,
496,
1806,
303,
581,
1922,
12432,
45,
976,
1623,
46,
320,
416,
461,
327,
2476,
5118,
3381,
8354,
8883,
312,
303,
339,
465,
496,
1806,
303,
581,
648,
17759,
365,
320,
416,
461,
27042,
941,
14941,
492,
303,
339,
465,
496,
1806,
303,
581,
782,
11397,
32717,
6710,
365,
320,
303,
339,
353,
339,
736,
581,
2586,
1255,
3540,
20753,
7496,
5401,
320,
465,
648,
640,
1552,
492,
465,
782,
11902,
28562,
2287,
492,
465,
782,
11902,
28562,
5401,
492,
465,
782,
11902,
492,
353,
339,
736,
581,
924,
462,
17377,
20753,
7496,
5401,
4584,
1255,
3540,
20753,
7496,
5401,
320,
465,
964,
648,
2409,
64,
465,
496,
1806,
303,
581,
648,
640,
1552,
365,
320,
416,
461,
2409,
64,
303,
339,
465,
496,
1806,
303,
581,
782,
11902,
28562,
2287,
365,
320,
416,
477,
51,
12128,
492,
303,
339,
465,
496,
1806,
303,
581,
782,
11902,
28562,
5401,
365,
320,
416,
1255,
3540,
20753,
7496,
5401,
477,
28562,
5401,
299,
327,
540,
3540,
20753,
7496,
5401,
46,
418,
539,
1237,
51,
1719,
5401,
492,
416,
477,
28562,
5401,
51,
12128,
492,
416,
3604,
27234,
9801,
8628,
299,
327,
18999,
8628,
46,
477,
28562,
5401,
64,
416,
1524,
18999,
8628,
45,
11236,
8628,
312,
303,
339,
465,
2532,
782,
1524,
18999,
8628,
45,
18999,
8628,
9801,
8628,
46,
320,
303,
339,
465,
496,
1806,
303,
581,
782,
11902,
365,
320,
416,
3323,
1016,
64,
303,
339,
353,
339,
736,
581,
924,
462,
10069,
14003,
2041,
17377,
20753,
7496,
5401,
320,
465,
496,
1806,
303,
2532,
782,
1524,
18999,
8628,
45,
18999,
8628,
9801,
8628,
46,
320,
416,
453,
4314,
7112,
477,
1524,
63,
1307,
8940,
4222,
416,
453,
4993,
45,
11236,
8628,
51,
26028,
1046,
477,
312,
303,
339,
353,
339,
736,
581,
924,
462,
9658,
318,
1785,
12386,
2239,
4584,
3604,
27234,
4417,
2239,
320,
465,
581,
648,
29332,
9572,
64,
303,
581,
648,
6285,
1218,
64,
303,
964,
3604,
27234,
4417,
2816,
2044,
64,
465,
581,
9658,
318,
1785,
12386,
2239,
45,
18999,
8628,
4417,
2816,
2044,
46,
320,
416,
477,
51,
3156,
2044,
299,
2816,
2044,
64,
303,
339,
465,
496,
1806,
303,
581,
782,
25220,
45,
18999,
8628,
4417,
9801,
8628,
46,
320,
416,
7624,
45,
11236,
8628,
566,
14697,
45,
3156,
2044,
312,
416,
3323,
5453,
1218,
64,
303,
339,
465,
496,
1806,
303,
581,
782,
29332,
3663,
45,
18999,
8628,
4417,
9801,
8628,
46,
320,
416,
7624,
45,
11236,
8628,
566,
14697,
45,
3156,
2044,
312,
416,
3323,
358,
698,
9572,
64,
303,
339,
353,
339,
736,
581,
924,
462,
21112,
1552,
318,
1785,
12386,
7429,
2232,
4584,
3604,
27234,
4417,
2239,
320,
465,
581,
648,
2505,
595,
4301,
64,
465,
496,
1806,
303,
581,
782,
25220,
45,
18999,
8628,
4417,
9801,
8628,
46,
320,
416,
3323,
631,
595,
4301,
64,
303,
339,
465,
496,
1806,
303,
581,
782,
29332,
3663,
45,
18999,
8628,
4417,
9801,
8628,
46,
320,
416,
3323,
631,
595,
4301,
64,
303,
339,
353,
339,
736,
581,
924,
2586,
457,
3980,
13428,
320,
465,
782,
26104,
492,
465,
648,
26104,
45,
429,
613,
312,
465,
910,
26104,
45,
671,
9229,
312,
465,
782,
1307,
1785,
698,
492,
353,
339,
736,
581,
924,
462,
9878,
13428,
4584,
457,
3980,
13428,
320,
465,
496,
1806,
303,
581,
782,
26104,
365,
320,
303,
339,
465,
496,
1806,
303,
581,
648,
26104,
45,
429,
613,
46,
320,
416,
461,
613,
64,
303,
339,
465,
496,
1806,
303,
581,
910,
26104,
45,
671,
328,
46,
320,
416,
461,
328,
64,
303,
339,
465,
496,
1806,
303,
581,
782,
1307,
1785,
698,
365,
320,
303,
339,
353,
339,
736,
496,
14030,
459,
3557,
678,
353,
581,
924,
462,
9658,
318,
6230,
1785,
698,
2041,
5409,
6489,
4584,
5409,
5670,
1785,
698,
49,
633,
9747,
2907,
318,
1785,
698,
49,
40913,
1785,
698,
320,
465,
496,
1806,
303,
581,
782,
2688,
45,
1885,
13777,
18586,
46,
2589,
9953,
320,
416,
2409,
45,
28876,
51,
27847,
1052,
303,
339,
465,
496,
1806,
303,
581,
782,
2703,
2907,
318,
45,
976,
34174,
49,
5409,
13777,
18586,
46,
2589,
9953,
320,
416,
2409,
45,
28876,
51,
27847,
1052,
303,
339,
465,
581,
782,
2703,
6562,
318,
45,
6860,
557,
46,
2589,
9953,
320,
416,
2409,
45,
6860,
51,
842,
51,
5175,
1052,
303,
339,
465,
581,
782,
2703,
6562,
318,
45,
45944,
1002,
557,
46,
2589,
9953,
320,
416,
2409,
45,
45944,
1002,
51,
842,
51,
5175,
1052,
303,
339,
736,
339,
736,
496,
14030,
459,
3557,
678,
353,
581,
924,
462,
9658,
318,
12762,
1785,
698,
2041,
5409,
6489,
4584,
40913,
1785,
698,
320,
465,
581,
782,
2703,
6562,
318,
45,
6860,
557,
46,
2589,
9953,
320,
416,
2409,
45,
6860,
51,
842,
51,
5175,
1052,
303,
339,
465,
581,
782,
2703,
6562,
318,
45,
45944,
1002,
557,
46,
2589,
9953,
320,
416,
2409,
45,
45944,
1002,
51,
842,
51,
5175,
1052,
303,
339,
736,
339,
736,
496,
14030,
459,
3557,
678,
353,
924,
462,
1703,
7156,
1002,
2041,
13383,
320,
736,
339,
736,
496,
14030,
459,
3557,
678,
353,
924,
462,
17972,
1209,
45944,
1002,
2041,
1703,
7156,
1002,
320,
465,
581,
17972,
1209,
45944,
1002,
45,
671,
821,
49,
23189,
3773,
46,
320,
303,
339,
736,
339,
736,
924,
462,
7509,
2937,
2044,
4584,
10069,
2044,
320,
465,
964,
2210,
1780,
64,
465,
581,
648,
8572,
64,
465,
581,
648,
18448,
64,
465,
581,
782,
5672,
365,
320,
416,
477,
51,
2000,
299,
762,
64,
416,
8572,
299,
18448,
299,
244,
53,
64,
303,
339,
465,
581,
782,
758,
2937,
45,
976,
1780,
46,
320,
416,
477,
51,
2000,
299,
1780,
64,
303,
339,
465,
1041,
294,
338,
496,
2987,
13007,
51,
121,
23060,
450,
414,
51,
32223,
51,
2937,
2044,
40,
26028,
1359,
365,
294,
588,
303,
496,
1806,
303,
581,
1727,
11667,
640,
2937,
1359,
365,
320,
416,
461,
1780,
51,
9699,
492,
303,
339,
465,
1041,
294,
338,
496,
2987,
13007,
51,
121,
23060,
450,
414,
51,
32223,
51,
2937,
2044,
40,
26028,
365,
294,
588,
303,
496,
1806,
303,
581,
2210,
640,
2937,
365,
2589,
3284,
320,
416,
3323,
19126,
64,
416,
461,
1780,
64,
303,
339,
465,
1041,
294,
338,
496,
2987,
13007,
51,
121,
23060,
450,
414,
51,
32223,
51,
2937,
2044,
40,
3794,
2937,
45,
1874,
51,
1600,
51,
976,
46,
294,
588,
303,
496,
1806,
303,
581,
782,
3636,
2937,
45,
976,
317,
2937,
46,
2589,
3284,
320,
416,
434,
327,
117,
2937,
882,
477,
51,
2000,
46,
320,
310,
1440,
556,
13383,
459,
22818,
6661,
1780,
742,
416,
339,
416,
3323,
10722,
64,
303,
339,
465,
1041,
294,
338,
3471,
708,
8572,
480,
18448,
2549,
294,
588,
303,
581,
782,
6152,
365,
320,
416,
434,
327,
19126,
882,
18448,
46,
320,
310,
1440,
556,
13383,
459,
41285,
3818,
63,
332,
494,
8572,
494,
332,
8572,
480,
332,
494,
18448,
494,
332,
18448,
742,
416,
339,
303,
339,
465,
1041,
294,
338,
496,
2987,
13007,
51,
121,
23060,
450,
414,
51,
32223,
51,
2937,
2044,
40,
316,
5983,
365,
294,
588,
303,
496,
1806,
303,
581,
1922,
458,
5983,
365,
320,
416,
461,
920,
64,
303,
339,
736,
339,
736,
924,
5560,
462,
1300,
6865,
13777,
1024,
5358,
2041,
2128,
5358,
320,
465,
496,
1806,
303,
581,
910,
16389,
365,
320,
416,
5409,
13777,
18586,
299,
1300,
3622,
13777,
13843,
51,
1719,
13777,
492,
416,
37739,
45,
28876,
312,
416,
461,
2615,
51,
5175,
492,
303,
339,
465,
496,
1806,
303,
581,
782,
11397,
32717,
6710,
365,
320,
416,
5409,
13777,
18586,
299,
1300,
3622,
13777,
13843,
51,
1719,
13777,
492,
416,
37739,
45,
28876,
312,
416,
2615,
51,
3615,
32717,
6710,
492,
303,
339,
465,
2532,
5560,
782,
37739,
45,
1885,
13777,
18586,
312,
353,
339,
736,
924,
462,
39641,
2157,
589,
6865,
13777,
1024,
5358,
2041,
1300,
6865,
13777,
1024,
5358,
320,
303,
496,
1806,
303,
2532,
782,
37739,
45,
1885,
13777,
18586,
46,
320,
416,
7624,
45,
28876,
51,
390,
2287,
4269,
316,
8525,
1482,
45,
597,
312,
416,
7624,
45,
38396,
5358,
51,
842,
51,
45162,
45,
28876,
51,
27847,
941,
390,
5495,
7016,
1359,
22293,
321,
459,
13777,
1414,
545,
563,
457,
1024,
5358,
63,
332,
494,
18586,
51,
27847,
4269,
25761,
492,
303,
339,
353,
339,
222,
222,
130,
222
] |
[
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,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
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 16,664
| true
| 69.315853
| true
| true
|
WrapperUtils.java
|
/FileExtraction/Java_unseen/tyron12233_CodeAssist/layout-preview/src/main/java/com/tyron/layoutpreview/parser/WrapperUtils.java
|
package com.tyron.layoutpreview.parser;
import android.content.res.ColorStateList;
import android.util.Log;
import android.view.View;
import android.view.ViewGroup;
import androidx.annotation.NonNull;
import com.flipkart.android.proteus.ProteusContext;
import com.flipkart.android.proteus.ViewTypeParser;
import com.flipkart.android.proteus.processor.AttributeProcessor;
import com.flipkart.android.proteus.processor.BooleanAttributeProcessor;
import com.flipkart.android.proteus.processor.ColorResourceProcessor;
import com.flipkart.android.proteus.processor.DimensionAttributeProcessor;
import com.flipkart.android.proteus.processor.EnumProcessor;
import com.flipkart.android.proteus.processor.NumberAttributeProcessor;
import com.flipkart.android.proteus.processor.StringAttributeProcessor;
import com.tyron.layoutpreview.model.Attribute;
import com.tyron.layoutpreview.model.Format;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import java.util.List;
public class WrapperUtils {
@SuppressWarnings({"unchecked", "rawtypes"})
public static void addProcessors(ViewTypeParser processor, Attribute attribute, Method method, Object[] objects) {
String name = attribute.getXmlName();
int offset = attribute.getXmlParameterOffset();
if (attribute.getFormats().contains(Format.COLOR)) {
processor.addAttributeProcessor(name, new ColorResourceProcessor<View>() {
@Override
public void setColor(View view, int color) {
objects[offset] = color;
invokeMethod(view, method, objects);
}
@Override
public void setColor(View view, ColorStateList colors) {
}
});
} else if (isNumberFormat(attribute.getFormats())) {
processor.addAttributeProcessor(name, new NumberAttributeProcessor<View>() {
@Override
public void setNumber(View view, @NonNull Number value) {
if (attribute.getFormats().contains(Format.FLOAT)) {
objects[offset] = value.floatValue();
} else {
objects[offset] = value.intValue();
}
set(attribute, view, getParameters(attribute.getParameters()), objects);
}
});
} else if (attribute.getFormats().contains(Format.DIMENSION)) {
processor.addAttributeProcessor(name, new DimensionAttributeProcessor<View>() {
@Override
public void setDimension(View view, float dimension) {
objects[offset] = dimension;
set(attribute, view, getParameters(attribute.getParameters()), objects);
}
});
} else if (attribute.getFormats().contains(Format.BOOLEAN)) {
processor.addAttributeProcessor(name, new BooleanAttributeProcessor() {
@Override
public void setBoolean(View view, boolean value) {
objects[offset] = value;
set(attribute, view, getParameters(attribute.getParameters()), objects);
}
});
} else if (attribute.getFormats().contains(Format.STRING)) {
processor.addAttributeProcessor(name, new StringAttributeProcessor() {
@Override
public void setString(View view, String value) {
objects[offset] = value;
set(attribute, view, getParameters(attribute.getParameters()), objects);
}
});
} else if (attribute.getFormats().contains(Format.ENUM)) {
processor.addAttributeProcessor(name, new EnumProcessor(attribute.getEnumValues()) {
@Override
public void apply(View view, int value) {
objects[offset] = value;
set(attribute, view, getParameters(attribute.getParameters()), objects);
}
@Override
public void applyOther(View view, String value) {
}
});
}
}
@SuppressWarnings({"unchecked", "rawtypes"})
public static void addEnumProcessors(ViewTypeParser processor, Attribute attribute, Method method, Object[] params) {
List<Format> formats = attribute.getFormats();
int offset = attribute.getXmlParameterOffset();
if (!formats.contains(Format.ENUM)) {
throw new IllegalArgumentException("Can't add processors on an attribute that's not an enum attribute");
}
if (formats.contains(Format.REFERENCE)) {
processor.addAttributeProcessor(attribute.getXmlName(), new EnumProcessor<View>(attribute.getEnumValues()) {
@Override
public void apply(View view, int value) {
params[offset] = value;
set(attribute, view, getParameters(attribute.getParameters()), params);
}
@Override
public void applyOther(View view, String value) {
params[offset] = (((ProteusContext) view.getContext())).getInflater()
.getUniqueViewId(value);
set(attribute, view, getParameters(attribute.getParameters()), params);
}
});
}
}
/**
* Checks whether the attribute format is applicable to numbers
*/
private static boolean isNumberFormat(List<Format> formats) {
if (formats.contains(Format.INTEGER)) {
return true;
}
return formats.contains(Format.FLOAT);
}
/**
* If the attribute is a layout params attribute, it will try to set the field of the LayoutParams class otherwhise,
* it will search for the method in the class
*/
public static void set(Attribute attribute, View view, Class<?>[] classParams, Object[] params) {
if (attribute.isLayoutParams()) {
if (view.getLayoutParams().getClass().getName().equals(attribute.getLayoutParamsClass())) {
ViewGroup.LayoutParams layoutParams = view.getLayoutParams();
try {
Field field = layoutParams.getClass().getDeclaredField(attribute.getMethodName());
field.set(layoutParams, params[attribute.getXmlParameterOffset()]);
} catch (NoSuchFieldException | IllegalAccessException e) {
Log.e("WrapperUtils", "Unable to set layout params: ", e);
}
}
} else {
invokeMethod(view, getMethod(view.getClass(), attribute.getMethodName(), classParams), params);
}
}
public static void invokeMethod(Object object, Method method, Object[] values) {
try {
method.invoke(object, values);
} catch (Exception e) {
Log.w("CustomView", "Unable to set attribute " + Log.getStackTraceString(e));
}
}
/**
* Retrieves the method from the current class, if not found tries to find it in the parent class.
*
* @return null if method is not found
*/
public static Method getMethod(Class<? extends View> clazz, String name, Class<?>[] parameters) {
Method method = null;
try {
method = clazz.getDeclaredMethod(name, parameters);
} catch (Exception ignore) {
}
if (method == null) {
try {
method = clazz.getMethod(name, parameters);
} catch (Exception ignore) {
}
}
return method;
}
private static final Class<?>[] mPrimitives = new Class<?>[] {int.class, short.class, long.class, float.class, byte.class, double.class, char.class};
/*
* Converts an array of fully qualified names to objects
* @return null if an error has occurred
*/
public static Class<?>[] getParameters(String[] parameters) {
Class<?>[] params = new Class<?>[parameters.length];
outer: for (int i = 0; i < parameters.length; i++) {
// Try first if this class is a primitive class
for (Class<?> primitive : mPrimitives) {
if (primitive.getName().equals(parameters[i])) {
params[i] = primitive;
continue outer;
}
}
try {
params[i] = Class.forName(parameters[i]);
} catch (ClassNotFoundException e) {
Log.w("CustomView", "Unable to find class " + parameters[i]);
return null;
}
}
return params;
}
}
| 8,759
|
Java
|
.java
|
tyron12233/CodeAssist
| 875
| 168
| 139
|
2021-08-16T11:30:27Z
|
2023-11-09T23:59:12Z
|
d7f403ac4cd3b927cbc9dd2c035c911753c218c08a8b5444cee523c77f4232d0
|
[
1337,
785,
51,
637,
2575,
51,
3106,
8693,
51,
3936,
64,
222,
222,
485,
2616,
51,
1304,
51,
595,
51,
1530,
1095,
739,
64,
222,
485,
2616,
51,
1058,
51,
1353,
64,
222,
485,
2616,
51,
1090,
51,
1089,
64,
222,
485,
2616,
51,
1090,
51,
22484,
64,
222,
222,
485,
10484,
51,
4341,
51,
10082,
64,
222,
222,
485,
785,
51,
16292,
112,
521,
51,
4048,
51,
529,
538,
371,
51,
608,
538,
371,
1237,
64,
222,
485,
785,
51,
16292,
112,
521,
51,
4048,
51,
529,
538,
371,
51,
44314,
2837,
64,
222,
485,
785,
51,
16292,
112,
521,
51,
4048,
51,
529,
538,
371,
51,
10093,
51,
2230,
6872,
64,
222,
485,
785,
51,
16292,
112,
521,
51,
4048,
51,
529,
538,
371,
51,
10093,
51,
4718,
2230,
6872,
64,
222,
485,
785,
51,
16292,
112,
521,
51,
4048,
51,
529,
538,
371,
51,
10093,
51,
1530,
2305,
6872,
64,
222,
485,
785,
51,
16292,
112,
521,
51,
4048,
51,
529,
538,
371,
51,
10093,
51,
9884,
2230,
6872,
64,
222,
485,
785,
51,
16292,
112,
521,
51,
4048,
51,
529,
538,
371,
51,
10093,
51,
2773,
6872,
64,
222,
485,
785,
51,
16292,
112,
521,
51,
4048,
51,
529,
538,
371,
51,
10093,
51,
1936,
2230,
6872,
64,
222,
485,
785,
51,
16292,
112,
521,
51,
4048,
51,
529,
538,
371,
51,
10093,
51,
671,
2230,
6872,
64,
222,
485,
785,
51,
637,
2575,
51,
3106,
8693,
51,
1184,
51,
2230,
64,
222,
485,
785,
51,
637,
2575,
51,
3106,
8693,
51,
1184,
51,
2222,
64,
222,
222,
485,
1401,
51,
1600,
51,
9069,
51,
1195,
64,
222,
485,
1401,
51,
1600,
51,
9069,
51,
1885,
64,
222,
485,
1401,
51,
1058,
51,
739,
64,
222,
222,
942,
462,
21723,
2769,
320,
465,
496,
14030,
15540,
18362,
411,
332,
1312,
2529,
15147,
303,
581,
924,
782,
1035,
36683,
45,
44314,
2837,
12814,
49,
9958,
3895,
49,
5409,
1431,
49,
2210,
1197,
4706,
46,
320,
310,
910,
655,
299,
3895,
51,
390,
4411,
577,
492,
310,
648,
3413,
299,
3895,
51,
390,
4411,
3026,
3468,
492,
603,
434,
327,
4902,
51,
390,
19278,
941,
4766,
45,
2222,
51,
6237,
509,
320,
343,
12814,
51,
27989,
6872,
45,
444,
49,
556,
5459,
2305,
6872,
65,
1089,
6939,
320,
419,
496,
1806,
419,
581,
782,
758,
1530,
45,
1089,
2221,
49,
648,
1989,
46,
320,
547,
4706,
96,
2897,
98,
299,
1989,
64,
547,
11324,
1885,
45,
1090,
49,
1431,
49,
4706,
312,
419,
339,
2125,
496,
1806,
419,
581,
782,
758,
1530,
45,
1089,
2221,
49,
5459,
1095,
739,
9660,
46,
320,
2125,
339,
343,
1141,
310,
339,
832,
434,
327,
42076,
2222,
45,
4902,
51,
390,
19278,
5183,
320,
343,
12814,
51,
27989,
6872,
45,
444,
49,
556,
5132,
2230,
6872,
65,
1089,
6939,
320,
419,
496,
1806,
419,
581,
782,
758,
1936,
45,
1089,
2221,
49,
496,
10082,
5132,
804,
46,
320,
547,
434,
327,
4902,
51,
390,
19278,
941,
4766,
45,
2222,
51,
10303,
509,
244,
320,
733,
4706,
96,
2897,
98,
299,
804,
51,
1832,
899,
492,
547,
339,
832,
320,
733,
4706,
96,
2897,
98,
299,
804,
51,
22777,
492,
547,
339,
547,
758,
45,
4902,
49,
2221,
49,
640,
3694,
45,
4902,
51,
43978,
6198,
4706,
312,
419,
339,
343,
1141,
310,
339,
832,
434,
327,
4902,
51,
390,
19278,
941,
4766,
45,
2222,
51,
39547,
509,
320,
343,
12814,
51,
27989,
6872,
45,
444,
49,
556,
17432,
2230,
6872,
65,
1089,
6939,
320,
419,
496,
1806,
419,
581,
782,
758,
9884,
45,
1089,
2221,
49,
1916,
8811,
46,
320,
547,
4706,
96,
2897,
98,
299,
8811,
64,
547,
758,
45,
4902,
49,
2221,
49,
640,
3694,
45,
4902,
51,
43978,
6198,
4706,
312,
419,
339,
343,
1141,
310,
339,
832,
434,
327,
4902,
51,
390,
19278,
941,
4766,
45,
2222,
51,
24812,
509,
320,
343,
12814,
51,
27989,
6872,
45,
444,
49,
556,
5080,
2230,
6872,
365,
320,
419,
496,
1806,
419,
581,
782,
758,
4718,
45,
1089,
2221,
49,
1922,
804,
46,
320,
547,
4706,
96,
2897,
98,
299,
804,
64,
547,
758,
45,
4902,
49,
2221,
49,
640,
3694,
45,
4902,
51,
43978,
6198,
4706,
312,
419,
339,
343,
1141,
310,
339,
832,
434,
327,
4902,
51,
390,
19278,
941,
4766,
45,
2222,
51,
5215,
509,
320,
343,
12814,
51,
27989,
6872,
45,
444,
49,
556,
910,
2230,
6872,
365,
320,
419,
496,
1806,
419,
581,
782,
758,
671,
45,
1089,
2221,
49,
910,
804,
46,
320,
547,
4706,
96,
2897,
98,
299,
804,
64,
547,
758,
45,
4902,
49,
2221,
49,
640,
3694,
45,
4902,
51,
43978,
6198,
4706,
312,
419,
339,
343,
1141,
310,
339,
244,
832,
434,
327,
4902,
51,
390,
19278,
941,
4766,
45,
2222,
51,
18565,
509,
320,
343,
12814,
51,
27989,
6872,
45,
444,
49,
556,
7827,
6872,
45,
4902,
51,
390,
2773,
3367,
1177,
320,
419,
496,
1806,
419,
581,
782,
4894,
45,
1089,
2221,
49,
648,
804,
46,
320,
547,
4706,
96,
2897,
98,
299,
804,
64,
547,
758,
45,
4902,
49,
2221,
49,
640,
3694,
45,
4902,
51,
43978,
6198,
4706,
312,
419,
339,
2125,
496,
1806,
419,
581,
782,
4894,
8394,
45,
1089,
2221,
49,
910,
804,
46,
320,
2125,
339,
343,
1141,
310,
339,
303,
339,
465,
496,
14030,
15540,
18362,
411,
332,
1312,
2529,
15147,
303,
581,
924,
782,
1035,
2773,
36683,
45,
44314,
2837,
12814,
49,
9958,
3895,
49,
5409,
1431,
49,
2210,
1197,
2822,
46,
320,
310,
1701,
65,
2222,
67,
15488,
299,
3895,
51,
390,
19278,
492,
310,
648,
3413,
299,
3895,
51,
390,
4411,
3026,
3468,
492,
603,
434,
1445,
17207,
51,
4766,
45,
2222,
51,
18565,
509,
320,
343,
1440,
556,
12134,
459,
4460,
1348,
1035,
33789,
563,
619,
3895,
708,
1200,
666,
619,
3858,
3895,
742,
310,
339,
603,
434,
327,
17207,
51,
4766,
45,
2222,
51,
26398,
509,
320,
343,
12814,
51,
27989,
6872,
45,
4902,
51,
390,
4411,
577,
1046,
556,
7827,
6872,
65,
1089,
1579,
4902,
51,
390,
2773,
3367,
1177,
320,
419,
496,
1806,
419,
581,
782,
4894,
45,
1089,
280,
2221,
49,
648,
804,
46,
320,
547,
2822,
96,
2897,
98,
299,
804,
64,
547,
758,
45,
4902,
49,
2221,
49,
640,
3694,
45,
4902,
51,
43978,
6198,
2822,
312,
419,
339,
2125,
496,
1806,
419,
581,
782,
4894,
8394,
45,
1089,
2221,
49,
910,
804,
46,
320,
547,
2822,
96,
2897,
98,
299,
8587,
608,
538,
371,
1237,
46,
2221,
51,
14722,
22293,
390,
16646,
365,
1031,
657,
390,
10186,
1089,
625,
45,
872,
312,
547,
758,
45,
4902,
49,
2221,
49,
640,
3694,
45,
4902,
51,
43978,
6198,
2822,
312,
419,
339,
343,
1141,
310,
339,
303,
339,
465,
1041,
294,
338,
17269,
4962,
341,
3895,
2224,
458,
4568,
391,
7560,
294,
588,
303,
964,
924,
1922,
458,
44838,
45,
739,
65,
2222,
67,
15488,
46,
320,
310,
434,
327,
17207,
51,
4766,
45,
2222,
51,
13770,
509,
320,
343,
461,
878,
64,
310,
339,
310,
461,
15488,
51,
4766,
45,
2222,
51,
10303,
312,
303,
339,
465,
1041,
294,
338,
1691,
341,
3895,
458,
331,
6385,
2822,
3895,
49,
580,
1118,
1614,
391,
758,
341,
1620,
451,
341,
11409,
2799,
462,
1623,
1373,
1145,
49,
294,
338,
580,
1118,
3252,
456,
341,
1431,
347,
341,
462,
294,
588,
303,
581,
924,
782,
758,
45,
2230,
3895,
49,
4340,
2221,
49,
1727,
11667,
1197,
462,
2799,
49,
2210,
1197,
2822,
46,
320,
310,
434,
327,
4902,
51,
316,
21875,
1177,
320,
343,
434,
327,
1090,
51,
390,
21875,
941,
9699,
941,
5175,
941,
3591,
45,
4902,
51,
390,
21875,
1359,
5183,
320,
419,
29721,
51,
21875,
6385,
2799,
299,
2221,
51,
390,
21875,
492,
419,
1614,
320,
547,
5697,
1620,
299,
6385,
2799,
51,
9699,
941,
36823,
1195,
45,
4902,
51,
390,
21759,
1052,
547,
1620,
51,
489,
45,
3106,
2799,
49,
2822,
96,
4902,
51,
390,
4411,
3026,
3468,
36584,
419,
339,
2385,
327,
26348,
1195,
1002,
542,
8961,
27123,
503,
46,
320,
547,
2681,
51,
106,
459,
4687,
2769,
411,
332,
12019,
391,
758,
6385,
2822,
63,
3021,
503,
312,
419,
339,
343,
339,
310,
339,
832,
320,
343,
11324,
1885,
45,
1090,
49,
640,
1885,
45,
1090,
51,
9699,
1046,
3895,
51,
390,
21759,
1046,
462,
2799,
490,
2822,
312,
310,
339,
303,
339,
465,
581,
924,
782,
11324,
1885,
45,
976,
1319,
49,
5409,
1431,
49,
2210,
1197,
2102,
46,
320,
310,
1614,
320,
343,
1431,
51,
7845,
45,
1491,
49,
2102,
312,
310,
339,
2385,
327,
1002,
503,
46,
320,
343,
2681,
51,
124,
459,
3414,
1089,
411,
332,
12019,
391,
758,
3895,
332,
494,
2681,
51,
390,
8432,
671,
45,
106,
894,
310,
339,
303,
339,
465,
1041,
294,
338,
31979,
341,
1431,
664,
341,
1565,
462,
49,
434,
666,
2448,
19849,
391,
2309,
580,
347,
341,
2952,
462,
51,
294,
338,
294,
338,
496,
620,
762,
434,
1431,
458,
666,
2448,
294,
588,
303,
581,
924,
5409,
640,
1885,
45,
1359,
1907,
2041,
4340,
67,
16486,
49,
910,
655,
49,
1727,
11667,
1197,
3406,
46,
320,
310,
5409,
1431,
299,
762,
64,
310,
1614,
320,
343,
1431,
299,
16486,
51,
36823,
1885,
45,
444,
49,
3406,
312,
310,
339,
2385,
327,
1002,
5091,
46,
320,
603,
339,
603,
434,
327,
1978,
630,
762,
46,
320,
343,
1614,
320,
419,
1431,
299,
16486,
51,
27847,
45,
444,
49,
3406,
312,
343,
339,
2385,
327,
1002,
5091,
46,
320,
1083,
339,
310,
339,
603,
461,
1431,
64,
303,
339,
465,
964,
924,
1175,
1727,
11667,
1197,
364,
36084,
299,
556,
1727,
11667,
1197,
320,
429,
51,
842,
49,
4514,
51,
842,
49,
1964,
51,
842,
49,
1916,
51,
842,
49,
3447,
51,
842,
49,
2082,
51,
842,
49,
1370,
51,
842,
1274,
303,
1276,
294,
338,
25316,
619,
1437,
451,
12114,
16783,
4492,
391,
4706,
294,
338,
496,
620,
762,
434,
619,
1067,
1421,
12341,
294,
588,
303,
581,
924,
1727,
11667,
1197,
640,
3694,
45,
671,
1197,
3406,
46,
320,
310,
1727,
11667,
1197,
2822,
299,
556,
1727,
1907,
8838,
5173,
51,
1340,
988,
310,
16167,
63,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
3406,
51,
1340,
64,
613,
2002,
320,
1083,
453,
8982,
1950,
434,
477,
462,
458,
331,
17135,
462,
343,
456,
327,
1359,
11667,
17135,
518,
364,
36084,
46,
320,
419,
434,
327,
19678,
51,
5175,
941,
3591,
45,
5173,
96,
110,
5310,
320,
547,
2822,
96,
110,
98,
299,
17135,
64,
547,
4056,
16167,
64,
419,
339,
343,
339,
1083,
1614,
320,
419,
2822,
96,
110,
98,
299,
1727,
51,
31918,
45,
5173,
96,
110,
2004,
343,
339,
2385,
327,
1359,
9941,
503,
46,
320,
419,
2681,
51,
124,
459,
3414,
1089,
411,
332,
12019,
391,
2309,
462,
332,
494,
3406,
96,
110,
2004,
419,
461,
762,
64,
343,
339,
310,
339,
310,
461,
2822,
64,
303,
339,
222,
130,
222
] |
[
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 1,810
| true
| 59.367508
| true
| true
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.