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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
22d9ed0f001d3b35b3c12c2d667f158c5b3d894b | Java | JiangLinsheng/Lost-and-found-system-using-JSP | /src/com/wit/filters/LoginFilter.java | UTF-8 | 2,211 | 2.3125 | 2 | [] | no_license | package com.wit.filters;
import java.io.IOException;
import javax.servlet.Filter;
import javax.servlet.FilterChain;
import javax.servlet.FilterConfig;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import javax.servlet.http.HttpServletRequest;
import j... | true |
8f31fabcdec1e6c14ff736b7fed329bfef8f6ae2 | Java | HermitXu/encryptionRecognition | /src/main/java/com/spinfosec/service/srv/ITargetResSrv.java | UTF-8 | 1,420 | 2.0625 | 2 | [] | no_license | package com.spinfosec.service.srv;
import com.spinfosec.dto.pojo.system.LdapData;
import org.springframework.web.multipart.MultipartFile;
import org.springframework.web.multipart.MultipartHttpServletRequest;
import java.io.File;
import java.io.IOException;
import java.util.List;
/**
*
* @author xuqy
* @version ve... | true |
7ee0cb687f880dc780410d1246f430877e3104cb | Java | henriquearaujoo/ipapp_ma | /app/src/main/java/br/com/speedy/appapp_ma/util/FormatterUtil.java | UTF-8 | 766 | 2.671875 | 3 | [] | no_license | package br.com.speedy.appapp_ma.util;
import java.math.BigDecimal;
import java.text.DecimalFormat;
import java.text.DecimalFormatSymbols;
public class FormatterUtil {
public static String getValorFormatado(Object value){
DecimalFormatSymbols formatadorSymbols = new DecimalFormatSymbols();
DecimalFormat formata... | true |
3c8bdc3081523d546011d04a27b077f2cf11b6b8 | Java | weibin268/my-data | /src/main/java/com/zhuang/data/config/MyDataProperties.java | UTF-8 | 3,588 | 2.515625 | 3 | [] | no_license | package com.zhuang.data.config;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.io.IOException;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.List;
import java.util.Properties;
public class MyDataProperties {
private static Logger logger = LoggerFactory.getLogger(... | true |
d216e83a7fe4663d4cb1ae1c27d005dc37ee45f2 | Java | Randgrior/codingChallenge | /calculation-service/src/main/java/dto/CityResource.java | UTF-8 | 123 | 1.578125 | 2 | [] | no_license | package dto;
import lombok.Data;
@Data
public class CityResource {
private Long cityId;
private String city;
}
| true |
c704490f2d96a4d7b320ee90e9f1e36597ec726a | Java | panghuhu-Li/TakeoutSystem | /src/Animal.java | UTF-8 | 927 | 3.1875 | 3 | [] | no_license | import java.io.Serializable;
public class Animal implements Serializable{
private String code;
private String animal;
private String gender;
private String colour;
private int year;
public Animal(String code,String animal,String gender, String colour, int year) {
this.gender=gender;
this.code=c... | true |
3b4c1cbf8872120826f6326768b69780bcd5a2bc | Java | gomson/alice_source_re | /edu/cmu/cs/stage3/alice/authoringtool/viewcontroller/StringPropertyLabel.java | UTF-8 | 1,363 | 2.28125 | 2 | [] | no_license | package edu.cmu.cs.stage3.alice.authoringtool.viewcontroller;
import edu.cmu.cs.stage3.alice.authoringtool.AuthoringToolResources;
import edu.cmu.cs.stage3.alice.core.Element;
import edu.cmu.cs.stage3.alice.core.Property;
import edu.cmu.cs.stage3.alice.core.property.OverridableElementProperty;
import edu.cmu.cs.stage3... | true |
fd9195d24b2e713b6572001112eb22482e4a1dce | Java | psshah/InstagramViewer | /src/com/codepath/psshah/instagramviewer/InstagramPhoto.java | UTF-8 | 1,604 | 2.4375 | 2 | [] | no_license | package com.codepath.psshah.instagramviewer;
import org.json.JSONException;
import org.json.JSONObject;
import android.util.Log;
public class InstagramPhoto {
public String username;
public String caption;
public String url;
public int height;
public int likesCount;
public String userProfileUrl;
public void ... | true |
80ac2e981416394173c77d4332ec36b7a6308e6f | Java | bompi88/subsym2 | /src/algorithms/ann/Neuron.java | UTF-8 | 817 | 3.140625 | 3 | [] | no_license | package algorithms.ann;
import java.util.LinkedList;
import java.util.List;
import java.util.Random;
import java.util.stream.IntStream;
public class Neuron {
// Weights 1..N, N+1 is activation value
private List<Double> weights;
int numberOfInputs;
public Neuron(int inputs){
Random random =... | true |
de963b56b7ac885cee5393a90746a247268b6552 | Java | Melvin2186m/Melvin2186m | /Persona.java | UTF-8 | 1,676 | 2.90625 | 3 | [] | no_license | import java.util.Vector;
public class Persona{
private int edad;
private String nombre;
private String lada;
private String telefono;
private String sexo;
private String ciudad;
private String apellidoP;
private String apellidoM;
public Persona( int edad, String nombre,Stri... | true |
d23ab9d67a4a12480ecabe1fe7caa4bad73ad762 | Java | zcy0521/spring-boot-demo | /spring-boot-service/src/main/java/com/example/demo/service/mybatis/impl/DemoServiceImpl.java | UTF-8 | 1,465 | 1.976563 | 2 | [
"Apache-2.0"
] | permissive | package com.example.demo.service.mybatis.impl;
import com.example.demo.entity.DemoDO;
import com.example.demo.mapper.DemoMapper;
import com.example.demo.service.mybatis.DemoService;
import com.example.demo.service.mybatis.base.impl.BaseServiceImpl;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotyp... | true |
1985bf4b03da2d9475c3f8a6f89c56703e00fe97 | Java | lighttt/Rescue102 | /app/src/main/java/com/resuce102/codeslayers/resuce102/FormActivity.java | UTF-8 | 1,180 | 2.03125 | 2 | [] | no_license | package com.resuce102.codeslayers.resuce102;
import android.content.Intent;
import android.os.Bundle;
import android.os.PersistableBundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.util.Log;
import android.view.View;
import android.widget.Button;
import... | true |
e0f2b462f33509e8f13a8ae7902658129a53d8ea | Java | maignea/Projet | /RMC/src/com/runmycode/mapred/ID.java | UTF-8 | 1,329 | 2.890625 | 3 | [] | no_license | package com.runmycode.mapred;
import java.io.Serializable;
import org.apache.log4j.Logger;
/**
* A general identifier, which internally stores the id
* as an integer. This is the super class of {@link JobID},
* {@link TaskID} and {@link TaskInProgressID}.
*
* @see JobID
* @see TaskID
* @see Tas... | true |
ab7c378ce3b895e20f565d21378b9513011e6332 | Java | piyush-singh07/Java-8-new-features | /Practice_2/src/com/demo/functions/Test4.java | UTF-8 | 1,250 | 3.609375 | 4 | [] | no_license | package com.demo.functions;
import java.util.ArrayList;
import java.util.function.Function;
public class Test4 {
public static void main(String[] args) {
ArrayList<Student> al = new ArrayList<>();
populate(al);
Function<Student, String> f = s -> {
if (s.getTotal_marks() >= 90) {
return "A... | true |
b8523cdc205732c0e688cbba130d62b07ef3e7c4 | Java | zyq914014125/ZYQ2 | /Zyq-admin/src/main/java/com/zyq/admin/Controller/RoleController.java | UTF-8 | 1,354 | 1.78125 | 2 | [] | no_license | package com.zyq.admin.Controller;
import Serach.Result;
import Serach.Serachvo;
import com.github.pagehelper.PageInfo;
import com.zyq.admin.Service.roleService;
import entity.Role;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import java.util.List;
... | true |
a217de39a41f7a2f167f2db00bba4845acd4f99e | Java | rafsanofficial/POPCORNtime | /PopcornTime_Android-src/torrent/torrent/src/main/java/com/android/torrent/TorrentPriority.java | UTF-8 | 100 | 1.914063 | 2 | [
"MIT"
] | permissive | package com.android.torrent;
public enum TorrentPriority {
NOT_DOWNLOAD,
NORMAL,
HIGH
} | true |
1e128089cdff9a79465b8af1ab8539f1a3899ac1 | Java | duswn158/CoronaGreen | /src/main/java/com/corona/green/api/SendIdImpl.java | UTF-8 | 862 | 2.109375 | 2 | [] | no_license | package com.corona.green.api;
import javax.annotation.Resource;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.mail.javamail.JavaMailSender;
import org.springframework.stereotype.Controller;
import org.springfra... | true |
5d3870ebc694045b5cf0a61824689ef328a655b0 | Java | AleMarin09/SOME-JohanMarin | /HITO2/Caculadora Basica/MainActivity.java | UTF-8 | 1,259 | 2.59375 | 3 | [] | no_license | package com.example.myfirstapp1;
import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
public class MainActivity extends AppCompatActivity {
private Button butt1;
private TextView text1;
private EditText editText1;
private EditText num1;
private EditText num2;
@Ove... | true |
c69423eeaa9f82e6ff091c161bbd5bfa205470a6 | Java | jdcloud-api/jdcloud-sdk-java | /pod/src/main/java/com/jdcloud/sdk/service/pod/model/HgSpec.java | UTF-8 | 4,582 | 1.921875 | 2 | [
"Apache-2.0"
] | permissive | /*
* Copyright 2018 JDCLOUD.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... | true |
e094f6196115697604b57064ed1b72dc0cff7897 | Java | AliakseiShvants/Furniture_Shop | /furnitureshop-backend/src/main/java/service/shop/BasketService.java | UTF-8 | 1,014 | 2.15625 | 2 | [] | no_license | package service.shop;
import entity.shop.Basket;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import repo.shop.BasketRepo;
import java.util.List;
@Service
public class BasketService {
... | true |
6dc045f27c1248276ca316ea1d811c53a7477d6e | Java | josuecm13/UNO-MP | /Interfaces/src/com/uno/cards/special/DrawFour.java | UTF-8 | 247 | 2.03125 | 2 | [] | no_license | package com.uno.cards.special;
/**
* Created by ${gaboq} on 21/9/2017.
*/
public class DrawFour extends WildCard {
public DrawFour() {
super();
}
@Override
public String toString() {
return "DrawFour";
}
}
| true |
579b82e8121c7fcbf7f852c5c907c83b0011b604 | Java | teuno/ExamplesSpringBatch | /src/main/java/BigFileUserStory1Restartable/OrderFieldSetMapper.java | UTF-8 | 622 | 2.0625 | 2 | [] | no_license | package BigFileUserStory1Restartable;
import org.springframework.batch.item.file.mapping.FieldSetMapper;
import org.springframework.batch.item.file.transform.FieldSet;
import org.springframework.validation.BindException;
class OrderFieldSetMapper implements FieldSetMapper<OrderDTO> {
@Override
publi... | true |
cca6cd68b8cd92397ac07fbe8c288ea9b8c104b9 | Java | phsommer/yeti | /Plugin_Debugger/src/tinyos/yeti/debug/editorActions/ToggleBreakpointAction.java | UTF-8 | 3,555 | 1.945313 | 2 | [] | no_license | /*
* Yeti 2, NesC development in Eclipse.
* Copyright (C) 2009 ETH Zurich
*
* 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 late... | true |
150aa8490a58ff945b5e85def36766135d70a221 | Java | jschneider/com.cedarsoft.codegen | /src/main/java/com/cedarsoft/codegen/parser/Parser.java | UTF-8 | 4,351 | 1.921875 | 2 | [] | no_license | /**
* Copyright (C) cedarsoft GmbH.
*
* Licensed under the GNU General Public License version 3 (the "License")
* with Classpath Exception; you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.cedarsoft.org/gpl3ce
* (GPL 3 with... | true |
b8e9b54455fa8e6acbf387a663aa805c7d38fda8 | Java | abichandani/bookit_backend | /bookit-shows-service/src/main/java/com/bookit/shows/BookitShowsServiceApplication.java | UTF-8 | 429 | 1.523438 | 2 | [
"Apache-2.0"
] | permissive | package com.bookit.shows;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
@SpringBootApplication
@EnableDiscoveryClient
public class BookitShowsServiceApplication {
public... | true |
4eacc4f94f6809f7ea9f0bb41d733ed111da616d | Java | limanman1005/leetcodeRecord | /fundamental/mySummary/Dp/bags/CoinChange2.java | UTF-8 | 728 | 2.859375 | 3 | [] | no_license | package mySummary.Dp.bags;
/**
* ClassName: LC518
* Description:零钱兑换,完全背包问题
* date: 2021/9/23 17:45
*
* @author liyh
*/
public class CoinChange2 {
}
class Solution518 {
/**
* 此题代码较少,但需要注意的时本题要求的时组成的组合数,不是排列数
* 内外循环不可变,必须要外层硬币,内层总数
* @param amount
* @param coins
* @return
*/
... | true |
fe1660b18ba5f78a2d8b28fb608c69dbfce568b4 | Java | 6316368/java_test | /frame-cps-generator/src/org/rdp/generator/model/java/JavaMethod.java | UTF-8 | 1,610 | 2.40625 | 2 | [] | no_license | package org.rdp.generator.model.java;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import org.apache.commons.beanutils.BeanUtils;
import org.rdp.generator.model.IModel;
/**
*
* @author Linlin Yu
* @email yulinlincom(a)gmail.com
*/
public class JavaMethod implements IM... | true |
fcc50677c68674787a469f5f0547ebf1bd3ea1f5 | Java | Yzygenius/jianfuzengxiao | /output-code/com/jianfuzengxiao/pub/entity/AreaInfo.java | UTF-8 | 910 | 1.984375 | 2 | [] | no_license | package com.jianfuzengxiao.pub.entity;
import com.bamboo.framework.entity.Entity;
public class AreaInfo extends Entity {
protected String areaCode;
protected String parentCode;
protected String areaName;
protected String areaLevel;
public String getAreaCode() {
... | true |
de1287760f5f470ee3d38fc59fff8ae04074da76 | Java | AshKumRaj/graph-algorithms | /src/Assignment.java | UTF-8 | 22,400 | 2.84375 | 3 | [] | no_license | import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.util.Random;
class node {
int label = -1;
boolean isLeaf = false;
int targetAttribute = -1;
node parent;
node left;
node right;
int leftIndices[];
int rightIndices[];
}
publi... | true |
95475e6d877dfcb124fe7077f33d0de4c897984f | Java | 88384490/TeduStore | /TeduStore/src/main/java/cn/tedu/store/service/AddressServiceImpl.java | UTF-8 | 2,356 | 2.53125 | 3 | [] | no_license | package cn.tedu.store.service;
import cn.tedu.store.bean.Address;
import cn.tedu.store.mapper.AddressMapper;
import cn.tedu.store.mapper.DictMapper;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
@Service
public class AddressServiceImpl implements AddressServi... | true |
f1b78ea8cf4ab2e526cc566da3763c9c36d65809 | Java | commercetools/commercetools-sync-java | /src/test/java/com/commercetools/sync/products/utils/ProductVariantPriceUpdateActionUtilsTest.java | UTF-8 | 18,828 | 1.726563 | 2 | [
"Apache-2.0"
] | permissive | package com.commercetools.sync.products.utils;
import static com.commercetools.sync.products.utils.ProductVariantPriceUpdateActionUtils.buildActions;
import static com.commercetools.sync.products.utils.ProductVariantPriceUpdateActionUtils.buildChangePriceUpdateAction;
import static com.commercetools.sync.products.util... | true |
01773ece2e29092ef8c4dedfa0a7dcb17ac289b7 | Java | Nicolas-Reyland/metalang | /out/euler22.java | UTF-8 | 921 | 3.34375 | 3 | [] | no_license | import java.util.*;
public class euler22
{
static Scanner scanner = new Scanner(System.in);
static int score()
{
scanner.findWithinHorizon("[\n\r ]*", 1);
int len;
if (scanner.hasNext("^-")) {
scanner.next("^-");
len = scanner.nextInt();
} else {
len = scanner.nextInt();
}
... | true |
2c8bde97e2ed1fa06cd6664890fa5afe3e48f5a5 | Java | Justins1432/DigitalShop | /app/src/main/java/com/example/digitalshop/shop/GoToShop.java | UTF-8 | 2,872 | 1.953125 | 2 | [] | no_license | package com.example.digitalshop.shop;
import android.content.Intent;
import android.os.Bundle;
import android.view.MenuItem;
import androidx.annotation.NonNull;
import androidx.appcompat.app.ActionBarDrawerToggle;
import androidx.appcompat.app.AppCompatActivity;
import androidx.core.view.GravityCompat;
import android... | true |
eb764e03368587046eb8625aa3ecca25d32448ed | Java | mh-dev-github/rfid-integraciones | /rfid-integraciones-ventas-pull/src/main/java/com/mh/rfid/integraciones/ventas/pull/service/impl/VentasPullErrorReportServiceImpl.java | UTF-8 | 3,674 | 2.015625 | 2 | [] | no_license | package com.mh.rfid.integraciones.ventas.pull.service.impl;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.jd... | true |
60596b73592271a5c9188bd1e77ae64f66af2137 | Java | markovandooren/chameleon | /src/org/aikodi/chameleon/ui/widget/Selector.java | UTF-8 | 666 | 2.421875 | 2 | [
"MIT"
] | permissive | package org.aikodi.chameleon.ui.widget;
public interface Selector {
/**
* Create a control with the given factory.
*
* @param factory The factory that creates the user interface element.
*/
/*@
@ public behavior
@
@ pre factory != null;
@
@ post \result != null;
@*/
public <W> Selection... | true |
2ebc7ee43467983ecb34b3d41cd51f61d0f87a8b | Java | jrdzha/Kingdom_Dash | /KingdomDash/core/src/com/jahrud/kingdomdash/components/map/MapComponent.java | UTF-8 | 288 | 1.765625 | 2 | [] | no_license | package com.jahrud.kingdomdash.components.map;
import com.badlogic.ashley.core.Component;
import com.badlogic.ashley.core.Entity;
public class MapComponent implements Component{
public Chunk[] physicalChunk;
public Entity[] layerTwoChunk;
public Entity[] layerThreeChunk;
}
| true |
9df223a51e2a3977f39972a10165213b31852d8d | Java | aivars-playground/junit-training-20210617 | /src/test/java/training/junit/extensions/WithMyExtensionTest.java | UTF-8 | 432 | 2.234375 | 2 | [] | no_license | package training.junit.extensions;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
@ExtendWith(MyClassLevelExtension.class)
public class WithMyExtensionTest {
@Test
void emptyTest1() {
System.out.println("launching emptyTest");
}
@Test
@ExtendWith(My... | true |
ec67e2b4b635de4d316a38a8d72c00d2c2d28fae | Java | sonal809/Algos-DS | /Questions/src/code/Anagrams.java | UTF-8 | 719 | 3.15625 | 3 | [] | no_license | package code;
import org.junit.Assert;
public class Anagrams {
private int noOfChars = 256;
public boolean areAnagrams(String str1, String str2) {
int[] count1 = new int[noOfChars];
int[] count2 = new int[noOfChars];
if (str1.length() != str2.length()) {
return false;
}
for (int i=0; i<str1.lengt... | true |
acad7bdfe49f0bd457af48bd0b53576b47ecce97 | Java | nkeynes/dedex | /src/main/java/com/toccatasystems/dedex/BytecodeTransformer.java | UTF-8 | 27,633 | 2.203125 | 2 | [] | no_license | /**
* Copyright (c) 2010 Toccata Systems.
*
* 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 2 of the License, or
* (at your option) any later version.
*
* This program is ... | true |
cf30ef89d251436f0a77438a0a4569ce2deee069 | Java | EfraimFelix/DistribuidoraDeBebidas | /Distribuidora/src/tccc/DAO/ProdutoDAO.java | UTF-8 | 9,164 | 2.390625 | 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 tccc.DAO;
import java.sql.CallableStatement;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.Re... | true |
a32db7a09b92c2d9a4e4c41dd66107475aea38f9 | Java | MingBie/Exam | /src/com/zzxx/exam/servicecontroller/ServiceController.java | UTF-8 | 4,568 | 2.796875 | 3 | [] | no_license | package com.zzxx.exam.servicecontroller;
import com.zzxx.exam.entity.*;
import com.zzxx.exam.idorpwdexecption.IdOrPwdException;
import com.zzxx.exam.ui.ExamFrame;
import java.io.*;
import java.util.ArrayList;
import java.util.List;
// 业务模块
public class ServiceController {
private EntityContext entityContext;
... | true |
2eebd83359d9b86f93015b3fbea495aa25583768 | Java | Devacurl/Hydrograph | /hydrograph.engine/hydrograph.engine.cascading/src/main/java/hydrograph/engine/cascading/assembly/InputFileHiveTextAssembly.java | UTF-8 | 6,471 | 1.585938 | 2 | [
"Apache-2.0"
] | permissive | /*******************************************************************************
* Copyright 2017 Capital One Services, LLC and Bitwise, Inc.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at... | true |
127ad0b21f314d3f174321c21827e0814ae49960 | Java | phjppo0918/healingAlgorihm | /dataStructure/qz1822/Main.java | UTF-8 | 2,047 | 3.171875 | 3 | [] | no_license | import java.util.*;
import java.io.*;
//import java.math.BigInteger;
public class Main{
public static void main(String [] args) throws Exception {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out))... | true |
30cd56a99683750560fcd9efc6e9aac11673ab8f | Java | cckmit/ydw-platform | /cgp-saas/cgp-saas-charge/src/main/java/com/ydw/charge/service/impl/CardBagServiceImpl.java | UTF-8 | 13,172 | 2.359375 | 2 | [] | no_license | package com.ydw.charge.service.impl;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ydw.charge.dao.CardBagMapper;
import com.ydw.charge.model.db.Card... | true |
af0781351289e2bc6fa2e61d52d8c6d850dfd990 | Java | myworld0630/JspProject | /src/web/example/jsp/tag/BodyIteratorTagExtraInfo.java | UTF-8 | 398 | 1.882813 | 2 | [] | no_license | package web.example.jsp.tag;
import javax.servlet.jsp.tagext.TagData;
import javax.servlet.jsp.tagext.TagExtraInfo;
import javax.servlet.jsp.tagext.VariableInfo;
public class BodyIteratorTagExtraInfo extends TagExtraInfo {
public VariableInfo[] getVariableInfo(TagData data){
return new VariableInfo[] {
new Var... | true |
e08da35e7474854cbe4e82c3bf292ab7551690b1 | Java | etwink/NutritionTracker | /app/src/main/java/com/example/nutritiontrackerguiv4/GlobalVars.java | UTF-8 | 339 | 1.921875 | 2 | [] | no_license | package com.example.nutritiontrackerguiv4;
import android.app.Application;
public class GlobalVars extends Application {
private String channelID = "0";
public String getChannelID() {
return channelID;
}
public void setChannelID(String in) {
this.channelID = in;
}
public sta... | true |
e103354194700f15c5690fb62ae1b6804a324952 | Java | sgoemans/JavaRpgGameProgrammierung-10 | /src/de/neuromechanics/Tile.java | UTF-8 | 892 | 2.75 | 3 | [] | no_license | package de.neuromechanics;
import java.awt.image.BufferedImage;
import java.io.Serializable;
import java.util.ArrayList;
public class Tile implements Serializable {
/**
*
*/
private static final long serialVersionUID = 8217823681826381700L;
private ArrayList<BufferedImage> animImages = new ArrayLis... | true |
9ec93926c37b0a18ee7c491d35484507fc4383ae | Java | leprethere/AFTnumb3 | /src/numb3.java | UTF-8 | 536 | 3.15625 | 3 | [] | no_license | class Numb3 {
String b;
public Numb3(String b) {
//сообщение, полученное при создание объекта
System.out.println(b);
}
public Numb3() {
//сообщение "111"
System.out.println("111");
}
public static void main(String[] args) {
//2 объекта - 1 с отправкой с... | true |
de68a62ad8b0028ce72e3bc2c5dc7ed97df588bc | Java | zygon4/trade | /data/src/main/java/com/zygon/data/Handler.java | UTF-8 | 115 | 1.921875 | 2 | [] | no_license |
package com.zygon.data;
/**
*
* @author zygon
*/
public interface Handler<T> {
public void handle(T r);
}
| true |
3a5989d7aceca69c35c8a1817a57c959bcb2329b | Java | fukeric/cralwer | /src/org/forUgram/database/Serializer.java | UTF-8 | 2,294 | 3.140625 | 3 | [] | no_license | package org.forUgram.database;
import java.nio.ByteBuffer;
import java.nio.CharBuffer;
public interface Serializer<T> {
public static final Serializer<String> STRING_32 = new FixedStringSerializer(32);
public static final Serializer<String> STRING_1024 = new FixedStringSerializer(1024);
public stati... | true |
e93c7793463b30e27cc31e76b35ff1608ad91d2b | Java | KANG-MIN-JI/minjing | /app/src/main/java/com/example/myapplication/MainActivity.java | UTF-8 | 2,449 | 2.109375 | 2 | [] | no_license | package com.example.myapplication;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.CheckBox;
import android.widget.TextView;
public class MainActivity extends AppCompatActivity {
... | true |
d528294b7a0c4056f25458a7f1ddf5faa8756771 | Java | dwhuang/SMILE | /src/edu/umd/smile/robot/RobotLocTracker.java | UTF-8 | 601 | 2.484375 | 2 | [
"MIT"
] | permissive | package edu.umd.smile.robot;
import java.util.Map;
import java.util.TreeMap;
import com.jme3.math.Vector3f;
import com.jme3.scene.Node;
public class RobotLocTracker {
private TreeMap<String, Node> trackers = new TreeMap<String, Node>();
private TreeMap<String, Vector3f> loc = new TreeMap<String, Vector3f>();
pu... | true |
6b02ed7d58f8ea414c83d7b7822e8cd286a924b2 | Java | cindyputri/Lagerverwaltung | /src/thi/gui/controller/BuchSuchenController.java | ISO-8859-1 | 1,316 | 2.296875 | 2 | [] | no_license | package thi.gui.controller;
import java.io.Serializable;
import javax.enterprise.context.RequestScoped;
import javax.faces.application.FacesMessage;
import javax.faces.context.FacesContext;
import javax.inject.Inject;
import javax.inject.Named;
import thi.common.iservices.IBuchService;
@Named
@RequestScoped
public ... | true |
5114addc14b938459e8491736c74fa36a810592d | Java | Mitchven/Purchase | /src/purchase/LoginC.java | UTF-8 | 15,756 | 2.046875 | 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 purchase;
import java.awt.HeadlessException;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import j... | true |
cf614193166cc21b344874d56b6453732edb0331 | Java | Pslp/Prueba-FRM | /SamEJBModule/ejbModule/org/sam/student/StudentServiceRemote.java | UTF-8 | 1,505 | 2.546875 | 3 | [] | no_license | package org.sam.student;
import java.util.List;
import javax.ejb.Remote;
import org.sam.student.dto.AcademicStatusDTO;
import org.sam.student.dto.StudentDTO;
/**
* @author Angel Ortega
*
*/
@Remote
public interface StudentServiceRemote {
/**
* Registra un nuevo estudiante
*
* @param student
*/
publi... | true |
c21f5f2d4ae29b4db4335f509f03b33ceb313a82 | Java | chinhvq/VQC-Java | /Java_Core_Home/src/project/ProjectManagement/src/test/projectmanagement/address/AddressAddController.java | UTF-8 | 4,975 | 2.734375 | 3 | [] | no_license | package test.projectmanagement.address;
import java.sql.SQLException;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.scene.control.Alert;
import javafx.scene.control.TextField;
import javafx.scene.control.Alert.AlertType;
import ... | true |
9f2da77c2b935652e77e148a9ad3a4278a2e1273 | Java | colinbut/football-results-broadcaster-rxjava | /src/main/java/com/mycompany/frb/model/LeagueOneFootballClub.java | UTF-8 | 717 | 1.804688 | 2 | [] | no_license | /*
* |-------------------------------------------------
* | Copyright © 2016 Colin But. All rights reserved.
* |-------------------------------------------------
*/
package com.mycompany.frb.model;
public enum LeagueOneFootballClub {
// League One
AFC_WIMBLEDON,
BOLTON_WANDERERS,
BRADFORD_CITY,
... | true |
1ddf59078e75eb2bb0e18fa99ad412d3a78c0790 | Java | theblue9/Java_Fundamental | /src/java_20200522/SetDemo.java | UTF-8 | 1,493 | 4 | 4 | [] | no_license | package java_20200522;
import java.util.HashSet; // ctr + shift + O(영문자)
import java.util.Iterator;
import java.util.TreeSet;
public class SetDemo {
public static void main(String[] args) {
// ctr + shift + O(영문자)
// HashSet은 객체의 중복을 허용하지 않고, 순서없음.
// 1.선언 및 생성
HashSet<Integer> set = new HashSet<Intege... | true |
974c97fc7e5d111f29eab9613dce105ac8d2ea4b | Java | Lee-yj/DataStructue | /src/utils/Recursion/Sum.java | GB18030 | 496 | 3.796875 | 4 | [] | no_license | package utils.Recursion;
/**
* array ĺ
*/
public class Sum {
public static int sum(int[] arr){
return sum(arr, 0);
}
// indexΪarr߽磬[indexn]
private static int sum(int[] arr, int index){
if(index == arr.length){
return 0;
}
int sum = arr[index] + sum(arr, index + 1);
return sum;
... | true |
96a03b31ec436a92f21a98ed8c81c027e5bac670 | Java | huangying123456/java-examples | /src/main/java/com/example/InterfaceAndAbstract/Door.java | UTF-8 | 187 | 2.21875 | 2 | [] | no_license | package com.example.InterfaceAndAbstract;
/**
* Created by hy on 2017/10/18.
*/
public interface Door extends FatherDoor, MotherDoor {
String STRING = "xxxx";
void alarm();
}
| true |
678decd02d4d8eb120e7bd94c3db45f139becd12 | Java | ddoriya-dev/spring-boot-oauth2-example | /sso-client/src/main/java/com/acompany/asystem/service/UserService.java | UTF-8 | 244 | 1.695313 | 2 | [] | no_license | package com.acompany.asystem.service;
import com.acompany.asystem.domain.User;
import java.util.Optional;
public interface UserService {
//
Optional<User> getUser(String userName);
boolean updateTokenId(String userName, String token);
} | true |
2497979ad8a9ea9f492c7a3a44fafa21d3c74da1 | Java | minz1/MIUISystemUI | /sources/com/android/keyguard/fod/MiuiGxzwQuickOpenUtil.java | UTF-8 | 12,519 | 1.757813 | 2 | [] | no_license | package com.android.keyguard.fod;
import android.content.Context;
import android.content.SharedPreferences;
import android.graphics.Path;
import android.graphics.RectF;
import android.graphics.Region;
import android.os.AsyncTask;
import android.os.Handler;
import android.os.Looper;
import android.provider.Settings;
im... | true |
1545f7b217daba0f4fc4c0d27db080cf0bb0baf7 | Java | sivazozo/Xrob | /server/src/com/theah64/xrob/api/utils/clientpanel/TimeUtils.java | UTF-8 | 1,382 | 2.578125 | 3 | [
"Apache-2.0"
] | permissive | package com.theah64.xrob.api.utils.clientpanel;
import java.util.Arrays;
import java.util.List;
import java.util.concurrent.TimeUnit;
/**
* Created by theapache64 on 13/9/16,10:41 PM.
*/
public class TimeUtils {
private static List<Long> milliList = Arrays.asList(
TimeUnit.DAYS.toMillis(365),
... | true |
ca980eb53d31b947bba1dc87b86e34dc5494644b | Java | Ugur-Avsar/Bomberman | /src/winnerScreen/WinnerFrame.java | UTF-8 | 722 | 2.578125 | 3 | [] | no_license | package winnerScreen;
import javax.swing.ImageIcon;
import javax.swing.JFrame;
import javax.swing.UnsupportedLookAndFeelException;
import combat.Player;
import main.Game;
/**
* StartFrame
*
*
*/
public class WinnerFrame extends JFrame {
/**
* constructor
*
* @throws UnsupportedLookAn... | true |
620158e83ae0a19918969d7b7841f38fae338328 | Java | Syncly/MusicSync-android | /app/src/main/java/ee/arti/musicsync/LoginPreference.java | UTF-8 | 1,362 | 2.296875 | 2 | [] | no_license | package ee.arti.musicsync;
import android.content.Context;
import android.content.SharedPreferences.Editor;
import android.preference.DialogPreference;
import android.util.AttributeSet;
import android.view.View;
import android.widget.EditText;
public class LoginPreference extends DialogPreference {
public final ... | true |
edd51568a8d8cbcf1406a05fc24923911b5942b2 | Java | Maciox55/School-Work | /Java/Program 8/Assignment Provided Files/Dungeon.java | UTF-8 | 890 | 3.546875 | 4 | [] | no_license | /**
* Dungeon -- one of the dungeons of the Cave
*
* @author BPK
* @version March 15, 2017
*/
import java.util.*;
public abstract class Dungeon
{
protected Monster monster;
protected Scanner scan;
protected Random rand;
public Dungeon( )
{
scan = new Scanner( System.in );
rand = n... | true |
0c315a3db554eae3cb5810450df8ab23262005a9 | Java | TheStormSurge/BoldtJPaint | /view/gui/shape_command/GroupCommand.java | UTF-8 | 1,184 | 2.625 | 3 | [] | no_license | package view.gui.shape_command;
import view.gui.CommandHistory;
import view.gui.ScreenShapes;
import view.gui.SelectedShapes;
import view.gui.shapes.CompositeShape;
import view.interfaces.ICommand;
import view.interfaces.IShape;
import view.interfaces.IUndoable;
import java.util.ArrayList;
public class GroupCommand i... | true |
109b939fd2beff8b9cb897abf7834c07a4c3e8da | Java | fredyw/leetcode | /src/main/java/leetcode/Problem1267.java | UTF-8 | 1,219 | 2.953125 | 3 | [
"MIT"
] | permissive | package leetcode;
/**
* https://leetcode.com/problems/count-servers-that-communicate/
*/
public class Problem1267 {
public int countServers(int[][] grid) {
int answer = 0;
int nRows = grid.length;
int nCols = nRows > 0 ? grid[0].length : 0;
boolean[][] visited = new boolean[nRows]... | true |
09b94cdff277a41b4d4c34555fce30ada478411c | Java | Nadanapathy/stjosephs | /src/java/Beans/MarkStatus.java | UTF-8 | 2,976 | 2.453125 | 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 Beans;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.text.Si... | true |
978a58968bab69ff9070844d00733cbaf67ee47f | Java | raja9707/Assignment | /Assignment/src/com/raja/Test.java | UTF-8 | 215 | 2.15625 | 2 | [] | no_license | package com.raja;
public class Test {
public static void main(String args[]) {
A a=new A();
A c=new A();
a.b.c=c.b.a;
}
}
class A{
B b=new B();
}
class B{
String c;
String a;
} | true |
4bddd479d8c2cff58138d8bec749f58d2a458955 | Java | winkymonkey/DSA_POC | /src/main/java/org/example/dsa/aa_array/b_rotation/B01_howToRotate.java | UTF-8 | 2,139 | 3.984375 | 4 | [] | no_license | package org.example.dsa.aa_array.b_rotation;
/**
* ***************************************************************************************
* Left rotate all elements of an array by d elements
* ***************************************************************************************
* Input: { 10, 20, 30, 40,... | true |
5fc2fe42e1837ec8283d163ef1468fe90a8ff50e | Java | kappaj2/HystrigAndRetry | /src/main/java/za/co/ajk/springretry/retryclient/services/ShakyBusinessService.java | UTF-8 | 671 | 2.078125 | 2 | [] | no_license | package za.co.ajk.springretry.retryclient.services;
import org.springframework.retry.annotation.Backoff;
import org.springframework.retry.annotation.Recover;
import org.springframework.retry.annotation.Retryable;
import za.co.ajk.springretry.retryclient.exceptions.BoomException;
public interface ShakyBusinessServic... | true |
ee369f17246ecc273d2bee0a66c0c504f32242e3 | Java | co1248/android | /Mission13/app/src/main/java/org/techtown/mission13/OnCustomerItemClickListener.java | UTF-8 | 206 | 1.773438 | 2 | [] | no_license | package org.techtown.mission13;
import android.view.View;
public interface OnCustomerItemClickListener {
public void onItemClick(CustomerAdapter.ViewHorder holder, View view, int position);
}
| true |
79bdbaa20f0e687bb4ae7c388c41a27bc6c3456a | Java | jackTang11/REMIUI | /xiaomi/yellowpages/com/xiaomi/b/a/o.java | UTF-8 | 356 | 1.898438 | 2 | [] | no_license | package com.xiaomi.b.a;
import java.util.concurrent.TimeUnit;
final class o extends y {
private o(String str) {
super(str);
a(1);
}
static o ae(String str) {
return str == null ? null : new o(str);
}
public int c() {
return (int) TimeUnit.MILLISECONDS.convert((lon... | true |
b68b7841a9f1478f7ff59583ac5de0b061a2d6cc | Java | jester155/ClassWork | /Intro To Programming/Other/src/Loan.java | UTF-8 | 653 | 3.453125 | 3 | [] | no_license | import java.util.*;
public class Loan {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
System.out.println("Please enter in your salary");
int salary = scan.nextInt();
System.out.println("How many years have you had your current job?");
int years = scan.nextInt();
i... | true |
f2c92872581eaa0648b391a21890b366985fb453 | Java | djodjo89/the_spacebar | /prog/src/prog/IA.java | UTF-8 | 1,623 | 2.875 | 3 | [] | no_license | package prog;
import java.util.ArrayList;
public class IA {
private Grille grille;
private ArrayList<String> propositions;
private int nbGraines ;
private String coup;
private int[][] memoire;
private int tour;
public IA(Grille grille) {
this.propositions = new ArrayList<String>();
this.nbGraines = 28; ... | true |
a086ac6b3a0193243ccefb6d1b230cb6ecfa8288 | Java | GoogleJ/HelloWorld | /app/src/main/java/com/zxjk/duoduo/ui/msgpage/MoreSearchActivity.java | UTF-8 | 10,838 | 1.632813 | 2 | [] | no_license | package com.zxjk.duoduo.ui.msgpage;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.text.Editable;
import android.text.TextUtils;
import android.text.TextWatcher;
import android.view.View;
import android.view.ViewGroup;
import android.view.inputmethod.EditorInfo;... | true |
1fcb1c4089a379c18322a8a9f8413eeb4e35ccb1 | Java | ljhgithub/MyApplication | /app/src/main/java/com/example/xuchao/myapplication/util/BitmapUtil.java | UTF-8 | 3,110 | 2.546875 | 3 | [] | no_license | package com.example.xuchao.myapplication.util;
import android.content.res.Resources;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Canvas;
import android.graphics.PixelFormat;
import android.graphics.drawable.Drawable;
import java.io.ByteArrayInputStream;
import java.i... | true |
4a37bcf142301b3e7dfc15c6f70461f25b6ed701 | Java | fengsiri/PECI-Java-MAR-2015 | /01_JavaSE/Clase03_12ABR2015/Arreglos/src/pe/egcc/app/prueba/Prueba02.java | UTF-8 | 770 | 3.328125 | 3 | [] | no_license | package pe.egcc.app.prueba;
import java.util.Arrays;
/**
*
* @author Gustavo Coronel
* @blog gcoronelc.blogspot.com
*/
public class Prueba02 {
static int lista1[];
public static void main(String[] args) {
int[] lista2;
lista2 = new int[5];
System.out.println(lista1);
System.out... | true |
562430f23cc740664aa19d7a8a4cb6e041c579c7 | Java | CaoYouXin/serveV2 | /server/server/test/file/FileTest.java | UTF-8 | 1,306 | 2.609375 | 3 | [
"Apache-2.0"
] | permissive | package file;
import org.apache.commons.io.IOUtils;
import org.junit.jupiter.api.Test;
import util.FileUtil;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.io.StringReader;
class FileTest {
@Test
void testNewFile1() {
File file = new File("/Users/cls/Dev/Git/... | true |
fe08fa396b39ded68103eb1a2d58752147beb23e | Java | Pzdrs/lms-desktop | /src/main/java/pb/lms_desktop/controllers/NavbarController.java | UTF-8 | 963 | 2.21875 | 2 | [] | no_license | package pb.lms_desktop.controllers;
import javafx.fxml.Initializable;
import javafx.scene.control.Button;
import javafx.scene.control.Label;
import javafx.scene.layout.GridPane;
import javafx.scene.layout.HBox;
import pb.lms_desktop.Main;
import java.net.URL;
import java.util.ArrayList;
import java.util.Arrays;
impor... | true |
553a22525d774df6be60f0e80c0fa357490474e3 | Java | wangjianing-2020/guli | /guli_parent/service/service_ucenter/src/main/java/com/atguigu/educenter/controller/WxApiController.java | UTF-8 | 5,659 | 2.296875 | 2 | [
"Artistic-2.0"
] | permissive | package com.atguigu.educenter.controller;
import com.atguigu.commonutils.JwtUtils;
import com.atguigu.educenter.entity.UcenterMember;
import com.atguigu.educenter.service.UcenterMemberService;
import com.atguigu.educenter.utils.ConstantWxUtils;
import com.atguigu.educenter.utils.HttpClientUtils;
import com.atguigu.ser... | true |
c9388748b2f192d8adba043cb6ba45e504d65f92 | Java | cicsdev/cics-java-liberty-jdbc | /projects/com.ibm.cicsdev.jdbc.web/src/com/ibm/cicsdev/jdbc/DoJDBC.java | UTF-8 | 2,242 | 2.78125 | 3 | [
"Apache-2.0"
] | permissive | package com.ibm.cicsdev.jdbc;
/* Licensed Materials - Property of IBM */
/* */
/* SAMPLE */
/* ... | true |
173bfc865d7f438c3a70bb2b8967c97241aa4023 | Java | Brat-vseznamus/optimization-methods | /src/main/java/newton/quasi/BFSQuasiNewtonMethod.java | UTF-8 | 1,734 | 2.46875 | 2 | [] | no_license | package newton.quasi;
import expression.Expression;
import linear.DoubleMatrix;
import linear.DoubleVector;
import linear.Matrices;
import methods.dimensional.one.GoldenRatioMethod;
import newton.utils.FunctionExpression;
import newton.utils.Iteration;
import slau.methods.GaussWithMainElementMethod;
public class BFSQ... | true |
0391c16914968e3bbfc2ee9b52d49a5eee51f966 | Java | SanguineSoftwareSolutions/prjWebStocks | /prjWebStocks/src/com/sanguine/webclub/dao/clsWebClubGroupMasterDaoImpl.java | UTF-8 | 948 | 2.140625 | 2 | [] | no_license | package com.sanguine.webclub.dao;
import org.hibernate.SessionFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;
import com.sanguine.webclub.model.clsWebClubGroupMasterModel;
import com.sanguine.webclub.model.clsWebClubGroupMasterModel_ID;
... | true |
c39caad600b148b82f6fa1d962c355e06855accf | Java | baigudao/bibicar-personal-android | /app/src/main/java/com/wiserz/pbibi/fragment/AllImageFragment.java | UTF-8 | 9,660 | 2.140625 | 2 | [] | no_license | package com.wiserz.pbibi.fragment;
import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.TextView;
import com.blankj.utilcode.util.EmptyUtils;
import com.wiserz.pbibi.R;
import com.wiserz.pbibi.adapter.BaseRecyclerViewAdapter;
import com.wiserz.pbibi.bean.TypeBean;
import com.... | true |
5a5c471f833aeeea03fb2b5999f32f574f323dc5 | Java | Dominik355/autoskola-server | /src/main/java/com/example/AutoskolaDemoWithSecurity/services/NotificationMessageService.java | UTF-8 | 5,961 | 2.28125 | 2 | [] | no_license |
package com.example.AutoskolaDemoWithSecurity.services;
import com.example.AutoskolaDemoWithSecurity.models.databaseModels.DrivingSchool;
import com.example.AutoskolaDemoWithSecurity.models.databaseModels.NotificationMessage;
import com.example.AutoskolaDemoWithSecurity.models.databaseModels.Relationship;
import com.... | true |
42d7b29d9c2a84c0a913a3c36c268db9f5074fa0 | Java | fusion-jena/CoMerger | /SourceCode/src/fusion/comerger/general/graphToOnto/Test.java | UTF-8 | 2,413 | 2.390625 | 2 | [
"Apache-2.0"
] | permissive | package fusion.comerger.general.graphToOnto;
/*
* Please refer to https://github.com/fusion-jena/OAPT
* Algergawy, Alsayed, Samira Babalou, Mohammad J. Kargar, and S. Hashem Davarpanah. "SeeCOnt: A new seeding-based clustering approach for ontology matching." In East European Conference on Advances in Databases and In... | true |
dd49b2bd635896ed775e0b3d683eb044405aae60 | Java | JorgePallolTrigueros/primefaces-nuevo | /src/main/java/com/pallol/novela/controller/UsuarioControler.java | UTF-8 | 3,698 | 2.03125 | 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.pallol.novela.controller;
import entities.Novela;
import entities.Persona;
import entities.Rol;
import entities.Usuario;
i... | true |
123358084cbf01dd929efe936c5f43fa87fbfed1 | Java | vaidehi4rk/EventApp | /app/src/main/java/com/example/eventapp/Login.java | UTF-8 | 3,847 | 2.40625 | 2 | [] | no_license | package com.example.eventapp;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.database.Cursor;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.TextView;
import android.widget.Toast;
... | true |
a14c885bff8b6911cb08ae08720bf741d15e1c5f | Java | 791837060/FastMap | /commons/src/main/java/com/navinfo/navicommons/net/ssh/SSHUtils.java | UTF-8 | 6,234 | 2.3125 | 2 | [] | no_license | package com.navinfo.navicommons.net.ssh;
import java.io.IOException;
import java.io.InputStream;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.apache.commons.lang.StringUtils;
import com.jcraft.jsch.Channel;
import com.jcraft.jsch.ChannelExec;
import com.jcraft.jsch.JSch;
imp... | true |
c70616f4f25d7a0587903bec37e603816d113da3 | Java | developerLu/website | /src/org/loushang/internet/servlet/WebDispatcherFilter.java | UTF-8 | 20,399 | 1.851563 | 2 | [] | no_license | package org.loushang.internet.servlet;
import java.io.IOException;
import java.io.StringWriter;
import java.io.UnsupportedEncodingException;
import java.util.ArrayList;
import java.util.Enumeration;
import java.util.List;
import javax.servlet.Filter;
import javax.servlet.FilterChain;
import javax.servlet.FilterConfig... | true |
294b1c2d8498cc4b34ad61e857e82f3fcc9a8ec2 | Java | Syric420/ReseauxVilvens | /JDBC/src/clientServeurSocket/InterfaceBagages.java | UTF-8 | 12,557 | 2.390625 | 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 clientServeurSocket;
import ProtocoleLUGAP.ReponseLUGAP;
import ProtocoleLUGAP.RequeteLUGAP;
import java.io.IOException;
impor... | true |
7506b3ced806292953870e00dd009c2c81658001 | Java | jamf/AppConfig-Generator | /src/main/java/com/jamfsoftware/research/macingestor/SettingsServlet.java | UTF-8 | 5,124 | 2.0625 | 2 | [
"MIT"
] | permissive | package com.jamfsoftware.research.macingestor;
import java.io.IOException;
import java.io.InputStream;
import java.net.URL;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.xml.bind.JAXBExce... | true |
fd004e65222bd1785d706a143dd317a6c19b241f | Java | jllomibao/Android | /Android2/A1-Jeffrey.Lomibao/app/src/main/java/x40241/lomibao/jeffrey/a1/CustomListAdapter.java | UTF-8 | 3,536 | 2.546875 | 3 | [] | no_license | package x40241.lomibao.jeffrey.a1;
import android.content.Context;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.Button;
import android.widget.ImageView;
import android.widget.TextView;
impo... | true |
b01699323b491975c3c8393cd7013f57b58164a4 | Java | aspose-note/Aspose.Note-for-Java | /Examples/src/main/java/com/aspose/note/examples/Notebook/ConvertToPDF.java | ISO-8859-1 | 582 | 2.75 | 3 | [
"MIT"
] | permissive | package com.aspose.note.examples.Notebook;
import java.io.IOException;
import com.aspose.note.Notebook;
import com.aspose.note.examples.Utils;
public class ConvertToPDF {
public static void main(String... args) throws IOException {
// ExStart:ConvertToPDF
String dataDir = Utils.getSharedDataDir(ConvertToPDF.cla... | true |
a55f8297d2da23fead6c64cfca2dff4bcb450ee7 | Java | BogdanTelepov/Google-books-search | /app/src/main/java/com/bogdan/retrofitexample/models/VolumeInfo.java | UTF-8 | 937 | 2.03125 | 2 | [] | no_license | package com.bogdan.retrofitexample.models;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import java.util.List;
public class VolumeInfo {
@SerializedName("title")
public String title;
@SerializedName("authors")
public List<String> authors;
@Seri... | true |
7cfbfa399cc93cc07755e2808ddc78d0e6b1a9ad | Java | Elsa1024/leetcode_java | /130_surrounded_regions.java | UTF-8 | 1,323 | 3.1875 | 3 | [] | no_license | class Solution {
private void filterO(int x, int y, int row, int col, char[][] board) {
if (board[x][y] == 'O') {
board[x][y] = 'Y';
if (x - 1 > 0)
filterO(x-1, y, row, col, board);
if (x + 2 < row)
filterO(x+1, y, row, col, board);
... | true |
4cb0f5d2afd38066e3e9774c159eb5377edc280b | Java | mucll/IyooxTask | /app/src/main/java/com/huisu/iyoox/entity/SerchBean.java | UTF-8 | 611 | 1.9375 | 2 | [] | no_license | package com.huisu.iyoox.entity;
import org.litepal.crud.DataSupport;
import org.litepal.crud.LitePalSupport;
/**
* Function:
* Date: 2017/9/12
*
* @author zhaojin
* @since JDK 1.7
*/
public class SerchBean extends LitePalSupport {
private String title;
private long upDateTime;//更新时间戳
public long ge... | true |
f12287ea3ef729ec330ee7cf4fe8d843b3b2eebd | Java | karunmatharu/Android-4.4-Pay-by-Data | /cts/tools/vm-tests-tf/src/dot/junit/verify/b17/Test_b17.java | UTF-8 | 1,394 | 1.960938 | 2 | [
"MIT"
] | permissive | /*
* Copyright (C) 2008 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | true |