blob_id
stringlengths
40
40
language
stringclasses
1 value
repo_name
stringlengths
5
132
path
stringlengths
2
382
src_encoding
stringclasses
34 values
length_bytes
int64
9
3.8M
score
float64
1.5
4.94
int_score
int64
2
5
detected_licenses
listlengths
0
142
license_type
stringclasses
2 values
text
stringlengths
9
3.8M
download_success
bool
1 class
248de4d8719bc9b22fba707a59acbda4784c8596
Java
TegzesTamas/theta
/subprojects/analysis/src/main/java/hu/bme/mit/theta/analysis/waitlist/PriorityWaitlist.java
UTF-8
2,390
2.6875
3
[ "Apache-2.0" ]
permissive
/* * Copyright 2017 Budapest University of Technology and Economics * * 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 * * Unles...
true
c8d3999c6f2bd074c5cefe4e38cb15732b7ea998
Java
dondurma/EasyFair
/app/src/main/java/com/baibeiyun/eazyfair/activity/business_opportunity/ExhibitionInfoActivity.java
UTF-8
12,716
1.765625
2
[]
no_license
package com.baibeiyun.eazyfair.activity.business_opportunity; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Configuration; import android.content.res.Resources; import android.os.Bundle; import android.util.DisplayMetrics; import android.view.View; import android.w...
true
da3684d53b2627631a5d98ca2fceffb1e10db135
Java
LowWeiLin/LSDSLAM
/src/Tracking/LGS6.java
UTF-8
729
2.625
3
[]
no_license
package Tracking; public class LGS6 { // 6x6 matrix jeigen.DenseMatrix A; // 6x1 vector jeigen.DenseMatrix b; double error; int numConstraints; public LGS6() { initialize(); } public void initialize() { // Initialize to zeros A = jeigen.Shortcuts.zeros(6, 6); b = jeigen.Shortcuts.zeros(6, 1);...
true
4e18d2e29b23dd2cd9f5cc36e665bab12486cd82
Java
TheShermanTanker/NMS-1.16.3
/net/minecrell/terminalconsole/TerminalConsoleAppender.java
UTF-8
8,822
1.625
2
[]
no_license
/* */ package net.minecrell.terminalconsole; /* */ /* */ import java.io.IOException; /* */ import java.io.PrintStream; /* */ import java.io.Serializable; /* */ import org.apache.logging.log4j.core.Filter; /* */ import org.apache.logging.log4j.core.Layout; /* */ import org.apache.logging...
true
70635b18d7a8a64fb1be9ff832642fa8453a2e53
Java
Shuo-Feng-1001/src
/player/Chip.java
UTF-8
2,101
3.203125
3
[]
no_license
package player; public class Chip { private int x; private int y; private boolean visited; private int direct; private int chipValue; public final static int HORIZONTAL = 1; public final static int VERTICAL = 2; public final static int DIAGONALF = 3; public final static int DIAGONALB = 4; private final sta...
true
0f4ab525edb1d75744b20097895c7ead8fc47a5c
Java
MingZheng27/configcenter
/src/main/java/com/zm/qconfigdemo/util/CommonFunc.java
UTF-8
735
2.375
2
[]
no_license
package com.zm.qconfigdemo.util; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.util.regex.Pattern; public class CommonFunc { public static String inputStream2String(InputStream in) throws IOException { BufferedReader r...
true
4f994d440b9eb0bc0b73f521a281e49f00441bd9
Java
huangxingzhe/lottery
/src/main/java/com/tommy/dao/LotteryLogDao.java
UTF-8
196
1.726563
2
[ "Apache-2.0" ]
permissive
package com.tommy.dao; import java.util.List; import java.util.Map; import com.tommy.model.LotteryLog; public interface LotteryLogDao { List<LotteryLog> query(Map<String,Object> params); }
true
c7f99dbe11fbbae0a966a45da67bcd7570a0d8b2
Java
Vinayak-Mahadev/java8
/sourcecode/L4-jpa-plugin/src/main/java/com/java8/jpa/generator/beans/Attributes.java
UTF-8
15,699
2.015625
2
[]
no_license
package com.java8.jpa.generator.beans; import java.util.ArrayList; import java.util.List; import java.util.StringJoiner; import lombok.Getter; import lombok.NoArgsConstructor; import lombok.Setter; import lombok.ToString; @Setter @Getter @NoArgsConstructor @ToString public class Attributes { private String entityN...
true
153990b459eaa332364b16f80a04bd4df70c94f2
Java
JeffPerando/Hawks-Machinery
/src/minecraft/hawksmachinery/machine/common/item/HMItemRivetGun.java
UTF-8
3,999
2.171875
2
[]
no_license
package hawksmachinery.machine.common.item; import hawksmachinery.core.common.api.HMRepairInterfaces.IHMRepairable; import hawksmachinery.core.common.api.HMRepairInterfaces.IHMRivet; import hawksmachinery.core.common.item.HMItemElectric; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.ite...
true
c4b506cde8ac022575298cf8d1aa831134ba5214
Java
Lucian-IoanOprea/Sherif-of-Nottingham
/common/Constants.java
UTF-8
1,788
2.3125
2
[]
no_license
package com.tema1.common; public final class Constants { /****/ private static final int COINS_START = 80; /****/ private static final int MAX_BAG = 8; /****/ private static final int MAX_ID_CARD = 24; /****/ private static final int ZERO_VALUE = 0; /****/ private static final int MIN_FOR_BRIBE = 4; /****...
true
5fd4b51ac8602213d95faa601e2ba7fd87483fba
Java
iamxwj/djt
/src/main/java/com/djt/service/impl/RequestForRankingServiceImpl.java
UTF-8
1,558
2.234375
2
[]
no_license
package com.djt.service.impl; import com.djt.dao.RequestForRankingDao; import com.djt.data.ResponseData; import com.djt.domain.RequestForRankingEntity; import com.djt.domain.UserInfoEntity; import com.djt.service.RequestForRankingService; import org.springframework.beans.factory.annotation.Autowired; import org.spring...
true
3ef7e416fa3c9f03a4bfbab466445b7e442ea892
Java
xuIcream/imyquan
/src/com/imyquan/test/adapter/PersonsAdapter.java
UTF-8
3,177
2.125
2
[]
no_license
package com.imyquan.test.adapter; import java.io.InputStream; import java.net.URL; import java.util.ArrayList; import java.util.List; import android.content.Context; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.Color; import android.os.AsyncTask; import android.text.T...
true
5d1b1af62f0b21b9155134b31e3abff6792424e4
Java
derekzone/CSS
/src/main/java/com/derek/exception/BaseException.java
UTF-8
433
2.484375
2
[]
no_license
package com.derek.exception; /** * @author Derek * @date 2018/3/28 09:22 */ public class BaseException extends RuntimeException { private int code;//状态码 public BaseException(String message, int code) { super(message); this.code = code; } public BaseException(String message) { ...
true
b6ff411f4280f8a92449cc1e31b27616874ed2ed
Java
boot-tara/gmall-tara
/gmalltara/gmall-user-service/src/main/java/com/atguigu/gmall/user/mapper/UserInfoMapper.java
UTF-8
214
1.726563
2
[]
no_license
package com.atguigu.gmall.user.mapper; import com.atguigu.gmall.bean.UserInfo; import org.apache.ibatis.annotations.Mapper; @Mapper public interface UserInfoMapper { UserInfo selectUser(UserInfo userInfo); }
true
34dd1fe4de152e71c50066e2941cc2a538f3579f
Java
adazahan/tema_week12
/src/Main.java
UTF-8
1,438
2.78125
3
[]
no_license
import comparators.FirstNameComparator; import comparators.LastNameComparator; import domain.Person; import service.PeopleApp; import java.io.BufferedWriter; import java.io.FileWriter; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import java.nio.file.St...
true
fd686e4deedac8cd1ee8d2ceed5f1ef8dae908e9
Java
moutainhigh/dafa
/dafacloud-web-api/src/main/java/pers/dafacloud/dafaLottery/ChaseBettingData.java
UTF-8
1,878
2.203125
2
[]
no_license
package pers.dafacloud.dafaLottery; import net.sf.json.JSONArray; import net.sf.json.JSONObject; import pers.utils.jsonUtils.JsonArrayBuilder; import pers.utils.jsonUtils.JsonObjectBuilder; import java.util.List; public class ChaseBettingData { public static String getChaseBettingData(String rebate) { /...
true
8d55fd424ec8c6d2c47bfdd49a1b88a55b787f4d
Java
rebaomi/poi-ppt-animation-master
/poi-ppt-animation-master/poi-ppt-animation-master/src/main/java/Pptx.java
UTF-8
6,896
2.171875
2
[]
no_license
import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.OutputStream; import java.util.HashMap; import java.util.Map; import javax.xml.bind.JAXBException; import org.apache.poi.util.IOUtils; import org.docx4j.Docx4J; import...
true
3f977eb979ca3852eff60903783764c3b494d9b6
Java
Sensedia/apix2016-microservice-java
/src/main/java/com/sensedia/carteira/bean/ClienteBean.java
UTF-8
1,611
2.1875
2
[]
no_license
/* * 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 com.sensedia.carteira.bean; import java.util.List; import java.util.Set; import javax.persistence.Entity; import javax.persist...
true
ef55fdd54fdd450e0e80f03eae94db8f9b96ba37
Java
renahnschultz/odonto-system-manager
/src/main/java/br/com/osm/test/TesteMedicoDAO.java
UTF-8
876
2.140625
2
[]
no_license
package br.com.osm.test; import javax.persistence.EntityManager; import org.junit.After; import org.junit.Before; import org.junit.BeforeClass; import org.junit.Test; import br.com.osm.dao.UsuarioDAO; import br.com.osm.producer.EntityManagerProducer; public class TesteMedicoDAO { public TesteMedicoDAO() { } pr...
true
de2bce94f7804caf6f20a3fa08938784af66291b
Java
dylandevalia/royal-game-of-ur
/src/game/dylandevalia/royal_game_of_ur/states/ur/Pause.java
UTF-8
3,805
2.40625
2
[]
no_license
package game.dylandevalia.royal_game_of_ur.states.ur; import game.dylandevalia.royal_game_of_ur.gui.ColorMaterial; import game.dylandevalia.royal_game_of_ur.gui.Framework; import game.dylandevalia.royal_game_of_ur.gui.Window; import game.dylandevalia.royal_game_of_ur.objects.base.Background; import game.dylandevalia.r...
true
353f3c6dfd8b8ef95a9e2028f6196fcc06f8623d
Java
NataliiaLohvynenko/DesignPatterns
/src/test/java/com/udemy/seleniumdesign/srp/test/stepsOfInvocations/pages/SearchResultPage.java
UTF-8
892
2.203125
2
[]
no_license
package com.udemy.seleniumdesign.srp.test.stepsOfInvocations.pages; import static org.assertj.core.api.Assertions.assertThat; import org.openqa.selenium.WebElement; import org.openqa.selenium.support.FindBy; public class SearchResultPage extends BasePage { public SearchResultPage(){ super(); } @F...
true
7e9981ab1f91facadbf5b89185ec0a3f8be57916
Java
Brouney/RestApi_Neo4jdb_Comicdb
/src/main/java/com/project/demo/SeriesController.java
UTF-8
1,113
2.296875
2
[]
no_license
package com.project.demo; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.PostMapping; import org.springfram...
true
b808d5fb883bdb125ac76180562be704943cd2d2
Java
irwinderiyan/textminingtf-idf
/src/textmining/Textmining.java
UTF-8
521
1.9375
2
[]
no_license
/* * 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 textmining; /** * * @author ASUS */ public class Textmining { /** * @param args the command line arguments *...
true
e559816850b5127436fbc998f3d6a75bd0be29e2
Java
gxlioper/xajd
/main/com/zfsoft/xgxt/zxdk/byhkgl/sq/ByhkglSqService.java
GB18030
5,078
2.03125
2
[]
no_license
/** * @:ѧƷҵ * @ڣ2016-5-6 02:13:57 */ package com.zfsoft.xgxt.zxdk.byhkgl.sq; import java.util.HashMap; import java.util.List; import xgxt.form.User; import xgxt.utils.GetTime; import com.zfsoft.xgxt.base.service.impl.SuperServiceImpl; import com.zfsoft.xgxt.base.util.Constants; import com.zfsoft....
true
ca0cbf77ca4b4b26171be1ca6bf1a98777e3ad46
Java
vvaug/testetecnico
/src/main/java/com/example/api/configuration/InitializeDatabaseWithRecords.java
UTF-8
1,932
2.328125
2
[]
no_license
package com.example.api.configuration; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.CommandLineRunner; import org.springframework.stereotype.Component; import com.example.api.domain.Address;...
true
4c521582037865125440b915efd9bf96ce0c5463
Java
Linux2010/jdzw_cloud
/search/src/main/java/cn/com/myproject/es/bean/Goods.java
UTF-8
1,876
2.015625
2
[]
no_license
package cn.com.myproject.es.bean; import org.springframework.data.annotation.Id; import org.springframework.data.elasticsearch.annotations.Document; /** * Description:商品实体类 * User: pdt * Date: 2018-01-15 9:02 */ @Document(indexName = "goods",type = "goods") public class Goods { @Id private String goodsId...
true
3279ca4027611c2a7dca5a5cf754eb75b7127ac2
Java
Overu/breread
/com.goodow.wave/com.goodow.wave.server/src/test/java/com/goodow/wave/server/media/AttachmentTest.java
UTF-8
1,048
1.796875
2
[]
no_license
/* * Copyright 2012 Goodow.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 required by applicable law or agreed to in wr...
true
a50ea078effb0d31ca2340c49b141a4c953adcda
Java
singhAnish/MoviesExample
/app/src/main/java/com/android/movie/di/module/app/ActivityModule.java
UTF-8
587
2.25
2
[ "Apache-2.0" ]
permissive
package com.android.movie.di.module.app; import android.app.Activity; import android.content.Context; import com.android.movie.di.scoping.AppScope; import javax.inject.Named; import dagger.Module; import dagger.Provides; @Module public class ActivityModule { private final Activity mContext; public Activi...
true
b9c86831cbc14237d6276482b77b07a7c4b005f1
Java
wangzhikk/caipiao
/app/src/main/java/com/cp/wode/shezhi/GuanYuFragment.java
UTF-8
1,290
1.84375
2
[]
no_license
package com.cp.wode.shezhi; import android.graphics.Bitmap; import android.widget.ImageView; import android.widget.TextView; import com.cp.R; import utils.tjyutils.http.HttpConfigAx; import utils.tjyutils.parent.ParentFragment; import utils.wzutils.common.CommonTool; import utils.wzutils.common.QrCodeTool; import ut...
true
f6d464aa66f793c9ebf8b8062d47124278721dc3
Java
nochemargarita/super-duper-drive
/starter/cloudstorage/src/main/java/com/udacity/jwdnd/course1/cloudstorage/controllers/HomeController.java
UTF-8
8,674
2.296875
2
[]
no_license
package com.udacity.jwdnd.course1.cloudstorage.controllers; import com.udacity.jwdnd.course1.cloudstorage.models.CredentialForm; import com.udacity.jwdnd.course1.cloudstorage.models.File; import com.udacity.jwdnd.course1.cloudstorage.models.NoteForm; import com.udacity.jwdnd.course1.cloudstorage.services.CredentialSer...
true
4c0be929aa1e24a34aca42feddfc14185026af2c
Java
zocoz77/git
/src/git/Git.java
UTF-8
282
2.015625
2
[]
no_license
/* * CMSC 350 Professor Elizes */ package git; /** * * @author mahan */ public class Git { /** * @param args the commffand line arguments */ public static void main(String[] args) { System.out.println("hello world"); } }
true
4a4922c1e891fcd724c2885c272aa9a3aacfd7ce
Java
OppArtemis/Hypnos
/Hypnos/app/src/main/java/com/artemis/hypnos/android/Constants.java
UTF-8
2,731
2.40625
2
[]
no_license
package com.artemis.hypnos.android; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.concurrent.TimeUnit; /** * Created by jf2lin on 09/20/2017. */ public class Constants { public final static Strin...
true
f4302ecd459862ab9468661a775ceb441605fe5d
Java
AnnaEleeva/SortingAlgorithms
/src/Эффективные_сортировки/QuickSort.java
UTF-8
3,376
3.671875
4
[]
no_license
//Быстрая сортировка O(nlogn)-время. O(n) -память //Этот алгоритм состоит из трёх шагов. // 1) Сначала из массива нужно выбрать один элемент — его обычно называют опорным. // 2)Затем другие элементы в массиве перераспределяют так, чтобы элементы меньше опорного оказались до него, а большие или равные — после. // 3)А да...
true
24d0087e162a849dc0a3a861a8f17a508a0255e2
Java
gryzel1/PokeArena
/PokeArenaNetwork/Examples/ClientExemple.java
UTF-8
9,171
2.75
3
[]
no_license
package PokeArenaNetwork.Examples; import Model.*; import PokeArenaNetwork.Client.PokeArenaClient; import java.net.URISyntaxException; import java.util.ArrayList; import java.util.Scanner; /** * Exemple d'implémentation d'un client PokeArena en ligne de commande. * * @author Louis */ public class ClientExemple {...
true
224eb45d2429b3a6c7481b4dc5b05d19a41984d3
Java
carlosbellmont/gitcompartido
/src/gitcompartido/ClaseDeRamiro.java
UTF-8
141
1.90625
2
[]
no_license
package gitcompartido; public class ClaseDeRamiro { public static void escribir() { System.out.println("Ahora si me va :D"); } }
true
4affe744d32fa61ea2f402dd922bbf4dd53b97e0
Java
indragunawan222/IntentPassingData
/app/src/main/java/com/example/bundle/Activity_Dua.java
UTF-8
372
1.539063
2
[]
no_license
package com.example.bundle; import androidx.appcompat.app.AppCompatActivity; import android.os.Bundle; import com.example.intentpassingdata.R; public class Activity_Dua extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); ...
true
509be97caa570167c0b63cc2facb46bcf16df99b
Java
armindopacuco/SIG_HDP_Master
/SIG_HDP_Master-ejb/src/java/entidade/MorgueSaidaCorpo.java
UTF-8
4,882
1.8125
2
[]
no_license
/* * 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 entidade; import java.io.Serializable; import java.util.Date; import javax.persistence.Basic; import javax.persistence.Column...
true
94566250f41fc34427005a06c41b170efa3e68bc
Java
gbornia/twin-coder
/twin-ide/src/main/java/org/twincoder/ide/ui/ProgramControlPanel.java
UTF-8
2,310
2.546875
3
[]
no_license
/* * TwinCode is an education project. * You are free to use this code for educational purposes. Please improve the code. */ package org.twincoder.ide.ui; import org.twincoder.ide.program.Program; import org.twincoder.ide.program.ResourceDisposable; /** * * @author gbornia */ public class ProgramControlPanel ...
true
da631450f4867bff5280c3815a4ee900cb1476d1
Java
augustd/examples
/src/main/java/examples/HashSha256.java
UTF-8
1,370
3.34375
3
[ "Apache-2.0" ]
permissive
package examples; import java.io.UnsupportedEncodingException; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; import java.util.logging.Level; import java.util.logging.Logger; /** * Usage: * java -classpath Examples-1.0-SNAPSHOT.jar examples.HashSha256 "string to hash" * * @...
true
f8db167140255a7f0b3deffbcae1ee301ec69c01
Java
Thornerve/mdh
/thor-mdh-service/src/main/java/com/thor/mdh/service/impl/UserServiceImpl.java
UTF-8
3,825
2.234375
2
[]
no_license
package com.thor.mdh.service.impl; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.annotation.Resource; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactiona...
true
441101ca42da6512c25042f6733fa0beab47f7cd
Java
MiguelSilva1/UFP_SistemaDistribuidoDePartilhaDeFicheiros
/server/DropboxFactoryImpl.java
UTF-8
9,201
2.40625
2
[]
no_license
package edu.ufp.inf.sd.projeto.server; import static edu.ufp.inf.sd.projeto.client.DropboxClient.BASE_CLIENTS_PATH; import edu.ufp.inf.sd.projeto.client.DropboxObserverImpl; import edu.ufp.inf.sd.projeto.client.DropboxObserverRI; import java.io.BufferedReader; import java.io.File; import java.io.FileReader; im...
true
a02bec796e53593e5e10b4619d23c062dcf80827
Java
Andr3wD/MedicineTrackingApp
/app/src/main/java/com/example/medicinetrackingapp/IndividualCustomMedicine.java
UTF-8
684
2.59375
3
[]
no_license
package com.example.medicinetrackingapp; import java.io.Serializable; import java.util.ArrayList; import java.util.Calendar; public class IndividualCustomMedicine implements Serializable { public String name; public int quantity; public int dose; public String use; public String reason; public...
true
2f42d5bb152880b4da90fdb90d38111faef45c0c
Java
sonam-singh15/Swabhavtechlabs1
/java/account-polymorphism-app/src/com/techlab/accountpoly/AccountTest.java
UTF-8
886
3
3
[]
no_license
package com.techlab.accountpoly; import com.techlab.account.test.Account; import com.techlab.account.test.CurrentAccount; import com.techlab.account.test.SavingAccount; public class AccountTest { public static void main(String[] args) { SavingAccount account1 = new SavingAccount(1045, "Sonam", 4000); account1.de...
true
4e6c041cdf8728d6562513160fbd3582252b10a0
Java
joakimeriksson/jipv6
/src/se/sics/jipv6/core/MacPacket.java
UTF-8
9,725
2.09375
2
[]
no_license
/** * Copyright (c) 2009, Swedish Institute of Computer Science. * 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 * not...
true
6cc89222566c0c158f4230fedac1ae1777b922b1
Java
cody0117/LearnAndroid
/AndroidPOS/src/com/google/android/gms/tagmanager/b.java
UTF-8
9,499
1.796875
2
[]
no_license
// Decompiled by Jad v1.5.8e. Copyright 2001 Pavel Kouznetsov. // Jad home page: http://www.geocities.com/kpdus/jad.html // Decompiler options: braces fieldsfirst space lnc package com.google.android.gms.tagmanager; import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; import java.util.I...
true
9d3357f2930e97eb792e36fb6c46fee484492d8d
Java
rssh/termware2
/jsrc-core/ua/gradsoft/termware/transformers/string/StringMatchesTransformer.java
UTF-8
3,779
2.53125
3
[]
no_license
/* * StringMatchesTransformer.java * */ package ua.gradsoft.termware.transformers.string; import java.util.regex.Matcher; import java.util.regex.Pattern; import ua.gradsoft.termware.AbstractBuildinTransformer; import ua.gradsoft.termware.BooleanTerm; import ua.gradsoft.termware.Term; import ua.gradsoft.termware.Te...
true
f9a63c7b9b17c20f804a0a025c8d60a1f18d6238
Java
giallon/couchbase-lite-java-common
/common/test/java/com/couchbase/lite/AuthenticatorTest.java
UTF-8
2,000
2.40625
2
[]
no_license
package com.couchbase.lite; import org.junit.Test; import static org.junit.Assert.assertEquals; public class AuthenticatorTest extends BaseTest { @Test public void testBasicAuthenticatorInstance() { String username = "someUsername"; String password = "somePassword"; BasicAuthenticat...
true
ad60da3498d54869aeba60d45853a3156ef5b9e5
Java
morristech/duiken
/src/nl/tjonahen/duiken/SurfaceTimeCommand.java
UTF-8
6,017
1.867188
2
[]
no_license
/* * Copyright (C) 2012 Philippe Tjon-A-Hen philippe@tjonahen.nl * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version....
true
dc8bfd28bf23c4500fecf945450392665164682a
Java
hawleymark8/SEU
/cosc1123_Java/HW7Driver.java
UTF-8
968
3.15625
3
[]
no_license
// test.java // demonstrate input tools. newline character import java.util.Scanner; import java.util.Date; import java.text.DateFormat; import java.text.SimpleDateFormat; public class HW7Driver { public static void main( String args[] ) { System.out.println("** Start of HW7 **"); String ladderSt...
true
bd825beade48471926bea9b37895bd2f8781df61
Java
mohammedgmgn/Online-Shopping-
/app/src/main/java/com/mahmoud/mohammed/onlineshopping/communication/FireConstants.java
UTF-8
775
1.523438
2
[]
no_license
package com.mahmoud.mohammed.onlineshopping.communication; /** * Created by mohammed on 30/11/2017. */ public class FireConstants { final public static String PRODUCTS_NODE = "Products"; final public static String USERS_NODE = "User"; final public static String OFFERS_CHILD = "Offers"; final public ...
true
4d4c23832f59f17603e941c21d1e7665df6c9ba1
Java
aterDex/homework-java
/hw06-reflection/src/main/java/ru/otus/homework/provoker/impl/ExecutorIntoSingleThread.java
UTF-8
4,771
2.40625
2
[]
no_license
package ru.otus.homework.provoker.impl; import ru.otus.homework.provoker.api.*; import java.util.ArrayList; import java.util.Collection; import java.util.List; import java.util.Optional; import java.util.stream.Collectors; import java.util.stream.Stream; public class ExecutorIntoSingleThread implements Executor { ...
true
aa4c96f3ba986403d71d46a18f18c458b26510d4
Java
imenk1986/scholar-mw
/hadrumaths/hadrumaths-java/src/main/java/net/vpc/scholar/hadrumaths/scalarproducts/formal/CosCosVsCosXPlusYProduct.java
UTF-8
8,682
2.71875
3
[]
no_license
package net.vpc.scholar.hadrumaths.scalarproducts.formal; import net.vpc.scholar.hadrumaths.Domain; import net.vpc.scholar.hadrumaths.symbolic.CosXCosY; import net.vpc.scholar.hadrumaths.symbolic.CosXPlusY; import net.vpc.scholar.hadrumaths.symbolic.DoubleToDouble; import static java.lang.Math.abs; import static java...
true
e9465a712620433a882c4eaf2de24c5f6c8ecf22
Java
AliAminian/HackerRank
/src/BinaryGap.java
UTF-8
4,736
4
4
[]
no_license
public class BinaryGap { /* A binary gap within a positive integer N is any maximal sequence of consecutive zeros that is surrounded by ones at both ends in the binary representation of N. For example, number 9 has binary representation 1001 and contains a binary gap of length 2. The number 529 has binary representat...
true
aaa18c788f2dccdb20251532edd4a0700df1b5f4
Java
KarlRixon/NUAA-computer-network
/多人聊天室/ChatRoom-master/src/main/java/com/lucky/bean/ChatMsg.java
UTF-8
667
2.375
2
[]
no_license
package com.lucky.bean; import java.util.Date; public class ChatMsg { private String user; private String msg; private Date date; public ChatMsg(String user, String msg, Date date) { this.user = user; this.msg = msg; this.date = date; } public String getUser() { ...
true
84814c06ac4349e9d4908b8f4047a50b327c57a5
Java
ivangy/ED
/NetBeans/3-Trimestre-ExamenAlcatriz/src/Modelo/Equipo.java
UTF-8
1,797
2.796875
3
[]
no_license
/* * 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 Modelo; /** * * @author Juanfran */ public class Equipo { protected String cod; protected String ubicacion; pr...
true
cc9baa34d36c2af43ef4c80b64bfe2bcb2cbd66c
Java
soumadri/j2xq
/j2xq/src/com/j2xq/util/XMLUtils.java
UTF-8
1,891
2.640625
3
[ "MIT" ]
permissive
package com.j2xq.util; import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.StringWriter; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.DocumentBuilderFactory; import javax.xml.parsers.ParserConfigurationException; import javax.xml.transform.OutputKeys; import...
true
87d5ccbb2d750742c033df3e98feff9001a081c7
Java
CN-guoxi/p2p_pay_adapter
/p2p_api_service/src/main/java/com/qd/p2p/adapter/Adapted.java
UTF-8
592
2.015625
2
[]
no_license
package com.qd.p2p.adapter; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; import java.lang.annotation.Inherited; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; @Target(value = {ElementType.TYPE, ElementType.MET...
true
0224444653ade17457f4a9b56457b0b81a0f722a
Java
f3226912/gd
/gd-api-intf/src/main/java/com/gudeng/commerce/gd/api/dto/output/OrderProductDTO.java
UTF-8
2,674
2.265625
2
[]
no_license
package com.gudeng.commerce.gd.api.dto.output; public class OrderProductDTO { /** 订单号 */ private Long orderNo; /** 产品id */ private Integer productId; /** 产品名 */ private String productName; /** 产品购买数量 */ private Double purQuantity; /** 产品单位*/ private String unitName; /** 产品...
true
bd22bddf54cb310ab64812f4b9dfb5184e76c90c
Java
DarkDomain/UDPLib
/src/main/java/team/unstudio/udpl/ui/UIFactory.java
UTF-8
602
2.4375
2
[ "Apache-2.0" ]
permissive
package team.unstudio.udpl.ui; import org.bukkit.Bukkit; import org.bukkit.event.inventory.InventoryType; /** * 界面的工厂类 * @author AAA * */ public class UIFactory { /** * 创建一个UI * @param size * @param title * @return */ public static UI createUI(int size,String title){ return new U...
true
4f9baedb1e9d67cc2850507c58b4214f2041d32a
Java
arnavahire/LeetcodeProjects
/LeetCode/src/DesignTicTacToe.java
UTF-8
2,032
3.84375
4
[]
no_license
/* PROBLEM STATEMENT: Design Tic Tac Toe Sample input: [ [3], // this is the size of n X n tic tac toe [0,0,1],[0,2,2],[2,2,1],[1,1,2],[2,0,1],[1,0,2],[2,1,1] // these are the parameters to game function [rowIndex, columnIndex, player1/player2] ] Output: [null,0,0,0,0,0,0,1] */ public class DesignTicTac...
true
91e69160ebce02e937d25d1f69c4955af78a0a94
Java
moohana/testcases
/src/test/com.stackroute.PE2/StudentDataTest.java
UTF-8
1,300
2.765625
3
[]
no_license
package com.stackroute.PE2; import org.junit.AfterClass; import org.junit.BeforeClass; import org.junit.Test; import static org.junit.Assert.*; public class StudentDataTest { private static StudentData studentData; @BeforeClass public static void setup() { // This methods runs, before running any...
true
d163adf193b08426d2d7c0999292fbcca724c346
Java
telvart/Java-Data-Structures
/BinarySearchTree/BinarySearchTree.java
UTF-8
4,992
3.21875
3
[]
no_license
//NOTE: For some reason, BinarySearchTree<T> was not allowed on EECS machines, LOL // I just want to template this :( public class BinarySearchTree { public class Node{ Node m_left; Node m_right; int m_value; Node(int val){ m_left = m_right = null; m_value = val; } } /* * Member Variables */...
true
5b129174d9b20037a09c73390b8fdcbad0275d98
Java
openmind-kr/gs-spring-hateos-restdoc-security
/src/test/java/kr/openmind/restapi/product/ProductTest.java
UTF-8
1,306
2.4375
2
[]
no_license
package kr.openmind.restapi.product; import kr.openmind.restapi.testsupport.StableProduct; import org.junit.Test; import java.time.ZonedDateTime; import static org.assertj.core.api.Assertions.assertThat; public class ProductTest { @Test public void constructor() { String name = "openmind"; ...
true
7d82910ec6f1fb77ba4ccbcb4a9ab5b42c00b0d7
Java
shangmengqi/buptsse2015
/GraEditor.Utils/src/graeditor/utils/DiagramUtil.java
UTF-8
5,781
2.09375
2
[]
no_license
package graeditor.utils; import java.util.ArrayList; import java.util.Collection; import java.util.List; import javax.swing.JOptionPane; import org.eclipse.core.resources.IContainer; import org.eclipse.core.resources.IFile; import org.eclipse.core.resources.IProject; import org.eclipse.core.resources.IResource; impor...
true
1388cf794b7691a9f705b8113a445010a245e47a
Java
katkavokrinkova/Community-App_Android_Final
/app/src/main/java/net/impacthub/app/model/features/conversations/Conversations.java
UTF-8
796
1.664063
2
[]
no_license
/* * Copyright (c) 2017 Lightful. All Rights Reserved. * * Save to the extent permitted by law, you may not use, copy, modify, * distribute or create derivative works of this material or any part * of it without the prior written consent of Lightful. * * The above copyright notice and this permission notice sha...
true
9e7f84301b4532e8a94f2dd7ef36754a91fbb281
Java
chuctranbk/Rocket_12
/Java/AssignmentJava/TestingSystem_Assignment_2/src/RandomNumber.java
UTF-8
1,121
3.59375
4
[]
no_license
import java.time.LocalDate; import java.util.Random; public class RandomNumber { public static void main(String[] args) { // Q1 Random random = new Random(); int x = random.nextInt(); System.out.println(x); // Q2 float y = random.nextFloat(); System.out.println...
true
a42c76465a19556ce03e8787dd38c9dd8b0f197c
Java
andyhq04/oursim-ext
/src/br/edu/ufcg/lsd/oursim/events/EventSpec.java
UTF-8
521
2.515625
3
[]
no_license
package br.edu.ufcg.lsd.oursim.events; public class EventSpec { private final String type; private final long time; private final Object[] params; /** * @param type * @param time * @param params */ public EventSpec(String type, long time, Object... params) { this.type = type; this.ti...
true
8021670a0ee1a404aa8f8560bee3512c8db82b23
Java
zepheris/SGCraft-1.5.2
/gcewing/sg/BaseNBTChannel.java
UTF-8
3,073
2.390625
2
[]
no_license
//------------------------------------------------------------------------------------------------ // // Mod Base - NBT Networking // //------------------------------------------------------------------------------------------------ package gcewing.sg; import java.io.*; import net.minecraft.entity.player.*; import...
true
e13dbd6f8acc7085c8e7c858236c973034569957
Java
BaoBaoJianqiang/Min18Fragment3
/Plugin1/src/main/java/jianqiang/com/plugin1/Fragment2.java
UTF-8
1,106
2.28125
2
[ "MIT" ]
permissive
package jianqiang.com.plugin1; import android.app.Fragment; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; import com.example.jianqiang.mypluginlibrary.BaseFragment; import com.example.jianqiang.mypluginlibrary.ICa...
true
8c2060218df43e06d73ae0a83c98905d93e7b9b8
Java
androidheng/tourmanager
/src/main/java/com/tourmanager/mapper/TbFeedbackMapper.java
UTF-8
922
1.78125
2
[]
no_license
package com.tourmanager.mapper; import com.tourmanager.pojo.TbFeedback; import com.tourmanager.pojo.TbFeedbackExample; import java.util.List; import org.apache.ibatis.annotations.Param; public interface TbFeedbackMapper { int countByExample(TbFeedbackExample example); int deleteByExample(TbFeedback...
true
7474eb4a91f8e5519ce7a8c123ce4e9f62720fa1
Java
dingfangwen/taisf
/taisf-service/src/main/java/com/taisf/services/enterprise/dto/EnterprisePageRequest.java
UTF-8
1,153
1.851563
2
[]
no_license
package com.taisf.services.enterprise.dto; import com.jk.framework.base.page.PageRequest; /** * <p>企业编号</p> * <p/> * <PRE> * <BR> 修改记录 * <BR>----------------------------------------------- * <BR> 修改日期 修改人 修改内容 * </PRE> * * @author afi on on 2017/10/14. * @version 1.0 * @since 1.0 */ public class Enter...
true
56ff48e228f418ed0665921fc407b09a221fd53b
Java
resmiar/CashControlAutomation
/src/Pages/Maintenance/PLUsPage.java
UTF-8
12,424
2.0625
2
[]
no_license
package Pages.Maintenance; import java.util.concurrent.TimeUnit; import org.openqa.selenium.By; import org.openqa.selenium.Keys; import org.openqa.selenium.WebElement; import org.openqa.selenium.interactions.Actions; import org.openqa.selenium.support.ui.ExpectedConditions; import org.openqa.selenium.support.u...
true
c33d2bff30f3bfde1a514acf42dc5ad364f3de2c
Java
fatur1204/MovieCatalog-repo
/app/src/main/java/com/fathur/moviecatalog/ui/movies/MovieFragment.java
UTF-8
3,686
2.1875
2
[]
no_license
package com.fathur.moviecatalog.ui.movies; import android.os.Bundle; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Toast; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import androidx.fragment.app....
true
6d0ffc1952e008af334d6efa72ff54956e718520
Java
RemeoJenius/OA
/springmvcssm/src/main/java/com/jenius/web/service/WorkflowService.java
UTF-8
1,756
1.710938
2
[]
no_license
package com.jenius.web.service; import com.jenius.web.meta.Person; import com.jenius.web.meta.workflow.LeaveBill; import com.jenius.web.meta.workflow.Rect; import org.activiti.engine.impl.pvm.process.ActivityImpl; import org.activiti.engine.repository.ProcessDefinition; import org.activiti.engine.runtime.ProcessInstan...
true
d53e9e415028ac7041f2157410476bea6c004a39
Java
my1free/qijin-tech-incubator
/social/src/main/java/tech/qijin/incubator/social/db/model/SocialGroup.java
UTF-8
1,874
1.992188
2
[]
no_license
package tech.qijin.incubator.social.db.model; import java.util.Date; import tech.qijin.util4j.trace.pojo.Channel; public class SocialGroup { private Long id; private Channel channel; private String name; private Long creator; private String logoSmall; private String logoBig; private ...
true
72b9767dc78bd535287f3b381ec4d7a78d70c10f
Java
12313kaihuang/ArithmeticCode
/Leetcode/code/Solution1846_1.java
UTF-8
4,293
4.1875
4
[ "Apache-2.0" ]
permissive
package Leetcode.code; /** * 1846. 减小和重新排列数组后的最大元素 * <p> * 给你一个正整数数组arr。请你对 arr执行一些操作(也可以不进行任何操作),使得数组满足以下条件: * <p> * arr中 第一个元素必须为1。 * 任意相邻两个元素的差的绝对值 小于等于1,也就是说,对于任意的 1 <= i < arr.length(数组下标从 0 开始), * 都满足abs(arr[i] - arr[i - 1]) <= 1。abs(x)为x的绝对值。 * 你可以执行以下 2 种操作任意次: * 减小 arr中任意元素的值,使其变为一个 更小的正整数。 * 重新排列a...
true
4164785a5105a540052665cdb6072128179197db
Java
JetBrains/intellij-community
/plugins/svn4idea/src/org/jetbrains/idea/svn/diff/DiffOptions.java
UTF-8
1,318
1.953125
2
[ "Apache-2.0" ]
permissive
/* * Copyright 2000-2014 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...
true
e386ce9b40c530dd84e760452a5639b942effd78
Java
sengeiou/birt_eclipse
/mes_plan/mes-plan-service/src/main/java/com/bmsmart/mes/plan/service/MesPlanShiftDetService.java
UTF-8
1,865
1.679688
2
[]
no_license
/** * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved. */ package com.bmsmart.mes.plan.service; import java.util.List; import java.util.Map; import com.github.pagehelper.PageInfo; import com.bmsmart.mes.plan.domain.po.MesPlanDevice; import com.bmsmart.mes.pla...
true
2a16bff905dac6fbda834d323f79eab59cd4782d
Java
jprieto96/UCM_Componentes
/UCMComponentes-codigo/src/presentacion/command/empleado/CommandListarEmpleados.java
UTF-8
763
2.25
2
[]
no_license
/** * */ package presentacion.command.empleado; import java.util.List; import negocio.empleado.SAEmpleado; import negocio.empleado.TEmpleado; import negocio.factoria.FactoriaNegocio; import presentacion.command.Command; import presentacion.command.CommandEnum; import presentacion.command.Context; public class Com...
true
745bff1771c1a2b8a5afd8fbe4625f75a68615a2
Java
marcelohd/android-mvp-clean-architecture
/presenter/src/main/java/com/github/rodrigohenriques/mvp/sample/presenter/EpisodesPresenterImpl.java
UTF-8
4,244
2.453125
2
[]
no_license
package com.github.rodrigohenriques.mvp.sample.presenter; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import com.github.rodrigohenriques.mvp.sample.domain.entities.Episode; import com.github.rodrigohenriques.mvp.sample.domain.entities.Season; import com.github.rodrigohenriqu...
true
de330362003beaa1787ff287401ca31a15d10a85
Java
kanujgit/MiscTuts
/java/datastructure/stack/PalindromeStringWithSpacialChar.java
UTF-8
1,859
4.4375
4
[]
no_license
package com.kdroid.kotlintuts.java.datastructure.stack; import java.util.Stack; /** * Problem: Given an array of characters formed with a’s and b’s. The string is marked with * special character X which represents the middle of the list (for example: ababa...ababXbabab baaa). * Check whether the string is palindro...
true
ae749a8ec72d3443cbbe1bcc3b47eea7b1eeed41
Java
jitinder/Android-Projects
/2 Score Keeper App/app/src/main/java/com/example/android/scoreboardappproject/MainActivity.java
UTF-8
2,300
2.546875
3
[]
no_license
package com.example.android.scoreboardappproject; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.TextView; public class MainActivity extends AppCompatActivity { int engRuns = 0; int engWickets = 0; int ausRuns = 0; int ausWic...
true
d57bcbebc55a4ab2486f3457a87c622c0d663af9
Java
shubham2902/JCLASS
/Bank/src/improvedBank/Account.java
UTF-8
464
3.34375
3
[]
no_license
package improvedBank; public abstract class Account { public String accountType; public String owner; public int balance; public int deposit(int amount) { return balance += amount; } public int withdraw(int amount) { return balance -= amount; } public String toString...
true
7372c6d03b5b666f2f16458b5f1088171ebfe1f5
Java
MathSquared/ResultsWizard2
/ResultsWizard2/test/mathsquared/resultswizard2/WaitForConnectionFrameTest.java
UTF-8
430
1.804688
2
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
/** * */ package mathsquared.resultswizard2; import org.junit.Test; /** * @author MathSquared * */ public class WaitForConnectionFrameTest { /** * Test method for {@link mathsquared.resultswizard2.WaitForConnectionFrame#WaitForConnectionFrame()}. */ @Test public void testWaitForConnectio...
true
79675e0864d633b56ced24afd85e459d70162749
Java
seoeun25/schema-registry
/repo/src/main/java/com/seoeun/server/RepoContext.java
UTF-8
1,624
2.453125
2
[]
no_license
package com.seoeun.server; import com.google.common.annotations.VisibleForTesting; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.util.Properties; public class RepoContext { private static final String SITE_XM...
true
42a48d530c99297ae56cde37dea0d8a38d93f3ef
Java
isudana/carbon-identity
/components/identity/org.wso2.carbon.identity.authorization.core/src/main/java/org/wso2/carbon/identity/authorization/core/dao/PermissionDAO.java
UTF-8
6,102
1.679688
2
[ "Apache-2.0" ]
permissive
/* * Copyright (c) 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/licens...
true
1db8de4125148aa9804bc6c5346d9639f284131b
Java
sunzl/project
/test-mq/src/main/java/com/nami/event/Source.java
UTF-8
284
1.757813
2
[]
no_license
package com.nami.event; import java.util.EventObject; public class Source extends EventObject{ /** * */ private static final long serialVersionUID = 1L; public Source(Object source) { super(source); // TODO Auto-generated constructor stub } }
true
4ce925664f8d279cb2946e7bc70fffdf9e705eeb
Java
dingpuyu/MLN
/MLN-Android/mlnservics/src/main/java/com/immomo/mls/MLSReloadButtonGenerator.java
UTF-8
9,907
1.890625
2
[ "MIT" ]
permissive
/** * Created by MomoLuaNative. * Copyright (c) 2019, Momo Group. All rights reserved. * * This source code is licensed under the MIT. * For the full copyright and license information,please view the LICENSE file in the root directory of this source tree. */ package com.immomo.mls; import android.content.C...
true
a0c94861cbed34c966210bf84b764162e66bb28d
Java
fixITHackaton/Stargardo-host
/src/main/java/pl/fixit/starogardo/host/company/SubCategories.java
UTF-8
555
2.03125
2
[]
no_license
package pl.fixit.starogardo.host.company; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; import javax.persistence.*; @Data @Builder @AllArgsConstructor @NoArgsConstructor @Entity @Table(name = "SUB_CATEGORIES") public class SubCategories { @Id @...
true
df9227d5eadcf205ec18de23ac77880caf0b08ba
Java
wartyduke375626/ptsDu1Vita
/src/main/gameManagement/GameInterface.java
UTF-8
299
2.34375
2
[]
no_license
package gameManagement; import gameComponents.GameCardType; public interface GameInterface { public boolean playCard(int handIndex); public boolean endPlayCardPhase(); public boolean buyCard(GameCardType gameCardType); public boolean endTurn(); public boolean isGameOver(); }
true
2f071bbebccebb114a7a8f85e9db328e91373936
Java
ChinaZer01ne/utils
/src/main/java/com/github/design/Null/CustomerFactory.java
UTF-8
474
2.9375
3
[]
no_license
package com.github.design.Null; /** * @author Zer01ne * @version 1.0 * @date 2019/7/16 16:15 */ public class CustomerFactory { public static final String[] names = {"Rob", "Joe", "Julie"}; public static AbstractCustomer getCustomer(String name){ for (int i = 0; i < names.length; i++) { ...
true
81746a406c3cabdb9b3b3dc5d9c9f878cf11ba6f
Java
VinayaMastek/BankingAccelerator
/workspace/mycepjar/src/main/java/com/mastek/event/AccountClosed.java
UTF-8
1,791
2.3125
2
[]
no_license
package com.mastek.event; public class AccountClosed { String CustomerId; String AccountNumber; String ClosingDt; String Reason; String Location; String AccountType; String Prepaid; public AccountClosed() { super(); } public AccountClosed(String customerId, String accountNumber, String closingDt, Str...
true
c1e0dde5d6e0fbdfacfe201e68caa641b8d81f55
Java
holysoros/iDong
/client/src/com/jbcb/idong/FragmentSuggest.java
UTF-8
787
2.09375
2
[]
no_license
package com.jbcb.idong; import android.content.Context; import android.os.Bundle; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; /** * @ClassName FragmentMine.java * @author Clame * */ public class FragmentSuggest extends Fragm...
true
0a9c1acdd6bcc6d79f740f5b2b8818c6208d1bd1
Java
Perococco/aoc2020
/perococco.aoc.common/src/main/java/perococco/aoc/common/ArrayOfChar.java
UTF-8
3,175
2.921875
3
[ "MIT" ]
permissive
package perococco.aoc.common; import com.google.common.collect.ImmutableList; import lombok.NonNull; import java.util.Arrays; import java.util.function.IntUnaryOperator; import java.util.stream.Collector; /** * @author perococco **/ public interface ArrayOfChar extends Array, ArrayOfCharReader{ static @NonNul...
true
3851ce97e0158c6ad2495cfad71e88b379146f9d
Java
SSabev/Java-stuff
/NoughtsAndCrosses.java
UTF-8
3,786
2.765625
3
[]
no_license
public class NoughtsAndCrosses { int[][] plboard = new int[3][3]; public NoughtsAndCrosses(int[][] board) { for (int i = 0; i < 3; i++) { for (int j = 0; j < 3; j++) { plboard[i][j] = board[i][j]; } } } public boolean isDraw() { if (!(plboard[0][0] == plboard[0][1] && plboard[0][1] == plb...
true
aa1b137851cd4d9f8ee6271ce784c3469cd14926
Java
rucky2013/trilemon-boss-infra
/base-client/src/main/java/com/trilemon/boss/infra/base/BaseUtils.java
UTF-8
3,331
2.484375
2
[]
no_license
package com.trilemon.boss.infra.base; import com.google.common.base.Splitter; import com.google.common.collect.Lists; import com.trilemon.boss.infra.base.model.dto.SignIn; import org.apache.http.NameValuePair; import org.apache.http.client.utils.URIBuilder; import org.apache.http.message.BasicNameValuePair; import ja...
true
582510848a2a0757dd306cace70e6de53e50b700
Java
yindanqing925/demo-parent
/jd-demo/src/main/java/org/nh/jd/demo/algo/daily10/StockSpanner.java
UTF-8
1,051
3.25
3
[]
no_license
package org.nh.jd.demo.algo.daily10; import java.util.ArrayDeque; import java.util.Deque; /** * 901. 股票价格跨度 * * @author yindanqing1 * @version 1.0 * @date 2022/10/21 8:47 */ public class StockSpanner { /* //暴力破解 private List<Integer> list =new ArrayList<>(); public StockSpanner() { } publ...
true
f09375e09480422b5231bab54a803170fd47884f
Java
zbl704/NSMPlayer-Android
/app/src/main/java/com/vmovier/player/recycler/BasicViewRecyclerActivity.java
UTF-8
6,770
1.976563
2
[ "MIT" ]
permissive
package com.vmovier.player.recycler; import android.graphics.Color; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import android.view.Gravity; import android.view.View; import android.view....
true
d85ade416adbb757fd2cd2786f8683c59148dc2f
Java
arvinthrak/com.nianticlabs.pokemongo
/src/com/google/android/gms/internal/zzle.java
UTF-8
788
1.757813
2
[]
no_license
package com.google.android.gms.internal; import com.google.android.gms.common.api.Releasable; import com.google.android.gms.common.api.Result; import com.google.android.gms.common.api.Status; import com.google.android.gms.common.data.DataHolder; public abstract class zzle implements Releasable, Result { protected...
true
31fcd9af7e5b00a819f4c6993722e0aee2f49717
Java
wulee510505/CircleMenu
/library/src/main/java/com/imangazaliev/circlemenu/MenuButtonPoint.java
UTF-8
264
2.375
2
[ "MIT" ]
permissive
package com.imangazaliev.circlemenu; public class MenuButtonPoint { public int x; public int y; public float angle; public MenuButtonPoint(int x, int y, float angle) { this.x = x; this.y = y; this.angle = angle; } }
true