file_name
stringlengths 6
93
| file_path
stringlengths 57
282
| content
stringlengths 652
3.07M
| file_size
int64 695
3.15M
| language
stringclasses 1
value | extension
stringclasses 1
value | repo_name
stringlengths 7
89
| 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
| near_dups_stkv2_idx
sequencelengths 0
0
| input_ids
sequencelengths 301
890k
| attention_mask
sequencelengths 1
1
| n_tok
int64 301
890k
| longline
bool 2
classes | alpha
float64 0.92
89.3
| encoded
bool 2
classes | autogen
bool 1
class |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PrintLocationConfigRefVoCollection.java | /FileExtraction/Java_unseen/IMS-MAXIMS_openMAXIMS/Source Library/openmaxims_workspace/ValueObjects/src/ims/core/admin/vo/PrintLocationConfigRefVoCollection.java | //#############################################################################
//# #
//# Copyright (C) <2015> <IMS MAXIMS> #
//# #
//# This program is free software: you can redistribute it and/or modify #
//# it under the terms of the GNU Affero General Public License as #
//# published by the Free Software Foundation, either version 3 of the #
//# License, or (at your option) any later version. #
//# #
//# This program is distributed in the hope that it will be useful, #
//# but WITHOUT ANY WARRANTY; without even the implied warranty of #
//# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
//# GNU Affero General Public License for more details. #
//# #
//# You should have received a copy of the GNU Affero General Public License #
//# along with this program. If not, see <http://www.gnu.org/licenses/>. #
//# #
//# IMS MAXIMS provides absolutely NO GUARANTEE OF THE CLINICAL SAFTEY of #
//# this program. Users of this software do so entirely at their own risk. #
//# IMS MAXIMS only ensures the Clinical Safety of unaltered run-time #
//# software that it builds, deploys and maintains. #
//# #
//#############################################################################
//#EOH
// This code was generated by Barbara Worwood using IMS Development Environment (version 1.80 build 5589.25814)
// Copyright (C) 1995-2015 IMS MAXIMS. All rights reserved.
// WARNING: DO NOT MODIFY the content of this file
package ims.core.admin.vo;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.Iterator;
import ims.framework.enumerations.SortOrder;
/**
* Linked to core.admin.PrintLocationConfig business object (ID: 1004100049).
*/
public class PrintLocationConfigRefVoCollection extends ims.vo.ValueObjectCollection implements ims.domain.IDomainCollectionGetter, ims.vo.ImsCloneable, Iterable<PrintLocationConfigRefVo>
{
private static final long serialVersionUID = 1L;
private ArrayList<PrintLocationConfigRefVo> col = new ArrayList<PrintLocationConfigRefVo>();
public final String getBoClassName()
{
return "ims.core.admin.domain.objects.PrintLocationConfig";
}
public ims.domain.IDomainGetter[] getIDomainGetterItems()
{
ims.domain.IDomainGetter[] result = new ims.domain.IDomainGetter[col.size()];
col.toArray(result);
return result;
}
public boolean add(PrintLocationConfigRefVo value)
{
if(value == null)
return false;
if(this.col.indexOf(value) < 0)
{
return this.col.add(value);
}
return false;
}
public boolean add(int index, PrintLocationConfigRefVo value)
{
if(value == null)
return false;
if(this.col.indexOf(value) < 0)
{
this.col.add(index, value);
return true;
}
return false;
}
public void clear()
{
this.col.clear();
}
public void remove(int index)
{
this.col.remove(index);
}
public int size()
{
return this.col.size();
}
public int indexOf(PrintLocationConfigRefVo instance)
{
return col.indexOf(instance);
}
public PrintLocationConfigRefVo get(int index)
{
return this.col.get(index);
}
public boolean set(int index, PrintLocationConfigRefVo value)
{
if(value == null)
return false;
this.col.set(index, value);
return true;
}
public void remove(PrintLocationConfigRefVo instance)
{
if(instance != null)
{
int index = indexOf(instance);
if(index >= 0)
remove(index);
}
}
public boolean contains(PrintLocationConfigRefVo instance)
{
return indexOf(instance) >= 0;
}
public Object clone()
{
PrintLocationConfigRefVoCollection clone = new PrintLocationConfigRefVoCollection();
for(int x = 0; x < this.col.size(); x++)
{
if(this.col.get(x) != null)
clone.col.add((PrintLocationConfigRefVo)this.col.get(x).clone());
else
clone.col.add(null);
}
return clone;
}
public boolean isValidated()
{
return true;
}
public String[] validate()
{
return null;
}
public PrintLocationConfigRefVo[] toArray()
{
PrintLocationConfigRefVo[] arr = new PrintLocationConfigRefVo[col.size()];
col.toArray(arr);
return arr;
}
public PrintLocationConfigRefVoCollection sort()
{
return sort(SortOrder.ASCENDING);
}
public PrintLocationConfigRefVoCollection sort(SortOrder order)
{
return sort(new PrintLocationConfigRefVoComparator(order));
}
@SuppressWarnings("unchecked")
public PrintLocationConfigRefVoCollection sort(Comparator comparator)
{
Collections.sort(this.col, comparator);
return this;
}
public Iterator<PrintLocationConfigRefVo> iterator()
{
return col.iterator();
}
@Override
protected ArrayList getTypedCollection()
{
return col;
}
private class PrintLocationConfigRefVoComparator implements Comparator
{
private int direction = 1;
public PrintLocationConfigRefVoComparator()
{
this(SortOrder.ASCENDING);
}
public PrintLocationConfigRefVoComparator(SortOrder order)
{
if (order == SortOrder.DESCENDING)
{
this.direction = -1;
}
}
public int compare(Object obj1, Object obj2)
{
PrintLocationConfigRefVo voObj1 = (PrintLocationConfigRefVo)obj1;
PrintLocationConfigRefVo voObj2 = (PrintLocationConfigRefVo)obj2;
return direction*(voObj1.compareTo(voObj2));
}
}
}
| 6,010 | Java | .java | IMS-MAXIMS/openMAXIMS | 61 | 50 | 23 | 2014-06-12T12:04:02Z | 2020-07-31T09:34:49Z | a6b9b7bb83d2184e46a33c478dfda1fc7284e5de99b52a7add89af3252420e64 | [] | [
325,
19989,
8689,
222,
16802,
42053,
607,
222,
16802,
244,
2657,
327,
72,
46,
350,
55,
53,
54,
58,
67,
244,
350,
2348,
88,
7490,
2348,
88,
67,
22768,
607,
222,
16802,
42053,
607,
222,
16802,
244,
1369,
3477,
458,
3760,
2951,
63,
863,
902,
14081,
580,
480,
52,
290,
5370,
281,
607,
222,
16802,
244,
580,
1549,
341,
5974,
451,
341,
6994,
30994,
6153,
5062,
1196,
641,
2281,
607,
222,
16802,
244,
9582,
829,
341,
7834,
3870,
7120,
49,
3173,
1522,
244,
56,
451,
341,
981,
607,
222,
16802,
244,
1196,
49,
575,
327,
288,
1390,
2489,
46,
1364,
6146,
1522,
51,
10094,
607,
244,
222,
16802,
42053,
607,
222,
16802,
244,
1369,
3477,
458,
2744,
347,
341,
9850,
708,
580,
1118,
545,
6386,
49,
2052,
607,
222,
16802,
244,
1294,
4213,
2979,
9345,
64,
2895,
4462,
341,
4506,
14319,
451,
2281,
607,
222,
16802,
244,
7934,
575,
8114,
4800,
418,
7848,
7763,
51,
244,
2819,
341,
1485,
607,
222,
16802,
244,
6994,
30994,
6153,
5062,
1196,
456,
1851,
4261,
51,
7223,
607,
222,
16802,
42053,
607,
222,
16802,
244,
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
30994,
6153,
5062,
1196,
607,
222,
16802,
244,
7979,
642,
477,
3477,
51,
244,
1691,
666,
49,
2337,
350,
544,
574,
1516,
51,
10627,
51,
1107,
52,
4205,
28699,
283,
607,
222,
16802,
42053,
607,
222,
16802,
244,
457,
2758,
7490,
2348,
88,
7388,
39501,
4452,
26147,
802,
946,
1731,
74,
2258,
2906,
5052,
540,
12634,
377,
5999,
1731,
94,
451,
283,
607,
222,
16802,
244,
477,
3477,
51,
244,
14213,
451,
477,
2951,
764,
1278,
22793,
840,
3641,
4387,
19916,
51,
244,
607,
222,
16802,
244,
457,
2758,
7490,
2348,
88,
1773,
26085,
341,
409,
1823,
1599,
377,
21778,
451,
725,
17776,
337,
1441,
50,
1021,
370,
607,
222,
16802,
244,
2951,
708,
580,
13968,
49,
428,
44513,
480,
48573,
51,
10094,
607,
222,
16802,
42053,
607,
222,
325,
19989,
8689,
222,
16802,
10207,
77,
222,
325,
1369,
1361,
1616,
4741,
829,
11489,
39305,
643,
290,
21100,
1493,
457,
2758,
15606,
10584,
327,
1687,
244,
54,
51,
61,
53,
1984,
244,
58,
58,
61,
62,
51,
55,
58,
61,
54,
57,
46,
222,
325,
2657,
327,
72,
46,
244,
54,
62,
62,
58,
50,
55,
53,
54,
58,
457,
2758,
7490,
2348,
88,
51,
3381,
4760,
5225,
51,
222,
325,
18226,
63,
4103,
2387,
24110,
341,
1813,
451,
477,
822,
222,
222,
1337,
3987,
120,
51,
1284,
51,
2317,
51,
2103,
64,
222,
222,
485,
1401,
51,
1058,
51,
7119,
64,
222,
485,
1401,
51,
1058,
51,
4293,
64,
222,
485,
1401,
51,
1058,
51,
18676,
64,
222,
485,
1401,
51,
1058,
51,
5740,
64,
222,
485,
3987,
120,
51,
2863,
51,
3880,
284,
1014,
51,
45115,
64,
222,
222,
1350,
222,
338,
18218,
391,
5305,
51,
2317,
51,
4026,
2941,
1081,
12609,
1319,
327,
798,
63,
244,
54,
53,
53,
57,
54,
53,
53,
53,
57,
62,
566,
222,
588,
222,
942,
462,
9232,
2941,
1081,
2099,
12536,
2272,
2041,
3987,
120,
51,
2103,
51,
43984,
2272,
4584,
3987,
120,
51,
4136,
51,
798,
2182,
2272,
11722,
49,
3987,
120,
51,
2103,
51,
78,
893,
11533,
463,
49,
19208,
65,
4026,
2941,
1081,
2099,
12536,
67,
222,
128,
222,
221,
2072,
924,
1175,
1964,
19896,
299,
244,
54,
81,
64,
499,
221,
2072,
5068,
65,
4026,
2941,
1081,
2099,
12536,
67,
956,
299,
556,
5068,
65,
4026,
2941,
1081,
2099,
12536,
2938,
222,
221,
942,
1175,
910,
640,
5558,
8478,
365,
222,
221,
128,
376,
221,
620,
332,
16178,
51,
1284,
51,
2317,
51,
4136,
51,
5754,
51,
4026,
2941,
1081,
884,
222,
221,
130,
222,
221,
942,
3987,
120,
51,
4136,
51,
798,
2182,
11722,
1197,
640,
798,
2182,
11722,
3648,
365,
222,
221,
128,
376,
221,
16178,
51,
4136,
51,
798,
2182,
11722,
1197,
1074,
299,
556,
3987,
120,
51,
4136,
51,
798,
2182,
11722,
96,
770,
51,
911,
22061,
376,
221,
770,
51,
14315,
45,
1285,
312,
376,
221,
620,
1074,
64,
222,
221,
130,
222,
221,
942,
1922,
1035,
45,
4026,
2941,
1081,
2099,
12536,
804,
46,
222,
221,
128,
376,
221,
344,
45,
872,
630,
762,
46,
374,
221,
620,
920,
64,
376,
221,
344,
45,
597,
51,
770,
51,
7149,
45,
872,
46,
350,
244,
53,
46,
376,
221,
128,
374,
221,
620,
477,
51,
770,
51,
688,
45,
872,
312,
376,
221,
130,
376,
221,
620,
920,
64,
222,
221,
130,
222,
221,
942,
1922,
1035,
45,
429,
1671,
49,
9232,
2941,
1081,
2099,
12536,
804,
46,
222,
221,
128,
376,
221,
344,
45,
872,
630,
762,
46,
374,
221,
620,
920,
64,
376,
221,
344,
45,
597,
51,
770,
51,
7149,
45,
872,
46,
350,
244,
53,
46,
376,
221,
128,
374,
221,
597,
51,
770,
51,
688,
45,
1076,
49,
804,
312,
374,
221,
620,
878,
64,
376,
221,
130,
376,
221,
620,
920,
64,
222,
221,
130,
222,
221,
942,
782,
4250,
365,
222,
221,
128,
376,
221,
597,
51,
770,
51,
3830,
492,
222,
221,
130,
222,
221,
942,
782,
3365,
45,
429,
1671,
46,
222,
221,
128,
376,
221,
597,
51,
770,
51,
2564,
45,
1076,
312,
222,
221,
130,
222,
221,
942,
648,
1354,
365,
222,
221,
128,
376,
221,
620,
477,
51,
770,
51,
911,
492,
222,
221,
130,
222,
221,
942,
648,
40597,
45,
4026,
2941,
1081,
2099,
12536,
1998,
46,
222,
221,
128,
376,
221,
620,
956,
51,
7149,
45,
2403,
312,
222,
221,
130,
222,
221,
942,
9232,
2941,
1081,
2099,
12536,
640,
45,
429,
1671,
46,
222,
221,
128,
376,
221,
620,
477,
51,
770,
51,
390,
45,
1076,
312,
222,
221,
130,
222,
221,
942,
1922,
758,
45,
429,
1671,
49,
9232,
2941,
1081,
2099,
12536,
804,
46,
222,
221,
128,
376,
221,
344,
45,
872,
630,
762,
46,
374,
221,
620,
920,
64,
376,
221,
597,
51,
770,
51,
489,
45,
1076,
49,
804,
312,
376,
221,
620,
878,
64,
222,
221,
130,
222,
221,
942,
782,
3365,
45,
4026,
2941,
1081,
2099,
12536,
1998,
46,
222,
221,
128,
376,
221,
344,
45,
2403,
882,
762,
46,
376,
221,
128,
374,
221,
429,
1671,
299,
40597,
45,
2403,
312,
374,
221,
344,
45,
1076,
2394,
244,
53,
46,
621,
221,
2564,
45,
1076,
312,
376,
221,
130,
222,
221,
130,
222,
221,
942,
1922,
4326,
45,
4026,
2941,
1081,
2099,
12536,
1998,
46,
222,
221,
128,
376,
221,
620,
40597,
45,
2403,
46,
2394,
244,
53,
64,
222,
221,
130,
222,
221,
942,
2210,
7905,
365,
222,
221,
128,
376,
221,
4026,
2941,
1081,
2099,
12536,
2272,
7905,
299,
556,
9232,
2941,
1081,
2099,
12536,
2272,
492,
1332,
221,
999,
45,
429,
837,
299,
244,
53,
64,
837,
350,
477,
51,
770,
51,
911,
492,
837,
2002,
376,
221,
128,
374,
221,
344,
45,
597,
51,
770,
51,
390,
45,
125,
46,
882,
762,
46,
621,
221,
6371,
51,
770,
51,
688,
1181,
4026,
2941,
1081,
2099,
12536,
46,
597,
51,
770,
51,
390,
45,
125,
566,
6371,
1052,
374,
221,
728,
621,
221,
6371,
51,
770,
51,
688,
45,
1710,
312,
376,
221,
130,
376,
221,
620,
7905,
64,
222,
221,
130,
222,
221,
942,
1922,
20424,
751,
365,
222,
221,
128,
376,
221,
620,
878,
64,
222,
221,
130,
222,
221,
942,
910,
1197,
6051,
365,
222,
221,
128,
376,
221,
620,
762,
64,
222,
221,
130,
222,
221,
942,
9232,
2941,
1081,
2099,
12536,
1197,
391,
1280,
365,
222,
221,
128,
376,
221,
4026,
2941,
1081,
2099,
12536,
1197,
5941,
299,
556,
9232,
2941,
1081,
2099,
12536,
96,
770,
51,
911,
22061,
376,
221,
770,
51,
14315,
45,
865,
312,
376,
221,
620,
5941,
64,
222,
221,
130,
222,
221,
942,
9232,
2941,
1081,
2099,
12536,
2272,
3873,
365,
222,
221,
128,
376,
221,
620,
3873,
45,
45115,
51,
17563,
38898,
312,
222,
221,
130,
222,
221,
942,
9232,
2941,
1081,
2099,
12536,
2272,
3873,
45,
45115,
2554,
46,
222,
221,
128,
376,
221,
620,
3873,
45,
909,
9232,
2941,
1081,
2099,
12536,
18676,
45,
1191,
894,
222,
221,
130,
222,
221,
69,
14030,
459,
18362,
678,
222,
221,
942,
9232,
2941,
1081,
2099,
12536,
2272,
3873,
45,
18676,
35614,
46,
222,
221,
128,
376,
221,
4293,
51,
3349,
45,
597,
51,
770,
49,
35614,
312,
376,
221,
620,
477,
64,
222,
221,
130,
222,
221,
942,
14730,
65,
4026,
2941,
1081,
2099,
12536,
67,
10033,
365,
222,
221,
128,
376,
221,
620,
956,
51,
5174,
492,
222,
221,
130,
222,
221,
69,
1806,
222,
221,
5332,
5068,
640,
11848,
2272,
365,
222,
221,
128,
376,
221,
620,
956,
64,
222,
221,
130,
222,
221,
2072,
462,
9232,
2941,
1081,
2099,
12536,
18676,
4584,
34839,
222,
221,
128,
376,
221,
2072,
648,
6999,
299,
244,
54,
64,
376,
221,
942,
9232,
2941,
1081,
2099,
12536,
18676,
365,
376,
221,
128,
374,
221,
597,
45,
45115,
51,
17563,
38898,
312,
376,
221,
130,
376,
221,
942,
9232,
2941,
1081,
2099,
12536,
18676,
45,
45115,
2554,
46,
376,
221,
128,
374,
221,
344,
327,
1191,
630,
11899,
2888,
51,
12360,
38898,
46,
374,
221,
128,
621,
221,
597,
51,
7366,
299,
449,
54,
64,
374,
221,
130,
376,
221,
130,
376,
221,
942,
648,
8910,
45,
976,
2847,
54,
49,
2210,
2847,
55,
46,
376,
221,
128,
374,
221,
4026,
2941,
1081,
2099,
12536,
9180,
3287,
54,
299,
327,
4026,
2941,
1081,
2099,
12536,
46,
2085,
54,
64,
374,
221,
4026,
2941,
1081,
2099,
12536,
9180,
3287,
55,
299,
327,
4026,
2941,
1081,
2099,
12536,
46,
2085,
55,
64,
374,
221,
620,
6999,
8170,
2103,
3287,
54,
51,
23879,
45,
2103,
3287,
55,
894,
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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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,616 | true | 62.047055 | true | true |
jmp_Jd.java | /FileExtraction/Java_unseen/ianopolous_JPC/src/org/jpc/emulator/execution/opcodes/pm/jmp_Jd.java | /*
JPC: An x86 PC Hardware Emulator for a pure Java Virtual Machine
Copyright (C) 2012-2013 Ian Preston
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version 2 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.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Details (including contact information) can be found at:
jpc.sourceforge.net
or the developer website
sourceforge.net/projects/jpc/
End of licence header
*/
package org.jpc.emulator.execution.opcodes.pm;
import org.jpc.emulator.execution.*;
import org.jpc.emulator.execution.decoder.*;
import org.jpc.emulator.processor.*;
import org.jpc.emulator.processor.fpu64.*;
import static org.jpc.emulator.processor.Processor.*;
public class jmp_Jd extends Executable
{
final int jmp;
final int blockLength;
final int instructionLength;
public jmp_Jd(int blockStart, int eip, int prefices, PeekableInputStream input)
{
super(blockStart, eip);
jmp = Modrm.Jd(input);
instructionLength = (int)input.getAddress()-eip;
blockLength = eip-blockStart+instructionLength;
}
public Branch execute(Processor cpu)
{
cpu.eip += blockLength;
int tmpEip = cpu.eip + jmp;
cpu.cs.checkAddress(tmpEip);
cpu.eip = tmpEip;
return Branch.T1;
}
public boolean isBranch()
{
return true;
}
public String toString()
{
return this.getClass().getName();
}
} | 1,973 | Java | .java | ianopolous/JPC | 384 | 67 | 8 | 2010-01-10T12:42:22Z | 2023-09-16T01:31:31Z | 3b3366a5b222487006faf8fc0d770791371706e235299e8c398e6e030b7f3fea | [] | [
1127,
303,
990,
3446,
63,
2262,
837,
61,
59,
14027,
30645,
14866,
7901,
456,
331,
12482,
4957,
13675,
13713,
465,
2657,
327,
72,
46,
244,
55,
53,
54,
55,
50,
55,
53,
54,
56,
457,
297,
466,
4756,
286,
465,
1369,
3477,
458,
3760,
2951,
64,
863,
902,
14081,
580,
480,
52,
290,
5370,
303,
580,
1549,
341,
5974,
451,
341,
6994,
6153,
5062,
1196,
1522,
244,
55,
641,
9582,
829,
303,
341,
7834,
3870,
7120,
51,
465,
1369,
3477,
458,
2744,
347,
341,
9850,
708,
580,
1118,
545,
6386,
49,
303,
1294,
4213,
2979,
9345,
64,
2895,
4462,
341,
4506,
14319,
451,
303,
7934,
575,
8114,
4800,
418,
7848,
7763,
51,
244,
2819,
341,
303,
6994,
6153,
5062,
1196,
456,
1851,
4261,
51,
465,
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
6153,
5062,
1196,
7979,
303,
642,
477,
3477,
64,
434,
666,
49,
2886,
391,
341,
7834,
3870,
7120,
49,
6367,
4345,
294,
58,
54,
34113,
22321,
49,
33316,
26912,
49,
25006,
49,
13083,
244,
53,
55,
54,
54,
53,
50,
54,
56,
53,
54,
15067,
51,
27675,
13562,
327,
19994,
7272,
2490,
46,
902,
545,
2448,
840,
63,
19530,
614,
1982,
51,
21426,
51,
1317,
303,
575,
341,
14383,
9581,
303,
1932,
9499,
51,
1317,
52,
7327,
52,
111,
1982,
52,
465,
4733,
451,
39850,
3353,
222,
1975,
222,
222,
1337,
1105,
51,
111,
1982,
51,
46941,
51,
10526,
51,
539,
7800,
51,
4921,
64,
222,
222,
485,
1105,
51,
111,
1982,
51,
46941,
51,
10526,
7737,
222,
485,
1105,
51,
111,
1982,
51,
46941,
51,
10526,
51,
14937,
7737,
222,
485,
1105,
51,
111,
1982,
51,
46941,
51,
10093,
7737,
222,
485,
1105,
51,
111,
1982,
51,
46941,
51,
10093,
51,
107,
4059,
59,
57,
7737,
222,
485,
924,
1105,
51,
111,
1982,
51,
46941,
51,
10093,
51,
6872,
7737,
222,
222,
942,
462,
31284,
100,
40349,
2041,
6798,
7524,
222,
128,
303,
1175,
648,
31284,
64,
303,
1175,
648,
2181,
2396,
64,
303,
1175,
648,
12419,
2396,
64,
465,
581,
31284,
100,
40349,
45,
429,
2181,
2148,
49,
648,
503,
658,
49,
648,
15706,
1362,
49,
466,
5278,
463,
6989,
1533,
46,
303,
320,
310,
2615,
45,
1540,
2148,
49,
503,
658,
312,
310,
31284,
299,
5516,
3960,
51,
40349,
45,
1151,
312,
310,
12419,
2396,
299,
327,
429,
46,
1151,
51,
31228,
17681,
106,
658,
64,
310,
2181,
2396,
299,
503,
658,
50,
1540,
2148,
48,
18358,
2396,
64,
303,
339,
465,
581,
23721,
5755,
45,
6872,
10901,
46,
303,
320,
310,
10901,
51,
106,
658,
1475,
2181,
2396,
64,
310,
648,
3709,
74,
658,
299,
10901,
51,
106,
658,
494,
31284,
64,
310,
10901,
51,
1766,
51,
1571,
2455,
45,
2887,
74,
658,
312,
310,
10901,
51,
106,
658,
299,
3709,
74,
658,
64,
310,
461,
23721,
51,
89,
54,
64,
303,
339,
465,
581,
1922,
458,
10096,
365,
303,
320,
310,
461,
878,
64,
303,
339,
465,
581,
910,
11349,
365,
303,
320,
310,
461,
477,
51,
9699,
941,
5175,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 504 | true | 68.170299 | true | true |
WorldType.java | /FileExtraction/Java_unseen/CarbonNeuron_AIBot/src/ovh/tgrhavoc/aibot/world/WorldType.java | /*******************************************************************************
* Copyright (C) 2015 Jordan Dalton (jordan.8474@gmail.com)
*
* 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 ovh.tgrhavoc.aibot.world;
public enum WorldType {
DEFAULT("default"),
FLAT("flat"),
DEFAULT_1_1("default_1_1"),
LARGE_BIOMES("largeBiomes"),
AMPLIFIED("amplified");
private final String name;
private WorldType(String name) {
this.name = name;
}
public String getName() {
return name;
}
public static WorldType parseWorldType(String name) {
for(WorldType worldType : values())
if(worldType.getName().equals(name))
return worldType;
return null;
}
} | 1,478 | Java | .java | CarbonNeuron/AIBot | 42 | 15 | 1 | 2016-04-07T00:10:03Z | 2019-09-25T14:45:28Z | 2a34e40362a8d494d34eee0241c7bf9e18aa9c81f46266ea86598fa50f853cce | [] | [
28683,
222,
338,
281,
2657,
327,
72,
46,
244,
55,
53,
54,
58,
990,
46580,
493,
298,
955,
327,
111,
46580,
51,
61,
57,
60,
57,
69,
7265,
51,
527,
46,
222,
338,
222,
338,
281,
1369,
3477,
458,
3760,
2951,
64,
863,
902,
14081,
580,
480,
52,
290,
5370,
222,
338,
281,
580,
1549,
341,
5974,
451,
341,
6994,
6153,
5062,
1196,
641,
9582,
829,
222,
338,
281,
341,
7834,
3870,
7120,
64,
3173,
1522,
244,
55,
451,
341,
1196,
49,
575,
222,
338,
281,
327,
288,
1390,
2489,
46,
1364,
6146,
1522,
51,
222,
338,
222,
338,
281,
1369,
3477,
458,
2744,
347,
341,
9850,
708,
580,
1118,
545,
6386,
49,
222,
338,
281,
1294,
4213,
2979,
9345,
64,
2895,
4462,
341,
4506,
14319,
451,
222,
338,
281,
7934,
575,
8114,
4800,
418,
7848,
7763,
51,
244,
2819,
341,
222,
338,
281,
6994,
6153,
5062,
1196,
456,
1851,
4261,
51,
222,
338,
222,
338,
281,
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
6153,
5062,
1196,
7979,
222,
338,
281,
642,
477,
3477,
64,
434,
666,
49,
2886,
391,
341,
7834,
3870,
7120,
49,
6367,
4345,
222,
338,
665,
58,
54,
34113,
22321,
49,
33316,
26912,
49,
25006,
49,
13083,
244,
53,
55,
54,
54,
53,
50,
54,
56,
53,
54,
15067,
51,
222,
13533,
13214,
222,
1337,
356,
12766,
51,
121,
791,
3125,
561,
51,
102,
947,
385,
51,
5879,
64,
222,
222,
942,
3858,
10914,
638,
320,
222,
221,
5815,
459,
1555,
2132,
222,
221,
36051,
459,
6890,
2132,
222,
221,
5815,
100,
54,
100,
54,
459,
1555,
100,
54,
100,
54,
2132,
222,
221,
28551,
100,
34394,
6976,
459,
9397,
19615,
8037,
2132,
222,
221,
7116,
1816,
25025,
459,
778,
113,
1658,
742,
499,
221,
2072,
1175,
910,
655,
64,
499,
221,
2072,
10914,
638,
45,
671,
655,
46,
320,
376,
221,
597,
51,
444,
299,
655,
64,
222,
221,
130,
499,
221,
942,
910,
16389,
365,
320,
376,
221,
620,
655,
64,
222,
221,
130,
499,
221,
942,
924,
10914,
638,
3203,
6719,
638,
45,
671,
655,
46,
320,
376,
221,
999,
45,
6719,
638,
5810,
638,
518,
2102,
1177,
374,
221,
344,
45,
5879,
638,
51,
5175,
941,
3591,
45,
444,
509,
621,
221,
620,
5810,
638,
64,
376,
221,
620,
762,
64,
222,
221,
130,
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
]
] | 386 | true | 61.163735 | true | true |
ConfigFlags.java | /FileExtraction/Java_unseen/IMS-MAXIMS_openMAXIMS/Source Library/openmaxims_workspace-archive/Therapies/src/ims/therapies/forms/wheelchairskills/ConfigFlags.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
package ims.therapies.forms.wheelchairskills;
import java.io.Serializable;
public final class ConfigFlags extends ims.framework.FormConfigFlags implements Serializable
{
private static final long serialVersionUID = 1L;
public final STALE_OBJECT_MESSAGEClass STALE_OBJECT_MESSAGE;
public ConfigFlags(ims.framework.ConfigFlag configFlags)
{
super(configFlags);
STALE_OBJECT_MESSAGE = new STALE_OBJECT_MESSAGEClass(configFlags);
}
public final class STALE_OBJECT_MESSAGEClass implements Serializable
{
private static final long serialVersionUID = 1L;
private final ims.framework.ConfigFlag configFlags;
public STALE_OBJECT_MESSAGEClass(ims.framework.ConfigFlag configFlags)
{
this.configFlags = configFlags;
}
public String getValue()
{
return (String)configFlags.get("STALE_OBJECT_MESSAGE");
}
}
}
| 2,286 | Java | .java | IMS-MAXIMS/openMAXIMS | 61 | 50 | 23 | 2014-06-12T12:04:02Z | 2020-07-31T09:34:49Z | d7aa6bf970bf5902a4d78e583d9d9f40cad5543fb41a799f9a7eed0c5abda041 | [] | [
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,
1337,
3987,
120,
51,
987,
386,
753,
51,
8543,
51,
15666,
399,
2017,
25048,
64,
222,
222,
485,
1401,
51,
735,
51,
12644,
64,
222,
222,
942,
1175,
462,
3395,
4644,
2041,
3987,
120,
51,
2863,
51,
1260,
1081,
4644,
4584,
19182,
222,
128,
222,
221,
2072,
924,
1175,
1964,
19896,
299,
244,
54,
81,
64,
499,
221,
942,
1175,
3860,
14349,
100,
8469,
100,
9570,
1359,
3860,
14349,
100,
8469,
100,
9570,
64,
499,
221,
942,
3395,
4644,
45,
16178,
51,
2863,
51,
1081,
5266,
1377,
4644,
46,
222,
221,
128,
376,
221,
5282,
45,
1180,
4644,
312,
1332,
221,
654,
14349,
100,
8469,
100,
9570,
299,
556,
3860,
14349,
100,
8469,
100,
9570,
1359,
45,
1180,
4644,
312,
222,
221,
130,
499,
221,
942,
1175,
462,
3860,
14349,
100,
8469,
100,
9570,
1359,
4584,
19182,
222,
221,
128,
376,
221,
2072,
924,
1175,
1964,
19896,
299,
244,
54,
81,
64,
376,
221,
2072,
1175,
3987,
120,
51,
2863,
51,
1081,
5266,
1377,
4644,
64,
1332,
221,
942,
3860,
14349,
100,
8469,
100,
9570,
1359,
45,
16178,
51,
2863,
51,
1081,
5266,
1377,
4644,
46,
376,
221,
128,
374,
221,
597,
51,
1180,
4644,
299,
1377,
4644,
64,
376,
221,
130,
1332,
221,
942,
910,
21517,
365,
376,
221,
128,
374,
221,
620,
327,
671,
46,
1180,
4644,
51,
390,
459,
654,
14349,
100,
8469,
100,
9570,
742,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 472 | true | 51.662292 | true | true |
LaptopCart.java | /FileExtraction/Java_unseen/rahulrathore44_SeleniumCucumber/src/test/java/com/cucumber/framework/stepdefinition/LaptopCart.java | package com.cucumber.framework.stepdefinition;
import java.util.Map;
import com.cucumber.framework.helper.PageObject.homepage.HomePage;
import com.cucumber.framework.helper.PageObject.itemsbag.ItemsBag;
import com.cucumber.framework.helper.PageObject.userdetails.Userdetails;
import com.cucumber.framework.settings.ObjectRepo;
import cucumber.api.java.en.And;
import cucumber.api.java.en.Then;
public class LaptopCart {
private HomePage hPage;
private ItemsBag bag;
private Userdetails details;
@Then("^: I select the \"([^\"]*)\" with description as \"([^\"]*)\"$")
public void _i_select_the_something_with_description_as_something(
String itemName, String shortDesp) throws Throwable {
hPage = (HomePage) ObjectRepo.data.get("HomePage");
hPage.selectItem(itemName, shortDesp);
}
@And("^: Add it to the cart$")
public void _add_it_to_the_cart() throws Throwable {
bag = hPage.navigateToCart();
ObjectRepo.data.put("ItemsBag", bag);
}
@Then("^: Navigate to user details page and provide the following details$")
public void _navigate_to_user_details_page_and_provide_the_following_details(
Map<String, String> table) throws Throwable {
details = bag.reserveYourItem();
ObjectRepo.data.put("Userdetails", details);
details.journeyDetails(table.get("Destination"), table.get("Airline"),
table.get("FlightNo"), table.get("FlightTime"),
table.get("FlightDate"), table.get("Terminal"));
details.personalDetails(table.get("FirstName"), table.get("LastName"),
table.get("Email"), table.get("Phone"));
Thread.sleep(2000);
}
}
| 1,575 | Java | .java | rahulrathore44/SeleniumCucumber | 88 | 117 | 0 | 2016-08-14T11:36:46Z | 2023-11-12T11:45:32Z | 71f9e927f67a1530fb4864b97507a72fb04b1975741512fd917facd3c63cde2e | [] | [
1337,
785,
51,
39857,
51,
2863,
51,
3023,
7401,
64,
222,
222,
485,
1401,
51,
1058,
51,
1225,
64,
222,
222,
485,
785,
51,
39857,
51,
2863,
51,
4328,
51,
1983,
976,
51,
20211,
51,
33274,
64,
222,
485,
785,
51,
39857,
51,
2863,
51,
4328,
51,
1983,
976,
51,
3053,
14777,
51,
3648,
8206,
64,
222,
485,
785,
51,
39857,
51,
2863,
51,
4328,
51,
1983,
976,
51,
514,
3972,
51,
1259,
3972,
64,
222,
485,
785,
51,
39857,
51,
2863,
51,
3563,
51,
976,
9339,
64,
222,
222,
485,
300,
26732,
51,
1256,
51,
1874,
51,
291,
51,
2199,
64,
222,
485,
300,
26732,
51,
1256,
51,
1874,
51,
291,
51,
10695,
64,
222,
222,
942,
462,
43509,
1412,
9426,
320,
499,
221,
2072,
9531,
1983,
439,
1983,
64,
222,
221,
2072,
18898,
8206,
20664,
64,
222,
221,
2072,
2694,
3972,
4261,
64,
499,
221,
69,
10695,
29336,
63,
457,
2209,
341,
4045,
2034,
14808,
1465,
3746,
1508,
642,
3066,
641,
4045,
2034,
14808,
1465,
3746,
1508,
41,
678,
222,
221,
942,
782,
634,
110,
100,
1632,
100,
1402,
100,
20265,
100,
1814,
100,
2328,
100,
321,
100,
20265,
45,
374,
221,
671,
1641,
577,
49,
910,
4514,
1466,
117,
46,
2589,
9953,
320,
376,
221,
109,
1983,
299,
327,
33274,
46,
2210,
9339,
51,
624,
51,
390,
459,
33274,
742,
376,
221,
109,
1983,
51,
1632,
1114,
45,
39939,
49,
4514,
1466,
117,
312,
222,
221,
130,
499,
221,
69,
2199,
29336,
63,
2242,
580,
391,
341,
11430,
41,
678,
222,
221,
942,
782,
634,
688,
100,
302,
100,
471,
100,
1402,
100,
6835,
365,
2589,
9953,
320,
376,
221,
14777,
299,
439,
1983,
51,
20480,
724,
9426,
492,
376,
221,
976,
9339,
51,
624,
51,
543,
459,
3648,
8206,
411,
20664,
312,
222,
221,
130,
499,
221,
69,
10695,
29336,
63,
37839,
391,
1275,
4261,
1957,
480,
2372,
341,
2434,
4261,
41,
678,
222,
221,
942,
782,
634,
20480,
100,
471,
100,
514,
100,
3972,
100,
1655,
100,
382,
100,
15715,
100,
1402,
100,
29198,
100,
3972,
45,
374,
221,
1225,
65,
671,
49,
910,
67,
1877,
46,
2589,
9953,
320,
376,
221,
3972,
299,
20664,
51,
19854,
10195,
1114,
492,
376,
221,
976,
9339,
51,
624,
51,
543,
459,
1259,
3972,
411,
4261,
312,
376,
221,
3972,
51,
3613,
22036,
4375,
45,
1292,
51,
390,
459,
11351,
2132,
1877,
51,
390,
459,
14493,
948,
2132,
621,
221,
1292,
51,
390,
459,
23353,
2042,
2132,
1877,
51,
390,
459,
23353,
1061,
2132,
621,
221,
1292,
51,
390,
459,
23353,
1563,
2132,
1877,
51,
390,
459,
14527,
2992,
376,
221,
3972,
51,
19000,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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
]
] | 482 | true | 73.460317 | true | true |
JDK131ProgressBar.java | /FileExtraction/Java_unseen/Servoy_servoy-client/servoy_smart_client/src/com/servoy/j2db/util/gui/JDK131ProgressBar.java | /*
This file belongs to the Servoy development and deployment environment, Copyright (C) 1997-2010 Servoy BV
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 or write to the Free
Software Foundation,Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
*/
package com.servoy.j2db.util.gui;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.beans.PropertyChangeEvent;
import java.beans.PropertyChangeListener;
import javax.swing.JProgressBar;
import javax.swing.Timer;
/**
* A component that, by default, displays an integer value within a bounded interval. A progress bar typically communicates the progress of some work by
* displaying its percentage of completion and possibly a textual display of this percentage.
*
* <p>
*
* To indicate that a task of unknown length is executing, you can put a progress bar into indeterminate mode. While the bar is in indeterminate mode, it
* animates constantly to show that work is occurring. As soon as you can determine the task's length and amount of progress, you should update the progress
* bar's value and switch it back to determinate mode.
*
* <p>
*
* Here is an example of creating a progress bar, where <code>task</code> is an object that returns information about the progress of some work:
*
* <pre>
* rogressBar = new JProgressBar(0, task.getLengthOfTask());
* rogressBar.setValue(0);
* rogressBar.setStringPainted(true);
* </pre>
*
* Here is an example of updating the value of the progress bar:
*
* <pre>
* rogressBar.setValue(task.getCurrent());
* </pre>
*
* Here is an example of putting a progress bar into indeterminate mode, and then switching back to determinate mode once the length of the task is known:
*
* <pre>
* rogressBar = new JProgressBar();
* <em>
* ...//when the task of (initially) unknown length begins:
* </em>
* rogressBar.setIndeterminate(true);
* <em>
* ...//do some work; get length of task...
* </em>
* rogressBar.setMaximum(newLength);
* rogressBar.setValue(newValue);
* rogressBar.setIndeterminate(false);
* </pre>
*
* <p>
*
* For complete examples and further documentation see <a href="http://java.sun.com/docs/books/tutorial/uiswing/components/progress.html" target="_top">How to
* Monitor Progress</a>, a section in <em>The Java Tutorial.</em>
*
* <p>
* <strong>Warning:</strong> Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is
* appropriate for short term storage or RMI between applications running the same version of Swing. As of 1.4, support for long term storage of all JavaBeans<sup><font
* size="-2">TM</font></sup> has been added to the <code>java.beans</code> package. Please see {@link java.beans.XMLEncoder}.
*
* @see javax.swing.plaf.basic.BasicProgressBarUI
*
* @beaninfo attribute: isContainer false description: A component that displays an integer value.
*
* @author Michael C. Albers
* @author Kathy Walrath
*/
public class JDK131ProgressBar extends JProgressBar
{
public JDK131ProgressBar()
{
super();
}
/**
* Whether the progress bar is indeterminate (<code>true</code>) or normal (<code>false</code>); the default is <code>false</code>.
*
* @see #setIndeterminate
* @since 1.4
*/
private boolean indeterminate;
/**
* Sets the <code>indeterminate</code> property of the progress bar, which determines whether the progress bar is in determinate or indeterminate mode. An
* indeterminate progress bar continuously displays animation indicating that an operation of unknown length is occurring. By default, this property is
* <code>false</code>. Some look and feels might not support indeterminate progress bars; they will ignore this property.
*
* <p>
*
* See <a href="http://java.sun.com/docs/books/tutorial/uiswing/components/progress.html" target="_top">How to Monitor Progress</a> for examples of using
* indeterminate progress bars.
*
* @param newValue <code>true</code> if the progress bar should change to indeterminate mode; <code>false</code> if it should revert to normal.
*
* @see #isIndeterminate
* @see javax.swing.plaf.basic.BasicProgressBarUI
*
* @since 1.4
*
* @beaninfo bound: true attribute: visualUpdate true description: Set whether the progress bar is indeterminate (true) or normal (false).
*/
@Override
public void setIndeterminate(boolean newValue)
{
boolean oldValue = indeterminate;
indeterminate = newValue;
if (check == null)
{
PropertyChangeListener[] listners = getListeners(PropertyChangeListener.class);
for (PropertyChangeListener propertyChangeListener : listners)
{
if (propertyChangeListener.getClass().getName().endsWith("BasicProgressBarUI$PropertyChangeHandler")) //$NON-NLS-1$
{
//is 141
check = new Boolean(true);
break;
}
}
if (check == null)
{
//register our own listener
PropertyChangeHandler propertyListener = new PropertyChangeHandler();
addPropertyChangeListener(propertyListener);
check = new Boolean(true);
}
}
firePropertyChange("indeterminate", oldValue, indeterminate); //$NON-NLS-1$
}
private Boolean check = null;
private class PropertyChangeHandler implements PropertyChangeListener, ActionListener
{
private Timer longtimer;
private Timer shorttimer;
PropertyChangeHandler()
{
setMaximum(100);
}
public void propertyChange(PropertyChangeEvent e)
{
String prop = e.getPropertyName();
if ("indeterminate".equals(prop)) //$NON-NLS-1$
{
if (isIndeterminate())
{
longtimer = new Timer(2000, this);
longtimer.setRepeats(true);
longtimer.start();
shorttimer = new Timer(400, this);
shorttimer.setRepeats(true);
actionPerformed(null);
}
else
{
longtimer.stop();
shorttimer.stop();
setValue(0);
}
}
}
public void actionPerformed(ActionEvent e)
{
if (getValue() == 100)
{
setValue(0);
shorttimer.stop();
}
else
{
setValue(100);
shorttimer.start();
}
repaint();
}
}
/**
* Returns the value of the <code>indeterminate</code> property.
*
* @return the value of the <code>indeterminate</code> property
* @see #setIndeterminate
*
* @since 1.4
*
* @beaninfo description: Is the progress bar indeterminate (true) or normal (false)?
*/
@Override
public boolean isIndeterminate()
{
return indeterminate;
}
}
| 7,287 | Java | .java | Servoy/servoy-client | 11 | 7 | 5 | 2014-06-28T20:01:53Z | 2024-05-09T08:44:00Z | b8f18f0e2878c4ba39201509897eed5f4f6dd66beaa5346090f4a56304faf343 | [] | [
1127,
222,
1369,
822,
17739,
391,
341,
2074,
15664,
8230,
480,
10964,
4730,
49,
2657,
327,
72,
46,
244,
54,
62,
62,
60,
50,
55,
53,
54,
53,
2074,
15664,
570,
91,
499,
1369,
3477,
458,
3760,
2951,
64,
863,
902,
14081,
580,
480,
52,
290,
5370,
580,
1549,
222,
341,
5974,
451,
341,
6994,
30994,
6153,
5062,
1196,
641,
9582,
829,
341,
7834,
222,
3870,
7120,
64,
3173,
1522,
244,
56,
451,
341,
1196,
49,
575,
327,
288,
1390,
2489,
46,
1364,
222,
6146,
1522,
51,
499,
1369,
3477,
458,
2744,
347,
341,
9850,
708,
580,
1118,
545,
6386,
49,
1294,
4213,
222,
2979,
9345,
64,
2895,
4462,
341,
4506,
14319,
451,
7934,
575,
8114,
222,
4800,
418,
7848,
7763,
51,
2819,
341,
6994,
30994,
6153,
5062,
1196,
456,
1851,
4261,
51,
499,
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
30994,
6153,
5062,
1196,
7979,
222,
642,
477,
3477,
64,
434,
666,
49,
2337,
1930,
574,
1516,
51,
10627,
51,
1107,
52,
4205,
575,
2886,
391,
341,
7834,
222,
3870,
7120,
49,
16469,
4345,
244,
58,
54,
34113,
22321,
49,
33316,
26912,
49,
25006,
49,
13083,
244,
53,
55,
54,
54,
53,
50,
54,
56,
53,
54,
222,
1975,
222,
1337,
785,
51,
1682,
19009,
51,
111,
55,
1219,
51,
1058,
51,
8472,
64,
499,
222,
485,
1401,
51,
8236,
51,
1585,
51,
18126,
64,
222,
485,
1401,
51,
8236,
51,
1585,
51,
17317,
64,
222,
485,
1401,
51,
9580,
51,
1667,
25211,
64,
222,
485,
1401,
51,
9580,
51,
1667,
17089,
64,
222,
222,
485,
3698,
51,
5934,
51,
79,
23562,
64,
222,
485,
3698,
51,
5934,
51,
6423,
64,
499,
222,
1350,
222,
338,
418,
2595,
708,
49,
829,
1263,
49,
20191,
619,
5009,
804,
4824,
331,
48220,
7917,
51,
418,
6551,
5710,
18258,
15265,
1218,
341,
6551,
451,
1649,
1409,
829,
222,
338,
25972,
2840,
17773,
451,
13362,
480,
19698,
331,
1367,
1050,
2540,
451,
477,
17773,
51,
222,
338,
1676,
338,
350,
117,
67,
222,
338,
1676,
338,
2634,
14197,
708,
331,
2918,
451,
8675,
3124,
458,
16952,
49,
863,
902,
4180,
331,
6551,
5710,
2012,
347,
43968,
2945,
51,
16171,
341,
5710,
458,
347,
347,
43968,
2945,
49,
580,
222,
338,
12539,
1218,
8100,
651,
391,
2539,
708,
1409,
458,
13820,
2601,
51,
2915,
11716,
641,
863,
902,
9949,
341,
2918,
1200,
3124,
480,
5190,
451,
6551,
49,
863,
1414,
1991,
341,
6551,
222,
338,
5710,
1200,
804,
480,
3593,
580,
1769,
391,
8106,
351,
2945,
51,
222,
338,
1676,
338,
350,
117,
67,
222,
338,
1676,
338,
9597,
458,
619,
2301,
451,
6913,
331,
6551,
5710,
49,
2174,
350,
707,
67,
2810,
396,
707,
67,
458,
619,
1319,
708,
3235,
2490,
2645,
341,
6551,
451,
1649,
1409,
63,
222,
338,
1676,
338,
350,
1023,
67,
222,
338,
1138,
2280,
2914,
299,
556,
990,
23562,
45,
53,
49,
2918,
51,
30031,
1436,
2265,
1052,
222,
338,
1138,
2280,
2914,
51,
11534,
45,
53,
312,
222,
338,
1138,
2280,
2914,
51,
24341,
12297,
337,
45,
1527,
312,
222,
338,
594,
1023,
67,
222,
338,
1676,
338,
9597,
458,
619,
2301,
451,
13291,
341,
804,
451,
341,
6551,
5710,
63,
222,
338,
1676,
338,
350,
1023,
67,
222,
338,
1138,
2280,
2914,
51,
11534,
45,
2810,
51,
12344,
1052,
222,
338,
594,
1023,
67,
222,
338,
1676,
338,
9597,
458,
619,
2301,
451,
27464,
331,
6551,
5710,
2012,
347,
43968,
2945,
49,
480,
1636,
24773,
1769,
391,
8106,
351,
2945,
5065,
341,
3124,
451,
341,
2918,
458,
8998,
63,
222,
338,
1676,
338,
350,
1023,
67,
222,
338,
1138,
2280,
2914,
299,
556,
990,
23562,
492,
222,
338,
350,
423,
67,
222,
338,
2437,
325,
6045,
341,
2918,
451,
327,
1683,
6346,
46,
8675,
3124,
30695,
63,
222,
338,
594,
423,
67,
222,
338,
1138,
2280,
2914,
51,
489,
402,
43968,
45,
1527,
312,
222,
338,
350,
423,
67,
222,
338,
2437,
325,
1428,
1649,
1409,
64,
640,
3124,
451,
2918,
1198,
222,
338,
594,
423,
67,
222,
338,
1138,
2280,
2914,
51,
34654,
45,
909,
2396,
312,
222,
338,
1138,
2280,
2914,
51,
11534,
45,
25018,
312,
222,
338,
1138,
2280,
2914,
51,
489,
402,
43968,
45,
1886,
312,
222,
338,
594,
1023,
67,
222,
338,
1676,
338,
350,
117,
67,
222,
338,
1676,
338,
2643,
6179,
8322,
480,
9710,
4349,
2337,
350,
102,
995,
366,
544,
574,
1874,
51,
9886,
51,
527,
52,
2198,
52,
12278,
52,
10001,
52,
16154,
26460,
52,
3545,
52,
6668,
51,
935,
39,
1780,
5636,
1412,
432,
8276,
391,
222,
338,
16645,
15592,
396,
102,
2731,
331,
4193,
347,
350,
423,
67,
1338,
4957,
29038,
1746,
423,
67,
222,
338,
1676,
338,
350,
117,
67,
222,
338,
350,
2025,
67,
5722,
4018,
2025,
67,
45730,
4706,
451,
477,
462,
1118,
666,
545,
13039,
642,
7078,
6505,
318,
18448,
51,
906,
1565,
22672,
2208,
458,
222,
338,
9150,
456,
4514,
5626,
4780,
575,
578,
5899,
3761,
9275,
3991,
341,
2454,
1522,
451,
6505,
318,
51,
2915,
451,
244,
54,
51,
57,
49,
2208,
456,
1964,
5626,
4780,
451,
1187,
4957,
33270,
65,
5557,
789,
2204,
222,
338,
1354,
11186,
55,
432,
9043,
396,
2204,
873,
5557,
67,
1421,
2602,
3654,
391,
341,
350,
707,
67,
1874,
51,
9580,
396,
707,
67,
2670,
51,
5304,
2337,
3105,
1222,
1401,
51,
9580,
51,
5741,
8805,
4037,
222,
338,
1676,
338,
496,
2987,
3698,
51,
5934,
51,
576,
1566,
51,
6404,
51,
7114,
23562,
2299,
222,
338,
1676,
338,
496,
12455,
1357,
3895,
63,
458,
2894,
920,
3066,
63,
418,
2595,
708,
20191,
619,
5009,
804,
51,
222,
338,
1676,
338,
496,
2133,
29099,
409,
51,
2770,
3740,
222,
338,
496,
2133,
1242,
45999,
643,
298,
119,
569,
222,
588,
222,
942,
462,
33047,
54,
56,
54,
23562,
2041,
990,
23562,
222,
128,
222,
221,
942,
33047,
54,
56,
54,
23562,
365,
222,
221,
128,
376,
221,
5282,
492,
222,
221,
130,
499,
221,
1350,
376,
338,
14074,
341,
6551,
5710,
458,
347,
43968,
11310,
707,
67,
1527,
396,
707,
5111,
575,
4330,
11310,
707,
67,
1886,
396,
707,
19852,
341,
1263,
458,
350,
707,
67,
1886,
396,
707,
4513,
376,
338,
4517,
338,
496,
2987,
607,
489,
402,
43968,
376,
338,
496,
8152,
244,
54,
51,
57,
376,
588,
222,
221,
2072,
1922,
347,
43968,
64,
499,
221,
1350,
376,
338,
9023,
341,
350,
707,
67,
285,
43968,
396,
707,
67,
2821,
451,
341,
6551,
5710,
49,
1532,
24396,
4962,
341,
6551,
5710,
458,
347,
8106,
351,
575,
347,
43968,
2945,
51,
2262,
376,
338,
347,
43968,
6551,
5710,
20849,
651,
20191,
9265,
15285,
708,
619,
4231,
451,
8675,
3124,
458,
13820,
2601,
51,
4529,
1263,
49,
477,
2821,
458,
376,
338,
350,
707,
67,
1886,
396,
707,
4513,
4202,
2803,
480,
37400,
4816,
666,
2208,
347,
43968,
6551,
32042,
64,
2974,
1118,
5091,
477,
2821,
51,
376,
338,
4517,
338,
350,
117,
67,
376,
338,
4517,
338,
2819,
350,
102,
995,
366,
544,
574,
1874,
51,
9886,
51,
527,
52,
2198,
52,
12278,
52,
10001,
52,
16154,
26460,
52,
3545,
52,
6668,
51,
935,
39,
1780,
5636,
1412,
432,
8276,
391,
16645,
15592,
396,
102,
67,
456,
8322,
451,
1493,
376,
338,
347,
43968,
6551,
32042,
51,
376,
338,
4517,
338,
496,
772,
17772,
350,
707,
67,
1527,
396,
707,
67,
434,
341,
6551,
5710,
1414,
1557,
391,
347,
43968,
2945,
64,
350,
707,
67,
1886,
396,
707,
67,
434,
580,
1414,
25439,
391,
4330,
51,
376,
338,
4517,
338,
496,
2987,
607,
28831,
43968,
376,
338,
496,
2987,
3698,
51,
5934,
51,
576,
1566,
51,
6404,
51,
7114,
23562,
2299,
376,
338,
4517,
338,
496,
8152,
244,
54,
51,
57,
376,
338,
4517,
338,
496,
12455,
1357,
5105,
63,
878,
3895,
63,
8253,
2346,
878,
3066,
63,
1776,
4962,
341,
6551,
5710,
458,
347,
43968,
327,
1527,
46,
575,
4330,
327,
1886,
566,
376,
588,
222,
221,
69,
1806,
222,
221,
942,
782,
758,
402,
43968,
45,
4412,
17772,
46,
222,
221,
128,
376,
221,
4412,
31150,
299,
347,
43968,
64,
376,
221,
285,
43968,
299,
17772,
64,
1332,
221,
344,
327,
1571,
630,
762,
46,
376,
221,
128,
374,
221,
1667,
17089,
1197,
1168,
11831,
299,
640,
14625,
45,
1667,
17089,
51,
842,
312,
374,
221,
999,
327,
1667,
17089,
2821,
17089,
518,
1168,
11831,
46,
374,
221,
128,
621,
221,
344,
327,
2449,
17089,
51,
9699,
941,
5175,
941,
20982,
459,
7114,
23562,
2299,
41,
1667,
1810,
1985,
2152,
14062,
10012,
50,
18349,
50,
54,
41,
621,
221,
128,
596,
221,
325,
316,
244,
54,
57,
54,
596,
221,
1571,
299,
556,
5080,
45,
1527,
312,
596,
221,
2986,
64,
621,
221,
130,
374,
221,
130,
374,
221,
344,
327,
1571,
630,
762,
46,
374,
221,
128,
621,
221,
325,
3334,
3027,
4387,
7510,
621,
221,
1667,
1810,
1985,
2821,
2239,
299,
556,
6484,
1810,
1985,
492,
621,
221,
36538,
17089,
45,
2449,
2239,
312,
5033,
221,
1571,
299,
556,
5080,
45,
1527,
312,
374,
221,
130,
376,
221,
130,
376,
221,
5734,
1667,
1810,
459,
285,
43968,
411,
31150,
49,
347,
43968,
312,
14062,
10012,
50,
18349,
50,
54,
41,
222,
221,
130,
499,
221,
2072,
5080,
1524,
299,
762,
64,
499,
221,
2072,
462,
6484,
1810,
1985,
4584,
6484,
17089,
49,
41931,
222,
221,
128,
376,
221,
2072,
16327,
1964,
7222,
64,
376,
221,
2072,
16327,
4514,
7222,
64,
1332,
221,
1667,
1810,
1985,
365,
376,
221,
128,
374,
221,
34654,
45,
54,
53,
53,
312,
376,
221,
130,
1332,
221,
942,
782,
2821,
1810,
45,
1667,
25211,
503,
46,
376,
221,
128,
374,
221,
671,
7030,
299,
503,
51,
12712,
577,
492,
374,
221,
344,
2903,
285,
43968,
2316,
3591,
45,
4664,
509,
14062,
10012,
50,
18349,
50,
54,
41,
374,
221,
128,
621,
221,
344,
327,
28831,
43968,
1177,
621,
221,
128,
596,
221,
3239,
7222,
299,
556,
16327,
45,
55,
53,
53,
53,
49,
477,
312,
596,
221,
3239,
7222,
51,
489,
42397,
1990,
45,
1527,
312,
596,
221,
3239,
7222,
51,
1384,
492,
8905,
221,
4036,
7222,
299,
556,
16327,
45,
57,
53,
53,
49,
477,
312,
596,
221,
4036,
7222,
51,
489,
42397,
1990,
45,
1527,
312,
8905,
221,
1160,
15748,
45,
1710,
312,
621,
221,
130,
621,
221,
728,
621,
221,
128,
596,
221,
3239,
7222,
51,
4074,
492,
596,
221,
4036,
7222,
51,
4074,
492,
596,
221,
11534,
45,
53,
312,
621,
221,
130,
2556,
221,
130,
376,
221,
130,
1332,
221,
942,
782,
29546,
45,
18126,
503,
46,
376,
221,
128,
374,
221,
344,
327,
6693,
365,
630,
244,
54,
53,
53,
46,
374,
221,
128,
621,
221,
11534,
45,
53,
312,
621,
221,
4036,
7222,
51,
4074,
492,
374,
221,
130,
374,
221,
728,
374,
221,
128,
621,
221,
11534,
45,
54,
53,
53,
312,
621,
221,
4036,
7222,
51,
1384,
492,
374,
221,
130,
374,
221,
4332,
2043,
492,
376,
221,
130,
222,
221,
130,
499,
221,
1350,
376,
338,
3777,
341,
804,
451,
341,
350,
707,
67,
285,
43968,
396,
707,
67,
2821,
51,
376,
338,
4517,
338,
496,
620,
341,
804,
451,
341,
350,
707,
67,
285,
43968,
396,
707,
67,
2821,
376,
338,
496,
2987,
607,
489,
402,
43968,
376,
338,
4517,
338,
496,
8152,
244,
54,
51,
57,
376,
338,
4517,
338,
496,
12455,
1357,
3066,
63,
3626,
341,
6551,
5710,
347,
43968,
327,
1527,
46,
575,
4330,
327,
1886,
6506,
376,
588,
222,
221,
69,
1806,
222,
221,
942,
1922,
43337,
43968,
365,
222,
221,
128,
376,
221,
620,
347,
43968,
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,
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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,920 | true | 70.799717 | true | true |
FilesProductImagesJSON.java | /FileExtraction/Java_unseen/mihailsuntsov_dokiocrm_server/src/main/java/com/dokio/message/response/additional/FilesProductImagesJSON.java | /*
Dokio CRM - server part. Sales, finance and warehouse management system
Copyright (C) Mikhail Suntsov /mihail.suntsov@gmail.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.dokio.message.response.additional;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import javax.persistence.*;
import java.sql.Timestamp;
@Entity
public class FilesProductImagesJSON {
@Id
private Long id;
private String name;
private String original_name;
@JsonSerialize(using = com.dokio.util.JSONSerializer.class)
@JsonDeserialize(using = com.dokio.util.JSONDeserialize.class)
private Timestamp date_time_created;
private String output_order;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getOriginal_name() {
return original_name;
}
public void setOriginal_name(String original_name) {
this.original_name = original_name;
}
public Timestamp getDate_time_created() {
return date_time_created;
}
public void setDate_time_created(Timestamp date_time_created) {
this.date_time_created = date_time_created;
}
public String getOutput_order() {
return output_order;
}
public void setOutput_order(String output_order) {
this.output_order = output_order;
}
}
| 2,262 | Java | .java | mihailsuntsov/dokiocrm_server | 12 | 2 | 0 | 2020-09-10T19:44:24Z | 2024-05-04T19:30:48Z | 01afd7b8438cce94b2065c232fbb9272b335c93caec650c42ce76e1376ef7a15 | [] | [
1127,
310,
493,
1273,
735,
9975,
82,
449,
2160,
1760,
51,
25590,
49,
3770,
743,
480,
46339,
11151,
2684,
310,
2657,
327,
72,
46,
507,
1567,
109,
626,
377,
593,
780,
123,
536,
4557,
109,
626,
51,
120,
593,
780,
123,
69,
7265,
51,
527,
52,
603,
1369,
3477,
458,
3760,
2951,
63,
863,
902,
14081,
580,
480,
52,
290,
5370,
310,
580,
1549,
341,
5974,
451,
341,
6994,
30994,
6153,
5062,
1196,
641,
310,
9582,
829,
341,
7834,
3870,
7120,
49,
3173,
1522,
244,
56,
451,
341,
310,
1196,
49,
575,
327,
288,
1390,
2489,
46,
1364,
6146,
1522,
51,
603,
1369,
3477,
458,
2744,
347,
341,
9850,
708,
580,
1118,
545,
6386,
49,
310,
1294,
4213,
2979,
9345,
64,
2895,
4462,
341,
4506,
14319,
451,
310,
7934,
575,
8114,
4800,
418,
7848,
7763,
51,
244,
2819,
341,
310,
6994,
30994,
6153,
5062,
1196,
456,
1851,
4261,
51,
603,
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
30994,
6153,
5062,
1196,
310,
7979,
642,
477,
3477,
51,
244,
1691,
666,
49,
2337,
350,
662,
574,
1516,
51,
10627,
51,
1107,
52,
4205,
2056,
222,
1975,
222,
222,
1337,
785,
51,
34521,
735,
51,
1454,
51,
2003,
51,
12189,
64,
222,
222,
485,
785,
51,
15066,
51,
13353,
51,
21416,
51,
4341,
51,
2541,
17194,
64,
222,
485,
785,
51,
15066,
51,
13353,
51,
21416,
51,
4341,
51,
2541,
9511,
64,
222,
485,
3698,
51,
10782,
7737,
222,
485,
1401,
51,
2622,
51,
7477,
64,
222,
222,
69,
2234,
222,
942,
462,
11105,
3420,
9622,
3275,
320,
465,
496,
625,
303,
964,
6374,
828,
64,
303,
964,
910,
655,
64,
303,
964,
910,
4732,
100,
444,
64,
303,
496,
2541,
9511,
45,
927,
299,
785,
51,
34521,
735,
51,
1058,
51,
3275,
7271,
51,
842,
46,
303,
496,
2541,
17194,
45,
927,
299,
785,
51,
34521,
735,
51,
1058,
51,
3275,
17194,
51,
842,
46,
303,
964,
18367,
2361,
100,
1021,
100,
4536,
64,
303,
964,
910,
1716,
100,
1191,
64,
465,
581,
6374,
19832,
365,
320,
310,
461,
828,
64,
303,
339,
465,
581,
782,
29452,
45,
3967,
828,
46,
320,
310,
477,
51,
333,
299,
828,
64,
303,
339,
465,
581,
910,
16389,
365,
320,
310,
461,
655,
64,
303,
339,
465,
581,
782,
28331,
45,
671,
655,
46,
320,
310,
477,
51,
444,
299,
655,
64,
303,
339,
465,
581,
910,
640,
11313,
100,
444,
365,
320,
310,
461,
4732,
100,
444,
64,
303,
339,
465,
581,
782,
758,
11313,
100,
444,
45,
671,
4732,
100,
444,
46,
320,
310,
477,
51,
7351,
100,
444,
299,
4732,
100,
444,
64,
303,
339,
465,
581,
18367,
640,
1563,
100,
1021,
100,
4536,
365,
320,
310,
461,
2361,
100,
1021,
100,
4536,
64,
303,
339,
465,
581,
782,
758,
1563,
100,
1021,
100,
4536,
45,
7477,
2361,
100,
1021,
100,
4536,
46,
320,
310,
477,
51,
787,
100,
1021,
100,
4536,
299,
2361,
100,
1021,
100,
4536,
64,
303,
339,
465,
581,
910,
640,
2319,
100,
1191,
365,
320,
310,
461,
1716,
100,
1191,
64,
303,
339,
465,
581,
782,
758,
2319,
100,
1191,
45,
671,
1716,
100,
1191,
46,
320,
310,
477,
51,
2051,
100,
1191,
299,
1716,
100,
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
]
] | 539 | true | 68.21397 | true | true |
TranslateGroupManuallyPanel.java | /FileExtraction/Java_unseen/PreibischLab_BigStitcher/src/main/java/net/preibisch/stitcher/gui/TranslateGroupManuallyPanel.java | /*-
* #%L
* Multiview stitching of large datasets.
* %%
* Copyright (C) 2016 - 2024 Big Stitcher developers.
* %%
* 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%
*/
package net.preibisch.stitcher.gui;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.event.WindowEvent;
import java.util.Collection;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import javax.swing.BorderFactory;
import javax.swing.BoxLayout;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JOptionPane;
import javax.swing.JPanel;
import javax.swing.JSlider;
import javax.swing.JTextField;
import javax.swing.event.ChangeListener;
import com.google.common.base.Strings;
import bdv.SpimSource;
import bdv.tools.transformation.TransformedSource;
import bdv.viewer.Source;
import bdv.viewer.state.SourceState;
import mpicbg.spim.data.generic.AbstractSpimData;
import mpicbg.spim.data.generic.sequence.BasicViewDescription;
import mpicbg.spim.data.generic.sequence.BasicViewSetup;
import mpicbg.spim.data.registration.ViewRegistration;
import mpicbg.spim.data.registration.ViewTransformAffine;
import mpicbg.spim.data.sequence.ViewId;
import net.imglib2.Interval;
import net.imglib2.realtransform.AffineTransform3D;
import net.preibisch.mvrecon.fiji.spimdata.SpimData2;
import net.preibisch.mvrecon.fiji.spimdata.explorer.FilteredAndGroupedExplorerPanel;
import net.preibisch.mvrecon.fiji.spimdata.explorer.SelectedViewDescriptionListener;
import net.preibisch.mvrecon.fiji.spimdata.explorer.popup.BDVPopup;
import net.preibisch.mvrecon.fiji.spimdata.explorer.popup.BasicBDVPopup;
import net.preibisch.mvrecon.process.boundingbox.BoundingBoxMaximal;
import net.preibisch.stitcher.algorithm.TransformTools;
public class TranslateGroupManuallyPanel extends JPanel implements SelectedViewDescriptionListener< AbstractSpimData< ? > >
{
private static final long serialVersionUID = 1L;
private final static AffineTransform3D identity = new AffineTransform3D();
private final static int conversionFactor = 10;
private final static double eps = 0.001;
private final static int VALUE_TEXT_LEN = 6;
private final Set< ViewId > selected;
private SpimData2 data;
private AffineTransform3D theTransform;
private Interval bb;
private BasicBDVPopup bdvPopup;
private JFrame parent;
private JSlider xslider;
private JSlider yslider;
private JSlider zslider;
private JLabel xValueTextField;
private JLabel yValueTextField;
private JLabel zValueTextField;
public TranslateGroupManuallyPanel(SpimData2 data, Collection< ? extends ViewId > selectedInitial, BasicBDVPopup bdvPopup, JFrame parent)
{
this.parent = parent;
this.data = data;
this.bdvPopup = bdvPopup;
theTransform = new AffineTransform3D();
selected = new HashSet<>();
selected.addAll( selectedInitial );
bb = new BoundingBoxMaximal( selected, data ).estimate( "" );
initGUI();
}
private void initGUI()
{
this.setLayout( new BoxLayout( this, BoxLayout.PAGE_AXIS ) );
this.setBorder( BorderFactory.createEmptyBorder( 10, 20, 10, 20 ) );
if (bb != null)
{
xslider = new JSlider( - (int) bb.dimension( 0 ) * conversionFactor, (int) bb.dimension( 0 ) * conversionFactor, 0 );
yslider = new JSlider( - (int) bb.dimension( 1 ) * conversionFactor, (int) bb.dimension( 1 ) * conversionFactor, 1 );
zslider = new JSlider( - (int) bb.dimension( 2 ) * conversionFactor, (int) bb.dimension( 2 ) * conversionFactor, 2 );
}
else
{
xslider = new JSlider(-1, 1, 0);
yslider = new JSlider(-1, 1, 0);
zslider = new JSlider(-1, 1, 0);
xslider.setEnabled( false );
yslider.setEnabled( false );
zslider.setEnabled( false );
}
xslider.setPreferredSize( new Dimension( 300, 20 ) );
yslider.setPreferredSize( new Dimension( 300, 20 ) );
zslider.setPreferredSize( new Dimension( 300, 20 ) );
xslider.addChangeListener( event -> slidersUpdated());
yslider.addChangeListener( event -> slidersUpdated());
zslider.addChangeListener( event -> slidersUpdated());
xValueTextField = new JLabel( padLeft( "0.0", VALUE_TEXT_LEN ) );
yValueTextField = new JLabel( padLeft( "0.0", VALUE_TEXT_LEN ) );
zValueTextField = new JLabel( padLeft( "0.0", VALUE_TEXT_LEN ) );
xValueTextField.setFont(new Font(Font.MONOSPACED, Font.PLAIN, 12));
yValueTextField.setFont(new Font(Font.MONOSPACED, Font.PLAIN, 12));
zValueTextField.setFont(new Font(Font.MONOSPACED, Font.PLAIN, 12));
final JPanel xSliderPanel = new JPanel();
xSliderPanel.setLayout( new BoxLayout( xSliderPanel, BoxLayout.LINE_AXIS ) );
xSliderPanel.add( new JLabel( "X: " ) );
xSliderPanel.add( xslider );
xSliderPanel.add( xValueTextField );
final JPanel ySliderPanel = new JPanel();
ySliderPanel.setLayout( new BoxLayout( ySliderPanel, BoxLayout.LINE_AXIS ) );
ySliderPanel.add( new JLabel( "Y: " ) );
ySliderPanel.add( yslider );
ySliderPanel.add( yValueTextField );
final JPanel zSliderPanel = new JPanel();
zSliderPanel.setLayout( new BoxLayout( zSliderPanel, BoxLayout.LINE_AXIS ) );
zSliderPanel.add( new JLabel( "Z: " ) );
zSliderPanel.add( zslider );
zSliderPanel.add( zValueTextField );
this.add( xSliderPanel );
this.add( ySliderPanel );
this.add( zSliderPanel );
final JPanel footer = new JPanel();
footer.setLayout( new BoxLayout( footer, BoxLayout.LINE_AXIS ) );
footer.setBorder( BorderFactory.createEmptyBorder( 10, 0, 0, 0 ) );
final JButton applyButton = new JButton( "Apply" );
final JButton closeButton = new JButton( "Close" );
applyButton.addActionListener( event -> applyTranslation() );
closeButton.addActionListener( event -> quit() );
footer.add( closeButton );
footer.add( applyButton );
this.add( footer );
}
private void resetSliders()
{
// temporarily remove change listeners
final ChangeListener[] changeListenersX = xslider.getChangeListeners();
final ChangeListener[] changeListenersY = yslider.getChangeListeners();
final ChangeListener[] changeListenersZ = zslider.getChangeListeners();
for ( ChangeListener cl : changeListenersX )
xslider.removeChangeListener( cl );
for ( ChangeListener cl : changeListenersY )
yslider.removeChangeListener( cl );
for ( ChangeListener cl : changeListenersZ )
zslider.removeChangeListener( cl );
if (bb != null)
{
xslider.setMinimum( - (int) bb.dimension( 0 ) * conversionFactor );
xslider.setMaximum( (int) bb.dimension( 0 ) * conversionFactor );
xslider.setValue( 0 );
yslider.setMinimum( - (int) bb.dimension( 1 ) * conversionFactor );
yslider.setMaximum( (int) bb.dimension( 1 ) * conversionFactor );
yslider.setValue( 0 );
zslider.setMinimum( - (int) bb.dimension( 2 ) * conversionFactor );
zslider.setMaximum( (int) bb.dimension( 2 ) * conversionFactor );
zslider.setValue( 0 );
xslider.setEnabled( true );
yslider.setEnabled( true );
zslider.setEnabled( true );
}
else
{
xslider.setMinimum( -1 );
xslider.setMaximum( 1 );
xslider.setValue( 0 );
yslider.setMinimum( -1 );
yslider.setMaximum( 1 );
yslider.setValue( 0 );
zslider.setMinimum( -1 );
zslider.setMaximum( 1 );
zslider.setValue( 0 );
xslider.setEnabled( false );
yslider.setEnabled( false );
zslider.setEnabled( false );
}
xValueTextField.setText( padLeft( "0.0", VALUE_TEXT_LEN ) );
yValueTextField.setText( padLeft( "0.0", VALUE_TEXT_LEN ) );
zValueTextField.setText( padLeft( "0.0", VALUE_TEXT_LEN ) );
// add listeners again
for ( ChangeListener cl : changeListenersX )
xslider.addChangeListener( cl );
for ( ChangeListener cl : changeListenersY )
yslider.addChangeListener( cl );
for ( ChangeListener cl : changeListenersZ )
zslider.addChangeListener( cl );
}
public static String padLeft(String in, int minLength)
{
return Strings.repeat( " ", (int) Math.max( minLength - in.length(), 0 ) ) + in;
}
private void applyTranslation()
{
// ask user once more
int userConfirm = JOptionPane.showConfirmDialog( this, "Apply manual transformation to data?", "Confirm", JOptionPane.OK_CANCEL_OPTION );
if (userConfirm == JOptionPane.CANCEL_OPTION)
return;
if (data == null)
{
resetSliders();
return;
}
// update SpimData
for (ViewId vid : selected)
{
final ViewRegistration vr = data.getViewRegistrations().getViewRegistration( vid );
vr.preconcatenateTransform( new ViewTransformAffine( "Manual Translation", theTransform.copy() ) );
vr.updateModel();
}
// reset sliders/transform (so we can apply again)
theTransform = new AffineTransform3D();
resetSliders();
// reset and repaint Bdv if necessary
if (bdvPopup.bdvRunning())
{
FilteredAndGroupedExplorerPanel.resetBDVManualTransformations( bdvPopup.getBDV() );
bdvPopup.updateBDV();
}
}
private void slidersUpdated()
{
theTransform.set( xslider.getValue() / (double) conversionFactor, 0, 3 );
theTransform.set( yslider.getValue() / (double) conversionFactor, 1, 3 );
theTransform.set( zslider.getValue() / (double) conversionFactor, 2, 3 );
xValueTextField.setText( padLeft( Double.toString( xslider.getValue() / (double) conversionFactor ), VALUE_TEXT_LEN ) );
yValueTextField.setText( padLeft( Double.toString( yslider.getValue() / (double) conversionFactor ), VALUE_TEXT_LEN ) );
zValueTextField.setText( padLeft( Double.toString( zslider.getValue() / (double) conversionFactor ), VALUE_TEXT_LEN ) );
if (!bdvPopup.bdvRunning())
return;
FilteredAndGroupedExplorerPanel.resetBDVManualTransformations( bdvPopup.getBDV() );
final List< SourceState< ? > > sourceStates = bdvPopup.getBDV().getViewer().getVisibilityAndGrouping().getSources();
final int currentTimepoint = bdvPopup.getBDV().getViewer().getState().getCurrentTimepoint();
for (final SourceState< ? > state : sourceStates)
{
Integer vsId = getViewSetupIdFromBDVSource( state.getSpimSource() );
if (vsId == null)
continue;
if (selected.contains( new ViewId( currentTimepoint, vsId ) ))
{
((TransformedSource< ? >) state.getSpimSource()).setFixedTransform( theTransform );
}
}
bdvPopup.getBDV().getViewer().requestRepaint();
}
/**
* try to unwrap source to get the view setup id of wrapped and transformed SpimData view
* @param source - BigDataViewer source
* @return - view setup id if we can unwrap, null else
*/
public static Integer getViewSetupIdFromBDVSource(Source<?> source)
{
if (TransformedSource.class.isInstance( source ))
{
Source< ? > wrappedSource = ((TransformedSource< ? >) source).getWrappedSource();
if (SpimSource.class.isInstance( wrappedSource ))
{
return ( (SpimSource<?> ) wrappedSource).getSetupId();
}
else
return null;
}
else
return null;
}
@Override
public void selectedViewDescriptions(List< List< BasicViewDescription< ? > > > viewDescriptions)
{
// @pietzscht
// the entire code here has nothing to do with changing colors (I uncommented everything and it still changes colors)
final HashSet<ViewId> selectedNew = new HashSet<>();
viewDescriptions.forEach( vdl -> selectedNew.addAll( vdl ) );
// selection is the same as before, do nothing
if (selectedNew.containsAll( selected ) && selected.containsAll( selectedNew ))
return;
// query user to apply if model is not identity
if ( !TransformTools.allAlmostEqual( theTransform.getRowPackedCopy(), identity.getRowPackedCopy(), eps ) )
applyTranslation();
// reset and repaint Bdv if necessary
if ( bdvPopup.bdvRunning() )
{
//FilteredAndGroupedExplorerPanel.resetBDVManualTransformations( bdvPopup.getBDV() );
//bdvPopup.getBDV().getViewer().requestRepaint();
}
// update selection
selected.clear();
selected.addAll( selectedNew );
bb = new BoundingBoxMaximal( selected, data ).estimate( "" );
theTransform = new AffineTransform3D();
resetSliders();
}
@Override
public void updateContent(AbstractSpimData< ? > data)
{
if (SpimData2.class.isInstance( data ))
this.data = (SpimData2) data;
else
this.data = null;
this.selected.clear();
}
@Override
public void save()
{
// query user to apply if model is not identity
if (!TransformTools.allAlmostEqual( theTransform.getRowPackedCopy(), identity.getRowPackedCopy(), eps ))
applyTranslation();
}
@Override
public void quit()
{
// query user to apply if model is not identity
if ( !TransformTools.allAlmostEqual( theTransform.getRowPackedCopy(), identity.getRowPackedCopy(), eps ) )
applyTranslation();
// reset and repaint Bdv if necessary
if ( bdvPopup.bdvRunning() )
{
FilteredAndGroupedExplorerPanel.resetBDVManualTransformations( bdvPopup.getBDV() );
bdvPopup.getBDV().getViewer().requestRepaint();
}
// close parent, also removing this from panels listeners
parent.dispatchEvent(new WindowEvent(parent, WindowEvent.WINDOW_CLOSING));
}
}
| 13,582 | Java | .java | PreibischLab/BigStitcher | 57 | 14 | 75 | 2016-03-22T11:15:58Z | 2024-05-03T19:27:50Z | 471f5a73c5227e11e21fa2d45b1ff887271cc2b49c5ff04e56b8cc629e3457c9 | [] | [
1127,
50,
222,
338,
38269,
81,
222,
338,
18514,
407,
656,
395,
1913,
318,
451,
7650,
15695,
51,
222,
338,
12947,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
54,
59,
449,
244,
55,
53,
55,
57,
7766,
1277,
1913,
284,
15470,
51,
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,
1676,
338,
1369,
3477,
458,
2744,
347,
341,
9850,
708,
580,
1118,
545,
6386,
49,
222,
338,
1294,
4213,
2979,
9345,
64,
2895,
4462,
341,
4506,
14319,
451,
222,
338,
7934,
575,
8114,
4800,
418,
7848,
7763,
51,
244,
2819,
341,
222,
338,
6994,
6153,
5062,
1196,
456,
1851,
4261,
51,
222,
338,
1676,
338,
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
6153,
5062,
222,
338,
1196,
7979,
642,
477,
3477,
51,
244,
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,
1337,
3723,
51,
1023,
947,
30305,
51,
289,
1913,
284,
51,
8472,
64,
222,
222,
485,
1401,
51,
8236,
51,
9884,
64,
222,
485,
1401,
51,
8236,
51,
3728,
64,
222,
485,
1401,
51,
8236,
51,
1585,
51,
1684,
1167,
64,
222,
485,
1401,
51,
1058,
51,
2272,
64,
222,
485,
1401,
51,
1058,
51,
17163,
64,
222,
485,
1401,
51,
1058,
51,
739,
64,
222,
485,
1401,
51,
1058,
51,
903,
64,
222,
222,
485,
3698,
51,
5934,
51,
7263,
2232,
64,
222,
485,
3698,
51,
5934,
51,
30400,
64,
222,
485,
3698,
51,
5934,
51,
32880,
64,
222,
485,
3698,
51,
5934,
51,
79,
2163,
64,
222,
485,
3698,
51,
5934,
51,
22786,
64,
222,
485,
3698,
51,
5934,
51,
49072,
64,
222,
485,
3698,
51,
5934,
51,
32273,
64,
222,
485,
3698,
51,
5934,
51,
4638,
113,
1411,
64,
222,
485,
3698,
51,
5934,
51,
31845,
64,
222,
485,
3698,
51,
5934,
51,
1585,
51,
17089,
64,
222,
222,
485,
785,
51,
2193,
51,
2297,
51,
1460,
51,
9634,
64,
222,
222,
485,
342,
8698,
51,
2184,
468,
2044,
64,
222,
485,
342,
8698,
51,
4303,
51,
33194,
51,
1794,
6023,
2044,
64,
222,
485,
342,
8698,
51,
11441,
51,
2044,
64,
222,
485,
342,
8698,
51,
11441,
51,
1311,
51,
2044,
1095,
64,
222,
485,
7714,
314,
4885,
51,
438,
468,
51,
624,
51,
9957,
51,
5597,
2184,
468,
768,
64,
222,
485,
7714,
314,
4885,
51,
438,
468,
51,
624,
51,
9957,
51,
7543,
51,
7114,
1089,
3250,
64,
222,
485,
7714,
314,
4885,
51,
438,
468,
51,
624,
51,
9957,
51,
7543,
51,
7114,
1089,
6438,
64,
222,
485,
7714,
314,
4885,
51,
438,
468,
51,
624,
51,
15272,
51,
1089,
11509,
64,
222,
485,
7714,
314,
4885,
51,
438,
468,
51,
624,
51,
15272,
51,
1089,
4879,
35883,
64,
222,
485,
7714,
314,
4885,
51,
438,
468,
51,
624,
51,
7543,
51,
1089,
625,
64,
222,
485,
3723,
51,
1296,
1379,
55,
51,
5766,
64,
222,
485,
3723,
51,
1296,
1379,
55,
51,
4571,
3824,
51,
35883,
4879,
56,
73,
64,
222,
485,
3723,
51,
1023,
947,
30305,
51,
8398,
44650,
51,
5517,
4459,
51,
438,
468,
624,
51,
2184,
468,
768,
55,
64,
222,
485,
3723,
51,
1023,
947,
30305,
51,
8398,
44650,
51,
5517,
4459,
51,
438,
468,
624,
51,
26146,
51,
22763,
2199,
1582,
337,
23371,
3686,
64,
222,
485,
3723,
51,
1023,
947,
30305,
51,
8398,
44650,
51,
5517,
4459,
51,
438,
468,
624,
51,
26146,
51,
4559,
1089,
3250,
2239,
64,
222,
485,
3723,
51,
1023,
947,
30305,
51,
8398,
44650,
51,
5517,
4459,
51,
438,
468,
624,
51,
26146,
51,
11795,
51,
7664,
91,
11131,
64,
222,
485,
3723,
51,
1023,
947,
30305,
51,
8398,
44650,
51,
5517,
4459,
51,
438,
468,
624,
51,
26146,
51,
11795,
51,
7114,
7664,
91,
11131,
64,
222,
485,
3723,
51,
1023,
947,
30305,
51,
8398,
44650,
51,
2441,
51,
28702,
1521,
51,
26561,
2725,
2998,
64,
222,
485,
3723,
51,
1023,
947,
30305,
51,
289,
1913,
284,
51,
12145,
51,
4879,
7926,
64,
222,
222,
942,
462,
28406,
1582,
1272,
3425,
3686,
2041,
22299,
4584,
25055,
1089,
3250,
2239,
65,
7406,
2184,
468,
768,
65,
1037,
868,
868,
222,
128,
499,
221,
2072,
924,
1175,
1964,
19896,
299,
244,
54,
81,
64,
222,
221,
2072,
1175,
924,
24671,
501,
4879,
56,
73,
10645,
299,
556,
24671,
501,
4879,
56,
73,
492,
222,
221,
2072,
1175,
924,
648,
11781,
9176,
299,
244,
54,
53,
64,
222,
221,
2072,
1175,
924,
2082,
15435,
299,
244,
53,
51,
53,
53,
54,
64,
222,
221,
2072,
1175,
924,
648,
23101,
100,
6025,
100,
6182,
299,
244,
59,
64,
499,
221,
2072,
1175,
1776,
65,
4340,
625,
868,
4337,
64,
222,
221,
2072,
5034,
468,
768,
55,
727,
64,
15767,
221,
2072,
24671,
501,
4879,
56,
73,
341,
4879,
64,
222,
221,
2072,
21608,
18560,
64,
222,
221,
2072,
9280,
7664,
91,
11131,
342,
8698,
11131,
64,
499,
221,
2072,
990,
2163,
2952,
64,
222,
221,
2072,
990,
12330,
837,
9723,
64,
222,
221,
2072,
990,
12330,
553,
9723,
64,
222,
221,
2072,
990,
12330,
1308,
9723,
64,
499,
221,
2072,
23731,
837,
899,
10213,
64,
222,
221,
2072,
23731,
553,
899,
10213,
64,
222,
221,
2072,
23731,
1308,
899,
10213,
64,
499,
221,
942,
28406,
1582,
1272,
3425,
3686,
45,
2184,
468,
768,
55,
727,
49,
7380,
65,
1037,
2041,
4340,
625,
868,
4337,
4694,
49,
9280,
7664,
91,
11131,
342,
8698,
11131,
49,
990,
2163,
2952,
46,
222,
221,
128,
376,
221,
597,
51,
2562,
299,
2952,
64,
376,
221,
597,
51,
624,
299,
727,
64,
376,
221,
597,
51,
4209,
123,
11131,
299,
342,
8698,
11131,
64,
376,
221,
1402,
4879,
299,
556,
24671,
501,
4879,
56,
73,
492,
1332,
221,
4358,
299,
556,
14253,
6984,
376,
221,
4358,
51,
15109,
45,
4337,
4694,
1110,
1332,
221,
2901,
299,
556,
41990,
1723,
2725,
2998,
45,
4337,
49,
727,
6824,
27348,
45,
3347,
1110,
4102,
221,
1683,
10586,
492,
222,
221,
130,
3038,
221,
2072,
782,
3238,
10586,
365,
222,
221,
128,
376,
221,
597,
51,
20113,
45,
556,
9979,
2362,
45,
477,
49,
9979,
2362,
51,
12913,
100,
31795,
848,
1110,
376,
221,
597,
51,
38618,
45,
18065,
2232,
51,
1315,
2779,
7263,
45,
244,
54,
53,
49,
244,
55,
53,
49,
244,
54,
53,
49,
244,
55,
53,
848,
1110,
4102,
221,
344,
327,
2901,
882,
762,
46,
376,
221,
128,
374,
221,
125,
9723,
299,
556,
990,
12330,
45,
449,
327,
429,
46,
18560,
51,
11786,
45,
244,
53,
848,
338,
11781,
9176,
49,
244,
327,
429,
46,
18560,
51,
11786,
45,
244,
53,
848,
338,
11781,
9176,
49,
244,
53,
1110,
374,
221,
1291,
113,
1411,
299,
556,
990,
12330,
45,
449,
327,
429,
46,
18560,
51,
11786,
45,
244,
54,
848,
338,
11781,
9176,
49,
244,
327,
429,
46,
18560,
51,
11786,
45,
244,
54,
848,
338,
11781,
9176,
49,
244,
54,
1110,
374,
221,
127,
9723,
299,
556,
990,
12330,
45,
449,
327,
429,
46,
18560,
51,
11786,
45,
244,
55,
848,
338,
11781,
9176,
49,
244,
327,
429,
46,
18560,
51,
11786,
45,
244,
55,
848,
338,
11781,
9176,
49,
244,
55,
1110,
376,
221,
130,
376,
221,
728,
376,
221,
128,
374,
221,
125,
9723,
299,
556,
990,
12330,
3766,
54,
49,
244,
54,
49,
244,
53,
312,
374,
221,
1291,
113,
1411,
299,
556,
990,
12330,
3766,
54,
49,
244,
54,
49,
244,
53,
312,
374,
221,
127,
9723,
299,
556,
990,
12330,
3766,
54,
49,
244,
54,
49,
244,
53,
312,
374,
221,
125,
9723,
51,
18822,
45,
920,
1110,
374,
221,
1291,
113,
1411,
51,
18822,
45,
920,
1110,
374,
221,
127,
9723,
51,
18822,
45,
920,
1110,
376,
221,
130,
4102,
221,
125,
9723,
51,
45046,
45,
556,
17432,
45,
244,
56,
53,
53,
49,
244,
55,
53,
848,
1110,
376,
221,
1291,
113,
1411,
51,
45046,
45,
556,
17432,
45,
244,
56,
53,
53,
49,
244,
55,
53,
848,
1110,
376,
221,
127,
9723,
51,
45046,
45,
556,
17432,
45,
244,
56,
53,
53,
49,
244,
55,
53,
848,
1110,
4102,
221,
125,
9723,
51,
688,
17089,
45,
1708,
984,
5454,
20392,
9052,
1052,
376,
221,
1291,
113,
1411,
51,
688,
17089,
45,
1708,
984,
5454,
20392,
9052,
1052,
376,
221,
127,
9723,
51,
688,
17089,
45,
1708,
984,
5454,
20392,
9052,
1052,
4102,
221,
125,
899,
10213,
299,
556,
23731,
45,
9841,
3695,
45,
332,
53,
51,
53,
411,
23101,
100,
6025,
100,
6182,
848,
1110,
376,
221,
126,
899,
10213,
299,
556,
23731,
45,
9841,
3695,
45,
332,
53,
51,
53,
411,
23101,
100,
6025,
100,
6182,
848,
1110,
376,
221,
127,
899,
10213,
299,
556,
23731,
45,
9841,
3695,
45,
332,
53,
51,
53,
411,
23101,
100,
6025,
100,
6182,
848,
1110,
376,
221,
125,
899,
10213,
51,
21617,
45,
909,
8929,
45,
3728,
51,
10522,
84,
2249,
1205,
1363,
49,
8929,
51,
33722,
49,
244,
54,
55,
894,
376,
221,
126,
899,
10213,
51,
21617,
45,
909,
8929,
45,
3728,
51,
10522,
84,
2249,
1205,
1363,
49,
8929,
51,
33722,
49,
244,
54,
55,
894,
376,
221,
127,
899,
10213,
51,
21617,
45,
909,
8929,
45,
3728,
51,
10522,
84,
2249,
1205,
1363,
49,
8929,
51,
33722,
49,
244,
54,
55,
894,
4102,
221,
3242,
22299,
837,
12330,
3686,
299,
556,
22299,
492,
376,
221,
125,
12330,
3686,
51,
20113,
45,
556,
9979,
2362,
45,
837,
12330,
3686,
49,
9979,
2362,
51,
4794,
100,
31795,
848,
1110,
376,
221,
125,
12330,
3686,
51,
688,
45,
556,
23731,
45,
332,
93,
63,
332,
848,
1110,
376,
221,
125,
12330,
3686,
51,
688,
45,
837,
9723,
1110,
376,
221,
125,
12330,
3686,
51,
688,
45,
837,
899,
10213,
1110,
4102,
221,
3242,
22299,
553,
12330,
3686,
299,
556,
22299,
492,
376,
221,
126,
12330,
3686,
51,
20113,
45,
556,
9979,
2362,
45,
553,
12330,
3686,
49,
9979,
2362,
51,
4794,
100,
31795,
848,
1110,
376,
221,
126,
12330,
3686,
51,
688,
45,
556,
23731,
45,
332,
94,
63,
332,
848,
1110,
376,
221,
126,
12330,
3686,
51,
688,
45,
553,
9723,
1110,
376,
221,
126,
12330,
3686,
51,
688,
45,
553,
899,
10213,
1110,
4102,
221,
3242,
22299,
1308,
12330,
3686,
299,
556,
22299,
492,
376,
221,
127,
12330,
3686,
51,
20113,
45,
556,
9979,
2362,
45,
1308,
12330,
3686,
49,
9979,
2362,
51,
4794,
100,
31795,
848,
1110,
376,
221,
127,
12330,
3686,
51,
688,
45,
556,
23731,
45,
332,
95,
63,
332,
848,
1110,
376,
221,
127,
12330,
3686,
51,
688,
45,
1308,
9723,
1110,
376,
221,
127,
12330,
3686,
51,
688,
45,
1308,
899,
10213,
1110,
4102,
221,
597,
51,
688,
45,
837,
12330,
3686,
1110,
376,
221,
597,
51,
688,
45,
553,
12330,
3686,
1110,
376,
221,
597,
51,
688,
45,
1308,
12330,
3686,
1110,
43021,
221,
3242,
22299,
15968,
299,
556,
22299,
492,
376,
221,
4813,
51,
20113,
45,
556,
9979,
2362,
45,
15968,
49,
9979,
2362,
51,
4794,
100,
31795,
848,
1110,
376,
221,
4813,
51,
38618,
45,
18065,
2232,
51,
1315,
2779,
7263,
45,
244,
54,
53,
49,
244,
53,
49,
244,
53,
49,
244,
53,
848,
1110,
1332,
221,
3242,
24328,
4894,
1732,
299,
556,
24328,
45,
332,
9913,
39,
1110,
376,
221,
3242,
24328,
4248,
1732,
299,
556,
24328,
45,
332,
4187,
39,
1110,
4102,
221,
4740,
1732,
51,
24508,
45,
1708,
984,
4894,
12687,
365,
1110,
376,
221,
2698,
1732,
51,
24508,
45,
1708,
984,
22429,
365,
1110,
4102,
221,
4813,
51,
688,
45,
4248,
1732,
1110,
376,
221,
4813,
51,
688,
45,
4894,
1732,
1110,
4102,
221,
597,
51,
688,
45,
15968,
1110,
222,
221,
130,
3038,
221,
2072,
782,
5672,
6145,
20392,
365,
222,
221,
128,
376,
221,
325,
37315,
3365,
1557,
18370,
376,
221,
3242,
5621,
2239,
1197,
1557,
14625,
93,
299,
837,
9723,
51,
390,
1810,
14625,
492,
376,
221,
3242,
5621,
2239,
1197,
1557,
14625,
94,
299,
553,
9723,
51,
390,
1810,
14625,
492,
376,
221,
3242,
5621,
2239,
1197,
1557,
14625,
95,
299,
1308,
9723,
51,
390,
1810,
14625,
492,
1332,
221,
999,
327,
5621,
2239,
1553,
518,
1557,
14625,
93,
848,
374,
221,
125,
9723,
51,
2564,
17089,
45,
1553,
1110,
376,
221,
999,
327,
5621,
2239,
1553,
518,
1557,
14625,
94,
848,
374,
221,
1291,
113,
1411,
51,
2564,
17089,
45,
1553,
1110,
376,
221,
999,
327,
5621,
2239,
1553,
518,
1557,
14625,
95,
848,
374,
221,
127,
9723,
51,
2564,
17089,
45,
1553,
1110,
1332,
221,
344,
327,
2901,
882,
762,
46,
376,
221,
128,
374,
221,
125,
9723,
51,
36521,
45,
449,
327,
429,
46,
18560,
51,
11786,
45,
244,
53,
848,
338,
11781,
9176,
1110,
374,
221,
125,
9723,
51,
34654,
45,
244,
327,
429,
46,
18560,
51,
11786,
45,
244,
53,
848,
338,
11781,
9176,
1110,
374,
221,
125,
9723,
51,
11534,
45,
244,
53,
1110,
374,
221,
1291,
113,
1411,
51,
36521,
45,
449,
327,
429,
46,
18560,
51,
11786,
45,
244,
54,
848,
338,
11781,
9176,
1110,
374,
221,
1291,
113,
1411,
51,
34654,
45,
327,
429,
46,
18560,
51,
11786,
45,
244,
54,
848,
338,
11781,
9176,
1110,
374,
221,
1291,
113,
1411,
51,
11534,
45,
244,
53,
1110,
374,
221,
127,
9723,
51,
36521,
45,
449,
327,
429,
46,
18560,
51,
11786,
45,
244,
55,
848,
338,
11781,
9176,
1110,
374,
221,
127,
9723,
51,
34654,
45,
244,
327,
429,
46,
18560,
51,
11786,
45,
244,
55,
848,
338,
11781,
9176,
1110,
374,
221,
127,
9723,
51,
11534,
45,
244,
53,
1110,
374,
221,
125,
9723,
51,
18822,
45,
878,
1110,
374,
221,
1291,
113,
1411,
51,
18822,
45,
878,
1110,
374,
221,
127,
9723,
51,
18822,
45,
878,
1110,
376,
221,
130,
376,
221,
728,
376,
221,
128,
374,
221,
125,
9723,
51,
36521,
45,
449,
54,
1110,
374,
221,
125,
9723,
51,
34654,
45,
244,
54,
1110,
374,
221,
125,
9723,
51,
11534,
45,
244,
53,
1110,
374,
221,
1291,
113,
1411,
51,
36521,
45,
449,
54,
1110,
374,
221,
1291,
113,
1411,
51,
34654,
45,
244,
54,
1110,
374,
221,
1291,
113,
1411,
51,
11534,
45,
244,
53,
1110,
374,
221,
127,
9723,
51,
36521,
45,
449,
54,
1110,
374,
221,
127,
9723,
51,
34654,
45,
244,
54,
1110,
374,
221,
127,
9723,
51,
11534,
45,
244,
53,
1110,
374,
221,
125,
9723,
51,
18822,
45,
920,
1110,
374,
221,
1291,
113,
1411,
51,
18822,
45,
920,
1110,
374,
221,
127,
9723,
51,
18822,
45,
920,
1110,
376,
221,
130,
1332,
221,
125,
899,
10213,
51,
6619,
45,
9841,
3695,
45,
332,
53,
51,
53,
411,
23101,
100,
6025,
100,
6182,
848,
1110,
376,
221,
126,
899,
10213,
51,
6619,
45,
9841,
3695,
45,
332,
53,
51,
53,
411,
23101,
100,
6025,
100,
6182,
848,
1110,
376,
221,
127,
899,
10213,
51,
6619,
45,
9841,
3695,
45,
332,
53,
51,
53,
411,
23101,
100,
6025,
100,
6182,
848,
1110,
4102,
221,
325,
1035,
18370,
4076,
376,
221,
999,
327,
5621,
2239,
1553,
518,
1557,
14625,
93,
848,
374,
221,
125,
9723,
51,
688,
17089,
45,
1553,
1110,
376,
221,
999,
327,
5621,
2239,
1553,
518,
1557,
14625,
94,
848,
374,
221,
1291,
113,
1411,
51,
688,
17089,
45,
1553,
1110,
376,
221,
999,
327,
5621,
2239,
1553,
518,
1557,
14625,
95,
848,
374,
221,
127,
9723,
51,
688,
17089,
45,
1553,
1110,
222,
221,
130,
3038,
221,
942,
924,
910,
9841,
3695,
45,
671,
347,
49,
648,
1865,
2396,
46,
222,
221,
128,
376,
221,
620,
29080,
51,
8116,
45,
332,
3021,
327,
429,
46,
4189,
51,
1472,
45,
1865,
2396,
449,
347,
51,
1340,
1046,
244,
53,
848,
848,
494,
347,
64,
222,
221,
130,
3038,
221,
2072,
782,
4894,
12687,
365,
222,
221,
128,
376,
221,
325,
7676,
1275,
5065,
1851,
376,
221,
429,
1275,
9942,
299,
32987,
51,
2276,
9942,
3742,
45,
477,
49,
332,
9913,
13258,
17532,
391,
727,
14199,
332,
9942,
411,
32987,
51,
2966,
100,
27934,
100,
10534,
1110,
376,
221,
344,
327,
514,
9942,
630,
32987,
51,
27934,
100,
10534,
46,
374,
221,
620,
64,
4102,
221,
344,
327,
624,
630,
762,
46,
376,
221,
128,
374,
221,
4558,
6145,
20392,
492,
374,
221,
620,
64,
376,
221,
130,
4102,
221,
325,
1991,
5034,
468,
768,
376,
221,
999,
327,
1089,
625,
27176,
518,
4337,
46,
376,
221,
128,
374,
221,
3242,
4340,
11509,
24710,
299,
727,
51,
28987,
13553,
31484,
941,
28987,
11509,
45,
27176,
1110,
374,
221,
10243,
51,
1023,
26962,
4879,
45,
556,
4340,
4879,
35883,
45,
332,
18433,
27307,
411,
341,
4879,
51,
3014,
365,
848,
1110,
374,
221,
10243,
51,
1896,
1262,
492,
376,
221,
130,
4102,
221,
325,
5672,
5454,
20392,
52,
3824,
327,
780,
1019,
902,
4894,
4076,
46,
376,
221,
1402,
4879,
299,
556,
24671,
501,
4879,
56,
73,
492,
376,
221,
4558,
6145,
20392,
492,
1332,
221,
325,
5672,
480,
7095,
2043,
570,
8698,
434,
7527,
376,
221,
344,
327,
4209,
123,
11131,
51,
4209,
123,
9519,
1177,
376,
221,
128,
374,
221,
22763,
2199,
1582,
337,
23371,
3686,
51,
4558,
7664,
91,
18433,
4879,
1014,
45,
342,
8698,
11131,
51,
390,
7664,
91,
365,
1110,
374,
221,
4209,
123,
11131,
51,
1896,
7664,
91,
492,
376,
221,
130,
222,
221,
130,
26000,
221,
2072,
782,
5454,
20392,
9052,
365,
222,
221,
128,
376,
221,
1402,
4879,
51,
489,
45,
837,
9723,
51,
6693,
365,
536,
327,
2640,
46,
11781,
9176,
49,
244,
53,
49,
244,
56,
1110,
376,
221,
1402,
4879,
51,
489,
45,
553,
9723,
51,
6693,
365,
536,
327,
2640,
46,
11781,
9176,
49,
244,
54,
49,
244,
56,
1110,
376,
221,
1402,
4879,
51,
489,
45,
1308,
9723,
51,
6693,
365,
536,
327,
2640,
46,
11781,
9176,
49,
244,
55,
49,
244,
56,
1110,
1332,
221,
125,
899,
10213,
51,
6619,
45,
9841,
3695,
45,
6938,
51,
3127,
45,
837,
9723,
51,
6693,
365,
536,
327,
2640,
46,
11781,
9176,
2604,
23101,
100,
6025,
100,
6182,
848,
1110,
376,
221,
126,
899,
10213,
51,
6619,
45,
9841,
3695,
45,
6938,
51,
3127,
45,
553,
9723,
51,
6693,
365,
536,
327,
2640,
46,
11781,
9176,
2604,
23101,
100,
6025,
100,
6182,
848,
1110,
376,
221,
127,
899,
10213,
51,
6619,
45,
9841,
3695,
45,
6938,
51,
3127,
45,
1308,
9723,
51,
6693,
365,
536,
327,
2640,
46,
11781,
9176,
2604,
23101,
100,
6025,
100,
6182,
848,
1110,
4102,
221,
344,
1445,
4209,
123,
11131,
51,
4209,
123,
9519,
1177,
374,
221,
620,
64,
1332,
221,
22763,
2199,
1582,
337,
23371,
3686,
51,
4558,
7664,
91,
18433,
4879,
1014,
45,
342,
8698,
11131,
51,
390,
7664,
91,
365,
1110,
4102,
221,
3242,
1701,
65,
6391,
1095,
65,
1037,
868,
868,
1932,
10982,
299,
342,
8698,
11131,
51,
390,
7664,
91,
941,
390,
12512,
941,
390,
9952,
2199,
38420,
941,
390,
14805,
492,
376,
221,
3242,
648,
35064,
1513,
299,
342,
8698,
11131,
51,
390,
7664,
91,
941,
390,
12512,
941,
19701,
941,
12344,
1061,
1513,
492,
4102,
221,
999,
327,
3242,
6391,
1095,
65,
1037,
868,
1621,
518,
1932,
10982,
46,
376,
221,
128,
374,
221,
3078,
8563,
625,
299,
640,
1089,
6438,
625,
1811,
7664,
91,
2044,
45,
1621,
51,
390,
2184,
468,
2044,
365,
1110,
374,
221,
344,
327,
4876,
625,
630,
762,
46,
621,
221,
7514,
64,
621,
8212,
221,
344,
327,
4358,
51,
4766,
45,
556,
4340,
625,
45,
35064,
1513,
49,
8563,
625,
848,
9671,
374,
221,
128,
621,
221,
1181,
1794,
6023,
2044,
65,
1037,
868,
46,
1621,
51,
390,
2184,
468,
2044,
4269,
489,
8223,
4879,
45,
341,
4879,
1110,
374,
221,
130,
23120,
221,
130,
43021,
221,
4209,
123,
11131,
51,
390,
7664,
91,
941,
390,
12512,
941,
1375,
7599,
2043,
492,
15662,
221,
130,
3038,
221,
1350,
376,
338,
1614,
391,
42564,
1932,
391,
640,
341,
2221,
4721,
828,
451,
16279,
480,
21698,
5034,
468,
768,
2221,
376,
338,
496,
772,
1932,
449,
7766,
768,
12512,
1932,
376,
338,
496,
620,
449,
2221,
4721,
828,
434,
1019,
902,
42564,
49,
762,
832,
376,
588,
222,
221,
942,
924,
4418,
640,
1089,
6438,
625,
1811,
7664,
91,
2044,
45,
2044,
11667,
1932,
46,
222,
221,
128,
376,
221,
344,
327,
1794,
6023,
2044,
51,
842,
51,
316,
1825,
45,
1932,
9671,
376,
221,
128,
374,
221,
2044,
65,
1037,
868,
16279,
2044,
299,
1849,
1794,
6023,
2044,
65,
1037,
868,
46,
1932,
566,
390,
21834,
2044,
492,
374,
221,
344,
327,
2184,
468,
2044,
51,
842,
51,
316,
1825,
45,
16279,
2044,
9671,
374,
221,
128,
621,
221,
620,
327,
327,
2184,
468,
2044,
11667,
848,
16279,
2044,
566,
390,
6438,
625,
492,
374,
221,
130,
374,
221,
728,
621,
221,
620,
762,
64,
376,
221,
130,
376,
221,
728,
374,
221,
620,
762,
64,
222,
221,
130,
3038,
221,
69,
1806,
222,
221,
942,
782,
4337,
1089,
27925,
45,
739,
65,
1701,
65,
9280,
1089,
3250,
65,
1037,
868,
868,
868,
2221,
27925,
46,
222,
221,
128,
376,
221,
325,
496,
1314,
383,
127,
6387,
121,
376,
221,
325,
341,
9476,
1361,
2464,
1421,
7572,
391,
764,
642,
12402,
9660,
327,
78,
39629,
337,
9010,
480,
580,
4224,
3417,
9660,
46,
376,
221,
3242,
14253,
65,
1089,
625,
67,
4337,
1827,
299,
556,
14253,
6984,
376,
221,
1090,
27925,
51,
5388,
45,
373,
3679,
984,
4337,
1827,
51,
15109,
45,
373,
3679,
848,
1110,
4102,
221,
325,
7818,
458,
341,
2454,
641,
2688,
49,
764,
7572,
376,
221,
344,
327,
4358,
1827,
51,
4766,
1947,
45,
4337,
848,
979,
4337,
51,
4766,
1947,
45,
4337,
1827,
9671,
374,
221,
620,
64,
4102,
221,
325,
2487,
1275,
391,
4894,
434,
1573,
458,
666,
10645,
376,
221,
344,
327,
673,
4879,
7926,
51,
483,
33414,
1342,
45,
341,
4879,
51,
30062,
31048,
4014,
1046,
10645,
51,
30062,
31048,
4014,
1046,
15435,
848,
848,
374,
221,
4740,
12687,
492,
4102,
221,
325,
5672,
480,
7095,
2043,
570,
8698,
434,
7527,
376,
221,
344,
327,
342,
8698,
11131,
51,
4209,
123,
9519,
365,
848,
376,
221,
128,
374,
221,
325,
22763,
2199,
1582,
337,
23371,
3686,
51,
4558,
7664,
91,
18433,
4879,
1014,
45,
342,
8698,
11131,
51,
390,
7664,
91,
365,
1110,
374,
221,
325,
4209,
123,
11131,
51,
390,
7664,
91,
941,
390,
12512,
941,
1375,
7599,
2043,
492,
376,
221,
130,
4102,
221,
325,
1991,
7818,
376,
221,
4358,
51,
3830,
492,
376,
221,
4358,
51,
15109,
45,
4337,
1827,
1110,
4102,
221,
2901,
299,
556,
41990,
1723,
2725,
2998,
45,
4337,
49,
727,
6824,
27348,
45,
3347,
1110,
4102,
221,
1402,
4879,
299,
556,
24671,
501,
4879,
56,
73,
492,
376,
221,
4558,
6145,
20392,
492,
222,
221,
130,
3038,
221,
69,
1806,
222,
221,
942,
782,
1991,
1795,
45,
5597,
2184,
468,
768,
65,
1037,
868,
727,
46,
222,
221,
128,
376,
221,
344,
327,
2184,
468,
768,
55,
51,
842,
51,
316,
1825,
45,
727,
9671,
374,
221,
597,
51,
624,
299,
327,
2184,
468,
768,
55,
46,
727,
64,
376,
221,
728,
374,
221,
597,
51,
624,
299,
762,
64,
1332,
221,
597,
51,
4358,
51,
3830,
492,
222,
221,
130,
3038,
221,
69,
1806,
222,
221,
942,
782,
4166,
365,
222,
221,
128,
376,
221,
325,
2487,
1275,
391,
4894,
434,
1573,
458,
666,
10645,
376,
221,
344,
1445,
4879,
7926,
51,
483,
33414,
1342,
45,
341,
4879,
51,
30062,
31048,
4014,
1046,
10645,
51,
30062,
31048,
4014,
1046,
15435,
9671,
374,
221,
4740,
12687,
492,
222,
221,
130,
3038,
221,
69,
1806,
222,
221,
942,
782,
22429,
365,
222,
221,
128,
376,
221,
325,
2487,
1275,
391,
4894,
434,
1573,
458,
666,
10645,
376,
221,
344,
327,
673,
4879,
7926,
51,
483,
33414,
1342,
45,
341,
4879,
51,
30062,
31048,
4014,
1046,
10645,
51,
30062,
31048,
4014,
1046,
15435,
848,
848,
374,
221,
4740,
12687,
492,
1332,
221,
325,
5672,
480,
7095,
2043,
570,
8698,
434,
7527,
376,
221,
344,
327,
342,
8698,
11131,
51,
4209,
123,
9519,
365,
848,
376,
221,
128,
374,
221,
22763,
2199,
1582,
337,
23371,
3686,
51,
4558,
7664,
91,
18433,
4879,
1014,
45,
342,
8698,
11131,
51,
390,
7664,
91,
365,
1110,
374,
221,
4209,
123,
11131,
51,
390,
7664,
91,
941,
390,
12512,
941,
1375,
7599,
2043,
492,
376,
221,
130,
4102,
221,
325,
4248,
2952,
49,
2353,
15281,
477,
664,
41934,
18370,
376,
221,
2562,
51,
33199,
45,
909,
12016,
1167,
45,
2562,
49,
12016,
1167,
51,
18393,
100,
11410,
11318,
894,
222,
221,
130,
222,
130,
222
] | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
]
] | 4,124 | true | 71.454867 | true | true |
ThemeKeyRetrieverImpl.java | /FileExtraction/Java_unseen/Asqatasun_Asqatasun/web-app/asqatasun-web-app/src/main/java/org/asqatasun/webapp/report/expression/retriever/ThemeKeyRetrieverImpl.java | /*
* Asqatasun - Automated webpage assessment
* Copyright (C) 2008-2020 Asqatasun.org
*
* This file is part of Asqatasun.
*
* Asqatasun is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* Contact us by mail: asqatasun AT asqatasun DOT org
*/
package org.asqatasun.webapp.report.expression.retriever;
import java.util.Map;
import org.asqatasun.entity.reference.Test;
/**
*
* @author jkowalczyk
*/
public class ThemeKeyRetrieverImpl implements KeyRetriever{
private String fieldName;
public String getFieldName() {
return fieldName;
}
public void setFieldName(String fieldName) {
this.fieldName = fieldName;
}
@Override
public String retrieveKey(Map fields, Map variables, Map parameters) {
return ((Test)fields.get(fieldName)).getCriterion().getTheme().getCode();
}
}
| 1,445 | Java | .java | Asqatasun/Asqatasun | 234 | 71 | 21 | 2015-10-13T16:45:50Z | 2023-02-22T08:38:21Z | 98d4ada1c695167aa780ecdeffcbc44c61c971c78ce6775366832d91ebef9820 | [] | [
1127,
222,
338,
2915,
118,
288,
321,
330,
449,
13515,
751,
41171,
34138,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
53,
61,
50,
55,
53,
55,
53,
244,
2915,
118,
288,
321,
330,
51,
1107,
222,
338,
222,
338,
1369,
822,
458,
1760,
451,
2915,
118,
288,
321,
330,
51,
222,
338,
222,
338,
2915,
118,
288,
321,
330,
458,
3760,
2951,
63,
863,
902,
14081,
580,
480,
52,
290,
5370,
222,
338,
580,
1549,
341,
5974,
451,
341,
6994,
30994,
6153,
5062,
1196,
641,
222,
338,
9582,
829,
341,
7834,
3870,
7120,
49,
3173,
1522,
244,
56,
451,
341,
222,
338,
1196,
49,
575,
327,
288,
1390,
2489,
46,
1364,
6146,
1522,
51,
222,
338,
222,
338,
1369,
3477,
458,
2744,
347,
341,
9850,
708,
580,
1118,
545,
6386,
49,
222,
338,
1294,
4213,
2979,
9345,
64,
2895,
4462,
341,
4506,
14319,
451,
222,
338,
7934,
575,
8114,
4800,
418,
7848,
7763,
51,
244,
2819,
341,
222,
338,
6994,
30994,
6153,
5062,
1196,
456,
1851,
4261,
51,
222,
338,
222,
338,
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
30994,
6153,
5062,
1196,
222,
338,
7979,
642,
477,
3477,
51,
244,
1691,
666,
49,
2337,
350,
544,
574,
1516,
51,
10627,
51,
1107,
52,
4205,
28699,
222,
338,
222,
338,
12140,
1790,
829,
10863,
63,
641,
118,
288,
321,
330,
13089,
641,
118,
288,
321,
330,
32730,
1105,
222,
588,
222,
1337,
1105,
51,
321,
118,
288,
321,
330,
51,
30578,
51,
3755,
51,
7681,
51,
35051,
443,
64,
222,
222,
485,
1401,
51,
1058,
51,
1225,
64,
222,
485,
1105,
51,
321,
118,
288,
321,
330,
51,
2244,
51,
3592,
51,
1024,
64,
222,
222,
1350,
222,
338,
222,
338,
496,
2133,
614,
112,
460,
298,
104,
6657,
112,
222,
588,
222,
942,
462,
14588,
971,
46994,
3499,
4584,
3907,
46994,
128,
465,
964,
910,
22759,
64,
303,
581,
910,
640,
20484,
365,
320,
310,
461,
22759,
64,
303,
339,
465,
581,
782,
758,
20484,
45,
671,
22759,
46,
320,
310,
477,
51,
19216,
299,
22759,
64,
303,
339,
465,
496,
1806,
303,
581,
910,
10857,
971,
45,
1225,
3844,
49,
3531,
4918,
49,
3531,
3406,
46,
320,
310,
461,
1849,
1024,
46,
4169,
51,
390,
45,
19216,
3445,
11641,
12004,
941,
390,
6537,
941,
24202,
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
]
] | 388 | true | 71.83391 | true | true |
TileListCommon.java | /FileExtraction/Java_unseen/Zverik_JTileDownloader/src/org/openstreetmap/fma/jtiledownloader/tilelist/TileListCommon.java | /*
* Copyright 2008, Friedrich Maier
*
* This file is part of JTileDownloader.
*
* JTileDownloader 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.
*
* JTileDownloader 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 (see file COPYING.txt) of the GNU
* General Public License along with JTileDownloader.
* If not, see <http://www.gnu.org/licenses/>.
*/
package org.openstreetmap.fma.jtiledownloader.tilelist;
import org.openstreetmap.fma.jtiledownloader.Constants;
/**
*
*/
public abstract class TileListCommon
implements TileList
{
private int[] _downloadZoomLevels;
/**
* @param lat
* @param zoomLevel
* @return tileY
*/
protected final int calculateTileY(double lat, int zoomLevel)
{
if (lat < Constants.MIN_LAT)
{
lat = Constants.MIN_LAT;
}
if (lat > Constants.MAX_LAT)
{
lat = Constants.MAX_LAT;
}
int y = (int) Math.floor((1 - Math.log(Math.tan(lat * Math.PI / 180) + 1 / Math.cos(lat * Math.PI / 180)) / Math.PI) / 2 * (1 << zoomLevel));
return y;
}
/**
* @param lon
* @param zoomLevel
* @return tileX
*/
protected final int calculateTileX(double lon, int zoomLevel)
{
if (lon < Constants.MIN_LON)
{
lon = Constants.MIN_LON;
}
if (lon > Constants.MAX_LON)
{
lon = Constants.MAX_LON;
}
int x = (int) Math.floor((lon + 180) / 360 * (1 << zoomLevel));
return x;
}
/**
* Getter for downloadZoomLevel
* @return the downloadZoomLevel
*/
public final int[] getDownloadZoomLevels()
{
return _downloadZoomLevels.clone();
}
/**
* Setter for downloadZoomLevel
* @param downloadZoomLevel the downloadZoomLevel to set
*/
public final void setDownloadZoomLevels(int[] downloadZoomLevel)
{
_downloadZoomLevels = downloadZoomLevel.clone();
}
}
| 2,489 | Java | .java | Zverik/JTileDownloader | 8 | 3 | 0 | 2020-12-27T13:57:45Z | 2021-03-03T06:58:36Z | fd6d49a7ea62e15c28611f8bc8d5157da03f27df8613cffcd90c82832b00c98c | [] | [
1127,
222,
338,
2657,
244,
55,
53,
53,
61,
49,
525,
14055,
16452,
21102,
2506,
222,
338,
1676,
338,
1369,
822,
458,
1760,
451,
990,
8079,
36642,
51,
222,
338,
222,
338,
990,
8079,
36642,
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,
990,
8079,
36642,
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,
327,
2987,
822,
39543,
51,
2787,
46,
451,
341,
6994,
1676,
338,
6153,
5062,
1196,
7979,
642,
990,
8079,
36642,
51,
222,
338,
1691,
666,
49,
2337,
350,
544,
574,
1516,
51,
10627,
51,
1107,
52,
4205,
28699,
222,
588,
222,
222,
1337,
1105,
51,
38443,
51,
107,
954,
51,
111,
8344,
47310,
51,
8344,
687,
64,
222,
222,
485,
1105,
51,
38443,
51,
107,
954,
51,
111,
8344,
47310,
51,
5238,
64,
222,
222,
1350,
222,
338,
1676,
588,
222,
942,
5560,
462,
18891,
739,
5248,
303,
4584,
18891,
739,
222,
128,
303,
964,
648,
1197,
634,
5000,
12750,
18261,
64,
465,
1041,
294,
338,
496,
772,
7733,
294,
338,
496,
772,
13170,
2671,
294,
338,
496,
620,
9615,
94,
294,
588,
303,
2532,
1175,
648,
9226,
8079,
94,
45,
2640,
7733,
49,
648,
13170,
2671,
46,
303,
320,
310,
434,
327,
4520,
350,
14072,
51,
4697,
100,
22341,
46,
310,
320,
343,
7733,
299,
14072,
51,
4697,
100,
22341,
64,
310,
339,
310,
434,
327,
4520,
868,
14072,
51,
3470,
100,
22341,
46,
310,
320,
343,
7733,
299,
14072,
51,
3470,
100,
22341,
64,
310,
339,
310,
648,
553,
299,
327,
429,
46,
4189,
51,
9157,
1181,
54,
449,
4189,
51,
769,
45,
5728,
51,
21977,
45,
4520,
338,
4189,
51,
1182,
536,
244,
54,
61,
53,
46,
494,
244,
54,
536,
4189,
51,
4984,
45,
4520,
338,
4189,
51,
1182,
536,
244,
54,
61,
53,
509,
536,
4189,
51,
1182,
46,
536,
244,
55,
338,
327,
54,
1281,
13170,
2671,
894,
310,
461,
553,
64,
303,
339,
465,
1041,
294,
338,
496,
772,
14733,
294,
338,
496,
772,
13170,
2671,
294,
338,
496,
620,
9615,
93,
294,
588,
303,
2532,
1175,
648,
9226,
8079,
93,
45,
2640,
14733,
49,
648,
13170,
2671,
46,
303,
320,
310,
434,
327,
9541,
350,
14072,
51,
4697,
100,
42280,
46,
310,
320,
343,
14733,
299,
14072,
51,
4697,
100,
42280,
64,
310,
339,
310,
434,
327,
9541,
868,
14072,
51,
3470,
100,
42280,
46,
310,
320,
343,
14733,
299,
14072,
51,
3470,
100,
42280,
64,
310,
339,
603,
648,
837,
299,
327,
429,
46,
4189,
51,
9157,
1181,
9541,
494,
244,
54,
61,
53,
46,
536,
244,
56,
59,
53,
338,
327,
54,
1281,
13170,
2671,
894,
310,
461,
837,
64,
303,
339,
465,
1041,
294,
338,
35542,
456,
5844,
12750,
2671,
294,
338,
496,
620,
341,
5844,
12750,
2671,
294,
588,
303,
581,
1175,
648,
1197,
640,
7511,
12750,
18261,
365,
303,
320,
310,
461,
634,
5000,
12750,
18261,
51,
6371,
492,
303,
339,
465,
1041,
294,
338,
45973,
456,
5844,
12750,
2671,
294,
338,
496,
772,
5844,
12750,
2671,
341,
5844,
12750,
2671,
391,
758,
294,
588,
303,
581,
1175,
782,
758,
7511,
12750,
18261,
45,
429,
1197,
5844,
12750,
2671,
46,
303,
320,
310,
634,
5000,
12750,
18261,
299,
5844,
12750,
2671,
51,
6371,
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,
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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
]
] | 636 | true | 61.025427 | true | true |
ComponentDescriptionValues.java | /FileExtraction/Java_unseen/dedica-team_nivio/src/main/java/de/bonndan/nivio/input/ComponentDescriptionValues.java | package de.bonndan.nivio.input;
import de.bonndan.nivio.input.dto.ComponentDescription;
import de.bonndan.nivio.model.Labeled;
import static de.bonndan.nivio.util.SafeAssign.assignSafeIfAbsent;
public class ComponentDescriptionValues {
/**
* Overwrites labels and links.
*
* @param existing current description present in the landscape
* @param increment new values
*/
public static void assignNotNull(ComponentDescription existing, ComponentDescription increment) {
if (increment.getName() != null)
existing.setName(increment.getName());
if (increment.getDescription() != null)
existing.setDescription(increment.getDescription());
if (increment.getOwner() != null)
existing.setOwner(increment.getOwner());
if (increment.getContact() != null)
existing.setContact(increment.getContact());
if (increment.getLabels() != null) {
increment.getLabels().forEach((s, s2) -> {
if (increment.getLabel(s) != null) {
existing.setLabel(s, s2);
}
});
}
existing.getLinks().putAll(increment.getLinks());
}
/**
* Writes the values of the increment (second object) to the first where first is null/absent.
*
* @param component target
* @param increment source
*/
public static void assignSafeNotNull(ComponentDescription component, ComponentDescription increment) {
assignSafeIfAbsent(increment.getName(), component.getName(), component::setName);
assignSafeIfAbsent(increment.getDescription(), component.getDescription(), component::setDescription);
assignSafeIfAbsent(increment.getOwner(), component.getOwner(), component::setOwner);
assignSafeIfAbsent(increment.getContact(), component.getContact(), component::setContact);
Labeled.add(increment, component);
increment.getLinks().entrySet().stream()
.filter(entry -> !component.getLinks().containsKey(entry.getKey()))
.forEach(entry -> component.getLinks().put(entry.getKey(), entry.getValue()));
}
}
| 2,189 | Java | .java | dedica-team/nivio | 25 | 13 | 118 | 2018-06-01T15:25:42Z | 2022-11-02T19:30:33Z | 3fae3ec787aaf65df457350068632bc6d64aadeef94dce9d38ad60cbff2bd669 | [] | [
1337,
428,
51,
4848,
1462,
297,
51,
115,
407,
735,
51,
1151,
64,
222,
222,
485,
428,
51,
4848,
1462,
297,
51,
115,
407,
735,
51,
1151,
51,
12292,
51,
1735,
3250,
64,
222,
485,
428,
51,
4848,
1462,
297,
51,
115,
407,
735,
51,
1184,
51,
48957,
64,
222,
222,
485,
924,
428,
51,
4848,
1462,
297,
51,
115,
407,
735,
51,
1058,
51,
11684,
9083,
51,
5179,
11684,
2811,
28738,
64,
222,
222,
942,
462,
5715,
3250,
3367,
320,
465,
1041,
294,
338,
9878,
26862,
6577,
480,
7343,
51,
294,
338,
294,
338,
496,
772,
4917,
244,
1565,
3066,
5041,
347,
341,
37079,
294,
338,
496,
772,
11902,
556,
2102,
294,
588,
303,
581,
924,
782,
5336,
4936,
45,
1735,
3250,
4917,
49,
5715,
3250,
11902,
46,
320,
603,
434,
327,
12128,
51,
5175,
365,
882,
762,
46,
343,
4917,
51,
15779,
45,
12128,
51,
5175,
1052,
603,
434,
327,
12128,
51,
32844,
365,
882,
762,
46,
343,
4917,
51,
28190,
45,
12128,
51,
32844,
1052,
603,
434,
327,
12128,
51,
47828,
365,
882,
762,
46,
343,
4917,
51,
489,
6456,
45,
12128,
51,
47828,
1052,
603,
434,
327,
12128,
51,
390,
5883,
365,
882,
762,
46,
343,
4917,
51,
489,
5883,
45,
12128,
51,
390,
5883,
1052,
603,
434,
327,
12128,
51,
390,
8722,
365,
882,
762,
46,
320,
343,
11902,
51,
390,
8722,
941,
5388,
1181,
120,
49,
328,
55,
46,
984,
320,
419,
434,
327,
12128,
51,
38885,
45,
120,
46,
882,
762,
46,
320,
547,
4917,
51,
44062,
45,
120,
49,
328,
55,
312,
419,
339,
343,
1141,
310,
339,
603,
4917,
51,
390,
11632,
941,
543,
1947,
45,
12128,
51,
390,
11632,
1052,
465,
339,
465,
1041,
294,
338,
33807,
341,
2102,
451,
341,
11902,
327,
3109,
1319,
46,
391,
341,
1950,
2174,
1950,
458,
762,
52,
3615,
323,
51,
294,
338,
294,
338,
496,
772,
2595,
1780,
294,
338,
496,
772,
11902,
1932,
294,
588,
303,
581,
924,
782,
5336,
11684,
4936,
45,
1735,
3250,
2595,
49,
5715,
3250,
11902,
46,
320,
603,
5336,
11684,
2811,
28738,
45,
12128,
51,
5175,
1046,
2595,
51,
5175,
1046,
2595,
422,
15779,
312,
603,
5336,
11684,
2811,
28738,
45,
12128,
51,
32844,
1046,
2595,
51,
32844,
1046,
2595,
422,
28190,
312,
310,
5336,
11684,
2811,
28738,
45,
12128,
51,
47828,
1046,
2595,
51,
47828,
1046,
2595,
422,
489,
6456,
312,
310,
5336,
11684,
2811,
28738,
45,
12128,
51,
390,
5883,
1046,
2595,
51,
390,
5883,
1046,
2595,
422,
489,
5883,
312,
603,
517,
20438,
51,
688,
45,
12128,
49,
2595,
312,
603,
11902,
51,
390,
11632,
941,
24338,
941,
2255,
365,
419,
657,
2049,
45,
3054,
984,
673,
2307,
51,
390,
11632,
941,
15927,
45,
3054,
51,
11728,
5183,
419,
657,
5388,
45,
3054,
984,
2595,
51,
390,
11632,
941,
543,
45,
3054,
51,
11728,
1046,
3429,
51,
6693,
5086,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 481 | true | 65.28095 | true | true |
EventDetailsDTO.java | /FileExtraction/Java_unseen/OpenSILEX_opensilex/opensilex-core/src/main/java/org/opensilex/core/event/api/EventDetailsDTO.java | //******************************************************************************
// EventDetailsDTO.java
// OpenSILEX - Licence AGPL V3.0 - https://www.gnu.org/licenses/agpl-3.0.en.html
// Copyright © INRAE 2020
// Contact: renaud.colin@inrae.fr, anne.tireau@inrae.fr, pascal.neveu@inrae.fr
//******************************************************************************
package org.opensilex.core.event.api;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import io.swagger.annotations.ApiModel;
import org.opensilex.core.event.dal.EventModel;
import org.opensilex.core.ontology.api.RDFObjectRelationDTO;
import org.opensilex.sparql.model.SPARQLModelRelation;
import java.util.ArrayList;
import java.util.List;
/**
* @author Renaud COLIN
*/
@JsonPropertyOrder({
"uri", "rdf_type", "rdf_type_name", "start", "end", "is_instant","description","targets","author","relations"
})
public class EventDetailsDTO extends EventGetDTO{
private List<RDFObjectRelationDTO> relations;
public List<RDFObjectRelationDTO> getRelations() {
return relations;
}
public void setRelations(List<RDFObjectRelationDTO> relations) {
this.relations = relations;
}
@Override
public void fromModel(EventModel model) {
super.fromModel(model);
List<SPARQLModelRelation> relations = model.getRelations();
this.relations = new ArrayList<>(relations.size());
for (SPARQLModelRelation relation : relations) {
this.relations.add(RDFObjectRelationDTO.getDTOFromModel(relation));
}
}
}
| 1,609 | Java | .java | OpenSILEX/opensilex | 11 | 8 | 78 | 2020-04-12T07:24:12Z | 2024-05-03T09:04:55Z | 5ab921f9be73335ca1036f3f141582fb37f03a7ecb37933372ecec68ce568e0d | [] | [
34413,
6372,
222,
325,
10094,
3916,
4375,
8723,
51,
1874,
222,
325,
3944,
2142,
15159,
449,
42629,
418,
21156,
694,
56,
51,
53,
449,
1698,
574,
1516,
51,
10627,
51,
1107,
52,
4205,
52,
500,
576,
50,
56,
51,
53,
51,
291,
51,
935,
222,
325,
2657,
14416,
1255,
87,
7726,
244,
55,
53,
55,
53,
222,
325,
12140,
63,
334,
3288,
856,
51,
770,
285,
69,
285,
1709,
106,
51,
2197,
49,
619,
960,
51,
121,
567,
4474,
69,
285,
1709,
106,
51,
2197,
49,
4368,
1299,
51,
960,
606,
122,
69,
285,
1709,
106,
51,
2197,
222,
34413,
6372,
499,
222,
1337,
1105,
51,
11627,
433,
125,
51,
1284,
51,
1585,
51,
1256,
64,
222,
222,
485,
785,
51,
15066,
51,
13353,
51,
4341,
51,
10255,
2888,
64,
222,
485,
3377,
51,
13166,
51,
8839,
51,
23193,
64,
222,
485,
1105,
51,
11627,
433,
125,
51,
1284,
51,
1585,
51,
33842,
51,
1167,
1262,
64,
222,
485,
1105,
51,
11627,
433,
125,
51,
1284,
51,
30165,
51,
1256,
51,
32650,
976,
12350,
8723,
64,
222,
485,
1105,
51,
11627,
433,
125,
51,
34874,
1383,
51,
1184,
51,
35418,
2166,
1262,
12350,
64,
222,
222,
485,
1401,
51,
1058,
51,
7119,
64,
222,
485,
1401,
51,
1058,
51,
739,
64,
222,
222,
1350,
222,
338,
496,
2133,
578,
10236,
856,
4969,
540,
222,
588,
222,
69,
10255,
2888,
1389,
310,
332,
3469,
411,
332,
18700,
100,
700,
411,
332,
18700,
100,
700,
100,
444,
411,
332,
1384,
411,
332,
435,
411,
332,
316,
100,
30216,
1479,
2328,
1479,
12518,
1479,
2133,
1479,
33034,
39,
222,
1770,
222,
942,
462,
3916,
4375,
8723,
2041,
3916,
953,
8723,
128,
465,
964,
1701,
65,
32650,
976,
12350,
8723,
67,
28273,
64,
465,
581,
1701,
65,
32650,
976,
12350,
8723,
67,
640,
28845,
365,
320,
310,
461,
28273,
64,
303,
339,
465,
581,
782,
758,
28845,
45,
739,
65,
32650,
976,
12350,
8723,
67,
28273,
46,
320,
310,
477,
51,
33034,
299,
28273,
64,
303,
339,
465,
496,
1806,
303,
581,
782,
664,
1262,
45,
1167,
1262,
1573,
46,
320,
603,
2615,
51,
1097,
1262,
45,
1184,
312,
603,
1701,
65,
35418,
2166,
1262,
12350,
67,
28273,
299,
1573,
51,
390,
28845,
492,
603,
477,
51,
33034,
299,
556,
5068,
11530,
33034,
51,
911,
1052,
310,
456,
327,
35418,
2166,
1262,
12350,
14774,
518,
28273,
46,
320,
343,
477,
51,
33034,
51,
688,
45,
32650,
976,
12350,
8723,
51,
390,
8723,
1811,
1262,
45,
12629,
894,
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,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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
]
] | 420 | true | 63.059701 | true | true |
N1qlQueryRowToAirportMapper.java | /FileExtraction/Java_unseen/asarkar_spring/travel-app/src/main/java/name/abhijitsarkar/javaee/travel/repository/N1qlQueryRowToAirportMapper.java | package name.abhijitsarkar.javaee.travel.repository;
import com.couchbase.client.java.document.json.JsonObject;
import com.couchbase.client.java.query.N1qlQueryRow;
import name.abhijitsarkar.javaee.travel.domain.Airport;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.time.Instant;
import java.time.ZoneId;
import java.time.ZonedDateTime;
import java.util.function.Function;
import static name.abhijitsarkar.javaee.travel.repository.AirportRepositoryImpl.FIELD_CITY;
import static name.abhijitsarkar.javaee.travel.repository.AirportRepositoryImpl.FIELD_COUNTRY;
import static name.abhijitsarkar.javaee.travel.repository.AirportRepositoryImpl.FIELD_FAA;
import static name.abhijitsarkar.javaee.travel.repository.AirportRepositoryImpl.FIELD_ICAO;
import static name.abhijitsarkar.javaee.travel.repository.AirportRepositoryImpl.FIELD_NAME;
import static name.abhijitsarkar.javaee.travel.repository.AirportRepositoryImpl.FIELD_TIMEZONE;
/**
* @author Abhijit Sarkar
*/
public class N1qlQueryRowToAirportMapper implements Function<N1qlQueryRow, Airport> {
private static final Logger LOGGER = LoggerFactory.getLogger(N1qlQueryRowToAirportMapper.class);
@Override
public Airport apply(N1qlQueryRow row) {
JsonObject value = row.value();
try {
/* Get current time at airport timezone */
ZonedDateTime now = Instant.now().atZone(ZoneId.of(value.getString(FIELD_TIMEZONE)));
return Airport.builder()
.name(value.getString(FIELD_NAME))
.faaCode(value.getString(FIELD_FAA))
.icaoCode(value.getString(FIELD_ICAO))
.city(value.getString(FIELD_CITY))
.country(value.getString(FIELD_COUNTRY))
.timeZoneOffset(now.getOffset())
.build();
} catch (Exception e) {
LOGGER.error("Failed to convert result row: {} to airport object.", row, e);
return null;
}
}
}
| 2,021 | Java | .java | asarkar/spring | 12 | 8 | 18 | 2017-01-15T23:09:28Z | 2022-12-16T06:28:51Z | b4facc5a2be478f24d05ed8bf0c52d4fe6bcff253dafc90c7f6a763bee3bb213 | [] | [
1337,
655,
51,
380,
5001,
111,
1526,
1111,
301,
51,
1874,
1310,
51,
24693,
51,
6335,
64,
222,
222,
485,
785,
51,
34318,
1460,
51,
1598,
51,
1874,
51,
2826,
51,
1279,
51,
20587,
64,
222,
485,
785,
51,
34318,
1460,
51,
1598,
51,
1874,
51,
1234,
51,
83,
54,
1383,
1643,
2368,
64,
222,
485,
655,
51,
380,
5001,
111,
1526,
1111,
301,
51,
1874,
1310,
51,
24693,
51,
4136,
51,
14493,
644,
64,
222,
485,
1105,
51,
12172,
57,
111,
51,
3716,
64,
222,
485,
1105,
51,
12172,
57,
111,
51,
19580,
64,
222,
222,
485,
1401,
51,
1021,
51,
22154,
64,
222,
485,
1401,
51,
1021,
51,
6778,
625,
64,
222,
485,
1401,
51,
1021,
51,
95,
36072,
64,
222,
485,
1401,
51,
1058,
51,
1144,
51,
2466,
64,
222,
222,
485,
924,
655,
51,
380,
5001,
111,
1526,
1111,
301,
51,
1874,
1310,
51,
24693,
51,
6335,
51,
14493,
644,
3231,
3499,
51,
6457,
100,
72,
2932,
64,
222,
485,
924,
655,
51,
380,
5001,
111,
1526,
1111,
301,
51,
1874,
1310,
51,
24693,
51,
6335,
51,
14493,
644,
3231,
3499,
51,
6457,
100,
39691,
64,
222,
485,
924,
655,
51,
380,
5001,
111,
1526,
1111,
301,
51,
1874,
1310,
51,
24693,
51,
6335,
51,
14493,
644,
3231,
3499,
51,
6457,
100,
1867,
70,
64,
222,
485,
924,
655,
51,
380,
5001,
111,
1526,
1111,
301,
51,
1874,
1310,
51,
24693,
51,
6335,
51,
14493,
644,
3231,
3499,
51,
6457,
100,
1122,
15277,
64,
222,
485,
924,
655,
51,
380,
5001,
111,
1526,
1111,
301,
51,
1874,
1310,
51,
24693,
51,
6335,
51,
14493,
644,
3231,
3499,
51,
6457,
100,
2491,
64,
222,
485,
924,
655,
51,
380,
5001,
111,
1526,
1111,
301,
51,
1874,
1310,
51,
24693,
51,
6335,
51,
14493,
644,
3231,
3499,
51,
6457,
100,
4812,
27346,
64,
222,
222,
1350,
222,
338,
496,
2133,
4972,
5001,
14955,
377,
1111,
301,
222,
588,
222,
942,
462,
508,
54,
1383,
1643,
2368,
724,
14493,
644,
5640,
4584,
4564,
65,
83,
54,
1383,
1643,
2368,
49,
18982,
644,
67,
320,
303,
964,
924,
1175,
7145,
15794,
299,
21818,
51,
10588,
45,
83,
54,
1383,
1643,
2368,
724,
14493,
644,
5640,
51,
842,
312,
465,
496,
1806,
303,
581,
18982,
644,
4894,
45,
83,
54,
1383,
1643,
2368,
2720,
46,
320,
310,
30006,
804,
299,
2720,
51,
872,
492,
603,
1614,
320,
343,
1276,
1408,
1565,
1153,
840,
15320,
644,
22145,
588,
343,
2538,
36072,
2483,
299,
26696,
51,
2192,
941,
288,
6778,
45,
6778,
625,
51,
1048,
45,
872,
51,
7080,
45,
6457,
100,
4812,
27346,
4254,
1083,
461,
18982,
644,
51,
4179,
365,
547,
657,
444,
45,
872,
51,
7080,
45,
6457,
100,
2491,
509,
547,
657,
29396,
1241,
45,
872,
51,
7080,
45,
6457,
100,
1867,
70,
509,
547,
657,
29703,
1241,
45,
872,
51,
7080,
45,
6457,
100,
1122,
15277,
509,
547,
657,
5733,
45,
872,
51,
7080,
45,
6457,
100,
72,
2932,
509,
547,
657,
7039,
45,
872,
51,
7080,
45,
6457,
100,
39691,
509,
547,
657,
1021,
6778,
3468,
45,
2192,
51,
390,
3468,
1177,
547,
657,
1848,
492,
310,
339,
2385,
327,
1002,
503,
46,
320,
343,
15794,
51,
750,
459,
5296,
391,
4511,
1074,
2720,
63,
2172,
391,
15320,
644,
1319,
4429,
2720,
49,
503,
312,
1083,
461,
762,
64,
310,
339,
303,
339,
222,
130,
222
] | [
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
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 559 | true | 71.202375 | true | true |
TestHtmlTableTags.java | /FileExtraction/Java_unseen/AdoptOpenJDK_openjdk-jdk/test/langtools/jdk/javadoc/doclet/testHtmlTableTags/TestHtmlTableTags.java | /*
* Copyright (c) 2009, 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
* @bug 6786688 8008164 8162363 8169819 8183037 8182765 8184205 8242649 8259726
* @summary HTML tables should have table summary, caption and table headers.
* @library ../../lib
* @modules jdk.javadoc/jdk.javadoc.internal.tool
* @build javadoc.tester.*
* @run main TestHtmlTableTags
*/
import javadoc.tester.JavadocTester;
public class TestHtmlTableTags extends JavadocTester {
//Javadoc arguments.
private static final String[] ARGS = new String[] {
};
public static void main(String... args) throws Exception {
TestHtmlTableTags tester = new TestHtmlTableTags();
tester.runTests();
}
@Test
public void test() {
javadoc("-d", "out",
"-sourcepath", testSrc,
"-use",
"--no-platform-links",
"pkg1", "pkg2");
checkExit(Exit.OK);
checkHtmlTableTag();
checkHtmlTableCaptions();
checkHtmlTableHeaders();
checkHtmlTableContents();
}
@Test
public void testNoComment() {
javadoc("-d", "out-nocomment",
"-nocomment",
"-sourcepath", testSrc,
"-use",
"--no-platform-links",
"pkg1", "pkg2");
checkExit(Exit.OK);
checkHtmlTableTag();
checkHtmlTableCaptions();
checkHtmlTableHeaders();
checkHtmlTableContentsNoComment();
}
/*
* Tests for validating table tag for HTML tables
*/
void checkHtmlTableTag() {
//Package summary
checkOutput("pkg1/package-summary.html", true,
"""
<div class="summary-table two-column-summary" aria-labelledby="class-summary-tab0">""");
checkOutput("pkg2/package-summary.html", true,
"""
<div class="summary-table two-column-summary" aria-labelledby="class-summary-tab0">""");
// Class documentation
checkOutput("pkg1/C1.html", true,
"""
<div class="summary-table three-column-summary">""",
"""
<div class="summary-table three-column-summary" aria-labelledby="method-summary-table-tab0">""");
checkOutput("pkg2/C2.html", true,
"""
<div class="summary-table three-column-summary">""",
"""
<div class="summary-table three-column-summary" aria-labelledby="method-summary-table-tab0">""");
checkOutput("pkg2/C2.ModalExclusionType.html", true,
"""
<div class="summary-table two-column-summary">""");
checkOutput("pkg2/C3.html", true,
"""
<div class="summary-table three-column-summary">""");
checkOutput("pkg2/C4.html", true,
"""
<div class="summary-table three-column-summary">""");
// Class use documentation
checkOutput("pkg1/class-use/I1.html", true,
"""
<div class="summary-table two-column-summary">""");
checkOutput("pkg1/class-use/C1.html", true,
"""
<div class="summary-table two-column-summary">""",
"""
<div class="summary-table two-column-summary">""");
checkOutput("pkg2/class-use/C2.html", true,
"""
<div class="summary-table two-column-summary">""",
"""
<div class="summary-table two-column-summary">""");
checkOutput("pkg2/class-use/C2.ModalExclusionType.html", true,
"""
<div class="summary-table two-column-summary">""");
checkOutput("pkg2/class-use/C2.ModalExclusionType.html", true,
"""
<div class="summary-table two-column-summary">""");
// Package use documentation
checkOutput("pkg1/package-use.html", true,
"""
<div class="summary-table two-column-summary">""",
"""
<div class="summary-table two-column-summary">""");
checkOutput("pkg2/package-use.html", true,
"""
<div class="summary-table two-column-summary">""",
"""
<div class="summary-table two-column-summary">""");
// Deprecated
checkOutput("deprecated-list.html", true,
"""
<div class="summary-table two-column-summary">""",
"""
<div class="summary-table two-column-summary">""");
// Constant values
checkOutput("constant-values.html", true,
"""
<div class="summary-table three-column-summary">""");
// Overview Summary
checkOutput("index.html", true,
"""
<div class="summary-table two-column-summary">""");
}
/*
* Tests for validating summary for HTML tables
*/
void checkHtmlTableSummaries() {
//Package summary
checkOutput("pkg1/package-summary.html", true,
"""
<div class="type-summary">
<table summary="Class Summary table, listing classes, and an explanation">""",
"""
<div class="type-summary">
<table summary="Interface Summary table, listing interfaces, and an explanation">""");
checkOutput("pkg2/package-summary.html", true,
"""
<div class="type-summary">
<table summary="Enum Class Summary table, listing enums, and an explanation">""",
"""
<div class="type-summary">
<table summary="Annotation Interfaces Summary table, listing annotation types, and an explanation">""");
// Class documentation
checkOutput("pkg1/C1.html", true,
"""
<div class="member-summary">
<table summary="Field Summary table, listing fields, and an explanation">""",
"<div class=\"member-summary\">\n",
"""
<table summary="Method Summary table, listing methods, and an explanation" aria-labelledby="t0">""");
checkOutput("pkg2/C2.html", true,
"""
<div class="member-summary">
<table summary="Nested Class Summary table, listing nested classes, and an explanation">""",
"""
<div class="member-summary">
<table summary="Constructor Summary table, listing constructors, and an explanation">""");
checkOutput("pkg2/C2.ModalExclusionType.html", true,
"""
<div class="member-summary">
<table summary="Enum Constant Summary table, listing enum constants, and an explanation">""");
checkOutput("pkg2/C3.html", true,
"""
<div class="member-summary">
<table summary="Required Element Summary table, listing required elements, and an explanation">""");
checkOutput("pkg2/C4.html", true,
"""
<div class="member-summary">
<table summary="Optional Element Summary table, listing optional elements, and an explanation">""");
// Class use documentation
checkOutput("pkg1/class-use/I1.html", true,
"""
<div class="use-summary">
<table summary="Use table, listing packages, and an explanation">""");
checkOutput("pkg1/class-use/C1.html", true,
"""
<div class="use-summary">
<table summary="Use table, listing fields, and an explanation">""",
"""
<div class="use-summary">
<table summary="Use table, listing methods, and an explanation">""");
checkOutput("pkg2/class-use/C2.html", true,
"""
<div class="use-summary">
<table summary="Use table, listing fields, and an explanation">""",
"""
<div class="use-summary">
<table summary="Use table, listing methods, and an explanation">""");
checkOutput("pkg2/class-use/C2.ModalExclusionType.html", true,
"""
<div class="use-summary">
<table summary="Use table, listing packages, and an explanation">""");
checkOutput("pkg2/class-use/C2.ModalExclusionType.html", true,
"""
<div class="use-summary">
<table summary="Use table, listing methods, and an explanation">""");
// Package use documentation
checkOutput("pkg1/package-use.html", true,
"""
<div class="use-summary">
<table summary="Use table, listing packages, and an explanation">""",
"""
<div class="use-summary">
<table summary="Use table, listing classes, and an explanation">""");
checkOutput("pkg2/package-use.html", true,
"""
<div class="use-summary">
<table summary="Use table, listing packages, and an explanation">""",
"""
<div class="use-summary">
<table summary="Use table, listing classes, and an explanation">""");
// Deprecated
checkOutput("deprecated-list.html", true,
"""
<div class="deprecated-summary" id="field">
<table summary="Fields table, listing fields, and an explanation">""",
"""
<div class="deprecated-summary" id="method">
<table summary="Methods table, listing methods, and an explanation">""");
// Constant values
checkOutput("constant-values.html", true,
"""
<div class="constants-summary">
<table summary="Constant Field Values table, listing constant fields, and values">""");
// Overview Summary
checkOutput("index.html", true,
"""
<div class="overview-summary" id="all-packages">
<table summary="Package Summary table, listing packages, and an explanation">""");
}
/*
* Tests for validating caption for HTML tables
*/
void checkHtmlTableCaptions() {
//Package summary
checkOutput("pkg1/package-summary.html", true,
"""
<div class="table-tabs" role="tablist" aria-orientation="horizontal"><button id=\
"class-summary-tab0" role="tab" aria-selected="true" aria-controls="class-summar\
y.tabpanel" tabindex="0" onkeydown="switchTab(event)" onclick="show('class-summa\
ry', 'class-summary', 2)" class="active-table-tab">All Classes and Interfaces</b\
utton>\
<button id="class-summary-tab1" role="tab" aria-selected="false" aria-controls="\
class-summary.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show\
('class-summary', 'class-summary-tab1', 2)" class="table-tab">Interfaces</button\
>\
<button id="class-summary-tab2" role="tab" aria-selected="false" aria-controls="\
class-summary.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show\
('class-summary', 'class-summary-tab2', 2)" class="table-tab">Classes</button></\
div>""");
checkOutput("pkg2/package-summary.html", true,
"""
<div class="table-tabs" role="tablist" aria-orientation="horizontal"><button id=\
"class-summary-tab0" role="tab" aria-selected="true" aria-controls="class-summar\
y.tabpanel" tabindex="0" onkeydown="switchTab(event)" onclick="show('class-summa\
ry', 'class-summary', 2)" class="active-table-tab">All Classes and Interfaces</b\
utton>\
<button id="class-summary-tab2" role="tab" aria-selected="false" aria-controls="\
class-summary.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show\
('class-summary', 'class-summary-tab2', 2)" class="table-tab">Classes</button>\
<button id="class-summary-tab3" role="tab" aria-selected="false" aria-controls="\
class-summary.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show\
('class-summary', 'class-summary-tab3', 2)" class="table-tab">Enum Classes</butt\
on>\
<button id="class-summary-tab7" role="tab" aria-selected="false" aria-controls="\
class-summary.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show\
('class-summary', 'class-summary-tab7', 2)" class="table-tab">Annotation Interfa\
ces</button></div>""");
// Class documentation
checkOutput("pkg1/C1.html", true,
"""
<div class="caption"><span>Fields</span></div>""",
"""
<div class="table-tabs" role="tablist" aria-orientation="horizontal">\
<button id="method-summary-table-tab0" role="tab" aria-selected="true" aria-cont\
rols="method-summary-table.tabpanel" tabindex="0" onkeydown="switchTab(event)" o\
nclick="show('method-summary-table', 'method-summary-table', 3)" class="active-t\
able-tab">All Methods</button>\
<button id="method-summary-table-tab2" role="tab" aria-selected="false" aria-con\
trols="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)"\
onclick="show('method-summary-table', 'method-summary-table-tab2', 3)" class="t\
able-tab">Instance Methods</button>\
<button id="method-summary-table-tab4" role="tab" aria-selected="false" aria-con\
trols="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)"\
onclick="show('method-summary-table', 'method-summary-table-tab4', 3)" class="t\
able-tab">Concrete Methods</button>\
<button id="method-summary-table-tab6" role="tab" aria-selected="false" aria-con\
trols="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)"\
onclick="show('method-summary-table', 'method-summary-table-tab6', 3)" class="t\
able-tab">Deprecated Methods</button>\
</div>
""");
checkOutput("pkg2/C2.html", true,
"""
<div class="caption"><span>Nested Classes</span></div>""",
"""
<div class="caption"><span>Constructors</span></div>""");
checkOutput("pkg2/C2.ModalExclusionType.html", true,
"""
<div class="caption"><span>Enum Constants</span></div>""");
checkOutput("pkg2/C3.html", true,
"""
<div class="caption"><span>Required Elements</span></div>""");
checkOutput("pkg2/C4.html", true,
"""
<div class="caption"><span>Optional Elements</span></div>""");
// Class use documentation
checkOutput("pkg1/class-use/I1.html", true,
"""
<div class="caption"><span>Packages that use <a href="../I1.html" title="interface in pkg1">I1</a></span></div>""");
checkOutput("pkg1/class-use/C1.html", true,
"""
<div class="caption"><span>Fields in <a href="../../pkg2/package-summary.html">pkg2</a> decl\
ared as <a href="../C1.html" title="class in pkg1">C1</a></span></div>""",
"""
<div class="caption"><span>Methods in <a href="../../pkg2/package-summary.html">pkg2</a> tha\
t return <a href="../C1.html" title="class in pkg1">C1</a></span></div>""");
checkOutput("pkg2/class-use/C2.html", true,
"""
<div class="caption"><span>Fields in <a href="../../pkg1/package-summary.html">pkg1</a> decl\
ared as <a href="../C2.html" title="class in pkg2">C2</a></span></div>""",
"""
<div class="caption"><span>Methods in <a href="../../pkg1/package-summary.html">pkg1</a> tha\
t return <a href="../C2.html" title="class in pkg2">C2</a></span></div>""");
checkOutput("pkg2/class-use/C2.ModalExclusionType.html", true,
"""
<div class="caption"><span>Methods in <a href="../package-summary.html">pkg2</a> that return\
<a href="../C2.ModalExclusionType.html" title="enum class in pkg2">C2.ModalExclusionT\
ype</a></span></div>""");
// Package use documentation
checkOutput("pkg1/package-use.html", true,
"""
<div class="caption"><span>Packages that use <a href="package-summary.html">pkg1</a></span></div>""",
"""
<div class="caption"><span>Classes in <a href="package-summary.html">pkg1</a> used by <a hre\
f="package-summary.html">pkg1</a></span></div>""");
checkOutput("pkg2/package-use.html", true,
"""
<div class="caption"><span>Packages that use <a href="package-summary.html">pkg2</a></span></div>""",
"""
<div class="caption"><span>Classes in <a href="package-summary.html">pkg2</a> used by <a hre\
f="../pkg1/package-summary.html">pkg1</a></span></div>""");
// Deprecated
checkOutput("deprecated-list.html", true,
"""
<div class="caption"><span>Fields</span></div>""",
"""
<div class="caption"><span>Methods</span></div>""");
// Constant values
checkOutput("constant-values.html", true,
"""
<div class="caption"><span>pkg1.<a href="pkg1/C1.html" title="class in pkg1">C1</a></span></div>""");
// Overview Summary
checkOutput("index.html", true,
"""
<div class="caption"><span>Packages</span></div>""");
}
/*
* Test for validating headers for HTML tables
*/
void checkHtmlTableHeaders() {
//Package summary
checkOutput("pkg1/package-summary.html", true,
"""
<div class="table-header col-first">Class</div>
<div class="table-header col-last">Description</div>""");
checkOutput("pkg2/package-summary.html", true,
"""
<div class="table-header col-first">Class</div>
<div class="table-header col-last">Description</div>""");
// Class documentation
checkOutput("pkg1/C1.html", true,
"""
<div class="table-header col-first">Modifier and Type</div>
<div class="table-header col-second">Field</div>
<div class="table-header col-last">Description</div>""",
"""
<div class="table-header col-first">Modifier and Type</div>
<div class="table-header col-second">Method</div>
<div class="table-header col-last">Description</div>""");
checkOutput("pkg2/C2.html", true,
"""
<div class="table-header col-first">Modifier and Type</div>
<div class="table-header col-second">Class</div>
<div class="table-header col-last">Description</div>""",
"""
<div class="table-header col-first">Constructor</div>
<div class="table-header col-last">Description</div>""");
checkOutput("pkg2/C2.ModalExclusionType.html", true,
"""
<div class="table-header col-first">Enum Constant</div>
<div class="table-header col-last">Description</div>""");
checkOutput("pkg2/C3.html", true,
"""
<div class="table-header col-first">Modifier and Type</div>
<div class="table-header col-second">Required Element</div>
<div class="table-header col-last">Description</div>""");
checkOutput("pkg2/C4.html", true,
"""
<div class="table-header col-first">Modifier and Type</div>
<div class="table-header col-second">Optional Element</div>
<div class="table-header col-last">Description</div>""");
// Class use documentation
checkOutput("pkg1/class-use/I1.html", true,
"""
<div class="table-header col-first">Package</div>
<div class="table-header col-last">Description</div>""");
checkOutput("pkg1/class-use/C1.html", true,
"""
<div class="table-header col-first">Modifier and Type</div>
<div class="table-header col-second">Field</div>
<div class="table-header col-last">Description</div>""",
"""
<div class="table-header col-first">Modifier and Type</div>
<div class="table-header col-second">Method</div>
<div class="table-header col-last">Description</div>""");
checkOutput("pkg2/class-use/C2.html", true,
"""
<div class="table-header col-first">Modifier and Type</div>
<div class="table-header col-second">Field</div>
<div class="table-header col-last">Description</div>""",
"""
<div class="table-header col-first">Modifier and Type</div>
<div class="table-header col-second">Method</div>
<div class="table-header col-last">Description</div>""");
checkOutput("pkg2/class-use/C2.ModalExclusionType.html", true,
"""
<div class="table-header col-first">Package</div>
<div class="table-header col-last">Description</div>""",
"""
<div class="table-header col-first">Modifier and Type</div>
<div class="table-header col-second">Method</div>
<div class="table-header col-last">Description</div>""");
// Package use documentation
checkOutput("pkg1/package-use.html", true,
"""
<div class="table-header col-first">Package</div>
<div class="table-header col-last">Description</div>""",
"""
<div class="table-header col-first">Class</div>
<div class="table-header col-last">Description</div>""");
checkOutput("pkg2/package-use.html", true,
"""
<div class="table-header col-first">Package</div>
<div class="table-header col-last">Description</div>""",
"""
<div class="table-header col-first">Class</div>
<div class="table-header col-last">Description</div>""");
// Deprecated
checkOutput("deprecated-list.html", true,
"""
<div class="table-header col-first">Field</div>
<div class="table-header col-last">Description</div>""",
"""
<div class="table-header col-first">Method</div>
<div class="table-header col-last">Description</div>""");
// Constant values
checkOutput("constant-values.html", true,
"""
<div class="table-header col-first">Modifier and Type</div>
<div class="table-header col-second">Constant Field</div>
<div class="table-header col-last">Value</div>""");
// Overview Summary
checkOutput("index.html", true,
"""
<div class="table-header col-first">Package</div>
<div class="table-header col-last">Description</div>""");
}
/*
* Test for validating HTML table contents.
*/
void checkHtmlTableContents() {
//Package summary
checkOutput("pkg1/package-summary.html", true,
"""
<div class="col-first odd-row-color class-summary class-summary-tab1"><a \
href="I1.html" title="interface in pkg1">I1</a></div>
<div class="col-last odd-row-color class-summary class-summary-tab1">
<div class="block">A sample interface used to test table tags.</div>
</div>""",
"""
<div class="col-first even-row-color class-summary class-summary-tab2"><a\
href="C1.html" title="class in pkg1">C1</a></div>
<div class="col-last even-row-color class-summary class-summary-tab2">
<div class="block">A test class.</div>
</div>""");
checkOutput("pkg2/package-summary.html", true,
"""
<div class="col-first odd-row-color class-summary class-summary-tab3"><a \
href="C2.ModalExclusionType.html" title="enum class in pkg2">C2.ModalExclusionType</a></div>
<div class="col-last odd-row-color class-summary class-summary-tab3">
<div class="block">A sample enum.</div>
</div>""",
"""
<div class="col-first even-row-color class-summary class-summary-tab7"><a\
href="C3.html" title="annotation interface in pkg2">C3</a></div>
<div class="col-last even-row-color class-summary class-summary-tab7">
<div class="block">Test Annotation class.</div>
</div>""");
// Class documentation
checkOutput("pkg1/C1.html", true,
"""
<div class="col-first odd-row-color"><code><a href="../pkg2/C2.html" title="class in pkg2">C2</a></code></div>
<div class="col-second odd-row-color"><code><a href="#field" class="member-name-link">field</a></code></div>
<div class="col-last odd-row-color">
<div class="block">Test field for class.</div>
</div>""",
"""
<div class="col-first even-row-color method-summary-table method-summary-table-t\
ab2 method-summary-table-tab4"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-\
tab2 method-summary-table-tab4"><code><a href="#method1(int,int)" class="member-\
name-link">method1</a><wbr>(int a,
int b)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-ta\
b2 method-summary-table-tab4">
<div class="block">Method that is implemented.</div>
</div>""");
checkOutput("pkg2/C2.html", true,
"""
<div class="col-first even-row-color"><code><a href="../pkg1/C1.html" title="class in pkg1">C1</a></code></div>
<div class="col-second even-row-color"><code><a href="#field" class="member-name-link">field</a></code></div>
<div class="col-last even-row-color">
<div class="block">A test field.</div>
</div>""",
"""
<div class="col-first even-row-color method-summary-table method-summary-table-t\
ab2 method-summary-table-tab4"><code><a href="../pkg1/C1.html" title="class in p\
kg1">C1</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-\
tab2 method-summary-table-tab4"><code><a href="#method(pkg1.C1)" class="member-n\
ame-link">method</a><wbr>(<a href="../pkg1/C1.html" title="class in pkg1">C1</a>\
param)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-ta\
b2 method-summary-table-tab4">
<div class="block">A sample method.</div>
</div>""");
checkOutput("pkg2/C2.ModalExclusionType.html", true,
"""
<div class="col-first odd-row-color"><code><a href="#NO_EXCLUDE" class="member-n\
ame-link">NO_EXCLUDE</a></code></div>
<div class="col-last odd-row-color">
<div class="block">Test comment.</div>
</div>""");
checkOutput("pkg2/C3.html", true,
"""
<div class="col-second even-row-color"><code><a href="#value()" class="member-name-link">value</a></code></div>
<div class="col-last even-row-color">
<div class="block">Comment.</div>
</div>""");
checkOutput("pkg2/C4.html", true,
"""
<div class="col-first even-row-color"><code>boolean</code></div>
<div class="col-second even-row-color"><code><a href="#value()" class="member-name-link">value</a></code></div>
<div class="col-last even-row-color"> </div>
</div>""");
// Class use documentation
checkOutput("pkg1/class-use/I1.html", true,
"""
<div class="col-first even-row-color"><a href="#pkg1">pkg1</a></div>
<div class="col-last even-row-color">
<div class="block">Test package 1 used to test table tags.</div>
</div>""");
checkOutput("pkg2/class-use/C2.html", true,
"""
<div class="col-first even-row-color"><code><a href="../C2.html" title="class in pkg2">C2</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">C1.</span><\
code><a href="../../pkg1/C1.html#field" class="member-name-link">field</a></code></div>
<div class="col-last even-row-color">
<div class="block">Test field for class.</div>
</div>""",
"""
<div class="col-first even-row-color"><code><a href="../C2.html" title="class in pkg2">C2</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">C1.</span><\
code><a href="../../pkg1/C1.html#method(pkg2.C2)" class="member-name-link">metho\
d</a><wbr>(<a href="../C2.html" title="class in pkg2">C2</a> param)</code><\
/div>
<div class="col-last even-row-color">
<div class="block">Method thats does some processing.</div>
</div>""");
// Package use documentation
checkOutput("pkg1/package-use.html", true,
"""
<div class="col-first even-row-color"><a href="#pkg1">pkg1</a></div>
<div class="col-last even-row-color">
<div class="block">Test package 1 used to test table tags.</div>
</div>""",
"""
<div class="col-first even-row-color"><a href="class-use/C1.html#pkg2">C1</a></div>
<div class="col-last even-row-color">
<div class="block">A test class.</div>
</div>""");
// Deprecated
checkOutput("deprecated-list.html", true,
"""
<div class="col-summary-item-name even-row-color"><a href="pkg2/C2.html#dep_field">pkg2.C2.dep_field</a></div>
<div class="col-last even-row-color">
<div class="deprecation-comment">don't use this field anymore.</div>
</div>""",
"""
<div class="col-summary-item-name even-row-color"><a href="pkg1/C1.html#deprecat\
edMethod()">pkg1.C1.deprecatedMethod()</a></div>
<div class="col-last even-row-color">
<div class="deprecation-comment">don't use this anymore.</div>
</div>""");
// Constant values
checkOutput("constant-values.html", true,
"""
<div class="col-first even-row-color"><code id="pkg1.C1.CONSTANT1">public s\
tatic final java.lang.String</code></div>
<div class="col-second even-row-color"><code><a href="pkg1/C1.html#CONSTANT1">CONSTANT1</a></code></div>
<div class="col-last even-row-color"><code>"C1"</code></div>
</div>""");
// Overview Summary
checkOutput("index.html", true,
"""
<div class="col-first even-row-color all-packages-table all-packages-table-tab1"\
><a href="pkg1/package-summary.html">pkg1</a></div>
<div class="col-last even-row-color all-packages-table all-packages-table-tab1">
<div class="block">Test package 1 used to test table tags.</div>
</div>""");
}
/*
* Test for validating HTML table contents with -nocomment option.
*/
void checkHtmlTableContentsNoComment() {
//Package summary
checkOutput("pkg1/package-summary.html", true,
"""
<div class="col-first odd-row-color class-summary class-summary-tab1"><a \
href="I1.html" title="interface in pkg1">I1</a></div>
<div class="col-last odd-row-color class-summary class-summary-tab1"></div>""",
"""
<div class="col-first even-row-color class-summary class-summary-tab2"><a\
href="C1.html" title="class in pkg1">C1</a></div>
<div class="col-last even-row-color class-summary class-summary-tab2"></div>""");
checkOutput("pkg2/package-summary.html", true,
"""
<div class="col-first odd-row-color class-summary class-summary-tab3"><a \
href="C2.ModalExclusionType.html" title="enum class in pkg2">C2.ModalExclusionTyp\
e</a></div>
<div class="col-last odd-row-color class-summary class-summary-tab3"></div>""",
"""
<div class="col-first even-row-color class-summary class-summary-tab7"><a\
href="C3.html" title="annotation interface in pkg2">C3</a></div>
<div class="col-last even-row-color class-summary class-summary-tab7"></div>""");
// Class documentation
checkOutput("pkg1/C1.html", true,
"""
<div class="col-first odd-row-color"><code><a href="../pkg2/C2.html" title="class in pkg2">C2</a></code></div>
<div class="col-second odd-row-color"><code><a href="#field" class="member-name-link">field</a></code></div>
<div class="col-last odd-row-color"></div>""",
"""
<div class="col-first even-row-color method-summary-table method-summary-table-t\
ab2 method-summary-table-tab4"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-\
tab2 method-summary-table-tab4"><code><a href="#method1(int,int)" class="member-\
name-link">method1</a><wbr>(int a,
int b)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-ta\
b2 method-summary-table-tab4"></div>""");
checkOutput("pkg2/C2.html", true,
"""
<div class="col-first even-row-color"><code><a href="../pkg1/C1.html" title="class in pkg1">C1</a></code></div>
<div class="col-second even-row-color"><code><a href="#field" class="member-name-link">field</a></code></div>
<div class="col-last even-row-color"></div>""",
"""
<div class="col-first even-row-color method-summary-table method-summary-table-t\
ab2 method-summary-table-tab4"><code><a href="../pkg1/C1.html" title="class in p\
kg1">C1</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-\
tab2 method-summary-table-tab4"><code><a href="#method(pkg1.C1)" class="member-n\
ame-link">method</a><wbr>(<a href="../pkg1/C1.html" title="class in pkg1">C1</a>\
param)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-ta\
b2 method-summary-table-tab4"></div>""");
checkOutput("pkg2/C2.ModalExclusionType.html", true,
"""
<div class="col-first odd-row-color"><code><a href="#NO_EXCLUDE" class="member-n\
ame-link">NO_EXCLUDE</a></code></div>
<div class="col-last odd-row-color"></div>""");
checkOutput("pkg2/C3.html", true,
"""
<div class="col-second even-row-color"><code><a href="#value()" class="member-na\
me-link">value</a></code></div>
<div class="col-last even-row-color"></div>""");
checkOutput("pkg2/C4.html", true,
"""
<div class="col-first even-row-color"><code>boolean</code></div>
<div class="col-second even-row-color"><code><a href="#value()" class="member-na\
me-link">value</a></code></div>
<div class="col-last even-row-color"></div>
</div>""");
// Class use documentation
checkOutput("pkg1/class-use/I1.html", true,
"""
<div class="col-first even-row-color"><a href="#pkg1">pkg1</a></div>
<div class="col-last even-row-color"></div>""");
checkOutput("pkg2/class-use/C2.html", true,
"""
<div class="col-first even-row-color"><code><a href="../C2.html" title="class in pkg2">C2</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">C1.</span><\
code><a href="../../pkg1/C1.html#field" class="member-name-link">field</a></code\
></div>
<div class="col-last even-row-color"></div>""",
"""
<div class="col-first even-row-color"><code><a href="../C2.html" title="class in pkg2">C2</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">C1.</span><\
code><a href="../../pkg1/C1.html#method(pkg2.C2)" class="member-name-link">metho\
d</a><wbr>(<a href="../C2.html" title="class in pkg2">C2</a> param)</code></div>
<div class="col-last even-row-color"></div>""");
// Package use documentation
checkOutput("pkg1/package-use.html", true,
"""
<div class="col-first even-row-color"><a href="#pkg1">pkg1</a></div>
<div class="col-last even-row-color"></div>""",
"""
<div class="col-first even-row-color"><a href="class-use/C1.html#pkg2">C1</a></div>
<div class="col-last even-row-color"></div>""");
// Deprecated
checkOutput("deprecated-list.html", true,
"""
<div class="col-summary-item-name even-row-color"><a href="pkg2/C2.html#dep_field">pkg2.C2.dep_field</a></div>
<div class="col-last even-row-color"></div>""",
"""
<div class="col-summary-item-name even-row-color"><a href="pkg1/C1.html#deprecat\
edMethod()">pkg1.C1.deprecatedMethod()</a></div>
<div class="col-last even-row-color"></div>""");
// Constant values
checkOutput("constant-values.html", true,
"""
<div class="col-first even-row-color"><code id="pkg1.C1.CONSTANT1">public s\
tatic final java.lang.String</code></div>
<div class="col-second even-row-color"><code><a href="pkg1/C1.html#CONSTANT1">CONSTANT1</a></code></div>
<div class="col-last even-row-color"><code>"C1"</code></div>
</div>""");
// Overview Summary
checkOutput("index.html", true,
"""
<div class="col-first even-row-color all-packages-table all-packages-table-tab1"\
><a href="pkg1/package-summary.html">pkg1</a></div>
<div class="col-last even-row-color all-packages-table all-packages-table-tab1"></div>""");
}
}
| 43,669 | Java | .java | AdoptOpenJDK/openjdk-jdk | 109 | 21 | 0 | 2020-08-24T10:36:21Z | 2021-06-01T17:31:48Z | 935b0e50329a778d4da79a5693fab03490c2722d5a041313f93b90c88e2e4b6d | [] | [
1127,
222,
338,
2657,
327,
104,
46,
244,
55,
53,
53,
62,
49,
244,
55,
53,
55,
54,
49,
17980,
480,
52,
290,
2840,
25094,
51,
3381,
4760,
5225,
51,
222,
338,
4103,
2387,
23740,
1895,
35234,
8995,
2387,
11988,
1895,
8968,
10961,
30441,
51,
222,
338,
222,
338,
1369,
1361,
458,
3760,
2951,
64,
863,
902,
14081,
580,
480,
52,
290,
5370,
580,
222,
338,
1549,
341,
5974,
451,
341,
6994,
6153,
5062,
1196,
1522,
244,
55,
1773,
49,
641,
222,
338,
9582,
829,
341,
7834,
3870,
7120,
51,
222,
338,
222,
338,
1369,
1361,
458,
2744,
347,
341,
9850,
708,
580,
1118,
545,
6386,
49,
1294,
4213,
222,
338,
2979,
9345,
64,
2895,
4462,
341,
4506,
14319,
451,
7934,
575,
222,
338,
8114,
4800,
418,
7848,
7763,
51,
244,
2819,
341,
6994,
6153,
5062,
1196,
222,
338,
1522,
244,
55,
456,
1851,
4261,
327,
102,
1948,
458,
5976,
347,
341,
7621,
822,
708,
222,
338,
20854,
297,
4850,
477,
1361,
566,
222,
338,
222,
338,
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
6153,
5062,
1196,
1522,
222,
338,
244,
55,
7979,
642,
477,
1409,
64,
434,
666,
49,
2886,
391,
341,
7834,
3870,
7120,
49,
222,
338,
6367,
4345,
244,
58,
54,
34113,
1277,
49,
33316,
26912,
49,
25006,
49,
13083,
244,
53,
55,
54,
54,
53,
50,
54,
56,
53,
54,
15067,
51,
222,
338,
222,
338,
5304,
7272,
17980,
49,
244,
58,
53,
53,
17980,
27004,
3094,
49,
4777,
21100,
2432,
6868,
49,
10562,
244,
62,
57,
53,
59,
58,
15067,
222,
338,
575,
7739,
19955,
51,
11116,
51,
527,
434,
863,
1868,
5408,
2490,
575,
1178,
1364,
222,
338,
10034,
51,
222,
588,
222,
222,
1127,
222,
338,
496,
881,
222,
338,
496,
1468,
981,
59,
60,
61,
59,
59,
61,
61,
244,
61,
53,
53,
61,
54,
59,
57,
244,
61,
54,
59,
55,
56,
59,
56,
244,
61,
54,
59,
62,
61,
54,
62,
244,
61,
54,
61,
56,
53,
56,
60,
244,
61,
54,
61,
55,
60,
59,
58,
244,
61,
54,
61,
57,
55,
53,
58,
244,
61,
55,
57,
55,
59,
57,
62,
244,
61,
55,
58,
62,
60,
55,
59,
222,
338,
496,
1386,
244,
5796,
10357,
1414,
1178,
1877,
8848,
49,
19897,
480,
1877,
4839,
51,
222,
338,
496,
5261,
244,
23723,
1379,
222,
338,
496,
3490,
614,
4532,
51,
45203,
52,
12461,
51,
45203,
51,
3269,
51,
3749,
222,
338,
496,
1848,
283,
44015,
51,
24449,
3440,
222,
338,
496,
1967,
2594,
2128,
6447,
1617,
6763,
222,
588,
222,
222,
485,
44015,
51,
24449,
51,
29282,
18574,
64,
222,
222,
942,
462,
2128,
6447,
1617,
6763,
2041,
990,
20888,
18574,
320,
465,
453,
29282,
4228,
51,
303,
964,
924,
1175,
910,
1197,
48637,
299,
556,
910,
1197,
320,
465,
1487,
4054,
581,
924,
782,
2594,
45,
671,
1198,
2194,
46,
2589,
3284,
320,
310,
2128,
6447,
1617,
6763,
26252,
299,
556,
2128,
6447,
1617,
6763,
492,
310,
26252,
51,
1967,
4485,
492,
303,
339,
465,
496,
1024,
303,
581,
782,
913,
365,
320,
310,
44015,
10364,
105,
411,
332,
560,
411,
419,
4840,
1876,
1005,
411,
913,
8564,
49,
419,
4840,
558,
411,
419,
7931,
1365,
50,
5146,
50,
7696,
411,
419,
332,
4662,
54,
411,
332,
4662,
55,
742,
310,
1524,
8121,
45,
8121,
51,
2966,
312,
603,
1524,
6447,
1617,
2649,
492,
310,
1524,
6447,
1617,
7074,
1804,
492,
310,
1524,
6447,
1617,
6273,
492,
310,
1524,
6447,
1617,
8048,
492,
303,
339,
465,
496,
1024,
303,
581,
782,
913,
2042,
6327,
365,
320,
310,
44015,
10364,
105,
411,
332,
560,
50,
1365,
3666,
411,
419,
4840,
1365,
3666,
411,
419,
4840,
1876,
1005,
411,
913,
8564,
49,
419,
4840,
558,
411,
419,
7931,
1365,
50,
5146,
50,
7696,
411,
419,
332,
4662,
54,
411,
332,
4662,
55,
742,
310,
1524,
8121,
45,
8121,
51,
2966,
312,
603,
1524,
6447,
1617,
2649,
492,
310,
1524,
6447,
1617,
7074,
1804,
492,
310,
1524,
6447,
1617,
6273,
492,
310,
1524,
6447,
1617,
8048,
2042,
6327,
492,
303,
339,
465,
1276,
294,
338,
11399,
456,
39999,
1877,
2621,
456,
5796,
10357,
294,
588,
303,
782,
1524,
6447,
1617,
2649,
365,
320,
310,
453,
4057,
8848,
310,
1524,
2319,
459,
4662,
54,
52,
1337,
50,
1386,
51,
935,
411,
878,
49,
419,
1547,
547,
350,
526,
462,
366,
1386,
50,
1292,
3161,
50,
2628,
50,
1386,
39,
5171,
50,
21768,
366,
842,
50,
1386,
50,
3019,
53,
432,
1033,
742,
603,
1524,
2319,
459,
4662,
55,
52,
1337,
50,
1386,
51,
935,
411,
878,
49,
419,
1547,
547,
350,
526,
462,
366,
1386,
50,
1292,
3161,
50,
2628,
50,
1386,
39,
5171,
50,
21768,
366,
842,
50,
1386,
50,
3019,
53,
432,
1033,
742,
603,
453,
1727,
4349,
310,
1524,
2319,
459,
4662,
54,
52,
72,
54,
51,
935,
411,
878,
49,
419,
1547,
547,
350,
526,
462,
366,
1386,
50,
1292,
8058,
50,
2628,
50,
1386,
432,
37611,
419,
1547,
547,
350,
526,
462,
366,
1386,
50,
1292,
8058,
50,
2628,
50,
1386,
39,
5171,
50,
21768,
366,
1978,
50,
1386,
50,
1292,
50,
3019,
53,
432,
1033,
742,
603,
1524,
2319,
459,
4662,
55,
52,
72,
55,
51,
935,
411,
878,
49,
419,
1547,
547,
350,
526,
462,
366,
1386,
50,
1292,
8058,
50,
2628,
50,
1386,
432,
37611,
419,
1547,
547,
350,
526,
462,
366,
1386,
50,
1292,
8058,
50,
2628,
50,
1386,
39,
5171,
50,
21768,
366,
1978,
50,
1386,
50,
1292,
50,
3019,
53,
432,
1033,
742,
603,
1524,
2319,
459,
4662,
55,
52,
72,
55,
51,
5827,
589,
13744,
638,
51,
935,
411,
878,
49,
419,
1547,
547,
350,
526,
462,
366,
1386,
50,
1292,
3161,
50,
2628,
50,
1386,
432,
1033,
742,
603,
1524,
2319,
459,
4662,
55,
52,
72,
56,
51,
935,
411,
878,
49,
419,
1547,
547,
350,
526,
462,
366,
1386,
50,
1292,
8058,
50,
2628,
50,
1386,
432,
1033,
742,
603,
1524,
2319,
459,
4662,
55,
52,
72,
57,
51,
935,
411,
878,
49,
419,
1547,
547,
350,
526,
462,
366,
1386,
50,
1292,
8058,
50,
2628,
50,
1386,
432,
1033,
742,
603,
453,
1727,
813,
4349,
310,
1524,
2319,
459,
4662,
54,
52,
842,
50,
558,
52,
78,
54,
51,
935,
411,
878,
49,
419,
1547,
547,
350,
526,
462,
366,
1386,
50,
1292,
3161,
50,
2628,
50,
1386,
432,
1033,
742,
603,
1524,
2319,
459,
4662,
54,
52,
842,
50,
558,
52,
72,
54,
51,
935,
411,
878,
49,
419,
1547,
547,
350,
526,
462,
366,
1386,
50,
1292,
3161,
50,
2628,
50,
1386,
432,
37611,
419,
1547,
547,
350,
526,
462,
366,
1386,
50,
1292,
3161,
50,
2628,
50,
1386,
432,
1033,
742,
603,
1524,
2319,
459,
4662,
55,
52,
842,
50,
558,
52,
72,
55,
51,
935,
411,
878,
49,
419,
1547,
547,
350,
526,
462,
366,
1386,
50,
1292,
3161,
50,
2628,
50,
1386,
432,
37611,
419,
1547,
547,
350,
526,
462,
366,
1386,
50,
1292,
3161,
50,
2628,
50,
1386,
432,
1033,
742,
603,
1524,
2319,
459,
4662,
55,
52,
842,
50,
558,
52,
72,
55,
51,
5827,
589,
13744,
638,
51,
935,
411,
878,
49,
419,
1547,
547,
350,
526,
462,
366,
1386,
50,
1292,
3161,
50,
2628,
50,
1386,
432,
1033,
742,
603,
1524,
2319,
459,
4662,
55,
52,
842,
50,
558,
52,
72,
55,
51,
5827,
589,
13744,
638,
51,
935,
411,
878,
49,
419,
1547,
547,
350,
526,
462,
366,
1386,
50,
1292,
3161,
50,
2628,
50,
1386,
432,
1033,
742,
603,
453,
9718,
813,
4349,
310,
1524,
2319,
459,
4662,
54,
52,
1337,
50,
558,
51,
935,
411,
878,
49,
419,
1547,
547,
350,
526,
462,
366,
1386,
50,
1292,
3161,
50,
2628,
50,
1386,
432,
37611,
419,
1547,
547,
350,
526,
462,
366,
1386,
50,
1292,
3161,
50,
2628,
50,
1386,
432,
1033,
742,
603,
1524,
2319,
459,
4662,
55,
52,
1337,
50,
558,
51,
935,
411,
878,
49,
419,
1547,
547,
350,
526,
462,
366,
1386,
50,
1292,
3161,
50,
2628,
50,
1386,
432,
37611,
419,
1547,
547,
350,
526,
462,
366,
1386,
50,
1292,
3161,
50,
2628,
50,
1386,
432,
1033,
742,
603,
453,
22505,
310,
1524,
2319,
459,
15033,
50,
687,
51,
935,
411,
878,
49,
419,
1547,
547,
350,
526,
462,
366,
1386,
50,
1292,
3161,
50,
2628,
50,
1386,
432,
37611,
419,
1547,
547,
350,
526,
462,
366,
1386,
50,
1292,
3161,
50,
2628,
50,
1386,
432,
1033,
742,
603,
453,
15027,
2102,
310,
1524,
2319,
459,
8696,
50,
2857,
51,
935,
411,
878,
49,
419,
1547,
547,
350,
526,
462,
366,
1386,
50,
1292,
8058,
50,
2628,
50,
1386,
432,
1033,
742,
603,
453,
23852,
15615,
310,
1524,
2319,
459,
1076,
51,
935,
411,
878,
49,
419,
1547,
547,
350,
526,
462,
366,
1386,
50,
1292,
3161,
50,
2628,
50,
1386,
432,
1033,
742,
303,
339,
465,
1276,
294,
338,
11399,
456,
39999,
8848,
456,
5796,
10357,
294,
588,
303,
782,
1524,
6447,
1617,
4950,
33381,
365,
320,
310,
453,
4057,
8848,
310,
1524,
2319,
459,
4662,
54,
52,
1337,
50,
1386,
51,
935,
411,
878,
49,
419,
1547,
547,
350,
526,
462,
366,
700,
50,
1386,
432,
547,
350,
1292,
8848,
366,
1359,
15615,
1877,
49,
14822,
6052,
49,
480,
619,
18829,
432,
37611,
419,
1547,
547,
350,
526,
462,
366,
700,
50,
1386,
432,
547,
350,
1292,
8848,
366,
3058,
15615,
1877,
49,
14822,
14099,
49,
480,
619,
18829,
432,
1033,
742,
603,
1524,
2319,
459,
4662,
55,
52,
1337,
50,
1386,
51,
935,
411,
878,
49,
419,
1547,
547,
350,
526,
462,
366,
700,
50,
1386,
432,
547,
350,
1292,
8848,
366,
2773,
1727,
15615,
1877,
49,
14822,
38900,
49,
480,
619,
18829,
432,
37611,
419,
1547,
547,
350,
526,
462,
366,
700,
50,
1386,
432,
547,
350,
1292,
8848,
366,
7945,
45024,
15615,
1877,
49,
14822,
11208,
3756,
49,
480,
619,
18829,
432,
1033,
742,
603,
453,
1727,
4349,
310,
1524,
2319,
459,
4662,
54,
52,
72,
54,
51,
935,
411,
878,
49,
419,
1547,
547,
350,
526,
462,
366,
3675,
50,
1386,
432,
547,
350,
1292,
8848,
366,
1195,
15615,
1877,
49,
14822,
3844,
49,
480,
619,
18829,
432,
37611,
419,
3791,
526,
462,
4097,
3675,
50,
1386,
26563,
115,
411,
419,
1547,
547,
350,
1292,
8848,
366,
1885,
15615,
1877,
49,
14822,
4457,
49,
480,
619,
18829,
39,
5171,
50,
21768,
366,
121,
53,
432,
1033,
742,
603,
1524,
2319,
459,
4662,
55,
52,
72,
55,
51,
935,
411,
878,
49,
419,
1547,
547,
350,
526,
462,
366,
3675,
50,
1386,
432,
547,
350,
1292,
8848,
366,
14109,
1727,
15615,
1877,
49,
14822,
11825,
6052,
49,
480,
619,
18829,
432,
37611,
419,
1547,
547,
350,
526,
462,
366,
3675,
50,
1386,
432,
547,
350,
1292,
8848,
366,
7935,
15615,
1877,
49,
14822,
30837,
49,
480,
619,
18829,
432,
1033,
742,
603,
1524,
2319,
459,
4662,
55,
52,
72,
55,
51,
5827,
589,
13744,
638,
51,
935,
411,
878,
49,
419,
1547,
547,
350,
526,
462,
366,
3675,
50,
1386,
432,
547,
350,
1292,
8848,
366,
2773,
15027,
15615,
1877,
49,
14822,
3858,
12405,
49,
480,
619,
18829,
432,
1033,
742,
603,
1524,
2319,
459,
4662,
55,
52,
72,
56,
51,
935,
411,
878,
49,
419,
1547,
547,
350,
526,
462,
366,
3675,
50,
1386,
432,
547,
350,
1292,
8848,
366,
5425,
6840,
15615,
1877,
49,
14822,
2147,
4725,
49,
480,
619,
18829,
432,
1033,
742,
603,
1524,
2319,
459,
4662,
55,
52,
72,
57,
51,
935,
411,
878,
49,
419,
1547,
547,
350,
526,
462,
366,
3675,
50,
1386,
432,
547,
350,
1292,
8848,
366,
7575,
6840,
15615,
1877,
49,
14822,
5316,
4725,
49,
480,
619,
18829,
432,
1033,
742,
603,
453,
1727,
813,
4349,
310,
1524,
2319,
459,
4662,
54,
52,
842,
50,
558,
52,
78,
54,
51,
935,
411,
878,
49,
419,
1547,
547,
350,
526,
462,
366,
558,
50,
1386,
432,
547,
350,
1292,
8848,
366,
4404,
1877,
49,
14822,
7622,
49,
480,
619,
18829,
432,
1033,
742,
603,
1524,
2319,
459,
4662,
54,
52,
842,
50,
558,
52,
72,
54,
51,
935,
411,
878,
49,
419,
1547,
547,
350,
526,
462,
366,
558,
50,
1386,
432,
547,
350,
1292,
8848,
366,
4404,
1877,
49,
14822,
3844,
49,
480,
619,
18829,
432,
37611,
419,
1547,
547,
350,
526,
462,
366,
558,
50,
1386,
432,
547,
350,
1292,
8848,
366,
4404,
1877,
49,
14822,
4457,
49,
480,
619,
18829,
432,
1033,
742,
603,
1524,
2319,
459,
4662,
55,
52,
842,
50,
558,
52,
72,
55,
51,
935,
411,
878,
49,
419,
1547,
547,
350,
526,
462,
366,
558,
50,
1386,
432,
547,
350,
1292,
8848,
366,
4404,
1877,
49,
14822,
3844,
49,
480,
619,
18829,
432,
37611,
419,
1547,
547,
350,
526,
462,
366,
558,
50,
1386,
432,
547,
350,
1292,
8848,
366,
4404,
1877,
49,
14822,
4457,
49,
480,
619,
18829,
432,
1033,
742,
603,
1524,
2319,
459,
4662,
55,
52,
842,
50,
558,
52,
72,
55,
51,
5827,
589,
13744,
638,
51,
935,
411,
878,
49,
419,
1547,
547,
350,
526,
462,
366,
558,
50,
1386,
432,
547,
350,
1292,
8848,
366,
4404,
1877,
49,
14822,
7622,
49,
480,
619,
18829,
432,
1033,
742,
603,
1524,
2319,
459,
4662,
55,
52,
842,
50,
558,
52,
72,
55,
51,
5827,
589,
13744,
638,
51,
935,
411,
878,
49,
419,
1547,
547,
350,
526,
462,
366,
558,
50,
1386,
432,
547,
350,
1292,
8848,
366,
4404,
1877,
49,
14822,
4457,
49,
480,
619,
18829,
432,
1033,
742,
603,
453,
9718,
813,
4349,
310,
1524,
2319,
459,
4662,
54,
52,
1337,
50,
558,
51,
935,
411,
878,
49,
419,
1547,
547,
350,
526,
462,
366,
558,
50,
1386,
432,
547,
350,
1292,
8848,
366,
4404,
1877,
49,
14822,
7622,
49,
480,
619,
18829,
432,
37611,
419,
1547,
547,
350,
526,
462,
366,
558,
50,
1386,
432,
547,
350,
1292,
8848,
366,
4404,
1877,
49,
14822,
6052,
49,
480,
619,
18829,
432,
1033,
742,
603,
1524,
2319,
459,
4662,
55,
52,
1337,
50,
558,
51,
935,
411,
878,
49,
419,
1547,
547,
350,
526,
462,
366,
558,
50,
1386,
432,
547,
350,
1292,
8848,
366,
4404,
1877,
49,
14822,
7622,
49,
480,
619,
18829,
432,
37611,
419,
1547,
547,
350,
526,
462,
366,
558,
50,
1386,
432,
547,
350,
1292,
8848,
366,
4404,
1877,
49,
14822,
6052,
49,
480,
619,
18829,
432,
1033,
742,
603,
453,
22505,
310,
1524,
2319,
459,
15033,
50,
687,
51,
935,
411,
878,
49,
419,
1547,
547,
350,
526,
462,
366,
15033,
50,
1386,
39,
828,
366,
1512,
432,
547,
350,
1292,
8848,
366,
4152,
1877,
49,
14822,
3844,
49,
480,
619,
18829,
432,
37611,
419,
1547,
547,
350,
526,
462,
366,
15033,
50,
1386,
39,
828,
366,
1978,
432,
547,
350,
1292,
8848,
366,
8898,
1877,
49,
14822,
4457,
49,
480,
619,
18829,
432,
1033,
742,
603,
453,
15027,
2102,
310,
1524,
2319,
459,
8696,
50,
2857,
51,
935,
411,
878,
49,
419,
1547,
547,
350,
526,
462,
366,
9778,
50,
1386,
432,
547,
350,
1292,
8848,
366,
5476,
5697,
14646,
1877,
49,
14822,
8100,
3844,
49,
480,
2102,
432,
1033,
742,
603,
453,
23852,
15615,
310,
1524,
2319,
459,
1076,
51,
935,
411,
878,
49,
419,
1547,
547,
350,
526,
462,
366,
11047,
50,
1386,
39,
828,
366,
483,
50,
5051,
432,
547,
350,
1292,
8848,
366,
4057,
15615,
1877,
49,
14822,
7622,
49,
480,
619,
18829,
432,
1033,
742,
303,
339,
465,
1276,
294,
338,
11399,
456,
39999,
19897,
456,
5796,
10357,
294,
588,
303,
782,
1524,
6447,
1617,
7074,
1804,
365,
320,
310,
453,
4057,
8848,
310,
1524,
2319,
459,
4662,
54,
52,
1337,
50,
1386,
51,
935,
411,
878,
49,
419,
1547,
547,
350,
526,
462,
366,
1292,
50,
10491,
39,
4218,
366,
3019,
687,
39,
5171,
50,
16557,
366,
10634,
1360,
1654,
828,
12225,
547,
332,
842,
50,
1386,
50,
3019,
53,
39,
4218,
366,
3019,
39,
5171,
50,
4358,
366,
1527,
39,
5171,
50,
10860,
366,
842,
50,
1055,
3321,
97,
547,
553,
51,
43688,
39,
16158,
366,
53,
39,
563,
29639,
366,
4651,
4011,
45,
1585,
4748,
10821,
366,
2276,
482,
842,
50,
1055,
954,
97,
547,
41973,
389,
349,
842,
50,
1386,
389,
244,
55,
4748,
462,
366,
2498,
50,
1292,
50,
3019,
432,
1947,
26172,
480,
45024,
396,
103,
97,
547,
244,
1596,
5224,
547,
350,
1654,
828,
366,
842,
50,
1386,
50,
3019,
54,
39,
4218,
366,
3019,
39,
5171,
50,
4358,
366,
1886,
39,
5171,
50,
10860,
38600,
547,
462,
50,
1386,
51,
43688,
39,
16158,
11186,
54,
39,
563,
29639,
366,
4651,
4011,
45,
1585,
4748,
10821,
366,
2276,
97,
547,
2751,
842,
50,
1386,
389,
349,
842,
50,
1386,
50,
3019,
54,
389,
244,
55,
4748,
462,
366,
1292,
50,
3019,
432,
12303,
396,
1654,
97,
547,
868,
97,
547,
350,
1654,
828,
366,
842,
50,
1386,
50,
3019,
55,
39,
4218,
366,
3019,
39,
5171,
50,
4358,
366,
1886,
39,
5171,
50,
10860,
38600,
547,
462,
50,
1386,
51,
43688,
39,
16158,
11186,
54,
39,
563,
29639,
366,
4651,
4011,
45,
1585,
4748,
10821,
366,
2276,
97,
547,
2751,
842,
50,
1386,
389,
349,
842,
50,
1386,
50,
3019,
55,
389,
244,
55,
4748,
462,
366,
1292,
50,
3019,
432,
8038,
396,
1654,
873,
97,
547,
4469,
67,
1033,
742,
603,
1524,
2319,
459,
4662,
55,
52,
1337,
50,
1386,
51,
935,
411,
878,
49,
419,
1547,
547,
350,
526,
462,
366,
1292,
50,
10491,
39,
4218,
366,
3019,
687,
39,
5171,
50,
16557,
366,
10634,
1360,
1654,
828,
12225,
547,
332,
842,
50,
1386,
50,
3019,
53,
39,
4218,
366,
3019,
39,
5171,
50,
4358,
366,
1527,
39,
5171,
50,
10860,
366,
842,
50,
1055,
3321,
97,
547,
553,
51,
43688,
39,
16158,
366,
53,
39,
563,
29639,
366,
4651,
4011,
45,
1585,
4748,
10821,
366,
2276,
482,
842,
50,
1055,
954,
97,
547,
41973,
389,
349,
842,
50,
1386,
389,
244,
55,
4748,
462,
366,
2498,
50,
1292,
50,
3019,
432,
1947,
26172,
480,
45024,
396,
103,
97,
547,
244,
1596,
5224,
547,
350,
1654,
828,
366,
842,
50,
1386,
50,
3019,
55,
39,
4218,
366,
3019,
39,
5171,
50,
4358,
366,
1886,
39,
5171,
50,
10860,
38600,
547,
462,
50,
1386,
51,
43688,
39,
16158,
11186,
54,
39,
563,
29639,
366,
4651,
4011,
45,
1585,
4748,
10821,
366,
2276,
97,
547,
2751,
842,
50,
1386,
389,
349,
842,
50,
1386,
50,
3019,
55,
389,
244,
55,
4748,
462,
366,
1292,
50,
3019,
432,
8038,
396,
1654,
5224,
547,
350,
1654,
828,
366,
842,
50,
1386,
50,
3019,
56,
39,
4218,
366,
3019,
39,
5171,
50,
4358,
366,
1886,
39,
5171,
50,
10860,
38600,
547,
462,
50,
1386,
51,
43688,
39,
16158,
11186,
54,
39,
563,
29639,
366,
4651,
4011,
45,
1585,
4748,
10821,
366,
2276,
97,
547,
2751,
842,
50,
1386,
389,
349,
842,
50,
1386,
50,
3019,
56,
389,
244,
55,
4748,
462,
366,
1292,
50,
3019,
432,
2773,
26172,
396,
717,
121,
97,
547,
563,
5224,
547,
350,
1654,
828,
366,
842,
50,
1386,
50,
3019,
60,
39,
4218,
366,
3019,
39,
5171,
50,
4358,
366,
1886,
39,
5171,
50,
10860,
38600,
547,
462,
50,
1386,
51,
43688,
39,
16158,
11186,
54,
39,
563,
29639,
366,
4651,
4011,
45,
1585,
4748,
10821,
366,
2276,
97,
547,
2751,
842,
50,
1386,
389,
349,
842,
50,
1386,
50,
3019,
60,
389,
244,
55,
4748,
462,
366,
1292,
50,
3019,
432,
7945,
4821,
1939,
97,
547,
43598,
396,
1654,
873,
526,
67,
1033,
742,
603,
453,
1727,
4349,
310,
1524,
2319,
459,
4662,
54,
52,
72,
54,
51,
935,
411,
878,
49,
419,
1547,
547,
350,
526,
462,
366,
8025,
1360,
681,
67,
4152,
396,
681,
873,
526,
67,
37611,
419,
1547,
547,
350,
526,
462,
366,
1292,
50,
10491,
39,
4218,
366,
3019,
687,
39,
5171,
50,
16557,
366,
10634,
6299,
547,
350,
1654,
828,
366,
1978,
50,
1386,
50,
1292,
50,
3019,
53,
39,
4218,
366,
3019,
39,
5171,
50,
4358,
366,
1527,
39,
5171,
50,
685,
97,
547,
1138,
3259,
366,
1978,
50,
1386,
50,
1292,
51,
43688,
39,
16158,
366,
53,
39,
563,
29639,
366,
4651,
4011,
45,
1585,
4748,
356,
97,
547,
329,
2956,
366,
2276,
482,
1978,
50,
1386,
50,
1292,
389,
349,
1978,
50,
1386,
50,
1292,
389,
244,
56,
4748,
462,
366,
2498,
50,
121,
97,
547,
5320,
50,
3019,
432,
1947,
14944,
396,
1654,
5224,
547,
350,
1654,
828,
366,
1978,
50,
1386,
50,
1292,
50,
3019,
55,
39,
4218,
366,
3019,
39,
5171,
50,
4358,
366,
1886,
39,
5171,
50,
487,
97,
547,
292,
1214,
120,
366,
1978,
50,
1386,
50,
1292,
51,
43688,
39,
16158,
11186,
54,
39,
563,
29639,
366,
4651,
4011,
45,
1585,
4748,
97,
3507,
10821,
366,
2276,
482,
1978,
50,
1386,
50,
1292,
389,
349,
1978,
50,
1386,
50,
1292,
50,
3019,
55,
389,
244,
56,
4748,
462,
366,
121,
97,
547,
5320,
50,
3019,
432,
1825,
14944,
396,
1654,
5224,
547,
350,
1654,
828,
366,
1978,
50,
1386,
50,
1292,
50,
3019,
57,
39,
4218,
366,
3019,
39,
5171,
50,
4358,
366,
1886,
39,
5171,
50,
487,
97,
547,
292,
1214,
120,
366,
1978,
50,
1386,
50,
1292,
51,
43688,
39,
16158,
11186,
54,
39,
563,
29639,
366,
4651,
4011,
45,
1585,
4748,
97,
3507,
10821,
366,
2276,
482,
1978,
50,
1386,
50,
1292,
389,
349,
1978,
50,
1386,
50,
1292,
50,
3019,
57,
389,
244,
56,
4748,
462,
366,
121,
97,
547,
5320,
50,
3019,
432,
33571,
14944,
396,
1654,
5224,
547,
350,
1654,
828,
366,
1978,
50,
1386,
50,
1292,
50,
3019,
59,
39,
4218,
366,
3019,
39,
5171,
50,
4358,
366,
1886,
39,
5171,
50,
487,
97,
547,
292,
1214,
120,
366,
1978,
50,
1386,
50,
1292,
51,
43688,
39,
16158,
11186,
54,
39,
563,
29639,
366,
4651,
4011,
45,
1585,
4748,
97,
3507,
10821,
366,
2276,
482,
1978,
50,
1386,
50,
1292,
389,
349,
1978,
50,
1386,
50,
1292,
50,
3019,
59,
389,
244,
56,
4748,
462,
366,
121,
97,
547,
5320,
50,
3019,
432,
15375,
14944,
396,
1654,
5224,
547,
594,
526,
67,
547,
3347,
742,
603,
1524,
2319,
459,
4662,
55,
52,
72,
55,
51,
935,
411,
878,
49,
419,
1547,
547,
350,
526,
462,
366,
8025,
1360,
681,
67,
14109,
26172,
396,
681,
873,
526,
67,
37611,
419,
1547,
547,
350,
526,
462,
366,
8025,
1360,
681,
67,
13613,
1758,
396,
681,
873,
526,
67,
1033,
742,
603,
1524,
2319,
459,
4662,
55,
52,
72,
55,
51,
5827,
589,
13744,
638,
51,
935,
411,
878,
49,
419,
1547,
547,
350,
526,
462,
366,
8025,
1360,
681,
67,
2773,
14072,
396,
681,
873,
526,
67,
1033,
742,
603,
1524,
2319,
459,
4662,
55,
52,
72,
56,
51,
935,
411,
878,
49,
419,
1547,
547,
350,
526,
462,
366,
8025,
1360,
681,
67,
5425,
24451,
396,
681,
873,
526,
67,
1033,
742,
603,
1524,
2319,
459,
4662,
55,
52,
72,
57,
51,
935,
411,
878,
49,
419,
1547,
547,
350,
526,
462,
366,
8025,
1360,
681,
67,
7575,
24451,
396,
681,
873,
526,
67,
1033,
742,
603,
453,
1727,
813,
4349,
310,
1524,
2319,
459,
4662,
54,
52,
842,
50,
558,
52,
78,
54,
51,
935,
411,
878,
49,
419,
1547,
547,
350,
526,
462,
366,
8025,
1360,
681,
67,
15992,
708,
813,
350,
102,
995,
5075,
78,
54,
51,
935,
39,
1799,
366,
3352,
347,
12890,
54,
432,
78,
54,
396,
102,
873,
681,
873,
526,
67,
1033,
742,
603,
1524,
2319,
459,
4662,
54,
52,
842,
50,
558,
52,
72,
54,
51,
935,
411,
878,
49,
419,
1547,
547,
350,
526,
462,
366,
8025,
1360,
681,
67,
4152,
347,
350,
102,
995,
4608,
4662,
55,
52,
1337,
50,
1386,
51,
935,
432,
4662,
55,
396,
102,
67,
4508,
97,
547,
904,
105,
641,
350,
102,
995,
5075,
72,
54,
51,
935,
39,
1799,
366,
842,
347,
12890,
54,
432,
72,
54,
396,
102,
873,
681,
873,
526,
67,
37611,
419,
1547,
547,
350,
526,
462,
366,
8025,
1360,
681,
67,
8898,
347,
350,
102,
995,
4608,
4662,
55,
52,
1337,
50,
1386,
51,
935,
432,
4662,
55,
396,
102,
67,
379,
102,
97,
547,
292,
461,
350,
102,
995,
5075,
72,
54,
51,
935,
39,
1799,
366,
842,
347,
12890,
54,
432,
72,
54,
396,
102,
873,
681,
873,
526,
67,
1033,
742,
603,
1524,
2319,
459,
4662,
55,
52,
842,
50,
558,
52,
72,
55,
51,
935,
411,
878,
49,
419,
1547,
547,
350,
526,
462,
366,
8025,
1360,
681,
67,
4152,
347,
350,
102,
995,
4608,
4662,
54,
52,
1337,
50,
1386,
51,
935,
432,
4662,
54,
396,
102,
67,
4508,
97,
547,
904,
105,
641,
350,
102,
995,
5075,
72,
55,
51,
935,
39,
1799,
366,
842,
347,
12890,
55,
432,
72,
55,
396,
102,
873,
681,
873,
526,
67,
37611,
419,
1547,
547,
350,
526,
462,
366,
8025,
1360,
681,
67,
8898,
347,
350,
102,
995,
4608,
4662,
54,
52,
1337,
50,
1386,
51,
935,
432,
4662,
54,
396,
102,
67,
379,
102,
97,
547,
292,
461,
350,
102,
995,
5075,
72,
55,
51,
935,
39,
1799,
366,
842,
347,
12890,
55,
432,
72,
55,
396,
102,
873,
681,
873,
526,
67,
1033,
742,
603,
1524,
2319,
459,
4662,
55,
52,
842,
50,
558,
52,
72,
55,
51,
5827,
589,
13744,
638,
51,
935,
411,
878,
49,
419,
1547,
547,
350,
526,
462,
366,
8025,
1360,
681,
67,
8898,
347,
350,
102,
995,
5075,
1337,
50,
1386,
51,
935,
432,
4662,
55,
396,
102,
67,
708,
461,
97,
3507,
350,
102,
995,
5075,
72,
55,
51,
5827,
589,
13744,
638,
51,
935,
39,
1799,
366,
3880,
462,
347,
12890,
55,
432,
72,
55,
51,
5827,
589,
13744,
89,
97,
547,
244,
430,
396,
102,
873,
681,
873,
526,
67,
1033,
742,
603,
453,
9718,
813,
4349,
310,
1524,
2319,
459,
4662,
54,
52,
1337,
50,
558,
51,
935,
411,
878,
49,
419,
1547,
547,
350,
526,
462,
366,
8025,
1360,
681,
67,
15992,
708,
813,
350,
102,
995,
366,
1337,
50,
1386,
51,
935,
432,
4662,
54,
396,
102,
873,
681,
873,
526,
67,
37611,
419,
1547,
547,
350,
526,
462,
366,
8025,
1360,
681,
67,
8038,
347,
350,
102,
995,
366,
1337,
50,
1386,
51,
935,
432,
4662,
54,
396,
102,
67,
1674,
829,
350,
102,
439,
287,
97,
547,
315,
366,
1337,
50,
1386,
51,
935,
432,
4662,
54,
396,
102,
873,
681,
873,
526,
67,
1033,
742,
603,
1524,
2319,
459,
4662,
55,
52,
1337,
50,
558,
51,
935,
411,
878,
49,
419,
1547,
547,
350,
526,
462,
366,
8025,
1360,
681,
67,
15992,
708,
813,
350,
102,
995,
366,
1337,
50,
1386,
51,
935,
432,
4662,
55,
396,
102,
873,
681,
873,
526,
67,
37611,
419,
1547,
547,
350,
526,
462,
366,
8025,
1360,
681,
67,
8038,
347,
350,
102,
995,
366,
1337,
50,
1386,
51,
935,
432,
4662,
55,
396,
102,
67,
1674,
829,
350,
102,
439,
287,
97,
547,
315,
5075,
4662,
54,
52,
1337,
50,
1386,
51,
935,
432,
4662,
54,
396,
102,
873,
681,
873,
526,
67,
1033,
742,
603,
453,
22505,
310,
1524,
2319,
459,
15033,
50,
687,
51,
935,
411,
878,
49,
419,
1547,
547,
350,
526,
462,
366,
8025,
1360,
681,
67,
4152,
396,
681,
873,
526,
67,
37611,
419,
1547,
547,
350,
526,
462,
366,
8025,
1360,
681,
67,
8898,
396,
681,
873,
526,
67,
1033,
742,
603,
453,
15027,
2102,
310,
1524,
2319,
459,
8696,
50,
2857,
51,
935,
411,
878,
49,
419,
1547,
547,
350,
526,
462,
366,
8025,
1360,
681,
67,
4662,
54,
5717,
102,
995,
366,
4662,
54,
52,
72,
54,
51,
935,
39,
1799,
366,
842,
347,
12890,
54,
432,
72,
54,
396,
102,
873,
681,
873,
526,
67,
1033,
742,
603,
453,
23852,
15615,
310,
1524,
2319,
459,
1076,
51,
935,
411,
878,
49,
419,
1547,
547,
350,
526,
462,
366,
8025,
1360,
681,
67,
15992,
396,
681,
873,
526,
67,
1033,
742,
303,
339,
465,
1276,
294,
338,
2128,
456,
39999,
4839,
456,
5796,
10357,
294,
588,
303,
782,
1524,
6447,
1617,
6273,
365,
320,
310,
453,
4057,
8848,
310,
1524,
2319,
459,
4662,
54,
52,
1337,
50,
1386,
51,
935,
411,
878,
49,
419,
1547,
547,
350,
526,
462,
366,
1292,
50,
2127,
956,
50,
2251,
432,
1359,
396,
526,
67,
547,
350,
526,
462,
366,
1292,
50,
2127,
956,
50,
2153,
432,
3250,
396,
526,
67,
1033,
742,
603,
1524,
2319,
459,
4662,
55,
52,
1337,
50,
1386,
51,
935,
411,
878,
49,
419,
1547,
547,
350,
526,
462,
366,
1292,
50,
2127,
956,
50,
2251,
432,
1359,
396,
526,
67,
547,
350,
526,
462,
366,
1292,
50,
2127,
956,
50,
2153,
432,
3250,
396,
526,
67,
1033,
742,
603,
453,
1727,
4349,
310,
1524,
2319,
459,
4662,
54,
52,
72,
54,
51,
935,
411,
878,
49,
419,
1547,
547,
350,
526,
462,
366,
1292,
50,
2127,
956,
50,
2251,
432,
11693,
480,
2782,
396,
526,
67,
547,
350,
526,
462,
366,
1292,
50,
2127,
956,
50,
3109,
432,
1195,
396,
526,
67,
547,
350,
526,
462,
366,
1292,
50,
2127,
956,
50,
2153,
432,
3250,
396,
526,
67,
37611,
419,
1547,
547,
350,
526,
462,
366,
1292,
50,
2127,
956,
50,
2251,
432,
11693,
480,
2782,
396,
526,
67,
547,
350,
526,
462,
366,
1292,
50,
2127,
956,
50,
3109,
432,
1885,
396,
526,
67,
547,
350,
526,
462,
366,
1292,
50,
2127,
956,
50,
2153,
432,
3250,
396,
526,
67,
1033,
742,
603,
1524,
2319,
459,
4662,
55,
52,
72,
55,
51,
935,
411,
878,
49,
419,
1547,
547,
350,
526,
462,
366,
1292,
50,
2127,
956,
50,
2251,
432,
11693,
480,
2782,
396,
526,
67,
547,
350,
526,
462,
366,
1292,
50,
2127,
956,
50,
3109,
432,
1359,
396,
526,
67,
547,
350,
526,
462,
366,
1292,
50,
2127,
956,
50,
2153,
432,
3250,
396,
526,
67,
37611,
419,
1547,
547,
350,
526,
462,
366,
1292,
50,
2127,
956,
50,
2251,
432,
7935,
396,
526,
67,
547,
350,
526,
462,
366,
1292,
50,
2127,
956,
50,
2153,
432,
3250,
396,
526,
67,
1033,
742,
603,
1524,
2319,
459,
4662,
55,
52,
72,
55,
51,
5827,
589,
13744,
638,
51,
935,
411,
878,
49,
419,
1547,
547,
350,
526,
462,
366,
1292,
50,
2127,
956,
50,
2251,
432,
2773,
15027,
396,
526,
67,
547,
350,
526,
462,
366,
1292,
50,
2127,
956,
50,
2153,
432,
3250,
396,
526,
67,
1033,
742,
603,
1524,
2319,
459,
4662,
55,
52,
72,
56,
51,
935,
411,
878,
49,
419,
1547,
547,
350,
526,
462,
366,
1292,
50,
2127,
956,
50,
2251,
432,
11693,
480,
2782,
396,
526,
67,
547,
350,
526,
462,
366,
1292,
50,
2127,
956,
50,
3109,
432,
5425,
6840,
396,
526,
67,
547,
350,
526,
462,
366,
1292,
50,
2127,
956,
50,
2153,
432,
3250,
396,
526,
67,
1033,
742,
603,
1524,
2319,
459,
4662,
55,
52,
72,
57,
51,
935,
411,
878,
49,
419,
1547,
547,
350,
526,
462,
366,
1292,
50,
2127,
956,
50,
2251,
432,
11693,
480,
2782,
396,
526,
67,
547,
350,
526,
462,
366,
1292,
50,
2127,
956,
50,
3109,
432,
7575,
6840,
396,
526,
67,
547,
350,
526,
462,
366,
1292,
50,
2127,
956,
50,
2153,
432,
3250,
396,
526,
67,
1033,
742,
603,
453,
1727,
813,
4349,
310,
1524,
2319,
459,
4662,
54,
52,
842,
50,
558,
52,
78,
54,
51,
935,
411,
878,
49,
419,
1547,
547,
350,
526,
462,
366,
1292,
50,
2127,
956,
50,
2251,
432,
4057,
396,
526,
67,
547,
350,
526,
462,
366,
1292,
50,
2127,
956,
50,
2153,
432,
3250,
396,
526,
67,
1033,
742,
603,
1524,
2319,
459,
4662,
54,
52,
842,
50,
558,
52,
72,
54,
51,
935,
411,
878,
49,
419,
1547,
547,
350,
526,
462,
366,
1292,
50,
2127,
956,
50,
2251,
432,
11693,
480,
2782,
396,
526,
67,
547,
350,
526,
462,
366,
1292,
50,
2127,
956,
50,
3109,
432,
1195,
396,
526,
67,
547,
350,
526,
462,
366,
1292,
50,
2127,
956,
50,
2153,
432,
3250,
396,
526,
67,
37611,
419,
1547,
547,
350,
526,
462,
366,
1292,
50,
2127,
956,
50,
2251,
432,
11693,
480,
2782,
396,
526,
67,
547,
350,
526,
462,
366,
1292,
50,
2127,
956,
50,
3109,
432,
1885,
396,
526,
67,
547,
350,
526,
462,
366,
1292,
50,
2127,
956,
50,
2153,
432,
3250,
396,
526,
67,
1033,
742,
603,
1524,
2319,
459,
4662,
55,
52,
842,
50,
558,
52,
72,
55,
51,
935,
411,
878,
49,
419,
1547,
547,
350,
526,
462,
366,
1292,
50,
2127,
956,
50,
2251,
432,
11693,
480,
2782,
396,
526,
67,
547,
350,
526,
462,
366,
1292,
50,
2127,
956,
50,
3109,
432,
1195,
396,
526,
67,
547,
350,
526,
462,
366,
1292,
50,
2127,
956,
50,
2153,
432,
3250,
396,
526,
67,
37611,
419,
1547,
547,
350,
526,
462,
366,
1292,
50,
2127,
956,
50,
2251,
432,
11693,
480,
2782,
396,
526,
67,
547,
350,
526,
462,
366,
1292,
50,
2127,
956,
50,
3109,
432,
1885,
396,
526,
67,
547,
350,
526,
462,
366,
1292,
50,
2127,
956,
50,
2153,
432,
3250,
396,
526,
67,
1033,
742,
603,
1524,
2319,
459,
4662,
55,
52,
842,
50,
558,
52,
72,
55,
51,
5827,
589,
13744,
638,
51,
935,
411,
878,
49,
419,
1547,
547,
350,
526,
462,
366,
1292,
50,
2127,
956,
50,
2251,
432,
4057,
396,
526,
67,
547,
350,
526,
462,
366,
1292,
50,
2127,
956,
50,
2153,
432,
3250,
396,
526,
67,
37611,
419,
1547,
547,
350,
526,
462,
366,
1292,
50,
2127,
956,
50,
2251,
432,
11693,
480,
2782,
396,
526,
67,
547,
350,
526,
462,
366,
1292,
50,
2127,
956,
50,
3109,
432,
1885,
396,
526,
67,
547,
350,
526,
462,
366,
1292,
50,
2127,
956,
50,
2153,
432,
3250,
396,
526,
67,
1033,
742,
603,
453,
9718,
813,
4349,
310,
1524,
2319,
459,
4662,
54,
52,
1337,
50,
558,
51,
935,
411,
878,
49,
419,
1547,
547,
350,
526,
462,
366,
1292,
50,
2127,
956,
50,
2251,
432,
4057,
396,
526,
67,
547,
350,
526,
462,
366,
1292,
50,
2127,
956,
50,
2153,
432,
3250,
396,
526,
67,
37611,
419,
1547,
547,
350,
526,
462,
366,
1292,
50,
2127,
956,
50,
2251,
432,
1359,
396,
526,
67,
547,
350,
526,
462,
366,
1292,
50,
2127,
956,
50,
2153,
432,
3250,
396,
526,
67,
1033,
742,
603,
1524,
2319,
459,
4662,
55,
52,
1337,
50,
558,
51,
935,
411,
878,
49,
419,
1547,
547,
350,
526,
462,
366,
1292,
50,
2127,
956,
50,
2251,
432,
4057,
396,
526,
67,
547,
350,
526,
462,
366,
1292,
50,
2127,
956,
50,
2153,
432,
3250,
396,
526,
67,
37611,
419,
1547,
547,
350,
526,
462,
366,
1292,
50,
2127,
956,
50,
2251,
432,
1359,
396,
526,
67,
547,
350,
526,
462,
366,
1292,
50,
2127,
956,
50,
2153,
432,
3250,
396,
526,
67,
1033,
742,
603,
453,
22505,
310,
1524,
2319,
459,
15033,
50,
687,
51,
935,
411,
878,
49,
419,
1547,
547,
350,
526,
462,
366,
1292,
50,
2127,
956,
50,
2251,
432,
1195,
396,
526,
67,
547,
350,
526,
462,
366,
1292,
50,
2127,
956,
50,
2153,
432,
3250,
396,
526,
67,
37611,
419,
1547,
547,
350,
526,
462,
366,
1292,
50,
2127,
956,
50,
2251,
432,
1885,
396,
526,
67,
547,
350,
526,
462,
366,
1292,
50,
2127,
956,
50,
2153,
432,
3250,
396,
526,
67,
1033,
742,
603,
453,
15027,
2102,
310,
1524,
2319,
459,
8696,
50,
2857,
51,
935,
411,
878,
49,
419,
1547,
547,
350,
526,
462,
366,
1292,
50,
2127,
956,
50,
2251,
432,
11693,
480,
2782,
396,
526,
67,
547,
350,
526,
462,
366,
1292,
50,
2127,
956,
50,
3109,
432,
5476,
5697,
396,
526,
67,
547,
350,
526,
462,
366,
1292,
50,
2127,
956,
50,
2153,
432,
899,
396,
526,
67,
1033,
742,
603,
453,
23852,
15615,
310,
1524,
2319,
459,
1076,
51,
935,
411,
878,
49,
419,
1547,
547,
350,
526,
462,
366,
1292,
50,
2127,
956,
50,
2251,
432,
4057,
396,
526,
67,
547,
350,
526,
462,
366,
1292,
50,
2127,
956,
50,
2153,
432,
3250,
396,
526,
67,
1033,
742,
303,
339,
465,
1276,
294,
338,
2128,
456,
39999,
5796,
1877,
7321,
51,
294,
588,
303,
782,
1524,
6447,
1617,
8048,
365,
320,
310,
453,
4057,
8848,
310,
1524,
2319,
459,
4662,
54,
52,
1337,
50,
1386,
51,
935,
411,
878,
49,
419,
1547,
547,
350,
526,
462,
366,
770,
50,
2251,
17869,
50,
661,
50,
1507,
462,
50,
1386,
462,
50,
1386,
50,
3019,
54,
1360,
102,
788,
547,
995,
366,
78,
54,
51,
935,
39,
1799,
366,
3352,
347,
12890,
54,
432,
78,
54,
396,
102,
873,
526,
67,
547,
350,
526,
462,
366,
770,
50,
2153,
17869,
50,
661,
50,
1507,
462,
50,
1386,
462,
50,
1386,
50,
3019,
54,
432,
547,
350,
526,
462,
366,
1540,
432,
70,
4002,
2586,
1674,
391,
913,
1877,
5957,
1746,
526,
67,
547,
594,
526,
67,
37611,
419,
1547,
547,
350,
526,
462,
366,
770,
50,
2251,
4462,
50,
661,
50,
1507,
462,
50,
1386,
462,
50,
1386,
50,
3019,
55,
1360,
102,
97,
3507,
995,
366,
72,
54,
51,
935,
39,
1799,
366,
842,
347,
12890,
54,
432,
72,
54,
396,
102,
873,
526,
67,
547,
350,
526,
462,
366,
770,
50,
2153,
4462,
50,
661,
50,
1507,
462,
50,
1386,
462,
50,
1386,
50,
3019,
55,
432,
547,
350,
526,
462,
366,
1540,
432,
70,
913,
462,
1746,
526,
67,
547,
594,
526,
67,
1033,
742,
603,
1524,
2319,
459,
4662,
55,
52,
1337,
50,
1386,
51,
935,
411,
878,
49,
419,
1547,
547,
350,
526,
462,
366,
770,
50,
2251,
17869,
50,
661,
50,
1507,
462,
50,
1386,
462,
50,
1386,
50,
3019,
56,
1360,
102,
788,
547,
995,
366,
72,
55,
51,
5827,
589,
13744,
638,
51,
935,
39,
1799,
366,
3880,
462,
347,
12890,
55,
432,
72,
55,
51,
5827,
589,
13744,
638,
396,
102,
873,
526,
67,
547,
350,
526,
462,
366,
770,
50,
2153,
17869,
50,
661,
50,
1507,
462,
50,
1386,
462,
50,
1386,
50,
3019,
56,
432,
547,
350,
526,
462,
366,
1540,
432,
70,
4002,
3858,
1746,
526,
67,
547,
594,
526,
67,
37611,
419,
1547,
547,
350,
526,
462,
366,
770,
50,
2251,
4462,
50,
661,
50,
1507,
462,
50,
1386,
462,
50,
1386,
50,
3019,
60,
1360,
102,
97,
3507,
995,
366,
72,
56,
51,
935,
39,
1799,
366,
4341,
2586,
347,
12890,
55,
432,
72,
56,
396,
102,
873,
526,
67,
547,
350,
526,
462,
366,
770,
50,
2153,
4462,
50,
661,
50,
1507,
462,
50,
1386,
462,
50,
1386,
50,
3019,
60,
432,
547,
350,
526,
462,
366,
1540,
432,
1024,
20144,
462,
1746,
526,
67,
547,
594,
526,
67,
1033,
742,
603,
453,
1727,
4349,
310,
1524,
2319,
459,
4662,
54,
52,
72,
54,
51,
935,
411,
878,
49,
419,
1547,
547,
350,
526,
462,
366,
770,
50,
2251,
17869,
50,
661,
50,
1507,
1360,
707,
789,
102,
995,
5075,
4662,
55,
52,
72,
55,
51,
935,
39,
1799,
366,
842,
347,
12890,
55,
432,
72,
55,
396,
102,
873,
707,
873,
526,
67,
547,
350,
526,
462,
366,
770,
50,
3109,
17869,
50,
661,
50,
1507,
1360,
707,
789,
102,
995,
2547,
1512,
39,
462,
366,
3675,
50,
444,
50,
1222,
432,
1512,
396,
102,
873,
707,
873,
526,
67,
547,
350,
526,
462,
366,
770,
50,
2153,
17869,
50,
661,
50,
1507,
432,
547,
350,
526,
462,
366,
1540,
432,
1024,
1620,
456,
462,
1746,
526,
67,
547,
594,
526,
67,
37611,
419,
1547,
547,
350,
526,
462,
366,
770,
50,
2251,
4462,
50,
661,
50,
1507,
1431,
50,
1386,
50,
1292,
1431,
50,
1386,
50,
1292,
50,
121,
97,
547,
1419,
55,
1431,
50,
1386,
50,
1292,
50,
3019,
57,
1360,
707,
67,
1134,
396,
707,
873,
526,
67,
547,
350,
526,
462,
366,
770,
50,
3109,
4462,
50,
661,
50,
1507,
1431,
50,
1386,
50,
1292,
1431,
50,
1386,
50,
1292,
15685,
547,
4890,
55,
1431,
50,
1386,
50,
1292,
50,
3019,
57,
1360,
707,
789,
102,
995,
2547,
1978,
54,
45,
429,
49,
429,
4748,
462,
366,
3675,
15685,
547,
655,
50,
1222,
432,
1978,
54,
396,
102,
789,
124,
858,
1579,
429,
43,
1672,
64,
102,
49,
3507,
648,
43,
1672,
64,
103,
2891,
707,
873,
526,
67,
547,
350,
526,
462,
366,
770,
50,
2153,
4462,
50,
661,
50,
1507,
1431,
50,
1386,
50,
1292,
1431,
50,
1386,
50,
1292,
50,
1371,
97,
547,
342,
55,
1431,
50,
1386,
50,
1292,
50,
3019,
57,
432,
547,
350,
526,
462,
366,
1540,
432,
1885,
708,
458,
7613,
1746,
526,
67,
547,
594,
526,
67,
1033,
742,
603,
1524,
2319,
459,
4662,
55,
52,
72,
55,
51,
935,
411,
878,
49,
419,
1547,
547,
350,
526,
462,
366,
770,
50,
2251,
4462,
50,
661,
50,
1507,
1360,
707,
789,
102,
995,
5075,
4662,
54,
52,
72,
54,
51,
935,
39,
1799,
366,
842,
347,
12890,
54,
432,
72,
54,
396,
102,
873,
707,
873,
526,
67,
547,
350,
526,
462,
366,
770,
50,
3109,
4462,
50,
661,
50,
1507,
1360,
707,
789,
102,
995,
2547,
1512,
39,
462,
366,
3675,
50,
444,
50,
1222,
432,
1512,
396,
102,
873,
707,
873,
526,
67,
547,
350,
526,
462,
366,
770,
50,
2153,
4462,
50,
661,
50,
1507,
432,
547,
350,
526,
462,
366,
1540,
432,
70,
913,
1620,
1746,
526,
67,
547,
594,
526,
67,
37611,
419,
1547,
547,
350,
526,
462,
366,
770,
50,
2251,
4462,
50,
661,
50,
1507,
1431,
50,
1386,
50,
1292,
1431,
50,
1386,
50,
1292,
50,
121,
97,
547,
1419,
55,
1431,
50,
1386,
50,
1292,
50,
3019,
57,
1360,
707,
789,
102,
995,
5075,
4662,
54,
52,
72,
54,
51,
935,
39,
1799,
366,
842,
347,
317,
97,
547,
851,
108,
54,
432,
72,
54,
396,
102,
873,
707,
873,
526,
67,
547,
350,
526,
462,
366,
770,
50,
3109,
4462,
50,
661,
50,
1507,
1431,
50,
1386,
50,
1292,
1431,
50,
1386,
50,
1292,
15685,
547,
4890,
55,
1431,
50,
1386,
50,
1292,
50,
3019,
57,
1360,
707,
789,
102,
995,
2547,
1978,
45,
4662,
54,
51,
72,
54,
4748,
462,
366,
3675,
50,
115,
97,
547,
44121,
50,
1222,
432,
1978,
396,
102,
789,
124,
858,
18052,
102,
995,
5075,
4662,
54,
52,
72,
54,
51,
935,
39,
1799,
366,
842,
347,
12890,
54,
432,
72,
54,
396,
102,
5224,
547,
568,
1672,
64,
772,
2891,
707,
873,
526,
67,
547,
350,
526,
462,
366,
770,
50,
2153,
4462,
50,
661,
50,
1507,
1431,
50,
1386,
50,
1292,
1431,
50,
1386,
50,
1292,
50,
1371,
97,
547,
342,
55,
1431,
50,
1386,
50,
1292,
50,
3019,
57,
432,
547,
350,
526,
462,
366,
1540,
432,
70,
4002,
1431,
1746,
526,
67,
547,
594,
526,
67,
1033,
742,
603,
1524,
2319,
459,
4662,
55,
52,
72,
55,
51,
5827,
589,
13744,
638,
51,
935,
411,
878,
49,
419,
1547,
547,
350,
526,
462,
366,
770,
50,
2251,
17869,
50,
661,
50,
1507,
1360,
707,
789,
102,
995,
2547,
2593,
100,
30292,
7212,
39,
462,
366,
3675,
50,
115,
97,
547,
44121,
50,
1222,
432,
2593,
100,
30292,
7212,
396,
102,
873,
707,
873,
526,
67,
547,
350,
526,
462,
366,
770,
50,
2153,
17869,
50,
661,
50,
1507,
432,
547,
350,
526,
462,
366,
1540,
432,
1024,
5101,
1746,
526,
67,
547,
594,
526,
67,
1033,
742,
603,
1524,
2319,
459,
4662,
55,
52,
72,
56,
51,
935,
411,
878,
49,
419,
1547,
547,
350,
526,
462,
366,
770,
50,
3109,
4462,
50,
661,
50,
1507,
1360,
707,
789,
102,
995,
2547,
872,
19286,
462,
366,
3675,
50,
444,
50,
1222,
432,
872,
396,
102,
873,
707,
873,
526,
67,
547,
350,
526,
462,
366,
770,
50,
2153,
4462,
50,
661,
50,
1507,
432,
547,
350,
526,
462,
366,
1540,
432,
6327,
1746,
526,
67,
547,
594,
526,
67,
1033,
742,
603,
1524,
2319,
459,
4662,
55,
52,
72,
57,
51,
935,
411,
878,
49,
419,
1547,
547,
350,
526,
462,
366,
770,
50,
2251,
4462,
50,
661,
50,
1507,
1360,
707,
67,
4412,
396,
707,
873,
526,
67,
547,
350,
526,
462,
366,
770,
50,
3109,
4462,
50,
661,
50,
1507,
1360,
707,
789,
102,
995,
2547,
872,
19286,
462,
366,
3675,
50,
444,
50,
1222,
432,
872,
396,
102,
873,
707,
873,
526,
67,
547,
350,
526,
462,
366,
770,
50,
2153,
4462,
50,
661,
50,
1507,
4188,
1672,
2701,
526,
67,
547,
594,
526,
67,
1033,
742,
603,
453,
1727,
813,
4349,
310,
1524,
2319,
459,
4662,
54,
52,
842,
50,
558,
52,
78,
54,
51,
935,
411,
878,
49,
419,
1547,
547,
350,
526,
462,
366,
770,
50,
2251,
4462,
50,
661,
50,
1507,
1360,
102,
995,
2547,
4662,
54,
432,
4662,
54,
396,
102,
873,
526,
67,
547,
350,
526,
462,
366,
770,
50,
2153,
4462,
50,
661,
50,
1507,
432,
547,
350,
526,
462,
366,
1540,
432,
1024,
2670,
244,
54,
1674,
391,
913,
1877,
5957,
1746,
526,
67,
547,
594,
526,
67,
1033,
742,
603,
1524,
2319,
459,
4662,
55,
52,
842,
50,
558,
52,
72,
55,
51,
935,
411,
878,
49,
419,
1547,
547,
350,
526,
462,
366,
770,
50,
2251,
4462,
50,
661,
50,
1507,
1360,
707,
789,
102,
995,
5075,
72,
55,
51,
935,
39,
1799,
366,
842,
347,
12890,
55,
432,
72,
55,
396,
102,
873,
707,
873,
526,
67,
547,
350,
526,
462,
366,
770,
50,
3109,
4462,
50,
661,
50,
1507,
1360,
681,
462,
366,
700,
50,
444,
50,
1194,
432,
72,
54,
1746,
681,
789,
97,
547,
1361,
789,
102,
995,
4608,
4662,
54,
52,
72,
54,
51,
935,
40,
1512,
39,
462,
366,
3675,
50,
444,
50,
1222,
432,
1512,
396,
102,
873,
707,
873,
526,
67,
547,
350,
526,
462,
366,
770,
50,
2153,
4462,
50,
661,
50,
1507,
432,
547,
350,
526,
462,
366,
1540,
432,
1024,
1620,
456,
462,
1746,
526,
67,
547,
594,
526,
67,
37611,
419,
1547,
547,
350,
526,
462,
366,
770,
50,
2251,
4462,
50,
661,
50,
1507,
1360,
707,
789,
102,
995,
5075,
72,
55,
51,
935,
39,
1799,
366,
842,
347,
12890,
55,
432,
72,
55,
396,
102,
873,
707,
873,
526,
67,
547,
350,
526,
462,
366,
770,
50,
3109,
4462,
50,
661,
50,
1507,
1360,
681,
462,
366,
700,
50,
444,
50,
1194,
432,
72,
54,
1746,
681,
789,
97,
547,
1361,
789,
102,
995,
4608,
4662,
54,
52,
72,
54,
51,
935,
40,
1978,
45,
4662,
55,
51,
72,
55,
4748,
462,
366,
3675,
50,
444,
50,
1222,
432,
17834,
116,
97,
547,
362,
396,
102,
789,
124,
858,
18052,
102,
995,
5075,
72,
55,
51,
935,
39,
1799,
366,
842,
347,
12890,
55,
432,
72,
55,
396,
102,
2893,
1672,
64,
772,
2891,
707,
789,
97,
547,
536,
526,
67,
547,
350,
526,
462,
366,
770,
50,
2153,
4462,
50,
661,
50,
1507,
432,
547,
350,
526,
462,
366,
1540,
432,
1885,
708,
120,
1976,
1649,
8220,
1746,
526,
67,
547,
594,
526,
67,
1033,
742,
603,
453,
9718,
813,
4349,
310,
1524,
2319,
459,
4662,
54,
52,
1337,
50,
558,
51,
935,
411,
878,
49,
419,
1547,
547,
350,
526,
462,
366,
770,
50,
2251,
4462,
50,
661,
50,
1507,
1360,
102,
995,
2547,
4662,
54,
432,
4662,
54,
396,
102,
873,
526,
67,
547,
350,
526,
462,
366,
770,
50,
2153,
4462,
50,
661,
50,
1507,
432,
547,
350,
526,
462,
366,
1540,
432,
1024,
2670,
244,
54,
1674,
391,
913,
1877,
5957,
1746,
526,
67,
547,
594,
526,
67,
37611,
419,
1547,
547,
350,
526,
462,
366,
770,
50,
2251,
4462,
50,
661,
50,
1507,
1360,
102,
995,
366,
842,
50,
558,
52,
72,
54,
51,
935,
40,
4662,
55,
432,
72,
54,
396,
102,
873,
526,
67,
547,
350,
526,
462,
366,
770,
50,
2153,
4462,
50,
661,
50,
1507,
432,
547,
350,
526,
462,
366,
1540,
432,
70,
913,
462,
1746,
526,
67,
547,
594,
526,
67,
1033,
742,
603,
453,
22505,
310,
1524,
2319,
459,
15033,
50,
687,
51,
935,
411,
878,
49,
419,
1547,
547,
350,
526,
462,
366,
770,
50,
1386,
50,
1113,
50,
444,
4462,
50,
661,
50,
1507,
1360,
102,
995,
366,
4662,
55,
52,
72,
55,
51,
935,
40,
9086,
100,
1512,
432,
4662,
55,
51,
72,
55,
51,
9086,
100,
1512,
396,
102,
873,
526,
67,
547,
350,
526,
462,
366,
770,
50,
2153,
4462,
50,
661,
50,
1507,
432,
547,
350,
526,
462,
366,
44096,
50,
3666,
432,
11682,
1348,
813,
477,
1620,
18366,
1746,
526,
67,
547,
594,
526,
67,
37611,
419,
1547,
547,
350,
526,
462,
366,
770,
50,
1386,
50,
1113,
50,
444,
4462,
50,
661,
50,
1507,
1360,
102,
995,
366,
4662,
54,
52,
72,
54,
51,
935,
40,
305,
1023,
2612,
97,
547,
2137,
1885,
17736,
4662,
54,
51,
72,
54,
51,
15033,
1885,
11052,
102,
873,
526,
67,
547,
350,
526,
462,
366,
770,
50,
2153,
4462,
50,
661,
50,
1507,
432,
547,
350,
526,
462,
366,
44096,
50,
3666,
432,
11682,
1348,
813,
477,
18366,
1746,
526,
67,
547,
594,
526,
67,
1033,
742,
603,
453,
15027,
2102,
310,
1524,
2319,
459,
8696,
50,
2857,
51,
935,
411,
878,
49,
419,
1547,
547,
350,
526,
462,
366,
770,
50,
2251,
4462,
50,
661,
50,
1507,
1360,
707,
828,
366,
4662,
54,
51,
72,
54,
51,
21159,
54,
432,
942,
43,
1672,
64,
120,
97,
547,
292,
706,
43,
1672,
64,
3242,
43,
1672,
64,
1874,
51,
1600,
51,
671,
396,
707,
873,
526,
67,
547,
350,
526,
462,
366,
770,
50,
3109,
4462,
50,
661,
50,
1507,
1360,
707,
789,
102,
995,
366,
4662,
54,
52,
72,
54,
51,
935,
40,
21159,
54,
432,
21159,
54,
396,
102,
873,
707,
873,
526,
67,
547,
350,
526,
462,
366,
770,
50,
2153,
4462,
50,
661,
50,
1507,
1360,
707,
5852,
72,
54,
14287,
707,
873,
526,
67,
547,
594,
526,
67,
1033,
742,
603,
453,
23852,
15615,
310,
1524,
2319,
459,
1076,
51,
935,
411,
878,
49,
419,
1547,
547,
350,
526,
462,
366,
770,
50,
2251,
4462,
50,
661,
50,
1507,
1187,
50,
5051,
50,
1292,
1187,
50,
5051,
50,
1292,
50,
3019,
54,
7660,
547,
17457,
102,
995,
366,
4662,
54,
52,
1337,
50,
1386,
51,
935,
432,
4662,
54,
396,
102,
873,
526,
67,
547,
350,
526,
462,
366,
770,
50,
2153,
4462,
50,
661,
50,
1507,
1187,
50,
5051,
50,
1292,
1187,
50,
5051,
50,
1292,
50,
3019,
54,
432,
547,
350,
526,
462,
366,
1540,
432,
1024,
2670,
244,
54,
1674,
391,
913,
1877,
5957,
1746,
526,
67,
547,
594,
526,
67,
1033,
742,
303,
339,
465,
1276,
294,
338,
2128,
456,
39999,
5796,
1877,
7321,
642,
449,
1365,
3666,
2489,
51,
294,
588,
303,
782,
1524,
6447,
1617,
8048,
2042,
6327,
365,
320,
310,
453,
4057,
8848,
310,
1524,
2319,
459,
4662,
54,
52,
1337,
50,
1386,
51,
935,
411,
878,
49,
419,
1547,
547,
350,
526,
462,
366,
770,
50,
2251,
17869,
50,
661,
50,
1507,
462,
50,
1386,
462,
50,
1386,
50,
3019,
54,
1360,
102,
788,
547,
995,
366,
78,
54,
51,
935,
39,
1799,
366,
3352,
347,
12890,
54,
432,
78,
54,
396,
102,
873,
526,
67,
547,
350,
526,
462,
366,
770,
50,
2153,
17869,
50,
661,
50,
1507,
462,
50,
1386,
462,
50,
1386,
50,
3019,
54,
1245,
526,
67,
37611,
419,
1547,
547,
350,
526,
462,
366,
770,
50,
2251,
4462,
50,
661,
50,
1507,
462,
50,
1386,
462,
50,
1386,
50,
3019,
55,
1360,
102,
97,
3507,
995,
366,
72,
54,
51,
935,
39,
1799,
366,
842,
347,
12890,
54,
432,
72,
54,
396,
102,
873,
526,
67,
547,
350,
526,
462,
366,
770,
50,
2153,
4462,
50,
661,
50,
1507,
462,
50,
1386,
462,
50,
1386,
50,
3019,
55,
1245,
526,
67,
1033,
742,
603,
1524,
2319,
459,
4662,
55,
52,
1337,
50,
1386,
51,
935,
411,
878,
49,
419,
1547,
547,
350,
526,
462,
366,
770,
50,
2251,
17869,
50,
661,
50,
1507,
462,
50,
1386,
462,
50,
1386,
50,
3019,
56,
1360,
102,
788,
547,
995,
366,
72,
55,
51,
5827,
589,
13744,
638,
51,
935,
39,
1799,
366,
3880,
462,
347,
12890,
55,
432,
72,
55,
51,
5827,
589,
13744,
18451,
97,
547,
503,
396,
102,
873,
526,
67,
547,
350,
526,
462,
366,
770,
50,
2153,
17869,
50,
661,
50,
1507,
462,
50,
1386,
462,
50,
1386,
50,
3019,
56,
1245,
526,
67,
37611,
419,
1547,
547,
350,
526,
462,
366,
770,
50,
2251,
4462,
50,
661,
50,
1507,
462,
50,
1386,
462,
50,
1386,
50,
3019,
60,
1360,
102,
97,
3507,
995,
366,
72,
56,
51,
935,
39,
1799,
366,
4341,
2586,
347,
12890,
55,
432,
72,
56,
396,
102,
873,
526,
67,
547,
350,
526,
462,
366,
770,
50,
2153,
4462,
50,
661,
50,
1507,
462,
50,
1386,
462,
50,
1386,
50,
3019,
60,
1245,
526,
67,
1033,
742,
603,
453,
1727,
4349,
310,
1524,
2319,
459,
4662,
54,
52,
72,
54,
51,
935,
411,
878,
49,
419,
1547,
547,
350,
526,
462,
366,
770,
50,
2251,
17869,
50,
661,
50,
1507,
1360,
707,
789,
102,
995,
5075,
4662,
55,
52,
72,
55,
51,
935,
39,
1799,
366,
842,
347,
12890,
55,
432,
72,
55,
396,
102,
873,
707,
873,
526,
67,
547,
350,
526,
462,
366,
770,
50,
3109,
17869,
50,
661,
50,
1507,
1360,
707,
789,
102,
995,
2547,
1512,
39,
462,
366,
3675,
50,
444,
50,
1222,
432,
1512,
396,
102,
873,
707,
873,
526,
67,
547,
350,
526,
462,
366,
770,
50,
2153,
17869,
50,
661,
50,
1507,
1245,
526,
67,
37611,
419,
1547,
547,
350,
526,
462,
366,
770,
50,
2251,
4462,
50,
661,
50,
1507,
1431,
50,
1386,
50,
1292,
1431,
50,
1386,
50,
1292,
50,
121,
97,
547,
1419,
55,
1431,
50,
1386,
50,
1292,
50,
3019,
57,
1360,
707,
67,
1134,
396,
707,
873,
526,
67,
547,
350,
526,
462,
366,
770,
50,
3109,
4462,
50,
661,
50,
1507,
1431,
50,
1386,
50,
1292,
1431,
50,
1386,
50,
1292,
15685,
547,
4890,
55,
1431,
50,
1386,
50,
1292,
50,
3019,
57,
1360,
707,
789,
102,
995,
2547,
1978,
54,
45,
429,
49,
429,
4748,
462,
366,
3675,
15685,
547,
655,
50,
1222,
432,
1978,
54,
396,
102,
789,
124,
858,
1579,
429,
43,
1672,
64,
102,
49,
3507,
648,
43,
1672,
64,
103,
2891,
707,
873,
526,
67,
547,
350,
526,
462,
366,
770,
50,
2153,
4462,
50,
661,
50,
1507,
1431,
50,
1386,
50,
1292,
1431,
50,
1386,
50,
1292,
50,
1371,
97,
547,
342,
55,
1431,
50,
1386,
50,
1292,
50,
3019,
57,
1245,
526,
67,
1033,
742,
603,
1524,
2319,
459,
4662,
55,
52,
72,
55,
51,
935,
411,
878,
49,
419,
1547,
547,
350,
526,
462,
366,
770,
50,
2251,
4462,
50,
661,
50,
1507,
1360,
707,
789,
102,
995,
5075,
4662,
54,
52,
72,
54,
51,
935,
39,
1799,
366,
842,
347,
12890,
54,
432,
72,
54,
396,
102,
873,
707,
873,
526,
67,
547,
350,
526,
462,
366,
770,
50,
3109,
4462,
50,
661,
50,
1507,
1360,
707,
789,
102,
995,
2547,
1512,
39,
462,
366,
3675,
50,
444,
50,
1222,
432,
1512,
396,
102,
873,
707,
873,
526,
67,
547,
350,
526,
462,
366,
770,
50,
2153,
4462,
50,
661,
50,
1507,
1245,
526,
67,
37611,
419,
1547,
547,
350,
526,
462,
366,
770,
50,
2251,
4462,
50,
661,
50,
1507,
1431,
50,
1386,
50,
1292,
1431,
50,
1386,
50,
1292,
50,
121,
97,
547,
1419,
55,
1431,
50,
1386,
50,
1292,
50,
3019,
57,
1360,
707,
789,
102,
995,
5075,
4662,
54,
52,
72,
54,
51,
935,
39,
1799,
366,
842,
347,
317,
97,
547,
851,
108,
54,
432,
72,
54,
396,
102,
873,
707,
873,
526,
67,
547,
350,
526,
462,
366,
770,
50,
3109,
4462,
50,
661,
50,
1507,
1431,
50,
1386,
50,
1292,
1431,
50,
1386,
50,
1292,
15685,
547,
4890,
55,
1431,
50,
1386,
50,
1292,
50,
3019,
57,
1360,
707,
789,
102,
995,
2547,
1978,
45,
4662,
54,
51,
72,
54,
4748,
462,
366,
3675,
50,
115,
97,
547,
44121,
50,
1222,
432,
1978,
396,
102,
789,
124,
858,
18052,
102,
995,
5075,
4662,
54,
52,
72,
54,
51,
935,
39,
1799,
366,
842,
347,
12890,
54,
432,
72,
54,
396,
102,
5224,
547,
568,
1672,
64,
772,
2891,
707,
873,
526,
67,
547,
350,
526,
462,
366,
770,
50,
2153,
4462,
50,
661,
50,
1507,
1431,
50,
1386,
50,
1292,
1431,
50,
1386,
50,
1292,
50,
1371,
97,
547,
342,
55,
1431,
50,
1386,
50,
1292,
50,
3019,
57,
1245,
526,
67,
1033,
742,
603,
1524,
2319,
459,
4662,
55,
52,
72,
55,
51,
5827,
589,
13744,
638,
51,
935,
411,
878,
49,
419,
1547,
547,
350,
526,
462,
366,
770,
50,
2251,
17869,
50,
661,
50,
1507,
1360,
707,
789,
102,
995,
2547,
2593,
100,
30292,
7212,
39,
462,
366,
3675,
50,
115,
97,
547,
44121,
50,
1222,
432,
2593,
100,
30292,
7212,
396,
102,
873,
707,
873,
526,
67,
547,
350,
526,
462,
366,
770,
50,
2153,
17869,
50,
661,
50,
1507,
1245,
526,
67,
1033,
742,
603,
1524,
2319,
459,
4662,
55,
52,
72,
56,
51,
935,
411,
878,
49,
419,
1547,
547,
350,
526,
462,
366,
770,
50,
3109,
4462,
50,
661,
50,
1507,
1360,
707,
789,
102,
995,
2547,
872,
19286,
462,
366,
3675,
50,
3288,
97,
547,
616,
50,
1222,
432,
872,
396,
102,
873,
707,
873,
526,
67,
547,
350,
526,
462,
366,
770,
50,
2153,
4462,
50,
661,
50,
1507,
1245,
526,
67,
1033,
742,
603,
1524,
2319,
459,
4662,
55,
52,
72,
57,
51,
935,
411,
878,
49,
419,
1547,
547,
350,
526,
462,
366,
770,
50,
2251,
4462,
50,
661,
50,
1507,
1360,
707,
67,
4412,
396,
707,
873,
526,
67,
547,
350,
526,
462,
366,
770,
50,
3109,
4462,
50,
661,
50,
1507,
1360,
707,
789,
102,
995,
2547,
872,
19286,
462,
366,
3675,
50,
3288,
97,
547,
616,
50,
1222,
432,
872,
396,
102,
873,
707,
873,
526,
67,
547,
350,
526,
462,
366,
770,
50,
2153,
4462,
50,
661,
50,
1507,
1245,
526,
67,
547,
594,
526,
67,
1033,
742,
603,
453,
1727,
813,
4349,
310,
1524,
2319,
459,
4662,
54,
52,
842,
50,
558,
52,
78,
54,
51,
935,
411,
878,
49,
419,
1547,
547,
350,
526,
462,
366,
770,
50,
2251,
4462,
50,
661,
50,
1507,
1360,
102,
995,
2547,
4662,
54,
432,
4662,
54,
396,
102,
873,
526,
67,
547,
350,
526,
462,
366,
770,
50,
2153,
4462,
50,
661,
50,
1507,
1245,
526,
67,
1033,
742,
603,
1524,
2319,
459,
4662,
55,
52,
842,
50,
558,
52,
72,
55,
51,
935,
411,
878,
49,
419,
1547,
547,
350,
526,
462,
366,
770,
50,
2251,
4462,
50,
661,
50,
1507,
1360,
707,
789,
102,
995,
5075,
72,
55,
51,
935,
39,
1799,
366,
842,
347,
12890,
55,
432,
72,
55,
396,
102,
873,
707,
873,
526,
67,
547,
350,
526,
462,
366,
770,
50,
3109,
4462,
50,
661,
50,
1507,
1360,
681,
462,
366,
700,
50,
444,
50,
1194,
432,
72,
54,
1746,
681,
789,
97,
547,
1361,
789,
102,
995,
4608,
4662,
54,
52,
72,
54,
51,
935,
40,
1512,
39,
462,
366,
3675,
50,
444,
50,
1222,
432,
1512,
396,
102,
873,
707,
97,
547,
23405,
526,
67,
547,
350,
526,
462,
366,
770,
50,
2153,
4462,
50,
661,
50,
1507,
1245,
526,
67,
37611,
419,
1547,
547,
350,
526,
462,
366,
770,
50,
2251,
4462,
50,
661,
50,
1507,
1360,
707,
789,
102,
995,
5075,
72,
55,
51,
935,
39,
1799,
366,
842,
347,
12890,
55,
432,
72,
55,
396,
102,
873,
707,
873,
526,
67,
547,
350,
526,
462,
366,
770,
50,
3109,
4462,
50,
661,
50,
1507,
1360,
681,
462,
366,
700,
50,
444,
50,
1194,
432,
72,
54,
1746,
681,
789,
97,
547,
1361,
789,
102,
995,
4608,
4662,
54,
52,
72,
54,
51,
935,
40,
1978,
45,
4662,
55,
51,
72,
55,
4748,
462,
366,
3675,
50,
444,
50,
1222,
432,
17834,
116,
97,
547,
362,
396,
102,
789,
124,
858,
18052,
102,
995,
5075,
72,
55,
51,
935,
39,
1799,
366,
842,
347,
12890,
55,
432,
72,
55,
396,
102,
2893,
1672,
64,
772,
2891,
707,
873,
526,
67,
547,
350,
526,
462,
366,
770,
50,
2153,
4462,
50,
661,
50,
1507,
1245,
526,
67,
1033,
742,
603,
453,
9718,
813,
4349,
310,
1524,
2319,
459,
4662,
54,
52,
1337,
50,
558,
51,
935,
411,
878,
49,
419,
1547,
547,
350,
526,
462,
366,
770,
50,
2251,
4462,
50,
661,
50,
1507,
1360,
102,
995,
2547,
4662,
54,
432,
4662,
54,
396,
102,
873,
526,
67,
547,
350,
526,
462,
366,
770,
50,
2153,
4462,
50,
661,
50,
1507,
1245,
526,
67,
37611,
419,
1547,
547,
350,
526,
462,
366,
770,
50,
2251,
4462,
50,
661,
50,
1507,
1360,
102,
995,
366,
842,
50,
558,
52,
72,
54,
51,
935,
40,
4662,
55,
432,
72,
54,
396,
102,
873,
526,
67,
547,
350,
526,
462,
366,
770,
50,
2153,
4462,
50,
661,
50,
1507,
1245,
526,
67,
1033,
742,
603,
453,
22505,
310,
1524,
2319,
459,
15033,
50,
687,
51,
935,
411,
878,
49,
419,
1547,
547,
350,
526,
462,
366,
770,
50,
1386,
50,
1113,
50,
444,
4462,
50,
661,
50,
1507,
1360,
102,
995,
366,
4662,
55,
52,
72,
55,
51,
935,
40,
9086,
100,
1512,
432,
4662,
55,
51,
72,
55,
51,
9086,
100,
1512,
396,
102,
873,
526,
67,
547,
350,
526,
462,
366,
770,
50,
2153,
4462,
50,
661,
50,
1507,
1245,
526,
67,
37611,
419,
1547,
547,
350,
526,
462,
366,
770,
50,
1386,
50,
1113,
50,
444,
4462,
50,
661,
50,
1507,
1360,
102,
995,
366,
4662,
54,
52,
72,
54,
51,
935,
40,
305,
1023,
2612,
97,
547,
2137,
1885,
17736,
4662,
54,
51,
72,
54,
51,
15033,
1885,
11052,
102,
873,
526,
67,
547,
350,
526,
462,
366,
770,
50,
2153,
4462,
50,
661,
50,
1507,
1245,
526,
67,
1033,
742,
603,
453,
15027,
2102,
310,
1524,
2319,
459,
8696,
50,
2857,
51,
935,
411,
878,
49,
419,
1547,
547,
350,
526,
462,
366,
770,
50,
2251,
4462,
50,
661,
50,
1507,
1360,
707,
828,
366,
4662,
54,
51,
72,
54,
51,
21159,
54,
432,
942,
43,
1672,
64,
120,
97,
547,
292,
706,
43,
1672,
64,
3242,
43,
1672,
64,
1874,
51,
1600,
51,
671,
396,
707,
873,
526,
67,
547,
350,
526,
462,
366,
770,
50,
3109,
4462,
50,
661,
50,
1507,
1360,
707,
789,
102,
995,
366,
4662,
54,
52,
72,
54,
51,
935,
40,
21159,
54,
432,
21159,
54,
396,
102,
873,
707,
873,
526,
67,
547,
350,
526,
462,
366,
770,
50,
2153,
4462,
50,
661,
50,
1507,
1360,
707,
5852,
72,
54,
14287,
707,
873,
526,
67,
547,
594,
526,
67,
1033,
742,
603,
453,
23852,
15615,
310,
1524,
2319,
459,
1076,
51,
935,
411,
878,
49,
419,
1547,
547,
350,
526,
462,
366,
770,
50,
2251,
4462,
50,
661,
50,
1507,
1187,
50,
5051,
50,
1292,
1187,
50,
5051,
50,
1292,
50,
3019,
54,
7660,
547,
17457,
102,
995,
366,
4662,
54,
52,
1337,
50,
1386,
51,
935,
432,
4662,
54,
396,
102,
873,
526,
67,
547,
350,
526,
462,
366,
770,
50,
2153,
4462,
50,
661,
50,
1507,
1187,
50,
5051,
50,
1292,
1187,
50,
5051,
50,
1292,
50,
3019,
54,
1245,
526,
67,
1033,
742,
303,
339,
222,
130,
222
] | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,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
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 10,553 | true | 50.312579 | true | true |
SubCommand_SilentBase.java | /FileExtraction/Java_unseen/Ghost-chu_QuickShop-Hikari/quickshop-bukkit/src/main/java/com/ghostchu/quickshop/command/subcommand/silent/SubCommand_SilentBase.java | package com.ghostchu.quickshop.command.subcommand.silent;
import com.ghostchu.quickshop.QuickShop;
import com.ghostchu.quickshop.api.command.CommandHandler;
import com.ghostchu.quickshop.api.command.CommandParser;
import com.ghostchu.quickshop.api.shop.Shop;
import com.ghostchu.quickshop.util.logger.Log;
import org.bukkit.entity.Player;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import java.util.Collections;
import java.util.List;
import java.util.UUID;
public abstract class SubCommand_SilentBase implements CommandHandler<Player> {
protected final QuickShop plugin;
protected SubCommand_SilentBase(QuickShop plugin) {
this.plugin = plugin;
}
@Override
public void onCommand(Player sender, @NotNull String commandLabel, @NotNull CommandParser parser) {
if (parser.getArgs().size() != 1) {
Log.debug("Exception on command! Canceling!");
return;
}
UUID uuid;
try {
uuid = UUID.fromString(parser.getArgs().get(0));
} catch (IllegalArgumentException e) {
//Not valid, return for doing nothing
return;
}
Shop shop = plugin.getShopManager().getShopFromRuntimeRandomUniqueId(uuid);
if (shop != null) {
doSilentCommand(sender, shop, parser);
} else {
plugin.text().of(sender, "not-looking-at-shop").send();
}
}
protected abstract void doSilentCommand(Player sender, @NotNull Shop shop, @NotNull CommandParser parser);
@Override
public @Nullable List<String> onTabComplete(@NotNull Player sender, @NotNull String commandLabel, @NotNull CommandParser parser) {
return Collections.emptyList();
}
}
| 1,762 | Java | .java | Ghost-chu/QuickShop-Hikari | 66 | 33 | 22 | 2022-02-12T07:08:31Z | 2024-05-08T17:44:39Z | f0795d54bf7c0b285a509acc8e1c603ead7b2146d4472f9098219314937a04c5 | [] | [
1337,
785,
51,
28907,
399,
122,
51,
10593,
5579,
51,
2514,
51,
1133,
2514,
51,
25402,
64,
222,
222,
485,
785,
51,
28907,
399,
122,
51,
10593,
5579,
51,
14318,
12826,
64,
222,
485,
785,
51,
28907,
399,
122,
51,
10593,
5579,
51,
1256,
51,
2514,
51,
43612,
64,
222,
485,
785,
51,
28907,
399,
122,
51,
10593,
5579,
51,
1256,
51,
2514,
51,
2037,
2837,
64,
222,
485,
785,
51,
28907,
399,
122,
51,
10593,
5579,
51,
1256,
51,
5579,
51,
12826,
64,
222,
485,
785,
51,
28907,
399,
122,
51,
10593,
5579,
51,
1058,
51,
4089,
51,
1353,
64,
222,
485,
1105,
51,
20402,
51,
2244,
51,
3516,
64,
222,
485,
1105,
51,
15575,
51,
8839,
51,
4936,
64,
222,
485,
1105,
51,
15575,
51,
8839,
51,
6825,
64,
222,
222,
485,
1401,
51,
1058,
51,
4293,
64,
222,
485,
1401,
51,
1058,
51,
739,
64,
222,
485,
1401,
51,
1058,
51,
7604,
64,
222,
222,
942,
5560,
462,
3743,
2037,
100,
20068,
323,
1778,
4584,
5730,
1985,
65,
3516,
67,
320,
303,
2532,
1175,
18506,
12826,
3985,
64,
465,
2532,
3743,
2037,
100,
20068,
323,
1778,
45,
14318,
12826,
3985,
46,
320,
310,
477,
51,
2809,
299,
3985,
64,
303,
339,
465,
496,
1806,
303,
581,
782,
563,
2037,
45,
3516,
7056,
49,
496,
4936,
910,
2035,
2186,
49,
496,
4936,
5730,
2837,
4138,
46,
320,
310,
434,
327,
3936,
51,
390,
3097,
941,
911,
365,
882,
244,
54,
46,
320,
343,
2681,
51,
2824,
459,
1002,
563,
2035,
38,
21298,
318,
9318,
343,
461,
64,
310,
339,
310,
14286,
11168,
64,
310,
1614,
320,
343,
11168,
299,
14286,
51,
32972,
45,
3936,
51,
390,
3097,
941,
390,
45,
53,
894,
310,
339,
2385,
327,
25894,
503,
46,
320,
343,
453,
1355,
2101,
49,
461,
456,
8132,
7572,
343,
461,
64,
310,
339,
603,
20791,
17728,
299,
3985,
51,
390,
12826,
1590,
941,
390,
12826,
1811,
5061,
6124,
34245,
45,
6615,
312,
310,
434,
327,
5579,
882,
762,
46,
320,
343,
764,
20068,
323,
2037,
45,
8272,
49,
17728,
49,
4138,
312,
310,
339,
832,
320,
343,
3985,
51,
897,
941,
1048,
45,
8272,
49,
332,
1226,
50,
44619,
50,
288,
50,
5579,
1912,
2729,
492,
310,
339,
303,
339,
465,
2532,
5560,
782,
764,
20068,
323,
2037,
45,
3516,
7056,
49,
496,
4936,
20791,
17728,
49,
496,
4936,
5730,
2837,
4138,
312,
465,
496,
1806,
303,
581,
496,
6825,
1701,
65,
671,
67,
563,
4011,
7375,
4810,
4936,
9306,
7056,
49,
496,
4936,
910,
2035,
2186,
49,
496,
4936,
5730,
2837,
4138,
46,
320,
310,
461,
15490,
51,
31447,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 439 | true | 69.012486 | true | true |
ApiMessageController.java | /FileExtraction/Java_unseen/fortify-presales_IWA-Java/src/main/java/com/microfocus/example/api/controllers/ApiMessageController.java | /*
Insecure Web App (IWA)
Copyright (C) 2020-2022 Micro Focus or one of its affiliates
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.microfocus.example.api.controllers;
import com.microfocus.example.payload.request.MessageRequest;
import com.microfocus.example.payload.response.ApiStatusResponse;
import com.microfocus.example.entity.Message;
import com.microfocus.example.exception.MessageNotFoundException;
import com.microfocus.example.service.UserService;
import com.microfocus.example.payload.response.MessageResponse;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.Parameter;
import io.swagger.v3.oas.annotations.media.ArraySchema;
import io.swagger.v3.oas.annotations.media.Content;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.responses.ApiResponse;
import io.swagger.v3.oas.annotations.responses.ApiResponses;
import io.swagger.v3.oas.annotations.security.SecurityRequirement;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.http.MediaType;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
import javax.validation.Valid;
import java.time.LocalDateTime;
import java.time.ZoneOffset;
import java.util.List;
import java.util.Optional;
import java.util.UUID;
import java.util.stream.Collectors;
/**
* A RESTFul controller for accessing message information.
*
* @author Kevin A. Lee
*/
@RestController
@RequestMapping(value = "/api/v3/messages")
@Tag(name = "messages", description = "User message operations")
public class ApiMessageController {
private static final org.slf4j.Logger log = LoggerFactory.getLogger(ApiMessageController.class);
@Autowired
private UserService userService;
@Operation(summary = "Finds messages by keyword(s)", description = "Keyword search by %keyword% format", tags = {"message"}, security = @SecurityRequirement(name = "JWT Authentication"))
@ApiResponses(value = {
@ApiResponse(responseCode = "200", description = "Success", content = @Content(array = @ArraySchema(schema = @Schema(implementation = MessageResponse.class)))),
@ApiResponse(responseCode = "400", description = "Bad Request", content = @Content(schema = @Schema(implementation = ApiStatusResponse.class))),
@ApiResponse(responseCode = "401", description = "Unauthorized", content = @Content(schema = @Schema(implementation = ApiStatusResponse.class))),
@ApiResponse(responseCode = "403", description = "Forbidden", content = @Content(schema = @Schema(implementation = ApiStatusResponse.class))),
@ApiResponse(responseCode = "500", description = "Internal Server Error", content = @Content(schema = @Schema(implementation = ApiStatusResponse.class))),
})
@GetMapping(value = {""}, produces = {"application/json"})
public ResponseEntity<List<MessageResponse>> getMessagesByKeywords(
@Parameter(description = "Keyword(s) search for messages to be found.") @RequestParam("keywords") Optional<String> keywords,
@Parameter(description = "Offset of the starting record. 0 indicates the first record.") @RequestParam("offset") Optional<Integer> offset,
@Parameter(description = "Maximum records to return. The maximum value allowed is 50.") @RequestParam("limit") Optional<Integer> limit) {
log.debug("API::Retrieving messages by keyword(s)");
// TODO: implement keywords, offset and limit
if (keywords.equals(Optional.empty())) {
return ResponseEntity.ok().contentType(MediaType.APPLICATION_JSON).body(
userService.getAllMessages().stream()
.map(MessageResponse::new)
.collect(Collectors.toList()));
} else {
return ResponseEntity.ok().contentType(MediaType.APPLICATION_JSON).body(
userService.getAllMessages().stream()
.map(MessageResponse::new)
.collect(Collectors.toList()));
}
}
@Operation(summary = "Find message by Id", description = "Find a message by UUID", tags = {"message"}, security = @SecurityRequirement(name = "JWT Authentication"))
@ApiResponses(value = {
@ApiResponse(responseCode = "200", description = "Success", content = @Content(schema = @Schema(implementation = MessageResponse.class))),
@ApiResponse(responseCode = "400", description = "Bad Request", content = @Content(schema = @Schema(implementation = ApiStatusResponse.class))),
@ApiResponse(responseCode = "401", description = "Unauthorized", content = @Content(schema = @Schema(implementation = ApiStatusResponse.class))),
@ApiResponse(responseCode = "403", description = "Forbidden", content = @Content(schema = @Schema(implementation = ApiStatusResponse.class))),
@ApiResponse(responseCode = "404", description = "Message Not Found", content = @Content(schema = @Schema(implementation = ApiStatusResponse.class))),
@ApiResponse(responseCode = "500", description = "Internal Server Error", content = @Content(schema = @Schema(implementation = ApiStatusResponse.class))),
})
@GetMapping(value = {"/{id}"}, produces = {"application/json"})
public ResponseEntity<MessageResponse> getMessageById(
@Parameter(description = "UUID of the message to be found. Cannot be empty.", example = "6914e47d-2f0a-4deb-a712-12e7801e13e8", required = true) @PathVariable("id") UUID id) {
log.debug("API::Retrieving message with UUID: " + id);
if (!userService.messageExistsById(id))
throw new MessageNotFoundException("Message with id: " + id.toString() + " does not exist.");
Optional<Message> message = userService.findMessageById(id);
return message.map(value -> new ResponseEntity<>(new MessageResponse(value), HttpStatus.OK)).orElse(null);
}
@Operation(summary = "Create a new message", description = "Creates a new message for a user", tags = {"messages"}, security = @SecurityRequirement(name = "JWT Authentication"))
@ApiResponses(value = {
@ApiResponse(responseCode = "200", description = "Success", content = @Content(schema = @Schema(implementation = MessageResponse.class))),
@ApiResponse(responseCode = "400", description = "Bad Request", content = @Content(schema = @Schema(implementation = ApiStatusResponse.class))),
@ApiResponse(responseCode = "401", description = "Unauthorized", content = @Content(schema = @Schema(implementation = ApiStatusResponse.class))),
@ApiResponse(responseCode = "403", description = "Forbidden", content = @Content(schema = @Schema(implementation = ApiStatusResponse.class))),
@ApiResponse(responseCode = "409", description = "Message Already Exists", content = @Content(schema = @Schema(implementation = ApiStatusResponse.class))),
@ApiResponse(responseCode = "500", description = "Internal Server Error", content = @Content(schema = @Schema(implementation = ApiStatusResponse.class))),
})
@PostMapping(value = {""}, produces = {"application/json"}, consumes = {"application/json"})
@ResponseStatus(HttpStatus.CREATED)
public ResponseEntity<MessageResponse> createMessage(
@io.swagger.v3.oas.annotations.parameters.RequestBody(description = "") @Valid @RequestBody MessageRequest newMessage) {
log.debug("API::Creating new message: " + newMessage.toString());
return new ResponseEntity<>(new MessageResponse(userService.saveMessageFromApi(null, newMessage)), HttpStatus.OK);
}
@Operation(summary = "Update a message", description = "Update a users message", tags = {"messages"}, security = @SecurityRequirement(name = "JWT Authentication"))
@ApiResponses(value = {
@ApiResponse(responseCode = "200", description = "Success", content = @Content(schema = @Schema(implementation = MessageResponse.class))),
@ApiResponse(responseCode = "400", description = "Bad Request", content = @Content(schema = @Schema(implementation = ApiStatusResponse.class))),
@ApiResponse(responseCode = "401", description = "Unauthorized", content = @Content(schema = @Schema(implementation = ApiStatusResponse.class))),
@ApiResponse(responseCode = "403", description = "Forbidden", content = @Content(schema = @Schema(implementation = ApiStatusResponse.class))),
@ApiResponse(responseCode = "404", description = "Message Not Found", content = @Content(schema = @Schema(implementation = ApiStatusResponse.class))),
@ApiResponse(responseCode = "500", description = "Internal Server Error", content = @Content(schema = @Schema(implementation = ApiStatusResponse.class))),
})
@PutMapping(value = {"/{id}"}, produces = {"application/json"}, consumes = {"application/json"})
public ResponseEntity<MessageResponse> updateMessage(
@io.swagger.v3.oas.annotations.parameters.RequestBody(description = "") @Valid @RequestBody MessageRequest newMessage,
@Parameter(description = "UUID of the message to be updated. Cannot be empty.", example = "6914e47d-2f0a-4deb-a712-12e7801e13e8", required = true) @PathVariable("id") UUID id) {
log.debug("API::Updating message with UUID: " + id);
return new ResponseEntity<>(new MessageResponse(userService.saveMessageFromApi(id, newMessage)), HttpStatus.OK);
}
@Operation(summary = "Delete a message", description = "Delete a users existing message", tags = {"messages"}, security = @SecurityRequirement(name = "JWT Authentication"))
@ApiResponses(value = {
@ApiResponse(responseCode = "200", description = "Success", content = @Content(schema = @Schema(implementation = ApiStatusResponse.class))),
@ApiResponse(responseCode = "400", description = "Bad Request", content = @Content(schema = @Schema(implementation = ApiStatusResponse.class))),
@ApiResponse(responseCode = "401", description = "Unauthorized", content = @Content(schema = @Schema(implementation = ApiStatusResponse.class))),
@ApiResponse(responseCode = "403", description = "Forbidden", content = @Content(schema = @Schema(implementation = ApiStatusResponse.class))),
@ApiResponse(responseCode = "404", description = "Message Not Found", content = @Content(schema = @Schema(implementation = ApiStatusResponse.class)))
})
@DeleteMapping (value = {"/{id}"})
public ResponseEntity<ApiStatusResponse> deleteMessage(
@Parameter(description = "UUID of the message to be updated. Cannot be empty.", example = "6914e47d-2f0a-4deb-a712-12e7801e13e8", required = true) @PathVariable("id") UUID id) {
log.debug("API::Deleting message with UUID: " + id);
userService.deleteMessageById(id);
ApiStatusResponse apiStatusResponse = new ApiStatusResponse
.ApiResponseBuilder()
.withSuccess(true)
.atTime(LocalDateTime.now(ZoneOffset.UTC))
.build();
return new ResponseEntity<>(apiStatusResponse, HttpStatus.OK);
}
@Operation(summary = "Get users unread message count", description = "Get a users unread message count by their UUID", tags = {"message"}, security = @SecurityRequirement(name = "JWT Authentication"))
@ApiResponses(value = {
@ApiResponse(responseCode = "200", description = "Success", content = @Content(schema = @Schema(implementation = MessageResponse.class))),
@ApiResponse(responseCode = "400", description = "Bad Request", content = @Content(schema = @Schema(implementation = ApiStatusResponse.class))),
@ApiResponse(responseCode = "401", description = "Unauthorized", content = @Content(schema = @Schema(implementation = ApiStatusResponse.class))),
@ApiResponse(responseCode = "403", description = "Forbidden", content = @Content(schema = @Schema(implementation = ApiStatusResponse.class))),
@ApiResponse(responseCode = "404", description = "User Not Found", content = @Content(schema = @Schema(implementation = ApiStatusResponse.class))),
@ApiResponse(responseCode = "500", description = "Internal Server Error", content = @Content(schema = @Schema(implementation = ApiStatusResponse.class))),
})
@GetMapping(value = {"/unread-count/{id}"}, produces = {"application/json"})
public ResponseEntity<Long> getUnreadMessageCountById(
@Parameter(description = "UUID of the user to find messages for. Cannot be empty.", example = "32e7db01-86bc-4687-9ecb-d79b265ac14f", required = true) @PathVariable("id") UUID id) {
log.debug("API::Retrieving unread message count for user with UUID: " + id);
if (!userService.userExistsById(id))
throw new MessageNotFoundException("User with id: " + id.toString() + " does not exist.");
return new ResponseEntity<Long>(userService.getUserUnreadMessageCount(id), HttpStatus.OK);
}
}
| 13,848 | Java | .java | fortify-presales/IWA-Java | 10 | 24 | 4 | 2020-04-01T10:45:53Z | 2024-03-21T08:50:49Z | 4f7bc5b022c51ab9c3cb9bac6609aed1b09f932922e87606dba5adac6bb14e54 | [] | [
1127,
310,
719,
11847,
3718,
2013,
327,
78,
9639,
46,
603,
2657,
327,
72,
46,
244,
55,
53,
55,
53,
50,
55,
53,
55,
55,
18168,
33028,
575,
1611,
451,
2840,
25094,
603,
1369,
3477,
458,
3760,
2951,
63,
863,
902,
14081,
580,
480,
52,
290,
5370,
310,
580,
1549,
341,
5974,
451,
341,
6994,
6153,
5062,
1196,
641,
9582,
829,
310,
341,
7834,
3870,
7120,
49,
3173,
1522,
244,
56,
451,
341,
1196,
49,
575,
310,
327,
288,
1390,
2489,
46,
1364,
6146,
1522,
51,
603,
1369,
3477,
458,
2744,
347,
341,
9850,
708,
580,
1118,
545,
6386,
49,
310,
1294,
4213,
2979,
9345,
64,
2895,
4462,
341,
4506,
14319,
451,
310,
7934,
575,
8114,
4800,
418,
7848,
7763,
51,
244,
2819,
341,
310,
6994,
6153,
5062,
1196,
456,
1851,
4261,
51,
603,
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
6153,
5062,
1196,
310,
7979,
642,
477,
3477,
51,
244,
1691,
666,
49,
2337,
350,
544,
574,
1516,
51,
10627,
51,
1107,
52,
4205,
28699,
222,
1975,
222,
222,
1337,
785,
51,
9465,
7753,
51,
2783,
51,
1256,
51,
13503,
64,
222,
222,
485,
785,
51,
9465,
7753,
51,
2783,
51,
6272,
51,
1375,
51,
1193,
1123,
64,
222,
485,
785,
51,
9465,
7753,
51,
2783,
51,
6272,
51,
2003,
51,
2570,
1551,
1416,
64,
222,
485,
785,
51,
9465,
7753,
51,
2783,
51,
2244,
51,
1193,
64,
222,
485,
785,
51,
9465,
7753,
51,
2783,
51,
3918,
51,
1193,
9941,
64,
222,
485,
785,
51,
9465,
7753,
51,
2783,
51,
2140,
51,
29567,
64,
222,
485,
785,
51,
9465,
7753,
51,
2783,
51,
6272,
51,
2003,
51,
1193,
1416,
64,
222,
485,
3377,
51,
13166,
51,
123,
56,
51,
116,
321,
51,
8839,
51,
3786,
64,
222,
485,
3377,
51,
13166,
51,
123,
56,
51,
116,
321,
51,
8839,
51,
3026,
64,
222,
485,
3377,
51,
13166,
51,
123,
56,
51,
116,
321,
51,
8839,
51,
3453,
51,
1280,
3710,
64,
222,
485,
3377,
51,
13166,
51,
123,
56,
51,
116,
321,
51,
8839,
51,
3453,
51,
1795,
64,
222,
485,
3377,
51,
13166,
51,
123,
56,
51,
116,
321,
51,
8839,
51,
3453,
51,
3710,
64,
222,
485,
3377,
51,
13166,
51,
123,
56,
51,
116,
321,
51,
8839,
51,
18248,
51,
30630,
64,
222,
485,
3377,
51,
13166,
51,
123,
56,
51,
116,
321,
51,
8839,
51,
18248,
51,
2570,
22592,
64,
222,
485,
3377,
51,
13166,
51,
123,
56,
51,
116,
321,
51,
8839,
51,
4386,
51,
5196,
18059,
64,
222,
485,
3377,
51,
13166,
51,
123,
56,
51,
116,
321,
51,
8839,
51,
3981,
51,
2649,
64,
222,
485,
1105,
51,
12172,
57,
111,
51,
19580,
64,
222,
485,
1105,
51,
4140,
51,
9580,
51,
5802,
51,
4341,
51,
10789,
64,
222,
485,
1105,
51,
4140,
51,
544,
51,
25631,
64,
222,
485,
1105,
51,
4140,
51,
544,
51,
17999,
64,
222,
485,
1105,
51,
4140,
51,
544,
51,
1416,
2234,
64,
222,
485,
1105,
51,
4140,
51,
1857,
51,
2555,
51,
4341,
7737,
222,
222,
485,
3698,
51,
6523,
51,
2320,
64,
222,
485,
1401,
51,
1021,
51,
31890,
64,
222,
485,
1401,
51,
1021,
51,
6778,
3468,
64,
222,
485,
1401,
51,
1058,
51,
739,
64,
222,
485,
1401,
51,
1058,
51,
7575,
64,
222,
485,
1401,
51,
1058,
51,
7604,
64,
222,
485,
1401,
51,
1058,
51,
2255,
51,
16862,
64,
222,
222,
1350,
222,
338,
418,
12437,
33895,
5940,
456,
23966,
1492,
2490,
51,
222,
338,
222,
338,
496,
2133,
48499,
418,
51,
43311,
222,
588,
222,
69,
29577,
222,
69,
15701,
45,
872,
299,
2450,
1256,
52,
123,
56,
52,
6296,
678,
222,
69,
2649,
45,
444,
299,
332,
6296,
411,
3066,
299,
332,
1259,
1492,
7392,
678,
222,
942,
462,
8065,
1193,
1934,
320,
465,
964,
924,
1175,
1105,
51,
12172,
57,
111,
51,
3716,
1264,
299,
21818,
51,
10588,
45,
2570,
1193,
1934,
51,
842,
312,
465,
496,
10789,
303,
964,
35090,
33285,
64,
465,
496,
3786,
45,
1386,
299,
332,
4882,
120,
5231,
829,
11688,
45,
120,
5742,
3066,
299,
332,
13094,
3252,
829,
925,
7323,
42,
2224,
411,
5957,
299,
3479,
1454,
3933,
7669,
299,
496,
5196,
18059,
45,
444,
299,
332,
21362,
14430,
2152,
303,
496,
2570,
22592,
45,
872,
299,
320,
343,
496,
30630,
45,
2003,
1241,
299,
332,
55,
53,
53,
411,
3066,
299,
332,
4424,
411,
1813,
299,
496,
1795,
45,
977,
299,
496,
1280,
3710,
45,
3982,
299,
496,
3710,
45,
19364,
299,
4587,
1416,
51,
842,
31734,
343,
496,
30630,
45,
2003,
1241,
299,
332,
57,
53,
53,
411,
3066,
299,
332,
8421,
4463,
411,
1813,
299,
496,
1795,
45,
3982,
299,
496,
3710,
45,
19364,
299,
8065,
1551,
1416,
51,
842,
20131,
343,
496,
30630,
45,
2003,
1241,
299,
332,
57,
53,
54,
411,
3066,
299,
332,
21566,
411,
1813,
299,
496,
1795,
45,
3982,
299,
496,
3710,
45,
19364,
299,
8065,
1551,
1416,
51,
842,
20131,
343,
496,
30630,
45,
2003,
1241,
299,
332,
57,
53,
56,
411,
3066,
299,
332,
28611,
411,
1813,
299,
496,
1795,
45,
3982,
299,
496,
3710,
45,
19364,
299,
8065,
1551,
1416,
51,
842,
20131,
343,
496,
30630,
45,
2003,
1241,
299,
332,
58,
53,
53,
411,
3066,
299,
332,
4305,
4242,
3099,
411,
1813,
299,
496,
1795,
45,
3982,
299,
496,
3710,
45,
19364,
299,
8065,
1551,
1416,
51,
842,
20131,
303,
1809,
303,
496,
26521,
45,
872,
299,
320,
1033,
855,
20700,
299,
3479,
3180,
52,
1279,
15147,
303,
581,
22085,
65,
739,
65,
1193,
1416,
2023,
640,
6389,
1103,
23174,
45,
343,
496,
3026,
45,
2328,
299,
332,
13094,
45,
120,
46,
3252,
456,
5231,
391,
545,
2448,
7164,
496,
25461,
459,
7267,
678,
5663,
65,
671,
67,
16418,
49,
343,
496,
3026,
45,
2328,
299,
332,
3468,
451,
341,
8074,
3646,
51,
244,
53,
12005,
341,
1950,
3646,
7164,
496,
25461,
459,
2897,
678,
5663,
65,
3078,
67,
3413,
49,
343,
496,
3026,
45,
2328,
299,
332,
12739,
9233,
391,
461,
51,
906,
7123,
804,
6671,
458,
244,
58,
53,
7164,
496,
25461,
459,
3262,
678,
5663,
65,
3078,
67,
2741,
46,
320,
310,
1264,
51,
2824,
459,
2571,
422,
22141,
7200,
5231,
829,
11688,
45,
120,
13365,
310,
453,
4314,
63,
2075,
16418,
49,
3413,
480,
2741,
310,
434,
327,
7267,
51,
3591,
45,
7575,
51,
2970,
5183,
320,
343,
461,
22085,
51,
1273,
941,
20256,
45,
17999,
51,
16251,
100,
3275,
566,
1561,
45,
419,
33285,
51,
13912,
6389,
941,
2255,
365,
547,
657,
1130,
45,
1193,
1416,
422,
909,
46,
547,
657,
6190,
45,
16862,
51,
15341,
5086,
310,
339,
832,
320,
343,
461,
22085,
51,
1273,
941,
20256,
45,
17999,
51,
16251,
100,
3275,
566,
1561,
45,
419,
33285,
51,
13912,
6389,
941,
2255,
365,
547,
657,
1130,
45,
1193,
1416,
422,
909,
46,
547,
657,
6190,
45,
16862,
51,
15341,
5086,
310,
339,
303,
339,
465,
496,
3786,
45,
1386,
299,
332,
4882,
1492,
829,
4949,
411,
3066,
299,
332,
4882,
331,
1492,
829,
14286,
411,
5957,
299,
3479,
1454,
3933,
7669,
299,
496,
5196,
18059,
45,
444,
299,
332,
21362,
14430,
2152,
303,
496,
2570,
22592,
45,
872,
299,
320,
343,
496,
30630,
45,
2003,
1241,
299,
332,
55,
53,
53,
411,
3066,
299,
332,
4424,
411,
1813,
299,
496,
1795,
45,
3982,
299,
496,
3710,
45,
19364,
299,
4587,
1416,
51,
842,
20131,
343,
496,
30630,
45,
2003,
1241,
299,
332,
57,
53,
53,
411,
3066,
299,
332,
8421,
4463,
411,
1813,
299,
496,
1795,
45,
3982,
299,
496,
3710,
45,
19364,
299,
8065,
1551,
1416,
51,
842,
20131,
343,
496,
30630,
45,
2003,
1241,
299,
332,
57,
53,
54,
411,
3066,
299,
332,
21566,
411,
1813,
299,
496,
1795,
45,
3982,
299,
496,
3710,
45,
19364,
299,
8065,
1551,
1416,
51,
842,
20131,
343,
496,
30630,
45,
2003,
1241,
299,
332,
57,
53,
56,
411,
3066,
299,
332,
28611,
411,
1813,
299,
496,
1795,
45,
3982,
299,
496,
3710,
45,
19364,
299,
8065,
1551,
1416,
51,
842,
20131,
343,
496,
30630,
45,
2003,
1241,
299,
332,
57,
53,
57,
411,
3066,
299,
332,
1193,
3204,
5433,
411,
1813,
299,
496,
1795,
45,
3982,
299,
496,
3710,
45,
19364,
299,
8065,
1551,
1416,
51,
842,
20131,
343,
496,
30630,
45,
2003,
1241,
299,
332,
58,
53,
53,
411,
3066,
299,
332,
4305,
4242,
3099,
411,
1813,
299,
496,
1795,
45,
3982,
299,
496,
3710,
45,
19364,
299,
8065,
1551,
1416,
51,
842,
20131,
303,
1809,
303,
496,
26521,
45,
872,
299,
3479,
5274,
333,
3864,
855,
20700,
299,
244,
3479,
3180,
52,
1279,
15147,
303,
581,
22085,
65,
1193,
1416,
67,
40451,
3229,
45,
343,
496,
3026,
45,
2328,
299,
332,
7604,
451,
341,
1492,
391,
545,
2448,
51,
16794,
545,
3517,
4429,
2301,
299,
332,
59,
62,
54,
57,
106,
57,
60,
105,
50,
55,
107,
53,
102,
50,
57,
9518,
50,
102,
60,
54,
55,
50,
54,
55,
106,
60,
61,
53,
54,
106,
54,
56,
106,
61,
411,
2147,
299,
878,
46,
496,
25645,
459,
333,
678,
14286,
828,
46,
320,
310,
1264,
51,
2824,
459,
2571,
422,
22141,
7200,
1492,
642,
14286,
63,
332,
494,
828,
312,
310,
434,
1445,
36535,
51,
1454,
7544,
3229,
45,
333,
509,
343,
1440,
556,
4587,
9941,
459,
1193,
642,
828,
63,
332,
494,
828,
51,
3127,
365,
494,
332,
1976,
666,
2325,
5377,
310,
5663,
65,
1193,
67,
1492,
299,
33285,
51,
1828,
1193,
3229,
45,
333,
312,
310,
461,
1492,
51,
1130,
45,
872,
984,
556,
22085,
11530,
909,
4587,
1416,
45,
872,
490,
31961,
51,
2966,
3445,
26628,
45,
1710,
312,
303,
339,
465,
496,
3786,
45,
1386,
299,
332,
1940,
331,
556,
1492,
411,
3066,
299,
332,
25991,
331,
556,
1492,
456,
331,
1275,
411,
5957,
299,
3479,
6296,
3933,
7669,
299,
496,
5196,
18059,
45,
444,
299,
332,
21362,
14430,
2152,
303,
496,
2570,
22592,
45,
872,
299,
320,
343,
496,
30630,
45,
2003,
1241,
299,
332,
55,
53,
53,
411,
3066,
299,
332,
4424,
411,
1813,
299,
496,
1795,
45,
3982,
299,
496,
3710,
45,
19364,
299,
4587,
1416,
51,
842,
20131,
343,
496,
30630,
45,
2003,
1241,
299,
332,
57,
53,
53,
411,
3066,
299,
332,
8421,
4463,
411,
1813,
299,
496,
1795,
45,
3982,
299,
496,
3710,
45,
19364,
299,
8065,
1551,
1416,
51,
842,
20131,
343,
496,
30630,
45,
2003,
1241,
299,
332,
57,
53,
54,
411,
3066,
299,
332,
21566,
411,
1813,
299,
496,
1795,
45,
3982,
299,
496,
3710,
45,
19364,
299,
8065,
1551,
1416,
51,
842,
20131,
343,
496,
30630,
45,
2003,
1241,
299,
332,
57,
53,
56,
411,
3066,
299,
332,
28611,
411,
1813,
299,
496,
1795,
45,
3982,
299,
496,
3710,
45,
19364,
299,
8065,
1551,
1416,
51,
842,
20131,
343,
496,
30630,
45,
2003,
1241,
299,
332,
57,
53,
62,
411,
3066,
299,
332,
1193,
42363,
1300,
3064,
411,
1813,
299,
496,
1795,
45,
3982,
299,
496,
3710,
45,
19364,
299,
8065,
1551,
1416,
51,
842,
20131,
343,
496,
30630,
45,
2003,
1241,
299,
332,
58,
53,
53,
411,
3066,
299,
332,
4305,
4242,
3099,
411,
1813,
299,
496,
1795,
45,
3982,
299,
496,
3710,
45,
19364,
299,
8065,
1551,
1416,
51,
842,
20131,
303,
1809,
303,
496,
35827,
45,
872,
299,
320,
1033,
855,
20700,
299,
3479,
3180,
52,
1279,
3933,
16822,
120,
299,
3479,
3180,
52,
1279,
15147,
303,
496,
48434,
45,
25631,
51,
28035,
46,
303,
581,
22085,
65,
1193,
1416,
67,
1506,
1193,
45,
343,
496,
735,
51,
13166,
51,
123,
56,
51,
116,
321,
51,
8839,
51,
5173,
51,
21735,
45,
2328,
299,
7756,
496,
2320,
496,
21735,
4587,
1123,
556,
1193,
46,
320,
310,
1264,
51,
2824,
459,
2571,
422,
16607,
556,
1492,
63,
332,
494,
556,
1193,
51,
3127,
1052,
310,
461,
556,
22085,
11530,
909,
4587,
1416,
45,
36535,
51,
2882,
1193,
1811,
2570,
45,
1710,
49,
556,
1193,
3684,
31961,
51,
2966,
312,
303,
339,
465,
496,
3786,
45,
1386,
299,
332,
2346,
331,
1492,
411,
3066,
299,
332,
2346,
331,
4272,
1492,
411,
5957,
299,
3479,
6296,
3933,
7669,
299,
496,
5196,
18059,
45,
444,
299,
332,
21362,
14430,
2152,
303,
496,
2570,
22592,
45,
872,
299,
320,
343,
496,
30630,
45,
2003,
1241,
299,
332,
55,
53,
53,
411,
3066,
299,
332,
4424,
411,
1813,
299,
496,
1795,
45,
3982,
299,
496,
3710,
45,
19364,
299,
4587,
1416,
51,
842,
20131,
343,
496,
30630,
45,
2003,
1241,
299,
332,
57,
53,
53,
411,
3066,
299,
332,
8421,
4463,
411,
1813,
299,
496,
1795,
45,
3982,
299,
496,
3710,
45,
19364,
299,
8065,
1551,
1416,
51,
842,
20131,
343,
496,
30630,
45,
2003,
1241,
299,
332,
57,
53,
54,
411,
3066,
299,
332,
21566,
411,
1813,
299,
496,
1795,
45,
3982,
299,
496,
3710,
45,
19364,
299,
8065,
1551,
1416,
51,
842,
20131,
343,
496,
30630,
45,
2003,
1241,
299,
332,
57,
53,
56,
411,
3066,
299,
332,
28611,
411,
1813,
299,
496,
1795,
45,
3982,
299,
496,
3710,
45,
19364,
299,
8065,
1551,
1416,
51,
842,
20131,
343,
496,
30630,
45,
2003,
1241,
299,
332,
57,
53,
57,
411,
3066,
299,
332,
1193,
3204,
5433,
411,
1813,
299,
496,
1795,
45,
3982,
299,
496,
3710,
45,
19364,
299,
8065,
1551,
1416,
51,
842,
20131,
343,
496,
30630,
45,
2003,
1241,
299,
332,
58,
53,
53,
411,
3066,
299,
332,
4305,
4242,
3099,
411,
1813,
299,
496,
1795,
45,
3982,
299,
496,
3710,
45,
19364,
299,
8065,
1551,
1416,
51,
842,
20131,
303,
1809,
303,
496,
9278,
4815,
45,
872,
299,
3479,
5274,
333,
3864,
855,
20700,
299,
3479,
3180,
52,
1279,
3933,
16822,
120,
299,
3479,
3180,
52,
1279,
15147,
303,
581,
22085,
65,
1193,
1416,
67,
1991,
1193,
45,
343,
496,
735,
51,
13166,
51,
123,
56,
51,
116,
321,
51,
8839,
51,
5173,
51,
21735,
45,
2328,
299,
7756,
496,
2320,
496,
21735,
4587,
1123,
556,
1193,
49,
343,
496,
3026,
45,
2328,
299,
332,
7604,
451,
341,
1492,
391,
545,
4478,
51,
16794,
545,
3517,
4429,
2301,
299,
332,
59,
62,
54,
57,
106,
57,
60,
105,
50,
55,
107,
53,
102,
50,
57,
9518,
50,
102,
60,
54,
55,
50,
54,
55,
106,
60,
61,
53,
54,
106,
54,
56,
106,
61,
411,
2147,
299,
878,
46,
496,
25645,
459,
333,
678,
14286,
828,
46,
320,
310,
1264,
51,
2824,
459,
2571,
422,
29843,
1492,
642,
14286,
63,
332,
494,
828,
312,
310,
461,
556,
22085,
11530,
909,
4587,
1416,
45,
36535,
51,
2882,
1193,
1811,
2570,
45,
333,
49,
556,
1193,
3684,
31961,
51,
2966,
312,
303,
339,
465,
496,
3786,
45,
1386,
299,
332,
3422,
331,
1492,
411,
3066,
299,
332,
3422,
331,
4272,
4917,
1492,
411,
5957,
299,
3479,
6296,
3933,
7669,
299,
496,
5196,
18059,
45,
444,
299,
332,
21362,
14430,
2152,
303,
496,
2570,
22592,
45,
872,
299,
320,
343,
496,
30630,
45,
2003,
1241,
299,
332,
55,
53,
53,
411,
3066,
299,
332,
4424,
411,
1813,
299,
496,
1795,
45,
3982,
299,
496,
3710,
45,
19364,
299,
8065,
1551,
1416,
51,
842,
20131,
343,
496,
30630,
45,
2003,
1241,
299,
332,
57,
53,
53,
411,
3066,
299,
332,
8421,
4463,
411,
1813,
299,
496,
1795,
45,
3982,
299,
496,
3710,
45,
19364,
299,
8065,
1551,
1416,
51,
842,
20131,
343,
496,
30630,
45,
2003,
1241,
299,
332,
57,
53,
54,
411,
3066,
299,
332,
21566,
411,
1813,
299,
496,
1795,
45,
3982,
299,
496,
3710,
45,
19364,
299,
8065,
1551,
1416,
51,
842,
20131,
343,
496,
30630,
45,
2003,
1241,
299,
332,
57,
53,
56,
411,
3066,
299,
332,
28611,
411,
1813,
299,
496,
1795,
45,
3982,
299,
496,
3710,
45,
19364,
299,
8065,
1551,
1416,
51,
842,
20131,
343,
496,
30630,
45,
2003,
1241,
299,
332,
57,
53,
57,
411,
3066,
299,
332,
1193,
3204,
5433,
411,
1813,
299,
496,
1795,
45,
3982,
299,
496,
3710,
45,
19364,
299,
8065,
1551,
1416,
51,
842,
2636,
303,
1809,
303,
496,
3422,
4815,
327,
872,
299,
3479,
5274,
333,
3864,
1770,
303,
581,
22085,
65,
2570,
1551,
1416,
67,
3081,
1193,
45,
343,
496,
3026,
45,
2328,
299,
332,
7604,
451,
341,
1492,
391,
545,
4478,
51,
16794,
545,
3517,
4429,
2301,
299,
332,
59,
62,
54,
57,
106,
57,
60,
105,
50,
55,
107,
53,
102,
50,
57,
9518,
50,
102,
60,
54,
55,
50,
54,
55,
106,
60,
61,
53,
54,
106,
54,
56,
106,
61,
411,
2147,
299,
878,
46,
496,
25645,
459,
333,
678,
14286,
828,
46,
320,
310,
1264,
51,
2824,
459,
2571,
422,
36539,
1492,
642,
14286,
63,
332,
494,
828,
312,
310,
33285,
51,
2577,
1193,
3229,
45,
333,
312,
310,
8065,
1551,
1416,
4142,
1551,
1416,
299,
556,
8065,
1551,
1416,
419,
657,
30630,
1812,
365,
547,
657,
1814,
4424,
45,
1527,
46,
547,
657,
288,
1061,
45,
31890,
51,
2192,
45,
6778,
3468,
51,
15680,
509,
419,
657,
1848,
492,
310,
461,
556,
22085,
11530,
1256,
1551,
1416,
49,
31961,
51,
2966,
312,
303,
339,
465,
496,
3786,
45,
1386,
299,
332,
953,
4272,
49045,
1492,
2409,
411,
3066,
299,
332,
953,
331,
4272,
49045,
1492,
2409,
829,
3641,
14286,
411,
5957,
299,
3479,
1454,
3933,
7669,
299,
496,
5196,
18059,
45,
444,
299,
332,
21362,
14430,
2152,
303,
496,
2570,
22592,
45,
872,
299,
320,
343,
496,
30630,
45,
2003,
1241,
299,
332,
55,
53,
53,
411,
3066,
299,
332,
4424,
411,
1813,
299,
496,
1795,
45,
3982,
299,
496,
3710,
45,
19364,
299,
4587,
1416,
51,
842,
20131,
343,
496,
30630,
45,
2003,
1241,
299,
332,
57,
53,
53,
411,
3066,
299,
332,
8421,
4463,
411,
1813,
299,
496,
1795,
45,
3982,
299,
496,
3710,
45,
19364,
299,
8065,
1551,
1416,
51,
842,
20131,
343,
496,
30630,
45,
2003,
1241,
299,
332,
57,
53,
54,
411,
3066,
299,
332,
21566,
411,
1813,
299,
496,
1795,
45,
3982,
299,
496,
3710,
45,
19364,
299,
8065,
1551,
1416,
51,
842,
20131,
343,
496,
30630,
45,
2003,
1241,
299,
332,
57,
53,
56,
411,
3066,
299,
332,
28611,
411,
1813,
299,
496,
1795,
45,
3982,
299,
496,
3710,
45,
19364,
299,
8065,
1551,
1416,
51,
842,
20131,
343,
496,
30630,
45,
2003,
1241,
299,
332,
57,
53,
57,
411,
3066,
299,
332,
1259,
3204,
5433,
411,
1813,
299,
496,
1795,
45,
3982,
299,
496,
3710,
45,
19364,
299,
8065,
1551,
1416,
51,
842,
20131,
343,
496,
30630,
45,
2003,
1241,
299,
332,
58,
53,
53,
411,
3066,
299,
332,
4305,
4242,
3099,
411,
1813,
299,
496,
1795,
45,
3982,
299,
496,
3710,
45,
19364,
299,
8065,
1551,
1416,
51,
842,
20131,
303,
1809,
303,
496,
26521,
45,
872,
299,
3479,
52,
45841,
50,
1016,
5274,
333,
3864,
855,
20700,
299,
244,
3479,
3180,
52,
1279,
15147,
303,
581,
22085,
65,
3967,
67,
640,
1079,
870,
1193,
1552,
3229,
45,
343,
496,
3026,
45,
2328,
299,
332,
7604,
451,
341,
1275,
391,
2309,
5231,
456,
51,
16794,
545,
3517,
4429,
2301,
299,
332,
56,
55,
106,
60,
1219,
53,
54,
50,
61,
59,
3611,
50,
57,
59,
61,
60,
50,
62,
31646,
50,
105,
60,
62,
103,
55,
59,
58,
348,
54,
57,
107,
411,
2147,
299,
878,
46,
496,
25645,
459,
333,
678,
14286,
828,
46,
320,
310,
1264,
51,
2824,
459,
2571,
422,
22141,
7200,
49045,
1492,
2409,
456,
1275,
642,
14286,
63,
332,
494,
828,
312,
310,
434,
1445,
36535,
51,
514,
7544,
3229,
45,
333,
509,
343,
1440,
556,
4587,
9941,
459,
1259,
642,
828,
63,
332,
494,
828,
51,
3127,
365,
494,
332,
1976,
666,
2325,
5377,
310,
461,
556,
22085,
65,
3967,
1579,
36535,
51,
12226,
1079,
870,
1193,
1552,
45,
333,
490,
31961,
51,
2966,
312,
465,
339,
222,
222,
130,
3067
] | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,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
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 3,273 | true | 68.623628 | true | true |
ShowLocationActivity.java | /FileExtraction/Java_unseen/iNPUTmice_ShareLocationPlugin/src/main/java/eu/siacs/conversations/sharelocation/ShowLocationActivity.java | package eu.siacs.conversations.sharelocation;
import android.app.ActionBar;
import android.app.Activity;
import android.content.Intent;
import android.location.Location;
import android.os.Bundle;
import android.view.MenuItem;
import android.view.View;
import android.widget.Button;
import com.google.android.gms.common.ConnectionResult;
import com.google.android.gms.common.api.GoogleApiClient;
import com.google.android.gms.location.LocationListener;
import com.google.android.gms.location.LocationRequest;
import com.google.android.gms.location.LocationServices;
import com.google.android.gms.maps.CameraUpdateFactory;
import com.google.android.gms.maps.GoogleMap;
import com.google.android.gms.maps.MapFragment;
import com.google.android.gms.maps.OnMapReadyCallback;
import com.google.android.gms.maps.model.LatLng;
import com.google.android.gms.maps.model.MarkerOptions;
public class ShowLocationActivity extends Activity implements OnMapReadyCallback {
private GoogleMap mGoogleMap;
private LatLng mLocation;
private String mLocationName;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
ActionBar actionBar = getActionBar();
if (actionBar != null) {
actionBar.setDisplayHomeAsUpEnabled(true);
}
setContentView(R.layout.show_locaction_activity);
MapFragment fragment = (MapFragment) getFragmentManager().findFragmentById(R.id.map_fragment);
fragment.getMapAsync(this);
}
@Override
public boolean onOptionsItemSelected(MenuItem item) {
switch (item.getItemId()) {
case android.R.id.home:
finish();
return true;
}
return super.onOptionsItemSelected(item);
}
@Override
protected void onResume() {
super.onResume();
Intent intent = getIntent();
this.mLocationName = intent != null ? intent.getStringExtra("name") : null;
if (intent != null && intent.hasExtra("longitude") && intent.hasExtra("latitude")) {
double longitude = intent.getDoubleExtra("longitude",0);
double latitude = intent.getDoubleExtra("latitude",0);
this.mLocation = new LatLng(latitude,longitude);
if (this.mGoogleMap != null) {
markAndCenterOnLocation(this.mLocation, this.mLocationName);
}
}
}
@Override
protected void onPause() {
super.onPause();
}
@Override
public void onMapReady(GoogleMap googleMap) {
this.mGoogleMap = googleMap;
this.mGoogleMap.setMyLocationEnabled(true);
if (this.mLocation != null) {
this.markAndCenterOnLocation(this.mLocation,this.mLocationName);
}
}
private void markAndCenterOnLocation(LatLng location, String name) {
this.mGoogleMap.clear();
MarkerOptions options = new MarkerOptions();
options.position(location);
if (name != null) {
options.title(name);
this.mGoogleMap.addMarker(options).showInfoWindow();
} else {
this.mGoogleMap.addMarker(options);
}
this.mGoogleMap.animateCamera(CameraUpdateFactory.newLatLngZoom(location, Config.DEFAULT_ZOOM));
}
}
| 2,943 | Java | .java | iNPUTmice/ShareLocationPlugin | 35 | 10 | 9 | 2015-03-07T22:00:16Z | 2017-11-30T01:06:04Z | 3e8572e33fcb70a7fb13038d7033ddbdecfb27bde394416b9d6da50e4f83a7a4 | [] | [
1337,
14604,
51,
3450,
16286,
51,
487,
24690,
51,
6085,
2665,
64,
222,
222,
485,
2616,
51,
745,
51,
21540,
64,
222,
485,
2616,
51,
745,
51,
3697,
64,
222,
485,
2616,
51,
1304,
51,
8770,
64,
222,
485,
2616,
51,
2665,
51,
2941,
64,
222,
485,
2616,
51,
519,
51,
4775,
64,
222,
485,
2616,
51,
1090,
51,
6362,
64,
222,
485,
2616,
51,
1090,
51,
1089,
64,
222,
485,
2616,
51,
3872,
51,
1732,
64,
222,
222,
485,
785,
51,
2193,
51,
4048,
51,
21263,
51,
2297,
51,
2815,
1413,
64,
222,
485,
785,
51,
2193,
51,
4048,
51,
21263,
51,
2297,
51,
1256,
51,
7740,
25248,
64,
222,
485,
785,
51,
2193,
51,
4048,
51,
21263,
51,
2665,
51,
2941,
2239,
64,
222,
485,
785,
51,
2193,
51,
4048,
51,
21263,
51,
2665,
51,
2941,
1123,
64,
222,
485,
785,
51,
2193,
51,
4048,
51,
21263,
51,
2665,
51,
2941,
5466,
64,
222,
485,
785,
51,
2193,
51,
4048,
51,
21263,
51,
8222,
51,
7139,
2346,
2232,
64,
222,
485,
785,
51,
2193,
51,
4048,
51,
21263,
51,
8222,
51,
7740,
1225,
64,
222,
485,
785,
51,
2193,
51,
4048,
51,
21263,
51,
8222,
51,
1225,
5763,
64,
222,
485,
785,
51,
2193,
51,
4048,
51,
21263,
51,
8222,
51,
1501,
1225,
10590,
3309,
64,
222,
485,
785,
51,
2193,
51,
4048,
51,
21263,
51,
8222,
51,
1184,
51,
29888,
64,
222,
485,
785,
51,
2193,
51,
4048,
51,
21263,
51,
8222,
51,
1184,
51,
11126,
2045,
64,
222,
222,
942,
462,
7933,
2941,
3697,
2041,
13478,
4584,
2715,
1225,
10590,
3309,
320,
499,
221,
2072,
6608,
1225,
364,
7740,
1225,
64,
222,
221,
2072,
19240,
18346,
364,
2941,
64,
222,
221,
2072,
910,
364,
2941,
577,
64,
499,
221,
69,
1806,
222,
221,
5332,
782,
16456,
45,
4775,
19902,
46,
320,
376,
221,
5282,
51,
20217,
45,
20731,
312,
1332,
221,
21540,
2146,
2914,
299,
640,
21540,
492,
376,
221,
344,
327,
1160,
2914,
882,
762,
46,
320,
374,
221,
1160,
2914,
51,
489,
3948,
4637,
1482,
1405,
4006,
45,
1527,
312,
376,
221,
130,
1332,
221,
489,
22931,
45,
87,
51,
3106,
51,
2276,
100,
901,
1160,
100,
6904,
312,
376,
221,
1225,
5763,
10299,
299,
327,
1225,
5763,
46,
640,
36955,
941,
1828,
5763,
3229,
45,
87,
51,
333,
51,
1130,
100,
9883,
312,
376,
221,
9883,
51,
46575,
2997,
45,
597,
312,
222,
221,
130,
499,
221,
69,
1806,
222,
221,
942,
1922,
563,
2045,
31264,
45,
6362,
1641,
46,
320,
376,
221,
4651,
327,
1113,
51,
12244,
625,
1177,
320,
374,
221,
1749,
2616,
51,
87,
51,
333,
51,
2849,
63,
621,
221,
11332,
492,
621,
221,
620,
878,
64,
376,
221,
130,
376,
221,
620,
2615,
51,
286,
2045,
31264,
45,
1113,
312,
222,
221,
130,
499,
221,
69,
1806,
222,
221,
5332,
782,
563,
14986,
365,
320,
376,
221,
5282,
51,
286,
14986,
492,
376,
221,
8770,
8935,
299,
640,
8770,
492,
1332,
221,
597,
51,
114,
2941,
577,
299,
8935,
882,
762,
1037,
8935,
51,
7080,
9124,
459,
444,
678,
518,
762,
64,
1332,
221,
344,
327,
13990,
882,
762,
979,
8935,
51,
2057,
9124,
459,
17202,
678,
979,
8935,
51,
2057,
9124,
459,
16487,
2152,
320,
374,
221,
2640,
20471,
299,
8935,
51,
37754,
9124,
459,
17202,
411,
53,
312,
374,
221,
2640,
20913,
299,
8935,
51,
37754,
9124,
459,
16487,
411,
53,
312,
374,
221,
597,
51,
114,
2941,
299,
556,
19240,
18346,
45,
16487,
49,
17202,
312,
374,
221,
344,
327,
597,
51,
114,
7740,
1225,
882,
762,
46,
320,
621,
221,
1846,
2199,
7067,
1501,
2941,
45,
597,
51,
114,
2941,
49,
477,
51,
114,
2941,
577,
312,
374,
221,
130,
376,
221,
130,
222,
221,
130,
499,
221,
69,
1806,
222,
221,
5332,
782,
563,
13456,
365,
320,
376,
221,
5282,
51,
286,
13456,
492,
222,
221,
130,
499,
221,
69,
1806,
222,
221,
942,
782,
563,
1225,
10590,
45,
7740,
1225,
9293,
1225,
46,
320,
376,
221,
597,
51,
114,
7740,
1225,
299,
9293,
1225,
64,
376,
221,
597,
51,
114,
7740,
1225,
51,
489,
3781,
2941,
4006,
45,
1527,
312,
376,
221,
344,
327,
597,
51,
114,
2941,
882,
762,
46,
320,
374,
221,
597,
51,
1846,
2199,
7067,
1501,
2941,
45,
597,
51,
114,
2941,
49,
597,
51,
114,
2941,
577,
312,
376,
221,
130,
222,
221,
130,
499,
221,
2072,
782,
3658,
2199,
7067,
1501,
2941,
45,
29888,
3913,
49,
910,
655,
46,
320,
376,
221,
597,
51,
114,
7740,
1225,
51,
3830,
492,
376,
221,
11126,
2045,
2089,
299,
556,
32573,
2045,
492,
376,
221,
2200,
51,
2719,
45,
2665,
312,
376,
221,
344,
327,
444,
882,
762,
46,
320,
374,
221,
2200,
51,
1333,
45,
444,
312,
374,
221,
597,
51,
114,
7740,
1225,
51,
688,
11126,
45,
2200,
566,
2276,
1139,
1684,
492,
376,
221,
130,
832,
320,
374,
221,
597,
51,
114,
7740,
1225,
51,
688,
11126,
45,
2200,
312,
376,
221,
130,
376,
221,
597,
51,
114,
7740,
1225,
51,
15580,
7139,
45,
7139,
2346,
2232,
51,
909,
29888,
12750,
45,
2665,
49,
3395,
51,
5815,
100,
28761,
5664,
894,
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,
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framework/src/org/xframium/page/keyWord/step/transform/ValueTransformationFactory.java | package org.xframium.page.keyWord.step.transform;
import java.util.HashMap;
import java.util.Map;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class ValueTransformationFactory
{
private Pattern transformationPattern = Pattern.compile( "(\\w*)\\{([^\\}]*)\\}" );
private static ValueTransformationFactory singleton = new ValueTransformationFactory();
private Map<String,ValueTransformation> vMap = new HashMap<String,ValueTransformation>( 20 );
private ValueTransformationFactory()
{
vMap.put( "default", new DefaultTransformation() );
vMap.put( "secure", new SecureTransformation() );
}
public static ValueTransformationFactory instance()
{
return singleton;
}
public String transformValue( String value )
{
Matcher m = transformationPattern.matcher( value );
if ( m.matches() )
{
ValueTransformation vT = vMap.get( m.group( 1 ) );
if ( vT == null )
return value;
return vT.transformValue( m.group( 2 ) );
}
else
return value;
}
public String wrapValue( String value, String transformMethod )
{
return transformMethod + "{" + vMap.get( transformMethod ).wrapValue(value) + "}";
}
public static void main( String[] args ) throws Exception
{
if ( args.length != 2 )
{
System.err.println( "[unwrap/wrap method] [value]" );
System.exit( -1 );
}
if ( !args[ 0 ].equals( "unwrap" ) )
System.out.println( instance().wrapValue( args[ 1 ], args[ 0 ] ) );
else if ( args[ 0 ].equals( "unwrap" ) )
System.out.println( instance().transformValue( args[ 1 ] ) );
else
{
System.err.println( "[unwrap/wrap method] [value]" );
System.exit( -1 );
}
}
}
| 1,935 | Java | .java | xframium/xframium-java | 12 | 18 | 2 | 2016-05-15T00:32:34Z | 2019-02-16T12:40:47Z | 0fbdc03449abfd0f8fe67776381a57eded978bb8ba1f1b062d345b4f6b72dfcf | [] | [
1337,
1105,
51,
2088,
4344,
3892,
51,
1655,
51,
697,
5108,
51,
3023,
51,
3824,
64,
222,
222,
485,
1401,
51,
1058,
51,
8263,
64,
222,
485,
1401,
51,
1058,
51,
1225,
64,
222,
485,
1401,
51,
1058,
51,
7927,
51,
11947,
64,
222,
485,
1401,
51,
1058,
51,
7927,
51,
5526,
64,
222,
222,
942,
462,
3867,
21435,
2232,
222,
128,
303,
964,
13405,
17532,
5526,
299,
13405,
51,
7028,
45,
11616,
1750,
124,
3746,
1750,
128,
24175,
1750,
10608,
3746,
1750,
3864,
1110,
303,
964,
924,
3867,
21435,
2232,
25118,
299,
556,
3867,
21435,
2232,
492,
303,
964,
3531,
65,
671,
49,
899,
21435,
67,
373,
1225,
299,
556,
8329,
65,
671,
49,
899,
21435,
1579,
244,
55,
53,
1110,
2205,
964,
3867,
21435,
2232,
365,
303,
320,
310,
373,
1225,
51,
543,
45,
332,
1555,
411,
556,
4119,
21435,
365,
1110,
310,
373,
1225,
51,
543,
45,
332,
11847,
411,
556,
25525,
21435,
365,
1110,
303,
339,
465,
581,
924,
3867,
21435,
2232,
1998,
365,
303,
320,
310,
461,
25118,
64,
303,
339,
2205,
581,
910,
4549,
899,
45,
910,
804,
848,
303,
320,
310,
33077,
364,
299,
17532,
5526,
51,
16943,
45,
804,
1110,
2776,
434,
327,
364,
51,
8936,
365,
848,
310,
320,
295,
221,
899,
21435,
373,
89,
299,
373,
1225,
51,
390,
45,
364,
51,
1382,
45,
244,
54,
848,
1110,
295,
221,
344,
327,
373,
89,
630,
762,
848,
10604,
221,
620,
804,
64,
343,
461,
373,
89,
51,
3824,
899,
45,
364,
51,
1382,
45,
244,
55,
848,
1110,
310,
339,
310,
832,
343,
461,
804,
64,
303,
339,
2205,
581,
910,
9817,
899,
45,
910,
804,
49,
910,
4549,
1885,
848,
303,
320,
310,
461,
4549,
1885,
494,
332,
2382,
494,
373,
1225,
51,
390,
45,
4549,
1885,
6824,
4087,
899,
45,
872,
46,
494,
332,
15499,
303,
339,
2205,
581,
924,
782,
2594,
45,
910,
1197,
2194,
848,
2589,
3284,
303,
320,
310,
434,
327,
2194,
51,
1340,
882,
244,
55,
848,
310,
320,
343,
1189,
51,
549,
51,
3962,
45,
7195,
7523,
52,
4087,
1431,
98,
447,
872,
12035,
1110,
343,
1189,
51,
4788,
45,
449,
54,
1110,
310,
339,
2776,
434,
327,
673,
1150,
96,
244,
53,
13833,
3591,
45,
332,
7523,
39,
848,
848,
343,
1189,
51,
560,
51,
3962,
45,
1998,
941,
4087,
899,
45,
2194,
96,
244,
54,
2520,
244,
2194,
96,
244,
53,
1499,
848,
1110,
310,
832,
434,
327,
2194,
96,
244,
53,
13833,
3591,
45,
332,
7523,
39,
848,
848,
343,
1189,
51,
560,
51,
3962,
45,
1998,
941,
3824,
899,
45,
2194,
96,
244,
54,
1499,
848,
1110,
310,
832,
310,
320,
343,
1189,
51,
549,
51,
3962,
45,
7195,
7523,
52,
4087,
1431,
98,
447,
872,
12035,
1110,
343,
1189,
51,
4788,
45,
449,
54,
1110,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 474 | true | 57.364341 | true | true |
ServerPushWithDiffTypes.java | /FileExtraction/Java_unseen/corretto_corretto-11/test/jdk/java/net/httpclient/http2/ServerPushWithDiffTypes.java | /*
* Copyright (c) 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
* @library /test/lib server
* @build jdk.test.lib.net.SimpleSSLContext
* @modules java.base/sun.net.www.http
* java.net.http/jdk.internal.net.http.common
* java.net.http/jdk.internal.net.http.frame
* java.net.http/jdk.internal.net.http.hpack
* @run testng/othervm
* -Djdk.internal.httpclient.debug=true
* -Djdk.httpclient.HttpClient.log=errors,requests,responses
* ServerPushWithDiffTypes
*/
import java.io.*;
import java.net.*;
import java.nio.ByteBuffer;
import java.nio.file.*;
import java.net.http.*;
import java.net.http.HttpResponse.BodyHandler;
import java.net.http.HttpResponse.PushPromiseHandler;
import java.net.http.HttpResponse.BodySubscriber;
import java.net.http.HttpResponse.BodySubscribers;
import java.util.*;
import java.util.concurrent.*;
import java.util.function.BiPredicate;
import org.testng.annotations.Test;
import static java.nio.charset.StandardCharsets.UTF_8;
import static org.testng.Assert.assertEquals;
public class ServerPushWithDiffTypes {
static Map<String,String> PUSH_PROMISES = Map.of(
"/x/y/z/1", "the first push promise body",
"/x/y/z/2", "the second push promise body",
"/x/y/z/3", "the third push promise body",
"/x/y/z/4", "the fourth push promise body",
"/x/y/z/5", "the fifth push promise body",
"/x/y/z/6", "the sixth push promise body",
"/x/y/z/7", "the seventh push promise body",
"/x/y/z/8", "the eighth push promise body",
"/x/y/z/9", "the ninth push promise body"
);
@Test
public static void test() throws Exception {
Http2TestServer server = null;
try {
server = new Http2TestServer(false, 0);
Http2Handler handler =
new ServerPushHandler("the main response body",
PUSH_PROMISES);
server.addHandler(handler, "/");
server.start();
int port = server.getAddress().getPort();
System.err.println("Server listening on port " + port);
HttpClient client = HttpClient.newHttpClient();
// use multi-level path
URI uri = new URI("http://localhost:" + port + "/foo/a/b/c");
HttpRequest request = HttpRequest.newBuilder(uri).GET().build();
ConcurrentMap<HttpRequest,CompletableFuture<HttpResponse<BodyAndType<?>>>>
results = new ConcurrentHashMap<>();
PushPromiseHandler<BodyAndType<?>> bh = PushPromiseHandler.of(
(pushRequest) -> new BodyAndTypeHandler(pushRequest), results);
CompletableFuture<HttpResponse<BodyAndType<?>>> cf =
client.sendAsync(request, new BodyAndTypeHandler(request), bh);
results.put(request, cf);
cf.join();
assertEquals(results.size(), PUSH_PROMISES.size() + 1);
for (HttpRequest r : results.keySet()) {
URI u = r.uri();
BodyAndType<?> body = results.get(r).get().body();
String result;
// convert all body types to String for easier comparison
if (body.type() == String.class) {
result = (String)body.getBody();
} else if (body.type() == byte[].class) {
byte[] bytes = (byte[])body.getBody();
result = new String(bytes, UTF_8);
} else if (Path.class.isAssignableFrom(body.type())) {
Path path = (Path)body.getBody();
result = new String(Files.readAllBytes(path), UTF_8);
} else {
throw new AssertionError("Unknown:" + body.type());
}
System.err.printf("%s -> %s\n", u.toString(), result.toString());
String expected = PUSH_PROMISES.get(r.uri().getPath());
if (expected == null)
expected = "the main response body";
assertEquals(result, expected);
}
} finally {
server.stop();
}
}
interface BodyAndType<T> {
Class<T> type();
T getBody();
}
static final Path WORK_DIR = Paths.get(".");
static class BodyAndTypeHandler implements BodyHandler<BodyAndType<?>> {
int count;
final HttpRequest request;
BodyAndTypeHandler(HttpRequest request) {
this.request = request;
}
@Override
public HttpResponse.BodySubscriber<BodyAndType<?>> apply(HttpResponse.ResponseInfo info) {
int whichType = count++ % 3; // real world may base this on the request metadata
switch (whichType) {
case 0: // String
return new BodyAndTypeSubscriber(BodySubscribers.ofString(UTF_8));
case 1: // byte[]
return new BodyAndTypeSubscriber(BodySubscribers.ofByteArray());
case 2: // Path
URI u = request.uri();
Path path = Paths.get(WORK_DIR.toString(), u.getPath());
try {
Files.createDirectories(path.getParent());
} catch (IOException ee) {
throw new UncheckedIOException(ee);
}
return new BodyAndTypeSubscriber(BodySubscribers.ofFile(path));
default:
throw new AssertionError("Unexpected " + whichType);
}
}
}
static class BodyAndTypeSubscriber<T>
implements HttpResponse.BodySubscriber<BodyAndType<T>>
{
private static class BodyAndTypeImpl<T> implements BodyAndType<T> {
private final Class<T> type;
private final T body;
public BodyAndTypeImpl(Class<T> type, T body) { this.type = type; this.body = body; }
@Override public Class<T> type() { return type; }
@Override public T getBody() { return body; }
}
private final BodySubscriber<?> bodySubscriber;
private final CompletableFuture<BodyAndType<T>> cf;
BodyAndTypeSubscriber(BodySubscriber bodySubscriber) {
this.bodySubscriber = bodySubscriber;
cf = new CompletableFuture<>();
bodySubscriber.getBody().whenComplete(
(r,t) -> cf.complete(new BodyAndTypeImpl(r.getClass(), r)));
}
@Override
public void onSubscribe(Flow.Subscription subscription) {
bodySubscriber.onSubscribe(subscription);
}
@Override
public void onNext(List<ByteBuffer> item) {
bodySubscriber.onNext(item);
}
@Override
public void onError(Throwable throwable) {
bodySubscriber.onError(throwable);
cf.completeExceptionally(throwable);
}
@Override
public void onComplete() {
bodySubscriber.onComplete();
}
@Override
public CompletionStage<BodyAndType<T>> getBody() {
return cf;
}
}
// --- server push handler ---
static class ServerPushHandler implements Http2Handler {
private final String mainResponseBody;
private final Map<String,String> promises;
public ServerPushHandler(String mainResponseBody,
Map<String,String> promises)
throws Exception
{
Objects.requireNonNull(promises);
this.mainResponseBody = mainResponseBody;
this.promises = promises;
}
public void handle(Http2TestExchange exchange) throws IOException {
System.err.println("Server: handle " + exchange);
try (InputStream is = exchange.getRequestBody()) {
is.readAllBytes();
}
if (exchange.serverPushAllowed()) {
pushPromises(exchange);
}
// response data for the main response
try (OutputStream os = exchange.getResponseBody()) {
byte[] bytes = mainResponseBody.getBytes(UTF_8);
exchange.sendResponseHeaders(200, bytes.length);
os.write(bytes);
}
}
static final BiPredicate<String,String> ACCEPT_ALL = (x, y) -> true;
private void pushPromises(Http2TestExchange exchange) throws IOException {
URI requestURI = exchange.getRequestURI();
for (Map.Entry<String,String> promise : promises.entrySet()) {
URI uri = requestURI.resolve(promise.getKey());
InputStream is = new ByteArrayInputStream(promise.getValue().getBytes(UTF_8));
Map<String,List<String>> map = Map.of("X-Promise", List.of(promise.getKey()));
HttpHeaders headers = HttpHeaders.of(map, ACCEPT_ALL);
// TODO: add some check on headers, maybe
exchange.serverPush(uri, headers, is);
}
System.err.println("Server: All pushes sent");
}
}
}
| 10,228 | Java | .java | corretto/corretto-11 | 662 | 105 | 31 | 2019-02-11T20:13:52Z | 2024-05-09T07:01:40Z | ebef5004e8ad605470bf8c1cfa261218d82efbacf6625c36767952076e869fce | [] | [
1127,
222,
338,
2657,
327,
104,
46,
244,
55,
53,
54,
61,
49,
17980,
480,
52,
290,
2840,
25094,
51,
3381,
4760,
5225,
51,
222,
338,
4103,
2387,
23740,
1895,
35234,
8995,
2387,
11988,
1895,
8968,
10961,
30441,
51,
222,
338,
222,
338,
1369,
1361,
458,
3760,
2951,
64,
863,
902,
14081,
580,
480,
52,
290,
5370,
580,
222,
338,
1549,
341,
5974,
451,
341,
6994,
6153,
5062,
1196,
1522,
244,
55,
1773,
49,
641,
222,
338,
9582,
829,
341,
7834,
3870,
7120,
51,
222,
338,
222,
338,
1369,
1361,
458,
2744,
347,
341,
9850,
708,
580,
1118,
545,
6386,
49,
1294,
4213,
222,
338,
2979,
9345,
64,
2895,
4462,
341,
4506,
14319,
451,
7934,
575,
222,
338,
8114,
4800,
418,
7848,
7763,
51,
244,
2819,
341,
6994,
6153,
5062,
1196,
222,
338,
1522,
244,
55,
456,
1851,
4261,
327,
102,
1948,
458,
5976,
347,
341,
7621,
822,
708,
222,
338,
20854,
297,
4850,
477,
1361,
566,
222,
338,
222,
338,
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
6153,
5062,
1196,
1522,
222,
338,
244,
55,
7979,
642,
477,
1409,
64,
434,
666,
49,
2886,
391,
341,
7834,
3870,
7120,
49,
222,
338,
6367,
4345,
244,
58,
54,
34113,
1277,
49,
33316,
26912,
49,
25006,
49,
13083,
244,
53,
55,
54,
54,
53,
50,
54,
56,
53,
54,
15067,
51,
222,
338,
222,
338,
5304,
7272,
17980,
49,
244,
58,
53,
53,
17980,
27004,
3094,
49,
4777,
21100,
2432,
6868,
49,
10562,
244,
62,
57,
53,
59,
58,
15067,
222,
338,
575,
7739,
19955,
51,
11116,
51,
527,
434,
863,
1868,
5408,
2490,
575,
1178,
1364,
222,
338,
10034,
51,
222,
588,
222,
222,
1127,
222,
338,
496,
881,
222,
338,
496,
5261,
536,
881,
52,
1379,
2160,
222,
338,
496,
1848,
614,
4532,
51,
881,
51,
1379,
51,
1317,
51,
5302,
10087,
1237,
222,
338,
496,
3490,
1401,
51,
1460,
52,
9886,
51,
1317,
51,
1516,
51,
544,
222,
338,
2052,
1401,
51,
1317,
51,
544,
52,
12461,
51,
3269,
51,
1317,
51,
544,
51,
2297,
222,
338,
2052,
1401,
51,
1317,
51,
544,
52,
12461,
51,
3269,
51,
1317,
51,
544,
51,
1763,
222,
338,
2052,
1401,
51,
1317,
51,
544,
52,
12461,
51,
3269,
51,
1317,
51,
544,
51,
109,
2440,
222,
338,
496,
1967,
913,
1159,
52,
2476,
3166,
222,
338,
981,
449,
73,
12461,
51,
3269,
51,
544,
1598,
51,
2824,
66,
1527,
222,
338,
981,
449,
73,
12461,
51,
544,
1598,
51,
15120,
51,
769,
66,
4312,
49,
9701,
49,
18248,
222,
338,
981,
4242,
8101,
1569,
7849,
2439,
222,
588,
222,
222,
485,
1401,
51,
735,
7737,
222,
485,
1401,
51,
1317,
7737,
222,
485,
1401,
51,
11780,
51,
21042,
64,
222,
485,
1401,
51,
11780,
51,
781,
7737,
222,
485,
1401,
51,
1317,
51,
544,
7737,
222,
485,
1401,
51,
1317,
51,
544,
51,
15703,
51,
3069,
1985,
64,
222,
485,
1401,
51,
1317,
51,
544,
51,
15703,
51,
8101,
7969,
1985,
64,
222,
485,
1401,
51,
1317,
51,
544,
51,
15703,
51,
3069,
16671,
64,
222,
485,
1401,
51,
1317,
51,
544,
51,
15703,
51,
3069,
1736,
22526,
64,
222,
485,
1401,
51,
1058,
7737,
222,
485,
1401,
51,
1058,
51,
8349,
7737,
222,
485,
1401,
51,
1058,
51,
1144,
51,
16853,
12690,
64,
222,
222,
485,
1105,
51,
27237,
51,
8839,
51,
1024,
64,
222,
485,
924,
1401,
51,
11780,
51,
15220,
51,
44137,
51,
6266,
100,
61,
64,
222,
485,
924,
1105,
51,
27237,
51,
3285,
51,
4993,
64,
222,
222,
942,
462,
4242,
8101,
1569,
7849,
2439,
320,
465,
924,
3531,
65,
671,
49,
671,
67,
466,
13897,
100,
2398,
5899,
21177,
299,
3531,
51,
1048,
45,
343,
2450,
125,
52,
126,
52,
127,
52,
54,
411,
332,
1402,
1950,
5849,
10335,
3376,
411,
343,
2450,
125,
52,
126,
52,
127,
52,
55,
411,
332,
1402,
3118,
5849,
10335,
3376,
411,
343,
2450,
125,
52,
126,
52,
127,
52,
56,
411,
332,
1402,
10999,
5849,
10335,
3376,
411,
343,
2450,
125,
52,
126,
52,
127,
52,
57,
411,
332,
1402,
36635,
5849,
10335,
3376,
411,
343,
2450,
125,
52,
126,
52,
127,
52,
58,
411,
332,
1402,
315,
23315,
5849,
10335,
3376,
411,
343,
2450,
125,
52,
126,
52,
127,
52,
59,
411,
332,
1402,
18834,
368,
5849,
10335,
3376,
411,
343,
2450,
125,
52,
126,
52,
127,
52,
60,
411,
332,
1402,
427,
672,
109,
5849,
10335,
3376,
411,
343,
2450,
125,
52,
126,
52,
127,
52,
61,
411,
332,
1402,
503,
28311,
5849,
10335,
3376,
411,
343,
2450,
125,
52,
126,
52,
127,
52,
62,
411,
332,
1402,
329,
285,
368,
5849,
10335,
3376,
39,
303,
1110,
465,
496,
1024,
303,
581,
924,
782,
913,
365,
2589,
3284,
320,
310,
4699,
55,
1024,
2077,
2160,
299,
762,
64,
310,
1614,
320,
343,
2160,
299,
556,
4699,
55,
1024,
2077,
45,
1886,
49,
244,
53,
312,
343,
4699,
55,
1985,
4908,
299,
547,
556,
4242,
8101,
1985,
459,
1402,
2594,
1808,
3376,
411,
10657,
466,
13897,
100,
2398,
5899,
21177,
312,
343,
2160,
51,
688,
1985,
45,
4543,
49,
2450,
742,
343,
2160,
51,
1384,
492,
343,
648,
2618,
299,
2160,
51,
31228,
941,
39812,
492,
343,
1189,
51,
549,
51,
3962,
459,
2077,
20488,
563,
2618,
332,
494,
2618,
312,
1083,
20184,
2060,
299,
20184,
51,
909,
15120,
492,
343,
453,
813,
6973,
50,
2675,
1536,
343,
7417,
8219,
299,
556,
7417,
459,
544,
574,
5112,
1941,
494,
2618,
494,
2450,
4003,
52,
102,
52,
103,
52,
104,
742,
343,
26279,
1343,
299,
26279,
51,
22020,
45,
3469,
566,
2804,
941,
1848,
492,
1083,
22219,
1225,
65,
14283,
49,
1000,
28622,
65,
15703,
65,
3069,
2199,
638,
1907,
17090,
547,
3300,
299,
556,
22219,
8263,
6984,
343,
15071,
7969,
1985,
65,
3069,
2199,
638,
31785,
42668,
299,
15071,
7969,
1985,
51,
1048,
45,
547,
327,
2036,
1123,
46,
984,
556,
14536,
2199,
638,
1985,
45,
2036,
1123,
490,
3300,
312,
1083,
40364,
65,
15703,
65,
3069,
2199,
638,
1907,
11978,
16233,
299,
547,
2060,
51,
2729,
2997,
45,
1375,
49,
556,
14536,
2199,
638,
1985,
45,
1375,
490,
42668,
312,
343,
3300,
51,
543,
45,
1375,
49,
16233,
312,
343,
16233,
51,
2548,
492,
1083,
3803,
45,
4333,
51,
911,
1046,
466,
13897,
100,
2398,
5899,
21177,
51,
911,
365,
494,
244,
54,
312,
1083,
456,
327,
14283,
559,
518,
3300,
51,
23585,
1177,
320,
419,
7417,
1064,
299,
559,
51,
3469,
492,
419,
14536,
2199,
638,
11667,
3376,
299,
3300,
51,
390,
45,
119,
566,
390,
941,
1561,
492,
419,
910,
1074,
64,
419,
453,
4511,
1187,
3376,
3756,
391,
910,
456,
12103,
14872,
419,
434,
327,
1561,
51,
700,
365,
630,
910,
51,
842,
46,
320,
547,
1074,
299,
327,
671,
46,
1561,
51,
25386,
492,
419,
339,
832,
434,
327,
1561,
51,
700,
365,
630,
3447,
42121,
842,
46,
320,
547,
3447,
1197,
3534,
299,
327,
2278,
9798,
1561,
51,
25386,
492,
547,
1074,
299,
556,
910,
45,
3669,
49,
9360,
100,
61,
312,
419,
339,
832,
434,
327,
1233,
51,
842,
51,
45162,
45,
1561,
51,
700,
5183,
320,
547,
5404,
1536,
299,
327,
1233,
46,
1561,
51,
25386,
492,
547,
1074,
299,
556,
910,
45,
3852,
51,
870,
1947,
3656,
45,
1005,
490,
9360,
100,
61,
312,
419,
339,
832,
320,
547,
1440,
556,
34845,
459,
5850,
1941,
494,
3376,
51,
700,
1052,
419,
339,
2125,
1189,
51,
549,
51,
2963,
4923,
120,
984,
925,
120,
97,
115,
411,
1064,
51,
3127,
1046,
1074,
51,
3127,
1052,
419,
910,
2816,
299,
466,
13897,
100,
2398,
5899,
21177,
51,
390,
45,
119,
51,
3469,
941,
17676,
1052,
419,
434,
327,
3156,
630,
762,
46,
547,
2816,
299,
332,
1402,
2594,
1808,
3376,
884,
419,
3803,
45,
1285,
49,
2816,
312,
343,
339,
310,
339,
8312,
320,
343,
2160,
51,
4074,
492,
310,
339,
303,
339,
465,
2586,
14536,
2199,
638,
65,
89,
67,
320,
310,
1727,
65,
89,
67,
847,
492,
310,
413,
640,
3069,
492,
303,
339,
465,
924,
1175,
5404,
19474,
100,
3217,
299,
33757,
51,
390,
459,
5377,
465,
924,
462,
14536,
2199,
638,
1985,
4584,
14536,
1985,
65,
3069,
2199,
638,
31785,
320,
310,
648,
2409,
64,
310,
1175,
26279,
1343,
64,
603,
14536,
2199,
638,
1985,
45,
14283,
1343,
46,
320,
343,
477,
51,
1375,
299,
1343,
64,
310,
339,
603,
496,
1806,
310,
581,
17857,
51,
3069,
16671,
65,
3069,
2199,
638,
31785,
4894,
45,
15703,
51,
1416,
1139,
3116,
46,
320,
343,
648,
1532,
638,
299,
2409,
1065,
925,
244,
56,
64,
244,
453,
4033,
5810,
1648,
1712,
477,
563,
341,
1343,
5057,
343,
3593,
327,
7916,
638,
46,
320,
419,
1152,
244,
53,
63,
453,
910,
547,
461,
556,
14536,
2199,
638,
16671,
45,
3069,
1736,
22526,
51,
1048,
671,
45,
6266,
100,
61,
894,
419,
1152,
244,
54,
63,
453,
3447,
1197,
547,
461,
556,
14536,
2199,
638,
16671,
45,
3069,
1736,
22526,
51,
1048,
12561,
1052,
419,
1152,
244,
55,
63,
453,
5404,
547,
7417,
1064,
299,
1343,
51,
3469,
492,
547,
5404,
1536,
299,
33757,
51,
390,
45,
8729,
100,
3217,
51,
3127,
1046,
1064,
51,
17676,
1052,
547,
1614,
320,
733,
11105,
51,
1315,
26054,
45,
1005,
51,
18777,
1052,
547,
339,
2385,
327,
6860,
26899,
46,
320,
733,
1440,
556,
1703,
7156,
6860,
45,
1310,
312,
547,
339,
547,
461,
556,
14536,
2199,
638,
16671,
45,
3069,
1736,
22526,
51,
1048,
991,
45,
1005,
894,
419,
1263,
63,
547,
1440,
556,
34845,
459,
10202,
332,
494,
1532,
638,
312,
343,
339,
310,
339,
303,
339,
465,
924,
462,
14536,
2199,
638,
16671,
65,
89,
67,
310,
4584,
17857,
51,
3069,
16671,
65,
3069,
2199,
638,
65,
89,
2023,
303,
320,
310,
964,
924,
462,
14536,
2199,
638,
3499,
65,
89,
67,
4584,
14536,
2199,
638,
65,
89,
67,
320,
343,
964,
1175,
1727,
65,
89,
67,
847,
64,
343,
964,
1175,
413,
3376,
64,
343,
581,
14536,
2199,
638,
3499,
45,
1359,
65,
89,
67,
847,
49,
413,
3376,
46,
320,
477,
51,
700,
299,
847,
64,
477,
51,
1561,
299,
3376,
64,
339,
343,
496,
1806,
581,
1727,
65,
89,
67,
847,
365,
320,
461,
847,
64,
339,
343,
496,
1806,
581,
413,
640,
3069,
365,
320,
461,
3376,
64,
339,
310,
339,
603,
964,
1175,
14536,
16671,
11667,
3376,
16671,
64,
310,
964,
1175,
40364,
65,
3069,
2199,
638,
65,
89,
2023,
16233,
64,
603,
14536,
2199,
638,
16671,
45,
3069,
16671,
3376,
16671,
46,
320,
343,
477,
51,
1561,
16671,
299,
3376,
16671,
64,
343,
16233,
299,
556,
40364,
6984,
343,
3376,
16671,
51,
25386,
941,
6045,
7375,
45,
547,
327,
119,
49,
121,
46,
984,
16233,
51,
5916,
45,
909,
14536,
2199,
638,
3499,
45,
119,
51,
9699,
1046,
559,
4254,
310,
339,
603,
496,
1806,
310,
581,
782,
563,
15981,
45,
4078,
51,
8861,
10772,
46,
320,
343,
3376,
16671,
51,
286,
15981,
45,
10740,
312,
310,
339,
603,
496,
1806,
310,
581,
782,
563,
3364,
45,
739,
65,
21042,
67,
1641,
46,
320,
343,
3376,
16671,
51,
45872,
45,
1113,
312,
310,
339,
603,
496,
1806,
310,
581,
782,
25217,
45,
14080,
24466,
46,
320,
343,
3376,
16671,
51,
29856,
45,
35451,
312,
343,
16233,
51,
5916,
1002,
1266,
45,
35451,
312,
310,
339,
603,
496,
1806,
310,
581,
782,
46972,
365,
320,
343,
3376,
16671,
51,
47681,
492,
310,
339,
603,
496,
1806,
310,
581,
32825,
9589,
65,
3069,
2199,
638,
65,
89,
2023,
640,
3069,
365,
320,
343,
461,
16233,
64,
310,
339,
303,
339,
465,
453,
5351,
2160,
5849,
4908,
5351,
303,
924,
462,
4242,
8101,
1985,
4584,
4699,
55,
1985,
320,
603,
964,
1175,
910,
2594,
14511,
64,
310,
964,
1175,
3531,
65,
671,
49,
671,
67,
34680,
64,
603,
581,
4242,
8101,
1985,
45,
671,
2594,
14511,
49,
786,
3531,
65,
671,
49,
671,
67,
34680,
46,
343,
2589,
3284,
310,
320,
343,
14592,
51,
33197,
45,
42736,
312,
343,
477,
51,
1850,
14511,
299,
2594,
14511,
64,
343,
477,
51,
42736,
299,
34680,
64,
310,
339,
603,
581,
782,
2902,
45,
2233,
55,
1024,
11900,
15053,
46,
2589,
6300,
320,
343,
1189,
51,
549,
51,
3962,
459,
2077,
63,
2902,
332,
494,
15053,
312,
343,
1614,
327,
6989,
458,
299,
15053,
51,
390,
21735,
1177,
320,
419,
458,
51,
870,
1947,
3656,
492,
343,
339,
1083,
434,
327,
11435,
51,
1805,
8101,
12764,
1177,
320,
419,
5849,
48682,
45,
11435,
312,
343,
339,
1083,
453,
1808,
727,
456,
341,
2594,
1808,
343,
1614,
327,
8783,
2355,
299,
15053,
51,
390,
14511,
1177,
320,
419,
3447,
1197,
3534,
299,
2594,
14511,
51,
19682,
45,
6266,
100,
61,
312,
419,
15053,
51,
2729,
1416,
6273,
45,
55,
53,
53,
49,
3534,
51,
1340,
312,
419,
2355,
51,
1838,
45,
3669,
312,
343,
339,
310,
339,
603,
924,
1175,
19547,
12690,
65,
671,
49,
671,
67,
13864,
9610,
100,
2335,
299,
327,
125,
49,
553,
46,
984,
878,
64,
603,
964,
782,
5849,
48682,
45,
2233,
55,
1024,
11900,
15053,
46,
2589,
6300,
320,
343,
7417,
1343,
6344,
299,
15053,
51,
22565,
6344,
492,
343,
456,
327,
1225,
51,
2717,
65,
671,
49,
671,
67,
10335,
518,
34680,
51,
24338,
1177,
320,
419,
7417,
8219,
299,
1343,
6344,
51,
5292,
45,
12534,
51,
11728,
1052,
419,
18994,
458,
299,
556,
45230,
45,
12534,
51,
6693,
941,
19682,
45,
6266,
100,
61,
894,
419,
3531,
65,
671,
49,
739,
65,
671,
2023,
2010,
299,
3531,
51,
1048,
459,
93,
50,
7969,
411,
1701,
51,
1048,
45,
12534,
51,
11728,
5086,
419,
4699,
6273,
4839,
299,
4699,
6273,
51,
1048,
45,
1130,
49,
13864,
9610,
100,
2335,
312,
419,
453,
4314,
63,
1035,
1649,
1524,
563,
4839,
49,
8784,
419,
15053,
51,
1805,
8101,
45,
3469,
49,
4839,
49,
458,
312,
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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
]
] | 2,314 | true | 58.154087 | true | true |
Packet20NamedEntitySpawn.java | /FileExtraction/Java_unseen/CarbonNeuron_AIBot/src/ovh/tgrhavoc/aibot/protocol/v61/packets/Packet20NamedEntitySpawn.java | /*******************************************************************************
* Copyright (C) 2015 Jordan Dalton (jordan.8474@gmail.com)
*
* 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 ovh.tgrhavoc.aibot.protocol.v61.packets;
import java.io.*;
import ovh.tgrhavoc.aibot.IntHashMap;
import ovh.tgrhavoc.aibot.protocol.*;
import ovh.tgrhavoc.aibot.world.entity.WatchableObject;
public class Packet20NamedEntitySpawn extends AbstractPacket implements ReadablePacket {
public int entityId;
public String name;
public int xPosition;
public int yPosition;
public int zPosition;
public byte rotation;
public byte pitch;
public int currentItem;
public IntHashMap<WatchableObject> data;
public Packet20NamedEntitySpawn() {
}
@Override
public void readData(DataInputStream in) throws IOException {
entityId = in.readInt();
name = readString(in, 16);
xPosition = in.readInt();
yPosition = in.readInt();
zPosition = in.readInt();
rotation = in.readByte();
pitch = in.readByte();
currentItem = in.readShort();
data = readWatchableObjects(in);
}
@Override
public int getId() {
return 20;
}
}
| 1,937 | Java | .java | CarbonNeuron/AIBot | 42 | 15 | 1 | 2016-04-07T00:10:03Z | 2019-09-25T14:45:28Z | faf10fcc52b6e2f979861c262c432eb4c9f7af912810b9797e2e02fdbed51775 | [] | [
28683,
222,
338,
281,
2657,
327,
72,
46,
244,
55,
53,
54,
58,
990,
46580,
493,
298,
955,
327,
111,
46580,
51,
61,
57,
60,
57,
69,
7265,
51,
527,
46,
222,
338,
222,
338,
281,
1369,
3477,
458,
3760,
2951,
64,
863,
902,
14081,
580,
480,
52,
290,
5370,
222,
338,
281,
580,
1549,
341,
5974,
451,
341,
6994,
6153,
5062,
1196,
641,
9582,
829,
222,
338,
281,
341,
7834,
3870,
7120,
64,
3173,
1522,
244,
55,
451,
341,
1196,
49,
575,
222,
338,
281,
327,
288,
1390,
2489,
46,
1364,
6146,
1522,
51,
222,
338,
222,
338,
281,
1369,
3477,
458,
2744,
347,
341,
9850,
708,
580,
1118,
545,
6386,
49,
222,
338,
281,
1294,
4213,
2979,
9345,
64,
2895,
4462,
341,
4506,
14319,
451,
222,
338,
281,
7934,
575,
8114,
4800,
418,
7848,
7763,
51,
244,
2819,
341,
222,
338,
281,
6994,
6153,
5062,
1196,
456,
1851,
4261,
51,
222,
338,
222,
338,
281,
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
6153,
5062,
1196,
7979,
222,
338,
281,
642,
477,
3477,
64,
434,
666,
49,
2886,
391,
341,
7834,
3870,
7120,
49,
6367,
4345,
222,
338,
665,
58,
54,
34113,
22321,
49,
33316,
26912,
49,
25006,
49,
13083,
244,
53,
55,
54,
54,
53,
50,
54,
56,
53,
54,
15067,
51,
222,
13533,
13214,
222,
1337,
356,
12766,
51,
121,
791,
3125,
561,
51,
102,
947,
385,
51,
5732,
51,
123,
59,
54,
51,
29980,
64,
222,
222,
485,
1401,
51,
735,
7737,
222,
222,
485,
356,
12766,
51,
121,
791,
3125,
561,
51,
102,
947,
385,
51,
1438,
8263,
64,
222,
485,
356,
12766,
51,
121,
791,
3125,
561,
51,
102,
947,
385,
51,
5732,
7737,
222,
485,
356,
12766,
51,
121,
791,
3125,
561,
51,
102,
947,
385,
51,
5879,
51,
2244,
51,
9416,
46407,
64,
222,
222,
942,
462,
18706,
55,
53,
11061,
2234,
16354,
2041,
7406,
6839,
4584,
4858,
463,
6839,
320,
222,
221,
942,
648,
4436,
625,
64,
222,
221,
942,
910,
655,
64,
499,
221,
942,
648,
837,
2746,
64,
222,
221,
942,
648,
553,
2746,
64,
222,
221,
942,
648,
1308,
2746,
64,
222,
221,
942,
3447,
11436,
64,
222,
221,
942,
3447,
22795,
64,
499,
221,
942,
648,
1565,
1114,
64,
222,
221,
942,
2871,
8263,
65,
9416,
46407,
67,
727,
64,
499,
221,
942,
18706,
55,
53,
11061,
2234,
16354,
365,
320,
222,
221,
130,
499,
221,
69,
1806,
222,
221,
942,
782,
1511,
768,
45,
768,
6989,
347,
46,
2589,
6300,
320,
376,
221,
44873,
299,
347,
51,
33798,
492,
376,
221,
444,
299,
1511,
671,
45,
285,
49,
244,
54,
59,
312,
376,
221,
125,
2746,
299,
347,
51,
33798,
492,
376,
221,
126,
2746,
299,
347,
51,
33798,
492,
376,
221,
127,
2746,
299,
347,
51,
33798,
492,
376,
221,
11863,
299,
347,
51,
870,
3945,
492,
376,
221,
20644,
299,
347,
51,
870,
3945,
492,
376,
221,
47872,
299,
347,
51,
870,
6881,
492,
376,
221,
624,
299,
1511,
9416,
463,
6699,
45,
285,
312,
222,
221,
130,
499,
221,
69,
1806,
222,
221,
942,
648,
19832,
365,
320,
376,
221,
620,
244,
55,
53,
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,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1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 530 | true | 65.307176 | true | true |
GregtechMetaTileEntity_IndustrialMultiMachine.java | /FileExtraction/Java_unseen/GTNewHorizons_GTplusplus/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/processing/GregtechMetaTileEntity_IndustrialMultiMachine.java | package gtPlusPlus.xmod.gregtech.common.tileentities.machines.multi.processing;
import static com.gtnewhorizon.structurelib.structure.StructureUtility.ofBlock;
import static com.gtnewhorizon.structurelib.structure.StructureUtility.onElementPass;
import static com.gtnewhorizon.structurelib.structure.StructureUtility.transpose;
import static gregtech.api.enums.GT_HatchElement.Energy;
import static gregtech.api.enums.GT_HatchElement.InputBus;
import static gregtech.api.enums.GT_HatchElement.InputHatch;
import static gregtech.api.enums.GT_HatchElement.Maintenance;
import static gregtech.api.enums.GT_HatchElement.Muffler;
import static gregtech.api.enums.GT_HatchElement.OutputBus;
import static gregtech.api.enums.GT_HatchElement.OutputHatch;
import static gregtech.api.util.GT_StructureUtility.buildHatchAdder;
import static gregtech.api.util.GT_Utility.filterValidMTEs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.List;
import java.util.stream.Stream;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.entity.player.EntityPlayerMP;
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.util.EnumChatFormatting;
import net.minecraft.util.StatCollector;
import net.minecraft.world.World;
import net.minecraftforge.common.util.ForgeDirection;
import net.minecraftforge.fluids.FluidStack;
import com.gtnewhorizon.structurelib.alignment.constructable.ISurvivalConstructable;
import com.gtnewhorizon.structurelib.structure.IStructureDefinition;
import com.gtnewhorizon.structurelib.structure.ISurvivalBuildEnvironment;
import com.gtnewhorizon.structurelib.structure.StructureDefinition;
import gregtech.api.enums.TAE;
import gregtech.api.interfaces.IIconContainer;
import gregtech.api.interfaces.metatileentity.IMetaTileEntity;
import gregtech.api.interfaces.tileentity.IGregTechTileEntity;
import gregtech.api.logic.ProcessingLogic;
import gregtech.api.metatileentity.implementations.GT_MetaTileEntity_Hatch_Input;
import gregtech.api.metatileentity.implementations.GT_MetaTileEntity_Hatch_InputBus;
import gregtech.api.metatileentity.implementations.GT_MetaTileEntity_Hatch_MultiInput;
import gregtech.api.recipe.RecipeMap;
import gregtech.api.recipe.RecipeMaps;
import gregtech.api.recipe.check.CheckRecipeResult;
import gregtech.api.recipe.check.CheckRecipeResultRegistry;
import gregtech.api.util.GT_LanguageManager;
import gregtech.api.util.GT_Multiblock_Tooltip_Builder;
import gregtech.api.util.GT_Recipe;
import gregtech.api.util.GT_Utility;
import gregtech.common.tileentities.machines.GT_MetaTileEntity_Hatch_CraftingInput_ME;
import gregtech.common.tileentities.machines.GT_MetaTileEntity_Hatch_Input_ME;
import gregtech.common.tileentities.machines.IDualInputHatch;
import gregtech.common.tileentities.machines.IDualInputInventory;
import gtPlusPlus.core.block.ModBlocks;
import gtPlusPlus.core.lib.CORE;
import gtPlusPlus.core.recipe.common.CI;
import gtPlusPlus.core.util.minecraft.ItemUtils;
import gtPlusPlus.core.util.minecraft.PlayerUtils;
import gtPlusPlus.xmod.gregtech.api.metatileentity.implementations.GT_MetaTileEntity_Hatch_Solidifier;
import gtPlusPlus.xmod.gregtech.api.metatileentity.implementations.base.GregtechMeta_MultiBlockBase;
import gtPlusPlus.xmod.gregtech.common.blocks.textures.TexturesGtBlock;
import mcp.mobius.waila.api.IWailaConfigHandler;
import mcp.mobius.waila.api.IWailaDataAccessor;
public class GregtechMetaTileEntity_IndustrialMultiMachine extends
GregtechMeta_MultiBlockBase<GregtechMetaTileEntity_IndustrialMultiMachine> implements ISurvivalConstructable {
protected int mInternalMode = 0;
private static final int MODE_COMPRESSOR = 0;
private static final int MODE_LATHE = 1;
private static final int MODE_MAGNETIC = 2;
private static final int MODE_FERMENTER = 3;
private static final int MODE_FLUIDEXTRACT = 4;
private static final int MODE_EXTRACTOR = 5;
private static final int MODE_LASER = 6;
private static final int MODE_AUTOCLAVE = 7;
private static final int MODE_FLUIDSOLIDIFY = 8;
private static final int[][] MODE_MAP = new int[][] { { 0, 1, 2 }, { 3, 4, 5 }, { 6, 7, 8 } };
public static final String[] aToolTipNames = new String[9];
private int mCasing;
private static IStructureDefinition<GregtechMetaTileEntity_IndustrialMultiMachine> STRUCTURE_DEFINITION = null;
static {
for (int id = 0; id < 9; id++) {
RecipeMap<?> recipeMap = getRecipeMap(id);
if (recipeMap != null) {
String aNEI = GT_LanguageManager.getTranslation(getRecipeMap(id).unlocalizedName);
aToolTipNames[id] = aNEI != null ? aNEI : "BAD NEI NAME (Report to Github)";
}
}
}
public GregtechMetaTileEntity_IndustrialMultiMachine(final int aID, final String aName,
final String aNameRegional) {
super(aID, aName, aNameRegional);
}
public GregtechMetaTileEntity_IndustrialMultiMachine(final String aName) {
super(aName);
}
@Override
public IMetaTileEntity newMetaEntity(final IGregTechTileEntity aTileEntity) {
return new GregtechMetaTileEntity_IndustrialMultiMachine(this.mName);
}
@Override
public String getMachineType() {
return "Nine in One";
}
@Override
protected GT_Multiblock_Tooltip_Builder createTooltip() {
String[] aBuiltStrings = new String[3];
aBuiltStrings[0] = aToolTipNames[0] + ", " + aToolTipNames[1] + ", " + aToolTipNames[2];
aBuiltStrings[1] = aToolTipNames[3] + ", " + aToolTipNames[4] + ", " + aToolTipNames[5];
aBuiltStrings[2] = aToolTipNames[6] + ", " + aToolTipNames[7] + ", " + aToolTipNames[8];
GT_Multiblock_Tooltip_Builder tt = new GT_Multiblock_Tooltip_Builder();
tt.addMachineType(getMachineType()).addInfo("Controller Block for the Industrial Multi-Machine")
.addInfo("250% faster than using single block machines of the same voltage")
.addInfo("Only uses 80% of the EU/t normally required").addInfo("Processes two items per voltage tier")
.addInfo(
"Machine Type: Metal - " + EnumChatFormatting.YELLOW
+ aBuiltStrings[0]
+ EnumChatFormatting.RESET)
.addInfo(
"Machine Type: Fluid - " + EnumChatFormatting.YELLOW
+ aBuiltStrings[1]
+ EnumChatFormatting.RESET)
.addInfo(
"Machine Type: Misc - " + EnumChatFormatting.YELLOW
+ aBuiltStrings[2]
+ EnumChatFormatting.RESET)
.addInfo("Read Multi-Machine Manual for extra information")
.addInfo(
EnumChatFormatting.AQUA + "You can use Solidifier Hatch to solidify multiple liquids."
+ EnumChatFormatting.RESET)
.addPollutionAmount(getPollutionPerSecond(null)).addSeparator().beginStructureBlock(3, 3, 3, true)
.addController("Front Center").addCasingInfoMin("Multi-Use Casings", 6, false)
.addInputBus("Any Casing", 1).addOutputBus("Any Casing", 1).addInputHatch("Any Casing", 1)
.addOutputHatch("Any Casing", 1).addEnergyHatch("Any Casing", 1).addMaintenanceHatch("Any Casing", 1)
.addMufflerHatch("Any Casing", 1).toolTipFinisher(CORE.GT_Tooltip_Builder.get());
return tt;
}
@Override
public IStructureDefinition<GregtechMetaTileEntity_IndustrialMultiMachine> getStructureDefinition() {
if (STRUCTURE_DEFINITION == null) {
STRUCTURE_DEFINITION = StructureDefinition.<GregtechMetaTileEntity_IndustrialMultiMachine>builder()
.addShape(
mName,
transpose(
new String[][] { { "CCC", "CCC", "CCC" }, { "C~C", "C-C", "CCC" },
{ "CCC", "CCC", "CCC" }, }))
.addElement(
'C',
buildHatchAdder(GregtechMetaTileEntity_IndustrialMultiMachine.class)
.atLeast(InputBus, OutputBus, Maintenance, Energy, Muffler, InputHatch, OutputHatch)
.casingIndex(getTextureIndex()).dot(1).buildAndChain(
onElementPass(x -> ++x.mCasing, ofBlock(ModBlocks.blockCasings3Misc, 2))))
.build();
}
return STRUCTURE_DEFINITION;
}
@Override
public void construct(ItemStack stackSize, boolean hintsOnly) {
buildPiece(mName, stackSize, hintsOnly, 1, 1, 0);
}
@Override
public int survivalConstruct(ItemStack stackSize, int elementBudget, ISurvivalBuildEnvironment env) {
if (mMachine) return -1;
return survivialBuildPiece(mName, stackSize, 1, 1, 0, elementBudget, env, false, true);
}
@Override
public boolean checkMachine(IGregTechTileEntity aBaseMetaTileEntity, ItemStack aStack) {
mCasing = 0;
return checkPiece(mName, 1, 1, 0) && mCasing >= 6 && checkHatch();
}
@Override
protected IIconContainer getActiveOverlay() {
return TexturesGtBlock.Overlay_Machine_Controller_Advanced_Active;
}
@Override
protected IIconContainer getInactiveOverlay() {
return TexturesGtBlock.Overlay_Machine_Controller_Advanced;
}
@Override
protected int getCasingTextureId() {
return getTextureIndex();
}
@Override
public int getMaxParallelRecipes() {
return (2 * GT_Utility.getTier(this.getMaxInputVoltage()));
}
@Override
public int getMaxEfficiency(final ItemStack aStack) {
return 10000;
}
@Override
public int getPollutionPerSecond(final ItemStack aStack) {
if (mInternalMode == 0) {
return CORE.ConfigSwitches.pollutionPerSecondMultiIndustrialMultiMachine_ModeMetal;
} else if (mInternalMode == 1) {
return CORE.ConfigSwitches.pollutionPerSecondMultiIndustrialMultiMachine_ModeFluid;
} else { // config 2
return CORE.ConfigSwitches.pollutionPerSecondMultiIndustrialMultiMachine_ModeMisc;
}
}
public int getTextureIndex() {
return TAE.getIndexFromPage(2, 2);
}
@Override
public boolean explodesOnComponentBreak(final ItemStack aStack) {
return false;
}
private ItemStack getCircuit(ItemStack[] t) {
for (ItemStack j : t) {
if (j.getItem() == CI.getNumberedCircuit(0).getItem()) {
if (j.getItemDamage() >= 20 && j.getItemDamage() <= 22) {
return j;
}
}
}
return null;
}
private int getCircuitID(ItemStack circuit) {
int H = circuit.getItemDamage();
int T = (H == 20 ? 0 : (H == 21 ? 1 : (H == 22 ? 2 : -1)));
return MODE_MAP[this.mInternalMode][T];
}
@Override
public RecipeMap<?> getRecipeMap() {
return null;
}
@Nonnull
@Override
public Collection<RecipeMap<?>> getAvailableRecipeMaps() {
return Arrays.asList(
RecipeMaps.compressorRecipes,
RecipeMaps.latheRecipes,
RecipeMaps.polarizerRecipes,
RecipeMaps.fermentingRecipes,
RecipeMaps.fluidExtractionRecipes,
RecipeMaps.extractorRecipes,
RecipeMaps.laserEngraverRecipes,
RecipeMaps.autoclaveRecipes,
RecipeMaps.fluidSolidifierRecipes);
}
@Override
public int getRecipeCatalystPriority() {
return -10;
}
private static RecipeMap<?> getRecipeMap(int aMode) {
if (aMode == MODE_COMPRESSOR) {
return RecipeMaps.compressorRecipes;
} else if (aMode == MODE_LATHE) {
return RecipeMaps.latheRecipes;
} else if (aMode == MODE_MAGNETIC) {
return RecipeMaps.polarizerRecipes;
} else if (aMode == MODE_FERMENTER) {
return RecipeMaps.fermentingRecipes;
} else if (aMode == MODE_FLUIDEXTRACT) {
return RecipeMaps.fluidExtractionRecipes;
} else if (aMode == MODE_EXTRACTOR) {
return RecipeMaps.extractorRecipes;
} else if (aMode == MODE_LASER) {
return RecipeMaps.laserEngraverRecipes;
} else if (aMode == MODE_AUTOCLAVE) {
return RecipeMaps.autoclaveRecipes;
} else if (aMode == MODE_FLUIDSOLIDIFY) {
return RecipeMaps.fluidSolidifierRecipes;
} else {
return null;
}
}
@Override
protected ProcessingLogic createProcessingLogic() {
return new ProcessingLogic() {
private ItemStack lastCircuit = null;
@Nonnull
@Override
protected Stream<GT_Recipe> findRecipeMatches(@Nullable RecipeMap<?> map) {
ItemStack circuit = getCircuit(inputItems);
if (circuit == null) {
return Stream.empty();
}
if (!GT_Utility.areStacksEqual(circuit, lastCircuit)) {
lastRecipe = null;
lastCircuit = circuit;
}
RecipeMap<?> foundMap = getRecipeMap(getCircuitID(circuit));
if (foundMap == null) {
return Stream.empty();
}
return super.findRecipeMatches(foundMap);
}
}.setSpeedBonus(1F / 3.5F).setEuModifier(0.8F).setMaxParallelSupplier(this::getMaxParallelRecipes);
}
@Override
public void onModeChangeByScrewdriver(ForgeDirection side, EntityPlayer aPlayer, float aX, float aY, float aZ) {
if (mInternalMode < 2) {
mInternalMode++;
} else {
mInternalMode = 0;
}
String mModeString = (mInternalMode == 0 ? "Metal"
: mInternalMode == 1 ? "Fluid" : mInternalMode == 2 ? "Misc." : "null");
PlayerUtils.messagePlayer(aPlayer, "Multi-Machine is now in " + mModeString + " mode.");
mLastRecipe = null;
}
@Override
public String[] getInfoData() {
String[] data = super.getInfoData();
ArrayList<String> mInfo = new ArrayList<>(Arrays.asList(data));
String mode;
if (mInternalMode == 0) {
mode = StatCollector.translateToLocal("GTPP.multiblock.multimachine.metal");
} else if (mInternalMode == 1) {
mode = StatCollector.translateToLocal("GTPP.multiblock.multimachine.fluid");
} else {
mode = StatCollector.translateToLocal("GTPP.multiblock.multimachine.misc");
}
mInfo.add(mode);
return mInfo.toArray(new String[0]);
}
@Override
public void saveNBTData(NBTTagCompound aNBT) {
aNBT.setInteger("mInternalMode", mInternalMode);
super.saveNBTData(aNBT);
}
@Override
public void loadNBTData(NBTTagCompound aNBT) {
this.mInternalMode = aNBT.getInteger("mInternalMode");
super.loadNBTData(aNBT);
}
@Override
public boolean isInputSeparationEnabled() {
return true;
}
@Override
public void getWailaNBTData(EntityPlayerMP player, TileEntity tile, NBTTagCompound tag, World world, int x, int y,
int z) {
super.getWailaNBTData(player, tile, tag, world, x, y, z);
tag.setInteger("mode", mInternalMode);
}
@Override
protected CheckRecipeResult doCheckRecipe() {
if (mInternalMode != 2 || !isInputSeparationEnabled()) {
return super.doCheckRecipe();
} else {
CheckRecipeResult result = CheckRecipeResultRegistry.NO_RECIPE;
// check crafting input hatches first
if (supportsCraftingMEBuffer()) {
for (IDualInputHatch dualInputHatch : mDualInputHatches) {
for (var it = dualInputHatch.inventories(); it.hasNext();) {
IDualInputInventory slot = it.next();
processingLogic.setInputItems(slot.getItemInputs());
processingLogic.setInputFluids(slot.getFluidInputs());
CheckRecipeResult foundResult = processingLogic.process();
if (foundResult.wasSuccessful()) {
return foundResult;
}
if (foundResult != CheckRecipeResultRegistry.NO_RECIPE) {
// Recipe failed in interesting way, so remember that and continue searching
result = foundResult;
}
}
}
}
// Logic for GT_MetaTileEntity_Hatch_Solidifier
for (GT_MetaTileEntity_Hatch_Input solidifierHatch : mInputHatches) {
if (solidifierHatch instanceof GT_MetaTileEntity_Hatch_Solidifier) {
ItemStack mold = ((GT_MetaTileEntity_Hatch_Solidifier) solidifierHatch).getMold();
FluidStack fluid = solidifierHatch.getFluid();
if (mold != null && fluid != null) {
List<ItemStack> inputItems = new ArrayList<>();
inputItems.add(mold);
inputItems.add(ItemUtils.getGregtechCircuit(22));
processingLogic.setInputItems(inputItems.toArray(new ItemStack[0]));
processingLogic.setInputFluids(fluid);
CheckRecipeResult foundResult = processingLogic.process();
if (foundResult.wasSuccessful()) {
return foundResult;
}
if (foundResult != CheckRecipeResultRegistry.NO_RECIPE) {
// Recipe failed in interesting way, so remember that and continue searching
result = foundResult;
}
}
}
}
processingLogic.clear();
processingLogic.setInputFluids(getStoredFluids());
// Default logic
for (GT_MetaTileEntity_Hatch_InputBus bus : mInputBusses) {
if (bus instanceof GT_MetaTileEntity_Hatch_CraftingInput_ME) {
continue;
}
List<ItemStack> inputItems = new ArrayList<>();
for (int i = bus.getSizeInventory() - 1; i >= 0; i--) {
ItemStack stored = bus.getStackInSlot(i);
if (stored != null) {
inputItems.add(stored);
}
}
if (canUseControllerSlotForRecipe() && getControllerSlot() != null) {
inputItems.add(getControllerSlot());
}
processingLogic.setInputItems(inputItems.toArray(new ItemStack[0]));
CheckRecipeResult foundResult = processingLogic.process();
if (foundResult.wasSuccessful()) {
return foundResult;
}
if (foundResult != CheckRecipeResultRegistry.NO_RECIPE) {
// Recipe failed in interesting way, so remember that and continue searching
result = foundResult;
}
}
return result;
}
}
@Override
public ArrayList<FluidStack> getStoredFluids() {
ArrayList<FluidStack> rList = new ArrayList<>();
for (GT_MetaTileEntity_Hatch_Input tHatch : filterValidMTEs(mInputHatches)) {
if (tHatch instanceof GT_MetaTileEntity_Hatch_Solidifier) {
continue;
}
setHatchRecipeMap(tHatch);
if (tHatch instanceof GT_MetaTileEntity_Hatch_MultiInput) {
for (FluidStack tFluid : ((GT_MetaTileEntity_Hatch_MultiInput) tHatch).getStoredFluid()) {
if (tFluid != null) {
rList.add(tFluid);
}
}
} else if (tHatch instanceof GT_MetaTileEntity_Hatch_Input_ME) {
if (tHatch.isValid()) {
for (FluidStack fluidStack : ((GT_MetaTileEntity_Hatch_Input_ME) tHatch).getStoredFluids()) {
if (fluidStack == null) continue;
rList.add(fluidStack);
}
}
} else {
if (tHatch.getFillableStack() != null) {
rList.add(tHatch.getFillableStack());
}
}
}
return rList;
}
@Override
public void getWailaBody(ItemStack itemStack, List<String> currentTip, IWailaDataAccessor accessor,
IWailaConfigHandler config) {
super.getWailaBody(itemStack, currentTip, accessor, config);
final NBTTagCompound tag = accessor.getNBTData();
if (tag.hasKey("mode")) {
currentTip.add("Mode: " + EnumChatFormatting.YELLOW + switch (tag.getInteger("mode")) {
case 1 -> "Fluid";
case 2 -> "Misc";
default -> "Metal";
} + EnumChatFormatting.RESET);
}
}
}
| 21,691 | Java | .java | GTNewHorizons/GTplusplus | 14 | 91 | 3 | 2021-05-21T02:41:06Z | 2024-05-09T08:29:46Z | bfaac18120342c88c9eae737fa914b31e0d87bda090e5cc92347b23ed5b74690 | [] | [
1337,
15979,
12174,
12174,
51,
125,
1820,
51,
5040,
6646,
51,
2297,
51,
8344,
9259,
51,
20894,
51,
6870,
51,
9608,
64,
222,
222,
485,
924,
785,
51,
1855,
909,
46259,
51,
6014,
1379,
51,
6014,
51,
8648,
11328,
51,
1048,
2246,
64,
222,
485,
924,
785,
51,
1855,
909,
46259,
51,
6014,
1379,
51,
6014,
51,
8648,
11328,
51,
286,
1325,
6136,
64,
222,
485,
924,
785,
51,
1855,
909,
46259,
51,
6014,
1379,
51,
6014,
51,
8648,
11328,
51,
16678,
64,
222,
485,
924,
504,
1604,
6646,
51,
1256,
51,
20767,
51,
11507,
100,
77,
765,
1325,
51,
18016,
64,
222,
485,
924,
504,
1604,
6646,
51,
1256,
51,
20767,
51,
11507,
100,
77,
765,
1325,
51,
1630,
5997,
64,
222,
485,
924,
504,
1604,
6646,
51,
1256,
51,
20767,
51,
11507,
100,
77,
765,
1325,
51,
1630,
77,
765,
64,
222,
485,
924,
504,
1604,
6646,
51,
1256,
51,
20767,
51,
11507,
100,
77,
765,
1325,
51,
31225,
64,
222,
485,
924,
504,
1604,
6646,
51,
1256,
51,
20767,
51,
11507,
100,
77,
765,
1325,
51,
82,
2988,
1202,
64,
222,
485,
924,
504,
1604,
6646,
51,
1256,
51,
20767,
51,
11507,
100,
77,
765,
1325,
51,
2319,
5997,
64,
222,
485,
924,
504,
1604,
6646,
51,
1256,
51,
20767,
51,
11507,
100,
77,
765,
1325,
51,
2319,
77,
765,
64,
222,
485,
924,
504,
1604,
6646,
51,
1256,
51,
1058,
51,
11507,
100,
8648,
11328,
51,
1848,
77,
765,
1785,
512,
64,
222,
485,
924,
504,
1604,
6646,
51,
1256,
51,
1058,
51,
11507,
100,
11328,
51,
2049,
2320,
82,
1731,
120,
64,
222,
222,
485,
1401,
51,
1058,
51,
7119,
64,
222,
485,
1401,
51,
1058,
51,
9981,
64,
222,
485,
1401,
51,
1058,
51,
2272,
64,
222,
485,
1401,
51,
1058,
51,
739,
64,
222,
485,
1401,
51,
1058,
51,
2255,
51,
1880,
64,
222,
222,
485,
3698,
51,
4341,
51,
13438,
64,
222,
485,
3698,
51,
4341,
51,
6825,
64,
222,
222,
485,
3723,
51,
8654,
51,
2244,
51,
3857,
51,
2234,
3516,
64,
222,
485,
3723,
51,
8654,
51,
2244,
51,
3857,
51,
2234,
3516,
1471,
64,
222,
485,
3723,
51,
8654,
51,
1113,
51,
26022,
64,
222,
485,
3723,
51,
8654,
51,
39749,
51,
34770,
2649,
18133,
64,
222,
485,
3723,
51,
8654,
51,
8344,
2244,
51,
41760,
64,
222,
485,
3723,
51,
8654,
51,
1058,
51,
2773,
7580,
25332,
64,
222,
485,
3723,
51,
8654,
51,
1058,
51,
5952,
15387,
64,
222,
485,
3723,
51,
8654,
51,
5879,
51,
6719,
64,
222,
485,
3723,
51,
31599,
51,
2297,
51,
1058,
51,
37613,
5235,
64,
222,
485,
3723,
51,
31599,
51,
10475,
120,
51,
27305,
3131,
64,
222,
222,
485,
785,
51,
1855,
909,
46259,
51,
6014,
1379,
51,
18927,
51,
6322,
463,
51,
1309,
324,
123,
18190,
13613,
463,
64,
222,
485,
785,
51,
1855,
909,
46259,
51,
6014,
1379,
51,
6014,
51,
1309,
378,
693,
532,
3385,
64,
222,
485,
785,
51,
1855,
909,
46259,
51,
6014,
1379,
51,
6014,
51,
1309,
324,
123,
18190,
3328,
6342,
64,
222,
485,
785,
51,
1855,
909,
46259,
51,
6014,
1379,
51,
6014,
51,
44459,
64,
222,
222,
485,
504,
1604,
6646,
51,
1256,
51,
20767,
51,
5805,
74,
64,
222,
485,
504,
1604,
6646,
51,
1256,
51,
11204,
51,
78,
2930,
2894,
64,
222,
485,
504,
1604,
6646,
51,
1256,
51,
11204,
51,
2580,
6796,
2244,
51,
2348,
2303,
41760,
64,
222,
485,
504,
1604,
6646,
51,
1256,
51,
11204,
51,
8344,
2244,
51,
1453,
1604,
13668,
41760,
64,
222,
485,
504,
1604,
6646,
51,
1256,
51,
4566,
51,
11442,
12281,
64,
222,
485,
504,
1604,
6646,
51,
1256,
51,
2580,
6796,
2244,
51,
9173,
1014,
51,
11507,
100,
4247,
41760,
100,
77,
765,
100,
1630,
64,
222,
485,
504,
1604,
6646,
51,
1256,
51,
2580,
6796,
2244,
51,
9173,
1014,
51,
11507,
100,
4247,
41760,
100,
77,
765,
100,
1630,
5997,
64,
222,
485,
504,
1604,
6646,
51,
1256,
51,
2580,
6796,
2244,
51,
9173,
1014,
51,
11507,
100,
4247,
41760,
100,
77,
765,
100,
6230,
1630,
64,
222,
485,
504,
1604,
6646,
51,
1256,
51,
13342,
51,
16262,
1225,
64,
222,
485,
504,
1604,
6646,
51,
1256,
51,
13342,
51,
16262,
15938,
64,
222,
485,
504,
1604,
6646,
51,
1256,
51,
13342,
51,
1571,
51,
2157,
16262,
1413,
64,
222,
485,
504,
1604,
6646,
51,
1256,
51,
13342,
51,
1571,
51,
2157,
16262,
1413,
5389,
64,
222,
485,
504,
1604,
6646,
51,
1256,
51,
1058,
51,
11507,
100,
5980,
1590,
64,
222,
485,
504,
1604,
6646,
51,
1256,
51,
1058,
51,
11507,
100,
11253,
947,
827,
100,
12896,
100,
1812,
64,
222,
485,
504,
1604,
6646,
51,
1256,
51,
1058,
51,
11507,
100,
16262,
64,
222,
485,
504,
1604,
6646,
51,
1256,
51,
1058,
51,
11507,
100,
11328,
64,
222,
485,
504,
1604,
6646,
51,
2297,
51,
8344,
9259,
51,
20894,
51,
11507,
100,
4247,
41760,
100,
77,
765,
100,
23998,
318,
1630,
100,
1043,
64,
222,
485,
504,
1604,
6646,
51,
2297,
51,
8344,
9259,
51,
20894,
51,
11507,
100,
4247,
41760,
100,
77,
765,
100,
1630,
100,
1043,
64,
222,
485,
504,
1604,
6646,
51,
2297,
51,
8344,
9259,
51,
20894,
51,
798,
1050,
1630,
77,
765,
64,
222,
485,
504,
1604,
6646,
51,
2297,
51,
8344,
9259,
51,
20894,
51,
798,
1050,
1630,
12420,
64,
222,
485,
15979,
12174,
12174,
51,
1284,
51,
1540,
51,
2590,
11381,
64,
222,
485,
15979,
12174,
12174,
51,
1284,
51,
1379,
51,
11833,
64,
222,
485,
15979,
12174,
12174,
51,
1284,
51,
13342,
51,
2297,
51,
4264,
64,
222,
485,
15979,
12174,
12174,
51,
1284,
51,
1058,
51,
8654,
51,
1114,
2769,
64,
222,
485,
15979,
12174,
12174,
51,
1284,
51,
1058,
51,
8654,
51,
3516,
2769,
64,
222,
485,
15979,
12174,
12174,
51,
125,
1820,
51,
5040,
6646,
51,
1256,
51,
2580,
6796,
2244,
51,
9173,
1014,
51,
11507,
100,
4247,
41760,
100,
77,
765,
100,
19435,
1914,
64,
222,
485,
15979,
12174,
12174,
51,
125,
1820,
51,
5040,
6646,
51,
1256,
51,
2580,
6796,
2244,
51,
9173,
1014,
51,
1460,
51,
76,
1604,
6646,
4247,
100,
6230,
2246,
1778,
64,
222,
485,
15979,
12174,
12174,
51,
125,
1820,
51,
5040,
6646,
51,
2297,
51,
8597,
51,
29672,
51,
24317,
28723,
2246,
64,
222,
485,
364,
2217,
51,
6010,
3279,
51,
124,
626,
102,
51,
1256,
51,
27358,
626,
102,
1081,
1985,
64,
222,
485,
364,
2217,
51,
6010,
3279,
51,
124,
626,
102,
51,
1256,
51,
27358,
626,
102,
768,
9794,
64,
222,
222,
942,
462,
590,
1604,
6646,
4247,
41760,
100,
6437,
40973,
6230,
7105,
2041,
310,
590,
1604,
6646,
4247,
100,
6230,
2246,
1778,
65,
76,
1604,
6646,
4247,
41760,
100,
6437,
40973,
6230,
7105,
67,
4584,
2771,
324,
123,
18190,
13613,
463,
320,
465,
2532,
648,
364,
4305,
2116,
299,
244,
53,
64,
303,
964,
924,
1175,
648,
24863,
100,
38352,
776,
299,
244,
53,
64,
303,
964,
924,
1175,
648,
24863,
100,
22341,
1692,
299,
244,
54,
64,
303,
964,
924,
1175,
648,
24863,
100,
7536,
4782,
1122,
299,
244,
55,
64,
303,
964,
924,
1175,
648,
24863,
100,
8921,
3495,
546,
299,
244,
56,
64,
303,
964,
924,
1175,
648,
24863,
100,
3329,
3744,
41331,
299,
244,
57,
64,
303,
964,
924,
1175,
648,
24863,
100,
41331,
776,
299,
244,
58,
64,
303,
964,
924,
1175,
648,
24863,
100,
23512,
546,
299,
244,
59,
64,
303,
964,
924,
1175,
648,
24863,
100,
13237,
1601,
8134,
299,
244,
60,
64,
303,
964,
924,
1175,
648,
24863,
100,
3329,
3744,
37239,
12774,
299,
244,
61,
64,
303,
964,
924,
1175,
648,
11338,
24863,
100,
5847,
299,
556,
648,
11338,
320,
320,
244,
53,
49,
244,
54,
49,
244,
55,
820,
320,
244,
56,
49,
244,
57,
49,
244,
58,
820,
320,
244,
59,
49,
244,
60,
49,
244,
61,
339,
1487,
303,
581,
924,
1175,
910,
1197,
331,
20495,
4128,
299,
556,
910,
96,
62,
988,
303,
964,
648,
364,
72,
9982,
64,
303,
964,
924,
457,
44459,
65,
76,
1604,
6646,
4247,
41760,
100,
6437,
40973,
6230,
7105,
67,
9324,
7010,
3375,
100,
23141,
299,
762,
64,
465,
924,
320,
310,
456,
327,
429,
828,
299,
244,
53,
64,
828,
350,
244,
62,
64,
828,
2002,
320,
343,
30750,
1225,
11667,
15213,
1225,
299,
640,
16262,
1225,
45,
333,
312,
343,
434,
327,
13342,
1225,
882,
762,
46,
320,
419,
910,
331,
3585,
78,
299,
27425,
100,
5980,
1590,
51,
390,
12687,
45,
390,
16262,
1225,
45,
333,
566,
330,
33196,
577,
312,
419,
331,
20495,
4128,
96,
333,
98,
299,
331,
3585,
78,
882,
762,
1037,
331,
3585,
78,
518,
332,
13721,
8949,
78,
8920,
327,
4158,
391,
16102,
15534,
343,
339,
310,
339,
303,
339,
465,
581,
590,
1604,
6646,
4247,
41760,
100,
6437,
40973,
6230,
7105,
45,
3242,
648,
331,
798,
49,
1175,
910,
331,
577,
49,
343,
1175,
910,
331,
577,
6071,
298,
46,
320,
310,
2615,
45,
102,
798,
49,
331,
577,
49,
331,
577,
6071,
298,
312,
303,
339,
465,
581,
590,
1604,
6646,
4247,
41760,
100,
6437,
40973,
6230,
7105,
45,
3242,
910,
331,
577,
46,
320,
310,
2615,
45,
102,
577,
312,
303,
339,
465,
496,
1806,
303,
581,
457,
4247,
41760,
556,
4247,
2234,
45,
3242,
30357,
1604,
13668,
41760,
331,
41760,
46,
320,
310,
461,
556,
590,
1604,
6646,
4247,
41760,
100,
6437,
40973,
6230,
7105,
45,
597,
51,
114,
577,
312,
303,
339,
465,
496,
1806,
303,
581,
910,
640,
7105,
638,
365,
320,
310,
461,
332,
83,
501,
347,
8553,
884,
303,
339,
465,
496,
1806,
303,
2532,
27425,
100,
11253,
947,
827,
100,
12896,
100,
1812,
1506,
12896,
365,
320,
310,
910,
1197,
331,
15115,
9634,
299,
556,
910,
96,
56,
988,
310,
331,
15115,
9634,
96,
53,
98,
299,
331,
20495,
4128,
96,
53,
98,
494,
3021,
332,
494,
331,
20495,
4128,
96,
54,
98,
494,
3021,
332,
494,
331,
20495,
4128,
96,
55,
988,
310,
331,
15115,
9634,
96,
54,
98,
299,
331,
20495,
4128,
96,
56,
98,
494,
3021,
332,
494,
331,
20495,
4128,
96,
57,
98,
494,
3021,
332,
494,
331,
20495,
4128,
96,
58,
988,
310,
331,
15115,
9634,
96,
55,
98,
299,
331,
20495,
4128,
96,
59,
98,
494,
3021,
332,
494,
331,
20495,
4128,
96,
60,
98,
494,
3021,
332,
494,
331,
20495,
4128,
96,
61,
988,
603,
27425,
100,
11253,
947,
827,
100,
12896,
100,
1812,
11958,
299,
556,
27425,
100,
11253,
947,
827,
100,
12896,
100,
1812,
492,
310,
11958,
51,
688,
7105,
638,
45,
390,
7105,
638,
4269,
688,
1139,
459,
1934,
6579,
456,
341,
20262,
40973,
10497,
50,
7105,
678,
419,
657,
688,
1139,
459,
55,
58,
53,
42,
15211,
2806,
1493,
4005,
2181,
19913,
451,
341,
2454,
30608,
678,
419,
657,
688,
1139,
459,
4505,
5268,
244,
61,
53,
42,
451,
341,
45554,
52,
121,
20216,
2147,
1912,
688,
1139,
459,
31916,
3161,
3966,
1313,
30608,
29419,
678,
419,
657,
688,
1139,
45,
733,
332,
7105,
2782,
63,
8357,
298,
449,
332,
494,
7827,
7580,
25332,
51,
38076,
1396,
494,
331,
15115,
9634,
96,
53,
98,
1396,
494,
7827,
7580,
25332,
51,
13879,
46,
419,
657,
688,
1139,
45,
733,
332,
7105,
2782,
63,
47558,
449,
332,
494,
7827,
7580,
25332,
51,
38076,
1396,
494,
331,
15115,
9634,
96,
54,
98,
1396,
494,
7827,
7580,
25332,
51,
13879,
46,
419,
657,
688,
1139,
45,
733,
332,
7105,
2782,
63,
38226,
449,
332,
494,
7827,
7580,
25332,
51,
38076,
1396,
494,
331,
15115,
9634,
96,
55,
98,
1396,
494,
7827,
7580,
25332,
51,
13879,
46,
419,
657,
688,
1139,
459,
2248,
10497,
50,
7105,
25796,
456,
6737,
2490,
678,
419,
657,
688,
1139,
45,
733,
7827,
7580,
25332,
51,
70,
27962,
494,
332,
4296,
902,
813,
25135,
1914,
696,
765,
391,
4826,
1165,
4632,
1045,
467,
3653,
3128,
1396,
494,
7827,
7580,
25332,
51,
13879,
46,
419,
657,
688,
20027,
1622,
5956,
45,
390,
20027,
1622,
38845,
45,
1710,
3445,
688,
11143,
941,
2425,
8648,
2246,
45,
56,
49,
244,
56,
49,
244,
56,
49,
878,
46,
419,
657,
688,
1934,
459,
10108,
14113,
1912,
688,
72,
9982,
1139,
2944,
459,
6230,
50,
4404,
24437,
2070,
411,
244,
59,
49,
920,
46,
419,
657,
688,
1630,
5997,
459,
4292,
409,
9982,
411,
244,
54,
566,
688,
2319,
5997,
459,
4292,
409,
9982,
411,
244,
54,
566,
688,
1630,
77,
765,
459,
4292,
409,
9982,
411,
244,
54,
46,
419,
657,
688,
2319,
77,
765,
459,
4292,
409,
9982,
411,
244,
54,
566,
688,
18016,
77,
765,
459,
4292,
409,
9982,
411,
244,
54,
566,
688,
31225,
77,
765,
459,
4292,
409,
9982,
411,
244,
54,
46,
419,
657,
688,
82,
2988,
1202,
77,
765,
459,
4292,
409,
9982,
411,
244,
54,
566,
3749,
6251,
13534,
284,
45,
11833,
51,
11507,
100,
12896,
100,
1812,
51,
390,
1052,
310,
461,
11958,
64,
303,
339,
465,
496,
1806,
303,
581,
457,
44459,
65,
76,
1604,
6646,
4247,
41760,
100,
6437,
40973,
6230,
7105,
67,
640,
44459,
365,
320,
310,
434,
327,
27173,
100,
23141,
630,
762,
46,
320,
343,
9324,
7010,
3375,
100,
23141,
299,
19253,
3385,
5717,
76,
1604,
6646,
4247,
41760,
100,
6437,
40973,
6230,
7105,
67,
4179,
365,
547,
657,
688,
4749,
45,
1031,
364,
577,
49,
1031,
27254,
45,
1908,
556,
910,
11338,
320,
320,
332,
30824,
411,
332,
30824,
411,
332,
30824,
39,
820,
320,
332,
72,
131,
72,
411,
332,
72,
50,
72,
411,
332,
30824,
39,
820,
3402,
320,
332,
30824,
411,
332,
30824,
411,
332,
30824,
39,
820,
16577,
547,
657,
40634,
45,
1031,
349,
72,
389,
1031,
1984,
77,
765,
1785,
512,
45,
76,
1604,
6646,
4247,
41760,
100,
6437,
40973,
6230,
7105,
51,
842,
46,
1908,
657,
288,
31431,
45,
1630,
5997,
49,
5601,
5997,
49,
30373,
12991,
49,
29137,
49,
507,
2988,
1202,
49,
4257,
77,
765,
49,
5601,
77,
765,
46,
1908,
657,
104,
9982,
1301,
45,
390,
4900,
1301,
4269,
4297,
45,
54,
566,
1848,
2199,
7429,
45,
3402,
563,
1325,
6136,
45,
125,
984,
3323,
125,
51,
114,
72,
9982,
49,
451,
2246,
45,
2590,
11381,
51,
1540,
19392,
2070,
56,
25798,
49,
244,
55,
7775,
547,
657,
1848,
492,
310,
339,
310,
461,
9324,
7010,
3375,
100,
23141,
64,
303,
339,
465,
496,
1806,
303,
581,
782,
8551,
45,
26022,
4154,
1269,
49,
1922,
27796,
4505,
46,
320,
310,
1984,
16990,
45,
114,
577,
49,
4154,
1269,
49,
27796,
4505,
49,
244,
54,
49,
244,
54,
49,
244,
53,
312,
303,
339,
465,
496,
1806,
303,
581,
648,
34729,
18190,
13613,
45,
26022,
4154,
1269,
49,
648,
2016,
25087,
49,
2771,
324,
123,
18190,
3328,
6342,
4550,
46,
320,
310,
434,
327,
114,
7105,
46,
461,
449,
54,
64,
310,
461,
6197,
27338,
583,
3328,
16990,
45,
114,
577,
49,
4154,
1269,
49,
244,
54,
49,
244,
54,
49,
244,
53,
49,
2016,
25087,
49,
4550,
49,
920,
49,
878,
312,
303,
339,
465,
496,
1806,
303,
581,
1922,
1524,
7105,
45,
1453,
1604,
13668,
41760,
331,
1778,
4247,
41760,
49,
26657,
331,
3131,
46,
320,
310,
364,
72,
9982,
299,
244,
53,
64,
310,
461,
1524,
16990,
45,
114,
577,
49,
244,
54,
49,
244,
54,
49,
244,
53,
46,
979,
364,
72,
9982,
2394,
244,
59,
979,
1524,
77,
765,
492,
303,
339,
465,
496,
1806,
303,
2532,
457,
2930,
2894,
640,
4091,
12277,
365,
320,
310,
461,
3336,
3029,
28723,
2246,
51,
12277,
100,
7105,
100,
1934,
100,
17487,
100,
4091,
64,
303,
339,
465,
496,
1806,
303,
2532,
457,
2930,
2894,
640,
27281,
12277,
365,
320,
310,
461,
3336,
3029,
28723,
2246,
51,
12277,
100,
7105,
100,
1934,
100,
17487,
64,
303,
339,
465,
496,
1806,
303,
2532,
648,
38941,
9982,
4900,
625,
365,
320,
310,
461,
640,
4900,
1301,
492,
303,
339,
465,
496,
1806,
303,
581,
648,
39438,
13717,
38861,
365,
320,
310,
461,
327,
55,
338,
27425,
100,
11328,
51,
390,
28998,
45,
597,
51,
23742,
1630,
38927,
5086,
303,
339,
465,
496,
1806,
303,
581,
648,
39438,
74,
21020,
45,
3242,
26657,
331,
3131,
46,
320,
310,
461,
244,
54,
53,
53,
53,
53,
64,
303,
339,
465,
496,
1806,
303,
581,
648,
640,
20027,
1622,
38845,
45,
3242,
26657,
331,
3131,
46,
320,
310,
434,
327,
114,
4305,
2116,
630,
244,
53,
46,
320,
343,
461,
39799,
51,
1081,
3926,
21050,
51,
11991,
1622,
38845,
6230,
6437,
40973,
6230,
7105,
100,
2116,
35145,
64,
310,
339,
832,
434,
327,
114,
4305,
2116,
630,
244,
54,
46,
320,
343,
461,
39799,
51,
1081,
3926,
21050,
51,
11991,
1622,
38845,
6230,
6437,
40973,
6230,
7105,
100,
2116,
27305,
64,
310,
339,
832,
320,
453,
1377,
244,
55,
343,
461,
39799,
51,
1081,
3926,
21050,
51,
11991,
1622,
38845,
6230,
6437,
40973,
6230,
7105,
100,
2116,
25798,
64,
310,
339,
303,
339,
465,
581,
648,
640,
4900,
1301,
365,
320,
310,
461,
413,
7726,
51,
27799,
1811,
1983,
45,
55,
49,
244,
55,
312,
303,
339,
465,
496,
1806,
303,
581,
1922,
10682,
7233,
1501,
1735,
10440,
45,
3242,
26657,
331,
3131,
46,
320,
310,
461,
920,
64,
303,
339,
465,
964,
26657,
640,
28983,
45,
26022,
1197,
292,
46,
320,
310,
456,
327,
26022,
614,
518,
292,
46,
320,
343,
434,
327,
111,
51,
12244,
365,
630,
9683,
51,
37863,
337,
28983,
45,
53,
566,
12244,
1177,
320,
419,
434,
327,
111,
51,
12244,
15022,
365,
2394,
244,
55,
53,
979,
614,
51,
12244,
15022,
365,
2527,
244,
55,
55,
46,
320,
547,
461,
614,
64,
419,
339,
343,
339,
310,
339,
310,
461,
762,
64,
303,
339,
465,
964,
648,
640,
28983,
798,
45,
26022,
21408,
46,
320,
310,
648,
696,
299,
21408,
51,
12244,
15022,
492,
310,
648,
413,
299,
327,
77,
630,
244,
55,
53,
1037,
244,
53,
518,
327,
77,
630,
244,
55,
54,
1037,
244,
54,
518,
327,
77,
630,
244,
55,
55,
1037,
244,
55,
518,
449,
54,
4254,
310,
461,
24863,
100,
5847,
96,
597,
51,
114,
4305,
2116,
1697,
89,
988,
303,
339,
465,
496,
1806,
303,
581,
30750,
1225,
11667,
640,
16262,
1225,
365,
320,
310,
461,
762,
64,
303,
339,
465,
496,
13438,
303,
496,
1806,
303,
581,
7380,
65,
16262,
1225,
31785,
640,
8590,
16262,
15938,
365,
320,
310,
461,
14479,
51,
14100,
45,
419,
30750,
15938,
51,
42059,
38861,
49,
419,
30750,
15938,
51,
4520,
311,
38861,
49,
419,
30750,
15938,
51,
34780,
2292,
38861,
49,
419,
30750,
15938,
51,
1036,
488,
318,
38861,
49,
419,
30750,
15938,
51,
10475,
46062,
38861,
49,
419,
30750,
15938,
51,
30707,
38861,
49,
419,
30750,
15938,
51,
6945,
284,
795,
791,
15243,
38861,
49,
419,
30750,
15938,
51,
4872,
22255,
808,
38861,
49,
419,
30750,
15938,
51,
10475,
19435,
1914,
38861,
312,
303,
339,
465,
496,
1806,
303,
581,
648,
640,
16262,
72,
3711,
757,
10333,
365,
320,
310,
461,
449,
54,
53,
64,
303,
339,
465,
964,
924,
30750,
1225,
11667,
640,
16262,
1225,
45,
429,
331,
2116,
46,
320,
310,
434,
327,
102,
2116,
630,
24863,
100,
38352,
776,
46,
320,
343,
461,
30750,
15938,
51,
42059,
38861,
64,
310,
339,
832,
434,
327,
102,
2116,
630,
24863,
100,
22341,
1692,
46,
320,
343,
461,
30750,
15938,
51,
4520,
311,
38861,
64,
310,
339,
832,
434,
327,
102,
2116,
630,
24863,
100,
7536,
4782,
1122,
46,
320,
343,
461,
30750,
15938,
51,
34780,
2292,
38861,
64,
310,
339,
832,
434,
327,
102,
2116,
630,
24863,
100,
8921,
3495,
546,
46,
320,
343,
461,
30750,
15938,
51,
1036,
488,
318,
38861,
64,
310,
339,
832,
434,
327,
102,
2116,
630,
24863,
100,
3329,
3744,
41331,
46,
320,
343,
461,
30750,
15938,
51,
10475,
46062,
38861,
64,
310,
339,
832,
434,
327,
102,
2116,
630,
24863,
100,
41331,
776,
46,
320,
343,
461,
30750,
15938,
51,
30707,
38861,
64,
310,
339,
832,
434,
327,
102,
2116,
630,
24863,
100,
23512,
546,
46,
320,
343,
461,
30750,
15938,
51,
6945,
284,
795,
791,
15243,
38861,
64,
310,
339,
832,
434,
327,
102,
2116,
630,
24863,
100,
13237,
1601,
8134,
46,
320,
343,
461,
30750,
15938,
51,
4872,
22255,
808,
38861,
64,
310,
339,
832,
434,
327,
102,
2116,
630,
24863,
100,
3329,
3744,
37239,
12774,
46,
320,
343,
461,
30750,
15938,
51,
10475,
19435,
1914,
38861,
64,
310,
339,
832,
320,
343,
461,
762,
64,
310,
339,
303,
339,
465,
496,
1806,
303,
2532,
22480,
12281,
1506,
11442,
12281,
365,
320,
310,
461,
556,
22480,
12281,
365,
320,
1083,
964,
26657,
2419,
28983,
299,
762,
64,
1083,
496,
13438,
343,
496,
1806,
343,
2532,
7552,
65,
11507,
100,
16262,
67,
2309,
16262,
16189,
4810,
6825,
30750,
1225,
11667,
2010,
46,
320,
419,
26657,
21408,
299,
640,
28983,
45,
1151,
3648,
312,
419,
434,
327,
23478,
630,
762,
46,
320,
547,
461,
7552,
51,
2970,
492,
419,
339,
419,
434,
1445,
11507,
100,
11328,
51,
605,
3131,
120,
1342,
45,
23478,
49,
2419,
28983,
509,
320,
547,
2419,
16262,
299,
762,
64,
547,
2419,
28983,
299,
21408,
64,
419,
339,
419,
30750,
1225,
11667,
2448,
1225,
299,
640,
16262,
1225,
45,
11641,
4965,
5353,
798,
45,
23478,
894,
419,
434,
327,
6271,
1225,
630,
762,
46,
320,
547,
461,
7552,
51,
2970,
492,
419,
339,
419,
461,
2615,
51,
1828,
16262,
16189,
45,
6271,
1225,
312,
343,
339,
310,
12349,
489,
8186,
25759,
45,
54,
75,
536,
244,
56,
51,
58,
75,
566,
489,
30209,
11693,
45,
53,
51,
61,
75,
566,
27235,
13717,
17612,
45,
597,
422,
23742,
13717,
38861,
312,
303,
339,
465,
496,
1806,
303,
581,
782,
563,
2116,
1810,
1103,
44056,
4435,
2384,
45,
37613,
5235,
5226,
49,
7276,
3516,
331,
3516,
49,
1916,
331,
93,
49,
1916,
331,
94,
49,
1916,
331,
95,
46,
320,
310,
434,
327,
114,
4305,
2116,
350,
244,
55,
46,
320,
343,
364,
4305,
2116,
3348,
310,
339,
832,
320,
343,
364,
4305,
2116,
299,
244,
53,
64,
310,
339,
310,
910,
364,
2116,
671,
299,
327,
114,
4305,
2116,
630,
244,
53,
1037,
332,
35145,
39,
419,
518,
364,
4305,
2116,
630,
244,
54,
1037,
332,
27305,
39,
518,
364,
4305,
2116,
630,
244,
55,
1037,
332,
25798,
3128,
518,
332,
1710,
742,
310,
9306,
2769,
51,
1454,
3516,
45,
102,
3516,
49,
332,
6230,
50,
7105,
458,
2483,
347,
332,
494,
364,
2116,
671,
494,
332,
2945,
5377,
310,
364,
3283,
16262,
299,
762,
64,
303,
339,
465,
496,
1806,
303,
581,
910,
1197,
640,
1139,
768,
365,
320,
310,
910,
1197,
727,
299,
2615,
51,
41118,
768,
492,
310,
5068,
65,
671,
67,
364,
1139,
299,
556,
5068,
11530,
9981,
51,
14100,
45,
624,
894,
310,
910,
2945,
64,
310,
434,
327,
114,
4305,
2116,
630,
244,
53,
46,
320,
343,
2945,
299,
15207,
15387,
51,
7407,
40570,
459,
76,
2345,
85,
51,
7758,
947,
827,
51,
7758,
468,
3213,
51,
23188,
742,
310,
339,
832,
434,
327,
114,
4305,
2116,
630,
244,
54,
46,
320,
343,
2945,
299,
15207,
15387,
51,
7407,
40570,
459,
76,
2345,
85,
51,
7758,
947,
827,
51,
7758,
468,
3213,
51,
10475,
742,
310,
339,
832,
320,
343,
2945,
299,
15207,
15387,
51,
7407,
40570,
459,
76,
2345,
85,
51,
7758,
947,
827,
51,
7758,
468,
3213,
51,
14495,
742,
310,
339,
310,
364,
1139,
51,
688,
45,
2832,
312,
310,
461,
364,
1139,
51,
14315,
45,
909,
910,
96,
53,
2004,
303,
339,
465,
496,
1806,
303,
581,
782,
4166,
34770,
768,
45,
34770,
2649,
18133,
331,
34770,
46,
320,
310,
331,
34770,
51,
489,
3078,
459,
114,
4305,
2116,
411,
364,
4305,
2116,
312,
310,
2615,
51,
2882,
34770,
768,
45,
8385,
9195,
312,
303,
339,
465,
496,
1806,
303,
581,
782,
2480,
34770,
768,
45,
34770,
2649,
18133,
331,
34770,
46,
320,
310,
477,
51,
114,
4305,
2116,
299,
331,
34770,
51,
48837,
459,
114,
4305,
2116,
742,
310,
2615,
51,
963,
34770,
768,
45,
8385,
9195,
312,
303,
339,
465,
496,
1806,
303,
581,
1922,
458,
1630,
921,
21930,
4006,
365,
320,
310,
461,
878,
64,
303,
339,
465,
496,
1806,
303,
581,
782,
640,
92,
626,
8385,
9195,
768,
45,
2234,
3516,
1471,
4376,
49,
18891,
2234,
9615,
49,
508,
9195,
2649,
18133,
2621,
49,
10914,
5810,
49,
648,
837,
49,
648,
553,
49,
343,
648,
1308,
46,
320,
310,
2615,
51,
390,
92,
626,
8385,
9195,
768,
45,
3857,
49,
9615,
49,
2621,
49,
5810,
49,
837,
49,
553,
49,
1308,
312,
310,
2621,
51,
489,
3078,
459,
2832,
411,
364,
4305,
2116,
312,
303,
339,
465,
496,
1806,
303,
2532,
3471,
16262,
1413,
764,
2157,
16262,
365,
320,
603,
434,
327,
114,
4305,
2116,
882,
244,
55,
1293,
673,
316,
1630,
921,
21930,
4006,
1177,
320,
343,
461,
2615,
51,
1428,
2157,
16262,
492,
310,
339,
832,
320,
343,
3471,
16262,
1413,
1074,
299,
3471,
16262,
1413,
5389,
51,
2593,
100,
632,
4264,
1321,
64,
1083,
453,
1524,
32024,
318,
1533,
439,
19422,
1950,
343,
434,
327,
25129,
23998,
318,
1043,
2030,
1177,
320,
419,
456,
327,
798,
1050,
1630,
77,
765,
27048,
1630,
77,
765,
518,
364,
40229,
1630,
77,
19422,
46,
320,
547,
456,
327,
887,
580,
299,
27048,
1630,
77,
765,
51,
35125,
3121,
492,
580,
51,
16408,
492,
46,
320,
733,
2502,
1050,
1630,
12420,
9848,
299,
580,
51,
1995,
492,
733,
8220,
12281,
51,
45003,
3648,
45,
9054,
51,
12244,
13716,
1052,
733,
8220,
12281,
51,
45003,
27305,
120,
45,
9054,
51,
390,
27305,
13716,
1052,
733,
3471,
16262,
1413,
2448,
1413,
299,
8220,
12281,
51,
2441,
492,
733,
434,
327,
6271,
1413,
51,
14505,
21502,
1177,
320,
1031,
461,
2448,
1413,
64,
733,
339,
733,
434,
327,
6271,
1413,
882,
3471,
16262,
1413,
5389,
51,
2593,
100,
632,
4264,
1321,
46,
320,
1031,
453,
30750,
3818,
347,
16757,
3374,
49,
1278,
15667,
708,
480,
4056,
20297,
1031,
1074,
299,
2448,
1413,
64,
733,
339,
547,
339,
419,
339,
343,
339,
1083,
453,
25794,
456,
27425,
100,
4247,
41760,
100,
77,
765,
100,
19435,
1914,
343,
456,
327,
11507,
100,
4247,
41760,
100,
77,
765,
100,
1630,
4826,
1914,
77,
765,
518,
364,
1630,
77,
19422,
46,
320,
419,
434,
327,
12868,
1914,
77,
765,
5118,
27425,
100,
4247,
41760,
100,
77,
765,
100,
19435,
1914,
46,
320,
547,
26657,
364,
1477,
299,
1849,
11507,
100,
4247,
41760,
100,
77,
765,
100,
19435,
1914,
46,
4826,
1914,
77,
765,
566,
25413,
1477,
492,
547,
47558,
3131,
23662,
299,
4826,
1914,
77,
765,
51,
390,
27305,
492,
3704,
434,
327,
114,
1477,
882,
762,
979,
23662,
882,
762,
46,
320,
733,
1701,
65,
26022,
67,
1533,
3648,
299,
556,
5068,
6984,
733,
1533,
3648,
51,
688,
45,
114,
1477,
312,
733,
1533,
3648,
51,
688,
45,
1114,
2769,
51,
390,
76,
1604,
6646,
28983,
45,
55,
55,
894,
6205,
8220,
12281,
51,
45003,
3648,
45,
1151,
3648,
51,
14315,
45,
909,
26657,
96,
53,
10679,
733,
8220,
12281,
51,
45003,
27305,
120,
45,
10475,
312,
6205,
3471,
16262,
1413,
2448,
1413,
299,
8220,
12281,
51,
2441,
492,
733,
434,
327,
6271,
1413,
51,
14505,
21502,
1177,
320,
1031,
461,
2448,
1413,
64,
733,
339,
733,
434,
327,
6271,
1413,
882,
3471,
16262,
1413,
5389,
51,
2593,
100,
632,
4264,
1321,
46,
320,
1031,
453,
30750,
3818,
347,
16757,
3374,
49,
1278,
15667,
708,
480,
4056,
20297,
1031,
1074,
299,
2448,
1413,
64,
733,
339,
547,
339,
419,
339,
343,
339,
343,
8220,
12281,
51,
3830,
492,
343,
8220,
12281,
51,
45003,
27305,
120,
45,
390,
25855,
27305,
120,
1052,
343,
453,
4119,
8143,
343,
456,
327,
11507,
100,
4247,
41760,
100,
77,
765,
100,
1630,
5997,
6885,
518,
364,
1630,
5997,
1490,
46,
320,
419,
434,
327,
4906,
5118,
27425,
100,
4247,
41760,
100,
77,
765,
100,
23998,
318,
1630,
100,
1043,
46,
320,
547,
4056,
64,
419,
339,
419,
1701,
65,
26022,
67,
1533,
3648,
299,
556,
5068,
6984,
419,
456,
327,
429,
613,
299,
6885,
51,
24600,
12420,
365,
449,
244,
54,
64,
613,
2394,
244,
53,
64,
613,
15344,
320,
547,
26657,
7129,
299,
6885,
51,
390,
3131,
402,
9493,
45,
110,
312,
547,
434,
327,
22175,
882,
762,
46,
320,
733,
1533,
3648,
51,
688,
45,
22175,
312,
547,
339,
419,
339,
419,
434,
327,
3389,
4404,
1934,
9493,
1580,
16262,
365,
979,
640,
1934,
9493,
365,
882,
762,
46,
320,
547,
1533,
3648,
51,
688,
45,
390,
1934,
9493,
1052,
419,
339,
419,
8220,
12281,
51,
45003,
3648,
45,
1151,
3648,
51,
14315,
45,
909,
26657,
96,
53,
10679,
419,
3471,
16262,
1413,
2448,
1413,
299,
8220,
12281,
51,
2441,
492,
419,
434,
327,
6271,
1413,
51,
14505,
21502,
1177,
320,
547,
461,
2448,
1413,
64,
419,
339,
419,
434,
327,
6271,
1413,
882,
3471,
16262,
1413,
5389,
51,
2593,
100,
632,
4264,
1321,
46,
320,
547,
453,
30750,
3818,
347,
16757,
3374,
49,
1278,
15667,
708,
480,
4056,
20297,
547,
1074,
299,
2448,
1413,
64,
419,
339,
343,
339,
1083,
461,
1074,
64,
310,
339,
303,
339,
465,
496,
1806,
303,
581,
5068,
65,
27305,
3131,
67,
640,
25855,
27305,
120,
365,
320,
310,
5068,
65,
27305,
3131,
67,
559,
739,
299,
556,
5068,
6984,
310,
456,
327,
11507,
100,
4247,
41760,
100,
77,
765,
100,
1630,
292,
77,
765,
518,
2785,
2320,
82,
1731,
120,
45,
114,
1630,
77,
19422,
509,
320,
343,
434,
327,
121,
77,
765,
5118,
27425,
100,
4247,
41760,
100,
77,
765,
100,
19435,
1914,
46,
320,
419,
4056,
64,
343,
339,
1083,
758,
77,
765,
16262,
1225,
45,
121,
77,
765,
312,
343,
434,
327,
121,
77,
765,
5118,
27425,
100,
4247,
41760,
100,
77,
765,
100,
6230,
1630,
46,
320,
419,
456,
327,
27305,
3131,
292,
27305,
518,
1849,
11507,
100,
4247,
41760,
100,
77,
765,
100,
6230,
1630,
46,
292,
77,
765,
566,
390,
25855,
27305,
1177,
320,
547,
434,
327,
121,
27305,
882,
762,
46,
320,
733,
559,
739,
51,
688,
45,
121,
27305,
312,
547,
339,
419,
339,
343,
339,
832,
434,
327,
121,
77,
765,
5118,
27425,
100,
4247,
41760,
100,
77,
765,
100,
1630,
100,
1043,
46,
320,
419,
434,
327,
121,
77,
765,
51,
13431,
1177,
320,
547,
456,
327,
27305,
3131,
23662,
3131,
518,
1849,
11507,
100,
4247,
41760,
100,
77,
765,
100,
1630,
100,
1043,
46,
292,
77,
765,
566,
390,
25855,
27305,
120,
1177,
320,
733,
434,
327,
10475,
3131,
630,
762,
46,
4056,
64,
733,
559,
739,
51,
688,
45,
10475,
3131,
312,
547,
339,
419,
339,
343,
339,
832,
320,
419,
434,
327,
121,
77,
765,
51,
390,
7904,
463,
3131,
365,
882,
762,
46,
320,
547,
559,
739,
51,
688,
45,
121,
77,
765,
51,
390,
7904,
463,
3131,
1052,
419,
339,
343,
339,
310,
339,
603,
461,
559,
739,
64,
303,
339,
465,
496,
1806,
303,
581,
782,
640,
92,
626,
102,
3069,
45,
26022,
1641,
3131,
49,
1701,
65,
671,
67,
1565,
6251,
49,
457,
92,
626,
102,
768,
9794,
22069,
49,
343,
457,
92,
626,
102,
1081,
1985,
1377,
46,
320,
310,
2615,
51,
390,
92,
626,
102,
3069,
45,
1113,
3131,
49,
1565,
6251,
49,
22069,
49,
1377,
312,
310,
1175,
508,
9195,
2649,
18133,
2621,
299,
22069,
51,
390,
34770,
768,
492,
310,
434,
327,
2159,
51,
2057,
971,
459,
2832,
2152,
320,
343,
1565,
6251,
51,
688,
459,
2116,
63,
332,
494,
7827,
7580,
25332,
51,
38076,
494,
3593,
327,
2159,
51,
48837,
459,
2832,
2152,
320,
419,
1152,
244,
54,
984,
332,
27305,
884,
419,
1152,
244,
55,
984,
332,
25798,
884,
419,
1263,
984,
332,
35145,
884,
343,
339,
494,
7827,
7580,
25332,
51,
13879,
312,
310,
339,
303,
339,
222,
130,
222
] | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,263 | true | 61.135955 | true | true |
CrossDetector.java | /FileExtraction/Java_unseen/Audiveris_audiveris/src/main/org/audiveris/omr/sig/CrossDetector.java | //------------------------------------------------------------------------------------------------//
// //
// C r o s s D e t e c t o r //
// //
//------------------------------------------------------------------------------------------------//
// <editor-fold defaultstate="collapsed" desc="hdr">
//
// Copyright © Audiveris 2023. All rights reserved.
//
// 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/>.
//------------------------------------------------------------------------------------------------//
// </editor-fold>
package org.audiveris.omr.sig;
import org.audiveris.omr.classifier.Evaluation;
import org.audiveris.omr.constant.ConstantSet;
import org.audiveris.omr.math.GeoUtil;
import org.audiveris.omr.sheet.Sheet;
import org.audiveris.omr.sheet.Staff;
import org.audiveris.omr.sheet.SystemInfo;
import org.audiveris.omr.sheet.SystemManager;
import org.audiveris.omr.sig.inter.Inter;
import org.audiveris.omr.sig.inter.Inters;
import org.audiveris.omr.sig.inter.SentenceInter;
import org.audiveris.omr.sig.relation.Relation;
import org.audiveris.omr.sig.relation.Support;
import org.audiveris.omr.util.VerticalSide;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.awt.Point;
import java.awt.Rectangle;
import java.awt.geom.Area;
import java.util.Collections;
import java.util.List;
import java.util.function.Predicate;
/**
* Class <code>CrossDetector</code> browses the horizontal gutters between systems for inters
* which overlap across systems.
*
* @author Hervé Bitteur
*/
public class CrossDetector
{
//~ Static fields/initializers -----------------------------------------------------------------
private static final Constants constants = new Constants();
private static final Logger logger = LoggerFactory.getLogger(CrossDetector.class);
//~ Instance fields ----------------------------------------------------------------------------
/** Related sheet. */
private final Sheet sheet;
//~ Constructors -------------------------------------------------------------------------------
/**
* Creates a new <code>CrossDetector</code> object.
*
* @param sheet the underlying sheet
*/
public CrossDetector (Sheet sheet)
{
this.sheet = sheet;
}
//~ Methods ------------------------------------------------------------------------------------
//--------//
// detect //
//--------//
private void detect (SystemInfo aboveSystem,
SystemInfo belowSystem)
{
// Gutter area
final Area gutter = new Area(aboveSystem.getArea());
gutter.intersect(belowSystem.getArea());
final Rectangle gutterBounds = gutter.getBounds();
// Build lists of candidates for above and for below
Predicate<Inter> predicate = (Inter inter) ->
{
if (inter.isImplicit() || (inter instanceof SentenceInter)) {
return false;
}
final Point center = inter.getCenter();
return gutterBounds.contains(center) && gutter.contains(center);
};
List<Inter> aboveInters = aboveSystem.getSig().inters(predicate);
if (aboveInters.isEmpty()) {
return;
}
List<Inter> belowInters = belowSystem.getSig().inters(predicate);
if (belowInters.isEmpty()) {
return;
}
// Cross exclusions
logger.debug(
"Cross detection between {}: {} inters and {}: {} inters",
aboveSystem,
aboveInters.size(),
belowSystem,
belowInters.size());
detectCrossOverlaps(aboveInters, belowInters);
}
//---------------------//
// detectCrossOverlaps //
//---------------------//
/**
* Detect all cases where 2 Inters actually overlap while being in separate systems.
*
* @param aboves the collection of inters to process from system above
* @param belows the collection of inters to process from system below
*/
private void detectCrossOverlaps (List<Inter> aboves,
List<Inter> belows)
{
Collections.sort(aboves, Inters.byAbscissa);
Collections.sort(belows, Inters.byAbscissa);
NextLeft:
for (Inter above : aboves) {
if (above.isRemoved()) {
continue;
}
final Rectangle aboveBox = above.getBounds();
final double xMax = aboveBox.getMaxX();
for (Inter below : belows) {
if (below.isRemoved()) {
continue;
}
Rectangle belowBox = below.getBounds();
if (aboveBox.intersects(belowBox)) {
// Have a more precise look
if (above.overlaps(below) && below.overlaps(above)) {
Inter removedInter = resolveConflict(above, below);
if (removedInter == above) {
continue NextLeft;
}
}
} else if (belowBox.x > xMax) {
break; // Since below list is sorted by abscissa
}
}
}
}
/**
* Return the distance between the provided inter and its closest partner if any.
*
* @param inter provided inter
* @return distance to its closest partner if any, MAX_VALUE otherwise
*/
private double partnerDistance (Inter inter)
{
final Point center = inter.getCenter();
final SIGraph sig = inter.getSig();
double bestD2 = Double.MAX_VALUE;
for (Relation rel : sig.getRelations(inter, Support.class)) {
Inter partner = sig.getOppositeInter(inter, rel);
Rectangle box = partner.getBounds();
double d2 = GeoUtil.ptDistanceSq(box, center.x, center.y);
bestD2 = Math.min(bestD2, d2);
}
return Math.sqrt(bestD2);
}
//---------//
// process //
//---------//
/**
* Resolve conflicts between overlapping inters from different systems.
*/
public void process ()
{
final SystemManager manager = sheet.getSystemManager();
for (SystemInfo above : sheet.getSystems()) {
for (SystemInfo below : manager.verticalNeighbors(above, VerticalSide.BOTTOM)) {
detect(above, below);
}
}
}
/**
* Resolve the conflict detected between the two provided inters.
* <p>
* We simply delete the weaker if there is any significant difference in grade.
* Otherwise we deleted the inter farther from its own staff or partnering chord
*
* @param above an inter (in system above)
* @param below an inter (in system below)
* @return the discarded inter
*/
private Inter resolveConflict (Inter above,
Inter below)
{
if (above.isVip() && below.isVip()) {
logger.info("VIP resolveConflict? {} vs {}", above, below);
}
double gradeDiff = Math.abs(above.getBestGrade() - below.getBestGrade());
if (gradeDiff >= constants.minGradeDiff.getValue()) {
Inter weaker = (above.getBestGrade() <= below.getBestGrade()) ? above : below;
if (weaker.isVip()) {
logger.info("VIP Deleting weaker {}", weaker);
}
weaker.remove();
return weaker;
} else {
final double aDist = Math.min(staffDistance(above), partnerDistance(above));
final double bDist = Math.min(staffDistance(below), partnerDistance(below));
final Inter farther = (aDist > bDist) ? above : below;
if (farther.isVip()) {
logger.info("Deleting farther {}", farther);
}
farther.remove();
return farther;
}
}
/**
* Return the distance between the provided inter and "its" staff.
*
* @param inter provided inter
* @return distance to its staff
*/
private double staffDistance (Inter inter)
{
final Point center = inter.getCenter();
Staff staff = inter.getStaff();
if (staff == null) {
staff = inter.getSig().getSystem().getClosestStaff(center);
}
return staff.distanceTo(center);
}
//~ Inner Classes ------------------------------------------------------------------------------
//-----------//
// Constants //
//-----------//
private static class Constants
extends ConstantSet
{
private final Evaluation.Grade minGradeDiff = new Evaluation.Grade(
0.1,
"Minimum difference in ctx-grade to be relevant");
}
}
| 10,038 | Java | .java | Audiveris/audiveris | 1,395 | 208 | 136 | 2016-09-07T13:31:03Z | 2024-04-18T17:20:23Z | b3967f91a88c978a2b188b508ebfe6b3e84851ece0fb65582edec8821215baf2 | [] | [
8486,
1125,
325,
222,
325,
3556,
11462,
453,
222,
325,
15922,
409,
559,
356,
328,
328,
493,
503,
292,
503,
300,
292,
356,
559,
19054,
453,
222,
325,
3556,
11462,
453,
222,
8486,
1125,
325,
222,
325,
350,
5739,
50,
8727,
1263,
1311,
366,
28757,
39,
5615,
366,
11655,
432,
222,
325,
222,
325,
244,
2657,
14416,
33857,
526,
284,
316,
244,
55,
53,
55,
56,
51,
3381,
4760,
5225,
51,
222,
325,
222,
325,
244,
1369,
3477,
458,
3760,
2951,
63,
863,
902,
14081,
580,
480,
52,
290,
5370,
580,
1549,
341,
5974,
451,
341,
222,
325,
244,
6994,
30994,
6153,
5062,
1196,
641,
9582,
829,
341,
7834,
3870,
7120,
49,
3173,
1522,
222,
325,
280,
56,
451,
341,
1196,
49,
575,
327,
288,
1390,
2489,
46,
1364,
6146,
1522,
51,
222,
325,
222,
325,
244,
1369,
3477,
458,
2744,
347,
341,
9850,
708,
580,
1118,
545,
6386,
49,
1294,
4213,
2979,
9345,
64,
222,
325,
244,
2895,
4462,
341,
4506,
14319,
451,
7934,
575,
8114,
4800,
418,
7848,
7763,
51,
222,
325,
244,
2819,
341,
6994,
30994,
6153,
5062,
1196,
456,
1851,
4261,
51,
222,
325,
222,
325,
244,
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
30994,
6153,
5062,
1196,
7979,
642,
477,
222,
325,
244,
3477,
51,
244,
1691,
666,
49,
2337,
350,
544,
574,
1516,
51,
10627,
51,
1107,
52,
4205,
28699,
222,
8486,
1125,
325,
222,
325,
594,
5739,
50,
8727,
67,
222,
1337,
1105,
51,
4474,
526,
284,
316,
51,
437,
119,
51,
5037,
64,
222,
222,
485,
1105,
51,
4474,
526,
284,
316,
51,
437,
119,
51,
19127,
51,
19633,
64,
222,
485,
1105,
51,
4474,
526,
284,
316,
51,
437,
119,
51,
8696,
51,
5476,
903,
64,
222,
485,
1105,
51,
4474,
526,
284,
316,
51,
437,
119,
51,
3851,
51,
10643,
1747,
64,
222,
485,
1105,
51,
4474,
526,
284,
316,
51,
437,
119,
51,
7161,
51,
8337,
64,
222,
485,
1105,
51,
4474,
526,
284,
316,
51,
437,
119,
51,
7161,
51,
27331,
64,
222,
485,
1105,
51,
4474,
526,
284,
316,
51,
437,
119,
51,
7161,
51,
1615,
1139,
64,
222,
485,
1105,
51,
4474,
526,
284,
316,
51,
437,
119,
51,
7161,
51,
1615,
1590,
64,
222,
485,
1105,
51,
4474,
526,
284,
316,
51,
437,
119,
51,
5037,
51,
1164,
51,
1662,
64,
222,
485,
1105,
51,
4474,
526,
284,
316,
51,
437,
119,
51,
5037,
51,
1164,
51,
1662,
120,
64,
222,
485,
1105,
51,
4474,
526,
284,
316,
51,
437,
119,
51,
5037,
51,
1164,
51,
26287,
1662,
64,
222,
485,
1105,
51,
4474,
526,
284,
316,
51,
437,
119,
51,
5037,
51,
12629,
51,
12350,
64,
222,
485,
1105,
51,
4474,
526,
284,
316,
51,
437,
119,
51,
5037,
51,
12629,
51,
4417,
64,
222,
485,
1105,
51,
4474,
526,
284,
316,
51,
437,
119,
51,
1058,
51,
11916,
7433,
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,
1401,
51,
8236,
51,
1962,
64,
222,
485,
1401,
51,
8236,
51,
12954,
64,
222,
485,
1401,
51,
8236,
51,
12338,
51,
5585,
64,
222,
485,
1401,
51,
1058,
51,
4293,
64,
222,
485,
1401,
51,
1058,
51,
739,
64,
222,
485,
1401,
51,
1058,
51,
1144,
51,
12690,
64,
222,
222,
1350,
222,
338,
1727,
350,
707,
67,
13108,
14334,
396,
707,
67,
342,
661,
1490,
341,
14828,
504,
4681,
120,
3761,
10760,
456,
1447,
120,
222,
338,
1532,
18751,
10192,
10760,
51,
222,
338,
222,
338,
496,
2133,
20364,
44605,
7600,
538,
324,
222,
588,
222,
942,
462,
19221,
14334,
222,
128,
303,
453,
131,
14352,
3844,
52,
4353,
9266,
6549,
50,
465,
964,
924,
1175,
14072,
12405,
299,
556,
14072,
492,
465,
964,
924,
1175,
7145,
4101,
299,
21818,
51,
10588,
45,
13108,
14334,
51,
842,
312,
465,
453,
131,
11619,
3844,
28275,
465,
1041,
23077,
13068,
51,
588,
303,
964,
1175,
32944,
13068,
64,
465,
453,
131,
34731,
6549,
12117,
465,
1041,
294,
338,
9308,
331,
556,
350,
707,
67,
13108,
14334,
396,
707,
67,
1319,
51,
294,
338,
294,
338,
496,
772,
13068,
341,
13289,
13068,
294,
588,
303,
581,
19221,
14334,
327,
8337,
13068,
46,
303,
320,
310,
477,
51,
7161,
299,
13068,
64,
303,
339,
465,
453,
131,
14944,
26091,
355,
465,
453,
448,
325,
303,
453,
11189,
453,
303,
453,
448,
325,
303,
964,
782,
11189,
327,
1615,
1139,
3713,
1615,
49,
674,
1189,
1139,
4834,
1615,
46,
303,
320,
310,
453,
590,
4681,
5978,
310,
1175,
21725,
504,
4681,
299,
556,
21725,
45,
23883,
1615,
51,
390,
5585,
1052,
310,
504,
4681,
51,
22217,
45,
24124,
1615,
51,
390,
5585,
1052,
603,
1175,
18092,
504,
4681,
8293,
299,
504,
4681,
51,
390,
8293,
492,
603,
453,
5256,
10411,
451,
22307,
456,
3713,
480,
456,
4834,
310,
23410,
65,
1662,
67,
14093,
299,
327,
1662,
1447,
46,
984,
310,
320,
343,
434,
327,
1164,
51,
316,
24450,
365,
1293,
327,
1164,
5118,
36429,
1662,
509,
320,
419,
461,
920,
64,
343,
339,
1083,
1175,
6460,
4216,
299,
1447,
51,
390,
7067,
492,
1083,
461,
504,
4681,
8293,
51,
4766,
45,
2413,
46,
979,
504,
4681,
51,
4766,
45,
2413,
312,
310,
1487,
603,
1701,
65,
1662,
67,
3713,
1662,
120,
299,
3713,
1615,
51,
390,
11997,
941,
1164,
120,
45,
15512,
312,
603,
434,
327,
23883,
1662,
120,
51,
6401,
1177,
320,
343,
461,
64,
310,
339,
603,
1701,
65,
1662,
67,
4834,
1662,
120,
299,
4834,
1615,
51,
390,
11997,
941,
1164,
120,
45,
15512,
312,
603,
434,
327,
24124,
1662,
120,
51,
6401,
1177,
320,
343,
461,
64,
310,
339,
603,
453,
19221,
557,
31737,
310,
4101,
51,
2824,
45,
419,
332,
13108,
13926,
3761,
2172,
63,
2172,
1447,
120,
480,
2172,
63,
2172,
1447,
120,
411,
419,
3713,
1615,
49,
419,
3713,
1662,
120,
51,
911,
1046,
419,
4834,
1615,
49,
419,
4834,
1662,
120,
51,
911,
1052,
310,
11189,
13108,
31013,
120,
45,
23883,
1662,
120,
49,
4834,
1662,
120,
312,
303,
339,
465,
453,
45503,
325,
303,
453,
11189,
13108,
31013,
120,
453,
303,
453,
45503,
325,
303,
1041,
294,
338,
25978,
1187,
6819,
2174,
244,
55,
4821,
120,
6750,
18751,
2236,
4019,
347,
8135,
10760,
51,
294,
338,
294,
338,
496,
772,
331,
730,
4973,
341,
4512,
451,
1447,
120,
391,
2183,
664,
2684,
3713,
294,
338,
496,
772,
4834,
120,
341,
4512,
451,
1447,
120,
391,
2183,
664,
2684,
4834,
294,
588,
303,
964,
782,
11189,
13108,
31013,
120,
327,
739,
65,
1662,
67,
331,
730,
4973,
49,
8506,
1701,
65,
1662,
67,
4834,
120,
46,
303,
320,
310,
15490,
51,
3349,
45,
380,
1558,
326,
49,
4821,
120,
51,
1186,
2792,
564,
47142,
312,
310,
15490,
51,
3349,
45,
24124,
120,
49,
4821,
120,
51,
1186,
2792,
564,
47142,
312,
603,
11006,
3695,
63,
310,
456,
327,
1662,
3713,
518,
331,
730,
4973,
46,
320,
343,
434,
327,
23883,
51,
316,
16971,
1177,
320,
419,
4056,
64,
343,
339,
1083,
1175,
18092,
3713,
1723,
299,
3713,
51,
390,
8293,
492,
1083,
1175,
2082,
837,
2725,
299,
3713,
1723,
51,
23742,
93,
492,
1083,
456,
327,
1662,
4834,
518,
4834,
120,
46,
320,
419,
434,
327,
24124,
51,
316,
16971,
1177,
320,
547,
4056,
64,
419,
339,
2125,
18092,
4834,
1723,
299,
4834,
51,
390,
8293,
492,
2125,
434,
327,
23883,
1723,
51,
22217,
120,
45,
24124,
1723,
509,
320,
547,
453,
16296,
331,
1851,
27522,
2803,
547,
434,
327,
23883,
51,
22896,
120,
45,
24124,
46,
979,
4834,
51,
22896,
120,
45,
23883,
509,
320,
733,
4821,
6563,
1662,
299,
5895,
19587,
45,
23883,
49,
4834,
312,
6205,
434,
327,
17572,
1662,
630,
3713,
46,
320,
1031,
4056,
11006,
3695,
64,
733,
339,
547,
339,
419,
339,
832,
434,
327,
24124,
1723,
51,
125,
868,
837,
2725,
46,
320,
547,
1644,
64,
453,
12047,
4834,
1168,
458,
8635,
829,
1419,
564,
47142,
419,
339,
343,
339,
310,
339,
303,
339,
465,
1041,
294,
338,
2762,
341,
7336,
3761,
341,
3961,
1447,
480,
2840,
18135,
25237,
434,
1364,
51,
294,
338,
294,
338,
496,
772,
1447,
3961,
1447,
294,
338,
496,
620,
7336,
391,
2840,
18135,
25237,
434,
1364,
49,
7490,
100,
5986,
5897,
294,
588,
303,
964,
2082,
25237,
8470,
327,
1662,
1447,
46,
303,
320,
310,
1175,
6460,
4216,
299,
1447,
51,
390,
7067,
492,
310,
1175,
18741,
1801,
6980,
299,
1447,
51,
390,
11997,
492,
310,
2082,
5318,
73,
55,
299,
6938,
51,
3470,
100,
5986,
64,
603,
456,
327,
12350,
1894,
518,
6980,
51,
390,
28845,
45,
1164,
49,
6332,
51,
842,
509,
320,
343,
4821,
25237,
299,
6980,
51,
390,
27300,
7791,
1662,
45,
1164,
49,
1894,
312,
343,
18092,
4410,
299,
25237,
51,
390,
8293,
492,
343,
2082,
362,
55,
299,
16287,
1747,
51,
404,
8470,
17524,
45,
1521,
49,
4216,
51,
125,
49,
4216,
51,
126,
312,
343,
5318,
73,
55,
299,
4189,
51,
907,
45,
8888,
73,
55,
49,
362,
55,
312,
310,
339,
603,
461,
4189,
51,
8750,
45,
8888,
73,
55,
312,
303,
339,
465,
453,
8298,
325,
303,
453,
2183,
453,
303,
453,
8298,
325,
303,
1041,
294,
338,
27294,
20146,
3761,
40075,
1447,
120,
664,
3473,
10760,
51,
294,
588,
303,
581,
782,
2183,
1423,
303,
320,
310,
1175,
1189,
1590,
7886,
299,
13068,
51,
29967,
1590,
492,
603,
456,
327,
1615,
1139,
3713,
518,
13068,
51,
390,
28587,
1177,
320,
343,
456,
327,
1615,
1139,
4834,
518,
7886,
51,
10160,
32502,
45,
23883,
49,
28483,
7433,
51,
27991,
509,
320,
419,
11189,
45,
23883,
49,
4834,
312,
343,
339,
310,
339,
303,
339,
465,
1041,
294,
338,
27294,
341,
11729,
14117,
3761,
341,
3161,
3961,
1447,
120,
51,
294,
338,
350,
117,
67,
294,
338,
2726,
9677,
3081,
341,
1019,
5218,
434,
2038,
458,
1364,
14762,
10609,
347,
26169,
51,
294,
338,
12783,
1019,
8133,
341,
1447,
9050,
987,
664,
2840,
4387,
24035,
575,
25237,
318,
683,
675,
294,
338,
294,
338,
496,
772,
3713,
619,
1447,
327,
285,
2684,
3713,
46,
294,
338,
496,
772,
4834,
619,
1447,
327,
285,
2684,
4834,
46,
294,
338,
496,
620,
341,
42862,
1447,
294,
588,
303,
964,
4821,
5895,
19587,
327,
1662,
3713,
49,
9129,
4821,
4834,
46,
303,
320,
310,
434,
327,
23883,
51,
316,
91,
658,
365,
979,
4834,
51,
316,
91,
658,
1177,
320,
343,
4101,
51,
1357,
459,
46297,
5895,
19587,
68,
2172,
8563,
12267,
3713,
49,
4834,
312,
310,
339,
603,
2082,
26169,
7849,
299,
4189,
51,
3615,
45,
23883,
51,
390,
15050,
25665,
365,
449,
4834,
51,
390,
15050,
25665,
1052,
603,
434,
327,
4966,
7849,
2394,
12405,
51,
907,
25665,
7849,
51,
6693,
1177,
320,
343,
4821,
1019,
5218,
299,
327,
23883,
51,
390,
15050,
25665,
365,
2527,
4834,
51,
390,
15050,
25665,
1177,
1037,
3713,
518,
4834,
64,
1083,
434,
327,
1399,
5218,
51,
316,
91,
658,
1177,
320,
419,
4101,
51,
1357,
459,
46297,
1531,
13561,
1019,
5218,
12267,
1019,
5218,
312,
343,
339,
1083,
1019,
5218,
51,
2564,
492,
1083,
461,
1019,
5218,
64,
310,
339,
832,
320,
343,
1175,
2082,
331,
4510,
299,
4189,
51,
907,
45,
15976,
8470,
45,
23883,
490,
25237,
8470,
45,
23883,
894,
343,
1175,
2082,
342,
4510,
299,
4189,
51,
907,
45,
15976,
8470,
45,
24124,
490,
25237,
8470,
45,
24124,
894,
343,
1175,
4821,
9050,
987,
299,
327,
102,
4510,
868,
342,
4510,
46,
1037,
3713,
518,
4834,
64,
1083,
434,
327,
14824,
987,
51,
316,
91,
658,
1177,
320,
419,
4101,
51,
1357,
459,
36539,
9050,
987,
12267,
9050,
987,
312,
343,
339,
1083,
9050,
987,
51,
2564,
492,
1083,
461,
9050,
987,
64,
310,
339,
303,
339,
465,
1041,
294,
338,
2762,
341,
7336,
3761,
341,
3961,
1447,
480,
332,
1526,
39,
24035,
51,
294,
338,
294,
338,
496,
772,
1447,
3961,
1447,
294,
338,
496,
620,
7336,
391,
2840,
24035,
294,
588,
303,
964,
2082,
24035,
8470,
327,
1662,
1447,
46,
303,
320,
310,
1175,
6460,
4216,
299,
1447,
51,
390,
7067,
492,
310,
48791,
24035,
299,
1447,
51,
390,
27331,
492,
603,
434,
327,
15976,
630,
762,
46,
320,
343,
24035,
299,
1447,
51,
390,
11997,
941,
29967,
941,
390,
34905,
27331,
45,
2413,
312,
310,
339,
603,
461,
24035,
51,
8069,
724,
45,
2413,
312,
303,
339,
465,
453,
131,
29323,
26172,
6549,
9001,
465,
453,
7987,
325,
303,
453,
14072,
453,
303,
453,
7987,
325,
303,
964,
924,
462,
14072,
343,
2041,
15027,
903,
303,
320,
603,
964,
1175,
32698,
51,
25665,
1865,
25665,
7849,
299,
556,
32698,
51,
25665,
45,
372,
53,
51,
54,
49,
419,
332,
13368,
10609,
347,
3708,
50,
4966,
391,
545,
10109,
742,
303,
339,
222,
130,
222
] | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
]
] | 2,115 | true | 52.918847 | true | true |
MarkPrice.java | /FileExtraction/Java_unseen/Dad-Project_JBinanceAPI/src/main/java/fr/rowlaxx/binanceapi/core/futures/marketstream/MarkPrice.java | package fr.rowlaxx.binanceapi.core.futures.marketstream;
import fr.rowlaxx.jsavon.JsavonObject;
import fr.rowlaxx.jsavon.annotations.JOValue;
public class MarkPrice extends JsavonObject {
private static final long serialVersionUID = 7348239920728473102L;
//Variables
@JOValue(key = "s")
private String symbol;
@JOValue(key = "i", mandatory = false)
private Double indexPrice;
@JOValue(key = "p")
private double markPrice;
@JOValue(key = "P")
private double estimatedSettlementPrice;
@JOValue(key = "f")
private double fundingRate;
@JOValue(key = "T")
private long nextFundingTime;
//Getters
public double getEstimatedSettlementPrice() {
return estimatedSettlementPrice;
}
public double getFundingRate() {
return fundingRate;
}
public double getIndexPrice() {
return indexPrice;
}
public double getMarkPrice() {
return markPrice;
}
public long getNextFundingTime() {
return nextFundingTime;
}
public String getSymbol() {
return symbol;
}
}
| 993 | Java | .java | Dad-Project/JBinanceAPI | 13 | 8 | 1 | 2022-03-18T23:57:18Z | 2022-06-06T21:33:15Z | e4c00ff105e310b947677e806c805834058d81e0f158da34d7345e9844627948 | [] | [
1337,
4953,
51,
661,
113,
668,
125,
51,
1793,
743,
1256,
51,
1284,
51,
43355,
51,
12343,
2255,
64,
222,
222,
485,
4953,
51,
661,
113,
668,
125,
51,
773,
472,
286,
51,
10552,
472,
286,
976,
64,
222,
485,
4953,
51,
661,
113,
668,
125,
51,
773,
472,
286,
51,
8839,
51,
16301,
899,
64,
222,
222,
942,
462,
7797,
5620,
2041,
22275,
472,
286,
976,
320,
222,
221,
2072,
924,
1175,
1964,
19896,
299,
244,
60,
56,
57,
61,
55,
56,
62,
62,
55,
53,
60,
55,
61,
57,
60,
56,
54,
53,
55,
81,
64,
499,
221,
325,
10169,
222,
221,
69,
16301,
899,
45,
697,
299,
332,
120,
678,
222,
221,
2072,
910,
6988,
64,
222,
221,
69,
16301,
899,
45,
697,
299,
332,
110,
411,
22982,
299,
920,
46,
222,
221,
2072,
6938,
1671,
5620,
64,
222,
221,
69,
16301,
899,
45,
697,
299,
332,
117,
678,
222,
221,
2072,
2082,
3658,
5620,
64,
222,
221,
69,
16301,
899,
45,
697,
299,
332,
85,
678,
222,
221,
2072,
2082,
28825,
903,
27873,
5620,
64,
222,
221,
69,
16301,
899,
45,
697,
299,
332,
107,
678,
222,
221,
2072,
2082,
45229,
5595,
64,
222,
221,
69,
16301,
899,
45,
697,
299,
332,
89,
678,
222,
221,
2072,
1964,
2371,
18970,
318,
1061,
64,
3038,
221,
325,
953,
5749,
222,
221,
942,
2082,
640,
9208,
9853,
903,
27873,
5620,
365,
320,
376,
221,
620,
28825,
903,
27873,
5620,
64,
222,
221,
130,
3038,
221,
942,
2082,
640,
18970,
318,
5595,
365,
320,
376,
221,
620,
45229,
5595,
64,
222,
221,
130,
3038,
221,
942,
2082,
640,
1301,
5620,
365,
320,
376,
221,
620,
1671,
5620,
64,
222,
221,
130,
3038,
221,
942,
2082,
640,
4503,
5620,
365,
320,
376,
221,
620,
3658,
5620,
64,
222,
221,
130,
3038,
221,
942,
1964,
36231,
18970,
318,
1061,
365,
320,
376,
221,
620,
2371,
18970,
318,
1061,
64,
222,
221,
130,
3038,
221,
942,
910,
640,
6088,
365,
320,
376,
221,
620,
6988,
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
]
] | 340 | true | 72.507553 | true | true |
CDTUCOPATHOLOGYTYPE.java | /FileExtraction/Java_unseen/taktik_icure-backend/src/main/java/org/taktik/icure/be/ehealth/dto/kmehr/v20150601/be/fgov/ehealth/standards/kmehr/cd/v1/CDTUCOPATHOLOGYTYPE.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:57 PM CEST
//
package org.taktik.icure.be.ehealth.dto.kmehr.v20150601.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-TUCO-PATHOLOGYTYPE complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="CD-TUCO-PATHOLOGYTYPE">
* <simpleContent>
* <extension base="<http://www.ehealth.fgov.be/standards/kmehr/cd/v1>CD-TUCO-PATHOLOGYTYPEvalues">
* <attribute name="S" use="required" type="{http://www.w3.org/2001/XMLSchema}string" fixed="CD-TUCO-PATHOLOGYTYPE" />
* <attribute name="SV" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="SL" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="DN" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="L" type="{http://www.w3.org/2001/XMLSchema}language" default="en" />
* </extension>
* </simpleContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CD-TUCO-PATHOLOGYTYPE", propOrder = {
"value"
})
public class CDTUCOPATHOLOGYTYPE
implements Serializable
{
private final static long serialVersionUID = 20150601L;
@XmlValue
protected CDTUCOPATHOLOGYTYPEvalues value;
@XmlAttribute(name = "S", required = true)
protected String s = "CD-TUCO-PATHOLOGYTYPE";
@XmlAttribute(name = "SV", required = true)
protected String sv = "1.1";
@XmlAttribute(name = "SL")
protected String sl;
@XmlAttribute(name = "DN")
protected String dn;
@XmlAttribute(name = "L")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "language")
protected String l;
/**
* Gets the value of the value property.
*
* @return
* possible object is
* {@link CDTUCOPATHOLOGYTYPEvalues }
*
*/
public CDTUCOPATHOLOGYTYPEvalues getValue() {
return value;
}
/**
* Sets the value of the value property.
*
* @param value
* allowed object is
* {@link CDTUCOPATHOLOGYTYPEvalues }
*
*/
public void setValue(CDTUCOPATHOLOGYTYPEvalues 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-TUCO-PATHOLOGYTYPE";
} else {
return s;
}
}
/**
* Sets the value of the s property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setS(String value) {
this.s = value;
}
/**
* Gets the value of the sv property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSV() {
return sv;
}
/**
* Sets the value of the sv property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSV(String value) {
this.sv = value;
}
/**
* Gets the value of the sl property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSL() {
return sl;
}
/**
* Sets the value of the sl property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSL(String value) {
this.sl = value;
}
/**
* Gets the value of the dn property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDN() {
return dn;
}
/**
* Sets the value of the dn property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDN(String value) {
this.dn = value;
}
/**
* Gets the value of the l property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getL() {
if (l == null) {
return "en";
} else {
return l;
}
}
/**
* Sets the value of the l property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setL(String value) {
this.l = value;
}
}
| 5,386 | Java | .java | taktik/icure-backend | 19 | 25 | 3 | 2018-03-29T12:01:32Z | 2022-11-18T08:44:46Z | 9a007064158a960eb15d2a83766777ff6cc882576e6241d822e4cc8af3128fe9 | [] | [
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,
58,
60,
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,
58,
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,
34114,
1213,
50,
42074,
2271,
3612,
94,
2333,
8667,
847,
51,
222,
338,
1676,
338,
350,
117,
67,
1338,
2434,
5379,
10299,
15834,
341,
2816,
1813,
14561,
4824,
477,
462,
51,
222,
338,
1676,
338,
350,
1023,
67,
222,
338,
568,
2176,
64,
46990,
655,
366,
4778,
50,
34114,
1213,
50,
42074,
2271,
3612,
94,
2333,
432,
222,
338,
280,
568,
2176,
64,
6681,
1795,
67,
222,
338,
281,
568,
2176,
64,
6749,
1712,
366,
43,
2176,
64,
544,
574,
1516,
51,
106,
9864,
51,
4658,
1558,
51,
883,
52,
9165,
120,
52,
112,
308,
3943,
52,
2105,
52,
123,
54,
67,
4778,
50,
34114,
1213,
50,
42074,
2271,
3612,
94,
2333,
2857,
432,
222,
338,
981,
568,
2176,
64,
4902,
655,
366,
88,
39,
813,
366,
3662,
39,
847,
15469,
544,
574,
1516,
51,
124,
56,
51,
1107,
52,
55,
53,
53,
54,
52,
29064,
130,
819,
39,
5264,
366,
4778,
50,
34114,
1213,
50,
42074,
2271,
3612,
94,
2333,
39,
1699,
222,
338,
981,
568,
2176,
64,
4902,
655,
366,
6029,
39,
813,
366,
3662,
39,
847,
15469,
544,
574,
1516,
51,
124,
56,
51,
1107,
52,
55,
53,
53,
54,
52,
29064,
130,
819,
39,
1699,
222,
338,
981,
568,
2176,
64,
4902,
655,
366,
3910,
39,
847,
15469,
544,
574,
1516,
51,
124,
56,
51,
1107,
52,
55,
53,
53,
54,
52,
29064,
130,
819,
39,
1699,
222,
338,
981,
568,
2176,
64,
4902,
655,
366,
11686,
39,
847,
15469,
544,
574,
1516,
51,
124,
56,
51,
1107,
52,
55,
53,
53,
54,
52,
29064,
130,
819,
39,
1699,
222,
338,
981,
568,
2176,
64,
4902,
655,
366,
81,
39,
847,
15469,
544,
574,
1516,
51,
124,
56,
51,
1107,
52,
55,
53,
53,
54,
52,
29064,
130,
4210,
39,
1263,
366,
291,
39,
1699,
222,
338,
281,
568,
2176,
6532,
6749,
67,
222,
338,
280,
568,
2176,
6532,
6681,
1795,
67,
222,
338,
568,
2176,
6532,
46990,
67,
222,
338,
594,
1023,
67,
222,
338,
1676,
338,
1676,
588,
222,
69,
4411,
9794,
638,
45,
4411,
41079,
51,
6457,
46,
222,
69,
40002,
45,
444,
299,
332,
4778,
50,
34114,
1213,
50,
42074,
2271,
3612,
94,
2333,
411,
7030,
2888,
299,
320,
303,
332,
872,
39,
222,
1770,
222,
942,
462,
409,
6286,
90,
1213,
42074,
2271,
3612,
94,
2333,
303,
4584,
19182,
222,
128,
465,
964,
1175,
924,
1964,
19896,
299,
244,
55,
53,
54,
58,
53,
59,
53,
54,
81,
64,
303,
496,
4411,
899,
303,
2532,
409,
6286,
90,
1213,
42074,
2271,
3612,
94,
2333,
2857,
804,
64,
303,
496,
43713,
45,
444,
299,
332,
88,
411,
2147,
299,
878,
46,
303,
2532,
910,
328,
299,
332,
4778,
50,
34114,
1213,
50,
42074,
2271,
3612,
94,
2333,
884,
303,
496,
43713,
45,
444,
299,
332,
6029,
411,
2147,
299,
878,
46,
303,
2532,
910,
5870,
299,
332,
54,
51,
54,
884,
303,
496,
43713,
45,
444,
299,
332,
3910,
678,
303,
2532,
910,
5454,
64,
303,
496,
43713,
45,
444,
299,
332,
11686,
678,
303,
2532,
910,
29751,
64,
303,
496,
43713,
45,
444,
299,
332,
81,
678,
303,
496,
4411,
5445,
638,
4433,
45,
33832,
671,
4433,
51,
842,
46,
303,
496,
26886,
638,
45,
444,
299,
332,
4210,
678,
303,
2532,
910,
475,
64,
465,
1041,
294,
338,
7132,
341,
804,
451,
341,
804,
2821,
51,
294,
338,
5402,
338,
496,
620,
294,
338,
281,
4222,
1319,
458,
294,
338,
281,
3105,
1222,
409,
6286,
90,
1213,
42074,
2271,
3612,
94,
2333,
2857,
339,
294,
338,
35399,
588,
303,
581,
409,
6286,
90,
1213,
42074,
2271,
3612,
94,
2333,
2857,
21517,
365,
320,
310,
461,
804,
64,
303,
339,
465,
1041,
294,
338,
9023,
341,
804,
451,
341,
804,
2821,
51,
294,
338,
5402,
338,
496,
772,
804,
294,
338,
281,
6671,
1319,
458,
294,
338,
281,
3105,
1222,
409,
6286,
90,
1213,
42074,
2271,
3612,
94,
2333,
2857,
339,
294,
338,
35399,
588,
303,
581,
782,
27609,
45,
4778,
34114,
1213,
42074,
2271,
3612,
94,
2333,
2857,
804,
46,
320,
310,
477,
51,
872,
299,
804,
64,
303,
339,
465,
1041,
294,
338,
7132,
341,
804,
451,
341,
328,
2821,
51,
294,
338,
5402,
338,
496,
620,
294,
338,
281,
4222,
1319,
458,
294,
338,
281,
3105,
1222,
910,
339,
294,
338,
35399,
588,
303,
581,
910,
43543,
365,
320,
310,
434,
327,
120,
630,
762,
46,
320,
343,
461,
332,
4778,
50,
34114,
1213,
50,
42074,
2271,
3612,
94,
2333,
884,
310,
339,
832,
320,
343,
461,
328,
64,
310,
339,
303,
339,
465,
1041,
294,
338,
9023,
341,
804,
451,
341,
328,
2821,
51,
294,
338,
5402,
338,
496,
772,
804,
294,
338,
281,
6671,
1319,
458,
294,
338,
281,
3105,
1222,
910,
339,
294,
338,
35399,
588,
303,
581,
782,
758,
88,
45,
671,
804,
46,
320,
310,
477,
51,
120,
299,
804,
64,
303,
339,
465,
1041,
294,
338,
7132,
341,
804,
451,
341,
5870,
2821,
51,
294,
338,
5402,
338,
496,
620,
294,
338,
281,
4222,
1319,
458,
294,
338,
281,
3105,
1222,
910,
339,
294,
338,
35399,
588,
303,
581,
910,
640,
6029,
365,
320,
310,
461,
5870,
64,
303,
339,
465,
1041,
294,
338,
9023,
341,
804,
451,
341,
5870,
2821,
51,
294,
338,
5402,
338,
496,
772,
804,
294,
338,
281,
6671,
1319,
458,
294,
338,
281,
3105,
1222,
910,
339,
294,
338,
35399,
588,
303,
581,
782,
758,
6029,
45,
671,
804,
46,
320,
310,
477,
51,
2289,
299,
804,
64,
303,
339,
465,
1041,
294,
338,
7132,
341,
804,
451,
341,
5454,
2821,
51,
294,
338,
5402,
338,
496,
620,
294,
338,
281,
4222,
1319,
458,
294,
338,
281,
3105,
1222,
910,
339,
294,
338,
35399,
588,
303,
581,
910,
640,
3910,
365,
320,
310,
461,
5454,
64,
303,
339,
465,
1041,
294,
338,
9023,
341,
804,
451,
341,
5454,
2821,
51,
294,
338,
5402,
338,
496,
772,
804,
294,
338,
281,
6671,
1319,
458,
294,
338,
281,
3105,
1222,
910,
339,
294,
338,
35399,
588,
303,
581,
782,
758,
3910,
45,
671,
804,
46,
320,
310,
477,
51,
2021,
299,
804,
64,
303,
339,
465,
1041,
294,
338,
7132,
341,
804,
451,
341,
29751,
2821,
51,
294,
338,
5402,
338,
496,
620,
294,
338,
281,
4222,
1319,
458,
294,
338,
281,
3105,
1222,
910,
339,
294,
338,
35399,
588,
303,
581,
910,
640,
11686,
365,
320,
310,
461,
29751,
64,
303,
339,
465,
1041,
294,
338,
9023,
341,
804,
451,
341,
29751,
2821,
51,
294,
338,
5402,
338,
496,
772,
804,
294,
338,
281,
6671,
1319,
458,
294,
338,
281,
3105,
1222,
910,
339,
294,
338,
35399,
588,
303,
581,
782,
758,
11686,
45,
671,
804,
46,
320,
310,
477,
51,
6156,
299,
804,
64,
303,
339,
465,
1041,
294,
338,
7132,
341,
804,
451,
341,
475,
2821,
51,
294,
338,
5402,
338,
496,
620,
294,
338,
281,
4222,
1319,
458,
294,
338,
281,
3105,
1222,
910,
339,
294,
338,
35399,
588,
303,
581,
910,
640,
81,
365,
320,
310,
434,
327,
113,
630,
762,
46,
320,
343,
461,
332,
291,
884,
310,
339,
832,
320,
343,
461,
475,
64,
310,
339,
303,
339,
465,
1041,
294,
338,
9023,
341,
804,
451,
341,
475,
2821,
51,
294,
338,
5402,
338,
496,
772,
804,
294,
338,
281,
6671,
1319,
458,
294,
338,
281,
3105,
1222,
910,
339,
294,
338,
35399,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,558 | true | 55.44003 | true | true |
CoreUtils.java | /FileExtraction/Java_unseen/GraxCode_threadtear/core/src/main/java/me/nov/threadtear/CoreUtils.java | package me.nov.threadtear;
import me.nov.threadtear.vm.VM;
import org.objectweb.asm.tree.ClassNode;
import java.lang.management.ManagementFactory;
import java.lang.management.RuntimeMXBean;
import java.util.List;
import java.util.Objects;
public class CoreUtils {
public static String getVersion() {
try {
return Objects.requireNonNull(CoreUtils.class.getPackage().getImplementationVersion());
} catch (NullPointerException e) {
return "(dev)";
}
}
public static boolean isNoverify() {
RuntimeMXBean runtimeMxBean = ManagementFactory.getRuntimeMXBean();
List<String> arguments = runtimeMxBean.getInputArguments();
return arguments.contains("-Xverify:none");
}
public static boolean isAttachable() {
try {
Class.forName("com.sun.tools.attach.VirtualMachine");
return true;
} catch (Exception e) {
return false;
}
}
public static int getClassSupport() {
VM vm = VM.constructVM(null);
int i = -1;
try {
for (i = 49; i < 60; i++) {
ClassNode cn = new ClassNode();
cn.version = i;
cn.name = String.valueOf(i);
cn.superName = "java/lang/Object";
vm.explicitlyPreload(cn);
if (vm.loadClass(cn.name) == null)
return i - 1;
}
} catch (Exception e) {
// ignore
}
return i - 1;
}
}
| 1,359 | Java | .java | GraxCode/threadtear | 870 | 125 | 32 | 2020-04-13T09:45:37Z | 2023-04-22T02:42:23Z | 5384a490d6dd5b19dc6d56da099bbefaffa026d39b643b9280e08d0469a9293b | [] | [
1337,
616,
51,
15019,
51,
3442,
538,
301,
64,
222,
222,
485,
616,
51,
15019,
51,
3442,
538,
301,
51,
3166,
51,
5064,
64,
222,
485,
1105,
51,
1491,
1857,
51,
7741,
51,
3266,
51,
1359,
1230,
64,
222,
222,
485,
1401,
51,
1600,
51,
9343,
51,
8596,
2232,
64,
222,
485,
1401,
51,
1600,
51,
9343,
51,
5061,
11747,
5358,
64,
222,
485,
1401,
51,
1058,
51,
739,
64,
222,
485,
1401,
51,
1058,
51,
6699,
64,
222,
222,
942,
462,
7357,
2769,
320,
353,
581,
924,
910,
640,
2080,
365,
320,
303,
1614,
320,
416,
461,
14592,
51,
33197,
45,
2869,
2769,
51,
842,
51,
390,
4057,
941,
390,
14631,
2080,
1052,
303,
339,
2385,
327,
26268,
503,
46,
320,
416,
461,
11616,
1920,
15534,
303,
339,
353,
339,
736,
581,
924,
1922,
458,
83,
1515,
1165,
365,
320,
303,
7324,
11747,
5358,
6098,
30242,
5358,
299,
13128,
2232,
51,
390,
5061,
11747,
5358,
492,
303,
1701,
65,
671,
67,
4228,
299,
6098,
30242,
5358,
51,
29613,
8560,
492,
303,
461,
4228,
51,
4766,
10364,
93,
6970,
63,
4129,
742,
353,
339,
736,
581,
924,
1922,
458,
14320,
463,
365,
320,
303,
1614,
320,
416,
1727,
51,
31918,
459,
527,
51,
9886,
51,
4303,
51,
9962,
51,
20960,
742,
416,
461,
878,
64,
303,
339,
2385,
327,
1002,
503,
46,
320,
416,
461,
920,
64,
303,
339,
353,
339,
736,
581,
924,
648,
27042,
4417,
365,
320,
303,
8558,
8510,
299,
8558,
51,
6322,
5064,
45,
1710,
312,
303,
648,
613,
299,
449,
54,
64,
303,
1614,
320,
416,
456,
327,
110,
299,
244,
57,
62,
64,
613,
350,
244,
59,
53,
64,
613,
2002,
320,
310,
1727,
1230,
13007,
299,
556,
1727,
1230,
492,
310,
13007,
51,
1687,
299,
613,
64,
310,
13007,
51,
444,
299,
910,
51,
9169,
45,
110,
312,
310,
13007,
51,
5282,
577,
299,
332,
1874,
52,
1600,
52,
976,
884,
310,
8510,
51,
18609,
651,
2641,
963,
45,
4999,
312,
310,
434,
327,
3166,
51,
963,
1359,
45,
4999,
51,
444,
46,
630,
762,
46,
633,
461,
613,
449,
244,
54,
64,
416,
339,
303,
339,
2385,
327,
1002,
503,
46,
320,
416,
453,
5091,
303,
339,
303,
461,
613,
449,
244,
54,
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
]
] | 377 | true | 63.576159 | true | true |
ClickListener.java | /FileExtraction/Java_unseen/phweda_MFM/src/main/java/com/github/phweda/utils/ClickListener.java | /*
* MAME FILE MANAGER - MAME resources management tool
* Copyright (c) 2011 - 2018. Author phweda : phweda1@yahoo.com
*
* 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.github.phweda.utils;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
public abstract class ClickListener extends MouseAdapter implements ActionListener {
private static final int CLICK_INTERVAL = 500;
private MouseEvent lastEvent;
private Timer timer;
public ClickListener() {
this(CLICK_INTERVAL);
}
private ClickListener(int delay) {
Integer desktopMultiClickInterval = (Integer) Toolkit.getDefaultToolkit().getDesktopProperty(
"awt.multiClickInterval");
if (desktopMultiClickInterval != null) {
delay = desktopMultiClickInterval;
}
timer = new Timer(delay, this);
}
// For testing and validation
public static void main(String[] args) {
JFrame frame = new JFrame("Double Click Test");
frame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
frame.addMouseListener(new ClickListener() {
@Override
public void singleClick(MouseEvent e) {
System.out.println("single : " + e.toString());
}
@Override
public void doubleClick(MouseEvent e) {
System.out.println("double : " + e.toString());
}
});
frame.setPreferredSize(new Dimension(200, 200));
frame.pack();
frame.setVisible(true);
}
/*
* NOTE always call super when you override this method
* to ensure double click behavior
*
*/
@Override
public void mouseClicked(MouseEvent e) {
lastEvent = e;
if (timer.isRunning() && !e.isConsumed() && e.getClickCount() > 1) {
doubleClick(lastEvent);
timer.stop();
} else {
timer.restart();
}
}
/*
* NOTE always call super when you override this method
* to ensure double click behavior
*
*/
@Override
public void actionPerformed(ActionEvent e) {
timer.stop();
singleClick(lastEvent);
}
public abstract void singleClick(MouseEvent e);
public abstract void doubleClick(MouseEvent e);
} | 3,096 | Java | .java | phweda/MFM | 42 | 3 | 2 | 2017-03-10T22:08:47Z | 2020-08-04T22:51:17Z | b670fd239aca09d8188a7d8a1476c821c32a6af1db14ab7fcaf74255204633a5 | [] | [
1127,
222,
338,
507,
3862,
10961,
33301,
21214,
449,
507,
3862,
6091,
11151,
4572,
222,
338,
2657,
327,
104,
46,
244,
55,
53,
54,
54,
449,
244,
55,
53,
54,
61,
51,
244,
6265,
2697,
124,
13739,
518,
2697,
124,
13739,
54,
69,
23626,
51,
527,
222,
338,
222,
338,
281,
1369,
3477,
458,
3760,
2951,
63,
863,
902,
14081,
580,
480,
52,
290,
5370,
222,
338,
281,
580,
1549,
341,
5974,
451,
341,
6994,
6153,
5062,
1196,
641,
9582,
829,
222,
338,
281,
341,
7834,
3870,
7120,
49,
3173,
1522,
244,
56,
451,
341,
1196,
49,
575,
222,
338,
281,
327,
288,
1390,
2489,
46,
1364,
6146,
1522,
51,
222,
338,
222,
338,
281,
1369,
3477,
458,
2744,
347,
341,
9850,
708,
580,
1118,
545,
6386,
49,
222,
338,
281,
1294,
4213,
2979,
9345,
64,
2895,
4462,
341,
4506,
14319,
451,
222,
338,
281,
7934,
575,
8114,
4800,
418,
7848,
7763,
51,
244,
2819,
341,
222,
338,
281,
6994,
6153,
5062,
1196,
456,
1851,
4261,
51,
222,
338,
222,
338,
281,
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
6153,
5062,
1196,
222,
338,
281,
7979,
642,
477,
3477,
51,
244,
1691,
666,
49,
2337,
350,
544,
574,
1516,
51,
10627,
51,
1107,
52,
4205,
28699,
222,
588,
222,
222,
1337,
785,
51,
951,
51,
853,
124,
13739,
51,
2324,
64,
222,
222,
485,
3698,
51,
5934,
7737,
222,
485,
1401,
51,
8236,
7737,
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,
6042,
4433,
64,
222,
485,
1401,
51,
8236,
51,
1585,
51,
21464,
64,
222,
222,
942,
5560,
462,
11862,
2239,
2041,
16263,
4433,
4584,
41931,
320,
303,
964,
924,
1175,
648,
409,
3164,
80,
100,
22863,
299,
244,
58,
53,
53,
64,
303,
964,
48774,
2419,
1167,
64,
303,
964,
16327,
8764,
64,
465,
581,
11862,
2239,
365,
320,
310,
477,
45,
37373,
100,
22863,
312,
303,
339,
465,
964,
11862,
2239,
45,
429,
7826,
46,
320,
310,
4418,
18744,
6230,
2668,
5766,
299,
327,
3078,
46,
34045,
51,
13729,
24291,
941,
390,
13050,
1667,
45,
419,
332,
8236,
51,
6870,
2668,
5766,
742,
310,
434,
327,
10956,
6230,
2668,
5766,
882,
762,
46,
320,
343,
7826,
299,
18744,
6230,
2668,
5766,
64,
310,
339,
310,
8764,
299,
556,
16327,
45,
7875,
49,
477,
312,
303,
339,
465,
453,
2643,
6351,
480,
6929,
303,
581,
924,
782,
2594,
45,
671,
1197,
2194,
46,
320,
310,
990,
2163,
3145,
299,
556,
990,
2163,
459,
4090,
11862,
2128,
742,
310,
3145,
51,
27356,
4187,
3786,
45,
1684,
5238,
51,
14256,
100,
586,
100,
18758,
312,
310,
3145,
51,
688,
6042,
2239,
45,
909,
11862,
2239,
365,
320,
1083,
496,
1806,
343,
581,
782,
4005,
2668,
45,
21464,
503,
46,
320,
419,
1189,
51,
560,
51,
3962,
459,
6290,
518,
332,
494,
503,
51,
3127,
1052,
343,
339,
1083,
496,
1806,
343,
581,
782,
2082,
2668,
45,
21464,
503,
46,
320,
419,
1189,
51,
560,
51,
3962,
459,
2640,
518,
332,
494,
503,
51,
3127,
1052,
343,
339,
310,
1141,
310,
3145,
51,
45046,
45,
909,
17432,
45,
55,
53,
53,
49,
244,
55,
53,
53,
894,
310,
3145,
51,
2440,
492,
310,
3145,
51,
18215,
45,
1527,
312,
303,
339,
465,
1276,
294,
338,
12125,
5198,
1495,
2615,
1429,
863,
2695,
477,
1431,
294,
338,
665,
391,
7197,
2082,
5035,
5865,
294,
338,
294,
588,
303,
496,
1806,
303,
581,
782,
8466,
14796,
45,
21464,
503,
46,
320,
310,
2419,
1167,
299,
503,
64,
310,
434,
327,
7222,
51,
48103,
365,
979,
673,
106,
51,
316,
8412,
11356,
365,
979,
503,
51,
390,
2668,
1552,
365,
868,
244,
54,
46,
320,
343,
2082,
2668,
45,
2153,
1167,
312,
343,
8764,
51,
4074,
492,
310,
339,
832,
320,
343,
8764,
51,
17498,
492,
310,
339,
303,
339,
465,
1276,
294,
338,
12125,
5198,
1495,
2615,
1429,
863,
2695,
477,
1431,
294,
338,
665,
391,
7197,
2082,
5035,
5865,
294,
338,
294,
588,
303,
496,
1806,
303,
581,
782,
29546,
45,
18126,
503,
46,
320,
310,
8764,
51,
4074,
492,
310,
4005,
2668,
45,
2153,
1167,
312,
303,
339,
465,
581,
5560,
782,
4005,
2668,
45,
21464,
503,
312,
465,
581,
5560,
782,
2082,
2668,
45,
21464,
503,
312,
222,
222,
130
] | [
[
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
]
] | 722 | true | 63.145995 | true | true |
MainActivity.java | /FileExtraction/Java_unseen/warren-bank_Android-Image-Slideshow-Screensaver/android-studio-project/Slideshow-Screensaver/src/main/java/com/github/warren_bank/slideshow_screensaver/MainActivity.java | package com.github.warren_bank.slideshow_screensaver;
import com.github.warren_bank.slideshow_screensaver.utils.RuntimePermissionUtils;
import com.bumptech.glide.MemoryCategory;
import androidx.annotation.NonNull;
import androidx.annotation.RequiresApi;
import androidx.core.app.ActivityCompat;
import androidx.core.content.ContextCompat;
import androidx.fragment.app.Fragment;
import androidx.fragment.app.FragmentActivity;
import android.content.Intent;
import android.os.Bundle;
import android.widget.Toast;
/** Displays a {@link HorizontalGalleryFragment}. */
@RequiresApi(17)
public class MainActivity extends FragmentActivity implements RuntimePermissionUtils.RuntimePermissionListener {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main_activity);
GlideApp.get(this).setMemoryCategory(MemoryCategory.HIGH);
RuntimePermissionUtils.requestPermissions(MainActivity.this, MainActivity.this);
}
// ---------------------------------------------------------------------------
// request runtime permissions
@Override
public void onRequestPermissionsResult(int requestCode, String[] permissions, int[] grantResults) {
super.onRequestPermissionsResult(requestCode, permissions, grantResults);
RuntimePermissionUtils.onRequestPermissionsResult(MainActivity.this, MainActivity.this, requestCode, permissions, grantResults);
}
@Override
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
super.onActivityResult(requestCode, resultCode, data);
RuntimePermissionUtils.onActivityResult(MainActivity.this, MainActivity.this, requestCode, resultCode, data);
}
@Override
public void onRequestPermissionsGranted() {
replaceFragment();
}
@Override
public void onRequestPermissionsDenied() {
Toast.makeText(this, getString(R.string.toast_storage_permission_denied), Toast.LENGTH_LONG).show();
}
// ---------------------------------------------------------------------------
// display horizontal gallery fragment
private void replaceFragment() {
Fragment fragment = new HorizontalGalleryFragment();
getSupportFragmentManager()
.beginTransaction()
.replace(R.id.fragment_container, fragment)
.commit();
}
}
| 2,325 | Java | .java | warren-bank/Android-Image-Slideshow-Screensaver | 9 | 1 | 0 | 2020-04-03T11:25:33Z | 2023-02-08T08:53:24Z | 6a19a6eb8a5200cb27ea452db32fadbfb33d47c54f9865dcfcbb86aa059b4a40 | [] | [
1337,
785,
51,
951,
51,
9767,
1594,
100,
8922,
51,
7277,
2276,
100,
36194,
15243,
64,
222,
222,
485,
785,
51,
951,
51,
9767,
1594,
100,
8922,
51,
7277,
2276,
100,
36194,
15243,
51,
2324,
51,
5061,
7052,
2769,
64,
222,
222,
485,
785,
51,
28097,
6646,
51,
38678,
51,
5030,
4236,
64,
222,
222,
485,
10484,
51,
4341,
51,
10082,
64,
222,
485,
10484,
51,
4341,
51,
21035,
2570,
64,
222,
485,
10484,
51,
1284,
51,
745,
51,
3697,
6823,
64,
222,
485,
10484,
51,
1284,
51,
1304,
51,
1237,
6823,
64,
222,
485,
10484,
51,
9883,
51,
745,
51,
5763,
64,
222,
485,
10484,
51,
9883,
51,
745,
51,
5763,
3697,
64,
222,
222,
485,
2616,
51,
1304,
51,
8770,
64,
222,
485,
2616,
51,
519,
51,
4775,
64,
222,
485,
2616,
51,
3872,
51,
15030,
64,
222,
222,
1350,
42557,
331,
3105,
1222,
28504,
21021,
5763,
4037,
588,
222,
69,
21035,
2570,
45,
54,
60,
46,
222,
942,
462,
37570,
2041,
18666,
3697,
4584,
7324,
7052,
2769,
51,
5061,
7052,
2239,
320,
736,
496,
1806,
353,
2532,
782,
16456,
45,
4775,
19902,
46,
320,
303,
2615,
51,
20217,
45,
20731,
312,
465,
31090,
45,
87,
51,
3106,
51,
1850,
100,
6904,
312,
303,
590,
4024,
1306,
51,
390,
45,
597,
566,
489,
5030,
4236,
45,
5030,
4236,
51,
19527,
312,
465,
7324,
7052,
2769,
51,
1375,
10967,
45,
32102,
51,
597,
49,
37570,
51,
597,
312,
353,
339,
736,
453,
40581,
353,
453,
1343,
6098,
4243,
736,
496,
1806,
353,
581,
782,
563,
1123,
10967,
1413,
45,
429,
1343,
1241,
49,
910,
1197,
4243,
49,
648,
1197,
18839,
5483,
46,
320,
303,
2615,
51,
286,
1123,
10967,
1413,
45,
1375,
1241,
49,
4243,
49,
18839,
5483,
312,
465,
7324,
7052,
2769,
51,
286,
1123,
10967,
1413,
45,
32102,
51,
597,
49,
37570,
51,
597,
49,
1343,
1241,
49,
4243,
49,
18839,
5483,
312,
353,
339,
736,
496,
1806,
353,
2532,
782,
563,
3697,
1413,
45,
429,
1343,
1241,
49,
648,
47655,
49,
11790,
727,
46,
320,
303,
2615,
51,
286,
3697,
1413,
45,
1375,
1241,
49,
47655,
49,
727,
312,
465,
7324,
7052,
2769,
51,
286,
3697,
1413,
45,
32102,
51,
597,
49,
37570,
51,
597,
49,
1343,
1241,
49,
47655,
49,
727,
312,
353,
339,
736,
496,
1806,
353,
581,
782,
563,
1123,
10967,
36914,
365,
320,
303,
7112,
5763,
492,
353,
339,
736,
496,
1806,
353,
581,
782,
563,
1123,
10967,
27185,
365,
320,
303,
15250,
51,
26139,
45,
597,
49,
26625,
45,
87,
51,
819,
51,
21399,
100,
4239,
100,
9207,
100,
5130,
4850,
490,
15250,
51,
9567,
100,
10129,
566,
2276,
492,
353,
339,
736,
453,
40581,
353,
453,
2540,
14828,
32128,
10299,
736,
964,
782,
7112,
5763,
365,
320,
303,
18666,
10299,
299,
556,
28504,
21021,
5763,
492,
303,
640,
4417,
36955,
365,
416,
657,
39118,
365,
416,
657,
3249,
45,
87,
51,
333,
51,
9883,
100,
2646,
49,
10299,
46,
416,
657,
3388,
492,
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,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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
]
] | 499 | true | 73.376344 | true | true |
NotificationManagerBean.java | /FileExtraction/Java_unseen/docdoku_docdoku-plm-server/docdoku-plm-server-ejb/src/main/java/com/docdoku/plm/server/NotificationManagerBean.java | /*
* DocDoku, Professional Open Source
* Copyright 2006 - 2020 DocDoku SARL
*
* This file is part of DocDokuPLM.
*
* DocDokuPLM 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.
*
* DocDokuPLM 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 DocDokuPLM. If not, see <http://www.gnu.org/licenses/>.
*/
package com.docdoku.plm.server;
import com.docdoku.plm.server.core.common.User;
import com.docdoku.plm.server.core.common.UserGroupKey;
import com.docdoku.plm.server.core.common.UserKey;
import com.docdoku.plm.server.core.exceptions.*;
import com.docdoku.plm.server.core.meta.TagKey;
import com.docdoku.plm.server.core.notification.TagUserGroupSubscription;
import com.docdoku.plm.server.core.notification.TagUserGroupSubscriptionKey;
import com.docdoku.plm.server.core.notification.TagUserSubscription;
import com.docdoku.plm.server.core.notification.TagUserSubscriptionKey;
import com.docdoku.plm.server.core.security.UserGroupMapping;
import com.docdoku.plm.server.core.services.INotificationManagerLocal;
import com.docdoku.plm.server.core.services.IUserManagerLocal;
import com.docdoku.plm.server.dao.SubscriptionDAO;
import com.docdoku.plm.server.dao.TagDAO;
import com.docdoku.plm.server.dao.UserDAO;
import com.docdoku.plm.server.dao.UserGroupDAO;
import javax.annotation.security.DeclareRoles;
import javax.annotation.security.RolesAllowed;
import javax.ejb.Local;
import javax.ejb.Stateless;
import javax.inject.Inject;
import javax.persistence.EntityManager;
import java.util.*;
/**
* @author Florent Garin on 07/09/16
*/
@DeclareRoles({UserGroupMapping.REGULAR_USER_ROLE_ID, UserGroupMapping.ADMIN_ROLE_ID})
@Local(INotificationManagerLocal.class)
@Stateless(name = "NotificationManagerBean")
public class NotificationManagerBean implements INotificationManagerLocal {
@Inject
private EntityManager em;
@Inject
private SubscriptionDAO subscriptionDAO;
@Inject
private TagDAO tagDAO;
@Inject
private UserDAO userDAO;
@Inject
private UserGroupDAO userGroupDAO;
@Inject
private IUserManagerLocal userManager;
@RolesAllowed(UserGroupMapping.REGULAR_USER_ROLE_ID)
@Override
public TagUserSubscription subscribeToTagEvent(String pWorkspaceId, String pLabel, boolean pOnIterationChange, boolean pOnStateChange) throws UserNotFoundException, UserNotActiveException, WorkspaceNotFoundException, TagNotFoundException, WorkspaceNotEnabledException {
User user = userManager.checkWorkspaceReadAccess(pWorkspaceId);
TagUserSubscription subscription = new TagUserSubscription(
tagDAO.loadTag(new TagKey(pWorkspaceId, pLabel)),
user,
pOnIterationChange, pOnStateChange);
return subscriptionDAO.saveTagUserSubscription(subscription);
}
@RolesAllowed(UserGroupMapping.REGULAR_USER_ROLE_ID)
@Override
public void unsubscribeToTagEvent(String pWorkspaceId, String pLabel) throws UserNotFoundException, UserNotActiveException, WorkspaceNotFoundException, WorkspaceNotEnabledException {
User user = userManager.checkWorkspaceReadAccess(pWorkspaceId);
subscriptionDAO.removeTagUserSubscription(new TagUserSubscriptionKey(pWorkspaceId, user.getLogin(), pLabel));
}
@RolesAllowed(UserGroupMapping.REGULAR_USER_ROLE_ID)
@Override
public TagUserSubscription createOrUpdateTagUserSubscription(String pWorkspaceId, String pLogin, String pLabel, boolean pOnIterationChange, boolean pOnStateChange) throws UserNotFoundException, UserNotActiveException, WorkspaceNotFoundException, AccessRightException, TagNotFoundException, WorkspaceNotEnabledException {
User user = userManager.checkWorkspaceReadAccess(pWorkspaceId);
// Check if it is the workspace's administrator
if (user.isAdministrator()) {
TagUserSubscription subscription = new TagUserSubscription(
tagDAO.loadTag(new TagKey(pWorkspaceId, pLabel)),
userDAO.loadUser(new UserKey(pWorkspaceId, pLogin)),
pOnIterationChange, pOnStateChange);
return subscriptionDAO.saveTagUserSubscription(subscription);
} else {
// Else throw a AccessRightException
throw new AccessRightException(user);
}
}
@RolesAllowed(UserGroupMapping.REGULAR_USER_ROLE_ID)
@Override
public TagUserGroupSubscription createOrUpdateTagUserGroupSubscription(String pWorkspaceId, String pId, String pLabel, boolean pOnIterationChange, boolean pOnStateChange) throws UserNotFoundException, UserNotActiveException, WorkspaceNotFoundException, AccessRightException, TagNotFoundException, UserGroupNotFoundException, WorkspaceNotEnabledException {
User user = userManager.checkWorkspaceReadAccess(pWorkspaceId);
// Check if it is the workspace's administrator
if (user.isAdministrator()) {
TagUserGroupSubscription subscription = new TagUserGroupSubscription(
tagDAO.loadTag(new TagKey(pWorkspaceId, pLabel)),
userGroupDAO.loadUserGroup(new UserGroupKey(pWorkspaceId, pId)),
pOnIterationChange, pOnStateChange);
return subscriptionDAO.saveTagUserGroupSubscription(subscription);
} else {
// Else throw a AccessRightException
throw new AccessRightException(user);
}
}
@RolesAllowed(UserGroupMapping.REGULAR_USER_ROLE_ID)
@Override
public void removeTagUserSubscription(String pWorkspaceId, String pLogin, String pLabel) throws AccessRightException, UserNotFoundException, UserNotActiveException, WorkspaceNotFoundException, WorkspaceNotEnabledException {
User user = userManager.checkWorkspaceReadAccess(pWorkspaceId);
// Check if it is the workspace's administrator
if (user.isAdministrator()) {
subscriptionDAO.removeTagUserSubscription(new TagUserSubscriptionKey(pWorkspaceId, pLogin, pLabel));
} else {
// Else throw a AccessRightException
throw new AccessRightException(user);
}
}
@RolesAllowed(UserGroupMapping.REGULAR_USER_ROLE_ID)
@Override
public void removeAllTagSubscriptions(String pWorkspaceId, String pLabel) throws TagNotFoundException, AccessRightException, UserNotFoundException, UserNotActiveException, WorkspaceNotFoundException, WorkspaceNotEnabledException {
User user = userManager.checkWorkspaceReadAccess(pWorkspaceId);
// Check if it is the workspace's administrator
if (user.isAdministrator()) {
subscriptionDAO.removeAllTagSubscriptions(tagDAO.loadTag(new TagKey(pWorkspaceId, pLabel)));
} else {
// Else throw a AccessRightException
throw new AccessRightException(user);
}
}
@RolesAllowed(UserGroupMapping.REGULAR_USER_ROLE_ID)
@Override
public void removeAllTagUserSubscriptions(String pWorkspaceId, String pLogin) throws UserNotFoundException, UserNotActiveException, WorkspaceNotFoundException, AccessRightException, WorkspaceNotEnabledException {
User user = userManager.checkWorkspaceReadAccess(pWorkspaceId);
// Check if it is the workspace's administrator
if (user.isAdministrator()) {
subscriptionDAO.removeAllTagSubscriptions(userDAO.loadUser(new UserKey(pWorkspaceId, pLogin)));
} else {
// Else throw a AccessRightException
throw new AccessRightException(user);
}
}
@RolesAllowed(UserGroupMapping.REGULAR_USER_ROLE_ID)
@Override
public void removeAllTagUserGroupSubscriptions(String pWorkspaceId, String pGroupId) throws UserNotFoundException, UserNotActiveException, WorkspaceNotFoundException, UserGroupNotFoundException, AccessRightException, WorkspaceNotEnabledException {
User user = userManager.checkWorkspaceReadAccess(pWorkspaceId);
// Check if it is the workspace's administrator
if (user.isAdministrator()) {
subscriptionDAO.removeAllTagSubscriptions(userGroupDAO.loadUserGroup(new UserGroupKey(pWorkspaceId, pGroupId)));
} else {
// Else throw a AccessRightException
throw new AccessRightException(user);
}
}
@RolesAllowed(UserGroupMapping.REGULAR_USER_ROLE_ID)
@Override
public void removeAllSubscriptions(String pWorkspaceId, String pLogin) throws UserNotFoundException, UserNotActiveException, WorkspaceNotFoundException, AccessRightException, WorkspaceNotEnabledException {
User user = userManager.checkWorkspaceReadAccess(pWorkspaceId);
// Check if it is the workspace's administrator
if (user.isAdministrator()) {
subscriptionDAO.removeAllSubscriptions(userDAO.loadUser(new UserKey(pWorkspaceId, pLogin)));
} else {
// Else throw a AccessRightException
throw new AccessRightException(user);
}
}
@RolesAllowed(UserGroupMapping.REGULAR_USER_ROLE_ID)
@Override
public void removeTagUserGroupSubscription(String pWorkspaceId, String pId, String pLabel) throws UserNotFoundException, UserNotActiveException, WorkspaceNotFoundException, AccessRightException, WorkspaceNotEnabledException {
User user = userManager.checkWorkspaceReadAccess(pWorkspaceId);
// Check if it is the workspace's administrator
if (user.isAdministrator()) {
subscriptionDAO.removeTagUserGroupSubscription(new TagUserGroupSubscriptionKey(pWorkspaceId, pId, pLabel));
} else {
// Else throw a AccessRightException
throw new AccessRightException(user);
}
}
@RolesAllowed(UserGroupMapping.REGULAR_USER_ROLE_ID)
@Override
public List<TagUserGroupSubscription> getTagUserGroupSubscriptionsByGroup(String pWorkspaceId, String pId) throws UserNotFoundException, UserNotActiveException, WorkspaceNotFoundException, AccessRightException, UserGroupNotFoundException, WorkspaceNotEnabledException {
User user = userManager.checkWorkspaceReadAccess(pWorkspaceId);
// Check if it is the workspace's administrator
if (user.isAdministrator()) {
return subscriptionDAO.getTagUserGroupSubscriptionsByGroup(userGroupDAO.loadUserGroup(new UserGroupKey(pWorkspaceId, pId)));
} else {
// Else throw a AccessRightException
throw new AccessRightException(user);
}
}
@RolesAllowed(UserGroupMapping.REGULAR_USER_ROLE_ID)
@Override
public List<TagUserSubscription> getTagUserSubscriptionsByUser(String pWorkspaceId, String pLogin) throws AccessRightException, UserNotFoundException, UserNotActiveException, WorkspaceNotFoundException, WorkspaceNotEnabledException {
User user = userManager.checkWorkspaceReadAccess(pWorkspaceId);
// Check if it is the workspace's administrator
if (user.isAdministrator()) {
return subscriptionDAO.getTagUserSubscriptionsByUser(userDAO.loadUser(new UserKey(pWorkspaceId, pLogin)));
} else {
// Else throw a AccessRightException
throw new AccessRightException(user);
}
}
@RolesAllowed(UserGroupMapping.REGULAR_USER_ROLE_ID)
@Override
public Collection<User> getSubscribersForTag(String pWorkspaceId, String pLabel) {
Set<User> users=new HashSet<>();
List<User> listUsers = em.createNamedQuery("TagUserSubscription.findSubscribersByTags", User.class)
.setParameter("workspaceId", pWorkspaceId)
.setParameter("tags", Collections.singletonList(pLabel))
.getResultList();
users.addAll(listUsers);
listUsers = em.createNamedQuery("TagUserGroupSubscription.findSubscribersByTags", User.class)
.setParameter("workspaceId", pWorkspaceId)
.setParameter("tags", Collections.singletonList(pLabel))
.getResultList();
users.addAll(listUsers);
return users;
}
}
| 12,482 | Java | .java | docdoku/docdoku-plm-server | 11 | 10 | 1 | 2020-09-17T13:17:18Z | 2023-07-24T15:58:52Z | 22479f9a17dfec75e2f0a5893834240ad25e710879bd34538deef3f2b57c5f95 | [] | [
1127,
222,
338,
11235,
73,
12232,
49,
45463,
3944,
6391,
222,
338,
2657,
244,
55,
53,
53,
59,
449,
244,
55,
53,
55,
53,
11235,
73,
12232,
377,
802,
81,
222,
338,
222,
338,
1369,
822,
458,
1760,
451,
11235,
73,
12232,
2759,
82,
51,
222,
338,
222,
338,
11235,
73,
12232,
2759,
82,
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,
11235,
73,
12232,
2759,
82,
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,
11235,
73,
12232,
2759,
82,
51,
244,
1691,
666,
49,
2337,
350,
544,
574,
1516,
51,
10627,
51,
1107,
52,
4205,
28699,
222,
588,
222,
1337,
785,
51,
1446,
105,
12232,
51,
576,
114,
51,
1805,
64,
222,
222,
485,
785,
51,
1446,
105,
12232,
51,
576,
114,
51,
1805,
51,
1284,
51,
2297,
51,
1259,
64,
222,
485,
785,
51,
1446,
105,
12232,
51,
576,
114,
51,
1805,
51,
1284,
51,
2297,
51,
1259,
1582,
971,
64,
222,
485,
785,
51,
1446,
105,
12232,
51,
576,
114,
51,
1805,
51,
1284,
51,
2297,
51,
1259,
971,
64,
222,
485,
785,
51,
1446,
105,
12232,
51,
576,
114,
51,
1805,
51,
1284,
51,
11453,
7737,
222,
485,
785,
51,
1446,
105,
12232,
51,
576,
114,
51,
1805,
51,
1284,
51,
2874,
51,
2649,
971,
64,
222,
485,
785,
51,
1446,
105,
12232,
51,
576,
114,
51,
1805,
51,
1284,
51,
8855,
51,
2649,
1259,
1582,
8861,
64,
222,
485,
785,
51,
1446,
105,
12232,
51,
576,
114,
51,
1805,
51,
1284,
51,
8855,
51,
2649,
1259,
1582,
8861,
971,
64,
222,
485,
785,
51,
1446,
105,
12232,
51,
576,
114,
51,
1805,
51,
1284,
51,
8855,
51,
2649,
1259,
8861,
64,
222,
485,
785,
51,
1446,
105,
12232,
51,
576,
114,
51,
1805,
51,
1284,
51,
8855,
51,
2649,
1259,
8861,
971,
64,
222,
485,
785,
51,
1446,
105,
12232,
51,
576,
114,
51,
1805,
51,
1284,
51,
4386,
51,
1259,
1582,
4815,
64,
222,
485,
785,
51,
1446,
105,
12232,
51,
576,
114,
51,
1805,
51,
1284,
51,
4270,
51,
540,
385,
1884,
1590,
3340,
64,
222,
485,
785,
51,
1446,
105,
12232,
51,
576,
114,
51,
1805,
51,
1284,
51,
4270,
51,
78,
1259,
1590,
3340,
64,
222,
485,
785,
51,
1446,
105,
12232,
51,
576,
114,
51,
1805,
51,
13974,
51,
8861,
12909,
64,
222,
485,
785,
51,
1446,
105,
12232,
51,
576,
114,
51,
1805,
51,
13974,
51,
2649,
12909,
64,
222,
485,
785,
51,
1446,
105,
12232,
51,
576,
114,
51,
1805,
51,
13974,
51,
1259,
12909,
64,
222,
485,
785,
51,
1446,
105,
12232,
51,
576,
114,
51,
1805,
51,
13974,
51,
1259,
1582,
12909,
64,
222,
222,
485,
3698,
51,
4341,
51,
4386,
51,
33010,
12840,
64,
222,
485,
3698,
51,
4341,
51,
4386,
51,
12840,
12764,
64,
222,
485,
3698,
51,
106,
11663,
51,
3340,
64,
222,
485,
3698,
51,
106,
11663,
51,
1095,
2290,
64,
222,
485,
3698,
51,
10287,
51,
8836,
64,
222,
485,
3698,
51,
10782,
51,
31972,
64,
222,
485,
1401,
51,
1058,
7737,
222,
222,
1350,
222,
338,
496,
2133,
525,
335,
16538,
43681,
285,
563,
244,
53,
60,
52,
53,
62,
52,
54,
59,
222,
588,
222,
69,
33010,
12840,
1389,
1259,
1582,
4815,
51,
4747,
7167,
100,
4991,
100,
17476,
100,
798,
49,
2694,
1582,
4815,
51,
15805,
100,
17476,
100,
798,
1770,
222,
69,
3340,
45,
540,
385,
1884,
1590,
3340,
51,
842,
46,
222,
69,
1095,
2290,
45,
444,
299,
332,
6258,
1590,
5358,
678,
222,
942,
462,
14387,
1590,
5358,
4584,
1255,
385,
1884,
1590,
3340,
320,
465,
496,
8836,
303,
964,
7276,
1590,
2667,
64,
465,
496,
8836,
303,
964,
18851,
12909,
10772,
12909,
64,
465,
496,
8836,
303,
964,
9147,
12909,
2621,
12909,
64,
465,
496,
8836,
303,
964,
2694,
12909,
1275,
12909,
64,
465,
496,
8836,
303,
964,
2694,
1582,
12909,
1275,
1582,
12909,
64,
465,
496,
8836,
303,
964,
457,
1259,
1590,
3340,
1275,
1590,
64,
465,
496,
12840,
12764,
45,
1259,
1582,
4815,
51,
4747,
7167,
100,
4991,
100,
17476,
100,
798,
46,
303,
496,
1806,
303,
581,
9147,
1259,
8861,
20636,
724,
2649,
1167,
45,
671,
317,
15292,
625,
49,
910,
317,
2186,
49,
1922,
317,
1501,
21898,
1810,
49,
1922,
317,
1501,
36007,
46,
2589,
2694,
9941,
49,
2694,
1355,
4091,
1002,
49,
33128,
9941,
49,
9147,
9941,
49,
33128,
1355,
4006,
1002,
320,
310,
2694,
1275,
299,
1275,
1590,
51,
1571,
15292,
2248,
2807,
45,
117,
15292,
625,
312,
310,
9147,
1259,
8861,
10772,
299,
556,
9147,
1259,
8861,
45,
419,
2621,
12909,
51,
963,
2649,
45,
909,
9147,
971,
45,
117,
15292,
625,
49,
317,
2186,
3684,
419,
1275,
49,
419,
317,
1501,
21898,
1810,
49,
317,
1501,
36007,
312,
310,
461,
10772,
12909,
51,
2882,
2649,
1259,
8861,
45,
10740,
312,
303,
339,
4054,
496,
12840,
12764,
45,
1259,
1582,
4815,
51,
4747,
7167,
100,
4991,
100,
17476,
100,
798,
46,
303,
496,
1806,
303,
581,
782,
42726,
724,
2649,
1167,
45,
671,
317,
15292,
625,
49,
910,
317,
2186,
46,
2589,
2694,
9941,
49,
2694,
1355,
4091,
1002,
49,
33128,
9941,
49,
33128,
1355,
4006,
1002,
320,
310,
2694,
1275,
299,
1275,
1590,
51,
1571,
15292,
2248,
2807,
45,
117,
15292,
625,
312,
310,
10772,
12909,
51,
2564,
2649,
1259,
8861,
45,
909,
9147,
1259,
8861,
971,
45,
117,
15292,
625,
49,
1275,
51,
390,
5333,
1046,
317,
2186,
894,
303,
339,
465,
496,
12840,
12764,
45,
1259,
1582,
4815,
51,
4747,
7167,
100,
4991,
100,
17476,
100,
798,
46,
303,
496,
1806,
303,
581,
9147,
1259,
8861,
1506,
24861,
2649,
1259,
8861,
45,
671,
317,
15292,
625,
49,
910,
317,
5333,
49,
910,
317,
2186,
49,
1922,
317,
1501,
21898,
1810,
49,
1922,
317,
1501,
36007,
46,
2589,
2694,
9941,
49,
2694,
1355,
4091,
1002,
49,
33128,
9941,
49,
8275,
4058,
1002,
49,
9147,
9941,
49,
33128,
1355,
4006,
1002,
320,
310,
2694,
1275,
299,
1275,
1590,
51,
1571,
15292,
2248,
2807,
45,
117,
15292,
625,
312,
310,
453,
3471,
434,
580,
458,
341,
13571,
1200,
25486,
310,
434,
327,
514,
51,
316,
32181,
1177,
320,
343,
9147,
1259,
8861,
10772,
299,
556,
9147,
1259,
8861,
45,
547,
2621,
12909,
51,
963,
2649,
45,
909,
9147,
971,
45,
117,
15292,
625,
49,
317,
2186,
3684,
547,
1275,
12909,
51,
963,
1259,
45,
909,
2694,
971,
45,
117,
15292,
625,
49,
317,
5333,
3684,
547,
317,
1501,
21898,
1810,
49,
317,
1501,
36007,
312,
343,
461,
10772,
12909,
51,
2882,
2649,
1259,
8861,
45,
10740,
312,
310,
339,
832,
320,
343,
453,
24170,
1440,
331,
8275,
4058,
1002,
343,
1440,
556,
8275,
4058,
1002,
45,
514,
312,
310,
339,
303,
339,
465,
496,
12840,
12764,
45,
1259,
1582,
4815,
51,
4747,
7167,
100,
4991,
100,
17476,
100,
798,
46,
303,
496,
1806,
303,
581,
9147,
1259,
1582,
8861,
1506,
24861,
2649,
1259,
1582,
8861,
45,
671,
317,
15292,
625,
49,
910,
317,
625,
49,
910,
317,
2186,
49,
1922,
317,
1501,
21898,
1810,
49,
1922,
317,
1501,
36007,
46,
2589,
2694,
9941,
49,
2694,
1355,
4091,
1002,
49,
33128,
9941,
49,
8275,
4058,
1002,
49,
9147,
9941,
49,
2694,
1582,
9941,
49,
33128,
1355,
4006,
1002,
320,
310,
2694,
1275,
299,
1275,
1590,
51,
1571,
15292,
2248,
2807,
45,
117,
15292,
625,
312,
310,
453,
3471,
434,
580,
458,
341,
13571,
1200,
25486,
310,
434,
327,
514,
51,
316,
32181,
1177,
320,
343,
9147,
1259,
1582,
8861,
10772,
299,
556,
9147,
1259,
1582,
8861,
45,
547,
2621,
12909,
51,
963,
2649,
45,
909,
9147,
971,
45,
117,
15292,
625,
49,
317,
2186,
3684,
547,
1275,
1582,
12909,
51,
963,
1259,
1582,
45,
909,
2694,
1582,
971,
45,
117,
15292,
625,
49,
317,
625,
3684,
547,
317,
1501,
21898,
1810,
49,
317,
1501,
36007,
312,
343,
461,
10772,
12909,
51,
2882,
2649,
1259,
1582,
8861,
45,
10740,
312,
310,
339,
832,
320,
343,
453,
24170,
1440,
331,
8275,
4058,
1002,
343,
1440,
556,
8275,
4058,
1002,
45,
514,
312,
310,
339,
303,
339,
465,
496,
12840,
12764,
45,
1259,
1582,
4815,
51,
4747,
7167,
100,
4991,
100,
17476,
100,
798,
46,
303,
496,
1806,
303,
581,
782,
3365,
2649,
1259,
8861,
45,
671,
317,
15292,
625,
49,
910,
317,
5333,
49,
910,
317,
2186,
46,
2589,
8275,
4058,
1002,
49,
2694,
9941,
49,
2694,
1355,
4091,
1002,
49,
33128,
9941,
49,
33128,
1355,
4006,
1002,
320,
310,
2694,
1275,
299,
1275,
1590,
51,
1571,
15292,
2248,
2807,
45,
117,
15292,
625,
312,
310,
453,
3471,
434,
580,
458,
341,
13571,
1200,
25486,
310,
434,
327,
514,
51,
316,
32181,
1177,
320,
343,
10772,
12909,
51,
2564,
2649,
1259,
8861,
45,
909,
9147,
1259,
8861,
971,
45,
117,
15292,
625,
49,
317,
5333,
49,
317,
2186,
894,
310,
339,
832,
320,
343,
453,
24170,
1440,
331,
8275,
4058,
1002,
343,
1440,
556,
8275,
4058,
1002,
45,
514,
312,
310,
339,
303,
339,
465,
496,
12840,
12764,
45,
1259,
1582,
4815,
51,
4747,
7167,
100,
4991,
100,
17476,
100,
798,
46,
303,
496,
1806,
303,
581,
782,
3365,
1947,
2649,
21751,
45,
671,
317,
15292,
625,
49,
910,
317,
2186,
46,
2589,
9147,
9941,
49,
8275,
4058,
1002,
49,
2694,
9941,
49,
2694,
1355,
4091,
1002,
49,
33128,
9941,
49,
33128,
1355,
4006,
1002,
320,
310,
2694,
1275,
299,
1275,
1590,
51,
1571,
15292,
2248,
2807,
45,
117,
15292,
625,
312,
310,
453,
3471,
434,
580,
458,
341,
13571,
1200,
25486,
310,
434,
327,
514,
51,
316,
32181,
1177,
320,
343,
10772,
12909,
51,
28768,
2649,
21751,
45,
2159,
12909,
51,
963,
2649,
45,
909,
9147,
971,
45,
117,
15292,
625,
49,
317,
2186,
4254,
310,
339,
832,
320,
343,
453,
24170,
1440,
331,
8275,
4058,
1002,
343,
1440,
556,
8275,
4058,
1002,
45,
514,
312,
310,
339,
303,
339,
465,
496,
12840,
12764,
45,
1259,
1582,
4815,
51,
4747,
7167,
100,
4991,
100,
17476,
100,
798,
46,
303,
496,
1806,
303,
581,
782,
3365,
1947,
2649,
1259,
21751,
45,
671,
317,
15292,
625,
49,
910,
317,
5333,
46,
2589,
2694,
9941,
49,
2694,
1355,
4091,
1002,
49,
33128,
9941,
49,
8275,
4058,
1002,
49,
33128,
1355,
4006,
1002,
320,
310,
2694,
1275,
299,
1275,
1590,
51,
1571,
15292,
2248,
2807,
45,
117,
15292,
625,
312,
310,
453,
3471,
434,
580,
458,
341,
13571,
1200,
25486,
310,
434,
327,
514,
51,
316,
32181,
1177,
320,
343,
10772,
12909,
51,
28768,
2649,
21751,
45,
514,
12909,
51,
963,
1259,
45,
909,
2694,
971,
45,
117,
15292,
625,
49,
317,
5333,
4254,
310,
339,
832,
320,
343,
453,
24170,
1440,
331,
8275,
4058,
1002,
343,
1440,
556,
8275,
4058,
1002,
45,
514,
312,
310,
339,
303,
339,
465,
496,
12840,
12764,
45,
1259,
1582,
4815,
51,
4747,
7167,
100,
4991,
100,
17476,
100,
798,
46,
303,
496,
1806,
303,
581,
782,
3365,
1947,
2649,
1259,
1582,
21751,
45,
671,
317,
15292,
625,
49,
910,
317,
19794,
46,
2589,
2694,
9941,
49,
2694,
1355,
4091,
1002,
49,
33128,
9941,
49,
2694,
1582,
9941,
49,
8275,
4058,
1002,
49,
33128,
1355,
4006,
1002,
320,
310,
2694,
1275,
299,
1275,
1590,
51,
1571,
15292,
2248,
2807,
45,
117,
15292,
625,
312,
310,
453,
3471,
434,
580,
458,
341,
13571,
1200,
25486,
310,
434,
327,
514,
51,
316,
32181,
1177,
320,
343,
10772,
12909,
51,
28768,
2649,
21751,
45,
514,
1582,
12909,
51,
963,
1259,
1582,
45,
909,
2694,
1582,
971,
45,
117,
15292,
625,
49,
317,
19794,
4254,
310,
339,
832,
320,
343,
453,
24170,
1440,
331,
8275,
4058,
1002,
343,
1440,
556,
8275,
4058,
1002,
45,
514,
312,
310,
339,
303,
339,
465,
496,
12840,
12764,
45,
1259,
1582,
4815,
51,
4747,
7167,
100,
4991,
100,
17476,
100,
798,
46,
303,
496,
1806,
303,
581,
782,
3365,
1947,
21751,
45,
671,
317,
15292,
625,
49,
910,
317,
5333,
46,
2589,
2694,
9941,
49,
2694,
1355,
4091,
1002,
49,
33128,
9941,
49,
8275,
4058,
1002,
49,
33128,
1355,
4006,
1002,
320,
310,
2694,
1275,
299,
1275,
1590,
51,
1571,
15292,
2248,
2807,
45,
117,
15292,
625,
312,
310,
453,
3471,
434,
580,
458,
341,
13571,
1200,
25486,
310,
434,
327,
514,
51,
316,
32181,
1177,
320,
343,
10772,
12909,
51,
28768,
21751,
45,
514,
12909,
51,
963,
1259,
45,
909,
2694,
971,
45,
117,
15292,
625,
49,
317,
5333,
4254,
310,
339,
832,
320,
343,
453,
24170,
1440,
331,
8275,
4058,
1002,
343,
1440,
556,
8275,
4058,
1002,
45,
514,
312,
310,
339,
303,
339,
465,
496,
12840,
12764,
45,
1259,
1582,
4815,
51,
4747,
7167,
100,
4991,
100,
17476,
100,
798,
46,
303,
496,
1806,
303,
581,
782,
3365,
2649,
1259,
1582,
8861,
45,
671,
317,
15292,
625,
49,
910,
317,
625,
49,
910,
317,
2186,
46,
2589,
2694,
9941,
49,
2694,
1355,
4091,
1002,
49,
33128,
9941,
49,
8275,
4058,
1002,
49,
33128,
1355,
4006,
1002,
320,
310,
2694,
1275,
299,
1275,
1590,
51,
1571,
15292,
2248,
2807,
45,
117,
15292,
625,
312,
310,
453,
3471,
434,
580,
458,
341,
13571,
1200,
25486,
310,
434,
327,
514,
51,
316,
32181,
1177,
320,
343,
10772,
12909,
51,
2564,
2649,
1259,
1582,
8861,
45,
909,
9147,
1259,
1582,
8861,
971,
45,
117,
15292,
625,
49,
317,
625,
49,
317,
2186,
894,
310,
339,
832,
320,
343,
453,
24170,
1440,
331,
8275,
4058,
1002,
343,
1440,
556,
8275,
4058,
1002,
45,
514,
312,
310,
339,
303,
339,
465,
496,
12840,
12764,
45,
1259,
1582,
4815,
51,
4747,
7167,
100,
4991,
100,
17476,
100,
798,
46,
303,
496,
1806,
303,
581,
1701,
65,
2649,
1259,
1582,
8861,
67,
640,
2649,
1259,
1582,
21751,
1103,
1582,
45,
671,
317,
15292,
625,
49,
910,
317,
625,
46,
2589,
2694,
9941,
49,
2694,
1355,
4091,
1002,
49,
33128,
9941,
49,
8275,
4058,
1002,
49,
2694,
1582,
9941,
49,
33128,
1355,
4006,
1002,
320,
310,
2694,
1275,
299,
1275,
1590,
51,
1571,
15292,
2248,
2807,
45,
117,
15292,
625,
312,
310,
453,
3471,
434,
580,
458,
341,
13571,
1200,
25486,
310,
434,
327,
514,
51,
316,
32181,
1177,
320,
343,
461,
10772,
12909,
51,
36638,
1259,
1582,
21751,
1103,
1582,
45,
514,
1582,
12909,
51,
963,
1259,
1582,
45,
909,
2694,
1582,
971,
45,
117,
15292,
625,
49,
317,
625,
4254,
310,
339,
832,
320,
343,
453,
24170,
1440,
331,
8275,
4058,
1002,
343,
1440,
556,
8275,
4058,
1002,
45,
514,
312,
310,
339,
303,
339,
465,
496,
12840,
12764,
45,
1259,
1582,
4815,
51,
4747,
7167,
100,
4991,
100,
17476,
100,
798,
46,
303,
496,
1806,
303,
581,
1701,
65,
2649,
1259,
8861,
67,
640,
2649,
1259,
21751,
47989,
45,
671,
317,
15292,
625,
49,
910,
317,
5333,
46,
2589,
8275,
4058,
1002,
49,
2694,
9941,
49,
2694,
1355,
4091,
1002,
49,
33128,
9941,
49,
33128,
1355,
4006,
1002,
320,
310,
2694,
1275,
299,
1275,
1590,
51,
1571,
15292,
2248,
2807,
45,
117,
15292,
625,
312,
310,
453,
3471,
434,
580,
458,
341,
13571,
1200,
25486,
310,
434,
327,
514,
51,
316,
32181,
1177,
320,
343,
461,
10772,
12909,
51,
36638,
1259,
21751,
47989,
45,
514,
12909,
51,
963,
1259,
45,
909,
2694,
971,
45,
117,
15292,
625,
49,
317,
5333,
4254,
310,
339,
832,
320,
343,
453,
24170,
1440,
331,
8275,
4058,
1002,
343,
1440,
556,
8275,
4058,
1002,
45,
514,
312,
310,
339,
303,
339,
465,
496,
12840,
12764,
45,
1259,
1582,
4815,
51,
4747,
7167,
100,
4991,
100,
17476,
100,
798,
46,
303,
496,
1806,
303,
581,
7380,
65,
1259,
67,
640,
1736,
22526,
1580,
2649,
45,
671,
317,
15292,
625,
49,
910,
317,
2186,
46,
320,
310,
1776,
65,
1259,
67,
4272,
66,
909,
14253,
6984,
603,
1701,
65,
1259,
67,
1168,
3715,
299,
2667,
51,
1315,
11061,
1643,
459,
2649,
1259,
8861,
51,
1828,
1736,
22526,
1103,
6763,
411,
2694,
51,
842,
46,
419,
657,
31887,
459,
10912,
625,
411,
317,
15292,
625,
46,
419,
657,
31887,
459,
3981,
411,
15490,
51,
36511,
45,
117,
2186,
509,
419,
657,
23946,
739,
492,
310,
4272,
51,
15109,
45,
687,
3715,
312,
603,
1168,
3715,
299,
2667,
51,
1315,
11061,
1643,
459,
2649,
1259,
1582,
8861,
51,
1828,
1736,
22526,
1103,
6763,
411,
2694,
51,
842,
46,
419,
657,
31887,
459,
10912,
625,
411,
317,
15292,
625,
46,
419,
657,
31887,
459,
3981,
411,
15490,
51,
36511,
45,
117,
2186,
509,
419,
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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
]
] | 2,829 | true | 74.274956 | true | true |
ActivitySettings.java | /FileExtraction/Java_unseen/punchup_Superuser-UI/app/src/main/java/com/koushikdutta/superuser/ActivitySettings.java | package com.koushikdutta.superuser;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.preference.PreferenceManager;
import android.support.v7.widget.Toolbar;
import android.view.View;
import com.kabouzeid.appthemehelper.common.ATHToolbarActivity;
import com.koushikdutta.superuser.helper.Theme;
public class ActivitySettings extends ATHToolbarActivity {
@Override
protected void onCreate(@Nullable Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
SharedPreferences pref = PreferenceManager.getDefaultSharedPreferences(this);
Bundle bundle = Theme.setTheme(this, pref);
int textToolbarDefault = bundle.getInt(Theme.TEXT_COLOR_TOOLBAR);
String theme = bundle.getString(Theme.THEME_CURRENT);
setContentView(R.layout.activity_settings);
Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar);
setSupportActionBar(toolbar);
toolbar.setNavigationIcon(R.drawable.ic_arrow_back);
toolbar.setNavigationOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
finish();
}
});
Theme.handleTheme(this, theme, textToolbarDefault, null, null, toolbar, null);
if (savedInstanceState == null) {
getSupportFragmentManager().beginTransaction().replace(R.id.content_frame, new FragmentSettings()).commit();
} else {
FragmentSettings frag = (FragmentSettings) getSupportFragmentManager().findFragmentById(R.id.content_frame);
if (frag != null) frag.init();
}
}
}
| 1,711 | Java | .java | punchup/Superuser-UI | 9 | 11 | 0 | 2016-10-06T12:09:11Z | 2017-01-01T08:39:17Z | 0a013451936ef1fc85794c2e2a7fe88286ddce2198918195e13acfaa10a3ecc9 | [] | [
1337,
785,
51,
7982,
1391,
1567,
25227,
1371,
51,
39711,
64,
222,
222,
485,
2616,
51,
1304,
51,
32235,
64,
222,
485,
2616,
51,
519,
51,
4775,
64,
222,
485,
2616,
51,
3608,
51,
4341,
51,
6825,
64,
222,
485,
2616,
51,
3608,
51,
123,
60,
51,
29565,
51,
14366,
1590,
64,
222,
485,
2616,
51,
3608,
51,
123,
60,
51,
3872,
51,
14155,
64,
222,
485,
2616,
51,
1090,
51,
1089,
64,
222,
222,
485,
785,
51,
112,
380,
663,
2968,
333,
51,
386,
404,
38856,
4328,
51,
2297,
51,
3356,
14155,
3697,
64,
222,
485,
785,
51,
7982,
1391,
1567,
25227,
1371,
51,
39711,
51,
4328,
51,
6537,
64,
499,
222,
942,
462,
13478,
2977,
2041,
418,
1797,
14155,
3697,
320,
465,
496,
1806,
303,
2532,
782,
16456,
4810,
6825,
14092,
19902,
46,
320,
310,
2615,
51,
20217,
45,
20731,
312,
603,
42116,
15706,
299,
42838,
1590,
51,
13729,
32235,
45,
597,
312,
603,
14092,
9916,
299,
14588,
51,
489,
6537,
45,
597,
49,
15706,
312,
603,
648,
1367,
14155,
2061,
299,
9916,
51,
15384,
45,
6537,
51,
6025,
100,
6237,
100,
15972,
13495,
312,
310,
910,
6099,
299,
9916,
51,
7080,
45,
6537,
51,
30497,
100,
13929,
312,
603,
31090,
45,
87,
51,
3106,
51,
6904,
100,
3563,
312,
603,
36614,
20049,
299,
327,
14155,
46,
15510,
45,
87,
51,
333,
51,
15671,
312,
310,
758,
4417,
21540,
45,
15671,
312,
603,
20049,
51,
489,
9166,
2930,
45,
87,
51,
16926,
51,
314,
100,
6477,
100,
994,
312,
310,
20049,
51,
489,
9166,
12733,
45,
909,
4340,
51,
12733,
365,
320,
1083,
496,
1806,
343,
581,
782,
7057,
45,
1089,
373,
46,
320,
419,
11371,
492,
343,
339,
310,
1141,
603,
14588,
51,
2972,
6537,
45,
597,
49,
6099,
49,
1367,
14155,
2061,
49,
762,
49,
762,
49,
20049,
49,
762,
312,
603,
434,
327,
20731,
630,
762,
46,
320,
343,
640,
4417,
36955,
941,
39118,
941,
3249,
45,
87,
51,
333,
51,
1304,
100,
1763,
49,
556,
18666,
2977,
4269,
3388,
492,
603,
339,
832,
320,
343,
18666,
2977,
17853,
299,
327,
5763,
2977,
46,
640,
4417,
36955,
941,
1828,
5763,
3229,
45,
87,
51,
333,
51,
1304,
100,
1763,
312,
343,
434,
327,
7750,
882,
762,
46,
17853,
51,
1683,
492,
603,
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
]
] | 383 | true | 70.19287 | true | true |
MMOItemTemplate.java | /FileExtraction/Java_unseen/MagicMC-Dev_MMOItems-Zh/MMOItems-API/src/main/java/net/Indyuce/mmoitems/api/item/template/MMOItemTemplate.java | package net.Indyuce.mmoitems.api.item.template;
import io.lumine.mythic.lib.UtilityMethods;
import io.lumine.mythic.lib.api.util.ui.FriendlyFeedbackCategory;
import io.lumine.mythic.lib.api.util.ui.FriendlyFeedbackProvider;
import io.lumine.mythic.lib.util.PostLoadAction;
import io.lumine.mythic.lib.util.PreloadedObject;
import net.Indyuce.mmoitems.MMOItems;
import net.Indyuce.mmoitems.api.ItemTier;
import net.Indyuce.mmoitems.api.Type;
import net.Indyuce.mmoitems.api.item.ItemReference;
import net.Indyuce.mmoitems.api.item.build.MMOItemBuilder;
import net.Indyuce.mmoitems.api.player.PlayerData;
import net.Indyuce.mmoitems.api.player.RPGPlayer;
import net.Indyuce.mmoitems.api.util.NumericStatFormula;
import net.Indyuce.mmoitems.api.util.message.FFPMMOItems;
import net.Indyuce.mmoitems.stat.data.random.RandomStatData;
import net.Indyuce.mmoitems.stat.type.ItemStat;
import org.apache.commons.lang.Validate;
import org.bukkit.configuration.ConfigurationSection;
import org.bukkit.entity.Player;
import org.jetbrains.annotations.NotNull;
import javax.annotation.Nullable;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
public class MMOItemTemplate implements ItemReference, PreloadedObject {
private final Type type;
private final String id;
private final int revId;
/**
* Base item data
*/
private final Map<ItemStat, RandomStatData> base = new HashMap<>();
@Nullable
private NumericStatFormula modifierCapacity;
@Nullable
private ModifierNode modifierGroup;
private final Set<TemplateOption> options = new HashSet<>();
private final PostLoadAction postLoadAction = new PostLoadAction(config -> {
FriendlyFeedbackProvider ffp = new FriendlyFeedbackProvider(FFPMMOItems.get());
ffp.activatePrefix(true, getType().getId() + " " + getId());
// Extra options
if (config.contains("option")) {
if (config.contains("option.capacity", true))
try {
modifierCapacity = new NumericStatFormula(config.getConfigurationSection("option.capacity"));
} catch (RuntimeException exception) {
ffp.log(FriendlyFeedbackCategory.ERROR, "Could not load modifier capacity: {0}", exception.getMessage());
}
for (TemplateOption option : TemplateOption.values())
if (config.getBoolean("option." + option.name().toLowerCase().replace("_", "-")))
options.add(option);
}
// Read modifiers
try {
modifierGroup = config.contains("modifiers") ? new ModifierNode(getId(), config) : null;
if (modifierGroup != null) modifierGroup.getPostLoadAction().performAction();
} catch (Exception exception) {
ffp.log(FriendlyFeedbackCategory.ERROR, "Could not load modifier group: {0}", exception.getMessage());
}
// Read base item data
Validate.notNull(config.getConfigurationSection("base"), FriendlyFeedbackProvider.quickForConsole(FFPMMOItems.get(), "Could not find base item data"));
for (String key : config.getConfigurationSection("base").getKeys(false))
try {
final String id = UtilityMethods.enumName(key);
final ItemStat stat = MMOItems.plugin.getStats().get(id);
Validate.notNull(stat, FriendlyFeedbackProvider.quickForConsole(FFPMMOItems.get(), "Could not find stat with ID '$i{0}$b'", id));
RandomStatData data = stat.whenInitialized(config.get("base." + key));
if (data != null)
base.put(stat, data);
} catch (IllegalArgumentException exception) {
// Log
ffp.log(FriendlyFeedbackCategory.INFORMATION, "Could not load base item data '$f{0}$b': {1}", key, exception.getMessage());
}
// Print all failures
ffp.sendTo(FriendlyFeedbackCategory.INFORMATION, MMOItems.getConsole());
});
/**
* Public constructor which can be used to register extra item templates
* using other addons or plugins
*
* @param type The item type of your template
* @param id The template identifier, it's ok if two templates with
* different item types share the same ID
*/
public MMOItemTemplate(Type type, String id) {
this.type = type;
this.id = id;
this.revId = 1;
}
/**
* Used to load MMOItem templates from config files
*
* @param type The item type of your template
* @param config The config file read to load the template
*/
public MMOItemTemplate(Type type, ConfigurationSection config) {
Validate.notNull(config, "Could not load template config");
postLoadAction.cacheConfig(config);
this.type = type;
this.id = config.getName().toUpperCase().replace("-", "_").replace(" ", "_");
this.revId = config.getInt("base.revision-id", 1);
}
@NotNull
@Override
public PostLoadAction getPostLoadAction() {
return postLoadAction;
}
@NotNull
public Map<ItemStat, RandomStatData> getBaseItemData() {
return base;
}
@Nullable
public ModifierNode getModifierGroup() {
return modifierGroup;
}
public boolean hasModifierGroup() {
return modifierGroup != null;
}
@Nullable
public NumericStatFormula getModifierCapacity() {
return modifierCapacity;
}
public boolean hasModifierCapacity() {
return modifierCapacity != null;
}
@NotNull
@Deprecated
public Map<String, ModifierNode> getModifiers() {
Map<String, ModifierNode> built = new HashMap<>();
if (modifierGroup != null) exploreMap(built, modifierGroup);
return built;
}
private void exploreMap(Map<String, ModifierNode> built, ModifierNode node) {
node.getChildren().forEach(child -> exploreMap(built, child));
built.put(node.getId(), node);
}
@Deprecated
public boolean hasModifier(String id) {
return getModifiers().containsKey(id);
}
@Nullable
@Deprecated
public ModifierNode getModifier(String id) {
return getModifiers().get(id);
}
@Override
public Type getType() {
return type;
}
@Override
public String getId() {
return id;
}
public int getRevisionId() {
return revId;
}
public boolean hasOption(TemplateOption option) {
return options.contains(option);
}
public MMOItemBuilder newBuilder(@Nullable Player player) {
if (player != null) {
return newBuilder(PlayerData.get(player).getRPG());
}
return newBuilder((RPGPlayer) null);
}
public MMOItemBuilder newBuilder() {
return newBuilder((RPGPlayer) null);
}
public MMOItemBuilder newBuilder(@Nullable PlayerData player) {
if (player != null) {
return newBuilder(player.getRPG());
}
return newBuilder((RPGPlayer) null);
}
/**
* By default, item templates have item level 0 and no random tier. If the
* template has the 'tiered' recipe option, a random tier will be picked. If
* the template has the 'level-item' option, a random level will be picked
*
* @param player The player for whom you are generating the item. Seems to only
* matter when rolling for the 'item level'
* @return Item builder with random level and tier?
*/
public MMOItemBuilder newBuilder(@Nullable RPGPlayer player) {
return newBuilder(player, false);
}
/**
* By default, item templates have item level 0 and no random tier. If the
* template has the 'tiered' recipe option, a random tier will be picked. If
* the template has the 'level-item' option, a random level will be picked
*
* @param player The player for whom you are generating the item. Seems to only
* matter when rolling for the 'item level'
* @param forDisplay Should it take modifiers into account
* @return Item builder with random level and tier?
*/
public MMOItemBuilder newBuilder(@Nullable RPGPlayer player, boolean forDisplay) {
// No player ~ default settings
if (player == null) {
return newBuilder(0, null);
}
// Read from player
int itemLevel = hasOption(TemplateOption.LEVEL_ITEM) ? MMOItems.plugin.getTemplates().rollLevel(player.getLevel()) : 0;
ItemTier itemTier = hasOption(TemplateOption.TIERED) ? MMOItems.plugin.getTemplates().rollTier() : null;
return new MMOItemBuilder(this, itemLevel, itemTier, forDisplay);
}
/**
* @param itemLevel The desired item level
* @param itemTier The desired item tier, can be null
* @return Item builder with specific item level and tier
*/
public MMOItemBuilder newBuilder(int itemLevel, @Nullable ItemTier itemTier) {
return new MMOItemBuilder(this, itemLevel, itemTier);
}
/**
* Used for simple boolean template options
*/
public enum TemplateOption {
/**
* When the item is being generated, modifiers are rolled in a random
* order so you never the same modifiers again and again.
*/
ROLL_MODIFIER_CHECK_ORDER,
/**
* When building an item based on this template, if no tier is
* specified, a random tier will be chosen for the item. By default, the
* item has no tier OR has the tier given in the config file.
*/
TIERED,
/**
* When building an item based on this template, if no level is
* specified, a random level will be rolled based on the player's level
* or 0 if no player is specified. By default, items are generated with
* level 0
*/
LEVEL_ITEM
}
/**
* @return Attempts to get the crafted amount registered in the Stat.
* <p></p>
* Default is <b>1</b> obviously.
* @deprecated Don't use this method, the Crafted Amount Stat will be deleted in the near future.
*/
@Deprecated
public int getCraftedAmount() {
/* Attempt to find |
NumericStatFormula ofAmount = (NumericStatFormula) base.get(ItemStats.CRAFT_AMOUNT);
// Found?
if (ofAmount != null) {
// Well what does it read
return SilentNumbers.ceil(ofAmount.calculate(0));
}
*/
// No
return 1;
}
}
| 10,601 | Java | .java | MagicMC-Dev/MMOItems-Zh | 18 | 6 | 0 | 2023-08-02T15:07:35Z | 2024-04-30T22:42:26Z | 67e29ea284c81338a4bae7b974f1ab3d80725f3fbb8364ae2a2219f0ad402050 | [] | [
1337,
3723,
51,
6437,
126,
6528,
51,
114,
794,
3053,
51,
1256,
51,
1113,
51,
2402,
64,
222,
222,
485,
3377,
51,
42172,
501,
51,
1791,
368,
314,
51,
1379,
51,
11328,
8898,
64,
222,
485,
3377,
51,
42172,
501,
51,
1791,
368,
314,
51,
1379,
51,
1256,
51,
1058,
51,
1726,
51,
39316,
15362,
4236,
64,
222,
485,
3377,
51,
42172,
501,
51,
1791,
368,
314,
51,
1379,
51,
1256,
51,
1058,
51,
1726,
51,
39316,
15362,
2588,
64,
222,
485,
3377,
51,
42172,
501,
51,
1791,
368,
314,
51,
1379,
51,
1058,
51,
3176,
3028,
1728,
64,
222,
485,
3377,
51,
42172,
501,
51,
1791,
368,
314,
51,
1379,
51,
1058,
51,
2641,
5907,
976,
64,
222,
485,
3723,
51,
6437,
126,
6528,
51,
114,
794,
3053,
51,
82,
2414,
3648,
64,
222,
485,
3723,
51,
6437,
126,
6528,
51,
114,
794,
3053,
51,
1256,
51,
1114,
28998,
64,
222,
485,
3723,
51,
6437,
126,
6528,
51,
114,
794,
3053,
51,
1256,
51,
638,
64,
222,
485,
3723,
51,
6437,
126,
6528,
51,
114,
794,
3053,
51,
1256,
51,
1113,
51,
1114,
3580,
64,
222,
485,
3723,
51,
6437,
126,
6528,
51,
114,
794,
3053,
51,
1256,
51,
1113,
51,
1848,
51,
82,
2414,
1114,
1812,
64,
222,
485,
3723,
51,
6437,
126,
6528,
51,
114,
794,
3053,
51,
1256,
51,
3857,
51,
3516,
768,
64,
222,
485,
3723,
51,
6437,
126,
6528,
51,
114,
794,
3053,
51,
1256,
51,
3857,
51,
5743,
76,
3516,
64,
222,
485,
3723,
51,
6437,
126,
6528,
51,
114,
794,
3053,
51,
1256,
51,
1058,
51,
12930,
5952,
22681,
64,
222,
485,
3723,
51,
6437,
126,
6528,
51,
114,
794,
3053,
51,
1256,
51,
1058,
51,
1454,
51,
1158,
7464,
2414,
3648,
64,
222,
485,
3723,
51,
6437,
126,
6528,
51,
114,
794,
3053,
51,
4611,
51,
624,
51,
3917,
51,
6124,
5952,
768,
64,
222,
485,
3723,
51,
6437,
126,
6528,
51,
114,
794,
3053,
51,
4611,
51,
700,
51,
1114,
5952,
64,
222,
485,
1105,
51,
2121,
51,
8381,
51,
1600,
51,
9205,
64,
222,
485,
1105,
51,
20402,
51,
5990,
51,
2339,
5434,
64,
222,
485,
1105,
51,
20402,
51,
2244,
51,
3516,
64,
222,
485,
1105,
51,
15575,
51,
8839,
51,
4936,
64,
222,
222,
485,
3698,
51,
4341,
51,
6825,
64,
222,
485,
1401,
51,
1058,
51,
8263,
64,
222,
485,
1401,
51,
1058,
51,
17163,
64,
222,
485,
1401,
51,
1058,
51,
1225,
64,
222,
485,
1401,
51,
1058,
51,
903,
64,
222,
222,
942,
462,
507,
2414,
1114,
3455,
4584,
6337,
3580,
49,
7497,
5907,
976,
320,
303,
964,
1175,
2782,
847,
64,
303,
964,
1175,
910,
828,
64,
303,
964,
1175,
648,
14105,
625,
64,
465,
1041,
294,
338,
3787,
1641,
727,
294,
588,
303,
964,
1175,
3531,
65,
1114,
5952,
49,
9607,
5952,
768,
67,
1712,
299,
556,
8329,
6984,
465,
496,
6825,
303,
964,
26642,
5952,
22681,
15348,
13126,
64,
465,
496,
6825,
303,
964,
28344,
1230,
15348,
1582,
64,
303,
964,
1175,
1776,
65,
3455,
2846,
67,
2089,
299,
556,
14253,
6984,
465,
964,
1175,
6408,
3028,
1728,
2381,
3028,
1728,
299,
556,
6408,
3028,
1728,
45,
1180,
984,
320,
310,
25951,
651,
15362,
2588,
315,
4448,
299,
556,
25951,
651,
15362,
2588,
45,
1158,
7464,
2414,
3648,
51,
390,
1052,
310,
315,
4448,
51,
11433,
5429,
45,
1527,
49,
24097,
941,
7068,
365,
494,
332,
332,
494,
19832,
1052,
603,
453,
24344,
2089,
310,
434,
327,
1180,
51,
4766,
459,
1779,
2152,
320,
343,
434,
327,
1180,
51,
4766,
459,
1779,
51,
13895,
411,
878,
509,
419,
1614,
320,
547,
15348,
13126,
299,
556,
26642,
5952,
22681,
45,
1180,
51,
38309,
5434,
459,
1779,
51,
13895,
2992,
419,
339,
2385,
327,
19296,
3773,
46,
320,
547,
315,
4448,
51,
769,
45,
39316,
15362,
4236,
51,
2946,
49,
332,
9752,
666,
2480,
15348,
13821,
63,
320,
53,
6557,
3773,
51,
7724,
1052,
419,
339,
1083,
456,
327,
3455,
2846,
2489,
518,
10839,
2846,
51,
2857,
1177,
419,
434,
327,
1180,
51,
28151,
459,
1779,
3128,
494,
2489,
51,
444,
941,
10498,
941,
3249,
14719,
411,
4840,
14040,
547,
2089,
51,
688,
45,
1779,
312,
310,
339,
603,
453,
4858,
23717,
310,
1614,
320,
343,
15348,
1582,
299,
1377,
51,
4766,
459,
28643,
678,
1037,
556,
28344,
1230,
45,
7068,
1046,
1377,
46,
518,
762,
64,
343,
434,
327,
20353,
1582,
882,
762,
46,
15348,
1582,
51,
43100,
3028,
1728,
941,
14426,
1728,
492,
310,
339,
2385,
327,
1002,
3773,
46,
320,
343,
315,
4448,
51,
769,
45,
39316,
15362,
4236,
51,
2946,
49,
332,
9752,
666,
2480,
15348,
2370,
63,
320,
53,
6557,
3773,
51,
7724,
1052,
310,
339,
603,
453,
4858,
1712,
1641,
727,
310,
12887,
51,
28872,
45,
1180,
51,
38309,
5434,
459,
1460,
2132,
25951,
651,
15362,
2588,
51,
10593,
1580,
7634,
45,
1158,
7464,
2414,
3648,
51,
390,
1046,
332,
9752,
666,
2309,
1712,
1641,
727,
2992,
310,
456,
327,
671,
1221,
518,
1377,
51,
38309,
5434,
459,
1460,
1912,
390,
5044,
45,
1886,
509,
343,
1614,
320,
419,
1175,
910,
828,
299,
23194,
8898,
51,
3880,
577,
45,
697,
312,
419,
1175,
6337,
5952,
6339,
299,
507,
2414,
3648,
51,
2809,
51,
390,
5779,
941,
390,
45,
333,
312,
419,
12887,
51,
28872,
45,
4611,
49,
25951,
651,
15362,
2588,
51,
10593,
1580,
7634,
45,
1158,
7464,
2414,
3648,
51,
390,
1046,
332,
9752,
666,
2309,
6339,
642,
2502,
8500,
110,
128,
53,
10778,
103,
13077,
828,
894,
419,
9607,
5952,
768,
727,
299,
6339,
51,
6045,
13743,
45,
1180,
51,
390,
459,
1460,
3128,
494,
1221,
894,
419,
434,
327,
624,
882,
762,
46,
547,
1712,
51,
543,
45,
4611,
49,
727,
312,
1083,
339,
2385,
327,
25894,
3773,
46,
320,
2125,
453,
2681,
419,
315,
4448,
51,
769,
45,
39316,
15362,
4236,
51,
26918,
49,
332,
9752,
666,
2480,
1712,
1641,
727,
8500,
107,
128,
53,
10778,
103,
972,
320,
54,
6557,
1221,
49,
3773,
51,
7724,
1052,
343,
339,
603,
453,
9232,
1187,
19562,
310,
315,
4448,
51,
2729,
724,
45,
39316,
15362,
4236,
51,
26918,
49,
507,
2414,
3648,
51,
390,
7634,
1052,
303,
1141,
465,
1041,
294,
338,
5062,
4389,
1532,
902,
545,
1674,
391,
3923,
6737,
1641,
12881,
294,
338,
1493,
1623,
1035,
2632,
575,
10260,
294,
338,
294,
338,
496,
772,
847,
906,
1641,
847,
451,
1390,
3098,
294,
338,
496,
772,
828,
280,
906,
3098,
7262,
49,
580,
1200,
3847,
434,
3161,
12881,
642,
294,
338,
2429,
3473,
1641,
3756,
8642,
341,
2454,
2502,
294,
588,
303,
581,
507,
2414,
1114,
3455,
45,
638,
847,
49,
910,
828,
46,
320,
310,
477,
51,
700,
299,
847,
64,
310,
477,
51,
333,
299,
828,
64,
310,
477,
51,
9892,
625,
299,
244,
54,
64,
303,
339,
465,
1041,
294,
338,
12785,
391,
2480,
507,
2414,
1114,
12881,
664,
1377,
2293,
294,
338,
294,
338,
496,
772,
847,
280,
906,
1641,
847,
451,
1390,
3098,
294,
338,
496,
772,
1377,
906,
1377,
822,
1511,
391,
2480,
341,
3098,
294,
588,
303,
581,
507,
2414,
1114,
3455,
45,
638,
847,
49,
8149,
5434,
1377,
46,
320,
310,
12887,
51,
28872,
45,
1180,
49,
332,
9752,
666,
2480,
3098,
1377,
742,
603,
2381,
3028,
1728,
51,
2630,
1081,
45,
1180,
312,
603,
477,
51,
700,
299,
847,
64,
310,
477,
51,
333,
299,
1377,
51,
5175,
941,
18068,
941,
3249,
10364,
411,
7302,
1912,
3249,
459,
3021,
7302,
742,
310,
477,
51,
9892,
625,
299,
1377,
51,
15384,
459,
1460,
51,
13404,
50,
333,
411,
244,
54,
312,
303,
339,
465,
496,
4936,
303,
496,
1806,
303,
581,
6408,
3028,
1728,
640,
3176,
3028,
1728,
365,
320,
310,
461,
2381,
3028,
1728,
64,
303,
339,
465,
496,
4936,
303,
581,
3531,
65,
1114,
5952,
49,
9607,
5952,
768,
67,
640,
1778,
1114,
768,
365,
320,
310,
461,
1712,
64,
303,
339,
465,
496,
6825,
303,
581,
28344,
1230,
640,
11693,
1582,
365,
320,
310,
461,
15348,
1582,
64,
303,
339,
465,
581,
1922,
1421,
11693,
1582,
365,
320,
310,
461,
15348,
1582,
882,
762,
64,
303,
339,
465,
496,
6825,
303,
581,
26642,
5952,
22681,
640,
11693,
13126,
365,
320,
310,
461,
15348,
13126,
64,
303,
339,
465,
581,
1922,
1421,
11693,
13126,
365,
320,
310,
461,
15348,
13126,
882,
762,
64,
303,
339,
465,
496,
4936,
303,
496,
15375,
303,
581,
3531,
65,
671,
49,
28344,
1230,
67,
640,
24945,
365,
320,
310,
3531,
65,
671,
49,
28344,
1230,
67,
6911,
299,
556,
8329,
6984,
310,
434,
327,
20353,
1582,
882,
762,
46,
27125,
1225,
45,
8291,
49,
15348,
1582,
312,
310,
461,
6911,
64,
303,
339,
465,
964,
782,
27125,
1225,
45,
1225,
65,
671,
49,
28344,
1230,
67,
6911,
49,
28344,
1230,
1560,
46,
320,
310,
1560,
51,
28817,
941,
5388,
45,
2680,
984,
27125,
1225,
45,
8291,
49,
2851,
894,
310,
6911,
51,
543,
45,
1271,
51,
7068,
1046,
1560,
312,
303,
339,
465,
496,
15375,
303,
581,
1922,
1421,
11693,
45,
671,
828,
46,
320,
310,
461,
640,
24945,
941,
15927,
45,
333,
312,
303,
339,
465,
496,
6825,
303,
496,
15375,
303,
581,
28344,
1230,
640,
11693,
45,
671,
828,
46,
320,
310,
461,
640,
24945,
941,
390,
45,
333,
312,
303,
339,
465,
496,
1806,
303,
581,
2782,
24097,
365,
320,
310,
461,
847,
64,
303,
339,
465,
496,
1806,
303,
581,
910,
19832,
365,
320,
310,
461,
828,
64,
303,
339,
465,
581,
648,
640,
14021,
625,
365,
320,
310,
461,
14105,
625,
64,
303,
339,
465,
581,
1922,
1421,
2846,
45,
3455,
2846,
2489,
46,
320,
310,
461,
2089,
51,
4766,
45,
1779,
312,
303,
339,
465,
581,
507,
2414,
1114,
1812,
40093,
4810,
6825,
9306,
4376,
46,
320,
310,
434,
327,
3857,
882,
762,
46,
320,
343,
461,
40093,
45,
3516,
768,
51,
390,
45,
3857,
566,
390,
5743,
76,
1052,
310,
339,
310,
461,
40093,
1181,
5743,
76,
3516,
46,
762,
312,
303,
339,
465,
581,
507,
2414,
1114,
1812,
40093,
365,
320,
310,
461,
40093,
1181,
5743,
76,
3516,
46,
762,
312,
303,
339,
465,
581,
507,
2414,
1114,
1812,
40093,
4810,
6825,
9306,
768,
4376,
46,
320,
310,
434,
327,
3857,
882,
762,
46,
320,
343,
461,
40093,
45,
3857,
51,
390,
5743,
76,
1052,
310,
339,
310,
461,
40093,
1181,
5743,
76,
3516,
46,
762,
312,
303,
339,
465,
1041,
294,
338,
4529,
1263,
49,
1641,
12881,
1178,
1641,
3215,
244,
53,
480,
1307,
4051,
29419,
51,
1691,
341,
294,
338,
3098,
1421,
341,
349,
23001,
337,
44,
15213,
2489,
49,
331,
4051,
29419,
1118,
545,
27714,
51,
1691,
294,
338,
341,
3098,
1421,
341,
349,
2675,
50,
1113,
44,
2489,
49,
331,
4051,
3215,
1118,
545,
27714,
294,
338,
294,
338,
496,
772,
4376,
906,
4376,
456,
13320,
863,
904,
17381,
341,
1641,
51,
33587,
391,
1773,
294,
338,
3403,
15254,
1429,
38800,
456,
341,
349,
1113,
3215,
44,
294,
338,
496,
620,
6337,
4914,
642,
4051,
3215,
480,
29419,
68,
294,
588,
303,
581,
507,
2414,
1114,
1812,
40093,
4810,
6825,
578,
7662,
3516,
4376,
46,
320,
310,
461,
40093,
45,
3857,
49,
920,
312,
303,
339,
465,
1041,
294,
338,
4529,
1263,
49,
1641,
12881,
1178,
1641,
3215,
244,
53,
480,
1307,
4051,
29419,
51,
1691,
341,
294,
338,
3098,
1421,
341,
349,
23001,
337,
44,
15213,
2489,
49,
331,
4051,
29419,
1118,
545,
27714,
51,
1691,
294,
338,
341,
3098,
1421,
341,
349,
2675,
50,
1113,
44,
2489,
49,
331,
4051,
3215,
1118,
545,
27714,
294,
338,
294,
338,
496,
772,
4376,
281,
906,
4376,
456,
13320,
863,
904,
17381,
341,
1641,
51,
33587,
391,
1773,
294,
338,
6031,
15254,
1429,
38800,
456,
341,
349,
1113,
3215,
44,
294,
338,
496,
772,
456,
3948,
9056,
580,
4843,
23717,
2012,
3513,
294,
338,
496,
620,
6337,
4914,
642,
4051,
3215,
480,
29419,
68,
294,
588,
303,
581,
507,
2414,
1114,
1812,
40093,
4810,
6825,
578,
7662,
3516,
4376,
49,
1922,
456,
3948,
46,
320,
603,
453,
3155,
4376,
3182,
1263,
4086,
310,
434,
327,
3857,
630,
762,
46,
320,
343,
461,
40093,
45,
53,
49,
762,
312,
310,
339,
603,
453,
4858,
664,
4376,
310,
648,
1641,
2671,
299,
1421,
2846,
45,
3455,
2846,
51,
10736,
100,
10938,
46,
1037,
507,
2414,
3648,
51,
2809,
51,
390,
15550,
941,
1038,
2671,
45,
3857,
51,
390,
2671,
1177,
518,
244,
53,
64,
310,
6337,
28998,
1641,
28998,
299,
1421,
2846,
45,
3455,
2846,
51,
1944,
546,
1363,
46,
1037,
507,
2414,
3648,
51,
2809,
51,
390,
15550,
941,
1038,
28998,
365,
518,
762,
64,
310,
461,
556,
507,
2414,
1114,
1812,
45,
597,
49,
1641,
2671,
49,
1641,
28998,
49,
456,
3948,
312,
303,
339,
465,
1041,
294,
338,
496,
772,
1641,
2671,
906,
10865,
1641,
3215,
294,
338,
496,
772,
1641,
28998,
244,
906,
10865,
1641,
29419,
49,
902,
545,
762,
294,
338,
496,
620,
6337,
4914,
642,
2835,
1641,
3215,
480,
29419,
294,
588,
303,
581,
507,
2414,
1114,
1812,
40093,
45,
429,
1641,
2671,
49,
496,
6825,
6337,
28998,
1641,
28998,
46,
320,
310,
461,
556,
507,
2414,
1114,
1812,
45,
597,
49,
1641,
2671,
49,
1641,
28998,
312,
303,
339,
465,
1041,
294,
338,
12785,
456,
4313,
1922,
3098,
2089,
294,
588,
303,
581,
3858,
10839,
2846,
320,
603,
1041,
295,
338,
5094,
341,
1641,
458,
4019,
4741,
49,
23717,
904,
47705,
347,
331,
4051,
295,
338,
2554,
1278,
863,
7162,
341,
2454,
23717,
4076,
480,
4076,
51,
295,
588,
310,
578,
1767,
81,
100,
34321,
44038,
100,
6239,
100,
9359,
49,
603,
1041,
295,
338,
5094,
9055,
619,
1641,
4148,
563,
477,
3098,
49,
434,
1307,
29419,
458,
295,
338,
3205,
49,
331,
4051,
29419,
1118,
545,
16865,
456,
341,
1641,
51,
4529,
1263,
49,
341,
295,
338,
1641,
1421,
1307,
29419,
1895,
1421,
341,
29419,
2716,
347,
341,
1377,
822,
51,
295,
588,
310,
31216,
546,
1363,
49,
603,
1041,
295,
338,
5094,
9055,
619,
1641,
4148,
563,
477,
3098,
49,
434,
1307,
3215,
458,
295,
338,
3205,
49,
331,
4051,
3215,
1118,
545,
47705,
4148,
563,
341,
4376,
1200,
3215,
295,
338,
575,
244,
53,
434,
1307,
4376,
458,
3205,
51,
4529,
1263,
49,
3966,
904,
4741,
642,
295,
338,
3215,
244,
53,
295,
588,
310,
11805,
9706,
100,
10938,
303,
339,
465,
1041,
294,
338,
496,
620,
4612,
19036,
391,
640,
341,
32024,
337,
5190,
10423,
347,
341,
15207,
51,
294,
338,
350,
117,
873,
117,
67,
294,
338,
4119,
458,
350,
103,
67,
54,
396,
103,
67,
36513,
51,
294,
338,
496,
15033,
12046,
1348,
813,
477,
1431,
49,
341,
34172,
337,
24460,
15207,
1118,
545,
8133,
347,
341,
12411,
7078,
51,
294,
588,
303,
496,
15375,
303,
581,
648,
640,
23998,
337,
5956,
365,
320,
1332,
221,
1127,
36275,
391,
2309,
221,
129,
376,
221,
12930,
5952,
22681,
451,
5956,
299,
327,
12930,
5952,
22681,
46,
1712,
51,
390,
45,
1114,
5779,
51,
3769,
36991,
100,
38675,
312,
1332,
221,
325,
5433,
68,
376,
221,
344,
327,
1048,
5956,
882,
762,
46,
320,
2556,
221,
325,
22328,
2794,
1976,
580,
1511,
374,
221,
620,
19128,
323,
14847,
51,
17741,
45,
1048,
5956,
51,
13000,
45,
53,
894,
376,
221,
130,
374,
588,
603,
453,
3155,
310,
461,
244,
54,
64,
303,
339,
222,
130,
222
] | [
[
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
]
] | 2,539 | true | 64.644845 | true | true |
BoilerDriver.java | /FileExtraction/Java_unseen/tgstyle_MCT-Immersive-Technology/src/main/java/mctmods/immersivetechnology/common/util/compat/opencomputers/BoilerDriver.java | package mctmods.immersivetechnology.common.util.compat.opencomputers;
import blusunrize.immersiveengineering.common.util.compat.opencomputers.ManagedEnvironmentIE;
import li.cil.oc.api.machine.Arguments;
import li.cil.oc.api.machine.Callback;
import li.cil.oc.api.machine.Context;
import li.cil.oc.api.network.ManagedEnvironment;
import li.cil.oc.api.prefab.DriverSidedTileEntity;
import mctmods.immersivetechnology.common.blocks.metal.tileentities.TileEntityBoilerMaster;
import mctmods.immersivetechnology.common.blocks.metal.tileentities.TileEntityBoilerSlave;
import net.minecraft.item.ItemStack;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.util.EnumFacing;
import net.minecraft.util.math.BlockPos;
import net.minecraft.world.World;
import java.util.HashMap;
public class BoilerDriver extends DriverSidedTileEntity {
@Override
public ManagedEnvironment createEnvironment(World world, BlockPos pos, EnumFacing facing) {
TileEntity tile = world.getTileEntity(pos);
if(tile instanceof TileEntityBoilerSlave) {
TileEntityBoilerSlave te = (TileEntityBoilerSlave) tile;
TileEntityBoilerMaster tem = te.master();
if(tem != null && te.isRedstonePos()) {
return new BoilerEnvironment(world, tem.getPos());
}
}
return null;
}
@Override
public Class<?> getTileEntityClass() {
return TileEntityBoilerSlave.class;
}
public class BoilerEnvironment extends ManagedEnvironmentIE.ManagedEnvMultiblock<TileEntityBoilerMaster> {
public BoilerEnvironment(World world, BlockPos pos) {
super(world, pos, TileEntityBoilerMaster.class);
}
@Callback(doc = "function():number -- get the heat level of the boiler")
public Object[] getHeat(Context context, Arguments args) {
return new Object[] {getTileEntity().heatLevel};
}
@Callback(doc = "function():table -- get information about the internal fuel tank")
public Object[] getFuelTankInfo(Context context, Arguments args) {
return new Object[] {getTileEntity().tanks[0].getInfo()};
}
@Callback(doc = "function():table -- get information about the input tank")
public Object[] getInputTankInfo(Context context, Arguments args) {
return new Object[] {getTileEntity().tanks[1].getInfo()};
}
@Callback(doc = "function():table -- get information about the output tank")
public Object[] getOutputTankInfo(Context context, Arguments args) {
return new Object[] {getTileEntity().tanks[2].getInfo()};
}
@Callback(doc = "function():table -- get filled fluid canisters in all slots")
public Object[] getFullCanisters(Context context, Arguments args) {
HashMap<String, ItemStack> canisters = new HashMap<>(3);
canisters.put("fuel", getTileEntity().inventory.get(0));
canisters.put("input", getTileEntity().inventory.get(2));
canisters.put("output", getTileEntity().inventory.get(5));
return new Object[] {canisters};
}
@Callback(doc = "function():table -- get empty fluid canisters in all slots")
public Object[] getEmptyCanisters(Context context, Arguments args) {
HashMap<String, ItemStack> canisters = new HashMap<>(3);
canisters.put("fuel", getTileEntity().inventory.get(1));
canisters.put("input", getTileEntity().inventory.get(3));
canisters.put("output", getTileEntity().inventory.get(4));
return new Object[] {canisters};
}
@Callback(doc = "function(enabled:bool):nil -- Enables or disables computer control for the attached machine")
public Object[] enableComputerControl(Context context, Arguments args) {
return super.enableComputerControl(context, args);
}
@Callback(doc = "function(enabled:bool):nil")
public Object[] setEnabled(Context context, Arguments args) {
return super.setEnabled(context, args);
}
@Override
public String preferredName() {
return "it_boiler";
}
@Override
public int priority() {
return 1000;
}
}
}
| 3,846 | Java | .java | tgstyle/MCT-Immersive-Technology | 19 | 27 | 2 | 2020-01-16T04:12:55Z | 2024-02-14T18:13:34Z | 6808f9a5567acf462cba075bd3d55e424b431497e586c312e7aa349a715b9299 | [] | [
1337,
364,
307,
22862,
51,
20291,
502,
407,
383,
8165,
9775,
51,
2297,
51,
1058,
51,
8540,
51,
1693,
998,
322,
502,
64,
222,
222,
485,
3162,
371,
330,
363,
2968,
51,
20291,
502,
680,
40645,
51,
2297,
51,
1058,
51,
8540,
51,
1693,
998,
322,
502,
51,
12395,
6342,
4007,
64,
222,
485,
1045,
51,
17944,
51,
561,
51,
1256,
51,
8706,
51,
8560,
64,
222,
485,
1045,
51,
17944,
51,
561,
51,
1256,
51,
8706,
51,
3309,
64,
222,
485,
1045,
51,
17944,
51,
561,
51,
1256,
51,
8706,
51,
1237,
64,
222,
485,
1045,
51,
17944,
51,
561,
51,
1256,
51,
4599,
51,
12395,
6342,
64,
222,
485,
1045,
51,
17944,
51,
561,
51,
1256,
51,
13471,
380,
51,
6641,
7433,
105,
41760,
64,
222,
485,
364,
307,
22862,
51,
20291,
502,
407,
383,
8165,
9775,
51,
2297,
51,
8597,
51,
23188,
51,
8344,
9259,
51,
41760,
5558,
3113,
8801,
64,
222,
485,
364,
307,
22862,
51,
20291,
502,
407,
383,
8165,
9775,
51,
2297,
51,
8597,
51,
23188,
51,
8344,
9259,
51,
41760,
5558,
3113,
25178,
64,
222,
485,
3723,
51,
8654,
51,
1113,
51,
26022,
64,
222,
485,
3723,
51,
8654,
51,
8344,
2244,
51,
41760,
64,
222,
485,
3723,
51,
8654,
51,
1058,
51,
2773,
45207,
64,
222,
485,
3723,
51,
8654,
51,
1058,
51,
3851,
51,
2246,
3010,
64,
222,
485,
3723,
51,
8654,
51,
5879,
51,
6719,
64,
222,
222,
485,
1401,
51,
1058,
51,
8263,
64,
499,
222,
942,
462,
11547,
3113,
6641,
2041,
10408,
7433,
105,
41760,
320,
222,
221,
69,
1806,
222,
221,
942,
24416,
6342,
1506,
6342,
45,
6719,
5810,
49,
41721,
3423,
49,
7827,
45207,
27160,
46,
320,
376,
221,
41760,
9615,
299,
5810,
51,
390,
41760,
45,
985,
312,
1332,
221,
344,
45,
8344,
5118,
18891,
2234,
5558,
3113,
25178,
46,
320,
374,
221,
41760,
5558,
3113,
25178,
2713,
299,
327,
41760,
5558,
3113,
25178,
46,
9615,
64,
374,
221,
41760,
5558,
3113,
8801,
19784,
299,
2713,
51,
2611,
492,
374,
221,
344,
45,
33654,
882,
762,
979,
2713,
51,
316,
4038,
10554,
3010,
1177,
320,
621,
221,
620,
556,
11547,
3113,
6342,
45,
5879,
49,
19784,
51,
390,
3010,
1052,
374,
221,
130,
376,
221,
130,
376,
221,
620,
762,
64,
222,
221,
130,
499,
221,
69,
1806,
222,
221,
942,
1727,
11667,
640,
41760,
1359,
365,
320,
376,
221,
620,
18891,
2234,
5558,
3113,
25178,
51,
842,
64,
222,
221,
130,
499,
221,
942,
462,
11547,
3113,
6342,
2041,
24416,
6342,
4007,
51,
12395,
6063,
11253,
947,
827,
65,
41760,
5558,
3113,
8801,
67,
320,
376,
221,
942,
11547,
3113,
6342,
45,
6719,
5810,
49,
41721,
3423,
46,
320,
374,
221,
5282,
45,
5879,
49,
3423,
49,
18891,
2234,
5558,
3113,
8801,
51,
842,
312,
376,
221,
130,
1332,
221,
69,
3309,
45,
1446,
299,
332,
1144,
2284,
2188,
790,
640,
341,
28257,
3215,
451,
341,
2978,
3113,
678,
376,
221,
942,
2210,
1197,
640,
30865,
45,
1237,
1637,
49,
15847,
2194,
46,
320,
374,
221,
620,
556,
2210,
1197,
320,
390,
41760,
941,
23429,
2671,
1274,
376,
221,
130,
1332,
221,
69,
3309,
45,
1446,
299,
332,
1144,
2284,
1292,
790,
640,
2490,
2645,
341,
3584,
38023,
45549,
678,
376,
221,
942,
2210,
1197,
640,
32352,
32291,
1139,
45,
1237,
1637,
49,
15847,
2194,
46,
320,
374,
221,
620,
556,
2210,
1197,
320,
390,
41760,
941,
121,
3248,
96,
53,
1015,
41118,
45473,
376,
221,
130,
1332,
221,
69,
3309,
45,
1446,
299,
332,
1144,
2284,
1292,
790,
640,
2490,
2645,
341,
1533,
45549,
678,
376,
221,
942,
2210,
1197,
640,
1630,
32291,
1139,
45,
1237,
1637,
49,
15847,
2194,
46,
320,
374,
221,
620,
556,
2210,
1197,
320,
390,
41760,
941,
121,
3248,
96,
54,
1015,
41118,
45473,
376,
221,
130,
1332,
221,
69,
3309,
45,
1446,
299,
332,
1144,
2284,
1292,
790,
640,
2490,
2645,
341,
1716,
45549,
678,
376,
221,
942,
2210,
1197,
640,
2319,
32291,
1139,
45,
1237,
1637,
49,
15847,
2194,
46,
320,
374,
221,
620,
556,
2210,
1197,
320,
390,
41760,
941,
121,
3248,
96,
55,
1015,
41118,
45473,
376,
221,
130,
1332,
221,
69,
3309,
45,
1446,
299,
332,
1144,
2284,
1292,
790,
640,
15770,
23662,
902,
446,
502,
347,
1187,
20504,
678,
376,
221,
942,
2210,
1197,
640,
4737,
4460,
446,
502,
45,
1237,
1637,
49,
15847,
2194,
46,
320,
374,
221,
8263,
65,
671,
49,
26657,
67,
902,
446,
502,
299,
556,
8329,
11530,
56,
312,
374,
221,
3389,
446,
502,
51,
543,
459,
30168,
411,
640,
41760,
941,
12944,
51,
390,
45,
53,
894,
374,
221,
3389,
446,
502,
51,
543,
459,
1151,
411,
640,
41760,
941,
12944,
51,
390,
45,
55,
894,
374,
221,
3389,
446,
502,
51,
543,
459,
2051,
411,
640,
41760,
941,
12944,
51,
390,
45,
58,
894,
374,
221,
620,
556,
2210,
1197,
320,
3389,
446,
502,
1274,
376,
221,
130,
1332,
221,
69,
3309,
45,
1446,
299,
332,
1144,
2284,
1292,
790,
640,
3517,
23662,
902,
446,
502,
347,
1187,
20504,
678,
376,
221,
942,
2210,
1197,
640,
2779,
4460,
446,
502,
45,
1237,
1637,
49,
15847,
2194,
46,
320,
374,
221,
8263,
65,
671,
49,
26657,
67,
902,
446,
502,
299,
556,
8329,
11530,
56,
312,
374,
221,
3389,
446,
502,
51,
543,
459,
30168,
411,
640,
41760,
941,
12944,
51,
390,
45,
54,
894,
374,
221,
3389,
446,
502,
51,
543,
459,
1151,
411,
640,
41760,
941,
12944,
51,
390,
45,
56,
894,
374,
221,
3389,
446,
502,
51,
543,
459,
2051,
411,
640,
41760,
941,
12944,
51,
390,
45,
57,
894,
374,
221,
620,
556,
2210,
1197,
320,
3389,
446,
502,
1274,
376,
221,
130,
1332,
221,
69,
3309,
45,
1446,
299,
332,
1144,
45,
6572,
63,
2433,
731,
4942,
790,
45278,
575,
40072,
10694,
3518,
456,
341,
13079,
6676,
678,
376,
221,
942,
2210,
1197,
5362,
18660,
2436,
45,
1237,
1637,
49,
15847,
2194,
46,
320,
374,
221,
620,
2615,
51,
4909,
18660,
2436,
45,
1834,
49,
2194,
312,
376,
221,
130,
1332,
221,
69,
3309,
45,
1446,
299,
332,
1144,
45,
6572,
63,
2433,
731,
4942,
678,
376,
221,
942,
2210,
1197,
758,
4006,
45,
1237,
1637,
49,
15847,
2194,
46,
320,
374,
221,
620,
2615,
51,
18822,
45,
1834,
49,
2194,
312,
376,
221,
130,
1332,
221,
69,
1806,
376,
221,
942,
910,
16321,
577,
365,
320,
374,
221,
620,
332,
302,
100,
730,
3113,
884,
376,
221,
130,
1332,
221,
69,
1806,
376,
221,
942,
648,
9961,
365,
320,
374,
221,
620,
244,
54,
53,
53,
53,
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,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
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 1,097 | true | 74.518981 | true | true |
RomCache.java | /FileExtraction/Java_unseen/mwpenny_GameDroid/GameDroid/app/src/main/java/creativename/gamedroid/ui/RomCache.java | package creativename.gamedroid.ui;
import android.content.ContentValues;
import android.content.Context;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import java.io.File;
import java.io.IOException;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import creativename.gamedroid.core.Cartridge;
/* Singleton for ROM metadata cache database access */
public class RomCache {
private static final String DB_NAME = "romcache.db";
private static final String TABLE_NAME = "roms";
private static final SimpleDateFormat iso8601DateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");;
private static RomCache instance;
private SQLiteOpenHelper opener;
public ArrayList<RomEntry> romList;
/* Converts a string to title case (e.g., "pokemon gold" => "Pokemon Gold") */
private static String toTitleCase(String input) {
StringBuilder title = new StringBuilder();
boolean nextWord = true;
input = input.replace('_', ' ');
for (char c : input.toCharArray()) {
if (Character.isSpaceChar(c) || c == '.' || c == '-' || c == ':') {
nextWord = true;
} else if (nextWord) {
c = Character.toUpperCase(c);
nextWord = false;
} else {
c = Character.toLowerCase(c);
}
title.append(c);
}
return title.toString();
}
/* Creates a Date object from an ISO-8601 formatted string */
private static Date dateFromString(String dateString) {
if (!dateString.isEmpty()) {
try {
return iso8601DateFormat.parse(dateString);
} catch (ParseException ex) {
System.err.format("Date could not be parsed: %s\n", dateString);
}
}
return null;
}
private RomCache(Context context) {
opener = new SQLiteOpenHelper(context.getApplicationContext(), DB_NAME, null, 2) {
@Override
public void onCreate(SQLiteDatabase db) {
db.execSQL("CREATE TABLE IF NOT EXISTS " + TABLE_NAME + " (\n" +
"fileName TEXT PRIMARY KEY NOT NULL,\n" +
"title TEXT,\n" +
"licensee TEXT,\n" +
"locale TEXT,\n" +
"version INT,\n" +
"lastPlayed TEXT,\n" +
"isFavorite INT)");
}
@Override
public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
db.execSQL("DROP TABLE IF EXISTS " + TABLE_NAME);
onCreate(db);
}
@Override
public void onDowngrade(SQLiteDatabase db, int oldVersion, int newVersion) {
onUpgrade(db, oldVersion, newVersion);
}
};
}
public static synchronized RomCache getInstance(Context context) {
if (instance == null)
instance = new RomCache(context.getApplicationContext());
return instance;
}
/* Removes ROM metadata from the cache for files that are no longer present */
private static void clean(File[] files, SQLiteDatabase cache) {
cache.beginTransaction();
if (files.length == 0) {
// All ROM files were removed
cache.execSQL("DELETE FROM " + TABLE_NAME);
} else {
cache.execSQL("CREATE TEMP TABLE IF NOT EXISTS foundFiles (fileName TEXT PRIMARY KEY NOT NULL)");
ContentValues row = new ContentValues();
for (File f : files) {
row.put("fileName", f.getName());
if (cache.insert("foundFiles", null, row) == -1) {
// Don't compromise ROM cache if construction of foundFiles table fails
cache.endTransaction();
return;
}
}
cache.execSQL("DELETE FROM " + TABLE_NAME + " WHERE fileName NOT IN (SELECT fileName from foundFiles)");
cache.execSQL("DROP TABLE IF EXISTS foundFiles");
}
cache.setTransactionSuccessful();
cache.endTransaction();
}
/* Updates or inserts a ROM metadata entry */
private static boolean upsertMetadata(RomEntry rom, SQLiteDatabase cache) {
ContentValues row = new ContentValues();
boolean success;
String dateString = (rom.lastPlayed != null) ? iso8601DateFormat.format(rom.lastPlayed) : "";
String fileName = (new File(rom.getPath())).getName();
row.put("fileName", fileName);
row.put("title", rom.getTitle());
row.put("licensee", rom.getLicensee());
row.put("locale", rom.getLocale());
row.put("version", rom.getVersion());
row.put("lastPlayed", dateString);
row.put("isFavorite", rom.isFavorite);
// Insert or update depending on what's in the cache already
if (cache.query(TABLE_NAME, null, "fileName=?", new String[]{fileName},
null, null, null).getCount() == 0) {
success = (cache.insert(TABLE_NAME, null, row) != -1);
} else {
success = (cache.update(TABLE_NAME, row, "fileName=?", new String[]{fileName}) == 1);
}
if (!success)
System.err.format("Could not update metadata for '%s'\n", fileName);
return success;
}
/* Retrieves ROM metadata from the cache. If not present, metadata is loaded
from disk and then cached for next time */
private static RomEntry getRomMetadata(File f, SQLiteDatabase cache) throws IOException {
// Search cache for metadata (use filename as key)
Cursor c = cache.query(TABLE_NAME, null, "fileName=?", new String[]{f.getName()},
null, null, null);
String title, licensee, locale;
Date lastPlayed;
boolean favorite;
int version;
RomEntry rom;
try {
if (c.getCount() == 0) {
// ROM metadata is not in the cache: parse file for it
Cartridge game = new Cartridge(f.getAbsolutePath(), Cartridge.LoadMode.PARSE_ONLY);
title = toTitleCase(game.getTitle());
licensee = game.getLicensee();
locale = game.getLocale() == Cartridge.GameLocale.JAPAN ? "Japan" : "World";
version = game.getGameVersion();
lastPlayed = null;
favorite = false;
} else {
// Load ROM metadata from cache
c.moveToFirst();
title = c.getString(c.getColumnIndex("title"));
licensee = c.getString(c.getColumnIndex("licensee"));
locale = c.getString(c.getColumnIndex("locale"));
version = c.getInt(c.getColumnIndex("version"));
lastPlayed = dateFromString(c.getString(c.getColumnIndex("lastPlayed")));
favorite = (c.getInt(c.getColumnIndex("isFavorite")) != 0);
}
if (title.isEmpty())
title = f.getName();
rom = new RomEntry(f.getAbsolutePath(), title, licensee, locale, version, lastPlayed, favorite);
// Cache parsed data for next time
if (c.getCount() == 0)
upsertMetadata(rom, cache);
} finally {
c.close();
}
return rom;
}
/* Updates a ROM's metadata in the cache */
public boolean updateRomMetadata(RomEntry rom) {
SQLiteDatabase cache = opener.getWritableDatabase();
boolean success = upsertMetadata(rom, cache);
cache.close();
return success;
}
/* Removes a ROM from the cache list */
public void removeRom(String path) {
for (RomEntry r : romList) {
if (r.getPath().equals(path)) {
romList.remove(r);
break;
}
}
}
/* Retrieves ROM metadata for every ROM file present in a directory */
public void populateCache(File romDir) {
ArrayList<RomEntry> romList = new ArrayList<>();
SQLiteDatabase cache = opener.getWritableDatabase();
cache.beginTransaction();
// Search ROM directory for GameBoy and GameBoy color games
for (File f : romDir.listFiles()) {
String name = f.getName();
String ext = name.substring(name.lastIndexOf('.')).toLowerCase();
if (f.isFile() && (ext.equals(".gb") || ext.equals(".gbc"))) {
try {
romList.add(getRomMetadata(f, cache));
} catch (IOException e) {
// Likely due to an invalid ROM file
System.err.format("Could not load metadata for '%s': %s.\n", name, e.getMessage());
}
}
}
// Remove old cache entries
clean(romDir.listFiles(), cache);
cache.setTransactionSuccessful();
cache.endTransaction();
cache.close();
this.romList = romList;
}
}
| 9,284 | Java | .java | mwpenny/GameDroid | 43 | 7 | 0 | 2016-12-06T16:10:44Z | 2022-06-30T21:16:33Z | a9fd82199f5ad75326e44b02346146b44b8ddb979bda305a976c7d3e4376f8a5 | [] | [
1337,
2039,
6221,
2027,
51,
3642,
105,
1647,
51,
1726,
64,
222,
222,
485,
2616,
51,
1304,
51,
1795,
3367,
64,
222,
485,
2616,
51,
1304,
51,
1237,
64,
222,
485,
2616,
51,
4617,
51,
7424,
64,
222,
485,
2616,
51,
4617,
51,
14123,
51,
25912,
3969,
64,
222,
485,
2616,
51,
4617,
51,
14123,
51,
25912,
2981,
2775,
64,
222,
222,
485,
1401,
51,
735,
51,
991,
64,
222,
485,
1401,
51,
735,
51,
6860,
64,
222,
485,
1401,
51,
897,
51,
26004,
64,
222,
485,
1401,
51,
897,
51,
41033,
64,
222,
485,
1401,
51,
1058,
51,
7119,
64,
222,
485,
1401,
51,
1058,
51,
1563,
64,
222,
222,
485,
2039,
6221,
2027,
51,
3642,
105,
1647,
51,
1284,
51,
7346,
378,
33203,
64,
222,
222,
1127,
34816,
456,
24354,
5057,
3337,
3520,
2872,
588,
222,
942,
462,
578,
437,
2610,
320,
303,
964,
924,
1175,
910,
4594,
100,
2491,
299,
332,
515,
2630,
51,
1219,
884,
303,
964,
924,
1175,
910,
4934,
100,
2491,
299,
332,
515,
120,
884,
465,
964,
924,
1175,
27194,
26440,
61,
59,
53,
54,
15637,
299,
556,
27194,
459,
12727,
50,
2842,
50,
601,
21612,
63,
2861,
63,
441,
742,
64,
303,
964,
924,
578,
437,
2610,
1998,
64,
465,
964,
24846,
2981,
2775,
3107,
766,
64,
303,
581,
5068,
65,
41817,
2717,
67,
26027,
739,
64,
465,
1276,
25316,
331,
821,
391,
1799,
1152,
327,
106,
51,
108,
4345,
332,
31777,
21478,
39,
551,
332,
25448,
34539,
678,
588,
303,
964,
924,
910,
391,
3188,
2747,
45,
671,
1533,
46,
320,
310,
9705,
1799,
299,
556,
9705,
492,
310,
1922,
2371,
5108,
299,
878,
64,
310,
1533,
299,
1533,
51,
3249,
14743,
389,
349,
17842,
603,
456,
327,
1612,
300,
518,
1533,
51,
44536,
1177,
320,
343,
434,
327,
6891,
51,
316,
5144,
2674,
45,
104,
46,
1293,
300,
630,
18500,
1293,
300,
630,
20524,
1293,
300,
630,
14584,
704,
320,
419,
2371,
5108,
299,
878,
64,
343,
339,
832,
434,
327,
1995,
5108,
46,
320,
419,
300,
299,
15045,
51,
18068,
45,
104,
312,
419,
2371,
5108,
299,
920,
64,
343,
339,
832,
320,
419,
300,
299,
15045,
51,
10498,
45,
104,
312,
343,
339,
343,
1799,
51,
1713,
45,
104,
312,
310,
339,
310,
461,
1799,
51,
3127,
492,
303,
339,
465,
1276,
9308,
331,
2833,
1319,
664,
619,
19672,
50,
61,
59,
53,
54,
14179,
821,
588,
303,
964,
924,
2833,
2361,
17720,
45,
671,
2361,
671,
46,
320,
310,
434,
1445,
787,
671,
51,
6401,
1177,
320,
343,
1614,
320,
419,
461,
26440,
61,
59,
53,
54,
15637,
51,
2228,
45,
787,
671,
312,
343,
339,
2385,
327,
26004,
557,
46,
320,
419,
1189,
51,
549,
51,
1664,
459,
1563,
3087,
666,
545,
8450,
63,
925,
120,
97,
115,
411,
2361,
671,
312,
343,
339,
310,
339,
310,
461,
762,
64,
303,
339,
465,
964,
578,
437,
2610,
45,
1237,
1637,
46,
320,
310,
3107,
766,
299,
556,
24846,
2981,
2775,
45,
1834,
51,
36160,
1046,
4594,
100,
2491,
49,
762,
49,
244,
55,
46,
320,
343,
496,
1806,
343,
581,
782,
16456,
45,
25912,
3969,
3100,
46,
320,
419,
3100,
51,
2510,
3566,
459,
6046,
4934,
5515,
2387,
12141,
332,
494,
4934,
100,
2491,
494,
332,
10454,
115,
39,
494,
1031,
332,
10452,
20075,
13421,
11193,
5591,
2387,
1199,
9874,
115,
39,
494,
1031,
332,
1333,
47478,
13421,
9874,
115,
39,
494,
1031,
332,
2094,
106,
20075,
13421,
9874,
115,
39,
494,
1031,
332,
6925,
47478,
13421,
9874,
115,
39,
494,
1031,
332,
1687,
221,
221,
1860,
9874,
115,
39,
494,
1031,
332,
2153,
5202,
337,
20075,
13421,
9874,
115,
39,
494,
1031,
332,
316,
27186,
20075,
5992,
13365,
343,
339,
1083,
496,
1806,
343,
581,
782,
563,
15486,
45,
25912,
3969,
3100,
49,
648,
3627,
2080,
49,
648,
556,
2080,
46,
320,
419,
3100,
51,
2510,
3566,
459,
12472,
4934,
5515,
12141,
332,
494,
4934,
100,
2491,
312,
419,
16456,
45,
1219,
312,
343,
339,
1083,
496,
1806,
343,
581,
782,
563,
3228,
4966,
45,
25912,
3969,
3100,
49,
648,
3627,
2080,
49,
648,
556,
2080,
46,
320,
419,
563,
15486,
45,
1219,
49,
3627,
2080,
49,
556,
2080,
312,
343,
339,
310,
1487,
303,
339,
465,
581,
924,
13436,
578,
437,
2610,
31605,
45,
1237,
1637,
46,
320,
310,
434,
327,
2403,
630,
762,
46,
343,
1998,
299,
556,
578,
437,
2610,
45,
1834,
51,
36160,
1052,
310,
461,
1998,
64,
303,
339,
465,
1276,
24968,
24354,
5057,
664,
341,
3337,
456,
2293,
708,
904,
1307,
8940,
5041,
588,
303,
964,
924,
782,
5084,
45,
991,
1197,
2293,
49,
24846,
3969,
3337,
46,
320,
310,
3337,
51,
39118,
492,
603,
434,
327,
2558,
51,
1340,
630,
244,
53,
46,
320,
343,
453,
3381,
24354,
2293,
4547,
6563,
343,
3337,
51,
2510,
3566,
459,
6698,
3767,
332,
494,
4934,
100,
2491,
312,
310,
339,
832,
320,
343,
3337,
51,
2510,
3566,
459,
6046,
24857,
4934,
5515,
2387,
12141,
2448,
3852,
327,
10452,
13421,
11193,
5591,
2387,
1199,
13365,
343,
6261,
3367,
2720,
299,
556,
6261,
3367,
492,
343,
456,
327,
991,
315,
518,
2293,
46,
320,
419,
2720,
51,
543,
459,
10452,
411,
315,
51,
5175,
1052,
419,
434,
327,
2630,
51,
3233,
459,
6271,
3852,
411,
762,
49,
2720,
46,
630,
449,
54,
46,
320,
547,
453,
12046,
1348,
940,
2890,
24354,
3337,
434,
22376,
451,
2448,
3852,
1877,
8163,
547,
3337,
51,
435,
4331,
492,
547,
461,
64,
419,
339,
343,
339,
343,
3337,
51,
2510,
3566,
459,
6698,
3767,
332,
494,
4934,
100,
2491,
494,
332,
5007,
11221,
2387,
1255,
327,
4635,
11221,
664,
2448,
3852,
13365,
343,
3337,
51,
2510,
3566,
459,
12472,
4934,
5515,
12141,
2448,
3852,
742,
310,
339,
310,
3337,
51,
489,
4331,
21502,
492,
310,
3337,
51,
435,
4331,
492,
303,
339,
465,
1276,
19275,
575,
44646,
331,
24354,
5057,
3429,
588,
303,
964,
924,
1922,
46667,
4108,
45,
41817,
2717,
26027,
49,
24846,
3969,
3337,
46,
320,
310,
6261,
3367,
2720,
299,
556,
6261,
3367,
492,
310,
1922,
3136,
64,
310,
910,
2361,
671,
299,
327,
515,
51,
2153,
5202,
337,
882,
762,
46,
1037,
26440,
61,
59,
53,
54,
15637,
51,
1664,
45,
515,
51,
2153,
5202,
337,
46,
518,
5127,
310,
910,
11221,
299,
327,
909,
2050,
45,
515,
51,
17676,
22293,
5175,
492,
603,
2720,
51,
543,
459,
10452,
411,
11221,
312,
310,
2720,
51,
543,
459,
1333,
411,
26027,
51,
29733,
1052,
310,
2720,
51,
543,
459,
2094,
106,
411,
26027,
51,
390,
3801,
106,
1052,
310,
2720,
51,
543,
459,
6925,
411,
26027,
51,
46090,
1052,
310,
2720,
51,
543,
459,
1687,
411,
26027,
51,
31982,
1052,
310,
2720,
51,
543,
459,
2153,
5202,
337,
411,
2361,
671,
312,
310,
2720,
51,
543,
459,
316,
27186,
411,
26027,
51,
316,
27186,
312,
603,
453,
14624,
575,
1991,
14732,
563,
2794,
1200,
347,
341,
3337,
3443,
310,
434,
327,
2630,
51,
1234,
45,
6950,
100,
2491,
49,
762,
49,
332,
10452,
66,
14199,
556,
910,
14161,
10452,
855,
419,
762,
49,
762,
49,
762,
566,
32931,
365,
630,
244,
53,
46,
320,
343,
3136,
299,
327,
2630,
51,
3233,
45,
6950,
100,
2491,
49,
762,
49,
2720,
46,
882,
449,
54,
312,
310,
339,
832,
320,
343,
3136,
299,
327,
2630,
51,
1896,
45,
6950,
100,
2491,
49,
2720,
49,
332,
10452,
66,
14199,
556,
910,
14161,
10452,
1770,
630,
244,
54,
312,
310,
339,
603,
434,
1445,
3146,
46,
343,
1189,
51,
549,
51,
1664,
459,
9752,
666,
1991,
5057,
456,
6625,
120,
10273,
115,
411,
11221,
312,
603,
461,
3136,
64,
303,
339,
465,
1276,
31979,
24354,
5057,
664,
341,
3337,
51,
1691,
666,
5041,
49,
5057,
458,
3906,
1586,
664,
9537,
480,
1636,
10812,
456,
2371,
1153,
588,
303,
964,
924,
578,
437,
2717,
640,
41817,
4108,
45,
991,
315,
49,
24846,
3969,
3337,
46,
2589,
6300,
320,
310,
453,
7438,
3337,
456,
5057,
327,
558,
4891,
641,
1221,
46,
310,
22697,
300,
299,
3337,
51,
1234,
45,
6950,
100,
2491,
49,
762,
49,
332,
10452,
66,
14199,
556,
910,
14161,
107,
51,
5175,
27347,
7723,
762,
49,
762,
49,
762,
312,
603,
910,
1799,
49,
3553,
106,
49,
11262,
64,
310,
2833,
2419,
5202,
337,
64,
310,
1922,
27455,
64,
310,
648,
1522,
64,
310,
578,
437,
2717,
26027,
64,
603,
1614,
320,
343,
434,
327,
104,
51,
32931,
365,
630,
244,
53,
46,
320,
419,
453,
24354,
5057,
458,
666,
347,
341,
3337,
63,
3203,
822,
456,
580,
419,
7102,
378,
33203,
4204,
299,
556,
7102,
378,
33203,
45,
107,
51,
24697,
1046,
7102,
378,
33203,
51,
3028,
2116,
51,
30730,
100,
13003,
312,
419,
1799,
299,
391,
3188,
2747,
45,
3642,
51,
29733,
1052,
419,
3553,
106,
299,
4204,
51,
390,
3801,
106,
492,
419,
11262,
299,
4204,
51,
46090,
365,
630,
7102,
378,
33203,
51,
3783,
9459,
51,
79,
1910,
946,
1037,
332,
79,
23628,
39,
518,
332,
6719,
884,
419,
1522,
299,
4204,
51,
390,
3783,
2080,
492,
419,
2419,
5202,
337,
299,
762,
64,
419,
27455,
299,
920,
64,
343,
339,
832,
320,
419,
453,
6859,
24354,
5057,
664,
3337,
419,
300,
51,
23061,
3485,
492,
419,
1799,
299,
300,
51,
7080,
45,
104,
51,
41423,
459,
1333,
2992,
419,
3553,
106,
299,
300,
51,
7080,
45,
104,
51,
41423,
459,
2094,
106,
2992,
419,
11262,
299,
300,
51,
7080,
45,
104,
51,
41423,
459,
6925,
2992,
419,
1522,
299,
300,
51,
15384,
45,
104,
51,
41423,
459,
1687,
2992,
419,
2419,
5202,
337,
299,
2361,
17720,
45,
104,
51,
7080,
45,
104,
51,
41423,
459,
2153,
5202,
337,
13265,
419,
27455,
299,
327,
104,
51,
15384,
45,
104,
51,
41423,
459,
316,
27186,
2152,
882,
244,
53,
312,
343,
339,
343,
434,
327,
1333,
51,
6401,
1177,
419,
1799,
299,
315,
51,
5175,
492,
343,
26027,
299,
556,
578,
437,
2717,
45,
107,
51,
24697,
1046,
1799,
49,
3553,
106,
49,
11262,
49,
1522,
49,
2419,
5202,
337,
49,
27455,
312,
1083,
453,
10425,
8450,
727,
456,
2371,
1153,
343,
434,
327,
104,
51,
32931,
365,
630,
244,
53,
46,
419,
46667,
4108,
45,
515,
49,
3337,
312,
310,
339,
8312,
320,
343,
300,
51,
2698,
492,
310,
339,
603,
461,
26027,
64,
303,
339,
465,
1276,
19275,
331,
24354,
1200,
5057,
347,
341,
3337,
588,
303,
581,
1922,
1991,
41817,
4108,
45,
41817,
2717,
26027,
46,
320,
310,
24846,
3969,
3337,
299,
3107,
766,
51,
390,
21383,
3969,
492,
310,
1922,
3136,
299,
46667,
4108,
45,
515,
49,
3337,
312,
310,
3337,
51,
2698,
492,
310,
461,
3136,
64,
303,
339,
465,
1276,
24968,
331,
24354,
664,
341,
3337,
1168,
588,
303,
581,
782,
3365,
41817,
45,
671,
1536,
46,
320,
310,
456,
327,
41817,
2717,
559,
518,
26027,
739,
46,
320,
343,
434,
327,
119,
51,
17676,
941,
3591,
45,
1005,
509,
320,
419,
26027,
739,
51,
2564,
45,
119,
312,
419,
1644,
64,
343,
339,
310,
339,
303,
339,
465,
1276,
31979,
24354,
5057,
456,
3659,
24354,
822,
5041,
347,
331,
3378,
588,
303,
581,
782,
18985,
2610,
45,
991,
26027,
2995,
46,
320,
310,
5068,
65,
41817,
2717,
67,
26027,
739,
299,
556,
5068,
6984,
310,
24846,
3969,
3337,
299,
3107,
766,
51,
390,
21383,
3969,
492,
310,
3337,
51,
39118,
492,
603,
453,
7438,
24354,
3378,
456,
6067,
5558,
126,
480,
6067,
5558,
126,
1989,
19768,
310,
456,
327,
991,
315,
518,
26027,
2995,
51,
687,
3852,
1177,
320,
343,
910,
655,
299,
315,
51,
5175,
492,
343,
910,
1467,
299,
655,
51,
8724,
45,
444,
51,
27268,
3964,
12100,
10498,
492,
343,
434,
327,
107,
51,
41746,
365,
979,
327,
426,
51,
3591,
5804,
6267,
678,
1293,
1467,
51,
3591,
5804,
108,
3611,
14040,
320,
419,
1614,
320,
547,
26027,
739,
51,
688,
45,
390,
41817,
4108,
45,
107,
49,
3337,
894,
419,
339,
2385,
327,
6860,
503,
46,
320,
547,
453,
517,
1567,
3151,
7278,
391,
619,
5549,
24354,
822,
547,
1189,
51,
549,
51,
1664,
459,
9752,
666,
2480,
5057,
456,
6625,
120,
972,
925,
120,
5339,
115,
411,
655,
49,
503,
51,
7724,
1052,
419,
339,
343,
339,
310,
339,
603,
453,
6491,
3627,
3337,
8072,
310,
5084,
45,
515,
2995,
51,
687,
3852,
1046,
3337,
312,
310,
3337,
51,
489,
4331,
21502,
492,
310,
3337,
51,
435,
4331,
492,
310,
3337,
51,
2698,
492,
310,
477,
51,
515,
739,
299,
26027,
739,
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,
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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
]
] | 2,066 | true | 55.848772 | true | true |
SettingsActivity.java | /FileExtraction/Java_unseen/moneymanagerex_android-money-manager-ex/app/src/main/java/com/money/manager/ex/settings/SettingsActivity.java | /*
* Copyright (C) 2012-2018 The Android Money Manager Ex Project 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 <http://www.gnu.org/licenses/>.
*/
package com.money.manager.ex.settings;
import android.content.Intent;
import android.os.Bundle;
import com.money.manager.ex.MmexApplication;
import com.money.manager.ex.R;
import com.money.manager.ex.core.Core;
import javax.inject.Inject;
import androidx.preference.PreferenceFragmentCompat;
import dagger.Lazy;
public class SettingsActivity
extends BaseSettingsFragmentActivity {
public static final String EXTRA_FRAGMENT = "extraFragment";
@Inject Lazy<AppSettings> appSettingsLazy;
@Inject Lazy<Core> coreLazy;
@Override
protected void onCreate(Bundle savedInstance) {
super.onCreate(savedInstance);
MmexApplication.getApp().iocComponent.inject(this);
showFragment();
}
@Override
protected void onResume() {
super.onResume();
setTitle(R.string.settings);
}
private void showFragment() {
// figure out which fragment to show
PreferenceFragmentCompat fragment = null;
Intent intent = getIntent();
String fragmentName = intent.getStringExtra(EXTRA_FRAGMENT);
if (fragmentName != null && fragmentName.equals(PerDatabaseFragment.class.getSimpleName())) {
fragment = new PerDatabaseFragment();
}
// default
if (fragment == null) {
fragment = new SettingsFragment();
}
setSettingFragment(fragment);
}
}
| 2,133 | Java | .java | moneymanagerex/android-money-manager-ex | 439 | 181 | 26 | 2014-05-19T23:49:58Z | 2024-05-09T05:19:30Z | 11f5a06d7334ef5bcc662d38e94a7c9353e3c6c7192cb045ded7bef852160898 | [] | [
1127,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
54,
55,
50,
55,
53,
54,
61,
906,
8107,
35593,
10706,
1300,
5426,
12653,
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,
56,
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,
51,
244,
1691,
666,
49,
2337,
350,
544,
574,
1516,
51,
10627,
51,
1107,
52,
4205,
28699,
222,
588,
222,
1337,
785,
51,
15400,
51,
4031,
51,
346,
51,
3563,
64,
222,
222,
485,
2616,
51,
1304,
51,
8770,
64,
222,
485,
2616,
51,
519,
51,
4775,
64,
222,
222,
485,
785,
51,
15400,
51,
4031,
51,
346,
51,
82,
29656,
2743,
64,
222,
485,
785,
51,
15400,
51,
4031,
51,
346,
51,
87,
64,
222,
485,
785,
51,
15400,
51,
4031,
51,
346,
51,
1284,
51,
2869,
64,
222,
222,
485,
3698,
51,
10287,
51,
8836,
64,
222,
222,
485,
10484,
51,
29565,
51,
14366,
5763,
6823,
64,
222,
485,
47301,
51,
18832,
64,
222,
222,
942,
462,
9925,
3697,
303,
2041,
3787,
2977,
5763,
3697,
320,
465,
581,
924,
1175,
910,
2800,
12522,
100,
36074,
299,
332,
7625,
5763,
884,
465,
496,
8836,
23980,
65,
39957,
67,
1142,
2977,
18832,
64,
303,
496,
8836,
23980,
65,
2869,
67,
5305,
18832,
64,
465,
496,
1806,
303,
2532,
782,
16456,
45,
4775,
7533,
1825,
46,
320,
310,
2615,
51,
20217,
45,
9047,
1825,
312,
603,
507,
29656,
2743,
51,
44791,
941,
37932,
1735,
51,
10287,
45,
597,
312,
603,
2539,
5763,
492,
303,
339,
465,
496,
1806,
303,
2532,
782,
563,
14986,
365,
320,
310,
2615,
51,
286,
14986,
492,
603,
46821,
45,
87,
51,
819,
51,
3563,
312,
303,
339,
465,
964,
782,
2539,
5763,
365,
320,
310,
453,
11038,
986,
1532,
10299,
391,
2539,
310,
42838,
5763,
6823,
10299,
299,
762,
64,
603,
11790,
8935,
299,
640,
8770,
492,
603,
910,
10299,
577,
299,
8935,
51,
7080,
9124,
45,
20175,
100,
36074,
312,
310,
434,
327,
9883,
577,
882,
762,
979,
10299,
577,
51,
3591,
45,
1852,
3969,
5763,
51,
842,
51,
26999,
5183,
320,
343,
10299,
299,
556,
4235,
3969,
5763,
492,
310,
339,
603,
453,
1263,
310,
434,
327,
9883,
630,
762,
46,
320,
343,
10299,
299,
556,
9925,
5763,
492,
310,
339,
603,
758,
7093,
5763,
45,
9883,
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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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
]
] | 498 | true | 69.7609 | true | true |
CurrencyManager.java | /FileExtraction/Java_unseen/nulli0n_ExcellentShop-spigot/Core/src/main/java/su/nightexpress/nexshop/currency/CurrencyManager.java | package su.nightexpress.nexshop.currency;
import me.TechsCode.UltraEconomy.UltraEconomy;
import me.xanium.gemseconomy.GemsEconomy;
import org.bukkit.Material;
import org.bukkit.inventory.ItemStack;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import su.nightexpress.nexshop.ShopPlugin;
import su.nightexpress.nexshop.api.currency.Currency;
import su.nightexpress.nexshop.api.currency.CurrencyHandler;
import su.nightexpress.nexshop.currency.handler.*;
import su.nightexpress.nexshop.currency.impl.CoinsEngineCurrency;
import su.nightexpress.nexshop.currency.impl.ConfigCurrency;
import su.nightexpress.nexshop.currency.impl.DummyCurrency;
import su.nightexpress.nexshop.currency.impl.UltraEconomyCurrency;
import su.nightexpress.nexshop.hook.HookId;
import su.nightexpress.nightcore.config.FileConfig;
import su.nightexpress.nightcore.integration.VaultHook;
import su.nightexpress.nightcore.manager.AbstractManager;
import su.nightexpress.nightcore.util.FileUtil;
import su.nightexpress.nightcore.util.Plugins;
import java.io.File;
import java.util.Collection;
import java.util.HashMap;
import java.util.Map;
import java.util.Set;
import java.util.function.Supplier;
public class CurrencyManager extends AbstractManager<ShopPlugin> {
public static final String FILE_NAME = "currencies.yml";
public static final DummyCurrency DUMMY_CURRENCY = new DummyCurrency();
private final FileConfig config;
private final Map<String, Currency> currencyMap;
public CurrencyManager(@NotNull ShopPlugin plugin) {
super(plugin);
this.currencyMap = new HashMap<>();
this.config = FileConfig.loadOrExtract(plugin, FILE_NAME);
}
@Override
protected void onLoad() {
this.migrateOldConfigs();
this.loadCurrencies();
}
private void migrateOldConfigs() {
File dir = new File(this.plugin.getDataFolder() + "/currency/");
if (!dir.exists()) return;
File defDir = new File(this.plugin.getDataFolder() + "/currency/default/");
if (defDir.exists()) {
for (FileConfig cfg : FileConfig.loadAll(defDir.getAbsolutePath(), true)) {
String id = cfg.getFile().getName().replace(".yml", "");
ItemStackHandler handler = new ItemStackHandler(new ItemStack(Material.AIR));
ConfigCurrency currency = ConfigCurrency.read(cfg, "", id, handler);
this.writeCurrency(currency);
}
}
File itemDir = new File(this.plugin.getDataFolder() + "/currency/custom_item/");
if (itemDir.exists()) {
for (FileConfig cfg : FileConfig.loadAll(itemDir.getAbsolutePath(), true)) {
String id = cfg.getFile().getName().replace(".yml", "");
ItemStackHandler handler = ItemStackHandler.read(cfg, "");
if (handler == null) continue;
ConfigCurrency currency = ConfigCurrency.read(cfg, "", id, handler);
this.writeCurrency(currency);
}
}
FileUtil.deleteRecursive(dir);
}
public void loadCurrencies() {
this.loadItemCurrencies();
this.loadCurrency(PlayerXPHandler.ID, PlayerXPHandler::new);
if (Plugins.hasVault() && VaultHook.hasEconomy()) {
this.loadCurrency(VaultEconomyHandler.ID, VaultEconomyHandler::new);
}
if (Plugins.isInstalled(HookId.PLAYER_POINTS)) {
this.loadCurrency(PlayerPointsHandler.ID, PlayerPointsHandler::new);
}
if (Plugins.isInstalled(HookId.BEAST_TOKENS)) {
this.loadCurrency(BeastTokensHandler.ID, BeastTokensHandler::new);
}
if (Plugins.isInstalled(HookId.VOTING_PLUGIN)) {
this.loadCurrency(VotingPluginHandler.ID, VotingPluginHandler::new);
}
if (Plugins.isInstalled(HookId.ELITEMOBS)) {
this.loadCurrency(EliteMobsHandler.ID, EliteMobsHandler::new);
}
if (Plugins.isInstalled(HookId.COINS_ENGINE)) {
CoinsEngineCurrency.getCurrencies().forEach(this::registerCurrency);
}
if (Plugins.isInstalled(HookId.GEMS_ECONOMY)) {
for (me.xanium.gemseconomy.currency.Currency currency : GemsEconomy.getInstance().getCurrencyManager().getCurrencies()) {
this.loadCurrency("gemseconomy_" + currency.getSingular(), () -> new GemsEconomyHandler(currency));
}
}
if (Plugins.isInstalled(HookId.ULTRA_ECONOMY)) {
UltraEconomy.getAPI().getCurrencies().forEach(currency -> {
this.registerCurrency(new UltraEconomyCurrency(currency));
});
}
this.config.saveChanges();
}
public void loadItemCurrencies() {
if (!this.config.contains("Custom_Item")) {
this.writeCurrency(this.newItemCurrency("gold", new ItemStack(Material.GOLD_INGOT)));
this.writeCurrency(this.newItemCurrency("diamond", new ItemStack(Material.DIAMOND)));
this.writeCurrency(this.newItemCurrency("emerald", new ItemStack(Material.EMERALD)));
}
for (String id : this.config.getSection("Custom_Item")) {
String path = "Custom_Item." + id;
ItemStackHandler handler = ItemStackHandler.read(this.config, path);
if (handler == null) {
this.plugin.error("Invalid 'Item' setting for '" + id + "' custom item currency.");
continue;
}
this.loadCurrency(id, path, () -> handler);
}
}
public void writeCurrency(@NotNull ConfigCurrency currency) {
String path = "External." + currency.getId();
if (currency.getHandler() instanceof ItemStackHandler) {
path = "Custom_Item." + currency.getId();
}
currency.write(this.config, path);
}
@NotNull
public ConfigCurrency newItemCurrency(@NotNull String id, @NotNull ItemStack itemStack) {
ItemStackHandler handler = new ItemStackHandler(itemStack);
return ConfigCurrency.withDefaults(id, handler);
}
public void createItemCurrency(@NotNull String id, @NotNull ItemStack itemStack) {
ConfigCurrency currency = newItemCurrency(id, itemStack);
this.writeCurrency(currency);
this.registerCurrency(currency);
this.config.saveChanges();
}
public void loadCurrency(@NotNull String id, @NotNull Supplier<CurrencyHandler> supplier) {
this.loadCurrency(id, "Currencies." + id, supplier);
}
private void loadCurrency(@NotNull String id, @NotNull String path, @NotNull Supplier<CurrencyHandler> supplier) {
ConfigCurrency currency = ConfigCurrency.read(this.config, path, id, supplier.get());
this.registerCurrency(currency);
}
@Override
protected void onShutdown() {
this.currencyMap.clear();
}
public void registerCurrency(@NotNull Currency currency) {
this.getCurrencyMap().put(currency.getId(), currency);
this.plugin.info("Registered currency: " + currency.getId());
}
public boolean hasCurrency() {
return !this.getCurrencyMap().isEmpty();
}
@NotNull
public Map<String, Currency> getCurrencyMap() {
return currencyMap;
}
@NotNull
public Collection<Currency> getCurrencies() {
return this.getCurrencyMap().values();
}
@NotNull
public Set<String> getCurrencyIds() {
return this.getCurrencyMap().keySet();
}
@Nullable
public Currency getCurrency(@NotNull String id) {
return this.getCurrencyMap().get(id.toLowerCase());
}
@NotNull
@Deprecated
public Currency getAny() {
return this.getCurrencies().stream().findFirst().orElseThrow();
}
}
| 7,818 | Java | .java | nulli0n/ExcellentShop-spigot | 19 | 20 | 2 | 2022-10-15T13:09:54Z | 2024-05-08T11:30:44Z | a1702406e252e09980f87c2cece5c14ad079078fdd96da50bd0df69ebd69d9b6 | [] | [
1337,
7345,
51,
14615,
9450,
51,
16453,
5579,
51,
8088,
64,
222,
222,
485,
616,
51,
13668,
120,
1241,
51,
28537,
2704,
74,
18167,
126,
51,
28537,
2704,
74,
18167,
126,
64,
222,
485,
616,
51,
125,
297,
3892,
51,
13329,
296,
18167,
126,
51,
76,
4907,
74,
18167,
126,
64,
222,
485,
1105,
51,
20402,
51,
6347,
64,
222,
485,
1105,
51,
20402,
51,
12944,
51,
26022,
64,
222,
485,
1105,
51,
15575,
51,
8839,
51,
4936,
64,
222,
485,
1105,
51,
15575,
51,
8839,
51,
6825,
64,
222,
485,
7345,
51,
14615,
9450,
51,
16453,
5579,
51,
12826,
4168,
64,
222,
485,
7345,
51,
14615,
9450,
51,
16453,
5579,
51,
1256,
51,
8088,
51,
12096,
64,
222,
485,
7345,
51,
14615,
9450,
51,
16453,
5579,
51,
1256,
51,
8088,
51,
12096,
1985,
64,
222,
485,
7345,
51,
14615,
9450,
51,
16453,
5579,
51,
8088,
51,
4543,
7737,
222,
485,
7345,
51,
14615,
9450,
51,
16453,
5579,
51,
8088,
51,
3126,
51,
38876,
3726,
12096,
64,
222,
485,
7345,
51,
14615,
9450,
51,
16453,
5579,
51,
8088,
51,
3126,
51,
1081,
12096,
64,
222,
485,
7345,
51,
14615,
9450,
51,
16453,
5579,
51,
8088,
51,
3126,
51,
17292,
12096,
64,
222,
485,
7345,
51,
14615,
9450,
51,
16453,
5579,
51,
8088,
51,
3126,
51,
28537,
2704,
74,
18167,
126,
12096,
64,
222,
485,
7345,
51,
14615,
9450,
51,
16453,
5579,
51,
7141,
51,
9825,
625,
64,
222,
485,
7345,
51,
14615,
9450,
51,
14615,
1284,
51,
1180,
51,
991,
1081,
64,
222,
485,
7345,
51,
14615,
9450,
51,
14615,
1284,
51,
11623,
51,
17799,
9825,
64,
222,
485,
7345,
51,
14615,
9450,
51,
14615,
1284,
51,
4031,
51,
5597,
1590,
64,
222,
485,
7345,
51,
14615,
9450,
51,
14615,
1284,
51,
1058,
51,
991,
1747,
64,
222,
485,
7345,
51,
14615,
9450,
51,
14615,
1284,
51,
1058,
51,
15459,
64,
222,
222,
485,
1401,
51,
735,
51,
991,
64,
222,
485,
1401,
51,
1058,
51,
2272,
64,
222,
485,
1401,
51,
1058,
51,
8263,
64,
222,
485,
1401,
51,
1058,
51,
1225,
64,
222,
485,
1401,
51,
1058,
51,
903,
64,
222,
485,
1401,
51,
1058,
51,
1144,
51,
17612,
64,
222,
222,
942,
462,
24056,
1590,
2041,
7406,
1590,
65,
12826,
4168,
67,
320,
465,
581,
924,
1175,
910,
370,
10961,
100,
2491,
665,
299,
332,
45426,
51,
7083,
884,
303,
581,
924,
1175,
25222,
12096,
493,
43341,
100,
7525,
632,
45563,
299,
556,
25222,
12096,
492,
465,
964,
1175,
2050,
1081,
1485,
1377,
64,
303,
964,
1175,
3531,
65,
671,
49,
24056,
67,
12429,
1225,
64,
465,
581,
24056,
1590,
4810,
4936,
20791,
4168,
3985,
46,
320,
310,
2615,
45,
2809,
312,
310,
477,
51,
8088,
1225,
299,
556,
8329,
6984,
310,
477,
51,
1180,
299,
2050,
1081,
51,
963,
1543,
10078,
45,
2809,
49,
10961,
100,
2491,
312,
303,
339,
465,
496,
1806,
303,
2532,
782,
47750,
365,
320,
310,
477,
51,
20101,
10560,
18149,
492,
310,
477,
51,
963,
72,
26017,
492,
303,
339,
465,
964,
782,
22631,
10560,
18149,
365,
320,
310,
2050,
4937,
299,
556,
2050,
45,
597,
51,
2809,
51,
11574,
5653,
365,
494,
2450,
8088,
38740,
310,
434,
1445,
1537,
51,
4678,
1177,
461,
64,
603,
2050,
684,
2995,
299,
556,
2050,
45,
597,
51,
2809,
51,
11574,
5653,
365,
494,
2450,
8088,
52,
1555,
38740,
310,
434,
327,
610,
2995,
51,
4678,
1177,
320,
343,
456,
327,
991,
1081,
8471,
518,
2050,
1081,
51,
963,
1947,
45,
610,
2995,
51,
24697,
1046,
878,
509,
320,
419,
910,
828,
299,
8471,
51,
22184,
941,
5175,
941,
3249,
5804,
7083,
411,
10780,
2125,
26657,
1985,
4908,
299,
556,
26657,
1985,
45,
909,
26657,
45,
6347,
51,
39608,
894,
419,
3395,
12096,
12429,
299,
3395,
12096,
51,
870,
45,
4703,
49,
4343,
828,
49,
4908,
312,
419,
477,
51,
1838,
12096,
45,
8088,
312,
343,
339,
310,
339,
6934,
2050,
1641,
2995,
299,
556,
2050,
45,
597,
51,
2809,
51,
11574,
5653,
365,
494,
2450,
8088,
52,
3005,
100,
1113,
38740,
310,
434,
327,
1113,
2995,
51,
4678,
1177,
320,
343,
456,
327,
991,
1081,
8471,
518,
2050,
1081,
51,
963,
1947,
45,
1113,
2995,
51,
24697,
1046,
878,
509,
320,
419,
910,
828,
299,
8471,
51,
22184,
941,
5175,
941,
3249,
5804,
7083,
411,
10780,
2125,
26657,
1985,
4908,
299,
26657,
1985,
51,
870,
45,
4703,
49,
10780,
419,
434,
327,
4543,
630,
762,
46,
4056,
64,
2125,
3395,
12096,
12429,
299,
3395,
12096,
51,
870,
45,
4703,
49,
4343,
828,
49,
4908,
312,
419,
477,
51,
1838,
12096,
45,
8088,
312,
343,
339,
310,
339,
603,
2050,
1747,
51,
2577,
27243,
45,
1537,
312,
303,
339,
465,
581,
782,
2480,
72,
26017,
365,
320,
310,
477,
51,
963,
1114,
72,
26017,
492,
603,
477,
51,
963,
12096,
45,
3516,
15535,
1985,
51,
798,
49,
9306,
15535,
1985,
422,
909,
312,
603,
434,
327,
15459,
51,
2057,
17799,
365,
979,
25388,
9825,
51,
2057,
74,
18167,
126,
1177,
320,
343,
477,
51,
963,
12096,
45,
17799,
74,
18167,
126,
1985,
51,
798,
49,
25388,
74,
18167,
126,
1985,
422,
909,
312,
310,
339,
603,
434,
327,
15459,
51,
316,
23309,
45,
9825,
625,
51,
19409,
100,
38188,
509,
320,
343,
477,
51,
963,
12096,
45,
3516,
6843,
1985,
51,
798,
49,
9306,
6843,
1985,
422,
909,
312,
310,
339,
310,
434,
327,
15459,
51,
316,
23309,
45,
9825,
625,
51,
4671,
4392,
100,
9070,
88,
509,
320,
343,
477,
51,
963,
12096,
45,
1483,
652,
10915,
1985,
51,
798,
49,
4284,
652,
10915,
1985,
422,
909,
312,
310,
339,
310,
434,
327,
15459,
51,
316,
23309,
45,
9825,
625,
51,
91,
1212,
1410,
100,
21963,
509,
320,
343,
477,
51,
963,
12096,
45,
91,
13790,
4168,
1985,
51,
798,
49,
694,
13790,
4168,
1985,
422,
909,
312,
310,
339,
310,
434,
327,
15459,
51,
316,
23309,
45,
9825,
625,
51,
2165,
2363,
2414,
11415,
509,
320,
343,
477,
51,
963,
12096,
45,
5467,
676,
82,
12185,
1985,
51,
798,
49,
10421,
676,
82,
12185,
1985,
422,
909,
312,
310,
339,
310,
434,
327,
15459,
51,
316,
23309,
45,
9825,
625,
51,
1213,
14013,
100,
28104,
509,
320,
343,
32653,
120,
3726,
12096,
51,
11641,
26017,
941,
5388,
45,
597,
422,
3334,
12096,
312,
310,
339,
603,
434,
327,
15459,
51,
316,
23309,
45,
9825,
625,
51,
3076,
2758,
100,
74,
1742,
5664,
94,
509,
320,
343,
456,
327,
308,
51,
125,
297,
3892,
51,
13329,
296,
18167,
126,
51,
8088,
51,
12096,
12429,
518,
590,
4907,
74,
18167,
126,
51,
7432,
941,
11641,
4595,
1590,
941,
11641,
26017,
1177,
320,
419,
477,
51,
963,
12096,
459,
13329,
296,
18167,
126,
15727,
494,
12429,
51,
18721,
318,
1919,
1046,
1423,
984,
556,
590,
4907,
74,
18167,
126,
1985,
45,
8088,
894,
343,
339,
310,
339,
603,
434,
327,
15459,
51,
316,
23309,
45,
9825,
625,
51,
809,
12522,
100,
74,
1742,
5664,
94,
509,
320,
343,
650,
113,
2704,
74,
18167,
126,
51,
390,
2571,
941,
11641,
26017,
941,
5388,
45,
8088,
984,
320,
419,
477,
51,
3334,
12096,
45,
909,
650,
113,
2704,
74,
18167,
126,
12096,
45,
8088,
894,
343,
1141,
310,
339,
603,
477,
51,
1180,
51,
2882,
9572,
492,
303,
339,
465,
581,
782,
2480,
1114,
72,
26017,
365,
320,
310,
434,
1445,
597,
51,
1180,
51,
4766,
459,
3414,
100,
1114,
2152,
320,
343,
477,
51,
1838,
12096,
45,
597,
51,
909,
1114,
12096,
459,
16804,
411,
556,
26657,
45,
6347,
51,
76,
9403,
100,
1410,
1212,
4254,
343,
477,
51,
1838,
12096,
45,
597,
51,
909,
1114,
12096,
459,
1351,
25820,
411,
556,
26657,
45,
6347,
51,
1740,
2229,
36606,
4254,
343,
477,
51,
1838,
12096,
45,
597,
51,
909,
1114,
12096,
459,
423,
21801,
105,
411,
556,
26657,
45,
6347,
51,
4565,
546,
744,
73,
4254,
310,
339,
603,
456,
327,
671,
828,
518,
477,
51,
1180,
51,
390,
5434,
459,
3414,
100,
1114,
2152,
320,
343,
910,
1536,
299,
332,
3414,
100,
1114,
3128,
494,
828,
64,
1083,
26657,
1985,
4908,
299,
26657,
1985,
51,
870,
45,
597,
51,
1180,
49,
1536,
312,
343,
434,
327,
4543,
630,
762,
46,
320,
419,
477,
51,
2809,
51,
750,
459,
3828,
349,
1114,
44,
5767,
456,
6121,
494,
828,
494,
5343,
3137,
1641,
12429,
5377,
419,
4056,
64,
343,
339,
1083,
477,
51,
963,
12096,
45,
333,
49,
1536,
49,
1423,
984,
4908,
312,
310,
339,
303,
339,
465,
581,
782,
2886,
12096,
4810,
4936,
3395,
12096,
12429,
46,
320,
310,
910,
1536,
299,
332,
8392,
3128,
494,
12429,
51,
7068,
492,
603,
434,
327,
8088,
51,
390,
1985,
365,
5118,
26657,
1985,
46,
320,
343,
1536,
299,
332,
3414,
100,
1114,
3128,
494,
12429,
51,
7068,
492,
310,
339,
603,
12429,
51,
1838,
45,
597,
51,
1180,
49,
1536,
312,
303,
339,
465,
496,
4936,
303,
581,
3395,
12096,
556,
1114,
12096,
4810,
4936,
910,
828,
49,
496,
4936,
26657,
1641,
3131,
46,
320,
310,
26657,
1985,
4908,
299,
556,
26657,
1985,
45,
1113,
3131,
312,
603,
461,
3395,
12096,
51,
1814,
14486,
45,
333,
49,
4908,
312,
303,
339,
465,
581,
782,
1506,
1114,
12096,
4810,
4936,
910,
828,
49,
496,
4936,
26657,
1641,
3131,
46,
320,
310,
3395,
12096,
12429,
299,
556,
1114,
12096,
45,
333,
49,
1641,
3131,
312,
603,
477,
51,
1838,
12096,
45,
8088,
312,
310,
477,
51,
3334,
12096,
45,
8088,
312,
310,
477,
51,
1180,
51,
2882,
9572,
492,
303,
339,
465,
581,
782,
2480,
12096,
4810,
4936,
910,
828,
49,
496,
4936,
34549,
65,
12096,
1985,
67,
28209,
46,
320,
310,
477,
51,
963,
12096,
45,
333,
49,
332,
72,
26017,
3128,
494,
828,
49,
28209,
312,
303,
339,
465,
964,
782,
2480,
12096,
4810,
4936,
910,
828,
49,
496,
4936,
910,
1536,
49,
496,
4936,
34549,
65,
12096,
1985,
67,
28209,
46,
320,
310,
3395,
12096,
12429,
299,
3395,
12096,
51,
870,
45,
597,
51,
1180,
49,
1536,
49,
828,
49,
28209,
51,
390,
1052,
310,
477,
51,
3334,
12096,
45,
8088,
312,
303,
339,
465,
496,
1806,
303,
2532,
782,
563,
19658,
365,
320,
310,
477,
51,
8088,
1225,
51,
3830,
492,
303,
339,
465,
581,
782,
3923,
12096,
4810,
4936,
24056,
12429,
46,
320,
310,
477,
51,
11641,
4595,
1225,
941,
543,
45,
8088,
51,
7068,
1046,
12429,
312,
310,
477,
51,
2809,
51,
1357,
459,
17521,
12429,
63,
332,
494,
12429,
51,
7068,
1052,
303,
339,
465,
581,
1922,
1421,
12096,
365,
320,
310,
461,
673,
597,
51,
11641,
4595,
1225,
941,
6401,
492,
303,
339,
465,
496,
4936,
303,
581,
3531,
65,
671,
49,
24056,
67,
640,
12096,
1225,
365,
320,
310,
461,
12429,
1225,
64,
303,
339,
465,
496,
4936,
303,
581,
7380,
65,
12096,
67,
38941,
26017,
365,
320,
310,
461,
477,
51,
11641,
4595,
1225,
941,
2857,
492,
303,
339,
465,
496,
4936,
303,
581,
1776,
65,
671,
67,
640,
12096,
5345,
365,
320,
310,
461,
477,
51,
11641,
4595,
1225,
941,
23585,
492,
303,
339,
465,
496,
6825,
303,
581,
24056,
640,
12096,
4810,
4936,
910,
828,
46,
320,
310,
461,
477,
51,
11641,
4595,
1225,
941,
390,
45,
333,
51,
10498,
1052,
303,
339,
465,
496,
4936,
303,
496,
15375,
303,
581,
24056,
640,
4292,
365,
320,
310,
461,
477,
51,
11641,
26017,
941,
2255,
941,
45219,
941,
26628,
6562,
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,
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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,888 | true | 66.167818 | true | true |
ForkJointWithSessionComputation.java | /FileExtraction/Java_unseen/srecon_ignite-book-code-samples/chapters/chapter-dist-computing/src/main/java/com/blu/imdg/example5/ForkJointWithSessionComputation.java | package com.blu.imdg.example5;
import org.apache.ignite.Ignite;
import org.apache.ignite.IgniteCompute;
import org.apache.ignite.IgniteException;
import org.apache.ignite.Ignition;
import org.apache.ignite.compute.ComputeJob;
import org.apache.ignite.compute.ComputeJobResult;
import org.apache.ignite.compute.ComputeTaskSessionFullSupport;
import org.apache.ignite.compute.ComputeTaskSplitAdapter;
import com.blu.imdg.common.TestDataGenerator;
import com.blu.imdg.example3.ValidateMessage;
import org.jetbrains.annotations.Nullable;
import java.io.IOException;
import java.util.Arrays;
import java.util.Collection;
import java.util.List;
import java.util.stream.Collectors;
import static com.blu.imdg.common.CommonConstants.CLIENT_CONFIG;
/**
* Created by mikl on 14.07.16.
*/
@ComputeTaskSessionFullSupport
public class ForkJointWithSessionComputation extends ComputeTaskSplitAdapter<ValidateMessage[], Boolean> {
@Override
protected Collection<? extends ComputeJob> split(int i, ValidateMessage[] messages) throws IgniteException {
return Arrays.stream(messages).map(ForkJoinWithSessionJobAdapter::new).collect(Collectors.toList());
}
@Nullable
@Override
public Boolean reduce(List<ComputeJobResult> list) throws IgniteException {
return list.stream().reduce(true, (acc, value) -> acc && (Boolean) value.getData(), (a, b) -> a && b);
}
public static void main(String[] args) throws IOException {
try (Ignite ignite = Ignition.start(CLIENT_CONFIG)) {
IgniteCompute compute = ignite.compute();
ValidateMessage[] validateMessages = TestDataGenerator.getValidateMessages();
Boolean result = compute.execute(new ForkJointWithSessionComputation(), validateMessages);
System.out.println("result=" + result);
}
}
}
| 1,840 | Java | .java | srecon/ignite-book-code-samples | 91 | 58 | 1 | 2016-09-17T07:09:29Z | 2017-12-20T08:23:58Z | 02e8f96d56bfe92460d0b02e8b4b3e234d938355fb20bdb1ae62b56adaae7299 | [] | [
1337,
785,
51,
1570,
122,
51,
468,
12592,
51,
2783,
58,
64,
222,
222,
485,
1105,
51,
2121,
51,
34264,
51,
24918,
676,
64,
222,
485,
1105,
51,
2121,
51,
34264,
51,
24918,
676,
12391,
64,
222,
485,
1105,
51,
2121,
51,
34264,
51,
24918,
676,
1002,
64,
222,
485,
1105,
51,
2121,
51,
34264,
51,
24918,
714,
64,
222,
485,
1105,
51,
2121,
51,
34264,
51,
7946,
51,
12391,
3798,
64,
222,
485,
1105,
51,
2121,
51,
34264,
51,
7946,
51,
12391,
3798,
1413,
64,
222,
485,
1105,
51,
2121,
51,
34264,
51,
7946,
51,
12391,
2265,
3152,
4737,
4417,
64,
222,
485,
1105,
51,
2121,
51,
34264,
51,
7946,
51,
12391,
2265,
7356,
4433,
64,
222,
485,
785,
51,
1570,
122,
51,
468,
12592,
51,
2297,
51,
24498,
4829,
64,
222,
485,
785,
51,
1570,
122,
51,
468,
12592,
51,
2783,
56,
51,
9205,
1193,
64,
222,
485,
1105,
51,
15575,
51,
8839,
51,
6825,
64,
222,
222,
485,
1401,
51,
735,
51,
6860,
64,
222,
485,
1401,
51,
1058,
51,
9981,
64,
222,
485,
1401,
51,
1058,
51,
2272,
64,
222,
485,
1401,
51,
1058,
51,
739,
64,
222,
485,
1401,
51,
1058,
51,
2255,
51,
16862,
64,
222,
222,
485,
924,
785,
51,
1570,
122,
51,
468,
12592,
51,
2297,
51,
5248,
5238,
51,
10929,
100,
6196,
64,
222,
222,
1350,
222,
338,
6956,
829,
364,
1567,
113,
563,
244,
54,
57,
51,
53,
60,
51,
54,
59,
51,
222,
588,
222,
69,
12391,
2265,
3152,
4737,
4417,
222,
942,
462,
36857,
14090,
1569,
3152,
42183,
2041,
12923,
2265,
7356,
4433,
65,
9205,
1193,
10022,
5080,
67,
320,
17522,
496,
1806,
303,
2532,
7380,
1907,
2041,
12923,
3798,
67,
6168,
45,
429,
613,
49,
12887,
1193,
1197,
5231,
46,
2589,
36436,
676,
1002,
320,
310,
461,
14479,
51,
2255,
45,
6296,
566,
1130,
45,
25455,
6256,
1569,
3152,
3798,
4433,
422,
909,
566,
6190,
45,
16862,
51,
15341,
1052,
303,
339,
4054,
496,
6825,
303,
496,
1806,
303,
581,
5080,
11690,
45,
739,
65,
12391,
3798,
1413,
67,
1168,
46,
2589,
36436,
676,
1002,
320,
310,
461,
1168,
51,
2255,
941,
8957,
45,
1527,
49,
327,
4755,
49,
804,
46,
984,
3506,
979,
327,
4718,
46,
804,
51,
11574,
1046,
327,
102,
49,
342,
46,
984,
331,
979,
342,
312,
303,
339,
465,
581,
924,
782,
2594,
45,
671,
1197,
2194,
46,
2589,
6300,
320,
310,
1614,
327,
24918,
676,
16811,
676,
299,
36436,
714,
51,
1384,
45,
10929,
100,
6196,
509,
320,
343,
36436,
676,
12391,
7665,
299,
16811,
676,
51,
7946,
492,
1083,
12887,
1193,
1197,
6051,
6389,
299,
2128,
768,
4829,
51,
390,
9205,
6389,
492,
1083,
5080,
1074,
299,
7665,
51,
4540,
45,
909,
36857,
14090,
1569,
3152,
42183,
1046,
6051,
6389,
312,
343,
1189,
51,
560,
51,
3962,
459,
1285,
366,
494,
1074,
312,
310,
339,
303,
339,
222,
130,
222
] | [
[
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
]
] | 480 | true | 74.728261 | true | true |
CubeEngineCommand.java | /FileExtraction/Java_unseen/CubeEngine_core/src/main/java/org/cubeengine/libcube/service/command/CubeEngineCommand.java | /*
* This file is part of CubeEngine.
* CubeEngine is licensed under the GNU General Public License Version 3.
*
* CubeEngine 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.
*
* CubeEngine 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 CubeEngine. If not, see <http://www.gnu.org/licenses/>.
*/
package org.cubeengine.libcube.service.command;
import com.google.inject.Injector;
import net.kyori.adventure.text.Component;
import net.kyori.adventure.text.TextComponent.Builder;
import org.cubeengine.libcube.service.command.annotation.ExceptionHandler;
import org.spongepowered.api.command.CommandExecutor;
import org.spongepowered.api.command.CommandResult;
import org.spongepowered.api.command.exception.CommandException;
import org.spongepowered.api.command.parameter.CommandContext;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.Comparator;
import java.util.List;
public class CubeEngineCommand implements CommandExecutor
{
private final Object holder;
private final Method method;
private final List<AnnotationCommandBuilder.ContextExtractor<?>> extractors;
private final List<CommandExceptionHandler> exceptionHandlers;
public CubeEngineCommand(Object holder, Method method, List<AnnotationCommandBuilder.ContextExtractor<?>> extractors, Injector injector)
{
this.holder = holder;
this.method = method;
this.extractors = extractors;
final ExceptionHandler holderExceptions = holder.getClass().getAnnotation(ExceptionHandler.class);
final ExceptionHandler methodExceptions = method.getAnnotation(ExceptionHandler.class);
this.exceptionHandlers = new ArrayList<>();
this.gatherExceptionHandlers(injector, holderExceptions);
this.gatherExceptionHandlers(injector, methodExceptions);
this.exceptionHandlers.sort(Comparator.comparing(CommandExceptionHandler::priority));
}
public void gatherExceptionHandlers(Injector injector, ExceptionHandler annotation)
{
if (annotation != null)
{
for (Class<? extends CommandExceptionHandler> clazz : annotation.value())
{
this.exceptionHandlers.add(injector.getInstance(clazz));
}
}
}
@Override
public CommandResult execute(CommandContext context) throws CommandException
{
final List<Object> args = new ArrayList<>();
for (AnnotationCommandBuilder.ContextExtractor<?> extractor : this.extractors)
{
args.add(extractor.apply(context));
}
try
{
method.invoke(holder, args.toArray());
}
catch (IllegalAccessException | InvocationTargetException e)
{
for (CommandExceptionHandler handler : this.exceptionHandlers)
{
final Builder text = Component.text();
if (handler.handleException(e, context, text))
{
return CommandResult.error(text.build());
}
}
e.printStackTrace();
if (e.getCause().getMessage() == null)
{
return CommandResult.error(Component.text(e.getCause().getClass().getSimpleName()));
}
return CommandResult.error(Component.text(e.getCause().getMessage()));
}
return CommandResult.success();
}
}
| 3,916 | Java | .java | CubeEngine/core | 16 | 4 | 12 | 2013-03-27T21:15:20Z | 2023-10-02T22:51:33Z | a871026301934223b83f3e2b3c52b85c809e7238265cad6a0cf5daffe76d5355 | [] | [
1127,
222,
338,
1369,
822,
458,
1760,
451,
44170,
3726,
51,
222,
338,
44170,
3726,
458,
14391,
1549,
341,
6994,
6153,
5062,
1196,
3050,
244,
56,
51,
222,
338,
222,
338,
44170,
3726,
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,
44170,
3726,
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,
44170,
3726,
51,
244,
1691,
666,
49,
2337,
350,
544,
574,
1516,
51,
10627,
51,
1107,
52,
4205,
28699,
222,
588,
222,
1337,
1105,
51,
15986,
3502,
51,
1379,
15986,
51,
2140,
51,
2514,
64,
222,
222,
485,
785,
51,
2193,
51,
10287,
51,
26669,
64,
222,
485,
3723,
51,
7656,
15860,
51,
358,
20369,
51,
897,
51,
1735,
64,
222,
485,
3723,
51,
7656,
15860,
51,
358,
20369,
51,
897,
51,
1049,
1735,
51,
1812,
64,
222,
485,
1105,
51,
15986,
3502,
51,
1379,
15986,
51,
2140,
51,
2514,
51,
4341,
51,
35578,
64,
222,
485,
1105,
51,
34166,
51,
1256,
51,
2514,
51,
2037,
7592,
64,
222,
485,
1105,
51,
34166,
51,
1256,
51,
2514,
51,
2037,
1413,
64,
222,
485,
1105,
51,
34166,
51,
1256,
51,
2514,
51,
3918,
51,
2037,
1002,
64,
222,
485,
1105,
51,
34166,
51,
1256,
51,
2514,
51,
5616,
51,
2037,
1237,
64,
222,
222,
485,
1401,
51,
1600,
51,
9069,
51,
13777,
40534,
64,
222,
485,
1401,
51,
1600,
51,
9069,
51,
1885,
64,
222,
485,
1401,
51,
1058,
51,
7119,
64,
222,
485,
1401,
51,
1058,
51,
18676,
64,
222,
485,
1401,
51,
1058,
51,
739,
64,
222,
222,
942,
462,
44170,
3726,
2037,
4584,
5730,
7592,
222,
128,
465,
964,
1175,
2210,
15655,
64,
303,
964,
1175,
5409,
1431,
64,
303,
964,
1175,
1701,
65,
7945,
2037,
1812,
51,
1237,
16661,
31785,
6600,
1758,
64,
303,
964,
1175,
1701,
65,
2037,
35578,
67,
3773,
15544,
64,
465,
581,
44170,
3726,
2037,
45,
976,
15655,
49,
5409,
1431,
49,
1701,
65,
7945,
2037,
1812,
51,
1237,
16661,
31785,
6600,
1758,
49,
19732,
290,
44599,
46,
303,
320,
310,
477,
51,
3757,
299,
15655,
64,
310,
477,
51,
1978,
299,
1431,
64,
310,
477,
51,
8320,
1758,
299,
6600,
1758,
64,
603,
1175,
3284,
1985,
15655,
15054,
299,
15655,
51,
9699,
941,
45269,
45,
35578,
51,
842,
312,
310,
1175,
3284,
1985,
1431,
15054,
299,
1431,
51,
45269,
45,
35578,
51,
842,
312,
310,
477,
51,
3918,
15544,
299,
556,
5068,
6984,
310,
477,
51,
20681,
1002,
15544,
45,
35605,
49,
15655,
15054,
312,
310,
477,
51,
20681,
1002,
15544,
45,
35605,
49,
1431,
15054,
312,
310,
477,
51,
3918,
15544,
51,
3349,
45,
18676,
51,
998,
7016,
45,
2037,
35578,
422,
9792,
894,
303,
339,
465,
581,
782,
20174,
1002,
15544,
45,
26669,
44599,
49,
3284,
1985,
11208,
46,
303,
320,
310,
434,
327,
4341,
882,
762,
46,
310,
320,
343,
456,
327,
1359,
1907,
2041,
5730,
35578,
67,
16486,
518,
11208,
51,
872,
1177,
343,
320,
419,
477,
51,
3918,
15544,
51,
688,
45,
35605,
51,
7432,
45,
20946,
894,
343,
339,
310,
339,
303,
339,
465,
496,
1806,
303,
581,
5730,
1413,
5755,
45,
2037,
1237,
1637,
46,
2589,
5730,
1002,
303,
320,
603,
1175,
1701,
65,
976,
67,
2194,
299,
556,
5068,
6984,
310,
456,
327,
7945,
2037,
1812,
51,
1237,
16661,
11667,
40692,
518,
477,
51,
8320,
1758,
46,
310,
320,
343,
2194,
51,
688,
45,
30707,
51,
4740,
45,
1834,
894,
310,
339,
310,
1614,
310,
320,
343,
1431,
51,
7845,
45,
3757,
49,
2194,
51,
14315,
1052,
310,
339,
310,
2385,
327,
15083,
27123,
542,
39641,
40534,
503,
46,
310,
320,
1083,
456,
327,
2037,
35578,
4908,
518,
477,
51,
3918,
15544,
46,
343,
320,
419,
1175,
7963,
1367,
299,
5715,
51,
897,
492,
419,
434,
327,
4543,
51,
2972,
1002,
45,
106,
49,
1637,
49,
1367,
509,
419,
320,
547,
461,
5730,
1413,
51,
750,
45,
897,
51,
1848,
1052,
419,
339,
343,
339,
1083,
503,
51,
9428,
492,
343,
434,
327,
106,
51,
11641,
2533,
941,
7724,
365,
630,
762,
46,
343,
320,
419,
461,
5730,
1413,
51,
750,
45,
1735,
51,
897,
45,
106,
51,
11641,
2533,
941,
9699,
941,
26999,
5086,
343,
339,
343,
461,
5730,
1413,
51,
750,
45,
1735,
51,
897,
45,
106,
51,
11641,
2533,
941,
7724,
5086,
310,
339,
603,
461,
5730,
1413,
51,
3146,
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,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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
]
] | 825 | true | 69.484168 | true | true |
RequestTypePane.java | /FileExtraction/Java_unseen/dentsusoken_iPLAss/iplass-admin/src/main/java/org/iplass/adminconsole/client/metadata/ui/webapi/RequestTypePane.java | /*
* Copyright (C) 2011 DENTSU SOKEN INC. All Rights Reserved.
*
* Unless you have purchased a commercial license,
* the following license terms apply:
*
* 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 org.iplass.adminconsole.client.metadata.ui.webapi;
import java.util.ArrayList;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import org.iplass.adminconsole.client.base.util.SmartGWTUtil;
import org.iplass.mtp.webapi.definition.RequestType;
import org.iplass.mtp.webapi.definition.WebApiDefinition;
import com.smartgwt.client.types.Alignment;
import com.smartgwt.client.widgets.Label;
import com.smartgwt.client.widgets.form.DynamicForm;
import com.smartgwt.client.widgets.form.fields.CheckboxItem;
import com.smartgwt.client.widgets.form.fields.events.ChangedHandler;
import com.smartgwt.client.widgets.layout.HLayout;
public class RequestTypePane extends HLayout {
private DynamicForm form;
private Map<RequestType, CheckboxItem> requestTypeItems;
public RequestTypePane() {
Label caption = new Label("Request Type");
caption.setHeight(21);
//レイアウト設定
setWidth100();
setHeight(20);
setMargin(5);
setMembersMargin(10);
setAlign(Alignment.LEFT);
//入力部分
form = new DynamicForm();
form.setWidth100();
form.setHeight(30);
form.setNumCols(RequestType.values().length * 2 + 1);
form.setTitleWidth(0); //チェックボックスを左に寄せるため。
form.setCellPadding(0);
requestTypeItems = new LinkedHashMap<>();
for (RequestType type : RequestType.values()) {
CheckboxItem chkType = new CheckboxItem();
chkType.setTitle(type.name().replaceAll("_", " "));
chkType.setWidth(50);
requestTypeItems.put(type, chkType);
}
form.setItems(requestTypeItems.values().toArray(new CheckboxItem[0]));
addMember(caption);
addMember(form);
}
/**
* 編集されたWebAPIDefinition情報を返します。
*
* @return 編集WebAPIDefinition情報
*/
public WebApiDefinition getEditDefinition(WebApiDefinition definition) {
List<RequestType> requestTypeList = selectedType();
definition.setAccepts(requestTypeList.toArray(new RequestType[0]));
return definition;
}
/**
* WebAPIを展開します。
*
* @param definition WebAPIDefinition
*/
public void setDefinition(WebApiDefinition definition) {
for (CheckboxItem chkType : requestTypeItems.values()) {
chkType.setValue(false);
}
if (definition.getAccepts() != null) {
for (RequestType type : definition.getAccepts()) {
if (requestTypeItems.containsKey(type)) {
requestTypeItems.get(type).setValue(true);
}
}
}
}
/**
* タイプ変更イベントを設定します。
* @param handler
*/
public void setTypeChangedHandler(ChangedHandler handler) {
for (CheckboxItem chkType : requestTypeItems.values()) {
chkType.addChangedHandler(handler);
}
}
/**
* 選択されているタイプを返します。
* @return
*/
public List<RequestType> selectedType() {
List<RequestType> requestTypeList = new ArrayList<>();
for (Entry<RequestType, CheckboxItem> typeEntry : requestTypeItems.entrySet()) {
if (SmartGWTUtil.getBooleanValue(typeEntry.getValue())) {
requestTypeList.add(typeEntry.getKey());
}
}
return requestTypeList;
}
}
| 4,089 | Java | .java | dentsusoken/iPLAss | 65 | 25 | 56 | 2018-08-22T08:19:16Z | 2024-05-09T02:10:52Z | 403c200d51ffb1f359a1a3f5d3bfb9bc164b2f5efe9745d0a5e73b2d27d43531 | [] | [
1127,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
54,
54,
493,
1456,
4531,
377,
2966,
737,
13708,
51,
3381,
12902,
11921,
51,
222,
338,
222,
338,
5416,
863,
1178,
16508,
16151,
331,
27630,
3553,
49,
222,
338,
341,
2434,
3553,
5974,
4894,
63,
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,
1691,
666,
49,
2337,
350,
662,
574,
1516,
51,
10627,
51,
1107,
52,
4205,
28699,
222,
588,
222,
222,
1337,
1105,
51,
658,
405,
51,
2317,
4482,
51,
1598,
51,
4541,
51,
1726,
51,
1857,
1256,
64,
222,
222,
485,
1401,
51,
1058,
51,
7119,
64,
222,
485,
1401,
51,
1058,
51,
15373,
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,
222,
485,
1105,
51,
658,
405,
51,
2317,
4482,
51,
1598,
51,
1460,
51,
1058,
51,
15919,
76,
8919,
1747,
64,
222,
485,
1105,
51,
658,
405,
51,
114,
510,
51,
1857,
1256,
51,
7401,
51,
46212,
64,
222,
485,
1105,
51,
658,
405,
51,
114,
510,
51,
1857,
1256,
51,
7401,
51,
48150,
3385,
64,
222,
222,
485,
785,
51,
11407,
24707,
51,
1598,
51,
2529,
51,
7759,
64,
222,
485,
785,
51,
11407,
24707,
51,
1598,
51,
12081,
51,
2186,
64,
222,
485,
785,
51,
11407,
24707,
51,
1598,
51,
12081,
51,
618,
51,
7193,
1260,
64,
222,
485,
785,
51,
11407,
24707,
51,
1598,
51,
12081,
51,
618,
51,
4169,
51,
17779,
1114,
64,
222,
485,
785,
51,
11407,
24707,
51,
1598,
51,
12081,
51,
618,
51,
4169,
51,
5070,
51,
3663,
1985,
64,
222,
485,
785,
51,
11407,
24707,
51,
1598,
51,
12081,
51,
3106,
51,
77,
2362,
64,
222,
222,
942,
462,
4463,
638,
7586,
2041,
696,
2362,
320,
499,
221,
2072,
14800,
1260,
2252,
64,
499,
221,
2072,
3531,
65,
46212,
49,
41258,
1114,
67,
1343,
638,
3648,
64,
499,
221,
942,
4463,
638,
7586,
365,
320,
1332,
221,
2186,
19897,
299,
556,
9305,
459,
1123,
2782,
742,
376,
221,
8025,
51,
489,
3041,
45,
55,
54,
312,
1332,
221,
325,
11832,
5403,
8096,
12822,
4606,
16708,
376,
221,
43705,
54,
53,
53,
492,
376,
221,
489,
3041,
45,
55,
53,
312,
376,
221,
489,
10508,
45,
58,
312,
376,
221,
489,
9651,
10508,
45,
54,
53,
312,
376,
221,
489,
8434,
45,
7759,
51,
10779,
312,
1332,
221,
325,
33305,
16807,
376,
221,
618,
299,
556,
14800,
1260,
492,
376,
221,
618,
51,
43705,
54,
53,
53,
492,
376,
221,
618,
51,
489,
3041,
45,
56,
53,
312,
376,
221,
618,
51,
489,
2585,
19912,
45,
46212,
51,
2857,
941,
1340,
338,
244,
55,
494,
244,
54,
312,
376,
221,
618,
51,
17359,
2627,
45,
53,
312,
221,
325,
18879,
17914,
14802,
33123,
46217,
3366,
19661,
3885,
3022,
250,
17518,
3811,
20776,
1469,
376,
221,
618,
51,
489,
2917,
10350,
45,
53,
312,
1332,
221,
1375,
638,
3648,
299,
556,
34961,
6984,
376,
221,
999,
327,
46212,
847,
518,
4463,
638,
51,
2857,
1177,
320,
374,
221,
17779,
1114,
26520,
638,
299,
556,
41258,
1114,
492,
374,
221,
16657,
638,
51,
17359,
45,
700,
51,
444,
941,
23355,
14719,
411,
332,
41270,
374,
221,
16657,
638,
51,
43705,
45,
58,
53,
312,
374,
221,
1375,
638,
3648,
51,
543,
45,
700,
49,
26520,
638,
312,
376,
221,
130,
376,
221,
618,
51,
489,
3648,
45,
1375,
638,
3648,
51,
2857,
941,
14315,
45,
909,
41258,
1114,
96,
53,
10679,
1332,
221,
688,
4605,
45,
8025,
312,
376,
221,
688,
4605,
45,
618,
312,
222,
221,
130,
499,
221,
1350,
376,
338,
244,
23601,
139,
9744,
23520,
33171,
3385,
22983,
3366,
8011,
10210,
1469,
376,
338,
376,
338,
496,
620,
244,
23601,
139,
9744,
33171,
3385,
22983,
376,
588,
222,
221,
942,
3718,
2570,
3385,
640,
3594,
3385,
45,
48150,
3385,
5658,
46,
320,
1332,
221,
739,
65,
46212,
67,
1343,
31442,
299,
4337,
638,
492,
376,
221,
7401,
51,
489,
7082,
120,
45,
1375,
31442,
51,
14315,
45,
909,
4463,
638,
96,
53,
10679,
376,
221,
620,
5658,
64,
222,
221,
130,
499,
221,
1350,
376,
338,
3718,
2571,
3366,
14316,
17591,
10210,
1469,
376,
338,
376,
338,
496,
772,
5658,
3718,
2571,
3385,
376,
588,
222,
221,
942,
782,
758,
3385,
45,
48150,
3385,
5658,
46,
320,
1332,
221,
999,
327,
17779,
1114,
26520,
638,
518,
1343,
638,
3648,
51,
2857,
1177,
320,
374,
221,
16657,
638,
51,
11534,
45,
1886,
312,
376,
221,
130,
1332,
221,
344,
327,
7401,
51,
390,
7082,
120,
365,
882,
762,
46,
320,
374,
221,
999,
327,
46212,
847,
518,
5658,
51,
390,
7082,
120,
1177,
320,
621,
221,
344,
327,
1375,
638,
3648,
51,
15927,
45,
700,
509,
320,
596,
221,
1375,
638,
3648,
51,
390,
45,
700,
566,
11534,
45,
1527,
312,
621,
221,
130,
374,
221,
130,
376,
221,
130,
222,
221,
130,
222,
221,
1350,
376,
338,
9510,
161,
5403,
7122,
28582,
5403,
23559,
15723,
45692,
10210,
1469,
376,
338,
496,
772,
4908,
376,
588,
222,
221,
942,
782,
758,
638,
3663,
1985,
45,
3663,
1985,
4908,
46,
320,
376,
221,
999,
327,
17779,
1114,
26520,
638,
518,
1343,
638,
3648,
51,
2857,
1177,
320,
374,
221,
16657,
638,
51,
688,
3663,
1985,
45,
4543,
312,
376,
221,
130,
499,
221,
130,
222,
221,
1350,
376,
338,
244,
27682,
31763,
47131,
7122,
3366,
8011,
10210,
1469,
376,
338,
496,
620,
376,
588,
222,
221,
942,
1701,
65,
46212,
67,
4337,
638,
365,
320,
376,
221,
739,
65,
46212,
67,
1343,
31442,
299,
556,
5068,
6984,
376,
221,
999,
327,
2717,
65,
46212,
49,
41258,
1114,
67,
847,
2717,
518,
1343,
638,
3648,
51,
24338,
1177,
320,
374,
221,
344,
327,
15919,
76,
8919,
1747,
51,
28151,
899,
45,
700,
2717,
51,
6693,
5183,
320,
621,
221,
1375,
31442,
51,
688,
45,
700,
2717,
51,
11728,
1052,
374,
221,
130,
376,
221,
130,
1332,
221,
620,
1343,
31442,
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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/Source Library/openmaxims_workspace-archive/ValueObjects/src/ims/ocrr/vo/domain/SpecimenWorkListItemDateToCollectVoAssembler.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
* Copyright (C) 1995-2004 IMS MAXIMS plc. All rights reserved.
* IMS Development Environment (version 1.80 build 5007.25751)
* WARNING: DO NOT MODIFY the content of this file
* Generated on 16/04/2014, 12:31
*
*/
package ims.ocrr.vo.domain;
import ims.vo.domain.DomainObjectMap;
import java.util.HashMap;
import org.hibernate.proxy.HibernateProxy;
/**
* @author Bogdan Tofei
*/
public class SpecimenWorkListItemDateToCollectVoAssembler
{
/**
* Copy one ValueObject to another
* @param valueObjectDest to be updated
* @param valueObjectSrc to copy values from
*/
public static ims.ocrr.vo.SpecimenWorkListItemDateToCollectVo copy(ims.ocrr.vo.SpecimenWorkListItemDateToCollectVo valueObjectDest, ims.ocrr.vo.SpecimenWorkListItemDateToCollectVo valueObjectSrc)
{
if (null == valueObjectSrc)
{
return valueObjectSrc;
}
valueObjectDest.setID_SpecimenWorkListItem(valueObjectSrc.getID_SpecimenWorkListItem());
valueObjectDest.setIsRIE(valueObjectSrc.getIsRIE());
// DateToCollect
valueObjectDest.setDateToCollect(valueObjectSrc.getDateToCollect());
// Specimen
valueObjectDest.setSpecimen(valueObjectSrc.getSpecimen());
return valueObjectDest;
}
/**
* Create the ValueObject collection to hold the set of DomainObjects.
* This is a convenience method only.
* It is intended to be used when one called to an Assembler is made.
* If more than one call to an Assembler is made then #createSpecimenWorkListItemDateToCollectVoCollectionFromSpecimenWorkListItem(DomainObjectMap, Set) should be used.
* @param domainObjectSet - Set of ims.ocrr.orderingresults.domain.objects.SpecimenWorkListItem objects.
*/
public static ims.ocrr.vo.SpecimenWorkListItemDateToCollectVoCollection createSpecimenWorkListItemDateToCollectVoCollectionFromSpecimenWorkListItem(java.util.Set domainObjectSet)
{
return createSpecimenWorkListItemDateToCollectVoCollectionFromSpecimenWorkListItem(new DomainObjectMap(), domainObjectSet);
}
/**
* Create the ValueObject collection to hold the set of DomainObjects.
* @param map - maps DomainObjects to created ValueObjects
* @param domainObjectSet - Set of ims.ocrr.orderingresults.domain.objects.SpecimenWorkListItem objects.
*/
public static ims.ocrr.vo.SpecimenWorkListItemDateToCollectVoCollection createSpecimenWorkListItemDateToCollectVoCollectionFromSpecimenWorkListItem(DomainObjectMap map, java.util.Set domainObjectSet)
{
ims.ocrr.vo.SpecimenWorkListItemDateToCollectVoCollection voList = new ims.ocrr.vo.SpecimenWorkListItemDateToCollectVoCollection();
if ( null == domainObjectSet )
{
return voList;
}
int rieCount=0;
int activeCount=0;
java.util.Iterator iterator = domainObjectSet.iterator();
while( iterator.hasNext() )
{
ims.ocrr.orderingresults.domain.objects.SpecimenWorkListItem domainObject = (ims.ocrr.orderingresults.domain.objects.SpecimenWorkListItem) iterator.next();
ims.ocrr.vo.SpecimenWorkListItemDateToCollectVo vo = create(map, domainObject);
if (vo != null)
voList.add(vo);
if (domainObject != null)
{
if (domainObject.getIsRIE() != null && domainObject.getIsRIE().booleanValue() == true)
rieCount++;
else
activeCount++;
}
}
voList.setRieCount(rieCount);
voList.setActiveCount(activeCount);
return voList;
}
/**
* Create the ValueObject collection to hold the list of DomainObjects.
* @param domainObjectList - List of ims.ocrr.orderingresults.domain.objects.SpecimenWorkListItem objects.
*/
public static ims.ocrr.vo.SpecimenWorkListItemDateToCollectVoCollection createSpecimenWorkListItemDateToCollectVoCollectionFromSpecimenWorkListItem(java.util.List domainObjectList)
{
return createSpecimenWorkListItemDateToCollectVoCollectionFromSpecimenWorkListItem(new DomainObjectMap(), domainObjectList);
}
/**
* Create the ValueObject collection to hold the list of DomainObjects.
* @param map - maps DomainObjects to created ValueObjects
* @param domainObjectList - List of ims.ocrr.orderingresults.domain.objects.SpecimenWorkListItem objects.
*/
public static ims.ocrr.vo.SpecimenWorkListItemDateToCollectVoCollection createSpecimenWorkListItemDateToCollectVoCollectionFromSpecimenWorkListItem(DomainObjectMap map, java.util.List domainObjectList)
{
ims.ocrr.vo.SpecimenWorkListItemDateToCollectVoCollection voList = new ims.ocrr.vo.SpecimenWorkListItemDateToCollectVoCollection();
if ( null == domainObjectList )
{
return voList;
}
int rieCount=0;
int activeCount=0;
for (int i = 0; i < domainObjectList.size(); i++)
{
ims.ocrr.orderingresults.domain.objects.SpecimenWorkListItem domainObject = (ims.ocrr.orderingresults.domain.objects.SpecimenWorkListItem) domainObjectList.get(i);
ims.ocrr.vo.SpecimenWorkListItemDateToCollectVo vo = create(map, domainObject);
if (vo != null)
voList.add(vo);
if (domainObject != null)
{
if (domainObject.getIsRIE() != null && domainObject.getIsRIE().booleanValue() == true)
rieCount++;
else
activeCount++;
}
}
voList.setRieCount(rieCount);
voList.setActiveCount(activeCount);
return voList;
}
/**
* Create the ims.ocrr.orderingresults.domain.objects.SpecimenWorkListItem set from the value object collection.
* @param domainFactory - used to create existing (persistent) domain objects.
* @param voCollection - the collection of value objects
*/
public static java.util.Set extractSpecimenWorkListItemSet(ims.domain.ILightweightDomainFactory domainFactory, ims.ocrr.vo.SpecimenWorkListItemDateToCollectVoCollection voCollection)
{
return extractSpecimenWorkListItemSet(domainFactory, voCollection, null, new HashMap());
}
public static java.util.Set extractSpecimenWorkListItemSet(ims.domain.ILightweightDomainFactory domainFactory, ims.ocrr.vo.SpecimenWorkListItemDateToCollectVoCollection voCollection, java.util.Set domainObjectSet, HashMap domMap)
{
int size = (null == voCollection) ? 0 : voCollection.size();
if (domainObjectSet == null)
{
domainObjectSet = new java.util.HashSet();
}
java.util.Set newSet = new java.util.HashSet();
for(int i=0; i<size; i++)
{
ims.ocrr.vo.SpecimenWorkListItemDateToCollectVo vo = voCollection.get(i);
ims.ocrr.orderingresults.domain.objects.SpecimenWorkListItem domainObject = SpecimenWorkListItemDateToCollectVoAssembler.extractSpecimenWorkListItem(domainFactory, vo, domMap);
//TODO: This can only occur in the situation of a stale object exception. For now leave it to the Interceptor to handle it.
if (domainObject == null)
{
continue;
}
//Trying to avoid the hibernate collection being marked as dirty via its public interface methods. (like add)
if (!domainObjectSet.contains(domainObject)) domainObjectSet.add(domainObject);
newSet.add(domainObject);
}
java.util.Set removedSet = new java.util.HashSet();
java.util.Iterator iter = domainObjectSet.iterator();
//Find out which objects need to be removed
while (iter.hasNext())
{
ims.domain.DomainObject o = (ims.domain.DomainObject)iter.next();
if ((o == null || o.getIsRIE() == null || !o.getIsRIE().booleanValue()) && !newSet.contains(o))
{
removedSet.add(o);
}
}
iter = removedSet.iterator();
//Remove the unwanted objects
while (iter.hasNext())
{
domainObjectSet.remove(iter.next());
}
return domainObjectSet;
}
/**
* Create the ims.ocrr.orderingresults.domain.objects.SpecimenWorkListItem list from the value object collection.
* @param domainFactory - used to create existing (persistent) domain objects.
* @param voCollection - the collection of value objects
*/
public static java.util.List extractSpecimenWorkListItemList(ims.domain.ILightweightDomainFactory domainFactory, ims.ocrr.vo.SpecimenWorkListItemDateToCollectVoCollection voCollection)
{
return extractSpecimenWorkListItemList(domainFactory, voCollection, null, new HashMap());
}
public static java.util.List extractSpecimenWorkListItemList(ims.domain.ILightweightDomainFactory domainFactory, ims.ocrr.vo.SpecimenWorkListItemDateToCollectVoCollection voCollection, java.util.List domainObjectList, HashMap domMap)
{
int size = (null == voCollection) ? 0 : voCollection.size();
if (domainObjectList == null)
{
domainObjectList = new java.util.ArrayList();
}
for(int i=0; i<size; i++)
{
ims.ocrr.vo.SpecimenWorkListItemDateToCollectVo vo = voCollection.get(i);
ims.ocrr.orderingresults.domain.objects.SpecimenWorkListItem domainObject = SpecimenWorkListItemDateToCollectVoAssembler.extractSpecimenWorkListItem(domainFactory, vo, domMap);
//TODO: This can only occur in the situation of a stale object exception. For now leave it to the Interceptor to handle it.
if (domainObject == null)
{
continue;
}
int domIdx = domainObjectList.indexOf(domainObject);
if (domIdx == -1)
{
domainObjectList.add(i, domainObject);
}
else if (i != domIdx && i < domainObjectList.size())
{
Object tmp = domainObjectList.get(i);
domainObjectList.set(i, domainObjectList.get(domIdx));
domainObjectList.set(domIdx, tmp);
}
}
//Remove all ones in domList where index > voCollection.size() as these should
//now represent the ones removed from the VO collection. No longer referenced.
int i1=domainObjectList.size();
while (i1 > size)
{
domainObjectList.remove(i1-1);
i1=domainObjectList.size();
}
return domainObjectList;
}
/**
* Create the ValueObject from the ims.ocrr.orderingresults.domain.objects.SpecimenWorkListItem object.
* @param domainObject ims.ocrr.orderingresults.domain.objects.SpecimenWorkListItem
*/
public static ims.ocrr.vo.SpecimenWorkListItemDateToCollectVo create(ims.ocrr.orderingresults.domain.objects.SpecimenWorkListItem domainObject)
{
if (null == domainObject)
{
return null;
}
DomainObjectMap map = new DomainObjectMap();
return create(map, domainObject);
}
/**
* Create the ValueObject from the ims.ocrr.orderingresults.domain.objects.SpecimenWorkListItem object.
* @param map DomainObjectMap of DomainObjects to already created ValueObjects.
* @param domainObject
*/
public static ims.ocrr.vo.SpecimenWorkListItemDateToCollectVo create(DomainObjectMap map, ims.ocrr.orderingresults.domain.objects.SpecimenWorkListItem domainObject)
{
if (null == domainObject)
{
return null;
}
// check if the domainObject already has a valueObject created for it
ims.ocrr.vo.SpecimenWorkListItemDateToCollectVo valueObject = (ims.ocrr.vo.SpecimenWorkListItemDateToCollectVo) map.getValueObject(domainObject, ims.ocrr.vo.SpecimenWorkListItemDateToCollectVo.class);
if ( null == valueObject )
{
valueObject = new ims.ocrr.vo.SpecimenWorkListItemDateToCollectVo(domainObject.getId(), domainObject.getVersion());
map.addValueObject(domainObject, valueObject);
valueObject = insert(map, valueObject, domainObject);
}
return valueObject;
}
/**
* Update the ValueObject with the Domain Object.
* @param valueObject to be updated
* @param domainObject ims.ocrr.orderingresults.domain.objects.SpecimenWorkListItem
*/
public static ims.ocrr.vo.SpecimenWorkListItemDateToCollectVo insert(ims.ocrr.vo.SpecimenWorkListItemDateToCollectVo valueObject, ims.ocrr.orderingresults.domain.objects.SpecimenWorkListItem domainObject)
{
if (null == domainObject)
{
return valueObject;
}
DomainObjectMap map = new DomainObjectMap();
return insert(map, valueObject, domainObject);
}
/**
* Update the ValueObject with the Domain Object.
* @param map DomainObjectMap of DomainObjects to already created ValueObjects.
* @param valueObject to be updated
* @param domainObject ims.ocrr.orderingresults.domain.objects.SpecimenWorkListItem
*/
public static ims.ocrr.vo.SpecimenWorkListItemDateToCollectVo insert(DomainObjectMap map, ims.ocrr.vo.SpecimenWorkListItemDateToCollectVo valueObject, ims.ocrr.orderingresults.domain.objects.SpecimenWorkListItem domainObject)
{
if (null == domainObject)
{
return valueObject;
}
if (null == map)
{
map = new DomainObjectMap();
}
valueObject.setID_SpecimenWorkListItem(domainObject.getId());
valueObject.setIsRIE(domainObject.getIsRIE());
// If this is a recordedInError record, and the domainObject
// value isIncludeRecord has not been set, then we return null and
// not the value object
if (valueObject.getIsRIE() != null && valueObject.getIsRIE().booleanValue() == true && !domainObject.isIncludeRecord())
return null;
// If this is not a recordedInError record, and the domainObject
// value isIncludeRecord has been set, then we return null and
// not the value object
if ((valueObject.getIsRIE() == null || valueObject.getIsRIE().booleanValue() == false) && domainObject.isIncludeRecord())
return null;
// DateToCollect
java.util.Date DateToCollect = domainObject.getDateToCollect();
if ( null != DateToCollect )
{
valueObject.setDateToCollect(new ims.framework.utils.Date(DateToCollect) );
}
// Specimen
if (domainObject.getSpecimen() != null)
{
if(domainObject.getSpecimen() instanceof HibernateProxy) // If the proxy is set, there is no need to lazy load, the proxy knows the id already.
{
HibernateProxy p = (HibernateProxy) domainObject.getSpecimen();
int id = Integer.parseInt(p.getHibernateLazyInitializer().getIdentifier().toString());
valueObject.setSpecimen(new ims.ocrr.orderingresults.vo.OrderSpecimenRefVo(id, -1));
}
else
{
valueObject.setSpecimen(new ims.ocrr.orderingresults.vo.OrderSpecimenRefVo(domainObject.getSpecimen().getId(), domainObject.getSpecimen().getVersion()));
}
}
return valueObject;
}
/**
* Create the domain object from the value object.
* @param domainFactory - used to create existing (persistent) domain objects.
* @param valueObject - extract the domain object fields from this.
*/
public static ims.ocrr.orderingresults.domain.objects.SpecimenWorkListItem extractSpecimenWorkListItem(ims.domain.ILightweightDomainFactory domainFactory, ims.ocrr.vo.SpecimenWorkListItemDateToCollectVo valueObject)
{
return extractSpecimenWorkListItem(domainFactory, valueObject, new HashMap());
}
public static ims.ocrr.orderingresults.domain.objects.SpecimenWorkListItem extractSpecimenWorkListItem(ims.domain.ILightweightDomainFactory domainFactory, ims.ocrr.vo.SpecimenWorkListItemDateToCollectVo valueObject, HashMap domMap)
{
if (null == valueObject)
{
return null;
}
Integer id = valueObject.getID_SpecimenWorkListItem();
ims.ocrr.orderingresults.domain.objects.SpecimenWorkListItem domainObject = null;
if ( null == id)
{
if (domMap.get(valueObject) != null)
{
return (ims.ocrr.orderingresults.domain.objects.SpecimenWorkListItem)domMap.get(valueObject);
}
// ims.ocrr.vo.SpecimenWorkListItemDateToCollectVo ID_SpecimenWorkListItem field is unknown
domainObject = new ims.ocrr.orderingresults.domain.objects.SpecimenWorkListItem();
domMap.put(valueObject, domainObject);
}
else
{
String key = (valueObject.getClass().getName() + "__" + valueObject.getID_SpecimenWorkListItem());
if (domMap.get(key) != null)
{
return (ims.ocrr.orderingresults.domain.objects.SpecimenWorkListItem)domMap.get(key);
}
domainObject = (ims.ocrr.orderingresults.domain.objects.SpecimenWorkListItem) domainFactory.getDomainObject(ims.ocrr.orderingresults.domain.objects.SpecimenWorkListItem.class, id );
//TODO: Not sure how this should be handled. Effectively it must be a staleobject exception, but maybe should be handled as that further up.
if (domainObject == null)
return null;
domMap.put(key, domainObject);
}
domainObject.setVersion(valueObject.getVersion_SpecimenWorkListItem());
java.util.Date value1 = null;
ims.framework.utils.Date date1 = valueObject.getDateToCollect();
if ( date1 != null )
{
value1 = date1.getDate();
}
domainObject.setDateToCollect(value1);
ims.ocrr.orderingresults.domain.objects.OrderSpecimen value2 = null;
if ( null != valueObject.getSpecimen() )
{
if (valueObject.getSpecimen().getBoId() == null)
{
if (domMap.get(valueObject.getSpecimen()) != null)
{
value2 = (ims.ocrr.orderingresults.domain.objects.OrderSpecimen)domMap.get(valueObject.getSpecimen());
}
}
else if (valueObject.getBoVersion() == -1) // RefVo was not modified since obtained from the Assembler, no need to update the BO field
{
value2 = domainObject.getSpecimen();
}
else
{
value2 = (ims.ocrr.orderingresults.domain.objects.OrderSpecimen)domainFactory.getDomainObject(ims.ocrr.orderingresults.domain.objects.OrderSpecimen.class, valueObject.getSpecimen().getBoId());
}
}
domainObject.setSpecimen(value2);
return domainObject;
}
}
| 18,441 | Java | .java | IMS-MAXIMS/openMAXIMS | 61 | 50 | 23 | 2014-06-12T12:04:02Z | 2020-07-31T09:34:49Z | cbc169e88a7321a676ccf1ffbdbe4f6a8fd0056b0c6d32cab02aca5edfa3eaee | [] | [
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,
1127,
222,
338,
1369,
1361,
1616,
4741,
222,
338,
2657,
327,
72,
46,
244,
54,
62,
62,
58,
50,
55,
53,
53,
57,
457,
2758,
7490,
2348,
88,
1302,
104,
51,
3381,
4760,
5225,
51,
222,
338,
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,
338,
18226,
63,
4103,
2387,
24110,
341,
1813,
451,
477,
822,
222,
338,
13046,
563,
244,
54,
59,
52,
53,
57,
52,
55,
53,
54,
57,
49,
244,
54,
55,
63,
56,
54,
222,
338,
222,
588,
222,
1337,
3987,
120,
51,
561,
609,
51,
2103,
51,
4136,
64,
222,
222,
485,
3987,
120,
51,
2103,
51,
4136,
51,
5048,
976,
1225,
64,
222,
485,
1401,
51,
1058,
51,
8263,
64,
222,
222,
485,
1105,
51,
20294,
51,
5881,
51,
39036,
5401,
64,
222,
222,
1350,
222,
338,
496,
2133,
570,
835,
17225,
413,
1048,
17016,
222,
588,
222,
942,
462,
6582,
25457,
3003,
12866,
1563,
724,
7942,
12536,
24277,
222,
128,
682,
221,
1350,
376,
338,
2406,
1611,
3867,
976,
391,
4691,
376,
338,
496,
772,
804,
976,
5088,
391,
545,
4478,
376,
338,
496,
772,
804,
976,
8564,
391,
1948,
2102,
664,
376,
588,
376,
581,
924,
3987,
120,
51,
561,
609,
51,
2103,
51,
2722,
25457,
3003,
12866,
1563,
724,
7942,
12536,
1948,
45,
16178,
51,
561,
609,
51,
2103,
51,
2722,
25457,
3003,
12866,
1563,
724,
7942,
12536,
804,
976,
5088,
49,
3987,
120,
51,
561,
609,
51,
2103,
51,
2722,
25457,
3003,
12866,
1563,
724,
7942,
12536,
804,
976,
8564,
46,
4517,
320,
4107,
221,
344,
327,
1710,
630,
804,
976,
8564,
46,
4517,
221,
128,
374,
221,
620,
804,
976,
8564,
64,
376,
221,
130,
376,
221,
872,
976,
5088,
51,
489,
798,
100,
2722,
25457,
3003,
12866,
45,
872,
976,
8564,
51,
37541,
100,
2722,
25457,
3003,
12866,
1052,
3281,
804,
976,
5088,
51,
31022,
87,
4007,
45,
872,
976,
8564,
51,
43448,
87,
4007,
1052,
376,
221,
325,
2833,
724,
7942,
376,
221,
872,
976,
5088,
51,
42547,
724,
7942,
45,
872,
976,
8564,
51,
22080,
724,
7942,
1052,
376,
221,
325,
6582,
25457,
376,
221,
872,
976,
5088,
51,
489,
2722,
25457,
45,
872,
976,
8564,
51,
390,
2722,
25457,
1052,
4107,
221,
620,
804,
976,
5088,
64,
376,
339,
46413,
221,
1350,
376,
338,
2673,
341,
3867,
976,
4512,
391,
7649,
341,
758,
451,
14064,
6699,
51,
376,
338,
1369,
458,
331,
25681,
1431,
1773,
51,
376,
338,
2048,
458,
14217,
391,
545,
1674,
1429,
1611,
3845,
391,
619,
2915,
14487,
458,
5610,
51,
27040,
338,
1691,
1851,
2806,
1611,
1495,
391,
619,
2915,
14487,
458,
5610,
1636,
607,
1315,
2722,
25457,
3003,
12866,
1563,
724,
7942,
12536,
2272,
1811,
2722,
25457,
3003,
12866,
45,
5048,
976,
1225,
49,
1776,
46,
1414,
545,
1674,
51,
376,
338,
496,
772,
5900,
976,
903,
449,
1776,
451,
3987,
120,
51,
561,
609,
51,
24606,
4333,
51,
4136,
51,
5754,
51,
2722,
25457,
3003,
12866,
4706,
51,
376,
588,
222,
221,
942,
924,
3987,
120,
51,
561,
609,
51,
2103,
51,
2722,
25457,
3003,
12866,
1563,
724,
7942,
12536,
2272,
1506,
2722,
25457,
3003,
12866,
1563,
724,
7942,
12536,
2272,
1811,
2722,
25457,
3003,
12866,
45,
1874,
51,
1058,
51,
903,
5900,
976,
903,
46,
15767,
221,
128,
376,
221,
620,
1506,
2722,
25457,
3003,
12866,
1563,
724,
7942,
12536,
2272,
1811,
2722,
25457,
3003,
12866,
45,
909,
14064,
976,
1225,
1046,
5900,
976,
903,
312,
222,
221,
130,
3038,
221,
1350,
376,
338,
2673,
341,
3867,
976,
4512,
391,
7649,
341,
758,
451,
14064,
6699,
51,
376,
338,
496,
772,
2010,
449,
14302,
14064,
6699,
391,
3290,
3867,
6699,
376,
338,
496,
772,
5900,
976,
903,
449,
1776,
451,
3987,
120,
51,
561,
609,
51,
24606,
4333,
51,
4136,
51,
5754,
51,
2722,
25457,
3003,
12866,
4706,
51,
376,
588,
222,
221,
942,
924,
3987,
120,
51,
561,
609,
51,
2103,
51,
2722,
25457,
3003,
12866,
1563,
724,
7942,
12536,
2272,
1506,
2722,
25457,
3003,
12866,
1563,
724,
7942,
12536,
2272,
1811,
2722,
25457,
3003,
12866,
45,
5048,
976,
1225,
2010,
49,
1401,
51,
1058,
51,
903,
5900,
976,
903,
46,
15767,
221,
128,
376,
221,
16178,
51,
561,
609,
51,
2103,
51,
2722,
25457,
3003,
12866,
1563,
724,
7942,
12536,
2272,
9180,
739,
299,
556,
3987,
120,
51,
561,
609,
51,
2103,
51,
2722,
25457,
3003,
12866,
1563,
724,
7942,
12536,
2272,
492,
376,
221,
344,
327,
762,
630,
5900,
976,
903,
848,
4517,
221,
128,
374,
221,
620,
9180,
739,
64,
376,
221,
130,
376,
221,
429,
244,
4084,
1552,
66,
53,
64,
376,
221,
429,
4537,
1552,
66,
53,
64,
376,
221,
1874,
51,
1058,
51,
5740,
10033,
299,
5900,
976,
903,
51,
5174,
492,
376,
221,
5544,
45,
10033,
51,
16408,
365,
848,
4517,
221,
128,
374,
221,
16178,
51,
561,
609,
51,
24606,
4333,
51,
4136,
51,
5754,
51,
2722,
25457,
3003,
12866,
5900,
976,
299,
327,
16178,
51,
561,
609,
51,
24606,
4333,
51,
4136,
51,
5754,
51,
2722,
25457,
3003,
12866,
46,
10033,
51,
1995,
492,
374,
221,
16178,
51,
561,
609,
51,
2103,
51,
2722,
25457,
3003,
12866,
1563,
724,
7942,
12536,
9180,
299,
1506,
45,
1130,
49,
5900,
976,
312,
8212,
221,
344,
327,
2103,
882,
762,
46,
621,
221,
2103,
739,
51,
688,
45,
2103,
312,
30358,
221,
344,
327,
4136,
976,
882,
762,
46,
374,
221,
128,
1017,
621,
221,
344,
327,
4136,
976,
51,
43448,
87,
4007,
365,
882,
762,
979,
5900,
976,
51,
43448,
87,
4007,
941,
4412,
899,
365,
630,
878,
46,
596,
221,
4084,
1552,
3348,
621,
221,
728,
596,
221,
2498,
1552,
3348,
374,
221,
130,
376,
221,
130,
376,
221,
2103,
739,
51,
489,
87,
1093,
1552,
45,
4084,
1552,
312,
376,
221,
2103,
739,
51,
46094,
1552,
45,
2498,
1552,
312,
376,
221,
620,
9180,
739,
64,
222,
221,
130,
499,
221,
1350,
376,
338,
2673,
341,
3867,
976,
4512,
391,
7649,
341,
1168,
451,
14064,
6699,
51,
376,
338,
496,
772,
5900,
976,
739,
449,
1701,
451,
3987,
120,
51,
561,
609,
51,
24606,
4333,
51,
4136,
51,
5754,
51,
2722,
25457,
3003,
12866,
4706,
51,
376,
588,
222,
221,
942,
924,
3987,
120,
51,
561,
609,
51,
2103,
51,
2722,
25457,
3003,
12866,
1563,
724,
7942,
12536,
2272,
1506,
2722,
25457,
3003,
12866,
1563,
724,
7942,
12536,
2272,
1811,
2722,
25457,
3003,
12866,
45,
1874,
51,
1058,
51,
739,
5900,
976,
739,
46,
1676,
221,
128,
376,
221,
620,
1506,
2722,
25457,
3003,
12866,
1563,
724,
7942,
12536,
2272,
1811,
2722,
25457,
3003,
12866,
45,
909,
14064,
976,
1225,
1046,
5900,
976,
739,
312,
222,
221,
130,
3038,
221,
1350,
376,
338,
2673,
341,
3867,
976,
4512,
391,
7649,
341,
1168,
451,
14064,
6699,
51,
376,
338,
496,
772,
2010,
449,
14302,
14064,
6699,
391,
3290,
3867,
6699,
376,
338,
496,
772,
5900,
976,
739,
449,
1701,
451,
3987,
120,
51,
561,
609,
51,
24606,
4333,
51,
4136,
51,
5754,
51,
2722,
25457,
3003,
12866,
4706,
51,
376,
588,
222,
221,
942,
924,
3987,
120,
51,
561,
609,
51,
2103,
51,
2722,
25457,
3003,
12866,
1563,
724,
7942,
12536,
2272,
1506,
2722,
25457,
3003,
12866,
1563,
724,
7942,
12536,
2272,
1811,
2722,
25457,
3003,
12866,
45,
5048,
976,
1225,
2010,
49,
1401,
51,
1058,
51,
739,
5900,
976,
739,
46,
1676,
221,
128,
376,
221,
16178,
51,
561,
609,
51,
2103,
51,
2722,
25457,
3003,
12866,
1563,
724,
7942,
12536,
2272,
9180,
739,
299,
556,
3987,
120,
51,
561,
609,
51,
2103,
51,
2722,
25457,
3003,
12866,
1563,
724,
7942,
12536,
2272,
492,
376,
221,
344,
327,
762,
630,
5900,
976,
739,
848,
4517,
221,
128,
374,
221,
620,
9180,
739,
64,
376,
221,
130,
27606,
221,
429,
244,
4084,
1552,
66,
53,
64,
376,
221,
429,
4537,
1552,
66,
53,
64,
376,
221,
999,
327,
429,
613,
299,
244,
53,
64,
613,
350,
5900,
976,
739,
51,
911,
492,
613,
2002,
376,
221,
128,
374,
221,
16178,
51,
561,
609,
51,
24606,
4333,
51,
4136,
51,
5754,
51,
2722,
25457,
3003,
12866,
5900,
976,
299,
327,
16178,
51,
561,
609,
51,
24606,
4333,
51,
4136,
51,
5754,
51,
2722,
25457,
3003,
12866,
46,
5900,
976,
739,
51,
390,
45,
110,
312,
374,
221,
16178,
51,
561,
609,
51,
2103,
51,
2722,
25457,
3003,
12866,
1563,
724,
7942,
12536,
9180,
299,
1506,
45,
1130,
49,
5900,
976,
312,
2556,
221,
344,
327,
2103,
882,
762,
46,
621,
221,
2103,
739,
51,
688,
45,
2103,
312,
8212,
221,
344,
327,
4136,
976,
882,
762,
46,
374,
221,
128,
621,
221,
344,
327,
4136,
976,
51,
43448,
87,
4007,
365,
882,
762,
979,
5900,
976,
51,
43448,
87,
4007,
941,
4412,
899,
365,
630,
878,
46,
596,
221,
4084,
1552,
3348,
621,
221,
728,
596,
221,
2498,
1552,
3348,
374,
221,
130,
376,
221,
130,
4102,
221,
2103,
739,
51,
489,
87,
1093,
1552,
45,
4084,
1552,
312,
376,
221,
2103,
739,
51,
46094,
1552,
45,
2498,
1552,
312,
376,
221,
620,
9180,
739,
64,
222,
221,
130,
499,
221,
1350,
376,
338,
2673,
341,
3987,
120,
51,
561,
609,
51,
24606,
4333,
51,
4136,
51,
5754,
51,
2722,
25457,
3003,
12866,
758,
664,
341,
804,
1319,
4512,
51,
376,
338,
496,
772,
5900,
2232,
449,
1674,
391,
1506,
4917,
327,
18581,
46,
5900,
4706,
51,
376,
338,
496,
772,
9180,
2272,
449,
341,
4512,
451,
804,
4706,
221,
4517,
588,
376,
581,
924,
1401,
51,
1058,
51,
903,
6600,
2722,
25457,
3003,
12866,
903,
45,
16178,
51,
4136,
51,
1484,
712,
3327,
5048,
2232,
5900,
2232,
49,
3987,
120,
51,
561,
609,
51,
2103,
51,
2722,
25457,
3003,
12866,
1563,
724,
7942,
12536,
2272,
9180,
2272,
46,
4517,
320,
4107,
221,
620,
6600,
2722,
25457,
3003,
12866,
903,
45,
4136,
2232,
49,
9180,
2272,
49,
762,
49,
556,
8329,
1052,
376,
339,
4107,
376,
581,
924,
1401,
51,
1058,
51,
903,
6600,
2722,
25457,
3003,
12866,
903,
45,
16178,
51,
4136,
51,
1484,
712,
3327,
5048,
2232,
5900,
2232,
49,
3987,
120,
51,
561,
609,
51,
2103,
51,
2722,
25457,
3003,
12866,
1563,
724,
7942,
12536,
2272,
9180,
2272,
49,
1401,
51,
1058,
51,
903,
5900,
976,
903,
49,
8329,
7593,
1225,
46,
4517,
320,
4107,
221,
429,
1354,
299,
327,
1710,
630,
9180,
2272,
46,
1037,
244,
53,
518,
9180,
2272,
51,
911,
492,
376,
221,
344,
327,
4136,
976,
903,
630,
762,
46,
376,
221,
128,
374,
221,
4136,
976,
903,
299,
556,
1401,
51,
1058,
51,
17163,
492,
3177,
376,
221,
130,
376,
221,
1874,
51,
1058,
51,
903,
556,
903,
299,
556,
1401,
51,
1058,
51,
17163,
492,
376,
221,
999,
45,
429,
613,
66,
53,
64,
613,
65,
911,
64,
613,
2002,
4517,
221,
128,
374,
221,
16178,
51,
561,
609,
51,
2103,
51,
2722,
25457,
3003,
12866,
1563,
724,
7942,
12536,
9180,
299,
9180,
2272,
51,
390,
45,
110,
312,
374,
221,
16178,
51,
561,
609,
51,
24606,
4333,
51,
4136,
51,
5754,
51,
2722,
25457,
3003,
12866,
5900,
976,
299,
6582,
25457,
3003,
12866,
1563,
724,
7942,
12536,
24277,
51,
8320,
2722,
25457,
3003,
12866,
45,
4136,
2232,
49,
9180,
49,
7593,
1225,
312,
2556,
221,
325,
10767,
63,
1369,
902,
1773,
13820,
347,
341,
18765,
451,
331,
35590,
1319,
3773,
51,
2643,
2483,
11920,
580,
391,
341,
4821,
9388,
391,
2902,
580,
51,
374,
221,
344,
327,
4136,
976,
630,
762,
46,
374,
221,
128,
621,
221,
7514,
64,
374,
221,
130,
8212,
221,
325,
41964,
391,
7373,
341,
13705,
14436,
4512,
4019,
15168,
641,
25612,
4745,
2840,
581,
2586,
4457,
51,
327,
6257,
1035,
46,
374,
221,
344,
1445,
4136,
976,
903,
51,
4766,
45,
4136,
976,
509,
5900,
976,
903,
51,
688,
45,
4136,
976,
312,
374,
221,
909,
903,
51,
688,
45,
4136,
976,
312,
3177,
376,
221,
130,
376,
221,
1874,
51,
1058,
51,
903,
6563,
903,
299,
556,
1401,
51,
1058,
51,
17163,
492,
376,
221,
1874,
51,
1058,
51,
5740,
3881,
299,
5900,
976,
903,
51,
5174,
492,
376,
221,
325,
4882,
986,
1532,
4706,
1868,
391,
545,
6563,
376,
221,
5544,
327,
1751,
51,
16408,
1177,
376,
221,
128,
374,
221,
16178,
51,
4136,
51,
5048,
976,
356,
299,
327,
16178,
51,
4136,
51,
5048,
976,
46,
1751,
51,
1995,
492,
45062,
221,
344,
1849,
116,
630,
762,
1293,
356,
51,
43448,
87,
4007,
365,
630,
762,
1293,
673,
116,
51,
43448,
87,
4007,
941,
4412,
899,
1177,
979,
673,
909,
903,
51,
4766,
45,
116,
509,
374,
221,
128,
621,
221,
17572,
903,
51,
688,
45,
116,
312,
374,
221,
130,
376,
221,
130,
376,
221,
1751,
299,
6563,
903,
51,
5174,
492,
376,
221,
325,
4926,
341,
725,
32423,
4706,
376,
221,
5544,
327,
1751,
51,
16408,
1177,
376,
221,
128,
374,
221,
4136,
976,
903,
51,
2564,
45,
1751,
51,
1995,
1052,
376,
221,
130,
376,
221,
620,
5900,
976,
903,
64,
221,
4517,
339,
3067,
221,
1350,
376,
338,
2673,
341,
3987,
120,
51,
561,
609,
51,
24606,
4333,
51,
4136,
51,
5754,
51,
2722,
25457,
3003,
12866,
1168,
664,
341,
804,
1319,
4512,
51,
376,
338,
496,
772,
5900,
2232,
449,
1674,
391,
1506,
4917,
327,
18581,
46,
5900,
4706,
51,
376,
338,
496,
772,
9180,
2272,
449,
341,
4512,
451,
804,
4706,
221,
4517,
588,
376,
581,
924,
1401,
51,
1058,
51,
739,
6600,
2722,
25457,
3003,
12866,
739,
45,
16178,
51,
4136,
51,
1484,
712,
3327,
5048,
2232,
5900,
2232,
49,
3987,
120,
51,
561,
609,
51,
2103,
51,
2722,
25457,
3003,
12866,
1563,
724,
7942,
12536,
2272,
9180,
2272,
46,
4517,
320,
4107,
221,
620,
6600,
2722,
25457,
3003,
12866,
739,
45,
4136,
2232,
49,
9180,
2272,
49,
762,
49,
556,
8329,
1052,
376,
339,
4107,
376,
581,
924,
1401,
51,
1058,
51,
739,
6600,
2722,
25457,
3003,
12866,
739,
45,
16178,
51,
4136,
51,
1484,
712,
3327,
5048,
2232,
5900,
2232,
49,
3987,
120,
51,
561,
609,
51,
2103,
51,
2722,
25457,
3003,
12866,
1563,
724,
7942,
12536,
2272,
9180,
2272,
49,
1401,
51,
1058,
51,
739,
5900,
976,
739,
49,
8329,
7593,
1225,
46,
4517,
320,
4107,
221,
429,
1354,
299,
327,
1710,
630,
9180,
2272,
46,
1037,
244,
53,
518,
9180,
2272,
51,
911,
492,
376,
221,
344,
327,
4136,
976,
739,
630,
762,
46,
376,
221,
128,
374,
221,
4136,
976,
739,
299,
556,
1401,
51,
1058,
51,
7119,
492,
3177,
376,
221,
130,
376,
221,
999,
45,
429,
613,
66,
53,
64,
613,
65,
911,
64,
613,
2002,
4517,
221,
128,
374,
221,
16178,
51,
561,
609,
51,
2103,
51,
2722,
25457,
3003,
12866,
1563,
724,
7942,
12536,
9180,
299,
9180,
2272,
51,
390,
45,
110,
312,
374,
221,
16178,
51,
561,
609,
51,
24606,
4333,
51,
4136,
51,
5754,
51,
2722,
25457,
3003,
12866,
5900,
976,
299,
6582,
25457,
3003,
12866,
1563,
724,
7942,
12536,
24277,
51,
8320,
2722,
25457,
3003,
12866,
45,
4136,
2232,
49,
9180,
49,
7593,
1225,
312,
2556,
221,
325,
10767,
63,
1369,
902,
1773,
13820,
347,
341,
18765,
451,
331,
35590,
1319,
3773,
51,
2643,
2483,
11920,
580,
391,
341,
4821,
9388,
391,
2902,
580,
51,
374,
221,
344,
327,
4136,
976,
630,
762,
46,
374,
221,
128,
621,
221,
7514,
64,
374,
221,
130,
2556,
221,
429,
7593,
6818,
299,
5900,
976,
739,
51,
7149,
45,
4136,
976,
312,
374,
221,
344,
327,
4734,
6818,
630,
449,
54,
46,
374,
221,
128,
621,
221,
4136,
976,
739,
51,
688,
45,
110,
49,
5900,
976,
312,
374,
221,
130,
374,
221,
728,
434,
327,
110,
882,
7593,
6818,
979,
613,
350,
5900,
976,
739,
51,
911,
1177,
374,
221,
128,
621,
221,
976,
3709,
299,
5900,
976,
739,
51,
390,
45,
110,
312,
621,
221,
4136,
976,
739,
51,
489,
45,
110,
49,
5900,
976,
739,
51,
390,
45,
4734,
6818,
894,
621,
221,
4136,
976,
739,
51,
489,
45,
4734,
6818,
49,
3709,
312,
374,
221,
130,
376,
221,
130,
4102,
221,
325,
4926,
1187,
11703,
347,
7593,
739,
2174,
1671,
868,
9180,
2272,
51,
911,
365,
641,
3301,
1414,
376,
221,
325,
2192,
4073,
341,
11703,
6563,
664,
341,
694,
84,
4512,
51,
3155,
8940,
15157,
51,
376,
221,
429,
613,
54,
66,
4136,
976,
739,
51,
911,
492,
376,
221,
5544,
327,
110,
54,
868,
1354,
46,
376,
221,
128,
374,
221,
4136,
976,
739,
51,
2564,
45,
110,
54,
50,
54,
312,
374,
221,
110,
54,
66,
4136,
976,
739,
51,
911,
492,
376,
221,
130,
376,
221,
620,
5900,
976,
739,
64,
221,
4517,
339,
736,
499,
221,
1350,
376,
338,
2673,
341,
3867,
976,
664,
341,
3987,
120,
51,
561,
609,
51,
24606,
4333,
51,
4136,
51,
5754,
51,
2722,
25457,
3003,
12866,
1319,
51,
376,
338,
496,
772,
5900,
976,
3987,
120,
51,
561,
609,
51,
24606,
4333,
51,
4136,
51,
5754,
51,
2722,
25457,
3003,
12866,
376,
588,
376,
581,
924,
3987,
120,
51,
561,
609,
51,
2103,
51,
2722,
25457,
3003,
12866,
1563,
724,
7942,
12536,
1506,
45,
16178,
51,
561,
609,
51,
24606,
4333,
51,
4136,
51,
5754,
51,
2722,
25457,
3003,
12866,
5900,
976,
46,
4517,
320,
4107,
221,
344,
327,
1710,
630,
5900,
976,
46,
48814,
221,
128,
374,
221,
620,
762,
64,
376,
221,
130,
376,
221,
5048,
976,
1225,
2010,
299,
556,
14064,
976,
1225,
492,
376,
221,
620,
1506,
45,
1130,
49,
5900,
976,
312,
376,
339,
4107,
376,
1041,
4107,
338,
2673,
341,
3867,
976,
664,
341,
3987,
120,
51,
561,
609,
51,
24606,
4333,
51,
4136,
51,
5754,
51,
2722,
25457,
3003,
12866,
1319,
51,
4107,
338,
496,
772,
2010,
14064,
976,
1225,
451,
14064,
6699,
391,
3443,
3290,
3867,
6699,
51,
4107,
338,
496,
772,
5900,
976,
4107,
588,
4107,
581,
924,
3987,
120,
51,
561,
609,
51,
2103,
51,
2722,
25457,
3003,
12866,
1563,
724,
7942,
12536,
1506,
45,
5048,
976,
1225,
2010,
49,
3987,
120,
51,
561,
609,
51,
24606,
4333,
51,
4136,
51,
5754,
51,
2722,
25457,
3003,
12866,
5900,
976,
46,
48814,
320,
11794,
221,
221,
344,
327,
1710,
630,
5900,
976,
46,
4517,
36109,
221,
128,
621,
221,
620,
762,
64,
374,
221,
130,
374,
221,
325,
1524,
434,
341,
5900,
976,
3443,
1421,
331,
804,
976,
3290,
456,
580,
374,
221,
16178,
51,
561,
609,
51,
2103,
51,
2722,
25457,
3003,
12866,
1563,
724,
7942,
12536,
804,
976,
299,
327,
16178,
51,
561,
609,
51,
2103,
51,
2722,
25457,
3003,
12866,
1563,
724,
7942,
12536,
46,
2010,
51,
6693,
976,
45,
4136,
976,
49,
3987,
120,
51,
561,
609,
51,
2103,
51,
2722,
25457,
3003,
12866,
1563,
724,
7942,
12536,
51,
842,
312,
374,
221,
344,
327,
762,
630,
804,
976,
848,
8671,
221,
128,
621,
221,
872,
976,
299,
556,
3987,
120,
51,
561,
609,
51,
2103,
51,
2722,
25457,
3003,
12866,
1563,
724,
7942,
12536,
45,
4136,
976,
51,
7068,
1046,
5900,
976,
51,
31982,
1052,
621,
221,
1130,
51,
688,
43984,
45,
4136,
976,
49,
804,
976,
312,
5033,
221,
872,
976,
299,
5567,
45,
1130,
49,
804,
976,
49,
5900,
976,
312,
30358,
221,
130,
4107,
221,
221,
620,
804,
976,
64,
4107,
339,
499,
221,
1350,
376,
338,
4013,
341,
3867,
976,
642,
341,
14064,
2210,
51,
376,
338,
496,
772,
804,
976,
391,
545,
4478,
376,
338,
496,
772,
5900,
976,
3987,
120,
51,
561,
609,
51,
24606,
4333,
51,
4136,
51,
5754,
51,
2722,
25457,
3003,
12866,
376,
588,
376,
581,
924,
3987,
120,
51,
561,
609,
51,
2103,
51,
2722,
25457,
3003,
12866,
1563,
724,
7942,
12536,
5567,
45,
16178,
51,
561,
609,
51,
2103,
51,
2722,
25457,
3003,
12866,
1563,
724,
7942,
12536,
804,
976,
49,
3987,
120,
51,
561,
609,
51,
24606,
4333,
51,
4136,
51,
5754,
51,
2722,
25457,
3003,
12866,
5900,
976,
46,
4517,
320,
4107,
221,
344,
327,
1710,
630,
5900,
976,
46,
48814,
221,
128,
374,
221,
620,
804,
976,
64,
376,
221,
130,
376,
221,
5048,
976,
1225,
2010,
299,
556,
14064,
976,
1225,
492,
376,
221,
620,
5567,
45,
1130,
49,
804,
976,
49,
5900,
976,
312,
376,
339,
376,
1676,
221,
1350,
376,
338,
4013,
341,
3867,
976,
642,
341,
14064,
2210,
51,
376,
338,
496,
772,
2010,
14064,
976,
1225,
451,
14064,
6699,
391,
3443,
3290,
3867,
6699,
51,
376,
338,
496,
772,
804,
976,
391,
545,
4478,
376,
338,
496,
772,
5900,
976,
3987,
120,
51,
561,
609,
51,
24606,
4333,
51,
4136,
51,
5754,
51,
2722,
25457,
3003,
12866,
376,
588,
376,
581,
924,
3987,
120,
51,
561,
609,
51,
2103,
51,
2722,
25457,
3003,
12866,
1563,
724,
7942,
12536,
5567,
45,
5048,
976,
1225,
2010,
49,
3987,
120,
51,
561,
609,
51,
2103,
51,
2722,
25457,
3003,
12866,
1563,
724,
7942,
12536,
804,
976,
49,
3987,
120,
51,
561,
609,
51,
24606,
4333,
51,
4136,
51,
5754,
51,
2722,
25457,
3003,
12866,
5900,
976,
46,
4517,
320,
4107,
221,
344,
327,
1710,
630,
5900,
976,
46,
48814,
221,
128,
374,
221,
620,
804,
976,
64,
376,
221,
130,
4107,
221,
344,
327,
1710,
630,
2010,
46,
48814,
221,
128,
374,
221,
1130,
299,
556,
14064,
976,
1225,
492,
376,
221,
130,
1332,
221,
872,
976,
51,
489,
798,
100,
2722,
25457,
3003,
12866,
45,
4136,
976,
51,
7068,
1052,
376,
221,
872,
976,
51,
31022,
87,
4007,
45,
4136,
976,
51,
43448,
87,
4007,
1052,
4102,
221,
325,
1691,
477,
458,
331,
24006,
402,
943,
3646,
49,
480,
341,
5900,
976,
376,
221,
325,
804,
458,
8518,
3171,
1421,
666,
2602,
758,
49,
1636,
1019,
461,
762,
480,
376,
221,
325,
666,
341,
804,
1319,
376,
221,
344,
327,
872,
976,
51,
43448,
87,
4007,
365,
882,
762,
979,
804,
976,
51,
43448,
87,
4007,
941,
4412,
899,
365,
630,
878,
979,
673,
4136,
976,
51,
316,
8518,
3171,
1177,
374,
221,
620,
762,
64,
23120,
221,
325,
1691,
477,
458,
666,
331,
24006,
402,
943,
3646,
49,
480,
341,
5900,
976,
376,
221,
325,
804,
458,
8518,
3171,
1421,
2602,
758,
49,
1636,
1019,
461,
762,
480,
376,
221,
325,
666,
341,
804,
1319,
376,
221,
344,
1849,
872,
976,
51,
43448,
87,
4007,
365,
630,
762,
1293,
804,
976,
51,
43448,
87,
4007,
941,
4412,
899,
365,
630,
920,
46,
979,
5900,
976,
51,
316,
8518,
3171,
1177,
374,
221,
620,
762,
64,
23120,
221,
325,
2833,
724,
7942,
376,
221,
1874,
51,
1058,
51,
1563,
2833,
724,
7942,
299,
5900,
976,
51,
22080,
724,
7942,
492,
376,
221,
344,
327,
762,
882,
2833,
724,
7942,
848,
4517,
221,
128,
374,
221,
872,
976,
51,
42547,
724,
7942,
45,
909,
3987,
120,
51,
2863,
51,
2324,
51,
1563,
45,
1563,
724,
7942,
46,
1110,
376,
221,
130,
376,
221,
325,
6582,
25457,
376,
221,
344,
327,
4136,
976,
51,
390,
2722,
25457,
365,
882,
762,
46,
376,
221,
128,
374,
221,
344,
45,
4136,
976,
51,
390,
2722,
25457,
365,
5118,
44114,
5401,
46,
453,
1691,
341,
7671,
458,
758,
49,
2038,
458,
1307,
1868,
391,
13679,
2480,
49,
341,
7671,
25427,
341,
828,
3443,
51,
8671,
221,
128,
621,
221,
39036,
5401,
317,
299,
327,
39036,
5401,
46,
5900,
976,
51,
390,
2722,
25457,
492,
621,
221,
429,
828,
299,
4418,
51,
11824,
45,
117,
51,
390,
39036,
18832,
20038,
941,
47483,
941,
3127,
1052,
1017,
621,
221,
872,
976,
51,
489,
2722,
25457,
45,
909,
3987,
120,
51,
561,
609,
51,
24606,
4333,
51,
2103,
51,
2888,
2722,
25457,
2099,
12536,
45,
333,
49,
449,
54,
894,
1017,
374,
221,
130,
374,
221,
728,
374,
221,
128,
621,
221,
872,
976,
51,
489,
2722,
25457,
45,
909,
3987,
120,
51,
561,
609,
51,
24606,
4333,
51,
2103,
51,
2888,
2722,
25457,
2099,
12536,
45,
4136,
976,
51,
390,
2722,
25457,
941,
7068,
1046,
5900,
976,
51,
390,
2722,
25457,
941,
31982,
5086,
374,
221,
130,
376,
221,
130,
27040,
221,
620,
804,
976,
64,
376,
339,
3067,
221,
1350,
376,
338,
2673,
341,
5900,
1319,
664,
341,
804,
1319,
51,
376,
338,
496,
772,
5900,
2232,
449,
1674,
391,
1506,
4917,
327,
18581,
46,
5900,
4706,
51,
376,
338,
496,
772,
804,
976,
449,
6600,
341,
5900,
1319,
3844,
664,
477,
51,
376,
588,
222,
221,
942,
924,
3987,
120,
51,
561,
609,
51,
24606,
4333,
51,
4136,
51,
5754,
51,
2722,
25457,
3003,
12866,
6600,
2722,
25457,
3003,
12866,
45,
16178,
51,
4136,
51,
1484,
712,
3327,
5048,
2232,
5900,
2232,
49,
3987,
120,
51,
561,
609,
51,
2103,
51,
2722,
25457,
3003,
12866,
1563,
724,
7942,
12536,
804,
976,
46,
1676,
221,
128,
376,
221,
620,
244,
221,
8320,
2722,
25457,
3003,
12866,
45,
4136,
2232,
49,
804,
976,
49,
556,
8329,
1052,
222,
221,
130,
499,
221,
942,
924,
3987,
120,
51,
561,
609,
51,
24606,
4333,
51,
4136,
51,
5754,
51,
2722,
25457,
3003,
12866,
6600,
2722,
25457,
3003,
12866,
45,
16178,
51,
4136,
51,
1484,
712,
3327,
5048,
2232,
5900,
2232,
49,
3987,
120,
51,
561,
609,
51,
2103,
51,
2722,
25457,
3003,
12866,
1563,
724,
7942,
12536,
804,
976,
49,
8329,
7593,
1225,
46,
1676,
221,
128,
376,
221,
344,
327,
1710,
630,
804,
976,
46,
4517,
221,
128,
374,
221,
620,
762,
64,
376,
221,
130,
376,
221,
3078,
828,
299,
804,
976,
51,
37541,
100,
2722,
25457,
3003,
12866,
492,
376,
221,
16178,
51,
561,
609,
51,
24606,
4333,
51,
4136,
51,
5754,
51,
2722,
25457,
3003,
12866,
5900,
976,
299,
762,
64,
376,
221,
344,
327,
762,
630,
828,
46,
4517,
221,
128,
374,
221,
344,
327,
4734,
1225,
51,
390,
45,
872,
976,
46,
882,
762,
46,
374,
221,
128,
621,
221,
620,
327,
16178,
51,
561,
609,
51,
24606,
4333,
51,
4136,
51,
5754,
51,
2722,
25457,
3003,
12866,
46,
4734,
1225,
51,
390,
45,
872,
976,
312,
374,
221,
130,
374,
221,
325,
3987,
120,
51,
561,
609,
51,
2103,
51,
2722,
25457,
3003,
12866,
1563,
724,
7942,
12536,
2502,
100,
2722,
25457,
3003,
12866,
1620,
458,
8675,
374,
221,
4136,
976,
299,
556,
3987,
120,
51,
561,
609,
51,
24606,
4333,
51,
4136,
51,
5754,
51,
2722,
25457,
3003,
12866,
492,
374,
221,
4734,
1225,
51,
543,
45,
872,
976,
49,
5900,
976,
312,
376,
221,
130,
376,
221,
728,
4517,
221,
128,
374,
221,
671,
1221,
299,
327,
872,
976,
51,
9699,
941,
5175,
365,
494,
9609,
39,
494,
804,
976,
51,
37541,
100,
2722,
25457,
3003,
12866,
1052,
374,
221,
344,
327,
4734,
1225,
51,
390,
45,
697,
46,
882,
762,
46,
374,
221,
128,
621,
221,
620,
327,
16178,
51,
561,
609,
51,
24606,
4333,
51,
4136,
51,
5754,
51,
2722,
25457,
3003,
12866,
46,
4734,
1225,
51,
390,
45,
697,
312,
374,
221,
130,
374,
221,
4136,
976,
299,
327,
16178,
51,
561,
609,
51,
24606,
4333,
51,
4136,
51,
5754,
51,
2722,
25457,
3003,
12866,
46,
5900,
2232,
51,
390,
5048,
976,
45,
16178,
51,
561,
609,
51,
24606,
4333,
51,
4136,
51,
5754,
51,
2722,
25457,
3003,
12866,
51,
842,
49,
828,
1110,
8212,
221,
325,
10767,
63,
3204,
3673,
2650,
477,
1414,
545,
13748,
51,
19234,
8637,
580,
2315,
545,
331,
35590,
1491,
3773,
49,
1294,
8784,
1414,
545,
13748,
641,
708,
9710,
992,
51,
374,
221,
344,
327,
4136,
976,
630,
762,
46,
12493,
221,
620,
762,
64,
2556,
221,
4734,
1225,
51,
543,
45,
697,
49,
5900,
976,
312,
376,
221,
130,
376,
221,
4136,
976,
51,
489,
2080,
45,
872,
976,
51,
31982,
100,
2722,
25457,
3003,
12866,
1052,
1332,
221,
1874,
51,
1058,
51,
1563,
804,
54,
299,
762,
64,
376,
221,
16178,
51,
2863,
51,
2324,
51,
1563,
2361,
54,
299,
804,
976,
51,
22080,
724,
7942,
492,
27606,
221,
344,
327,
2361,
54,
882,
762,
848,
4517,
221,
128,
374,
221,
872,
54,
299,
2361,
54,
51,
22080,
492,
376,
221,
130,
376,
221,
4136,
976,
51,
42547,
724,
7942,
45,
872,
54,
312,
376,
221,
16178,
51,
561,
609,
51,
24606,
4333,
51,
4136,
51,
5754,
51,
2888,
2722,
25457,
804,
55,
299,
762,
64,
376,
221,
344,
327,
762,
882,
804,
976,
51,
390,
2722,
25457,
365,
848,
4517,
221,
128,
374,
221,
344,
327,
872,
976,
51,
390,
2722,
25457,
941,
390,
5558,
625,
365,
630,
762,
46,
374,
221,
128,
621,
221,
344,
327,
4734,
1225,
51,
390,
45,
872,
976,
51,
390,
2722,
25457,
1177,
882,
762,
46,
621,
221,
128,
596,
221,
872,
55,
299,
327,
16178,
51,
561,
609,
51,
24606,
4333,
51,
4136,
51,
5754,
51,
2888,
2722,
25457,
46,
4734,
1225,
51,
390,
45,
872,
976,
51,
390,
2722,
25457,
1052,
621,
221,
130,
374,
221,
130,
374,
221,
728,
434,
327,
872,
976,
51,
390,
5558,
2080,
365,
630,
449,
54,
46,
453,
7911,
12536,
1616,
666,
8851,
4577,
17325,
664,
341,
2915,
14487,
49,
1307,
1868,
391,
1991,
341,
9753,
1620,
374,
221,
128,
621,
221,
872,
55,
299,
5900,
976,
51,
390,
2722,
25457,
492,
31425,
221,
130,
374,
221,
728,
374,
221,
128,
621,
221,
872,
55,
299,
327,
16178,
51,
561,
609,
51,
24606,
4333,
51,
4136,
51,
5754,
51,
2888,
2722,
25457,
46,
4136,
2232,
51,
390,
5048,
976,
45,
16178,
51,
561,
609,
51,
24606,
4333,
51,
4136,
51,
5754,
51,
2888,
2722,
25457,
51,
842,
49,
804,
976,
51,
390,
2722,
25457,
941,
390,
5558,
625,
1052,
374,
221,
130,
376,
221,
130,
376,
221,
4136,
976,
51,
489,
2722,
25457,
45,
872,
55,
312,
1332,
221,
620,
5900,
976,
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,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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 5,157 | true | 72.111057 | true | true |
MetaTileEntityCentralMonitor.java | /FileExtraction/Java_unseen/GregTechCEu_gregicality-legacy/src/main/java/gregicadditions/machines/multi/centralmonitor/MetaTileEntityCentralMonitor.java | package gregicadditions.machines.multi.centralmonitor;
import codechicken.lib.render.CCRenderState;
import codechicken.lib.render.pipeline.IVertexOperation;
import codechicken.lib.vec.Matrix4;
import gregicadditions.GAConfig;
import gregicadditions.client.ClientHandler;
import gregicadditions.client.renderer.RenderHelper;
import gregicadditions.covers.CoverDigitalInterface;
import gregicadditions.utils.BlockPatternChecker;
import gregicadditions.utils.Tuple;
import gregicadditions.widgets.monitor.WidgetScreenGrid;
import gregtech.api.capability.GregtechCapabilities;
import gregtech.api.capability.impl.EnergyContainerList;
import gregtech.api.cover.CoverBehavior;
import gregtech.api.gui.GuiTextures;
import gregtech.api.gui.ModularUI;
import gregtech.api.gui.Widget;
import gregtech.api.gui.widgets.AdvancedTextWidget;
import gregtech.api.gui.widgets.WidgetGroup;
import gregtech.api.metatileentity.IRenderMetaTileEntity;
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.metatileentity.multiblock.MultiblockWithDisplayBase;
import gregtech.api.multiblock.BlockPattern;
import gregtech.api.multiblock.FactoryBlockPattern;
import gregtech.api.multiblock.PatternMatchContext;
import gregtech.api.pipenet.tile.AttachmentType;
import gregtech.api.pipenet.tile.TileEntityPipeBase;
import gregtech.api.render.ICubeRenderer;
import gregtech.api.render.Textures;
import gregtech.common.blocks.BlockMetalCasing;
import gregtech.common.blocks.MetaBlocks;
import gregtech.common.pipelike.cable.net.EnergyNet;
import gregtech.common.pipelike.cable.net.WorldENet;
import gregtech.common.pipelike.cable.tile.TileEntityCable;
import net.minecraft.client.Minecraft;
import net.minecraft.client.renderer.GlStateManager;
import net.minecraft.client.renderer.OpenGlHelper;
import net.minecraft.client.resources.I18n;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.network.PacketBuffer;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.util.EnumFacing;
import net.minecraft.util.ResourceLocation;
import net.minecraft.util.math.AxisAlignedBB;
import net.minecraft.util.math.BlockPos;
import net.minecraft.util.math.RayTraceResult;
import net.minecraft.util.text.ITextComponent;
import net.minecraft.util.text.TextComponentString;
import net.minecraft.util.text.TextComponentTranslation;
import net.minecraft.world.World;
import net.minecraftforge.common.capabilities.Capability;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;
import org.lwjgl.opengl.GL11;
import javax.annotation.Nullable;
import java.lang.ref.WeakReference;
import java.util.ArrayList;
import java.util.List;
import static gregtech.api.multiblock.BlockPattern.RelativeDirection.*;
public class MetaTileEntityCentralMonitor extends MultiblockWithDisplayBase implements IRenderMetaTileEntity {
private final static long ENERGY_COST = -GAConfig.multis.centralMonitor.euCost;
public final static int MAX_HEIGHT = 9;
public final static int MAX_WIDTH = 14;
// run-time data
public int width;
private long lastUpdate;
private WeakReference<EnergyNet> currentEnergyNet;
private List<BlockPos> activeNodes;
public List<Tuple<BlockPos, EnumFacing>> covers;
@SideOnly(Side.CLIENT)
public List<BlockPos> parts;
public MetaTileEntityMonitorScreen[][] screens;
private boolean isActive;
private EnergyContainerList inputEnergy;
// persistent data
public int height = 3;
public MetaTileEntityCentralMonitor(ResourceLocation metaTileEntityId) {
super(metaTileEntityId);
reinitializeStructurePattern();
}
private EnergyNet getEnergyNet() {
if (!this.getWorld().isRemote) {
TileEntity te = this.getWorld().getTileEntity(this.getPos().offset(frontFacing.getOpposite()));
if (te instanceof TileEntityPipeBase) {
TileEntityPipeBase<?, ?> tileEntityCable = (TileEntityCable) te;
EnergyNet currentEnergyNet = this.currentEnergyNet.get();
if (currentEnergyNet != null && currentEnergyNet.isValid() && currentEnergyNet.containsNode(tileEntityCable.getPipePos())) {
return currentEnergyNet; //return current net if it is still valid
}
WorldENet worldENet = (WorldENet) tileEntityCable.getPipeBlock().getWorldPipeNet(tileEntityCable.getPipeWorld());
currentEnergyNet = worldENet.getNetFromPos(tileEntityCable.getPipePos());
if (currentEnergyNet != null) {
this.currentEnergyNet = new WeakReference<>(currentEnergyNet);
}
return currentEnergyNet;
}
}
return null;
}
private void updateNodes() {
EnergyNet energyNet = getEnergyNet();
if (energyNet == null) {
activeNodes.clear();
return;
}
if (energyNet.getLastUpdate() == lastUpdate) {
return;
}
lastUpdate = energyNet.getLastUpdate();
activeNodes.clear();
energyNet.getAllNodes().forEach((pos, node) -> {
if (node.isActive) {
activeNodes.add(pos);
}
});
}
private boolean checkCovers() {
updateNodes();
List<Tuple<BlockPos, EnumFacing>> checkCovers = new ArrayList<>();
World world = this.getWorld();
for (BlockPos pos : activeNodes) {
TileEntity tileEntityCable = world.getTileEntity(pos);
if (!(tileEntityCable instanceof TileEntityPipeBase)) {
continue;
}
for (EnumFacing facing : EnumFacing.VALUES) {
TileEntity tileEntity = world.getTileEntity(pos.offset(facing));
if (tileEntity instanceof MetaTileEntityHolder && !((TileEntityPipeBase<?,?>) tileEntityCable).isConnectionBlocked(AttachmentType.PIPE, facing)) {
MetaTileEntity metaTileEntity = ((MetaTileEntityHolder) tileEntity).getMetaTileEntity();
if (metaTileEntity != null) {
CoverBehavior cover = metaTileEntity.getCoverAtSide(facing.getOpposite());
if (cover instanceof CoverDigitalInterface && ((CoverDigitalInterface) cover).isProxy()) {
checkCovers.add(new Tuple<>(metaTileEntity.getPos(), cover.attachedSide));
}
}
} else {
CoverBehavior cover = ((TileEntityPipeBase<?,?>) tileEntityCable).getCoverableImplementation().getCoverAtSide(facing);
if (cover instanceof CoverDigitalInterface && ((CoverDigitalInterface) cover).isProxy()) {
if(((CoverDigitalInterface) cover).getCoveredTE() != null) {
checkCovers.add(new Tuple<>(tileEntityCable.getPos(), cover.attachedSide));
}
}
}
}
}
if (checkCovers.size() != covers.size() || !covers.containsAll(checkCovers)) {
covers = checkCovers;
return true;
}
return false;
}
private void writeCovers(PacketBuffer buf) {
if(covers == null) {
buf.writeInt(0);
return;
}
buf.writeInt(covers.size());
for (Tuple<BlockPos, EnumFacing> cover : covers){
buf.writeBlockPos(cover.getKey());
buf.writeByte(cover.getValue().getIndex());
}
}
private void readCovers(PacketBuffer buf) {
covers = new ArrayList<>();
int size = buf.readInt();
for (int i = 0; i < size; i++) {
covers.add(new Tuple<>(buf.readBlockPos(), EnumFacing.byIndex(buf.readByte())));
}
}
private void writeParts(PacketBuffer buf) {
buf.writeInt(this.getMultiblockParts().size() - 1);
this.getMultiblockParts().forEach(part->{
if (part instanceof MetaTileEntityMonitorScreen) {
buf.writeBlockPos(((MetaTileEntityMonitorScreen) part).getPos());
}
});
}
private void readParts(PacketBuffer buf) {
parts = new ArrayList<>();
clearScreans();
int size = buf.readInt();
for (int i = 0; i < size; i++) {
parts.add(buf.readBlockPos());
}
}
public void setHeight(int height) {
if(this.height == height || height < 2 || height > MAX_HEIGHT) return;
this.height = height;
reinitializeStructurePattern();
checkStructurePattern();
writeCustomData(3, buf->{
buf.writeInt(height);
});
}
private void setActive(boolean isActive) {
if(isActive == this.isActive) return;
this.isActive = isActive;
writeCustomData(4, buf -> buf.writeBoolean(this.isActive));
}
public boolean isActive() {
return isStructureFormed() && isActive;
}
private void clearScreans() {
if (screens != null) {
for (MetaTileEntityMonitorScreen[] screen : screens) {
for (MetaTileEntityMonitorScreen s : screen) {
if(s != null) s.removeFromMultiBlock(this);
}
}
}
screens = new MetaTileEntityMonitorScreen[width][height];
}
@Override
public void renderMetaTileEntity(CCRenderState renderState, Matrix4 translation, IVertexOperation[] pipeline) {
super.renderMetaTileEntity(renderState, translation, pipeline);
Textures.SCREEN.renderSided(getFrontFacing(), renderState, translation, pipeline);
ClientHandler.COVER_INTERFACE_PROXY.renderSided(getFrontFacing().getOpposite(), renderState, translation, pipeline);
}
@Override
protected void addDisplayText(List<ITextComponent> textList) {
super.addDisplayText(textList);
textList.add(new TextComponentTranslation("gtadditions.multiblock.central_monitor.height", this.height));
if (!isStructureFormed()) {
ITextComponent buttonText = new TextComponentTranslation("gtadditions.multiblock.central_monitor.height_modify");
buttonText.appendText(" ");
buttonText.appendSibling(AdvancedTextWidget.withButton(new TextComponentString("[-]"), "sub"));
buttonText.appendText(" ");
buttonText.appendSibling(AdvancedTextWidget.withButton(new TextComponentString("[+]"), "add"));
textList.add(buttonText);
} else {
textList.add(new TextComponentTranslation("gtadditions.multiblock.central_monitor.width", this.width));
textList.add(new TextComponentTranslation("metaitem.tool.prospect.low_power"));
}
}
@Override
protected void handleDisplayClick(String componentData, Widget.ClickData clickData) {
super.handleDisplayClick(componentData, clickData);
int modifier = componentData.equals("add") ? 1 : -1;
setHeight(this.height + modifier);
}
@Override
public void writeInitialSyncData(PacketBuffer buf) {
super.writeInitialSyncData(buf);
buf.writeInt(width);
buf.writeInt(height);
buf.writeBoolean(isActive);
writeCovers(buf);
writeParts(buf);
}
@Override
public void receiveInitialSyncData(PacketBuffer buf) {
super.receiveInitialSyncData(buf);
this.width = buf.readInt();
this.height = buf.readInt();
this.isActive = buf.readBoolean();
readCovers(buf);
readParts(buf);
}
@Override
public void receiveCustomData(int id, PacketBuffer buf) {
super.receiveCustomData(id, buf);
if (id == 1) {
this.width = buf.readInt();
this.height = buf.readInt();
readCovers(buf);
readParts(buf);
} else if (id == 2) {
readCovers(buf);
} else if (id == 3) {
this.height = buf.readInt();
this.reinitializeStructurePattern();
} else if (id == 4) {
this.isActive = buf.readBoolean();
} else if (id == 400) {
if (!this.isStructureFormed()) {
clearScreans();
}
}
}
@Override
public NBTTagCompound writeToNBT(NBTTagCompound data) {
data.setInteger("screenH", this.height);
return super.writeToNBT(data);
}
@Override
public void readFromNBT(NBTTagCompound data) {
super.readFromNBT(data);
this.height = data.hasKey("screenH") ? data.getInteger("screenH") : this.height;
reinitializeStructurePattern();
}
@Override
public MetaTileEntity createMetaTileEntity(MetaTileEntityHolder metaTileEntityHolder) {
return new MetaTileEntityCentralMonitor(metaTileEntityId);
}
@Override
public void update() {
super.update();
}
@Override
protected void updateFormedValid() {
if (this.getOffsetTimer() % 20 ==0) {
setActive(inputEnergy.changeEnergy(ENERGY_COST * this.getMultiblockParts().size()) == ENERGY_COST * this.getMultiblockParts().size());
if (checkCovers()) {
this.getMultiblockParts().forEach(part -> {
if (part instanceof MetaTileEntityMonitorScreen) {
((MetaTileEntityMonitorScreen) part).updateCoverValid(covers);
}
});
writeCustomData(2, this::writeCovers);
}
}
}
@Override
protected BlockPattern createStructurePattern() {
StringBuilder start = new StringBuilder("AS");
StringBuilder slice = new StringBuilder("BB");
StringBuilder end = new StringBuilder("AA");
for (int i = 0; i < height - 2; i++) {
start.append('A');
slice.append('B');
end.append('A');
}
return FactoryBlockPattern.start(UP, BACK, RIGHT)
.aisle(start.toString())
.aisle(slice.toString()).setRepeatable(3, MAX_WIDTH)
.aisle(end.toString())
.where('S', selfPredicate())
.where('A', statePredicate(MetaBlocks.METAL_CASING.getState(BlockMetalCasing.MetalCasingType.STEEL_SOLID)).or(abilityPartPredicate(MultiblockAbility.INPUT_ENERGY)))
.where('B', tilePredicate((state, tile) -> tile instanceof MetaTileEntityMonitorScreen))
.build();
}
@Override
protected void formStructure(PatternMatchContext context) {
super.formStructure(context);
lastUpdate = 0;
currentEnergyNet = new WeakReference<>(null);
activeNodes = new ArrayList<>();
covers = new ArrayList<>();
inputEnergy = new EnergyContainerList(this.getAbilities(MultiblockAbility.INPUT_ENERGY));
width = 0;
checkCovers();
for (IMultiblockPart part : this.getMultiblockParts()) {
if (part instanceof MetaTileEntityMonitorScreen) {
width++;
}
}
width = width / height;
screens = new MetaTileEntityMonitorScreen[width][height];
for (IMultiblockPart part : this.getMultiblockParts()) {
if (part instanceof MetaTileEntityMonitorScreen) {
MetaTileEntityMonitorScreen screen = (MetaTileEntityMonitorScreen) part;
screens[screen.getX()][screen.getY()] = screen;
}
}
writeCustomData(1, packetBuffer -> {
packetBuffer.writeInt(width);
packetBuffer.writeInt(height);
writeCovers(packetBuffer);
writeParts(packetBuffer);
});
}
@Override
public <T> T getCapability(Capability<T> capability, EnumFacing side) {
if(side == this.frontFacing.getOpposite() && capability == GregtechCapabilities.CAPABILITY_ENERGY_CONTAINER) {
return GregtechCapabilities.CAPABILITY_ENERGY_CONTAINER.cast(CoverDigitalInterface.proxyCapability);
}
return null;
}
@Override
public ICubeRenderer getBaseTexture(IMultiblockPart iMultiblockPart) {
return Textures.SOLID_STEEL_CASING;
}
@Override
public boolean shouldRenderInPass(int pass) {
if (this.isStructureFormed()) {
return pass == 0;
}
return false;
}
@Override
@SideOnly(Side.CLIENT)
public boolean isGlobalRenderer() {
return true;
}
@Override
@SideOnly(Side.CLIENT)
public void renderMetaTileEntityDynamic(double x, double y, double z, float partialTicks) {
if (!this.isStructureFormed()) return;
EnumFacing spin = BlockPatternChecker.getSpin(this);
RenderHelper.useStencil(()->{
GlStateManager.pushMatrix();
RenderHelper.moveToFace(x, y, z, this.frontFacing);
RenderHelper.rotateToFace(this.frontFacing, spin);
RenderHelper.renderRect(0.5f, -0.5f - (height - 2), width, height, 0.001f, 0xFF000000);
GlStateManager.popMatrix();
}, ()->{
if (isActive) {
GlStateManager.pushMatrix();
/* hack the lightmap */
GL11.glPushAttrib(GL11.GL_LIGHTING_BIT);
net.minecraft.client.renderer.RenderHelper.disableStandardItemLighting();
float lastBrightnessX = OpenGlHelper.lastBrightnessX;
float lastBrightnessY = OpenGlHelper.lastBrightnessY;
OpenGlHelper.setLightmapTextureCoords(OpenGlHelper.lightmapTexUnit, 240.0F, 240.0F);
EntityPlayer player = Minecraft.getMinecraft().player;
RayTraceResult rayTraceResult = player == null ? null : player.rayTrace(Minecraft.getMinecraft().playerController.getBlockReachDistance(), partialTicks);
int size = 0;
for (int w = 0; w < width; w++) {
for (int h = 0; h < height; h++) {
MetaTileEntityMonitorScreen screen = screens[w][h];
if (screen != null) {
size++;
if (screen.isActive()) {
BlockPos pos = screen.getPos();
BlockPos pos2 = this.getPos();
GlStateManager.pushMatrix();
RenderHelper.moveToFace(x + pos.getX() - pos2.getX(), y + pos.getY() - pos2.getY(), z + pos.getZ() - pos2.getZ(), this.frontFacing);
RenderHelper.rotateToFace(this.frontFacing, spin);
screen.renderScreen(partialTicks, rayTraceResult);
GlStateManager.popMatrix();
}
}
}
}
if (size != parts.size()) {
clearScreans();
for (BlockPos pos : parts) {
TileEntity tileEntity = getWorld().getTileEntity(pos);
if(tileEntity instanceof MetaTileEntityHolder && ((MetaTileEntityHolder) tileEntity).getMetaTileEntity() instanceof MetaTileEntityMonitorScreen) {
MetaTileEntityMonitorScreen screen = (MetaTileEntityMonitorScreen) ((MetaTileEntityHolder) tileEntity).getMetaTileEntity();
screen.addToMultiBlock(this);
int sx = screen.getX(), sy = screen.getY();
if (sx < 0 || sx >= width || sy < 0 || sy >= height) {
parts.clear();
clearScreans();
break;
}
screens[sx][sy] = screen;
}
}
}
/* restore the lightmap */
OpenGlHelper.setLightmapTextureCoords(OpenGlHelper.lightmapTexUnit, lastBrightnessX, lastBrightnessY);
net.minecraft.client.renderer.RenderHelper.enableStandardItemLighting();
GL11.glPopAttrib();
GlStateManager.popMatrix();
}
}, true);
}
@Override
public AxisAlignedBB getRenderBoundingBox() {
BlockPos sp = null;
BlockPos ep = null;
EnumFacing spin = BlockPatternChecker.getSpin(this);
if (frontFacing.getAxis() == EnumFacing.Axis.Y) {
sp = this.getPos().offset(spin, -2);
ep = sp.offset(spin, height + 1).offset(spin.rotateY(), (width + 2) * frontFacing.getYOffset());
} else {
if (spin == EnumFacing.NORTH) {
sp = this.getPos().offset(EnumFacing.DOWN, 2);
ep = sp.offset(EnumFacing.UP, height + 1).offset(this.frontFacing.rotateY(), - width - 2);
} else if (spin == EnumFacing.SOUTH) {
sp = this.getPos().offset(EnumFacing.UP, 2);
ep = sp.offset(EnumFacing.DOWN, height + 1).offset(this.frontFacing.rotateY(), width + 2);
} else if (spin == EnumFacing.WEST) {
sp = this.getPos().offset(frontFacing.rotateY(), -2);
ep = sp.offset(frontFacing.rotateY(), height + 1).offset(EnumFacing.UP, width + 2);
} else {
sp = this.getPos().offset(frontFacing.rotateY(), 2);
ep = sp.offset(frontFacing.rotateY(), -height - 1).offset(EnumFacing.DOWN, width + 2);
}
}
return new AxisAlignedBB(sp, ep);
}
@Override
protected ModularUI createUI(EntityPlayer entityPlayer) {
if (!isActive()) {
return super.createUI(entityPlayer);
} else {
WidgetScreenGrid[][] screenGrids = new WidgetScreenGrid[width][height];
WidgetGroup group = new WidgetGroup();
for (int i = 0; i < width; i++) {
for (int j = 0; j < height; j++) {
screenGrids[i][j] = new WidgetScreenGrid(4 * width, 4 * height, i, j);
group.addWidget(screenGrids[i][j]);
}
}
if (!this.getWorld().isRemote) {
this.getMultiblockParts().forEach(part->{
if (part instanceof MetaTileEntityMonitorScreen) {
int x = ((MetaTileEntityMonitorScreen) part).getX();
int y = ((MetaTileEntityMonitorScreen) part).getY();
screenGrids[x][y].setScreen((MetaTileEntityMonitorScreen) part);
}
});
} else {
parts.forEach(partPos->{
TileEntity tileEntity = this.getWorld().getTileEntity(partPos);
if (tileEntity instanceof MetaTileEntityHolder && ((MetaTileEntityHolder) tileEntity).getMetaTileEntity() instanceof MetaTileEntityMonitorScreen) {
MetaTileEntityMonitorScreen part = (MetaTileEntityMonitorScreen) ((MetaTileEntityHolder) tileEntity).getMetaTileEntity();
int x = part.getX();
int y = part.getY();
screenGrids[x][y].setScreen(part);
}
});
}
return ModularUI.builder(GuiTextures.BOXED_BACKGROUND, 28 * width, 28 * height)
.widget(group)
.build(this.getHolder(), entityPlayer);
}
}
@Override
public void addInformation(ItemStack stack, @Nullable World player, List<String> tooltip, boolean advanced) {
super.addInformation(stack, player, tooltip, advanced);
tooltip.add(I18n.format("gtadditions.multiblock.central_monitor.tooltip.1"));
tooltip.add(I18n.format("gtadditions.multiblock.central_monitor.tooltip.2", MAX_WIDTH, MAX_HEIGHT));
tooltip.add(I18n.format("gtadditions.multiblock.central_monitor.tooltip.3"));
tooltip.add(I18n.format("gtadditions.multiblock.central_monitor.tooltip.4", -ENERGY_COST));
}
}
| 24,367 | Java | .java | GregTechCEu/gregicality-legacy | 42 | 58 | 4 | 2020-05-18T17:28:22Z | 2022-05-28T13:38:31Z | 95f918a8812eeb49966ff923b912f64f668f14e823ac44e5bd4d5355878ce9b9 | [] | [
1337,
504,
1604,
314,
688,
7628,
51,
20894,
51,
6870,
51,
15802,
8243,
64,
222,
222,
485,
1361,
399,
21198,
51,
1379,
51,
3183,
51,
2218,
3135,
1095,
64,
222,
485,
1361,
399,
21198,
51,
1379,
51,
3183,
51,
9319,
51,
78,
5647,
3786,
64,
222,
485,
1361,
399,
21198,
51,
1379,
51,
3160,
51,
4181,
57,
64,
222,
485,
504,
1604,
314,
688,
7628,
51,
11488,
1081,
64,
222,
485,
504,
1604,
314,
688,
7628,
51,
1598,
51,
1503,
1985,
64,
222,
485,
504,
1604,
314,
688,
7628,
51,
1598,
51,
9405,
51,
3135,
2775,
64,
222,
485,
504,
1604,
314,
688,
7628,
51,
32792,
51,
11429,
23487,
3058,
64,
222,
485,
504,
1604,
314,
688,
7628,
51,
2324,
51,
2246,
5526,
14003,
64,
222,
485,
504,
1604,
314,
688,
7628,
51,
2324,
51,
8937,
64,
222,
485,
504,
1604,
314,
688,
7628,
51,
12081,
51,
8243,
51,
3778,
4627,
3567,
64,
222,
485,
504,
1604,
6646,
51,
1256,
51,
29053,
51,
76,
1604,
6646,
17645,
64,
222,
485,
504,
1604,
6646,
51,
1256,
51,
29053,
51,
3126,
51,
18016,
2894,
739,
64,
222,
485,
504,
1604,
6646,
51,
1256,
51,
4120,
51,
11429,
11122,
64,
222,
485,
504,
1604,
6646,
51,
1256,
51,
8472,
51,
7889,
24317,
64,
222,
485,
504,
1604,
6646,
51,
1256,
51,
8472,
51,
2590,
1919,
2299,
64,
222,
485,
504,
1604,
6646,
51,
1256,
51,
8472,
51,
3778,
64,
222,
485,
504,
1604,
6646,
51,
1256,
51,
8472,
51,
12081,
51,
17487,
1049,
3778,
64,
222,
485,
504,
1604,
6646,
51,
1256,
51,
8472,
51,
12081,
51,
3778,
1582,
64,
222,
485,
504,
1604,
6646,
51,
1256,
51,
2580,
6796,
2244,
51,
78,
3135,
4247,
41760,
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,
2580,
6796,
2244,
51,
7758,
947,
827,
51,
11253,
947,
827,
1569,
3948,
1778,
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,
9144,
32895,
51,
8344,
51,
11829,
638,
64,
222,
485,
504,
1604,
6646,
51,
1256,
51,
9144,
32895,
51,
8344,
51,
41760,
14954,
1778,
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,
24317,
64,
222,
485,
504,
1604,
6646,
51,
2297,
51,
8597,
51,
2246,
35145,
72,
9982,
64,
222,
485,
504,
1604,
6646,
51,
2297,
51,
8597,
51,
4247,
11381,
64,
222,
485,
504,
1604,
6646,
51,
2297,
51,
117,
3583,
29350,
51,
104,
463,
51,
1317,
51,
18016,
3598,
64,
222,
485,
504,
1604,
6646,
51,
2297,
51,
117,
3583,
29350,
51,
104,
463,
51,
1317,
51,
6719,
737,
383,
64,
222,
485,
504,
1604,
6646,
51,
2297,
51,
117,
3583,
29350,
51,
104,
463,
51,
8344,
51,
41760,
29212,
64,
222,
485,
3723,
51,
8654,
51,
1598,
51,
33186,
64,
222,
485,
3723,
51,
8654,
51,
1598,
51,
9405,
51,
11731,
37026,
64,
222,
485,
3723,
51,
8654,
51,
1598,
51,
9405,
51,
2981,
11731,
2775,
64,
222,
485,
3723,
51,
8654,
51,
1598,
51,
5390,
51,
78,
54,
61,
115,
64,
222,
485,
3723,
51,
8654,
51,
2244,
51,
3857,
51,
2234,
3516,
64,
222,
485,
3723,
51,
8654,
51,
1113,
51,
26022,
64,
222,
485,
3723,
51,
8654,
51,
39749,
51,
34770,
2649,
18133,
64,
222,
485,
3723,
51,
8654,
51,
4599,
51,
6839,
2030,
64,
222,
485,
3723,
51,
8654,
51,
8344,
2244,
51,
41760,
64,
222,
485,
3723,
51,
8654,
51,
1058,
51,
2773,
45207,
64,
222,
485,
3723,
51,
8654,
51,
1058,
51,
2305,
2941,
64,
222,
485,
3723,
51,
8654,
51,
1058,
51,
3851,
51,
6370,
28878,
5117,
64,
222,
485,
3723,
51,
8654,
51,
1058,
51,
3851,
51,
2246,
3010,
64,
222,
485,
3723,
51,
8654,
51,
1058,
51,
3851,
51,
13788,
4804,
1413,
64,
222,
485,
3723,
51,
8654,
51,
1058,
51,
897,
51,
799,
426,
1735,
64,
222,
485,
3723,
51,
8654,
51,
1058,
51,
897,
51,
1049,
1735,
671,
64,
222,
485,
3723,
51,
8654,
51,
1058,
51,
897,
51,
1049,
1735,
12687,
64,
222,
485,
3723,
51,
8654,
51,
5879,
51,
6719,
64,
222,
485,
3723,
51,
31599,
51,
2297,
51,
25214,
51,
19505,
64,
222,
485,
3723,
51,
31599,
51,
35663,
51,
2836,
102,
4260,
284,
51,
7433,
64,
222,
485,
3723,
51,
31599,
51,
35663,
51,
2836,
102,
4260,
284,
51,
7433,
4505,
64,
222,
485,
1105,
51,
9449,
51,
16006,
51,
2079,
54,
54,
64,
222,
222,
485,
3698,
51,
4341,
51,
6825,
64,
222,
485,
1401,
51,
1600,
51,
631,
51,
20967,
3580,
64,
222,
485,
1401,
51,
1058,
51,
7119,
64,
222,
485,
1401,
51,
1058,
51,
739,
64,
222,
222,
485,
924,
504,
1604,
6646,
51,
1256,
51,
7758,
947,
827,
51,
2246,
5526,
51,
11776,
5235,
7737,
222,
222,
942,
462,
11990,
41760,
25314,
8538,
2041,
18514,
947,
827,
1569,
3948,
1778,
4584,
457,
3135,
4247,
41760,
320,
303,
964,
1175,
924,
1964,
3650,
546,
15063,
100,
1213,
654,
299,
449,
11488,
1081,
51,
41017,
51,
15802,
8538,
51,
11094,
9381,
64,
303,
581,
1175,
924,
648,
7490,
100,
15000,
299,
244,
62,
64,
303,
581,
1175,
924,
648,
7490,
100,
10582,
299,
244,
54,
57,
64,
303,
453,
1441,
50,
1021,
727,
303,
581,
648,
1882,
64,
303,
964,
1964,
2419,
2346,
64,
303,
964,
31243,
3580,
65,
18016,
3598,
67,
1565,
18016,
3598,
64,
303,
964,
1701,
65,
2246,
3010,
67,
4537,
5919,
64,
303,
581,
1701,
65,
8937,
65,
2246,
3010,
49,
7827,
45207,
2023,
31233,
64,
303,
496,
7433,
4505,
45,
7433,
51,
10929,
46,
303,
581,
1701,
65,
2246,
3010,
67,
8740,
64,
303,
581,
11990,
41760,
8538,
4627,
11338,
37709,
64,
303,
964,
1922,
36470,
64,
303,
964,
29137,
2894,
739,
1533,
18016,
64,
303,
453,
21276,
727,
303,
581,
648,
2401,
299,
244,
56,
64,
465,
581,
11990,
41760,
25314,
8538,
45,
2305,
2941,
6096,
8079,
38646,
46,
320,
310,
2615,
45,
2874,
8079,
38646,
312,
310,
334,
8796,
8648,
5526,
492,
303,
339,
465,
964,
29137,
3598,
640,
18016,
3598,
365,
320,
310,
434,
1445,
597,
51,
390,
6719,
941,
316,
7318,
46,
320,
343,
18891,
2234,
2713,
299,
477,
51,
390,
6719,
941,
390,
41760,
45,
597,
51,
390,
3010,
941,
2897,
45,
5608,
45207,
51,
390,
27300,
7791,
5086,
343,
434,
327,
538,
5118,
18891,
2234,
14954,
1778,
46,
320,
419,
18891,
2234,
14954,
1778,
36628,
2860,
9615,
2234,
29212,
299,
327,
41760,
29212,
46,
2713,
64,
419,
29137,
3598,
1565,
18016,
3598,
299,
477,
51,
1719,
18016,
3598,
51,
390,
492,
419,
434,
327,
1719,
18016,
3598,
882,
762,
979,
1565,
18016,
3598,
51,
13431,
365,
979,
1565,
18016,
3598,
51,
4766,
1230,
45,
8344,
2234,
29212,
51,
390,
14954,
3010,
5183,
320,
547,
461,
1565,
18016,
3598,
64,
453,
620,
1565,
3723,
434,
580,
458,
4224,
2101,
419,
339,
419,
10914,
737,
383,
5810,
737,
383,
299,
327,
6719,
737,
383,
46,
9615,
2234,
29212,
51,
390,
14954,
2246,
941,
390,
6719,
14954,
3598,
45,
8344,
2234,
29212,
51,
390,
14954,
6719,
1052,
419,
1565,
18016,
3598,
299,
5810,
737,
383,
51,
390,
3598,
1811,
3010,
45,
8344,
2234,
29212,
51,
390,
14954,
3010,
1052,
419,
434,
327,
1719,
18016,
3598,
882,
762,
46,
320,
547,
477,
51,
1719,
18016,
3598,
299,
556,
31243,
3580,
11530,
1719,
18016,
3598,
312,
419,
339,
419,
461,
1565,
18016,
3598,
64,
343,
339,
310,
339,
310,
461,
762,
64,
303,
339,
465,
964,
782,
1991,
5919,
365,
320,
310,
29137,
3598,
13153,
3598,
299,
640,
18016,
3598,
492,
310,
434,
327,
8932,
3598,
630,
762,
46,
320,
343,
4537,
5919,
51,
3830,
492,
343,
461,
64,
310,
339,
310,
434,
327,
8932,
3598,
51,
20164,
2346,
365,
630,
2419,
2346,
46,
320,
343,
461,
64,
310,
339,
310,
2419,
2346,
299,
13153,
3598,
51,
20164,
2346,
492,
310,
4537,
5919,
51,
3830,
492,
310,
13153,
3598,
51,
13912,
5919,
941,
5388,
1181,
985,
49,
1560,
46,
984,
320,
343,
434,
327,
1271,
51,
22630,
46,
320,
419,
4537,
5919,
51,
688,
45,
985,
312,
343,
339,
310,
1141,
303,
339,
465,
964,
1922,
1524,
11429,
120,
365,
320,
310,
1991,
5919,
492,
310,
1701,
65,
8937,
65,
2246,
3010,
49,
7827,
45207,
2023,
1524,
11429,
120,
299,
556,
5068,
6984,
310,
10914,
5810,
299,
477,
51,
390,
6719,
492,
310,
456,
327,
2246,
3010,
3423,
518,
4537,
5919,
46,
320,
343,
18891,
2234,
9615,
2234,
29212,
299,
5810,
51,
390,
41760,
45,
985,
312,
343,
434,
11014,
8344,
2234,
29212,
5118,
18891,
2234,
14954,
1778,
509,
320,
419,
4056,
64,
343,
339,
343,
456,
327,
2773,
45207,
27160,
518,
7827,
45207,
51,
20844,
46,
320,
419,
18891,
2234,
9615,
2234,
299,
5810,
51,
390,
41760,
45,
985,
51,
2897,
45,
30500,
894,
419,
434,
327,
8344,
2234,
5118,
11990,
41760,
6773,
979,
673,
1181,
41760,
14954,
1778,
36628,
4299,
46,
9615,
2234,
29212,
566,
316,
2815,
33111,
45,
11829,
638,
51,
18192,
49,
27160,
509,
320,
547,
11990,
41760,
6096,
41760,
299,
1849,
4247,
41760,
6773,
46,
9615,
2234,
566,
390,
4247,
41760,
492,
547,
434,
327,
2874,
41760,
882,
762,
46,
320,
733,
23790,
11122,
6399,
299,
6096,
41760,
51,
390,
11429,
1094,
7433,
45,
30500,
51,
390,
27300,
7791,
1052,
733,
434,
327,
4120,
5118,
23790,
23487,
3058,
979,
1849,
11429,
23487,
3058,
46,
6399,
566,
316,
5401,
1177,
320,
1031,
1524,
11429,
120,
51,
688,
45,
909,
11724,
11530,
2874,
41760,
51,
390,
3010,
1046,
6399,
51,
32911,
7433,
894,
733,
339,
547,
339,
419,
339,
832,
320,
547,
23790,
11122,
6399,
299,
1849,
41760,
14954,
1778,
36628,
4299,
46,
9615,
2234,
29212,
566,
390,
11429,
463,
14631,
941,
390,
11429,
1094,
7433,
45,
30500,
312,
547,
434,
327,
4120,
5118,
23790,
23487,
3058,
979,
1849,
11429,
23487,
3058,
46,
6399,
566,
316,
5401,
1177,
320,
733,
434,
7738,
11429,
23487,
3058,
46,
6399,
566,
390,
11429,
337,
1731,
365,
882,
762,
46,
320,
1031,
1524,
11429,
120,
51,
688,
45,
909,
11724,
11530,
8344,
2234,
29212,
51,
390,
3010,
1046,
6399,
51,
32911,
7433,
894,
733,
339,
547,
339,
419,
339,
343,
339,
310,
339,
310,
434,
327,
1571,
11429,
120,
51,
911,
365,
882,
31233,
51,
911,
365,
1293,
673,
32792,
51,
4766,
1947,
45,
1571,
11429,
120,
509,
320,
343,
31233,
299,
1524,
11429,
120,
64,
343,
461,
878,
64,
310,
339,
310,
461,
920,
64,
303,
339,
465,
964,
782,
2886,
11429,
120,
45,
6839,
2030,
4856,
46,
320,
310,
434,
45,
32792,
630,
762,
46,
320,
343,
4856,
51,
31173,
45,
53,
312,
343,
461,
64,
310,
339,
310,
4856,
51,
31173,
45,
32792,
51,
911,
1052,
310,
456,
327,
8937,
65,
2246,
3010,
49,
7827,
45207,
67,
6399,
518,
31233,
1528,
343,
4856,
51,
1838,
2246,
3010,
45,
4120,
51,
11728,
1052,
343,
4856,
51,
1838,
3945,
45,
4120,
51,
6693,
941,
27799,
1052,
310,
339,
303,
339,
465,
964,
782,
1511,
11429,
120,
45,
6839,
2030,
4856,
46,
320,
310,
31233,
299,
556,
5068,
6984,
310,
648,
1354,
299,
4856,
51,
33798,
492,
310,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
1354,
64,
613,
2002,
320,
343,
31233,
51,
688,
45,
909,
11724,
11530,
1972,
51,
870,
2246,
3010,
1046,
7827,
45207,
51,
1186,
1301,
45,
1972,
51,
870,
3945,
25545,
310,
339,
303,
339,
465,
964,
782,
2886,
12329,
45,
6839,
2030,
4856,
46,
320,
310,
4856,
51,
31173,
45,
597,
51,
390,
11253,
947,
827,
12329,
941,
911,
365,
449,
244,
54,
312,
310,
477,
51,
390,
11253,
947,
827,
12329,
941,
5388,
45,
2068,
8974,
343,
434,
327,
2068,
5118,
11990,
41760,
8538,
4627,
46,
320,
419,
4856,
51,
1838,
2246,
3010,
7738,
4247,
41760,
8538,
4627,
46,
1760,
566,
390,
3010,
1052,
343,
339,
310,
1141,
303,
339,
465,
964,
782,
1511,
12329,
45,
6839,
2030,
4856,
46,
320,
310,
8740,
299,
556,
5068,
6984,
310,
4250,
44056,
711,
492,
310,
648,
1354,
299,
4856,
51,
33798,
492,
310,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
1354,
64,
613,
2002,
320,
343,
8740,
51,
688,
45,
1972,
51,
870,
2246,
3010,
1052,
310,
339,
303,
339,
465,
581,
782,
758,
3041,
45,
429,
2401,
46,
320,
310,
434,
45,
597,
51,
2296,
630,
2401,
1293,
2401,
350,
244,
55,
1293,
2401,
868,
7490,
100,
15000,
46,
461,
64,
310,
477,
51,
2296,
299,
2401,
64,
310,
334,
8796,
8648,
5526,
492,
310,
1524,
8648,
5526,
492,
310,
2886,
3414,
768,
45,
56,
49,
4856,
8974,
343,
4856,
51,
31173,
45,
2296,
312,
310,
1141,
303,
339,
465,
964,
782,
758,
4091,
45,
4412,
36470,
46,
320,
310,
434,
45,
22630,
630,
477,
51,
22630,
46,
461,
64,
310,
477,
51,
22630,
299,
36470,
64,
310,
2886,
3414,
768,
45,
57,
49,
4856,
984,
4856,
51,
1838,
4718,
45,
597,
51,
22630,
894,
303,
339,
465,
581,
1922,
36470,
365,
320,
310,
461,
458,
8648,
1580,
1987,
365,
979,
36470,
64,
303,
339,
465,
964,
782,
4250,
44056,
711,
365,
320,
310,
434,
327,
36194,
882,
762,
46,
320,
343,
456,
327,
4247,
41760,
8538,
4627,
1197,
4820,
518,
37709,
46,
320,
419,
456,
327,
4247,
41760,
8538,
4627,
328,
518,
4820,
46,
320,
547,
434,
45,
120,
882,
762,
46,
328,
51,
2564,
1811,
6230,
2246,
45,
597,
312,
419,
339,
343,
339,
310,
339,
310,
37709,
299,
556,
11990,
41760,
8538,
4627,
96,
1660,
1697,
2296,
988,
303,
339,
465,
496,
1806,
303,
581,
782,
2922,
4247,
41760,
45,
2218,
3135,
1095,
2922,
1095,
49,
9351,
57,
13194,
49,
457,
5647,
3786,
1197,
8613,
46,
320,
310,
2615,
51,
3183,
4247,
41760,
45,
3183,
1095,
49,
13194,
49,
8613,
312,
310,
3336,
3029,
51,
19900,
51,
3183,
7433,
105,
45,
390,
10108,
45207,
1046,
2922,
1095,
49,
13194,
49,
8613,
312,
310,
5680,
1985,
51,
21456,
100,
11691,
100,
26640,
51,
3183,
7433,
105,
45,
390,
10108,
45207,
941,
390,
27300,
7791,
1046,
2922,
1095,
49,
13194,
49,
8613,
312,
303,
339,
465,
496,
1806,
303,
2532,
782,
1035,
3948,
1049,
45,
739,
65,
799,
426,
1735,
67,
1367,
739,
46,
320,
310,
2615,
51,
688,
3948,
1049,
45,
897,
739,
312,
310,
1367,
739,
51,
688,
45,
909,
3336,
1735,
12687,
459,
1855,
688,
7628,
51,
7758,
947,
827,
51,
15802,
100,
8243,
51,
2296,
411,
477,
51,
2296,
894,
310,
434,
1445,
316,
8648,
1580,
1987,
1177,
320,
343,
457,
1049,
1735,
3467,
1049,
299,
556,
3336,
1735,
12687,
459,
1855,
688,
7628,
51,
7758,
947,
827,
51,
15802,
100,
8243,
51,
2296,
100,
15191,
742,
343,
3467,
1049,
51,
1713,
1049,
459,
7173,
343,
3467,
1049,
51,
1713,
20842,
45,
17487,
1049,
3778,
51,
1814,
1732,
45,
909,
3336,
1735,
671,
459,
6510,
98,
2132,
332,
1133,
2992,
343,
3467,
1049,
51,
1713,
1049,
459,
7173,
343,
3467,
1049,
51,
1713,
20842,
45,
17487,
1049,
3778,
51,
1814,
1732,
45,
909,
3336,
1735,
671,
9669,
48,
98,
2132,
332,
688,
2992,
343,
1367,
739,
51,
688,
45,
1654,
1049,
312,
310,
339,
832,
320,
343,
1367,
739,
51,
688,
45,
909,
3336,
1735,
12687,
459,
1855,
688,
7628,
51,
7758,
947,
827,
51,
15802,
100,
8243,
51,
1660,
411,
477,
51,
1660,
894,
343,
1367,
739,
51,
688,
45,
909,
3336,
1735,
12687,
459,
2874,
1113,
51,
3749,
51,
529,
14590,
51,
760,
100,
7404,
2992,
310,
339,
303,
339,
465,
496,
1806,
303,
2532,
782,
2902,
3948,
2668,
45,
671,
2595,
768,
49,
11852,
51,
2668,
768,
5035,
768,
46,
320,
310,
2615,
51,
2972,
3948,
2668,
45,
2307,
768,
49,
5035,
768,
312,
310,
648,
15348,
299,
2595,
768,
51,
3591,
459,
688,
678,
1037,
244,
54,
518,
449,
54,
64,
310,
758,
3041,
45,
597,
51,
2296,
494,
15348,
312,
303,
339,
465,
496,
1806,
303,
581,
782,
2886,
4694,
4774,
768,
45,
6839,
2030,
4856,
46,
320,
310,
2615,
51,
1838,
4694,
4774,
768,
45,
1972,
312,
310,
4856,
51,
31173,
45,
1660,
312,
310,
4856,
51,
31173,
45,
2296,
312,
310,
4856,
51,
1838,
4718,
45,
22630,
312,
310,
2886,
11429,
120,
45,
1972,
312,
310,
2886,
12329,
45,
1972,
312,
303,
339,
465,
496,
1806,
303,
581,
782,
7776,
4694,
4774,
768,
45,
6839,
2030,
4856,
46,
320,
310,
2615,
51,
13156,
4694,
4774,
768,
45,
1972,
312,
310,
477,
51,
1660,
299,
4856,
51,
33798,
492,
310,
477,
51,
2296,
299,
4856,
51,
33798,
492,
310,
477,
51,
22630,
299,
4856,
51,
870,
4718,
492,
310,
1511,
11429,
120,
45,
1972,
312,
310,
1511,
12329,
45,
1972,
312,
303,
339,
465,
496,
1806,
303,
581,
782,
7776,
3414,
768,
45,
429,
828,
49,
18706,
2030,
4856,
46,
320,
310,
2615,
51,
13156,
3414,
768,
45,
333,
49,
4856,
312,
310,
434,
327,
333,
630,
244,
54,
46,
320,
343,
477,
51,
1660,
299,
4856,
51,
33798,
492,
343,
477,
51,
2296,
299,
4856,
51,
33798,
492,
343,
1511,
11429,
120,
45,
1972,
312,
343,
1511,
12329,
45,
1972,
312,
310,
339,
832,
434,
327,
333,
630,
244,
55,
46,
320,
343,
1511,
11429,
120,
45,
1972,
312,
310,
339,
832,
434,
327,
333,
630,
244,
56,
46,
320,
343,
477,
51,
2296,
299,
4856,
51,
33798,
492,
343,
477,
51,
287,
8796,
8648,
5526,
492,
310,
339,
832,
434,
327,
333,
630,
244,
57,
46,
320,
343,
477,
51,
22630,
299,
4856,
51,
870,
4718,
492,
310,
339,
832,
434,
327,
333,
630,
244,
57,
53,
53,
46,
320,
343,
434,
1445,
597,
51,
316,
8648,
1580,
1987,
1177,
320,
419,
4250,
44056,
711,
492,
343,
339,
310,
339,
303,
339,
465,
496,
1806,
303,
581,
508,
9195,
2649,
18133,
48562,
34770,
45,
34770,
2649,
18133,
727,
46,
320,
310,
727,
51,
489,
3078,
459,
4475,
77,
411,
477,
51,
2296,
312,
310,
461,
2615,
51,
43319,
34770,
45,
624,
312,
303,
339,
465,
496,
1806,
303,
581,
782,
1511,
1811,
34770,
45,
34770,
2649,
18133,
727,
46,
320,
310,
2615,
51,
870,
1811,
34770,
45,
624,
312,
310,
477,
51,
2296,
299,
727,
51,
2057,
971,
459,
4475,
77,
678,
1037,
727,
51,
48837,
459,
4475,
77,
678,
518,
477,
51,
2296,
64,
310,
334,
8796,
8648,
5526,
492,
303,
339,
465,
496,
1806,
303,
581,
11990,
41760,
1506,
4247,
41760,
45,
4247,
41760,
6773,
6096,
41760,
6773,
46,
320,
310,
461,
556,
11990,
41760,
25314,
8538,
45,
2874,
8079,
38646,
312,
303,
339,
465,
496,
1806,
303,
581,
782,
1991,
365,
320,
310,
2615,
51,
1896,
492,
303,
339,
465,
496,
1806,
303,
2532,
782,
1991,
1580,
1987,
2320,
365,
320,
310,
434,
327,
597,
51,
390,
3468,
6423,
365,
925,
244,
55,
53,
630,
53,
46,
320,
343,
758,
4091,
45,
1151,
18016,
51,
2357,
18016,
45,
16016,
15063,
100,
1213,
654,
338,
477,
51,
390,
11253,
947,
827,
12329,
941,
911,
1177,
630,
3650,
546,
15063,
100,
1213,
654,
338,
477,
51,
390,
11253,
947,
827,
12329,
941,
911,
1052,
343,
434,
327,
1571,
11429,
120,
1177,
320,
419,
477,
51,
390,
11253,
947,
827,
12329,
941,
5388,
45,
2068,
984,
320,
547,
434,
327,
2068,
5118,
11990,
41760,
8538,
4627,
46,
320,
733,
1849,
4247,
41760,
8538,
4627,
46,
1760,
566,
1896,
11429,
2320,
45,
32792,
312,
547,
339,
419,
1141,
419,
2886,
3414,
768,
45,
55,
49,
477,
422,
1838,
11429,
120,
312,
343,
339,
310,
339,
303,
339,
465,
496,
1806,
303,
2532,
6579,
5526,
1506,
8648,
5526,
365,
320,
310,
9705,
1496,
299,
556,
9705,
459,
1117,
742,
310,
9705,
11514,
299,
556,
9705,
459,
5117,
742,
310,
9705,
962,
299,
556,
9705,
459,
2162,
742,
310,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
2401,
449,
244,
55,
64,
613,
2002,
320,
343,
1496,
51,
1713,
482,
70,
912,
343,
11514,
51,
1713,
482,
71,
912,
343,
962,
51,
1713,
482,
70,
912,
310,
339,
310,
461,
15590,
2246,
5526,
51,
1384,
45,
2430,
49,
34475,
49,
20167,
46,
419,
657,
8161,
293,
45,
1384,
51,
3127,
1177,
419,
657,
8161,
293,
45,
6109,
51,
3127,
4269,
489,
18282,
463,
45,
56,
49,
7490,
100,
10582,
46,
419,
657,
8161,
293,
45,
435,
51,
3127,
1177,
419,
657,
2786,
482,
88,
389,
649,
12690,
1177,
419,
657,
2786,
482,
70,
389,
1621,
12690,
45,
4247,
11381,
51,
18315,
744,
100,
37221,
1410,
51,
19701,
45,
2246,
35145,
72,
9982,
51,
35145,
72,
9982,
638,
51,
24047,
2165,
100,
37239,
3445,
290,
45,
3478,
2655,
12690,
45,
11253,
947,
827,
22130,
51,
10834,
100,
16016,
15063,
2636,
419,
657,
2786,
482,
71,
389,
9615,
12690,
1181,
1311,
49,
9615,
46,
984,
9615,
5118,
11990,
41760,
8538,
4627,
509,
419,
657,
1848,
492,
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,
2419,
2346,
299,
244,
53,
64,
310,
1565,
18016,
3598,
299,
556,
31243,
3580,
11530,
1710,
312,
310,
4537,
5919,
299,
556,
5068,
6984,
310,
31233,
299,
556,
5068,
6984,
310,
1533,
18016,
299,
556,
29137,
2894,
739,
45,
597,
51,
390,
44594,
45,
11253,
947,
827,
22130,
51,
10834,
100,
16016,
15063,
894,
310,
1882,
299,
244,
53,
64,
310,
1524,
11429,
120,
492,
310,
456,
327,
2348,
474,
947,
827,
2655,
1760,
518,
477,
51,
390,
11253,
947,
827,
12329,
1177,
320,
343,
434,
327,
2068,
5118,
11990,
41760,
8538,
4627,
46,
320,
419,
1882,
3348,
343,
339,
310,
339,
310,
1882,
299,
1882,
536,
2401,
64,
310,
37709,
299,
556,
11990,
41760,
8538,
4627,
96,
1660,
1697,
2296,
988,
310,
456,
327,
2348,
474,
947,
827,
2655,
1760,
518,
477,
51,
390,
11253,
947,
827,
12329,
1177,
320,
343,
434,
327,
2068,
5118,
11990,
41760,
8538,
4627,
46,
320,
419,
11990,
41760,
8538,
4627,
4820,
299,
327,
4247,
41760,
8538,
4627,
46,
1760,
64,
419,
37709,
96,
4475,
51,
18807,
365,
1697,
4475,
51,
20421,
7688,
299,
4820,
64,
343,
339,
310,
339,
310,
2886,
3414,
768,
45,
54,
49,
6892,
2030,
984,
320,
343,
6892,
2030,
51,
31173,
45,
1660,
312,
343,
6892,
2030,
51,
31173,
45,
2296,
312,
343,
2886,
11429,
120,
45,
8776,
2030,
312,
343,
2886,
12329,
45,
8776,
2030,
312,
310,
1141,
303,
339,
465,
496,
1806,
303,
581,
350,
89,
67,
413,
640,
19505,
45,
19505,
65,
89,
67,
26511,
49,
7827,
45207,
5226,
46,
320,
310,
434,
45,
2691,
630,
477,
51,
5608,
45207,
51,
390,
27300,
7791,
365,
979,
26511,
630,
590,
1604,
6646,
17645,
51,
11894,
4943,
100,
16016,
15063,
100,
26935,
46,
320,
343,
461,
590,
1604,
6646,
17645,
51,
11894,
4943,
100,
16016,
15063,
100,
26935,
51,
2420,
45,
11429,
23487,
3058,
51,
5881,
19505,
312,
310,
339,
310,
461,
762,
64,
303,
339,
465,
496,
1806,
303,
581,
16398,
3514,
6470,
640,
1778,
4900,
45,
2348,
474,
947,
827,
2655,
613,
11253,
947,
827,
2655,
46,
320,
310,
461,
3336,
3029,
51,
37239,
100,
24047,
2165,
100,
37221,
1410,
64,
303,
339,
465,
496,
1806,
303,
581,
1922,
1414,
3135,
402,
6136,
45,
429,
3119,
46,
320,
310,
434,
327,
597,
51,
316,
8648,
1580,
1987,
1177,
320,
343,
461,
3119,
630,
244,
53,
64,
310,
339,
310,
461,
920,
64,
303,
339,
465,
496,
1806,
303,
496,
7433,
4505,
45,
7433,
51,
10929,
46,
303,
581,
1922,
458,
4470,
6470,
365,
320,
310,
461,
878,
64,
303,
339,
465,
496,
1806,
303,
496,
7433,
4505,
45,
7433,
51,
10929,
46,
303,
581,
782,
2922,
4247,
41760,
7193,
45,
2640,
837,
49,
2082,
553,
49,
2082,
1308,
49,
1916,
7382,
18717,
46,
320,
310,
434,
1445,
597,
51,
316,
8648,
1580,
1987,
1177,
461,
64,
310,
7827,
45207,
19763,
299,
6579,
5526,
14003,
51,
390,
20821,
45,
597,
312,
310,
9430,
2775,
51,
558,
20128,
45,
2482,
128,
343,
27020,
37026,
51,
2036,
4181,
492,
343,
9430,
2775,
51,
23061,
7856,
45,
125,
49,
553,
49,
1308,
49,
477,
51,
5608,
45207,
312,
343,
9430,
2775,
51,
13072,
724,
7856,
45,
597,
51,
5608,
45207,
49,
19763,
312,
343,
9430,
2775,
51,
3183,
4377,
45,
53,
51,
58,
107,
49,
449,
53,
51,
58,
107,
449,
327,
2296,
449,
244,
55,
490,
1882,
49,
2401,
49,
244,
53,
51,
53,
53,
54,
107,
49,
244,
53,
4776,
53,
53,
53,
53,
53,
53,
312,
343,
27020,
37026,
51,
3254,
4181,
492,
310,
820,
1423,
8974,
343,
434,
327,
22630,
46,
320,
419,
27020,
37026,
51,
2036,
4181,
492,
419,
1276,
16433,
341,
6314,
1130,
588,
419,
3210,
54,
54,
51,
1861,
8101,
16437,
45,
2079,
54,
54,
51,
2079,
100,
18849,
1410,
100,
5676,
312,
419,
3723,
51,
8654,
51,
1598,
51,
9405,
51,
3135,
2775,
51,
5826,
8109,
1114,
39065,
492,
419,
1916,
2419,
35165,
93,
299,
3944,
11731,
2775,
51,
2153,
35165,
93,
64,
419,
1916,
2419,
35165,
94,
299,
3944,
11731,
2775,
51,
2153,
35165,
94,
64,
419,
3944,
11731,
2775,
51,
489,
6118,
1130,
4900,
17473,
45,
2981,
11731,
2775,
51,
2447,
1130,
9930,
3024,
49,
244,
55,
57,
53,
51,
53,
75,
49,
244,
55,
57,
53,
51,
53,
75,
312,
419,
7276,
3516,
4376,
299,
35022,
51,
25413,
19469,
941,
3857,
64,
419,
23459,
4804,
1413,
16066,
4804,
1413,
299,
4376,
630,
762,
1037,
762,
518,
4376,
51,
11543,
4804,
45,
33186,
51,
25413,
19469,
941,
3857,
1934,
51,
25641,
33450,
8470,
1046,
7382,
18717,
312,
419,
648,
1354,
299,
244,
53,
64,
419,
456,
327,
429,
360,
299,
244,
53,
64,
360,
350,
1882,
64,
360,
2002,
320,
547,
456,
327,
429,
439,
299,
244,
53,
64,
439,
350,
2401,
64,
439,
2002,
320,
733,
11990,
41760,
8538,
4627,
4820,
299,
37709,
96,
124,
1697,
109,
988,
733,
434,
327,
4475,
882,
762,
46,
320,
1031,
1354,
3348,
1031,
434,
327,
4475,
51,
22630,
1177,
320,
1396,
41721,
3423,
299,
4820,
51,
390,
3010,
492,
1396,
41721,
3423,
55,
299,
477,
51,
390,
3010,
492,
1396,
27020,
37026,
51,
2036,
4181,
492,
1396,
9430,
2775,
51,
23061,
7856,
45,
125,
494,
3423,
51,
18807,
365,
449,
3423,
55,
51,
18807,
1046,
553,
494,
3423,
51,
20421,
365,
449,
3423,
55,
51,
20421,
1046,
1308,
494,
3423,
51,
40500,
365,
449,
3423,
55,
51,
40500,
1046,
477,
51,
5608,
45207,
312,
1396,
9430,
2775,
51,
13072,
724,
7856,
45,
597,
51,
5608,
45207,
49,
19763,
312,
1396,
4820,
51,
3183,
4627,
45,
9985,
18717,
49,
16066,
4804,
1413,
312,
1396,
27020,
37026,
51,
3254,
4181,
492,
1031,
339,
733,
339,
547,
339,
419,
339,
2125,
434,
327,
911,
882,
8740,
51,
911,
1177,
320,
547,
4250,
44056,
711,
492,
547,
456,
327,
2246,
3010,
3423,
518,
8740,
46,
320,
733,
18891,
2234,
9615,
2234,
299,
640,
6719,
941,
390,
41760,
45,
985,
312,
733,
434,
45,
8344,
2234,
5118,
11990,
41760,
6773,
979,
1849,
4247,
41760,
6773,
46,
9615,
2234,
566,
390,
4247,
41760,
365,
5118,
11990,
41760,
8538,
4627,
46,
320,
1031,
11990,
41760,
8538,
4627,
4820,
299,
327,
4247,
41760,
8538,
4627,
46,
1849,
4247,
41760,
6773,
46,
9615,
2234,
566,
390,
4247,
41760,
492,
1031,
4820,
51,
23390,
6230,
2246,
45,
597,
312,
1031,
648,
23516,
299,
4820,
51,
18807,
1046,
11425,
299,
4820,
51,
20421,
492,
1031,
434,
327,
21062,
350,
244,
53,
1293,
23516,
2394,
1882,
1293,
11425,
350,
244,
53,
1293,
11425,
2394,
2401,
46,
320,
1396,
8740,
51,
3830,
492,
1396,
4250,
44056,
711,
492,
1396,
1644,
64,
1031,
339,
1031,
37709,
96,
21062,
1697,
5824,
98,
299,
4820,
64,
733,
339,
547,
339,
419,
339,
2125,
1276,
11314,
341,
6314,
1130,
244,
588,
419,
3944,
11731,
2775,
51,
489,
6118,
1130,
4900,
17473,
45,
2981,
11731,
2775,
51,
2447,
1130,
9930,
3024,
49,
2419,
35165,
93,
49,
2419,
35165,
94,
312,
419,
3723,
51,
8654,
51,
1598,
51,
9405,
51,
3135,
2775,
51,
4909,
8109,
1114,
39065,
492,
419,
3210,
54,
54,
51,
1861,
5138,
16437,
492,
419,
27020,
37026,
51,
3254,
4181,
492,
343,
339,
310,
820,
878,
312,
303,
339,
465,
496,
1806,
303,
581,
27365,
28878,
5117,
640,
3135,
26561,
365,
320,
310,
41721,
1887,
299,
762,
64,
310,
41721,
11265,
299,
762,
64,
310,
7827,
45207,
19763,
299,
6579,
5526,
14003,
51,
390,
20821,
45,
597,
312,
310,
434,
327,
5608,
45207,
51,
390,
6370,
365,
630,
7827,
45207,
51,
6370,
51,
94,
46,
320,
343,
1887,
299,
477,
51,
390,
3010,
941,
2897,
45,
12917,
49,
449,
55,
312,
343,
11265,
299,
1887,
51,
2897,
45,
12917,
49,
2401,
494,
244,
54,
566,
2897,
45,
12917,
51,
13072,
94,
1046,
327,
1660,
494,
244,
55,
46,
338,
8442,
45207,
51,
20421,
3468,
1052,
310,
339,
832,
320,
343,
434,
327,
12917,
630,
7827,
45207,
51,
43168,
46,
320,
419,
1887,
299,
477,
51,
390,
3010,
941,
2897,
45,
2773,
45207,
51,
10453,
49,
244,
55,
312,
419,
11265,
299,
1887,
51,
2897,
45,
2773,
45207,
51,
2430,
49,
2401,
494,
244,
54,
566,
2897,
45,
597,
51,
5608,
45207,
51,
13072,
94,
1046,
244,
449,
1882,
449,
244,
55,
312,
343,
339,
832,
434,
327,
12917,
630,
7827,
45207,
51,
3644,
5938,
46,
320,
419,
1887,
299,
477,
51,
390,
3010,
941,
2897,
45,
2773,
45207,
51,
2430,
49,
244,
55,
312,
419,
11265,
299,
1887,
51,
2897,
45,
2773,
45207,
51,
10453,
49,
2401,
494,
244,
54,
566,
2897,
45,
597,
51,
5608,
45207,
51,
13072,
94,
1046,
1882,
494,
244,
55,
312,
343,
339,
832,
434,
327,
12917,
630,
7827,
45207,
51,
37859,
46,
320,
419,
1887,
299,
477,
51,
390,
3010,
941,
2897,
45,
5608,
45207,
51,
13072,
94,
1046,
449,
55,
312,
419,
11265,
299,
1887,
51,
2897,
45,
5608,
45207,
51,
13072,
94,
1046,
2401,
494,
244,
54,
566,
2897,
45,
2773,
45207,
51,
2430,
49,
1882,
494,
244,
55,
312,
343,
339,
832,
320,
419,
1887,
299,
477,
51,
390,
3010,
941,
2897,
45,
5608,
45207,
51,
13072,
94,
1046,
244,
55,
312,
419,
11265,
299,
1887,
51,
2897,
45,
5608,
45207,
51,
13072,
94,
1046,
449,
2296,
449,
244,
54,
566,
2897,
45,
2773,
45207,
51,
10453,
49,
1882,
494,
244,
55,
312,
343,
339,
310,
339,
310,
461,
556,
27365,
28878,
5117,
45,
438,
49,
11265,
312,
303,
339,
465,
496,
1806,
303,
2532,
5516,
1919,
2299,
1506,
2299,
45,
2234,
3516,
4436,
3516,
46,
320,
310,
434,
1445,
22630,
1177,
320,
343,
461,
2615,
51,
1315,
2299,
45,
2244,
3516,
312,
310,
339,
832,
320,
343,
11852,
4627,
3567,
11338,
4820,
3567,
120,
299,
556,
11852,
4627,
3567,
96,
1660,
1697,
2296,
988,
343,
11852,
1582,
2370,
299,
556,
11852,
1582,
492,
343,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
1882,
64,
613,
2002,
320,
419,
456,
327,
429,
614,
299,
244,
53,
64,
614,
350,
2401,
64,
614,
2002,
320,
547,
4820,
3567,
120,
96,
110,
1697,
111,
98,
299,
556,
11852,
4627,
3567,
45,
57,
338,
1882,
49,
244,
57,
338,
2401,
49,
613,
49,
614,
312,
547,
2370,
51,
21845,
45,
4475,
3567,
120,
96,
110,
1697,
111,
2004,
419,
339,
343,
339,
343,
434,
1445,
597,
51,
390,
6719,
941,
316,
7318,
46,
320,
419,
477,
51,
390,
11253,
947,
827,
12329,
941,
5388,
45,
2068,
8974,
547,
434,
327,
2068,
5118,
11990,
41760,
8538,
4627,
46,
320,
733,
648,
837,
299,
1849,
4247,
41760,
8538,
4627,
46,
1760,
566,
18807,
492,
733,
648,
553,
299,
1849,
4247,
41760,
8538,
4627,
46,
1760,
566,
20421,
492,
733,
4820,
3567,
120,
96,
125,
1697,
126,
1015,
489,
4627,
1181,
4247,
41760,
8538,
4627,
46,
1760,
312,
547,
339,
419,
1141,
343,
339,
832,
320,
419,
8740,
51,
5388,
45,
2068,
3010,
8974,
547,
18891,
2234,
9615,
2234,
299,
477,
51,
390,
6719,
941,
390,
41760,
45,
2068,
3010,
312,
547,
434,
327,
8344,
2234,
5118,
11990,
41760,
6773,
979,
1849,
4247,
41760,
6773,
46,
9615,
2234,
566,
390,
4247,
41760,
365,
5118,
11990,
41760,
8538,
4627,
46,
320,
733,
11990,
41760,
8538,
4627,
1760,
299,
327,
4247,
41760,
8538,
4627,
46,
1849,
4247,
41760,
6773,
46,
9615,
2234,
566,
390,
4247,
41760,
492,
733,
648,
837,
299,
1760,
51,
18807,
492,
733,
648,
553,
299,
1760,
51,
20421,
492,
733,
4820,
3567,
120,
96,
125,
1697,
126,
1015,
489,
4627,
45,
2068,
312,
547,
339,
419,
1141,
343,
339,
343,
461,
5516,
1919,
2299,
51,
4179,
45,
7889,
24317,
51,
13940,
1363,
100,
40536,
49,
244,
55,
61,
338,
1882,
49,
244,
55,
61,
338,
2401,
46,
547,
657,
3872,
45,
1382,
46,
547,
657,
1848,
45,
597,
51,
390,
6773,
1046,
4436,
3516,
312,
310,
339,
303,
339,
465,
496,
1806,
303,
581,
782,
1035,
6609,
45,
26022,
4154,
49,
496,
6825,
10914,
4376,
49,
1701,
65,
671,
67,
14700,
49,
1922,
20205,
46,
320,
310,
2615,
51,
688,
6609,
45,
3056,
49,
4376,
49,
14700,
49,
20205,
312,
310,
14700,
51,
688,
45,
78,
54,
61,
115,
51,
1664,
459,
1855,
688,
7628,
51,
7758,
947,
827,
51,
15802,
100,
8243,
51,
8549,
51,
54,
2992,
310,
14700,
51,
688,
45,
78,
54,
61,
115,
51,
1664,
459,
1855,
688,
7628,
51,
7758,
947,
827,
51,
15802,
100,
8243,
51,
8549,
51,
55,
411,
7490,
100,
10582,
49,
7490,
100,
15000,
894,
310,
14700,
51,
688,
45,
78,
54,
61,
115,
51,
1664,
459,
1855,
688,
7628,
51,
7758,
947,
827,
51,
15802,
100,
8243,
51,
8549,
51,
56,
2992,
310,
14700,
51,
688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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
]
] | 5,713 | true | 60.865104 | true | true |
WorldFilterJson_Biome.java | /FileExtraction/Java_unseen/toolbox4minecraft_amidst/src/main/java/amidst/mojangapi/file/json/filter/WorldFilterJson_Biome.java | package amidst.mojangapi.file.json.filter;
import java.util.Collections;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import amidst.documentation.GsonConstructor;
import amidst.documentation.Immutable;
import amidst.logging.AmidstLogger;
import amidst.logging.AmidstMessageBox;
import amidst.mojangapi.world.biome.BiomeList;
import amidst.mojangapi.world.biome.UnknownBiomeNameException;
import amidst.mojangapi.world.filter.WorldFilter_Biome;
@Immutable
public class WorldFilterJson_Biome {
private volatile long distance;
private volatile List<String> biomes = Collections.emptyList();
private final BiomeList biomeList;
@GsonConstructor
public WorldFilterJson_Biome(BiomeList biomeList) {
this.biomeList = biomeList;
}
public void validate(List<String> notifications) {
if (biomes.isEmpty()) {
notifications.add("No biomes for filter");
} else {
for (String name : biomes) {
if (!biomeList.doesNameExist(name)) {
notifications.add("invalid biome name: '" + name + "'");
}
}
}
}
public WorldFilter_Biome createBiomeFilter() {
return new WorldFilter_Biome(distance, createValidBiomeIndexes());
}
private Set<Short> createValidBiomeIndexes() {
Set<Short> result = new HashSet<>();
for (String name : biomes) {
try {
result.add((short) biomeList.getBiomeFromName(name).getId());
} catch (UnknownBiomeNameException e) {
AmidstLogger.error(e);
AmidstMessageBox.displayError("Error", e);
}
}
return result;
}
}
| 1,515 | Java | .java | toolbox4minecraft/amidst | 2,121 | 238 | 268 | 2015-12-30T19:32:21Z | 2023-07-25T17:56:12Z | ecb113ce6f731fdfe3a15c66e46325d951f897f6789dec3ff40553d83053eeed | [] | [
1337,
3874,
333,
289,
51,
25290,
761,
1256,
51,
781,
51,
1279,
51,
2049,
64,
222,
222,
485,
1401,
51,
1058,
51,
4293,
64,
222,
485,
1401,
51,
1058,
51,
17163,
64,
222,
485,
1401,
51,
1058,
51,
739,
64,
222,
485,
1401,
51,
1058,
51,
903,
64,
222,
222,
485,
3874,
333,
289,
51,
10283,
51,
33548,
7935,
64,
222,
485,
3874,
333,
289,
51,
10283,
51,
15026,
64,
222,
485,
3874,
333,
289,
51,
7506,
51,
70,
7852,
289,
3716,
64,
222,
485,
3874,
333,
289,
51,
7506,
51,
70,
7852,
289,
22945,
64,
222,
485,
3874,
333,
289,
51,
25290,
761,
1256,
51,
5879,
51,
12787,
308,
51,
19615,
308,
739,
64,
222,
485,
3874,
333,
289,
51,
25290,
761,
1256,
51,
5879,
51,
12787,
308,
51,
5850,
19615,
308,
577,
1002,
64,
222,
485,
3874,
333,
289,
51,
25290,
761,
1256,
51,
5879,
51,
2049,
51,
6719,
2365,
100,
19615,
308,
64,
222,
222,
69,
15026,
222,
942,
462,
10914,
2365,
2541,
100,
19615,
308,
320,
222,
221,
2072,
12014,
1964,
7336,
64,
222,
221,
2072,
12014,
1701,
65,
671,
67,
16360,
8037,
299,
15490,
51,
31447,
492,
3038,
221,
2072,
1175,
18638,
308,
739,
16360,
308,
739,
64,
499,
221,
69,
33548,
7935,
222,
221,
942,
10914,
2365,
2541,
100,
19615,
308,
45,
19615,
308,
739,
16360,
308,
739,
46,
320,
376,
221,
597,
51,
12787,
308,
739,
299,
16360,
308,
739,
64,
222,
221,
130,
499,
221,
942,
782,
6051,
45,
739,
65,
671,
67,
15858,
46,
320,
376,
221,
344,
327,
12787,
8037,
51,
6401,
1177,
320,
374,
221,
15627,
51,
688,
459,
2042,
16360,
8037,
456,
2785,
742,
376,
221,
130,
832,
320,
374,
221,
999,
327,
671,
655,
518,
16360,
8037,
46,
320,
621,
221,
344,
1445,
12787,
308,
739,
51,
13824,
577,
11761,
45,
444,
509,
320,
596,
221,
15627,
51,
688,
459,
5798,
16360,
308,
655,
63,
6121,
494,
655,
494,
46827,
621,
221,
130,
374,
221,
130,
376,
221,
130,
222,
221,
130,
499,
221,
942,
10914,
2365,
100,
19615,
308,
1506,
19615,
308,
2365,
365,
320,
376,
221,
620,
556,
10914,
2365,
100,
19615,
308,
45,
8069,
49,
1506,
2320,
19615,
308,
19383,
1052,
222,
221,
130,
499,
221,
2072,
1776,
65,
6881,
67,
1506,
2320,
19615,
308,
19383,
365,
320,
376,
221,
903,
65,
6881,
67,
1074,
299,
556,
14253,
6984,
376,
221,
999,
327,
671,
655,
518,
16360,
8037,
46,
320,
374,
221,
1287,
320,
621,
221,
1285,
51,
688,
1181,
4036,
46,
16360,
308,
739,
51,
390,
19615,
308,
32091,
45,
444,
566,
7068,
1052,
374,
221,
130,
2385,
327,
5850,
19615,
308,
577,
1002,
503,
46,
320,
621,
221,
70,
7852,
289,
3716,
51,
750,
45,
106,
312,
621,
221,
70,
7852,
289,
22945,
51,
2784,
943,
459,
943,
411,
503,
312,
374,
221,
130,
376,
221,
130,
376,
221,
620,
1074,
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
]
] | 486 | true | 74.455446 | true | true |
NorthPoleSharedDispatcher.java | /FileExtraction/Java_unseen/amodeus-science_amodeus/src/main/java/amodeus/amodeus/dispatcher/shared/basic/NorthPoleSharedDispatcher.java | /* amodeus - Copyright (c) 2018, ETH Zurich, Institute for Dynamic Systems and Control */
package amodeus.amodeus.dispatcher.shared.basic;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.List;
import java.util.Random;
import org.matsim.amodeus.components.AmodeusDispatcher;
import org.matsim.amodeus.components.AmodeusRouter;
import org.matsim.amodeus.config.AmodeusModeConfig;
import org.matsim.api.core.v01.Coord;
import org.matsim.api.core.v01.network.Link;
import org.matsim.api.core.v01.network.Network;
import org.matsim.contrib.drt.optimizer.rebalancing.RebalancingStrategy;
import org.matsim.contrib.dvrp.passenger.PassengerRequest;
import org.matsim.core.modal.ModalProviders.InstanceGetter;
import org.matsim.core.api.experimental.events.EventsManager;
import org.matsim.core.config.Config;
import org.matsim.core.router.util.TravelTime;
import amodeus.amodeus.dispatcher.core.DispatcherConfigWrapper;
import amodeus.amodeus.dispatcher.core.RoboTaxi;
import amodeus.amodeus.dispatcher.core.RoboTaxiUsageType;
import amodeus.amodeus.dispatcher.core.RebalancingDispatcher;
import amodeus.amodeus.dispatcher.core.schedule.directives.Directive;
import amodeus.amodeus.dispatcher.shared.Compatibility;
import amodeus.amodeus.net.MatsimAmodeusDatabase;
import amodeus.amodeus.util.math.GlobalAssert;
/**
* this is a demo of functionality for the shared dispatchers (> 1 person in
* {@link RoboTaxi}
*
* whenever 4 {@link PassengerRequest}s are open, a {@link RoboTaxi} is assigned
* to pickup all of them,
* it first picks up passengers 1,2,3,4 and then starts to bring passengers
* 1,2,3 to their destinations.
* Passenger 4 is less lucky as the {@link RoboTaxi} first visits the city's
* North pole (northern most link)
* before passenger 4 is finally dropped of and the procedure starts from
* beginning.
*/
public class NorthPoleSharedDispatcher extends RebalancingDispatcher {
private final int dispatchPeriod;
private final int rebalancePeriod;
private final Random randGen = new Random(1234);
private final Link cityNorthPole;
private final List<Link> equatorLinks;
protected NorthPoleSharedDispatcher(Network network, //
Config config, AmodeusModeConfig operatorConfig, //
TravelTime travelTime, AmodeusRouter router, EventsManager eventsManager, //
MatsimAmodeusDatabase db, RebalancingStrategy rebalancingStrategy) {
super(config, operatorConfig, travelTime, router, eventsManager, db, rebalancingStrategy,
RoboTaxiUsageType.SHARED);
this.cityNorthPole = getNorthPole(network);
this.equatorLinks = getEquator(network);
DispatcherConfigWrapper dispatcherConfig = DispatcherConfigWrapper.wrap(operatorConfig.getDispatcherConfig());
dispatchPeriod = dispatcherConfig.getDispatchPeriod(30);
rebalancePeriod = dispatcherConfig.getRebalancingPeriod(1800);
Collections.shuffle(new ArrayList<>(network.getLinks().values()), randGen);
}
@Override
protected void redispatch(double now) {
final long round_now = Math.round(now);
if (round_now % dispatchPeriod == 0) {
/** assignment of {@link RoboTaxi}s */
// System.err.println("DIVERTABLE TAXIS DISPATCH " +
// getDivertableUnassignedRoboTaxis().size());
for (RoboTaxi sharedRoboTaxi : getDivertableUnassignedRoboTaxis()) {
List<PassengerRequest> unassignedRequests = new ArrayList<>(getUnassignedRequests());
// System.err.println("UNASSIGNED REQUESTS " + unassignedRequests.size());
if (unassignedRequests.size() >= 4) {
/** select 4 requests */
PassengerRequest firstRequest = unassignedRequests.get(0);
PassengerRequest secondRequest = unassignedRequests.get(1);
PassengerRequest thirdRequest = unassignedRequests.get(2);
PassengerRequest fourthRequest = unassignedRequests.get(3);
/** add pickup for request 1 */
addSharedRoboTaxiPickup(sharedRoboTaxi, firstRequest, Double.NaN, Double.NaN);
/** add pickup for request 2 and move to first location */
addSharedRoboTaxiPickup(sharedRoboTaxi, secondRequest, Double.NaN, Double.NaN);
Directive sharedAVCourse = Directive.pickup(secondRequest);
sharedRoboTaxi.moveToPrevious(sharedAVCourse);
/** add pickup for request 3 and move to first location */
addSharedRoboTaxiPickup(sharedRoboTaxi, thirdRequest, Double.NaN, Double.NaN);
Directive sharedAVCourse3 = Directive.pickup(thirdRequest);
sharedRoboTaxi.moveToPrevious(sharedAVCourse3);
sharedRoboTaxi.moveToPrevious(sharedAVCourse3);
/**
* add pickup for request 4 and reorder the menu based on a list of Shared
* Courses
*/
List<Directive> courses = new ArrayList<>(sharedRoboTaxi.getUnmodifiableViewOfCourses());
courses.add(3, Directive.pickup(fourthRequest));
courses.add(Directive.dropoff(fourthRequest));
addSharedRoboTaxiPickup(sharedRoboTaxi, fourthRequest, Double.NaN, Double.NaN);
sharedRoboTaxi.updateMenu(courses);
/** add a redirect task (to the north pole) and move to prev */
Directive redirectCourse = Directive.drive(cityNorthPole);
addSharedRoboTaxiRedirect(sharedRoboTaxi, redirectCourse);
sharedRoboTaxi.moveToPrevious(redirectCourse);
/** check consistency and end */
GlobalAssert
.that(Compatibility.of(sharedRoboTaxi.getUnmodifiableViewOfCourses())
.forCapacity(sharedRoboTaxi.getScheduleManager(), sharedRoboTaxi.getCapacity()));
} else {
break;
}
}
}
/** dispatching of available {@link RoboTaxi}s to the equator */
if (round_now % rebalancePeriod == 0) {
// System.err.println("DIVERTABLE TAXIS REBALANCE " +
// getDivertableUnassignedRoboTaxis().size());
/** relocation of empty {@link RoboTaxi}s to a random link on the equator */
for (RoboTaxi roboTaxi : getDivertableUnassignedRoboTaxis()) {
Link rebalanceLink = equatorLinks.get(randGen.nextInt(equatorLinks.size()));
setRoboTaxiRebalance(roboTaxi, rebalanceLink);
}
}
}
/**
* @param network
* @return northern most {@link Link} in the {@link Network}
*/
private static Link getNorthPole(Network network) {
return network.getLinks().values().stream().max(Comparator.comparingDouble(l -> l.getCoord().getY())).get();
}
/**
* @param network
* @return all {@link Link}s crossing the equator of the city {@link Network} ,
* starting
* with links on the equator, if no links found, the search radius is
* increased by 1 m
*/
private static List<Link> getEquator(Network network) {
double northX = network.getLinks().values().stream().map(Link::getCoord).map(Coord::getY).max(Double::compare)
.get();
double southX = network.getLinks().values().stream().map(Link::getCoord).map(Coord::getY).min(Double::compare)
.get();
double equator = southX + (northX - southX) / 2;
List<Link> equatorLinks = new ArrayList<>();
double margin = 0.0;
while (equatorLinks.isEmpty()) {
for (Link l : network.getLinks().values()) {
double fromY = l.getFromNode().getCoord().getY();
double toY = l.getToNode().getCoord().getY();
if ((fromY - margin <= equator && toY + margin >= equator) || //
(fromY + margin >= equator && toY - margin <= equator))
equatorLinks.add(l);
}
margin += 1.0;
}
// GlobalAssert.that(equatorLinks.size() > 0); // always true
return equatorLinks;
}
public static class Factory implements AVDispatcherFactory {
@Override
public AmodeusDispatcher createDispatcher(InstanceGetter inject) {
Config config = (Config) inject.get(Config.class);
MatsimAmodeusDatabase db = (MatsimAmodeusDatabase) inject.get(MatsimAmodeusDatabase.class);
EventsManager eventsManager = (EventsManager) inject.get(EventsManager.class);
AmodeusModeConfig operatorConfig = (AmodeusModeConfig) inject.getModal(AmodeusModeConfig.class);
Network network = (Network) inject.getModal(Network.class);
AmodeusRouter router = (AmodeusRouter) inject.getModal(AmodeusRouter.class);
TravelTime travelTime = (TravelTime) inject.getModal(TravelTime.class);
RebalancingStrategy rebalancingStrategy = (RebalancingStrategy) inject.getModal(RebalancingStrategy.class);
return new NorthPoleSharedDispatcher(network, config, operatorConfig, travelTime, router, eventsManager, db,
rebalancingStrategy);
}
}
}
| 9,518 | Java | .java | amodeus-science/amodeus | 46 | 21 | 8 | 2018-03-15T14:08:44Z | 2022-10-01T08:35:00Z | 7370da1398cfc5cdf9359a49da3c23b1f75f17c639395769da4ac51a991a10cb | [] | [
1127,
331,
2832,
371,
449,
2657,
327,
104,
46,
244,
55,
53,
54,
61,
49,
20969,
2538,
324,
1211,
49,
27343,
456,
14800,
18926,
480,
7822,
588,
222,
1337,
331,
2832,
371,
51,
424,
421,
371,
51,
19040,
51,
4206,
51,
6404,
64,
222,
222,
485,
1401,
51,
1058,
51,
7119,
64,
222,
485,
1401,
51,
1058,
51,
4293,
64,
222,
485,
1401,
51,
1058,
51,
18676,
64,
222,
485,
1401,
51,
1058,
51,
739,
64,
222,
485,
1401,
51,
1058,
51,
6124,
64,
222,
222,
485,
1105,
51,
1322,
4535,
51,
424,
421,
371,
51,
3545,
51,
70,
2832,
371,
11523,
64,
222,
485,
1105,
51,
1322,
4535,
51,
424,
421,
371,
51,
3545,
51,
70,
2832,
371,
7055,
64,
222,
485,
1105,
51,
1322,
4535,
51,
424,
421,
371,
51,
1180,
51,
70,
2832,
371,
2116,
1081,
64,
222,
485,
1105,
51,
1322,
4535,
51,
1256,
51,
1284,
51,
123,
53,
54,
51,
5643,
64,
222,
485,
1105,
51,
1322,
4535,
51,
1256,
51,
1284,
51,
123,
53,
54,
51,
4599,
51,
2375,
64,
222,
485,
1105,
51,
1322,
4535,
51,
1256,
51,
1284,
51,
123,
53,
54,
51,
4599,
51,
4723,
64,
222,
485,
1105,
51,
1322,
4535,
51,
12060,
51,
105,
2069,
51,
16895,
51,
287,
46558,
51,
454,
46558,
8095,
64,
222,
485,
1105,
51,
1322,
4535,
51,
12060,
51,
8698,
8640,
51,
4634,
13253,
51,
6136,
13253,
1123,
64,
222,
485,
1105,
51,
1322,
4535,
51,
1284,
51,
3877,
51,
5827,
17146,
51,
1825,
11722,
64,
222,
485,
1105,
51,
1322,
4535,
51,
1284,
51,
1256,
51,
19782,
51,
5070,
51,
5015,
1590,
64,
222,
485,
1105,
51,
1322,
4535,
51,
1284,
51,
1180,
51,
1081,
64,
222,
485,
1105,
51,
1322,
4535,
51,
1284,
51,
5794,
51,
1058,
51,
34019,
1061,
64,
222,
222,
485,
331,
2832,
371,
51,
424,
421,
371,
51,
19040,
51,
1284,
51,
11523,
1081,
4687,
64,
222,
485,
331,
2832,
371,
51,
424,
421,
371,
51,
19040,
51,
1284,
51,
6453,
730,
12525,
110,
64,
222,
485,
331,
2832,
371,
51,
424,
421,
371,
51,
19040,
51,
1284,
51,
6453,
730,
12525,
110,
6786,
638,
64,
222,
485,
331,
2832,
371,
51,
424,
421,
371,
51,
19040,
51,
1284,
51,
454,
46558,
11523,
64,
222,
485,
331,
2832,
371,
51,
424,
421,
371,
51,
19040,
51,
1284,
51,
8598,
51,
33393,
51,
17201,
64,
222,
485,
331,
2832,
371,
51,
424,
421,
371,
51,
19040,
51,
4206,
51,
34432,
64,
222,
485,
331,
2832,
371,
51,
424,
421,
371,
51,
1317,
51,
82,
1990,
468,
70,
2832,
371,
3969,
64,
222,
485,
331,
2832,
371,
51,
424,
421,
371,
51,
1058,
51,
3851,
51,
4470,
3285,
64,
222,
222,
1350,
222,
338,
477,
458,
331,
10891,
451,
8923,
456,
341,
7187,
7532,
502,
43893,
244,
54,
4944,
347,
222,
338,
3105,
1222,
11792,
730,
12525,
110,
130,
222,
338,
1676,
338,
18952,
244,
57,
3105,
1222,
14159,
13253,
1123,
130,
120,
904,
2177,
49,
331,
3105,
1222,
11792,
730,
12525,
110,
130,
458,
11032,
222,
338,
391,
8350,
436,
1187,
451,
3049,
49,
222,
338,
580,
1950,
317,
6827,
992,
3119,
43362,
244,
54,
49,
55,
49,
56,
49,
57,
480,
1636,
11214,
391,
18020,
3119,
43362,
222,
338,
244,
54,
49,
55,
49,
56,
391,
3641,
3481,
26672,
51,
222,
338,
14159,
13253,
244,
57,
458,
6717,
30484,
126,
641,
341,
3105,
1222,
11792,
730,
12525,
110,
130,
1950,
3084,
1526,
341,
11353,
1200,
222,
338,
27971,
41368,
327,
19617,
48276,
4665,
2572,
46,
222,
338,
2688,
3119,
13253,
244,
57,
458,
8312,
23158,
451,
480,
341,
10032,
11214,
664,
222,
338,
13681,
51,
222,
588,
222,
942,
462,
27971,
85,
2652,
7444,
11523,
2041,
922,
46558,
11523,
320,
303,
964,
1175,
648,
7532,
7762,
64,
303,
964,
1175,
648,
334,
10427,
7762,
64,
303,
964,
1175,
9607,
10510,
5154,
299,
556,
9607,
45,
54,
55,
56,
57,
312,
303,
964,
1175,
6130,
11353,
25080,
85,
2652,
64,
303,
964,
1175,
1701,
65,
2375,
67,
15688,
738,
11632,
64,
465,
2532,
27971,
85,
2652,
7444,
11523,
45,
4723,
4017,
49,
453,
343,
3395,
1377,
49,
418,
2832,
371,
2116,
1081,
4156,
1081,
49,
453,
343,
1588,
6092,
1061,
25288,
1061,
49,
418,
2832,
371,
7055,
9219,
49,
17874,
1590,
5233,
1590,
49,
453,
343,
507,
1990,
468,
70,
2832,
371,
3969,
3100,
49,
922,
46558,
8095,
334,
46558,
8095,
46,
320,
310,
2615,
45,
1180,
49,
4156,
1081,
49,
25288,
1061,
49,
9219,
49,
5233,
1590,
49,
3100,
49,
334,
46558,
8095,
49,
419,
11792,
730,
12525,
110,
6786,
638,
51,
24448,
312,
310,
477,
51,
5733,
25080,
85,
2652,
299,
640,
25080,
85,
2652,
45,
4599,
312,
310,
477,
51,
23770,
738,
11632,
299,
640,
26576,
738,
45,
4599,
312,
310,
43039,
1081,
4687,
26598,
1081,
299,
43039,
1081,
4687,
51,
4087,
45,
3004,
1081,
51,
390,
11523,
1081,
1052,
310,
7532,
7762,
299,
26598,
1081,
51,
390,
7184,
7762,
45,
56,
53,
312,
310,
334,
10427,
7762,
299,
26598,
1081,
51,
390,
454,
46558,
7762,
45,
54,
61,
53,
53,
312,
310,
15490,
51,
18047,
45,
909,
5068,
11530,
4599,
51,
390,
11632,
941,
2857,
6198,
10510,
5154,
312,
303,
339,
465,
496,
1806,
303,
2532,
782,
334,
7154,
45,
2640,
2483,
46,
320,
310,
1175,
1964,
7880,
100,
2192,
299,
4189,
51,
1514,
45,
2192,
312,
603,
434,
327,
1514,
100,
2192,
925,
7532,
7762,
630,
244,
53,
46,
320,
343,
1041,
13830,
451,
3105,
1222,
11792,
730,
12525,
110,
130,
120,
588,
343,
453,
1189,
51,
549,
51,
3962,
459,
1740,
1986,
6950,
413,
31795,
10368,
18072,
332,
494,
343,
453,
640,
6792,
600,
463,
1079,
20435,
6453,
730,
89,
5167,
941,
911,
1052,
343,
456,
327,
6453,
730,
12525,
110,
7187,
6453,
730,
12525,
110,
518,
640,
6792,
600,
463,
1079,
20435,
6453,
730,
89,
5167,
1177,
320,
419,
1701,
65,
6136,
13253,
1123,
67,
725,
20435,
10343,
299,
556,
5068,
11530,
36127,
20435,
10343,
1052,
419,
453,
1189,
51,
549,
51,
3962,
459,
1430,
3316,
19217,
27723,
88,
332,
494,
725,
20435,
10343,
51,
911,
1052,
2125,
434,
327,
330,
20435,
10343,
51,
911,
365,
2394,
244,
57,
46,
320,
547,
1041,
2209,
244,
57,
5188,
588,
547,
14159,
13253,
1123,
1950,
1123,
299,
725,
20435,
10343,
51,
390,
45,
53,
312,
547,
14159,
13253,
1123,
3118,
1123,
299,
725,
20435,
10343,
51,
390,
45,
54,
312,
547,
14159,
13253,
1123,
10999,
1123,
299,
725,
20435,
10343,
51,
390,
45,
55,
312,
547,
14159,
13253,
1123,
36635,
1123,
299,
725,
20435,
10343,
51,
390,
45,
56,
312,
3704,
1041,
1035,
8350,
436,
456,
1343,
244,
54,
588,
547,
1035,
7444,
6453,
730,
12525,
110,
43717,
45,
4206,
6453,
730,
12525,
110,
49,
1950,
1123,
49,
6938,
51,
11138,
49,
6938,
51,
11138,
312,
3704,
1041,
1035,
8350,
436,
456,
1343,
244,
55,
480,
5187,
391,
1950,
3913,
588,
547,
1035,
7444,
6453,
730,
12525,
110,
43717,
45,
4206,
6453,
730,
12525,
110,
49,
3118,
1123,
49,
6938,
51,
11138,
49,
6938,
51,
11138,
312,
547,
48540,
7187,
4583,
13026,
299,
48540,
51,
43716,
45,
3109,
1123,
312,
547,
7187,
6453,
730,
12525,
110,
51,
23061,
11694,
45,
4206,
4583,
13026,
312,
3704,
1041,
1035,
8350,
436,
456,
1343,
244,
56,
480,
5187,
391,
1950,
3913,
588,
547,
1035,
7444,
6453,
730,
12525,
110,
43717,
45,
4206,
6453,
730,
12525,
110,
49,
10999,
1123,
49,
6938,
51,
11138,
49,
6938,
51,
11138,
312,
547,
48540,
7187,
4583,
13026,
56,
299,
48540,
51,
43716,
45,
14148,
1123,
312,
547,
7187,
6453,
730,
12525,
110,
51,
23061,
11694,
45,
4206,
4583,
13026,
56,
312,
547,
7187,
6453,
730,
12525,
110,
51,
23061,
11694,
45,
4206,
4583,
13026,
56,
312,
3704,
1041,
3507,
338,
1035,
8350,
436,
456,
1343,
244,
57,
480,
48965,
341,
5279,
4148,
563,
331,
1168,
451,
13160,
3507,
338,
26021,
1490,
3507,
588,
547,
1701,
65,
17201,
67,
32750,
299,
556,
5068,
11530,
4206,
6453,
730,
12525,
110,
51,
36127,
30377,
1089,
1436,
33952,
1052,
547,
32750,
51,
688,
45,
56,
49,
48540,
51,
43716,
45,
17531,
368,
1123,
894,
547,
32750,
51,
688,
45,
17201,
51,
17493,
864,
505,
45,
17531,
368,
1123,
894,
547,
1035,
7444,
6453,
730,
12525,
110,
43717,
45,
4206,
6453,
730,
12525,
110,
49,
36635,
1123,
49,
6938,
51,
11138,
49,
6938,
51,
11138,
312,
547,
7187,
6453,
730,
12525,
110,
51,
1896,
2689,
45,
19028,
312,
3704,
1041,
1035,
331,
5675,
2918,
327,
471,
341,
34374,
41368,
46,
480,
5187,
391,
7329,
588,
547,
48540,
5675,
13026,
299,
48540,
51,
13872,
45,
5733,
25080,
85,
2652,
312,
547,
1035,
7444,
6453,
730,
12525,
110,
11446,
45,
4206,
6453,
730,
12525,
110,
49,
5675,
13026,
312,
547,
7187,
6453,
730,
12525,
110,
51,
23061,
11694,
45,
7353,
13026,
312,
3704,
1041,
1524,
25437,
480,
962,
588,
547,
6566,
3285,
1031,
657,
6942,
45,
34432,
51,
1048,
45,
4206,
6453,
730,
12525,
110,
51,
36127,
30377,
1089,
1436,
33952,
1177,
1908,
657,
999,
13126,
45,
4206,
6453,
730,
12525,
110,
51,
390,
7977,
1590,
1046,
7187,
6453,
730,
12525,
110,
51,
390,
13126,
5086,
419,
339,
832,
320,
547,
1644,
64,
419,
339,
343,
339,
310,
339,
603,
1041,
7532,
318,
451,
3322,
3105,
1222,
11792,
730,
12525,
110,
130,
120,
391,
341,
15688,
738,
588,
310,
434,
327,
1514,
100,
2192,
925,
334,
10427,
7762,
630,
244,
53,
46,
320,
343,
453,
1189,
51,
549,
51,
3962,
459,
1740,
1986,
6950,
413,
31795,
3062,
34734,
6316,
332,
494,
343,
453,
640,
6792,
600,
463,
1079,
20435,
6453,
730,
89,
5167,
941,
911,
1052,
343,
1041,
334,
2665,
451,
3517,
3105,
1222,
11792,
730,
12525,
110,
130,
120,
391,
331,
4051,
2572,
563,
341,
15688,
738,
588,
343,
456,
327,
6453,
730,
12525,
110,
1138,
730,
12525,
110,
518,
640,
6792,
600,
463,
1079,
20435,
6453,
730,
89,
5167,
1177,
320,
419,
6130,
334,
10427,
2375,
299,
15688,
738,
11632,
51,
390,
45,
6458,
5154,
51,
20827,
45,
23770,
738,
11632,
51,
911,
5086,
419,
758,
6453,
730,
12525,
110,
454,
10427,
45,
309,
730,
12525,
110,
49,
334,
10427,
2375,
312,
343,
339,
310,
339,
303,
339,
465,
1041,
294,
338,
496,
772,
4017,
294,
338,
496,
620,
12397,
48276,
4665,
3105,
1222,
6130,
130,
347,
341,
3105,
1222,
8187,
130,
294,
588,
303,
964,
924,
6130,
640,
25080,
85,
2652,
45,
4723,
4017,
46,
320,
310,
461,
4017,
51,
390,
11632,
941,
2857,
941,
2255,
941,
1472,
45,
18676,
51,
998,
7016,
4090,
45,
113,
984,
475,
51,
390,
5643,
941,
20421,
22293,
390,
492,
303,
339,
465,
1041,
294,
338,
496,
772,
4017,
294,
338,
496,
620,
1187,
3105,
1222,
6130,
130,
120,
8252,
318,
341,
15688,
738,
451,
341,
11353,
3105,
1222,
8187,
130,
1737,
294,
338,
282,
8074,
294,
338,
282,
642,
7343,
563,
341,
15688,
738,
49,
434,
1307,
7343,
2448,
49,
341,
3252,
10472,
458,
294,
338,
282,
29033,
829,
244,
54,
364,
294,
588,
303,
964,
924,
1701,
65,
2375,
67,
640,
26576,
738,
45,
4723,
4017,
46,
320,
310,
2082,
34374,
93,
299,
4017,
51,
390,
11632,
941,
2857,
941,
2255,
941,
1130,
45,
2375,
422,
390,
5643,
566,
1130,
45,
5643,
422,
20421,
566,
1472,
45,
4090,
422,
6076,
46,
419,
657,
390,
492,
310,
2082,
38180,
93,
299,
4017,
51,
390,
11632,
941,
2857,
941,
2255,
941,
1130,
45,
2375,
422,
390,
5643,
566,
1130,
45,
5643,
422,
20421,
566,
907,
45,
4090,
422,
6076,
46,
419,
657,
390,
492,
310,
2082,
15688,
738,
299,
38180,
93,
494,
327,
19830,
93,
449,
38180,
93,
46,
536,
244,
55,
64,
603,
1701,
65,
2375,
67,
15688,
738,
11632,
299,
556,
5068,
6984,
310,
2082,
3307,
299,
244,
53,
51,
53,
64,
310,
2236,
327,
23770,
738,
11632,
51,
6401,
1177,
320,
343,
456,
327,
2375,
475,
518,
4017,
51,
390,
11632,
941,
2857,
1177,
320,
419,
2082,
664,
94,
299,
475,
51,
390,
1811,
1230,
941,
390,
5643,
941,
20421,
492,
419,
2082,
391,
94,
299,
475,
51,
390,
724,
1230,
941,
390,
5643,
941,
20421,
492,
419,
434,
1849,
1097,
94,
449,
3307,
2527,
15688,
738,
979,
391,
94,
494,
3307,
2394,
15688,
738,
46,
1293,
453,
733,
327,
1097,
94,
494,
3307,
2394,
15688,
738,
979,
391,
94,
449,
3307,
2527,
15688,
738,
509,
547,
15688,
738,
11632,
51,
688,
45,
113,
312,
343,
339,
343,
3307,
1475,
244,
54,
51,
53,
64,
310,
339,
310,
453,
6566,
3285,
51,
6942,
45,
23770,
738,
11632,
51,
911,
365,
868,
244,
53,
312,
453,
5198,
878,
310,
461,
15688,
738,
11632,
64,
303,
339,
465,
581,
924,
462,
15590,
4584,
10173,
11523,
2232,
320,
310,
496,
1806,
310,
581,
418,
2832,
371,
11523,
1506,
11523,
45,
1825,
11722,
12207,
46,
320,
343,
3395,
1377,
299,
327,
1081,
46,
12207,
51,
390,
45,
1081,
51,
842,
312,
343,
507,
1990,
468,
70,
2832,
371,
3969,
3100,
299,
327,
82,
1990,
468,
70,
2832,
371,
3969,
46,
12207,
51,
390,
45,
82,
1990,
468,
70,
2832,
371,
3969,
51,
842,
312,
343,
17874,
1590,
5233,
1590,
299,
327,
5015,
1590,
46,
12207,
51,
390,
45,
5015,
1590,
51,
842,
312,
1083,
418,
2832,
371,
2116,
1081,
4156,
1081,
299,
327,
70,
2832,
371,
2116,
1081,
46,
12207,
51,
390,
5827,
45,
70,
2832,
371,
2116,
1081,
51,
842,
312,
343,
8187,
4017,
299,
327,
4723,
46,
12207,
51,
390,
5827,
45,
4723,
51,
842,
312,
343,
418,
2832,
371,
7055,
9219,
299,
327,
70,
2832,
371,
7055,
46,
12207,
51,
390,
5827,
45,
70,
2832,
371,
7055,
51,
842,
312,
343,
1588,
6092,
1061,
25288,
1061,
299,
327,
34019,
1061,
46,
12207,
51,
390,
5827,
45,
34019,
1061,
51,
842,
312,
1083,
922,
46558,
8095,
334,
46558,
8095,
299,
327,
454,
46558,
8095,
46,
12207,
51,
390,
5827,
45,
454,
46558,
8095,
51,
842,
312,
1083,
461,
556,
27971,
85,
2652,
7444,
11523,
45,
4599,
49,
1377,
49,
4156,
1081,
49,
25288,
1061,
49,
9219,
49,
5233,
1590,
49,
3100,
49,
547,
334,
46558,
8095,
312,
310,
339,
303,
339,
222,
130,
222
] | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
]
] | 2,346 | true | 64.887581 | true | true |
NavigationDrawerFragment.java | /FileExtraction/Java_unseen/mlzzen_open-nga/nga_phone_base_3.0/src/main/java/sp/phone/ui/fragment/NavigationDrawerFragment.java | package sp.phone.ui.fragment;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.preference.PreferenceManager;
import android.view.LayoutInflater;
import android.view.MenuItem;
import android.view.View;
import android.view.ViewGroup;
import android.view.animation.AnimationUtils;
import android.widget.AdapterView;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.appcompat.app.ActionBarDrawerToggle;
import androidx.appcompat.app.AlertDialog;
import androidx.appcompat.widget.Toolbar;
import androidx.drawerlayout.widget.DrawerLayout;
import androidx.viewpager.widget.ViewPager;
import com.alibaba.android.arouter.launcher.ARouter;
import com.google.android.material.internal.NavigationMenuView;
import com.google.android.material.navigation.NavigationView;
import com.google.android.material.tabs.TabLayout;
import gov.anzong.androidnga.R;
import gov.anzong.androidnga.activity.ForumListActivity;
import gov.anzong.androidnga.arouter.ARouterConstants;
import gov.anzong.androidnga.base.widget.ViewFlipperEx;
import gov.anzong.androidnga.common.PreferenceKey;
import sp.phone.common.UserManager;
import sp.phone.common.UserManagerImpl;
import sp.phone.mvp.contract.BoardContract;
import sp.phone.mvp.model.entity.Board;
import sp.phone.mvp.presenter.BoardPresenter;
import sp.phone.rxjava.RxEvent;
import sp.phone.ui.adapter.BoardPagerAdapter;
import sp.phone.ui.adapter.FlipperUserAdapter;
import sp.phone.ui.fragment.dialog.AddBoardDialogFragment;
import sp.phone.util.ActivityUtils;
/**
* 首页的容器
* Created by Justwen on 2017/6/29.
*/
public class NavigationDrawerFragment extends BaseMvpFragment<BoardPresenter> implements BoardContract.View, AdapterView.OnItemClickListener {
private ViewPager mViewPager;
private ViewFlipperEx mHeaderView;
private TextView mReplyCountView;
private BoardPagerAdapter mBoardPagerAdapter;
@Override
public void onCreate(@Nullable Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
registerRxBus();
}
@Override
protected void accept(RxEvent rxEvent) {
if (rxEvent.what == RxEvent.EVENT_SHOW_TOPIC_LIST) {
mPresenter.showTopicList((Board) rxEvent.obj);
} else {
super.accept(rxEvent);
}
}
@Nullable
@Override
public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
return inflater.inflate(R.layout.fragment_navigation_drawer, container, false);
}
@Override
public void onViewCreated(@NonNull View view, @Nullable Bundle savedInstanceState) {
Toolbar toolbar = view.findViewById(R.id.toolbar);
setupToolbar(toolbar);
initDrawerLayout(view, toolbar);
initNavigationView(view);
mViewPager = view.findViewById(R.id.pager);
TabLayout tabLayout = view.findViewById(R.id.tabs);
tabLayout.setupWithViewPager(mViewPager);
tabLayout.setTabMode(TabLayout.MODE_SCROLLABLE);
tabLayout.setSelectedTabIndicatorColor(tabLayout.getTabTextColors().getDefaultColor());
super.onViewCreated(view, savedInstanceState);
mPresenter.loadBoardInfo();
}
@Override
protected BoardPresenter onCreatePresenter() {
return new BoardPresenter();
}
private void initDrawerLayout(View rootView, Toolbar toolbar) {
DrawerLayout drawerLayout = rootView.findViewById(R.id.drawer_layout);
ActionBarDrawerToggle drawerToggle = new ActionBarDrawerToggle(getActivity(), drawerLayout, toolbar, R.string.app_name, R.string.app_name);
drawerLayout.addDrawerListener(drawerToggle);
drawerToggle.syncState();
}
private void initNavigationView(View rootView) {
NavigationView navigationView = rootView.findViewById(R.id.nav_view);
navigationView.setNavigationItemSelectedListener(this::onOptionsItemSelected);
MenuItem menuItem = navigationView.getMenu().findItem(R.id.menu_gun);
NavigationMenuView menuView = (NavigationMenuView) navigationView.getChildAt(0);
menuView.setVerticalScrollBarEnabled(false);
View actionView = getLayoutInflater().inflate(R.layout.nav_menu_action_view_gun, null);
menuItem.setActionView(actionView);
menuItem.expandActionView();
mReplyCountView = actionView.findViewById(R.id.reply_count);
mHeaderView = navigationView.getHeaderView(0).findViewById(R.id.viewFlipper);
updateHeaderView();
}
private void setReplyCount(int count) {
mReplyCountView.setText(String.valueOf(count));
}
@Override
public void updateHeaderView() {
FlipperUserAdapter adapter = new FlipperUserAdapter(mPresenter);
mHeaderView.setAdapter(adapter);
mHeaderView.setInAnimation(AnimationUtils.loadAnimation(getContext(), R.anim.right_in));
mHeaderView.setOutAnimation(AnimationUtils.loadAnimation(getContext(), R.anim.right_out));
mHeaderView.setDisplayedChild(UserManagerImpl.getInstance().getActiveUserIndex());
}
@Override
public void notifyDataSetChanged() {
mBoardPagerAdapter.notifyDataSetChanged();
}
@Override
public int getCurrentItem() {
return mViewPager.getCurrentItem();
}
@Override
public boolean onOptionsItemSelected(MenuItem item) {
switch (item.getItemId()) {
case R.id.menu_add:
gotoForumList();
break;
case R.id.menu_add_id:
showAddBoardDialog();
break;
case R.id.menu_login:
jumpToLogin();
break;
case R.id.menu_clear_recent:
clearFavoriteBoards();
break;
default:
return getActivity().onOptionsItemSelected(item);
}
return true;
}
private void clearFavoriteBoards() {
AlertDialog.Builder builder = new AlertDialog.Builder(getContext());
builder.setMessage("是否要清空我的收藏?")
.setNegativeButton(android.R.string.cancel, null)
.setPositiveButton(android.R.string.ok, (dialog, which) -> mPresenter.clearRecentBoards())
.create()
.show();
}
private void gotoForumList() {
Intent intent = new Intent(getActivity(), ForumListActivity.class);
startActivity(intent);
}
@Override
public void jumpToLogin() {
ARouter.getInstance().build(ARouterConstants.ACTIVITY_LOGIN).navigation(getActivity(), 1);
}
private void showAddBoardDialog() {
new AddBoardDialogFragment().setOnAddBookmarkListener((name, fid, stid) -> mPresenter.addBoard(fid, name, stid))
.show(getChildFragmentManager());
}
@Override
public void onActivityResult(int requestCode, int resultCode, Intent data) {
if (requestCode == ActivityUtils.REQUEST_CODE_LOGIN && resultCode == Activity.RESULT_OK || requestCode == ActivityUtils.REQUEST_CODE_SETTING) {
mHeaderView.getAdapter().notifyDataSetChanged();
}
super.onActivityResult(requestCode, resultCode, data);
}
@Override
public void onResume() {
if (mBoardPagerAdapter == null) {
mBoardPagerAdapter = new BoardPagerAdapter(getChildFragmentManager(), mPresenter.getBoardCategories());
mViewPager.setAdapter(mBoardPagerAdapter);
if (mPresenter.getBookmarkCategory().size() == 0) {
mViewPager.setCurrentItem(1);
}
} else {
mBoardPagerAdapter.notifyDataSetChanged();
}
setReplyCount(PreferenceManager.getDefaultSharedPreferences(getContext()).getInt(PreferenceKey.KEY_REPLY_COUNT, 0));
UserManager um = UserManagerImpl.getInstance();
if (um.getUserSize() > 0 && um.getActiveUserIndex() != mHeaderView.getDisplayedChild()) {
mHeaderView.setDisplayedChild(um.getActiveUserIndex());
}
super.onResume();
}
@Override
public int switchToNextUser() {
mHeaderView.showPrevious();
return mHeaderView.getDisplayedChild();
}
@Override
public void onItemClick(AdapterView<?> parent, View view, int position, long id) {
String fidString;
if (parent != null) {
fidString = (String) parent.getItemAtPosition(position);
mPresenter.toTopicListPage(position, fidString);
} else {
mPresenter.showTopicList((Board) view.getTag());
}
}
}
| 8,717 | Java | .java | mlzzen/open-nga | 55 | 1 | 6 | 2023-07-07T14:54:55Z | 2024-05-08T13:03:00Z | 85e0a7fe9555ad3634ed4e2d6e67440b56a75f9e3a34813048944ab847e32ebe | [] | [
1337,
1887,
51,
5468,
51,
1726,
51,
9883,
64,
222,
222,
485,
2616,
51,
745,
51,
3697,
64,
222,
485,
2616,
51,
1304,
51,
8770,
64,
222,
485,
2616,
51,
519,
51,
4775,
64,
222,
485,
2616,
51,
29565,
51,
14366,
1590,
64,
222,
485,
2616,
51,
1090,
51,
25966,
64,
222,
485,
2616,
51,
1090,
51,
6362,
64,
222,
485,
2616,
51,
1090,
51,
1089,
64,
222,
485,
2616,
51,
1090,
51,
22484,
64,
222,
485,
2616,
51,
1090,
51,
9613,
51,
6614,
2769,
64,
222,
485,
2616,
51,
3872,
51,
4433,
1089,
64,
222,
485,
2616,
51,
3872,
51,
12791,
64,
222,
222,
485,
10484,
51,
4341,
51,
10082,
64,
222,
485,
10484,
51,
4341,
51,
6825,
64,
222,
485,
10484,
51,
32355,
51,
745,
51,
21540,
16860,
9590,
64,
222,
485,
10484,
51,
32355,
51,
745,
51,
40628,
64,
222,
485,
10484,
51,
32355,
51,
3872,
51,
14155,
64,
222,
485,
10484,
51,
30016,
3106,
51,
3872,
51,
16860,
2362,
64,
222,
485,
10484,
51,
1090,
23591,
51,
3872,
51,
42566,
64,
222,
222,
485,
785,
51,
23384,
51,
4048,
51,
301,
11949,
51,
23682,
51,
802,
11949,
64,
222,
485,
785,
51,
2193,
51,
4048,
51,
5025,
51,
3269,
51,
9166,
2689,
1089,
64,
222,
485,
785,
51,
2193,
51,
4048,
51,
5025,
51,
9135,
51,
9166,
1089,
64,
222,
485,
785,
51,
2193,
51,
4048,
51,
5025,
51,
10491,
51,
4011,
2362,
64,
222,
222,
485,
22249,
51,
20412,
805,
51,
4048,
1159,
102,
51,
87,
64,
222,
485,
22249,
51,
20412,
805,
51,
4048,
1159,
102,
51,
6904,
51,
37215,
739,
3697,
64,
222,
485,
22249,
51,
20412,
805,
51,
4048,
1159,
102,
51,
301,
11949,
51,
802,
11949,
5238,
64,
222,
485,
22249,
51,
20412,
805,
51,
4048,
1159,
102,
51,
1460,
51,
3872,
51,
1089,
23256,
481,
589,
64,
222,
485,
22249,
51,
20412,
805,
51,
4048,
1159,
102,
51,
2297,
51,
14366,
971,
64,
222,
485,
1887,
51,
5468,
51,
2297,
51,
1259,
1590,
64,
222,
485,
1887,
51,
5468,
51,
2297,
51,
1259,
46951,
64,
222,
485,
1887,
51,
5468,
51,
39944,
51,
8930,
51,
8447,
6228,
64,
222,
485,
1887,
51,
5468,
51,
39944,
51,
1184,
51,
2244,
51,
8447,
64,
222,
485,
1887,
51,
5468,
51,
39944,
51,
44081,
51,
8447,
17462,
64,
222,
485,
1887,
51,
5468,
51,
6673,
1874,
51,
13645,
1167,
64,
222,
485,
1887,
51,
5468,
51,
1726,
51,
8730,
51,
8447,
17554,
4433,
64,
222,
485,
1887,
51,
5468,
51,
1726,
51,
8730,
51,
23256,
481,
1259,
4433,
64,
222,
485,
1887,
51,
5468,
51,
1726,
51,
9883,
51,
5962,
51,
1121,
8447,
3742,
5763,
64,
222,
485,
1887,
51,
5468,
51,
1058,
51,
3697,
2769,
64,
499,
222,
1350,
222,
338,
244,
43123,
1096,
28163,
222,
338,
6956,
829,
9097,
25104,
563,
244,
55,
53,
54,
60,
52,
59,
52,
55,
62,
51,
222,
588,
222,
222,
942,
462,
18029,
16860,
5763,
2041,
3787,
82,
10743,
5763,
65,
8447,
17462,
67,
4584,
18652,
6228,
51,
1089,
49,
23656,
1089,
51,
1501,
42473,
320,
465,
964,
4340,
17554,
364,
42566,
64,
465,
964,
4340,
23256,
481,
589,
364,
2661,
1089,
64,
465,
964,
18503,
364,
9263,
1552,
1089,
64,
465,
964,
18652,
17554,
4433,
364,
8447,
17554,
4433,
64,
465,
496,
1806,
303,
581,
782,
16456,
4810,
6825,
14092,
19902,
46,
320,
310,
2615,
51,
20217,
45,
20731,
312,
310,
3923,
13645,
5997,
492,
303,
339,
465,
496,
1806,
303,
2532,
782,
5531,
45,
13645,
1167,
14288,
1167,
46,
320,
310,
434,
327,
6673,
1167,
51,
7743,
630,
24601,
1167,
51,
8062,
100,
19397,
100,
34465,
100,
4625,
46,
320,
343,
364,
17462,
51,
2276,
8304,
739,
1181,
8447,
46,
14288,
1167,
51,
2085,
312,
310,
339,
832,
320,
343,
2615,
51,
7504,
45,
6673,
1167,
312,
310,
339,
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,
9883,
100,
9135,
100,
30016,
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,
36614,
20049,
299,
2221,
51,
14137,
45,
87,
51,
333,
51,
15671,
312,
310,
4721,
14155,
45,
15671,
312,
603,
3238,
16860,
2362,
45,
1090,
49,
20049,
312,
310,
3238,
9166,
1089,
45,
1090,
312,
603,
364,
42566,
299,
2221,
51,
14137,
45,
87,
51,
333,
51,
23591,
312,
310,
12519,
2362,
4890,
2362,
299,
2221,
51,
14137,
45,
87,
51,
333,
51,
10491,
312,
310,
4890,
2362,
51,
5536,
1569,
42566,
45,
114,
42566,
312,
310,
4890,
2362,
51,
489,
4011,
2116,
45,
4011,
2362,
51,
4986,
100,
33573,
2164,
312,
310,
4890,
2362,
51,
26623,
4011,
12474,
1530,
45,
3019,
2362,
51,
390,
4011,
1049,
10678,
941,
13729,
1530,
1052,
603,
2615,
51,
286,
1089,
6880,
45,
1090,
49,
19902,
312,
310,
364,
17462,
51,
963,
8447,
1139,
492,
303,
339,
465,
496,
1806,
303,
2532,
18652,
17462,
16456,
17462,
365,
320,
310,
461,
556,
18652,
17462,
492,
303,
339,
465,
964,
782,
3238,
16860,
2362,
45,
1089,
3070,
1089,
49,
36614,
20049,
46,
320,
310,
10181,
284,
2362,
34192,
2362,
299,
3070,
1089,
51,
14137,
45,
87,
51,
333,
51,
30016,
100,
3106,
312,
310,
5255,
2914,
16860,
9590,
34192,
9590,
299,
556,
5255,
2914,
16860,
9590,
45,
28176,
1046,
34192,
2362,
49,
20049,
49,
578,
51,
819,
51,
745,
100,
444,
49,
578,
51,
819,
51,
745,
100,
444,
312,
310,
34192,
2362,
51,
688,
16860,
2239,
45,
30016,
9590,
312,
310,
34192,
9590,
51,
5220,
1095,
492,
303,
339,
465,
964,
782,
3238,
9166,
1089,
45,
1089,
3070,
1089,
46,
320,
310,
18029,
1089,
10543,
1089,
299,
3070,
1089,
51,
14137,
45,
87,
51,
333,
51,
2187,
100,
1090,
312,
310,
10543,
1089,
51,
489,
9166,
31264,
2239,
45,
597,
422,
286,
2045,
31264,
312,
310,
25899,
5279,
1114,
299,
10543,
1089,
51,
390,
2689,
941,
1828,
1114,
45,
87,
51,
333,
51,
3055,
100,
14484,
312,
310,
18029,
2689,
1089,
5279,
1089,
299,
327,
9166,
2689,
1089,
46,
10543,
1089,
51,
24200,
1094,
45,
53,
312,
310,
5279,
1089,
51,
489,
11916,
26964,
4006,
45,
1886,
312,
310,
4340,
2146,
1089,
299,
640,
25966,
941,
23053,
45,
87,
51,
3106,
51,
2187,
100,
3055,
100,
1160,
100,
1090,
100,
14484,
49,
762,
312,
310,
5279,
1114,
51,
40811,
1089,
45,
1160,
1089,
312,
310,
5279,
1114,
51,
8976,
1728,
1089,
492,
310,
364,
9263,
1552,
1089,
299,
2146,
1089,
51,
14137,
45,
87,
51,
333,
51,
8451,
100,
1016,
312,
310,
364,
2661,
1089,
299,
10543,
1089,
51,
31007,
1089,
45,
53,
566,
14137,
45,
87,
51,
333,
51,
1090,
23256,
481,
312,
310,
1991,
2661,
1089,
492,
303,
339,
465,
964,
782,
758,
9263,
1552,
45,
429,
2409,
46,
320,
310,
364,
9263,
1552,
1089,
51,
6619,
45,
671,
51,
9169,
45,
1016,
894,
303,
339,
465,
496,
1806,
303,
581,
782,
1991,
2661,
1089,
365,
320,
310,
47980,
481,
1259,
4433,
10726,
299,
556,
47980,
481,
1259,
4433,
45,
114,
17462,
312,
310,
364,
2661,
1089,
51,
43226,
45,
8730,
312,
310,
364,
2661,
1089,
51,
489,
402,
6614,
45,
6614,
2769,
51,
963,
6614,
45,
14722,
1046,
578,
51,
12088,
51,
1009,
100,
285,
894,
310,
364,
2661,
1089,
51,
489,
1529,
6614,
45,
6614,
2769,
51,
963,
6614,
45,
14722,
1046,
578,
51,
12088,
51,
1009,
100,
560,
894,
310,
364,
2661,
1089,
51,
489,
27341,
2950,
45,
1259,
46951,
51,
7432,
941,
21637,
1259,
1301,
1052,
303,
339,
465,
496,
1806,
303,
581,
782,
11745,
13019,
3663,
365,
320,
310,
364,
8447,
17554,
4433,
51,
9357,
13019,
3663,
492,
303,
339,
465,
496,
1806,
303,
581,
648,
23403,
1114,
365,
320,
310,
461,
364,
42566,
51,
12344,
1114,
492,
303,
339,
465,
496,
1806,
303,
581,
1922,
563,
2045,
31264,
45,
6362,
1641,
46,
320,
310,
3593,
327,
1113,
51,
12244,
625,
1177,
320,
343,
1152,
578,
51,
333,
51,
3055,
100,
688,
63,
419,
7201,
37215,
739,
492,
419,
1644,
64,
343,
1152,
578,
51,
333,
51,
3055,
100,
688,
100,
333,
63,
419,
2539,
1121,
8447,
3742,
492,
419,
1644,
64,
343,
1152,
578,
51,
333,
51,
3055,
100,
3632,
63,
419,
13849,
724,
5333,
492,
419,
1644,
64,
343,
1152,
578,
51,
333,
51,
3055,
100,
3830,
100,
18631,
63,
419,
4250,
27186,
8447,
120,
492,
419,
1644,
64,
343,
1263,
63,
419,
461,
47341,
941,
286,
2045,
31264,
45,
1113,
312,
310,
339,
310,
461,
878,
64,
303,
339,
465,
964,
782,
4250,
27186,
8447,
120,
365,
320,
310,
37468,
51,
1812,
4914,
299,
556,
37468,
51,
1812,
45,
14722,
1052,
310,
4914,
51,
28901,
459,
9271,
3977,
18404,
9670,
28854,
11586,
25682,
9621,
678,
419,
657,
489,
17144,
1732,
45,
4048,
51,
87,
51,
819,
51,
8158,
49,
762,
46,
419,
657,
489,
17982,
1732,
45,
4048,
51,
87,
51,
819,
51,
1273,
49,
327,
5962,
49,
1532,
46,
984,
364,
17462,
51,
3830,
20311,
8447,
120,
1177,
419,
657,
1315,
365,
419,
657,
2276,
492,
303,
339,
4054,
964,
782,
7201,
37215,
739,
365,
320,
310,
11790,
8935,
299,
556,
11790,
45,
28176,
1046,
2643,
397,
739,
3697,
51,
842,
312,
310,
26819,
45,
13990,
312,
303,
339,
465,
496,
1806,
303,
581,
782,
13849,
724,
5333,
365,
320,
310,
418,
7055,
51,
7432,
941,
1848,
45,
802,
11949,
5238,
51,
35382,
100,
23455,
566,
9135,
45,
28176,
1046,
244,
54,
312,
303,
339,
465,
964,
782,
2539,
1121,
8447,
3742,
365,
320,
310,
556,
2242,
8447,
3742,
5763,
941,
22304,
1121,
28836,
2239,
1181,
444,
49,
27697,
49,
395,
333,
46,
984,
364,
17462,
51,
688,
8447,
45,
19546,
49,
655,
49,
395,
333,
509,
419,
657,
2276,
45,
24200,
36955,
1052,
303,
339,
465,
496,
1806,
303,
581,
782,
563,
3697,
1413,
45,
429,
1343,
1241,
49,
648,
47655,
49,
11790,
727,
46,
320,
310,
434,
327,
1375,
1241,
630,
13478,
2769,
51,
7921,
100,
3535,
100,
23455,
979,
47655,
630,
13478,
51,
6394,
100,
2966,
1293,
1343,
1241,
630,
13478,
2769,
51,
7921,
100,
3535,
100,
21743,
46,
320,
343,
364,
2661,
1089,
51,
390,
4433,
941,
9357,
13019,
3663,
492,
310,
339,
310,
2615,
51,
286,
3697,
1413,
45,
1375,
1241,
49,
47655,
49,
727,
312,
303,
339,
465,
496,
1806,
303,
581,
782,
563,
14986,
365,
320,
310,
434,
327,
114,
8447,
17554,
4433,
630,
762,
46,
320,
343,
364,
8447,
17554,
4433,
299,
556,
18652,
17554,
4433,
45,
24200,
36955,
1046,
364,
17462,
51,
390,
8447,
13779,
1052,
343,
364,
42566,
51,
43226,
45,
114,
8447,
17554,
4433,
312,
343,
434,
327,
114,
17462,
51,
390,
28836,
4236,
941,
911,
365,
630,
244,
53,
46,
320,
419,
364,
42566,
51,
28118,
1114,
45,
54,
312,
343,
339,
310,
339,
832,
320,
343,
364,
8447,
17554,
4433,
51,
9357,
13019,
3663,
492,
310,
339,
310,
758,
9263,
1552,
45,
14366,
1590,
51,
13729,
32235,
45,
14722,
4269,
15384,
45,
14366,
971,
51,
3319,
100,
35004,
100,
7516,
49,
244,
53,
894,
310,
2694,
1590,
4225,
299,
2694,
46951,
51,
7432,
492,
310,
434,
327,
397,
51,
12226,
1269,
365,
868,
244,
53,
979,
4225,
51,
21637,
1259,
1301,
365,
882,
364,
2661,
1089,
51,
390,
27341,
2950,
1177,
320,
343,
364,
2661,
1089,
51,
489,
27341,
2950,
45,
397,
51,
21637,
1259,
1301,
1052,
310,
339,
310,
2615,
51,
286,
14986,
492,
303,
339,
465,
496,
1806,
303,
581,
648,
3593,
724,
3364,
1259,
365,
320,
310,
364,
2661,
1089,
51,
2276,
11694,
492,
310,
461,
364,
2661,
1089,
51,
390,
27341,
2950,
492,
303,
339,
465,
496,
1806,
303,
581,
782,
563,
1114,
2668,
45,
4433,
1089,
11667,
2952,
49,
4340,
2221,
49,
648,
2764,
49,
1964,
828,
46,
320,
310,
910,
27697,
671,
64,
310,
434,
327,
2562,
882,
762,
46,
320,
343,
27697,
671,
299,
327,
671,
46,
2952,
51,
12244,
1094,
2746,
45,
2719,
312,
343,
364,
17462,
51,
471,
8304,
739,
1983,
45,
2719,
49,
27697,
671,
312,
310,
339,
832,
320,
343,
364,
17462,
51,
2276,
8304,
739,
1181,
8447,
46,
2221,
51,
36638,
1052,
310,
339,
4054,
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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1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 2,049 | true | 69.59825 | true | true |
FileRestControllerImpl.java | /FileExtraction/Java_unseen/lunasaw_yctc-hotel/altersoftware-hotel/src/main/java/com/altersoftware/hotel/controller/rest/impl/FileRestControllerImpl.java | package com.altersoftware.hotel.controller.rest.impl;
import static com.altersoftware.hotel.util.FileUtilsAlter.fileToByte;
import java.io.File;
import org.apache.commons.lang3.StringUtils;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.http.HttpHeaders;
import org.springframework.http.HttpStatus;
import org.springframework.http.MediaType;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;
import com.altersoftware.hotel.constant.ConstantHolder;
import com.altersoftware.hotel.constant.ResultCode;
import com.altersoftware.hotel.controller.rest.FileRestController;
import com.altersoftware.hotel.entity.ResultDO;
import com.altersoftware.hotel.util.UploadUtils;
/**
* @author hzx
* @date 2020/1/28 21:13
*/
@RestController
@ComponentScan({"com.altersoftware.hotel.service"})
@RequestMapping("/file")
public class FileRestControllerImpl implements FileRestController {
/**
* 上传文件
*/
@Override
@PostMapping("upload")
public ResultDO<Void> upload(@RequestParam("file") MultipartFile file, @RequestParam("fileType") String fileType,
@RequestParam("fileName") String fileName) {
// 参数校验
if (file.isEmpty() || StringUtils.isBlank(fileType) || StringUtils.isBlank(fileName)) {
return new ResultDO<Void>(false, ResultCode.PARAMETER_INVALID,
ResultCode.MSG_PARAMETER_INVALID, null);
}
// 图片上传
if (ConstantHolder.IMG_FILE.equals(fileType)) {
// // 判断文件夹是否存在 不存在创建文件夹
// if (!isDirExists(ConstantHolder.IMG_SAVE_PATH)) {
// return new ResultDO<Void>(false, ResultCode.DATABASE_CAN_NOT_FIND_DATA,
// ResultCode.MSG_DATABASE_CAN_NOT_FIND_DATA, null);
// }
// String s = ConstantHolder.IMG_SAVE_PATH + fileName;
// 后缀
// File dest = new File(s);
try {
// file.transferTo(dest);
byte[] buffer = file.getBytes();
// File file1 = UploadUtils.MultipartFileToFile(file);
UploadUtils.uploadFile(buffer, ConstantHolder.IMG_SAVE_PATH, fileName);
return new ResultDO<>(true, ResultCode.SUCCESS, ResultCode.MSG_SUCCESS, null);
} catch (Exception e) {
e.printStackTrace();
}
return new ResultDO<Void>(false, ResultCode.DATABASE_CAN_NOT_FIND_DATA,
ResultCode.MSG_DATABASE_CAN_NOT_FIND_DATA, null);
}
return null;
}
/**
* 获取本地图片
*/
@Override
@GetMapping(value = "img/{imageName}")
public ResponseEntity<byte[]> getImage(@PathVariable("imageName") String imageName) {
byte[] imageContent;
imageContent = fileToByte(new File(ConstantHolder.IMG_SAVE_PATH + imageName));
final HttpHeaders headers = new HttpHeaders();
headers.setContentType(MediaType.IMAGE_JPEG);
return new ResponseEntity<>(imageContent, headers, HttpStatus.OK);
}
}
| 3,188 | Java | .java | lunasaw/yctc-hotel | 11 | 4 | 0 | 2020-01-16T12:46:52Z | 2023-06-15T00:37:47Z | 7892233baa1e44a870c2bee5c52f9561394c23176bf92ec4a0f0d248586bc5e2 | [] | [
1337,
785,
51,
17776,
12300,
51,
32460,
51,
4641,
51,
4756,
51,
3126,
64,
222,
222,
485,
924,
785,
51,
17776,
12300,
51,
32460,
51,
1058,
51,
39463,
18835,
51,
781,
724,
3945,
64,
222,
222,
485,
1401,
51,
735,
51,
991,
64,
222,
222,
485,
1105,
51,
2121,
51,
8381,
51,
1600,
56,
51,
15193,
64,
222,
485,
1105,
51,
4140,
51,
1834,
51,
4341,
51,
1735,
8818,
64,
222,
485,
1105,
51,
4140,
51,
544,
51,
42317,
64,
222,
485,
1105,
51,
4140,
51,
544,
51,
25631,
64,
222,
485,
1105,
51,
4140,
51,
544,
51,
17999,
64,
222,
485,
1105,
51,
4140,
51,
544,
51,
1416,
2234,
64,
222,
485,
1105,
51,
4140,
51,
1857,
51,
2555,
51,
4341,
7737,
222,
485,
1105,
51,
4140,
51,
1857,
51,
17947,
51,
32477,
991,
64,
222,
222,
485,
785,
51,
17776,
12300,
51,
32460,
51,
8696,
51,
5476,
6773,
64,
222,
485,
785,
51,
17776,
12300,
51,
32460,
51,
8696,
51,
46003,
64,
222,
485,
785,
51,
17776,
12300,
51,
32460,
51,
4641,
51,
4756,
51,
991,
29577,
64,
222,
485,
785,
51,
17776,
12300,
51,
32460,
51,
2244,
51,
1413,
1700,
64,
222,
485,
785,
51,
17776,
12300,
51,
32460,
51,
1058,
51,
7847,
2769,
64,
222,
222,
1350,
222,
338,
496,
2133,
439,
19512,
222,
338,
496,
787,
244,
55,
53,
55,
53,
52,
54,
52,
55,
61,
244,
55,
54,
63,
54,
56,
222,
588,
222,
69,
29577,
222,
69,
1735,
8818,
15540,
527,
51,
17776,
12300,
51,
32460,
51,
2140,
15147,
222,
69,
15701,
4229,
781,
678,
222,
942,
462,
2050,
29577,
3499,
4584,
2050,
29577,
320,
465,
1041,
294,
338,
244,
21894,
6162,
294,
588,
303,
496,
1806,
303,
496,
35827,
459,
4480,
678,
303,
581,
4717,
1700,
65,
10717,
67,
7629,
4810,
25461,
459,
781,
678,
27995,
521,
991,
822,
49,
496,
25461,
459,
44930,
678,
910,
25262,
49,
310,
496,
25461,
459,
10452,
678,
910,
11221,
46,
320,
603,
453,
31365,
39256,
310,
434,
327,
781,
51,
6401,
365,
1293,
26582,
51,
40481,
45,
44930,
46,
1293,
26582,
51,
40481,
45,
10452,
509,
320,
343,
461,
556,
4717,
1700,
65,
10717,
1579,
1886,
49,
4717,
1241,
51,
13302,
100,
8614,
49,
419,
4717,
1241,
51,
8041,
100,
13302,
100,
8614,
49,
762,
312,
310,
339,
603,
453,
244,
14738,
21894,
310,
434,
327,
5476,
6773,
51,
16520,
100,
3555,
51,
3591,
45,
44930,
509,
320,
343,
453,
453,
36620,
38533,
9271,
13326,
26344,
13326,
10049,
38533,
343,
453,
434,
1445,
316,
2995,
7544,
45,
5476,
6773,
51,
16520,
100,
24351,
100,
4088,
509,
320,
343,
453,
461,
556,
4717,
1700,
65,
10717,
1579,
1886,
49,
4717,
1241,
51,
20536,
100,
16808,
100,
3922,
100,
24691,
100,
4629,
49,
343,
453,
4717,
1241,
51,
8041,
100,
20536,
100,
16808,
100,
3922,
100,
24691,
100,
4629,
49,
762,
312,
343,
453,
339,
343,
453,
910,
328,
299,
15027,
6773,
51,
16520,
100,
24351,
100,
4088,
494,
11221,
64,
343,
453,
244,
5054,
38732,
343,
453,
2050,
3481,
299,
556,
2050,
45,
120,
312,
1083,
1614,
320,
419,
453,
822,
51,
10687,
724,
45,
3332,
312,
419,
3447,
1197,
3129,
299,
822,
51,
19682,
492,
419,
453,
2050,
822,
54,
299,
16212,
2769,
51,
32477,
991,
22944,
45,
781,
312,
419,
16212,
2769,
51,
4480,
991,
45,
2683,
49,
15027,
6773,
51,
16520,
100,
24351,
100,
4088,
49,
11221,
312,
419,
461,
556,
4717,
1700,
11530,
1527,
49,
4717,
1241,
51,
6696,
49,
4717,
1241,
51,
8041,
100,
6696,
49,
762,
312,
343,
339,
2385,
327,
1002,
503,
46,
320,
419,
503,
51,
9428,
492,
343,
339,
343,
461,
556,
4717,
1700,
65,
10717,
1579,
1886,
49,
4717,
1241,
51,
20536,
100,
16808,
100,
3922,
100,
24691,
100,
4629,
49,
419,
4717,
1241,
51,
8041,
100,
20536,
100,
16808,
100,
3922,
100,
24691,
100,
4629,
49,
762,
312,
310,
339,
603,
461,
762,
64,
303,
339,
465,
1041,
294,
338,
13614,
25803,
14738,
294,
588,
303,
496,
1806,
303,
496,
26521,
45,
872,
299,
332,
1296,
5274,
915,
577,
8531,
303,
581,
22085,
65,
2278,
16420,
44066,
4810,
25645,
459,
915,
577,
678,
910,
1802,
577,
46,
320,
310,
3447,
1197,
1802,
1795,
64,
310,
1802,
1795,
299,
822,
724,
3945,
45,
909,
2050,
45,
5476,
6773,
51,
16520,
100,
24351,
100,
4088,
494,
1802,
577,
894,
310,
1175,
4699,
6273,
4839,
299,
556,
4699,
6273,
492,
310,
4839,
51,
489,
14257,
45,
17999,
51,
10407,
100,
30647,
312,
310,
461,
556,
22085,
11530,
915,
1795,
49,
4839,
49,
31961,
51,
2966,
312,
303,
339,
222,
222,
130,
222
] | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,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jects/src/ims/spinalinjuries/vo/lookups/FCSemenCulture.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.spinalinjuries.vo.lookups;
import ims.framework.cn.data.TreeNode;
import java.util.ArrayList;
import ims.framework.utils.Image;
import ims.framework.utils.Color;
public class FCSemenCulture extends ims.vo.LookupInstVo implements TreeNode
{
private static final long serialVersionUID = 1L;
public FCSemenCulture()
{
super();
}
public FCSemenCulture(int id)
{
super(id, "", true);
}
public FCSemenCulture(int id, String text, boolean active)
{
super(id, text, active, null, null, null);
}
public FCSemenCulture(int id, String text, boolean active, FCSemenCulture parent, Image image)
{
super(id, text, active, parent, image);
}
public FCSemenCulture(int id, String text, boolean active, FCSemenCulture parent, Image image, Color color)
{
super(id, text, active, parent, image, color);
}
public FCSemenCulture(int id, String text, boolean active, FCSemenCulture parent, Image image, Color color, int order)
{
super(id, text, active, parent, image, color, order);
}
public static FCSemenCulture buildLookup(ims.vo.LookupInstanceBean bean)
{
return new FCSemenCulture(bean.getId(), bean.getText(), bean.isActive());
}
public String toString()
{
if(getText() != null)
return getText();
return "";
}
public TreeNode getParentNode()
{
return (FCSemenCulture)super.getParentInstance();
}
public FCSemenCulture getParent()
{
return (FCSemenCulture)super.getParentInstance();
}
public void setParent(FCSemenCulture parent)
{
super.setParentInstance(parent);
}
public TreeNode[] getChildren()
{
ArrayList children = super.getChildInstances();
FCSemenCulture[] typedChildren = new FCSemenCulture[children.size()];
for (int i = 0; i < children.size(); i++)
{
typedChildren[i] = (FCSemenCulture)children.get(i);
}
return typedChildren;
}
public int addChild(TreeNode child)
{
if (child instanceof FCSemenCulture)
{
super.addChild((FCSemenCulture)child);
}
return super.getChildInstances().size();
}
public int removeChild(TreeNode child)
{
if (child instanceof FCSemenCulture)
{
super.removeChild((FCSemenCulture)child);
}
return super.getChildInstances().size();
}
public Image getExpandedImage()
{
return super.getImage();
}
public Image getCollapsedImage()
{
return super.getImage();
}
public static ims.framework.IItemCollection getNegativeInstancesAsIItemCollection()
{
FCSemenCultureCollection result = new FCSemenCultureCollection();
return result;
}
public static FCSemenCulture[] getNegativeInstances()
{
return new FCSemenCulture[] {};
}
public static String[] getNegativeInstanceNames()
{
return new String[] {};
}
public static FCSemenCulture getNegativeInstance(String name)
{
if(name == null)
return null;
// No negative instances found
return null;
}
public static FCSemenCulture getNegativeInstance(Integer id)
{
if(id == null)
return null;
// No negative instances found
return null;
}
public int getTypeId()
{
return TYPE_ID;
}
public static final int TYPE_ID = 1051122;
}
| 4,727 | Java | .java | IMS-MAXIMS/openMAXIMS | 61 | 50 | 23 | 2014-06-12T12:04:02Z | 2020-07-31T09:34:49Z | 16ba0f43a02803d0a496c0709f6b73fea16a1e7f2d49acd276d50d48183f47ce | [] | [
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,
438,
871,
48171,
324,
753,
51,
2103,
51,
6436,
9026,
64,
222,
222,
485,
3987,
120,
51,
2863,
51,
4999,
51,
624,
51,
15422,
64,
222,
485,
1401,
51,
1058,
51,
7119,
64,
222,
485,
3987,
120,
51,
2863,
51,
2324,
51,
1675,
64,
222,
485,
3987,
120,
51,
2863,
51,
2324,
51,
1530,
64,
222,
222,
942,
462,
525,
3765,
423,
291,
12093,
2041,
3987,
120,
51,
2103,
51,
10138,
3245,
12536,
4584,
21390,
222,
128,
222,
221,
2072,
924,
1175,
1964,
19896,
299,
244,
54,
81,
64,
499,
221,
942,
525,
3765,
423,
291,
12093,
365,
222,
221,
128,
376,
221,
5282,
492,
222,
221,
130,
222,
221,
942,
525,
3765,
423,
291,
12093,
45,
429,
828,
46,
222,
221,
128,
376,
221,
5282,
45,
333,
49,
4343,
878,
312,
222,
221,
130,
222,
221,
942,
525,
3765,
423,
291,
12093,
45,
429,
828,
49,
910,
1367,
49,
1922,
4537,
46,
222,
221,
128,
376,
221,
5282,
45,
333,
49,
1367,
49,
4537,
49,
762,
49,
762,
49,
762,
312,
222,
221,
130,
222,
221,
942,
525,
3765,
423,
291,
12093,
45,
429,
828,
49,
910,
1367,
49,
1922,
4537,
49,
525,
3765,
423,
291,
12093,
2952,
49,
4393,
1802,
46,
222,
221,
128,
376,
221,
5282,
45,
333,
49,
1367,
49,
4537,
49,
2952,
49,
1802,
312,
222,
221,
130,
222,
221,
942,
525,
3765,
423,
291,
12093,
45,
429,
828,
49,
910,
1367,
49,
1922,
4537,
49,
525,
3765,
423,
291,
12093,
2952,
49,
4393,
1802,
49,
5459,
1989,
46,
222,
221,
128,
376,
221,
5282,
45,
333,
49,
1367,
49,
4537,
49,
2952,
49,
1802,
49,
1989,
312,
222,
221,
130,
222,
221,
942,
525,
3765,
423,
291,
12093,
45,
429,
828,
49,
910,
1367,
49,
1922,
4537,
49,
525,
3765,
423,
291,
12093,
2952,
49,
4393,
1802,
49,
5459,
1989,
49,
648,
2554,
46,
222,
221,
128,
376,
221,
5282,
45,
333,
49,
1367,
49,
4537,
49,
2952,
49,
1802,
49,
1989,
49,
2554,
312,
222,
221,
130,
222,
221,
942,
924,
525,
3765,
423,
291,
12093,
1984,
10138,
45,
16178,
51,
2103,
51,
10138,
1825,
5358,
15999,
46,
222,
221,
128,
376,
221,
620,
556,
525,
3765,
423,
291,
12093,
45,
12455,
51,
7068,
1046,
15999,
51,
10624,
1046,
15999,
51,
22630,
1052,
222,
221,
130,
222,
221,
942,
910,
11349,
365,
222,
221,
128,
376,
221,
344,
45,
10624,
365,
882,
762,
46,
374,
221,
620,
40972,
492,
376,
221,
620,
5127,
222,
221,
130,
222,
221,
942,
21390,
38791,
1230,
365,
222,
221,
128,
376,
221,
620,
327,
75,
3765,
423,
291,
12093,
46,
5282,
51,
18777,
1825,
492,
222,
221,
130,
222,
221,
942,
525,
3765,
423,
291,
12093,
38791,
365,
222,
221,
128,
376,
221,
620,
327,
75,
3765,
423,
291,
12093,
46,
5282,
51,
18777,
1825,
492,
222,
221,
130,
222,
221,
942,
782,
758,
4449,
45,
75,
3765,
423,
291,
12093,
2952,
46,
222,
221,
128,
376,
221,
5282,
51,
40257,
1825,
45,
2562,
312,
222,
221,
130,
222,
221,
942,
21390,
1197,
640,
7646,
365,
222,
221,
128,
376,
221,
7119,
5727,
299,
2615,
51,
24200,
8354,
492,
376,
221,
75,
3765,
423,
291,
12093,
1197,
20641,
7646,
299,
556,
525,
3765,
423,
291,
12093,
96,
4931,
51,
911,
22061,
376,
221,
999,
327,
429,
613,
299,
244,
53,
64,
613,
350,
5727,
51,
911,
492,
613,
2002,
376,
221,
128,
374,
221,
19049,
7646,
96,
110,
98,
299,
327,
75,
3765,
423,
291,
12093,
46,
4931,
51,
390,
45,
110,
312,
376,
221,
130,
376,
221,
620,
20641,
7646,
64,
222,
221,
130,
222,
221,
942,
648,
1035,
2950,
45,
15422,
2851,
46,
222,
221,
128,
376,
221,
344,
327,
2680,
5118,
525,
3765,
423,
291,
12093,
46,
376,
221,
128,
374,
221,
5282,
51,
21523,
1181,
75,
3765,
423,
291,
12093,
46,
2680,
312,
376,
221,
130,
376,
221,
620,
2615,
51,
24200,
8354,
941,
911,
492,
222,
221,
130,
222,
221,
942,
648,
3365,
2950,
45,
15422,
2851,
46,
222,
221,
128,
376,
221,
344,
327,
2680,
5118,
525,
3765,
423,
291,
12093,
46,
376,
221,
128,
374,
221,
5282,
51,
28844,
1181,
75,
3765,
423,
291,
12093,
46,
2680,
312,
376,
221,
130,
376,
221,
620,
2615,
51,
24200,
8354,
941,
911,
492,
222,
221,
130,
222,
221,
942,
4393,
640,
23777,
1675,
365,
222,
221,
128,
376,
221,
620,
2615,
51,
25414,
492,
222,
221,
130,
222,
221,
942,
4393,
640,
33832,
1675,
365,
222,
221,
128,
376,
221,
620,
2615,
51,
25414,
492,
222,
221,
130,
222,
221,
942,
924,
3987,
120,
51,
2863,
51,
78,
1114,
2272,
640,
17144,
8354,
1482,
78,
1114,
2272,
365,
222,
221,
128,
376,
221,
75,
3765,
423,
291,
12093,
2272,
1074,
299,
556,
525,
3765,
423,
291,
12093,
2272,
492,
376,
221,
620,
1074,
64,
222,
221,
130,
222,
221,
942,
924,
525,
3765,
423,
291,
12093,
1197,
640,
17144,
8354,
365,
222,
221,
128,
376,
221,
620,
556,
525,
3765,
423,
291,
12093,
1197,
5340,
222,
221,
130,
222,
221,
942,
924,
910,
1197,
640,
17144,
1825,
4128,
365,
222,
221,
128,
376,
221,
620,
556,
910,
1197,
5340,
222,
221,
130,
222,
221,
942,
924,
525,
3765,
423,
291,
12093,
640,
17144,
1825,
45,
671,
655,
46,
222,
221,
128,
376,
221,
344,
45,
444,
630,
762,
46,
374,
221,
620,
762,
64,
376,
221,
325,
3155,
11058,
6947,
2448,
376,
221,
620,
762,
64,
222,
221,
130,
222,
221,
942,
924,
525,
3765,
423,
291,
12093,
640,
17144,
1825,
45,
3078,
828,
46,
222,
221,
128,
376,
221,
344,
45,
333,
630,
762,
46,
374,
221,
620,
762,
64,
376,
221,
325,
3155,
11058,
6947,
2448,
376,
221,
620,
762,
64,
222,
221,
130,
222,
221,
942,
648,
640,
15618,
365,
222,
221,
128,
376,
221,
620,
11405,
100,
798,
64,
222,
221,
130,
222,
221,
942,
924,
1175,
648,
11405,
100,
798,
299,
244,
54,
53,
58,
54,
54,
55,
55,
64,
222,
130,
222
] | [
[
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,310 | true | 61.243918 | true | true |
RowCountManager.java | /FileExtraction/Java_unseen/blobcity_db/engine/src/main/java/com/blobcity/db/data/RowCountManager.java | /**
* Copyright (C) 2018 BlobCity 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 this program. If not, see <http://www.gnu.org/licenses/>.
*/
package com.blobcity.db.data;
import com.blobcity.db.exceptions.ErrorCode;
import com.blobcity.db.exceptions.OperationException;
import com.blobcity.db.sql.util.PathUtil;
import java.io.IOException;
import java.nio.charset.Charset;
import java.nio.file.FileSystems;
import java.nio.file.Files;
import java.nio.file.Path;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;
/**
* Reading and writing row count values to and from the table specific row count files
*
* @author sanketsarang
*/
@Component
public class RowCountManager {
/**
* Reads the table row count file located at BC_HOME/{app}/db/{table}/meta/row-count.bdb
*
* @param app the application id of the BlobCity application
* @param table name of table within the application
* @return the number of rows currently in the specified table as reported by the row count file
* @throws OperationException if an I/O error occurs in reading the file. Also thrown if the application id and table combinations are invalid/inexistent
*/
public long readCount(final String app, final String table) throws OperationException {
Path path = FileSystems.getDefault().getPath(PathUtil.tableRowCountFilePath(app, table));
try {
return Long.parseLong(Files.readAllLines(path, Charset.defaultCharset()).get(0));
} catch (IOException | NumberFormatException ex) {
LoggerFactory.getLogger(RowCountManager.class.getName()).error(null, ex);
throw new OperationException(ErrorCode.COLLECTION_ROW_COUNT_ERROR);
}
}
/**
* Writes the table row count to the file located at BC_HOME/{app}/db/{table}/meta/row-count.bdb. The function will either create or update the file
*
* @param app the application id of the BlobCity application
* @param table name of table within the application
* @param count the row count value to be stored in the file
* @throws OperationException if an I/O error occurs while writing to the file. Also if the app and table combination is invalid/inexistent
*/
public void writeCount(final String app, final String table, final long count) throws OperationException {
Path path = FileSystems.getDefault().getPath(PathUtil.tableRowCountFilePath(app, table));
try {
Files.write(path, ("" + count).getBytes());
} catch (IOException ex) {
LoggerFactory.getLogger(RowCountManager.class.getName()).error(null, ex);
throw new OperationException(ErrorCode.COLLECTION_ROW_COUNT_ERROR);
}
}
}
| 3,322 | Java | .java | blobcity/db | 173 | 21 | 33 | 2018-09-01T08:59:25Z | 2024-03-14T09:02:13Z | f1347888c798417ac5931c824e8290142e1be3c07c7a1f8a5af0515f8962176b | [] | [
1350,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
54,
61,
18125,
11134,
6367,
222,
338,
222,
338,
1369,
3477,
458,
3760,
2951,
63,
863,
902,
14081,
580,
480,
52,
290,
5370,
222,
338,
580,
1549,
341,
5974,
451,
341,
6994,
30994,
6153,
5062,
1196,
641,
9582,
222,
338,
829,
341,
7834,
3870,
7120,
49,
3173,
1522,
244,
56,
451,
341,
1196,
49,
575,
222,
338,
327,
288,
1390,
2489,
46,
1364,
6146,
1522,
51,
222,
338,
222,
338,
1369,
3477,
458,
2744,
347,
341,
9850,
708,
580,
1118,
545,
6386,
49,
222,
338,
1294,
4213,
2979,
9345,
64,
2895,
4462,
341,
4506,
14319,
451,
222,
338,
7934,
575,
8114,
4800,
418,
7848,
7763,
51,
244,
2819,
341,
222,
338,
6994,
30994,
6153,
5062,
1196,
456,
1851,
4261,
51,
222,
338,
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,
222,
1337,
785,
51,
3020,
5733,
51,
1219,
51,
624,
64,
222,
222,
485,
785,
51,
3020,
5733,
51,
1219,
51,
11453,
51,
10724,
64,
222,
485,
785,
51,
3020,
5733,
51,
1219,
51,
11453,
51,
14797,
64,
222,
485,
785,
51,
3020,
5733,
51,
1219,
51,
2622,
51,
1058,
51,
1233,
1747,
64,
222,
485,
1401,
51,
735,
51,
6860,
64,
222,
485,
1401,
51,
11780,
51,
15220,
51,
26052,
64,
222,
485,
1401,
51,
11780,
51,
781,
51,
13867,
120,
64,
222,
485,
1401,
51,
11780,
51,
781,
51,
3852,
64,
222,
485,
1401,
51,
11780,
51,
781,
51,
1233,
64,
222,
485,
1105,
51,
12172,
57,
111,
51,
19580,
64,
222,
485,
1105,
51,
4140,
51,
19017,
51,
1735,
64,
222,
222,
1350,
222,
338,
26391,
480,
4144,
2720,
2409,
2102,
391,
480,
664,
341,
1877,
2835,
2720,
2409,
2293,
222,
338,
222,
338,
496,
2133,
328,
1387,
5284,
27453,
222,
588,
222,
69,
1735,
222,
942,
462,
5582,
1552,
1590,
320,
465,
1041,
294,
338,
29513,
341,
1877,
2720,
2409,
822,
15300,
840,
18253,
100,
8452,
5274,
745,
3206,
1219,
5274,
1292,
3206,
2874,
52,
661,
50,
1016,
51,
28959,
294,
338,
294,
338,
496,
772,
1142,
341,
3039,
828,
451,
341,
18125,
11134,
3039,
294,
338,
496,
772,
1877,
655,
451,
1877,
4824,
341,
3039,
294,
338,
496,
620,
341,
1470,
451,
5793,
5937,
347,
341,
3205,
1877,
641,
14535,
829,
341,
2720,
2409,
822,
294,
338,
496,
5124,
11957,
1002,
434,
619,
457,
52,
84,
1067,
12996,
347,
9198,
341,
822,
51,
8688,
12165,
434,
341,
3039,
828,
480,
1877,
28409,
904,
5549,
52,
285,
29756,
294,
588,
303,
581,
1964,
1511,
1552,
45,
3242,
910,
1142,
49,
1175,
910,
1877,
46,
2589,
11957,
1002,
320,
310,
5404,
1536,
299,
27207,
120,
51,
13729,
941,
17676,
45,
1233,
1747,
51,
1292,
39685,
9141,
45,
745,
49,
1877,
894,
310,
1614,
320,
343,
461,
6374,
51,
2228,
3967,
45,
3852,
51,
870,
1947,
8690,
45,
1005,
49,
46987,
51,
1555,
26052,
4269,
390,
45,
53,
894,
310,
339,
2385,
327,
6860,
542,
5132,
25931,
557,
46,
320,
343,
21818,
51,
10588,
45,
39685,
1590,
51,
842,
51,
5175,
4269,
750,
45,
1710,
49,
557,
312,
343,
1440,
556,
11957,
1002,
45,
10724,
51,
29527,
100,
9330,
100,
7516,
100,
2946,
312,
310,
339,
303,
339,
465,
1041,
294,
338,
33807,
341,
1877,
2720,
2409,
391,
341,
822,
15300,
840,
18253,
100,
8452,
5274,
745,
3206,
1219,
5274,
1292,
3206,
2874,
52,
661,
50,
1016,
51,
28959,
51,
906,
686,
1118,
3173,
1506,
575,
1991,
341,
822,
294,
338,
294,
338,
496,
772,
1142,
341,
3039,
828,
451,
341,
18125,
11134,
3039,
294,
338,
496,
772,
1877,
655,
451,
1877,
4824,
341,
3039,
294,
338,
496,
772,
2409,
341,
2720,
2409,
804,
391,
545,
7129,
347,
341,
822,
294,
338,
496,
5124,
11957,
1002,
434,
619,
457,
52,
84,
1067,
12996,
2236,
4144,
391,
341,
822,
51,
8688,
434,
341,
1142,
480,
1877,
16619,
458,
5549,
52,
285,
29756,
294,
588,
303,
581,
782,
2886,
1552,
45,
3242,
910,
1142,
49,
1175,
910,
1877,
49,
1175,
1964,
2409,
46,
2589,
11957,
1002,
320,
310,
5404,
1536,
299,
27207,
120,
51,
13729,
941,
17676,
45,
1233,
1747,
51,
1292,
39685,
9141,
45,
745,
49,
1877,
894,
310,
1614,
320,
343,
11105,
51,
1838,
45,
1005,
49,
327,
1033,
494,
2409,
566,
19682,
1052,
310,
339,
2385,
327,
6860,
557,
46,
320,
343,
21818,
51,
10588,
45,
39685,
1590,
51,
842,
51,
5175,
4269,
750,
45,
1710,
49,
557,
312,
343,
1440,
556,
11957,
1002,
45,
10724,
51,
29527,
100,
9330,
100,
7516,
100,
2946,
312,
310,
339,
303,
339,
222,
130,
222
] | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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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
]
] | 786 | true | 71.944612 | true | true |
DataFlavorSerializedTest.java | /FileExtraction/Java_unseen/AdoptOpenJDK_openjdk-aarch64-jdk8u/jdk/test/java/awt/datatransfer/DataFlavor/DataFlavorSerializedTest.java | /*
* Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
@test
@bug 4174020
@summary DataFlavor.isMimeTypeSerializedObject works wrong
@author prs@sparc.spb.su: area=
@run main DataFlavorSerializedTest
*/
import java.awt.*;
import java.awt.datatransfer.DataFlavor;
public class DataFlavorSerializedTest {
public static boolean finished = false;
static DataFlavor df = null;
public static void main(String[] args) throws Exception {
df = new DataFlavor("application/x-java-serialized-object;class=java.io.Serializable");
boolean fl = df.isMimeTypeSerializedObject();
finished = true;
if (!fl)
throw new RuntimeException("Test FAILED");
}
}
| 1,719 | Java | .java | AdoptOpenJDK/openjdk-aarch64-jdk8u | 13 | 45 | 0 | 2020-07-16T16:13:20Z | 2021-09-29T14:47:41Z | 754502dc6f754f04361a0575e323a94b11902c9f7fce2e8476e377af0ca3ab85 | [] | [
1127,
222,
338,
2657,
327,
104,
46,
244,
55,
53,
54,
57,
49,
17980,
480,
52,
290,
2840,
25094,
51,
3381,
4760,
5225,
51,
222,
338,
4103,
2387,
23740,
1895,
35234,
8995,
2387,
11988,
1895,
8968,
10961,
30441,
51,
222,
338,
222,
338,
1369,
1361,
458,
3760,
2951,
64,
863,
902,
14081,
580,
480,
52,
290,
5370,
580,
222,
338,
1549,
341,
5974,
451,
341,
6994,
6153,
5062,
1196,
1522,
244,
55,
1773,
49,
641,
222,
338,
9582,
829,
341,
7834,
3870,
7120,
51,
222,
338,
222,
338,
1369,
1361,
458,
2744,
347,
341,
9850,
708,
580,
1118,
545,
6386,
49,
1294,
4213,
222,
338,
2979,
9345,
64,
2895,
4462,
341,
4506,
14319,
451,
7934,
575,
222,
338,
8114,
4800,
418,
7848,
7763,
51,
244,
2819,
341,
6994,
6153,
5062,
1196,
222,
338,
1522,
244,
55,
456,
1851,
4261,
327,
102,
1948,
458,
5976,
347,
341,
7621,
822,
708,
222,
338,
20854,
297,
4850,
477,
1361,
566,
222,
338,
222,
338,
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
6153,
5062,
1196,
1522,
222,
338,
244,
55,
7979,
642,
477,
1409,
64,
434,
666,
49,
2886,
391,
341,
7834,
3870,
7120,
49,
222,
338,
6367,
4345,
244,
58,
54,
34113,
1277,
49,
33316,
26912,
49,
25006,
49,
13083,
244,
53,
55,
54,
54,
53,
50,
54,
56,
53,
54,
15067,
51,
222,
338,
222,
338,
5304,
7272,
17980,
49,
244,
58,
53,
53,
17980,
27004,
3094,
49,
4777,
21100,
2432,
6868,
49,
10562,
244,
62,
57,
53,
59,
58,
15067,
222,
338,
575,
7739,
19955,
51,
11116,
51,
527,
434,
863,
1868,
5408,
2490,
575,
1178,
1364,
222,
338,
10034,
51,
222,
588,
222,
222,
1127,
353,
496,
881,
353,
496,
1468,
244,
57,
54,
60,
57,
53,
55,
53,
353,
496,
1386,
2426,
35402,
51,
316,
38817,
14313,
976,
4864,
6661,
353,
496,
2133,
1173,
120,
69,
438,
10272,
51,
27886,
51,
11580,
63,
5978,
66,
353,
496,
1967,
2594,
2426,
35402,
14313,
1024,
222,
1975,
222,
222,
485,
1401,
51,
8236,
7737,
222,
485,
1401,
51,
8236,
51,
18176,
28786,
1036,
51,
768,
35402,
64,
222,
222,
942,
462,
2426,
35402,
14313,
1024,
320,
294,
581,
924,
1922,
11285,
299,
920,
64,
294,
924,
2426,
35402,
5247,
299,
762,
64,
8060,
581,
924,
782,
2594,
45,
671,
1197,
2194,
46,
2589,
3284,
320,
295,
5247,
299,
556,
2426,
35402,
459,
3180,
52,
125,
50,
1874,
50,
15656,
50,
1491,
64,
842,
66,
1874,
51,
735,
51,
12644,
742,
295,
1922,
2040,
299,
5247,
51,
316,
38817,
14313,
976,
492,
295,
11285,
299,
878,
64,
295,
434,
1445,
1326,
46,
1819,
1440,
556,
13383,
459,
1024,
28663,
742,
294,
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
]
] | 445 | true | 70.622455 | true | true |
CandidateTokenProviderTest.java | /FileExtraction/Java_unseen/Talent-Catalog_talentcatalog/server/src/test/java/org/tctalent/server/security/CandidateTokenProviderTest.java | /*
* Copyright (c) 2023 Talent Beyond Boundaries.
*
* 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 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 org.tctalent.server.security;
import static org.junit.jupiter.api.Assertions.*;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.Arguments;
import org.junit.jupiter.params.provider.MethodSource;
import java.util.Arrays;
import java.util.List;
import java.util.stream.Stream;
class CandidateTokenProviderTest {
CandidateTokenProvider ctp;
@BeforeEach
void setUp() {
ctp = new CandidateTokenProvider();
ctp.setJwtSecretBase64("l0eZJNk7LmiX0+Xgnp/aNWWnlNy41rcDtmEXyRZRPys=");
}
@Test
void createToken() {
String numIn = "12345";
String s = ctp.generateToken(numIn, 30000);
System.out.println(s);
System.out.println("Length: " + s.length());
String num = ctp.getCandidateNumberFromToken(s);
assertEquals(numIn, num);
}
@Test
void oldCandidateOnlyTokenWorksWithCvClaimDecoding() {
String numIn = "12345";
String s = ctp.generateToken(numIn, 30000);
System.out.println(s);
System.out.println("Length: " + s.length());
CvClaims claims = ctp.getCvClaimsFromToken(s);
assertEquals(numIn, claims.candidateNumber());
assertNotNull(claims.candidateOccupationIds());
assertTrue(claims.candidateOccupationIds().isEmpty());
}
static Stream<Arguments> generateCvClaimsRoundTripData() {
return Stream.of(
Arguments.of("12345", false, null ),
Arguments.of("23456", false, Arrays.asList(new Long[] {})),
Arguments.of("34567", true, Arrays.asList(new Long[] {})),
Arguments.of("45678", true, Arrays.asList(new Long[] {1L})),
Arguments.of("56789", true, Arrays.asList(new Long[] {2L,3L}))
);
}
@ParameterizedTest
@MethodSource("generateCvClaimsRoundTripData")
void cvClaimsRoundTrip(String candidateNumber, boolean restrictCandidateOccupations, List<Long> candidateOccupations) {
String s = ctp.generateCvToken(new CvClaims(candidateNumber, restrictCandidateOccupations, candidateOccupations), 30000);
System.out.println(s);
System.out.println("Length: " + s.length());
CvClaims claims = ctp.getCvClaimsFromToken(s);
assertEquals(candidateNumber, claims.candidateNumber());
assertEquals(restrictCandidateOccupations, claims.restrictCandidateOccupations());
if( restrictCandidateOccupations ) {
assertArrayEquals(candidateOccupations.toArray(), claims.candidateOccupationIds().toArray());
}else{
assertNotNull(claims.candidateOccupationIds());
assertTrue(claims.candidateOccupationIds().isEmpty());
}
}
}
| 3,532 | Java | .java | Talent-Catalog/talentcatalog | 9 | 4 | 271 | 2021-01-27T03:02:03Z | 2024-05-09T09:05:42Z | 4c870d4b5a44476f8b15a54068ceafb743208f43478d692a6cf3b56a07a9b293 | [] | [
1127,
222,
338,
2657,
327,
104,
46,
244,
55,
53,
55,
56,
413,
9569,
570,
929,
6263,
16243,
5299,
51,
222,
338,
222,
338,
1369,
3477,
458,
3760,
2951,
63,
863,
902,
14081,
580,
480,
52,
290,
5370,
580,
1549,
222,
338,
341,
5974,
451,
341,
6994,
30994,
6153,
5062,
1196,
641,
9582,
829,
341,
7834,
222,
338,
3870,
7120,
49,
3173,
1522,
244,
56,
451,
341,
1196,
49,
575,
1364,
6146,
1522,
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,
222,
338,
8114,
4800,
418,
7848,
7763,
51,
2819,
341,
6994,
30994,
6153,
5062,
1196,
222,
338,
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,
1691,
666,
49,
2337,
1698,
574,
1516,
51,
10627,
51,
1107,
52,
4205,
4735,
222,
588,
222,
222,
1337,
1105,
51,
121,
307,
9569,
51,
1805,
51,
4386,
64,
222,
222,
485,
924,
1105,
51,
3946,
51,
14127,
51,
1256,
51,
16980,
7737,
222,
222,
485,
1105,
51,
3946,
51,
14127,
51,
1256,
51,
32361,
64,
222,
485,
1105,
51,
3946,
51,
14127,
51,
1256,
51,
1024,
64,
222,
485,
1105,
51,
3946,
51,
14127,
51,
2155,
51,
33588,
1024,
64,
222,
485,
1105,
51,
3946,
51,
14127,
51,
2155,
51,
6390,
51,
8560,
64,
222,
485,
1105,
51,
3946,
51,
14127,
51,
2155,
51,
6390,
51,
1885,
2044,
64,
222,
222,
485,
1401,
51,
1058,
51,
9981,
64,
222,
485,
1401,
51,
1058,
51,
739,
64,
222,
485,
1401,
51,
1058,
51,
2255,
51,
1880,
64,
222,
222,
842,
409,
7985,
1781,
2588,
1024,
320,
465,
409,
7985,
1781,
2588,
300,
510,
64,
465,
496,
32361,
303,
782,
14544,
365,
320,
310,
300,
510,
299,
556,
409,
7985,
1781,
2588,
492,
310,
300,
510,
51,
489,
28100,
7795,
1778,
59,
57,
459,
113,
53,
106,
95,
40559,
112,
60,
81,
4557,
93,
53,
48,
93,
2331,
117,
52,
8385,
18872,
8387,
25940,
57,
54,
918,
73,
6565,
1478,
126,
87,
95,
5743,
1291,
31503,
303,
339,
465,
496,
1024,
303,
782,
1506,
1781,
365,
320,
603,
910,
1952,
402,
299,
332,
54,
55,
56,
57,
58,
884,
603,
910,
328,
299,
300,
510,
51,
5555,
1781,
45,
1538,
402,
49,
244,
56,
53,
53,
53,
53,
312,
603,
1189,
51,
560,
51,
3962,
45,
120,
312,
310,
1189,
51,
560,
51,
3962,
459,
2396,
63,
332,
494,
328,
51,
1340,
1052,
603,
910,
1952,
299,
300,
510,
51,
11641,
7985,
1936,
1811,
1781,
45,
120,
312,
310,
3803,
45,
1538,
402,
49,
1952,
312,
303,
339,
4054,
496,
1024,
303,
782,
3627,
19472,
4505,
1781,
3003,
8621,
30709,
11346,
703,
3225,
365,
320,
603,
910,
1952,
402,
299,
332,
54,
55,
56,
57,
58,
884,
603,
910,
328,
299,
300,
510,
51,
5555,
1781,
45,
1538,
402,
49,
244,
56,
53,
53,
53,
53,
312,
603,
1189,
51,
560,
51,
3962,
45,
120,
312,
310,
1189,
51,
560,
51,
3962,
459,
2396,
63,
332,
494,
328,
51,
1340,
1052,
603,
409,
123,
21572,
22851,
299,
300,
510,
51,
11641,
123,
21572,
1811,
1781,
45,
120,
312,
310,
3803,
45,
1538,
402,
49,
22851,
51,
16141,
1936,
1052,
310,
17141,
45,
30313,
51,
16141,
41723,
387,
5345,
1052,
310,
9396,
45,
30313,
51,
16141,
41723,
387,
5345,
941,
6401,
1052,
303,
339,
465,
924,
7552,
65,
8560,
67,
4468,
30709,
21572,
10242,
16913,
768,
365,
320,
310,
461,
7552,
51,
1048,
45,
419,
15847,
51,
1048,
459,
54,
55,
56,
57,
58,
411,
920,
49,
762,
2604,
419,
15847,
51,
1048,
459,
55,
56,
57,
58,
59,
411,
920,
49,
14479,
51,
14100,
45,
909,
6374,
1197,
12794,
490,
419,
15847,
51,
1048,
459,
56,
57,
58,
59,
60,
411,
878,
49,
14479,
51,
14100,
45,
909,
6374,
1197,
12794,
490,
419,
15847,
51,
1048,
459,
57,
58,
59,
60,
61,
411,
878,
49,
14479,
51,
14100,
45,
909,
6374,
1197,
320,
54,
81,
1770,
490,
419,
15847,
51,
1048,
459,
58,
59,
60,
61,
62,
411,
878,
49,
14479,
51,
14100,
45,
909,
6374,
1197,
320,
55,
81,
49,
56,
81,
18396,
310,
1110,
303,
339,
303,
496,
33588,
1024,
303,
496,
1885,
2044,
459,
5555,
30709,
21572,
10242,
16913,
768,
678,
303,
782,
6781,
21572,
10242,
16913,
45,
671,
15164,
1936,
49,
1922,
21452,
19472,
41723,
1014,
49,
1701,
65,
3967,
67,
15164,
41723,
1014,
46,
320,
6934,
910,
328,
299,
300,
510,
51,
5555,
30709,
1781,
45,
909,
409,
123,
21572,
45,
16141,
1936,
49,
21452,
19472,
41723,
1014,
49,
15164,
41723,
1014,
490,
244,
56,
53,
53,
53,
53,
312,
603,
1189,
51,
560,
51,
3962,
45,
120,
312,
310,
1189,
51,
560,
51,
3962,
459,
2396,
63,
332,
494,
328,
51,
1340,
1052,
603,
409,
123,
21572,
22851,
299,
300,
510,
51,
11641,
123,
21572,
1811,
1781,
45,
120,
312,
310,
3803,
45,
16141,
1936,
49,
22851,
51,
16141,
1936,
1052,
310,
3803,
45,
20741,
19472,
41723,
1014,
49,
22851,
51,
20741,
19472,
41723,
1014,
1052,
603,
434,
45,
21452,
19472,
41723,
1014,
848,
320,
343,
1217,
24719,
45,
16141,
41723,
1014,
51,
14315,
1046,
22851,
51,
16141,
41723,
387,
5345,
941,
14315,
1052,
310,
339,
728,
128,
343,
17141,
45,
30313,
51,
16141,
41723,
387,
5345,
1052,
343,
9396,
45,
30313,
51,
16141,
41723,
387,
5345,
941,
6401,
1052,
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,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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
]
] | 923 | true | 67.100793 | true | true |
11063 B2-Sequence.java | /FileExtraction/Java_unseen/PuzzlesLab_UVA/King/11063 B2-Sequence.java | import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.HashSet;
import java.util.StringTokenizer;
class Main {
public static void main(String[] args) throws Exception {
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
String s;
int tc=1;
while ((s=br.readLine())!=null) {
int N=Integer.parseInt(s);
int [] nums=new int [N];
StringTokenizer st=new StringTokenizer(br.readLine());
boolean seqOK=true;
for (int n=0;n<N;n++) {
nums[n]=Integer.parseInt(st.nextToken());
if (nums[n]<1) seqOK=false;
if (n>0 && nums[n]<=nums[n-1]) seqOK=false;
}
HashSet<Integer> exists=new HashSet<>();
boolean hasDup=false;
if (seqOK) {
for (int i=0;i<N && !hasDup;i++) {
for (int j=i;j<N && !hasDup;j++) {
int sum=nums[i]+nums[j];
if (exists.contains(sum)) {
hasDup=true;
break;
}
exists.add(sum);
}
}
}
StringBuilder sb=new StringBuilder();
sb.append("Case #");
sb.append(tc);
sb.append(": It is ");
if (!seqOK || hasDup) sb.append("not ");
sb.append("a B2-Sequence.\n");
System.out.println(sb.toString());
tc++;
br.readLine(); // blank.
}
}
}
| 1,222 | Java | .java | PuzzlesLab/UVA | 21 | 23 | 2 | 2016-03-15T17:15:27Z | 2024-04-11T15:48:13Z | f156146fbc90ea4fa968a9d236201b904243bf98034e85b4eef85b5edbbc2d82 | [] | [
485,
1401,
51,
735,
51,
35094,
64,
222,
485,
1401,
51,
735,
51,
6989,
3314,
64,
222,
485,
1401,
51,
1058,
51,
17163,
64,
222,
485,
1401,
51,
1058,
51,
671,
22411,
64,
222,
222,
842,
6697,
320,
499,
221,
942,
924,
782,
2594,
45,
671,
1197,
2194,
46,
2589,
3284,
320,
376,
221,
35094,
3220,
66,
909,
28731,
45,
909,
40678,
45,
1615,
51,
285,
894,
376,
221,
671,
328,
64,
376,
221,
429,
12893,
66,
54,
64,
376,
221,
5544,
1849,
120,
66,
858,
51,
29240,
1177,
6917,
1710,
46,
320,
374,
221,
429,
508,
66,
3078,
51,
11824,
45,
120,
312,
374,
221,
429,
1627,
12988,
66,
909,
648,
447,
83,
988,
374,
221,
671,
22411,
395,
66,
909,
910,
22411,
45,
858,
51,
29240,
1052,
374,
221,
4412,
8717,
2966,
66,
1527,
64,
374,
221,
999,
327,
429,
329,
66,
53,
64,
115,
65,
83,
64,
115,
2002,
320,
621,
221,
14558,
96,
115,
7813,
3078,
51,
11824,
45,
289,
51,
34074,
1052,
621,
221,
344,
327,
14558,
96,
115,
11331,
54,
46,
8717,
2966,
66,
1886,
64,
621,
221,
344,
327,
115,
67,
53,
979,
12988,
96,
115,
98,
10060,
14558,
96,
115,
50,
54,
1156,
8717,
2966,
66,
1886,
64,
374,
221,
130,
8212,
221,
17163,
65,
3078,
67,
5394,
66,
909,
14253,
6984,
374,
221,
4412,
1421,
30370,
66,
1886,
64,
374,
221,
344,
327,
4974,
2966,
46,
320,
621,
221,
999,
327,
429,
613,
66,
53,
64,
110,
65,
83,
979,
673,
2057,
30370,
64,
110,
2002,
320,
596,
221,
999,
327,
429,
614,
66,
110,
64,
111,
65,
83,
979,
673,
2057,
30370,
64,
111,
2002,
320,
1397,
221,
429,
3668,
66,
14558,
96,
110,
6176,
14558,
96,
111,
988,
1397,
221,
344,
327,
4678,
51,
4766,
45,
1055,
509,
320,
1504,
221,
2057,
30370,
66,
1527,
64,
1504,
221,
2986,
64,
1397,
221,
130,
1397,
221,
4678,
51,
688,
45,
1055,
312,
596,
221,
130,
621,
221,
130,
374,
221,
130,
2556,
221,
20859,
6127,
66,
909,
9705,
492,
374,
221,
5692,
51,
1713,
459,
2747,
607,
742,
374,
221,
5692,
51,
1713,
45,
5492,
312,
374,
221,
5692,
51,
1713,
17910,
2048,
458,
7173,
374,
221,
344,
1445,
4974,
2966,
1293,
1421,
30370,
46,
6127,
51,
1713,
459,
1226,
7173,
374,
221,
5692,
51,
1713,
459,
102,
570,
55,
50,
5908,
5339,
115,
742,
374,
221,
1615,
51,
560,
51,
3962,
45,
5692,
51,
3127,
1052,
8212,
221,
5492,
3348,
374,
221,
858,
51,
29240,
492,
453,
11778,
51,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 429 | true | 59.656301 | true | true |
OfflineBotActivity.java | /FileExtraction/Java_unseen/InsightIM_Tok-Android/app/src/main/java/com/client/tok/ui/info/offlinebot/OfflineBotActivity.java | package com.client.tok.ui.info.offlinebot;
import android.app.Activity;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.View;
import android.widget.TextView;
import com.client.tok.R;
import com.client.tok.base.BaseCommonTitleActivity;
import com.client.tok.bean.ContactInfo;
import com.client.tok.pagejump.PageJumpIn;
import com.client.tok.utils.AvatarUtil;
import com.client.tok.utils.ToastUtils;
import com.client.tok.widget.HeadInfoView;
import com.client.tok.widget.dialog.DialogFactory;
public class OfflineBotActivity extends BaseCommonTitleActivity
implements OfflineBotContract.IOfflineBotView, View.OnClickListener {
private OfflineBotContract.IOfflineBotViewPresenter mPresenter;
private TextView mMore;
private HeadInfoView mBotHiv;
@Override
protected void onCreate(@Nullable Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_offline_bot_info);
mMore = $(R.id.id_bot_info_more);
mMore.setOnClickListener(this);
mBotHiv = $(R.id.id_bot_info_hiv);
mBotHiv.setOnClickListener(this);
mBotHiv.setFunctionListener(this);
new OfflineBotPresenter(this);
}
@Override
public int getTitleId() {
return R.string.off_line_bot;
}
@Override
public void setPresenter(OfflineBotContract.IOfflineBotViewPresenter presenter) {
this.mPresenter = presenter;
}
@Override
public void showBotInfo(ContactInfo contactInfo) {
String pk = contactInfo.getKey().key;
if (AvatarUtil.avatarExist(pk)) {
mBotHiv.setAvatar(pk, contactInfo.getDisplayName());
} else {
mBotHiv.setAvatarId(R.drawable.avatar_offline_bot);
}
mBotHiv.setTitle(contactInfo.getDisplayName());
mBotHiv.setContent(contactInfo.getProvider());
}
@Override
public void showIsFriend(boolean isFriend) {
mBotHiv.setFunctionIcon(isFriend ? R.drawable.arrow_right_grey : R.drawable.add_blue);
}
@Override
public void showAddFriend(String tokId) {
DialogFactory.addFriendDialog(this, tokId, null, false, null, null,
new View.OnClickListener() {
@Override
public void onClick(View v) {
showMsg(R.string.add_friend_request_has_send);
}
});
}
private void showMsg(int resId) {
ToastUtils.show(resId);
}
@Override
public Activity getActivity() {
return this;
}
@Override
public void onClick(View v) {
int id = v.getId();
switch (id) {
case R.id.id_bot_info_more:
PageJumpIn.jumpOfflineBotDetailPage(this);
break;
case R.id.id_bot_info_hiv:
mPresenter.showContactInfo();
break;
case R.id.id_head_function_iv:
mPresenter.addOrShowContactInfo();
break;
}
}
@Override
public void viewDestroy() {
if (mPresenter != null) {
mPresenter.onDestroy();
mPresenter = null;
}
finish();
}
}
| 3,232 | Java | .java | InsightIM/Tok-Android | 85 | 29 | 27 | 2019-04-15T10:30:00Z | 2020-08-01T21:42:03Z | 2d4a5a01d9d51a671dcbf529a607cfe3c61282a33bccb9ba57ab9feee56f7ec3 | [] | [
1337,
785,
51,
1598,
51,
13628,
51,
1726,
51,
1357,
51,
23687,
2213,
64,
222,
222,
485,
2616,
51,
745,
51,
3697,
64,
222,
485,
2616,
51,
519,
51,
4775,
64,
222,
485,
2616,
51,
3608,
51,
4341,
51,
6825,
64,
222,
485,
2616,
51,
1090,
51,
1089,
64,
222,
485,
2616,
51,
3872,
51,
12791,
64,
222,
485,
785,
51,
1598,
51,
13628,
51,
87,
64,
222,
485,
785,
51,
1598,
51,
13628,
51,
1460,
51,
1778,
5248,
3188,
3697,
64,
222,
485,
785,
51,
1598,
51,
13628,
51,
12455,
51,
5883,
1139,
64,
222,
485,
785,
51,
1598,
51,
13628,
51,
1655,
16919,
51,
1983,
17848,
402,
64,
222,
485,
785,
51,
1598,
51,
13628,
51,
2324,
51,
15090,
1747,
64,
222,
485,
785,
51,
1598,
51,
13628,
51,
2324,
51,
15030,
2769,
64,
222,
485,
785,
51,
1598,
51,
13628,
51,
3872,
51,
7983,
1139,
1089,
64,
222,
485,
785,
51,
1598,
51,
13628,
51,
3872,
51,
5962,
51,
3742,
2232,
64,
222,
222,
942,
462,
7467,
948,
9037,
3697,
2041,
3787,
5248,
3188,
3697,
303,
4584,
7467,
948,
9037,
6228,
51,
2354,
505,
948,
9037,
1089,
49,
4340,
51,
12733,
320,
303,
964,
7467,
948,
9037,
6228,
51,
2354,
505,
948,
9037,
1089,
17462,
364,
17462,
64,
303,
964,
18503,
364,
8901,
64,
303,
964,
17258,
1139,
1089,
364,
9037,
77,
407,
64,
465,
496,
1806,
303,
2532,
782,
16456,
4810,
6825,
14092,
19902,
46,
320,
310,
2615,
51,
20217,
45,
20731,
312,
310,
31090,
45,
87,
51,
3106,
51,
6904,
100,
23687,
100,
2213,
100,
1357,
312,
310,
364,
8901,
299,
2714,
87,
51,
333,
51,
333,
100,
2213,
100,
1357,
100,
7047,
312,
310,
364,
8901,
51,
18903,
45,
597,
312,
310,
364,
9037,
77,
407,
299,
2714,
87,
51,
333,
51,
333,
100,
2213,
100,
1357,
100,
109,
407,
312,
310,
364,
9037,
77,
407,
51,
18903,
45,
597,
312,
310,
364,
9037,
77,
407,
51,
489,
2466,
2239,
45,
597,
312,
310,
556,
7467,
948,
9037,
17462,
45,
597,
312,
303,
339,
465,
496,
1806,
303,
581,
648,
640,
3188,
625,
365,
320,
310,
461,
578,
51,
819,
51,
1739,
100,
948,
100,
2213,
64,
303,
339,
465,
496,
1806,
303,
581,
782,
758,
17462,
45,
27122,
9037,
6228,
51,
2354,
505,
948,
9037,
1089,
17462,
41339,
46,
320,
310,
477,
51,
114,
17462,
299,
41339,
64,
303,
339,
465,
496,
1806,
303,
581,
782,
2539,
9037,
1139,
45,
5883,
1139,
7272,
1139,
46,
320,
310,
910,
15762,
299,
7272,
1139,
51,
11728,
941,
697,
64,
310,
434,
327,
15090,
1747,
51,
9700,
11761,
45,
3198,
509,
320,
343,
364,
9037,
77,
407,
51,
489,
15090,
45,
3198,
49,
7272,
1139,
51,
390,
12572,
1052,
310,
339,
832,
320,
343,
364,
9037,
77,
407,
51,
489,
15090,
625,
45,
87,
51,
16926,
51,
9700,
100,
23687,
100,
2213,
312,
310,
339,
310,
364,
9037,
77,
407,
51,
17359,
45,
5559,
1139,
51,
390,
12572,
1052,
310,
364,
9037,
77,
407,
51,
29480,
45,
5559,
1139,
51,
390,
2588,
1052,
303,
339,
465,
496,
1806,
303,
581,
782,
2539,
1640,
18858,
45,
4412,
458,
18858,
46,
320,
310,
364,
9037,
77,
407,
51,
489,
2466,
2930,
45,
316,
18858,
1037,
578,
51,
16926,
51,
6477,
100,
1009,
100,
16091,
518,
578,
51,
16926,
51,
688,
100,
5494,
312,
303,
339,
465,
496,
1806,
303,
581,
782,
2539,
1121,
18858,
45,
671,
20029,
625,
46,
320,
310,
13695,
2232,
51,
688,
18858,
3742,
45,
597,
49,
20029,
625,
49,
762,
49,
920,
49,
762,
49,
762,
49,
343,
556,
4340,
51,
12733,
365,
320,
419,
496,
1806,
419,
581,
782,
7057,
45,
1089,
373,
46,
320,
547,
2539,
4104,
45,
87,
51,
819,
51,
688,
100,
13604,
100,
1375,
100,
2057,
100,
2729,
312,
419,
339,
343,
1141,
303,
339,
465,
964,
782,
2539,
4104,
45,
429,
755,
625,
46,
320,
310,
15250,
2769,
51,
2276,
45,
595,
625,
312,
303,
339,
465,
496,
1806,
303,
581,
13478,
47341,
365,
320,
310,
461,
477,
64,
303,
339,
465,
496,
1806,
303,
581,
782,
7057,
45,
1089,
373,
46,
320,
310,
648,
828,
299,
373,
51,
7068,
492,
310,
3593,
327,
333,
46,
320,
343,
1152,
578,
51,
333,
51,
333,
100,
2213,
100,
1357,
100,
7047,
63,
419,
6021,
17848,
402,
51,
16919,
27122,
9037,
5295,
1983,
45,
597,
312,
419,
1644,
64,
343,
1152,
578,
51,
333,
51,
333,
100,
2213,
100,
1357,
100,
109,
407,
63,
419,
364,
17462,
51,
2276,
5883,
1139,
492,
419,
1644,
64,
343,
1152,
578,
51,
333,
51,
333,
100,
1843,
100,
1144,
100,
407,
63,
419,
364,
17462,
51,
688,
1543,
4325,
5883,
1139,
492,
419,
1644,
64,
310,
339,
303,
339,
465,
496,
1806,
303,
581,
782,
2221,
9413,
365,
320,
310,
434,
327,
114,
17462,
882,
762,
46,
320,
343,
364,
17462,
51,
286,
9413,
492,
343,
364,
17462,
299,
762,
64,
310,
339,
310,
11371,
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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1,
1,
1,
1,
1,
1,
1
]
] | 828 | true | 64.263614 | true | true |
DoveAdmDataResponse.java | /FileExtraction/Java_unseen/open-xchange_appsuite-middleware/com.openexchange.dovecot.doveadm.client/src/com/openexchange/dovecot/doveadm/client/DoveAdmDataResponse.java | /*
* @copyright Copyright (c) OX Software GmbH, Germany <info@open-xchange.com>
* @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.dovecot.doveadm.client;
import java.util.List;
/**
* {@link DoveAdmDataResponse} - Represents a response from the Dovecot DoveAdm REST interface.
* <pre>
* ["doveadmResponse", [{"aKey1":"aValue1", ..., "aKeyN":"aValueN"}, ... , {"zKey1":"zValue1", ..., "zKeyN":"zValueN"}], "optional identifier"]
* </pre>
*
* @author <a href="mailto:thorben.betten@open-xchange.com">Thorben Betten</a>
* @since v7.8.3
*/
public interface DoveAdmDataResponse extends DoveAdmResponse {
/**
* Gets the results associated with this DoveAdm data response.
*
* @return The results
*/
List<Result> getResults();
}
| 1,550 | Java | .java | open-xchange/appsuite-middleware | 11 | 8 | 0 | 2018-11-16T10:18:56Z | 2022-11-14T14:03:46Z | 9605e8ca90ffe995364eff0278fcee9041ad76133292ff59f59c7297277d039b | [] | [
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,
1428,
606,
17304,
51,
1428,
606,
27329,
51,
1598,
64,
222,
222,
485,
1401,
51,
1058,
51,
739,
64,
222,
222,
1350,
222,
338,
3105,
1222,
493,
1946,
1785,
114,
768,
1416,
130,
449,
23121,
331,
1808,
664,
341,
493,
1946,
17304,
493,
1946,
1785,
114,
12437,
2586,
51,
222,
338,
350,
1023,
67,
222,
338,
280,
3059,
1428,
606,
27329,
1416,
411,
28288,
102,
971,
54,
2524,
102,
899,
54,
411,
28673,
332,
102,
971,
83,
2524,
102,
899,
83,
3933,
2437,
1737,
3479,
127,
971,
54,
2524,
127,
899,
54,
411,
28673,
332,
127,
971,
83,
2524,
127,
899,
83,
10823,
332,
5311,
7262,
1465,
222,
338,
594,
1023,
67,
222,
338,
222,
338,
496,
2133,
350,
102,
995,
366,
16951,
63,
48966,
10596,
51,
8644,
2495,
69,
1693,
50,
125,
2357,
51,
527,
432,
1047,
290,
10596,
19181,
2495,
396,
102,
67,
222,
338,
496,
8152,
373,
60,
51,
61,
51,
56,
222,
588,
222,
942,
2586,
493,
1946,
1785,
114,
768,
1416,
2041,
493,
1946,
1785,
114,
1416,
320,
465,
1041,
294,
338,
7132,
341,
3300,
5764,
642,
477,
493,
1946,
1785,
114,
727,
1808,
51,
294,
338,
294,
338,
496,
620,
906,
3300,
294,
588,
303,
1701,
65,
1413,
67,
640,
5483,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 448 | true | 69.677419 | true | true |
SystemBuffer.java | /FileExtraction/Java_unseen/kevinkrouse_j/src/org/armedbear/j/SystemBuffer.java | /*
* SystemBuffer.java
*
* Copyright (C) 1998-2003 Peter Graves
*
* 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.armedbear.j;
import org.armedbear.j.mode.binary.BinaryLine;
import org.armedbear.j.util.ByteBuffer;
import java.lang.StringBuilder;
import org.armedbear.j.util.Utilities;
import java.io.BufferedOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.UnsupportedEncodingException;
import java.util.List;
// System buffers are NOT linked into the normal buffer ring.
public class SystemBuffer implements Constants
{
public static final int TYPE_SYSTEM = 0;
public static final int TYPE_NORMAL = 1;
public static final int TYPE_ARCHIVE = 2;
public static final int TYPE_DIRECTORY = 3;
public static final int TYPE_SHELL = 4;
public static final int TYPE_MAN = 5;
public static final int TYPE_OUTPUT = 6;
public static final int TYPE_IMAGE = 7;
public static final int TYPE_MAILBOX = 8;
public static final int TYPE_TELNET = 9;
public static final int TYPE_SSH = 10;
public static final int TYPE_LIST_OCCURRENCES = 11;
protected int type = TYPE_SYSTEM;
protected boolean readOnly;
protected boolean forceReadOnly;
protected Mode mode;
protected String lineSeparator;
protected int lineCount;
private boolean isLoaded;
private Line firstLine;
private Line lastLine;
private File file;
private String loadEncoding;
private List<LocalTag> tags;
public SystemBuffer()
{
}
public SystemBuffer(File file)
{
this.file = file;
}
public final int getType()
{
return type;
}
public final synchronized Line getFirstLine()
{
return firstLine;
}
public synchronized void setFirstLine(Line line)
{
firstLine = line;
}
public final Position getEnd()
{
Line line = firstLine;
if (line == null)
return null;
while (line.next() != null)
line = line.next();
return new Position(line, line.length());
}
public final File getFile()
{
return file;
}
public final void setFile(File file)
{
this.file = file;
}
public final synchronized boolean isLoaded()
{
return isLoaded;
}
public final synchronized void setLoaded(boolean b)
{
isLoaded = b;
}
public final Mode getMode()
{
return mode;
}
public final int getModeId()
{
return mode == null ? 0 : mode.getId();
}
public final String getModeName()
{
return mode == null ? null : mode.toString();
}
public synchronized final List<LocalTag> getTags()
{
return tags;
}
public synchronized final void setTags(List<LocalTag> tags)
{
this.tags = tags;
}
public final void setForceReadOnly(boolean b)
{
forceReadOnly = b;
}
public String getLineSeparator()
{
return lineSeparator;
}
public final boolean contains(Line line)
{
Line l = getFirstLine();
while (l != null) {
if (l == line)
return true;
l = l.next();
}
return false;
}
public int load()
{
if (!isLoaded) {
try {
if (file.isFile()) {
InputStream in = file.getInputStream();
if (in != null) {
load(in, file.getEncoding());
in.close();
}
}
if (getFirstLine() == null) {
// New or 0-byte file.
appendLine("");
lineSeparator = System.getProperty("line.separator");
}
}
catch (IOException e) {
Log.error(e);
}
isLoaded = true;
}
return LOAD_COMPLETED;
}
public void load(InputStream istream, String encoding)
{
if (mode != null && mode.getId() == BINARY_MODE) {
loadBinary(istream);
return;
}
byte[] buf = new byte[4096];
int totalBytes = 0;
try {
int bytesRead = istream.read(buf);
loadProgress(totalBytes = totalBytes + bytesRead);
// Detect Unicode.
boolean isUnicode = false;
boolean isLittleEndian = true;
if (bytesRead >= 2) {
byte byte1 = buf[0];
byte byte2 = buf[1];
if (byte1 == (byte) 0xfe && byte2 == (byte) 0xff) {
isUnicode = true;
isLittleEndian = false;
loadEncoding = "UnicodeBig";
} else if (byte1 == (byte) 0xff && byte2 == (byte) 0xfe) {
isUnicode = true;
loadEncoding = "UnicodeLittle";
}
}
boolean skipLF = false;
if (isUnicode) {
StringBuilder sb = new StringBuilder(256);
int i = 2;
while (bytesRead > 0) {
while (i < bytesRead - 1) {
char c;
final byte b1 = buf[i++];
final byte b2 = buf[i++];
if (isLittleEndian)
c = (char) ((b2 << 8) + (b1 & 0xff));
else
c = (char) ((b1 << 8) + (b2 & 0xff));
switch (c) {
case '\r':
appendLine(sb.toString());
sb.setLength(0);
skipLF = true;
break;
case '\n':
if (skipLF) {
// LF after CR.
if (lineSeparator == null)
lineSeparator = "\r\n";
skipLF = false;
} else {
// LF without preceding CR.
if (lineSeparator == null)
lineSeparator = "\n";
appendLine(sb.toString());
sb.setLength(0);
}
break;
default:
// Normal char.
if (skipLF) {
// Something other than LF after CR. Must be a Mac...
if (lineSeparator == null)
lineSeparator = "\r";
skipLF = false;
}
sb.append(c);
break;
}
}
bytesRead = istream.read(buf);
i = 0;
}
if (sb.length() > 0) {
// No line separator at end of file.
appendLine(sb.toString());
} else {
// If there is a line separator at the end of the file, we
// need to append an empty line so the line separator will
// get written out when the file is saved.
appendLine("");
}
} else {
// Not Unicode.
if (encoding == null) {
encoding =
Editor.preferences().getStringProperty(Property.DEFAULT_ENCODING);
}
loadEncoding = encoding;
ByteBuffer bb = new ByteBuffer(256);
while (bytesRead > 0) {
for (int i = 0; i < bytesRead; i++) {
byte b = buf[i];
switch (b) {
case 13:
appendLine(new String(bb.getBytes(), 0, bb.length(), encoding));
bb.setLength(0);
skipLF = true;
break;
case 10:
if (skipLF) {
// LF after CR.
if (lineSeparator == null)
lineSeparator = "\r\n";
skipLF = false;
} else {
// LF without preceding CR.
if (lineSeparator == null)
lineSeparator = "\n";
appendLine(new String(bb.getBytes(), 0, bb.length(), encoding));
bb.setLength(0);
}
break;
default:
// Normal char.
if (skipLF) {
// Something other than LF after CR. Must be a Mac...
if (lineSeparator == null)
lineSeparator = "\r";
skipLF = false;
}
bb.append(b);
break;
}
}
bytesRead = istream.read(buf);
if (bytesRead > 0)
loadProgress(totalBytes = totalBytes + bytesRead);
}
if (bb.length() > 0) {
// No line separator at end of file.
appendLine(new String(bb.getBytes(), 0, bb.length(), encoding));
} else {
// If there is a line separator at the end of the file, we
// need to append an empty line so the line separator will
// get written out when the file is saved.
appendLine("");
}
}
isLoaded = true;
}
catch (Exception e) {
Log.error(e);
}
loadFinished(isLoaded);
}
public final Line getLastLine()
{
return lastLine;
}
public final void setLastLine(Line line)
{
lastLine = line;
}
protected void appendLine(Line line)
{
line.setPrevious(lastLine);
if (lastLine != null)
lastLine.setNext(line);
lastLine = line;
if (getFirstLine() == null)
setFirstLine(line);
}
public void appendLine(String s)
{
appendLine(new TextLine(s));
}
public void append(String s)
{
int begin = 0;
int end = 0;
boolean skipLF = false;
final int limit = s.length();
for (int i = 0; i < limit; i++) {
switch (s.charAt(i)) {
case '\r':
appendLine(s.substring(begin, end));
++end;
begin = end;
skipLF = true;
break;
case '\n':
if (skipLF) {
++begin;
++end;
skipLF = false;
} else {
appendLine(s.substring(begin, end));
++end;
begin = end;
}
break;
default:
skipLF = false;
++end;
}
}
if (begin < end)
appendLine(s.substring(begin, end));
}
private void appendBinaryLine(int start, byte[] bytes, int numBytes)
{
appendLine(new BinaryLine(start, bytes, numBytes));
}
// Overridden by Buffer.renumber().
public void renumber()
{
for (Line line = getFirstLine(); line != null; line = line.next())
line.setLineNumber(lineCount++);
}
public void writeBuffer() throws SaveException
{
if (file.isFile() && !file.canWrite()) {
Log.error("writeFile: file is not writable: " + file);
throw new SaveException(file,
file.canonicalPath() + " is not writable");
}
if (Platform.isPlatformWindows()) {
// writeTemporaryFile() throws a SaveException if an error occurs.
File tempFile = writeTemporaryFile();
if (!makePatchFile()) {
if (!Utilities.makeBackup(file, false)) {
Log.error("backup failed");
throw new SaveException(file,
"Unable to write backup file for " + file.canonicalPath());
}
}
if (!Utilities.deleteRename(tempFile, file)) {
Log.error("unable to rename " + tempFile.canonicalPath() +
" to " + file.canonicalPath());
throw new SaveException(file,
"Unable to rename temporary file");
}
} else {
// Save in place on Unix to preserve permissions and ownership of
// file. Keep original (instead of renaming it) when making backup.
if (!makePatchFile()) {
if (!Utilities.makeBackup(file, true)) {
Log.error("backup failed");
throw new SaveException(file,
"Unable to write backup file for ".concat(
file.canonicalPath()));
}
}
// Write directly to original file.
if (!writeFile(file)) {
Log.error("writeFile failed");
throw new SaveException(file,
"Unable to write ".concat(file.canonicalPath()));
}
}
}
// Returns true if patch file was created successfully.
private final boolean makePatchFile()
{
if (file.isFile()) {
File patchFile = getPatchFile();
if (patchFile != null) {
if (!patchFile.isFile())
return Utilities.copyFile(file, patchFile);
}
}
return false;
}
// Returns null if "patchmode" preference is not set.
// Public for DiffMode.diff().
public final File getPatchFile()
{
String suffix;
if (this instanceof Buffer)
suffix = ((Buffer)this).getStringProperty(Property.PATCH_MODE);
else if (mode != null)
suffix = mode.getStringProperty(Property.PATCH_MODE);
else {
suffix =
Editor.preferences().getStringProperty(Property.PATCH_MODE);
}
if (suffix != null) {
suffix = suffix.trim();
if (suffix.length() > 0) {
if (suffix.charAt(0) != '.')
suffix = ".".concat(suffix);
return File.getInstance(file.canonicalPath().concat(suffix));
}
}
return null;
}
public boolean writeFile(File outputFile)
{
try {
BufferedOutputStream out = new BufferedOutputStream(outputFile.getOutputStream());
if (lineSeparator == null)
lineSeparator = System.getProperty("line.separator");
String encoding = outputFile.getEncoding();
if (encoding == null)
encoding = getSaveEncoding();
Line line = getFirstLine();
if (line != null) {
final byte[] byteOrderMark = getByteOrderMark(encoding);
if (byteOrderMark != null)
out.write(byteOrderMark);
out.write(line.getBytes(encoding));
line = line.next();
final byte[] sepBytes = getSeparatorBytes(encoding);
while (line != null) {
out.write(sepBytes);
out.write(line.getBytes(encoding));
line = line.next();
}
}
out.flush();
out.close();
return true;
}
catch (IOException e) {
Log.error(e);
return false;
}
}
public String getSaveEncoding()
{
String encoding = file == null ? null : file.getEncoding();
if (encoding == null) {
encoding = loadEncoding;
if (encoding == null)
encoding = Editor.preferences().getStringProperty(
Property.DEFAULT_ENCODING);
}
if (encoding == null)
Debug.bug();
return encoding;
}
byte[] getByteOrderMark(String encoding) throws UnsupportedEncodingException
{
byte[] bytes = "test".getBytes(encoding);
if ((bytes[0] == (byte) 0xfe && bytes[1] == (byte) 0xff) ||
(bytes[0] == (byte) 0xff && bytes[1] == (byte) 0xfe)) {
byte[] byteOrderMark = new byte[2];
byteOrderMark[0] = bytes[0];
byteOrderMark[1] = bytes[1];
return byteOrderMark;
}
return null;
}
byte[] getSeparatorBytes(String encoding) throws UnsupportedEncodingException
{
byte[] bytes = lineSeparator.getBytes(encoding);
if (bytes.length > 2) {
if ((bytes[0] == (byte) 0xfe && bytes[1] == (byte) 0xff) ||
(bytes[0] == (byte) 0xff && bytes[1] == (byte) 0xfe)) {
byte[] sepBytes = new byte[bytes.length-2];
System.arraycopy(bytes, 2, sepBytes, 0, sepBytes.length);
return sepBytes;
}
}
return bytes;
}
/*package*/ synchronized void _empty()
{
Line line = getFirstLine();
while (line != null) {
Line nextLine = line.next();
line.setPrevious(null);
line.setNext(null);
line = nextLine;
}
setFirstLine(null);
lastLine = null;
isLoaded = false;
}
protected void loadProgress(int totalBytesRead)
{
// Default behavior is to do nothing.
}
protected void loadFinished(boolean success)
{
// Default behavior is to do nothing.
}
private void loadBinary(InputStream istream)
{
byte[] array = readAllBytes(istream);
if (array != null) {
for (int start = 0; start < array.length; start += 16) {
int bytesLeft = array.length - start;
int count = bytesLeft >= 16 ? 16 : bytesLeft;
appendBinaryLine(start, array, count);
}
isLoaded = true;
}
loadFinished(isLoaded);
}
private byte[] readAllBytes(InputStream in)
{
final int chunkSize = 0x8000;
byte[] array = null;
int totalBytes = 0;
byte[] chunk = new byte[ chunkSize ];
int bytesRead;
try {
while ((bytesRead = in.read(chunk, 0, chunk.length)) > 0) {
if (array == null) {
array = new byte[bytesRead];
System.arraycopy(chunk, 0, array, 0, bytesRead);
} else {
// Allocate new array big enough to hold all the bytes.
byte[] newArray = new byte[totalBytes + bytesRead];
// Copy old array into new array.
if (totalBytes > 0)
System.arraycopy(array, 0, newArray, 0, totalBytes);
// Append current chunk.
System.arraycopy(chunk, 0, newArray, totalBytes, bytesRead);
array = newArray;
}
totalBytes += bytesRead;
Debug.assertTrue(array.length == totalBytes);
}
}
catch (IOException e) {
Log.error(e);
array = null;
}
return array;
}
private File writeTemporaryFile() throws SaveException
{
boolean succeeded = false;
// First try to write out a temporary file in the current directory.
File tempFile = Utilities.getTempFile(file.getParent());
if (tempFile != null)
succeeded = writeFile(tempFile);
if (!succeeded) {
// We were not able to write out the temporary file in the current
// directory, possibly because the current directory is not
// writable. Try again using j's temp directory.
tempFile = Utilities.getTempFile();
if (tempFile != null)
succeeded = writeFile(tempFile);
}
if (!succeeded) {
throw new SaveException(file,
"Unable to write temporary file for ".concat(
file.canonicalPath()));
}
return tempFile;
}
}
| 22,153 | Java | .java | kevinkrouse/j | 10 | 2 | 0 | 2012-04-16T00:43:46Z | 2023-01-05T00:18:06Z | 4c4e58f5646fdb95b20bf3753811fc576b41e804771b28baf382265056e96f2a | [] | [
1127,
222,
338,
1189,
2030,
51,
1874,
222,
338,
222,
338,
2657,
327,
72,
46,
244,
54,
62,
62,
61,
50,
55,
53,
53,
56,
37561,
8102,
7777,
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,
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,
222,
1337,
1105,
51,
301,
1987,
47037,
51,
111,
64,
222,
222,
485,
1105,
51,
301,
1987,
47037,
51,
111,
51,
2832,
51,
7038,
51,
6958,
1829,
64,
222,
485,
1105,
51,
301,
1987,
47037,
51,
111,
51,
1058,
51,
21042,
64,
222,
485,
1401,
51,
1600,
51,
20859,
64,
222,
485,
1105,
51,
301,
1987,
47037,
51,
111,
51,
1058,
51,
13392,
64,
222,
222,
485,
1401,
51,
735,
51,
17640,
8783,
64,
222,
485,
1401,
51,
735,
51,
6860,
64,
222,
485,
1401,
51,
735,
51,
6989,
64,
222,
485,
1401,
51,
735,
51,
16737,
42302,
64,
222,
485,
1401,
51,
1058,
51,
739,
64,
222,
222,
325,
1189,
17353,
904,
2387,
12258,
2012,
341,
4330,
3129,
16927,
51,
222,
942,
462,
1189,
2030,
4584,
14072,
222,
128,
303,
581,
924,
1175,
648,
11405,
100,
12882,
2281,
299,
280,
53,
64,
303,
581,
924,
1175,
648,
11405,
100,
15640,
2281,
299,
280,
54,
64,
303,
581,
924,
1175,
648,
11405,
100,
9295,
5765,
2052,
299,
280,
55,
64,
303,
581,
924,
1175,
648,
11405,
100,
20675,
370,
299,
280,
56,
64,
303,
581,
924,
1175,
648,
11405,
100,
41440,
1485,
299,
280,
57,
64,
303,
581,
924,
1175,
648,
11405,
100,
10662,
2868,
299,
280,
58,
64,
303,
581,
924,
1175,
648,
11405,
100,
10838,
2281,
299,
280,
59,
64,
303,
581,
924,
1175,
648,
11405,
100,
10407,
1485,
299,
280,
60,
64,
303,
581,
924,
1175,
648,
11405,
100,
12155,
13940,
2052,
299,
280,
61,
64,
303,
581,
924,
1175,
648,
11405,
100,
20855,
4782,
2281,
299,
280,
62,
64,
303,
581,
924,
1175,
648,
11405,
100,
19449,
2868,
299,
244,
54,
53,
64,
303,
581,
924,
1175,
648,
11405,
100,
4625,
100,
43748,
1282,
632,
6912,
959,
299,
244,
54,
54,
64,
465,
2532,
648,
847,
299,
11405,
100,
12882,
64,
303,
2532,
1922,
34658,
64,
303,
2532,
1922,
7679,
11060,
64,
303,
2532,
10750,
2945,
64,
303,
2532,
910,
1646,
11143,
64,
303,
2532,
648,
1646,
1552,
64,
465,
964,
1922,
458,
10661,
64,
303,
964,
7118,
1950,
1829,
64,
303,
964,
7118,
2419,
1829,
64,
303,
964,
2050,
822,
64,
303,
964,
910,
2480,
7970,
64,
303,
964,
1701,
65,
3340,
2649,
67,
5957,
64,
465,
581,
1189,
2030,
365,
303,
320,
303,
339,
465,
581,
1189,
2030,
45,
991,
822,
46,
303,
320,
310,
477,
51,
781,
299,
822,
64,
303,
339,
465,
581,
1175,
648,
24097,
365,
303,
320,
310,
461,
847,
64,
303,
339,
465,
581,
1175,
13436,
7118,
640,
3485,
1829,
365,
303,
320,
310,
461,
1950,
1829,
64,
303,
339,
465,
581,
13436,
782,
758,
3485,
1829,
45,
1829,
1646,
46,
303,
320,
310,
1950,
1829,
299,
1646,
64,
303,
339,
465,
581,
1175,
11943,
640,
2117,
365,
303,
320,
310,
7118,
1646,
299,
1950,
1829,
64,
310,
434,
327,
948,
630,
762,
46,
343,
461,
762,
64,
310,
2236,
327,
948,
51,
1995,
365,
882,
762,
46,
343,
1646,
299,
1646,
51,
1995,
492,
310,
461,
556,
11943,
45,
948,
49,
1646,
51,
1340,
1052,
303,
339,
465,
581,
1175,
2050,
40114,
365,
303,
320,
310,
461,
822,
64,
303,
339,
465,
581,
1175,
782,
758,
991,
45,
991,
822,
46,
303,
320,
310,
477,
51,
781,
299,
822,
64,
303,
339,
465,
581,
1175,
13436,
1922,
458,
10661,
365,
303,
320,
310,
461,
458,
10661,
64,
303,
339,
465,
581,
1175,
13436,
782,
758,
10661,
45,
4412,
342,
46,
303,
320,
310,
458,
10661,
299,
342,
64,
303,
339,
465,
581,
1175,
10750,
640,
2116,
365,
303,
320,
310,
461,
2945,
64,
303,
339,
465,
581,
1175,
648,
640,
2116,
625,
365,
303,
320,
310,
461,
2945,
630,
762,
1037,
244,
53,
518,
2945,
51,
7068,
492,
303,
339,
465,
581,
1175,
910,
640,
2116,
577,
365,
303,
320,
310,
461,
2945,
630,
762,
1037,
762,
518,
2945,
51,
3127,
492,
303,
339,
465,
581,
13436,
1175,
1701,
65,
3340,
2649,
67,
640,
6763,
365,
303,
320,
310,
461,
5957,
64,
303,
339,
465,
581,
13436,
1175,
782,
758,
6763,
45,
739,
65,
3340,
2649,
67,
5957,
46,
303,
320,
310,
477,
51,
3981,
299,
5957,
64,
303,
339,
465,
581,
1175,
782,
758,
10500,
11060,
45,
4412,
342,
46,
303,
320,
310,
7679,
11060,
299,
342,
64,
303,
339,
465,
581,
910,
640,
1829,
11143,
365,
303,
320,
310,
461,
1646,
11143,
64,
303,
339,
465,
581,
1175,
1922,
4326,
45,
1829,
1646,
46,
303,
320,
310,
7118,
475,
299,
640,
3485,
1829,
492,
310,
2236,
327,
113,
882,
762,
46,
320,
343,
434,
327,
113,
630,
1646,
46,
419,
461,
878,
64,
343,
475,
299,
475,
51,
1995,
492,
310,
339,
310,
461,
920,
64,
303,
339,
465,
581,
648,
2480,
365,
303,
320,
310,
434,
1445,
316,
10661,
46,
320,
343,
1614,
320,
419,
434,
327,
781,
51,
41746,
1177,
320,
547,
18994,
347,
299,
822,
51,
42810,
492,
547,
434,
327,
285,
882,
762,
46,
320,
733,
2480,
45,
285,
49,
822,
51,
390,
7970,
1052,
733,
347,
51,
2698,
492,
547,
339,
419,
339,
419,
434,
327,
25628,
1829,
365,
630,
762,
46,
320,
547,
453,
3153,
575,
244,
53,
50,
2278,
822,
51,
547,
5507,
1829,
10928,
547,
1646,
11143,
299,
1189,
51,
12712,
459,
948,
51,
12640,
742,
419,
339,
343,
339,
343,
2385,
327,
6860,
503,
46,
320,
419,
2681,
51,
750,
45,
106,
312,
343,
339,
343,
458,
10661,
299,
878,
64,
310,
339,
310,
461,
34569,
100,
42510,
64,
303,
339,
465,
581,
782,
2480,
45,
6989,
8535,
1070,
49,
910,
7348,
46,
303,
320,
310,
434,
327,
2832,
882,
762,
979,
2945,
51,
7068,
365,
630,
44087,
100,
4986,
46,
320,
343,
2480,
6958,
45,
35871,
312,
343,
461,
64,
310,
339,
310,
3447,
1197,
4856,
299,
556,
3447,
96,
57,
53,
62,
59,
988,
310,
648,
3410,
3656,
299,
244,
53,
64,
310,
1614,
320,
343,
648,
3534,
2248,
299,
8535,
1070,
51,
870,
45,
1972,
312,
343,
2480,
5291,
45,
3025,
3656,
299,
3410,
3656,
494,
3534,
2248,
312,
343,
453,
25978,
23175,
51,
343,
1922,
458,
14921,
299,
920,
64,
343,
1922,
458,
42487,
299,
878,
64,
343,
434,
327,
3669,
2248,
2394,
244,
55,
46,
320,
419,
3447,
3447,
54,
299,
4856,
96,
53,
988,
419,
3447,
3447,
55,
299,
4856,
96,
54,
988,
419,
434,
327,
2278,
54,
630,
327,
2278,
46,
244,
53,
7693,
979,
3447,
55,
630,
327,
2278,
46,
244,
53,
3144,
46,
320,
547,
458,
14921,
299,
878,
64,
547,
458,
42487,
299,
920,
64,
547,
2480,
7970,
299,
332,
14921,
7481,
884,
419,
339,
832,
434,
327,
2278,
54,
630,
327,
2278,
46,
244,
53,
3144,
979,
3447,
55,
630,
327,
2278,
46,
244,
53,
7693,
46,
320,
547,
458,
14921,
299,
878,
64,
547,
2480,
7970,
299,
332,
14921,
29997,
884,
419,
339,
343,
339,
343,
1922,
7130,
22908,
299,
920,
64,
343,
434,
327,
316,
14921,
46,
320,
419,
9705,
6127,
299,
556,
9705,
45,
55,
58,
59,
312,
419,
648,
613,
299,
244,
55,
64,
419,
2236,
327,
3669,
2248,
868,
244,
53,
46,
320,
547,
2236,
327,
110,
350,
3534,
2248,
449,
244,
54,
46,
320,
733,
1370,
300,
64,
733,
1175,
3447,
342,
54,
299,
4856,
96,
110,
31755,
733,
1175,
3447,
342,
55,
299,
4856,
96,
110,
31755,
733,
434,
327,
316,
42487,
46,
1031,
300,
299,
327,
1612,
46,
1849,
103,
55,
1281,
244,
61,
46,
494,
327,
103,
54,
568,
244,
53,
3144,
894,
733,
832,
1031,
300,
299,
327,
1612,
46,
1849,
103,
54,
1281,
244,
61,
46,
494,
327,
103,
55,
568,
244,
53,
3144,
894,
733,
3593,
327,
104,
46,
320,
1031,
1152,
3243,
119,
972,
1396,
5507,
1829,
45,
5692,
51,
3127,
1052,
1396,
6127,
51,
489,
2396,
45,
53,
312,
1396,
7130,
22908,
299,
878,
64,
1396,
1644,
64,
1031,
1152,
3243,
115,
972,
1396,
434,
327,
5969,
22908,
46,
320,
1908,
453,
517,
75,
2703,
9975,
51,
1908,
434,
327,
948,
11143,
630,
762,
46,
2493,
1646,
11143,
299,
2724,
119,
97,
115,
884,
1908,
7130,
22908,
299,
920,
64,
1396,
339,
832,
320,
1908,
453,
517,
75,
2895,
46079,
9975,
51,
1908,
434,
327,
948,
11143,
630,
762,
46,
2493,
1646,
11143,
299,
2724,
115,
884,
1908,
5507,
1829,
45,
5692,
51,
3127,
1052,
1908,
6127,
51,
489,
2396,
45,
53,
312,
1396,
339,
1396,
1644,
64,
1031,
1263,
63,
1396,
453,
13616,
1370,
51,
1396,
434,
327,
5969,
22908,
46,
320,
1908,
453,
30935,
1623,
2806,
517,
75,
2703,
9975,
51,
244,
15620,
545,
331,
9501,
1198,
1908,
434,
327,
948,
11143,
630,
762,
46,
2493,
1646,
11143,
299,
2724,
119,
884,
1908,
7130,
22908,
299,
920,
64,
1396,
339,
1396,
6127,
51,
1713,
45,
104,
312,
1396,
1644,
64,
733,
339,
547,
339,
547,
3534,
2248,
299,
8535,
1070,
51,
870,
45,
1972,
312,
547,
613,
299,
244,
53,
64,
419,
339,
419,
434,
327,
5692,
51,
1340,
365,
868,
244,
53,
46,
320,
547,
453,
3155,
1646,
17599,
840,
962,
451,
822,
51,
547,
5507,
1829,
45,
5692,
51,
3127,
1052,
419,
339,
832,
320,
547,
453,
1691,
2038,
458,
331,
1646,
17599,
840,
341,
962,
451,
341,
822,
49,
1019,
547,
453,
1868,
391,
5507,
619,
3517,
1646,
1278,
341,
1646,
17599,
1118,
547,
453,
640,
6658,
986,
1429,
341,
822,
458,
7533,
51,
547,
5507,
1829,
10928,
419,
339,
343,
339,
832,
320,
419,
453,
3204,
23175,
51,
419,
434,
327,
8657,
630,
762,
46,
320,
547,
7348,
299,
733,
11419,
51,
22561,
941,
7080,
1667,
45,
1667,
51,
5815,
100,
35855,
312,
419,
339,
419,
2480,
7970,
299,
7348,
64,
419,
24976,
18560,
299,
556,
24976,
45,
55,
58,
59,
312,
419,
2236,
327,
3669,
2248,
868,
244,
53,
46,
320,
547,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
3534,
2248,
64,
613,
2002,
320,
733,
3447,
342,
299,
4856,
96,
110,
988,
733,
3593,
327,
103,
46,
320,
1031,
1152,
244,
54,
56,
63,
1396,
5507,
1829,
45,
909,
910,
45,
2901,
51,
19682,
1046,
244,
53,
49,
18560,
51,
1340,
1046,
7348,
894,
1396,
18560,
51,
489,
2396,
45,
53,
312,
1396,
7130,
22908,
299,
878,
64,
1396,
1644,
64,
1031,
1152,
244,
54,
53,
63,
1396,
434,
327,
5969,
22908,
46,
320,
1908,
453,
517,
75,
2703,
9975,
51,
1908,
434,
327,
948,
11143,
630,
762,
46,
2493,
1646,
11143,
299,
2724,
119,
97,
115,
884,
1908,
7130,
22908,
299,
920,
64,
1396,
339,
832,
320,
1908,
453,
517,
75,
2895,
46079,
9975,
51,
1908,
434,
327,
948,
11143,
630,
762,
46,
2493,
1646,
11143,
299,
2724,
115,
884,
1908,
5507,
1829,
45,
909,
910,
45,
2901,
51,
19682,
1046,
244,
53,
49,
18560,
51,
1340,
1046,
7348,
894,
1908,
18560,
51,
489,
2396,
45,
53,
312,
1396,
339,
1396,
1644,
64,
1031,
1263,
63,
1396,
453,
13616,
1370,
51,
1396,
434,
327,
5969,
22908,
46,
320,
1908,
453,
30935,
1623,
2806,
517,
75,
2703,
9975,
51,
244,
15620,
545,
331,
9501,
1198,
1908,
434,
327,
948,
11143,
630,
762,
46,
2493,
1646,
11143,
299,
2724,
119,
884,
1908,
7130,
22908,
299,
920,
64,
1396,
339,
1396,
18560,
51,
1713,
45,
103,
312,
1396,
1644,
64,
733,
339,
547,
339,
547,
3534,
2248,
299,
8535,
1070,
51,
870,
45,
1972,
312,
547,
434,
327,
3669,
2248,
868,
244,
53,
46,
733,
2480,
5291,
45,
3025,
3656,
299,
3410,
3656,
494,
3534,
2248,
312,
419,
339,
419,
434,
327,
2901,
51,
1340,
365,
868,
244,
53,
46,
320,
547,
453,
3155,
1646,
17599,
840,
962,
451,
822,
51,
547,
5507,
1829,
45,
909,
910,
45,
2901,
51,
19682,
1046,
244,
53,
49,
18560,
51,
1340,
1046,
7348,
894,
419,
339,
832,
320,
547,
453,
1691,
2038,
458,
331,
1646,
17599,
840,
341,
962,
451,
341,
822,
49,
1019,
547,
453,
1868,
391,
5507,
619,
3517,
1646,
1278,
341,
1646,
17599,
1118,
547,
453,
640,
6658,
986,
1429,
341,
822,
458,
7533,
51,
547,
5507,
1829,
10928,
419,
339,
343,
339,
343,
458,
10661,
299,
878,
64,
310,
339,
310,
2385,
327,
1002,
503,
46,
320,
343,
2681,
51,
750,
45,
106,
312,
310,
339,
310,
2480,
14071,
45,
316,
10661,
312,
303,
339,
465,
581,
1175,
7118,
36640,
1829,
365,
303,
320,
310,
461,
2419,
1829,
64,
303,
339,
465,
581,
1175,
782,
758,
3283,
1829,
45,
1829,
1646,
46,
303,
320,
310,
2419,
1829,
299,
1646,
64,
303,
339,
465,
2532,
782,
5507,
1829,
45,
1829,
1646,
46,
303,
320,
310,
1646,
51,
489,
11694,
45,
2153,
1829,
312,
310,
434,
327,
2153,
1829,
882,
762,
46,
343,
2419,
1829,
51,
489,
3364,
45,
948,
312,
310,
2419,
1829,
299,
1646,
64,
310,
434,
327,
25628,
1829,
365,
630,
762,
46,
343,
758,
3485,
1829,
45,
948,
312,
303,
339,
465,
581,
782,
5507,
1829,
45,
671,
328,
46,
303,
320,
310,
5507,
1829,
45,
909,
3336,
1829,
45,
120,
894,
303,
339,
465,
581,
782,
5507,
45,
671,
328,
46,
303,
320,
310,
648,
4258,
299,
244,
53,
64,
310,
648,
962,
299,
244,
53,
64,
310,
1922,
7130,
22908,
299,
920,
64,
310,
1175,
648,
2741,
299,
328,
51,
1340,
492,
310,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
2741,
64,
613,
2002,
320,
343,
3593,
327,
120,
51,
15602,
45,
110,
509,
320,
419,
1152,
3243,
119,
972,
547,
5507,
1829,
45,
120,
51,
8724,
45,
2425,
49,
962,
894,
547,
3323,
435,
64,
547,
4258,
299,
962,
64,
547,
7130,
22908,
299,
878,
64,
547,
1644,
64,
419,
1152,
3243,
115,
972,
547,
434,
327,
5969,
22908,
46,
320,
733,
3323,
2425,
64,
733,
3323,
435,
64,
733,
7130,
22908,
299,
920,
64,
547,
339,
832,
320,
733,
5507,
1829,
45,
120,
51,
8724,
45,
2425,
49,
962,
894,
733,
3323,
435,
64,
733,
4258,
299,
962,
64,
547,
339,
547,
1644,
64,
419,
1263,
63,
547,
7130,
22908,
299,
920,
64,
547,
3323,
435,
64,
343,
339,
310,
339,
310,
434,
327,
2425,
350,
962,
46,
343,
5507,
1829,
45,
120,
51,
8724,
45,
2425,
49,
962,
894,
303,
339,
465,
964,
782,
5507,
6958,
1829,
45,
429,
1496,
49,
3447,
1197,
3534,
49,
648,
1952,
3656,
46,
303,
320,
310,
5507,
1829,
45,
909,
13318,
1829,
45,
1384,
49,
3534,
49,
1952,
3656,
894,
303,
339,
465,
453,
9878,
21629,
829,
7730,
51,
1594,
879,
941,
303,
581,
782,
334,
2188,
365,
303,
320,
310,
456,
327,
1829,
1646,
299,
640,
3485,
1829,
492,
1646,
882,
762,
64,
1646,
299,
1646,
51,
1995,
1177,
343,
1646,
51,
489,
29652,
45,
948,
1552,
24872,
303,
339,
465,
581,
782,
2886,
2030,
365,
2589,
9908,
1002,
303,
320,
310,
434,
327,
781,
51,
41746,
365,
979,
673,
781,
51,
3389,
2553,
1177,
320,
343,
2681,
51,
750,
459,
39009,
63,
822,
458,
666,
26328,
63,
332,
494,
822,
312,
343,
1440,
556,
9908,
1002,
45,
781,
49,
1908,
822,
51,
21928,
1233,
365,
494,
332,
458,
666,
26328,
742,
310,
339,
310,
434,
327,
6851,
51,
316,
6851,
2856,
1177,
320,
343,
453,
2886,
24704,
991,
365,
2589,
331,
9908,
1002,
434,
619,
1067,
12996,
51,
343,
2050,
1798,
991,
299,
2886,
24704,
991,
492,
343,
434,
1445,
2696,
9786,
991,
1177,
320,
419,
434,
1445,
13392,
51,
2696,
11664,
45,
781,
49,
920,
509,
320,
547,
2681,
51,
750,
459,
10196,
3818,
742,
547,
1440,
556,
9908,
1002,
45,
781,
49,
733,
332,
12019,
391,
2886,
12801,
822,
456,
332,
494,
822,
51,
21928,
1233,
1052,
419,
339,
343,
339,
343,
434,
1445,
13392,
51,
2577,
21722,
45,
1452,
991,
49,
822,
509,
320,
419,
2681,
51,
750,
459,
23880,
391,
16138,
332,
494,
1798,
991,
51,
21928,
1233,
365,
494,
547,
332,
391,
332,
494,
822,
51,
21928,
1233,
1052,
419,
1440,
556,
9908,
1002,
45,
781,
49,
547,
332,
12019,
391,
16138,
14019,
822,
742,
343,
339,
310,
339,
832,
320,
343,
453,
9908,
347,
3687,
563,
24966,
391,
24081,
4243,
480,
13677,
451,
343,
453,
822,
51,
19135,
4732,
327,
35600,
451,
44393,
580,
46,
1429,
9046,
12801,
51,
343,
434,
1445,
2696,
9786,
991,
1177,
320,
419,
434,
1445,
13392,
51,
2696,
11664,
45,
781,
49,
878,
509,
320,
547,
2681,
51,
750,
459,
10196,
3818,
742,
547,
1440,
556,
9908,
1002,
45,
781,
49,
733,
332,
12019,
391,
2886,
12801,
822,
456,
4956,
7289,
45,
1031,
822,
51,
21928,
1233,
5086,
419,
339,
343,
339,
343,
453,
5968,
7045,
391,
4732,
822,
51,
343,
434,
1445,
39009,
45,
781,
509,
320,
419,
2681,
51,
750,
459,
39009,
3818,
742,
419,
1440,
556,
9908,
1002,
45,
781,
49,
547,
332,
12019,
391,
2886,
4956,
7289,
45,
781,
51,
21928,
1233,
5086,
343,
339,
310,
339,
303,
339,
465,
453,
3777,
878,
434,
7843,
822,
1616,
3290,
7519,
51,
303,
964,
1175,
1922,
1949,
9786,
991,
365,
303,
320,
310,
434,
327,
781,
51,
41746,
1177,
320,
343,
2050,
7843,
991,
299,
640,
9786,
991,
492,
343,
434,
327,
2690,
991,
882,
762,
46,
320,
419,
434,
1445,
2690,
991,
51,
41746,
1177,
547,
461,
29811,
51,
3014,
991,
45,
781,
49,
7843,
991,
312,
343,
339,
310,
339,
310,
461,
920,
64,
303,
339,
465,
453,
3777,
762,
434,
332,
2690,
2832,
39,
23396,
458,
666,
758,
51,
303,
453,
5062,
456,
21880,
2116,
51,
4927,
941,
303,
581,
1175,
2050,
640,
9786,
991,
365,
303,
320,
310,
910,
12820,
64,
310,
434,
327,
597,
5118,
7730,
46,
343,
12820,
299,
1849,
2030,
46,
597,
566,
7080,
1667,
45,
1667,
51,
18072,
100,
4986,
312,
310,
832,
434,
327,
2832,
882,
762,
46,
343,
12820,
299,
2945,
51,
7080,
1667,
45,
1667,
51,
18072,
100,
4986,
312,
310,
832,
320,
343,
12820,
299,
419,
11419,
51,
22561,
941,
7080,
1667,
45,
1667,
51,
18072,
100,
4986,
312,
310,
339,
310,
434,
327,
12440,
882,
762,
46,
320,
343,
12820,
299,
12820,
51,
5475,
492,
343,
434,
327,
12440,
51,
1340,
365,
868,
244,
53,
46,
320,
419,
434,
327,
12440,
51,
15602,
45,
53,
46,
882,
41788,
547,
12820,
299,
4956,
2316,
7289,
45,
12440,
312,
419,
461,
2050,
51,
7432,
45,
781,
51,
21928,
1233,
941,
7289,
45,
12440,
894,
343,
339,
310,
339,
310,
461,
762,
64,
303,
339,
465,
581,
1922,
2886,
991,
45,
991,
43805,
46,
303,
320,
310,
1614,
320,
343,
16900,
8783,
986,
299,
556,
16900,
8783,
45,
46456,
51,
390,
8783,
1052,
343,
434,
327,
948,
11143,
630,
762,
46,
419,
1646,
11143,
299,
1189,
51,
12712,
459,
948,
51,
12640,
742,
343,
910,
7348,
299,
43805,
51,
390,
7970,
492,
343,
434,
327,
8657,
630,
762,
46,
419,
7348,
299,
640,
5134,
7970,
492,
343,
7118,
1646,
299,
640,
3485,
1829,
492,
343,
434,
327,
948,
882,
762,
46,
320,
419,
1175,
3447,
1197,
3447,
2888,
4503,
299,
640,
3945,
2888,
4503,
45,
8657,
312,
419,
434,
327,
2278,
2888,
4503,
882,
762,
46,
547,
986,
51,
1838,
45,
2278,
2888,
4503,
312,
419,
986,
51,
1838,
45,
948,
51,
19682,
45,
8657,
894,
419,
1646,
299,
1646,
51,
1995,
492,
419,
1175,
3447,
1197,
19215,
3656,
299,
640,
11143,
3656,
45,
8657,
312,
419,
2236,
327,
948,
882,
762,
46,
320,
547,
986,
51,
1838,
45,
12706,
3656,
312,
547,
986,
51,
1838,
45,
948,
51,
19682,
45,
8657,
894,
547,
1646,
299,
1646,
51,
1995,
492,
419,
339,
343,
339,
343,
986,
51,
9327,
492,
343,
986,
51,
2698,
492,
343,
461,
878,
64,
310,
339,
310,
2385,
327,
6860,
503,
46,
320,
343,
2681,
51,
750,
45,
106,
312,
343,
461,
920,
64,
310,
339,
303,
339,
465,
581,
910,
640,
5134,
7970,
365,
303,
320,
310,
910,
7348,
299,
822,
630,
762,
1037,
762,
518,
822,
51,
390,
7970,
492,
310,
434,
327,
8657,
630,
762,
46,
320,
343,
7348,
299,
2480,
7970,
64,
343,
434,
327,
8657,
630,
762,
46,
419,
7348,
299,
11419,
51,
22561,
941,
7080,
1667,
45,
547,
6484,
51,
5815,
100,
35855,
312,
310,
339,
310,
434,
327,
8657,
630,
762,
46,
343,
8093,
51,
1468,
492,
310,
461,
7348,
64,
303,
339,
465,
3447,
1197,
640,
3945,
2888,
4503,
45,
671,
7348,
46,
2589,
18082,
42302,
303,
320,
310,
3447,
1197,
3534,
299,
332,
881,
2316,
19682,
45,
8657,
312,
310,
434,
1849,
3669,
96,
53,
98,
630,
327,
2278,
46,
244,
53,
7693,
979,
3534,
96,
54,
98,
630,
327,
2278,
46,
244,
53,
3144,
46,
1293,
343,
327,
3669,
96,
53,
98,
630,
327,
2278,
46,
244,
53,
3144,
979,
3534,
96,
54,
98,
630,
327,
2278,
46,
244,
53,
7693,
509,
320,
343,
3447,
1197,
3447,
2888,
4503,
299,
556,
3447,
96,
55,
988,
343,
3447,
2888,
4503,
96,
53,
98,
299,
3534,
96,
53,
988,
343,
3447,
2888,
4503,
96,
54,
98,
299,
3534,
96,
54,
988,
343,
461,
3447,
2888,
4503,
64,
310,
339,
310,
461,
762,
64,
303,
339,
465,
3447,
1197,
640,
11143,
3656,
45,
671,
7348,
46,
2589,
18082,
42302,
303,
320,
310,
3447,
1197,
3534,
299,
1646,
11143,
51,
19682,
45,
8657,
312,
310,
434,
327,
3669,
51,
1340,
868,
244,
55,
46,
320,
343,
434,
1849,
3669,
96,
53,
98,
630,
327,
2278,
46,
244,
53,
7693,
979,
3534,
96,
54,
98,
630,
327,
2278,
46,
244,
53,
3144,
46,
1293,
419,
327,
3669,
96,
53,
98,
630,
327,
2278,
46,
244,
53,
3144,
979,
3534,
96,
54,
98,
630,
327,
2278,
46,
244,
53,
7693,
509,
320,
419,
3447,
1197,
19215,
3656,
299,
556,
3447,
96,
3669,
51,
1340,
50,
55,
988,
419,
1189,
51,
40816,
45,
3669,
49,
244,
55,
49,
19215,
3656,
49,
244,
53,
49,
19215,
3656,
51,
1340,
312,
419,
461,
19215,
3656,
64,
343,
339,
310,
339,
310,
461,
3534,
64,
303,
339,
465,
1276,
1337,
1975,
13436,
782,
634,
2970,
365,
303,
320,
310,
7118,
1646,
299,
640,
3485,
1829,
492,
310,
2236,
327,
948,
882,
762,
46,
320,
343,
7118,
2371,
1829,
299,
1646,
51,
1995,
492,
343,
1646,
51,
489,
11694,
45,
1710,
312,
343,
1646,
51,
489,
3364,
45,
1710,
312,
343,
1646,
299,
2371,
1829,
64,
310,
339,
310,
758,
3485,
1829,
45,
1710,
312,
310,
2419,
1829,
299,
762,
64,
310,
458,
10661,
299,
920,
64,
303,
339,
465,
2532,
782,
2480,
5291,
45,
429,
3410,
3656,
2248,
46,
303,
320,
310,
453,
4119,
5865,
458,
391,
764,
7572,
51,
303,
339,
465,
2532,
782,
2480,
14071,
45,
4412,
3136,
46,
303,
320,
310,
453,
4119,
5865,
458,
391,
764,
7572,
51,
303,
339,
465,
964,
782,
2480,
6958,
45,
6989,
8535,
1070,
46,
303,
320,
310,
3447,
1197,
1437,
299,
1511,
1947,
3656,
45,
35871,
312,
310,
434,
327,
977,
882,
762,
46,
320,
343,
456,
327,
429,
1496,
299,
244,
53,
64,
1496,
350,
1437,
51,
1340,
64,
1496,
1475,
244,
54,
59,
46,
320,
419,
648,
3534,
3695,
299,
1437,
51,
1340,
449,
1496,
64,
419,
648,
2409,
299,
3534,
3695,
2394,
244,
54,
59,
1037,
244,
54,
59,
518,
3534,
3695,
64,
419,
5507,
6958,
1829,
45,
1384,
49,
1437,
49,
2409,
312,
343,
339,
343,
458,
10661,
299,
878,
64,
310,
339,
310,
2480,
14071,
45,
316,
10661,
312,
303,
339,
465,
964,
3447,
1197,
1511,
1947,
3656,
45,
6989,
347,
46,
303,
320,
310,
1175,
648,
7325,
1269,
299,
244,
53,
125,
61,
53,
53,
53,
64,
310,
3447,
1197,
1437,
299,
762,
64,
310,
648,
3410,
3656,
299,
244,
53,
64,
310,
3447,
1197,
7325,
299,
556,
3447,
96,
7325,
1269,
4041,
310,
648,
3534,
2248,
64,
310,
1614,
320,
343,
2236,
1849,
3669,
2248,
299,
347,
51,
870,
45,
7211,
49,
244,
53,
49,
7325,
51,
1340,
509,
868,
244,
53,
46,
320,
419,
434,
327,
977,
630,
762,
46,
320,
547,
1437,
299,
556,
3447,
96,
3669,
2248,
988,
547,
1189,
51,
40816,
45,
7211,
49,
244,
53,
49,
1437,
49,
244,
53,
49,
3534,
2248,
312,
419,
339,
832,
320,
547,
453,
27610,
556,
1437,
6546,
8473,
391,
7649,
1187,
341,
3534,
51,
547,
3447,
1197,
556,
1280,
299,
556,
3447,
96,
3025,
3656,
494,
3534,
2248,
988,
3704,
453,
2406,
3627,
1437,
2012,
556,
1437,
51,
547,
434,
327,
3025,
3656,
868,
244,
53,
46,
733,
1189,
51,
40816,
45,
977,
49,
244,
53,
49,
556,
1280,
49,
244,
53,
49,
3410,
3656,
312,
3704,
453,
20607,
1565,
7325,
51,
547,
1189,
51,
40816,
45,
7211,
49,
244,
53,
49,
556,
1280,
49,
3410,
3656,
49,
3534,
2248,
312,
3704,
1437,
299,
556,
1280,
64,
419,
339,
419,
3410,
3656,
1475,
3534,
2248,
64,
419,
8093,
51,
6553,
45,
977,
51,
1340,
630,
3410,
3656,
312,
343,
339,
310,
339,
310,
2385,
327,
6860,
503,
46,
320,
343,
2681,
51,
750,
45,
106,
312,
343,
1437,
299,
762,
64,
310,
339,
310,
461,
1437,
64,
303,
339,
465,
964,
2050,
2886,
24704,
991,
365,
2589,
9908,
1002,
303,
320,
310,
1922,
25264,
299,
920,
64,
310,
453,
8854,
1614,
391,
2886,
986,
331,
14019,
822,
347,
341,
1565,
3378,
51,
310,
2050,
1798,
991,
299,
29811,
51,
390,
44274,
45,
781,
51,
18777,
1052,
310,
434,
327,
1452,
991,
882,
762,
46,
343,
25264,
299,
2886,
991,
45,
1452,
991,
312,
310,
434,
1445,
47597,
46,
320,
343,
453,
2726,
4547,
666,
5320,
391,
2886,
986,
341,
14019,
822,
347,
341,
1565,
343,
453,
3378,
49,
19698,
3318,
341,
1565,
3378,
458,
666,
343,
453,
26328,
51,
8982,
4076,
1493,
614,
1200,
1798,
3378,
51,
343,
1798,
991,
299,
29811,
51,
390,
44274,
492,
343,
434,
327,
1452,
991,
882,
762,
46,
419,
25264,
299,
2886,
991,
45,
1452,
991,
312,
310,
339,
310,
434,
1445,
47597,
46,
320,
343,
1440,
556,
9908,
1002,
45,
781,
49,
419,
332,
12019,
391,
2886,
14019,
822,
456,
4956,
7289,
45,
547,
822,
51,
21928,
1233,
5086,
310,
339,
310,
461,
1798,
991,
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,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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
]
] | 4,530 | true | 45.316661 | true | true |
TestThreadExclusion.java | /FileExtraction/Java_unseen/itsaky_openjdk-21-android/test/jdk/jdk/jfr/jvm/TestThreadExclusion.java | /*
* Copyright (c) 2019, 2023, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
package jdk.jfr.jvm;
import java.time.Duration;
import java.util.List;
import java.util.concurrent.CountDownLatch;
import jdk.jfr.consumer.RecordedEvent;
import jdk.jfr.internal.JVM;
import jdk.jfr.Recording;
import jdk.test.lib.jfr.EventNames;
import jdk.test.lib.jfr.Events;
import static jdk.test.lib.Asserts.assertTrue;
/**
* @test
* @key jfr
* @requires vm.hasJFR & vm.continuations
* @library /test/lib
* @modules jdk.jfr/jdk.jfr.internal
* @compile TestThreadExclusion.java LatchedThread.java
* @run main/othervm jdk.jfr.jvm.TestThreadExclusion
*/
/**
* Starts and stops a number of threads in order.
* Verifies that events are in the same order.
*/
public class TestThreadExclusion {
private final static String EVENT_NAME_THREAD_START = EventNames.ThreadStart;
private final static String EVENT_NAME_THREAD_END = EventNames.ThreadEnd;
private static final String THREAD_NAME_PREFIX = "TestThread-";
private static JVM jvm;
public static void main(String[] args) throws Throwable {
// Test Java Thread Start event
Recording recording = new Recording();
recording.enable(EVENT_NAME_THREAD_START).withThreshold(Duration.ofMillis(0));
recording.enable(EVENT_NAME_THREAD_END).withThreshold(Duration.ofMillis(0));
recording.start();
LatchedThread[] threads = startThreads();
long[] javaThreadIds = getJavaThreadIds(threads);
stopThreads(threads);
recording.stop();
List<RecordedEvent> events = Events.fromRecording(recording);
verifyThreadExclusion(events, javaThreadIds);
}
private static void verifyThreadExclusion(List<RecordedEvent> events, long[] javaThreadIds) throws Exception {
for (RecordedEvent event : events) {
System.out.println("Event:" + event);
final long eventJavaThreadId = event.getThread().getJavaThreadId();
for (int i = 0; i < javaThreadIds.length; ++i) {
if (eventJavaThreadId == javaThreadIds[i]) {
throw new Exception("Event " + event.getEventType().getName() + " has a thread id " + eventJavaThreadId + " that should have been excluded");
}
}
}
}
private static LatchedThread[] startThreads() {
LatchedThread threads[] = new LatchedThread[10];
jvm = JVM.getJVM();
for (int i = 0; i < threads.length; i++) {
threads[i] = new LatchedThread(THREAD_NAME_PREFIX + i, false);
jvm.exclude(threads[i].getThread());
threads[i].start();
System.out.println("Started thread id=" + threads[i].getId());
}
return threads;
}
private static long[] getJavaThreadIds(LatchedThread[] threads) {
long[] javaThreadIds = new long[threads.length];
for (int i = 0; i < threads.length; ++i) {
javaThreadIds[i] = threads[i].getId();
}
return javaThreadIds;
}
private static void stopThreads(LatchedThread[] threads) {
for (LatchedThread t : threads) {
assertTrue(jvm.isExcluded(t.getThread()), "Thread " + t.getThread() + "should be excluded");
try {
t.stopAndJoin();
} catch (InterruptedException e) {
e.printStackTrace();
}
}
}
}
| 4,403 | Java | .java | itsaky/openjdk-21-android | 9 | 5 | 0 | 2023-09-16T11:36:19Z | 2024-02-11T04:34:15Z | 1ace69ae5d55a89b04ab208e12d64944676cf015f276f3a0bc4fd9c0e6465b44 | [] | [
1127,
222,
338,
2657,
327,
104,
46,
244,
55,
53,
54,
62,
49,
244,
55,
53,
55,
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,
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,
614,
4532,
51,
111,
2197,
51,
23491,
64,
222,
222,
485,
1401,
51,
1021,
51,
6203,
64,
222,
485,
1401,
51,
1058,
51,
739,
64,
222,
485,
1401,
51,
1058,
51,
8349,
51,
1552,
35579,
64,
222,
222,
485,
614,
4532,
51,
111,
2197,
51,
14163,
51,
454,
17036,
1167,
64,
222,
485,
614,
4532,
51,
111,
2197,
51,
3269,
51,
35886,
64,
222,
485,
614,
4532,
51,
111,
2197,
51,
26033,
64,
222,
222,
485,
614,
4532,
51,
881,
51,
1379,
51,
111,
2197,
51,
1167,
4128,
64,
222,
485,
614,
4532,
51,
881,
51,
1379,
51,
111,
2197,
51,
5015,
64,
222,
222,
485,
924,
614,
4532,
51,
881,
51,
1379,
51,
3285,
120,
51,
6553,
64,
222,
222,
1350,
222,
338,
496,
881,
222,
338,
496,
697,
614,
2197,
222,
338,
496,
13980,
8510,
51,
2057,
79,
4016,
568,
8510,
51,
18067,
1014,
222,
338,
496,
5261,
536,
881,
52,
1379,
222,
338,
496,
3490,
614,
4532,
51,
111,
2197,
52,
12461,
51,
111,
2197,
51,
3269,
222,
338,
496,
7028,
2128,
3032,
589,
13744,
51,
1874,
19240,
2356,
3032,
51,
1874,
222,
338,
496,
1967,
2594,
52,
2476,
3166,
614,
4532,
51,
111,
2197,
51,
23491,
51,
1024,
3032,
589,
13744,
222,
588,
222,
222,
1350,
222,
338,
39689,
480,
23653,
331,
1470,
451,
11157,
347,
2554,
51,
222,
338,
46214,
708,
5233,
904,
347,
341,
2454,
2554,
51,
222,
588,
222,
942,
462,
2128,
3032,
589,
13744,
320,
303,
964,
1175,
924,
910,
8454,
100,
2491,
100,
13696,
100,
7393,
299,
3916,
4128,
51,
3032,
2148,
64,
303,
964,
1175,
924,
910,
8454,
100,
2491,
100,
13696,
100,
3298,
299,
3916,
4128,
51,
3032,
2117,
64,
303,
964,
924,
1175,
910,
46592,
100,
2491,
100,
9857,
299,
332,
1024,
3032,
50,
884,
303,
964,
924,
30751,
614,
3166,
64,
465,
581,
924,
782,
2594,
45,
671,
1197,
2194,
46,
2589,
9953,
320,
310,
453,
2128,
4957,
7806,
4807,
1708,
310,
9807,
318,
23106,
299,
556,
9807,
318,
492,
310,
23106,
51,
4909,
45,
8062,
100,
2491,
100,
13696,
100,
7393,
566,
1814,
10699,
45,
6203,
51,
1048,
10909,
45,
53,
894,
310,
23106,
51,
4909,
45,
8062,
100,
2491,
100,
13696,
100,
3298,
566,
1814,
10699,
45,
6203,
51,
1048,
10909,
45,
53,
894,
310,
23106,
51,
1384,
492,
310,
19240,
2356,
3032,
1197,
11157,
299,
1496,
18145,
492,
310,
1964,
1197,
1401,
3032,
5345,
299,
640,
5445,
3032,
5345,
45,
10471,
312,
310,
4739,
18145,
45,
10471,
312,
310,
23106,
51,
4074,
492,
310,
1701,
65,
454,
17036,
1167,
67,
5233,
299,
17874,
51,
1097,
26033,
45,
35671,
312,
310,
6152,
3032,
589,
13744,
45,
5070,
49,
1401,
3032,
5345,
312,
303,
339,
465,
964,
924,
782,
6152,
3032,
589,
13744,
45,
739,
65,
454,
17036,
1167,
67,
5233,
49,
1964,
1197,
1401,
3032,
5345,
46,
2589,
3284,
320,
310,
456,
327,
454,
17036,
1167,
1708,
518,
5233,
46,
320,
343,
1189,
51,
560,
51,
3962,
459,
1167,
1941,
494,
1708,
312,
343,
1175,
1964,
1708,
5445,
3032,
625,
299,
1708,
51,
390,
3032,
941,
390,
5445,
3032,
625,
492,
343,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
1401,
3032,
5345,
51,
1340,
64,
3323,
110,
46,
320,
419,
434,
327,
1585,
5445,
3032,
625,
630,
1401,
3032,
5345,
96,
110,
1156,
320,
547,
1440,
556,
3284,
459,
1167,
332,
494,
1708,
51,
390,
15241,
941,
5175,
365,
494,
332,
1421,
331,
3682,
828,
332,
494,
1708,
5445,
3032,
625,
494,
332,
708,
1414,
1178,
2602,
26304,
742,
419,
339,
343,
339,
310,
339,
303,
339,
465,
964,
924,
19240,
2356,
3032,
1197,
1496,
18145,
365,
320,
310,
19240,
2356,
3032,
11157,
1197,
299,
556,
19240,
2356,
3032,
96,
54,
53,
988,
310,
614,
3166,
299,
30751,
51,
390,
35886,
492,
310,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
11157,
51,
1340,
64,
613,
2002,
320,
343,
11157,
96,
110,
98,
299,
556,
19240,
2356,
3032,
45,
13696,
100,
2491,
100,
9857,
494,
613,
49,
920,
312,
343,
614,
3166,
51,
10463,
45,
10471,
96,
110,
1015,
390,
3032,
1052,
343,
11157,
96,
110,
1015,
1384,
492,
343,
1189,
51,
560,
51,
3962,
459,
13067,
3682,
828,
366,
494,
11157,
96,
110,
1015,
7068,
1052,
310,
339,
310,
461,
11157,
64,
303,
339,
465,
964,
924,
1964,
1197,
640,
5445,
3032,
5345,
45,
9105,
2356,
3032,
1197,
11157,
46,
320,
310,
1964,
1197,
1401,
3032,
5345,
299,
556,
1964,
96,
10471,
51,
1340,
988,
310,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
11157,
51,
1340,
64,
3323,
110,
46,
320,
343,
1401,
3032,
5345,
96,
110,
98,
299,
11157,
96,
110,
1015,
7068,
492,
310,
339,
310,
461,
1401,
3032,
5345,
64,
303,
339,
465,
964,
924,
782,
4739,
18145,
45,
9105,
2356,
3032,
1197,
11157,
46,
320,
310,
456,
327,
9105,
2356,
3032,
292,
518,
11157,
46,
320,
343,
9396,
45,
23491,
51,
316,
46249,
45,
121,
51,
390,
3032,
6198,
332,
3032,
332,
494,
292,
51,
390,
3032,
365,
494,
332,
3179,
545,
26304,
742,
343,
1614,
320,
419,
292,
51,
4074,
2199,
6256,
492,
343,
339,
2385,
327,
28321,
503,
46,
320,
419,
503,
51,
9428,
492,
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,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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,157 | true | 65.682489 | true | true |
BiomeSelection.java | /FileExtraction/Java_unseen/toolbox4minecraft_amidst/src/main/java/amidst/gui/main/viewer/BiomeSelection.java | package amidst.gui.main.viewer;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.atomic.AtomicBoolean;
import amidst.documentation.ThreadSafe;
@ThreadSafe
public class BiomeSelection {
private final ConcurrentHashMap<Integer, AtomicBoolean> selectedBiomes = new ConcurrentHashMap<>();
// Should newly encountered biomes be selected by default or not?
private final AtomicBoolean unknownBiomesSelected = new AtomicBoolean(false);
private final AtomicBoolean isHighlightMode = new AtomicBoolean(false);
private final AtomicBoolean shouldWidgetBeVisible = new AtomicBoolean(false);
public BiomeSelection() {
}
public boolean toggleWidgetVisibility() {
return toggle(shouldWidgetBeVisible);
}
public boolean isWidgetVisible() {
return shouldWidgetBeVisible.get();
}
public boolean isSelected(int id) {
return getSelected(id).get();
}
private AtomicBoolean getSelected(int id) {
return selectedBiomes.computeIfAbsent(id, i -> {
return new AtomicBoolean(unknownBiomesSelected.get());
});
}
public boolean isVisible(int id) {
return !isHighlightMode.get() || isSelected(id);
}
public void selectAll() {
setAll(true);
}
public void deselectAll() {
setAll(false);
}
public boolean toggle(int id) {
return toggle(getSelected(id));
}
private void setAll(boolean value) {
selectedBiomes.clear();
unknownBiomesSelected.set(value);
}
public boolean toggleHighlightMode() {
return toggle(isHighlightMode);
}
public boolean isHighlightMode() {
return isHighlightMode.get();
}
private boolean toggle(AtomicBoolean atomicBoolean) {
boolean value;
do {
value = atomicBoolean.get();
} while (!atomicBoolean.compareAndSet(value, !value));
return !value;
}
}
| 1,750 | Java | .java | toolbox4minecraft/amidst | 2,121 | 238 | 268 | 2015-12-30T19:32:21Z | 2023-07-25T17:56:12Z | 6ce01b26fa7c8e41cbf1527cd0bb7d24c590c182dc0151b2b8d2c914c2b8cd3e | [] | [
1337,
3874,
333,
289,
51,
8472,
51,
1850,
51,
11441,
64,
222,
222,
485,
1401,
51,
1058,
51,
8349,
51,
18705,
8263,
64,
222,
485,
1401,
51,
1058,
51,
8349,
51,
6238,
51,
17122,
4718,
64,
222,
222,
485,
3874,
333,
289,
51,
10283,
51,
3032,
11684,
64,
222,
222,
69,
3032,
11684,
222,
942,
462,
18638,
308,
5385,
320,
222,
221,
2072,
1175,
22219,
8263,
65,
3078,
49,
16181,
4718,
67,
4337,
19615,
8037,
299,
556,
22219,
8263,
6984,
222,
221,
325,
9056,
16394,
18919,
16360,
8037,
545,
4337,
829,
1263,
575,
666,
68,
222,
221,
2072,
1175,
16181,
4718,
8675,
19615,
8037,
4559,
299,
556,
16181,
4718,
45,
1886,
312,
222,
221,
2072,
1175,
16181,
4718,
458,
13352,
2116,
299,
556,
16181,
4718,
45,
1886,
312,
222,
221,
2072,
1175,
16181,
4718,
1414,
3778,
1483,
5671,
299,
556,
16181,
4718,
45,
1886,
312,
499,
221,
942,
18638,
308,
5385,
365,
320,
222,
221,
130,
499,
221,
942,
1922,
10744,
3778,
9952,
365,
320,
376,
221,
620,
10744,
45,
3179,
3778,
1483,
5671,
312,
222,
221,
130,
499,
221,
942,
1922,
458,
3778,
5671,
365,
320,
376,
221,
620,
1414,
3778,
1483,
5671,
51,
390,
492,
222,
221,
130,
499,
221,
942,
1922,
458,
4559,
45,
429,
828,
46,
320,
376,
221,
620,
640,
4559,
45,
333,
566,
390,
492,
222,
221,
130,
499,
221,
2072,
16181,
4718,
640,
4559,
45,
429,
828,
46,
320,
376,
221,
620,
4337,
19615,
8037,
51,
7946,
2811,
28738,
45,
333,
49,
613,
984,
320,
374,
221,
620,
556,
16181,
4718,
45,
6887,
19615,
8037,
4559,
51,
390,
1052,
376,
221,
1933,
222,
221,
130,
499,
221,
942,
1922,
458,
5671,
45,
429,
828,
46,
320,
376,
221,
620,
673,
316,
13352,
2116,
51,
390,
365,
1293,
458,
4559,
45,
333,
312,
222,
221,
130,
499,
221,
942,
782,
2209,
1947,
365,
320,
376,
221,
489,
1947,
45,
1527,
312,
222,
221,
130,
499,
221,
942,
782,
428,
28192,
365,
320,
376,
221,
489,
1947,
45,
1886,
312,
222,
221,
130,
499,
221,
942,
1922,
10744,
45,
429,
828,
46,
320,
376,
221,
620,
10744,
45,
21851,
45,
333,
894,
222,
221,
130,
499,
221,
2072,
782,
758,
1947,
45,
4412,
804,
46,
320,
376,
221,
4358,
19615,
8037,
51,
3830,
492,
376,
221,
6887,
19615,
8037,
4559,
51,
489,
45,
872,
312,
222,
221,
130,
499,
221,
942,
1922,
10744,
13352,
2116,
365,
320,
376,
221,
620,
10744,
45,
316,
13352,
2116,
312,
222,
221,
130,
499,
221,
942,
1922,
458,
13352,
2116,
365,
320,
376,
221,
620,
458,
13352,
2116,
51,
390,
492,
222,
221,
130,
499,
221,
2072,
1922,
10744,
45,
17122,
4718,
19090,
4718,
46,
320,
376,
221,
4412,
804,
64,
376,
221,
1428,
320,
374,
221,
872,
299,
19090,
4718,
51,
390,
492,
376,
221,
130,
2236,
1445,
6238,
4718,
51,
6076,
30942,
45,
872,
49,
673,
872,
894,
376,
221,
620,
673,
872,
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,
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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
]
] | 493 | true | 75.428571 | true | true |
BinlogPauseStatusListener.java | /FileExtraction/Java_unseen/actiontech_dble/src/main/java/com/actiontech/dble/cluster/zkprocess/zktoxml/listen/BinlogPauseStatusListener.java | /*
* Copyright (C) 2016-2023 ActionTech.
* License: http://www.gnu.org/licenses/gpl.html GPL version 2 or higher.
*/
package com.actiontech.dble.cluster.zkprocess.zktoxml.listen;
import com.actiontech.dble.cluster.AbstractGeneralListener;
import com.actiontech.dble.cluster.logic.ClusterLogic;
import com.actiontech.dble.cluster.path.ClusterChildMetaUtil;
import com.actiontech.dble.cluster.values.ClusterEvent;
import com.actiontech.dble.cluster.values.Empty;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* Created by huqing.yan on 2017/5/25.
*/
public class BinlogPauseStatusListener extends AbstractGeneralListener<Empty> {
private static final Logger LOGGER = LoggerFactory.getLogger(BinlogPauseStatusListener.class);
public BinlogPauseStatusListener() {
super(ClusterChildMetaUtil.getBinlogPausePath());
}
@Override
public void onEvent(ClusterEvent<Empty> event) throws Exception {
switch (event.getChangeType()) {
case ADDED:
LOGGER.info("childEvent " + event.getPath() + " " + event.getChangeType());
ClusterLogic.forBinlog().executeBinlogPauseEvent(event);
break;
case REMOVED:
LOGGER.info("childEvent " + event.getPath() + " " + event.getChangeType());
ClusterLogic.forBinlog().executeBinlogPauseDeleteEvent(event);
break;
default:
break;
}
}
}
| 1,478 | Java | .java | actiontech/dble | 1,081 | 318 | 89 | 2017-08-24T10:58:41Z | 2024-04-29T05:30:33Z | 7e8d147f019804c8287cb5a86f5ba79f577f7e5606cc558ab7c61bf9b0f19047 | [] | [
1127,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
54,
59,
50,
55,
53,
55,
56,
5255,
13668,
51,
222,
338,
1196,
63,
1930,
574,
1516,
51,
10627,
51,
1107,
52,
4205,
52,
43817,
51,
935,
23508,
1522,
244,
55,
575,
12282,
51,
222,
588,
222,
222,
1337,
785,
51,
1160,
6646,
51,
1219,
293,
51,
5208,
51,
14575,
2441,
51,
14575,
471,
2608,
51,
12227,
64,
222,
222,
485,
785,
51,
1160,
6646,
51,
1219,
293,
51,
5208,
51,
5597,
8633,
2239,
64,
222,
485,
785,
51,
1160,
6646,
51,
1219,
293,
51,
5208,
51,
4566,
51,
4619,
12281,
64,
222,
485,
785,
51,
1160,
6646,
51,
1219,
293,
51,
5208,
51,
1005,
51,
4619,
2950,
4247,
1747,
64,
222,
485,
785,
51,
1160,
6646,
51,
1219,
293,
51,
5208,
51,
2857,
51,
4619,
1167,
64,
222,
485,
785,
51,
1160,
6646,
51,
1219,
293,
51,
5208,
51,
2857,
51,
2779,
64,
222,
485,
1105,
51,
12172,
57,
111,
51,
3716,
64,
222,
485,
1105,
51,
12172,
57,
111,
51,
19580,
64,
222,
222,
1350,
222,
338,
6956,
829,
38311,
118,
318,
51,
14488,
563,
244,
55,
53,
54,
60,
52,
58,
52,
55,
58,
51,
222,
588,
222,
942,
462,
24476,
769,
13456,
1551,
2239,
2041,
7406,
8633,
2239,
65,
2779,
67,
320,
303,
964,
924,
1175,
7145,
15794,
299,
21818,
51,
10588,
45,
9084,
769,
13456,
1551,
2239,
51,
842,
312,
465,
581,
24476,
769,
13456,
1551,
2239,
365,
320,
310,
2615,
45,
4619,
2950,
4247,
1747,
51,
390,
9084,
769,
13456,
1233,
1052,
303,
339,
465,
496,
1806,
303,
581,
782,
563,
1167,
45,
4619,
1167,
65,
2779,
67,
1708,
46,
2589,
3284,
320,
310,
3593,
327,
1585,
51,
390,
1810,
638,
1177,
320,
343,
1152,
6998,
10884,
63,
419,
15794,
51,
1357,
459,
2680,
1167,
332,
494,
1708,
51,
17676,
365,
494,
332,
332,
494,
1708,
51,
390,
1810,
638,
1052,
419,
12144,
12281,
51,
999,
9084,
769,
941,
4540,
9084,
769,
13456,
1167,
45,
1585,
312,
419,
1644,
64,
343,
1152,
3062,
44982,
63,
419,
15794,
51,
1357,
459,
2680,
1167,
332,
494,
1708,
51,
17676,
365,
494,
332,
332,
494,
1708,
51,
390,
1810,
638,
1052,
419,
12144,
12281,
51,
999,
9084,
769,
941,
4540,
9084,
769,
13456,
3422,
1167,
45,
1585,
312,
419,
1644,
64,
343,
1263,
63,
419,
1644,
64,
310,
339,
303,
339,
499,
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
]
] | 398 | true | 67.185386 | true | true |
CompilerPlugin.java | /FileExtraction/Java_unseen/forax_pro/src/main/java/com.github.forax.pro.plugin.compiler/com/github/forax/pro/plugin/compiler/CompilerPlugin.java | package com.github.forax.pro.plugin.compiler;
import static com.github.forax.pro.api.MutableConfig.derive;
import static com.github.forax.pro.api.helper.OptionAction.actionMaybe;
import static com.github.forax.pro.api.helper.OptionAction.exists;
import static com.github.forax.pro.api.helper.OptionAction.gatherAll;
import static com.github.forax.pro.api.helper.OptionAction.rawValues;
import static com.github.forax.pro.api.helper.OptionAction.toPrettyString;
import static com.github.forax.pro.helper.FileHelper.deleteAllFiles;
import static com.github.forax.pro.helper.FileHelper.pathFilenameEndsWith;
import static com.github.forax.pro.helper.FileHelper.pathFilenameEquals;
import static com.github.forax.pro.helper.FileHelper.walkAndFindCounterpart;
import static com.github.forax.pro.helper.FileHelper.walkIfNecessary;
import static com.github.forax.pro.helper.ModuleHelper.mergeModuleDescriptor;
import static com.github.forax.pro.helper.ModuleHelper.moduleDescriptorToSource;
import static com.github.forax.pro.helper.ModuleSourceLayout.JDK_LAYOUT;
import static com.github.forax.pro.helper.util.Unchecked.getUnchecked;
import static java.nio.file.Files.copy;
import static java.nio.file.Files.exists;
import static java.nio.file.Files.isDirectory;
import static java.nio.file.Files.walk;
import static java.nio.file.Files.write;
import static java.nio.file.StandardOpenOption.CREATE_NEW;
import static java.util.function.Function.identity;
import static java.util.function.Predicate.not;
import static java.util.stream.Collectors.joining;
import static java.util.stream.Collectors.toList;
import static java.util.stream.Collectors.toUnmodifiableList;
import com.github.forax.pro.api.Config;
import com.github.forax.pro.api.MutableConfig;
import com.github.forax.pro.api.Plugin;
import com.github.forax.pro.api.WatcherRegistry;
import com.github.forax.pro.api.helper.CmdLine;
import com.github.forax.pro.api.helper.OptionAction;
import com.github.forax.pro.api.helper.ProConf;
import com.github.forax.pro.helper.FileHelper;
import com.github.forax.pro.helper.Log;
import com.github.forax.pro.helper.ModuleHelper;
import com.github.forax.pro.helper.ModuleHelper.ResolverListener;
import com.github.forax.pro.helper.ModuleSourceLayout;
import java.io.File;
import java.io.IOException;
import java.lang.module.ModuleFinder;
import java.lang.module.ModuleReference;
import java.nio.file.Files;
import java.nio.file.Path;
import java.util.List;
import java.util.Optional;
import java.util.Set;
import java.util.function.Predicate;
import java.util.function.Supplier;
import java.util.spi.ToolProvider;
import java.util.stream.Stream;
public class CompilerPlugin implements Plugin {
@Override
public String name() {
return "compiler";
}
@Override
public void init(MutableConfig config) {
var compilerConf = config.getOrUpdate(name(), CompilerConf.class);
compilerConf.processorModuleSourcePath(List.of());
compilerConf.processorModuleTestPath(List.of());
}
@Override
public void configure(MutableConfig config) {
var compilerConf = config.getOrUpdate(name(), CompilerConf.class);
var convention = config.getOrThrow("convention", ConventionFacade.class);
// inputs
derive(compilerConf, CompilerConf::moduleDependencyPath, convention, ConventionFacade::javaModuleDependencyPath);
derive(compilerConf, CompilerConf::moduleSourcePath, convention, ConventionFacade::javaModuleSourcePath);
derive(compilerConf, CompilerConf::moduleSourceResourcesPath, convention, ConventionFacade::javaModuleSourceResourcesPath);
derive(compilerConf, CompilerConf::moduleTestPath, convention, ConventionFacade::javaModuleTestPath);
derive(compilerConf, CompilerConf::moduleTestResourcesPath, convention, ConventionFacade::javaModuleTestResourcesPath);
// outputs
derive(compilerConf, CompilerConf::moduleExplodedSourcePath, convention, c -> c.javaModuleExplodedSourcePath().get(0));
derive(compilerConf, CompilerConf::moduleMergedTestPath, convention, c -> c.javaModuleMergedTestPath().get(0));
derive(compilerConf, CompilerConf::moduleExplodedTestPath, convention, c -> c.javaModuleExplodedTestPath().get(0));
}
@Override
public void watch(Config config, WatcherRegistry registry) {
var compilerConf = config.getOrThrow(name(), CompilerConf.class);
compilerConf.moduleDependencyPath().forEach(registry::watch);
compilerConf.moduleSourcePath().forEach(registry::watch);
compilerConf.moduleSourceResourcesPath().forEach(registry::watch);
compilerConf.processorModuleSourcePath().forEach(registry::watch);
compilerConf.moduleTestPath().forEach(registry::watch);
compilerConf.moduleTestResourcesPath().forEach(registry::watch);
compilerConf.processorModuleTestPath().forEach(registry::watch);
}
private enum JavacOption {
RELEASE(actionMaybe("--release", Javac::release)),
VERBOSE(exists("-verbose", Javac::verbose)),
LINT(javac -> javac.lint().map(lint -> line -> line.add("-Xlint:" + lint))),
ENABLE_PREVIEW(exists("--enable-preview", Javac::enablePreview)),
RAW_ARGUMENTS(rawValues(Javac::rawArguments)),
DESTINATION(actionMaybe("-d", Javac::destination)),
MODULE_SOURCE_PATH(actionMaybe("--module-source-path", Javac::moduleSourcePath, File.pathSeparator)),
SOURCE_PATH(actionMaybe("-sourcepath", Javac::sourcePath, File.pathSeparator)),
MODULE(actionMaybe("--module", Javac::module)),
ROOT_MODULES(actionMaybe("--add-modules", Javac::rootModules, ",")),
UPGRADE_MODULE_PATH(actionMaybe("--upgrade-module-path", Javac::upgradeModulePath, File.pathSeparator)),
PROCESSOR_MODULE_PATH(actionMaybe("--processor-module-path", Javac::processorModulePath, File.pathSeparator)),
MODULE_PATH(actionMaybe("--module-path", Javac::modulePath, File.pathSeparator)),
CLASS_PATH(actionMaybe("-classpath", Javac::classPath, File.pathSeparator)),
PROCESSOR_PATH(actionMaybe("--processor-path", Javac::processorPath, File.pathSeparator))
;
final OptionAction<Javac> action;
JavacOption(OptionAction<Javac> action) {
this.action = action;
}
}
private static List<Path> concat(List<Path> path1, Path path2) {
return Stream.concat(path1.stream(), Stream.of(path2)).filter(Files::exists).collect(toList());
}
private static List<Path> concat(List<Path> path1, List<Path> path2) {
return Stream.concat(path1.stream(), path2.stream()).filter(Files::exists).collect(toList());
}
private static List<Path> computeModulePath(Optional<List<Path>> modulePath, Supplier<List<Path>> defaultModulePath) {
return modulePath
.or(() -> Optional.of(defaultModulePath.get()))
.orElseGet(List::of)
.stream().filter(Files::exists)
.collect(toUnmodifiableList());
}
private static List<Path> expandPath(List<Path> paths) {
return paths.stream().flatMap(p -> FileHelper.expand(p).stream()).filter(Files::exists).collect(toUnmodifiableList());
}
@Override
public int execute(Config config) throws IOException {
var log = Log.create(name(), config.getOrThrow("pro", ProConf.class).loglevel());
log.debug(config, conf -> "config " + config);
var javacTool = ToolProvider.findFirst("javac")
.orElseThrow(() -> new IllegalStateException("can not find javac"));
var compiler = config.getOrThrow(name(), CompilerConf.class);
// find layout
var sourceLayoutFactory = ModuleSourceLayout.Factory.of(ModuleSourceLayout::lookupForJdkLayout)
.or(ModuleSourceLayout::lookupForMavenMultiLayout);
var layoutOpt = sourceLayoutFactory.createLayout(Path.of("."));
if (layoutOpt.isEmpty()) {
log.error(null, __ -> "no source layout found");
return 1; //FIXME
}
var layout = layoutOpt.orElseThrow();
log.verbose(layout, _layout -> layout + " detected");
// find source modules and source module finder
var sourceModuleRefs = ModuleHelper.topologicalSort(layout.findModuleRefs(compiler.moduleSourcePath()));
var moduleSourceFinder = ModuleHelper.moduleFinder(sourceModuleRefs);
log.verbose(moduleSourceFinder, finder -> "module source finder: " + finder);
if (!sourceModuleRefs.isEmpty()) {
// find module source path, processor source path, module path an resource path
var compilerModuleSourcePath = layout.toAllPath(compiler.moduleSourcePath());
var compilerProcessorModuleSourcePath = compiler.processorModuleSourcePath();
var compilerModuleSourceResourcePath = compiler.moduleSourceResourcesPath();
var compilerModulePath = computeModulePath(compiler.modulePath(), compiler::moduleDependencyPath);
log.verbose(compilerModuleSourcePath, path -> "compilerModuleSourcePath: " + path);
log.verbose(compilerProcessorModuleSourcePath,
path -> "compilerProcessorModuleSourcePath: " + path);
log.verbose(compilerModuleSourceResourcePath,
path -> "compilerModuleSourceResourcePath: " + path);
log.verbose(compilerModulePath, path -> "compilerModulePath: " + path);
var errorCode = compile(log, javacTool,
sourceModuleRefs,
moduleSourceFinder,
compiler.sourceRelease(),
compiler,
compilerModuleSourcePath,
compilerProcessorModuleSourcePath,
compilerModulePath,
compilerModuleSourceResourcePath,
layout,
compiler.moduleExplodedSourcePath(),
"source:");
if (errorCode != 0) {
return errorCode;
}
} else {
// no source
log.info(null, __ -> "no source found");
}
// find test modules and finder
var testModuleRefs = layout.findModuleRefs(compiler.moduleTestPath());
if (!testModuleRefs.isEmpty()) {
var compilerModuleMergedTestPath = compiler.moduleMergedTestPath();
var compilerProcessorModuleTestPath = concat(compiler.processorModuleSourcePath(), compiler.processorModuleTestPath());
var compilerModuleTestResourcePath = concat(compiler.moduleSourceResourcesPath(), compiler.moduleTestResourcesPath());
var compilerModulePath = computeModulePath(compiler.modulePath(),
() -> concat(compiler.moduleDependencyPath(), compiler.moduleExplodedSourcePath()));
log.verbose(compilerModuleMergedTestPath, path -> "compilerModuleMergedTestPath: " + path);
log.verbose(compilerProcessorModuleTestPath, path -> "compilerProcessorModuleTestPath: " + path);
log.verbose(compilerModuleTestResourcePath, path -> "compilerModuleTestResourcePath: " + path);
log.verbose(compilerModulePath, path -> "compilerModulePath: " + path);
deleteAllFiles(compilerModuleMergedTestPath, false);
merge(log, moduleSourceFinder, testModuleRefs, compilerModuleMergedTestPath);
// reload testModuleRefs but from merged to get the module-infos right
var mergedTestModuleRefs = ModuleHelper.topologicalSort(JDK_LAYOUT.findModuleRefs(List.of(compilerModuleMergedTestPath)));
// find test module finder
var moduleMergedTestFinder = ModuleHelper.moduleFinder(mergedTestModuleRefs);
log.verbose(moduleMergedTestFinder, finder -> "module test merged finder: " + finder);
return compile(log, javacTool,
mergedTestModuleRefs,
moduleMergedTestFinder,
compiler.testRelease().or(compiler::sourceRelease),
compiler,
List.of(compilerModuleMergedTestPath),
compilerProcessorModuleTestPath,
compilerModulePath,
compilerModuleTestResourcePath,
layout,
compiler.moduleExplodedTestPath(),
"test:");
} else {
// no test
log.info(null, __ -> "no test found");
}
return 0;
}
private static boolean resolveModuleGraph(Log log, ModuleFinder moduleFinder, List<Path> compilerModulePath, String pass) {
var dependencyFinder = ModuleFinder.compose(
compilerModulePath.stream()
.map(ModuleFinder::of)
.toArray(ModuleFinder[]::new));
var systemFinder = ModuleHelper.systemModulesFinder();
log.debug(moduleFinder, finder -> pass + " modules " + finder.findAll().stream().map(ref -> ref.descriptor().name()).sorted().collect(joining(", ")));
log.debug(dependencyFinder, finder -> pass + " dependency modules " + finder.findAll().stream().map(ref -> ref.descriptor().name()).sorted().collect(joining(", ")));
log.debug(systemFinder, finder -> pass + " system modules " + finder.findAll().stream().map(ref -> ref.descriptor().name()).sorted().collect(joining(", ")));
return ModuleHelper.resolveOnlyRequires(
ModuleFinder.compose(moduleFinder, dependencyFinder, systemFinder),
moduleFinder.findAll().stream().map(ref -> ref.descriptor().name()).collect(toList()),
new ResolverListener() {
@Override
public void module(String moduleName) {
// empty
}
@Override
public void dependencyNotFound(String moduleName, String dependencyChain) {
log.error(null, __ -> pass + " can not resolve " + moduleName + " from " + dependencyChain);
}
});
}
private static int compile(Log log, ToolProvider javacTool,
Set<ModuleReference> moduleRefs,
ModuleFinder moduleFinder,
Optional<Integer> release,
CompilerConf compiler,
List<Path> compilerModuleSourcePath,
List<Path> compilerProcessorModulePath,
List<Path> compilerModulePath,
List<Path> resourcesPath,
ModuleSourceLayout layout,
Path destination,
String pass) throws IOException {
// try to resolve the module graph to see if something is missing ?
var resolved = resolveModuleGraph(log, moduleFinder, compilerModulePath, pass);
if (!resolved) {
return 1; //FIXME
}
deleteAllFiles(destination, false);
var javac = new Javac();
release.ifPresent(javac::release);
compiler.verbose().ifPresent(javac::verbose);
compiler.lint().ifPresent(javac::lint);
compiler.enablePreview().ifPresent(javac::enablePreview);
compiler.rawArguments().ifPresent(javac::rawArguments);
compiler.upgradeModulePath().ifPresent(javac::upgradeModulePath);
compiler.module().ifPresent(javac::module);
compiler.rootModules().ifPresent(javac::rootModules);
var compatibilityMode = release.map(_release -> _release <= 8).orElse(false);
if (!compatibilityMode) {
// module mode, compile all java files at once using moduleSourcePath
javac.moduleSourcePath(compilerModuleSourcePath);
Optional.of(compilerModulePath).filter(not(List::isEmpty)).ifPresent(javac::modulePath);
Optional.of(compilerProcessorModulePath).filter(not(List::isEmpty)).ifPresent(javac::processorModulePath);
javac.destination(destination);
var files = compiler.files()
.orElseGet(() -> walkIfNecessary(expandPath(compilerModuleSourcePath), pathFilenameEndsWith(".java")));
var errorCode = compileAllFiles(log, javacTool, javac, release, files);
if (errorCode != 0) {
return errorCode;
}
} else {
// compatibility mode, compile modules one by one, moduleRefs is already in topological order
var classPath = compilerModulePath.stream().flatMap(CompilerPlugin::asClassPath).collect(toUnmodifiableList());
var processorPath = compilerProcessorModulePath.stream().flatMap(CompilerPlugin::asClassPath).collect(toUnmodifiableList());
Optional.of(classPath).filter(not(List::isEmpty)).ifPresent(javac::classPath);
Optional.of(processorPath).filter(not(List::isEmpty)).ifPresent(javac::processorPath);
for(var moduleRef: moduleRefs) {
// compile modules one by one using the sourcePath, without the module-info
var sourcePath = layout.toModulePath(moduleRef, compiler.moduleSourcePath());
javac.sourcePath(sourcePath);
javac.destination(destination.resolve(moduleRef.descriptor().name()));
var moduleInfo = pathFilenameEquals("module-info.java");
var files = compiler.files()
.orElseGet(() -> walkIfNecessary(sourcePath, pathFilenameEndsWith(".java").and(not(moduleInfo))));
var errorCode = compileAllFiles(log, javacTool, javac, release, files);
if (errorCode != 0) {
return errorCode;
}
// compile the module-info with release 9
javac.classPath(null); // reset classpath
Optional.of(compilerModulePath).filter(not(List::isEmpty)).ifPresent(javac::modulePath); // use modulePath instead
files = walkIfNecessary(sourcePath, moduleInfo);
errorCode = compileAllFiles(log, javacTool, javac, Optional.of(9), files);
if (errorCode != 0) {
return errorCode;
}
}
}
//copy all resources
copyAllResources(log, moduleRefs, resourcesPath, layout, destination);
// declare all services for the classpath
declareAllServicesForTheClassPath(moduleRefs, destination);
return 0;
}
private static int compileAllFiles(Log log, ToolProvider javacTool, Javac javac, Optional<Integer> release, List<Path> files) {
release.ifPresent(javac::release);
var cmdLine = gatherAll(JavacOption.class, option -> option.action).apply(javac, new CmdLine());
files.forEach(cmdLine::add);
var arguments = cmdLine.toArguments();
log.verbose(files, fs -> toPrettyString(JavacOption.class, option -> option.action).apply(javac, "javac") + "\n" + fs.stream().map(Path::toString).collect(joining(" ")));
return javacTool.run(System.out, System.err, arguments);
}
private static void copyAllResources(Log log, Set<ModuleReference> moduleRefs,
List<Path> resourcesPath, ModuleSourceLayout layout, Path destination) {
for(var moduleRef: moduleRefs) {
for(var resourceDir : layout.toModulePath(moduleRef, resourcesPath)) {
var destinationDir = destination.resolve(moduleRef.descriptor().name());
log.verbose(null, __ -> "copy resources from directory " + resourceDir + " to " + destinationDir);
walkAndFindCounterpart(resourceDir, destinationDir, identity(), (src, dest) -> {
if (isDirectory(src) && isDirectory(dest)) { // do not overwrite directory
return;
}
copy(src, dest);
});
}
}
}
private static void declareAllServicesForTheClassPath(Set<ModuleReference> moduleRefs,
Path destination) throws IOException {
for(var moduleRef: moduleRefs) {
var descriptor = moduleRef.descriptor();
var moduleFolder = destination.resolve(descriptor.name());
var servicesPath = moduleFolder.resolve("META-INF/services/");
var provides = descriptor.provides();
if (!provides.isEmpty()) {
Files.createDirectories(servicesPath);
}
for(var provide: provides) {
var servicePath = servicesPath.resolve(provide.service());
write(servicePath, (Iterable<String>)provide.providers().stream()::iterator, CREATE_NEW);
}
}
}
private static Stream<Path> asClassPath(Path path) {
// IOExceptions suppressed
return getUnchecked(() -> {
if (isDirectory(path)) {
var jars = walk(path).filter(p -> p.getFileName().toString().endsWith(".jar")).collect(toUnmodifiableList());
if (!jars.isEmpty()) {
return jars.stream();
}
}
return Stream.of(path);
});
}
private static void merge(Log log, ModuleFinder moduleSourceFinder,
Set<ModuleReference> testModuleRefs, Path moduleMergedTestPath) throws IOException {
Files.createDirectories(moduleMergedTestPath);
log.verbose(testModuleRefs, __ -> "merge testModuleRefs: " + testModuleRefs);
log.verbose(moduleSourceFinder, __ -> "merge moduleSourceFinder: " + moduleSourceFinder);
for(var testRef: testModuleRefs) {
var testModuleName = testRef.descriptor().name();
var testModuleDestination = moduleMergedTestPath.resolve(testModuleName);
Predicate<Path> predicate;
var sourceRefOpt = moduleSourceFinder.find(testModuleName);
if (sourceRefOpt.isPresent()) {
var sourceRef = sourceRefOpt.orElseThrow();
var sourcePath = Path.of(sourceRef.location().orElseThrow());
var skipModuleInfoDotJava = not(pathFilenameEquals("module-info.java"));
log.verbose(null, __ -> "copy source from directory " + sourcePath + " to " + testModuleDestination);
walkAndFindCounterpart(sourcePath, testModuleDestination,
stream -> stream.filter(skipModuleInfoDotJava),
(source, target) -> {
log.debug(null, __ -> "copy file " + source + " to " + target);
Files.copy(source, target);
});
var descriptor = mergeModuleDescriptor(sourceRef.descriptor(), testRef.descriptor());
write(testModuleDestination.resolve("module-info.java"), List.of(moduleDescriptorToSource(descriptor)));
predicate = skipModuleInfoDotJava;
} else {
predicate = __ -> true;
}
var testPath = Path.of(testRef.location().orElseThrow());
log.verbose(null, __ -> "copy test from directory " + testPath + " to " + testModuleDestination);
walkAndFindCounterpart(testPath, testModuleDestination, stream -> stream.filter(predicate),
(srcPath, dstPath) -> {
if (exists(dstPath) && isDirectory(dstPath)) {
return; // skip existing path
}
log.debug(null, __ -> "copy file " + srcPath + " to " + dstPath);
copy(srcPath, dstPath);
});
}
}
}
| 21,655 | Java | .java | forax/pro | 101 | 14 | 7 | 2016-11-23T23:34:31Z | 2021-02-05T05:08:20Z | b6f39bee5b85b1da467151d367eb7cfea7c53e489d0c6dcc62af04d2310f8d9b | [] | [
1337,
785,
51,
951,
51,
999,
668,
51,
529,
51,
2809,
51,
10203,
64,
222,
222,
485,
924,
785,
51,
951,
51,
999,
668,
51,
529,
51,
1256,
51,
12907,
1081,
51,
11222,
64,
222,
485,
924,
785,
51,
951,
51,
999,
668,
51,
529,
51,
1256,
51,
4328,
51,
2846,
1728,
51,
1160,
13254,
64,
222,
485,
924,
785,
51,
951,
51,
999,
668,
51,
529,
51,
1256,
51,
4328,
51,
2846,
1728,
51,
4678,
64,
222,
485,
924,
785,
51,
951,
51,
999,
668,
51,
529,
51,
1256,
51,
4328,
51,
2846,
1728,
51,
20681,
1947,
64,
222,
485,
924,
785,
51,
951,
51,
999,
668,
51,
529,
51,
1256,
51,
4328,
51,
2846,
1728,
51,
1312,
3367,
64,
222,
485,
924,
785,
51,
951,
51,
999,
668,
51,
529,
51,
1256,
51,
4328,
51,
2846,
1728,
51,
471,
20507,
671,
64,
222,
485,
924,
785,
51,
951,
51,
999,
668,
51,
529,
51,
4328,
51,
991,
2775,
51,
2577,
1947,
3852,
64,
222,
485,
924,
785,
51,
951,
51,
999,
668,
51,
529,
51,
4328,
51,
991,
2775,
51,
1005,
10246,
44107,
64,
222,
485,
924,
785,
51,
951,
51,
999,
668,
51,
529,
51,
4328,
51,
991,
2775,
51,
1005,
10246,
2273,
64,
222,
485,
924,
785,
51,
951,
51,
999,
668,
51,
529,
51,
4328,
51,
991,
2775,
51,
11941,
2199,
4882,
6489,
2068,
64,
222,
485,
924,
785,
51,
951,
51,
999,
668,
51,
529,
51,
4328,
51,
991,
2775,
51,
11941,
2811,
6536,
16159,
64,
222,
485,
924,
785,
51,
951,
51,
999,
668,
51,
529,
51,
4328,
51,
2478,
2775,
51,
6097,
2478,
4336,
64,
222,
485,
924,
785,
51,
951,
51,
999,
668,
51,
529,
51,
4328,
51,
2478,
2775,
51,
1663,
4336,
724,
2044,
64,
222,
485,
924,
785,
51,
951,
51,
999,
668,
51,
529,
51,
4328,
51,
2478,
2044,
2362,
51,
25766,
100,
30743,
64,
222,
485,
924,
785,
51,
951,
51,
999,
668,
51,
529,
51,
4328,
51,
1058,
51,
45944,
51,
36127,
7156,
64,
222,
485,
924,
1401,
51,
11780,
51,
781,
51,
3852,
51,
3014,
64,
222,
485,
924,
1401,
51,
11780,
51,
781,
51,
3852,
51,
4678,
64,
222,
485,
924,
1401,
51,
11780,
51,
781,
51,
3852,
51,
30815,
64,
222,
485,
924,
1401,
51,
11780,
51,
781,
51,
3852,
51,
11941,
64,
222,
485,
924,
1401,
51,
11780,
51,
781,
51,
3852,
51,
1838,
64,
222,
485,
924,
1401,
51,
11780,
51,
781,
51,
8109,
2981,
2846,
51,
6046,
100,
11364,
64,
222,
485,
924,
1401,
51,
1058,
51,
1144,
51,
2466,
51,
8552,
64,
222,
485,
924,
1401,
51,
1058,
51,
1144,
51,
12690,
51,
1226,
64,
222,
485,
924,
1401,
51,
1058,
51,
2255,
51,
16862,
51,
2548,
318,
64,
222,
485,
924,
1401,
51,
1058,
51,
2255,
51,
16862,
51,
15341,
64,
222,
485,
924,
1401,
51,
1058,
51,
2255,
51,
16862,
51,
471,
1079,
30377,
739,
64,
222,
222,
485,
785,
51,
951,
51,
999,
668,
51,
529,
51,
1256,
51,
1081,
64,
222,
485,
785,
51,
951,
51,
999,
668,
51,
529,
51,
1256,
51,
12907,
1081,
64,
222,
485,
785,
51,
951,
51,
999,
668,
51,
529,
51,
1256,
51,
4168,
64,
222,
485,
785,
51,
951,
51,
999,
668,
51,
529,
51,
1256,
51,
18728,
5389,
64,
222,
485,
785,
51,
951,
51,
999,
668,
51,
529,
51,
1256,
51,
4328,
51,
5285,
1829,
64,
222,
485,
785,
51,
951,
51,
999,
668,
51,
529,
51,
1256,
51,
4328,
51,
2846,
1728,
64,
222,
485,
785,
51,
951,
51,
999,
668,
51,
529,
51,
1256,
51,
4328,
51,
608,
5204,
64,
222,
485,
785,
51,
951,
51,
999,
668,
51,
529,
51,
4328,
51,
991,
2775,
64,
222,
485,
785,
51,
951,
51,
999,
668,
51,
529,
51,
4328,
51,
1353,
64,
222,
485,
785,
51,
951,
51,
999,
668,
51,
529,
51,
4328,
51,
2478,
2775,
64,
222,
485,
785,
51,
951,
51,
999,
668,
51,
529,
51,
4328,
51,
2478,
2775,
51,
7266,
2239,
64,
222,
485,
785,
51,
951,
51,
999,
668,
51,
529,
51,
4328,
51,
2478,
2044,
2362,
64,
222,
485,
1401,
51,
735,
51,
991,
64,
222,
485,
1401,
51,
735,
51,
6860,
64,
222,
485,
1401,
51,
1600,
51,
1663,
51,
2478,
15868,
64,
222,
485,
1401,
51,
1600,
51,
1663,
51,
2478,
3580,
64,
222,
485,
1401,
51,
11780,
51,
781,
51,
3852,
64,
222,
485,
1401,
51,
11780,
51,
781,
51,
1233,
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,
485,
1401,
51,
1058,
51,
1144,
51,
12690,
64,
222,
485,
1401,
51,
1058,
51,
1144,
51,
17612,
64,
222,
485,
1401,
51,
1058,
51,
10787,
51,
3670,
2588,
64,
222,
485,
1401,
51,
1058,
51,
2255,
51,
1880,
64,
222,
222,
942,
462,
20178,
4168,
4584,
11029,
320,
353,
496,
1806,
353,
581,
910,
655,
365,
320,
303,
461,
332,
10203,
884,
353,
339,
736,
496,
1806,
353,
581,
782,
3238,
45,
12907,
1081,
1377,
46,
320,
303,
792,
8986,
5204,
299,
1377,
51,
390,
24861,
45,
444,
1046,
20178,
5204,
51,
842,
312,
303,
8986,
5204,
51,
10093,
2478,
2044,
1233,
45,
739,
51,
1048,
1052,
303,
8986,
5204,
51,
10093,
2478,
1024,
1233,
45,
739,
51,
1048,
1052,
353,
339,
4070,
496,
1806,
353,
581,
782,
8496,
45,
12907,
1081,
1377,
46,
320,
303,
792,
8986,
5204,
299,
1377,
51,
390,
24861,
45,
444,
1046,
20178,
5204,
51,
842,
312,
303,
792,
20684,
299,
1377,
51,
390,
48915,
459,
31585,
411,
1356,
8964,
19572,
51,
842,
312,
2205,
453,
7872,
303,
30319,
45,
10203,
5204,
49,
20178,
5204,
422,
1663,
9666,
1233,
49,
20684,
49,
1356,
8964,
19572,
422,
1874,
2478,
9666,
1233,
312,
303,
30319,
45,
10203,
5204,
49,
20178,
5204,
422,
1663,
2044,
1233,
49,
20684,
49,
1356,
8964,
19572,
422,
1874,
2478,
2044,
1233,
312,
303,
30319,
45,
10203,
5204,
49,
20178,
5204,
422,
1663,
2044,
6061,
1233,
49,
20684,
49,
1356,
8964,
19572,
422,
1874,
2478,
2044,
6061,
1233,
312,
303,
30319,
45,
10203,
5204,
49,
20178,
5204,
422,
1663,
1024,
1233,
49,
20684,
49,
1356,
8964,
19572,
422,
1874,
2478,
1024,
1233,
312,
303,
30319,
45,
10203,
5204,
49,
20178,
5204,
422,
1663,
1024,
6061,
1233,
49,
20684,
49,
1356,
8964,
19572,
422,
1874,
2478,
1024,
6061,
1233,
312,
2205,
453,
10176,
303,
30319,
45,
10203,
5204,
49,
20178,
5204,
422,
1663,
23073,
1001,
2044,
1233,
49,
20684,
49,
300,
984,
300,
51,
1874,
2478,
23073,
1001,
2044,
1233,
941,
390,
45,
53,
894,
303,
30319,
45,
10203,
5204,
49,
20178,
5204,
422,
1663,
35393,
1024,
1233,
49,
20684,
49,
300,
984,
300,
51,
1874,
2478,
35393,
1024,
1233,
941,
390,
45,
53,
894,
303,
30319,
45,
10203,
5204,
49,
20178,
5204,
422,
1663,
23073,
1001,
1024,
1233,
49,
20684,
49,
300,
984,
300,
51,
1874,
2478,
23073,
1001,
1024,
1233,
941,
390,
45,
53,
894,
353,
339,
4070,
496,
1806,
353,
581,
782,
9754,
45,
1081,
1377,
49,
22598,
284,
5389,
10886,
46,
320,
303,
792,
8986,
5204,
299,
1377,
51,
390,
48915,
45,
444,
1046,
20178,
5204,
51,
842,
312,
303,
8986,
5204,
51,
1663,
9666,
1233,
941,
5388,
45,
8205,
422,
6595,
312,
303,
8986,
5204,
51,
1663,
2044,
1233,
941,
5388,
45,
8205,
422,
6595,
312,
303,
8986,
5204,
51,
1663,
2044,
6061,
1233,
941,
5388,
45,
8205,
422,
6595,
312,
303,
8986,
5204,
51,
10093,
2478,
2044,
1233,
941,
5388,
45,
8205,
422,
6595,
312,
303,
8986,
5204,
51,
1663,
1024,
1233,
941,
5388,
45,
8205,
422,
6595,
312,
303,
8986,
5204,
51,
1663,
1024,
6061,
1233,
941,
5388,
45,
8205,
422,
6595,
312,
303,
8986,
5204,
51,
10093,
2478,
1024,
1233,
941,
5388,
45,
8205,
422,
6595,
312,
353,
339,
4070,
964,
3858,
990,
472,
348,
2846,
320,
303,
43489,
45,
1160,
13254,
13715,
3794,
411,
990,
472,
348,
422,
3794,
3684,
303,
48296,
45,
4678,
10364,
10563,
411,
990,
472,
348,
422,
10563,
3684,
303,
517,
1860,
45,
32575,
984,
43202,
348,
51,
5927,
941,
1130,
45,
5927,
984,
1646,
984,
1646,
51,
688,
10364,
93,
5927,
1941,
494,
18363,
20131,
303,
21468,
100,
2896,
11476,
45,
4678,
13715,
4909,
50,
8693,
411,
990,
472,
348,
422,
4909,
10621,
3684,
303,
44450,
100,
29899,
88,
45,
1312,
3367,
45,
79,
472,
348,
422,
1312,
8560,
3684,
303,
47204,
38227,
45,
1160,
13254,
10364,
105,
411,
990,
472,
348,
422,
9750,
3684,
303,
30516,
100,
8192,
100,
4088,
45,
1160,
13254,
13715,
1663,
50,
1876,
50,
1005,
411,
990,
472,
348,
422,
1663,
2044,
1233,
49,
2050,
51,
1005,
11143,
3684,
303,
36743,
100,
4088,
45,
1160,
13254,
10364,
1876,
1005,
411,
990,
472,
348,
422,
1876,
1233,
49,
2050,
51,
1005,
11143,
3684,
303,
30516,
45,
1160,
13254,
13715,
1663,
411,
990,
472,
348,
422,
1663,
3684,
303,
32217,
100,
43461,
45,
1160,
13254,
13715,
688,
50,
3490,
411,
990,
472,
348,
422,
2405,
12247,
49,
3021,
12967,
303,
10159,
4290,
25818,
100,
9858,
100,
4088,
45,
1160,
13254,
13715,
13906,
50,
1663,
50,
1005,
411,
990,
472,
348,
422,
13906,
2478,
1233,
49,
2050,
51,
1005,
11143,
3684,
303,
32379,
776,
100,
9858,
100,
4088,
45,
1160,
13254,
13715,
10093,
50,
1663,
50,
1005,
411,
990,
472,
348,
422,
10093,
2478,
1233,
49,
2050,
51,
1005,
11143,
3684,
303,
30516,
100,
4088,
45,
1160,
13254,
13715,
1663,
50,
1005,
411,
990,
472,
348,
422,
1663,
1233,
49,
2050,
51,
1005,
11143,
3684,
2205,
8752,
100,
4088,
45,
1160,
13254,
10364,
33423,
411,
990,
472,
348,
422,
842,
1233,
49,
2050,
51,
1005,
11143,
3684,
303,
32379,
776,
100,
4088,
45,
1160,
13254,
13715,
10093,
50,
1005,
411,
990,
472,
348,
422,
10093,
1233,
49,
2050,
51,
1005,
11143,
509,
303,
2098,
2205,
1175,
3678,
1728,
65,
79,
472,
348,
67,
2146,
64,
2205,
990,
472,
348,
2846,
45,
2846,
1728,
65,
79,
472,
348,
67,
2146,
46,
320,
416,
477,
51,
1160,
299,
2146,
64,
303,
339,
353,
339,
736,
964,
924,
1701,
65,
1233,
67,
14406,
45,
739,
65,
1233,
67,
1536,
54,
49,
5404,
1536,
55,
46,
320,
303,
461,
7552,
51,
7289,
45,
1005,
54,
51,
2255,
1046,
7552,
51,
1048,
45,
1005,
55,
3445,
2049,
45,
3852,
422,
4678,
566,
6190,
45,
15341,
1052,
353,
339,
353,
964,
924,
1701,
65,
1233,
67,
14406,
45,
739,
65,
1233,
67,
1536,
54,
49,
1701,
65,
1233,
67,
1536,
55,
46,
320,
303,
461,
7552,
51,
7289,
45,
1005,
54,
51,
2255,
1046,
1536,
55,
51,
2255,
4269,
2049,
45,
3852,
422,
4678,
566,
6190,
45,
15341,
1052,
353,
339,
8886,
964,
924,
1701,
65,
1233,
67,
7665,
2478,
1233,
45,
7575,
65,
739,
65,
1233,
2023,
2313,
1233,
49,
34549,
65,
739,
65,
1233,
2023,
1263,
2478,
1233,
46,
320,
303,
461,
2313,
1233,
310,
657,
290,
4133,
984,
5663,
51,
1048,
45,
1555,
2478,
1233,
51,
390,
5183,
310,
657,
26628,
953,
45,
739,
422,
1048,
46,
310,
657,
2255,
941,
2049,
45,
3852,
422,
4678,
46,
310,
657,
6190,
45,
471,
1079,
30377,
739,
1052,
353,
339,
736,
964,
924,
1701,
65,
1233,
67,
11782,
1233,
45,
739,
65,
1233,
67,
7854,
46,
320,
303,
461,
7854,
51,
2255,
941,
23375,
45,
117,
984,
2050,
2775,
51,
8976,
45,
117,
566,
2255,
4269,
2049,
45,
3852,
422,
4678,
566,
6190,
45,
471,
1079,
30377,
739,
1052,
353,
339,
736,
496,
1806,
353,
581,
648,
5755,
45,
1081,
1377,
46,
2589,
6300,
320,
303,
792,
1264,
299,
2681,
51,
1315,
45,
444,
1046,
1377,
51,
390,
48915,
459,
529,
411,
1330,
5204,
51,
842,
566,
769,
2675,
1052,
303,
1264,
51,
2824,
45,
1180,
49,
3601,
984,
332,
1180,
332,
494,
1377,
312,
2205,
792,
43202,
348,
3670,
299,
10023,
2588,
51,
45219,
459,
32575,
678,
310,
657,
26628,
6562,
4133,
984,
556,
21641,
459,
3389,
666,
2309,
43202,
348,
2992,
303,
792,
8986,
299,
1377,
51,
390,
48915,
45,
444,
1046,
20178,
5204,
51,
842,
312,
465,
453,
2309,
6385,
303,
792,
1932,
2362,
2232,
299,
7716,
2044,
2362,
51,
2232,
51,
1048,
45,
2478,
2044,
2362,
422,
10124,
1580,
79,
4532,
2362,
46,
310,
657,
290,
45,
2478,
2044,
2362,
422,
10124,
1580,
29940,
6230,
2362,
312,
303,
792,
6385,
5501,
299,
1932,
2362,
2232,
51,
1315,
2362,
45,
1233,
51,
1048,
5804,
2992,
303,
434,
327,
3106,
5501,
51,
6401,
1177,
320,
416,
1264,
51,
750,
45,
1710,
49,
1176,
984,
332,
1365,
1932,
6385,
2448,
742,
416,
461,
244,
54,
64,
453,
6443,
1043,
303,
339,
303,
792,
6385,
299,
6385,
5501,
51,
26628,
6562,
492,
303,
1264,
51,
10563,
45,
3106,
49,
634,
3106,
984,
6385,
494,
332,
14117,
742,
465,
453,
2309,
1932,
7912,
480,
1932,
2313,
43616,
303,
792,
1932,
2478,
21755,
299,
7716,
2775,
51,
28868,
11101,
5217,
45,
3106,
51,
1828,
2478,
21755,
45,
10203,
51,
1663,
2044,
1233,
5086,
303,
792,
2313,
2044,
15868,
299,
7716,
2775,
51,
1663,
15868,
45,
1876,
2478,
21755,
312,
303,
1264,
51,
10563,
45,
1663,
2044,
15868,
49,
43616,
984,
332,
1663,
1932,
43616,
63,
332,
494,
43616,
312,
303,
434,
1445,
1876,
2478,
21755,
51,
6401,
1177,
320,
416,
453,
2309,
2313,
1932,
1536,
49,
12814,
1932,
1536,
49,
2313,
1536,
619,
2885,
1536,
416,
792,
8986,
2478,
2044,
1233,
299,
6385,
51,
471,
1947,
1233,
45,
10203,
51,
1663,
2044,
1233,
1052,
416,
792,
8986,
6872,
2478,
2044,
1233,
299,
8986,
51,
10093,
2478,
2044,
1233,
492,
416,
792,
8986,
2478,
2044,
2305,
1233,
299,
8986,
51,
1663,
2044,
6061,
1233,
492,
416,
792,
8986,
2478,
1233,
299,
7665,
2478,
1233,
45,
10203,
51,
1663,
1233,
1046,
8986,
422,
1663,
9666,
1233,
312,
1704,
1264,
51,
10563,
45,
10203,
2478,
2044,
1233,
49,
1536,
984,
332,
10203,
2478,
2044,
1233,
63,
332,
494,
1536,
312,
416,
1264,
51,
10563,
45,
10203,
6872,
2478,
2044,
1233,
49,
633,
1536,
984,
332,
10203,
6872,
2478,
2044,
1233,
63,
332,
494,
1536,
312,
416,
1264,
51,
10563,
45,
10203,
2478,
2044,
2305,
1233,
49,
633,
1536,
984,
332,
10203,
2478,
2044,
2305,
1233,
63,
332,
494,
1536,
312,
416,
1264,
51,
10563,
45,
10203,
2478,
1233,
49,
1536,
984,
332,
10203,
2478,
1233,
63,
332,
494,
1536,
312,
1704,
792,
28943,
299,
8340,
45,
769,
49,
43202,
348,
3670,
49,
633,
1932,
2478,
21755,
49,
633,
2313,
2044,
15868,
49,
633,
8986,
51,
1876,
5820,
1046,
633,
8986,
49,
633,
8986,
2478,
2044,
1233,
49,
633,
8986,
6872,
2478,
2044,
1233,
49,
633,
8986,
2478,
1233,
49,
633,
8986,
2478,
2044,
2305,
1233,
49,
633,
6385,
49,
633,
8986,
51,
1663,
23073,
1001,
2044,
1233,
1046,
633,
332,
1876,
20120,
416,
434,
327,
28098,
882,
244,
53,
46,
320,
310,
461,
28943,
64,
416,
339,
303,
339,
832,
320,
416,
453,
1307,
1932,
416,
1264,
51,
1357,
45,
1710,
49,
1176,
984,
332,
1365,
1932,
2448,
742,
303,
339,
465,
453,
2309,
913,
7912,
480,
43616,
303,
792,
913,
2478,
21755,
299,
6385,
51,
1828,
2478,
21755,
45,
10203,
51,
1663,
1024,
1233,
1052,
303,
434,
1445,
881,
2478,
21755,
51,
6401,
1177,
320,
416,
792,
8986,
2478,
35393,
1024,
1233,
299,
8986,
51,
1663,
35393,
1024,
1233,
492,
416,
792,
8986,
6872,
2478,
1024,
1233,
299,
14406,
45,
10203,
51,
10093,
2478,
2044,
1233,
1046,
8986,
51,
10093,
2478,
1024,
1233,
1052,
416,
792,
8986,
2478,
1024,
2305,
1233,
299,
14406,
45,
10203,
51,
1663,
2044,
6061,
1233,
1046,
8986,
51,
1663,
1024,
6061,
1233,
1052,
416,
792,
8986,
2478,
1233,
299,
7665,
2478,
1233,
45,
10203,
51,
1663,
1233,
1046,
633,
1423,
984,
14406,
45,
10203,
51,
1663,
9666,
1233,
1046,
8986,
51,
1663,
23073,
1001,
2044,
1233,
5086,
1704,
1264,
51,
10563,
45,
10203,
2478,
35393,
1024,
1233,
49,
1536,
984,
332,
10203,
2478,
35393,
1024,
1233,
63,
332,
494,
1536,
312,
416,
1264,
51,
10563,
45,
10203,
6872,
2478,
1024,
1233,
49,
1536,
984,
332,
10203,
6872,
2478,
1024,
1233,
63,
332,
494,
1536,
312,
416,
1264,
51,
10563,
45,
10203,
2478,
1024,
2305,
1233,
49,
1536,
984,
332,
10203,
2478,
1024,
2305,
1233,
63,
332,
494,
1536,
312,
416,
1264,
51,
10563,
45,
10203,
2478,
1233,
49,
1536,
984,
332,
10203,
2478,
1233,
63,
332,
494,
1536,
312,
1704,
3081,
1947,
3852,
45,
10203,
2478,
35393,
1024,
1233,
49,
920,
312,
416,
4009,
45,
769,
49,
2313,
2044,
15868,
49,
913,
2478,
21755,
49,
8986,
2478,
35393,
1024,
1233,
312,
1704,
453,
17074,
913,
2478,
21755,
1294,
664,
9117,
391,
640,
341,
2313,
50,
15554,
2109,
416,
792,
9117,
1024,
2478,
21755,
299,
7716,
2775,
51,
28868,
11101,
5217,
45,
25766,
100,
30743,
51,
1828,
2478,
21755,
45,
739,
51,
1048,
45,
10203,
2478,
35393,
1024,
1233,
4254,
416,
453,
2309,
913,
2313,
43616,
416,
792,
2313,
35393,
1024,
15868,
299,
7716,
2775,
51,
1663,
15868,
45,
20274,
1024,
2478,
21755,
312,
416,
1264,
51,
10563,
45,
1663,
35393,
1024,
15868,
49,
43616,
984,
332,
1663,
913,
9117,
43616,
63,
332,
494,
43616,
312,
1704,
461,
8340,
45,
769,
49,
43202,
348,
3670,
49,
633,
9117,
1024,
2478,
21755,
49,
633,
2313,
35393,
1024,
15868,
49,
633,
8986,
51,
881,
5820,
941,
290,
45,
10203,
422,
1876,
5820,
490,
633,
8986,
49,
633,
1701,
51,
1048,
45,
10203,
2478,
35393,
1024,
1233,
490,
633,
8986,
6872,
2478,
1024,
1233,
49,
633,
8986,
2478,
1233,
49,
633,
8986,
2478,
1024,
2305,
1233,
49,
633,
6385,
49,
633,
8986,
51,
1663,
23073,
1001,
1024,
1233,
1046,
633,
332,
881,
20120,
303,
339,
832,
320,
416,
453,
1307,
913,
416,
1264,
51,
1357,
45,
1710,
49,
1176,
984,
332,
1365,
913,
2448,
742,
303,
339,
465,
461,
244,
53,
64,
353,
339,
736,
964,
924,
1922,
5895,
2478,
3418,
45,
1353,
1264,
49,
7716,
15868,
2313,
15868,
49,
1701,
65,
1233,
67,
8986,
2478,
1233,
49,
244,
910,
3119,
46,
320,
303,
792,
8458,
15868,
299,
7716,
15868,
51,
9322,
45,
310,
8986,
2478,
1233,
51,
2255,
365,
343,
657,
1130,
45,
2478,
15868,
422,
1048,
46,
343,
657,
14315,
45,
2478,
15868,
1197,
422,
909,
894,
303,
792,
2684,
15868,
299,
7716,
2775,
51,
2964,
12247,
15868,
492,
465,
1264,
51,
2824,
45,
1663,
15868,
49,
43616,
984,
3119,
494,
332,
7912,
332,
494,
43616,
51,
18896,
941,
2255,
941,
1130,
45,
631,
984,
2505,
51,
9662,
941,
444,
4269,
11980,
941,
6190,
45,
2548,
318,
10803,
332,
4254,
303,
1264,
51,
2824,
45,
9281,
15868,
49,
43616,
984,
3119,
494,
332,
8458,
7912,
332,
494,
43616,
51,
18896,
941,
2255,
941,
1130,
45,
631,
984,
2505,
51,
9662,
941,
444,
4269,
11980,
941,
6190,
45,
2548,
318,
10803,
332,
4254,
303,
1264,
51,
2824,
45,
2964,
15868,
49,
43616,
984,
3119,
494,
332,
2684,
7912,
332,
494,
43616,
51,
18896,
941,
2255,
941,
1130,
45,
631,
984,
2505,
51,
9662,
941,
444,
4269,
11980,
941,
6190,
45,
2548,
318,
10803,
332,
4254,
465,
461,
7716,
2775,
51,
5292,
4505,
21035,
45,
310,
7716,
15868,
51,
9322,
45,
1663,
15868,
49,
8458,
15868,
49,
2684,
15868,
490,
310,
2313,
15868,
51,
18896,
941,
2255,
941,
1130,
45,
631,
984,
2505,
51,
9662,
941,
444,
4269,
6190,
45,
15341,
6198,
310,
556,
30249,
2239,
365,
320,
633,
496,
1806,
633,
581,
782,
2313,
45,
671,
45950,
46,
320,
343,
453,
3517,
633,
339,
633,
496,
1806,
633,
581,
782,
8458,
5972,
45,
671,
45950,
49,
910,
8458,
7429,
46,
320,
343,
1264,
51,
750,
45,
1710,
49,
1176,
984,
3119,
494,
332,
902,
666,
5895,
332,
494,
45950,
494,
332,
664,
332,
494,
8458,
7429,
312,
633,
339,
310,
1141,
353,
339,
736,
964,
924,
648,
8340,
45,
1353,
1264,
49,
10023,
2588,
43202,
348,
3670,
49,
416,
1776,
65,
2478,
3580,
67,
2313,
21755,
49,
416,
7716,
15868,
2313,
15868,
49,
416,
5663,
65,
3078,
67,
3636,
49,
416,
20178,
5204,
8986,
49,
416,
1701,
65,
1233,
67,
8986,
2478,
2044,
1233,
49,
416,
1701,
65,
1233,
67,
8986,
6872,
2478,
1233,
49,
416,
1701,
65,
1233,
67,
8986,
2478,
1233,
49,
416,
1701,
65,
1233,
67,
6091,
1233,
49,
416,
7716,
2044,
2362,
6385,
49,
416,
5404,
8061,
49,
416,
910,
3119,
46,
2589,
6300,
320,
465,
453,
1614,
391,
5895,
341,
2313,
4023,
391,
2337,
434,
4682,
458,
5839,
1037,
303,
792,
11428,
299,
5895,
2478,
3418,
45,
769,
49,
2313,
15868,
49,
8986,
2478,
1233,
49,
244,
3119,
312,
303,
434,
1445,
15646,
46,
320,
416,
461,
244,
54,
64,
244,
453,
6443,
1043,
303,
339,
2205,
3081,
1947,
3852,
45,
9750,
49,
920,
312,
2205,
792,
43202,
348,
299,
556,
990,
472,
348,
492,
303,
3636,
51,
344,
9013,
45,
32575,
422,
3794,
312,
303,
8986,
51,
10563,
941,
344,
9013,
45,
32575,
422,
10563,
312,
303,
8986,
51,
5927,
941,
344,
9013,
45,
32575,
422,
5927,
312,
303,
8986,
51,
4909,
10621,
941,
344,
9013,
45,
32575,
422,
4909,
10621,
312,
303,
8986,
51,
1312,
8560,
941,
344,
9013,
45,
32575,
422,
1312,
8560,
312,
303,
8986,
51,
13906,
2478,
1233,
941,
344,
9013,
45,
32575,
422,
13906,
2478,
1233,
312,
303,
8986,
51,
1663,
941,
344,
9013,
45,
32575,
422,
1663,
312,
303,
8986,
51,
2405,
12247,
941,
344,
9013,
45,
32575,
422,
2405,
12247,
312,
465,
792,
14673,
2116,
299,
3636,
51,
1130,
2191,
3794,
984,
634,
3794,
2527,
244,
61,
566,
26628,
45,
1886,
312,
303,
434,
1445,
29119,
2116,
46,
320,
416,
453,
2313,
2945,
49,
8340,
1187,
1401,
2293,
840,
5065,
1493,
2313,
2044,
1233,
416,
43202,
348,
51,
1663,
2044,
1233,
45,
10203,
2478,
2044,
1233,
312,
416,
5663,
51,
1048,
45,
10203,
2478,
1233,
566,
2049,
45,
1226,
45,
739,
422,
6401,
3445,
344,
9013,
45,
32575,
422,
1663,
1233,
312,
416,
5663,
51,
1048,
45,
10203,
6872,
2478,
1233,
566,
2049,
45,
1226,
45,
739,
422,
6401,
3445,
344,
9013,
45,
32575,
422,
10093,
2478,
1233,
312,
416,
43202,
348,
51,
9750,
45,
9750,
312,
1704,
792,
2293,
299,
8986,
51,
2558,
365,
633,
657,
26628,
953,
4133,
984,
13505,
2811,
6536,
16159,
45,
8976,
1233,
45,
10203,
2478,
2044,
1233,
490,
1536,
10246,
44107,
5804,
1874,
13265,
1704,
792,
28943,
299,
8340,
1947,
3852,
45,
769,
49,
43202,
348,
3670,
49,
43202,
348,
49,
3636,
49,
2293,
312,
416,
434,
327,
28098,
882,
244,
53,
46,
320,
310,
461,
28943,
64,
416,
339,
303,
339,
832,
320,
416,
453,
14673,
2945,
49,
8340,
7912,
1611,
829,
1611,
49,
2313,
21755,
458,
3443,
347,
29444,
11101,
2554,
416,
792,
462,
1233,
299,
8986,
2478,
1233,
51,
2255,
941,
23375,
45,
8122,
4168,
422,
321,
1359,
1233,
566,
6190,
45,
471,
1079,
30377,
739,
1052,
416,
792,
12814,
1233,
299,
8986,
6872,
2478,
1233,
51,
2255,
941,
23375,
45,
8122,
4168,
422,
321,
1359,
1233,
566,
6190,
45,
471,
1079,
30377,
739,
1052,
416,
5663,
51,
1048,
45,
842,
1233,
566,
2049,
45,
1226,
45,
739,
422,
6401,
3445,
344,
9013,
45,
32575,
422,
842,
1233,
312,
416,
5663,
51,
1048,
45,
10093,
1233,
566,
2049,
45,
1226,
45,
739,
422,
6401,
3445,
344,
9013,
45,
32575,
422,
10093,
1233,
312,
1704,
456,
45,
887,
2313,
2099,
63,
2313,
21755,
46,
320,
310,
453,
8340,
7912,
1611,
829,
1611,
1493,
341,
1932,
1233,
49,
2895,
341,
2313,
50,
1357,
310,
792,
1932,
1233,
299,
6385,
51,
471,
2478,
1233,
45,
1663,
2099,
49,
8986,
51,
1663,
2044,
1233,
1052,
310,
43202,
348,
51,
1876,
1233,
45,
1876,
1233,
312,
310,
43202,
348,
51,
9750,
45,
9750,
51,
5292,
45,
1663,
2099,
51,
9662,
941,
444,
5086,
310,
792,
2313,
1139,
299,
1536,
10246,
2273,
459,
1663,
50,
1357,
51,
1874,
742,
310,
792,
2293,
299,
8986,
51,
2558,
365,
343,
657,
26628,
953,
4133,
984,
13505,
2811,
6536,
16159,
45,
1876,
1233,
49,
1536,
10246,
44107,
5804,
1874,
1912,
382,
45,
1226,
45,
1663,
1139,
21433,
310,
792,
28943,
299,
8340,
1947,
3852,
45,
769,
49,
43202,
348,
3670,
49,
43202,
348,
49,
3636,
49,
2293,
312,
310,
434,
327,
28098,
882,
244,
53,
46,
320,
633,
461,
28943,
64,
310,
339,
2776,
453,
8340,
341,
2313,
50,
1357,
642,
3636,
244,
62,
310,
43202,
348,
51,
842,
1233,
45,
1710,
312,
453,
5672,
32394,
310,
5663,
51,
1048,
45,
10203,
2478,
1233,
566,
2049,
45,
1226,
45,
739,
422,
6401,
3445,
344,
9013,
45,
32575,
422,
1663,
1233,
312,
244,
453,
813,
2313,
1233,
4203,
310,
2293,
299,
13505,
2811,
6536,
16159,
45,
1876,
1233,
49,
2313,
1139,
312,
310,
28943,
299,
8340,
1947,
3852,
45,
769,
49,
43202,
348,
3670,
49,
43202,
348,
49,
5663,
51,
1048,
45,
62,
490,
2293,
312,
310,
434,
327,
28098,
882,
244,
53,
46,
320,
633,
461,
28943,
64,
310,
339,
416,
339,
303,
339,
2205,
453,
3014,
1187,
6091,
303,
1948,
1947,
6061,
45,
769,
49,
2313,
21755,
49,
6091,
1233,
49,
6385,
49,
8061,
312,
465,
453,
8874,
1187,
6694,
456,
341,
32394,
303,
8874,
1947,
5466,
1580,
1338,
1359,
1233,
45,
1663,
21755,
49,
8061,
312,
465,
461,
244,
53,
64,
353,
339,
8886,
964,
924,
648,
8340,
1947,
3852,
45,
1353,
1264,
49,
10023,
2588,
43202,
348,
3670,
49,
990,
472,
348,
43202,
348,
49,
5663,
65,
3078,
67,
3636,
49,
1701,
65,
1233,
67,
2293,
46,
320,
303,
3636,
51,
344,
9013,
45,
32575,
422,
3794,
312,
303,
792,
4781,
1829,
299,
20174,
1947,
45,
79,
472,
348,
2846,
51,
842,
49,
2489,
984,
2489,
51,
1160,
566,
4740,
45,
32575,
49,
556,
20742,
1829,
1052,
303,
2293,
51,
5388,
45,
3530,
1829,
422,
688,
312,
465,
792,
4228,
299,
4781,
1829,
51,
471,
8560,
492,
303,
1264,
51,
10563,
45,
2558,
49,
5993,
984,
391,
20507,
671,
45,
79,
472,
348,
2846,
51,
842,
49,
2489,
984,
2489,
51,
1160,
566,
4740,
45,
32575,
49,
332,
32575,
678,
494,
2724,
115,
39,
494,
5993,
51,
2255,
941,
1130,
45,
1233,
422,
3127,
566,
6190,
45,
2548,
318,
459,
332,
4254,
465,
461,
43202,
348,
3670,
51,
1967,
45,
1615,
51,
560,
49,
1189,
51,
549,
49,
4228,
312,
353,
339,
736,
964,
924,
782,
1948,
1947,
6061,
45,
1353,
1264,
49,
1776,
65,
2478,
3580,
67,
2313,
21755,
49,
416,
1701,
65,
1233,
67,
6091,
1233,
49,
7716,
2044,
2362,
6385,
49,
5404,
8061,
46,
320,
303,
456,
45,
887,
2313,
2099,
63,
2313,
21755,
46,
320,
416,
456,
45,
887,
2885,
2995,
518,
6385,
51,
471,
2478,
1233,
45,
1663,
2099,
49,
6091,
1233,
509,
320,
310,
792,
8061,
2995,
299,
8061,
51,
5292,
45,
1663,
2099,
51,
9662,
941,
444,
1052,
310,
1264,
51,
10563,
45,
1710,
49,
1176,
984,
332,
3014,
6091,
664,
3378,
332,
494,
2885,
2995,
494,
332,
391,
332,
494,
8061,
2995,
312,
310,
13505,
2199,
4882,
6489,
2068,
45,
3157,
2995,
49,
8061,
2995,
49,
10645,
1046,
327,
1634,
49,
3481,
46,
984,
320,
633,
434,
327,
30815,
45,
1634,
46,
979,
458,
4562,
45,
3332,
509,
320,
453,
764,
666,
18209,
3378,
343,
461,
64,
633,
339,
633,
1948,
45,
1634,
49,
3481,
312,
310,
1141,
416,
339,
303,
339,
353,
339,
736,
964,
924,
782,
8874,
1947,
5466,
1580,
1338,
1359,
1233,
45,
903,
65,
2478,
3580,
67,
2313,
21755,
49,
416,
5404,
8061,
46,
2589,
6300,
320,
303,
456,
45,
887,
2313,
2099,
63,
2313,
21755,
46,
320,
416,
792,
9869,
299,
2313,
2099,
51,
9662,
492,
416,
792,
2313,
5653,
299,
8061,
51,
5292,
45,
9662,
51,
444,
1052,
416,
792,
6694,
1233,
299,
2313,
5653,
51,
5292,
459,
14246,
50,
10189,
52,
4270,
38740,
416,
792,
7388,
299,
9869,
51,
48297,
492,
416,
434,
1445,
48297,
51,
6401,
1177,
320,
310,
11105,
51,
1315,
26054,
45,
4270,
1233,
312,
416,
339,
416,
456,
45,
887,
2372,
63,
7388,
46,
320,
310,
792,
2733,
1233,
299,
6694,
1233,
51,
5292,
45,
15715,
51,
2140,
1052,
310,
2886,
45,
2140,
1233,
49,
327,
17324,
65,
671,
5111,
15715,
51,
13885,
941,
2255,
365,
422,
5174,
49,
20250,
100,
11364,
312,
416,
339,
303,
339,
353,
339,
736,
964,
924,
7552,
65,
1233,
67,
641,
1359,
1233,
45,
1233,
1536,
46,
320,
303,
453,
6300,
120,
11091,
4787,
303,
461,
640,
45944,
4133,
984,
320,
416,
434,
327,
30815,
45,
1005,
509,
320,
310,
792,
614,
4207,
299,
13505,
45,
1005,
566,
2049,
45,
117,
984,
317,
51,
390,
6793,
941,
3127,
941,
20982,
5804,
6873,
11606,
6190,
45,
471,
1079,
30377,
739,
1052,
310,
434,
1445,
111,
4207,
51,
6401,
1177,
320,
633,
461,
614,
4207,
51,
2255,
492,
16219,
339,
416,
339,
416,
461,
7552,
51,
1048,
45,
1005,
312,
303,
1141,
353,
339,
4070,
964,
924,
782,
4009,
45,
1353,
1264,
49,
7716,
15868,
2313,
2044,
15868,
49,
416,
1776,
65,
2478,
3580,
67,
913,
2478,
21755,
49,
5404,
2313,
35393,
1024,
1233,
46,
2589,
6300,
320,
303,
11105,
51,
1315,
26054,
45,
1663,
35393,
1024,
1233,
312,
465,
1264,
51,
10563,
45,
881,
2478,
21755,
49,
1176,
984,
332,
6097,
913,
2478,
21755,
63,
332,
494,
913,
2478,
21755,
312,
303,
1264,
51,
10563,
45,
1663,
2044,
15868,
49,
1176,
984,
332,
6097,
2313,
2044,
15868,
63,
332,
494,
2313,
2044,
15868,
312,
465,
456,
45,
887,
913,
2099,
63,
913,
2478,
21755,
46,
320,
416,
792,
913,
32605,
299,
913,
2099,
51,
9662,
941,
444,
492,
416,
792,
913,
2478,
11351,
299,
2313,
35393,
1024,
1233,
51,
5292,
45,
881,
32605,
312,
1704,
23410,
65,
1233,
67,
14093,
64,
416,
792,
1932,
2099,
5501,
299,
2313,
2044,
15868,
51,
1828,
45,
881,
32605,
312,
416,
434,
327,
1876,
2099,
5501,
51,
28200,
1177,
320,
310,
792,
1932,
2099,
299,
1932,
2099,
5501,
51,
26628,
6562,
492,
603,
792,
1932,
1233,
299,
5404,
51,
1048,
45,
1876,
2099,
51,
2665,
941,
26628,
6562,
1052,
310,
792,
7130,
2478,
1139,
10026,
5445,
299,
666,
45,
1005,
10246,
2273,
459,
1663,
50,
1357,
51,
1874,
2992,
603,
1264,
51,
10563,
45,
1710,
49,
1176,
984,
332,
3014,
1932,
664,
3378,
332,
494,
1932,
1233,
494,
332,
391,
332,
494,
913,
2478,
11351,
312,
310,
13505,
2199,
4882,
6489,
2068,
45,
1876,
1233,
49,
913,
2478,
11351,
49,
343,
3458,
984,
3458,
51,
2049,
45,
5969,
2478,
1139,
10026,
5445,
490,
343,
327,
1876,
49,
1780,
46,
984,
320,
1108,
1264,
51,
2824,
45,
1710,
49,
1176,
984,
332,
3014,
822,
332,
494,
1932,
494,
332,
391,
332,
494,
1780,
312,
1108,
11105,
51,
3014,
45,
1876,
49,
1780,
312,
343,
1141,
6934,
792,
9869,
299,
4009,
2478,
4336,
45,
1876,
2099,
51,
9662,
1046,
913,
2099,
51,
9662,
1052,
310,
2886,
45,
881,
2478,
11351,
51,
5292,
459,
1663,
50,
1357,
51,
1874,
2132,
1701,
51,
1048,
45,
1663,
4336,
724,
2044,
45,
9662,
4254,
2776,
14093,
299,
7130,
2478,
1139,
10026,
5445,
64,
36551,
339,
832,
320,
310,
14093,
299,
1176,
984,
878,
64,
416,
339,
1704,
792,
913,
1233,
299,
5404,
51,
1048,
45,
881,
2099,
51,
2665,
941,
26628,
6562,
1052,
416,
1264,
51,
10563,
45,
1710,
49,
1176,
984,
332,
3014,
913,
664,
3378,
332,
494,
913,
1233,
494,
332,
391,
332,
494,
913,
2478,
11351,
312,
416,
13505,
2199,
4882,
6489,
2068,
45,
881,
1233,
49,
913,
2478,
11351,
49,
3458,
984,
3458,
51,
2049,
45,
15512,
490,
633,
327,
1634,
1233,
49,
7125,
1233,
46,
984,
320,
343,
434,
327,
4678,
45,
6295,
1233,
46,
979,
458,
4562,
45,
6295,
1233,
509,
320,
1108,
461,
64,
244,
453,
7130,
4917,
1536,
343,
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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
]
] | 5,298 | true | 70.851997 | true | true |
Simd_Generic.java | /FileExtraction/Java_unseen/blackbeard334_jops/jops_test/src/main/java/neo/idlib/math/Simd_Generic.java | package neo.idlib.math;
import neo.idlib.math.Matrix.idMatX;
import neo.idlib.math.Simd.idSIMDProcessor;
import neo.idlib.math.Vector.idVecX;
import java.util.Arrays;
/**
*
*/
public class Simd_Generic {
// UNROLL1(Y) { int _IX; for (_IX=0;_IX<count;_IX++) {Y_IX;} }
//#define UNROLL2(Y) { int _IX, _NM = count&0xfffffffe; for (_IX=0;_IX<_NM;_IX+=2){Y(_IX+0);Y(_IX+1);} if (_IX < count) {Y_IX;}}
// static void UNROLL4(float[] dst, float constant, float[] src, int count) {
// int _IX, _NM = count & 0xfffffffc;
// for (_IX = 0; _IX < _NM; _IX += 4) {
// dst[_IX + 0] = src[_IX + 0] + constant;
// dst[_IX + 1] = src[_IX + 1] + constant;
// dst[_IX + 2] = src[_IX + 2] + constant;
// dst[_IX + 3] = src[_IX + 3] + constant;
// }
// for (; _IX < count; _IX++) {
// dst[_IX] = src[_IX] + constant;
// }
// }
//#define UNROLL8(Y) { int _IX, _NM = count&0xfffffff8; for (_IX=0;_IX<_NM;_IX+=8){Y(_IX+0);Y(_IX+1);Y(_IX+2);Y(_IX+3);Y(_IX+4);Y(_IX+5);Y(_IX+6);Y(_IX+7);} _NM = count&0xfffffffe; for(;_IX<_NM;_IX+=2){Y_IX; Y(_IX+1);} if (_IX < count) {Y_IX;} }
static final int MIXBUFFER_SAMPLES = 4096;
static final boolean DERIVE_UNSMOOTHED_BITANGENT = true;
/*
===============================================================================
Generic implementation of idSIMDProcessor
===============================================================================
*/
static class idSIMD_Generic extends idSIMDProcessor {
// @Override
// public String GetName() {
// return "generic code";
// }
//
// /*
// ============
// idSIMD_Generic::Add
//
// dst[i] = constant + src[i];
// ============
// */
// @Override
// public void Add(float[] dst, float constant, float[] src, int count) {
////#define OPER(X) dst[(X)] = src[(X)] + constant;
//// UNROLL4(OPER)
////#undef OPER
// int _IX, _NM = count & 0xfffffffc;
// for (_IX = 0; _IX < _NM; _IX += 4) {
// dst[_IX + 0] = src[_IX + 0] + constant;
// dst[_IX + 1] = src[_IX + 1] + constant;
// dst[_IX + 2] = src[_IX + 2] + constant;
// dst[_IX + 3] = src[_IX + 3] + constant;
// }
// for (; _IX < count; _IX++) {
// dst[_IX] = src[_IX] + constant;
// }
// }
//
// /*
// ============
// idSIMD_Generic::Add
//
// dst[i] = src0[i] + src1[i];
// ============
// */
// @Override
// public void Add(float[] dst, float[] src0, float[] src1, int count) {
// int _IX, _NM = count & 0xfffffffc;
// for (_IX = 0; _IX < _NM; _IX += 4) {
// dst[_IX + 0] = src0[_IX + 0] + src1[_IX + 0];
// dst[_IX + 1] = src0[_IX + 1] + src1[_IX + 1];
// dst[_IX + 2] = src0[_IX + 2] + src1[_IX + 2];
// dst[_IX + 3] = src0[_IX + 3] + src1[_IX + 3];
// }
// for (; _IX < count; _IX++) {
// dst[_IX] = src0[_IX] + src1[_IX];
// }
// }
//
// /*
// ============
// idSIMD_Generic::Sub
//
// dst[i] = constant - src[i];
// ============
// */
// @Override
// public void Sub(float[] dst, float constant, float[] src, int count) {
// final double c = constant;
// int _IX, _NM = count & 0xfffffffc;
// for (_IX = 0; _IX < _NM; _IX += 4) {
// dst[_IX + 0] = (float) (c - src[_IX + 0]);
// dst[_IX + 1] = (float) (c - src[_IX + 1]);
// dst[_IX + 2] = (float) (c - src[_IX + 2]);
// dst[_IX + 3] = (float) (c - src[_IX + 3]);
// }
// for (; _IX < count; _IX++) {
// dst[_IX] = (float) (c - src[_IX]);
// }
// }
//
// /*
// ============
// idSIMD_Generic::Sub
//
// dst[i] = src0[i] - src1[i];
// ============
// */
// @Override
// public void Sub(float[] dst, float[] src0, float[] src1, int count) {
// int _IX, _NM = count & 0xfffffffc;
// for (_IX = 0; _IX < _NM; _IX += 4) {
// dst[_IX + 0] = src0[_IX + 0] - src1[_IX + 0];
// dst[_IX + 1] = src0[_IX + 1] - src1[_IX + 1];
// dst[_IX + 2] = src0[_IX + 2] - src1[_IX + 2];
// dst[_IX + 3] = src0[_IX + 3] - src1[_IX + 3];
// }
// for (; _IX < count; _IX++) {
// dst[_IX] = src0[_IX] - src1[_IX];
// }
// }
//
// /*
// ============
// idSIMD_Generic::Mul
//
// dst[i] = constant * src[i];
// ============
// */
// @Override
// public void Mul(float[] dst, float constant, float[] src, int count) {
// final double c = constant;
// int _IX, _NM = count & 0xfffffffc;
// for (_IX = 0; _IX < _NM; _IX += 4) {
// dst[_IX + 0] = (float) (c * src[_IX + 0]);
// dst[_IX + 1] = (float) (c * src[_IX + 1]);
// dst[_IX + 2] = (float) (c * src[_IX + 2]);
// dst[_IX + 3] = (float) (c * src[_IX + 3]);
// }
// for (; _IX < count; _IX++) {
// dst[_IX] = (float) (c * src[_IX]);
// }
// }
//
// /*
// ============
// idSIMD_Generic::Mul
//
// dst[i] = src0[i] * src1[i];
// ============
// */
// @Override
// public void Mul(float[] dst, float[] src0, float[] src1, int count) {
// int _IX, _NM = count & 0xfffffffc;
// for (_IX = 0; _IX < _NM; _IX += 4) {
// dst[_IX + 0] = src0[_IX + 0] * src1[_IX + 0];
// dst[_IX + 1] = src0[_IX + 1] * src1[_IX + 1];
// dst[_IX + 2] = src0[_IX + 2] * src1[_IX + 2];
// dst[_IX + 3] = src0[_IX + 3] * src1[_IX + 3];
// }
// for (; _IX < count; _IX++) {
// dst[_IX] = src0[_IX] * src1[_IX];
// }
// }
//
// /*
// ============
// idSIMD_Generic::Div
//
// dst[i] = constant / divisor[i];
// ============
// */
// @Override
// public void Div(float[] dst, float constant, float[] src, int count) {
// final double c = constant;
// int _IX, _NM = count & 0xfffffffc;
// for (_IX = 0; _IX < _NM; _IX += 4) {
// dst[_IX + 0] = (float) (c / src[_IX + 0]);
// dst[_IX + 1] = (float) (c / src[_IX + 1]);
// dst[_IX + 2] = (float) (c / src[_IX + 2]);
// dst[_IX + 3] = (float) (c / src[_IX + 3]);
// }
// for (; _IX < count; _IX++) {
// dst[_IX] = (float) (c / src[_IX]);
// }
// }
//
// /*
// ============
// idSIMD_Generic::Div
//
// dst[i] = src0[i] / src1[i];
// ============
// */
// @Override
// public void Div(float[] dst, float[] src0, float[] src1, int count) {
// int _IX, _NM = count & 0xfffffffc;
// for (_IX = 0; _IX < _NM; _IX += 4) {
// dst[_IX + 0] = src0[_IX + 0] / src1[_IX + 0];
// dst[_IX + 1] = src0[_IX + 1] / src1[_IX + 1];
// dst[_IX + 2] = src0[_IX + 2] / src1[_IX + 2];
// dst[_IX + 3] = src0[_IX + 3] / src1[_IX + 3];
// }
// for (; _IX < count; _IX++) {
// dst[_IX] = src0[_IX] / src1[_IX];
// }
// }
//
// /*
// ============
// idSIMD_Generic::MulAdd
//
// dst[i] += constant * src[i];
// ============
// */
// @Override
// public void MulAdd(float[] dst, float constant, float[] src, int count) {
// final double c = constant;
// int _IX, _NM = count & 0xfffffffc;
// for (_IX = 0; _IX < _NM; _IX += 4) {
// dst[_IX + 0] += c * src[_IX + 0];
// dst[_IX + 1] += c * src[_IX + 1];
// dst[_IX + 2] += c * src[_IX + 2];
// dst[_IX + 3] += c * src[_IX + 3];
// }
// for (; _IX < count; _IX++) {
// dst[_IX] += c * src[_IX];
// }
// }
//
// /*
// ============
// idSIMD_Generic::MulAdd
//
// dst[i] += src0[i] * src1[i];
// ============
// */
// @Override
// public void MulAdd(float[] dst, float[] src0, float[] src1, int count) {
// int _IX, _NM = count & 0xfffffffc;
// for (_IX = 0; _IX < _NM; _IX += 4) {
// dst[_IX + 0] += src0[_IX + 0] * src1[_IX + 0];
// dst[_IX + 1] += src0[_IX + 1] * src1[_IX + 1];
// dst[_IX + 2] += src0[_IX + 2] * src1[_IX + 2];
// dst[_IX + 3] += src0[_IX + 3] * src1[_IX + 3];
// }
// for (; _IX < count; _IX++) {
// dst[_IX] += src0[_IX] * src1[_IX];
// }
// }
//
// /*
// ============
// idSIMD_Generic::MulSub
//
// dst[i] -= constant * src[i];
// ============
// */
// @Override
// public void MulSub(float[] dst, float constant, float[] src, int count) {
// final double c = constant;
// int _IX, _NM = count & 0xfffffffc;
// for (_IX = 0; _IX < _NM; _IX += 4) {
// dst[_IX + 0] -= c * src[_IX + 0];
// dst[_IX + 1] -= c * src[_IX + 1];
// dst[_IX + 2] -= c * src[_IX + 2];
// dst[_IX + 3] -= c * src[_IX + 3];
// }
// for (; _IX < count; _IX++) {
// dst[_IX] -= c * src[_IX];
// }
// }
//
// /*
// ============
// idSIMD_Generic::MulSub
//
// dst[i] -= src0[i] * src1[i];
// ============
// */
// @Override
// public void MulSub(float[] dst, float[] src0, float[] src1, int count) {
// int _IX, _NM = count & 0xfffffffc;
// for (_IX = 0; _IX < _NM; _IX += 4) {
// dst[_IX + 0] -= src0[_IX + 0] * src1[_IX + 0];
// dst[_IX + 1] -= src0[_IX + 1] * src1[_IX + 1];
// dst[_IX + 2] -= src0[_IX + 2] * src1[_IX + 2];
// dst[_IX + 3] -= src0[_IX + 3] * src1[_IX + 3];
// }
// for (; _IX < count; _IX++) {
// dst[_IX] -= src0[_IX] * src1[_IX];
// }
// }
//
// /*
// ============
// idSIMD_Generic::Dot
//
// dst[i] = constant * src[i];
// ============
// */
// @Override
// public void Dot(float[] dst, idVec3 constant, idVec3[] src, int count) {
// int _IX;
// for (_IX = 0; _IX < count; _IX++) {
// dst[_IX] = src[_IX].oMultiply(constant);
// }
// }
//
// /*
// ============
// idSIMD_Generic::Dot
//
// dst[i] = constant * src[i].Normal() + src[i][3];
// ============
// */
// @Override
// public void Dot(float[] dst, idVec3 constant, idPlane[] src, int count) {
// int _IX;
// for (_IX = 0; _IX < count; _IX++) {
// dst[_IX] = constant.oMultiply(src[_IX].Normal()) + src[_IX].oGet(3);//NB I'm not saying operator overloading would have prevented this bug, but....!@#$%$@#^&#$^%^#%^&#$*^&
// }
// }
//
// /*
// ============
// idSIMD_Generic::Dot
//
// dst[i] = constant * src[i].xyz;
// ============
// */
// @Override
// public void Dot(float[] dst, idVec3 constant, idDrawVert[] src, int count) {
// int _IX;
// for (_IX = 0; _IX < count; _IX++) {
// dst[_IX + 0] = src[_IX].xyz.oMultiply(constant);
// }
// }
//
// /*
// ============
// idSIMD_Generic::Dot
//
// dst[i] = constant.Normal() * src[i] + constant[3];
// ============
// */
// @Override
// public void Dot(float[] dst, idPlane constant, idVec3[] src, int count) {
// int _IX;
// for (_IX = 0; _IX < count; _IX++) {
// dst[_IX] = constant.Normal().oMultiply(src[_IX]) + constant.oGet(3);
// }
// }
//
// /*
// ============
// idSIMD_Generic::Dot
//
// dst[i] = constant.Normal() * src[i].Normal() + constant[3] * src[i][3];
// ============
// */
// @Override
// public void Dot(float[] dst, idPlane constant, idPlane[] src, int count) {
// int _IX;
// for (_IX = 0; _IX < count; _IX++) {
// dst[_IX] = constant.Normal().oMultiply(src[_IX].Normal()) + src[_IX].oGet(3) * constant.oGet(3);
// }
// }
//
// /*
// ============
// idSIMD_Generic::Dot
//
// dst[i] = constant.Normal() * src[i].xyz + constant[3];
// ============
// */
// @Override
// public void Dot(float[] dst, idPlane constant, idDrawVert[] src, int count) {
// int _IX;
// for (_IX = 0; _IX < count; _IX++) {
// dst[_IX] = constant.Normal().oMultiply(src[_IX].xyz) + constant.oGet(3);
// }
// }
//
// /*
// ============
// idSIMD_Generic::Dot
//
// dst[i] = src0[i] * src1[i];
// ============
// */
// @Override
// public void Dot(float[] dst, idVec3[] src0, idVec3[] src1, int count) {
// int _IX;
// for (_IX = 0; _IX < count; _IX++) {
// dst[_IX] = src0[_IX].oMultiply(src1[_IX]);
// }
// }
//
// /*
// ============
// idSIMD_Generic::Dot
//
// dot = src1[0] * src2[0] + src1[1] * src2[1] + src1[2] * src2[2] + ...
// ============
// */
// @Override
// public void Dot(float[] dot, float[] src1, float[] src2, int count) {
////#if 1
////
// switch (count) {
// case 0: {
// dot[0] = 0.0f;
// return;
// }
// case 1: {
// dot[0] = src1[0] * src2[0];
// return;
// }
// case 2: {
// dot[0] = src1[0] * src2[0] + src1[1] * src2[1];
// return;
// }
// case 3: {
// dot[0] = src1[0] * src2[0] + src1[1] * src2[1] + src1[2] * src2[2];
// return;
// }
// default: {
// int i;
// double s0, s1, s2, s3;
// s0 = src1[0] * src2[0];
// s1 = src1[1] * src2[1];
// s2 = src1[2] * src2[2];
// s3 = src1[3] * src2[3];
// for (i = 4; i < count - 7; i += 8) {
// s0 += src1[i + 0] * src2[i + 0];
// s1 += src1[i + 1] * src2[i + 1];
// s2 += src1[i + 2] * src2[i + 2];
// s3 += src1[i + 3] * src2[i + 3];
// s0 += src1[i + 4] * src2[i + 4];
// s1 += src1[i + 5] * src2[i + 5];
// s2 += src1[i + 6] * src2[i + 6];
// s3 += src1[i + 7] * src2[i + 7];
// }
// switch (count - i) {
//// NODEFAULT;
// case 7:
// s0 += src1[i + 6] * src2[i + 6];
// case 6:
// s1 += src1[i + 5] * src2[i + 5];
// case 5:
// s2 += src1[i + 4] * src2[i + 4];
// case 4:
// s3 += src1[i + 3] * src2[i + 3];
// case 3:
// s0 += src1[i + 2] * src2[i + 2];
// case 2:
// s1 += src1[i + 1] * src2[i + 1];
// case 1:
// s2 += src1[i + 0] * src2[i + 0];
// case 0:
// break;
// }
// double sum;
// sum = s3;
// sum += s2;
// sum += s1;
// sum += s0;
// dot[0] = (float) sum;
// }
// }
////
////#else
////
//// dot = 0.0f;
//// for ( i = 0; i < count; i++) {
//// dot += src1[i] * src2[i];
//// }
////
////#endif
// }
//
// /*
// ============
// idSIMD_Generic::CmpGT
//
// dst[i] = src0[i] > constant;
// ============
// */
// @Override
// public void CmpGT(boolean[] dst, float[] src0, float constant, int count) {
// int _IX, _NM = count & 0xfffffffc;
// for (_IX = 0; _IX < _NM; _IX += 4) {
// dst[_IX + 0] = src0[_IX + 0] > constant;
// dst[_IX + 1] = src0[_IX + 1] > constant;
// dst[_IX + 2] = src0[_IX + 2] > constant;
// dst[_IX + 3] = src0[_IX + 3] > constant;
// }
// for (; _IX < count; _IX++) {
// dst[_IX] = src0[_IX] > constant;
// }
// }
//
// /*
// ============
// idSIMD_Generic::CmpGT
//
// dst[i] |= ( src0[i] > constant ) << bitNum;
// ============
// */
// @Override
// public void CmpGT(byte[] dst, byte bitNum, float[] src0, float constant, int count) {
// int _IX, _NM = count & 0xfffffffc;
// final byte _bitNum = (byte) (1 << bitNum);//TODO:check byte signage
// for (_IX = 0; _IX < _NM; _IX += 4) {
// dst[_IX + 0] |= src0[_IX + 0] > constant ? _bitNum : 0;
// dst[_IX + 1] |= src0[_IX + 1] > constant ? _bitNum : 0;
// dst[_IX + 2] |= src0[_IX + 2] > constant ? _bitNum : 0;
// dst[_IX + 3] |= src0[_IX + 3] > constant ? _bitNum : 0;
// }
// for (; _IX < count; _IX++) {
// dst[_IX] |= src0[_IX] > constant ? _bitNum : 0;
// }
// }
//
// /*
// ============
// idSIMD_Generic::CmpGE
//
// dst[i] = src0[i] >= constant;
// ============
// */
// @Override
// public void CmpGE(boolean[] dst, float[] src0, float constant, int count) {
// int _IX, _NM = count & 0xfffffffc;
// for (_IX = 0; _IX < _NM; _IX += 4) {
// dst[_IX + 0] = src0[_IX + 0] >= constant;
// dst[_IX + 1] = src0[_IX + 1] >= constant;
// dst[_IX + 2] = src0[_IX + 2] >= constant;
// dst[_IX + 3] = src0[_IX + 3] >= constant;
// }
// for (; _IX < count; _IX++) {
// dst[_IX] = src0[_IX] >= constant;
// }
// }
//
// /*
// ============
// idSIMD_Generic::CmpGE
//
// dst[i] |= ( src0[i] >= constant ) << bitNum;
// ============
// */
// @Override
// public void CmpGE(byte[] dst, byte bitNum, float[] src0, float constant, int count) {
// int _IX, _NM = count & 0xfffffffc;
// final byte _bitNum = (byte) (1 << bitNum);//TODO:check byte signage
// for (_IX = 0; _IX < _NM; _IX += 4) {
// dst[_IX + 0] |= src0[_IX + 0] >= constant ? _bitNum : 0;
// dst[_IX + 1] |= src0[_IX + 1] >= constant ? _bitNum : 0;
// dst[_IX + 2] |= src0[_IX + 2] >= constant ? _bitNum : 0;
// dst[_IX + 3] |= src0[_IX + 3] >= constant ? _bitNum : 0;
// }
// for (; _IX < count; _IX++) {
// dst[_IX] |= src0[_IX] >= constant ? _bitNum : 0;
// }
// }
//
// /*
// ============
// idSIMD_Generic::CmpLT
//
// dst[i] = src0[i] < constant;
// ============
// */
// @Override
// public void CmpLT(boolean[] dst, float[] src0, float constant, int count) {
// int _IX, _NM = count & 0xfffffffc;
// for (_IX = 0; _IX < _NM; _IX += 4) {
// dst[_IX + 0] = src0[_IX + 0] < constant;
// dst[_IX + 1] = src0[_IX + 1] < constant;
// dst[_IX + 2] = src0[_IX + 2] < constant;
// dst[_IX + 3] = src0[_IX + 3] < constant;
// }
// for (; _IX < count; _IX++) {
// dst[_IX] = src0[_IX] < constant;
// }
// }
//
// /*
// ============
// idSIMD_Generic::CmpLT
//
// dst[i] |= ( src0[i] < constant ) << bitNum;
// ============
// */
// @Override
// public void CmpLT(byte[] dst, byte bitNum, float[] src0, float constant, int count) {
// int _IX, _NM = count & 0xfffffffc;
// final byte _bitNum = (byte) (1 << bitNum);//TODO:check byte signage
// for (_IX = 0; _IX < _NM; _IX += 4) {
// dst[_IX + 0] |= src0[_IX + 0] < constant ? _bitNum : 0;
// dst[_IX + 1] |= src0[_IX + 1] < constant ? _bitNum : 0;
// dst[_IX + 2] |= src0[_IX + 2] < constant ? _bitNum : 0;
// dst[_IX + 3] |= src0[_IX + 3] < constant ? _bitNum : 0;
// }
// for (; _IX < count; _IX++) {
// dst[_IX] |= src0[_IX] < constant ? _bitNum : 0;
// }
// }
//
// /*
// ============
// idSIMD_Generic::CmpLE
//
// dst[i] = src0[i] <= constant;
// ============
// */
// @Override
// public void CmpLE(boolean[] dst, float[] src0, float constant, int count) {
// int _IX, _NM = count & 0xfffffffc;
// for (_IX = 0; _IX < _NM; _IX += 4) {
// dst[_IX + 0] = src0[_IX + 0] <= constant;
// dst[_IX + 1] = src0[_IX + 1] <= constant;
// dst[_IX + 2] = src0[_IX + 2] <= constant;
// dst[_IX + 3] = src0[_IX + 3] <= constant;
// }
// for (; _IX < count; _IX++) {
// dst[_IX] = src0[_IX] <= constant;
// }
// }
//
// @Override
// public void CmpLE(byte[] dst, byte bitNum, float[] src0, float constant, int count) {
// int _IX, _NM = count & 0xfffffffc;
// final byte _bitNum = (byte) (1 << bitNum);//TODO:check byte signage
// for (_IX = 0; _IX < _NM; _IX += 4) {
// dst[_IX + 0] = (byte) (src0[_IX + 0] <= constant ? _bitNum : 0);
// dst[_IX + 1] = (byte) (src0[_IX + 1] <= constant ? _bitNum : 0);
// dst[_IX + 2] = (byte) (src0[_IX + 2] <= constant ? _bitNum : 0);
// dst[_IX + 3] = (byte) (src0[_IX + 3] <= constant ? _bitNum : 0);
// }
// for (; _IX < count; _IX++) {
// dst[_IX] = (byte) (src0[_IX] <= constant ? _bitNum : 0);
// }
// }
//
// @Override
// public void MinMax(float[] min, float[] max, float[] src, int count) {
// min[0] = idMath.INFINITY;
// max[0] = -idMath.INFINITY;
//
// for (int _IX = 0; _IX < count; _IX++) {
// if (src[(_IX)] < min[0]) min[0] = src[(_IX)];
// if (src[(_IX)] > max[0]) max[0] = src[(_IX)];
// }
// }
//
// @Override
// public void MinMax(idVec2 min, idVec2 max, idVec2[] src, int count) {
// min.x = min.y = idMath.INFINITY;
// max.x = max.y = -idMath.INFINITY;
// for (int _IX = 0; _IX < count; _IX++) {
// final idVec2 v = src[_IX];
// if (v.x < min.x) min.x = v.x;
// if (v.x > max.x) max.x = v.x;
// if (v.y < min.y) min.y = v.y;
// if (v.y > max.y) max.y = v.y;
// }
// }
//
// @Override
// public void MinMax(idVec3 min, idVec3 max, idVec3[] src, int count) {
// min.x = min.y = min.z = idMath.INFINITY;
// max.x = max.y = max.z = -idMath.INFINITY;
// for (int _IX = 0; _IX < count; _IX++) {
// final idVec3 v = src[_IX];
// if (v.x < min.x) min.x = v.x;
// if (v.x > max.x) max.x = v.x;
// if (v.y < min.y) min.y = v.y;
// if (v.y > max.y) max.y = v.y;
// if (v.z < min.z) min.z = v.z;
// if (v.z > max.z) max.z = v.z;
// }
// }
//
// @Override
// public void MinMax(idVec3 min, idVec3 max, idDrawVert[] src, int count) {
// min.x = min.y = min.z = idMath.INFINITY;
// max.x = max.y = max.z = -idMath.INFINITY;
// for (int _IX = 0; _IX < count; _IX++) {
// final idVec3 v = src[_IX].xyz;
// if (v.oGet(0) < min.x) min.x = v.oGet(0);
// if (v.oGet(0) > max.x) max.x = v.oGet(0);
// if (v.oGet(1) < min.y) min.y = v.oGet(1);
// if (v.oGet(1) > max.y) max.y = v.oGet(1);
// if (v.oGet(2) < min.z) min.z = v.oGet(2);
// if (v.oGet(2) > max.z) max.z = v.oGet(2);
// }
// }
//
// @Override
// public void MinMax(idVec3 min, idVec3 max, idDrawVert[] src, int[] indexes, int count) {
// min.x = min.y = min.z = idMath.INFINITY;
// max.x = max.y = max.z = -idMath.INFINITY;
// for (int _IX = 0; _IX < count; _IX++) {
// final idVec3 v = src[indexes[_IX]].xyz;
// if (v.oGet(0) < min.x) min.x = v.oGet(0);
// if (v.oGet(0) > max.x) max.x = v.oGet(0);
// if (v.oGet(1) < min.y) min.y = v.oGet(1);
// if (v.oGet(1) > max.y) max.y = v.oGet(1);
// if (v.oGet(2) < min.z) min.z = v.oGet(2);
// if (v.oGet(2) > max.z) max.z = v.oGet(2);
// }
// }
//
// @Override
// public void Clamp(float[] dst, float[] src, float min, float max, int count) {
// for (int _IX = 0; _IX < count; _IX++) {
// dst[_IX] = src[_IX] < min ? min : src[_IX] > max ? max : src[_IX];
// }
// }
//
// @Override
// public void ClampMin(float[] dst, float[] src, float min, int count) {
// for (int _IX = 0; _IX < count; _IX++) {
// dst[_IX] = src[_IX] < min ? min : src[_IX];
// }
// }
//
// @Override
// public void ClampMax(float[] dst, float[] src, float max, int count) {
// for (int _IX = 0; _IX < count; _IX++) {
// dst[_IX] = src[_IX] > max ? max : src[_IX];
// }
// }
//
// @Override
// public void Memcpy(Object[] dst, Object[] src, int count) {
//// memcpy( dst, src, count );
//// System.arraycopy(src, 0, dst, 0, count);
// throw new TempDump.Deprecation_Exception();
// }
//
// @Override
// public void Memset(Object[] dst, int val, int count) {
//// memset( dst, val, count );
// Arrays.fill(dst, 0, count, val);
// }
@Override
public void Zero16(float[] dst, int count) {
// memset( dst, 0, count * sizeof( float ) );
Arrays.fill(dst, 0, count, 0);
}
@Override
public void Negate16(float[] dst, int count) {
// unsigned int *ptr = reinterpret_cast<unsigned int *>(dst);
for (int _IX = 0; _IX < count; _IX++) {
int _dst = Float.floatToIntBits(dst[_IX]);
_dst ^= (1 << 31);// IEEE 32 bits float sign bit
dst[_IX] = Float.intBitsToFloat(_dst);
}
}
@Override
public void Copy16(float[] dst, float[] src, int count) {
// for (int _IX = 0; _IX < count; _IX++) {
// dst[_IX] = src[_IX];
// }
System.arraycopy(src, 0, dst, 0, count);
}
@Override
public void Add16(float[] dst, float[] src1, float[] src2, int count) {
for (int _IX = 0; _IX < count; _IX++) {
dst[_IX] = src1[_IX] + src2[_IX];
}
}
@Override
public void Sub16(float[] dst, float[] src1, float[] src2, int count) {
for (int _IX = 0; _IX < count; _IX++) {
dst[_IX] = src1[_IX] - src2[_IX];
}
}
@Override
public void Mul16(float[] dst, float[] src1, float constant, int count) {
for (int _IX = 0; _IX < count; _IX++) {
dst[_IX] = src1[_IX] * constant;
}
}
@Override
public void AddAssign16(float[] dst, float[] src, int count) {
for (int _IX = 0; _IX < count; _IX++) {
dst[_IX] += src[_IX];
}
}
@Override
public void SubAssign16(float[] dst, float[] src, int count) {
for (int _IX = 0; _IX < count; _IX++) {
dst[_IX] -= src[_IX];
}
}
@Override
public void MulAssign16(float[] dst, float constant, int count) {
for (int _IX = 0; _IX < count; _IX++) {
dst[_IX] *= constant;
}
}
@Override
public void MatX_MultiplyVecX(idVecX dst, idMatX mat, idVecX vec) {
int i, j, numRows;
int mIndex = 0;
final float[] mPtr, vPtr;
float[] dstPtr;
assert (vec.GetSize() >= mat.GetNumColumns());
assert (dst.GetSize() >= mat.GetNumRows());
mPtr = mat.ToFloatPtr();
vPtr = vec.ToFloatPtr();
dstPtr = dst.ToFloatPtr();
numRows = mat.GetNumRows();
switch (mat.GetNumColumns()) {
case 1:
for (i = 0; i < numRows; i++) {
dstPtr[i] = mPtr[mIndex + 0] * vPtr[0];
mIndex++;
}
break;
case 2:
for (i = 0; i < numRows; i++) {
dstPtr[i] = mPtr[mIndex + 0] * vPtr[0] + mPtr[mIndex + 1] * vPtr[1];
mIndex += 2;
}
break;
case 3:
for (i = 0; i < numRows; i++) {
dstPtr[i] = mPtr[mIndex + 0] * vPtr[0] + mPtr[mIndex + 1] * vPtr[1] + mPtr[mIndex + 2] * vPtr[2];
mIndex += 3;
}
break;
case 4:
for (i = 0; i < numRows; i++) {
dstPtr[i] = mPtr[mIndex + 0] * vPtr[0] + mPtr[mIndex + 1] * vPtr[1] + mPtr[mIndex + 2] * vPtr[2]
+ mPtr[mIndex + 3] * vPtr[3];
mIndex += 4;
}
break;
case 5:
for (i = 0; i < numRows; i++) {
dstPtr[i] = mPtr[mIndex + 0] * vPtr[0] + mPtr[mIndex + 1] * vPtr[1] + mPtr[mIndex + 2] * vPtr[2]
+ mPtr[mIndex + 3] * vPtr[3] + mPtr[mIndex + 4] * vPtr[4];
mIndex += 5;
}
break;
case 6:
for (i = 0; i < numRows; i++) {
dstPtr[i] = mPtr[mIndex + 0] * vPtr[0] + mPtr[mIndex + 1] * vPtr[1] + mPtr[mIndex + 2] * vPtr[2]
+ mPtr[mIndex + 3] * vPtr[3] + mPtr[mIndex + 4] * vPtr[4] + mPtr[mIndex + 5] * vPtr[5];
mIndex += 6;
}
break;
default:
int numColumns = mat.GetNumColumns();
for (i = 0; i < numRows; i++) {
float sum = mPtr[mIndex + 0] * vPtr[0];
for (j = 1; j < numColumns; j++) {
sum += mPtr[mIndex + j] * vPtr[j];
}
dstPtr[i] = sum;
mIndex += numColumns;
}
break;
}
}
@Override
public void MatX_MultiplyAddVecX(idVecX dst, idMatX mat, idVecX vec) {
int i, j, numRows;
int mIndex = 0;
final float[] mPtr, vPtr;
float[] dstPtr;
assert (vec.GetSize() >= mat.GetNumColumns());
assert (dst.GetSize() >= mat.GetNumRows());
mPtr = mat.ToFloatPtr();
vPtr = vec.ToFloatPtr();
dstPtr = dst.ToFloatPtr();
numRows = mat.GetNumRows();
switch (mat.GetNumColumns()) {
case 1:
for (i = 0; i < numRows; i++) {
dstPtr[i] += mPtr[mIndex + 0] * vPtr[0];
mIndex++;
}
break;
case 2:
for (i = 0; i < numRows; i++) {
dstPtr[i] += mPtr[mIndex + 0] * vPtr[0] + mPtr[mIndex + 1] * vPtr[1];
mIndex += 2;
}
break;
case 3:
for (i = 0; i < numRows; i++) {
dstPtr[i] += mPtr[mIndex + 0] * vPtr[0] + mPtr[mIndex + 1] * vPtr[1] + mPtr[mIndex + 2] * vPtr[2];
mIndex += 3;
}
break;
case 4:
for (i = 0; i < numRows; i++) {
dstPtr[i] += mPtr[mIndex + 0] * vPtr[0] + mPtr[mIndex + 1] * vPtr[1] + mPtr[mIndex + 2] * vPtr[2]
+ mPtr[mIndex + 3] * vPtr[3];
mIndex += 4;
}
break;
case 5:
for (i = 0; i < numRows; i++) {
dstPtr[i] += mPtr[mIndex + 0] * vPtr[0] + mPtr[mIndex + 1] * vPtr[1] + mPtr[mIndex + 2] * vPtr[2]
+ mPtr[mIndex + 3] * vPtr[3] + mPtr[mIndex + 4] * vPtr[4];
mIndex += 5;
}
break;
case 6:
for (i = 0; i < numRows; i++) {
dstPtr[i] += mPtr[mIndex + 0] * vPtr[0] + mPtr[mIndex + 1] * vPtr[1] + mPtr[mIndex + 2] * vPtr[2]
+ mPtr[mIndex + 3] * vPtr[3] + mPtr[mIndex + 4] * vPtr[4] + mPtr[mIndex + 5] * vPtr[5];
mIndex += 6;
}
break;
default:
int numColumns = mat.GetNumColumns();
for (i = 0; i < numRows; i++) {
float sum = mPtr[mIndex + 0] * vPtr[0];
for (j = 1; j < numColumns; j++) {
sum += mPtr[mIndex + j] * vPtr[j];
}
dstPtr[i] += sum;
mIndex += numColumns;
}
break;
}
}
@Override
public void MatX_MultiplySubVecX(idVecX dst, idMatX mat, idVecX vec) {
int i, j, numRows;
int mIndex = 0;
final float[] mPtr, vPtr;
float[] dstPtr;
assert (vec.GetSize() >= mat.GetNumColumns());
assert (dst.GetSize() >= mat.GetNumRows());
mPtr = mat.ToFloatPtr();
vPtr = vec.ToFloatPtr();
dstPtr = dst.ToFloatPtr();
numRows = mat.GetNumRows();
switch (mat.GetNumColumns()) {
case 1:
for (i = 0; i < numRows; i++) {
dstPtr[i] -= mPtr[mIndex + 0] * vPtr[0];
mIndex++;
}
break;
case 2:
for (i = 0; i < numRows; i++) {
dstPtr[i] -= mPtr[mIndex + 0] * vPtr[0] + mPtr[mIndex + 1] * vPtr[1];
mIndex += 2;
}
break;
case 3:
for (i = 0; i < numRows; i++) {
dstPtr[i] -= mPtr[mIndex + 0] * vPtr[0] + mPtr[mIndex + 1] * vPtr[1] + mPtr[mIndex + 2] * vPtr[2];
mIndex += 3;
}
break;
case 4:
for (i = 0; i < numRows; i++) {
dstPtr[i] -= mPtr[mIndex + 0] * vPtr[0] + mPtr[mIndex + 1] * vPtr[1] + mPtr[mIndex + 2] * vPtr[2]
+ mPtr[mIndex + 3] * vPtr[3];
mIndex += 4;
}
break;
case 5:
for (i = 0; i < numRows; i++) {
dstPtr[i] -= mPtr[mIndex + 0] * vPtr[0] + mPtr[mIndex + 1] * vPtr[1] + mPtr[mIndex + 2] * vPtr[2]
+ mPtr[mIndex + 3] * vPtr[3] + mPtr[mIndex + 4] * vPtr[4];
mIndex += 5;
}
break;
case 6:
for (i = 0; i < numRows; i++) {
dstPtr[i] -= mPtr[mIndex + 0] * vPtr[0] + mPtr[mIndex + 1] * vPtr[1] + mPtr[mIndex + 2] * vPtr[2]
+ mPtr[mIndex + 3] * vPtr[3] + mPtr[mIndex + 4] * vPtr[4] + mPtr[mIndex + 5] * vPtr[5];
mIndex += 6;
}
break;
default:
int numColumns = mat.GetNumColumns();
for (i = 0; i < numRows; i++) {
float sum = mPtr[mIndex + 0] * vPtr[0];
for (j = 1; j < numColumns; j++) {
sum += mPtr[mIndex + j] * vPtr[j];
}
dstPtr[i] -= sum;
mIndex += numColumns;
}
break;
}
}
@Override
public void MatX_TransposeMultiplyVecX(idVecX dst, idMatX mat, idVecX vec) {
int i, j, numColumns;
int mIndex = 0;
final float[] mPtr, vPtr;
float[] dstPtr;
assert (vec.GetSize() >= mat.GetNumRows());
assert (dst.GetSize() >= mat.GetNumColumns());
mPtr = mat.ToFloatPtr();
vPtr = vec.ToFloatPtr();
dstPtr = dst.ToFloatPtr();
numColumns = mat.GetNumColumns();
switch (mat.GetNumRows()) {
case 1:
for (i = 0; i < numColumns; i++) {//TODO:check pointer to array conversion
dstPtr[i] = mPtr[mIndex] * vPtr[0];
mIndex++;
}
break;
case 2:
for (i = 0; i < numColumns; i++) {
dstPtr[i] = mPtr[mIndex] * vPtr[0] + mPtr[mIndex + numColumns] * vPtr[1];
mIndex++;
}
break;
case 3:
for (i = 0; i < numColumns; i++) {
dstPtr[i] = mPtr[mIndex] * vPtr[0] + mPtr[mIndex + numColumns] * vPtr[1] + mPtr[mIndex + 2 * numColumns] * vPtr[2];
mIndex++;
}
break;
case 4:
for (i = 0; i < numColumns; i++) {
dstPtr[i] = mPtr[mIndex] * vPtr[0] + mPtr[mIndex + numColumns] * vPtr[1] + mPtr[mIndex + 2 * numColumns] * vPtr[2]
+ mPtr[mIndex + 3 * numColumns] * vPtr[3];
mIndex++;
}
break;
case 5:
for (i = 0; i < numColumns; i++) {
dstPtr[i] = mPtr[mIndex] * vPtr[0] + mPtr[mIndex + numColumns] * vPtr[1] + mPtr[mIndex + 2 * numColumns] * vPtr[2]
+ mPtr[mIndex + 3 * numColumns] * vPtr[3] + mPtr[mIndex + 4 * numColumns] * vPtr[4];
mIndex++;
}
break;
case 6:
for (i = 0; i < numColumns; i++) {
dstPtr[i] = mPtr[mIndex] * vPtr[0] + mPtr[mIndex + numColumns] * vPtr[1] + mPtr[mIndex + 2 * numColumns] * vPtr[2]
+ mPtr[mIndex + 3 * numColumns] * vPtr[3] + mPtr[mIndex + 4 * numColumns] * vPtr[4] + mPtr[mIndex + 5 * numColumns] * vPtr[5];
mIndex++;
}
break;
default:
int numRows = mat.GetNumRows();
for (i = 0; i < numColumns; i++) {
mIndex = i;
float sum = mPtr[0] * vPtr[0];
for (j = 1; j < numRows; j++) {
mIndex += numColumns;
sum += mPtr[0] * vPtr[j];
}
dstPtr[i] = sum;
}
break;
}
}
@Override
public void MatX_TransposeMultiplyAddVecX(idVecX dst, idMatX mat, idVecX vec) {
int i, j, numColumns;
int mIndex = 0;
final float[] mPtr, vPtr;
float[] dstPtr;
assert (vec.GetSize() >= mat.GetNumRows());
assert (dst.GetSize() >= mat.GetNumColumns());
mPtr = mat.ToFloatPtr();
vPtr = vec.ToFloatPtr();
dstPtr = dst.ToFloatPtr();
numColumns = mat.GetNumColumns();
switch (mat.GetNumRows()) {
case 1:
for (i = 0; i < numColumns; i++) {
dstPtr[i] += mPtr[mIndex] * vPtr[0];
mIndex++;
}
break;
case 2:
for (i = 0; i < numColumns; i++) {
dstPtr[i] += mPtr[mIndex] * vPtr[0] + mPtr[mIndex + numColumns] * vPtr[1];
mIndex++;
}
break;
case 3:
for (i = 0; i < numColumns; i++) {
dstPtr[i] += mPtr[mIndex] * vPtr[0] + mPtr[mIndex + numColumns] * vPtr[1] + mPtr[mIndex + 2 * numColumns] * vPtr[2];
mIndex++;
}
break;
case 4:
for (i = 0; i < numColumns; i++) {
dstPtr[i] += mPtr[mIndex] * vPtr[0] + mPtr[mIndex + numColumns] * vPtr[1] + mPtr[mIndex + 2 * numColumns] * vPtr[2]
+ mPtr[mIndex + 3 * numColumns] * vPtr[3];
mIndex++;
}
break;
case 5:
for (i = 0; i < numColumns; i++) {
dstPtr[i] += mPtr[mIndex] * vPtr[0] + mPtr[mIndex + numColumns] * vPtr[1] + mPtr[mIndex + 2 * numColumns] * vPtr[2]
+ mPtr[mIndex + 3 * numColumns] * vPtr[3] + mPtr[mIndex + 4 * numColumns] * vPtr[4];
mIndex++;
}
break;
case 6:
for (i = 0; i < numColumns; i++) {
dstPtr[i] += mPtr[mIndex] * vPtr[0] + mPtr[mIndex + numColumns] * vPtr[1] + mPtr[mIndex + 2 * numColumns] * vPtr[2]
+ mPtr[mIndex + 3 * numColumns] * vPtr[3] + mPtr[mIndex + 4 * numColumns] * vPtr[4] + mPtr[mIndex + 5 * numColumns] * vPtr[5];
mIndex++;
}
break;
default:
int numRows = mat.GetNumRows();
for (i = 0; i < numColumns; i++) {
mIndex = i;
float sum = mPtr[0] * vPtr[0];
for (j = 1; j < numRows; j++) {
mIndex += numColumns;
sum += mPtr[0] * vPtr[j];
}
dstPtr[i] += sum;
}
break;
}
}
@Override
public void MatX_TransposeMultiplySubVecX(idVecX dst, idMatX mat, idVecX vec) {
int i, numColumns;
int mIndex = 0;
final float[] mPtr, vPtr;
float[] dstPtr;
assert (vec.GetSize() >= mat.GetNumRows());
assert (dst.GetSize() >= mat.GetNumColumns());
mPtr = mat.ToFloatPtr();
vPtr = vec.ToFloatPtr();
dstPtr = dst.ToFloatPtr();
numColumns = mat.GetNumColumns();
switch (mat.GetNumRows()) {
case 1:
for (i = 0; i < numColumns; i++) {
dstPtr[i] -= mPtr[mIndex] * vPtr[0];
mIndex++;
}
break;
case 2:
for (i = 0; i < numColumns; i++) {
dstPtr[i] -= mPtr[mIndex] * vPtr[0] + mPtr[mIndex + numColumns] * vPtr[1];
mIndex++;
}
break;
case 3:
for (i = 0; i < numColumns; i++) {
dstPtr[i] -= mPtr[mIndex] * vPtr[0] + mPtr[mIndex + numColumns] * vPtr[1] + mPtr[mIndex + 2 * numColumns] * vPtr[2];
mIndex++;
}
break;
case 4:
for (i = 0; i < numColumns; i++) {
dstPtr[i] -= mPtr[mIndex] * vPtr[0] + mPtr[mIndex + numColumns] * vPtr[1] + mPtr[mIndex + 2 * numColumns] * vPtr[2]
+ mPtr[mIndex + 3 * numColumns] * vPtr[3];
mIndex++;
}
break;
case 5:
for (i = 0; i < numColumns; i++) {
dstPtr[i] -= mPtr[mIndex] * vPtr[0] + mPtr[mIndex + numColumns] * vPtr[1] + mPtr[mIndex + 2 * numColumns] * vPtr[2]
+ mPtr[mIndex + 3 * numColumns] * vPtr[3] + mPtr[mIndex + 4 * numColumns] * vPtr[4];
mIndex++;
}
break;
case 6:
for (i = 0; i < numColumns; i++) {
dstPtr[i] -= mPtr[mIndex] * vPtr[0] + mPtr[mIndex + numColumns] * vPtr[1] + mPtr[mIndex + 2 * numColumns] * vPtr[2]
+ mPtr[mIndex + 3 * numColumns] * vPtr[3] + mPtr[mIndex + 4 * numColumns] * vPtr[4] + mPtr[mIndex + 5 * numColumns] * vPtr[5];
mIndex++;
}
break;
default:
int numRows = mat.GetNumRows();
for (i = 0; i < numColumns; i++) {
mIndex = i;
float sum = mPtr[mIndex] * vPtr[0];
for (int j = 1; j < numRows; j++) {
mIndex += numColumns;
sum += mPtr[mIndex] * vPtr[j];
}
dstPtr[i] -= sum;
}
break;
}
}
/*
============
idSIMD_Generic::MatX_MultiplyMatX
optimizes the following matrix multiplications:
NxN * Nx6
6xN * Nx6
Nx6 * 6xN
6x6 * 6xN
with N in the range [1-6].
============
*/
@Override
public void MatX_MultiplyMatX(idMatX dst, idMatX m1, idMatX m2) {
int i, j, k, l, n;
int m1Index = 0, m2Index = 0, dIndex = 0;
float[] dstPtr;
final float[] m1Ptr, m2Ptr;
double sum;
assert (m1.GetNumColumns() == m2.GetNumRows());
dstPtr = dst.ToFloatPtr();//TODO:check floatptr back reference
m1Ptr = m1.ToFloatPtr();
m2Ptr = m2.ToFloatPtr();
k = m1.GetNumRows();
l = m2.GetNumColumns();
switch (m1.GetNumColumns()) {
case 1: {
if (l == 6) {
for (i = 0; i < k; i++) { // Nx1 * 1x6
dstPtr[dIndex++] = m1Ptr[m1Index + i] * m2Ptr[m2Index + 0];
dstPtr[dIndex++] = m1Ptr[m1Index + i] * m2Ptr[m2Index + 1];
dstPtr[dIndex++] = m1Ptr[m1Index + i] * m2Ptr[m2Index + 2];
dstPtr[dIndex++] = m1Ptr[m1Index + i] * m2Ptr[m2Index + 3];
dstPtr[dIndex++] = m1Ptr[m1Index + i] * m2Ptr[m2Index + 4];
dstPtr[dIndex++] = m1Ptr[m1Index + i] * m2Ptr[m2Index + 5];
}
return;
}
for (i = 0; i < k; i++) {
m2Index = 0;
for (j = 0; j < l; j++) {
dstPtr[dIndex++] = m1Ptr[m1Index + 0] * m2Ptr[m2Index + 0];
m2Index++;
}
m1Index++;
}
break;
}
case 2: {
if (l == 6) {
for (i = 0; i < k; i++) { // Nx2 * 2x6
dstPtr[dIndex++] = m1Ptr[m1Index + 0] * m2Ptr[m2Index + 0] + m1Ptr[m1Index + 1] * m2Ptr[m2Index + 6];
dstPtr[dIndex++] = m1Ptr[m1Index + 0] * m2Ptr[m2Index + 1] + m1Ptr[m1Index + 1] * m2Ptr[m2Index + 7];
dstPtr[dIndex++] = m1Ptr[m1Index + 0] * m2Ptr[m2Index + 2] + m1Ptr[m1Index + 1] * m2Ptr[m2Index + 8];
dstPtr[dIndex++] = m1Ptr[m1Index + 0] * m2Ptr[m2Index + 3] + m1Ptr[m1Index + 1] * m2Ptr[m2Index + 9];
dstPtr[dIndex++] = m1Ptr[m1Index + 0] * m2Ptr[m2Index + 4] + m1Ptr[m1Index + 1] * m2Ptr[m2Index + 10];
dstPtr[dIndex++] = m1Ptr[m1Index + 0] * m2Ptr[m2Index + 5] + m1Ptr[m1Index + 1] * m2Ptr[m2Index + 11];
m1Index += 2;
}
return;
}
for (i = 0; i < k; i++) {
m2Index = 0;
for (j = 0; j < l; j++) {
dstPtr[dIndex++] = m1Ptr[m1Index + 0] * m2Ptr[m2Index + 0] + m1Ptr[m1Index + 1] * m2Ptr[m2Index + l];
m2Index++;
}
m1Index += 2;
}
break;
}
case 3: {
if (l == 6) {
for (i = 0; i < k; i++) { // Nx3 * 3x6
dstPtr[dIndex++] = m1Ptr[m1Index + 0] * m2Ptr[m2Index + 0] + m1Ptr[m1Index + 1] * m2Ptr[m2Index + 6] + m1Ptr[m1Index + 2] * m2Ptr[m2Index + 12];
dstPtr[dIndex++] = m1Ptr[m1Index + 0] * m2Ptr[m2Index + 1] + m1Ptr[m1Index + 1] * m2Ptr[m2Index + 7] + m1Ptr[m1Index + 2] * m2Ptr[m2Index + 13];
dstPtr[dIndex++] = m1Ptr[m1Index + 0] * m2Ptr[m2Index + 2] + m1Ptr[m1Index + 1] * m2Ptr[m2Index + 8] + m1Ptr[m1Index + 2] * m2Ptr[m2Index + 14];
dstPtr[dIndex++] = m1Ptr[m1Index + 0] * m2Ptr[m2Index + 3] + m1Ptr[m1Index + 1] * m2Ptr[m2Index + 9] + m1Ptr[m1Index + 2] * m2Ptr[m2Index + 15];
dstPtr[dIndex++] = m1Ptr[m1Index + 0] * m2Ptr[m2Index + 4] + m1Ptr[m1Index + 1] * m2Ptr[m2Index + 10] + m1Ptr[m1Index + 2] * m2Ptr[m2Index + 16];
dstPtr[dIndex++] = m1Ptr[m1Index + 0] * m2Ptr[m2Index + 5] + m1Ptr[m1Index + 1] * m2Ptr[m2Index + 11] + m1Ptr[m1Index + 2] * m2Ptr[m2Index + 17];
m1Index += 3;
}
return;
}
for (i = 0; i < k; i++) {
m2Index = 0;
for (j = 0; j < l; j++) {
dstPtr[dIndex++] = m1Ptr[m1Index + 0] * m2Ptr[m2Index + 0] + m1Ptr[m1Index + 1] * m2Ptr[m2Index + l] + m1Ptr[m1Index + 2] * m2Ptr[m2Index + 2 * l];
m2Index++;
}
m1Index += 3;
}
break;
}
case 4: {
if (l == 6) {
for (i = 0; i < k; i++) { // Nx4 * 4x6
dstPtr[dIndex++] = m1Ptr[m1Index + 0] * m2Ptr[m2Index + 0] + m1Ptr[m1Index + 1] * m2Ptr[m2Index + 6] + m1Ptr[m1Index + 2] * m2Ptr[m2Index + 12] + m1Ptr[m1Index + 3] * m2Ptr[m2Index + 18];
dstPtr[dIndex++] = m1Ptr[m1Index + 0] * m2Ptr[m2Index + 1] + m1Ptr[m1Index + 1] * m2Ptr[m2Index + 7] + m1Ptr[m1Index + 2] * m2Ptr[m2Index + 13] + m1Ptr[m1Index + 3] * m2Ptr[m2Index + 19];
dstPtr[dIndex++] = m1Ptr[m1Index + 0] * m2Ptr[m2Index + 2] + m1Ptr[m1Index + 1] * m2Ptr[m2Index + 8] + m1Ptr[m1Index + 2] * m2Ptr[m2Index + 14] + m1Ptr[m1Index + 3] * m2Ptr[m2Index + 20];
dstPtr[dIndex++] = m1Ptr[m1Index + 0] * m2Ptr[m2Index + 3] + m1Ptr[m1Index + 1] * m2Ptr[m2Index + 9] + m1Ptr[m1Index + 2] * m2Ptr[m2Index + 15] + m1Ptr[m1Index + 3] * m2Ptr[m2Index + 21];
dstPtr[dIndex++] = m1Ptr[m1Index + 0] * m2Ptr[m2Index + 4] + m1Ptr[m1Index + 1] * m2Ptr[m2Index + 10] + m1Ptr[m1Index + 2] * m2Ptr[m2Index + 16] + m1Ptr[m1Index + 3] * m2Ptr[m2Index + 22];
dstPtr[dIndex++] = m1Ptr[m1Index + 0] * m2Ptr[m2Index + 5] + m1Ptr[m1Index + 1] * m2Ptr[m2Index + 11] + m1Ptr[m1Index + 2] * m2Ptr[m2Index + 17] + m1Ptr[m1Index + 3] * m2Ptr[m2Index + 23];
m1Index += 4;
}
return;
}
for (i = 0; i < k; i++) {
m2Index = 0;
for (j = 0; j < l; j++) {
dstPtr[dIndex++] = m1Ptr[m1Index + 0] * m2Ptr[m2Index + 0] + m1Ptr[m1Index + 1] * m2Ptr[m2Index + l] + m1Ptr[m1Index + 2] * m2Ptr[m2Index + 2 * l]
+ m1Ptr[m1Index + 3] * m2Ptr[m2Index + 3 * l];
m2Index++;
}
m1Index += 4;
}
break;
}
case 5: {
if (l == 6) {
for (i = 0; i < k; i++) { // Nx5 * 5x6
dstPtr[dIndex++] = m1Ptr[m1Index + 0] * m2Ptr[m2Index + 0] + m1Ptr[m1Index + 1] * m2Ptr[m2Index + 6] + m1Ptr[m1Index + 2] * m2Ptr[m2Index + 12] + m1Ptr[m1Index + 3] * m2Ptr[m2Index + 18] + m1Ptr[m1Index + 4] * m2Ptr[m2Index + 24];
dstPtr[dIndex++] = m1Ptr[m1Index + 0] * m2Ptr[m2Index + 1] + m1Ptr[m1Index + 1] * m2Ptr[m2Index + 7] + m1Ptr[m1Index + 2] * m2Ptr[m2Index + 13] + m1Ptr[m1Index + 3] * m2Ptr[m2Index + 19] + m1Ptr[m1Index + 4] * m2Ptr[m2Index + 25];
dstPtr[dIndex++] = m1Ptr[m1Index + 0] * m2Ptr[m2Index + 2] + m1Ptr[m1Index + 1] * m2Ptr[m2Index + 8] + m1Ptr[m1Index + 2] * m2Ptr[m2Index + 14] + m1Ptr[m1Index + 3] * m2Ptr[m2Index + 20] + m1Ptr[m1Index + 4] * m2Ptr[m2Index + 26];
dstPtr[dIndex++] = m1Ptr[m1Index + 0] * m2Ptr[m2Index + 3] + m1Ptr[m1Index + 1] * m2Ptr[m2Index + 9] + m1Ptr[m1Index + 2] * m2Ptr[m2Index + 15] + m1Ptr[m1Index + 3] * m2Ptr[m2Index + 21] + m1Ptr[m1Index + 4] * m2Ptr[m2Index + 27];
dstPtr[dIndex++] = m1Ptr[m1Index + 0] * m2Ptr[m2Index + 4] + m1Ptr[m1Index + 1] * m2Ptr[m2Index + 10] + m1Ptr[m1Index + 2] * m2Ptr[m2Index + 16] + m1Ptr[m1Index + 3] * m2Ptr[m2Index + 22] + m1Ptr[m1Index + 4] * m2Ptr[m2Index + 28];
dstPtr[dIndex++] = m1Ptr[m1Index + 0] * m2Ptr[m2Index + 5] + m1Ptr[m1Index + 1] * m2Ptr[m2Index + 11] + m1Ptr[m1Index + 2] * m2Ptr[m2Index + 17] + m1Ptr[m1Index + 3] * m2Ptr[m2Index + 23] + m1Ptr[m1Index + 4] * m2Ptr[m2Index + 29];
m1Index += 5;
}
return;
}
for (i = 0; i < k; i++) {
m2Index = 0;
for (j = 0; j < l; j++) {
dstPtr[dIndex++] = m1Ptr[m1Index + 0] * m2Ptr[m2Index + 0] + m1Ptr[m1Index + 1] * m2Ptr[m2Index + l] + m1Ptr[m1Index + 2] * m2Ptr[m2Index + 2 * l]
+ m1Ptr[m1Index + 3] * m2Ptr[m2Index + 3 * l] + m1Ptr[m1Index + 4] * m2Ptr[m2Index + 4 * l];
m2Index++;
}
m1Index += 5;
}
break;
}
case 6: {
switch (k) {
case 1: {
if (l == 1) { // 1x6 * 6x1
dstPtr[0] = m1Ptr[m1Index + 0] * m2Ptr[m2Index + 0] + m1Ptr[m1Index + 1] * m2Ptr[m2Index + 1] + m1Ptr[m1Index + 2] * m2Ptr[m2Index + 2]
+ m1Ptr[m1Index + 3] * m2Ptr[m2Index + 3] + m1Ptr[m1Index + 4] * m2Ptr[m2Index + 4] + m1Ptr[m1Index + 5] * m2Ptr[m2Index + 5];
return;
}
break;
}
case 2: {
if (l == 2) { // 2x6 * 6x2
for (i = 0; i < 2; i++) {
for (j = 0; j < 2; j++) {
dstPtr[dIndex] = m1Ptr[m1Index + 0] * m2Ptr[m2Index + 0 * 2 + j]
+ m1Ptr[m1Index + 1] * m2Ptr[m2Index + 1 * 2 + j]
+ m1Ptr[m1Index + 2] * m2Ptr[m2Index + 2 * 2 + j]
+ m1Ptr[m1Index + 3] * m2Ptr[m2Index + 3 * 2 + j]
+ m1Ptr[m1Index + 4] * m2Ptr[m2Index + 4 * 2 + j]
+ m1Ptr[m1Index + 5] * m2Ptr[m2Index + 5 * 2 + j];
dIndex++;
}
m1Index += 6;
}
return;
}
break;
}
case 3: {
if (l == 3) { // 3x6 * 6x3
for (i = 0; i < 3; i++) {
for (j = 0; j < 3; j++) {
dstPtr[dIndex] = m1Ptr[m1Index + 0] * m2Ptr[m2Index + 0 * 3 + j]
+ m1Ptr[m1Index + 1] * m2Ptr[m2Index + 1 * 3 + j]
+ m1Ptr[m1Index + 2] * m2Ptr[m2Index + 2 * 3 + j]
+ m1Ptr[m1Index + 3] * m2Ptr[m2Index + 3 * 3 + j]
+ m1Ptr[m1Index + 4] * m2Ptr[m2Index + 4 * 3 + j]
+ m1Ptr[m1Index + 5] * m2Ptr[m2Index + 5 * 3 + j];
dIndex++;
}
m1Index += 6;
}
return;
}
break;
}
case 4: {
if (l == 4) { // 4x6 * 6x4
for (i = 0; i < 4; i++) {
for (j = 0; j < 4; j++) {
dstPtr[dIndex] = m1Ptr[m1Index + 0] * m2Ptr[m2Index + 0 * 4 + j]
+ m1Ptr[m1Index + 1] * m2Ptr[m2Index + 1 * 4 + j]
+ m1Ptr[m1Index + 2] * m2Ptr[m2Index + 2 * 4 + j]
+ m1Ptr[m1Index + 3] * m2Ptr[m2Index + 3 * 4 + j]
+ m1Ptr[m1Index + 4] * m2Ptr[m2Index + 4 * 4 + j]
+ m1Ptr[m1Index + 5] * m2Ptr[m2Index + 5 * 4 + j];
dIndex++;
}
m1Index += 6;
}
return;
}
}
case 5: {
if (l == 5) { // 5x6 * 6x5
for (i = 0; i < 5; i++) {
for (j = 0; j < 5; j++) {
dstPtr[dIndex] = m1Ptr[m1Index + 0] * m2Ptr[m2Index + 0 * 5 + j]
+ m1Ptr[m1Index + 1] * m2Ptr[m2Index + 1 * 5 + j]
+ m1Ptr[m1Index + 2] * m2Ptr[m2Index + 2 * 5 + j]
+ m1Ptr[m1Index + 3] * m2Ptr[m2Index + 3 * 5 + j]
+ m1Ptr[m1Index + 4] * m2Ptr[m2Index + 4 * 5 + j]
+ m1Ptr[m1Index + 5] * m2Ptr[m2Index + 5 * 5 + j];
dIndex++;
}
m1Index += 6;
}
return;
}
}
case 6: {
switch (l) {
case 1: { // 6x6 * 6x1
for (i = 0; i < 6; i++) {
dstPtr[dIndex] = m1Ptr[m1Index + 0] * m2Ptr[m2Index + 0 * 1]
+ m1Ptr[m1Index + 1] * m2Ptr[m2Index + 1 * 1]
+ m1Ptr[m1Index + 2] * m2Ptr[m2Index + 2 * 1]
+ m1Ptr[m1Index + 3] * m2Ptr[m2Index + 3 * 1]
+ m1Ptr[m1Index + 4] * m2Ptr[m2Index + 4 * 1]
+ m1Ptr[m1Index + 5] * m2Ptr[m2Index + 5 * 1];
dIndex++;
m1Index += 6;
}
return;
}
case 2: { // 6x6 * 6x2
for (i = 0; i < 6; i++) {
for (j = 0; j < 2; j++) {
dstPtr[dIndex] = m1Ptr[m1Index + 0] * m2Ptr[m2Index + 0 * 2 + j]
+ m1Ptr[m1Index + 1] * m2Ptr[m2Index + 1 * 2 + j]
+ m1Ptr[m1Index + 2] * m2Ptr[m2Index + 2 * 2 + j]
+ m1Ptr[m1Index + 3] * m2Ptr[m2Index + 3 * 2 + j]
+ m1Ptr[m1Index + 4] * m2Ptr[m2Index + 4 * 2 + j]
+ m1Ptr[m1Index + 5] * m2Ptr[m2Index + 5 * 2 + j];
dIndex++;
}
m1Index += 6;
}
return;
}
case 3: { // 6x6 * 6x3
for (i = 0; i < 6; i++) {
for (j = 0; j < 3; j++) {
dstPtr[dIndex] = m1Ptr[m1Index + 0] * m2Ptr[m2Index + 0 * 3 + j]
+ m1Ptr[m1Index + 1] * m2Ptr[m2Index + 1 * 3 + j]
+ m1Ptr[m1Index + 2] * m2Ptr[m2Index + 2 * 3 + j]
+ m1Ptr[m1Index + 3] * m2Ptr[m2Index + 3 * 3 + j]
+ m1Ptr[m1Index + 4] * m2Ptr[m2Index + 4 * 3 + j]
+ m1Ptr[m1Index + 5] * m2Ptr[m2Index + 5 * 3 + j];
dIndex++;
}
m1Index += 6;
}
return;
}
case 4: { // 6x6 * 6x4
for (i = 0; i < 6; i++) {
for (j = 0; j < 4; j++) {
dstPtr[dIndex] = m1Ptr[m1Index + 0] * m2Ptr[m2Index + 0 * 4 + j]
+ m1Ptr[m1Index + 1] * m2Ptr[m2Index + 1 * 4 + j]
+ m1Ptr[m1Index + 2] * m2Ptr[m2Index + 2 * 4 + j]
+ m1Ptr[m1Index + 3] * m2Ptr[m2Index + 3 * 4 + j]
+ m1Ptr[m1Index + 4] * m2Ptr[m2Index + 4 * 4 + j]
+ m1Ptr[m1Index + 5] * m2Ptr[m2Index + 5 * 4 + j];
dIndex++;
}
m1Index += 6;
}
return;
}
case 5: { // 6x6 * 6x5
for (i = 0; i < 6; i++) {
for (j = 0; j < 5; j++) {
dstPtr[dIndex] = m1Ptr[m1Index + 0] * m2Ptr[m2Index + 0 * 5 + j]
+ m1Ptr[m1Index + 1] * m2Ptr[m2Index + 1 * 5 + j]
+ m1Ptr[m1Index + 2] * m2Ptr[m2Index + 2 * 5 + j]
+ m1Ptr[m1Index + 3] * m2Ptr[m2Index + 3 * 5 + j]
+ m1Ptr[m1Index + 4] * m2Ptr[m2Index + 4 * 5 + j]
+ m1Ptr[m1Index + 5] * m2Ptr[m2Index + 5 * 5 + j];
dIndex++;
}
m1Index += 6;
}
return;
}
case 6: { // 6x6 * 6x6
for (i = 0; i < 6; i++) {
for (j = 0; j < 6; j++) {
dstPtr[dIndex] = m1Ptr[m1Index + 0] * m2Ptr[m2Index + 0 * 6 + j]
+ m1Ptr[m1Index + 1] * m2Ptr[m2Index + 1 * 6 + j]
+ m1Ptr[m1Index + 2] * m2Ptr[m2Index + 2 * 6 + j]
+ m1Ptr[m1Index + 3] * m2Ptr[m2Index + 3 * 6 + j]
+ m1Ptr[m1Index + 4] * m2Ptr[m2Index + 4 * 6 + j]
+ m1Ptr[m1Index + 5] * m2Ptr[m2Index + 5 * 6 + j];
dIndex++;
}
m1Index += 6;
}
return;
}
}
}
}
for (i = 0; i < k; i++) {
m2Index = 0;
for (j = 0; j < l; j++) {
dstPtr[dIndex++] = m1Ptr[m1Index + 0] * m2Ptr[m2Index + 0] + m1Ptr[m1Index + 1] * m2Ptr[m2Index + l] + m1Ptr[m1Index + 2] * m2Ptr[m2Index + 2 * l]
+ m1Ptr[m1Index + 3] * m2Ptr[m2Index + 3 * l] + m1Ptr[m1Index + 4] * m2Ptr[m2Index + 4 * l] + m1Ptr[m1Index + 5] * m2Ptr[m2Index + 5 * l];
m2Index++;
}
m1Index += 6;
}
break;
}
default: {
for (i = 0; i < k; i++) {
for (j = 0; j < l; j++) {
m2Index = j;
sum = m1Ptr[m1Index + 0] * m2Ptr[m2Index + 0];
for (n = 1; n < m1.GetNumColumns(); n++) {
m2Index += l;
sum += m1Ptr[m1Index + n] * m2Ptr[m2Index + 0];
}
dstPtr[dIndex++] = (float) sum;
}
m1Index += m1.GetNumColumns();
}
break;
}
}
}
/*
============
idSIMD_Generic::MatX_TransposeMultiplyMatX
optimizes the following tranpose matrix multiplications:
Nx6 * NxN
6xN * 6x6
with N in the range [1-6].
============
*/
@Override
public void MatX_TransposeMultiplyMatX(idMatX dst, idMatX m1, idMatX m2) {
int i, j, k, l, n;
int m1Index = 0, m2Index = 0, dIndex = 0;
float[] dstPtr;
final float[] m1Ptr, m2Ptr;
double sum;
assert (m1.GetNumRows() == m2.GetNumRows());
m1Ptr = m1.ToFloatPtr();
m2Ptr = m2.ToFloatPtr();
dstPtr = dst.ToFloatPtr();
k = m1.GetNumColumns();
l = m2.GetNumColumns();
switch (m1.GetNumRows()) {
case 1:
if (k == 6 && l == 1) { // 1x6 * 1x1
for (i = 0; i < 6; i++) {
dstPtr[dIndex++] = m1Ptr[m1Index + 0] * m2Ptr[m2Index + 0];
m1Index++;
}
return;
}
for (i = 0; i < k; i++) {
m2Index = 0;
for (j = 0; j < l; j++) {
dstPtr[dIndex++] = m1Ptr[m1Index + 0] * m2Ptr[m2Index + 0];
m2Index++;
}
m1Index++;
}
break;
case 2:
if (k == 6 && l == 2) { // 2x6 * 2x2
for (i = 0; i < 6; i++) {
dstPtr[dIndex++] = m1Ptr[m1Index + 0 * 6] * m2Ptr[m2Index + 0 * 2 + 0] + m1Ptr[m1Index + 1 * 6] * m2Ptr[m2Index + 1 * 2 + 0];
dstPtr[dIndex++] = m1Ptr[m1Index + 0 * 6] * m2Ptr[m2Index + 0 * 2 + 1] + m1Ptr[m1Index + 1 * 6] * m2Ptr[m2Index + 1 * 2 + 1];
m1Index++;
}
return;
}
for (i = 0; i < k; i++) {
m2Index = 0;
for (j = 0; j < l; j++) {
dstPtr[dIndex++] = m1Ptr[m1Index + 0] * m2Ptr[m2Index + 0] + m1Ptr[m1Index + k] * m2Ptr[m2Index + l];
m2Index++;
}
m1Index++;
}
break;
case 3:
if (k == 6 && l == 3) { // 3x6 * 3x3
for (i = 0; i < 6; i++) {
dstPtr[dIndex++] = m1Ptr[m1Index + 0 * 6] * m2Ptr[m2Index + 0 * 3 + 0] + m1Ptr[m1Index + 1 * 6] * m2Ptr[m2Index + 1 * 3 + 0] + m1Ptr[m1Index + 2 * 6] * m2Ptr[m2Index + 2 * 3 + 0];
dstPtr[dIndex++] = m1Ptr[m1Index + 0 * 6] * m2Ptr[m2Index + 0 * 3 + 1] + m1Ptr[m1Index + 1 * 6] * m2Ptr[m2Index + 1 * 3 + 1] + m1Ptr[m1Index + 2 * 6] * m2Ptr[m2Index + 2 * 3 + 1];
dstPtr[dIndex++] = m1Ptr[m1Index + 0 * 6] * m2Ptr[m2Index + 0 * 3 + 2] + m1Ptr[m1Index + 1 * 6] * m2Ptr[m2Index + 1 * 3 + 2] + m1Ptr[m1Index + 2 * 6] * m2Ptr[m2Index + 2 * 3 + 2];
m1Index++;
}
return;
}
for (i = 0; i < k; i++) {
m2Index = 0;
for (j = 0; j < l; j++) {
dstPtr[dIndex++] = m1Ptr[m1Index + 0] * m2Ptr[m2Index + 0] + m1Ptr[m1Index + k] * m2Ptr[m2Index + l] + m1Ptr[m1Index + 2 * k] * m2Ptr[m2Index + 2 * l];
m2Index++;
}
m1Index++;
}
break;
case 4:
if (k == 6 && l == 4) { // 4x6 * 4x4
for (i = 0; i < 6; i++) {
dstPtr[dIndex++] = m1Ptr[m1Index + 0 * 6] * m2Ptr[m2Index + 0 * 4 + 0] + m1Ptr[m1Index + 1 * 6] * m2Ptr[m2Index + 1 * 4 + 0] + m1Ptr[m1Index + 2 * 6] * m2Ptr[m2Index + 2 * 4 + 0] + m1Ptr[m1Index + 3 * 6] * m2Ptr[m2Index + 3 * 4 + 0];
dstPtr[dIndex++] = m1Ptr[m1Index + 0 * 6] * m2Ptr[m2Index + 0 * 4 + 1] + m1Ptr[m1Index + 1 * 6] * m2Ptr[m2Index + 1 * 4 + 1] + m1Ptr[m1Index + 2 * 6] * m2Ptr[m2Index + 2 * 4 + 1] + m1Ptr[m1Index + 3 * 6] * m2Ptr[m2Index + 3 * 4 + 1];
dstPtr[dIndex++] = m1Ptr[m1Index + 0 * 6] * m2Ptr[m2Index + 0 * 4 + 2] + m1Ptr[m1Index + 1 * 6] * m2Ptr[m2Index + 1 * 4 + 2] + m1Ptr[m1Index + 2 * 6] * m2Ptr[m2Index + 2 * 4 + 2] + m1Ptr[m1Index + 3 * 6] * m2Ptr[m2Index + 3 * 4 + 2];
dstPtr[dIndex++] = m1Ptr[m1Index + 0 * 6] * m2Ptr[m2Index + 0 * 4 + 3] + m1Ptr[m1Index + 1 * 6] * m2Ptr[m2Index + 1 * 4 + 3] + m1Ptr[m1Index + 2 * 6] * m2Ptr[m2Index + 2 * 4 + 3] + m1Ptr[m1Index + 3 * 6] * m2Ptr[m2Index + 3 * 4 + 3];
m1Index++;
}
return;
}
for (i = 0; i < k; i++) {
m2Index = 0;
for (j = 0; j < l; j++) {
dstPtr[dIndex++] = m1Ptr[m1Index + 0] * m2Ptr[m2Index + 0] + m1Ptr[m1Index + k] * m2Ptr[m2Index + l] + m1Ptr[m1Index + 2 * k] * m2Ptr[m2Index + 2 * l]
+ m1Ptr[m1Index + 3 * k] * m2Ptr[m2Index + 3 * l];
m2Index++;
}
m1Index++;
}
break;
case 5:
if (k == 6 && l == 5) { // 5x6 * 5x5
for (i = 0; i < 6; i++) {
dstPtr[dIndex++] = m1Ptr[m1Index + 0 * 6] * m2Ptr[m2Index + 0 * 5 + 0] + m1Ptr[m1Index + 1 * 6] * m2Ptr[m2Index + 1 * 5 + 0] + m1Ptr[m1Index + 2 * 6] * m2Ptr[m2Index + 2 * 5 + 0] + m1Ptr[m1Index + 3 * 6] * m2Ptr[m2Index + 3 * 5 + 0] + m1Ptr[m1Index + 4 * 6] * m2Ptr[m2Index + 4 * 5 + 0];
dstPtr[dIndex++] = m1Ptr[m1Index + 0 * 6] * m2Ptr[m2Index + 0 * 5 + 1] + m1Ptr[m1Index + 1 * 6] * m2Ptr[m2Index + 1 * 5 + 1] + m1Ptr[m1Index + 2 * 6] * m2Ptr[m2Index + 2 * 5 + 1] + m1Ptr[m1Index + 3 * 6] * m2Ptr[m2Index + 3 * 5 + 1] + m1Ptr[m1Index + 4 * 6] * m2Ptr[m2Index + 4 * 5 + 1];
dstPtr[dIndex++] = m1Ptr[m1Index + 0 * 6] * m2Ptr[m2Index + 0 * 5 + 2] + m1Ptr[m1Index + 1 * 6] * m2Ptr[m2Index + 1 * 5 + 2] + m1Ptr[m1Index + 2 * 6] * m2Ptr[m2Index + 2 * 5 + 2] + m1Ptr[m1Index + 3 * 6] * m2Ptr[m2Index + 3 * 5 + 2] + m1Ptr[m1Index + 4 * 6] * m2Ptr[m2Index + 4 * 5 + 2];
dstPtr[dIndex++] = m1Ptr[m1Index + 0 * 6] * m2Ptr[m2Index + 0 * 5 + 3] + m1Ptr[m1Index + 1 * 6] * m2Ptr[m2Index + 1 * 5 + 3] + m1Ptr[m1Index + 2 * 6] * m2Ptr[m2Index + 2 * 5 + 3] + m1Ptr[m1Index + 3 * 6] * m2Ptr[m2Index + 3 * 5 + 3] + m1Ptr[m1Index + 4 * 6] * m2Ptr[m2Index + 4 * 5 + 3];
dstPtr[dIndex++] = m1Ptr[m1Index + 0 * 6] * m2Ptr[m2Index + 0 * 5 + 4] + m1Ptr[m1Index + 1 * 6] * m2Ptr[m2Index + 1 * 5 + 4] + m1Ptr[m1Index + 2 * 6] * m2Ptr[m2Index + 2 * 5 + 4] + m1Ptr[m1Index + 3 * 6] * m2Ptr[m2Index + 3 * 5 + 4] + m1Ptr[m1Index + 4 * 6] * m2Ptr[m2Index + 4 * 5 + 4];
m1Index++;
}
return;
}
for (i = 0; i < k; i++) {
m2Index = 0;
for (j = 0; j < l; j++) {
dstPtr[dIndex++] = m1Ptr[m1Index + 0] * m2Ptr[m2Index + 0] + m1Ptr[m1Index + k] * m2Ptr[m2Index + l] + m1Ptr[m1Index + 2 * k] * m2Ptr[m2Index + 2 * l]
+ m1Ptr[m1Index + 3 * k] * m2Ptr[m2Index + 3 * l] + m1Ptr[m1Index + 4 * k] * m2Ptr[m2Index + 4 * l];
m2Index++;
}
m1Index++;
}
break;
case 6:
if (l == 6) {
switch (k) {
case 1: // 6x1 * 6x6
m2Index = 0;
for (j = 0; j < 6; j++) {
dstPtr[dIndex++] = m1Ptr[m1Index + 0 * 1] * m2Ptr[m2Index + 0 * 6]
+ m1Ptr[m1Index + 1 * 1] * m2Ptr[m2Index + 1 * 6]
+ m1Ptr[m1Index + 2 * 1] * m2Ptr[m2Index + 2 * 6]
+ m1Ptr[m1Index + 3 * 1] * m2Ptr[m2Index + 3 * 6]
+ m1Ptr[m1Index + 4 * 1] * m2Ptr[m2Index + 4 * 6]
+ m1Ptr[m1Index + 5 * 1] * m2Ptr[m2Index + 5 * 6];
m2Index++;
}
return;
case 2: // 6x2 * 6x6
for (i = 0; i < 2; i++) {
m2Index = 0;
for (j = 0; j < 6; j++) {
dstPtr[dIndex++] = m1Ptr[m1Index + 0 * 2] * m2Ptr[m2Index + 0 * 6]
+ m1Ptr[m1Index + 1 * 2] * m2Ptr[m2Index + 1 * 6]
+ m1Ptr[m1Index + 2 * 2] * m2Ptr[m2Index + 2 * 6]
+ m1Ptr[m1Index + 3 * 2] * m2Ptr[m2Index + 3 * 6]
+ m1Ptr[m1Index + 4 * 2] * m2Ptr[m2Index + 4 * 6]
+ m1Ptr[m1Index + 5 * 2] * m2Ptr[m2Index + 5 * 6];
m2Index++;
}
m1Index++;
}
return;
case 3: // 6x3 * 6x6
for (i = 0; i < 3; i++) {
m2Index = 0;
for (j = 0; j < 6; j++) {
dstPtr[dIndex++] = m1Ptr[m1Index + 0 * 3] * m2Ptr[m2Index + 0 * 6]
+ m1Ptr[m1Index + 1 * 3] * m2Ptr[m2Index + 1 * 6]
+ m1Ptr[m1Index + 2 * 3] * m2Ptr[m2Index + 2 * 6]
+ m1Ptr[m1Index + 3 * 3] * m2Ptr[m2Index + 3 * 6]
+ m1Ptr[m1Index + 4 * 3] * m2Ptr[m2Index + 4 * 6]
+ m1Ptr[m1Index + 5 * 3] * m2Ptr[m2Index + 5 * 6];
m2Index++;
}
m1Index++;
}
return;
case 4: // 6x4 * 6x6
for (i = 0; i < 4; i++) {
m2Index = 0;
for (j = 0; j < 6; j++) {
dstPtr[dIndex++] = m1Ptr[m1Index + 0 * 4] * m2Ptr[m2Index + 0 * 6]
+ m1Ptr[m1Index + 1 * 4] * m2Ptr[m2Index + 1 * 6]
+ m1Ptr[m1Index + 2 * 4] * m2Ptr[m2Index + 2 * 6]
+ m1Ptr[m1Index + 3 * 4] * m2Ptr[m2Index + 3 * 6]
+ m1Ptr[m1Index + 4 * 4] * m2Ptr[m2Index + 4 * 6]
+ m1Ptr[m1Index + 5 * 4] * m2Ptr[m2Index + 5 * 6];
m2Index++;
}
m1Index++;
}
return;
case 5: // 6x5 * 6x6
for (i = 0; i < 5; i++) {
m2Index = 0;
for (j = 0; j < 6; j++) {
dstPtr[dIndex++] = m1Ptr[m1Index + 0 * 5] * m2Ptr[m2Index + 0 * 6]
+ m1Ptr[m1Index + 1 * 5] * m2Ptr[m2Index + 1 * 6]
+ m1Ptr[m1Index + 2 * 5] * m2Ptr[m2Index + 2 * 6]
+ m1Ptr[m1Index + 3 * 5] * m2Ptr[m2Index + 3 * 6]
+ m1Ptr[m1Index + 4 * 5] * m2Ptr[m2Index + 4 * 6]
+ m1Ptr[m1Index + 5 * 5] * m2Ptr[m2Index + 5 * 6];
m2Index++;
}
m1Index++;
}
return;
case 6: // 6x6 * 6x6
for (i = 0; i < 6; i++) {
m2Index = 0;
for (j = 0; j < 6; j++) {
dstPtr[dIndex++] = m1Ptr[m1Index + 0 * 6] * m2Ptr[m2Index + 0 * 6]
+ m1Ptr[m1Index + 1 * 6] * m2Ptr[m2Index + 1 * 6]
+ m1Ptr[m1Index + 2 * 6] * m2Ptr[m2Index + 2 * 6]
+ m1Ptr[m1Index + 3 * 6] * m2Ptr[m2Index + 3 * 6]
+ m1Ptr[m1Index + 4 * 6] * m2Ptr[m2Index + 4 * 6]
+ m1Ptr[m1Index + 5 * 6] * m2Ptr[m2Index + 5 * 6];
m2Index++;
}
m1Index++;
}
return;
}
}
for (i = 0; i < k; i++) {
m2Index = 0;
for (j = 0; j < l; j++) {
dstPtr[dIndex++] = m1Ptr[m1Index + 0] * m2Ptr[m2Index + 0] + m1Ptr[m1Index + k] * m2Ptr[m2Index + l] + m1Ptr[m1Index + 2 * k] * m2Ptr[m2Index + 2 * l]
+ m1Ptr[m1Index + 3 * k] * m2Ptr[m2Index + 3 * l] + m1Ptr[m1Index + 4 * k] * m2Ptr[m2Index + 4 * l] + m1Ptr[m1Index + 5 * k] * m2Ptr[m2Index + 5 * l];
m2Index++;
}
m1Index++;
}
break;
default:
for (i = 0; i < k; i++) {
for (j = 0; j < l; j++) {
m1Index = i;
m2Index = j;
sum = m1Ptr[m1Index + 0] * m2Ptr[m2Index + 0];
for (n = 1; n < m1.GetNumRows(); n++) {
m1Index += k;
m2Index += l;
sum += m1Ptr[m1Index + 0] * m2Ptr[m2Index + 0];
}
dstPtr[dIndex++] = (float) sum;
}
}
break;
}
}
private int NSKIP(final int n, final int s) {
return ((n << 3) | (s & 7));
}
private final int NSKIP1_0 = ((1 << 3) | (0 & 7)),
NSKIP2_0 = ((2 << 3) | (0 & 7)), NSKIP2_1 = ((2 << 3) | (1 & 7)),
NSKIP3_0 = ((3 << 3) | (0 & 7)), NSKIP3_1 = ((3 << 3) | (1 & 7)), NSKIP3_2 = ((3 << 3) | (2 & 7)),
NSKIP4_0 = ((4 << 3) | (0 & 7)), NSKIP4_1 = ((4 << 3) | (1 & 7)), NSKIP4_2 = ((4 << 3) | (2 & 7)), NSKIP4_3 = ((4 << 3) | (3 & 7)),
NSKIP5_0 = ((5 << 3) | (0 & 7)), NSKIP5_1 = ((5 << 3) | (1 & 7)), NSKIP5_2 = ((5 << 3) | (2 & 7)), NSKIP5_3 = ((5 << 3) | (3 & 7)), NSKIP5_4 = ((5 << 3) | (4 & 7)),
NSKIP6_0 = ((6 << 3) | (0 & 7)), NSKIP6_1 = ((6 << 3) | (1 & 7)), NSKIP6_2 = ((6 << 3) | (2 & 7)), NSKIP6_3 = ((6 << 3) | (3 & 7)), NSKIP6_4 = ((6 << 3) | (4 & 7)), NSKIP6_5 = ((6 << 3) | (5 & 7)),
NSKIP7_0 = ((7 << 3) | (0 & 7)), NSKIP7_1 = ((7 << 3) | (1 & 7)), NSKIP7_2 = ((7 << 3) | (2 & 7)), NSKIP7_3 = ((7 << 3) | (3 & 7)), NSKIP7_4 = ((7 << 3) | (4 & 7)), NSKIP7_5 = ((7 << 3) | (5 & 7)), NSKIP7_6 = ((7 << 3) | (6 & 7));
@Override
public void MatX_LowerTriangularSolve(idMatX L, float[] x, float[] b, int n) {
MatX_LowerTriangularSolve(L, x, b, n, 0);
}
/*
============
idSIMD_Generic::MatX_LowerTriangularSolve
solves x in Lx = b for the n * n sub-matrix of L
if skip > 0 the first skip elements of x are assumed to be valid already
L has to be a lower triangular matrix with (implicit) ones on the diagonal
x == b is allowed
============
*/
@Override
public void MatX_LowerTriangularSolve(idMatX L, float[] x, float[] b, int n, int skip) {
//#if 1
int nc;
float[] lptr;
int lIndex = 0;
if (skip >= n) {
return;
}
lptr = L.ToFloatPtr();
nc = L.GetNumColumns();
// unrolled cases for n < 8
if (n < 8) {
// #define NSKIP( n, s ) ((n<<3)|(s&7))
switch (NSKIP(n, skip)) {
case NSKIP1_0:
x[0] = b[0];
return;
case NSKIP2_0:
x[0] = b[0];
case NSKIP2_1:
x[1] = b[1] - lptr[1 * nc + 0] * x[0];
return;
case NSKIP3_0:
x[0] = b[0];
case NSKIP3_1:
x[1] = b[1] - lptr[1 * nc + 0] * x[0];
case NSKIP3_2:
x[2] = b[2] - lptr[2 * nc + 0] * x[0] - lptr[2 * nc + 1] * x[1];
return;
case NSKIP4_0:
x[0] = b[0];
case NSKIP4_1:
x[1] = b[1] - lptr[1 * nc + 0] * x[0];
case NSKIP4_2:
x[2] = b[2] - lptr[2 * nc + 0] * x[0] - lptr[2 * nc + 1] * x[1];
case NSKIP4_3:
x[3] = b[3] - lptr[3 * nc + 0] * x[0] - lptr[3 * nc + 1] * x[1] - lptr[3 * nc + 2] * x[2];
return;
case NSKIP5_0:
x[0] = b[0];
case NSKIP5_1:
x[1] = b[1] - lptr[1 * nc + 0] * x[0];
case NSKIP5_2:
x[2] = b[2] - lptr[2 * nc + 0] * x[0] - lptr[2 * nc + 1] * x[1];
case NSKIP5_3:
x[3] = b[3] - lptr[3 * nc + 0] * x[0] - lptr[3 * nc + 1] * x[1] - lptr[3 * nc + 2] * x[2];
case NSKIP5_4:
x[4] = b[4] - lptr[4 * nc + 0] * x[0] - lptr[4 * nc + 1] * x[1] - lptr[4 * nc + 2] * x[2] - lptr[4 * nc + 3] * x[3];
return;
case NSKIP6_0:
x[0] = b[0];
case NSKIP6_1:
x[1] = b[1] - lptr[1 * nc + 0] * x[0];
case NSKIP6_2:
x[2] = b[2] - lptr[2 * nc + 0] * x[0] - lptr[2 * nc + 1] * x[1];
case NSKIP6_3:
x[3] = b[3] - lptr[3 * nc + 0] * x[0] - lptr[3 * nc + 1] * x[1] - lptr[3 * nc + 2] * x[2];
case NSKIP6_4:
x[4] = b[4] - lptr[4 * nc + 0] * x[0] - lptr[4 * nc + 1] * x[1] - lptr[4 * nc + 2] * x[2] - lptr[4 * nc + 3] * x[3];
case NSKIP6_5:
x[5] = b[5] - lptr[5 * nc + 0] * x[0] - lptr[5 * nc + 1] * x[1] - lptr[5 * nc + 2] * x[2] - lptr[5 * nc + 3] * x[3] - lptr[5 * nc + 4] * x[4];
return;
case NSKIP7_0:
x[0] = b[0];
case NSKIP7_1:
x[1] = b[1] - lptr[1 * nc + 0] * x[0];
case NSKIP7_2:
x[2] = b[2] - lptr[2 * nc + 0] * x[0] - lptr[2 * nc + 1] * x[1];
case NSKIP7_3:
x[3] = b[3] - lptr[3 * nc + 0] * x[0] - lptr[3 * nc + 1] * x[1] - lptr[3 * nc + 2] * x[2];
case NSKIP7_4:
x[4] = b[4] - lptr[4 * nc + 0] * x[0] - lptr[4 * nc + 1] * x[1] - lptr[4 * nc + 2] * x[2] - lptr[4 * nc + 3] * x[3];
case NSKIP7_5:
x[5] = b[5] - lptr[5 * nc + 0] * x[0] - lptr[5 * nc + 1] * x[1] - lptr[5 * nc + 2] * x[2] - lptr[5 * nc + 3] * x[3] - lptr[5 * nc + 4] * x[4];
case NSKIP7_6:
x[6] = b[6] - lptr[6 * nc + 0] * x[0] - lptr[6 * nc + 1] * x[1] - lptr[6 * nc + 2] * x[2] - lptr[6 * nc + 3] * x[3] - lptr[6 * nc + 4] * x[4] - lptr[6 * nc + 5] * x[5];
return;
}
return;
}
// process first 4 rows
switch (skip) {
case 0:
x[0] = b[0];
case 1:
x[1] = b[1] - lptr[1 * nc + 0] * x[0];
case 2:
x[2] = b[2] - lptr[2 * nc + 0] * x[0] - lptr[2 * nc + 1] * x[1];
case 3:
x[3] = b[3] - lptr[3 * nc + 0] * x[0] - lptr[3 * nc + 1] * x[1] - lptr[3 * nc + 2] * x[2];
skip = 4;
}
// lptr = L[skip];
lptr = L.oGet(skip);
int i, j;
double s0, s1, s2, s3;
for (i = skip; i < n; i++) {
s0 = lptr[lIndex + 0] * x[0];
s1 = lptr[lIndex + 1] * x[1];
s2 = lptr[lIndex + 2] * x[2];
s3 = lptr[lIndex + 3] * x[3];
for (j = 4; j < i - 7; j += 8) {
s0 += lptr[lIndex + j + 0] * x[j + 0];
s1 += lptr[lIndex + j + 1] * x[j + 1];
s2 += lptr[lIndex + j + 2] * x[j + 2];
s3 += lptr[lIndex + j + 3] * x[j + 3];
s0 += lptr[lIndex + j + 4] * x[j + 4];
s1 += lptr[lIndex + j + 5] * x[j + 5];
s2 += lptr[lIndex + j + 6] * x[j + 6];
s3 += lptr[lIndex + j + 7] * x[j + 7];
}
switch (i - j) {
// NODEFAULT;
case 7:
s0 += lptr[lIndex + j + 6] * x[j + 6];
case 6:
s1 += lptr[lIndex + j + 5] * x[j + 5];
case 5:
s2 += lptr[lIndex + j + 4] * x[j + 4];
case 4:
s3 += lptr[lIndex + j + 3] * x[j + 3];
case 3:
s0 += lptr[lIndex + j + 2] * x[j + 2];
case 2:
s1 += lptr[lIndex + j + 1] * x[j + 1];
case 1:
s2 += lptr[lIndex + j + 0] * x[j + 0];
case 0:
break;
}
double sum;
sum = s3;
sum += s2;
sum += s1;
sum += s0;
sum -= b[i];
x[i] = (float) -sum;
lIndex += nc;
}
//#else
//
// int i, j;
// const float *lptr;
// double sum;
//
// for ( i = skip; i < n; i++ ) {
// sum = b[i];
// lptr = L[i];
// for ( j = 0; j < i; j++ ) {
// sum -= lptr[j] * x[j];
// }
// x[i] = sum;
// }
//
//#endif
}
// /*
// ============
// idSIMD_Generic::MatX_LowerTriangularSolveTranspose
//
// solves x in L'x = b for the n * n sub-matrix of L
// L has to be a lower triangular matrix with (implicit) ones on the diagonal
// x == b is allowed
// ============
// */
// @Override
// public void MatX_LowerTriangularSolveTranspose(idMatX L, float[] x, float[] b, int n) {
////#if 1
//
// int nc;
// float[] lptr;
//
// lptr = L.ToFloatPtr();
// nc = L.GetNumColumns();
//
// // unrolled cases for n < 8
// if (n < 8) {
// switch (n) {
// case 0:
// return;
// case 1:
// x[0] = b[0];
// return;
// case 2:
// x[1] = b[1];
// x[0] = b[0] - lptr[1 * nc + 0] * x[1];
// return;
// case 3:
// x[2] = b[2];
// x[1] = b[1] - lptr[2 * nc + 1] * x[2];
// x[0] = b[0] - lptr[2 * nc + 0] * x[2] - lptr[1 * nc + 0] * x[1];
// return;
// case 4:
// x[3] = b[3];
// x[2] = b[2] - lptr[3 * nc + 2] * x[3];
// x[1] = b[1] - lptr[3 * nc + 1] * x[3] - lptr[2 * nc + 1] * x[2];
// x[0] = b[0] - lptr[3 * nc + 0] * x[3] - lptr[2 * nc + 0] * x[2] - lptr[1 * nc + 0] * x[1];
// return;
// case 5:
// x[4] = b[4];
// x[3] = b[3] - lptr[4 * nc + 3] * x[4];
// x[2] = b[2] - lptr[4 * nc + 2] * x[4] - lptr[3 * nc + 2] * x[3];
// x[1] = b[1] - lptr[4 * nc + 1] * x[4] - lptr[3 * nc + 1] * x[3] - lptr[2 * nc + 1] * x[2];
// x[0] = b[0] - lptr[4 * nc + 0] * x[4] - lptr[3 * nc + 0] * x[3] - lptr[2 * nc + 0] * x[2] - lptr[1 * nc + 0] * x[1];
// return;
// case 6:
// x[5] = b[5];
// x[4] = b[4] - lptr[5 * nc + 4] * x[5];
// x[3] = b[3] - lptr[5 * nc + 3] * x[5] - lptr[4 * nc + 3] * x[4];
// x[2] = b[2] - lptr[5 * nc + 2] * x[5] - lptr[4 * nc + 2] * x[4] - lptr[3 * nc + 2] * x[3];
// x[1] = b[1] - lptr[5 * nc + 1] * x[5] - lptr[4 * nc + 1] * x[4] - lptr[3 * nc + 1] * x[3] - lptr[2 * nc + 1] * x[2];
// x[0] = b[0] - lptr[5 * nc + 0] * x[5] - lptr[4 * nc + 0] * x[4] - lptr[3 * nc + 0] * x[3] - lptr[2 * nc + 0] * x[2] - lptr[1 * nc + 0] * x[1];
// return;
// case 7:
// x[6] = b[6];
// x[5] = b[5] - lptr[6 * nc + 5] * x[6];
// x[4] = b[4] - lptr[6 * nc + 4] * x[6] - lptr[5 * nc + 4] * x[5];
// x[3] = b[3] - lptr[6 * nc + 3] * x[6] - lptr[5 * nc + 3] * x[5] - lptr[4 * nc + 3] * x[4];
// x[2] = b[2] - lptr[6 * nc + 2] * x[6] - lptr[5 * nc + 2] * x[5] - lptr[4 * nc + 2] * x[4] - lptr[3 * nc + 2] * x[3];
// x[1] = b[1] - lptr[6 * nc + 1] * x[6] - lptr[5 * nc + 1] * x[5] - lptr[4 * nc + 1] * x[4] - lptr[3 * nc + 1] * x[3] - lptr[2 * nc + 1] * x[2];
// x[0] = b[0] - lptr[6 * nc + 0] * x[6] - lptr[5 * nc + 0] * x[5] - lptr[4 * nc + 0] * x[4] - lptr[3 * nc + 0] * x[3] - lptr[2 * nc + 0] * x[2] - lptr[1 * nc + 0] * x[1];
// return;
// }
// return;
// }
//
// int i, j;
// double s0, s1, s2, s3;
// float[] xptr;
// int lIndex, xIndex;
//
// lptr = L.ToFloatPtr();
// lIndex = n * nc + n - 4;
// xptr = x;
// xIndex = n;
//
// // process 4 rows at a time
// for (i = n; i >= 4; i -= 4) {
// s0 = b[i - 4];
// s1 = b[i - 3];
// s2 = b[i - 2];
// s3 = b[i - 1];
// // process 4x4 blocks
// for (j = 0; j < n - i; j += 4) {
// s0 -= lptr[lIndex + (j + 0) * nc + 0] * xptr[xIndex + j + 0];
// s1 -= lptr[lIndex + (j + 0) * nc + 1] * xptr[xIndex + j + 0];
// s2 -= lptr[lIndex + (j + 0) * nc + 2] * xptr[xIndex + j + 0];
// s3 -= lptr[lIndex + (j + 0) * nc + 3] * xptr[xIndex + j + 0];
// s0 -= lptr[lIndex + (j + 1) * nc + 0] * xptr[xIndex + j + 1];
// s1 -= lptr[lIndex + (j + 1) * nc + 1] * xptr[xIndex + j + 1];
// s2 -= lptr[lIndex + (j + 1) * nc + 2] * xptr[xIndex + j + 1];
// s3 -= lptr[lIndex + (j + 1) * nc + 3] * xptr[xIndex + j + 1];
// s0 -= lptr[lIndex + (j + 2) * nc + 0] * xptr[xIndex + j + 2];
// s1 -= lptr[lIndex + (j + 2) * nc + 1] * xptr[xIndex + j + 2];
// s2 -= lptr[lIndex + (j + 2) * nc + 2] * xptr[xIndex + j + 2];
// s3 -= lptr[lIndex + (j + 2) * nc + 3] * xptr[xIndex + j + 2];
// s0 -= lptr[lIndex + (j + 3) * nc + 0] * xptr[xIndex + j + 3];
// s1 -= lptr[lIndex + (j + 3) * nc + 1] * xptr[xIndex + j + 3];
// s2 -= lptr[lIndex + (j + 3) * nc + 2] * xptr[xIndex + j + 3];
// s3 -= lptr[lIndex + (j + 3) * nc + 3] * xptr[xIndex + j + 3];
// }
// // process left over of the 4 rows
// s0 -= lptr[lIndex + 0 - 1 * nc] * s3;
// s1 -= lptr[lIndex + 1 - 1 * nc] * s3;
// s2 -= lptr[lIndex + 2 - 1 * nc] * s3;
// s0 -= lptr[lIndex + 0 - 2 * nc] * s2;
// s1 -= lptr[lIndex + 1 - 2 * nc] * s2;
// s0 -= lptr[lIndex + 0 - 3 * nc] * s1;
// // store result
// xptr[xIndex - 4] = (float) s0;
// xptr[xIndex - 3] = (float) s1;
// xptr[xIndex - 2] = (float) s2;
// xptr[xIndex - 1] = (float) s3;
// // update pointers for next four rows
// lIndex -= 4 + 4 * nc;
// xIndex -= 4;
// }
// // process left over rows
// for (i--; i >= 0; i--) {
// s0 = b[i];
// lptr = L.oGet(0);
// lIndex = i;
// for (j = i + 1; j < n; j++) {
// s0 -= lptr[lIndex + j * nc] * x[j];
// }
// x[i] = (float) s0;
// }
//
////#else
////
//// int i, j, nc;
//// const float *ptr;
//// double sum;
////
//// nc = L.GetNumColumns();
//// for ( i = n - 1; i >= 0; i-- ) {
//// sum = b[i];
//// ptr = L[0] + i;
//// for ( j = i + 1; j < n; j++ ) {
//// sum -= ptr[j*nc] * x[j];
//// }
//// x[i] = sum;
//// }
////
////#endif
// }
//
// /*
// ============
// idSIMD_Generic::MatX_LDLTFactor
//
// in-place factorization LDL' of the n * n sub-matrix of mat
// the reciprocal of the diagonal elements are stored in invDiag
// ============
// */
// @Override
// public boolean MatX_LDLTFactor(idMatX mat, idVecX invDiag, int n) {
////#if 1
//
// int i, j, k, nc;
// float[] v, diag, mptr;
// float s0, s1, s2, s3, sum, d;
// int mIndex = 0;
//
// v = new float[n];
// diag = new float[n];
//
// nc = mat.GetNumColumns();
//
// if (n <= 0) {
// return true;
// }
//
// mptr = mat.oGet(0);
//
// sum = mptr[0];
//
// if (sum == 0.0f) {
// return false;
// }
//
// diag[0] = sum;
// invDiag.p[0] = (d = 1.0f / sum);
//
// if (n <= 1) {
// return true;
// }
//
// mptr = mat.oGet(0);
// for (j = 1; j < n; j++) {
// mptr[j * nc + 0] = ((mptr[j * nc + 0]) * d);
// }
//
// mptr = mat.oGet(1);
//
// v[0] = diag[0] * mptr[0];
// s0 = v[0] * mptr[0];
// sum = mptr[1] - s0;
//
// if (sum == 0.0f) {
// return false;
// }
//
// mat.oSet(1, 1, sum);
// diag[1] = sum;
// invDiag.p[1] = d = 1.0f / sum;
//
// if (n <= 2) {
// return true;
// }
//
// mptr = mat.oGet(0);
// for (j = 2; j < n; j++) {
// mptr[j * nc + 1] = (mptr[j * nc + 1] - v[0] * mptr[j * nc + 0]) * d;
// }
//
// mptr = mat.oGet(2);
//
// v[0] = diag[0] * mptr[0];
// s0 = v[0] * mptr[0];
// v[1] = diag[1] * mptr[1];
// s1 = v[1] * mptr[1];
// sum = mptr[2] - s0 - s1;
//
// if (sum == 0.0f) {
// return false;
// }
//
// mat.oSet(2, 2, sum);
// diag[2] = sum;
// invDiag.p[2] = d = 1.0f / sum;
//
// if (n <= 3) {
// return true;
// }
//
// mptr = mat.oGet(0);
// for (j = 3; j < n; j++) {
// mptr[j * nc + 2] = (mptr[j * nc + 2] - v[0] * mptr[j * nc + 0] - v[1] * mptr[j * nc + 1]) * d;
// }
//
// mptr = mat.oGet(3);
//
// v[0] = diag[0] * mptr[0];
// s0 = v[0] * mptr[0];
// v[1] = diag[1] * mptr[1];
// s1 = v[1] * mptr[1];
// v[2] = diag[2] * mptr[2];
// s2 = v[2] * mptr[2];
// sum = mptr[3] - s0 - s1 - s2;
//
// if (sum == 0.0f) {
// return false;
// }
//
// mat.oSet(3, 3, sum);
// diag[3] = sum;
// invDiag.p[3] = d = 1.0f / sum;
//
// if (n <= 4) {
// return true;
// }
//
// mptr = mat.oGet(0);
// for (j = 4; j < n; j++) {
// mptr[j * nc + 3] = (mptr[j * nc + 3] - v[0] * mptr[j * nc + 0] - v[1] * mptr[j * nc + 1] - v[2] * mptr[j * nc + 2]) * d;
// }
//
// for (i = 4; i < n; i++) {
//
// mptr = mat.oGet(i);
//
// v[0] = diag[0] * mptr[0];
// s0 = v[0] * mptr[0];
// v[1] = diag[1] * mptr[1];
// s1 = v[1] * mptr[1];
// v[2] = diag[2] * mptr[2];
// s2 = v[2] * mptr[2];
// v[3] = diag[3] * mptr[3];
// s3 = v[3] * mptr[3];
// for (k = 4; k < i - 3; k += 4) {
// v[k + 0] = diag[k + 0] * mptr[k + 0];
// s0 += v[k + 0] * mptr[k + 0];
// v[k + 1] = diag[k + 1] * mptr[k + 1];
// s1 += v[k + 1] * mptr[k + 1];
// v[k + 2] = diag[k + 2] * mptr[k + 2];
// s2 += v[k + 2] * mptr[k + 2];
// v[k + 3] = diag[k + 3] * mptr[k + 3];
// s3 += v[k + 3] * mptr[k + 3];
// }
// switch (i - k) {
//// NODEFAULT;
// case 3:
// v[k + 2] = diag[k + 2] * mptr[k + 2];
// s0 += v[k + 2] * mptr[k + 2];
// case 2:
// v[k + 1] = diag[k + 1] * mptr[k + 1];
// s1 += v[k + 1] * mptr[k + 1];
// case 1:
// v[k + 0] = diag[k + 0] * mptr[k + 0];
// s2 += v[k + 0] * mptr[k + 0];
// case 0:
// break;
// }
// sum = s3;
// sum += s2;
// sum += s1;
// sum += s0;
// sum = mptr[i] - sum;
//
// if (sum == 0.0f) {
// return false;
// }
//
// mat.oSet(i, i, sum);
// diag[i] = sum;
// invDiag.p[i] = d = 1.0f / sum;
//
// if (i + 1 >= n) {
// return true;
// }
//
// mptr = mat.oGet(i + 1);
// for (j = i + 1; j < n; j++) {
// s0 = mptr[mIndex + 0] * v[0];
// s1 = mptr[mIndex + 1] * v[1];
// s2 = mptr[mIndex + 2] * v[2];
// s3 = mptr[mIndex + 3] * v[3];
// for (k = 4; k < i - 7; k += 8) {
// s0 += mptr[mIndex + k + 0] * v[k + 0];
// s1 += mptr[mIndex + k + 1] * v[k + 1];
// s2 += mptr[mIndex + k + 2] * v[k + 2];
// s3 += mptr[mIndex + k + 3] * v[k + 3];
// s0 += mptr[mIndex + k + 4] * v[k + 4];
// s1 += mptr[mIndex + k + 5] * v[k + 5];
// s2 += mptr[mIndex + k + 6] * v[k + 6];
// s3 += mptr[mIndex + k + 7] * v[k + 7];
// }
// switch (i - k) {
//// NODEFAULT;
// case 7:
// s0 += mptr[mIndex + k + 6] * v[k + 6];
// case 6:
// s1 += mptr[mIndex + k + 5] * v[k + 5];
// case 5:
// s2 += mptr[mIndex + k + 4] * v[k + 4];
// case 4:
// s3 += mptr[mIndex + k + 3] * v[k + 3];
// case 3:
// s0 += mptr[mIndex + k + 2] * v[k + 2];
// case 2:
// s1 += mptr[mIndex + k + 1] * v[k + 1];
// case 1:
// s2 += mptr[mIndex + k + 0] * v[k + 0];
// case 0:
// break;
// }
// sum = s3;
// sum += s2;
// sum += s1;
// sum += s0;
// mptr[mIndex + i] = (mptr[mIndex + i] - sum) * d;
// mIndex += nc;
// }
// }
//
// return true;
//
////#else
////
//// int i, j, k, nc;
//// float *v, *ptr, *diagPtr;
//// double d, sum;
////
//// v = (float *) _alloca16( n * sizeof( float ) );
//// nc = mat.GetNumColumns();
////
//// for ( i = 0; i < n; i++ ) {
////
//// ptr = mat[i];
//// diagPtr = mat[0];
//// sum = ptr[i];
//// for ( j = 0; j < i; j++ ) {
//// d = ptr[j];
//// v[j] = diagPtr[0] * d;
//// sum -= v[j] * d;
//// diagPtr += nc + 1;
//// }
////
//// if ( sum == 0.0f ) {
//// return false;
//// }
////
//// diagPtr[0] = sum;
//// invDiag[i] = d = 1.0f / sum;
////
//// if ( i + 1 >= n ) {
//// continue;
//// }
////
//// ptr = mat[i+1];
//// for ( j = i + 1; j < n; j++ ) {
//// sum = ptr[i];
//// for ( k = 0; k < i; k++ ) {
//// sum -= ptr[k] * v[k];
//// }
//// ptr[i] = sum * d;
//// ptr += nc;
//// }
//// }
////
//// return true;
////
////#endif
// }
//
// @Override
// public void BlendJoints(idJointQuat[] joints, idJointQuat[] blendJoints, float lerp, int[] index, int numJoints) {
// int i;
//
// for (i = 0; i < numJoints; i++) {
// int j = index[i];
// joints[j].q.Slerp(joints[j].q, blendJoints[j].q, lerp);
// joints[j].t.Lerp(joints[j].t, blendJoints[j].t, lerp);
// }
// }
//
// @Override
// public void ConvertJointQuatsToJointMats(idJointMat[] jointMats, idJointQuat[] jointQuats, int numJoints) {
// int i;
//
// for (i = 0; i < numJoints; i++) {
// jointMats[i].SetRotation(jointQuats[i].q.ToMat3());
// jointMats[i].SetTranslation(jointQuats[i].t);
// }
// }
//
// @Override
// public void ConvertJointMatsToJointQuats(idList<idJointQuat> jointQuats, idJointMat[] jointMats, int numJoints) {
// int i;
//
// for (i = 0; i < numJoints; i++) {
// jointQuats.oSet(i, jointMats[i].ToJointQuat());
// }
// }
//
// @Override
// public void TransformJoints(idJointMat[] jointMats, int[] parents, int firstJoint, int lastJoint) {
// int i;
//
// for (i = firstJoint; i <= lastJoint; i++) {
// assert (parents[i] < i);
// jointMats[i].oMulSet(jointMats[parents[i]]);
// }
// }
//
// @Override
// public void UntransformJoints(idJointMat[] jointMats, int[] parents, int firstJoint, int lastJoint) {
// int i;
//
// for (i = lastJoint; i >= firstJoint; i--) {
// assert (parents[i] < i);
// jointMats[i].oDivSet(jointMats[parents[i]]);
// }
// }
//
// @Override
// public void TransformVerts(idDrawVert[] verts, int numVerts, idJointMat[] joints, idVec4[] weights, int[] index, int numWeights) {
// int i, j;
// ByteBuffer jointsPtr = jmtobb(joints);
//
// for (j = i = 0; i < numVerts; i++) {
// idVec3 v;
//
// v = toIdJointMat(jointsPtr, index[j * 2 + 0]).oMultiply(weights[j]);//TODO:check if this equals to the byte pointer
// while (index[j * 2 + 1] == 0) {
// j++;
// v.oPluSet(toIdJointMat(jointsPtr, index[j * 2 + 0]).oMultiply(weights[j]));
// }
// j++;
//
// verts[i] = (verts[i] == null ? new idDrawVert() : verts[i]);
// verts[i].xyz = v;
// }
// }
//
// //TODO: move to TempDump
// private static ByteBuffer jmtobb(final idJointMat[] joints) {
// ByteBuffer byteBuffer = ByteBuffer.allocate(idJointMat.SIZE * joints.length).order(ByteOrder.LITTLE_ENDIAN);
//
// for (int i = 0; i < joints.length; i++) {
// byteBuffer.position(i * idJointMat.SIZE);
// byteBuffer.asFloatBuffer().put(joints[i].ToFloatPtr());
// }
//
// return byteBuffer;
// }
//
// private static idJointMat toIdJointMat(final ByteBuffer jointsPtr, final int position) {
// ByteBuffer buffer = ((ByteBuffer) jointsPtr.duplicate().position(position)).order(ByteOrder.LITTLE_ENDIAN);
// float[] temp = new float[12];
// for (int i = 0; i < 12; i++) {
// temp[i] = buffer.getFloat();
// }
// return new idJointMat(temp);
// }
//
// @Override
// public void TracePointCull(byte[] cullBits, byte[] totalOr, float radius, idPlane[] planes, idDrawVert[] verts, int numVerts) {
// int i;
// byte tOr;
//
// tOr = 0;
//
// for (i = 0; i < numVerts; i++) {
// int bits;
// float d0, d1, d2, d3, t;
// final idVec3 v = verts[i].xyz;
//
// d0 = planes[0].Distance(v);
// d1 = planes[1].Distance(v);
// d2 = planes[2].Distance(v);
// d3 = planes[3].Distance(v);
//
// t = d0 + radius;
// bits = FLOATSIGNBITSET(t) << 0;
// t = d1 + radius;
// bits |= FLOATSIGNBITSET(t) << 1;
// t = d2 + radius;
// bits |= FLOATSIGNBITSET(t) << 2;
// t = d3 + radius;
// bits |= FLOATSIGNBITSET(t) << 3;
//
// t = d0 - radius;
// bits |= FLOATSIGNBITSET(t) << 4;
// t = d1 - radius;
// bits |= FLOATSIGNBITSET(t) << 5;
// t = d2 - radius;
// bits |= FLOATSIGNBITSET(t) << 6;
// t = d3 - radius;
// bits |= FLOATSIGNBITSET(t) << 7;
//
// bits ^= 0x0F; // flip lower four bits
//
// tOr |= bits;
// cullBits[i] = (byte) bits;
// }
//
// totalOr[0] = tOr;
// }
//
// @Override
// public void DecalPointCull(byte[] cullBits, idPlane[] planes, idDrawVert[] verts, int numVerts) {
// int i;
//
// for (i = 0; i < numVerts; i++) {
// int bits;
// float d0, d1, d2, d3, d4, d5;
// final idVec3 v = verts[i].xyz;
//
// d0 = planes[0].Distance(v);
// d1 = planes[1].Distance(v);
// d2 = planes[2].Distance(v);
// d3 = planes[3].Distance(v);
// d4 = planes[4].Distance(v);
// d5 = planes[5].Distance(v);
//
// bits = FLOATSIGNBITSET(d0) << 0;
// bits |= FLOATSIGNBITSET(d1) << 1;
// bits |= FLOATSIGNBITSET(d2) << 2;
// bits |= FLOATSIGNBITSET(d3) << 3;
// bits |= FLOATSIGNBITSET(d4) << 4;
// bits |= FLOATSIGNBITSET(d5) << 5;
//
// cullBits[i] = (byte) (bits ^ 0x3F); // flip lower 6 bits
// }
// }
//
// @Override
// public void OverlayPointCull(byte[] cullBits, idVec2[] texCoords, idPlane[] planes, idDrawVert[] verts, int numVerts) {
// int i;
//
// for (i = 0; i < numVerts; i++) {
// int bits;
// float d0, d1;
// final idVec3 v = verts[i].xyz;
//
// texCoords[i].oSet(0, d0 = planes[0].Distance(v));
// texCoords[i].oSet(1, d1 = planes[1].Distance(v));
//
// bits = FLOATSIGNBITSET(d0) << 0;
// d0 = 1.0f - d0;
// bits |= FLOATSIGNBITSET(d1) << 1;
// d1 = 1.0f - d1;
// bits |= FLOATSIGNBITSET(d0) << 2;
// bits |= FLOATSIGNBITSET(d1) << 3;
//
// cullBits[i] = (byte) bits;
// }
// }
//
// /*
// ============
// idSIMD_Generic::DeriveTriPlanes
//
// Derives a plane equation for each triangle.
// ============
// */
// @Override
// public void DeriveTriPlanes(idPlane[] planes, idDrawVert[] verts, int numVerts, int[] indexes, int numIndexes) {
// int i, planePtr;
//
// for (i = planePtr = 0; i < numIndexes; i += 3) {
// final idDrawVert a, b, c;
// float[] d0 = new float[3], d1 = new float[3];
// float f;
// idVec3 n;
//
// a = verts[indexes[i + 0]];
// b = verts[indexes[i + 1]];
// c = verts[indexes[i + 2]];
//
// d0[0] = b.xyz.oGet(0) - a.xyz.oGet(0);
// d0[1] = b.xyz.oGet(1) - a.xyz.oGet(1);
// d0[2] = b.xyz.oGet(2) - a.xyz.oGet(2);
//
// d1[0] = c.xyz.oGet(0) - a.xyz.oGet(0);
// d1[1] = c.xyz.oGet(1) - a.xyz.oGet(1);
// d1[2] = c.xyz.oGet(2) - a.xyz.oGet(2);
//
// n = new idVec3(
// d1[1] * d0[2] - d1[2] * d0[1],
// d1[2] * d0[0] - d1[0] * d0[2],
// d1[0] * d0[1] - d1[1] * d0[0]);
//
// f = idMath.RSqrt(n.x * n.x + n.y * n.y + n.z * n.z);
//
// n.x *= f;
// n.y *= f;
// n.z *= f;
//
// planes[planePtr].SetNormal(n);
// planes[planePtr].FitThroughPoint(a.xyz);
// planePtr++;
// }
// }
//
// /*
// ============
// idSIMD_Generic::DeriveTangents
//
// Derives the normal and orthogonal tangent vectors for the triangle vertices.
// For each vertex the normal and tangent vectors are derived from all triangles
// using the vertex which results in smooth tangents across the mesh.
// In the process the triangle planes are calculated as well.
// ============
// */
// @Override
// public void DeriveTangents(idPlane[] planes, idDrawVert[] verts, int numVerts, int[] indexes, int numIndexes) {
// int i, planesPtr;
//
// boolean[] used = new boolean[numVerts];
//// memset( used, 0, numVerts * sizeof( used[0] ) );
//
// for (i = planesPtr = 0; i < numIndexes; i += 3) {
// idDrawVert a, b, c;
// int signBit;
// float[] d0 = new float[5], d1 = new float[5];
// float f, area;
// idVec3 n, t0 = new idVec3(), t1 = new idVec3();
//
// int v0 = indexes[i + 0];
// int v1 = indexes[i + 1];
// int v2 = indexes[i + 2];
//
// a = verts[v0];
// b = verts[v1];
// c = verts[v2];
//
// d0[0] = b.xyz.oGet(0) - a.xyz.oGet(0);
// d0[1] = b.xyz.oGet(1) - a.xyz.oGet(1);
// d0[2] = b.xyz.oGet(2) - a.xyz.oGet(2);
// d0[3] = b.st.oGet(0) - a.st.oGet(0);
// d0[4] = b.st.oGet(1) - a.st.oGet(1);
//
// d1[0] = c.xyz.oGet(0) - a.xyz.oGet(0);
// d1[1] = c.xyz.oGet(1) - a.xyz.oGet(1);
// d1[2] = c.xyz.oGet(2) - a.xyz.oGet(2);
// d1[3] = c.st.oGet(0) - a.st.oGet(0);
// d1[4] = c.st.oGet(1) - a.st.oGet(1);
//
// // normal
// n = new idVec3(
// d1[1] * d0[2] - d1[2] * d0[1],
// d1[2] * d0[0] - d1[0] * d0[2],
// d1[0] * d0[1] - d1[1] * d0[0]);
//
// f = idMath.RSqrt(n.x * n.x + n.y * n.y + n.z * n.z);
//
// n.x *= f;
// n.y *= f;
// n.z *= f;
//
// planes[planesPtr].SetNormal(n);
// planes[planesPtr].FitThroughPoint(a.xyz);
// planesPtr++;
//
// // area sign bit
// area = d0[3] * d1[4] - d0[4] * d1[3];
// signBit = Float.floatToIntBits(area) & (1 << 31);
//
// // first tangent
// t0.oSet(0, d0[0] * d1[4] - d0[4] * d1[0]);
// t0.oSet(1, d0[1] * d1[4] - d0[4] * d1[1]);
// t0.oSet(2, d0[2] * d1[4] - d0[4] * d1[2]);
//
// f = idMath.RSqrt(t0.x * t0.x + t0.y * t0.y + t0.z * t0.z);
// f = Float.intBitsToFloat(Float.floatToIntBits(f) ^ signBit);
//
// t0.x *= f;
// t0.y *= f;
// t0.z *= f;
//
// // second tangent
// t1.oSet(0, d0[3] * d1[0] - d0[0] * d1[3]);
// t1.oSet(1, d0[3] * d1[1] - d0[1] * d1[3]);
// t1.oSet(2, d0[3] * d1[2] - d0[2] * d1[3]);
//
// f = idMath.RSqrt(t1.x * t1.x + t1.y * t1.y + t1.z * t1.z);
// f = Float.intBitsToFloat(Float.floatToIntBits(f) ^ signBit);
//
// t1.x *= f;
// t1.y *= f;
// t1.z *= f;
//
// if (used[v0]) {
// a.normal.oPluSet(n);
// a.tangents[0].oPluSet(t0);
// a.tangents[1].oPluSet(t1);
// } else {
// a.normal = n;
// a.tangents[0] = t0;
// a.tangents[1] = t1;
// used[v0] = true;
// }
//
// if (used[v1]) {
// b.normal.oPluSet(n);
// b.tangents[0].oPluSet(t0);
// b.tangents[1].oPluSet(t1);
// } else {
// b.normal = n;
// b.tangents[0] = t0;
// b.tangents[1] = t1;
// used[v1] = true;
// }
//
// if (used[v2]) {
// c.normal.oPluSet(n);
// c.tangents[0].oPluSet(t0);
// c.tangents[1].oPluSet(t1);
// } else {
// c.normal = n;
// c.tangents[0] = t0;
// c.tangents[1] = t1;
// used[v2] = true;
// }
// }
// }
//
// /*
// ============
// idSIMD_Generic::DeriveUnsmoothedTangents
//
// Derives the normal and orthogonal tangent vectors for the triangle vertices.
// For each vertex the normal and tangent vectors are derived from a single dominant triangle.
// ============
// */
// @Override
// public void DeriveUnsmoothedTangents(idDrawVert[] verts, dominantTri_s[] dominantTris, int numVerts) {
// for (int i = 0; i < numVerts; i++) {
// final idDrawVert a, b, c;
// final float d0, d1, d2, d3, d4;
// final float d5, d6, d7, d8, d9;
// final float s0, s1, s2;
// final float n0, n1, n2;
// final float t0, t1, t2;
// final float t3, t4, t5;
//
// final dominantTri_s dt = dominantTris[i];
//
// a = verts[i];
// b = verts[dt.v2];
// c = verts[dt.v3];
//
// d0 = b.xyz.oGet(0) - a.xyz.oGet(0);
// d1 = b.xyz.oGet(1) - a.xyz.oGet(1);
// d2 = b.xyz.oGet(2) - a.xyz.oGet(2);
// d3 = b.st.oGet(0) - a.st.oGet(0);
// d4 = b.st.oGet(1) - a.st.oGet(1);
//
// d5 = c.xyz.oGet(0) - a.xyz.oGet(0);
// d6 = c.xyz.oGet(1) - a.xyz.oGet(1);
// d7 = c.xyz.oGet(2) - a.xyz.oGet(2);
// d8 = c.st.oGet(0) - a.st.oGet(0);
// d9 = c.st.oGet(1) - a.st.oGet(1);
//
// s0 = dt.normalizationScale[0];
// s1 = dt.normalizationScale[1];
// s2 = dt.normalizationScale[2];
//
// n0 = s2 * (d6 * d2 - d7 * d1);
// n1 = s2 * (d7 * d0 - d5 * d2);
// n2 = s2 * (d5 * d1 - d6 * d0);
//
// t0 = s0 * (d0 * d9 - d4 * d5);
// t1 = s0 * (d1 * d9 - d4 * d6);
// t2 = s0 * (d2 * d9 - d4 * d7);
//
// if (DERIVE_UNSMOOTHED_BITANGENT) {
// t3 = s1 * (n2 * t1 - n1 * t2);
// t4 = s1 * (n0 * t2 - n2 * t0);
// t5 = s1 * (n1 * t0 - n0 * t1);
// } else {
// t3 = s1 * (d3 * d5 - d0 * d8);
// t4 = s1 * (d3 * d6 - d1 * d8);
// t5 = s1 * (d3 * d7 - d2 * d8);
// }
//
// a.normal.oSet(0, n0);
// a.normal.oSet(1, n1);
// a.normal.oSet(2, n2);
//
// a.tangents[0].oSet(0, t0);
// a.tangents[0].oSet(1, t1);
// a.tangents[0].oSet(2, t2);
//
// a.tangents[1].oSet(0, t3);
// a.tangents[1].oSet(1, t4);
// a.tangents[1].oSet(2, t5);
// }
// }
//
// /*
// ============
// idSIMD_Generic::NormalizeTangents
//
// Normalizes each vertex normal and projects and normalizes the
// tangent vectors onto the plane orthogonal to the vertex normal.
// ============
// */
// @Override
// public void NormalizeTangents(idDrawVert[] verts, int numVerts) {
//
// for (int i = 0; i < numVerts; i++) {
// idVec3 v = verts[i].normal;
// float f;
//
// f = idMath.RSqrt(v.x * v.x + v.y * v.y + v.z * v.z);
// v.x *= f;
// v.y *= f;
// v.z *= f;
//
// for (int j = 0; j < 2; j++) {
// idVec3 t = verts[i].tangents[j];
//
// t.oMinSet(v.oMultiply(t.oMultiply(v)));
// f = idMath.RSqrt(t.x * t.x + t.y * t.y + t.z * t.z);
// t.x *= f;
// t.y *= f;
// t.z *= f;
// }
// }
// }
//
// /*
// ============
// idSIMD_Generic::CreateTextureSpaceLightVectors
//
// Calculates light vectors in texture space for the given triangle vertices.
// For each vertex the direction towards the light origin is projected onto texture space.
// The light vectors are only calculated for the vertices referenced by the indexes.
// ============
// */
// @Override
// public void CreateTextureSpaceLightVectors(idVec3[] lightVectors, idVec3 lightOrigin, idDrawVert[] verts, int numVerts, int[] indexes, int numIndexes) {
//
// boolean[] used = new boolean[numVerts];
//// memset( used, 0, numVerts * sizeof( used[0] ) );
//
// for (int i = numIndexes - 1; i >= 0; i--) {
// used[indexes[i]] = true;
// }
//
// for (int i = 0; i < numVerts; i++) {
// if (!used[i]) {
// continue;
// }
//
// final idDrawVert v = verts[i];
//
// idVec3 lightDir = lightOrigin.oMinus(v.xyz);
//
// lightVectors[i].oSet(0, lightDir.oMultiply(v.tangents[0]));
// lightVectors[i].oSet(1, lightDir.oMultiply(v.tangents[1]));
// lightVectors[i].oSet(2, lightDir.oMultiply(v.normal));
// }
// }
//
// /*
// ============
// idSIMD_Generic::CreateSpecularTextureCoords
//
// Calculates specular texture coordinates for the given triangle vertices.
// For each vertex the normalized direction towards the light origin is added to the
// normalized direction towards the view origin and the result is projected onto texture space.
// The texture coordinates are only calculated for the vertices referenced by the indexes.
// ============
// */
// @Override
// public void CreateSpecularTextureCoords(idVec4[] texCoords, idVec3 lightOrigin, idVec3 viewOrigin, idDrawVert[] verts, int numVerts, int[] indexes, int numIndexes) {
//
// boolean[] used = new boolean[numVerts];
//// memset( used, 0, numVerts * sizeof( used[0] ) );
//
// for (int i = numIndexes - 1; i >= 0; i--) {
// used[indexes[i]] = true;
// }
//
// for (int i = 0; i < numVerts; i++) {
// if (!used[i]) {
// continue;
// }
//
// final idDrawVert v = verts[i];
//
// idVec3 lightDir = lightOrigin.oMinus(v.xyz);
// idVec3 viewDir = viewOrigin.oMinus(v.xyz);
//
// float ilength;
//
// ilength = idMath.RSqrt(lightDir.oMultiply(lightDir));
// lightDir.oMulSet(ilength);
//
// ilength = idMath.RSqrt(viewDir.oMultiply(viewDir));
// viewDir.oMulSet(ilength);
//
// lightDir.oPluSet(viewDir);
//
// texCoords[i].oSet(0, lightDir.oMultiply(v.tangents[0]));
// texCoords[i].oSet(1, lightDir.oMultiply(v.tangents[1]));
// texCoords[i].oSet(2, lightDir.oMultiply(v.normal));
// texCoords[i].oSet(3, 1.0f);
// }
// }
//
// @Override
// public int CreateShadowCache(idVec4[] vertexCache, int[] vertRemap, idVec3 lightOrigin, idDrawVert[] verts, int numVerts) {
// int outVerts = 0;
//
// for (int i = 0; i < numVerts; i++) {
// if (vertRemap[i] != 0) {
// continue;
// }
// final float[] v = verts[i].xyz.ToFloatPtr();
// vertexCache[outVerts + 0].oSet(0, v[0]);
// vertexCache[outVerts + 0].oSet(1, v[1]);
// vertexCache[outVerts + 0].oSet(2, v[2]);
// vertexCache[outVerts + 0].oSet(3, 1.0f);
//
// // R_SetupProjection() builds the projection matrix with a slight crunch
// // for depth, which keeps this w=0 division from rasterizing right at the
// // wrap around point and causing depth fighting with the rear caps
// vertexCache[outVerts + 1].oSet(0, v[0] - lightOrigin.oGet(0));
// vertexCache[outVerts + 1].oSet(1, v[1] - lightOrigin.oGet(1));
// vertexCache[outVerts + 1].oSet(2, v[2] - lightOrigin.oGet(2));
// vertexCache[outVerts + 1].oSet(3, 0.0f);
// vertRemap[i] = outVerts;
// outVerts += 2;
// }
// return outVerts;
// }
//
// @Override
// public int CreateVertexProgramShadowCache(idVec4[] vertexCache, idDrawVert[] verts, int numVerts) {
// for (int i = 0; i < numVerts; i++) {
// final float[] v = verts[i].xyz.ToFloatPtr();
// vertexCache[i * 2 + 0].oSet(0, v[0]);
// vertexCache[i * 2 + 1].oSet(0, v[0]);
// vertexCache[i * 2 + 0].oSet(1, v[1]);
// vertexCache[i * 2 + 1].oSet(1, v[1]);
// vertexCache[i * 2 + 0].oSet(2, v[2]);
// vertexCache[i * 2 + 1].oSet(2, v[2]);
// vertexCache[i * 2 + 0].oSet(3, 1.0f);
// vertexCache[i * 2 + 1].oSet(3, 0.0f);
// }
// return numVerts * 2;
// }
//
// /*
// ============
// idSIMD_Generic::UpSamplePCMTo44kHz
//
// Duplicate samples for 44kHz output.
// ============
// */
// @Override
// public void UpSamplePCMTo44kHz(float[] dest, short[] pcm, int numSamples, int kHz, int numChannels) {
// if (kHz == 11025) {
// if (numChannels == 1) {
// for (int i = 0; i < numSamples; i++) {
// dest[i * 4 + 0] = dest[i * 4 + 1] = dest[i * 4 + 2] = dest[i * 4 + 3] = (float) pcm[i + 0];
// }
// } else {
// for (int i = 0; i < numSamples; i += 2) {
// dest[i * 4 + 0] = dest[i * 4 + 2] = dest[i * 4 + 4] = dest[i * 4 + 6] = (float) pcm[i + 0];
// dest[i * 4 + 1] = dest[i * 4 + 3] = dest[i * 4 + 5] = dest[i * 4 + 7] = (float) pcm[i + 1];
// }
// }
// } else if (kHz == 22050) {
// if (numChannels == 1) {
// for (int i = 0; i < numSamples; i++) {
// dest[i * 2 + 0] = dest[i * 2 + 1] = (float) pcm[i + 0];
// }
// } else {
// for (int i = 0; i < numSamples; i += 2) {
// dest[i * 2 + 0] = dest[i * 2 + 2] = (float) pcm[i + 0];
// dest[i * 2 + 1] = dest[i * 2 + 3] = (float) pcm[i + 1];
// }
// }
// } else if (kHz == 44100) {
// for (int i = 0; i < numSamples; i++) {
// dest[i] = (float) pcm[i];
// }
// } else {
//// assert( 0 );
// assert (false);
// }
// }
//
// /*
// ============
// idSIMD_Generic::UpSampleOGGTo44kHz
//
// Duplicate samples for 44kHz output.
// ============
// */
// @Override
// public void UpSampleOGGTo44kHz(float[] dest, int offset, float[][] ogg, int numSamples, int kHz, int numChannels) {
// if (kHz == 11025) {
// if (numChannels == 1) {
// for (int i = 0; i < numSamples; i++) {
// dest[offset + (i * 4 + 0)] = dest[offset + (i * 4 + 1)] = dest[offset + (i * 4 + 2)] = dest[offset + (i * 4 + 3)] = ogg[0][i] * 32768.0f;
// }
// } else {
// for (int i = 0; i < numSamples >> 1; i++) {
// dest[offset + (i * 8 + 0)] = dest[offset + (i * 8 + 2)] = dest[offset + (i * 8 + 4)] = dest[offset + (i * 8 + 6)] = ogg[0][i] * 32768.0f;
// dest[offset + (i * 8 + 1)] = dest[offset + (i * 8 + 3)] = dest[offset + (i * 8 + 5)] = dest[offset + (i * 8 + 7)] = ogg[1][i] * 32768.0f;
// }
// }
// } else if (kHz == 22050) {
// if (numChannels == 1) {
// for (int i = 0; i < numSamples; i++) {
// dest[offset + (i * 2 + 0)] = dest[offset + (i * 2 + 1)] = ogg[0][i] * 32768.0f;
// }
// } else {
// for (int i = 0; i < numSamples >> 1; i++) {
// dest[offset + (i * 4 + 0)] = dest[offset + (i * 4 + 2)] = ogg[0][i] * 32768.0f;
// dest[offset + (i * 4 + 1)] = dest[offset + (i * 4 + 3)] = ogg[1][i] * 32768.0f;
// }
// }
// } else if (kHz == 44100) {
// if (numChannels == 1) {
// for (int i = 0; i < numSamples; i++) {
// dest[offset + (i * 1 + 0)] = ogg[0][i] * 32768.0f;
// }
// } else {
// for (int i = 0; i < numSamples >> 1; i++) {
// dest[offset + (i * 2 + 0)] = ogg[0][i] * 32768.0f;
// dest[offset + (i * 2 + 1)] = ogg[1][i] * 32768.0f;
// }
// }
// } else {
// assert (false);
// }
// }
//
// @Override
// public void UpSampleOGGTo44kHz(FloatBuffer dest, int offset, float[][] ogg, int numSamples, int kHz, int numChannels) {
// offset += dest.position();
// if (kHz == 11025) {
// if (numChannels == 1) {
// for (int i = 0; i < numSamples; i++) {
// dest.put(offset + (i * 4 + 0), ogg[0][i] * 32768.0f)
// .put(offset + (i * 4 + 1), ogg[0][i] * 32768.0f)
// .put(offset + (i * 4 + 2), ogg[0][i] * 32768.0f)
// .put(offset + (i * 4 + 3), ogg[0][i] * 32768.0f);
// }
// } else {
// for (int i = 0; i < numSamples >> 1; i++) {
// dest.put(offset + (i * 8 + 0), ogg[0][i] * 32768.0f)
// .put(offset + (i * 8 + 2), ogg[0][i] * 32768.0f)
// .put(offset + (i * 8 + 4), ogg[0][i] * 32768.0f)
// .put(offset + (i * 8 + 6), ogg[0][i] * 32768.0f);
// dest.put(offset + (i * 8 + 1), ogg[1][i] * 32768.0f)
// .put(offset + (i * 8 + 3), ogg[1][i] * 32768.0f)
// .put(offset + (i * 8 + 5), ogg[1][i] * 32768.0f)
// .put(offset + (i * 8 + 7), ogg[1][i] * 32768.0f);
// }
// }
// } else if (kHz == 22050) {
// if (numChannels == 1) {
// for (int i = 0; i < numSamples; i++) {
// dest.put(offset + (i * 2 + 0), ogg[0][i] * 32768.0f)
// .put(offset + (i * 2 + 1), ogg[0][i] * 32768.0f);
// }
// } else {
// for (int i = 0; i < numSamples >> 1; i++) {
// dest.put(offset + (i * 4 + 0), ogg[0][i] * 32768.0f)
// .put(offset + (i * 4 + 2), ogg[0][i] * 32768.0f);
// dest.put(offset + (i * 4 + 1), ogg[1][i] * 32768.0f)
// .put(offset + (i * 4 + 3), ogg[1][i] * 32768.0f);
// }
// }
// } else if (kHz == 44100) {
// if (numChannels == 1) {
// for (int i = 0; i < numSamples; i++) {
// dest.put(offset + (i * 1 + 0), ogg[0][i] * 32768.0f);
// }
// } else {
// for (int i = 0; i < numSamples >> 1; i++) {
// dest.put(offset + (i * 2 + 0), ogg[0][i] * 32768.0f)
// .put(offset + (i * 2 + 1), ogg[1][i] * 32768.0f);
// }
// }
// } else {
// assert (false);
// }
// }
//
// @Override
// public void MixSoundTwoSpeakerMono(float[] mixBuffer, float[] samples, int numSamples, float[] lastV, float[] currentV) {
// float sL = lastV[0];
// float sR = lastV[1];
// float incL = (currentV[0] - lastV[0]) / MIXBUFFER_SAMPLES;
// float incR = (currentV[1] - lastV[1]) / MIXBUFFER_SAMPLES;
//
// assert (numSamples == MIXBUFFER_SAMPLES);
//
// for (int j = 0; j < MIXBUFFER_SAMPLES; j++) {
// mixBuffer[j * 2 + 0] += samples[j] * sL;
// mixBuffer[j * 2 + 1] += samples[j] * sR;
// sL += incL;
// sR += incR;
// }
// }
//
// @Override
// public void MixSoundTwoSpeakerStereo(float[] mixBuffer, float[] samples, int numSamples, float[] lastV, float[] currentV) {
// float sL = lastV[0];
// float sR = lastV[1];
// float incL = (currentV[0] - lastV[0]) / MIXBUFFER_SAMPLES;
// float incR = (currentV[1] - lastV[1]) / MIXBUFFER_SAMPLES;
//
// assert (numSamples == MIXBUFFER_SAMPLES);
//
// for (int j = 0; j < MIXBUFFER_SAMPLES; j++) {
// mixBuffer[j * 2 + 0] += samples[j * 2 + 0] * sL;
// mixBuffer[j * 2 + 1] += samples[j * 2 + 1] * sR;
// sL += incL;
// sR += incR;
// }
// }
//
// @Override
// public void MixSoundSixSpeakerMono(float[] mixBuffer, float[] samples, int numSamples, float[] lastV, float[] currentV) {
// float sL0 = lastV[0];
// float sL1 = lastV[1];
// float sL2 = lastV[2];
// float sL3 = lastV[3];
// float sL4 = lastV[4];
// float sL5 = lastV[5];
//
// float incL0 = (currentV[0] - lastV[0]) / MIXBUFFER_SAMPLES;
// float incL1 = (currentV[1] - lastV[1]) / MIXBUFFER_SAMPLES;
// float incL2 = (currentV[2] - lastV[2]) / MIXBUFFER_SAMPLES;
// float incL3 = (currentV[3] - lastV[3]) / MIXBUFFER_SAMPLES;
// float incL4 = (currentV[4] - lastV[4]) / MIXBUFFER_SAMPLES;
// float incL5 = (currentV[5] - lastV[5]) / MIXBUFFER_SAMPLES;
//
// assert (numSamples == MIXBUFFER_SAMPLES);
//
// for (int i = 0; i < MIXBUFFER_SAMPLES; i++) {
// mixBuffer[i * 6 + 0] += samples[i] * sL0;
// mixBuffer[i * 6 + 1] += samples[i] * sL1;
// mixBuffer[i * 6 + 2] += samples[i] * sL2;
// mixBuffer[i * 6 + 3] += samples[i] * sL3;
// mixBuffer[i * 6 + 4] += samples[i] * sL4;
// mixBuffer[i * 6 + 5] += samples[i] * sL5;
// sL0 += incL0;
// sL1 += incL1;
// sL2 += incL2;
// sL3 += incL3;
// sL4 += incL4;
// sL5 += incL5;
// }
// }
//
// @Override
// public void MixSoundSixSpeakerStereo(float[] mixBuffer, float[] samples, int numSamples, float[] lastV, float[] currentV) {
// float sL0 = lastV[0];
// float sL1 = lastV[1];
// float sL2 = lastV[2];
// float sL3 = lastV[3];
// float sL4 = lastV[4];
// float sL5 = lastV[5];
//
// float incL0 = (currentV[0] - lastV[0]) / MIXBUFFER_SAMPLES;
// float incL1 = (currentV[1] - lastV[1]) / MIXBUFFER_SAMPLES;
// float incL2 = (currentV[2] - lastV[2]) / MIXBUFFER_SAMPLES;
// float incL3 = (currentV[3] - lastV[3]) / MIXBUFFER_SAMPLES;
// float incL4 = (currentV[4] - lastV[4]) / MIXBUFFER_SAMPLES;
// float incL5 = (currentV[5] - lastV[5]) / MIXBUFFER_SAMPLES;
//
// assert (numSamples == MIXBUFFER_SAMPLES);
//
// for (int i = 0; i < MIXBUFFER_SAMPLES; i++) {
// mixBuffer[i * 6 + 0] += samples[i * 2 + 0] * sL0;
// mixBuffer[i * 6 + 1] += samples[i * 2 + 1] * sL1;
// mixBuffer[i * 6 + 2] += samples[i * 2 + 0] * sL2;
// mixBuffer[i * 6 + 3] += samples[i * 2 + 0] * sL3;
// mixBuffer[i * 6 + 4] += samples[i * 2 + 0] * sL4;
// mixBuffer[i * 6 + 5] += samples[i * 2 + 1] * sL5;
// sL0 += incL0;
// sL1 += incL1;
// sL2 += incL2;
// sL3 += incL3;
// sL4 += incL4;
// sL5 += incL5;
// }
// }
//
// @Override
// public void MixedSoundToSamples(short[] samples, int offset, float[] mixBuffer, int numSamples) {
//
// for (int i = 0; i < numSamples; i++) {
// if (mixBuffer[i] <= -32768.0f) {
// samples[offset + i] = -32768;
// } else if (mixBuffer[i] >= 32767.0f) {
// samples[offset + i] = 32767;
// } else {
// samples[offset + i] = (short) mixBuffer[i];
// }
// }
// }
};
}
| 144,607 | Java | .java | blackbeard334/jops | 9 | 3 | 1 | 2019-07-26T21:50:26Z | 2020-02-24T16:30:49Z | 0b14cdea77a43f4ebc66bc557de23bb72ce8bb78684ce78896108165ecd704cc | [] | [
1337,
1188,
116,
51,
333,
1379,
51,
3851,
64,
222,
222,
485,
1188,
116,
51,
333,
1379,
51,
3851,
51,
4181,
51,
333,
3002,
93,
64,
222,
485,
1188,
116,
51,
333,
1379,
51,
3851,
51,
6018,
105,
51,
333,
31478,
6872,
64,
222,
485,
1188,
116,
51,
333,
1379,
51,
3851,
51,
2880,
51,
333,
5985,
93,
64,
222,
222,
485,
1401,
51,
1058,
51,
9981,
64,
222,
222,
1350,
222,
338,
222,
588,
222,
942,
462,
9329,
105,
100,
4020,
320,
222,
325,
281,
6419,
21137,
54,
45,
94,
46,
320,
648,
634,
6588,
64,
456,
4648,
6588,
66,
53,
35840,
6588,
65,
1016,
35840,
6588,
2002,
320,
94,
100,
6588,
7160,
339,
222,
16802,
1252,
6419,
21137,
55,
45,
94,
46,
320,
648,
634,
6588,
49,
634,
22339,
299,
2409,
43,
53,
26141,
64,
456,
4648,
6588,
66,
53,
35840,
6588,
17770,
22339,
35840,
6588,
9487,
55,
1528,
94,
2191,
6588,
48,
53,
312,
94,
2191,
6588,
48,
54,
21581,
434,
4648,
6588,
350,
2409,
46,
320,
94,
100,
6588,
64,
1562,
222,
222,
325,
283,
924,
782,
6419,
21137,
57,
45,
1832,
1197,
7125,
49,
1916,
8100,
49,
1916,
1197,
1581,
49,
648,
2409,
46,
320,
222,
325,
370,
648,
634,
6588,
49,
634,
22339,
299,
2409,
568,
244,
53,
8900,
3526,
64,
222,
325,
370,
456,
4648,
6588,
299,
244,
53,
64,
634,
6588,
350,
634,
22339,
64,
634,
6588,
1475,
244,
57,
46,
320,
222,
325,
1485,
7125,
11367,
6588,
494,
244,
53,
98,
299,
1581,
11367,
6588,
494,
244,
53,
98,
494,
8100,
64,
222,
325,
1485,
7125,
11367,
6588,
494,
244,
54,
98,
299,
1581,
11367,
6588,
494,
244,
54,
98,
494,
8100,
64,
222,
325,
1485,
7125,
11367,
6588,
494,
244,
55,
98,
299,
1581,
11367,
6588,
494,
244,
55,
98,
494,
8100,
64,
222,
325,
1485,
7125,
11367,
6588,
494,
244,
56,
98,
299,
1581,
11367,
6588,
494,
244,
56,
98,
494,
8100,
64,
222,
325,
370,
339,
222,
325,
370,
456,
23011,
634,
6588,
350,
2409,
64,
634,
6588,
2002,
320,
222,
325,
1485,
7125,
11367,
6588,
98,
299,
1581,
11367,
6588,
98,
494,
8100,
64,
222,
325,
370,
339,
222,
325,
283,
339,
222,
16802,
1252,
6419,
21137,
61,
45,
94,
46,
320,
648,
634,
6588,
49,
634,
22339,
299,
2409,
43,
53,
4226,
5681,
61,
64,
456,
4648,
6588,
66,
53,
35840,
6588,
17770,
22339,
35840,
6588,
9487,
61,
1528,
94,
2191,
6588,
48,
53,
312,
94,
2191,
6588,
48,
54,
312,
94,
2191,
6588,
48,
55,
312,
94,
2191,
6588,
48,
56,
312,
94,
2191,
6588,
48,
57,
312,
94,
2191,
6588,
48,
58,
312,
94,
2191,
6588,
48,
59,
312,
94,
2191,
6588,
48,
60,
21581,
634,
22339,
299,
2409,
43,
53,
26141,
64,
456,
45,
35840,
6588,
17770,
22339,
35840,
6588,
9487,
55,
1528,
94,
100,
6588,
64,
1432,
2191,
6588,
48,
54,
21581,
434,
4648,
6588,
350,
2409,
46,
320,
94,
100,
6588,
7160,
339,
303,
924,
1175,
648,
507,
6588,
8455,
100,
43939,
299,
244,
57,
53,
62,
59,
64,
303,
924,
1175,
1922,
493,
546,
5765,
100,
1430,
88,
2414,
32691,
1363,
100,
5676,
5300,
1456,
299,
878,
64,
303,
1276,
294,
12058,
18480,
8060,
12679,
4753,
451,
828,
31478,
6872,
8060,
12058,
18480,
294,
588,
465,
924,
462,
828,
31478,
100,
4020,
2041,
828,
31478,
6872,
320,
222,
222,
325,
370,
496,
1806,
222,
325,
370,
581,
910,
47840,
365,
320,
222,
325,
1485,
461,
332,
9957,
1361,
884,
222,
325,
370,
339,
222,
325,
222,
325,
370,
1276,
222,
325,
282,
48172,
222,
325,
282,
828,
31478,
100,
4020,
422,
1121,
222,
325,
222,
325,
282,
7125,
96,
110,
98,
299,
8100,
494,
1581,
96,
110,
988,
222,
325,
282,
48172,
222,
325,
282,
588,
222,
325,
370,
496,
1806,
222,
325,
370,
581,
782,
2242,
45,
1832,
1197,
7125,
49,
1916,
8100,
49,
1916,
1197,
1581,
49,
648,
2409,
46,
320,
222,
775,
40,
1252,
41711,
45,
93,
46,
7125,
9448,
93,
2201,
299,
1581,
9448,
93,
2201,
494,
8100,
64,
222,
775,
221,
1430,
21137,
57,
45,
13349,
46,
222,
775,
40,
12001,
41711,
222,
325,
1485,
648,
634,
6588,
49,
634,
22339,
299,
2409,
568,
244,
53,
8900,
3526,
64,
222,
325,
1485,
456,
4648,
6588,
299,
244,
53,
64,
634,
6588,
350,
634,
22339,
64,
634,
6588,
1475,
244,
57,
46,
320,
222,
325,
2087,
7125,
11367,
6588,
494,
244,
53,
98,
299,
1581,
11367,
6588,
494,
244,
53,
98,
494,
8100,
64,
222,
325,
2087,
7125,
11367,
6588,
494,
244,
54,
98,
299,
1581,
11367,
6588,
494,
244,
54,
98,
494,
8100,
64,
222,
325,
2087,
7125,
11367,
6588,
494,
244,
55,
98,
299,
1581,
11367,
6588,
494,
244,
55,
98,
494,
8100,
64,
222,
325,
2087,
7125,
11367,
6588,
494,
244,
56,
98,
299,
1581,
11367,
6588,
494,
244,
56,
98,
494,
8100,
64,
222,
325,
1485,
339,
222,
325,
1485,
456,
23011,
634,
6588,
350,
2409,
64,
634,
6588,
2002,
320,
222,
325,
2087,
7125,
11367,
6588,
98,
299,
1581,
11367,
6588,
98,
494,
8100,
64,
222,
325,
1485,
339,
222,
325,
370,
339,
222,
325,
222,
325,
370,
1276,
222,
325,
282,
48172,
222,
325,
282,
828,
31478,
100,
4020,
422,
1121,
222,
325,
222,
325,
282,
7125,
96,
110,
98,
299,
1581,
53,
96,
110,
98,
494,
1581,
54,
96,
110,
988,
222,
325,
282,
48172,
222,
325,
282,
588,
222,
325,
370,
496,
1806,
222,
325,
370,
581,
782,
2242,
45,
1832,
1197,
7125,
49,
1916,
1197,
1581,
53,
49,
1916,
1197,
1581,
54,
49,
648,
2409,
46,
320,
222,
325,
1485,
648,
634,
6588,
49,
634,
22339,
299,
2409,
568,
244,
53,
8900,
3526,
64,
222,
325,
1485,
456,
4648,
6588,
299,
244,
53,
64,
634,
6588,
350,
634,
22339,
64,
634,
6588,
1475,
244,
57,
46,
320,
222,
325,
2087,
7125,
11367,
6588,
494,
244,
53,
98,
299,
1581,
53,
11367,
6588,
494,
244,
53,
98,
494,
1581,
54,
11367,
6588,
494,
244,
53,
988,
222,
325,
2087,
7125,
11367,
6588,
494,
244,
54,
98,
299,
1581,
53,
11367,
6588,
494,
244,
54,
98,
494,
1581,
54,
11367,
6588,
494,
244,
54,
988,
222,
325,
2087,
7125,
11367,
6588,
494,
244,
55,
98,
299,
1581,
53,
11367,
6588,
494,
244,
55,
98,
494,
1581,
54,
11367,
6588,
494,
244,
55,
988,
222,
325,
2087,
7125,
11367,
6588,
494,
244,
56,
98,
299,
1581,
53,
11367,
6588,
494,
244,
56,
98,
494,
1581,
54,
11367,
6588,
494,
244,
56,
988,
222,
325,
1485,
339,
222,
325,
1485,
456,
23011,
634,
6588,
350,
2409,
64,
634,
6588,
2002,
320,
222,
325,
2087,
7125,
11367,
6588,
98,
299,
1581,
53,
11367,
6588,
98,
494,
1581,
54,
11367,
6588,
988,
222,
325,
1485,
339,
222,
325,
370,
339,
222,
325,
222,
325,
370,
1276,
222,
325,
282,
48172,
222,
325,
282,
828,
31478,
100,
4020,
422,
1736,
222,
325,
222,
325,
282,
7125,
96,
110,
98,
299,
8100,
449,
1581,
96,
110,
988,
222,
325,
282,
48172,
222,
325,
282,
588,
222,
325,
370,
496,
1806,
222,
325,
370,
581,
782,
3743,
45,
1832,
1197,
7125,
49,
1916,
8100,
49,
1916,
1197,
1581,
49,
648,
2409,
46,
320,
222,
325,
1485,
1175,
2082,
300,
299,
8100,
64,
222,
325,
1485,
648,
634,
6588,
49,
634,
22339,
299,
2409,
568,
244,
53,
8900,
3526,
64,
222,
325,
1485,
456,
4648,
6588,
299,
244,
53,
64,
634,
6588,
350,
634,
22339,
64,
634,
6588,
1475,
244,
57,
46,
320,
222,
325,
2087,
7125,
11367,
6588,
494,
244,
53,
98,
299,
327,
1832,
46,
327,
104,
449,
1581,
11367,
6588,
494,
244,
53,
2004,
222,
325,
2087,
7125,
11367,
6588,
494,
244,
54,
98,
299,
327,
1832,
46,
327,
104,
449,
1581,
11367,
6588,
494,
244,
54,
2004,
222,
325,
2087,
7125,
11367,
6588,
494,
244,
55,
98,
299,
327,
1832,
46,
327,
104,
449,
1581,
11367,
6588,
494,
244,
55,
2004,
222,
325,
2087,
7125,
11367,
6588,
494,
244,
56,
98,
299,
327,
1832,
46,
327,
104,
449,
1581,
11367,
6588,
494,
244,
56,
2004,
222,
325,
1485,
339,
222,
325,
1485,
456,
23011,
634,
6588,
350,
2409,
64,
634,
6588,
2002,
320,
222,
325,
2087,
7125,
11367,
6588,
98,
299,
327,
1832,
46,
327,
104,
449,
1581,
11367,
6588,
2004,
222,
325,
1485,
339,
222,
325,
370,
339,
222,
325,
222,
325,
370,
1276,
222,
325,
282,
48172,
222,
325,
282,
828,
31478,
100,
4020,
422,
1736,
222,
325,
222,
325,
282,
7125,
96,
110,
98,
299,
1581,
53,
96,
110,
98,
449,
1581,
54,
96,
110,
988,
222,
325,
282,
48172,
222,
325,
282,
588,
222,
325,
370,
496,
1806,
222,
325,
370,
581,
782,
3743,
45,
1832,
1197,
7125,
49,
1916,
1197,
1581,
53,
49,
1916,
1197,
1581,
54,
49,
648,
2409,
46,
320,
222,
325,
1485,
648,
634,
6588,
49,
634,
22339,
299,
2409,
568,
244,
53,
8900,
3526,
64,
222,
325,
1485,
456,
4648,
6588,
299,
244,
53,
64,
634,
6588,
350,
634,
22339,
64,
634,
6588,
1475,
244,
57,
46,
320,
222,
325,
2087,
7125,
11367,
6588,
494,
244,
53,
98,
299,
1581,
53,
11367,
6588,
494,
244,
53,
98,
449,
1581,
54,
11367,
6588,
494,
244,
53,
988,
222,
325,
2087,
7125,
11367,
6588,
494,
244,
54,
98,
299,
1581,
53,
11367,
6588,
494,
244,
54,
98,
449,
1581,
54,
11367,
6588,
494,
244,
54,
988,
222,
325,
2087,
7125,
11367,
6588,
494,
244,
55,
98,
299,
1581,
53,
11367,
6588,
494,
244,
55,
98,
449,
1581,
54,
11367,
6588,
494,
244,
55,
988,
222,
325,
2087,
7125,
11367,
6588,
494,
244,
56,
98,
299,
1581,
53,
11367,
6588,
494,
244,
56,
98,
449,
1581,
54,
11367,
6588,
494,
244,
56,
988,
222,
325,
1485,
339,
222,
325,
1485,
456,
23011,
634,
6588,
350,
2409,
64,
634,
6588,
2002,
320,
222,
325,
2087,
7125,
11367,
6588,
98,
299,
1581,
53,
11367,
6588,
98,
449,
1581,
54,
11367,
6588,
988,
222,
325,
1485,
339,
222,
325,
370,
339,
222,
325,
222,
325,
370,
1276,
222,
325,
282,
48172,
222,
325,
282,
828,
31478,
100,
4020,
422,
18527,
222,
325,
222,
325,
282,
7125,
96,
110,
98,
299,
8100,
338,
1581,
96,
110,
988,
222,
325,
282,
48172,
222,
325,
282,
588,
222,
325,
370,
496,
1806,
222,
325,
370,
581,
782,
34155,
45,
1832,
1197,
7125,
49,
1916,
8100,
49,
1916,
1197,
1581,
49,
648,
2409,
46,
320,
222,
325,
1485,
1175,
2082,
300,
299,
8100,
64,
222,
325,
1485,
648,
634,
6588,
49,
634,
22339,
299,
2409,
568,
244,
53,
8900,
3526,
64,
222,
325,
1485,
456,
4648,
6588,
299,
244,
53,
64,
634,
6588,
350,
634,
22339,
64,
634,
6588,
1475,
244,
57,
46,
320,
222,
325,
2087,
7125,
11367,
6588,
494,
244,
53,
98,
299,
327,
1832,
46,
327,
104,
338,
1581,
11367,
6588,
494,
244,
53,
2004,
222,
325,
2087,
7125,
11367,
6588,
494,
244,
54,
98,
299,
327,
1832,
46,
327,
104,
338,
1581,
11367,
6588,
494,
244,
54,
2004,
222,
325,
2087,
7125,
11367,
6588,
494,
244,
55,
98,
299,
327,
1832,
46,
327,
104,
338,
1581,
11367,
6588,
494,
244,
55,
2004,
222,
325,
2087,
7125,
11367,
6588,
494,
244,
56,
98,
299,
327,
1832,
46,
327,
104,
338,
1581,
11367,
6588,
494,
244,
56,
2004,
222,
325,
1485,
339,
222,
325,
1485,
456,
23011,
634,
6588,
350,
2409,
64,
634,
6588,
2002,
320,
222,
325,
2087,
7125,
11367,
6588,
98,
299,
327,
1832,
46,
327,
104,
338,
1581,
11367,
6588,
2004,
222,
325,
1485,
339,
222,
325,
370,
339,
222,
325,
222,
325,
370,
1276,
222,
325,
282,
48172,
222,
325,
282,
828,
31478,
100,
4020,
422,
18527,
222,
325,
222,
325,
282,
7125,
96,
110,
98,
299,
1581,
53,
96,
110,
98,
338,
1581,
54,
96,
110,
988,
222,
325,
282,
48172,
222,
325,
282,
588,
222,
325,
370,
496,
1806,
222,
325,
370,
581,
782,
34155,
45,
1832,
1197,
7125,
49,
1916,
1197,
1581,
53,
49,
1916,
1197,
1581,
54,
49,
648,
2409,
46,
320,
222,
325,
1485,
648,
634,
6588,
49,
634,
22339,
299,
2409,
568,
244,
53,
8900,
3526,
64,
222,
325,
1485,
456,
4648,
6588,
299,
244,
53,
64,
634,
6588,
350,
634,
22339,
64,
634,
6588,
1475,
244,
57,
46,
320,
222,
325,
2087,
7125,
11367,
6588,
494,
244,
53,
98,
299,
1581,
53,
11367,
6588,
494,
244,
53,
98,
338,
1581,
54,
11367,
6588,
494,
244,
53,
988,
222,
325,
2087,
7125,
11367,
6588,
494,
244,
54,
98,
299,
1581,
53,
11367,
6588,
494,
244,
54,
98,
338,
1581,
54,
11367,
6588,
494,
244,
54,
988,
222,
325,
2087,
7125,
11367,
6588,
494,
244,
55,
98,
299,
1581,
53,
11367,
6588,
494,
244,
55,
98,
338,
1581,
54,
11367,
6588,
494,
244,
55,
988,
222,
325,
2087,
7125,
11367,
6588,
494,
244,
56,
98,
299,
1581,
53,
11367,
6588,
494,
244,
56,
98,
338,
1581,
54,
11367,
6588,
494,
244,
56,
988,
222,
325,
1485,
339,
222,
325,
1485,
456,
23011,
634,
6588,
350,
2409,
64,
634,
6588,
2002,
320,
222,
325,
2087,
7125,
11367,
6588,
98,
299,
1581,
53,
11367,
6588,
98,
338,
1581,
54,
11367,
6588,
988,
222,
325,
1485,
339,
222,
325,
370,
339,
222,
325,
222,
325,
370,
1276,
222,
325,
282,
48172,
222,
325,
282,
828,
31478,
100,
4020,
422,
6792,
222,
325,
222,
325,
282,
7125,
96,
110,
98,
299,
8100,
536,
33443,
96,
110,
988,
222,
325,
282,
48172,
222,
325,
282,
588,
222,
325,
370,
496,
1806,
222,
325,
370,
581,
782,
17555,
45,
1832,
1197,
7125,
49,
1916,
8100,
49,
1916,
1197,
1581,
49,
648,
2409,
46,
320,
222,
325,
1485,
1175,
2082,
300,
299,
8100,
64,
222,
325,
1485,
648,
634,
6588,
49,
634,
22339,
299,
2409,
568,
244,
53,
8900,
3526,
64,
222,
325,
1485,
456,
4648,
6588,
299,
244,
53,
64,
634,
6588,
350,
634,
22339,
64,
634,
6588,
1475,
244,
57,
46,
320,
222,
325,
2087,
7125,
11367,
6588,
494,
244,
53,
98,
299,
327,
1832,
46,
327,
104,
536,
1581,
11367,
6588,
494,
244,
53,
2004,
222,
325,
2087,
7125,
11367,
6588,
494,
244,
54,
98,
299,
327,
1832,
46,
327,
104,
536,
1581,
11367,
6588,
494,
244,
54,
2004,
222,
325,
2087,
7125,
11367,
6588,
494,
244,
55,
98,
299,
327,
1832,
46,
327,
104,
536,
1581,
11367,
6588,
494,
244,
55,
2004,
222,
325,
2087,
7125,
11367,
6588,
494,
244,
56,
98,
299,
327,
1832,
46,
327,
104,
536,
1581,
11367,
6588,
494,
244,
56,
2004,
222,
325,
1485,
339,
222,
325,
1485,
456,
23011,
634,
6588,
350,
2409,
64,
634,
6588,
2002,
320,
222,
325,
2087,
7125,
11367,
6588,
98,
299,
327,
1832,
46,
327,
104,
536,
1581,
11367,
6588,
2004,
222,
325,
1485,
339,
222,
325,
370,
339,
222,
325,
222,
325,
370,
1276,
222,
325,
282,
48172,
222,
325,
282,
828,
31478,
100,
4020,
422,
6792,
222,
325,
222,
325,
282,
7125,
96,
110,
98,
299,
1581,
53,
96,
110,
98,
536,
1581,
54,
96,
110,
988,
222,
325,
282,
48172,
222,
325,
282,
588,
222,
325,
370,
496,
1806,
222,
325,
370,
581,
782,
17555,
45,
1832,
1197,
7125,
49,
1916,
1197,
1581,
53,
49,
1916,
1197,
1581,
54,
49,
648,
2409,
46,
320,
222,
325,
1485,
648,
634,
6588,
49,
634,
22339,
299,
2409,
568,
244,
53,
8900,
3526,
64,
222,
325,
1485,
456,
4648,
6588,
299,
244,
53,
64,
634,
6588,
350,
634,
22339,
64,
634,
6588,
1475,
244,
57,
46,
320,
222,
325,
2087,
7125,
11367,
6588,
494,
244,
53,
98,
299,
1581,
53,
11367,
6588,
494,
244,
53,
98,
536,
1581,
54,
11367,
6588,
494,
244,
53,
988,
222,
325,
2087,
7125,
11367,
6588,
494,
244,
54,
98,
299,
1581,
53,
11367,
6588,
494,
244,
54,
98,
536,
1581,
54,
11367,
6588,
494,
244,
54,
988,
222,
325,
2087,
7125,
11367,
6588,
494,
244,
55,
98,
299,
1581,
53,
11367,
6588,
494,
244,
55,
98,
536,
1581,
54,
11367,
6588,
494,
244,
55,
988,
222,
325,
2087,
7125,
11367,
6588,
494,
244,
56,
98,
299,
1581,
53,
11367,
6588,
494,
244,
56,
98,
536,
1581,
54,
11367,
6588,
494,
244,
56,
988,
222,
325,
1485,
339,
222,
325,
1485,
456,
23011,
634,
6588,
350,
2409,
64,
634,
6588,
2002,
320,
222,
325,
2087,
7125,
11367,
6588,
98,
299,
1581,
53,
11367,
6588,
98,
536,
1581,
54,
11367,
6588,
988,
222,
325,
1485,
339,
222,
325,
370,
339,
222,
325,
222,
325,
370,
1276,
222,
325,
282,
48172,
222,
325,
282,
828,
31478,
100,
4020,
422,
18527,
1121,
222,
325,
222,
325,
282,
7125,
96,
110,
98,
1475,
8100,
338,
1581,
96,
110,
988,
222,
325,
282,
48172,
222,
325,
282,
588,
222,
325,
370,
496,
1806,
222,
325,
370,
581,
782,
34155,
1121,
45,
1832,
1197,
7125,
49,
1916,
8100,
49,
1916,
1197,
1581,
49,
648,
2409,
46,
320,
222,
325,
1485,
1175,
2082,
300,
299,
8100,
64,
222,
325,
1485,
648,
634,
6588,
49,
634,
22339,
299,
2409,
568,
244,
53,
8900,
3526,
64,
222,
325,
1485,
456,
4648,
6588,
299,
244,
53,
64,
634,
6588,
350,
634,
22339,
64,
634,
6588,
1475,
244,
57,
46,
320,
222,
325,
2087,
7125,
11367,
6588,
494,
244,
53,
98,
1475,
300,
338,
1581,
11367,
6588,
494,
244,
53,
988,
222,
325,
2087,
7125,
11367,
6588,
494,
244,
54,
98,
1475,
300,
338,
1581,
11367,
6588,
494,
244,
54,
988,
222,
325,
2087,
7125,
11367,
6588,
494,
244,
55,
98,
1475,
300,
338,
1581,
11367,
6588,
494,
244,
55,
988,
222,
325,
2087,
7125,
11367,
6588,
494,
244,
56,
98,
1475,
300,
338,
1581,
11367,
6588,
494,
244,
56,
988,
222,
325,
1485,
339,
222,
325,
1485,
456,
23011,
634,
6588,
350,
2409,
64,
634,
6588,
2002,
320,
222,
325,
2087,
7125,
11367,
6588,
98,
1475,
300,
338,
1581,
11367,
6588,
988,
222,
325,
1485,
339,
222,
325,
370,
339,
222,
325,
222,
325,
370,
1276,
222,
325,
282,
48172,
222,
325,
282,
828,
31478,
100,
4020,
422,
18527,
1121,
222,
325,
222,
325,
282,
7125,
96,
110,
98,
1475,
1581,
53,
96,
110,
98,
338,
1581,
54,
96,
110,
988,
222,
325,
282,
48172,
222,
325,
282,
588,
222,
325,
370,
496,
1806,
222,
325,
370,
581,
782,
34155,
1121,
45,
1832,
1197,
7125,
49,
1916,
1197,
1581,
53,
49,
1916,
1197,
1581,
54,
49,
648,
2409,
46,
320,
222,
325,
1485,
648,
634,
6588,
49,
634,
22339,
299,
2409,
568,
244,
53,
8900,
3526,
64,
222,
325,
1485,
456,
4648,
6588,
299,
244,
53,
64,
634,
6588,
350,
634,
22339,
64,
634,
6588,
1475,
244,
57,
46,
320,
222,
325,
2087,
7125,
11367,
6588,
494,
244,
53,
98,
1475,
1581,
53,
11367,
6588,
494,
244,
53,
98,
338,
1581,
54,
11367,
6588,
494,
244,
53,
988,
222,
325,
2087,
7125,
11367,
6588,
494,
244,
54,
98,
1475,
1581,
53,
11367,
6588,
494,
244,
54,
98,
338,
1581,
54,
11367,
6588,
494,
244,
54,
988,
222,
325,
2087,
7125,
11367,
6588,
494,
244,
55,
98,
1475,
1581,
53,
11367,
6588,
494,
244,
55,
98,
338,
1581,
54,
11367,
6588,
494,
244,
55,
988,
222,
325,
2087,
7125,
11367,
6588,
494,
244,
56,
98,
1475,
1581,
53,
11367,
6588,
494,
244,
56,
98,
338,
1581,
54,
11367,
6588,
494,
244,
56,
988,
222,
325,
1485,
339,
222,
325,
1485,
456,
23011,
634,
6588,
350,
2409,
64,
634,
6588,
2002,
320,
222,
325,
2087,
7125,
11367,
6588,
98,
1475,
1581,
53,
11367,
6588,
98,
338,
1581,
54,
11367,
6588,
988,
222,
325,
1485,
339,
222,
325,
370,
339,
222,
325,
222,
325,
370,
1276,
222,
325,
282,
48172,
222,
325,
282,
828,
31478,
100,
4020,
422,
18527,
1736,
222,
325,
222,
325,
282,
7125,
96,
110,
98,
5928,
8100,
338,
1581,
96,
110,
988,
222,
325,
282,
48172,
222,
325,
282,
588,
222,
325,
370,
496,
1806,
222,
325,
370,
581,
782,
34155,
1736,
45,
1832,
1197,
7125,
49,
1916,
8100,
49,
1916,
1197,
1581,
49,
648,
2409,
46,
320,
222,
325,
1485,
1175,
2082,
300,
299,
8100,
64,
222,
325,
1485,
648,
634,
6588,
49,
634,
22339,
299,
2409,
568,
244,
53,
8900,
3526,
64,
222,
325,
1485,
456,
4648,
6588,
299,
244,
53,
64,
634,
6588,
350,
634,
22339,
64,
634,
6588,
1475,
244,
57,
46,
320,
222,
325,
2087,
7125,
11367,
6588,
494,
244,
53,
98,
5928,
300,
338,
1581,
11367,
6588,
494,
244,
53,
988,
222,
325,
2087,
7125,
11367,
6588,
494,
244,
54,
98,
5928,
300,
338,
1581,
11367,
6588,
494,
244,
54,
988,
222,
325,
2087,
7125,
11367,
6588,
494,
244,
55,
98,
5928,
300,
338,
1581,
11367,
6588,
494,
244,
55,
988,
222,
325,
2087,
7125,
11367,
6588,
494,
244,
56,
98,
5928,
300,
338,
1581,
11367,
6588,
494,
244,
56,
988,
222,
325,
1485,
339,
222,
325,
1485,
456,
23011,
634,
6588,
350,
2409,
64,
634,
6588,
2002,
320,
222,
325,
2087,
7125,
11367,
6588,
98,
5928,
300,
338,
1581,
11367,
6588,
988,
222,
325,
1485,
339,
222,
325,
370,
339,
222,
325,
222,
325,
370,
1276,
222,
325,
282,
48172,
222,
325,
282,
828,
31478,
100,
4020,
422,
18527,
1736,
222,
325,
222,
325,
282,
7125,
96,
110,
98,
5928,
1581,
53,
96,
110,
98,
338,
1581,
54,
96,
110,
988,
222,
325,
282,
48172,
222,
325,
282,
588,
222,
325,
370,
496,
1806,
222,
325,
370,
581,
782,
34155,
1736,
45,
1832,
1197,
7125,
49,
1916,
1197,
1581,
53,
49,
1916,
1197,
1581,
54,
49,
648,
2409,
46,
320,
222,
325,
1485,
648,
634,
6588,
49,
634,
22339,
299,
2409,
568,
244,
53,
8900,
3526,
64,
222,
325,
1485,
456,
4648,
6588,
299,
244,
53,
64,
634,
6588,
350,
634,
22339,
64,
634,
6588,
1475,
244,
57,
46,
320,
222,
325,
2087,
7125,
11367,
6588,
494,
244,
53,
98,
5928,
1581,
53,
11367,
6588,
494,
244,
53,
98,
338,
1581,
54,
11367,
6588,
494,
244,
53,
988,
222,
325,
2087,
7125,
11367,
6588,
494,
244,
54,
98,
5928,
1581,
53,
11367,
6588,
494,
244,
54,
98,
338,
1581,
54,
11367,
6588,
494,
244,
54,
988,
222,
325,
2087,
7125,
11367,
6588,
494,
244,
55,
98,
5928,
1581,
53,
11367,
6588,
494,
244,
55,
98,
338,
1581,
54,
11367,
6588,
494,
244,
55,
988,
222,
325,
2087,
7125,
11367,
6588,
494,
244,
56,
98,
5928,
1581,
53,
11367,
6588,
494,
244,
56,
98,
338,
1581,
54,
11367,
6588,
494,
244,
56,
988,
222,
325,
1485,
339,
222,
325,
1485,
456,
23011,
634,
6588,
350,
2409,
64,
634,
6588,
2002,
320,
222,
325,
2087,
7125,
11367,
6588,
98,
5928,
1581,
53,
11367,
6588,
98,
338,
1581,
54,
11367,
6588,
988,
222,
325,
1485,
339,
222,
325,
370,
339,
222,
325,
222,
325,
370,
1276,
222,
325,
282,
48172,
222,
325,
282,
828,
31478,
100,
4020,
422,
10026,
222,
325,
222,
325,
282,
7125,
96,
110,
98,
299,
8100,
338,
1581,
96,
110,
988,
222,
325,
282,
48172,
222,
325,
282,
588,
222,
325,
370,
496,
1806,
222,
325,
370,
581,
782,
22652,
45,
1832,
1197,
7125,
49,
828,
5985,
56,
8100,
49,
828,
5985,
56,
1197,
1581,
49,
648,
2409,
46,
320,
222,
325,
1485,
648,
634,
6588,
64,
222,
325,
1485,
456,
4648,
6588,
299,
244,
53,
64,
634,
6588,
350,
2409,
64,
634,
6588,
2002,
320,
222,
325,
2087,
7125,
11367,
6588,
98,
299,
1581,
11367,
6588,
1015,
116,
27722,
45,
8696,
312,
222,
325,
1485,
339,
222,
325,
370,
339,
222,
325,
222,
325,
370,
1276,
222,
325,
282,
48172,
222,
325,
282,
828,
31478,
100,
4020,
422,
10026,
222,
325,
222,
325,
282,
7125,
96,
110,
98,
299,
8100,
338,
1581,
96,
110,
1015,
5981,
365,
494,
1581,
96,
110,
1697,
56,
988,
222,
325,
282,
48172,
222,
325,
282,
588,
222,
325,
370,
496,
1806,
222,
325,
370,
581,
782,
22652,
45,
1832,
1197,
7125,
49,
828,
5985,
56,
8100,
49,
828,
13753,
1197,
1581,
49,
648,
2409,
46,
320,
222,
325,
1485,
648,
634,
6588,
64,
222,
325,
1485,
456,
4648,
6588,
299,
244,
53,
64,
634,
6588,
350,
2409,
64,
634,
6588,
2002,
320,
222,
325,
2087,
7125,
11367,
6588,
98,
299,
8100,
51,
116,
27722,
45,
1634,
11367,
6588,
1015,
5981,
1177,
494,
1581,
11367,
6588,
1015,
116,
953,
45,
56,
19219,
15565,
457,
3480,
666,
23063,
4156,
2308,
6709,
2285,
1178,
9457,
337,
477,
4845,
49,
1294,
2279,
38,
69,
35122,
42,
41,
69,
40,
99,
5242,
41,
99,
16748,
40,
16748,
5242,
41,
8627,
43,
222,
325,
1485,
339,
222,
325,
370,
339,
222,
325,
222,
325,
370,
1276,
222,
325,
282,
48172,
222,
325,
282,
828,
31478,
100,
4020,
422,
10026,
222,
325,
222,
325,
282,
7125,
96,
110,
98,
299,
8100,
338,
1581,
96,
110,
1015,
11482,
64,
222,
325,
282,
48172,
222,
325,
282,
588,
222,
325,
370,
496,
1806,
222,
325,
370,
581,
782,
22652,
45,
1832,
1197,
7125,
49,
828,
5985,
56,
8100,
49,
828,
2900,
3832,
1197,
1581,
49,
648,
2409,
46,
320,
222,
325,
1485,
648,
634,
6588,
64,
222,
325,
1485,
456,
4648,
6588,
299,
244,
53,
64,
634,
6588,
350,
2409,
64,
634,
6588,
2002,
320,
222,
325,
2087,
7125,
11367,
6588,
494,
244,
53,
98,
299,
1581,
11367,
6588,
1015,
11482,
51,
116,
27722,
45,
8696,
312,
222,
325,
1485,
339,
222,
325,
370,
339,
222,
325,
222,
325,
370,
1276,
222,
325,
282,
48172,
222,
325,
282,
828,
31478,
100,
4020,
422,
10026,
222,
325,
222,
325,
282,
7125,
96,
110,
98,
299,
8100,
51,
5981,
365,
338,
1581,
96,
110,
98,
494,
8100,
96,
56,
988,
222,
325,
282,
48172,
222,
325,
282,
588,
222,
325,
370,
496,
1806,
222,
325,
370,
581,
782,
22652,
45,
1832,
1197,
7125,
49,
828,
13753,
8100,
49,
828,
5985,
56,
1197,
1581,
49,
648,
2409,
46,
320,
222,
325,
1485,
648,
634,
6588,
64,
222,
325,
1485,
456,
4648,
6588,
299,
244,
53,
64,
634,
6588,
350,
2409,
64,
634,
6588,
2002,
320,
222,
325,
2087,
7125,
11367,
6588,
98,
299,
8100,
51,
5981,
941,
116,
27722,
45,
1634,
11367,
6588,
1156,
494,
8100,
51,
116,
953,
45,
56,
312,
222,
325,
1485,
339,
222,
325,
370,
339,
222,
325,
222,
325,
370,
1276,
222,
325,
282,
48172,
222,
325,
282,
828,
31478,
100,
4020,
422,
10026,
222,
325,
222,
325,
282,
7125,
96,
110,
98,
299,
8100,
51,
5981,
365,
338,
1581,
96,
110,
1015,
5981,
365,
494,
8100,
96,
56,
98,
338,
1581,
96,
110,
1697,
56,
988,
222,
325,
282,
48172,
222,
325,
282,
588,
222,
325,
370,
496,
1806,
222,
325,
370,
581,
782,
22652,
45,
1832,
1197,
7125,
49,
828,
13753,
8100,
49,
828,
13753,
1197,
1581,
49,
648,
2409,
46,
320,
222,
325,
1485,
648,
634,
6588,
64,
222,
325,
1485,
456,
4648,
6588,
299,
244,
53,
64,
634,
6588,
350,
2409,
64,
634,
6588,
2002,
320,
222,
325,
2087,
7125,
11367,
6588,
98,
299,
8100,
51,
5981,
941,
116,
27722,
45,
1634,
11367,
6588,
1015,
5981,
1177,
494,
1581,
11367,
6588,
1015,
116,
953,
45,
56,
46,
338,
8100,
51,
116,
953,
45,
56,
312,
222,
325,
1485,
339,
222,
325,
370,
339,
222,
325,
222,
325,
370,
1276,
222,
325,
282,
48172,
222,
325,
282,
828,
31478,
100,
4020,
422,
10026,
222,
325,
222,
325,
282,
7125,
96,
110,
98,
299,
8100,
51,
5981,
365,
338,
1581,
96,
110,
1015,
11482,
494,
8100,
96,
56,
988,
222,
325,
282,
48172,
222,
325,
282,
588,
222,
325,
370,
496,
1806,
222,
325,
370,
581,
782,
22652,
45,
1832,
1197,
7125,
49,
828,
13753,
8100,
49,
828,
2900,
3832,
1197,
1581,
49,
648,
2409,
46,
320,
222,
325,
1485,
648,
634,
6588,
64,
222,
325,
1485,
456,
4648,
6588,
299,
244,
53,
64,
634,
6588,
350,
2409,
64,
634,
6588,
2002,
320,
222,
325,
2087,
7125,
11367,
6588,
98,
299,
8100,
51,
5981,
941,
116,
27722,
45,
1634,
11367,
6588,
1015,
11482,
46,
494,
8100,
51,
116,
953,
45,
56,
312,
222,
325,
1485,
339,
222,
325,
370,
339,
222,
325,
222,
325,
370,
1276,
222,
325,
282,
48172,
222,
325,
282,
828,
31478,
100,
4020,
422,
10026,
222,
325,
222,
325,
282,
7125,
96,
110,
98,
299,
1581,
53,
96,
110,
98,
338,
1581,
54,
96,
110,
988,
222,
325,
282,
48172,
222,
325,
282,
588,
222,
325,
370,
496,
1806,
222,
325,
370,
581,
782,
22652,
45,
1832,
1197,
7125,
49,
828,
5985,
56,
1197,
1581,
53,
49,
828,
5985,
56,
1197,
1581,
54,
49,
648,
2409,
46,
320,
222,
325,
1485,
648,
634,
6588,
64,
222,
325,
1485,
456,
4648,
6588,
299,
244,
53,
64,
634,
6588,
350,
2409,
64,
634,
6588,
2002,
320,
222,
325,
2087,
7125,
11367,
6588,
98,
299,
1581,
53,
11367,
6588,
1015,
116,
27722,
45,
1634,
54,
11367,
6588,
2004,
222,
325,
1485,
339,
222,
325,
370,
339,
222,
325,
222,
325,
370,
1276,
222,
325,
282,
48172,
222,
325,
282,
828,
31478,
100,
4020,
422,
10026,
222,
325,
222,
325,
282,
8078,
299,
1581,
54,
96,
53,
98,
338,
1581,
55,
96,
53,
98,
494,
1581,
54,
96,
54,
98,
338,
1581,
55,
96,
54,
98,
494,
1581,
54,
96,
55,
98,
338,
1581,
55,
96,
55,
98,
494,
2437,
222,
325,
282,
48172,
222,
325,
282,
588,
222,
325,
370,
496,
1806,
222,
325,
370,
581,
782,
22652,
45,
1832,
1197,
8078,
49,
1916,
1197,
1581,
54,
49,
1916,
1197,
1581,
55,
49,
648,
2409,
46,
320,
222,
775,
40,
344,
244,
54,
222,
775,
222,
325,
1485,
3593,
327,
1016,
46,
320,
222,
325,
2087,
1152,
244,
53,
63,
320,
222,
325,
4714,
8078,
96,
53,
98,
299,
244,
53,
51,
53,
107,
64,
222,
325,
4714,
461,
64,
222,
325,
2087,
339,
222,
325,
2087,
1152,
244,
54,
63,
320,
222,
325,
4714,
8078,
96,
53,
98,
299,
1581,
54,
96,
53,
98,
338,
1581,
55,
96,
53,
988,
222,
325,
4714,
461,
64,
222,
325,
2087,
339,
222,
325,
2087,
1152,
244,
55,
63,
320,
222,
325,
4714,
8078,
96,
53,
98,
299,
1581,
54,
96,
53,
98,
338,
1581,
55,
96,
53,
98,
494,
1581,
54,
96,
54,
98,
338,
1581,
55,
96,
54,
988,
222,
325,
4714,
461,
64,
222,
325,
2087,
339,
222,
325,
2087,
1152,
244,
56,
63,
320,
222,
325,
4714,
8078,
96,
53,
98,
299,
1581,
54,
96,
53,
98,
338,
1581,
55,
96,
53,
98,
494,
1581,
54,
96,
54,
98,
338,
1581,
55,
96,
54,
98,
494,
1581,
54,
96,
55,
98,
338,
1581,
55,
96,
55,
988,
222,
325,
4714,
461,
64,
222,
325,
2087,
339,
222,
325,
2087,
1263,
63,
320,
222,
325,
4714,
648,
613,
64,
222,
325,
4714,
2082,
328,
53,
49,
328,
54,
49,
328,
55,
49,
328,
56,
64,
222,
325,
4714,
328,
53,
299,
1581,
54,
96,
53,
98,
338,
1581,
55,
96,
53,
988,
222,
325,
4714,
328,
54,
299,
1581,
54,
96,
54,
98,
338,
1581,
55,
96,
54,
988,
222,
325,
4714,
328,
55,
299,
1581,
54,
96,
55,
98,
338,
1581,
55,
96,
55,
988,
222,
325,
4714,
328,
56,
299,
1581,
54,
96,
56,
98,
338,
1581,
55,
96,
56,
988,
222,
325,
4714,
456,
327,
110,
299,
244,
57,
64,
613,
350,
2409,
449,
244,
60,
64,
613,
1475,
244,
61,
46,
320,
222,
325,
6813,
328,
53,
1475,
1581,
54,
96,
110,
494,
244,
53,
98,
338,
1581,
55,
96,
110,
494,
244,
53,
988,
222,
325,
6813,
328,
54,
1475,
1581,
54,
96,
110,
494,
244,
54,
98,
338,
1581,
55,
96,
110,
494,
244,
54,
988,
222,
325,
6813,
328,
55,
1475,
1581,
54,
96,
110,
494,
244,
55,
98,
338,
1581,
55,
96,
110,
494,
244,
55,
988,
222,
325,
6813,
328,
56,
1475,
1581,
54,
96,
110,
494,
244,
56,
98,
338,
1581,
55,
96,
110,
494,
244,
56,
988,
222,
325,
6813,
328,
53,
1475,
1581,
54,
96,
110,
494,
244,
57,
98,
338,
1581,
55,
96,
110,
494,
244,
57,
988,
222,
325,
6813,
328,
54,
1475,
1581,
54,
96,
110,
494,
244,
58,
98,
338,
1581,
55,
96,
110,
494,
244,
58,
988,
222,
325,
6813,
328,
55,
1475,
1581,
54,
96,
110,
494,
244,
59,
98,
338,
1581,
55,
96,
110,
494,
244,
59,
988,
222,
325,
6813,
328,
56,
1475,
1581,
54,
96,
110,
494,
244,
60,
98,
338,
1581,
55,
96,
110,
494,
244,
60,
988,
222,
325,
4714,
339,
222,
325,
4714,
3593,
327,
1016,
449,
613,
46,
320,
222,
775,
3177,
221,
2593,
5815,
64,
222,
325,
6813,
1152,
244,
60,
63,
222,
325,
9326,
328,
53,
1475,
1581,
54,
96,
110,
494,
244,
59,
98,
338,
1581,
55,
96,
110,
494,
244,
59,
988,
222,
325,
6813,
1152,
244,
59,
63,
222,
325,
9326,
328,
54,
1475,
1581,
54,
96,
110,
494,
244,
58,
98,
338,
1581,
55,
96,
110,
494,
244,
58,
988,
222,
325,
6813,
1152,
244,
58,
63,
222,
325,
9326,
328,
55,
1475,
1581,
54,
96,
110,
494,
244,
57,
98,
338,
1581,
55,
96,
110,
494,
244,
57,
988,
222,
325,
6813,
1152,
244,
57,
63,
222,
325,
9326,
328,
56,
1475,
1581,
54,
96,
110,
494,
244,
56,
98,
338,
1581,
55,
96,
110,
494,
244,
56,
988,
222,
325,
6813,
1152,
244,
56,
63,
222,
325,
9326,
328,
53,
1475,
1581,
54,
96,
110,
494,
244,
55,
98,
338,
1581,
55,
96,
110,
494,
244,
55,
988,
222,
325,
6813,
1152,
244,
55,
63,
222,
325,
9326,
328,
54,
1475,
1581,
54,
96,
110,
494,
244,
54,
98,
338,
1581,
55,
96,
110,
494,
244,
54,
988,
222,
325,
6813,
1152,
244,
54,
63,
222,
325,
9326,
328,
55,
1475,
1581,
54,
96,
110,
494,
244,
53,
98,
338,
1581,
55,
96,
110,
494,
244,
53,
988,
222,
325,
6813,
1152,
244,
53,
63,
222,
325,
9326,
1644,
64,
222,
325,
4714,
339,
222,
325,
4714,
2082,
3668,
64,
222,
325,
4714,
3668,
299,
328,
56,
64,
222,
325,
4714,
3668,
1475,
328,
55,
64,
222,
325,
4714,
3668,
1475,
328,
54,
64,
222,
325,
4714,
3668,
1475,
328,
53,
64,
222,
325,
4714,
8078,
96,
53,
98,
299,
327,
1832,
46,
3668,
64,
222,
325,
2087,
339,
222,
325,
1485,
339,
222,
775,
222,
775,
40,
728,
222,
775,
222,
775,
1485,
8078,
299,
244,
53,
51,
53,
107,
64,
222,
775,
1485,
456,
327,
613,
299,
244,
53,
64,
613,
350,
2409,
64,
613,
2002,
320,
222,
775,
2087,
8078,
1475,
1581,
54,
96,
110,
98,
338,
1581,
55,
96,
110,
988,
222,
775,
1485,
339,
222,
775,
222,
775,
40,
2086,
222,
325,
370,
339,
222,
325,
222,
325,
370,
1276,
222,
325,
282,
48172,
222,
325,
282,
828,
31478,
100,
4020,
422,
27279,
11507,
222,
325,
222,
325,
282,
7125,
96,
110,
98,
299,
1581,
53,
96,
110,
98,
868,
8100,
64,
222,
325,
282,
48172,
222,
325,
282,
588,
222,
325,
370,
496,
1806,
222,
325,
370,
581,
782,
409,
336,
11507,
45,
4412,
1197,
7125,
49,
1916,
1197,
1581,
53,
49,
1916,
8100,
49,
648,
2409,
46,
320,
222,
325,
1485,
648,
634,
6588,
49,
634,
22339,
299,
2409,
568,
244,
53,
8900,
3526,
64,
222,
325,
1485,
456,
4648,
6588,
299,
244,
53,
64,
634,
6588,
350,
634,
22339,
64,
634,
6588,
1475,
244,
57,
46,
320,
222,
325,
2087,
7125,
11367,
6588,
494,
244,
53,
98,
299,
1581,
53,
11367,
6588,
494,
244,
53,
98,
868,
8100,
64,
222,
325,
2087,
7125,
11367,
6588,
494,
244,
54,
98,
299,
1581,
53,
11367,
6588,
494,
244,
54,
98,
868,
8100,
64,
222,
325,
2087,
7125,
11367,
6588,
494,
244,
55,
98,
299,
1581,
53,
11367,
6588,
494,
244,
55,
98,
868,
8100,
64,
222,
325,
2087,
7125,
11367,
6588,
494,
244,
56,
98,
299,
1581,
53,
11367,
6588,
494,
244,
56,
98,
868,
8100,
64,
222,
325,
1485,
339,
222,
325,
1485,
456,
23011,
634,
6588,
350,
2409,
64,
634,
6588,
2002,
320,
222,
325,
2087,
7125,
11367,
6588,
98,
299,
1581,
53,
11367,
6588,
98,
868,
8100,
64,
222,
325,
1485,
339,
222,
325,
370,
339,
222,
325,
222,
325,
370,
1276,
222,
325,
282,
48172,
222,
325,
282,
828,
31478,
100,
4020,
422,
27279,
11507,
222,
325,
222,
325,
282,
7125,
96,
110,
98,
6593,
327,
1581,
53,
96,
110,
98,
868,
8100,
848,
1281,
3510,
2585,
64,
222,
325,
282,
48172,
222,
325,
282,
588,
222,
325,
370,
496,
1806,
222,
325,
370,
581,
782,
409,
336,
11507,
45,
2278,
1197,
7125,
49,
3447,
3510,
2585,
49,
1916,
1197,
1581,
53,
49,
1916,
8100,
49,
648,
2409,
46,
320,
222,
325,
1485,
648,
634,
6588,
49,
634,
22339,
299,
2409,
568,
244,
53,
8900,
3526,
64,
222,
325,
1485,
1175,
3447,
634,
2417,
2585,
299,
327,
2278,
46,
327,
54,
1281,
3510,
2585,
19219,
10767,
63,
1571,
3447,
2613,
400,
222,
325,
1485,
456,
4648,
6588,
299,
244,
53,
64,
634,
6588,
350,
634,
22339,
64,
634,
6588,
1475,
244,
57,
46,
320,
222,
325,
2087,
7125,
11367,
6588,
494,
244,
53,
98,
6593,
1581,
53,
11367,
6588,
494,
244,
53,
98,
868,
8100,
1037,
634,
2417,
2585,
518,
244,
53,
64,
222,
325,
2087,
7125,
11367,
6588,
494,
244,
54,
98,
6593,
1581,
53,
11367,
6588,
494,
244,
54,
98,
868,
8100,
1037,
634,
2417,
2585,
518,
244,
53,
64,
222,
325,
2087,
7125,
11367,
6588,
494,
244,
55,
98,
6593,
1581,
53,
11367,
6588,
494,
244,
55,
98,
868,
8100,
1037,
634,
2417,
2585,
518,
244,
53,
64,
222,
325,
2087,
7125,
11367,
6588,
494,
244,
56,
98,
6593,
1581,
53,
11367,
6588,
494,
244,
56,
98,
868,
8100,
1037,
634,
2417,
2585,
518,
244,
53,
64,
222,
325,
1485,
339,
222,
325,
1485,
456,
23011,
634,
6588,
350,
2409,
64,
634,
6588,
2002,
320,
222,
325,
2087,
7125,
11367,
6588,
98,
6593,
1581,
53,
11367,
6588,
98,
868,
8100,
1037,
634,
2417,
2585,
518,
244,
53,
64,
222,
325,
1485,
339,
222,
325,
370,
339,
222,
325,
222,
325,
370,
1276,
222,
325,
282,
48172,
222,
325,
282,
828,
31478,
100,
4020,
422,
27279,
3076,
222,
325,
222,
325,
282,
7125,
96,
110,
98,
299,
1581,
53,
96,
110,
98,
2394,
8100,
64,
222,
325,
282,
48172,
222,
325,
282,
588,
222,
325,
370,
496,
1806,
222,
325,
370,
581,
782,
409,
336,
3076,
45,
4412,
1197,
7125,
49,
1916,
1197,
1581,
53,
49,
1916,
8100,
49,
648,
2409,
46,
320,
222,
325,
1485,
648,
634,
6588,
49,
634,
22339,
299,
2409,
568,
244,
53,
8900,
3526,
64,
222,
325,
1485,
456,
4648,
6588,
299,
244,
53,
64,
634,
6588,
350,
634,
22339,
64,
634,
6588,
1475,
244,
57,
46,
320,
222,
325,
2087,
7125,
11367,
6588,
494,
244,
53,
98,
299,
1581,
53,
11367,
6588,
494,
244,
53,
98,
2394,
8100,
64,
222,
325,
2087,
7125,
11367,
6588,
494,
244,
54,
98,
299,
1581,
53,
11367,
6588,
494,
244,
54,
98,
2394,
8100,
64,
222,
325,
2087,
7125,
11367,
6588,
494,
244,
55,
98,
299,
1581,
53,
11367,
6588,
494,
244,
55,
98,
2394,
8100,
64,
222,
325,
2087,
7125,
11367,
6588,
494,
244,
56,
98,
299,
1581,
53,
11367,
6588,
494,
244,
56,
98,
2394,
8100,
64,
222,
325,
1485,
339,
222,
325,
1485,
456,
23011,
634,
6588,
350,
2409,
64,
634,
6588,
2002,
320,
222,
325,
2087,
7125,
11367,
6588,
98,
299,
1581,
53,
11367,
6588,
98,
2394,
8100,
64,
222,
325,
1485,
339,
222,
325,
370,
339,
222,
325,
222,
325,
370,
1276,
222,
325,
282,
48172,
222,
325,
282,
828,
31478,
100,
4020,
422,
27279,
3076,
222,
325,
222,
325,
282,
7125,
96,
110,
98,
6593,
327,
1581,
53,
96,
110,
98,
2394,
8100,
848,
1281,
3510,
2585,
64,
222,
325,
282,
48172,
222,
325,
282,
588,
222,
325,
370,
496,
1806,
222,
325,
370,
581,
782,
409,
336,
3076,
45,
2278,
1197,
7125,
49,
3447,
3510,
2585,
49,
1916,
1197,
1581,
53,
49,
1916,
8100,
49,
648,
2409,
46,
320,
222,
325,
1485,
648,
634,
6588,
49,
634,
22339,
299,
2409,
568,
244,
53,
8900,
3526,
64,
222,
325,
1485,
1175,
3447,
634,
2417,
2585,
299,
327,
2278,
46,
327,
54,
1281,
3510,
2585,
19219,
10767,
63,
1571,
3447,
2613,
400,
222,
325,
1485,
456,
4648,
6588,
299,
244,
53,
64,
634,
6588,
350,
634,
22339,
64,
634,
6588,
1475,
244,
57,
46,
320,
222,
325,
2087,
7125,
11367,
6588,
494,
244,
53,
98,
6593,
1581,
53,
11367,
6588,
494,
244,
53,
98,
2394,
8100,
1037,
634,
2417,
2585,
518,
244,
53,
64,
222,
325,
2087,
7125,
11367,
6588,
494,
244,
54,
98,
6593,
1581,
53,
11367,
6588,
494,
244,
54,
98,
2394,
8100,
1037,
634,
2417,
2585,
518,
244,
53,
64,
222,
325,
2087,
7125,
11367,
6588,
494,
244,
55,
98,
6593,
1581,
53,
11367,
6588,
494,
244,
55,
98,
2394,
8100,
1037,
634,
2417,
2585,
518,
244,
53,
64,
222,
325,
2087,
7125,
11367,
6588,
494,
244,
56,
98,
6593,
1581,
53,
11367,
6588,
494,
244,
56,
98,
2394,
8100,
1037,
634,
2417,
2585,
518,
244,
53,
64,
222,
325,
1485,
339,
222,
325,
1485,
456,
23011,
634,
6588,
350,
2409,
64,
634,
6588,
2002,
320,
222,
325,
2087,
7125,
11367,
6588,
98,
6593,
1581,
53,
11367,
6588,
98,
2394,
8100,
1037,
634,
2417,
2585,
518,
244,
53,
64,
222,
325,
1485,
339,
222,
325,
370,
339,
222,
325,
222,
325,
370,
1276,
222,
325,
282,
48172,
222,
325,
282,
828,
31478,
100,
4020,
422,
27279,
11717,
222,
325,
222,
325,
282,
7125,
96,
110,
98,
299,
1581,
53,
96,
110,
98,
350,
8100,
64,
222,
325,
282,
48172,
222,
325,
282,
588,
222,
325,
370,
496,
1806,
222,
325,
370,
581,
782,
409,
336,
11717,
45,
4412,
1197,
7125,
49,
1916,
1197,
1581,
53,
49,
1916,
8100,
49,
648,
2409,
46,
320,
222,
325,
1485,
648,
634,
6588,
49,
634,
22339,
299,
2409,
568,
244,
53,
8900,
3526,
64,
222,
325,
1485,
456,
4648,
6588,
299,
244,
53,
64,
634,
6588,
350,
634,
22339,
64,
634,
6588,
1475,
244,
57,
46,
320,
222,
325,
2087,
7125,
11367,
6588,
494,
244,
53,
98,
299,
1581,
53,
11367,
6588,
494,
244,
53,
98,
350,
8100,
64,
222,
325,
2087,
7125,
11367,
6588,
494,
244,
54,
98,
299,
1581,
53,
11367,
6588,
494,
244,
54,
98,
350,
8100,
64,
222,
325,
2087,
7125,
11367,
6588,
494,
244,
55,
98,
299,
1581,
53,
11367,
6588,
494,
244,
55,
98,
350,
8100,
64,
222,
325,
2087,
7125,
11367,
6588,
494,
244,
56,
98,
299,
1581,
53,
11367,
6588,
494,
244,
56,
98,
350,
8100,
64,
222,
325,
1485,
339,
222,
325,
1485,
456,
23011,
634,
6588,
350,
2409,
64,
634,
6588,
2002,
320,
222,
325,
2087,
7125,
11367,
6588,
98,
299,
1581,
53,
11367,
6588,
98,
350,
8100,
64,
222,
325,
1485,
339,
222,
325,
370,
339,
222,
325,
222,
325,
370,
1276,
222,
325,
282,
48172,
222,
325,
282,
828,
31478,
100,
4020,
422,
27279,
11717,
222,
325,
222,
325,
282,
7125,
96,
110,
98,
6593,
327,
1581,
53,
96,
110,
98,
350,
8100,
848,
1281,
3510,
2585,
64,
222,
325,
282,
48172,
222,
325,
282,
588,
222,
325,
370,
496,
1806,
222,
325,
370,
581,
782,
409,
336,
11717,
45,
2278,
1197,
7125,
49,
3447,
3510,
2585,
49,
1916,
1197,
1581,
53,
49,
1916,
8100,
49,
648,
2409,
46,
320,
222,
325,
1485,
648,
634,
6588,
49,
634,
22339,
299,
2409,
568,
244,
53,
8900,
3526,
64,
222,
325,
1485,
1175,
3447,
634,
2417,
2585,
299,
327,
2278,
46,
327,
54,
1281,
3510,
2585,
19219,
10767,
63,
1571,
3447,
2613,
400,
222,
325,
1485,
456,
4648,
6588,
299,
244,
53,
64,
634,
6588,
350,
634,
22339,
64,
634,
6588,
1475,
244,
57,
46,
320,
222,
325,
2087,
7125,
11367,
6588,
494,
244,
53,
98,
6593,
1581,
53,
11367,
6588,
494,
244,
53,
98,
350,
8100,
1037,
634,
2417,
2585,
518,
244,
53,
64,
222,
325,
2087,
7125,
11367,
6588,
494,
244,
54,
98,
6593,
1581,
53,
11367,
6588,
494,
244,
54,
98,
350,
8100,
1037,
634,
2417,
2585,
518,
244,
53,
64,
222,
325,
2087,
7125,
11367,
6588,
494,
244,
55,
98,
6593,
1581,
53,
11367,
6588,
494,
244,
55,
98,
350,
8100,
1037,
634,
2417,
2585,
518,
244,
53,
64,
222,
325,
2087,
7125,
11367,
6588,
494,
244,
56,
98,
6593,
1581,
53,
11367,
6588,
494,
244,
56,
98,
350,
8100,
1037,
634,
2417,
2585,
518,
244,
53,
64,
222,
325,
1485,
339,
222,
325,
1485,
456,
23011,
634,
6588,
350,
2409,
64,
634,
6588,
2002,
320,
222,
325,
2087,
7125,
11367,
6588,
98,
6593,
1581,
53,
11367,
6588,
98,
350,
8100,
1037,
634,
2417,
2585,
518,
244,
53,
64,
222,
325,
1485,
339,
222,
325,
370,
339,
222,
325,
222,
325,
370,
1276,
222,
325,
282,
48172,
222,
325,
282,
828,
31478,
100,
4020,
422,
27279,
833,
222,
325,
222,
325,
282,
7125,
96,
110,
98,
299,
1581,
53,
96,
110,
98,
2527,
8100,
64,
222,
325,
282,
48172,
222,
325,
282,
588,
222,
325,
370,
496,
1806,
222,
325,
370,
581,
782,
409,
336,
833,
45,
4412,
1197,
7125,
49,
1916,
1197,
1581,
53,
49,
1916,
8100,
49,
648,
2409,
46,
320,
222,
325,
1485,
648,
634,
6588,
49,
634,
22339,
299,
2409,
568,
244,
53,
8900,
3526,
64,
222,
325,
1485,
456,
4648,
6588,
299,
244,
53,
64,
634,
6588,
350,
634,
22339,
64,
634,
6588,
1475,
244,
57,
46,
320,
222,
325,
2087,
7125,
11367,
6588,
494,
244,
53,
98,
299,
1581,
53,
11367,
6588,
494,
244,
53,
98,
2527,
8100,
64,
222,
325,
2087,
7125,
11367,
6588,
494,
244,
54,
98,
299,
1581,
53,
11367,
6588,
494,
244,
54,
98,
2527,
8100,
64,
222,
325,
2087,
7125,
11367,
6588,
494,
244,
55,
98,
299,
1581,
53,
11367,
6588,
494,
244,
55,
98,
2527,
8100,
64,
222,
325,
2087,
7125,
11367,
6588,
494,
244,
56,
98,
299,
1581,
53,
11367,
6588,
494,
244,
56,
98,
2527,
8100,
64,
222,
325,
1485,
339,
222,
325,
1485,
456,
23011,
634,
6588,
350,
2409,
64,
634,
6588,
2002,
320,
222,
325,
2087,
7125,
11367,
6588,
98,
299,
1581,
53,
11367,
6588,
98,
2527,
8100,
64,
222,
325,
1485,
339,
222,
325,
370,
339,
222,
325,
222,
325,
370,
496,
1806,
222,
325,
370,
581,
782,
409,
336,
833,
45,
2278,
1197,
7125,
49,
3447,
3510,
2585,
49,
1916,
1197,
1581,
53,
49,
1916,
8100,
49,
648,
2409,
46,
320,
222,
325,
1485,
648,
634,
6588,
49,
634,
22339,
299,
2409,
568,
244,
53,
8900,
3526,
64,
222,
325,
1485,
1175,
3447,
634,
2417,
2585,
299,
327,
2278,
46,
327,
54,
1281,
3510,
2585,
19219,
10767,
63,
1571,
3447,
2613,
400,
222,
325,
1485,
456,
4648,
6588,
299,
244,
53,
64,
634,
6588,
350,
634,
22339,
64,
634,
6588,
1475,
244,
57,
46,
320,
222,
325,
2087,
7125,
11367,
6588,
494,
244,
53,
98,
299,
327,
2278,
46,
327,
1634,
53,
11367,
6588,
494,
244,
53,
98,
2527,
8100,
1037,
634,
2417,
2585,
518,
244,
53,
312,
222,
325,
2087,
7125,
11367,
6588,
494,
244,
54,
98,
299,
327,
2278,
46,
327,
1634,
53,
11367,
6588,
494,
244,
54,
98,
2527,
8100,
1037,
634,
2417,
2585,
518,
244,
53,
312,
222,
325,
2087,
7125,
11367,
6588,
494,
244,
55,
98,
299,
327,
2278,
46,
327,
1634,
53,
11367,
6588,
494,
244,
55,
98,
2527,
8100,
1037,
634,
2417,
2585,
518,
244,
53,
312,
222,
325,
2087,
7125,
11367,
6588,
494,
244,
56,
98,
299,
327,
2278,
46,
327,
1634,
53,
11367,
6588,
494,
244,
56,
98,
2527,
8100,
1037,
634,
2417,
2585,
518,
244,
53,
312,
222,
325,
1485,
339,
222,
325,
1485,
456,
23011,
634,
6588,
350,
2409,
64,
634,
6588,
2002,
320,
222,
325,
2087,
7125,
11367,
6588,
98,
299,
327,
2278,
46,
327,
1634,
53,
11367,
6588,
98,
2527,
8100,
1037,
634,
2417,
2585,
518,
244,
53,
312,
222,
325,
1485,
339,
222,
325,
370,
339,
222,
325,
222,
325,
370,
496,
1806,
222,
325,
370,
581,
782,
7535,
2725,
45,
1832,
1197,
1865,
49,
1916,
1197,
1788,
49,
1916,
1197,
1581,
49,
648,
2409,
46,
320,
222,
325,
1485,
1865,
96,
53,
98,
299,
828,
5728,
51,
36029,
64,
222,
325,
1485,
1788,
96,
53,
98,
299,
449,
333,
5728,
51,
36029,
64,
222,
325,
222,
325,
1485,
456,
327,
429,
634,
6588,
299,
244,
53,
64,
634,
6588,
350,
2409,
64,
634,
6588,
2002,
320,
222,
325,
2087,
434,
327,
1634,
96,
2191,
6588,
2201,
350,
1865,
96,
53,
1156,
1865,
96,
53,
98,
299,
1581,
96,
2191,
6588,
16741,
222,
325,
2087,
434,
327,
1634,
96,
2191,
6588,
2201,
868,
1788,
96,
53,
1156,
1788,
96,
53,
98,
299,
1581,
96,
2191,
6588,
16741,
222,
325,
1485,
339,
222,
325,
370,
339,
222,
325,
222,
325,
370,
496,
1806,
222,
325,
370,
581,
782,
7535,
2725,
45,
333,
5985,
55,
1865,
49,
828,
5985,
55,
1788,
49,
828,
5985,
55,
1197,
1581,
49,
648,
2409,
46,
320,
222,
325,
1485,
1865,
51,
125,
299,
1865,
51,
126,
299,
828,
5728,
51,
36029,
64,
222,
325,
1485,
1788,
51,
125,
299,
1788,
51,
126,
299,
449,
333,
5728,
51,
36029,
64,
222,
325,
1485,
456,
327,
429,
634,
6588,
299,
244,
53,
64,
634,
6588,
350,
2409,
64,
634,
6588,
2002,
320,
222,
325,
2087,
1175,
828,
5985,
55,
373,
299,
1581,
11367,
6588,
988,
222,
325,
2087,
434,
327,
123,
51,
125,
350,
1865,
51,
125,
46,
1865,
51,
125,
299,
373,
51,
125,
64,
222,
325,
2087,
434,
327,
123,
51,
125,
868,
1788,
51,
125,
46,
1788,
51,
125,
299,
373,
51,
125,
64,
222,
325,
2087,
434,
327,
123,
51,
126,
350,
1865,
51,
126,
46,
1865,
51,
126,
299,
373,
51,
126,
64,
222,
325,
2087,
434,
327,
123,
51,
126,
868,
1788,
51,
126,
46,
1788,
51,
126,
299,
373,
51,
126,
64,
222,
325,
1485,
339,
222,
325,
370,
339,
222,
325,
222,
325,
370,
496,
1806,
222,
325,
370,
581,
782,
7535,
2725,
45,
333,
5985,
56,
1865,
49,
828,
5985,
56,
1788,
49,
828,
5985,
56,
1197,
1581,
49,
648,
2409,
46,
320,
222,
325,
1485,
1865,
51,
125,
299,
1865,
51,
126,
299,
1865,
51,
127,
299,
828,
5728,
51,
36029,
64,
222,
325,
1485,
1788,
51,
125,
299,
1788,
51,
126,
299,
1788,
51,
127,
299,
449,
333,
5728,
51,
36029,
64,
222,
325,
1485,
456,
327,
429,
634,
6588,
299,
244,
53,
64,
634,
6588,
350,
2409,
64,
634,
6588,
2002,
320,
222,
325,
2087,
1175,
828,
5985,
56,
373,
299,
1581,
11367,
6588,
988,
222,
325,
2087,
434,
327,
123,
51,
125,
350,
1865,
51,
125,
46,
1865,
51,
125,
299,
373,
51,
125,
64,
222,
325,
2087,
434,
327,
123,
51,
125,
868,
1788,
51,
125,
46,
1788,
51,
125,
299,
373,
51,
125,
64,
222,
325,
2087,
434,
327,
123,
51,
126,
350,
1865,
51,
126,
46,
1865,
51,
126,
299,
373,
51,
126,
64,
222,
325,
2087,
434,
327,
123,
51,
126,
868,
1788,
51,
126,
46,
1788,
51,
126,
299,
373,
51,
126,
64,
222,
325,
2087,
434,
327,
123,
51,
127,
350,
1865,
51,
127,
46,
1865,
51,
127,
299,
373,
51,
127,
64,
222,
325,
2087,
434,
327,
123,
51,
127,
868,
1788,
51,
127,
46,
1788,
51,
127,
299,
373,
51,
127,
64,
222,
325,
1485,
339,
222,
325,
370,
339,
222,
325,
222,
325,
370,
496,
1806,
222,
325,
370,
581,
782,
7535,
2725,
45,
333,
5985,
56,
1865,
49,
828,
5985,
56,
1788,
49,
828,
2900,
3832,
1197,
1581,
49,
648,
2409,
46,
320,
222,
325,
1485,
1865,
51,
125,
299,
1865,
51,
126,
299,
1865,
51,
127,
299,
828,
5728,
51,
36029,
64,
222,
325,
1485,
1788,
51,
125,
299,
1788,
51,
126,
299,
1788,
51,
127,
299,
449,
333,
5728,
51,
36029,
64,
222,
325,
1485,
456,
327,
429,
634,
6588,
299,
244,
53,
64,
634,
6588,
350,
2409,
64,
634,
6588,
2002,
320,
222,
325,
2087,
1175,
828,
5985,
56,
373,
299,
1581,
11367,
6588,
1015,
11482,
64,
222,
325,
2087,
434,
327,
123,
51,
116,
953,
45,
53,
46,
350,
1865,
51,
125,
46,
1865,
51,
125,
299,
373,
51,
116,
953,
45,
53,
312,
222,
325,
2087,
434,
327,
123,
51,
116,
953,
45,
53,
46,
868,
1788,
51,
125,
46,
1788,
51,
125,
299,
373,
51,
116,
953,
45,
53,
312,
222,
325,
2087,
434,
327,
123,
51,
116,
953,
45,
54,
46,
350,
1865,
51,
126,
46,
1865,
51,
126,
299,
373,
51,
116,
953,
45,
54,
312,
222,
325,
2087,
434,
327,
123,
51,
116,
953,
45,
54,
46,
868,
1788,
51,
126,
46,
1788,
51,
126,
299,
373,
51,
116,
953,
45,
54,
312,
222,
325,
2087,
434,
327,
123,
51,
116,
953,
45,
55,
46,
350,
1865,
51,
127,
46,
1865,
51,
127,
299,
373,
51,
116,
953,
45,
55,
312,
222,
325,
2087,
434,
327,
123,
51,
116,
953,
45,
55,
46,
868,
1788,
51,
127,
46,
1788,
51,
127,
299,
373,
51,
116,
953,
45,
55,
312,
222,
325,
1485,
339,
222,
325,
370,
339,
222,
325,
222,
325,
370,
496,
1806,
222,
325,
370,
581,
782,
7535,
2725,
45,
333,
5985,
56,
1865,
49,
828,
5985,
56,
1788,
49,
828,
2900,
3832,
1197,
1581,
49,
648,
1197,
17230,
49,
648,
2409,
46,
320,
222,
325,
1485,
1865,
51,
125,
299,
1865,
51,
126,
299,
1865,
51,
127,
299,
828,
5728,
51,
36029,
64,
222,
325,
1485,
1788,
51,
125,
299,
1788,
51,
126,
299,
1788,
51,
127,
299,
449,
333,
5728,
51,
36029,
64,
222,
325,
1485,
456,
327,
429,
634,
6588,
299,
244,
53,
64,
634,
6588,
350,
2409,
64,
634,
6588,
2002,
320,
222,
325,
2087,
1175,
828,
5985,
56,
373,
299,
1581,
96,
18826,
11367,
6588,
17927,
11482,
64,
222,
325,
2087,
434,
327,
123,
51,
116,
953,
45,
53,
46,
350,
1865,
51,
125,
46,
1865,
51,
125,
299,
373,
51,
116,
953,
45,
53,
312,
222,
325,
2087,
434,
327,
123,
51,
116,
953,
45,
53,
46,
868,
1788,
51,
125,
46,
1788,
51,
125,
299,
373,
51,
116,
953,
45,
53,
312,
222,
325,
2087,
434,
327,
123,
51,
116,
953,
45,
54,
46,
350,
1865,
51,
126,
46,
1865,
51,
126,
299,
373,
51,
116,
953,
45,
54,
312,
222,
325,
2087,
434,
327,
123,
51,
116,
953,
45,
54,
46,
868,
1788,
51,
126,
46,
1788,
51,
126,
299,
373,
51,
116,
953,
45,
54,
312,
222,
325,
2087,
434,
327,
123,
51,
116,
953,
45,
55,
46,
350,
1865,
51,
127,
46,
1865,
51,
127,
299,
373,
51,
116,
953,
45,
55,
312,
222,
325,
2087,
434,
327,
123,
51,
116,
953,
45,
55,
46,
868,
1788,
51,
127,
46,
1788,
51,
127,
299,
373,
51,
116,
953,
45,
55,
312,
222,
325,
1485,
339,
222,
325,
370,
339,
222,
325,
222,
325,
370,
496,
1806,
222,
325,
370,
581,
782,
5970,
778,
45,
1832,
1197,
7125,
49,
1916,
1197,
1581,
49,
1916,
1865,
49,
1916,
1788,
49,
648,
2409,
46,
320,
222,
325,
1485,
456,
327,
429,
634,
6588,
299,
244,
53,
64,
634,
6588,
350,
2409,
64,
634,
6588,
2002,
320,
222,
325,
2087,
7125,
11367,
6588,
98,
299,
1581,
11367,
6588,
98,
350,
1865,
1037,
1865,
518,
1581,
11367,
6588,
98,
868,
1788,
1037,
1788,
518,
1581,
11367,
6588,
988,
222,
325,
1485,
339,
222,
325,
370,
339,
222,
325,
222,
325,
370,
496,
1806,
222,
325,
370,
581,
782,
5970,
778,
2944,
45,
1832,
1197,
7125,
49,
1916,
1197,
1581,
49,
1916,
1865,
49,
648,
2409,
46,
320,
222,
325,
1485,
456,
327,
429,
634,
6588,
299,
244,
53,
64,
634,
6588,
350,
2409,
64,
634,
6588,
2002,
320,
222,
325,
2087,
7125,
11367,
6588,
98,
299,
1581,
11367,
6588,
98,
350,
1865,
1037,
1865,
518,
1581,
11367,
6588,
988,
222,
325,
1485,
339,
222,
325,
370,
339,
222,
325,
222,
325,
370,
496,
1806,
222,
325,
370,
581,
782,
5970,
778,
2725,
45,
1832,
1197,
7125,
49,
1916,
1197,
1581,
49,
1916,
1788,
49,
648,
2409,
46,
320,
222,
325,
1485,
456,
327,
429,
634,
6588,
299,
244,
53,
64,
634,
6588,
350,
2409,
64,
634,
6588,
2002,
320,
222,
325,
2087,
7125,
11367,
6588,
98,
299,
1581,
11367,
6588,
98,
868,
1788,
1037,
1788,
518,
1581,
11367,
6588,
988,
222,
325,
1485,
339,
222,
325,
370,
339,
222,
325,
222,
325,
370,
496,
1806,
222,
325,
370,
581,
782,
6388,
5158,
45,
976,
1197,
7125,
49,
2210,
1197,
1581,
49,
648,
2409,
46,
320,
222,
775,
1485,
16366,
45,
7125,
49,
1581,
49,
2409,
1110,
222,
775,
1485,
1189,
51,
40816,
45,
1634,
49,
244,
53,
49,
7125,
49,
244,
53,
49,
2409,
312,
222,
325,
1485,
1440,
556,
5979,
15433,
51,
703,
22368,
100,
1002,
492,
222,
325,
370,
339,
222,
325,
222,
325,
370,
496,
1806,
222,
325,
370,
581,
782,
6388,
489,
45,
976,
1197,
7125,
49,
648,
928,
49,
648,
2409,
46,
320,
222,
775,
1485,
18595,
45,
7125,
49,
928,
49,
2409,
1110,
222,
325,
1485,
14479,
51,
4182,
45,
6295,
49,
244,
53,
49,
2409,
49,
928,
312,
222,
325,
370,
339,
603,
496,
1806,
310,
581,
782,
19561,
54,
59,
45,
1832,
1197,
7125,
49,
648,
2409,
46,
320,
222,
325,
1485,
18595,
45,
7125,
49,
244,
53,
49,
2409,
338,
3758,
45,
1916,
848,
1110,
343,
14479,
51,
4182,
45,
6295,
49,
244,
53,
49,
2409,
49,
244,
53,
312,
310,
339,
603,
496,
1806,
310,
581,
782,
23693,
351,
54,
59,
45,
1832,
1197,
7125,
49,
648,
2409,
46,
320,
222,
325,
1485,
3638,
648,
338,
1768,
299,
15513,
100,
2420,
65,
3869,
648,
17218,
6295,
312,
343,
456,
327,
429,
634,
6588,
299,
244,
53,
64,
634,
6588,
350,
2409,
64,
634,
6588,
2002,
320,
419,
648,
634,
6295,
299,
8182,
51,
1832,
14110,
8738,
45,
6295,
11367,
6588,
2004,
419,
634,
6295,
21554,
327,
54,
1281,
244,
56,
54,
19219,
24438,
244,
56,
55,
7037,
1916,
2613,
3510,
419,
7125,
11367,
6588,
98,
299,
8182,
51,
429,
8738,
724,
3690,
2191,
6295,
312,
343,
339,
310,
339,
603,
496,
1806,
310,
581,
782,
2406,
54,
59,
45,
1832,
1197,
7125,
49,
1916,
1197,
1581,
49,
648,
2409,
46,
320,
222,
325,
1485,
456,
327,
429,
634,
6588,
299,
244,
53,
64,
634,
6588,
350,
2409,
64,
634,
6588,
2002,
320,
222,
325,
2087,
7125,
11367,
6588,
98,
299,
1581,
11367,
6588,
988,
222,
325,
1485,
339,
343,
1189,
51,
40816,
45,
1634,
49,
244,
53,
49,
7125,
49,
244,
53,
49,
2409,
312,
310,
339,
603,
496,
1806,
310,
581,
782,
2242,
54,
59,
45,
1832,
1197,
7125,
49,
1916,
1197,
1581,
54,
49,
1916,
1197,
1581,
55,
49,
648,
2409,
46,
320,
343,
456,
327,
429,
634,
6588,
299,
244,
53,
64,
634,
6588,
350,
2409,
64,
634,
6588,
2002,
320,
419,
7125,
11367,
6588,
98,
299,
1581,
54,
11367,
6588,
98,
494,
1581,
55,
11367,
6588,
988,
343,
339,
310,
339,
603,
496,
1806,
310,
581,
782,
3743,
54,
59,
45,
1832,
1197,
7125,
49,
1916,
1197,
1581,
54,
49,
1916,
1197,
1581,
55,
49,
648,
2409,
46,
320,
343,
456,
327,
429,
634,
6588,
299,
244,
53,
64,
634,
6588,
350,
2409,
64,
634,
6588,
2002,
320,
419,
7125,
11367,
6588,
98,
299,
1581,
54,
11367,
6588,
98,
449,
1581,
55,
11367,
6588,
988,
343,
339,
310,
339,
603,
496,
1806,
310,
581,
782,
34155,
54,
59,
45,
1832,
1197,
7125,
49,
1916,
1197,
1581,
54,
49,
1916,
8100,
49,
648,
2409,
46,
320,
343,
456,
327,
429,
634,
6588,
299,
244,
53,
64,
634,
6588,
350,
2409,
64,
634,
6588,
2002,
320,
419,
7125,
11367,
6588,
98,
299,
1581,
54,
11367,
6588,
98,
338,
8100,
64,
343,
339,
310,
339,
603,
496,
1806,
310,
581,
782,
2242,
9083,
54,
59,
45,
1832,
1197,
7125,
49,
1916,
1197,
1581,
49,
648,
2409,
46,
320,
343,
456,
327,
429,
634,
6588,
299,
244,
53,
64,
634,
6588,
350,
2409,
64,
634,
6588,
2002,
320,
419,
7125,
11367,
6588,
98,
1475,
1581,
11367,
6588,
988,
343,
339,
310,
339,
603,
496,
1806,
310,
581,
782,
3743,
9083,
54,
59,
45,
1832,
1197,
7125,
49,
1916,
1197,
1581,
49,
648,
2409,
46,
320,
343,
456,
327,
429,
634,
6588,
299,
244,
53,
64,
634,
6588,
350,
2409,
64,
634,
6588,
2002,
320,
419,
7125,
11367,
6588,
98,
5928,
1581,
11367,
6588,
988,
343,
339,
310,
339,
603,
496,
1806,
310,
581,
782,
34155,
9083,
54,
59,
45,
1832,
1197,
7125,
49,
1916,
8100,
49,
648,
2409,
46,
320,
343,
456,
327,
429,
634,
6588,
299,
244,
53,
64,
634,
6588,
350,
2409,
64,
634,
6588,
2002,
320,
419,
7125,
11367,
6588,
98,
10465,
8100,
64,
343,
339,
310,
339,
603,
496,
1806,
310,
581,
782,
5876,
93,
100,
27722,
5985,
93,
45,
333,
5985,
93,
7125,
49,
828,
3002,
93,
2525,
49,
828,
5985,
93,
4724,
46,
320,
343,
648,
613,
49,
614,
49,
1952,
7264,
64,
343,
648,
364,
1301,
299,
244,
53,
64,
343,
1175,
1916,
1197,
364,
2664,
49,
373,
2664,
64,
343,
1916,
1197,
7125,
2664,
64,
1083,
1217,
327,
3160,
51,
31744,
365,
2394,
2525,
51,
41435,
7633,
1052,
343,
1217,
327,
6295,
51,
31744,
365,
2394,
2525,
51,
41435,
7264,
1052,
1083,
364,
2664,
299,
2525,
51,
724,
3690,
2664,
492,
343,
373,
2664,
299,
4724,
51,
724,
3690,
2664,
492,
343,
7125,
2664,
299,
7125,
51,
724,
3690,
2664,
492,
343,
1952,
7264,
299,
2525,
51,
41435,
7264,
492,
343,
3593,
327,
1322,
51,
41435,
7633,
1177,
320,
419,
1152,
244,
54,
63,
547,
456,
327,
110,
299,
244,
53,
64,
613,
350,
1952,
7264,
64,
613,
2002,
320,
733,
7125,
2664,
96,
110,
98,
299,
364,
2664,
96,
114,
1301,
494,
244,
53,
98,
338,
373,
2664,
96,
53,
988,
733,
364,
1301,
3348,
547,
339,
547,
1644,
64,
419,
1152,
244,
55,
63,
547,
456,
327,
110,
299,
244,
53,
64,
613,
350,
1952,
7264,
64,
613,
2002,
320,
733,
7125,
2664,
96,
110,
98,
299,
364,
2664,
96,
114,
1301,
494,
244,
53,
98,
338,
373,
2664,
96,
53,
98,
494,
364,
2664,
96,
114,
1301,
494,
244,
54,
98,
338,
373,
2664,
96,
54,
988,
733,
364,
1301,
1475,
244,
55,
64,
547,
339,
547,
1644,
64,
419,
1152,
244,
56,
63,
547,
456,
327,
110,
299,
244,
53,
64,
613,
350,
1952,
7264,
64,
613,
2002,
320,
733,
7125,
2664,
96,
110,
98,
299,
364,
2664,
96,
114,
1301,
494,
244,
53,
98,
338,
373,
2664,
96,
53,
98,
494,
364,
2664,
96,
114,
1301,
494,
244,
54,
98,
338,
373,
2664,
96,
54,
98,
494,
364,
2664,
96,
114,
1301,
494,
244,
55,
98,
338,
373,
2664,
96,
55,
988,
733,
364,
1301,
1475,
244,
56,
64,
547,
339,
547,
1644,
64,
419,
1152,
244,
57,
63,
547,
456,
327,
110,
299,
244,
53,
64,
613,
350,
1952,
7264,
64,
613,
2002,
320,
733,
7125,
2664,
96,
110,
98,
299,
364,
2664,
96,
114,
1301,
494,
244,
53,
98,
338,
373,
2664,
96,
53,
98,
494,
364,
2664,
96,
114,
1301,
494,
244,
54,
98,
338,
373,
2664,
96,
54,
98,
494,
364,
2664,
96,
114,
1301,
494,
244,
55,
98,
338,
373,
2664,
96,
55,
98,
1396,
494,
364,
2664,
96,
114,
1301,
494,
244,
56,
98,
338,
373,
2664,
96,
56,
988,
733,
364,
1301,
1475,
244,
57,
64,
547,
339,
547,
1644,
64,
419,
1152,
244,
58,
63,
547,
456,
327,
110,
299,
244,
53,
64,
613,
350,
1952,
7264,
64,
613,
2002,
320,
733,
7125,
2664,
96,
110,
98,
299,
364,
2664,
96,
114,
1301,
494,
244,
53,
98,
338,
373,
2664,
96,
53,
98,
494,
364,
2664,
96,
114,
1301,
494,
244,
54,
98,
338,
373,
2664,
96,
54,
98,
494,
364,
2664,
96,
114,
1301,
494,
244,
55,
98,
338,
373,
2664,
96,
55,
98,
1396,
494,
364,
2664,
96,
114,
1301,
494,
244,
56,
98,
338,
373,
2664,
96,
56,
98,
494,
364,
2664,
96,
114,
1301,
494,
244,
57,
98,
338,
373,
2664,
96,
57,
988,
733,
364,
1301,
1475,
244,
58,
64,
547,
339,
547,
1644,
64,
419,
1152,
244,
59,
63,
547,
456,
327,
110,
299,
244,
53,
64,
613,
350,
1952,
7264,
64,
613,
2002,
320,
733,
7125,
2664,
96,
110,
98,
299,
364,
2664,
96,
114,
1301,
494,
244,
53,
98,
338,
373,
2664,
96,
53,
98,
494,
364,
2664,
96,
114,
1301,
494,
244,
54,
98,
338,
373,
2664,
96,
54,
98,
494,
364,
2664,
96,
114,
1301,
494,
244,
55,
98,
338,
373,
2664,
96,
55,
98,
1396,
494,
364,
2664,
96,
114,
1301,
494,
244,
56,
98,
338,
373,
2664,
96,
56,
98,
494,
364,
2664,
96,
114,
1301,
494,
244,
57,
98,
338,
373,
2664,
96,
57,
98,
494,
364,
2664,
96,
114,
1301,
494,
244,
58,
98,
338,
373,
2664,
96,
58,
988,
733,
364,
1301,
1475,
244,
59,
64,
547,
339,
547,
1644,
64,
419,
1263,
63,
547,
648,
1952,
7633,
299,
2525,
51,
41435,
7633,
492,
547,
456,
327,
110,
299,
244,
53,
64,
613,
350,
1952,
7264,
64,
613,
2002,
320,
733,
1916,
3668,
299,
364,
2664,
96,
114,
1301,
494,
244,
53,
98,
338,
373,
2664,
96,
53,
988,
733,
456,
327,
111,
299,
244,
54,
64,
614,
350,
1952,
7633,
64,
614,
2002,
320,
1031,
3668,
1475,
364,
2664,
96,
114,
1301,
494,
614,
98,
338,
373,
2664,
96,
111,
988,
733,
339,
733,
7125,
2664,
96,
110,
98,
299,
3668,
64,
733,
364,
1301,
1475,
1952,
7633,
64,
547,
339,
547,
1644,
64,
343,
339,
310,
339,
603,
496,
1806,
310,
581,
782,
5876,
93,
100,
27722,
1121,
5985,
93,
45,
333,
5985,
93,
7125,
49,
828,
3002,
93,
2525,
49,
828,
5985,
93,
4724,
46,
320,
343,
648,
613,
49,
614,
49,
1952,
7264,
64,
343,
648,
364,
1301,
299,
244,
53,
64,
343,
1175,
1916,
1197,
364,
2664,
49,
373,
2664,
64,
343,
1916,
1197,
7125,
2664,
64,
1083,
1217,
327,
3160,
51,
31744,
365,
2394,
2525,
51,
41435,
7633,
1052,
343,
1217,
327,
6295,
51,
31744,
365,
2394,
2525,
51,
41435,
7264,
1052,
1083,
364,
2664,
299,
2525,
51,
724,
3690,
2664,
492,
343,
373,
2664,
299,
4724,
51,
724,
3690,
2664,
492,
343,
7125,
2664,
299,
7125,
51,
724,
3690,
2664,
492,
343,
1952,
7264,
299,
2525,
51,
41435,
7264,
492,
343,
3593,
327,
1322,
51,
41435,
7633,
1177,
320,
419,
1152,
244,
54,
63,
547,
456,
327,
110,
299,
244,
53,
64,
613,
350,
1952,
7264,
64,
613,
2002,
320,
733,
7125,
2664,
96,
110,
98,
1475,
364,
2664,
96,
114,
1301,
494,
244,
53,
98,
338,
373,
2664,
96,
53,
988,
733,
364,
1301,
3348,
547,
339,
547,
1644,
64,
419,
1152,
244,
55,
63,
547,
456,
327,
110,
299,
244,
53,
64,
613,
350,
1952,
7264,
64,
613,
2002,
320,
733,
7125,
2664,
96,
110,
98,
1475,
364,
2664,
96,
114,
1301,
494,
244,
53,
98,
338,
373,
2664,
96,
53,
98,
494,
364,
2664,
96,
114,
1301,
494,
244,
54,
98,
338,
373,
2664,
96,
54,
988,
733,
364,
1301,
1475,
244,
55,
64,
547,
339,
547,
1644,
64,
419,
1152,
244,
56,
63,
547,
456,
327,
110,
299,
244,
53,
64,
613,
350,
1952,
7264,
64,
613,
2002,
320,
733,
7125,
2664,
96,
110,
98,
1475,
364,
2664,
96,
114,
1301,
494,
244,
53,
98,
338,
373,
2664,
96,
53,
98,
494,
364,
2664,
96,
114,
1301,
494,
244,
54,
98,
338,
373,
2664,
96,
54,
98,
494,
364,
2664,
96,
114,
1301,
494,
244,
55,
98,
338,
373,
2664,
96,
55,
988,
733,
364,
1301,
1475,
244,
56,
64,
547,
339,
547,
1644,
64,
419,
1152,
244,
57,
63,
547,
456,
327,
110,
299,
244,
53,
64,
613,
350,
1952,
7264,
64,
613,
2002,
320,
733,
7125,
2664,
96,
110,
98,
1475,
364,
2664,
96,
114,
1301,
494,
244,
53,
98,
338,
373,
2664,
96,
53,
98,
494,
364,
2664,
96,
114,
1301,
494,
244,
54,
98,
338,
373,
2664,
96,
54,
98,
494,
364,
2664,
96,
114,
1301,
494,
244,
55,
98,
338,
373,
2664,
96,
55,
98,
1396,
494,
364,
2664,
96,
114,
1301,
494,
244,
56,
98,
338,
373,
2664,
96,
56,
988,
733,
364,
1301,
1475,
244,
57,
64,
547,
339,
547,
1644,
64,
419,
1152,
244,
58,
63,
547,
456,
327,
110,
299,
244,
53,
64,
613,
350,
1952,
7264,
64,
613,
2002,
320,
733,
7125,
2664,
96,
110,
98,
1475,
364,
2664,
96,
114,
1301,
494,
244,
53,
98,
338,
373,
2664,
96,
53,
98,
494,
364,
2664,
96,
114,
1301,
494,
244,
54,
98,
338,
373,
2664,
96,
54,
98,
494,
364,
2664,
96,
114,
1301,
494,
244,
55,
98,
338,
373,
2664,
96,
55,
98,
1396,
494,
364,
2664,
96,
114,
1301,
494,
244,
56,
98,
338,
373,
2664,
96,
56,
98,
494,
364,
2664,
96,
114,
1301,
494,
244,
57,
98,
338,
373,
2664,
96,
57,
988,
733,
364,
1301,
1475,
244,
58,
64,
547,
339,
547,
1644,
64,
419,
1152,
244,
59,
63,
547,
456,
327,
110,
299,
244,
53,
64,
613,
350,
1952,
7264,
64,
613,
2002,
320,
733,
7125,
2664,
96,
110,
98,
1475,
364,
2664,
96,
114,
1301,
494,
244,
53,
98,
338,
373,
2664,
96,
53,
98,
494,
364,
2664,
96,
114,
1301,
494,
244,
54,
98,
338,
373,
2664,
96,
54,
98,
494,
364,
2664,
96,
114,
1301,
494,
244,
55,
98,
338,
373,
2664,
96,
55,
98,
1396,
494,
364,
2664,
96,
114,
1301,
494,
244,
56,
98,
338,
373,
2664,
96,
56,
98,
494,
364,
2664,
96,
114,
1301,
494,
244,
57,
98,
338,
373,
2664,
96,
57,
98,
494,
364,
2664,
96,
114,
1301,
494,
244,
58,
98,
338,
373,
2664,
96,
58,
988,
733,
364,
1301,
1475,
244,
59,
64,
547,
339,
547,
1644,
64,
419,
1263,
63,
547,
648,
1952,
7633,
299,
2525,
51,
41435,
7633,
492,
547,
456,
327,
110,
299,
244,
53,
64,
613,
350,
1952,
7264,
64,
613,
2002,
320,
733,
1916,
3668,
299,
364,
2664,
96,
114,
1301,
494,
244,
53,
98,
338,
373,
2664,
96,
53,
988,
733,
456,
327,
111,
299,
244,
54,
64,
614,
350,
1952,
7633,
64,
614,
2002,
320,
1031,
3668,
1475,
364,
2664,
96,
114,
1301,
494,
614,
98,
338,
373,
2664,
96,
111,
988,
733,
339,
733,
7125,
2664,
96,
110,
98,
1475,
3668,
64,
733,
364,
1301,
1475,
1952,
7633,
64,
547,
339,
547,
1644,
64,
343,
339,
310,
339,
603,
496,
1806,
310,
581,
782,
5876,
93,
100,
27722,
1736,
5985,
93,
45,
333,
5985,
93,
7125,
49,
828,
3002,
93,
2525,
49,
828,
5985,
93,
4724,
46,
320,
343,
648,
613,
49,
614,
49,
1952,
7264,
64,
343,
648,
364,
1301,
299,
244,
53,
64,
343,
1175,
1916,
1197,
364,
2664,
49,
373,
2664,
64,
343,
1916,
1197,
7125,
2664,
64,
1083,
1217,
327,
3160,
51,
31744,
365,
2394,
2525,
51,
41435,
7633,
1052,
343,
1217,
327,
6295,
51,
31744,
365,
2394,
2525,
51,
41435,
7264,
1052,
1083,
364,
2664,
299,
2525,
51,
724,
3690,
2664,
492,
343,
373,
2664,
299,
4724,
51,
724,
3690,
2664,
492,
343,
7125,
2664,
299,
7125,
51,
724,
3690,
2664,
492,
343,
1952,
7264,
299,
2525,
51,
41435,
7264,
492,
343,
3593,
327,
1322,
51,
41435,
7633,
1177,
320,
419,
1152,
244,
54,
63,
547,
456,
327,
110,
299,
244,
53,
64,
613,
350,
1952,
7264,
64,
613,
2002,
320,
733,
7125,
2664,
96,
110,
98,
5928,
364,
2664,
96,
114,
1301,
494,
244,
53,
98,
338,
373,
2664,
96,
53,
988,
733,
364,
1301,
3348,
547,
339,
547,
1644,
64,
419,
1152,
244,
55,
63,
547,
456,
327,
110,
299,
244,
53,
64,
613,
350,
1952,
7264,
64,
613,
2002,
320,
733,
7125,
2664,
96,
110,
98,
5928,
364,
2664,
96,
114,
1301,
494,
244,
53,
98,
338,
373,
2664,
96,
53,
98,
494,
364,
2664,
96,
114,
1301,
494,
244,
54,
98,
338,
373,
2664,
96,
54,
988,
733,
364,
1301,
1475,
244,
55,
64,
547,
339,
547,
1644,
64,
419,
1152,
244,
56,
63,
547,
456,
327,
110,
299,
244,
53,
64,
613,
350,
1952,
7264,
64,
613,
2002,
320,
733,
7125,
2664,
96,
110,
98,
5928,
364,
2664,
96,
114,
1301,
494,
244,
53,
98,
338,
373,
2664,
96,
53,
98,
494,
364,
2664,
96,
114,
1301,
494,
244,
54,
98,
338,
373,
2664,
96,
54,
98,
494,
364,
2664,
96,
114,
1301,
494,
244,
55,
98,
338,
373,
2664,
96,
55,
988,
733,
364,
1301,
1475,
244,
56,
64,
547,
339,
547,
1644,
64,
419,
1152,
244,
57,
63,
547,
456,
327,
110,
299,
244,
53,
64,
613,
350,
1952,
7264,
64,
613,
2002,
320,
733,
7125,
2664,
96,
110,
98,
5928,
364,
2664,
96,
114,
1301,
494,
244,
53,
98,
338,
373,
2664,
96,
53,
98,
494,
364,
2664,
96,
114,
1301,
494,
244,
54,
98,
338,
373,
2664,
96,
54,
98,
494,
364,
2664,
96,
114,
1301,
494,
244,
55,
98,
338,
373,
2664,
96,
55,
98,
1396,
494,
364,
2664,
96,
114,
1301,
494,
244,
56,
98,
338,
373,
2664,
96,
56,
988,
733,
364,
1301,
1475,
244,
57,
64,
547,
339,
547,
1644,
64,
419,
1152,
244,
58,
63,
547,
456,
327,
110,
299,
244,
53,
64,
613,
350,
1952,
7264,
64,
613,
2002,
320,
733,
7125,
2664,
96,
110,
98,
5928,
364,
2664,
96,
114,
1301,
494,
244,
53,
98,
338,
373,
2664,
96,
53,
98,
494,
364,
2664,
96,
114,
1301,
494,
244,
54,
98,
338,
373,
2664,
96,
54,
98,
494,
364,
2664,
96,
114,
1301,
494,
244,
55,
98,
338,
373,
2664,
96,
55,
98,
1396,
494,
364,
2664,
96,
114,
1301,
494,
244,
56,
98,
338,
373,
2664,
96,
56,
98,
494,
364,
2664,
96,
114,
1301,
494,
244,
57,
98,
338,
373,
2664,
96,
57,
988,
733,
364,
1301,
1475,
244,
58,
64,
547,
339,
547,
1644,
64,
419,
1152,
244,
59,
63,
547,
456,
327,
110,
299,
244,
53,
64,
613,
350,
1952,
7264,
64,
613,
2002,
320,
733,
7125,
2664,
96,
110,
98,
5928,
364,
2664,
96,
114,
1301,
494,
244,
53,
98,
338,
373,
2664,
96,
53,
98,
494,
364,
2664,
96,
114,
1301,
494,
244,
54,
98,
338,
373,
2664,
96,
54,
98,
494,
364,
2664,
96,
114,
1301,
494,
244,
55,
98,
338,
373,
2664,
96,
55,
98,
1396,
494,
364,
2664,
96,
114,
1301,
494,
244,
56,
98,
338,
373,
2664,
96,
56,
98,
494,
364,
2664,
96,
114,
1301,
494,
244,
57,
98,
338,
373,
2664,
96,
57,
98,
494,
364,
2664,
96,
114,
1301,
494,
244,
58,
98,
338,
373,
2664,
96,
58,
988,
733,
364,
1301,
1475,
244,
59,
64,
547,
339,
547,
1644,
64,
419,
1263,
63,
547,
648,
1952,
7633,
299,
2525,
51,
41435,
7633,
492,
547,
456,
327,
110,
299,
244,
53,
64,
613,
350,
1952,
7264,
64,
613,
2002,
320,
733,
1916,
3668,
299,
364,
2664,
96,
114,
1301,
494,
244,
53,
98,
338,
373,
2664,
96,
53,
988,
733,
456,
327,
111,
299,
244,
54,
64,
614,
350,
1952,
7633,
64,
614,
2002,
320,
1031,
3668,
1475,
364,
2664,
96,
114,
1301,
494,
614,
98,
338,
373,
2664,
96,
111,
988,
733,
339,
733,
7125,
2664,
96,
110,
98,
5928,
3668,
64,
733,
364,
1301,
1475,
1952,
7633,
64,
547,
339,
547,
1644,
64,
343,
339,
310,
339,
603,
496,
1806,
310,
581,
782,
5876,
93,
100,
33623,
27722,
5985,
93,
45,
333,
5985,
93,
7125,
49,
828,
3002,
93,
2525,
49,
828,
5985,
93,
4724,
46,
320,
343,
648,
613,
49,
614,
49,
1952,
7633,
64,
343,
648,
364,
1301,
299,
244,
53,
64,
343,
1175,
1916,
1197,
364,
2664,
49,
373,
2664,
64,
343,
1916,
1197,
7125,
2664,
64,
1083,
1217,
327,
3160,
51,
31744,
365,
2394,
2525,
51,
41435,
7264,
1052,
343,
1217,
327,
6295,
51,
31744,
365,
2394,
2525,
51,
41435,
7633,
1052,
1083,
364,
2664,
299,
2525,
51,
724,
3690,
2664,
492,
343,
373,
2664,
299,
4724,
51,
724,
3690,
2664,
492,
343,
7125,
2664,
299,
7125,
51,
724,
3690,
2664,
492,
343,
1952,
7633,
299,
2525,
51,
41435,
7633,
492,
343,
3593,
327,
1322,
51,
41435,
7264,
1177,
320,
419,
1152,
244,
54,
63,
547,
456,
327,
110,
299,
244,
53,
64,
613,
350,
1952,
7633,
64,
613,
2002,
24167,
10767,
63,
1571,
4964,
391,
1437,
11781,
733,
7125,
2664,
96,
110,
98,
299,
364,
2664,
96,
114,
1301,
98,
338,
373,
2664,
96,
53,
988,
733,
364,
1301,
3348,
547,
339,
547,
1644,
64,
419,
1152,
244,
55,
63,
547,
456,
327,
110,
299,
244,
53,
64,
613,
350,
1952,
7633,
64,
613,
2002,
320,
733,
7125,
2664,
96,
110,
98,
299,
364,
2664,
96,
114,
1301,
98,
338,
373,
2664,
96,
53,
98,
494,
364,
2664,
96,
114,
1301,
494,
1952,
7633,
98,
338,
373,
2664,
96,
54,
988,
733,
364,
1301,
3348,
547,
339,
547,
1644,
64,
419,
1152,
244,
56,
63,
547,
456,
327,
110,
299,
244,
53,
64,
613,
350,
1952,
7633,
64,
613,
2002,
320,
733,
7125,
2664,
96,
110,
98,
299,
364,
2664,
96,
114,
1301,
98,
338,
373,
2664,
96,
53,
98,
494,
364,
2664,
96,
114,
1301,
494,
1952,
7633,
98,
338,
373,
2664,
96,
54,
98,
494,
364,
2664,
96,
114,
1301,
494,
244,
55,
338,
1952,
7633,
98,
338,
373,
2664,
96,
55,
988,
733,
364,
1301,
3348,
547,
339,
547,
1644,
64,
419,
1152,
244,
57,
63,
547,
456,
327,
110,
299,
244,
53,
64,
613,
350,
1952,
7633,
64,
613,
2002,
320,
733,
7125,
2664,
96,
110,
98,
299,
364,
2664,
96,
114,
1301,
98,
338,
373,
2664,
96,
53,
98,
494,
364,
2664,
96,
114,
1301,
494,
1952,
7633,
98,
338,
373,
2664,
96,
54,
98,
494,
364,
2664,
96,
114,
1301,
494,
244,
55,
338,
1952,
7633,
98,
338,
373,
2664,
96,
55,
98,
1396,
494,
364,
2664,
96,
114,
1301,
494,
244,
56,
338,
1952,
7633,
98,
338,
373,
2664,
96,
56,
988,
733,
364,
1301,
3348,
547,
339,
547,
1644,
64,
419,
1152,
244,
58,
63,
547,
456,
327,
110,
299,
244,
53,
64,
613,
350,
1952,
7633,
64,
613,
2002,
320,
733,
7125,
2664,
96,
110,
98,
299,
364,
2664,
96,
114,
1301,
98,
338,
373,
2664,
96,
53,
98,
494,
364,
2664,
96,
114,
1301,
494,
1952,
7633,
98,
338,
373,
2664,
96,
54,
98,
494,
364,
2664,
96,
114,
1301,
494,
244,
55,
338,
1952,
7633,
98,
338,
373,
2664,
96,
55,
98,
1396,
494,
364,
2664,
96,
114,
1301,
494,
244,
56,
338,
1952,
7633,
98,
338,
373,
2664,
96,
56,
98,
494,
364,
2664,
96,
114,
1301,
494,
244,
57,
338,
1952,
7633,
98,
338,
373,
2664,
96,
57,
988,
733,
364,
1301,
3348,
547,
339,
547,
1644,
64,
419,
1152,
244,
59,
63,
547,
456,
327,
110,
299,
244,
53,
64,
613,
350,
1952,
7633,
64,
613,
2002,
320,
733,
7125,
2664,
96,
110,
98,
299,
364,
2664,
96,
114,
1301,
98,
338,
373,
2664,
96,
53,
98,
494,
364,
2664,
96,
114,
1301,
494,
1952,
7633,
98,
338,
373,
2664,
96,
54,
98,
494,
364,
2664,
96,
114,
1301,
494,
244,
55,
338,
1952,
7633,
98,
338,
373,
2664,
96,
55,
98,
1396,
494,
364,
2664,
96,
114,
1301,
494,
244,
56,
338,
1952,
7633,
98,
338,
373,
2664,
96,
56,
98,
494,
364,
2664,
96,
114,
1301,
494,
244,
57,
338,
1952,
7633,
98,
338,
373,
2664,
96,
57,
98,
494,
364,
2664,
96,
114,
1301,
494,
244,
58,
338,
1952,
7633,
98,
338,
373,
2664,
96,
58,
988,
733,
364,
1301,
3348,
547,
339,
547,
1644,
64,
419,
1263,
63,
547,
648,
1952,
7264,
299,
2525,
51,
41435,
7264,
492,
547,
456,
327,
110,
299,
244,
53,
64,
613,
350,
1952,
7633,
64,
613,
2002,
320,
733,
364,
1301,
299,
613,
64,
733,
1916,
3668,
299,
364,
2664,
96,
53,
98,
338,
373,
2664,
96,
53,
988,
733,
456,
327,
111,
299,
244,
54,
64,
614,
350,
1952,
7264,
64,
614,
2002,
320,
1031,
364,
1301,
1475,
1952,
7633,
64,
1031,
3668,
1475,
364,
2664,
96,
53,
98,
338,
373,
2664,
96,
111,
988,
733,
339,
733,
7125,
2664,
96,
110,
98,
299,
3668,
64,
547,
339,
547,
1644,
64,
343,
339,
310,
339,
603,
496,
1806,
310,
581,
782,
5876,
93,
100,
33623,
27722,
1121,
5985,
93,
45,
333,
5985,
93,
7125,
49,
828,
3002,
93,
2525,
49,
828,
5985,
93,
4724,
46,
320,
343,
648,
613,
49,
614,
49,
1952,
7633,
64,
343,
648,
364,
1301,
299,
244,
53,
64,
343,
1175,
1916,
1197,
364,
2664,
49,
373,
2664,
64,
343,
1916,
1197,
7125,
2664,
64,
1083,
1217,
327,
3160,
51,
31744,
365,
2394,
2525,
51,
41435,
7264,
1052,
343,
1217,
327,
6295,
51,
31744,
365,
2394,
2525,
51,
41435,
7633,
1052,
1083,
364,
2664,
299,
2525,
51,
724,
3690,
2664,
492,
343,
373,
2664,
299,
4724,
51,
724,
3690,
2664,
492,
343,
7125,
2664,
299,
7125,
51,
724,
3690,
2664,
492,
343,
1952,
7633,
299,
2525,
51,
41435,
7633,
492,
343,
3593,
327,
1322,
51,
41435,
7264,
1177,
320,
419,
1152,
244,
54,
63,
547,
456,
327,
110,
299,
244,
53,
64,
613,
350,
1952,
7633,
64,
613,
2002,
320,
733,
7125,
2664,
96,
110,
98,
1475,
364,
2664,
96,
114,
1301,
98,
338,
373,
2664,
96,
53,
988,
733,
364,
1301,
3348,
547,
339,
547,
1644,
64,
419,
1152,
244,
55,
63,
547,
456,
327,
110,
299,
244,
53,
64,
613,
350,
1952,
7633,
64,
613,
2002,
320,
733,
7125,
2664,
96,
110,
98,
1475,
364,
2664,
96,
114,
1301,
98,
338,
373,
2664,
96,
53,
98,
494,
364,
2664,
96,
114,
1301,
494,
1952,
7633,
98,
338,
373,
2664,
96,
54,
988,
733,
364,
1301,
3348,
547,
339,
547,
1644,
64,
419,
1152,
244,
56,
63,
547,
456,
327,
110,
299,
244,
53,
64,
613,
350,
1952,
7633,
64,
613,
2002,
320,
733,
7125,
2664,
96,
110,
98,
1475,
364,
2664,
96,
114,
1301,
98,
338,
373,
2664,
96,
53,
98,
494,
364,
2664,
96,
114,
1301,
494,
1952,
7633,
98,
338,
373,
2664,
96,
54,
98,
494,
364,
2664,
96,
114,
1301,
494,
244,
55,
338,
1952,
7633,
98,
338,
373,
2664,
96,
55,
988,
733,
364,
1301,
3348,
547,
339,
547,
1644,
64,
419,
1152,
244,
57,
63,
547,
456,
327,
110,
299,
244,
53,
64,
613,
350,
1952,
7633,
64,
613,
2002,
320,
733,
7125,
2664,
96,
110,
98,
1475,
364,
2664,
96,
114,
1301,
98,
338,
373,
2664,
96,
53,
98,
494,
364,
2664,
96,
114,
1301,
494,
1952,
7633,
98,
338,
373,
2664,
96,
54,
98,
494,
364,
2664,
96,
114,
1301,
494,
244,
55,
338,
1952,
7633,
98,
338,
373,
2664,
96,
55,
98,
1396,
494,
364,
2664,
96,
114,
1301,
494,
244,
56,
338,
1952,
7633,
98,
338,
373,
2664,
96,
56,
988,
733,
364,
1301,
3348,
547,
339,
547,
1644,
64,
419,
1152,
244,
58,
63,
547,
456,
327,
110,
299,
244,
53,
64,
613,
350,
1952,
7633,
64,
613,
2002,
320,
733,
7125,
2664,
96,
110,
98,
1475,
364,
2664,
96,
114,
1301,
98,
338,
373,
2664,
96,
53,
98,
494,
364,
2664,
96,
114,
1301,
494,
1952,
7633,
98,
338,
373,
2664,
96,
54,
98,
494,
364,
2664,
96,
114,
1301,
494,
244,
55,
338,
1952,
7633,
98,
338,
373,
2664,
96,
55,
98,
1396,
494,
364,
2664,
96,
114,
1301,
494,
244,
56,
338,
1952,
7633,
98,
338,
373,
2664,
96,
56,
98,
494,
364,
2664,
96,
114,
1301,
494,
244,
57,
338,
1952,
7633,
98,
338,
373,
2664,
96,
57,
988,
733,
364,
1301,
3348,
547,
339,
547,
1644,
64,
419,
1152,
244,
59,
63,
547,
456,
327,
110,
299,
244,
53,
64,
613,
350,
1952,
7633,
64,
613,
2002,
320,
733,
7125,
2664,
96,
110,
98,
1475,
364,
2664,
96,
114,
1301,
98,
338,
373,
2664,
96,
53,
98,
494,
364,
2664,
96,
114,
1301,
494,
1952,
7633,
98,
338,
373,
2664,
96,
54,
98,
494,
364,
2664,
96,
114,
1301,
494,
244,
55,
338,
1952,
7633,
98,
338,
373,
2664,
96,
55,
98,
1396,
494,
364,
2664,
96,
114,
1301,
494,
244,
56,
338,
1952,
7633,
98,
338,
373,
2664,
96,
56,
98,
494,
364,
2664,
96,
114,
1301,
494,
244,
57,
338,
1952,
7633,
98,
338,
373,
2664,
96,
57,
98,
494,
364,
2664,
96,
114,
1301,
494,
244,
58,
338,
1952,
7633,
98,
338,
373,
2664,
96,
58,
988,
733,
364,
1301,
3348,
547,
339,
547,
1644,
64,
419,
1263,
63,
547,
648,
1952,
7264,
299,
2525,
51,
41435,
7264,
492,
547,
456,
327,
110,
299,
244,
53,
64,
613,
350,
1952,
7633,
64,
613,
2002,
320,
733,
364,
1301,
299,
613,
64,
733,
1916,
3668,
299,
364,
2664,
96,
53,
98,
338,
373,
2664,
96,
53,
988,
733,
456,
327,
111,
299,
244,
54,
64,
614,
350,
1952,
7264,
64,
614,
2002,
320,
1031,
364,
1301,
1475,
1952,
7633,
64,
1031,
3668,
1475,
364,
2664,
96,
53,
98,
338,
373,
2664,
96,
111,
988,
733,
339,
733,
7125,
2664,
96,
110,
98,
1475,
3668,
64,
547,
339,
547,
1644,
64,
343,
339,
310,
339,
603,
496,
1806,
310,
581,
782,
5876,
93,
100,
33623,
27722,
1736,
5985,
93,
45,
333,
5985,
93,
7125,
49,
828,
3002,
93,
2525,
49,
828,
5985,
93,
4724,
46,
320,
343,
648,
613,
49,
1952,
7633,
64,
343,
648,
364,
1301,
299,
244,
53,
64,
343,
1175,
1916,
1197,
364,
2664,
49,
373,
2664,
64,
343,
1916,
1197,
7125,
2664,
64,
1083,
1217,
327,
3160,
51,
31744,
365,
2394,
2525,
51,
41435,
7264,
1052,
343,
1217,
327,
6295,
51,
31744,
365,
2394,
2525,
51,
41435,
7633,
1052,
1083,
364,
2664,
299,
2525,
51,
724,
3690,
2664,
492,
343,
373,
2664,
299,
4724,
51,
724,
3690,
2664,
492,
343,
7125,
2664,
299,
7125,
51,
724,
3690,
2664,
492,
343,
1952,
7633,
299,
2525,
51,
41435,
7633,
492,
343,
3593,
327,
1322,
51,
41435,
7264,
1177,
320,
419,
1152,
244,
54,
63,
547,
456,
327,
110,
299,
244,
53,
64,
613,
350,
1952,
7633,
64,
613,
2002,
320,
733,
7125,
2664,
96,
110,
98,
5928,
364,
2664,
96,
114,
1301,
98,
338,
373,
2664,
96,
53,
988,
733,
364,
1301,
3348,
547,
339,
547,
1644,
64,
419,
1152,
244,
55,
63,
547,
456,
327,
110,
299,
244,
53,
64,
613,
350,
1952,
7633,
64,
613,
2002,
320,
733,
7125,
2664,
96,
110,
98,
5928,
364,
2664,
96,
114,
1301,
98,
338,
373,
2664,
96,
53,
98,
494,
364,
2664,
96,
114,
1301,
494,
1952,
7633,
98,
338,
373,
2664,
96,
54,
988,
733,
364,
1301,
3348,
547,
339,
547,
1644,
64,
419,
1152,
244,
56,
63,
547,
456,
327,
110,
299,
244,
53,
64,
613,
350,
1952,
7633,
64,
613,
2002,
320,
733,
7125,
2664,
96,
110,
98,
5928,
364,
2664,
96,
114,
1301,
98,
338,
373,
2664,
96,
53,
98,
494,
364,
2664,
96,
114,
1301,
494,
1952,
7633,
98,
338,
373,
2664,
96,
54,
98,
494,
364,
2664,
96,
114,
1301,
494,
244,
55,
338,
1952,
7633,
98,
338,
373,
2664,
96,
55,
988,
733,
364,
1301,
3348,
547,
339,
547,
1644,
64,
419,
1152,
244,
57,
63,
547,
456,
327,
110,
299,
244,
53,
64,
613,
350,
1952,
7633,
64,
613,
2002,
320,
733,
7125,
2664,
96,
110,
98,
5928,
364,
2664,
96,
114,
1301,
98,
338,
373,
2664,
96,
53,
98,
494,
364,
2664,
96,
114,
1301,
494,
1952,
7633,
98,
338,
373,
2664,
96,
54,
98,
494,
364,
2664,
96,
114,
1301,
494,
244,
55,
338,
1952,
7633,
98,
338,
373,
2664,
96,
55,
98,
1396,
494,
364,
2664,
96,
114,
1301,
494,
244,
56,
338,
1952,
7633,
98,
338,
373,
2664,
96,
56,
988,
733,
364,
1301,
3348,
547,
339,
547,
1644,
64,
419,
1152,
244,
58,
63,
547,
456,
327,
110,
299,
244,
53,
64,
613,
350,
1952,
7633,
64,
613,
2002,
320,
733,
7125,
2664,
96,
110,
98,
5928,
364,
2664,
96,
114,
1301,
98,
338,
373,
2664,
96,
53,
98,
494,
364,
2664,
96,
114,
1301,
494,
1952,
7633,
98,
338,
373,
2664,
96,
54,
98,
494,
364,
2664,
96,
114,
1301,
494,
244,
55,
338,
1952,
7633,
98,
338,
373,
2664,
96,
55,
98,
1396,
494,
364,
2664,
96,
114,
1301,
494,
244,
56,
338,
1952,
7633,
98,
338,
373,
2664,
96,
56,
98,
494,
364,
2664,
96,
114,
1301,
494,
244,
57,
338,
1952,
7633,
98,
338,
373,
2664,
96,
57,
988,
733,
364,
1301,
3348,
547,
339,
547,
1644,
64,
419,
1152,
244,
59,
63,
547,
456,
327,
110,
299,
244,
53,
64,
613,
350,
1952,
7633,
64,
613,
2002,
320,
733,
7125,
2664,
96,
110,
98,
5928,
364,
2664,
96,
114,
1301,
98,
338,
373,
2664,
96,
53,
98,
494,
364,
2664,
96,
114,
1301,
494,
1952,
7633,
98,
338,
373,
2664,
96,
54,
98,
494,
364,
2664,
96,
114,
1301,
494,
244,
55,
338,
1952,
7633,
98,
338,
373,
2664,
96,
55,
98,
1396,
494,
364,
2664,
96,
114,
1301,
494,
244,
56,
338,
1952,
7633,
98,
338,
373,
2664,
96,
56,
98,
494,
364,
2664,
96,
114,
1301,
494,
244,
57,
338,
1952,
7633,
98,
338,
373,
2664,
96,
57,
98,
494,
364,
2664,
96,
114,
1301,
494,
244,
58,
338,
1952,
7633,
98,
338,
373,
2664,
96,
58,
988,
733,
364,
1301,
3348,
547,
339,
547,
1644,
64,
419,
1263,
63,
547,
648,
1952,
7264,
299,
2525,
51,
41435,
7264,
492,
547,
456,
327,
110,
299,
244,
53,
64,
613,
350,
1952,
7633,
64,
613,
2002,
320,
733,
364,
1301,
299,
613,
64,
733,
1916,
3668,
299,
364,
2664,
96,
114,
1301,
98,
338,
373,
2664,
96,
53,
988,
733,
456,
327,
429,
614,
299,
244,
54,
64,
614,
350,
1952,
7264,
64,
614,
2002,
320,
1031,
364,
1301,
1475,
1952,
7633,
64,
1031,
3668,
1475,
364,
2664,
96,
114,
1301,
98,
338,
373,
2664,
96,
111,
988,
733,
339,
733,
7125,
2664,
96,
110,
98,
5928,
3668,
64,
547,
339,
547,
1644,
64,
343,
339,
310,
339,
603,
1276,
295,
48172,
295,
828,
31478,
100,
4020,
422,
3002,
93,
100,
27722,
3002,
93,
11274,
6630,
5072,
341,
2434,
5083,
12099,
9974,
63,
11274,
508,
125,
83,
338,
508,
125,
59,
633,
59,
125,
83,
338,
508,
125,
59,
295,
508,
125,
59,
338,
244,
59,
125,
83,
633,
59,
125,
59,
338,
244,
59,
125,
83,
11274,
642,
508,
347,
341,
2189,
447,
54,
50,
59,
1015,
295,
48172,
295,
588,
310,
496,
1806,
310,
581,
782,
5876,
93,
100,
27722,
3002,
93,
45,
333,
3002,
93,
7125,
49,
828,
3002,
93,
364,
54,
49,
828,
3002,
93,
364,
55,
46,
320,
343,
648,
613,
49,
614,
49,
851,
49,
475,
49,
329,
64,
343,
648,
364,
54,
1301,
299,
244,
53,
49,
364,
55,
1301,
299,
244,
53,
49,
362,
1301,
299,
244,
53,
64,
343,
1916,
1197,
7125,
2664,
64,
343,
1175,
1916,
1197,
364,
54,
2664,
49,
364,
55,
2664,
64,
343,
2082,
3668,
64,
1083,
1217,
327,
114,
54,
51,
41435,
7633,
365,
630,
364,
55,
51,
41435,
7264,
1052,
1083,
7125,
2664,
299,
7125,
51,
724,
3690,
2664,
36622,
10767,
63,
1571,
1916,
1768,
1769,
4141,
343,
364,
54,
2664,
299,
364,
54,
51,
724,
3690,
2664,
492,
343,
364,
55,
2664,
299,
364,
55,
51,
724,
3690,
2664,
492,
343,
851,
299,
364,
54,
51,
41435,
7264,
492,
343,
475,
299,
364,
55,
51,
41435,
7633,
492,
1083,
3593,
327,
114,
54,
51,
41435,
7633,
1177,
320,
419,
1152,
244,
54,
63,
320,
547,
434,
327,
113,
630,
244,
59,
46,
320,
733,
456,
327,
110,
299,
244,
53,
64,
613,
350,
851,
64,
613,
2002,
320,
221,
221,
325,
508,
125,
54,
338,
244,
54,
125,
59,
1031,
7125,
2664,
96,
105,
1301,
13415,
299,
364,
54,
2664,
96,
114,
54,
1301,
494,
613,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
53,
988,
1031,
7125,
2664,
96,
105,
1301,
13415,
299,
364,
54,
2664,
96,
114,
54,
1301,
494,
613,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
54,
988,
1031,
7125,
2664,
96,
105,
1301,
13415,
299,
364,
54,
2664,
96,
114,
54,
1301,
494,
613,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
55,
988,
1031,
7125,
2664,
96,
105,
1301,
13415,
299,
364,
54,
2664,
96,
114,
54,
1301,
494,
613,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
56,
988,
1031,
7125,
2664,
96,
105,
1301,
13415,
299,
364,
54,
2664,
96,
114,
54,
1301,
494,
613,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
57,
988,
1031,
7125,
2664,
96,
105,
1301,
13415,
299,
364,
54,
2664,
96,
114,
54,
1301,
494,
613,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
58,
988,
733,
339,
733,
461,
64,
547,
339,
547,
456,
327,
110,
299,
244,
53,
64,
613,
350,
851,
64,
613,
2002,
320,
733,
364,
55,
1301,
299,
244,
53,
64,
733,
456,
327,
111,
299,
244,
53,
64,
614,
350,
475,
64,
614,
2002,
320,
1031,
7125,
2664,
96,
105,
1301,
13415,
299,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
53,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
53,
988,
1031,
364,
55,
1301,
3348,
733,
339,
733,
364,
54,
1301,
3348,
547,
339,
547,
1644,
64,
419,
339,
419,
1152,
244,
55,
63,
320,
547,
434,
327,
113,
630,
244,
59,
46,
320,
733,
456,
327,
110,
299,
244,
53,
64,
613,
350,
851,
64,
613,
2002,
320,
221,
221,
325,
508,
125,
55,
338,
244,
55,
125,
59,
1031,
7125,
2664,
96,
105,
1301,
13415,
299,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
53,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
53,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
54,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
59,
988,
1031,
7125,
2664,
96,
105,
1301,
13415,
299,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
53,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
54,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
54,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
60,
988,
1031,
7125,
2664,
96,
105,
1301,
13415,
299,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
53,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
55,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
54,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
61,
988,
1031,
7125,
2664,
96,
105,
1301,
13415,
299,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
53,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
56,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
54,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
62,
988,
1031,
7125,
2664,
96,
105,
1301,
13415,
299,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
53,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
57,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
54,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
54,
53,
988,
1031,
7125,
2664,
96,
105,
1301,
13415,
299,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
53,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
58,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
54,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
54,
54,
988,
1031,
364,
54,
1301,
1475,
244,
55,
64,
733,
339,
733,
461,
64,
547,
339,
547,
456,
327,
110,
299,
244,
53,
64,
613,
350,
851,
64,
613,
2002,
320,
733,
364,
55,
1301,
299,
244,
53,
64,
733,
456,
327,
111,
299,
244,
53,
64,
614,
350,
475,
64,
614,
2002,
320,
1031,
7125,
2664,
96,
105,
1301,
13415,
299,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
53,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
53,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
54,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
475,
988,
1031,
364,
55,
1301,
3348,
733,
339,
733,
364,
54,
1301,
1475,
244,
55,
64,
547,
339,
547,
1644,
64,
419,
339,
419,
1152,
244,
56,
63,
320,
547,
434,
327,
113,
630,
244,
59,
46,
320,
733,
456,
327,
110,
299,
244,
53,
64,
613,
350,
851,
64,
613,
2002,
320,
221,
221,
325,
508,
125,
56,
338,
244,
56,
125,
59,
1031,
7125,
2664,
96,
105,
1301,
13415,
299,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
53,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
53,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
54,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
59,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
55,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
54,
55,
988,
1031,
7125,
2664,
96,
105,
1301,
13415,
299,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
53,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
54,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
54,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
60,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
55,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
54,
56,
988,
1031,
7125,
2664,
96,
105,
1301,
13415,
299,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
53,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
55,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
54,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
61,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
55,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
54,
57,
988,
1031,
7125,
2664,
96,
105,
1301,
13415,
299,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
53,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
56,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
54,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
62,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
55,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
54,
58,
988,
1031,
7125,
2664,
96,
105,
1301,
13415,
299,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
53,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
57,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
54,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
54,
53,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
55,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
54,
59,
988,
1031,
7125,
2664,
96,
105,
1301,
13415,
299,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
53,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
58,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
54,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
54,
54,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
55,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
54,
60,
988,
1031,
364,
54,
1301,
1475,
244,
56,
64,
733,
339,
733,
461,
64,
547,
339,
547,
456,
327,
110,
299,
244,
53,
64,
613,
350,
851,
64,
613,
2002,
320,
733,
364,
55,
1301,
299,
244,
53,
64,
733,
456,
327,
111,
299,
244,
53,
64,
614,
350,
475,
64,
614,
2002,
320,
1031,
7125,
2664,
96,
105,
1301,
13415,
299,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
53,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
53,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
54,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
475,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
55,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
55,
338,
475,
988,
1031,
364,
55,
1301,
3348,
733,
339,
733,
364,
54,
1301,
1475,
244,
56,
64,
547,
339,
547,
1644,
64,
419,
339,
419,
1152,
244,
57,
63,
320,
547,
434,
327,
113,
630,
244,
59,
46,
320,
733,
456,
327,
110,
299,
244,
53,
64,
613,
350,
851,
64,
613,
2002,
320,
221,
221,
325,
508,
125,
57,
338,
244,
57,
125,
59,
1031,
7125,
2664,
96,
105,
1301,
13415,
299,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
53,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
53,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
54,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
280,
59,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
55,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
54,
55,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
56,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
54,
61,
988,
1031,
7125,
2664,
96,
105,
1301,
13415,
299,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
53,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
54,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
54,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
280,
60,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
55,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
54,
56,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
56,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
54,
62,
988,
1031,
7125,
2664,
96,
105,
1301,
13415,
299,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
53,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
55,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
54,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
280,
61,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
55,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
54,
57,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
56,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
55,
53,
988,
1031,
7125,
2664,
96,
105,
1301,
13415,
299,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
53,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
56,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
54,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
280,
62,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
55,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
54,
58,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
56,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
55,
54,
988,
1031,
7125,
2664,
96,
105,
1301,
13415,
299,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
53,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
57,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
54,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
54,
53,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
55,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
54,
59,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
56,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
55,
55,
988,
1031,
7125,
2664,
96,
105,
1301,
13415,
299,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
53,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
58,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
54,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
54,
54,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
55,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
54,
60,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
56,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
55,
56,
988,
1031,
364,
54,
1301,
1475,
244,
57,
64,
733,
339,
733,
461,
64,
547,
339,
547,
456,
327,
110,
299,
244,
53,
64,
613,
350,
851,
64,
613,
2002,
320,
733,
364,
55,
1301,
299,
244,
53,
64,
733,
456,
327,
111,
299,
244,
53,
64,
614,
350,
475,
64,
614,
2002,
320,
1031,
7125,
2664,
96,
105,
1301,
13415,
299,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
53,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
53,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
54,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
475,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
55,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
55,
338,
475,
98,
1908,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
56,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
56,
338,
475,
988,
1031,
364,
55,
1301,
3348,
733,
339,
733,
364,
54,
1301,
1475,
244,
57,
64,
547,
339,
547,
1644,
64,
419,
339,
419,
1152,
244,
58,
63,
320,
547,
434,
327,
113,
630,
244,
59,
46,
320,
733,
456,
327,
110,
299,
244,
53,
64,
613,
350,
851,
64,
613,
2002,
320,
221,
221,
325,
508,
125,
58,
338,
244,
58,
125,
59,
1031,
7125,
2664,
96,
105,
1301,
13415,
299,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
53,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
53,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
54,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
59,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
55,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
54,
55,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
56,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
54,
61,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
57,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
55,
57,
988,
1031,
7125,
2664,
96,
105,
1301,
13415,
299,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
53,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
54,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
54,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
60,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
55,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
54,
56,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
56,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
54,
62,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
57,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
55,
58,
988,
1031,
7125,
2664,
96,
105,
1301,
13415,
299,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
53,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
55,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
54,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
61,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
55,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
54,
57,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
56,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
55,
53,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
57,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
55,
59,
988,
1031,
7125,
2664,
96,
105,
1301,
13415,
299,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
53,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
56,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
54,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
62,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
55,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
54,
58,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
56,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
55,
54,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
57,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
55,
60,
988,
1031,
7125,
2664,
96,
105,
1301,
13415,
299,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
53,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
57,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
54,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
54,
53,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
55,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
54,
59,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
56,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
55,
55,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
57,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
55,
61,
988,
1031,
7125,
2664,
96,
105,
1301,
13415,
299,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
53,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
58,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
54,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
54,
54,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
55,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
54,
60,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
56,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
55,
56,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
57,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
55,
62,
988,
1031,
364,
54,
1301,
1475,
244,
58,
64,
733,
339,
733,
461,
64,
547,
339,
547,
456,
327,
110,
299,
244,
53,
64,
613,
350,
851,
64,
613,
2002,
320,
733,
364,
55,
1301,
299,
244,
53,
64,
733,
456,
327,
111,
299,
244,
53,
64,
614,
350,
475,
64,
614,
2002,
320,
1031,
7125,
2664,
96,
105,
1301,
13415,
299,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
53,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
53,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
54,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
475,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
55,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
55,
338,
475,
98,
1908,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
56,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
56,
338,
475,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
57,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
57,
338,
475,
988,
1031,
364,
55,
1301,
3348,
733,
339,
733,
364,
54,
1301,
1475,
244,
58,
64,
547,
339,
547,
1644,
64,
419,
339,
419,
1152,
244,
59,
63,
320,
547,
3593,
327,
112,
46,
320,
733,
1152,
244,
54,
63,
320,
1031,
434,
327,
113,
630,
244,
54,
46,
320,
221,
221,
325,
244,
54,
125,
59,
338,
244,
59,
125,
54,
1396,
7125,
2664,
96,
53,
98,
299,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
53,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
53,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
54,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
54,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
55,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
55,
98,
2493,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
56,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
56,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
57,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
57,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
58,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
58,
988,
1396,
461,
64,
1031,
339,
1031,
1644,
64,
733,
339,
733,
1152,
244,
55,
63,
320,
1031,
434,
327,
113,
630,
244,
55,
46,
320,
221,
221,
325,
244,
55,
125,
59,
338,
244,
59,
125,
55,
1396,
456,
327,
110,
299,
244,
53,
64,
613,
350,
244,
55,
64,
613,
2002,
320,
1908,
456,
327,
111,
299,
244,
53,
64,
614,
350,
244,
55,
64,
614,
2002,
320,
2493,
7125,
2664,
96,
105,
1301,
98,
299,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
53,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
53,
338,
244,
55,
494,
614,
98,
4197,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
54,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
54,
338,
244,
55,
494,
614,
98,
4197,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
55,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
55,
338,
244,
55,
494,
614,
98,
4197,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
56,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
56,
338,
244,
55,
494,
614,
98,
4197,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
57,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
57,
338,
244,
55,
494,
614,
98,
4197,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
58,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
58,
338,
244,
55,
494,
614,
988,
2493,
362,
1301,
3348,
1908,
339,
1908,
364,
54,
1301,
1475,
244,
59,
64,
1396,
339,
1396,
461,
64,
1031,
339,
1031,
1644,
64,
733,
339,
733,
1152,
244,
56,
63,
320,
1031,
434,
327,
113,
630,
244,
56,
46,
320,
221,
221,
325,
244,
56,
125,
59,
338,
244,
59,
125,
56,
1396,
456,
327,
110,
299,
244,
53,
64,
613,
350,
244,
56,
64,
613,
2002,
320,
1908,
456,
327,
111,
299,
244,
53,
64,
614,
350,
244,
56,
64,
614,
2002,
320,
2493,
7125,
2664,
96,
105,
1301,
98,
299,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
53,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
53,
338,
244,
56,
494,
614,
98,
4197,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
54,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
54,
338,
244,
56,
494,
614,
98,
4197,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
55,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
55,
338,
244,
56,
494,
614,
98,
4197,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
56,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
56,
338,
244,
56,
494,
614,
98,
4197,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
57,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
57,
338,
244,
56,
494,
614,
98,
4197,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
58,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
58,
338,
244,
56,
494,
614,
988,
2493,
362,
1301,
3348,
1908,
339,
1908,
364,
54,
1301,
1475,
244,
59,
64,
1396,
339,
1396,
461,
64,
1031,
339,
1031,
1644,
64,
733,
339,
733,
1152,
244,
57,
63,
320,
1031,
434,
327,
113,
630,
244,
57,
46,
320,
221,
221,
325,
244,
57,
125,
59,
338,
244,
59,
125,
57,
1396,
456,
327,
110,
299,
244,
53,
64,
613,
350,
244,
57,
64,
613,
2002,
320,
1908,
456,
327,
111,
299,
244,
53,
64,
614,
350,
244,
57,
64,
614,
2002,
320,
2493,
7125,
2664,
96,
105,
1301,
98,
299,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
53,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
53,
338,
244,
57,
494,
614,
98,
4197,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
54,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
54,
338,
244,
57,
494,
614,
98,
4197,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
55,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
55,
338,
244,
57,
494,
614,
98,
4197,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
56,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
56,
338,
244,
57,
494,
614,
98,
4197,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
57,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
57,
338,
244,
57,
494,
614,
98,
4197,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
58,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
58,
338,
244,
57,
494,
614,
988,
2493,
362,
1301,
3348,
1908,
339,
1908,
364,
54,
1301,
1475,
244,
59,
64,
1396,
339,
1396,
461,
64,
1031,
339,
733,
339,
733,
1152,
244,
58,
63,
320,
1031,
434,
327,
113,
630,
244,
58,
46,
320,
221,
221,
325,
244,
58,
125,
59,
338,
244,
59,
125,
58,
1396,
456,
327,
110,
299,
244,
53,
64,
613,
350,
244,
58,
64,
613,
2002,
320,
1908,
456,
327,
111,
299,
244,
53,
64,
614,
350,
244,
58,
64,
614,
2002,
320,
2493,
7125,
2664,
96,
105,
1301,
98,
299,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
53,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
53,
338,
244,
58,
494,
614,
98,
4197,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
54,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
54,
338,
244,
58,
494,
614,
98,
4197,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
55,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
55,
338,
244,
58,
494,
614,
98,
4197,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
56,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
56,
338,
244,
58,
494,
614,
98,
4197,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
57,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
57,
338,
244,
58,
494,
614,
98,
4197,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
58,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
58,
338,
244,
58,
494,
614,
988,
2493,
362,
1301,
3348,
1908,
339,
1908,
364,
54,
1301,
1475,
244,
59,
64,
1396,
339,
1396,
461,
64,
1031,
339,
733,
339,
733,
1152,
244,
59,
63,
320,
1031,
3593,
327,
113,
46,
320,
1396,
1152,
244,
54,
63,
320,
221,
221,
325,
244,
59,
125,
59,
338,
244,
59,
125,
54,
1908,
456,
327,
110,
299,
244,
53,
64,
613,
350,
244,
59,
64,
613,
2002,
320,
2493,
7125,
2664,
96,
105,
1301,
98,
299,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
53,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
53,
338,
244,
54,
98,
4197,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
54,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
54,
338,
244,
54,
98,
4197,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
55,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
55,
338,
244,
54,
98,
4197,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
56,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
56,
338,
244,
54,
98,
4197,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
57,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
57,
338,
244,
54,
98,
4197,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
58,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
58,
338,
244,
54,
988,
2493,
362,
1301,
3348,
2493,
364,
54,
1301,
1475,
244,
59,
64,
1908,
339,
1908,
461,
64,
1396,
339,
1396,
1152,
244,
55,
63,
320,
221,
221,
325,
244,
59,
125,
59,
338,
244,
59,
125,
55,
1908,
456,
327,
110,
299,
244,
53,
64,
613,
350,
244,
59,
64,
613,
2002,
320,
2493,
456,
327,
111,
299,
244,
53,
64,
614,
350,
244,
55,
64,
614,
2002,
320,
3402,
7125,
2664,
96,
105,
1301,
98,
299,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
53,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
53,
338,
244,
55,
494,
614,
98,
5605,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
54,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
54,
338,
244,
55,
494,
614,
98,
5605,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
55,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
55,
338,
244,
55,
494,
614,
98,
5605,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
56,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
56,
338,
244,
55,
494,
614,
98,
5605,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
57,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
57,
338,
244,
55,
494,
614,
98,
5605,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
58,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
58,
338,
244,
55,
494,
614,
988,
3402,
362,
1301,
3348,
2493,
339,
2493,
364,
54,
1301,
1475,
244,
59,
64,
1908,
339,
1908,
461,
64,
1396,
339,
1396,
1152,
244,
56,
63,
320,
221,
221,
325,
244,
59,
125,
59,
338,
244,
59,
125,
56,
1908,
456,
327,
110,
299,
244,
53,
64,
613,
350,
244,
59,
64,
613,
2002,
320,
2493,
456,
327,
111,
299,
244,
53,
64,
614,
350,
244,
56,
64,
614,
2002,
320,
3402,
7125,
2664,
96,
105,
1301,
98,
299,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
53,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
53,
338,
244,
56,
494,
614,
98,
5605,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
54,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
54,
338,
244,
56,
494,
614,
98,
5605,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
55,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
55,
338,
244,
56,
494,
614,
98,
5605,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
56,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
56,
338,
244,
56,
494,
614,
98,
5605,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
57,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
57,
338,
244,
56,
494,
614,
98,
5605,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
58,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
58,
338,
244,
56,
494,
614,
988,
3402,
362,
1301,
3348,
2493,
339,
2493,
364,
54,
1301,
1475,
244,
59,
64,
1908,
339,
1908,
461,
64,
1396,
339,
1396,
1152,
244,
57,
63,
320,
221,
221,
325,
244,
59,
125,
59,
338,
244,
59,
125,
57,
1908,
456,
327,
110,
299,
244,
53,
64,
613,
350,
244,
59,
64,
613,
2002,
320,
2493,
456,
327,
111,
299,
244,
53,
64,
614,
350,
244,
57,
64,
614,
2002,
320,
3402,
7125,
2664,
96,
105,
1301,
98,
299,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
53,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
53,
338,
244,
57,
494,
614,
98,
5605,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
54,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
54,
338,
244,
57,
494,
614,
98,
5605,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
55,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
55,
338,
244,
57,
494,
614,
98,
5605,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
56,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
56,
338,
244,
57,
494,
614,
98,
5605,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
57,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
57,
338,
244,
57,
494,
614,
98,
5605,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
58,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
58,
338,
244,
57,
494,
614,
988,
3402,
362,
1301,
3348,
2493,
339,
2493,
364,
54,
1301,
1475,
244,
59,
64,
1908,
339,
1908,
461,
64,
1396,
339,
1396,
1152,
244,
58,
63,
320,
221,
221,
325,
244,
59,
125,
59,
338,
244,
59,
125,
58,
1908,
456,
327,
110,
299,
244,
53,
64,
613,
350,
244,
59,
64,
613,
2002,
320,
2493,
456,
327,
111,
299,
244,
53,
64,
614,
350,
244,
58,
64,
614,
2002,
320,
3402,
7125,
2664,
96,
105,
1301,
98,
299,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
53,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
53,
338,
244,
58,
494,
614,
98,
5605,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
54,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
54,
338,
244,
58,
494,
614,
98,
5605,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
55,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
55,
338,
244,
58,
494,
614,
98,
5605,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
56,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
56,
338,
244,
58,
494,
614,
98,
5605,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
57,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
57,
338,
244,
58,
494,
614,
98,
5605,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
58,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
58,
338,
244,
58,
494,
614,
988,
3402,
362,
1301,
3348,
2493,
339,
2493,
364,
54,
1301,
1475,
244,
59,
64,
1908,
339,
1908,
461,
64,
1396,
339,
1396,
1152,
244,
59,
63,
320,
221,
221,
325,
244,
59,
125,
59,
338,
244,
59,
125,
59,
1908,
456,
327,
110,
299,
244,
53,
64,
613,
350,
244,
59,
64,
613,
2002,
320,
2493,
456,
327,
111,
299,
244,
53,
64,
614,
350,
244,
59,
64,
614,
2002,
320,
3402,
7125,
2664,
96,
105,
1301,
98,
299,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
53,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
53,
338,
244,
59,
494,
614,
98,
5605,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
54,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
54,
338,
244,
59,
494,
614,
98,
5605,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
55,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
55,
338,
244,
59,
494,
614,
98,
5605,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
56,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
56,
338,
244,
59,
494,
614,
98,
5605,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
57,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
57,
338,
244,
59,
494,
614,
98,
5605,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
58,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
58,
338,
244,
59,
494,
614,
988,
3402,
362,
1301,
3348,
2493,
339,
2493,
364,
54,
1301,
1475,
244,
59,
64,
1908,
339,
1908,
461,
64,
1396,
339,
1031,
339,
733,
339,
547,
339,
547,
456,
327,
110,
299,
244,
53,
64,
613,
350,
851,
64,
613,
2002,
320,
733,
364,
55,
1301,
299,
244,
53,
64,
733,
456,
327,
111,
299,
244,
53,
64,
614,
350,
475,
64,
614,
2002,
320,
1031,
7125,
2664,
96,
105,
1301,
13415,
299,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
53,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
53,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
54,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
475,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
55,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
55,
338,
475,
98,
1908,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
56,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
56,
338,
475,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
57,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
57,
338,
475,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
58,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
58,
338,
475,
988,
1031,
364,
55,
1301,
3348,
733,
339,
733,
364,
54,
1301,
1475,
244,
59,
64,
547,
339,
547,
1644,
64,
419,
339,
419,
1263,
63,
320,
547,
456,
327,
110,
299,
244,
53,
64,
613,
350,
851,
64,
613,
2002,
320,
733,
456,
327,
111,
299,
244,
53,
64,
614,
350,
475,
64,
614,
2002,
320,
1031,
364,
55,
1301,
299,
614,
64,
1031,
3668,
299,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
53,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
53,
988,
1031,
456,
327,
115,
299,
244,
54,
64,
329,
350,
364,
54,
51,
41435,
7633,
492,
329,
2002,
320,
1396,
364,
55,
1301,
1475,
475,
64,
1396,
3668,
1475,
364,
54,
2664,
96,
114,
54,
1301,
494,
329,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
53,
988,
1031,
339,
1031,
7125,
2664,
96,
105,
1301,
13415,
299,
327,
1832,
46,
3668,
64,
733,
339,
733,
364,
54,
1301,
1475,
364,
54,
51,
41435,
7633,
492,
547,
339,
547,
1644,
64,
419,
339,
343,
339,
310,
339,
603,
1276,
295,
48172,
295,
828,
31478,
100,
4020,
422,
3002,
93,
100,
33623,
27722,
3002,
93,
11274,
6630,
5072,
341,
2434,
17735,
3622,
5083,
12099,
9974,
63,
11274,
508,
125,
59,
338,
508,
125,
83,
633,
59,
125,
83,
338,
244,
59,
125,
59,
11274,
642,
508,
347,
341,
2189,
447,
54,
50,
59,
1015,
295,
48172,
295,
588,
310,
496,
1806,
310,
581,
782,
5876,
93,
100,
33623,
27722,
3002,
93,
45,
333,
3002,
93,
7125,
49,
828,
3002,
93,
364,
54,
49,
828,
3002,
93,
364,
55,
46,
320,
343,
648,
613,
49,
614,
49,
851,
49,
475,
49,
329,
64,
343,
648,
364,
54,
1301,
299,
244,
53,
49,
364,
55,
1301,
299,
244,
53,
49,
362,
1301,
299,
244,
53,
64,
343,
1916,
1197,
7125,
2664,
64,
343,
1175,
1916,
1197,
364,
54,
2664,
49,
364,
55,
2664,
64,
343,
2082,
3668,
64,
1083,
1217,
327,
114,
54,
51,
41435,
7264,
365,
630,
364,
55,
51,
41435,
7264,
1052,
1083,
364,
54,
2664,
299,
364,
54,
51,
724,
3690,
2664,
492,
343,
364,
55,
2664,
299,
364,
55,
51,
724,
3690,
2664,
492,
343,
7125,
2664,
299,
7125,
51,
724,
3690,
2664,
492,
343,
851,
299,
364,
54,
51,
41435,
7633,
492,
343,
475,
299,
364,
55,
51,
41435,
7633,
492,
1083,
3593,
327,
114,
54,
51,
41435,
7264,
1177,
320,
419,
1152,
244,
54,
63,
547,
434,
327,
112,
630,
244,
59,
979,
475,
630,
244,
54,
46,
320,
313,
221,
325,
244,
54,
125,
59,
338,
244,
54,
125,
54,
733,
456,
327,
110,
299,
244,
53,
64,
613,
350,
244,
59,
64,
613,
2002,
320,
1031,
7125,
2664,
96,
105,
1301,
13415,
299,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
53,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
53,
988,
1031,
364,
54,
1301,
3348,
733,
339,
733,
461,
64,
547,
339,
547,
456,
327,
110,
299,
244,
53,
64,
613,
350,
851,
64,
613,
2002,
320,
733,
364,
55,
1301,
299,
244,
53,
64,
733,
456,
327,
111,
299,
244,
53,
64,
614,
350,
475,
64,
614,
2002,
320,
1031,
7125,
2664,
96,
105,
1301,
13415,
299,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
53,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
53,
988,
1031,
364,
55,
1301,
3348,
733,
339,
733,
364,
54,
1301,
3348,
547,
339,
547,
1644,
64,
419,
1152,
244,
55,
63,
547,
434,
327,
112,
630,
244,
59,
979,
475,
630,
244,
55,
46,
320,
313,
221,
325,
244,
55,
125,
59,
338,
244,
55,
125,
55,
733,
456,
327,
110,
299,
244,
53,
64,
613,
350,
244,
59,
64,
613,
2002,
320,
1031,
7125,
2664,
96,
105,
1301,
13415,
299,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
53,
338,
244,
59,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
53,
338,
244,
55,
494,
244,
53,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
54,
338,
244,
59,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
54,
338,
244,
55,
494,
244,
53,
988,
1031,
7125,
2664,
96,
105,
1301,
13415,
299,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
53,
338,
244,
59,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
53,
338,
244,
55,
494,
244,
54,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
54,
338,
244,
59,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
54,
338,
244,
55,
494,
244,
54,
988,
1031,
364,
54,
1301,
3348,
733,
339,
733,
461,
64,
547,
339,
547,
456,
327,
110,
299,
244,
53,
64,
613,
350,
851,
64,
613,
2002,
320,
733,
364,
55,
1301,
299,
244,
53,
64,
733,
456,
327,
111,
299,
244,
53,
64,
614,
350,
475,
64,
614,
2002,
320,
1031,
7125,
2664,
96,
105,
1301,
13415,
299,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
53,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
53,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
851,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
475,
988,
1031,
364,
55,
1301,
3348,
733,
339,
733,
364,
54,
1301,
3348,
547,
339,
547,
1644,
64,
419,
1152,
244,
56,
63,
547,
434,
327,
112,
630,
244,
59,
979,
475,
630,
244,
56,
46,
320,
313,
221,
325,
244,
56,
125,
59,
338,
244,
56,
125,
56,
733,
456,
327,
110,
299,
244,
53,
64,
613,
350,
244,
59,
64,
613,
2002,
320,
1031,
7125,
2664,
96,
105,
1301,
13415,
299,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
53,
338,
244,
59,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
53,
338,
244,
56,
494,
244,
53,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
54,
338,
244,
59,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
54,
338,
244,
56,
494,
244,
53,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
55,
338,
244,
59,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
55,
338,
244,
56,
494,
244,
53,
988,
1031,
7125,
2664,
96,
105,
1301,
13415,
299,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
53,
338,
244,
59,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
53,
338,
244,
56,
494,
244,
54,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
54,
338,
244,
59,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
54,
338,
244,
56,
494,
244,
54,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
55,
338,
244,
59,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
55,
338,
244,
56,
494,
244,
54,
988,
1031,
7125,
2664,
96,
105,
1301,
13415,
299,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
53,
338,
244,
59,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
53,
338,
244,
56,
494,
244,
55,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
54,
338,
244,
59,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
54,
338,
244,
56,
494,
244,
55,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
55,
338,
244,
59,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
55,
338,
244,
56,
494,
244,
55,
988,
1031,
364,
54,
1301,
3348,
733,
339,
733,
461,
64,
547,
339,
547,
456,
327,
110,
299,
244,
53,
64,
613,
350,
851,
64,
613,
2002,
320,
733,
364,
55,
1301,
299,
244,
53,
64,
733,
456,
327,
111,
299,
244,
53,
64,
614,
350,
475,
64,
614,
2002,
320,
1031,
7125,
2664,
96,
105,
1301,
13415,
299,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
53,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
53,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
851,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
475,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
55,
338,
851,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
55,
338,
475,
988,
1031,
364,
55,
1301,
3348,
733,
339,
733,
364,
54,
1301,
3348,
547,
339,
547,
1644,
64,
419,
1152,
244,
57,
63,
547,
434,
327,
112,
630,
244,
59,
979,
475,
630,
244,
57,
46,
320,
313,
221,
325,
244,
57,
125,
59,
338,
244,
57,
125,
57,
733,
456,
327,
110,
299,
244,
53,
64,
613,
350,
244,
59,
64,
613,
2002,
320,
1031,
7125,
2664,
96,
105,
1301,
13415,
299,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
53,
338,
244,
59,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
53,
338,
244,
57,
494,
244,
53,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
54,
338,
244,
59,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
54,
338,
244,
57,
494,
244,
53,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
55,
338,
244,
59,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
55,
338,
244,
57,
494,
244,
53,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
56,
338,
244,
59,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
56,
338,
244,
57,
494,
244,
53,
988,
1031,
7125,
2664,
96,
105,
1301,
13415,
299,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
53,
338,
244,
59,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
53,
338,
244,
57,
494,
244,
54,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
54,
338,
244,
59,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
54,
338,
244,
57,
494,
244,
54,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
55,
338,
244,
59,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
55,
338,
244,
57,
494,
244,
54,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
56,
338,
244,
59,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
56,
338,
244,
57,
494,
244,
54,
988,
1031,
7125,
2664,
96,
105,
1301,
13415,
299,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
53,
338,
244,
59,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
53,
338,
244,
57,
494,
244,
55,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
54,
338,
244,
59,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
54,
338,
244,
57,
494,
244,
55,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
55,
338,
244,
59,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
55,
338,
244,
57,
494,
244,
55,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
56,
338,
244,
59,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
56,
338,
244,
57,
494,
244,
55,
988,
1031,
7125,
2664,
96,
105,
1301,
13415,
299,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
53,
338,
244,
59,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
53,
338,
244,
57,
494,
244,
56,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
54,
338,
244,
59,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
54,
338,
244,
57,
494,
244,
56,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
55,
338,
244,
59,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
55,
338,
244,
57,
494,
244,
56,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
56,
338,
244,
59,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
56,
338,
244,
57,
494,
244,
56,
988,
1031,
364,
54,
1301,
3348,
733,
339,
733,
461,
64,
547,
339,
547,
456,
327,
110,
299,
244,
53,
64,
613,
350,
851,
64,
613,
2002,
320,
733,
364,
55,
1301,
299,
244,
53,
64,
733,
456,
327,
111,
299,
244,
53,
64,
614,
350,
475,
64,
614,
2002,
320,
1031,
7125,
2664,
96,
105,
1301,
13415,
299,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
53,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
53,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
851,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
475,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
55,
338,
851,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
55,
338,
475,
98,
1908,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
56,
338,
851,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
56,
338,
475,
988,
1031,
364,
55,
1301,
3348,
733,
339,
733,
364,
54,
1301,
3348,
547,
339,
547,
1644,
64,
419,
1152,
244,
58,
63,
547,
434,
327,
112,
630,
244,
59,
979,
475,
630,
244,
58,
46,
320,
313,
221,
325,
244,
58,
125,
59,
338,
244,
58,
125,
58,
733,
456,
327,
110,
299,
244,
53,
64,
613,
350,
244,
59,
64,
613,
2002,
320,
1031,
7125,
2664,
96,
105,
1301,
13415,
299,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
53,
338,
244,
59,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
53,
338,
244,
58,
494,
244,
53,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
54,
338,
244,
59,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
54,
338,
244,
58,
494,
244,
53,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
55,
338,
244,
59,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
55,
338,
244,
58,
494,
244,
53,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
56,
338,
244,
59,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
56,
338,
244,
58,
494,
244,
53,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
57,
338,
244,
59,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
57,
338,
244,
58,
494,
244,
53,
988,
1031,
7125,
2664,
96,
105,
1301,
13415,
299,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
53,
338,
244,
59,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
53,
338,
244,
58,
494,
244,
54,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
54,
338,
244,
59,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
54,
338,
244,
58,
494,
244,
54,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
55,
338,
244,
59,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
55,
338,
244,
58,
494,
244,
54,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
56,
338,
244,
59,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
56,
338,
244,
58,
494,
244,
54,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
57,
338,
244,
59,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
57,
338,
244,
58,
494,
244,
54,
988,
1031,
7125,
2664,
96,
105,
1301,
13415,
299,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
53,
338,
244,
59,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
53,
338,
244,
58,
494,
244,
55,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
54,
338,
244,
59,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
54,
338,
244,
58,
494,
244,
55,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
55,
338,
244,
59,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
55,
338,
244,
58,
494,
244,
55,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
56,
338,
244,
59,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
56,
338,
244,
58,
494,
244,
55,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
57,
338,
244,
59,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
57,
338,
244,
58,
494,
244,
55,
988,
1031,
7125,
2664,
96,
105,
1301,
13415,
299,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
53,
338,
244,
59,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
53,
338,
244,
58,
494,
244,
56,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
54,
338,
244,
59,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
54,
338,
244,
58,
494,
244,
56,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
55,
338,
244,
59,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
55,
338,
244,
58,
494,
244,
56,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
56,
338,
244,
59,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
56,
338,
244,
58,
494,
244,
56,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
57,
338,
244,
59,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
57,
338,
244,
58,
494,
244,
56,
988,
1031,
7125,
2664,
96,
105,
1301,
13415,
299,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
53,
338,
244,
59,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
53,
338,
244,
58,
494,
244,
57,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
54,
338,
244,
59,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
54,
338,
244,
58,
494,
244,
57,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
55,
338,
244,
59,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
55,
338,
244,
58,
494,
244,
57,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
56,
338,
244,
59,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
56,
338,
244,
58,
494,
244,
57,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
57,
338,
244,
59,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
57,
338,
244,
58,
494,
244,
57,
988,
1031,
364,
54,
1301,
3348,
733,
339,
733,
461,
64,
547,
339,
547,
456,
327,
110,
299,
244,
53,
64,
613,
350,
851,
64,
613,
2002,
320,
733,
364,
55,
1301,
299,
244,
53,
64,
733,
456,
327,
111,
299,
244,
53,
64,
614,
350,
475,
64,
614,
2002,
320,
1031,
7125,
2664,
96,
105,
1301,
13415,
299,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
53,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
53,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
851,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
475,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
55,
338,
851,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
55,
338,
475,
98,
1908,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
56,
338,
851,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
56,
338,
475,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
57,
338,
851,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
57,
338,
475,
988,
1031,
364,
55,
1301,
3348,
733,
339,
733,
364,
54,
1301,
3348,
547,
339,
547,
1644,
64,
419,
1152,
244,
59,
63,
547,
434,
327,
113,
630,
244,
59,
46,
320,
733,
3593,
327,
112,
46,
320,
1031,
1152,
244,
54,
63,
9186,
221,
325,
244,
59,
125,
54,
338,
244,
59,
125,
59,
1396,
364,
55,
1301,
299,
244,
53,
64,
1396,
456,
327,
111,
299,
244,
53,
64,
614,
350,
244,
59,
64,
614,
2002,
320,
1908,
7125,
2664,
96,
105,
1301,
13415,
299,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
53,
338,
244,
54,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
53,
338,
244,
59,
98,
3402,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
54,
338,
244,
54,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
54,
338,
244,
59,
98,
3402,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
55,
338,
244,
54,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
55,
338,
244,
59,
98,
3402,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
56,
338,
244,
54,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
56,
338,
244,
59,
98,
3402,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
57,
338,
244,
54,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
57,
338,
244,
59,
98,
3402,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
58,
338,
244,
54,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
58,
338,
244,
59,
988,
1908,
364,
55,
1301,
3348,
1396,
339,
1396,
461,
64,
1031,
1152,
244,
55,
63,
9186,
221,
325,
244,
59,
125,
55,
338,
244,
59,
125,
59,
1396,
456,
327,
110,
299,
244,
53,
64,
613,
350,
244,
55,
64,
613,
2002,
320,
1908,
364,
55,
1301,
299,
244,
53,
64,
1908,
456,
327,
111,
299,
244,
53,
64,
614,
350,
244,
59,
64,
614,
2002,
320,
2493,
7125,
2664,
96,
105,
1301,
13415,
299,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
53,
338,
244,
55,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
53,
338,
244,
59,
98,
4197,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
54,
338,
244,
55,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
54,
338,
244,
59,
98,
4197,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
55,
338,
244,
55,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
55,
338,
244,
59,
98,
4197,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
56,
338,
244,
55,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
56,
338,
244,
59,
98,
4197,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
57,
338,
244,
55,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
57,
338,
244,
59,
98,
4197,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
58,
338,
244,
55,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
58,
338,
244,
59,
988,
2493,
364,
55,
1301,
3348,
1908,
339,
1908,
364,
54,
1301,
3348,
1396,
339,
1396,
461,
64,
1031,
1152,
244,
56,
63,
9186,
221,
325,
244,
59,
125,
56,
338,
244,
59,
125,
59,
1396,
456,
327,
110,
299,
244,
53,
64,
613,
350,
244,
56,
64,
613,
2002,
320,
1908,
364,
55,
1301,
299,
244,
53,
64,
1908,
456,
327,
111,
299,
244,
53,
64,
614,
350,
244,
59,
64,
614,
2002,
320,
2493,
7125,
2664,
96,
105,
1301,
13415,
299,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
53,
338,
244,
56,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
53,
338,
244,
59,
98,
4197,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
54,
338,
244,
56,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
54,
338,
244,
59,
98,
4197,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
55,
338,
244,
56,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
55,
338,
244,
59,
98,
4197,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
56,
338,
244,
56,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
56,
338,
244,
59,
98,
4197,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
57,
338,
244,
56,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
57,
338,
244,
59,
98,
4197,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
58,
338,
244,
56,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
58,
338,
244,
59,
988,
2493,
364,
55,
1301,
3348,
1908,
339,
1908,
364,
54,
1301,
3348,
1396,
339,
1396,
461,
64,
1031,
1152,
244,
57,
63,
9186,
221,
325,
244,
59,
125,
57,
338,
244,
59,
125,
59,
1396,
456,
327,
110,
299,
244,
53,
64,
613,
350,
244,
57,
64,
613,
2002,
320,
1908,
364,
55,
1301,
299,
244,
53,
64,
1908,
456,
327,
111,
299,
244,
53,
64,
614,
350,
244,
59,
64,
614,
2002,
320,
2493,
7125,
2664,
96,
105,
1301,
13415,
299,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
53,
338,
244,
57,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
53,
338,
244,
59,
98,
4197,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
54,
338,
244,
57,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
54,
338,
244,
59,
98,
4197,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
55,
338,
244,
57,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
55,
338,
244,
59,
98,
4197,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
56,
338,
244,
57,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
56,
338,
244,
59,
98,
4197,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
57,
338,
244,
57,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
57,
338,
244,
59,
98,
4197,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
58,
338,
244,
57,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
58,
338,
244,
59,
988,
2493,
364,
55,
1301,
3348,
1908,
339,
1908,
364,
54,
1301,
3348,
1396,
339,
1396,
461,
64,
1031,
1152,
244,
58,
63,
9186,
221,
325,
244,
59,
125,
58,
338,
244,
59,
125,
59,
1396,
456,
327,
110,
299,
244,
53,
64,
613,
350,
244,
58,
64,
613,
2002,
320,
1908,
364,
55,
1301,
299,
244,
53,
64,
1908,
456,
327,
111,
299,
244,
53,
64,
614,
350,
244,
59,
64,
614,
2002,
320,
2493,
7125,
2664,
96,
105,
1301,
13415,
299,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
53,
338,
244,
58,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
53,
338,
244,
59,
98,
4197,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
54,
338,
244,
58,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
54,
338,
244,
59,
98,
4197,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
55,
338,
244,
58,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
55,
338,
244,
59,
98,
4197,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
56,
338,
244,
58,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
56,
338,
244,
59,
98,
4197,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
57,
338,
244,
58,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
57,
338,
244,
59,
98,
4197,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
58,
338,
244,
58,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
58,
338,
244,
59,
988,
2493,
364,
55,
1301,
3348,
1908,
339,
1908,
364,
54,
1301,
3348,
1396,
339,
1396,
461,
64,
1031,
1152,
244,
59,
63,
9186,
221,
325,
244,
59,
125,
59,
338,
244,
59,
125,
59,
1396,
456,
327,
110,
299,
244,
53,
64,
613,
350,
244,
59,
64,
613,
2002,
320,
1908,
364,
55,
1301,
299,
244,
53,
64,
1908,
456,
327,
111,
299,
244,
53,
64,
614,
350,
244,
59,
64,
614,
2002,
320,
2493,
7125,
2664,
96,
105,
1301,
13415,
299,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
53,
338,
244,
59,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
53,
338,
244,
59,
98,
4197,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
54,
338,
244,
59,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
54,
338,
244,
59,
98,
4197,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
55,
338,
244,
59,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
55,
338,
244,
59,
98,
4197,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
56,
338,
244,
59,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
56,
338,
244,
59,
98,
4197,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
57,
338,
244,
59,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
57,
338,
244,
59,
98,
4197,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
58,
338,
244,
59,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
58,
338,
244,
59,
988,
2493,
364,
55,
1301,
3348,
1908,
339,
1908,
364,
54,
1301,
3348,
1396,
339,
1396,
461,
64,
733,
339,
547,
339,
547,
456,
327,
110,
299,
244,
53,
64,
613,
350,
851,
64,
613,
2002,
320,
733,
364,
55,
1301,
299,
244,
53,
64,
733,
456,
327,
111,
299,
244,
53,
64,
614,
350,
475,
64,
614,
2002,
320,
1031,
7125,
2664,
96,
105,
1301,
13415,
299,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
53,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
53,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
851,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
475,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
55,
338,
851,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
55,
338,
475,
98,
1908,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
56,
338,
851,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
56,
338,
475,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
57,
338,
851,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
57,
338,
475,
98,
494,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
58,
338,
851,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
58,
338,
475,
988,
1031,
364,
55,
1301,
3348,
733,
339,
733,
364,
54,
1301,
3348,
547,
339,
547,
1644,
64,
419,
1263,
63,
547,
456,
327,
110,
299,
244,
53,
64,
613,
350,
851,
64,
613,
2002,
320,
733,
456,
327,
111,
299,
244,
53,
64,
614,
350,
475,
64,
614,
2002,
320,
1031,
364,
54,
1301,
299,
613,
64,
1031,
364,
55,
1301,
299,
614,
64,
1031,
3668,
299,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
53,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
53,
988,
1031,
456,
327,
115,
299,
244,
54,
64,
329,
350,
364,
54,
51,
41435,
7264,
492,
329,
2002,
320,
1396,
364,
54,
1301,
1475,
851,
64,
1396,
364,
55,
1301,
1475,
475,
64,
1396,
3668,
1475,
364,
54,
2664,
96,
114,
54,
1301,
494,
244,
53,
98,
338,
364,
55,
2664,
96,
114,
55,
1301,
494,
244,
53,
988,
1031,
339,
1031,
7125,
2664,
96,
105,
1301,
13415,
299,
327,
1832,
46,
3668,
64,
733,
339,
547,
339,
547,
1644,
64,
343,
339,
310,
339,
603,
964,
648,
5234,
80,
2046,
45,
3242,
648,
329,
49,
1175,
648,
328,
46,
320,
343,
461,
1849,
115,
1281,
244,
56,
46,
542,
327,
120,
568,
244,
60,
894,
310,
339,
310,
964,
1175,
648,
5234,
80,
2046,
54,
100,
53,
299,
1849,
54,
1281,
244,
56,
46,
542,
327,
53,
568,
244,
60,
3684,
419,
5234,
80,
2046,
55,
100,
53,
299,
1849,
55,
1281,
244,
56,
46,
542,
327,
53,
568,
244,
60,
3684,
5234,
80,
2046,
55,
100,
54,
299,
1849,
55,
1281,
244,
56,
46,
542,
327,
54,
568,
244,
60,
3684,
419,
5234,
80,
2046,
56,
100,
53,
299,
1849,
56,
1281,
244,
56,
46,
542,
327,
53,
568,
244,
60,
3684,
5234,
80,
2046,
56,
100,
54,
299,
1849,
56,
1281,
244,
56,
46,
542,
327,
54,
568,
244,
60,
3684,
5234,
80,
2046,
56,
100,
55,
299,
1849,
56,
1281,
244,
56,
46,
542,
327,
55,
568,
244,
60,
3684,
419,
5234,
80,
2046,
57,
100,
53,
299,
1849,
57,
1281,
244,
56,
46,
542,
327,
53,
568,
244,
60,
3684,
5234,
80,
2046,
57,
100,
54,
299,
1849,
57,
1281,
244,
56,
46,
542,
327,
54,
568,
244,
60,
3684,
5234,
80,
2046,
57,
100,
55,
299,
1849,
57,
1281,
244,
56,
46,
542,
327,
55,
568,
244,
60,
3684,
5234,
80,
2046,
57,
100,
56,
299,
1849,
57,
1281,
244,
56,
46,
542,
327,
56,
568,
244,
60,
3684,
419,
5234,
80,
2046,
58,
100,
53,
299,
1849,
58,
1281,
244,
56,
46,
542,
327,
53,
568,
244,
60,
3684,
5234,
80,
2046,
58,
100,
54,
299,
1849,
58,
1281,
244,
56,
46,
542,
327,
54,
568,
244,
60,
3684,
5234,
80,
2046,
58,
100,
55,
299,
1849,
58,
1281,
244,
56,
46,
542,
327,
55,
568,
244,
60,
3684,
5234,
80,
2046,
58,
100,
56,
299,
1849,
58,
1281,
244,
56,
46,
542,
327,
56,
568,
244,
60,
3684,
5234,
80,
2046,
58,
100,
57,
299,
1849,
58,
1281,
244,
56,
46,
542,
327,
57,
568,
244,
60,
3684,
419,
5234,
80,
2046,
59,
100,
53,
299,
1849,
59,
1281,
244,
56,
46,
542,
327,
53,
568,
244,
60,
3684,
5234,
80,
2046,
59,
100,
54,
299,
1849,
59,
1281,
244,
56,
46,
542,
327,
54,
568,
244,
60,
3684,
5234,
80,
2046,
59,
100,
55,
299,
1849,
59,
1281,
244,
56,
46,
542,
327,
55,
568,
244,
60,
3684,
5234,
80,
2046,
59,
100,
56,
299,
1849,
59,
1281,
244,
56,
46,
542,
327,
56,
568,
244,
60,
3684,
5234,
80,
2046,
59,
100,
57,
299,
1849,
59,
1281,
244,
56,
46,
542,
327,
57,
568,
244,
60,
3684,
5234,
80,
2046,
59,
100,
58,
299,
1849,
59,
1281,
244,
56,
46,
542,
327,
58,
568,
244,
60,
3684,
419,
5234,
80,
2046,
60,
100,
53,
299,
1849,
60,
1281,
244,
56,
46,
542,
327,
53,
568,
244,
60,
3684,
5234,
80,
2046,
60,
100,
54,
299,
1849,
60,
1281,
244,
56,
46,
542,
327,
54,
568,
244,
60,
3684,
5234,
80,
2046,
60,
100,
55,
299,
1849,
60,
1281,
244,
56,
46,
542,
327,
55,
568,
244,
60,
3684,
5234,
80,
2046,
60,
100,
56,
299,
1849,
60,
1281,
244,
56,
46,
542,
327,
56,
568,
244,
60,
3684,
5234,
80,
2046,
60,
100,
57,
299,
1849,
60,
1281,
244,
56,
46,
542,
327,
57,
568,
244,
60,
3684,
5234,
80,
2046,
60,
100,
58,
299,
1849,
60,
1281,
244,
56,
46,
542,
327,
58,
568,
244,
60,
3684,
5234,
80,
2046,
60,
100,
59,
299,
1849,
60,
1281,
244,
56,
46,
542,
327,
59,
568,
244,
60,
894,
603,
496,
1806,
310,
581,
782,
5876,
93,
100,
6736,
6959,
5100,
37520,
45,
333,
3002,
93,
517,
49,
1916,
1197,
837,
49,
1916,
1197,
342,
49,
648,
329,
46,
320,
343,
5876,
93,
100,
6736,
6959,
5100,
37520,
45,
81,
49,
837,
49,
342,
49,
329,
49,
244,
53,
312,
310,
339,
603,
1276,
295,
48172,
295,
828,
31478,
100,
4020,
422,
3002,
93,
100,
6736,
6959,
5100,
37520,
11274,
39563,
837,
347,
517,
125,
299,
342,
456,
341,
329,
338,
329,
1381,
50,
4948,
451,
517,
295,
434,
7130,
868,
244,
53,
341,
1950,
7130,
4725,
451,
837,
904,
20985,
391,
545,
2101,
3443,
295,
517,
1421,
391,
545,
331,
7245,
3957,
5100,
5083,
642,
327,
17719,
46,
11703,
563,
341,
27750,
295,
837,
630,
342,
458,
6671,
295,
48172,
295,
588,
310,
496,
1806,
310,
581,
782,
5876,
93,
100,
6736,
6959,
5100,
37520,
45,
333,
3002,
93,
517,
49,
1916,
1197,
837,
49,
1916,
1197,
342,
49,
648,
329,
49,
648,
7130,
46,
320,
222,
16802,
344,
244,
54,
1083,
648,
20264,
64,
343,
1916,
1197,
475,
1768,
64,
343,
648,
475,
1301,
299,
244,
53,
64,
1083,
434,
327,
5969,
2394,
329,
46,
320,
419,
461,
64,
343,
339,
1083,
475,
1768,
299,
517,
51,
724,
3690,
2664,
492,
343,
20264,
299,
517,
51,
41435,
7633,
492,
1083,
453,
725,
23202,
6819,
456,
329,
350,
244,
61,
343,
434,
327,
115,
350,
244,
61,
46,
320,
222,
325,
221,
221,
40,
1252,
5234,
80,
2046,
45,
329,
49,
328,
848,
221,
1181,
115,
3586,
56,
6500,
45,
120,
43,
60,
509,
419,
3593,
327,
3033,
80,
2046,
45,
115,
49,
7130,
509,
320,
547,
1152,
5234,
80,
2046,
54,
100,
53,
63,
733,
837,
96,
53,
98,
299,
342,
96,
53,
988,
733,
461,
64,
547,
1152,
5234,
80,
2046,
55,
100,
53,
63,
733,
837,
96,
53,
98,
299,
342,
96,
53,
988,
547,
1152,
5234,
80,
2046,
55,
100,
54,
63,
733,
837,
96,
54,
98,
299,
342,
96,
54,
98,
449,
475,
1768,
96,
54,
338,
20264,
494,
244,
53,
98,
338,
837,
96,
53,
988,
733,
461,
64,
547,
1152,
5234,
80,
2046,
56,
100,
53,
63,
733,
837,
96,
53,
98,
299,
342,
96,
53,
988,
547,
1152,
5234,
80,
2046,
56,
100,
54,
63,
733,
837,
96,
54,
98,
299,
342,
96,
54,
98,
449,
475,
1768,
96,
54,
338,
20264,
494,
244,
53,
98,
338,
837,
96,
53,
988,
547,
1152,
5234,
80,
2046,
56,
100,
55,
63,
733,
837,
96,
55,
98,
299,
342,
96,
55,
98,
449,
475,
1768,
96,
55,
338,
20264,
494,
244,
53,
98,
338,
837,
96,
53,
98,
449,
475,
1768,
96,
55,
338,
20264,
494,
244,
54,
98,
338,
837,
96,
54,
988,
733,
461,
64,
547,
1152,
5234,
80,
2046,
57,
100,
53,
63,
733,
837,
96,
53,
98,
299,
342,
96,
53,
988,
547,
1152,
5234,
80,
2046,
57,
100,
54,
63,
733,
837,
96,
54,
98,
299,
342,
96,
54,
98,
449,
475,
1768,
96,
54,
338,
20264,
494,
244,
53,
98,
338,
837,
96,
53,
988,
547,
1152,
5234,
80,
2046,
57,
100,
55,
63,
733,
837,
96,
55,
98,
299,
342,
96,
55,
98,
449,
475,
1768,
96,
55,
338,
20264,
494,
244,
53,
98,
338,
837,
96,
53,
98,
449,
475,
1768,
96,
55,
338,
20264,
494,
244,
54,
98,
338,
837,
96,
54,
988,
547,
1152,
5234,
80,
2046,
57,
100,
56,
63,
733,
837,
96,
56,
98,
299,
342,
96,
56,
98,
449,
475,
1768,
96,
56,
338,
20264,
494,
244,
53,
98,
338,
837,
96,
53,
98,
449,
475,
1768,
96,
56,
338,
20264,
494,
244,
54,
98,
338,
837,
96,
54,
98,
449,
475,
1768,
96,
56,
338,
20264,
494,
244,
55,
98,
338,
837,
96,
55,
988,
733,
461,
64,
547,
1152,
5234,
80,
2046,
58,
100,
53,
63,
733,
837,
96,
53,
98,
299,
342,
96,
53,
988,
547,
1152,
5234,
80,
2046,
58,
100,
54,
63,
733,
837,
96,
54,
98,
299,
342,
96,
54,
98,
449,
475,
1768,
96,
54,
338,
20264,
494,
244,
53,
98,
338,
837,
96,
53,
988,
547,
1152,
5234,
80,
2046,
58,
100,
55,
63,
733,
837,
96,
55,
98,
299,
342,
96,
55,
98,
449,
475,
1768,
96,
55,
338,
20264,
494,
244,
53,
98,
338,
837,
96,
53,
98,
449,
475,
1768,
96,
55,
338,
20264,
494,
244,
54,
98,
338,
837,
96,
54,
988,
547,
1152,
5234,
80,
2046,
58,
100,
56,
63,
733,
837,
96,
56,
98,
299,
342,
96,
56,
98,
449,
475,
1768,
96,
56,
338,
20264,
494,
244,
53,
98,
338,
837,
96,
53,
98,
449,
475,
1768,
96,
56,
338,
20264,
494,
244,
54,
98,
338,
837,
96,
54,
98,
449,
475,
1768,
96,
56,
338,
20264,
494,
244,
55,
98,
338,
837,
96,
55,
988,
547,
1152,
5234,
80,
2046,
58,
100,
57,
63,
733,
837,
96,
57,
98,
299,
342,
96,
57,
98,
449,
475,
1768,
96,
57,
338,
20264,
494,
244,
53,
98,
338,
837,
96,
53,
98,
449,
475,
1768,
96,
57,
338,
20264,
494,
244,
54,
98,
338,
837,
96,
54,
98,
449,
475,
1768,
96,
57,
338,
20264,
494,
244,
55,
98,
338,
837,
96,
55,
98,
449,
475,
1768,
96,
57,
338,
20264,
494,
244,
56,
98,
338,
837,
96,
56,
988,
733,
461,
64,
547,
1152,
5234,
80,
2046,
59,
100,
53,
63,
733,
837,
96,
53,
98,
299,
342,
96,
53,
988,
547,
1152,
5234,
80,
2046,
59,
100,
54,
63,
733,
837,
96,
54,
98,
299,
342,
96,
54,
98,
449,
475,
1768,
96,
54,
338,
20264,
494,
244,
53,
98,
338,
837,
96,
53,
988,
547,
1152,
5234,
80,
2046,
59,
100,
55,
63,
733,
837,
96,
55,
98,
299,
342,
96,
55,
98,
449,
475,
1768,
96,
55,
338,
20264,
494,
244,
53,
98,
338,
837,
96,
53,
98,
449,
475,
1768,
96,
55,
338,
20264,
494,
244,
54,
98,
338,
837,
96,
54,
988,
547,
1152,
5234,
80,
2046,
59,
100,
56,
63,
733,
837,
96,
56,
98,
299,
342,
96,
56,
98,
449,
475,
1768,
96,
56,
338,
20264,
494,
244,
53,
98,
338,
837,
96,
53,
98,
449,
475,
1768,
96,
56,
338,
20264,
494,
244,
54,
98,
338,
837,
96,
54,
98,
449,
475,
1768,
96,
56,
338,
20264,
494,
244,
55,
98,
338,
837,
96,
55,
988,
547,
1152,
5234,
80,
2046,
59,
100,
57,
63,
733,
837,
96,
57,
98,
299,
342,
96,
57,
98,
449,
475,
1768,
96,
57,
338,
20264,
494,
244,
53,
98,
338,
837,
96,
53,
98,
449,
475,
1768,
96,
57,
338,
20264,
494,
244,
54,
98,
338,
837,
96,
54,
98,
449,
475,
1768,
96,
57,
338,
20264,
494,
244,
55,
98,
338,
837,
96,
55,
98,
449,
475,
1768,
96,
57,
338,
20264,
494,
244,
56,
98,
338,
837,
96,
56,
988,
547,
1152,
5234,
80,
2046,
59,
100,
58,
63,
733,
837,
96,
58,
98,
299,
342,
96,
58,
98,
449,
475,
1768,
96,
58,
338,
20264,
494,
244,
53,
98,
338,
837,
96,
53,
98,
449,
475,
1768,
96,
58,
338,
20264,
494,
244,
54,
98,
338,
837,
96,
54,
98,
449,
475,
1768,
96,
58,
338,
20264,
494,
244,
55,
98,
338,
837,
96,
55,
98,
449,
475,
1768,
96,
58,
338,
20264,
494,
244,
56,
98,
338,
837,
96,
56,
98,
449,
475,
1768,
96,
58,
338,
20264,
494,
244,
57,
98,
338,
837,
96,
57,
988,
733,
461,
64,
547,
1152,
5234,
80,
2046,
60,
100,
53,
63,
733,
837,
96,
53,
98,
299,
342,
96,
53,
988,
547,
1152,
5234,
80,
2046,
60,
100,
54,
63,
733,
837,
96,
54,
98,
299,
342,
96,
54,
98,
449,
475,
1768,
96,
54,
338,
20264,
494,
244,
53,
98,
338,
837,
96,
53,
988,
547,
1152,
5234,
80,
2046,
60,
100,
55,
63,
733,
837,
96,
55,
98,
299,
342,
96,
55,
98,
449,
475,
1768,
96,
55,
338,
20264,
494,
244,
53,
98,
338,
837,
96,
53,
98,
449,
475,
1768,
96,
55,
338,
20264,
494,
244,
54,
98,
338,
837,
96,
54,
988,
547,
1152,
5234,
80,
2046,
60,
100,
56,
63,
733,
837,
96,
56,
98,
299,
342,
96,
56,
98,
449,
475,
1768,
96,
56,
338,
20264,
494,
244,
53,
98,
338,
837,
96,
53,
98,
449,
475,
1768,
96,
56,
338,
20264,
494,
244,
54,
98,
338,
837,
96,
54,
98,
449,
475,
1768,
96,
56,
338,
20264,
494,
244,
55,
98,
338,
837,
96,
55,
988,
547,
1152,
5234,
80,
2046,
60,
100,
57,
63,
733,
837,
96,
57,
98,
299,
342,
96,
57,
98,
449,
475,
1768,
96,
57,
338,
20264,
494,
244,
53,
98,
338,
837,
96,
53,
98,
449,
475,
1768,
96,
57,
338,
20264,
494,
244,
54,
98,
338,
837,
96,
54,
98,
449,
475,
1768,
96,
57,
338,
20264,
494,
244,
55,
98,
338,
837,
96,
55,
98,
449,
475,
1768,
96,
57,
338,
20264,
494,
244,
56,
98,
338,
837,
96,
56,
988,
547,
1152,
5234,
80,
2046,
60,
100,
58,
63,
733,
837,
96,
58,
98,
299,
342,
96,
58,
98,
449,
475,
1768,
96,
58,
338,
20264,
494,
244,
53,
98,
338,
837,
96,
53,
98,
449,
475,
1768,
96,
58,
338,
20264,
494,
244,
54,
98,
338,
837,
96,
54,
98,
449,
475,
1768,
96,
58,
338,
20264,
494,
244,
55,
98,
338,
837,
96,
55,
98,
449,
475,
1768,
96,
58,
338,
20264,
494,
244,
56,
98,
338,
837,
96,
56,
98,
449,
475,
1768,
96,
58,
338,
20264,
494,
244,
57,
98,
338,
837,
96,
57,
988,
547,
1152,
5234,
80,
2046,
60,
100,
59,
63,
733,
837,
96,
59,
98,
299,
342,
96,
59,
98,
449,
475,
1768,
96,
59,
338,
20264,
494,
244,
53,
98,
338,
837,
96,
53,
98,
449,
475,
1768,
96,
59,
338,
20264,
494,
244,
54,
98,
338,
837,
96,
54,
98,
449,
475,
1768,
96,
59,
338,
20264,
494,
244,
55,
98,
338,
837,
96,
55,
98,
449,
475,
1768,
96,
59,
338,
20264,
494,
244,
56,
98,
338,
837,
96,
56,
98,
449,
475,
1768,
96,
59,
338,
20264,
494,
244,
57,
98,
338,
837,
96,
57,
98,
449,
475,
1768,
96,
59,
338,
20264,
494,
244,
58,
98,
338,
837,
96,
58,
988,
733,
461,
64,
419,
339,
419,
461,
64,
343,
339,
1083,
453,
2183,
1950,
244,
57,
5793,
343,
3593,
327,
5969,
46,
320,
419,
1152,
244,
53,
63,
547,
837,
96,
53,
98,
299,
342,
96,
53,
988,
419,
1152,
244,
54,
63,
547,
837,
96,
54,
98,
299,
342,
96,
54,
98,
449,
475,
1768,
96,
54,
338,
20264,
494,
244,
53,
98,
338,
837,
96,
53,
988,
419,
1152,
244,
55,
63,
547,
837,
96,
55,
98,
299,
342,
96,
55,
98,
449,
475,
1768,
96,
55,
338,
20264,
494,
244,
53,
98,
338,
837,
96,
53,
98,
449,
475,
1768,
96,
55,
338,
20264,
494,
244,
54,
98,
338,
837,
96,
54,
988,
419,
1152,
244,
56,
63,
547,
837,
96,
56,
98,
299,
342,
96,
56,
98,
449,
475,
1768,
96,
56,
338,
20264,
494,
244,
53,
98,
338,
837,
96,
53,
98,
449,
475,
1768,
96,
56,
338,
20264,
494,
244,
54,
98,
338,
837,
96,
54,
98,
449,
475,
1768,
96,
56,
338,
20264,
494,
244,
55,
98,
338,
837,
96,
55,
988,
547,
7130,
299,
244,
57,
64,
343,
339,
222,
222,
325,
221,
113,
1768,
299,
517,
96,
5969,
988,
343,
475,
1768,
299,
517,
51,
116,
953,
45,
5969,
312,
1083,
648,
613,
49,
614,
64,
343,
2082,
328,
53,
49,
328,
54,
49,
328,
55,
49,
328,
56,
64,
1083,
456,
327,
110,
299,
7130,
64,
613,
350,
329,
64,
613,
2002,
320,
419,
328,
53,
299,
475,
1768,
96,
113,
1301,
494,
244,
53,
98,
338,
837,
96,
53,
988,
419,
328,
54,
299,
475,
1768,
96,
113,
1301,
494,
244,
54,
98,
338,
837,
96,
54,
988,
419,
328,
55,
299,
475,
1768,
96,
113,
1301,
494,
244,
55,
98,
338,
837,
96,
55,
988,
419,
328,
56,
299,
475,
1768,
96,
113,
1301,
494,
244,
56,
98,
338,
837,
96,
56,
988,
419,
456,
327,
111,
299,
244,
57,
64,
614,
350,
613,
449,
244,
60,
64,
614,
1475,
244,
61,
46,
320,
547,
328,
53,
1475,
475,
1768,
96,
113,
1301,
494,
614,
494,
244,
53,
98,
338,
837,
96,
111,
494,
244,
53,
988,
547,
328,
54,
1475,
475,
1768,
96,
113,
1301,
494,
614,
494,
244,
54,
98,
338,
837,
96,
111,
494,
244,
54,
988,
547,
328,
55,
1475,
475,
1768,
96,
113,
1301,
494,
614,
494,
244,
55,
98,
338,
837,
96,
111,
494,
244,
55,
988,
547,
328,
56,
1475,
475,
1768,
96,
113,
1301,
494,
614,
494,
244,
56,
98,
338,
837,
96,
111,
494,
244,
56,
988,
547,
328,
53,
1475,
475,
1768,
96,
113,
1301,
494,
614,
494,
244,
57,
98,
338,
837,
96,
111,
494,
244,
57,
988,
547,
328,
54,
1475,
475,
1768,
96,
113,
1301,
494,
614,
494,
244,
58,
98,
338,
837,
96,
111,
494,
244,
58,
988,
547,
328,
55,
1475,
475,
1768,
96,
113,
1301,
494,
614,
494,
244,
59,
98,
338,
837,
96,
111,
494,
244,
59,
988,
547,
328,
56,
1475,
475,
1768,
96,
113,
1301,
494,
614,
494,
244,
60,
98,
338,
837,
96,
111,
494,
244,
60,
988,
419,
339,
419,
3593,
327,
110,
449,
614,
46,
320,
222,
325,
313,
221,
2593,
5815,
64,
547,
1152,
244,
60,
63,
733,
328,
53,
1475,
475,
1768,
96,
113,
1301,
494,
614,
494,
244,
59,
98,
338,
837,
96,
111,
494,
244,
59,
988,
547,
1152,
244,
59,
63,
733,
328,
54,
1475,
475,
1768,
96,
113,
1301,
494,
614,
494,
244,
58,
98,
338,
837,
96,
111,
494,
244,
58,
988,
547,
1152,
244,
58,
63,
733,
328,
55,
1475,
475,
1768,
96,
113,
1301,
494,
614,
494,
244,
57,
98,
338,
837,
96,
111,
494,
244,
57,
988,
547,
1152,
244,
57,
63,
733,
328,
56,
1475,
475,
1768,
96,
113,
1301,
494,
614,
494,
244,
56,
98,
338,
837,
96,
111,
494,
244,
56,
988,
547,
1152,
244,
56,
63,
733,
328,
53,
1475,
475,
1768,
96,
113,
1301,
494,
614,
494,
244,
55,
98,
338,
837,
96,
111,
494,
244,
55,
988,
547,
1152,
244,
55,
63,
733,
328,
54,
1475,
475,
1768,
96,
113,
1301,
494,
614,
494,
244,
54,
98,
338,
837,
96,
111,
494,
244,
54,
988,
547,
1152,
244,
54,
63,
733,
328,
55,
1475,
475,
1768,
96,
113,
1301,
494,
614,
494,
244,
53,
98,
338,
837,
96,
111,
494,
244,
53,
988,
547,
1152,
244,
53,
63,
733,
1644,
64,
419,
339,
419,
2082,
3668,
64,
419,
3668,
299,
328,
56,
64,
419,
3668,
1475,
328,
55,
64,
419,
3668,
1475,
328,
54,
64,
419,
3668,
1475,
328,
53,
64,
419,
3668,
5928,
342,
96,
110,
988,
419,
837,
96,
110,
98,
299,
327,
1832,
46,
449,
1055,
64,
419,
475,
1301,
1475,
20264,
64,
343,
339,
222,
222,
16802,
728,
222,
325,
222,
325,
221,
429,
613,
49,
614,
64,
222,
325,
221,
931,
1916,
338,
113,
1768,
64,
222,
325,
221,
2640,
3668,
64,
222,
325,
222,
325,
221,
999,
327,
613,
299,
7130,
64,
613,
350,
329,
64,
613,
1065,
848,
320,
222,
325,
221,
221,
1055,
299,
342,
96,
110,
988,
222,
325,
221,
221,
113,
1768,
299,
517,
96,
110,
988,
222,
325,
221,
221,
999,
327,
614,
299,
244,
53,
64,
614,
350,
613,
64,
614,
1065,
848,
320,
222,
325,
313,
221,
1055,
5928,
475,
1768,
96,
111,
98,
338,
837,
96,
111,
988,
222,
325,
221,
221,
130,
222,
325,
221,
221,
125,
96,
110,
98,
299,
3668,
64,
222,
325,
221,
130,
222,
325,
222,
16802,
2086,
310,
339,
222,
222,
325,
370,
1276,
222,
325,
282,
48172,
222,
325,
282,
828,
31478,
100,
4020,
422,
3002,
93,
100,
6736,
6959,
5100,
37520,
33623,
222,
325,
222,
325,
282,
39563,
837,
347,
517,
44,
125,
299,
342,
456,
341,
329,
338,
329,
1381,
50,
4948,
451,
517,
222,
325,
282,
517,
1421,
391,
545,
331,
7245,
3957,
5100,
5083,
642,
327,
17719,
46,
11703,
563,
341,
27750,
222,
325,
282,
837,
630,
342,
458,
6671,
222,
325,
282,
48172,
222,
325,
282,
588,
222,
325,
370,
496,
1806,
222,
325,
370,
581,
782,
5876,
93,
100,
6736,
6959,
5100,
37520,
33623,
45,
333,
3002,
93,
517,
49,
1916,
1197,
837,
49,
1916,
1197,
342,
49,
648,
329,
46,
320,
222,
775,
40,
344,
244,
54,
222,
325,
222,
325,
1485,
648,
20264,
64,
222,
325,
1485,
1916,
1197,
475,
1768,
64,
222,
325,
222,
325,
1485,
475,
1768,
299,
517,
51,
724,
3690,
2664,
492,
222,
325,
1485,
20264,
299,
517,
51,
41435,
7633,
492,
222,
325,
222,
325,
1485,
453,
725,
23202,
6819,
456,
329,
350,
244,
61,
222,
325,
1485,
434,
327,
115,
350,
244,
61,
46,
320,
222,
325,
2087,
3593,
327,
115,
46,
320,
222,
325,
4714,
1152,
244,
53,
63,
222,
325,
6813,
461,
64,
222,
325,
4714,
1152,
244,
54,
63,
222,
325,
6813,
837,
96,
53,
98,
299,
342,
96,
53,
988,
222,
325,
6813,
461,
64,
222,
325,
4714,
1152,
244,
55,
63,
222,
325,
6813,
837,
96,
54,
98,
299,
342,
96,
54,
988,
222,
325,
6813,
837,
96,
53,
98,
299,
342,
96,
53,
98,
449,
475,
1768,
96,
54,
338,
20264,
494,
244,
53,
98,
338,
837,
96,
54,
988,
222,
325,
6813,
461,
64,
222,
325,
4714,
1152,
244,
56,
63,
222,
325,
6813,
837,
96,
55,
98,
299,
342,
96,
55,
988,
222,
325,
6813,
837,
96,
54,
98,
299,
342,
96,
54,
98,
449,
475,
1768,
96,
55,
338,
20264,
494,
244,
54,
98,
338,
837,
96,
55,
988,
222,
325,
6813,
837,
96,
53,
98,
299,
342,
96,
53,
98,
449,
475,
1768,
96,
55,
338,
20264,
494,
244,
53,
98,
338,
837,
96,
55,
98,
449,
475,
1768,
96,
54,
338,
20264,
494,
244,
53,
98,
338,
837,
96,
54,
988,
222,
325,
6813,
461,
64,
222,
325,
4714,
1152,
244,
57,
63,
222,
325,
6813,
837,
96,
56,
98,
299,
342,
96,
56,
988,
222,
325,
6813,
837,
96,
55,
98,
299,
342,
96,
55,
98,
449,
475,
1768,
96,
56,
338,
20264,
494,
244,
55,
98,
338,
837,
96,
56,
988,
222,
325,
6813,
837,
96,
54,
98,
299,
342,
96,
54,
98,
449,
475,
1768,
96,
56,
338,
20264,
494,
244,
54,
98,
338,
837,
96,
56,
98,
449,
475,
1768,
96,
55,
338,
20264,
494,
244,
54,
98,
338,
837,
96,
55,
988,
222,
325,
6813,
837,
96,
53,
98,
299,
342,
96,
53,
98,
449,
475,
1768,
96,
56,
338,
20264,
494,
244,
53,
98,
338,
837,
96,
56,
98,
449,
475,
1768,
96,
55,
338,
20264,
494,
244,
53,
98,
338,
837,
96,
55,
98,
449,
475,
1768,
96,
54,
338,
20264,
494,
244,
53,
98,
338,
837,
96,
54,
988,
222,
325,
6813,
461,
64,
222,
325,
4714,
1152,
244,
58,
63,
222,
325,
6813,
837,
96,
57,
98,
299,
342,
96,
57,
988,
222,
325,
6813,
837,
96,
56,
98,
299,
342,
96,
56,
98,
449,
475,
1768,
96,
57,
338,
20264,
494,
244,
56,
98,
338,
837,
96,
57,
988,
222,
325,
6813,
837,
96,
55,
98,
299,
342,
96,
55,
98,
449,
475,
1768,
96,
57,
338,
20264,
494,
244,
55,
98,
338,
837,
96,
57,
98,
449,
475,
1768,
96,
56,
338,
20264,
494,
244,
55,
98,
338,
837,
96,
56,
988,
222,
325,
6813,
837,
96,
54,
98,
299,
342,
96,
54,
98,
449,
475,
1768,
96,
57,
338,
20264,
494,
244,
54,
98,
338,
837,
96,
57,
98,
449,
475,
1768,
96,
56,
338,
20264,
494,
244,
54,
98,
338,
837,
96,
56,
98,
449,
475,
1768,
96,
55,
338,
20264,
494,
244,
54,
98,
338,
837,
96,
55,
988,
222,
325,
6813,
837,
96,
53,
98,
299,
342,
96,
53,
98,
449,
475,
1768,
96,
57,
338,
20264,
494,
244,
53,
98,
338,
837,
96,
57,
98,
449,
475,
1768,
96,
56,
338,
20264,
494,
244,
53,
98,
338,
837,
96,
56,
98,
449,
475,
1768,
96,
55,
338,
20264,
494,
244,
53,
98,
338,
837,
96,
55,
98,
449,
475,
1768,
96,
54,
338,
20264,
494,
244,
53,
98,
338,
837,
96,
54,
988,
222,
325,
6813,
461,
64,
222,
325,
4714,
1152,
244,
59,
63,
222,
325,
6813,
837,
96,
58,
98,
299,
342,
96,
58,
988,
222,
325,
6813,
837,
96,
57,
98,
299,
342,
96,
57,
98,
449,
475,
1768,
96,
58,
338,
20264,
494,
244,
57,
98,
338,
837,
96,
58,
988,
222,
325,
6813,
837,
96,
56,
98,
299,
342,
96,
56,
98,
449,
475,
1768,
96,
58,
338,
20264,
494,
244,
56,
98,
338,
837,
96,
58,
98,
449,
475,
1768,
96,
57,
338,
20264,
494,
244,
56,
98,
338,
837,
96,
57,
988,
222,
325,
6813,
837,
96,
55,
98,
299,
342,
96,
55,
98,
449,
475,
1768,
96,
58,
338,
20264,
494,
244,
55,
98,
338,
837,
96,
58,
98,
449,
475,
1768,
96,
57,
338,
20264,
494,
244,
55,
98,
338,
837,
96,
57,
98,
449,
475,
1768,
96,
56,
338,
20264,
494,
244,
55,
98,
338,
837,
96,
56,
988,
222,
325,
6813,
837,
96,
54,
98,
299,
342,
96,
54,
98,
449,
475,
1768,
96,
58,
338,
20264,
494,
244,
54,
98,
338,
837,
96,
58,
98,
449,
475,
1768,
96,
57,
338,
20264,
494,
244,
54,
98,
338,
837,
96,
57,
98,
449,
475,
1768,
96,
56,
338,
20264,
494,
244,
54,
98,
338,
837,
96,
56,
98,
449,
475,
1768,
96,
55,
338,
20264,
494,
244,
54,
98,
338,
837,
96,
55,
988,
222,
325,
6813,
837,
96,
53,
98,
299,
342,
96,
53,
98,
449,
475,
1768,
96,
58,
338,
20264,
494,
244,
53,
98,
338,
837,
96,
58,
98,
449,
475,
1768,
96,
57,
338,
20264,
494,
244,
53,
98,
338,
837,
96,
57,
98,
449,
475,
1768,
96,
56,
338,
20264,
494,
244,
53,
98,
338,
837,
96,
56,
98,
449,
475,
1768,
96,
55,
338,
20264,
494,
244,
53,
98,
338,
837,
96,
55,
98,
449,
475,
1768,
96,
54,
338,
20264,
494,
244,
53,
98,
338,
837,
96,
54,
988,
222,
325,
6813,
461,
64,
222,
325,
4714,
1152,
244,
60,
63,
222,
325,
6813,
837,
96,
59,
98,
299,
342,
96,
59,
988,
222,
325,
6813,
837,
96,
58,
98,
299,
342,
96,
58,
98,
449,
475,
1768,
96,
59,
338,
20264,
494,
244,
58,
98,
338,
837,
96,
59,
988,
222,
325,
6813,
837,
96,
57,
98,
299,
342,
96,
57,
98,
449,
475,
1768,
96,
59,
338,
20264,
494,
244,
57,
98,
338,
837,
96,
59,
98,
449,
475,
1768,
96,
58,
338,
20264,
494,
244,
57,
98,
338,
837,
96,
58,
988,
222,
325,
6813,
837,
96,
56,
98,
299,
342,
96,
56,
98,
449,
475,
1768,
96,
59,
338,
20264,
494,
244,
56,
98,
338,
837,
96,
59,
98,
449,
475,
1768,
96,
58,
338,
20264,
494,
244,
56,
98,
338,
837,
96,
58,
98,
449,
475,
1768,
96,
57,
338,
20264,
494,
244,
56,
98,
338,
837,
96,
57,
988,
222,
325,
6813,
837,
96,
55,
98,
299,
342,
96,
55,
98,
449,
475,
1768,
96,
59,
338,
20264,
494,
244,
55,
98,
338,
837,
96,
59,
98,
449,
475,
1768,
96,
58,
338,
20264,
494,
244,
55,
98,
338,
837,
96,
58,
98,
449,
475,
1768,
96,
57,
338,
20264,
494,
244,
55,
98,
338,
837,
96,
57,
98,
449,
475,
1768,
96,
56,
338,
20264,
494,
244,
55,
98,
338,
837,
96,
56,
988,
222,
325,
6813,
837,
96,
54,
98,
299,
342,
96,
54,
98,
449,
475,
1768,
96,
59,
338,
20264,
494,
244,
54,
98,
338,
837,
96,
59,
98,
449,
475,
1768,
96,
58,
338,
20264,
494,
244,
54,
98,
338,
837,
96,
58,
98,
449,
475,
1768,
96,
57,
338,
20264,
494,
244,
54,
98,
338,
837,
96,
57,
98,
449,
475,
1768,
96,
56,
338,
20264,
494,
244,
54,
98,
338,
837,
96,
56,
98,
449,
475,
1768,
96,
55,
338,
20264,
494,
244,
54,
98,
338,
837,
96,
55,
988,
222,
325,
6813,
837,
96,
53,
98,
299,
342,
96,
53,
98,
449,
475,
1768,
96,
59,
338,
20264,
494,
244,
53,
98,
338,
837,
96,
59,
98,
449,
475,
1768,
96,
58,
338,
20264,
494,
244,
53,
98,
338,
837,
96,
58,
98,
449,
475,
1768,
96,
57,
338,
20264,
494,
244,
53,
98,
338,
837,
96,
57,
98,
449,
475,
1768,
96,
56,
338,
20264,
494,
244,
53,
98,
338,
837,
96,
56,
98,
449,
475,
1768,
96,
55,
338,
20264,
494,
244,
53,
98,
338,
837,
96,
55,
98,
449,
475,
1768,
96,
54,
338,
20264,
494,
244,
53,
98,
338,
837,
96,
54,
988,
222,
325,
6813,
461,
64,
222,
325,
2087,
339,
222,
325,
2087,
461,
64,
222,
325,
1485,
339,
222,
325,
222,
325,
1485,
648,
613,
49,
614,
64,
222,
325,
1485,
2082,
328,
53,
49,
328,
54,
49,
328,
55,
49,
328,
56,
64,
222,
325,
1485,
1916,
1197,
837,
1768,
64,
222,
325,
1485,
648,
475,
1301,
49,
837,
1301,
64,
222,
325,
222,
325,
1485,
475,
1768,
299,
517,
51,
724,
3690,
2664,
492,
222,
325,
1485,
475,
1301,
299,
329,
338,
20264,
494,
329,
449,
244,
57,
64,
222,
325,
1485,
837,
1768,
299,
837,
64,
222,
325,
1485,
837,
1301,
299,
329,
64,
222,
325,
222,
325,
1485,
453,
2183,
244,
57,
5793,
840,
331,
1153,
222,
325,
1485,
456,
327,
110,
299,
329,
64,
613,
2394,
244,
57,
64,
613,
5928,
244,
57,
46,
320,
222,
325,
2087,
328,
53,
299,
342,
96,
110,
449,
244,
57,
988,
222,
325,
2087,
328,
54,
299,
342,
96,
110,
449,
244,
56,
988,
222,
325,
2087,
328,
55,
299,
342,
96,
110,
449,
244,
55,
988,
222,
325,
2087,
328,
56,
299,
342,
96,
110,
449,
244,
54,
988,
222,
325,
2087,
453,
2183,
244,
57,
125,
57,
9072,
222,
325,
2087,
456,
327,
111,
299,
244,
53,
64,
614,
350,
329,
449,
613,
64,
614,
1475,
244,
57,
46,
320,
222,
325,
4714,
328,
53,
5928,
475,
1768,
96,
113,
1301,
494,
327,
111,
494,
244,
53,
46,
338,
20264,
494,
244,
53,
98,
338,
837,
1768,
96,
125,
1301,
494,
614,
494,
244,
53,
988,
222,
325,
4714,
328,
54,
5928,
475,
1768,
96,
113,
1301,
494,
327,
111,
494,
244,
53,
46,
338,
20264,
494,
244,
54,
98,
338,
837,
1768,
96,
125,
1301,
494,
614,
494,
244,
53,
988,
222,
325,
4714,
328,
55,
5928,
475,
1768,
96,
113,
1301,
494,
327,
111,
494,
244,
53,
46,
338,
20264,
494,
244,
55,
98,
338,
837,
1768,
96,
125,
1301,
494,
614,
494,
244,
53,
988,
222,
325,
4714,
328,
56,
5928,
475,
1768,
96,
113,
1301,
494,
327,
111,
494,
244,
53,
46,
338,
20264,
494,
244,
56,
98,
338,
837,
1768,
96,
125,
1301,
494,
614,
494,
244,
53,
988,
222,
325,
4714,
328,
53,
5928,
475,
1768,
96,
113,
1301,
494,
327,
111,
494,
244,
54,
46,
338,
20264,
494,
244,
53,
98,
338,
837,
1768,
96,
125,
1301,
494,
614,
494,
244,
54,
988,
222,
325,
4714,
328,
54,
5928,
475,
1768,
96,
113,
1301,
494,
327,
111,
494,
244,
54,
46,
338,
20264,
494,
244,
54,
98,
338,
837,
1768,
96,
125,
1301,
494,
614,
494,
244,
54,
988,
222,
325,
4714,
328,
55,
5928,
475,
1768,
96,
113,
1301,
494,
327,
111,
494,
244,
54,
46,
338,
20264,
494,
244,
55,
98,
338,
837,
1768,
96,
125,
1301,
494,
614,
494,
244,
54,
988,
222,
325,
4714,
328,
56,
5928,
475,
1768,
96,
113,
1301,
494,
327,
111,
494,
244,
54,
46,
338,
20264,
494,
244,
56,
98,
338,
837,
1768,
96,
125,
1301,
494,
614,
494,
244,
54,
988,
222,
325,
4714,
328,
53,
5928,
475,
1768,
96,
113,
1301,
494,
327,
111,
494,
244,
55,
46,
338,
20264,
494,
244,
53,
98,
338,
837,
1768,
96,
125,
1301,
494,
614,
494,
244,
55,
988,
222,
325,
4714,
328,
54,
5928,
475,
1768,
96,
113,
1301,
494,
327,
111,
494,
244,
55,
46,
338,
20264,
494,
244,
54,
98,
338,
837,
1768,
96,
125,
1301,
494,
614,
494,
244,
55,
988,
222,
325,
4714,
328,
55,
5928,
475,
1768,
96,
113,
1301,
494,
327,
111,
494,
244,
55,
46,
338,
20264,
494,
244,
55,
98,
338,
837,
1768,
96,
125,
1301,
494,
614,
494,
244,
55,
988,
222,
325,
4714,
328,
56,
5928,
475,
1768,
96,
113,
1301,
494,
327,
111,
494,
244,
55,
46,
338,
20264,
494,
244,
56,
98,
338,
837,
1768,
96,
125,
1301,
494,
614,
494,
244,
55,
988,
222,
325,
4714,
328,
53,
5928,
475,
1768,
96,
113,
1301,
494,
327,
111,
494,
244,
56,
46,
338,
20264,
494,
244,
53,
98,
338,
837,
1768,
96,
125,
1301,
494,
614,
494,
244,
56,
988,
222,
325,
4714,
328,
54,
5928,
475,
1768,
96,
113,
1301,
494,
327,
111,
494,
244,
56,
46,
338,
20264,
494,
244,
54,
98,
338,
837,
1768,
96,
125,
1301,
494,
614,
494,
244,
56,
988,
222,
325,
4714,
328,
55,
5928,
475,
1768,
96,
113,
1301,
494,
327,
111,
494,
244,
56,
46,
338,
20264,
494,
244,
55,
98,
338,
837,
1768,
96,
125,
1301,
494,
614,
494,
244,
56,
988,
222,
325,
4714,
328,
56,
5928,
475,
1768,
96,
113,
1301,
494,
327,
111,
494,
244,
56,
46,
338,
20264,
494,
244,
56,
98,
338,
837,
1768,
96,
125,
1301,
494,
614,
494,
244,
56,
988,
222,
325,
2087,
339,
222,
325,
2087,
453,
2183,
2859,
2308,
451,
341,
244,
57,
5793,
222,
325,
2087,
328,
53,
5928,
475,
1768,
96,
113,
1301,
494,
244,
53,
449,
244,
54,
338,
20264,
98,
338,
328,
56,
64,
222,
325,
2087,
328,
54,
5928,
475,
1768,
96,
113,
1301,
494,
244,
54,
449,
244,
54,
338,
20264,
98,
338,
328,
56,
64,
222,
325,
2087,
328,
55,
5928,
475,
1768,
96,
113,
1301,
494,
244,
55,
449,
244,
54,
338,
20264,
98,
338,
328,
56,
64,
222,
325,
2087,
328,
53,
5928,
475,
1768,
96,
113,
1301,
494,
244,
53,
449,
244,
55,
338,
20264,
98,
338,
328,
55,
64,
222,
325,
2087,
328,
54,
5928,
475,
1768,
96,
113,
1301,
494,
244,
54,
449,
244,
55,
338,
20264,
98,
338,
328,
55,
64,
222,
325,
2087,
328,
53,
5928,
475,
1768,
96,
113,
1301,
494,
244,
53,
449,
244,
56,
338,
20264,
98,
338,
328,
54,
64,
222,
325,
2087,
453,
2989,
1074,
222,
325,
2087,
837,
1768,
96,
125,
1301,
449,
244,
57,
98,
299,
327,
1832,
46,
328,
53,
64,
222,
325,
2087,
837,
1768,
96,
125,
1301,
449,
244,
56,
98,
299,
327,
1832,
46,
328,
54,
64,
222,
325,
2087,
837,
1768,
96,
125,
1301,
449,
244,
55,
98,
299,
327,
1832,
46,
328,
55,
64,
222,
325,
2087,
837,
1768,
96,
125,
1301,
449,
244,
54,
98,
299,
327,
1832,
46,
328,
56,
64,
222,
325,
2087,
453,
1991,
18245,
456,
2371,
12109,
5793,
222,
325,
2087,
475,
1301,
5928,
244,
57,
494,
244,
57,
338,
20264,
64,
222,
325,
2087,
837,
1301,
5928,
244,
57,
64,
222,
325,
1485,
339,
222,
325,
1485,
453,
2183,
2859,
2308,
5793,
222,
325,
1485,
456,
327,
110,
10606,
613,
2394,
244,
53,
64,
613,
15344,
320,
222,
325,
2087,
328,
53,
299,
342,
96,
110,
988,
222,
325,
2087,
475,
1768,
299,
517,
51,
116,
953,
45,
53,
312,
222,
325,
2087,
475,
1301,
299,
613,
64,
222,
325,
2087,
456,
327,
111,
299,
613,
494,
244,
54,
64,
614,
350,
329,
64,
614,
2002,
320,
222,
325,
4714,
328,
53,
5928,
475,
1768,
96,
113,
1301,
494,
614,
338,
20264,
98,
338,
837,
96,
111,
988,
222,
325,
2087,
339,
222,
325,
2087,
837,
96,
110,
98,
299,
327,
1832,
46,
328,
53,
64,
222,
325,
1485,
339,
222,
325,
222,
775,
40,
728,
222,
775,
222,
775,
221,
429,
613,
49,
614,
49,
20264,
64,
222,
775,
221,
931,
1916,
338,
1768,
64,
222,
775,
221,
2640,
3668,
64,
222,
775,
222,
775,
221,
6667,
299,
517,
51,
41435,
7633,
492,
222,
775,
221,
999,
327,
613,
299,
329,
449,
244,
54,
64,
613,
2394,
244,
53,
64,
613,
306,
848,
320,
222,
775,
221,
221,
1055,
299,
342,
96,
110,
988,
222,
775,
221,
221,
1768,
299,
517,
96,
53,
98,
494,
613,
64,
222,
775,
221,
221,
999,
327,
614,
299,
613,
494,
244,
54,
64,
614,
350,
329,
64,
614,
1065,
848,
320,
222,
775,
313,
221,
1055,
5928,
8417,
96,
111,
47,
6667,
98,
338,
837,
96,
111,
988,
222,
775,
221,
221,
130,
222,
775,
221,
221,
125,
96,
110,
98,
299,
3668,
64,
222,
775,
221,
130,
222,
775,
222,
775,
40,
2086,
222,
325,
370,
339,
222,
325,
222,
325,
370,
1276,
222,
325,
282,
48172,
222,
325,
282,
828,
31478,
100,
4020,
422,
3002,
93,
100,
81,
4132,
5771,
3278,
222,
325,
222,
325,
282,
347,
50,
1878,
10384,
1668,
517,
4132,
44,
451,
341,
329,
338,
329,
1381,
50,
4948,
451,
2525,
222,
325,
282,
341,
334,
1891,
529,
1299,
451,
341,
27750,
4725,
904,
7129,
347,
4712,
26225,
222,
325,
282,
48172,
222,
325,
282,
588,
222,
325,
370,
496,
1806,
222,
325,
370,
581,
1922,
5876,
93,
100,
81,
4132,
5771,
3278,
45,
333,
3002,
93,
2525,
49,
828,
5985,
93,
4712,
26225,
49,
648,
329,
46,
320,
222,
775,
40,
344,
244,
54,
222,
325,
222,
325,
1485,
648,
613,
49,
614,
49,
851,
49,
20264,
64,
222,
325,
1485,
1916,
1197,
373,
49,
15595,
49,
7714,
378,
64,
222,
325,
1485,
1916,
328,
53,
49,
328,
54,
49,
328,
55,
49,
328,
56,
49,
3668,
49,
362,
64,
222,
325,
1485,
648,
364,
1301,
299,
244,
53,
64,
222,
325,
222,
325,
1485,
373,
299,
556,
1916,
96,
115,
988,
222,
325,
1485,
15595,
299,
556,
1916,
96,
115,
988,
222,
325,
222,
325,
1485,
20264,
299,
2525,
51,
41435,
7633,
492,
222,
325,
222,
325,
1485,
434,
327,
115,
2527,
244,
53,
46,
320,
222,
325,
2087,
461,
878,
64,
222,
325,
1485,
339,
222,
325,
222,
325,
1485,
7714,
378,
299,
2525,
51,
116,
953,
45,
53,
312,
222,
325,
222,
325,
1485,
3668,
299,
7714,
378,
96,
53,
988,
222,
325,
222,
325,
1485,
434,
327,
1055,
630,
244,
53,
51,
53,
107,
46,
320,
222,
325,
2087,
461,
920,
64,
222,
325,
1485,
339,
222,
325,
222,
325,
1485,
15595,
96,
53,
98,
299,
3668,
64,
222,
325,
1485,
4712,
26225,
51,
117,
96,
53,
98,
299,
327,
105,
299,
244,
54,
51,
53,
107,
536,
3668,
312,
222,
325,
222,
325,
1485,
434,
327,
115,
2527,
244,
54,
46,
320,
222,
325,
2087,
461,
878,
64,
222,
325,
1485,
339,
222,
325,
222,
325,
1485,
7714,
378,
299,
2525,
51,
116,
953,
45,
53,
312,
222,
325,
1485,
456,
327,
111,
299,
244,
54,
64,
614,
350,
329,
64,
614,
2002,
320,
222,
325,
2087,
7714,
378,
96,
111,
338,
20264,
494,
244,
53,
98,
299,
1849,
26039,
96,
111,
338,
20264,
494,
244,
53,
1156,
338,
362,
312,
222,
325,
1485,
339,
222,
325,
222,
325,
1485,
7714,
378,
299,
2525,
51,
116,
953,
45,
54,
312,
222,
325,
222,
325,
1485,
373,
96,
53,
98,
299,
15595,
96,
53,
98,
338,
7714,
378,
96,
53,
988,
222,
325,
1485,
328,
53,
299,
373,
96,
53,
98,
338,
7714,
378,
96,
53,
988,
222,
325,
1485,
3668,
299,
7714,
378,
96,
54,
98,
449,
328,
53,
64,
222,
325,
222,
325,
1485,
434,
327,
1055,
630,
244,
53,
51,
53,
107,
46,
320,
222,
325,
2087,
461,
920,
64,
222,
325,
1485,
339,
222,
325,
222,
325,
1485,
2525,
51,
116,
903,
45,
54,
49,
244,
54,
49,
3668,
312,
222,
325,
1485,
15595,
96,
54,
98,
299,
3668,
64,
222,
325,
1485,
4712,
26225,
51,
117,
96,
54,
98,
299,
362,
299,
244,
54,
51,
53,
107,
536,
3668,
64,
222,
325,
222,
325,
1485,
434,
327,
115,
2527,
244,
55,
46,
320,
222,
325,
2087,
461,
878,
64,
222,
325,
1485,
339,
222,
325,
222,
325,
1485,
7714,
378,
299,
2525,
51,
116,
953,
45,
53,
312,
222,
325,
1485,
456,
327,
111,
299,
244,
55,
64,
614,
350,
329,
64,
614,
2002,
320,
222,
325,
2087,
7714,
378,
96,
111,
338,
20264,
494,
244,
54,
98,
299,
327,
26039,
96,
111,
338,
20264,
494,
244,
54,
98,
449,
373,
96,
53,
98,
338,
7714,
378,
96,
111,
338,
20264,
494,
244,
53,
1156,
338,
362,
64,
222,
325,
1485,
339,
222,
325,
222,
325,
1485,
7714,
378,
299,
2525,
51,
116,
953,
45,
55,
312,
222,
325,
222,
325,
1485,
373,
96,
53,
98,
299,
15595,
96,
53,
98,
338,
7714,
378,
96,
53,
988,
222,
325,
1485,
328,
53,
299,
373,
96,
53,
98,
338,
7714,
378,
96,
53,
988,
222,
325,
1485,
373,
96,
54,
98,
299,
15595,
96,
54,
98,
338,
7714,
378,
96,
54,
988,
222,
325,
1485,
328,
54,
299,
373,
96,
54,
98,
338,
7714,
378,
96,
54,
988,
222,
325,
1485,
3668,
299,
7714,
378,
96,
55,
98,
449,
328,
53,
449,
328,
54,
64,
222,
325,
222,
325,
1485,
434,
327,
1055,
630,
244,
53,
51,
53,
107,
46,
320,
222,
325,
2087,
461,
920,
64,
222,
325,
1485,
339,
222,
325,
222,
325,
1485,
2525,
51,
116,
903,
45,
55,
49,
244,
55,
49,
3668,
312,
222,
325,
1485,
15595,
96,
55,
98,
299,
3668,
64,
222,
325,
1485,
4712,
26225,
51,
117,
96,
55,
98,
299,
362,
299,
244,
54,
51,
53,
107,
536,
3668,
64,
222,
325,
222,
325,
1485,
434,
327,
115,
2527,
244,
56,
46,
320,
222,
325,
2087,
461,
878,
64,
222,
325,
1485,
339,
222,
325,
222,
325,
1485,
7714,
378,
299,
2525,
51,
116,
953,
45,
53,
312,
222,
325,
1485,
456,
327,
111,
299,
244,
56,
64,
614,
350,
329,
64,
614,
2002,
320,
222,
325,
2087,
7714,
378,
96,
111,
338,
20264,
494,
244,
55,
98,
299,
327,
26039,
96,
111,
338,
20264,
494,
244,
55,
98,
449,
373,
96,
53,
98,
338,
7714,
378,
96,
111,
338,
20264,
494,
244,
53,
98,
449,
373,
96,
54,
98,
338,
7714,
378,
96,
111,
338,
20264,
494,
244,
54,
1156,
338,
362,
64,
222,
325,
1485,
339,
222,
325,
222,
325,
1485,
7714,
378,
299,
2525,
51,
116,
953,
45,
56,
312,
222,
325,
222,
325,
1485,
373,
96,
53,
98,
299,
15595,
96,
53,
98,
338,
7714,
378,
96,
53,
988,
222,
325,
1485,
328,
53,
299,
373,
96,
53,
98,
338,
7714,
378,
96,
53,
988,
222,
325,
1485,
373,
96,
54,
98,
299,
15595,
96,
54,
98,
338,
7714,
378,
96,
54,
988,
222,
325,
1485,
328,
54,
299,
373,
96,
54,
98,
338,
7714,
378,
96,
54,
988,
222,
325,
1485,
373,
96,
55,
98,
299,
15595,
96,
55,
98,
338,
7714,
378,
96,
55,
988,
222,
325,
1485,
328,
55,
299,
373,
96,
55,
98,
338,
7714,
378,
96,
55,
988,
222,
325,
1485,
3668,
299,
7714,
378,
96,
56,
98,
449,
328,
53,
449,
328,
54,
449,
328,
55,
64,
222,
325,
222,
325,
1485,
434,
327,
1055,
630,
244,
53,
51,
53,
107,
46,
320,
222,
325,
2087,
461,
920,
64,
222,
325,
1485,
339,
222,
325,
222,
325,
1485,
2525,
51,
116,
903,
45,
56,
49,
244,
56,
49,
3668,
312,
222,
325,
1485,
15595,
96,
56,
98,
299,
3668,
64,
222,
325,
1485,
4712,
26225,
51,
117,
96,
56,
98,
299,
362,
299,
244,
54,
51,
53,
107,
536,
3668,
64,
222,
325,
222,
325,
1485,
434,
327,
115,
2527,
244,
57,
46,
320,
222,
325,
2087,
461,
878,
64,
222,
325,
1485,
339,
222,
325,
222,
325,
1485,
7714,
378,
299,
2525,
51,
116,
953,
45,
53,
312,
222,
325,
1485,
456,
327,
111,
299,
244,
57,
64,
614,
350,
329,
64,
614,
2002,
320,
222,
325,
2087,
7714,
378,
96,
111,
338,
20264,
494,
244,
56,
98,
299,
327,
26039,
96,
111,
338,
20264,
494,
244,
56,
98,
449,
373,
96,
53,
98,
338,
7714,
378,
96,
111,
338,
20264,
494,
244,
53,
98,
449,
373,
96,
54,
98,
338,
7714,
378,
96,
111,
338,
20264,
494,
244,
54,
98,
449,
373,
96,
55,
98,
338,
7714,
378,
96,
111,
338,
20264,
494,
244,
55,
1156,
338,
362,
64,
222,
325,
1485,
339,
222,
325,
222,
325,
1485,
456,
327,
110,
299,
244,
57,
64,
613,
350,
329,
64,
613,
2002,
320,
222,
325,
222,
325,
2087,
7714,
378,
299,
2525,
51,
116,
953,
45,
110,
312,
222,
325,
222,
325,
2087,
373,
96,
53,
98,
299,
15595,
96,
53,
98,
338,
7714,
378,
96,
53,
988,
222,
325,
2087,
328,
53,
299,
373,
96,
53,
98,
338,
7714,
378,
96,
53,
988,
222,
325,
2087,
373,
96,
54,
98,
299,
15595,
96,
54,
98,
338,
7714,
378,
96,
54,
988,
222,
325,
2087,
328,
54,
299,
373,
96,
54,
98,
338,
7714,
378,
96,
54,
988,
222,
325,
2087,
373,
96,
55,
98,
299,
15595,
96,
55,
98,
338,
7714,
378,
96,
55,
988,
222,
325,
2087,
328,
55,
299,
373,
96,
55,
98,
338,
7714,
378,
96,
55,
988,
222,
325,
2087,
373,
96,
56,
98,
299,
15595,
96,
56,
98,
338,
7714,
378,
96,
56,
988,
222,
325,
2087,
328,
56,
299,
373,
96,
56,
98,
338,
7714,
378,
96,
56,
988,
222,
325,
2087,
456,
327,
112,
299,
244,
57,
64,
851,
350,
613,
449,
244,
56,
64,
851,
1475,
244,
57,
46,
320,
222,
325,
4714,
373,
96,
112,
494,
244,
53,
98,
299,
15595,
96,
112,
494,
244,
53,
98,
338,
7714,
378,
96,
112,
494,
244,
53,
988,
222,
325,
4714,
328,
53,
1475,
373,
96,
112,
494,
244,
53,
98,
338,
7714,
378,
96,
112,
494,
244,
53,
988,
222,
325,
4714,
373,
96,
112,
494,
244,
54,
98,
299,
15595,
96,
112,
494,
244,
54,
98,
338,
7714,
378,
96,
112,
494,
244,
54,
988,
222,
325,
4714,
328,
54,
1475,
373,
96,
112,
494,
244,
54,
98,
338,
7714,
378,
96,
112,
494,
244,
54,
988,
222,
325,
4714,
373,
96,
112,
494,
244,
55,
98,
299,
15595,
96,
112,
494,
244,
55,
98,
338,
7714,
378,
96,
112,
494,
244,
55,
988,
222,
325,
4714,
328,
55,
1475,
373,
96,
112,
494,
244,
55,
98,
338,
7714,
378,
96,
112,
494,
244,
55,
988,
222,
325,
4714,
373,
96,
112,
494,
244,
56,
98,
299,
15595,
96,
112,
494,
244,
56,
98,
338,
7714,
378,
96,
112,
494,
244,
56,
988,
222,
325,
4714,
328,
56,
1475,
373,
96,
112,
494,
244,
56,
98,
338,
7714,
378,
96,
112,
494,
244,
56,
988,
222,
325,
2087,
339,
222,
325,
2087,
3593,
327,
110,
449,
851,
46,
320,
222,
775,
313,
221,
2593,
5815,
64,
222,
325,
4714,
1152,
244,
56,
63,
222,
325,
6813,
373,
96,
112,
494,
244,
55,
98,
299,
15595,
96,
112,
494,
244,
55,
98,
338,
7714,
378,
96,
112,
494,
244,
55,
988,
222,
325,
6813,
328,
53,
1475,
373,
96,
112,
494,
244,
55,
98,
338,
7714,
378,
96,
112,
494,
244,
55,
988,
222,
325,
4714,
1152,
244,
55,
63,
222,
325,
6813,
373,
96,
112,
494,
244,
54,
98,
299,
15595,
96,
112,
494,
244,
54,
98,
338,
7714,
378,
96,
112,
494,
244,
54,
988,
222,
325,
6813,
328,
54,
1475,
373,
96,
112,
494,
244,
54,
98,
338,
7714,
378,
96,
112,
494,
244,
54,
988,
222,
325,
4714,
1152,
244,
54,
63,
222,
325,
6813,
373,
96,
112,
494,
244,
53,
98,
299,
15595,
96,
112,
494,
244,
53,
98,
338,
7714,
378,
96,
112,
494,
244,
53,
988,
222,
325,
6813,
328,
55,
1475,
373,
96,
112,
494,
244,
53,
98,
338,
7714,
378,
96,
112,
494,
244,
53,
988,
222,
325,
4714,
1152,
244,
53,
63,
222,
325,
6813,
1644,
64,
222,
325,
2087,
339,
222,
325,
2087,
3668,
299,
328,
56,
64,
222,
325,
2087,
3668,
1475,
328,
55,
64,
222,
325,
2087,
3668,
1475,
328,
54,
64,
222,
325,
2087,
3668,
1475,
328,
53,
64,
222,
325,
2087,
3668,
299,
7714,
378,
96,
110,
98,
449,
3668,
64,
222,
325,
222,
325,
2087,
434,
327,
1055,
630,
244,
53,
51,
53,
107,
46,
320,
222,
325,
4714,
461,
920,
64,
222,
325,
2087,
339,
222,
325,
222,
325,
2087,
2525,
51,
116,
903,
45,
110,
49,
613,
49,
3668,
312,
222,
325,
2087,
15595,
96,
110,
98,
299,
3668,
64,
222,
325,
2087,
4712,
26225,
51,
117,
96,
110,
98,
299,
362,
299,
244,
54,
51,
53,
107,
536,
3668,
64,
222,
325,
222,
325,
2087,
434,
327,
110,
494,
244,
54,
2394,
329,
46,
320,
222,
325,
4714,
461,
878,
64,
222,
325,
2087,
339,
222,
325,
222,
325,
2087,
7714,
378,
299,
2525,
51,
116,
953,
45,
110,
494,
244,
54,
312,
222,
325,
2087,
456,
327,
111,
299,
613,
494,
244,
54,
64,
614,
350,
329,
64,
614,
2002,
320,
222,
325,
4714,
328,
53,
299,
7714,
378,
96,
114,
1301,
494,
244,
53,
98,
338,
373,
96,
53,
988,
222,
325,
4714,
328,
54,
299,
7714,
378,
96,
114,
1301,
494,
244,
54,
98,
338,
373,
96,
54,
988,
222,
325,
4714,
328,
55,
299,
7714,
378,
96,
114,
1301,
494,
244,
55,
98,
338,
373,
96,
55,
988,
222,
325,
4714,
328,
56,
299,
7714,
378,
96,
114,
1301,
494,
244,
56,
98,
338,
373,
96,
56,
988,
222,
325,
4714,
456,
327,
112,
299,
244,
57,
64,
851,
350,
613,
449,
244,
60,
64,
851,
1475,
244,
61,
46,
320,
222,
325,
6813,
328,
53,
1475,
7714,
378,
96,
114,
1301,
494,
851,
494,
244,
53,
98,
338,
373,
96,
112,
494,
244,
53,
988,
222,
325,
6813,
328,
54,
1475,
7714,
378,
96,
114,
1301,
494,
851,
494,
244,
54,
98,
338,
373,
96,
112,
494,
244,
54,
988,
222,
325,
6813,
328,
55,
1475,
7714,
378,
96,
114,
1301,
494,
851,
494,
244,
55,
98,
338,
373,
96,
112,
494,
244,
55,
988,
222,
325,
6813,
328,
56,
1475,
7714,
378,
96,
114,
1301,
494,
851,
494,
244,
56,
98,
338,
373,
96,
112,
494,
244,
56,
988,
222,
325,
6813,
328,
53,
1475,
7714,
378,
96,
114,
1301,
494,
851,
494,
244,
57,
98,
338,
373,
96,
112,
494,
244,
57,
988,
222,
325,
6813,
328,
54,
1475,
7714,
378,
96,
114,
1301,
494,
851,
494,
244,
58,
98,
338,
373,
96,
112,
494,
244,
58,
988,
222,
325,
6813,
328,
55,
1475,
7714,
378,
96,
114,
1301,
494,
851,
494,
244,
59,
98,
338,
373,
96,
112,
494,
244,
59,
988,
222,
325,
6813,
328,
56,
1475,
7714,
378,
96,
114,
1301,
494,
851,
494,
244,
60,
98,
338,
373,
96,
112,
494,
244,
60,
988,
222,
325,
4714,
339,
222,
325,
4714,
3593,
327,
110,
449,
851,
46,
320,
222,
775,
3177,
221,
2593,
5815,
64,
222,
325,
6813,
1152,
244,
60,
63,
222,
325,
9326,
328,
53,
1475,
7714,
378,
96,
114,
1301,
494,
851,
494,
244,
59,
98,
338,
373,
96,
112,
494,
244,
59,
988,
222,
325,
6813,
1152,
244,
59,
63,
222,
325,
9326,
328,
54,
1475,
7714,
378,
96,
114,
1301,
494,
851,
494,
244,
58,
98,
338,
373,
96,
112,
494,
244,
58,
988,
222,
325,
6813,
1152,
244,
58,
63,
222,
325,
9326,
328,
55,
1475,
7714,
378,
96,
114,
1301,
494,
851,
494,
244,
57,
98,
338,
373,
96,
112,
494,
244,
57,
988,
222,
325,
6813,
1152,
244,
57,
63,
222,
325,
9326,
328,
56,
1475,
7714,
378,
96,
114,
1301,
494,
851,
494,
244,
56,
98,
338,
373,
96,
112,
494,
244,
56,
988,
222,
325,
6813,
1152,
244,
56,
63,
222,
325,
9326,
328,
53,
1475,
7714,
378,
96,
114,
1301,
494,
851,
494,
244,
55,
98,
338,
373,
96,
112,
494,
244,
55,
988,
222,
325,
6813,
1152,
244,
55,
63,
222,
325,
9326,
328,
54,
1475,
7714,
378,
96,
114,
1301,
494,
851,
494,
244,
54,
98,
338,
373,
96,
112,
494,
244,
54,
988,
222,
325,
6813,
1152,
244,
54,
63,
222,
325,
9326,
328,
55,
1475,
7714,
378,
96,
114,
1301,
494,
851,
494,
244,
53,
98,
338,
373,
96,
112,
494,
244,
53,
988,
222,
325,
6813,
1152,
244,
53,
63,
222,
325,
9326,
1644,
64,
222,
325,
4714,
339,
222,
325,
4714,
3668,
299,
328,
56,
64,
222,
325,
4714,
3668,
1475,
328,
55,
64,
222,
325,
4714,
3668,
1475,
328,
54,
64,
222,
325,
4714,
3668,
1475,
328,
53,
64,
222,
325,
4714,
7714,
378,
96,
114,
1301,
494,
613,
98,
299,
327,
26039,
96,
114,
1301,
494,
613,
98,
449,
3668,
46,
338,
362,
64,
222,
325,
4714,
364,
1301,
1475,
20264,
64,
222,
325,
2087,
339,
222,
325,
1485,
339,
222,
325,
222,
325,
1485,
461,
878,
64,
222,
325,
222,
775,
40,
728,
222,
775,
222,
775,
221,
429,
613,
49,
614,
49,
851,
49,
20264,
64,
222,
775,
221,
1832,
338,
123,
49,
338,
1768,
49,
338,
13173,
2664,
64,
222,
775,
221,
2640,
362,
49,
3668,
64,
222,
775,
222,
775,
221,
123,
299,
327,
1832,
2953,
634,
33232,
54,
59,
45,
329,
338,
3758,
45,
1916,
848,
1110,
222,
775,
221,
6667,
299,
2525,
51,
41435,
7633,
492,
222,
775,
222,
775,
221,
999,
327,
613,
299,
244,
53,
64,
613,
350,
329,
64,
613,
1065,
848,
320,
222,
775,
222,
775,
221,
221,
1768,
299,
2525,
96,
110,
988,
222,
775,
221,
221,
13173,
2664,
299,
2525,
96,
53,
988,
222,
775,
221,
221,
1055,
299,
8417,
96,
110,
988,
222,
775,
221,
221,
999,
327,
614,
299,
244,
53,
64,
614,
350,
613,
64,
614,
1065,
848,
320,
222,
775,
313,
221,
105,
299,
8417,
96,
111,
988,
222,
775,
47478,
373,
96,
111,
98,
299,
15595,
2664,
96,
53,
98,
338,
362,
64,
222,
775,
47478,
3668,
5928,
373,
96,
111,
98,
338,
362,
64,
222,
775,
313,
221,
13173,
2664,
1475,
20264,
494,
244,
54,
64,
222,
775,
221,
221,
130,
222,
775,
222,
775,
221,
221,
344,
327,
3668,
630,
244,
53,
51,
53,
107,
848,
320,
222,
775,
313,
221,
620,
920,
64,
222,
775,
221,
221,
130,
222,
775,
222,
775,
221,
221,
13173,
2664,
96,
53,
98,
299,
3668,
64,
222,
775,
221,
221,
5834,
26225,
96,
110,
98,
299,
362,
299,
244,
54,
51,
53,
107,
536,
3668,
64,
222,
775,
222,
775,
221,
221,
344,
327,
613,
494,
244,
54,
2394,
329,
848,
320,
222,
775,
313,
221,
7514,
64,
222,
775,
221,
221,
130,
222,
775,
222,
775,
221,
221,
1768,
299,
2525,
96,
110,
48,
54,
988,
222,
775,
221,
221,
999,
327,
614,
299,
613,
494,
244,
54,
64,
614,
350,
329,
64,
614,
1065,
848,
320,
222,
775,
313,
221,
1055,
299,
8417,
96,
110,
988,
222,
775,
313,
221,
999,
327,
851,
299,
244,
53,
64,
851,
350,
613,
64,
851,
1065,
848,
320,
222,
775,
3177,
221,
1055,
5928,
8417,
96,
112,
98,
338,
373,
96,
112,
988,
222,
775,
313,
221,
130,
222,
775,
313,
221,
1768,
96,
110,
98,
299,
3668,
338,
362,
64,
222,
775,
313,
221,
1768,
1475,
20264,
64,
222,
775,
221,
221,
130,
222,
775,
221,
130,
222,
775,
222,
775,
221,
620,
878,
64,
222,
775,
222,
775,
40,
2086,
222,
325,
370,
339,
222,
325,
222,
325,
370,
496,
1806,
222,
325,
370,
581,
782,
45029,
14090,
120,
45,
333,
14090,
1257,
288,
1197,
16234,
120,
49,
828,
14090,
1257,
288,
1197,
27340,
14090,
120,
49,
1916,
475,
22059,
49,
648,
1197,
1671,
49,
648,
1952,
14090,
120,
46,
320,
222,
325,
1485,
648,
613,
64,
222,
325,
222,
325,
1485,
456,
327,
110,
299,
244,
53,
64,
613,
350,
1952,
14090,
120,
64,
613,
2002,
320,
222,
325,
2087,
648,
614,
299,
1671,
96,
110,
988,
222,
325,
2087,
16234,
120,
96,
111,
1015,
118,
51,
88,
42354,
45,
43015,
96,
111,
1015,
118,
49,
27340,
14090,
120,
96,
111,
1015,
118,
49,
475,
22059,
312,
222,
325,
2087,
16234,
120,
96,
111,
1015,
121,
51,
48608,
45,
43015,
96,
111,
1015,
121,
49,
27340,
14090,
120,
96,
111,
1015,
121,
49,
475,
22059,
312,
222,
325,
1485,
339,
222,
325,
370,
339,
222,
325,
222,
325,
370,
496,
1806,
222,
325,
370,
581,
782,
8145,
14090,
1257,
1990,
724,
14090,
82,
1990,
45,
333,
14090,
3002,
1197,
16234,
82,
1990,
49,
828,
14090,
1257,
288,
1197,
16234,
1257,
1990,
49,
648,
1952,
14090,
120,
46,
320,
222,
325,
1485,
648,
613,
64,
222,
325,
222,
325,
1485,
456,
327,
110,
299,
244,
53,
64,
613,
350,
1952,
14090,
120,
64,
613,
2002,
320,
222,
325,
2087,
16234,
82,
1990,
96,
110,
1015,
903,
10493,
45,
11968,
1257,
1990,
96,
110,
1015,
118,
51,
724,
3002,
56,
1052,
222,
325,
2087,
16234,
82,
1990,
96,
110,
1015,
903,
12687,
45,
11968,
1257,
1990,
96,
110,
1015,
121,
312,
222,
325,
1485,
339,
222,
325,
370,
339,
222,
325,
222,
325,
370,
496,
1806,
222,
325,
370,
581,
782,
8145,
14090,
82,
1990,
724,
14090,
1257,
1990,
45,
333,
739,
65,
333,
14090,
1257,
288,
67,
16234,
1257,
1990,
49,
828,
14090,
3002,
1197,
16234,
82,
1990,
49,
648,
1952,
14090,
120,
46,
320,
222,
325,
1485,
648,
613,
64,
222,
325,
222,
325,
1485,
456,
327,
110,
299,
244,
53,
64,
613,
350,
1952,
14090,
120,
64,
613,
2002,
320,
222,
325,
2087,
16234,
1257,
1990,
51,
116,
903,
45,
110,
49,
16234,
82,
1990,
96,
110,
1015,
724,
14090,
1257,
288,
1052,
222,
325,
1485,
339,
222,
325,
370,
339,
222,
325,
222,
325,
370,
496,
1806,
222,
325,
370,
581,
782,
11685,
14090,
120,
45,
333,
14090,
3002,
1197,
16234,
82,
1990,
49,
648,
1197,
20845,
49,
648,
1950,
14090,
49,
648,
2419,
14090,
46,
320,
222,
325,
1485,
648,
613,
64,
222,
325,
222,
325,
1485,
456,
327,
110,
299,
1950,
14090,
64,
613,
2527,
2419,
14090,
64,
613,
2002,
320,
222,
325,
2087,
1217,
327,
19270,
96,
110,
98,
350,
613,
312,
222,
325,
2087,
16234,
82,
1990,
96,
110,
1015,
116,
18527,
903,
45,
11968,
82,
1990,
96,
19270,
96,
110,
34238,
222,
325,
1485,
339,
222,
325,
370,
339,
222,
325,
222,
325,
370,
496,
1806,
222,
325,
370,
581,
782,
1703,
3824,
14090,
120,
45,
333,
14090,
3002,
1197,
16234,
82,
1990,
49,
648,
1197,
20845,
49,
648,
1950,
14090,
49,
648,
2419,
14090,
46,
320,
222,
325,
1485,
648,
613,
64,
222,
325,
222,
325,
1485,
456,
327,
110,
299,
2419,
14090,
64,
613,
2394,
1950,
14090,
64,
613,
15344,
320,
222,
325,
2087,
1217,
327,
19270,
96,
110,
98,
350,
613,
312,
222,
325,
2087,
16234,
82,
1990,
96,
110,
1015,
116,
6792,
903,
45,
11968,
82,
1990,
96,
19270,
96,
110,
34238,
222,
325,
1485,
339,
222,
325,
370,
339,
222,
325,
222,
325,
370,
496,
1806,
222,
325,
370,
581,
782,
11685,
3832,
120,
45,
333,
2900,
3832,
1197,
49094,
49,
648,
1952,
3832,
120,
49,
828,
14090,
3002,
1197,
16234,
120,
49,
828,
5985,
57,
1197,
11361,
49,
648,
1197,
1671,
49,
648,
1952,
21720,
46,
320,
222,
325,
1485,
648,
613,
49,
614,
64,
222,
325,
1485,
24976,
16234,
120,
2664,
299,
614,
114,
471,
2901,
45,
43015,
312,
222,
325,
222,
325,
1485,
456,
327,
111,
299,
613,
299,
244,
53,
64,
613,
350,
1952,
3832,
120,
64,
613,
2002,
320,
222,
325,
2087,
828,
5985,
56,
373,
64,
222,
325,
222,
325,
2087,
373,
299,
391,
625,
14090,
3002,
45,
43015,
2664,
49,
1671,
96,
111,
338,
244,
55,
494,
244,
53,
8527,
116,
27722,
45,
9712,
96,
111,
2004,
325,
10767,
63,
1571,
434,
477,
12432,
391,
341,
3447,
4964,
222,
325,
2087,
2236,
327,
1076,
96,
111,
338,
244,
55,
494,
244,
54,
98,
630,
244,
53,
46,
320,
222,
325,
4714,
614,
3348,
222,
325,
4714,
373,
51,
116,
1839,
122,
903,
45,
471,
625,
14090,
3002,
45,
43015,
2664,
49,
1671,
96,
111,
338,
244,
55,
494,
244,
53,
8527,
116,
27722,
45,
9712,
96,
111,
10679,
222,
325,
2087,
339,
222,
325,
2087,
614,
3348,
222,
325,
222,
325,
2087,
49094,
96,
110,
98,
299,
327,
11225,
96,
110,
98,
630,
762,
1037,
556,
828,
2900,
3832,
365,
518,
49094,
96,
110,
2004,
222,
325,
2087,
49094,
96,
110,
1015,
11482,
299,
373,
64,
222,
325,
1485,
339,
222,
325,
370,
339,
222,
325,
222,
325,
370,
453,
10767,
63,
5187,
391,
5979,
15433,
222,
325,
370,
964,
924,
24976,
614,
114,
471,
2901,
45,
3242,
828,
14090,
3002,
1197,
16234,
120,
46,
320,
222,
325,
1485,
24976,
3447,
2030,
299,
24976,
51,
14942,
45,
333,
14090,
3002,
51,
3382,
338,
16234,
120,
51,
1340,
566,
1191,
45,
3945,
2888,
51,
22571,
35312,
100,
34223,
312,
222,
325,
222,
325,
1485,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
16234,
120,
51,
1340,
64,
613,
2002,
320,
222,
325,
2087,
3447,
2030,
51,
2719,
45,
110,
338,
828,
14090,
3002,
51,
3382,
312,
222,
325,
2087,
3447,
2030,
51,
321,
3690,
2030,
941,
543,
45,
43015,
96,
110,
1015,
724,
3690,
2664,
1052,
222,
325,
1485,
339,
222,
325,
222,
325,
1485,
461,
3447,
2030,
64,
222,
325,
370,
339,
222,
325,
222,
325,
370,
964,
924,
828,
14090,
3002,
391,
625,
14090,
3002,
45,
3242,
24976,
16234,
120,
2664,
49,
1175,
648,
2764,
46,
320,
222,
325,
1485,
24976,
3129,
299,
1849,
21042,
46,
16234,
120,
2664,
51,
19998,
941,
2719,
45,
2719,
3445,
1191,
45,
3945,
2888,
51,
22571,
35312,
100,
34223,
312,
222,
325,
1485,
1916,
1197,
1798,
299,
556,
1916,
96,
54,
55,
988,
222,
325,
1485,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
244,
54,
55,
64,
613,
2002,
320,
222,
325,
2087,
1798,
96,
110,
98,
299,
3129,
51,
390,
3690,
492,
222,
325,
1485,
339,
222,
325,
1485,
461,
556,
828,
14090,
3002,
45,
1452,
312,
222,
325,
370,
339,
222,
325,
222,
325,
370,
496,
1806,
222,
325,
370,
581,
782,
16307,
1962,
38408,
45,
2278,
1197,
300,
533,
8738,
49,
3447,
1197,
3410,
1543,
49,
1916,
10472,
49,
828,
13753,
1197,
39106,
49,
828,
2900,
3832,
1197,
49094,
49,
648,
1952,
3832,
120,
46,
320,
222,
325,
1485,
648,
613,
64,
222,
325,
1485,
3447,
292,
1543,
64,
222,
325,
222,
325,
1485,
292,
1543,
299,
244,
53,
64,
222,
325,
222,
325,
1485,
456,
327,
110,
299,
244,
53,
64,
613,
350,
1952,
3832,
120,
64,
613,
2002,
320,
222,
325,
2087,
648,
7037,
64,
222,
325,
2087,
1916,
362,
53,
49,
362,
54,
49,
362,
55,
49,
362,
56,
49,
292,
64,
222,
325,
2087,
1175,
828,
5985,
56,
373,
299,
49094,
96,
110,
1015,
11482,
64,
222,
325,
222,
325,
2087,
362,
53,
299,
39106,
96,
53,
1015,
8470,
45,
123,
312,
222,
325,
2087,
362,
54,
299,
39106,
96,
54,
1015,
8470,
45,
123,
312,
222,
325,
2087,
362,
55,
299,
39106,
96,
55,
1015,
8470,
45,
123,
312,
222,
325,
2087,
362,
56,
299,
39106,
96,
56,
1015,
8470,
45,
123,
312,
222,
325,
222,
325,
2087,
292,
299,
362,
53,
494,
10472,
64,
222,
325,
2087,
7037,
299,
31386,
9876,
5676,
2710,
45,
121,
46,
1281,
244,
53,
64,
222,
325,
2087,
292,
299,
362,
54,
494,
10472,
64,
222,
325,
2087,
7037,
6593,
31386,
9876,
5676,
2710,
45,
121,
46,
1281,
244,
54,
64,
222,
325,
2087,
292,
299,
362,
55,
494,
10472,
64,
222,
325,
2087,
7037,
6593,
31386,
9876,
5676,
2710,
45,
121,
46,
1281,
244,
55,
64,
222,
325,
2087,
292,
299,
362,
56,
494,
10472,
64,
222,
325,
2087,
7037,
6593,
31386,
9876,
5676,
2710,
45,
121,
46,
1281,
244,
56,
64,
222,
325,
222,
325,
2087,
292,
299,
362,
53,
449,
10472,
64,
222,
325,
2087,
7037,
6593,
31386,
9876,
5676,
2710,
45,
121,
46,
1281,
244,
57,
64,
222,
325,
2087,
292,
299,
362,
54,
449,
10472,
64,
222,
325,
2087,
7037,
6593,
31386,
9876,
5676,
2710,
45,
121,
46,
1281,
244,
58,
64,
222,
325,
2087,
292,
299,
362,
55,
449,
10472,
64,
222,
325,
2087,
7037,
6593,
31386,
9876,
5676,
2710,
45,
121,
46,
1281,
244,
59,
64,
222,
325,
2087,
292,
299,
362,
56,
449,
10472,
64,
222,
325,
2087,
7037,
6593,
31386,
9876,
5676,
2710,
45,
121,
46,
1281,
244,
60,
64,
222,
325,
222,
325,
2087,
7037,
21554,
244,
53,
125,
53,
75,
64,
221,
221,
325,
19634,
7245,
12109,
7037,
222,
325,
222,
325,
2087,
292,
1543,
6593,
7037,
64,
222,
325,
2087,
300,
533,
8738,
96,
110,
98,
299,
327,
2278,
46,
7037,
64,
222,
325,
1485,
339,
222,
325,
222,
325,
1485,
3410,
1543,
96,
53,
98,
299,
292,
1543,
64,
222,
325,
370,
339,
222,
325,
222,
325,
370,
496,
1806,
222,
325,
370,
581,
782,
9190,
298,
1962,
38408,
45,
2278,
1197,
300,
533,
8738,
49,
828,
13753,
1197,
39106,
49,
828,
2900,
3832,
1197,
49094,
49,
648,
1952,
3832,
120,
46,
320,
222,
325,
1485,
648,
613,
64,
222,
325,
222,
325,
1485,
456,
327,
110,
299,
244,
53,
64,
613,
350,
1952,
3832,
120,
64,
613,
2002,
320,
222,
325,
2087,
648,
7037,
64,
222,
325,
2087,
1916,
362,
53,
49,
362,
54,
49,
362,
55,
49,
362,
56,
49,
362,
57,
49,
362,
58,
64,
222,
325,
2087,
1175,
828,
5985,
56,
373,
299,
49094,
96,
110,
1015,
11482,
64,
222,
325,
222,
325,
2087,
362,
53,
299,
39106,
96,
53,
1015,
8470,
45,
123,
312,
222,
325,
2087,
362,
54,
299,
39106,
96,
54,
1015,
8470,
45,
123,
312,
222,
325,
2087,
362,
55,
299,
39106,
96,
55,
1015,
8470,
45,
123,
312,
222,
325,
2087,
362,
56,
299,
39106,
96,
56,
1015,
8470,
45,
123,
312,
222,
325,
2087,
362,
57,
299,
39106,
96,
57,
1015,
8470,
45,
123,
312,
222,
325,
2087,
362,
58,
299,
39106,
96,
58,
1015,
8470,
45,
123,
312,
222,
325,
222,
325,
2087,
7037,
299,
31386,
9876,
5676,
2710,
45,
105,
53,
46,
1281,
244,
53,
64,
222,
325,
2087,
7037,
6593,
31386,
9876,
5676,
2710,
45,
105,
54,
46,
1281,
244,
54,
64,
222,
325,
2087,
7037,
6593,
31386,
9876,
5676,
2710,
45,
105,
55,
46,
1281,
244,
55,
64,
222,
325,
2087,
7037,
6593,
31386,
9876,
5676,
2710,
45,
105,
56,
46,
1281,
244,
56,
64,
222,
325,
2087,
7037,
6593,
31386,
9876,
5676,
2710,
45,
105,
57,
46,
1281,
244,
57,
64,
222,
325,
2087,
7037,
6593,
31386,
9876,
5676,
2710,
45,
105,
58,
46,
1281,
244,
58,
64,
222,
325,
222,
325,
2087,
300,
533,
8738,
96,
110,
98,
299,
327,
2278,
46,
327,
5966,
5317,
244,
53,
125,
56,
75,
312,
221,
221,
325,
19634,
7245,
244,
59,
7037,
222,
325,
1485,
339,
222,
325,
370,
339,
222,
325,
222,
325,
370,
496,
1806,
222,
325,
370,
581,
782,
38735,
1962,
38408,
45,
2278,
1197,
300,
533,
8738,
49,
828,
5985,
55,
1197,
15494,
17473,
49,
828,
13753,
1197,
39106,
49,
828,
2900,
3832,
1197,
49094,
49,
648,
1952,
3832,
120,
46,
320,
222,
325,
1485,
648,
613,
64,
222,
325,
222,
325,
1485,
456,
327,
110,
299,
244,
53,
64,
613,
350,
1952,
3832,
120,
64,
613,
2002,
320,
222,
325,
2087,
648,
7037,
64,
222,
325,
2087,
1916,
362,
53,
49,
362,
54,
64,
222,
325,
2087,
1175,
828,
5985,
56,
373,
299,
49094,
96,
110,
1015,
11482,
64,
222,
325,
222,
325,
2087,
15494,
17473,
96,
110,
1015,
116,
903,
45,
53,
49,
362,
53,
299,
39106,
96,
53,
1015,
8470,
45,
123,
894,
222,
325,
2087,
15494,
17473,
96,
110,
1015,
116,
903,
45,
54,
49,
362,
54,
299,
39106,
96,
54,
1015,
8470,
45,
123,
894,
222,
325,
222,
325,
2087,
7037,
299,
31386,
9876,
5676,
2710,
45,
105,
53,
46,
1281,
244,
53,
64,
222,
325,
2087,
362,
53,
299,
244,
54,
51,
53,
107,
449,
362,
53,
64,
222,
325,
2087,
7037,
6593,
31386,
9876,
5676,
2710,
45,
105,
54,
46,
1281,
244,
54,
64,
222,
325,
2087,
362,
54,
299,
244,
54,
51,
53,
107,
449,
362,
54,
64,
222,
325,
2087,
7037,
6593,
31386,
9876,
5676,
2710,
45,
105,
53,
46,
1281,
244,
55,
64,
222,
325,
2087,
7037,
6593,
31386,
9876,
5676,
2710,
45,
105,
54,
46,
1281,
244,
56,
64,
222,
325,
222,
325,
2087,
300,
533,
8738,
96,
110,
98,
299,
327,
2278,
46,
7037,
64,
222,
325,
1485,
339,
222,
325,
370,
339,
222,
325,
222,
325,
370,
1276,
222,
325,
282,
48172,
222,
325,
282,
828,
31478,
100,
4020,
422,
11917,
680,
6959,
45762,
222,
325,
222,
325,
282,
15933,
4145,
331,
14447,
23265,
456,
2531,
22548,
51,
222,
325,
282,
48172,
222,
325,
282,
588,
222,
325,
370,
496,
1806,
222,
325,
370,
581,
782,
15933,
680,
6959,
45762,
45,
333,
13753,
1197,
39106,
49,
828,
2900,
3832,
1197,
49094,
49,
648,
1952,
3832,
120,
49,
648,
1197,
17230,
49,
648,
1952,
19383,
46,
320,
222,
325,
1485,
648,
613,
49,
14447,
2664,
64,
222,
325,
222,
325,
1485,
456,
327,
110,
299,
14447,
2664,
299,
244,
53,
64,
613,
350,
1952,
19383,
64,
613,
1475,
244,
56,
46,
320,
222,
325,
2087,
1175,
828,
2900,
3832,
331,
49,
342,
49,
300,
64,
222,
325,
2087,
1916,
1197,
362,
53,
299,
556,
1916,
96,
56,
636,
362,
54,
299,
556,
1916,
96,
56,
988,
222,
325,
2087,
1916,
315,
64,
222,
325,
2087,
828,
5985,
56,
329,
64,
222,
325,
222,
325,
2087,
331,
299,
49094,
96,
18826,
96,
110,
494,
244,
53,
19744,
222,
325,
2087,
342,
299,
49094,
96,
18826,
96,
110,
494,
244,
54,
19744,
222,
325,
2087,
300,
299,
49094,
96,
18826,
96,
110,
494,
244,
55,
19744,
222,
325,
222,
325,
2087,
362,
53,
96,
53,
98,
299,
342,
51,
11482,
51,
116,
953,
45,
53,
46,
449,
331,
51,
11482,
51,
116,
953,
45,
53,
312,
222,
325,
2087,
362,
53,
96,
54,
98,
299,
342,
51,
11482,
51,
116,
953,
45,
54,
46,
449,
331,
51,
11482,
51,
116,
953,
45,
54,
312,
222,
325,
2087,
362,
53,
96,
55,
98,
299,
342,
51,
11482,
51,
116,
953,
45,
55,
46,
449,
331,
51,
11482,
51,
116,
953,
45,
55,
312,
222,
325,
222,
325,
2087,
362,
54,
96,
53,
98,
299,
300,
51,
11482,
51,
116,
953,
45,
53,
46,
449,
331,
51,
11482,
51,
116,
953,
45,
53,
312,
222,
325,
2087,
362,
54,
96,
54,
98,
299,
300,
51,
11482,
51,
116,
953,
45,
54,
46,
449,
331,
51,
11482,
51,
116,
953,
45,
54,
312,
222,
325,
2087,
362,
54,
96,
55,
98,
299,
300,
51,
11482,
51,
116,
953,
45,
55,
46,
449,
331,
51,
11482,
51,
116,
953,
45,
55,
312,
222,
325,
222,
325,
2087,
329,
299,
556,
828,
5985,
56,
45,
222,
325,
6813,
362,
54,
96,
54,
98,
338,
362,
53,
96,
55,
98,
449,
362,
54,
96,
55,
98,
338,
362,
53,
96,
54,
636,
222,
325,
6813,
362,
54,
96,
55,
98,
338,
362,
53,
96,
53,
98,
449,
362,
54,
96,
53,
98,
338,
362,
53,
96,
55,
636,
222,
325,
6813,
362,
54,
96,
53,
98,
338,
362,
53,
96,
54,
98,
449,
362,
54,
96,
54,
98,
338,
362,
53,
96,
53,
2004,
222,
325,
222,
325,
2087,
315,
299,
828,
5728,
51,
10187,
44141,
45,
115,
51,
125,
338,
329,
51,
125,
494,
329,
51,
126,
338,
329,
51,
126,
494,
329,
51,
127,
338,
329,
51,
127,
312,
222,
325,
222,
325,
2087,
329,
51,
125,
10465,
315,
64,
222,
325,
2087,
329,
51,
126,
10465,
315,
64,
222,
325,
2087,
329,
51,
127,
10465,
315,
64,
222,
325,
222,
325,
2087,
39106,
96,
14374,
2664,
1015,
903,
5981,
45,
115,
312,
222,
325,
2087,
39106,
96,
14374,
2664,
1015,
14088,
17729,
1962,
45,
102,
51,
11482,
312,
222,
325,
2087,
14447,
2664,
3348,
222,
325,
1485,
339,
222,
325,
370,
339,
222,
325,
222,
325,
370,
1276,
222,
325,
282,
48172,
222,
325,
282,
828,
31478,
100,
4020,
422,
11917,
680,
26019,
10753,
222,
325,
222,
325,
282,
15933,
4145,
341,
4330,
480,
575,
44861,
48455,
16688,
456,
341,
22548,
13225,
51,
222,
325,
282,
2643,
2531,
9230,
341,
4330,
480,
48455,
16688,
904,
12015,
664,
1187,
36773,
222,
325,
282,
1493,
341,
9230,
1532,
3300,
347,
19064,
29791,
10753,
10192,
341,
9552,
51,
222,
325,
282,
719,
341,
2183,
341,
22548,
39106,
904,
16515,
641,
4509,
51,
222,
325,
282,
48172,
222,
325,
282,
588,
222,
325,
370,
496,
1806,
222,
325,
370,
581,
782,
15933,
680,
26019,
10753,
45,
333,
13753,
1197,
39106,
49,
828,
2900,
3832,
1197,
49094,
49,
648,
1952,
3832,
120,
49,
648,
1197,
17230,
49,
648,
1952,
19383,
46,
320,
222,
325,
1485,
648,
613,
49,
39106,
2664,
64,
222,
325,
222,
325,
1485,
1922,
1197,
1674,
299,
556,
1922,
96,
1538,
3832,
120,
988,
222,
775,
221,
21463,
45,
1674,
49,
244,
53,
49,
1952,
3832,
120,
338,
3758,
45,
1674,
96,
53,
98,
848,
1110,
222,
325,
222,
325,
1485,
456,
327,
110,
299,
39106,
2664,
299,
244,
53,
64,
613,
350,
1952,
19383,
64,
613,
1475,
244,
56,
46,
320,
222,
325,
2087,
828,
2900,
3832,
331,
49,
342,
49,
300,
64,
222,
325,
2087,
648,
2613,
4596,
64,
222,
325,
2087,
1916,
1197,
362,
53,
299,
556,
1916,
96,
58,
636,
362,
54,
299,
556,
1916,
96,
58,
988,
222,
325,
2087,
1916,
315,
49,
5978,
64,
222,
325,
2087,
828,
5985,
56,
329,
49,
292,
53,
299,
556,
828,
5985,
56,
1046,
292,
54,
299,
556,
828,
5985,
56,
492,
222,
325,
222,
325,
2087,
648,
373,
53,
299,
17230,
96,
110,
494,
244,
53,
988,
222,
325,
2087,
648,
373,
54,
299,
17230,
96,
110,
494,
244,
54,
988,
222,
325,
2087,
648,
373,
55,
299,
17230,
96,
110,
494,
244,
55,
988,
222,
325,
222,
325,
2087,
331,
299,
49094,
96,
123,
53,
988,
222,
325,
2087,
342,
299,
49094,
96,
123,
54,
988,
222,
325,
2087,
300,
299,
49094,
96,
123,
55,
988,
222,
325,
222,
325,
2087,
362,
53,
96,
53,
98,
299,
342,
51,
11482,
51,
116,
953,
45,
53,
46,
449,
331,
51,
11482,
51,
116,
953,
45,
53,
312,
222,
325,
2087,
362,
53,
96,
54,
98,
299,
342,
51,
11482,
51,
116,
953,
45,
54,
46,
449,
331,
51,
11482,
51,
116,
953,
45,
54,
312,
222,
325,
2087,
362,
53,
96,
55,
98,
299,
342,
51,
11482,
51,
116,
953,
45,
55,
46,
449,
331,
51,
11482,
51,
116,
953,
45,
55,
312,
222,
325,
2087,
362,
53,
96,
56,
98,
299,
342,
51,
289,
51,
116,
953,
45,
53,
46,
449,
331,
51,
289,
51,
116,
953,
45,
53,
312,
222,
325,
2087,
362,
53,
96,
57,
98,
299,
342,
51,
289,
51,
116,
953,
45,
54,
46,
449,
331,
51,
289,
51,
116,
953,
45,
54,
312,
222,
325,
222,
325,
2087,
362,
54,
96,
53,
98,
299,
300,
51,
11482,
51,
116,
953,
45,
53,
46,
449,
331,
51,
11482,
51,
116,
953,
45,
53,
312,
222,
325,
2087,
362,
54,
96,
54,
98,
299,
300,
51,
11482,
51,
116,
953,
45,
54,
46,
449,
331,
51,
11482,
51,
116,
953,
45,
54,
312,
222,
325,
2087,
362,
54,
96,
55,
98,
299,
300,
51,
11482,
51,
116,
953,
45,
55,
46,
449,
331,
51,
11482,
51,
116,
953,
45,
55,
312,
222,
325,
2087,
362,
54,
96,
56,
98,
299,
300,
51,
289,
51,
116,
953,
45,
53,
46,
449,
331,
51,
289,
51,
116,
953,
45,
53,
312,
222,
325,
2087,
362,
54,
96,
57,
98,
299,
300,
51,
289,
51,
116,
953,
45,
54,
46,
449,
331,
51,
289,
51,
116,
953,
45,
54,
312,
222,
325,
222,
325,
2087,
453,
4330,
222,
325,
2087,
329,
299,
556,
828,
5985,
56,
45,
222,
325,
6813,
362,
54,
96,
54,
98,
338,
362,
53,
96,
55,
98,
449,
362,
54,
96,
55,
98,
338,
362,
53,
96,
54,
636,
222,
325,
6813,
362,
54,
96,
55,
98,
338,
362,
53,
96,
53,
98,
449,
362,
54,
96,
53,
98,
338,
362,
53,
96,
55,
636,
222,
325,
6813,
362,
54,
96,
53,
98,
338,
362,
53,
96,
54,
98,
449,
362,
54,
96,
54,
98,
338,
362,
53,
96,
53,
2004,
222,
325,
222,
325,
2087,
315,
299,
828,
5728,
51,
10187,
44141,
45,
115,
51,
125,
338,
329,
51,
125,
494,
329,
51,
126,
338,
329,
51,
126,
494,
329,
51,
127,
338,
329,
51,
127,
312,
222,
325,
222,
325,
2087,
329,
51,
125,
10465,
315,
64,
222,
325,
2087,
329,
51,
126,
10465,
315,
64,
222,
325,
2087,
329,
51,
127,
10465,
315,
64,
222,
325,
222,
325,
2087,
39106,
96,
33159,
2664,
1015,
903,
5981,
45,
115,
312,
222,
325,
2087,
39106,
96,
33159,
2664,
1015,
14088,
17729,
1962,
45,
102,
51,
11482,
312,
222,
325,
2087,
39106,
2664,
3348,
222,
325,
222,
325,
2087,
453,
5978,
2613,
3510,
222,
325,
2087,
5978,
299,
362,
53,
96,
56,
98,
338,
362,
54,
96,
57,
98,
449,
362,
53,
96,
57,
98,
338,
362,
54,
96,
56,
988,
222,
325,
2087,
2613,
4596,
299,
8182,
51,
1832,
14110,
8738,
45,
3793,
46,
568,
327,
54,
1281,
244,
56,
54,
312,
222,
325,
222,
325,
2087,
453,
1950,
48455,
222,
325,
2087,
292,
53,
51,
116,
903,
45,
53,
49,
362,
53,
96,
53,
98,
338,
362,
54,
96,
57,
98,
449,
362,
53,
96,
57,
98,
338,
362,
54,
96,
53,
2004,
222,
325,
2087,
292,
53,
51,
116,
903,
45,
54,
49,
362,
53,
96,
54,
98,
338,
362,
54,
96,
57,
98,
449,
362,
53,
96,
57,
98,
338,
362,
54,
96,
54,
2004,
222,
325,
2087,
292,
53,
51,
116,
903,
45,
55,
49,
362,
53,
96,
55,
98,
338,
362,
54,
96,
57,
98,
449,
362,
53,
96,
57,
98,
338,
362,
54,
96,
55,
2004,
222,
325,
222,
325,
2087,
315,
299,
828,
5728,
51,
10187,
44141,
45,
121,
53,
51,
125,
338,
292,
53,
51,
125,
494,
292,
53,
51,
126,
338,
292,
53,
51,
126,
494,
292,
53,
51,
127,
338,
292,
53,
51,
127,
312,
222,
325,
2087,
315,
299,
8182,
51,
429,
8738,
724,
3690,
45,
3690,
51,
1832,
14110,
8738,
45,
107,
46,
5317,
2613,
4596,
312,
222,
325,
222,
325,
2087,
292,
53,
51,
125,
10465,
315,
64,
222,
325,
2087,
292,
53,
51,
126,
10465,
315,
64,
222,
325,
2087,
292,
53,
51,
127,
10465,
315,
64,
222,
325,
222,
325,
2087,
453,
3118,
48455,
222,
325,
2087,
292,
54,
51,
116,
903,
45,
53,
49,
362,
53,
96,
56,
98,
338,
362,
54,
96,
53,
98,
449,
362,
53,
96,
53,
98,
338,
362,
54,
96,
56,
2004,
222,
325,
2087,
292,
54,
51,
116,
903,
45,
54,
49,
362,
53,
96,
56,
98,
338,
362,
54,
96,
54,
98,
449,
362,
53,
96,
54,
98,
338,
362,
54,
96,
56,
2004,
222,
325,
2087,
292,
54,
51,
116,
903,
45,
55,
49,
362,
53,
96,
56,
98,
338,
362,
54,
96,
55,
98,
449,
362,
53,
96,
55,
98,
338,
362,
54,
96,
56,
2004,
222,
325,
222,
325,
2087,
315,
299,
828,
5728,
51,
10187,
44141,
45,
121,
54,
51,
125,
338,
292,
54,
51,
125,
494,
292,
54,
51,
126,
338,
292,
54,
51,
126,
494,
292,
54,
51,
127,
338,
292,
54,
51,
127,
312,
222,
325,
2087,
315,
299,
8182,
51,
429,
8738,
724,
3690,
45,
3690,
51,
1832,
14110,
8738,
45,
107,
46,
5317,
2613,
4596,
312,
222,
325,
222,
325,
2087,
292,
54,
51,
125,
10465,
315,
64,
222,
325,
2087,
292,
54,
51,
126,
10465,
315,
64,
222,
325,
2087,
292,
54,
51,
127,
10465,
315,
64,
222,
325,
222,
325,
2087,
434,
327,
4001,
96,
123,
53,
1156,
320,
222,
325,
4714,
331,
51,
4434,
51,
116,
1839,
122,
903,
45,
115,
312,
222,
325,
4714,
331,
51,
18230,
10753,
96,
53,
1015,
116,
1839,
122,
903,
45,
121,
53,
312,
222,
325,
4714,
331,
51,
18230,
10753,
96,
54,
1015,
116,
1839,
122,
903,
45,
121,
54,
312,
222,
325,
2087,
339,
832,
320,
222,
325,
4714,
331,
51,
4434,
299,
329,
64,
222,
325,
4714,
331,
51,
18230,
10753,
96,
53,
98,
299,
292,
53,
64,
222,
325,
4714,
331,
51,
18230,
10753,
96,
54,
98,
299,
292,
54,
64,
222,
325,
4714,
1674,
96,
123,
53,
98,
299,
878,
64,
222,
325,
2087,
339,
222,
325,
222,
325,
2087,
434,
327,
4001,
96,
123,
54,
1156,
320,
222,
325,
4714,
342,
51,
4434,
51,
116,
1839,
122,
903,
45,
115,
312,
222,
325,
4714,
342,
51,
18230,
10753,
96,
53,
1015,
116,
1839,
122,
903,
45,
121,
53,
312,
222,
325,
4714,
342,
51,
18230,
10753,
96,
54,
1015,
116,
1839,
122,
903,
45,
121,
54,
312,
222,
325,
2087,
339,
832,
320,
222,
325,
4714,
342,
51,
4434,
299,
329,
64,
222,
325,
4714,
342,
51,
18230,
10753,
96,
53,
98,
299,
292,
53,
64,
222,
325,
4714,
342,
51,
18230,
10753,
96,
54,
98,
299,
292,
54,
64,
222,
325,
4714,
1674,
96,
123,
54,
98,
299,
878,
64,
222,
325,
2087,
339,
222,
325,
222,
325,
2087,
434,
327,
4001,
96,
123,
55,
1156,
320,
222,
325,
4714,
300,
51,
4434,
51,
116,
1839,
122,
903,
45,
115,
312,
222,
325,
4714,
300,
51,
18230,
10753,
96,
53,
1015,
116,
1839,
122,
903,
45,
121,
53,
312,
222,
325,
4714,
300,
51,
18230,
10753,
96,
54,
1015,
116,
1839,
122,
903,
45,
121,
54,
312,
222,
325,
2087,
339,
832,
320,
222,
325,
4714,
300,
51,
4434,
299,
329,
64,
222,
325,
4714,
300,
51,
18230,
10753,
96,
53,
98,
299,
292,
53,
64,
222,
325,
4714,
300,
51,
18230,
10753,
96,
54,
98,
299,
292,
54,
64,
222,
325,
4714,
1674,
96,
123,
55,
98,
299,
878,
64,
222,
325,
2087,
339,
222,
325,
1485,
339,
222,
325,
370,
339,
222,
325,
222,
325,
370,
1276,
222,
325,
282,
48172,
222,
325,
282,
828,
31478,
100,
4020,
422,
11917,
680,
1079,
47221,
385,
2054,
26019,
10753,
222,
325,
222,
325,
282,
15933,
4145,
341,
4330,
480,
575,
44861,
48455,
16688,
456,
341,
22548,
13225,
51,
222,
325,
282,
2643,
2531,
9230,
341,
4330,
480,
48455,
16688,
904,
12015,
664,
331,
4005,
7593,
30529,
22548,
51,
222,
325,
282,
48172,
222,
325,
282,
588,
222,
325,
370,
496,
1806,
222,
325,
370,
581,
782,
15933,
680,
1079,
47221,
385,
2054,
26019,
10753,
45,
333,
2900,
3832,
1197,
49094,
49,
7593,
30529,
6959,
100,
120,
1197,
7593,
30529,
875,
316,
49,
648,
1952,
3832,
120,
46,
320,
222,
325,
1485,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
1952,
3832,
120,
64,
613,
2002,
320,
222,
325,
2087,
1175,
828,
2900,
3832,
331,
49,
342,
49,
300,
64,
222,
325,
2087,
1175,
1916,
362,
53,
49,
362,
54,
49,
362,
55,
49,
362,
56,
49,
362,
57,
64,
222,
325,
2087,
1175,
1916,
362,
58,
49,
362,
59,
49,
362,
60,
49,
362,
61,
49,
362,
62,
64,
222,
325,
2087,
1175,
1916,
328,
53,
49,
328,
54,
49,
328,
55,
64,
222,
325,
2087,
1175,
1916,
329,
53,
49,
329,
54,
49,
329,
55,
64,
222,
325,
2087,
1175,
1916,
292,
53,
49,
292,
54,
49,
292,
55,
64,
222,
325,
2087,
1175,
1916,
292,
56,
49,
292,
57,
49,
292,
58,
64,
222,
325,
222,
325,
2087,
1175,
7593,
30529,
6959,
100,
120,
8837,
299,
7593,
30529,
875,
316,
96,
110,
988,
222,
325,
222,
325,
2087,
331,
299,
49094,
96,
110,
988,
222,
325,
2087,
342,
299,
49094,
96,
2654,
51,
123,
55,
988,
222,
325,
2087,
300,
299,
49094,
96,
2654,
51,
123,
56,
988,
222,
325,
222,
325,
2087,
362,
53,
299,
342,
51,
11482,
51,
116,
953,
45,
53,
46,
449,
331,
51,
11482,
51,
116,
953,
45,
53,
312,
222,
325,
2087,
362,
54,
299,
342,
51,
11482,
51,
116,
953,
45,
54,
46,
449,
331,
51,
11482,
51,
116,
953,
45,
54,
312,
222,
325,
2087,
362,
55,
299,
342,
51,
11482,
51,
116,
953,
45,
55,
46,
449,
331,
51,
11482,
51,
116,
953,
45,
55,
312,
222,
325,
2087,
362,
56,
299,
342,
51,
289,
51,
116,
953,
45,
53,
46,
449,
331,
51,
289,
51,
116,
953,
45,
53,
312,
222,
325,
2087,
362,
57,
299,
342,
51,
289,
51,
116,
953,
45,
54,
46,
449,
331,
51,
289,
51,
116,
953,
45,
54,
312,
222,
325,
222,
325,
2087,
362,
58,
299,
300,
51,
11482,
51,
116,
953,
45,
53,
46,
449,
331,
51,
11482,
51,
116,
953,
45,
53,
312,
222,
325,
2087,
362,
59,
299,
300,
51,
11482,
51,
116,
953,
45,
54,
46,
449,
331,
51,
11482,
51,
116,
953,
45,
54,
312,
222,
325,
2087,
362,
60,
299,
300,
51,
11482,
51,
116,
953,
45,
55,
46,
449,
331,
51,
11482,
51,
116,
953,
45,
55,
312,
222,
325,
2087,
362,
61,
299,
300,
51,
289,
51,
116,
953,
45,
53,
46,
449,
331,
51,
289,
51,
116,
953,
45,
53,
312,
222,
325,
2087,
362,
62,
299,
300,
51,
289,
51,
116,
953,
45,
54,
46,
449,
331,
51,
289,
51,
116,
953,
45,
54,
312,
222,
325,
222,
325,
2087,
328,
53,
299,
8837,
51,
4434,
1668,
5243,
96,
53,
988,
222,
325,
2087,
328,
54,
299,
8837,
51,
4434,
1668,
5243,
96,
54,
988,
222,
325,
2087,
328,
55,
299,
8837,
51,
4434,
1668,
5243,
96,
55,
988,
222,
325,
222,
325,
2087,
329,
53,
299,
328,
55,
338,
327,
105,
59,
338,
362,
55,
449,
362,
60,
338,
362,
54,
312,
222,
325,
2087,
329,
54,
299,
328,
55,
338,
327,
105,
60,
338,
362,
53,
449,
362,
58,
338,
362,
55,
312,
222,
325,
2087,
329,
55,
299,
328,
55,
338,
327,
105,
58,
338,
362,
54,
449,
362,
59,
338,
362,
53,
312,
222,
325,
222,
325,
2087,
292,
53,
299,
328,
53,
338,
327,
105,
53,
338,
362,
62,
449,
362,
57,
338,
362,
58,
312,
222,
325,
2087,
292,
54,
299,
328,
53,
338,
327,
105,
54,
338,
362,
62,
449,
362,
57,
338,
362,
59,
312,
222,
325,
2087,
292,
55,
299,
328,
53,
338,
327,
105,
55,
338,
362,
62,
449,
362,
57,
338,
362,
60,
312,
222,
325,
222,
325,
2087,
434,
327,
5002,
5765,
100,
1430,
88,
2414,
32691,
1363,
100,
5676,
5300,
1456,
46,
320,
222,
325,
4714,
292,
56,
299,
328,
54,
338,
327,
115,
55,
338,
292,
54,
449,
329,
54,
338,
292,
55,
312,
222,
325,
4714,
292,
57,
299,
328,
54,
338,
327,
115,
53,
338,
292,
55,
449,
329,
55,
338,
292,
53,
312,
222,
325,
4714,
292,
58,
299,
328,
54,
338,
327,
115,
54,
338,
292,
53,
449,
329,
53,
338,
292,
54,
312,
222,
325,
2087,
339,
832,
320,
222,
325,
4714,
292,
56,
299,
328,
54,
338,
327,
105,
56,
338,
362,
58,
449,
362,
53,
338,
362,
61,
312,
222,
325,
4714,
292,
57,
299,
328,
54,
338,
327,
105,
56,
338,
362,
59,
449,
362,
54,
338,
362,
61,
312,
222,
325,
4714,
292,
58,
299,
328,
54,
338,
327,
105,
56,
338,
362,
60,
449,
362,
55,
338,
362,
61,
312,
222,
325,
2087,
339,
222,
325,
222,
325,
2087,
331,
51,
4434,
51,
116,
903,
45,
53,
49,
329,
53,
312,
222,
325,
2087,
331,
51,
4434,
51,
116,
903,
45,
54,
49,
329,
54,
312,
222,
325,
2087,
331,
51,
4434,
51,
116,
903,
45,
55,
49,
329,
55,
312,
222,
325,
222,
325,
2087,
331,
51,
18230,
10753,
96,
53,
1015,
116,
903,
45,
53,
49,
292,
53,
312,
222,
325,
2087,
331,
51,
18230,
10753,
96,
53,
1015,
116,
903,
45,
54,
49,
292,
54,
312,
222,
325,
2087,
331,
51,
18230,
10753,
96,
53,
1015,
116,
903,
45,
55,
49,
292,
55,
312,
222,
325,
222,
325,
2087,
331,
51,
18230,
10753,
96,
54,
1015,
116,
903,
45,
53,
49,
292,
56,
312,
222,
325,
2087,
331,
51,
18230,
10753,
96,
54,
1015,
116,
903,
45,
54,
49,
292,
57,
312,
222,
325,
2087,
331,
51,
18230,
10753,
96,
54,
1015,
116,
903,
45,
55,
49,
292,
58,
312,
222,
325,
1485,
339,
222,
325,
370,
339,
222,
325,
222,
325,
370,
1276,
222,
325,
282,
48172,
222,
325,
282,
828,
31478,
100,
4020,
422,
25764,
26019,
10753,
222,
325,
222,
325,
282,
13616,
5072,
2531,
9230,
4330,
480,
8536,
480,
4330,
5072,
341,
222,
325,
282,
48455,
16688,
14825,
341,
14447,
575,
44861,
391,
341,
9230,
4330,
51,
222,
325,
282,
48172,
222,
325,
282,
588,
222,
325,
370,
496,
1806,
222,
325,
370,
581,
782,
40509,
26019,
10753,
45,
333,
2900,
3832,
1197,
49094,
49,
648,
1952,
3832,
120,
46,
320,
222,
325,
222,
325,
1485,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
1952,
3832,
120,
64,
613,
2002,
320,
222,
325,
2087,
828,
5985,
56,
373,
299,
49094,
96,
110,
1015,
4434,
64,
222,
325,
2087,
1916,
315,
64,
222,
325,
222,
325,
2087,
315,
299,
828,
5728,
51,
10187,
44141,
45,
123,
51,
125,
338,
373,
51,
125,
494,
373,
51,
126,
338,
373,
51,
126,
494,
373,
51,
127,
338,
373,
51,
127,
312,
222,
325,
2087,
373,
51,
125,
10465,
315,
64,
222,
325,
2087,
373,
51,
126,
10465,
315,
64,
222,
325,
2087,
373,
51,
127,
10465,
315,
64,
222,
325,
222,
325,
2087,
456,
327,
429,
614,
299,
244,
53,
64,
614,
350,
244,
55,
64,
614,
2002,
320,
222,
325,
4714,
828,
5985,
56,
292,
299,
49094,
96,
110,
1015,
18230,
10753,
96,
111,
988,
222,
325,
222,
325,
4714,
292,
51,
116,
2944,
903,
45,
123,
51,
116,
27722,
45,
121,
51,
116,
27722,
45,
123,
4254,
222,
325,
4714,
315,
299,
828,
5728,
51,
10187,
44141,
45,
121,
51,
125,
338,
292,
51,
125,
494,
292,
51,
126,
338,
292,
51,
126,
494,
292,
51,
127,
338,
292,
51,
127,
312,
222,
325,
4714,
292,
51,
125,
10465,
315,
64,
222,
325,
4714,
292,
51,
126,
10465,
315,
64,
222,
325,
4714,
292,
51,
127,
10465,
315,
64,
222,
325,
2087,
339,
222,
325,
1485,
339,
222,
325,
370,
339,
222,
325,
222,
325,
370,
1276,
222,
325,
282,
48172,
222,
325,
282,
828,
31478,
100,
4020,
422,
1940,
4900,
5144,
6118,
27890,
222,
325,
222,
325,
282,
42370,
6314,
16688,
347,
8934,
5153,
456,
341,
2716,
22548,
13225,
51,
222,
325,
282,
2643,
2531,
9230,
341,
6999,
22095,
341,
6314,
7391,
458,
43053,
14825,
8934,
5153,
51,
222,
325,
282,
906,
6314,
16688,
904,
1773,
16515,
456,
341,
13225,
15157,
829,
341,
17230,
51,
222,
325,
282,
48172,
222,
325,
282,
588,
222,
325,
370,
496,
1806,
222,
325,
370,
581,
782,
2673,
4900,
5144,
6118,
27890,
45,
333,
5985,
56,
1197,
6314,
27890,
49,
828,
5985,
56,
6314,
9016,
49,
828,
2900,
3832,
1197,
49094,
49,
648,
1952,
3832,
120,
49,
648,
1197,
17230,
49,
648,
1952,
19383,
46,
320,
222,
325,
222,
325,
1485,
1922,
1197,
1674,
299,
556,
1922,
96,
1538,
3832,
120,
988,
222,
775,
221,
21463,
45,
1674,
49,
244,
53,
49,
1952,
3832,
120,
338,
3758,
45,
1674,
96,
53,
98,
848,
1110,
222,
325,
222,
325,
1485,
456,
327,
429,
613,
299,
1952,
19383,
449,
244,
54,
64,
613,
2394,
244,
53,
64,
613,
15344,
320,
222,
325,
2087,
1674,
96,
18826,
96,
110,
3234,
299,
878,
64,
222,
325,
1485,
339,
222,
325,
222,
325,
1485,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
1952,
3832,
120,
64,
613,
2002,
320,
222,
325,
2087,
434,
1445,
4001,
96,
110,
1156,
320,
222,
325,
4714,
4056,
64,
222,
325,
2087,
339,
222,
325,
222,
325,
2087,
1175,
828,
2900,
3832,
373,
299,
49094,
96,
110,
988,
222,
325,
222,
325,
2087,
828,
5985,
56,
6314,
2995,
299,
6314,
9016,
51,
116,
20729,
45,
123,
51,
11482,
312,
222,
325,
222,
325,
2087,
6314,
27890,
96,
110,
1015,
116,
903,
45,
53,
49,
6314,
2995,
51,
116,
27722,
45,
123,
51,
18230,
10753,
96,
53,
10679,
222,
325,
2087,
6314,
27890,
96,
110,
1015,
116,
903,
45,
54,
49,
6314,
2995,
51,
116,
27722,
45,
123,
51,
18230,
10753,
96,
54,
10679,
222,
325,
2087,
6314,
27890,
96,
110,
1015,
116,
903,
45,
55,
49,
6314,
2995,
51,
116,
27722,
45,
123,
51,
4434,
894,
222,
325,
1485,
339,
222,
325,
370,
339,
222,
325,
222,
325,
370,
1276,
222,
325,
282,
48172,
222,
325,
282,
828,
31478,
100,
4020,
422,
1940,
46213,
4900,
17473,
222,
325,
222,
325,
282,
42370,
48627,
8934,
10547,
456,
341,
2716,
22548,
13225,
51,
222,
325,
282,
2643,
2531,
9230,
341,
17711,
6999,
22095,
341,
6314,
7391,
458,
3654,
391,
341,
222,
325,
282,
17711,
6999,
22095,
341,
2221,
7391,
480,
341,
1074,
458,
43053,
14825,
8934,
5153,
51,
222,
325,
282,
906,
8934,
10547,
904,
1773,
16515,
456,
341,
13225,
15157,
829,
341,
17230,
51,
222,
325,
282,
48172,
222,
325,
282,
588,
222,
325,
370,
496,
1806,
222,
325,
370,
581,
782,
2673,
46213,
4900,
17473,
45,
333,
5985,
57,
1197,
15494,
17473,
49,
828,
5985,
56,
6314,
9016,
49,
828,
5985,
56,
2221,
9016,
49,
828,
2900,
3832,
1197,
49094,
49,
648,
1952,
3832,
120,
49,
648,
1197,
17230,
49,
648,
1952,
19383,
46,
320,
222,
325,
222,
325,
1485,
1922,
1197,
1674,
299,
556,
1922,
96,
1538,
3832,
120,
988,
222,
775,
221,
21463,
45,
1674,
49,
244,
53,
49,
1952,
3832,
120,
338,
3758,
45,
1674,
96,
53,
98,
848,
1110,
222,
325,
222,
325,
1485,
456,
327,
429,
613,
299,
1952,
19383,
449,
244,
54,
64,
613,
2394,
244,
53,
64,
613,
15344,
320,
222,
325,
2087,
1674,
96,
18826,
96,
110,
3234,
299,
878,
64,
222,
325,
1485,
339,
222,
325,
222,
325,
1485,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
1952,
3832,
120,
64,
613,
2002,
320,
222,
325,
2087,
434,
1445,
4001,
96,
110,
1156,
320,
222,
325,
4714,
4056,
64,
222,
325,
2087,
339,
222,
325,
222,
325,
2087,
1175,
828,
2900,
3832,
373,
299,
49094,
96,
110,
988,
222,
325,
222,
325,
2087,
828,
5985,
56,
6314,
2995,
299,
6314,
9016,
51,
116,
20729,
45,
123,
51,
11482,
312,
222,
325,
2087,
828,
5985,
56,
2221,
2995,
299,
2221,
9016,
51,
116,
20729,
45,
123,
51,
11482,
312,
222,
325,
222,
325,
2087,
1916,
6245,
965,
64,
222,
325,
222,
325,
2087,
6245,
965,
299,
828,
5728,
51,
10187,
44141,
45,
2447,
2995,
51,
116,
27722,
45,
2447,
2995,
894,
222,
325,
2087,
6314,
2995,
51,
116,
18527,
903,
45,
354,
965,
312,
222,
325,
222,
325,
2087,
6245,
965,
299,
828,
5728,
51,
10187,
44141,
45,
1090,
2995,
51,
116,
27722,
45,
1090,
2995,
894,
222,
325,
2087,
2221,
2995,
51,
116,
18527,
903,
45,
354,
965,
312,
222,
325,
222,
325,
2087,
6314,
2995,
51,
116,
1839,
122,
903,
45,
1090,
2995,
312,
222,
325,
222,
325,
2087,
15494,
17473,
96,
110,
1015,
116,
903,
45,
53,
49,
6314,
2995,
51,
116,
27722,
45,
123,
51,
18230,
10753,
96,
53,
10679,
222,
325,
2087,
15494,
17473,
96,
110,
1015,
116,
903,
45,
54,
49,
6314,
2995,
51,
116,
27722,
45,
123,
51,
18230,
10753,
96,
54,
10679,
222,
325,
2087,
15494,
17473,
96,
110,
1015,
116,
903,
45,
55,
49,
6314,
2995,
51,
116,
27722,
45,
123,
51,
4434,
894,
222,
325,
2087,
15494,
17473,
96,
110,
1015,
116,
903,
45,
56,
49,
244,
54,
51,
53,
107,
312,
222,
325,
1485,
339,
222,
325,
370,
339,
222,
325,
222,
325,
370,
496,
1806,
222,
325,
370,
581,
648,
2673,
10059,
2610,
45,
333,
5985,
57,
1197,
9230,
2610,
49,
648,
1197,
4674,
2798,
386,
49,
828,
5985,
56,
6314,
9016,
49,
828,
2900,
3832,
1197,
49094,
49,
648,
1952,
3832,
120,
46,
320,
222,
325,
1485,
648,
986,
3832,
120,
299,
244,
53,
64,
222,
325,
222,
325,
1485,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
1952,
3832,
120,
64,
613,
2002,
320,
222,
325,
2087,
434,
327,
1645,
2798,
386,
96,
110,
98,
882,
244,
53,
46,
320,
222,
325,
4714,
4056,
64,
222,
325,
2087,
339,
222,
325,
2087,
1175,
1916,
1197,
373,
299,
49094,
96,
110,
1015,
11482,
51,
724,
3690,
2664,
492,
222,
325,
2087,
9230,
2610,
96,
560,
3832,
120,
494,
244,
53,
1015,
116,
903,
45,
53,
49,
373,
96,
53,
2004,
222,
325,
2087,
9230,
2610,
96,
560,
3832,
120,
494,
244,
53,
1015,
116,
903,
45,
54,
49,
373,
96,
54,
2004,
222,
325,
2087,
9230,
2610,
96,
560,
3832,
120,
494,
244,
53,
1015,
116,
903,
45,
55,
49,
373,
96,
55,
2004,
222,
325,
2087,
9230,
2610,
96,
560,
3832,
120,
494,
244,
53,
1015,
116,
903,
45,
56,
49,
244,
54,
51,
53,
107,
312,
222,
325,
222,
325,
2087,
453,
578,
100,
6438,
15710,
365,
13968,
341,
15477,
5083,
642,
331,
18408,
300,
41622,
222,
325,
2087,
453,
456,
7736,
49,
1532,
24268,
477,
360,
66,
53,
20707,
664,
26124,
6206,
2109,
840,
341,
222,
325,
2087,
453,
9817,
6857,
2282,
480,
19688,
7736,
30503,
318,
642,
341,
43637,
29937,
222,
325,
2087,
9230,
2610,
96,
560,
3832,
120,
494,
244,
54,
1015,
116,
903,
45,
53,
49,
373,
96,
53,
98,
449,
6314,
9016,
51,
116,
953,
45,
53,
894,
222,
325,
2087,
9230,
2610,
96,
560,
3832,
120,
494,
244,
54,
1015,
116,
903,
45,
54,
49,
373,
96,
54,
98,
449,
6314,
9016,
51,
116,
953,
45,
54,
894,
222,
325,
2087,
9230,
2610,
96,
560,
3832,
120,
494,
244,
54,
1015,
116,
903,
45,
55,
49,
373,
96,
55,
98,
449,
6314,
9016,
51,
116,
953,
45,
55,
894,
222,
325,
2087,
9230,
2610,
96,
560,
3832,
120,
494,
244,
54,
1015,
116,
903,
45,
56,
49,
244,
53,
51,
53,
107,
312,
222,
325,
2087,
4674,
2798,
386,
96,
110,
98,
299,
986,
3832,
120,
64,
222,
325,
2087,
986,
3832,
120,
1475,
244,
55,
64,
222,
325,
1485,
339,
222,
325,
1485,
461,
986,
3832,
120,
64,
222,
325,
370,
339,
222,
325,
222,
325,
370,
496,
1806,
222,
325,
370,
581,
648,
2673,
5647,
5756,
10059,
2610,
45,
333,
5985,
57,
1197,
9230,
2610,
49,
828,
2900,
3832,
1197,
49094,
49,
648,
1952,
3832,
120,
46,
320,
222,
325,
1485,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
1952,
3832,
120,
64,
613,
2002,
320,
222,
325,
2087,
1175,
1916,
1197,
373,
299,
49094,
96,
110,
1015,
11482,
51,
724,
3690,
2664,
492,
222,
325,
2087,
9230,
2610,
96,
110,
338,
244,
55,
494,
244,
53,
1015,
116,
903,
45,
53,
49,
373,
96,
53,
2004,
222,
325,
2087,
9230,
2610,
96,
110,
338,
244,
55,
494,
244,
54,
1015,
116,
903,
45,
53,
49,
373,
96,
53,
2004,
222,
325,
2087,
9230,
2610,
96,
110,
338,
244,
55,
494,
244,
53,
1015,
116,
903,
45,
54,
49,
373,
96,
54,
2004,
222,
325,
2087,
9230,
2610,
96,
110,
338,
244,
55,
494,
244,
54,
1015,
116,
903,
45,
54,
49,
373,
96,
54,
2004,
222,
325,
2087,
9230,
2610,
96,
110,
338,
244,
55,
494,
244,
53,
1015,
116,
903,
45,
55,
49,
373,
96,
55,
2004,
222,
325,
2087,
9230,
2610,
96,
110,
338,
244,
55,
494,
244,
54,
1015,
116,
903,
45,
55,
49,
373,
96,
55,
2004,
222,
325,
2087,
9230,
2610,
96,
110,
338,
244,
55,
494,
244,
53,
1015,
116,
903,
45,
56,
49,
244,
54,
51,
53,
107,
312,
222,
325,
2087,
9230,
2610,
96,
110,
338,
244,
55,
494,
244,
54,
1015,
116,
903,
45,
56,
49,
244,
53,
51,
53,
107,
312,
222,
325,
1485,
339,
222,
325,
1485,
461,
1952,
3832,
120,
338,
244,
55,
64,
222,
325,
370,
339,
222,
325,
222,
325,
370,
1276,
222,
325,
282,
48172,
222,
325,
282,
828,
31478,
100,
4020,
422,
1405,
5209,
34370,
724,
57,
57,
112,
13691,
222,
325,
222,
325,
282,
30065,
9879,
456,
244,
57,
57,
112,
13691,
1716,
51,
222,
325,
282,
48172,
222,
325,
282,
588,
222,
325,
370,
496,
1806,
222,
325,
370,
581,
782,
2791,
5209,
34370,
724,
57,
57,
112,
13691,
45,
1832,
1197,
3481,
49,
4514,
1197,
317,
4112,
49,
648,
1952,
13385,
49,
648,
851,
13691,
49,
648,
1952,
15440,
46,
320,
222,
325,
1485,
434,
327,
112,
13691,
630,
244,
54,
54,
53,
55,
58,
46,
320,
222,
325,
2087,
434,
327,
1538,
15440,
630,
244,
54,
46,
320,
222,
325,
4714,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
1952,
13385,
64,
613,
2002,
320,
222,
325,
6813,
3481,
96,
110,
338,
244,
57,
494,
244,
53,
98,
299,
3481,
96,
110,
338,
244,
57,
494,
244,
54,
98,
299,
3481,
96,
110,
338,
244,
57,
494,
244,
55,
98,
299,
3481,
96,
110,
338,
244,
57,
494,
244,
56,
98,
299,
327,
1832,
46,
317,
4112,
96,
110,
494,
244,
53,
988,
222,
325,
4714,
339,
222,
325,
2087,
339,
832,
320,
222,
325,
4714,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
1952,
13385,
64,
613,
1475,
244,
55,
46,
320,
222,
325,
6813,
3481,
96,
110,
338,
244,
57,
494,
244,
53,
98,
299,
3481,
96,
110,
338,
244,
57,
494,
244,
55,
98,
299,
3481,
96,
110,
338,
244,
57,
494,
244,
57,
98,
299,
3481,
96,
110,
338,
244,
57,
494,
244,
59,
98,
299,
327,
1832,
46,
317,
4112,
96,
110,
494,
244,
53,
988,
222,
325,
6813,
3481,
96,
110,
338,
244,
57,
494,
244,
54,
98,
299,
3481,
96,
110,
338,
244,
57,
494,
244,
56,
98,
299,
3481,
96,
110,
338,
244,
57,
494,
244,
58,
98,
299,
3481,
96,
110,
338,
244,
57,
494,
244,
60,
98,
299,
327,
1832,
46,
317,
4112,
96,
110,
494,
244,
54,
988,
222,
325,
4714,
339,
222,
325,
2087,
339,
222,
325,
1485,
339,
832,
434,
327,
112,
13691,
630,
244,
55,
55,
53,
58,
53,
46,
320,
222,
325,
2087,
434,
327,
1538,
15440,
630,
244,
54,
46,
320,
222,
325,
4714,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
1952,
13385,
64,
613,
2002,
320,
222,
325,
6813,
3481,
96,
110,
338,
244,
55,
494,
244,
53,
98,
299,
3481,
96,
110,
338,
244,
55,
494,
244,
54,
98,
299,
327,
1832,
46,
317,
4112,
96,
110,
494,
244,
53,
988,
222,
325,
4714,
339,
222,
325,
2087,
339,
832,
320,
222,
325,
4714,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
1952,
13385,
64,
613,
1475,
244,
55,
46,
320,
222,
325,
6813,
3481,
96,
110,
338,
244,
55,
494,
244,
53,
98,
299,
3481,
96,
110,
338,
244,
55,
494,
244,
55,
98,
299,
327,
1832,
46,
317,
4112,
96,
110,
494,
244,
53,
988,
222,
325,
6813,
3481,
96,
110,
338,
244,
55,
494,
244,
54,
98,
299,
3481,
96,
110,
338,
244,
55,
494,
244,
56,
98,
299,
327,
1832,
46,
317,
4112,
96,
110,
494,
244,
54,
988,
222,
325,
4714,
339,
222,
325,
2087,
339,
222,
325,
1485,
339,
832,
434,
327,
112,
13691,
630,
244,
57,
57,
54,
53,
53,
46,
320,
222,
325,
2087,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
1952,
13385,
64,
613,
2002,
320,
222,
325,
4714,
3481,
96,
110,
98,
299,
327,
1832,
46,
317,
4112,
96,
110,
988,
222,
325,
2087,
339,
222,
325,
1485,
339,
832,
320,
222,
775,
221,
221,
880,
45,
244,
53,
1110,
222,
325,
2087,
1217,
327,
1886,
312,
222,
325,
1485,
339,
222,
325,
370,
339,
222,
325,
222,
325,
370,
1276,
222,
325,
282,
48172,
222,
325,
282,
828,
31478,
100,
4020,
422,
1405,
5209,
84,
10655,
724,
57,
57,
112,
13691,
222,
325,
222,
325,
282,
30065,
9879,
456,
244,
57,
57,
112,
13691,
1716,
51,
222,
325,
282,
48172,
222,
325,
282,
588,
222,
325,
370,
496,
1806,
222,
325,
370,
581,
782,
2791,
5209,
84,
10655,
724,
57,
57,
112,
13691,
45,
1832,
1197,
3481,
49,
648,
3413,
49,
1916,
11338,
356,
6487,
49,
648,
1952,
13385,
49,
648,
851,
13691,
49,
648,
1952,
15440,
46,
320,
222,
325,
1485,
434,
327,
112,
13691,
630,
244,
54,
54,
53,
55,
58,
46,
320,
222,
325,
2087,
434,
327,
1538,
15440,
630,
244,
54,
46,
320,
222,
325,
4714,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
1952,
13385,
64,
613,
2002,
320,
222,
325,
6813,
3481,
96,
2897,
494,
327,
110,
338,
244,
57,
494,
244,
53,
2201,
299,
3481,
96,
2897,
494,
327,
110,
338,
244,
57,
494,
244,
54,
2201,
299,
3481,
96,
2897,
494,
327,
110,
338,
244,
57,
494,
244,
55,
2201,
299,
3481,
96,
2897,
494,
327,
110,
338,
244,
57,
494,
244,
56,
2201,
299,
356,
6487,
96,
53,
1697,
110,
98,
338,
244,
56,
55,
60,
59,
61,
51,
53,
107,
64,
222,
325,
4714,
339,
222,
325,
2087,
339,
832,
320,
222,
325,
4714,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
1952,
13385,
3789,
244,
54,
64,
613,
2002,
320,
222,
325,
6813,
3481,
96,
2897,
494,
327,
110,
338,
244,
61,
494,
244,
53,
2201,
299,
3481,
96,
2897,
494,
327,
110,
338,
244,
61,
494,
244,
55,
2201,
299,
3481,
96,
2897,
494,
327,
110,
338,
244,
61,
494,
244,
57,
2201,
299,
3481,
96,
2897,
494,
327,
110,
338,
244,
61,
494,
244,
59,
2201,
299,
356,
6487,
96,
53,
1697,
110,
98,
338,
244,
56,
55,
60,
59,
61,
51,
53,
107,
64,
222,
325,
6813,
3481,
96,
2897,
494,
327,
110,
338,
244,
61,
494,
244,
54,
2201,
299,
3481,
96,
2897,
494,
327,
110,
338,
244,
61,
494,
244,
56,
2201,
299,
3481,
96,
2897,
494,
327,
110,
338,
244,
61,
494,
244,
58,
2201,
299,
3481,
96,
2897,
494,
327,
110,
338,
244,
61,
494,
244,
60,
2201,
299,
356,
6487,
96,
54,
1697,
110,
98,
338,
244,
56,
55,
60,
59,
61,
51,
53,
107,
64,
222,
325,
4714,
339,
222,
325,
2087,
339,
222,
325,
1485,
339,
832,
434,
327,
112,
13691,
630,
244,
55,
55,
53,
58,
53,
46,
320,
222,
325,
2087,
434,
327,
1538,
15440,
630,
244,
54,
46,
320,
222,
325,
4714,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
1952,
13385,
64,
613,
2002,
320,
222,
325,
6813,
3481,
96,
2897,
494,
327,
110,
338,
244,
55,
494,
244,
53,
2201,
299,
3481,
96,
2897,
494,
327,
110,
338,
244,
55,
494,
244,
54,
2201,
299,
356,
6487,
96,
53,
1697,
110,
98,
338,
244,
56,
55,
60,
59,
61,
51,
53,
107,
64,
222,
325,
4714,
339,
222,
325,
2087,
339,
832,
320,
222,
325,
4714,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
1952,
13385,
3789,
244,
54,
64,
613,
2002,
320,
222,
325,
6813,
3481,
96,
2897,
494,
327,
110,
338,
244,
57,
494,
244,
53,
2201,
299,
3481,
96,
2897,
494,
327,
110,
338,
244,
57,
494,
244,
55,
2201,
299,
356,
6487,
96,
53,
1697,
110,
98,
338,
244,
56,
55,
60,
59,
61,
51,
53,
107,
64,
222,
325,
6813,
3481,
96,
2897,
494,
327,
110,
338,
244,
57,
494,
244,
54,
2201,
299,
3481,
96,
2897,
494,
327,
110,
338,
244,
57,
494,
244,
56,
2201,
299,
356,
6487,
96,
54,
1697,
110,
98,
338,
244,
56,
55,
60,
59,
61,
51,
53,
107,
64,
222,
325,
4714,
339,
222,
325,
2087,
339,
222,
325,
1485,
339,
832,
434,
327,
112,
13691,
630,
244,
57,
57,
54,
53,
53,
46,
320,
222,
325,
2087,
434,
327,
1538,
15440,
630,
244,
54,
46,
320,
222,
325,
4714,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
1952,
13385,
64,
613,
2002,
320,
222,
325,
6813,
3481,
96,
2897,
494,
327,
110,
338,
244,
54,
494,
244,
53,
2201,
299,
356,
6487,
96,
53,
1697,
110,
98,
338,
244,
56,
55,
60,
59,
61,
51,
53,
107,
64,
222,
325,
4714,
339,
222,
325,
2087,
339,
832,
320,
222,
325,
4714,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
1952,
13385,
3789,
244,
54,
64,
613,
2002,
320,
222,
325,
6813,
3481,
96,
2897,
494,
327,
110,
338,
244,
55,
494,
244,
53,
2201,
299,
356,
6487,
96,
53,
1697,
110,
98,
338,
244,
56,
55,
60,
59,
61,
51,
53,
107,
64,
222,
325,
6813,
3481,
96,
2897,
494,
327,
110,
338,
244,
55,
494,
244,
54,
2201,
299,
356,
6487,
96,
54,
1697,
110,
98,
338,
244,
56,
55,
60,
59,
61,
51,
53,
107,
64,
222,
325,
4714,
339,
222,
325,
2087,
339,
222,
325,
1485,
339,
832,
320,
222,
325,
2087,
1217,
327,
1886,
312,
222,
325,
1485,
339,
222,
325,
370,
339,
222,
325,
222,
325,
370,
496,
1806,
222,
325,
370,
581,
782,
2791,
5209,
84,
10655,
724,
57,
57,
112,
13691,
45,
3690,
2030,
3481,
49,
648,
3413,
49,
1916,
11338,
356,
6487,
49,
648,
1952,
13385,
49,
648,
851,
13691,
49,
648,
1952,
15440,
46,
320,
222,
325,
1485,
3413,
1475,
3481,
51,
2719,
492,
222,
325,
1485,
434,
327,
112,
13691,
630,
244,
54,
54,
53,
55,
58,
46,
320,
222,
325,
2087,
434,
327,
1538,
15440,
630,
244,
54,
46,
320,
222,
325,
4714,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
1952,
13385,
64,
613,
2002,
320,
222,
325,
6813,
3481,
51,
543,
45,
2897,
494,
327,
110,
338,
244,
57,
494,
244,
53,
490,
356,
6487,
96,
53,
1697,
110,
98,
338,
244,
56,
55,
60,
59,
61,
51,
53,
107,
46,
222,
325,
9326,
657,
543,
45,
2897,
494,
327,
110,
338,
244,
57,
494,
244,
54,
490,
356,
6487,
96,
53,
1697,
110,
98,
338,
244,
56,
55,
60,
59,
61,
51,
53,
107,
46,
222,
325,
9326,
657,
543,
45,
2897,
494,
327,
110,
338,
244,
57,
494,
244,
55,
490,
356,
6487,
96,
53,
1697,
110,
98,
338,
244,
56,
55,
60,
59,
61,
51,
53,
107,
46,
222,
325,
9326,
657,
543,
45,
2897,
494,
327,
110,
338,
244,
57,
494,
244,
56,
490,
356,
6487,
96,
53,
1697,
110,
98,
338,
244,
56,
55,
60,
59,
61,
51,
53,
107,
312,
222,
325,
4714,
339,
222,
325,
2087,
339,
832,
320,
222,
325,
4714,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
1952,
13385,
3789,
244,
54,
64,
613,
2002,
320,
222,
325,
6813,
3481,
51,
543,
45,
2897,
494,
327,
110,
338,
244,
61,
494,
244,
53,
490,
356,
6487,
96,
53,
1697,
110,
98,
338,
244,
56,
55,
60,
59,
61,
51,
53,
107,
46,
222,
325,
9326,
657,
543,
45,
2897,
494,
327,
110,
338,
244,
61,
494,
244,
55,
490,
356,
6487,
96,
53,
1697,
110,
98,
338,
244,
56,
55,
60,
59,
61,
51,
53,
107,
46,
222,
325,
9326,
657,
543,
45,
2897,
494,
327,
110,
338,
244,
61,
494,
244,
57,
490,
356,
6487,
96,
53,
1697,
110,
98,
338,
244,
56,
55,
60,
59,
61,
51,
53,
107,
46,
222,
325,
9326,
657,
543,
45,
2897,
494,
327,
110,
338,
244,
61,
494,
244,
59,
490,
356,
6487,
96,
53,
1697,
110,
98,
338,
244,
56,
55,
60,
59,
61,
51,
53,
107,
312,
222,
325,
6813,
3481,
51,
543,
45,
2897,
494,
327,
110,
338,
244,
61,
494,
244,
54,
490,
356,
6487,
96,
54,
1697,
110,
98,
338,
244,
56,
55,
60,
59,
61,
51,
53,
107,
46,
222,
325,
9326,
657,
543,
45,
2897,
494,
327,
110,
338,
244,
61,
494,
244,
56,
490,
356,
6487,
96,
54,
1697,
110,
98,
338,
244,
56,
55,
60,
59,
61,
51,
53,
107,
46,
222,
325,
9326,
657,
543,
45,
2897,
494,
327,
110,
338,
244,
61,
494,
244,
58,
490,
356,
6487,
96,
54,
1697,
110,
98,
338,
244,
56,
55,
60,
59,
61,
51,
53,
107,
46,
222,
325,
9326,
657,
543,
45,
2897,
494,
327,
110,
338,
244,
61,
494,
244,
60,
490,
356,
6487,
96,
54,
1697,
110,
98,
338,
244,
56,
55,
60,
59,
61,
51,
53,
107,
312,
222,
325,
4714,
339,
222,
325,
2087,
339,
222,
325,
1485,
339,
832,
434,
327,
112,
13691,
630,
244,
55,
55,
53,
58,
53,
46,
320,
222,
325,
2087,
434,
327,
1538,
15440,
630,
244,
54,
46,
320,
222,
325,
4714,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
1952,
13385,
64,
613,
2002,
320,
222,
325,
6813,
3481,
51,
543,
45,
2897,
494,
327,
110,
338,
244,
55,
494,
244,
53,
490,
356,
6487,
96,
53,
1697,
110,
98,
338,
244,
56,
55,
60,
59,
61,
51,
53,
107,
46,
222,
325,
9326,
657,
543,
45,
2897,
494,
327,
110,
338,
244,
55,
494,
244,
54,
490,
356,
6487,
96,
53,
1697,
110,
98,
338,
244,
56,
55,
60,
59,
61,
51,
53,
107,
312,
222,
325,
4714,
339,
222,
325,
2087,
339,
832,
320,
222,
325,
4714,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
1952,
13385,
3789,
244,
54,
64,
613,
2002,
320,
222,
325,
6813,
3481,
51,
543,
45,
2897,
494,
327,
110,
338,
244,
57,
494,
244,
53,
490,
356,
6487,
96,
53,
1697,
110,
98,
338,
244,
56,
55,
60,
59,
61,
51,
53,
107,
46,
222,
325,
9326,
657,
543,
45,
2897,
494,
327,
110,
338,
244,
57,
494,
244,
55,
490,
356,
6487,
96,
53,
1697,
110,
98,
338,
244,
56,
55,
60,
59,
61,
51,
53,
107,
312,
222,
325,
6813,
3481,
51,
543,
45,
2897,
494,
327,
110,
338,
244,
57,
494,
244,
54,
490,
356,
6487,
96,
54,
1697,
110,
98,
338,
244,
56,
55,
60,
59,
61,
51,
53,
107,
46,
222,
325,
9326,
657,
543,
45,
2897,
494,
327,
110,
338,
244,
57,
494,
244,
56,
490,
356,
6487,
96,
54,
1697,
110,
98,
338,
244,
56,
55,
60,
59,
61,
51,
53,
107,
312,
222,
325,
4714,
339,
222,
325,
2087,
339,
222,
325,
1485,
339,
832,
434,
327,
112,
13691,
630,
244,
57,
57,
54,
53,
53,
46,
320,
222,
325,
2087,
434,
327,
1538,
15440,
630,
244,
54,
46,
320,
222,
325,
4714,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
1952,
13385,
64,
613,
2002,
320,
222,
325,
6813,
3481,
51,
543,
45,
2897,
494,
327,
110,
338,
244,
54,
494,
244,
53,
490,
356,
6487,
96,
53,
1697,
110,
98,
338,
244,
56,
55,
60,
59,
61,
51,
53,
107,
312,
222,
325,
4714,
339,
222,
325,
2087,
339,
832,
320,
222,
325,
4714,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
1952,
13385,
3789,
244,
54,
64,
613,
2002,
320,
222,
325,
6813,
3481,
51,
543,
45,
2897,
494,
327,
110,
338,
244,
55,
494,
244,
53,
490,
356,
6487,
96,
53,
1697,
110,
98,
338,
244,
56,
55,
60,
59,
61,
51,
53,
107,
46,
222,
325,
9326,
657,
543,
45,
2897,
494,
327,
110,
338,
244,
55,
494,
244,
54,
490,
356,
6487,
96,
54,
1697,
110,
98,
338,
244,
56,
55,
60,
59,
61,
51,
53,
107,
312,
222,
325,
4714,
339,
222,
325,
2087,
339,
222,
325,
1485,
339,
832,
320,
222,
325,
2087,
1217,
327,
1886,
312,
222,
325,
1485,
339,
222,
325,
370,
339,
222,
325,
222,
325,
370,
496,
1806,
222,
325,
370,
581,
782,
28083,
9024,
8625,
34248,
16245,
45,
1832,
1197,
11658,
2030,
49,
1916,
1197,
9879,
49,
648,
1952,
13385,
49,
1916,
1197,
2419,
91,
49,
1916,
1197,
1565,
91,
46,
320,
222,
325,
1485,
1916,
328,
81,
299,
2419,
91,
96,
53,
988,
222,
325,
1485,
1916,
328,
87,
299,
2419,
91,
96,
54,
988,
222,
325,
1485,
1916,
6985,
81,
299,
327,
1719,
91,
96,
53,
98,
449,
2419,
91,
96,
53,
1156,
536,
507,
6588,
8455,
100,
43939,
64,
222,
325,
1485,
1916,
6985,
87,
299,
327,
1719,
91,
96,
54,
98,
449,
2419,
91,
96,
54,
1156,
536,
507,
6588,
8455,
100,
43939,
64,
222,
325,
222,
325,
1485,
1217,
327,
1538,
13385,
630,
507,
6588,
8455,
100,
43939,
312,
222,
325,
222,
325,
1485,
456,
327,
429,
614,
299,
244,
53,
64,
614,
350,
507,
6588,
8455,
100,
43939,
64,
614,
2002,
320,
222,
325,
2087,
11658,
2030,
96,
111,
338,
244,
55,
494,
244,
53,
98,
1475,
9879,
96,
111,
98,
338,
328,
81,
64,
222,
325,
2087,
11658,
2030,
96,
111,
338,
244,
55,
494,
244,
54,
98,
1475,
9879,
96,
111,
98,
338,
328,
87,
64,
222,
325,
2087,
328,
81,
1475,
6985,
81,
64,
222,
325,
2087,
328,
87,
1475,
6985,
87,
64,
222,
325,
1485,
339,
222,
325,
370,
339,
222,
325,
222,
325,
370,
496,
1806,
222,
325,
370,
581,
782,
28083,
9024,
8625,
34248,
36977,
17826,
45,
1832,
1197,
11658,
2030,
49,
1916,
1197,
9879,
49,
648,
1952,
13385,
49,
1916,
1197,
2419,
91,
49,
1916,
1197,
1565,
91,
46,
320,
222,
325,
1485,
1916,
328,
81,
299,
2419,
91,
96,
53,
988,
222,
325,
1485,
1916,
328,
87,
299,
2419,
91,
96,
54,
988,
222,
325,
1485,
1916,
6985,
81,
299,
327,
1719,
91,
96,
53,
98,
449,
2419,
91,
96,
53,
1156,
536,
507,
6588,
8455,
100,
43939,
64,
222,
325,
1485,
1916,
6985,
87,
299,
327,
1719,
91,
96,
54,
98,
449,
2419,
91,
96,
54,
1156,
536,
507,
6588,
8455,
100,
43939,
64,
222,
325,
222,
325,
1485,
1217,
327,
1538,
13385,
630,
507,
6588,
8455,
100,
43939,
312,
222,
325,
222,
325,
1485,
456,
327,
429,
614,
299,
244,
53,
64,
614,
350,
507,
6588,
8455,
100,
43939,
64,
614,
2002,
320,
222,
325,
2087,
11658,
2030,
96,
111,
338,
244,
55,
494,
244,
53,
98,
1475,
9879,
96,
111,
338,
244,
55,
494,
244,
53,
98,
338,
328,
81,
64,
222,
325,
2087,
11658,
2030,
96,
111,
338,
244,
55,
494,
244,
54,
98,
1475,
9879,
96,
111,
338,
244,
55,
494,
244,
54,
98,
338,
328,
87,
64,
222,
325,
2087,
328,
81,
1475,
6985,
81,
64,
222,
325,
2087,
328,
87,
1475,
6985,
87,
64,
222,
325,
1485,
339,
222,
325,
370,
339,
222,
325,
222,
325,
370,
496,
1806,
222,
325,
370,
581,
782,
28083,
9024,
45291,
34248,
16245,
45,
1832,
1197,
11658,
2030,
49,
1916,
1197,
9879,
49,
648,
1952,
13385,
49,
1916,
1197,
2419,
91,
49,
1916,
1197,
1565,
91,
46,
320,
222,
325,
1485,
1916,
328,
81,
53,
299,
2419,
91,
96,
53,
988,
222,
325,
1485,
1916,
328,
81,
54,
299,
2419,
91,
96,
54,
988,
222,
325,
1485,
1916,
328,
81,
55,
299,
2419,
91,
96,
55,
988,
222,
325,
1485,
1916,
328,
81,
56,
299,
2419,
91,
96,
56,
988,
222,
325,
1485,
1916,
328,
81,
57,
299,
2419,
91,
96,
57,
988,
222,
325,
1485,
1916,
328,
81,
58,
299,
2419,
91,
96,
58,
988,
222,
325,
222,
325,
1485,
1916,
6985,
81,
53,
299,
327,
1719,
91,
96,
53,
98,
449,
2419,
91,
96,
53,
1156,
536,
507,
6588,
8455,
100,
43939,
64,
222,
325,
1485,
1916,
6985,
81,
54,
299,
327,
1719,
91,
96,
54,
98,
449,
2419,
91,
96,
54,
1156,
536,
507,
6588,
8455,
100,
43939,
64,
222,
325,
1485,
1916,
6985,
81,
55,
299,
327,
1719,
91,
96,
55,
98,
449,
2419,
91,
96,
55,
1156,
536,
507,
6588,
8455,
100,
43939,
64,
222,
325,
1485,
1916,
6985,
81,
56,
299,
327,
1719,
91,
96,
56,
98,
449,
2419,
91,
96,
56,
1156,
536,
507,
6588,
8455,
100,
43939,
64,
222,
325,
1485,
1916,
6985,
81,
57,
299,
327,
1719,
91,
96,
57,
98,
449,
2419,
91,
96,
57,
1156,
536,
507,
6588,
8455,
100,
43939,
64,
222,
325,
1485,
1916,
6985,
81,
58,
299,
327,
1719,
91,
96,
58,
98,
449,
2419,
91,
96,
58,
1156,
536,
507,
6588,
8455,
100,
43939,
64,
222,
325,
222,
325,
1485,
1217,
327,
1538,
13385,
630,
507,
6588,
8455,
100,
43939,
312,
222,
325,
222,
325,
1485,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
507,
6588,
8455,
100,
43939,
64,
613,
2002,
320,
222,
325,
2087,
11658,
2030,
96,
110,
338,
244,
59,
494,
244,
53,
98,
1475,
9879,
96,
110,
98,
338,
328,
81,
53,
64,
222,
325,
2087,
11658,
2030,
96,
110,
338,
244,
59,
494,
244,
54,
98,
1475,
9879,
96,
110,
98,
338,
328,
81,
54,
64,
222,
325,
2087,
11658,
2030,
96,
110,
338,
244,
59,
494,
244,
55,
98,
1475,
9879,
96,
110,
98,
338,
328,
81,
55,
64,
222,
325,
2087,
11658,
2030,
96,
110,
338,
244,
59,
494,
244,
56,
98,
1475,
9879,
96,
110,
98,
338,
328,
81,
56,
64,
222,
325,
2087,
11658,
2030,
96,
110,
338,
244,
59,
494,
244,
57,
98,
1475,
9879,
96,
110,
98,
338,
328,
81,
57,
64,
222,
325,
2087,
11658,
2030,
96,
110,
338,
244,
59,
494,
244,
58,
98,
1475,
9879,
96,
110,
98,
338,
328,
81,
58,
64,
222,
325,
2087,
328,
81,
53,
1475,
6985,
81,
53,
64,
222,
325,
2087,
328,
81,
54,
1475,
6985,
81,
54,
64,
222,
325,
2087,
328,
81,
55,
1475,
6985,
81,
55,
64,
222,
325,
2087,
328,
81,
56,
1475,
6985,
81,
56,
64,
222,
325,
2087,
328,
81,
57,
1475,
6985,
81,
57,
64,
222,
325,
2087,
328,
81,
58,
1475,
6985,
81,
58,
64,
222,
325,
1485,
339,
222,
325,
370,
339,
222,
325,
222,
325,
370,
496,
1806,
222,
325,
370,
581,
782,
28083,
9024,
45291,
34248,
36977,
17826,
45,
1832,
1197,
11658,
2030,
49,
1916,
1197,
9879,
49,
648,
1952,
13385,
49,
1916,
1197,
2419,
91,
49,
1916,
1197,
1565,
91,
46,
320,
222,
325,
1485,
1916,
328,
81,
53,
299,
2419,
91,
96,
53,
988,
222,
325,
1485,
1916,
328,
81,
54,
299,
2419,
91,
96,
54,
988,
222,
325,
1485,
1916,
328,
81,
55,
299,
2419,
91,
96,
55,
988,
222,
325,
1485,
1916,
328,
81,
56,
299,
2419,
91,
96,
56,
988,
222,
325,
1485,
1916,
328,
81,
57,
299,
2419,
91,
96,
57,
988,
222,
325,
1485,
1916,
328,
81,
58,
299,
2419,
91,
96,
58,
988,
222,
325,
222,
325,
1485,
1916,
6985,
81,
53,
299,
327,
1719,
91,
96,
53,
98,
449,
2419,
91,
96,
53,
1156,
536,
507,
6588,
8455,
100,
43939,
64,
222,
325,
1485,
1916,
6985,
81,
54,
299,
327,
1719,
91,
96,
54,
98,
449,
2419,
91,
96,
54,
1156,
536,
507,
6588,
8455,
100,
43939,
64,
222,
325,
1485,
1916,
6985,
81,
55,
299,
327,
1719,
91,
96,
55,
98,
449,
2419,
91,
96,
55,
1156,
536,
507,
6588,
8455,
100,
43939,
64,
222,
325,
1485,
1916,
6985,
81,
56,
299,
327,
1719,
91,
96,
56,
98,
449,
2419,
91,
96,
56,
1156,
536,
507,
6588,
8455,
100,
43939,
64,
222,
325,
1485,
1916,
6985,
81,
57,
299,
327,
1719,
91,
96,
57,
98,
449,
2419,
91,
96,
57,
1156,
536,
507,
6588,
8455,
100,
43939,
64,
222,
325,
1485,
1916,
6985,
81,
58,
299,
327,
1719,
91,
96,
58,
98,
449,
2419,
91,
96,
58,
1156,
536,
507,
6588,
8455,
100,
43939,
64,
222,
325,
222,
325,
1485,
1217,
327,
1538,
13385,
630,
507,
6588,
8455,
100,
43939,
312,
222,
325,
222,
325,
1485,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
507,
6588,
8455,
100,
43939,
64,
613,
2002,
320,
222,
325,
2087,
11658,
2030,
96,
110,
338,
244,
59,
494,
244,
53,
98,
1475,
9879,
96,
110,
338,
244,
55,
494,
244,
53,
98,
338,
328,
81,
53,
64,
222,
325,
2087,
11658,
2030,
96,
110,
338,
244,
59,
494,
244,
54,
98,
1475,
9879,
96,
110,
338,
244,
55,
494,
244,
54,
98,
338,
328,
81,
54,
64,
222,
325,
2087,
11658,
2030,
96,
110,
338,
244,
59,
494,
244,
55,
98,
1475,
9879,
96,
110,
338,
244,
55,
494,
244,
53,
98,
338,
328,
81,
55,
64,
222,
325,
2087,
11658,
2030,
96,
110,
338,
244,
59,
494,
244,
56,
98,
1475,
9879,
96,
110,
338,
244,
55,
494,
244,
53,
98,
338,
328,
81,
56,
64,
222,
325,
2087,
11658,
2030,
96,
110,
338,
244,
59,
494,
244,
57,
98,
1475,
9879,
96,
110,
338,
244,
55,
494,
244,
53,
98,
338,
328,
81,
57,
64,
222,
325,
2087,
11658,
2030,
96,
110,
338,
244,
59,
494,
244,
58,
98,
1475,
9879,
96,
110,
338,
244,
55,
494,
244,
54,
98,
338,
328,
81,
58,
64,
222,
325,
2087,
328,
81,
53,
1475,
6985,
81,
53,
64,
222,
325,
2087,
328,
81,
54,
1475,
6985,
81,
54,
64,
222,
325,
2087,
328,
81,
55,
1475,
6985,
81,
55,
64,
222,
325,
2087,
328,
81,
56,
1475,
6985,
81,
56,
64,
222,
325,
2087,
328,
81,
57,
1475,
6985,
81,
57,
64,
222,
325,
2087,
328,
81,
58,
1475,
6985,
81,
58,
64,
222,
325,
1485,
339,
222,
325,
370,
339,
222,
325,
222,
325,
370,
496,
1806,
222,
325,
370,
581,
782,
507,
4052,
9024,
724,
13385,
45,
4036,
1197,
9879,
49,
648,
3413,
49,
1916,
1197,
11658,
2030,
49,
648,
1952,
13385,
46,
320,
222,
325,
222,
325,
1485,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
1952,
13385,
64,
613,
2002,
320,
222,
325,
2087,
434,
327,
11190,
2030,
96,
110,
98,
2527,
449,
56,
55,
60,
59,
61,
51,
53,
107,
46,
320,
222,
325,
4714,
9879,
96,
2897,
494,
613,
98,
299,
449,
56,
55,
60,
59,
61,
64,
222,
325,
2087,
339,
832,
434,
327,
11190,
2030,
96,
110,
98,
2394,
244,
56,
55,
60,
59,
60,
51,
53,
107,
46,
320,
222,
325,
4714,
9879,
96,
2897,
494,
613,
98,
299,
244,
56,
55,
60,
59,
60,
64,
222,
325,
2087,
339,
832,
320,
222,
325,
4714,
9879,
96,
2897,
494,
613,
98,
299,
327,
4036,
46,
11658,
2030,
96,
110,
988,
222,
325,
2087,
339,
222,
325,
1485,
339,
222,
325,
370,
339,
303,
1487,
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,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1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 47,979 | true | 29.851944 | true | true |
EntityOnMouseMovedEventHandler.java | /FileExtraction/Java_unseen/antonnazarov_apricot/apricot-incubator/za/co/apricotdb/viewport/event/EntityOnMouseMovedEventHandler.java | package za.co.apricotdb.viewport.event;
import javafx.event.EventHandler;
import javafx.scene.Cursor;
import javafx.scene.Scene;
import javafx.scene.input.MouseEvent;
import javafx.scene.layout.Pane;
import za.co.apricotdb.viewport.canvas.ApricotCanvas;
import za.co.apricotdb.viewport.entity.shape.ApricotEntityShape;
/**
* Mouse was moved and this event was caught by the entity.
*
* @author Anton Nazarov
* @since 12/12/2018
*
*/
public class EntityOnMouseMovedEventHandler implements EventHandler<MouseEvent> {
private String tableName = null;
private ApricotCanvas canvas = null;
public EntityOnMouseMovedEventHandler(String tableName, ApricotCanvas canvas) {
this.tableName = tableName;
this.canvas = canvas;
}
@Override
public void handle(MouseEvent event) {
if (event.getSource() instanceof ApricotEntityShape) {
ApricotEntityShape entityShape = (ApricotEntityShape) event.getSource();
if (tableName.equals(entityShape.getId())) {
Pane pane = (Pane) canvas;
Scene scene = pane.getScene();
switch (EntityOnMousePressedEventHandler.getDraggingType(entityShape, event.getX(), event.getY())) {
case ENTITY_HORIZONTAL_DRAGGING:
scene.setCursor(Cursor.E_RESIZE);
break;
default:
scene.setCursor(Cursor.HAND);
break;
}
event.consume();
}
}
}
}
| 1,548 | Java | .java | antonnazarov/apricot | 19 | 2 | 5 | 2018-08-27T20:17:51Z | 2023-07-17T21:06:01Z | aa161663beb6686a105ff5b167d32739b6ab793c4c54edc10f1f7c2eb27e3e64 | [] | [
1337,
16275,
51,
352,
51,
386,
3953,
385,
1219,
51,
10828,
51,
1585,
64,
222,
222,
485,
15911,
51,
1585,
51,
9889,
64,
222,
485,
15911,
51,
7615,
51,
7424,
64,
222,
485,
15911,
51,
7615,
51,
7320,
64,
222,
485,
15911,
51,
7615,
51,
1151,
51,
21464,
64,
222,
485,
15911,
51,
7615,
51,
3106,
51,
7586,
64,
222,
485,
16275,
51,
352,
51,
386,
3953,
385,
1219,
51,
10828,
51,
8046,
51,
21619,
314,
385,
8521,
64,
222,
485,
16275,
51,
352,
51,
386,
3953,
385,
1219,
51,
10828,
51,
2244,
51,
3299,
51,
21619,
314,
385,
2234,
4749,
64,
222,
222,
1350,
222,
338,
16263,
1616,
13643,
480,
477,
1708,
1616,
27405,
829,
341,
4436,
51,
222,
338,
1676,
338,
496,
2133,
16396,
286,
508,
40312,
1558,
222,
338,
496,
8152,
244,
54,
55,
52,
54,
55,
52,
55,
53,
54,
61,
222,
338,
222,
588,
222,
942,
462,
7276,
1501,
6042,
31837,
9889,
4584,
26907,
65,
21464,
67,
320,
465,
964,
910,
18213,
299,
762,
64,
303,
964,
12742,
314,
385,
8521,
9098,
299,
762,
64,
465,
581,
7276,
1501,
6042,
31837,
9889,
45,
671,
18213,
49,
12742,
314,
385,
8521,
9098,
46,
320,
310,
477,
51,
16821,
299,
18213,
64,
310,
477,
51,
8046,
299,
9098,
64,
303,
339,
465,
496,
1806,
303,
581,
782,
2902,
45,
21464,
1708,
46,
320,
603,
434,
327,
1585,
51,
25518,
365,
5118,
12742,
314,
385,
2234,
4749,
46,
320,
343,
12742,
314,
385,
2234,
4749,
4436,
4749,
299,
327,
21619,
314,
385,
2234,
4749,
46,
1708,
51,
25518,
492,
343,
434,
327,
16821,
51,
3591,
45,
2244,
4749,
51,
7068,
5183,
320,
419,
466,
2617,
24121,
299,
327,
7586,
46,
9098,
64,
419,
15179,
9641,
299,
24121,
51,
390,
7320,
492,
2125,
3593,
327,
2234,
1501,
6042,
12728,
9889,
51,
390,
43528,
638,
45,
2244,
4749,
49,
1708,
51,
18807,
1046,
1708,
51,
20421,
5183,
320,
419,
1152,
39923,
2932,
100,
31354,
100,
3577,
1631,
32390,
63,
547,
9641,
51,
489,
7424,
45,
7424,
51,
74,
100,
632,
3382,
312,
547,
1644,
64,
419,
1263,
63,
547,
9641,
51,
489,
7424,
45,
7424,
51,
8876,
312,
547,
1644,
64,
419,
339,
2125,
1708,
51,
19877,
492,
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,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1,
1,
1,
1,
1,
1,
1
]
] | 377 | true | 63.307494 | true | true |
EntityDataTypes.java | /FileExtraction/Java_unseen/retrooper_packetevents/api/src/main/java/com/github/retrooper/packetevents/protocol/entity/data/EntityDataTypes.java | /*
* This file is part of packetevents - https://github.com/retrooper/packetevents
* Copyright (C) 2022 retrooper 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, 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.github.retrooper.packetevents.protocol.entity.data;
import com.github.retrooper.packetevents.PacketEvents;
import com.github.retrooper.packetevents.manager.server.ServerVersion;
import com.github.retrooper.packetevents.protocol.entity.armadillo.ArmadilloState;
import com.github.retrooper.packetevents.protocol.entity.pose.EntityPose;
import com.github.retrooper.packetevents.protocol.entity.sniffer.SnifferState;
import com.github.retrooper.packetevents.protocol.entity.villager.VillagerData;
import com.github.retrooper.packetevents.protocol.item.ItemStack;
import com.github.retrooper.packetevents.protocol.nbt.NBTCompound;
import com.github.retrooper.packetevents.protocol.particle.Particle;
import com.github.retrooper.packetevents.protocol.player.ClientVersion;
import com.github.retrooper.packetevents.protocol.world.BlockFace;
import com.github.retrooper.packetevents.protocol.world.WorldBlockPosition;
import com.github.retrooper.packetevents.resources.ResourceLocation;
import com.github.retrooper.packetevents.util.Quaternion4f;
import com.github.retrooper.packetevents.util.Vector3f;
import com.github.retrooper.packetevents.util.Vector3i;
import com.github.retrooper.packetevents.util.mappings.TypesBuilder;
import com.github.retrooper.packetevents.util.mappings.TypesBuilderData;
import com.github.retrooper.packetevents.wrapper.PacketWrapper;
import net.kyori.adventure.text.Component;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Optional;
import java.util.UUID;
import java.util.function.BiConsumer;
import java.util.function.Function;
public class EntityDataTypes {
//1.7 -> 1.18 block_position is just 3 ints, not serialized with a long
//short was removed in 1.9+
//boolean was added in 1.9
//nbt was added in 1.12
private static final Map<String, EntityDataType<?>> ENTITY_DATA_TYPE_MAP = new HashMap<>();
private static final Map<Byte, Map<Integer, EntityDataType<?>>> ENTITY_DATA_TYPE_ID_MAP = new HashMap<>();
protected static final TypesBuilder TYPES_BUILDER = new TypesBuilder("entity/entity_data_type_mappings");
public static final EntityDataType<Byte> BYTE = define("byte", PacketWrapper::readByte, PacketWrapper::writeByte);
public static final EntityDataType<Short> SHORT = define("short", PacketWrapper::readShort, PacketWrapper::writeShort);
public static final EntityDataType<Integer> INT = define("int", wrapper -> {
if (wrapper.getServerVersion().isNewerThanOrEquals(ServerVersion.V_1_9)) {
return wrapper.readVarInt();
} else {
return wrapper.readInt();
}
}, (wrapper, value) -> {
if (wrapper.getServerVersion().isNewerThanOrEquals(ServerVersion.V_1_9)) {
wrapper.writeVarInt(value);
} else {
wrapper.writeInt(value);
}
});
public static final EntityDataType<Long> LONG = define("long", PacketWrapper::readVarLong, PacketWrapper::writeVarLong);
public static final EntityDataType<Float> FLOAT = define("float", PacketWrapper::readFloat, PacketWrapper::writeFloat);
public static final EntityDataType<String> STRING = define("string", PacketWrapper::readString, PacketWrapper::writeString);
@Deprecated
public static final EntityDataType<String> COMPONENT = define("component", PacketWrapper::readComponentJSON, PacketWrapper::writeComponentJSON);
public static final EntityDataType<Component> ADV_COMPONENT = define("component", PacketWrapper::readComponent, PacketWrapper::writeComponent);
@Deprecated
public static final EntityDataType<Optional<String>> OPTIONAL_COMPONENT = define("optional_component", readOptionalComponentJSONDeserializer(), writeOptionalComponentJSONSerializer());
public static final EntityDataType<Optional<Component>> OPTIONAL_ADV_COMPONENT = define("optional_component", readOptionalComponentDeserializer(), writeOptionalComponentSerializer());
public static final EntityDataType<ItemStack> ITEMSTACK = define("itemstack", PacketWrapper::readItemStack, PacketWrapper::writeItemStack);
public static final EntityDataType<Optional<ItemStack>> OPTIONAL_ITEMSTACK = define("optional_itemstack",
(PacketWrapper<?> wrapper) -> Optional.of(wrapper.readItemStack()),
(PacketWrapper<?> wrapper, Optional<ItemStack> value) -> wrapper.writeItemStack(value.orElse(null)));
public static final EntityDataType<Boolean> BOOLEAN = define("boolean", PacketWrapper::readBoolean, PacketWrapper::writeBoolean);
public static final EntityDataType<Vector3f> ROTATION = define("rotation",
(PacketWrapper<?> wrapper) -> new Vector3f(wrapper.readFloat(), wrapper.readFloat(), wrapper.readFloat()),
(PacketWrapper<?> wrapper, Vector3f value) -> {
wrapper.writeFloat(value.x);
wrapper.writeFloat(value.y);
wrapper.writeFloat(value.z);
});
public static final EntityDataType<Vector3i> BLOCK_POSITION = define("block_position", (PacketWrapper<?> wrapper) -> {
if (wrapper.getServerVersion().isNewerThanOrEquals(ServerVersion.V_1_9)) {
return wrapper.readBlockPosition();
} else {
int x = wrapper.readInt();
int y = wrapper.readInt();
int z = wrapper.readInt();
return new Vector3i(x, y, z);
}
}, (wrapper, blockPosition) -> {
if (wrapper.getServerVersion().isNewerThanOrEquals(ServerVersion.V_1_9)) {
wrapper.writeBlockPosition(blockPosition);
} else {
wrapper.writeInt(blockPosition.getX());
wrapper.writeInt(blockPosition.getY());
wrapper.writeInt(blockPosition.getZ());
}
});
public static final EntityDataType<Optional<Vector3i>> OPTIONAL_BLOCK_POSITION = define("optional_block_position",
readOptionalBlockPositionDeserializer(), writeOptionalBlockPositionSerializer());
public static final EntityDataType<BlockFace> BLOCK_FACE = define("block_face", (PacketWrapper<?> wrapper) -> {
int id = wrapper.readVarInt();
return BlockFace.getBlockFaceByValue(id);
},
(PacketWrapper<?> wrapper, BlockFace value) -> wrapper.writeVarInt(value.getFaceValue()));
public static final EntityDataType<Optional<UUID>> OPTIONAL_UUID = define("optional_uuid",
(PacketWrapper<?> wrapper) -> Optional.ofNullable(wrapper.readOptional(PacketWrapper::readUUID)),
(PacketWrapper<?> wrapper, Optional<UUID> value) ->
wrapper.writeOptional(value.orElse(null), PacketWrapper::writeUUID));
public static final EntityDataType<Integer> BLOCK_STATE = define("block_state",
readIntDeserializer(), writeIntSerializer());
public static final EntityDataType<Integer> OPTIONAL_BLOCK_STATE = define("optional_block_state", readIntDeserializer(), writeIntSerializer());
public static final EntityDataType<NBTCompound> NBT = define("nbt", PacketWrapper::readNBT, PacketWrapper::writeNBT);
public static final EntityDataType<Particle<?>> PARTICLE = define("particle", Particle::read, Particle::write);
public static final EntityDataType<VillagerData> VILLAGER_DATA = define("villager_data", PacketWrapper::readVillagerData, PacketWrapper::writeVillagerData);
public static final EntityDataType<Optional<Integer>> OPTIONAL_INT = define("optional_int", (PacketWrapper<?> wrapper) -> {
int i = wrapper.readVarInt();
return i == 0 ? Optional.empty() : Optional.of(i - 1);
}, (PacketWrapper<?> wrapper, Optional<Integer> value) -> {
wrapper.writeVarInt(value.orElse(-1) + 1);
});
public static final EntityDataType<EntityPose> ENTITY_POSE = define("entity_pose", (PacketWrapper<?> wrapper) -> {
int id = wrapper.readVarInt();
return EntityPose.getById(wrapper.getServerVersion().toClientVersion(), id);
}, (PacketWrapper<?> wrapper, EntityPose value) -> wrapper.writeVarInt(value.getId(wrapper.getServerVersion().toClientVersion())));
public static final EntityDataType<Integer> CAT_VARIANT = define("cat_variant_type", readIntDeserializer(), writeIntSerializer());
public static final EntityDataType<Integer> FROG_VARIANT = define("frog_variant_type", readIntDeserializer(), writeIntSerializer());
public static final EntityDataType<Optional<WorldBlockPosition>> OPTIONAL_GLOBAL_POSITION = define("optional_global_position",
(PacketWrapper<?> wrapper) -> Optional.ofNullable(wrapper.readOptional(w -> new WorldBlockPosition(new ResourceLocation(w.readString(32767)), w.readBlockPosition()))),
(PacketWrapper<?> wrapper, Optional<WorldBlockPosition> value) -> wrapper.writeOptional(value.orElse(null), (w, globalPos) -> {
w.writeString(globalPos.getWorld().toString());
w.writeBlockPosition(globalPos.getBlockPosition());
}));
public static final EntityDataType<Integer> PAINTING_VARIANT_TYPE = define("painting_variant_type", readIntDeserializer(), writeIntSerializer());
public static final EntityDataType<SnifferState> SNIFFER_STATE = define("sniffer_state", (PacketWrapper<?> wrapper) -> {
int id = wrapper.readVarInt();
return SnifferState.values()[id];
}, (PacketWrapper<?> wrapper, SnifferState value) -> wrapper.writeVarInt(value.ordinal()));
public static final EntityDataType<Vector3f> VECTOR3F = define("vector3f",
(PacketWrapper<?> wrapper) -> new Vector3f(wrapper.readFloat(), wrapper.readFloat(), wrapper.readFloat()),
(PacketWrapper<?> wrapper, Vector3f value) -> {
wrapper.writeFloat(value.x);
wrapper.writeFloat(value.y);
wrapper.writeFloat(value.z);
});
public static final EntityDataType<Quaternion4f> QUATERNION = define("quaternion",
(PacketWrapper<?> wrapper) -> new Quaternion4f(wrapper.readFloat(), wrapper.readFloat(), wrapper.readFloat(), wrapper.readFloat()),
(PacketWrapper<?> wrapper, Quaternion4f value) -> {
wrapper.writeFloat(value.getX());
wrapper.writeFloat(value.getY());
wrapper.writeFloat(value.getZ());
wrapper.writeFloat(value.getW());
});
// Added in 1.20.5
public static final EntityDataType<ArmadilloState> ARMADILLO_STATE = define("armadillo_state",
(PacketWrapper<?> wrapper) -> ArmadilloState.values()[wrapper.readVarInt()],
(PacketWrapper<?> wrapper, ArmadilloState value) -> wrapper.writeVarInt(value.ordinal())
);
public static final EntityDataType<List<Particle<?>>> PARTICLES = define("particles",
wrapper -> wrapper.readList(Particle::read),
(wrapper, particles) -> wrapper.writeList(particles, Particle::write)
);
public static final EntityDataType<Integer> WOLF_VARIANT =
define("wolf_variant_type", readIntDeserializer(), writeIntSerializer());
public static EntityDataType<?> getById(ClientVersion version, int id) {
int index = TYPES_BUILDER.getDataIndex(version);
Map<Integer, EntityDataType<?>> typeIdMap = ENTITY_DATA_TYPE_ID_MAP.get((byte) index);
return typeIdMap.get(id);
}
public static EntityDataType<?> getByName(String name) {
return ENTITY_DATA_TYPE_MAP.get(name);
}
public static <T> EntityDataType<T> define(String name, Function<PacketWrapper<?>, T> deserializer, BiConsumer<PacketWrapper<?>, T> serializer) {
TypesBuilderData data = TYPES_BUILDER.define(name);
EntityDataType<T> type = new EntityDataType<>(name, data.getData(), deserializer,
(BiConsumer<PacketWrapper<?>, Object>) serializer);
ENTITY_DATA_TYPE_MAP.put(type.getName(), type);
for (ClientVersion version : TYPES_BUILDER.getVersions()) {
int index = TYPES_BUILDER.getDataIndex(version);
if (index == -1) continue;
Map<Integer, EntityDataType<?>> typeIdMap = ENTITY_DATA_TYPE_ID_MAP
.computeIfAbsent((byte) index, k -> new HashMap<>());
typeIdMap.put(type.getId(version), type);
}
return type;
}
private static <T> Function<PacketWrapper<?>, T> readIntDeserializer() {
if (PacketEvents.getAPI().getServerManager().getVersion().isNewerThanOrEquals(ServerVersion.V_1_9)) {
return (PacketWrapper<?> wrapper) -> (T) ((Object) wrapper.readVarInt());
} else {
return (PacketWrapper<?> wrapper) -> (T) ((Object) wrapper.readInt());
}
}
private static <T> BiConsumer<PacketWrapper<?>, T> writeIntSerializer() {
return (PacketWrapper<?> wrapper, T value) -> {
int output = 0;
if (value instanceof Byte) {
output = ((Byte) value).intValue();
} else if (value instanceof Short) {
output = ((Short) value).intValue();
} else if (value instanceof Integer) {
output = (Integer) value;
} else if (value instanceof Long) {
output = ((Long) value).intValue();
}
if (PacketEvents.getAPI().getServerManager().getVersion().isNewerThanOrEquals(ServerVersion.V_1_9)) {
wrapper.writeVarInt(output);
} else {
wrapper.writeInt(output);
}
};
}
@Deprecated
private static Function<PacketWrapper<?>, Optional<String>> readOptionalComponentJSONDeserializer() {
return (PacketWrapper<?> wrapper) -> {
if (wrapper.readBoolean()) {
return Optional.of(wrapper.readComponentJSON());
} else {
return Optional.empty();
}
};
}
@Deprecated
private static BiConsumer<PacketWrapper<?>, Optional<String>> writeOptionalComponentJSONSerializer() {
return (PacketWrapper<?> wrapper, Optional<String> value) -> {
if (value != null && value.isPresent()) {
wrapper.writeBoolean(true);
wrapper.writeComponentJSON(value.get());
} else {
wrapper.writeBoolean(false);
}
};
}
private static Function<PacketWrapper<?>, Optional<Component>> readOptionalComponentDeserializer() {
return (PacketWrapper<?> wrapper) -> {
if (wrapper.readBoolean()) {
return Optional.of(wrapper.readComponent());
} else {
return Optional.empty();
}
};
}
private static BiConsumer<PacketWrapper<?>, Optional<Component>> writeOptionalComponentSerializer() {
return (PacketWrapper<?> wrapper, Optional<Component> value) -> {
if (value != null && value.isPresent()) {
wrapper.writeBoolean(true);
wrapper.writeComponent(value.get());
} else {
wrapper.writeBoolean(false);
}
};
}
private static <T> Function<PacketWrapper<?>, T> readOptionalBlockPositionDeserializer() {
if (PacketEvents.getAPI().getServerManager().getVersion().isNewerThanOrEquals(ServerVersion.V_1_9)) {
return (PacketWrapper<?> wrapper) -> {
if (wrapper.readBoolean()) {
return (T) Optional.of(wrapper.readBlockPosition());
} else {
return (T) Optional.empty();
}
};
} else {
return (PacketWrapper<?> wrapper) -> {
if (wrapper.readBoolean()) {
int x = wrapper.readInt();
int y = wrapper.readInt();
int z = wrapper.readInt();
return (T) Optional.of(new Vector3i(x, y, z));
} else {
return (T) Optional.empty();
}
};
}
}
private static <T> BiConsumer<PacketWrapper<?>, T> writeOptionalBlockPositionSerializer() {
if (PacketEvents.getAPI().getServerManager().getVersion().isNewerThanOrEquals(ServerVersion.V_1_9)) {
return (PacketWrapper<?> wrapper, T value) -> {
if (value instanceof Optional) {
Optional<?> optional = (Optional<?>) value;
if (optional.isPresent()) {
wrapper.writeBoolean(true);
wrapper.writeBlockPosition((Vector3i) optional.get());
} else {
wrapper.writeBoolean(false);
}
} else {
wrapper.writeBoolean(false);
}
};
} else {
return (PacketWrapper<?> wrapper, T value) -> {
if (value instanceof Optional) {
Optional<?> optional = (Optional<?>) value;
if (optional.isPresent()) {
wrapper.writeBoolean(true);
Vector3i position = (Vector3i) optional.get();
wrapper.writeInt(position.getX());
wrapper.writeInt(position.getY());
wrapper.writeInt(position.getZ());
} else {
wrapper.writeBoolean(false);
}
} else {
wrapper.writeBoolean(false);
}
};
}
}
static {
TYPES_BUILDER.unloadFileMappings();
}
}
| 18,396 | Java | .java | retrooper/packetevents | 411 | 117 | 45 | 2020-04-17T12:46:34Z | 2024-05-08T22:41:38Z | 0824b1eaeb19583898c0a40ef3c2395dc1385b0b2011c597ef7fb3f65373b7db | [] | [
1127,
222,
338,
1369,
822,
458,
1760,
451,
6892,
5070,
449,
1698,
574,
951,
51,
527,
52,
2113,
309,
6169,
52,
8776,
5070,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
55,
55,
2170,
309,
6169,
480,
13356,
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,
222,
1337,
785,
51,
951,
51,
2113,
309,
6169,
51,
8776,
5070,
51,
5732,
51,
2244,
51,
624,
64,
222,
222,
485,
785,
51,
951,
51,
2113,
309,
6169,
51,
8776,
5070,
51,
6839,
5015,
64,
222,
485,
785,
51,
951,
51,
2113,
309,
6169,
51,
8776,
5070,
51,
4031,
51,
1805,
51,
2077,
2080,
64,
222,
485,
785,
51,
951,
51,
2113,
309,
6169,
51,
8776,
5070,
51,
5732,
51,
2244,
51,
3932,
358,
41402,
51,
16890,
358,
41402,
1095,
64,
222,
485,
785,
51,
951,
51,
2113,
309,
6169,
51,
8776,
5070,
51,
5732,
51,
2244,
51,
3622,
51,
2234,
16962,
64,
222,
485,
785,
51,
951,
51,
2113,
309,
6169,
51,
8776,
5070,
51,
5732,
51,
2244,
51,
4654,
10282,
51,
8790,
10282,
1095,
64,
222,
485,
785,
51,
951,
51,
2113,
309,
6169,
51,
8776,
5070,
51,
5732,
51,
2244,
51,
123,
747,
1227,
51,
91,
747,
1227,
768,
64,
222,
485,
785,
51,
951,
51,
2113,
309,
6169,
51,
8776,
5070,
51,
5732,
51,
1113,
51,
26022,
64,
222,
485,
785,
51,
951,
51,
2113,
309,
6169,
51,
8776,
5070,
51,
5732,
51,
39749,
51,
34770,
18133,
64,
222,
485,
785,
51,
951,
51,
2113,
309,
6169,
51,
8776,
5070,
51,
5732,
51,
20304,
51,
15038,
64,
222,
485,
785,
51,
951,
51,
2113,
309,
6169,
51,
8776,
5070,
51,
5732,
51,
3857,
51,
1503,
2080,
64,
222,
485,
785,
51,
951,
51,
2113,
309,
6169,
51,
8776,
5070,
51,
5732,
51,
5879,
51,
2246,
7856,
64,
222,
485,
785,
51,
951,
51,
2113,
309,
6169,
51,
8776,
5070,
51,
5732,
51,
5879,
51,
6719,
2246,
2746,
64,
222,
485,
785,
51,
951,
51,
2113,
309,
6169,
51,
8776,
5070,
51,
5390,
51,
2305,
2941,
64,
222,
485,
785,
51,
951,
51,
2113,
309,
6169,
51,
8776,
5070,
51,
1058,
51,
26447,
57,
107,
64,
222,
485,
785,
51,
951,
51,
2113,
309,
6169,
51,
8776,
5070,
51,
1058,
51,
2880,
56,
107,
64,
222,
485,
785,
51,
951,
51,
2113,
309,
6169,
51,
8776,
5070,
51,
1058,
51,
2880,
56,
110,
64,
222,
485,
785,
51,
951,
51,
2113,
309,
6169,
51,
8776,
5070,
51,
1058,
51,
28347,
51,
2439,
1812,
64,
222,
485,
785,
51,
951,
51,
2113,
309,
6169,
51,
8776,
5070,
51,
1058,
51,
28347,
51,
2439,
1812,
768,
64,
222,
485,
785,
51,
951,
51,
2113,
309,
6169,
51,
8776,
5070,
51,
5106,
51,
6839,
4687,
64,
222,
485,
3723,
51,
7656,
15860,
51,
358,
20369,
51,
897,
51,
1735,
64,
222,
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,
7575,
64,
222,
485,
1401,
51,
1058,
51,
7604,
64,
222,
485,
1401,
51,
1058,
51,
1144,
51,
16853,
9123,
64,
222,
485,
1401,
51,
1058,
51,
1144,
51,
2466,
64,
222,
222,
942,
462,
7276,
36523,
320,
303,
453,
54,
51,
60,
984,
244,
54,
51,
54,
61,
2181,
100,
2719,
458,
2277,
244,
56,
34669,
49,
666,
14304,
642,
331,
1964,
303,
453,
4036,
1616,
6563,
347,
244,
54,
51,
62,
48,
303,
453,
4412,
1616,
3654,
347,
244,
54,
51,
62,
303,
453,
39749,
1616,
3654,
347,
244,
54,
51,
54,
55,
465,
964,
924,
1175,
3531,
65,
671,
49,
7276,
9894,
31785,
39923,
2932,
100,
4629,
100,
2333,
100,
5847,
299,
556,
8329,
6984,
303,
964,
924,
1175,
3531,
65,
3945,
49,
3531,
65,
3078,
49,
7276,
9894,
1907,
11978,
39923,
2932,
100,
4629,
100,
2333,
100,
798,
100,
5847,
299,
556,
8329,
6984,
303,
2532,
924,
1175,
13413,
1812,
37020,
11702,
100,
43843,
299,
556,
13413,
1812,
459,
2244,
52,
2244,
100,
624,
100,
700,
100,
28347,
742,
465,
581,
924,
1175,
7276,
9894,
65,
3945,
67,
25140,
299,
5623,
459,
2278,
411,
18706,
4687,
422,
870,
3945,
49,
18706,
4687,
422,
1838,
3945,
312,
465,
581,
924,
1175,
7276,
9894,
65,
6881,
67,
5324,
2442,
299,
5623,
459,
4036,
411,
18706,
4687,
422,
870,
6881,
49,
18706,
4687,
422,
1838,
6881,
312,
465,
581,
924,
1175,
7276,
9894,
65,
3078,
67,
5992,
299,
5623,
459,
429,
411,
7780,
984,
320,
310,
434,
327,
5106,
51,
32789,
2080,
941,
42651,
284,
11548,
1543,
2273,
45,
2077,
2080,
51,
91,
100,
54,
100,
62,
509,
320,
343,
461,
7780,
51,
870,
1901,
1438,
492,
310,
339,
832,
320,
343,
461,
7780,
51,
33798,
492,
310,
339,
303,
820,
327,
5106,
49,
804,
46,
984,
320,
310,
434,
327,
5106,
51,
32789,
2080,
941,
42651,
284,
11548,
1543,
2273,
45,
2077,
2080,
51,
91,
100,
54,
100,
62,
509,
320,
343,
7780,
51,
1838,
1901,
1438,
45,
872,
312,
310,
339,
832,
320,
343,
7780,
51,
31173,
45,
872,
312,
310,
339,
303,
1141,
465,
581,
924,
1175,
7276,
9894,
65,
3967,
67,
27018,
299,
5623,
459,
3239,
411,
18706,
4687,
422,
870,
1901,
3967,
49,
18706,
4687,
422,
1838,
1901,
3967,
312,
465,
581,
924,
1175,
7276,
9894,
65,
3690,
67,
31386,
299,
5623,
459,
1832,
411,
18706,
4687,
422,
870,
3690,
49,
18706,
4687,
422,
1838,
3690,
312,
465,
581,
924,
1175,
7276,
9894,
65,
671,
67,
19384,
299,
5623,
459,
819,
411,
18706,
4687,
422,
29842,
49,
18706,
4687,
422,
27618,
312,
465,
496,
15375,
303,
581,
924,
1175,
7276,
9894,
65,
671,
67,
45122,
299,
5623,
459,
2307,
411,
18706,
4687,
422,
870,
1735,
3275,
49,
18706,
4687,
422,
1838,
1735,
3275,
312,
303,
581,
924,
1175,
7276,
9894,
65,
1735,
67,
6998,
91,
100,
17971,
299,
5623,
459,
2307,
411,
18706,
4687,
422,
870,
1735,
49,
18706,
4687,
422,
1838,
1735,
312,
465,
496,
15375,
303,
581,
924,
1175,
7276,
9894,
65,
7575,
65,
671,
2023,
31926,
100,
17971,
299,
5623,
459,
5311,
100,
2307,
411,
1511,
7575,
1735,
3275,
21073,
1046,
2886,
7575,
1735,
3275,
7271,
1052,
303,
581,
924,
1175,
7276,
9894,
65,
7575,
65,
1735,
2023,
31926,
100,
26499,
100,
17971,
299,
5623,
459,
5311,
100,
2307,
411,
1511,
7575,
1735,
21073,
1046,
2886,
7575,
1735,
7271,
1052,
465,
581,
924,
1175,
7276,
9894,
65,
26022,
67,
37149,
14419,
299,
5623,
459,
1113,
3056,
411,
18706,
4687,
422,
870,
26022,
49,
18706,
4687,
422,
1838,
26022,
312,
465,
581,
924,
1175,
7276,
9894,
65,
7575,
65,
26022,
2023,
31926,
100,
10938,
14419,
299,
5623,
459,
5311,
100,
1113,
3056,
411,
343,
327,
6839,
4687,
11667,
7780,
46,
984,
5663,
51,
1048,
45,
5106,
51,
870,
26022,
6198,
343,
327,
6839,
4687,
11667,
7780,
49,
5663,
65,
26022,
67,
804,
46,
984,
7780,
51,
1838,
26022,
45,
872,
51,
26628,
45,
1710,
4254,
465,
581,
924,
1175,
7276,
9894,
65,
4718,
67,
36106,
299,
5623,
459,
4412,
411,
18706,
4687,
422,
870,
4718,
49,
18706,
4687,
422,
1838,
4718,
312,
465,
581,
924,
1175,
7276,
9894,
65,
2880,
56,
107,
67,
43949,
2909,
299,
5623,
459,
11863,
411,
343,
327,
6839,
4687,
11667,
7780,
46,
984,
556,
4126,
56,
107,
45,
5106,
51,
870,
3690,
1046,
7780,
51,
870,
3690,
1046,
7780,
51,
870,
3690,
6198,
343,
327,
6839,
4687,
11667,
7780,
49,
4126,
56,
107,
804,
46,
984,
320,
419,
7780,
51,
1838,
3690,
45,
872,
51,
125,
312,
419,
7780,
51,
1838,
3690,
45,
872,
51,
126,
312,
419,
7780,
51,
1838,
3690,
45,
872,
51,
127,
312,
343,
1141,
465,
581,
924,
1175,
7276,
9894,
65,
2880,
56,
110,
67,
20293,
100,
19646,
299,
5623,
459,
1540,
100,
2719,
411,
327,
6839,
4687,
11667,
7780,
46,
984,
320,
310,
434,
327,
5106,
51,
32789,
2080,
941,
42651,
284,
11548,
1543,
2273,
45,
2077,
2080,
51,
91,
100,
54,
100,
62,
509,
320,
343,
461,
7780,
51,
870,
2246,
2746,
492,
310,
339,
832,
320,
343,
648,
837,
299,
7780,
51,
33798,
492,
343,
648,
553,
299,
7780,
51,
33798,
492,
343,
648,
1308,
299,
7780,
51,
33798,
492,
343,
461,
556,
4126,
56,
110,
45,
125,
49,
553,
49,
1308,
312,
310,
339,
303,
820,
327,
5106,
49,
2181,
2746,
46,
984,
320,
310,
434,
327,
5106,
51,
32789,
2080,
941,
42651,
284,
11548,
1543,
2273,
45,
2077,
2080,
51,
91,
100,
54,
100,
62,
509,
320,
343,
7780,
51,
1838,
2246,
2746,
45,
1540,
2746,
312,
310,
339,
832,
320,
343,
7780,
51,
31173,
45,
1540,
2746,
51,
18807,
1052,
343,
7780,
51,
31173,
45,
1540,
2746,
51,
20421,
1052,
343,
7780,
51,
31173,
45,
1540,
2746,
51,
40500,
1052,
310,
339,
303,
1141,
465,
581,
924,
1175,
7276,
9894,
65,
7575,
65,
2880,
56,
110,
2023,
31926,
100,
10326,
100,
19646,
299,
5623,
459,
5311,
100,
1540,
100,
2719,
411,
343,
1511,
7575,
2246,
2746,
21073,
1046,
2886,
7575,
2246,
2746,
7271,
1052,
465,
581,
924,
1175,
7276,
9894,
65,
2246,
7856,
67,
20293,
100,
9386,
299,
5623,
459,
1540,
100,
1179,
411,
327,
6839,
4687,
11667,
7780,
46,
984,
320,
419,
648,
828,
299,
7780,
51,
870,
1901,
1438,
492,
419,
461,
6579,
7856,
51,
25641,
7856,
1103,
899,
45,
333,
312,
343,
820,
343,
327,
6839,
4687,
11667,
7780,
49,
6579,
7856,
804,
46,
984,
7780,
51,
1838,
1901,
1438,
45,
872,
51,
390,
7856,
899,
5086,
465,
581,
924,
1175,
7276,
9894,
65,
7575,
65,
7604,
2023,
31926,
100,
7604,
299,
5623,
459,
5311,
100,
6615,
411,
343,
327,
6839,
4687,
11667,
7780,
46,
984,
5663,
51,
1048,
6825,
45,
5106,
51,
870,
7575,
45,
6839,
4687,
422,
870,
7604,
3684,
343,
327,
6839,
4687,
11667,
7780,
49,
5663,
65,
7604,
67,
804,
46,
984,
547,
7780,
51,
1838,
7575,
45,
872,
51,
26628,
45,
1710,
490,
18706,
4687,
422,
1838,
7604,
894,
465,
581,
924,
1175,
7276,
9894,
65,
3078,
67,
20293,
100,
6113,
299,
5623,
459,
1540,
100,
1311,
411,
343,
1511,
1438,
21073,
1046,
2886,
1438,
7271,
1052,
465,
581,
924,
1175,
7276,
9894,
65,
3078,
67,
31926,
100,
10326,
100,
6113,
299,
5623,
459,
5311,
100,
1540,
100,
1311,
411,
1511,
1438,
21073,
1046,
2886,
1438,
7271,
1052,
465,
581,
924,
1175,
7276,
9894,
65,
34770,
18133,
67,
508,
9195,
299,
5623,
459,
39749,
411,
18706,
4687,
422,
870,
34770,
49,
18706,
4687,
422,
1838,
34770,
312,
465,
581,
924,
1175,
7276,
9894,
65,
15038,
31785,
7745,
833,
299,
5623,
459,
20304,
411,
31908,
422,
870,
49,
31908,
422,
1838,
312,
465,
581,
924,
1175,
7276,
9894,
65,
91,
747,
1227,
768,
67,
694,
13139,
21214,
100,
4629,
299,
5623,
459,
123,
747,
1227,
100,
624,
411,
18706,
4687,
422,
870,
91,
747,
1227,
768,
49,
18706,
4687,
422,
1838,
91,
747,
1227,
768,
312,
465,
581,
924,
1175,
7276,
9894,
65,
7575,
65,
3078,
2023,
31926,
100,
1860,
299,
5623,
459,
5311,
100,
429,
411,
327,
6839,
4687,
11667,
7780,
46,
984,
320,
310,
648,
613,
299,
7780,
51,
870,
1901,
1438,
492,
310,
461,
613,
630,
244,
53,
1037,
5663,
51,
2970,
365,
518,
5663,
51,
1048,
45,
110,
449,
244,
54,
312,
303,
820,
327,
6839,
4687,
11667,
7780,
49,
5663,
65,
3078,
67,
804,
46,
984,
320,
310,
7780,
51,
1838,
1901,
1438,
45,
872,
51,
26628,
3766,
54,
46,
494,
244,
54,
312,
303,
1141,
465,
581,
924,
1175,
7276,
9894,
65,
2234,
16962,
67,
39923,
2932,
100,
6856,
299,
5623,
459,
2244,
100,
3622,
411,
327,
6839,
4687,
11667,
7780,
46,
984,
320,
310,
648,
828,
299,
7780,
51,
870,
1901,
1438,
492,
310,
461,
7276,
16962,
51,
45747,
45,
5106,
51,
32789,
2080,
941,
471,
1503,
2080,
1046,
828,
312,
303,
820,
327,
6839,
4687,
11667,
7780,
49,
7276,
16962,
804,
46,
984,
7780,
51,
1838,
1901,
1438,
45,
872,
51,
7068,
45,
5106,
51,
32789,
2080,
941,
471,
1503,
2080,
25545,
465,
581,
924,
1175,
7276,
9894,
65,
3078,
67,
27615,
100,
29965,
299,
5623,
459,
2612,
100,
7958,
100,
700,
411,
1511,
1438,
21073,
1046,
2886,
1438,
7271,
1052,
465,
581,
924,
1175,
7276,
9894,
65,
3078,
67,
525,
1030,
76,
100,
29965,
299,
5623,
459,
107,
19985,
100,
7958,
100,
700,
411,
1511,
1438,
21073,
1046,
2886,
1438,
7271,
1052,
465,
581,
924,
1175,
7276,
9894,
65,
7575,
65,
6719,
2246,
2746,
2023,
31926,
100,
14277,
100,
19646,
299,
5623,
459,
5311,
100,
3277,
100,
2719,
411,
343,
327,
6839,
4687,
11667,
7780,
46,
984,
5663,
51,
1048,
6825,
45,
5106,
51,
870,
7575,
45,
124,
984,
556,
10914,
2246,
2746,
45,
909,
6297,
2941,
45,
124,
51,
29842,
45,
56,
55,
60,
59,
60,
3684,
360,
51,
870,
2246,
2746,
5183,
490,
343,
327,
6839,
4687,
11667,
7780,
49,
5663,
65,
6719,
2246,
2746,
67,
804,
46,
984,
7780,
51,
1838,
7575,
45,
872,
51,
26628,
45,
1710,
490,
327,
124,
49,
3671,
3010,
46,
984,
320,
419,
360,
51,
27618,
45,
3277,
3010,
51,
390,
6719,
941,
3127,
1052,
419,
360,
51,
1838,
2246,
2746,
45,
3277,
3010,
51,
25641,
2746,
1052,
343,
10542,
465,
581,
924,
1175,
7276,
9894,
65,
3078,
67,
466,
12574,
1410,
100,
29965,
100,
2333,
299,
5623,
459,
18142,
318,
100,
7958,
100,
700,
411,
1511,
1438,
21073,
1046,
2886,
1438,
7271,
1052,
465,
581,
924,
1175,
7276,
9894,
65,
8790,
10282,
1095,
67,
377,
8785,
7686,
100,
6113,
299,
5623,
459,
4654,
10282,
100,
1311,
411,
327,
6839,
4687,
11667,
7780,
46,
984,
320,
310,
648,
828,
299,
7780,
51,
870,
1901,
1438,
492,
310,
461,
16569,
10282,
1095,
51,
2857,
8577,
333,
988,
303,
820,
327,
6839,
4687,
11667,
7780,
49,
16569,
10282,
1095,
804,
46,
984,
7780,
51,
1838,
1901,
1438,
45,
872,
51,
18537,
5086,
465,
581,
924,
1175,
7276,
9894,
65,
2880,
56,
107,
67,
694,
4516,
776,
56,
75,
299,
5623,
459,
2423,
56,
107,
411,
343,
327,
6839,
4687,
11667,
7780,
46,
984,
556,
4126,
56,
107,
45,
5106,
51,
870,
3690,
1046,
7780,
51,
870,
3690,
1046,
7780,
51,
870,
3690,
6198,
343,
327,
6839,
4687,
11667,
7780,
49,
4126,
56,
107,
804,
46,
984,
320,
419,
7780,
51,
1838,
3690,
45,
872,
51,
125,
312,
419,
7780,
51,
1838,
3690,
45,
872,
51,
126,
312,
419,
7780,
51,
1838,
3690,
45,
872,
51,
127,
312,
343,
1141,
465,
581,
924,
1175,
7276,
9894,
65,
26447,
57,
107,
67,
21816,
741,
8210,
1034,
299,
5623,
459,
467,
13881,
411,
343,
327,
6839,
4687,
11667,
7780,
46,
984,
556,
25487,
57,
107,
45,
5106,
51,
870,
3690,
1046,
7780,
51,
870,
3690,
1046,
7780,
51,
870,
3690,
1046,
7780,
51,
870,
3690,
6198,
343,
327,
6839,
4687,
11667,
7780,
49,
25487,
57,
107,
804,
46,
984,
320,
419,
7780,
51,
1838,
3690,
45,
872,
51,
18807,
1052,
419,
7780,
51,
1838,
3690,
45,
872,
51,
20421,
1052,
419,
7780,
51,
1838,
3690,
45,
872,
51,
40500,
1052,
419,
7780,
51,
1838,
3690,
45,
872,
51,
390,
92,
1052,
343,
1141,
465,
453,
9093,
347,
244,
54,
51,
55,
53,
51,
58,
303,
581,
924,
1175,
7276,
9894,
65,
16890,
358,
41402,
1095,
67,
20912,
1208,
1484,
1323,
100,
6113,
299,
5623,
459,
3932,
358,
41402,
100,
1311,
411,
343,
327,
6839,
4687,
11667,
7780,
46,
984,
29009,
358,
41402,
1095,
51,
2857,
8577,
5106,
51,
870,
1901,
1438,
28752,
343,
327,
6839,
4687,
11667,
7780,
49,
29009,
358,
41402,
1095,
804,
46,
984,
7780,
51,
1838,
1901,
1438,
45,
872,
51,
18537,
1177,
303,
1110,
465,
581,
924,
1175,
7276,
9894,
65,
739,
65,
15038,
1907,
11978,
7745,
10882,
299,
5623,
459,
26617,
411,
343,
7780,
984,
7780,
51,
870,
739,
45,
15038,
422,
870,
490,
343,
327,
5106,
49,
22478,
46,
984,
7780,
51,
1838,
739,
45,
26617,
49,
31908,
422,
1838,
46,
303,
1110,
465,
581,
924,
1175,
7276,
9894,
65,
3078,
67,
643,
1767,
75,
100,
29965,
299,
343,
5623,
459,
124,
24599,
100,
7958,
100,
700,
411,
1511,
1438,
21073,
1046,
2886,
1438,
7271,
1052,
465,
581,
924,
7276,
9894,
11667,
640,
3229,
45,
1503,
2080,
1522,
49,
648,
828,
46,
320,
310,
648,
1671,
299,
37020,
11702,
100,
43843,
51,
11574,
1301,
45,
1687,
312,
310,
3531,
65,
3078,
49,
7276,
9894,
31785,
847,
625,
1225,
299,
39923,
2932,
100,
4629,
100,
2333,
100,
798,
100,
5847,
51,
390,
1181,
2278,
46,
1671,
312,
310,
461,
847,
625,
1225,
51,
390,
45,
333,
312,
303,
339,
465,
581,
924,
7276,
9894,
11667,
640,
9809,
45,
671,
655,
46,
320,
310,
461,
39923,
2932,
100,
4629,
100,
2333,
100,
5847,
51,
390,
45,
444,
312,
303,
339,
465,
581,
924,
350,
89,
67,
7276,
9894,
65,
89,
67,
5623,
45,
671,
655,
49,
4564,
65,
6839,
4687,
1907,
2731,
413,
67,
428,
15237,
49,
19547,
9123,
65,
6839,
4687,
1907,
2731,
413,
67,
16601,
46,
320,
310,
13413,
1812,
768,
727,
299,
37020,
11702,
100,
43843,
51,
1252,
45,
444,
312,
310,
7276,
9894,
65,
89,
67,
847,
299,
556,
7276,
9894,
11530,
444,
49,
727,
51,
11574,
1046,
428,
15237,
49,
419,
327,
16853,
9123,
65,
6839,
4687,
1907,
2731,
2210,
5111,
16601,
312,
310,
39923,
2932,
100,
4629,
100,
2333,
100,
5847,
51,
543,
45,
700,
51,
5175,
1046,
847,
312,
310,
456,
327,
1503,
2080,
1522,
518,
37020,
11702,
100,
43843,
51,
390,
12828,
1177,
320,
343,
648,
1671,
299,
37020,
11702,
100,
43843,
51,
11574,
1301,
45,
1687,
312,
343,
434,
327,
1076,
630,
449,
54,
46,
4056,
64,
343,
3531,
65,
3078,
49,
7276,
9894,
31785,
847,
625,
1225,
299,
39923,
2932,
100,
4629,
100,
2333,
100,
798,
100,
5847,
547,
657,
7946,
2811,
28738,
1181,
2278,
46,
1671,
49,
851,
984,
556,
8329,
13366,
1052,
343,
847,
625,
1225,
51,
543,
45,
700,
51,
7068,
45,
1687,
490,
847,
312,
310,
339,
310,
461,
847,
64,
303,
339,
465,
964,
924,
350,
89,
67,
4564,
65,
6839,
4687,
1907,
2731,
413,
67,
1511,
1438,
21073,
365,
320,
310,
434,
327,
6839,
5015,
51,
390,
2571,
941,
32789,
1590,
941,
31982,
941,
42651,
284,
11548,
1543,
2273,
45,
2077,
2080,
51,
91,
100,
54,
100,
62,
509,
320,
343,
461,
327,
6839,
4687,
11667,
7780,
46,
984,
327,
89,
46,
1849,
976,
46,
7780,
51,
870,
1901,
1438,
1052,
310,
339,
832,
320,
343,
461,
327,
6839,
4687,
11667,
7780,
46,
984,
327,
89,
46,
1849,
976,
46,
7780,
51,
33798,
1052,
310,
339,
303,
339,
465,
964,
924,
350,
89,
67,
19547,
9123,
65,
6839,
4687,
1907,
2731,
413,
67,
2886,
1438,
7271,
365,
320,
310,
461,
327,
6839,
4687,
11667,
7780,
49,
413,
804,
46,
984,
320,
343,
648,
1716,
299,
244,
53,
64,
343,
434,
327,
872,
5118,
8049,
46,
320,
419,
1716,
299,
1849,
3945,
46,
804,
566,
22777,
492,
343,
339,
832,
434,
327,
872,
5118,
13813,
46,
320,
419,
1716,
299,
1849,
6881,
46,
804,
566,
22777,
492,
343,
339,
832,
434,
327,
872,
5118,
4418,
46,
320,
419,
1716,
299,
327,
3078,
46,
804,
64,
343,
339,
832,
434,
327,
872,
5118,
6374,
46,
320,
419,
1716,
299,
1849,
3967,
46,
804,
566,
22777,
492,
343,
339,
343,
434,
327,
6839,
5015,
51,
390,
2571,
941,
32789,
1590,
941,
31982,
941,
42651,
284,
11548,
1543,
2273,
45,
2077,
2080,
51,
91,
100,
54,
100,
62,
509,
320,
419,
7780,
51,
1838,
1901,
1438,
45,
2051,
312,
343,
339,
832,
320,
419,
7780,
51,
31173,
45,
2051,
312,
343,
339,
310,
1487,
303,
339,
465,
496,
15375,
303,
964,
924,
4564,
65,
6839,
4687,
1907,
2731,
5663,
65,
671,
2023,
1511,
7575,
1735,
3275,
21073,
365,
320,
310,
461,
327,
6839,
4687,
11667,
7780,
46,
984,
320,
343,
434,
327,
5106,
51,
870,
4718,
1177,
320,
419,
461,
5663,
51,
1048,
45,
5106,
51,
870,
1735,
3275,
1052,
343,
339,
832,
320,
419,
461,
5663,
51,
2970,
492,
343,
339,
310,
1487,
303,
339,
465,
496,
15375,
303,
964,
924,
19547,
9123,
65,
6839,
4687,
1907,
2731,
5663,
65,
671,
2023,
2886,
7575,
1735,
3275,
7271,
365,
320,
310,
461,
327,
6839,
4687,
11667,
7780,
49,
5663,
65,
671,
67,
804,
46,
984,
320,
343,
434,
327,
872,
882,
762,
979,
804,
51,
28200,
1177,
320,
419,
7780,
51,
1838,
4718,
45,
1527,
312,
419,
7780,
51,
1838,
1735,
3275,
45,
872,
51,
390,
1052,
343,
339,
832,
320,
419,
7780,
51,
1838,
4718,
45,
1886,
312,
343,
339,
310,
1487,
303,
339,
465,
964,
924,
4564,
65,
6839,
4687,
1907,
2731,
5663,
65,
1735,
2023,
1511,
7575,
1735,
21073,
365,
320,
310,
461,
327,
6839,
4687,
11667,
7780,
46,
984,
320,
343,
434,
327,
5106,
51,
870,
4718,
1177,
320,
419,
461,
5663,
51,
1048,
45,
5106,
51,
870,
1735,
1052,
343,
339,
832,
320,
419,
461,
5663,
51,
2970,
492,
343,
339,
310,
1487,
303,
339,
465,
964,
924,
19547,
9123,
65,
6839,
4687,
1907,
2731,
5663,
65,
1735,
2023,
2886,
7575,
1735,
7271,
365,
320,
310,
461,
327,
6839,
4687,
11667,
7780,
49,
5663,
65,
1735,
67,
804,
46,
984,
320,
343,
434,
327,
872,
882,
762,
979,
804,
51,
28200,
1177,
320,
419,
7780,
51,
1838,
4718,
45,
1527,
312,
419,
7780,
51,
1838,
1735,
45,
872,
51,
390,
1052,
343,
339,
832,
320,
419,
7780,
51,
1838,
4718,
45,
1886,
312,
343,
339,
310,
1487,
303,
339,
465,
964,
924,
350,
89,
67,
4564,
65,
6839,
4687,
1907,
2731,
413,
67,
1511,
7575,
2246,
2746,
21073,
365,
320,
310,
434,
327,
6839,
5015,
51,
390,
2571,
941,
32789,
1590,
941,
31982,
941,
42651,
284,
11548,
1543,
2273,
45,
2077,
2080,
51,
91,
100,
54,
100,
62,
509,
320,
343,
461,
327,
6839,
4687,
11667,
7780,
46,
984,
320,
419,
434,
327,
5106,
51,
870,
4718,
1177,
320,
547,
461,
327,
89,
46,
5663,
51,
1048,
45,
5106,
51,
870,
2246,
2746,
1052,
419,
339,
832,
320,
547,
461,
327,
89,
46,
5663,
51,
2970,
492,
419,
339,
343,
1487,
310,
339,
832,
320,
343,
461,
327,
6839,
4687,
11667,
7780,
46,
984,
320,
419,
434,
327,
5106,
51,
870,
4718,
1177,
320,
547,
648,
837,
299,
7780,
51,
33798,
492,
547,
648,
553,
299,
7780,
51,
33798,
492,
547,
648,
1308,
299,
7780,
51,
33798,
492,
547,
461,
327,
89,
46,
5663,
51,
1048,
45,
909,
4126,
56,
110,
45,
125,
49,
553,
49,
1308,
894,
419,
339,
832,
320,
547,
461,
327,
89,
46,
5663,
51,
2970,
492,
419,
339,
343,
1487,
310,
339,
303,
339,
465,
964,
924,
350,
89,
67,
19547,
9123,
65,
6839,
4687,
1907,
2731,
413,
67,
2886,
7575,
2246,
2746,
7271,
365,
320,
310,
434,
327,
6839,
5015,
51,
390,
2571,
941,
32789,
1590,
941,
31982,
941,
42651,
284,
11548,
1543,
2273,
45,
2077,
2080,
51,
91,
100,
54,
100,
62,
509,
320,
343,
461,
327,
6839,
4687,
11667,
7780,
49,
413,
804,
46,
984,
320,
419,
434,
327,
872,
5118,
5663,
46,
320,
547,
5663,
11667,
5316,
299,
327,
7575,
1907,
5111,
804,
64,
547,
434,
327,
5311,
51,
28200,
1177,
320,
733,
7780,
51,
1838,
4718,
45,
1527,
312,
733,
7780,
51,
1838,
2246,
2746,
1181,
2880,
56,
110,
46,
5316,
51,
390,
1052,
547,
339,
832,
320,
733,
7780,
51,
1838,
4718,
45,
1886,
312,
547,
339,
419,
339,
832,
320,
547,
7780,
51,
1838,
4718,
45,
1886,
312,
419,
339,
343,
1487,
310,
339,
832,
320,
343,
461,
327,
6839,
4687,
11667,
7780,
49,
413,
804,
46,
984,
320,
419,
434,
327,
872,
5118,
5663,
46,
320,
547,
5663,
11667,
5316,
299,
327,
7575,
1907,
5111,
804,
64,
547,
434,
327,
5311,
51,
28200,
1177,
320,
733,
7780,
51,
1838,
4718,
45,
1527,
312,
733,
4126,
56,
110,
2764,
299,
327,
2880,
56,
110,
46,
5316,
51,
390,
492,
733,
7780,
51,
31173,
45,
2719,
51,
18807,
1052,
733,
7780,
51,
31173,
45,
2719,
51,
20421,
1052,
733,
7780,
51,
31173,
45,
2719,
51,
40500,
1052,
547,
339,
832,
320,
733,
7780,
51,
1838,
4718,
45,
1886,
312,
547,
339,
419,
339,
832,
320,
547,
7780,
51,
1838,
4718,
45,
1886,
312,
419,
339,
343,
1487,
310,
339,
303,
339,
465,
924,
320,
310,
37020,
11702,
100,
43843,
51,
36435,
991,
18504,
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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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
]
] | 4,191 | true | 64.475973 | true | true |
XRepaintArea.java | /FileExtraction/Java_unseen/AdoptOpenJDK_openjdk-aarch64-jdk8u/jdk/src/solaris/classes/sun/awt/X11/XRepaintArea.java | /*
* Copyright (c) 2003, 2014, 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.awt.X11;
import java.awt.Component;
import java.awt.Graphics;
import sun.awt.RepaintArea;
/**
* The <code>RepaintArea</code> is a geometric construct created for the
* purpose of holding the geometry of several coalesced paint events.
* This geometry is accessed synchronously, although it is written such
* that painting may still be executed asynchronously.
*
* @author Eric Hawkes
*/
final class XRepaintArea extends RepaintArea {
/**
* Calls <code>Component.update(Graphics)</code> with given Graphics.
*/
protected void updateComponent(Component comp, Graphics g) {
if (comp != null) {
// We don't call peer.paintPeer() here, because we shouldn't paint
// native component when processing UPDATE events.
super.updateComponent(comp, g);
}
}
/**
* Calls <code>Component.paint(Graphics)</code> with given Graphics.
*/
protected void paintComponent(Component comp, Graphics g) {
if (comp != null) {
final XComponentPeer peer = (XComponentPeer) comp.getPeer();
if (peer != null) {
peer.paintPeer(g);
}
super.paintComponent(comp, g);
}
}
}
| 2,459 | Java | .java | AdoptOpenJDK/openjdk-aarch64-jdk8u | 13 | 45 | 0 | 2020-07-16T16:13:20Z | 2021-09-29T14:47:41Z | 78ba81034b5ff8b709725c68e63c2b08ce623fe7a89f2f4a52714d23af6687d9 | [] | [
1127,
222,
338,
2657,
327,
104,
46,
244,
55,
53,
53,
56,
49,
244,
55,
53,
54,
57,
49,
17980,
480,
52,
290,
2840,
25094,
51,
3381,
4760,
5225,
51,
222,
338,
4103,
2387,
23740,
1895,
35234,
8995,
2387,
11988,
1895,
8968,
10961,
30441,
51,
222,
338,
222,
338,
1369,
1361,
458,
3760,
2951,
64,
863,
902,
14081,
580,
480,
52,
290,
5370,
580,
222,
338,
1549,
341,
5974,
451,
341,
6994,
6153,
5062,
1196,
1522,
244,
55,
1773,
49,
641,
222,
338,
9582,
829,
341,
7834,
3870,
7120,
51,
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,
499,
222,
1337,
15315,
51,
8236,
51,
93,
54,
54,
64,
222,
222,
485,
1401,
51,
8236,
51,
1735,
64,
222,
485,
1401,
51,
8236,
51,
8524,
64,
222,
222,
485,
15315,
51,
8236,
51,
7599,
2043,
5585,
64,
222,
222,
1350,
222,
338,
906,
350,
707,
67,
7599,
2043,
5585,
396,
707,
67,
458,
331,
3244,
21018,
8551,
3290,
456,
341,
222,
338,
11673,
451,
21840,
341,
13036,
451,
10241,
2118,
1572,
564,
337,
16870,
5233,
51,
222,
338,
1369,
13036,
458,
20008,
25063,
651,
49,
21094,
580,
458,
6658,
3774,
222,
338,
708,
16870,
318,
1648,
4224,
545,
10784,
33737,
51,
222,
338,
222,
338,
496,
2133,
665,
42857,
696,
831,
15785,
222,
588,
222,
3242,
462,
1618,
7599,
2043,
5585,
2041,
922,
18142,
5585,
320,
465,
1041,
294,
338,
36571,
350,
707,
67,
1735,
51,
1896,
45,
8524,
2891,
707,
67,
642,
2716,
16054,
51,
294,
588,
303,
2532,
782,
1991,
1735,
45,
1735,
940,
49,
16054,
504,
46,
320,
310,
434,
327,
998,
882,
762,
46,
320,
343,
453,
2726,
2818,
1348,
1495,
10373,
51,
18142,
11099,
365,
2464,
49,
3318,
1019,
15495,
1348,
16870,
343,
453,
7565,
2595,
1429,
8220,
16409,
5233,
51,
343,
2615,
51,
1896,
1735,
45,
998,
49,
504,
312,
310,
339,
303,
339,
465,
1041,
294,
338,
36571,
350,
707,
67,
1735,
51,
18142,
45,
8524,
2891,
707,
67,
642,
2716,
16054,
51,
294,
588,
303,
2532,
782,
16870,
1735,
45,
1735,
940,
49,
16054,
504,
46,
320,
310,
434,
327,
998,
882,
762,
46,
320,
343,
1175,
1618,
1735,
11099,
10373,
299,
327,
93,
1735,
11099,
46,
940,
51,
390,
11099,
492,
343,
434,
327,
10362,
882,
762,
46,
320,
419,
10373,
51,
18142,
11099,
45,
108,
312,
343,
339,
343,
2615,
51,
18142,
1735,
45,
998,
49,
504,
312,
310,
339,
303,
339,
222,
130,
222
] | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,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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
]
] | 621 | true | 67.873119 | true | true |
UserCustomFields.java | /FileExtraction/Java_unseen/Infosys_Discourse-Java/src/main/java/com/infy/domain/UserCustomFields.java | /*
* Copyright 2021 Infosys Ltd.
* Use of this source code is governed by GNU General Public License version 2
* that can be found in the LICENSE file or at
* https://opensource.org/licenses/GPL-2.0
*/
package com.infy.domain;
import javax.persistence.*;
import javax.validation.constraints.*;
import java.io.Serializable;
/**
* A UserCustomFields.
*/
@Entity
@Table(name = "user_custom_fields")
public class UserCustomFields extends AbstractAuditingEntity implements Serializable {
private static final long serialVersionUID = 1L;
@Id
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "sequenceGenerator")
@SequenceGenerator(name = "sequenceGenerator")
private Long id;
@NotNull
@Column(name = "user_id", nullable = false)
private String userId;
@NotNull
@Column(name = "name", nullable = false)
private String name;
@Column(name = "value")
private String value;
// jhipster-needle-entity-add-field - JHipster will add fields here
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public String getUserId() {
return userId;
}
public UserCustomFields userId(String userId) {
this.userId = userId;
return this;
}
public void setUserId(String userId) {
this.userId = userId;
}
public String getName() {
return name;
}
public UserCustomFields name(String name) {
this.name = name;
return this;
}
public void setName(String name) {
this.name = name;
}
public String getValue() {
return value;
}
public UserCustomFields value(String value) {
this.value = value;
return this;
}
public void setValue(String value) {
this.value = value;
}
// jhipster-needle-entity-add-getters-setters - JHipster will add getters and setters here
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (!(o instanceof UserCustomFields)) {
return false;
}
return id != null && id.equals(((UserCustomFields) o).id);
}
@Override
public int hashCode() {
return 31;
}
// prettier-ignore
@Override
public String toString() {
return "UserCustomFields{" +
"id=" + getId() +
", userId='" + getUserId() + "'" +
", name='" + getName() + "'" +
", value='" + getValue() + "'" +
"}";
}
}
| 2,588 | Java | .java | Infosys/Discourse-Java | 15 | 12 | 3 | 2021-12-14T05:41:46Z | 2023-05-20T13:03:56Z | dbe1c11142af3b7becb313154ae131ddddd6ea1278991d4379788f0b3ca3ee37 | [] | [
1127,
222,
338,
2657,
244,
55,
53,
55,
54,
19610,
519,
1291,
19534,
51,
222,
338,
4443,
451,
477,
1932,
1361,
458,
17546,
829,
6994,
6153,
5062,
1196,
1522,
244,
55,
222,
338,
708,
902,
545,
2448,
347,
341,
7621,
822,
575,
840,
222,
338,
1698,
574,
15521,
51,
1107,
52,
4205,
52,
21156,
50,
55,
51,
53,
222,
588,
222,
222,
1337,
785,
51,
5290,
126,
51,
4136,
64,
499,
222,
485,
3698,
51,
10782,
7737,
222,
485,
3698,
51,
6523,
51,
15100,
7737,
222,
222,
485,
1401,
51,
735,
51,
12644,
64,
222,
222,
1350,
222,
338,
418,
2694,
3414,
4152,
51,
222,
588,
222,
69,
2234,
222,
69,
1617,
45,
444,
299,
332,
514,
100,
3005,
100,
4169,
678,
222,
942,
462,
2694,
3414,
4152,
2041,
7406,
12573,
318,
2234,
4584,
19182,
320,
465,
964,
924,
1175,
1964,
19896,
299,
244,
54,
81,
64,
465,
496,
625,
303,
496,
35422,
45,
14008,
299,
26045,
638,
51,
31210,
49,
9790,
299,
332,
7543,
4829,
678,
303,
496,
5908,
4829,
45,
444,
299,
332,
7543,
4829,
678,
303,
964,
6374,
828,
64,
465,
496,
4936,
303,
496,
2154,
45,
444,
299,
332,
514,
100,
333,
411,
12610,
299,
920,
46,
303,
964,
910,
10546,
64,
465,
496,
4936,
303,
496,
2154,
45,
444,
299,
332,
444,
411,
12610,
299,
920,
46,
303,
964,
910,
655,
64,
465,
496,
2154,
45,
444,
299,
332,
872,
678,
303,
964,
910,
804,
64,
465,
453,
614,
5893,
6449,
50,
43938,
50,
2244,
50,
688,
50,
1512,
449,
990,
77,
658,
6449,
1118,
1035,
3844,
2464,
303,
581,
6374,
19832,
365,
320,
310,
461,
828,
64,
303,
339,
465,
581,
782,
29452,
45,
3967,
828,
46,
320,
310,
477,
51,
333,
299,
828,
64,
303,
339,
465,
581,
910,
640,
10223,
365,
320,
310,
461,
10546,
64,
303,
339,
465,
581,
2694,
3414,
4152,
10546,
45,
671,
10546,
46,
320,
310,
477,
51,
9073,
299,
10546,
64,
310,
461,
477,
64,
303,
339,
465,
581,
782,
758,
10223,
45,
671,
10546,
46,
320,
310,
477,
51,
9073,
299,
10546,
64,
303,
339,
465,
581,
910,
16389,
365,
320,
310,
461,
655,
64,
303,
339,
465,
581,
2694,
3414,
4152,
655,
45,
671,
655,
46,
320,
310,
477,
51,
444,
299,
655,
64,
310,
461,
477,
64,
303,
339,
465,
581,
782,
28331,
45,
671,
655,
46,
320,
310,
477,
51,
444,
299,
655,
64,
303,
339,
465,
581,
910,
21517,
365,
320,
310,
461,
804,
64,
303,
339,
465,
581,
2694,
3414,
4152,
804,
45,
671,
804,
46,
320,
310,
477,
51,
872,
299,
804,
64,
310,
461,
477,
64,
303,
339,
465,
581,
782,
27609,
45,
671,
804,
46,
320,
310,
477,
51,
872,
299,
804,
64,
303,
339,
303,
453,
614,
5893,
6449,
50,
43938,
50,
2244,
50,
688,
50,
390,
5749,
50,
489,
5749,
449,
990,
77,
658,
6449,
1118,
1035,
33745,
480,
758,
5749,
2464,
465,
496,
1806,
303,
581,
1922,
12432,
45,
976,
356,
46,
320,
310,
434,
327,
597,
630,
356,
46,
320,
343,
461,
878,
64,
310,
339,
310,
434,
11014,
116,
5118,
2694,
3414,
4152,
509,
320,
343,
461,
920,
64,
310,
339,
310,
461,
828,
882,
762,
979,
828,
51,
3591,
7738,
1259,
3414,
4152,
46,
356,
566,
333,
312,
303,
339,
465,
496,
1806,
303,
581,
648,
17759,
365,
320,
310,
461,
244,
56,
54,
64,
303,
339,
465,
453,
47853,
50,
3634,
303,
496,
1806,
303,
581,
910,
11349,
365,
320,
310,
461,
332,
1259,
3414,
4152,
2382,
494,
343,
332,
333,
366,
494,
19832,
365,
494,
343,
3021,
10546,
19050,
494,
640,
10223,
365,
494,
37600,
494,
343,
3021,
655,
19050,
494,
16389,
365,
494,
37600,
494,
343,
3021,
804,
19050,
494,
21517,
365,
494,
37600,
494,
343,
332,
15499,
303,
339,
222,
130,
222
] | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1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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
]
] | 634 | true | 58.925811 | true | true |
Plugin_UMD.java | /FileExtraction/Java_unseen/wattostudios_GameExtractor/src/org/watto/ge/plugin/archive/Plugin_UMD.java |
package org.watto.ge.plugin.archive;
import java.io.File;
import org.watto.task.TaskProgressManager;
import org.watto.datatype.Archive;
import org.watto.datatype.Resource;
import org.watto.ge.helper.FieldValidator;
import org.watto.ge.plugin.ArchivePlugin;
////////////////////////////////////////////////////////////////////////////////////////////////
// //
// GAME EXTRACTOR //
// Extensible Game Archive Editor //
// http://www.watto.org/extract //
// //
// Copyright (C) 2002-2009 WATTO Studios //
// //
// This program is free software; you can redistribute it and/or modify it under the terms of //
// the GNU General Public License published by the Free Software Foundation; either version 2 //
// of the License, or (at your option) any later versions. This program is distributed in the //
// hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranties //
// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License //
// at http://www.gnu.org for more details. For updates and information about this program, go //
// to the WATTO Studios website at http://www.watto.org or email watto@watto.org . Thanks! :) //
// //
////////////////////////////////////////////////////////////////////////////////////////////////
import org.watto.io.FileManipulator;
import org.watto.io.converter.ByteConverter;
/**
**********************************************************************************************
**********************************************************************************************
**/
public class Plugin_UMD extends ArchivePlugin {
/**
**********************************************************************************************
**********************************************************************************************
**/
public Plugin_UMD() {
super("UMD", "UMD");
// read write replace rename
setProperties(true, false, false, false);
setGames("Open Season");
setExtensions("umd");
setPlatforms("PC");
//setFileTypes("","",
// "",""
// );
}
/**
**********************************************************************************************
**********************************************************************************************
**/
@Override
public int getMatchRating(FileManipulator fm) {
try {
int rating = 0;
if (FieldValidator.checkExtension(fm, extensions)) {
rating += 25;
}
return rating;
}
catch (Throwable t) {
return 0;
}
}
/**
**********************************************************************************************
* Reads an [archive] File into the Resources
**********************************************************************************************
**/
@Override
public Resource[] read(File path) {
try {
// NOTE - Compressed files MUST know their DECOMPRESSED LENGTH
// - Uncompressed files MUST know their LENGTH
addFileTypes();
//ExporterPlugin exporter = Exporter_ZLib.getInstance();
// RESETTING GLOBAL VARIABLES
FileManipulator fm = new FileManipulator(path, false);
long arcSize = fm.getLength();
fm.seek(arcSize - 16);
// 4 - Directory Offset
long dirOffset = fm.readInt();
FieldValidator.checkOffset(dirOffset, arcSize);
fm.seek(dirOffset);
int numFiles = Archive.getMaxFiles();
Resource[] resources = new Resource[numFiles];
TaskProgressManager.setMaximum(arcSize);
// Loop through directory
int realNumFiles = 0;
while (fm.getOffset() < arcSize) {
// 3 - Unknown
fm.skip(3);
// 1 - Filename Length (including null terminator)
int filenameLength = ByteConverter.unsign(fm.readByte()) - 1;
FieldValidator.checkLength(filenameLength); // checking it isn't < 0
// X - Filename
String filename = fm.readString(filenameLength);
FieldValidator.checkFilename(filename);
// 1 - null Filename Terminator
fm.skip(1);
// 4 - File Offset
long offset = fm.readInt();
FieldValidator.checkOffset(offset, arcSize);
// 4 - File Length
long length = fm.readInt();
FieldValidator.checkLength(length, arcSize);
// 4 - null
// 8 - Hash?
fm.skip(12);
//path,name,offset,length,decompLength,exporter
resources[realNumFiles] = new Resource(path, filename, offset, length);
TaskProgressManager.setValue(offset);
realNumFiles++;
}
resources = resizeResources(resources, realNumFiles);
fm.close();
return resources;
}
catch (Throwable t) {
logError(t);
return null;
}
}
}
| 5,461 | Java | .java | wattostudios/GameExtractor | 76 | 6 | 2 | 2020-06-03T13:56:47Z | 2024-02-23T22:15:48Z | e3c538c45b7a254602ce60cd92adb75e4b4f850c23292ef79b0667b25d34ada7 | [] | [
222,
1337,
1105,
51,
47901,
471,
51,
319,
51,
2809,
51,
8945,
64,
222,
222,
485,
1401,
51,
735,
51,
991,
64,
222,
485,
1105,
51,
47901,
471,
51,
2810,
51,
2265,
5291,
1590,
64,
222,
485,
1105,
51,
47901,
471,
51,
24502,
51,
13800,
64,
222,
485,
1105,
51,
47901,
471,
51,
24502,
51,
2305,
64,
222,
485,
1105,
51,
47901,
471,
51,
319,
51,
4328,
51,
1195,
7069,
64,
222,
485,
1105,
51,
47901,
471,
51,
319,
51,
2809,
51,
13800,
4168,
64,
222,
8792,
3701,
222,
325,
3556,
9326,
453,
222,
325,
22768,
28434,
2800,
8601,
776,
22768,
453,
222,
325,
12754,
8749,
22113,
6067,
28973,
11419,
12754,
453,
222,
325,
11462,
1930,
574,
1516,
51,
47901,
471,
51,
1107,
52,
8320,
11462,
453,
222,
325,
3556,
9326,
453,
222,
325,
10450,
2657,
327,
72,
46,
244,
55,
53,
53,
55,
50,
55,
53,
53,
62,
244,
643,
741,
1425,
1277,
856,
3963,
10450,
453,
222,
325,
3556,
9326,
453,
222,
325,
1369,
3477,
458,
3760,
2951,
64,
863,
902,
14081,
580,
480,
52,
290,
5370,
580,
1549,
341,
5974,
451,
453,
222,
325,
341,
6994,
6153,
5062,
1196,
9582,
829,
341,
7834,
3870,
7120,
64,
3173,
1522,
244,
55,
453,
222,
325,
451,
341,
1196,
49,
575,
327,
288,
1390,
2489,
46,
1364,
6146,
7058,
51,
1369,
3477,
458,
2744,
347,
341,
453,
222,
325,
9850,
708,
580,
1118,
545,
6386,
49,
1294,
4213,
2979,
9345,
64,
2895,
4462,
341,
4506,
13085,
710,
753,
453,
222,
325,
451,
7934,
575,
8114,
4800,
418,
7848,
7763,
51,
2819,
341,
6994,
6153,
5062,
1196,
453,
222,
325,
840,
1930,
574,
1516,
51,
10627,
51,
1107,
456,
1851,
4261,
51,
2643,
7786,
480,
2490,
2645,
477,
3477,
49,
2006,
453,
222,
325,
391,
341,
643,
741,
1425,
1277,
856,
3963,
9581,
840,
1930,
574,
1516,
51,
47901,
471,
51,
1107,
575,
4111,
360,
288,
471,
69,
47901,
471,
51,
1107,
657,
5659,
38,
10291,
453,
222,
325,
3556,
9326,
453,
222,
8792,
3701,
222,
485,
1105,
51,
47901,
471,
51,
735,
51,
991,
29482,
7901,
64,
222,
485,
1105,
51,
47901,
471,
51,
735,
51,
13967,
51,
3945,
6521,
64,
222,
222,
1350,
222,
4241,
12825,
6372,
222,
222,
4241,
12825,
6372,
222,
15722,
222,
942,
462,
11029,
100,
2364,
73,
2041,
28973,
4168,
320,
736,
1041,
353,
17854,
12825,
13494,
4070,
17854,
12825,
13494,
353,
12570,
353,
581,
11029,
100,
2364,
73,
365,
320,
465,
2615,
459,
2364,
73,
411,
332,
2364,
73,
742,
465,
453,
282,
1511,
2886,
7112,
16138,
303,
758,
3303,
45,
1527,
49,
920,
49,
920,
49,
920,
312,
465,
758,
26953,
459,
2981,
2171,
3293,
742,
303,
758,
7460,
459,
36753,
742,
303,
758,
39372,
459,
3446,
742,
465,
453,
489,
991,
2439,
459,
1479,
411,
303,
453,
2429,
4343,
1033,
303,
453,
2429,
1110,
736,
339,
736,
1041,
353,
17854,
12825,
13494,
4070,
17854,
12825,
13494,
353,
12570,
353,
496,
1806,
353,
581,
648,
640,
3683,
13868,
45,
991,
29482,
7901,
28922,
46,
320,
303,
1614,
320,
1704,
648,
17051,
299,
244,
53,
64,
1704,
434,
327,
1195,
7069,
51,
1571,
4823,
45,
12398,
49,
11612,
509,
320,
310,
17051,
1475,
244,
55,
58,
64,
416,
339,
1704,
461,
17051,
64,
465,
339,
303,
2385,
327,
14080,
292,
46,
320,
416,
461,
244,
53,
64,
303,
339,
353,
339,
736,
1041,
682,
17854,
12825,
13494,
682,
338,
29513,
619,
447,
8945,
98,
2050,
2012,
341,
17697,
682,
17854,
12825,
13494,
682,
12570,
353,
496,
1806,
353,
581,
6297,
1197,
1511,
45,
991,
1536,
46,
320,
303,
1614,
320,
1704,
453,
12125,
449,
2270,
4787,
2293,
22462,
3722,
3641,
2295,
38495,
26276,
9108,
416,
453,
665,
449,
1703,
15843,
2293,
22462,
3722,
3641,
26276,
9108,
1704,
1035,
991,
2439,
492,
1704,
453,
22465,
4168,
38474,
299,
14715,
284,
100,
95,
6518,
51,
7432,
492,
1704,
453,
3062,
21743,
35187,
37726,
88,
1704,
2050,
29482,
7901,
28922,
299,
556,
2050,
29482,
7901,
45,
1005,
49,
920,
312,
1704,
1964,
20608,
1269,
299,
28922,
51,
30031,
492,
1704,
28922,
51,
14405,
45,
10272,
1269,
449,
244,
54,
59,
312,
1704,
453,
244,
57,
449,
10613,
12075,
416,
1964,
4937,
3468,
299,
28922,
51,
33798,
492,
416,
5697,
7069,
51,
1571,
3468,
45,
1537,
3468,
49,
20608,
1269,
312,
1704,
28922,
51,
14405,
45,
1537,
3468,
312,
1704,
648,
1952,
3852,
299,
28973,
51,
23742,
3852,
492,
1704,
6297,
1197,
6091,
299,
556,
6297,
96,
1538,
3852,
988,
416,
4211,
5291,
1590,
51,
34654,
45,
10272,
1269,
312,
1704,
453,
17556,
3939,
3378,
416,
648,
4033,
2585,
3852,
299,
244,
53,
64,
416,
2236,
327,
12398,
51,
390,
3468,
365,
350,
20608,
1269,
46,
320,
310,
453,
244,
56,
449,
17911,
310,
28922,
51,
5969,
45,
56,
312,
603,
453,
244,
54,
449,
38005,
16827,
327,
19994,
762,
9283,
738,
46,
310,
648,
4891,
2396,
299,
8049,
6521,
51,
330,
1352,
45,
12398,
51,
870,
3945,
1177,
449,
244,
54,
64,
310,
5697,
7069,
51,
1571,
2396,
45,
3633,
2396,
312,
453,
11087,
580,
7751,
1348,
350,
244,
53,
603,
453,
1618,
449,
38005,
310,
910,
4891,
299,
28922,
51,
29842,
45,
3633,
2396,
312,
310,
5697,
7069,
51,
1571,
10246,
45,
3633,
312,
603,
453,
244,
54,
449,
762,
38005,
29766,
738,
310,
28922,
51,
5969,
45,
54,
312,
603,
453,
244,
57,
449,
2050,
12075,
310,
1964,
3413,
299,
28922,
51,
33798,
492,
310,
5697,
7069,
51,
1571,
3468,
45,
2897,
49,
20608,
1269,
312,
603,
453,
244,
57,
449,
2050,
16827,
310,
1964,
3124,
299,
28922,
51,
33798,
492,
310,
5697,
7069,
51,
1571,
2396,
45,
1340,
49,
20608,
1269,
312,
603,
453,
244,
57,
449,
762,
310,
453,
244,
61,
449,
5042,
68,
310,
28922,
51,
5969,
45,
54,
55,
312,
603,
453,
1005,
49,
444,
49,
2897,
49,
1340,
49,
305,
998,
2396,
49,
19987,
310,
6091,
96,
4571,
2585,
3852,
98,
299,
556,
6297,
45,
1005,
49,
4891,
49,
3413,
49,
3124,
312,
603,
4211,
5291,
1590,
51,
11534,
45,
2897,
312,
310,
4033,
2585,
3852,
3348,
416,
339,
1704,
6091,
299,
15189,
6061,
45,
5390,
49,
4033,
2585,
3852,
312,
1704,
28922,
51,
2698,
492,
1704,
461,
6091,
64,
465,
339,
303,
2385,
327,
14080,
292,
46,
320,
416,
1264,
943,
45,
121,
312,
416,
461,
762,
64,
303,
339,
353,
339,
222,
222,
130,
222
] | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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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,057 | true | 44.204358 | true | true |
FriendshipsRequest.java | /FileExtraction/Java_unseen/Taz03_JIA/lib/src/main/java/io/github/taz03/jia/requests/friendships/FriendshipsRequest.java | package io.github.taz03.jia.requests.friendships;
import java.util.Map;
import io.github.taz03.jia.requests.InstagramGetRequest;
import io.github.taz03.jia.responses.friendships.FriendshipsResponse;
/**
* Represents an Instagram friendships feed request, used to get followers/followings list.
* <br><br>
* To scroll through the results, use the next_max_id received in response of the previous request.
* {@snippet lang=java :
* FriendshipsRequest followingsRequest = new FriendshipsRequest(pk, Friendships.FOLLOWING);
* FriendshipsResponse followingsResponse = client.sendRequest(followingsRequest).get();
*
* if (followingResponse.hasMore()) {
* followingsRequest = new FriendshipsRequest(pk, Friendships.FOLLOWING, followingResponse.getNextMaxId());
* followingsResponse = client.sendRequest(followingsRequest).get();
* }
*}
*/
public final class FriendshipsRequest extends InstagramGetRequest<FriendshipsResponse> {
/**
* Creates an Instagram friendships feed request.
*
* @param pk pk of the user to get friendships of
* @param feed {@link Friendships} to get followers or followings
*/
public FriendshipsRequest(long pk, Friendships feed) {
this(pk, feed, "");
}
/**
* Creates an Instagram friendships feed request.
*
* @param pk pk of the user to get friendships of
* @param feed {@link Friendships} to get followers or followings
* @param maxId nextMaxId received in the previous response, to fetch after that point
*/
public FriendshipsRequest(long pk, Friendships feed, String maxId) {
super(FriendshipsResponse.class, "/api/v1/friendships/%d/%s/".formatted(pk, feed.name().toLowerCase()), Map.of(
"max_id", maxId
));
}
public enum Friendships {
FOLLOWERS, FOLLOWING
}
}
| 1,849 | Java | .java | Taz03/JIA | 19 | 8 | 0 | 2023-02-26T10:24:30Z | 2024-02-18T17:50:16Z | b0835bddc97e598d0c01c9735b5bdec33066661e553012e09b910652ac275ca5 | [] | [
1337,
3377,
51,
951,
51,
1371,
127,
53,
56,
51,
111,
923,
51,
9701,
51,
13604,
44878,
64,
222,
222,
485,
1401,
51,
1058,
51,
1225,
64,
222,
222,
485,
3377,
51,
951,
51,
1371,
127,
53,
56,
51,
111,
923,
51,
9701,
51,
3245,
8353,
39724,
64,
222,
485,
3377,
51,
951,
51,
1371,
127,
53,
56,
51,
111,
923,
51,
18248,
51,
13604,
44878,
51,
18858,
44878,
1416,
64,
222,
222,
1350,
222,
338,
23121,
619,
4294,
8353,
11982,
44878,
7006,
1343,
49,
1674,
391,
640,
1997,
502,
52,
10762,
2070,
1168,
51,
222,
338,
350,
858,
789,
858,
67,
222,
338,
2634,
7508,
3939,
341,
3300,
49,
813,
341,
2371,
100,
1472,
100,
333,
6589,
347,
1808,
451,
341,
4575,
1343,
51,
222,
338,
3105,
20501,
7285,
66,
1874,
518,
222,
338,
25951,
44878,
1123,
1997,
2070,
1123,
299,
556,
25951,
44878,
1123,
45,
3198,
49,
25951,
44878,
51,
37998,
1410,
312,
222,
338,
25951,
44878,
1416,
1997,
2070,
1416,
299,
2060,
51,
2729,
1123,
45,
10762,
2070,
1123,
566,
390,
492,
222,
338,
222,
338,
434,
327,
29198,
1416,
51,
43832,
1177,
320,
222,
338,
281,
1997,
2070,
1123,
299,
556,
25951,
44878,
1123,
45,
3198,
49,
25951,
44878,
51,
37998,
1410,
49,
2434,
1416,
51,
22998,
2725,
625,
1052,
222,
338,
281,
1997,
2070,
1416,
299,
2060,
51,
2729,
1123,
45,
10762,
2070,
1123,
566,
390,
492,
222,
338,
339,
222,
338,
130,
222,
588,
222,
942,
1175,
462,
25951,
44878,
1123,
2041,
4294,
8353,
39724,
65,
18858,
44878,
1416,
67,
320,
303,
1041,
294,
338,
9308,
619,
4294,
8353,
11982,
44878,
7006,
1343,
51,
294,
338,
294,
338,
496,
772,
15762,
280,
15762,
451,
341,
1275,
391,
640,
11982,
44878,
451,
294,
338,
496,
772,
7006,
3105,
1222,
25951,
44878,
130,
391,
640,
1997,
502,
575,
1997,
2070,
294,
588,
303,
581,
25951,
44878,
1123,
45,
3239,
15762,
49,
25951,
44878,
7006,
46,
320,
310,
477,
45,
3198,
49,
7006,
49,
10780,
303,
339,
465,
1041,
294,
338,
9308,
619,
4294,
8353,
11982,
44878,
7006,
1343,
51,
294,
338,
294,
338,
496,
772,
15762,
283,
15762,
451,
341,
1275,
391,
640,
11982,
44878,
451,
294,
338,
496,
772,
7006,
244,
3105,
1222,
25951,
44878,
130,
391,
640,
1997,
502,
575,
1997,
2070,
294,
338,
496,
772,
1788,
625,
2371,
2725,
625,
6589,
347,
341,
4575,
1808,
49,
391,
5644,
2703,
708,
2282,
294,
588,
303,
581,
25951,
44878,
1123,
45,
3239,
15762,
49,
25951,
44878,
7006,
49,
910,
1788,
625,
46,
320,
310,
2615,
45,
18858,
44878,
1416,
51,
842,
49,
2450,
1256,
52,
123,
54,
52,
13604,
44878,
9731,
105,
9731,
120,
52,
2316,
18749,
45,
3198,
49,
7006,
51,
444,
941,
10498,
6198,
3531,
51,
1048,
45,
343,
332,
1472,
100,
333,
411,
1788,
625,
310,
11979,
303,
339,
2205,
581,
3858,
25951,
44878,
320,
310,
28044,
5889,
9146,
49,
28044,
5889,
1410,
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
]
] | 486 | true | 70.200108 | true | true |
addthreadfilter003a.java | /FileExtraction/Java_unseen/SAP_SapMachine/test/hotspot/jtreg/vmTestbase/nsk/jdi/WatchpointRequest/addThreadFilter/addthreadfilter003a.java | /*
* Copyright (c) 2001, 2021, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
package nsk.jdi.WatchpointRequest.addThreadFilter;
import nsk.share.*;
import nsk.share.jdi.*;
/**
* This class is used as debuggee application for the addthreadfilter003 JDI test.
*/
public class addthreadfilter003a {
//----------------------------------------------------- templete section
static final int PASSED = 0;
static final int FAILED = 2;
static final int PASS_BASE = 95;
static ArgumentHandler argHandler;
static Log log;
//-------------------------------------------------- log procedures
private static void log1(String message) {
log.display("**> debuggee: " + message);
}
private static void logErr(String message) {
log.complain("**> debuggee: " + message);
}
//====================================================== test program
static Thread thread1 = null;
static addthreadfilter003aTestClass objTC = new addthreadfilter003aTestClass();
//------------------------------------------------------ common section
static int exitCode = PASSED;
static int instruction = 1;
static int end = 0;
// static int quit = 0;
// static int continue = 2;
static int maxInstr = 1; // 2;
static int lineForComm = 2;
private static void methodForCommunication() {
int i1 = instruction;
int i2 = i1;
int i3 = i2;
}
//---------------------------------------------------- main method
public static void main (String argv[]) {
argHandler = new ArgumentHandler(argv);
log = argHandler.createDebugeeLog();
log1("debuggee started!");
label0:
for (int i = 0; ; i++) {
if (instruction > maxInstr) {
logErr("ERROR: unexpected instruction: " + instruction);
exitCode = FAILED;
break ;
}
switch (i) {
//------------------------------------------------------ section tested
case 0:
thread1 = JDIThreadFactory.newThread(new Threadaddthreadfilter003a("thread1"));
break;
//------------------------------------------------- standard end section
default:
instruction = end;
break;
}
log1("methodForCommunication();");
methodForCommunication();
if (instruction == end)
break;
}
log1("debuggee exits");
System.exit(exitCode + PASS_BASE);
}
static Object waitnotifyObj = new Object();
static int threadStart(Thread t) {
synchronized (waitnotifyObj) {
t.start();
try {
waitnotifyObj.wait();
} catch ( Exception e) {
exitCode = FAILED;
logErr(" Exception : " + e );
return FAILED;
}
}
return PASSED;
}
static Object lockingObj[] = new Object[2];
static volatile int number = 0;
static class Threadaddthreadfilter003a extends NamedTask {
int tNumber;
public Threadaddthreadfilter003a(String threadName) {
super(threadName);
tNumber = number;
number++;
lockingObj[tNumber] = threadName;
}
public void run() {
log1(" 'run': enter :: threadName == " + getName());
if (lockingObj[tNumber] == null)
log1("lockingObj[tNumber] == null");
synchronized(lockingObj[tNumber]) {
synchronized (waitnotifyObj) {
waitnotifyObj.notify();
}
objTC.method();
}
log1(" 'run': exit :: threadName == " + getName());
return;
}
}
}
class addthreadfilter003aTestClass {
static int breakpointLine = 3;
static String awFieldName = "var1";
static String mwFieldName = "var2";
static int var1 = 0;
static int var2 = 0;
static int var3 = 0;
static void method () {
var1 = 1;
var3 = var1;
var2 = var3;
}
}
| 5,401 | Java | .java | SAP/SapMachine | 487 | 90 | 10 | 2017-11-13T21:40:03Z | 2024-05-09T00:31:05Z | a0f4f892047bf8d5d10682a319be72c8cffb83b7cadca31ff20b6e38465617ac | [] | [
1127,
222,
338,
2657,
327,
104,
46,
244,
55,
53,
53,
54,
49,
244,
55,
53,
55,
54,
49,
17980,
480,
52,
290,
2840,
25094,
51,
3381,
4760,
5225,
51,
222,
338,
4103,
2387,
23740,
1895,
35234,
8995,
2387,
11988,
1895,
8968,
10961,
30441,
51,
222,
338,
222,
338,
1369,
1361,
458,
3760,
2951,
64,
863,
902,
14081,
580,
480,
52,
290,
5370,
580,
222,
338,
1549,
341,
5974,
451,
341,
6994,
6153,
5062,
1196,
1522,
244,
55,
1773,
49,
641,
222,
338,
9582,
829,
341,
7834,
3870,
7120,
51,
222,
338,
222,
338,
1369,
1361,
458,
2744,
347,
341,
9850,
708,
580,
1118,
545,
6386,
49,
1294,
4213,
222,
338,
2979,
9345,
64,
2895,
4462,
341,
4506,
14319,
451,
7934,
575,
222,
338,
8114,
4800,
418,
7848,
7763,
51,
244,
2819,
341,
6994,
6153,
5062,
1196,
222,
338,
1522,
244,
55,
456,
1851,
4261,
327,
102,
1948,
458,
5976,
347,
341,
7621,
822,
708,
222,
338,
20854,
297,
4850,
477,
1361,
566,
222,
338,
222,
338,
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
6153,
5062,
1196,
1522,
222,
338,
244,
55,
7979,
642,
477,
1409,
64,
434,
666,
49,
2886,
391,
341,
7834,
3870,
7120,
49,
222,
338,
6367,
4345,
244,
58,
54,
34113,
1277,
49,
33316,
26912,
49,
25006,
49,
13083,
244,
53,
55,
54,
54,
53,
50,
54,
56,
53,
54,
15067,
51,
222,
338,
222,
338,
5304,
7272,
17980,
49,
244,
58,
53,
53,
17980,
27004,
3094,
49,
4777,
21100,
2432,
6868,
49,
10562,
244,
62,
57,
53,
59,
58,
15067,
222,
338,
575,
7739,
19955,
51,
11116,
51,
527,
434,
863,
1868,
5408,
2490,
575,
1178,
1364,
222,
338,
10034,
51,
222,
588,
222,
222,
1337,
329,
2009,
51,
111,
1351,
51,
9416,
1513,
1123,
51,
688,
3032,
2365,
64,
222,
222,
485,
329,
2009,
51,
6085,
7737,
222,
485,
329,
2009,
51,
6085,
51,
111,
1351,
7737,
222,
222,
1350,
222,
338,
1369,
462,
458,
1674,
641,
4598,
41067,
3039,
456,
341,
1035,
3442,
2049,
53,
53,
56,
990,
1740,
913,
51,
222,
588,
222,
222,
942,
462,
1035,
3442,
2049,
53,
53,
56,
102,
320,
465,
453,
5888,
6751,
1798,
1129,
4193,
465,
924,
1175,
648,
37174,
9730,
299,
244,
53,
64,
303,
924,
1175,
648,
28663,
299,
244,
55,
64,
303,
924,
1175,
648,
25240,
100,
6185,
299,
244,
62,
58,
64,
465,
924,
7115,
1985,
1657,
1985,
64,
303,
924,
2681,
1264,
64,
465,
453,
5888,
306,
280,
1264,
38332,
465,
964,
924,
782,
1264,
54,
45,
671,
1492,
46,
320,
310,
1264,
51,
2784,
459,
345,
67,
4598,
41067,
63,
332,
494,
1492,
312,
303,
339,
465,
964,
924,
782,
1264,
4323,
45,
671,
1492,
46,
320,
310,
1264,
51,
25635,
524,
459,
345,
67,
4598,
41067,
63,
332,
494,
1492,
312,
303,
339,
465,
453,
13649,
16110,
913,
3477,
465,
924,
7806,
3682,
54,
299,
762,
64,
465,
924,
1035,
3442,
2049,
53,
53,
56,
102,
29051,
2847,
6552,
299,
556,
1035,
3442,
2049,
53,
53,
56,
102,
29051,
492,
465,
453,
5888,
6768,
4959,
4193,
465,
924,
648,
4338,
1241,
299,
37174,
9730,
64,
465,
924,
648,
12419,
299,
244,
54,
64,
303,
924,
648,
962,
282,
299,
244,
53,
64,
9129,
453,
283,
924,
648,
22429,
370,
299,
244,
53,
64,
9129,
453,
283,
924,
648,
4056,
283,
299,
244,
55,
64,
303,
924,
648,
1788,
25876,
283,
299,
244,
54,
64,
283,
453,
244,
55,
64,
465,
924,
648,
1646,
1580,
21179,
299,
244,
55,
64,
465,
964,
924,
782,
1431,
1580,
26342,
365,
320,
310,
648,
613,
54,
299,
12419,
64,
310,
648,
613,
55,
299,
613,
54,
64,
310,
648,
613,
56,
299,
613,
55,
64,
303,
339,
303,
453,
5888,
355,
280,
2594,
1431,
465,
581,
924,
782,
2594,
327,
671,
6194,
9798,
320,
603,
1657,
1985,
299,
556,
7115,
1985,
45,
6129,
312,
310,
1264,
299,
1657,
1985,
51,
1315,
703,
716,
41067,
1353,
492,
603,
1264,
54,
459,
2824,
41067,
7326,
9318,
603,
2300,
53,
63,
343,
456,
327,
429,
613,
299,
244,
53,
64,
2098,
613,
2002,
320,
2125,
434,
327,
18358,
868,
1788,
25876,
46,
320,
547,
1264,
4323,
459,
2946,
63,
15370,
12419,
63,
332,
494,
12419,
312,
547,
4338,
1241,
299,
28663,
64,
547,
1644,
2098,
419,
339,
2125,
3593,
327,
110,
46,
320,
465,
453,
5888,
6768,
244,
4193,
10116,
3704,
1152,
244,
53,
63,
1031,
3682,
54,
299,
990,
73,
799,
47938,
2232,
51,
909,
3032,
45,
909,
7806,
688,
3442,
2049,
53,
53,
56,
102,
459,
3442,
54,
2992,
1031,
1644,
64,
465,
453,
5888,
50,
283,
6244,
962,
4193,
3704,
1263,
63,
1031,
12419,
299,
962,
64,
1031,
1644,
64,
419,
339,
419,
1264,
54,
459,
1978,
1580,
26342,
20666,
419,
1431,
1580,
26342,
492,
419,
434,
327,
18358,
630,
962,
46,
547,
1644,
64,
343,
339,
603,
1264,
54,
459,
2824,
41067,
32835,
742,
310,
1189,
51,
4788,
45,
4788,
1241,
494,
25240,
100,
6185,
312,
303,
339,
4054,
924,
2210,
4483,
9357,
3287,
299,
556,
2210,
492,
465,
924,
648,
3682,
2148,
45,
3032,
292,
46,
320,
310,
13436,
327,
1702,
9357,
3287,
46,
320,
343,
292,
51,
1384,
492,
343,
1614,
320,
419,
4483,
9357,
3287,
51,
1702,
492,
343,
339,
2385,
327,
3284,
503,
46,
320,
419,
4338,
1241,
299,
28663,
64,
419,
1264,
4323,
459,
981,
3284,
518,
332,
494,
503,
1110,
419,
461,
28663,
64,
343,
339,
310,
339,
310,
461,
37174,
9730,
64,
303,
339,
465,
924,
2210,
37004,
3287,
1197,
299,
556,
2210,
96,
55,
988,
303,
924,
12014,
648,
1470,
299,
244,
53,
64,
465,
924,
462,
7806,
688,
3442,
2049,
53,
53,
56,
102,
2041,
19593,
2265,
320,
603,
648,
292,
1936,
64,
603,
581,
7806,
688,
3442,
2049,
53,
53,
56,
102,
45,
671,
3682,
577,
46,
320,
343,
2615,
45,
3442,
577,
312,
343,
292,
1936,
299,
1470,
64,
343,
1470,
3348,
343,
37004,
3287,
96,
121,
1936,
98,
299,
3682,
577,
64,
310,
339,
603,
581,
782,
1441,
365,
320,
343,
1264,
54,
459,
244,
349,
1967,
972,
6621,
244,
2053,
3682,
577,
630,
332,
494,
16389,
1052,
343,
434,
327,
827,
318,
3287,
96,
121,
1936,
98,
630,
762,
46,
419,
1264,
54,
459,
827,
318,
3287,
96,
121,
1936,
98,
630,
762,
742,
343,
13436,
45,
827,
318,
3287,
96,
121,
1936,
1156,
320,
419,
13436,
327,
1702,
9357,
3287,
46,
320,
547,
4483,
9357,
3287,
51,
9357,
492,
419,
339,
419,
2847,
6552,
51,
1978,
492,
343,
339,
343,
1264,
54,
459,
244,
349,
1967,
972,
4338,
280,
2053,
3682,
577,
630,
332,
494,
16389,
1052,
343,
461,
64,
310,
339,
303,
339,
222,
222,
130,
222,
222,
842,
1035,
3442,
2049,
53,
53,
56,
102,
29051,
320,
465,
924,
648,
31521,
1829,
299,
244,
56,
64,
303,
924,
910,
11079,
20484,
299,
332,
887,
54,
884,
303,
924,
910,
39811,
20484,
299,
332,
887,
55,
884,
465,
924,
648,
792,
54,
299,
244,
53,
64,
303,
924,
648,
792,
55,
299,
244,
53,
64,
303,
924,
648,
792,
56,
299,
244,
53,
64,
465,
924,
782,
1431,
1423,
320,
310,
792,
54,
299,
244,
54,
64,
310,
792,
56,
299,
792,
54,
64,
310,
792,
55,
299,
792,
56,
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,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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,211 | true | 50.231439 | true | true |
AccessLogic.java | /FileExtraction/Java_unseen/IMS-MAXIMS_openMAXIMS/Source Library/openmaxims_workspace-archive/ICP/src/ims/icp/forms/selectorderentrytemplate/AccessLogic.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 Daniel Laffan using IMS Development Environment (version 1.70 build 3467.22451)
// Copyright (C) 1995-2009 IMS MAXIMS. All rights reserved.
package ims.icp.forms.selectorderentrytemplate;
import java.io.Serializable;
public final class AccessLogic extends BaseAccessLogic implements Serializable
{
private static final long serialVersionUID = 1L;
public boolean isAccessible()
{
if(!super.isAccessible())
return false;
// TODO: Add your conditions here.
return true;
}
public boolean isReadOnly()
{
if(super.isReadOnly())
return true;
// TODO: Add your conditions here.
return false;
}
}
| 2,097 | Java | .java | IMS-MAXIMS/openMAXIMS | 61 | 50 | 23 | 2014-06-12T12:04:02Z | 2020-07-31T09:34:49Z | 16b3fd4cbdea51b2cb5c16b885bd8c78a7734e91a5189024c8c814864b1cd52b | [] | [
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,
32649,
517,
5109,
297,
1493,
457,
2758,
15606,
10584,
327,
1687,
244,
54,
51,
60,
53,
1984,
244,
56,
57,
59,
60,
51,
55,
55,
57,
58,
54,
46,
222,
325,
2657,
327,
72,
46,
244,
54,
62,
62,
58,
50,
55,
53,
53,
62,
457,
2758,
7490,
2348,
88,
51,
3381,
4760,
5225,
51,
222,
222,
1337,
3987,
120,
51,
314,
117,
51,
8543,
51,
1632,
1191,
3054,
2402,
64,
222,
222,
485,
1401,
51,
735,
51,
12644,
64,
222,
222,
942,
1175,
462,
8275,
12281,
2041,
3787,
2807,
12281,
4584,
19182,
222,
128,
222,
221,
2072,
924,
1175,
1964,
19896,
299,
244,
54,
81,
64,
499,
221,
942,
1922,
458,
20803,
365,
222,
221,
128,
376,
221,
344,
3848,
5282,
51,
316,
20803,
1177,
374,
221,
620,
920,
64,
1332,
221,
325,
4314,
63,
2242,
1390,
5496,
2464,
51,
376,
221,
620,
878,
64,
222,
221,
130,
222,
221,
942,
1922,
458,
11060,
365,
222,
221,
128,
376,
221,
344,
45,
5282,
51,
316,
11060,
1177,
374,
221,
620,
878,
64,
1332,
221,
325,
4314,
63,
2242,
1390,
5496,
2464,
51,
376,
221,
620,
920,
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
]
] | 434 | true | 47.162613 | true | true |
P25P2Channel.java | /FileExtraction/Java_unseen/DSheirer_sdrtrunk/src/main/java/io/github/dsheirer/module/decode/p25/identifier/channel/P25P2Channel.java | /*
*
* * ******************************************************************************
* * Copyright (C) 2014-2019 Dennis Sheirer
* *
* * 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 io.github.dsheirer.module.decode.p25.identifier.channel;
/**
* P25 Phase II Channel. Note: this channel is hard-coded for 2 timeslots, independent of the band identifier.
*/
public class P25P2Channel extends P25Channel
{
public P25P2Channel(int bandIdentifier, int channelNumber)
{
super(bandIdentifier, channelNumber);
}
@Override
public int getTimeslotCount()
{
return 2;
}
@Override
public boolean isTDMAChannel()
{
return true;
}
}
| 1,436 | Java | .java | DSheirer/sdrtrunk | 1,439 | 238 | 365 | 2015-08-25T00:47:18Z | 2024-05-08T08:17:08Z | 7b14b744b319b2943325428ea760f88eb1851190c3da8cd6c36a2b42dfa24430 | [] | [
1127,
222,
338,
222,
338,
244,
338,
13533,
13494,
222,
338,
244,
338,
2657,
327,
72,
46,
244,
55,
53,
54,
57,
50,
55,
53,
54,
62,
493,
9623,
316,
20332,
495,
284,
222,
338,
244,
338,
222,
338,
244,
338,
1369,
3477,
458,
3760,
2951,
63,
863,
902,
14081,
580,
480,
52,
290,
5370,
222,
338,
244,
338,
580,
1549,
341,
5974,
451,
341,
6994,
6153,
5062,
1196,
641,
9582,
829,
222,
338,
244,
338,
341,
7834,
3870,
7120,
49,
3173,
1522,
244,
56,
451,
341,
1196,
49,
575,
222,
338,
244,
338,
327,
288,
1390,
2489,
46,
1364,
6146,
1522,
51,
222,
338,
244,
338,
222,
338,
244,
338,
1369,
3477,
458,
2744,
347,
341,
9850,
708,
580,
1118,
545,
6386,
49,
222,
338,
244,
338,
1294,
4213,
2979,
9345,
64,
2895,
4462,
341,
4506,
14319,
451,
222,
338,
244,
338,
7934,
575,
8114,
4800,
418,
7848,
7763,
51,
244,
2819,
341,
222,
338,
244,
338,
6994,
6153,
5062,
1196,
456,
1851,
4261,
51,
222,
338,
244,
338,
222,
338,
244,
338,
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
6153,
5062,
1196,
222,
338,
244,
338,
7979,
642,
477,
3477,
51,
244,
1691,
666,
49,
2337,
350,
544,
574,
1516,
51,
10627,
51,
1107,
52,
4205,
2056,
222,
338,
244,
338,
13533,
470,
222,
338,
222,
338,
222,
588,
222,
222,
1337,
3377,
51,
951,
51,
3246,
311,
495,
284,
51,
1663,
51,
5480,
51,
117,
55,
58,
51,
7907,
51,
3253,
64,
222,
222,
1350,
222,
338,
466,
55,
58,
26166,
18911,
11028,
51,
244,
5857,
63,
477,
3842,
458,
6804,
50,
6215,
456,
244,
55,
6524,
7915,
49,
16403,
451,
341,
14142,
7262,
51,
222,
588,
222,
942,
462,
466,
55,
58,
85,
55,
3542,
2041,
466,
55,
58,
3542,
222,
128,
303,
581,
466,
55,
58,
85,
55,
3542,
45,
429,
14142,
5551,
49,
648,
3842,
1936,
46,
303,
320,
310,
2615,
45,
11115,
5551,
49,
3842,
1936,
312,
303,
339,
465,
496,
1806,
303,
581,
648,
45940,
9054,
1552,
365,
303,
320,
310,
461,
244,
55,
64,
303,
339,
465,
496,
1806,
303,
581,
1922,
458,
3202,
1418,
3542,
365,
303,
320,
310,
461,
878,
64,
303,
339,
222,
130,
222
] | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 369 | true | 58.635097 | true | true |
SqlDocumentFilterConverters.java | /FileExtraction/Java_unseen/metasfresh_metasfresh-webui-api-legacy/src/main/java/de/metas/ui/web/document/filter/sql/SqlDocumentFilterConverters.java | package de.metas.ui.web.document.filter.sql;
import de.metas.ui.web.window.descriptor.sql.SqlEntityBinding;
import lombok.NonNull;
import lombok.experimental.UtilityClass;
/*
* #%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%
*/
/**
* Static methods to create and manipulate {@link SqlDocumentFilterConverter} instances.
*
* @author metas-dev <dev@metasfresh.com>
*
*/
@UtilityClass
public final class SqlDocumentFilterConverters
{
/**
* Convenient method to create the effective converter instance from the given <code>entityBinding</code>.
* It will use
* <ul>
* <li>entity binding's registered converters list: {@link SqlEntityBinding#getFilterConverters()}
* <li>{@link SqlDefaultDocumentFilterConverter} as a fallback/default converter.
* </ul>
*/
public static SqlDocumentFilterConverter createEntityBindingEffectiveConverter(@NonNull final SqlEntityBinding entityBinding)
{
final SqlDocumentFilterConvertersList converters = entityBinding.getFilterConverters();
final SqlDocumentFilterConverter fallBackConverter = SqlDefaultDocumentFilterConverter.newInstance(entityBinding);
final SqlDocumentFilterConvertersListWithFallback sqlDocumentFilterConverter = //
SqlDocumentFilterConvertersListWithFallback.newInstance(converters, fallBackConverter);
final SqlDocumentFilterConverterDecorator decoratorOrNull = entityBinding.getFilterConverterDecorator().orElse(null);
if (decoratorOrNull == null)
{
return sqlDocumentFilterConverter;
}
return decoratorOrNull.decorate(sqlDocumentFilterConverter);
}
public static SqlDocumentFilterConvertersList.Builder listBuilder()
{
return SqlDocumentFilterConvertersList.builder();
}
public static SqlDocumentFilterConvertersList emptyList()
{
return SqlDocumentFilterConvertersList.EMPTY;
}
}
| 2,491 | Java | .java | metasfresh/metasfresh-webui-api-legacy | 30 | 32 | 244 | 2016-04-14T13:03:48Z | 2023-11-20T07:20:19Z | 0926a939555f00a3d4aad679cb51d637218888e68b57d67609e84cf6e361fc5c | [] | [
1337,
428,
51,
34443,
51,
1726,
51,
1857,
51,
2826,
51,
2049,
51,
2622,
64,
222,
222,
485,
428,
51,
34443,
51,
1726,
51,
1857,
51,
3537,
51,
9662,
51,
2622,
51,
5352,
2234,
5910,
64,
222,
485,
13243,
51,
10082,
64,
222,
485,
13243,
51,
19782,
51,
11328,
1359,
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,
14352,
4457,
391,
1506,
480,
36482,
3105,
1222,
12284,
3112,
2365,
6521,
130,
6947,
51,
222,
338,
222,
338,
496,
2133,
3294,
321,
50,
1920,
350,
1920,
69,
34443,
33214,
51,
527,
67,
222,
338,
222,
588,
222,
69,
11328,
1359,
222,
942,
1175,
462,
12284,
3112,
2365,
36192,
222,
128,
222,
221,
1350,
376,
338,
1356,
2484,
1633,
1431,
391,
1506,
341,
19103,
17682,
1998,
664,
341,
2716,
350,
707,
67,
2244,
5910,
396,
707,
4513,
376,
338,
2048,
1118,
813,
376,
338,
350,
357,
67,
376,
338,
350,
393,
67,
2244,
9461,
1200,
10423,
17682,
120,
1168,
63,
3105,
1222,
12284,
2234,
5910,
40,
390,
2365,
36192,
9768,
376,
338,
350,
393,
19338,
1222,
12284,
2061,
3112,
2365,
6521,
130,
641,
331,
17148,
52,
1555,
17682,
51,
376,
338,
594,
357,
67,
376,
588,
222,
221,
942,
924,
12284,
3112,
2365,
6521,
1506,
2234,
5910,
33986,
6521,
4810,
10082,
1175,
12284,
2234,
5910,
4436,
5910,
46,
222,
221,
128,
376,
221,
3242,
12284,
3112,
2365,
36192,
739,
17682,
120,
299,
4436,
5910,
51,
390,
2365,
36192,
492,
376,
221,
3242,
12284,
3112,
2365,
6521,
16841,
2509,
6521,
299,
12284,
2061,
3112,
2365,
6521,
51,
20237,
45,
2244,
5910,
312,
1332,
221,
3242,
12284,
3112,
2365,
36192,
739,
1569,
24442,
5576,
3112,
2365,
6521,
299,
453,
621,
221,
5352,
3112,
2365,
36192,
739,
1569,
24442,
51,
20237,
45,
45288,
49,
16841,
2509,
6521,
312,
1332,
221,
3242,
12284,
3112,
2365,
6521,
17609,
26643,
18778,
299,
4436,
5910,
51,
390,
2365,
6521,
17609,
941,
26628,
45,
1710,
312,
376,
221,
344,
327,
27649,
18778,
630,
762,
46,
376,
221,
128,
374,
221,
620,
5576,
3112,
2365,
6521,
64,
376,
221,
130,
376,
221,
620,
26643,
18778,
51,
30100,
45,
2622,
3112,
2365,
6521,
312,
222,
221,
130,
499,
221,
942,
924,
12284,
3112,
2365,
36192,
739,
51,
1812,
1168,
1812,
365,
222,
221,
128,
376,
221,
620,
12284,
3112,
2365,
36192,
739,
51,
4179,
492,
222,
221,
130,
499,
221,
942,
924,
12284,
3112,
2365,
36192,
739,
3517,
739,
365,
222,
221,
128,
376,
221,
620,
12284,
3112,
2365,
36192,
739,
51,
13070,
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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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
]
] | 619 | true | 78.000803 | true | true |
PluginMessageListener.java | /FileExtraction/Java_unseen/xggz_mqr/mqr-plugin/mqr-plugin-framework/src/main/java/com/molicloud/mqr/framework/listener/PluginMessageListener.java | package com.molicloud.mqr.framework.listener;
import com.molicloud.mqr.plugin.core.RobotContextHolder;
import com.molicloud.mqr.framework.util.ActionUtil;
import com.molicloud.mqr.framework.util.MessageUtil;
import com.molicloud.mqr.plugin.core.action.Action;
import com.molicloud.mqr.plugin.core.enums.RobotEventEnum;
import com.molicloud.mqr.plugin.core.event.MessageEvent;
import net.mamoe.mirai.Bot;
import net.mamoe.mirai.contact.Friend;
import net.mamoe.mirai.contact.Group;
import net.mamoe.mirai.contact.Member;
import net.mamoe.mirai.message.data.Message;
import org.springframework.context.event.EventListener;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Component;
import java.util.List;
/**
* 监听插件主动推送的消息事件
*
* @author feitao yyimba@qq.com
* @since 2020/11/28 2:00 下午
*/
@Component
public class PluginMessageListener {
@Async
@EventListener(MessageEvent.class)
public void handlerResult(MessageEvent messageEvent) {
// 获取机器人实例
Bot bot = Bot.getInstance(Long.parseLong(RobotContextHolder.getRobot().getQq()));
// 机器人事件枚举
RobotEventEnum robotEventEnum = messageEvent.getRobotEventEnum();
// 消息接收者列表
List<String> toIds = messageEvent.getToIds();
switch (robotEventEnum) {
case GROUP_MSG:
toIds.parallelStream().forEach(toId -> {
handlerGroupMessage(bot.getGroup(Long.parseLong(toId)), messageEvent.getMessage(), messageEvent.getAction());
});
break;
case FRIEND_MSG:
toIds.parallelStream().forEach(toId -> {
handlerFriendMessage(bot.getFriend(Long.parseLong(toId)), messageEvent.getMessage(), messageEvent.getAction());
});
break;
case TEMP_MSG:
Group group = bot.getGroup(Long.parseLong(messageEvent.getHandlerId()));
toIds.parallelStream().forEach(toId -> {
handlerTempMessage(group.get(Long.parseLong(toId)), messageEvent.getMessage(), messageEvent.getAction());
});
break;
default:
break;
}
}
/**
* 处理群消息
*
* @param group
* @param message
* @param action
*/
private void handlerGroupMessage(Group group, Object message, Action action) {
if (message != null) {
Message groupMessage = MessageUtil.convertGroupMessage(message, group);
if (groupMessage != null) {
group.sendMessage(groupMessage);
}
}
if (action != null) {
ActionUtil.handlerGroupAction(group, action);
}
}
/**
* 处理好友消息
*
* @param friend
* @param message
* @param action
*/
private void handlerFriendMessage(Friend friend, Object message, Action action) {
if (message != null) {
Message friendMessage = MessageUtil.convertPersonalMessage(message, friend);
if (friendMessage != null) {
friend.sendMessage(friendMessage);
}
}
if (action != null) {
ActionUtil.handlerFriendAction(friend, action);
}
}
/**
* 处理临时消息
*
* @param member
* @param message
* @param action
*/
private void handlerTempMessage(Member member, Object message, Action action) {
if (message != null) {
Message tempMessage = MessageUtil.convertPersonalMessage(message, member);
if (tempMessage != null) {
member.sendMessage(tempMessage);
}
}
if (action != null) {
ActionUtil.handlerMemberAction(member, action);
}
}
} | 3,903 | Java | .java | xggz/mqr | 83 | 34 | 3 | 2020-12-01T01:37:17Z | 2024-01-05T03:20:09Z | eec07738479b9919757d2a131df9f5337cf2628a71ab6f3e42c2cd6f2b651097 | [] | [
1337,
785,
51,
114,
2092,
1968,
51,
8741,
119,
51,
2863,
51,
9447,
64,
222,
222,
485,
785,
51,
114,
2092,
1968,
51,
8741,
119,
51,
2809,
51,
1284,
51,
14843,
1237,
6773,
64,
222,
485,
785,
51,
114,
2092,
1968,
51,
8741,
119,
51,
2863,
51,
1058,
51,
1728,
1747,
64,
222,
485,
785,
51,
114,
2092,
1968,
51,
8741,
119,
51,
2863,
51,
1058,
51,
1193,
1747,
64,
222,
485,
785,
51,
114,
2092,
1968,
51,
8741,
119,
51,
2809,
51,
1284,
51,
1160,
51,
1728,
64,
222,
485,
785,
51,
114,
2092,
1968,
51,
8741,
119,
51,
2809,
51,
1284,
51,
20767,
51,
14843,
1167,
2773,
64,
222,
485,
785,
51,
114,
2092,
1968,
51,
8741,
119,
51,
2809,
51,
1284,
51,
1585,
51,
1193,
1167,
64,
222,
485,
3723,
51,
47898,
15636,
51,
18922,
3063,
51,
9037,
64,
222,
485,
3723,
51,
47898,
15636,
51,
18922,
3063,
51,
5559,
51,
18858,
64,
222,
485,
3723,
51,
47898,
15636,
51,
18922,
3063,
51,
5559,
51,
1582,
64,
222,
485,
3723,
51,
47898,
15636,
51,
18922,
3063,
51,
5559,
51,
4605,
64,
222,
485,
3723,
51,
47898,
15636,
51,
18922,
3063,
51,
1454,
51,
624,
51,
1193,
64,
222,
485,
1105,
51,
4140,
51,
1834,
51,
1585,
51,
6797,
64,
222,
485,
1105,
51,
4140,
51,
42976,
51,
4341,
51,
2997,
64,
222,
485,
1105,
51,
4140,
51,
19017,
51,
1735,
64,
222,
222,
485,
1401,
51,
1058,
51,
739,
64,
222,
222,
1350,
222,
338,
244,
29439,
32107,
8191,
5947,
16370,
12241,
1096,
15043,
16056,
222,
338,
222,
338,
496,
2133,
5262,
302,
3370,
9604,
468,
2679,
69,
10903,
51,
527,
222,
338,
496,
8152,
244,
55,
53,
55,
53,
52,
54,
54,
52,
55,
61,
244,
55,
63,
53,
53,
48414,
222,
588,
222,
69,
1735,
222,
942,
462,
11029,
1193,
2239,
320,
465,
496,
2997,
303,
496,
6797,
45,
1193,
1167,
51,
842,
46,
303,
581,
782,
4908,
1413,
45,
1193,
1167,
1492,
1167,
46,
320,
310,
453,
13614,
35930,
5499,
17797,
310,
17099,
7369,
299,
17099,
51,
7432,
45,
3967,
51,
2228,
3967,
45,
14843,
1237,
6773,
51,
390,
14843,
941,
390,
36782,
5086,
310,
453,
244,
35930,
5499,
16056,
49021,
25336,
310,
23535,
1167,
2773,
13066,
1167,
2773,
299,
1492,
1167,
51,
390,
14843,
1167,
2773,
492,
310,
453,
4832,
152,
254,
6139,
29135,
6548,
12150,
310,
1701,
65,
671,
67,
391,
5345,
299,
1492,
1167,
51,
390,
724,
5345,
492,
310,
3593,
327,
10535,
1167,
2773,
46,
320,
343,
1152,
20382,
100,
8041,
63,
419,
391,
5345,
51,
13502,
1880,
941,
5388,
45,
471,
625,
984,
320,
547,
4908,
1582,
1193,
45,
2213,
51,
39610,
45,
3967,
51,
2228,
3967,
45,
471,
625,
3684,
1492,
1167,
51,
7724,
1046,
1492,
1167,
51,
28103,
1052,
419,
1141,
419,
1644,
64,
343,
1152,
525,
4727,
3298,
100,
8041,
63,
419,
391,
5345,
51,
13502,
1880,
941,
5388,
45,
471,
625,
984,
320,
547,
4908,
18858,
1193,
45,
2213,
51,
390,
18858,
45,
3967,
51,
2228,
3967,
45,
471,
625,
3684,
1492,
1167,
51,
7724,
1046,
1492,
1167,
51,
28103,
1052,
419,
1141,
419,
1644,
64,
343,
1152,
24857,
100,
8041,
63,
419,
7072,
2370,
299,
7369,
51,
39610,
45,
3967,
51,
2228,
3967,
45,
1454,
1167,
51,
390,
1985,
625,
5086,
419,
391,
5345,
51,
13502,
1880,
941,
5388,
45,
471,
625,
984,
320,
547,
4908,
2422,
1193,
45,
1382,
51,
390,
45,
3967,
51,
2228,
3967,
45,
471,
625,
3684,
1492,
1167,
51,
7724,
1046,
1492,
1167,
51,
28103,
1052,
419,
1141,
419,
1644,
64,
343,
1263,
63,
419,
1644,
64,
310,
339,
303,
339,
465,
1041,
294,
338,
244,
11474,
20415,
15043,
294,
338,
294,
338,
496,
772,
2370,
294,
338,
496,
772,
1492,
294,
338,
496,
772,
2146,
294,
588,
303,
964,
782,
4908,
1582,
1193,
45,
1582,
2370,
49,
2210,
1492,
49,
5255,
2146,
46,
320,
310,
434,
327,
1454,
882,
762,
46,
320,
343,
4587,
2370,
1193,
299,
4587,
1747,
51,
5975,
1582,
1193,
45,
1454,
49,
2370,
312,
343,
434,
327,
1382,
1193,
882,
762,
46,
320,
419,
2370,
51,
19693,
45,
1382,
1193,
312,
343,
339,
310,
339,
310,
434,
327,
1160,
882,
762,
46,
320,
343,
5255,
1747,
51,
4543,
1582,
1728,
45,
1382,
49,
2146,
312,
310,
339,
303,
339,
465,
1041,
294,
338,
244,
11474,
10628,
27197,
15043,
294,
338,
294,
338,
496,
772,
11982,
294,
338,
496,
772,
1492,
294,
338,
496,
772,
2146,
294,
588,
303,
964,
782,
4908,
18858,
1193,
45,
18858,
11982,
49,
2210,
1492,
49,
5255,
2146,
46,
320,
310,
434,
327,
1454,
882,
762,
46,
320,
343,
4587,
11982,
1193,
299,
4587,
1747,
51,
5975,
15645,
1193,
45,
1454,
49,
11982,
312,
343,
434,
327,
13604,
1193,
882,
762,
46,
320,
419,
11982,
51,
19693,
45,
13604,
1193,
312,
343,
339,
310,
339,
310,
434,
327,
1160,
882,
762,
46,
320,
343,
5255,
1747,
51,
4543,
18858,
1728,
45,
13604,
49,
2146,
312,
310,
339,
303,
339,
465,
1041,
294,
338,
244,
11474,
31608,
3616,
15043,
294,
338,
294,
338,
496,
772,
5817,
294,
338,
496,
772,
1492,
294,
338,
496,
772,
2146,
294,
588,
303,
964,
782,
4908,
2422,
1193,
45,
4605,
5817,
49,
2210,
1492,
49,
5255,
2146,
46,
320,
310,
434,
327,
1454,
882,
762,
46,
320,
343,
4587,
1798,
1193,
299,
4587,
1747,
51,
5975,
15645,
1193,
45,
1454,
49,
5817,
312,
343,
434,
327,
1452,
1193,
882,
762,
46,
320,
419,
5817,
51,
19693,
45,
1452,
1193,
312,
343,
339,
310,
339,
310,
434,
327,
1160,
882,
762,
46,
320,
343,
5255,
1747,
51,
4543,
4605,
1728,
45,
3675,
49,
2146,
312,
310,
339,
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,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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
]
] | 945 | true | 61.021859 | true | true |
Relaunch.java | /FileExtraction/Java_unseen/JHierrot_openprodoc/ProdocWeb2/src/java/OpenProdocServ/Relaunch.java | /*
* OpenProdoc
*
* See the help doc files distributed with
* this work for additional information regarding copyright ownership.
* Joaquin Hierro licenses this file to You under:
*
* License GNU Affero GPL v3 http://www.gnu.org/licenses/agpl.html
*
* you may not use this file except in compliance with the License.
* Unless agreed to in writing, software 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.
*
* author: Joaquin Hierro 2016
*
*/
package OpenProdocServ;
import OpenProdocUI.SParent;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.Date;
import javax.servlet.ServletException;
import javax.servlet.http.*;
import prodoc.PDTasksExec;
import prodoc.PDTasksExecEnded;
/**
*
* @author jhierrot
*/
public class Relaunch extends SParent
{
private static final String RESULT_UPFILE="RESULT_UPFILE";
//-----------------------------------------------------------------------------------------------
/**
*
* @param Req
* @throws javax.servlet.ServletException
* @throws java.io.IOException
*/
@Override
protected void processRequest(HttpServletRequest Req, HttpServletResponse response) throws ServletException, IOException
{
response.setContentType("text/xml;charset=UTF-8");
response.setStatus(HttpServletResponse.SC_OK);
PrintWriter out = response.getWriter();
StringBuilder Resp=new StringBuilder(200);
//Resp.append("<?xml version=\"1.0\" encoding=\"UTF-8\"?>");
try {
String Id=Req.getParameter("Id");
PDTasksExecEnded TE=new PDTasksExecEnded(getSessOPD(Req));
PDTasksExec TNew=new PDTasksExec(getSessOPD(Req));
TE.Load(Id);
TNew.assignValues(TE.getRecord());
TNew.setPDId(TE.GenerateId()); //avoid repeating Id
TNew.setNextDate(new Date());
TNew.insert();
Resp.append("<status>").append(TT(Req, "Task_relaunched")).append("</status>");
out.println(Resp.toString());
} catch (Exception Ex)
{
Resp.append("<status>").append(TT(Req,Ex.getLocalizedMessage())).append("</status>");
out.println(Resp.toString());
}
finally {
out.close();
}
}
//-----------------------------------------------------------------------------------------------
/**
* Returns a short description of the servlet.
* @return a String containing servlet description
*/
@Override
public String getServletInfo()
{
return "Relaunch Servlet";
}
//-----------------------------------------------------------------------------------------------
}
| 2,700 | Java | .java | JHierrot/openprodoc | 39 | 12 | 1 | 2015-03-14T13:43:30Z | 2023-12-10T12:36:48Z | 5390fe3c3cdb1c6255718f5c778f7270e44d6a1fec856ada6414686cb64f58f4 | [] | [
1127,
222,
338,
3944,
608,
1446,
222,
338,
1676,
338,
2819,
341,
3071,
3714,
2293,
2744,
642,
222,
338,
477,
1409,
456,
5408,
2490,
12052,
5550,
13677,
51,
222,
338,
13923,
44530,
285,
696,
2506,
309,
12815,
477,
822,
391,
2469,
1549,
63,
222,
338,
1676,
338,
1196,
6994,
30994,
23508,
373,
56,
1930,
574,
1516,
51,
10627,
51,
1107,
52,
4205,
52,
500,
576,
51,
935,
222,
338,
1676,
338,
863,
1648,
666,
813,
477,
822,
2959,
347,
4960,
642,
341,
1196,
51,
5357,
338,
5416,
5129,
391,
347,
4144,
49,
2951,
458,
2744,
563,
619,
332,
1117,
2771,
39,
5128,
49,
222,
338,
4213,
3912,
1895,
5186,
2258,
2979,
4489,
49,
3173,
3927,
575,
4506,
51,
222,
338,
2819,
341,
1196,
456,
341,
2835,
2940,
5139,
4243,
480,
222,
338,
5191,
1549,
341,
1196,
51,
222,
338,
1676,
338,
4096,
63,
13923,
44530,
285,
696,
2506,
309,
981,
55,
53,
54,
59,
222,
338,
1676,
588,
222,
222,
1337,
3944,
608,
1446,
21163,
64,
222,
222,
485,
3944,
608,
1446,
2299,
51,
2249,
1393,
64,
222,
485,
1401,
51,
735,
51,
6860,
64,
222,
485,
1401,
51,
735,
51,
42446,
64,
222,
485,
1401,
51,
1058,
51,
1563,
64,
222,
485,
3698,
51,
10010,
51,
7399,
1002,
64,
222,
485,
3698,
51,
10010,
51,
544,
7737,
222,
485,
552,
1446,
51,
14244,
6706,
2663,
64,
222,
485,
552,
1446,
51,
14244,
6706,
2663,
33731,
64,
499,
222,
1350,
222,
338,
222,
338,
496,
2133,
614,
109,
2506,
5363,
222,
588,
222,
942,
462,
8578,
102,
4260,
2041,
377,
4449,
222,
128,
222,
2072,
924,
1175,
910,
20328,
100,
2430,
3555,
366,
6394,
100,
2430,
3555,
884,
281,
222,
8486,
627,
12117,
222,
1350,
222,
338,
222,
338,
496,
772,
33247,
294,
338,
496,
5124,
3698,
51,
10010,
51,
7399,
1002,
294,
338,
496,
5124,
1401,
51,
735,
51,
6860,
222,
588,
222,
69,
1806,
222,
5332,
782,
2183,
1123,
45,
18804,
33247,
49,
28307,
1808,
46,
2589,
39586,
49,
6300,
222,
128,
283,
222,
2003,
51,
489,
14257,
459,
897,
52,
2608,
64,
15220,
66,
6266,
50,
61,
742,
222,
2003,
51,
26860,
45,
30443,
51,
2134,
100,
2966,
312,
222,
42446,
986,
299,
1808,
51,
390,
3989,
492,
280,
222,
20859,
20980,
66,
909,
9705,
45,
55,
53,
53,
312,
222,
325,
8867,
51,
1713,
459,
1907,
2608,
1522,
4097,
54,
51,
53,
1508,
7348,
4097,
6266,
50,
61,
1508,
4299,
742,
222,
1287,
320,
222,
671,
4949,
66,
7640,
51,
17745,
459,
625,
742,
222,
14244,
6706,
2663,
33731,
24107,
66,
909,
30414,
6706,
2663,
33731,
45,
18721,
522,
1970,
73,
45,
7640,
894,
222,
14244,
6706,
2663,
413,
1827,
66,
909,
30414,
6706,
2663,
45,
18721,
522,
1970,
73,
45,
7640,
894,
222,
1731,
51,
3028,
45,
625,
312,
244,
222,
89,
1827,
51,
5179,
3367,
45,
1731,
51,
390,
3171,
1052,
222,
89,
1827,
51,
489,
14244,
625,
45,
1731,
51,
10513,
625,
1052,
244,
453,
38513,
29716,
1761,
4949,
222,
89,
1827,
51,
489,
3364,
1563,
45,
909,
2833,
1052,
222,
89,
1827,
51,
3233,
492,
222,
8867,
51,
1713,
10379,
1535,
67,
1912,
1713,
45,
6992,
45,
7640,
49,
332,
2265,
100,
2836,
102,
27947,
11606,
1713,
33477,
1535,
13510,
222,
560,
51,
3962,
45,
8867,
51,
3127,
1052,
222,
130,
2385,
327,
1002,
1300,
46,
310,
320,
310,
20980,
51,
1713,
10379,
1535,
67,
1912,
1713,
45,
6992,
45,
7640,
49,
589,
51,
390,
24210,
1193,
22293,
1713,
33477,
1535,
13510,
310,
986,
51,
3962,
45,
8867,
51,
3127,
1052,
310,
339,
222,
22220,
320,
303,
986,
51,
2698,
492,
310,
339,
222,
130,
222,
8486,
627,
12117,
222,
1350,
222,
338,
3777,
331,
4514,
3066,
451,
341,
32907,
51,
222,
338,
496,
620,
331,
910,
6663,
32907,
3066,
222,
588,
222,
69,
1806,
222,
942,
910,
640,
7399,
1139,
365,
222,
128,
222,
620,
332,
3706,
102,
4260,
24622,
884,
222,
130,
222,
8486,
627,
12117,
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,
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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
]
] | 659 | true | 64.053537 | true | true |
KickstartCloneCommand.java | /FileExtraction/Java_unseen/spacewalkproject_spacewalk/java/code/src/com/redhat/rhn/manager/kickstart/KickstartCloneCommand.java | /**
* Copyright (c) 2009--2012 Red Hat, Inc.
*
* This software is licensed to you under the GNU General Public License,
* version 2 (GPLv2). There is NO WARRANTY for this software, express or
* implied, including the implied warranties of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. You should have received a copy of GPLv2
* along with this software; if not, see
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
*
* Red Hat trademarks are not licensed under GPLv2. No permission is
* granted to use or replicate Red Hat trademarks that are incorporated
* in this software or its documentation.
*/
package com.redhat.rhn.manager.kickstart;
import com.redhat.rhn.common.validator.ValidatorError;
import com.redhat.rhn.domain.kickstart.KickstartData;
import com.redhat.rhn.domain.user.User;
import org.cobbler.Profile;
/**
* KickstartCloneCommand - class to clone a KickstartData object and its children
* @version $Rev$
*/
public class KickstartCloneCommand extends BaseKickstartCommand {
private KickstartData clonedKickstart;
private String newLabel;
/**
* Construct a KickstartCloneCommand
* @param ksidIn id of KickstartData that wants to be cloned
* @param userIn user doing the cloning
* @param newLabelIn to gived to cloned ks.
*/
public KickstartCloneCommand(Long ksidIn, User userIn, String newLabelIn) {
super(ksidIn, userIn);
this.newLabel = newLabelIn;
}
/**
* Execute the clone or copy of the KickstartData associated with this command.
*
* Call getClonedKickstart() to get the new object created.
*
* @return ValidatorError if there was a problem
*/
public ValidatorError store() {
if (clonedKickstart != null) {
throw new UnsupportedOperationException(
"Can't call store twice on this Command");
}
// we keep the name and the label the same.
clonedKickstart = this.ksdata.deepCopy(user, newLabel);
KickstartWizardHelper helperCmd = new KickstartWizardHelper(user);
helperCmd.store(clonedKickstart);
Profile original = ksdata.getCobblerObject(user);
Profile cloned = clonedKickstart.getCobblerObject(user);
cloned.setKsMeta(original.getKsMeta());
cloned.setVirtRam(original.getVirtRam());
cloned.setVirtCpus(original.getVirtCpus());
cloned.setVirtFileSize(original.getVirtFileSize());
cloned.setVirtBridge(original.getVirtBridge());
cloned.setVirtPath(original.getVirtBridge());
cloned.setKernelOptions(original.getKernelOptions());
cloned.setKernelOptionsPost(original.getKernelOptionsPost());
cloned.save();
return null;
}
/**
* @return the clonedKickstart
*/
public KickstartData getClonedKickstart() {
return clonedKickstart;
}
/**
* @return the newLabel
*/
public String getNewLabel() {
return newLabel;
}
}
| 3,015 | Java | .java | spacewalkproject/spacewalk | 647 | 254 | 0 | 2014-02-26T17:04:20Z | 2020-06-03T09:21:36Z | c189271aa2efddb3d53e814f97742ee995e8ba1f3348c9e1704b140f59552e0f | [] | [
1350,
222,
338,
2657,
327,
104,
46,
244,
55,
53,
53,
62,
306,
55,
53,
54,
55,
4777,
30044,
49,
6367,
51,
222,
338,
222,
338,
1369,
2951,
458,
14391,
391,
863,
1549,
341,
6994,
6153,
5062,
1196,
49,
222,
338,
1522,
244,
55,
327,
21156,
123,
55,
566,
5825,
458,
4452,
9345,
456,
477,
2951,
49,
3927,
575,
222,
338,
4506,
49,
6252,
341,
4506,
13085,
710,
753,
451,
7934,
575,
8114,
222,
338,
4800,
418,
7848,
7763,
51,
2469,
1414,
1178,
6589,
331,
1948,
451,
23508,
123,
55,
222,
338,
7979,
642,
477,
2951,
64,
434,
666,
49,
2337,
222,
338,
1930,
574,
1516,
51,
10627,
51,
1107,
52,
4205,
52,
1477,
50,
4205,
52,
43817,
50,
55,
51,
53,
51,
2787,
51,
222,
338,
222,
338,
4777,
30044,
16712,
5525,
904,
666,
14391,
1549,
23508,
123,
55,
51,
3155,
6504,
458,
222,
338,
11495,
391,
813,
575,
33145,
4777,
30044,
16712,
5525,
708,
904,
26356,
751,
222,
338,
347,
477,
2951,
575,
2840,
4349,
51,
222,
588,
222,
1337,
785,
51,
23672,
51,
119,
12704,
51,
4031,
51,
30492,
1384,
64,
222,
222,
485,
785,
51,
23672,
51,
119,
12704,
51,
2297,
51,
9885,
51,
7069,
943,
64,
222,
485,
785,
51,
23672,
51,
119,
12704,
51,
4136,
51,
30492,
1384,
51,
47297,
1384,
768,
64,
222,
485,
785,
51,
23672,
51,
119,
12704,
51,
4136,
51,
514,
51,
1259,
64,
222,
222,
485,
1105,
51,
352,
2901,
1202,
51,
4302,
64,
222,
222,
1350,
222,
338,
1242,
1246,
1384,
11533,
2037,
449,
462,
391,
7905,
331,
1242,
1246,
1384,
768,
1319,
480,
2840,
5727,
222,
338,
496,
1687,
417,
14911,
41,
222,
588,
222,
942,
462,
1242,
1246,
1384,
11533,
2037,
2041,
3787,
47297,
1384,
2037,
320,
465,
964,
1242,
1246,
1384,
768,
26884,
47297,
1384,
64,
303,
964,
910,
556,
2186,
64,
4054,
1041,
294,
338,
12983,
331,
1242,
1246,
1384,
11533,
2037,
294,
338,
496,
772,
851,
11651,
402,
828,
451,
1242,
1246,
1384,
768,
708,
18874,
391,
545,
26884,
294,
338,
496,
772,
1275,
402,
1275,
8132,
341,
46669,
294,
338,
496,
772,
556,
2186,
402,
391,
504,
6955,
391,
26884,
32060,
51,
294,
588,
303,
581,
1242,
1246,
1384,
11533,
2037,
45,
3967,
851,
11651,
402,
49,
2694,
1275,
402,
49,
910,
556,
2186,
402,
46,
320,
310,
2615,
45,
5532,
333,
402,
49,
1275,
402,
312,
310,
477,
51,
909,
2186,
299,
556,
2186,
402,
64,
303,
339,
465,
1041,
294,
338,
13015,
341,
7905,
575,
1948,
451,
341,
1242,
1246,
1384,
768,
5764,
642,
477,
2035,
51,
294,
338,
294,
338,
5654,
640,
2180,
11751,
47297,
1384,
365,
391,
640,
341,
556,
1319,
3290,
51,
294,
338,
294,
338,
496,
620,
19510,
943,
434,
2038,
1616,
331,
3732,
294,
588,
303,
581,
19510,
943,
2989,
365,
320,
310,
434,
327,
28413,
47297,
1384,
882,
762,
46,
320,
343,
1440,
556,
25788,
45,
547,
332,
4460,
1348,
1495,
2989,
19487,
563,
477,
5730,
742,
310,
339,
310,
453,
1019,
5016,
341,
655,
480,
341,
2300,
341,
2454,
51,
310,
26884,
47297,
1384,
299,
477,
51,
5532,
624,
51,
8355,
4014,
45,
514,
49,
556,
2186,
312,
310,
1242,
1246,
1384,
22934,
2775,
9348,
5285,
299,
556,
1242,
1246,
1384,
22934,
2775,
45,
514,
312,
310,
9348,
5285,
51,
2173,
45,
28413,
47297,
1384,
312,
603,
12839,
4732,
299,
32060,
624,
51,
11641,
46517,
1202,
976,
45,
514,
312,
310,
12839,
26884,
299,
26884,
47297,
1384,
51,
11641,
46517,
1202,
976,
45,
514,
312,
310,
26884,
51,
489,
39553,
4247,
45,
7351,
51,
390,
39553,
4247,
1052,
603,
26884,
51,
489,
35903,
35674,
45,
7351,
51,
390,
35903,
35674,
1052,
310,
26884,
51,
489,
35903,
72,
11589,
45,
7351,
51,
390,
35903,
72,
11589,
1052,
310,
26884,
51,
489,
35903,
31359,
45,
7351,
51,
390,
35903,
31359,
1052,
310,
26884,
51,
489,
35903,
13481,
45,
7351,
51,
390,
35903,
13481,
1052,
310,
26884,
51,
489,
35903,
1233,
45,
7351,
51,
390,
35903,
13481,
1052,
310,
26884,
51,
489,
10047,
2045,
45,
7351,
51,
390,
10047,
2045,
1052,
310,
26884,
51,
489,
10047,
2045,
3176,
45,
7351,
51,
390,
10047,
2045,
3176,
1052,
310,
26884,
51,
2882,
492,
603,
461,
762,
64,
303,
339,
4054,
1041,
294,
338,
496,
620,
341,
26884,
47297,
1384,
294,
588,
303,
581,
1242,
1246,
1384,
768,
640,
2180,
11751,
47297,
1384,
365,
320,
310,
461,
26884,
47297,
1384,
64,
303,
339,
4054,
1041,
294,
338,
496,
620,
341,
556,
2186,
294,
588,
303,
581,
910,
640,
1827,
2186,
365,
320,
310,
461,
556,
2186,
64,
303,
339,
499,
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,
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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
]
] | 764 | true | 68.490879 | true | true |
RecoverDialog.java | /FileExtraction/Java_unseen/rapidminer_rapidminer-5/src/com/rapidminer/gui/autosave/RecoverDialog.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.autosave;
import java.awt.event.ActionEvent;
import java.awt.event.KeyEvent;
import javax.swing.JButton;
import javax.swing.JComponent;
import javax.swing.KeyStroke;
import com.rapidminer.gui.tools.ResourceAction;
import com.rapidminer.gui.tools.dialogs.ConfirmDialog;
/**
* @author Venkatesh Umaashankar
*
*/
public class RecoverDialog extends ConfirmDialog {
private static final long serialVersionUID = -5352785145613909431L;
/**
* @param key
* @param mode
* @param showAskAgainCheckbox
* @param arguments
*/
public RecoverDialog(String processPath) {
super("recover.process", ConfirmDialog.YES_NO_OPTION, false, processPath);
}
protected JButton makeYesButton() {
JButton yesButton = new JButton(new ResourceAction("recover.process.yes") {
private static final long serialVersionUID = -8887199234055845095L;
@Override
public void actionPerformed(ActionEvent e) {
returnOption = YES_OPTION;
yes();
}
});
getRootPane().setDefaultButton(yesButton);
return yesButton;
}
protected JButton makeNoButton() {
ResourceAction noAction = new ResourceAction("recover.process.no") {
private static final long serialVersionUID = -8887199234055845095L;
@Override
public void actionPerformed(ActionEvent e) {
returnOption = NO_OPTION;
no();
}
};
getRootPane().getInputMap(JComponent.WHEN_IN_FOCUSED_WINDOW).put(KeyStroke.getKeyStroke(KeyEvent.VK_ESCAPE, 0, false), "NO");
getRootPane().getActionMap().put("NO", noAction);
return new JButton(noAction);
}
}
| 2,428 | Java | .java | rapidminer/rapidminer-5 | 116 | 77 | 0 | 2013-08-07T12:01:58Z | 2014-10-30T12:49:43Z | a68ca079b73de01309c2abc75cdb506e0926464526d5d75bae3803b8fd0f679a | [] | [
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,
33444,
808,
64,
222,
222,
485,
1401,
51,
8236,
51,
1585,
51,
18126,
64,
222,
485,
1401,
51,
8236,
51,
1585,
51,
26082,
64,
222,
222,
485,
3698,
51,
5934,
51,
32880,
64,
222,
485,
3698,
51,
5934,
51,
79,
1735,
64,
222,
485,
3698,
51,
5934,
51,
48342,
64,
222,
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,
41463,
51,
9942,
3742,
64,
499,
222,
1350,
222,
338,
496,
2133,
694,
7015,
1218,
109,
650,
954,
936,
1387,
301,
222,
338,
222,
588,
222,
942,
462,
922,
4120,
3742,
2041,
25494,
3742,
320,
499,
221,
2072,
924,
1175,
1964,
19896,
299,
449,
58,
56,
58,
55,
60,
61,
58,
54,
57,
58,
59,
54,
56,
62,
53,
62,
57,
56,
54,
81,
64,
499,
221,
1350,
376,
338,
496,
772,
1221,
376,
338,
496,
772,
2945,
376,
338,
496,
772,
2539,
30124,
28797,
17779,
376,
338,
496,
772,
4228,
376,
588,
222,
221,
942,
922,
4120,
3742,
45,
671,
2183,
1233,
46,
320,
376,
221,
5282,
459,
25152,
51,
2441,
411,
25494,
3742,
51,
19341,
100,
2593,
100,
10534,
49,
920,
49,
2183,
1233,
312,
222,
221,
130,
499,
221,
5332,
24328,
1949,
10933,
1732,
365,
320,
376,
221,
32880,
9161,
1732,
299,
556,
24328,
45,
909,
6297,
1728,
459,
25152,
51,
2441,
51,
7150,
678,
320,
2556,
221,
2072,
924,
1175,
1964,
19896,
299,
449,
61,
61,
61,
60,
54,
62,
62,
55,
56,
57,
53,
58,
58,
61,
57,
58,
53,
62,
58,
81,
64,
2556,
221,
69,
1806,
374,
221,
942,
782,
29546,
45,
18126,
503,
46,
320,
621,
221,
620,
2846,
299,
24043,
100,
10534,
64,
621,
221,
7150,
492,
374,
221,
130,
376,
221,
1933,
376,
221,
29847,
7586,
941,
27356,
1732,
45,
7150,
1732,
312,
376,
221,
620,
9161,
1732,
64,
222,
221,
130,
499,
221,
5332,
24328,
1949,
2042,
1732,
365,
320,
376,
221,
2305,
1728,
1307,
1728,
299,
556,
6297,
1728,
459,
25152,
51,
2441,
51,
1365,
678,
320,
2556,
221,
2072,
924,
1175,
1964,
19896,
299,
449,
61,
61,
61,
60,
54,
62,
62,
55,
56,
57,
53,
58,
58,
61,
57,
58,
53,
62,
58,
81,
64,
2556,
221,
69,
1806,
374,
221,
942,
782,
29546,
45,
18126,
503,
46,
320,
621,
221,
620,
2846,
299,
4452,
100,
10534,
64,
621,
221,
1365,
492,
374,
221,
130,
376,
221,
1274,
376,
221,
29847,
7586,
941,
29613,
1225,
45,
79,
1735,
51,
5886,
100,
540,
100,
36035,
9211,
100,
18393,
566,
543,
45,
48342,
51,
11728,
14212,
45,
26082,
51,
13177,
100,
48777,
49,
244,
53,
49,
920,
490,
332,
2593,
742,
376,
221,
29847,
7586,
941,
28103,
1225,
941,
543,
459,
2593,
411,
1307,
1728,
312,
376,
221,
620,
556,
24328,
45,
1365,
1728,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
]
] | 714 | true | 70.757825 | true | true |
Genie2.java | /FileExtraction/Java_unseen/timestored_jq/genie/src/main/java/com/timestored/jdb/codegen/Genie2.java | package com.timestored.jdb.codegen;
import java.io.File;
import java.io.IOException;
import java.nio.charset.Charset;
import java.nio.file.Files;
import java.nio.file.Path;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.function.Function;
import java.util.function.Predicate;
import java.util.stream.Collectors;
import java.util.stream.Stream;
import com.timestored.jdb.database.CType;
import static com.timestored.jdb.database.CType.*;
import com.timestored.jdb.database.CTypeI;
import lombok.Getter;
/**
* Generates Cols, Iterators and Functions for all the types required to allow the database to work.
*/
public class Genie2 {
public static final Charset CS = Charset.forName("UTF-8");
@Getter private final File packageFile;
@Getter private String packageName;
private final File projectOrigin;
private final File projectTarget;
public Genie2(String packageName, File projectOrigin, File projectTarget) {
this.packageName = packageName;
this.projectOrigin = projectOrigin;
this.projectTarget = projectTarget;
String a = (packageName + ".").replace(".", File.separator);
this.packageFile = new File(projectOrigin, a);
}
private String addHeader(String s) {
final String HEADER_PRE = "/** This code was generated using code generator:";
final String HEADER_POST = "**/\r\n";
return HEADER_PRE + packageName + HEADER_POST + s;
}
private void writeFile(String newFileName, String contents) throws IOException {
Path nestingPath = this.projectOrigin.toPath().relativize(packageFile.toPath());
File destFolder = new File(projectTarget, nestingPath.toString());
destFolder.mkdirs();
File destFile = new File(destFolder, newFileName);
System.out.println("Writing: " + destFile);
Files.write(destFile.toPath(), addHeader(contents).getBytes());
}
public static void main(String... args) throws IOException {
File projectOrigin = new File(args[0], "jqi\\src\\main\\resources\\templates".replace("\\", File.separator));
File projectTarget = new File(args[0], "jqi\\build\\generated-src\\src\\main\\java\\".replace("\\", File.separator));
Genie2 genDia = new Genie2("com.timestored.jq.ops", projectOrigin, projectTarget);
deleteFolder(new File(projectTarget, "com/timestored/jq/ops"));
generateDiads(genDia);
Genie2 genMon = new Genie2("com.timestored.jq.ops.mono", projectOrigin, projectTarget);
generateMonads(genMon);
}
private static void generateDiads(Genie2 g2) throws IOException {
List<CTypeI> diadTypes = Arrays.asList(BOOLEAN, SHORT, INTEGER, LONG, FLOAT, DOUBLE, CHARACTER, BYTE, STRING);
Template diadTempl = new Template(Collections.emptyMap(), getPairReplacements(diadTypes, p -> p.a.getTypeNum() > p.b.getTypeNum()));
String tempName = "DiadXXX.template";
String src = g2.readFile(tempName);
String uniSrc = src.replace("##Action##", "Uniform").replace("##returntype##", "##type##").replace("##returnlisttype##", "##listtype##");
// Horrible hack to change return type for time types dynamically
uniSrc = uniSrc.replace("return ex(imvA.getInt(), ((IntegerMappedVal)b).getInt());", "int ri = ex(imvA.getInt(), ((IntegerMappedVal)b).getInt()); return CastOp.CAST.run(imvA.getType(), ri);");
uniSrc = uniSrc.replace("return ex(imvA.getLong(), ((LongMappedVal)b).getLong());", "long rj = ex(imvA.getLong(), ((LongMappedVal)b).getLong()); return CastOp.CAST.run(imvA.getType(), rj);");
String bdu = diadTempl.apply(uniSrc).replace("public abstract BooleanCol ex", "public abstract Col ex")
.replace("public abstract boolean ex", "public abstract Object ex")
.replace("public abstract byte ex", "public abstract Object ex")
.replace("public abstract ByteCol ex", "public abstract Col ex");
g2.writeFile("BaseDiadUniform.java", bdu);
String booleSrc = src.replace("##Action##", "UniformBoolean").replace("##returntype##", "boolean").replace("##returnlisttype##", "BooleanCol");;
g2.writeFile("BaseDiadUniformBoolean.java", diadTempl.apply(booleSrc));
// Generate Math Ops
Template mathOpTempl = getTemplate(Arrays.asList(SHORT, INTEGER, LONG, FLOAT, DOUBLE));
// And OrOp
g2.writeFile("FillOp.java", mathOpTempl.apply(g2.readFile("FillOp.template")));
g2.writeFile("AndOp.java", mathOpTempl.apply(g2.readFile("AndOp.template")));
g2.writeFile("OrOp.java", mathOpTempl.apply(g2.readFile("AndOp.template").replace("And", "Or").replace("and", "or").replace("min", "max").replace("&&", "||")));
String mathOpSrc = g2.readFile("MathOp.template");
// For uniform functions that return same type
mathOpSrc = mathOpSrc.replace("##returntype##", "##type##").replace("##returnTypeChar##", "##typeChar##").replace("##returnCast##", "##cast##");
String moSt = mathOpTempl.apply(mathOpSrc);
String[] ops = new String[] { "*", "%", "+", "*", "/", "-" };
String[] nam = new String[] { "Mul", "Mod", "Add", "Sub", "NaiveDiv", "Sub" };
for(int i = 0; i<ops.length; i++) {
g2.writeFile(nam[i] + "Op.java", moSt.replace("MathOp", nam[i] + "Op").replace("%", ops[i]).replace("\"%\"", "\"mod\"").replace("\"/\"", "\"div\""));
}
// For comparison functions that return boolean
mathOpSrc = g2.readFile("ComparisonOp.template");
mathOpSrc = mathOpSrc.replace("##returntype##", "boolean").replace("##ReturnType##", "Boolean").replace("##returnCast##", "")
.replace("KRunnerBinOpBase", "DiadUniformBooleanBase").replace("##returnlisttype##", "BooleanCol");
moSt = mathOpTempl.apply(mathOpSrc);
ops = new String[] { "<", "<=", "==", "!=" };
nam = new String[] { "NaiveLessThan", "NaiveLessThanOrEqual", "NaiveEqual", "NotEqual" };
for(int i = 0; i<ops.length; i++) {
g2.writeFile(nam[i] + "Op.java", moSt.replace("ComparisonOp", nam[i] + "Op").replace("%", ops[i]).replace("\"!=\"", "\"<>\""));
}
// Generate CastOp
List<CTypeI> castTypes = Arrays.asList(BOOLEAN, SHORT, INTEGER, LONG, FLOAT, DOUBLE);
Template castOpTempl = new Template(Collections.emptyMap(), getPairReplacements(castTypes, p -> !p.a.equals(p.b)));
g2.writeFile("CastOp.java", castOpTempl.apply(g2.readFile("CastOp.template")));
List<CTypeI> nonObjects = CType.ALL_NATIVE_TYPES.stream().filter(dt -> dt.getTypeNum()!=0).collect(Collectors.toList());
g2.writeFile("IndexOp.java", getTemplate(nonObjects).apply(g2.readFile("IndexOp.template")));
}
private static void generateMonads(Genie2 genMon)
throws IOException {
List<CTypeI> allTypes = CType.ALL_NATIVE_TYPES.stream().filter(dt -> dt.getTypeNum()!=0 && Math.abs(dt.getTypeNum())!=11).collect(Collectors.toList());
Template monadTempl = getTemplate(allTypes);
String tempName = "MonadXXX.template";
String src = genMon.readFile(tempName);
String out = src.replace("##returntype##", "##type##").replace("##returnType##", "##Type##")
.replace("##Action##", "ReduceToSame").replace("##ReturnType##", "Object");
genMon.writeFile(tempName.replace("XXX", "ReduceToSameObject").replace(".template", ".java"), monadTempl.apply(out));
// Special one to create base
out = src.replace("public abstract ##returntype## ex(##type## a);", "public ##returntype## ex(##type## a) { return a; }; ");
out = out.replace("##returntype##", "Object").replace("##returnType##", "Object")
.replace("##Action##", "ReduceTo").replace("##ReturnType##", "Object");
genMon.writeFile(tempName.replace("XXX", "ReduceToObject").replace(".template", ".java"), monadTempl.apply(out));
Iterable<CTypeI> iter = CType.ALL_NATIVE_TYPES.stream().filter(dt -> dt.getTypeNum() < 0)::iterator;
for(CTypeI toType : iter) {
String jnam = toType.getLongJavaName();
out = src.replace("##returntype##", toType.getNativeJavaName()).replace("##returnType##", toType.getLongJavaName())
.replace("##Action##", "ReduceTo").replace("##ReturnType##", jnam);
genMon.writeFile(tempName.replace("XXX", "ReduceTo" + jnam).replace(".template", ".java"), monadTempl.apply(out));
}
genMon.writeFile("ReverseOp.java", getTemplate(allTypes).apply(genMon.readFile("ReverseOp.template")));
List<CTypeI> trimTypes = CType.ALL_NATIVE_TYPES.stream().filter(dt -> { short t = (short) Math.abs(dt.getTypeNum()); return t!=0 && t!=11 && t!=1;}).collect(Collectors.toList());
genMon.writeFile("TrimOp.java", getTemplate(trimTypes).apply(genMon.readFile("TrimOp.template")));
genMon.writeFile("LTrimOp.java", getTemplate(trimTypes).apply(genMon.readFile("LTrimOp.template")));
genMon.writeFile("RTrimOp.java", getTemplate(trimTypes).apply(genMon.readFile("RTrimOp.template")));
String moops = genMon.readFile("MonoDoubleOp.template");
String[] cmds = { "cos","sin","tan","acos","asin","atan","exp","log", "sqrt", "reciprocal" };
for(String name : cmds) {
String code = name.equals("reciprocal") ? "1/d" : "Math." + name + "(d)";
String s = moops.replace("$name$", name).replace("$Name$", name).replace("$code$", code);
genMon.writeFile(name + "Op.java", s);
}
String[] monos = { "NaiveAbs","All","Any","Avg","Var","Not" };
for(String m : monos) {
genMon.writeFile(m+"Op.java", getTemplate(allTypes).apply(genMon.readFile(m+"Op.template")));
}
genMon.writeFile("ColCreator.java", getTemplate(CType.ALL_NATIVE_TYPES).apply(genMon.readFile("ColCreator.template")));
}
private static Map<String, Function<String, String>> getPairReplacements(Collection<CTypeI> ctypes, Predicate<Pair<CTypeI, CTypeI>> filter) {
Map<String, Function<String, String>> replacements = getTypeReplacements(ctypes);
List<Pair<CTypeI,CTypeI>> castPairs = new ArrayList<>();
for(CTypeI dType : ctypes) {
for (CTypeI srcType : ctypes) {
Pair<CTypeI, CTypeI> p = new Pair<>(srcType, dType);
if(filter.test(p)) {
castPairs.add(p);
}
}
}
replacements.putAll(getFromToReplacements(castPairs));
return replacements;
}
private String readFile(String filename) throws IOException {
File srcFile = new File(projectOrigin, filename);
return new String(Files.readAllBytes(srcFile.toPath()));
}
private static Template getTemplate(Collection<CTypeI> dataTypesToGenerate) throws IOException {
return new Template(Collections.emptyMap(), getTypeReplacements(dataTypesToGenerate));
}
private static boolean isFloatingToWhole(Pair p) {
return (p.a.equals(FLOAT)||p.a.equals(DOUBLE))
&& (p.b.equals(BOOLEAN) || p.b.equals(SHORT) || p.b.equals(INTEGER) || p.b.equals(LONG));
}
private static HashMap<String, Function<String, String>> getFromToReplacements(Collection<Pair<CTypeI,CTypeI>> dataTypesToGenerate) {
Map<String,Function<Pair<CTypeI,CTypeI>,String>> typeLookups = new HashMap<>();
typeLookups.put("fromType", p -> p.a.getNativeJavaName());
typeLookups.put("fromListType", p ->p.a.getListType().getNativeJavaName());
typeLookups.put("FromType", p -> p.a.getLongJavaName());
typeLookups.put("fromTypeChar", p -> ""+p.a.getCharacterCode());
typeLookups.put("fromCast", p -> p.a.equals(CType.BOOLEAN) ? "? 1 : 0" : "");
typeLookups.put("toType", p -> p.b.getNativeJavaName());
typeLookups.put("toListType", p ->p.b.getListType().getNativeJavaName());
typeLookups.put("ToType", p -> p.b.getLongJavaName());
typeLookups.put("toTypeChar", p -> ""+p.b.getCharacterCode());
typeLookups.put("toCastPre", p -> "(" + p.b.getNativeJavaName() + ")" +
(p.b.equals(CType.BOOLEAN) ? "(" : isFloatingToWhole(p) ? "Math.round(" : ""));
typeLookups.put("toCastPost", p -> p.b.equals(CType.BOOLEAN) ? "== 0 ? false : true)" :
isFloatingToWhole(p) ? ")" : "");
Template.TypedTemplate<Pair<CTypeI,CTypeI>> typeTemplate = new Template.TypedTemplate<>(dataTypesToGenerate, typeLookups);
HashMap<String, Function<String,String>> replacements = new HashMap<>();
replacements.put("FOReachPAIR", typeTemplate::apply);
return replacements;
}
private static HashMap<String, Function<String, String>> getTypeReplacements(
Collection<CTypeI> dataTypesToGenerate) {
// type lookups
Map<String,Function<CTypeI,String>> typeLookups = new HashMap<>();
typeLookups.put("type", t ->t.getNativeJavaName());
typeLookups.put("typeChar", t ->""+t.getCharacterCode());
typeLookups.put("Type", t -> t.getLongJavaName());
typeLookups.put("qname", t -> t.getQName());
typeLookups.put("cast", t -> {int y = Math.abs(t.getTypeNum()); return y==5 ? "(short)" : y==10 ? "(char)" : y == 4 ? "(byte)" : ""; });
typeLookups.put("toCast", t -> Math.abs(t.getTypeNum())==1 ? "== 0 ? false : true" : "");
typeLookups.put("fromCast", t -> Math.abs(t.getTypeNum())==1 ? "? 1 : 0" : "");
typeLookups.put("listtype", t ->t.getListType().getNativeJavaName());
HashMap<String, Function<String,String>> replacements = new HashMap<>();
Template.TypedTemplate<CTypeI> typeTemplate = new Template.TypedTemplate<>(dataTypesToGenerate, typeLookups);
replacements.put("FOReachTYPE", typeTemplate::apply);
List<CTypeI> lists = dataTypesToGenerate.stream().filter(ct -> ct.getTypeNum() >= 0).collect(Collectors.toList());
List<CTypeI> atoms = dataTypesToGenerate.stream().filter(ct -> ct.getTypeNum() < 0).collect(Collectors.toList());
replacements.put("FOReachLIST", new Template.TypedTemplate<>(lists, typeLookups)::apply);
replacements.put("FOReachATOM", new Template.TypedTemplate<>(atoms, typeLookups)::apply);
return replacements;
}
private static void deleteFolder(File folder) {
File[] files = folder.listFiles();
if(files!=null) { //some JVMs return null for empty dirs
for(File f: files) {
if(f.isDirectory()) {
deleteFolder(f);
} else {
f.delete();
}
}
}
folder.delete();
}
} | 13,921 | Java | .java | timestored/jq | 72 | 12 | 1 | 2020-05-10T13:44:17Z | 2020-11-14T07:52:39Z | f85862bef3ffe174800fbe16b0ce8ffcbcf186fa78e180c12882f0aa8fb51c1f | [] | [
1337,
785,
51,
1021,
22175,
51,
111,
1219,
51,
18830,
64,
222,
222,
485,
1401,
51,
735,
51,
991,
64,
222,
485,
1401,
51,
735,
51,
6860,
64,
222,
485,
1401,
51,
11780,
51,
15220,
51,
26052,
64,
222,
485,
1401,
51,
11780,
51,
781,
51,
3852,
64,
222,
485,
1401,
51,
11780,
51,
781,
51,
1233,
64,
222,
485,
1401,
51,
1058,
51,
7119,
64,
222,
485,
1401,
51,
1058,
51,
9981,
64,
222,
485,
1401,
51,
1058,
51,
2272,
64,
222,
485,
1401,
51,
1058,
51,
4293,
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,
1144,
51,
2466,
64,
222,
485,
1401,
51,
1058,
51,
1144,
51,
12690,
64,
222,
485,
1401,
51,
1058,
51,
2255,
51,
16862,
64,
222,
485,
1401,
51,
1058,
51,
2255,
51,
1880,
64,
222,
222,
485,
785,
51,
1021,
22175,
51,
111,
1219,
51,
4617,
51,
72,
638,
64,
222,
485,
924,
785,
51,
1021,
22175,
51,
111,
1219,
51,
4617,
51,
72,
638,
7737,
222,
485,
785,
51,
1021,
22175,
51,
111,
1219,
51,
4617,
51,
72,
638,
78,
64,
222,
222,
485,
13243,
51,
11722,
64,
499,
222,
1350,
222,
338,
32476,
409,
2460,
49,
8348,
4079,
480,
14772,
456,
1187,
341,
3756,
2147,
391,
2625,
341,
3520,
391,
1409,
51,
5357,
588,
222,
942,
462,
9928,
1093,
55,
320,
499,
221,
942,
924,
1175,
46987,
15708,
299,
46987,
51,
31918,
459,
6266,
50,
61,
742,
3038,
221,
69,
11722,
964,
1175,
2050,
2670,
991,
64,
222,
221,
69,
11722,
964,
910,
34021,
64,
222,
221,
2072,
1175,
2050,
2091,
9016,
64,
222,
221,
2072,
1175,
2050,
2091,
2937,
64,
3038,
221,
942,
9928,
1093,
55,
45,
671,
34021,
49,
2050,
2091,
9016,
49,
2050,
2091,
2937,
46,
320,
376,
221,
597,
51,
28475,
299,
34021,
64,
376,
221,
597,
51,
2268,
9016,
299,
2091,
9016,
64,
376,
221,
597,
51,
2268,
2937,
299,
2091,
2937,
64,
376,
221,
671,
331,
299,
327,
28475,
494,
4956,
1912,
3249,
47650,
2050,
51,
12640,
312,
376,
221,
597,
51,
1337,
991,
299,
556,
2050,
45,
2268,
9016,
49,
331,
312,
222,
221,
130,
3038,
221,
2072,
910,
1035,
2661,
45,
671,
328,
46,
320,
376,
221,
3242,
910,
30441,
100,
2896,
299,
332,
1350,
1369,
1361,
1616,
4741,
1493,
1361,
9790,
37979,
376,
221,
3242,
910,
30441,
100,
3719,
299,
332,
15722,
97,
119,
97,
115,
884,
376,
221,
620,
30441,
100,
2896,
494,
34021,
494,
30441,
100,
3719,
494,
328,
64,
222,
221,
130,
3038,
221,
2072,
782,
2886,
991,
45,
671,
556,
6793,
49,
910,
7321,
46,
2589,
6300,
320,
376,
221,
1233,
48330,
1233,
299,
477,
51,
2268,
9016,
51,
471,
1233,
941,
2836,
6221,
537,
45,
1337,
991,
51,
471,
1233,
1052,
376,
221,
991,
3481,
5653,
299,
556,
2050,
45,
2268,
2937,
49,
48330,
1233,
51,
3127,
1052,
376,
221,
3332,
5653,
51,
10211,
120,
492,
376,
221,
991,
3481,
991,
299,
556,
2050,
45,
3332,
5653,
49,
556,
6793,
312,
376,
221,
1615,
51,
560,
51,
3962,
459,
25526,
63,
332,
494,
3481,
991,
312,
376,
221,
3852,
51,
1838,
45,
3332,
991,
51,
471,
1233,
1046,
1035,
2661,
45,
8089,
566,
19682,
1052,
15767,
221,
130,
15778,
3038,
221,
942,
924,
782,
2594,
45,
671,
1198,
2194,
46,
2589,
6300,
320,
376,
221,
991,
2091,
9016,
299,
556,
2050,
45,
1150,
96,
53,
636,
332,
13845,
110,
1750,
1634,
1750,
1850,
1750,
5390,
1750,
8887,
2316,
3249,
22904,
411,
2050,
51,
12640,
894,
376,
221,
991,
2091,
2937,
299,
556,
2050,
45,
1150,
96,
53,
636,
332,
13845,
110,
1750,
1848,
1750,
6413,
50,
1634,
1750,
1634,
1750,
1850,
1750,
1874,
97,
1508,
51,
3249,
22904,
411,
2050,
51,
12640,
894,
376,
221,
5154,
1093,
55,
4515,
73,
923,
299,
556,
9928,
1093,
55,
459,
527,
51,
1021,
22175,
51,
13845,
51,
4178,
411,
2091,
9016,
49,
2091,
2937,
312,
376,
221,
2577,
5653,
45,
909,
2050,
45,
2268,
2937,
49,
332,
527,
52,
1021,
22175,
52,
13845,
52,
4178,
2992,
376,
221,
5555,
2844,
8592,
45,
2536,
73,
923,
312,
376,
221,
5154,
1093,
55,
4515,
3554,
299,
556,
9928,
1093,
55,
459,
527,
51,
1021,
22175,
51,
13845,
51,
4178,
51,
20097,
411,
2091,
9016,
49,
2091,
2937,
312,
376,
221,
5555,
3554,
8592,
45,
2536,
3554,
312,
295,
222,
221,
130,
41482,
221,
2072,
924,
782,
4468,
2844,
8592,
45,
5154,
1093,
55,
504,
55,
46,
2589,
6300,
320,
376,
221,
739,
65,
72,
638,
78,
67,
2090,
358,
2439,
299,
14479,
51,
14100,
45,
24812,
49,
5324,
2442,
49,
14032,
49,
27018,
49,
31386,
49,
8862,
49,
17461,
49,
25140,
49,
19384,
312,
376,
221,
3455,
2090,
358,
2422,
113,
299,
556,
10839,
45,
4293,
51,
2970,
1225,
1046,
640,
5460,
24217,
120,
45,
1351,
358,
2439,
49,
317,
984,
317,
51,
102,
51,
10276,
2585,
365,
868,
317,
51,
103,
51,
10276,
2585,
5086,
376,
221,
671,
1798,
577,
299,
332,
2844,
358,
9787,
51,
2402,
884,
376,
221,
671,
1581,
299,
504,
55,
51,
32213,
45,
1452,
577,
312,
376,
221,
671,
29623,
8564,
299,
1581,
51,
3249,
459,
452,
1728,
452,
411,
332,
11954,
1912,
3249,
459,
452,
620,
700,
452,
411,
332,
452,
700,
452,
1912,
3249,
459,
452,
620,
687,
700,
452,
411,
332,
452,
687,
700,
452,
742,
376,
221,
325,
44451,
46401,
16433,
391,
1557,
461,
847,
456,
1153,
3756,
22530,
376,
221,
13579,
8564,
299,
29623,
8564,
51,
3249,
459,
620,
557,
45,
468,
123,
70,
51,
15384,
1046,
1849,
3078,
23854,
1420,
46,
103,
566,
15384,
1052,
411,
332,
429,
11325,
299,
557,
45,
468,
123,
70,
51,
15384,
1046,
1849,
3078,
23854,
1420,
46,
103,
566,
15384,
1052,
461,
23876,
3409,
51,
17623,
51,
1967,
45,
468,
123,
70,
51,
10276,
1046,
11325,
312,
742,
376,
221,
13579,
8564,
299,
29623,
8564,
51,
3249,
459,
620,
557,
45,
468,
123,
70,
51,
33192,
1046,
1849,
3967,
23854,
1420,
46,
103,
566,
33192,
1052,
411,
332,
3239,
559,
111,
299,
557,
45,
468,
123,
70,
51,
33192,
1046,
1849,
3967,
23854,
1420,
46,
103,
566,
33192,
1052,
461,
23876,
3409,
51,
17623,
51,
1967,
45,
468,
123,
70,
51,
10276,
1046,
559,
111,
312,
742,
376,
221,
671,
342,
1815,
299,
2090,
358,
2422,
113,
51,
4740,
45,
13579,
8564,
566,
3249,
459,
942,
5560,
5080,
889,
557,
411,
332,
942,
5560,
2581,
557,
678,
621,
221,
51,
3249,
459,
942,
5560,
1922,
557,
411,
332,
942,
5560,
2210,
557,
678,
621,
221,
51,
3249,
459,
942,
5560,
3447,
557,
411,
332,
942,
5560,
2210,
557,
678,
621,
221,
51,
3249,
459,
942,
5560,
8049,
889,
557,
411,
332,
942,
5560,
2581,
557,
742,
376,
221,
108,
55,
51,
39009,
459,
1778,
2844,
358,
11954,
51,
1874,
411,
342,
1815,
312,
376,
221,
671,
342,
26718,
8564,
299,
1581,
51,
3249,
459,
452,
1728,
452,
411,
332,
11954,
4718,
1912,
3249,
459,
452,
620,
700,
452,
411,
332,
4412,
1912,
3249,
459,
452,
620,
687,
700,
452,
411,
332,
4718,
889,
742,
64,
376,
221,
108,
55,
51,
39009,
459,
1778,
2844,
358,
11954,
4718,
51,
1874,
411,
2090,
358,
2422,
113,
51,
4740,
45,
103,
26718,
8564,
894,
4102,
221,
325,
10987,
4189,
47615,
376,
221,
3455,
7820,
3409,
2422,
113,
299,
640,
3455,
45,
9981,
51,
14100,
45,
15448,
49,
14032,
49,
27018,
49,
31386,
49,
8862,
894,
4102,
221,
325,
4262,
4663,
3409,
376,
221,
108,
55,
51,
39009,
459,
7904,
3409,
51,
1874,
411,
7820,
3409,
2422,
113,
51,
4740,
45,
108,
55,
51,
32213,
459,
7904,
3409,
51,
2402,
13265,
21997,
221,
108,
55,
51,
39009,
459,
2199,
3409,
51,
1874,
411,
7820,
3409,
2422,
113,
51,
4740,
45,
108,
55,
51,
32213,
459,
2199,
3409,
51,
2402,
13265,
21997,
221,
108,
55,
51,
39009,
459,
1543,
3409,
51,
1874,
411,
7820,
3409,
2422,
113,
51,
4740,
45,
108,
55,
51,
32213,
459,
2199,
3409,
51,
2402,
1912,
3249,
459,
2199,
411,
332,
1543,
1912,
3249,
459,
382,
411,
332,
290,
1912,
3249,
459,
907,
411,
332,
1472,
1912,
3249,
459,
6017,
411,
332,
4711,
13265,
221,
4102,
221,
671,
7820,
3409,
8564,
299,
504,
55,
51,
32213,
459,
5728,
3409,
51,
2402,
742,
376,
221,
325,
2643,
16536,
4465,
708,
461,
2454,
847,
376,
221,
3851,
3409,
8564,
299,
7820,
3409,
8564,
51,
3249,
459,
452,
620,
700,
452,
411,
332,
452,
700,
452,
1912,
3249,
459,
452,
39772,
2674,
452,
411,
332,
452,
700,
2674,
452,
1912,
3249,
459,
452,
620,
8948,
452,
411,
332,
452,
2420,
452,
742,
376,
221,
671,
7583,
520,
299,
7820,
3409,
2422,
113,
51,
4740,
45,
3851,
3409,
8564,
312,
376,
221,
671,
1197,
13727,
299,
556,
910,
1197,
320,
41988,
5471,
411,
36796,
41988,
31849,
20897,
1487,
376,
221,
671,
1197,
32225,
299,
556,
910,
1197,
320,
332,
18527,
411,
332,
2590,
411,
332,
1121,
411,
332,
1736,
411,
332,
20407,
680,
6792,
411,
332,
1736,
39,
1487,
376,
221,
999,
45,
429,
613,
299,
244,
53,
64,
613,
65,
4178,
51,
1340,
64,
613,
2002,
320,
374,
221,
108,
55,
51,
39009,
45,
21117,
96,
110,
98,
494,
332,
3409,
51,
1874,
411,
7583,
520,
51,
3249,
459,
5728,
3409,
411,
32225,
96,
110,
98,
494,
332,
3409,
1912,
3249,
4923,
411,
13727,
96,
110,
8527,
3249,
33730,
42,
22074,
12377,
1820,
21313,
566,
3249,
33730,
52,
22074,
12377,
526,
1508,
2992,
376,
221,
130,
376,
221,
325,
2643,
14872,
4465,
708,
461,
1922,
376,
221,
3851,
3409,
8564,
299,
504,
55,
51,
32213,
459,
15018,
3409,
51,
2402,
742,
376,
221,
3851,
3409,
8564,
299,
7820,
3409,
8564,
51,
3249,
459,
452,
620,
700,
452,
411,
332,
4412,
1912,
3249,
459,
452,
28050,
452,
411,
332,
4718,
1912,
3249,
459,
452,
620,
8948,
452,
411,
7756,
621,
221,
51,
3249,
459,
80,
7980,
9084,
3409,
1778,
411,
332,
2844,
358,
11954,
4718,
1778,
1912,
3249,
459,
452,
620,
687,
700,
452,
411,
332,
4718,
889,
742,
376,
221,
794,
520,
299,
7820,
3409,
2422,
113,
51,
4740,
45,
3851,
3409,
8564,
312,
376,
221,
4178,
299,
556,
910,
1197,
320,
3791,
411,
3791,
12633,
332,
40247,
32471,
366,
1487,
376,
221,
21117,
299,
556,
910,
1197,
320,
332,
20407,
680,
27056,
411,
332,
20407,
680,
27056,
39116,
411,
332,
20407,
680,
1342,
411,
332,
39100,
39,
1487,
376,
221,
999,
45,
429,
613,
299,
244,
53,
64,
613,
65,
4178,
51,
1340,
64,
613,
2002,
320,
374,
221,
108,
55,
51,
39009,
45,
21117,
96,
110,
98,
494,
332,
3409,
51,
1874,
411,
7583,
520,
51,
3249,
459,
15018,
3409,
411,
32225,
96,
110,
98,
494,
332,
3409,
1912,
3249,
4923,
411,
13727,
96,
110,
8527,
3249,
33730,
38,
4097,
411,
12377,
13366,
1508,
2992,
376,
221,
130,
1332,
221,
325,
10987,
23876,
3409,
376,
221,
739,
65,
72,
638,
78,
67,
9947,
2439,
299,
14479,
51,
14100,
45,
24812,
49,
5324,
2442,
49,
14032,
49,
27018,
49,
31386,
49,
8862,
312,
376,
221,
3455,
9947,
3409,
2422,
113,
299,
556,
10839,
45,
4293,
51,
2970,
1225,
1046,
640,
5460,
24217,
120,
45,
2420,
2439,
49,
317,
984,
673,
117,
51,
102,
51,
3591,
45,
117,
51,
103,
4254,
376,
221,
108,
55,
51,
39009,
459,
8948,
3409,
51,
1874,
411,
9947,
3409,
2422,
113,
51,
4740,
45,
108,
55,
51,
32213,
459,
8948,
3409,
51,
2402,
13265,
4102,
221,
739,
65,
72,
638,
78,
67,
3000,
6699,
299,
33372,
51,
2335,
100,
23498,
100,
15670,
51,
2255,
941,
2049,
45,
2654,
984,
8837,
51,
10276,
2585,
45077,
53,
566,
6190,
45,
16862,
51,
15341,
1052,
376,
221,
108,
55,
51,
39009,
459,
1301,
3409,
51,
1874,
411,
640,
3455,
45,
3804,
6699,
566,
4740,
45,
108,
55,
51,
32213,
459,
1301,
3409,
51,
2402,
13265,
222,
221,
130,
499,
221,
2072,
924,
782,
4468,
3554,
8592,
45,
5154,
1093,
55,
4515,
3554,
46,
374,
221,
5124,
6300,
320,
376,
221,
739,
65,
72,
638,
78,
67,
1187,
2439,
299,
33372,
51,
2335,
100,
23498,
100,
15670,
51,
2255,
941,
2049,
45,
2654,
984,
8837,
51,
10276,
2585,
45077,
53,
979,
4189,
51,
3615,
45,
2654,
51,
10276,
2585,
1177,
6917,
54,
54,
566,
6190,
45,
16862,
51,
15341,
1052,
376,
221,
3455,
3797,
358,
2422,
113,
299,
640,
3455,
45,
483,
2439,
312,
376,
221,
671,
1798,
577,
299,
332,
21869,
9787,
51,
2402,
884,
376,
221,
671,
1581,
299,
4515,
3554,
51,
32213,
45,
1452,
577,
312,
376,
221,
671,
986,
299,
1581,
51,
3249,
459,
452,
620,
700,
452,
411,
332,
452,
700,
452,
1912,
3249,
459,
452,
39772,
452,
411,
332,
452,
638,
452,
678,
621,
221,
51,
3249,
459,
452,
1728,
452,
411,
332,
21932,
724,
8525,
1912,
3249,
459,
452,
28050,
452,
411,
332,
976,
742,
376,
221,
2536,
3554,
51,
39009,
45,
1452,
577,
51,
3249,
459,
9787,
411,
332,
21932,
724,
8525,
976,
1912,
3249,
5804,
2402,
411,
4956,
1874,
2132,
3797,
358,
2422,
113,
51,
4740,
45,
560,
894,
4102,
221,
325,
17972,
1611,
391,
1506,
1712,
376,
221,
560,
299,
1581,
51,
3249,
459,
942,
5560,
5533,
620,
700,
452,
557,
45,
452,
700,
452,
331,
312,
411,
332,
942,
5533,
620,
700,
452,
557,
45,
452,
700,
452,
331,
46,
320,
461,
331,
64,
1487,
244,
7173,
376,
221,
560,
299,
986,
51,
3249,
459,
452,
620,
700,
452,
411,
332,
976,
1912,
3249,
459,
452,
39772,
452,
411,
332,
976,
678,
621,
221,
51,
3249,
459,
452,
1728,
452,
411,
332,
21932,
724,
1912,
3249,
459,
452,
28050,
452,
411,
332,
976,
742,
376,
221,
2536,
3554,
51,
39009,
45,
1452,
577,
51,
3249,
459,
9787,
411,
332,
21932,
37967,
1912,
3249,
5804,
2402,
411,
4956,
1874,
2132,
3797,
358,
2422,
113,
51,
4740,
45,
560,
894,
376,
221,
17324,
65,
72,
638,
78,
67,
3881,
299,
33372,
51,
2335,
100,
23498,
100,
15670,
51,
2255,
941,
2049,
45,
2654,
984,
8837,
51,
10276,
2585,
365,
350,
244,
53,
28366,
5174,
64,
376,
221,
999,
45,
72,
638,
78,
391,
638,
518,
3881,
46,
320,
374,
221,
671,
614,
21117,
299,
391,
638,
51,
33192,
5445,
577,
492,
374,
221,
560,
299,
1581,
51,
3249,
459,
452,
620,
700,
452,
411,
391,
638,
51,
390,
6137,
5445,
577,
4269,
3249,
459,
452,
39772,
452,
411,
391,
638,
51,
33192,
5445,
577,
1177,
596,
221,
51,
3249,
459,
452,
1728,
452,
411,
332,
21932,
724,
1912,
3249,
459,
452,
28050,
452,
411,
614,
21117,
312,
374,
221,
2536,
3554,
51,
39009,
45,
1452,
577,
51,
3249,
459,
9787,
411,
332,
21932,
724,
39,
494,
614,
21117,
566,
3249,
5804,
2402,
411,
4956,
1874,
2132,
3797,
358,
2422,
113,
51,
4740,
45,
560,
894,
376,
221,
130,
27726,
1332,
221,
2536,
3554,
51,
39009,
459,
17687,
3409,
51,
1874,
411,
640,
3455,
45,
483,
2439,
566,
4740,
45,
2536,
3554,
51,
32213,
459,
17687,
3409,
51,
2402,
13265,
376,
221,
739,
65,
72,
638,
78,
67,
11770,
2439,
299,
33372,
51,
2335,
100,
23498,
100,
15670,
51,
2255,
941,
2049,
45,
2654,
984,
320,
4514,
292,
299,
327,
4036,
46,
4189,
51,
3615,
45,
2654,
51,
10276,
2585,
1052,
461,
292,
6917,
53,
979,
292,
6917,
54,
54,
979,
292,
6917,
54,
7160,
566,
6190,
45,
16862,
51,
15341,
1052,
376,
221,
2536,
3554,
51,
39009,
459,
13988,
3409,
51,
1874,
411,
640,
3455,
45,
5475,
2439,
566,
4740,
45,
2536,
3554,
51,
32213,
459,
13988,
3409,
51,
2402,
13265,
376,
221,
2536,
3554,
51,
39009,
459,
81,
13988,
3409,
51,
1874,
411,
640,
3455,
45,
5475,
2439,
566,
4740,
45,
2536,
3554,
51,
32213,
459,
81,
13988,
3409,
51,
2402,
13265,
376,
221,
2536,
3554,
51,
39009,
459,
4477,
14454,
3409,
51,
1874,
411,
640,
3455,
45,
5475,
2439,
566,
4740,
45,
2536,
3554,
51,
32213,
459,
4477,
14454,
3409,
51,
2402,
13265,
4102,
221,
671,
7583,
4178,
299,
4515,
3554,
51,
32213,
459,
16245,
4090,
3409,
51,
2402,
742,
310,
910,
1197,
33345,
299,
320,
332,
4984,
1479,
7137,
1479,
21977,
1479,
35742,
1479,
45163,
1479,
7711,
1479,
2858,
1479,
769,
411,
332,
8750,
411,
332,
14989,
529,
1299,
39,
1487,
310,
456,
45,
671,
655,
518,
33345,
46,
320,
295,
221,
671,
1361,
299,
655,
51,
3591,
459,
14989,
529,
1299,
678,
1037,
332,
54,
52,
105,
39,
518,
332,
5728,
3128,
494,
655,
494,
11616,
105,
15534,
343,
910,
328,
299,
7583,
4178,
51,
3249,
18654,
444,
30201,
655,
566,
3249,
18654,
577,
30201,
655,
566,
3249,
18654,
707,
30201,
1361,
312,
10578,
221,
2536,
3554,
51,
39009,
45,
444,
494,
332,
3409,
51,
1874,
411,
328,
312,
310,
339,
603,
910,
1197,
3797,
519,
299,
320,
332,
20407,
680,
14231,
1479,
1947,
1479,
4292,
1479,
19950,
1479,
1901,
1479,
1355,
39,
1487,
310,
456,
45,
671,
364,
518,
3797,
519,
46,
320,
295,
221,
2536,
3554,
51,
39009,
45,
114,
5688,
3409,
51,
1874,
411,
640,
3455,
45,
483,
2439,
566,
4740,
45,
2536,
3554,
51,
32213,
45,
114,
5688,
3409,
51,
2402,
13265,
310,
339,
294,
221,
2536,
3554,
51,
39009,
459,
889,
11147,
51,
1874,
411,
640,
3455,
45,
72,
638,
51,
2335,
100,
23498,
100,
15670,
566,
4740,
45,
2536,
3554,
51,
32213,
459,
889,
11147,
51,
2402,
13265,
222,
221,
130,
499,
221,
2072,
924,
3531,
65,
671,
49,
4564,
65,
671,
49,
910,
2023,
640,
5460,
24217,
120,
45,
2272,
65,
72,
638,
78,
67,
26005,
49,
23410,
65,
5460,
65,
72,
638,
78,
49,
33372,
78,
2023,
2785,
46,
320,
376,
221,
1225,
65,
671,
49,
4564,
65,
671,
49,
910,
2023,
15914,
120,
299,
24097,
24217,
120,
45,
32259,
312,
376,
221,
739,
65,
5460,
65,
72,
638,
78,
49,
72,
638,
78,
2023,
9947,
23014,
299,
556,
5068,
6984,
310,
456,
45,
72,
638,
78,
362,
638,
518,
26005,
46,
320,
343,
456,
327,
72,
638,
78,
1581,
638,
518,
26005,
46,
320,
1819,
221,
5460,
65,
72,
638,
78,
49,
33372,
78,
67,
317,
299,
556,
16594,
11530,
1634,
638,
49,
362,
638,
312,
1819,
221,
344,
45,
2049,
51,
881,
45,
117,
509,
320,
31505,
221,
2420,
23014,
51,
688,
45,
117,
312,
1819,
221,
130,
343,
339,
310,
339,
310,
15914,
120,
51,
543,
1947,
45,
390,
1811,
724,
24217,
120,
45,
2420,
23014,
894,
376,
221,
620,
15914,
120,
64,
222,
221,
130,
465,
964,
910,
43003,
45,
671,
4891,
46,
2589,
6300,
320,
376,
221,
991,
1581,
991,
299,
556,
2050,
45,
2268,
9016,
49,
4891,
312,
376,
221,
620,
556,
910,
45,
3852,
51,
870,
1947,
3656,
45,
1634,
991,
51,
471,
1233,
5086,
222,
221,
130,
3067,
221,
2072,
924,
10839,
640,
3455,
45,
2272,
65,
72,
638,
78,
67,
727,
2439,
724,
10513,
46,
2589,
6300,
320,
376,
221,
620,
556,
10839,
45,
4293,
51,
2970,
1225,
1046,
24097,
24217,
120,
45,
624,
2439,
724,
10513,
894,
15662,
221,
130,
499,
221,
2072,
924,
1922,
458,
23500,
724,
45396,
45,
5460,
317,
46,
320,
376,
221,
620,
327,
117,
51,
102,
51,
3591,
45,
10303,
44360,
117,
51,
102,
51,
3591,
45,
15774,
509,
12493,
221,
6017,
327,
117,
51,
103,
51,
3591,
45,
24812,
46,
1293,
317,
51,
103,
51,
3591,
45,
15448,
46,
1293,
317,
51,
103,
51,
3591,
45,
13770,
46,
1293,
317,
51,
103,
51,
3591,
45,
10129,
894,
1676,
221,
130,
3038,
221,
2072,
924,
8329,
65,
671,
49,
4564,
65,
671,
49,
910,
2023,
640,
1811,
724,
24217,
120,
45,
2272,
65,
5460,
65,
72,
638,
78,
49,
72,
638,
78,
2023,
727,
2439,
724,
10513,
46,
320,
376,
221,
1225,
65,
671,
49,
2466,
65,
5460,
65,
72,
638,
78,
49,
72,
638,
78,
2731,
671,
2023,
847,
7767,
9026,
299,
556,
8329,
6984,
376,
221,
700,
7767,
9026,
51,
543,
459,
1097,
638,
411,
317,
984,
317,
51,
102,
51,
390,
6137,
5445,
577,
1052,
376,
221,
700,
7767,
9026,
51,
543,
459,
1097,
39265,
411,
317,
984,
117,
51,
102,
51,
29376,
638,
941,
390,
6137,
5445,
577,
1052,
376,
221,
700,
7767,
9026,
51,
543,
459,
1811,
638,
411,
317,
984,
317,
51,
102,
51,
33192,
5445,
577,
1052,
376,
221,
700,
7767,
9026,
51,
543,
459,
1097,
638,
2674,
411,
317,
984,
3347,
48,
117,
51,
102,
51,
390,
6891,
1241,
1052,
376,
221,
700,
7767,
9026,
51,
543,
459,
1097,
8948,
411,
317,
984,
317,
51,
102,
51,
3591,
45,
72,
638,
51,
24812,
46,
1037,
25661,
244,
54,
518,
244,
53,
39,
518,
10780,
376,
221,
700,
7767,
9026,
51,
543,
459,
471,
638,
411,
317,
984,
317,
51,
103,
51,
390,
6137,
5445,
577,
1052,
376,
221,
700,
7767,
9026,
51,
543,
459,
15341,
638,
411,
317,
984,
117,
51,
103,
51,
29376,
638,
941,
390,
6137,
5445,
577,
1052,
376,
221,
700,
7767,
9026,
51,
543,
459,
724,
638,
411,
317,
984,
317,
51,
103,
51,
33192,
5445,
577,
1052,
376,
221,
700,
7767,
9026,
51,
543,
459,
471,
638,
2674,
411,
317,
984,
3347,
48,
117,
51,
103,
51,
390,
6891,
1241,
1052,
376,
221,
700,
7767,
9026,
51,
543,
459,
471,
8948,
2641,
411,
317,
984,
31019,
494,
317,
51,
103,
51,
390,
6137,
5445,
577,
365,
494,
35062,
494,
12493,
221,
45,
117,
51,
103,
51,
3591,
45,
72,
638,
51,
24812,
46,
1037,
31019,
518,
458,
23500,
724,
45396,
45,
117,
46,
1037,
332,
5728,
51,
1514,
459,
518,
36995,
376,
221,
700,
7767,
9026,
51,
543,
459,
471,
8948,
3176,
411,
317,
984,
317,
51,
103,
51,
3591,
45,
72,
638,
51,
24812,
46,
1037,
332,
398,
244,
53,
1037,
920,
518,
878,
4748,
518,
8671,
221,
316,
23500,
724,
45396,
45,
117,
46,
1037,
35062,
518,
10780,
376,
221,
3455,
51,
11848,
3455,
65,
5460,
65,
72,
638,
78,
49,
72,
638,
78,
2023,
847,
3455,
299,
556,
10839,
51,
11848,
3455,
11530,
624,
2439,
724,
10513,
49,
847,
7767,
9026,
312,
376,
221,
8263,
65,
671,
49,
4564,
65,
671,
49,
671,
2023,
15914,
120,
299,
556,
8329,
6984,
376,
221,
27384,
120,
51,
543,
459,
1380,
33450,
36153,
411,
847,
3455,
422,
4740,
312,
376,
221,
620,
15914,
120,
64,
222,
221,
130,
499,
221,
2072,
924,
8329,
65,
671,
49,
4564,
65,
671,
49,
910,
2023,
24097,
24217,
120,
45,
374,
221,
2272,
65,
72,
638,
78,
67,
727,
2439,
724,
10513,
46,
320,
4102,
221,
325,
847,
2803,
9026,
376,
221,
1225,
65,
671,
49,
2466,
65,
72,
638,
78,
49,
671,
2023,
847,
7767,
9026,
299,
556,
8329,
6984,
376,
221,
700,
7767,
9026,
51,
543,
459,
700,
411,
292,
984,
121,
51,
390,
6137,
5445,
577,
1052,
376,
221,
700,
7767,
9026,
51,
543,
459,
700,
2674,
411,
292,
984,
1033,
48,
121,
51,
390,
6891,
1241,
1052,
376,
221,
700,
7767,
9026,
51,
543,
459,
638,
411,
292,
984,
292,
51,
33192,
5445,
577,
1052,
376,
221,
700,
7767,
9026,
51,
543,
459,
118,
444,
411,
292,
984,
292,
51,
390,
25553,
1052,
376,
221,
700,
7767,
9026,
51,
543,
459,
2420,
411,
292,
984,
320,
429,
553,
299,
4189,
51,
3615,
45,
121,
51,
10276,
2585,
1052,
461,
553,
398,
58,
1037,
11616,
4036,
4748,
518,
553,
398,
54,
53,
1037,
11616,
1612,
4748,
518,
553,
630,
244,
57,
1037,
11616,
2278,
4748,
518,
5127,
1141,
376,
221,
700,
7767,
9026,
51,
543,
459,
471,
8948,
411,
292,
984,
4189,
51,
3615,
45,
121,
51,
10276,
2585,
1177,
398,
54,
1037,
332,
398,
244,
53,
1037,
920,
518,
878,
39,
518,
10780,
376,
221,
700,
7767,
9026,
51,
543,
459,
1097,
8948,
411,
292,
984,
4189,
51,
3615,
45,
121,
51,
10276,
2585,
1177,
398,
54,
1037,
25661,
244,
54,
518,
244,
53,
39,
518,
10780,
376,
221,
700,
7767,
9026,
51,
543,
459,
687,
700,
411,
292,
984,
121,
51,
29376,
638,
941,
390,
6137,
5445,
577,
1052,
1332,
221,
8263,
65,
671,
49,
4564,
65,
671,
49,
671,
2023,
15914,
120,
299,
556,
8329,
6984,
1332,
221,
3455,
51,
11848,
3455,
65,
72,
638,
78,
67,
847,
3455,
299,
556,
10839,
51,
11848,
3455,
11530,
624,
2439,
724,
10513,
49,
847,
7767,
9026,
312,
376,
221,
27384,
120,
51,
543,
459,
1380,
33450,
2333,
411,
847,
3455,
422,
4740,
312,
1332,
221,
739,
65,
72,
638,
78,
67,
10411,
299,
727,
2439,
724,
10513,
51,
2255,
941,
2049,
45,
307,
984,
16128,
51,
10276,
2585,
365,
2394,
244,
53,
566,
6190,
45,
16862,
51,
15341,
1052,
376,
221,
739,
65,
72,
638,
78,
67,
27951,
299,
727,
2439,
724,
10513,
51,
2255,
941,
2049,
45,
307,
984,
16128,
51,
10276,
2585,
365,
350,
244,
53,
566,
6190,
45,
16862,
51,
15341,
1052,
1332,
221,
27384,
120,
51,
543,
459,
1380,
33450,
4625,
411,
556,
10839,
51,
11848,
3455,
11530,
7060,
49,
847,
7767,
9026,
28366,
4740,
312,
376,
221,
27384,
120,
51,
543,
459,
1380,
33450,
17213,
411,
556,
10839,
51,
11848,
3455,
11530,
20074,
49,
847,
7767,
9026,
28366,
4740,
312,
4102,
221,
620,
15914,
120,
64,
222,
221,
130,
499,
221,
2072,
924,
782,
3081,
5653,
45,
991,
4865,
46,
320,
310,
2050,
1197,
2293,
299,
4865,
51,
687,
3852,
492,
310,
434,
45,
2558,
6917,
1710,
46,
320,
453,
6074,
30751,
120,
461,
762,
456,
3517,
29178,
343,
456,
45,
991,
315,
63,
2293,
46,
320,
419,
434,
45,
107,
51,
30815,
1177,
320,
547,
3081,
5653,
45,
107,
312,
419,
339,
832,
320,
547,
315,
51,
2577,
492,
419,
339,
343,
339,
310,
339,
310,
4865,
51,
2577,
492,
303,
339,
222,
222,
130
] | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1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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
]
] | 4,277 | true | 67.459234 | true | true |
BitCounter.java | /FileExtraction/Java_unseen/bengtmartensson_IrpTransmogrifier/src/main/java/org/harctoolbox/irp/BitCounter.java | /*
Copyright (C) 2017 Bengt Martensson.
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 org.harctoolbox.irp;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import java.util.StringJoiner;
/**
*
*/
public final class BitCounter {
public static Map<String, BitCounter> scrutinizeProtocols(Iterable<Protocol> protocols) {
LinkedHashMap<String, BitCounter> result = new LinkedHashMap<>(4);
for (Protocol protocol : protocols) {
NameEngine definitions = protocol.getDefinitions();
for (Map.Entry<String, Expression> kvp : definitions) {
String name = kvp.getKey();
Number value = kvp.getValue().toNumber();
if (!result.containsKey(name)) {
Integer length = protocol.guessParameterLength(name);
result.put(name, length != null ? new BitCounter(length, false) : new BitCounter(true));
}
BitCounter bitCounter = result.get(name);
bitCounter.aggregate(value);
}
}
return result;
}
private final Map<Integer, BitCounterType> table;
private int numberBits;
private final BitCounterType unassigned;
public BitCounter() {
this(0, false);
}
public BitCounter(boolean unassignedIsZero) {
this(0, unassignedIsZero);
}
public BitCounter(int length, boolean unassignedIsZero) {
table = new HashMap<>(length);
numberBits = length;
this.unassigned = unassignedIsZero ? BitCounterType.zero : BitCounterType.virgin;
}
public BitCounter(int length) {
this(length, false);
}
public int getNumberBits() {
return numberBits;
}
public BitCounterType getType(int n) {
BitCounterType val = table.get(n);
return val != null ? val : unassigned;
}
public String toString(CharSequence delimiter) {
StringJoiner str = new StringJoiner(delimiter);
for (int i = numberBits - 1; i >= 0; i--)
str.add(getType(i).toString());
return str.toString();
}
@Override
public String toString() {
return toString("");
}
public List<Integer> toIntSequence() {
List<Integer> list = new ArrayList<>(16);
boolean lastVarying = getType(numberBits - 1) == BitCounterType.varying;
int length = 1;
for (int i = numberBits - 2; i >=0; i--) {
boolean varying = getType(i) == BitCounterType.varying;
if (varying == lastVarying)
length++;
else {
list.add(length);
length = 1;
lastVarying = varying;
}
}
list.add(length);
return list;
}
public String toIntSequenceString() {
List<Integer> list = toIntSequence();
StringJoiner stringJoiner = new StringJoiner(",");
list.forEach(len -> {
stringJoiner.add(Integer.toString(len));
});
return stringJoiner.toString();
}
public void aggregate(long x, int length) {
long left = x;
int bitNo = 0;
while (left != 0 || bitNo < length) {
table.put(bitNo, getType(bitNo).update((int) left & 1));
left >>= 1;
bitNo++;
}
numberBits = Math.max(numberBits, bitNo);
}
public void aggregate(Number x, int length) {
Number left = x;
int bitNo = 0;
while (!left.isZero() || bitNo < length) {
table.put(bitNo, getType(bitNo).update((int) left.and(1)));
left = left.shiftRight(1);
bitNo++;
}
numberBits = Math.max(numberBits, bitNo);
}
public void aggregate(long x) {
aggregate(x, numberBits);
}
public void aggregate(Number x) {
aggregate(x, numberBits);
}
public static enum BitCounterType {
zero,
one,
varying,
virgin;
public BitCounterType update(int bit) {
return this == zero ? (bit == 0 ? zero : varying)
: this == one ? (bit != 0 ? one : varying)
: this == varying ? varying
: (bit == 0 ? zero : one);
}
@Override
public String toString() {
return this == zero ? "0"
: this == one ? "1"
: this == virgin ? " "
: "*";
}
}
}
| 5,147 | Java | .java | bengtmartensson/IrpTransmogrifier | 24 | 4 | 10 | 2015-09-20T09:11:13Z | 2024-04-20T14:09:42Z | d44293d6628b772be2b0ad3f30cd9896e57e480ddbafdb28174211e0bb32780f | [] | [
1127,
222,
10585,
327,
72,
46,
244,
55,
53,
54,
60,
570,
838,
121,
22905,
291,
26122,
51,
222,
222,
2287,
3477,
458,
3760,
2951,
63,
863,
902,
14081,
580,
480,
52,
290,
5370,
222,
302,
1549,
341,
5974,
451,
341,
6994,
6153,
5062,
1196,
641,
9582,
829,
222,
1402,
7834,
3870,
7120,
64,
3173,
1522,
244,
56,
451,
341,
1196,
49,
575,
327,
288,
222,
8772,
2489,
46,
1364,
6146,
1522,
51,
222,
222,
2287,
3477,
458,
2744,
347,
341,
9850,
708,
580,
1118,
545,
6386,
49,
1294,
222,
26480,
2979,
9345,
64,
2895,
4462,
341,
4506,
14319,
451,
222,
22265,
7760,
575,
8114,
4800,
418,
7848,
7763,
51,
2819,
341,
6994,
222,
8633,
5062,
1196,
456,
1851,
4261,
51,
222,
222,
4296,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
6153,
5062,
1196,
7979,
642,
222,
597,
3477,
51,
1691,
666,
49,
2337,
1930,
574,
1516,
51,
10627,
51,
1107,
52,
4205,
4735,
222,
588,
222,
222,
1337,
1105,
51,
11779,
307,
1071,
1521,
51,
495,
117,
64,
222,
222,
485,
1401,
51,
1058,
51,
7119,
64,
222,
485,
1401,
51,
1058,
51,
8263,
64,
222,
485,
1401,
51,
1058,
51,
15373,
8263,
64,
222,
485,
1401,
51,
1058,
51,
739,
64,
222,
485,
1401,
51,
1058,
51,
1225,
64,
222,
485,
1401,
51,
1058,
51,
671,
6256,
284,
64,
222,
222,
1350,
222,
338,
222,
588,
222,
942,
1175,
462,
7600,
6489,
320,
465,
581,
924,
3531,
65,
671,
49,
7600,
6489,
67,
15407,
322,
285,
537,
27658,
45,
17324,
65,
5519,
67,
29221,
46,
320,
310,
34961,
65,
671,
49,
7600,
6489,
67,
1074,
299,
556,
34961,
11530,
57,
312,
310,
456,
327,
5519,
7088,
518,
29221,
46,
320,
343,
3286,
3726,
13190,
299,
7088,
51,
390,
12683,
492,
343,
456,
327,
1225,
51,
2717,
65,
671,
49,
10298,
67,
851,
10743,
518,
13190,
46,
320,
419,
910,
655,
299,
851,
10743,
51,
11728,
492,
419,
5132,
804,
299,
851,
10743,
51,
6693,
941,
471,
1936,
492,
419,
434,
1445,
1285,
51,
15927,
45,
444,
509,
320,
547,
4418,
3124,
299,
7088,
51,
23895,
3026,
2396,
45,
444,
312,
547,
1074,
51,
543,
45,
444,
49,
3124,
882,
762,
1037,
556,
7600,
6489,
45,
1340,
49,
920,
46,
518,
556,
7600,
6489,
45,
1527,
894,
419,
339,
419,
7600,
6489,
3510,
6489,
299,
1074,
51,
390,
45,
444,
312,
419,
3510,
6489,
51,
20214,
45,
872,
312,
343,
339,
310,
339,
310,
461,
1074,
64,
303,
339,
465,
964,
1175,
3531,
65,
3078,
49,
7600,
6489,
638,
67,
1877,
64,
303,
964,
648,
1470,
8738,
64,
303,
964,
1175,
7600,
6489,
638,
725,
20435,
64,
465,
581,
7600,
6489,
365,
320,
310,
477,
45,
53,
49,
920,
312,
303,
339,
4054,
581,
7600,
6489,
45,
4412,
725,
20435,
1640,
8045,
46,
320,
310,
477,
45,
53,
49,
725,
20435,
1640,
8045,
312,
303,
339,
465,
581,
7600,
6489,
45,
429,
3124,
49,
1922,
725,
20435,
1640,
8045,
46,
320,
310,
1877,
299,
556,
8329,
11530,
1340,
312,
310,
1470,
8738,
299,
3124,
64,
310,
477,
51,
330,
20435,
299,
725,
20435,
1640,
8045,
1037,
7600,
6489,
638,
51,
6187,
518,
7600,
6489,
638,
51,
1864,
1542,
64,
303,
339,
465,
581,
7600,
6489,
45,
429,
3124,
46,
320,
310,
477,
45,
1340,
49,
920,
312,
303,
339,
465,
581,
648,
640,
1936,
8738,
365,
320,
310,
461,
1470,
8738,
64,
303,
339,
465,
581,
7600,
6489,
638,
24097,
45,
429,
329,
46,
320,
310,
7600,
6489,
638,
928,
299,
1877,
51,
390,
45,
115,
312,
310,
461,
928,
882,
762,
1037,
928,
518,
725,
20435,
64,
303,
339,
465,
581,
910,
11349,
45,
32295,
19836,
46,
320,
310,
910,
6256,
284,
615,
299,
556,
910,
6256,
284,
45,
24943,
312,
310,
456,
327,
429,
613,
299,
1470,
8738,
449,
244,
54,
64,
613,
2394,
244,
53,
64,
613,
15344,
343,
615,
51,
688,
45,
10276,
45,
110,
566,
3127,
1052,
310,
461,
615,
51,
3127,
492,
303,
339,
465,
496,
1806,
303,
581,
910,
11349,
365,
320,
310,
461,
11349,
10928,
303,
339,
465,
581,
1701,
65,
3078,
67,
391,
1438,
5908,
365,
320,
310,
1701,
65,
3078,
67,
1168,
299,
556,
5068,
11530,
54,
59,
312,
310,
1922,
2419,
91,
692,
318,
299,
24097,
45,
2188,
8738,
449,
244,
54,
46,
630,
7600,
6489,
638,
51,
45096,
64,
310,
648,
3124,
299,
244,
54,
64,
310,
456,
327,
429,
613,
299,
1470,
8738,
449,
244,
55,
64,
613,
2394,
53,
64,
613,
15344,
320,
343,
1922,
31179,
299,
24097,
45,
110,
46,
630,
7600,
6489,
638,
51,
45096,
64,
343,
434,
327,
45096,
630,
2419,
91,
692,
318,
46,
419,
3124,
3348,
343,
832,
320,
419,
1168,
51,
688,
45,
1340,
312,
419,
3124,
299,
244,
54,
64,
419,
2419,
91,
692,
318,
299,
31179,
64,
343,
339,
310,
339,
310,
1168,
51,
688,
45,
1340,
312,
310,
461,
1168,
64,
303,
339,
465,
581,
910,
391,
1438,
5908,
671,
365,
320,
310,
1701,
65,
3078,
67,
1168,
299,
391,
1438,
5908,
492,
310,
910,
6256,
284,
821,
6256,
284,
299,
556,
910,
6256,
284,
35290,
310,
1168,
51,
5388,
45,
1688,
984,
320,
343,
821,
6256,
284,
51,
688,
45,
3078,
51,
3127,
45,
1688,
894,
310,
1141,
310,
461,
821,
6256,
284,
51,
3127,
492,
303,
339,
465,
581,
782,
19081,
45,
3239,
837,
49,
648,
3124,
46,
320,
310,
1964,
2859,
299,
837,
64,
310,
648,
3510,
2042,
299,
244,
53,
64,
310,
2236,
327,
1892,
882,
244,
53,
1293,
3510,
2042,
350,
3124,
46,
320,
343,
1877,
51,
543,
45,
2417,
2042,
49,
24097,
45,
2417,
2042,
566,
1896,
1181,
429,
46,
2859,
568,
244,
54,
894,
343,
2859,
23493,
244,
54,
64,
343,
3510,
2042,
3348,
310,
339,
310,
1470,
8738,
299,
4189,
51,
1472,
45,
2188,
8738,
49,
3510,
2042,
312,
303,
339,
465,
581,
782,
19081,
45,
1936,
837,
49,
648,
3124,
46,
320,
310,
5132,
2859,
299,
837,
64,
310,
648,
3510,
2042,
299,
244,
53,
64,
310,
2236,
1445,
1892,
51,
316,
8045,
365,
1293,
3510,
2042,
350,
3124,
46,
320,
343,
1877,
51,
543,
45,
2417,
2042,
49,
24097,
45,
2417,
2042,
566,
1896,
1181,
429,
46,
2859,
51,
382,
45,
54,
4254,
343,
2859,
299,
2859,
51,
5514,
4058,
45,
54,
312,
343,
3510,
2042,
3348,
310,
339,
310,
1470,
8738,
299,
4189,
51,
1472,
45,
2188,
8738,
49,
3510,
2042,
312,
303,
339,
465,
581,
782,
19081,
45,
3239,
837,
46,
320,
310,
19081,
45,
125,
49,
1470,
8738,
312,
303,
339,
465,
581,
782,
19081,
45,
1936,
837,
46,
320,
310,
19081,
45,
125,
49,
1470,
8738,
312,
303,
339,
465,
581,
924,
3858,
7600,
6489,
638,
320,
310,
5953,
49,
310,
1611,
49,
310,
31179,
49,
310,
33845,
1542,
64,
603,
581,
7600,
6489,
638,
1991,
45,
429,
3510,
46,
320,
343,
461,
477,
630,
5953,
1037,
327,
2417,
630,
244,
53,
1037,
5953,
518,
31179,
46,
547,
518,
477,
630,
1611,
1037,
327,
2417,
882,
244,
53,
1037,
1611,
518,
31179,
46,
547,
518,
477,
630,
31179,
1037,
31179,
547,
518,
327,
2417,
630,
244,
53,
1037,
5953,
518,
1611,
312,
310,
339,
603,
496,
1806,
310,
581,
910,
11349,
365,
320,
343,
461,
477,
630,
5953,
1037,
332,
53,
39,
547,
518,
477,
630,
1611,
1037,
332,
54,
39,
547,
518,
477,
630,
33845,
1542,
1037,
332,
332,
547,
518,
11577,
884,
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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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,240 | true | 56.965222 | true | true |
Notification.java | /FileExtraction/Java_unseen/TEAMMATES_teammates/src/main/java/teammates/storage/entity/Notification.java | package teammates.storage.entity;
import java.time.Instant;
import java.util.UUID;
import com.googlecode.objectify.annotation.Entity;
import com.googlecode.objectify.annotation.Id;
import com.googlecode.objectify.annotation.Index;
import com.googlecode.objectify.annotation.OnSave;
import com.googlecode.objectify.annotation.Translate;
import teammates.common.datatransfer.NotificationStyle;
import teammates.common.datatransfer.NotificationTargetUser;
/**
* Represents a unique notification in the system.
*/
@Entity
@Index
public class Notification extends BaseEntity {
@Id
private String notificationId;
@Translate(InstantTranslatorFactory.class)
private Instant startTime;
@Translate(InstantTranslatorFactory.class)
private Instant endTime;
private NotificationStyle style;
private NotificationTargetUser targetUser;
private String title;
private String message;
private boolean shown;
@Translate(InstantTranslatorFactory.class)
private Instant createdAt;
@Translate(InstantTranslatorFactory.class)
private Instant updatedAt;
@SuppressWarnings("unused")
private Notification() {
// required by Objectify
}
/**
* Instantiates a new notification, with ID randomly generated and time fields filled automatically.
*
* @param startTime start time for the notification to be shown to users
* @param endTime notifications are hidden from users after endTime
* @param style style of the notification (e.g. success, warning, etc.)
* @param targetUser student or instructor
* @param title title of the notification
* @param message message body of the notification
*/
public Notification(Instant startTime, Instant endTime, NotificationStyle style, NotificationTargetUser targetUser,
String title, String message) {
this.setStartTime(startTime);
this.setEndTime(endTime);
this.setStyle(style);
this.setTargetUser(targetUser);
this.setTitle(title);
this.setMessage(message);
this.setCreatedAt(Instant.now());
UUID uuid = UUID.randomUUID();
this.notificationId = uuid.toString();
this.shown = false;
}
/**
* Instantiates a new notification, with all fields passed in as parameters.
* This is mainly for conversion from attributes to entity.
*/
public Notification(String notificationId, Instant startTime, Instant endTime,
NotificationStyle style, NotificationTargetUser targetUser,
String title, String message, boolean shown, Instant createdAt, Instant updatedAt) {
this.setStartTime(startTime);
this.setEndTime(endTime);
this.setStyle(style);
this.setTargetUser(targetUser);
this.setTitle(title);
this.setMessage(message);
if (createdAt == null) {
this.setCreatedAt(Instant.now());
} else {
this.setCreatedAt(createdAt);
}
this.setUpdatedAt(updatedAt);
this.notificationId = notificationId;
this.shown = shown;
assert this.createdAt != null;
}
public String getNotificationId() {
return notificationId;
}
public Instant getStartTime() {
return startTime;
}
public void setStartTime(Instant startTime) {
this.startTime = startTime;
}
public Instant getEndTime() {
return endTime;
}
public void setEndTime(Instant endTime) {
this.endTime = endTime;
}
public NotificationStyle getStyle() {
return style;
}
public void setStyle(NotificationStyle style) {
this.style = style;
}
public NotificationTargetUser getTargetUser() {
return targetUser;
}
public void setTargetUser(NotificationTargetUser targetUser) {
this.targetUser = targetUser;
}
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
}
public String getMessage() {
return message;
}
public void setMessage(String message) {
this.message = message;
}
public boolean isShown() {
return shown;
}
/**
* Sets the notification as shown to the user.
* Only allowed to change value from false to true.
*/
public void setShown() {
this.shown = true;
}
public Instant getCreatedAt() {
return createdAt;
}
public void setCreatedAt(Instant createdAt) {
this.createdAt = createdAt;
}
public Instant getUpdatedAt() {
return updatedAt;
}
public void setUpdatedAt(Instant updatedAt) {
this.updatedAt = updatedAt;
}
/**
* Updates the updatedAt timestamp when saving.
*/
@OnSave
public void updateLastUpdateTimestamp() {
this.setUpdatedAt(Instant.now());
}
}
| 4,969 | Java | .java | TEAMMATES/teammates | 1,608 | 3,205 | 120 | 2014-05-02T07:43:00Z | 2024-05-08T13:17:01Z | e2ff068f6f508949e1c7acb086fb7f27a5bd3d7c06ad9b6d4f8ba51516964958 | [] | [
1337,
6507,
114,
1218,
51,
4239,
51,
2244,
64,
222,
222,
485,
1401,
51,
1021,
51,
22154,
64,
222,
485,
1401,
51,
1058,
51,
7604,
64,
222,
222,
485,
785,
51,
2193,
707,
51,
1491,
1165,
51,
4341,
51,
2234,
64,
222,
485,
785,
51,
2193,
707,
51,
1491,
1165,
51,
4341,
51,
625,
64,
222,
485,
785,
51,
2193,
707,
51,
1491,
1165,
51,
4341,
51,
1301,
64,
222,
485,
785,
51,
2193,
707,
51,
1491,
1165,
51,
4341,
51,
1501,
5134,
64,
222,
485,
785,
51,
2193,
707,
51,
1491,
1165,
51,
4341,
51,
16071,
64,
222,
222,
485,
6507,
114,
1218,
51,
2297,
51,
18176,
28786,
1036,
51,
6258,
2291,
64,
222,
485,
6507,
114,
1218,
51,
2297,
51,
18176,
28786,
1036,
51,
6258,
2937,
1259,
64,
222,
222,
1350,
222,
338,
23121,
331,
5823,
9203,
347,
341,
2684,
51,
222,
588,
222,
69,
2234,
222,
69,
1301,
222,
942,
462,
14387,
2041,
3787,
2234,
320,
465,
496,
625,
303,
964,
910,
9203,
625,
64,
465,
496,
16071,
45,
22154,
23234,
2232,
51,
842,
46,
303,
964,
26696,
17570,
64,
465,
496,
16071,
45,
22154,
23234,
2232,
51,
842,
46,
303,
964,
26696,
26529,
64,
465,
964,
14387,
2291,
1435,
64,
465,
964,
14387,
2937,
1259,
1780,
1259,
64,
465,
964,
910,
1799,
64,
465,
964,
910,
1492,
64,
465,
964,
1922,
10090,
64,
465,
496,
16071,
45,
22154,
23234,
2232,
51,
842,
46,
303,
964,
26696,
25426,
64,
465,
496,
16071,
45,
22154,
23234,
2232,
51,
842,
46,
303,
964,
26696,
33322,
64,
465,
496,
14030,
459,
12086,
678,
303,
964,
14387,
365,
320,
310,
453,
2147,
829,
2210,
1165,
303,
339,
465,
1041,
294,
338,
42030,
1218,
331,
556,
9203,
49,
642,
2502,
26380,
4741,
480,
1153,
3844,
15770,
6936,
51,
294,
338,
294,
338,
496,
772,
17570,
1496,
1153,
456,
341,
9203,
391,
545,
10090,
391,
4272,
294,
338,
496,
772,
26529,
15858,
904,
6862,
664,
4272,
2703,
26529,
294,
338,
496,
772,
1435,
1435,
451,
341,
9203,
327,
106,
51,
108,
51,
3136,
49,
5987,
49,
5795,
7475,
294,
338,
496,
772,
1780,
1259,
9551,
575,
347,
2662,
294,
338,
496,
772,
1799,
1799,
451,
341,
9203,
294,
338,
496,
772,
1492,
1492,
3376,
451,
341,
9203,
294,
588,
303,
581,
14387,
45,
22154,
17570,
49,
26696,
26529,
49,
14387,
2291,
1435,
49,
14387,
2937,
1259,
1780,
1259,
49,
343,
910,
1799,
49,
910,
1492,
46,
320,
310,
477,
51,
489,
17885,
45,
20909,
312,
310,
477,
51,
489,
25026,
45,
30975,
312,
310,
477,
51,
24808,
45,
1639,
312,
310,
477,
51,
45611,
1259,
45,
2000,
1259,
312,
310,
477,
51,
17359,
45,
1333,
312,
310,
477,
51,
28901,
45,
1454,
312,
310,
477,
51,
489,
27270,
45,
22154,
51,
2192,
1052,
603,
14286,
11168,
299,
14286,
51,
36116,
492,
310,
477,
51,
8855,
625,
299,
11168,
51,
3127,
492,
310,
477,
51,
41950,
299,
920,
64,
303,
339,
465,
1041,
294,
338,
42030,
1218,
331,
556,
9203,
49,
642,
1187,
3844,
5424,
347,
641,
3406,
51,
294,
338,
1369,
458,
31574,
456,
11781,
664,
5437,
391,
4436,
51,
294,
588,
303,
581,
14387,
45,
671,
9203,
625,
49,
26696,
17570,
49,
26696,
26529,
49,
733,
14387,
2291,
1435,
49,
14387,
2937,
1259,
1780,
1259,
49,
733,
910,
1799,
49,
910,
1492,
49,
1922,
10090,
49,
26696,
25426,
49,
26696,
33322,
46,
320,
310,
477,
51,
489,
17885,
45,
20909,
312,
310,
477,
51,
489,
25026,
45,
30975,
312,
310,
477,
51,
24808,
45,
1639,
312,
310,
477,
51,
45611,
1259,
45,
2000,
1259,
312,
310,
477,
51,
17359,
45,
1333,
312,
310,
477,
51,
28901,
45,
1454,
312,
310,
434,
327,
26273,
630,
762,
46,
320,
343,
477,
51,
489,
27270,
45,
22154,
51,
2192,
1052,
310,
339,
832,
320,
343,
477,
51,
489,
27270,
45,
26273,
312,
310,
339,
310,
477,
51,
489,
38673,
45,
40040,
312,
310,
477,
51,
8855,
625,
299,
9203,
625,
64,
310,
477,
51,
41950,
299,
10090,
64,
603,
1217,
477,
51,
26273,
882,
762,
64,
303,
339,
465,
581,
910,
640,
6258,
625,
365,
320,
310,
461,
9203,
625,
64,
303,
339,
465,
581,
26696,
640,
17885,
365,
320,
310,
461,
17570,
64,
303,
339,
465,
581,
782,
758,
17885,
45,
22154,
17570,
46,
320,
310,
477,
51,
20909,
299,
17570,
64,
303,
339,
465,
581,
26696,
640,
25026,
365,
320,
310,
461,
26529,
64,
303,
339,
465,
581,
782,
758,
25026,
45,
22154,
26529,
46,
320,
310,
477,
51,
30975,
299,
26529,
64,
303,
339,
465,
581,
14387,
2291,
640,
2291,
365,
320,
310,
461,
1435,
64,
303,
339,
465,
581,
782,
758,
2291,
45,
6258,
2291,
1435,
46,
320,
310,
477,
51,
1639,
299,
1435,
64,
303,
339,
465,
581,
14387,
2937,
1259,
640,
2937,
1259,
365,
320,
310,
461,
1780,
1259,
64,
303,
339,
465,
581,
782,
758,
2937,
1259,
45,
6258,
2937,
1259,
1780,
1259,
46,
320,
310,
477,
51,
2000,
1259,
299,
1780,
1259,
64,
303,
339,
465,
581,
910,
640,
3188,
365,
320,
310,
461,
1799,
64,
303,
339,
465,
581,
782,
46821,
45,
671,
1799,
46,
320,
310,
477,
51,
1333,
299,
1799,
64,
303,
339,
465,
581,
910,
40451,
365,
320,
310,
461,
1492,
64,
303,
339,
465,
581,
782,
758,
1193,
45,
671,
1492,
46,
320,
310,
477,
51,
1454,
299,
1492,
64,
303,
339,
465,
581,
1922,
458,
29045,
365,
320,
310,
461,
10090,
64,
303,
339,
465,
1041,
294,
338,
9023,
341,
9203,
641,
10090,
391,
341,
1275,
51,
294,
338,
9303,
6671,
391,
1557,
804,
664,
920,
391,
878,
51,
294,
588,
303,
581,
782,
758,
29045,
365,
320,
310,
477,
51,
41950,
299,
878,
64,
303,
339,
465,
581,
26696,
640,
27270,
365,
320,
310,
461,
25426,
64,
303,
339,
465,
581,
782,
758,
27270,
45,
22154,
25426,
46,
320,
310,
477,
51,
26273,
299,
25426,
64,
303,
339,
465,
581,
26696,
640,
38673,
365,
320,
310,
461,
33322,
64,
303,
339,
465,
581,
782,
758,
38673,
45,
22154,
33322,
46,
320,
310,
477,
51,
40040,
299,
33322,
64,
303,
339,
465,
1041,
294,
338,
19275,
341,
33322,
6356,
1429,
17091,
51,
294,
588,
303,
496,
1501,
5134,
303,
581,
782,
1991,
3283,
2346,
7477,
365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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,051 | true | 66.331254 | true | true |
ExampleSourceConfigurationWizardValueTypeTable.java | /FileExtraction/Java_unseen/rapidminer_rapidminer-studio/src/main/java/com/rapidminer/gui/wizards/ExampleSourceConfigurationWizardValueTypeTable.java | /**
* Copyright (C) 2001-2020 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.wizards;
import com.rapidminer.example.Attribute;
import com.rapidminer.example.table.AttributeFactory;
import com.rapidminer.gui.EditorCellRenderer;
import com.rapidminer.gui.tools.ExtendedJTable;
import com.rapidminer.gui.tools.SwingTools;
import com.rapidminer.tools.Ontology;
import com.rapidminer.tools.Tools;
import com.rapidminer.tools.att.AttributeDataSource;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.io.IOException;
import java.util.LinkedList;
import java.util.List;
import java.util.regex.Pattern;
import javax.swing.DefaultCellEditor;
import javax.swing.JComboBox;
import javax.swing.table.AbstractTableModel;
import javax.swing.table.TableCellEditor;
import javax.swing.table.TableCellRenderer;
import javax.swing.table.TableColumn;
import javax.swing.table.TableColumnModel;
/**
* This table shows only the attribute names and the attribute value types.
*
* @author Ingo Mierswa
*/
public class ExampleSourceConfigurationWizardValueTypeTable extends ExtendedJTable {
private static final long serialVersionUID = -6402806364622312588L;
private static class ExampleSourceConfigurationWizardValueTypeTableModel extends AbstractTableModel {
private static final long serialVersionUID = -8459288119418286682L;
private List<AttributeDataSource> sources;
public ExampleSourceConfigurationWizardValueTypeTableModel(List<AttributeDataSource> sources) {
this.sources = sources;
}
public void guessValueTypes(File originalDataFile, String commentString, String columnSeparators,
char decimalPointCharacter, boolean useQuotes, boolean firstLineAsNames) {
Pattern separatorPattern = Pattern.compile(columnSeparators);
BufferedReader in = null;
try {
in = new BufferedReader(new FileReader(originalDataFile));
String line = null;
boolean first = true;
boolean[] hasToCheck = null;
boolean[] onlyMissing = null;
int rowCounter = 1;
while ((line = in.readLine()) != null) {
if ((commentString != null) && (commentString.trim().length() > 0) && (line.startsWith(commentString))) {
continue;
}
if (line.trim().length() == 0) {
continue;
}
String[] row = null;
if (useQuotes) {
row = Tools.quotedSplit(line, separatorPattern);
} else {
row = line.trim().split(columnSeparators);
}
if (first) {
hasToCheck = new boolean[row.length];
onlyMissing = new boolean[row.length];
for (int i = 0; i < hasToCheck.length; i++) {
onlyMissing[i] = hasToCheck[i] = true;
}
if (!firstLineAsNames) {
updateValueTypes(row, hasToCheck, onlyMissing, decimalPointCharacter);
}
first = false;
} else {
if (row.length != hasToCheck.length) {
throw new IOException("Line " + rowCounter + " has a number of columns (" + row.length
+ ") different from preceding lines (" + hasToCheck.length + ").");
}
updateValueTypes(row, hasToCheck, onlyMissing, decimalPointCharacter);
}
rowCounter++;
}
// set value types of columns with only missing values to nominal
for (int m = 0; m < onlyMissing.length; m++) {
if (onlyMissing[m]) {
setValueAt(Ontology.VALUE_TYPE_NAMES[Ontology.NOMINAL], 0, m);
}
}
} catch (IOException e) {
SwingTools.showSimpleErrorMessage("cannot_guess_value_types", e);
} finally {
if (in != null) {
try {
in.close();
} catch (IOException e) {
SwingTools.showSimpleErrorMessage("cannot_close_stream_to_data_file", e);
}
}
}
}
private void updateValueTypes(String[] row, boolean[] hasToCheck, boolean[] onlyMissing, char decimalPointCharacter) {
for (int c = 0; c < row.length; c++) {
if (hasToCheck[c]) {
int valueType = Ontology.INTEGER;
String value = row[c];
if ((value != null) && (value.length() > 0) && (!value.equals("?"))) {
onlyMissing[c] = false;
try {
String decimalValue = value.replace(decimalPointCharacter, '.');
double d = Double.parseDouble(decimalValue);
if ((valueType == Ontology.INTEGER) && (!Tools.isEqual(Math.round(d), d))) {
valueType = Ontology.REAL;
hasToCheck[c] = false;
}
} catch (NumberFormatException e) {
valueType = Ontology.NOMINAL;
hasToCheck[c] = false;
}
}
setValueAt(Ontology.VALUE_TYPE_NAMES[valueType], 0, c);
}
}
}
@Override
public int getColumnCount() {
return sources.size();
}
@Override
public int getRowCount() {
return 1;
}
@Override
public void setValueAt(Object value, int rowIndex, int columnIndex) {
String valueTypeName = (String) value;
int valueType = Ontology.NOMINAL;
for (int i = 0; i < Ontology.VALUE_TYPE_NAMES.length; i++) {
if (Ontology.VALUE_TYPE_NAMES[i].equals(valueTypeName)) {
valueType = i;
break;
}
}
AttributeDataSource source = sources.get(columnIndex);
Attribute oldAttribute = source.getAttribute();
source.setAttribute(AttributeFactory.changeValueType(oldAttribute, valueType));
}
@Override
public Object getValueAt(int rowIndex, int columnIndex) {
return Ontology.VALUE_TYPE_NAMES[sources.get(columnIndex).getAttribute().getValueType()];
}
@Override
public String getColumnName(int column) {
return sources.get(column).getAttribute().getName();
}
}
private ExampleSourceConfigurationWizardValueTypeTableModel model;
public ExampleSourceConfigurationWizardValueTypeTable(List<AttributeDataSource> sources) {
super(false);
setAutoResizeMode(AUTO_RESIZE_OFF);
this.model = new ExampleSourceConfigurationWizardValueTypeTableModel(sources);
setModel(model);
update();
}
public void guessValueTypes(File data, String commentString, String columnSeparators, char decimalPointCharacter,
boolean useQuotes, boolean firstLineAsNames) {
this.model
.guessValueTypes(data, commentString, columnSeparators, decimalPointCharacter, useQuotes, firstLineAsNames);
}
public void update() {
((AbstractTableModel) getModel()).fireTableStructureChanged();
TableColumnModel columnModel = getColumnModel();
for (int i = 0; i < columnModel.getColumnCount(); i++) {
TableColumn tableColumn = columnModel.getColumn(i);
tableColumn.setPreferredWidth(120);
}
}
@Override
public boolean isCellEditable(int row, int col) {
return true;
}
@Override
public TableCellEditor getCellEditor(int row, int column) {
List<String> usedTypes = new LinkedList<String>();
for (int i = 0; i < Ontology.VALUE_TYPE_NAMES.length; i++) {
if ((i != Ontology.ATTRIBUTE_VALUE) && (i != Ontology.FILE_PATH)
&& (!Ontology.ATTRIBUTE_VALUE_TYPE.isA(i, Ontology.DATE_TIME))) {
usedTypes.add(Ontology.ATTRIBUTE_VALUE_TYPE.mapIndex(i));
}
}
String[] valueTypes = new String[usedTypes.size()];
int vCounter = 0;
for (String type : usedTypes) {
valueTypes[vCounter++] = type;
}
JComboBox<String> typeBox = new JComboBox<>(valueTypes);
typeBox.setBackground(javax.swing.UIManager.getColor("Table.cellBackground"));
return new DefaultCellEditor(typeBox);
}
@Override
public TableCellRenderer getCellRenderer(int row, int column) {
return new EditorCellRenderer(getCellEditor(row, column));
}
}
| 8,385 | Java | .java | rapidminer/rapidminer-studio | 412 | 219 | 11 | 2015-08-26T10:57:00Z | 2020-06-03T14:46:43Z | 184d7a8173c8cd08bf82546593fb73716d6bc2daf3bdf4f4d4cbab185f5b5a12 | [] | [
1350,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
53,
54,
50,
55,
53,
55,
53,
829,
578,
15740,
43180,
480,
341,
13356,
222,
338,
1676,
338,
22309,
1168,
451,
15470,
3322,
840,
3027,
2692,
4769,
63,
222,
338,
1676,
338,
1930,
574,
31360,
36385,
51,
527,
222,
338,
1676,
338,
1369,
3477,
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,
1522,
244,
56,
222,
338,
451,
341,
1196,
49,
575,
327,
288,
1390,
2489,
46,
1364,
6146,
1522,
51,
222,
338,
1676,
338,
1369,
3477,
458,
2744,
347,
341,
9850,
708,
580,
1118,
545,
6386,
49,
1294,
4213,
2979,
9345,
64,
2895,
222,
338,
4462,
341,
4506,
14319,
451,
7934,
575,
8114,
4800,
418,
7848,
7763,
51,
2819,
341,
6994,
222,
338,
30994,
6153,
5062,
1196,
456,
1851,
4261,
51,
222,
338,
1676,
338,
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
30994,
6153,
5062,
1196,
7979,
642,
477,
3477,
51,
222,
338,
1691,
666,
49,
2337,
1930,
574,
1516,
51,
10627,
51,
1107,
52,
4205,
4735,
222,
1975,
222,
1337,
785,
51,
31360,
36385,
51,
8472,
51,
19752,
8824,
64,
222,
222,
485,
785,
51,
31360,
36385,
51,
2783,
51,
2230,
64,
222,
485,
785,
51,
31360,
36385,
51,
2783,
51,
1292,
51,
2230,
2232,
64,
222,
485,
785,
51,
31360,
36385,
51,
8472,
51,
4836,
2917,
6470,
64,
222,
485,
785,
51,
31360,
36385,
51,
8472,
51,
4303,
51,
14856,
79,
1617,
64,
222,
485,
785,
51,
31360,
36385,
51,
8472,
51,
4303,
51,
16153,
7926,
64,
222,
485,
785,
51,
31360,
36385,
51,
4303,
51,
38709,
64,
222,
485,
785,
51,
31360,
36385,
51,
4303,
51,
7926,
64,
222,
485,
785,
51,
31360,
36385,
51,
4303,
51,
3150,
51,
2230,
8622,
64,
222,
222,
485,
1401,
51,
735,
51,
35094,
64,
222,
485,
1401,
51,
735,
51,
991,
64,
222,
485,
1401,
51,
735,
51,
33167,
64,
222,
485,
1401,
51,
735,
51,
6860,
64,
222,
485,
1401,
51,
1058,
51,
20535,
64,
222,
485,
1401,
51,
1058,
51,
739,
64,
222,
485,
1401,
51,
1058,
51,
7927,
51,
5526,
64,
222,
222,
485,
3698,
51,
5934,
51,
2061,
2917,
4836,
64,
222,
485,
3698,
51,
5934,
51,
79,
11248,
64,
222,
485,
3698,
51,
5934,
51,
1292,
51,
5597,
36983,
64,
222,
485,
3698,
51,
5934,
51,
1292,
51,
21702,
4836,
64,
222,
485,
3698,
51,
5934,
51,
1292,
51,
21702,
6470,
64,
222,
485,
3698,
51,
5934,
51,
1292,
51,
39615,
64,
222,
485,
3698,
51,
5934,
51,
1292,
51,
39615,
1262,
64,
499,
222,
1350,
222,
338,
1369,
1877,
9873,
1773,
341,
3895,
4492,
480,
341,
3895,
804,
3756,
51,
222,
338,
1676,
338,
496,
2133,
719,
1724,
507,
33462,
7250,
222,
588,
222,
942,
462,
5958,
2044,
2339,
22934,
17643,
1617,
2041,
24675,
79,
1617,
320,
499,
221,
2072,
924,
1175,
1964,
19896,
299,
449,
59,
57,
53,
55,
61,
53,
59,
56,
59,
57,
59,
55,
55,
56,
54,
55,
58,
61,
61,
81,
64,
499,
221,
2072,
924,
462,
5958,
2044,
2339,
22934,
17643,
36983,
2041,
7406,
36983,
320,
1332,
221,
2072,
924,
1175,
1964,
19896,
299,
449,
61,
57,
58,
62,
55,
61,
61,
54,
54,
62,
57,
54,
61,
55,
61,
59,
59,
61,
55,
81,
64,
1332,
221,
2072,
1701,
65,
2230,
8622,
67,
10868,
64,
1332,
221,
942,
5958,
2044,
2339,
22934,
17643,
36983,
45,
739,
65,
2230,
8622,
67,
10868,
46,
320,
374,
221,
597,
51,
11268,
299,
10868,
64,
376,
221,
130,
1332,
221,
942,
782,
11107,
899,
2439,
45,
991,
4732,
768,
991,
49,
910,
5101,
671,
49,
910,
2656,
27088,
4079,
49,
621,
221,
1612,
10262,
1962,
6891,
49,
1922,
813,
32245,
49,
1922,
1950,
1829,
1482,
4128,
46,
320,
374,
221,
5526,
17599,
5526,
299,
13405,
51,
7028,
45,
2628,
27088,
4079,
312,
374,
221,
35094,
347,
299,
762,
64,
374,
221,
1287,
320,
621,
221,
285,
299,
556,
28731,
45,
909,
38773,
45,
7351,
768,
991,
894,
621,
221,
671,
1646,
299,
762,
64,
621,
221,
4412,
1950,
299,
878,
64,
621,
221,
4412,
1197,
1421,
43878,
299,
762,
64,
621,
221,
4412,
1197,
1773,
9095,
299,
762,
64,
621,
221,
429,
2720,
6489,
299,
244,
54,
64,
621,
221,
5544,
1849,
948,
299,
347,
51,
29240,
1177,
882,
762,
46,
320,
596,
221,
344,
1849,
3666,
671,
882,
762,
46,
979,
327,
3666,
671,
51,
5475,
941,
1340,
365,
868,
244,
53,
46,
979,
327,
948,
51,
13907,
45,
3666,
671,
2636,
320,
1397,
221,
7514,
64,
596,
221,
130,
596,
221,
344,
327,
948,
51,
5475,
941,
1340,
365,
630,
244,
53,
46,
320,
1397,
221,
7514,
64,
596,
221,
130,
8905,
221,
671,
1197,
2720,
299,
762,
64,
596,
221,
344,
327,
558,
32245,
46,
320,
1397,
221,
661,
299,
15630,
51,
38569,
7356,
45,
948,
49,
17599,
5526,
312,
596,
221,
130,
832,
320,
1397,
221,
661,
299,
1646,
51,
5475,
941,
3045,
45,
2628,
27088,
4079,
312,
596,
221,
130,
8905,
221,
344,
327,
2251,
46,
320,
1397,
221,
2057,
43878,
299,
556,
1922,
96,
661,
51,
1340,
988,
1397,
221,
2605,
9095,
299,
556,
1922,
96,
661,
51,
1340,
988,
1397,
221,
999,
327,
429,
613,
299,
244,
53,
64,
613,
350,
1421,
43878,
51,
1340,
64,
613,
2002,
320,
1504,
221,
2605,
9095,
96,
110,
98,
299,
1421,
43878,
96,
110,
98,
299,
878,
64,
1397,
221,
130,
14121,
221,
344,
1445,
2251,
1829,
1482,
4128,
46,
320,
1504,
221,
1896,
899,
2439,
45,
661,
49,
1421,
43878,
49,
1773,
9095,
49,
10262,
1962,
6891,
312,
1397,
221,
130,
14121,
221,
2251,
299,
920,
64,
596,
221,
130,
832,
320,
1397,
221,
344,
327,
661,
51,
1340,
882,
1421,
43878,
51,
1340,
46,
320,
1504,
221,
5267,
556,
6300,
459,
1829,
332,
494,
2720,
6489,
494,
332,
1421,
331,
1470,
451,
6165,
2903,
494,
2720,
51,
1340,
1873,
221,
48,
7816,
3473,
664,
46079,
5452,
2903,
494,
1421,
43878,
51,
1340,
494,
18267,
742,
1397,
221,
130,
1397,
221,
1896,
899,
2439,
45,
661,
49,
1421,
43878,
49,
1773,
9095,
49,
10262,
1962,
6891,
312,
596,
221,
130,
8905,
221,
661,
6489,
3348,
621,
221,
130,
5033,
221,
325,
758,
804,
3756,
451,
6165,
642,
1773,
5839,
2102,
391,
40869,
621,
221,
999,
327,
429,
364,
299,
244,
53,
64,
364,
350,
1773,
9095,
51,
1340,
64,
364,
2002,
320,
596,
221,
344,
327,
2605,
9095,
96,
114,
1156,
320,
1397,
221,
11534,
1094,
45,
38709,
51,
5986,
100,
2333,
100,
8362,
96,
38709,
51,
2593,
4697,
744,
636,
244,
53,
49,
364,
312,
596,
221,
130,
621,
221,
130,
2556,
221,
130,
2385,
327,
6860,
503,
46,
320,
621,
221,
16153,
7926,
51,
2276,
5302,
14472,
459,
18510,
100,
23895,
100,
872,
100,
2529,
411,
503,
312,
374,
221,
130,
8312,
320,
621,
221,
344,
327,
285,
882,
762,
46,
320,
596,
221,
1287,
320,
1397,
221,
285,
51,
2698,
492,
596,
221,
130,
2385,
327,
6860,
503,
46,
320,
1397,
221,
16153,
7926,
51,
2276,
5302,
14472,
459,
18510,
100,
2698,
100,
2255,
100,
471,
100,
624,
100,
781,
411,
503,
312,
596,
221,
130,
621,
221,
130,
374,
221,
130,
376,
221,
130,
1332,
221,
2072,
782,
1991,
899,
2439,
45,
671,
1197,
2720,
49,
1922,
1197,
1421,
43878,
49,
1922,
1197,
1773,
9095,
49,
1370,
10262,
1962,
6891,
46,
320,
374,
221,
999,
327,
429,
300,
299,
244,
53,
64,
300,
350,
2720,
51,
1340,
64,
300,
2002,
320,
621,
221,
344,
327,
2057,
43878,
96,
104,
1156,
320,
596,
221,
429,
804,
638,
299,
2715,
27244,
51,
13770,
64,
596,
221,
671,
804,
299,
2720,
96,
104,
988,
8905,
221,
344,
1849,
872,
882,
762,
46,
979,
327,
872,
51,
1340,
365,
868,
244,
53,
46,
979,
1445,
872,
51,
3591,
459,
68,
14040,
320,
1397,
221,
2605,
9095,
96,
104,
98,
299,
920,
64,
1397,
221,
1287,
320,
1504,
221,
671,
10262,
899,
299,
804,
51,
3249,
45,
12730,
1962,
6891,
49,
5629,
912,
1504,
221,
2640,
362,
299,
6938,
51,
38832,
45,
12730,
899,
312,
1504,
221,
344,
1849,
47383,
630,
2715,
27244,
51,
13770,
46,
979,
1445,
7926,
51,
47141,
45,
5728,
51,
1514,
45,
105,
490,
362,
2636,
320,
2904,
221,
47383,
299,
2715,
27244,
51,
18672,
64,
2904,
221,
2057,
43878,
96,
104,
98,
299,
920,
64,
1504,
221,
130,
1397,
221,
130,
2385,
327,
1936,
25931,
503,
46,
320,
1504,
221,
47383,
299,
2715,
27244,
51,
2593,
4697,
744,
64,
1504,
221,
2057,
43878,
96,
104,
98,
299,
920,
64,
1397,
221,
130,
596,
221,
130,
596,
221,
11534,
1094,
45,
38709,
51,
5986,
100,
2333,
100,
8362,
96,
47383,
636,
244,
53,
49,
300,
312,
621,
221,
130,
374,
221,
130,
376,
221,
130,
1332,
221,
69,
1806,
376,
221,
942,
648,
640,
2154,
1552,
365,
320,
374,
221,
620,
10868,
51,
911,
492,
376,
221,
130,
1332,
221,
69,
1806,
376,
221,
942,
648,
640,
39685,
365,
320,
374,
221,
620,
244,
54,
64,
376,
221,
130,
1332,
221,
69,
1806,
376,
221,
942,
782,
27609,
1094,
45,
976,
804,
49,
648,
40023,
49,
648,
46374,
46,
320,
374,
221,
671,
804,
11445,
299,
327,
671,
46,
804,
64,
374,
221,
429,
804,
638,
299,
2715,
27244,
51,
2593,
4697,
744,
64,
374,
221,
999,
327,
429,
613,
299,
244,
53,
64,
613,
350,
2715,
27244,
51,
5986,
100,
2333,
100,
8362,
51,
1340,
64,
613,
2002,
320,
621,
221,
344,
327,
38709,
51,
5986,
100,
2333,
100,
8362,
96,
110,
1015,
3591,
45,
872,
11445,
509,
320,
596,
221,
47383,
299,
613,
64,
596,
221,
2986,
64,
621,
221,
130,
374,
221,
130,
374,
221,
2230,
8622,
1932,
299,
10868,
51,
390,
45,
2628,
1301,
312,
374,
221,
2230,
3627,
2230,
299,
1932,
51,
11383,
492,
374,
221,
1876,
51,
10790,
45,
2230,
2232,
51,
2357,
17643,
45,
1477,
2230,
49,
804,
638,
894,
376,
221,
130,
1332,
221,
69,
1806,
376,
221,
942,
2210,
21517,
1094,
45,
429,
40023,
49,
648,
46374,
46,
320,
374,
221,
620,
2715,
27244,
51,
5986,
100,
2333,
100,
8362,
96,
11268,
51,
390,
45,
2628,
1301,
566,
11383,
941,
6693,
638,
22061,
376,
221,
130,
1332,
221,
69,
1806,
376,
221,
942,
910,
640,
16702,
45,
429,
2656,
46,
320,
374,
221,
620,
10868,
51,
390,
45,
2628,
566,
11383,
941,
5175,
492,
376,
221,
130,
222,
221,
130,
499,
221,
2072,
5958,
2044,
2339,
22934,
17643,
36983,
1573,
64,
499,
221,
942,
5958,
2044,
2339,
22934,
17643,
1617,
45,
739,
65,
2230,
8622,
67,
10868,
46,
320,
376,
221,
5282,
45,
1886,
312,
376,
221,
42856,
14595,
2116,
45,
13237,
100,
632,
3382,
100,
6672,
312,
376,
221,
597,
51,
1184,
299,
556,
5958,
2044,
2339,
22934,
17643,
36983,
45,
11268,
312,
376,
221,
42723,
45,
1184,
312,
376,
221,
1896,
492,
222,
221,
130,
499,
221,
942,
782,
11107,
899,
2439,
45,
991,
727,
49,
910,
5101,
671,
49,
910,
2656,
27088,
4079,
49,
1370,
10262,
1962,
6891,
49,
374,
221,
4412,
813,
32245,
49,
1922,
1950,
1829,
1482,
4128,
46,
320,
376,
221,
597,
51,
1184,
621,
221,
51,
23895,
899,
2439,
45,
624,
49,
5101,
671,
49,
2656,
27088,
4079,
49,
10262,
1962,
6891,
49,
813,
32245,
49,
1950,
1829,
1482,
4128,
312,
222,
221,
130,
499,
221,
942,
782,
1991,
365,
320,
376,
221,
1181,
5597,
36983,
46,
47488,
4269,
5734,
1617,
8648,
3663,
492,
376,
221,
39615,
1262,
2656,
1262,
299,
640,
2154,
1262,
492,
376,
221,
999,
327,
429,
613,
299,
244,
53,
64,
613,
350,
2656,
1262,
51,
19226,
1552,
492,
613,
2002,
320,
374,
221,
39615,
1877,
2154,
299,
2656,
1262,
51,
19226,
45,
110,
312,
374,
221,
1292,
2154,
51,
489,
17211,
2627,
45,
54,
55,
53,
312,
376,
221,
130,
222,
221,
130,
499,
221,
69,
1806,
222,
221,
942,
1922,
458,
2917,
21596,
45,
429,
2720,
49,
648,
956,
46,
320,
376,
221,
620,
878,
64,
222,
221,
130,
499,
221,
69,
1806,
222,
221,
942,
5565,
2917,
4836,
640,
2917,
4836,
45,
429,
2720,
49,
648,
2656,
46,
320,
376,
221,
739,
65,
671,
67,
1674,
2439,
299,
556,
21057,
65,
671,
2938,
376,
221,
999,
327,
429,
613,
299,
244,
53,
64,
613,
350,
2715,
27244,
51,
5986,
100,
2333,
100,
8362,
51,
1340,
64,
613,
2002,
320,
374,
221,
344,
1849,
110,
882,
2715,
27244,
51,
18384,
100,
5986,
46,
979,
327,
110,
882,
2715,
27244,
51,
3555,
100,
4088,
46,
596,
221,
6017,
1445,
38709,
51,
18384,
100,
5986,
100,
2333,
51,
316,
70,
45,
110,
49,
2715,
27244,
51,
5252,
100,
4812,
2636,
320,
621,
221,
4001,
2439,
51,
688,
45,
38709,
51,
18384,
100,
5986,
100,
2333,
51,
1130,
1301,
45,
110,
894,
374,
221,
130,
376,
221,
130,
376,
221,
671,
1197,
804,
2439,
299,
556,
910,
96,
4001,
2439,
51,
911,
22061,
376,
221,
429,
373,
6489,
299,
244,
53,
64,
376,
221,
999,
327,
671,
847,
518,
1674,
2439,
46,
320,
374,
221,
872,
2439,
96,
123,
6489,
13415,
299,
847,
64,
376,
221,
130,
376,
221,
79,
11248,
65,
671,
67,
847,
1723,
299,
556,
990,
11248,
11530,
872,
2439,
312,
376,
221,
700,
1723,
51,
28525,
45,
10775,
51,
5934,
51,
2299,
1590,
51,
24849,
459,
1617,
51,
3400,
5777,
2992,
376,
221,
620,
556,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1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 2,296 | true | 69.837758 | true | true |
S3ArchiveImageHandler.java | /FileExtraction/Java_unseen/markwest1972_smart-security-camera/aws-lambda-functions/java/s3-archive-image/S3ArchiveImageHandler.java | package no.markawest.smartsecuritycamera;
import com.amazonaws.services.lambda.runtime.Context;
import com.amazonaws.services.lambda.runtime.RequestHandler;
import com.amazonaws.services.s3.AmazonS3;
import com.amazonaws.services.s3.AmazonS3ClientBuilder;
import com.amazonaws.services.s3.model.CopyObjectRequest;
import com.amazonaws.services.s3.model.DeleteObjectRequest;
/**
* Archives snapshots, depending on their alert status.
*
* Part of the Smart Security Camera project.
*
* @author mark.west
*/
public class S3ArchiveImageHandler implements RequestHandler<Parameters, Parameters> {
@Override
public Parameters handleRequest(Parameters parameters, Context context) {
context.getLogger().log("Input Function [" + context.getFunctionName() + "], Parameters [" + parameters + "]");
// The archive location of the snapshot will be decided by the alert
// flag
String newFilename;
if (parameters.getSendAlert()) {
newFilename = parameters.getS3Key().replace("upload/", "archive/alerts/");
} else {
newFilename = parameters.getS3Key().replace("upload/", "archive/falsepositives/");
}
// Ensure that the first two hyphens are used to create sub-directories
// in the file path
newFilename = newFilename.replaceFirst("-", "/");
newFilename = newFilename.replaceFirst("-", "/");
// Using the S3 client, first copy the file to the archive, and then
// delete the original
AmazonS3 client = AmazonS3ClientBuilder.defaultClient();
CopyObjectRequest copyObjectRequest = new CopyObjectRequest(parameters.getS3Bucket(), parameters.getS3Key(), parameters.getS3Bucket(), newFilename);
client.copyObject(copyObjectRequest);
DeleteObjectRequest deleteObjectRequest = new DeleteObjectRequest(parameters.getS3Bucket(), parameters.getS3Key());
client.deleteObject(deleteObjectRequest);
// Place the new location in the parameters
parameters.setS3ArchivedKey(newFilename);
context.getLogger().log("Output Function [" + context.getFunctionName() + "], Parameters [" + parameters + "]");
return parameters;
}
}
| 2,226 | Java | .java | markwest1972/smart-security-camera | 111 | 33 | 1 | 2017-01-08T08:16:42Z | 2019-04-14T19:06:26Z | 682d68979475b8d6deb6691cb08329ecc73d33906d9147ea20e9474c4d849c77 | [] | [
1337,
1307,
51,
1846,
831,
464,
51,
11407,
4386,
9002,
64,
222,
222,
485,
785,
51,
13811,
51,
4270,
51,
6034,
51,
4700,
51,
1237,
64,
222,
485,
785,
51,
13811,
51,
4270,
51,
6034,
51,
4700,
51,
29911,
64,
222,
485,
785,
51,
13811,
51,
4270,
51,
120,
56,
51,
20080,
88,
56,
64,
222,
485,
785,
51,
13811,
51,
4270,
51,
120,
56,
51,
20080,
88,
56,
1503,
1812,
64,
222,
485,
785,
51,
13811,
51,
4270,
51,
120,
56,
51,
1184,
51,
4014,
976,
1123,
64,
222,
485,
785,
51,
13811,
51,
4270,
51,
120,
56,
51,
1184,
51,
3422,
976,
1123,
64,
222,
222,
1350,
222,
338,
12763,
4145,
31621,
49,
14732,
563,
3641,
5973,
2302,
51,
222,
338,
1676,
338,
6695,
451,
341,
18852,
7344,
15910,
2091,
51,
222,
338,
1676,
338,
496,
2133,
3658,
51,
12587,
222,
588,
222,
942,
462,
377,
56,
13800,
1675,
1985,
4584,
4463,
1985,
65,
3694,
49,
8377,
67,
320,
465,
496,
1806,
303,
581,
8377,
2902,
1123,
45,
3694,
3406,
49,
7063,
1637,
46,
320,
603,
1637,
51,
10588,
941,
769,
459,
1630,
4564,
3059,
494,
1637,
51,
390,
37616,
365,
494,
332,
636,
8377,
3059,
494,
3406,
494,
13697,
742,
603,
453,
906,
13647,
3913,
451,
341,
10432,
1118,
545,
20986,
829,
341,
5973,
310,
453,
4666,
310,
910,
556,
10246,
64,
310,
434,
327,
5173,
51,
390,
4878,
8104,
1177,
320,
343,
556,
10246,
299,
244,
3406,
51,
18721,
56,
971,
941,
3249,
459,
4480,
10974,
332,
8945,
52,
23697,
38740,
310,
339,
832,
320,
343,
556,
10246,
299,
3406,
51,
18721,
56,
971,
941,
3249,
459,
4480,
10974,
332,
8945,
52,
1886,
1875,
4145,
38740,
310,
339,
603,
453,
15135,
708,
341,
1950,
3161,
13473,
853,
1249,
904,
1674,
391,
1506,
1381,
50,
23994,
310,
453,
347,
341,
822,
1536,
310,
556,
10246,
299,
556,
10246,
51,
3249,
3485,
10364,
411,
2450,
742,
310,
556,
10246,
299,
556,
10246,
51,
3249,
3485,
10364,
411,
2450,
742,
603,
453,
9659,
341,
377,
56,
2060,
49,
1950,
1948,
341,
822,
391,
341,
13647,
49,
480,
1636,
310,
453,
3081,
341,
4732,
310,
11645,
88,
56,
2060,
299,
11645,
88,
56,
1503,
1812,
51,
1555,
1503,
492,
310,
2406,
976,
1123,
1948,
976,
1123,
299,
556,
2406,
976,
1123,
45,
5173,
51,
18721,
56,
9006,
1046,
3406,
51,
18721,
56,
971,
1046,
3406,
51,
18721,
56,
9006,
1046,
556,
10246,
312,
310,
2060,
51,
3014,
976,
45,
3014,
976,
1123,
312,
310,
6802,
976,
1123,
3081,
976,
1123,
299,
556,
6802,
976,
1123,
45,
5173,
51,
18721,
56,
9006,
1046,
3406,
51,
18721,
56,
971,
1052,
310,
2060,
51,
2577,
976,
45,
2577,
976,
1123,
312,
603,
453,
17693,
341,
556,
3913,
347,
341,
3406,
310,
3406,
51,
489,
88,
56,
7867,
6955,
971,
45,
909,
10246,
312,
603,
1637,
51,
10588,
941,
769,
459,
2319,
4564,
3059,
494,
1637,
51,
390,
37616,
365,
494,
332,
636,
8377,
3059,
494,
3406,
494,
13697,
742,
603,
461,
3406,
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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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
]
] | 505 | true | 69.631626 | true | true |
Vl_cartografia_tit_cCommonDao.java | /FileExtraction/Java_unseen/IstitutoCentraleCatalogoUnicoBiblio_SBNWeb-Open/SbnMarcEJB/ejbModule/it/finsiel/sbn/polo/dao/common/viste/Vl_cartografia_tit_cCommonDao.java | /*******************************************************************************
* Copyright (C) 2019 ICCU - Istituto Centrale per il Catalogo Unico
*
* 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 it.finsiel.sbn.polo.dao.common.viste;
import it.finsiel.sbn.exception.InfrastructureException;
import it.finsiel.sbn.polo.dao.common.tavole.Tb_cartografiaCommonDao;
import it.finsiel.sbn.polo.dao.common.tavole.Tb_titoloCommonDao;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.util.HashMap;
public class Vl_cartografia_tit_cCommonDao extends Tb_titoloCommonDao {
protected boolean kycleslike = false;
Tb_cartografiaCommonDao cartografia;
//Tb_titoloCommonDao titolo;
public Vl_cartografia_tit_cCommonDao() {
super();
}
public void createCriteria(HashMap opzioni) throws InfrastructureException
{
try {
Class cl = Vl_cartografia_tit_cCommonDao.class;//this.getClass();
Method[] metodi = cl.getDeclaredMethods();
for(int index =0; index<metodi.length; index++){
if(metodi[index].getName().startsWith("set")){
metodi[index].invoke(this,new Object[] { opzioni});
//log.debug(metodi[index].getName());
}
}
this.cartografia = new Tb_cartografiaCommonDao(this.basicCriteria);
//this.titolo = new Tb_titoloCommonDao(this.basicCriteria);
super.createCriteria(opzioni);
this.cartografia.createCriteria(opzioni);
//this.titolo.createCriteria(opzioni);
} catch (IllegalArgumentException e) {
// TODO Auto-generated catch block
e.printStackTrace();
throw new InfrastructureException(e);
} catch (IllegalAccessException e) {
// TODO Auto-generated catch block
e.printStackTrace();
throw new InfrastructureException(e);
} catch (InvocationTargetException e) {
// TODO Auto-generated catch block
e.printStackTrace();
throw new InfrastructureException(e);
}
}
public static void main(String[] args) throws Exception{
Vl_cartografia_tit_cCommonDao aut = new Vl_cartografia_tit_cCommonDao();
aut.createCriteria(new HashMap());
System.exit(0);
}
}
| 2,861 | Java | .java | IstitutoCentraleCatalogoUnicoBiblio/SBNWeb-Open | 9 | 7 | 0 | 2019-03-11T09:49:50Z | 2023-07-04T11:46:55Z | bb569a4c6e699a08eecc7c4d5dc91f789a118d0f6a972180e502db42037333c4 | [] | [
28683,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
54,
62,
457,
2218,
90,
449,
457,
289,
302,
1318,
15072,
119,
1572,
1313,
6245,
25257,
116,
1703,
5701,
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,
30994,
6153,
5062,
1196,
641,
9582,
222,
338,
829,
341,
7834,
3870,
7120,
49,
3173,
1522,
244,
56,
451,
341,
1196,
49,
575,
222,
338,
327,
288,
1390,
2489,
46,
1364,
6146,
1522,
51,
222,
338,
1676,
338,
1369,
3477,
458,
2744,
347,
341,
9850,
708,
580,
1118,
545,
6386,
49,
222,
338,
1294,
4213,
2979,
9345,
64,
2895,
4462,
341,
4506,
14319,
451,
222,
338,
7934,
575,
8114,
4800,
418,
7848,
7763,
51,
244,
2819,
341,
222,
338,
6994,
30994,
6153,
5062,
1196,
456,
1851,
4261,
51,
222,
338,
1676,
338,
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
30994,
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,
39664,
222,
1337,
580,
51,
107,
2395,
691,
51,
5692,
115,
51,
864,
335,
51,
13974,
51,
2297,
51,
123,
25707,
64,
222,
222,
485,
580,
51,
107,
2395,
691,
51,
5692,
115,
51,
3918,
51,
21527,
1002,
64,
222,
485,
580,
51,
107,
2395,
691,
51,
5692,
115,
51,
864,
335,
51,
13974,
51,
2297,
51,
121,
472,
2652,
51,
27327,
100,
3745,
471,
15489,
923,
5248,
8924,
64,
222,
485,
580,
51,
107,
2395,
691,
51,
5692,
115,
51,
864,
335,
51,
13974,
51,
2297,
51,
121,
472,
2652,
51,
27327,
100,
121,
4736,
335,
5248,
8924,
64,
222,
222,
485,
1401,
51,
1600,
51,
9069,
51,
13777,
40534,
64,
222,
485,
1401,
51,
1600,
51,
9069,
51,
1885,
64,
222,
485,
1401,
51,
1058,
51,
8263,
64,
222,
222,
942,
462,
694,
113,
100,
3745,
471,
15489,
923,
100,
17928,
100,
104,
5248,
8924,
2041,
413,
103,
100,
121,
4736,
335,
5248,
8924,
320,
17522,
2532,
1922,
851,
10813,
1904,
6257,
299,
920,
64,
303,
413,
103,
100,
3745,
471,
15489,
923,
5248,
8924,
6378,
471,
15489,
923,
64,
303,
453,
27327,
100,
121,
4736,
335,
5248,
8924,
292,
4736,
335,
64,
499,
221,
942,
694,
113,
100,
3745,
471,
15489,
923,
100,
17928,
100,
104,
5248,
8924,
365,
320,
310,
2615,
492,
222,
221,
130,
3067,
221,
942,
782,
1506,
11810,
45,
8263,
3107,
38638,
46,
2589,
39643,
1002,
222,
221,
128,
376,
221,
1287,
320,
374,
221,
1359,
1553,
299,
694,
113,
100,
3745,
471,
15489,
923,
100,
17928,
100,
104,
5248,
8924,
51,
842,
15345,
597,
51,
9699,
492,
374,
221,
1885,
1197,
3294,
32873,
299,
1553,
51,
36823,
8898,
492,
374,
221,
999,
45,
429,
1671,
299,
53,
64,
1671,
65,
2580,
32873,
51,
1340,
64,
1671,
9258,
621,
221,
344,
45,
2580,
32873,
96,
1076,
1015,
5175,
941,
13907,
459,
489,
21133,
1397,
221,
2580,
32873,
96,
1076,
1015,
7845,
45,
597,
49,
909,
2210,
1197,
320,
3107,
38638,
1933,
596,
221,
325,
769,
51,
2824,
45,
2580,
32873,
96,
1076,
1015,
5175,
1052,
621,
221,
130,
374,
221,
130,
343,
477,
51,
3745,
471,
15489,
923,
299,
556,
413,
103,
100,
3745,
471,
15489,
923,
5248,
8924,
45,
597,
51,
6404,
11810,
312,
343,
453,
597,
51,
121,
4736,
335,
299,
556,
413,
103,
100,
121,
4736,
335,
5248,
8924,
45,
597,
51,
6404,
11810,
312,
343,
2615,
51,
1315,
11810,
45,
539,
38638,
312,
343,
477,
51,
3745,
471,
15489,
923,
51,
1315,
11810,
45,
539,
38638,
312,
343,
453,
597,
51,
121,
4736,
335,
51,
1315,
11810,
45,
539,
38638,
312,
1332,
221,
130,
2385,
327,
25894,
503,
46,
320,
374,
221,
325,
4314,
7998,
50,
6413,
2385,
2181,
374,
221,
106,
51,
9428,
492,
374,
221,
5267,
556,
39643,
1002,
45,
106,
312,
376,
221,
130,
2385,
327,
15083,
27123,
503,
46,
320,
374,
221,
325,
4314,
7998,
50,
6413,
2385,
2181,
374,
221,
106,
51,
9428,
492,
374,
221,
5267,
556,
39643,
1002,
45,
106,
312,
376,
221,
130,
2385,
327,
13777,
40534,
503,
46,
320,
374,
221,
325,
4314,
7998,
50,
6413,
2385,
2181,
374,
221,
106,
51,
9428,
492,
374,
221,
5267,
556,
39643,
1002,
45,
106,
312,
376,
221,
130,
222,
221,
130,
222,
221,
942,
924,
782,
2594,
45,
671,
1197,
2194,
46,
2589,
3284,
128,
376,
221,
29678,
100,
3745,
471,
15489,
923,
100,
17928,
100,
104,
5248,
8924,
7140,
299,
556,
694,
113,
100,
3745,
471,
15489,
923,
100,
17928,
100,
104,
5248,
8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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
]
] | 792 | true | 68.57742 | true | true |
JRPrintServiceExporter.java | /FileExtraction/Java_unseen/ptidejteam_Ptidej-v5_2/Ptidej Reporting Tests/src/net/sf/jasperreports/engine/export/JRPrintServiceExporter.java | /*
* ============================================================================
* GNU Lesser General Public License
* ============================================================================
*
* JasperReports - Free Java report-generating library.
* Copyright (C) 2001-2006 JasperSoft Corporation http://www.jaspersoft.com
*
* 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 2.1 of the License, or (at your option) any later version.
*
* This library 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 library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
*
* JasperSoft Corporation
* 303 Second Street, Suite 450 North
* San Francisco, CA 94107
* http://www.jaspersoft.com
*/
package net.sf.jasperreports.engine.export;
import java.awt.Graphics;
import java.awt.print.PageFormat;
import java.awt.print.Printable;
import java.awt.print.PrinterException;
import java.awt.print.PrinterJob;
import java.util.ArrayList;
import java.util.List;
import javax.print.PrintService;
import javax.print.PrintServiceLookup;
import javax.print.attribute.Attribute;
import javax.print.attribute.HashPrintRequestAttributeSet;
import javax.print.attribute.HashPrintServiceAttributeSet;
import javax.print.attribute.PrintRequestAttributeSet;
import javax.print.attribute.PrintServiceAttributeSet;
import javax.print.attribute.standard.MediaPrintableArea;
import javax.print.attribute.standard.OrientationRequested;
import javax.print.attribute.standard.PageRanges;
import javax.print.attribute.standard.PrinterIsAcceptingJobs;
import net.sf.jasperreports.engine.JRAbstractExporter;
import net.sf.jasperreports.engine.JRException;
import net.sf.jasperreports.engine.JRExporterParameter;
import net.sf.jasperreports.engine.JRReport;
import net.sf.jasperreports.engine.JasperPrint;
import net.sf.jasperreports.engine.print.JRPrinterAWT;
/**
* @author Teodor Danciu (teodord@users.sourceforge.net)
* @version $Id: JRPrintServiceExporter.java,v 1.1 2008/09/29 16:20:46 guehene Exp $
*/
public class JRPrintServiceExporter extends JRAbstractExporter implements Printable
{
/**
*
*/
protected JRGraphics2DExporter exporter = null;
protected boolean displayPageDialog = false;
protected boolean displayPageDialogOnlyOnce = false;
protected boolean displayPrintDialog = false;
protected boolean displayPrintDialogOnlyOnce = false;
protected int reportIndex = 0;
private PrintService printService = null;
private Boolean[] printStatus = null;
/**
*
*/
public void exportReport() throws JRException
{
/* */
setOffset();
try
{
/* */
setExportContext();
/* */
setInput();
/* */
if (!this.isModeBatch)
{
setPageRange();
}
PrintServiceAttributeSet printServiceAttributeSet =
(PrintServiceAttributeSet)this.parameters.get(JRPrintServiceExporterParameter.PRINT_SERVICE_ATTRIBUTE_SET);
if (printServiceAttributeSet == null)
{
printServiceAttributeSet = new HashPrintServiceAttributeSet();
}
Boolean pageDialog = (Boolean)this.parameters.get(JRPrintServiceExporterParameter.DISPLAY_PAGE_DIALOG);
if (pageDialog != null)
{
this.displayPageDialog = pageDialog.booleanValue();
}
Boolean pageDialogOnlyOnce = (Boolean)this.parameters.get(JRPrintServiceExporterParameter.DISPLAY_PAGE_DIALOG_ONLY_ONCE);
if (this.displayPageDialog && pageDialogOnlyOnce != null)
{
// it can be (eventually) set to true only if displayPageDialog is true
this.displayPageDialogOnlyOnce = pageDialogOnlyOnce.booleanValue();
}
Boolean printDialog = (Boolean)this.parameters.get(JRPrintServiceExporterParameter.DISPLAY_PRINT_DIALOG);
if (printDialog != null)
{
this.displayPrintDialog = printDialog.booleanValue();
}
Boolean printDialogOnlyOnce = (Boolean)this.parameters.get(JRPrintServiceExporterParameter.DISPLAY_PRINT_DIALOG_ONLY_ONCE);
if (this.displayPrintDialog && printDialogOnlyOnce != null)
{
// it can be (eventually) set to true only if displayPrintDialog is true
this.displayPrintDialogOnlyOnce = printDialogOnlyOnce.booleanValue();
}
PrinterJob printerJob = PrinterJob.getPrinterJob();
JRPrinterAWT.initPrinterJobFields(printerJob);
printerJob.setPrintable(this);
this.printStatus = null;
// determining the print service only once
this.printService = (PrintService) this.parameters.get(JRPrintServiceExporterParameter.PRINT_SERVICE);
if (this.printService == null) {
PrintService[] services = PrintServiceLookup.lookupPrintServices(null, printServiceAttributeSet);
if (services.length > 0)
this.printService = services[0];
}
if (this.printService == null)
{
throw new JRException("No suitable print service found.");
}
try
{
printerJob.setPrintService(this.printService);
}
catch (PrinterException e)
{
throw new JRException(e);
}
PrintRequestAttributeSet printRequestAttributeSet = null;
if(this.displayPrintDialogOnlyOnce || this.displayPageDialogOnlyOnce)
{
printRequestAttributeSet = new HashPrintRequestAttributeSet();
setDefaultPrintRequestAttributeSet(printRequestAttributeSet);
setOrientation((JasperPrint)this.jasperPrintList.get(0), printRequestAttributeSet);
if(this.displayPageDialogOnlyOnce)
{
if(printerJob.pageDialog(printRequestAttributeSet) == null)
return;
else
this.displayPageDialog = false;
}
if(this.displayPrintDialogOnlyOnce)
{
if(!printerJob.printDialog(printRequestAttributeSet))
{
this.printStatus = new Boolean[]{Boolean.FALSE};
return;
}
else
{
this.displayPrintDialog = false;
}
}
}
List status = new ArrayList();
// fix for bug ID artf1455 from jasperforge.org bug database
for(this.reportIndex = 0; this.reportIndex < this.jasperPrintList.size(); this.reportIndex++)
{
this.jasperPrint = (JasperPrint)this.jasperPrintList.get(this.reportIndex);
this.exporter = new JRGraphics2DExporter();
this.exporter.setParameter(JRExporterParameter.JASPER_PRINT, this.jasperPrint);
this.exporter.setParameter(JRExporterParameter.PROGRESS_MONITOR, this.parameters.get(JRExporterParameter.PROGRESS_MONITOR));
this.exporter.setParameter(JRExporterParameter.OFFSET_X, this.parameters.get(JRExporterParameter.OFFSET_X));
this.exporter.setParameter(JRExporterParameter.OFFSET_Y, this.parameters.get(JRExporterParameter.OFFSET_Y));
this.exporter.setParameter(JRGraphics2DExporterParameter.ZOOM_RATIO, this.parameters.get(JRGraphics2DExporterParameter.ZOOM_RATIO));
this.exporter.setParameter(JRExporterParameter.CLASS_LOADER, this.classLoader);
this.exporter.setParameter(JRExporterParameter.URL_HANDLER_FACTORY, this.urlHandlerFactory);
this.exporter.setParameter(JRExporterParameter.FILE_RESOLVER, this.fileResolver);
if (this.parameters.containsKey(JRExporterParameter.FILTER))
{
this.exporter.setParameter(JRExporterParameter.FILTER, this.filter);
}
this.exporter.setParameter(JRGraphics2DExporterParameter.MINIMIZE_PRINTER_JOB_SIZE, this.parameters.get(JRGraphics2DExporterParameter.MINIMIZE_PRINTER_JOB_SIZE));
if(this.displayPrintDialog || this.displayPageDialog ||
(!this.displayPrintDialogOnlyOnce && !this.displayPageDialogOnlyOnce))
{
printRequestAttributeSet = new HashPrintRequestAttributeSet();
setDefaultPrintRequestAttributeSet(printRequestAttributeSet);
setOrientation(this.jasperPrint, printRequestAttributeSet);
}
try
{
if (!this.isModeBatch)
{
printRequestAttributeSet.add(new PageRanges(this.startPageIndex + 1, this.endPageIndex + 1));
}
printerJob.setJobName("JasperReports - " + this.jasperPrint.getName());
if (this.displayPageDialog)
{
printerJob.pageDialog(printRequestAttributeSet);
}
if (this.displayPrintDialog)
{
if (printerJob.printDialog(printRequestAttributeSet))
{
status.add(Boolean.TRUE);
printerJob.print(printRequestAttributeSet);
}
else
{
status.add(Boolean.FALSE);
}
}
else
{
printerJob.print(printRequestAttributeSet);
}
}
catch (PrinterException e)
{
throw new JRException(e);
}
}
this.printStatus = (Boolean[]) status.toArray(new Boolean[status.size()]);
this.printService = printerJob.getPrintService();
}
finally
{
resetExportContext();
}
}
/**
*
*/
public int print(Graphics graphics, PageFormat pageFormat, int pageIndex) throws PrinterException
{
if (Thread.currentThread().isInterrupted())
{
throw new PrinterException("Current thread interrupted.");
}
if ( pageIndex < 0 || pageIndex >= this.jasperPrint.getPages().size() )
{
return Printable.NO_SUCH_PAGE;
}
this.exporter.setParameter(JRGraphics2DExporterParameter.GRAPHICS_2D, graphics);
this.exporter.setParameter(JRExporterParameter.PAGE_INDEX, new Integer(pageIndex));
try
{
this.exporter.exportReport();
}
catch (JRException e)
{
throw new PrinterException(e.getMessage());
}
return Printable.PAGE_EXISTS;
}
private void setOrientation(JasperPrint jPrint,PrintRequestAttributeSet printRequestAttributeSet)
{
if (!printRequestAttributeSet.containsKey(MediaPrintableArea.class))
{
int printableWidth;
int printableHeight;
switch (jPrint.getOrientation())
{
case JRReport.ORIENTATION_LANDSCAPE:
printableWidth = jPrint.getPageHeight();
printableHeight = jPrint.getPageWidth();
break;
default:
printableWidth = jPrint.getPageWidth();
printableHeight = jPrint.getPageHeight();
break;
}
printRequestAttributeSet.add(
new MediaPrintableArea(
0f,
0f,
printableWidth / 72f,
printableHeight / 72f,
MediaPrintableArea.INCH
)
);
}
if (!printRequestAttributeSet.containsKey(OrientationRequested.class))
{
OrientationRequested orientation;
switch (jPrint.getOrientation())
{
case JRReport.ORIENTATION_LANDSCAPE:
orientation = OrientationRequested.LANDSCAPE;
break;
default:
orientation = OrientationRequested.PORTRAIT;
break;
}
printRequestAttributeSet.add(orientation);
}
}
private void setDefaultPrintRequestAttributeSet(PrintRequestAttributeSet printRequestAttributeSet)
{
PrintRequestAttributeSet printRequestAttributeSetParam =
(PrintRequestAttributeSet)this.parameters.get(JRPrintServiceExporterParameter.PRINT_REQUEST_ATTRIBUTE_SET);
if (printRequestAttributeSetParam != null)
{
printRequestAttributeSet.addAll(printRequestAttributeSetParam);
}
}
// artf1936
public static boolean checkAvailablePrinters()
{
PrintService[] ss = java.awt.print.PrinterJob.lookupPrintServices();
for (int i=0;i<ss.length;i++) {
Attribute[] att = ss[i].getAttributes().toArray();
for (int j=0;j<att.length;j++) {
if (att[j].equals(PrinterIsAcceptingJobs.ACCEPTING_JOBS)) {
return true;
}
}
}
return false;
}
/**
* Returns an array of <tt>java.lang.Boolean</tt> values, one for each appearence of the print dialog during the last export operation.
* A Boolean.TRUE value in this array means that for that particular occurrence of the print dialog, the OK button was hit.
* A Boolean.FALSE value means the respective print dialog was cancelled.
*/
public Boolean[] getPrintStatus()
{
return this.printStatus;
}
/**
* Returns the {@link PrintService} instance used by the exporter last time the exportReport() method was run.
*/
public PrintService getPrintService()
{
return this.printService;
}
}
| 12,593 | Java | .java | ptidejteam/Ptidej-v5.2 | 9 | 8 | 0 | 2017-05-16T18:53:18Z | 2018-01-13T01:05:21Z | ba306d362babc841eca2c92af0d40582d21ca3b2b239b75080752f0c5a613189 | [] | [
1127,
222,
338,
43242,
222,
338,
6994,
16227,
6153,
5062,
1196,
222,
338,
43242,
222,
338,
222,
338,
990,
41428,
21196,
449,
7834,
4957,
3652,
50,
48245,
4277,
51,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
53,
54,
50,
55,
53,
53,
59,
990,
41428,
14993,
13172,
1930,
574,
1516,
51,
40871,
1705,
51,
527,
222,
338,
1676,
338,
1369,
4277,
458,
3760,
2951,
64,
863,
902,
14081,
580,
480,
52,
290,
222,
338,
5370,
580,
1549,
341,
5974,
451,
341,
6994,
16227,
6153,
5062,
222,
338,
1196,
641,
9582,
829,
341,
7834,
3870,
7120,
64,
3173,
222,
338,
1522,
244,
55,
51,
54,
451,
341,
1196,
49,
575,
327,
288,
1390,
2489,
46,
1364,
6146,
1522,
51,
222,
338,
1676,
338,
1369,
4277,
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,
16227,
6153,
5062,
1196,
456,
1851,
4261,
51,
222,
338,
1676,
338,
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
16227,
6153,
5062,
222,
338,
1196,
7979,
642,
477,
4277,
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,
49,
15067,
51,
222,
338,
1676,
338,
990,
41428,
14993,
13172,
222,
338,
244,
56,
53,
56,
15123,
22321,
49,
25280,
244,
57,
58,
53,
27971,
222,
338,
21108,
48604,
49,
10562,
244,
62,
57,
54,
53,
60,
222,
338,
1930,
574,
1516,
51,
40871,
1705,
51,
527,
222,
588,
222,
1337,
3723,
51,
6463,
51,
40871,
13787,
51,
3502,
51,
1376,
64,
222,
222,
485,
1401,
51,
8236,
51,
8524,
64,
222,
485,
1401,
51,
8236,
51,
1243,
51,
1983,
2222,
64,
222,
485,
1401,
51,
8236,
51,
1243,
51,
4026,
463,
64,
222,
485,
1401,
51,
8236,
51,
1243,
51,
14379,
1002,
64,
222,
485,
1401,
51,
8236,
51,
1243,
51,
14379,
3798,
64,
222,
485,
1401,
51,
1058,
51,
7119,
64,
222,
485,
1401,
51,
1058,
51,
739,
64,
222,
222,
485,
3698,
51,
1243,
51,
4026,
1201,
64,
222,
485,
3698,
51,
1243,
51,
4026,
1201,
10138,
64,
222,
485,
3698,
51,
1243,
51,
4902,
51,
2230,
64,
222,
485,
3698,
51,
1243,
51,
4902,
51,
2899,
4026,
1123,
2230,
903,
64,
222,
485,
3698,
51,
1243,
51,
4902,
51,
2899,
4026,
1201,
2230,
903,
64,
222,
485,
3698,
51,
1243,
51,
4902,
51,
4026,
1123,
2230,
903,
64,
222,
485,
3698,
51,
1243,
51,
4902,
51,
4026,
1201,
2230,
903,
64,
222,
485,
3698,
51,
1243,
51,
4902,
51,
9165,
51,
5003,
4026,
463,
5585,
64,
222,
485,
3698,
51,
1243,
51,
4902,
51,
9165,
51,
13986,
14809,
64,
222,
485,
3698,
51,
1243,
51,
4902,
51,
9165,
51,
1983,
19665,
64,
222,
485,
3698,
51,
1243,
51,
4902,
51,
9165,
51,
14379,
1640,
7082,
318,
14502,
64,
222,
222,
485,
3723,
51,
6463,
51,
40871,
13787,
51,
3502,
51,
26416,
5597,
22465,
64,
222,
485,
3723,
51,
6463,
51,
40871,
13787,
51,
3502,
51,
26416,
1002,
64,
222,
485,
3723,
51,
6463,
51,
40871,
13787,
51,
3502,
51,
26416,
22465,
3026,
64,
222,
485,
3723,
51,
6463,
51,
40871,
13787,
51,
3502,
51,
26416,
4158,
64,
222,
485,
3723,
51,
6463,
51,
40871,
13787,
51,
3502,
51,
79,
41428,
4026,
64,
222,
485,
3723,
51,
6463,
51,
40871,
13787,
51,
3502,
51,
1243,
51,
26416,
14379,
7286,
89,
64,
499,
222,
1350,
222,
338,
496,
2133,
5004,
450,
290,
22552,
45012,
327,
538,
450,
675,
69,
3724,
51,
21426,
51,
1317,
46,
222,
338,
496,
1687,
417,
625,
63,
990,
87,
4026,
1201,
22465,
51,
1874,
49,
123,
244,
54,
51,
54,
244,
55,
53,
53,
61,
52,
53,
62,
52,
55,
62,
244,
54,
59,
63,
55,
53,
63,
57,
59,
504,
359,
109,
2126,
9665,
417,
222,
588,
222,
942,
462,
990,
87,
4026,
1201,
22465,
2041,
990,
87,
5597,
22465,
4584,
9232,
463,
222,
128,
3067,
221,
1350,
376,
338,
376,
588,
222,
221,
5332,
990,
87,
8524,
55,
73,
22465,
38474,
299,
762,
64,
222,
221,
5332,
1922,
2540,
1983,
3742,
299,
920,
64,
222,
221,
5332,
1922,
2540,
1983,
3742,
4505,
9304,
299,
920,
64,
222,
221,
5332,
1922,
2540,
4026,
3742,
299,
920,
64,
222,
221,
5332,
1922,
2540,
4026,
3742,
4505,
9304,
299,
920,
64,
499,
221,
5332,
648,
3652,
1301,
299,
244,
53,
64,
3038,
221,
2072,
9232,
1201,
1489,
1201,
299,
762,
64,
222,
221,
2072,
5080,
1197,
1489,
1551,
299,
762,
64,
3038,
221,
1350,
376,
338,
376,
588,
222,
221,
942,
782,
4184,
4158,
365,
2589,
990,
87,
1002,
222,
221,
128,
376,
221,
1127,
280,
588,
376,
221,
489,
3468,
492,
1332,
221,
1287,
376,
221,
128,
374,
221,
1127,
280,
588,
374,
221,
489,
6171,
1237,
492,
376,
374,
221,
1127,
280,
588,
374,
221,
45003,
492,
2556,
221,
1127,
280,
588,
374,
221,
344,
1445,
597,
51,
316,
2116,
6554,
46,
374,
221,
128,
621,
221,
489,
1983,
3216,
492,
374,
221,
130,
376,
374,
221,
4026,
1201,
2230,
903,
1489,
1201,
2230,
903,
299,
12493,
221,
45,
4026,
1201,
2230,
903,
46,
597,
51,
5173,
51,
390,
45,
26416,
4026,
1201,
22465,
3026,
51,
11272,
100,
12748,
100,
18384,
100,
2710,
312,
374,
221,
344,
327,
1243,
1201,
2230,
903,
630,
762,
46,
374,
221,
128,
621,
221,
1243,
1201,
2230,
903,
299,
556,
5042,
4026,
1201,
2230,
903,
492,
374,
221,
130,
2556,
221,
4718,
1957,
3742,
299,
327,
4718,
46,
597,
51,
5173,
51,
390,
45,
26416,
4026,
1201,
22465,
3026,
51,
20747,
100,
12913,
100,
33648,
312,
374,
221,
344,
327,
1655,
3742,
882,
762,
46,
374,
221,
128,
621,
221,
597,
51,
2784,
1983,
3742,
299,
1957,
3742,
51,
4412,
899,
492,
374,
221,
130,
376,
374,
221,
4718,
1957,
3742,
4505,
9304,
299,
327,
4718,
46,
597,
51,
5173,
51,
390,
45,
26416,
4026,
1201,
22465,
3026,
51,
20747,
100,
12913,
100,
33648,
100,
13003,
100,
586,
1973,
312,
374,
221,
344,
327,
597,
51,
2784,
1983,
3742,
979,
1957,
3742,
4505,
9304,
882,
762,
46,
374,
221,
128,
621,
221,
325,
580,
902,
545,
327,
1585,
3425,
46,
758,
391,
878,
1773,
434,
2540,
1983,
3742,
458,
878,
621,
221,
597,
51,
2784,
1983,
3742,
4505,
9304,
299,
1957,
3742,
4505,
9304,
51,
4412,
899,
492,
374,
221,
130,
376,
374,
221,
4718,
1489,
3742,
299,
327,
4718,
46,
597,
51,
5173,
51,
390,
45,
26416,
4026,
1201,
22465,
3026,
51,
20747,
100,
11272,
100,
33648,
312,
374,
221,
344,
327,
1243,
3742,
882,
762,
46,
374,
221,
128,
621,
221,
597,
51,
2784,
4026,
3742,
299,
1489,
3742,
51,
4412,
899,
492,
374,
221,
130,
376,
374,
221,
4718,
1489,
3742,
4505,
9304,
299,
327,
4718,
46,
597,
51,
5173,
51,
390,
45,
26416,
4026,
1201,
22465,
3026,
51,
20747,
100,
11272,
100,
33648,
100,
13003,
100,
586,
1973,
312,
374,
221,
344,
327,
597,
51,
2784,
4026,
3742,
979,
1489,
3742,
4505,
9304,
882,
762,
46,
374,
221,
128,
222,
325,
1017,
580,
902,
545,
327,
1585,
3425,
46,
758,
391,
878,
1773,
434,
2540,
4026,
3742,
458,
878,
621,
221,
597,
51,
2784,
4026,
3742,
4505,
9304,
299,
1489,
3742,
4505,
9304,
51,
4412,
899,
492,
374,
221,
130,
374,
221,
14379,
3798,
23340,
3798,
299,
45892,
3798,
51,
390,
14379,
3798,
492,
8212,
221,
26416,
14379,
7286,
89,
51,
1683,
14379,
3798,
4152,
45,
21176,
3798,
312,
8212,
221,
21176,
3798,
51,
489,
4026,
463,
45,
597,
312,
8212,
221,
597,
51,
1243,
1551,
299,
762,
64,
8212,
221,
325,
35862,
341,
1489,
2733,
1773,
5065,
374,
221,
597,
51,
1243,
1201,
299,
327,
4026,
1201,
46,
477,
51,
5173,
51,
390,
45,
26416,
4026,
1201,
22465,
3026,
51,
11272,
100,
12748,
312,
374,
221,
344,
327,
597,
51,
1243,
1201,
630,
762,
46,
320,
621,
221,
4026,
1201,
1197,
6694,
299,
9232,
1201,
10138,
51,
10124,
4026,
5466,
45,
1710,
49,
1489,
1201,
2230,
903,
312,
621,
221,
344,
327,
4270,
51,
1340,
868,
244,
53,
46,
596,
221,
597,
51,
1243,
1201,
299,
6694,
96,
53,
988,
374,
221,
130,
8212,
221,
344,
327,
597,
51,
1243,
1201,
630,
762,
46,
374,
221,
128,
621,
221,
5267,
556,
990,
87,
1002,
459,
2042,
19653,
1489,
2733,
2448,
5377,
374,
221,
130,
2556,
221,
1287,
8671,
221,
128,
621,
221,
21176,
3798,
51,
489,
4026,
1201,
45,
597,
51,
1243,
1201,
312,
374,
221,
130,
374,
221,
5639,
327,
14379,
1002,
503,
46,
8671,
221,
128,
12493,
221,
5267,
556,
990,
87,
1002,
45,
106,
312,
374,
221,
130,
2556,
221,
4026,
1123,
2230,
903,
1489,
1123,
2230,
903,
299,
762,
64,
374,
221,
344,
45,
597,
51,
2784,
4026,
3742,
4505,
9304,
1293,
477,
51,
2784,
1983,
3742,
4505,
9304,
46,
374,
221,
128,
621,
221,
1243,
1123,
2230,
903,
299,
556,
5042,
4026,
1123,
2230,
903,
492,
621,
221,
27356,
4026,
1123,
2230,
903,
45,
1243,
1123,
2230,
903,
312,
621,
221,
489,
13986,
1181,
79,
41428,
4026,
46,
597,
51,
40871,
4026,
739,
51,
390,
45,
53,
490,
1489,
1123,
2230,
903,
312,
621,
221,
344,
45,
597,
51,
2784,
1983,
3742,
4505,
9304,
46,
621,
221,
128,
596,
221,
344,
45,
21176,
3798,
51,
1655,
3742,
45,
1243,
1123,
2230,
903,
46,
630,
762,
46,
1397,
221,
620,
64,
596,
221,
728,
1397,
221,
597,
51,
2784,
1983,
3742,
299,
920,
64,
621,
221,
130,
621,
221,
344,
45,
597,
51,
2784,
4026,
3742,
4505,
9304,
46,
621,
221,
128,
596,
221,
344,
3848,
21176,
3798,
51,
1243,
3742,
45,
1243,
1123,
2230,
903,
509,
596,
221,
128,
1397,
221,
597,
51,
1243,
1551,
299,
556,
5080,
14161,
4718,
51,
7358,
1274,
1397,
221,
620,
64,
596,
221,
130,
596,
221,
728,
596,
221,
128,
1397,
221,
597,
51,
2784,
4026,
3742,
299,
920,
64,
596,
221,
130,
621,
221,
130,
374,
221,
130,
8212,
221,
739,
2302,
299,
556,
5068,
492,
374,
221,
325,
2435,
456,
4845,
2502,
5570,
107,
54,
57,
58,
58,
664,
614,
41428,
9499,
51,
1107,
4845,
3520,
374,
221,
999,
45,
597,
51,
3755,
1301,
299,
244,
53,
64,
477,
51,
3755,
1301,
350,
477,
51,
40871,
4026,
739,
51,
911,
492,
477,
51,
3755,
1301,
2002,
374,
221,
128,
621,
221,
597,
51,
40871,
4026,
299,
327,
79,
41428,
4026,
46,
597,
51,
40871,
4026,
739,
51,
390,
45,
597,
51,
3755,
1301,
312,
5033,
221,
597,
51,
19987,
299,
556,
990,
87,
8524,
55,
73,
22465,
492,
621,
221,
597,
51,
19987,
51,
31887,
45,
26416,
22465,
3026,
51,
79,
1117,
3703,
100,
11272,
49,
477,
51,
40871,
4026,
312,
621,
221,
597,
51,
19987,
51,
31887,
45,
26416,
22465,
3026,
51,
32083,
100,
41132,
49,
477,
51,
5173,
51,
390,
45,
26416,
22465,
3026,
51,
32083,
100,
41132,
894,
621,
221,
597,
51,
19987,
51,
31887,
45,
26416,
22465,
3026,
51,
10153,
100,
93,
49,
477,
51,
5173,
51,
390,
45,
26416,
22465,
3026,
51,
10153,
100,
93,
894,
621,
221,
597,
51,
19987,
51,
31887,
45,
26416,
22465,
3026,
51,
10153,
100,
94,
49,
477,
51,
5173,
51,
390,
45,
26416,
22465,
3026,
51,
10153,
100,
94,
894,
621,
221,
597,
51,
19987,
51,
31887,
45,
26416,
8524,
55,
73,
22465,
3026,
51,
28761,
5664,
100,
44467,
49,
477,
51,
5173,
51,
390,
45,
26416,
8524,
55,
73,
22465,
3026,
51,
28761,
5664,
100,
44467,
894,
621,
221,
597,
51,
19987,
51,
31887,
45,
26416,
22465,
3026,
51,
7428,
100,
5703,
546,
49,
477,
51,
842,
4903,
312,
621,
221,
597,
51,
19987,
51,
31887,
45,
26416,
22465,
3026,
51,
2427,
100,
19315,
100,
24813,
49,
477,
51,
983,
1985,
2232,
312,
621,
221,
597,
51,
19987,
51,
31887,
45,
26416,
22465,
3026,
51,
3555,
100,
31030,
1986,
49,
477,
51,
781,
7266,
312,
621,
221,
344,
327,
597,
51,
5173,
51,
15927,
45,
26416,
22465,
3026,
51,
13382,
509,
621,
221,
128,
596,
221,
597,
51,
19987,
51,
31887,
45,
26416,
22465,
3026,
51,
13382,
49,
477,
51,
2049,
312,
621,
221,
130,
621,
221,
597,
51,
19987,
51,
31887,
45,
26416,
8524,
55,
73,
22465,
3026,
51,
4697,
2348,
8490,
100,
2999,
5464,
100,
20886,
100,
3382,
49,
477,
51,
5173,
51,
390,
45,
26416,
8524,
55,
73,
22465,
3026,
51,
4697,
2348,
8490,
100,
2999,
5464,
100,
20886,
100,
3382,
894,
13699,
221,
344,
45,
597,
51,
2784,
4026,
3742,
1293,
477,
51,
2784,
1983,
3742,
1293,
1397,
221,
3848,
597,
51,
2784,
4026,
3742,
4505,
9304,
979,
673,
597,
51,
2784,
1983,
3742,
4505,
9304,
509,
621,
221,
128,
596,
221,
1243,
1123,
2230,
903,
299,
556,
5042,
4026,
1123,
2230,
903,
492,
596,
221,
27356,
4026,
1123,
2230,
903,
45,
1243,
1123,
2230,
903,
312,
596,
221,
489,
13986,
45,
597,
51,
40871,
4026,
49,
1489,
1123,
2230,
903,
312,
621,
221,
130,
374,
621,
221,
1287,
12493,
221,
128,
21926,
221,
344,
1445,
597,
51,
316,
2116,
6554,
46,
596,
221,
128,
1397,
221,
1243,
1123,
2230,
903,
51,
688,
45,
909,
6021,
19665,
45,
597,
51,
1384,
1983,
1301,
494,
244,
54,
49,
477,
51,
435,
1983,
1301,
494,
244,
54,
894,
596,
221,
130,
8905,
221,
21176,
3798,
51,
489,
3798,
577,
459,
79,
41428,
21196,
449,
332,
494,
477,
51,
40871,
4026,
51,
5175,
1052,
8905,
221,
344,
327,
597,
51,
2784,
1983,
3742,
46,
596,
221,
128,
1397,
221,
21176,
3798,
51,
1655,
3742,
45,
1243,
1123,
2230,
903,
312,
596,
221,
130,
596,
221,
344,
327,
597,
51,
2784,
4026,
3742,
46,
596,
221,
128,
1397,
221,
344,
327,
21176,
3798,
51,
1243,
3742,
45,
1243,
1123,
2230,
903,
509,
1397,
221,
128,
1504,
221,
1535,
51,
688,
45,
4718,
51,
6382,
312,
1504,
221,
21176,
3798,
51,
1243,
45,
1243,
1123,
2230,
903,
312,
1397,
221,
130,
1397,
221,
728,
1397,
221,
128,
1504,
221,
1535,
51,
688,
45,
4718,
51,
7358,
312,
1397,
221,
130,
596,
221,
130,
596,
221,
728,
596,
221,
128,
1397,
221,
21176,
3798,
51,
1243,
45,
1243,
1123,
2230,
903,
312,
596,
221,
130,
621,
221,
130,
621,
221,
5639,
327,
14379,
1002,
503,
46,
12493,
221,
128,
19753,
221,
5267,
556,
990,
87,
1002,
45,
106,
312,
621,
221,
130,
374,
221,
130,
8212,
221,
597,
51,
1243,
1551,
299,
327,
4718,
9798,
2302,
51,
14315,
45,
909,
5080,
96,
1535,
51,
911,
36584,
374,
221,
597,
51,
1243,
1201,
299,
23340,
3798,
51,
390,
4026,
1201,
492,
376,
221,
130,
376,
221,
22220,
376,
221,
128,
374,
221,
4558,
6171,
1237,
492,
376,
221,
130,
222,
221,
130,
3067,
221,
1350,
376,
338,
376,
588,
222,
221,
942,
648,
1489,
45,
8524,
18343,
49,
6021,
2222,
1957,
2222,
49,
648,
1957,
1301,
46,
2589,
45892,
1002,
222,
221,
128,
376,
221,
344,
327,
3032,
51,
36951,
941,
316,
1662,
12830,
1177,
376,
221,
128,
374,
221,
5267,
556,
45892,
1002,
459,
3075,
3682,
42032,
5377,
376,
221,
130,
1332,
221,
344,
327,
1957,
1301,
350,
244,
53,
1293,
1957,
1301,
2394,
477,
51,
40871,
4026,
51,
390,
10771,
941,
911,
365,
848,
376,
221,
128,
374,
221,
620,
9232,
463,
51,
2593,
100,
4531,
1424,
100,
12913,
64,
376,
221,
130,
4102,
221,
597,
51,
19987,
51,
31887,
45,
26416,
8524,
55,
73,
22465,
3026,
51,
17312,
14442,
100,
55,
73,
49,
18343,
312,
376,
221,
597,
51,
19987,
51,
31887,
45,
26416,
22465,
3026,
51,
12913,
100,
9199,
49,
556,
4418,
45,
1655,
1301,
894,
4102,
221,
1287,
376,
221,
128,
374,
221,
597,
51,
19987,
51,
1376,
4158,
492,
376,
221,
130,
376,
221,
5639,
327,
26416,
1002,
503,
46,
376,
221,
128,
374,
221,
5267,
556,
45892,
1002,
45,
106,
51,
7724,
1052,
376,
221,
130,
1332,
221,
620,
9232,
463,
51,
12913,
100,
26900,
64,
222,
221,
130,
3067,
221,
2072,
782,
758,
13986,
45,
79,
41428,
4026,
614,
4026,
49,
4026,
1123,
2230,
903,
1489,
1123,
2230,
903,
46,
222,
221,
128,
376,
221,
344,
1445,
1243,
1123,
2230,
903,
51,
15927,
45,
5003,
4026,
463,
5585,
51,
842,
509,
376,
221,
128,
374,
221,
429,
1489,
463,
2627,
64,
374,
221,
429,
1489,
463,
3041,
64,
374,
221,
4651,
327,
111,
4026,
51,
390,
13986,
1177,
374,
221,
128,
621,
221,
1749,
990,
87,
4158,
51,
776,
47061,
100,
32156,
2134,
34469,
63,
596,
221,
1243,
463,
2627,
299,
614,
4026,
51,
36843,
3041,
492,
596,
221,
1243,
463,
3041,
299,
614,
4026,
51,
36843,
2627,
492,
596,
221,
2986,
64,
621,
221,
1555,
63,
596,
221,
1243,
463,
2627,
299,
614,
4026,
51,
36843,
2627,
492,
596,
221,
1243,
463,
3041,
299,
614,
4026,
51,
36843,
3041,
492,
596,
221,
2986,
64,
374,
221,
130,
8212,
221,
1243,
1123,
2230,
903,
51,
688,
45,
621,
221,
909,
9826,
4026,
463,
5585,
45,
1397,
53,
107,
49,
21535,
53,
107,
49,
19753,
221,
1243,
463,
2627,
536,
244,
60,
55,
107,
49,
596,
221,
1243,
463,
3041,
536,
244,
60,
55,
107,
49,
596,
221,
5003,
4026,
463,
5585,
51,
540,
1424,
596,
221,
46,
621,
221,
312,
376,
221,
130,
1332,
221,
344,
1445,
1243,
1123,
2230,
903,
51,
15927,
45,
13986,
14809,
51,
842,
509,
376,
221,
128,
374,
221,
13986,
14809,
14111,
64,
374,
221,
4651,
327,
111,
4026,
51,
390,
13986,
1177,
374,
221,
128,
621,
221,
1749,
990,
87,
4158,
51,
776,
47061,
100,
32156,
2134,
34469,
63,
596,
221,
16557,
299,
37240,
14809,
51,
32156,
2134,
34469,
64,
596,
221,
2986,
64,
621,
221,
1555,
63,
596,
221,
16557,
299,
37240,
14809,
51,
26637,
12522,
799,
64,
596,
221,
2986,
64,
374,
221,
130,
374,
221,
1243,
1123,
2230,
903,
51,
688,
45,
16557,
312,
376,
221,
130,
15662,
221,
130,
3038,
221,
2072,
782,
43312,
4026,
1123,
2230,
903,
45,
4026,
1123,
2230,
903,
1489,
1123,
2230,
903,
46,
222,
221,
128,
376,
221,
4026,
1123,
2230,
903,
1489,
1123,
2230,
903,
3196,
299,
8671,
221,
45,
4026,
1123,
2230,
903,
46,
597,
51,
5173,
51,
390,
45,
26416,
4026,
1201,
22465,
3026,
51,
11272,
100,
7921,
100,
18384,
100,
2710,
312,
376,
221,
344,
327,
1243,
1123,
2230,
903,
3196,
882,
762,
46,
376,
221,
128,
374,
221,
1243,
1123,
2230,
903,
51,
15109,
45,
1243,
1123,
2230,
903,
3196,
312,
376,
221,
130,
222,
221,
130,
499,
221,
325,
5570,
107,
54,
62,
56,
59,
222,
221,
942,
924,
1922,
1524,
8590,
44118,
365,
1676,
221,
128,
376,
221,
4026,
1201,
1197,
10073,
299,
1401,
51,
8236,
51,
1243,
51,
14379,
3798,
51,
10124,
4026,
5466,
492,
376,
221,
999,
327,
429,
613,
66,
53,
64,
110,
65,
441,
51,
1340,
64,
110,
2002,
320,
374,
221,
2230,
1197,
3725,
299,
10073,
96,
110,
1015,
43174,
941,
14315,
492,
374,
221,
999,
327,
429,
614,
66,
53,
64,
111,
65,
3150,
51,
1340,
64,
111,
2002,
320,
621,
221,
344,
327,
3150,
96,
111,
1015,
3591,
45,
14379,
1640,
7082,
318,
14502,
51,
28416,
1410,
100,
20886,
88,
509,
320,
596,
221,
620,
878,
64,
621,
221,
130,
374,
221,
130,
376,
221,
130,
376,
221,
620,
920,
64,
222,
221,
130,
499,
221,
1350,
376,
338,
3777,
619,
1437,
451,
350,
2269,
67,
1874,
51,
1600,
51,
4718,
396,
2269,
67,
2102,
49,
1611,
456,
2531,
11104,
11734,
388,
451,
341,
1489,
7501,
5945,
341,
2419,
4184,
4231,
51,
376,
338,
418,
5080,
51,
6382,
804,
347,
477,
1437,
6084,
708,
456,
708,
8445,
35346,
451,
341,
1489,
7501,
49,
341,
9209,
3467,
1616,
8990,
51,
4517,
338,
418,
5080,
51,
7358,
804,
6084,
341,
24248,
1489,
7501,
1616,
25532,
51,
376,
588,
222,
221,
942,
5080,
1197,
640,
4026,
1551,
365,
1676,
221,
128,
376,
221,
620,
477,
51,
1243,
1551,
64,
222,
221,
130,
499,
221,
1350,
376,
338,
3777,
341,
3105,
1222,
9232,
1201,
130,
1998,
1674,
829,
341,
38474,
2419,
1153,
341,
4184,
4158,
365,
1431,
1616,
1441,
51,
376,
588,
222,
221,
942,
9232,
1201,
640,
4026,
1201,
365,
1676,
221,
128,
376,
221,
620,
477,
51,
1243,
1201,
64,
222,
221,
130,
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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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
]
] | 3,392 | true | 72.06292 | true | true |
ChunkGennedCapability.java | /FileExtraction/Java_unseen/oitsjustjose_Geolosys/src/main/java/com/oitsjustjose/geolosys/common/world/capability/Chunk/ChunkGennedCapability.java | package com.oitsjustjose.geolosys.common.world.capability.Chunk;
import net.minecraft.nbt.CompoundNBT;
import net.minecraft.nbt.ListNBT;
import net.minecraft.util.math.ChunkPos;
import java.util.concurrent.ConcurrentLinkedQueue;
public class ChunkGennedCapability implements IChunkGennedCapability {
private final ConcurrentLinkedQueue<ChunkPos> generatedChunks;
public ChunkGennedCapability() {
this.generatedChunks = new ConcurrentLinkedQueue<>();
}
@Override
public boolean hasChunkGenerated(ChunkPos pos) {
return this.generatedChunks.contains(pos);
}
@Override
public void setChunkGenerated(ChunkPos pos) {
this.generatedChunks.add(pos);
}
@Override
public CompoundNBT serializeNBT() {
CompoundNBT compound = new CompoundNBT();
ListNBT chunks = new ListNBT();
this.generatedChunks.forEach(chunkPos -> {
CompoundNBT t = new CompoundNBT();
t.putInt("x", chunkPos.x);
t.putInt("z", chunkPos.z);
chunks.add(t);
});
compound.put("chunks", chunks);
return compound;
}
@Override
public void deserializeNBT(CompoundNBT compound) {
ListNBT chunks = compound.getList("chunks", 10);
chunks.forEach(x -> {
CompoundNBT comp = (CompoundNBT) x;
ChunkPos chunkPos = new ChunkPos(comp.getInt("x"), comp.getInt("z"));
this.generatedChunks.add(chunkPos);
});
}
}
| 1,497 | Java | .java | oitsjustjose/Geolosys | 42 | 33 | 13 | 2017-07-02T22:25:37Z | 2023-03-16T01:44:07Z | 0bec1ef0542d2f2fb102281151cc4b5cce97d40ea16a10ecb3e4a4653de2f048 | [] | [
1337,
785,
51,
116,
1526,
4524,
111,
2500,
51,
8544,
335,
3750,
51,
2297,
51,
5879,
51,
29053,
51,
7134,
64,
222,
222,
485,
3723,
51,
8654,
51,
39749,
51,
18133,
34770,
64,
222,
485,
3723,
51,
8654,
51,
39749,
51,
739,
34770,
64,
222,
485,
3723,
51,
8654,
51,
1058,
51,
3851,
51,
7134,
3010,
64,
222,
222,
485,
1401,
51,
1058,
51,
8349,
51,
18705,
15373,
4098,
64,
222,
222,
942,
462,
22946,
5154,
9844,
19505,
4584,
457,
7134,
5154,
9844,
19505,
320,
303,
964,
1175,
22219,
15373,
4098,
65,
7134,
3010,
67,
4741,
29056,
64,
465,
581,
22946,
5154,
9844,
19505,
365,
320,
310,
477,
51,
6413,
29056,
299,
556,
22219,
15373,
4098,
6984,
303,
339,
465,
496,
1806,
303,
581,
1922,
1421,
7134,
6540,
45,
7134,
3010,
3423,
46,
320,
310,
461,
477,
51,
6413,
29056,
51,
4766,
45,
985,
312,
303,
339,
465,
496,
1806,
303,
581,
782,
758,
7134,
6540,
45,
7134,
3010,
3423,
46,
320,
310,
477,
51,
6413,
29056,
51,
688,
45,
985,
312,
303,
339,
465,
496,
1806,
303,
581,
42160,
34770,
12747,
34770,
365,
320,
310,
42160,
34770,
27089,
299,
556,
42160,
34770,
492,
310,
1701,
34770,
18637,
299,
556,
1701,
34770,
492,
310,
477,
51,
6413,
29056,
51,
5388,
45,
7211,
3010,
984,
320,
343,
42160,
34770,
292,
299,
556,
42160,
34770,
492,
343,
292,
51,
543,
1438,
459,
125,
411,
7325,
3010,
51,
125,
312,
343,
292,
51,
543,
1438,
459,
127,
411,
7325,
3010,
51,
127,
312,
343,
18637,
51,
688,
45,
121,
312,
310,
1141,
310,
27089,
51,
543,
459,
21833,
411,
18637,
312,
310,
461,
27089,
64,
303,
339,
465,
496,
1806,
303,
581,
782,
16959,
34770,
45,
18133,
34770,
27089,
46,
320,
310,
1701,
34770,
18637,
299,
27089,
51,
29376,
459,
21833,
411,
244,
54,
53,
312,
310,
18637,
51,
5388,
45,
125,
984,
320,
343,
42160,
34770,
940,
299,
327,
18133,
34770,
46,
837,
64,
343,
22946,
3010,
7325,
3010,
299,
556,
22946,
3010,
45,
998,
51,
15384,
459,
125,
2132,
940,
51,
15384,
459,
127,
2992,
343,
477,
51,
6413,
29056,
51,
688,
45,
7211,
3010,
312,
310,
1141,
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
]
] | 362 | true | 65.464262 | true | true |
VotingResultTempListener.java | /FileExtraction/Java_unseen/VietOpenCPS_opencps-v2/modules/backend-feedback/backend-feedback-service/src/main/java/backend/feedback/service/listener/VotingResultTempListener.java | package backend.feedback.service.listener;
import com.liferay.portal.kernel.exception.ModelListenerException;
import com.liferay.portal.kernel.model.BaseModelListener;
import backend.feedback.model.VotingResult;
//@Component(immediate = true, service = ModelListener.class)
public class VotingResultTempListener extends BaseModelListener<VotingResult> {
@Override
public void onAfterCreate(VotingResult model) throws ModelListenerException {
}
@Override
public void onAfterUpdate(VotingResult model) throws ModelListenerException {
}
@Override
public void onBeforeCreate(VotingResult model) throws ModelListenerException {
// try {
// model.setVotingId(Integer.valueOf(HtmlUtil.escape(String.valueOf(model.getVotingId()))));
// model.setFullname(HtmlUtil.escape(model.getFullname()));
// model.setEmail(HtmlUtil.escape(model.getEmail()));
// model.setComment(HtmlUtil.escape(model.getComment()));
// model.setSelected(HtmlUtil.escape(model.getSelected()));
//
// } catch (Exception e) {
// _log.error(e);
// }
}
@Override
public void onBeforeUpdate(VotingResult model) throws ModelListenerException {
// try {
// model.setVotingId(Integer.valueOf(HtmlUtil.escape(String.valueOf(model.getVotingId()))));
// model.setFullname(HtmlUtil.escape(model.getFullname()));
// model.setEmail(HtmlUtil.escape(model.getEmail()));
// model.setComment(HtmlUtil.escape(model.getComment()));
// model.setSelected(HtmlUtil.escape(model.getSelected()));
//
// } catch (Exception e) {
// _log.error(e);
// }
}
//private Log _log = LogFactoryUtil.getLog(VotingResultTempListener.class.getName());
}
| 1,630 | Java | .java | VietOpenCPS/opencps-v2 | 21 | 41 | 49 | 2017-07-31T10:22:39Z | 2021-07-21T07:51:38Z | 34d9886325eec8097cfb405583986a2efba4ab2b8a0e4037ee44fd222e069dfe | [] | [
1337,
9187,
51,
12643,
51,
2140,
51,
9447,
64,
222,
222,
485,
785,
51,
113,
24080,
414,
51,
10802,
51,
6515,
51,
3918,
51,
1262,
2239,
1002,
64,
222,
485,
785,
51,
113,
24080,
414,
51,
10802,
51,
6515,
51,
1184,
51,
44070,
2239,
64,
222,
222,
485,
9187,
51,
12643,
51,
1184,
51,
91,
13790,
1413,
64,
222,
222,
33299,
1735,
45,
25925,
299,
878,
49,
2733,
299,
3707,
2239,
51,
842,
46,
222,
942,
462,
694,
13790,
1413,
2422,
2239,
2041,
3787,
1262,
2239,
65,
91,
13790,
1413,
67,
320,
499,
221,
69,
1806,
222,
221,
942,
782,
563,
5131,
1940,
45,
91,
13790,
1413,
1573,
46,
2589,
3707,
2239,
1002,
320,
222,
221,
130,
499,
221,
69,
1806,
222,
221,
942,
782,
563,
5131,
2346,
45,
91,
13790,
1413,
1573,
46,
2589,
3707,
2239,
1002,
320,
222,
221,
130,
499,
221,
69,
1806,
222,
221,
942,
782,
563,
5670,
1940,
45,
91,
13790,
1413,
1573,
46,
2589,
3707,
2239,
1002,
320,
222,
325,
221,
221,
1287,
320,
222,
325,
313,
221,
1184,
51,
489,
91,
13790,
625,
45,
3078,
51,
9169,
45,
6447,
1747,
51,
11735,
45,
671,
51,
9169,
45,
1184,
51,
390,
91,
13790,
625,
5183,
894,
222,
325,
313,
221,
1184,
51,
489,
4737,
444,
45,
6447,
1747,
51,
11735,
45,
1184,
51,
25736,
444,
5086,
222,
325,
313,
221,
1184,
51,
489,
4490,
45,
6447,
1747,
51,
11735,
45,
1184,
51,
40420,
5086,
222,
325,
313,
221,
1184,
51,
489,
6327,
45,
6447,
1747,
51,
11735,
45,
1184,
51,
390,
6327,
5086,
222,
325,
313,
221,
1184,
51,
26623,
45,
6447,
1747,
51,
11735,
45,
1184,
51,
21851,
5086,
222,
325,
222,
325,
221,
221,
130,
2385,
327,
1002,
503,
46,
320,
222,
325,
313,
221,
100,
769,
51,
750,
45,
106,
312,
222,
325,
221,
221,
130,
222,
221,
130,
499,
221,
69,
1806,
222,
221,
942,
782,
563,
5670,
2346,
45,
91,
13790,
1413,
1573,
46,
2589,
3707,
2239,
1002,
320,
222,
325,
221,
221,
1287,
320,
222,
325,
313,
221,
1184,
51,
489,
91,
13790,
625,
45,
3078,
51,
9169,
45,
6447,
1747,
51,
11735,
45,
671,
51,
9169,
45,
1184,
51,
390,
91,
13790,
625,
5183,
894,
222,
325,
313,
221,
1184,
51,
489,
4737,
444,
45,
6447,
1747,
51,
11735,
45,
1184,
51,
25736,
444,
5086,
222,
325,
313,
221,
1184,
51,
489,
4490,
45,
6447,
1747,
51,
11735,
45,
1184,
51,
40420,
5086,
222,
325,
313,
221,
1184,
51,
489,
6327,
45,
6447,
1747,
51,
11735,
45,
1184,
51,
390,
6327,
5086,
222,
325,
313,
221,
1184,
51,
26623,
45,
6447,
1747,
51,
11735,
45,
1184,
51,
21851,
5086,
222,
325,
222,
325,
221,
221,
130,
2385,
327,
1002,
503,
46,
320,
222,
325,
313,
221,
100,
769,
51,
750,
45,
106,
312,
222,
325,
221,
221,
130,
222,
221,
130,
3067,
221,
325,
2072,
2681,
634,
769,
299,
2681,
2232,
1747,
51,
38182,
45,
91,
13790,
1413,
2422,
2239,
51,
842,
51,
5175,
1052,
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,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elevisie/data/mpeg/descriptors/ContentDescriptor.java | /**
*
* http://www.digitalekabeltelevisie.nl/dvb_inspector
*
* This code is Copyright 2009-2021 by Eric Berendsen (e_berendsen@digitalekabeltelevisie.nl)
*
* This file is part of DVB Inspector.
*
* DVB Inspector 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.
*
* DVB Inspector 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 DVB Inspector. If not, see <http://www.gnu.org/licenses/>.
*
* The author requests that he be notified of any application, applet, or
* other binary that makes use of this code, but that's more out of curiosity
* than anything and is not required.
*
*/
package nl.digitalekabeltelevisie.data.mpeg.descriptors;
import java.util.ArrayList;
import java.util.List;
import javax.swing.tree.DefaultMutableTreeNode;
import nl.digitalekabeltelevisie.controller.KVP;
import nl.digitalekabeltelevisie.controller.TreeNode;
import nl.digitalekabeltelevisie.data.mpeg.psi.TableSection;
import nl.digitalekabeltelevisie.util.Utils;
public class ContentDescriptor extends Descriptor {
private List<ContentItem> contentList = new ArrayList<>();
public static class ContentItem implements TreeNode{
/**
*
*/
private final int contentNibbleLevel1 ;
private final int contentNibbleLevel2 ;
private final int user_byte ;
public ContentItem(final int contentNibbleLevel1, final int contentNibbleLevel2, final int user_byte) {
super();
this.contentNibbleLevel1 = contentNibbleLevel1;
this.contentNibbleLevel2 = contentNibbleLevel2;
this.user_byte = user_byte;
}
public DefaultMutableTreeNode getJTreeNode(final int modus){
final DefaultMutableTreeNode s=new DefaultMutableTreeNode(new KVP("content type"));
s.add(new DefaultMutableTreeNode(new KVP("content_nibble_level_1",contentNibbleLevel1,getContentNibbleLevel1String(contentNibbleLevel1))));
s.add(new DefaultMutableTreeNode(new KVP("content_nibble_level_2",contentNibbleLevel2,getContentNibbleLevel2String(contentNibbleLevel1, contentNibbleLevel2))));
s.add(new DefaultMutableTreeNode(new KVP("user_byte",user_byte,null)));
return s;
}
@Override
public String toString(){
return "content_nibble_level_1:"+contentNibbleLevel1 + ", content_nibble_level_2:"+contentNibbleLevel2;
}
public int getContentNibbleLevel1() {
return contentNibbleLevel1;
}
public int getContentNibbleLevel2() {
return contentNibbleLevel2;
}
public int getUserByte() {
return user_byte;
}
}
public ContentDescriptor(final byte[] b, final int offset, final TableSection parent) {
super(b, offset, parent);
int t = 0;
while (t < descriptorLength) {
final int cNibble1 = Utils.getInt(b, offset + t + 2, 1, 0xF0) >> 4;
final int cNnibble2 = Utils.getInt(b, offset + t + 2, 1, Utils.MASK_4BITS);
final int user_byte = Utils.getInt(b, offset + t + 3, 1, Utils.MASK_8BITS);
final ContentItem s = new ContentItem(cNibble1, cNnibble2, user_byte);
contentList.add(s);
t += 2;
}
}
@Override
public String toString() {
final StringBuilder buf = new StringBuilder(super.toString());
for (ContentItem contentItem : contentList) {
buf.append(contentItem.toString());
}
return buf.toString();
}
public static String getContentNibbleLevel1String(final int nibble1) {
switch (nibble1) {
case 0x0: return "undefined content";
case 0x1: return "Movie/Drama:";
case 0x2: return "News/Current affairs:";
case 0x3: return "Show/Game show:";
case 0x4: return "Sports:";
case 0x5: return "Children's/Youth programmes:";
case 0x6: return "Music/Ballet/Dance:";
case 0x7: return "Arts/Culture (without music):";
case 0x8: return "Social/Political issues/Economics:";
case 0x9: return "Education/Science/Factual topics:";
case 0xA: return "Leisure hobbies:";
case 0xB: return "Special characteristics:";
case 0xC: return "Adult:";
case 0xF: return "user defined";
default: return "reserved for future use:";
}
}
public static String getContentNibbleLevel2String(final int nibble1,final int nibble2) {
switch (nibble1) {
case 0x0: return "";
case 0x1: // Movie/Drama:
switch (nibble2) {
case 0x0: return "movie/drama (general)";
case 0x1: return "detective/thriller";
case 0x2: return "adventure/western/war";
case 0x3: return "science fiction/fantasy/horror";
case 0x4: return "comedy";
case 0x5: return "soap/melodrama/folkloric";
case 0x6: return "romance";
case 0x7: return "serious/classical/religious/historical movie/drama";
case 0x8: return "adult movie/drama";
case 0xF: return "user defined";
default: return "reserved for future use";
}
case 0x2: // News/Current affairs:
switch (nibble2) {
case 0x0: return "news/current affairs (general)";
case 0x1: return "news/weather report";
case 0x2: return "news magazine";
case 0x3: return "documentary";
case 0x4: return "discussion/interview/debate";
case 0xF: return "user defined";
default: return "reserved for future use";
}
case 0x3: // Show/Game show:
switch (nibble2) {
case 0x0 : return "show/game show (general)";
case 0x1 : return "game show/quiz/contest";
case 0x2 : return "variety show";
case 0x3 : return "talk show";
case 0xF: return "user defined";
default: return "reserved for future use";
}
case 0x4: // Sports:
switch (nibble2) {
case 0x0 : return "sports (general)";
case 0x1 : return "special events (Olympic Games, World Cup, etc.)";
case 0x2 : return "sports magazines";
case 0x3 : return "football/soccer";
case 0x4 : return "tennis/squash";
case 0x5 : return "team sports (excluding football)";
case 0x6 : return "athletics";
case 0x7 : return "motor sport";
case 0x8 : return "water sport";
case 0x9 : return "winter sports";
case 0xA : return "equestrian";
case 0xB : return "martial sports";
case 0xF: return "user defined";
default: return "reserved for future use";
}
case 0x5: // Children's/Youth programmes:
switch (nibble2) {
case 0x0 : return "children's/youth programmes (general)";
case 0x1 : return "pre-school children's programmes";
case 0x2 : return "entertainment programmes for 6 to14";
case 0x3 : return "entertainment programmes for 10 to 16";
case 0x4 : return "informational/educational/school programmes";
case 0x5 : return "cartoons/puppets";
case 0xF: return "user defined";
default: return "reserved for future use";
}
case 0x6: // Music/Ballet/Dance:
switch (nibble2) {
case 0x0 : return "music/ballet/dance (general)";
case 0x1 : return "rock/pop";
case 0x2 : return "serious music/classical music";
case 0x3 : return "folk/traditional music";
case 0x4 : return "jazz";
case 0x5 : return "musical/opera";
case 0x6 : return "ballet";
case 0xF: return "user defined";
default: return "reserved for future use";
}
case 0x7: // Arts/Culture (without music):
switch (nibble2) {
case 0x0 : return "arts/culture (without music, general)";
case 0x1 : return "performing arts";
case 0x2 : return "fine arts";
case 0x3 : return "religion";
case 0x4 : return "popular culture/traditional arts";
case 0x5 : return "literature";
case 0x6 : return "film/cinema";
case 0x7 : return "experimental film/video";
case 0x8 : return "broadcasting/press";
case 0x9 : return "new media";
case 0xA : return "arts/culture magazines";
case 0xB : return "fashion";
case 0xF: return "user defined";
default: return "reserved for future use";
}
case 0x8: // Social/Political issues/Economics:
switch (nibble2) {
case 0x0 : return "social/political issues/economics (general)";
case 0x1 : return "magazines/reports/documentary";
case 0x2 : return "economics/social advisory";
case 0x3 : return "remarkable people";
case 0xF: return "user defined";
default: return "reserved for future use";
}
case 0x9: // Education/Science/Factual topics:
switch (nibble2) {
case 0x0 : return "education/science/factual topics (general)";
case 0x1 : return "nature/animals/environment";
case 0x2 : return "technology/natural sciences";
case 0x3 : return "medicine/physiology/psychology";
case 0x4 : return "foreign countries/expeditions";
case 0x5 : return "social/spiritual sciences";
case 0x6 : return "further education";
case 0x7 : return "languages";
case 0xF: return "user defined";
default: return "reserved for future use";
}
case 0xA: // Leisure hobbies:
switch (nibble2) {
case 0x0 : return "leisure hobbies (general)";
case 0x1 : return "tourism/travel";
case 0x2 : return "handicraft";
case 0x3 : return "motoring";
case 0x4 : return "fitness and health";
case 0x5 : return "cooking";
case 0x6 : return "advertisement/shopping";
case 0x7 : return "gardening";
case 0xF: return "user defined";
default: return "reserved for future use";
}
case 0xB: // Special characteristics:
switch (nibble2) {
case 0x0 : return "original language";
case 0x1 : return "black and white";
case 0x2 : return "unpublished";
case 0x3 : return "live broadcast";
case 0x4 : return "plano-stereoscopic";
case 0x5 : return "local or regional";
case 0xF: return "user defined";
default: return "reserved for future use";
}
case 0xC: // Adult:
switch (nibble2) {
case 0x0 : return "adult (general)";
case 0xF: return "user defined";
default: return "reserved for future use";
}
case 0xF: return "";
default: return "reserved for future use";
}
}
@Override
public DefaultMutableTreeNode getJTreeNode(final int modus){
final DefaultMutableTreeNode t = super.getJTreeNode(modus);
Utils.addListJTree(t,contentList,modus,"content_list");
return t;
}
public List<ContentItem> getContentList() {
return contentList;
}
}
| 10,596 | Java | .java | EricBerendsen/dvbinspector | 167 | 28 | 12 | 2020-04-13T19:32:01Z | 2024-01-27T21:06:50Z | 4d1c9bcfdcf26300458375b82ab5756a737dd473479d384fb1d0315f88efa582 | [] | [
1350,
222,
338,
222,
338,
244,
1930,
574,
1516,
51,
15234,
1572,
112,
834,
11448,
1893,
1093,
51,
8387,
52,
8698,
103,
100,
36311,
222,
338,
222,
338,
244,
1369,
1361,
458,
2657,
244,
55,
53,
53,
62,
50,
55,
53,
55,
54,
829,
42857,
20853,
1510,
291,
327,
106,
100,
709,
1510,
291,
69,
15234,
1572,
112,
834,
11448,
1893,
1093,
51,
8387,
46,
222,
338,
222,
338,
244,
1369,
822,
458,
1760,
451,
493,
14660,
18854,
12491,
51,
222,
338,
222,
338,
244,
493,
14660,
18854,
12491,
458,
3760,
2951,
63,
863,
902,
14081,
580,
480,
52,
290,
5370,
222,
338,
244,
580,
1549,
341,
5974,
451,
341,
6994,
6153,
5062,
1196,
641,
9582,
829,
222,
338,
244,
341,
7834,
3870,
7120,
49,
3173,
1522,
244,
56,
451,
341,
1196,
49,
575,
222,
338,
244,
327,
288,
1390,
2489,
46,
1364,
6146,
1522,
51,
222,
338,
222,
338,
244,
493,
14660,
18854,
12491,
458,
2744,
347,
341,
9850,
708,
580,
1118,
545,
6386,
49,
222,
338,
244,
1294,
4213,
2979,
9345,
64,
2895,
4462,
341,
4506,
14319,
451,
222,
338,
244,
7934,
575,
8114,
4800,
418,
7848,
7763,
51,
244,
2819,
341,
222,
338,
244,
6994,
6153,
5062,
1196,
456,
1851,
4261,
51,
222,
338,
222,
338,
244,
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
6153,
5062,
1196,
222,
338,
244,
7979,
642,
493,
14660,
18854,
12491,
51,
244,
1691,
666,
49,
2337,
350,
544,
574,
1516,
51,
10627,
51,
1107,
52,
4205,
28699,
222,
338,
222,
338,
244,
906,
4096,
5188,
708,
957,
545,
32494,
451,
1364,
3039,
49,
1142,
749,
49,
575,
222,
338,
244,
1623,
5314,
708,
7437,
813,
451,
477,
1361,
49,
1294,
708,
1200,
1851,
986,
451,
2756,
3963,
562,
222,
338,
244,
2806,
8003,
480,
458,
666,
2147,
51,
222,
338,
222,
588,
222,
222,
1337,
19708,
51,
15234,
1572,
112,
834,
11448,
1893,
1093,
51,
624,
51,
17224,
51,
31877,
64,
222,
222,
485,
1401,
51,
1058,
51,
7119,
64,
222,
485,
1401,
51,
1058,
51,
739,
64,
222,
222,
485,
3698,
51,
5934,
51,
3266,
51,
2061,
12907,
15422,
64,
222,
222,
485,
19708,
51,
15234,
1572,
112,
834,
11448,
1893,
1093,
51,
4641,
51,
80,
12466,
64,
222,
485,
19708,
51,
15234,
1572,
112,
834,
11448,
1893,
1093,
51,
4641,
51,
15422,
64,
222,
485,
19708,
51,
15234,
1572,
112,
834,
11448,
1893,
1093,
51,
624,
51,
17224,
51,
14691,
51,
1617,
5434,
64,
222,
485,
19708,
51,
15234,
1572,
112,
834,
11448,
1893,
1093,
51,
1058,
51,
2769,
64,
222,
222,
942,
462,
6261,
4336,
2041,
16768,
320,
499,
221,
2072,
1701,
65,
1795,
1114,
67,
1813,
739,
299,
556,
5068,
6984,
3067,
221,
942,
924,
462,
6261,
1114,
4584,
21390,
128,
376,
221,
1350,
374,
338,
374,
588,
376,
221,
2072,
1175,
648,
1813,
83,
947,
5880,
2671,
54,
2098,
376,
221,
2072,
1175,
648,
1813,
83,
947,
5880,
2671,
55,
2098,
376,
221,
2072,
1175,
648,
1275,
100,
2278,
2098,
499,
1332,
221,
942,
6261,
1114,
45,
3242,
648,
1813,
83,
947,
5880,
2671,
54,
49,
1175,
648,
1813,
83,
947,
5880,
2671,
55,
49,
1175,
648,
1275,
100,
2278,
46,
320,
374,
221,
5282,
492,
374,
221,
597,
51,
1304,
83,
947,
5880,
2671,
54,
299,
1813,
83,
947,
5880,
2671,
54,
64,
374,
221,
597,
51,
1304,
83,
947,
5880,
2671,
55,
299,
1813,
83,
947,
5880,
2671,
55,
64,
374,
221,
597,
51,
514,
100,
2278,
299,
1275,
100,
2278,
64,
376,
221,
130,
499,
1332,
221,
942,
4119,
12907,
15422,
640,
79,
15422,
45,
3242,
648,
2065,
371,
1528,
374,
221,
3242,
4119,
12907,
15422,
328,
66,
909,
4119,
12907,
15422,
45,
909,
1242,
12466,
459,
1304,
847,
2992,
374,
221,
120,
51,
688,
45,
909,
4119,
12907,
15422,
45,
909,
1242,
12466,
459,
1304,
100,
39492,
5880,
100,
2675,
100,
54,
411,
1304,
83,
947,
5880,
2671,
54,
49,
16618,
83,
947,
5880,
2671,
54,
671,
45,
1304,
83,
947,
5880,
2671,
54,
21433,
374,
221,
120,
51,
688,
45,
909,
4119,
12907,
15422,
45,
909,
1242,
12466,
459,
1304,
100,
39492,
5880,
100,
2675,
100,
55,
411,
1304,
83,
947,
5880,
2671,
55,
49,
16618,
83,
947,
5880,
2671,
55,
671,
45,
1304,
83,
947,
5880,
2671,
54,
49,
1813,
83,
947,
5880,
2671,
55,
21433,
374,
221,
120,
51,
688,
45,
909,
4119,
12907,
15422,
45,
909,
1242,
12466,
459,
514,
100,
2278,
411,
514,
100,
2278,
49,
1710,
4254,
374,
221,
620,
328,
64,
376,
221,
130,
499,
1332,
221,
69,
1806,
376,
221,
942,
910,
11349,
3261,
374,
221,
620,
332,
1304,
100,
39492,
5880,
100,
2675,
100,
54,
27132,
1304,
83,
947,
5880,
2671,
54,
494,
3021,
1813,
100,
39492,
5880,
100,
2675,
100,
55,
27132,
1304,
83,
947,
5880,
2671,
55,
64,
376,
221,
130,
499,
1332,
221,
942,
648,
36828,
83,
947,
5880,
2671,
54,
365,
320,
374,
221,
620,
1813,
83,
947,
5880,
2671,
54,
64,
376,
221,
130,
499,
1332,
221,
942,
648,
36828,
83,
947,
5880,
2671,
55,
365,
320,
374,
221,
620,
1813,
83,
947,
5880,
2671,
55,
64,
376,
221,
130,
499,
1332,
221,
942,
648,
18868,
3945,
365,
320,
374,
221,
620,
1275,
100,
2278,
64,
376,
221,
130,
2855,
221,
130,
499,
221,
942,
6261,
4336,
45,
3242,
3447,
1197,
342,
49,
1175,
648,
3413,
49,
1175,
5565,
5434,
2952,
46,
320,
376,
221,
5282,
45,
103,
49,
3413,
49,
2952,
312,
376,
221,
429,
292,
299,
244,
53,
64,
376,
221,
5544,
327,
121,
350,
9869,
2396,
46,
320,
374,
221,
3242,
648,
300,
83,
947,
5880,
54,
299,
13245,
51,
15384,
45,
103,
49,
3413,
494,
292,
494,
244,
55,
49,
244,
54,
49,
244,
53,
7274,
53,
46,
3789,
244,
57,
64,
374,
221,
3242,
648,
300,
37606,
947,
5880,
55,
299,
13245,
51,
15384,
45,
103,
49,
3413,
494,
292,
494,
244,
55,
49,
244,
54,
49,
13245,
51,
6963,
100,
57,
16766,
312,
374,
221,
3242,
648,
1275,
100,
2278,
299,
13245,
51,
15384,
45,
103,
49,
3413,
494,
292,
494,
244,
56,
49,
244,
54,
49,
13245,
51,
6963,
100,
61,
16766,
312,
374,
221,
3242,
6261,
1114,
328,
299,
556,
6261,
1114,
45,
21061,
947,
5880,
54,
49,
300,
37606,
947,
5880,
55,
49,
1275,
100,
2278,
312,
374,
221,
1304,
739,
51,
688,
45,
120,
312,
374,
221,
121,
1475,
244,
55,
64,
376,
221,
130,
222,
221,
130,
499,
221,
69,
1806,
222,
221,
942,
910,
11349,
365,
320,
376,
221,
3242,
9705,
4856,
299,
556,
9705,
45,
5282,
51,
3127,
1052,
376,
221,
999,
327,
1795,
1114,
1813,
1114,
518,
1813,
739,
46,
320,
374,
221,
1972,
51,
1713,
45,
1304,
1114,
51,
3127,
1052,
376,
221,
130,
20166,
221,
620,
4856,
51,
3127,
492,
222,
221,
130,
499,
221,
942,
924,
910,
36828,
83,
947,
5880,
2671,
54,
671,
45,
3242,
648,
30162,
5880,
54,
46,
320,
376,
221,
4651,
327,
39492,
5880,
54,
46,
320,
376,
221,
1749,
244,
53,
125,
53,
63,
461,
332,
6384,
1813,
884,
376,
221,
1749,
244,
53,
125,
54,
63,
461,
332,
14971,
52,
73,
4344,
102,
37979,
376,
221,
1749,
244,
53,
125,
55,
63,
461,
332,
14136,
52,
3075,
8709,
22146,
37979,
376,
221,
1749,
244,
53,
125,
56,
63,
461,
332,
4325,
52,
3783,
2539,
37979,
376,
221,
1749,
244,
53,
125,
57,
63,
461,
332,
88,
11178,
37979,
376,
221,
1749,
244,
53,
125,
58,
63,
461,
332,
7646,
1200,
52,
94,
10344,
3477,
8037,
37979,
376,
221,
1749,
244,
53,
125,
59,
63,
461,
332,
17276,
52,
71,
5411,
52,
73,
743,
37979,
376,
221,
1749,
244,
53,
125,
60,
63,
461,
332,
3437,
1448,
52,
12093,
327,
12670,
17530,
731,
884,
376,
221,
1749,
244,
53,
125,
61,
63,
461,
332,
19911,
52,
34588,
1599,
5667,
52,
74,
18167,
1339,
37979,
376,
221,
1749,
244,
53,
125,
62,
63,
461,
332,
33249,
52,
38453,
52,
7338,
1050,
18590,
37979,
376,
221,
1749,
244,
53,
9771,
63,
461,
332,
1494,
316,
532,
439,
46517,
753,
37979,
376,
221,
1749,
244,
53,
8175,
63,
461,
332,
11506,
32965,
37979,
376,
221,
1749,
244,
53,
7876,
63,
461,
332,
1785,
474,
37979,
376,
221,
1749,
244,
53,
7274,
63,
461,
332,
514,
3433,
884,
376,
221,
1555,
63,
461,
332,
20785,
456,
7078,
813,
37979,
376,
221,
130,
222,
221,
130,
499,
221,
942,
924,
910,
36828,
83,
947,
5880,
2671,
55,
671,
45,
3242,
648,
30162,
5880,
54,
49,
3242,
648,
30162,
5880,
55,
46,
320,
376,
221,
4651,
327,
39492,
5880,
54,
46,
320,
376,
221,
1749,
244,
53,
125,
53,
63,
461,
5127,
376,
221,
1749,
244,
53,
125,
54,
63,
453,
23310,
52,
73,
4344,
102,
63,
374,
221,
4651,
327,
39492,
5880,
55,
46,
320,
374,
221,
1749,
244,
53,
125,
53,
63,
461,
332,
12953,
52,
3529,
4497,
327,
8323,
15534,
374,
221,
1749,
244,
53,
125,
54,
63,
461,
332,
14273,
680,
52,
28208,
24834,
884,
374,
221,
1749,
244,
53,
125,
55,
63,
461,
332,
358,
20369,
52,
12587,
2369,
52,
9767,
884,
374,
221,
1749,
244,
53,
125,
56,
63,
461,
332,
24661,
8068,
401,
52,
107,
41529,
52,
19242,
5792,
884,
374,
221,
1749,
244,
53,
125,
57,
63,
461,
332,
352,
1987,
126,
884,
374,
221,
1749,
244,
53,
125,
58,
63,
461,
332,
21701,
52,
308,
335,
3529,
4497,
52,
8040,
9956,
290,
314,
884,
374,
221,
1749,
244,
53,
125,
59,
63,
461,
332,
515,
743,
884,
374,
221,
1749,
244,
53,
125,
60,
63,
461,
332,
528,
2424,
52,
842,
1599,
52,
2836,
384,
2424,
52,
109,
20603,
15793,
52,
3529,
4497,
884,
374,
221,
1749,
244,
53,
125,
61,
63,
461,
332,
358,
474,
15793,
52,
3529,
4497,
884,
374,
221,
1749,
244,
53,
7274,
63,
461,
332,
514,
3433,
884,
374,
221,
1555,
63,
461,
332,
20785,
456,
7078,
813,
884,
374,
221,
130,
376,
221,
1749,
244,
53,
125,
55,
63,
453,
21532,
52,
3075,
8709,
22146,
63,
374,
221,
4651,
327,
39492,
5880,
55,
46,
320,
374,
221,
1749,
244,
53,
125,
53,
63,
461,
332,
7895,
52,
1719,
8709,
22146,
327,
8323,
15534,
374,
221,
1749,
244,
53,
125,
54,
63,
461,
332,
7895,
52,
15903,
3652,
884,
374,
221,
1749,
244,
53,
125,
55,
63,
461,
332,
7895,
11752,
36968,
884,
374,
221,
1749,
244,
53,
125,
56,
63,
461,
332,
2826,
692,
884,
374,
221,
1749,
244,
53,
125,
57,
63,
461,
332,
22734,
52,
1164,
1090,
52,
9518,
351,
884,
374,
221,
1749,
244,
53,
7274,
63,
461,
332,
514,
3433,
884,
374,
221,
1555,
63,
461,
332,
20785,
456,
7078,
813,
884,
374,
221,
130,
376,
221,
1749,
244,
53,
125,
56,
63,
453,
7933,
52,
3783,
2539,
63,
374,
221,
4651,
327,
39492,
5880,
55,
46,
320,
374,
221,
1749,
244,
53,
125,
53,
518,
461,
332,
2276,
52,
3642,
2539,
327,
8323,
15534,
374,
221,
1749,
244,
53,
125,
54,
518,
461,
332,
3642,
2539,
52,
23134,
52,
40813,
884,
374,
221,
1749,
244,
53,
125,
55,
518,
461,
332,
887,
22655,
2539,
884,
374,
221,
1749,
244,
53,
125,
56,
518,
461,
332,
16107,
2539,
884,
374,
221,
1749,
244,
53,
7274,
63,
461,
332,
514,
3433,
884,
374,
221,
1555,
63,
461,
332,
20785,
456,
7078,
813,
884,
374,
221,
130,
376,
221,
1749,
244,
53,
125,
57,
63,
453,
377,
11178,
63,
374,
221,
4651,
327,
39492,
5880,
55,
46,
320,
374,
221,
1749,
244,
53,
125,
53,
518,
461,
332,
23046,
120,
327,
8323,
15534,
374,
221,
1749,
244,
53,
125,
54,
518,
461,
332,
10105,
5233,
327,
84,
651,
336,
314,
41082,
49,
10914,
409,
436,
49,
5795,
7475,
884,
374,
221,
1749,
244,
53,
125,
55,
518,
461,
332,
23046,
120,
11752,
1392,
2374,
884,
374,
221,
1749,
244,
53,
125,
56,
518,
461,
332,
4115,
11677,
52,
20194,
10046,
884,
374,
221,
1749,
244,
53,
125,
57,
518,
461,
332,
2495,
21409,
52,
40390,
936,
884,
374,
221,
1749,
244,
53,
125,
58,
518,
461,
332,
5896,
328,
11178,
327,
346,
13390,
22803,
11677,
15534,
374,
221,
1749,
244,
53,
125,
59,
518,
461,
332,
569,
749,
1339,
884,
374,
221,
1749,
244,
53,
125,
60,
518,
461,
332,
24163,
328,
644,
884,
374,
221,
1749,
244,
53,
125,
61,
518,
461,
332,
12515,
328,
644,
884,
374,
221,
1749,
244,
53,
125,
62,
518,
461,
332,
124,
1164,
328,
11178,
884,
374,
221,
1749,
244,
53,
9771,
518,
461,
332,
106,
622,
20999,
884,
374,
221,
1749,
244,
53,
8175,
518,
461,
332,
25851,
583,
328,
11178,
884,
374,
221,
1749,
244,
53,
7274,
63,
461,
332,
514,
3433,
884,
374,
221,
1555,
63,
461,
332,
20785,
456,
7078,
813,
884,
374,
221,
130,
376,
221,
1749,
244,
53,
125,
58,
63,
453,
39128,
1200,
52,
94,
10344,
3477,
8037,
63,
374,
221,
4651,
327,
39492,
5880,
55,
46,
320,
374,
221,
1749,
244,
53,
125,
53,
518,
461,
332,
4931,
1200,
52,
8850,
109,
3477,
8037,
327,
8323,
15534,
374,
221,
1749,
244,
53,
125,
54,
518,
461,
332,
1023,
50,
15755,
5727,
1200,
3477,
8037,
884,
374,
221,
1749,
244,
53,
125,
55,
518,
461,
332,
323,
600,
524,
488,
3477,
8037,
456,
244,
59,
391,
54,
57,
884,
374,
221,
1749,
244,
53,
125,
56,
518,
461,
332,
323,
600,
524,
488,
3477,
8037,
456,
244,
54,
53,
391,
244,
54,
59,
884,
374,
221,
1749,
244,
53,
125,
57,
518,
461,
332,
11725,
298,
52,
337,
1027,
5168,
52,
15755,
3477,
8037,
884,
374,
221,
1749,
244,
53,
125,
58,
518,
461,
332,
3745,
471,
2632,
52,
36512,
1448,
884,
374,
221,
1749,
244,
53,
7274,
63,
461,
332,
514,
3433,
884,
374,
221,
1555,
63,
461,
332,
20785,
456,
7078,
813,
884,
374,
221,
130,
376,
221,
1749,
244,
53,
125,
59,
63,
453,
26466,
52,
71,
5411,
52,
73,
743,
63,
374,
221,
4651,
327,
39492,
5880,
55,
46,
320,
374,
221,
1749,
244,
53,
125,
53,
518,
461,
332,
15758,
52,
103,
5411,
52,
105,
743,
327,
8323,
15534,
374,
221,
1749,
244,
53,
125,
54,
518,
461,
332,
22239,
52,
3254,
884,
374,
221,
1749,
244,
53,
125,
55,
518,
461,
332,
528,
2424,
17530,
52,
842,
1599,
17530,
884,
374,
221,
1749,
244,
53,
125,
56,
518,
461,
332,
8040,
112,
52,
46026,
3312,
17530,
884,
374,
221,
1749,
244,
53,
125,
57,
518,
461,
332,
111,
9818,
884,
374,
221,
1749,
244,
53,
125,
58,
518,
461,
332,
23532,
1599,
52,
6169,
102,
884,
374,
221,
1749,
244,
53,
125,
59,
518,
461,
332,
103,
5411,
884,
374,
221,
1749,
244,
53,
7274,
63,
461,
332,
514,
3433,
884,
374,
221,
1555,
63,
461,
332,
20785,
456,
7078,
813,
884,
374,
221,
130,
376,
221,
1749,
244,
53,
125,
60,
63,
453,
5534,
1448,
52,
12093,
327,
12670,
17530,
731,
374,
221,
4651,
327,
39492,
5880,
55,
46,
320,
374,
221,
1749,
244,
53,
125,
53,
518,
461,
332,
29183,
52,
48780,
327,
12670,
17530,
49,
8108,
15534,
374,
221,
1749,
244,
53,
125,
54,
518,
461,
332,
14426,
318,
5570,
120,
884,
374,
221,
1749,
244,
53,
125,
55,
518,
461,
332,
31227,
5570,
120,
884,
374,
221,
1749,
244,
53,
125,
56,
518,
461,
332,
2836,
42809,
884,
374,
221,
1749,
244,
53,
125,
57,
518,
461,
332,
43523,
27644,
52,
46026,
3312,
5570,
120,
884,
374,
221,
1749,
244,
53,
125,
58,
518,
461,
332,
113,
1751,
1190,
884,
374,
221,
1749,
244,
53,
125,
59,
518,
461,
332,
29190,
52,
17281,
11192,
884,
374,
221,
1749,
244,
53,
125,
60,
518,
461,
332,
19782,
28521,
52,
5011,
884,
374,
221,
1749,
244,
53,
125,
61,
518,
461,
332,
17060,
318,
52,
1398,
884,
374,
221,
1749,
244,
53,
125,
62,
518,
461,
332,
909,
7459,
884,
374,
221,
1749,
244,
53,
9771,
518,
461,
332,
29183,
52,
48780,
11752,
1392,
2374,
884,
374,
221,
1749,
244,
53,
8175,
518,
461,
332,
107,
26944,
884,
374,
221,
1749,
244,
53,
7274,
63,
461,
332,
514,
3433,
884,
374,
221,
1555,
63,
461,
332,
20785,
456,
7078,
813,
884,
374,
221,
130,
376,
221,
1749,
244,
53,
125,
61,
63,
453,
25090,
52,
34588,
1599,
5667,
52,
74,
18167,
1339,
63,
374,
221,
4651,
327,
39492,
5880,
55,
46,
320,
374,
221,
1749,
244,
53,
125,
53,
518,
461,
332,
10683,
52,
43414,
1599,
5667,
52,
47936,
1339,
327,
8323,
15534,
374,
221,
1749,
244,
53,
125,
54,
518,
461,
332,
10528,
1392,
2374,
52,
13787,
52,
2826,
692,
884,
374,
221,
1749,
244,
53,
125,
55,
518,
461,
332,
47936,
1339,
52,
10683,
1564,
1893,
647,
884,
374,
221,
1749,
244,
53,
125,
56,
518,
461,
332,
23313,
463,
7049,
884,
374,
221,
1749,
244,
53,
7274,
63,
461,
332,
514,
3433,
884,
374,
221,
1555,
63,
461,
332,
20785,
456,
7078,
813,
884,
374,
221,
130,
376,
221,
1749,
244,
53,
125,
62,
63,
453,
38037,
52,
38453,
52,
7338,
1050,
18590,
63,
374,
221,
4651,
327,
39492,
5880,
55,
46,
320,
374,
221,
1749,
244,
53,
125,
53,
518,
461,
332,
24715,
52,
24661,
52,
107,
8015,
18590,
327,
8323,
15534,
374,
221,
1749,
244,
53,
125,
54,
518,
461,
332,
45871,
52,
28679,
120,
52,
9247,
884,
374,
221,
1749,
244,
53,
125,
55,
518,
461,
332,
19151,
52,
28976,
47825,
3042,
884,
374,
221,
1749,
244,
53,
125,
56,
518,
461,
332,
1987,
32703,
52,
22563,
735,
4278,
52,
39241,
1525,
4278,
884,
374,
221,
1749,
244,
53,
125,
57,
518,
461,
332,
13611,
24569,
52,
2858,
337,
7628,
884,
374,
221,
1749,
244,
53,
125,
58,
518,
461,
332,
10683,
52,
438,
24520,
1050,
47825,
3042,
884,
374,
221,
1749,
244,
53,
125,
59,
518,
461,
332,
107,
7997,
31733,
884,
374,
221,
1749,
244,
53,
125,
60,
518,
461,
332,
11870,
884,
374,
221,
1749,
244,
53,
7274,
63,
461,
332,
514,
3433,
884,
374,
221,
1555,
63,
461,
332,
20785,
456,
7078,
813,
884,
374,
221,
130,
376,
221,
1749,
244,
53,
9771,
63,
453,
4684,
316,
532,
439,
46517,
753,
63,
374,
221,
4651,
327,
39492,
5880,
55,
46,
320,
374,
221,
1749,
244,
53,
125,
53,
518,
461,
332,
293,
316,
532,
439,
46517,
753,
327,
8323,
15534,
374,
221,
1749,
244,
53,
125,
54,
518,
461,
332,
19628,
5750,
52,
24693,
884,
374,
221,
1749,
244,
53,
125,
55,
518,
461,
332,
4685,
314,
3897,
884,
374,
221,
1749,
244,
53,
125,
56,
518,
461,
332,
20586,
8757,
884,
374,
221,
1749,
244,
53,
125,
57,
518,
461,
332,
35654,
480,
11817,
884,
374,
221,
1749,
244,
53,
125,
58,
518,
461,
332,
7142,
318,
884,
374,
221,
1749,
244,
53,
125,
59,
518,
461,
332,
358,
29700,
52,
25529,
884,
374,
221,
1749,
244,
53,
125,
60,
518,
461,
332,
43427,
10877,
884,
374,
221,
1749,
244,
53,
7274,
63,
461,
332,
514,
3433,
884,
374,
221,
1555,
63,
461,
332,
20785,
456,
7078,
813,
884,
374,
221,
130,
376,
221,
1749,
244,
53,
8175,
63,
453,
17972,
32965,
63,
374,
221,
4651,
327,
39492,
5880,
55,
46,
320,
374,
221,
1749,
244,
53,
125,
53,
518,
461,
332,
7351,
2940,
884,
374,
221,
1749,
244,
53,
125,
54,
518,
461,
332,
7061,
480,
8408,
884,
374,
221,
1749,
244,
53,
125,
55,
518,
461,
332,
330,
14555,
884,
374,
221,
1749,
244,
53,
125,
56,
518,
461,
332,
9737,
18576,
884,
374,
221,
1749,
244,
53,
125,
57,
518,
461,
332,
5649,
116,
50,
16883,
519,
352,
8339,
884,
374,
221,
1749,
244,
53,
125,
58,
518,
461,
332,
1717,
575,
6727,
298,
884,
374,
221,
1749,
244,
53,
7274,
63,
461,
332,
514,
3433,
884,
374,
221,
1555,
63,
461,
332,
20785,
456,
7078,
813,
884,
374,
221,
130,
376,
221,
1749,
244,
53,
7876,
63,
453,
3604,
474,
63,
374,
221,
4651,
327,
39492,
5880,
55,
46,
320,
374,
221,
1749,
244,
53,
125,
53,
518,
461,
332,
358,
474,
327,
8323,
15534,
374,
221,
1749,
244,
53,
7274,
63,
461,
332,
514,
3433,
884,
374,
221,
1555,
63,
461,
332,
20785,
456,
7078,
813,
884,
374,
221,
130,
376,
221,
1749,
244,
53,
7274,
63,
461,
5127,
376,
221,
1555,
63,
461,
332,
20785,
456,
7078,
813,
884,
376,
221,
130,
222,
221,
130,
499,
221,
69,
1806,
222,
221,
942,
4119,
12907,
15422,
640,
79,
15422,
45,
3242,
648,
2065,
371,
1528,
1332,
221,
3242,
4119,
12907,
15422,
292,
299,
2615,
51,
390,
79,
15422,
45,
1820,
371,
312,
376,
221,
2769,
51,
688,
739,
79,
3371,
45,
121,
49,
1304,
739,
49,
1820,
371,
2376,
1304,
100,
687,
742,
376,
221,
620,
292,
64,
222,
221,
130,
499,
221,
942,
1701,
65,
1795,
1114,
67,
36828,
739,
365,
320,
376,
221,
620,
1813,
739,
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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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
]
] | 3,490 | true | 67.580175 | true | true |
PacketSyncAndroid.java | /FileExtraction/Java_unseen/Matter-Overdrive-Community-Edition_MatterOverdrive-Community-Edition-1_12_2/src/main/java/matteroverdrive/network/packet/client/PacketSyncAndroid.java |
package matteroverdrive.network.packet.client;
import io.netty.buffer.ByteBuf;
import matteroverdrive.entity.android_player.AndroidPlayer;
import matteroverdrive.entity.player.MOPlayerCapabilityProvider;
import matteroverdrive.network.packet.PacketAbstract;
import matteroverdrive.util.MOEnumHelper;
import net.minecraft.client.entity.EntityPlayerSP;
import net.minecraft.entity.Entity;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraftforge.fml.common.network.ByteBufUtils;
import net.minecraftforge.fml.common.network.simpleimpl.MessageContext;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;
import java.util.EnumSet;
public class PacketSyncAndroid extends PacketAbstract {
public static final int SYNC_ALL = -1;
public static final int SYNC_BATTERY = 0;
public static final int SYNC_EFFECTS = 1;
public static final int SYNC_STATS = 2;
public static final int SYNC_ACTIVE_ABILITY = 3;
public static final int SYNC_INVENTORY = 4;
NBTTagCompound data;
int dataType;
int playerID;
public PacketSyncAndroid() {
data = new NBTTagCompound();
}
public PacketSyncAndroid(AndroidPlayer player, EnumSet<AndroidPlayer.DataType> dataTypes) {
/*
* switch (syncPart) { case SYNC_BATTERY: if
* (player.getStackInSlot(player.ENERGY_SLOT) != null) { data = new
* NBTTagCompound(); player.getStackInSlot(player.ENERGY_SLOT).writeToNBT(data);
* } break; case SYNC_EFFECTS: data = player.getEffects(); break; case
* SYNC_STATS: data = player.getUnlocked(); break; case SYNC_ACTIVE_ABILITY:
* data = new NBTTagCompound(); if (player.getActiveStat() != null) {
* data.setString("Ability",player.getActiveStat().getUnlocalizedName()); }
* break; case SYNC_INVENTORY: data = new NBTTagCompound();
* player.getInventory().writeToNBT(data); break; default: data = new
* NBTTagCompound(); player.saveNBTData(data); }
*/
this.dataType = MOEnumHelper.encode(dataTypes);
this.playerID = player.getPlayer().getEntityId();
this.data = new NBTTagCompound();
player.writeToNBT(this.data, dataTypes);
}
@Override
public void fromBytes(ByteBuf buf) {
dataType = buf.readInt();
playerID = buf.readInt();
data = ByteBufUtils.readTag(buf);
}
@Override
public void toBytes(ByteBuf buf) {
buf.writeInt(dataType);
buf.writeInt(playerID);
ByteBufUtils.writeTag(buf, data);
}
public static class ClientHandler extends AbstractClientPacketHandler<PacketSyncAndroid> {
@SideOnly(Side.CLIENT)
@Override
public void handleClientMessage(EntityPlayerSP player, PacketSyncAndroid message, MessageContext ctx) {
Entity entity = player.world.getEntityByID(message.playerID);
if (entity instanceof EntityPlayer) {
EntityPlayer source = (EntityPlayer) entity;
AndroidPlayer ex = MOPlayerCapabilityProvider.GetAndroidCapability(source);
ex.readFromNBT(message.data, MOEnumHelper.decode(message.dataType, AndroidPlayer.DataType.class));
/*
* if (ex != null) { switch (message.syncPart) { case SYNC_BATTERY: if
* (ex.getStackInSlot(ex.ENERGY_SLOT) != null) {
* ex.getStackInSlot(ex.ENERGY_SLOT).readFromNBT(message.data); } break; case
* SYNC_EFFECTS: ex.setEffects(message.data); break; case SYNC_STATS:
* ex.setUnlocked(message.data); break; case SYNC_ACTIVE_ABILITY: if
* (message.data.hasKey("Ability")) { IBioticStat stat =
* MatterOverdrive.STAT_REGISTRY.getStat(message.data.getString("Ability"));
* ex.setActiveStat(stat); } else { ex.setActiveStat(null); } break; case
* SYNC_INVENTORY: ex.getInventory().readFromNBT(message.data); break; default:
* ex.loadNBTData(message.data); } }
*/
}
}
}
}
| 3,739 | Java | .java | Matter-Overdrive-Community-Edition/MatterOverdrive-Community-Edition-1.12.2 | 17 | 17 | 7 | 2021-12-19T02:39:01Z | 2024-04-04T07:50:33Z | a650ac195d183bbaa034fc06f47f5fa5f479249664458713d45fc2e52fd8e339 | [] | [
222,
1337,
15254,
1515,
13872,
51,
4599,
51,
8776,
51,
1598,
64,
222,
222,
485,
3377,
51,
19116,
51,
2683,
51,
3945,
7354,
64,
222,
485,
15254,
1515,
13872,
51,
2244,
51,
4048,
100,
3857,
51,
9213,
3516,
64,
222,
485,
15254,
1515,
13872,
51,
2244,
51,
3857,
51,
82,
1970,
1842,
19505,
2588,
64,
222,
485,
15254,
1515,
13872,
51,
4599,
51,
8776,
51,
6839,
5597,
64,
222,
485,
15254,
1515,
13872,
51,
1058,
51,
2414,
2773,
2775,
64,
222,
485,
3723,
51,
8654,
51,
1598,
51,
2244,
51,
2234,
3516,
2249,
64,
222,
485,
3723,
51,
8654,
51,
2244,
51,
2234,
64,
222,
485,
3723,
51,
8654,
51,
2244,
51,
3857,
51,
2234,
3516,
64,
222,
485,
3723,
51,
8654,
51,
39749,
51,
34770,
2649,
18133,
64,
222,
485,
3723,
51,
31599,
51,
35663,
51,
2297,
51,
4599,
51,
3945,
7354,
2769,
64,
222,
485,
3723,
51,
31599,
51,
35663,
51,
2297,
51,
4599,
51,
6681,
3126,
51,
1193,
1237,
64,
222,
485,
3723,
51,
31599,
51,
35663,
51,
2836,
102,
4260,
284,
51,
7433,
64,
222,
485,
3723,
51,
31599,
51,
35663,
51,
2836,
102,
4260,
284,
51,
7433,
4505,
64,
222,
222,
485,
1401,
51,
1058,
51,
2773,
903,
64,
222,
222,
942,
462,
18706,
4774,
9213,
2041,
18706,
5597,
320,
222,
221,
942,
924,
1175,
648,
9292,
6912,
100,
2335,
299,
449,
54,
64,
222,
221,
942,
924,
1175,
648,
9292,
6912,
100,
71,
15839,
94,
299,
244,
53,
64,
222,
221,
942,
924,
1175,
648,
9292,
6912,
100,
37978,
88,
299,
244,
54,
64,
222,
221,
942,
924,
1175,
648,
9292,
6912,
100,
26080,
299,
244,
55,
64,
222,
221,
942,
924,
1175,
648,
9292,
6912,
100,
13028,
100,
4943,
299,
244,
56,
64,
222,
221,
942,
924,
1175,
648,
9292,
6912,
100,
540,
4929,
5655,
299,
244,
57,
64,
222,
221,
34770,
2649,
18133,
727,
64,
222,
221,
429,
14988,
64,
222,
221,
429,
4376,
798,
64,
499,
221,
942,
18706,
4774,
9213,
365,
320,
376,
221,
624,
299,
556,
508,
9195,
2649,
18133,
492,
222,
221,
130,
499,
221,
942,
18706,
4774,
9213,
45,
9213,
3516,
4376,
49,
7827,
903,
65,
9213,
3516,
51,
9894,
67,
727,
2439,
46,
320,
376,
221,
1127,
374,
338,
3593,
327,
5220,
2655,
46,
320,
1152,
9292,
6912,
100,
71,
15839,
94,
63,
434,
374,
338,
327,
3857,
51,
390,
3131,
402,
9493,
45,
3857,
51,
16016,
15063,
100,
27079,
46,
882,
762,
46,
320,
727,
299,
556,
374,
338,
508,
9195,
2649,
18133,
492,
4376,
51,
390,
3131,
402,
9493,
45,
3857,
51,
16016,
15063,
100,
27079,
566,
43319,
34770,
45,
624,
312,
374,
338,
339,
1644,
64,
1152,
9292,
6912,
100,
37978,
88,
63,
727,
299,
4376,
51,
390,
20117,
492,
1644,
64,
1152,
374,
338,
9292,
6912,
100,
26080,
63,
727,
299,
4376,
51,
390,
13104,
337,
492,
1644,
64,
1152,
9292,
6912,
100,
13028,
100,
4943,
63,
374,
338,
727,
299,
556,
508,
9195,
2649,
18133,
492,
434,
327,
3857,
51,
21637,
5952,
365,
882,
762,
46,
320,
374,
338,
727,
51,
24341,
459,
22130,
411,
3857,
51,
21637,
5952,
941,
36127,
33196,
577,
1052,
339,
374,
338,
1644,
64,
1152,
9292,
6912,
100,
540,
4929,
5655,
63,
727,
299,
556,
508,
9195,
2649,
18133,
492,
374,
338,
4376,
51,
390,
12420,
941,
43319,
34770,
45,
624,
312,
1644,
64,
1263,
63,
727,
299,
556,
374,
338,
508,
9195,
2649,
18133,
492,
4376,
51,
2882,
34770,
768,
45,
624,
312,
339,
374,
588,
376,
221,
597,
51,
23344,
299,
7707,
2773,
2775,
51,
4458,
45,
624,
2439,
312,
376,
221,
597,
51,
3857,
798,
299,
4376,
51,
32872,
941,
23258,
625,
492,
376,
221,
597,
51,
624,
299,
556,
508,
9195,
2649,
18133,
492,
376,
221,
3857,
51,
43319,
34770,
45,
597,
51,
624,
49,
727,
2439,
312,
222,
221,
130,
499,
221,
69,
1806,
222,
221,
942,
782,
664,
3656,
45,
3945,
7354,
4856,
46,
320,
376,
221,
23344,
299,
4856,
51,
33798,
492,
376,
221,
3857,
798,
299,
4856,
51,
33798,
492,
376,
221,
624,
299,
8049,
7354,
2769,
51,
870,
2649,
45,
1972,
312,
222,
221,
130,
499,
221,
69,
1806,
222,
221,
942,
782,
391,
3656,
45,
3945,
7354,
4856,
46,
320,
376,
221,
1972,
51,
31173,
45,
23344,
312,
376,
221,
1972,
51,
31173,
45,
3857,
798,
312,
376,
221,
3945,
7354,
2769,
51,
1838,
2649,
45,
1972,
49,
727,
312,
222,
221,
130,
499,
221,
942,
924,
462,
5680,
1985,
2041,
7406,
1503,
6839,
1985,
65,
6839,
4774,
9213,
67,
320,
376,
221,
69,
7433,
4505,
45,
7433,
51,
10929,
46,
376,
221,
69,
1806,
376,
221,
942,
782,
2902,
1503,
1193,
45,
2234,
3516,
2249,
4376,
49,
18706,
4774,
9213,
1492,
49,
4587,
1237,
3708,
46,
320,
374,
221,
2234,
4436,
299,
4376,
51,
5879,
51,
23258,
24725,
45,
1454,
51,
3857,
798,
312,
2556,
221,
344,
327,
2244,
5118,
7276,
3516,
46,
320,
621,
221,
2234,
3516,
1932,
299,
327,
2234,
3516,
46,
4436,
64,
621,
221,
9213,
3516,
557,
299,
507,
1970,
1842,
19505,
2588,
51,
953,
9213,
19505,
45,
1876,
312,
5033,
221,
346,
51,
870,
1811,
34770,
45,
1454,
51,
624,
49,
7707,
2773,
2775,
51,
5480,
45,
1454,
51,
23344,
49,
8107,
3516,
51,
9894,
51,
842,
894,
5033,
221,
1127,
596,
338,
434,
327,
346,
882,
762,
46,
320,
3593,
327,
1454,
51,
5220,
2655,
46,
320,
1152,
9292,
6912,
100,
71,
15839,
94,
63,
434,
596,
338,
327,
346,
51,
390,
3131,
402,
9493,
45,
346,
51,
16016,
15063,
100,
27079,
46,
882,
762,
46,
320,
596,
338,
557,
51,
390,
3131,
402,
9493,
45,
346,
51,
16016,
15063,
100,
27079,
566,
870,
1811,
34770,
45,
1454,
51,
624,
312,
339,
1644,
64,
1152,
596,
338,
9292,
6912,
100,
37978,
88,
63,
557,
51,
489,
20117,
45,
1454,
51,
624,
312,
1644,
64,
1152,
9292,
6912,
100,
26080,
63,
596,
338,
557,
51,
489,
13104,
337,
45,
1454,
51,
624,
312,
1644,
64,
1152,
9292,
6912,
100,
13028,
100,
4943,
63,
434,
596,
338,
327,
1454,
51,
624,
51,
2057,
971,
459,
22130,
2152,
320,
23528,
12489,
314,
5952,
6339,
299,
596,
338,
5876,
410,
3980,
13872,
51,
4266,
100,
37382,
51,
390,
5952,
45,
1454,
51,
624,
51,
7080,
459,
22130,
2992,
596,
338,
557,
51,
46094,
5952,
45,
4611,
312,
339,
832,
320,
557,
51,
46094,
5952,
45,
1710,
312,
339,
1644,
64,
1152,
596,
338,
9292,
6912,
100,
540,
4929,
5655,
63,
557,
51,
390,
12420,
941,
870,
1811,
34770,
45,
1454,
51,
624,
312,
1644,
64,
1263,
63,
596,
338,
557,
51,
963,
34770,
768,
45,
1454,
51,
624,
312,
339,
339,
596,
588,
374,
221,
130,
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,
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,122 | true | 74.565392 | true | true |
ViewerFrame.java | /FileExtraction/Java_unseen/shaunjohnson_suafe/src/main/java/net/lmxm/suafe/gui/frames/ViewerFrame.java | /*
* Copyright (c) 2006-2017 by LMXM LLC <suafe@lmxm.net>
*
* This file is part of Suafe.
*
* Suafe 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.
*
* Suafe 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 Suafe. If not, see <http://www.gnu.org/licenses/>.
*/
package net.lmxm.suafe.gui.frames;
import net.lmxm.suafe.gui.ActionConstants;
import net.lmxm.suafe.Constants;
import net.lmxm.suafe.gui.GuiConstants;
import net.lmxm.suafe.Utilities;
import net.lmxm.suafe.resources.ResourceUtil;
import javax.annotation.Nonnull;
import javax.swing.*;
import javax.swing.event.HyperlinkEvent;
import javax.swing.event.HyperlinkListener;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.io.File;
import java.io.IOException;
import java.io.PrintStream;
import java.net.URL;
/**
* Main Suafe help window.
*
* @author Shaun Johnson
*/
public final class ViewerFrame extends ParentFrame implements ActionListener, HyperlinkListener {
/**
* Serial ID.
*/
private static final long serialVersionUID = 5057005120918134417L;
private String title;
private String content;
private String contentType;
private JPanel jContentPane;
private JPanel buttonPanel;
private JButton closeButton;
private JScrollPane contentScrollPane;
private JEditorPane contentEditorPane;
private JButton saveButton;
/**
* Default constructor.
*/
public ViewerFrame(@Nonnull final String title, @Nonnull final String content, @Nonnull final String contentType) {
this.title = title;
this.content = content;
this.contentType = contentType;
initialize();
}
/**
* This method initializes this.
*/
private void initialize() {
this.setIconImage(ResourceUtil.serverImage);
this.setTitle(title);
this.setDefaultCloseOperation(DISPOSE_ON_CLOSE);
this.setSize(800, 700);
this.setContentPane(getJContentPane());
this.center();
getRootPane().setDefaultButton(getCloseButton());
}
/**
* This method initializes jContentPane
*
* @return javax.swing.JPanel
*/
private javax.swing.JPanel getJContentPane() {
if (jContentPane == null) {
jContentPane = new JPanel(new BorderLayout());
jContentPane.add(getButtonPanel(), BorderLayout.SOUTH);
jContentPane.add(getContentScrollPane(), BorderLayout.CENTER);
}
return jContentPane;
}
/**
* HyperlinkEvent listener.
*
* @param event HyperlinkEvent object.
*/
public void hyperlinkUpdate(HyperlinkEvent event) {
if (event.getEventType() == HyperlinkEvent.EventType.ACTIVATED) {
try {
URL newUrl = event.getURL();
getContentEditorPane().setPage(newUrl);
if (newUrl.getFile().endsWith(".html")) {
getContentEditorPane().setContentType(Constants.MIME_HTML);
}
else if (newUrl.getFile().endsWith(".txt")) {
getContentEditorPane().setContentType(Constants.MIME_TEXT);
}
else {
getContentEditorPane().setContentType(Constants.MIME_HTML);
}
}
catch (IOException e) {
// Do nothing.
}
}
}
/**
* This method initializes buttonPanel
*
* @return javax.swing.JPanel
*/
private JPanel getButtonPanel() {
if (buttonPanel == null) {
buttonPanel = new JPanel();
buttonPanel.setLayout(new FlowLayout());
buttonPanel.add(getSaveButton(), null);
buttonPanel.add(getCloseButton(), null);
}
return buttonPanel;
}
/**
* This method initializes closeButton
*
* @return javax.swing.JButton
*/
private JButton getCloseButton() {
if (closeButton == null) {
closeButton = new JButton();
closeButton.setText(ResourceUtil.getString("button.close"));
closeButton.addActionListener(this);
closeButton.setActionCommand(ActionConstants.CLOSE_ACTION);
}
return closeButton;
}
/**
* This method initializes saveButton
*
* @return javax.swing.JButton
*/
private JButton getSaveButton() {
if (saveButton == null) {
saveButton = new JButton();
saveButton.setText(ResourceUtil.getString("button.save"));
saveButton.addActionListener(this);
saveButton.setActionCommand(ActionConstants.SAVE_ACTION);
}
return saveButton;
}
public void actionPerformed(ActionEvent event) {
if (event.getActionCommand().equals(ActionConstants.CLOSE_ACTION)) {
dispose();
}
else if (event.getActionCommand().equals(ActionConstants.SAVE_ACTION)) {
fileSave();
}
}
/**
* File save as action handler.
*/
private void fileSave() {
final JFileChooser fcSaveAs = new JFileChooser();
fcSaveAs.setFileSelectionMode(JFileChooser.FILES_ONLY);
fcSaveAs.setDialogType(JFileChooser.SAVE_DIALOG);
fcSaveAs.setDialogTitle(ResourceUtil.getString("saveas.title"));
int returnVal = fcSaveAs.showSaveDialog(this);
if (returnVal == JFileChooser.APPROVE_OPTION) {
try {
File file = fcSaveAs.getSelectedFile();
PrintStream out = Utilities.openOutputFile(file);
out.print(content);
}
catch (Exception e) {
displayError(e.getMessage());
}
}
}
/**
* This method initializes contentScrollPane
*
* @return javax.swing.JScrollPane
*/
private JScrollPane getContentScrollPane() {
if (contentScrollPane == null) {
contentScrollPane = new JScrollPane();
contentScrollPane.setViewportView(getContentEditorPane());
}
return contentScrollPane;
}
/**
* This method initializes contentEditorPane
*
* @return javax.swing.JEditorPane
*/
private JEditorPane getContentEditorPane() {
if (contentEditorPane == null) {
contentEditorPane = new JEditorPane();
contentEditorPane.setContentType(contentType);
contentEditorPane.setText(content);
contentEditorPane.setEditable(false);
contentEditorPane.select(0, 0);
contentEditorPane.addHyperlinkListener(this);
if (contentType == Constants.MIME_TEXT) {
contentEditorPane.setFont(GuiConstants.FONT_MONOSPACE);
}
}
return contentEditorPane;
}
} | 7,319 | Java | .java | shaunjohnson/suafe | 13 | 3 | 5 | 2012-06-12T12:08:30Z | 2017-10-31T23:31:39Z | d426915f61b19bafbc11a5e223224f8e4840e6cf13c0a35ef8adc543cbf835e8 | [] | [
1127,
222,
338,
2657,
327,
104,
46,
244,
55,
53,
53,
59,
50,
55,
53,
54,
60,
829,
517,
11747,
82,
21000,
350,
120,
3546,
1247,
69,
113,
7796,
114,
51,
1317,
67,
222,
338,
222,
338,
1369,
822,
458,
1760,
451,
377,
3546,
1247,
51,
222,
338,
222,
338,
377,
3546,
1247,
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,
377,
3546,
1247,
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,
377,
3546,
1247,
51,
244,
1691,
666,
49,
2337,
350,
544,
574,
1516,
51,
10627,
51,
1107,
52,
4205,
28699,
222,
588,
222,
1337,
3723,
51,
113,
7796,
114,
51,
120,
3546,
1247,
51,
8472,
51,
9481,
64,
222,
222,
485,
3723,
51,
113,
7796,
114,
51,
120,
3546,
1247,
51,
8472,
51,
1728,
5238,
64,
222,
485,
3723,
51,
113,
7796,
114,
51,
120,
3546,
1247,
51,
5238,
64,
222,
485,
3723,
51,
113,
7796,
114,
51,
120,
3546,
1247,
51,
8472,
51,
7889,
5238,
64,
222,
485,
3723,
51,
113,
7796,
114,
51,
120,
3546,
1247,
51,
13392,
64,
222,
485,
3723,
51,
113,
7796,
114,
51,
120,
3546,
1247,
51,
5390,
51,
2305,
1747,
64,
222,
222,
485,
3698,
51,
4341,
51,
13438,
64,
222,
485,
3698,
51,
5934,
7737,
222,
485,
3698,
51,
5934,
51,
1585,
51,
20576,
1222,
1167,
64,
222,
485,
3698,
51,
5934,
51,
1585,
51,
20576,
1222,
2239,
64,
222,
485,
1401,
51,
8236,
7737,
222,
485,
1401,
51,
8236,
51,
1585,
51,
18126,
64,
222,
485,
1401,
51,
8236,
51,
1585,
51,
17317,
64,
222,
485,
1401,
51,
735,
51,
991,
64,
222,
485,
1401,
51,
735,
51,
6860,
64,
222,
485,
1401,
51,
735,
51,
4026,
1880,
64,
222,
485,
1401,
51,
1317,
51,
2427,
64,
222,
222,
1350,
222,
338,
6697,
377,
3546,
1247,
3071,
3240,
51,
222,
338,
222,
338,
496,
2133,
2432,
102,
330,
21588,
1174,
222,
588,
222,
942,
1175,
462,
41834,
2163,
2041,
15060,
2163,
4584,
41931,
49,
14841,
1222,
2239,
320,
303,
1041,
294,
338,
7409,
2502,
51,
294,
588,
303,
964,
924,
1175,
1964,
19896,
299,
244,
58,
53,
58,
60,
53,
53,
58,
54,
55,
53,
62,
54,
61,
54,
56,
57,
57,
54,
60,
81,
64,
465,
964,
910,
1799,
64,
465,
964,
910,
1813,
64,
465,
964,
910,
19889,
64,
465,
964,
22299,
614,
1795,
7586,
64,
465,
964,
22299,
3467,
3686,
64,
465,
964,
24328,
4248,
1732,
64,
465,
964,
990,
29314,
1813,
29314,
64,
465,
964,
990,
4836,
7586,
1813,
4836,
7586,
64,
465,
964,
24328,
4166,
1732,
64,
465,
1041,
294,
338,
4119,
4389,
51,
294,
588,
303,
581,
41834,
2163,
4810,
13438,
1175,
910,
1799,
49,
496,
13438,
1175,
910,
1813,
49,
496,
13438,
1175,
910,
19889,
46,
320,
310,
477,
51,
1333,
299,
1799,
64,
310,
477,
51,
1304,
299,
1813,
64,
310,
477,
51,
20256,
299,
19889,
64,
603,
7395,
492,
303,
339,
465,
1041,
294,
338,
1369,
1431,
35897,
477,
51,
294,
588,
303,
964,
782,
7395,
365,
320,
310,
477,
51,
30587,
1675,
45,
2305,
1747,
51,
1805,
1675,
312,
310,
477,
51,
17359,
45,
1333,
312,
310,
477,
51,
27356,
4187,
3786,
45,
5988,
6856,
100,
586,
100,
18758,
312,
310,
477,
51,
29572,
45,
61,
53,
53,
49,
244,
60,
53,
53,
312,
310,
477,
51,
29480,
7586,
45,
390,
79,
1795,
7586,
1052,
310,
477,
51,
2413,
492,
603,
640,
4069,
7586,
941,
27356,
1732,
45,
390,
4187,
1732,
1052,
303,
339,
465,
1041,
294,
338,
1369,
1431,
35897,
614,
1795,
7586,
294,
338,
294,
338,
496,
620,
3698,
51,
5934,
51,
32273,
294,
588,
303,
964,
3698,
51,
5934,
51,
32273,
640,
79,
1795,
7586,
365,
320,
310,
434,
327,
111,
1795,
7586,
630,
762,
46,
320,
343,
614,
1795,
7586,
299,
556,
22299,
45,
909,
38816,
1052,
343,
614,
1795,
7586,
51,
688,
45,
390,
1732,
3686,
1046,
38816,
51,
3644,
5938,
312,
343,
614,
1795,
7586,
51,
688,
45,
16618,
29314,
1046,
38816,
51,
16562,
312,
310,
339,
603,
461,
614,
1795,
7586,
64,
303,
339,
465,
1041,
294,
338,
14841,
1222,
1167,
7510,
51,
294,
338,
294,
338,
496,
772,
1708,
14841,
1222,
1167,
1319,
51,
294,
588,
303,
581,
782,
15405,
1222,
2346,
45,
20576,
1222,
1167,
1708,
46,
320,
310,
434,
327,
1585,
51,
390,
15241,
365,
630,
14841,
1222,
1167,
51,
15241,
51,
20526,
8153,
46,
320,
343,
1614,
320,
419,
3846,
556,
2226,
299,
1708,
51,
390,
2427,
492,
2125,
36828,
4836,
7586,
941,
489,
1983,
45,
909,
2226,
312,
2125,
434,
327,
909,
2226,
51,
22184,
941,
20982,
5804,
935,
2152,
320,
547,
36828,
4836,
7586,
941,
489,
14257,
45,
5238,
51,
14036,
100,
4438,
312,
419,
339,
419,
832,
434,
327,
909,
2226,
51,
22184,
941,
20982,
5804,
2787,
2152,
320,
547,
36828,
4836,
7586,
941,
489,
14257,
45,
5238,
51,
14036,
100,
6025,
312,
419,
339,
419,
832,
320,
547,
36828,
4836,
7586,
941,
489,
14257,
45,
5238,
51,
14036,
100,
4438,
312,
419,
339,
343,
339,
343,
2385,
327,
6860,
503,
46,
320,
419,
453,
3291,
7572,
51,
343,
339,
310,
339,
303,
339,
465,
1041,
294,
338,
1369,
1431,
35897,
3467,
3686,
294,
338,
294,
338,
496,
620,
3698,
51,
5934,
51,
32273,
294,
588,
303,
964,
22299,
640,
1732,
3686,
365,
320,
310,
434,
327,
1654,
3686,
630,
762,
46,
320,
343,
3467,
3686,
299,
556,
22299,
492,
343,
3467,
3686,
51,
20113,
45,
909,
12433,
2362,
1052,
343,
3467,
3686,
51,
688,
45,
390,
5134,
1732,
1046,
762,
312,
343,
3467,
3686,
51,
688,
45,
390,
4187,
1732,
1046,
762,
312,
310,
339,
310,
461,
3467,
3686,
64,
303,
339,
465,
1041,
294,
338,
1369,
1431,
35897,
4248,
1732,
294,
338,
294,
338,
496,
620,
3698,
51,
5934,
51,
32880,
294,
588,
303,
964,
24328,
640,
4187,
1732,
365,
320,
310,
434,
327,
2698,
1732,
630,
762,
46,
320,
343,
4248,
1732,
299,
556,
24328,
492,
343,
4248,
1732,
51,
6619,
45,
2305,
1747,
51,
7080,
459,
1654,
51,
2698,
2992,
343,
4248,
1732,
51,
24508,
45,
597,
312,
343,
4248,
1732,
51,
40811,
2037,
45,
1728,
5238,
51,
18758,
100,
8755,
312,
310,
339,
310,
461,
4248,
1732,
64,
303,
339,
465,
1041,
294,
338,
1369,
1431,
35897,
4166,
1732,
294,
338,
294,
338,
496,
620,
3698,
51,
5934,
51,
32880,
294,
588,
303,
964,
24328,
640,
5134,
1732,
365,
320,
310,
434,
327,
2882,
1732,
630,
762,
46,
320,
343,
4166,
1732,
299,
556,
24328,
492,
343,
4166,
1732,
51,
6619,
45,
2305,
1747,
51,
7080,
459,
1654,
51,
2882,
2992,
343,
4166,
1732,
51,
24508,
45,
597,
312,
343,
4166,
1732,
51,
40811,
2037,
45,
1728,
5238,
51,
24351,
100,
8755,
312,
310,
339,
310,
461,
4166,
1732,
64,
303,
339,
465,
581,
782,
29546,
45,
18126,
1708,
46,
320,
310,
434,
327,
1585,
51,
28103,
2037,
941,
3591,
45,
1728,
5238,
51,
18758,
100,
8755,
509,
320,
343,
27131,
492,
310,
339,
310,
832,
434,
327,
1585,
51,
28103,
2037,
941,
3591,
45,
1728,
5238,
51,
24351,
100,
8755,
509,
320,
343,
822,
5134,
492,
310,
339,
303,
339,
465,
1041,
294,
338,
2050,
4166,
641,
2146,
4908,
51,
294,
588,
303,
964,
782,
822,
5134,
365,
320,
310,
1175,
990,
45617,
17781,
5134,
1482,
299,
556,
990,
45617,
492,
603,
17781,
5134,
1482,
51,
489,
991,
5385,
2116,
45,
79,
45617,
51,
14151,
100,
13003,
312,
310,
17781,
5134,
1482,
51,
489,
3742,
638,
45,
79,
45617,
51,
24351,
100,
33648,
312,
310,
17781,
5134,
1482,
51,
489,
3742,
3188,
45,
2305,
1747,
51,
7080,
459,
2882,
321,
51,
1333,
2992,
603,
648,
461,
1420,
299,
17781,
5134,
1482,
51,
2276,
5134,
3742,
45,
597,
312,
603,
434,
327,
620,
1420,
630,
990,
45617,
51,
35859,
2494,
100,
10534,
46,
320,
343,
1614,
320,
419,
2050,
822,
299,
17781,
5134,
1482,
51,
21851,
991,
492,
2125,
9232,
1880,
986,
299,
29811,
51,
1693,
47991,
45,
781,
312,
2125,
986,
51,
1243,
45,
1304,
312,
343,
339,
343,
2385,
327,
1002,
503,
46,
320,
419,
2540,
943,
45,
106,
51,
7724,
1052,
343,
339,
310,
339,
303,
339,
465,
1041,
294,
338,
1369,
1431,
35897,
1813,
29314,
294,
338,
294,
338,
496,
620,
3698,
51,
5934,
51,
79,
29314,
294,
588,
303,
964,
990,
29314,
36828,
29314,
365,
320,
310,
434,
327,
1304,
29314,
630,
762,
46,
320,
343,
1813,
29314,
299,
556,
990,
29314,
492,
343,
1813,
29314,
51,
489,
16659,
1089,
45,
16618,
4836,
7586,
1052,
310,
339,
310,
461,
1813,
29314,
64,
303,
339,
465,
1041,
294,
338,
1369,
1431,
35897,
1813,
4836,
7586,
294,
338,
294,
338,
496,
620,
3698,
51,
5934,
51,
79,
4836,
7586,
294,
588,
303,
964,
990,
4836,
7586,
36828,
4836,
7586,
365,
320,
310,
434,
327,
1304,
4836,
7586,
630,
762,
46,
320,
343,
1813,
4836,
7586,
299,
556,
990,
4836,
7586,
492,
343,
1813,
4836,
7586,
51,
489,
14257,
45,
20256,
312,
343,
1813,
4836,
7586,
51,
6619,
45,
1304,
312,
343,
1813,
4836,
7586,
51,
489,
21596,
45,
1886,
312,
343,
1813,
4836,
7586,
51,
1632,
45,
53,
49,
244,
53,
312,
343,
1813,
4836,
7586,
51,
688,
20576,
1222,
2239,
45,
597,
312,
1083,
434,
327,
20256,
630,
14072,
51,
14036,
100,
6025,
46,
320,
419,
1813,
4836,
7586,
51,
21617,
45,
7889,
5238,
51,
5929,
100,
10522,
84,
13174,
312,
343,
339,
310,
339,
310,
461,
1813,
4836,
7586,
64,
303,
339,
222,
130
] | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1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
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 1,678 | true | 61.907364 | true | true |
SettersTest.java | /FileExtraction/Java_unseen/openjdk_jcov/plugins/simple_methods_anc/test/openjdk/jcov/filter/simplemethods/SettersTest.java | /*
* Copyright (c) 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. 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 openjdk.jcov.filter.simplemethods;
import org.objectweb.asm.tree.ClassNode;
import org.testng.annotations.BeforeTest;
import org.testng.annotations.DataProvider;
import org.testng.annotations.Test;
import java.io.IOException;
import static org.testng.Assert.assertEquals;
public class SettersTest {
Setters tested;
ClassNode cls;
@BeforeTest
public void init() throws IOException {
tested = new Setters();
cls = TestUtils.findTestClass(this.getClass());
}
@DataProvider(name = "cases")
public Object[][] cases() {
return new Object[][] {
{"setObjectField(Ljava/lang/String;)V", true, "An object setter"},
{"setFieldToToString(Ljava/lang/Object;)V", false, "Assigning toString() to a field"},
{"setField(I)V", true, "A setter"},
{"setStaticField(Ljava/lang/Object;)V", true, "A static setter"},
{"setOtherField(J)V", true, "A setter for other field object"},
{"empty()V", false, "Empty"}
};
}
@Test(dataProvider = "cases")
public void test(String method, boolean result, String description) {
assertEquals(tested.test(cls, TestUtils.findTestMethod(cls, method)), result, description);
}
//test data
int aField;
String anObjectField;
static Object aStaticField;
class Other {
long aField;
}
Other other;
void setField(int v) { aField = v; }
void setOtherField(long v) {
other.aField = v;
}
void setObjectField(String v) {
anObjectField = v;
}
void setFieldToToString(Object v) {
anObjectField = v.toString();
}
static void setStaticField(Object v) {
aStaticField = v;
}
void empty() {
}
}
| 3,010 | Java | .java | openjdk/jcov | 16 | 12 | 0 | 2019-05-15T06:46:03Z | 2024-04-16T17:20:11Z | c1afd01c0672eabfff9c9a0e67b43fc86edf690265a78d5bd6ce89a1467892e0 | [] | [
1127,
222,
338,
2657,
327,
104,
46,
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,
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,
2177,
12461,
51,
111,
12677,
51,
2049,
51,
6681,
9152,
64,
222,
222,
485,
1105,
51,
1491,
1857,
51,
7741,
51,
3266,
51,
1359,
1230,
64,
222,
485,
1105,
51,
27237,
51,
8839,
51,
5670,
1024,
64,
222,
485,
1105,
51,
27237,
51,
8839,
51,
21940,
64,
222,
485,
1105,
51,
27237,
51,
8839,
51,
1024,
64,
222,
222,
485,
1401,
51,
735,
51,
6860,
64,
222,
222,
485,
924,
1105,
51,
27237,
51,
3285,
51,
4993,
64,
222,
222,
942,
462,
1776,
5749,
1024,
320,
465,
1776,
5749,
10116,
64,
303,
1727,
1230,
9036,
64,
465,
496,
5670,
1024,
303,
581,
782,
3238,
365,
2589,
6300,
320,
310,
10116,
299,
556,
1776,
5749,
492,
310,
9036,
299,
40098,
51,
1828,
29051,
45,
597,
51,
9699,
1052,
303,
339,
465,
496,
21940,
45,
444,
299,
332,
11080,
678,
303,
581,
2210,
11338,
6819,
365,
320,
310,
461,
556,
2210,
11338,
320,
419,
3479,
489,
976,
1195,
45,
25614,
52,
1600,
52,
671,
21257,
91,
411,
878,
49,
332,
1062,
1319,
25282,
3933,
419,
3479,
46818,
724,
4602,
45,
25614,
52,
1600,
52,
976,
21257,
91,
411,
920,
49,
332,
9083,
318,
11349,
365,
391,
331,
1620,
3933,
419,
3479,
46818,
45,
78,
46,
91,
411,
878,
49,
332,
70,
25282,
3933,
419,
3479,
489,
5983,
1195,
45,
25614,
52,
1600,
52,
976,
21257,
91,
411,
878,
49,
332,
70,
924,
25282,
3933,
419,
3479,
489,
8394,
1195,
45,
79,
46,
91,
411,
878,
49,
332,
70,
25282,
456,
1623,
1620,
1319,
3933,
419,
3479,
2970,
365,
91,
411,
920,
49,
332,
2779,
3667,
310,
1487,
303,
339,
303,
496,
1024,
45,
22504,
299,
332,
11080,
678,
303,
581,
782,
913,
45,
671,
1431,
49,
1922,
1074,
49,
910,
3066,
46,
320,
310,
3803,
45,
36422,
51,
881,
45,
6943,
49,
40098,
51,
1828,
16960,
45,
6943,
49,
1431,
3684,
1074,
49,
3066,
312,
303,
339,
465,
453,
881,
727,
303,
648,
331,
1195,
64,
303,
910,
619,
976,
1195,
64,
303,
924,
2210,
331,
5983,
1195,
64,
465,
462,
7868,
320,
310,
1964,
331,
1195,
64,
303,
339,
465,
7868,
1623,
64,
465,
782,
758,
1195,
45,
429,
373,
46,
320,
331,
1195,
299,
373,
64,
339,
465,
782,
758,
8394,
1195,
45,
3239,
373,
46,
320,
310,
1623,
51,
102,
1195,
299,
373,
64,
303,
339,
465,
782,
758,
976,
1195,
45,
671,
373,
46,
320,
310,
619,
976,
1195,
299,
373,
64,
303,
339,
465,
782,
758,
1195,
724,
4602,
45,
976,
373,
46,
320,
310,
619,
976,
1195,
299,
373,
51,
3127,
492,
303,
339,
465,
924,
782,
758,
5983,
1195,
45,
976,
373,
46,
320,
310,
331,
5983,
1195,
299,
373,
64,
303,
339,
465,
782,
3517,
365,
320,
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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ycle/src/io/openems/edge/controller/ess/cycle/statemachine/Context.java | package io.openems.edge.controller.ess.cycle.statemachine;
import java.time.Clock;
import java.time.Duration;
import java.time.LocalDateTime;
import java.time.temporal.ChronoUnit;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import io.openems.edge.common.statemachine.AbstractContext;
import io.openems.edge.controller.ess.cycle.Config;
import io.openems.edge.controller.ess.cycle.ControllerEssCycleImpl;
import io.openems.edge.controller.ess.cycle.HybridEssMode;
import io.openems.edge.controller.ess.cycle.statemachine.StateMachine.State;
import io.openems.edge.ess.api.HybridEss;
import io.openems.edge.ess.api.ManagedSymmetricEss;
import io.openems.edge.ess.power.api.Phase;
import io.openems.edge.ess.power.api.Pwr;
public class Context extends AbstractContext<ControllerEssCycleImpl> {
protected final Config config;
protected final ManagedSymmetricEss ess;
protected final int allowedChargePower;
protected final int allowedDischargePower;
protected final Clock clock;
protected final LocalDateTime startTime;
private final Logger log = LoggerFactory.getLogger(Context.class);
public Context(ControllerEssCycleImpl parent, Config config, Clock clock, ManagedSymmetricEss ess,
LocalDateTime startTime) {
super(parent);
this.config = config;
this.clock = clock;
this.ess = ess;
this.startTime = startTime;
// get max charge/discharge power
this.allowedDischargePower = this.ess.getPower().getMaxPower(this.ess, Phase.ALL, Pwr.ACTIVE);
this.allowedChargePower = this.ess.getPower().getMinPower(this.ess, Phase.ALL, Pwr.ACTIVE);
}
/**
* Gets the required AC power set-point for AC- or Hybrid-ESS.
*
* @param ess the {@link ManagedSymmetricEss}; checked for
* {@link HybridEss}
* @param hybridEssMode the {@link HybridEssMode}
* @param power the configured target power
* @return the AC power set-point
*/
protected int getAcPower(ManagedSymmetricEss ess, HybridEssMode hybridEssMode, int power) {
return switch (this.config.hybridEssMode()) {
case TARGET_AC -> this.config.power();
case TARGET_DC -> {
if (ess instanceof HybridEss) {
var pv = ess.getActivePower().orElse(0) - ((HybridEss) ess).getDcDischargePower().orElse(0);
yield pv + this.config.power();
}
yield this.config.power();
}
};
}
/**
* Is Start Time Initialized?.
*
* @return true if the Controller should be executed now
*/
public boolean isStartTimeInitialized() {
var now = LocalDateTime.now(this.clock);
var afterNow = now.isAfter(this.startTime.minusSeconds(1));
var beforeNow = now.isBefore(this.startTime.plusSeconds(59));
if (afterNow && beforeNow) {
return true;
}
return false;
}
/**
* Helper for a state change. If awaiting hysteresis time exceeded switches from
* currentState to NextState.
*
* @param currentState Used to output better log.
* @param nextState state which will be switched to.
* @return {@link State} state.
*/
protected State waitForChangeState(State currentState, State nextState) {
final var controller = this.getParent();
if (!controller.getProcessFinished().get()) {
controller.getProcessFinished().set(true);
this.updateLastStateChangeTime();
}
var now = LocalDateTime.now(this.clock);
var standbyTimeInMinutes = Duration.ofMinutes(this.config.standbyTime());
if (now.minus(standbyTimeInMinutes.toSeconds(), ChronoUnit.SECONDS)
.isAfter(controller.getLastStateChangeTime())) {
controller.getProcessFinished().set(false);
return nextState;
}
this.logInfo(this.log, "Awaiting hysteresis for changing from [" + currentState + "] to [" + nextState + "]");
return currentState;
}
/**
* Updates the time when {@link StateMachine} {@link State} changed.
*/
public void updateLastStateChangeTime() {
this.getParent().setLastStateChangeTime(LocalDateTime.now(this.clock));
}
} | 3,899 | Java | .java | OpenEMS/openems | 664 | 350 | 106 | 2016-10-16T14:57:33Z | 2024-05-07T20:35:17Z | 1e9aa0dffd065400d90ae33dcab3fe476d194b1399737b748efcc038573493dc | [] | [
1337,
3377,
51,
1693,
4907,
51,
5874,
51,
4641,
51,
522,
51,
12937,
51,
1311,
8706,
64,
222,
222,
485,
1401,
51,
1021,
51,
11395,
64,
222,
485,
1401,
51,
1021,
51,
6203,
64,
222,
485,
1401,
51,
1021,
51,
31890,
64,
222,
485,
1401,
51,
1021,
51,
34616,
51,
846,
25834,
3024,
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,
3377,
51,
1693,
4907,
51,
5874,
51,
2297,
51,
1311,
8706,
51,
5597,
1237,
64,
222,
485,
3377,
51,
1693,
4907,
51,
5874,
51,
4641,
51,
522,
51,
12937,
51,
1081,
64,
222,
485,
3377,
51,
1693,
4907,
51,
5874,
51,
4641,
51,
522,
51,
12937,
51,
1934,
38482,
16113,
3499,
64,
222,
485,
3377,
51,
1693,
4907,
51,
5874,
51,
4641,
51,
522,
51,
12937,
51,
41287,
38482,
2116,
64,
222,
485,
3377,
51,
1693,
4907,
51,
5874,
51,
4641,
51,
522,
51,
12937,
51,
1311,
8706,
51,
29709,
51,
1095,
64,
222,
485,
3377,
51,
1693,
4907,
51,
5874,
51,
522,
51,
1256,
51,
41287,
38482,
64,
222,
485,
3377,
51,
1693,
4907,
51,
5874,
51,
522,
51,
1256,
51,
12395,
46360,
38482,
64,
222,
485,
3377,
51,
1693,
4907,
51,
5874,
51,
522,
51,
7404,
51,
1256,
51,
12238,
64,
222,
485,
3377,
51,
1693,
4907,
51,
5874,
51,
522,
51,
7404,
51,
1256,
51,
85,
7024,
64,
222,
222,
942,
462,
7063,
2041,
7406,
1237,
65,
1934,
38482,
16113,
3499,
67,
320,
499,
221,
5332,
1175,
3395,
1377,
64,
222,
221,
5332,
1175,
24416,
46360,
38482,
12192,
64,
222,
221,
5332,
1175,
648,
6671,
18580,
6790,
64,
222,
221,
5332,
1175,
648,
6671,
1744,
13260,
6790,
64,
222,
221,
5332,
1175,
24471,
9772,
64,
222,
221,
5332,
1175,
32863,
17570,
64,
499,
221,
2072,
1175,
7145,
1264,
299,
21818,
51,
10588,
45,
1237,
51,
842,
312,
499,
221,
942,
7063,
45,
1934,
38482,
16113,
3499,
2952,
49,
3395,
1377,
49,
24471,
9772,
49,
24416,
46360,
38482,
12192,
49,
374,
221,
31890,
17570,
46,
320,
376,
221,
5282,
45,
2562,
312,
376,
221,
597,
51,
1180,
299,
1377,
64,
376,
221,
597,
51,
9115,
299,
9772,
64,
376,
221,
597,
51,
522,
299,
12192,
64,
376,
221,
597,
51,
20909,
299,
17570,
64,
1332,
221,
325,
640,
1788,
10117,
52,
1303,
13260,
7183,
376,
221,
597,
51,
11330,
1744,
13260,
6790,
299,
477,
51,
522,
51,
390,
6790,
941,
23742,
6790,
45,
597,
51,
522,
49,
26166,
51,
2335,
49,
466,
7024,
51,
13028,
312,
376,
221,
597,
51,
11330,
18580,
6790,
299,
477,
51,
522,
51,
390,
6790,
941,
37457,
6790,
45,
597,
51,
522,
49,
26166,
51,
2335,
49,
466,
7024,
51,
13028,
312,
222,
221,
130,
499,
221,
1350,
376,
338,
7132,
341,
2147,
13864,
7183,
758,
50,
1513,
456,
13864,
50,
575,
29535,
8692,
50,
2521,
51,
376,
338,
4517,
338,
496,
772,
12192,
2281,
341,
3105,
1222,
24416,
46360,
38482,
1274,
8146,
456,
376,
338,
7223,
3105,
1222,
29535,
8692,
38482,
130,
376,
338,
496,
772,
42009,
38482,
2116,
341,
3105,
1222,
29535,
8692,
38482,
2116,
130,
376,
338,
496,
772,
7183,
282,
341,
9576,
1780,
7183,
376,
338,
496,
620,
341,
13864,
7183,
758,
50,
1513,
376,
588,
222,
221,
5332,
648,
640,
1609,
6790,
45,
12395,
46360,
38482,
12192,
49,
29535,
8692,
38482,
2116,
42009,
38482,
2116,
49,
648,
7183,
46,
320,
376,
221,
620,
3593,
327,
597,
51,
1180,
51,
37955,
38482,
2116,
1177,
320,
376,
221,
1749,
21235,
100,
1205,
984,
477,
51,
1180,
51,
7404,
492,
376,
221,
1749,
21235,
100,
4439,
984,
320,
374,
221,
344,
327,
522,
5118,
29535,
8692,
38482,
46,
320,
621,
221,
887,
19540,
299,
12192,
51,
21637,
6790,
941,
26628,
45,
53,
46,
449,
1849,
41287,
38482,
46,
12192,
566,
390,
27241,
1744,
13260,
6790,
941,
26628,
45,
53,
312,
621,
221,
12776,
19540,
494,
477,
51,
1180,
51,
7404,
492,
374,
221,
130,
374,
221,
12776,
477,
51,
1180,
51,
7404,
492,
376,
221,
130,
376,
221,
1274,
222,
221,
130,
499,
221,
1350,
376,
338,
3626,
4807,
3734,
2206,
4983,
376,
338,
4517,
338,
496,
620,
878,
434,
341,
6932,
1414,
545,
10784,
2483,
376,
588,
222,
221,
942,
1922,
458,
17885,
13743,
365,
320,
376,
221,
887,
2483,
299,
32863,
51,
2192,
45,
597,
51,
9115,
312,
376,
221,
887,
2703,
6538,
299,
2483,
51,
316,
5131,
45,
597,
51,
20909,
51,
15181,
9031,
45,
54,
894,
376,
221,
887,
2688,
6538,
299,
2483,
51,
316,
5670,
45,
597,
51,
20909,
51,
5447,
9031,
45,
58,
62,
894,
376,
221,
344,
327,
5497,
6538,
979,
2688,
6538,
46,
320,
374,
221,
620,
878,
64,
376,
221,
130,
376,
221,
620,
920,
64,
222,
221,
130,
499,
221,
1350,
376,
338,
6170,
456,
331,
1621,
1557,
51,
1691,
2031,
318,
439,
757,
284,
15857,
1153,
31829,
34779,
664,
376,
338,
1565,
1095,
391,
11006,
1095,
51,
376,
338,
4517,
338,
496,
772,
1565,
1095,
12785,
391,
1716,
6106,
1264,
51,
376,
338,
496,
772,
2371,
1095,
283,
1621,
1532,
1118,
545,
35449,
391,
51,
376,
338,
496,
620,
3105,
1222,
5036,
130,
1621,
51,
376,
588,
222,
221,
5332,
5036,
25115,
1810,
1095,
45,
1095,
1565,
1095,
49,
5036,
2371,
1095,
46,
320,
376,
221,
3242,
792,
5940,
299,
477,
51,
18777,
492,
376,
221,
344,
1445,
4641,
51,
390,
2877,
14071,
941,
390,
1177,
320,
374,
221,
4641,
51,
390,
2877,
14071,
941,
489,
45,
1527,
312,
374,
221,
597,
51,
1896,
3283,
36007,
1061,
492,
376,
221,
130,
376,
221,
887,
2483,
299,
32863,
51,
2192,
45,
597,
51,
9115,
312,
376,
221,
887,
14031,
1186,
48879,
16335,
299,
16687,
51,
1048,
16335,
45,
597,
51,
1180,
51,
5382,
1186,
1061,
1052,
376,
221,
344,
327,
2192,
51,
15181,
45,
5382,
1186,
48879,
16335,
51,
471,
9031,
1046,
1902,
25834,
3024,
51,
18369,
46,
621,
221,
51,
316,
5131,
45,
4641,
51,
20164,
36007,
1061,
5183,
320,
374,
221,
4641,
51,
390,
2877,
14071,
941,
489,
45,
1886,
312,
374,
221,
620,
2371,
1095,
64,
376,
221,
130,
376,
221,
597,
51,
769,
1139,
45,
597,
51,
769,
49,
332,
15560,
318,
439,
757,
284,
15857,
456,
12402,
664,
3059,
494,
1565,
1095,
494,
13697,
391,
3059,
494,
2371,
1095,
494,
13697,
742,
376,
221,
620,
1565,
1095,
64,
222,
221,
130,
499,
221,
1350,
376,
338,
19275,
341,
1153,
1429,
3105,
1222,
5036,
7105,
130,
3105,
1222,
5036,
130,
5386,
51,
376,
588,
222,
221,
942,
782,
1991,
3283,
36007,
1061,
365,
320,
376,
221,
597,
51,
18777,
941,
489,
3283,
36007,
1061,
45,
31890,
51,
2192,
45,
597,
51,
9115,
894,
222,
221,
130,
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,
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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,119 | true | 73.736856 | true | true |
QuiltInstallTask.java | /FileExtraction/Java_unseen/HMCL-dev_HMCL/HMCLCore/src/main/java/org/jackhuang/hmcl/download/quilt/QuiltInstallTask.java | /*
* Hello Minecraft! Launcher
* Copyright (C) 2022 huangyuhui <huanghongxun2008@126.com> 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, 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 org.jackhuang.hmcl.download.quilt;
import com.google.gson.JsonElement;
import com.google.gson.JsonObject;
import org.jackhuang.hmcl.download.DefaultDependencyManager;
import org.jackhuang.hmcl.download.LibraryAnalyzer;
import org.jackhuang.hmcl.download.UnsupportedInstallationException;
import org.jackhuang.hmcl.game.Arguments;
import org.jackhuang.hmcl.game.Artifact;
import org.jackhuang.hmcl.game.Library;
import org.jackhuang.hmcl.game.Version;
import org.jackhuang.hmcl.task.GetTask;
import org.jackhuang.hmcl.task.Task;
import org.jackhuang.hmcl.util.gson.JsonUtils;
import java.util.*;
import static org.jackhuang.hmcl.download.UnsupportedInstallationException.FABRIC_NOT_COMPATIBLE_WITH_FORGE;
/**
* <b>Note</b>: Quilt should be installed first.
*
* @author huangyuhui
*/
public final class QuiltInstallTask extends Task<Version> {
private final DefaultDependencyManager dependencyManager;
private final Version version;
private final QuiltRemoteVersion remote;
private final GetTask launchMetaTask;
private final List<Task<?>> dependencies = new ArrayList<>(1);
public QuiltInstallTask(DefaultDependencyManager dependencyManager, Version version, QuiltRemoteVersion remoteVersion) {
this.dependencyManager = dependencyManager;
this.version = version;
this.remote = remoteVersion;
launchMetaTask = new GetTask(dependencyManager.getDownloadProvider().injectURLsWithCandidates(remoteVersion.getUrls()));
launchMetaTask.setCacheRepository(dependencyManager.getCacheRepository());
}
@Override
public boolean doPreExecute() {
return true;
}
@Override
public void preExecute() throws Exception {
if (!Objects.equals("net.minecraft.client.main.Main", version.resolve(dependencyManager.getGameRepository()).getMainClass()))
throw new UnsupportedInstallationException(FABRIC_NOT_COMPATIBLE_WITH_FORGE);
}
@Override
public Collection<Task<?>> getDependents() {
return Collections.singleton(launchMetaTask);
}
@Override
public Collection<Task<?>> getDependencies() {
return dependencies;
}
@Override
public boolean isRelyingOnDependencies() {
return false;
}
@Override
public void execute() {
setResult(getPatch(JsonUtils.GSON.fromJson(launchMetaTask.getResult(), QuiltInfo.class), remote.getGameVersion(), remote.getSelfVersion()));
dependencies.add(dependencyManager.checkLibraryCompletionAsync(getResult(), true));
}
private Version getPatch(QuiltInfo quiltInfo, String gameVersion, String loaderVersion) {
JsonObject launcherMeta = quiltInfo.launcherMeta;
Arguments arguments = new Arguments();
String mainClass;
if (!launcherMeta.get("mainClass").isJsonObject()) {
mainClass = launcherMeta.get("mainClass").getAsString();
} else {
mainClass = launcherMeta.get("mainClass").getAsJsonObject().get("client").getAsString();
}
if (launcherMeta.has("launchwrapper")) {
String clientTweaker = launcherMeta.get("launchwrapper").getAsJsonObject().get("tweakers").getAsJsonObject().get("client").getAsJsonArray().get(0).getAsString();
arguments = arguments.addGameArguments("--tweakClass", clientTweaker);
}
JsonObject librariesObject = launcherMeta.getAsJsonObject("libraries");
List<Library> libraries = new ArrayList<>();
// "common, server" is hard coded in fabric installer.
// Don't know the purpose of ignoring client libraries.
for (String side : new String[]{"common", "server"}) {
for (JsonElement element : librariesObject.getAsJsonArray(side)) {
libraries.add(JsonUtils.GSON.fromJson(element, Library.class));
}
}
// libraries.add(new Library(Artifact.fromDescriptor(quiltInfo.hashed.maven), getMavenRepositoryByGroup(quiltInfo.hashed.maven), null));
libraries.add(new Library(Artifact.fromDescriptor(quiltInfo.intermediary.maven), getMavenRepositoryByGroup(quiltInfo.intermediary.maven), null));
libraries.add(new Library(Artifact.fromDescriptor(quiltInfo.loader.maven), getMavenRepositoryByGroup(quiltInfo.loader.maven), null));
return new Version(LibraryAnalyzer.LibraryType.QUILT.getPatchId(), loaderVersion, 30000, arguments, mainClass, libraries);
}
private static String getMavenRepositoryByGroup(String maven) {
Artifact artifact = Artifact.fromDescriptor(maven);
switch (artifact.getGroup()) {
case "net.fabricmc":
return "https://maven.fabricmc.net/";
case "org.quiltmc":
return "https://maven.quiltmc.org/repository/release/";
default:
return "https://maven.fabricmc.net/";
}
}
public static class QuiltInfo {
private final LoaderInfo loader;
private final IntermediaryInfo hashed;
private final IntermediaryInfo intermediary;
private final JsonObject launcherMeta;
public QuiltInfo(LoaderInfo loader, IntermediaryInfo hashed, IntermediaryInfo intermediary, JsonObject launcherMeta) {
this.loader = loader;
this.hashed = hashed;
this.intermediary = intermediary;
this.launcherMeta = launcherMeta;
}
public LoaderInfo getLoader() {
return loader;
}
public IntermediaryInfo getHashed() {
return hashed;
}
public IntermediaryInfo getIntermediary() {
return intermediary;
}
public JsonObject getLauncherMeta() {
return launcherMeta;
}
}
public static class LoaderInfo {
private final String separator;
private final int build;
private final String maven;
private final String version;
private final boolean stable;
public LoaderInfo(String separator, int build, String maven, String version, boolean stable) {
this.separator = separator;
this.build = build;
this.maven = maven;
this.version = version;
this.stable = stable;
}
public String getSeparator() {
return separator;
}
public int getBuild() {
return build;
}
public String getMaven() {
return maven;
}
public String getVersion() {
return version;
}
public boolean isStable() {
return stable;
}
}
public static class IntermediaryInfo {
private final String maven;
private final String version;
public IntermediaryInfo(String maven, String version) {
this.maven = maven;
this.version = version;
}
public String getMaven() {
return maven;
}
public String getVersion() {
return version;
}
}
}
| 7,839 | Java | .java | HMCL-dev/HMCL | 6,334 | 645 | 146 | 2015-06-22T08:06:03Z | 2024-05-08T16:56:14Z | d4071299550b16f19ac093d9f98945e01e9b316f4a2fc15782c16cd6e86fdf71 | [] | [
1127,
222,
338,
12009,
35022,
38,
23488,
284,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
55,
55,
244,
38311,
761,
126,
16519,
1726,
350,
8290,
761,
109,
805,
125,
330,
55,
53,
53,
61,
69,
54,
55,
59,
51,
527,
67,
480,
13356,
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,
1337,
1105,
51,
10587,
8290,
761,
51,
10677,
592,
51,
5000,
51,
467,
3430,
64,
222,
222,
485,
785,
51,
2193,
51,
19968,
51,
2541,
1325,
64,
222,
485,
785,
51,
2193,
51,
19968,
51,
20587,
64,
222,
485,
1105,
51,
10587,
8290,
761,
51,
10677,
592,
51,
5000,
51,
2061,
9666,
1590,
64,
222,
485,
1105,
51,
10587,
8290,
761,
51,
10677,
592,
51,
5000,
51,
5887,
17430,
64,
222,
485,
1105,
51,
10587,
8290,
761,
51,
10677,
592,
51,
5000,
51,
16737,
21346,
1002,
64,
222,
485,
1105,
51,
10587,
8290,
761,
51,
10677,
592,
51,
3642,
51,
8560,
64,
222,
485,
1105,
51,
10587,
8290,
761,
51,
10677,
592,
51,
3642,
51,
11966,
64,
222,
485,
1105,
51,
10587,
8290,
761,
51,
10677,
592,
51,
3642,
51,
5887,
64,
222,
485,
1105,
51,
10587,
8290,
761,
51,
10677,
592,
51,
3642,
51,
2080,
64,
222,
485,
1105,
51,
10587,
8290,
761,
51,
10677,
592,
51,
2810,
51,
953,
2265,
64,
222,
485,
1105,
51,
10587,
8290,
761,
51,
10677,
592,
51,
2810,
51,
2265,
64,
222,
485,
1105,
51,
10587,
8290,
761,
51,
10677,
592,
51,
1058,
51,
19968,
51,
2541,
2769,
64,
222,
222,
485,
1401,
51,
1058,
7737,
222,
222,
485,
924,
1105,
51,
10587,
8290,
761,
51,
10677,
592,
51,
5000,
51,
16737,
21346,
1002,
51,
48931,
34237,
100,
3922,
100,
33265,
15456,
100,
12006,
100,
7331,
3076,
64,
222,
222,
1350,
222,
338,
350,
103,
67,
5232,
396,
103,
4253,
5618,
3430,
1414,
545,
6733,
1950,
51,
222,
338,
222,
338,
496,
2133,
38311,
761,
126,
16519,
1726,
222,
588,
222,
942,
1175,
462,
5618,
3430,
7214,
2265,
2041,
4211,
65,
2080,
67,
320,
465,
964,
1175,
4119,
9666,
1590,
8458,
1590,
64,
303,
964,
1175,
3050,
1522,
64,
303,
964,
1175,
5618,
3430,
7318,
2080,
6564,
64,
303,
964,
1175,
1408,
2265,
11305,
4247,
2265,
64,
303,
964,
1175,
1701,
65,
2265,
31785,
6450,
299,
556,
5068,
11530,
54,
312,
465,
581,
5618,
3430,
7214,
2265,
45,
2061,
9666,
1590,
8458,
1590,
49,
3050,
1522,
49,
5618,
3430,
7318,
2080,
6564,
2080,
46,
320,
310,
477,
51,
9281,
1590,
299,
8458,
1590,
64,
310,
477,
51,
1687,
299,
1522,
64,
310,
477,
51,
7004,
299,
6564,
2080,
64,
603,
11305,
4247,
2265,
299,
556,
1408,
2265,
45,
9281,
1590,
51,
390,
7511,
2588,
941,
10287,
2427,
8621,
40902,
45,
7004,
2080,
51,
390,
15835,
5086,
310,
11305,
4247,
2265,
51,
489,
2610,
3231,
45,
9281,
1590,
51,
48135,
3231,
1052,
303,
339,
465,
496,
1806,
303,
581,
1922,
764,
2641,
7089,
365,
320,
310,
461,
878,
64,
303,
339,
465,
496,
1806,
303,
581,
782,
1426,
7089,
365,
2589,
3284,
320,
310,
434,
1445,
6699,
51,
3591,
459,
1317,
51,
8654,
51,
1598,
51,
1850,
51,
4370,
411,
1522,
51,
5292,
45,
9281,
1590,
51,
390,
3783,
3231,
4269,
390,
4370,
1359,
5183,
343,
1440,
556,
18082,
21346,
1002,
45,
48931,
34237,
100,
3922,
100,
33265,
15456,
100,
12006,
100,
7331,
3076,
312,
303,
339,
465,
496,
1806,
303,
581,
7380,
65,
2265,
31785,
640,
6174,
10753,
365,
320,
310,
461,
15490,
51,
17142,
45,
10579,
4247,
2265,
312,
303,
339,
465,
496,
1806,
303,
581,
7380,
65,
2265,
31785,
640,
12721,
365,
320,
310,
461,
6450,
64,
303,
339,
465,
496,
1806,
303,
581,
1922,
458,
87,
3151,
318,
1501,
12721,
365,
320,
310,
461,
920,
64,
303,
339,
465,
496,
1806,
303,
581,
782,
5755,
365,
320,
310,
758,
1413,
45,
390,
9786,
45,
2541,
2769,
51,
76,
1979,
51,
23862,
45,
10579,
4247,
2265,
51,
23946,
1046,
5618,
3430,
1139,
51,
842,
490,
6564,
51,
390,
3783,
2080,
1046,
6564,
51,
390,
8183,
2080,
5086,
603,
6450,
51,
688,
45,
9281,
1590,
51,
1571,
5887,
11935,
2997,
45,
23946,
1046,
878,
894,
303,
339,
465,
964,
3050,
640,
9786,
45,
1257,
3430,
1139,
2084,
3430,
1139,
49,
910,
4204,
2080,
49,
910,
11527,
2080,
46,
320,
310,
30006,
42483,
4247,
299,
2084,
3430,
1139,
51,
23682,
4247,
64,
310,
15847,
4228,
299,
556,
15847,
492,
603,
910,
2594,
1359,
64,
310,
434,
1445,
23682,
4247,
51,
390,
459,
1850,
1359,
1912,
316,
20587,
1177,
320,
343,
2594,
1359,
299,
42483,
4247,
51,
390,
459,
1850,
1359,
1912,
390,
15021,
492,
310,
339,
832,
320,
343,
2594,
1359,
299,
42483,
4247,
51,
390,
459,
1850,
1359,
1912,
38984,
20587,
941,
390,
459,
1598,
1912,
390,
15021,
492,
310,
339,
603,
434,
327,
23682,
4247,
51,
2057,
459,
10579,
5106,
2152,
320,
343,
910,
2060,
89,
1399,
5218,
299,
42483,
4247,
51,
390,
459,
10579,
5106,
1912,
38984,
20587,
941,
390,
459,
44301,
502,
1912,
38984,
20587,
941,
390,
459,
1598,
1912,
38984,
49018,
941,
390,
45,
53,
566,
390,
15021,
492,
343,
4228,
299,
4228,
51,
688,
3783,
8560,
13715,
44301,
1359,
411,
2060,
89,
1399,
5218,
312,
310,
339,
603,
30006,
11382,
976,
299,
42483,
4247,
51,
38984,
20587,
459,
20406,
742,
310,
1701,
65,
5887,
67,
11382,
299,
556,
5068,
6984,
603,
453,
332,
2297,
49,
2160,
39,
458,
6804,
38399,
347,
26749,
25049,
51,
310,
453,
12046,
1348,
3722,
341,
11673,
451,
32006,
2060,
11382,
51,
310,
456,
327,
671,
5226,
518,
556,
910,
41167,
2297,
411,
332,
1805,
15147,
320,
343,
456,
327,
2541,
1325,
2016,
518,
11382,
976,
51,
38984,
49018,
45,
2691,
509,
320,
419,
11382,
51,
688,
45,
2541,
2769,
51,
76,
1979,
51,
23862,
45,
2559,
49,
13395,
51,
842,
894,
343,
339,
310,
339,
603,
453,
11382,
51,
688,
45,
909,
13395,
45,
11966,
51,
1097,
4336,
45,
467,
3430,
1139,
51,
46457,
51,
10381,
490,
640,
29940,
3231,
1103,
1582,
45,
467,
3430,
1139,
51,
46457,
51,
10381,
490,
762,
894,
310,
11382,
51,
688,
45,
909,
13395,
45,
11966,
51,
1097,
4336,
45,
467,
3430,
1139,
51,
1164,
3996,
692,
51,
10381,
490,
640,
29940,
3231,
1103,
1582,
45,
467,
3430,
1139,
51,
1164,
3996,
692,
51,
10381,
490,
762,
894,
310,
11382,
51,
688,
45,
909,
13395,
45,
11966,
51,
1097,
4336,
45,
467,
3430,
1139,
51,
4579,
51,
10381,
490,
640,
29940,
3231,
1103,
1582,
45,
467,
3430,
1139,
51,
4579,
51,
10381,
490,
762,
894,
603,
461,
556,
3050,
45,
5887,
17430,
51,
5887,
638,
51,
5239,
1484,
89,
51,
390,
9786,
625,
1046,
11527,
2080,
49,
244,
56,
53,
53,
53,
53,
49,
4228,
49,
2594,
1359,
49,
11382,
312,
303,
339,
465,
964,
924,
910,
640,
29940,
3231,
1103,
1582,
45,
671,
26910,
46,
320,
310,
30301,
12453,
299,
30301,
51,
1097,
4336,
45,
10381,
312,
310,
3593,
327,
8662,
51,
39610,
1177,
320,
343,
1152,
332,
1317,
51,
11169,
6070,
582,
419,
461,
332,
662,
574,
10381,
51,
11169,
6070,
51,
1317,
26217,
343,
1152,
332,
1107,
51,
467,
3430,
6070,
582,
419,
461,
332,
662,
574,
10381,
51,
467,
3430,
6070,
51,
1107,
52,
6335,
52,
3794,
26217,
343,
1263,
63,
419,
461,
332,
662,
574,
10381,
51,
11169,
6070,
51,
1317,
26217,
310,
339,
303,
339,
465,
581,
924,
462,
5618,
3430,
1139,
320,
310,
964,
1175,
12400,
1139,
11527,
64,
310,
964,
1175,
4821,
3996,
692,
1139,
38583,
64,
310,
964,
1175,
4821,
3996,
692,
1139,
1447,
3996,
692,
64,
310,
964,
1175,
30006,
42483,
4247,
64,
603,
581,
5618,
3430,
1139,
45,
4903,
1139,
11527,
49,
4821,
3996,
692,
1139,
38583,
49,
4821,
3996,
692,
1139,
1447,
3996,
692,
49,
30006,
42483,
4247,
46,
320,
343,
477,
51,
4579,
299,
11527,
64,
343,
477,
51,
46457,
299,
38583,
64,
343,
477,
51,
1164,
3996,
692,
299,
1447,
3996,
692,
64,
343,
477,
51,
23682,
4247,
299,
42483,
4247,
64,
310,
339,
603,
581,
12400,
1139,
640,
4903,
365,
320,
343,
461,
11527,
64,
310,
339,
603,
581,
4821,
3996,
692,
1139,
640,
4008,
2054,
365,
320,
343,
461,
38583,
64,
310,
339,
603,
581,
4821,
3996,
692,
1139,
640,
1662,
3996,
692,
365,
320,
343,
461,
1447,
3996,
692,
64,
310,
339,
603,
581,
30006,
640,
22614,
4247,
365,
320,
343,
461,
42483,
4247,
64,
310,
339,
303,
339,
465,
581,
924,
462,
12400,
1139,
320,
310,
964,
1175,
910,
17599,
64,
310,
964,
1175,
648,
1984,
64,
310,
964,
1175,
910,
26910,
64,
310,
964,
1175,
910,
1522,
64,
310,
964,
1175,
1922,
15714,
64,
603,
581,
12400,
1139,
45,
671,
17599,
49,
648,
1984,
49,
910,
26910,
49,
910,
1522,
49,
1922,
15714,
46,
320,
343,
477,
51,
12640,
299,
17599,
64,
343,
477,
51,
1848,
299,
1984,
64,
343,
477,
51,
10381,
299,
26910,
64,
343,
477,
51,
1687,
299,
1522,
64,
343,
477,
51,
10993,
299,
15714,
64,
310,
339,
603,
581,
910,
640,
11143,
365,
320,
343,
461,
17599,
64,
310,
339,
603,
581,
648,
640,
3328,
365,
320,
343,
461,
1984,
64,
310,
339,
603,
581,
910,
640,
29940,
365,
320,
343,
461,
26910,
64,
310,
339,
603,
581,
910,
640,
2080,
365,
320,
343,
461,
1522,
64,
310,
339,
603,
581,
1922,
458,
31969,
365,
320,
343,
461,
15714,
64,
310,
339,
303,
339,
465,
581,
924,
462,
4821,
3996,
692,
1139,
320,
310,
964,
1175,
910,
26910,
64,
310,
964,
1175,
910,
1522,
64,
603,
581,
4821,
3996,
692,
1139,
45,
671,
26910,
49,
910,
1522,
46,
320,
343,
477,
51,
10381,
299,
26910,
64,
343,
477,
51,
1687,
299,
1522,
64,
310,
339,
603,
581,
910,
640,
29940,
365,
320,
343,
461,
26910,
64,
310,
339,
603,
581,
910,
640,
2080,
365,
320,
343,
461,
1522,
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,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 1,784 | true | 67.049369 | true | true |
UserTest.java | /FileExtraction/Java_unseen/mryqr-com_mry-backend/src/test/java/com/mryqr/core/common/user/UserTest.java | package com.mryqr.core.common.user;
import com.mryqr.BaseUnitTest;
import com.mryqr.core.common.domain.user.Role;
import com.mryqr.core.common.domain.user.User;
import com.mryqr.core.common.exception.MryException;
import org.junit.jupiter.api.Test;
import static com.mryqr.core.common.domain.user.Role.ROBOT;
import static com.mryqr.core.common.domain.user.Role.TENANT_ADMIN;
import static com.mryqr.core.common.domain.user.Role.TENANT_MEMBER;
import static com.mryqr.core.common.domain.user.User.ANONYMOUS_USER;
import static com.mryqr.core.common.domain.user.User.humanUser;
import static com.mryqr.core.common.domain.user.User.robotUser;
import static com.mryqr.core.common.exception.ErrorCode.ACCESS_DENIED;
import static com.mryqr.core.common.exception.ErrorCode.AUTHENTICATION_FAILED;
import static com.mryqr.core.common.exception.ErrorCode.WRONG_TENANT;
import static com.mryqr.core.member.domain.Member.newMemberId;
import static com.mryqr.core.tenant.domain.Tenant.newTenantId;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertNull;
import static org.junit.jupiter.api.Assertions.assertThrows;
import static org.junit.jupiter.api.Assertions.assertTrue;
class UserTest extends BaseUnitTest {
@Test
public void should_create_human_user() {
String memberId = newMemberId();
String tenantId = newTenantId();
Role role = TENANT_ADMIN;
User user = humanUser(memberId, "Alex", tenantId, role);
assertEquals(user.getMemberId(), memberId);
assertEquals(user.getTenantId(), tenantId);
assertEquals(user.getRole(), role);
}
@Test
public void should_fail_to_create_human_user_with_incomplete_info() {
assertThrows(IllegalArgumentException.class, () -> humanUser(null, "Alex", newTenantId(), TENANT_ADMIN));
assertThrows(IllegalArgumentException.class, () -> humanUser(newMemberId(), "Alex", null, TENANT_ADMIN));
assertThrows(NullPointerException.class, () -> humanUser(newMemberId(), "Alex", newTenantId(), null));
}
@Test
public void should_fail_to_create_robot_user_with_incomplete_info() {
assertThrows(IllegalArgumentException.class, () -> robotUser(null));
}
@Test
public void should_create_tenant_admin() {
String memberId = newMemberId();
String tenantId = newTenantId();
User user = humanUser(memberId, "Alex", tenantId, TENANT_ADMIN);
assertTrue(user.isLoggedIn());
user.checkIsLoggedIn();
assertTrue(user.isLoggedInFor(tenantId));
assertFalse(user.isLoggedInFor(newTenantId()));
user.checkIsLoggedInFor(tenantId);
}
@Test
public void should_create_robot_user() {
String tenantId = newTenantId();
User user = robotUser(tenantId);
assertNull(user.getMemberId());
assertEquals(user.getTenantId(), tenantId);
assertEquals(user.getRole(), ROBOT);
}
@Test
public void should_create_anonymous_user() {
User user = ANONYMOUS_USER;
assertNull(user.getMemberId());
assertNull(user.getTenantId());
assertNull(user.getRole());
}
@Test
public void should_logged_in_as_tenant_admin() {
String memberId = newMemberId();
String tenantId = newTenantId();
User user = humanUser(memberId, "Alex", tenantId, TENANT_ADMIN);
assertTrue(user.isLoggedIn());
user.checkIsLoggedIn();
assertTrue(user.isLoggedInFor(tenantId));
assertFalse(user.isLoggedInFor(newTenantId()));
user.checkIsLoggedInFor(tenantId);
assertEquals(WRONG_TENANT, assertThrows(MryException.class, () -> user.checkIsLoggedInFor(newTenantId())).getCode());
assertTrue(user.isTenantAdmin());
user.checkIsTenantAdmin();
assertTrue(user.isTenantAdminFor(tenantId));
assertFalse(user.isTenantAdminFor(newTenantId()));
user.checkIsTenantAdminFor(tenantId);
assertEquals(WRONG_TENANT, assertThrows(MryException.class, () -> user.checkIsTenantAdminFor(newTenantId())).getCode());
assertTrue(user.isTenantRoot());
user.checkIsTenantRoot();
assertTrue(user.isTenantRootFor(tenantId));
assertFalse(user.isTenantRootFor(newTenantId()));
user.checkIsTenantRootFor(tenantId);
assertEquals(WRONG_TENANT, assertThrows(MryException.class, () -> user.checkIsTenantRootFor(newTenantId())).getCode());
assertTrue(user.isHumanUser());
user.checkIsHumanUser();
assertTrue(user.isHumanUserFor(tenantId));
assertEquals(WRONG_TENANT, assertThrows(MryException.class, () -> user.checkIsHumanUserFor(newTenantId())).getCode());
}
@Test
public void should_logged_in_as_tenant_member() {
String memberId = newMemberId();
String tenantId = newTenantId();
User user = humanUser(memberId, "Alex", tenantId, TENANT_MEMBER);
assertTrue(user.isLoggedIn());
user.checkIsLoggedIn();
assertTrue(user.isLoggedInFor(tenantId));
assertFalse(user.isLoggedInFor(newTenantId()));
user.checkIsLoggedInFor(tenantId);
assertEquals(WRONG_TENANT, assertThrows(MryException.class, () -> user.checkIsLoggedInFor(newTenantId())).getCode());
assertFalse(user.isTenantAdmin());
assertEquals(ACCESS_DENIED, assertThrows(MryException.class, user::checkIsTenantAdmin).getCode());
assertFalse(user.isTenantAdminFor(tenantId));
assertFalse(user.isTenantAdminFor(newTenantId()));
assertEquals(ACCESS_DENIED, assertThrows(MryException.class, () -> user.checkIsTenantAdminFor(tenantId)).getCode());
assertEquals(WRONG_TENANT, assertThrows(MryException.class, () -> user.checkIsTenantAdminFor(newTenantId())).getCode());
assertFalse(user.isTenantRoot());
assertEquals(ACCESS_DENIED, assertThrows(MryException.class, user::checkIsTenantRoot).getCode());
assertFalse(user.isTenantRootFor(tenantId));
assertFalse(user.isTenantRootFor(newTenantId()));
assertEquals(ACCESS_DENIED, assertThrows(MryException.class, () -> user.checkIsTenantRootFor(tenantId)).getCode());
assertEquals(WRONG_TENANT, assertThrows(MryException.class, () -> user.checkIsTenantRootFor(newTenantId())).getCode());
assertTrue(user.isHumanUser());
user.checkIsHumanUser();
assertTrue(user.isHumanUserFor(tenantId));
assertEquals(WRONG_TENANT, assertThrows(MryException.class, () -> user.checkIsHumanUserFor(newTenantId())).getCode());
}
@Test
public void should_logged_in_as_robot() {
String tenantId = newTenantId();
User user = robotUser(tenantId);
assertTrue(user.isLoggedIn());
user.checkIsLoggedIn();
assertTrue(user.isLoggedInFor(tenantId));
assertFalse(user.isLoggedInFor(newTenantId()));
user.checkIsLoggedInFor(tenantId);
assertEquals(WRONG_TENANT, assertThrows(MryException.class, () -> user.checkIsLoggedInFor(newTenantId())).getCode());
assertFalse(user.isTenantAdmin());
assertEquals(ACCESS_DENIED, assertThrows(MryException.class, user::checkIsTenantAdmin).getCode());
assertFalse(user.isTenantAdminFor(tenantId));
assertFalse(user.isTenantAdminFor(newTenantId()));
assertEquals(ACCESS_DENIED, assertThrows(MryException.class, () -> user.checkIsTenantAdminFor(tenantId)).getCode());
assertEquals(WRONG_TENANT, assertThrows(MryException.class, () -> user.checkIsTenantAdminFor(newTenantId())).getCode());
assertTrue(user.isTenantRoot());
user.checkIsTenantRoot();
assertTrue(user.isTenantRootFor(tenantId));
assertFalse(user.isTenantRootFor(newTenantId()));
user.checkIsTenantRootFor(tenantId);
assertEquals(WRONG_TENANT, assertThrows(MryException.class, () -> user.checkIsTenantRootFor(newTenantId())).getCode());
assertFalse(user.isHumanUser());
assertEquals(ACCESS_DENIED, assertThrows(MryException.class, user::checkIsHumanUser).getCode());
assertFalse(user.isHumanUserFor(tenantId));
assertFalse(user.isHumanUserFor(newTenantId()));
assertEquals(ACCESS_DENIED, assertThrows(MryException.class, () -> user.checkIsHumanUserFor(tenantId)).getCode());
assertEquals(WRONG_TENANT, assertThrows(MryException.class, () -> user.checkIsHumanUserFor(newTenantId())).getCode());
}
@Test
public void should_logged_in_as_anonymous() {
User user = ANONYMOUS_USER;
assertFalse(user.isLoggedIn());
assertEquals(AUTHENTICATION_FAILED, assertThrows(MryException.class, user::checkIsLoggedIn).getCode());
assertFalse(user.isLoggedInFor(newTenantId()));
assertEquals(AUTHENTICATION_FAILED, assertThrows(MryException.class, () -> user.checkIsLoggedInFor(newTenantId())).getCode());
assertFalse(user.isTenantAdmin());
assertEquals(AUTHENTICATION_FAILED, assertThrows(MryException.class, user::checkIsTenantAdmin).getCode());
assertFalse(user.isTenantAdminFor(newTenantId()));
assertEquals(AUTHENTICATION_FAILED, assertThrows(MryException.class, () -> user.checkIsTenantAdminFor(newTenantId())).getCode());
assertFalse(user.isTenantRoot());
assertEquals(AUTHENTICATION_FAILED, assertThrows(MryException.class, user::checkIsTenantRoot).getCode());
assertFalse(user.isTenantRootFor(newTenantId()));
assertEquals(AUTHENTICATION_FAILED, assertThrows(MryException.class, () -> user.checkIsTenantRootFor(newTenantId())).getCode());
assertFalse(user.isHumanUser());
assertEquals(AUTHENTICATION_FAILED, assertThrows(MryException.class, user::checkIsHumanUser).getCode());
assertFalse(user.isHumanUserFor(newTenantId()));
assertEquals(AUTHENTICATION_FAILED, assertThrows(MryException.class, () -> user.checkIsHumanUserFor(newTenantId())).getCode());
}
} | 10,069 | Java | .java | mryqr-com/mry-backend | 157 | 48 | 6 | 2023-06-06T03:31:04Z | 2024-04-26T13:37:11Z | 6cd188e1cfec1b2b4585120f966ba7491e0bb1e08cdc2288b4ac1adaac93db6a | [] | [
1337,
785,
51,
114,
1012,
13652,
51,
1284,
51,
2297,
51,
514,
64,
222,
222,
485,
785,
51,
114,
1012,
13652,
51,
1778,
24209,
64,
222,
485,
785,
51,
114,
1012,
13652,
51,
1284,
51,
2297,
51,
4136,
51,
514,
51,
4555,
64,
222,
485,
785,
51,
114,
1012,
13652,
51,
1284,
51,
2297,
51,
4136,
51,
514,
51,
1259,
64,
222,
485,
785,
51,
114,
1012,
13652,
51,
1284,
51,
2297,
51,
3918,
51,
82,
1012,
1002,
64,
222,
485,
1105,
51,
3946,
51,
14127,
51,
1256,
51,
1024,
64,
222,
222,
485,
924,
785,
51,
114,
1012,
13652,
51,
1284,
51,
2297,
51,
4136,
51,
514,
51,
4555,
51,
44374,
64,
222,
485,
924,
785,
51,
114,
1012,
13652,
51,
1284,
51,
2297,
51,
4136,
51,
514,
51,
4555,
51,
32956,
4525,
100,
15805,
64,
222,
485,
924,
785,
51,
114,
1012,
13652,
51,
1284,
51,
2297,
51,
4136,
51,
514,
51,
4555,
51,
32956,
4525,
100,
7248,
64,
222,
485,
924,
785,
51,
114,
1012,
13652,
51,
1284,
51,
2297,
51,
4136,
51,
514,
51,
1259,
51,
946,
13144,
2414,
2062,
100,
4991,
64,
222,
485,
924,
785,
51,
114,
1012,
13652,
51,
1284,
51,
2297,
51,
4136,
51,
514,
51,
1259,
51,
18271,
1259,
64,
222,
485,
924,
785,
51,
114,
1012,
13652,
51,
1284,
51,
2297,
51,
4136,
51,
514,
51,
1259,
51,
10535,
1259,
64,
222,
485,
924,
785,
51,
114,
1012,
13652,
51,
1284,
51,
2297,
51,
3918,
51,
10724,
51,
12465,
100,
16031,
47933,
64,
222,
485,
924,
785,
51,
114,
1012,
13652,
51,
1284,
51,
2297,
51,
3918,
51,
10724,
51,
40006,
9586,
100,
10811,
64,
222,
485,
924,
785,
51,
114,
1012,
13652,
51,
1284,
51,
2297,
51,
3918,
51,
10724,
51,
46764,
100,
32956,
4525,
64,
222,
485,
924,
785,
51,
114,
1012,
13652,
51,
1284,
51,
3675,
51,
4136,
51,
4605,
51,
909,
4605,
625,
64,
222,
485,
924,
785,
51,
114,
1012,
13652,
51,
1284,
51,
15198,
51,
4136,
51,
16885,
51,
909,
41087,
64,
222,
485,
924,
1105,
51,
3946,
51,
14127,
51,
1256,
51,
16980,
51,
4993,
64,
222,
485,
924,
1105,
51,
3946,
51,
14127,
51,
1256,
51,
16980,
51,
14840,
64,
222,
485,
924,
1105,
51,
3946,
51,
14127,
51,
1256,
51,
16980,
51,
18787,
64,
222,
485,
924,
1105,
51,
3946,
51,
14127,
51,
1256,
51,
16980,
51,
880,
12762,
64,
222,
485,
924,
1105,
51,
3946,
51,
14127,
51,
1256,
51,
16980,
51,
6553,
64,
222,
222,
842,
2694,
1024,
2041,
3787,
24209,
320,
465,
496,
1024,
303,
581,
782,
1414,
100,
1315,
100,
18271,
100,
514,
365,
320,
310,
910,
5817,
625,
299,
556,
4605,
625,
492,
310,
910,
17068,
625,
299,
556,
41087,
492,
310,
13936,
4218,
299,
413,
737,
4525,
100,
15805,
64,
310,
2694,
1275,
299,
13492,
1259,
45,
3675,
625,
49,
332,
27414,
411,
17068,
625,
49,
4218,
312,
310,
3803,
45,
514,
51,
390,
4605,
625,
1046,
5817,
625,
312,
310,
3803,
45,
514,
51,
390,
41087,
1046,
17068,
625,
312,
310,
3803,
45,
514,
51,
390,
4555,
1046,
4218,
312,
303,
339,
465,
496,
1024,
303,
581,
782,
1414,
100,
5077,
100,
471,
100,
1315,
100,
18271,
100,
514,
100,
1814,
100,
285,
5916,
100,
1357,
365,
320,
310,
38945,
45,
25894,
51,
842,
49,
1423,
984,
13492,
1259,
45,
1710,
49,
332,
27414,
411,
556,
41087,
1046,
413,
737,
4525,
100,
15805,
894,
310,
38945,
45,
25894,
51,
842,
49,
1423,
984,
13492,
1259,
45,
909,
4605,
625,
1046,
332,
27414,
411,
762,
49,
413,
737,
4525,
100,
15805,
894,
310,
38945,
45,
26268,
51,
842,
49,
1423,
984,
13492,
1259,
45,
909,
4605,
625,
1046,
332,
27414,
411,
556,
41087,
1046,
762,
894,
303,
339,
465,
496,
1024,
303,
581,
782,
1414,
100,
5077,
100,
471,
100,
1315,
100,
10535,
100,
514,
100,
1814,
100,
285,
5916,
100,
1357,
365,
320,
310,
38945,
45,
25894,
51,
842,
49,
1423,
984,
13066,
1259,
45,
1710,
894,
303,
339,
465,
496,
1024,
303,
581,
782,
1414,
100,
1315,
100,
15198,
100,
2317,
365,
320,
310,
910,
5817,
625,
299,
556,
4605,
625,
492,
310,
910,
17068,
625,
299,
556,
41087,
492,
310,
2694,
1275,
299,
13492,
1259,
45,
3675,
625,
49,
332,
27414,
411,
17068,
625,
49,
413,
737,
4525,
100,
15805,
312,
310,
9396,
45,
514,
51,
316,
25469,
1052,
310,
1275,
51,
1571,
1640,
25469,
492,
310,
9396,
45,
514,
51,
316,
25469,
1580,
45,
37771,
894,
310,
12745,
45,
514,
51,
316,
25469,
1580,
45,
909,
41087,
5086,
310,
1275,
51,
1571,
1640,
25469,
1580,
45,
37771,
312,
465,
339,
4054,
496,
1024,
303,
581,
782,
1414,
100,
1315,
100,
10535,
100,
514,
365,
320,
310,
910,
17068,
625,
299,
556,
41087,
492,
310,
2694,
1275,
299,
13066,
1259,
45,
37771,
312,
310,
27400,
45,
514,
51,
390,
4605,
625,
1052,
310,
3803,
45,
514,
51,
390,
41087,
1046,
17068,
625,
312,
310,
3803,
45,
514,
51,
390,
4555,
1046,
578,
4409,
1212,
312,
303,
339,
465,
496,
1024,
303,
581,
782,
1414,
100,
1315,
100,
12796,
100,
514,
365,
320,
310,
2694,
1275,
299,
1753,
13144,
2414,
2062,
100,
4991,
64,
310,
27400,
45,
514,
51,
390,
4605,
625,
1052,
310,
27400,
45,
514,
51,
390,
41087,
1052,
310,
27400,
45,
514,
51,
390,
4555,
1052,
303,
339,
465,
496,
1024,
303,
581,
782,
1414,
100,
17864,
100,
285,
100,
321,
100,
15198,
100,
2317,
365,
320,
310,
910,
5817,
625,
299,
556,
4605,
625,
492,
310,
910,
17068,
625,
299,
556,
41087,
492,
310,
2694,
1275,
299,
13492,
1259,
45,
3675,
625,
49,
332,
27414,
411,
17068,
625,
49,
413,
737,
4525,
100,
15805,
312,
603,
9396,
45,
514,
51,
316,
25469,
1052,
310,
1275,
51,
1571,
1640,
25469,
492,
603,
9396,
45,
514,
51,
316,
25469,
1580,
45,
37771,
894,
310,
12745,
45,
514,
51,
316,
25469,
1580,
45,
909,
41087,
5086,
603,
1275,
51,
1571,
1640,
25469,
1580,
45,
37771,
312,
310,
3803,
45,
46764,
100,
32956,
4525,
49,
38945,
45,
82,
1012,
1002,
51,
842,
49,
1423,
984,
1275,
51,
1571,
1640,
25469,
1580,
45,
909,
41087,
22293,
24202,
1052,
603,
9396,
45,
514,
51,
316,
16885,
4208,
1052,
310,
1275,
51,
1571,
1640,
16885,
4208,
492,
603,
9396,
45,
514,
51,
316,
16885,
4208,
1580,
45,
37771,
894,
310,
12745,
45,
514,
51,
316,
16885,
4208,
1580,
45,
909,
41087,
5086,
603,
1275,
51,
1571,
1640,
16885,
4208,
1580,
45,
37771,
312,
310,
3803,
45,
46764,
100,
32956,
4525,
49,
38945,
45,
82,
1012,
1002,
51,
842,
49,
1423,
984,
1275,
51,
1571,
1640,
16885,
4208,
1580,
45,
909,
41087,
22293,
24202,
1052,
603,
9396,
45,
514,
51,
316,
16885,
4069,
1052,
310,
1275,
51,
1571,
1640,
16885,
4069,
492,
603,
9396,
45,
514,
51,
316,
16885,
4069,
1580,
45,
37771,
894,
310,
12745,
45,
514,
51,
316,
16885,
4069,
1580,
45,
909,
41087,
5086,
603,
1275,
51,
1571,
1640,
16885,
4069,
1580,
45,
37771,
312,
310,
3803,
45,
46764,
100,
32956,
4525,
49,
38945,
45,
82,
1012,
1002,
51,
842,
49,
1423,
984,
1275,
51,
1571,
1640,
16885,
4069,
1580,
45,
909,
41087,
22293,
24202,
1052,
603,
9396,
45,
514,
51,
316,
21586,
1259,
1052,
310,
1275,
51,
1571,
1640,
21586,
1259,
492,
603,
9396,
45,
514,
51,
316,
21586,
1259,
1580,
45,
37771,
894,
310,
3803,
45,
46764,
100,
32956,
4525,
49,
38945,
45,
82,
1012,
1002,
51,
842,
49,
1423,
984,
1275,
51,
1571,
1640,
21586,
1259,
1580,
45,
909,
41087,
22293,
24202,
1052,
303,
339,
4054,
496,
1024,
303,
581,
782,
1414,
100,
17864,
100,
285,
100,
321,
100,
15198,
100,
3675,
365,
320,
310,
910,
5817,
625,
299,
556,
4605,
625,
492,
310,
910,
17068,
625,
299,
556,
41087,
492,
310,
2694,
1275,
299,
13492,
1259,
45,
3675,
625,
49,
332,
27414,
411,
17068,
625,
49,
413,
737,
4525,
100,
7248,
312,
603,
9396,
45,
514,
51,
316,
25469,
1052,
310,
1275,
51,
1571,
1640,
25469,
492,
603,
9396,
45,
514,
51,
316,
25469,
1580,
45,
37771,
894,
310,
12745,
45,
514,
51,
316,
25469,
1580,
45,
909,
41087,
5086,
603,
1275,
51,
1571,
1640,
25469,
1580,
45,
37771,
312,
310,
3803,
45,
46764,
100,
32956,
4525,
49,
38945,
45,
82,
1012,
1002,
51,
842,
49,
1423,
984,
1275,
51,
1571,
1640,
25469,
1580,
45,
909,
41087,
22293,
24202,
1052,
603,
12745,
45,
514,
51,
316,
16885,
4208,
1052,
310,
3803,
45,
12465,
100,
16031,
47933,
49,
38945,
45,
82,
1012,
1002,
51,
842,
49,
1275,
422,
1571,
1640,
16885,
4208,
566,
24202,
1052,
603,
12745,
45,
514,
51,
316,
16885,
4208,
1580,
45,
37771,
894,
310,
12745,
45,
514,
51,
316,
16885,
4208,
1580,
45,
909,
41087,
5086,
603,
3803,
45,
12465,
100,
16031,
47933,
49,
38945,
45,
82,
1012,
1002,
51,
842,
49,
1423,
984,
1275,
51,
1571,
1640,
16885,
4208,
1580,
45,
37771,
3445,
24202,
1052,
310,
3803,
45,
46764,
100,
32956,
4525,
49,
38945,
45,
82,
1012,
1002,
51,
842,
49,
1423,
984,
1275,
51,
1571,
1640,
16885,
4208,
1580,
45,
909,
41087,
22293,
24202,
1052,
603,
12745,
45,
514,
51,
316,
16885,
4069,
1052,
310,
3803,
45,
12465,
100,
16031,
47933,
49,
38945,
45,
82,
1012,
1002,
51,
842,
49,
1275,
422,
1571,
1640,
16885,
4069,
566,
24202,
1052,
603,
12745,
45,
514,
51,
316,
16885,
4069,
1580,
45,
37771,
894,
310,
12745,
45,
514,
51,
316,
16885,
4069,
1580,
45,
909,
41087,
5086,
603,
3803,
45,
12465,
100,
16031,
47933,
49,
38945,
45,
82,
1012,
1002,
51,
842,
49,
1423,
984,
1275,
51,
1571,
1640,
16885,
4069,
1580,
45,
37771,
3445,
24202,
1052,
310,
3803,
45,
46764,
100,
32956,
4525,
49,
38945,
45,
82,
1012,
1002,
51,
842,
49,
1423,
984,
1275,
51,
1571,
1640,
16885,
4069,
1580,
45,
909,
41087,
22293,
24202,
1052,
603,
9396,
45,
514,
51,
316,
21586,
1259,
1052,
310,
1275,
51,
1571,
1640,
21586,
1259,
492,
603,
9396,
45,
514,
51,
316,
21586,
1259,
1580,
45,
37771,
894,
310,
3803,
45,
46764,
100,
32956,
4525,
49,
38945,
45,
82,
1012,
1002,
51,
842,
49,
1423,
984,
1275,
51,
1571,
1640,
21586,
1259,
1580,
45,
909,
41087,
22293,
24202,
1052,
303,
339,
465,
496,
1024,
303,
581,
782,
1414,
100,
17864,
100,
285,
100,
321,
100,
10535,
365,
320,
310,
910,
17068,
625,
299,
556,
41087,
492,
310,
2694,
1275,
299,
13066,
1259,
45,
37771,
312,
603,
9396,
45,
514,
51,
316,
25469,
1052,
310,
1275,
51,
1571,
1640,
25469,
492,
603,
9396,
45,
514,
51,
316,
25469,
1580,
45,
37771,
894,
310,
12745,
45,
514,
51,
316,
25469,
1580,
45,
909,
41087,
5086,
603,
1275,
51,
1571,
1640,
25469,
1580,
45,
37771,
312,
310,
3803,
45,
46764,
100,
32956,
4525,
49,
38945,
45,
82,
1012,
1002,
51,
842,
49,
1423,
984,
1275,
51,
1571,
1640,
25469,
1580,
45,
909,
41087,
22293,
24202,
1052,
603,
12745,
45,
514,
51,
316,
16885,
4208,
1052,
310,
3803,
45,
12465,
100,
16031,
47933,
49,
38945,
45,
82,
1012,
1002,
51,
842,
49,
1275,
422,
1571,
1640,
16885,
4208,
566,
24202,
1052,
603,
12745,
45,
514,
51,
316,
16885,
4208,
1580,
45,
37771,
894,
310,
12745,
45,
514,
51,
316,
16885,
4208,
1580,
45,
909,
41087,
5086,
603,
3803,
45,
12465,
100,
16031,
47933,
49,
38945,
45,
82,
1012,
1002,
51,
842,
49,
1423,
984,
1275,
51,
1571,
1640,
16885,
4208,
1580,
45,
37771,
3445,
24202,
1052,
310,
3803,
45,
46764,
100,
32956,
4525,
49,
38945,
45,
82,
1012,
1002,
51,
842,
49,
1423,
984,
1275,
51,
1571,
1640,
16885,
4208,
1580,
45,
909,
41087,
22293,
24202,
1052,
603,
9396,
45,
514,
51,
316,
16885,
4069,
1052,
310,
1275,
51,
1571,
1640,
16885,
4069,
492,
603,
9396,
45,
514,
51,
316,
16885,
4069,
1580,
45,
37771,
894,
310,
12745,
45,
514,
51,
316,
16885,
4069,
1580,
45,
909,
41087,
5086,
603,
1275,
51,
1571,
1640,
16885,
4069,
1580,
45,
37771,
312,
310,
3803,
45,
46764,
100,
32956,
4525,
49,
38945,
45,
82,
1012,
1002,
51,
842,
49,
1423,
984,
1275,
51,
1571,
1640,
16885,
4069,
1580,
45,
909,
41087,
22293,
24202,
1052,
603,
12745,
45,
514,
51,
316,
21586,
1259,
1052,
310,
3803,
45,
12465,
100,
16031,
47933,
49,
38945,
45,
82,
1012,
1002,
51,
842,
49,
1275,
422,
1571,
1640,
21586,
1259,
566,
24202,
1052,
603,
12745,
45,
514,
51,
316,
21586,
1259,
1580,
45,
37771,
894,
310,
12745,
45,
514,
51,
316,
21586,
1259,
1580,
45,
909,
41087,
5086,
310,
3803,
45,
12465,
100,
16031,
47933,
49,
38945,
45,
82,
1012,
1002,
51,
842,
49,
1423,
984,
1275,
51,
1571,
1640,
21586,
1259,
1580,
45,
37771,
3445,
24202,
1052,
310,
3803,
45,
46764,
100,
32956,
4525,
49,
38945,
45,
82,
1012,
1002,
51,
842,
49,
1423,
984,
1275,
51,
1571,
1640,
21586,
1259,
1580,
45,
909,
41087,
22293,
24202,
1052,
303,
339,
4054,
496,
1024,
303,
581,
782,
1414,
100,
17864,
100,
285,
100,
321,
100,
12796,
365,
320,
310,
2694,
1275,
299,
1753,
13144,
2414,
2062,
100,
4991,
64,
603,
12745,
45,
514,
51,
316,
25469,
1052,
310,
3803,
45,
40006,
9586,
100,
10811,
49,
38945,
45,
82,
1012,
1002,
51,
842,
49,
1275,
422,
1571,
1640,
25469,
566,
24202,
1052,
603,
12745,
45,
514,
51,
316,
25469,
1580,
45,
909,
41087,
5086,
310,
3803,
45,
40006,
9586,
100,
10811,
49,
38945,
45,
82,
1012,
1002,
51,
842,
49,
1423,
984,
1275,
51,
1571,
1640,
25469,
1580,
45,
909,
41087,
22293,
24202,
1052,
603,
12745,
45,
514,
51,
316,
16885,
4208,
1052,
310,
3803,
45,
40006,
9586,
100,
10811,
49,
38945,
45,
82,
1012,
1002,
51,
842,
49,
1275,
422,
1571,
1640,
16885,
4208,
566,
24202,
1052,
603,
12745,
45,
514,
51,
316,
16885,
4208,
1580,
45,
909,
41087,
5086,
310,
3803,
45,
40006,
9586,
100,
10811,
49,
38945,
45,
82,
1012,
1002,
51,
842,
49,
1423,
984,
1275,
51,
1571,
1640,
16885,
4208,
1580,
45,
909,
41087,
22293,
24202,
1052,
603,
12745,
45,
514,
51,
316,
16885,
4069,
1052,
310,
3803,
45,
40006,
9586,
100,
10811,
49,
38945,
45,
82,
1012,
1002,
51,
842,
49,
1275,
422,
1571,
1640,
16885,
4069,
566,
24202,
1052,
6934,
12745,
45,
514,
51,
316,
16885,
4069,
1580,
45,
909,
41087,
5086,
310,
3803,
45,
40006,
9586,
100,
10811,
49,
38945,
45,
82,
1012,
1002,
51,
842,
49,
1423,
984,
1275,
51,
1571,
1640,
16885,
4069,
1580,
45,
909,
41087,
22293,
24202,
1052,
603,
12745,
45,
514,
51,
316,
21586,
1259,
1052,
310,
3803,
45,
40006,
9586,
100,
10811,
49,
38945,
45,
82,
1012,
1002,
51,
842,
49,
1275,
422,
1571,
1640,
21586,
1259,
566,
24202,
1052,
603,
12745,
45,
514,
51,
316,
21586,
1259,
1580,
45,
909,
41087,
5086,
310,
3803,
45,
40006,
9586,
100,
10811,
49,
38945,
45,
82,
1012,
1002,
51,
842,
49,
1423,
984,
1275,
51,
1571,
1640,
21586,
1259,
1580,
45,
909,
41087,
22293,
24202,
1052,
303,
339,
222,
222,
130
] | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,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
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 2,471 | true | 70.73195 | true | true |
ManageDocumentAction.java | /FileExtraction/Java_unseen/junoemr_junoemr/src/main/java/org/oscarehr/document/web/ManageDocumentAction.java | /**
* Copyright (c) 2001-2002. Department of Family Medicine, McMaster University. All Rights Reserved.
* This software is published under the GPL 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.
*
* This software was written for the
* Department of Family Medicine
* McMaster University
* Hamilton
* Ontario, Canada
*/
package org.oscarehr.document.web;
import com.sun.pdfview.PDFFile;
import com.sun.pdfview.PDFPage;
import net.sf.json.JSONObject;
import org.apache.commons.io.FileUtils;
import org.apache.log4j.Logger;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.actions.DispatchAction;
import org.oscarehr.PMmodule.caisi_integrator.CaisiIntegratorManager;
import org.oscarehr.PMmodule.caisi_integrator.IntegratorFallBackManager;
import org.oscarehr.PMmodule.model.ProgramProvider;
import org.oscarehr.caisi_integrator.ws.CachedDemographicDocument;
import org.oscarehr.caisi_integrator.ws.CachedDemographicDocumentContents;
import org.oscarehr.caisi_integrator.ws.DemographicWs;
import org.oscarehr.caisi_integrator.ws.FacilityIdIntegerCompositePk;
import org.oscarehr.casemgmt.model.CaseManagementNote;
import org.oscarehr.casemgmt.model.CaseManagementNoteLink;
import org.oscarehr.casemgmt.service.CaseManagementManager;
import org.oscarehr.common.dao.ProviderInboxRoutingDao;
import org.oscarehr.common.dao.SecRoleDao;
import org.oscarehr.common.io.FileFactory;
import org.oscarehr.common.io.GenericFile;
import org.oscarehr.common.model.Provider;
import org.oscarehr.common.model.SecRole;
import org.oscarehr.document.dao.CtlDocumentDao;
import org.oscarehr.document.dao.DocumentDao;
import org.oscarehr.document.model.CtlDocument;
import org.oscarehr.document.model.Document;
import org.oscarehr.document.service.DocumentService;
import org.oscarehr.managers.ProgramManager2;
import org.oscarehr.managers.SecurityInfoManager;
import org.oscarehr.sharingcenter.SharingCenterUtil;
import org.oscarehr.sharingcenter.model.DemographicExport;
import org.oscarehr.util.LoggedInInfo;
import org.oscarehr.util.MiscUtils;
import org.oscarehr.util.SpringUtils;
import org.springframework.web.context.WebApplicationContext;
import org.springframework.web.context.support.WebApplicationContextUtils;
import oscar.OscarProperties;
import oscar.dms.EDoc;
import oscar.dms.EDocUtil;
import oscar.dms.IncomingDocUtil;
import oscar.log.LogAction;
import oscar.log.LogConst;
import oscar.oscarDemographic.data.DemographicData;
import oscar.oscarEncounter.data.EctProgram;
import oscar.oscarLab.ca.on.LabResultData;
import oscar.util.UtilDateUtilities;
import javax.imageio.ImageIO;
import javax.servlet.ServletOutputStream;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import java.awt.*;
import java.awt.image.BufferedImage;
import java.awt.image.RenderedImage;
import java.io.BufferedInputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.PrintWriter;
import java.io.RandomAccessFile;
import java.nio.ByteBuffer;
import java.nio.channels.FileChannel;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.sql.SQLException;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Locale;
import java.util.ResourceBundle;
/**
* @author jaygallagher
*/
public class ManageDocumentAction extends DispatchAction {
private static Logger logger = MiscUtils.getLogger();
private DocumentDao documentDao = SpringUtils.getBean(DocumentDao.class);
private CtlDocumentDao ctlDocumentDao = SpringUtils.getBean(CtlDocumentDao.class);
private ProviderInboxRoutingDao providerInboxRoutingDAO = SpringUtils.getBean(ProviderInboxRoutingDao.class);
private SecurityInfoManager securityInfoManager = SpringUtils.getBean(SecurityInfoManager.class);
private DocumentService documentService = SpringUtils.getBean(DocumentService.class);
public ActionForward unspecified(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response)
{
return null;
}
public ActionForward documentUpdate(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response)
{
String observationDate = request.getParameter("observationDate");// :2008-08-22<
String documentDescription = request.getParameter("documentDescription");// :test2<
String documentIdStr = request.getParameter("documentId");// :29<
String docType = request.getParameter("docType");// :consult<
String providerId = (String) request.getSession().getAttribute("user");
String demographicNoStr = request.getParameter("demog");
Integer demographicNo = Integer.parseInt(demographicNoStr);
String[] flagProviders = request.getParameterValues("flagproviders");
String loggedInProviderNo = LoggedInInfo.getLoggedInInfoFromSession(request).getLoggedInProviderNo();
securityInfoManager.requireAllPrivilege(loggedInProviderNo, SecurityInfoManager.WRITE, demographicNo, "_edoc");
try
{
Document document = documentDao.getDocument(documentIdStr);
Integer documentId = document.getDocumentNo();
document.setDocdesc(documentDescription);
document.setDoctype(docType);
Date obDate = UtilDateUtilities.StringToDate(observationDate);
if(obDate != null)
{
document.setObservationdate(obDate);
}
documentDao.merge(document);
documentService.assignDocumentToDemographic(document, demographicNo);
LogAction.addLogEntry(providerId, demographicNo, LogConst.ACTION_UPDATE, LogConst.CON_DOCUMENT, LogConst.STATUS_SUCCESS,
documentIdStr, request.getRemoteAddr());
// TODO: if demoLink is "on", check if msp is in flagproviders, if not save to providerInboxRouting, if yes, don't save.
if(flagProviders != null && flagProviders.length > 0)
{ // TODO: THIS NEEDS TO RUN THRU THE lab forwarding rules!
for(String proNo : flagProviders)
{
documentService.routeToProviderInbox(documentId, proNo);
}
// Removes the link to the "0" provider so that the document no longer shows up as "unclaimed"
providerInboxRoutingDAO.removeLinkFromDocument(documentId, "0");
}
saveDocNote(request, document.getDocdesc(), demographicNoStr, documentIdStr);
}
catch(Exception e)
{
logger.error("Error", e);
}
HashMap<String, String> returnValueMap = new HashMap<>();
returnValueMap.put("patientId", demographicNoStr);
JSONObject jsonObject = JSONObject.fromObject(returnValueMap);
try
{
response.getOutputStream().write(jsonObject.toString().getBytes());
}
catch(IOException e)
{
logger.error("Error", e);
}
return null;
}
public ActionForward getDemoNameAjax(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) {
String dn = request.getParameter("demo_no");
if(!securityInfoManager.hasPrivilege(LoggedInInfo.getLoggedInInfoFromSession(request), "_demographic", "r", dn)) {
throw new SecurityException("missing required security object (_demographic)");
}
HashMap<String, String> hm = new HashMap<String, String>();
hm.put("demoName", getDemoName(LoggedInInfo.getLoggedInInfoFromSession(request), dn));
JSONObject jsonObject = JSONObject.fromObject(hm);
try {
response.getOutputStream().write(jsonObject.toString().getBytes());
} catch (IOException e) {
MiscUtils.getLogger().error("Error", e);
}
return null;
}
public ActionForward removeLinkFromDocument(ActionMapping mapping, ActionForm form,
HttpServletRequest request, HttpServletResponse response)
{
String docType = request.getParameter("docType");
String docId = request.getParameter("docId");
String providerNo = request.getParameter("providerNo");
String loggedInProviderNo = LoggedInInfo.getLoggedInInfoFromSession(request).getLoggedInProviderNo();
String logStatus = LogConst.STATUS_FAILURE;
securityInfoManager.requireOnePrivilege(loggedInProviderNo, SecurityInfoManager.WRITE, null, "_edoc");
try
{
try
{
providerInboxRoutingDAO.removeLinkFromDocument(Integer.parseInt(docId), providerNo);
logStatus = LogConst.STATUS_SUCCESS;
}
catch(SQLException e)
{
MiscUtils.getLogger().error("Failed to remove link from document.", e);
response.sendError(HttpServletResponse.SC_INTERNAL_SERVER_ERROR, "Failed to remove link from document.");
}
HashMap<String, List> hm = new HashMap<>();
hm.put("linkedProviders", providerInboxRoutingDAO.getProvidersWithRoutingForDocument(docType, Integer.parseInt(docId)));
JSONObject jsonObject = JSONObject.fromObject(hm);
response.getOutputStream().write(jsonObject.toString().getBytes());
}
catch(IOException e)
{
MiscUtils.getLogger().error("Error writing response.", e);
}
LogAction.addLogEntry(loggedInProviderNo, null,
LogConst.ACTION_UNLINK, LogConst.CON_DOCUMENT, logStatus, docId, request.getRemoteAddr(), providerNo);
return null;
}
public ActionForward refileDocumentAjax(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response)
{
String documentId = request.getParameter("documentId");
String queueId = request.getParameter("queueId");
String loggedInProviderNo = LoggedInInfo.getLoggedInInfoFromSession(request).getLoggedInProviderNo();
securityInfoManager.requireOnePrivilege(loggedInProviderNo, SecurityInfoManager.WRITE, null, "_edoc");
try
{
EDocUtil.refileDocument(documentId, queueId);
}
catch(Exception e)
{
MiscUtils.getLogger().error("Error", e);
}
return null;
}
private String getDemoName(LoggedInInfo loggedInInfo, String demog)
{
DemographicData demoD = new DemographicData();
org.oscarehr.common.model.Demographic demo = demoD.getDemographic(loggedInInfo, demog);
String demoName = demo.getLastName() + ", " + demo.getFirstName();
return demoName;
}
private void saveDocNote(final HttpServletRequest request, String docDesc, String demog, String documentId) {
Date now = EDocUtil.getDmsDateTimeAsDate();
// String docDesc=d.getDocdesc();
CaseManagementNote cmn = new CaseManagementNote();
cmn.setUpdate_date(now);
cmn.setObservation_date(now);
cmn.setDemographic_no(demog);
HttpSession se = request.getSession();
String user_no = (String) se.getAttribute("user");
String prog_no = new EctProgram(se).getProgram(user_no);
WebApplicationContext ctx = WebApplicationContextUtils.getRequiredWebApplicationContext(se.getServletContext());
CaseManagementManager cmm = (CaseManagementManager) ctx.getBean("caseManagementManager");
cmn.setProviderNo("-1");// set the provider no to be -1 so the editor appear as 'System'.
Provider provider = EDocUtil.getProvider(user_no);
String provFirstName = "";
String provLastName = "";
if(provider!=null) {
provFirstName=provider.getFirstName();
provLastName=provider.getLastName();
}
String strNote = "Document" + " " + docDesc + " " + "created at " + now + " by " + provFirstName + " " + provLastName + ".";
// String strNote="Document"+" "+docDesc+" "+ "created at "+now+".";
cmn.setNote(strNote);
cmn.setSigned(true);
cmn.setSigning_provider_no("-1");
cmn.setProgram_no(prog_no);
SecRoleDao secRoleDao = (SecRoleDao) SpringUtils.getBean("secRoleDao");
SecRole doctorRole = secRoleDao.findByName("doctor");
cmn.setReporter_caisi_role(doctorRole.getId().toString());
cmn.setReporter_program_team("0");
cmn.setPassword("NULL");
cmn.setLocked(false);
cmn.setHistory(strNote);
cmn.setPosition(0);
Long note_id = cmm.saveNoteSimpleReturnID(cmn);
// Debugging purposes on the live server
MiscUtils.getLogger().info("Document Note ID: "+note_id.toString());
// Add a noteLink to casemgmt_note_link
CaseManagementNoteLink cmnl = new CaseManagementNoteLink();
cmnl.setTableName(CaseManagementNoteLink.DOCUMENT);
cmnl.setTableId(Long.parseLong(documentId));
cmnl.setNoteId(note_id);
EDocUtil.addCaseMgmtNoteLink(cmnl);
}
/*
* private void savePatientLabRouting(String demog,String docId,String docType){ CommonLabResultData.updatePatientLabRouting(docId, demog, docType); }
*/
private static File getDocumentCacheDir(String docdownload) {
// File cacheDir = new File(docdownload+"_cache");
File docDir = new File(docdownload);
String documentDirName = docDir.getName();
File parentDir = docDir.getParentFile();
File cacheDir = new File(parentDir, documentDirName + "_cache");
if (!cacheDir.exists()) {
cacheDir.mkdir();
}
return cacheDir;
}
private File hasCacheVersion2(Document d, Integer pageNum)
{
File outfile = new File(GenericFile.DOCUMENT_BASE_DIR, d.getDocfilename() + "_" + pageNum + ".png");
if(!outfile.exists())
{
outfile = null;
}
return outfile;
}
public static void deleteCacheVersion(Document d, int pageNum)
{
File outfile = new File(GenericFile.DOCUMENT_BASE_DIR, d.getDocfilename() + "_" + pageNum + ".png");
if(outfile.exists())
{
outfile.delete();
}
}
private File hasCacheVersion(Document d, int pageNum)
{
File outfile = new File(GenericFile.DOCUMENT_BASE_DIR, d.getDocfilename() + "_" + pageNum + ".png");
if(!outfile.exists())
{
outfile = null;
}
return outfile;
}
public File createCacheVersion2(Document document, Integer pageNum)
{
File returnFile = null;
try
{
if(document.hasEncodingError())
{
returnFile = generatePdfPreviewUnavailableImage();
}
else
{
String docdownload = GenericFile.DOCUMENT_BASE_DIR;
File documentCacheDir = getDocumentCacheDir(docdownload);
Path filePath = Paths.get(docdownload).resolve(document.getDocfilename());
returnFile = generatePdfPageImage(filePath.toString(),
Paths.get(documentCacheDir.getCanonicalPath()).resolve(document.getDocfilename() + "_" + pageNum + ".png").toString(), pageNum);
}
}
catch (IOException ioE)
{
MiscUtils.getLogger().error("IO Exception when resolving cache dir path: " + ioE.getMessage());
}
return returnFile;
}
public File generatePdfPageImage(String inputPdfPath, String outputFilePath, Integer pageNum)
{
try
{
String gs = OscarProperties.getInstance().getProperty("document.ghostscript_path", "/usr/bin/gs");
String[] gsCmd = {gs, "-sDEVICE=png16m", "-dDownScaleFactor=4","-dFirstPage=" + pageNum, "-dLastPage=" + pageNum, "-o", outputFilePath, "-r384", inputPdfPath};
Process gsProc = Runtime.getRuntime().exec(gsCmd);
gsProc.waitFor();
if (gsProc.exitValue() != 0)
{
throw new RuntimeException("GhostScript exited with value [" + gsProc.exitValue() +"] expecting 0.");
}
return new File(outputFilePath);
}
catch (Exception e)
{
MiscUtils.getLogger().warn("failed to convert page [" + pageNum + "] of pdf ["+ inputPdfPath +"] to png! with error: " + e.getMessage());
return generatePdfPreviewErrorImage();
}
}
private File generatePdfPreviewUnavailableImage()
{
final String errorHeader = "Preview Unavailable";
final String subHeader = "Preview generation for this document type is not supported";
return generatePdfDefaultPreviewImage(errorHeader, subHeader);
}
private File generatePdfPreviewErrorImage()
{
final String errorHeader = "Error generating PDF Preview";
final String subHeader = "Please contact Juno support.";
return generatePdfDefaultPreviewImage(errorHeader, subHeader);
}
private File generatePdfDefaultPreviewImage(final String headerText, final String subHeader)
{
final Integer errorImgWidth = 600;
final Integer errorImgHeight= 800;
final String junoLogoPath = "/opt/oscarhost/oscarhost_maintenance/img/logo_juno_green.png";
try
{
File outFile = File.createTempFile("oscarError", ".png");
BufferedImage buffImg = new BufferedImage(errorImgWidth, errorImgHeight, BufferedImage.TYPE_INT_RGB);
Graphics2D g2d = buffImg.createGraphics();
g2d.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON);
g2d.setRenderingHint(RenderingHints.KEY_TEXT_ANTIALIASING, RenderingHints.VALUE_TEXT_ANTIALIAS_ON);
Font headerFont = new Font("Arial", Font.BOLD, 20);
FontMetrics headerFontMetric = g2d.getFontMetrics(headerFont);
Font bodyFont = new Font("Arial", Font.PLAIN, 12);
FontMetrics bodyFontMetric = g2d.getFontMetrics(bodyFont);
//draw image
//fill bg
g2d.setColor(Color.white);
g2d.fillRect(0, 0, errorImgWidth, errorImgHeight);
//error header
g2d.setFont(headerFont);
g2d.setColor(Color.darkGray);
int headerXInset = errorImgWidth/2 - headerFontMetric.stringWidth(headerText)/2;
g2d.drawString(headerText, headerXInset, 150);
//logo
try
{
Image junoLogo = ImageIO.read(new File(junoLogoPath));
g2d.drawImage(junoLogo,errorImgWidth/2 - ((BufferedImage) junoLogo).getWidth()/2 - 10, 10, Color.white, null);
}
catch (IOException ioE)
{
MiscUtils.getLogger().warn("could not open logo file with error: " + ioE.getMessage());
}
// main error msg
g2d.setFont(bodyFont);
g2d.setColor(Color.gray);
g2d.drawString(subHeader, headerXInset, 170);
g2d.dispose();
ImageIO.write(buffImg, "png", outFile);
return outFile;
}
catch (Exception e)
{
MiscUtils.getLogger().error("failed to generate error image! with error: " + e.getMessage());
}
return null;
}
public ActionForward showPage(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception {
return getPage(mapping, form, request, response, Integer.parseInt(request.getParameter("page")));
}
public ActionForward view(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response){
return getPage(mapping, form, request, response, 1);
}
// PNG version
public ActionForward getPage(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response, int pageNum) {
try {
String doc_no = request.getParameter("doc_no");
logger.debug("Document No :" + doc_no);
LogAction.addLogEntry((String) request.getSession().getAttribute("user"),
LogConst.ACTION_READ, LogConst.CON_DOCUMENT, LogConst.STATUS_SUCCESS, doc_no, request.getRemoteAddr());
Document d = documentDao.getDocument(doc_no);
logger.debug("Document Name :" + d.getDocfilename());
File outfile = hasCacheVersion(d, pageNum);
if (outfile == null){
outfile = createCacheVersion2( d, pageNum);
}
response.setContentType("image/png");
// response.setHeader("Content-Disposition", "attachment;filename=\"" + filename+ "\"");
// read the file name.
logger.debug("about to Print to stream");
ServletOutputStream outs = response.getOutputStream();
response.setHeader("Content-Disposition", "attachment;filename=\"" + d.getDocfilename() + "\"");
BufferedInputStream bfis = null;
try {
bfis = new BufferedInputStream(new FileInputStream(outfile));
int data;
while ((data = bfis.read()) != -1) {
outs.write(data);
// outs.flush();
}
} finally {
if (bfis!=null) bfis.close();
}
outs.flush();
outs.close();
} catch (java.net.SocketException se) {
MiscUtils.getLogger().error("Error", se);
} catch (Exception e) {
MiscUtils.getLogger().error("Error", e);
}
return null;
}
public ActionForward viewDocPage(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) {
if(!securityInfoManager.hasPrivilege(LoggedInInfo.getLoggedInInfoFromSession(request), "_edoc", "r", null)) {
throw new SecurityException("missing required security object (_edoc)");
}
logger.debug("in viewDocPage");
try
{
String doc_no = request.getParameter("doc_no");
String pageNum = request.getParameter("curPage");
if(pageNum == null)
{
pageNum = "0";
}
Integer pageNumber = Integer.parseInt(pageNum);
logger.debug("Document No :" + doc_no);
LogAction.addLogEntry((String) request.getSession().getAttribute("user"),
LogConst.ACTION_READ, LogConst.CON_DOCUMENT, LogConst.STATUS_SUCCESS, doc_no, request.getRemoteAddr());
Document document = documentDao.getDocument(doc_no);
logger.debug("Document Name :" + document.getDocfilename());
String name = document.getDocfilename() + "_" + pageNumber + ".png";
logger.debug("name " + name);
File outfile = hasCacheVersion2(document, pageNumber);
if(outfile != null)
{
logger.debug("got doc from local cache ");
}
else
{
outfile = createCacheVersion2(document, pageNumber);
if(outfile != null)
{
logger.debug("create new doc ");
}
}
response.setContentType("image/png");
ServletOutputStream outs = response.getOutputStream();
response.setHeader("Content-Disposition", "attachment;filename=\"" + document.getDocfilename() + "\"");
BufferedInputStream bfis = null;
try
{
if(outfile != null)
{
bfis = new BufferedInputStream(new FileInputStream(outfile));
int data;
while((data = bfis.read()) != -1)
{
outs.write(data);
// outs.flush();
}
}
else
{
logger.info("Unable to retrieve content for " + document + ". This may indicate previous upload or save errors...");
}
}
finally
{
if(bfis != null)
{
bfis.close();
}
}
outs.flush();
outs.close();
}
catch(java.net.SocketException se)
{
MiscUtils.getLogger().error("Error", se);
}
catch(Exception e)
{
MiscUtils.getLogger().error("Error", e);
}
return null;
}
public ActionForward view2(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception {
if(!securityInfoManager.hasPrivilege(LoggedInInfo.getLoggedInInfoFromSession(request), "_edoc", "r", null)) {
throw new SecurityException("missing required security object (_edoc)");
}
String doc_no = request.getParameter("doc_no");
logger.debug("Document No :" + doc_no);
LogAction.addLogEntry((String) request.getSession().getAttribute("user"),
LogConst.ACTION_READ, LogConst.CON_DOCUMENT, LogConst.STATUS_SUCCESS, doc_no, request.getRemoteAddr());
File documentDir = new File(GenericFile.DOCUMENT_BASE_DIR);
logger.debug("Document Dir is a dir" + documentDir.isDirectory());
Document d = documentDao.getDocument(doc_no);
logger.debug("Document Name :" + d.getDocfilename());
// TODO: Right now this assumes it's a pdf which it shouldn't
response.setContentType("image/png");
// response.setHeader("Content-Disposition", "attachment;filename=\"" + filename+ "\"");
// read the file name.
File file = new File(documentDir, d.getDocfilename());
RandomAccessFile raf = new RandomAccessFile(file, "r");
FileChannel channel = raf.getChannel();
ByteBuffer buf = channel.map(FileChannel.MapMode.READ_ONLY, 0, channel.size());
PDFFile pdffile = new PDFFile(buf);
// long readfile = System.currentTimeMillis() - start;
// draw the first page to an image
PDFPage ppage = pdffile.getPage(0);
logger.debug("WIDTH " + (int) ppage.getBBox().getWidth() + " height " + (int) ppage.getBBox().getHeight());
// get the width and height for the doc at the default zoom
Rectangle rect = new Rectangle(0, 0, (int) ppage.getBBox().getWidth(), (int) ppage.getBBox().getHeight());
logger.debug("generate the image");
Image img = ppage.getImage(rect.width, rect.height, // width & height
rect, // clip rect
null, // null for the ImageObserver
true, // fill background with white
true // block until drawing is done
);
logger.debug("about to Print to stream");
ServletOutputStream outs = response.getOutputStream();
RenderedImage rendImage = (RenderedImage) img;
ImageIO.write(rendImage, "png", outs);
outs.flush();
outs.close();
return null;
}
public ActionForward downloadCDS(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception {
if(!securityInfoManager.hasPrivilege(LoggedInInfo.getLoggedInInfoFromSession(request), "_edoc", "r", null)) {
throw new SecurityException("missing required security object (_edoc)");
}
DemographicExport export = SharingCenterUtil.retrieveDemographicExport(Integer.valueOf(request.getParameter("doc_no")));
String contentType = "application/zip";
String filename = String.format("%s_%s", export.getDocumentType(), export.getId());
byte[] contentBytes = export.getDocument();
response.setContentType(contentType);
response.setContentLength(contentBytes.length);
response.setHeader("Content-Disposition", "inline; filename=\"" + filename + "\"");
logger.debug("about to Print to stream");
ServletOutputStream outs = response.getOutputStream();
outs.write(contentBytes);
outs.flush();
outs.close();
return null;
}
public ActionForward display(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception
{
LoggedInInfo loggedInInfo = LoggedInInfo.getLoggedInInfoFromSession(request);
securityInfoManager.requireOnePrivilege(loggedInInfo.getLoggedInProviderNo(), SecurityInfoManager.READ, null, "_edoc");
String temp = request.getParameter("remoteFacilityId");
Integer remoteFacilityId = null;
if (temp != null && !temp.trim().isEmpty())
{
remoteFacilityId = Integer.parseInt(temp);
}
String doc_no = request.getParameter("doc_no");
logger.debug("Document No :" + doc_no);
String docxml = null;
String contentType = null;
byte[] contentBytes = null;
String filename = null;
// local document
if (remoteFacilityId == null)
{
CtlDocument ctld = ctlDocumentDao.getCtrlDocument(Integer.parseInt(doc_no));
Integer demographicNo = ctld.isDemographicDocument() ? ctld.getId().getModuleId() : null;
LogAction.addLogEntry((String) request.getSession().getAttribute("user"), demographicNo,
LogConst.ACTION_READ, LogConst.CON_DOCUMENT, LogConst.STATUS_SUCCESS, doc_no, request.getRemoteAddr());
File documentDir = new File(GenericFile.DOCUMENT_BASE_DIR);
logger.debug("Document Dir is a dir" + documentDir.isDirectory());
Document document = documentDao.getDocument(doc_no);
logger.debug("Document Name :" + document.getDocfilename());
docxml = document.getDocxml();
contentType = document.getContenttype();
File file = new File(documentDir, document.getDocfilename());
filename = document.getDocfilename();
if (contentType != null && !contentType.trim().equals("text/html"))
{
if(file.exists())
{
contentBytes = FileUtils.readFileToByteArray(file);
}
else
{
throw new IllegalStateException("Local document doesn't exist for eDoc (ID " + document.getId() + "): " + file.getAbsolutePath());
}
}
}
else // remote document
{
FacilityIdIntegerCompositePk remotePk = new FacilityIdIntegerCompositePk();
remotePk.setIntegratorFacilityId(remoteFacilityId);
remotePk.setCaisiItemId(Integer.parseInt(doc_no));
CachedDemographicDocument remoteDocument = null;
CachedDemographicDocumentContents remoteDocumentContents = null;
try
{
if (!CaisiIntegratorManager.isIntegratorOffline(request.getSession()))
{
DemographicWs demographicWs = CaisiIntegratorManager.getDemographicWs(loggedInInfo, loggedInInfo.getCurrentFacility());
remoteDocument = demographicWs.getCachedDemographicDocument(remotePk);
remoteDocumentContents = demographicWs.getCachedDemographicDocumentContents(remotePk);
}
}
catch (Exception e)
{
MiscUtils.getLogger().error("Unexpected error.", e);
CaisiIntegratorManager.checkForConnectionError(request.getSession(),e);
}
if (CaisiIntegratorManager.isIntegratorOffline(request.getSession()))
{
Integer demographicId = IntegratorFallBackManager.getDemographicNoFromRemoteDocument(loggedInInfo,remotePk);
MiscUtils.getLogger().debug("got demographic no from remote document "+demographicId);
List<CachedDemographicDocument> remoteDocuments = IntegratorFallBackManager.getRemoteDocuments(loggedInInfo,demographicId);
for(CachedDemographicDocument demographicDocument: remoteDocuments)
{
if(demographicDocument.getFacilityIntegerPk().getIntegratorFacilityId() == remotePk.getIntegratorFacilityId()
&& demographicDocument.getFacilityIntegerPk().getCaisiItemId() == remotePk.getCaisiItemId() )
{
remoteDocument = demographicDocument;
remoteDocumentContents = IntegratorFallBackManager.getRemoteDocument(loggedInInfo,demographicId, remotePk);
break;
}
MiscUtils.getLogger().error("End of the loop and didn't find the remoteDocument");
}
}
docxml = remoteDocument.getDocXml();
contentType = remoteDocument.getContentType();
filename = remoteDocument.getDocFilename();
contentBytes = remoteDocumentContents.getFileContents();
}
if (docxml != null && !docxml.trim().equals(""))
{
ServletOutputStream outs = response.getOutputStream();
outs.write(docxml.getBytes());
outs.flush();
outs.close();
return null;
}
// TODO: Right now this assumes it's a pdf which it shouldn't
if (contentType == null)
{
contentType = "application/pdf";
}
response.setContentType(contentType);
response.setContentLength(contentBytes.length);
response.setHeader("Content-Disposition", "inline; filename=\"" + filename + "\"");
logger.debug("about to Print to stream");
ServletOutputStream outs = response.getOutputStream();
outs.write(contentBytes);
outs.flush();
outs.close();
return null;
}
public ActionForward viewDocumentInfo(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception {
response.setContentType("text/html");
doViewDocumentInfo(request, response.getWriter(),true,true);
return null;
}
public ActionForward viewDocumentDescription(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception {
response.setContentType("text/html");
doViewDocumentInfo(request, response.getWriter(),false,true);
return null;
}
public ActionForward viewAnnotationAcknowledgementTickler(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception {
response.setContentType("text/html");
doViewDocumentInfo(request, response.getWriter(),true,false);
return null;
}
public void doViewDocumentInfo(HttpServletRequest request, PrintWriter out,boolean viewAnnotationAcknowledgementTicklerFlag, boolean viewDocumentDescriptionFlag) {
LoggedInInfo loggedInInfo=LoggedInInfo.getLoggedInInfoFromSession(request);
if(!securityInfoManager.hasPrivilege(LoggedInInfo.getLoggedInInfoFromSession(request), "_edoc", "r", null)) {
throw new SecurityException("missing required security object (_edoc)");
}
String doc_no = request.getParameter("doc_no");
Locale locale=request.getLocale();
String annotation= "",acknowledgement="",tickler="";
if(doc_no!=null && doc_no.length()>0) {
annotation=EDocUtil.getHtmlAnnotation(doc_no);
acknowledgement=EDocUtil.getHtmlAcknowledgement(locale,doc_no);
if(acknowledgement==null) {acknowledgement="";}
tickler=EDocUtil.getHtmlTicklers(loggedInInfo, doc_no);
}
out.println("<!DOCTYPE html><html><head><meta http-equiv='Content-Type' content='text/html; charset=UTF-8'></head><body>");
if(viewAnnotationAcknowledgementTicklerFlag) {
if(annotation.length()>0) {
out.println(annotation);
}
if(tickler.length()>0)
{
out.println(tickler+"<br>");
}
if(acknowledgement.length()>0) {
out.println(acknowledgement+"<br>");
}
}
if(viewDocumentDescriptionFlag) {
EDoc curDoc= EDocUtil.getDoc(doc_no);
ResourceBundle props = ResourceBundle.getBundle("oscarResources", locale);
out.println("<br>"+props.getString("dms.documentBrowser.DocumentUpdated")+": "+curDoc.getDateTimeStamp());
out.println("<br>"+props.getString("dms.documentBrowser.ContentUpdated")+": "+curDoc.getContentDateTime());
out.println("<br>"+props.getString("dms.documentBrowser.ObservationDate")+": "+curDoc.getObservationDate());
out.println("<br>"+props.getString("dms.documentBrowser.Type")+": "+curDoc.getType());
out.println("<br>"+props.getString("dms.documentBrowser.Class")+": "+curDoc.getDocClass());
out.println("<br>"+props.getString("dms.documentBrowser.Subclass")+": "+curDoc.getDocSubClass());
out.println("<br>"+props.getString("dms.documentBrowser.Description")+": "+curDoc.getDescription());
out.println("<br>"+props.getString("dms.documentBrowser.Creator")+": "+curDoc.getCreatorName());
out.println("<br>"+props.getString("dms.documentBrowser.Responsible")+": "+curDoc.getResponsibleName());
out.println("<br>"+props.getString("dms.documentBrowser.Reviewer")+": "+curDoc.getReviewerName());
out.println("<br>"+props.getString("dms.documentBrowser.Source")+": "+curDoc.getSource());
}
out.println("</body></html>");
out.flush();
out.close();
}
public ActionForward addIncomingDocument(ActionMapping mapping, ActionForm form,
HttpServletRequest request, HttpServletResponse response) throws Exception
{
String demographicNoStr = request.getParameter("demog");
String loggedInProviderNo = LoggedInInfo.getLoggedInInfoFromSession(request).getLoggedInProviderNo();
Integer demographicNo = demographicNoStr != null ? Integer.parseInt(demographicNoStr) : null;
securityInfoManager.requireAllPrivilege(loggedInProviderNo, SecurityInfoManager.WRITE, demographicNo, "_edoc");
String pdfDir = request.getParameter("pdfDir");
String fileName = request.getParameter("pdfName");
String observationDate = request.getParameter("observationDate");
String documentDescription = request.getParameter("documentDescription");
String docType = request.getParameter("docType");
String docClass = request.getParameter("docClass");
String docSubClass = request.getParameter("docSubClass");
String[] flagproviders = request.getParameterValues("flagproviders");
String queueId1 = request.getParameter("queueId");
String sourceFilePath = IncomingDocUtil.getIncomingDocumentFilePathName(queueId1, pdfDir, fileName);
Date obDate = UtilDateUtilities.StringToDate(observationDate);
String source = "";
Integer programId = null;
Integer documentNo = null;
String user = (String) request.getSession().getAttribute("user");
// if the document was added in the context of a program
ProgramManager2 programManager = SpringUtils.getBean(ProgramManager2.class);
LoggedInInfo loggedInInfo = LoggedInInfo.getLoggedInInfoFromSession(request);
ProgramProvider pp = programManager.getCurrentProgramInDomain(loggedInInfo, loggedInInfo.getLoggedInProviderNo());
if(pp != null && pp.getProgramId() != null) {
programId = pp.getProgramId().intValue();
}
GenericFile sourceFile = FileFactory.getExistingFile(sourceFilePath);
boolean success = sourceFile.moveToDocuments();
if(!success)
{
logger.error("Not able to move " + sourceFile.getName() + " to documents");
// File was not successfully moved
}
else
{
try
{
Document document = new Document();
document.setPublic1(false);
document.setDocClass(docClass);
document.setDocSubClass(docSubClass);
document.setResponsible(user);
document.setDocCreator(user);
document.setDocdesc(documentDescription);
document.setDoctype(docType);
document.setDocfilename(fileName);
document.setSource(source);
document.setObservationdate(obDate);
document.setProgramId(programId);
document = documentService.uploadNewDemographicDocument(document, sourceFile, demographicNo);
documentNo = document.getDocumentNo();
if(flagproviders != null && flagproviders.length > 0)
{
try
{
for(String proNo : flagproviders)
{
providerInboxRoutingDAO.addToProviderInbox(proNo, documentNo, LabResultData.DOCUMENT);
}
}
catch(Exception e)
{
MiscUtils.getLogger().error("Error routing to provider ", e);
}
}
success = true;
}
catch (IOException e) {
MiscUtils.getLogger().error("Error", e);
success = false;
}
}
String logStatus = success ? LogConst.STATUS_SUCCESS : LogConst.STATUS_FAILURE;
LogAction.addLogEntry(user, demographicNo, LogConst.ACTION_ADD, LogConst.CON_DOCUMENT,
logStatus, (documentNo==null)?null:String.valueOf(documentNo), request.getRemoteAddr(), fileName);
return (mapping.findForward("nextIncomingDoc"));
}
public ActionForward viewIncomingDocPageAsPdf(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception {
if(!securityInfoManager.hasPrivilege(LoggedInInfo.getLoggedInInfoFromSession(request), "_edoc", "r", null)) {
throw new SecurityException("missing required security object (_edoc)");
}
String pageNum = request.getParameter("curPage");
String queueId = request.getParameter("queueId");
String pdfDir = request.getParameter("pdfDir");
String pdfName = request.getParameter("pdfName");
String filePath = IncomingDocUtil.getIncomingDocumentFilePathName(queueId, pdfDir, pdfName);
Locale locale=request.getLocale();
ResourceBundle props = ResourceBundle.getBundle("oscarResources", locale);
if (pageNum == null) {
pageNum = "0";
}
Integer pn = Integer.parseInt(pageNum);
response.setContentType("application/pdf");
response.setHeader("Content-Disposition", "inline; filename=\"" + pdfName + UtilDateUtilities.getToday("yyyy-MM-dd.hh.mm.ss") + ".pdf\"");
com.itextpdf.text.pdf.PdfCopy extractCopy = null;
com.itextpdf.text.Document document = null;
com.itextpdf.text.pdf.PdfReader reader = null;
try {
reader = new com.itextpdf.text.pdf.PdfReader(filePath);
document = new com.itextpdf.text.Document(reader.getPageSizeWithRotation(1));
extractCopy = new com.itextpdf.text.pdf.PdfCopy(document, response.getOutputStream());
document.open();
extractCopy.addPage(extractCopy.getImportedPage(reader, pn));
} catch (Exception ex) {
response.setContentType("text/html");
response.getWriter().print(props.getString("dms.incomingDocs.errorInOpening") + pdfName);
response.getWriter().print("<br>"+props.getString("dms.incomingDocs.PDFCouldBeCorrupted"));
MiscUtils.getLogger().error("Error", ex);
} finally {
if (extractCopy != null) {
extractCopy.close();
}
if (document != null) {
document.close();
}
if (reader != null) {
reader.close();
}
}
return null;
}
public ActionForward displayIncomingDocs(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception {
if(!securityInfoManager.hasPrivilege(LoggedInInfo.getLoggedInInfoFromSession(request), "_edoc", "r", null)) {
throw new SecurityException("missing required security object (_edoc)");
}
String queueId = request.getParameter("queueId");
String pdfDir = request.getParameter("pdfDir");
String pdfName = request.getParameter("pdfName");
String filePath = IncomingDocUtil.getIncomingDocumentFilePathName(queueId, pdfDir, pdfName);
String contentType = "application/pdf";
File file = new File(filePath);
response.setContentType(contentType);
response.setContentLength((int) file.length());
response.setHeader("Content-Disposition", "inline; filename=\"" + pdfName + "\"");
BufferedInputStream bfis = null;
ServletOutputStream outs = response.getOutputStream();
try {
bfis = new BufferedInputStream(new FileInputStream(file));
org.apache.commons.io.IOUtils.copy(bfis,outs);
outs.flush();
} catch (Exception e) {
MiscUtils.getLogger().error("Error", e);
} finally {
if (bfis != null) {
bfis.close();
}
}
return null;
}
public ActionForward viewIncomingDocPageAsImage(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception {
if(!securityInfoManager.hasPrivilege(LoggedInInfo.getLoggedInInfoFromSession(request), "_edoc", "r", null)) {
throw new SecurityException("missing required security object (_edoc)");
}
String pageNum = request.getParameter("curPage");
String queueId = request.getParameter("queueId");
String pdfDir = request.getParameter("pdfDir");
String pdfName = request.getParameter("pdfName");
if (pageNum == null) {
pageNum = "0";
}
BufferedInputStream bfis = null;
ServletOutputStream outs = null;
try {
Integer pn = Integer.parseInt(pageNum);
File outfile = createIncomingCacheVersion(queueId, pdfDir, pdfName, pn);
outs = response.getOutputStream();
if (outfile != null) {
bfis = new BufferedInputStream(new FileInputStream(outfile));
response.setContentType("image/png");
response.setHeader("Content-Disposition", "inline;filename=\"" + pdfName + "\"");
org.apache.commons.io.IOUtils.copy(bfis,outs);
outs.flush();
} else {
logger.info("Unable to retrieve content for " + queueId + "/" + pdfDir + "/" + pdfName);
}
} catch (Exception e) {
MiscUtils.getLogger().error("Error", e);
} finally {
if (bfis != null) {
bfis.close();
}
}
return null;
}
public File createIncomingCacheVersion(String queueId, String pdfDir, String pdfName, Integer pageNum)
{
String incomingDocPath = IncomingDocUtil.getIncomingDocumentFilePath(queueId, pdfDir);
File documentDir = new File(incomingDocPath);
File documentCacheDir = getDocumentCacheDir(incomingDocPath);
File file = new File(documentDir, pdfName);
try
{
return generatePdfPageImage(file.getCanonicalPath(), Paths.get(documentCacheDir.getCanonicalPath()).resolve(pdfName + "_" + pageNum + ".png").toString(), pageNum);
}
catch (IOException ioE)
{
MiscUtils.getLogger().error("failed to resolve path name when creating pdf image with error: " + ioE.getMessage());
}
return null;
}
}
| 45,002 | Java | .java | junoemr/junoemr | 11 | 6 | 39 | 2018-06-06T17:33:56Z | 2024-02-09T16:12:24Z | 6a1bdf0ed24f59020da4efaabdb8debaf095b628c7eeb56b42185185e414c92c | [] | [
1350,
222,
338,
2657,
327,
104,
46,
244,
55,
53,
53,
54,
50,
55,
53,
53,
55,
51,
24481,
451,
37865,
14340,
32703,
49,
22545,
8801,
11451,
51,
3381,
12902,
11921,
51,
222,
338,
1369,
2951,
458,
9582,
1549,
341,
23508,
6994,
6153,
5062,
1196,
51,
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,
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,
244,
53,
55,
54,
54,
54,
50,
54,
56,
53,
60,
49,
15067,
51,
222,
338,
222,
338,
1369,
2951,
1616,
6658,
456,
341,
222,
338,
24481,
451,
37865,
14340,
32703,
222,
338,
22545,
8801,
11451,
222,
338,
696,
20915,
955,
222,
338,
565,
585,
3454,
49,
48190,
222,
588,
499,
222,
1337,
1105,
51,
519,
12818,
3943,
51,
2826,
51,
1857,
64,
222,
222,
485,
785,
51,
9886,
51,
4710,
1090,
51,
14968,
991,
64,
222,
485,
785,
51,
9886,
51,
4710,
1090,
51,
14968,
1983,
64,
222,
485,
3723,
51,
6463,
51,
1279,
51,
15543,
64,
222,
485,
1105,
51,
2121,
51,
8381,
51,
735,
51,
39463,
64,
222,
485,
1105,
51,
2121,
51,
769,
57,
111,
51,
3716,
64,
222,
485,
1105,
51,
2121,
51,
48901,
51,
1160,
51,
1728,
1260,
64,
222,
485,
1105,
51,
2121,
51,
48901,
51,
1160,
51,
1728,
11347,
64,
222,
485,
1105,
51,
2121,
51,
48901,
51,
1160,
51,
1728,
4815,
64,
222,
485,
1105,
51,
2121,
51,
48901,
51,
3564,
51,
7184,
1728,
64,
222,
485,
1105,
51,
519,
12818,
3943,
51,
7464,
1663,
51,
1192,
11519,
100,
8006,
738,
51,
72,
8161,
110,
9197,
738,
1590,
64,
222,
485,
1105,
51,
519,
12818,
3943,
51,
7464,
1663,
51,
1192,
11519,
100,
8006,
738,
51,
9197,
738,
38497,
2509,
1590,
64,
222,
485,
1105,
51,
519,
12818,
3943,
51,
7464,
1663,
51,
1184,
51,
5756,
2588,
64,
222,
485,
1105,
51,
519,
12818,
3943,
51,
1192,
11519,
100,
8006,
738,
51,
3624,
51,
14526,
11576,
14166,
3112,
64,
222,
485,
1105,
51,
519,
12818,
3943,
51,
1192,
11519,
100,
8006,
738,
51,
3624,
51,
14526,
11576,
14166,
3112,
8048,
64,
222,
485,
1105,
51,
519,
12818,
3943,
51,
1192,
11519,
100,
8006,
738,
51,
3624,
51,
11576,
14166,
17517,
64,
222,
485,
1105,
51,
519,
12818,
3943,
51,
1192,
11519,
100,
8006,
738,
51,
3624,
51,
37695,
625,
3078,
14377,
21920,
64,
222,
485,
1105,
51,
519,
12818,
3943,
51,
1749,
20871,
51,
1184,
51,
2747,
8596,
5232,
64,
222,
485,
1105,
51,
519,
12818,
3943,
51,
1749,
20871,
51,
1184,
51,
2747,
8596,
5232,
2375,
64,
222,
485,
1105,
51,
519,
12818,
3943,
51,
1749,
20871,
51,
2140,
51,
2747,
8596,
1590,
64,
222,
485,
1105,
51,
519,
12818,
3943,
51,
2297,
51,
13974,
51,
2588,
47944,
14507,
8924,
64,
222,
485,
1105,
51,
519,
12818,
3943,
51,
2297,
51,
13974,
51,
3110,
4555,
8924,
64,
222,
485,
1105,
51,
519,
12818,
3943,
51,
2297,
51,
735,
51,
991,
2232,
64,
222,
485,
1105,
51,
519,
12818,
3943,
51,
2297,
51,
735,
51,
4020,
991,
64,
222,
485,
1105,
51,
519,
12818,
3943,
51,
2297,
51,
1184,
51,
2588,
64,
222,
485,
1105,
51,
519,
12818,
3943,
51,
2297,
51,
1184,
51,
3110,
4555,
64,
222,
485,
1105,
51,
519,
12818,
3943,
51,
2826,
51,
13974,
51,
27926,
3112,
8924,
64,
222,
485,
1105,
51,
519,
12818,
3943,
51,
2826,
51,
13974,
51,
3112,
8924,
64,
222,
485,
1105,
51,
519,
12818,
3943,
51,
2826,
51,
1184,
51,
27926,
3112,
64,
222,
485,
1105,
51,
519,
12818,
3943,
51,
2826,
51,
1184,
51,
3112,
64,
222,
485,
1105,
51,
519,
12818,
3943,
51,
2826,
51,
2140,
51,
3112,
1201,
64,
222,
485,
1105,
51,
519,
12818,
3943,
51,
35276,
51,
5756,
1590,
55,
64,
222,
485,
1105,
51,
519,
12818,
3943,
51,
35276,
51,
5196,
1139,
1590,
64,
222,
485,
1105,
51,
519,
12818,
3943,
51,
24756,
2413,
51,
40095,
7067,
1747,
64,
222,
485,
1105,
51,
519,
12818,
3943,
51,
24756,
2413,
51,
1184,
51,
11576,
14166,
6171,
64,
222,
485,
1105,
51,
519,
12818,
3943,
51,
1058,
51,
25469,
1139,
64,
222,
485,
1105,
51,
519,
12818,
3943,
51,
1058,
51,
25798,
2769,
64,
222,
485,
1105,
51,
519,
12818,
3943,
51,
1058,
51,
12427,
2769,
64,
222,
485,
1105,
51,
4140,
51,
1857,
51,
1834,
51,
2609,
18385,
64,
222,
485,
1105,
51,
4140,
51,
1857,
51,
1834,
51,
3608,
51,
2609,
18385,
2769,
64,
222,
485,
28385,
301,
51,
34705,
301,
3303,
64,
222,
485,
28385,
301,
51,
105,
893,
51,
1363,
561,
64,
222,
485,
28385,
301,
51,
105,
893,
51,
1363,
561,
1747,
64,
222,
485,
28385,
301,
51,
105,
893,
51,
24123,
4234,
1747,
64,
222,
485,
28385,
301,
51,
769,
51,
1353,
1728,
64,
222,
485,
28385,
301,
51,
769,
51,
1353,
2793,
64,
222,
485,
28385,
301,
51,
519,
3745,
11576,
14166,
51,
624,
51,
11576,
14166,
768,
64,
222,
485,
28385,
301,
51,
519,
3745,
40888,
51,
624,
51,
74,
307,
5756,
64,
222,
485,
28385,
301,
51,
519,
3745,
13756,
51,
1192,
51,
286,
51,
13756,
1413,
768,
64,
222,
485,
28385,
301,
51,
1058,
51,
1747,
1563,
13392,
64,
222,
222,
485,
3698,
51,
915,
735,
51,
1675,
2354,
64,
222,
485,
3698,
51,
10010,
51,
7399,
8783,
64,
222,
485,
3698,
51,
10010,
51,
544,
51,
18804,
64,
222,
485,
3698,
51,
10010,
51,
544,
51,
30443,
64,
222,
485,
3698,
51,
10010,
51,
544,
51,
2233,
3152,
64,
222,
485,
1401,
51,
8236,
7737,
222,
485,
1401,
51,
8236,
51,
915,
51,
17640,
1675,
64,
222,
485,
1401,
51,
8236,
51,
915,
51,
36313,
1675,
64,
222,
485,
1401,
51,
735,
51,
17640,
6989,
64,
222,
485,
1401,
51,
735,
51,
991,
64,
222,
485,
1401,
51,
735,
51,
41661,
64,
222,
485,
1401,
51,
735,
51,
6860,
64,
222,
485,
1401,
51,
735,
51,
42446,
64,
222,
485,
1401,
51,
735,
51,
6124,
2807,
991,
64,
222,
485,
1401,
51,
11780,
51,
21042,
64,
222,
485,
1401,
51,
11780,
51,
8166,
51,
991,
3542,
64,
222,
485,
1401,
51,
11780,
51,
781,
51,
1233,
64,
222,
485,
1401,
51,
11780,
51,
781,
51,
9648,
64,
222,
485,
1401,
51,
2622,
51,
20335,
64,
222,
485,
1401,
51,
1058,
51,
1563,
64,
222,
485,
1401,
51,
1058,
51,
8263,
64,
222,
485,
1401,
51,
1058,
51,
739,
64,
222,
485,
1401,
51,
1058,
51,
9459,
64,
222,
485,
1401,
51,
1058,
51,
44616,
64,
222,
222,
1350,
222,
338,
496,
2133,
614,
414,
108,
483,
500,
2752,
222,
588,
222,
942,
462,
31556,
3112,
1728,
2041,
21220,
1728,
320,
499,
221,
2072,
924,
7145,
4101,
299,
38226,
2769,
51,
10588,
492,
499,
221,
2072,
6222,
8924,
1840,
8924,
299,
16036,
2769,
51,
39497,
45,
3112,
8924,
51,
842,
312,
222,
221,
2072,
409,
5406,
3112,
8924,
41066,
3112,
8924,
299,
16036,
2769,
51,
39497,
45,
27926,
3112,
8924,
51,
842,
312,
222,
221,
2072,
15724,
47944,
14507,
8924,
6897,
47944,
14507,
12909,
299,
16036,
2769,
51,
39497,
45,
2588,
47944,
14507,
8924,
51,
842,
312,
222,
221,
2072,
7344,
1139,
1590,
7669,
1139,
1590,
299,
16036,
2769,
51,
39497,
45,
5196,
1139,
1590,
51,
842,
312,
222,
221,
2072,
6222,
1201,
1840,
1201,
299,
16036,
2769,
51,
39497,
45,
3112,
1201,
51,
842,
312,
499,
221,
942,
5255,
11347,
22171,
45,
1728,
4815,
8023,
49,
5255,
1260,
2252,
49,
38757,
1343,
49,
28307,
1808,
46,
222,
221,
128,
376,
221,
620,
762,
64,
222,
221,
130,
499,
221,
942,
5255,
11347,
1840,
2346,
45,
1728,
4815,
8023,
49,
5255,
1260,
2252,
49,
38757,
1343,
49,
28307,
1808,
46,
222,
221,
128,
376,
221,
671,
22828,
1563,
299,
1343,
51,
17745,
459,
28754,
1563,
742,
325,
518,
55,
53,
53,
61,
50,
53,
61,
50,
55,
55,
65,
376,
221,
671,
1840,
3250,
299,
1343,
51,
17745,
459,
2826,
3250,
742,
325,
518,
881,
55,
65,
376,
221,
671,
1840,
625,
2026,
299,
1343,
51,
17745,
459,
2826,
625,
742,
325,
518,
55,
62,
65,
376,
221,
671,
3714,
638,
299,
1343,
51,
17745,
459,
1446,
638,
742,
325,
518,
22673,
65,
376,
221,
671,
6897,
625,
299,
327,
671,
46,
1343,
51,
25942,
941,
11383,
459,
514,
742,
376,
221,
671,
10891,
14166,
2042,
2026,
299,
1343,
51,
17745,
459,
6418,
108,
742,
376,
221,
3078,
10891,
14166,
2042,
299,
4418,
51,
11824,
45,
6418,
14166,
2042,
2026,
312,
376,
221,
671,
1197,
4666,
17146,
299,
1343,
51,
17745,
3367,
459,
4570,
13885,
742,
1332,
221,
671,
12950,
402,
2588,
2042,
299,
2681,
3899,
402,
1139,
51,
390,
25469,
1139,
1811,
3152,
45,
1375,
566,
390,
25469,
2588,
2042,
492,
376,
221,
4386,
1139,
1590,
51,
1999,
1947,
30584,
45,
17864,
402,
2588,
2042,
49,
7344,
1139,
1590,
51,
3230,
49,
10891,
14166,
2042,
49,
7302,
337,
561,
742,
1332,
221,
1287,
376,
221,
128,
374,
221,
3112,
1840,
299,
1840,
8924,
51,
35778,
45,
2826,
625,
2026,
312,
374,
221,
3078,
1840,
625,
299,
1840,
51,
35778,
2042,
492,
2556,
221,
2826,
51,
489,
4234,
3817,
45,
2826,
3250,
312,
374,
221,
2826,
51,
489,
2573,
12768,
45,
1446,
638,
312,
374,
221,
1563,
1541,
1563,
299,
7292,
1563,
13392,
51,
30465,
1563,
45,
28754,
1563,
312,
2556,
221,
344,
45,
926,
1563,
882,
762,
46,
374,
221,
128,
621,
221,
2826,
51,
489,
28619,
787,
45,
926,
1563,
312,
374,
221,
130,
2556,
221,
2826,
8924,
51,
6097,
45,
2826,
312,
374,
221,
2826,
1201,
51,
5179,
3112,
724,
11576,
14166,
45,
2826,
49,
10891,
14166,
2042,
312,
374,
221,
1353,
1728,
51,
688,
32061,
45,
6390,
625,
49,
10891,
14166,
2042,
49,
2681,
2793,
51,
8755,
100,
8760,
49,
2681,
2793,
51,
1742,
100,
23997,
49,
2681,
2793,
51,
5965,
100,
6696,
49,
596,
221,
2826,
625,
2026,
49,
1343,
51,
390,
7318,
6774,
1052,
2556,
221,
325,
4314,
63,
434,
10891,
2375,
458,
332,
286,
411,
1524,
434,
364,
438,
458,
347,
4666,
13885,
49,
434,
666,
4166,
391,
6897,
47944,
14507,
49,
434,
9161,
49,
2818,
1348,
4166,
51,
374,
221,
344,
45,
4570,
17146,
882,
762,
979,
4666,
17146,
51,
1340,
868,
244,
53,
46,
374,
221,
128,
453,
4314,
63,
8968,
8949,
1363,
88,
2841,
20040,
413,
5157,
90,
2906,
14221,
41262,
7032,
38,
5033,
221,
999,
45,
671,
552,
2042,
518,
4666,
17146,
46,
621,
221,
128,
596,
221,
2826,
1201,
51,
4363,
724,
2588,
47944,
45,
2826,
625,
49,
552,
2042,
312,
621,
221,
130,
5033,
221,
325,
24968,
341,
2572,
391,
341,
332,
53,
39,
6897,
1278,
708,
341,
1840,
1307,
8940,
9873,
992,
641,
332,
330,
47052,
39,
621,
221,
6390,
47944,
14507,
12909,
51,
2564,
2375,
1811,
3112,
45,
2826,
625,
49,
332,
53,
742,
374,
221,
130,
374,
221,
2882,
4234,
5232,
45,
1375,
49,
1840,
51,
390,
4234,
3817,
1046,
10891,
14166,
2042,
2026,
49,
1840,
625,
2026,
312,
376,
221,
130,
376,
221,
5639,
45,
1002,
503,
46,
376,
221,
128,
374,
221,
4089,
51,
750,
459,
943,
411,
503,
312,
376,
221,
130,
1332,
221,
8263,
65,
671,
49,
910,
67,
34174,
1225,
299,
556,
8329,
6984,
376,
221,
28414,
1225,
51,
543,
459,
16976,
625,
411,
10891,
14166,
2042,
2026,
312,
376,
221,
15543,
27720,
299,
15439,
51,
1097,
976,
45,
28414,
1225,
312,
376,
221,
1287,
376,
221,
128,
374,
221,
2003,
51,
390,
8783,
941,
1838,
45,
41349,
51,
3127,
941,
19682,
1052,
376,
221,
130,
376,
221,
5639,
45,
6860,
503,
46,
376,
221,
128,
374,
221,
4089,
51,
750,
459,
943,
411,
503,
312,
376,
221,
130,
376,
221,
620,
762,
64,
222,
221,
130,
499,
221,
942,
5255,
11347,
640,
11576,
577,
19620,
45,
1728,
4815,
8023,
49,
5255,
1260,
2252,
49,
38757,
1343,
49,
28307,
1808,
46,
320,
376,
221,
671,
29751,
299,
1343,
51,
17745,
459,
6418,
100,
1365,
742,
4102,
221,
344,
3848,
4386,
1139,
1590,
51,
2057,
30584,
45,
25469,
1139,
51,
390,
25469,
1139,
1811,
3152,
45,
1375,
490,
7302,
6418,
14166,
411,
332,
119,
411,
29751,
509,
320,
295,
221,
5267,
556,
7344,
1002,
459,
9832,
2147,
7669,
1319,
4648,
6418,
14166,
13365,
310,
339,
4102,
221,
8263,
65,
671,
49,
910,
67,
44012,
299,
556,
8329,
65,
671,
49,
910,
2938,
376,
221,
10677,
51,
543,
459,
6418,
577,
411,
640,
11576,
577,
45,
25469,
1139,
51,
390,
25469,
1139,
1811,
3152,
45,
1375,
490,
29751,
894,
376,
221,
15543,
27720,
299,
15439,
51,
1097,
976,
45,
10677,
312,
376,
221,
1287,
320,
374,
221,
2003,
51,
390,
8783,
941,
1838,
45,
41349,
51,
3127,
941,
19682,
1052,
376,
221,
130,
2385,
327,
6860,
503,
46,
320,
374,
221,
25798,
2769,
51,
10588,
941,
750,
459,
943,
411,
503,
312,
376,
221,
130,
1332,
221,
620,
762,
64,
222,
221,
130,
499,
221,
942,
5255,
11347,
3365,
2375,
1811,
3112,
45,
1728,
4815,
8023,
49,
5255,
1260,
2252,
49,
376,
24790,
38757,
1343,
49,
28307,
1808,
46,
222,
221,
128,
376,
221,
671,
3714,
638,
299,
1343,
51,
17745,
459,
1446,
638,
742,
376,
221,
671,
3714,
625,
299,
1343,
51,
17745,
459,
1446,
625,
742,
376,
221,
671,
6897,
2042,
299,
1343,
51,
17745,
459,
6390,
2042,
742,
376,
221,
671,
12950,
402,
2588,
2042,
299,
2681,
3899,
402,
1139,
51,
390,
25469,
1139,
1811,
3152,
45,
1375,
566,
390,
25469,
2588,
2042,
492,
376,
221,
671,
1264,
1551,
299,
2681,
2793,
51,
5965,
100,
13307,
64,
1332,
221,
4386,
1139,
1590,
51,
1999,
3597,
30584,
45,
17864,
402,
2588,
2042,
49,
7344,
1139,
1590,
51,
3230,
49,
762,
49,
7302,
337,
561,
742,
1332,
221,
1287,
376,
221,
128,
374,
221,
1287,
374,
221,
128,
621,
221,
6390,
47944,
14507,
12909,
51,
2564,
2375,
1811,
3112,
45,
3078,
51,
11824,
45,
1446,
625,
490,
6897,
2042,
312,
621,
221,
769,
1551,
299,
2681,
2793,
51,
5965,
100,
6696,
64,
374,
221,
130,
374,
221,
5639,
45,
20335,
503,
46,
374,
221,
128,
621,
221,
25798,
2769,
51,
10588,
941,
750,
459,
5296,
391,
3365,
2572,
664,
1840,
4429,
503,
312,
621,
221,
2003,
51,
2729,
943,
45,
30443,
51,
2134,
100,
16745,
100,
8099,
100,
2946,
49,
332,
5296,
391,
3365,
2572,
664,
1840,
5377,
374,
221,
130,
374,
221,
8263,
65,
671,
49,
1701,
67,
44012,
299,
556,
8329,
6984,
374,
221,
10677,
51,
543,
459,
11137,
17146,
411,
6897,
47944,
14507,
12909,
51,
390,
17146,
1569,
14507,
1580,
3112,
45,
1446,
638,
49,
4418,
51,
11824,
45,
1446,
625,
4254,
2556,
221,
15543,
27720,
299,
15439,
51,
1097,
976,
45,
10677,
312,
374,
221,
2003,
51,
390,
8783,
941,
1838,
45,
41349,
51,
3127,
941,
19682,
1052,
376,
221,
130,
376,
221,
5639,
45,
6860,
503,
46,
376,
221,
128,
374,
221,
25798,
2769,
51,
10588,
941,
750,
459,
943,
4144,
1808,
4429,
503,
312,
376,
221,
130,
376,
221,
1353,
1728,
51,
688,
32061,
45,
17864,
402,
2588,
2042,
49,
762,
49,
621,
221,
1353,
2793,
51,
8755,
100,
1430,
11247,
49,
2681,
2793,
51,
1742,
100,
23997,
49,
1264,
1551,
49,
3714,
625,
49,
1343,
51,
390,
7318,
6774,
1046,
6897,
2042,
312,
1332,
221,
620,
762,
64,
222,
221,
130,
499,
221,
942,
5255,
11347,
334,
781,
3112,
19620,
45,
1728,
4815,
8023,
49,
5255,
1260,
2252,
49,
38757,
1343,
49,
28307,
1808,
46,
222,
221,
128,
1332,
221,
671,
1840,
625,
299,
1343,
51,
17745,
459,
2826,
625,
742,
376,
221,
671,
5535,
625,
299,
1343,
51,
17745,
459,
3941,
625,
742,
376,
221,
671,
12950,
402,
2588,
2042,
299,
2681,
3899,
402,
1139,
51,
390,
25469,
1139,
1811,
3152,
45,
1375,
566,
390,
25469,
2588,
2042,
492,
1332,
221,
4386,
1139,
1590,
51,
1999,
3597,
30584,
45,
17864,
402,
2588,
2042,
49,
7344,
1139,
1590,
51,
3230,
49,
762,
49,
7302,
337,
561,
742,
1332,
221,
1287,
376,
221,
128,
374,
221,
1363,
561,
1747,
51,
631,
433,
3112,
45,
2826,
625,
49,
5535,
625,
312,
376,
221,
130,
376,
221,
5639,
45,
1002,
503,
46,
376,
221,
128,
374,
221,
25798,
2769,
51,
10588,
941,
750,
459,
943,
411,
503,
312,
376,
221,
130,
376,
221,
620,
762,
64,
222,
221,
130,
499,
221,
2072,
910,
640,
11576,
577,
45,
25469,
1139,
12950,
402,
1139,
49,
910,
10891,
108,
46,
222,
221,
128,
376,
221,
11576,
14166,
768,
10891,
73,
299,
556,
17451,
14166,
768,
492,
376,
221,
1107,
51,
519,
12818,
3943,
51,
2297,
51,
1184,
51,
11576,
14166,
10891,
299,
10891,
73,
51,
390,
11576,
14166,
45,
17864,
402,
1139,
49,
10891,
108,
312,
376,
221,
671,
10891,
577,
299,
10891,
51,
20164,
577,
365,
494,
3021,
332,
494,
10891,
51,
390,
20690,
492,
376,
221,
620,
10891,
577,
64,
222,
221,
130,
499,
221,
2072,
782,
4166,
4234,
5232,
45,
3242,
38757,
1343,
49,
910,
3714,
5349,
49,
910,
10891,
108,
49,
910,
1840,
625,
46,
320,
1332,
221,
1563,
2483,
299,
535,
4234,
1747,
51,
390,
73,
893,
4861,
1482,
1563,
492,
376,
221,
325,
910,
3714,
5349,
66,
105,
51,
390,
4234,
3817,
492,
376,
221,
2747,
8596,
5232,
300,
8200,
299,
556,
12029,
8596,
5232,
492,
376,
221,
4112,
115,
51,
489,
2346,
100,
787,
45,
2192,
312,
376,
221,
4112,
115,
51,
489,
28619,
100,
787,
45,
2192,
312,
376,
221,
4112,
115,
51,
489,
11576,
14166,
100,
1365,
45,
6418,
108,
312,
376,
221,
2233,
3152,
427,
299,
1343,
51,
25942,
492,
376,
221,
671,
1275,
100,
1365,
299,
327,
671,
46,
427,
51,
11383,
459,
514,
742,
376,
221,
671,
23144,
100,
1365,
299,
556,
535,
307,
5756,
45,
296,
566,
390,
5756,
45,
514,
100,
1365,
312,
376,
221,
2609,
18385,
3708,
299,
3718,
18385,
2769,
51,
390,
5425,
2609,
18385,
45,
296,
51,
390,
46857,
1052,
376,
221,
2747,
8596,
1590,
300,
2861,
299,
327,
2747,
8596,
1590,
46,
3708,
51,
39497,
459,
1749,
8596,
1590,
742,
376,
221,
4112,
115,
51,
489,
2588,
2042,
10364,
54,
742,
325,
758,
341,
6897,
1307,
391,
545,
449,
54,
1278,
341,
7020,
9268,
641,
349,
1615,
2503,
376,
221,
2588,
6897,
299,
535,
4234,
1747,
51,
390,
2588,
45,
514,
100,
1365,
312,
376,
221,
671,
32452,
20690,
299,
5127,
376,
221,
671,
32452,
22837,
299,
5127,
376,
221,
344,
45,
6390,
6917,
1710,
46,
320,
374,
221,
23365,
20690,
66,
6390,
51,
390,
20690,
492,
374,
221,
23365,
22837,
66,
6390,
51,
20164,
577,
492,
376,
221,
130,
376,
221,
671,
615,
5232,
299,
332,
3112,
39,
494,
332,
332,
494,
3714,
5349,
494,
332,
332,
494,
332,
4536,
840,
332,
494,
2483,
494,
332,
829,
332,
494,
32452,
20690,
494,
332,
332,
494,
32452,
22837,
494,
4956,
884,
1332,
221,
325,
910,
615,
5232,
366,
3112,
5141,
39,
6771,
1446,
5349,
5688,
6771,
332,
4536,
840,
6771,
2192,
37519,
884,
376,
221,
4112,
115,
51,
489,
5232,
45,
484,
5232,
312,
376,
221,
4112,
115,
51,
489,
15718,
45,
1527,
312,
376,
221,
4112,
115,
51,
489,
27447,
100,
6390,
100,
1365,
10364,
54,
742,
376,
221,
4112,
115,
51,
489,
5756,
100,
1365,
45,
15436,
100,
1365,
312,
4102,
221,
3110,
4555,
8924,
8391,
4555,
8924,
299,
327,
3110,
4555,
8924,
46,
16036,
2769,
51,
39497,
459,
4237,
4555,
8924,
742,
376,
221,
3110,
4555,
35694,
4555,
299,
8391,
4555,
8924,
51,
1828,
9809,
459,
27820,
742,
27606,
221,
4112,
115,
51,
489,
20615,
100,
1192,
11519,
100,
4315,
45,
27820,
4555,
51,
7068,
941,
3127,
1052,
4102,
221,
4112,
115,
51,
489,
20615,
100,
5801,
100,
5896,
459,
53,
742,
376,
221,
4112,
115,
51,
489,
4060,
459,
3305,
742,
376,
221,
4112,
115,
51,
489,
19093,
45,
1886,
312,
376,
221,
4112,
115,
51,
489,
6713,
45,
484,
5232,
312,
376,
221,
4112,
115,
51,
29614,
45,
53,
312,
1332,
221,
3967,
6013,
100,
333,
299,
300,
2861,
51,
2882,
5232,
5302,
2907,
798,
45,
4112,
115,
312,
376,
221,
325,
8093,
2582,
15010,
563,
341,
10918,
2160,
376,
221,
25798,
2769,
51,
10588,
941,
1357,
459,
3112,
5857,
2502,
63,
6771,
5774,
100,
333,
51,
3127,
1052,
4102,
221,
325,
2242,
331,
6013,
2375,
391,
1152,
20871,
100,
5774,
100,
1222,
376,
221,
2747,
8596,
5232,
2375,
300,
8200,
113,
299,
556,
12029,
8596,
5232,
2375,
492,
376,
221,
4112,
8387,
51,
489,
15289,
45,
2747,
8596,
5232,
2375,
51,
23997,
312,
376,
221,
4112,
8387,
51,
489,
1617,
625,
45,
3967,
51,
2228,
3967,
45,
2826,
625,
894,
376,
221,
4112,
8387,
51,
489,
5232,
625,
45,
5774,
100,
333,
312,
376,
221,
1363,
561,
1747,
51,
688,
2747,
29516,
5232,
2375,
45,
4112,
8387,
312,
222,
221,
130,
499,
221,
1127,
376,
338,
964,
782,
4166,
18754,
13756,
14507,
45,
671,
10891,
108,
49,
671,
3714,
625,
49,
671,
3714,
638,
1528,
8762,
13756,
1413,
768,
51,
1896,
18754,
13756,
14507,
45,
1446,
625,
49,
10891,
108,
49,
3714,
638,
312,
339,
376,
588,
499,
221,
2072,
924,
2050,
640,
3112,
2610,
2995,
45,
671,
3714,
5000,
46,
320,
376,
221,
325,
2050,
3337,
2995,
299,
556,
2050,
45,
1446,
5000,
5688,
100,
2630,
742,
376,
221,
991,
3714,
2995,
299,
556,
2050,
45,
1446,
5000,
312,
376,
221,
671,
1840,
2995,
577,
299,
3714,
2995,
51,
5175,
492,
376,
221,
991,
2952,
2995,
299,
3714,
2995,
51,
18777,
991,
492,
1332,
221,
991,
3337,
2995,
299,
556,
2050,
45,
2562,
2995,
49,
1840,
2995,
577,
494,
7302,
2630,
742,
1332,
221,
344,
1445,
47661,
51,
4678,
1177,
320,
374,
221,
47661,
51,
10211,
492,
376,
221,
130,
376,
221,
620,
3337,
2995,
64,
222,
221,
130,
499,
221,
2072,
2050,
1421,
2610,
2080,
55,
45,
3112,
362,
49,
4418,
1957,
2585,
46,
222,
221,
128,
376,
221,
991,
29040,
299,
556,
2050,
45,
4020,
991,
51,
23997,
100,
6185,
100,
3217,
49,
362,
51,
390,
4234,
3633,
365,
494,
25848,
494,
1957,
2585,
494,
4956,
1665,
742,
376,
221,
344,
3848,
22081,
51,
4678,
1177,
376,
221,
128,
374,
221,
22081,
299,
762,
64,
376,
221,
130,
376,
221,
620,
29040,
64,
222,
221,
130,
499,
221,
942,
924,
782,
3081,
2610,
2080,
45,
3112,
362,
49,
648,
1957,
2585,
46,
222,
221,
128,
376,
221,
991,
29040,
299,
556,
2050,
45,
4020,
991,
51,
23997,
100,
6185,
100,
3217,
49,
362,
51,
390,
4234,
3633,
365,
494,
25848,
494,
1957,
2585,
494,
4956,
1665,
742,
376,
221,
344,
45,
22081,
51,
4678,
1177,
376,
221,
128,
374,
221,
22081,
51,
2577,
492,
376,
221,
130,
222,
221,
130,
499,
221,
2072,
2050,
1421,
2610,
2080,
45,
3112,
362,
49,
648,
1957,
2585,
46,
222,
221,
128,
376,
221,
991,
29040,
299,
556,
2050,
45,
4020,
991,
51,
23997,
100,
6185,
100,
3217,
49,
362,
51,
390,
4234,
3633,
365,
494,
25848,
494,
1957,
2585,
494,
4956,
1665,
742,
376,
221,
344,
3848,
22081,
51,
4678,
1177,
376,
221,
128,
374,
221,
22081,
299,
762,
64,
376,
221,
130,
376,
221,
620,
29040,
64,
222,
221,
130,
499,
221,
942,
2050,
1506,
2610,
2080,
55,
45,
3112,
1840,
49,
4418,
1957,
2585,
46,
222,
221,
128,
376,
221,
991,
461,
991,
299,
762,
64,
376,
221,
1287,
376,
221,
128,
374,
221,
344,
45,
2826,
51,
2057,
7970,
943,
1177,
374,
221,
128,
621,
221,
620,
991,
299,
4468,
20887,
10621,
28727,
1675,
492,
374,
221,
130,
374,
221,
728,
374,
221,
128,
621,
221,
671,
3714,
5000,
299,
12679,
991,
51,
23997,
100,
6185,
100,
3217,
64,
621,
221,
991,
1840,
2610,
2995,
299,
640,
3112,
2610,
2995,
45,
1446,
5000,
312,
5033,
221,
1233,
18030,
299,
33757,
51,
390,
45,
1446,
5000,
566,
5292,
45,
2826,
51,
390,
4234,
3633,
1052,
5033,
221,
620,
991,
299,
4468,
20887,
1983,
1675,
45,
14735,
51,
3127,
1046,
1397,
221,
9648,
51,
390,
45,
2826,
2610,
2995,
51,
47905,
1233,
4269,
5292,
45,
2826,
51,
390,
4234,
3633,
365,
494,
25848,
494,
1957,
2585,
494,
4956,
1665,
1912,
3127,
1046,
1957,
2585,
312,
374,
221,
130,
376,
221,
130,
376,
221,
5639,
327,
6860,
3377,
74,
46,
376,
221,
128,
374,
221,
25798,
2769,
51,
10588,
941,
750,
459,
2354,
3284,
1429,
36417,
3337,
4937,
1536,
63,
332,
494,
3377,
74,
51,
7724,
1052,
376,
221,
130,
376,
221,
620,
461,
991,
64,
222,
221,
130,
499,
221,
942,
2050,
4468,
20887,
1983,
1675,
45,
671,
1533,
20887,
1233,
49,
910,
1716,
9141,
49,
4418,
1957,
2585,
46,
222,
221,
128,
376,
221,
1287,
376,
221,
128,
374,
221,
671,
23233,
299,
565,
564,
301,
3303,
51,
7432,
941,
12712,
459,
2826,
51,
28907,
1442,
100,
1005,
411,
2450,
3392,
52,
1793,
52,
5399,
742,
374,
221,
671,
1197,
23233,
5285,
299,
320,
5399,
49,
4840,
120,
10553,
66,
1665,
54,
59,
114,
411,
4840,
105,
3228,
5243,
9176,
66,
57,
1479,
50,
105,
3485,
1983,
366,
494,
1957,
2585,
49,
4840,
105,
3283,
1983,
366,
494,
1957,
2585,
49,
4840,
116,
411,
1716,
9141,
49,
4840,
119,
56,
61,
57,
411,
1533,
20887,
1233,
1274,
374,
221,
2877,
23233,
11102,
299,
7324,
51,
390,
5061,
941,
2510,
45,
5399,
5285,
312,
374,
221,
5399,
11102,
51,
20955,
492,
2556,
221,
344,
327,
5399,
11102,
51,
4788,
899,
365,
882,
244,
53,
46,
374,
221,
128,
621,
221,
5267,
556,
13383,
459,
34686,
3223,
35159,
642,
804,
3059,
494,
23233,
11102,
51,
4788,
899,
365,
494,
1465,
27101,
244,
53,
5377,
374,
221,
130,
2556,
221,
620,
556,
2050,
45,
2051,
9141,
312,
376,
221,
130,
376,
221,
5639,
327,
1002,
503,
46,
376,
221,
128,
374,
221,
25798,
2769,
51,
10588,
941,
8453,
459,
7824,
391,
4511,
1957,
3059,
494,
1957,
2585,
494,
13697,
451,
17237,
3059,
48,
1533,
20887,
1233,
494,
1465,
391,
28552,
38,
642,
1067,
63,
332,
494,
503,
51,
7724,
1052,
374,
221,
620,
4468,
20887,
10621,
943,
1675,
492,
376,
221,
130,
222,
221,
130,
499,
221,
2072,
2050,
4468,
20887,
10621,
28727,
1675,
365,
222,
221,
128,
376,
221,
3242,
910,
1067,
2661,
299,
332,
10621,
1703,
7249,
884,
376,
221,
3242,
910,
1381,
2661,
299,
332,
10621,
11753,
456,
477,
1840,
847,
458,
666,
5430,
884,
376,
221,
620,
4468,
20887,
2061,
10621,
1675,
45,
750,
2661,
49,
1381,
2661,
312,
222,
221,
130,
499,
221,
2072,
2050,
4468,
20887,
10621,
943,
1675,
365,
222,
221,
128,
376,
221,
3242,
910,
1067,
2661,
299,
332,
943,
17381,
15385,
21087,
884,
376,
221,
3242,
910,
1381,
2661,
299,
332,
6578,
7272,
990,
17678,
2208,
12984,
376,
221,
620,
4468,
20887,
2061,
10621,
1675,
45,
750,
2661,
49,
1381,
2661,
312,
222,
221,
130,
499,
221,
2072,
2050,
4468,
20887,
2061,
10621,
1675,
45,
3242,
910,
3353,
1049,
49,
1175,
910,
1381,
2661,
46,
222,
221,
128,
376,
221,
3242,
4418,
1067,
9856,
2627,
299,
244,
59,
53,
53,
64,
376,
221,
3242,
4418,
1067,
9856,
3041,
66,
244,
61,
53,
53,
64,
376,
221,
3242,
910,
244,
614,
17678,
15148,
1233,
299,
2450,
2238,
52,
519,
3745,
2067,
52,
519,
3745,
2067,
100,
31245,
52,
1296,
52,
5383,
100,
111,
17678,
100,
6583,
51,
1665,
884,
1332,
221,
1287,
376,
221,
128,
374,
221,
991,
986,
991,
299,
2050,
51,
1315,
44274,
459,
519,
3745,
943,
411,
4956,
1665,
742,
374,
221,
17640,
1675,
20026,
9856,
299,
556,
44182,
45,
750,
9856,
2627,
49,
1067,
9856,
3041,
49,
44182,
51,
2333,
100,
1860,
100,
7832,
312,
374,
221,
8524,
55,
73,
504,
55,
105,
299,
20026,
9856,
51,
1315,
8524,
492,
374,
221,
108,
55,
105,
51,
489,
12177,
11213,
45,
12177,
33404,
51,
3319,
100,
39362,
25126,
1410,
49,
39195,
33404,
51,
5986,
100,
39362,
25126,
100,
586,
312,
374,
221,
108,
55,
105,
51,
489,
12177,
11213,
45,
12177,
33404,
51,
3319,
100,
6025,
100,
39362,
25126,
1410,
49,
39195,
33404,
51,
5986,
100,
6025,
100,
39362,
25126,
100,
586,
312,
2556,
221,
3728,
3353,
3728,
299,
556,
8929,
459,
20399,
411,
8929,
51,
31394,
49,
244,
55,
53,
312,
374,
221,
3728,
9509,
3353,
3728,
9149,
299,
504,
55,
105,
51,
44828,
9509,
45,
2127,
3728,
312,
2556,
221,
3728,
3376,
3728,
299,
556,
8929,
459,
20399,
411,
8929,
51,
33722,
49,
244,
54,
55,
312,
374,
221,
3728,
9509,
3376,
3728,
9149,
299,
504,
55,
105,
51,
44828,
9509,
45,
1561,
3728,
312,
2556,
221,
325,
3903,
1802,
2556,
221,
325,
4182,
7500,
374,
221,
108,
55,
105,
51,
20394,
45,
1530,
51,
4911,
312,
374,
221,
108,
55,
105,
51,
43263,
45,
53,
49,
244,
53,
49,
1067,
9856,
2627,
49,
1067,
9856,
3041,
312,
2556,
221,
325,
750,
3353,
374,
221,
108,
55,
105,
51,
21617,
45,
2127,
3728,
312,
374,
221,
108,
55,
105,
51,
20394,
45,
1530,
51,
7548,
21193,
312,
374,
221,
429,
3353,
93,
45607,
299,
1067,
9856,
2627,
52,
55,
449,
3353,
3728,
9149,
51,
819,
2627,
45,
2127,
1049,
4201,
55,
64,
374,
221,
108,
55,
105,
51,
3903,
671,
45,
2127,
1049,
49,
3353,
93,
45607,
49,
244,
54,
58,
53,
312,
2556,
221,
325,
5383,
374,
221,
1287,
374,
221,
128,
621,
221,
1675,
614,
17678,
15148,
299,
4393,
2354,
51,
870,
45,
909,
2050,
45,
111,
17678,
15148,
1233,
894,
621,
221,
108,
55,
105,
51,
37719,
45,
111,
17678,
15148,
49,
750,
9856,
2627,
52,
55,
449,
1849,
17640,
1675,
46,
614,
17678,
15148,
566,
21398,
28486,
55,
449,
244,
54,
53,
49,
244,
54,
53,
49,
5459,
51,
4911,
49,
762,
312,
374,
221,
130,
374,
221,
5639,
327,
6860,
3377,
74,
46,
374,
221,
128,
621,
221,
25798,
2769,
51,
10588,
941,
8453,
459,
21681,
666,
2177,
15863,
822,
642,
1067,
63,
332,
494,
3377,
74,
51,
7724,
1052,
374,
221,
130,
2556,
221,
325,
2594,
1067,
3141,
374,
221,
108,
55,
105,
51,
21617,
45,
1561,
3728,
312,
374,
221,
108,
55,
105,
51,
20394,
45,
1530,
51,
8440,
312,
374,
221,
108,
55,
105,
51,
3903,
671,
45,
1133,
2661,
49,
3353,
93,
45607,
49,
244,
54,
60,
53,
312,
2556,
221,
108,
55,
105,
51,
19904,
492,
374,
221,
1675,
2354,
51,
1838,
45,
12811,
9856,
49,
332,
1665,
411,
986,
991,
312,
374,
221,
620,
986,
991,
64,
376,
221,
130,
376,
221,
5639,
327,
1002,
503,
46,
376,
221,
128,
374,
221,
25798,
2769,
51,
10588,
941,
750,
459,
7824,
391,
4468,
1067,
1802,
38,
642,
1067,
63,
332,
494,
503,
51,
7724,
1052,
376,
221,
130,
376,
221,
620,
762,
64,
222,
221,
130,
499,
221,
942,
5255,
11347,
2539,
1983,
45,
1728,
4815,
8023,
49,
5255,
1260,
2252,
49,
38757,
1343,
49,
28307,
1808,
46,
2589,
3284,
320,
376,
221,
620,
640,
1983,
45,
9399,
49,
2252,
49,
1343,
49,
1808,
49,
4418,
51,
11824,
45,
1375,
51,
17745,
459,
1655,
13265,
222,
221,
130,
499,
221,
942,
5255,
11347,
2221,
45,
1728,
4815,
8023,
49,
5255,
1260,
2252,
49,
38757,
1343,
49,
28307,
1808,
1528,
376,
221,
620,
640,
1983,
45,
9399,
49,
2252,
49,
1343,
49,
1808,
49,
244,
54,
312,
222,
221,
130,
499,
221,
325,
33905,
1522,
222,
221,
942,
5255,
11347,
640,
1983,
45,
1728,
4815,
8023,
49,
5255,
1260,
2252,
49,
38757,
1343,
49,
28307,
1808,
49,
648,
1957,
2585,
46,
320,
1332,
221,
1287,
320,
374,
221,
671,
3714,
100,
1365,
299,
1343,
51,
17745,
459,
1446,
100,
1365,
742,
374,
221,
4089,
51,
2824,
459,
3112,
3155,
35762,
494,
3714,
100,
1365,
312,
2556,
221,
1353,
1728,
51,
688,
32061,
1181,
671,
46,
1343,
51,
25942,
941,
11383,
459,
514,
2132,
596,
221,
1353,
2793,
51,
8755,
100,
4423,
49,
2681,
2793,
51,
1742,
100,
23997,
49,
2681,
2793,
51,
5965,
100,
6696,
49,
3714,
100,
1365,
49,
1343,
51,
390,
7318,
6774,
1052,
2556,
221,
3112,
362,
299,
1840,
8924,
51,
35778,
45,
1446,
100,
1365,
312,
374,
221,
4089,
51,
2824,
459,
3112,
3286,
35762,
494,
362,
51,
390,
4234,
3633,
1052,
2556,
221,
991,
29040,
299,
1421,
2610,
2080,
45,
105,
49,
1957,
2585,
312,
374,
221,
344,
327,
22081,
630,
762,
1528,
621,
221,
22081,
299,
1506,
2610,
2080,
55,
45,
362,
49,
1957,
2585,
312,
374,
221,
130,
374,
221,
2003,
51,
489,
14257,
459,
915,
52,
1665,
742,
374,
221,
325,
1808,
51,
31400,
459,
1795,
50,
30638,
411,
332,
13418,
64,
3633,
29633,
494,
4891,
48,
12377,
742,
374,
221,
325,
1511,
341,
822,
655,
51,
2556,
221,
4089,
51,
2824,
459,
7476,
391,
9232,
391,
3458,
742,
374,
221,
7399,
8783,
986,
120,
299,
1808,
51,
390,
8783,
492,
2556,
221,
2003,
51,
31400,
459,
1795,
50,
30638,
411,
332,
13418,
64,
3633,
29633,
494,
362,
51,
390,
4234,
3633,
365,
494,
12377,
742,
374,
221,
17640,
6989,
342,
28780,
299,
762,
64,
374,
221,
1287,
320,
621,
221,
3618,
316,
299,
556,
16900,
6989,
45,
909,
34075,
45,
22081,
894,
621,
221,
429,
727,
64,
621,
221,
5544,
1849,
624,
299,
342,
28780,
51,
870,
1177,
882,
449,
54,
46,
320,
596,
221,
24655,
51,
1838,
45,
624,
312,
596,
221,
325,
986,
120,
51,
9327,
492,
621,
221,
130,
374,
221,
130,
8312,
320,
621,
221,
344,
327,
3618,
316,
6917,
1710,
46,
342,
28780,
51,
2698,
492,
374,
221,
130,
374,
221,
24655,
51,
9327,
492,
374,
221,
24655,
51,
2698,
492,
376,
221,
130,
2385,
327,
1874,
51,
1317,
51,
5270,
1002,
427,
46,
320,
374,
221,
25798,
2769,
51,
10588,
941,
750,
459,
943,
411,
427,
312,
376,
221,
130,
2385,
327,
1002,
503,
46,
320,
374,
221,
25798,
2769,
51,
10588,
941,
750,
459,
943,
411,
503,
312,
376,
221,
130,
376,
221,
620,
762,
64,
222,
221,
130,
499,
221,
942,
5255,
11347,
2221,
4234,
1983,
45,
1728,
4815,
8023,
49,
5255,
1260,
2252,
49,
38757,
1343,
49,
28307,
1808,
46,
320,
4102,
221,
344,
3848,
4386,
1139,
1590,
51,
2057,
30584,
45,
25469,
1139,
51,
390,
25469,
1139,
1811,
3152,
45,
1375,
490,
7302,
337,
561,
411,
332,
119,
411,
762,
509,
320,
295,
221,
5267,
556,
7344,
1002,
459,
9832,
2147,
7669,
1319,
4648,
337,
561,
13365,
310,
339,
1332,
221,
4089,
51,
2824,
459,
285,
2221,
4234,
1983,
742,
376,
221,
1287,
376,
221,
128,
374,
221,
671,
3714,
100,
1365,
299,
1343,
51,
17745,
459,
1446,
100,
1365,
742,
374,
221,
671,
1957,
2585,
299,
1343,
51,
17745,
459,
1556,
1983,
742,
374,
221,
344,
45,
45056,
630,
762,
46,
374,
221,
128,
621,
221,
45056,
299,
332,
53,
884,
374,
221,
130,
374,
221,
3078,
1957,
1936,
299,
4418,
51,
11824,
45,
45056,
312,
374,
221,
4089,
51,
2824,
459,
3112,
3155,
35762,
494,
3714,
100,
1365,
312,
374,
221,
1353,
1728,
51,
688,
32061,
1181,
671,
46,
1343,
51,
25942,
941,
11383,
459,
514,
2132,
596,
221,
1353,
2793,
51,
8755,
100,
4423,
49,
2681,
2793,
51,
1742,
100,
23997,
49,
2681,
2793,
51,
5965,
100,
6696,
49,
3714,
100,
1365,
49,
1343,
51,
390,
7318,
6774,
1052,
2556,
221,
3112,
1840,
299,
1840,
8924,
51,
35778,
45,
1446,
100,
1365,
312,
374,
221,
4089,
51,
2824,
459,
3112,
3286,
35762,
494,
1840,
51,
390,
4234,
3633,
1052,
374,
221,
671,
655,
299,
1840,
51,
390,
4234,
3633,
365,
494,
25848,
494,
1957,
1936,
494,
4956,
1665,
884,
374,
221,
4089,
51,
2824,
459,
444,
332,
494,
655,
312,
2556,
221,
991,
29040,
299,
1421,
2610,
2080,
55,
45,
2826,
49,
1957,
1936,
312,
374,
221,
344,
45,
22081,
882,
762,
46,
374,
221,
128,
621,
221,
4089,
51,
2824,
459,
9300,
3714,
664,
2212,
3337,
280,
7173,
374,
221,
130,
374,
221,
728,
374,
221,
128,
621,
221,
22081,
299,
1506,
2610,
2080,
55,
45,
2826,
49,
1957,
1936,
312,
621,
221,
344,
45,
22081,
882,
762,
46,
621,
221,
128,
596,
221,
4089,
51,
2824,
459,
1315,
556,
3714,
244,
7173,
621,
221,
130,
374,
221,
130,
374,
221,
2003,
51,
489,
14257,
459,
915,
52,
1665,
742,
374,
221,
7399,
8783,
986,
120,
299,
1808,
51,
390,
8783,
492,
374,
221,
2003,
51,
31400,
459,
1795,
50,
30638,
411,
332,
13418,
64,
3633,
29633,
494,
1840,
51,
390,
4234,
3633,
365,
494,
12377,
742,
2556,
221,
17640,
6989,
342,
28780,
299,
762,
64,
374,
221,
1287,
374,
221,
128,
621,
221,
344,
45,
22081,
882,
762,
46,
621,
221,
128,
596,
221,
3618,
316,
299,
556,
16900,
6989,
45,
909,
34075,
45,
22081,
894,
596,
221,
429,
727,
64,
596,
221,
5544,
1181,
624,
299,
342,
28780,
51,
870,
1177,
882,
449,
54,
46,
596,
221,
128,
1397,
221,
24655,
51,
1838,
45,
624,
312,
1397,
221,
325,
986,
120,
51,
9327,
492,
596,
221,
130,
621,
221,
130,
621,
221,
728,
621,
221,
128,
596,
221,
4089,
51,
1357,
459,
12019,
391,
10857,
1813,
456,
332,
494,
1840,
494,
4956,
1369,
1648,
14197,
4575,
7629,
575,
4166,
3896,
19874,
621,
221,
130,
374,
221,
130,
374,
221,
22220,
374,
221,
128,
621,
221,
344,
45,
3618,
316,
882,
762,
46,
621,
221,
128,
596,
221,
3618,
316,
51,
2698,
492,
621,
221,
130,
374,
221,
130,
2556,
221,
24655,
51,
9327,
492,
374,
221,
24655,
51,
2698,
492,
376,
221,
130,
376,
221,
5639,
45,
1874,
51,
1317,
51,
5270,
1002,
427,
46,
376,
221,
128,
374,
221,
25798,
2769,
51,
10588,
941,
750,
459,
943,
411,
427,
312,
376,
221,
130,
376,
221,
5639,
45,
1002,
503,
46,
376,
221,
128,
374,
221,
25798,
2769,
51,
10588,
941,
750,
459,
943,
411,
503,
312,
376,
221,
130,
376,
221,
620,
762,
64,
222,
221,
130,
499,
221,
942,
5255,
11347,
2221,
55,
45,
1728,
4815,
8023,
49,
5255,
1260,
2252,
49,
38757,
1343,
49,
28307,
1808,
46,
2589,
3284,
320,
1332,
221,
344,
3848,
4386,
1139,
1590,
51,
2057,
30584,
45,
25469,
1139,
51,
390,
25469,
1139,
1811,
3152,
45,
1375,
490,
7302,
337,
561,
411,
332,
119,
411,
762,
509,
320,
295,
221,
5267,
556,
7344,
1002,
459,
9832,
2147,
7669,
1319,
4648,
337,
561,
13365,
310,
339,
4102,
221,
671,
3714,
100,
1365,
299,
1343,
51,
17745,
459,
1446,
100,
1365,
742,
376,
221,
4089,
51,
2824,
459,
3112,
3155,
35762,
494,
3714,
100,
1365,
312,
1332,
221,
1353,
1728,
51,
688,
32061,
1181,
671,
46,
1343,
51,
25942,
941,
11383,
459,
514,
2132,
621,
221,
1353,
2793,
51,
8755,
100,
4423,
49,
2681,
2793,
51,
1742,
100,
23997,
49,
2681,
2793,
51,
5965,
100,
6696,
49,
3714,
100,
1365,
49,
1343,
51,
390,
7318,
6774,
1052,
1332,
221,
991,
1840,
2995,
299,
556,
2050,
45,
4020,
991,
51,
23997,
100,
6185,
100,
3217,
312,
376,
221,
4089,
51,
2824,
459,
3112,
19448,
458,
331,
4937,
39,
494,
1840,
2995,
51,
30815,
1052,
1332,
221,
3112,
362,
299,
1840,
8924,
51,
35778,
45,
1446,
100,
1365,
312,
376,
221,
4089,
51,
2824,
459,
3112,
3286,
35762,
494,
362,
51,
390,
4234,
3633,
1052,
1332,
221,
325,
4314,
63,
11575,
2483,
477,
22424,
580,
1200,
331,
17237,
1532,
580,
15495,
1348,
1332,
221,
2003,
51,
489,
14257,
459,
915,
52,
1665,
742,
376,
221,
325,
1808,
51,
31400,
459,
1795,
50,
30638,
411,
332,
13418,
64,
3633,
29633,
494,
4891,
48,
12377,
742,
376,
221,
325,
1511,
341,
822,
655,
51,
376,
221,
991,
822,
299,
556,
2050,
45,
2826,
2995,
49,
362,
51,
390,
4234,
3633,
1052,
1332,
221,
6124,
2807,
991,
559,
1566,
299,
556,
9607,
2807,
991,
45,
781,
49,
332,
119,
742,
376,
221,
991,
3542,
3842,
299,
559,
1566,
51,
47453,
492,
376,
221,
21042,
4856,
299,
3842,
51,
1130,
45,
991,
3542,
51,
1225,
2116,
51,
4423,
100,
13003,
49,
244,
53,
49,
3842,
51,
911,
1052,
376,
221,
14968,
991,
6451,
505,
433,
299,
556,
15385,
991,
45,
1972,
312,
376,
221,
325,
1964,
1511,
781,
299,
1189,
51,
17217,
365,
449,
1496,
64,
376,
221,
325,
5194,
341,
1950,
1957,
391,
619,
1802,
376,
221,
14968,
1983,
317,
1655,
299,
6451,
505,
433,
51,
36843,
45,
53,
312,
1332,
221,
4089,
51,
2824,
459,
10582,
332,
494,
327,
429,
46,
317,
1655,
51,
33465,
1723,
941,
21398,
365,
494,
332,
2401,
332,
494,
327,
429,
46,
317,
1655,
51,
33465,
1723,
941,
22361,
1052,
1332,
221,
325,
640,
341,
1882,
480,
2401,
456,
341,
3714,
840,
341,
1263,
13170,
376,
221,
12954,
7597,
299,
556,
18092,
45,
53,
49,
244,
53,
49,
327,
429,
46,
317,
1655,
51,
33465,
1723,
941,
21398,
1046,
327,
429,
46,
317,
1655,
51,
33465,
1723,
941,
22361,
1052,
1332,
221,
4089,
51,
2824,
459,
5555,
341,
1802,
742,
376,
221,
1675,
4838,
299,
317,
1655,
51,
25414,
45,
6612,
51,
1660,
49,
7597,
51,
2296,
49,
453,
1882,
568,
2401,
24765,
7597,
49,
453,
12309,
7597,
24765,
762,
49,
453,
762,
456,
341,
4393,
9136,
24765,
878,
49,
453,
5342,
3224,
642,
8408,
24765,
878,
453,
2181,
6234,
19785,
458,
3412,
24765,
1110,
1332,
221,
4089,
51,
2824,
459,
7476,
391,
9232,
391,
3458,
742,
376,
221,
7399,
8783,
986,
120,
299,
1808,
51,
390,
8783,
492,
1332,
221,
36313,
1675,
18902,
1675,
299,
327,
36313,
1675,
46,
4838,
64,
376,
221,
1675,
2354,
51,
1838,
45,
13973,
1675,
49,
332,
1665,
411,
986,
120,
312,
376,
221,
24655,
51,
9327,
492,
376,
221,
24655,
51,
2698,
492,
376,
221,
620,
762,
64,
222,
221,
130,
3038,
221,
942,
5255,
11347,
5844,
72,
4150,
45,
1728,
4815,
8023,
49,
5255,
1260,
2252,
49,
38757,
1343,
49,
28307,
1808,
46,
2589,
3284,
320,
4102,
221,
344,
3848,
4386,
1139,
1590,
51,
2057,
30584,
45,
25469,
1139,
51,
390,
25469,
1139,
1811,
3152,
45,
1375,
490,
7302,
337,
561,
411,
332,
119,
411,
762,
509,
320,
295,
221,
5267,
556,
7344,
1002,
459,
9832,
2147,
7669,
1319,
4648,
337,
561,
13365,
310,
339,
4102,
221,
11576,
14166,
6171,
4184,
299,
2432,
7016,
7067,
1747,
51,
19101,
11576,
14166,
6171,
45,
3078,
51,
9169,
45,
1375,
51,
17745,
459,
1446,
100,
1365,
13265,
376,
221,
671,
19889,
299,
332,
3180,
52,
3992,
884,
376,
221,
671,
4891,
299,
910,
51,
1664,
4923,
120,
16430,
120,
411,
4184,
51,
35778,
638,
1046,
4184,
51,
7068,
1052,
376,
221,
2278,
1197,
1813,
3656,
299,
4184,
51,
35778,
492,
1332,
221,
2003,
51,
489,
14257,
45,
20256,
312,
376,
221,
2003,
51,
29480,
2396,
45,
1304,
3656,
51,
1340,
312,
376,
221,
2003,
51,
31400,
459,
1795,
50,
30638,
411,
332,
3236,
64,
4891,
29633,
494,
4891,
494,
12377,
742,
376,
221,
4089,
51,
2824,
459,
7476,
391,
9232,
391,
3458,
742,
376,
221,
7399,
8783,
986,
120,
299,
1808,
51,
390,
8783,
492,
376,
221,
24655,
51,
1838,
45,
1304,
3656,
312,
376,
221,
24655,
51,
9327,
492,
376,
221,
24655,
51,
2698,
492,
376,
221,
620,
762,
64,
222,
221,
130,
499,
221,
942,
5255,
11347,
2540,
45,
1728,
4815,
8023,
49,
5255,
1260,
2252,
49,
38757,
1343,
49,
28307,
1808,
46,
2589,
3284,
222,
221,
128,
376,
221,
25469,
1139,
12950,
402,
1139,
299,
2681,
3899,
402,
1139,
51,
390,
25469,
1139,
1811,
3152,
45,
1375,
312,
1332,
221,
4386,
1139,
1590,
51,
1999,
3597,
30584,
45,
17864,
402,
1139,
51,
390,
25469,
2588,
2042,
1046,
7344,
1139,
1590,
51,
4423,
49,
762,
49,
7302,
337,
561,
742,
4102,
221,
671,
1798,
299,
1343,
51,
17745,
459,
7004,
37695,
625,
742,
376,
221,
3078,
6564,
37695,
625,
299,
762,
64,
376,
221,
344,
327,
1452,
882,
762,
979,
673,
1452,
51,
5475,
941,
6401,
1177,
376,
221,
128,
374,
221,
7004,
37695,
625,
299,
4418,
51,
11824,
45,
1452,
312,
376,
221,
130,
1332,
221,
671,
3714,
100,
1365,
299,
1343,
51,
17745,
459,
1446,
100,
1365,
742,
376,
221,
4089,
51,
2824,
459,
3112,
3155,
35762,
494,
3714,
100,
1365,
312,
1332,
221,
671,
3714,
2608,
299,
762,
64,
376,
221,
671,
19889,
299,
762,
64,
376,
221,
2278,
1197,
1813,
3656,
299,
762,
64,
376,
221,
671,
4891,
299,
762,
64,
1332,
221,
325,
2212,
1840,
376,
221,
344,
327,
7004,
37695,
625,
630,
762,
46,
376,
221,
128,
374,
221,
27926,
3112,
16128,
1400,
299,
41066,
3112,
8924,
51,
390,
9478,
3112,
45,
3078,
51,
11824,
45,
1446,
100,
1365,
894,
374,
221,
3078,
10891,
14166,
2042,
299,
16128,
1400,
51,
316,
11576,
14166,
3112,
365,
1037,
16128,
1400,
51,
7068,
941,
48583,
625,
365,
518,
762,
64,
374,
221,
1353,
1728,
51,
688,
32061,
1181,
671,
46,
1343,
51,
25942,
941,
11383,
459,
514,
2132,
10891,
14166,
2042,
49,
596,
221,
1353,
2793,
51,
8755,
100,
4423,
49,
2681,
2793,
51,
1742,
100,
23997,
49,
2681,
2793,
51,
5965,
100,
6696,
49,
3714,
100,
1365,
49,
1343,
51,
390,
7318,
6774,
1052,
2556,
221,
991,
1840,
2995,
299,
556,
2050,
45,
4020,
991,
51,
23997,
100,
6185,
100,
3217,
312,
374,
221,
4089,
51,
2824,
459,
3112,
19448,
458,
331,
4937,
39,
494,
1840,
2995,
51,
30815,
1052,
2556,
221,
3112,
1840,
299,
1840,
8924,
51,
35778,
45,
1446,
100,
1365,
312,
374,
221,
4089,
51,
2824,
459,
3112,
3286,
35762,
494,
1840,
51,
390,
4234,
3633,
1052,
2556,
221,
1446,
2608,
299,
1840,
51,
390,
4234,
2608,
492,
374,
221,
20256,
299,
1840,
51,
16618,
700,
492,
2556,
221,
991,
822,
299,
556,
2050,
45,
2826,
2995,
49,
1840,
51,
390,
4234,
3633,
1052,
374,
221,
3633,
299,
1840,
51,
390,
4234,
3633,
492,
2556,
221,
344,
327,
20256,
882,
762,
979,
673,
20256,
51,
5475,
941,
3591,
459,
897,
52,
935,
2152,
374,
221,
128,
621,
221,
344,
45,
781,
51,
4678,
1177,
621,
221,
128,
596,
221,
1304,
3656,
299,
36423,
51,
32213,
724,
12561,
45,
781,
312,
621,
221,
130,
621,
221,
728,
621,
221,
128,
596,
221,
5267,
556,
21641,
459,
3340,
1840,
4183,
1348,
2325,
456,
503,
4234,
327,
798,
332,
494,
1840,
51,
7068,
365,
494,
332,
731,
332,
494,
822,
51,
24697,
1052,
621,
221,
130,
374,
221,
130,
376,
221,
130,
376,
221,
728,
453,
6564,
1840,
376,
221,
128,
374,
221,
37695,
625,
3078,
14377,
21920,
6564,
21920,
299,
556,
28576,
1911,
625,
3078,
14377,
21920,
492,
374,
221,
7004,
21920,
51,
489,
9197,
738,
37695,
625,
45,
7004,
37695,
625,
312,
374,
221,
7004,
21920,
51,
489,
72,
8161,
110,
29291,
45,
3078,
51,
11824,
45,
1446,
100,
1365,
894,
5033,
374,
221,
14526,
11576,
14166,
3112,
6564,
3112,
299,
762,
64,
374,
221,
14526,
11576,
14166,
3112,
8048,
6564,
3112,
8048,
299,
762,
64,
2556,
221,
1287,
374,
221,
128,
621,
221,
344,
1445,
72,
8161,
110,
9197,
738,
1590,
51,
316,
9197,
738,
27122,
45,
1375,
51,
25942,
5183,
621,
221,
128,
596,
221,
11576,
14166,
17517,
10891,
14166,
17517,
299,
409,
8161,
110,
9197,
738,
1590,
51,
390,
11576,
14166,
17517,
45,
17864,
402,
1139,
49,
12950,
402,
1139,
51,
12344,
37695,
1052,
596,
221,
7004,
3112,
299,
10891,
14166,
17517,
51,
390,
14526,
11576,
14166,
3112,
45,
7004,
21920,
312,
596,
221,
7004,
3112,
8048,
299,
10891,
14166,
17517,
51,
390,
14526,
11576,
14166,
3112,
8048,
45,
7004,
21920,
312,
621,
221,
130,
374,
221,
130,
374,
221,
5639,
327,
1002,
503,
46,
374,
221,
128,
621,
221,
25798,
2769,
51,
10588,
941,
750,
459,
10202,
1067,
4429,
503,
312,
621,
221,
72,
8161,
110,
9197,
738,
1590,
51,
1571,
1580,
2815,
943,
45,
1375,
51,
25942,
1046,
106,
312,
374,
221,
130,
2556,
221,
344,
327,
72,
8161,
110,
9197,
738,
1590,
51,
316,
9197,
738,
27122,
45,
1375,
51,
25942,
5183,
374,
221,
128,
621,
221,
3078,
10891,
14166,
625,
299,
14292,
738,
38497,
2509,
1590,
51,
390,
11576,
14166,
2042,
1811,
7318,
3112,
45,
17864,
402,
1139,
49,
7004,
21920,
312,
621,
221,
25798,
2769,
51,
10588,
941,
2824,
459,
9300,
10891,
14166,
1307,
664,
6564,
1840,
6771,
6418,
14166,
625,
312,
621,
221,
739,
65,
14526,
11576,
14166,
3112,
67,
6564,
11871,
299,
14292,
738,
38497,
2509,
1590,
51,
390,
7318,
11871,
45,
17864,
402,
1139,
49,
6418,
14166,
625,
312,
621,
221,
999,
45,
14526,
11576,
14166,
3112,
10891,
14166,
3112,
63,
6564,
11871,
46,
621,
221,
128,
596,
221,
344,
45,
6418,
14166,
3112,
51,
390,
37695,
3078,
21920,
941,
390,
9197,
738,
37695,
625,
365,
630,
6564,
21920,
51,
390,
9197,
738,
37695,
625,
365,
1504,
221,
6017,
10891,
14166,
3112,
51,
390,
37695,
3078,
21920,
941,
11641,
8161,
110,
29291,
365,
630,
6564,
21920,
51,
11641,
8161,
110,
29291,
365,
848,
596,
221,
128,
1397,
221,
7004,
3112,
299,
10891,
14166,
3112,
64,
1397,
221,
7004,
3112,
8048,
299,
14292,
738,
38497,
2509,
1590,
51,
390,
7318,
3112,
45,
17864,
402,
1139,
49,
6418,
14166,
625,
49,
6564,
21920,
312,
1397,
221,
2986,
64,
596,
221,
130,
596,
221,
25798,
2769,
51,
10588,
941,
750,
459,
2117,
451,
341,
5276,
480,
9085,
1348,
2309,
341,
6564,
3112,
742,
621,
221,
130,
374,
221,
130,
2556,
221,
1446,
2608,
299,
6564,
3112,
51,
390,
4234,
4411,
492,
374,
221,
20256,
299,
6564,
3112,
51,
390,
14257,
492,
374,
221,
3633,
299,
6564,
3112,
51,
390,
4234,
10246,
492,
374,
221,
1304,
3656,
299,
6564,
3112,
8048,
51,
22184,
8048,
492,
376,
221,
130,
1332,
221,
344,
327,
1446,
2608,
882,
762,
979,
673,
1446,
2608,
51,
5475,
941,
3591,
34320,
376,
221,
128,
374,
221,
7399,
8783,
986,
120,
299,
1808,
51,
390,
8783,
492,
374,
221,
24655,
51,
1838,
45,
1446,
2608,
51,
19682,
1052,
374,
221,
24655,
51,
9327,
492,
374,
221,
24655,
51,
2698,
492,
374,
221,
620,
762,
64,
376,
221,
130,
1332,
221,
325,
4314,
63,
11575,
2483,
477,
22424,
580,
1200,
331,
17237,
1532,
580,
15495,
1348,
376,
221,
344,
327,
20256,
630,
762,
46,
376,
221,
128,
374,
221,
20256,
299,
332,
3180,
52,
4710,
884,
376,
221,
130,
1332,
221,
2003,
51,
489,
14257,
45,
20256,
312,
376,
221,
2003,
51,
29480,
2396,
45,
1304,
3656,
51,
1340,
312,
376,
221,
2003,
51,
31400,
459,
1795,
50,
30638,
411,
332,
3236,
64,
4891,
29633,
494,
4891,
494,
12377,
742,
376,
221,
4089,
51,
2824,
459,
7476,
391,
9232,
391,
3458,
742,
376,
221,
7399,
8783,
986,
120,
299,
1808,
51,
390,
8783,
492,
376,
221,
24655,
51,
1838,
45,
1304,
3656,
312,
376,
221,
24655,
51,
9327,
492,
376,
221,
24655,
51,
2698,
492,
376,
221,
620,
762,
64,
222,
221,
130,
603,
581,
5255,
11347,
2221,
3112,
1139,
45,
1728,
4815,
8023,
49,
5255,
1260,
2252,
49,
38757,
1343,
49,
28307,
1808,
46,
2589,
3284,
320,
419,
1808,
51,
489,
14257,
459,
897,
52,
935,
742,
376,
221,
1428,
1089,
3112,
1139,
45,
1375,
49,
1808,
51,
390,
3989,
1046,
1527,
49,
1527,
312,
376,
221,
620,
762,
64,
222,
221,
130,
2776,
581,
5255,
11347,
2221,
3112,
3250,
45,
1728,
4815,
8023,
49,
5255,
1260,
2252,
49,
38757,
1343,
49,
28307,
1808,
46,
2589,
3284,
320,
419,
1808,
51,
489,
14257,
459,
897,
52,
935,
742,
376,
221,
1428,
1089,
3112,
1139,
45,
1375,
49,
1808,
51,
390,
3989,
1046,
1886,
49,
1527,
312,
376,
221,
620,
762,
64,
222,
221,
130,
310,
581,
5255,
11347,
2221,
7945,
16958,
13384,
488,
10397,
1202,
45,
1728,
4815,
8023,
49,
5255,
1260,
2252,
49,
38757,
1343,
49,
28307,
1808,
46,
2589,
3284,
320,
419,
1808,
51,
489,
14257,
459,
897,
52,
935,
742,
376,
221,
1428,
1089,
3112,
1139,
45,
1375,
49,
1808,
51,
390,
3989,
1046,
1527,
49,
1886,
312,
376,
221,
620,
762,
64,
222,
221,
130,
416,
310,
581,
782,
764,
1089,
3112,
1139,
45,
18804,
1343,
49,
47163,
986,
49,
4412,
2221,
7945,
16958,
13384,
488,
10397,
1202,
5266,
49,
1922,
2221,
3112,
3250,
5266,
46,
320,
295,
221,
25469,
1139,
12950,
402,
1139,
66,
25469,
1139,
51,
390,
25469,
1139,
1811,
3152,
45,
1375,
312,
10604,
295,
221,
344,
3848,
4386,
1139,
1590,
51,
2057,
30584,
45,
25469,
1139,
51,
390,
25469,
1139,
1811,
3152,
45,
1375,
490,
7302,
337,
561,
411,
332,
119,
411,
762,
509,
320,
1819,
221,
5267,
556,
7344,
1002,
459,
9832,
2147,
7669,
1319,
4648,
337,
561,
13365,
343,
339,
10604,
343,
910,
3714,
100,
1365,
299,
1343,
51,
17745,
459,
1446,
100,
1365,
742,
343,
23239,
11262,
66,
1375,
51,
46090,
492,
27175,
910,
11208,
66,
4343,
478,
13384,
488,
20728,
10793,
1202,
25872,
419,
434,
45,
1446,
100,
1365,
6917,
1710,
979,
3714,
100,
1365,
51,
1340,
15355,
53,
46,
320,
11106,
11208,
66,
1363,
561,
1747,
51,
390,
6447,
7945,
45,
1446,
100,
1365,
312,
547,
41909,
488,
66,
1363,
561,
1747,
51,
390,
6447,
16958,
13384,
488,
45,
6925,
49,
1446,
100,
1365,
312,
547,
434,
45,
478,
13384,
488,
398,
1710,
46,
320,
478,
13384,
488,
25872,
130,
547,
12931,
1202,
66,
1363,
561,
1747,
51,
390,
6447,
10397,
6669,
45,
17864,
402,
1139,
49,
3714,
100,
1365,
312,
419,
339,
12949,
986,
51,
3962,
459,
7842,
10504,
4177,
789,
935,
789,
1843,
789,
2874,
1930,
50,
12483,
1080,
1795,
50,
638,
44,
1813,
1080,
897,
52,
935,
64,
8491,
66,
6266,
50,
61,
13992,
1843,
789,
1561,
13510,
12949,
434,
45,
1090,
7945,
16958,
13384,
488,
10397,
1202,
5266,
46,
320,
547,
434,
45,
4341,
51,
1340,
15355,
53,
46,
244,
320,
733,
986,
51,
3962,
45,
4341,
312,
547,
339,
547,
434,
45,
10793,
1202,
51,
1340,
15355,
53,
46,
547,
320,
733,
986,
51,
3962,
45,
10793,
1202,
5688,
65,
858,
13510,
547,
339,
547,
434,
45,
478,
13384,
488,
51,
1340,
15355,
53,
46,
320,
733,
986,
51,
3962,
45,
478,
13384,
488,
5688,
65,
858,
13510,
547,
339,
419,
339,
12949,
434,
45,
1090,
3112,
3250,
5266,
46,
320,
547,
535,
4234,
2756,
4234,
66,
535,
4234,
1747,
51,
390,
4234,
45,
1446,
100,
1365,
312,
547,
6297,
4775,
5589,
299,
6297,
4775,
51,
390,
4775,
459,
519,
3745,
6061,
411,
11262,
312,
547,
986,
51,
3962,
10379,
858,
33872,
2976,
51,
7080,
459,
105,
893,
51,
2826,
9611,
51,
3112,
9052,
678,
48,
582,
6771,
1556,
4234,
51,
390,
4861,
12964,
1052,
547,
986,
51,
3962,
10379,
858,
33872,
2976,
51,
7080,
459,
105,
893,
51,
2826,
9611,
51,
1795,
9052,
678,
48,
582,
6771,
1556,
4234,
51,
16618,
4861,
1052,
547,
986,
51,
3962,
10379,
858,
33872,
2976,
51,
7080,
459,
105,
893,
51,
2826,
9611,
51,
28619,
1563,
678,
48,
582,
6771,
1556,
4234,
51,
390,
28619,
1563,
1052,
547,
986,
51,
3962,
10379,
858,
33872,
2976,
51,
7080,
459,
105,
893,
51,
2826,
9611,
51,
638,
678,
48,
582,
6771,
1556,
4234,
51,
10276,
1052,
547,
986,
51,
3962,
10379,
858,
33872,
2976,
51,
7080,
459,
105,
893,
51,
2826,
9611,
51,
1359,
678,
48,
582,
6771,
1556,
4234,
51,
390,
4234,
1359,
1052,
547,
986,
51,
3962,
10379,
858,
33872,
2976,
51,
7080,
459,
105,
893,
51,
2826,
9611,
51,
44069,
678,
48,
582,
6771,
1556,
4234,
51,
390,
4234,
1736,
1359,
1052,
547,
986,
51,
3962,
10379,
858,
33872,
2976,
51,
7080,
459,
105,
893,
51,
2826,
9611,
51,
3250,
678,
48,
582,
6771,
1556,
4234,
51,
32844,
1052,
547,
986,
51,
3962,
10379,
858,
33872,
2976,
51,
7080,
459,
105,
893,
51,
2826,
9611,
51,
11147,
678,
48,
582,
6771,
1556,
4234,
51,
390,
11147,
577,
1052,
547,
986,
51,
3962,
10379,
858,
33872,
2976,
51,
7080,
459,
105,
893,
51,
2826,
9611,
51,
39035,
1497,
678,
48,
582,
6771,
1556,
4234,
51,
390,
39035,
1497,
577,
1052,
547,
986,
51,
3962,
10379,
858,
33872,
2976,
51,
7080,
459,
105,
893,
51,
2826,
9611,
51,
23247,
678,
48,
582,
6771,
1556,
4234,
51,
390,
23247,
577,
1052,
547,
986,
51,
3962,
10379,
858,
33872,
2976,
51,
7080,
459,
105,
893,
51,
2826,
9611,
51,
2044,
678,
48,
582,
6771,
1556,
4234,
51,
25518,
1052,
419,
339,
12949,
986,
51,
3962,
33477,
1561,
873,
935,
13510,
376,
221,
560,
51,
9327,
492,
419,
986,
51,
2698,
492,
47826,
339,
499,
221,
942,
5255,
11347,
1035,
24123,
3112,
45,
1728,
4815,
8023,
49,
5255,
1260,
2252,
49,
376,
24867,
38757,
1343,
49,
28307,
1808,
46,
2589,
3284,
222,
221,
128,
1332,
221,
671,
10891,
14166,
2042,
2026,
299,
1343,
51,
17745,
459,
6418,
108,
742,
376,
221,
671,
12950,
402,
2588,
2042,
299,
2681,
3899,
402,
1139,
51,
390,
25469,
1139,
1811,
3152,
45,
1375,
566,
390,
25469,
2588,
2042,
492,
376,
221,
3078,
10891,
14166,
2042,
299,
10891,
14166,
2042,
2026,
882,
762,
1037,
4418,
51,
11824,
45,
6418,
14166,
2042,
2026,
46,
518,
762,
64,
1332,
221,
4386,
1139,
1590,
51,
1999,
1947,
30584,
45,
17864,
402,
2588,
2042,
49,
7344,
1139,
1590,
51,
3230,
49,
10891,
14166,
2042,
49,
7302,
337,
561,
742,
1332,
221,
671,
17237,
2995,
299,
1343,
51,
17745,
459,
4710,
2995,
742,
376,
221,
671,
11221,
299,
1343,
51,
17745,
459,
4710,
577,
742,
376,
221,
671,
22828,
1563,
299,
1343,
51,
17745,
459,
28754,
1563,
742,
376,
221,
671,
1840,
3250,
299,
1343,
51,
17745,
459,
2826,
3250,
742,
376,
221,
671,
3714,
638,
299,
1343,
51,
17745,
459,
1446,
638,
742,
376,
221,
671,
3714,
1359,
299,
1343,
51,
17745,
459,
1446,
1359,
742,
376,
221,
671,
3714,
1736,
1359,
299,
1343,
51,
17745,
459,
1446,
1736,
1359,
742,
376,
221,
671,
1197,
4666,
13885,
299,
1343,
51,
17745,
3367,
459,
4570,
13885,
742,
376,
221,
671,
5535,
625,
54,
299,
1343,
51,
17745,
459,
3941,
625,
742,
376,
221,
671,
1932,
9141,
299,
48391,
4234,
1747,
51,
390,
24123,
3112,
9141,
577,
45,
3941,
625,
54,
49,
17237,
2995,
49,
11221,
312,
310,
2833,
1541,
1563,
299,
7292,
1563,
13392,
51,
30465,
1563,
45,
28754,
1563,
312,
310,
910,
1932,
299,
5127,
310,
4418,
3477,
625,
299,
762,
64,
310,
4418,
1840,
2042,
299,
762,
64,
603,
910,
1275,
299,
327,
671,
46,
1343,
51,
25942,
941,
11383,
459,
514,
742,
603,
453,
434,
341,
1840,
1616,
3654,
347,
341,
1637,
451,
331,
3477,
376,
221,
5756,
1590,
55,
3477,
1590,
299,
16036,
2769,
51,
39497,
45,
5756,
1590,
55,
51,
842,
312,
376,
221,
25469,
1139,
12950,
402,
1139,
244,
299,
2681,
3899,
402,
1139,
51,
390,
25469,
1139,
1811,
3152,
45,
1375,
312,
376,
221,
5756,
2588,
12059,
299,
3477,
1590,
51,
12344,
5756,
402,
5048,
45,
17864,
402,
1139,
49,
12950,
402,
1139,
51,
390,
25469,
2588,
2042,
1052,
376,
221,
344,
45,
612,
882,
762,
979,
12059,
51,
390,
5756,
625,
365,
882,
762,
46,
320,
374,
221,
5801,
625,
299,
12059,
51,
390,
5756,
625,
941,
22777,
492,
376,
221,
130,
1332,
221,
4020,
991,
1932,
991,
299,
2050,
2232,
51,
390,
18104,
991,
45,
1876,
9141,
312,
376,
221,
4412,
3136,
299,
1932,
991,
51,
23061,
11871,
492,
376,
221,
344,
3848,
3146,
46,
376,
221,
128,
374,
221,
4089,
51,
750,
459,
1355,
5320,
391,
5187,
332,
494,
1932,
991,
51,
5175,
365,
494,
332,
391,
12861,
742,
374,
221,
325,
2050,
1616,
666,
7519,
13643,
376,
221,
130,
376,
221,
728,
376,
221,
128,
343,
1614,
343,
320,
15233,
6222,
1840,
299,
556,
6222,
492,
15233,
1840,
51,
489,
5998,
54,
45,
1886,
312,
15233,
1840,
51,
489,
4234,
1359,
45,
1446,
1359,
312,
15233,
1840,
51,
489,
4234,
1736,
1359,
45,
1446,
1736,
1359,
312,
15233,
1840,
51,
489,
39035,
1497,
45,
514,
312,
15233,
1840,
51,
489,
4234,
11147,
45,
514,
312,
15233,
1840,
51,
489,
4234,
3817,
45,
2826,
3250,
312,
15233,
1840,
51,
489,
2573,
12768,
45,
1446,
638,
312,
15233,
1840,
51,
489,
4234,
3633,
45,
10452,
312,
15233,
1840,
51,
489,
2044,
45,
1876,
312,
15233,
1840,
51,
489,
28619,
787,
45,
926,
1563,
312,
15233,
1840,
51,
489,
5756,
625,
45,
5801,
625,
312,
1332,
1485,
1840,
299,
1840,
1201,
51,
4480,
1827,
11576,
14166,
3112,
45,
2826,
49,
1932,
991,
49,
10891,
14166,
2042,
312,
15233,
1840,
2042,
299,
1840,
51,
35778,
2042,
492,
1332,
1485,
434,
45,
4570,
13885,
882,
762,
979,
4666,
13885,
51,
1340,
868,
244,
53,
46,
15233,
320,
35611,
1614,
35611,
320,
621,
1485,
456,
45,
671,
552,
2042,
518,
4666,
13885,
46,
621,
1485,
320,
596,
1485,
6897,
47944,
14507,
12909,
51,
23390,
2588,
47944,
45,
529,
2042,
49,
1840,
2042,
49,
21916,
1413,
768,
51,
23997,
312,
621,
1485,
339,
35611,
339,
35611,
2385,
45,
1002,
503,
46,
35611,
320,
621,
1485,
38226,
2769,
51,
10588,
941,
750,
459,
943,
16375,
391,
6897,
3021,
503,
312,
35611,
339,
15233,
339,
15233,
3136,
299,
878,
64,
343,
339,
343,
2385,
327,
6860,
503,
46,
320,
419,
38226,
2769,
51,
10588,
941,
750,
459,
943,
411,
503,
312,
15233,
3136,
299,
920,
64,
343,
339,
310,
339,
310,
910,
1264,
1551,
299,
3136,
1037,
2681,
2793,
51,
5965,
100,
6696,
518,
2681,
2793,
51,
5965,
100,
13307,
64,
310,
2681,
1728,
51,
688,
32061,
45,
514,
49,
10891,
14166,
2042,
49,
2681,
2793,
51,
8755,
100,
5375,
49,
2681,
2793,
51,
1742,
100,
23997,
49,
24765,
1264,
1551,
49,
327,
2826,
2042,
398,
1710,
6506,
1710,
63,
671,
51,
9169,
45,
2826,
2042,
490,
1343,
51,
390,
7318,
6774,
1046,
11221,
312,
603,
461,
327,
9399,
51,
1828,
11347,
459,
1995,
24123,
4234,
2992,
303,
339,
10232,
581,
5255,
11347,
2221,
24123,
4234,
1983,
1482,
20887,
45,
1728,
4815,
8023,
49,
5255,
1260,
2252,
49,
38757,
1343,
49,
28307,
1808,
46,
2589,
3284,
320,
8060,
221,
344,
3848,
4386,
1139,
1590,
51,
2057,
30584,
45,
25469,
1139,
51,
390,
25469,
1139,
1811,
3152,
45,
1375,
490,
7302,
337,
561,
411,
332,
119,
411,
762,
509,
320,
295,
221,
5267,
556,
7344,
1002,
459,
9832,
2147,
7669,
1319,
4648,
337,
561,
13365,
310,
339,
603,
910,
1957,
2585,
299,
1343,
51,
17745,
459,
1556,
1983,
742,
310,
910,
5535,
625,
299,
1343,
51,
17745,
459,
3941,
625,
742,
310,
910,
17237,
2995,
299,
1343,
51,
17745,
459,
4710,
2995,
742,
310,
910,
17237,
577,
299,
1343,
51,
17745,
459,
4710,
577,
742,
310,
910,
18030,
299,
48391,
4234,
1747,
51,
390,
24123,
3112,
9141,
577,
45,
3941,
625,
49,
17237,
2995,
49,
17237,
577,
312,
310,
23239,
11262,
66,
1375,
51,
46090,
492,
310,
6297,
4775,
5589,
299,
6297,
4775,
51,
390,
4775,
459,
519,
3745,
6061,
411,
11262,
312,
2776,
434,
327,
45056,
630,
762,
46,
320,
343,
1957,
2585,
299,
332,
53,
884,
310,
339,
603,
4418,
20284,
299,
4418,
51,
11824,
45,
45056,
312,
603,
1808,
51,
489,
14257,
459,
3180,
52,
4710,
742,
310,
1808,
51,
31400,
459,
1795,
50,
30638,
411,
332,
3236,
64,
4891,
29633,
494,
17237,
577,
494,
7292,
1563,
13392,
51,
390,
23666,
459,
12727,
50,
2842,
50,
601,
51,
10441,
51,
2861,
51,
441,
678,
494,
4956,
4710,
46148,
2776,
785,
51,
302,
426,
4710,
51,
897,
51,
4710,
51,
20887,
4014,
6600,
4014,
299,
762,
64,
310,
785,
51,
302,
426,
4710,
51,
897,
51,
3112,
1840,
299,
762,
64,
310,
785,
51,
302,
426,
4710,
51,
897,
51,
4710,
51,
20887,
3314,
6201,
299,
762,
64,
603,
1614,
320,
343,
6201,
299,
556,
785,
51,
302,
426,
4710,
51,
897,
51,
4710,
51,
20887,
3314,
45,
14735,
312,
343,
1840,
299,
556,
785,
51,
302,
426,
4710,
51,
897,
51,
3112,
45,
6321,
51,
390,
25331,
1569,
10493,
45,
54,
894,
343,
6600,
4014,
299,
556,
785,
51,
302,
426,
4710,
51,
897,
51,
4710,
51,
20887,
4014,
45,
2826,
49,
1808,
51,
390,
8783,
1052,
1083,
1840,
51,
1693,
492,
343,
6600,
4014,
51,
688,
1983,
45,
8320,
4014,
51,
390,
40789,
1983,
45,
6321,
49,
20284,
894,
6934,
339,
2385,
327,
1002,
557,
46,
320,
343,
1808,
51,
489,
14257,
459,
897,
52,
935,
742,
343,
1808,
51,
390,
3989,
941,
1243,
45,
2976,
51,
7080,
459,
105,
893,
51,
26963,
10114,
51,
750,
402,
33597,
678,
494,
17237,
577,
312,
343,
1808,
51,
390,
3989,
941,
1243,
10379,
858,
33872,
2976,
51,
7080,
459,
105,
893,
51,
26963,
10114,
51,
14968,
9752,
1483,
8714,
12830,
2992,
1083,
38226,
2769,
51,
10588,
941,
750,
459,
943,
411,
557,
312,
310,
339,
8312,
320,
343,
434,
327,
8320,
4014,
882,
762,
46,
320,
419,
6600,
4014,
51,
2698,
492,
343,
339,
343,
434,
327,
2826,
882,
762,
46,
320,
419,
1840,
51,
2698,
492,
343,
339,
343,
434,
327,
6321,
882,
762,
46,
320,
419,
6201,
51,
2698,
492,
343,
339,
310,
339,
603,
461,
762,
64,
303,
339,
465,
581,
5255,
11347,
2540,
24123,
10114,
45,
1728,
4815,
8023,
49,
5255,
1260,
2252,
49,
38757,
1343,
49,
28307,
1808,
46,
2589,
3284,
320,
8060,
221,
344,
3848,
4386,
1139,
1590,
51,
2057,
30584,
45,
25469,
1139,
51,
390,
25469,
1139,
1811,
3152,
45,
1375,
490,
7302,
337,
561,
411,
332,
119,
411,
762,
509,
320,
295,
221,
5267,
556,
7344,
1002,
459,
9832,
2147,
7669,
1319,
4648,
337,
561,
13365,
310,
339,
10578,
310,
910,
5535,
625,
299,
1343,
51,
17745,
459,
3941,
625,
742,
310,
910,
17237,
2995,
299,
1343,
51,
17745,
459,
4710,
2995,
742,
310,
910,
17237,
577,
299,
1343,
51,
17745,
459,
4710,
577,
742,
310,
910,
18030,
299,
48391,
4234,
1747,
51,
390,
24123,
3112,
9141,
577,
45,
3941,
625,
49,
17237,
2995,
49,
17237,
577,
312,
603,
910,
19889,
299,
332,
3180,
52,
4710,
884,
310,
2050,
822,
299,
556,
2050,
45,
14735,
312,
603,
1808,
51,
489,
14257,
45,
20256,
312,
310,
1808,
51,
29480,
2396,
1181,
429,
46,
822,
51,
1340,
1052,
310,
1808,
51,
31400,
459,
1795,
50,
30638,
411,
332,
3236,
64,
4891,
29633,
494,
17237,
577,
494,
12377,
742,
603,
16900,
6989,
342,
28780,
299,
762,
64,
310,
24622,
8783,
986,
120,
299,
1808,
51,
390,
8783,
492,
603,
1614,
320,
1083,
342,
28780,
299,
556,
16900,
6989,
45,
909,
34075,
45,
781,
894,
1083,
1105,
51,
2121,
51,
8381,
51,
735,
51,
2354,
2769,
51,
3014,
45,
3618,
316,
49,
24655,
312,
343,
986,
120,
51,
9327,
492,
15964,
339,
2385,
327,
1002,
503,
46,
320,
343,
38226,
2769,
51,
10588,
941,
750,
459,
943,
411,
503,
312,
310,
339,
8312,
320,
343,
434,
327,
3618,
316,
882,
762,
46,
320,
419,
342,
28780,
51,
2698,
492,
343,
339,
310,
339,
603,
461,
762,
64,
303,
339,
10232,
581,
5255,
11347,
2221,
24123,
4234,
1983,
1482,
1675,
45,
1728,
4815,
8023,
49,
5255,
1260,
2252,
49,
38757,
1343,
49,
28307,
1808,
46,
2589,
3284,
320,
499,
294,
221,
344,
3848,
4386,
1139,
1590,
51,
2057,
30584,
45,
25469,
1139,
51,
390,
25469,
1139,
1811,
3152,
45,
1375,
490,
7302,
337,
561,
411,
332,
119,
411,
762,
509,
320,
295,
221,
5267,
556,
7344,
1002,
459,
9832,
2147,
7669,
1319,
4648,
337,
561,
13365,
310,
339,
10578,
310,
910,
1957,
2585,
299,
1343,
51,
17745,
459,
1556,
1983,
742,
310,
910,
5535,
625,
299,
1343,
51,
17745,
459,
3941,
625,
742,
310,
910,
17237,
2995,
299,
1343,
51,
17745,
459,
4710,
2995,
742,
310,
910,
17237,
577,
299,
1343,
51,
17745,
459,
4710,
577,
742,
603,
434,
327,
45056,
630,
762,
46,
320,
343,
1957,
2585,
299,
332,
53,
884,
310,
339,
603,
16900,
6989,
342,
28780,
299,
762,
64,
310,
24622,
8783,
986,
120,
299,
762,
64,
603,
1614,
320,
343,
4418,
20284,
299,
4418,
51,
11824,
45,
45056,
312,
343,
2050,
29040,
299,
1506,
24123,
2610,
2080,
45,
3941,
625,
49,
17237,
2995,
49,
17237,
577,
49,
20284,
312,
343,
986,
120,
299,
1808,
51,
390,
8783,
492,
1083,
434,
327,
22081,
882,
762,
46,
320,
419,
342,
28780,
299,
556,
16900,
6989,
45,
909,
34075,
45,
22081,
894,
26347,
1808,
51,
489,
14257,
459,
915,
52,
1665,
742,
419,
1808,
51,
31400,
459,
1795,
50,
30638,
411,
332,
3236,
64,
3633,
29633,
494,
17237,
577,
494,
12377,
742,
419,
1105,
51,
2121,
51,
8381,
51,
735,
51,
2354,
2769,
51,
3014,
45,
3618,
316,
49,
24655,
312,
419,
986,
120,
51,
9327,
492,
27175,
339,
832,
320,
419,
4101,
51,
1357,
459,
12019,
391,
10857,
1813,
456,
332,
494,
5535,
625,
494,
13198,
494,
17237,
2995,
494,
13198,
494,
17237,
577,
312,
343,
339,
310,
339,
2385,
327,
1002,
503,
46,
320,
343,
38226,
2769,
51,
10588,
941,
750,
459,
943,
411,
503,
312,
603,
339,
8312,
320,
343,
434,
327,
3618,
316,
882,
762,
46,
320,
419,
342,
28780,
51,
2698,
492,
343,
339,
310,
339,
310,
461,
762,
64,
303,
339,
465,
581,
2050,
1506,
24123,
2610,
2080,
45,
671,
5535,
625,
49,
910,
17237,
2995,
49,
910,
17237,
577,
49,
4418,
1957,
2585,
46,
222,
221,
128,
310,
910,
14959,
4234,
1233,
299,
48391,
4234,
1747,
51,
390,
24123,
3112,
9141,
45,
3941,
625,
49,
17237,
2995,
312,
310,
2050,
1840,
2995,
299,
556,
2050,
45,
26963,
4234,
1233,
312,
310,
2050,
1840,
2610,
2995,
299,
640,
3112,
2610,
2995,
45,
26963,
4234,
1233,
312,
310,
2050,
822,
299,
556,
2050,
45,
2826,
2995,
49,
17237,
577,
312,
603,
1614,
376,
221,
128,
374,
221,
620,
4468,
20887,
1983,
1675,
45,
781,
51,
47905,
1233,
1046,
33757,
51,
390,
45,
2826,
2610,
2995,
51,
47905,
1233,
4269,
5292,
45,
4710,
577,
494,
25848,
494,
1957,
2585,
494,
4956,
1665,
1912,
3127,
1046,
1957,
2585,
312,
376,
221,
130,
310,
2385,
327,
6860,
3377,
74,
46,
376,
221,
128,
374,
221,
25798,
2769,
51,
10588,
941,
750,
459,
7824,
391,
5895,
1536,
655,
1429,
6913,
17237,
1802,
642,
1067,
63,
332,
494,
3377,
74,
51,
7724,
1052,
376,
221,
130,
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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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
]
] | 11,694 | true | 69.863562 | true | true |
ConfigDialog.java | /FileExtraction/Java_unseen/petersalomonsen_frinika/src/com/frinika/global/ConfigDialog.java | /*
* Created on Jun 30, 2007
*
* Copyright (c) 2006-2007 Jens Gulden
*
* http://www.frinika.com
*
* This file is part of Frinika.
*
* Frinika 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.
* Frinika 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 Frinika; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
package com.frinika.global;
import com.frinika.gui.OptionsBinder;
import com.frinika.project.gui.ProjectFrame;
/**
* Dialog to display global configuration.
* The actual form elements are encapsulated in class ConfigDialogPanel.
* @see ConfigDialogPanel
*
* @author Jens Gulden
*/
public class ConfigDialog extends javax.swing.JDialog {
protected ProjectFrame parent;
protected OptionsBinder optionsBinder;
protected boolean hasBeenApplied = false;
/** Creates new form ConfigDialog */
public ConfigDialog(ProjectFrame parent, OptionsBinder optionsBinder) {
super(parent, false);
this.parent = parent;
this.optionsBinder = optionsBinder;
initComponents();
getRootPane().setDefaultButton(buttonOk);
setSize(750, 500);
setLocation(300, 300);
}
public void show() {
optionsBinder.refresh();
super.show();
}
public void ok() {
optionsBinder.update();
parent.repaintViews();
hasBeenApplied = false; // to force re-backup next time
hide();
FrinikaConfig.store();
}
public void apply() {
if (!hasBeenApplied) { // first time applied
optionsBinder.backup();
}
hasBeenApplied = true;
optionsBinder.update();
parent.repaintViews();
}
public void cancel() {
if (hasBeenApplied) {
optionsBinder.restore();
hasBeenApplied = false;
parent.repaintViews();
}
hide();
}
/** 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() {
buttonPanel = new javax.swing.JPanel();
innerButtonPanel = new javax.swing.JPanel();
buttonOk = new javax.swing.JButton();
buttonApply = new javax.swing.JButton();
buttonCancel = new javax.swing.JButton();
setDefaultCloseOperation(javax.swing.WindowConstants.DO_NOTHING_ON_CLOSE);
setTitle("Frinika Configuration");
addWindowListener(new java.awt.event.WindowAdapter() {
public void windowClosing(java.awt.event.WindowEvent evt) {
formWindowClosing(evt);
}
});
innerButtonPanel.setLayout(new java.awt.GridLayout(1, 3, 5, 0));
buttonOk.setText("OK");
buttonOk.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
buttonOkActionPerformed(evt);
}
});
innerButtonPanel.add(buttonOk);
buttonApply.setText("Apply");
buttonApply.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
buttonApplyActionPerformed(evt);
}
});
innerButtonPanel.add(buttonApply);
buttonCancel.setText("Cancel");
buttonCancel.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
buttonCancelActionPerformed(evt);
}
});
innerButtonPanel.add(buttonCancel);
buttonPanel.add(innerButtonPanel);
getContentPane().add(buttonPanel, java.awt.BorderLayout.SOUTH);
pack();
}// </editor-fold>//GEN-END:initComponents
private void formWindowClosing(java.awt.event.WindowEvent evt) {//GEN-FIRST:event_formWindowClosing
cancel();
}//GEN-LAST:event_formWindowClosing
private void buttonOkActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_buttonOkActionPerformed
ok();
}//GEN-LAST:event_buttonOkActionPerformed
private void buttonApplyActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_buttonApplyActionPerformed
apply();
}//GEN-LAST:event_buttonApplyActionPerformed
private void buttonCancelActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_buttonCancelActionPerformed
cancel();
}//GEN-LAST:event_buttonCancelActionPerformed
/**
* @param args the command line arguments
*/
/*
public static void main(String args[]) {
java.awt.EventQueue.invokeLater(new Runnable() {
public void run() {
new ConfigDialog(new javax.swing.JFrame(), true).setVisible(true);
}
});
}
*/
// Variables declaration - do not modify//GEN-BEGIN:variables
private javax.swing.JButton buttonApply;
private javax.swing.JButton buttonCancel;
private javax.swing.JButton buttonOk;
private javax.swing.JPanel buttonPanel;
private javax.swing.JPanel innerButtonPanel;
// End of variables declaration//GEN-END:variables
}
| 5,912 | Java | .java | petersalomonsen/frinika | 13 | 12 | 1 | 2015-11-05T21:19:33Z | 2021-02-13T09:24:23Z | eacfcaf82f9d266eb1d6220928b563cbe59825628ce5246eead6349931b404d0 | [] | [
1127,
222,
338,
6956,
563,
22715,
244,
56,
53,
49,
244,
55,
53,
53,
60,
222,
338,
222,
338,
2657,
327,
104,
46,
244,
55,
53,
53,
59,
50,
55,
53,
53,
60,
990,
1249,
590,
357,
5130,
222,
338,
1676,
338,
1930,
574,
1516,
51,
2197,
285,
13042,
51,
527,
222,
338,
1676,
338,
1369,
822,
458,
1760,
451,
10766,
285,
13042,
51,
222,
338,
1676,
338,
10766,
285,
13042,
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,
499,
338,
10766,
285,
13042,
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,
499,
338,
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
6153,
5062,
1196,
222,
338,
7979,
642,
10766,
285,
13042,
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,
222,
1337,
785,
51,
2197,
285,
13042,
51,
3277,
64,
222,
222,
485,
785,
51,
2197,
285,
13042,
51,
8472,
51,
2045,
18416,
64,
222,
485,
785,
51,
2197,
285,
13042,
51,
2268,
51,
8472,
51,
3214,
2163,
64,
222,
222,
1350,
222,
338,
13695,
391,
2540,
3671,
3505,
51,
222,
338,
906,
4668,
2252,
4725,
904,
30418,
10781,
347,
462,
3395,
3742,
3686,
51,
222,
338,
496,
2987,
3395,
3742,
3686,
222,
338,
222,
338,
496,
2133,
990,
1249,
590,
357,
5130,
222,
588,
222,
942,
462,
3395,
3742,
2041,
3698,
51,
5934,
51,
79,
3742,
320,
21704,
221,
5332,
5426,
2163,
2952,
64,
303,
2532,
11027,
18416,
2089,
18416,
64,
303,
2532,
1922,
1421,
11228,
34186,
299,
920,
64,
2205,
1041,
9308,
556,
2252,
3395,
3742,
588,
303,
581,
3395,
3742,
45,
3214,
2163,
2952,
49,
11027,
18416,
2089,
18416,
46,
320,
310,
2615,
45,
2562,
49,
920,
312,
310,
477,
51,
2562,
299,
2952,
64,
310,
477,
51,
2200,
18416,
299,
2089,
18416,
64,
310,
3238,
8176,
492,
310,
640,
4069,
7586,
941,
27356,
1732,
45,
1654,
7573,
312,
310,
758,
1269,
45,
60,
58,
53,
49,
244,
58,
53,
53,
312,
310,
758,
2941,
45,
56,
53,
53,
49,
244,
56,
53,
53,
312,
303,
339,
2205,
581,
782,
2539,
365,
320,
310,
2089,
18416,
51,
8195,
492,
294,
221,
5282,
51,
2276,
492,
303,
339,
2205,
581,
782,
3847,
365,
320,
310,
2089,
18416,
51,
1896,
492,
310,
2952,
51,
4332,
2043,
12026,
492,
310,
1421,
11228,
34186,
299,
920,
64,
453,
391,
7679,
334,
50,
10196,
2371,
1153,
310,
10618,
492,
310,
221,
6089,
285,
13042,
1081,
51,
2173,
492,
303,
339,
2205,
581,
782,
4894,
365,
320,
310,
434,
1445,
2057,
11228,
34186,
46,
320,
453,
1950,
1153,
9560,
343,
2089,
18416,
51,
10196,
492,
310,
339,
310,
1421,
11228,
34186,
299,
878,
64,
310,
2089,
18416,
51,
1896,
492,
310,
2952,
51,
4332,
2043,
12026,
492,
303,
339,
2205,
581,
782,
8260,
365,
320,
310,
434,
327,
2057,
11228,
34186,
46,
320,
343,
2089,
18416,
51,
11255,
492,
343,
1421,
11228,
34186,
299,
920,
64,
343,
2952,
51,
4332,
2043,
12026,
492,
310,
339,
310,
10618,
492,
303,
339,
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,
13046,
4420,
9143,
325,
7155,
50,
12188,
63,
1683,
8176,
303,
964,
782,
3238,
8176,
365,
320,
310,
3467,
3686,
299,
556,
3698,
51,
5934,
51,
32273,
492,
310,
8287,
1732,
3686,
299,
556,
3698,
51,
5934,
51,
32273,
492,
310,
3467,
7573,
299,
556,
3698,
51,
5934,
51,
32880,
492,
310,
3467,
9913,
299,
556,
3698,
51,
5934,
51,
32880,
492,
310,
3467,
7034,
299,
556,
3698,
51,
5934,
51,
32880,
492,
603,
43312,
4187,
3786,
45,
10775,
51,
5934,
51,
1684,
5238,
51,
1700,
100,
44422,
1410,
100,
586,
100,
18758,
312,
310,
46821,
459,
6089,
285,
13042,
8149,
742,
310,
1035,
15274,
45,
909,
1401,
51,
8236,
51,
1585,
51,
1684,
4433,
365,
320,
343,
581,
782,
3240,
23745,
45,
1874,
51,
8236,
51,
1585,
51,
1684,
1167,
13975,
46,
320,
419,
2252,
1684,
23745,
45,
12000,
312,
343,
339,
310,
1141,
603,
8287,
1732,
3686,
51,
20113,
45,
909,
1401,
51,
8236,
51,
48532,
45,
54,
49,
244,
56,
49,
244,
58,
49,
244,
53,
894,
603,
3467,
7573,
51,
6619,
459,
2966,
742,
310,
3467,
7573,
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,
3467,
7573,
22791,
45,
12000,
312,
343,
339,
310,
1141,
603,
8287,
1732,
3686,
51,
688,
45,
1654,
7573,
312,
603,
3467,
9913,
51,
6619,
459,
9913,
742,
310,
3467,
9913,
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,
3467,
9913,
22791,
45,
12000,
312,
343,
339,
310,
1141,
603,
8287,
1732,
3686,
51,
688,
45,
1654,
9913,
312,
603,
3467,
7034,
51,
6619,
459,
7034,
742,
310,
3467,
7034,
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,
3467,
7034,
22791,
45,
12000,
312,
343,
339,
310,
1141,
603,
8287,
1732,
3686,
51,
688,
45,
1654,
7034,
312,
603,
3467,
3686,
51,
688,
45,
3384,
1732,
3686,
312,
603,
36828,
7586,
941,
688,
45,
1654,
3686,
49,
1401,
51,
8236,
51,
7263,
2362,
51,
3644,
5938,
312,
603,
8928,
492,
303,
28843,
594,
5739,
50,
8727,
47447,
7155,
50,
3298,
63,
1683,
8176,
465,
964,
782,
2252,
1684,
23745,
45,
1874,
51,
8236,
51,
1585,
51,
1684,
1167,
13975,
46,
24167,
7155,
50,
16825,
63,
1585,
100,
618,
1684,
23745,
310,
8260,
492,
303,
28843,
7155,
50,
14388,
63,
1585,
100,
618,
1684,
23745,
465,
964,
782,
3467,
7573,
22791,
45,
1874,
51,
8236,
51,
1585,
51,
18126,
13975,
46,
24167,
7155,
50,
16825,
63,
1585,
100,
1654,
7573,
22791,
310,
3847,
492,
303,
28843,
7155,
50,
14388,
63,
1585,
100,
1654,
7573,
22791,
465,
964,
782,
3467,
9913,
22791,
45,
1874,
51,
8236,
51,
1585,
51,
18126,
13975,
46,
24167,
7155,
50,
16825,
63,
1585,
100,
1654,
9913,
22791,
310,
4894,
492,
303,
28843,
7155,
50,
14388,
63,
1585,
100,
1654,
9913,
22791,
465,
964,
782,
3467,
7034,
22791,
45,
1874,
51,
8236,
51,
1585,
51,
18126,
13975,
46,
24167,
7155,
50,
16825,
63,
1585,
100,
1654,
7034,
22791,
310,
8260,
492,
303,
28843,
7155,
50,
14388,
63,
1585,
100,
1654,
7034,
22791,
2205,
1041,
294,
338,
496,
772,
2194,
341,
2035,
1646,
4228,
294,
588,
303,
1276,
303,
581,
924,
782,
2594,
45,
671,
2194,
9798,
320,
310,
1401,
51,
8236,
51,
37690,
51,
7845,
31312,
45,
909,
18662,
365,
320,
343,
581,
782,
1441,
365,
320,
419,
556,
3395,
3742,
45,
909,
3698,
51,
5934,
51,
79,
2163,
1046,
878,
566,
18215,
45,
1527,
312,
343,
339,
310,
1141,
303,
339,
303,
588,
2205,
453,
19949,
13317,
449,
764,
666,
5370,
325,
7155,
50,
12188,
63,
9605,
303,
964,
3698,
51,
5934,
51,
32880,
3467,
9913,
64,
303,
964,
3698,
51,
5934,
51,
32880,
3467,
7034,
64,
303,
964,
3698,
51,
5934,
51,
32880,
3467,
7573,
64,
303,
964,
3698,
51,
5934,
51,
32273,
3467,
3686,
64,
303,
964,
3698,
51,
5934,
51,
32273,
8287,
1732,
3686,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 1,377 | true | 64.868065 | true | true |
LocalizedMessages.java | /FileExtraction/Java_unseen/asit-asso_extract/extract-task-validation/src/main/java/ch/asit_asso/extract/plugins/validation/LocalizedMessages.java | /*
* Copyright (C) 2017 arx iT
*
* 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 ch.asit_asso.extract.plugins.validation;
import java.io.IOException;
import java.io.InputStream;
import java.util.Collection;
import java.util.HashSet;
import java.util.Properties;
import java.util.Set;
import org.apache.commons.io.IOUtils;
import org.apache.commons.lang3.StringUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* An access to the plugin strings localized in a given language.
*
* @author Yves Grasset
*/
public class LocalizedMessages {
/**
* The language code to use if none has been provided or if the one provided is not available.
*/
private static final String DEFAULT_LANGUAGE = "fr";
/**
* The regular expression that checks if a language code is correctly formatted.
*/
private static final String LOCALE_VALIDATION_PATTERN = "^[a-z]{2}(?:-[A-Z]{2})?$";
/**
* A string with placeholders to build the relative path to the files that holds the strings localized
* in the defined language.
*/
private static final String LOCALIZED_FILE_PATH_FORMAT = "plugins/validation/lang/%s/%s";
/**
* The name of the file that holds the localized application strings.
*/
private static final String MESSAGES_FILE_NAME = "messages.properties";
/**
* The language to use for the messages to the user.
*/
private final String language;
/**
* The writer to the application logs.
*/
private final Logger logger = LoggerFactory.getLogger(LocalizedMessages.class);
/**
* The property file that contains the messages in the local language.
*/
private Properties propertyFile;
/**
* Creates a new localized messages access instance using the default language.
*/
public LocalizedMessages() {
this.loadFile(LocalizedMessages.DEFAULT_LANGUAGE);
this.language = LocalizedMessages.DEFAULT_LANGUAGE;
}
/**
* Creates a new localized messages access instance.
*
* @param languageCode the string that identifies the language to use for the messages to the user
*/
public LocalizedMessages(final String languageCode) {
this.loadFile(languageCode);
this.language = languageCode;
}
/**
* Reads the content of a file in the current language. Fallbacks will be used if the file is not available
* in the current language.
*
* @param filename the name of the file to read
* @return the content of the file, or <code>null</code> if the file could not be read in any compatible language
*/
public final String getFileContent(final String filename) {
if (StringUtils.isBlank(filename) || filename.contains("../")) {
throw new IllegalArgumentException("The filename is invalid.");
}
for (String filePath : this.getFallbackPaths(this.language, filename)) {
try (InputStream fileStream = this.getClass().getClassLoader().getResourceAsStream(filePath)) {
if (fileStream == null) {
continue;
}
return IOUtils.toString(fileStream, "UTF-8");
} catch (IOException exception) {
this.logger.error("The help page could not be loaded.", exception);
}
}
return null;
}
/**
* Obtains a localized string in the current language.
*
* @param key the string that identifies the localized string
* @return the string localized in the current language
*/
public final String getString(final String key) {
if (StringUtils.isBlank(key)) {
throw new IllegalArgumentException("The message key cannot be empty.");
}
return this.propertyFile.getProperty(key);
}
/**
* Reads the file that holds the application strings in a given language. Fallbacks will be used if the
* application string file is not available in the given language.
*
* @param guiLanguage the string that identifies the language to use for the messages to the user
*/
private void loadFile(final String guiLanguage) {
this.logger.debug("Loading the localization file for language {}.", guiLanguage);
if (guiLanguage == null || !guiLanguage.matches(LocalizedMessages.LOCALE_VALIDATION_PATTERN)) {
this.logger.error("The language string \"{}\" is not a valid locale.", guiLanguage);
throw new IllegalArgumentException(String.format("The language code \"%s\" is invalid.", guiLanguage));
}
for (String filePath : this.getFallbackPaths(guiLanguage, LocalizedMessages.MESSAGES_FILE_NAME)) {
try (InputStream languageFileStream = this.getClass().getClassLoader().getResourceAsStream(filePath)) {
if (languageFileStream == null) {
this.logger.debug("Could not find a localization file at \"{}\".", filePath);
continue;
}
this.propertyFile = new Properties();
this.propertyFile.load(languageFileStream);
} catch (IOException exception) {
this.logger.error("Could not load the localization file.");
this.propertyFile = null;
}
}
if (this.propertyFile == null) {
this.logger.error("Could not find any localization file, not even the default.");
throw new IllegalStateException("Could not find any localization file.");
}
this.logger.info("Localized messages loaded.");
}
/**
* Builds a collection of possible paths a localized file to ensure that ne is found even if the
* specific language is not available. As an example, if the language is <code>fr-CH</code>, then the paths
* will be built for <code>fr-CH</code>, <code>fr</code> and the default language (say, <code>en</code>,
* for instance).
*
* @param locale the string that identifies the desired language
* @param filename the name of the localized file
* @return a collection of path strings to try successively to find the desired file
*/
private Collection<String> getFallbackPaths(final String locale, final String filename) {
assert locale != null && locale.matches(LocalizedMessages.LOCALE_VALIDATION_PATTERN) :
"The language code is invalid.";
assert StringUtils.isNotBlank(filename) && !filename.contains("../");
Set<String> pathsList = new HashSet<>();
pathsList.add(String.format(LocalizedMessages.LOCALIZED_FILE_PATH_FORMAT, locale, filename));
if (locale.length() > 2) {
pathsList.add(String.format(LocalizedMessages.LOCALIZED_FILE_PATH_FORMAT, locale.substring(0, 2),
filename));
}
pathsList.add(String.format(LocalizedMessages.LOCALIZED_FILE_PATH_FORMAT, LocalizedMessages.DEFAULT_LANGUAGE,
filename));
return pathsList;
}
}
| 7,696 | Java | .java | asit-asso/extract | 9 | 3 | 41 | 2019-12-11T16:21:16Z | 2024-04-23T16:01:03Z | 7ee2ac4cd7da0aa89c3165208bd1c0aba65e3e1978e01765c23fe45e3b285a3d | [] | [
1127,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
54,
60,
2119,
125,
613,
89,
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,
683,
51,
321,
302,
100,
36966,
51,
8320,
51,
5573,
51,
6523,
64,
222,
222,
485,
1401,
51,
735,
51,
6860,
64,
222,
485,
1401,
51,
735,
51,
6989,
64,
222,
485,
1401,
51,
1058,
51,
2272,
64,
222,
485,
1401,
51,
1058,
51,
17163,
64,
222,
485,
1401,
51,
1058,
51,
3303,
64,
222,
485,
1401,
51,
1058,
51,
903,
64,
222,
485,
1105,
51,
2121,
51,
8381,
51,
735,
51,
2354,
2769,
64,
222,
485,
1105,
51,
2121,
51,
8381,
51,
1600,
56,
51,
15193,
64,
222,
485,
1105,
51,
12172,
57,
111,
51,
3716,
64,
222,
485,
1105,
51,
12172,
57,
111,
51,
19580,
64,
3067,
222,
1350,
222,
338,
2262,
2872,
391,
341,
3985,
5872,
23586,
347,
331,
2716,
2940,
51,
222,
338,
222,
338,
496,
2133,
1432,
4973,
8102,
5485,
222,
588,
222,
942,
462,
7099,
1209,
6389,
320,
465,
1041,
294,
338,
906,
2940,
1361,
391,
813,
434,
4919,
1421,
2602,
3961,
575,
434,
341,
1611,
3961,
458,
666,
3322,
51,
294,
588,
303,
964,
924,
1175,
910,
4050,
100,
34769,
299,
332,
2197,
884,
465,
1041,
294,
338,
906,
10639,
6112,
708,
9378,
434,
331,
2940,
1361,
458,
8487,
14179,
51,
294,
588,
303,
964,
924,
1175,
910,
25711,
74,
100,
45822,
100,
21598,
299,
9053,
96,
102,
50,
127,
8283,
55,
12584,
2823,
25776,
70,
50,
95,
8283,
55,
1770,
33062,
884,
465,
1041,
294,
338,
418,
821,
642,
41281,
391,
1984,
341,
6498,
1536,
391,
341,
2293,
708,
16429,
341,
5872,
23586,
294,
338,
347,
341,
3433,
2940,
51,
294,
588,
303,
964,
924,
1175,
910,
25711,
22674,
100,
3555,
100,
4088,
100,
9309,
299,
332,
5573,
52,
6523,
52,
1600,
9731,
120,
9731,
120,
884,
465,
1041,
294,
338,
906,
655,
451,
341,
822,
708,
16429,
341,
23586,
3039,
5872,
51,
294,
588,
303,
964,
924,
1175,
910,
25591,
17474,
100,
3555,
100,
2491,
299,
332,
6296,
51,
4659,
884,
465,
1041,
294,
338,
906,
2940,
391,
813,
456,
341,
5231,
391,
341,
1275,
51,
294,
588,
303,
964,
1175,
910,
2940,
64,
465,
1041,
294,
338,
906,
7294,
391,
341,
3039,
8831,
51,
294,
588,
303,
964,
1175,
7145,
4101,
299,
21818,
51,
10588,
45,
24210,
6389,
51,
842,
312,
465,
1041,
294,
338,
906,
2821,
822,
708,
4326,
341,
5231,
347,
341,
2212,
2940,
51,
294,
588,
303,
964,
9749,
2821,
991,
64,
17522,
1041,
294,
338,
9308,
331,
556,
23586,
5231,
2872,
1998,
1493,
341,
1263,
2940,
51,
294,
588,
303,
581,
7099,
1209,
6389,
365,
320,
310,
477,
51,
963,
991,
45,
24210,
6389,
51,
5815,
100,
34769,
312,
310,
477,
51,
4210,
299,
7099,
1209,
6389,
51,
5815,
100,
34769,
64,
303,
339,
17522,
1041,
294,
338,
9308,
331,
556,
23586,
5231,
2872,
1998,
51,
294,
338,
294,
338,
496,
772,
2940,
1241,
341,
821,
708,
32607,
341,
2940,
391,
813,
456,
341,
5231,
391,
341,
1275,
294,
588,
303,
581,
7099,
1209,
6389,
45,
3242,
910,
2940,
1241,
46,
320,
310,
477,
51,
963,
991,
45,
4210,
1241,
312,
310,
477,
51,
4210,
299,
2940,
1241,
64,
303,
339,
17522,
1041,
294,
338,
29513,
341,
1813,
451,
331,
822,
347,
341,
1565,
2940,
51,
525,
10061,
120,
1118,
545,
1674,
434,
341,
822,
458,
666,
3322,
294,
338,
347,
341,
1565,
2940,
51,
294,
338,
294,
338,
496,
772,
4891,
341,
655,
451,
341,
822,
391,
1511,
294,
338,
496,
620,
341,
1813,
451,
341,
822,
49,
575,
350,
707,
67,
1710,
396,
707,
67,
434,
341,
822,
3087,
666,
545,
1511,
347,
1364,
13039,
2940,
294,
588,
303,
581,
1175,
910,
40114,
1795,
45,
3242,
910,
4891,
46,
320,
603,
434,
327,
15193,
51,
40481,
45,
3633,
46,
1293,
4891,
51,
4766,
15471,
2152,
320,
343,
1440,
556,
12134,
459,
1338,
4891,
458,
5549,
5377,
310,
339,
603,
456,
327,
671,
18030,
518,
477,
51,
390,
24442,
9648,
45,
597,
51,
4210,
49,
4891,
509,
320,
1083,
1614,
327,
6989,
822,
1880,
299,
477,
51,
9699,
941,
43936,
941,
17633,
40396,
45,
14735,
509,
320,
2125,
434,
327,
781,
1880,
630,
762,
46,
320,
547,
4056,
64,
419,
339,
2125,
461,
4398,
2769,
51,
3127,
45,
781,
1880,
49,
332,
6266,
50,
61,
742,
1083,
339,
2385,
327,
6860,
3773,
46,
320,
419,
477,
51,
4089,
51,
750,
459,
1338,
3071,
1957,
3087,
666,
545,
3906,
4429,
3773,
312,
343,
339,
310,
339,
603,
461,
762,
64,
303,
339,
17522,
1041,
294,
338,
5842,
121,
1928,
331,
23586,
821,
347,
341,
1565,
2940,
51,
294,
338,
294,
338,
496,
772,
1221,
341,
821,
708,
32607,
341,
23586,
821,
294,
338,
496,
620,
341,
821,
23586,
347,
341,
1565,
2940,
294,
588,
303,
581,
1175,
910,
26625,
45,
3242,
910,
1221,
46,
320,
603,
434,
327,
15193,
51,
40481,
45,
697,
509,
320,
343,
1440,
556,
12134,
459,
1338,
1492,
1221,
4897,
545,
3517,
5377,
310,
339,
603,
461,
477,
51,
2449,
991,
51,
12712,
45,
697,
312,
303,
339,
17522,
1041,
294,
338,
29513,
341,
822,
708,
16429,
341,
3039,
5872,
347,
331,
2716,
2940,
51,
525,
10061,
120,
1118,
545,
1674,
434,
341,
294,
338,
3039,
821,
822,
458,
666,
3322,
347,
341,
2716,
2940,
51,
294,
338,
294,
338,
496,
772,
17390,
5980,
341,
821,
708,
32607,
341,
2940,
391,
813,
456,
341,
5231,
391,
341,
1275,
294,
588,
303,
964,
782,
2480,
991,
45,
3242,
910,
17390,
5980,
46,
320,
310,
477,
51,
4089,
51,
2824,
459,
7077,
341,
34821,
822,
456,
2940,
2172,
4429,
17390,
5980,
312,
603,
434,
327,
8472,
5980,
630,
762,
1293,
673,
8472,
5980,
51,
8936,
45,
24210,
6389,
51,
11150,
74,
100,
45822,
100,
21598,
509,
320,
343,
477,
51,
4089,
51,
750,
459,
1338,
2940,
821,
4045,
2561,
1508,
458,
666,
331,
2101,
11262,
4429,
17390,
5980,
312,
343,
1440,
556,
12134,
45,
671,
51,
1664,
459,
1338,
2940,
1361,
25920,
120,
1508,
458,
5549,
4429,
17390,
5980,
894,
310,
339,
603,
456,
327,
671,
18030,
518,
477,
51,
390,
24442,
9648,
45,
8472,
5980,
49,
7099,
1209,
6389,
51,
40131,
100,
3555,
100,
2491,
509,
320,
1083,
1614,
327,
6989,
2940,
35045,
299,
477,
51,
9699,
941,
43936,
941,
17633,
40396,
45,
14735,
509,
320,
2125,
434,
327,
4210,
35045,
630,
762,
46,
320,
547,
477,
51,
4089,
51,
2824,
459,
9752,
666,
2309,
331,
34821,
822,
840,
4045,
2561,
1508,
4429,
18030,
312,
547,
4056,
64,
419,
339,
2125,
477,
51,
2449,
991,
299,
556,
9749,
492,
419,
477,
51,
2449,
991,
51,
963,
45,
4210,
35045,
312,
1083,
339,
2385,
327,
6860,
3773,
46,
320,
419,
477,
51,
4089,
51,
750,
459,
9752,
666,
2480,
341,
34821,
822,
5377,
419,
477,
51,
2449,
991,
299,
762,
64,
343,
339,
310,
339,
603,
434,
327,
597,
51,
2449,
991,
630,
762,
46,
320,
343,
477,
51,
4089,
51,
750,
459,
9752,
666,
2309,
1364,
34821,
822,
49,
666,
4462,
341,
1263,
5377,
343,
1440,
556,
21641,
459,
9752,
666,
2309,
1364,
34821,
822,
5377,
310,
339,
603,
477,
51,
4089,
51,
1357,
459,
24210,
5231,
3906,
5377,
303,
339,
17522,
1041,
294,
338,
37141,
331,
4512,
451,
4222,
7854,
331,
23586,
822,
391,
7197,
708,
1188,
458,
2448,
4462,
434,
341,
294,
338,
2835,
2940,
458,
666,
3322,
51,
2915,
619,
2301,
49,
434,
341,
2940,
458,
350,
707,
67,
2197,
50,
1424,
396,
707,
2731,
1636,
341,
7854,
294,
338,
1118,
545,
6911,
456,
350,
707,
67,
2197,
50,
1424,
396,
707,
2731,
350,
707,
67,
2197,
396,
707,
67,
480,
341,
1263,
2940,
327,
18528,
49,
350,
707,
67,
291,
396,
707,
2731,
294,
338,
456,
1998,
566,
294,
338,
294,
338,
496,
772,
11262,
280,
341,
821,
708,
32607,
341,
10865,
2940,
294,
338,
496,
772,
4891,
341,
655,
451,
341,
23586,
822,
294,
338,
496,
620,
331,
4512,
451,
1536,
5872,
391,
1614,
3136,
8637,
391,
2309,
341,
10865,
822,
294,
588,
303,
964,
7380,
65,
671,
67,
640,
24442,
9648,
45,
3242,
910,
11262,
49,
1175,
910,
4891,
46,
320,
310,
1217,
11262,
882,
762,
979,
11262,
51,
8936,
45,
24210,
6389,
51,
11150,
74,
100,
45822,
100,
21598,
46,
518,
419,
332,
1338,
2940,
1361,
458,
5549,
12984,
310,
1217,
26582,
51,
45421,
45,
3633,
46,
979,
673,
3633,
51,
4766,
15471,
742,
603,
1776,
65,
671,
67,
7854,
739,
299,
556,
14253,
6984,
603,
7854,
739,
51,
688,
45,
671,
51,
1664,
45,
24210,
6389,
51,
11150,
22674,
100,
3555,
100,
4088,
100,
9309,
49,
11262,
49,
4891,
894,
603,
434,
327,
6925,
51,
1340,
365,
868,
244,
55,
46,
320,
343,
7854,
739,
51,
688,
45,
671,
51,
1664,
45,
24210,
6389,
51,
11150,
22674,
100,
3555,
100,
4088,
100,
9309,
49,
11262,
51,
8724,
45,
53,
49,
244,
55,
490,
547,
4891,
894,
310,
339,
603,
7854,
739,
51,
688,
45,
671,
51,
1664,
45,
24210,
6389,
51,
11150,
22674,
100,
3555,
100,
4088,
100,
9309,
49,
7099,
1209,
6389,
51,
5815,
100,
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Test.java | /FileExtraction/Java_unseen/jaytaylor_sql-layer/fdb-sql-layer-core/src/test/java/com/foundationdb/server/rowdata/RowDataTest.java | /**
* Copyright (C) 2009-2013 FoundationDB, LLC
*
* 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.foundationdb.server.rowdata;
import com.foundationdb.ais.model.AkibanInformationSchema;
import com.foundationdb.ais.model.aisb2.AISBBasedBuilder;
import com.foundationdb.server.types.common.types.TypesTranslator;
import com.foundationdb.server.types.mcompat.mtypes.MTypesTranslator;
import com.google.common.base.Strings;
import org.junit.Test;
import java.util.Arrays;
import java.util.List;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;
public final class RowDataTest {
private final TypesTranslator typesTranslator = MTypesTranslator.INSTANCE;
@Test
public void reallocateOnBind() throws ClassNotFoundException {
AkibanInformationSchema ais = AISBBasedBuilder.create(typesTranslator)
.table("myschema", "mytable")
.colInt("id", false)
.colInt("int_0", true)
.colInt("int_1", true)
.colInt("int_2", true)
.colInt("int_3", true)
.colInt("int_4", true)
.colString("bigstring", 500)
.colString("smallstring", 2)
.ais();
List<?> values = Arrays.asList(
1L, // id
null, null, null, null, null, // int_x's
Strings.repeat("a", 476), // bigstring
"hi" // smallstring
);
Object[] valuesArray = values.toArray(new Object[values.size()]);
RowData rowData = new RowData(new byte[500]);
new SchemaFactory().buildRowDefs(ais);
RowDef rowDef = ais.getTable("myschema", "mytable").rowDef();
assertNotNull("RowDef", rowDef);
try {
rowData.createRow(rowDef, valuesArray, false);
fail("expected ArrayIndexOutOfBoundsException");
} catch (ArrayIndexOutOfBoundsException e) {
boolean foundInBind = false;
for (StackTraceElement frame : e.getStackTrace()) {
Class<?> frameClass = Class.forName(frame.getClassName());
if (RowDataTarget.class.isAssignableFrom(frameClass) && "bind".equals(frame.getMethodName())) {
foundInBind = true;
break;
}
}
assertTrue("stack trace didn't include RowDataTarget.bind", foundInBind);
}
}
@Test
public void unsignedWidth() throws ClassNotFoundException {
AkibanInformationSchema ais = AISBBasedBuilder.create(typesTranslator)
.table("myschema", "mytable2")
.colInt("id", false)
.colString("smallstring", 129)
.colString("bigstring", 32769)
.ais();
new SchemaFactory().buildRowDefs(ais);
RowDef rowDef = ais.getTable("myschema", "mytable2").rowDef();
assertNotNull("RowDef", rowDef);
for (int pass = 1; pass <= 2; pass++) {
List<?> values = Arrays.asList((long)pass,
(pass == 1) ? Strings.repeat("x", 128) : null,
(pass == 2) ? Strings.repeat("z", 32768) : null);
Object[] valuesArray = values.toArray(new Object[values.size()]);
RowData rowData = new RowData(new byte[500]);
rowData.createRow(rowDef, valuesArray, true);
assertEquals(String.format("mytable2(%d,%s,%s,)",
valuesArray[0],
(valuesArray[1] != null) ? valuesArray[1] : "",
(valuesArray[2] != null) ? valuesArray[2] : ""),
rowData.toString());
}
}
}
| 4,514 | Java | .java | jaytaylor/sql-layer | 92 | 151 | 1 | 2015-03-25T18:51:56Z | 2015-03-25T18:54:58Z | 0f1081057b6621a9036845b204281a6d13d3465eb9e867a6edd14e92053a9175 | [] | [
1350,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
53,
62,
50,
55,
53,
54,
56,
7120,
2015,
49,
21000,
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,
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,
222,
1337,
785,
51,
19076,
1219,
51,
1805,
51,
661,
624,
64,
222,
222,
485,
785,
51,
19076,
1219,
51,
8161,
51,
1184,
51,
20858,
947,
297,
6609,
3710,
64,
222,
485,
785,
51,
19076,
1219,
51,
8161,
51,
1184,
51,
8161,
103,
55,
51,
70,
1309,
71,
10339,
1812,
64,
222,
485,
785,
51,
19076,
1219,
51,
1805,
51,
2529,
51,
2297,
51,
2529,
51,
2439,
23234,
64,
222,
485,
785,
51,
19076,
1219,
51,
1805,
51,
2529,
51,
114,
8540,
51,
114,
2529,
51,
82,
2439,
23234,
64,
222,
485,
785,
51,
2193,
51,
2297,
51,
1460,
51,
9634,
64,
222,
485,
1105,
51,
3946,
51,
1024,
64,
222,
222,
485,
1401,
51,
1058,
51,
9981,
64,
222,
485,
1401,
51,
1058,
51,
739,
64,
222,
222,
485,
924,
1105,
51,
3946,
51,
3285,
51,
4993,
64,
222,
485,
924,
1105,
51,
3946,
51,
3285,
51,
14765,
64,
222,
485,
924,
1105,
51,
3946,
51,
3285,
51,
6553,
64,
222,
485,
924,
1105,
51,
3946,
51,
3285,
51,
5077,
64,
222,
222,
942,
1175,
462,
5582,
768,
1024,
320,
303,
964,
1175,
13413,
23234,
3756,
23234,
299,
507,
2439,
23234,
51,
12457,
64,
465,
496,
1024,
303,
581,
782,
334,
14942,
1501,
3739,
365,
2589,
1727,
9941,
320,
310,
26892,
947,
297,
6609,
3710,
331,
316,
299,
418,
1309,
71,
10339,
1812,
51,
1315,
45,
2529,
23234,
46,
419,
657,
1292,
459,
1791,
3982,
411,
332,
1791,
1292,
678,
419,
657,
770,
1438,
459,
333,
411,
920,
46,
419,
657,
770,
1438,
459,
429,
100,
53,
411,
878,
46,
419,
657,
770,
1438,
459,
429,
100,
54,
411,
878,
46,
419,
657,
770,
1438,
459,
429,
100,
55,
411,
878,
46,
419,
657,
770,
1438,
459,
429,
100,
56,
411,
878,
46,
419,
657,
770,
1438,
459,
429,
100,
57,
411,
878,
46,
419,
657,
770,
671,
459,
7400,
819,
411,
244,
58,
53,
53,
46,
419,
657,
770,
671,
459,
4901,
819,
411,
244,
55,
46,
419,
657,
8161,
492,
603,
1701,
11667,
2102,
299,
14479,
51,
14100,
45,
372,
54,
81,
49,
453,
828,
419,
762,
49,
762,
49,
762,
49,
762,
49,
762,
49,
453,
648,
100,
125,
1200,
419,
29080,
51,
8116,
459,
102,
411,
244,
57,
60,
59,
490,
453,
6546,
819,
419,
332,
5001,
39,
453,
5562,
819,
310,
1110,
310,
2210,
1197,
2102,
1280,
299,
2102,
51,
14315,
45,
909,
2210,
96,
2857,
51,
911,
36584,
310,
5582,
768,
2720,
768,
299,
556,
5582,
768,
45,
909,
3447,
96,
58,
53,
53,
2004,
603,
556,
9051,
2232,
941,
1848,
2368,
23787,
45,
8161,
312,
310,
5582,
1366,
2720,
1366,
299,
331,
316,
51,
30232,
459,
1791,
3982,
411,
332,
1791,
1292,
1912,
661,
1366,
492,
310,
17141,
459,
2368,
1366,
411,
2720,
1366,
312,
603,
1614,
320,
343,
2720,
768,
51,
1315,
2368,
45,
661,
1366,
49,
2102,
1280,
49,
920,
312,
343,
3562,
459,
3156,
2647,
1301,
35787,
742,
310,
339,
2385,
327,
45849,
35787,
503,
46,
320,
343,
1922,
2448,
402,
3739,
299,
920,
64,
343,
456,
327,
8432,
1325,
3145,
518,
503,
51,
390,
8432,
1177,
320,
419,
1727,
11667,
3145,
1359,
299,
1727,
51,
31918,
45,
1763,
51,
390,
8478,
1052,
419,
434,
327,
2368,
768,
2937,
51,
842,
51,
45162,
45,
1763,
1359,
46,
979,
332,
2555,
2316,
3591,
45,
1763,
51,
390,
21759,
5183,
320,
547,
2448,
402,
3739,
299,
878,
64,
547,
1644,
64,
419,
339,
343,
339,
343,
9396,
459,
3056,
8266,
9085,
1348,
2323,
5582,
768,
2937,
51,
2555,
411,
2448,
402,
3739,
312,
310,
339,
303,
339,
465,
496,
1024,
303,
581,
782,
3638,
2627,
365,
2589,
1727,
9941,
320,
310,
26892,
947,
297,
6609,
3710,
331,
316,
299,
418,
1309,
71,
10339,
1812,
51,
1315,
45,
2529,
23234,
46,
419,
657,
1292,
459,
1791,
3982,
411,
332,
1791,
1292,
55,
678,
419,
657,
770,
1438,
459,
333,
411,
920,
46,
419,
657,
770,
671,
459,
4901,
819,
411,
244,
54,
55,
62,
46,
419,
657,
770,
671,
459,
7400,
819,
411,
244,
56,
55,
60,
59,
62,
46,
419,
657,
8161,
492,
603,
556,
9051,
2232,
941,
1848,
2368,
23787,
45,
8161,
312,
310,
5582,
1366,
2720,
1366,
299,
331,
316,
51,
30232,
459,
1791,
3982,
411,
332,
1791,
1292,
55,
1912,
661,
1366,
492,
310,
17141,
459,
2368,
1366,
411,
2720,
1366,
312,
603,
456,
327,
429,
3119,
299,
244,
54,
64,
3119,
2527,
244,
55,
64,
3119,
2002,
320,
343,
1701,
11667,
2102,
299,
14479,
51,
14100,
1181,
3239,
46,
4634,
49,
12957,
327,
4634,
630,
244,
54,
46,
1037,
29080,
51,
8116,
459,
125,
411,
244,
54,
55,
61,
46,
518,
762,
49,
12957,
327,
4634,
630,
244,
55,
46,
1037,
29080,
51,
8116,
459,
127,
411,
244,
56,
55,
60,
59,
61,
46,
518,
762,
312,
343,
2210,
1197,
2102,
1280,
299,
2102,
51,
14315,
45,
909,
2210,
96,
2857,
51,
911,
36584,
343,
5582,
768,
2720,
768,
299,
556,
5582,
768,
45,
909,
3447,
96,
58,
53,
53,
2004,
1083,
2720,
768,
51,
1315,
2368,
45,
661,
1366,
49,
2102,
1280,
49,
878,
312,
343,
3803,
45,
671,
51,
1664,
459,
1791,
1292,
55,
7846,
105,
9728,
120,
9728,
120,
49,
5742,
10013,
2102,
1280,
96,
53,
636,
10013,
327,
2857,
1280,
96,
54,
98,
882,
762,
46,
1037,
2102,
1280,
96,
54,
98,
518,
4343,
10013,
327,
2857,
1280,
96,
55,
98,
882,
762,
46,
1037,
2102,
1280,
96,
55,
98,
518,
33688,
674,
2720,
768,
51,
3127,
1052,
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,
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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,102 | true | 58.152415 | true | true |
ListQuestionsConfigFacadeServiceImpl.java | /FileExtraction/Java_unseen/sklintyg_webcert/web/src/main/java/se/inera/intyg/webcert/web/service/facade/list/config/ListQuestionsConfigFacadeServiceImpl.java | /*
* Copyright (C) 2024 Inera AB (http://www.inera.se)
*
* This file is part of sklintyg (https://github.com/sklintyg).
*
* sklintyg 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.
*
* sklintyg 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 se.inera.intyg.webcert.web.service.facade.list.config;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import se.inera.intyg.infra.integration.hsatk.model.legacy.AbstractVardenhet;
import se.inera.intyg.infra.integration.hsatk.services.legacy.HsaOrganizationsService;
import se.inera.intyg.webcert.web.service.facade.list.config.dto.*;
import se.inera.intyg.webcert.web.service.facade.list.config.factory.ListFilterConfigFactory;
import se.inera.intyg.webcert.web.service.facade.list.config.factory.TableHeadingFactory;
import se.inera.intyg.webcert.web.service.facade.user.UnitStatisticsDTO;
import se.inera.intyg.webcert.web.service.facade.user.UserStatisticsDTO;
import se.inera.intyg.webcert.web.service.facade.user.UserStatisticsService;
import se.inera.intyg.webcert.web.service.user.WebCertUserService;
import java.util.*;
import java.util.stream.Collectors;
@Service
public class ListQuestionsConfigFacadeServiceImpl implements ListVariableConfigFacadeService {
private static final String TITLE = "Ej hanterade ärenden";
private static final String OPEN_CERTIFICATE_TOOLTIP = "Öppnar intyget och frågan/svaret.";
private static final String SEARCH_CERTIFICATE_TOOLTIP = "Sök efter frågor och svar.";
private static final String DESCRIPTION =
"Nedan visas ej hanterade ärenden, kompletteringsbegäran och administrativa frågor, för den eller de enheter du väljer.";
private static final String EMPTY_LIST_TEXT =
"Det finns inga ohanterade ärenden för den enhet eller de enheter du är inloggad på.";
private static final String RESET_FILTER_TOOLTIP = "Återställ sökfilter för ej hanterade ärenden.";
private final GetStaffInfoFacadeService getStaffInfoFacadeService;
private final UserStatisticsService userStatisticsService;
private final WebCertUserService webCertUserService;
private final HsaOrganizationsService hsaOrganizationsService;
@Autowired
public ListQuestionsConfigFacadeServiceImpl(GetStaffInfoFacadeService getStaffInfoFacadeService,
UserStatisticsService userStatisticsService,
WebCertUserService webCertUserService,
HsaOrganizationsService hsaOrganizationsService) {
this.getStaffInfoFacadeService = getStaffInfoFacadeService;
this.userStatisticsService = userStatisticsService;
this.webCertUserService = webCertUserService;
this.hsaOrganizationsService = hsaOrganizationsService;
}
@Override
public ListConfig get(String unitId) {
return getListConfig(unitId);
}
@Override
public ListConfig update(ListConfig config, String unitId) {
if (!webCertUserService.getUser().isPrivatLakare()) {
updateUnitFilter(config);
updateSignedByFilter(config, unitId);
config.setSecondaryTitle(getSecondaryTitle(unitId));
}
return config;
}
private Optional<ListFilterConfig> getFilterFromId(List<ListFilterConfig> currentFilters, String id) {
return currentFilters
.stream()
.filter((filter) -> filter.getId().equals(id))
.findFirst();
}
private List<ListFilterConfig> removeFilter(ListConfig config, String unit) {
final var currentFilters = config.getFilters();
final Optional<ListFilterConfig> unitFilter = getFilterFromId(currentFilters, unit);
unitFilter.ifPresent(currentFilters::remove);
return currentFilters;
}
private void updateUnitFilter(ListConfig config) {
final List<ListFilterConfig> currentFilters = removeFilter(config, "UNIT");
currentFilters.add(0, getUnitSelect());
}
private void updateSignedByFilter(ListConfig config, String unitId) {
final List<ListFilterConfig> currentFilters = removeFilter(config, "SIGNED_BY");
currentFilters.add(4, getSignedByFilter(unitId));
}
private ListConfig getListConfig(String unit) {
final var config = new ListConfig();
config.setTitle(TITLE);
config.setSecondaryTitle(getSecondaryTitle(unit));
config.setFilters(getFilters(unit));
config.addButtonTooltip(CertificateListItemValueType.OPEN_BUTTON.toString(), OPEN_CERTIFICATE_TOOLTIP);
config.addButtonTooltip(CertificateListItemValueType.SEARCH_BUTTON.toString(), SEARCH_CERTIFICATE_TOOLTIP);
config.addButtonTooltip(CertificateListItemValueType.RESET_BUTTON.toString(), RESET_FILTER_TOOLTIP);
config.setTableHeadings(getTableHeadings());
config.setDescription(DESCRIPTION);
config.setEmptyListText(EMPTY_LIST_TEXT);
config.setShouldUpdateConfigAfterListSearch(true);
return config;
}
private String getSecondaryTitle(String unitId) {
if (unitId.length() == 0 || webCertUserService.getUser().isPrivatLakare()) {
return "Ärenden visas för alla enheter";
}
final var unit = hsaOrganizationsService.getVardenhet(unitId);
return "Ärenden visas för " + unit.getNamn();
}
public TableHeading[] getTableHeadings() {
return new TableHeading[]{
TableHeadingFactory.text(ListColumnType.QUESTION_ACTION),
TableHeadingFactory.text(ListColumnType.SENDER),
TableHeadingFactory.patientInfo(ListColumnType.PATIENT_ID),
TableHeadingFactory.text(ListColumnType.SIGNED_BY),
TableHeadingFactory.date(ListColumnType.SENT_RECEIVED, false),
TableHeadingFactory.forwarded(ListColumnType.FORWARDED, "Visar om ärendet är vidarebefordrat."),
TableHeadingFactory.forwardButton(ListColumnType.FORWARD_CERTIFICATE),
TableHeadingFactory.openButton(ListColumnType.OPEN_CERTIFICATE)
};
}
private List<ListFilterConfig> getFilters(String unit) {
final var filters = new ArrayList<ListFilterConfig>();
filters.add(getUnitFilter());
filters.add(ListFilterConfigFactory.forwardedSelect());
filters.add(ListFilterConfigFactory.questionStatusSelect());
filters.add(ListFilterConfigFactory.senderSelect());
filters.add(getSignedByFilter(unit));
filters.add(ListFilterConfigFactory.defaultPersonId());
filters.add(ListFilterConfigFactory.sentDateRange());
filters.add(ListFilterConfigFactory.orderBy(ListColumnType.SENT_RECEIVED));
filters.add(ListFilterConfigFactory.ascending());
filters.add(ListFilterConfigFactory.pageSize());
return filters;
}
private ListFilterConfig getSignedByFilter(String unit) {
final var savedByList = getStaffInfoFacadeService.get(unit);
final String defaultValue;
if (webCertUserService.getUser().isLakare()) {
defaultValue = getStaffInfoFacadeService.getLoggedInStaffHsaId();
} else {
defaultValue = "SHOW_ALL";
}
return ListFilterConfigFactory.createStaffSelect("SIGNED_BY", "Signerat av", savedByList, defaultValue);
}
private ListFilterConfig getUnitFilter() {
if (webCertUserService.getUser().isPrivatLakare()) {
return getUnitStaticFilter();
}
return getUnitSelect();
}
private ListFilterSelectConfig getUnitSelect() {
return new ListFilterSelectConfig("UNIT", "Enhet", getUnitList());
}
private ListFilterConfig getUnitStaticFilter() {
return new ListFilterSelectConfig("UNIT", webCertUserService.getUser().getValdVardenhet().getId(), Collections.emptyList());
}
private List<ListFilterConfigValue> getUnitList() {
final var loggedInUnit = webCertUserService.getUser().getValdVardenhet();
final var statistics = userStatisticsService.getUserStatistics();
final var subUnits = hsaOrganizationsService.getVardenhet(loggedInUnit.getId()).getMottagningar();
final var list = statistics.getUnitStatistics()
.entrySet()
.stream()
.filter(
(unit) -> subUnits
.stream()
.map(AbstractVardenhet::getId)
.anyMatch(
(subUnitId) -> isMatchedUnit(
subUnitId, unit.getKey()) || isMatchedUnit(loggedInUnit.getId(), unit.getKey()
)
)
)
.sorted(sortUnitFirstAndSubUnitsAlphabetical(loggedInUnit.getId()))
.map(
(unit) -> getUnitSelectOption(unit.getKey(), unit.getValue())
)
.collect(Collectors.toList());
list.add(0, ListFilterConfigValue.create("", getShowAllText(loggedInUnit.getId(), statistics), true));
return list;
}
private String getShowAllText(String unitId, UserStatisticsDTO statistics) {
final var unitStatistic = statistics.getUnitStatistics().get(unitId);
final var totalQuestions = unitStatistic.getQuestionsOnUnit() + unitStatistic.getQuestionsOnSubUnits();
return "Visa alla (" + totalQuestions + ")";
}
private Comparator<Map.Entry<String, UnitStatisticsDTO>> sortUnitFirstAndSubUnitsAlphabetical(String unitId) {
return (o1, o2) -> isMatchedUnit(o1.getKey(), unitId) ? -1
: isMatchedUnit(o2.getKey(), unitId) ? 1 :
hsaOrganizationsService.getVardenhet(o1.getKey()).getNamn()
.compareTo(hsaOrganizationsService.getVardenhet(o2.getKey()).getNamn());
}
private boolean isMatchedUnit(String subUnitId, String unitId) {
return subUnitId.equals(unitId);
}
private ListFilterConfigValue getUnitSelectOption(String unitId, UnitStatisticsDTO unit) {
return ListFilterConfigValue.create(unitId, getUnitText(unitId, unit.getQuestionsOnUnit()), false);
}
private String getUnitText(String unitId, long nbrOfQuestions) {
final var user = webCertUserService.getUser();
final var selectedUnit = user.getValdVardenhet().getId();
final var isSubUnit = !isMatchedUnit(unitId, selectedUnit);
final var text = hsaOrganizationsService.getVardenhet(unitId).getNamn() + " (" + nbrOfQuestions + ')';
return isSubUnit ? "  " + text : text;
}
}
| 11,043 | Java | .java | sklintyg/webcert | 8 | 7 | 25 | 2015-01-26T19:14:02Z | 2024-05-08T15:10:42Z | 26b85c341ba16c28b0d3a25c5e3953797f3825ed06a5bff29f4d316a5f01937d | [] | [
1127,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
55,
57,
719,
3017,
20660,
327,
544,
574,
1516,
51,
285,
3017,
51,
296,
46,
222,
338,
222,
338,
1369,
822,
458,
1760,
451,
3057,
5927,
12705,
327,
662,
574,
951,
51,
527,
52,
2009,
5927,
12705,
566,
222,
338,
222,
338,
3057,
5927,
12705,
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,
3057,
5927,
12705,
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,
244,
1691,
666,
49,
2337,
350,
544,
574,
1516,
51,
10627,
51,
1107,
52,
4205,
28699,
222,
588,
222,
1337,
427,
51,
285,
3017,
51,
429,
12705,
51,
1857,
7007,
51,
1857,
51,
2140,
51,
45659,
51,
687,
51,
1180,
64,
222,
222,
485,
1105,
51,
4140,
51,
9580,
51,
5802,
51,
4341,
51,
10789,
64,
222,
485,
1105,
51,
4140,
51,
19017,
51,
1201,
64,
222,
485,
427,
51,
285,
3017,
51,
429,
12705,
51,
20637,
51,
11623,
51,
3931,
32991,
51,
1184,
51,
18232,
51,
5597,
91,
22449,
10237,
64,
222,
485,
427,
51,
285,
3017,
51,
429,
12705,
51,
20637,
51,
11623,
51,
3931,
32991,
51,
4270,
51,
18232,
51,
77,
2473,
40797,
1201,
64,
222,
485,
427,
51,
285,
3017,
51,
429,
12705,
51,
1857,
7007,
51,
1857,
51,
2140,
51,
45659,
51,
687,
51,
1180,
51,
12292,
7737,
222,
485,
427,
51,
285,
3017,
51,
429,
12705,
51,
1857,
7007,
51,
1857,
51,
2140,
51,
45659,
51,
687,
51,
1180,
51,
5802,
51,
739,
2365,
1081,
2232,
64,
222,
485,
427,
51,
285,
3017,
51,
429,
12705,
51,
1857,
7007,
51,
1857,
51,
2140,
51,
45659,
51,
687,
51,
1180,
51,
5802,
51,
1617,
14537,
2232,
64,
222,
485,
427,
51,
285,
3017,
51,
429,
12705,
51,
1857,
7007,
51,
1857,
51,
2140,
51,
45659,
51,
514,
51,
3024,
13487,
8723,
64,
222,
485,
427,
51,
285,
3017,
51,
429,
12705,
51,
1857,
7007,
51,
1857,
51,
2140,
51,
45659,
51,
514,
51,
1259,
13487,
8723,
64,
222,
485,
427,
51,
285,
3017,
51,
429,
12705,
51,
1857,
7007,
51,
1857,
51,
2140,
51,
45659,
51,
514,
51,
1259,
13487,
1201,
64,
222,
485,
427,
51,
285,
3017,
51,
429,
12705,
51,
1857,
7007,
51,
1857,
51,
2140,
51,
514,
51,
2609,
9625,
29567,
64,
222,
222,
485,
1401,
51,
1058,
7737,
222,
485,
1401,
51,
1058,
51,
2255,
51,
16862,
64,
222,
222,
69,
1201,
222,
942,
462,
1701,
25666,
1081,
19572,
22806,
4584,
1701,
3836,
1081,
19572,
1201,
320,
465,
964,
924,
1175,
910,
35168,
299,
332,
31294,
31052,
410,
1546,
244,
2492,
13973,
291,
884,
303,
964,
924,
1175,
910,
18558,
100,
30543,
44398,
100,
15972,
36340,
299,
332,
32370,
612,
43595,
347,
637,
390,
14446,
4953,
6598,
16136,
52,
2289,
43603,
12984,
303,
964,
924,
1175,
910,
43438,
100,
30543,
44398,
100,
15972,
36340,
299,
332,
88,
45506,
503,
2007,
4953,
6598,
3426,
14446,
328,
887,
12984,
303,
964,
924,
1175,
910,
23339,
299,
310,
332,
83,
337,
297,
3084,
321,
16323,
31052,
410,
1546,
244,
2492,
13973,
291,
49,
27858,
11421,
2070,
28056,
6513,
297,
14446,
22155,
31976,
4953,
6598,
3426,
49,
11194,
5554,
25699,
428,
949,
36842,
6305,
34927,
15062,
284,
12984,
303,
964,
924,
1175,
910,
29390,
100,
4625,
100,
6025,
299,
310,
332,
2150,
43764,
11467,
102,
356,
14628,
410,
1546,
244,
2492,
13973,
291,
11194,
5554,
949,
10237,
25699,
428,
949,
36842,
6305,
21676,
347,
769,
30426,
16087,
12984,
303,
964,
924,
1175,
910,
43522,
100,
13382,
100,
15972,
36340,
299,
332,
163,
251,
410,
289,
24967,
328,
45506,
2049,
11194,
16323,
31052,
410,
1546,
244,
2492,
13973,
291,
12984,
465,
964,
1175,
1408,
27331,
1139,
19572,
1201,
640,
27331,
1139,
19572,
1201,
64,
303,
964,
1175,
2694,
13487,
1201,
1275,
13487,
1201,
64,
303,
964,
1175,
3718,
9625,
29567,
2692,
9625,
29567,
64,
303,
964,
1175,
696,
2473,
40797,
1201,
439,
2473,
40797,
1201,
64,
465,
496,
10789,
303,
581,
1701,
25666,
1081,
19572,
22806,
45,
953,
27331,
1139,
19572,
1201,
640,
27331,
1139,
19572,
1201,
49,
310,
2694,
13487,
1201,
1275,
13487,
1201,
49,
310,
3718,
9625,
29567,
2692,
9625,
29567,
49,
310,
696,
2473,
40797,
1201,
439,
2473,
40797,
1201,
46,
320,
310,
477,
51,
390,
27331,
1139,
19572,
1201,
299,
640,
27331,
1139,
19572,
1201,
64,
310,
477,
51,
514,
13487,
1201,
299,
1275,
13487,
1201,
64,
310,
477,
51,
1857,
9625,
29567,
299,
2692,
9625,
29567,
64,
310,
477,
51,
109,
2473,
40797,
1201,
299,
439,
2473,
40797,
1201,
64,
303,
339,
465,
496,
1806,
303,
581,
1701,
1081,
640,
45,
671,
4220,
625,
46,
320,
310,
461,
40911,
1081,
45,
2260,
625,
312,
303,
339,
465,
496,
1806,
303,
581,
1701,
1081,
1991,
45,
739,
1081,
1377,
49,
910,
4220,
625,
46,
320,
310,
434,
1445,
1857,
9625,
29567,
51,
12226,
941,
316,
12023,
288,
81,
793,
605,
1177,
320,
343,
1991,
3024,
2365,
45,
1180,
312,
343,
1991,
15718,
1103,
2365,
45,
1180,
49,
4220,
625,
312,
343,
1377,
51,
489,
18083,
3188,
45,
390,
18083,
3188,
45,
2260,
625,
894,
310,
339,
310,
461,
1377,
64,
303,
339,
465,
964,
5663,
65,
739,
2365,
1081,
67,
640,
2365,
1811,
625,
45,
739,
65,
739,
2365,
1081,
67,
1565,
11785,
49,
910,
828,
46,
320,
310,
461,
1565,
11785,
343,
657,
2255,
365,
343,
657,
2049,
1181,
2049,
46,
984,
2785,
51,
7068,
941,
3591,
45,
333,
509,
343,
657,
45219,
492,
303,
339,
465,
964,
1701,
65,
739,
2365,
1081,
67,
3365,
2365,
45,
739,
1081,
1377,
49,
910,
4220,
46,
320,
310,
1175,
792,
1565,
11785,
299,
1377,
51,
390,
11785,
492,
310,
1175,
5663,
65,
739,
2365,
1081,
67,
4220,
2365,
299,
640,
2365,
1811,
625,
45,
1719,
11785,
49,
4220,
312,
310,
4220,
2365,
51,
344,
9013,
45,
1719,
11785,
422,
2564,
312,
310,
461,
1565,
11785,
64,
303,
339,
465,
964,
782,
1991,
3024,
2365,
45,
739,
1081,
1377,
46,
320,
310,
1175,
1701,
65,
739,
2365,
1081,
67,
1565,
11785,
299,
3365,
2365,
45,
1180,
49,
332,
14078,
742,
310,
1565,
11785,
51,
688,
45,
53,
49,
640,
3024,
1926,
1052,
303,
339,
4054,
964,
782,
1991,
15718,
1103,
2365,
45,
739,
1081,
1377,
49,
910,
4220,
625,
46,
320,
310,
1175,
1701,
65,
739,
2365,
1081,
67,
1565,
11785,
299,
3365,
2365,
45,
1180,
49,
332,
18496,
100,
6275,
742,
310,
1565,
11785,
51,
688,
45,
57,
49,
640,
15718,
1103,
2365,
45,
2260,
625,
894,
303,
339,
465,
964,
1701,
1081,
40911,
1081,
45,
671,
4220,
46,
320,
310,
1175,
792,
1377,
299,
556,
1701,
1081,
492,
310,
1377,
51,
17359,
45,
13772,
312,
310,
1377,
51,
489,
18083,
3188,
45,
390,
18083,
3188,
45,
2260,
894,
310,
1377,
51,
489,
11785,
45,
390,
11785,
45,
2260,
894,
310,
1377,
51,
688,
1732,
12896,
45,
9546,
12866,
17643,
51,
10937,
100,
15003,
51,
3127,
1046,
18558,
100,
30543,
44398,
100,
15972,
36340,
312,
310,
1377,
51,
688,
1732,
12896,
45,
9546,
12866,
17643,
51,
17884,
100,
15003,
51,
3127,
1046,
43438,
100,
30543,
44398,
100,
15972,
36340,
312,
310,
1377,
51,
688,
1732,
12896,
45,
9546,
12866,
17643,
51,
13879,
100,
15003,
51,
3127,
1046,
43522,
100,
13382,
100,
15972,
36340,
312,
310,
1377,
51,
489,
1617,
7983,
2070,
45,
30232,
7983,
2070,
1052,
310,
1377,
51,
28190,
45,
17519,
312,
310,
1377,
51,
489,
2779,
739,
1049,
45,
13070,
100,
4625,
100,
6025,
312,
310,
1377,
51,
489,
6473,
2346,
1081,
5131,
739,
3209,
45,
1527,
312,
310,
461,
1377,
64,
303,
339,
465,
964,
910,
640,
18083,
3188,
45,
671,
4220,
625,
46,
320,
310,
434,
327,
2260,
625,
51,
1340,
365,
630,
244,
53,
1293,
2692,
9625,
29567,
51,
12226,
941,
316,
12023,
288,
81,
793,
605,
1177,
320,
343,
461,
332,
163,
250,
13973,
291,
3084,
321,
11194,
30299,
949,
36842,
884,
310,
339,
310,
1175,
792,
4220,
299,
439,
2473,
40797,
1201,
51,
390,
91,
22449,
10237,
45,
2260,
625,
312,
310,
461,
332,
163,
250,
13973,
291,
3084,
321,
11194,
332,
494,
4220,
51,
47302,
424,
115,
492,
303,
339,
465,
581,
5565,
14537,
1197,
640,
1617,
7983,
2070,
365,
320,
310,
461,
556,
5565,
14537,
14161,
343,
5565,
14537,
2232,
51,
897,
45,
739,
25347,
51,
36783,
1034,
100,
8755,
490,
343,
5565,
14537,
2232,
51,
897,
45,
739,
25347,
51,
19581,
546,
490,
343,
5565,
14537,
2232,
51,
16976,
1139,
45,
739,
25347,
51,
42074,
21738,
100,
798,
490,
343,
5565,
14537,
2232,
51,
897,
45,
739,
25347,
51,
18496,
100,
6275,
490,
343,
5565,
14537,
2232,
51,
787,
45,
739,
25347,
51,
22256,
100,
27707,
37526,
49,
920,
490,
343,
5565,
14537,
2232,
51,
999,
19827,
45,
739,
25347,
51,
7331,
6110,
10884,
49,
332,
2669,
301,
13996,
244,
2492,
1594,
2145,
21676,
27176,
605,
883,
19420,
17429,
26524,
343,
5565,
14537,
2232,
51,
7563,
1732,
45,
739,
25347,
51,
33115,
100,
30543,
44398,
490,
343,
5565,
14537,
2232,
51,
1693,
1732,
45,
739,
25347,
51,
10937,
100,
30543,
44398,
46,
310,
1487,
303,
339,
465,
964,
1701,
65,
739,
2365,
1081,
67,
640,
11785,
45,
671,
4220,
46,
320,
310,
1175,
792,
10637,
299,
556,
5068,
65,
739,
2365,
1081,
2938,
310,
10637,
51,
688,
45,
390,
3024,
2365,
1052,
310,
10637,
51,
688,
45,
739,
2365,
1081,
2232,
51,
999,
19827,
1926,
1052,
310,
10637,
51,
688,
45,
739,
2365,
1081,
2232,
51,
4610,
1551,
1926,
1052,
310,
10637,
51,
688,
45,
739,
2365,
1081,
2232,
51,
8272,
1926,
1052,
310,
10637,
51,
688,
45,
390,
15718,
1103,
2365,
45,
2260,
894,
310,
10637,
51,
688,
45,
739,
2365,
1081,
2232,
51,
1555,
6016,
625,
1052,
310,
10637,
51,
688,
45,
739,
2365,
1081,
2232,
51,
5948,
48315,
1052,
310,
10637,
51,
688,
45,
739,
2365,
1081,
2232,
51,
14412,
45,
739,
25347,
51,
22256,
100,
27707,
37526,
894,
310,
10637,
51,
688,
45,
739,
2365,
1081,
2232,
51,
46120,
1052,
310,
10637,
51,
688,
45,
739,
2365,
1081,
2232,
51,
23000,
1052,
310,
461,
10637,
64,
303,
339,
465,
964,
1701,
2365,
1081,
640,
15718,
1103,
2365,
45,
671,
4220,
46,
320,
310,
1175,
792,
7533,
1103,
739,
299,
640,
27331,
1139,
19572,
1201,
51,
390,
45,
2260,
312,
310,
1175,
910,
14327,
64,
310,
434,
327,
1857,
9625,
29567,
51,
12226,
941,
316,
81,
793,
605,
1177,
320,
343,
14327,
299,
640,
27331,
1139,
19572,
1201,
51,
390,
25469,
27331,
77,
2473,
625,
492,
310,
339,
832,
320,
343,
14327,
299,
332,
19397,
100,
2335,
884,
310,
339,
310,
461,
1701,
2365,
1081,
2232,
51,
1315,
27331,
1926,
459,
18496,
100,
6275,
411,
332,
23547,
288,
2458,
411,
7533,
1103,
739,
49,
14327,
312,
303,
339,
465,
964,
1701,
2365,
1081,
640,
3024,
2365,
365,
320,
310,
434,
327,
1857,
9625,
29567,
51,
12226,
941,
316,
12023,
288,
81,
793,
605,
1177,
320,
343,
461,
640,
3024,
5983,
2365,
492,
310,
339,
603,
461,
640,
3024,
1926,
492,
303,
339,
465,
964,
1701,
2365,
1926,
1081,
640,
3024,
1926,
365,
320,
310,
461,
556,
1701,
2365,
1926,
1081,
459,
14078,
411,
332,
795,
10237,
411,
640,
3024,
739,
1052,
303,
339,
465,
964,
1701,
2365,
1081,
640,
3024,
5983,
2365,
365,
320,
310,
461,
556,
1701,
2365,
1926,
1081,
459,
14078,
411,
2692,
9625,
29567,
51,
12226,
941,
390,
1420,
105,
91,
22449,
10237,
941,
7068,
1046,
15490,
51,
31447,
1052,
303,
339,
465,
964,
1701,
65,
739,
2365,
1081,
899,
67,
640,
3024,
739,
365,
320,
310,
1175,
792,
12950,
402,
3024,
299,
2692,
9625,
29567,
51,
12226,
941,
390,
1420,
105,
91,
22449,
10237,
492,
310,
1175,
792,
14598,
299,
1275,
13487,
1201,
51,
12226,
13487,
492,
310,
1175,
792,
1381,
13117,
299,
439,
2473,
40797,
1201,
51,
390,
91,
22449,
10237,
45,
17864,
402,
3024,
51,
7068,
4269,
25413,
385,
2159,
43433,
492,
603,
1175,
792,
1168,
299,
14598,
51,
390,
3024,
13487,
365,
343,
657,
24338,
365,
343,
657,
2255,
365,
343,
657,
2049,
45,
419,
327,
2260,
46,
984,
1381,
13117,
547,
657,
2255,
365,
547,
657,
1130,
45,
5597,
91,
22449,
10237,
422,
7068,
46,
547,
657,
1831,
3683,
45,
733,
327,
1133,
3024,
625,
46,
984,
458,
30714,
3024,
45,
1031,
1381,
3024,
625,
49,
4220,
51,
11728,
1177,
1293,
458,
30714,
3024,
45,
17864,
402,
3024,
51,
7068,
1046,
4220,
51,
11728,
365,
733,
848,
547,
848,
343,
848,
343,
657,
11980,
45,
3349,
3024,
3485,
2199,
1736,
13117,
45655,
1599,
45,
17864,
402,
3024,
51,
7068,
5183,
343,
657,
1130,
45,
419,
327,
2260,
46,
984,
640,
3024,
1926,
2846,
45,
2260,
51,
11728,
1046,
4220,
51,
6693,
1177,
343,
848,
343,
657,
6190,
45,
16862,
51,
15341,
1052,
603,
1168,
51,
688,
45,
53,
49,
1701,
2365,
1081,
899,
51,
1315,
13963,
640,
4325,
1947,
1049,
45,
17864,
402,
3024,
51,
7068,
1046,
14598,
490,
878,
894,
603,
461,
1168,
64,
303,
339,
465,
964,
910,
640,
4325,
1947,
1049,
45,
671,
4220,
625,
49,
2694,
13487,
8723,
14598,
46,
320,
310,
1175,
792,
4220,
26513,
299,
14598,
51,
390,
3024,
13487,
941,
390,
45,
2260,
625,
312,
310,
1175,
792,
3410,
25666,
299,
4220,
26513,
51,
390,
25666,
1501,
3024,
365,
494,
4220,
26513,
51,
390,
25666,
1501,
1736,
13117,
492,
310,
461,
332,
2669,
102,
30299,
2903,
494,
3410,
25666,
494,
34305,
303,
339,
465,
964,
34839,
65,
1225,
51,
2717,
65,
671,
49,
7148,
13487,
8723,
2023,
3873,
3024,
3485,
2199,
1736,
13117,
45655,
1599,
45,
671,
4220,
625,
46,
320,
310,
461,
327,
116,
54,
49,
356,
55,
46,
984,
458,
30714,
3024,
45,
116,
54,
51,
11728,
1046,
4220,
625,
46,
1037,
449,
54,
343,
518,
458,
30714,
3024,
45,
116,
55,
51,
11728,
1046,
4220,
625,
46,
1037,
244,
54,
518,
419,
439,
2473,
40797,
1201,
51,
390,
91,
22449,
10237,
45,
116,
54,
51,
11728,
4269,
47302,
424,
115,
365,
547,
657,
23879,
45,
109,
2473,
40797,
1201,
51,
390,
91,
22449,
10237,
45,
116,
55,
51,
11728,
4269,
47302,
424,
115,
1052,
303,
339,
465,
964,
1922,
458,
30714,
3024,
45,
671,
1381,
3024,
625,
49,
910,
4220,
625,
46,
320,
310,
461,
1381,
3024,
625,
51,
3591,
45,
2260,
625,
312,
303,
339,
4054,
964,
1701,
2365,
1081,
899,
640,
3024,
1926,
2846,
45,
671,
4220,
625,
49,
7148,
13487,
8723,
4220,
46,
320,
310,
461,
1701,
2365,
1081,
899,
51,
1315,
45,
2260,
625,
49,
640,
3024,
1049,
45,
2260,
625,
49,
4220,
51,
390,
25666,
1501,
3024,
6198,
920,
312,
303,
339,
465,
964,
910,
640,
3024,
1049,
45,
671,
4220,
625,
49,
1964,
329,
858,
1436,
25666,
46,
320,
310,
1175,
792,
1275,
299,
2692,
9625,
29567,
51,
12226,
492,
310,
1175,
792,
4337,
3024,
299,
1275,
51,
390,
1420,
105,
91,
22449,
10237,
941,
7068,
492,
310,
1175,
792,
458,
1736,
3024,
299,
673,
316,
30714,
3024,
45,
2260,
625,
49,
4337,
3024,
312,
310,
1175,
792,
1367,
299,
439,
2473,
40797,
1201,
51,
390,
91,
22449,
10237,
45,
2260,
625,
566,
47302,
424,
115,
365,
494,
332,
2903,
494,
329,
858,
1436,
25666,
494,
11172,
938,
310,
461,
458,
1736,
3024,
1037,
14238,
28951,
64,
332,
494,
1367,
518,
1367,
64,
303,
339,
222,
222,
130,
222
] | [
[
1,
1,
1,
1,
1,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1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,638 | true | 70.593574 | true | true |
AutoTools.java | /FileExtraction/Java_unseen/FarisaAngeler1337_SigmaNextGen-Client-OpenSources/src/info/sigmaclient/sigma/modules/item/AutoTools.java | package info.sigmaclient.sigma.modules.item;
import info.sigmaclient.sigma.event.player.UpdateEvent;
import info.sigmaclient.sigma.event.player.WindowUpdateEvent;
import info.sigmaclient.sigma.modules.Category;
import info.sigmaclient.sigma.modules.Module;
import net.minecraft.block.BlockState;
import net.minecraft.client.util.InputMappings;
import net.minecraft.item.ItemStack;
import net.minecraft.util.math.BlockRayTraceResult;
import net.minecraft.util.math.RayTraceResult;
import top.fl0wowp4rty.phantomshield.annotations.Native;
public class AutoTools extends Module {
public AutoTools() {
super("AutoTools", Category.Item, "Auto select tools");
}
int oldSlot = -1;
@Override
public void onEnable() {
super.onEnable();
}
@Override
public void onWindowUpdateEvent(WindowUpdateEvent event) {
if(mc.gameSettings.keyBindAttack.pressed && mc.currentScreen == null){
if(mc.objectMouseOver != null){
if(mc.objectMouseOver.getType() == RayTraceResult.Type.BLOCK){
BlockState block = mc.world.getBlockState(((BlockRayTraceResult) mc.objectMouseOver).getPos());
int bestSlot = -1;
float digSpeed = 1;
for(int i = 0;i <= 8;i ++){
ItemStack itemStack = mc.player.inventory.getStackInSlot(i);
float d = itemStack.getDestroySpeed(block);
if(d > digSpeed){
bestSlot = i;
digSpeed = d;
}
}
if(bestSlot != -1){
if(oldSlot == -1)
oldSlot = mc.player.inventory.currentItem;
mc.player.inventory.currentItem = bestSlot;
}
}
}
}else{
if(oldSlot != -1){
mc.player.inventory.currentItem = oldSlot;
oldSlot = -1;
}
}
super.onWindowUpdateEvent(event);
}
@Override
public void onUpdateEvent(UpdateEvent event) {
super.onUpdateEvent(event);
}
}
| 2,214 | Java | .java | FarisaAngeler1337/SigmaNextGen-Client-OpenSources | 9 | 2 | 0 | 2024-04-03T10:17:03Z | 2024-04-03T15:44:34Z | 36d3f81ed4cbff2648215a8bb785f0548e7074d5abf4fe91adad010a4cfb0ba7 | [] | [
1337,
3116,
51,
5037,
4246,
844,
51,
11936,
51,
3490,
51,
1113,
64,
222,
222,
485,
3116,
51,
5037,
4246,
844,
51,
11936,
51,
1585,
51,
3857,
51,
2346,
1167,
64,
222,
485,
3116,
51,
5037,
4246,
844,
51,
11936,
51,
1585,
51,
3857,
51,
1684,
2346,
1167,
64,
222,
485,
3116,
51,
5037,
4246,
844,
51,
11936,
51,
3490,
51,
4236,
64,
222,
485,
3116,
51,
5037,
4246,
844,
51,
11936,
51,
3490,
51,
2478,
64,
222,
485,
3723,
51,
8654,
51,
1540,
51,
30514,
64,
222,
485,
3723,
51,
8654,
51,
1598,
51,
1058,
51,
1630,
18504,
64,
222,
485,
3723,
51,
8654,
51,
1113,
51,
26022,
64,
222,
485,
3723,
51,
8654,
51,
1058,
51,
3851,
51,
2246,
13788,
4804,
1413,
64,
222,
485,
3723,
51,
8654,
51,
1058,
51,
3851,
51,
13788,
4804,
1413,
64,
222,
485,
2687,
51,
1326,
53,
23747,
117,
57,
119,
637,
51,
39704,
8743,
51,
8839,
51,
6137,
64,
499,
222,
942,
462,
7998,
7926,
2041,
7716,
320,
303,
581,
7998,
7926,
365,
320,
310,
2615,
459,
4754,
7926,
411,
9954,
51,
1114,
49,
332,
4754,
2209,
8699,
742,
303,
339,
303,
648,
3627,
9493,
299,
449,
54,
64,
303,
496,
1806,
303,
581,
782,
563,
6601,
365,
320,
310,
2615,
51,
286,
6601,
492,
303,
339,
465,
496,
1806,
303,
581,
782,
563,
1684,
2346,
1167,
45,
1684,
2346,
1167,
1708,
46,
320,
310,
434,
45,
6070,
51,
3642,
2977,
51,
697,
3739,
13321,
51,
21049,
979,
16544,
51,
1719,
4627,
630,
762,
1528,
343,
434,
45,
6070,
51,
1491,
6042,
3980,
882,
762,
1528,
419,
434,
45,
6070,
51,
1491,
6042,
3980,
51,
10276,
365,
630,
23459,
4804,
1413,
51,
638,
51,
10326,
1528,
547,
6579,
1095,
2181,
299,
16544,
51,
5879,
51,
25641,
1095,
7738,
2246,
13788,
4804,
1413,
46,
16544,
51,
1491,
6042,
3980,
566,
390,
3010,
1052,
547,
648,
5318,
9493,
299,
449,
54,
64,
547,
1916,
7371,
8186,
299,
244,
54,
64,
547,
456,
45,
429,
613,
299,
244,
53,
64,
110,
2527,
244,
61,
64,
110,
3323,
1528,
733,
26657,
1641,
3131,
299,
16544,
51,
3857,
51,
12944,
51,
390,
3131,
402,
9493,
45,
110,
312,
733,
1916,
362,
299,
1641,
3131,
51,
390,
9413,
8186,
45,
1540,
312,
733,
434,
45,
105,
868,
7371,
8186,
1528,
1031,
5318,
9493,
299,
613,
64,
1031,
7371,
8186,
299,
362,
64,
733,
339,
547,
339,
547,
434,
45,
8888,
9493,
882,
449,
54,
1528,
733,
434,
45,
1477,
9493,
630,
449,
54,
46,
1031,
3627,
9493,
299,
16544,
51,
3857,
51,
12944,
51,
47872,
64,
733,
16544,
51,
3857,
51,
12944,
51,
47872,
299,
5318,
9493,
64,
547,
339,
419,
339,
343,
339,
310,
339,
728,
128,
343,
434,
45,
1477,
9493,
882,
449,
54,
1528,
419,
16544,
51,
3857,
51,
12944,
51,
47872,
299,
3627,
9493,
64,
419,
3627,
9493,
299,
449,
54,
64,
343,
339,
310,
339,
310,
2615,
51,
286,
1684,
2346,
1167,
45,
1585,
312,
303,
339,
465,
496,
1806,
303,
581,
782,
48663,
1167,
45,
2346,
1167,
1708,
46,
320,
310,
2615,
51,
286,
2346,
1167,
45,
1585,
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,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1,
1,
1,
1
]
] | 523 | true | 56.458898 | true | true |
ApiKeyResource.java | /FileExtraction/Java_unseen/ICIJ_datashare/datashare-app/src/main/java/org/icij/datashare/web/ApiKeyResource.java | package org.icij.datashare.web;
import com.google.inject.Inject;
import com.google.inject.Singleton;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.Parameter;
import io.swagger.v3.oas.annotations.enums.ParameterIn;
import io.swagger.v3.oas.annotations.media.Content;
import io.swagger.v3.oas.annotations.media.ExampleObject;
import io.swagger.v3.oas.annotations.responses.ApiResponse;
import net.codestory.http.Context;
import net.codestory.http.annotations.*;
import net.codestory.http.payload.Payload;
import org.icij.datashare.tasks.TaskFactory;
import org.icij.datashare.user.User;
import java.util.HashMap;
import static net.codestory.http.payload.Payload.ok;
@Singleton
@Prefix("/api/key")
public class ApiKeyResource {
private final TaskFactory taskFactory;
@Inject
public ApiKeyResource(TaskFactory taskFactory) {
this.taskFactory = taskFactory;
}
@Operation(description = "Preflight for key management")
@ApiResponse(responseCode = "200", description="returns OPTIONS, GET, PUT and DELETE")
@Options("/:userId")
public Payload createKey(@Parameter(name="userId", description="user identifier", in = ParameterIn.PATH) String userId) {
return ok().withAllowMethods("OPTIONS", "GET", "PUT", "DELETE");
}
@Operation(description = "Creates a new private key and saves its SHA384 hash into database for current user. Only available in SERVER mode.")
@ApiResponse(responseCode = "201", description = "returns the api key JSON",
content = { @Content(examples = { @ExampleObject(value="{\"apiKey\":\"SrcasvUmaAD6NsZ3+VmUkFFWVfRggIRNmWR5aHx7Kfc=\"}")})})
@Put("/:userId")
public Payload createKey(@Parameter(name = "userId", description = "user identifier", in = ParameterIn.PATH) String userId, Context context) throws Exception {
return new Payload("application/json", new HashMap<String, String>() {{
put("apiKey", taskFactory.createGenApiKey(new User(userId)).call());
}},201);
}
@Operation(description = "Get the private key for an existing user. Only available in SERVER mode.")
@ApiResponse(responseCode = "200", description = "returns the hashed key JSON",
content = { @Content(examples = { @ExampleObject(value="{\"hashedKey\":\"c3e7766f7605659f2b97f2a6f5bcf34611997fc31173931eefcea91df1b465ffe35c2b9b4b91e8bbe2eec3730ce2a74a\"}")})})
@Get("/:userId")
public Payload getKey(@Parameter(name = "userId", description = "user identifier", in = ParameterIn.PATH) String userId) throws Exception{
return new Payload("application/json", new HashMap<String, String>() {{
put("hashedKey", taskFactory.createGetApiKey(new User(userId)).call());
}},200);
}
@Operation(description = "Deletes an apikey for current user. Only available in SERVER mode.")
@ApiResponse(responseCode = "204", description = "when key has been deleted")
@Delete("/:userId")
public Payload deleteKey(@Parameter(name = "userId", description = "user identifier", in = ParameterIn.PATH) String userId,Context context) throws Exception {
taskFactory.createDelApiKey(new User(userId)).call();
return new Payload(204);
}
}
| 3,244 | Java | .java | ICIJ/datashare | 548 | 50 | 20 | 2016-04-20T07:52:07Z | 2024-05-06T09:38:16Z | b18bdb8c07a2b2702035d0e23e2f11f059552b579eb881de962a5b9fe3ea9457 | [] | [
1337,
1105,
51,
314,
5807,
51,
2923,
936,
605,
51,
1857,
64,
222,
222,
485,
785,
51,
2193,
51,
10287,
51,
8836,
64,
222,
485,
785,
51,
2193,
51,
10287,
51,
15948,
64,
222,
485,
3377,
51,
13166,
51,
123,
56,
51,
116,
321,
51,
8839,
51,
3786,
64,
222,
485,
3377,
51,
13166,
51,
123,
56,
51,
116,
321,
51,
8839,
51,
3026,
64,
222,
485,
3377,
51,
13166,
51,
123,
56,
51,
116,
321,
51,
8839,
51,
20767,
51,
3026,
402,
64,
222,
485,
3377,
51,
13166,
51,
123,
56,
51,
116,
321,
51,
8839,
51,
3453,
51,
1795,
64,
222,
485,
3377,
51,
13166,
51,
123,
56,
51,
116,
321,
51,
8839,
51,
3453,
51,
5306,
976,
64,
222,
485,
3377,
51,
13166,
51,
123,
56,
51,
116,
321,
51,
8839,
51,
18248,
51,
30630,
64,
222,
485,
3723,
51,
707,
13514,
51,
544,
51,
1237,
64,
222,
485,
3723,
51,
707,
13514,
51,
544,
51,
8839,
7737,
222,
485,
3723,
51,
707,
13514,
51,
544,
51,
6272,
51,
7939,
64,
222,
485,
1105,
51,
314,
5807,
51,
2923,
936,
605,
51,
8255,
51,
2265,
2232,
64,
222,
485,
1105,
51,
314,
5807,
51,
2923,
936,
605,
51,
514,
51,
1259,
64,
222,
222,
485,
1401,
51,
1058,
51,
8263,
64,
222,
222,
485,
924,
3723,
51,
707,
13514,
51,
544,
51,
6272,
51,
7939,
51,
1273,
64,
222,
222,
69,
15948,
222,
69,
5429,
4229,
1256,
52,
697,
678,
222,
942,
462,
8065,
971,
2305,
320,
303,
964,
1175,
4211,
2232,
2918,
2232,
64,
465,
496,
8836,
303,
581,
8065,
971,
2305,
45,
2265,
2232,
2918,
2232,
46,
320,
310,
477,
51,
2810,
2232,
299,
2918,
2232,
64,
303,
339,
465,
496,
3786,
45,
2328,
299,
332,
15365,
2447,
456,
1221,
11151,
678,
303,
496,
30630,
45,
2003,
1241,
299,
332,
55,
53,
53,
411,
3066,
366,
3268,
37440,
49,
6281,
49,
24516,
480,
14798,
678,
303,
496,
2045,
4229,
63,
9073,
678,
303,
581,
28607,
1506,
971,
4810,
3026,
45,
444,
366,
9073,
411,
3066,
366,
514,
7262,
411,
347,
299,
10922,
402,
51,
4088,
46,
910,
10546,
46,
320,
310,
461,
3847,
941,
1814,
6679,
8898,
459,
15966,
411,
332,
2804,
411,
332,
4758,
411,
332,
6698,
742,
303,
339,
465,
496,
3786,
45,
2328,
299,
332,
25991,
331,
556,
964,
1221,
480,
30030,
2840,
11856,
56,
61,
57,
3696,
2012,
3520,
456,
1565,
1275,
51,
9303,
3322,
347,
28325,
2945,
7164,
303,
496,
30630,
45,
2003,
1241,
299,
332,
55,
53,
54,
411,
3066,
299,
332,
3268,
341,
4142,
1221,
3411,
411,
343,
1813,
299,
320,
496,
1795,
45,
7944,
299,
320,
496,
5306,
976,
45,
872,
15469,
1508,
25599,
8832,
8564,
321,
123,
90,
954,
1208,
59,
10976,
95,
56,
48,
14233,
30510,
1158,
23207,
107,
87,
6487,
3914,
19511,
2607,
58,
102,
39319,
60,
80,
3526,
4097,
8531,
1770,
1770,
303,
496,
9278,
4229,
63,
9073,
678,
303,
581,
28607,
1506,
971,
4810,
3026,
45,
444,
299,
332,
9073,
411,
3066,
299,
332,
514,
7262,
411,
347,
299,
10922,
402,
51,
4088,
46,
910,
10546,
49,
7063,
1637,
46,
2589,
3284,
320,
310,
461,
556,
28607,
459,
3180,
52,
1279,
411,
556,
8329,
65,
671,
49,
910,
6939,
3351,
343,
4180,
459,
25599,
411,
2918,
2232,
51,
1315,
5154,
23972,
45,
909,
2694,
45,
9073,
3445,
1872,
1052,
310,
26690,
55,
53,
54,
312,
303,
339,
465,
496,
3786,
45,
2328,
299,
332,
953,
341,
964,
1221,
456,
619,
4917,
1275,
51,
9303,
3322,
347,
28325,
2945,
7164,
303,
496,
30630,
45,
2003,
1241,
299,
332,
55,
53,
53,
411,
3066,
299,
332,
3268,
341,
38583,
1221,
3411,
411,
343,
1813,
299,
320,
496,
1795,
45,
7944,
299,
320,
496,
5306,
976,
45,
872,
15469,
1508,
46457,
971,
8832,
104,
56,
106,
60,
60,
59,
59,
107,
60,
59,
53,
58,
59,
58,
62,
107,
55,
103,
62,
60,
107,
55,
102,
59,
107,
58,
30475,
56,
57,
59,
54,
54,
62,
62,
60,
3526,
56,
54,
54,
60,
56,
62,
56,
54,
1310,
25745,
102,
62,
54,
1519,
54,
103,
57,
59,
58,
11669,
56,
58,
104,
55,
103,
62,
103,
57,
103,
62,
54,
106,
61,
30385,
55,
39354,
56,
60,
56,
53,
388,
55,
102,
60,
57,
102,
1508,
8531,
1770,
1770,
303,
496,
953,
4229,
63,
9073,
678,
303,
581,
28607,
39774,
4810,
3026,
45,
444,
299,
332,
9073,
411,
3066,
299,
332,
514,
7262,
411,
347,
299,
10922,
402,
51,
4088,
46,
910,
10546,
46,
2589,
3284,
128,
310,
461,
556,
28607,
459,
3180,
52,
1279,
411,
556,
8329,
65,
671,
49,
910,
6939,
3351,
343,
4180,
459,
46457,
971,
411,
2918,
2232,
51,
1315,
953,
23972,
45,
909,
2694,
45,
9073,
3445,
1872,
1052,
310,
26690,
55,
53,
53,
312,
303,
339,
465,
496,
3786,
45,
2328,
299,
332,
37011,
619,
4142,
697,
456,
1565,
1275,
51,
9303,
3322,
347,
28325,
2945,
7164,
303,
496,
30630,
45,
2003,
1241,
299,
332,
55,
53,
57,
411,
3066,
299,
332,
6045,
1221,
1421,
2602,
8133,
678,
303,
496,
3422,
4229,
63,
9073,
678,
303,
581,
28607,
3081,
971,
4810,
3026,
45,
444,
299,
332,
9073,
411,
3066,
299,
332,
514,
7262,
411,
347,
299,
10922,
402,
51,
4088,
46,
910,
10546,
49,
1237,
1637,
46,
2589,
3284,
320,
310,
2918,
2232,
51,
1315,
3752,
23972,
45,
909,
2694,
45,
9073,
3445,
1872,
492,
310,
461,
556,
28607,
45,
55,
53,
57,
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,
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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
]
] | 910 | true | 69.32799 | true | true |
JSObject.java | /FileExtraction/Java_unseen/ynsn_nashorn/src/main/java/jdk/nashorn/api/scripting/JSObject.java | /*
* Copyright (c) 2010, 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 jdk.nashorn.api.scripting;
import java.util.Collection;
import java.util.Collections;
import java.util.Set;
/**
* This is the base class for nashorn ScriptObjectMirror class.
*
* This class can also be subclassed by an arbitrary Java class. Nashorn will
* treat objects of such classes just like nashorn script objects. Usual nashorn
* operations like obj[i], obj.foo, obj.func(), delete obj.foo will be glued
* to appropriate method call of this class.
*/
public abstract class JSObject {
/**
* Call this object as a JavaScript function. This is equivalent to
* 'func.apply(thiz, args)' in JavaScript.
*
* @param thiz 'this' object to be passed to the function
* @param args arguments to method
* @return result of call
*/
public Object call(Object thiz, Object... args) {
throw new UnsupportedOperationException("call");
}
/**
* Call this 'constructor' JavaScript function to create a new object.
* This is equivalent to 'new func(arg1, arg2...)' in JavaScript.
*
* @param args arguments to method
* @return result of constructor call
*/
public Object newObject(Object... args) {
throw new UnsupportedOperationException("newObject");
}
/**
* Evaluate a JavaScript expression.
*
* @param s JavaScript expression to evaluate
* @return evaluation result
*/
public Object eval(String s) {
throw new UnsupportedOperationException("eval");
}
/**
* Call a JavaScript function member of this object.
*
* @param name name of the member function to call
* @param args arguments to be passed to the member function
* @return result of call
*/
public Object callMember(String name, Object... args) {
throw new UnsupportedOperationException("call");
}
/**
* Retrieves a named member of this JavaScript object.
*
* @param name of member
* @return member
*/
public Object getMember(String name) {
return null;
}
/**
* Retrieves an indexed member of this JavaScript object.
*
* @param index index slot to retrieve
* @return member
*/
public Object getSlot(int index) {
return null;
}
/**
* Does this object have a named member?
*
* @param name name of member
* @return true if this object has a member of the given name
*/
public boolean hasMember(String name) {
return false;
}
/**
* Does this object have a indexed property?
*
* @param slot index to check
* @return true if this object has a slot
*/
public boolean hasSlot(int slot) {
return false;
}
/**
* Remove a named member from this JavaScript object
*
* @param name name of the member
*/
public void removeMember(String name) {
}
/**
* Set a named member in this JavaScript object
*
* @param name name of the member
* @param value value of the member
*/
public void setMember(String name, Object value) {
}
/**
* Set an indexed member in this JavaScript object
*
* @param index index of the member slot
* @param value value of the member
*/
public void setSlot(int index, Object value) {
}
// property and value iteration
/**
* Returns the set of all property names of this object.
*
* @return set of property names
*/
@SuppressWarnings("unchecked")
public Set<String> keySet() {
return Collections.EMPTY_SET;
}
/**
* Returns the set of all property values of this object.
*
* @return set of property values.
*/
@SuppressWarnings("unchecked")
public Collection<Object> values() {
return Collections.EMPTY_SET;
}
// JavaScript instanceof check
/**
* Checking whether the given object is an instance of 'this' object.
*
* @param instance instace to check
* @return true if the given 'instance' is an instance of this 'function' object
*/
public boolean isInstance(final Object instance) {
return false;
}
/**
* Checking whether this object is an instance of the given 'clazz' object.
*
* @param clazz clazz to check
* @return true if this object is an instance of the given 'clazz'
*/
public boolean isInstanceOf(final Object clazz) {
if (clazz instanceof JSObject) {
return ((JSObject)clazz).isInstance(this);
}
return false;
}
/**
* ECMA [[Class]] property
*
* @return ECMA [[Class]] property value of this object
*/
public String getClassName() {
return getClass().getName();
}
/**
* Is this a function object?
*
* @return if this mirror wraps a ECMAScript function instance
*/
public boolean isFunction() {
return false;
}
/**
* Is this a 'use strict' function object?
*
* @return true if this mirror represents a ECMAScript 'use strict' function
*/
public boolean isStrictFunction() {
return false;
}
/**
* Is this an array object?
*
* @return if this mirror wraps a ECMAScript array object
*/
public boolean isArray() {
return false;
}
}
| 6,600 | Java | .java | ynsn/nashorn | 28 | 12 | 2 | 2014-12-15T16:21:26Z | 2018-06-28T16:11:09Z | 9a4b04a8efbea8d237368bb9fbe62f6029968d72dbedec6dec3b146242dadc6c | [] | [
1127,
222,
338,
2657,
327,
104,
46,
244,
55,
53,
54,
53,
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,
614,
4532,
51,
115,
936,
6164,
51,
1256,
51,
1442,
318,
64,
222,
222,
485,
1401,
51,
1058,
51,
2272,
64,
222,
485,
1401,
51,
1058,
51,
4293,
64,
222,
485,
1401,
51,
1058,
51,
903,
64,
222,
222,
1350,
222,
338,
1369,
458,
341,
1712,
462,
456,
329,
936,
6164,
10293,
976,
21246,
462,
51,
222,
338,
222,
338,
1369,
462,
902,
2353,
545,
1381,
592,
12160,
829,
619,
16948,
4957,
462,
51,
508,
936,
6164,
1118,
222,
338,
17628,
4706,
451,
3774,
6052,
2277,
2144,
329,
936,
6164,
3273,
4706,
51,
6163,
1050,
329,
936,
6164,
222,
338,
7392,
2144,
2847,
96,
110,
636,
2847,
51,
4003,
49,
2847,
51,
1316,
1046,
3081,
2847,
51,
4003,
1118,
545,
3978,
8410,
222,
338,
391,
9150,
1431,
1495,
451,
477,
462,
51,
222,
588,
222,
942,
5560,
462,
7761,
976,
320,
303,
1041,
294,
338,
5654,
477,
1319,
641,
331,
9661,
686,
51,
1369,
458,
13765,
391,
294,
338,
349,
1316,
51,
4740,
45,
368,
445,
49,
2194,
9939,
347,
9661,
51,
294,
338,
294,
338,
496,
772,
379,
445,
349,
597,
44,
1319,
391,
545,
5424,
391,
341,
686,
294,
338,
496,
772,
2194,
4228,
391,
1431,
294,
338,
496,
620,
1074,
451,
1495,
294,
588,
303,
581,
2210,
1495,
45,
976,
379,
445,
49,
2210,
1198,
2194,
46,
320,
310,
1440,
556,
25788,
459,
1872,
742,
303,
339,
465,
1041,
294,
338,
5654,
477,
349,
9434,
44,
9661,
686,
391,
1506,
331,
556,
1319,
51,
294,
338,
1369,
458,
13765,
391,
349,
909,
3439,
45,
645,
54,
49,
1657,
55,
8016,
44,
347,
9661,
51,
294,
338,
294,
338,
496,
772,
2194,
4228,
391,
1431,
294,
338,
496,
620,
1074,
451,
4389,
1495,
294,
588,
303,
581,
2210,
556,
976,
45,
976,
1198,
2194,
46,
320,
310,
1440,
556,
25788,
459,
909,
976,
742,
303,
339,
465,
1041,
294,
338,
31435,
331,
9661,
6112,
51,
294,
338,
294,
338,
496,
772,
328,
9661,
6112,
391,
13552,
294,
338,
496,
620,
11999,
1074,
294,
588,
303,
581,
2210,
10018,
45,
671,
328,
46,
320,
310,
1440,
556,
25788,
459,
6635,
742,
303,
339,
465,
1041,
294,
338,
5654,
331,
9661,
686,
5817,
451,
477,
1319,
51,
294,
338,
294,
338,
496,
772,
655,
655,
451,
341,
5817,
686,
391,
1495,
294,
338,
496,
772,
2194,
4228,
391,
545,
5424,
391,
341,
5817,
686,
294,
338,
496,
620,
1074,
451,
1495,
294,
588,
303,
581,
2210,
1495,
4605,
45,
671,
655,
49,
2210,
1198,
2194,
46,
320,
310,
1440,
556,
25788,
459,
1872,
742,
303,
339,
465,
1041,
294,
338,
31979,
331,
8213,
5817,
451,
477,
9661,
1319,
51,
294,
338,
294,
338,
496,
772,
655,
451,
5817,
294,
338,
496,
620,
5817,
294,
588,
303,
581,
2210,
640,
4605,
45,
671,
655,
46,
320,
310,
461,
762,
64,
303,
339,
465,
1041,
294,
338,
31979,
619,
18512,
5817,
451,
477,
9661,
1319,
51,
294,
338,
294,
338,
496,
772,
1671,
1671,
9848,
391,
10857,
294,
338,
496,
620,
5817,
294,
588,
303,
581,
2210,
640,
9493,
45,
429,
1671,
46,
320,
310,
461,
762,
64,
303,
339,
465,
1041,
294,
338,
12901,
477,
1319,
1178,
331,
8213,
5817,
68,
294,
338,
294,
338,
496,
772,
655,
655,
451,
5817,
294,
338,
496,
620,
878,
434,
477,
1319,
1421,
331,
5817,
451,
341,
2716,
655,
294,
588,
303,
581,
1922,
1421,
4605,
45,
671,
655,
46,
320,
310,
461,
920,
64,
303,
339,
465,
1041,
294,
338,
12901,
477,
1319,
1178,
331,
18512,
2821,
68,
294,
338,
294,
338,
496,
772,
9848,
1671,
391,
1524,
294,
338,
496,
620,
878,
434,
477,
1319,
1421,
331,
9848,
294,
588,
303,
581,
1922,
1421,
9493,
45,
429,
9848,
46,
320,
310,
461,
920,
64,
303,
339,
465,
1041,
294,
338,
6491,
331,
8213,
5817,
664,
477,
9661,
1319,
294,
338,
294,
338,
496,
772,
655,
655,
451,
341,
5817,
294,
588,
303,
581,
782,
3365,
4605,
45,
671,
655,
46,
320,
303,
339,
465,
1041,
294,
338,
1776,
331,
8213,
5817,
347,
477,
9661,
1319,
294,
338,
294,
338,
496,
772,
655,
244,
655,
451,
341,
5817,
294,
338,
496,
772,
804,
804,
451,
341,
5817,
294,
588,
303,
581,
782,
758,
4605,
45,
671,
655,
49,
2210,
804,
46,
320,
303,
339,
465,
1041,
294,
338,
1776,
619,
18512,
5817,
347,
477,
9661,
1319,
294,
338,
294,
338,
496,
772,
1671,
1671,
451,
341,
5817,
9848,
294,
338,
496,
772,
804,
804,
451,
341,
5817,
294,
588,
303,
581,
782,
758,
9493,
45,
429,
1671,
49,
2210,
804,
46,
320,
303,
339,
465,
453,
2821,
480,
804,
13403,
465,
1041,
294,
338,
3777,
341,
758,
451,
1187,
2821,
4492,
451,
477,
1319,
51,
294,
338,
294,
338,
496,
620,
758,
451,
2821,
4492,
294,
588,
303,
496,
14030,
459,
18362,
678,
303,
581,
1776,
65,
671,
67,
1221,
903,
365,
320,
310,
461,
15490,
51,
13070,
100,
2710,
64,
303,
339,
465,
1041,
294,
338,
3777,
341,
758,
451,
1187,
2821,
2102,
451,
477,
1319,
51,
294,
338,
294,
338,
496,
620,
758,
451,
2821,
2102,
51,
294,
588,
303,
496,
14030,
459,
18362,
678,
303,
581,
7380,
65,
976,
67,
2102,
365,
320,
310,
461,
15490,
51,
13070,
100,
2710,
64,
303,
339,
465,
453,
9661,
5118,
1524,
465,
1041,
294,
338,
32180,
4962,
341,
2716,
1319,
458,
619,
1998,
451,
349,
597,
44,
1319,
51,
294,
338,
294,
338,
496,
772,
1998,
1458,
579,
391,
1524,
294,
338,
496,
620,
878,
434,
341,
2716,
349,
2403,
44,
458,
619,
1998,
451,
477,
349,
1144,
44,
1319,
294,
588,
303,
581,
1922,
458,
1825,
45,
3242,
2210,
1998,
46,
320,
310,
461,
920,
64,
303,
339,
465,
1041,
294,
338,
32180,
4962,
477,
1319,
458,
619,
1998,
451,
341,
2716,
349,
20946,
44,
1319,
51,
294,
338,
294,
338,
496,
772,
16486,
16486,
391,
1524,
294,
338,
496,
620,
878,
434,
477,
1319,
458,
619,
1998,
451,
341,
2716,
349,
20946,
44,
294,
588,
303,
581,
1922,
458,
8658,
45,
3242,
2210,
16486,
46,
320,
310,
434,
327,
20946,
5118,
7761,
976,
46,
320,
343,
461,
1849,
4638,
976,
46,
20946,
566,
316,
1825,
45,
597,
312,
310,
339,
603,
461,
920,
64,
303,
339,
465,
1041,
294,
338,
13493,
1418,
3834,
1359,
3234,
2821,
294,
338,
294,
338,
496,
620,
13493,
1418,
3834,
1359,
3234,
2821,
804,
451,
477,
1319,
294,
588,
303,
581,
910,
640,
8478,
365,
320,
310,
461,
27042,
941,
5175,
492,
303,
339,
465,
1041,
294,
338,
3626,
477,
331,
686,
1319,
68,
294,
338,
294,
338,
496,
620,
434,
477,
22977,
33839,
331,
535,
3123,
1117,
1254,
686,
1998,
294,
588,
303,
581,
1922,
458,
2466,
365,
320,
310,
461,
920,
64,
303,
339,
465,
1041,
294,
338,
3626,
477,
331,
349,
558,
6527,
44,
686,
1319,
68,
294,
338,
294,
338,
496,
620,
878,
434,
477,
22977,
10684,
331,
535,
3123,
1117,
1254,
349,
558,
6527,
44,
686,
294,
588,
303,
581,
1922,
458,
15880,
2466,
365,
320,
310,
461,
920,
64,
303,
339,
465,
1041,
294,
338,
3626,
477,
619,
1437,
1319,
68,
294,
338,
294,
338,
496,
620,
434,
477,
22977,
33839,
331,
535,
3123,
1117,
1254,
1437,
1319,
294,
588,
303,
581,
1922,
47946,
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,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
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
] | 1,532 | true | 63.333333 | true | true |
CtlDocClassDaoTest.java | /FileExtraction/Java_unseen/junoemr_junoemr/src/test/java/org/oscarehr/common/dao/CtlDocClassDaoTest.java | /**
* Copyright (c) 2001-2002. Department of Family Medicine, McMaster University. All Rights Reserved.
* This software is published under the GPL 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.
*
* This software was written for the
* Department of Family Medicine
* McMaster University
* Hamilton
* Ontario, Canada
*/
package org.oscarehr.common.dao;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import org.apache.log4j.Logger;
import org.junit.Before;
import org.junit.Test;
import org.oscarehr.common.dao.utils.EntityDataGenerator;
import org.oscarehr.common.dao.utils.SchemaUtils;
import org.oscarehr.common.model.CtlDocClass;
import org.oscarehr.util.MiscUtils;
import org.oscarehr.util.SpringUtils;
public class CtlDocClassDaoTest extends DaoTestFixtures {
protected CtlDocClassDao dao = (CtlDocClassDao)SpringUtils.getBean(CtlDocClassDao.class);
Logger logger = MiscUtils.getLogger();
@Before
public void setUp() throws Exception {
SchemaUtils.restoreTable("ctl_doc_class");
}
@Test
/**
* Ensures that the findUniqueReportClass() method returns a set of
* report classes without returning duplicates.
* @throws Exception
*/
public void testFindSubClassesByReportClass() throws Exception {
String reportClass = "classA";
CtlDocClass class1 = new CtlDocClass();
EntityDataGenerator.generateTestDataForModelClass(class1);
class1.setReportClass(reportClass);
class1.setSubClass("subA");
class1.setId(160);
CtlDocClass class2 = new CtlDocClass();
EntityDataGenerator.generateTestDataForModelClass(class2);
class2.setReportClass(reportClass);
class2.setSubClass("subB");
class2.setId(161);
CtlDocClass class3 = new CtlDocClass();
EntityDataGenerator.generateTestDataForModelClass(class3);
class3.setReportClass("classB");
class3.setSubClass("subC");
class3.setId(162);
CtlDocClass class4 = new CtlDocClass();
EntityDataGenerator.generateTestDataForModelClass(class4);
class4.setReportClass("classC");
class4.setSubClass("subD");
class4.setId(163);
dao.persist(class1);
dao.persist(class2);
dao.persist(class3);
dao.persist(class4);
List<String> result = dao.findSubClassesByReportClass(reportClass);
List<String> expectedResult = new ArrayList<String>(Arrays.asList("subA", "subB"));
assertEquals(result.size(), expectedResult.size());
assertTrue(result.containsAll(expectedResult));
// ensure that all persisted items are in the table
// ensure ordered by reportclass lexicographically
String str1;
String str2;
for (int i = 0; i < result.size() - 1; i++) {
str1 = result.get(i);
str2 = result.get(i+1);
if (str1.compareTo(str2) > -1 ){
fail("Results not ordred by sub class.");
}
}
assertTrue(true);
assertTrue(result.containsAll(expectedResult));
}
@Test
/**
* Ensure that all report classes in the table
* are ordered by reportClass lexicographically.
* Ensure that all report classes are unique.
* @throws Exception
*/
public void testFindUniqueReportClasses() throws Exception {
CtlDocClass class1 = new CtlDocClass();
EntityDataGenerator.generateTestDataForModelClass(class1);
class1.setReportClass("classA");
class1.setId(160);
CtlDocClass class2 = new CtlDocClass();
EntityDataGenerator.generateTestDataForModelClass(class2);
class2.setReportClass("classA");
class2.setId(161);
CtlDocClass class3 = new CtlDocClass();
EntityDataGenerator.generateTestDataForModelClass(class3);
class3.setReportClass("classB");
class3.setId(162);
CtlDocClass class4 = new CtlDocClass();
EntityDataGenerator.generateTestDataForModelClass(class4);
class4.setReportClass("classC");
class4.setId(164);
dao.persist(class1);
dao.persist(class2);
dao.persist(class3);
dao.persist(class4);
List<String> result = dao.findUniqueReportClasses();
List<String> expectedResult = new ArrayList<String>(Arrays.asList("classA","classB", "classC"));
assertTrue(result.containsAll(expectedResult));
// make sure all items are unique
final List<String> uniqueClasses = new ArrayList<String>();
final HashMap<String,String> hm = new HashMap<String,String>();
for (String reportClass : result) {
if (hm.get(reportClass) == null) {
hm.put(reportClass,reportClass);
uniqueClasses.add(reportClass);
}
}
assertEquals(uniqueClasses.size(), dao.findUniqueReportClasses().size());
// ensure that all persisted items are in the table
// ordered by reportClass lexicographically
for (int i = 0; i < result.size() - 1; i++) {
if ((result.get(i).toLowerCase()).compareTo(result.get(i+1).toLowerCase()) > 0) {
fail("Results not ordered by report class.");
}
}
assertTrue(true);
}
}
| 5,601 | Java | .java | junoemr/junoemr | 11 | 6 | 39 | 2018-06-06T17:33:56Z | 2024-02-09T16:12:24Z | 9b20cb28708c620531d24c62e3b636bb92b724a8fc2d09c487fcf282cc4311c9 | [] | [
1350,
222,
338,
2657,
327,
104,
46,
244,
55,
53,
53,
54,
50,
55,
53,
53,
55,
51,
24481,
451,
37865,
14340,
32703,
49,
22545,
8801,
11451,
51,
3381,
12902,
11921,
51,
222,
338,
1369,
2951,
458,
9582,
1549,
341,
23508,
6994,
6153,
5062,
1196,
51,
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,
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,
244,
53,
55,
54,
54,
54,
50,
54,
56,
53,
60,
49,
15067,
51,
222,
338,
222,
338,
1369,
2951,
1616,
6658,
456,
341,
222,
338,
24481,
451,
37865,
14340,
32703,
222,
338,
22545,
8801,
11451,
222,
338,
696,
20915,
955,
222,
338,
565,
585,
3454,
49,
48190,
222,
588,
222,
1337,
1105,
51,
519,
12818,
3943,
51,
2297,
51,
13974,
64,
222,
222,
485,
924,
1105,
51,
3946,
51,
3285,
51,
4993,
64,
222,
485,
924,
1105,
51,
3946,
51,
3285,
51,
6553,
64,
222,
485,
924,
1105,
51,
3946,
51,
3285,
51,
5077,
64,
222,
222,
485,
1401,
51,
1058,
51,
7119,
64,
222,
485,
1401,
51,
1058,
51,
9981,
64,
222,
485,
1401,
51,
1058,
51,
8263,
64,
222,
485,
1401,
51,
1058,
51,
739,
64,
222,
222,
485,
1105,
51,
2121,
51,
769,
57,
111,
51,
3716,
64,
222,
485,
1105,
51,
3946,
51,
5670,
64,
222,
485,
1105,
51,
3946,
51,
1024,
64,
222,
485,
1105,
51,
519,
12818,
3943,
51,
2297,
51,
13974,
51,
2324,
51,
2234,
768,
4829,
64,
222,
485,
1105,
51,
519,
12818,
3943,
51,
2297,
51,
13974,
51,
2324,
51,
3710,
2769,
64,
222,
485,
1105,
51,
519,
12818,
3943,
51,
2297,
51,
1184,
51,
27926,
4234,
1359,
64,
222,
485,
1105,
51,
519,
12818,
3943,
51,
1058,
51,
25798,
2769,
64,
222,
485,
1105,
51,
519,
12818,
3943,
51,
1058,
51,
12427,
2769,
64,
222,
222,
942,
462,
409,
5406,
4234,
1359,
8924,
1024,
2041,
26948,
1024,
38030,
320,
499,
221,
5332,
409,
5406,
4234,
1359,
8924,
27471,
299,
327,
27926,
4234,
1359,
8924,
46,
12427,
2769,
51,
39497,
45,
27926,
4234,
1359,
8924,
51,
842,
312,
222,
221,
3716,
4101,
299,
38226,
2769,
51,
10588,
492,
499,
221,
69,
5670,
222,
221,
942,
782,
14544,
365,
2589,
3284,
320,
376,
221,
3710,
2769,
51,
11255,
1617,
459,
7930,
100,
1446,
100,
842,
742,
222,
221,
130,
499,
221,
69,
1024,
222,
221,
1350,
376,
338,
2445,
35152,
708,
341,
2309,
10186,
4158,
1359,
365,
1431,
3235,
331,
758,
451,
376,
338,
3652,
6052,
2895,
14122,
27573,
51,
376,
338,
496,
5124,
3284,
376,
588,
222,
221,
942,
782,
913,
4882,
1736,
8038,
1103,
4158,
1359,
365,
2589,
3284,
320,
376,
221,
671,
3652,
1359,
299,
332,
842,
70,
884,
1332,
221,
27926,
4234,
1359,
462,
54,
299,
556,
409,
5406,
4234,
1359,
492,
376,
221,
2234,
768,
4829,
51,
5555,
24498,
1580,
1262,
1359,
45,
842,
54,
312,
376,
221,
842,
54,
51,
489,
4158,
1359,
45,
3755,
1359,
312,
376,
221,
842,
54,
51,
489,
1736,
1359,
459,
1133,
70,
742,
376,
221,
842,
54,
51,
21603,
45,
54,
59,
53,
312,
1332,
221,
27926,
4234,
1359,
462,
55,
299,
556,
409,
5406,
4234,
1359,
492,
376,
221,
2234,
768,
4829,
51,
5555,
24498,
1580,
1262,
1359,
45,
842,
55,
312,
376,
221,
842,
55,
51,
489,
4158,
1359,
45,
3755,
1359,
312,
376,
221,
842,
55,
51,
489,
1736,
1359,
459,
1133,
71,
742,
376,
221,
842,
55,
51,
21603,
45,
54,
59,
54,
312,
1332,
221,
27926,
4234,
1359,
462,
56,
299,
556,
409,
5406,
4234,
1359,
492,
376,
221,
2234,
768,
4829,
51,
5555,
24498,
1580,
1262,
1359,
45,
842,
56,
312,
376,
221,
842,
56,
51,
489,
4158,
1359,
459,
842,
71,
742,
376,
221,
842,
56,
51,
489,
1736,
1359,
459,
1133,
72,
742,
376,
221,
842,
56,
51,
21603,
45,
54,
59,
55,
312,
1332,
221,
27926,
4234,
1359,
462,
57,
299,
556,
409,
5406,
4234,
1359,
492,
376,
221,
2234,
768,
4829,
51,
5555,
24498,
1580,
1262,
1359,
45,
842,
57,
312,
376,
221,
842,
57,
51,
489,
4158,
1359,
459,
842,
72,
742,
376,
221,
842,
57,
51,
489,
1736,
1359,
459,
1133,
73,
742,
376,
221,
842,
57,
51,
21603,
45,
54,
59,
56,
312,
1332,
221,
13974,
51,
20307,
45,
842,
54,
312,
376,
221,
13974,
51,
20307,
45,
842,
55,
312,
376,
221,
13974,
51,
20307,
45,
842,
56,
312,
376,
221,
13974,
51,
20307,
45,
842,
57,
312,
1332,
221,
739,
65,
671,
67,
1074,
299,
27471,
51,
1828,
1736,
8038,
1103,
4158,
1359,
45,
3755,
1359,
312,
376,
221,
739,
65,
671,
67,
2816,
1413,
299,
556,
5068,
65,
671,
1579,
9981,
51,
14100,
459,
1133,
70,
411,
332,
1133,
71,
2992,
1332,
221,
4993,
45,
1285,
51,
911,
1046,
2816,
1413,
51,
911,
1052,
376,
221,
6553,
45,
1285,
51,
4766,
1947,
45,
3156,
1413,
894,
376,
221,
325,
7197,
708,
1187,
35980,
3966,
904,
347,
341,
1877,
376,
221,
325,
7197,
17169,
829,
3652,
842,
18354,
5701,
2275,
7667,
376,
221,
671,
615,
54,
64,
376,
221,
671,
615,
55,
64,
376,
221,
999,
327,
429,
613,
299,
244,
53,
64,
613,
350,
1074,
51,
911,
365,
449,
244,
54,
64,
613,
2002,
320,
374,
221,
484,
54,
299,
1074,
51,
390,
45,
110,
312,
374,
221,
484,
55,
299,
1074,
51,
390,
45,
110,
48,
54,
312,
374,
221,
344,
327,
484,
54,
51,
23879,
45,
484,
55,
46,
868,
449,
54,
10555,
621,
221,
5077,
459,
5483,
666,
16208,
1116,
829,
1381,
462,
5377,
374,
221,
130,
376,
221,
130,
376,
221,
6553,
45,
1527,
312,
376,
221,
6553,
45,
1285,
51,
4766,
1947,
45,
3156,
1413,
894,
222,
221,
130,
499,
221,
69,
1024,
222,
221,
1350,
376,
338,
15135,
708,
1187,
3652,
6052,
347,
341,
1877,
376,
338,
904,
17169,
829,
3652,
1359,
18354,
5701,
2275,
7667,
51,
376,
338,
15135,
708,
1187,
3652,
6052,
904,
5823,
51,
376,
338,
496,
5124,
3284,
376,
588,
222,
221,
942,
782,
913,
4882,
10186,
4158,
8038,
365,
2589,
3284,
320,
376,
221,
27926,
4234,
1359,
462,
54,
299,
556,
409,
5406,
4234,
1359,
492,
376,
221,
2234,
768,
4829,
51,
5555,
24498,
1580,
1262,
1359,
45,
842,
54,
312,
376,
221,
842,
54,
51,
489,
4158,
1359,
459,
842,
70,
742,
376,
221,
842,
54,
51,
21603,
45,
54,
59,
53,
312,
1332,
221,
27926,
4234,
1359,
462,
55,
299,
556,
409,
5406,
4234,
1359,
492,
376,
221,
2234,
768,
4829,
51,
5555,
24498,
1580,
1262,
1359,
45,
842,
55,
312,
376,
221,
842,
55,
51,
489,
4158,
1359,
459,
842,
70,
742,
376,
221,
842,
55,
51,
21603,
45,
54,
59,
54,
312,
1332,
221,
27926,
4234,
1359,
462,
56,
299,
556,
409,
5406,
4234,
1359,
492,
376,
221,
2234,
768,
4829,
51,
5555,
24498,
1580,
1262,
1359,
45,
842,
56,
312,
376,
221,
842,
56,
51,
489,
4158,
1359,
459,
842,
71,
742,
376,
221,
842,
56,
51,
21603,
45,
54,
59,
55,
312,
1332,
221,
27926,
4234,
1359,
462,
57,
299,
556,
409,
5406,
4234,
1359,
492,
376,
221,
2234,
768,
4829,
51,
5555,
24498,
1580,
1262,
1359,
45,
842,
57,
312,
376,
221,
842,
57,
51,
489,
4158,
1359,
459,
842,
72,
742,
376,
221,
842,
57,
51,
21603,
45,
54,
59,
57,
312,
1332,
221,
13974,
51,
20307,
45,
842,
54,
312,
376,
221,
13974,
51,
20307,
45,
842,
55,
312,
376,
221,
13974,
51,
20307,
45,
842,
56,
312,
376,
221,
13974,
51,
20307,
45,
842,
57,
312,
1332,
221,
739,
65,
671,
67,
1074,
299,
27471,
51,
1828,
10186,
4158,
8038,
492,
376,
221,
739,
65,
671,
67,
2816,
1413,
299,
556,
5068,
65,
671,
1579,
9981,
51,
14100,
459,
842,
70,
1479,
842,
71,
411,
332,
842,
72,
2992,
376,
221,
6553,
45,
1285,
51,
4766,
1947,
45,
3156,
1413,
894,
1332,
221,
325,
1949,
3673,
1187,
3966,
904,
5823,
376,
221,
3242,
1701,
65,
671,
67,
5823,
8038,
299,
556,
5068,
65,
671,
2938,
3281,
1175,
8329,
65,
671,
49,
671,
67,
44012,
299,
556,
8329,
65,
671,
49,
671,
2938,
3281,
456,
327,
671,
3652,
1359,
518,
1074,
46,
320,
8820,
434,
327,
10677,
51,
390,
45,
3755,
1359,
46,
630,
762,
46,
320,
15233,
44012,
51,
543,
45,
3755,
1359,
49,
3755,
1359,
312,
15233,
5823,
8038,
51,
688,
45,
3755,
1359,
312,
8820,
339,
3281,
339,
376,
221,
4993,
45,
5714,
8038,
51,
911,
1046,
27471,
51,
1828,
10186,
4158,
8038,
941,
911,
1052,
1332,
221,
325,
7197,
708,
1187,
35980,
3966,
904,
347,
341,
1877,
376,
221,
325,
17169,
829,
3652,
1359,
18354,
5701,
2275,
7667,
376,
221,
999,
327,
429,
613,
299,
244,
53,
64,
613,
350,
1074,
51,
911,
365,
449,
244,
54,
64,
613,
2002,
320,
374,
221,
344,
1849,
1285,
51,
390,
45,
110,
566,
10498,
4269,
23879,
45,
1285,
51,
390,
45,
110,
48,
54,
566,
10498,
1177,
868,
244,
53,
46,
320,
621,
221,
5077,
459,
5483,
666,
17169,
829,
3652,
462,
5377,
374,
221,
130,
376,
221,
130,
376,
221,
6553,
45,
1527,
312,
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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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,659 | true | 72.272808 | true | true |
SourceReaderFactory.java | /FileExtraction/Java_unseen/AdoptOpenJDK_openjdk-aarch64-jdk8u/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/streaming/SourceReaderFactory.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.xml.internal.ws.streaming;
import com.sun.xml.internal.ws.api.streaming.XMLStreamReaderFactory;
import com.sun.xml.internal.ws.util.FastInfosetUtil;
import com.sun.xml.internal.ws.util.xml.XmlUtil;
import javax.xml.stream.XMLStreamReader;
import javax.xml.transform.Source;
import javax.xml.transform.Transformer;
import javax.xml.transform.dom.DOMResult;
import javax.xml.transform.dom.DOMSource;
import javax.xml.transform.sax.SAXSource;
import javax.xml.transform.stream.StreamSource;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.Reader;
import java.lang.reflect.Method;
import java.net.URL;
/**
* @author Santiago.PericasGeertsen@sun.com
*/
public class SourceReaderFactory {
/**
* FI FastInfosetSource class.
*/
static Class fastInfosetSourceClass;
/**
* FI <code>StAXDocumentSerializer.setEncoding()</code> method via reflection.
*/
static Method fastInfosetSource_getInputStream;
static {
// Use reflection to avoid static dependency with FI jar
try {
fastInfosetSourceClass =
Class.forName("com.sun.xml.internal.org.jvnet.fastinfoset.FastInfosetSource");
fastInfosetSource_getInputStream =
fastInfosetSourceClass.getMethod("getInputStream");
}
catch (Exception e) {
fastInfosetSourceClass = null;
}
}
public static XMLStreamReader createSourceReader(Source source, boolean rejectDTDs) {
return createSourceReader(source, rejectDTDs, null);
}
public static XMLStreamReader createSourceReader(Source source, boolean rejectDTDs, String charsetName) {
try {
if (source instanceof StreamSource) {
StreamSource streamSource = (StreamSource) source;
InputStream is = streamSource.getInputStream();
if (is != null) {
// Wrap input stream in Reader if charset is specified
if (charsetName != null) {
return XMLStreamReaderFactory.create(
source.getSystemId(), new InputStreamReader(is, charsetName), rejectDTDs);
}
else {
return XMLStreamReaderFactory.create(
source.getSystemId(), is, rejectDTDs);
}
}
else {
Reader reader = streamSource.getReader();
if (reader != null) {
return XMLStreamReaderFactory.create(
source.getSystemId(), reader, rejectDTDs);
}
else {
return XMLStreamReaderFactory.create(
source.getSystemId(), new URL(source.getSystemId()).openStream(), rejectDTDs );
}
}
}
else if (source.getClass() == fastInfosetSourceClass) {
return FastInfosetUtil.createFIStreamReader((InputStream)
fastInfosetSource_getInputStream.invoke(source));
}
else if (source instanceof DOMSource) {
DOMStreamReader dsr = new DOMStreamReader();
dsr.setCurrentNode(((DOMSource) source).getNode());
return dsr;
}
else if (source instanceof SAXSource) {
// TODO: need SAX to StAX adapter here -- Use transformer for now
Transformer tx = XmlUtil.newTransformer();
DOMResult domResult = new DOMResult();
tx.transform(source, domResult);
return createSourceReader(
new DOMSource(domResult.getNode()),
rejectDTDs);
}
else {
throw new XMLReaderException("sourceReader.invalidSource",
source.getClass().getName());
}
}
catch (Exception e) {
throw new XMLReaderException(e);
}
}
}
| 5,328 | Java | .java | AdoptOpenJDK/openjdk-aarch64-jdk8u | 13 | 45 | 0 | 2020-07-16T16:13:20Z | 2021-09-29T14:47:41Z | 147d35acf4852f8cd5f92fdef8779dcfcafefddfa9dc8c6116c238f25b8c8fde | [] | [
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,
2608,
51,
3269,
51,
3624,
51,
22542,
64,
222,
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,
1058,
51,
12200,
1139,
489,
1747,
64,
222,
485,
785,
51,
9886,
51,
2608,
51,
3269,
51,
3624,
51,
1058,
51,
2608,
51,
4411,
1747,
64,
222,
222,
485,
3698,
51,
2608,
51,
2255,
51,
5741,
33628,
64,
222,
485,
3698,
51,
2608,
51,
3824,
51,
2044,
64,
222,
485,
3698,
51,
2608,
51,
3824,
51,
15070,
64,
222,
485,
3698,
51,
2608,
51,
3824,
51,
4734,
51,
8869,
1413,
64,
222,
485,
3698,
51,
2608,
51,
3824,
51,
4734,
51,
8869,
2044,
64,
222,
485,
3698,
51,
2608,
51,
3824,
51,
31965,
51,
42188,
2044,
64,
222,
485,
3698,
51,
2608,
51,
3824,
51,
2255,
51,
1880,
2044,
64,
222,
485,
1401,
51,
735,
51,
6989,
64,
222,
485,
1401,
51,
735,
51,
6989,
3314,
64,
222,
485,
1401,
51,
735,
51,
3314,
64,
222,
485,
1401,
51,
1600,
51,
9069,
51,
1885,
64,
222,
485,
1401,
51,
1317,
51,
2427,
64,
222,
222,
1350,
222,
338,
496,
2133,
377,
7330,
13672,
51,
1852,
21343,
4586,
600,
15500,
69,
9886,
51,
527,
222,
588,
222,
942,
462,
6391,
3314,
2232,
320,
465,
1041,
294,
338,
16922,
15934,
1139,
489,
2044,
462,
51,
294,
588,
303,
924,
1727,
8160,
1139,
489,
2044,
1359,
64,
465,
1041,
294,
338,
16922,
350,
707,
67,
520,
4311,
3112,
7271,
51,
489,
7970,
11052,
707,
67,
1431,
4745,
26138,
51,
294,
588,
303,
924,
5409,
8160,
1139,
489,
2044,
100,
42810,
64,
465,
924,
320,
310,
453,
4443,
26138,
391,
7373,
924,
8458,
642,
16922,
22324,
310,
1614,
320,
343,
8160,
1139,
489,
2044,
1359,
299,
419,
1727,
51,
31918,
459,
527,
51,
9886,
51,
2608,
51,
3269,
51,
1107,
51,
23722,
1317,
51,
6594,
1357,
489,
51,
12200,
1139,
489,
2044,
742,
343,
8160,
1139,
489,
2044,
100,
42810,
299,
419,
8160,
1139,
489,
2044,
1359,
51,
27847,
459,
42810,
742,
310,
339,
310,
2385,
327,
1002,
503,
46,
320,
343,
8160,
1139,
489,
2044,
1359,
299,
762,
64,
310,
339,
303,
339,
465,
581,
924,
7408,
33628,
1506,
2044,
3314,
45,
2044,
1932,
49,
1922,
7666,
20514,
120,
46,
320,
310,
461,
1506,
2044,
3314,
45,
1876,
49,
7666,
20514,
120,
49,
762,
312,
303,
339,
465,
581,
924,
7408,
33628,
1506,
2044,
3314,
45,
2044,
1932,
49,
1922,
7666,
20514,
120,
49,
910,
8491,
577,
46,
320,
310,
1614,
320,
343,
434,
327,
1876,
5118,
7552,
2044,
46,
320,
419,
7552,
2044,
3458,
2044,
299,
327,
1880,
2044,
46,
1932,
64,
419,
18994,
458,
299,
3458,
2044,
51,
42810,
492,
2125,
434,
327,
316,
882,
762,
46,
320,
547,
453,
27817,
1533,
3458,
347,
19289,
434,
8491,
458,
3205,
547,
434,
327,
15220,
577,
882,
762,
46,
320,
733,
461,
7408,
33628,
2232,
51,
1315,
45,
1031,
1932,
51,
29967,
625,
1046,
556,
40678,
45,
316,
49,
8491,
577,
490,
7666,
20514,
120,
312,
547,
339,
547,
832,
320,
733,
461,
7408,
33628,
2232,
51,
1315,
45,
1031,
1932,
51,
29967,
625,
1046,
458,
49,
7666,
20514,
120,
312,
547,
339,
419,
339,
419,
832,
320,
547,
19289,
6201,
299,
3458,
2044,
51,
390,
3314,
492,
547,
434,
327,
6321,
882,
762,
46,
320,
733,
461,
7408,
33628,
2232,
51,
1315,
45,
1031,
1932,
51,
29967,
625,
1046,
6201,
49,
7666,
20514,
120,
312,
547,
339,
547,
832,
320,
733,
461,
7408,
33628,
2232,
51,
1315,
45,
1031,
1932,
51,
29967,
625,
1046,
556,
3846,
45,
1876,
51,
29967,
625,
4269,
1693,
1880,
1046,
7666,
20514,
120,
1110,
547,
339,
419,
339,
343,
339,
343,
832,
434,
327,
1876,
51,
9699,
365,
630,
8160,
1139,
489,
2044,
1359,
46,
320,
419,
461,
15934,
1139,
489,
1747,
51,
1315,
1836,
33628,
1181,
6989,
46,
547,
8160,
1139,
489,
2044,
100,
42810,
51,
7845,
45,
1876,
894,
343,
339,
343,
832,
434,
327,
1876,
5118,
12108,
2044,
46,
320,
419,
12108,
33628,
362,
6882,
299,
244,
556,
12108,
33628,
492,
419,
362,
6882,
51,
28118,
1230,
7738,
8869,
2044,
46,
1932,
566,
17701,
1052,
419,
461,
362,
6882,
64,
343,
339,
343,
832,
434,
327,
1876,
5118,
45334,
2044,
46,
320,
419,
453,
4314,
63,
1868,
45334,
391,
1277,
4311,
10726,
2464,
790,
4443,
26723,
456,
2483,
419,
35010,
6495,
299,
244,
12490,
1747,
51,
909,
15070,
492,
419,
12108,
1413,
7593,
1413,
299,
556,
12108,
1413,
492,
419,
6495,
51,
3824,
45,
1876,
49,
7593,
1413,
312,
419,
461,
1506,
2044,
3314,
45,
547,
556,
12108,
2044,
45,
4734,
1413,
51,
17701,
6198,
547,
7666,
20514,
120,
312,
343,
339,
343,
832,
320,
419,
1440,
556,
7408,
3314,
1002,
459,
1876,
3314,
51,
5798,
2044,
411,
733,
1932,
51,
9699,
941,
5175,
1052,
343,
339,
310,
339,
310,
2385,
327,
1002,
503,
46,
320,
343,
1440,
556,
7408,
3314,
1002,
45,
106,
312,
310,
339,
303,
339,
222,
222,
130,
222
] | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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/net/screenfreeze/deskcon/DiscoveryService.java | package net.screenfreeze.deskcon;
import java.io.IOException;
import java.net.DatagramPacket;
import java.net.DatagramSocket;
import java.net.InetAddress;
import android.annotation.SuppressLint;
import android.app.AlarmManager;
import android.app.PendingIntent;
import android.app.Service;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.net.wifi.WifiManager;
import android.net.wifi.WifiManager.MulticastLock;
import android.os.IBinder;
import android.os.SystemClock;
import android.preference.PreferenceManager;
import android.util.Log;
public class DiscoveryService extends Service {
private static SharedPreferences sharedPrefs;
private static int PORT;
private static ResponseServer responseserver;
@Override
public IBinder onBind(Intent intent) {
return null;
}
@SuppressLint("ShowToast")
@Override
public void onCreate() {
sharedPrefs = PreferenceManager.getDefaultSharedPreferences(this);
PORT = Integer.parseInt(sharedPrefs.getString("control_port", "9096"));
super.onCreate();
}
@Override
public void onDestroy() {
Log.d("Control: ", "stop Server");
//controlserver.cancel(true);
responseserver.stopServer();
super.onDestroy();
}
// workaround: sys stops task when UI closes
@SuppressLint("NewApi")
@Override
public void onTaskRemoved(Intent rootIntent){
Intent restartServiceIntent = new Intent(getApplicationContext(), this.getClass());
restartServiceIntent.setPackage(getPackageName());
PendingIntent restartServicePendingIntent = PendingIntent.getService(getApplicationContext(), 1, restartServiceIntent, PendingIntent.FLAG_ONE_SHOT);
AlarmManager alarmService = (AlarmManager) getApplicationContext().getSystemService(Context.ALARM_SERVICE);
alarmService.set(
AlarmManager.ELAPSED_REALTIME,
SystemClock.elapsedRealtime() + 1000,
restartServicePendingIntent);
super.onTaskRemoved(rootIntent);
}
@SuppressLint("NewApi")
@Override
public int onStartCommand(Intent intent, int flags, int startId) {
responseserver = new ResponseServer();
Thread rs = new Thread(responseserver);
rs.start();
return START_STICKY;
}
private class ResponseServer implements Runnable {
private DatagramSocket serverSocketUDP;
private boolean isStopped = false;
@Override
public void run() {
Log.d("Discovery: ", "start UDP Server");
try {
serverSocketUDP = new DatagramSocket(5108);
} catch (Exception e) {
e.printStackTrace();
Log.d("Dsicovery: ", "could not start");
return;
}
WifiManager wifi = (WifiManager) getSystemService(Context.WIFI_SERVICE);
MulticastLock lock = wifi.createMulticastLock("net.screenfreeze.deskcon");
lock.acquire();
//begin serving
while (!isStopped) {
byte[] receiveData = new byte[128];
DatagramPacket receivePacket = new DatagramPacket(receiveData, receiveData.length);
try {
serverSocketUDP.receive(receivePacket);
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
InetAddress address = receivePacket.getAddress();
String msg = new String(receiveData, 0, receivePacket.getLength());
Log.d("udp from: ", "msg "+msg+" "+address);
handleReceiveUdp(msg);
}
lock.release();
}
// force server stop
private void stopServer() {
isStopped = true;
serverSocketUDP.close();
}
}
private void handleReceiveUdp(String msg) {
String[] split = msg.split("::");
String code = split[0];
String info = split[1];
// Start the Update Service
if (code.equals("startupdateservice01")) {
Intent statusUpdateServiceIntent = new Intent(this, StatusUpdateService.class);
startService(statusUpdateServiceIntent);
}
}
}
| 3,940 | Java | .java | screenfreeze/deskcon-android | 41 | 19 | 13 | 2014-01-10T14:14:05Z | 2014-07-26T12:24:25Z | 0c319d30f716cd88055d7b6245bcb7f7880f4b14a9b6b297e6a6be2bcbf27caf | [] | [
1337,
3723,
51,
4475,
21406,
51,
21121,
487,
64,
222,
222,
485,
1401,
51,
735,
51,
6860,
64,
222,
485,
1401,
51,
1317,
51,
768,
1786,
6839,
64,
222,
485,
1401,
51,
1317,
51,
768,
1786,
5270,
64,
222,
485,
1401,
51,
1317,
51,
30922,
2455,
64,
222,
222,
485,
2616,
51,
4341,
51,
10689,
20331,
64,
222,
485,
2616,
51,
745,
51,
20628,
1590,
64,
222,
485,
2616,
51,
745,
51,
10710,
8770,
64,
222,
485,
2616,
51,
745,
51,
1201,
64,
222,
485,
2616,
51,
1304,
51,
1237,
64,
222,
485,
2616,
51,
1304,
51,
8770,
64,
222,
485,
2616,
51,
1304,
51,
32235,
64,
222,
485,
2616,
51,
1317,
51,
21935,
51,
25124,
1590,
64,
222,
485,
2616,
51,
1317,
51,
21935,
51,
25124,
1590,
51,
11253,
17894,
4645,
64,
222,
485,
2616,
51,
519,
51,
3077,
15125,
64,
222,
485,
2616,
51,
519,
51,
1615,
11395,
64,
222,
485,
2616,
51,
29565,
51,
14366,
1590,
64,
222,
485,
2616,
51,
1058,
51,
1353,
64,
222,
222,
942,
462,
35879,
1201,
2041,
4860,
320,
3038,
221,
2072,
924,
42116,
7187,
20042,
64,
222,
221,
2072,
924,
648,
15869,
64,
222,
221,
2072,
924,
5178,
2077,
1808,
1805,
64,
499,
221,
69,
1806,
222,
221,
942,
457,
18416,
563,
3739,
45,
8770,
8935,
46,
320,
376,
221,
620,
762,
64,
222,
221,
130,
221,
3038,
221,
69,
10689,
20331,
459,
4325,
15030,
678,
222,
221,
69,
1806,
222,
221,
942,
782,
16456,
365,
320,
376,
221,
4206,
20042,
299,
42838,
1590,
51,
13729,
32235,
45,
597,
312,
376,
221,
3640,
299,
4418,
51,
11824,
45,
4206,
20042,
51,
7080,
459,
2452,
100,
644,
411,
332,
62,
53,
62,
59,
2992,
376,
221,
5282,
51,
20217,
492,
222,
221,
130,
499,
221,
69,
1806,
222,
221,
942,
782,
563,
9413,
365,
320,
376,
221,
1353,
51,
105,
459,
2436,
63,
3021,
332,
4074,
4242,
742,
21997,
221,
325,
2452,
1805,
51,
8158,
45,
1527,
312,
376,
221,
2003,
1805,
51,
4074,
2077,
492,
376,
221,
5282,
51,
286,
9413,
492,
222,
221,
130,
3038,
221,
325,
15725,
63,
5263,
23653,
2918,
1429,
5326,
25849,
222,
221,
69,
10689,
20331,
459,
1827,
2570,
678,
222,
221,
69,
1806,
222,
221,
942,
782,
563,
2265,
16971,
45,
8770,
3070,
8770,
1528,
3281,
11790,
11683,
1201,
8770,
299,
556,
11790,
45,
36160,
1046,
477,
51,
9699,
1052,
3281,
11683,
1201,
8770,
51,
489,
4057,
45,
390,
28458,
1052,
19075,
28819,
8770,
11683,
1201,
10710,
8770,
299,
28819,
8770,
51,
25419,
45,
36160,
1046,
244,
54,
49,
11683,
1201,
8770,
49,
28819,
8770,
51,
4705,
100,
4451,
100,
18119,
312,
3281,
39583,
1590,
24461,
1201,
299,
327,
20628,
1590,
46,
640,
18385,
941,
29967,
1201,
45,
1237,
51,
43481,
100,
12748,
312,
3281,
24461,
1201,
51,
489,
45,
3281,
39583,
1590,
51,
2165,
1910,
9730,
100,
18672,
4812,
49,
3281,
1189,
11395,
51,
18155,
44545,
365,
494,
244,
54,
53,
53,
53,
49,
3281,
11683,
1201,
10710,
8770,
312,
19075,
2615,
51,
286,
2265,
16971,
45,
2405,
8770,
312,
376,
339,
499,
221,
69,
10689,
20331,
459,
1827,
2570,
678,
222,
221,
69,
1806,
222,
221,
942,
648,
47455,
2037,
45,
8770,
8935,
49,
648,
5748,
49,
648,
1496,
625,
46,
320,
370,
376,
221,
2003,
1805,
299,
556,
5178,
2077,
492,
374,
3281,
7806,
9240,
299,
556,
7806,
45,
2003,
1805,
312,
3281,
9240,
51,
1384,
492,
1332,
221,
620,
15143,
100,
39264,
94,
64,
222,
221,
130,
221,
3038,
221,
2072,
462,
5178,
2077,
4584,
18662,
320,
376,
221,
2072,
2426,
1786,
5270,
2160,
5270,
20952,
64,
376,
221,
2072,
1922,
458,
27306,
299,
920,
64,
1332,
221,
69,
1806,
376,
221,
942,
782,
1441,
365,
320,
8212,
221,
1353,
51,
105,
459,
17300,
63,
3021,
332,
1384,
24616,
4242,
742,
221,
8212,
221,
1287,
320,
313,
621,
221,
1805,
5270,
20952,
299,
556,
2426,
1786,
5270,
45,
58,
54,
53,
61,
312,
283,
374,
221,
130,
2385,
327,
1002,
503,
46,
320,
621,
221,
106,
51,
9428,
492,
621,
221,
1353,
51,
105,
459,
21187,
314,
1515,
126,
63,
3021,
332,
21681,
666,
1496,
742,
45904,
221,
620,
64,
374,
221,
130,
244,
8212,
221,
25124,
1590,
30010,
299,
327,
25124,
1590,
46,
640,
1615,
1201,
45,
1237,
51,
33910,
100,
12748,
312,
374,
221,
11253,
17894,
4645,
5449,
299,
30010,
51,
1315,
11253,
17894,
4645,
459,
1317,
51,
4475,
21406,
51,
21121,
487,
742,
374,
221,
827,
51,
22240,
492,
5033,
374,
221,
325,
2425,
35465,
374,
221,
5544,
1445,
316,
27306,
46,
320,
621,
221,
2278,
1197,
7776,
768,
299,
556,
3447,
96,
54,
55,
61,
988,
621,
221,
768,
1786,
6839,
7776,
6839,
299,
556,
2426,
1786,
6839,
45,
13156,
768,
49,
7776,
768,
51,
1340,
312,
13699,
221,
1287,
320,
596,
221,
1805,
5270,
20952,
51,
13156,
45,
13156,
6839,
312,
621,
221,
130,
2385,
327,
6860,
503,
46,
320,
596,
221,
325,
4314,
7998,
50,
6413,
2385,
2181,
596,
221,
106,
51,
9428,
492,
621,
221,
130,
596,
419,
36499,
2455,
2983,
299,
7776,
6839,
51,
31228,
492,
419,
910,
3141,
299,
556,
910,
45,
13156,
768,
49,
244,
53,
49,
7776,
6839,
51,
30031,
1052,
372,
12949,
2681,
51,
105,
459,
19020,
664,
63,
3021,
332,
2093,
6771,
2093,
5688,
244,
6771,
2485,
312,
12949,
2902,
11709,
39645,
45,
2093,
312,
374,
221,
130,
374,
221,
827,
51,
3794,
492,
376,
221,
130,
596,
376,
221,
325,
7679,
2160,
4739,
376,
221,
2072,
782,
4739,
2077,
365,
320,
374,
221,
316,
27306,
299,
878,
64,
374,
221,
1805,
5270,
20952,
51,
2698,
492,
376,
221,
130,
34522,
221,
130,
3038,
221,
2072,
782,
2902,
11709,
39645,
45,
671,
3141,
46,
320,
376,
221,
671,
1197,
6168,
299,
3141,
51,
3045,
459,
422,
742,
376,
221,
671,
1361,
299,
6168,
96,
53,
988,
376,
221,
671,
3116,
299,
6168,
96,
54,
988,
4102,
221,
325,
4807,
341,
4013,
4860,
376,
221,
344,
327,
707,
51,
3591,
459,
1384,
12526,
37964,
53,
54,
2152,
320,
374,
221,
8770,
2302,
2346,
1201,
8770,
299,
556,
11790,
45,
597,
49,
5415,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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,038 | true | 70.253807 | true | true |
CommentReactionController.java | /FileExtraction/Java_unseen/MoeraOrg_moera-node/src/main/java/org/moera/node/rest/CommentReactionController.java | package org.moera.node.rest;
import java.net.URI;
import java.util.UUID;
import javax.inject.Inject;
import javax.transaction.Transactional;
import javax.validation.Valid;
import org.moera.commons.util.LogUtil;
import org.moera.node.auth.Admin;
import org.moera.node.auth.AuthenticationException;
import org.moera.node.auth.UserBlockedException;
import org.moera.node.data.BlockedOperation;
import org.moera.node.data.Comment;
import org.moera.node.data.CommentRepository;
import org.moera.node.data.Reaction;
import org.moera.node.data.ReactionRepository;
import org.moera.node.global.ApiController;
import org.moera.node.global.NoCache;
import org.moera.node.global.RequestContext;
import org.moera.node.liberin.model.CommentReactionAddedLiberin;
import org.moera.node.liberin.model.CommentReactionDeletedLiberin;
import org.moera.node.liberin.model.CommentReactionOperationsUpdatedLiberin;
import org.moera.node.liberin.model.CommentReactionsDeletedAllLiberin;
import org.moera.node.model.ObjectNotFoundFailure;
import org.moera.node.model.ReactionCreated;
import org.moera.node.model.ReactionDescription;
import org.moera.node.model.ReactionInfo;
import org.moera.node.model.ReactionOverride;
import org.moera.node.model.ReactionTotalsInfo;
import org.moera.node.model.ReactionsSliceInfo;
import org.moera.node.model.Result;
import org.moera.node.model.ValidationFailure;
import org.moera.node.operations.BlockedUserOperations;
import org.moera.node.operations.OperationsValidator;
import org.moera.node.operations.ReactionOperations;
import org.moera.node.operations.ReactionTotalOperations;
import org.moera.node.util.ParametrizedLock;
import org.moera.node.util.SafeInteger;
import org.moera.node.util.Transaction;
import org.moera.node.util.Util;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
@ApiController
@RequestMapping("/moera/api/postings/{postingId}/comments/{commentId}/reactions")
@NoCache
public class CommentReactionController {
private static final Logger log = LoggerFactory.getLogger(CommentReactionController.class);
@Inject
private RequestContext requestContext;
@Inject
private ReactionRepository reactionRepository;
@Inject
private CommentRepository commentRepository;
@Inject
private ReactionOperations reactionOperations;
@Inject
private ReactionTotalOperations reactionTotalOperations;
@Inject
private BlockedUserOperations blockedUserOperations;
@Inject
private Transaction tx;
private final ParametrizedLock<UUID> lock = new ParametrizedLock<>();
@PostMapping
public ResponseEntity<ReactionCreated> post(
@PathVariable UUID postingId, @PathVariable UUID commentId,
@Valid @RequestBody ReactionDescription reactionDescription) throws Exception {
log.info("POST /postings/{postingId}/comments/{commentId}/reactions"
+ " (postingId = {}, commentId = {}, negative = {}, emoji = {})",
LogUtil.format(postingId),
LogUtil.format(commentId),
LogUtil.format(reactionDescription.isNegative()),
LogUtil.format(reactionDescription.getEmoji()));
lock.lock(postingId);
try {
return tx.executeWrite(() -> {
Comment comment = commentRepository.findFullByNodeIdAndId(requestContext.nodeId(), commentId)
.orElseThrow(() -> new ObjectNotFoundFailure("comment.not-found"));
if (!comment.getPosting().getId().equals(postingId)) {
throw new ObjectNotFoundFailure("comment.wrong-posting");
}
if (comment.getCurrentRevision().getSignature() == null) {
throw new ValidationFailure("comment.not-signed");
}
reactionOperations.validate(reactionDescription, comment);
if (!requestContext.isPrincipal(comment.getViewE())) {
throw new ObjectNotFoundFailure("comment.not-found");
}
if (!requestContext.isPrincipal(comment.getPosting().getViewE())) {
throw new ObjectNotFoundFailure("posting.not-found");
}
if (!requestContext.isPrincipal(comment.getPosting().getViewCommentsE())) {
throw new ObjectNotFoundFailure("comment.not-found");
}
if (blockedUserOperations.isBlocked(BlockedOperation.REACTION, postingId)) {
throw new UserBlockedException();
}
OperationsValidator.validateOperations(reactionDescription::getPrincipal,
OperationsValidator.COMMENT_REACTION_OPERATIONS, false,
"reactionDescription.operations.wrong-principal");
var liberin = new CommentReactionAddedLiberin(comment);
Reaction reaction = reactionOperations.post(reactionDescription, comment, liberin::setDeletedReaction,
liberin::setAddedReaction);
requestContext.send(liberin);
var totalsInfo = reactionTotalOperations.getInfo(comment);
return ResponseEntity.created(
URI.create(String.format("/postings/%s/comments/%s/reactions/%s",
postingId, comment.getId(), reaction.getId())))
.body(new ReactionCreated(reaction, totalsInfo.getClientInfo(), requestContext));
});
} finally {
lock.unlock(postingId);
}
}
@PutMapping("/{ownerName}")
@Transactional
public ReactionInfo put(@PathVariable UUID postingId, @PathVariable UUID commentId, @PathVariable String ownerName,
@Valid @RequestBody ReactionOverride reactionOverride) {
log.info("PUT /postings/{postingId}/comments/{commentId}/reactions/{ownerName}"
+ " (postingId = {}, commentId = {}, ownerName = {})",
LogUtil.format(postingId), LogUtil.format(commentId), LogUtil.format(ownerName));
Comment comment = commentRepository.findFullByNodeIdAndId(requestContext.nodeId(), commentId)
.orElseThrow(() -> new ObjectNotFoundFailure("comment.not-found"));
if (!requestContext.isPrincipal(comment.getViewE())) {
throw new ObjectNotFoundFailure("comment.not-found");
}
if (!requestContext.isPrincipal(comment.getPosting().getViewE())) {
throw new ObjectNotFoundFailure("posting.not-found");
}
if (!requestContext.isPrincipal(comment.getPosting().getViewCommentsE())) {
throw new ObjectNotFoundFailure("comment.not-found");
}
if (!comment.getPosting().getId().equals(postingId)) {
throw new ObjectNotFoundFailure("comment.wrong-posting");
}
if (reactionOverride.getOperations() != null && !reactionOverride.getOperations().isEmpty()
&& !requestContext.isClient(ownerName)) {
throw new AuthenticationException();
}
if (blockedUserOperations.isBlocked(BlockedOperation.COMMENT, postingId)) {
throw new UserBlockedException();
}
OperationsValidator.validateOperations(reactionOverride::getPrincipal,
OperationsValidator.COMMENT_REACTION_OPERATIONS, false,
"reactionOverride.operations.wrong-principal");
if (reactionOverride.getSeniorOperations() != null && !reactionOverride.getSeniorOperations().isEmpty()
&& !requestContext.isPrincipal(comment.getOverrideReactionE())) {
throw new AuthenticationException();
}
OperationsValidator.validateOperations(reactionOverride::getSeniorPrincipal,
OperationsValidator.COMMENT_REACTION_OPERATIONS, true,
"reactionOverride.seniorOperations.wrong-principal");
if (reactionOverride.getSeniorOperations() != null && !reactionOverride.getSeniorOperations().isEmpty()
&& !requestContext.isPrincipal(comment.getPosting().getOverrideCommentReactionE())) {
throw new AuthenticationException();
}
OperationsValidator.validateOperations(reactionOverride::getMajorPrincipal,
OperationsValidator.COMMENT_REACTION_OPERATIONS, true,
"reactionOverride.majorOperations.wrong-principal");
Reaction reaction = reactionRepository.findByEntryIdAndOwner(comment.getId(), ownerName);
if (reaction == null) {
throw new ObjectNotFoundFailure("reaction.not-found");
}
requestContext.send(new CommentReactionOperationsUpdatedLiberin(comment, reaction));
reactionOverride.toCommentReaction(reaction);
return new ReactionInfo(reaction, requestContext);
}
@GetMapping
@Transactional
public ReactionsSliceInfo getAll(
@PathVariable UUID postingId,
@PathVariable UUID commentId,
@RequestParam(defaultValue = "false") boolean negative,
@RequestParam(required = false) Integer emoji,
@RequestParam(required = false) Long before,
@RequestParam(required = false) Integer limit) {
log.info("GET /postings/{postingId}/comments/{commentId}/reactions"
+ " (postingId = {}, commentId = {}, negative = {} emoji = {} before = {}, limit = {})",
LogUtil.format(postingId), LogUtil.format(commentId), LogUtil.format(negative), LogUtil.format(emoji),
LogUtil.format(before), LogUtil.format(limit));
Comment comment = commentRepository.findFullByNodeIdAndId(requestContext.nodeId(), commentId)
.orElseThrow(() -> new ObjectNotFoundFailure("comment.not-found"));
if (!requestContext.isPrincipal(comment.getViewE())) {
throw new ObjectNotFoundFailure("comment.not-found");
}
if (!requestContext.isPrincipal(comment.getPosting().getViewE())) {
throw new ObjectNotFoundFailure("posting.not-found");
}
if (!requestContext.isPrincipal(comment.getPosting().getViewCommentsE())) {
throw new ObjectNotFoundFailure("comment.not-found");
}
if (!comment.getPosting().getId().equals(postingId)) {
throw new ObjectNotFoundFailure("comment.wrong-posting");
}
if (!requestContext.isPrincipal(comment.getViewReactionsE())) {
return ReactionsSliceInfo.EMPTY;
}
if (negative && !requestContext.isPrincipal(comment.getViewNegativeReactionsE())) {
return ReactionsSliceInfo.EMPTY;
}
limit = limit != null && limit <= ReactionOperations.MAX_REACTIONS_PER_REQUEST
? limit : ReactionOperations.MAX_REACTIONS_PER_REQUEST;
if (limit < 0) {
throw new ValidationFailure("limit.invalid");
}
before = before != null ? before : SafeInteger.MAX_VALUE;
return reactionOperations.getBefore(commentId, negative, emoji, before, limit);
}
@GetMapping("/{ownerName}")
@Transactional
public ReactionInfo get(@PathVariable UUID postingId, @PathVariable UUID commentId, @PathVariable String ownerName) {
log.info("GET /postings/{postingId}/comments/{commentId}/reactions/{ownerName}"
+ " (postingId = {}, commentId = {}, ownerName = {})",
LogUtil.format(postingId), LogUtil.format(commentId), LogUtil.format(ownerName));
Comment comment = commentRepository.findFullByNodeIdAndId(requestContext.nodeId(), commentId)
.orElseThrow(() -> new ObjectNotFoundFailure("comment.not-found"));
if (!requestContext.isPrincipal(comment.getViewE())) {
throw new ObjectNotFoundFailure("comment.not-found");
}
if (!requestContext.isPrincipal(comment.getPosting().getViewE())) {
throw new ObjectNotFoundFailure("posting.not-found");
}
if (!requestContext.isPrincipal(comment.getPosting().getViewCommentsE())) {
throw new ObjectNotFoundFailure("comment.not-found");
}
if (!comment.getPosting().getId().equals(postingId)) {
throw new ObjectNotFoundFailure("comment.wrong-posting");
}
if (!requestContext.isPrincipal(comment.getViewReactionsE()) && !requestContext.isClient(ownerName)) {
return ReactionInfo.ofComment(commentId); // FIXME ugly, return 404
}
Reaction reaction = reactionRepository.findByEntryIdAndOwner(commentId, ownerName);
if (reaction == null
|| !requestContext.isPrincipal(reaction.getViewE())
|| reaction.isNegative() && !requestContext.isPrincipal(comment.getViewNegativeReactionsE())) {
return ReactionInfo.ofComment(commentId); // FIXME ugly, return 404
}
return new ReactionInfo(reaction, requestContext);
}
@DeleteMapping
@Admin
@Transactional
public Result deleteAll(@PathVariable UUID postingId, @PathVariable UUID commentId) {
log.info("DELETE /postings/{postingId}/comments/{commentId}/reactions (postingId = {}, commentId = {})",
LogUtil.format(postingId), LogUtil.format(commentId));
Comment comment = commentRepository.findFullByNodeIdAndId(requestContext.nodeId(), commentId)
.orElseThrow(() -> new ObjectNotFoundFailure("comment.not-found"));
if (!requestContext.isPrincipal(comment.getViewE())) {
throw new ObjectNotFoundFailure("comment.not-found");
}
if (!requestContext.isPrincipal(comment.getPosting().getViewE())) {
throw new ObjectNotFoundFailure("posting.not-found");
}
if (!requestContext.isPrincipal(comment.getPosting().getViewCommentsE())) {
throw new ObjectNotFoundFailure("comment.not-found");
}
if (!comment.getPosting().getId().equals(postingId)) {
throw new ObjectNotFoundFailure("comment.wrong-posting");
}
if (blockedUserOperations.isBlocked(BlockedOperation.COMMENT, postingId)) {
throw new UserBlockedException();
}
reactionRepository.deleteAllByEntryId(commentId, Util.now());
reactionTotalOperations.deleteAllByEntryId(commentId);
requestContext.send(new CommentReactionsDeletedAllLiberin(comment));
return Result.OK;
}
@DeleteMapping("/{ownerName}")
public ReactionTotalsInfo delete(@PathVariable UUID postingId, @PathVariable UUID commentId,
@PathVariable String ownerName) throws Exception {
log.info("DELETE /postings/{postingId}/comments/{commentId}/reactions/{ownerName}"
+ " (postingId = {}, commentId = {}, ownerName = {})",
LogUtil.format(postingId), LogUtil.format(commentId), LogUtil.format(ownerName));
lock.lock(postingId);
try {
return tx.executeWrite(() -> {
Comment comment = commentRepository.findFullByNodeIdAndId(requestContext.nodeId(), commentId)
.orElseThrow(() -> new ObjectNotFoundFailure("comment.not-found"));
if (!requestContext.isPrincipal(comment.getViewE())) {
throw new ObjectNotFoundFailure("comment.not-found");
}
if (!requestContext.isPrincipal(comment.getPosting().getViewE())) {
throw new ObjectNotFoundFailure("posting.not-found");
}
if (!requestContext.isPrincipal(comment.getPosting().getViewCommentsE())) {
throw new ObjectNotFoundFailure("comment.not-found");
}
if (!comment.getPosting().getId().equals(postingId)) {
throw new ObjectNotFoundFailure("comment.wrong-posting");
}
if (blockedUserOperations.isBlocked(BlockedOperation.REACTION, postingId)) {
throw new UserBlockedException();
}
var liberin = new CommentReactionDeletedLiberin(comment);
reactionOperations.delete(ownerName, comment, liberin::setReaction);
requestContext.send(liberin);
return reactionTotalOperations.getInfo(comment).getClientInfo();
});
} finally {
lock.unlock(postingId);
}
}
}
| 17,028 | Java | .java | MoeraOrg/moera-node | 23 | 2 | 0 | 2018-12-19T21:44:34Z | 2024-05-05T22:49:07Z | aed86943efafb2829bdf09c97ba0e9291e3fd41a50d2f87c19e418356e784204 | [] | [
1337,
1105,
51,
794,
3017,
51,
1271,
51,
4756,
64,
222,
222,
485,
1401,
51,
1317,
51,
6344,
64,
222,
485,
1401,
51,
1058,
51,
7604,
64,
222,
485,
3698,
51,
10287,
51,
8836,
64,
222,
485,
3698,
51,
6561,
51,
23416,
64,
222,
485,
3698,
51,
6523,
51,
2320,
64,
222,
222,
485,
1105,
51,
794,
3017,
51,
8381,
51,
1058,
51,
1353,
1747,
64,
222,
485,
1105,
51,
794,
3017,
51,
1271,
51,
2408,
51,
4208,
64,
222,
485,
1105,
51,
794,
3017,
51,
1271,
51,
2408,
51,
8164,
1002,
64,
222,
485,
1105,
51,
794,
3017,
51,
1271,
51,
2408,
51,
1259,
33111,
1002,
64,
222,
485,
1105,
51,
794,
3017,
51,
1271,
51,
624,
51,
33111,
3786,
64,
222,
485,
1105,
51,
794,
3017,
51,
1271,
51,
624,
51,
6327,
64,
222,
485,
1105,
51,
794,
3017,
51,
1271,
51,
624,
51,
6327,
3231,
64,
222,
485,
1105,
51,
794,
3017,
51,
1271,
51,
624,
51,
29275,
64,
222,
485,
1105,
51,
794,
3017,
51,
1271,
51,
624,
51,
29275,
3231,
64,
222,
485,
1105,
51,
794,
3017,
51,
1271,
51,
3277,
51,
2570,
1934,
64,
222,
485,
1105,
51,
794,
3017,
51,
1271,
51,
3277,
51,
2042,
2610,
64,
222,
485,
1105,
51,
794,
3017,
51,
1271,
51,
3277,
51,
38989,
64,
222,
485,
1105,
51,
794,
3017,
51,
1271,
51,
393,
709,
285,
51,
1184,
51,
6327,
29275,
11030,
3776,
709,
285,
64,
222,
485,
1105,
51,
794,
3017,
51,
1271,
51,
393,
709,
285,
51,
1184,
51,
6327,
29275,
13578,
3776,
709,
285,
64,
222,
485,
1105,
51,
794,
3017,
51,
1271,
51,
393,
709,
285,
51,
1184,
51,
6327,
29275,
11212,
9052,
3776,
709,
285,
64,
222,
485,
1105,
51,
794,
3017,
51,
1271,
51,
393,
709,
285,
51,
1184,
51,
6327,
454,
3564,
13578,
1947,
3776,
709,
285,
64,
222,
485,
1105,
51,
794,
3017,
51,
1271,
51,
1184,
51,
976,
5972,
7966,
64,
222,
485,
1105,
51,
794,
3017,
51,
1271,
51,
1184,
51,
29275,
6880,
64,
222,
485,
1105,
51,
794,
3017,
51,
1271,
51,
1184,
51,
29275,
3250,
64,
222,
485,
1105,
51,
794,
3017,
51,
1271,
51,
1184,
51,
29275,
1139,
64,
222,
485,
1105,
51,
794,
3017,
51,
1271,
51,
1184,
51,
29275,
1806,
64,
222,
485,
1105,
51,
794,
3017,
51,
1271,
51,
1184,
51,
29275,
43181,
1139,
64,
222,
485,
1105,
51,
794,
3017,
51,
1271,
51,
1184,
51,
454,
3564,
10297,
1139,
64,
222,
485,
1105,
51,
794,
3017,
51,
1271,
51,
1184,
51,
1413,
64,
222,
485,
1105,
51,
794,
3017,
51,
1271,
51,
1184,
51,
6329,
7966,
64,
222,
485,
1105,
51,
794,
3017,
51,
1271,
51,
14666,
51,
33111,
1259,
11212,
64,
222,
485,
1105,
51,
794,
3017,
51,
1271,
51,
14666,
51,
11212,
7069,
64,
222,
485,
1105,
51,
794,
3017,
51,
1271,
51,
14666,
51,
29275,
11212,
64,
222,
485,
1105,
51,
794,
3017,
51,
1271,
51,
14666,
51,
29275,
4767,
11212,
64,
222,
485,
1105,
51,
794,
3017,
51,
1271,
51,
1058,
51,
23231,
2774,
14047,
4645,
64,
222,
485,
1105,
51,
794,
3017,
51,
1271,
51,
1058,
51,
11684,
3078,
64,
222,
485,
1105,
51,
794,
3017,
51,
1271,
51,
1058,
51,
4331,
64,
222,
485,
1105,
51,
794,
3017,
51,
1271,
51,
1058,
51,
1747,
64,
222,
485,
1105,
51,
12172,
57,
111,
51,
3716,
64,
222,
485,
1105,
51,
12172,
57,
111,
51,
19580,
64,
222,
485,
1105,
51,
4140,
51,
544,
51,
1416,
2234,
64,
222,
485,
1105,
51,
4140,
51,
1857,
51,
2555,
51,
4341,
51,
3422,
4815,
64,
222,
485,
1105,
51,
4140,
51,
1857,
51,
2555,
51,
4341,
51,
26521,
64,
222,
485,
1105,
51,
4140,
51,
1857,
51,
2555,
51,
4341,
51,
25645,
64,
222,
485,
1105,
51,
4140,
51,
1857,
51,
2555,
51,
4341,
51,
35827,
64,
222,
485,
1105,
51,
4140,
51,
1857,
51,
2555,
51,
4341,
51,
9278,
4815,
64,
222,
485,
1105,
51,
4140,
51,
1857,
51,
2555,
51,
4341,
51,
21735,
64,
222,
485,
1105,
51,
4140,
51,
1857,
51,
2555,
51,
4341,
51,
15701,
64,
222,
485,
1105,
51,
4140,
51,
1857,
51,
2555,
51,
4341,
51,
25461,
64,
222,
222,
69,
2570,
1934,
222,
69,
15701,
4229,
794,
3017,
52,
1256,
52,
1545,
2070,
5274,
1545,
318,
625,
3206,
8704,
5274,
3666,
625,
3206,
287,
3564,
678,
222,
69,
2042,
2610,
222,
942,
462,
14523,
29275,
1934,
320,
465,
964,
924,
1175,
7145,
1264,
299,
21818,
51,
10588,
45,
6327,
29275,
1934,
51,
842,
312,
465,
496,
8836,
303,
964,
4463,
1237,
1343,
1237,
64,
465,
496,
8836,
303,
964,
922,
1160,
3231,
26666,
3231,
64,
465,
496,
8836,
303,
964,
14523,
3231,
5101,
3231,
64,
465,
496,
8836,
303,
964,
922,
1160,
11212,
26666,
11212,
64,
465,
496,
8836,
303,
964,
922,
1160,
4767,
11212,
26666,
4767,
11212,
64,
465,
496,
8836,
303,
964,
6579,
337,
1259,
11212,
23593,
1259,
11212,
64,
465,
496,
8836,
303,
964,
11726,
6495,
64,
465,
964,
1175,
2736,
340,
2774,
14047,
4645,
65,
7604,
67,
5449,
299,
556,
2736,
340,
2774,
14047,
4645,
6984,
465,
496,
35827,
303,
581,
22085,
65,
29275,
6880,
67,
2381,
45,
343,
496,
25645,
14286,
35132,
625,
49,
496,
25645,
14286,
5101,
625,
49,
343,
496,
2320,
496,
21735,
922,
1160,
3250,
26666,
3250,
46,
2589,
3284,
320,
603,
1264,
51,
1357,
459,
3719,
536,
1545,
2070,
5274,
1545,
318,
625,
3206,
8704,
5274,
3666,
625,
3206,
287,
3564,
39,
733,
494,
332,
327,
1545,
318,
625,
299,
6680,
5101,
625,
299,
6680,
11058,
299,
6680,
22716,
299,
12794,
411,
419,
2681,
1747,
51,
1664,
45,
1545,
318,
625,
490,
419,
2681,
1747,
51,
1664,
45,
3666,
625,
490,
419,
2681,
1747,
51,
1664,
45,
28694,
3250,
51,
316,
17144,
6198,
419,
2681,
1747,
51,
1664,
45,
28694,
3250,
51,
390,
13905,
5086,
603,
5449,
51,
827,
45,
1545,
318,
625,
312,
310,
1614,
320,
343,
461,
6495,
51,
4540,
2553,
4133,
984,
320,
419,
14523,
5101,
299,
5101,
3231,
51,
1828,
4737,
1103,
26616,
2199,
625,
45,
1375,
1237,
51,
33861,
1046,
5101,
625,
46,
733,
657,
26628,
6562,
4133,
984,
556,
2210,
5972,
7966,
459,
3666,
51,
1226,
50,
6271,
2992,
419,
434,
1445,
3666,
51,
43100,
318,
941,
7068,
941,
3591,
45,
1545,
318,
625,
509,
320,
547,
1440,
556,
2210,
5972,
7966,
459,
3666,
51,
19696,
50,
1545,
318,
742,
419,
339,
419,
434,
327,
3666,
51,
12344,
14021,
941,
390,
7790,
365,
630,
762,
46,
320,
547,
1440,
556,
11348,
7966,
459,
3666,
51,
1226,
50,
2076,
742,
419,
339,
419,
26666,
11212,
51,
4647,
45,
28694,
3250,
49,
5101,
312,
419,
434,
1445,
1375,
1237,
51,
316,
14275,
45,
3666,
51,
28987,
74,
5183,
320,
547,
1440,
556,
2210,
5972,
7966,
459,
3666,
51,
1226,
50,
6271,
742,
419,
339,
419,
434,
1445,
1375,
1237,
51,
316,
14275,
45,
3666,
51,
43100,
318,
941,
28987,
74,
5183,
320,
547,
1440,
556,
2210,
5972,
7966,
459,
1545,
318,
51,
1226,
50,
6271,
742,
419,
339,
419,
434,
1445,
1375,
1237,
51,
316,
14275,
45,
3666,
51,
43100,
318,
941,
28987,
12504,
74,
5183,
320,
547,
1440,
556,
2210,
5972,
7966,
459,
3666,
51,
1226,
50,
6271,
742,
419,
339,
419,
434,
327,
26946,
1259,
11212,
51,
316,
33111,
45,
33111,
3786,
51,
632,
8755,
49,
35132,
625,
509,
320,
547,
1440,
556,
2694,
33111,
1002,
492,
419,
339,
419,
27767,
7069,
51,
4647,
11212,
45,
28694,
3250,
422,
390,
14275,
49,
733,
27767,
7069,
51,
16882,
100,
632,
8755,
100,
13349,
19412,
49,
920,
49,
733,
332,
28694,
3250,
51,
14666,
51,
19696,
50,
24384,
742,
2125,
792,
1045,
709,
285,
299,
556,
14523,
29275,
11030,
3776,
709,
285,
45,
3666,
312,
419,
922,
1160,
26666,
299,
26666,
11212,
51,
1545,
45,
28694,
3250,
49,
5101,
49,
1045,
709,
285,
422,
489,
13578,
29275,
49,
733,
1045,
709,
285,
422,
489,
11030,
29275,
312,
419,
1343,
1237,
51,
2729,
45,
393,
709,
285,
312,
2125,
792,
42139,
1139,
299,
26666,
4767,
11212,
51,
41118,
45,
3666,
312,
419,
461,
22085,
51,
4536,
45,
733,
7417,
51,
1315,
45,
671,
51,
1664,
4229,
1545,
2070,
9731,
120,
52,
8704,
9731,
120,
52,
287,
3564,
9731,
120,
411,
1396,
35132,
625,
49,
5101,
51,
7068,
1046,
26666,
51,
7068,
28237,
733,
657,
1561,
45,
909,
922,
1160,
6880,
45,
28694,
49,
42139,
1139,
51,
19754,
1139,
1046,
1343,
1237,
894,
547,
1141,
310,
339,
8312,
320,
343,
5449,
51,
11203,
45,
1545,
318,
625,
312,
310,
339,
303,
339,
465,
496,
9278,
4815,
4229,
128,
5645,
577,
8531,
303,
496,
23416,
303,
581,
922,
1160,
1139,
4180,
4810,
25645,
14286,
35132,
625,
49,
496,
25645,
14286,
5101,
625,
49,
496,
25645,
910,
7431,
577,
49,
1031,
496,
2320,
496,
21735,
922,
1160,
1806,
26666,
1806,
46,
320,
310,
1264,
51,
1357,
459,
4758,
536,
1545,
2070,
5274,
1545,
318,
625,
3206,
8704,
5274,
3666,
625,
3206,
287,
3564,
5274,
5645,
577,
3864,
733,
494,
332,
327,
1545,
318,
625,
299,
6680,
5101,
625,
299,
6680,
7431,
577,
299,
12794,
411,
419,
2681,
1747,
51,
1664,
45,
1545,
318,
625,
490,
2681,
1747,
51,
1664,
45,
3666,
625,
490,
2681,
1747,
51,
1664,
45,
5645,
577,
894,
603,
14523,
5101,
299,
5101,
3231,
51,
1828,
4737,
1103,
26616,
2199,
625,
45,
1375,
1237,
51,
33861,
1046,
5101,
625,
46,
419,
657,
26628,
6562,
4133,
984,
556,
2210,
5972,
7966,
459,
3666,
51,
1226,
50,
6271,
2992,
310,
434,
1445,
1375,
1237,
51,
316,
14275,
45,
3666,
51,
28987,
74,
5183,
320,
343,
1440,
556,
2210,
5972,
7966,
459,
3666,
51,
1226,
50,
6271,
742,
310,
339,
310,
434,
1445,
1375,
1237,
51,
316,
14275,
45,
3666,
51,
43100,
318,
941,
28987,
74,
5183,
320,
343,
1440,
556,
2210,
5972,
7966,
459,
1545,
318,
51,
1226,
50,
6271,
742,
310,
339,
310,
434,
1445,
1375,
1237,
51,
316,
14275,
45,
3666,
51,
43100,
318,
941,
28987,
12504,
74,
5183,
320,
343,
1440,
556,
2210,
5972,
7966,
459,
3666,
51,
1226,
50,
6271,
742,
310,
339,
310,
434,
1445,
3666,
51,
43100,
318,
941,
7068,
941,
3591,
45,
1545,
318,
625,
509,
320,
343,
1440,
556,
2210,
5972,
7966,
459,
3666,
51,
19696,
50,
1545,
318,
742,
310,
339,
310,
434,
327,
28694,
1806,
51,
390,
11212,
365,
882,
762,
979,
673,
28694,
1806,
51,
390,
11212,
941,
6401,
365,
419,
979,
673,
1375,
1237,
51,
316,
1503,
45,
5645,
577,
509,
320,
343,
1440,
556,
14430,
1002,
492,
310,
339,
310,
434,
327,
26946,
1259,
11212,
51,
316,
33111,
45,
33111,
3786,
51,
16882,
49,
35132,
625,
509,
320,
343,
1440,
556,
2694,
33111,
1002,
492,
310,
339,
310,
27767,
7069,
51,
4647,
11212,
45,
28694,
1806,
422,
390,
14275,
49,
419,
27767,
7069,
51,
16882,
100,
632,
8755,
100,
13349,
19412,
49,
920,
49,
419,
332,
28694,
1806,
51,
14666,
51,
19696,
50,
24384,
742,
310,
434,
327,
28694,
1806,
51,
18721,
291,
3186,
11212,
365,
882,
762,
979,
673,
28694,
1806,
51,
18721,
291,
3186,
11212,
941,
6401,
365,
419,
979,
673,
1375,
1237,
51,
316,
14275,
45,
3666,
51,
390,
1806,
29275,
74,
5183,
320,
343,
1440,
556,
14430,
1002,
492,
310,
339,
310,
27767,
7069,
51,
4647,
11212,
45,
28694,
1806,
422,
18721,
291,
3186,
14275,
49,
419,
27767,
7069,
51,
16882,
100,
632,
8755,
100,
13349,
19412,
49,
878,
49,
419,
332,
28694,
1806,
51,
15500,
3186,
11212,
51,
19696,
50,
24384,
742,
310,
434,
327,
28694,
1806,
51,
18721,
291,
3186,
11212,
365,
882,
762,
979,
673,
28694,
1806,
51,
18721,
291,
3186,
11212,
941,
6401,
365,
419,
979,
673,
1375,
1237,
51,
316,
14275,
45,
3666,
51,
43100,
318,
941,
390,
1806,
6327,
29275,
74,
5183,
320,
343,
1440,
556,
14430,
1002,
492,
310,
339,
310,
27767,
7069,
51,
4647,
11212,
45,
28694,
1806,
422,
390,
14638,
14275,
49,
419,
27767,
7069,
51,
16882,
100,
632,
8755,
100,
13349,
19412,
49,
878,
49,
419,
332,
28694,
1806,
51,
13183,
11212,
51,
19696,
50,
24384,
742,
310,
922,
1160,
26666,
299,
26666,
3231,
51,
20202,
2717,
625,
2199,
6456,
45,
3666,
51,
7068,
1046,
7431,
577,
312,
310,
434,
327,
28694,
630,
762,
46,
320,
343,
1440,
556,
2210,
5972,
7966,
459,
28694,
51,
1226,
50,
6271,
742,
310,
339,
603,
1343,
1237,
51,
2729,
45,
909,
14523,
29275,
11212,
9052,
3776,
709,
285,
45,
3666,
49,
26666,
894,
603,
26666,
1806,
51,
471,
6327,
29275,
45,
28694,
312,
603,
461,
556,
922,
1160,
1139,
45,
28694,
49,
1343,
1237,
312,
303,
339,
465,
496,
26521,
303,
496,
23416,
303,
581,
922,
3564,
10297,
1139,
16721,
45,
343,
496,
25645,
14286,
35132,
625,
49,
343,
496,
25645,
14286,
5101,
625,
49,
343,
496,
25461,
45,
23452,
299,
332,
1886,
678,
1922,
11058,
49,
343,
496,
25461,
45,
3662,
299,
920,
46,
4418,
22716,
49,
343,
496,
25461,
45,
3662,
299,
920,
46,
6374,
2688,
49,
343,
496,
25461,
45,
3662,
299,
920,
46,
4418,
2741,
46,
320,
603,
1264,
51,
1357,
459,
2804,
536,
1545,
2070,
5274,
1545,
318,
625,
3206,
8704,
5274,
3666,
625,
3206,
287,
3564,
39,
733,
494,
332,
327,
1545,
318,
625,
299,
6680,
5101,
625,
299,
6680,
11058,
299,
2172,
22716,
299,
2172,
2688,
299,
6680,
2741,
299,
12794,
411,
419,
2681,
1747,
51,
1664,
45,
1545,
318,
625,
490,
2681,
1747,
51,
1664,
45,
3666,
625,
490,
2681,
1747,
51,
1664,
45,
15327,
490,
2681,
1747,
51,
1664,
45,
13491,
490,
419,
2681,
1747,
51,
1664,
45,
5566,
490,
2681,
1747,
51,
1664,
45,
3262,
894,
603,
14523,
5101,
299,
5101,
3231,
51,
1828,
4737,
1103,
26616,
2199,
625,
45,
1375,
1237,
51,
33861,
1046,
5101,
625,
46,
419,
657,
26628,
6562,
4133,
984,
556,
2210,
5972,
7966,
459,
3666,
51,
1226,
50,
6271,
2992,
310,
434,
1445,
1375,
1237,
51,
316,
14275,
45,
3666,
51,
28987,
74,
5183,
320,
343,
1440,
556,
2210,
5972,
7966,
459,
3666,
51,
1226,
50,
6271,
742,
310,
339,
310,
434,
1445,
1375,
1237,
51,
316,
14275,
45,
3666,
51,
43100,
318,
941,
28987,
74,
5183,
320,
343,
1440,
556,
2210,
5972,
7966,
459,
1545,
318,
51,
1226,
50,
6271,
742,
310,
339,
310,
434,
1445,
1375,
1237,
51,
316,
14275,
45,
3666,
51,
43100,
318,
941,
28987,
12504,
74,
5183,
320,
343,
1440,
556,
2210,
5972,
7966,
459,
3666,
51,
1226,
50,
6271,
742,
310,
339,
310,
434,
1445,
3666,
51,
43100,
318,
941,
7068,
941,
3591,
45,
1545,
318,
625,
509,
320,
343,
1440,
556,
2210,
5972,
7966,
459,
3666,
51,
19696,
50,
1545,
318,
742,
310,
339,
310,
434,
1445,
1375,
1237,
51,
316,
14275,
45,
3666,
51,
28987,
454,
3564,
74,
5183,
320,
343,
461,
922,
3564,
10297,
1139,
51,
13070,
64,
310,
339,
310,
434,
327,
15327,
979,
673,
1375,
1237,
51,
316,
14275,
45,
3666,
51,
28987,
17144,
454,
3564,
74,
5183,
320,
343,
461,
922,
3564,
10297,
1139,
51,
13070,
64,
310,
339,
310,
2741,
299,
2741,
882,
762,
979,
2741,
2527,
922,
1160,
11212,
51,
3470,
100,
632,
8755,
88,
100,
3703,
100,
7921,
419,
1037,
2741,
518,
922,
1160,
11212,
51,
3470,
100,
632,
8755,
88,
100,
3703,
100,
7921,
64,
310,
434,
327,
3262,
350,
244,
53,
46,
320,
343,
1440,
556,
11348,
7966,
459,
3262,
51,
5798,
742,
310,
339,
310,
2688,
299,
2688,
882,
762,
1037,
2688,
518,
21741,
3078,
51,
3470,
100,
5986,
64,
310,
461,
26666,
11212,
51,
390,
5670,
45,
3666,
625,
49,
11058,
49,
22716,
49,
2688,
49,
2741,
312,
303,
339,
465,
496,
26521,
4229,
128,
5645,
577,
8531,
303,
496,
23416,
303,
581,
922,
1160,
1139,
640,
4810,
25645,
14286,
35132,
625,
49,
496,
25645,
14286,
5101,
625,
49,
496,
25645,
910,
7431,
577,
46,
320,
310,
1264,
51,
1357,
459,
2804,
536,
1545,
2070,
5274,
1545,
318,
625,
3206,
8704,
5274,
3666,
625,
3206,
287,
3564,
5274,
5645,
577,
3864,
733,
494,
332,
327,
1545,
318,
625,
299,
6680,
5101,
625,
299,
6680,
7431,
577,
299,
12794,
411,
419,
2681,
1747,
51,
1664,
45,
1545,
318,
625,
490,
2681,
1747,
51,
1664,
45,
3666,
625,
490,
2681,
1747,
51,
1664,
45,
5645,
577,
894,
603,
14523,
5101,
299,
5101,
3231,
51,
1828,
4737,
1103,
26616,
2199,
625,
45,
1375,
1237,
51,
33861,
1046,
5101,
625,
46,
419,
657,
26628,
6562,
4133,
984,
556,
2210,
5972,
7966,
459,
3666,
51,
1226,
50,
6271,
2992,
310,
434,
1445,
1375,
1237,
51,
316,
14275,
45,
3666,
51,
28987,
74,
5183,
320,
343,
1440,
556,
2210,
5972,
7966,
459,
3666,
51,
1226,
50,
6271,
742,
310,
339,
310,
434,
1445,
1375,
1237,
51,
316,
14275,
45,
3666,
51,
43100,
318,
941,
28987,
74,
5183,
320,
343,
1440,
556,
2210,
5972,
7966,
459,
1545,
318,
51,
1226,
50,
6271,
742,
310,
339,
310,
434,
1445,
1375,
1237,
51,
316,
14275,
45,
3666,
51,
43100,
318,
941,
28987,
12504,
74,
5183,
320,
343,
1440,
556,
2210,
5972,
7966,
459,
3666,
51,
1226,
50,
6271,
742,
310,
339,
310,
434,
1445,
3666,
51,
43100,
318,
941,
7068,
941,
3591,
45,
1545,
318,
625,
509,
320,
343,
1440,
556,
2210,
5972,
7966,
459,
3666,
51,
19696,
50,
1545,
318,
742,
310,
339,
310,
434,
1445,
1375,
1237,
51,
316,
14275,
45,
3666,
51,
28987,
454,
3564,
74,
1177,
979,
673,
1375,
1237,
51,
316,
1503,
45,
5645,
577,
509,
320,
343,
461,
922,
1160,
1139,
51,
1048,
6327,
45,
3666,
625,
312,
453,
18352,
42739,
49,
461,
244,
57,
53,
57,
310,
339,
603,
922,
1160,
26666,
299,
26666,
3231,
51,
20202,
2717,
625,
2199,
6456,
45,
3666,
625,
49,
7431,
577,
312,
603,
434,
327,
28694,
630,
762,
419,
1293,
673,
1375,
1237,
51,
316,
14275,
45,
28694,
51,
28987,
74,
1177,
419,
1293,
26666,
51,
316,
17144,
365,
979,
673,
1375,
1237,
51,
316,
14275,
45,
3666,
51,
28987,
17144,
454,
3564,
74,
5183,
320,
343,
461,
922,
1160,
1139,
51,
1048,
6327,
45,
3666,
625,
312,
453,
18352,
42739,
49,
461,
244,
57,
53,
57,
310,
339,
603,
461,
556,
922,
1160,
1139,
45,
28694,
49,
1343,
1237,
312,
303,
339,
465,
496,
3422,
4815,
303,
496,
4208,
303,
496,
23416,
303,
581,
4717,
3081,
1947,
4810,
25645,
14286,
35132,
625,
49,
496,
25645,
14286,
5101,
625,
46,
320,
310,
1264,
51,
1357,
459,
6698,
536,
1545,
2070,
5274,
1545,
318,
625,
3206,
8704,
5274,
3666,
625,
3206,
287,
3564,
327,
1545,
318,
625,
299,
6680,
5101,
625,
299,
12794,
411,
419,
2681,
1747,
51,
1664,
45,
1545,
318,
625,
490,
2681,
1747,
51,
1664,
45,
3666,
625,
894,
603,
14523,
5101,
299,
5101,
3231,
51,
1828,
4737,
1103,
26616,
2199,
625,
45,
1375,
1237,
51,
33861,
1046,
5101,
625,
46,
419,
657,
26628,
6562,
4133,
984,
556,
2210,
5972,
7966,
459,
3666,
51,
1226,
50,
6271,
2992,
310,
434,
1445,
1375,
1237,
51,
316,
14275,
45,
3666,
51,
28987,
74,
5183,
320,
343,
1440,
556,
2210,
5972,
7966,
459,
3666,
51,
1226,
50,
6271,
742,
310,
339,
310,
434,
1445,
1375,
1237,
51,
316,
14275,
45,
3666,
51,
43100,
318,
941,
28987,
74,
5183,
320,
343,
1440,
556,
2210,
5972,
7966,
459,
1545,
318,
51,
1226,
50,
6271,
742,
310,
339,
310,
434,
1445,
1375,
1237,
51,
316,
14275,
45,
3666,
51,
43100,
318,
941,
28987,
12504,
74,
5183,
320,
343,
1440,
556,
2210,
5972,
7966,
459,
3666,
51,
1226,
50,
6271,
742,
310,
339,
310,
434,
1445,
3666,
51,
43100,
318,
941,
7068,
941,
3591,
45,
1545,
318,
625,
509,
320,
343,
1440,
556,
2210,
5972,
7966,
459,
3666,
51,
19696,
50,
1545,
318,
742,
310,
339,
310,
434,
327,
26946,
1259,
11212,
51,
316,
33111,
45,
33111,
3786,
51,
16882,
49,
35132,
625,
509,
320,
343,
1440,
556,
2694,
33111,
1002,
492,
310,
339,
603,
26666,
3231,
51,
2577,
1947,
1103,
2717,
625,
45,
3666,
625,
49,
7292,
51,
2192,
1052,
310,
26666,
4767,
11212,
51,
2577,
1947,
1103,
2717,
625,
45,
3666,
625,
312,
603,
1343,
1237,
51,
2729,
45,
909,
14523,
454,
3564,
13578,
1947,
3776,
709,
285,
45,
3666,
894,
603,
461,
4717,
51,
2966,
64,
303,
339,
465,
496,
3422,
4815,
4229,
128,
5645,
577,
8531,
303,
581,
922,
1160,
43181,
1139,
3081,
4810,
25645,
14286,
35132,
625,
49,
496,
25645,
14286,
5101,
625,
49,
9488,
496,
25645,
910,
7431,
577,
46,
2589,
3284,
320,
603,
1264,
51,
1357,
459,
6698,
536,
1545,
2070,
5274,
1545,
318,
625,
3206,
8704,
5274,
3666,
625,
3206,
287,
3564,
5274,
5645,
577,
3864,
733,
494,
332,
327,
1545,
318,
625,
299,
6680,
5101,
625,
299,
6680,
7431,
577,
299,
12794,
411,
419,
2681,
1747,
51,
1664,
45,
1545,
318,
625,
490,
2681,
1747,
51,
1664,
45,
3666,
625,
490,
2681,
1747,
51,
1664,
45,
5645,
577,
894,
603,
5449,
51,
827,
45,
1545,
318,
625,
312,
310,
1614,
320,
343,
461,
6495,
51,
4540,
2553,
4133,
984,
320,
419,
14523,
5101,
299,
5101,
3231,
51,
1828,
4737,
1103,
26616,
2199,
625,
45,
1375,
1237,
51,
33861,
1046,
5101,
625,
46,
733,
657,
26628,
6562,
4133,
984,
556,
2210,
5972,
7966,
459,
3666,
51,
1226,
50,
6271,
2992,
419,
434,
1445,
1375,
1237,
51,
316,
14275,
45,
3666,
51,
28987,
74,
5183,
320,
547,
1440,
556,
2210,
5972,
7966,
459,
3666,
51,
1226,
50,
6271,
742,
419,
339,
419,
434,
1445,
1375,
1237,
51,
316,
14275,
45,
3666,
51,
43100,
318,
941,
28987,
74,
5183,
320,
547,
1440,
556,
2210,
5972,
7966,
459,
1545,
318,
51,
1226,
50,
6271,
742,
419,
339,
419,
434,
1445,
1375,
1237,
51,
316,
14275,
45,
3666,
51,
43100,
318,
941,
28987,
12504,
74,
5183,
320,
547,
1440,
556,
2210,
5972,
7966,
459,
3666,
51,
1226,
50,
6271,
742,
419,
339,
419,
434,
1445,
3666,
51,
43100,
318,
941,
7068,
941,
3591,
45,
1545,
318,
625,
509,
320,
547,
1440,
556,
2210,
5972,
7966,
459,
3666,
51,
19696,
50,
1545,
318,
742,
419,
339,
419,
434,
327,
26946,
1259,
11212,
51,
316,
33111,
45,
33111,
3786,
51,
632,
8755,
49,
35132,
625,
509,
320,
547,
1440,
556,
2694,
33111,
1002,
492,
419,
339,
2125,
792,
1045,
709,
285,
299,
556,
14523,
29275,
13578,
3776,
709,
285,
45,
3666,
312,
419,
26666,
11212,
51,
2577,
45,
5645,
577,
49,
5101,
49,
1045,
709,
285,
422,
489,
29275,
312,
419,
1343,
1237,
51,
2729,
45,
393,
709,
285,
312,
2125,
461,
26666,
4767,
11212,
51,
41118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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
]
] | 3,754 | true | 66.27907 | true | true |
LdapCreateTableTask.java | /FileExtraction/Java_unseen/open-xchange_appsuite-middleware/com.openexchange.contact.storage.ldap/src/com/openexchange/contact/storage/ldap/database/LdapCreateTableTask.java | /*
* @copyright Copyright (c) OX Software GmbH, Germany <info@open-xchange.com>
* @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.contact.storage.ldap.database;
import static com.openexchange.database.Databases.closeSQLStuff;
import static com.openexchange.tools.sql.DBUtils.tableExists;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.SQLException;
import com.openexchange.contact.storage.ldap.LdapExceptionCodes;
import com.openexchange.database.Databases;
import com.openexchange.exception.OXException;
import com.openexchange.groupware.update.PerformParameters;
import com.openexchange.groupware.update.UpdateExceptionCodes;
import com.openexchange.groupware.update.UpdateTaskAdapter;
/**
* {@link LdapCreateTableTask}
*
* @author <a href="mailto:tobias.friedrich@open-xchange.com">Tobias Friedrich</a>
*/
public class LdapCreateTableTask extends UpdateTaskAdapter {
/**
* Initializes a new {@link LdapCreateTableTask}.
*
* @param dbService
*/
public LdapCreateTableTask() {
super();
}
@Override
public void perform(PerformParameters params) throws OXException {
Connection writeCon = params.getConnection();
PreparedStatement stmt = null;
int rollback = 0;
try {
writeCon.setAutoCommit(false); // BEGIN
rollback = 1;
String[] tableNames = LdapCreateTableService.getTablesToCreate();
String[] createStmts = LdapCreateTableService.getCreateStmts();
for (int i = 0; i < tableNames.length; i++) {
try {
if (tableExists(writeCon, tableNames[i])) {
continue;
}
stmt = writeCon.prepareStatement(createStmts[i]);
stmt.executeUpdate();
} catch (SQLException e) {
throw UpdateExceptionCodes.SQL_PROBLEM.create(e, e.getMessage());
} finally {
Databases.closeSQLStuff(stmt);
}
}
writeCon.commit(); // COMMIT
rollback = 2;
} catch (OXException e) {
throw e;
} catch (Exception e) {
throw LdapExceptionCodes.ERROR.create(e, e.getMessage());
} finally {
closeSQLStuff(stmt);
if (rollback > 0) {
if (rollback == 1) {
Databases.rollback(writeCon);
}
Databases.autocommit(writeCon);
}
}
}
@Override
public String[] getDependencies() {
return new String[] {};
}
}
| 3,448 | Java | .java | open-xchange/appsuite-middleware | 11 | 8 | 0 | 2018-11-16T10:18:56Z | 2022-11-14T14:03:46Z | e52a792ce30a704e6339a9dd6c08167c8b6561ed1a8331cc7b5528546e19c3df | [] | [
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,
5559,
51,
4239,
51,
19406,
51,
4617,
64,
222,
222,
485,
924,
785,
51,
1693,
11435,
51,
4617,
51,
48023,
51,
2698,
3566,
35680,
64,
222,
485,
924,
785,
51,
1693,
11435,
51,
4303,
51,
2622,
51,
2015,
2769,
51,
1292,
7544,
64,
222,
485,
1401,
51,
2622,
51,
2815,
64,
222,
485,
1401,
51,
2622,
51,
32550,
64,
222,
485,
1401,
51,
2622,
51,
20335,
64,
222,
485,
785,
51,
1693,
11435,
51,
5559,
51,
4239,
51,
19406,
51,
33060,
1002,
11971,
64,
222,
485,
785,
51,
1693,
11435,
51,
4617,
51,
48023,
64,
222,
485,
785,
51,
1693,
11435,
51,
3918,
51,
27439,
1002,
64,
222,
485,
785,
51,
1693,
11435,
51,
1382,
1415,
51,
1896,
51,
18901,
3694,
64,
222,
485,
785,
51,
1693,
11435,
51,
1382,
1415,
51,
1896,
51,
2346,
1002,
11971,
64,
222,
485,
785,
51,
1693,
11435,
51,
1382,
1415,
51,
1896,
51,
2346,
2265,
4433,
64,
222,
222,
1350,
222,
338,
3105,
1222,
517,
36944,
48918,
2265,
130,
222,
338,
222,
338,
496,
2133,
350,
102,
995,
366,
16951,
63,
471,
12895,
51,
107,
14055,
16452,
69,
1693,
50,
125,
2357,
51,
527,
432,
724,
12895,
525,
14055,
16452,
396,
102,
67,
222,
588,
222,
942,
462,
517,
36944,
48918,
2265,
2041,
4013,
2265,
4433,
320,
465,
1041,
294,
338,
21010,
331,
556,
3105,
1222,
517,
36944,
48918,
2265,
4037,
294,
338,
294,
338,
496,
772,
3100,
1201,
294,
588,
303,
581,
517,
36944,
48918,
2265,
365,
320,
310,
2615,
492,
303,
339,
465,
496,
1806,
303,
581,
782,
4464,
45,
18901,
3694,
2822,
46,
2589,
565,
93,
1002,
320,
310,
9475,
2886,
628,
299,
2822,
51,
20712,
492,
310,
41894,
16676,
299,
762,
64,
310,
648,
34482,
299,
244,
53,
64,
310,
1614,
320,
343,
2886,
628,
51,
42856,
7937,
45,
1886,
312,
453,
18264,
343,
34482,
299,
244,
54,
64,
1083,
910,
1197,
1877,
4128,
299,
517,
36944,
48918,
1201,
51,
390,
10140,
724,
1940,
492,
343,
910,
1197,
1506,
520,
46654,
299,
517,
36944,
48918,
1201,
51,
390,
1940,
520,
46654,
492,
343,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
1877,
4128,
51,
1340,
64,
613,
2002,
320,
419,
1614,
320,
547,
434,
327,
1292,
7544,
45,
1838,
628,
49,
1877,
4128,
96,
110,
5310,
320,
733,
4056,
64,
547,
339,
547,
16676,
299,
2886,
628,
51,
35425,
45,
1315,
520,
46654,
96,
110,
2004,
547,
16676,
51,
42164,
492,
419,
339,
2385,
327,
20335,
503,
46,
320,
547,
1440,
4013,
1002,
11971,
51,
3566,
100,
2398,
14513,
82,
51,
1315,
45,
106,
49,
503,
51,
7724,
1052,
419,
339,
8312,
320,
547,
6728,
120,
51,
2698,
3566,
35680,
45,
6412,
312,
419,
339,
343,
339,
1083,
2886,
628,
51,
3388,
492,
453,
48925,
343,
34482,
299,
244,
55,
64,
310,
339,
2385,
327,
27439,
1002,
503,
46,
320,
343,
1440,
503,
64,
310,
339,
2385,
327,
1002,
503,
46,
320,
343,
1440,
517,
36944,
1002,
11971,
51,
2946,
51,
1315,
45,
106,
49,
503,
51,
7724,
1052,
310,
339,
8312,
320,
343,
4248,
3566,
35680,
45,
6412,
312,
343,
434,
327,
24631,
868,
244,
53,
46,
320,
419,
434,
327,
24631,
630,
244,
54,
46,
320,
547,
6728,
120,
51,
24631,
45,
1838,
628,
312,
419,
339,
419,
6728,
120,
51,
2853,
3388,
45,
1838,
628,
312,
343,
339,
310,
339,
303,
339,
465,
496,
1806,
303,
581,
910,
1197,
640,
12721,
365,
320,
310,
461,
556,
910,
1197,
5340,
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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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
]
] | 817 | true | 63.341067 | true | true |
ReportListVoAssembler.java | /FileExtraction/Java_unseen/IMS-MAXIMS_openMAXIMS/Source Library/openmaxims_workspace/ValueObjects/src/ims/admin/vo/domain/ReportListVoAssembler.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
* Copyright (C) 1995-2004 IMS MAXIMS plc. All rights reserved.
* IMS Development Environment (version 1.80 build 5589.25814)
* WARNING: DO NOT MODIFY the content of this file
* Generated on 12/10/2015, 13:24
*
*/
package ims.admin.vo.domain;
import ims.vo.domain.DomainObjectMap;
import java.util.HashMap;
import org.hibernate.proxy.HibernateProxy;
/**
* @author Alexie Ursache
*/
public class ReportListVoAssembler
{
/**
* Copy one ValueObject to another
* @param valueObjectDest to be updated
* @param valueObjectSrc to copy values from
*/
public static ims.admin.vo.ReportListVo copy(ims.admin.vo.ReportListVo valueObjectDest, ims.admin.vo.ReportListVo valueObjectSrc)
{
if (null == valueObjectSrc)
{
return valueObjectSrc;
}
valueObjectDest.setID_ReportBo(valueObjectSrc.getID_ReportBo());
valueObjectDest.setIsRIE(valueObjectSrc.getIsRIE());
// templates
valueObjectDest.setTemplates(valueObjectSrc.getTemplates());
// ImsId
valueObjectDest.setImsId(valueObjectSrc.getImsId());
// reportName
valueObjectDest.setReportName(valueObjectSrc.getReportName());
// reportDescription
valueObjectDest.setReportDescription(valueObjectSrc.getReportDescription());
return valueObjectDest;
}
/**
* Create the ValueObject collection to hold the set of DomainObjects.
* This is a convenience method only.
* It is intended to be used when one called to an Assembler is made.
* If more than one call to an Assembler is made then #createReportListVoCollectionFromReportBo(DomainObjectMap, Set) should be used.
* @param domainObjectSet - Set of ims.core.admin.domain.objects.ReportBo objects.
*/
public static ims.admin.vo.ReportListVoCollection createReportListVoCollectionFromReportBo(java.util.Set domainObjectSet)
{
return createReportListVoCollectionFromReportBo(new DomainObjectMap(), domainObjectSet);
}
/**
* Create the ValueObject collection to hold the set of DomainObjects.
* @param map - maps DomainObjects to created ValueObjects
* @param domainObjectSet - Set of ims.core.admin.domain.objects.ReportBo objects.
*/
public static ims.admin.vo.ReportListVoCollection createReportListVoCollectionFromReportBo(DomainObjectMap map, java.util.Set domainObjectSet)
{
ims.admin.vo.ReportListVoCollection voList = new ims.admin.vo.ReportListVoCollection();
if ( null == domainObjectSet )
{
return voList;
}
int rieCount=0;
int activeCount=0;
java.util.Iterator iterator = domainObjectSet.iterator();
while( iterator.hasNext() )
{
ims.core.admin.domain.objects.ReportBo domainObject = (ims.core.admin.domain.objects.ReportBo) iterator.next();
ims.admin.vo.ReportListVo vo = create(map, domainObject);
if (vo != null)
voList.add(vo);
if (domainObject != null)
{
if (domainObject.getIsRIE() != null && domainObject.getIsRIE().booleanValue() == true)
rieCount++;
else
activeCount++;
}
}
voList.setRieCount(rieCount);
voList.setActiveCount(activeCount);
return voList;
}
/**
* Create the ValueObject collection to hold the list of DomainObjects.
* @param domainObjectList - List of ims.core.admin.domain.objects.ReportBo objects.
*/
public static ims.admin.vo.ReportListVoCollection createReportListVoCollectionFromReportBo(java.util.List domainObjectList)
{
return createReportListVoCollectionFromReportBo(new DomainObjectMap(), domainObjectList);
}
/**
* Create the ValueObject collection to hold the list of DomainObjects.
* @param map - maps DomainObjects to created ValueObjects
* @param domainObjectList - List of ims.core.admin.domain.objects.ReportBo objects.
*/
public static ims.admin.vo.ReportListVoCollection createReportListVoCollectionFromReportBo(DomainObjectMap map, java.util.List domainObjectList)
{
ims.admin.vo.ReportListVoCollection voList = new ims.admin.vo.ReportListVoCollection();
if ( null == domainObjectList )
{
return voList;
}
int rieCount=0;
int activeCount=0;
for (int i = 0; i < domainObjectList.size(); i++)
{
ims.core.admin.domain.objects.ReportBo domainObject = (ims.core.admin.domain.objects.ReportBo) domainObjectList.get(i);
ims.admin.vo.ReportListVo vo = create(map, domainObject);
if (vo != null)
voList.add(vo);
if (domainObject != null)
{
if (domainObject.getIsRIE() != null && domainObject.getIsRIE().booleanValue() == true)
rieCount++;
else
activeCount++;
}
}
voList.setRieCount(rieCount);
voList.setActiveCount(activeCount);
return voList;
}
/**
* Create the ims.core.admin.domain.objects.ReportBo set from the value object collection.
* @param domainFactory - used to create existing (persistent) domain objects.
* @param voCollection - the collection of value objects
*/
public static java.util.Set extractReportBoSet(ims.domain.ILightweightDomainFactory domainFactory, ims.admin.vo.ReportListVoCollection voCollection)
{
return extractReportBoSet(domainFactory, voCollection, null, new HashMap());
}
public static java.util.Set extractReportBoSet(ims.domain.ILightweightDomainFactory domainFactory, ims.admin.vo.ReportListVoCollection voCollection, java.util.Set domainObjectSet, HashMap domMap)
{
int size = (null == voCollection) ? 0 : voCollection.size();
if (domainObjectSet == null)
{
domainObjectSet = new java.util.HashSet();
}
java.util.Set newSet = new java.util.HashSet();
for(int i=0; i<size; i++)
{
ims.admin.vo.ReportListVo vo = voCollection.get(i);
ims.core.admin.domain.objects.ReportBo domainObject = ReportListVoAssembler.extractReportBo(domainFactory, vo, domMap);
//TODO: This can only occur in the situation of a stale object exception. For now leave it to the Interceptor to handle it.
if (domainObject == null)
{
continue;
}
//Trying to avoid the hibernate collection being marked as dirty via its public interface methods. (like add)
if (!domainObjectSet.contains(domainObject)) domainObjectSet.add(domainObject);
newSet.add(domainObject);
}
java.util.Set removedSet = new java.util.HashSet();
java.util.Iterator iter = domainObjectSet.iterator();
//Find out which objects need to be removed
while (iter.hasNext())
{
ims.domain.DomainObject o = (ims.domain.DomainObject)iter.next();
if ((o == null || o.getIsRIE() == null || !o.getIsRIE().booleanValue()) && !newSet.contains(o))
{
removedSet.add(o);
}
}
iter = removedSet.iterator();
//Remove the unwanted objects
while (iter.hasNext())
{
domainObjectSet.remove(iter.next());
}
return domainObjectSet;
}
/**
* Create the ims.core.admin.domain.objects.ReportBo list from the value object collection.
* @param domainFactory - used to create existing (persistent) domain objects.
* @param voCollection - the collection of value objects
*/
public static java.util.List extractReportBoList(ims.domain.ILightweightDomainFactory domainFactory, ims.admin.vo.ReportListVoCollection voCollection)
{
return extractReportBoList(domainFactory, voCollection, null, new HashMap());
}
public static java.util.List extractReportBoList(ims.domain.ILightweightDomainFactory domainFactory, ims.admin.vo.ReportListVoCollection voCollection, java.util.List domainObjectList, HashMap domMap)
{
int size = (null == voCollection) ? 0 : voCollection.size();
if (domainObjectList == null)
{
domainObjectList = new java.util.ArrayList();
}
for(int i=0; i<size; i++)
{
ims.admin.vo.ReportListVo vo = voCollection.get(i);
ims.core.admin.domain.objects.ReportBo domainObject = ReportListVoAssembler.extractReportBo(domainFactory, vo, domMap);
//TODO: This can only occur in the situation of a stale object exception. For now leave it to the Interceptor to handle it.
if (domainObject == null)
{
continue;
}
int domIdx = domainObjectList.indexOf(domainObject);
if (domIdx == -1)
{
domainObjectList.add(i, domainObject);
}
else if (i != domIdx && i < domainObjectList.size())
{
Object tmp = domainObjectList.get(i);
domainObjectList.set(i, domainObjectList.get(domIdx));
domainObjectList.set(domIdx, tmp);
}
}
//Remove all ones in domList where index > voCollection.size() as these should
//now represent the ones removed from the VO collection. No longer referenced.
int i1=domainObjectList.size();
while (i1 > size)
{
domainObjectList.remove(i1-1);
i1=domainObjectList.size();
}
return domainObjectList;
}
/**
* Create the ValueObject from the ims.core.admin.domain.objects.ReportBo object.
* @param domainObject ims.core.admin.domain.objects.ReportBo
*/
public static ims.admin.vo.ReportListVo create(ims.core.admin.domain.objects.ReportBo domainObject)
{
if (null == domainObject)
{
return null;
}
DomainObjectMap map = new DomainObjectMap();
return create(map, domainObject);
}
/**
* Create the ValueObject from the ims.core.admin.domain.objects.ReportBo object.
* @param map DomainObjectMap of DomainObjects to already created ValueObjects.
* @param domainObject
*/
public static ims.admin.vo.ReportListVo create(DomainObjectMap map, ims.core.admin.domain.objects.ReportBo domainObject)
{
if (null == domainObject)
{
return null;
}
// check if the domainObject already has a valueObject created for it
ims.admin.vo.ReportListVo valueObject = (ims.admin.vo.ReportListVo) map.getValueObject(domainObject, ims.admin.vo.ReportListVo.class);
if ( null == valueObject )
{
valueObject = new ims.admin.vo.ReportListVo(domainObject.getId(), domainObject.getVersion());
map.addValueObject(domainObject, valueObject);
valueObject = insert(map, valueObject, domainObject);
}
return valueObject;
}
/**
* Update the ValueObject with the Domain Object.
* @param valueObject to be updated
* @param domainObject ims.core.admin.domain.objects.ReportBo
*/
public static ims.admin.vo.ReportListVo insert(ims.admin.vo.ReportListVo valueObject, ims.core.admin.domain.objects.ReportBo domainObject)
{
if (null == domainObject)
{
return valueObject;
}
DomainObjectMap map = new DomainObjectMap();
return insert(map, valueObject, domainObject);
}
/**
* Update the ValueObject with the Domain Object.
* @param map DomainObjectMap of DomainObjects to already created ValueObjects.
* @param valueObject to be updated
* @param domainObject ims.core.admin.domain.objects.ReportBo
*/
public static ims.admin.vo.ReportListVo insert(DomainObjectMap map, ims.admin.vo.ReportListVo valueObject, ims.core.admin.domain.objects.ReportBo domainObject)
{
if (null == domainObject)
{
return valueObject;
}
if (null == map)
{
map = new DomainObjectMap();
}
valueObject.setID_ReportBo(domainObject.getId());
valueObject.setIsRIE(domainObject.getIsRIE());
// If this is a recordedInError record, and the domainObject
// value isIncludeRecord has not been set, then we return null and
// not the value object
if (valueObject.getIsRIE() != null && valueObject.getIsRIE().booleanValue() == true && !domainObject.isIncludeRecord())
return null;
// If this is not a recordedInError record, and the domainObject
// value isIncludeRecord has been set, then we return null and
// not the value object
if ((valueObject.getIsRIE() == null || valueObject.getIsRIE().booleanValue() == false) && domainObject.isIncludeRecord())
return null;
// templates
valueObject.setTemplates(ims.admin.vo.domain.ReportTemplateLiteVoAssembler.createReportTemplateLiteVoCollectionFromTemplateBo(map, domainObject.getTemplates()) );
// ImsId
valueObject.setImsId(domainObject.getImsId());
// reportName
valueObject.setReportName(domainObject.getReportName());
// reportDescription
valueObject.setReportDescription(domainObject.getReportDescription());
return valueObject;
}
/**
* Create the domain object from the value object.
* @param domainFactory - used to create existing (persistent) domain objects.
* @param valueObject - extract the domain object fields from this.
*/
public static ims.core.admin.domain.objects.ReportBo extractReportBo(ims.domain.ILightweightDomainFactory domainFactory, ims.admin.vo.ReportListVo valueObject)
{
return extractReportBo(domainFactory, valueObject, new HashMap());
}
public static ims.core.admin.domain.objects.ReportBo extractReportBo(ims.domain.ILightweightDomainFactory domainFactory, ims.admin.vo.ReportListVo valueObject, HashMap domMap)
{
if (null == valueObject)
{
return null;
}
Integer id = valueObject.getID_ReportBo();
ims.core.admin.domain.objects.ReportBo domainObject = null;
if ( null == id)
{
if (domMap.get(valueObject) != null)
{
return (ims.core.admin.domain.objects.ReportBo)domMap.get(valueObject);
}
// ims.admin.vo.ReportListVo ID_ReportBo field is unknown
domainObject = new ims.core.admin.domain.objects.ReportBo();
domMap.put(valueObject, domainObject);
}
else
{
String key = (valueObject.getClass().getName() + "__" + valueObject.getID_ReportBo());
if (domMap.get(key) != null)
{
return (ims.core.admin.domain.objects.ReportBo)domMap.get(key);
}
domainObject = (ims.core.admin.domain.objects.ReportBo) domainFactory.getDomainObject(ims.core.admin.domain.objects.ReportBo.class, id );
//TODO: Not sure how this should be handled. Effectively it must be a staleobject exception, but maybe should be handled as that further up.
if (domainObject == null)
return null;
domMap.put(key, domainObject);
}
domainObject.setVersion(valueObject.getVersion_ReportBo());
domainObject.setTemplates(ims.admin.vo.domain.ReportTemplateLiteVoAssembler.extractTemplateBoSet(domainFactory, valueObject.getTemplates(), domainObject.getTemplates(), domMap));
domainObject.setImsId(valueObject.getImsId());
//This is to overcome a bug in both Sybase and Oracle which prevents them from storing an empty string correctly
//Sybase stores it as a single space, Oracle stores it as NULL. This fix will make them consistent at least.
if (valueObject.getReportName() != null && valueObject.getReportName().equals(""))
{
valueObject.setReportName(null);
}
domainObject.setReportName(valueObject.getReportName());
//This is to overcome a bug in both Sybase and Oracle which prevents them from storing an empty string correctly
//Sybase stores it as a single space, Oracle stores it as NULL. This fix will make them consistent at least.
if (valueObject.getReportDescription() != null && valueObject.getReportDescription().equals(""))
{
valueObject.setReportDescription(null);
}
domainObject.setReportDescription(valueObject.getReportDescription());
return domainObject;
}
}
| 17,211 | Java | .java | IMS-MAXIMS/openMAXIMS | 61 | 50 | 23 | 2014-06-12T12:04:02Z | 2020-07-31T09:34:49Z | 10ae6315de360e53619e97304bd2b01b89beacc7021e1fcc7591e1d1c317bb50 | [] | [
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,
1127,
222,
338,
1369,
1361,
1616,
4741,
222,
338,
2657,
327,
72,
46,
244,
54,
62,
62,
58,
50,
55,
53,
53,
57,
457,
2758,
7490,
2348,
88,
1302,
104,
51,
3381,
4760,
5225,
51,
222,
338,
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,
338,
18226,
63,
4103,
2387,
24110,
341,
1813,
451,
477,
822,
222,
338,
13046,
563,
244,
54,
55,
52,
54,
53,
52,
55,
53,
54,
58,
49,
244,
54,
56,
63,
55,
57,
222,
338,
222,
588,
222,
1337,
3987,
120,
51,
2317,
51,
2103,
51,
4136,
64,
222,
222,
485,
3987,
120,
51,
2103,
51,
4136,
51,
5048,
976,
1225,
64,
222,
485,
1401,
51,
1058,
51,
8263,
64,
222,
222,
485,
1105,
51,
20294,
51,
5881,
51,
39036,
5401,
64,
222,
222,
1350,
222,
338,
496,
2133,
21199,
1093,
650,
3685,
914,
222,
588,
222,
942,
462,
9094,
739,
12536,
24277,
222,
128,
682,
221,
1350,
376,
338,
2406,
1611,
3867,
976,
391,
4691,
376,
338,
496,
772,
804,
976,
5088,
391,
545,
4478,
376,
338,
496,
772,
804,
976,
8564,
391,
1948,
2102,
664,
376,
588,
376,
581,
924,
3987,
120,
51,
2317,
51,
2103,
51,
4158,
739,
12536,
1948,
45,
16178,
51,
2317,
51,
2103,
51,
4158,
739,
12536,
804,
976,
5088,
49,
3987,
120,
51,
2317,
51,
2103,
51,
4158,
739,
12536,
804,
976,
8564,
46,
4517,
320,
4107,
221,
344,
327,
1710,
630,
804,
976,
8564,
46,
4517,
221,
128,
374,
221,
620,
804,
976,
8564,
64,
376,
221,
130,
376,
221,
872,
976,
5088,
51,
489,
798,
100,
4158,
5558,
45,
872,
976,
8564,
51,
37541,
100,
4158,
5558,
1052,
3281,
804,
976,
5088,
51,
31022,
87,
4007,
45,
872,
976,
8564,
51,
43448,
87,
4007,
1052,
376,
221,
325,
12881,
376,
221,
872,
976,
5088,
51,
489,
15550,
45,
872,
976,
8564,
51,
390,
15550,
1052,
376,
221,
325,
457,
893,
625,
376,
221,
872,
976,
5088,
51,
489,
78,
893,
625,
45,
872,
976,
8564,
51,
390,
78,
893,
625,
1052,
376,
221,
325,
3652,
577,
376,
221,
872,
976,
5088,
51,
489,
4158,
577,
45,
872,
976,
8564,
51,
390,
4158,
577,
1052,
376,
221,
325,
3652,
3250,
376,
221,
872,
976,
5088,
51,
489,
4158,
3250,
45,
872,
976,
8564,
51,
390,
4158,
3250,
1052,
4107,
221,
620,
804,
976,
5088,
64,
376,
339,
46413,
221,
1350,
376,
338,
2673,
341,
3867,
976,
4512,
391,
7649,
341,
758,
451,
14064,
6699,
51,
376,
338,
1369,
458,
331,
25681,
1431,
1773,
51,
376,
338,
2048,
458,
14217,
391,
545,
1674,
1429,
1611,
3845,
391,
619,
2915,
14487,
458,
5610,
51,
27040,
338,
1691,
1851,
2806,
1611,
1495,
391,
619,
2915,
14487,
458,
5610,
1636,
607,
1315,
4158,
739,
12536,
2272,
1811,
4158,
5558,
45,
5048,
976,
1225,
49,
1776,
46,
1414,
545,
1674,
51,
376,
338,
496,
772,
5900,
976,
903,
449,
1776,
451,
3987,
120,
51,
1284,
51,
2317,
51,
4136,
51,
5754,
51,
4158,
5558,
4706,
51,
376,
588,
222,
221,
942,
924,
3987,
120,
51,
2317,
51,
2103,
51,
4158,
739,
12536,
2272,
1506,
4158,
739,
12536,
2272,
1811,
4158,
5558,
45,
1874,
51,
1058,
51,
903,
5900,
976,
903,
46,
15767,
221,
128,
376,
221,
620,
1506,
4158,
739,
12536,
2272,
1811,
4158,
5558,
45,
909,
14064,
976,
1225,
1046,
5900,
976,
903,
312,
222,
221,
130,
3038,
221,
1350,
376,
338,
2673,
341,
3867,
976,
4512,
391,
7649,
341,
758,
451,
14064,
6699,
51,
376,
338,
496,
772,
2010,
449,
14302,
14064,
6699,
391,
3290,
3867,
6699,
376,
338,
496,
772,
5900,
976,
903,
449,
1776,
451,
3987,
120,
51,
1284,
51,
2317,
51,
4136,
51,
5754,
51,
4158,
5558,
4706,
51,
376,
588,
222,
221,
942,
924,
3987,
120,
51,
2317,
51,
2103,
51,
4158,
739,
12536,
2272,
1506,
4158,
739,
12536,
2272,
1811,
4158,
5558,
45,
5048,
976,
1225,
2010,
49,
1401,
51,
1058,
51,
903,
5900,
976,
903,
46,
15767,
221,
128,
376,
221,
16178,
51,
2317,
51,
2103,
51,
4158,
739,
12536,
2272,
9180,
739,
299,
556,
3987,
120,
51,
2317,
51,
2103,
51,
4158,
739,
12536,
2272,
492,
376,
221,
344,
327,
762,
630,
5900,
976,
903,
848,
4517,
221,
128,
374,
221,
620,
9180,
739,
64,
376,
221,
130,
376,
221,
429,
244,
4084,
1552,
66,
53,
64,
376,
221,
429,
4537,
1552,
66,
53,
64,
376,
221,
1874,
51,
1058,
51,
5740,
10033,
299,
5900,
976,
903,
51,
5174,
492,
376,
221,
5544,
45,
10033,
51,
16408,
365,
848,
4517,
221,
128,
374,
221,
16178,
51,
1284,
51,
2317,
51,
4136,
51,
5754,
51,
4158,
5558,
5900,
976,
299,
327,
16178,
51,
1284,
51,
2317,
51,
4136,
51,
5754,
51,
4158,
5558,
46,
10033,
51,
1995,
492,
374,
221,
16178,
51,
2317,
51,
2103,
51,
4158,
739,
12536,
9180,
299,
1506,
45,
1130,
49,
5900,
976,
312,
8212,
221,
344,
327,
2103,
882,
762,
46,
621,
221,
2103,
739,
51,
688,
45,
2103,
312,
30358,
221,
344,
327,
4136,
976,
882,
762,
46,
374,
221,
128,
1017,
621,
221,
344,
327,
4136,
976,
51,
43448,
87,
4007,
365,
882,
762,
979,
5900,
976,
51,
43448,
87,
4007,
941,
4412,
899,
365,
630,
878,
46,
596,
221,
4084,
1552,
3348,
621,
221,
728,
596,
221,
2498,
1552,
3348,
374,
221,
130,
376,
221,
130,
376,
221,
2103,
739,
51,
489,
87,
1093,
1552,
45,
4084,
1552,
312,
376,
221,
2103,
739,
51,
46094,
1552,
45,
2498,
1552,
312,
376,
221,
620,
9180,
739,
64,
222,
221,
130,
499,
221,
1350,
376,
338,
2673,
341,
3867,
976,
4512,
391,
7649,
341,
1168,
451,
14064,
6699,
51,
376,
338,
496,
772,
5900,
976,
739,
449,
1701,
451,
3987,
120,
51,
1284,
51,
2317,
51,
4136,
51,
5754,
51,
4158,
5558,
4706,
51,
376,
588,
222,
221,
942,
924,
3987,
120,
51,
2317,
51,
2103,
51,
4158,
739,
12536,
2272,
1506,
4158,
739,
12536,
2272,
1811,
4158,
5558,
45,
1874,
51,
1058,
51,
739,
5900,
976,
739,
46,
1676,
221,
128,
376,
221,
620,
1506,
4158,
739,
12536,
2272,
1811,
4158,
5558,
45,
909,
14064,
976,
1225,
1046,
5900,
976,
739,
312,
222,
221,
130,
3038,
221,
1350,
376,
338,
2673,
341,
3867,
976,
4512,
391,
7649,
341,
1168,
451,
14064,
6699,
51,
376,
338,
496,
772,
2010,
449,
14302,
14064,
6699,
391,
3290,
3867,
6699,
376,
338,
496,
772,
5900,
976,
739,
449,
1701,
451,
3987,
120,
51,
1284,
51,
2317,
51,
4136,
51,
5754,
51,
4158,
5558,
4706,
51,
376,
588,
222,
221,
942,
924,
3987,
120,
51,
2317,
51,
2103,
51,
4158,
739,
12536,
2272,
1506,
4158,
739,
12536,
2272,
1811,
4158,
5558,
45,
5048,
976,
1225,
2010,
49,
1401,
51,
1058,
51,
739,
5900,
976,
739,
46,
1676,
221,
128,
376,
221,
16178,
51,
2317,
51,
2103,
51,
4158,
739,
12536,
2272,
9180,
739,
299,
556,
3987,
120,
51,
2317,
51,
2103,
51,
4158,
739,
12536,
2272,
492,
376,
221,
344,
327,
762,
630,
5900,
976,
739,
848,
4517,
221,
128,
374,
221,
620,
9180,
739,
64,
376,
221,
130,
27606,
221,
429,
244,
4084,
1552,
66,
53,
64,
376,
221,
429,
4537,
1552,
66,
53,
64,
376,
221,
999,
327,
429,
613,
299,
244,
53,
64,
613,
350,
5900,
976,
739,
51,
911,
492,
613,
2002,
376,
221,
128,
374,
221,
16178,
51,
1284,
51,
2317,
51,
4136,
51,
5754,
51,
4158,
5558,
5900,
976,
299,
327,
16178,
51,
1284,
51,
2317,
51,
4136,
51,
5754,
51,
4158,
5558,
46,
5900,
976,
739,
51,
390,
45,
110,
312,
374,
221,
16178,
51,
2317,
51,
2103,
51,
4158,
739,
12536,
9180,
299,
1506,
45,
1130,
49,
5900,
976,
312,
2556,
221,
344,
327,
2103,
882,
762,
46,
621,
221,
2103,
739,
51,
688,
45,
2103,
312,
8212,
221,
344,
327,
4136,
976,
882,
762,
46,
374,
221,
128,
621,
221,
344,
327,
4136,
976,
51,
43448,
87,
4007,
365,
882,
762,
979,
5900,
976,
51,
43448,
87,
4007,
941,
4412,
899,
365,
630,
878,
46,
596,
221,
4084,
1552,
3348,
621,
221,
728,
596,
221,
2498,
1552,
3348,
374,
221,
130,
376,
221,
130,
4102,
221,
2103,
739,
51,
489,
87,
1093,
1552,
45,
4084,
1552,
312,
376,
221,
2103,
739,
51,
46094,
1552,
45,
2498,
1552,
312,
376,
221,
620,
9180,
739,
64,
222,
221,
130,
499,
221,
1350,
376,
338,
2673,
341,
3987,
120,
51,
1284,
51,
2317,
51,
4136,
51,
5754,
51,
4158,
5558,
758,
664,
341,
804,
1319,
4512,
51,
376,
338,
496,
772,
5900,
2232,
449,
1674,
391,
1506,
4917,
327,
18581,
46,
5900,
4706,
51,
376,
338,
496,
772,
9180,
2272,
449,
341,
4512,
451,
804,
4706,
221,
4517,
588,
376,
581,
924,
1401,
51,
1058,
51,
903,
6600,
4158,
5558,
903,
45,
16178,
51,
4136,
51,
1484,
712,
3327,
5048,
2232,
5900,
2232,
49,
3987,
120,
51,
2317,
51,
2103,
51,
4158,
739,
12536,
2272,
9180,
2272,
46,
4517,
320,
4107,
221,
620,
6600,
4158,
5558,
903,
45,
4136,
2232,
49,
9180,
2272,
49,
762,
49,
556,
8329,
1052,
376,
339,
4107,
376,
581,
924,
1401,
51,
1058,
51,
903,
6600,
4158,
5558,
903,
45,
16178,
51,
4136,
51,
1484,
712,
3327,
5048,
2232,
5900,
2232,
49,
3987,
120,
51,
2317,
51,
2103,
51,
4158,
739,
12536,
2272,
9180,
2272,
49,
1401,
51,
1058,
51,
903,
5900,
976,
903,
49,
8329,
7593,
1225,
46,
4517,
320,
4107,
221,
429,
1354,
299,
327,
1710,
630,
9180,
2272,
46,
1037,
244,
53,
518,
9180,
2272,
51,
911,
492,
376,
221,
344,
327,
4136,
976,
903,
630,
762,
46,
376,
221,
128,
374,
221,
4136,
976,
903,
299,
556,
1401,
51,
1058,
51,
17163,
492,
3177,
376,
221,
130,
376,
221,
1874,
51,
1058,
51,
903,
556,
903,
299,
556,
1401,
51,
1058,
51,
17163,
492,
376,
221,
999,
45,
429,
613,
66,
53,
64,
613,
65,
911,
64,
613,
2002,
4517,
221,
128,
374,
221,
16178,
51,
2317,
51,
2103,
51,
4158,
739,
12536,
9180,
299,
9180,
2272,
51,
390,
45,
110,
312,
374,
221,
16178,
51,
1284,
51,
2317,
51,
4136,
51,
5754,
51,
4158,
5558,
5900,
976,
299,
9094,
739,
12536,
24277,
51,
8320,
4158,
5558,
45,
4136,
2232,
49,
9180,
49,
7593,
1225,
312,
2556,
221,
325,
10767,
63,
1369,
902,
1773,
13820,
347,
341,
18765,
451,
331,
35590,
1319,
3773,
51,
2643,
2483,
11920,
580,
391,
341,
4821,
9388,
391,
2902,
580,
51,
374,
221,
344,
327,
4136,
976,
630,
762,
46,
374,
221,
128,
621,
221,
7514,
64,
374,
221,
130,
8212,
221,
325,
41964,
391,
7373,
341,
13705,
14436,
4512,
4019,
15168,
641,
25612,
4745,
2840,
581,
2586,
4457,
51,
327,
6257,
1035,
46,
374,
221,
344,
1445,
4136,
976,
903,
51,
4766,
45,
4136,
976,
509,
5900,
976,
903,
51,
688,
45,
4136,
976,
312,
374,
221,
909,
903,
51,
688,
45,
4136,
976,
312,
3177,
376,
221,
130,
376,
221,
1874,
51,
1058,
51,
903,
6563,
903,
299,
556,
1401,
51,
1058,
51,
17163,
492,
376,
221,
1874,
51,
1058,
51,
5740,
3881,
299,
5900,
976,
903,
51,
5174,
492,
376,
221,
325,
4882,
986,
1532,
4706,
1868,
391,
545,
6563,
376,
221,
5544,
327,
1751,
51,
16408,
1177,
376,
221,
128,
374,
221,
16178,
51,
4136,
51,
5048,
976,
356,
299,
327,
16178,
51,
4136,
51,
5048,
976,
46,
1751,
51,
1995,
492,
45062,
221,
344,
1849,
116,
630,
762,
1293,
356,
51,
43448,
87,
4007,
365,
630,
762,
1293,
673,
116,
51,
43448,
87,
4007,
941,
4412,
899,
1177,
979,
673,
909,
903,
51,
4766,
45,
116,
509,
374,
221,
128,
621,
221,
17572,
903,
51,
688,
45,
116,
312,
374,
221,
130,
376,
221,
130,
376,
221,
1751,
299,
6563,
903,
51,
5174,
492,
376,
221,
325,
4926,
341,
725,
32423,
4706,
376,
221,
5544,
327,
1751,
51,
16408,
1177,
376,
221,
128,
374,
221,
4136,
976,
903,
51,
2564,
45,
1751,
51,
1995,
1052,
376,
221,
130,
376,
221,
620,
5900,
976,
903,
64,
221,
4517,
339,
3067,
221,
1350,
376,
338,
2673,
341,
3987,
120,
51,
1284,
51,
2317,
51,
4136,
51,
5754,
51,
4158,
5558,
1168,
664,
341,
804,
1319,
4512,
51,
376,
338,
496,
772,
5900,
2232,
449,
1674,
391,
1506,
4917,
327,
18581,
46,
5900,
4706,
51,
376,
338,
496,
772,
9180,
2272,
449,
341,
4512,
451,
804,
4706,
221,
4517,
588,
376,
581,
924,
1401,
51,
1058,
51,
739,
6600,
4158,
5558,
739,
45,
16178,
51,
4136,
51,
1484,
712,
3327,
5048,
2232,
5900,
2232,
49,
3987,
120,
51,
2317,
51,
2103,
51,
4158,
739,
12536,
2272,
9180,
2272,
46,
4517,
320,
4107,
221,
620,
6600,
4158,
5558,
739,
45,
4136,
2232,
49,
9180,
2272,
49,
762,
49,
556,
8329,
1052,
376,
339,
4107,
376,
581,
924,
1401,
51,
1058,
51,
739,
6600,
4158,
5558,
739,
45,
16178,
51,
4136,
51,
1484,
712,
3327,
5048,
2232,
5900,
2232,
49,
3987,
120,
51,
2317,
51,
2103,
51,
4158,
739,
12536,
2272,
9180,
2272,
49,
1401,
51,
1058,
51,
739,
5900,
976,
739,
49,
8329,
7593,
1225,
46,
4517,
320,
4107,
221,
429,
1354,
299,
327,
1710,
630,
9180,
2272,
46,
1037,
244,
53,
518,
9180,
2272,
51,
911,
492,
376,
221,
344,
327,
4136,
976,
739,
630,
762,
46,
376,
221,
128,
374,
221,
4136,
976,
739,
299,
556,
1401,
51,
1058,
51,
7119,
492,
3177,
376,
221,
130,
376,
221,
999,
45,
429,
613,
66,
53,
64,
613,
65,
911,
64,
613,
2002,
4517,
221,
128,
374,
221,
16178,
51,
2317,
51,
2103,
51,
4158,
739,
12536,
9180,
299,
9180,
2272,
51,
390,
45,
110,
312,
374,
221,
16178,
51,
1284,
51,
2317,
51,
4136,
51,
5754,
51,
4158,
5558,
5900,
976,
299,
9094,
739,
12536,
24277,
51,
8320,
4158,
5558,
45,
4136,
2232,
49,
9180,
49,
7593,
1225,
312,
2556,
221,
325,
10767,
63,
1369,
902,
1773,
13820,
347,
341,
18765,
451,
331,
35590,
1319,
3773,
51,
2643,
2483,
11920,
580,
391,
341,
4821,
9388,
391,
2902,
580,
51,
374,
221,
344,
327,
4136,
976,
630,
762,
46,
374,
221,
128,
621,
221,
7514,
64,
374,
221,
130,
2556,
221,
429,
7593,
6818,
299,
5900,
976,
739,
51,
7149,
45,
4136,
976,
312,
374,
221,
344,
327,
4734,
6818,
630,
449,
54,
46,
374,
221,
128,
621,
221,
4136,
976,
739,
51,
688,
45,
110,
49,
5900,
976,
312,
374,
221,
130,
374,
221,
728,
434,
327,
110,
882,
7593,
6818,
979,
613,
350,
5900,
976,
739,
51,
911,
1177,
374,
221,
128,
621,
221,
976,
3709,
299,
5900,
976,
739,
51,
390,
45,
110,
312,
621,
221,
4136,
976,
739,
51,
489,
45,
110,
49,
5900,
976,
739,
51,
390,
45,
4734,
6818,
894,
621,
221,
4136,
976,
739,
51,
489,
45,
4734,
6818,
49,
3709,
312,
374,
221,
130,
376,
221,
130,
4102,
221,
325,
4926,
1187,
11703,
347,
7593,
739,
2174,
1671,
868,
9180,
2272,
51,
911,
365,
641,
3301,
1414,
376,
221,
325,
2192,
4073,
341,
11703,
6563,
664,
341,
694,
84,
4512,
51,
3155,
8940,
15157,
51,
376,
221,
429,
613,
54,
66,
4136,
976,
739,
51,
911,
492,
376,
221,
5544,
327,
110,
54,
868,
1354,
46,
376,
221,
128,
374,
221,
4136,
976,
739,
51,
2564,
45,
110,
54,
50,
54,
312,
374,
221,
110,
54,
66,
4136,
976,
739,
51,
911,
492,
376,
221,
130,
376,
221,
620,
5900,
976,
739,
64,
221,
4517,
339,
736,
499,
221,
1350,
376,
338,
2673,
341,
3867,
976,
664,
341,
3987,
120,
51,
1284,
51,
2317,
51,
4136,
51,
5754,
51,
4158,
5558,
1319,
51,
376,
338,
496,
772,
5900,
976,
3987,
120,
51,
1284,
51,
2317,
51,
4136,
51,
5754,
51,
4158,
5558,
376,
588,
376,
581,
924,
3987,
120,
51,
2317,
51,
2103,
51,
4158,
739,
12536,
1506,
45,
16178,
51,
1284,
51,
2317,
51,
4136,
51,
5754,
51,
4158,
5558,
5900,
976,
46,
4517,
320,
4107,
221,
344,
327,
1710,
630,
5900,
976,
46,
48814,
221,
128,
374,
221,
620,
762,
64,
376,
221,
130,
376,
221,
5048,
976,
1225,
2010,
299,
556,
14064,
976,
1225,
492,
376,
221,
620,
1506,
45,
1130,
49,
5900,
976,
312,
376,
339,
4107,
376,
1041,
4107,
338,
2673,
341,
3867,
976,
664,
341,
3987,
120,
51,
1284,
51,
2317,
51,
4136,
51,
5754,
51,
4158,
5558,
1319,
51,
4107,
338,
496,
772,
2010,
14064,
976,
1225,
451,
14064,
6699,
391,
3443,
3290,
3867,
6699,
51,
4107,
338,
496,
772,
5900,
976,
4107,
588,
4107,
581,
924,
3987,
120,
51,
2317,
51,
2103,
51,
4158,
739,
12536,
1506,
45,
5048,
976,
1225,
2010,
49,
3987,
120,
51,
1284,
51,
2317,
51,
4136,
51,
5754,
51,
4158,
5558,
5900,
976,
46,
48814,
320,
11794,
221,
221,
344,
327,
1710,
630,
5900,
976,
46,
4517,
36109,
221,
128,
621,
221,
620,
762,
64,
374,
221,
130,
374,
221,
325,
1524,
434,
341,
5900,
976,
3443,
1421,
331,
804,
976,
3290,
456,
580,
374,
221,
16178,
51,
2317,
51,
2103,
51,
4158,
739,
12536,
804,
976,
299,
327,
16178,
51,
2317,
51,
2103,
51,
4158,
739,
12536,
46,
2010,
51,
6693,
976,
45,
4136,
976,
49,
3987,
120,
51,
2317,
51,
2103,
51,
4158,
739,
12536,
51,
842,
312,
374,
221,
344,
327,
762,
630,
804,
976,
848,
8671,
221,
128,
621,
221,
872,
976,
299,
556,
3987,
120,
51,
2317,
51,
2103,
51,
4158,
739,
12536,
45,
4136,
976,
51,
7068,
1046,
5900,
976,
51,
31982,
1052,
621,
221,
1130,
51,
688,
43984,
45,
4136,
976,
49,
804,
976,
312,
5033,
221,
872,
976,
299,
5567,
45,
1130,
49,
804,
976,
49,
5900,
976,
312,
30358,
221,
130,
4107,
221,
221,
620,
804,
976,
64,
4107,
339,
499,
221,
1350,
376,
338,
4013,
341,
3867,
976,
642,
341,
14064,
2210,
51,
376,
338,
496,
772,
804,
976,
391,
545,
4478,
376,
338,
496,
772,
5900,
976,
3987,
120,
51,
1284,
51,
2317,
51,
4136,
51,
5754,
51,
4158,
5558,
376,
588,
376,
581,
924,
3987,
120,
51,
2317,
51,
2103,
51,
4158,
739,
12536,
5567,
45,
16178,
51,
2317,
51,
2103,
51,
4158,
739,
12536,
804,
976,
49,
3987,
120,
51,
1284,
51,
2317,
51,
4136,
51,
5754,
51,
4158,
5558,
5900,
976,
46,
4517,
320,
4107,
221,
344,
327,
1710,
630,
5900,
976,
46,
48814,
221,
128,
374,
221,
620,
804,
976,
64,
376,
221,
130,
376,
221,
5048,
976,
1225,
2010,
299,
556,
14064,
976,
1225,
492,
376,
221,
620,
5567,
45,
1130,
49,
804,
976,
49,
5900,
976,
312,
376,
339,
376,
1676,
221,
1350,
376,
338,
4013,
341,
3867,
976,
642,
341,
14064,
2210,
51,
376,
338,
496,
772,
2010,
14064,
976,
1225,
451,
14064,
6699,
391,
3443,
3290,
3867,
6699,
51,
376,
338,
496,
772,
804,
976,
391,
545,
4478,
376,
338,
496,
772,
5900,
976,
3987,
120,
51,
1284,
51,
2317,
51,
4136,
51,
5754,
51,
4158,
5558,
376,
588,
376,
581,
924,
3987,
120,
51,
2317,
51,
2103,
51,
4158,
739,
12536,
5567,
45,
5048,
976,
1225,
2010,
49,
3987,
120,
51,
2317,
51,
2103,
51,
4158,
739,
12536,
804,
976,
49,
3987,
120,
51,
1284,
51,
2317,
51,
4136,
51,
5754,
51,
4158,
5558,
5900,
976,
46,
4517,
320,
4107,
221,
344,
327,
1710,
630,
5900,
976,
46,
48814,
221,
128,
374,
221,
620,
804,
976,
64,
376,
221,
130,
4107,
221,
344,
327,
1710,
630,
2010,
46,
48814,
221,
128,
374,
221,
1130,
299,
556,
14064,
976,
1225,
492,
376,
221,
130,
1332,
221,
872,
976,
51,
489,
798,
100,
4158,
5558,
45,
4136,
976,
51,
7068,
1052,
376,
221,
872,
976,
51,
31022,
87,
4007,
45,
4136,
976,
51,
43448,
87,
4007,
1052,
4102,
221,
325,
1691,
477,
458,
331,
24006,
402,
943,
3646,
49,
480,
341,
5900,
976,
376,
221,
325,
804,
458,
8518,
3171,
1421,
666,
2602,
758,
49,
1636,
1019,
461,
762,
480,
376,
221,
325,
666,
341,
804,
1319,
376,
221,
344,
327,
872,
976,
51,
43448,
87,
4007,
365,
882,
762,
979,
804,
976,
51,
43448,
87,
4007,
941,
4412,
899,
365,
630,
878,
979,
673,
4136,
976,
51,
316,
8518,
3171,
1177,
374,
221,
620,
762,
64,
23120,
221,
325,
1691,
477,
458,
666,
331,
24006,
402,
943,
3646,
49,
480,
341,
5900,
976,
376,
221,
325,
804,
458,
8518,
3171,
1421,
2602,
758,
49,
1636,
1019,
461,
762,
480,
376,
221,
325,
666,
341,
804,
1319,
376,
221,
344,
1849,
872,
976,
51,
43448,
87,
4007,
365,
630,
762,
1293,
804,
976,
51,
43448,
87,
4007,
941,
4412,
899,
365,
630,
920,
46,
979,
5900,
976,
51,
316,
8518,
3171,
1177,
374,
221,
620,
762,
64,
23120,
221,
325,
12881,
376,
221,
872,
976,
51,
489,
15550,
45,
16178,
51,
2317,
51,
2103,
51,
4136,
51,
4158,
3455,
13662,
12536,
24277,
51,
1315,
4158,
3455,
13662,
12536,
2272,
1811,
3455,
5558,
45,
1130,
49,
5900,
976,
51,
390,
15550,
1177,
1110,
376,
221,
325,
457,
893,
625,
376,
221,
872,
976,
51,
489,
78,
893,
625,
45,
4136,
976,
51,
390,
78,
893,
625,
1052,
376,
221,
325,
3652,
577,
376,
221,
872,
976,
51,
489,
4158,
577,
45,
4136,
976,
51,
390,
4158,
577,
1052,
376,
221,
325,
3652,
3250,
376,
221,
872,
976,
51,
489,
4158,
3250,
45,
4136,
976,
51,
390,
4158,
3250,
1052,
27040,
221,
620,
804,
976,
64,
376,
339,
3067,
221,
1350,
376,
338,
2673,
341,
5900,
1319,
664,
341,
804,
1319,
51,
376,
338,
496,
772,
5900,
2232,
449,
1674,
391,
1506,
4917,
327,
18581,
46,
5900,
4706,
51,
376,
338,
496,
772,
804,
976,
449,
6600,
341,
5900,
1319,
3844,
664,
477,
51,
376,
588,
222,
221,
942,
924,
3987,
120,
51,
1284,
51,
2317,
51,
4136,
51,
5754,
51,
4158,
5558,
6600,
4158,
5558,
45,
16178,
51,
4136,
51,
1484,
712,
3327,
5048,
2232,
5900,
2232,
49,
3987,
120,
51,
2317,
51,
2103,
51,
4158,
739,
12536,
804,
976,
46,
1676,
221,
128,
376,
221,
620,
244,
221,
8320,
4158,
5558,
45,
4136,
2232,
49,
804,
976,
49,
556,
8329,
1052,
222,
221,
130,
499,
221,
942,
924,
3987,
120,
51,
1284,
51,
2317,
51,
4136,
51,
5754,
51,
4158,
5558,
6600,
4158,
5558,
45,
16178,
51,
4136,
51,
1484,
712,
3327,
5048,
2232,
5900,
2232,
49,
3987,
120,
51,
2317,
51,
2103,
51,
4158,
739,
12536,
804,
976,
49,
8329,
7593,
1225,
46,
1676,
221,
128,
376,
221,
344,
327,
1710,
630,
804,
976,
46,
4517,
221,
128,
374,
221,
620,
762,
64,
376,
221,
130,
376,
221,
3078,
828,
299,
804,
976,
51,
37541,
100,
4158,
5558,
492,
376,
221,
16178,
51,
1284,
51,
2317,
51,
4136,
51,
5754,
51,
4158,
5558,
5900,
976,
299,
762,
64,
376,
221,
344,
327,
762,
630,
828,
46,
4517,
221,
128,
374,
221,
344,
327,
4734,
1225,
51,
390,
45,
872,
976,
46,
882,
762,
46,
374,
221,
128,
621,
221,
620,
327,
16178,
51,
1284,
51,
2317,
51,
4136,
51,
5754,
51,
4158,
5558,
46,
4734,
1225,
51,
390,
45,
872,
976,
312,
374,
221,
130,
374,
221,
325,
3987,
120,
51,
2317,
51,
2103,
51,
4158,
739,
12536,
2502,
100,
4158,
5558,
1620,
458,
8675,
374,
221,
4136,
976,
299,
556,
3987,
120,
51,
1284,
51,
2317,
51,
4136,
51,
5754,
51,
4158,
5558,
492,
374,
221,
4734,
1225,
51,
543,
45,
872,
976,
49,
5900,
976,
312,
376,
221,
130,
376,
221,
728,
4517,
221,
128,
374,
221,
671,
1221,
299,
327,
872,
976,
51,
9699,
941,
5175,
365,
494,
9609,
39,
494,
804,
976,
51,
37541,
100,
4158,
5558,
1052,
374,
221,
344,
327,
4734,
1225,
51,
390,
45,
697,
46,
882,
762,
46,
374,
221,
128,
621,
221,
620,
327,
16178,
51,
1284,
51,
2317,
51,
4136,
51,
5754,
51,
4158,
5558,
46,
4734,
1225,
51,
390,
45,
697,
312,
374,
221,
130,
374,
221,
4136,
976,
299,
327,
16178,
51,
1284,
51,
2317,
51,
4136,
51,
5754,
51,
4158,
5558,
46,
5900,
2232,
51,
390,
5048,
976,
45,
16178,
51,
1284,
51,
2317,
51,
4136,
51,
5754,
51,
4158,
5558,
51,
842,
49,
828,
1110,
8212,
221,
325,
10767,
63,
3204,
3673,
2650,
477,
1414,
545,
13748,
51,
19234,
8637,
580,
2315,
545,
331,
35590,
1491,
3773,
49,
1294,
8784,
1414,
545,
13748,
641,
708,
9710,
992,
51,
374,
221,
344,
327,
4136,
976,
630,
762,
46,
12493,
221,
620,
762,
64,
2556,
221,
4734,
1225,
51,
543,
45,
697,
49,
5900,
976,
312,
376,
221,
130,
376,
221,
4136,
976,
51,
489,
2080,
45,
872,
976,
51,
31982,
100,
4158,
5558,
1052,
1332,
221,
4136,
976,
51,
489,
15550,
45,
16178,
51,
2317,
51,
2103,
51,
4136,
51,
4158,
3455,
13662,
12536,
24277,
51,
8320,
3455,
5558,
903,
45,
4136,
2232,
49,
804,
976,
51,
390,
15550,
1046,
5900,
976,
51,
390,
15550,
1046,
7593,
1225,
894,
27606,
221,
4136,
976,
51,
489,
78,
893,
625,
45,
872,
976,
51,
390,
78,
893,
625,
1052,
376,
221,
325,
2287,
458,
391,
2308,
3772,
331,
4845,
347,
4354,
24141,
1460,
480,
17980,
1532,
29066,
3049,
664,
21561,
619,
3517,
821,
8487,
376,
221,
325,
16719,
1460,
15369,
580,
641,
331,
4005,
5153,
49,
17980,
15369,
580,
641,
1199,
51,
1369,
2435,
1118,
1949,
3049,
14500,
840,
6247,
51,
376,
221,
344,
327,
872,
976,
51,
390,
4158,
577,
365,
882,
762,
979,
804,
976,
51,
390,
4158,
577,
941,
3591,
34320,
376,
221,
128,
374,
221,
872,
976,
51,
489,
4158,
577,
45,
1710,
312,
376,
221,
130,
376,
221,
4136,
976,
51,
489,
4158,
577,
45,
872,
976,
51,
390,
4158,
577,
1052,
376,
221,
325,
2287,
458,
391,
2308,
3772,
331,
4845,
347,
4354,
24141,
1460,
480,
17980,
1532,
29066,
3049,
664,
21561,
619,
3517,
821,
8487,
376,
221,
325,
16719,
1460,
15369,
580,
641,
331,
4005,
5153,
49,
17980,
15369,
580,
641,
1199,
51,
1369,
2435,
1118,
1949,
3049,
14500,
840,
6247,
51,
376,
221,
344,
327,
872,
976,
51,
390,
4158,
3250,
365,
882,
762,
979,
804,
976,
51,
390,
4158,
3250,
941,
3591,
34320,
376,
221,
128,
374,
221,
872,
976,
51,
489,
4158,
3250,
45,
1710,
312,
376,
221,
130,
376,
221,
4136,
976,
51,
489,
4158,
3250,
45,
872,
976,
51,
390,
4158,
3250,
1052,
1332,
221,
620,
5900,
976,
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,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