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
e9809b006a24c9d196254508e7a363bbea8b2491
402
package com.dataiku.dctc.command.grep; import com.dataiku.dctc.file.GFile; class ColorFileGrepPrinter implements GrepPrinter { public void print(String line) { match = true; } public void end(GFile file) { if (match) { System.out.println("\u001B[1;35m" + file.givenName() + "\u0...
22.333333
80
0.619403
6ef26357b14562c124d6501b6beb0a518e905fd9
5,755
package GameOfLifeModel; import org.junit.Test; import static org.junit.Assert.assertEquals; public class GameOfLifeModelTest { @Test //Any live cell with fewer than two live neighbors dies, as if by under population. public void cellAlive_fewerThanTwoLiveNeighborsDies_oneNeighbor() { Game...
44.612403
104
0.692963
06cd655ace24378396f22d90a390f675a0b08928
1,633
/* Annot8 (annot8.io) - Licensed under Apache-2.0. */ package io.annot8.implementations.support.registries; import io.annot8.api.capabilities.Capabilities; import io.annot8.api.capabilities.Capability; import io.annot8.api.components.Processor; import io.annot8.api.components.ProcessorDescriptor; import io.annot8.api....
23
87
0.706675
2f6a2f8782d08577b2d536a7ee7d732d18a4c32c
124,592
/* * Copyright (C) 2012-2015 DataStax 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 app...
45.789048
213
0.583424
882f9712d5afba155f865e27e1ec384a268de152
3,065
package com.workflowconversion.knime2grid.utils; import org.apache.commons.lang.StringUtils; import org.apache.commons.lang.Validate; import com.workflowconversion.knime2grid.resource.Application; import com.workflowconversion.knime2grid.resource.Queue; import com.workflowconversion.knime2grid.resource.Resource; /**...
31.927083
109
0.700489
ed26c89881a5d22d4a34dbf3cc05df13fe89b675
3,771
/* * Copyright 2014-2021 JKOOL, 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...
31.689076
106
0.750994
0672a8c1682bf4b144df63d76e9db87e54390e5f
1,280
package com.ffmpeg.common; import com.ffmpeg.common.audio.AudioOperation; import com.ffmpeg.common.response.Result; import com.ffmpeg.common.video.VideoOperation; import org.junit.Test; /** * @auther alan.chen * @time 2019/9/17 5:40 PM */ public class AudioTest { private static final String ffmpegEXE = "/User...
35.555556
86
0.703906
a6e817a5ec20fc3f586c8cba8ef85fb297fa9241
1,924
package com.local.problem; import com.local.core.Problem; import org.apache.commons.math3.linear.Array2DRowRealMatrix; import org.apache.commons.math3.linear.ArrayRealVector; import org.apache.commons.math3.linear.RealMatrix; import org.apache.commons.math3.linear.RealVector; public class VoidFormationProblem impleme...
29.151515
103
0.660083
a8ea530ec1b7bd22afe846bc07442c8c7f4fe6d7
1,123
package io.cloudevents.v03; import java.util.Collection; import java.util.Objects; import io.cloudevents.Attributes; import io.cloudevents.CloudEvent; import io.cloudevents.extensions.ExtensionFormat; import io.cloudevents.fun.ExtensionFormatAccessor; /** * * @author fabiojose * */ public class Accessor { priv...
24.413043
69
0.731968
ca897dda3a3c7899e9d88398d894cd50e018fe53
284
package decorator.decorator1; import decorator.decorator1.abstracts.Beverage; public class Esspresso extends Beverage { public static final double COST = 1.99; public Esspresso() { super("Esspresso"); } public double cost() { return COST; } }
16.705882
47
0.661972
26e177458c6e145a610f52d93bed9930a31d8c88
337
package net.gegy1000.psf.server.api; import javax.annotation.ParametersAreNonnullByDefault; import net.minecraft.block.Block; import net.minecraft.item.ItemBlock; @ParametersAreNonnullByDefault public interface RegisterItemBlock { default ItemBlock createItemBlock(Block block) { return new ItemBlock...
22.466667
54
0.783383
9d69cee4d0cda1092de5f9e6ceecaafc0f389850
305
package com.example.springboot.demospringbootn11.dao; import com.example.springboot.demospringbootn11.entity.Urun; import org.springframework.data.repository.CrudRepository; import org.springframework.stereotype.Repository; @Repository public interface UrunDao extends CrudRepository<Urun,Long> { }
21.785714
60
0.842623
aa4826441afa3b60ecf6a64903a6422d159a5666
8,369
package com.db.chart.renderer; import android.graphics.Canvas; import com.db.chart.model.ChartEntry; import com.db.chart.model.ChartSet; import com.db.chart.view.ChartView.Style; import com.google.android.flexbox.FlexItem; import java.text.DecimalFormat; import java.util.ArrayList; import java.util.Iterator; public a...
32.065134
216
0.608555
950e02775fd15f49017900699c1098a900a06706
476
package br.com.desafiotecnico.model; import java.util.StringTokenizer; import lombok.Getter; import lombok.NoArgsConstructor; import lombok.Setter; @Getter @Setter @NoArgsConstructor public class Item { int itemId; int itemQuant; double itemPrice; public Item(StringTokenizer st) { this.itemId = Integer.value...
20.695652
61
0.760504
10cb72b981ba2942e236a1554ab8d38da560594c
1,582
package ca.uhn.fhir.jpa.subscription.resthook; /*- * #%L * HAPI FHIR JPA Server * %% * Copyright (C) 2014 - 2018 University Health Network * %% * 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 Lic...
34.391304
129
0.782554
e3e090b0784e28a1ac88516d8fc1731df134091d
706
package com.github.cc3002.citricliquid.phases.states; import com.github.cc3002.citricjuice.model.Player; import com.github.cc3002.citricjuice.model.board.IPanel; import com.github.cc3002.citricliquid.phases.State; /** * Class that represents a state in the game. * * @author Ignacio Diaz Lara. */ public class Acti...
26.148148
67
0.719547
bb60896e7677f5a254632654a3a07cf3bc5476d3
732
/* * * * ***************************************************************************** * * Copyright (C) 2020 Testsigma Technologies Inc. * * All rights reserved. * * **************************************************************************** * */ package com.testsigma.dto; import com.testsigma.model.S...
23.612903
83
0.587432
be7cd92bc522f4a6e8b85e6fb4aea6e198a83d1e
6,818
/* * Copyright 2012 The Netty Project * * The Netty Project 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/licenses/LICENSE-2.0 * * Unless ...
32.937198
88
0.594163
926ea60865839b40afe754afcd8ed130ff6004d3
10,596
/* * Copyright (C) 2018 The Dagger 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 ag...
42.047619
100
0.720272
43eedbf293e2f6a459afac83d526dceef674bd24
859
package io.micronaut.rabbitmq.docs.properties; import io.micronaut.context.annotation.Requires; // tag::imports[] import io.micronaut.rabbitmq.annotation.Binding; import io.micronaut.rabbitmq.annotation.RabbitClient; import io.micronaut.rabbitmq.annotation.RabbitProperty; // end::imports[] @Requires(property = "spec....
33.038462
109
0.71362
0e90078d64be4438f3b8dd411c6dcd7800f302e6
8,198
package by.gdev.component; import java.awt.GraphicsEnvironment; import java.io.File; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.ResourceBundle; import org.ap...
43.375661
173
0.781898
b5766220bf0650594d60dccb31640cc6d7ae37d1
3,249
public abstract class AbstractClassOrInterfaceMethodMustUseJavadocA { public String getName(String firstName, String secondName) throws XPathException, IOException { return "lalalala"; } } public abstract class AbstractClassOrInterfaceMethodMustUseJavadocB { public abstract String getName(String fi...
25.186047
125
0.674054
bb7b03b537b5b56b29c52b09cb1043ccef6ffe0b
1,806
package com.neva.oycland.game.screen; import com.badlogic.gdx.scenes.scene2d.Actor; import com.badlogic.gdx.scenes.scene2d.ui.Label; import com.badlogic.gdx.scenes.scene2d.ui.TextButton; import com.badlogic.gdx.scenes.scene2d.utils.ChangeListener; import com.neva.oycland.game.OyclandGame; import com.neva.oycland.game....
28.21875
95
0.570321
6f7053c7d6fa87bc86a553ce4e4243731b46e0a9
2,493
package io.simpleframework.sms; import lombok.Data; import lombok.NoArgsConstructor; import lombok.experimental.Accessors; import java.io.Serializable; import java.util.HashSet; import java.util.LinkedHashMap; import java.util.Map; import java.util.Set; /** * @author loyayz (loyayz@foxmail.com) */ @Data @Accessors...
22.459459
70
0.533093
daaa62898a4e814c19f13854defbacb1424675b2
490
package singleton; /** * 懒汉-线程安全-内部静态类 * * @author mayuefeng * @date 2020-07-13 */ public class StaticSingleton { private static class Instance { private static final StaticSingleton instance = new StaticSingleton(); } private StaticSingleton() { System.out.println("instantiation"); ...
17.5
78
0.636735
c7794bfaeb398e41823a1c9720ceee2884f59140
25,955
/* * Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved. * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * The contents of this file are subject to the terms of either the Universal Permissive License * v 1.0 as shown at http://oss.oracle.com/licenses/upl * * or the follo...
41.594551
137
0.756579
ceb1ba088d639c42a7f56c7e002df41873383cf8
1,144
package com.hw.Network.Handlers; import com.hw.Network.Protocol.Request; import com.hw.Network.Protocol.Response; import com.hw.Network.Protocol.ResponseCode; import com.hw.DataStorage.StorageHandler; import java.util.ArrayList; /** * Created by Pasha on 5/29/2016. */ public class GetMethodHandler impl...
28.6
118
0.646853
75dc39722bcf70b1c4ab8061955006aa59d969d8
29,965
/* * Copyright (C) 2008 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...
43.80848
100
0.632772
52e5d4083737d42a08a5ad3208797ff8645a3c96
4,040
// Copyright (C) 2013 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 applicable ...
33.94958
88
0.65
2342226717b7b142a8c11ae527c0e6e5042ab13b
546
/* * @lc app=leetcode id=470 lang=java * * [470] Implement Rand10() Using Rand7() * 方法一:拒绝采样 */ // @lc code=start /** * The rand7() API is already defined in the parent class SolBase. * public int rand7(); * @return a random integer in the range 1 to 7 */ class Solution extends SolBase { public int rand10...
20.222222
66
0.521978
d15b1ddbb413de4cfc53ffb43a6858777cb15621
2,067
package net.kunmc.lab.fastmob; import dev.kotx.flylib.command.Command; import dev.kotx.flylib.command.CommandContext; public class MainCommand extends Command { public MainCommand() { super("fastmob"); children(new Command("enderDragonSpeed") { { usage(builder -> { ...
36.910714
119
0.465409
8b5195cc66c786a9be69294ade830a364b6ee013
460
package models; import io.ebean.Finder; import io.ebean.Model; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.ManyToOne; import java.util.Date; @Entity public class Vote extends Model { @ManyToOne public Person person; @ManyToOne public Review review; ...
16.428571
75
0.726087
c15f91dc5b2a4517aeacbdb3115e2335ee914f3e
292
package com.kristijangeorgiev.softdelete.service; import org.springframework.stereotype.Service; import com.kristijangeorgiev.softdelete.model.entity.pk.PermissionRolePK; @Service public interface PermissionRoleService extends BaseService { public void softDelete(PermissionRolePK id); }
26.545455
73
0.85274
ecbeccb374d197858e732cd350464272a39455ee
2,561
package com.psychic_engine.cmput301w17t10.feelsappman.Controllers; import android.content.Context; import android.net.ConnectivityManager; import android.net.NetworkInfo; import com.psychic_engine.cmput301w17t10.feelsappman.Enums.MoodState; import com.psychic_engine.cmput301w17t10.feelsappman.Enums.SocialSetting; imp...
32.417722
92
0.565795
d1a08e57e7fe70a358bc2ae13f1248f6de89690c
39,855
package lejos.pc.charting; import java.awt.BasicStroke; import java.awt.Color; import java.awt.Font; import java.awt.Graphics; import java.awt.Shape; import java.awt.event.MouseEvent; import javax.swing.JFrame; import lejos.pc.charting.data.XYZDataItem; import lejos.pc.charting.data.XYZSeriesCollection; import org....
39.188791
159
0.596211
bf5b0e821a157dfdda377f7e5c850f90c59610ea
825
package com.aspose.words.examples.linq; import java.util.List; //ExStart:Manager public class Manager { private String Name; public final String getName() { return Name; } public final void setName(String value) { Name = value; } private int Age; public final int getAge...
16.5
58
0.6
3ade101928a970d9f8fca3222330e049f286f52a
5,020
package net.smackem.ylang.lang; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.io.BufferedReader; import java.io.IOException; import java.io.StringReader; import java.util.*; import java.util.regex.Matcher; import java.util.regex.Pattern; public final class Preprocessor { private static fi...
34.62069
124
0.620518
9f7e42f34bed2d637cbafd81b793e6a015d3da61
1,238
package s2u2msdk.spring.service.account.service; import s2u2msdk.spring.test.AbS2u2mSpringTest; import s2u2msdk.spring.service.account.dao.UserDAO; import s2u2msdk.spring.service.account.entity.UserEntity; import s2u2msdk.spring.service.account.enums.GenderEnum; import org.junit.Test; import org.springframework.beans....
29.47619
64
0.724556
ffd85926f33b659aba3dcc25a156ff9d9ac078e7
5,756
import java.sql.DriverManager; import com.mysql.jdbc.Connection; import com.mysql.jdbc.Statement; import java.sql.ResultSet; import javax.swing.DefaultComboBoxModel; import javax.swing.JOptionPane; /* * To change this template, choose Tools | Templates * and open the template in the editor. */ /* * KnowMorePeople....
39.424658
121
0.664003
975421955e8581c9fee0876ab2610f0a309eed28
3,576
package com.wythe.mall.ui; import android.os.Bundle; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; import android.widget.TextView; import com.wythe.mall.R; import com.wythe.mall.activity.LoginActivi...
35.058824
103
0.661633
50dee381da1f5f35e2cc4f870c5c33e5d52bf81f
2,904
/** * Copyright (C) 2010 Asterios Raptis * * 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...
26.888889
95
0.691804
61ceebfcbf391f49454dc92abdce40736121dca1
1,217
package com.etri.sl.models; public class Gateway { private int gid; private String gpid; private String productCode; private String serialNumber; private String iblid; private String ip; private String tcpPort; public Gateway() { gid = 0; } public Gateway(int gid, String ip, String port) { ...
14.151163
51
0.677896
75a5ee66f405318671d9493a1aad375960555688
417
/* * 文 件 名: LaRouJiaMo.java * 版 权: 深圳市钱眼金融控股有限公司 * 描 述: <描述> * 修 改 人: sun * 修改时间: 2018年7月3日 */ package com.research.designPattern.factoryModel.SimpleFactoryMode; /** * 辣味肉夹馍 * <功能详细描述> * * @author sun * @version [版本号, 2018年7月3日] */ public class LaRouJiaMo extends RouJiaMo { public LaRou...
16.038462
66
0.585132
c34ec5f72bb901771b28028b45cec8ef5ce63fd3
379
package com.example.service; import com.alibaba.fastjson.JSONObject; /** * Created by merit on 2018/2/7. */ public interface IExampleService { /** * 增加节点 * * @return */ JSONObject addNode(); /** * 根据labels查询数据节点 * * @param label * @return ...
15.16
48
0.540897
56b28a0ac19a7243a3f309feed3f56f4247d2c89
153
package net.collaud.fablab.manager.service.impl; /** * * @author Gaetan Collaud <gaetancollaud@gmail.com> */ public class AbstractServiceImpl { }
12.75
51
0.72549
7e8384c0b118ad957a9e766d9f45b96acb56d39f
2,967
public class Solution { List<List<String>> results; List<String> list; Map<String,List<String>> map; public List<List<String>> findLadders(String start, String end, Set<String> dict) { results= new ArrayList<List<String>>(); if (dict.size() == 0) return result...
37.0875
102
0.410853
1cb1b1f28464c900f14f89155e5e6d87437fae5e
1,103
package org.arkecosystem.crypto.transactions.builder; import java.util.List; import org.arkecosystem.crypto.enums.Fees; import org.arkecosystem.crypto.identities.Address; import org.arkecosystem.crypto.transactions.types.Transaction; import org.arkecosystem.crypto.transactions.types.Vote; public class VoteBuilder ext...
25.068182
100
0.696283
697f449be42c0c6849349d6ec8a8adeb244a0146
946
package fr.openwide.core.basicapp.core.business.notification.service; import java.util.Date; import fr.openwide.core.basicapp.core.business.user.model.User; import fr.openwide.core.spring.notification.model.INotificationContentDescriptor; import fr.openwide.core.spring.notification.util.NotificationContentDescriptors...
32.62069
125
0.839323
6dbb53079b2e39b663d9b62ff3abc65a2acf6656
219
package org.tanc.inner; /** * * Created by tanc on 2017/4/17. */ public abstract class AbstractClass { protected int x; public AbstractClass(int x) { this.x = x; } abstract void show(); }
12.882353
37
0.598174
a4a4c101959df4907d18f9dd8b0d4e18fbfe3aee
2,600
/* * Copyright 2010-2015 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...
38.80597
161
0.726538
a464f76ab7d299ef7d47dfaf7722dc764e1f4b22
552
package uk.co.cwspencer.ideagdb.debug.breakpoints; import org.jetbrains.annotations.NotNull; import com.intellij.xdebugger.breakpoints.XLineBreakpointTypeBase; import uk.co.cwspencer.ideagdb.debug.GdbDebuggerEditorsProvider; public class GdbBreakpointType extends XLineBreakpointTypeBase { @NotNull public static Gdb...
27.6
89
0.822464
b8967c638e53be3b02e47b80e36257613668b59e
937
package cn.iocoder.yudao.adminserver.modules.infra.service.file.impl; import cn.iocoder.yudao.adminserver.modules.infra.dal.mysql.file.InfFileMapper; import cn.iocoder.yudao.adminserver.modules.infra.service.file.InfFileService; import cn.iocoder.yudao.adminserver.modules.infra.controller.file.vo.InfFilePageReqVO; imp...
31.233333
86
0.804696
224f4ca266f43ca289d6c26cc88c8e70c2be58c2
470
package com.heaven7.java.pc; /** * @author heaven7 */ public final class Transformers { private static final Transformer<Object, Object> UNCHANGED = new Transformer<Object, Object>() { @Override public Object transform(ProductContext context, Object t) { return t; } }; ...
23.5
100
0.642553
d1e0ef7778242990cab6d35c2afd3b0eafa313d3
514
package br.com.mindsy.api.gateway.dto.evaluation; import java.io.Serializable; import java.util.ArrayList; import java.util.List; public class EvaluationResponseDto implements Serializable { private static final long serialVersionUID = 1L; private List<EvaluationDto> evaluations = new ArrayList<>(); p...
23.363636
65
0.737354
fb37c3ac4e734604092a84662647facb1d5fced5
14,551
// Import Statements. import java.util.*; // Node Class to represent each vertex of a graph. class Node { private String name; private HashMap<Node, Integer> adjascMap; Node(String name) { // Initializes the instances of the node class. this.name = name; adjascMap = new HashMa...
39.327027
164
0.470552
75c00b931293054c1dd391dfa62da0239b250c76
2,084
package com.fitmgr.common.data.mybatis; import org.apache.commons.lang3.StringUtils; import org.apache.ibatis.executor.keygen.Jdbc3KeyGenerator; import org.apache.ibatis.executor.keygen.KeyGenerator; import org.apache.ibatis.executor.keygen.NoKeyGenerator; import org.apache.ibatis.mapping.MappedStatement; import org.a...
49.619048
118
0.732726
58f8a1d7973fa90a01e300ec94c65d75cfd4a4d5
14,730
/* * JPPF. * Copyright (C) 2005-2019 JPPF Team. * http://www.jppf.org * * 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 re...
41.965812
173
0.693754
4112a73a7f0d3a0df14be35521765fd8b7b06a8e
4,736
package eu.nimble.service.model.solr.owl; import java.util.Collection; import java.util.HashSet; import java.util.Set; import java.util.stream.Collectors; import org.springframework.data.solr.core.mapping.Indexed; import org.springframework.data.solr.core.mapping.SolrDocument; import com.fasterxml.jackson.annotation...
22.339623
72
0.732475
296abc3a65553a22362a6d30f2d1332f7505084e
3,936
package main.java.CustomUtils; import java.util.ArrayList; import java.util.Collections; import java.util.List; public class Stats { private static final int MIN = 0, MAX = 1; public static double computeSkewness(List<List<double[]>> trajSet){ double[] meanPoint = new double[TrajUtil.getDim()]; ...
34.526316
92
0.560722
13b03110229f0f4d63fa01e1a63667f9231259e9
388
package bg.bulsi.egov.eauth.metadata.config.model; import java.io.Serializable; import lombok.Data; @Data public class ContactData implements Serializable { private static final long serialVersionUID = -8327458792336659441L; private String email; private String company; private String given...
20.421053
69
0.737113
24eb220f8e68f6df44a2820f8518cc63783dc19c
3,402
package com.aliyuncs.ft.model; import java.io.UnsupportedEncodingException; import java.security.InvalidKeyException; import java.util.HashMap; import java.util.Map; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.auth.AlibabaCloudCredentials; import com.aliyuncs.auth.BasicSessionCredentials; import com.aliyun...
39.103448
127
0.683128
b3896408247e0792fe470f9166e9bd27b95b2033
551
package br.com.solstice.notecommerce.entity.domain.stock; import br.com.solstice.notecommerce.entity.domain.DomainEntity; import br.com.solstice.notecommerce.entity.domain.product.Product; import lombok.AllArgsConstructor; import lombok.Getter; import lombok.ToString; import lombok.NoArgsConstructor; import lombok.Set...
21.192308
66
0.809437
14cafecfb0a2155d3e1e5943ff06aa32418bc992
743
import java.io.*; import java.math.*; import java.security.*; import java.text.*; import java.util.*; import java.util.concurrent.*; import java.util.regex.*; public class Solution { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int numInputs = sc.nextInt(); fo...
21.852941
48
0.45895
bde3400b02fb208df6f34d903ebfa72132d56e84
333
package cc.zkteam.zkinfocollectpro.fragment.problem.mvp; import cc.zkteam.zkinfocollectpro.base.mvp.BaseMVPView; /** * Created by Administrator on 2017/12/15. */ public interface PRView extends BaseMVPView { void setLocationInfo(String location); void cleanInput(); void showLoading(); void hide...
17.526316
56
0.735736
3c044dc3b7b1a1c923b1cb7fe88cab5a353912ab
1,720
package com.example.insta; import android.content.Context; import android.support.annotation.NonNull; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; import android.widget.TextView; import com....
27.301587
95
0.662209
34380cfd65c1af9b9bd6fa632b5d6a2743d94584
3,038
package gin; import com.github.javaparser.JavaParser; import com.github.javaparser.ast.CompilationUnit; import com.github.javaparser.ast.stmt.BlockStmt; import com.github.javaparser.ast.stmt.Statement; import java.io.File; import java.io.IOException; import java.util.List; public class SourceFile { private Comp...
28.392523
116
0.627716
525cccd78521c7c771ff4f7e4236df0c475cddc5
1,775
/** fun_endless@163.com 2018年11月26日 */ package org.aimbin.commons.javas; import java.text.DateFormat; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; /**Tools for date. * @author aimbin * @verison 1.0.0 2018年11月26日 */ public class TimeUtils { /** yyyy-MM-dd...
30.603448
100
0.704225
60ed344e041bea500971920081502a6dd825d0b1
2,441
package com.amazonaws.stepfunctions.cloudformation.statemachine; import com.amazonaws.services.stepfunctions.model.DescribeStateMachineResult; import com.amazonaws.services.stepfunctions.model.Tag; import org.junit.jupiter.api.Test; import java.util.ArrayList; import java.util.List; import static org.assertj.core.ap...
42.086207
117
0.726342
f48092a81932e37db94f05277592a15f30e3ee23
2,366
package oriedita.editor.action; import javax.inject.Inject; import javax.inject.Singleton; import org.tinylog.Logger; import origami.crease_pattern.element.Point; import oriedita.editor.canvas.MouseMode; import origami.folding.FoldedFigure; import oriedita.editor.canvas.CreasePattern_Worker; import oriedita.editor.da...
31.546667
145
0.692308
429951819e1bfec4617f8542781c61219d997299
2,908
/* * Copyright (c) 2016-2018 Evolveum and contributors * * This work is dual-licensed under the Apache License 2.0 * and European Union Public License. See LICENSE file for details. */ package com.evolveum.midpoint.model.impl; import static org.testng.Assert.assertEquals; import static org.testng.Assert.assertNot...
49.288136
138
0.788514
6b480ce8ae3a87495ecb025ffe775511cf66d27b
3,644
package org.motechproject.security.service.authentication; import org.motechproject.security.domain.MotechRole; import org.motechproject.security.domain.MotechUser; import org.motechproject.security.domain.UserStatus; import org.motechproject.security.repository.AllMotechRoles; import org.motechproject.security.reposi...
41.885057
179
0.723106
817ee432b3c70d19d0e8501d35be05b4cecd05f4
805
package com.metaui.core.util.group; import java.util.HashMap; import java.util.Map; /** * 分组模型 * * @author wei_jc * @since 1.0.0 */ public class GroupModel { private String[] groupCols; private Map<String, GroupFunction> computeColMap = new HashMap<String, GroupFunction>(); public void addComputeCol...
22.361111
92
0.677019
780ce2b7eddaf42879ad6b2240abff1965a4b6ef
14,023
package com.hello.holaApp.activity; import android.content.Intent; import android.graphics.Color; import android.graphics.Typeface; import android.graphics.drawable.ColorDrawable; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v4.app.Fragment; import android.support.v4.app...
37.696237
143
0.562291
2cd7ee9ad4f7462a29c8fe512182c788758a9e66
1,888
/** * The contents of this file are subject to the Mozilla Public License * Version 1.1 (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.mozilla.org/MPL/ * * Software distributed under the License is distributed on an "AS...
32
82
0.673199
f9ca071819a49dafb0fbb57d5675982ad20e6758
613
package lightsearch.server.entity; import org.springframework.context.annotation.Scope; import org.springframework.stereotype.Component; @Component("datasourcePasswordProperty") @Scope("prototype") public class DatasourcePasswordPropertyImpl implements Property<String> { private final String name; private fi...
21.892857
73
0.704731
b6adaaabe48b188ec5732da8cac5813acd829d58
4,685
package edu.gemini.spModel.gemini.obscomp; import edu.gemini.pot.sp.ISPObsComponent; import edu.gemini.spModel.config.AbstractObsComponentCB; import edu.gemini.spModel.data.config.*; import java.util.List; import java.util.Map; public class SPSiteQualityCB extends AbstractObsComponentCB { private static final S...
35.763359
92
0.635005
7ecf0024cc82e98f87b138221174a8757d3f01a4
2,808
/** * */ package com.telecominfraproject.wlan.equipmentgateway.models; import java.util.Objects; import com.telecominfraproject.wlan.core.model.equipment.RadioType; /** * A Request for resetting a radio. * * @author ekeddy * */ public class CEGWRadioResetRequest extends EquipmentCommand { /** * ...
25.527273
114
0.633903
7e02d5921ee7af661ce9572f82e1416a3417a3cb
3,179
package eu.f3rog.blade.compiler.util; import java.io.IOException; import java.util.Set; import javax.annotation.processing.AbstractProcessor; import javax.annotation.processing.Filer; import javax.annotation.processing.Messager; import javax.annotation.processing.ProcessingEnvironment; import javax.annotation.process...
30.567308
138
0.689525
dfc865a318fbccaf2457cc98261c366535b451a6
2,875
package city.market; import gui.trace.AlertTag; import java.util.*; import java.util.concurrent.Semaphore; import city.PersonAgent; import city.Place; import city.market.MarketCashierRole.*; import city.market.gui.*; import city.market.interfaces.MarketEmployee; import agent.Role; public class MarketEmployeeRole ext...
21.946565
138
0.715826
9957ba5efa8e0ab0b168d1249822c83248c6bb0c
3,309
package org.basex.query.value.seq; import java.util.*; import org.basex.query.*; import org.basex.query.expr.*; import org.basex.query.value.*; import org.basex.query.value.item.*; import org.basex.query.value.type.*; /** * Sequence of items of type {@link Int xs:integer}, containing at least two of them. * * @au...
26.902439
89
0.578725
849a4727119f9bb9558b1106ea37c755cd2ac2d4
6,749
package Engine; import Data.BackendReader.ReadXML_Die; import Data.BackendReader.ReadXML_luckCard; import Data.BackendReader.ReadXML_player; import Data.BackendReader.ReadXML_tiles; import Engine.BuyableCards.BuyableCardsInterface; import Engine.BuyableCards.PropertyCard; import Engine.Dice.DicePortfolio; import Engin...
30.129464
124
0.734776
99e0c473f9f62d9be5799fee9fa9171a26d96d80
863
package jp.vmi.selenium.selenese.subcommand; import org.openqa.selenium.Alert; import org.openqa.selenium.NoAlertPresentException; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import jp.vmi.selenium.selenese.Context; /** * "getNativeAlert". */ public class GetNativeAlert extends AbstractSubCommand<Stri...
28.766667
84
0.681344
53af15229a97726637abfd4527fe2c6afb0dcbca
2,691
/* * The MIT License (MIT) * * FXGL - JavaFX Game Library * * Copyright (c) 2015-2017 AlmasB (almaslvl@gmail.com) * * 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...
37.375
83
0.73207
fb3307d32b92e5d96650f4f79191ce2f46b2900c
607
package listeners; import interfaceCalc.CalculatorUI; import logicCalc.MathOperations; import javax.swing.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; /** * Created by алла on 03.08.15. */ public class CommaActionListener implements ActionListener { public static JTextArea inputO...
25.291667
77
0.733114
bb21f913ee0968997a155eb21b03497d43e78742
1,883
/* * Company * Copyright (C) 2014-2020 All Rights Reserved. */ package com.cwenao.leetcode.algs.first; /** * TODO : Statement the class description * * @author cwenao * @version $Id MaxProfitIII.java, v1.0.0 2020-12-15 06:57 cwenao Exp $$ */ public class MaxProfitIII { public int maxProfit(int[] prices) {...
29.421875
91
0.433882
521769bf9e4c6fa3c347b93b5d67d93ec311eb87
7,944
/* * Copyright (c) 2008-2017, 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 ...
38.75122
130
0.628273
9b0ffc21dac11e52dbd3e1833c5973e56ba63e31
190
import greenfoot.*; import java.util.*; public class House extends HouseBase implements HouseStrategy { public void getHouseImage(){ this.setImage("houseVisited.png"); } }
21.111111
63
0.705263
b8d957948acbaeb3135f5311eb3b65f411c75305
2,021
import java.util.Scanner; /** * Created by mvieck on 12/26/16. */ public class Validator { public Validator(){ } private void validate(String password) { boolean uppercase = hasUpperCase(password); boolean lowercase = hasLowerCase(password); boolean numbers = hasNumbers(passwor...
30.621212
171
0.591291
ffd9817366c9fb36e80b709061736442d6cdf86a
2,064
package io.recom.howabout.category.music.fragment; import io.recom.howabout.RoboSherlockFlurryAdlibSpiceFragmentActivity; import io.recom.howabout.category.music.activity.TrackListActivity; import io.recom.howabout.category.music.adapter.TrackListAdapter; import io.recom.howabout.category.music.model.TrackList; import...
29.485714
76
0.794089
339c321d8948dd9b57d97f19a1d0b0407a02a62c
436
package com.lilithsthrone.world.population; /** * @since 0.3.7.7 * @version 0.3.7.7 * @author Innoxia */ public abstract class AbstractPopulationType { private String name; private String namePlural; public AbstractPopulationType(String name, String namePlural) { this.name = name; this.namePlural = nameP...
16.769231
64
0.715596
95fb93ddc33bd39592ce5ef0d0f88ea572e4bb01
1,310
/* * Copyright 2020 Marco Lombardo * * 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.529412
102
0.745038
2683f81914e87e7367db4c26b5b008c02ea7c5d7
1,401
package org.hl7.davinci.ehrserver.authproxy; import org.springframework.util.LinkedMultiValueMap; import org.springframework.util.MultiValueMap; public class TokenRequest { private String grant_type; private String code; private String redirect_uri; private String client_id; public String getGrant_type() ...
22.967213
144
0.69379
e82c7b5e1a8be4dbaa528573ccc442e1f4ab96c3
2,921
/* * Copyright 2015-2015 Hippo B.V. (http://www.onehippo.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 req...
45.640625
117
0.727833
5c29fe77acf54aca8229154f0a60485a20c87c88
279
package jjcard.text.game.shop; import jjcard.text.game.IItem; import jjcard.text.game.IMob; import jjcard.text.game.util.Experimental; /** * */ @Experimental public interface Buyer { void buy(IMob seller, IItem item); void buy(IMob seller, IItem item, int amount); }
15.5
47
0.727599
55cc5182f2df130915241017ca330033eff4fa86
563
package cresla.entities.containers.modules; abstract class EnergyModuleImpl extends Modules implements cresla.interfaces.EnergyModule { private int energyOutput; EnergyModuleImpl(int id, int energyOutput) { super(id); this.energyOutput = energyOutput; } @Override ...
25.590909
95
0.634103
68c3df20c9bbe3aeda95bc15b024d9c034022c6e
317
package ftn.ktsnvt.culturalofferings.repository; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; import ftn.ktsnvt.culturalofferings.model.Location; @Repository public interface LocationRepository extends JpaRepository<Location, Long>{ }
26.416667
75
0.823344
47d50c11bc1032af1670456e11bd87fe50c01d5a
2,507
package com.albertlardizabal.packoverflow.models; import android.os.Parcel; import android.os.Parcelable; import com.google.gson.annotations.Expose; import com.google.gson.annotations.SerializedName; /** * Created by albertlardizabal on 2/25/17. */ public class PackingListItem implements Parcelable { @Serialize...
17.171233
110
0.688472
ba5f9876b15e7d7ad6c1070f2c217a98cfebe523
11,208
/* * 07/29/2009 * * FocusableTip.java - A focusable tool tip, like those in Eclipse. * * This library is distributed under a modified BSD license. See the included * RSyntaxTextArea.License.txt file for details. */ package org.fife.ui.rsyntaxtextarea.focusabletip; import java.awt.Component; import java.awt.Com...
30.456522
104
0.721271
bdc7bf96756dfffc31c83fc8b935721f5d37f2d7
246
package de.mwvb.blockpuzzle.logic.spielstein; /** Long John */ public class Spielstein5 extends Spielstein { public Spielstein5() { fill(0, 2); fill(1, 2); fill(2, 2); fill(3, 2); fill(4, 2); } }
17.571429
45
0.54065
f7c8acebfadbd292bb76ba4febaa03d8b2725782
1,129
package com.squadb.workassistantapi.web.config.auth; import javax.servlet.http.HttpSession; import org.springframework.core.MethodParameter; import org.springframework.stereotype.Component; import org.springframework.web.bind.support.WebDataBinderFactory; import org.springframework.web.context.request.NativeWebReques...
36.419355
100
0.807795