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
410aeab4e6910871f4eb2ab07914c9c7fda0a7a9
417
package com.hrm.pojo; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; @Data @AllArgsConstructor @NoArgsConstructor public class ExperienceHistory { private String trade_ex_id; private Integer user_id; private String username; private String product_name; priv...
21.947368
38
0.788969
20d62d325f916b56e73293d96d1d9e91691c7b8d
5,767
/* Copyright (c) 2020-2022, Stephen Gold All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of condition...
38.966216
81
0.659615
42a0123a62ab5e590c8a58fec7428a4e6d505726
926
package com.sq26.experience.ui.view; import android.content.Context; import android.util.AttributeSet; import android.view.MotionEvent; import android.view.View; import android.widget.LinearLayout; import androidx.annotation.Nullable; import com.sq26.experience.R; public class PullToRefreshView extends LinearLayout...
25.027027
78
0.703024
850bdbd162befd37032c80eb46d48633d03c1fcb
25,107
package cloudtagger; import java.awt.Point; import java.io.IOException; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.logging.Level; import java.util.logging.Logger; import javafx.animation.Animation; import javafx.animation.FadeTransition; import javafx.animation.ScaleT...
38.626154
157
0.588282
ab7cd94e3fca8f03e00dd60ab6e754b844a32cd4
1,303
package de.d3adspace.mantikor.commons.codec; import de.d3adspace.mantikor.commons.MantikorCommons; import java.util.Arrays; import java.util.StringTokenizer; public enum HttpStatus { OK(200, "OK"), FORBIDDEN(403, "Forbidden"), NOT_FOUND(404, "Not Found"), INTERNAL_SERVER_ERROR(500, "Internal Server Error"); ...
24.12963
74
0.696853
cc8a4446e6ebfc3a089e37460737ed3f9095e7ce
1,603
/* * Copyright 2006 JBoss Inc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
34.106383
103
0.695571
2438ca0ba8508bd47439380d1455eec2b6ddc30b
4,381
package api; import io.restassured.RestAssured; import io.restassured.config.EncoderConfig; import io.restassured.http.ContentType; import io.restassured.http.Method; import io.restassured.response.Response; import io.restassured.specification.RequestSpecification; import org.json.simple.JSONArray; import org.json.sim...
30.636364
95
0.687743
7c83696604695481e656ac62ae7399729cbf3886
438
package com.moluo.blog.config; import org.springframework.security.crypto.password.PasswordEncoder; /** * 自定义密码加密解码逻辑 * @author zzh * @date 2018/12/17 */ public class MyPasswordEncoder implements PasswordEncoder { @Override public String encode(CharSequence rawPassword) { return null; } @...
20.857143
78
0.714612
87354e4683ca6830040e38afc57ddcab39af0a1c
6,430
package test.xito.dazzle; import java.awt.*; import java.awt.event.*; import java.io.*; import java.util.*; import java.lang.reflect.*; import javax.swing.*; import javax.swing.border.EmptyBorder; import javax.swing.border.LineBorder; import javax.swing.event.*; import org.xito.dazzle.widget.panel.GradientPanel; impo...
34.021164
116
0.615552
ca148070e3f314b0edb4af18ca4c173f1b553f43
4,215
package moe.gensoukyo.mcgproject.cilent.gui; import javax.swing.*; import java.awt.*; import java.awt.event.*; import java.util.Arrays; import java.util.LinkedHashMap; import java.util.List; import java.util.TreeSet; /** * @author drzzm32 * @date 2020/6/7 */ public class PackAdmin extends JFrame { public sta...
30.766423
95
0.575326
fe1757c84e69c458211839606228f67bae04953e
293
package com.example.springboot2.yang.common.file; import java.io.File; import java.util.Comparator; /** * @author visionet */ public class FileComparator implements Comparator<File> { public int compare(File file1, File file2) { return file1.getName().compareTo(file2.getName()); } }
19.533333
57
0.744027
bc4319c74bfd5bcc309674a9687fde803d3146c4
12,190
/* * Copyright (c) 2018, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * 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 * * Unles...
54.177778
120
0.812059
f9862fa7dfb8b6463f9cf6cc2dd6d2cdc8b508a5
1,502
package com.cb.platform.repository.mysqlDao; import com.cb.platform.domain.ChatGroupUserDo; import com.cb.platform.domain.chat.UserAndGroup; import com.cb.platform.domain.chat.UserGroup; import org.apache.ibatis.annotations.Param; import java.util.List; /** * */ public interface ChatGroupUserDao { /** * ...
21.457143
98
0.651798
13f58fe5fad326675848f4601a43090576dc50bf
375
package src.test.resources; class B112853497 { { XxxxxxxxxxXxxx xxxXxxxx = xxxXxxxx .xxxxXxXxxxx(xxxxXxxx, XXXXXX_XXXX_XXXXXXXX_XX_XXXXXXXX) .toBuilder() .xxxXxxxxXxxxXx(xxxxxXx.xxxXxxxxXxxxXx()) .xxxXxxxxXxxxXx(xxxxxXx.xxxXxxxxXxxxXx()) .xxxXxxx...
26.785714
68
0.616
637ab6beef5a2ecd30a5d206c22478eb123043cc
1,468
package lessons.j8.defstat; import lessons.j8.helper.SaveToDatabase; import lessons.j8.helper.SaverProgress; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; import java.util.logging.Level; import java.util.logging.Logger; /**<h1>Класс, имплементит {@link A}</h1> * Переопределять нужно только {@...
34.139535
96
0.717302
8bfb8fb54e9b447d889f8a1f5cf44f65d9dac73d
1,261
/** * This class file was automatically generated by jASN1 (http://www.beanit.com) */ package com.beanit.jasn1.compiler.pkix1implicit88; import java.io.IOException; import java.io.EOFException; import java.io.InputStream; import java.io.OutputStream; import java.util.List; import java.util.ArrayList; import java.ut...
26.270833
79
0.800952
e53b610b47cf90980ff20af62989e267dabc1e77
1,976
/* * This work is released into the Public Domain under the * terms of the Creative Commons CC0 1.0 Universal license. * https://creativecommons.org/publicdomain/zero/1.0/ */ package pityoulish.sockets.server; import java.net.InetAddress; import java.nio.ByteBuffer; import pityoulish.msgboard.MixedMessageBoardImp...
28.228571
75
0.66751
00ba4250a6c4e908a3f4a0370a3d7ca359a463df
310
package org.iitbact.cc.repository; import org.iitbact.cc.entities.AdminUser; import org.springframework.data.jpa.repository.JpaRepository; public interface UserRepository extends JpaRepository<AdminUser, Integer> { AdminUser findByEmailId(String emailId); AdminUser findByUserId(String userId); }
23.846154
75
0.809677
e31cbffb60842334d5f07ceaba3fc18593ed4e78
2,236
package no.fint.consumer.config; public enum Constants { ; public static final String COMPONENT = "arkiv-noark"; public static final String COMPONENT_CONSUMER = COMPONENT + " consumer"; public static final String CACHE_SERVICE = "CACHE_SERVICE"; public static final String CACHE_INITIALDELAY_ADMI...
60.432432
142
0.784436
4b627204f627d9950f124dbe0af28169ae252a8b
378
package com.github.payments.controllers; import com.github.payments.dto.CurrentRateDto; import org.springframework.http.MediaType; import org.springframework.web.bind.annotation.GetMapping; import java.util.List; public interface ICurrentRatesController { @GetMapping( produces = MediaType.APPLICATIO...
22.235294
58
0.775132
0ff14315a6a09ed4bf3d342643b7a277eba19fa0
1,433
package org.tariel.pla; import org.tariel.pla.sentence.ConllWord; import org.tariel.pla.sentence.IWord; import org.tariel.pla.logics.IFunction; import org.tariel.pla.logics.classic.ICFunction; /** * Hello world! * */ public class App { public static void main( String[] args ) { System.out.println(...
30.489362
73
0.683182
be8904cbeb58d708379b84f824a67255a3e79475
15,808
/** * Copyright (c) 2014-2019 CK. * * 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 applicabl...
51.324675
87
0.351468
ebeb3f9146432f3ee851a90f104a6f9ab40ebdf7
1,996
package gr.iti.openzoo.admin; import java.util.HashSet; import org.codehaus.jettison.json.JSONArray; import org.codehaus.jettison.json.JSONException; import org.codehaus.jettison.json.JSONObject; /** * * @author Michalis Lazaridis <michalis.lazaridis@iti.gr> */ public class ParametersQueue { public enum Mappi...
27.722222
82
0.51002
e109972637c0a5a8e3393ff1b696d5c9bcadb346
2,300
package maritech.extensions.config; import static mariculture.core.helpers.ConfigHelper.getBoolean; import static mariculture.core.helpers.ConfigHelper.getInt; import static mariculture.core.helpers.ConfigHelper.setCategory; import static mariculture.core.helpers.ConfigHelper.setConfig; import mariculture.core.config....
47.916667
208
0.733478
4244e894ba6e3d8a3ab27a1d8175dbb465d1f002
2,330
package com.ipusoft.sip.ifaceimpl; import android.util.Log; import com.ipusoft.context.LiveDataBus; import com.ipusoft.context.constant.LiveDataConstant; import com.ipusoft.context.bean.SipResponse; import com.ipusoft.context.component.ToastUtils; import com.ipusoft.context.iface.BaseSipStatusChangedListener; import ...
35.30303
106
0.650215
243069dc4b27a4f44cea7e0ae4540cbf2418342f
1,237
package tools; import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; public class Connected { private static Connected db; public static Connection connection; private static final String url = "jdbc:mysq...
30.925
101
0.642684
953e59905e911aa2a78bdaba55e45d99fbad0ed5
14,518
package registry.util; import java.io.IOException; import java.io.InputStreamReader; import java.io.LineNumberReader; import java.net.*; import java.text.MessageFormat; import java.util.ArrayList; import java.util.Enumeration; import java.util.List; import java.util.regex.Matcher; import java.util.regex.Pattern; /** ...
31.288793
119
0.503237
39890d55ebf57ec2956c8296a3d9841feebfcff2
1,222
package com.thinkgem.jeesite.modules.edu.web.portal.dto; /** * Created by wanjinma on 15/5/2. */ public class Detail { private String province; private String city; private String district; private String street; private String street_number; private String city_code; public String getPr...
19.709677
56
0.626023
6f7b098968b73aad1f1a5235318804b4b6761f2a
1,569
/* * Copyright (c) 1997, 2021 Oracle and/or its affiliates. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Distribution License v. 1.0, which is available at * http://www.eclipse.org/org/documents/edl-v10.php. * * SPDX-License-Identifier: ...
22.73913
78
0.573614
3f3b53aad027feb4c89262830ec775d23d84c056
2,198
package cc.novoline.utils.notifications; import cc.novoline.utils.Timer; import cc.novoline.utils.notifications.NotificationType; import java.util.concurrent.ThreadLocalRandom; import net.minecraft.util.MathHelper; public final class Notification { private final NotificationType notificationType; private final ...
22.659794
145
0.647862
d756a77439014fe41881803145416a991f14e72b
13,429
/* * Copyright (c) 2006-2017 DMDirc Developers * * 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,...
40.570997
119
0.671234
3333a6312d7f669fe5a6bd0412ebc997ef934959
15,374
/*********************************************************************************************** * * Copyright 2018 Infosys Ltd. * Use of this source code is governed by MIT license that can be found in the LICENSE file or at * https://opensource.org/licenses/MIT. * *****************************************************...
83.554348
376
0.756797
11206cb46f6d3d8795c5c508139fdd1855587387
1,216
/* * Copyright 2015-2016 ForgeRock AS. * * 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 ...
27.636364
91
0.681743
8f3a02c3cf2998963612c6453813080d46c46076
83
package io.micronaut.inject.qualifiers.replaces; public class D2 implements D { }
16.6
48
0.795181
3f9ea0bfe075dc270cc044782e50c222248bc444
1,551
package LinkedList; import java.util.HashSet; import java.util.Set; /** * 给定一个链表,返回链表开始入环的第一个节点。 从链表的头节点开始沿着 next 指针进入环的第一个节点为环的入口节点。 * 如果链表无环,则返回 null。 * 为了表示给定链表中的环,我们使用整数 pos 来表示链表尾连接到链表中的位置(索引从 0 开始)。 * 如果 pos 是 -1,则在该链表中没有环。注意,pos 仅仅是用于标识环的情况,并不会作为参数传递到函数中。 * 说明:不允许修改给定的链表。 * @Description: 剑指 Offer II 022....
27.210526
76
0.534494
e61f095f5a3424d11018663d8cb4f70e7c08a38c
632
package com.bzcareer.monitord.core.model; import org.springframework.data.annotation.Id; public class Role { @Id private String id; private String name; private String group; public Role(String id, String name, String group) { this.id = id; this.name = name; this.group = group; } public String getNa...
17.555556
72
0.65981
e884b8eaf2078a113e50826cf04badace26ae8a2
637
package api.engine; /** * The Deck class represents a deck of all the playable cards in a game. */ //TODO: Figure out if Deck needs to be abstracted / how the size of the deck will be read in and accounted for. Multiple decks? public class Deck { /** * Shuffles the deck to randomize all of the cards. ...
22.75
127
0.609105
86b2cc9a611caf1d75403e6b9de2267c47401517
3,796
/* * MIT License * * Copyright (c) 2019 ColonelBlimp * * 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...
33.008696
92
0.705216
60c367657a311b295cecd005858afc8a41a9bcd8
456
package io.sumac.devtools.propertyresolver.model; import java.util.Date; import io.sumac.devtools.propertyresolver.annotations.Property; public class Model11 { private Date date; public Date getDate() { return date; } @Property(name = "test.found.string") public void setDate(Date date...
17.538462
63
0.635965
fe20ad83f70c80c4d6cddccdaf154252b5f4e05e
615
package Services; import android.os.Parcel; import android.os.Parcelable; public class PlacesParams { public String Id; public String Name; public String Type; public String Longtitude; public String Latitude; public String Country; public String City; public String PicUrl; public PlacesP...
18.636364
140
0.692683
e157d0373ea36ddeb14e8dd0ba8390e33799f3de
242
package mailchimp.util; import com.google.gson.Gson; public class GsonDeserializer { public <T> T deserialize(final String json, final Class<T> clazz) { Gson gson = new Gson(); return gson.fromJson(json, clazz); } }
22
71
0.669421
2b9ee9e0c2afe999e1b7d2cc4314c2a5e6751527
2,928
package com.buildit.crawler.service; import com.buildit.crawler.exception.CrawlerException; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.junit.MockitoJUnitRunner; import java.io.BufferedWriter; import java.io.IOException; import java.util.HashSet; import java.uti...
35.277108
78
0.711749
1e9e7c013b6ee46a153c21342132f6a2b6a522a4
4,205
/************************************************************************* * * * EJBCA Community: The OpenSource Certificate Authority * * * * This software is...
42.05
177
0.638288
7c2dbf96f9e399d5cbc6b62e3c56225a72c81a0a
2,342
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package mild.katyusha.system.ctr; import java.awt.Color; import java.awt.event.MouseEvent; import java.awt.event.MouseListene...
28.91358
80
0.577284
db44cdbc921c17fe02f1ed034106eb0e16282ea9
510
/* Aaron Horler - s3481341 */ package test4a; public class TextBook{ private String title, author; private int year; private double price; public TextBook(String title, String author, int year, double price){ this.title = title; this.author = author; this.year = year; this.price = price; } public in...
17.586207
76
0.65098
491721b05e78a34b498871cb2031b3b79cc1e478
486
package com.globaldroid.app.swipetabs; import android.os.Bundle; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; /** * Created by User on 1/14/2018. */ public class TabThree extends Fragment { @Override public View onCreat...
24.3
103
0.763374
ac81e18db4943e212ef18edd42364de47ac259d8
5,041
package com.ppcxy.manage.maintain.datasource.support; import com.alibaba.druid.pool.DruidDataSource; import com.alibaba.druid.pool.DruidPooledConnection; import com.google.common.collect.Maps; import com.ppcxy.common.exception.BaseException; import com.ppcxy.common.utils.LogUtils; import org.slf4j.Logger; import org.s...
31.310559
138
0.563777
cdbba3131dca7c8be1a6485a9ad21cf9afae7838
12,976
package gov.nih.nci.ui; import static gov.nih.nci.ui.NCIEditTabConstants.MERGE_TARGET; import java.awt.BorderLayout; import java.awt.Component; import java.awt.Frame; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.HashSet; import java.util.Set; import javax.swin...
31.26747
124
0.646116
3790ab04bfa7fd1cc8e685ae6540101568c6ee83
4,510
/* * This file was last modified at 2021.03.07 23:13 by Victor N. Skurikhin. * This is free and unencumbered software released into the public domain. * For more information, please refer to <http://unlicense.org> * TagLabelService.java * $Id$ */ package su.svn.daybook.services; import lombok.extern.slf4j.Slf4j...
32.214286
91
0.644124
a2229f3acf1e6f507c58ebb0bb0aa1044b992a8e
397
package io.payworks.labs.tcpmocker.datahandler; import java.util.regex.Pattern; public abstract class HexRegexDataHandler implements DataHandler { protected final Pattern hexRegex; protected HexRegexDataHandler(final String hexRegex) { this.hexRegex = Pattern.compile(hexRegex, Pattern.CASE_INSENSITI...
23.352941
76
0.740554
08afd6714f5feb9eaffdad20f71d36c7648a7f2c
4,589
/** * Licensed to the TomTom International B.V. under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. TomTom International B.V. * licenses this file to you under the Apache License, * Version 2.0 (the "Lic...
25.214286
103
0.640662
9fe4d43f045c153c6b18ab989e5051b1e6e3dd59
190
package jw.kingdom.hall.kingdomtimer.javafx.view; /** * All rights reserved & copyright © */ public class WindowSettings { public static final String TITLE = "Kingdom Hall Timer"; }
19
60
0.721053
a3a0d65004fbf09fab79cfe1a2196a22d4a665a3
9,617
package org.sunbird.jobs.samza.task; import org.apache.commons.lang3.StringUtils; import org.apache.samza.config.Config; import org.apache.samza.system.IncomingMessageEnvelope; import org.apache.samza.system.OutgoingMessageEnvelope; import org.apache.samza.system.SystemStream; import org.apache.samza.task.InitableTask...
50.615789
188
0.692316
11ae6a4d4ca6344926ed09e1b128045e1595564b
23,109
/* Calimero - A library for KNX network access Copyright (C) 2006-2008 W. Kastner 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 (a...
30.977212
95
0.671946
1a22d7a1771ba77f6d83ea839c080160491a5055
12,387
/* * Copyright 2007 skynamics AG * * 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 applic...
27.404867
109
0.633648
30ed4af326b8c7953f15bd1597339edfdb0787a4
11,003
package com.codahale.dropwizard.jetty; import com.codahale.metrics.MetricRegistry; import com.codahale.metrics.jetty9.InstrumentedConnectionFactory; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonTypeName; import com.google.common.collect.Iterables; import org.eclipse...
28.140665
103
0.672453
d0cfd9df4b03df265ada9a9e664e44c77f6d4ae6
4,848
package main.controller; import javafx.fxml.FXML; import javafx.scene.Node; import javafx.scene.control.Alert; import javafx.scene.control.Button; import javafx.scene.control.Label; import main.Main; import main.filter.PowerFilter; import main.logic.LogicFactory; import main.model.Book; import main.model.Const; import...
23.764706
82
0.533828
f4ba5b2fd6d848ca30b3bbdd87d99b35014869f6
1,962
/* * Copyright 2006-2010 the original author or 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 requi...
33.827586
88
0.703364
b029ccc1007b3c34ed149d1627564a3a848536b0
369
package io.reflectoring.conditionals.conditionaloncloudplatform; import org.springframework.boot.autoconfigure.condition.ConditionalOnCloudPlatform; import org.springframework.boot.cloud.CloudPlatform; import org.springframework.context.annotation.Configuration; @Configuration @ConditionalOnCloudPlatform(CloudPlatfor...
33.545455
83
0.883469
0a8a1ec449afa7e89dcc990892a2c426633048b3
1,052
package com.potato.concurrency.aqs; import lombok.extern.slf4j.Slf4j; import java.util.concurrent.CountDownLatch; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.concurrent.TimeUnit; @Slf4j public class CountDownLatchExample2 { private static final int threadCou...
23.377778
77
0.701521
c4dd94fc7b21d5c87201257a6194ed5efe2ff5fe
4,833
package io.sapl.test.mocking; import static org.mockito.ArgumentMatchers.any; import static org.mockito.Mockito.when; import java.time.Duration; import java.util.Collection; import java.util.List; import org.assertj.core.api.Assertions; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; impo...
36.338346
119
0.754397
04e4c65020993acd889f8ec3101212c2cc5849e9
3,223
package com.freeter.modules.good.entity; import com.baomidou.mybatisplus.annotations.TableId; import com.baomidou.mybatisplus.annotations.TableName; import javax.validation.constraints.NotBlank; import javax.validation.constraints.NotEmpty; import javax.validation.constraints.NotNull; import com.fasterxml.jackson.ann...
17.05291
74
0.668011
16e8fb583d77af08ebe6fcd2c4ad077d992a6a35
1,226
package micro.controller; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.servlet.ModelAndView; ...
28.511628
69
0.672104
0e5f833c437e8ac72720ebd100f4b3aa3ccbf91e
4,061
package com.comcast.pop.api.params; import java.util.HashMap; public class ParamsMap extends HashMap<String, Object> { public String getString(final ParamKey fieldEnum) { return getString(fieldEnum.getKey(), null); } public String getString(final ParamKey fieldEnum, final String defaultValue)...
27.439189
94
0.635065
ce6d6d97dff906947be77f0f0a24e31b60771b5e
2,323
package natlab.backends.Fortran; import java.io.*; import natlab.tame.BasicTamerTool; import natlab.tame.valueanalysis.*; import natlab.tame.valueanalysis.basicmatrix.BasicMatrixValue; import natlab.tame.valueanalysis.aggrvalue.*; import natlab.toolkits.filehandling.genericFile.GenericFile; import natlab.toolkits.pat...
38.716667
100
0.658201
cdc9b83998a96143525f96f38ba2652cc5164bf3
14,511
/* * The MIT License (MIT) * * Copyright (c) 2015 Tobias Erthal * * 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...
31.892308
92
0.572462
aa4d6f4893f994a3a9d13a0bd943032b668e9712
2,119
package com.archive.dao; import java.util.ArrayList; import java.util.List; import com.archive.jpa.TRecord; import com.archive.utility.Pager; import com.archive.utility.baseUtil; public class DAOTRecord { @SuppressWarnings("rawtypes") public void savelog(TRecord t){ baseUtil session = new baseUtil(); sess...
26.822785
106
0.657386
9bd8efebbfae11d97e5ec77744e574a5b3a249e9
389
package library.domain.model.material.item; /** * 所蔵品の貸出可否 */ public enum ItemLoanability { 貸出可能(""), 貸出中により貸出不可能("貸出中であるため貸し出すことができません。"), 予約中により貸出不可能("予約中であるため貸し出すことができません。"), その他の理由で貸出不可能("貸し出すことができません。"); String message; ItemLoanability(String message) { this.message = message; ...
17.681818
43
0.645244
a7e3560e25e2f983824064783602a80aee17f077
1,066
package com.caleb.java.io.network; import java.io.IOException; import java.net.ServerSocket; import java.net.Socket; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; /** * @Date 2021/6/18 14:46 * 聊天服务器: * 使用多线程技术,接收多个客户端请求。 */ public class ChatServer { public static void mai...
25.380952
61
0.545028
fd59586e84c1a30dd618b39bd0ad79f26e220d94
195
package com.stoyan.weatherful.rx.events; /** * Created by stoyan.ivanov2 on 4/2/2018. */ public class NoInternetAvailableEvent { //empty class representing no internet connection event }
19.5
59
0.748718
595eb24754ed511f2fd96a1851d662389350cbc8
291
package com.engwork.pgndb.upload; import java.io.File; import java.io.FileNotFoundException; public interface ChessGamesToDbLoaderBean { void loadGamesToDatabase(File file, String database) throws FileNotFoundException; void loadGamesToDatabase(String pgn, String databaseName); }
20.785714
84
0.817869
24f55f32861668dadd81e5c376088d106c6016b2
3,659
package io.github.teonistor.chess.ctrl; import io.github.teonistor.chess.core.Game; import io.github.teonistor.chess.core.GameData; import io.github.teonistor.chess.core.GameState; import io.github.teonistor.chess.factory.Factory.GameType; import io.github.teonistor.chess.factory.GameFactory; import io.github.teonisto...
32.669643
104
0.726701
4bfa0ec162701cab1dc9441eed3dd9b044cf22e9
810
package com.abilists.bean.para.users; import javax.validation.constraints.NotNull; import javax.validation.constraints.Size; import com.abilists.common.bean.CommonPara; /** * Action + db name + data * * @author njoonk */ public class DltProjectTechPara extends CommonPara { // @NotNull(message = "parameter.erro...
20.769231
76
0.706173
0ed27535c7102f8079fe857a75022dfc7cdd9ce9
1,469
package me.wener.bbvm.vm; import com.google.common.collect.Maps; import java.util.Collection; import java.util.Map; import java.util.NavigableMap; import java.util.TreeMap; /** * @author wener * @since 15/12/11 */ public class Symbols { public static SymbolTable table(Collection<? extends Symbol> symbols) { ...
26.232143
93
0.614704
d404aa21f422bad36a59199ceba851929f9ad70a
2,656
/* * 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")...
30.528736
77
0.630271
6bac48485082ddf8455007d5cddb8a03e530b5ed
1,266
package ru.iteco.fmh.dto.admission; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; import ru.iteco.fmh.model.admission.AdmissionsStatus; @ApiModel(description = "инфо...
30.142857
61
0.772512
11097ee4ba61d9a790d875fb295ed12666d7e155
524
package org.wrl.spring.el; import org.springframework.beans.factory.annotation.Value; /** * Created with IntelliJ IDEA. * 注解风格的配置 * 基于注解风格的 SpEL 配置也非常简单,使用@Value 注解来指定 SpEL 表达式,该注解可以放到字段、方法及方法参数上。 * 配置时必须使用“<context:annotation-config/>”来开启对注解的支持。 * @author: wangrl * @Date: 2015-11-10 17:52 */ public class SpEL...
20.96
67
0.666031
76e24d4152877d5feecc025323fa79db6c35cadd
1,091
package lk.ijse.dep8; import javafx.application.Application; import javafx.fxml.FXMLLoader; import javafx.scene.Scene; import javafx.scene.layout.AnchorPane; import javafx.scene.paint.Color; import javafx.stage.Stage; import javafx.stage.StageStyle; import java.io.IOException; public class AppInitializer extends App...
25.97619
97
0.708524
16c81af73a26c47fdef466c35bf3f0b873fc41d6
859
// https://www.hackerrank.com/challenges/pangrams import java.io.*; import java.util.*; import java.text.*; import java.math.*; import java.util.regex.*; public class Solution { public static void main(String[] args) { Scanner in = new Scanner(System.in).useDelimiter("\n"); String line = in.next()...
28.633333
63
0.529686
4f27f3d93101c59b6f93c9745c49f75ca1d55645
219
package io.github.overrun.baka4n.inordertosurvive.block; import net.minecraft.world.level.block.Block; public class BasicBlock extends Block { public BasicBlock(Properties pProperties) { super(pProperties); } }
18.25
56
0.789954
a7cdd849f3769cb099f1f4809d9ef6f9b35fb144
18,092
begin_unit|revision:0.9.5;language:Java;cregit-version:0.0.1 begin_comment comment|/* * 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...
14.189804
815
0.809861
3b1f432b5a66e6c559d14310a22b123feaffb047
16,949
package net.peterfolta.shapify.view.main; import javafx.scene.control.*; import javafx.scene.image.Image; import javafx.scene.image.ImageView; import javafx.scene.input.KeyCode; import javafx.scene.input.KeyCodeCombination; import javafx.scene.input.KeyCombination; import javafx.scene.paint.Color; import javafx.stage....
45.932249
158
0.706413
88f1c24faa59f9372ae415fcbcbfffe9f3033eb2
980
package org.sesame.service; import java.util.ArrayList; import java.util.List; import org.sesame.service.entity.SerialNumber; import org.springframework.test.context.testng.AbstractTestNGSpringContextTests; import org.testng.AssertJUnit; import org.testng.annotations.Test; /** * Unit test for simple App. */ public...
28.823529
121
0.754082
fe4ed99a0fcc2e8f0d0fc2fdc89294c0551435cb
2,400
package com.ugcs.gprvisualizer.app; import com.github.thecoldwine.sigrun.common.ext.ResourceImageHolder; import com.ugcs.gprvisualizer.app.intf.Status; import javafx.application.Platform; import javafx.scene.Cursor; import javafx.scene.control.Button; import javafx.scene.image.ImageView; import javafx.scene.layout.VB...
20.168067
81
0.679167
b353e3b6b01159ad82fa856fb55ca1329dc67ea5
1,345
/** * Leetcode - smallest_string_with_swaps */ package com.duol.leetcode.y21.m1.d11.no1202.smallest_string_with_swaps; import java.util.*; import com.duol.common.*; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * 1202. 交换字符串中的元素 * * 给你一个字符串s,以及该字符串中的一些「索引对」数组pairs,其中pairs[i] =[a, b]表示字符串中的两个索引(编号从 0...
20.692308
75
0.590335
08fafdbf174024b8a7825c58a9df47252504b91a
3,831
package com.dumai.xianjindai.util; import java.util.List; import android.content.Context; import android.net.ConnectivityManager; import android.net.NetworkInfo; import android.net.wifi.ScanResult; import android.net.wifi.WifiInfo; import android.net.wifi.WifiManager; import android.telephony.TelephonyManager; // TO...
27.963504
102
0.608979
920d8cdfc87118d2628bed1dda0012bf4e3f4023
2,977
package com.gempukku.swccgo.cards.set4.light; import com.gempukku.swccgo.cards.AbstractNormalEffect; import com.gempukku.swccgo.cards.GameConditions; import com.gempukku.swccgo.common.*; import com.gempukku.swccgo.filters.Filters; import com.gempukku.swccgo.game.PhysicalCard; import com.gempukku.swccgo.game.SwccgGame;...
49.616667
207
0.747733
e6dfacfbe222325df7fe3348822ba4013bacf006
1,678
/* * Copyright 2020 Albert Tregnaghi * * 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 i...
29.964286
130
0.761621
d1d2495a132d49dc8f272a8ee601ab18090987e0
1,158
/** * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.ast; import org.junit.Assert; import org.junit.Test; public class FormalCommentTest { @Test public void testJavadocTagsAsChildren() { String comment = " /**\n" ...
31.297297
79
0.56563
a0f7d8eda52e6f9a8e5ba1888781c461f8beb9cb
771
package de.geolykt.starloader.api.event.empire; import org.jetbrains.annotations.NotNull; import de.geolykt.starloader.api.empire.ActiveEmpire; /** * Event that is fired whenever the technology level of an empire increases by * one. This is the usual natural progression that increases the technology * level. Howe...
30.84
78
0.741894
ddb77dfd219aabb7f04598ebc815b1b57efab0a6
608
package ru.skarpushin.swingpm.tools.edt; import javax.swing.SwingUtilities; public class Edt { private static EdtInvoker edtInvoker = new EdtInvokerSimpleImpl(); public static EdtInvoker getEdtInvoker() { return edtInvoker; } public static void getEdtInvoker(EdtInvoker newValue) { edtInvoker = newValue; } ...
20.965517
67
0.756579
42b06cf7b9a1152bf0a45ce8ccef1f1aca9e570a
1,775
/* * 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 ...
32.87037
114
0.71493
98f186a467752c561092dc4238afb9a645740aa2
3,747
package org.joverseer.engine.orders; import org.joverseer.domain.Army; import org.joverseer.domain.ArmyElement; import org.joverseer.domain.ArmyElementType; import org.joverseer.domain.Order; import org.joverseer.engine.ErrorException; import org.joverseer.engine.ExecutingOrder; import org.joverseer.engine.Exe...
32.301724
116
0.68695
e88f86a94d15ab08b86b4e4d07b6fc0bac840a38
7,809
package no.kristiania.http; import no.kristiania.db.*; import org.flywaydb.core.Flyway; import org.h2.jdbcx.JdbcDataSource; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import java.io.File; import java.io.IOException; import java.nio.file.Files; import java.sql.SQLException; import java...
38.279412
184
0.681137
4fdcfb8ba5b19f6e7bfed18a0a898bcefd36473b
5,129
/***************************************************************** <copyright> Fugerit Java Library Copyright (c) 2007 Fugerit All rights reserved. This program and the accompanying materials are made available under the terms of the Apache License v2.0 which accompanies this distribution, and is availa...
21.55042
67
0.669916
f08dbcf7b96fc25e7b148d3bcd8f3ec310d28db7
3,464
package sop.reports.vo; import java.math.BigDecimal; import java.util.Date; import dwz.dal.object.AbstractDO; /** * @Author: LCF * @Date: 2020/1/9 10:21 * @Package: sop.reports.vo */ public class OrderFollowShipmentSchedulePo extends AbstractDO { private static final long serialVersionUID = 1L; privat...
19.460674
63
0.632506
0e43c94f16bd94e39d4b5d3cc94a4c6db8db700d
2,856
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package APIs; import JsonTemplates.JsonResponse; import JsonTemplates.Usuario; import com.escom.ipn.cv13id5idpf5.AdminXML; i...
35.7
84
0.636204
427b33e153e39c7885f4c12eefc3673d6d180fd2
1,456
package org.summerframework.ddd.core; import java.util.Map; import org.springframework.beans.BeansException; import org.springframework.beans.factory.ListableBeanFactory; import org.springframework.beans.factory.config.BeanFactoryPostProcessor; import org.springframework.beans.factory.config.ConfigurableListableBeanF...
28
120
0.714973
88e17d412c9d924466385a4c5f7ed6a38fecb236
860
import org.restlet.Application; import org.restlet.Restlet; import org.restlet.routing.Router; import java.util.UUID; /** * Created by Viliam on 3.2.2014. */ public class IndexerApplication extends Application { private DocumentMap<UUID,Document> documents = DocumentMap.getInstance(); private DocumentMapDa...
33.076923
86
0.723256
4fc9c8f79c550bffab9938fb13bec3a09495d1f7
3,461
package com.project.networking.Workers; import java.io.InputStream; import java.util.Arrays; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.net.Socket; import com.project.networking.PacketReceivedCallback; import com.project.networking.Common.NetworkingCommon; import com.project.networking.Common.Packet; publi...
26.829457
114
0.560532