hexsha
stringlengths
40
40
size
int64
8
1.04M
content
stringlengths
8
1.04M
avg_line_length
float64
2.24
100
max_line_length
int64
4
1k
alphanum_fraction
float64
0.25
0.97
f82a39abf1cce172027d4390134ce12f592295fe
3,696
/* * Copyright (c) [2016] [ <ether.camp> ] * This file is part of the ethereumJ library. * * The ethereumJ library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, ...
35.538462
124
0.729437
a439d5b28361ceaadf61ba09533c0a44ec0f2d19
1,744
package com.crowdin.client.framework; import lombok.Data; import lombok.NonNull; import java.util.Collections; import java.util.Map; @Data public class RequestMock { @NonNull private final String url; private final String requestFile; private final String responseFile; @NonNull private final ...
26.424242
115
0.554472
9094c310d71df027222b5b1be8e5602563767ba1
5,472
package com.javarush.test.level20.lesson10.bonus04; import java.io.Serializable; import java.util.AbstractList; import java.util.LinkedList; import java.util.List; import java.util.Queue; /* Свой список Посмотреть, как реализован LinkedList. Элементы следуют так: 1->2->3->4 и так 4->3->2->1 По образу и подобию созда...
29.578378
107
0.567982
907cc62f0c5b6708d0e5165fb3e6f07706834a01
6,878
package net.minecraft.tileentity; import javax.annotation.Nullable; import net.minecraft.block.Block; import net.minecraft.block.BlockState; import net.minecraft.block.Blocks; import net.minecraft.block.CommandBlockBlock; import net.minecraft.command.CommandSource; import net.minecraft.entity.Entity; import net.minecr...
34.562814
218
0.697877
42105426bfceff0c07f4c953ae39270f2c8d6891
1,586
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed u...
42.864865
132
0.80517
3a43aa4e12db295157f1f11cf86003126a9cd251
4,414
package org.grejpfrut.lakon.summarizer.methods.lc; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.List; /** * Class representing lexical chain. * * @author Adam Dudczak */ public class LexicalChain implements Comparable<LexicalChain> { priv...
23.604278
78
0.650204
fce2fa63930a9763f5e6f20ad8da8ea5b9d19416
2,068
package org.mifos.application.servicefacade; import org.mifos.customers.client.business.NameType; import org.mifos.dto.screen.ClientNameDetailDto; public class CreateClientNameDetailDto { private Integer salutation; private String firstName; private String middleName; private String lastName; priv...
26.177215
153
0.631044
d2a5a8a3dcab1d407fc733160f6d3787178ed652
3,864
package com.uyaki.cloud.common.core.enums; /** * @author noone */ public enum MathSymbolEnum { /* 加号 */ PLUS("+"), /* 减号;负号 */ MINUS("-"), /* 正负号 */ PLUS_MINUS("±"), /* × is multiplied by 乘号 */ MULTIPLIED("×"), /* ÷ is d...
16.655172
55
0.416925
fe36c10d21156a032cfafcf6d88ddc1f25dfe014
2,815
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ma...
26.809524
104
0.662167
dd74d231e2c32a067504b2ef8181946f62fafb72
2,910
/* * RptReader.java * * JDBReport Generator * * Copyright (C) 2006-2014 Andrey Kholmanskih * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICE...
26.697248
78
0.704467
d3a7842053693e7edda1a608c07912afa8be3b7f
844
package tk.imdt.aqi; import java.util.ArrayList; import java.util.List; import org.json.JSONArray; import org.json.JSONObject; import tk.imdt.aqi.datastruct.AqiDataNode; import tk.imdt.aqi.utils.Logger; public class AqiData { private final SSLHttp httputil = new SSLHttp(CustomData.getAqiQueryUrl(DataStorage.beijin...
25.575758
94
0.721564
bfd1232654b0de7f746555725e0cdb3916be8286
42,291
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package igtools.gui2; import igtools.gui2.codistances.DistalRecurrencesFrame; import igtools.gui2.codistances.DistalRecurrencesFrame2; import igtools.gui2.codistances.distributions.BiEDistalDistributionsFrame; import ig...
42.978659
149
0.612305
26c9230814d3f3626a99a54c73f82e90c7cbcc4b
622
package com.github.rixwwd.vaccination_scheduler.admin; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.data.jpa.repository.config.EnableJpaAuditing; import org.springframework.security.config.annotation.method.configurat...
34.555556
102
0.861736
a925a30b7d95bbc6104f59abc18d498fdadcf6d0
454
package me.idarkyy.nanocore.listeners; import org.bukkit.Material; import org.bukkit.event.EventHandler; import org.bukkit.event.Listener; import org.bukkit.event.player.PlayerPickupItemEvent; public class PlayerPickupItemListener implements Listener { @EventHandler public void execute(PlayerPickupItemEvent e...
28.375
69
0.744493
31a54e75a40cec7e6b30e8f16c1c767599513462
3,654
/* * The MIT License * * Copyright 2020 kaique.mota. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, mod...
44.024096
124
0.780241
1baf9a11423e0aa7d31abdc111f52ef7db5cbb6d
590
package reservation.service; import java.util.List; import reservation.domain.Reservation; public interface ReservationService { void create(Reservation reservation); Reservation selectOne(String date, int room); List<Reservation> selectAll(); void delete(Reservation reservation); void update(Reservation reserv...
28.095238
62
0.789831
5eb879105ff370dac71981801a023d714273f3c6
239
//: access/SingleImport.java package access; /* Added by Eclipse.py */ import java.util.ArrayList; public class SingleImport { public static void main(String[] args) { ArrayList list = new java.util.ArrayList(); } } ///:~
23.9
48
0.669456
c40f6d097ec895a7cf949261b59c514e65dadecd
1,360
package ch.hslu.AD.SW01.MemoryAllocator; import ch.hslu.AD.SW01.MemoryAllocator.Allocation; import ch.hslu.AD.SW01.MemoryAllocator.Memory; import ch.hslu.AD.SW01.MemoryAllocator.MemorySimple; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; /** * Unit test for simple Ap...
22.666667
55
0.644118
76136d5aecb9c63bd2a9c90e268d9b6c2ef8c0ac
536
/* * Copyright (c) 2022. * Flavio Waser * Version 1.0 */ package ch.hslu.sw06.WaitPoolDemo; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; /** * Demonstration eines Wait-Pools. */ public final class DemoWaitPool { private static final Object LOCK = new Object(); pu...
21.44
78
0.673507
128d59d650f279771928f196b613ee007bc00feb
175
package com.miss.mymvc.core.service; /** * Created By peishengzhang * <p> * At 2018/9/28 */ public interface TestService { String testParam(String p,String q); }
11.666667
40
0.668571
729424111c2e90d28811729a265dbbc265d65ff2
343
package cn.chende.seimi.model; import lombok.Data; import javax.persistence.*; /** * 记录已经访问的url */ @Data @Entity @Table(name="urls",uniqueConstraints = {@UniqueConstraint(columnNames = {"url"})}) public class Urls { @Id @GeneratedValue private Long id; private String url; //对应的 page id ...
13.72
82
0.667638
a4cab29dafda8b6ba34cb640431045ef2c6ec9f4
2,085
/* * @file AboutFragment.java * * Licensed under the Apache License, Version 2.0 (the "License") * http://www.apache.org/licenses/LICENSE-2.0 */ package de.euhm.jlt; import android.annotation.SuppressLint; import android.app.AlertDialog; import android.app.Dialog; import android.content.Context; import android.c...
28.958333
87
0.718465
f92fb2c57523871d2899977b2bc2c9ad1e461d0c
327
package ru.kpecmuk.phone_book; import java.util.Map; /** * @author kpecmuk * @since 15.02.2017 */ interface I_Contact { String getContactName(); int getContactID(); void setContactID(int id); Map<Integer, I_PhoneNumber> getPhoneNumberMap(); I_PhoneNumber getPhoneIDbyNumber(String phoneNumb...
15.571429
57
0.706422
ee232be9f602e87a289cc968c18c11e2f00f4d13
1,197
package com.devbrackets.android.exomedia.core.source.builder; import android.content.Context; import android.net.Uri; import android.os.Handler; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import com.google.android.exoplayer2.source.MediaSource; import com.google.android.exo...
47.88
192
0.819549
32de310d54e5e67059322acc606f572359da97cd
133
package net.xcordio.vmmanagerservice.model; import java.util.List; public class ParametersInfo { public List<String> options; }
14.777778
43
0.781955
f81f4624f613494ab470f041718a722f2840c7f5
1,941
import java.io.*; import java.util.*; import static java.lang.Math.*; import static java.util.Arrays.fill; import static java.util.Arrays.sort; public class Main { public static void main(String[] args) throws IOException { try { if (new File("input.txt").exists()) { System.setIn(new FileInputStream("input.t...
19.806122
60
0.557445
77ba4c52f7906279eab84ef39c3ed543500751ae
2,692
package com.gentics.mesh.maven; import java.util.List; /** * POJO which represents the contents of a maven-metadata.xml */ public class MavenMetadata { private String groupId; private String artifactId; private String version; private int buildNumber; private String timestamp; private boolean snapshot; pri...
16.825
103
0.660847
b4d5c9f66d7154459dc16db5806faf7e949885f5
23,490
package no.dcat.harvester.crawler; import com.google.common.cache.LoadingCache; import no.dcat.datastore.domain.dcat.vocabulary.DCAT; import no.dcat.harvester.DataEnricher; import no.dcat.harvester.DatasetSortRankingCreator; import no.dcat.harvester.crawler.converters.EnhetsregisterResolver; import no.dcat.harvester.s...
37.584
160
0.620221
fe1043c6bee0248a9fdba2eeb1b050a13b9e4c11
921
/** * Copyright (c) 2018, salesforce.com, inc. * All rights reserved. * SPDX-License-Identifier: BSD-3-Clause * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/BSD-3-Clause */ package com.demandware.carbonj.service.db.points; import java.util.List; import com.deman...
31.758621
111
0.767644
2101be6626cf79f48d45f779506163d57eb90ebd
34,218
package com.aliyun.ros.cdk.cloudfw; /** * Properties for defining a `ALIYUN::CLOUDFW::ControlPolicy`. */ @javax.annotation.Generated(value = "jsii-pacmak/1.49.0 (build e322d87)", date = "2021-12-21T15:12:57.105Z") @software.amazon.jsii.Jsii(module = com.aliyun.ros.cdk.cloudfw.$Module.class, fqn = "@alicloud/ros-cdk-...
47.327801
173
0.622479
9224f428f62c7e34f8f1b89751726feaea055bed
3,953
package org.biobrief.jpa; import java.util.List; import java.util.Optional; import javax.sql.DataSource; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.domain.Page; import org.springframework.data.domain.Pageable; import org.springframework.data.jpa.repository.JpaRepos...
21.483696
131
0.689856
1ed796eef194c2ee1dd85518a32abf2ca018b2a6
981
package com.oneandone.iocunit.analyzer.excludedclasses; import javax.enterprise.inject.Produces; import javax.inject.Inject; import com.oneandone.iocunit.analyzer.BaseClass; import com.oneandone.iocunit.analyzer.BaseTest; import com.oneandone.iocunit.analyzer.annotations.TestPackages; import com.oneandone.iocunit.ana...
29.727273
123
0.75841
c029ad01f263f75ddb4e8d59d0d5864621bc930d
7,629
/* * Tencent is pleased to support the open source community by making BK-JOB蓝鲸智云作业平台 available. * * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved. * * BK-JOB蓝鲸智云作业平台 is licensed under the MIT License. * * License for BK-JOB蓝鲸智云作业平台: * ----------------------------------------------...
46.236364
117
0.650282
8e821de36fd3f81f1d28634112537cf80267bfc2
6,375
package com.github.ladicek.jadopa; import java.util.ArrayList; import java.util.List; final class DocCommentParser { private final String text; // always ends with \0, which doesn't appear elsewhere private int index; DocCommentParser(String text) { if (text.indexOf('\0') >= 0) { thr...
31.25
114
0.552627
d5cee9dd7099ddb6ffcba09e442d6c97e0f12d49
3,609
package com.framework; import java.io.BufferedReader; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.nio.charset.Charset; import android.content.Context; import android.content.res.AssetManager...
26.152174
98
0.599335
0f2519f95df8fd1644fa6625fcba757d6c8e728d
554
package org.prebid.server.analytics.model; import lombok.Builder; import lombok.Value; import org.prebid.server.auction.model.AuctionContext; import org.prebid.server.model.HttpRequestContext; import org.prebid.server.proto.response.VideoResponse; import java.util.List; /** * Represents a transaction at /openrtb2/v...
19.103448
56
0.774368
1808f6e9a6a22da37214a8a311d17b175bf3107d
348
package de.peeeq.wurstscript.attributes.prettyPrint; public class MaxOneSpacer implements Spacer { public void addSpace(StringBuilder sb) { String lastChar = sb.toString().substring(sb.length() - 1); if (!lastChar.equals(" ") && !lastChar.equals("(") && !lastChar.equals(".")) { sb.appe...
26.769231
86
0.609195
3be885fcf211d8d2ea562bd51ebc1a094651b910
857
package org.comroid.crystalshard.entity.channel; import org.comroid.api.ContextualProvider; import org.comroid.crystalshard.entity.EntityType; import org.comroid.crystalshard.entity.guild.Guild; import org.comroid.uniform.node.UniObjectNode; import org.comroid.varbind.annotation.RootBind; import org.comroid.varbind.bi...
35.708333
120
0.779463
56551bf8e820a3a20fcd0f3a57fa6ad89f95974d
614
// test class variables class Main { public static void main( String[] args ) { System.out.println( ((((new numerable()).zero()).next()).next()).getValue() ); } } class numerable { int val; public int setValue( int v ) { val = v; return v; } public int getValue() { ...
13.347826
84
0.529316
bcc0f8d2bb6a0bdc8437704da4e179e7b82e200c
908
package com.afrozaar.wordpress.wpapi.v2.model; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonProperty; @JsonInclude(Include.NON_NULL) public class Sizes { @JsonProperty("thumbnail") private Thumbnai...
25.942857
157
0.671806
cbb62ae1b9384d6252b8cdcae01cc387b31b8b67
979
package com.github.shawven.security.verification.config; import com.github.shawven.security.verification.VerificationConstants; /** * @author Shoven * @date 2019-08-16 */ public class SmsConfig extends VerificationConfig { /** * 手机登录拦截url */ private String loginProcessingUrl = VerificationConsta...
18.471698
95
0.645557
ad0caff44facba3596455aecaae7256b086dbb2d
10,475
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
41.56746
135
0.658807
eec2770ab315076fc146a2e4a4ef47b3abff2c10
2,103
package github.nikhilbhutani.zxinglibrary; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.util.Log; import android.view.View; import android.widget.Button; import android.widget.Toast; import com.google.zxing.integr...
37.553571
99
0.655254
61f693361a31c722f84cf888c6c78ec26b0b0e5e
1,615
package ua.com.juja.SearchDemo; import java.util.Arrays; public class SearchDemo { private static int operationCount = 0; private static boolean debug = false; public static void main(String[] args) { int[] arr = new int[] {-78, -54, -23, -10, -8, -6, -4, -2, -1, 1, 3, 5, 67, 78,...
28.839286
90
0.481734
8b62163c2fc02f9c6e24207fab4f63230ac01ad6
835
package com.example.demo.properties.config; import lombok.Data; import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.stereotype.Component; import java.util.List; import java.util.Map; @Data @ConfigurationProperties(prefix = "custom") @Component //WARN: Can't use @Con...
22.567568
75
0.749701
13191b3323b7f99677c2d1d81faa6839aca3ce2d
59,062
// // 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: 2017...
54.135655
417
0.61063
7fe594e52ff3ff5ec7b985267084f20305d6f123
4,765
package spacegame; public class Ship { private final String name; private final String description; private final int metalCost; private final int crystalCost; private final int health; private final int attack; private double offensivePower; private double defensivePower; ...
35.296296
120
0.642392
0e82124ce5b374f2b1e0e6de57d9e942264574fd
1,961
package dev.gigaherz.elementsofpower.gemstones; import net.minecraft.world.item.Rarity; import javax.annotation.Nullable; public enum Quality { ROUGH(0, Rarity.COMMON, 0.9f, "elementsofpower.gemstone.quality.rough", "elementsofpower.gem_container.quality.rough"), COMMON(1, Rarity.COMMON, 1.0f, "elementsofpow...
28.42029
130
0.684855
5a31710043c1e8a76fff4602b737ffd4d312b70a
56
public interface ProcesyKognitywne { void mysl(); }
14
36
0.714286
762db6970bb7e0e8effd3a34107d728fbd69d469
3,819
/* * Copyright 2017 The Netty Project * * The Netty Project licenses this file to you under the Apache License, * version 2.0 (the "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at: * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless ...
38.575758
120
0.682116
a13cf02b686f1ce01d1ef179e6102a43b672c138
2,239
/* remover generico ordenando crescente sem repetidos */ package Prova1; public class LDE <T extends Comparable <T>>{ private Node<T> first; private Node<T> last; private int qtd; public boolean isEmpty(){ return this.qtd == 0; } private Node<T> buscaMelhorada(T value){ ...
31.535211
82
0.475659
ad6d49f8a4d241c35aa2134b9f1d54b66c8a5da7
15,027
/* The MIT License Copyright (c) 2017 Eric E Bardes Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publi...
25.599659
164
0.710987
fa25b6f73a004205a967aabe5a2fee6633d63fdc
1,564
/* * Copyright 2012 Research Studios Austria Forschungsges.m.b.H. Licensed under * the Apache License, Version 2.0 (the "License"); you may not use this file * except in compliance with the License. You may obtain a copy of the License * at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable *...
34
120
0.714194
dc3a3ca4e8298471e06fc307d37a3cdc40da70b3
4,761
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
35.007353
119
0.696492
8aac472f3044ab0562b19a9346492025847510be
1,260
package com.github.bjlhx15.xgen.genconf.vo; import java.util.HashMap; import java.util.List; import java.util.Map; public class ModuleConfModel { private String moduleId = ""; private String useTheme = ""; private Map<String, List<String>> mapNeedGendTypes = new HashMap(); private Map<String, Exten...
23.333333
123
0.722222
9247b2602638b6acb8c413dfdd08eb0a23b14ef6
6,689
package com.obsidiandynamics.scheduler; import java.util.*; import java.util.concurrent.*; import java.util.concurrent.atomic.*; import com.obsidiandynamics.worker.*; /** * A scheduler for dispatching arbitrary tasks. */ public final class TaskScheduler implements Terminable, Joinable { /** Maximum sleep time. ...
30.824885
114
0.654507
b0df26ca34b17383276ab44fc5b6096133042bf0
2,682
package org.innovateuk.ifs.project.financechecks.workflow.financechecks.configuration; import org.innovateuk.ifs.project.finance.resource.ViabilityEvent; import org.innovateuk.ifs.project.finance.resource.ViabilityState; import org.innovateuk.ifs.workflow.WorkflowStateMachineListener; import org.springframework.beans....
41.261538
122
0.715511
ecb7c1cdd92b174627a26d5be343afd0d93259eb
5,130
package com.teamgannon.trips.service.export; import com.teamgannon.trips.dialogs.dataset.FileProcessResult; import com.teamgannon.trips.jpa.model.DataSetDescriptor; import com.teamgannon.trips.jpa.model.StarObject; import com.teamgannon.trips.service.DatabaseManagementService; import com.teamgannon.trips.service.impor...
38.283582
127
0.675828
8a96614bbbe4ded135c82317e5d0d37fe3be716f
2,911
package com.wyt.shopping.service.impl; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.Set; import javax.annotation.Resource; import org.springframework.stereotype.Service; import com.wyt.shopping.mapper.BuyerMapper; import com.wyt.shopping.mapper.ColorMapper; import com.wy...
27.462264
88
0.739608
c72c2675e6cfa26a5075036e1c11307b69ce7e35
663
package tw.fondus.fews.adapter.pi.irrigation.nchc; import org.junit.Test; import tw.fondus.fews.adapter.pi.irrigation.nchc.argument.ParameterArguments; /** * The unit test of IrrigationOptimizeParameterAdapter. * * @author Brad Chen * */ public class IrrigationOptimizeParameterAdapterTest { @Test public void ...
18.942857
77
0.657617
5e6e1aa770f8bccdb3dbb7cda677f8c3642d321e
12,522
package com.king.applib.ui.customview; import android.content.Context; import android.content.res.Resources; import android.content.res.TypedArray; import android.graphics.Bitmap; import android.graphics.Canvas; import android.graphics.PorterDuff; import android.graphics.drawable.BitmapDrawable; import android.graphic...
38.767802
157
0.680243
4516ab439749a23c47bb89d8c448b03d85d32bec
841
/* * Written by wei.Li and released to the public domain * Welcome to correct discussion as explained at * * ----------------------------------------------------------------- * * GitHub: https://github.com/GourdErwa * CSDN : http://blog.csdn.net/xiaohulunb * WeiBo : http://www.weibo.com/xiaohulunb @GourdErw...
23.361111
68
0.562426
cecd1a586a5772adeb386d2aad8ac6db5b882ed5
6,320
package com.gdx.musicevents; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.audio.Music; import com.badlogic.gdx.audio.Music.OnCompletionListener; import com.badlogic.gdx.math.MathUtils; import com.badlogic.gdx.utils.Array; import com.badlogic.gdx.utils.ObjectMap; import com.gdx.musicevents.effects.Effect; impor...
25.179283
105
0.589241
35e74441686523552bc8dab54b67febe6fd4ae31
2,111
package com.curso.extra.collections; import java.util.Map; import java.util.TreeMap; import java.util.function.BiFunction; /** * @author JLIL */ public class TestMapOperations { public static void main(String[] args) { //Map <String, String>config = new HashMap<>(); Map <String, String>config = ...
35.183333
94
0.543818
9fc9402d8fd3776deb090f6e24df83021216530d
1,517
package com.tokimthep.copyscript; import android.app.Activity; import android.content.Context; import android.content.SharedPreferences; public class SharedPref { private static SharedPreferences mSharedPref; public static final String TIME_COPY = "TIME_COPY"; public static final String DATA_COPY = "DATA_...
28.092593
104
0.689519
9c812a4c3e7fa46eacc8aa5011c86a690f446739
6,097
package fibex.structures; import java.util.Collection; import java.util.Iterator; import java.util.LinkedHashSet; import net.asam.xml.fbx.CLUSTERTYPE; import net.asam.xml.fbx.FIBEXDocument; import fibex.protocols.flexray.FibexFlexRayCluster2_0_1; /** * This class implements all functionality of FibexCluster for FIB...
21.392982
141
0.679515
5bbb98b136332d4ff4e81e3699e2a92914de989a
284
package ohi.andre.consolelauncher.tuils.interfaces; import ohi.andre.consolelauncher.commands.specific.RedirectCommand; /** * Created by francescoandreuzzi on 03/03/2017. */ public interface Redirectator { void prepareRedirection(RedirectCommand cmd); void cleanup(); }
20.285714
67
0.774648
ec973460cf27549d687abaca88f2a5c960e87bcd
1,396
package uk.gov.hmcts.reform.fpl.service; import lombok.RequiredArgsConstructor; import net.serenitybdd.rest.SerenityRest; import org.apache.commons.lang3.ObjectUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import uk.gov.hmcts.reform.fpl.model.Email...
32.465116
91
0.716332
73e2222c0eef8244022793cd1efd77bc77b273c2
2,565
/* * (C) Copyright 2006-2008 Nuxeo SA (http://nuxeo.com/) and others. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless re...
26.173469
92
0.653021
b2dbbc083bbd4ce446d53c26cadf698038e88ce6
1,221
package models; import play.data.format.Formats; import play.data.validation.Constraints; import play.data.validation.ValidationError; import play.db.ebean.Model; import javax.persistence.CascadeType; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Id; import javax.persisten...
19.380952
132
0.72973
9f6760826031f1966273dedaf2a9436f44ccccf6
21,493
/** */ package org.talend.designer.core.model.utils.emf.component; import org.eclipse.emf.common.util.EMap; import org.eclipse.emf.ecore.EObject; import org.eclipse.emf.ecore.util.FeatureMap; /** * <!-- begin-user-doc --> * A representation of the model object '<em><b>Document Root</b></em>'. * <!-...
47.975446
176
0.640999
44652f2b83dacf3d65d4c15f2262de48bb199426
1,421
import io.prometheus.client.Counter; import io.prometheus.client.exporter.MetricsServlet; import io.prometheus.client.hotspot.DefaultExports; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.servlet.ServletException; import ...
33.046512
78
0.737509
07558c1a376fb62260d9d1a868df43ca01621554
2,829
package org.motechproject.mds.dto; import org.apache.commons.lang.ArrayUtils; import org.apache.commons.lang.builder.EqualsBuilder; import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.commons.lang.builder.ToStringBuilder; import org.apache.commons.lang.builder.ToStringStyle; import org.codehaus.j...
23.974576
102
0.636621
658000d8c8bb90c21ca1399e306a92efeeec1126
1,869
package br.com.zupacademy.gustavo.proposta.proposta; import br.com.zupacademy.gustavo.proposta.annotation.CampoDuplicado; import br.com.zupacademy.gustavo.proposta.annotation.CpfOuCnpj; import br.com.zupacademy.gustavo.proposta.endereco.Endereco; import javax.validation.constraints.*; import java.math.BigDecimal; pu...
27.895522
112
0.682718
9850f788c4e36b87d5bce3dc1a894a99aa456c03
1,218
package org.dlutcs.nclient_android.adapter; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import android.support.v4.app.FragmentPagerAdapter; import android.support.v4.app.FragmentStatePagerAdapter; import android.view.ViewGroup; import org.dlutcs.nclient_android.fragment.Cate...
25.375
75
0.73399
cc2c69c10c4a5f862fc9aa5493d303c4a578b796
658
package ru.job4j.iterator; import java.util.Iterator; import java.util.NoSuchElementException; public class IterArray implements Iterator<Integer> { private final int[][] array; private int x = 0; private int y = 0; public IterArray(int[][] array) { this.array = array; } @Override ...
19.939394
53
0.541033
2328473a44fe60c0ba0cbdd93f85ffa1ce69d742
6,269
/** DERT is a viewer for digital terrain models created from data collected during NASA missions. DERT is Released in under the NASA Open Source Agreement (NOSA) found in the “LICENSE” folder where you downloaded DERT. DERT includes 3rd Party software. The complete copyright notice listing for DERT is: Copyright © ...
34.445055
112
0.77971
23b9671a9072280123bd1696de94d4fc8970ee91
9,015
package id.ycmlg.absensisiswa.main.chat.chatservices; import android.content.Context; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; import java.util.ArrayList; import java.util.Collections; import java.util.List; import id.ycmlg.absens...
40.066667
231
0.575042
e049ab12a89e68f5ae0806b6f26f29278e7ce689
651
package com.dz.controller.back; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.RequestMapping; @Controller @RequestMapping("/back") public class BackLoginController { @RequestMapping("/toLogin") public String toLogin(){ ...
29.590909
71
0.700461
ddebf1edc3d9ef200fefc41095b1225abb6f8b5b
13,307
package model; import model.factories.PositionFactory; import java.util.*; import java.util.function.Predicate; import static model.Color.*; import static model.EGameStatus.*; import static model.EPositionType.*; import static model.factories.PieceFactory.*; public class Board { private static final int TOTAL_P...
40.570122
151
0.577516
71cc231457b72e4038fb2c363e7441a53e77f0c9
23,480
/* * Copyright 2012 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
43.321033
100
0.685903
a968e60f8b8bb04a75d29557f6d13d793b839522
1,066
package com.jeecg.p3.message.service.impl; import net.sf.json.JSONObject; import org.jeecgframework.p3.core.util.WeiXinHttpUtil; import org.springframework.stereotype.Service; import com.jeecg.p3.message.service.SendGroupMessageService; import com.jeecg.p3.weixin.util.WeixinUtil; /** * @author:weijian.zhang * @sin...
28.810811
129
0.782364
9aa1fb1da2ca2c34434930e70dc71975edea6bc7
288
package com.spike.giantdataanalysis.rdfstore.sparql.ast.ir.constraint; import com.spike.giantdataanalysis.rdfstore.sparql.ast.ir.pattern.graph.GroupGraphPattern; // [125] ExistsFunc ::= 'EXISTS' GroupGraphPattern public class ExistsFunc { public GroupGraphPattern groupGraphPattern; }
36
90
0.822917
2419769e2fa3dcc441e0d17d214d8b61a8d1a14e
497
package org.blockchainnative.exceptions; /** * Raised in case an error occurs when converting smart contract arguments or result objects. * * @author Matthias Veit * @since 1.0 */ public class TypeConvertException extends RuntimeException { public TypeConvertException() { super(); } public T...
19.88
93
0.690141
c0ff9c6fab30c8b0630a636a2600b44256404691
117
/** * Package containing classes that represent an object. */ package com.gmail.jameshealey1994.simpletowns.object;
29.25
55
0.786325
407390d378b6aa1edc2245dab61b87bcd69f4abe
679
package frangsierra.popularmoviesudacity.data.repository; import android.content.ContentResolver; import dagger.Module; import dagger.Provides; import frangsierra.popularmoviesudacity.core.App; import frangsierra.popularmoviesudacity.core.scopes.ApplicationScope; /** * DaggerModule with the provides methods for the...
25.148148
97
0.801178
fed707b0175aa0506e07a00683b75ef946ca5b1b
894
package softwareplant.Model.Swapi.Response; import org.springframework.util.StringUtils; public class Response<T> { private int count; private String next; private String previous; private T[] results; public Response(){} public int getCount() { return count; } public void ...
17.192308
46
0.598434
f580594a937fb9224d364d67b3481a5202b1729c
5,877
package com.azureip.common.util; import org.apache.http.*; import org.apache.http.client.HttpRequestRetryHandler; import org.apache.http.client.config.RequestConfig; import org.apache.http.client.methods.CloseableHttpResponse; import org.apache.http.client.methods.HttpPost; import org.apache.http.client.protocol.HttpC...
43.533333
185
0.694232
89b424ff2e12eb75b7770bacc48c82715493772f
1,026
package com.webank.wecube.platform.auth.client.filter; import com.webank.wecube.platform.auth.client.encryption.StringUtilsEx; import io.jsonwebtoken.Claims; import io.jsonwebtoken.Jws; import io.jsonwebtoken.JwtParser; import io.jsonwebtoken.Jwts; /** * * @author gavinli * */ public class DefaultJwtSsoTokenPar...
24.428571
101
0.707602
01588a99165316fd6ab431c588dd7f9596a763d0
1,892
package com.yunfeng.mvc; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.view.View; import android.widget.Button; import android.widget.ListView; import com.yunfeng.demo.R; import java.util.List; /** * a * Created by xll on 2018/9/25. */ public class BookActivity extends...
28.666667
85
0.591966
ae0b1e485f0240a733e61b2771d4af68c25e8a32
7,210
/* * MIT License * * Copyright (c) 2018- Mosaic Networks * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy,...
39.615385
112
0.638835
0a3f409aeee5f0ae40f8b661e3ac365a008708d3
48,028
package org.jbehave.core.parsers; import static java.util.Arrays.asList; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.Matchers.containsString; import static org.hamcrest.Matchers.equalTo; import static org.hamcrest.Matchers.hasItem; import static org.hamcrest.Matchers.is; import stat...
50.44958
156
0.610956
db81d3d3af8a969597766d05edf60df1b44cb843
3,949
package org.apidb.apicommon.model.report.summaryview.genome; import java.util.ArrayList; import java.util.List; import org.json.JSONWriter; public class Region { private final boolean forward; private final List<Feature> features; private double percentLength; private double percentStart; ...
27.809859
109
0.62826
93f82c4e120a4e96bb95cf79523f72ce6f601bdf
4,106
/* * #%L * Gravia :: Resource * %% * Copyright (C) 2010 - 2014 JBoss by Red Hat * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2...
41.897959
96
0.70945
ab6f2c0ae96c4b7142c4c71aff7dd9d38594f09f
5,860
/* * #%L * mosaic-drivers-container * %% * Copyright (C) 2010 - 2013 Institute e-Austria Timisoara (Romania) * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www....
38.051948
191
0.795051
1db2926338dea1c09112b93b4f420776c3c95459
526
package fr.radi3nt.multi.main.packets.server.packets.alive; import fr.radi3nt.multi.packets.data.serializer.PacketDataBuffer; import fr.radi3nt.multi.packets.data.types.PacketIn; import fr.radi3nt.multi.packets.types.PacketType; public class PacketInResponseKeepAlive implements PacketIn { public static final Pac...
25.047619
67
0.762357
35e2a840b5f44992aee1d1fbf83daec5d015b119
1,362
package com.tokenplay.ue4.www.api; import com.fasterxml.jackson.annotation.JsonProperty; import lombok.Data; import java.util.List; @Data public class MatchSession { @JsonProperty("ID") private String id; @JsonProperty("HOST") private String host; @JsonProperty("AL") private String server;...
18.405405
53
0.679883
b13b493b39d5baa248f2a8dd1658327fb846ba4d
985
/* * Copyright Anatoly Starostin (c) 2017. */ package treeton.scape; import treeton.core.fsm.State; import treeton.core.fsm.Term; import treeton.core.fsm.TermStatePair; public abstract class ScapeBindedPair implements TermStatePair { ScapeTerm t; ScapeState s; ScapeBindingSet bindingSet; ScapeBinde...
21.413043
77
0.583756
2ccaaf19088ce22d6972677901e9adb12ccda354
3,392
/* * Copyright (c) 2017 Otávio Santana and others * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * and Apache License v2.0 which accompanies this distribution. * The Eclipse Public License is available at http://ww...
28.745763
98
0.64829
8d76979b2ae317419c926bdd661023287dafcf58
974
package com.tn.wallet.ui.assets; import android.support.annotation.NonNull; import com.tn.wallet.api.NodeManager; import com.tn.wallet.payload.AssetBalance; import com.tn.wallet.util.PrefsUtil; import java.util.ArrayList; import java.util.List; public class AssetsHelper { public AssetsHelper(PrefsUtil prefsUti...
27.055556
151
0.646817