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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
29174cd72a41bad66eb11c1dfbe4cde0c694aa6c | Java | ggj010010/mooncy | /mooncyHome/mooncy/src/main/java/com/spring/mooncy/service/QuService.java | UHC | 724 | 1.875 | 2 | [] | no_license | package com.spring.mooncy.service;
import java.util.List;
import javax.servlet.http.HttpSession;
import com.spring.mooncy.dao.QuDAO;
import com.spring.mooncy.dto.QuVO;
public interface QuService {
// 01. Խñ ۼ
public void create(QuVO vo) throws Exception;
// 02. Խñ
public QuVO read(int q_no) th... | true |
00e9b81efe3ec7e3a9112f72cc6d32910da5bc32 | Java | mauriciorepo/budget | /src/main/java/com/finance/budget/model/OrderService.java | UTF-8 | 2,571 | 2.1875 | 2 | [] | no_license | package com.finance.budget.model;
import javax.persistence.CascadeType;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.OneTo... | true |
03629932a16be742e1ff31e3a1883e617e31a4f1 | Java | zach-hu/srr_java8 | /PuridiomCommon/src/com/tsa/puridiom/entity/RecentReqItemPK.java | UTF-8 | 2,666 | 2.359375 | 2 | [] | no_license | package com.tsa.puridiom.entity;
import com.tsa.puridiom.common.utility.HiltonUtility;
import java.io.Serializable;
import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;
/** @author Hibernate CodeGenerato... | true |
29e96d0d30309862c0c5e978a1765cf1ce7ba5b3 | Java | mcooling/javalabs | /Lab 07 (Arrays)/src/myPackage/Ex3TextProcessing.java | UTF-8 | 1,850 | 4.5 | 4 | [] | no_license | package myPackage;
public class Ex3TextProcessing
//CREATE NEW method call
//CREATE NEW method
//create a string variable
//transform the string into an array
//create a counter variable to 'count' the number of times a letter appears
//create a loop counter, to loop through each character in the array
//check i... | true |
8126b7faf3798447a03251ffe5a5acdbd8968793 | Java | kenjs/NightFury | /src/com/TroyEmpire/NightFury/Ghost/Service/MapService.java | UTF-8 | 7,206 | 2.375 | 2 | [] | no_license | package com.TroyEmpire.NightFury.Ghost.Service;
import java.util.ArrayList;
import java.util.List;
import android.app.Activity;
import android.content.Context;
import android.content.SharedPreferences;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.os.Environme... | true |
ff3df8e17b9ad0be9133b27a79120058545cfc70 | Java | Michael-1990/Michael-s-repo | /MFeykLandingPage/Assignment9/src/Question1.java | UTF-8 | 348 | 3.109375 | 3 | [] | no_license | import java.util.*;
public class Question1 {
public void DisplayAll(){
Iterator<String> nameIterator = phoneBook.getKeyIterator();
Iterator<String> numberIterator = phoneBook.getValueIterator();
while (nameIterator.hasNext())
System.out.println(nameIterator.next() + ", " + numb... | true |
532467d6b3b29faf3196f456c7ed910dbe036fbd | Java | miladomiki/Assignment_6 | /src/abstractFactory/VictorianCoffeeTable.java | UTF-8 | 274 | 3.03125 | 3 | [] | no_license | package abstractFactory;
public class VictorianCoffeeTable implements CoffeeTable{
public VictorianCoffeeTable(){
}
@Override
public void sitAt() {
System.out.println("You sat at the victorian coffe table. You feel wealthy.");
}
}
| true |
9308c55f1d7a89d5f808b66eca7f923648bfd979 | Java | techgurukulbharat/mapstruct | /examples/differentfieldmapping/src/main/java/com/techgurukul/mapstruct/differentfieldmapping/StudentDTO.java | UTF-8 | 559 | 2.46875 | 2 | [] | no_license | package com.techgurukul.mapstruct.differentfieldmapping;
public class StudentDTO {
private String firstName;
private Integer rollNumber;
private String email;
public String getFirstName() {
return firstName;
}
public void setFirstName(String firstName) {
this.firstName = firstName;
}
public Integer get... | true |
712cf9118b18f09845bee39a87594018726c62c3 | Java | hdwww/Road-Name | /src/main/java/views/MainController.java | UTF-8 | 2,930 | 2.296875 | 2 | [] | no_license | package views;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.net.URLEncoder;
import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
import org.jsoup.select.Elements;
i... | true |
526d5ead936c860a350e4640c5ac052b1e4db69f | Java | ZionTech/cas | /cas-server-core/src/main/java/org/jasig/cas/AbstractCentralAuthenticationService.java | UTF-8 | 13,557 | 1.796875 | 2 | [
"Apache-2.0"
] | permissive | package org.jasig.cas;
import java.io.Serializable;
import java.util.Collection;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import javax.annotation.Resource;
import javax.validation.constraints.NotNull;
import org.jasig.cas.authentication.AcceptAnyAuthenticationPolicyFactory;
import ... | true |
c802b2aabb67850142deca028d5a467cb3c78d29 | Java | nehamolakallapalli/Inventorymgt | /inventorymgt/src/main/java/com/dxctraining/inventorymgt/item/controller/ComputerController.java | UTF-8 | 2,184 | 2.390625 | 2 | [] | no_license | package com.dxctraining.inventorymgt.item.controller;
import java.util.List;
import javax.annotation.PostConstruct;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.we... | true |
6b3d2e6300f8b1833c11b91995ee9b43e493a184 | Java | DeliriumTremens/inna | /inna-sinai-web/src/main/java/com/inna/sinai/web/vo/ReportSearch.java | UTF-8 | 445 | 1.757813 | 2 | [] | no_license | package com.inna.sinai.web.vo;
import java.util.Date;
public class ReportSearch {
private Date initialDate;
private Date finalDate;
public Date getInitialDate() {
return initialDate;
}
public void setInitialDate(Date initialDate) {
this.initialDate = initialDate;
}
public Date getF... | true |
8c56f4e8766b07d1b90a295abd9d20acc34eeb7c | Java | huxiaojun0/mu-sso | /spring-ldap-demo/src/main/java/com/muyh/dao/TPermissionMapper.java | UTF-8 | 1,416 | 1.789063 | 2 | [] | no_license | package com.muyh.dao;
import com.muyh.model.TPermission;
public interface TPermissionMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table t_permission
*
* @mbggenerated
*/
int deleteByPrimaryKey(Integer id);
/**
* Thi... | true |
32a07cec9d677bddc48a65be087754a9e0c8411d | Java | HumanLeung/Cloud | /cloud-consumerconsul-order80/src/main/java/com/company/springcloud/OrderConsulMain80.java | UTF-8 | 479 | 1.539063 | 2 | [] | no_license | package com.company.springcloud;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
/**
* @author HumanLeung
* @create 2021/10/2 13:58
*/
@SpringBootApplication
@EnableDisc... | true |
f0df04c6db7d09c9455834069bb6c03454a6d8c7 | Java | rafaela-t/Vendas | /p_corporativos/src/main/java/com/prova/p_corporativos/Model/Cotacao.java | UTF-8 | 1,050 | 2.203125 | 2 | [] | no_license | package com.prova.p_corporativos.Model;
import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.OneToOne;
import javax.persistence.Table;
@Entity
@Table(name = "cotacao")
public class Cotacao extends AbstractEntity{
private float preco_final;
private String prazo_entrega;
... | true |
e67c782b6b52c2cba5f66be0e27050ff21bc1a83 | Java | Strivema/designPartern | /src/com/xiaowei/factory/simpele/Pizza.java | UTF-8 | 269 | 2 | 2 | [] | no_license | package com.xiaowei.factory.simpele;
/**
* @athour Marie
* @date 2018/11/7 8:24 PM
**/
public abstract class Pizza {
public void prepare(){
}
public void bake(){
}
public void cut(){
}
public void box(){}
public void pizza(){}
}
| true |
09d9f75c29929f906fb892d281a179d9a90222c0 | Java | fuentesj/daily_programmer | /src/challenge293_easy/wirecuttingrules/GreenWireCuttingRule.java | UTF-8 | 560 | 2.640625 | 3 | [] | no_license | package challenge293_easy.wirecuttingrules;
import challenge293_easy.WireColor;
import java.util.Arrays;
import java.util.HashSet;
/**
* Created by Jonathan on 6/16/17.
*/
public class GreenWireCuttingRule extends WireCuttingRule {
public GreenWireCuttingRule() {
this.setCurrentColor(WireColor.GREEN);... | true |
d58d19a92ecdbfc6b41718ce6aadbd9e31cca8d4 | Java | Softkeydel/TestBigApp | /app/src/main/java/com/example/pasari/testbigapp/fragment/CommonFragment.java | UTF-8 | 1,527 | 2.0625 | 2 | [] | no_license | package com.example.pasari.testbigapp.fragment;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com... | true |
802289a2efadf7d8ae8f479706e3dc7eb6c04aaa | Java | testinfected/simple-petstore | /domain/src/main/java/org/testinfected/petstore/billing/CorrectCardNumber.java | UTF-8 | 1,443 | 2.796875 | 3 | [] | no_license | package org.testinfected.petstore.billing;
import org.testinfected.petstore.validation.Constraint;
import org.testinfected.petstore.validation.Path;
import org.testinfected.petstore.validation.Report;
import java.io.Serializable;
import java.util.regex.Pattern;
public class CorrectCardNumber implements Constraint<St... | true |
4ba9cb6b38cc547c7ede40b7fbf19f744fb70390 | Java | Shiiiiiy/ams-approveflow | /src/main/java/com/uws/apw/model/MulApproveResult.java | UTF-8 | 515 | 1.976563 | 2 | [] | no_license | package com.uws.apw.model;
import java.util.List;
/**
* 流程审批结果
*/
public class MulApproveResult {
private List<ApproveResult> results;
private String resultFlag;
public List<ApproveResult> getResults() {
return results;
}
public void setResults(List<ApproveResult> results) {
this.... | true |
7c1afdb96c383a4a214ed939b91b6483fa08e659 | Java | TheMCBrothers/Useful-Machinery | /src/main/java/themcbros/usefulmachinery/container/MachineContainer.java | UTF-8 | 2,341 | 2.4375 | 2 | [
"MIT"
] | permissive | package themcbros.usefulmachinery.container;
import net.minecraft.entity.player.PlayerEntity;
import net.minecraft.entity.player.PlayerInventory;
import net.minecraft.inventory.container.Container;
import net.minecraft.inventory.container.ContainerType;
import net.minecraft.inventory.container.Slot;
import net.minecra... | true |
491080a58bca9e8760de1c2702dd1f3eb78747ad | Java | dehkadehooshmand/android-taxi-driver | /app/src/main/java/ir/idpz/taxi/driver/Adapter/HistoryAdapter.java | UTF-8 | 4,718 | 1.992188 | 2 | [] | no_license | package ir.idpz.taxi.driver.Adapter;
import android.app.Activity;
import android.content.Context;
import android.graphics.Typeface;
import android.support.annotation.NonNull;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
impo... | true |
ab13ddb586825e4fdf73f3c00b9318cde9cf8a8e | Java | zhongxingyu/Seer | /Diff-Raw-Data/2/2_65f815ec08ecac28e37b72e7b168c3d85e216b16/Game/2_65f815ec08ecac28e37b72e7b168c3d85e216b16_Game_t.java | UTF-8 | 4,002 | 2.0625 | 2 | [] | no_license | /**
* Copyright (C) 2011 Julien SMADJA <julien dot smadja at gmail dot 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.or... | true |
7ebc92db6a0269da7a26472d756cf72af0a0b73b | Java | longxing/AndroidTestDemo | /udpServer/src/com/example/udpserver/UdpThreadTools.java | UTF-8 | 1,385 | 2.390625 | 2 | [] | no_license | package com.example.udpserver;
import java.net.DatagramPacket;
import java.net.InetAddress;
import java.net.MulticastSocket;
public class UdpThreadTools {
/*** send udp data type **/
public final static int SEND_UDP_DATAGRAM = 0;
public final static int RESPONSE_UDP_DATAGRAM = 1;
public final static int... | true |
d00456c9bee7708d7b1dfb70a8f35cf0e56ef479 | Java | kedarvdm/OnlineAuctioning | /OnlineAuctioning/src/Business/Enterprise/AdvertiserEnterprise.java | UTF-8 | 1,373 | 2.1875 | 2 | [] | no_license | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package Business.Enterprise;
import Business.Advertiser.Advertisement.AdvertisementDirectory;
import Business.Advertiser.DemandSidePla... | true |
469b430d1795a504c9865173d1bd9ef55c8a7ee0 | Java | Givou/LoginSystem | /LoginSystem/ActionbarPackage.java | UTF-8 | 683 | 2.125 | 2 | [] | no_license | package LoginSystem;
import org.bukkit.craftbukkit.v1_8_R3.entity.CraftPlayer;
import org.bukkit.entity.Player;
import net.minecraft.server.v1_8_R3.IChatBaseComponent;
import net.minecraft.server.v1_8_R3.IChatBaseComponent.ChatSerializer;
import net.minecraft.server.v1_8_R3.PacketPlayOutChat;
public class A... | true |
a8d349ba6fd079187212b78b00e1f70552e3d007 | Java | wulin-challenge/bjhy_data_sync_db | /data-sync-db-example/src/main/java/com/bjhy/db/converter/service/impl/BatchSyncServiceImpl.java | UTF-8 | 4,629 | 1.734375 | 2 | [] | no_license | package com.bjhy.db.converter.service.impl;
import org.springframework.stereotype.Service;
import com.bjhy.data.sync.db.core.BaseAsynchronousBatchCommitCode;
import com.bjhy.data.sync.db.domain.SingleRunEntity;
import com.bjhy.data.sync.db.domain.SyncTemplate;
import com.bjhy.db.converter.listener.BatchSyncListener;
... | true |
52da1e91fd6b22d8d1234b57d6b7d66ac75131b3 | Java | cc8848/DessertHouse | /dessertHouse/dessert/src/dessert/dao/ScheduleDao.java | UTF-8 | 1,051 | 2.28125 | 2 | [] | no_license | package dessert.dao;
import java.sql.Date;
import java.util.ArrayList;
import dessert.models.ScheduleDetail;
import dessert.models.WeekSchedule;
public interface ScheduleDao {
public boolean saveSchedule(WeekSchedule schedule);
public WeekSchedule findSchedule(String scheduleId);
public ArrayList<WeekSchedu... | true |
0e6f45be25158ee1eec0e8b708989a400f257476 | Java | allyixi/HuToolTest | /src/test/java/Util/UnicodeUtilTest.java | UTF-8 | 648 | 3.171875 | 3 | [] | no_license | package Util;
import cn.hutool.core.text.UnicodeUtil;
import org.junit.Test;
public class UnicodeUtilTest {
// Unicode编码转换工具
@Test
public void test01() {
// 字符串转Unicode符
//第二个参数true表示跳过ASCII字符(只跳过可见字符)
String s = UnicodeUtil.toUnicode("aaa123中文", true);
// aaa123\u4e2d\u658... | true |
821b004c087803c4461407db06ab9eb9ed3b0f8a | Java | dc6273632/LGame | /Java/Loon-Neo/src/loon/utils/res/FontSheet.java | UTF-8 | 910 | 2.265625 | 2 | [
"Apache-2.0"
] | permissive | package loon.utils.res;
import loon.BaseIO;
import loon.Json;
import loon.LRelease;
import loon.LSystem;
import loon.LTexture;
import loon.LTextures;
public class FontSheet implements LRelease {
private TextureAtlas _texAtlas = null;
public LTexture sheet() {
return _texAtlas.img();
}
public TextureData getC... | true |
77b0e22e6da8589011e16eca9414cf6d3fb4755d | Java | kang2011/JAVASwingFlashWindow | /src/User32.java | UTF-8 | 834 | 2.078125 | 2 | [] | no_license |
import com.sun.jna.Library;
import com.sun.jna.Native;
import com.sun.jna.Platform;
import com.sun.jna.platform.win32.WinDef.HWND;
public interface User32 extends Library {
@SuppressWarnings("deprecation")
User32 INSTANCE = (User32) Native.loadLibrary((Platform.isWindows() ? "user32" : "c"), User32.class);
boole... | true |
c9dd76fee59604ecb34066078a6633a00117c16c | Java | britolucaspatrick/appbolao | /app/src/main/java/com/example/patri/appbolaoprojeto/CustomAdapter/ArrayAdapterJogoRodada.java | UTF-8 | 1,922 | 2.28125 | 2 | [] | no_license | package com.example.patri.appbolaoprojeto.CustomAdapter;
import android.content.Context;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android... | true |
e21d7d3869e04283ce4fab8a9a7ab73ee4ccd401 | Java | Nefaur/Heatclinic.bdd | /src/test/java/com/heatclinic/junittests/ScriptBaseJUnit.java | UTF-8 | 1,209 | 2.40625 | 2 | [] | no_license | package com.heatclinic.junittests;
import java.util.concurrent.TimeUnit;
import org.junit.AfterClass;
import org.junit.BeforeClass;
import com.heatclinic.framework.DriverFactory;
import com.heatclinic.pages.PageManager;
import com.heatclinic.tests.TestBase;
import com.heatclinic.utilities.ScreenCapture;
public class ... | true |
deaf9fdef82e5146554ebd0d08b37b9100c2ab62 | Java | nfebrian13/invoicescheduler | /SchedulerAppku/src/com/nana/bankapp/entity/CustomerEntity.java | UTF-8 | 3,191 | 2.125 | 2 | [] | no_license | package com.nana.bankapp.entity;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
@Entity
@Table(name = "mst_customer")
public class CustomerEntity {
@Id
@Column(name = "CUSTOMER_ID")
protected Str... | true |
13832f8cccfae505606727348de97b9c7de91994 | Java | philipraath/HangMan | /src/HangmanTUI.java | UTF-8 | 4,847 | 3.59375 | 4 | [] | no_license | import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.Scanner;
import java.util.Set;
public class HangmanTUI extends AbstractHangmanUI {
// protected BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
private static Sc... | true |
387ffcba041460999f7c996f9bc2a07d7bb21195 | Java | loipn1804/Beetrack | /app/src/main/java-gen/greendao/SessionDao.java | UTF-8 | 6,944 | 2.1875 | 2 | [] | no_license | package greendao;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteStatement;
import de.greenrobot.dao.AbstractDao;
import de.greenrobot.dao.Property;
import de.greenrobot.dao.internal.DaoConfig;
import greendao.Session;
// THIS CODE IS GENERATED BY... | true |
e9c658b811fa815512f6175a385ba0a5a5f9af65 | Java | suleymanozay/Project1 | /src/test/java/com/syntax/pages/AddDependentsPageWebElements.java | UTF-8 | 682 | 1.921875 | 2 | [] | no_license | package com.syntax.pages;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
import org.openqa.selenium.support.PageFactory;
import com.syntax.utils.CommonMethods;
public class AddDependentsPageWebElements extends CommonMethods{
@FindBy(id = "dependent_name")
public WebElement depN... | true |
4019f8ea84a2b5efe64ee89e3e0b63674c9a1398 | Java | SzuMusic/SzuMusicApp | /SzuMusicApp/app/src/main/java/com/szumusic/szumusicapp/ui/widget/CircleView.java | UTF-8 | 3,892 | 2.21875 | 2 | [] | no_license | package com.szumusic.szumusicapp.ui.widget;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.BitmapShader;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Matrix;
... | true |
c45495a1b4fc3b0d09393599726d248ba4c738cc | Java | lukaszog/WzB | /src/main/java/pl/lenda/marcin/wzb/repository/Reserved_ItemsRepository.java | UTF-8 | 570 | 1.921875 | 2 | [] | no_license | package pl.lenda.marcin.wzb.repository;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;
import pl.lenda.marcin.wzb.entity.Reserved_Items;
import java.util.List;
/**
* Created by Promar on 26.11.2016.
*/
@Repository
public interface Reserved_Item... | true |
e9c1bd6416770b0c9914068052f4624e4724c09c | Java | lishulongVI/leetcode | /java/680.Valid Palindrome II(验证回文字符串 Ⅱ).java | UTF-8 | 1,738 | 3.546875 | 4 | [
"MIT"
] | permissive | /**
<p>
Given a non-empty string <code>s</code>, you may delete <b>at most</b> one character. Judge whether you can make it a palindrome.
</p>
<p><b>Example 1:</b><br />
<pre>
<b>Input:</b> "aba"
<b>Output:</b> True
</pre>
</p>
<p><b>Example 2:</b><br />
<pre>
<b>Input:</b> "abca"
<b>Output:</b> True
<b>Explanation:... | true |
16a5301bca11810dca4cecbe768eea7c1fc86198 | Java | nathan-devroy1217/FantasyFootballDataModule | /src/main/java/com/nathan/FantasyFootballDataModule/dao/impl/RosterWeekDaoImpl.java | UTF-8 | 1,644 | 2.328125 | 2 | [] | no_license | package com.nathan.FantasyFootballDataModule.dao.impl;
import com.nathan.FantasyFootballDataModule.dao.IRosterWeekDao;
import com.nathan.FantasyFootballDataModule.model.RosterWeek;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframewo... | true |
2596f4013e6e41fef0494c76a610823d2d21cb0b | Java | unica-open/siacbilitf | /src/main/java/it/csi/siac/siacfinser/frontend/webservice/msg/LeggiTreeContoEconomico.java | UTF-8 | 1,100 | 1.820313 | 2 | [] | no_license | /*
*SPDX-FileCopyrightText: Copyright 2020 | CSI Piemonte
*SPDX-License-Identifier: EUPL-1.2
*/
package it.csi.siac.siacfinser.frontend.webservice.msg;
import javax.xml.bind.annotation.XmlType;
import it.csi.siac.siaccorser.model.ServiceRequest;
import it.csi.siac.siacfinser.frontend.webservice.FINSvcDictionary;
/**... | true |
963d37c272f1d349dd5254070bd5ce11096d1712 | Java | martinmallen/sistema_ventas | /src/main/java/cl/accenture/curso_java/sistema_ventas/controlador/CrearUsuarioCtrl.java | UTF-8 | 6,452 | 1.976563 | 2 | [] | no_license | /**
*
*/
package cl.accenture.curso_java.sistema_ventas.controlador;
import java.io.Serializable;
import java.security.NoSuchAlgorithmException;
import java.sql.SQLException;
import java.util.List;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.RequestScoped;
import cl.accenture.curso_java.sistema_v... | true |
080e109cdb6201906dc7bcf52fb24f4dd61a4340 | Java | oyorooms/hue | /desktop/core/ext-py/py4j-0.9/py4j-java/test/py4j/model/ModelTester.java | UTF-8 | 4,334 | 2.140625 | 2 | [
"Apache-2.0"
] | permissive | /*******************************************************************************
* Copyright (c) 2010, 2011, Barthelemy Dagenais All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* - Redistrib... | true |
3a514ce646fcd1fe4c6b41fd355d0a8ab8663c2f | Java | cha63506/CompSecurity | /JC-Penney/src/com/android/b/ac.java | UTF-8 | 569 | 1.546875 | 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.android.b;
// Referenced classes of package com.android.b:
// n
public class ac extends Exception
{
public final n... | true |
9666131c76f5ccec0f37f711184cd8aa17eb9653 | Java | linzs150/education | /app/src/main/java/com/newtonacademic/newtontutors/activities/QuestionActivity.java | UTF-8 | 7,868 | 1.804688 | 2 | [] | no_license | package com.newtonacademic.newtontutors.activities;
import android.os.Bundle;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.text.TextUtils;
import android.view.View;
import android.widget.RelativeLayout;
import android.widget.TextView;
import com.a... | true |
0d3ef91f85bf3104178157eea7db67ca90b9d534 | Java | ZPyhagoras/EverydayLeetcode | /Leetcode10.java | UTF-8 | 1,871 | 2.90625 | 3 | [] | no_license | import java.util.HashMap;
import java.util.Map;
public class Leetcode10 {
public boolean isMatch(String s, String p) {
Map<Integer, Map<Character, Integer[]>> DFA = new HashMap<>();
char[] S = s.toCharArray(), P = p.toCharArray();
int ns = S.length, np = P.length;
int curState = 0, ... | true |
17c1c91f729608c3dd5387aa7ddcbb2af8544790 | Java | cliicy/autoupdate | /Central/Server/EdgeAppBaseServiceImpl/src/com/ca/arcserve/edge/app/base/schedulers/policymanagement/policydeployment/deploytaskrunner/UnifiedDeployTaskRunner.java | UTF-8 | 11,651 | 1.679688 | 2 | [] | no_license | package com.ca.arcserve.edge.app.base.schedulers.policymanagement.policydeployment.deploytaskrunner;
import java.util.List;
import org.apache.log4j.Logger;
import com.ca.arcserve.edge.app.base.appdaos.IEdgePolicyDao;
import com.ca.arcserve.edge.app.base.dao.impl.DaoFactory;
import com.ca.arcserve.edge.app.base.sched... | true |
8bf5c4126bd34c9391b37eaff3547ce8fb0a3e64 | Java | sIvanovKonstantyn/demo-bank-app | /deposit-service/src/main/java/com/home/demos/deposit/infrastructure/KafkaTopicsListener.java | UTF-8 | 3,654 | 2.359375 | 2 | [] | no_license | package com.home.demos.deposit.infrastructure;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.home.demos.deposit.application.services.DepositService;
import lombok.Setter;
import org.springframework.beans.factory.annotation.Autowired;
import or... | true |
883d3f6b7b0fb384a90f3155d924ac3f13ec97de | Java | hooji/rameses | /src/main/java/javax/io/StringOutputStream.java | UTF-8 | 1,002 | 3.015625 | 3 | [
"Apache-2.0"
] | permissive | package javax.io;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.nio.charset.Charset;
public class StringOutputStream extends ByteArrayOutputStream {
protected Charset characterSet = Charset.defaultCharset();
public StringOutputStream() {
super();
}
public StringOutputStream(... | true |
ef909571bad6bb7155c969338a79a54eee755ef1 | Java | afrikgenius/enipro-mobile | /app/src/main/java/com/enipro/presentation/requests/RequestBroadcastReceiver.java | UTF-8 | 735 | 2.234375 | 2 | [] | no_license | package com.enipro.presentation.requests;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import com.enipro.model.Constants;
/**
* Broadcast receiver that receives broadcast messages from notification requests for
* circle, network, mentoring and tutoring re... | true |
b979294c08aa8e66c4d01691d29921263c5ee4db | Java | ViktorDimitrov1989/JavaOOP-Fundamentals-Exam | /src/needForSpeed/races/CasualRace.java | UTF-8 | 1,181 | 3.03125 | 3 | [] | no_license | package needForSpeed.races;
import needForSpeed.cars.Car;
import java.util.List;
import java.util.stream.Collectors;
public class CasualRace extends Race{
public CasualRace(int length, String route, int prizePool) {
super(length, route, prizePool);
}
@Override
protected int calculatePerforma... | true |
998cd8ba44eab0b54f069d8d3909c0bd90b06176 | Java | Wells-ING/warehouse | /src/cn/wellswang/service/ModifyGoodsService.java | UTF-8 | 342 | 1.96875 | 2 | [] | no_license | package cn.wellswang.service;
import cn.wellswang.dao.GoodsInfoDAO;
import cn.wellswang.dao.impl.GoodsInfoDAOImpl;
import cn.wellswang.entity.Goods;
public class ModifyGoodsService {
public static Integer modifyGoods(Goods newGoods) {
GoodsInfoDAO g = new GoodsInfoDAOImpl();
return g.updateGoodsIn... | true |
3141f5c66be7dfb1174c25ed0872ef0e41debd0d | Java | Vaghelarahul/ImageApp | /app/src/main/java/com/example/batman/eckovationtask/animation/CustomAnimation.java | UTF-8 | 2,048 | 2.15625 | 2 | [] | no_license | package com.example.batman.eckovationtask.animation;
import android.animation.Animator;
import android.os.Build;
import android.support.animation.DynamicAnimation;
import android.support.animation.SpringAnimation;
import android.support.annotation.RequiresApi;
import android.view.View;
import android.view.ViewAnimatio... | true |
987e718a28dafb7def95f876b1ded3fa0eb2531e | Java | nihadatakishiyev/hashcode2020 | /Main.java | UTF-8 | 5,229 | 2.984375 | 3 | [] | no_license | import java.io.*;
import java.util.*;
public class Main {
public static Integer book_count;
public static Integer library_count;
public static Integer days;
public static List<Book> scores = new ArrayList<>();
public static List<Library> libraries = new ArrayList<>();
public static c... | true |
12c8753d04abd1f24f90616a6bb04f3e1bb4a6c6 | Java | RajasekharBandi/codility-solutions-1 | /src/main/java/com/rmacedo/codility/lesson_03_01/Solution1.java | UTF-8 | 823 | 3.234375 | 3 | [
"MIT"
] | permissive | package com.rmacedo.codility.lesson_03_01;
public class Solution1 implements SolutionInterface {
public static void main(String... args) {
Solution1 s = new Solution1();
System.out.println(s.solution(new int[]{3, 1, 2, 4, 3}));
System.out.println(s.solution(new int[]{-1000, 1000}));
... | true |
fee392d01605c065133ee2042b571a883e8e089b | Java | CSC361-Final-Project/filteringproject | /src/filtering/Filtering.java | UTF-8 | 3,608 | 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 filtering;
import static filtering.ComplexNumber.printComplexVectorCSV;
import static filtering.ComplexNumber.vector... | true |
d563b71666796cd923cce754b0d20e8e862b4e46 | Java | RyanTech/mobile-2 | /bjmobileadapterV3/src/cn/com/ultrapower/eoms/user/comm/function/PrivateFieldInfo.java | UTF-8 | 2,268 | 2.609375 | 3 | [] | no_license | package cn.com.ultrapower.eoms.user.comm.function;
/**
* @创建作者:wuwenlong
* @创建时间:2006-11-19
* @类的说明:将Remedy的Form中的field进行封装
*/
public class PrivateFieldInfo {
private String strFieldID;
private String strFieldValue;
private int intFieldType;
private String sparator;
public PrivateFieldInfo()
{
... | true |
cc846a8d0f517776a84cdb6b4754845005a78251 | Java | equipeazul/ProjetoPooVendas | /Vendas/src/vendas/Entidades/PedidoProduto.java | UTF-8 | 962 | 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 vendas.Entidades;
/**
*
* @author aluno
*/
public class PedidoProduto {
private Produto produto;
... | true |
5b85191b5a38adb208ea098185f69aa45b6f033c | Java | Yashwanth-36/java-program | /Demo.java | UTF-8 | 114 | 1.953125 | 2 | [] | no_license | class Demo1
{
public static void main(String args[])
{
int i=0;
while(i!=0)
{
Sytem.out.println(i);
i++;
}
}
| true |
6101df0b6a7d8cf0fd762a64c4359f48013b56c2 | Java | pertinee/CCBlog | /src/main/java/com/lcz/blog/bean/UserBean.java | UTF-8 | 2,256 | 2.375 | 2 | [] | no_license | package com.lcz.blog.bean;
import java.io.Serializable;
import java.util.Date;
/**
* Created by luchunzhou on 16/2/23.
* 对应 t_user 表
* id 用户id
* type 用户类型,0代表普通用户,1代表管理员
* username 用户名
* password 用户密码
* nickname 用户昵称
* email 用户邮箱
* website 用户网站
* image 用户头像地址... | true |
7bd0b0ad53cc68eae1abaf6bd5a6778e279a4dc1 | Java | AlvinGenta99/Dummy_SBD | /app/src/main/java/com/example/jfood_android/Activities/LoginActivity.java | UTF-8 | 3,550 | 2.25 | 2 | [] | no_license | package com.example.jfood_android.Activities;
import androidx.appcompat.app.AppCompatActivity;
import android.content.*;
import android.os.*;
import android.util.Log;
import android.view.*;
import android.widget.*;
import com.android.volley.RequestQueue;
import com.android.volley.Response;
import com.android.volley.V... | true |
943ff32c54c4e9914205b785c0587f70567a27e4 | Java | ChristianBirchler/santorini-server | /src/main/java/ch/uzh/ifi/seal/soprafs19/response/ErrorResponse.java | UTF-8 | 323 | 2.328125 | 2 | [
"Apache-2.0"
] | permissive | package ch.uzh.ifi.seal.soprafs19.response;
public class ErrorResponse {
private String reason;
public ErrorResponse(String reason){
this.reason = reason;
}
public void setReason(String reason){
this.reason = reason;
}
public String getReason() {
return reason;
}... | true |
752da34f5e88a9b47e9b0dbf8c88fd3101a42c9d | Java | matthiasbergneels/dhbwmawwi2020seb | /test/lecture/chapter13/SortAlgorithmsTest.java | UTF-8 | 7,492 | 2.90625 | 3 | [] | no_license | package test.lecture.chapter13;
import lecture.chapter13.SortAlgorithms;
import org.junit.jupiter.api.*;
import java.time.Duration;
import static org.junit.jupiter.api.Assertions.*;
class SortAlgorithmsTest {
static int count = 5000;
static int randomRange = 3000000;
static int[] toSort = null;
@D... | true |
69f812af7f4d08eca091b76ede8f96cc4c6cb87f | Java | classicjay/andromeda | /src/main/java/com/bonc/dw3/bean/QueryDataObject.java | UTF-8 | 1,728 | 1.914063 | 2 | [] | no_license | package com.bonc.dw3.bean;
import java.util.List;
/**
* Created by gp on 2017/8/17.
*/
public class QueryDataObject {
//账期
private String acctDate;
//指标编码
private String kpiCode;
//省份id
private String provId;
//地市id
private String areaNo;
//渠道
private List<String> channel;
... | true |
0601dd82300dfb0eaf07ac6e8970f3223ef3550a | Java | jenkins-infra/update-center2 | /src/main/java/io/jenkins/update_center/LatestLinkBuilder.java | UTF-8 | 1,665 | 2.421875 | 2 | [] | no_license | package io.jenkins.update_center;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStreamWriter;
import java.io.PrintWriter;
import java.nio.charset.StandardCharsets;
import java.util.logging.Level;
import java.util.logging.Logger;
/**
* Generates latest/index.ht... | true |
ffbfcd73a0c652feb3c8adcac5a48f177ef10198 | Java | NKSEProjectTeam/NKSEProject | /Exchange/src/com/nankai/exchange/biz/impl/FindRequestBizImpl.java | UTF-8 | 11,350 | 1.859375 | 2 | [
"MIT"
] | permissive | package com.nankai.exchange.biz.impl;
import java.util.ArrayList;
import java.util.List;
import com.nankai.exchange.biz.IFindRequestBiz;
//import com.nankai.exchange.biz.INewBiz;
import com.nankai.exchange.dao.IBagsDao;
import com.nankai.exchange.dao.ICosmeticsDao;
import com.nankai.exchange.dao.IDailyprosDao;
imp... | true |
5d92333841de4f13e6f1b577f01ba94728fbba34 | Java | narendraprasadr/ArtemisFW | /RestAssuredLearning/src/com/keystone/Newmap.java | UTF-8 | 237 | 1.75 | 2 | [] | no_license | package com.keystone;
import java.util.HashMap;
public class Newmap {
HashMap<String,String> mp = new HashMap<String, String>(){
/**
*
*/
private static final long serialVersionUID = 1L;
{
put("aa","xy");
}
};
}
| true |
278bb88b9aac01cf9f308ded460dcec421440677 | Java | huaxiufeng/leetcode | /src/algorithm/java/LC355DesignTwitter.java | UTF-8 | 5,319 | 3.546875 | 4 | [] | no_license | package algorithm.java;
import java.util.Comparator;
import java.util.HashMap;
import java.util.HashSet;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import java.util.PriorityQueue;
import java.util.Set;
/**
* Created by huaxiufeng on 19/2/27.
*/
public class LC355DesignTwitter {
s... | true |
9a72567f557825ea68915028ee1dc4741f592fbc | Java | sengeiou/yunding_website2.0 | /src/main/java/com/yundingshuyuan/website/enums/ErrorCodeEnum.java | UTF-8 | 1,969 | 2.5 | 2 | [] | no_license | package com.yundingshuyuan.website.enums;
import lombok.Getter;
/**
* @author: leeyf
* @create: 2019-01-29 17:54
* @Description: 错误类型
*/
@Getter
public enum ErrorCodeEnum {
/**
* 参数错误
*/
PARAM_ERROR(1001,"上传参数错误"),
/**
* 验证码错误
*/
CODE_ERROR(1002,"验证码获取错误"),
PHONE_CODE_ERROR... | true |
c7c9dc3089470de9eec1dc197a47d45a1214bb46 | Java | jygt/helloworld | /src/main/java/com/example/helloWorld/DruidConfiguration.java | UTF-8 | 1,474 | 1.992188 | 2 | [] | no_license | package com.example.helloWorld;
import com.alibaba.druid.support.http.StatViewServlet;
import com.alibaba.druid.support.http.WebStatFilter;
import org.springframework.boot.web.servlet.FilterRegistrationBean;
import org.springframework.boot.web.servlet.ServletRegistrationBean;
import org.springframework.context.annotat... | true |
49fb4ec138b249eee1a6f74fb3c3280bed68b56b | Java | apache/myfaces | /impl/src/main/java/org/apache/myfaces/context/servlet/FacesContextImpl.java | UTF-8 | 13,446 | 1.5625 | 2 | [
"Apache-2.0"
] | permissive | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | true |
f8bdcfd0f4fc70b966a9e0b21752c6e54adf26da | Java | kartikadhiainfinit/CCTChatService | /src/java/de/infinit/chatservice/Constants.java | UTF-8 | 736 | 1.796875 | 2 | [] | no_license | package de.infinit.chatservice;
public class Constants {
public static final String VERSION = "1.0.4.0";
public static final String TENANT_NAME_DEFAULT = "Telefonica_DE";
// LCA default values
public static final String LCA_HOST_DEFAULT = "localhost";
public static final int LCA_PORT_DEF... | true |
20fc39b19b40cceb2345db2167070179fe4e974e | Java | jieminy/yzt_demo | /yzt-demo-algorithm/src/main/java/com/yzt/jm/algorithm/search/str/RabinKarpMatcher.java | UTF-8 | 1,571 | 3.171875 | 3 | [] | no_license | package com.yzt.jm.algorithm.search.str;
import java.util.HashMap;
import java.util.Map;
/**
* @description: Rabin-Karp算法
* @author: jiemin
* @date: 2020-09-09 09:16
*/
public class RabinKarpMatcher {
/**
* 时间复杂度 o(n)
* @param majorStr
* @param pattenStr
* @return
*/
public stati... | true |
e82fbf262fce4bde34d809d9d97525031afb2d48 | Java | bobo19870225/LastCPT | /app/src/main/java/www/jingkan/com/view/chart/InterfaceDrawChartStrategy.java | UTF-8 | 725 | 2.34375 | 2 | [] | no_license | /*
* Copyright (c) 2018. 代码著作权归卢声波所有。
*/
package www.jingkan.com.view.chart;
import org.achartengine.util.IndexXYMap;
import java.util.List;
/**
* Created by lushengbo on 2018/1/4.
* 画图策略
*/
public interface InterfaceDrawChartStrategy {
void addOnePointToChart(float[] data);
void addPointsToChart(Li... | true |
08d3ff38a4f4f0d0b7c87a8fc1eb95b2df87604a | Java | phil-rice/Arc4Eclipse | /SoftwareFmImages/src/main/java/org/softwareFm/softwareFmImages/BasicImageRegister.java | UTF-8 | 1,814 | 2.28125 | 2 | [] | no_license | package org.softwareFm.softwareFmImages;
import org.eclipse.jface.resource.ImageRegistry;
import org.eclipse.swt.graphics.Device;
import org.eclipse.swt.widgets.Display;
import org.softwareFm.softwareFmImages.artifacts.ArtifactsAnchor;
import org.softwareFm.softwareFmImages.backdrop.BackdropAnchor;
import org.software... | true |
d8beb4e0151daa425259941f68be8bf2acff23c0 | Java | AmardeepPawar/ATREE | /AtreeGUI/src/controllers/SelectWorkSpaceController.java | UTF-8 | 4,105 | 2.09375 | 2 | [] | no_license | package controllers;
import java.io.File;
import java.util.Map;
import application.ATreeWorkSpace;
import application.KeyValueMapping;
import application.PopUpWindow;
import application.beans.ModulesGroupPropertyBean;
import caseDesigner.CurrentStatusIndicatorVariables;
import javafx.fxml.FXML;
import java... | true |
ba48985731f67ab3d42c502fcdf70cfa6cf2fb9b | Java | ltto/framework | /framework-core/src/main/java/com/tov2/framework/core/context/bean/AbstractBeanScanner.java | UTF-8 | 1,530 | 2.609375 | 3 | [] | no_license | package com.tov2.framework.core.context.bean;
import org.reflections.Reflections;
import org.reflections.scanners.SubTypesScanner;
import java.io.File;
import java.io.IOException;
import java.util.Enumeration;
import java.util.Set;
import java.util.TreeSet;
import java.util.jar.JarEntry;
import java.util.jar.JarFile;... | true |
2b92c10dcae8a0bbc4c9a9ffc9727a62e7e8aee1 | Java | UNAH-IS/IS201-I2020 | /UnidadII/EjemploHerencia/src/clases/Alumno.java | UTF-8 | 1,667 | 3.015625 | 3 | [] | no_license | package clases;
import java.util.Arrays;
public class Alumno extends Persona{
private String cuenta;
private double promedio;
public Alumno(
String identidad,
String nombre,
String apellido,
int edad,
String fechaNacimiento,
Carrera carrera,
String[] clases,
String centroRegional,
... | true |
4cf1c539ae473456ba51a47cab6540f4e30443ef | Java | chiangho/haoframe | /hao-base/src/main/java/hao/framework/db/page/PaginationInterceptor.java | UTF-8 | 4,909 | 1.875 | 2 | [] | no_license | package hao.framework.db.page;
import java.sql.Connection;
import java.util.Properties;
import org.apache.ibatis.cache.CacheKey;
import org.apache.ibatis.executor.Executor;
import org.apache.ibatis.mapping.BoundSql;
import org.apache.ibatis.mapping.MappedStatement;
import org.apache.ibatis.mapping.SqlSource;
import o... | true |
0f22c4cff64390490f2451d117d4202c010212a6 | Java | smanasawala52/hnak | /src/main/java/com/hnak/elastic/rest/controller/InsertTempDataController.java | UTF-8 | 38,903 | 1.96875 | 2 | [] | no_license | package com.hnak.elastic.rest.controller;
import java.io.BufferedReader;
import java.io.FileReader;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.apache.commons.collections.CollectionUtils;
import org.apache.commons.validator.Gener... | true |
b8adcb2640d199f7d95cfba591f387d1fdd8a326 | Java | aa41/WawaFramework | /component_share/src/main/java/com/duiba/component_main/service_impl/ShareResServiceImpl.java | UTF-8 | 688 | 1.6875 | 2 | [] | no_license | package com.duiba.component_main.service_impl;
import android.content.Context;
import com.alibaba.android.arouter.facade.annotation.Route;
import com.duiba.component_base.component.share.path.ShareRouterPath;
import com.duiba.component_base.component.share.rpc.IShareResService;
import com.duiba.component_share.R;
/*... | true |
9a854bdcb1087cba9e52052c477b38e0c3cb536d | Java | ojinxy/roms_web | /src/fsl/ta/toms/roms/amvswebservice/VehFitness.java | UTF-8 | 3,582 | 2.015625 | 2 | [] | no_license | //
// Generated By:JAX-WS RI IBM 2.2.1-07/09/2014 01:53 PM(foreman)- (JAXB RI IBM 2.2.3-07/07/2014 12:56 PM(foreman)-)
//
package fsl.ta.toms.roms.amvswebservice;
import java.io.Serializable;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annot... | true |
9d10ce0aac7467f8ee7ff881c837dda74ca6e3f8 | Java | AraceliColmenero/Practica1 | /Instrumento1/src/com/utng/asocicaciones1/Pedido.java | WINDOWS-1250 | 611 | 2.078125 | 2 | [] | no_license | package com.utng.asocicaciones1;
import java.util.Date;
/**
* * @author Araceli Colmenero * Ultima revision: Febrero 2016
*
* * Declaracion de la Clase Pedido *
*
*/
import java.util.List;
public class Pedido {
// Atributos
private double pe_id;
private Date pe_fechaPedido;
private Date pe_f... | true |
a89d52d16dec9dfd8996cc46bddc2f74d60a7d32 | Java | jguyet/ABCFile | /src/main/java/com/flagstone/transform/as3/abcfile/trait/Trait_class.java | UTF-8 | 1,858 | 2.265625 | 2 | [
"MIT"
] | permissive | package com.flagstone.transform.as3.abcfile.trait;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.util.ResourceBundle;
import com.flagstone.transform.as3.abcfile.utils.ByteBufferFlash;
import com.flagstone.transform.as3.abcfile.utils.Internatiolizer;
public class Trait_class
implements... | true |
6d119ac8cadc1df327fef3049e67016aeb5ac452 | Java | hollannikas/ssoidh | /src/main/java/fi/rudi/ssoidh/service/UserService.java | UTF-8 | 1,128 | 2.171875 | 2 | [
"MIT"
] | permissive | package fi.rudi.ssoidh.service;
import fi.rudi.ssoidh.domain.User;
import fi.rudi.ssoidh.domain.UserRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.authentication.AccountStatusUserDetailsChecker;
import org.springframework.security.core.userdetails.UserDet... | true |
1bda00dafee91596d987317e02feb41bcf586c57 | Java | qunniao/qmfx_api | /core/src/main/java/com/zhancheng/core/vo/UserBandCardVO.java | UTF-8 | 2,080 | 1.867188 | 2 | [] | no_license | package com.zhancheng.core.vo;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import ... | true |
e859f2a4a74523ea9c214ff5e7ac717d0a6b5a81 | Java | myflash163/springboot-demo | /src/main/java/com/example/bean/Person.java | UTF-8 | 1,268 | 2.609375 | 3 | [] | no_license | package com.example.bean;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
import org.springframework.validation.ann... | true |
6d90f77707b211d0039177e428e1658c8ebaafa4 | Java | Native-Note/recyclerView-contact-list | /app/src/main/java/com/nativenote/recyclerview/MainActivity.java | UTF-8 | 4,753 | 2.078125 | 2 | [] | no_license | package com.nativenote.recyclerview;
import android.Manifest;
import android.annotation.TargetApi;
import android.content.DialogInterface;
import android.content.pm.PackageManager;
import android.database.Cursor;
import android.os.Build;
import android.os.Bundle;
import android.provider.ContactsContract;
import androi... | true |
41d6f71abc338bfaa89b2c3fe92e0c2b6938d20a | Java | liuziangexit/QMR | /QMRWorld/src/com/game/server/gmchat/loader/GMChatConfigXmlLoader.java | UTF-8 | 1,792 | 2.28125 | 2 | [] | no_license | package com.game.server.gmchat.loader;
import java.io.FileInputStream;
import java.io.InputStream;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import org.apache.log4j.Logger;
import org.w3c.dom.Document;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
... | true |
6509af875f33a3cae64556bbad841f56f0d8fd2e | Java | cynepCTAPuk/headFirstJava | /HerbertSchildt/src/chap11_Multithreading/SuspendResume.java | UTF-8 | 2,179 | 4.34375 | 4 | [] | no_license | package chap11_Multithreading;
// Suspending and resuming a thread the modern way
class NewThread5 implements Runnable {
String name; // name of thread
Thread t;
boolean suspendFlag;
NewThread5(String name) {
this.name = name;
t = new Thread(this, name);
System.out.println("New... | true |
01d9931f35b5342a4266b1192c69a69998733b83 | Java | Desperado2/team-job | /src/main/java/com/desperado/teamjob/service/GitLogAnalysisServiceImpl.java | UTF-8 | 9,895 | 2.109375 | 2 | [] | no_license | package com.desperado.teamjob.service;
import com.desperado.teamjob.dao.GitCommitLogDao;
import com.desperado.teamjob.dao.ProjectDao;
import com.desperado.teamjob.domain.GitCommitLogs;
import com.desperado.teamjob.domain.Project;
import com.desperado.teamjob.dto.GitCommitChart;
import com.desperado.teamjob.dto.GitComm... | true |
96f27f783b1842e1cc104ef2ae136824450083a3 | Java | Fatima1375/DOSSIER-JAVA | /geolocalisation(TP5)/src/main/Main.java | UTF-8 | 467 | 2.125 | 2 | [] | no_license | package main;
import sn.isi.entities.Rn;
import sn.isi.entities.Zone;
import sn.isi.traitement.IRn;
import sn.isi.traitement.IZone;
import sn.isi.traitement.RnImpl;
import sn.isi.traitement.ZoneImpl;
import java.util.List;
public class Main {
public static void main(String[] args){
IRn rn = new RnImpl... | true |
e693ca28681b8bff6452ba6371b0c2bbd5003cdf | Java | viper44/JDBC_Practice | /db_practice/src/main/java/lesson3/Main.java | UTF-8 | 778 | 2.390625 | 2 | [] | no_license | package lesson3;
import org.hibernate.Session;
import org.hibernate.SessionFactory;
import org.hibernate.cfg.Configuration;
public class Main {
public static void main(String[] args) {
// Animal animal = new Animal("momo", 10, true);
// Animal animal1 = new Animal("keke", 2, false);
// animal... | true |
7efa5d2855e6e3542e5cd3f15ef76b85a7858260 | Java | nao99/training | /orders/src/main/java/com/luxoft/orders/api/OrderItemDto.java | UTF-8 | 723 | 2.359375 | 2 | [] | no_license | package com.luxoft.orders.api;
import com.luxoft.orders.domain.model.OrderItem;
import java.math.BigDecimal;
/**
* OrderItemDto class
*
* @author Nikolai Osipov <nao99.dev@gmail.com>
* @version 1.0.0
* @since 2021-07-31
*/
public class OrderItemDto {
private final OrderItem item;
public OrderItemDt... | true |
c2118fa2cb81608bfc2a41efcce3f1d9bd07a730 | Java | Pawelkrs90/UMCS_DB_SPRING_PROJEKT1 | /pmalek_project/src/main/java/com/project/pmalek_project/repository/model/BookOrder.java | UTF-8 | 1,755 | 2.46875 | 2 | [] | no_license | package com.project.pmalek_project.repository.model;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import java.sql.Date;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.time.LocalDate;
//@Getter
//@Setter
//@NoArgsConstructor
... | true |
a5d4a5223cbafe7f731ea63c111ecc3f08f5bb82 | Java | Rune-Status/sotr7-RS876 | /src/com/jagex/Interface57.java | UTF-8 | 255 | 1.570313 | 2 | [] | no_license | package com.jagex;
public interface Interface57 {
byte[] method372(int var1);
byte[] method373(int var1, byte var2);
byte[] method374(int var1);
byte[] method375(int var1);
byte[] method376(int var1);
byte[] method377(int var1);
}
| true |
d7bf82f7f6d84b26439dfcbf058f3bd89e9792b0 | Java | jgromeros/spatha | /src/main/java/co/qcsc/spatha/web/mb/converter/ProductSpecialtyConverter.java | UTF-8 | 258 | 1.609375 | 2 | [] | no_license | package co.qcsc.spatha.web.mb.converter;
import co.qcsc.spatha.domain.product.ProductSpecialty;
import org.springframework.roo.addon.jsf.converter.RooJsfConverter;
@RooJsfConverter(entity = ProductSpecialty.class)
public class ProductSpecialtyConverter {
}
| true |
98bde775236ad954002c94b7b301bfad2d54c98f | Java | zengyang2014/kafka-spike | /kafka-producer/src/main/java/SimpleProducer.java | UTF-8 | 1,814 | 2.78125 | 3 | [] | no_license | //import util.properties packages
import org.apache.kafka.clients.producer.KafkaProducer;
import org.apache.kafka.clients.producer.Producer;
import org.apache.kafka.clients.producer.ProducerRecord;
import org.apache.kafka.common.serialization.StringSerializer;
import java.util.Properties;
//import simple producer pac... | true |
7f1ba727bb902d72c1675fc09a6b135d07fb574e | Java | skokourov/faceId-library | /app/src/main/java/com/ipoint/faceid/lib/Token.java | UTF-8 | 3,107 | 2.3125 | 2 | [] | no_license | package com.ipoint.faceid.lib;
import android.util.Base64;
import com.android.volley.AuthFailureError;
import com.android.volley.Request;
import com.android.volley.RequestQueue;
import com.android.volley.Response;
import com.android.volley.VolleyError;
import com.android.volley.toolbox.StringRequest;
import org.json... | true |