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 |
|---|---|---|---|---|---|
6bfa78fc68433ae4f719cc5a940d603c7d6a18f2 | 968 | package com.cx.entity;
/**
* h_name varchar2(10) ,
position varchar2(10) not null,
price number(8) not null,
constraint hero_h_name primary key(h_name)
* @author KKW
*
*/
public class hero {
private String hname;
private String position;
private Integer price;
public String getHname() {
return hname;
... | 22 | 110 | 0.640496 |
44457e971aee3276de6512d36bdaaf33b5c67a04 | 726 | package fr.improve.struts.taglib.layout.util;
import javax.servlet.jsp.JspException;
import javax.servlet.jsp.PageContext;
import fr.improve.struts.taglib.layout.crumb.Crumb;
import fr.improve.struts.taglib.layout.crumb.CrumbsTag;
/**
* Render crumbs elements.
*
* @author jribette
*/
public interface ICrumbRend... | 24.2 | 106 | 0.761708 |
685c0170fe175852b0ea07d44b843f761b35f150 | 6,362 | package gms.shared.mechanisms.objectstoragedistribution.coi.stationreference.service.utility;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertTrue;
import gms.shared.mechanisms.objectstoragedistribution.coi.common.TestUtilities;
import gm... | 48.19697 | 111 | 0.762496 |
88932e0697d774582e4ccf6879e9d6cfd911b711 | 2,286 | package com.slugterra.model;
import net.minecraft.client.model.ModelBase;
import net.minecraft.client.model.ModelRenderer;
import net.minecraft.entity.Entity;
public class ModelRope extends ModelBase
{
//fields
ModelRenderer Shape1;
ModelRenderer Shape3;
ModelRenderer Shape4;
ModelRenderer Shape5;
... | 29.688312 | 105 | 0.634296 |
a818354e40fe2ecfed225742502551cfdfde94cf | 3,367 | package com.medicalappointmentsonline.MedicalAppointmentsOnline;
import com.vaadin.server.FontAwesome;
import com.vaadin.shared.ui.label.ContentMode;
import com.vaadin.ui.Alignment;
import com.vaadin.ui.Button;
import com.vaadin.ui.Component;
import com.vaadin.ui.CssLayout;
import com.vaadin.ui.CustomComponent;
import... | 30.609091 | 74 | 0.69112 |
1b951c3fcf70c052c82b7adbad1b2b9b19acab3c | 875 | package com.github.housepower.jdbc;
import com.github.housepower.jdbc.tool.EmbeddedDriver;
import org.junit.Assert;
import org.junit.Test;
import java.sql.DriverManager;
import java.util.Properties;
public class ClickhouseDriverRegisterTest {
private static final int SERVER_PORT = Integer.valueOf(System.getProp... | 33.653846 | 114 | 0.749714 |
16a2a82847f0d301d97f9c6205f75923c6f92e21 | 149 | package lucassbeiler.aplicativo.models;
public class Reacao {
private Integer id;
public Reacao(Integer id) {
this.id = id;
}
} | 16.555556 | 39 | 0.651007 |
84bf6d9dff40dc57d7e70c003f6034efa57c78fd | 255 | package server.controller.message;
import lombok.Data;
@Data
public class News {
private String id; // News id
private String head_line; // News headline
private String times; // New set and modification time
private String data; // News contents
} | 23.181818 | 56 | 0.752941 |
7f53372908db032d7b0cdff180215fb603f722e9 | 4,884 | package com.yilian.luckypurchase.fragment;
import android.content.Intent;
import android.support.v7.widget.RecyclerView;
import android.view.View;
import com.chad.library.adapter.base.BaseQuickAdapter;
import com.yilian.luckypurchase.R;
import com.yilian.luckypurchase.activity.LuckyUnboxingActivity;
import com.yilian... | 43.221239 | 146 | 0.518018 |
12a8a64dbc7be2a6e7ea827f8f26c3971bfc4663 | 2,322 | package ml.alternet.parser.util;
/**
* Wraps a value subject to transformation
* (the value may exist in its source form,
* or its target form).
*
* @author Philippe Poulard
*
* @param <Source> The source type
* @param <Target> The target type
*/
public class Dual<Source, Target> {
private Object value;
... | 22.326923 | 84 | 0.552972 |
926a1ee9031ab713001aadbc2f42b4e6f1b5a801 | 3,773 | /**
* Copyright (c) Dell Inc., or its subsidiaries. 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
*/
package ... | 40.138298 | 142 | 0.649351 |
8b9590c49493e9fef1b039855f3004679be69c03 | 2,680 | /*
* Copyright 2012 Sebastian Annies, Hamburg
*
* 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 o... | 30.804598 | 111 | 0.718657 |
d3b470ea5e13432dd8ff4896a8c106d069203cb6 | 9,334 | /*
* Copyright (c) 2008-2019, Hazelcast, Inc. 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 ... | 37.187251 | 120 | 0.660489 |
41e1c8a3de35f624f3bc1336783be5689f717e83 | 3,900 | package fibex.structures;
import java.util.Iterator;
import net.asam.xml.fbx.ECUTYPE;
import net.asam.xml.fbx.FIBEXDocument;
/**
* This class implements all functionality of FibexECU for FIBEX 2.0.1
*
* @author TUM CREATE - RP3 - Philipp Mundhenk
*/
public class FibexECU2_0_1 extends FibexECU
{
Boolean control... | 22.033898 | 150 | 0.676667 |
aa18e54838321af9045ed946e10e8a87cb2adb75 | 36,283 | package org.yeastrc.xlink.www.searcher;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import org.s... | 48.702013 | 156 | 0.747099 |
4a0a58b96f44eb0b1212afd897ccac63eb0403df | 797 | package net.mueller_martin.turirun;
import com.badlogic.gdx.Game;
import com.badlogic.gdx.assets.AssetManager;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import net.mueller_martin.turirun.screens.GameScreen;
public class Turirun extends Game
{
public SpriteBatch batch;
ScreenManager screenManager;
String ho... | 23.441176 | 53 | 0.747804 |
107145854146e70169af33f9decf70aa03ae5108 | 9,963 | /*
* Copyright 2011 Google 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 to in w... | 29.918919 | 85 | 0.571916 |
93d9e610072bd5c2229b46c1e70de7d47ba2147f | 2,219 |
package mage.cards.a;
import java.util.UUID;
import mage.abilities.Ability;
import mage.abilities.common.SimpleStaticAbility;
import mage.abilities.effects.Effect;
import mage.abilities.effects.common.AttachEffect;
import mage.abilities.effects.common.combat.CanAttackAsThoughItDidntHaveDefenderSourceEffect;
import ma... | 36.983333 | 160 | 0.757548 |
5fe35a3f5c061f33b4bbd4730f4e8cc8016855b1 | 1,774 | package nl.dslmeinte.xtext.examples.scoping;
import static org.eclipse.xtext.scoping.Scopes.scopeFor;
import nl.dslmeinte.xtext.examples.DataModelDslUtil;
import nl.dslmeinte.xtext.examples.dataModelDsl.DataModel;
import nl.dslmeinte.xtext.examples.dataModelDsl.DataType;
import nl.dslmeinte.xtext.examples.dataModelDsl... | 28.15873 | 81 | 0.762683 |
627bee506c7511d85b652831c54966625876cf89 | 1,105 | package ssm.downgrade.service;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import ssm.downgrade.entity.DownGrade;
import ssm.downgrade.mapper.DownGradeMapper;
import java.util.List;
import java.util.Map;
@Service
public class DownGradeImpl implements ... | 27.625 | 65 | 0.729412 |
873e1fffb5c6a142531970641956b2dc737189cb | 1,611 | //Sort a linked list in O(n log n) time using constant space complexity.
package org.leituo.leetcode.sort;
/**
* Created by leituo56 on 1/7/15.
*/
public class SortList {
class Solution{
//Merge sorting
//split the list by quick slow runner
//sort(quick), sort(slow)
//merge quick ... | 29.290909 | 73 | 0.495345 |
8f9031276bb1b7dbb73a6607e942bb0a5051384b | 349 | package com.example.university;
import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
public class AkademisyenActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.a... | 24.928571 | 60 | 0.773639 |
0a2dc90e8150834495a39fcfb887dd77f9acf578 | 311 | package common.dominios;
import common.dominios.enums.EstadoPrestamo;
import lombok.Data;
@Data
public class DetallePrestamo {
private int id;
private Prestamo prestamo;
private CopiaRecurso copiaRecurso;
private EstadoPrestamo estadoPrestamo;
private Biblioteca bibliotecaDevolucion;
}
| 19.4375 | 44 | 0.784566 |
ab2c6264f3ee6a5887d374bc7bf4bc06af96bbe2 | 4,176 | package dao;
import util.*;
import java.sql.*;
import java.util.*;
import bean.*;
public class NoticeDAOImpl {
public ArrayList<NoticeBean> _select() {
ArrayList<NoticeBean> list = new ArrayList<NoticeBean>();
ResultSet rs = null;
String sql="select * "
+"from notice "
+"order by dates desc;";
Pre... | 24.27907 | 85 | 0.670738 |
77f03d0df00e1f572f1c2deab9919ef7916e1d49 | 128 | package com.po.custom;
import javax.xml.bind.annotation.XmlRootElement;
@XmlRootElement
public class SysAccessTokenCustom{
}
| 14.222222 | 48 | 0.820313 |
a9be8f1789e1cb99ec9ffaa27b28f1eed25faf07 | 1,491 | /*
* Copyright 2018 Leonardo Rossetto
*
* 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... | 29.235294 | 89 | 0.715627 |
b3e721fa301391f3ea5d8ba2f919cb75419c3ccd | 238 | package com.mega4tech.oction.mvp.account.presenter;
import com.mega4tech.oction.mvp.account.view.AccountView;
import com.mega4tech.oction.presenter.BasePresenter;
public interface AccountPresenter extends BasePresenter<AccountView> {
} | 29.75 | 70 | 0.844538 |
d030f268af1dad6396ff5d9400d86305ea376cfd | 2,036 | /**
* @Company JBINFO
* @Title: BaseTest.java
* @Package org.bana.wechat.cp.user
* @author Liu Wenjie
* @date 2018年1月19日 下午3:33:45
* @version V1.0
*/
package org.bana.wechat.cp;
import org.bana.wechat.cp.app.CorpAppType;
import org.bana.wechat.cp.app.WechatCorpAppConfig;
import org.bana.wechat.cp.ap... | 33.377049 | 80 | 0.780943 |
85af765cf993e325f9da924dc431d0f2e3a2eebd | 2,466 | /*
* Copyright 2000-2019 JetBrains s.r.o.
*
* 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 agre... | 34.732394 | 158 | 0.773723 |
cc0234f78c4aacaa1a176cf934ee5ff742949c1a | 9,460 | package net.trustyuri.rdf;
import net.trustyuri.TrustyUriException;
import net.trustyuri.TrustyUriResource;
import net.trustyuri.TrustyUriUtils;
import org.eclipse.rdf4j.OpenRDFException;
import org.eclipse.rdf4j.model.BNode;
import org.eclipse.rdf4j.model.Resource;
import org.eclipse.rdf4j.model.Statement;
import org... | 37.098039 | 129 | 0.634989 |
52151dbdeb554e0811997107a7349a0a817449c3 | 3,585 | import com.google.errorprone.annotations.Var;
import com.hedera.hashgraph.sdk.FileCreateTransaction;
import com.hedera.hashgraph.sdk.FileDeleteTransaction;
import com.hedera.hashgraph.sdk.FileInfoQuery;
import com.hedera.hashgraph.sdk.KeyList;
import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Test;... | 33.194444 | 92 | 0.618968 |
1ef59f1b4f1feeacc4f72c22dcde84f1208e1a9a | 911 | /* Copyright (c) The m-m-m Team, Licensed under the Apache License, Version 2.0
* http://www.apache.org/licenses/LICENSE-2.0 */
package net.sf.mmm.client.ui.api.attribute;
import net.sf.mmm.util.lang.api.Alignment;
import net.sf.mmm.util.pojo.path.api.TypedProperty;
/**
* This interface gives read access to the {@l... | 31.413793 | 107 | 0.713502 |
897c75064de56a2b86ef20bf1b38646e095a1606 | 3,626 | /*
* Copyright 2012 Mirko Caserta
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this software 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 ... | 31.530435 | 121 | 0.748483 |
d292de100b6afd91b2a16d511125208daed073fd | 208 | package samples.springboot.fluentmybatis.config;
/**
* @author: daibin
* @date: 2021/7/29 11:35 上午
*/
//@MapperScan("samples.fluentmybatis.manager.mapper")
//@Configuration
public class MyBatisConfig {
}
| 18.909091 | 53 | 0.730769 |
189744f69c507a1dcdda5d286d8c961589b568b5 | 1,135 | package com.wuwii.config.security;
import com.wuwii.dao.UserDao;
import com.wuwii.entity.User;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cache.annotation.CacheConfig;
import org.springframework.cache.annotation.Cacheable;
import org.spri... | 32.428571 | 93 | 0.761233 |
bd5d4f3c956e2e4c3d704935c9ff02ba0470e5d2 | 703 | package io.github.alexnalivayko.archive.document.model;
import io.github.alexnalivayko.archive.document.entity.Document;
import io.github.alexnalivayko.archive.document.service.DocumentService;
import io.github.alexnalivayko.archive.document.type.DocumentType;
import org.springframework.stereotype.Component;
import j... | 30.565217 | 72 | 0.834993 |
f1755ffabb043ab44b08b359f1f886e60ef17c95 | 1,124 | package com.wjybxx.fastjgame.net.socket.outer;
import com.wjybxx.fastjgame.net.socket.SocketConnectRequest;
import com.wjybxx.fastjgame.net.socket.SocketConnectRequestTO;
/**
* 对外连接请求传输对象
*
* @author wjybxx
* @version 1.0
* date - 2019/10/2
* github - https://github.com/hl845740757
*/
public class OuterSocketC... | 23.416667 | 114 | 0.69484 |
9d534459ed94aeacc1c2f8282d302542665602d7 | 3,110 | package com.ak47007.utils;
import com.ak47007.model.addr.AdInfo;
import com.ak47007.model.addr.Response;
import com.alibaba.fastjson.JSONObject;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;
import javax.servlet.http.HttpServletRequest;
/**
* @author AK4... | 25.702479 | 104 | 0.523473 |
6b37c9e98202b6b3757e11e4605a4bc46e7e73a4 | 548 | package com.teoan.tclass.user.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.teoan.tclass.user.mapper.DepartmentMapper;
import com.teoan.tclass.user.entity.Department;
import com.teoan.tclass.user.service.DepartmentService;
import org.springframework.stereotype.Service;
/... | 28.842105 | 115 | 0.808394 |
af1e97324f39d4c297b4a1a68e97ebf44fd2aab1 | 821 | package org.example.com.leetcode.array.simple;
import java.util.HashMap;
import java.util.Map;
/**
* 496. 下一个更大元素 I
*/
public class Q34 {
// 哈希表
public int[] nextGreaterElement(int[] nums1, int[] nums2) {
Map<Integer, Integer> map = new HashMap<>();
int len = nums2.length;
for (int i... | 20.525 | 63 | 0.44458 |
f670cff39aaa39319080034073788c5db2dbbe42 | 4,659 |
package com.eficode.vis.model;
import com.eficode.vis.exception.validation.DescriptionException;
import com.eficode.vis.exception.validation.ServerNameException;
import com.eficode.vis.exception.validation.ValidationException;
import com.google.gson.annotations.Expose;
import java.io.Serializable;
import java.util.Da... | 27.405882 | 245 | 0.657652 |
a77ee876b94ce28d7554302ba06ca3a2b87f9e79 | 8,424 | package com.sap.cloud.lm.sl.cf.process.steps;
import static java.text.MessageFormat.format;
import java.io.IOException;
import java.sql.Timestamp;
import java.text.MessageFormat;
import org.activiti.engine.delegate.DelegateExecution;
import org.activiti.engine.runtime.Job;
import org.activiti.engine.runtime.JobQuery... | 45.290323 | 139 | 0.738723 |
227bb5dcdded79f39ff28ab7179bb7f24eb96b08 | 9,158 | /*
* 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 ... | 43.818182 | 131 | 0.709653 |
6a94fdfdcf62da925b965cdcf929659ce67592df | 1,517 | package ee.telekom.workflow.listener;
import java.util.Map;
/**
* Provides details on the human task work item associated with the event, the workflow instance's id,
* the workflow's name and version, the token id, role and user as well as the human task's arguments.
*
* The arguments must be used read-only!
* ... | 24.079365 | 132 | 0.661173 |
bd6ddd2a11752ca52d4f1aa5858d00446d4acb81 | 777 | package com.wisely.ch8_5.web;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.wisely.ch8_5.domain.Person;
import com.wisely.ch8_5.service.DemoService;
@Rest... | 18.069767 | 63 | 0.706564 |
1dab2853db5054ffedaddd55423aa7f530cc5abe | 906 | /*
* Copyright(c) 2019 mirelplatform All right reserved.
*/
package jp.vemi.mirel.apps.mste.domain.dao.repository;
import java.util.List;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Para... | 33.555556 | 120 | 0.763797 |
326fc2c163df6dacaf4ad67b7644c0906f9d6498 | 313 | package cn.xy.novelwebproject.dao;
import cn.xy.novelwebproject.bean.Novel;
import org.springframework.stereotype.Repository;
import java.util.List;
@Repository
public interface SearchMapper {
public List<Novel> searchBookByName (String keywords);
public List<Novel> searchBookByAuth (String keywords);
}
| 22.357143 | 56 | 0.805112 |
176d726b1f08b9c616f2763535b00c10b7b3a727 | 13,735 | package com.ztech.travelholic.Activities;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.graphics.Bitmap;
import android.net.Uri;
import android.os.Bundle;
import android.text.TextUtils;
import and... | 47.199313 | 176 | 0.567747 |
c0e53eda416946cb2a7efb075d0f7cfdb3130240 | 2,116 | package informatica.unipr.it.Prometheus.recyclerView.notificationSettings;
import android.content.Context;
import android.content.pm.PackageManager;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import java.util.List;
impor... | 32.553846 | 122 | 0.724953 |
5c880617c8032baeefcc31e209b9a1ce7310ccc9 | 3,959 | package de.samply.share.client.fhir;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertSame;
import static org.junit.jupiter.api.Assertions.assertThrows;
import static org.mockito.Mockito.when;
import ca.uhn.fhir.context.ConfigurationException;
import ca... | 35.990909 | 121 | 0.782521 |
a931c1a962d3a78909f10f1f5626d5155218a856 | 1,035 | /*
* 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 Generador;
/**
*
* @author Jose
*/
public class Triplo {
private Object valor1;
private String operado... | 19.903846 | 80 | 0.584541 |
5be571659ac33506f428873a623820354f74a07f | 1,131 | package com.ultra.anim;
import android.graphics.drawable.AnimationDrawable;
import android.view.View;
public class GradientAnim {
private int alpha;
private View view;
private int resource;
private int duration = 4000;
private AnimationDrawable frameAnimation;
public GradientAnim setTransitio... | 25.704545 | 70 | 0.65252 |
081e26ef7a0399b16f781e74f42ac97f967a8f4b | 809 | package com.flightstats.hub.util;
import com.google.common.hash.HashFunction;
import com.google.common.hash.Hashing;
import java.math.BigInteger;
import java.nio.charset.Charset;
public class Hash {
//This assumes we are using a full 64 bit range.
private static final BigInteger TOTAL_RANGE =
Bi... | 29.962963 | 85 | 0.703337 |
d40a8c1620fbb755c6bc6b4467c2c38ce818e1b1 | 759 | package com.so61pi.test.model.relationship.many2many.setlist;
import lombok.*;
import javax.persistence.*;
import java.util.ArrayList;
import java.util.List;
@Entity
@Table(name = BSong.TABLE_NAME)
@Getter
@Setter
@NoArgsConstructor
@EqualsAndHashCode(onlyExplicitlyIncluded = true)public class BSong {
public fin... | 23 | 92 | 0.722003 |
ae8bfab840f04930bd86f12bbaea5c688fc2898c | 654 | package gameauthoring.creation.cellviews;
import engine.profile.IProfilable;
import gameauthoring.waves.ListGraphicFactory;
import javafx.scene.layout.HBox;
/**
* Profile cell that can be deleted
*
* @author RyanStPierre
*
* @param <E>
*/
public class DeleteableProfileCellView<E extends IProfilable> extends Pr... | 24.222222 | 95 | 0.737003 |
e0b6c814f7d5b7741be07b448d98a983b059449c | 573 | package io.hawt.web.plugin;
import org.junit.Test;
import static org.junit.Assert.*;
import static org.hamcrest.Matchers.*;
public class HawtioPluginTest {
@Test
public void setScripts() {
HawtioPlugin plugin = new HawtioPlugin();
plugin.setScripts("");
assertThat(plugin.getScripts(... | 24.913043 | 72 | 0.647469 |
da95ca035c205a57a7af483dd4ff4885559313e8 | 5,299 | /*
* Copyright (c) 2018 by Philippe Marschall <philippe.marschall@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
*
* Un... | 35.092715 | 211 | 0.710511 |
f8c28ca7e1233b5f18869f7a92feb164d26b3347 | 30,246 | package edu.scripps.yates.proteindb.persistence.mysql.access;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Set;
import org.apache.log4j.Logger;
imp... | 33.870101 | 108 | 0.699861 |
34ed4ac0a6ed71cdd4d7a1b469467179dbc6b71f | 695 | package p05_Border_Control;
public class Citizen extends BaseCitizen{
private String name;
private Integer age;
// private Integer id;
public Citizen(String name, Integer age, String id) {
super(id);
this.setName(name);
this.setAge(age);
}
public String getName() {
... | 18.289474 | 57 | 0.564029 |
551c3a2dae84781f9300ac1499c32d3e75a59cb4 | 1,967 | /*******************************************************************************
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use these files except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unle... | 31.222222 | 81 | 0.673615 |
640caf143d405cdfe124c0edac125e8432c90a3e | 1,942 | /**
* Copyright (c) 2003-2019 The Apereo Foundation
*
* Licensed under the Educational Community 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://opensource.org/licenses/ecl2
*
* Unless requ... | 28.985075 | 81 | 0.704943 |
108e56256a3a1addf348c5dca4d70dc1d02ad60c | 2,192 | /*
* MIT License
*
* Copyright (c) 2021 Staatsbibliothek zu Berlin - Preußischer Kulturbesitz
*
* 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 l... | 25.788235 | 81 | 0.703011 |
458fbc595d806bb32dd59bd26d3653a05167b8ec | 10,192 | package openfoodfacts.github.scrachx.openfood.fragments;
import android.content.Intent;
import android.graphics.Color;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.view.animation.LinearOutSlowInInterpolator;
import android.text.Html;
import android.text.SpannableStrin... | 50.96 | 181 | 0.638736 |
e2ba7479622ff4f14ee1b13882b8dea4a5a6e96e | 1,737 | import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.chrome.ChromeDriver;
import org.testng.annotations.AfterSuite;
import org.testng.annotations.BeforeSuite;
import java.util.concurrent.TimeUnit;
public class TestBase {
WebDriver w... | 24.814286 | 82 | 0.602188 |
725edd059282afa9b6d160e4cc0375776e4024d7 | 21,755 | /*
* Copyright (C) 2014 The Android Open Source 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 app... | 38.233743 | 129 | 0.601195 |
842da836066ee3313b2045f565688706ad0373f7 | 342 | package com.click.house.mapper;
import com.click.house.entity.UserInfo;
import org.apache.ibatis.annotations.Param;
import java.util.List;
public interface UserInfoMapper {
// 写入数据
void saveData (UserInfo userInfo) ;
// ID 查询
UserInfo selectById (@Param("id") Integer id) ;
// 查询全部
List<UserIn... | 21.375 | 51 | 0.69883 |
913335947c2fb67a003ac11fdf312106acda0b20 | 980 | package com.eduardocode.jasonviewerapi.model;
import lombok.Data;
import org.hibernate.annotations.GenericGenerator;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
/**
* <h1>Usuario</h1>
* Modelo que representa a los usuarios a... | 25.789474 | 83 | 0.728571 |
1c529f57441b0e8e46ed66e7e2548a63d179c6d8 | 4,365 | package io.github.syst3ms.skriptparser.types;
import io.github.syst3ms.skriptparser.registration.SkriptRegistration;
import org.jetbrains.annotations.Nullable;
import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.Map;
import java.util.Objects;
/**
* Manages the registration and usage of {@link... | 36.07438 | 144 | 0.591065 |
a0ebdeb6fbb3f8406a13a623b628aae1936df9b1 | 8,345 | /*
* Artifactory is a binaries repository manager.
* Copyright (C) 2012 JFrog Ltd.
*
* Artifactory is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your o... | 43.238342 | 109 | 0.722109 |
abe707e8c3d825d8d5be663ab83ae7a3b4418960 | 6,695 | package com.amyliascarlet.jsontest.bvt.parser.bug;
import com.amyliascarlet.lib.json.JSON;
import com.amyliascarlet.lib.json.TypeReference;
import junit.framework.TestCase;
import java.util.List;
public class Bug_for_lingzhi extends TestCase {
public void test_0() throws Exception {
String str = "[\n" +
... | 24.888476 | 92 | 0.490366 |
651fc4650e8c57e6bdd37ed9425c969531aa6023 | 5,233 | /*! ******************************************************************************
*
* Pentaho Data Integration
*
* Copyright (C) 2020 by Hitachi Vantara : http://www.pentaho.com
*
*******************************************************************************
*
* Licensed under the Apache License, Version 2.0 ... | 33.980519 | 103 | 0.674374 |
1ecf515c72728c3630bf9419329b4126aeebb07c | 2,624 | /**
* 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
* "Li... | 32.8 | 108 | 0.636052 |
93cf7a764b85fedb0ccd7eda9654fdb47de2c0fd | 1,287 | package sepm.ss17.e1526280.service;
import sepm.ss17.e1526280.dto.Box;
import sepm.ss17.e1526280.dto.Range;
import sepm.ss17.e1526280.dto.StatisticRow;
import java.util.Date;
import java.util.List;
import java.util.concurrent.CompletableFuture;
/**
* This interface does Provide the basic functionality for the stati... | 28.6 | 87 | 0.693862 |
d3cd47d09509c0527cc646f662e9e7d3fa5de01e | 3,000 | package org.jadice.font.sfntly.table.opentype;
import org.jadice.font.sfntly.data.ReadableFontData;
import org.jadice.font.sfntly.data.WritableFontData;
import org.jadice.font.sfntly.table.opentype.classdef.InnerArrayFmt1;
import org.jadice.font.sfntly.table.opentype.component.RangeRecordTable;
import org.jadice.font.... | 30 | 91 | 0.669333 |
2fe93448e31a4992fa8348fd62327d162aca574a | 27,233 | /*
* Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
* This product includes software developed at Datadog (https://www.datadoghq.com/).
* Copyright 2019-Present Datadog, Inc.
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-gen... | 46.157627 | 109 | 0.682518 |
c650d0205eb493ce8efc5ca24a5487da0c33f8d7 | 831 | package com.bai.ding.goods.service;
import com.bai.ding.common.Result;
import com.bai.ding.goods.models.GoodsCategory;
import com.bai.ding.goods.models.condition.QueryCategoryCondition;
/**
* @author BaiDing
* @date 2020/3/24 14:41
*/
public interface GoodsCategoryService {
/**
* 根据条件查询商品分类
*
*... | 18.466667 | 66 | 0.626955 |
f2fc758d339b1e77fb17c130d32588228511bdae | 356 | /*
*
* * Copyright 2020 New Relic Corporation. All rights reserved.
* * SPDX-License-Identifier: Apache-2.0
*
*/
package com.newrelic.agent;
public class Duration {
public long startTime;
public long endTime;
public Duration(long startTime, long endTime) {
this.startTime = startTime;
... | 17.8 | 64 | 0.657303 |
e41750c7700633ff5008b7847d483b03f419c0e7 | 2,712 | package com.ruoyi.shareproject.daily.service.impl;
import java.util.List;
import com.ruoyi.common.utils.DateUtils;
import com.ruoyi.shareproject.daily.domain.TLpMonthlyTargetDaily;
import com.ruoyi.shareproject.daily.mapper.TLpMonthlyTargetDailyMapper;
import com.ruoyi.shareproject.daily.service.ITLpMonthlyTargetDaily... | 27.673469 | 115 | 0.713127 |
81aa4eaff9567c9922c80cef982f03c77cca0373 | 2,355 | /*
* Copyright (c) 2015, Alachisoft. 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 applicable law ... | 22.216981 | 80 | 0.566879 |
94b6452e3941dc4c4afd7f4f8f15341b10dcb5bb | 771 | package com.scriptbasic.interfaces;
import com.scriptbasic.api.ScriptBasicException;
/**
* This is the exception that the BASIC program throws when there is some error during the execution. This is also
* the exception that extension functions should throw if they can not perform the proper action.
*/
public class... | 26.586207 | 114 | 0.734112 |
2e68c722b95cfaa9c45c23638babb6d4c82eb349 | 3,829 | /**
* Copyright (c) 2013 Perforce Software. All rights reserved.
*/
package com.perforce.p4java.tests.dev.unit.features131;
import com.perforce.p4java.exception.P4JavaException;
import com.perforce.p4java.server.CmdSpec;
import com.perforce.p4java.server.callback.IFilterCallback;
import com.perforce.p4java.tests.Un... | 28.362963 | 152 | 0.715853 |
c4ff0e562afca56185d0b8fe16b102e682fdbdf5 | 119 | package net.npg.abattle.communication.command.impl;
@SuppressWarnings("all")
public class CommandQueueHelper {
}
| 19.833333 | 52 | 0.773109 |
20c398de770a3406d7c564db821398a64ae8bc83 | 5,773 | package org.multiverse.commitbarriers;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import org.multiverse.TestThread;
import org.multiverse.api.Txn;
import org.multiverse.api.callables.TxnVoidCallable;
import org.multiverse.api.exceptions.DeadTxnException;
import org.multiverse.stms.gamma.Ga... | 27.490476 | 98 | 0.605751 |
7f576b38f87a10bf0ba13df9c36d5e084c2701c7 | 2,583 | /*
The MIT License (MIT)
Copyright (c) 2019 Sentaroh
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights to use,
copy, modify, merge, publi... | 34.905405 | 91 | 0.729772 |
788c259aa4970b35a7c9bbdd7f29b6502ae37301 | 15,860 | package com.politechnika.shootingrange.fragments;
import android.app.AlertDialog;
import android.content.Context;
import android.content.DialogInterface;
import android.content.SharedPreferences;
import android.graphics.Color;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support... | 44.055556 | 190 | 0.610656 |
26bd302d8e8fd9c005e0449ed238381e4540886a | 1,521 | /*
* Copyright 2002-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 required by ap... | 27.654545 | 75 | 0.741617 |
693a9d69d4992c8e46ffdc04e1d5f9842ab72afa | 3,604 | package com.zmj.qvod.view.activity;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.app.ActivityCompat;
import android.support.v4.app.ActivityOptionsCompat;
import android.support.v4.widget.NestedScrollView;
import android.support.v7.app.ActionBar;
import... | 33.682243 | 115 | 0.727802 |
da5b9070854a99f414ae007731154a885adc36d2 | 31 | enum test probe test test probe | 31 | 31 | 0.83871 |
5c6a402488c956655c1e96cadb21ef340b6be7a9 | 2,529 | /**
* The MIT License (MIT)
*
* Copyright (c) 2015-2021 Mickael Jeanroy
*
* 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 t... | 33.276316 | 83 | 0.7414 |
725c8d0099395a8cf3f55ca063b316f3c2e3056b | 5,822 | package com.example.duy.calculator.history;
import android.app.Activity;
import android.content.Intent;
import android.support.v7.widget.CardView;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;... | 31.989011 | 110 | 0.657506 |
74611b3b1c2a621cc7d91a47586cbfcea48f006c | 2,942 | package com.clakestudio.pc.everyday.data;
import android.os.AsyncTask;
import java.lang.ref.WeakReference;
import java.util.List;
/**
* Created by Jan on 8/30/2018.
*/
public class DayRepository {
private final DayDao dayDao;
private static DayRepository INSTANCE = null;
private DayRepository(DayDao... | 26.745455 | 141 | 0.688647 |
5c485267d46992c1c0d9d0f347fee9538ab8814b | 2,668 | package net.pl3x.bukkit.ridables.command;
import net.minecraft.server.v1_13_R2.Entity;
import net.pl3x.bukkit.ridables.Ridables;
import net.pl3x.bukkit.ridables.configuration.Config;
import net.pl3x.bukkit.ridables.configuration.Lang;
import net.pl3x.bukkit.ridables.entity.RidableEntity;
import net.pl3x.bukkit.ridable... | 35.573333 | 112 | 0.636057 |
53b358b9b22dcd93a064ddd15401034825640a58 | 1,444 | package edu.byu.edge.coreIdentity.client.impl;
import edu.byu.edge.coreIdentity.client.CoreIdentityClient;
import edu.byu.edge.coreIdentity.client.exceptions.RestHttpException;
import edu.byu.edge.coreIdentity.domain.CoreIdentity;
import edu.byu.wso2.core.provider.TokenHeaderProvider;
import org.springframework.cache.... | 34.380952 | 103 | 0.807479 |
9e2649e206fa31820ade87c05087121df72ebaa3 | 1,667 | package language.arith;
import language.Operand;
import language.Operator;
/**
* The {@code NegateOperator} is an operator that performs negation on a single integer
* @author jcollard
*
*/
public class NegateOperator implements Operator<Integer> {
Integer result;
// TODO Have you taken a look at the PlusOp... | 26.046875 | 96 | 0.693461 |
fb9215a624c7dc7412af95a638f629fde5219029 | 625 | package com.loserico.pattern.behavioral.state;
import lombok.Data;
/**
* <p>
* Copyright: (C), 2020/1/31 11:05
* <p>
* <p>
* Company: Sexy Uncle Inc.
*
* @author Rico Yu ricoyu520@gmail.com
* @version 1.0
*/
@Data
public class DeliveryContext {
private PackageState currentState;
private String packageI... | 17.857143 | 70 | 0.6976 |
d3abf8a24f39d8a97b96363e3f139dedba5b3f2a | 978 | package com.alipay.api.domain;
import com.alipay.api.AlipayObject;
import com.alipay.api.internal.mapping.ApiField;
/**
* 行业代扣合约版解约
*
* @author auto create
* @since 1.0, 2021-12-20 11:08:29
*/
public class AlipayEbppInstserviceContractdeductUnsignModel extends AlipayObject {
private static final long serialVer... | 17.464286 | 82 | 0.716769 |
8286280c4322ff2703be4f90547fa0a25a81a0a6 | 3,747 | package by.htp.itacademy.multidimarray;
import by.htp.itacademy.util.*;
public class MultiDimArrayP4 {
public static void main(String[] args) {
// task31();
// task32();
// task33();
// task34();
// task35();
// task36();
// task37();
task38();
// ... | 24.019231 | 132 | 0.573259 |
d16c2298fc98a9b69f33aecbca6ae3b3d315ba1e | 70 | package com.jeeplus.modules.esign.service;
public class AService {
}
| 14 | 42 | 0.785714 |
fb318ac2879ae27d3fe121b63579b1320f1606e7 | 21,403 | /*
* Copyright (c) 2017 Leonardo Pessoa
* https://github.com/lmpessoa/java-services
*
* 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 t... | 41.238921 | 99 | 0.694809 |
6de5d025d15b7c6214efabf65c2e7cb6b288a008 | 710 | import com.fasterxml.jackson.databind.node.ObjectNode;
import junit.framework.TestCase;
import org.gitana.platform.client.Driver;
import org.gitana.platform.client.node.BaseNode;
import org.gitana.platform.client.node.Node;
import org.gitana.platform.client.support.DriverContext;
import org.gitana.platform.client.suppo... | 33.809524 | 56 | 0.790141 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.