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
dc91895bdb220a20e82e630b4cb1c28539ca169a
133
package com.coffee.baby.pattern.dynamicproxy; public interface TagetObject { void doSomethig(); void doSomethingElse(); }
14.777778
45
0.736842
b58041ae3b26a183a1afad0528a0b926f493511c
2,270
/* * Copyright (c) 2021 Tim Langhammer * * 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...
31.527778
112
0.720705
b48ec95eb95d2abe4524ae22b739f77a5305c52f
1,353
package ru.didim99.tstu.core.graphics.curve.builder; import android.graphics.PointF; import ru.didim99.tstu.core.graphics.math.Mat4; import ru.didim99.tstu.core.graphics.math.Vec4; /** * Created by didim99 on 02.03.20. */ class CubicInterpolator { private Mat4 basisMatrix; private float[] pointsPuffer; priva...
25.055556
61
0.603843
bdef3455065fe3b4c897785897c318e1c29d6efa
2,104
/** * @author AlgoBuilder * @see <a href="https://github.com/AlgoBuilder">Source Code</a> */ public class SampleImplementation { public static void main(String[] args) { // Gene domains Integer[] domain_1 = {0, 1, 2, 3, 4, 5, 7, 8, 9}; Integer[] domain_2 = {0, 1, 2, 3, 4, 5, 7, ...
42.08
117
0.553232
608911d16f89c32e25ef89a2553554644d8d618e
6,442
/* * * Copyright 2012-2014 Eurocommercial Properties NV * * * 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 req...
45.687943
136
0.707234
594e32e92583efb283eeca37ac838500e2546657
169
package com.dragome.utils; public class NamingUtils { public static String javaToDragomeNotation(Class<?> aClazz) { return aClazz.getName().replace(".", "_"); } }
18.777778
62
0.715976
849dd1ef9deebb04a2238591eb03a5560147a3c1
302
package com.bitdubai.fermat_dap_api.layer.dap_transaction; import com.bitdubai.fermat_api.Plugin; /** * Created by Manuel Perez (darkpriestrelative@gmail.com) on 09/09/15. */ public interface DAPTransactionSubsystem { void start () throws CantStartSubsystemException; Plugin getPlugin(); }
25.166667
70
0.774834
d8084284bf3fd1dc1f1fb4b76cff761a9d1784ab
277
package com.penglecode.xmodule.common.consts; /** * 常量池 * @param <T> * @author pengpeng * @date 2019年6月6日 下午12:56:51 */ public interface ConstantPool<T> { /** * 从常量池中获取常量值 * @param constant * @return */ public T get(Constant<T> constant); }
15.388889
46
0.602888
d5f566da32bdb05911a2c12ebed4834a170dc9dd
606
package imooc.naga.entity.plugin; import imooc.naga.core.util.JsonUtil; import lombok.SneakyThrows; import javax.persistence.AttributeConverter; import javax.persistence.Converter; import java.util.List; @Converter public class OutParamJpaConverterJson implements AttributeConverter<List, String> { @SneakyThrows ...
24.24
83
0.80198
982580037531a78b0347774876216f70655e0d13
3,449
/** * Copyright 2015 LinkedIn Corp. 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 * * Unless required by applica...
41.059524
106
0.742824
29efea1edfebe54cd9cf2181a0a7f29f3642596e
29,596
/* * Copyright 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 to in...
48.919008
112
0.737566
60bc8b7583e5065dd25e3d9d70072f9bd63207f8
5,880
package sqlite.feature.optional.case4; import android.content.ContentProvider; import android.content.ContentValues; import android.content.UriMatcher; import android.database.Cursor; import android.net.Uri; import com.abubusoft.kripton.android.KriptonLibrary; /** * <p>This is the content provider generated for {@li...
32.666667
158
0.692857
0ae6a2e04da277edd36fecafcb8c27e6a2ae5dbd
984
/* * Copyright 2020 Google LLC * * 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 wr...
31.741935
75
0.747967
5445d02aa9462292273473d7b9e342a86239e444
1,989
/** * @license * Copyright 2018, Instituto Federal do Rio Grande do Sul (IFRS) * * 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 * ...
31.078125
98
0.736551
09122b5c8ad0e9ec642bd85d63175b0c5ce507b9
2,643
package org.maxkey.util; import java.util.Date; import org.maxkey.util.DateUtils; public class DateUtilsTest { /** * Main method for test. * * @param args * @throws EncryptException */ public static void main(String[] args) throws Exception { String stringValue = "20110610090519"; System.out.prin...
41.952381
143
0.707529
dcf564cd613031999fa9f9df392b64e46698d6dc
171
package de.vinado.wicket.participate.model; /** * @author Vincent Nadoll (vincent.nadoll@gmail.com) */ public enum Voice { SOPRANO, ALTO, TENOR, BASS }
14.25
52
0.654971
0096ab41b3cf9178d41926d1e1a0a73010700f91
1,390
package ru.otus.domain; import javax.validation.constraints.NotEmpty; import javax.validation.constraints.NotNull; import javax.validation.constraints.Size; public class Author { private Long id; @NotNull @NotEmpty @Size(max = 255) private String name; @NotNull @NotEmpty @Size(max = 255) private String surna...
16.352941
47
0.657554
22fba4c49005ad46917c6817a7b82ff3b40ca999
1,657
package nl.m4jit.framework.wsaccess.wswrapper; import java.io.IOException; import java.io.InputStream; import java.net.URL; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.DocumentBuilderFactory; import javax.xml.parsers.ParserConfigurationException; import org.w3c.dom.Document; import org.xml.sax....
29.070175
107
0.623416
e09740565974e775be8ec9d8b38f7f14cf8826d3
5,661
/* * Copyright 2009 Kantega 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 to in...
46.785124
123
0.66914
9e57c289984a735a65362dbe4c1d327c9fbe1043
6,629
/* * Copyright 2018 The Feast 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
37.241573
97
0.72575
a94ade28f9039db9f588e4efd7eee2f2dde50342
431
package com.ncme.springboot.mapper; import com.ncme.springboot.model.SystemExperts; public interface SystemExpertsMapper { int deleteByPrimaryKey(Integer id); int insert(SystemExperts record); int insertSelective(SystemExperts record); SystemExperts selectByPrimaryKey(Integer id); ...
25.352941
59
0.763341
14bca575ef748b66928c360865de9c86af98143c
2,851
package net.haesleinhuepf.clijx.plugins; import ij.measure.ResultsTable; import net.haesleinhuepf.clij.clearcl.ClearCLBuffer; import net.haesleinhuepf.clij.coremem.enums.NativeTypeEnum; import net.haesleinhuepf.clij.macro.CLIJMacroPlugin; import net.haesleinhuepf.clij.macro.CLIJOpenCLProcessor; import net.haesleinhuep...
36.551282
222
0.750263
ed91112e521158c4f0e55d62eb165347a9a090a8
1,331
package com.lambdaschool.foundation.models; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.persistence.*; import java.util.ArrayList; import java.util.List; @Entity @Table(name = "sections") public class Section extends Auditable { @Id @GeneratedValue(strategy = GenerationType.AUTO) ...
18.746479
117
0.672427
ce871e28104bf5609e56e6c3fb284cebd2607645
2,646
package me.majiajie.swipebacktest.activity; import android.content.Intent; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v4.view.ViewPager; import android.view.View; import java.util.ArrayList; import java.util.List; import me.majiajie.pagerbottomtabstrip.Controller; import...
28.451613
107
0.663643
3491c41c1a7dab2e8935d74334264e274649017a
803
package com.zb.leetcode.leetcode; import com.zb.leetcode.utils.P; public class LC035 { public static void main(String[] args) { P.p("123"); // searchInsert(new int[]{1,3,4,7}, 2); boolean flag = true; } public static int searchInsert(int[] nums, int target) { if(null == nu...
24.333333
60
0.469489
9e5f8961f4f97956901ea324bc06e00fd85aeb47
2,381
/******************************************************************************* * Copyright 2016 ContainX and OpenStack4j * * Licensed under the Apache License, Version 2.0 (the "License");...
45.788462
96
0.48929
2f543ec4fa4f69773d98fc006a349053585172ce
2,415
// Copyright 2000-2017 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.ide.util.projectWizard.importSources; import org.junit.Test; import static org.junit.Assert.assertEquals; /** * @author nik */ public class JavaSourceRoo...
36.590909
140
0.604969
b87b5c54b9036904b2c9098c4fd33be89d095de6
338
package com.advent.data; import com.fasterxml.jackson.annotation.JsonProperty; import java.util.List; public class DataSet { @JsonProperty private List<String> data; public List<String> getData() { return data; } public void setData(List<String> data) { this.dat...
16.9
61
0.627219
55e86dae313afa99e953ba47c43e0c516b104d6f
9,132
// Copyright 2018 The Feed 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 or agreed...
36.094862
101
0.697
dbb5cef1c3d0088d09124117bf75de12dcde7d16
1,498
/* * Copyright (C) 2015 Adam Huang <poisondog@gmail.com> * * 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...
25.389831
76
0.648198
df5838bb82cd562d7e6784d2fc6c260275c9649c
1,895
/* * 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 persistencia.entidades; import javax.persistence.CascadeType; import javax.persistence.Column; import javax.persistence.Entity...
20.824176
79
0.673351
7452bb914751da68ffde13894a0d41c9f782f7c3
11,940
package org.firstinspires.ftc.teamcode.subsystems; import com.qualcomm.robotcore.hardware.DcMotor; import com.qualcomm.robotcore.hardware.DcMotorEx; import com.qualcomm.robotcore.hardware.HardwareMap; import com.qualcomm.robotcore.util.ElapsedTime; import com.qualcomm.robotcore.util.Range; import org.firstins...
35.963855
126
0.632161
a4c1809f006a73bbe9e787f6ce0545243dad3885
4,632
/* * 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.escarabajos.dtos; import co.edu.uniandes.csw.escarabajos.entities.ModeloEntity; /** * ModeloDT...
23.632653
80
0.541235
2b0e71ead6648967fa582c20e2713120fa89df8f
2,544
/* * Copyright © 2017-2018 Harvard Pilgrim Health Care Institute (HPHCI) and its Contributors. * 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 limit...
26.5
113
0.712657
f3c118a0acfab3ccd723e4ca1c3a027b22d52e57
332
package reports.ex2.screen.entity.bookpublication; import io.jmix.ui.screen.*; import reports.ex2.entity.BookPublication; @UiController("jmxrpr_BookPublication.edit") @UiDescriptor("book-publication-edit.xml") @EditedEntityContainer("bookPublicationDc") public class BookPublicationEdit extends StandardEditor<BookPubl...
33.2
74
0.834337
6505f8482320d59364902c9167c9f0adc8fbf586
4,909
/* * Copyright 2009 Kantega 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 to in...
35.832117
125
0.572825
bbc4b073042669a5ae5c03d51d1caa18656aa882
12,969
package Main; import java.awt.EventQueue; import java.awt.Font; import javax.swing.JDialog; import javax.swing.JFrame; import javax.swing.JPanel; import javax.swing.UIManager; import org.jb2011.lnf.beautyeye.BeautyEyeLNFHelper; import dao.Dao; import javax.swing.JTextField; import java.awt.BorderLayout; import j...
26.685185
130
0.664739
7a3873331c15a2a291b814e05288a4fbcd97d4b2
776
package com.gostrange; import java.util.ArrayList; import java.util.List; public class Actions { private Position playerPossiblePosition; private List<Position> removePossiblePositions; public Actions() { this.setPlayerPossiblePosition(null); this.setRemovePossiblePositions(new ArrayList<Position>()); } ...
23.515152
81
0.80799
06a4a0b5642d4c80060e9ce307a167cfd23e141a
849
package com.github.switcherapi.client.model.criteria; import java.util.Arrays; /** * @author Roger Floriano (petruki) * @since 2019-12-24 */ public class Domain extends SwitcherElement { private String name; private long version; private Group[] group; public Group[] getGroup() { return group; } ...
15.436364
105
0.660777
c79b01e87a3f5166537125ff3e195cb947c5c0ad
1,610
/* * 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 ...
37.44186
94
0.754037
32566fc42fff508e9d519a165230ac5c2054636b
1,196
package com.softlayer.api.example; import com.softlayer.api.ApiClient; import com.softlayer.api.RestApiClient; /** Base class for all examples that parses the command-line arguments */ public abstract class Example { public void start(String[] args) throws Exception { // Args are username, api key, and (...
36.242424
109
0.62709
a557e0a739beedb5e5d75bbcc1384c8f4fdecc1c
262
package com.mysticcoders.mysticpaste.web.pages.history; /** * Created with IntelliJ IDEA. * User: kinabalu * Date: 3/10/14 * Time: 7:01 PM * To change this template use File | Settings | File Templates. */ public class PopularPage extends HistoryPage { }
21.833333
64
0.721374
a30b631c8565dc1fc59e5223eb5cbb477b20ebc4
4,703
package com.bfsi.mfi.vo; import java.util.Date; import com.bfsi.mfi.entity.DepositRedemptionTxnTracker; public class DepositRedemptionTxnTrackerVO extends MaintenanceVO<DepositRedemptionTxnTracker>{ public DepositRedemptionTxnTrackerVO() { entity=new DepositRedemptionTxnTracker(); } public DepositRedemption...
19.595833
95
0.750159
6d5e3a2bffc15ae415dbc9525adbc3516d686fc4
690
/** * Atom interface */ package dimerconstr.containers.atom; import dimerconstr.aux.math.Vector3d; import dimerconstr.containers.molecule.IMolecule; public interface IAtom { //Get owner molecule public IMolecule getMolecule(); //Set owner molecule public void setMolecule(IMolecule molecule); //Get intramolecul...
25.555556
54
0.781159
d4650484219776e261786ec3ec88f368a00708fd
2,540
package io.geekidea.springboot.assembly.vo; import com.fasterxml.jackson.annotation.JsonFormat; import lombok.Builder; import lombok.Data; import java.io.Serializable; import java.util.Date; /** * <p> * Api响应对象 * </p> * * @author liujixiang * @since 2018/12/28 */ @Data @Builder public class ApiResult imp...
18.014184
90
0.537402
d4369c9f98169507d27d8f6385365a0387db82ac
419
package com.wenox.users.repository; import com.wenox.users.domain.VerifyMailToken; import java.util.UUID; import org.springframework.data.repository.CrudRepository; import org.springframework.stereotype.Repository; @Repository public interface VerifyMailTokenRepository extends CrudRepository<VerifyMailToken, UUID> { ...
26.1875
90
0.840095
bdc858b64077084eb5095af88e3623f8fc4b7bae
3,726
package net.snapecraft.customserverutil_v3; import net.snapecraft.customserverutil_v3.commands.*; import net.snapecraft.customserverutil_v3.listener.JoinListener; import net.snapecraft.customserverutil_v3.listener.QuitListener; import net.snapecraft.customserverutil_v3.warp.WarpProtection; import org.bukkit.plugin.jav...
36.891089
123
0.555019
6820eca449c11f91ab7e447251369735f590f94d
1,649
/* * 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")...
32.98
78
0.704669
327be4e4fa99843cbbf59cf89c4a813fa4cb48f7
343
package com.websystique.springsecurity.service; import java.util.Optional; import org.springframework.security.core.userdetails.UserDetailsService; import com.websystique.springsecurity.model.User; public interface UserService extends UserDetailsService { User findById(int id); Optional<User> findB...
22.866667
73
0.787172
cfff1243f5531be463ca2aafce02a10bbe490ed5
4,309
package com.packleader.rapid.example.store.resources.v1; import com.packleader.rapid.example.store.domain.Customer; import com.packleader.rapid.example.store.domain.Order; import com.packleader.rapid.example.store.services.CustomerService; import com.packleader.rapid.example.store.services.OrderService; import io.swag...
45.357895
134
0.690647
4c3df287f41a57f6587811eb84533fe622f3531b
549
package io.github.emotionbug.jdbc.sshj; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * @author boky */ public class ConnectionData { private static final Logger log = LoggerFactory.getLogger(ConnectionData.class); final String ourUrl; final String forwardingUrl; public ConnectionData(Stri...
18.931034
82
0.730419
e29089a2ad6bb367867b6e8b7b94f4d6d46c77ef
1,032
package com.idealista.android.sample.app.movies.presenter; import com.idealista.android.elves.navigator.Navigator; import com.idealista.android.elves.view.mvp.presenter.Presenter; import com.idealista.android.sample.app.model.MovieModel; import com.idealista.android.sample.app.movies.presenter.command.GetTitleCommand;...
30.352941
90
0.754845
e6a24352e93f21da61088495041b8dcffde70434
4,214
package com.codepath.apps.restclienttemplate; import androidx.appcompat.app.AppCompatActivity; import android.content.Intent; import android.graphics.Color; import android.os.Bundle; import android.os.Parcelable; import android.text.Editable; import android.text.TextWatcher; import android.util.Log; import android.vi...
40.133333
121
0.594922
1d85b10c864efe7ca4ea24759efb146e0a4a928a
1,556
package lxy.liying.ipgw.post; import com.yanzhenjie.nohttp.NoHttp; import com.yanzhenjie.nohttp.RequestMethod; import com.yanzhenjie.nohttp.rest.Request; import com.yanzhenjie.nohttp.rest.Response; import java.net.UnknownHostException; import lxy.liying.ipgw.url.IPGWUrl; /** * 断开全部连接 * * @author 李颖...
27.298246
172
0.591902
41e5ce1072463ec419913359cec24e2f6dffce23
611
package pl.sdacademy.tarr2020java6.java.zaawansowana.klasy.standardowa; import pl.sdacademy.tarr2020java6.java.zaawansowana.oop.zadanie1.animals.Animal; import pl.sdacademy.tarr2020java6.java.zaawansowana.oop.zadanie1.plants.Plant; /** * @author : Jakub Olszewski [http://github.com/jakub-olszewski] * @project : tar...
29.095238
99
0.721768
f6c409d1852df8b0d8c3e1195f0eefaf1e495e6f
7,185
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ package com.aws.greengrass.componentmanager.plugins.docker; import com.aws.greengrass.componentmanager.exceptions.InvalidArtifactUriException; import com.aws.greengrass.componentmanager.models.Component...
47.9
117
0.663605
d6474e1d01cbcc9f37dbf50a976826aabb7284f4
571
// SPDX-FileCopyrightText: 2021 Paul Schaub <vanitasvitae@fsfe.org> // // SPDX-License-Identifier: Apache-2.0 package sop.cli.picocli; public class Print { public static void errln(String string) { // CHECKSTYLE:OFF System.err.println(string); // CHECKSTYLE:ON } public static voi...
21.148148
67
0.614711
1771f7fe0aa90c1c8bd2176f5d9c11a0ab2cb69c
517
package InversaoDeCor; import static org.opencv.imgcodecs.Imgcodecs.IMREAD_COLOR; import org.opencv.core.Core; import org.opencv.core.Mat; import org.opencv.imgcodecs.Imgcodecs; public class Manipular { public static Mat abrirImagem(String path) { System.loadLibrary(Core.NATIVE_LIBRARY_NAME); return Imgcodecs...
20.68
58
0.765957
7f2a6e837e9c78a510e1c9c239059b63d37f86dd
5,345
package com.zr.workflow.activiti.util; import java.util.Set; import org.apache.commons.lang.StringUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSONArray; import com.alibaba.fastjson.JSONObject; import com.google.gson.Gson; import com.goo...
20.797665
106
0.656876
09ac7679d94627c318dfb45cbf20f09e5b55a0cc
1,804
package piza.otavio.cambadaforum.user; public class User { private String email; // User's email private String login; // User's login private String name; // User's name private String password; // User's password private int points = 0; // User's point // Getters and Setters /** * Gets the email of th...
16.4
44
0.613636
6b55a04a4dee156b6fb4e3401396c74d80e3a205
12,187
package org.concord.energy3d.agents; import java.util.ArrayList; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import java.util.regex.Pattern; import javax.swing.JOptionPane; import org.concord.energy3d.gui.MainFrame; import org.concord.energy3d.undo.AddPartCommand; import ...
47.980315
313
0.688767
7a8bca5199a4e37f305af3e3bb9229e4ed55628b
4,396
package com.nepxion.discovery.platform.server.entity.vo; /** * <p>Title: Nepxion Discovery</p> * <p>Description: Nepxion Discovery</p> * <p>Copyright: Copyright (c) 2017-2050</p> * <p>Company: Nepxion</p> * * @author Ning Zhang * @version 1.0 */ import java.util.List; import org.apache.commons.lang3.builder....
21.443902
88
0.649227
e9fa8d4aeae8ead33fb633d646660e6d43909bfa
1,965
package eapli.base.app.common.console.presentation.PesquisarCatalogo; import eapli.base.catalogo.application.PesquisarCatalogoController; import eapli.base.catalogo.domain.Catalogo; import eapli.base.catalogo.persistencia.CatalogoRepositorio; import eapli.base.colaborador.persistencia.ColaboradorRepositorio; import ea...
37.075472
126
0.743003
f8c1a565f636d6b15179eb380e15d71c29114038
539
package org.openpanda.microservice.ddd.rule; /** * Created by lingen on 2016/12/24. */ public class PandaRuntimeException extends RuntimeException { private String errorCode; private String description; public PandaRuntimeException(String errorCode,String description){ super(errorCode); ...
19.962963
70
0.680891
26bd0d1d1907257e29aed4c41bb30ca3ac1d9721
122
//5, 22, 5, 27 package p; class A { public void m() { int temp = 2 + 3; int a = 1 - (temp); } }
11.090909
27
0.401639
4e8960203f68b3c0486e48acedd063b39c90af29
949
package org.kodejava.example.swing; import javax.swing.*; import java.awt.*; public class JLabelHTMLStyle extends JFrame { public JLabelHTMLStyle() { setTitle("JLabel with HTML Style"); initComponents(); } private void initComponents() { setDefaultCloseOperation(WindowConstants.EX...
30.612903
82
0.635406
e70804b5e1ebda967343aee75131a706a0cc9f8f
4,621
package io.opensphere.csvcommon.common.datetime; import java.util.List; import java.util.Map; import org.apache.commons.lang3.StringUtils; import io.opensphere.core.common.configuration.date.DateFormat; import io.opensphere.core.common.configuration.date.DateFormatsConfig; import io.opensphere.core.common.c...
34.485075
123
0.592729
14667347366f6a1b81195b34dea77d56791d25e9
2,346
package com.lambda.iith.dashboard.Cabsharing; import android.content.SharedPreferences; import android.os.AsyncTask; import com.lambda.iith.dashboard.MainActivity; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import java.text.ParseException; import java.text.SimpleDateFormat...
34.5
217
0.603154
444ee46a60bd263b34dee1e4bb4ba3e505c7455d
2,020
package org.houqian.core.bootstrap; import org.houqian.core.source.collection.ArrayList; import java.util.List; /** * @author : houqian * @version : 1.0 * @since : 2019-06-17 */ public class ArrayListBS { public static void main(String[] args) { // ------------------------无参数构造器实例化------------------------...
22.444444
84
0.538614
5ef1ad420d4519af4a461274904f1246f58d7ecd
6,250
/* * Copyright 2015 recommenders.net. * * 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 agr...
33.42246
154
0.63408
cc5ee886f0ec98b89409dbf71aee59f460175712
4,976
/** \file * * Mar 28, 2018 * * Copyright Ian Kaplan 2018 * * @author Ian Kaplan, www.bearcave.com, iank@bearcave.com */ package booksearch.model; import javax.validation.constraints.Digits; import javax.validation.constraints.NotBlank; import javax.validation.constraints.Pattern; import com.amazonaws.services...
27.491713
156
0.574156
8188efe4ffe07ea5281f613e6aee897fcc04360c
4,481
package cc.mrbird.febs.app.controller; import cc.mrbird.febs.app.entity.MetroToOfficeBuilding; import cc.mrbird.febs.app.service.IMetroToOfficeBuildingService; import cc.mrbird.febs.common.annotation.ControllerEndpoint; import cc.mrbird.febs.common.utils.FebsUtil; import cc.mrbird.febs.common.entity.FebsConstant; impo...
44.366337
129
0.793796
808ed8198c4339e2748a58ca825491faf6d24955
1,907
package top.tangyh.lamp.authority.service.common; import top.tangyh.basic.base.service.SuperService; import top.tangyh.lamp.authority.entity.common.LoginLog; import java.time.LocalDateTime; import java.util.List; import java.util.Map; /** * <p> * 业务接口 * 系统日志 * * </p> * * @author zuihou * @date 2019-10-20 */...
16.439655
106
0.541164
b080ae7b1b81b49f0146859a7da140e4fdc4cc0d
6,467
/* * Copyright 2019-present HiveMQ GmbH * * 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 ag...
36.744318
121
0.698315
91417d22562153fc2f993864498faeb337bff2af
1,120
package rero.bridges.menu; import java.awt.*; import java.awt.event.*; import java.util.*; import javax.swing.*; import javax.swing.event.*; import sleep.runtime.*; import sleep.engine.*; import rero.script.*; public class ScriptedItem extends JMenuItem implements ActionListener { protected ScriptInstance owne...
21.538462
123
0.609821
fa435340db9146d06023927f6ae5621fa13d4e4b
950
package linklist; import java.util.ArrayList; import java.util.List; //回文数是指正序(从左向右)和倒序(从右向左)读都是一样的整数。 public class LinkedList234 { public static void main(String[] args) { Solution234 mSolution = new Solution234(); ListNode n1 = new ListNode(1); // ListNode n2 = new ListNode(2); // ListNode n3 = new ...
16.37931
52
0.548421
0fea9160ec006e53c5fd1be1be1f1c880c28adf9
1,134
package wraith.colormeoutlines; import net.fabricmc.api.EnvType; import net.fabricmc.api.Environment; import net.minecraft.client.render.RenderLayer; import net.minecraft.client.render.VertexFormat; import net.minecraft.client.render.VertexFormats; import wraith.colormeoutlines.mixin.RenderLayerInvoker; @Environment(...
39.103448
153
0.688713
aa0bbb20fbf665429f4cd036e813bbdd7d034d2d
507
package com.stylingandroid.prism; import android.support.annotation.ColorInt; public class SetterAdapter implements Setter { private final ColorSetter colorSetter; public SetterAdapter(ColorSetter colorSetter) { this.colorSetter = colorSetter; } @Override public void setColour(@ColorInt ...
23.045455
58
0.717949
c247cb01ef2708d8a0fd047c8d312b4982140f1e
2,471
package org.usfirst.frc.team3042.robot.commands; import edu.wpi.first.wpilibj.command.Command; import edu.wpi.first.wpilibj.smartdashboard.SendableRegistry; import org.usfirst.frc.team3042.lib.Log; import org.usfirst.frc.team3042.robot.Robot; import org.usfirst.frc.team3042.robot.RobotMap; import org.usfirst.frc.team...
30.8875
80
0.554431
1aaf7b6024d0cae75078bd5f28cf6aa9ce5758fd
325
package org.devgateway.toolkit.persistence.repository.category; import org.devgateway.toolkit.persistence.dao.categories.Ward; import org.springframework.transaction.annotation.Transactional; /** * @author idobre * @since 2019-06-26 */ @Transactional public interface WardRepository extends CategoryRepository<Ward>...
25
66
0.812308
814b798ebce83a1ae94055a6321eff3e0e02245f
310
package com.itxiaoming.jiamingweather.gson; /** * 作者:xjm. * 邮箱:xiaojiaming@infosec.com.cn * 公司:Infosec Technology * 创建时间:Created on 2017/1/13 16:10. * 该类的作用: * 版本号: */ public class AQI { public AQICity city; public class AQICity{ public String aqi; public String pm25; } }
16.315789
43
0.641935
499081d35e439c08c69057d5259720154c947754
534
package org.d11.boot.application.util; import org.d11.boot.application.model.D11Entity; import org.modelmapper.AbstractConverter; import java.util.List; import java.util.stream.Collectors; /** * Converts a list of D11 entities to a list of ids. */ public class D11EntityListMapperConverter extends AbstractConverter...
26.7
98
0.756554
444b2740f59b96efb6719943da5aae7bf0ab2ddf
2,166
/* * Copyright (c) 2005-2011 Grameen Foundation USA * 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 * * Unl...
30.507042
80
0.680979
c679c279cabc5137a2b51b0325f2cb53dc069e33
2,880
/* * Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
35.555556
79
0.670833
9f76a32e0c2e3ae4801b674e307a609dc28a86d9
9,429
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
45.114833
126
0.644395
cef04f6ddd93284245851eb19a08d6b1c2035bb8
16,635
/* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved. * * The contents of this file are subject to the terms of either the GNU * General Public License Version 2 only ("GPL") or the Common * Development and Distribution License("CDDL") (...
40.474453
146
0.590502
90e4025877aaed9cc7d4c18e3e2271e5f73d4883
7,742
package com.endava.cats.args; import com.endava.cats.util.CatsUtil; import com.google.common.collect.Maps; import io.github.ludovicianul.prettylogger.PrettyLogger; import io.github.ludovicianul.prettylogger.PrettyLoggerFactory; import lombok.Getter; import lombok.Setter; import picocli.CommandLine; import javax.injec...
38.71
198
0.663782
52b232575c8196f8ad4473f24f58e9546e8c447e
3,012
/* * 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...
53.785714
123
0.788513
4543897899ec6d3d235c0a7b9451934bcccf01b7
1,057
/* * 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 inheritance; import java.util.LinkedList; import java.util.Random; /** * * @author tylerpowell */ public class Inheritanc...
27.102564
79
0.625355
51462684d16a71da0a9ebd29af2a66d5976b09f2
1,284
package org; import java.sql.Connection; import java.sql.SQLException; import java.sql.Statement; import javax.naming.NamingException; import com.alibaba.fastjson.JSONObject; import com.justep.baas.action.ActionContext; public class UpdatePersonUid { private static final String DATASOURCE_X5SYS = "system"; publi...
28.533333
122
0.713396
4c79be96b7bc3040609f9a72c33f61b858a12213
1,342
package edu.eci.ieti.envirify.security.userdetails; import edu.eci.ieti.envirify.model.User; import edu.eci.ieti.envirify.persistence.repositories.UserRepository; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.security.core.userdetails.UserDetails; import org.springframework....
35.315789
93
0.760805
fb91bc1caf69360a9c32cda1c70e8715b5b9e7de
1,132
/* * Copyright (c) 2016 Uber Technologies, Inc. (hoodie-dev-group@uber.com) * * 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 * ...
31.444444
100
0.725265
de79970bf148f033f1d7d568f59d070617b90c49
10,740
//package mindustry.desktop.steam; // //import arc.*; //import arc.struct.*; //import arc.util.*; //import com.codedisaster.steamworks.*; //import mindustry.*; //import mindustry.content.*; //import mindustry.entities.type.*; //import mindustry.entities.units.*; //import mindustry.game.EventType.*; //import mindustry.g...
32.644377
163
0.50121
79981580f245442603a15393a1077cc474c6f912
698
package sim.com.read; import org.objectweb.asm.ClassReader; import java.io.IOException; /** * @QQ交流群: 648741281 * @Email: 177300883312@163.com * @微信: londu19930418 * @Author: Simon.Mr * @Created 2020/5/22 */ public class TestReader { public static void main(String[] args) throws IOException { /*...
18.368421
70
0.591691
7c4b0cd9582ac1339f7fcc49cd5de4f2e55560a2
1,323
// Java program to implement optimized matrix chain multiplication problem. // https://www.geeksforgeeks.org/matrix-chain-multiplication-a-on2-solution/?ref=rp // https://www.youtube.com/watch?v=9uUVFNOT3_Y&list=PL_z_8CaSLPWekqhdCPmFohncHwz8TY2Go&index=35 import java.util.*; import java.lang.*; import java.io.*; ...
30.068182
102
0.637188
076294f198b524b1a45818d3744f152b663c2f8b
1,628
package com.silabs.thunderboard.demos.ui; import android.content.Context; import android.graphics.drawable.AnimationDrawable; import android.util.AttributeSet; import android.view.LayoutInflater; import android.view.View; import android.widget.FrameLayout; import android.widget.ImageView; import android.widget.TextVie...
26.688525
81
0.707617
1e7b6f2e4f3f65b7e846a5184c5c290afbc25a8b
1,657
/* * Copyright 2018 Alfresco, Inc. and/or its affiliates. * * 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 ...
30.685185
112
0.725407
7877f27066b32521909358ee51480449bf5e3316
519
package dev.patika.homework04.repository; import dev.patika.homework04.entity.SystemLog; import org.springframework.data.jpa.repository.Query; import org.springframework.data.repository.CrudRepository; import org.springframework.stereotype.Repository; import java.util.List; @Repository public interface LogRepository...
32.4375
71
0.764933
6c7603f09b7cd454b7652a264e4b4d84aac4c9ba
2,864
package manggo.com.query; import org.apache.commons.collections.CollectionUtils; import java.util.Collections; import java.util.List; public class Page<T> implements IPage<T> { private static final long serialVersionUID = 8545996863226528798L; private List<T> records; private long total; private lon...
21.862595
70
0.577863
3d0dc37c4ea0f463b174ea55c88b9404ce03156e
2,536
package npc.model; import java.util.ArrayList; import java.util.List; import l2f.commons.util.Rnd; import l2f.gameserver.data.xml.holder.NpcHolder; import l2f.gameserver.model.Creature; import l2f.gameserver.model.Player; import l2f.gameserver.model.SimpleSpawner; import l2f.gameserver.model.Zone; import l2f.gameserv...
24.621359
99
0.729495