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
6b7ded835f24c0858432898f2d2d0dfc58eb49e1
3,045
package persistence; import static org.junit.Assert.*; import java.util.ArrayList; import org.junit.AfterClass; import org.junit.BeforeClass; import org.junit.Test; import trainer.DefaultObjectFactory; import trainer.Exercise; import trainer.ExerciseGroup; import trainer.PerformanceRate; /** * Tests {@link persis...
31.071429
86
0.759278
f136a467fcbcc517d11e1f6320e4ccd669faf5b6
1,404
package org.shaolin.uimaster.page.ajax.json; public interface IRequestData extends java.io.Serializable { public final static String ENTITY_NAME = "org.shaolin.uimaster.page.ajax.json.RequestData"; /** * get uiid * * @return uiid */ public java.lang.String getUiid(); ...
17.333333
95
0.52208
f47a89c7ec05190d7561ae2a889d5d755b21379e
5,621
/* * JBoss, Home of Professional Open Source. * Copyright 2006, Red Hat Middleware LLC, and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * distribution for a full listing of individual contributors. * * This is free software; you can redistribute it and/or modify i...
30.22043
90
0.638854
ff064e181865aba588ab7beefc33f2b847fc7802
577
package mic.poulet.goodsmash.pepites.model; import java.math.BigInteger; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.validation.constraints.NotBlank; import javax.validation.constraints.NotNull; import lo...
19.896552
52
0.819757
8bd581ca02874531238e9486a9ec9a62edb1ff06
620
package de.saschadoemer.iso11873.enums.units; /** * The internal force unit. * <p> * 00 Metric (newtons, ...) * 01 Imperial/US (pounds force, ...) * 10 Reserved * 11 No action */ public enum ForceUnit { METRIC(false, false), IMPERIAL_US(false, true), RESERVED(true, false), NO_ACTION(true, true)...
18.235294
45
0.609677
4640dc2f0d08a3a6d1b97e98417afd8cbfb8ac89
846
package capitulo7; import capitulo2.Usuario; import java.util.Arrays; import java.util.List; import java.util.stream.Stream; public class Capitulo7_2 { /* Tornando moderadores os usuários com mais 100 pontos */ public static void main(String[] args) { Usuario user1 = new Usuario("Paulo Silveira", 15...
31.333333
93
0.683215
904081a150cdb6d4172b96385b222a4218b24bb3
1,039
/* * Copyright 2018-2019 Sysco Middleware * * 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 ...
37.107143
100
0.759384
667b6d9f7615f6579248498cf5a79d6f3e28ada9
1,374
package com.github.marwin1991.keep_changelog.markdown.entry; import com.github.marwin1991.keep_changelog.yaml.model.ChangelogEntry; import org.apache.commons.lang3.StringUtils; import org.apache.commons.text.StringSubstitutor; import java.util.HashMap; import java.util.Map; class MarkdownChangelogEntryIssues extends...
33.512195
75
0.656477
e15aa873a93c4e10f52a56c4de7c558810cd0932
5,799
package com.unity.cxsolution.Enter; import android.annotation.SuppressLint; import android.app.Activity; import android.content.Intent; import android.content.res.Configuration; import android.os.Build; import android.os.Bundle; import android.os.PersistableBundle; import androidx.annotation.NonNull; import androidx....
30.68254
151
0.684946
fa7a31473b1fac02d1f96fd4e9c0ab7408da6ed9
8,395
/* * Copyright (C) 2012 TopCoder Inc., All Rights Reserved. */ package gov.medicaid.screening.services; import gov.medicaid.entities.MedicaidCertifiedProviderSearchCriteria; import gov.medicaid.entities.ResultLogEntry; import gov.medicaid.entities.SourceStats; import java.sql.Connection; import java.sql.DriverManag...
37.477679
112
0.660512
05bad3f13306effc0191d70b7690ddd5be49360e
1,992
package com.twu.items; import com.twu.menuoptions.CheckoutHistory; import java.util.ArrayList; public class LibrarySection<Section extends Item> { private ArrayList<Section> availableItems; private ArrayList<Section> issuedItems; private CheckoutHistory<Section> checkoutHistory; public LibrarySectio...
34.344828
136
0.651606
5c4125d272e2367472414e05f235887cba5ea5db
1,119
package Core; public class Main { public static void main(String[] args){ //TODO: find roots other than square roots // implement log base anything // style everything if possible // a^2b is a^(2b) instead of (a^2)b //{History, Mode, GraphSettings} history stuff Fu...
30.243243
74
0.544236
eff015cafea052760cabfcee6e91e5f538c4b628
3,590
package cn.xz.sample; import javax.crypto.*; import javax.crypto.spec.IvParameterSpec; import javax.crypto.spec.SecretKeySpec; import java.io.UnsupportedEncodingException; import java.nio.charset.StandardCharsets; import java.security.InvalidAlgorithmParameterException; import java.security.InvalidKeyException; import...
43.780488
157
0.752089
2be473830a38ae18dab12c4e8da7e95149cee170
1,247
/** * @package Showcase-Acceptance-Testing-Quarkus * * @file Todo class * @copyright 2021 Christoph Kappel <christoph@unexist.dev> * @version $Id$ * * This program can be distributed under the terms of the Apache License v2.0. * See the file LICENSE for details. **/ package dev.unexist.showcase.todo.domain.to...
17.814286
78
0.548516
bd548b90e9cd525c02e584b0efb1945ab2640264
711
package rest.reflection.entity; import org.codehaus.jackson.annotate.JsonProperty; import org.codehaus.jackson.map.annotate.JsonSerialize; public interface IManifest { @JsonProperty("order_id") public String getManifestId(); @JsonProperty("order_id") public void setManifestId(String pLocationId); ...
25.392857
62
0.759494
fccb6d83e6175f0903fef6ea29f3640254feda2b
8,085
/* * Copyright 2010-2021 Australian Signals Directorate * * 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 appl...
42.329843
153
0.685467
7421555d96f7c33c68ce06469143b218dbf8d87f
992
/* * 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 Code; import java.io.Serializable; /** * This {@code ENUM} class holds all the constants used for roles in the game, * thi...
20.244898
79
0.621976
1b33f5d6346926d9d9de3515bddcfe993aeb3fca
254
package com.softicar.sqml.model.validation; import org.eclipse.xtext.diagnostics.Severity; public interface ISqmlValidationConfiguration { Severity getSeverity(ISqmlIssue issue); boolean isMandatoryIdColumn(); int getMaximumIdentifierLength(); }
19.538462
47
0.822835
11056cbbf4f1737e889f27d2bff52dc4d864695e
879
package cn.threefishes.cloudrepository.entity; public class FormatTemplate { private Integer formatId; private String formatName; private Integer formatSite; private Integer storeId; public Integer getFormatId() { return formatId; } public void setFormatId(Integer formatId) { ...
20.44186
72
0.648464
ced524916ddd87f0b1d8caa5e5f20e5393552120
2,431
package com.ziroom.ziroomcustomer.ziroomstation.b; import com.ziroom.ziroomcustomer.e.q; public class d { public static String A = "rest/evaluate/getZraEvaluate.do"; public static String B = "client/upload/v1"; public static String C = "rest/evaluate/getEvaluateAndStarCount.do"; public static String D = "clie...
46.75
126
0.724805
e14efdea5d332c70ffc847c3e995ac466ed5d39d
1,549
package it.oblive.correctness.invoke.invokespecial; import it.oblive.helpers.AbstractTestCorrectnessTemplate; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; import testclasses.invoke.invokespecial.InvokeSpecialObject; import testclasses.invoke.invokevirtual.InvokeVirtualObject; public cl...
33.673913
112
0.708199
acc5bf6042e89901554ec0660d5dae5a6a67eca1
6,578
/* * 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...
33.055276
147
0.631347
fd97c61b951432cf1017640d86e402cd71613600
698
import java.io.*; public class HeatMap { public static final String DATA_FILE = "data.csv"; HeatMap() { } /** * Parse dataset */ public void parse(File data) throws IOException { BufferedReader reader = new BufferedReader(new FileReader(data)); String line; ...
16.619048
73
0.554441
f919035a790dc81ad375a4451bf81316558e9c12
2,055
package com.github.poetry.stop; import lombok.RequiredArgsConstructor; import lombok.ToString; import org.apache.commons.lang3.StringUtils; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.nio.charset.StandardCharsets; import java.uti...
27.4
91
0.682725
925888d67f4b9cdaea70b00bfe8d97710645a515
2,359
package main.java.pattern; import java.util.*; public class AlienDictionary { public static String findOrder(String[] words) { if(words == null || words.length ==0) return ""; StringBuilder sb = new StringBuilder(); Map<Character, List<Character>> graph = new HashMap<>(); Map<C...
31.039474
100
0.50106
d4d10e9d58313759ee90312ece9a7ea97d433df6
8,479
/** * this is based on jmetal.metaheuristics SPEA2.java * */ package mktgbi.moea; import java.io.IOException; import java.util.Comparator; import java.util.logging.Logger; import mktgbi.algorithm.util.RunMode; import mktgbi.dataio.Config; import mktgbi.moea.operator.ICrossover; import mktgbi.moea.operator.ISelec...
31.756554
93
0.719896
2c275ec9f5f1ff961e65a445dc23a94f26b69cc1
570
package org.metahut.starfish.store.rdbms.repository; import org.metahut.starfish.store.rdbms.entity.RelationEntityProperty; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.JpaSpecificationExecutor; import org.springframework.stereotype.Repository; import j...
31.666667
102
0.850877
430b59a3f8db12c3108b0f3a2e19143e61daef0f
442
package com.github.xxbeanxx.struts.actions.admin; import org.apache.struts2.ServletActionContext; import com.opensymphony.xwork2.ActionSupport; /** * @author Greg Baker */ @SuppressWarnings("serial") public class IndexAction extends ActionSupport { public String fullAccess() throws Exception { return IndexAct...
20.090909
64
0.773756
01397c4319b0c1647782b32f9bdae49eb8d04bf9
1,956
package com.johnnghia.mvvmproject.views.fragments; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import androidx.databinding.DataBindingUtil; import androidx.fragment.app.F...
37.615385
145
0.797035
c11c27128954f777543f192318bd892c669c5f94
206
package problems; public class Q136_SingleNumber { public int singleNumber(int[] nums) { int num = 0; for (int i : nums) { num ^= i; } return num; } }
14.714286
41
0.495146
51ca949814aa31e82c92207fc902ef35ccafe6af
16,757
begin_unit|revision:0.9.5;language:Java;cregit-version:0.0.1 begin_comment comment|/* * 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...
13.601461
813
0.791132
2ac57ac16c8f6ecad15f49953a9968331b020a95
1,828
public class Board { public int getScore(String[] input) { int row = input.length; int col = input[0].split(" ").length; String[][] grid = new String[row][col]; boolean[][] visited = new boolean[row][col]; for (int i = 0; i < row; i++) { for (int j = 0; j < col; ...
29.483871
102
0.378009
b1baacfdb07e2527ac7f0f7ba3400a697005fdda
1,023
package com.tinkerpop.furnace.wrappers.derived; import com.tinkerpop.blueprints.Vertex; import java.util.Iterator; /** * @author Marko A. Rodriguez (http://markorodriguez.com) */ public class DerivedVertexIterable implements Iterable<Vertex> { private final Iterable<Vertex> vertices; private final Derived...
26.230769
100
0.630499
6d076b68da9895b4431e49ae26eb6a02caab1122
432
package com.rubus.event_hub; public class user_college_profile { public String name,college, email,department,phone; public user_college_profile(){ } public user_college_profile(String name, String college, String email,String department,String phone) { this.name = name; this.colle...
21.6
107
0.678241
360f6e85ba695ef608184e25a5798fde86c8e77f
153
package co.edu.javeriana.configuracion.conf.bean.configuracion; public class BPMConf extends OSBConf { public BPMConf() { super(); } }
17
63
0.686275
c8f0163aac5ec586a0eca97dd6b312693077a468
2,135
package mindustry.ui.dialogs; import arc.*; import arc.graphics.*; import arc.graphics.g2d.*; import arc.input.*; import arc.scene.event.*; import arc.scene.ui.layout.*; import mindustry.gen.*; import static mindustry.Vars.renderer; public class MinimapDialog extends FloatingDialog{ public MinimapDialog(){ ...
30.070423
120
0.554098
37765145bdc4fc5aa29fe01f094489864f9ed2d0
501
package fr.itris.glips.svgeditor.actions.frame; public class MeasValue { private int id; private String name; private int psrId; public int getId() { return id; } public void setId(int id) { this.id = id; } public String getName() { return name; } public void setName(String name) { this.name =...
12.525
47
0.662675
f30786b0b01a2791c9b4fe9cea784236c61777fd
892
package org.jsoftware.utils.retriable; import org.junit.Assert; import org.junit.Test; public class RetriableDelayFunctionTest { @Test public void testLinear() throws Exception { RetriableDelayFunction function = RetriableDelayFunction.linearFunction(10); for(int i=0; i<10; i++) { ...
28.774194
84
0.64574
140ec4ea31b8841cafa7e3d414064e3a0b5b1d44
8,580
package com.didi.carmate.dreambox.core; import android.app.Application; import android.content.Context; import androidx.annotation.WorkerThread; import androidx.lifecycle.Lifecycle; import com.didi.carmate.dreambox.core.action.DBActionAlias; import com.didi.carmate.dreambox.core.action.DBActions; import com.didi.car...
43.77551
123
0.732284
d50c5dc36721c633a6d1a9b5903f5eee9340e8e1
8,783
package qiniu.predem.android.probe; import com.squareup.okhttp.Request; import com.squareup.okhttp.Response; import com.squareup.okhttp.ResponseBody; import org.aspectj.lang.ProceedingJoinPoint; import org.aspectj.lang.annotation.Around; import org.aspectj.lang.annotation.Aspect; import java.net.InetAddress; import ...
39.563063
103
0.547535
8797427c3609a3fde2ea2992e5d05268a182bf5e
18,768
/* * Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license * Click nbfs://nbhost/SystemFileSystem/Templates/GUIForms/JFrame.java to edit this template */ package ec.edu.espe.translate.view; import ec.edu.espe.translate.controller.FormsHandler; import javax.swing.JOption...
50.451613
267
0.636296
ae7fcca25fdfc418481f48975e8ed38a1056867c
735
package com.zhao.leetcode; //68 剑指offer public class LowestParentNode2 { public class TreeNode { int val; TreeNode left; TreeNode right; TreeNode(int x) { val = x; } TreeNode(int val, TreeNode left, TreeNode right) { this.val = val; this.left = left; ...
25.344828
81
0.482993
697ec03389093a8742f17308d9a0713401a53031
697
package org.springframework.samples.ioc.annotation.annotation.based.required; import org.springframework.beans.factory.annotation.Required; import org.springframework.samples.model.PlainModelOne; /** * Happy day, happy life. * * @author andy * @version 1.0-SNAPSHOT * Created date: 2015-01-29 21:53 */ p...
24.034483
77
0.682927
60c0da26be17b724c2db46b1cb7405fb0cab1713
1,281
package monkeylord.XServer.api; import java.lang.reflect.Method; import java.util.Map; import monkeylord.XServer.XServer; import monkeylord.XServer.XposedEntry; import monkeylord.XServer.handler.ObjectHandler; //处理反射调用 public class Invoke extends BaseOperation { @Override public String handle(String url, Map...
35.583333
121
0.63466
6cf5c4f32d6312154d3e114f1872783362c88fdd
4,563
package me.saket.dank.ui.compose; import android.annotation.SuppressLint; import android.app.Dialog; import android.content.Context; import android.net.Uri; import android.os.Bundle; import android.os.Parcelable; import android.view.LayoutInflater; import android.view.View; import android.view.WindowManager; import an...
33.306569
134
0.766382
607c54c174adb403c6f7d2d1b18e1efdedde3443
1,936
package edu.rhhs.frc.commands; import edu.rhhs.frc.subsystems.PneumaticSubsystem; import edu.rhhs.frc.subsystems.ShooterPitchAngle; import edu.rhhs.frc.subsystems.ShooterWheelRPM; import edu.wpi.first.wpilibj.command.CommandGroup; /** * @author rhhs */ public class ShooterShoot3FrisbeesHalfCourtWaitRPM extends Comm...
49.641026
110
0.777376
2653e668c7e6efae5dcbb7e5b3d1907e8caf56e9
11,815
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package org.jetbrains.idea.maven.plugins.groovy; import com.intellij.codeInsight.actions.ReformatCodeProcessor; import com.intellij.codeInsight.completion.*; import com.intellij....
44.584906
140
0.702412
857b01874e39e3a39ef604216feb69a5c519a76a
1,503
/* * Copyright (C) 2013 the original author or authors. * See the notice.md file distributed with this work for additional * information regarding copyright ownership. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * Y...
31.978723
82
0.66334
65de5277e2fb6a8d1742fb045615cefad7f05b72
189
package uk.czcz.freespacefinder; import java.util.ArrayList; import java.util.List; public class HardcodedData { public static List<List<CarPark>> carParkList = new ArrayList<>(); }
18.9
70
0.756614
7f2ae7dcf86c492640e28bfb89cc0617d8e354a6
5,102
package gov.med.va.innovations.util; import gov.va.medora.mdws.emrsvc.EmrSvcSoap; import gov.va.medora.mdws.emrsvc.UserTO; import gov.va.medora.mdws.querysvc.QuerySvcSoap; import java.util.Collections; import java.util.HashMap; import java.util.Map; import org.apache.commons.logging.Log; import org.apache...
31.109756
105
0.715014
6a8f1d0ae16211f33976b97b424139b9a2f2285c
835
package edu.isistan.racecondition; import edu.isistan.racecondition.account.LockAccount; public class LockMain { public static void main(String[] args) { Account a1 = new LockAccount(1, 1000); Account a2 = new LockAccount(2, 1000); Thread t1 = new Thread(new Transfer(a1, a2, 100)); ...
28.793103
63
0.579641
59e8f0351b431e0e1c22bc4edb38b08251a4ab14
1,108
package com.shiwuliang.optional; import java.util.Optional; import java.util.function.Function; /** * OptionalTest * * @author ziyuan * @since 2017-08-15 */ public class OptionalTest { private static class User { private String phone; public String getPhone() { return phone; ...
24.086957
96
0.605596
f8eeb1fae791df71e138770a33ff78e0ef97e1c5
2,568
package fr.catcore.gamegui.codec; import it.unimi.dsi.fastutil.objects.Object2ObjectMap; import it.unimi.dsi.fastutil.objects.Object2ObjectOpenHashMap; import net.minecraft.nbt.CompoundTag; import net.minecraft.nbt.Tag; import java.util.UUID; public class GameCreatorHelper { private static final Object2ObjectMa...
35.178082
137
0.651869
8f6147c15a36191e8229bbf2a47ea63686f86c12
261
package softuni.repositories; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; import softuni.entities.Camera; @Repository public interface CameraRepository extends JpaRepository<Camera,Long> { }
26.1
70
0.850575
98bdecfd0ccb4049c97d41b9e49e32bac22f8c98
646
package com.saggezza.ecommerce.response; import com.fasterxml.jackson.annotation.JsonProperty; /** * Token Response Data * * @author Prashant CHaudhary * */ public class TokenResponseData { @JsonProperty("access_token") private String accessToken; @JsonProperty("token_expiry_time") private long tokenExpir...
17.944444
55
0.763158
ec9e6867dc4c0915bb18c199425ebb7395c8ec1c
710
package ca.d4nish1234.exercise.crackingthecodinginterviewbook; public class E1_1_IsUniqueChars { public static void main(String[] args) { System.out.println(isUniqueChars(new char [] {'a','b'})); System.out.println(isUniqueChars(new char [] {'a','b','C','c','B'})); System.out.println(isUniqueChars(new char [] ...
28.4
85
0.64507
a75ae342cbc2d13a2c4face8e47408bf5ae0d5ff
4,082
package net.canarymod.api.chat; /** * Wrapper interface for Minecraft native ChatStyle * * @author Jason (darkdiplomat) */ public interface ChatStyle extends Cloneable { /** * Gets the {@link ChatFormatting} for this {@code ChatStyle} * * @return {@link ChatFormatting} */ ChatFormattin...
23.062147
66
0.554875
4c2a46b8526ebba36d9ba34ce4d63c101ff3ca6a
809
package accounts.rest.api; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.PathParam; import javax.ws.rs.core.Response; import accounts.businesslogic.interfaces.AccountService; import accounts.businesslogic.services.SimpleAccountService; import accounts.rest.AccountServiceFactory; @Path("accounts...
25.28125
71
0.714462
7f3d40c498a67bb6ad13593a8837dbeca15fc8e8
1,226
package io.leopard.data.alldb; import io.leopard.json.Json; import io.leopard.redis.Redis; public class StringsImpl { private Redis redis; private int seconds; private String keyPattern; public Redis getRedis() { return redis; } public void setRedis(Redis redis) { this.redis = redis; } public String...
18.575758
57
0.663132
796890491a4323ee93817380926f941104db84c4
633
package com.company.Simulation.SimulationFunctions; import com.company.Simulation.SimulationVariables.SimulationGlobals; import com.company.Simulation.SimulationVariables.WaveFront; import java.util.ArrayList; public class InterProcessComputations { /** * Основная функция для выполнения операций, происходя...
30.142857
88
0.755134
4e8688b261ed0a4e74430734baa903ae3e4eae5f
2,495
package com.aveng.wapp.web.rest; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web....
32.402597
94
0.71503
546c6c56eb5dd26c5d707c845ede0c7d9354f6e4
1,331
/* * Copyright 2012-2013 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 app...
35.026316
75
0.717506
c15f721f1365b24ab8113e0aa06350781633c956
341
package com.example.project05mongodb; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication public class Project05MongodbApplication { public static void main(String[] args) { SpringApplication.run(Project05MongodbApplication...
24.357143
68
0.835777
5d0c9178734e55ea4023fe29369661f6384d3bfc
12,575
begin_unit|revision:0.9.5;language:Java;cregit-version:0.0.1 begin_comment comment|/* * 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...
14.034598
813
0.804851
a40f77e86e35339e33cea46867945ef9762458a4
300
package com.shekhargulati.java8_tutorial.ch02; /** * * Example of compiler unable to detect lambda expression types */ public class Example2_Lambda { public static void main(String[] args) { // Comparator comparator = (first, second) -> first.length() - second.length(); } }
16.666667
86
0.676667
468049a9e07a128073b18969445868dea9fd318e
1,020
package com.sensinggo; import com.facebook.react.ReactPackage; import com.facebook.react.bridge.NativeModule; import com.facebook.react.bridge.ReactApplicationContext; import java.util.Arrays; import java.util.List; import kotlin.Metadata; import kotlin.collections.CollectionsKt; import kotlin.jvm.internal.Intrinsics;...
35.172414
109
0.812745
c809cad93d20408e52fa9a6f568e4f0e6e663148
5,576
/* * Copyright (C) 2016 Jecelyin Peng <jecelyin@gmail.com> * * This file is part of 920 Text Editor. * * 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/li...
37.422819
108
0.6684
ea766e38c3a4fa0512babf12261ddbb3a03dfa69
3,968
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
42.212766
96
0.695817
e611f27c55aa5151f3973c5a3750c101b0db6ed9
2,492
package gui; import java.awt.BorderLayout; import java.awt.GridLayout; import java.awt.Rectangle; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.File; import javax.swing.JButton; import javax.swing.JFrame; import javax.swing.JPanel; import javax.swing.JTextArea; import classe...
25.690722
86
0.723917
7033241ecf97e7fa0cc645609be111138f333495
1,061
/** * This file was auto-generated by the Titanium Module SDK helper for Android * Appcelerator Titanium Mobile * Copyright (c) 2009-2010 by Appcelerator, Inc. All Rights Reserved. * Licensed under the terms of the Apache Public License * Please see the LICENSE included with this distribution for details. * */ p...
27.205128
77
0.774741
571d78d0ad166f7b6d6340dcb380b2200f9b1590
5,271
/* * Java * * Copyright 2016-2018 IS2T. All rights reserved. * For demonstration purpose only. * IS2T PROPRIETARY. Use is subject to license terms. */ package com.microej.demo.smarthome; import com.microej.demo.smarthome.page.DashBoardPage; import com.microej.demo.smarthome.page.GraphPage; import com.microej.dem...
26.355
105
0.743312
84fcf624f64e0754614693902d1122c367668f1c
7,020
/* * Copyright (c) 2014, Thoughtworks Inc * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, this * list of co...
36.947368
104
0.691595
d408fd9705611180b7e0fc95bdbe8d1754ad168a
844
package com.gigya.android.sdk.api; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import com.gigya.android.sdk.network.adapter.RestAdapter; public class GigyaApiHttpRequest { private RestAdapter.HttpMethod httpMethod; private String url; private String encodedParams; Gigya...
21.641026
57
0.670616
36200341ab36a7ceb9725b12e1fbf5c8af5a1a2f
98
GlobalConfiguration globalConfig = new GlobalConfigurationBuilder() .jmx().enable() .build();
24.5
67
0.755102
3c89accacfa0a9832d397fb7f7f331aaa18c5bc0
1,285
package charactermanaj.util; import java.util.AbstractList; import java.util.Arrays; /** * 関連もしくは類似するリソースをまとめて取り扱うためにグループ化するためのクラス.<br> * * @author seraphy */ public class ResourceNames extends AbstractList<String> { private final String[] resourceNames; public ResourceNames(String[] resource...
20.396825
58
0.654475
a7a707ffd17f88b0ef8e8195b8deee808170582c
822
package polys; import cellsociety_team13.Shape; /** * Class which creates a Triangle Shape that is pointing downwards, extension of Shape * @author Miguel Anderson (mra21), Andres Lebbos (afl13) */ public class Triangle_Down extends Triangle{ public static final double startingAngle = 30; /** * Constructor wh...
21.076923
89
0.722628
20b9e3871690928e1523805b2b04fd4722ef187c
5,594
package com.androidhuman.example.simplegithub.ui.signin; import com.androidhuman.example.simplegithub.BuildConfig; import com.androidhuman.example.simplegithub.R; import com.androidhuman.example.simplegithub.api.AuthApi; import com.androidhuman.example.simplegithub.api.GithubApiProvider; import com.androidhuman.exampl...
33.100592
88
0.630497
c40c4439d93d9daeb7900432bce31293acf54b32
6,531
package com.example.handler; import java.util.HashMap; import java.util.Map; import com.example.handler.utils.AuthHandlerUtil; import org.apache.axis2.context.ConfigurationContext; import org.apache.commons.codec.binary.Base64; import org.apache.commons.lang.StringUtils; import org.apache.commons.logging.Log; import o...
39.107784
134
0.613995
d82516ba0549464d732cb1a579dd49f4724af729
394
package com.fx.client.gui.uicomponents.main.components; import io.datafx.controller.ViewController; import javax.annotation.PostConstruct; /** * @description: * @className: UserInfoController * @author: liwen * @date: 2020/8/16 10:52 */ @ViewController("/fxml/main/components/skin_info.fxml") public class SkinIn...
15.76
55
0.72335
d085575f17b839b07b1c68ebbbcf0b92b7b35153
934
package nl.pc.service.filter.field; import nl.pc.model.mongodb.RootEntity; import org.mongodb.morphia.query.Query; import java.util.function.Function; /** * Checks if a field contains a value * @param <ENTITY> */ public abstract class ContainsFilter<ENTITY extends RootEntity> extends SingleFieldFilter<ENTITY, St...
26.685714
107
0.670236
1feecadc00f630606d48f479ff7b8bb9699c7622
8,404
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov. // Jad home page: http://www.kpdus.com/jad.html // Decompiler options: packimports(3) annotate safe package com.amap.api.mapcore.util; import javax.microedition.khronos.egl.*; // Referenced classes of package com.amap.api.mapcore.util: // m class m$b...
32.323077
111
0.43872
87a68a7bf9d045a49de2e9c6a33af878a9318b89
2,595
package com.akavrt.csp.enumerator; import com.akavrt.csp.Order; import com.akavrt.csp.Problem; /** * <p>Pattern enumerator based on algorithm proposed by Pierce (1964). Can be used to evaluate the * number of both effective and feasible patterns for a particular 1D-CSP.</p> * * @author Victor Balabanov <akavrt@gm...
26.479592
98
0.533719
0473cc758bcfe1a59c3ccfc4f8e4d1ddfe171113
2,226
package org.xmlactions.action.actions; import org.apache.bsf.BSFException; import org.apache.commons.beanutils.ConvertUtils; import org.apache.commons.lang.text.StrSubstitutor; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.xmlactions.action.config.IExecContext; import org.xmlactions.common.scri...
30.081081
99
0.704852
b7ef082fa2ec71d73add5293fc06cc5a2dd11251
33
public class TDCoSimHelics { }
6.6
28
0.727273
5af16bdc57f9258d42140d8969f6096fe5677e87
10,059
// Automatically generated by xdrgen // DO NOT EDIT or your changes may be overwritten package org.stellar.sdk.xdr; import java.io.IOException; import com.google.common.base.Objects; import java.util.Arrays; // === xdr source ============================================================ // struct InnerTransaction...
31.832278
144
0.702257
25640feda449e34a4f110fe538ae834e0b3efdc2
413
package com.cezarykluczynski.stapi.model.video_release.repository; import com.cezarykluczynski.stapi.model.common.repository.CriteriaMatcher; import com.cezarykluczynski.stapi.model.video_release.dto.VideoReleaseRequestDTO; import com.cezarykluczynski.stapi.model.video_release.entity.VideoRelease; public interface Vi...
45.888889
109
0.878935
0efe3aed277de7f892d5ad2c3f8de7275b299099
5,260
package br.com.fernando.ch05_working_with_streams.part07_Building_streams; import java.nio.charset.Charset; import java.nio.file.Files; import java.nio.file.Paths; import java.util.Arrays; import java.util.stream.Stream; // Building streams public class Test { // This section shows how you can create a stream fr...
45.73913
138
0.647529
1d449997926a70b50d319d7071f53e5d66a5b3ce
423
package com.efurture.app; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication(scanBasePackages={"com.efurture.mybatis.conf", "com.efurture.mustache.conf", "com.efurture.web.controller"}) public class AppApplication { pu...
21.15
69
0.78487
6cdac1e0b9a7de3a72ccfb9dfd3251a4cb947a27
1,005
package ru.job4j.io.chat; import java.io.IOException; import java.net.URI; import java.nio.file.Files; import java.nio.file.Paths; import java.util.ArrayList; import java.util.List; import java.util.Random; import java.util.stream.Stream; /** * @author Anton Kondratkov * @since 28.07.19. * Класс содержит метод, кот...
27.916667
73
0.703483
59b61b54d076bfff52f74cff06e8b5a9d916c831
1,332
/** * Copyright 2015 SPeCS. * * 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 writi...
26.64
118
0.691441
7ae10862fb1df98903a2e68e717e6c180d974c06
5,911
package org.shypl.biser.csi.server; import org.shypl.biser.csi.ByteBuffer; import org.shypl.biser.csi.ConnectionCloseReason; import org.shypl.biser.csi.ProtocolException; import org.shypl.common.concurrent.Worker; import org.shypl.common.concurrent.WrappedTaskWorker; import org.shypl.common.slf4j.PrefixedLoggerProxy; ...
23.549801
153
0.688716
fcdad420564213b189d0a01294bf80cc7c71f239
2,943
/* * This software is Copyright by the Board of Trustees of Michigan * State University (c) Copyright 2014, 2015. * * You may use this software under the terms of the GNU public license * (GPL). The terms of this license are described at: * http://www.gnu.org/licenses/gpl.txt * * Contact Information:...
26.276786
102
0.641862
99862f74c4dae61c5fb2dabef6770ecf77229626
2,102
package io.github.tesla.filter.support.enums; import java.util.Set; import org.springframework.core.annotation.AnnotationUtils; import io.github.tesla.common.dto.ServiceDTO; import io.github.tesla.filter.service.annotation.AuthType; import io.github.tesla.filter.service.definition.PluginDefinition; import io.github....
31.848485
113
0.672217
7302f974037cecc54c9ef74f1c6de880ab80d985
757
/** * */ package com.example.DTO; /** * @author mindfire * */ public class UserDetailsDTO { private String userName; private String password; public UserDetailsDTO(){ } public UserDetailsDTO(String sUserName, String password) { super(); this.userName = sUserName; this.password = password; } ...
15.14
59
0.659181
ffd8095822bffe8d74fedc85d06684407cfcd44e
6,419
package com.github.piasy.oauth3.github.presenter; import android.text.TextUtils; import android.util.Log; import android.util.Pair; import com.github.piasy.oauth3.github.GitHubOAuth; import com.github.piasy.oauth3.github.model.ApiErrorAwareConverterFactory; import com.github.piasy.oauth3.github.model.AuthApi; import c...
40.88535
95
0.599626
3da5133000088932ec06d0e9ff220722af7d1204
718
package com.my.mq.remoting.enums; /** * @author handx * @version 1.0.0 * @ClassName LanguageType.java * @Description 支持的语言 * @createTime 2020年10月28日 22:45:00 */ public enum LanguageType { JAVA((byte) 0), CPP((byte) 1), PYTHON((byte) 2), HTTP((byte) 3), GO((byte) 4), PHP((byte) 5); p...
18.894737
65
0.561281
2aa148961f3ebb3bf9a74c8a3e77f13703ade940
2,122
package com.andrey7mel.stepbystep.integration.view; import android.view.LayoutInflater; import android.view.ViewGroup; import com.andrey7mel.stepbystep.R; import com.andrey7mel.stepbystep.integration.other.IntegrationBaseTest; import com.andrey7mel.stepbystep.other.TestConst; import com.andrey7mel.stepbystep.presente...
31.205882
126
0.741753
0bf4ed730edfce279a753683ab361f5460bd4d6b
182
package tw.com.softleader.ldap.entity; import lombok.Getter; import lombok.Setter; @Getter @Setter public class Node { private String parentName; private String name; }
12.133333
38
0.741758
7c3b93e62bf1e74582cfe55fddd098160657be3e
1,741
package org.openexi.fujitsu.proc.grammars; import org.openexi.fujitsu.proc.common.EventTypeList; public final class EventTypeSchemaAttribute extends EventTypeSchema { private final boolean m_useSpecificType; EventTypeSchemaAttribute(int attr, String uri, String name, int index, int serial, Grammar ownerG...
32.849057
110
0.54911
51e4d32caf5df01eb809027e5b2d2268f1c3b754
18,979
import java.util.ArrayList; import java.util.BitSet; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set; import org.ggp.base.util.gdl.grammar.Gdl; import org.ggp.base.util.gdl.grammar.GdlConstant; import org.ggp.base.util.gdl.grammar.GdlDisti...
38.341414
131
0.654987