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
890b511f6c29f0858cf740a98d29f36bea3873ce
Java
yejfgit/project
/survey/trunk/src/survey/src/com/survey/web/action/UserAction.java
UTF-8
7,572
1.976563
2
[]
no_license
package com.survey.web.action; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import java.util.Map; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.apache.struts.action.ActionForm; import org.apache.str...
true
43049dd13dfae56fadba2ae8c8e4876fd4f1dea2
Java
bumblebee34/SmartDairy-Application
/app/src/main/java/com/example/smartdairy/Profile.java
UTF-8
4,716
2.15625
2
[]
no_license
package com.example.smartdairy; import androidx.appcompat.app.AppCompatActivity; import androidx.swiperefreshlayout.widget.SwipeRefreshLayout; import android.content.Intent; import android.os.Bundle; import android.os.Handler; import android.util.Log; import android.view.View; import android.widget.Button; import and...
true
26c50d451aad88ec576f5b6d0d9be07c28fbae52
Java
mib00038/java-and-sql-software-engineer-test
/src/SmartStreamViewManager.java
UTF-8
2,100
3.0625
3
[]
no_license
import java.sql.ResultSet; import java.sql.SQLException; public class SmartStreamViewManager { SmartStreamSqlCommandManager sqlCommandManager; SmartStreamViewManager(SmartStreamSqlCommandManager sqlCommandManager){ this.sqlCommandManager = sqlCommandManager; } protected void printPersonsWithAt...
true
dfc461b262504efb9160d39680d8be889d619b87
Java
emirPuskaITAkademija/CetvrtiJavaProjekat
/CetvrtiJavaProjekat/src/nine/inner/OuterKlasa.java
UTF-8
305
2.953125
3
[]
no_license
package nine.inner; public class OuterKlasa { //1. Polja(static vs instance) //2. konstruktor //3. funkcije(static vs instance) //4. inner ili nested klase(static vs instance) static class StaticNestedKlasa { } class InnerKlasa{ } }
true
7acadb3e6e466c1e1228def4040642042a738720
Java
BadRobots1014/BadRobot2019
/src/main/java/frc/robot/commands/DetachHatch.java
UTF-8
530
2.296875
2
[]
no_license
package frc.robot.commands; import frc.robot.Robot; public class DetachHatch extends RotateGrabberCW { private boolean hasPassedLimitSwitch; @Override protected void initialize() { hasPassedLimitSwitch = false; } @Override protected void execute() { if (!Robot.grabber...
true
9a7757e731344ef34710123d5205c7d388986ab3
Java
thaliaarchi/Text-RPG
/src/tepigmc/textrpg/entity/Player.java
UTF-8
596
3.21875
3
[]
no_license
package tepigmc.textrpg.entity; import tepigmc.textrpg.world.Coordinates; public class Player extends Entity { /** * Creates a Player with given coordinates and icon * @param coordinates the position of the Player * @param icon the char used to display this Player in the UI */ public Player(Coordinate...
true
cbf2bfb1712bf9703de0c0d9f4f03960cd0e546c
Java
ieperen3039/BlockTanksGame
/src/NG/Rendering/Textures/GenericTextures.java
UTF-8
1,119
2.421875
2
[]
no_license
package NG.Rendering.Textures; import NG.Tools.Directory; import NG.Tools.Logger; import java.io.File; import java.io.IOException; import static org.lwjgl.opengl.GL11.*; /** * @author Geert van Ieperen created on 1-2-2019. */ public enum GenericTextures implements Texture2D { CHECKER("..", "check.png"), ;...
true
bb339fe87e080a8dcfb0ff5cd555e05988adef27
Java
zahidhussain31/Projects
/Arrays - Section 13/src/com/Array/List/StudentArraylistRunner.java
UTF-8
926
3.21875
3
[]
no_license
package com.Array.List; import java.math.BigDecimal; public class StudentArraylistRunner { public static void main(String[] args) { StudentArrayList studentAL = new StudentArrayList("Zahid" , 97, 99, 100); int number = studentAL.getNumberOfMarks(); System.out.println("Number of marks : "+ number)...
true
e2ef4d5203a07fd71e59e530d5b7e3d856c9c20f
Java
jsvillar/EPQ
/src/gov/nist/microanalysis/EPQLibrary/ExtremumSpectrum.java
UTF-8
9,101
2.625
3
[]
no_license
package gov.nist.microanalysis.EPQLibrary; import java.io.IOException; import java.io.Writer; import java.util.Arrays; import java.util.Iterator; /** * <p> * A utility class for computing Bright's MaxPixel spectrum. This class computes * both a standard MaxPixel and a normalized MaxPixel spectrum as well as * Min...
true
cae92a5b0cfd1bfd7cdf9b08c817f1441c02f7ef
Java
umeshadsule/ST_System
/InheritanceExample/src/com/nt/constructor2/A.java
UTF-8
106
1.554688
2
[]
no_license
package com.nt.constructor2; public class A { public A(){ } public A(int a){} }
true
15ad459d9dc0d949fd4bd3816195071aa428f865
Java
TanQiHan/lab3.2
/app/src/main/java/my/edu/tarc/lab32/MainActivity.java
UTF-8
4,005
2.421875
2
[]
no_license
package my.edu.tarc.lab32; import android.icu.text.NumberFormat; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.Adapter; import android.widget.AdapterView; import android.widget.ArrayAdapter; import android.widget.CheckBox; import android.widg...
true
93e96445fd4e14bbb57583af94d17346d3693aa2
Java
philz-stizles/mollysclub
/mollysclub-server/src/main/java/com/devdezyn/mollysclub/auth/dtos/LoginDto.java
UTF-8
402
2.109375
2
[]
no_license
package com.devdezyn.mollysclub.auth.dtos; import javax.validation.constraints.*; import com.fasterxml.jackson.annotation.JsonProperty; import lombok.*; @Getter @AllArgsConstructor @EqualsAndHashCode @ToString @Builder public class LoginDto { @JsonProperty("email") @NotBlank private String username...
true
96a94ff529d82fc9451204e0dc09ab5793d4346b
Java
jpaw/fixedpoint
/fixedpoint-core/src/test/java/de/jpaw/fixedpoint/tests/TestJavaRoundingExamples.java
UTF-8
3,786
2.859375
3
[ "Apache-2.0" ]
permissive
package de.jpaw.fixedpoint.tests; import java.math.RoundingMode; import org.testng.Assert; import org.testng.annotations.Test; import de.jpaw.fixedpoint.FixedPointBase; import de.jpaw.fixedpoint.FixedPointNative; // test the the examples listed in the Javadoc: http://docs.oracle.com/javase/7/docs/api/java/math/Roun...
true
0a1e595e7dd7133b5dbe1305109c3834c08d0118
Java
mgarcia707/Hack-UCSC-2017
/MyCloset/app/src/main/java/com/example/micha/mycloset/ImageActivity.java
UTF-8
5,173
2
2
[]
no_license
package com.example.micha.mycloset; import android.media.Image; import android.net.Uri; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.util.Log; import android.widget.Button; import android.widget.EditText; import android.widget.ImageView; import com.google.firebase.databas...
true
c368519d402cb04362b3a50e9a2b1a06be600fa1
Java
yh-Sun/MicroService-kscd
/leetcode/src/main/java/com/sun/leetcode/Longest_Repeating_Characters/Solution.java
UTF-8
813
3.4375
3
[]
no_license
package com.sun.leetcode.Longest_Repeating_Characters; import java.util.HashSet; import java.util.Set; class Solution { public static void main(String[] args) { int count = new Solution().longestRepeatingCharacters("pwwkew"); } /** * Sun */ public int longestRepeating...
true
32aa3b6219b5d3450de326421a0c399c69475c86
Java
wisekingokok/cdd
/CDDang/app/src/main/java/com/chewuwuyou/app/transition_adapter/BancCardListAdapter.java
UTF-8
1,769
2.359375
2
[]
no_license
package com.chewuwuyou.app.transition_adapter; import android.content.Context; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; import com.chewuwuyou.app.R; import butterknife.BindView; import b...
true
0ec240ca474edcb7cdd0e40bcff1805ffbfd5022
Java
rgocal/FluentPopupMenu
/FluentPopupMenu/src/main/java/com/GocalSD/fluentPopupMenu/InterTextView.java
UTF-8
1,257
2.25
2
[]
no_license
package com.GocalSD.fluentPopupMenu; import android.content.Context; import android.graphics.Rect; import android.graphics.Typeface; import android.util.AttributeSet; import com.google.android.material.textview.MaterialTextView; public class InterTextView extends MaterialTextView { public InterTextView(Context ...
true
eaa4eb9fd0dc939db44b6ab640103be530e4312c
Java
dtbinh/IA54---Boids
/src/fr/utbm/ia54/madkit/boids/organization/Boid.java
UTF-8
12,521
2.546875
3
[]
no_license
package fr.utbm.ia54.madkit.boids.organization; import java.util.Collection; import java.util.Map; import madkit.kernel.AbstractAgent; import madkit.kernel.AgentAddress; import madkit.kernel.Message; import madkit.kernel.ReferenceableAgent; import fr.utbm.ia54.madkit.boids.Population; import fr.utbm.ia54.madkit.boid...
true
0b67adc52bdd788ea8915f78819789942610ffe2
Java
UPIC/sutuo
/upic-web-lucene/src/main/java/com/upic/utils/ParseDataManger.java
UTF-8
3,774
2.34375
2
[]
no_license
package com.upic.utils; import java.util.Arrays; import java.util.List; import java.util.Map; import org.apache.lucene.search.BooleanClause; import org.apache.lucene.search.BooleanClause.Occur; import com.upic.common.entity.CenterSearch; import com.upic.common.entity.SearchPo; import com.upic.lucene.emuns.SearchType...
true
6e9d664f1c83033b562a94e45b781a2b83986fa5
Java
wnupp/javaRespository
/CardPile.java
UTF-8
1,603
4.09375
4
[]
no_license
//Bill Nupp //Cs 110 //CardPile Class //CardPile - holds a "pile" of Cards and has methods to access them import java.util.*; public class CardPile extends Deck { //data - uses an ArrayList of Cards to actually store them private ArrayList<Card> pile; //constructor - creates the ArrayList that will be used publ...
true
2e34e0570a1a30abf84be970dace980cf2c746b9
Java
arnaudgeiser/ddd-uni
/src/main/java/ch/arnaudgeiser/domain/Resultat.java
UTF-8
204
1.640625
2
[]
no_license
package ch.arnaudgeiser.domain; import ch.arnaudgeiser.tags.ValueObject; import lombok.Value; @ValueObject @Value public class Resultat { private final CodeUE codeUE; private final Note note; }
true
7d6bfd8dad3bc9ae6ba05c59d9fbc4e73b03b635
Java
jorgediz/opengoss
/opencore/library/web/org.opengoss.web.lib/freemarker/freemarker/debug/DebugModel.java
UTF-8
5,878
1.554688
2
[]
no_license
/* * Copyright (c) 2003 The Visigoth Software Society. 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 * ...
true
909653eddc7e56b6515f69603aa442600b5d07c8
Java
MBtech/gpa-flink
/src/main/java/org/apache/flink/graph/streaming/partitioner/edgepartitioners/HashEdges.java
UTF-8
4,065
2.59375
3
[ "Apache-2.0" ]
permissive
package org.apache.flink.graph.streaming.partitioner.edgepartitioners; import org.apache.flink.api.common.JobExecutionResult; import org.apache.flink.api.common.functions.MapFunction; import org.apache.flink.api.common.functions.Partitioner; import org.apache.flink.core.fs.FileSystem; import org.apache.flink.graph.Edg...
true
899091f1d5c7133b4eb6be47d2c7bd417966072b
Java
eduardoschmidtsantos/csvquery
/src/test/java/common/CsvReaderTest.java
UTF-8
760
2.5
2
[]
no_license
package common; import exception.CantReadException; import org.junit.jupiter.api.Test; import java.util.List; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.fail; public class CsvReaderTest { @Test public void testCsvReaderWhenFileAreValidReturnD...
true
2947ec4fada90dd2a724b6eaacf69670fba83f20
Java
Relativiteit/OCA
/src/main/java/chapter4/DesigningMethods.java
UTF-8
921
3.78125
4
[]
no_license
/** * @author Alejo Cain * @Date 22-09-2021 time: 01:09 */ public class DesigningMethods { String name; int age; // constructor public static String DesigningMethods(){ String name = "GOofy"; String designName = name; return designName; } // Methods p...
true
a0a1b6ae60016782eb6c268e4a607f8410cc8d25
Java
catheneos/Vending-Machine
/src/main/java/com/techelevator/Log.java
UTF-8
837
2.90625
3
[]
no_license
package com.techelevator; import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.PrintWriter; import java.time.LocalDateTime; import java.time.format.DateTimeFormatter; public class Log { private File file; private PrintWriter logTracking; DateTimeFormatter date...
true
4b11e092a42bc6d7d83d78d607c7c84c98355ef9
Java
marcelofsa/far-owl
/ModelFarowl/src/model/Comentario.java
UTF-8
3,389
2.671875
3
[]
no_license
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package model; import Exceptions.CaracteresInvalidosException; import java.io.File; /** * * @author CasaPc */ public class Comentario { private String Texto; private File foto; private ...
true
c175b6f117ead0453c1efebb8e3d8144d67d710d
Java
ayush04/court-vision
/src/com/cv/game/GameData.java
UTF-8
2,429
2.71875
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 com.cv.game; /** * * @author ayush */ public class GameData { private long gameId; private long startTime; priv...
true
4e65e607f383bc415c066d0130cedb473f609e04
Java
cha63506/CompSecurity
/wellfargo/src/com/visa/cbp/external/aam/ReplenishAckRequest.java
UTF-8
6,483
1.773438
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.visa.cbp.external.aam; import com.visa.cbp.external.common.EnvInfo; import com.visa.cbp.external.common.TokenInfo; import java.lang....
true
9098d0b10e68f6031e8c0a820c0bda1aac21ef37
Java
javiertmezac/catalog-counts
/cc-service-mybatis-dynamic-sql/src/main/java/com/jtmc/apps/reforma/repository/mapper/PersonaDetailsMapper.java
UTF-8
11,586
1.757813
2
[]
no_license
package com.jtmc.apps.reforma.repository.mapper; import static com.jtmc.apps.reforma.repository.mapper.PersonaDetailsDynamicSqlSupport.*; import static org.mybatis.dynamic.sql.SqlBuilder.*; import com.jtmc.apps.reforma.domain.PersonaDetails; import java.util.Collection; import java.util.List; import java.util.Optiona...
true
e3f70dc19c535e99642e49363ff4a6ba33c7f9b3
Java
BurningBright/algorithms-fourth-edition
/src/class0402/DirectedEulerianCycle.java
UTF-8
2,594
3.296875
3
[]
no_license
package class0402; import java.util.Iterator; import class0401.BreadthFirstPathsDistTo; import class0401.Graph; import rlgs4.Stack; import stdlib.In; import stdlib.StdOut; /** * @Description 4.2.20 * 有向欧拉环 * @author Leon * @date 2017-12-11 13:40:00 */ public class DirectedEulerianCycle { priva...
true
6be5b49abbdf4d04a517730b77a4f619eba6cd71
Java
javila2206/ejercicio-tecnico
/src/test/java/com/belatrixsf/util/ConfigPropertiesTest.java
UTF-8
846
2.171875
2
[]
no_license
/** * */ package com.belatrixsf.util; import org.junit.Assert; import org.junit.Before; import org.junit.Test; public class ConfigPropertiesTest { ConfigProperties c = null; @Before public void setup() { ConfigProperties.init(); c = ConfigProperties.getInstance(); } @Test public void getUserName() { ...
true
ce72e80f0c04da812d76c0bd31d1ab71fa33d666
Java
renarj/homeautomation
/home_api/src/main/java/com/oberasoftware/home/api/exceptions/RuntimeHomeAutomationException.java
UTF-8
344
2.03125
2
[]
no_license
package com.oberasoftware.home.api.exceptions; /** * @author renarj */ public class RuntimeHomeAutomationException extends RuntimeException { public RuntimeHomeAutomationException(String message, Throwable e) { super(message, e); } public RuntimeHomeAutomationException(String message) { ...
true
9eafcceca9f89c9781f3ecb883f690c82032163b
Java
TKflute/ShoppingCartApp
/CoreJavaStandAloneShoppingApp/CoreJavaStandAloneShoppingApp/src/com/cognixia/jump/service/LoginService.java
UTF-8
329
1.796875
2
[]
no_license
package com.cognixia.jump.service; import java.util.regex.Matcher; import java.util.regex.Pattern; public class LoginService { // this class will verify login credentials: // When logging in, check against valid user accounts // TODO: where to store logged in Customer? Also, make separate service for CreateAccoun...
true
a6e660cc0c7938d9e8258666684646a7b2554dbb
Java
brianduff/Islay
/src/hub/src/org/dubh/islay/hub/client/service/NetworkAuthServiceAsync.java
UTF-8
432
1.757813
2
[]
no_license
package org.dubh.islay.hub.client.service; import org.dubh.islay.hub.model.UserAccount; import org.dubh.islay.hub.shared.Network; import com.google.gwt.user.client.rpc.AsyncCallback; public interface NetworkAuthServiceAsync { void getRequestTokenUrl(Network network, AsyncCallback<String> callback); void getAcce...
true
d9aea5a0cb29281b964d46f6202f0174a222fd26
Java
esprit2019tn/Esprit
/TechEvents/TechEventsMobile/src/com/esprit/gui/EditEvent.java
UTF-8
20,251
1.882813
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.esprit.gui; import com.esprit.Entity.*; import com.esprit.Service.*; import com.codename1.charts.util.ColorUtil; import co...
true
5d0b39f3c84fafc3c264bcf4ce41a604ac8f0439
Java
BackupTheBerlios/occleve
/OccleveMobileClientProject/src/bm/core/ErrorHandler.java
UTF-8
3,838
2.5625
3
[]
no_license
package bm.core; /* ----------------------------------------------------------------------------- OpenBaseMovil Core Library, foundation of the OpenBaseMovil database and tools Copyright (C) 2004-2008 Elondra S.L. This program is free software: you can redistribute it and/or modify it under the terms o...
true
c3fea68d19251c30af913cd818e8a2f039112cd3
Java
haoxiaolonga/springboot-docker
/src/main/java/com/sso/TestFormat.java
UTF-8
1,105
2.40625
2
[]
no_license
package com.sso; import org.apache.logging.log4j.util.Strings; import java.io.File; import java.io.IOException; import java.sql.Date; import java.time.LocalDate; import java.time.LocalDateTime; import java.time.LocalTime; import java.time.ZoneId; import java.util.concurrent.CompletableFuture; /** * @author haoxl *...
true
04a69140bdef8ae559fed81e4fb1b137181a54d5
Java
rgeluz/LotteryApplication
/src/lotteryapplication/LotteryApplication_ArrayList.java
UTF-8
14,922
4.125
4
[]
no_license
package lotteryapplication; import java.util.List; import java.util.ArrayList; import java.util.Scanner; /** * File: LotteryApplication_ArrayList.java * @author Roman Geluz * Date: 07/11/2017 * Course: CISC 190 Java Programming * Assignment: * Write a program that simulates a lottery. The program should have ...
true
03233543c65cc52738f9bf518125d811fa2df3f6
Java
tamilselvansl/java-samples
/src/com/tamil/producerconsumer/Consumer.java
UTF-8
556
3.140625
3
[]
no_license
package com.tamil.producerconsumer; import java.util.List; /** * * Author : Tamilselvan Teivasekamani * * Description : * */ public class Consumer implements Runnable { private List list; public Consumer(List pList) { list = pList; } public void run() { System.out.println("Consu...
true
954f320220fcbcc18ed1ca196fcaafa109d639e9
Java
Finestarix/stoReX
/src/app/validator/rule/UserNameRule.java
UTF-8
710
2.703125
3
[]
no_license
package app.validator.rule; import java.util.regex.Matcher; import java.util.regex.Pattern; import javax.swing.JTextField; import app.validator.rule.parent.Rule; public class UserNameRule implements Rule { private JTextField jTextField; public UserNameRule(JTextField jTextField) { this.jTextField = jTextField...
true
028624594971c132453b67aa8f3602571eb9f7fa
Java
sebastianczuma/sms_gas_meter_reading
/app/src/main/java/com/scz/odczytgazomierza/RecyclerView/Item.java
UTF-8
1,344
2.484375
2
[]
no_license
package com.scz.odczytgazomierza.RecyclerView; public class Item { private Long id; private String date; private String meterReading; private String bankAccountNumber; private String phoneNumber; public Item() { } public Item(Long id, String date, String meterReading, String bankAccou...
true
4fd9b31e0443672762dc2032feaf4738358c7008
Java
amitvermaatpl/oo-design-patterns
/src/main/java/com/design/behavioral/observor/Product.java
UTF-8
715
3.40625
3
[]
no_license
package com.design.behavioral.observor; import java.util.ArrayList; import java.util.List; /* If product is available notify the customers */ public class Product{ List<Observer1> customers = new ArrayList<Observer1>(); String availability; public String getAvailability() { return availability;...
true
1800f9885403598e2a36343d782518dc1b67ff72
Java
tsegismont/vertx-web
/vertx-web-openapi/src/main/java/io/vertx/ext/web/openapi/impl/NoopBodyProcessorGenerator.java
UTF-8
1,151
2.078125
2
[ "Apache-2.0" ]
permissive
package io.vertx.ext.web.openapi.impl; import io.vertx.core.Future; import io.vertx.core.json.JsonObject; import io.vertx.core.json.pointer.JsonPointer; import io.vertx.ext.web.RoutingContext; import io.vertx.ext.web.validation.RequestParameter; import io.vertx.ext.web.validation.impl.body.BodyProcessor; public class...
true
15a37472752afc108599b596f810dfef81d9bbd3
Java
mija31/SistemaDeControl
/src/ventanaArchivo.java
UTF-8
2,903
2.375
2
[]
no_license
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /** * * @author paredes */ public class ventanaArchivo extends javax.swing.JFrame { /** * Creates new form ventanaArchivo */ public ventanaArchivo() { initComponents(); } /** ...
true
6c1fc453f2834c23bcb05c17bcb84af50e90657b
Java
WangYouzheng1994/hyjf
/hyjf-admin/src/main/java/com/hyjf/admin/manager/config/banksetting/bankinterface/BankInterfaceController.java
UTF-8
8,023
1.8125
2
[]
no_license
package com.hyjf.admin.manager.config.banksetting.bankinterface; import com.alibaba.fastjson.JSONArray; import com.hyjf.admin.BaseController; import com.hyjf.admin.manager.borrow.borrowcommon.BorrowCommonService; import com.hyjf.admin.shiro.ShiroUtil; import com.hyjf.common.file.UploadFileUtils; import com.hyjf.common...
true
32f586cbda42c90898e702126cb9e54e747f8101
Java
monkeyzi/monkeyboot
/monkeyboot-upms/src/main/java/com/monkeyzi/mboot/log/MbootCommonLogEventListener.java
UTF-8
1,032
2.109375
2
[]
no_license
package com.monkeyzi.mboot.log; import com.monkeyzi.mboot.entity.MbootLog; import com.monkeyzi.mboot.service.MbootLogService; import lombok.AllArgsConstructor; import lombok.NoArgsConstructor; import lombok.extern.slf4j.Slf4j; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.c...
true
cb4a59d41cd33c0a74b716eb50ad64caf9836037
Java
snj07/InterviewBitJavaSol
/src/stack_and_queue_prob/EvaluateExpression.java
UTF-8
910
3.8125
4
[]
no_license
package stack_and_queue_prob; import java.util.ArrayList; import java.util.Stack; /* * https://www.interviewbit.com/problems/evaluate-expression/ */ public class EvaluateExpression { public int evalRPN(ArrayList<String> aList) { Stack<String> stack = new Stack<>(); for (String s : aList) { if (this.isOperat...
true
37117e5aef7f91ecce6546ad6b9a07d59d279e92
Java
congtuvg9x/XLA
/src/main/CompareSiftSearch.java
UTF-8
13,929
2.0625
2
[]
no_license
package main; import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.TreeMap; import javax.servlet.ServletConte...
true
c0c482213d185988d8ece35186b06454f0d0607f
Java
pmhaubrick/LOTR-Tower-Defence-Game
/CS5001-p2-oop/src/towerdefence/Slingshot.java
UTF-8
592
3.09375
3
[]
no_license
package towerdefence; /** * This is the class template for a Slingshot Tower. * * @author pmh20 * */ public class Slingshot extends Tower { protected final int sDamage = 1; protected final int sFireFrequency = 1; protected final int sRange = 40; /** * This constructor sets the staring val...
true
79c22d398680a40ad439ef31d1ffabf2eda65da5
Java
cga2351/code
/DecompiledViberSrc/app/src/main/java/org/greenrobot/eventbus/meta/SubscriberMethodInfo.java
UTF-8
1,116
2.015625
2
[]
no_license
package org.greenrobot.eventbus.meta; import org.greenrobot.eventbus.ThreadMode; public class SubscriberMethodInfo { final Class<?> eventType; final String methodName; final int priority; final boolean sticky; final ThreadMode threadMode; public SubscriberMethodInfo(String paramString, Class<...
true
51d422308d8404639dcd48b8cf6d23016a324315
Java
xiaoyangzhang/membercenter
/membercenter-biz/src/main/java/com/yimayhd/membercenter/dao/MemberRecordDao.java
UTF-8
1,584
2.28125
2
[]
no_license
package com.yimayhd.membercenter.dao; import java.util.Date; import org.apache.commons.lang3.StringUtils; import org.springframework.beans.factory.annotation.Autowired; import com.yimayhd.membercenter.client.domain.MemberRecordDO; import com.yimayhd.membercenter.mapper.MemberRecordDOMapper; public class MemberRecor...
true
583e8701adf9f4ec0dd4f131a400ae01183dc3b1
Java
extFM/extFM-Tooling
/plugins/org.feature.multi.perspective.model.editor/src/main/java/org/feature/multi/perspective/model/editor/editors/algorithms/IncrementalAlgorithmHandler.java
UTF-8
3,895
2.171875
2
[]
no_license
/** * */ package org.feature.multi.perspective.model.editor.editors.algorithms; import java.util.List; import org.eclipse.core.commands.AbstractHandler; import org.eclipse.core.commands.ExecutionEvent; import org.eclipse.core.commands.ExecutionException; import org.eclipse.emf.ecore.resource.Resource; i...
true
0fa314b1a70ca0491ec8d74c9abf3df2a3e0ba6b
Java
glagarwal/ftp-client-server
/server/myftpserver.java
UTF-8
19,141
2.65625
3
[ "MIT" ]
permissive
import java.net.*; import java.io.*; import java.util.*; class clientInstance extends Thread{ public final String root_dir = System.getProperty("user.dir"); public String current_dir = root_dir; public static final String PWD_COMMAND = "pwd"; public static final String MKDIR_COMMAND = "mkdir "; public static fi...
true
d4c8540fd956426b2f2c96e54d9f70fb5acb9657
Java
molindo/elastic-compass
/src/main/java/at/molindo/elastic/compass/ElasticSearchEngineFactory.java
UTF-8
4,072
1.828125
2
[ "Apache-2.0" ]
permissive
/** * Copyright 2011 Molindo GmbH * * 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...
true
c2fc6e0e0f5d69ea17cb5815d7152a0db3381096
Java
fkocak2505/androidKotlin
/UETS/app/src/main/java/tr/gov/saglik/uets/mvp/model/studentReport/yetkinlik/saveUpdateDelete/responseModel/MemberType.java
UTF-8
3,361
1.695313
2
[]
no_license
package tr.gov.saglik.uets.mvp.model.studentReport.yetkinlik.saveUpdateDelete.responseModel; import com.google.gson.annotations.Expose; import com.google.gson.annotations.SerializedName; import java.util.List; public class MemberType { @SerializedName("Id") @Expose private Integer id; @SerializedNam...
true
384a00830d10f6d1541afa3cda297e4af83ab711
Java
klara-l/telpro
/telpro/src/de/berlin/fu/data/dto/Trigger.java
UTF-8
4,496
2.25
2
[]
no_license
/* * This source file was generated by FireStorm/DAO. * * If you purchase a full license for FireStorm/DAO you can customize this header file. * * For more information please visit http://www.codefutures.com/products/firestorm */ package de.berlin.fu.data.dto; import java.io.Serializable; public class Trigge...
true
98beef61c60e440ce8c7871bdb59fb4ca4292d8f
Java
wjdrbs96/Baekjoon
/Java/BOJ14600/Main_14659_2.java
UTF-8
966
3.109375
3
[]
no_license
package Baekjoon.Java.BOJ14600; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.StringTokenizer; /** * created by jg 2021/04/09 */ public class Main_14659_2 { public static void main(String[] args) throws IOException { BufferedReader br = new...
true
252ebc431d6fc7e9ec6628203cfa0a484afa725b
Java
ErickAi/CribSheets
/src/main/java/com/er/core/MySystemOut/mySystemOutPrintLn.java
UTF-8
1,738
3.484375
3
[]
no_license
package com.er.core.MySystemOut; import java.io.ByteArrayOutputStream; import java.io.PrintStream; public class mySystemOutPrintLn { public static void main(String[] args) { /* забрать поток предназначенный для вывода на консоль, в свой ByteArrayOutputStream & String System - class in java.lang ...
true
97e776c257647a99ad9116a46a5d0e16a863cf76
Java
ManriqueCesar/WebSecurity
/WebSecurity/DESARROLLO/PWCEV/Back/pwcev-apirest/src/main/java/com/websecurity/pwcev/apirest/service/impl/ResultadoServiceImpl.java
UTF-8
2,269
2.25
2
[]
no_license
package com.websecurity.pwcev.apirest.service.impl; import java.util.ArrayList; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.websecurity.pwcev.apirest.model.Resultado; import com.websecurity.pwcev.apirest.model.Usuario...
true
69d837feb538b7f3d5f7365ee3421b188828e65f
Java
AndrewVCoding/WeatherBot
/src/Coord.java
UTF-8
217
1.976563
2
[]
no_license
/** * Second level class containing the longitude and latitude representation of the coorinates of the * weather station * * @author Duntorah * */ public class Coord { public double lon; public double lat; }
true
fa534c50976324cab1bc162f7b27bb0d702538f4
Java
muhdnaveed2/EAShoppingStore
/src/main/java/edu/mum/domain/ShoppingOrder.java
UTF-8
2,535
2.28125
2
[]
no_license
/** * Author: Amit Bhanot */ package edu.mum.domain; import java.io.Serializable; import java.util.ArrayList; import java.util.Date; import java.util.List; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id;...
true
51039299fad295d730aa4cb9aee7d7346c86ec80
Java
shikha-agrawal2/dArray
/src/multithreading/internalImplementation/AppSemaphore.java
UTF-8
1,164
3.53125
4
[]
no_license
package multithreading.internalImplementation; public class AppSemaphore { public static void main(String[] args) throws InterruptedException { Semaphore semaphore = new Semaphore(); SendingThread sender = new SendingThread(semaphore); ReceivingThread receiver = new ReceivingThread(semaphor...
true
c9cf9d5e94c4ad09493addfd76568f1ab38b6a29
Java
green-fox-academy/zuzanastasova
/week-12/workshop/src/main/java/com/greenfoxacademy/workshop/Services/MovieServiceImpl.java
UTF-8
2,547
2.5625
3
[]
no_license
package com.greenfoxacademy.workshop.Services; import com.greenfoxacademy.workshop.Models.DTOs.GetMovieDTO; import com.greenfoxacademy.workshop.Models.MovieResult; import com.greenfoxacademy.workshop.Models.MovieResults; import com.greenfoxacademy.workshop.Repositories.MovieRepository; import okhttp3.OkHttpClient; imp...
true
973da203ec9288ef1cf3a2c9df3ca62033878bcb
Java
sarahaime/chat
/src/main/java/Main.java
UTF-8
2,812
2.34375
2
[]
no_license
import modelos.Etiqueta; import modelos.Usuario; import servicios.*; import spark.Request; import spark.Response; import spark.Route; import javax.persistence.EntityManager; import javax.persistence.EntityManagerFactory; import javax.persistence.Persistence; import java.sql.SQLException; import java.util.Set; import ...
true
e1ebaf043aa34d8d74cba3d1fe1f3464faed94e6
Java
mat1en/ramen
/iteration2/src/main/java/service/DiningService.java
UTF-8
621
2.640625
3
[]
no_license
package service; import GUI.AddGUI; import GUI.ConfirmGUI; import GUI.MemberGUI; public class DiningService { private String diningChoice; public void dining2member(String[] choices){ String[] addChoices = getItems(choices); MemberGUI.main(addChoices); } public String[] getItems(Stri...
true
29429c49fdbcead75207a500b22ef5ad0b933fde
Java
Valery-Sh/jee-server-api
/server-base-embedded/src/org/netbeans/modules/jeeserver/base/embedded/nodes/EmbRegistryNodeFactory.java
UTF-8
488
1.742188
2
[]
no_license
package org.netbeans.modules.jeeserver.base.embedded.nodes; import org.netbeans.modules.j2ee.deployment.plugins.spi.RegistryNodeFactory; import org.openide.nodes.Node; import org.openide.util.Lookup; public class EmbRegistryNodeFactory implements RegistryNodeFactory { @Override public Node getManagerNode(Loo...
true
4780de07a67bb7c93b46502f0e2df11918daae6e
Java
stivlo/obliquid-lib
/src/main/java/org/obliquid/datatype/companytaxid/ItalianCompanyTaxId.java
UTF-8
1,351
2.9375
3
[ "MIT" ]
permissive
package org.obliquid.datatype.companytaxid; import org.obliquid.datatype.TaxId; import org.obliquid.datatype.impl.CompanyTaxIdImpl; import org.obliquid.datatype.impl.PersonalTaxIdImpl; import org.obliquid.datatype.impl.VatIdImpl; /** * Hold and validate an Italian Company Tax Id. Allowed values are a VatId or a * ...
true
0fbfb8a561ca420ac12f6b1b26de5c2b6fa54b5a
Java
protocol10/TipSatAndroidChallenge
/app/src/main/java/com/example/akshay/tipsatandroidchallenge/adapters/EthinicityAdapter.java
UTF-8
1,872
2.40625
2
[]
no_license
package com.example.akshay.tipsatandroidchallenge.adapters; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; import android.widget.TextView; import com.example.akshay.tipsatandroidchallenge.R; import com.ex...
true
cbdd5b6f8a3b5fc23cca97a1e0eac0f8db477c59
Java
thomascoder7/leetcode_test
/src/MergeSortBU.java
UTF-8
1,344
3.296875
3
[]
no_license
public class MergeSortBU extends SortAlgorithm{ /** * 自底向上的归并排序 * @param array * @param l * @param mid * @param r */ private void merge(int[] array, int l, int mid, int r) { int[] aux = new int[r-l+1]; for (int i = 0; i < aux.length; i++) { aux[i] ...
true
3b46ea7c391db43dae05248bc38057a376e08999
Java
weizong123/w
/src/main/java/com/wei/springbootweb/config/SpringMvcConfig.java
UTF-8
285
1.625
2
[]
no_license
package com.wei.springbootweb.config; import org.springframework.context.annotation.Configuration; import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; //接管springmvc @Configuration public class SpringMvcConfig implements WebMvcConfigurer { }
true
587cfa569fd49e3280a8bc97344099b35d2f20f6
Java
luben93/labb1t2
/src/DB/User.java
UTF-8
1,392
3
3
[]
no_license
package DB; import java.io.UnsupportedEncodingException; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; public class User { private String mail; private String hashpassword; private int userId; private boolean isLoggedIn; public User(int userId, String mail, String hashpasswo...
true
61f82d4ebe65a0d39da53b6da4f61d07849f09c3
Java
ilias500/neo4j-web-jsf
/neo4j-web-jsf/src/main/java/com/project/neo/frontend/UpdateTeamBean.java
UTF-8
2,788
1.945313
2
[]
no_license
package com.project.neo.frontend; import com.project.graphdb.entities.Player; import com.project.graphdb.entities.Team; import com.project.graphdb.repositories.PlayerRepository; import com.project.neo.ServiceManagerBean; import com.project.utils.ParamUtil; import java.io.Serializable; import java.util.List; i...
true
f241352a55ea085e8d36f8767d28e4163d5d19e1
Java
Faracoeng/Alguns-Programas
/UsodeThreads_Compactador/src/main/java/poo/Processo.java
UTF-8
3,553
2.6875
3
[]
no_license
package poo; import java.io.File; import java.time.Duration; import java.time.Instant; public class Processo extends Thread { private String entrada; private String saida; private boolean multiThread; private String[] arquivos = null; private long duracao = 0; private long tamArquivo = 0; ...
true
c6aeee72accd517ee44ee0fea09666e4119e8396
Java
ajithjose/InterviewPrep
/src/Question154.java
UTF-8
1,573
3.734375
4
[]
no_license
import java.util.HashMap; /* * Sparse Matrix Vector Multiplication ------------------------------------- Multiply a sparse matrix (matrix with most values as zeroes) with a vector. Solution --------- Use a hashmap to represent each row of the matrix. The hashmap keys would be the non-zero column indices and the va...
true
f9d97e85ebf44f0cd5723e04f10bda79f8267343
Java
vZome/vzome
/desktop/src/main/java/org/vorthmann/zome/ui/ToolConfigDialog.java
UTF-8
11,972
2.140625
2
[ "Apache-2.0" ]
permissive
package org.vorthmann.zome.ui; import java.awt.BorderLayout; import java.awt.Dimension; import java.awt.GridLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.WindowAdapter; import java.awt.event.WindowEvent; import java.awt.event.WindowListener; import java.beans.Pr...
true
5348e79f0c946c3df42c462007f26d2e940ea099
Java
oreoTaste/yk-opic-project
/yk-opic-project/src/main/java/yk/learn/sub/Parent.java
UTF-8
120
1.726563
2
[]
no_license
package yk.learn.sub; public class Parent { private int priv; int defa; protected int prot; public int publ; }
true
ec3a03cce91c986edeb3d63f40a4989e5366cf3d
Java
IDemiurge/Eidolons
/C-Engine/src/main/java/main/data/ability/ArgumentImpl.java
UTF-8
1,639
2.65625
3
[]
no_license
package main.data.ability; import main.system.auxiliary.StringMaster; import java.util.List; public class ArgumentImpl implements Argument { private final AE_ELEMENT_TYPE ELEMENT_TYPE; private final String name; private boolean primitive = false; private List<Class<?>> ENUM_CLASSES; private final...
true
46708048b8bb606da1dfb28978b8fa2ee013616d
Java
ppBruce/asm-android-client-for-newsmth
/src/com/athena/asm/util/task/EditFavoriteTask.java
UTF-8
2,368
2.40625
2
[]
no_license
package com.athena.asm.util.task; import android.app.ProgressDialog; import android.content.Context; import android.os.AsyncTask; import android.widget.Toast; import com.athena.asm.util.SmthSupport; import com.athena.asm.viewmodel.HomeViewModel; public class EditFavoriteTask extends AsyncTask<String, Integer, String...
true
c749852613251159671004cbcaff8e5be5f1cf64
Java
y07it030/demo
/src/main/java/DesignPatterns/SolutionBreakingSingletonMethod4.java
UTF-8
784
4
4
[]
no_license
package DesignPatterns; //Breaking using Cloneable interface and cloning the object //Solution to remove breaking class Singleton8 implements Cloneable { private static Singleton8 obj; private Singleton8() {} public static Singleton8 myInstance() { if(obj==null) obj=new Singleton8(); return obj;...
true
57636874124bb416dc5a501faab31ad99f0a8f3b
Java
itplr-kosit/xml-mutate
/src/main/java/de/init/kosit/commons/validate/ErrorCode.java
UTF-8
551
2.1875
2
[]
no_license
// Generated by delombok at Fri Aug 13 16:11:22 CEST 2021 package de.init.kosit.commons.validate; import de.init.kosit.commons.util.NamedMessage; /** * Spezifischen Fehler bei der Validierung von XML Daten. * * @author apenski */ public enum ErrorCode implements NamedMessage { VALIDATION_ERROR("Technischer Fe...
true
3b54c871ae7e9e43f85c00f1ef253479d12ca630
Java
borjargz/PracticaVVS
/src/test/java/contenido/AnuncioTest.java
UTF-8
1,189
2.65625
3
[]
no_license
package contenido; import java.util.List; import junit.framework.TestCase; public class AnuncioTest extends TestCase { private Contenido anuncio; protected void setUp() throws Exception { anuncio = new Anuncio(); super.setUp(); } protected void tearDown() throws Exception { super.tearDo...
true
5a00162261a509033a7da69864f2d062dfc64850
Java
SpringStorm5/Tests
/src/test/java/onliner/test/forms/OnlinerSortSearch.java
UTF-8
1,216
1.929688
2
[]
no_license
package onliner.test.forms; import org.openqa.selenium.By; import webdriver.BaseForm; import webdriver.elements.Button; public class OnlinerSortSearch extends BaseForm { private static String formlocator="//body['data-twttr-rendered']"; private Button photo = new Button(By.linkText("Фотоаппараты"), "photo_online...
true
abbb55396df824924c4b5eb3e5f4bc19a0ecb43f
Java
VertiGo-0444/FinalExam_2020-
/URI AD-HOC/uri1087/src/Main.java
UTF-8
818
3.421875
3
[]
no_license
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int x1, y1, x2, y2; while(true) { x1 = scan.nextInt(); y1 = scan.nextInt(); x2 = scan.nextInt(); y2 = scan....
true
8eda8a84803ff94fd66eb4d68c4a7043836e9218
Java
ClausPolanka/java-profi
/src/ch08_advancedjava/reflection/ReflectionUtils.java
UTF-8
4,230
3.234375
3
[]
no_license
package ch08_advancedjava.reflection; import java.lang.annotation.Annotation; import java.lang.reflect.Constructor; import java.lang.reflect.Field; import java.lang.reflect.Method; import java.lang.reflect.Modifier; import java.util.ArrayList; import java.util.Arrays; import java.util.List; /** * Die Kla...
true
ca99a584d7662bd328cb8b26c86dc9c4d6810ee2
Java
Jubaroo/Vampire-Hunter-Mod
/src/com/friya/wurmonline/server/vamps/events/StakeWieldedEvent.java
UTF-8
3,120
2.25
2
[]
no_license
// // Decompiled by Procyon v0.5.30 // package com.friya.wurmonline.server.vamps.events; import com.friya.wurmonline.server.vamps.Mod; import com.friya.wurmonline.server.vamps.Vampires; import com.friya.wurmonline.server.vamps.items.Stake; import com.wurmonline.server.NoSuchItemException; import com.wurmonline.serv...
true
0df804d094ca4308b9670c7a1794736fe6331793
Java
MartinBergstrom/sudoku
/src/main/java/Model/Sudoku/Generator.java
UTF-8
254
2.203125
2
[]
no_license
package Model.Sudoku; import REST_Interface.Difficulty; import java.io.FileNotFoundException; public interface Generator { public int[][] generateRandomSudoku(Difficulty difficulty) throws Exception; public int numberOfGeneratedSudokus(); }
true
5d6401fef40dcf89d701b71a57a094cfed90cbe4
Java
galipalli/Selenium-Java-Introduction
/src/test/java/frame/NestedFrameTest.java
UTF-8
1,412
2.40625
2
[]
no_license
package frame; import base.BaseTests; import org.testng.Assert; import org.testng.annotations.Test; public class NestedFrameTest extends BaseTests { @Test public void testNestedFrame_left(){ var framePage = homePage.clickFramesPage(); var nestedFramePage = framePage.clickNestedFramesPage(); ...
true
5a6f4a147e969e6f761f64781b8b154585866622
Java
YettaY/mylintcode
/src/leetcode/Medium/Coin_Change.java
UTF-8
1,294
3.25
3
[]
no_license
package leetcode.Medium; import java.util.*; /** * Created by Administrator on 2016/8/29. */ public class Coin_Change { // Solution 1: dp O(N^2) // public int coinChange(int[] coins, int amount) { // int[] dp=new int[amount+1]; // for(int i=1;i<=amount;i++){ // int min=In...
true
0afce327fde391b7df0c26e7ea4fc8af28951258
Java
omahoito/openid-connect-server-spring-boot
/openid-connect-server-spring-boot-test/src/test/java/org/mitre/springboot/openid/connect/web/DataApiAuthorizationTests.java
UTF-8
1,021
1.929688
2
[ "Apache-2.0" ]
permissive
package org.mitre.springboot.openid.connect.web; import javax.transaction.Transactional; import org.junit.Test; import org.springframework.test.annotation.Rollback; @Transactional public class DataApiAuthorizationTests extends ApiAuthorizationTestsBase { @Test public void adminGetApiDataUnauthorized() throws Exce...
true
4e89d42775fd29025e8c30e1f56d6c346b275ea2
Java
NCIP/edct-common
/src/main/java/com/healthcit/cacure/security/GroupRef.java
UTF-8
2,003
1.5625
2
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
/*L * Copyright HealthCare IT, Inc. * * Distributed under the OSI-approved BSD 3-Clause License. * See http://ncip.github.com/edct-common/LICENSE.txt for details. */ // // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1-b02-fcs // See <a href="http...
true
7a76ec8b42d248d49b4ef38ac587a33efb7f0846
Java
elder4p/CX4CBDDS
/bundles/com.zeligsoft.domain.zml.api/api-gen/com/zeligsoft/domain/zml/api/ZML_Component/Implementation.java
UTF-8
703
2.234375
2
[ "Apache-2.0" ]
permissive
package com.zeligsoft.domain.zml.api.ZML_Component; import com.zeligsoft.base.zdl.staticapi.core.ZObject; import com.zeligsoft.base.zdl.staticapi.functions.TypeSelectPredicate; public interface Implementation extends ZObject { java.util.List<WorkerFunction> getWorker(); void addWorker(WorkerFunction val); <T ext...
true
4f7b61310eb6f0bb3709cd1519de067b5b2de56b
Java
bellmit/Ch_study2_seaco
/tp-service/src/main/java/com/tp/dao/ord/RejectInfoDao.java
UTF-8
1,063
1.71875
2
[]
no_license
package com.tp.dao.ord; import java.util.List; import java.util.Map; import org.apache.ibatis.annotations.Param; import com.tp.common.dao.BaseDao; import com.tp.model.ord.RejectInfo; import com.tp.query.ord.RejectQuery; public interface RejectInfoDao extends BaseDao<RejectInfo> { List<RejectInfo> selectListByReje...
true
fc52e3475978ac63374aa6e305858fd16a8ff994
Java
AlesLong/JRTASKS
/1.JavaSyntax/src/com/javarush/task/task08/task0818/Solution.java
UTF-8
1,297
3.390625
3
[]
no_license
package com.javarush.task.task08.task0818; import java.util.*; /* Только для богачей */ public class Solution { public static Map<String, Integer> createMap() { Map<String, Integer> map = new HashMap<>(); map.put("first", 1500); map.put("second", 150); map.put("third", 15000); ...
true
ffecd80bac67c315e7ff8da6c7ee69b74c91c214
Java
wangchen1206/springcloud
/spring-demo/src/main/java/com/cc/learn/design/proxy/Proxy.java
UTF-8
700
3.421875
3
[]
no_license
package com.cc.learn.design.proxy; /** * 代理模式 * 就是采用一个代理类调用原有的方法,且对产生的结果进行控制 * 使用代理模式,可以将功能划分的更加清晰,有助于后期维护 * * @Author: cc * @Date: 2019/11/25 16:34 */ public class Proxy implements Sourceable { private Sourceable source; public Proxy() { super(); this.source = new Source(); } ...
true
40af29e2ec19b6b9e961c7b0cce27ca5f5df5a61
Java
MTA-SZTAKI/longneck-core
/src/main/java/hu/sztaki/ilab/longneck/process/block/Case.java
UTF-8
476
2.4375
2
[ "Apache-2.0" ]
permissive
package hu.sztaki.ilab.longneck.process.block; import hu.sztaki.ilab.longneck.Record; import hu.sztaki.ilab.longneck.process.VariableSpace; /** * Case in a switch structure. * * @author Molnár Péter <molnarp@sztaki.mta.hu> */ public class Case extends Sequence { public Case() { } @Override publi...
true
53dbfb3a181106b05a5f8e3376d98b34efd70bf5
Java
ahalim7/design-patterns
/src/main/java/halim/lessons/designpatterns/creational/factory/Demo.java
UTF-8
738
2.8125
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 halim.lessons.designpatterns.creational.factory; /** * * @author AbdElHalim */ public class Demo { private static Dial...
true
abcfe893449812dfffe3f64a9bf855c1e0426d77
Java
SmilingBoy/Retrofit
/app/src/main/java/com/smile/retrofit/MainActivity.java
UTF-8
567
1.820313
2
[]
no_license
package com.smile.retrofit; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; public class MainActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main...
true
4dd201c3864e0066e82fa84aa6d795a1a29ed05b
Java
rosenbaek/ca2_backend
/src/main/java/dtos/StationDTO.java
UTF-8
1,350
2.578125
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 dtos; import entities.RenameMe; import entities.Role; import entities.Station; import entities.User; import java.util.ArrayLis...
true
daefb65fef10d50fb9481d4baaa1d8d148d6e7db
Java
abhishek-12355/netshell-libraries
/utilities/src/main/java/com/netshell/libraries/utilities/validation/ValidationResult.java
UTF-8
3,643
2.703125
3
[ "MIT" ]
permissive
package com.netshell.libraries.utilities.validation; import java.io.Serializable; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.Set; import java.util.stream.Collectors; public class ValidationResult implements Serializable { private String message; private ...
true