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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
80634fb099dea904e7e5ea71482c94baff30568f | Java | iritgo/iritgo-aktera | /aktera-shell/src/main/java/de/iritgo/aktera/shell/groovyshell/GroovyShellThread.java | UTF-8 | 2,518 | 2.515625 | 3 | [
"Apache-2.0"
] | permissive | /**
* This file is part of the Iritgo/Aktera Framework.
*
* Copyright (C) 2005-2011 Iritgo Technologies.
* Copyright (C) 2003-2005 BueroByte GbR.
*
* Iritgo licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You m... | true |
2a70703719c7374f8ae73a7ec1edb11999509602 | Java | onap/so | /bpmn/MSOCommonBPMN/src/main/java/org/onap/so/bpmn/servicedecomposition/entities/ServiceModel.java | UTF-8 | 770 | 2.09375 | 2 | [
"Apache-2.0"
] | permissive | package org.onap.so.bpmn.servicedecomposition.entities;
import org.onap.so.db.catalog.beans.Service;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonRootName;
@JsonRootName("serviceModel")
public class ServiceModel {
@JsonProperty("currentService")
private Se... | true |
5a165749b9bfd2e6a67e4fe9d146851d08b5b667 | Java | ffang/xbean | /xbean-bundleutils/src/main/java/org/apache/xbean/osgi/bundle/util/BundleUtils.java | UTF-8 | 14,038 | 1.585938 | 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 |
0bc68914d50e2eca8813590f665cbd0b0a9ac6d9 | Java | lihum/flowable-engine | /modules/flowable-engine/src/test/java/org/flowable/engine/test/api/history/HistoryLevelServiceTest.java | UTF-8 | 15,071 | 1.914063 | 2 | [
"Apache-2.0"
] | permissive | /* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed... | true |
a0f17fcbcd37f7b9d641f35a7934caf49f745653 | Java | samantang/backAffaire | /affaires/src/main/java/org/bonnes/affaires/servicesImpl/FavoriServiceImpl.java | UTF-8 | 3,604 | 2.078125 | 2 | [] | no_license | /**
*
*/
package org.bonnes.affaires.servicesImpl;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.List;
import java.util.Locale;
import javax.transaction.Transactional;
import org.bonnes.affaires.dao.AnnonceRepository;
import org.bonnes.affair... | true |
373c442cc8b686daf27fcb751399feb0fa36e478 | Java | polydevops/unit-conversion-calculator | /src/main/java/com/polydevops/unit_conversion_calculator/unit/Quart.java | UTF-8 | 2,236 | 3.125 | 3 | [
"Apache-2.0"
] | permissive | package com.polydevops.unit_conversion_calculator.unit;
import com.polydevops.unit_conversion_calculator.UnitGroup;
import com.polydevops.unit_conversion_calculator.UnitType;
import com.polydevops.unit_conversion_calculator.throwable.InvalidConversionException;
/**
* Created by connor on 5/25/16.
*/
public class Qu... | true |
4bfdf8493df9f0ec1e0d1bf2ce329d5ea1df75f1 | Java | Ignorance-of-Dong/Algorithm | /leetcode_solved/leetcode_2437_Number_of_Valid_Clock_Times.java | UTF-8 | 928 | 3.03125 | 3 | [] | no_license | // AC: Runtime 0 ms Beats 100%
// Memory 41.8 MB Beats 50%
// judge from the right-most bit(from second)
// T:O(1), S:O(1)
//
class Solution {
public int countTime(String time) {
int ret = 1;
if (time.charAt(4) == '?') {
ret = 10;
}
if (time.charAt(3) == '?') {
... | true |
308949b859278b43a2c4715f46d5d6ab4ed709c7 | Java | VaniaRomero/tp2-Quidditch | /src/main/java/Guardian.java | UTF-8 | 1,988 | 3.109375 | 3 | [] | no_license | import java.util.Random;
public class Guardian extends Jugador {
private Integer nivelDeReflejos;
private Integer fuerza;
private Integer randomNumber = 3;
public Guardian(Integer skill, Integer nivelDeReflejos, Integer fuerza, Integer peso, Escoba escoba, Equipo equipo) {
super(peso, escoba, ... | true |
591aee1c81ed34c1918d91c5e949e3d483b4ca24 | Java | itangelawu/TrianglePuzzle | /src/main/java/com/angela/trianglePuzzle/Puzzle.java | UTF-8 | 1,716 | 3.515625 | 4 | [] | no_license | package com.angela.trianglePuzzle;
import java.io.File;
import java.io.IOException;
import java.util.*;
/**
* Created by Angela on 4/14/2017.
*/
public class Puzzle {
private Node start;
public Puzzle(Node n){
this.start = n;
}
public List<Integer> findMax(Node n) {
int path[] = ... | true |
c3b62031a6503e88ebfeb6b244cfd396c5030213 | Java | moutainhigh/lease_hc | /hc-lease-wx-adapter-api/src/main/java/com/hc/lease/wx/model/LeaseWxCar.java | UTF-8 | 10,953 | 1.945313 | 2 | [] | no_license | package com.hc.lease.wx.model;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
public class LeaseWxCar implements Serializable {
@ApiModelProperty(value = "主键id", hidden = false)
private Long id;
@ApiM... | true |
607eda02d9f84262d0a601e5dcd908be73a0534f | Java | rainmin/laputa | /app/src/main/java/com/rainmin/laputa/LoginActivity.java | UTF-8 | 1,365 | 2.078125 | 2 | [] | no_license | package com.rainmin.laputa;
import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
import android.text.TextUtils;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.Toast;
import com.rainmin.common.utils.HrefUtils;
public class LoginActi... | true |
1e0a04d8abcd89bc06d39b91552a5605dde348e1 | Java | qjafcunuas/jbromo | /jbromo-dao/jbromo-dao-jpa/jbromo-dao-jpa-model/src/test/java/org/jbromo/sample/server/model/src/compositepk/UserSurnamePk.java | UTF-8 | 1,658 | 2.328125 | 2 | [
"Apache-2.0"
] | permissive | package org.jbromo.sample.server.model.src.compositepk;
import javax.persistence.Column;
import javax.persistence.Embeddable;
import lombok.AccessLevel;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;
import org.jbromo.model.jpa.compositepk.AbstractCompositePk;
im... | true |
479882ed5fbe717a8573c1838861803c9085a6e4 | Java | slay-maker/SharedWorkspace | /Just Drive 2-14-18/src/org/usfirst/frc/team5608/robot/Robot.java | UTF-8 | 509 | 2.21875 | 2 | [] | no_license | package org.usfirst.frc.team5608.robot;
import edu.wpi.first.wpilibj.SampleRobot;
import edu.wpi.first.wpilibj.Timer;
@SuppressWarnings({ "deprecation", "unused" })
public class Robot extends SampleRobot {
RobotDrive m_robotDrive;
public Robot() {
}
@Override
public void robotInit() {
}
@Override
public voi... | true |
bd11c884b1428b1d938ef0478430920db84b3d01 | Java | galeb/galeb | /legba/src/main/java/io/galeb/legba/model/v1/Rule.java | UTF-8 | 1,448 | 1.96875 | 2 | [
"Apache-2.0"
] | permissive | /*
* Copyright (c) 2014-2018 Globo.com - ATeam
* All rights reserved.
*
* This source is subject to the Apache License, Version 2.0.
* Please see the LICENSE file for more information.
*
* Authors: See AUTHORS file
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the... | true |
a7015b9da5032e9e418f8b9e4b05a629957121ed | Java | Kuxha/Solutions-to-OOP-with-Java | /mooc-2013-OOProgrammingWithJava-PART2/week11-week11_40.Calculator/src/CalciListener.java | UTF-8 | 1,701 | 3.125 | 3 | [] | no_license |
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JButton;
import javax.swing.JPanel;
import javax.swing.JTextField;
public class CalciListener implements ActionListener {
private Calculator calculator;
private JTextField input;
private JTextField output;
pri... | true |
9cae9a3cba28017422e8f29eaa1e6667cda0a0c5 | Java | pankaj-sharma-hawk/learning-stuff | /springboot-auth-updated/src/main/java/com/auth0/samples/authapi/springbootauthupdated/keyauth/repository/ApplicationUserRepository.java | UTF-8 | 411 | 1.8125 | 2 | [] | no_license | package com.auth0.samples.authapi.springbootauthupdated.keyauth.repository;
import com.auth0.samples.authapi.springbootauthupdated.keyauth.model.ApplicationUser;
import org.springframework.data.jpa.repository.JpaRepository;
/**
* Created by pankaj on 02,2019
*/
public interface ApplicationUserRepository extends Jpa... | true |
4778bc79e3f74a5af52ff2e0b591683c6e305f5b | Java | asadbek-571/messanger-chat | /src/main/java/app/chat/service/impl/GroupUserServiceImpl.java | UTF-8 | 8,624 | 1.992188 | 2 | [] | no_license | package app.chat.service.impl;
import app.chat.entity.group.Group;
import app.chat.entity.group.GroupUser;
import app.chat.entity.group.GroupUserPermission;
import app.chat.entity.personal.Personal;
import app.chat.entity.user.User;
import app.chat.enums.ChatPermissions;
import app.chat.enums.ChatRoleEnum;
import app.... | true |
fa4858fe73ecbfa18e88ece110a99b3f71fb01eb | Java | WolvesWithSword/PathfinderGenerator | /App/app/src/main/java/com/wolveswithsword/pathfindergeneratorapp/View/RecyclerView_adapter_holder/item/ArmorViewHolder.java | UTF-8 | 4,158 | 2.34375 | 2 | [] | no_license | package com.wolveswithsword.pathfindergeneratorapp.View.RecyclerView_adapter_holder.item;
import android.content.Context;
import android.view.View;
import android.widget.Button;
import android.widget.LinearLayout;
import android.widget.TextView;
import androidx.annotation.NonNull;
import com.wolveswithsword.pathfind... | true |
cea86019053de5084301a0efae0fed7ef1c3a8ec | Java | jin/android-projects | /java_only_big_connected/module84/src/main/java/module84packageJava0/Foo0.java | UTF-8 | 512 | 1.984375 | 2 | [] | no_license | package module84packageJava0;
public class Foo0 {
public void foo0() {
new module92packageJava0.Foo0().foo2();
new module99packageJava0.Foo0().foo2();
new module87packageJava0.Foo0().foo2();
new module88packageJava0.Foo0().foo2();
new module98packageJava0.Foo0().foo2();
new module89packageJav... | true |
2c53ed2c530d4b998e9ebcb0e370d2e64c5cd942 | Java | wizerstudios/dosomethingAndroid_Aug2016 | /app/src/main/java/com/dosomething/android/GCMIntentService.java | UTF-8 | 13,845 | 1.757813 | 2 | [] | no_license | package com.dosomething.android;
import android.annotation.SuppressLint;
import android.app.Notification;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
impor... | true |
730f7f66fb650eebeb7308ebcc1f0f26cd982bdf | Java | veiserath/GUI | /AntiPlagueInc/src/com/company/view/GameParametersPanel.java | UTF-8 | 2,153 | 2.96875 | 3 | [] | no_license | package com.company.view;
import com.company.controller.GameTime;
import com.company.elements.Country;
import javax.swing.*;
import javax.swing.border.Border;
import java.awt.*;
import java.util.List;
public class GameParametersPanel extends JPanel {
JLabel labelPoints;
JLabel labelVirusAdvancement;
JLa... | true |
1af8904fe1cce2f0a003f9ba2842cd9a7c4cd3e0 | Java | nhantranutc/DATN | /src/main/java/application/data/entity/User.java | UTF-8 | 1,042 | 2.140625 | 2 | [] | no_license | package application.data.entity;
import lombok.Getter;
import lombok.Setter;
import javax.persistence.*;
import java.util.Date;
@Getter
@Setter
@Entity(name = "dbo_userdefinition")
public class User {
@GeneratedValue(strategy = GenerationType.AUTO)
@Column(name = "user_id")
@Id
private int id;
... | true |
01fca28b35ada653a07bd990b1c6887f258f28ad | Java | DongCanRola/servicebsf | /src/main/java/cn/dcan/dto/CustomerDTO.java | UTF-8 | 1,500 | 2.296875 | 2 | [] | no_license | package cn.dcan.dto;
import java.io.Serializable;
/**
* Created by dongc_000 on 2018/5/1.
*/
public class CustomerDTO implements Serializable{
private int id;
private int type;
private String name;
private int provideType;
private String manager;
private String telephone;
private String... | true |
32aaa4fb18044a1eae05dff934f07c06deaab4a4 | Java | LeeGodSRC/MineHQ | /uHub/src/main/java/com/frozenorb/uhub/configs/LocationsConfig.java | UTF-8 | 324 | 1.625 | 2 | [
"MIT"
] | permissive | package com.frozenorb.uhub.configs;
import com.frozenorb.commonlibs.ConfigHelper;
import com.frozenorb.uhub.uHubPlugin;
public class LocationsConfig extends ConfigHelper {
public LocationsConfig(String name, String directory) {
super(uHubPlugin.getProvidingPlugin(uHubPlugin.class), name, directory);
... | true |
bfd636e66209e87754df7fbb071fd18e964a005b | Java | GoalSwallow/miniproject | /src/main/java/com/swallow/miniproject/bean/Retuen_Repay_Result.java | UTF-8 | 370 | 1.648438 | 2 | [] | no_license | package com.swallow.miniproject.bean;
import lombok.Data;
@Data
public class Retuen_Repay_Result extends Base{
//返回状态码
private String return_code;
//返回信息
private String return_msg;
//预支付ID
private String prepay_id;
//业务结果
private String result_code;
//错误描述
private String err_co... | true |
a990b0ddcb18bae3d00110a6438e5642379a7bf8 | Java | laurolins/blink | /src/linsoft/gui/bean/EditorColunaDialog.java | UTF-8 | 5,149 | 2.59375 | 3 | [
"BSD-2-Clause"
] | permissive | package linsoft.gui.bean;
import java.awt.BorderLayout;
import java.awt.Dimension;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.Insets;
import java.awt.event.ActionEvent;
import javax.swing.JButton;
import javax.swing.JDialog;
import javax.swing.JFrame;
import javax.s... | true |
99233f8bed364d01e768c63b35e0c1637e9889d2 | Java | lizm335/MyLizm | /com.gzedu.xlims.biz/src/main/java/com/gzedu/xlims/serviceImpl/graduation/GjtGraduationStudentProgServiceImpl.java | UTF-8 | 1,872 | 2.03125 | 2 | [] | no_license | package com.gzedu.xlims.serviceImpl.graduation;
import java.util.Date;
import java.util.List;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.gzedu.xlims.commo... | true |
ea67319c0a3926e48ee40ac2eba151f290bfbd28 | Java | gspandy/zx-parent | /ink-user/ink-user-core/src/main/java/com/ink/user/core/service/tns/ITnsAuthService.java | UTF-8 | 1,745 | 1.734375 | 2 | [] | no_license | package com.ink.user.core.service.tns;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
import com.ink.user.core.po.TnsAuth;
import com.ink.user.core.po.TnsLog;
import com.ink.user.core.po.AccCust;
public interface ITnsAuthService {
/**
*
* @Title: insertTnsAuth
* @Description: ... | true |
1eeefb622c8917e5e89508926aac230dbf7a0b57 | Java | kyletry/book-manage | /springboot-demo/src/test/java/com/sjl/dao/BookRepositoryTest.java | UTF-8 | 1,082 | 2.40625 | 2 | [] | no_license | package com.sjl.dao;
import com.sjl.entity.Book;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
/**
* @author songjilong
* @date 2020/6/25 16:55
*/
@SpringBootTest
class BookRepositoryTest {
@Autowi... | true |
973811af1b93a6983635414fc6c74a2209905af2 | Java | gilzilberfeld/code-ninja-old | /code-ninja-course/JAVA/src/main/java/com/codeninja/tictactoe/Board.java | UTF-8 | 391 | 3.09375 | 3 | [] | no_license | package com.codeninja.tictactoe;
public class Board {
private boolean theBoard[][];
public Board() {
theBoard = new boolean[3][3];
for (int i=0;i<=2; i++)
for (int j=0;j<=2; j++)
theBoard[i][j]=false;
}
public boolean isOccupied(int row, int column) {
return (theBoard[row][column]);
}
public ... | true |
f52773a237371bd4c906f99b7aa5a6e701e26a46 | Java | suppername123/glory | /src/main/java/top/glory/web/service/impl/UserServiceImpl.java | UTF-8 | 1,823 | 1.882813 | 2 | [
"MIT"
] | permissive | package top.glory.web.service.impl;
import org.springframework.stereotype.Service;
import top.glory.web.dao.UserMapper;
import top.glory.web.model.User;
import top.glory.web.service.UserService;
import javax.annotation.Resource;
import java.util.List;
@Service
public class UserServiceImpl implements UserService {
... | true |
17d504afb62a83b909c51e020238ea6f6802f509 | Java | joseagt1994/-Compi2-Proyecto1_201314863_BD | /src/com/jagt/AST/Variable.java | UTF-8 | 324 | 1.664063 | 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.jagt.AST;
/**
*
* @author Jose Antonio
*/
public class Variable {
int tipo;
String nombre;
Objeto valo... | true |
acb8b7647b87023bc3f3b8f1c931a6b38e1ca226 | Java | jonatas2014/teste2 | /Main.java | UTF-8 | 477 | 2.984375 | 3 | [] | no_license | package lista3;
public class Main {
public static void main(String[] args) {
Pessoa joao = new Pessoa();
joao.setNome("Joao");
joao.setIdade(29);
joao.setAltura(1.88);
joao.setPeso(78);
System.out.println("Imprimindo com get");
System.out.println(joao.getNome());
System.out.println(joao.getIdade());
... | true |
820787577b082c25f13d59a629490ae386982a32 | Java | a5vh/IBCS | /src/Trees/BSTNode.java | UTF-8 | 540 | 2.609375 | 3 | [] | no_license | package Trees;
//********************************************************************
// BSTNode.java Author: Lewis/Loftus/Cocking
//
// A node in a binary search tree.
//********************************************************************
public class BSTNode extends TreeNode
{
//--------------------------... | true |
ce6b21dc2dc37e12d3e8b5c197a8e5822ceb16b7 | Java | torworx/Vapor | /vapor-core/src/main/java/evymind/vapor/core/buffer/netty/ChannelBufferExposer.java | UTF-8 | 338 | 1.890625 | 2 | [] | no_license | package evymind.vapor.core.buffer.netty;
import org.jboss.netty.buffer.ChannelBuffer;
import evymind.vapor.core.VaporBuffer;
public interface ChannelBufferExposer extends VaporBuffer {
/**
* Returns the underlying Netty's ChannelBuffer
*
* @return the underlying Netty's ChannelBuffer
*/
ChannelBuffer c... | true |
9dad217e7572cff477f8d548419f512dce56c36b | Java | namannigam-zz/forty-bits-of-learning | /src/main/java/edu/forty/bits/problemsolving/competitive/expedia/ConsectiveSubArrayWithSumDivisibleByK.java | UTF-8 | 1,026 | 3.8125 | 4 | [] | no_license | package edu.forty.bits.problemsolving.competitive.expedia;
public class ConsectiveSubArrayWithSumDivisibleByK {
static long kSub(int k, int[] nums) {
int mod[] = new int[k]; // array to count frequency of remainders
int consecutiveSum = 0; // sum of sequence of values
for (int num : nums) ... | true |
bad4f527b0d8fab4b5da75c7e31a67248cfd1ef8 | Java | flaime/Ovningsuppgift_Pa_map | /src/övar_på_att_testa_packet/Tree.java | ISO-8859-1 | 4,268 | 2.953125 | 3 | [] | no_license | package var_p_att_testa_packet;
import java.util.ArrayList;
import javax.swing.plaf.SliderUI;
class Node{
String namn;
int nr;
Node left, right;
Node(String namn, int nr){
this.namn = namn;
this.nr = nr;
}
public String toString(){
return namn + " " + nr;
}
} // Node
class Tree{
... | true |
5d08476652f62cbb919323211922c858a42e8de7 | Java | stethu/EdabitChallenges | /IsTheStringInOrder.java | UTF-8 | 387 | 3.015625 | 3 | [] | no_license | import java.util.Arrays;
//https://edabit.com/challenge/KWbrmP9uYSnYtwkAB
public class IsTheStringInOrder {
public static boolean isInOrder(String str){
char [] strAsChar = str.toCharArray();
Arrays.sort(strAsChar);
String temp = new String(strAsChar);
if (str.equals(temp))
... | true |
a8a6a5894357e2e57d3f63fba022b84b73de797e | Java | gitter-badger/android-fuze | /app/src/test/java/io/gmas/fuze/commons/MockTrackingClient.java | UTF-8 | 780 | 1.976563 | 2 | [
"Apache-2.0"
] | permissive | package io.gmas.fuze.commons;
import android.support.annotation.NonNull;
import java.util.Map;
import io.reactivex.Observable;
import io.reactivex.subjects.PublishSubject;
public class MockTrackingClient extends TrackingClientType {
public static class Event {
private final String name;
private... | true |
2f12882f3c9471dc9f3514c81d8f565d9cbb6d86 | Java | lutece-platform/lutece-core | /src/java/fr/paris/lutece/portal/service/editor/EditorBbcodeService.java | UTF-8 | 9,068 | 1.609375 | 2 | [
"BSD-3-Clause",
"LicenseRef-scancode-free-unknown"
] | permissive | /*
* Copyright (c) 2002-2022, City of Paris
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright notice
* and the f... | true |
8fce515892eed781774b94fd2d52d5b32e263a0d | Java | batazor/MyExampleAndExperiments | /JAVA/Android/startandroid/p1211listwidget/src/main/java/ru/startandroid/develop/p1211listwidget/MyProvider.java | UTF-8 | 3,709 | 2.140625 | 2 | [
"MIT"
] | permissive | package ru.startandroid.develop.p1211listwidget;
import java.sql.Date;
import java.text.SimpleDateFormat;
import android.app.PendingIntent;
import android.appwidget.AppWidgetManager;
import android.appwidget.AppWidgetProvider;
import android.content.Context;
import android.content.Intent;
import android.net.Uri;
impo... | true |
e965e401f68d0c05250e7b5e2d32d6bfbbc5352f | Java | a-kunitskaya/java-tasks | /src/main/java/com/kunitskaya/module3/service/implementation/finders/BiggestBookFinder.java | UTF-8 | 2,260 | 2.828125 | 3 | [] | no_license | package com.kunitskaya.module3.service.implementation.finders;
import com.kunitskaya.module3.domain.library.Author;
import com.kunitskaya.module3.domain.library.Book;
import com.kunitskaya.module3.service.StreamObjectFinder;
import org.apache.commons.lang3.StringUtils;
import java.util.Comparator;
import java.util.Op... | true |
7fab57c528e685e003ebe4d3f68dea42bc0214f0 | Java | oscarcillo/Ejemplo_MVC_DAO_AccesoDatos | /src/vistas/ViewEquipos.java | UTF-8 | 369 | 2.484375 | 2 | [] | no_license | package vistas;
import java.util.List;
import modelos.Equipos;
import modelos.Jugador;
public class ViewEquipos {
public void viewEquipo(Equipos equipo) {
System.out.println("Datos del equipo: " +equipo);
}
public void viewTodosEquipos(List<Equipos> equipos) {
for (Equipos equipo: equipos) {
System.out... | true |
dbfd4cd5d6273001b507125a78f398ad822d4e04 | Java | Zond47/Epam_task6 | /src/test/java/com/epam/rd/java/basic/practice6/part5/TreeTest.java | UTF-8 | 1,245 | 3.28125 | 3 | [] | no_license | package com.epam.rd.java.basic.practice6.part5;
import org.junit.After;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import java.io.ByteArrayOutputStream;
import java.io.PrintStream;
public class TreeTest {
private final ByteArrayOutputStream outContent = new ByteArrayOutputStream();
... | true |
c1821201fc9b2c66fb2a516284b7daf69ef80c26 | Java | raikennhinn/krule | /src/main/java/com/ph/controller/RunController.java | UTF-8 | 2,651 | 2.046875 | 2 | [] | no_license | package com.ph.controller;
import com.ph.entity.httovo.RestResponse;
import com.ph.entity.httovo.RuleRunRequest;
import com.ph.service.strategy.ExecuteRouter;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.anno... | true |
4c65d41f162ec43b4057882930a1bcad06751199 | Java | zorzet/portofolioManagement | /target/src/main/java/gr/aueb/mscis/sample/service/MovieService.java | UTF-8 | 811 | 2.6875 | 3 | [] | no_license | package gr.aueb.mscis.sample.service;
import javax.persistence.EntityManager;
import javax.persistence.EntityTransaction;
import gr.aueb.mscis.sample.model.Movie;
import gr.aueb.mscis.sample.persistence.JPAUtil;
/**
* CRUD operations and other functionality related to movies
*
* @author bzafiris
*
... | true |
1f82f10aa4d8bf52777b1c00925932cb80ddf123 | Java | lannerate/ruleBuilder | /src/com/flagleader/builder/widget/u.java | UTF-8 | 1,124 | 2.046875 | 2 | [] | no_license | package com.flagleader.builder.widget;
import org.eclipse.swt.events.SelectionAdapter;
import org.eclipse.swt.events.SelectionEvent;
import org.eclipse.swt.widgets.TreeColumn;
class u extends SelectionAdapter
{
u(s params, TreeColumn paramTreeColumn, String[] paramArrayOfString, int paramInt)
{
}
... | true |
86c01834cb918aeb7c3dd18322be1fdb6615030c | Java | sea-compfest/seapay-microservice | /seapay-domain/src/test/java/com/seapay/domain/wallet/service/WalletServiceImplTest.java | UTF-8 | 4,958 | 2.25 | 2 | [] | no_license | package com.seapay.domain.wallet.service;
import com.seapay.api.wallet.WalletService;
import com.seapay.api.wallet.request.CreateWalletRequest;
import com.seapay.api.wallet.request.TopupWalletRequest;
import com.seapay.api.wallet.request.TransferRequest;
import com.seapay.domain.utils.DatabaseUtils;
import com.seapay.... | true |
37a44f02f00c19133ae06fb0ac691994907f4c1f | Java | enyq/licenta | /Android/appClient/app/src/main/java/edu/licenta/eniko/util/Converter.java | UTF-8 | 591 | 2.703125 | 3 | [] | no_license | package edu.licenta.eniko.util;
import java.text.DateFormat;
import java.text.ParseException;
import java.text.ParsePosition;
import java.text.SimpleDateFormat;
import java.util.Date;
/**
* Created by Eniko on 6/12/2015.
*/
public class Converter {
public static Date stringToDate(String stringDate) {
... | true |
94f80e313d4cfe968a9019ef39650a34f1f97f7e | Java | archiecobbs/dellroad-stuff | /dellroad-stuff-vaadin/dellroad-stuff-vaadin7/src/main/java/org/dellroad/stuff/vaadin7/AbstractSimpleContainer.java | UTF-8 | 20,977 | 2.390625 | 2 | [] | no_license |
/*
* Copyright (C) 2022 Archie L. Cobbs. All rights reserved.
*/
package org.dellroad.stuff.vaadin7;
import com.vaadin.data.Container;
import com.vaadin.data.Item;
import com.vaadin.data.Property;
import com.vaadin.data.util.AbstractInMemoryContainer;
import com.vaadin.data.util.DefaultItemSorter;
import com.vaadi... | true |
2ffca7eb71d454ce496aa345f914958b8a1f649a | Java | zhai926/rulai | /rulai-common/src/main/java/com/unicdata/entity/carInfo/UnicdataBrandExample.java | UTF-8 | 24,766 | 2.28125 | 2 | [] | no_license | package com.unicdata.entity.carInfo;
import java.util.ArrayList;
import java.util.List;
public class UnicdataBrandExample {
protected String orderByClause;
protected boolean distinct;
protected List<Criteria> oredCriteria;
public UnicdataBrandExample() {
oredCriteria = new ArrayList<Criteri... | true |
9eb936783e08fc8368c833cc88e213bdf099d153 | Java | neverendzh/NeverEndBlog | /zcjblog/src/main/java/com/neverend/blog/mapper/ArticleMapper.java | UTF-8 | 1,656 | 1.867188 | 2 | [] | no_license | package com.neverend.blog.mapper;
import com.neverend.blog.entity.Article;
import com.neverend.blog.entity.ArticleExample;
import com.neverend.blog.entity.ArticleWithBLOBs;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
@Mapper
public interface ArticleM... | true |
9614bf59907b4a8d9584bdb0484846a33428ba6a | Java | Ostboa16/MannschaftsVerwalter | /src/data/Spieler.java | UTF-8 | 1,098 | 3.015625 | 3 | [] | no_license | package data;
import java.io.Serializable;
import java.sql.ResultSet;
import java.sql.SQLException;
public class Spieler implements Serializable {
private String name;
private int rueckennummer;
private String position;
public Spieler(String name, int rueckennummer, String position) {
this.n... | true |
6e41ed0e3f6b47f146e8720d1dcddd045e644520 | Java | samaj89/exercises | /src/day11/StackNode.java | UTF-8 | 321 | 3.125 | 3 | [] | no_license | public class StackNode<N extends Number> {
private N value;
private StackNode next;
public StackNode(N value) {
this.value = value;
this.next = null;
}
public N getValue() {
return value;
}
public StackNode getNext() {
return next;
}
public void setNext(StackNode next) {
this.next = next;
}
... | true |
5e6c778e94c89c2b0cb3587289a0a0cfdde8c1de | Java | ggam/java9-container | /impl/src/main/java/eu/ggam/container/impl/servletcontainer/container/ContainerHttpResponseImpl.java | UTF-8 | 2,130 | 2.484375 | 2 | [] | no_license | package eu.ggam.container.impl.servletcontainer.container;
import eu.ggam.container.api.http.HttpResponse;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
/**
*
* @author Guillermo González de Agüero
*/
public class ContainerH... | true |
55ee1de54256739a7a1da2b8264775756152412f | Java | tobiasg28/Uni-Zeugs-TSD | /src/backend/BackendLocator.java | UTF-8 | 596 | 2.375 | 2 | [] | no_license | package backend;
import java.rmi.NotBoundException;
import java.rmi.RemoteException;
import java.rmi.registry.LocateRegistry;
import java.rmi.registry.Registry;
import notification.Backend;
import swag.Constants;
public class BackendLocator {
/**
* Get the backend instance running on the specified host.
**/
p... | true |
69587a3f5bdf70c3c3f04ab0c700cf3c96675e5a | Java | AnGo84/TableReader | /src/main/java/com/tablereader/fx/TextFieldNumberListener.java | UTF-8 | 757 | 2.71875 | 3 | [] | no_license | package com.tablereader.fx;
import javafx.beans.value.ChangeListener;
import javafx.beans.value.ObservableValue;
import javafx.scene.control.TextField;
import java.awt.*;
public class TextFieldNumberListener implements ChangeListener<String> {
private TextField textField;
public TextFieldNumberListener(Text... | true |
724437a60fc3c596514e8d7eafa85d34cae55407 | Java | dangzhicairang/rxjava | /src/main/java/com/xsn/chapter2/Main.java | UTF-8 | 2,976 | 3.171875 | 3 | [] | no_license | package com.xsn.chapter2;
import io.reactivex.rxjava3.core.Observable;
import java.util.ArrayList;
import java.util.concurrent.Future;
import java.util.concurrent.FutureTask;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.atomic.AtomicInteger;
import java.util.stream.IntStream;
public class Main {... | true |
5736a2daadc2375b75fc0965f19f9b1da82911a6 | Java | resel143/KotlinBasics | /when.java | UTF-8 | 139 | 2.5625 | 3 | [] | no_license | var fishName = "apurva"
when(fishName.length){
0-> println("error");
in 3..12-> println("Good")
else-> println("Okya");
}
| true |
25ec02787aefc69921b35a5b5c57b5dcc925c4dc | Java | lkk-cxks/lkk1 | /github3/src/github3/pratice17.java | WINDOWS-1252 | 1,143 | 3.0625 | 3 | [] | no_license | package github3;
import java.util.Scanner;
public class pratice17 {
private String name;
private static long score;
public long getScore() {
return score;
}
public void setScore(long score) {
this.score=score;
}
public String getName() {
return name;
}
public void setName(String... | true |
bc74276daed16c3a2f5459bb801190cb34bb339c | Java | DonSantiagoS/Pong_Video_Juego | /Pong/src/aplicacion/Flash.java | UTF-8 | 2,226 | 3.5 | 4 | [] | no_license | package aplicacion;
/**
* ------------------------------------------------------------------------
* ------------------------ PONG ------------------------------------------
* ------------------------------------------------------------------------
*
* CLASE: Flash, Sorpresa la cual acelera la pelota hasta que el j... | true |
b617c6bfb02c59e4bcda98a897a515e90aab45e8 | Java | LucaGiamattei/ProgettoPSSS | /Codice/WebAppSmartLearning/src/dataLayer/pagamento/controller/ControllerPagamentoDB.java | UTF-8 | 6,630 | 2.234375 | 2 | [] | no_license | package dataLayer.pagamento.controller;
import java.sql.ResultSet;
import java.sql.Types;
import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;
import java.util.Hashtable;
import java.util.Vector;
import com.mysql.jdbc.CallableStatement;
import java.sql.Connection;
import dataLayer.connectorMana... | true |
96d16f401e04cab681ebc4546ea30ce9b62c3f0b | Java | aisjac/Home_Activity | /app/src/main/java/com/example/home_activity/AddData.java | UTF-8 | 1,490 | 2.28125 | 2 | [] | no_license | package com.example.home_activity;
import java.io.Serializable;
public class AddData implements Serializable {
private String full_Name;
private String father_Name;
private String mother_Name;
private String nid_Number;
private String address_loc;
public AddData(){
//empty constructor... | true |
300dcc4662fd2bb2909c2b87f1d6bfad144fddb4 | Java | ystwei/A13 | /src/main/java/com/weikun/pojo/Cou.java | UTF-8 | 1,477 | 2.34375 | 2 | [] | no_license | package com.weikun.pojo;
import javax.persistence.*;
import java.util.HashSet;
import java.util.Set;
/**
* Created by Administrator on 2016/11/8.
*/
@Entity()
@Table(name = "cou", catalog = "test")
public class Cou {
private int cid;
private String cname;
private Set<Pro> pros=new HashSet<Pro>();
@... | true |
4792e08df4698ed6476e5e3676b365317b22fd2e | Java | yarivg/WaitForIt | /app/src/main/java/company/wfi/com/waitforit/gameAct.java | UTF-8 | 11,434 | 1.828125 | 2 | [] | no_license | package company.wfi.com.waitforit;
import android.app.Activity;
import android.app.AlertDialog;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.graphics.Bitmap;
import android.graphics.Color;
import android.graphics.Point;
import android.graphics.Ty... | true |
8817bba65bc542d53b669574625ec75fe0623d11 | Java | uniqraft/murder | /src/net/minecraftmurder/main/Spawn.java | UTF-8 | 1,254 | 2.765625 | 3 | [] | no_license | package net.minecraftmurder.main;
import java.util.Arrays;
import java.util.List;
import net.minecraftmurder.tools.ChatContext;
import net.minecraftmurder.tools.Tools;
import org.bukkit.Location;
public class Spawn {
public static final List<String> TYPES = Arrays.asList("player", "scrap");
private Location loc... | true |
3d5ace1136e5ff0606e5dd9a8ebf46ef2d4f71a9 | Java | AbsolutelySaurabh/Vendor | /app/src/main/java/com/appsomniac/swagger/data/viewHolder/CompletedBookingsViewHolder.java | UTF-8 | 1,404 | 2 | 2 | [] | no_license | package com.appsomniac.swagger.data.viewHolder;
import android.content.Context;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.ViewGroup;
import android.widget.TextView;
import com.appsomniac.swagger.R;
import com.appsomniac.swagger.data.model.Bookings.Bookings;... | true |
54711a3ad04ff815484e3c9452de835fe1b94b95 | Java | esusrecifepegovbr/hapi-fhir-server-cadsus | /src/main/java/org/hl7/fhir/valueset/Identifier.java | UTF-8 | 238 | 1.695313 | 2 | [
"Apache-2.0"
] | permissive | package org.hl7.fhir.valueset;
public class Identifier {
public static enum value {
DL,
PPN,
BRN,
MR,
MCN,
EN,
TAX,
HC,
NIIP,
PRN,
MD,
DR,
ACSN,
UDI,
SNO,
SB,
PLAC,
FILL,
JHN
}
}
| true |
2012eda1f182268e747e02756d8cbb015640cfc2 | Java | sunjava2006/1904 | /spring_base/aop_demo/src/main/java/com/wangrui/spring/aop/demo/bean/Flyman.java | UTF-8 | 376 | 2.09375 | 2 | [] | no_license | package com.wangrui.spring.aop.demo.bean;
import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.DeclareParents;
import org.springframework.stereotype.Component;
@Component
@Aspect
public class Flyman {
@DeclareParents(value="com.wangrui.spring.aop.demo.bean.Human",
defaultImpl = com.wangr... | true |
13e028d0bbdf4c90d0a4d41a27af8d736679c623 | Java | RabinThapa1998/MeroWallet-Minor1 | /app/src/main/java/com/example/merowalletv11/StatisticsActivity.java | UTF-8 | 12,311 | 1.96875 | 2 | [] | no_license | package com.example.merowalletv11;
import android.content.Intent;
import android.database.Cursor;
import android.graphics.Color;
import android.os.Bundle;
import android.support.annotation.ColorRes;
import android.support.design.widget.FloatingActionButton;
import android.support.design.widget.Snackbar;
import android... | true |
b82e8e91792a02f5eadea4bee2fdaae646b26eb4 | Java | seano188/Java-InventoryManagementSystemProject | /team8ca/src/main/java/sg/edu/iss/team8ca/repo/UsageDetailsRepo.java | UTF-8 | 1,128 | 2.171875 | 2 | [] | no_license | package sg.edu.iss.team8ca.repo;
import java.time.LocalDate;
import java.util.List;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;
import sg.edu.iss.team8ca.model.UsageDetails;
public interfa... | true |
a50c6098cc806593972b50600a31c6a3daddd1f0 | Java | M4R10M0R3TT1/SPCM | /src/it/unicas/sensiplusConfigurationManager/view/SEEditDialogController.java | UTF-8 | 13,860 | 1.914063 | 2 | [] | no_license | package it.unicas.sensiplusConfigurationManager.view;
import it.unicas.sensiplusConfigurationManager.model.SensingElement;
import javafx.beans.value.ObservableValue;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.fxml.FXML;
import javafx.geometry.Pos;
import javafx.sce... | true |
9d0fc5cb3256aeb5235e834f656451b5a081903e | Java | MrHusm/motionManageV2 | /src/main/java/com/manage/task/GetuiTask.java | UTF-8 | 2,242 | 2.0625 | 2 | [] | no_license | package com.manage.task;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.annotation.Resource;
import org.springframework.stereotype.Controller;
import com.alibaba.fastjson.JSONObject;
import com.manage.constant.Constant;
import com.manage.service.BannerAppService;
import com.mana... | true |
c3aa9a9eb405a6209f01e9bf45095151279676f6 | Java | SchuckBeta/cxcy | /src/main/java/com/oseasy/cms/modules/cms/dao/CmsLinkDao.java | UTF-8 | 1,149 | 1.875 | 2 | [] | no_license | package com.oseasy.cms.modules.cms.dao;
import com.oseasy.cms.modules.cms.entity.CmsLink;
import com.oseasy.com.pcore.common.persistence.CrudDao;
import com.oseasy.com.pcore.common.persistence.annotation.FindListByTenant;
import com.oseasy.com.pcore.common.persistence.annotation.InsertByTenant;
import com.oseasy.com.p... | true |
f3c3b77b34b7dddb3988aeeb26c9a12d2e25da9d | Java | zrbsprite/Stem | /hunger/src/com/stem/entity/Product.java | UTF-8 | 3,354 | 2.0625 | 2 | [] | no_license | package com.stem.entity;
import java.util.Date;
public class Product {
private Integer id;
private String code;
private String name;
private String title;
private String pic;
private String buyUrl;
private String upDown;
private String shareUrl;
private String trendsUrl;
... | true |
1d3f7e9aa5f8c3be6c129201df4ac9bb2e2eb844 | Java | saber13812002/DeepCRM | /Code Snippet Repository/Struts/Struts1426.java | UTF-8 | 759 | 2.8125 | 3 | [] | no_license | public void testParamWithClassInName() throws Exception {
// given
List<String> properParams = new ArrayList<>();
properParams.add("eventClass");
properParams.add("form.eventClass");
properParams.add("form[\"eventClass\"]");
properParams.add("form['eventClass']");
... | true |
f6d0c2c02b13847713400ea86ff3e7de08b42a4b | Java | aaronguostudio/learn-java | /temp/Test.java | UTF-8 | 163 | 1.882813 | 2 | [] | no_license | package test;
class Test
{
public static void main ( String [] arguments )
{
FlyWithWings flyWithWings = new FlyWithWings();
flyWithWings.fly();
}
} | true |
dc28dc95e777bf7321ed4f00cb9828ea5683ae26 | Java | 17862958267/MyFirstRepository | /cookie/src/cn/qlu/filter/TokenFilter.java | UTF-8 | 1,485 | 2.421875 | 2 | [] | no_license | package cn.qlu.filter;
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 ja... | true |
2d893fc33d6ef0f831cae51ac5ada3bdd62a8be3 | Java | Dini68/trainingexams | /src/main/java/hu/nive/ujratervezes/zarovizsga/digitscounter/DigitsCounter.java | UTF-8 | 489 | 3.046875 | 3 | [] | no_license | package hu.nive.ujratervezes.zarovizsga.digitscounter;
import java.util.HashSet;
import java.util.Set;
public class DigitsCounter {
public int getCountOfDigits(String s) {
if (s == null) {
return 0;
}
Set<Integer> numbers = new HashSet<>();
for (char ch: s.toCharArray(... | true |
6c206895e28eea747d615442f4db352f4d31f41b | Java | regiapriandi012/javaLearning | /regiapriandi/praktikumpbo/pertemuan5/unguided/GasMulia.java | UTF-8 | 274 | 2.34375 | 2 | [] | no_license | package com.regiapriandi.praktikumpbo.pertemuan5.unguided;
public class GasMulia extends UnsurKimia{
public GasMulia(String unsur) {
super(unsur);
}
public void info(){
System.out.println(getUnsur() + " Merupakan unsur kimia Gas Mulia");
}
}
| true |
55df0d8927e5ae2b710722beca9ef472b3c8e162 | Java | jieyuchongliang/TestFragmentmanager | /app/src/main/java/vlayout/fujisoft/com/testfragmentmanager/adapter/PersonDetailListAdapter.java | UTF-8 | 1,517 | 2.3125 | 2 | [] | no_license | package vlayout.fujisoft.com.testfragmentmanager.adapter;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import java.util.List;
import vlayout.fujisoft.com.testfragmentmanager.commen.CommenAdapter;... | true |
414a0617fdc38b02dd8d166fb9ee728adc0ffcfa | Java | kevinPoklinger/ShearGear | /ShearGear_Android/app/src/main/java/com/example/kevin/sheargear/ProductDetailActivity.java | UTF-8 | 9,435 | 1.828125 | 2 | [] | no_license | package com.example.kevin.sheargear;
import android.content.Context;
import android.content.Intent;
import android.graphics.Typeface;
import android.graphics.drawable.Animatable;
import android.graphics.drawable.Drawable;
import android.net.Uri;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity... | true |
d9aedead882dea19138ecb9ded41cbd02c7ea10b | Java | nuving/castafioreframework | /casta-searchengine/casta-searchengine/org/castafiore/designable/EXSearchProductBar.java | UTF-8 | 4,104 | 1.992188 | 2 | [] | no_license | package org.castafiore.designable;
import java.util.List;
import java.util.Map;
import org.castafiore.KeyValuePair;
import org.castafiore.SimpleKeyValuePair;
import org.castafiore.searchengine.MallUtil;
import org.castafiore.shoppingmall.merchant.FinanceUtil;
import org.castafiore.shoppingmall.merchant.Merch... | true |
7ed8389beaa2d8acb6e24405c5909e39deb9999b | Java | nightshp/night | /ssmDemo/src/main/java/dao/UserMapper.java | UTF-8 | 249 | 1.992188 | 2 | [] | no_license | package dao;
import entity.User;
import java.util.List;
public interface UserMapper {
List<User> selectAll();
User selectById(Integer id);
int deleteById(Integer id);
int insertOne(User user);
int updateById(User user);
} | true |
f13551667bff2752f219531231cdf63653e17981 | Java | fogelvogel/BDDSite | /BDD/src/StepDefinition/CatCreation.java | UTF-8 | 3,364 | 2.546875 | 3 | [] | no_license | package StepDefinition;
import org.junit.Assert;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.chrome.ChromeDriver;
import cucumber.api.java.en.Given;
import cucumber.api.java.en.When;
import cucumber.api.java.en.Then;
publi... | true |
6984cfae3ddb9603f0c4f319e2037e6a31c531e3 | Java | Zoly90/EMZOtours | /src/main/java/ro/emzo/turismapp/home_page/service/HomePageService.java | UTF-8 | 994 | 2.078125 | 2 | [] | no_license | package ro.emzo.turismapp.home_page.service;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import ro.emzo.turismapp.holiday.model.HolidayMainCategories;
import ro.emzo.turismapp.holiday.model.HolidaySubcategories;
import ro.emzo.t... | true |
e8c1dbfbd7ee0173ffb767a50b464332ae5bf7af | Java | weicheng95/mydiary | /app/src/main/java/com/example/weichenglau/personalDiary/StoryContentActivity.java | UTF-8 | 898 | 2.203125 | 2 | [] | no_license | package com.example.weichenglau.personalDiary;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.TextView;
public class StoryContentActivity extends AppCompatActivity {
private TextView date, title, content;
@Override
protected void onCreate(Bundle savedInsta... | true |
9140d1ea9f99fc166e1bd8213881b4cac65151bd | Java | vipinv95/Java-programs | /Video_Database_Project_MVC/View.java | UTF-8 | 15,730 | 2.265625 | 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 videos_database_project2;
import java.awt.Color;
import java.awt.Toolkit;
import java.awt.Dimension;
import java.awt.FlowLayou... | true |
6b733689d4d0b08be6a170b9675ec39b84cded26 | Java | lxinghui/situ | /src/main/java/service/Market_Service.java | UTF-8 | 249 | 1.695313 | 2 | [] | no_license | package service;
import entity.Market;
import utils.SearchInfo;
public interface Market_Service extends Basic_Service<Market> {
public int getCount();
public Market selectJson(SearchInfo info);
public void updateJson(Market a);
}
| true |
c8f255bfe7bdac5fc1b72a30bdfb7d0fce774f93 | Java | nabind/prism_test | /INORS/AESDecryptionUtility/src/com/drc/util/ApplicationConstants.java | UTF-8 | 1,215 | 1.53125 | 2 | [] | no_license | package com.drc.util;
public class ApplicationConstants {
public static final String AES_DECRYPTION_PROPERTIES_FILE = "aesDecryption.properties";
public static final String LOCAL_AES_DECRYPTION_PROPERTIES_FILE = "properties/aesDecryption.properties";
public static final String XML_FILE_PATH_KEY = "XML_FILE_... | true |
5cdd12dc8aabb9aafd15b8b92e31f626bb16b8a3 | Java | Ygyeong/semi | /src/dto/BoardDTO.java | UTF-8 | 1,450 | 2.484375 | 2 | [] | no_license | package dto;
import java.sql.Date;
public class BoardDTO {
private int board_seq;
private String id;
private String title;
private String content;
private Date write_date;
private int view_count;
private String notice;
public BoardDTO() {
super();
}
public BoardDTO(int board_seq, String id, String titl... | true |
4859a332e3678cc0b8a4dcd6eb1c02d556750ea3 | Java | azizmeiman/hajj-permit-demo-app | /src/main/java/com/example/hajjpermitdemoapp/controllers/UserController.java | UTF-8 | 868 | 2.171875 | 2 | [] | no_license | package com.example.hajjpermitdemoapp.controllers;
import com.example.hajjpermitdemoapp.entities.User;
import com.example.hajjpermitdemoapp.services.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;... | true |
71c27dcdf05d2d62b922047ede05ad73dc3c6de7 | Java | MarkoRadunovic/MavenCommonMuseum | /src/test/java/rs/ac/bg/student/marko/MavenCommonMuseum/domain/KustosTest.java | UTF-8 | 3,590 | 2.59375 | 3 | [] | no_license | package rs.ac.bg.student.marko.MavenCommonMuseum.domain;
import static org.junit.jupiter.api.Assertions.*;
import java.sql.ResultSet;
import java.util.List;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.params.Parameterize... | true |
4ac294b6a2b2dd16be564ab9bbde96704ab3c43b | Java | Aetra/java-1-class-demos | /week6-objects-classes/week6/dogs/UntrainedDog.java | UTF-8 | 218 | 2.625 | 3 | [
"MIT"
] | permissive | package dogs;
public class UntrainedDog extends Dog {
public UntrainedDog() {
// TODO Auto-generated constructor stub
}
public String rollover() {
return getName() + " looks at you and does nothing";
}
}
| true |
1ff724c0b9fd8631fc6fec4aeb6b5c04b77a61a5 | Java | J-karthick/JAVA-concepts | /RangeExceedsException.java | UTF-8 | 103 | 2.15625 | 2 | [] | no_license |
class RangeExceedsException extends Exception{
RangeExceedsException(String s){
super(s);
}
} | true |
7d59fb7e1b49efb479782c47bf0d441071901081 | Java | kanghq/ChatRobot | /src/com/hqkang/ChatRobot/Sequence/Segment.java | UTF-8 | 298 | 1.929688 | 2 | [] | no_license | package com.hqkang.ChatRobot.Sequence;
public class Segment {
public String word;
public String endChar;
public String lastChar;
public double cost;
public String part;
public final static String START_SIGN = "<< STARTING >>";
public final static String END_SIGN = "<< ENDING >>";
} | true |
377ef0895313762abbd949f2db0bb44bd96e8252 | Java | viruJavi/prices | /prices/src/main/java/com/inditex/prueba/prices/utils/ObjectEntityMapper.java | UTF-8 | 762 | 2.1875 | 2 | [] | no_license | package com.inditex.prueba.prices.utils;
import com.inditex.prueba.prices.model.PriceResponse;
import com.inditex.prueba.prices.model.entity.Price;
import ma.glasnost.orika.MapperFacade;
import ma.glasnost.orika.MapperFactory;
import ma.glasnost.orika.impl.DefaultMapperFactory;
import org.springframework.stereotype.Co... | true |
c2bfa8ca4b3f523d4eef51364a5475acbe9e8626 | Java | Yarin78/yal | /java/test/yarin/yal/graph/TestRootedTree.java | UTF-8 | 2,078 | 2.828125 | 3 | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | package yarin.yal.graph;
import org.junit.Assert;
import org.junit.Test;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Random;
public class TestRootedTree {
@Test
public void testTreeLCA() {
Random r = new Random(0);
for (int i = 0; i < 10;... | true |
7f9b7bea4de2ca079746bff3fa4d0f8f6147e9e8 | Java | phlocbg/phloc-commons | /phloc-commons/src/main/java/com/phloc/commons/annotations/CustomizingAPI.java | UTF-8 | 1,255 | 2.5 | 2 | [] | no_license | package com.phloc.commons.annotations;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Documentation measure to denote all classes or methods which are public... | true |
0eb7feb54487578a3b42ce00e0306f1192e279f9 | Java | JohnnyFloyd/komunikator | /klient/src/ListaKontaktow.java | UTF-8 | 4,539 | 2.5625 | 3 | [] | no_license | import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.InputStream;
import java.io.ObjectInput;
import java.io.ObjectInputStream;
... | true |