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
05ac7f91e1609c9a1b7dc980db7efaed48b9b4d2
9,684
package com.ixuea.courses.mymusic; import android.content.Intent; import android.support.v4.view.ViewPager; import android.support.v4.widget.DrawerLayout; import android.support.v7.app.ActionBarDrawerToggle; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.Gravity; import ...
31.647059
123
0.639818
99e831d74519319c2a70a635dfb9c3cc6b174717
1,788
package prealpha; import java.awt.Color; import java.awt.Dimension; import java.awt.Graphics; import java.awt.event.KeyEvent; import java.awt.event.KeyListener; import java.util.HashSet; import java.util.Set; import javax.swing.JPanel; import javax.swing.SwingUtilities; public abstract class Launcher extends JPanel ...
21.285714
82
0.730984
987720fe53d09e62015b4dee0a8264ce36a5c34a
857
package net.sqs2.omr.result.path; import net.sqs2.omr.util.URLSafeRLEBase64; /** * This class is used in ExportSpreadSheetServlet * @author hiroya * */ public class SingleSpreadSheetPath extends SpreadSheetPath { protected long spreadSheetIndex; public SingleSpreadSheetPath(String pathInfo) { super(pathInfo...
22.552632
88
0.760793
4242a8ca875ee11634089bac3ddaa1620a6456c3
6,941
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dialogflow/cx/v3beta1/webhook.proto package com.google.cloud.dialogflow.cx.v3beta1; public interface WebhookResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.cx.v3beta1.WebhookResponse...
34.879397
129
0.675407
7ab28dda92fe848e942f80e17a10133cd47a55b6
797
package com.fetoxdevelopments.optix.api.enumeration; import java.util.Collections; import java.util.Iterator; import org.bridj.FlagSet; import org.bridj.IntValuedEnum; /** * enum values<br> * <i>native declaration : include\internal\optix_declarations.h</i> */ public enum RTbufferidnull implements IntValuedEnum...
19.439024
68
0.72271
f7c7a04a8340ae9f4653c7e6c41e60aed53c6923
736
package com.cg.demo.method; public class Product { String name; double costprice; double sellingprice; String company; Product(){ System.out.println("Shopping mart"); } Product(String name, double sellingprice) { this.name = name; this.sellingprice = sellingprice; System.out.println(" For Cu...
19.368421
111
0.675272
5e1fd60566b1195f31aad1bce0f46086e7e31e49
3,297
package com.bikefunfinder.client.shared.request; import com.bikefunfinder.client.shared.constants.Settings; import com.bikefunfinder.client.shared.model.User; import com.bikefunfinder.client.shared.model.printer.JSODescriber; import com.bikefunfinder.client.shared.request.converters.PayloadConverters; import com.bikef...
30.813084
145
0.668183
07065f15b8da5112c797eab95eb9f903f9dc2382
1,801
package com.keqi.projectseedfirst.interceptor; import com.alibaba.fastjson.JSON; import com.keqi.projectseedfirst.common.AjaxEntityBuilder; import com.keqi.projectseedfirst.common.LoginUserBO; import com.keqi.projectseedfirst.enums.CommonEnum; import org.springframework.beans.factory.annotation.Value; import org.sprin...
27.707692
120
0.765686
355c14365fe9858f0374669a23ee0cc76a93eccf
609
package org.andydyer.androidtestdemo; import android.app.Activity; import android.support.v4.app.Fragment; import org.andydyer.androidtestdemo.api.ApiServiceModule; import javax.inject.Singleton; import dagger.Component; /** * Created by andy on 1/15/15. */ @Singleton @Component(modules = {ApiServiceModule.class...
21
57
0.697865
9102adcf2d6ec63f2ba2962954740b89586ca82d
4,232
package bhp1; /** *AE; A hash table-based directory * @author Aaron Echols * * @param <T> A generic item that will be stored in the directory */ public class HashDirectory implements DirectoryInterface{ /** *AE; the default bucket count if none is supplied */ private static final int DEFAULT_BUCKET_COUNT = ...
32.060606
111
0.715974
af51800c2eca4042ccafe880497748f33b7b0dfb
268
package jp.co.systembase.report.renderer.xls.component; import jp.co.systembase.report.component.Region; public class Field { public FieldStyle style = null; public Object data = null; public Region region = null; public CellRange cellRange = new CellRange(); }
24.363636
55
0.772388
b3adc6d977b3d94c2e5de88aa8b814597ec66697
1,612
package org.docx4j.spring.boot; import org.docx4j.Docx4J; import org.docx4j.template.thymeleaf.WordprocessingMLThymeleafTemplate; import org.docx4j.template.xhtml.WordprocessingMLHtmlTemplate; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.autoconfigure.AutoConfigu...
47.411765
103
0.843052
bbec477885086d5375a02676ecec12d194e684c0
1,628
/* * 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 ...
33.916667
100
0.75
31ea5b89d1339aa6748f5580a8b2cae7500feb75
789
package com.google.android.gms.internal.ads; import com.google.android.gms.ads.internal.gmsg.e0; import java.util.Map; /* access modifiers changed from: package-private */ public final class la0 implements e0<Object> { private final /* synthetic */ o1 a; /* renamed from: b reason: collision with root packag...
28.178571
67
0.61597
cbaf7a08edd368f99405735210cf70cf34c7bec7
14,231
/* * Copyright 2013 Sebastian Mauer * * 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 ...
46.204545
219
0.599466
ea91b163d60ced6202c7be9a224be224da773471
772
package ru.korchinskiy.entity; import lombok.Data; import lombok.NoArgsConstructor; import javax.persistence.*; @Entity @Table(name = "order_product") @Data @NoArgsConstructor public class OrderProduct { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private Long id; @ManyToOne @JoinCol...
22.057143
84
0.689119
5cbb5cbad416f2841cd9aa3facb7ab1d878111de
1,857
package cn.bcsoft.demo1.controller; import cn.bcsoft.demo1.proxyaop.CGLibSubject; import cn.bcsoft.demo1.proxyaop.ProxySubject; import cn.bcsoft.demo1.proxyaop.RealSubject; import cn.bcsoft.demo1.proxyaop.Subject; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotati...
28.136364
94
0.673129
8e97e7899af50ec52879e7a47201ad8a1534a585
172
package com.hu.service; import com.hu.pojo.UserInfo; public interface UserInfoService { /**通过username查找用户信息;*/ public UserInfo findByUsername(String username); }
19.111111
52
0.755814
61547d7f60421a0c80ce4ba00a23c0302452eb7c
603
package org.jfantasy.framework.security.authentication; import javax.security.auth.Subject; /** @author limaofeng */ public class SimpleAuthenticationToken<T extends Object> extends AbstractAuthenticationToken { private T credentials; public SimpleAuthenticationToken(T credentials) { super(null); this.c...
19.451613
94
0.731343
a21d510354069571304bd1e5f334910efc9daef1
10,423
/* ================================================================== * BackupServiceSupport.java - 4/10/2017 7:03:53 AM * * Copyright 2017 SolarNetwork.net Dev Team * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published ...
31.777439
94
0.668522
f511647b431b1a1d0d862ae74fe1ae5b8c042270
786
package com.giannoules.proxstor.testing.loader; import com.giannoules.proxstor.api.Location; import com.giannoules.proxstor.connection.ProxStorConnector; import java.util.concurrent.atomic.AtomicInteger; public class LocationAddWorker implements Runnable { public Location l; private final ProxStorConnector c...
27.103448
92
0.685751
18ff5b7f3d18ba04dad77a3fd75e52e24b6593bc
4,791
/* * 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 ...
34.467626
93
0.721561
f4ab6f26aad9fe8eee31b6d0cb23ba5146fd009b
10,421
package cn.torna.sdk; import cn.torna.sdk.common.Booleans; import cn.torna.sdk.param.DebugEnv; import cn.torna.sdk.param.DocItem; import cn.torna.sdk.param.DocParamCode; import cn.torna.sdk.param.DocParamHeader; import cn.torna.sdk.param.DocParamReq; import cn.torna.sdk.param.DocParamResp; import cn.torna.sdk.param.En...
35.445578
114
0.665291
5b85f246596a2c885b07f2ad30f4935a4d97337d
246
/**下午3:38:04 * @author zhangyh2 * Sender.java * TODO */ package design.patterns.Creational.factorymethod; /** * @author zhangyh2 Sender 下午3:38:04 TODO 工厂模式的总接口 */ public interface Sender { void send(); void shape(); void smaile(); }
12.947368
50
0.674797
8823627dcac512f0cf5d0bbd5964600cdd71b5bf
393
package com.todarch.security.api; import lombok.AllArgsConstructor; import lombok.Getter; import org.springframework.security.core.GrantedAuthority; import java.util.Collection; @Getter @AllArgsConstructor public class UserContext { private final String jwt; private final Long userId; private final String emai...
23.117647
67
0.814249
27c145ce7aad51cfe80823ad584b85c2befdada9
10,560
package com.example.rottentomatoes; import android.content.Context; import android.content.Intent; import android.os.AsyncTask; import android.os.Bundle; import android.support.v4.app.ActivityCompat; import android.support.v4.app.ActivityOptionsCompat; import android.support.v4.view.MenuItemCompat; import android.supp...
34.285714
152
0.615814
8e6c3ecd34854510fdb04b9756710759ccb69722
1,299
package com.logicaldoc.gui.frontend.client.services; import com.google.gwt.user.client.rpc.RemoteService; import com.google.gwt.user.client.rpc.RemoteServiceRelativePath; import com.logicaldoc.gui.common.client.ServerException; import com.logicaldoc.gui.common.client.beans.GUIEmailAccount; /** * The client s...
30.209302
90
0.741339
0aaf0919e9820064c3c1c2629c146e9dd301c278
665
package com.eltechs.axs.xserver; import com.eltechs.axs.xserver.impl.masks.FlagsEnum; public enum WindowAttributeNames implements FlagsEnum { BACKGROUND_PIXMAP(1), BACKGROUND_PIXEL(2), BORDER_PIXMAP(4), BORDER_PIXEL(8), BIT_GRAVITY(16), WIN_GRAVITY(32), BACKING_STORE(64), BACKING_PLANE...
20.78125
55
0.666165
ce0316755982ce79d8d9364306fa264b316db6e4
20,051
/* * 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 Interface; /** * * @author Andrea */ public class principalJefe extends javax.swing.JFrame { public static int b = 0; ...
54.784153
166
0.703656
4f2a4807dbf10989a2e421aa2bc1d47e976ed1ba
5,639
package com.hearthsim.util.factory; import com.hearthsim.card.Deck; import com.hearthsim.exception.HSException; import com.hearthsim.player.playercontroller.BoardScorer; import com.hearthsim.util.tree.HearthTreeNode; import com.hearthsim.util.tree.RandomEffectNode; import com.hearthsim.util.tree.StopNode; import java...
40.568345
130
0.562156
bbf52cf16376652bd2540be2c274b98b96391259
1,350
package walaniam.aws.signup.compiling; import lombok.RequiredArgsConstructor; import walaniam.aws.signup.model.SignupRecord; import walaniam.aws.signup.model.WelcomeNotification; import java.util.List; import java.util.stream.Collectors; @RequiredArgsConstructor public class WelcomeNotificationCompiler { privat...
36.486486
108
0.671852
7b0430755b7599a564c6dedbd28d7258831c2e96
6,176
package org.wso2.carbon.pc.core.assets.resources; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.w3c.dom.Document; import org.wso2.carbon.pc.core.ProcessCenterConstants; import org.wso2.carbon.pc.core.ProcessCenterException; import org.wso2.carbon.pc.core.audit.util.Reg...
48.629921
120
0.63682
427bd6552901ee45a073dc80c4d7fdbba5731c83
2,505
package com.github.games647.fastlogin.bukkit.command; import com.github.games647.fastlogin.bukkit.FastLoginBukkit; import com.github.games647.fastlogin.core.message.ChangePremiumMessage; import com.github.games647.fastlogin.core.message.ChannelMessage; import java.util.Optional; import org.bukkit.Bukkit; import org....
35.785714
110
0.686228
b8376c722f1777a1f303edc5d5a1ffa427879b16
262
package cn.com.onlinetool.fastpay.annotations.validation; /** * @author choice * 校验逻辑异常 * @date 2019-06-17 16:04 * */ public class ValidationException extends RuntimeException{ public ValidationException(String errMsg) { super(errMsg); } }
18.714286
58
0.706107
3b75d94829828c5fcf3b5a425be9410d81146ca4
1,861
/* * Copyright (c) 2019, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/li...
34.462963
91
0.754433
ed0bdcbea7e4f343d5f9771496122cf09253c045
780
package cz.cuni.mff.odcleanstore.webfrontend.bo.qe; import cz.cuni.mff.odcleanstore.webfrontend.bo.EntityWithSurrogateKey; /** * The BO to represent a QE label property. * * @author Dušan Rychnovský (dusan.rychnovsky@gmail.com) * */ public class LabelProperty extends EntityWithSurrogateKey { private static fin...
14.444444
70
0.662821
c2251d4d2f26855ed021486648dfd011be866810
20,393
package tf.gpx.edit.leafletmap; import java.io.InputStream; import java.nio.charset.Charset; import java.util.HashSet; import java.util.List; import java.util.Locale; import java.util.Set; import java.util.concurrent.CompletableFuture; import java.util.logging.Level; import java.util.logging.Logger; import java.util....
42.842437
230
0.628304
2a08e1de3ef606a74fd950879fe89caf45070061
13,422
package engine.client; import configuration.io.ConfigLoadException; import configuration.parser.ConfigParseException; import engine.EngineBase; import engine.Platform; import engine.client.asset.AssetManager; import engine.client.asset.AssetType; import engine.client.asset.EngineAssetManager; import engine.client.asse...
33.471322
140
0.650425
2157426b3797137116408281fb54275c9401acdc
2,989
package pollingPack; import java.io.IOException; import java.io.PrintWriter; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpSession; import pollingPack....
24.104839
120
0.592506
a30600277878ca60856c71b58b7901f6ed84b041
377
package com.lgy.oms.biz; import com.lgy.common.core.domain.CommonResponse; import com.lgy.oms.interfaces.common.dto.OrderDTO; /** * @Description 取消订单服务接口 * @Author LGy * @Date 2019/10/15 */ public interface ICancelOrderService { /** * 取消订单 * * @param orderDTO 订单传输对象 * @return */ ...
17.952381
58
0.671088
90d8f5739eb856e8293ee2fb4a8a10577db70512
8,039
package org.nd4j.autodiff.listeners.impl; import lombok.extern.slf4j.Slf4j; import org.nd4j.autodiff.listeners.At; import org.nd4j.autodiff.listeners.BaseListener; import org.nd4j.autodiff.listeners.ListenerResponse; import org.nd4j.autodiff.listeners.Loss; import org.nd4j.autodiff.listeners.records.LossCurve; import ...
36.876147
149
0.594601
9b66a92814901bf3a8e9dd8feda7aa66a51b8649
1,054
/** * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. */ package co...
30.114286
99
0.760911
dc24818ab7644a75ac8a63b7819fc263bf3f9ae4
434
package com.daggerok.spring.streaming.reactor.pingpong; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import lombok.Data; import lombok.experimental.Accessors; import java.io.Serializable; @Data @Accessors(chain = true) @JsonIgnoreProperties(ignoreUnknown = true) public class Resource implements Seri...
22.842105
68
0.815668
c0978bdfa80a5cc6929d12d0c0e1754b0684a8c1
344
package com.nway.spring.jdbc.performance.repositories; import org.springframework.data.jpa.repository.JpaRepository; import com.nway.spring.jdbc.performance.Performance; import com.nway.spring.jdbc.performance.entity.Monitor; public interface SpringDataJpaPerformance extends JpaRepository<Monitor, Integer>, P...
28.666667
95
0.805233
e9a49deb1042d894f3fd9509618b6668f5069708
622
package com.github.codingchili.model.filters; /** * @author Robin Duda * * Applies a grayfilter. */ public class GrayFilter implements FilterOperation { @Override public int get(int pixel) { int red = pixel & (0x00ff0000 >> 16); int green = pixel & (0x0000ff00 >> 8); int blue = p...
20.064516
59
0.536977
2ebf056763d9cb3f000a40f68bf2517ccc3d05a1
361
/** * */ package org.streaminer.stream.classifier.tree; /** * @author chris * */ public class Range { Double min = Double.NEGATIVE_INFINITY; Double max = Double.POSITIVE_INFINITY; /** * */ public Range( Double min, Double max ){ this.min = min; this.max = max; } public boolean includes( Doubl...
13.884615
46
0.614958
e83cdd80e895dc5ad55ea82bfb05e2dde94eabef
2,490
package com.example.ashleyyiu.shopsquad; import com.android.volley.*; import cz.msebera.android.httpclient.HttpEntity; import cz.msebera.android.httpclient.entity.mime.HttpMultipartMode; import cz.msebera.android.httpclient.entity.mime.MultipartEntityBuilder; import cz.msebera.android.httpclient.entity.mime.content.Fi...
31.923077
79
0.690361
cf5c68a1c394fb94adf78072333f14dd08159d60
2,189
package com.ceiba.configuracion; import com.ceiba.cliente.puerto.repositorio.RepositorioCliente; import com.ceiba.cliente.servicio.ServicioConsultarCliente; import com.ceiba.credito.puerto.repositorio.RepositorioCredito; import com.ceiba.credito.servicio.ServicioActualizarCredito; import com.ceiba.credito.servicio.Ser...
37.741379
132
0.819095
da5e5439539cdafb0c6204812ae52e3bbaa14559
574
package tel.schich.abacus.eval; import tel.schich.abacus.Resource; import tel.schich.abacus.Subject; import tel.schich.abacus.action.Action; import tel.schich.abacus.context.ContextBundle; import tel.schich.abacus.decision.Decision; import static tel.schich.abacus.context.ContextBundle.EMPTY; public interface Policy...
31.888889
94
0.789199
6804bcac76cdf37006c923b6ad31a5482445695a
21,959
package tw.com.ksmt.cloud.ui; import android.app.AlertDialog; import android.app.DownloadManager; import android.app.ProgressDialog; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.content.IntentFilter; import android.content.SharedPreferences; impo...
48.367841
131
0.620793
34590195f72b2620c95950a05aeb26d53834330a
6,163
package com.urjc.daw.api_rest; import com.fasterxml.jackson.annotation.JsonView; import com.urjc.daw.models.concept.Concept; import com.urjc.daw.models.concept.ConceptService; import com.urjc.daw.models.item.Item; import com.urjc.daw.models.lessons.Lesson; import com.urjc.daw.models.lessons.LessonService; import com....
40.281046
112
0.69252
afb60c148872977c0219e5f57c057289be7ac0bb
315,842
import org.json.simple.JSONObject; import org.json.simple.parser.JSONParser; import org.json.simple.parser.ParseException; import javax.swing.*; import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.*; import java.net.ServerSocket; import java.net.Socket; ...
66.535075
310
0.473541
203ee85d043fb1b4e8d0faf7ccc96ad44e94f592
7,865
/* * Copyright 2017 Axway Software * * 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...
43.938547
114
0.703624
d1e97f6cc6ced61826e407023fd3257b44d1decc
337
package org.reldb.rel.v0.vm.instructions.core; import org.reldb.rel.v0.values.ValueBoolean; import org.reldb.rel.v0.vm.Context; import org.reldb.rel.v0.vm.Instruction; public class OpTrue extends Instruction { public final void execute(Context context) { context.pushLiteral(ValueBoolean.select(context.getGenerator...
28.083333
73
0.78635
434f9fe64ed9871f435b49bd12e0a65173eae2fb
2,289
package com.affablebean.domain; import java.io.Serializable; import java.util.ArrayList; import java.util.Collection; import java.util.Comparator; import java.util.List; import java.util.Objects; import javax.persistence.Basic; import javax.persistence.CascadeType; import javax.persistence.Column; import javax.persis...
21.59434
76
0.730887
b0b3bd3300cf68507a0fbea69e8153f0ed74c567
10,695
/** * Copyright (C) 2009 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.analytics.math.curve; import static com.opengamma.analytics.math.utilities.Epsilon.epsilon; import static com.opengamma.analytics.math.utilities.Epsilon.epsil...
30.732759
135
0.630201
a1c05f3ac75e20008e3e24adbafc60cc3d17089e
5,766
package software.amazon.rds.eventsubscription; import java.util.Collections; import java.util.HashSet; import com.amazonaws.util.StringUtils; import software.amazon.awssdk.services.rds.RdsClient; import software.amazon.cloudformation.proxy.AmazonWebServicesClientProxy; import software.amazon.cloudformation.proxy.Hand...
62
214
0.656955
3d9735bf622edea1d3588b2d6ad49a9c6a6c33b0
113
package com.dbsys.rs.client; public enum Kelas { NONE, VVIP, VIP, I, II, III, ICU }
9.416667
28
0.513274
be5218c437d61ea5baaee230afc0998cf751017a
2,242
package nl.rmokveld.wearcast.wear.model; import android.os.Parcel; import android.os.Parcelable; import android.support.annotation.Nullable; import com.google.android.gms.wearable.DataMapItem; import nl.rmokveld.wearcast.shared.C; public class Notification implements Parcelable { private final String mOriginNo...
27.679012
107
0.673952
440162cc12016332b68ae09ce1e1a07d869566cd
1,468
/* * Copyright (c) 2015-2019 TraceTronic GmbH * * SPDX-License-Identifier: BSD-3-Clause */ package de.tracetronic.jenkins.plugins.ecutest.report.log; import de.tracetronic.jenkins.plugins.ecutest.report.AbstractReportAction; import hudson.model.Job; import hudson.model.Run; /** * Common base class for {@link ETL...
25.754386
105
0.647139
5a5912762ba1493a4ad5af0c1e46fe96338f0293
621
package com.robod.order.mapper; import com.robod.order.api.pojo.OrderItem; import org.apache.ibatis.annotations.Select; import org.springframework.stereotype.Repository; import tk.mybatis.mapper.common.Mapper; import java.util.List; /**** * @Author:admin * @Description:OrderItem的Dao * @Date 2019/6/14 0:12 *****/...
23
70
0.719807
7a1d8a33e6ab475058a1dbb009651dd1e29ac6ae
1,713
/** * 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"...
37.23913
102
0.725044
6eb52cda209a3532a43f8e1f4c355169998c1d64
227
package pattern.factory.factorymethod.second; /** * 抽象产品类负责定义产品的共性,实现对事物最抽象的定义 * @author MayZhou */ public abstract class Product { //产品的公有方法 public void method1(){} //抽象方法 public abstract void method2(); }
17.461538
45
0.69163
3d34175394d4c7d5b3e6d191de04f6fac163a10f
7,166
/* * Copyright (c) 2010, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * ...
30.364407
86
0.736534
63732d346eb5d193047f03c371823b16e3242198
527
package com.leodelmiro.mercadolivre.utils.builders; import com.leodelmiro.mercadolivre.newuser.NewUserForm; public class NewUserFormBuilder { private String email; private String password; public NewUserFormBuilder withEmail(String email) { this.email = email; return this; } pub...
21.958333
61
0.6926
2e6a58843d50be0567033221426e5a1e0c41de6f
495
package com.mobius.vision.jvm.classloader; /** * @author NingXioaoming * @createTime 2019/12/16 13:45 * @description */ public class MyTest13 { public static void main(String[] args) { ClassLoader systemClassLoader = ClassLoader.getSystemClassLoader(); System.out.println(systemClassLoader); ...
24.75
75
0.668687
5d9b1a0a4082e8eea6aa403236a4ac7e0c2b24ca
386
package top.erzhiqian.wechat.core.infrastructure.po; import lombok.Data; import javax.persistence.Column; import javax.persistence.Id; import javax.persistence.MappedSuperclass; @MappedSuperclass @Data public class UniqueIdPO extends BasePO { @Id @Column(columnDefinition = "varchar(50) not null...
21.444444
86
0.733161
67aa5a2da3d6a84e7a44e30fb752a3f7b640a349
2,043
/* * 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"...
39.288462
105
0.750857
877325f667420fe08f7a671e5b49659b36b199c8
1,077
package com.linkprise.orm.mapping; import java.sql.ResultSet; import java.sql.ResultSetMetaData; import java.util.Map; import com.linkprise.orm.annotation.ClassMapping; import com.linkprise.orm.annotation.FieldMapping; public abstract interface IObjectReader { public abstract <T> T read(Class<T> paramClass, ResultS...
33.65625
74
0.812442
717c256c2f968e995f5939ad6e3f9880bae2137c
75,734
/* * 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 ...
29.92256
111
0.672551
80f7f59307d1267795c6b5211b22be879d27b0ee
947
package com.thinkgem.jeesite.modules.edu.entity; import com.thinkgem.jeesite.common.persistence.IdEntity; import org.hibernate.annotations.CacheConcurrencyStrategy; import org.hibernate.annotations.DynamicInsert; import org.hibernate.annotations.DynamicUpdate; import javax.persistence.*; /** * Created by abcd on 15...
22.547619
77
0.707497
91889bdbe311ec8aca8ea8cdd67043ee8930a2b2
1,384
package jllvmgen.types; import jllvmgen.misc.LLVMException; public class LLVMVectorType implements ILLVMMemoryType { private ILLVMMemoryType baseType; private int size; public LLVMVectorType() throws LLVMException { throw new LLVMException("Not implemented!"); } public ILLVMMemoryType getBaseT...
17.3
72
0.656069
1a7a4194a96389f41e4285c69ba45d04189b8921
5,615
/* * This file is part of Dynamic Surroundings, licensed under the MIT License (MIT). * * Copyright (c) OreCruncher * * 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 restrictio...
33.825301
116
0.749243
ede8131da13ec759cef65beb9ab24edda9d76e0a
2,989
/* * Copyright 2014 Bladymir Tellez * * 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...
22.473684
75
0.667113
d9876ed9a007319fa0de891d012a1fe4fb22ac2a
949
package ilusr.textadventurecreator.search; import ilusr.textadventurecreator.views.IViewCreator; import javafx.scene.control.ListCell; import javafx.scene.control.ListView; import javafx.util.Callback; /** * * @author Jeff Riggle * * @param <T> The type of object to create a search cell for. */ public class Sea...
27.114286
104
0.752371
4d97a5848ebb268654dfd5c19ecc8873fce92417
922
package org.auk.todo.model; import lombok.Data; import javax.persistence.*; import java.util.Date; import java.util.List; import java.util.Set; @Data @Entity @Table(name = "user") public class User { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private long id; private String firstName; ...
22.487805
76
0.68872
403a4fd5cb56932235f9744bd79a89e55d828a76
679
package com.kgc.stu; import java.util.*; public class Test { public static void main(String[] args) { Map<String, Student> students = new HashMap<String, Student>(); // 键-值对:学员的英文名-学员 students.put("jack", new Student("张三", "男")); students.put("tom", new Student("李四", "男")); students.put("kitty", new Studen...
27.16
68
0.649485
8662c0e0530f47f51f63ab6e22d5c94cc3117739
602
package com.example.hotrestart.filter; import org.apache.catalina.filters.RemoteIpFilter; import org.springframework.boot.web.servlet.FilterRegistrationBean; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; /** * @program: hotrestart * @description: We...
24.08
67
0.765781
2ecd9254f6796796d953d35d3596323567210801
15,360
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ma...
40.104439
99
0.69974
59aa650c135115fc499c91d5613f1d2a925c8a31
5,186
package org.vaadin.alump.lazylayouts; import com.vaadin.ui.Component; import com.vaadin.ui.VerticalLayout; import org.vaadin.alump.lazylayouts.client.LazyLayoutServerRpc; import org.vaadin.alump.lazylayouts.client.LazyVerticalLayoutState; /** * LazyVerticalLayout adds lazy loading of UI content to normal VerticalLay...
32.21118
118
0.679522
aa712f111a2b1dce8ebebf6ec689196b027027fc
50,812
/** * Copyright [2014] Gaurav Gupta * * 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 ...
38.699162
118
0.661891
ba7db746691a515a5c2bc7c9811820da4d8ff196
3,011
package universim.ui; import java.awt.Color; import java.awt.Dimension; import java.awt.Font; import java.awt.Graphics; import javax.swing.BorderFactory; import javax.swing.JLabel; import javax.swing.JPanel; import javax.swing.border.Border; import universim.generalClasses.Maths; import universim.main.Main; public ...
36.719512
121
0.707406
83ec327bf09695c9b6f62591d6449644100758dd
2,852
/* * Copyright (c) 2015-present, Parse, LLC. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. */ package com.par...
35.209877
104
0.685133
3ed25947fb6dfd9cb50ec25cc7e4260ba1b854ee
3,639
/* * Copyright 1999-2009 Carnegie Mellon University. * Copyright 2009 PC-NG Inc. * All Rights Reserved. Use is subject to license terms. * * See the file "license.terms" for information on usage and * redistribution of this file, and for a DISCLAIMER OF ALL * WARRANTIES. * */ package edu.cmu.sphinx.lin...
28.429688
79
0.68343
8dd56c71631e48888fe5dfd6ef96216533abd9e6
3,723
/* * Copyright ScenPro, Inc and SemanticBits, LLC * * Distributed under the OSI-approved BSD 3-Clause License. * See http://ncip.github.com/labviewer/LICENSE.txt for details. */ package gov.nih.nci.lv.dto; import gov.nih.nci.lv.domain.HealthcareSite; import gov.nih.nci.lv.domain.Identifier; import gov.nih.nci.lv.doma...
24.82
117
0.637926
6c3333b3ec09fbced34992f9f112c2a775d75084
980
package com.alipay.api.response; import com.alipay.api.internal.mapping.ApiField; import com.alipay.api.AlipayResponse; /** * ALIPAY API: alipay.fund.trans.auction.balance.query response. * * @author auto create * @since 1.0, 2019-01-07 20:51:15 */ public class AlipayFundTransAuctionBalanceQueryRes...
22.272727
81
0.72449
036b366128e9a2dff9ed7df9c27cff518bbda849
2,196
/* * Copyright (c) 2010 Isode Limited. * All rights reserved. * See the COPYING file for more information. */ /* * Copyright (c) 2015 Tarun Gupta. * Licensed under the simplified BSD license. * See Documentation/Licenses/BSD-simplified.txt for more information. */ package com.isode.stroke.serializer.payloadser...
28.894737
97
0.688069
1b5c0fed9b68010cccb4f24ecfa7eaa3c9e5da0a
4,301
package net.pistonmaster.pistonmotd.bukkit; import io.papermc.lib.PaperLib; import lombok.Getter; import net.kyori.adventure.platform.bukkit.BukkitAudiences; import net.pistonmaster.pistonmotd.api.PlaceholderUtil; import net.pistonmaster.pistonmotd.shared.PistonMOTDPlatform; import net.pistonmaster.pistonmotd.shared.P...
26.386503
116
0.653336
4f025bb7300b4d03634c2f5526995e64ce2e88b1
2,888
package no.nav.foreldrepenger.historikk.tjenester.inntektsmelding; import static no.nav.foreldrepenger.historikk.config.TxConfiguration.JPA_TM; import static no.nav.foreldrepenger.historikk.tjenester.felles.HistorikkInnslag.SORT_OPPRETTET_ASC; import static no.nav.foreldrepenger.historikk.tjenester.inntektsmelding.Inn...
37.506494
112
0.724377
bc80dde6588d4b089bf6a0175faa2e2df9e1c574
19,476
package design.aem.models.v2.lists; import com.day.cq.dam.api.Asset; import com.day.cq.dam.api.DamConstants; import com.day.cq.search.*; import com.day.cq.search.facets.Bucket; import com.day.cq.search.result.SearchResult; import com.day.cq.tagging.Tag; import com.day.cq.tagging.TagManager; import com.day.cq.wcm.api.P...
44.875576
173
0.597915
0bd273158b5614409939b38759408741dc43cae9
762
package systems; import components.*; import core.*; public class updateDirection extends System_ { @Override public void apply( Entity[] entities ) { for ( Entity entity: entities ) if ( Direction.in( entity ) ) if ( DX .in( entity ) ) if ( DY .in( entity ) )...
25.4
78
0.51706
bcd8e988345c453a2d297aee6505c287cc9e36cb
1,328
package ch05.sec01; import java.util.concurrent.locks.Lock; import java.util.concurrent.locks.ReentrantLock; public class TryFinallyDemo { public static Lock myLock = new ReentrantLock(); private static int counter = 0; public static void main(String[] args) throws InterruptedException{ Thread[] ...
32.390244
71
0.458584
40221f75fda2e35dc2de882969b42edcb5f1c349
2,976
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
35.855422
96
0.684476
4fee8258d5fd87347be9a875777628976685d062
2,010
package co.mobiwise.sample.fragment; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Button; import co.mobiwise.materialintro.animation.Mater...
31.40625
123
0.70398
c2c7ce0a3ed0d86fbe8809d73bfe09a9fe942d69
5,230
/* * Copyright 2016 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...
34.635762
100
0.626195
194a5ea6ba19a614abf186f495e8e2a75266e2ce
4,642
/** * The MIT License * * Copyright (C) 2015 Asterios Raptis * * 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, c...
21.293578
87
0.685696
b9c3b330ce45cb90b745bb98564afe57415d974e
454
package ch4.ch03; public class StringBuilder { public StringBuilder(String java) { } public static void main(String[] args) { String java = new String("java"); String android = new String("android"); StringBuilder buffer = new StringBuilder(java); buffer.append(android); ...
19.73913
55
0.618943
24ba3d9d1fbe37c75f708bffbb65c0425d049848
6,154
package org.ovirt.engine.core.bll.network.cluster; import java.util.ArrayList; import java.util.List; import org.ovirt.engine.core.bll.ValidationResult; import org.ovirt.engine.core.bll.VdsGroupCommandBase; import org.ovirt.engine.core.bll.network.cluster.helper.DisplayNetworkClusterHelper; import org.ovirt.engine.co...
38.949367
117
0.70247
88f8a463795e2fdeee9e034575d80c9a91d9f578
91
package voogasalad.view.authoringEnvironment.controllers.waves; public class EditWave { }
18.2
63
0.835165
b4ded980f307f8dd297c2f0131800e8925ab0a1c
1,929
package com.project.vo; public class QandAVO { private int q_no; private String q_id; private String q_title; private String q_cont; private int q_hit; private int q_ref; private int q_step; private int q_level; private String q_date; /** 페이징 관련 변수 **/ private int startrow;//시작행 번호 private int endrow;/...
18.198113
47
0.690513