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
84301bde7d1dc0d0bd118973e44a8a36c8369730
3,779
/* * Copyright 1999-2017 Alibaba Group Holding Ltd. * * 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 applica...
42.460674
96
0.564435
892c1b01c1c11f0f66053b537133fe257db28968
812
package com.alipay.api.response; import com.alipay.api.internal.mapping.ApiField; import com.alipay.api.domain.TaskReceiveInfo; import com.alipay.api.AlipayResponse; /** * ALIPAY API: alipay.commerce.operation.promoter.task.receive response. * * @author auto create * @since 1.0, 2021-12-06 15:00:35 ...
25.375
89
0.757389
0a7569f1d5a95fe3cb85d270be6b190e6cc8e9c0
1,754
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
33.09434
81
0.720068
3e57e7e7722edb602f49d34482b57d77be182a43
26,538
/* * Copyright (c) 2017 NCIC, Institute of Computing Technology, Chinese Academy of Sciences * * 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 limi...
50.548571
203
0.692742
4035137bb78efa79dadcd7e4a685f65ad3484136
6,911
package com.softmotions.ncms.mhttl; import java.util.Collection; import java.util.Collections; import java.util.Enumeration; import java.util.HashSet; import java.util.Map; import java.util.Set; import java.util.StringTokenizer; import java.util.concurrent.atomic.AtomicReference; import javax.annotation.Nullable; impo...
34.212871
111
0.514108
920ef510c4999edb429fd3be5b1ac2fa3aa9174a
1,169
/** * This file is licensed under the University of Illinois/NCSA Open Source License. See LICENSE.TXT for details. */ package edu.illinois.codingspectator.ui.tests.extractsuperclass; import org.eclipse.jface.dialogs.IDialogConstants; import edu.illinois.codingspectator.ui.tests.RefactoringTest; /** * * @author...
29.225
112
0.798973
6596f4ee5b443f1fedeb552807feb176456682ae
1,831
package com.linnanc.dao.impl; import com.linnanc.dao.AccountDao; import com.linnanc.entity.Account; import org.apache.ibatis.io.Resources; import org.apache.ibatis.session.SqlSession; import org.apache.ibatis.session.SqlSessionFactory; import org.apache.ibatis.session.SqlSessionFactoryBuilder; import java.io.IOExcept...
30.516667
96
0.694702
d45acce1b9fec1efc71f683288a740fef90a83bc
947
package com.jun.timer.dao.po; public class MessagePO { private Integer id; private String jobId; private String address; private String body; private Boolean type; public Integer getId() { return id; } public void setId(Integer id) { this.id = id; } public...
17.867925
63
0.570222
3e87758a0768d70bfa4bf0201dc7f6ddad73f71e
7,964
package no.ion.jake.engine; import com.sun.management.ThreadMXBean; import no.ion.jake.LogSink; import no.ion.jake.graph.BuildOrder; import no.ion.jake.util.SetUtil; import java.lang.management.ManagementFactory; import java.util.ArrayDeque; import java.util.Collection; import java.util.Deque; import java.util.Map; i...
38.660194
121
0.655324
076a01e347b61a8002cc868029f45c082863c027
4,404
package com.yangyuan.wififileshare.wifUtils.admin; import android.content.Context; import android.net.wifi.WifiConfiguration; import android.net.wifi.WifiManager; import android.util.Log; import com.yangyuan.wififileshare.wifUtils.TimerCheck; import java.lang.reflect.InvocationTargetException; import java.lang.refle...
23.301587
114
0.718665
ce7200e51cba22b3de27cbe225c72a050b744a5a
2,974
/** * Copyright 2019 ISTAT * * Licensed under the EUPL, Version 1.1 or – as soon they will be approved by * the European Commission - subsequent versions of the EUPL (the "Licence"); * You may not use this work except in compliance with the Licence. You may * obtain a copy of the Licence at: * * http://ec.europ...
37.175
93
0.753531
bf418ef519ed3bf3d47162090e5c6003e57f2a11
1,123
package com.pivotal.pxf.plugins.redis; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import com.pivotal.pxf.api.Analyzer; import com.pivotal.pxf.api.AnalyzerStats; import com.pivotal.pxf.api.utilities.InputData; import redis.clients.jedis.Jedis; public class RedisHa...
25.522727
76
0.73642
e88e325195003c8b5c807c9a47123c0d5f74977f
1,164
/* * Copyright 2001,2004 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
28.390244
75
0.684708
7b0656a5d35b8aada20c46c8ee3acf5e5e9614b9
3,585
/* ClassPersistenceDelegate.java - A PersistenceDelegate for the Class type. Copyright (C) 2005 Free Software Foundation, Inc. This file is part of GNU Classpath. GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Soft...
44.259259
76
0.759833
4abdc983c65314f3549d66c69bb0b75bb667f91c
5,044
// This file was generated by Mendix Studio Pro. // // WARNING: Code you write here will be lost the next time you deploy the project. package myfirstmodule.proxies; public class X6Context extends myfirstmodule.proxies.X6Node { /** * Internal name of this entity */ public static final java.lang.String entityNam...
31.72327
222
0.759318
a48b2f5f5780c70716b851336dcd8c5d7d4c2d35
843
/** * 给定一个字符串 s 和一个整数 k,你需要对从字符串开头算起的每隔 2k 个字符的前 k 个字符进行反转。 * * 如果剩余字符少于 k 个,则将剩余字符全部反转。 * 如果剩余字符小于 2k 但大于或等于 k 个,则反转前 k 个字符,其余字符保持原样。 * * 示例: * 输入: s = "abcdefg", k = 2 * 输出: "bacdfeg" * * 提示: * 该字符串只包含小写英文字母。 * 给定字符串的长度和 k 在 [1, 10000] 范围内。 * * 来源:力扣(LeetCode) * 链接:https://leetcode-cn.com/problems/reve...
23.416667
56
0.539739
ffcd785f9d14ff95285e2875dc0eff3a71f78e07
722
package dk.brics.jwig.analysis; import java.util.Collection; import java.util.HashMap; import java.util.Map; import java.util.Set; public class Parameters { private final Map<String, Parameter> parameters; public Parameters(Set<Parameter> parameterSet) { this.parameters = new HashMap<String, Paramete...
23.290323
59
0.666205
2e1815360b93984017126d580d448bba33ce9ff6
14,962
/* AUTO-GENERATED FILE. DO NOT MODIFY. * * This class was automatically generated by the * gradle plugin from the resource data it found. It * should not be modified by hand. */ package org.godotengine.godot; public final class R { private R() {} public static final class attr { private attr() {...
58.67451
185
0.739808
dd69ed4cab0cc924b330c8b08198482a24ba0e59
3,565
package net.gnu.pdfplugin; import android.app.Service; import android.content.Intent; import android.os.IBinder; import net.gnu.aidl.IOperation; import android.os.*; import java.io.*; public class ITextService extends Service { static final String LOG_TAG = "ITextService"; public void onStart(final Intent intent, ...
28.070866
119
0.673773
9e1b9db1f7ffcc902fa18eaa53e94b1b376282cd
3,703
package io.sphere.sdk.products.commands.updateactions; import io.sphere.sdk.models.LocalizedString; import io.sphere.sdk.products.Product; import javax.annotation.Nullable; /** * Changes the description of an asset. * * {@doc.gen intro} * * <p>By variant ID (every variant has a variantId):</p> * {@include.exam...
39.393617
217
0.742371
fa0085df0e3a20b711674c666281dad6ef143bfe
784
package com.github.lyd.base.client.api; import com.github.lyd.base.client.entity.SystemAccessLogs; import com.github.lyd.common.model.PageList; import com.github.lyd.common.model.ResultBody; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestParam; public...
35.636364
96
0.709184
bd67202f3ea26c9778c78a92489bebf5f10af156
1,453
package products.terminal; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.CommandLineRunner; import org.springframework.stereotype.Component; import products.controllers.CategoryController; import products.controllers.ProductController; import products.controllers.UserCo...
37.25641
128
0.77839
1f5ee7a7b200dab649dbb6ce949b97c712b3fc71
332
package designpatterns.responsibility; /** * @author happy * @since 2021-05-12 */ public abstract class Handler { private Handler next; public void setNext(Handler next) { this.next = next; } public Handler getNext() { return next; } public abstract void getRequest(String ...
16.6
52
0.644578
c3e403dca8cf265189f5b96d4cc10fc32defb089
427
package loop; /** * // 单if语句 * @author Vincent */ public class Demo02If { public static void main(String[] args) { System.out.println("今天天气不错,正在压马路……突然发现一个快乐的地方:网吧"); int age = 19; if (age >= 18) { System.out.println("进入网吧,开始high!"); System.out.println("遇到了一群猪队友,开...
23.722222
59
0.540984
b8bb45733d969f129c4d7909d5dbe37342aa7fc3
1,266
package softuni; import java.util.Scanner; public class GreaterOfTwoValues { public static void main(String[] args) { // TODO Auto-generated method stub Scanner scan = new Scanner(System.in); String varType = scan.nextLine(); switch (varType) { case "String": { String value1 = scan.nextLine(); Strin...
20.419355
60
0.658768
ac5ccace0d27ea4ff55b839a01f41111932249d7
3,958
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator package com.microsoft.azure.keyvault.models; import java.util.Map; import com.fasterxml.jackson.annotation.JsonProperty; /** * The storage account update paramet...
27.296552
123
0.673573
237c0d1ac46fc50ad65c2eb7e6b1ad8e5ca9589d
305
package Trie; public class TrieValue implements Comparable<TrieValue>{ public String str; public TrieValue(String str) { this.str = str; } @Override public int compareTo(TrieValue o) { // TODO Auto-generated method stub int a = this.str.compareTo(o.str); if(a==0) a++; return a; } }
16.944444
57
0.681967
fac6296868bdad11d39fb174a9321d223048c2b4
16,727
package fr.uga.iut2.genconf.vue.gui; import fr.uga.iut2.genconf.controleur.Controleur; import fr.uga.iut2.genconf.modele.Communication; import fr.uga.iut2.genconf.modele.Conference; import fr.uga.iut2.genconf.modele.Session; import fr.uga.iut2.genconf.vue.gui.shared.Layout; import fr.uga.iut2.genconf.vue.shared.dto.No...
46.985955
200
0.58014
8c2f5e59581e1688297dd396cabd658a7b1a6487
1,250
package com.cdcAPI.api.model.Response; import com.cdcAPI.model.Cliente; import com.cdcAPI.model.Compra; import com.cdcAPI.model.Livro; import java.math.BigDecimal; import java.util.List; public class CompraResponse { private ClienteResponse cliente; private List<Livro> livros; private BigDecimal total;...
21.186441
60
0.664
fae1673626f85c42845cfc818b74cf8ae62c0862
253
package com.weebkun.speedqueue.db; public class Selections { public String[] selections; public double price; public Selections(String[] selections, double price) { this.selections = selections; this.price = price; } }
21.083333
58
0.671937
7b52dbcc2097605e5954a36dc197200c08a5917d
1,590
/* * Copyright (c) 2003 World Wide Web Consortium, * (Massachusetts Institute of Technology, Institut National de * Recherche en Informatique et en Automatique, Keio University). All * Rights Reserved. This program is distributed under the W3C's Software * Intellectual Property License. This program is distributed...
38.780488
144
0.693082
4073903c16207245e55a6b695d2e70b3e2b2b851
1,282
/* * Copyright 2018 Martin Winandy * * 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 w...
24.653846
118
0.723089
a0c495963b528c6527c79f94679f2b640c280377
188
package ua.com.foxminded.division.output; import ua.com.foxminded.division.maths.Step; import java.util.List; public interface Output { void outputResult(List<Step> listOfSteps); }
18.8
46
0.776596
bc18f869060d32f418fe6b2216d6591f4236c688
1,842
package com.semester; import java.util.*; /* * Define a class in Java called Commission, which has an * instance variable, salesAmount; an appropriate constructor; and * a parameterized method, commission(float rate) that returns the commission. * Now write a test class to test the Commission class by readi...
27.492537
272
0.590119
13828ca39a80ffcc34c2f34afe48112df1e7a726
883
package com.alibaba.tesla.appmanager.server.repository.domain; import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSONObject; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; import org.apache.commons.lang3.StringUtils; import java.util.Date; @D...
20.534884
62
0.698754
64b5729f2aa64b077609767a11b0b74593965d2a
3,406
/******************************************************************************* * (c) Copyright 2017 Hewlett Packard Enterprise Development LP 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 ...
29.877193
105
0.613917
c2eb023e1a0987a5aa35cc608b14161ac7deb15f
1,961
/* * Licensed to Elastic Search and Shay Banon under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. Elastic Search licenses this * file to you under the Apache License, Version 2.0 (the * "License"); you m...
29.712121
102
0.675166
0ef0130ba1e9e7caa93f1cbc07253daa1c77d219
4,652
/* * Copyright (c) 2016 Matrix Studios. * All code is licensed under the WTFPL. * A copy of this license is available with this software or at http://wtfpl.net/ * */ import javax.swing.tree.DefaultMutableTreeNode; import java.util.ArrayList; /** * The job class. * Managing status, runtime, and synchronizatio...
25.145946
105
0.572872
2b98cec5f7cba0b064cfa95c41678b215b3862db
617
package it.polimi.ingsw.network.messages.game.server2client; import it.polimi.ingsw.model.util.Colors; import it.polimi.ingsw.model.util.TokenType; import it.polimi.ingsw.network.messages.Message; import it.polimi.ingsw.network.messages.MessageType; public class TokenShow extends Message { private final TokenType to...
22.851852
60
0.777958
523a88e377ea960c63a5cd07dd8317ef73723988
11,877
package info.nightscout.android.medtronic; import android.content.Context; import android.graphics.Color; import android.graphics.Typeface; import android.support.annotation.NonNull; import android.text.Spannable; import android.text.SpannableStringBuilder; import android.text.style.DynamicDrawableSpan; import android...
41.673684
132
0.645112
2a403b177a1687da50ffcaf8b1232c5146459eeb
732
package org.icepear.echarts.components.marker; import lombok.Data; import lombok.experimental.Accessors; import org.icepear.echarts.origin.component.marker.MarkArea1DDataItemOption; import org.icepear.echarts.origin.util.ItemStyleOption; import org.icepear.echarts.origin.util.SeriesLabelOption; @Accessors(chain = tr...
20.333333
76
0.780055
c1c183cc3aa10a7c557a69fadc2abbc66b80e008
786
/* * Copyright (c) 2014 Plexonic Ltd */ package saltr.game; /** * The SLTAssetState class represents the asset state and provides the state related properties. */ public class SLTAssetState { private String token; private Object properties; /** * @param token The unique identifier of the sta...
21.833333
96
0.625954
a79bc5c5cad93a437c76208b44c2ad6df9517b1d
2,515
package org.afplib.samples; import java.io.BufferedInputStream; import java.io.BufferedOutputStream; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.nio.charset.Charset; import java.util.Random; import org.afplib.afplib.PTX; import org.afplib.afplib.SFName; imp...
25.15
78
0.662028
93686e1ef61c37e53699e91fb08f79db5242d7dd
5,295
package yaml.element; import java.util.ArrayList; import yaml.element.NodeType; import yaml.element.CapabilityType; import yaml.element.ArchitectType; import yaml.element.Output; import yaml.element.Input; import yaml.element.Group; import yaml.element.NodeTemplate; import yaml.element.Import; import yaml.element.Rela...
44.872881
139
0.734089
f887dccac7ea947060c764510a821915023411d1
17,661
package org.openstreetmap.atlas.checks.event; import static org.openstreetmap.atlas.geography.geojson.GeoJsonUtils.GEOMETRY; import static org.openstreetmap.atlas.geography.geojson.GeoJsonUtils.OSM_IDENTIFIER; import static org.openstreetmap.atlas.geography.geojson.GeoJsonUtils.PROPERTIES; import static org.openstreet...
40.6
100
0.646
87932942994a2c593dde20bb1b2acd1c20239785
817
package com.chauncey.WeTeBot.model.weather; import lombok.Data; import org.springframework.stereotype.Component; /** * @author https://github.com/ChaunceyCX * @version 1.0 * @className Now * @description 实况天气 * @date 2019/6/29 上午10:27 **/ @Data @Component public class Now { // 云量 private String cloud; ...
19
48
0.638923
062522ee964a8ea059e8414d4eb29496fb0eb848
1,533
package com.legwand.nodemonitor.config; import com.legwand.nodemonitor.service.NodesServiceImpl; import com.mongodb.client.MongoClient; import com.mongodb.client.MongoClients; import org.apache.logging.log4j.message.Message; import org.springframework.beans.factory.annotation.Value; import org.springframework.context....
31.9375
96
0.778865
02df77809a4c53d9b9dd2c65cf100cc476d24381
2,044
package com.jaredrummler.baking.widget; import android.content.Context; import android.content.Intent; import android.widget.RemoteViews; import android.widget.RemoteViewsService; import com.jaredrummler.baking.R; import com.jaredrummler.baking.data.model.Ingredient; import com.jaredrummler.baking.data.model.Recipe; ...
25.234568
97
0.676614
a259fef9268e5664752830392a93f3b69591849a
96
package com.yuan.util.io; /** * 下载小工具类 * @author Yuan-9826 */ public class DownloadUtils { }
12
28
0.666667
e18315dc6c969fe03eb63acf807b7a8ffffc57ef
216
package com.github.inherit.demo; /** * @author 许大仙 * @version 1.0 * @since 2021-09-05 13:58 */ public class Son extends Father { public double max(double a, double b) { return a > b ? a : b; } }
16.615385
43
0.592593
2f358e6cdbce1ad89c9e706f21bd4d97892b9a54
600
package pgnio; import org.junit.Assert; import org.junit.Test; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; public class EmbeddedDbTest extends DbTestBase { @Test public void testSimpleJdbc() throws SQLException { try (java.sql.Connection conn = db.newJdbcConnection()) ...
26.086957
78
0.681667
5589060ec0b7ee84c2aa29fc6036079fe3d2ec5b
1,361
package enginecrafter77.survivalinc.client; import java.awt.Color; import enginecrafter77.survivalinc.stats.SimpleStatRecord; import enginecrafter77.survivalinc.stats.StatProvider; import enginecrafter77.survivalinc.stats.StatTracker; import net.minecraft.client.Minecraft; import net.minecraft.client.gui.ScaledResolut...
34.025
115
0.806025
eabfbcabca722e0b6295eabf7f62c00dd93c49e8
216
package co.edu.eafit.solver.lib.systemsolver.lufactorization; /** * Contains the components of the output from any factorization method. * @author halzate93 * */ public enum ELUResults { L, U, Steps, X, Z, P }
19.636364
71
0.722222
0c556bb3de69457441adb405d3604e4a76f786ff
486
package inferno_demo.core.commands; import inferno_demo.core.BaseCommand; import inferno_demo.models.api.WeaponInterface; import java.util.Map; public class PrintCommand extends BaseCommand { @Override public String execute() { Map<String, WeaponInterface> weapons = super.getWeaponRepository().findAl...
27
85
0.693416
ff8bb3b4fa230a02c0415d0182d0cd27ef1f47d8
9,231
/* * Copyright (C) ExBin Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
39.448718
168
0.627993
adfc22e9939a69a3835f59c77e3cbfa950b316c6
2,907
package ru.stqa.training.selenium.litecart.tests; import org.junit.Assert; import org.junit.Test; import org.openqa.selenium.By; import org.openqa.selenium.WebElement; import ru.stqa.training.selenium.TestBase; import ru.stqa.training.selenium.litecart.tests.AutorizationTests; import java.util.Random; public class R...
51
176
0.712762
bc27a3b0ba7c56964291ecf0d71084e5725c91ad
356
package com.github.johnsonmoon.queue; /** * Create by johnsonmoon at 2018/11/27 11:41. */ public interface Task<T> extends SimpleTask<T> { /** * Method before task execution. */ void before(); /** * Method after task executed (was done). * * @param t returned value by task execu...
18.736842
48
0.595506
a5424dae67cc51a153a951135d9747c45a71ef15
167
package cz.muni.fi.spnp.gui.storage.oldformat.models; /** * Base class for the elements in old format. */ public class ElementOldFormat { public String name; }
18.555556
53
0.724551
3bce3a3ac71597b590c37485e00f2694116ad757
429
package com.dwarfeng.capacitychecker.impl.handler; import com.dwarfeng.capacitychecker.stack.handler.Driver; /** * 驱动器构造器。 * * @author DwArFeng * @since 1.0.0 */ public interface DriverProvider { /** * 返回制造器是否支持指定的类型。 * * @param type 指定的类型。 * @return 制造器是否支持指定的类型。 */ boolean sup...
15.321429
57
0.596737
82433e7d26783c07a2557121b113e3020f6c3275
1,720
/** * 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 m...
35.102041
103
0.719767
152df2ea6307bb8a68fd963c01214317912ef588
2,241
package com.example.demo; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import java.util.*; public class Commuter { private static final Log LOG = LogFactory.getLog(Commuter.class); private Commuter() { } /** * Find if destination city is reachable from orig...
28.730769
92
0.558679
83c7a4638e728fad13a01ece234ef348ea1349ad
2,581
package com.bestaone.hiauth.controller; import com.bestaone.hiauth.api.RoleApi; import com.bestaone.hiauth.api.commom.ApiResponse; import com.bestaone.hiauth.api.commom.PageVo; import com.bestaone.hiauth.api.vo.RoleVo; import com.bestaone.hiauth.domain.Role; import com.bestaone.hiauth.service.RoleService; import com.g...
31.864198
137
0.742735
9ff40de150d94b7db6edd6f125cc1f00c7b313c5
533
/* * * * Copyright 2020 New Relic Corporation. All rights reserved. * * SPDX-License-Identifier: Apache-2.0 * */ package com.nr.agent.instrumentation.grpc; import com.newrelic.api.agent.NewRelic; public class GrpcConfig { public static final boolean disributedTracingEnabled = NewRelic.getAgent().getConfi...
24.227273
142
0.733583
60ce255a4ef6487e933f3aa5ca2f551c06330e83
446
/* * 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 co.edu.uniandes.csw.fotografia.adapters; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRoot...
20.272727
79
0.73991
60b3d582b17b5e262d4d306737810ce56a571286
4,031
package com.github.nightcodelabs.pretzel.helpers; import java.io.File; import java.io.IOException; import java.util.Properties; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * This class is used to gather and manage the information from a properties file */ public class ConfigReader { public stat...
35.991071
120
0.763334
3f7467ae832b2cc9cb4e2c55fb981682a2404f66
1,226
package io.cucumber.core.gherkin.vintage; import gherkin.pickles.PickleLocation; import io.cucumber.core.gherkin.Location; import java.util.Objects; final class GherkinVintageLocation implements Location { private final int line; private final int column; private GherkinVintageLocation(int line, int co...
24.52
84
0.650082
6ff847e187ed20184a2f51699c5d95733da7bf8c
4,838
package de.fxdiagram.idea.classdiagram; import com.intellij.psi.*; import com.intellij.psi.util.PsiTreeUtil; import de.fxdiagram.core.XConnection; import de.fxdiagram.core.XConnectionLabel; import de.fxdiagram.core.XNode; import de.fxdiagram.core.anchors.TriangleArrowHead; import de.fxdiagram.core.extensions.ButtonExt...
37.215385
146
0.652129
6de2cbfba269aa4d28bebd49a6069949e4ea42a1
471
/* * 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 edu.co.sena.clases.metodos; /** * * @author hernando */ public class Celular { public Celular() { } ...
18.84
79
0.647558
0e9a1a7c9c3ebbf7fde6fa42cdee93ecdb87cf79
1,584
package com.nacid.data.users; public class UserAddressRecord { /** * principno tezi promenlivi e dobre da se prehvyrlqt v dadeniq Impl class v bl layer-a */ public static final int ADDRESS_TYPE_INDIVIDUAL = 0; public static final int ADDRESS_TYPE_GROUP = 1; public static final int ADDRESS_RECORD_INACTIVE = 0...
24
100
0.728535
21696ba508529b8c66ea342f523e321483349472
11,418
package controllers.settings; import controllers.GraphicController; import javafx.collections.FXCollections; import javafx.collections.ObservableList; import javafx.fxml.FXML; import javafx.fxml.Initializable; import javafx.scene.control.*; import javafx.scene.paint.Color; import javafx.scene.shape.Rectangle; import l...
54.113744
193
0.732703
005ed51c640afcec4a0a137fedc3a2e87c0dd529
15,408
package com.ambit.otgorithm.views; import android.app.AlertDialog; import android.app.DatePickerDialog; import android.app.Dialog; import android.content.Intent; import android.graphics.Color; import android.graphics.drawable.ColorDrawable; import android.os.Bundle; import android.support.design.widget.CoordinatorLayo...
37.857494
143
0.642004
9b52aac66b9c9607ddca8c58baa6278e24afa127
306
package open.sylhare.rest; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; @RestController public class HelloController { @RequestMapping("/") public String index() { return "This is JChess"; } }
20.4
62
0.722222
96ece43cd3859d0b5aec65470a9cf3ab9b1ddd2b
1,263
package com.ruoyi.tickets.domain; import com.fasterxml.jackson.annotation.JsonFormat; import java.util.Date; /** * 用于在购买车票接口接收前端传来的数据 */ public class TicketOrder { private String busId; @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8") private Date startDate; @JsonFormat(pattern="kk:mm:ss",timez...
21.40678
70
0.588282
0b65eb76cc88d7d84a4fed73d309aab0194803aa
399
package com.example.jpaexamples.example02.onetomany; import lombok.Data; import lombok.NoArgsConstructor; import javax.persistence.*; import java.util.List; @Data @NoArgsConstructor @Entity public class User02 { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private int id; private String na...
19.95
55
0.75188
62e117ca9a7202487f1f5907319e4f2a4f7cee07
2,548
package ru.job4j.vacancy; import org.apache.log4j.Logger; import java.sql.*; import java.util.ArrayList; public class DataBase implements AutoCloseable { private static final Logger LOGGER = Logger.getLogger(DataBase.class); private Connection connect; public DataBase() { connect = ConnectorDB.g...
31.45679
146
0.556122
067aa36d7880609e82ddcf0b5a8aeed7c838a39d
521
/* * 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 gwent; /** * * @author kenne */ public class CampoBatalha { private Carta[] listaCartas; private int n...
23.681818
80
0.683301
203187fdcf95b98a6ba5683ef047e1eb991aea53
903
package cz.mg.language.entities.mg.runtime.instances; import cz.mg.collections.array.Array; import cz.mg.annotations.requirement.Mandatory; import cz.mg.annotations.requirement.Optional; import cz.mg.annotations.storage.Link; import cz.mg.annotations.storage.Part; import cz.mg.language.entities.mg.runtime.MgObject; im...
26.558824
75
0.728682
d575a67c87557fbcabaa36aa94d6d0717728c601
343
package com.home.base.constlist.generate; /** 机器人测试模式(generated by shine) */ public class GRobotTestModeType { /** 场景内随机找点移动 */ public static final int RandomMove=7; /** 测试gm指令 */ public static final int TestGM=101; /** 测试大乱斗 */ public static final int TestMelee=102; /** 长度 */ public stati...
18.052632
42
0.650146
43d11f4615730503f0772c0651b11ea47e875c9a
1,302
import java.util.Scanner; public class lab11Task05{ public static void main(String[] args){ Scanner keyboard = new Scanner(System.in); System.out.println("Input five numbers"); int[] arr = new int[5]; for(int i = 0; i < arr.length; i++){ arr[i] = keyboard.nextInt(); } int n = ...
22.067797
46
0.430876
1adf33c5daa4cbef99677c896bd8f34928e04904
423
package org.corfudb.runtime.exceptions; /** * This Exception is thrown when there is an invalid modification to the layout. * Example : Manager attempting to set empty layout, sequencer or logunit segments list. * * <p>Created by zlokhandwala on 10/12/16. */ public class LayoutModificationException extends Runtim...
28.2
88
0.749409
ff7e85fb9b8a3252aa6b38a0638345123bcb5a84
2,665
package com.rhod.kalah.logic; import com.rhod.kalah.models.Player; /** * Iterator class which controls the pit iteration over the * pits, won't land on your opponents pit. The iterator starts * on the first dropable pit. * * Can also interact with current pit. * @author Rhodri * */ class PitIterator { int c...
24.227273
117
0.687054
9ecb11ccf7655c43a44e06ba5d335b3721a78ff9
1,810
package cn.ffast.web.controller.sys; import cn.ffast.core.annotations.CrudConfig; import cn.ffast.core.annotations.Logined; import cn.ffast.core.annotations.Permission; import cn.ffast.core.vo.ResponseInfo; import cn.ffast.web.entity.sys.Res; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springfr...
25.857143
89
0.713812
cf0a5152e2db591325f5ea58a42a4cdc0a0d6a9f
1,858
/** * Copyright (c) 2013-Now http://jeesite.com All rights reserved. * No deletion without permission, or be held responsible to law. */ package com.jeesite.modules.cms.service; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; import com.jeesite.common...
20.195652
81
0.698062
01f0b3e2ddad49057af22ea171d7cfcf4cb3cd38
1,584
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
36
75
0.660985
b3814a626f2c943fa49d5d3777f97332e5c1ad9a
1,640
package com.nab.dto; public class OrderDetailResponseDTO { private Long orderDetailId; private int quantity; private double price; private String createdBy; private String modifiedBy; private String createdDate; private String modifiedDate; private String formatDateStr; private ProductResponseDTO...
17.263158
61
0.748171
3c6ef2cf54bea3db006b2a34c5365cfcda9a5c41
3,212
package com.thebluealliance.androidclient.database.writers; import com.thebluealliance.androidclient.database.Database; import com.thebluealliance.androidclient.di.TBAAndroidModule; import javax.inject.Singleton; import dagger.Module; import dagger.Provides; @Module(includes = TBAAndroidModule.class) public class D...
27.452991
96
0.717621
b064d27d2d1ba99d0840c4ca7493184e8e81eaef
636
package com.twu.biblioteca.commands; import com.twu.biblioteca.Authenticator; import com.twu.biblioteca.lib.Command; import com.twu.biblioteca.models.UserAccount; /** * Created by bhartman on 3/5/15. */ public class UserInfoCommand implements Command { public String describe() { return "Checks-out the s...
25.44
85
0.668239
3573412aae15cc01920d07dfa9959d0d1a80fba1
835
package idx3d.debug; import idx3d.idx3d_Light; import org.jhotdraw.annotation.Nonnull; public class idx3d_Light_Inspector extends InspectorFrame { private final static long serialVersionUID = 1L; public idx3d_Light_Inspector(@Nonnull idx3d_Light l, String id) { super(l, id); addEntry(new Ins...
41.75
107
0.699401
bd4b88ebe7b653888ac0271eaf2ee9590611567d
760
package com.stephenwan.libutfood.model; import java.util.Arrays; public class FoodItem { public FoodItem(String name, FoodItemFlag[] flags, String nutritionLink) { this.name = name; this.flags = flags; this.nutritionLink = nutritionLink; } String name; String nutritionLink; FoodItemFlag[] flags; pub...
15.833333
81
0.681579
70ff425fabf5f07694ebf97e63fd7bf63f216496
252
package com.github.ejahns.model.interfaces.haselement; import java.util.List; import com.github.ejahns.model.interfaces.GherkinElement; public interface HasTags extends GherkinElement { List<String> getTags(); void setTags(List<String> tags); }
19.384615
57
0.793651
880c9f91e5c7ad1e35791e1a75301e4c781e558e
1,485
package com.xballoy.aoc.challenge; import com.xballoy.aoc.AdventOfCodeException; import com.xballoy.aoc.InputSupplier; import com.xballoy.aoc.challenge.day5.Seat; import com.xballoy.aoc.challenge.day5.ToSeat; import java.util.List; import java.util.stream.Collectors; import java.util.stream.IntStream; public class D...
29.117647
82
0.622222
225d2149f87c3ff1e9bb73b68de4f8f535b25c88
3,023
package com.amoy.pod.support.security; import com.amoy.pod.support.base.Result; import com.google.gson.Gson; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; import org.springframework.data.redis.core.StringRedisTemplate; import org.springframewo...
41.986111
129
0.73437
3459b833ceb7cc55559135ebe14b914131291a34
1,327
package hip.ch3.avro; import au.com.bytecode.opencsv.CSVParser; import com.google.common.collect.Lists; import hip.ch3.avro.gen.Stock; import org.apache.commons.io.FileUtils; import org.apache.commons.io.IOUtils; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.util.List; /** ...
26.019608
78
0.727958
734f6b24feb0a58dcf11ffd35e7c0f12ec36a084
1,386
package dev.emi.trinkets; import dev.emi.trinkets.api.TrinketsApi; import dev.emi.trinkets.api.client.TrinketRendererRegistry; import net.minecraft.client.render.VertexConsumerProvider; import net.minecraft.client.render.entity.feature.FeatureRenderer; import net.minecraft.client.render.entity.feature.FeatureRendererC...
43.3125
215
0.787157
3cffcc058bd413efa2bf6513e60d68874db16f15
2,247
package org.oddjob.arooa.design.view; import org.junit.Test; import java.awt.Component; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JPanel; import javax.swing.JTextField; import javax.swing.WindowConstants; import org.junit.Assert; import org.oddjob.arooa.ArooaParseExceptio...
24.966667
75
0.70316
b8ff394109f2961ddfa4c28e4c7526f8faf5da35
124
package com.cmput301.cia.activities.users; /** * Created by Jessica on 2017-12-03. */ public class RankingsFragment { }
13.777778
42
0.717742
2cdd69db964c7e8ebc1feea34ae58fb25d50c33c
305
package Objects; import java.awt.Color; public class BackgroundBox { Color baseColor; String boxPath; public BackgroundBox(Color baseColor) { this.baseColor = baseColor; } public void setBoxPath(String path) { boxPath = path; } public Color getBaseColor() { return baseColor; } }
13.26087
40
0.711475
d6e48b7c9677e753921a9f6f44e61cee3c96700a
3,390
package cz.salmelu.edmonds; import java.util.HashMap; import java.util.HashSet; import java.util.Map; import java.util.Set; /** * A class representing a graph used for edmonds algorithm. * Also contains private fields for algorithm's markings * @author salmelu */ public class Graph { private Map<Vertex, Set<Vert...
23.873239
74
0.659587
6b983ab677a546801f0e99395f5b6d9b046b2bd0
5,090
/* * Copyright 2018 Organizations participating in ISAAC, ISAAC's KOMET, and SOLOR development include the US Veterans Health Administration, OSHERA, and the Health Services Platform Consortium.. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compl...
34.863014
140
0.668762
c2dababec56350a125a865a71a757644be31786f
3,994
package net.floodlightcontroller.odin.master; import java.net.InetAddress; import java.util.Map; import java.util.Set; import net.floodlightcontroller.odin.master.IOdinApplicationInterface; import net.floodlightcontroller.odin.master.NotificationCallback; import net.floodlightcontroller.odin.master.OdinClient; import...
26.805369
99
0.742614