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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
9a832e1364ee28d7d5e26d77eb0a4d5848ce1847 | Java | drakenya/AcelaLayoutControl | /src/main/java/net/krolla/acela_layout_control/bridge/response/ResponseFactory.java | UTF-8 | 1,219 | 2.515625 | 3 | [] | no_license | package net.krolla.acela_layout_control.bridge.response;
import net.krolla.acela_layout_control.bridge.command.*;
public class ResponseFactory {
public static BaseResponse getResponseByResponseCode(ResponseCode responseCode) {
if (responseCode == ResponseCode.SENSOR_STATE_CHANGED) { return new SensorState... | true |
57ca5ab413f3a22b3dff5c6761c0678a4f1ca452 | Java | gillesB/semantischeOperabilitaet2013 | /SI-Hauptprojekt/src/business/model/ontology/Personen.java | UTF-8 | 258 | 2.1875 | 2 | [] | no_license | package business.model.ontology;
public enum Personen {
EINGESCHRAENKT("eingeschraenkte_Person"), ZAHLEND("zahlende_Person");
private String name;
private Personen(String n) {
name = n;
}
public String getName() {
return name;
}
}
| true |
197ef473303b8654d5016fe9b0ba287841e1e7f4 | Java | acidcondor/mailbox | /src/org/benjob/smartmailbox/dao/PersonMailboxDao.java | UTF-8 | 301 | 1.84375 | 2 | [] | no_license | package org.benjob.smartmailbox.dao;
import java.util.List;
import org.benjob.smartmailbox.model.PersonMailbox;
public interface PersonMailboxDao extends BaseDao<PersonMailbox> {
public List<PersonMailbox> getAddresses(Long person_id);
public List<PersonMailbox> getPersons(Long address_id);
}
| true |
c058f2030bbc2da823a2df62a22c33aa179a304f | Java | ChristianMele/nutritionAppFragments | /app/src/main/java/edu/quinnipiac/ser210/nutritionfragments/HomeFragment.java | UTF-8 | 5,842 | 2.53125 | 3 | [] | no_license | package edu.quinnipiac.ser210.nutritionfragments;
//imports
import android.os.AsyncTask;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.TextView;
import androidx.annotation.Nullable;
import andr... | true |
5b11c45333b8130614faacc3005dbd9aa6512100 | Java | zdugi/XMLProjekat | /project_organ/src/main/java/com/organ/project_organ/repository/impl/ResenjeRepository.java | UTF-8 | 420 | 1.773438 | 2 | [] | no_license | package com.organ.project_organ.repository.impl;
import com.organ.project_organ.model.xml_resenje.Resenje;
import com.organ.project_organ.repository.Repository;
public class ResenjeRepository extends Repository<Resenje> {
public ResenjeRepository(String graphURI, String collectionId, String instancePath, String x... | true |
294178b51638b70fe5dfc6aef867d59476086aac | Java | sseti/Maven.Quiz2 | /src/main/java/com/zipcodewilmington/assessment2/part2/ListUtility.java | UTF-8 | 866 | 3.140625 | 3 | [] | no_license | package com.zipcodewilmington.assessment2.part2;
import java.lang.reflect.Array;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
public class ListUtility {
private List<Integer> list = new ArrayList<>();
public Boolean add(int i) {
return list.add(i);
}
public Int... | true |
1379491d813c82322c78ea1216a920d195399137 | Java | hala-moliniao/moliniao-spring-cloud | /moliniao-provider-two/src/main/java/com/moliniao/controller/OrderController.java | UTF-8 | 1,149 | 2.03125 | 2 | [] | no_license | package com.moliniao.controller;
import com.moliniao.common.Result;
import com.moliniao.dto.request.OrderInfoReq;
import com.moliniao.dto.response.OrderInfoRes;
import com.moliniao.dto.response.StudentOrderRes;
import com.moliniao.service.StudentOrderService;
import org.springframework.beans.factory.annotation.Autowir... | true |
30c840adfab8d122603eb05346d42ed7d8cdb7ef | Java | jshvlv/SpringAndHiber | /src/main/java/springIntroduction/Cat.java | UTF-8 | 246 | 2.6875 | 3 | [] | no_license | package springIntroduction;
import org.springframework.stereotype.Component;
//@Component("catBean")
public class Cat implements Pet{
@Override
public void say() {
System.out.println(this.hashCode() + " sad Meow-meow");
}
}
| true |
2ab039d1c2d7e692b18fb5415096c331bf97dcca | Java | UESTC-ZKX/Test | /src/test/java/swordOffer/SwordOffer_56Test.java | UTF-8 | 593 | 2.4375 | 2 | [] | no_license | package swordOffer;
import org.junit.Before;
import org.junit.Test;
import static org.junit.Assert.*;
public class SwordOffer_56Test extends MyClass {
SwordOffer_56 swordOffer_56 = new SwordOffer_56();
//测试用例
private ListNode pHead = new ListNode(0);
private ListNode res = pHead;
@Before
pu... | true |
f23874d57b7ee07e64c2908d6f1750433f285abb | Java | cryhot/minigames | /core/game/PlayerViewer.java | UTF-8 | 2,378 | 3.265625 | 3 | [] | no_license | package core.game;
import java.util.Set;
import java.util.List;
import java.util.Iterator;
import core.board.Case;
/** Observateur prenant le point de vue d'un joueur dans une {@link Game partie de Ghost}.
* Un observateur de joueur établit une restriction des fonctionnalités par rapport à un {@link GlobalViewer ob... | true |
06f4e8c7951b977bf6d0836b9612e6d3badecbe6 | Java | orlewilson/poo-fmf-20202 | /03-Exemplo-Encapsulamento/src/Livro.java | ISO-8859-1 | 923 | 2.9375 | 3 | [] | no_license | /*
Disciplina: Programao Orientada a Objetos
Facilitador: Orlewilson Bentes Maia
Data: 23/09/20
Aluno: escreva seu nome
Descrio: Representao de um modelo para Livro usando o conceito de encapsulamento
https://repl.it/languages/java10
*/
// classe Livro
class Livro {
// Atributos
private String edit... | true |
d3f804227364e2f7dcb6e57dcbf72deea04c4cd8 | Java | zhangyan1595/_0225_OA | /src/main/java/com/sy/model/base/Result.java | UTF-8 | 654 | 1.96875 | 2 | [] | no_license | package com.sy.model.base;
public class Result<T> extends Page {
public final static int SUCCESS_CODE=0;
public final static int FailED_CODE=1;
public final static String SUCCESS_MSG="sucess";
public final static String FAILED_MSG="failed";
private T data;
private Integer code;
private Str... | true |
6282c4c43289ac0c67dee84b68cd47da609962e3 | Java | cgdxylove/message | /src/main/java/com/example/message/utils/HnConstants.java | UTF-8 | 1,096 | 2.21875 | 2 | [] | no_license | package com.example.message.utils;
import lombok.extern.log4j.Log4j;
import java.lang.reflect.Field;
/**
* @author cg
* @create 2019-04-11 15:55
*/
@Log4j
public class HnConstants {
public static final String split1 = "=";
//目标报文,每栏次的列属性相同
public static final String LISTTYPE1 = "listType1";
//目标报文... | true |
d89c2f6f1cb8da20a79db625cb35a791894dc536 | Java | luwanobject/ThreadDemo | /src/main/java/com/luwan/ReadWriteLockDemo.java | UTF-8 | 1,316 | 3.40625 | 3 | [] | no_license | package com.luwan;
import java.util.concurrent.locks.ReentrantReadWriteLock;
/**
* Created by luwan on 2018/5/9.
*/
class MyQueue {
private Object object;
private ReentrantReadWriteLock rewLock=new ReentrantReadWriteLock();
public void writeObject(Object object){
rewLock.writeLock().lock();
... | true |
cc49f9b189704f72fbaec2d62114955c6fb131e7 | Java | qixinglan/java | /sqjz/xmpp/com/nci/sfj/location/connect/SlipWindow.java | UTF-8 | 437 | 1.734375 | 2 | [] | no_license | package com.nci.sfj.location.connect;
import java.util.List;
public interface SlipWindow {
static final String KEY_SLIPWINDOW = "_SLIPWINDOW_";
//private LinkedHashSet<> requests = new LinkedHashSet<>();
public boolean sendable();
public boolean put(Object msg);
public Object take(Object key);
public Object fin... | true |
310f1ad1bf36e7d180a6b94bfce1e3157ed46634 | Java | AbraaoLincoln/pds-sgpr | /demo/src/main/java/br/com/sgpr/teste/data/VisaoRotaRepository.java | UTF-8 | 241 | 1.539063 | 2 | [] | no_license | package br.com.sgpr.teste.data;
import org.springframework.data.repository.CrudRepository;
import br.com.sgpr.teste.business.entity.visoes.VisaoRotas;
public interface VisaoRotaRepository extends CrudRepository<VisaoRotas, String>{
}
| true |
8e8021d9f8153e61ce3aebe01d9d2cd5b0c3c404 | Java | BartHelleman/Mynite | /Mynite_common/com/Bart/Mynite/core/handler/LocalizationHandler.java | UTF-8 | 499 | 1.960938 | 2 | [] | no_license | package com.Bart.Mynite.core.handler;
import com.Bart.Mynite.core.helper.LocalizationHelper;
import com.Bart.Mynite.lib.Localizations;
import cpw.mods.fml.common.registry.LanguageRegistry;
public class LocalizationHandler {
public static void loadLanguages(){
for(String LocationFile: Localizations.localeFiles){
... | true |
eb18931924fbde2c65057555fe367c8eae98afbe | Java | RheaSudesh/Prework-Project-4-flames | /src/service/FlamesCheckService.java | UTF-8 | 1,857 | 3.765625 | 4 | [] | no_license | package service;
// Create a class called FlamesCheckService
// FlamesCheckService has a method findFlames to find the flames between two names
// char findFlames(String name1, String name2) takes two strings as arguments
// Your task is to calculate the flames value and return the corresponding character as outp... | true |
8cd4dcffed8a779fa1749887f6dec9ce80e8abbb | Java | zeynepselber/Human-Resource-Management-Software | /hrms/src/main/java/kodlamaio/hrms/dataAccess/abstracts/ActivationCodeDao.java | UTF-8 | 302 | 1.914063 | 2 | [] | no_license | package kodlamaio.hrms.dataAccess.abstracts;
import org.springframework.data.jpa.repository.JpaRepository;
import kodlamaio.hrms.entities.concretes.ActivationCode;
public interface ActivationCodeDao extends JpaRepository<ActivationCode, Integer>{
ActivationCode findByCode(String code);
}
| true |
91dbce7de826b42ade04ddcfbe568c1b7e5db187 | Java | shivamm31/JavaAdvance-Assignment | /src/Ques13/Square.java | UTF-8 | 230 | 3.171875 | 3 | [] | no_license | package Ques13;
public class Square implements Runnable{
int x;
public Square(int x){
this.x = x;
}
@Override
public void run() {
System.out.println("Square of the number = " + x*x);
}
}
| true |
d88d6a81cd3b9bede741178b1a838f3cbdcf8325 | Java | gnolle/radarli | /app/src/main/java/com/example/jan/butzradar/ReverseGeocoder.java | UTF-8 | 1,289 | 2.421875 | 2 | [] | no_license | package com.example.jan.butzradar;
import android.content.Context;
import android.location.Address;
import android.location.Geocoder;
import android.os.AsyncTask;
import android.util.Log;
import com.google.android.gms.maps.model.LatLng;
import java.util.ArrayList;
import java.util.List;
import java.util.Locale;
pub... | true |
c66992524294a9282a515d01e748c5ab3bc0b32e | Java | ParkerDunbar/JavaRepos | /OpenSource/contact-list/src/main/java/com/neufree/contacts/collections/ContactDatabaseSearch.java | UTF-8 | 6,345 | 2.8125 | 3 | [] | no_license | package com.neufree.contacts.collections;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.io.RandomAccessFile;
import java.util.ArrayList;
import java.util.HashMap;
import ... | true |
b1d64be0ee7211001aaab707a46603d5f2fc8bfd | Java | SathvikKuthuru/Sathvik-Official-Hackpack | /WeightedJobScheduling.java | UTF-8 | 2,810 | 3.921875 | 4 | [] | no_license | import java.util.Arrays;
import java.util.Comparator;
// Class to represent a job
class Job
{
int start, finish, profit;
// Constructor
Job(int start, int finish, int profit)
{
this.start = start;
this.finish = finish;
this.profit = profit;
}
}
// Used ... | true |
0b6ec1407621be2388225e037c01e525307865cb | Java | 21RachitShukla/Data-Structures | /GenericTree.java | UTF-8 | 7,232 | 3.5 | 4 | [] | no_license | package Dec21_22_24_25_26;
import java.util.ArrayList;
import java.util.LinkedList;
import java.util.Scanner;
public class GenericTree {
private class Node {
int data;
ArrayList<Node> children = new ArrayList<>();
}
Node root;
int size;
public GenericTree() {
this.root = takeInput(new Sca... | true |
40e36e3c1deffb5d2e242736c375208382e0e2c2 | Java | shkim9576/algorithms_in_java | /src/dsalg/two/tree/SearchElement.java | UTF-8 | 851 | 3.53125 | 4 | [] | no_license | package dsalg.two.tree;
public class SearchElement {
public static void main(String[] args) {
Node root = new Node(1);
root.left = new Node(2);
root.right = new Node(3);
root.left.left = new Node(7);
root.left.right = new Node(6);
root.right.left = new Node(5);
... | true |
d93b5a866e3187601ee33ecdef1c3c265747f3a6 | Java | ctrimble/xchain | /core/src/main/java/org/xchain/namespaces/core/IfCommand.java | UTF-8 | 1,839 | 2.421875 | 2 | [
"Apache-2.0"
] | permissive | /**
* Copyright 2011 meltmedia
*
* 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 ... | true |
40ce1049c7d66e3a2fb5923676e4f41b21298743 | Java | adacal-java/java_Europe_B13 | /src/day22_stringManipulation_Lab/Question_9.java | UTF-8 | 339 | 2.953125 | 3 | [] | no_license | package day22_stringManipulation_Lab;
public class Question_9 {
public static void main(String[] args) {
System.out.println(right2("Hello"));
System.out.println(right2("Java"));
}
public static String right2(String str) {
return str.substring(str.length()-2).concat(str.substring(0, str.length()-2))... | true |
12d6a484a5053a2226cedba34176e41a58581dd7 | Java | nandafirdaus/algorithm | /Sorting/QuickSort.java | UTF-8 | 979 | 3.578125 | 4 | [
"MIT"
] | permissive | import java.util.Arrays;
public class QuickSort {
public static void main(String[] args) {
int[] unsorted = {4, 6, 9, 12, 33, 22, 73, 4, 14, 96, 56, 44, 1, 9, 6, 34, 76, 56, 19, 39};
sort(unsorted, 0, unsorted.length);
System.out.println(Arrays.toString(unsorted));
}
pu... | true |
f9f8d8ed37d6a0ac2aa0aa8f87a402edb6997616 | Java | amelian94/ToolbarAndTabExample | /app/src/main/java/com/neonidapps/toolbarandtabexample/adapters/PagerAdapter.java | UTF-8 | 970 | 2.65625 | 3 | [] | no_license | package com.neonidapps.toolbarandtabexample.adapters;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentStatePagerAdapter;
import com.neonidapps.toolbarandtabexample.fragments.FirstFragment;
import com.neonidapps.toolbarandtabexample.fragments... | true |
a9707f82d5e2a5836fa98f3ad3acbdcb67d5442c | Java | knewjade/solution-finder | /src/test/java/common/iterable/CombinationIterableTest.java | UTF-8 | 3,816 | 2.703125 | 3 | [
"MIT",
"Apache-2.0"
] | permissive | package common.iterable;
import com.google.common.collect.Iterables;
import common.datastore.PieceCounter;
import core.mino.Piece;
import lib.MyIterables;
import lib.Randoms;
import org.assertj.core.util.Lists;
import org.junit.jupiter.api.Test;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Li... | true |
c8614f83fd0151802347a73dd1dba94de67bd46e | Java | rawat-nikita/LanguageEmulatorNew | /LanguageEmulator/src/SecondFrame.java | UTF-8 | 7,876 | 2.734375 | 3 | [] | no_license | import javax.imageio.ImageIO;
import javax.swing.*;
import javax.swing.filechooser.FileNameExtensionFilter;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;
public class SecondFr... | true |
be4bc52bbfe32f48c88b9ad6f17d683963f4d7d3 | Java | zhongxingyu/Seer | /Diff-Raw-Data/12/12_a55d51cfa1165bf6233c1b0c713cd2571860c691/ActionBar/12_a55d51cfa1165bf6233c1b0c713cd2571860c691_ActionBar_s.java | UTF-8 | 4,213 | 2.171875 | 2 | [] | no_license | /*
* Copyright (C) 2010 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requi... | true |
9fd4f0f4ed54e5bb1acd276da66eb514d1692f31 | Java | jnakkerud/gwt-mobile-framework | /src/com/nubotech/client/ui/UnsunkLabel.java | UTF-8 | 2,047 | 2.5625 | 3 | [] | no_license | /*
* Copyright 2007 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... | true |
ca930c2da7f37be2ad6ecfc2e051c6e12ed65783 | Java | karimaTahri/ProjetHopitalJPA | /projetHopitalJPA/src/main/java/hopital/model/Utilisateur.java | UTF-8 | 133 | 1.570313 | 2 | [] | no_license | package hopital.model;
public class Utilisateur {
public Utilisateur() {
// TODO Auto-generated constructor stub
}
}
| true |
915a20fbade24e96f3dddb5ed11b7f4680a2eb98 | Java | ThangBach/MyApp | /app/src/main/java/com/example/bqt/myapp/View/Home/View/IViewHandleMenu.java | UTF-8 | 270 | 1.75 | 2 | [] | no_license | package com.example.bqt.myapp.View.Home.View;
import com.example.bqt.myapp.Model.ObjectClass.ProductCategory;
import java.util.List;
/**
* Created by BQT on 6/1/2017.
*/
public interface IViewHandleMenu {
void ShowMenuList(List<ProductCategory> categories);
}
| true |
4deb19846f5666fdbf903ac1495028000c9887e9 | Java | hkchandora/Infirment | /app/src/main/java/com/himanshu/infirment/SignUpActivity.java | UTF-8 | 16,525 | 1.664063 | 2 | [] | no_license | package com.himanshu.infirment;
import androidx.annotation.NonNull;
import androidx.appcompat.app.AppCompatActivity;
import androidx.cardview.widget.CardView;
import android.app.Application;
import android.app.Dialog;
import android.app.ProgressDialog;
import android.content.Intent;
import android.graphics.Color;
imp... | true |
69cb65075adf492178b986448fdc406286b53927 | Java | alejandraEstacio/Laboratorio6 | /LabUni6/src/Exception/ParticipanteNoExisteException.java | WINDOWS-1250 | 208 | 2.546875 | 3 | [] | no_license | package Exception;
public class ParticipanteNoExisteException extends Exception {
public ParticipanteNoExisteException(long id) {
super("No se encontr el participante con el id: "+id);
}
}
| true |
f2cc285bb488c5cd16f5ef43974719e2e404d47a | Java | a1198375223/Demo | /opengles/src/main/java/com/example/opengles/OpenGLESActivity.java | UTF-8 | 4,758 | 2.609375 | 3 | [] | no_license | package com.example.opengles;
import android.content.Intent;
import android.os.Bundle;
import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;
/**
* glClearColor(red, green, blue, alpha) : 绘制背景颜色
* glClear(mask) :
* glViewport(x, ... | true |
de15d95da8e11ee847397adfd17a8d9df6d45a9b | Java | iPhone6/eplat16 | /src/main/java/com/cn/eplat/model/MsUser.java | UTF-8 | 7,232 | 2.203125 | 2 | [] | no_license | package com.cn.eplat.model;
import java.util.Date;
import java.util.UUID;
public class MsUser {
private String id; // 主键
private String name; // 成员名称。长度为1~64个字符
private String orderInDepts; // 在对应的部门中的排序, Map结构的json字符串, key是部门的Id, value是人员在这个部门的排序值
private String position; // 职位信息。长度为0~64个字符
private... | true |
e1064bd32d99989dade9e5edf7cd80e570d70d36 | Java | AwaisMajeed2536/MobileStore | /app/src/main/java/misbah/naseer/mobilestore/adapter/OrderTimesAdapter.java | UTF-8 | 1,778 | 2.453125 | 2 | [] | no_license | package misbah.naseer.mobilestore.adapter;
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.widget.TextVi... | true |
e1e528c4782fa4ed08dcc9a525146d6b0f35c3b7 | Java | Gellershtein/JavaRushTasks | /1.JavaSyntax/src/com/javarush/task/task07/task0718/Solution.java | UTF-8 | 803 | 3.265625 | 3 | [] | no_license | package com.javarush.task.task07.task0718;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
/*
Проверка на упорядоченность
*/
public class Solution {
public static void main(String[] args) throws IOException {
ArrayList<String> list ... | true |
ebe28ee2dad60706c9d71f22e060a34c15e4e692 | Java | MrBenC88/Bullet-Hell-Game-Project | /Final Game JAVA/MainMenu.java | UTF-8 | 11,048 | 2.96875 | 3 | [
"Apache-2.0"
] | permissive | /* MainMenu.java
* Created by Yang, Johnny, Ben
* MainMenu class handles all the main menu screens. It will also handle going into the game,
* but the game mechanics will be handled on GamePanel instead.
* The MainPanel will include the store menu as well, but most of the store mechanics will happen in Store.java.
... | true |
fe587c6ba45654d2051b70f4c6a0d5999a3af366 | Java | leimu222/exchange | /src/main/java/cn/com/hh/service/test/MemberWalletHistoryServiceImplTest.java | UTF-8 | 1,926 | 2.09375 | 2 | [] | no_license | package com.common.api.service.impl;
import java.util.List;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Objects;
import javax.annotation.Resource;
import org.junit.After;
import org.junit.Before;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
im... | true |
29711b7511c74f244d4010afc80f89472ec23205 | Java | yueming158/irl | /irl-api/src/main/java/com/yueyang/service/redis/RedisListService.java | UTF-8 | 2,122 | 3.125 | 3 | [] | no_license | package com.yueyang.service.redis;
import java.util.List;
/**
* @author pengyueyang
* @create 2019/6/19 16:25
* Redis List相关操作服务
*/
public interface RedisListService {
/**
* 将一个值插入列表头部
*/
Long leftPush(String key, String value);
/**
* 将一个值插入列表尾部
*/
Long rightPush(String key, S... | true |
a37601e65451baf27ab566be4dfa65643da99706 | Java | liveqmock/dms | /szqdms/src/com/org/dms/action/service/claimmng/VehicleSaleDateSetMngAction.java | UTF-8 | 3,584 | 2.203125 | 2 | [] | no_license | package com.org.dms.action.service.claimmng;
import java.util.*;
import com.org.dms.common.DicConstant;
import com.org.dms.dao.service.claimmng.VehicleSaleDateSetMngDao;
import com.org.dms.vo.service.MainVehicleSdateLogVO;
import com.org.framework.Globals;
import com.org.framework.common.BaseResultSet;
imp... | true |
8bae12686ee83a094d19f85c26396428eb6eefc0 | Java | kifayath/JavaCode | /JavaTutorial/src/com/nahl/file/WordCount.java | UTF-8 | 2,397 | 3.078125 | 3 | [] | no_license | package com.nahl.file;
import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.io.StreamTokenizer;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.ResourceBundle;
public class WordCount {
String curren... | true |
492965322308a321b378717b5858fee41684c293 | Java | jmf11493/EquationGenerator | /app/src/main/java/com/mathymath/equationgenerator/Model/Selection/PercentsSelection.java | UTF-8 | 936 | 2.796875 | 3 | [
"MIT"
] | permissive | package com.mathymath.equationgenerator.Model.Selection;
import com.mathymath.equationgenerator.Model.EquationType;
import java.util.LinkedHashMap;
public class PercentsSelection extends SelectionList {
public enum Equation implements EquationType {
PERCENT_OF_A_NUMBER,
DETERMINING_PERCENTS,
... | true |
45c48fd797920c4f121767db4ba40f5c575029c7 | Java | mano3590/NewProject | /src/test/java/com/ariat/pages/AriatGivingPage.java | UTF-8 | 281 | 1.71875 | 2 | [] | no_license | package com.ariat.pages;
import com.ariat.pagefactory.AriatGivingPageFactory;
import org.openqa.selenium.support.PageFactory;
public class AriatGivingPage extends AriatGivingPageFactory {
public AriatGivingPage() {
PageFactory.initElements(driver, this);
}
}
| true |
9a71f45ad69ec9af29a3860d3d9353aafdf69716 | Java | rubenpineda92/wizeline-cloud-project | /inventory-service/src/test/java/com/example/repository/ProductRepositoryTest.java | UTF-8 | 2,552 | 2.21875 | 2 | [
"MIT"
] | permissive | /*
* 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.example.repository;
import com.example.domain.Category;
import com.example.domain.Product;
import com.example.service.Prod... | true |
4e9bbab05ea24ab16d5bc13f41bc52c424555a69 | Java | tmathmeyer/hanto | /test/hanto/otnah/gamma/GammaTest.java | UTF-8 | 2,424 | 2.625 | 3 | [] | no_license | /*******************************************************************************
* All sources under the hanto.otnah package were developed by
* Ted Meyer and Nilesh Patel for the term project in CS4233
* at Worcester Polytechnic Institute. Since WPI holds all other forms
* of ownership to this software, we have de... | true |
50a75eb450cf2861e903020ae8dd49f3973a6533 | Java | Bechol/devpub | /src/main/java/ru/bechol/devpub/configuration/security/ApplicationAuthFilter.java | UTF-8 | 5,892 | 2.625 | 3 | [] | no_license | package ru.bechol.devpub.configuration.security;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.ObjectMapper;
import lombok.*;
import lombok.experimental.FieldDefaults;
import org.springframework.beans.factory.annotation.*;
import org.springframework.security.authentication... | true |
f1a99b0c3b86dd84a785c740765275f99502e048 | Java | LiamMcArdle/Electrical-Billing-System | /src/Electricity/About.java | UTF-8 | 1,695 | 3.109375 | 3 | [] | no_license | package Electricity;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import java.awt.Font;
import javax.swing.JFrame;
public class About extends JFrame implements ActionListener {
String string;
public About() {
setLayout(null);
JButton button = new JButton("Exit");
... | true |
049c8c4c4920daf7ff734f15af9377e25e3ca516 | Java | super5xy/neau_jwc | /src/main/java/cn/ssm/controller/CourseController.java | UTF-8 | 860 | 1.984375 | 2 | [] | no_license | package cn.ssm.controller;
import cn.ssm.domain.Course;
import cn.ssm.service.ICourseService;
import com.github.pagehelper.Page;
import com.github.pagehelper.PageHelper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model... | true |
b3b407e00d8d392ff48b3cf91547dd217c19b17e | Java | brunothg/JMXExec | /src/main/java/com/github/brunothg/jmxexec/Application.java | UTF-8 | 4,234 | 2.515625 | 3 | [
"MIT"
] | permissive | package com.github.brunothg.jmxexec;
import java.io.File;
import java.io.IOException;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.List;
import org.apache.commons.cli.CommandLine;
import org.apache.commons.cli.... | true |
4d32feaa62138ce23939072de7eeef6a4b5907b5 | Java | silvioangels/ACEP | /src/br/com/fiap/beans/Cliente.java | WINDOWS-1250 | 1,723 | 2.375 | 2 | [] | no_license | package br.com.fiap.beans;
public class Cliente {
private int codigo;
private String nome;
private String email;
private Long numeroTelefone;
private String perfil;
private String login;
private String senha;
//Necessrio ter a propriedade para o JSTL do HTML recuperar a informacao
private Boolean usuarioAdmi... | true |
23d825c7913a2d00f37486d40a4de4fca2689214 | Java | qq7875359/hlz | /src/main/java/com/how2java/springboot/hhhh.java | UTF-8 | 1,203 | 2.125 | 2 | [] | no_license | package com.how2java.springboot;
import java.util.List;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import com.how2java.springboot.pojo.Category;
public class hhhh {
// あ(a) さ(sa) た(ta) な(na) は(ha) ま(ma) か(ka)
// い(i) す(su) ち(chi) に(ni) ひ(hi) み(mi... | true |
8f72ac1953f3512c5b435969b131117b4c04640d | Java | marcouio/spesetrunk | /src/main/java/com/molinari/gestionespese/view/tabellamesi/PerMesiF.java | UTF-8 | 3,240 | 2.3125 | 2 | [] | no_license | package com.molinari.gestionespese.view.tabellamesi;
import java.awt.Container;
import java.awt.Dimension;
import java.util.logging.Level;
import javax.swing.JTabbedPane;
import com.molinari.gestionespese.view.OggettoVistaBase;
import com.molinari.utility.controller.ControlloreBase;
import com.molinari.utility.graph... | true |
02b490155891a1d75c2a1337f6f9ff2a2ea162db | Java | gustavobrognoli/api.epizootia | /src/main/java/com/epizootia/controller/ImpactoController.java | UTF-8 | 4,339 | 2.453125 | 2 | [] | no_license | package com.epizootia.controller;
import java.security.NoSuchAlgorithmException;
import java.util.List;
import java.util.Optional;
import javax.validation.Valid;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframewo... | true |
e2bb130dd9043c5a95c30ea8af9d66a31e2b1266 | Java | nschejtman/rino2 | /app/controllers/PlayerAPI.java | UTF-8 | 3,639 | 2.546875 | 3 | [
"Apache-2.0"
] | permissive | package controllers;
import com.avaje.ebean.Ebean;
import com.avaje.ebean.Expr;
import com.avaje.ebean.ExpressionList;
import models.team.Player;
import models.team.Team;
import play.data.Form;
import play.libs.F;
import play.libs.Json;
import play.mvc.Controller;
import play.mvc.Result;
import java.util.List;
import... | true |
f57695273e994848f676755ae8f184d433bbd325 | Java | benester/projects-assignments-public | /ID1020 Algoritmer och datastrukturer/algdatalab1/upg5/src/Main2.java | UTF-8 | 362 | 2.09375 | 2 | [] | no_license | public class Main2 {
public static void main(String[] args) {
GeneralizedListUpg5 list = new GeneralizedListUpg5();
list.enQueue(4);
list.enQueue(5);
list.enQueue(7);
list.enQueue(9);
list.deQueue(1);
list.deQueue(3);
list.deQueue(2);
list.deQ... | true |
a3f1e4b4ec52ec08409f1dbfa7bfb6adba22f1d3 | Java | salonikyal/DSD-Cycling-Advocacy | /android/Bumpy/app/src/main/java/com/cycling_advocacy/bumpy/utils/NetworkUtil.java | UTF-8 | 2,793 | 2.5625 | 3 | [] | no_license | package com.cycling_advocacy.bumpy.utils;
import android.content.Context;
import android.net.ConnectivityManager;
import android.net.Network;
import android.net.NetworkCapabilities;
import android.net.NetworkInfo;
import android.os.Build;
public class NetworkUtil {
public static boolean isWifiAvailable(Context c... | true |
b53ae85a1f7f9b21d5bc8ab70f5a743e5b6d2574 | Java | shiver-me-timbers/smt-webservice-stub-parent | /smt-webservice-stub-api/src/test/java/shiver/me/timbers/webservice/stub/api/MultiValueTreeMapTest.java | UTF-8 | 6,443 | 2.40625 | 2 | [
"Apache-2.0"
] | permissive | /*
* Copyright 2018 Karl Bennett
*
* 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 applicabl... | true |
89dca719084e596f7e6341aa3ce7df2d93c91b3e | Java | ewenkai/SSM-Demo | /ssm_exam_service/src/main/java/com/soldier/service/RolePermissionService.java | UTF-8 | 218 | 1.59375 | 2 | [] | no_license | package com.soldier.service;
import com.soldier.domain.Permission;
import org.apache.ibatis.annotations.Param;
import java.util.List;
public interface RolePermissionService {
void add(String pid,String rid);
}
| true |
9846aae8bcf9356ef6dfa5bbe549e14a54cc8db1 | Java | noobeta/baking | /app/src/main/java/com/example/taruntanmay/bakingapp/DetailActivity.java | UTF-8 | 3,675 | 2.328125 | 2 | [] | no_license | package com.example.taruntanmay.bakingapp;
import android.os.Bundle;
import android.support.v4.app.FragmentManager;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Toolbar;
import android.util.Log;
import android.widget.FrameLayout;
import com.example.taruntanmay.bakingapp.json.recip... | true |
5b22ad29436095f06d1f7cded75f97b9b5f43be4 | Java | technocode/com.wa_2.21.2 | /src/main/java/X/AnonymousClass1YL.java | UTF-8 | 3,141 | 2.0625 | 2 | [] | no_license | package X;
import java.util.Arrays;
/* renamed from: X.1YL reason: invalid class name */
public class AnonymousClass1YL {
public final int A00;
public final AnonymousClass0OB A01;
public final boolean A02;
public AnonymousClass1YL(AnonymousClass0OB r3, int i, int i2) {
this.A01 = r3 == null ... | true |
a7afc46a0fd4a3f28f6d08c40412e9ac671504ee | Java | QuentinPin/EtreUnArtiste | /src/fr/eseo/poo/projet/artiste/modele/formes/Ligne.java | UTF-8 | 2,787 | 2.890625 | 3 | [] | no_license | package fr.eseo.poo.projet.artiste.modele.formes;
import fr.eseo.poo.projet.artiste.modele.Coordonnees;
import java.text.NumberFormat;
import java.util.Locale;
public class Ligne extends Forme
{
public static final double EPSILON = 0.9d;
public Ligne()
{
super();
}
public Ligne(double l... | true |
060f85980e113db805c46a581c0035259fb519b4 | Java | ceccr/chembench | /src/main/java/edu/unc/ceccr/chembench/servlet/DescriptorMatrixServlet.java | UTF-8 | 2,225 | 2.46875 | 2 | [
"BSD-2-Clause"
] | permissive | package edu.unc.ceccr.chembench.servlet;
import edu.unc.ceccr.chembench.global.Constants;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.*;
public class Descri... | true |
cfb1f4631c90f14eba9055cafb8c6422c5959b6d | Java | SimplyyShubh/Devsnest-DSA | /Trees/SubtreeOfAnother.java | UTF-8 | 1,259 | 3.640625 | 4 | [] | no_license | package Trees;
/**
* SubtreeOfAnother
*/
public class SubtreeOfAnother {
public static boolean isSubtree(TreeNode s, TreeNode t) {
if(s== null && t != null)
return false ;
if (isSameTree(s, t))
return true;
else {
return isSubtree(s.left, t) |... | true |
86b0d9fed319583d42d18f2d2e19ce8e5eabefd4 | Java | lixianguo5097/springboot | /springboot-shiro/shiro-jwt/src/main/java/com/lxg/mapper/SysRoleMapper.java | UTF-8 | 573 | 1.945313 | 2 | [] | no_license | package com.lxg.mapper;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.lxg.model.SysRole;
import com.lxg.model.SysUser;
import org.springframework.stereotype.Repository;
import java.util.List;
/**
* RoleMapper
* @author lxg
* @date 2018/8/31 14:42
*/
@Repository
public interface SysRoleMapper ext... | true |
5ac668fb32afe9f981972e03ac60ca38721415db | Java | gjianu21/blog-spring-boot | /src/main/java/com/blog/blogspringboot/services/ArticleServiceImpl.java | UTF-8 | 1,101 | 2.1875 | 2 | [] | no_license | package com.blog.blogspringboot.services;
import com.blog.blogspringboot.models.Articles;
import com.blog.blogspringboot.repositories.ArticlesRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
@Service
public class Article... | true |
c728c734799bf11ee3c9d6735cc48519e7e4675b | Java | cnsulla/HuffmanCompressor_122 | /HuffmanCompressor.java | UTF-8 | 1,209 | 2.9375 | 3 | [] | no_license | import java.awt.image.BufferedImage;
public class HuffmanCompressor
{
HeapToHuff heap;
SerializeTree en;
DeserializeTree de;
HuffmanNode huffTreeTurned;
CompressImage comp;
DecompressImage decomp;
BufferedImage imgFin;
String imgIn = "512x288";
String treeOut = "tree2.fl";
Stri... | true |
b163a2355b212b30e57982d31f839c18d038bba8 | Java | imhotepper/jwdnd-graphql | /src/main/java/com/udacity/graphql/repository/LocationRepository.java | UTF-8 | 286 | 1.75 | 2 | [] | no_license | package com.udacity.graphql.repository;
import com.udacity.graphql.entity.Location;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;
@Repository
public interface LocationRepository extends CrudRepository<Location, Long> {
}
| true |
287e910e0c91b178a2780f6bfeb6a205900b1181 | Java | cha63506/CompSecurity | /snap_chat_source/src/com/google/android/gms/internal/zzbq.java | UTF-8 | 4,621 | 1.703125 | 2 | [] | no_license | // Decompiled by Jad v1.5.8e. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.geocities.com/kpdus/jad.html
// Decompiler options: braces fieldsfirst space lnc
package com.google.android.gms.internal;
import android.content.Context;
import android.os.RemoteException;
import com.google.android.gms.ads.Ad... | true |
51c4b2d8b82af2c7ea63217aa2e76baf5229e2ee | Java | waitingP/CryptoPriceApp | /app/src/main/java/com/ou/csi5230/cryptocurrencyprice/tableview/holder/IconCellViewHolder.java | UTF-8 | 865 | 2.28125 | 2 | [] | no_license | package com.ou.csi5230.cryptocurrencyprice.tableview.holder;
import android.net.Uri;
import android.view.View;
import android.widget.ImageView;
import com.evrencoskun.tableview.adapter.recyclerview.holder.AbstractViewHolder;
import com.ou.csi5230.cryptocurrencyprice.R;
import com.ou.csi5230.cryptocurrencyprice.tablev... | true |
82335ccc87776a2b20ab8e47dd81902d949baee7 | Java | tiddhacker/POM-Selenium-demo | /src/test/java/com/crm/qa/testcases/ContactPageTest.java | UTF-8 | 1,607 | 2.4375 | 2 | [] | no_license | package com.crm.qa.testcases;
import java.io.IOException;
import org.testng.annotations.AfterMethod;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.DataProvider;
import org.testng.annotations.Test;
import com.crm.qa.base.TestBase;
import com.crm.qa.page.ContactsPage;
import com.crm.qa.page... | true |
d8a2da9c082f46a1d91ff9e41f9cfead95ed3fbf | Java | buddyLy/webservice1 | /cg-cuidservices/src/main/java/com/walmart/services/ckpcg/cuidservices/PersonNotFoundFault.java | UTF-8 | 526 | 1.851563 | 2 | [] | no_license | /**
*
*/
package com.walmart.services.ckpcg.cuidservices;
import com.walmart.platform.soa.common.exception.SOAException;
/**
* @author srao01,rdharuk
*
*/
public class PersonNotFoundFault extends SOAException {
private PersonNotFoundDetails details;
public PersonNotFoundFault(String errorMessage)... | true |
34173e592ba6fd313e09d319a363308b1990c05a | Java | karthik-sr87/FulfillmentRulesUpload | /src/com/ebao/aig/sg/fulfillment/rules/upload/target/data/dao/TSgCoverTypeSpecConfigDaoFactory.java | UTF-8 | 406 | 1.804688 | 2 | [] | no_license | package com.ebao.aig.sg.fulfillment.rules.upload.target.data.dao;
import com.ebao.aig.sg.fulfillment.rules.upload.target.data.dao.impl.TSgCoverTypeSpecConfigDaoOracleImpl;
public class TSgCoverTypeSpecConfigDaoFactory {
private static TSgCoverTypeSpecConfigDao dao=new TSgCoverTypeSpecConfigDaoOracleImpl();
publ... | true |
242ca435101f1b4b13b676e7682dd2400ac49281 | Java | nisargtrivedi/MyDriveway | /app/src/main/java/com/driveway/Component/Utility.java | UTF-8 | 6,728 | 1.875 | 2 | [] | no_license | package com.driveway.Component;
import android.app.Activity;
import android.app.AlertDialog;
import android.app.Dialog;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.graphics.drawable.ColorDrawable;
import android.net.ConnectivityManager;
import ... | true |
217f2479237003dfa2f4231d308981047e4af9cf | Java | HarryNguyen99/ViewPagerDeMo | /SOURCE/app/src/main/java/com/example/baihoc1/viewpapedemo/Model/FollowResult.java | UTF-8 | 1,260 | 2.09375 | 2 | [] | no_license | package com.example.baihoc1.viewpapedemo.Model;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import java.io.Serializable;
public class FollowResult implements Serializable {
@SerializedName("materialID")
@Expose
public String materialID;
@SerializedName("materialName... | true |
0404866d212c3e07ca029f50629c726fe4ff4224 | Java | DE-IK-Smart-Campus/DE-IK-Smart-Campus-Backend | /smart-campus-backend-parent/smart-campus-service-impl/src/main/java/hu/unideb/smartcampus/service/api/util/StudentCourseUtil.java | UTF-8 | 2,227 | 2.546875 | 3 | [] | no_license | package hu.unideb.smartcampus.service.api.util;
import java.util.ArrayList;
import java.util.Comparator;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.concurrent.ConcurrentHashMap;
import java.util.function.Function;
import java.util.function.Predicate;
import java.util.stream.Col... | true |
8f411a60ca21ef09b6e6aa4ce728e0c14d0067eb | Java | Eljah/sakkijarvi | /src/main/java/org/eclipse/jetty/server/ConnectorStatistics.java | UTF-8 | 9,822 | 2.21875 | 2 | [] | no_license | //
// ========================================================================
// Copyright (c) 1995-2014 Mort Bay Consulting Pty. Ltd.
// ------------------------------------------------------------------------
// All rights reserved. This program and the accompanying materials
// are made available under the ter... | true |
95591c32f186fddf5ea94d11eda80fa0a589dd54 | Java | myosmatrix/mycop | /mycop/src/main/java/com/gever/goa/dailyoffice/mailmgr/vo/MailErrorInfoVO.java | GB18030 | 1,522 | 2.25 | 2 | [] | no_license | package com.gever.goa.dailyoffice.mailmgr.vo;
/**
* <p>Title: MailErrorInfoVOʼѶϢʾ</p>
* <p>Description:ʼѶϢʾ </p>
* <p>Copyright: Copyright (c) 2004</p>
* <p>Company: </p>
* @author Hu.Walker
* @version 1.0
*/
public class MailErrorInfoVO {
private String errorCode = ""; //code
private Stri... | true |
54d45407fb14caad0de4866bec92d509249aa362 | Java | kisChang/kis-utils | /src/main/java/com/kischang/simple_utils/web/bind/annotation/ReqDataTablePage.java | UTF-8 | 398 | 1.9375 | 2 | [] | no_license | package com.kischang.simple_utils.web.bind.annotation;
import java.lang.annotation.*;
/**
* 用于DataTables 分页对象注入
*/
@Target({ElementType.PARAMETER})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface ReqDataTablePage {
/**
* 页面baseUrl
*/
String url() default "";
String start() ... | true |
283b7ab884ad6a9677867d1f9b5f241020715a39 | Java | gwelw/multiworld | /src/main/java/nl/ferrybig/multiworld/command/DebugLevel.java | UTF-8 | 503 | 2.15625 | 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 nl.ferrybig.multiworld.command;
/**
* @author Fernando
*/
public enum DebugLevel {
VVVVVV(-1),
VVVVV(0),
VVVV(1),
VV... | true |
40fe25e307f363f43c62137ddc4d25413b82634f | Java | xiaolinpeter/lucene-solr | /solr/core/src/test/org/apache/solr/cloud/TestRSAKeyPair.java | UTF-8 | 2,402 | 2.109375 | 2 | [
"Apache-2.0",
"MIT",
"LicenseRef-scancode-unknown",
"CDDL-1.1",
"NAIST-2003",
"CC-BY-SA-3.0",
"LicenseRef-scancode-unicode",
"LicenseRef-scancode-proprietary-license",
"LicenseRef-scancode-other-copyleft",
"ANTLR-PD",
"LicenseRef-scancode-unknown-license-reference",
"LGPL-2.0-or-later",
"GPL... | 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 may ... | true |
8d6184290f58602c1000f26586c0f76b37bf3171 | Java | ronaldorigamonti/GPEDS-CVP | /src/br/edu/GPEDSCVP/validacao/ValidaCampos.java | UTF-8 | 13,935 | 2.515625 | 3 | [] | no_license | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package br.edu.GPEDSCVP.validacao;
import br.edu.GPEDSCVP.conexao.ConexaoBanco;
import java.awt.Component;
import java.awt.Co... | true |
99feab1fc9c340866b8ee9365336f823ff1324fb | Java | ftc-16244/SkyStone | /TeamCode/src/main/java/org/firstinspires/ftc/teamcode/Autonomous/MotionLib.java | UTF-8 | 6,275 | 2.796875 | 3 | [
"BSD-3-Clause"
] | permissive | package org.firstinspires.ftc.teamcode.Autonomous;
import com.qualcomm.robotcore.eventloop.opmode.LinearOpMode;
import com.qualcomm.robotcore.hardware.DcMotor;
import com.qualcomm.robotcore.util.ElapsedTime;
import org.firstinspires.ftc.teamcode.Subsystems.Arm;
import org.firstinspires.ftc.teamcode.Subsystems.Drivetra... | true |
fa47e50c2a2e0ae8daedf419b7a9f9c1fc61c2eb | Java | sahiltshah/FlipkartJediTraining | /CRS-Dropwizard project/src/main/java/com/flipkart/exception/CourseException/CourseIndexInvalidException.java | UTF-8 | 111 | 1.5625 | 2 | [] | no_license | package com.flipkart.exception.CourseException;
public class CourseIndexInvalidException extends Exception{
}
| true |
c36b44e86a76a9b508ec51e06d7ea30f250c86e3 | Java | liurunkaiGit/asset | /assets-package/src/main/java/com/ruoyi/assetspackage/controller/TLcImportFlowController.java | UTF-8 | 3,901 | 1.851563 | 2 | [
"MIT"
] | permissive | package com.ruoyi.assetspackage.controller;
import com.ruoyi.assetspackage.domain.TLcImportFlow;
import com.ruoyi.assetspackage.service.ITLcImportFlowService;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi... | true |
227fdb67ab5960c8d7b4b41d33fcdee22c5b4ed6 | Java | programmerock/interfacesPrimefaces | /src/main/java/ar/org/centro8/curso/java/aplicaciones/enumerados/Letra.java | UTF-8 | 85 | 1.65625 | 2 | [] | no_license | package ar.org.centro8.curso.java.aplicaciones.enumerados;
public enum Letra {A,B,C}
| true |
fbca0bffc04e185f0eb83e67f971c53e7f4c366e | Java | Maxxa/MT-common | /src/cz/commons/animation/AnimationControl.java | UTF-8 | 5,698 | 2.953125 | 3 | [] | no_license | package cz.commons.animation;
import javafx.animation.Transition;
import javafx.beans.property.IntegerProperty;
import javafx.beans.property.SimpleIntegerProperty;
import java.util.ArrayList;
import java.util.LinkedList;
/**
* @author Viktor Krejčíř
* @author Vojtěch Müller
*/
public class AnimationControl implem... | true |
df1048b8be9f49b4904423a5578300121797248a | Java | mr2much/eventmanager | /src/com/banreservas/monitoreo/repository/UserRepositoryStub.java | UTF-8 | 572 | 2.578125 | 3 | [] | no_license | package com.banreservas.monitoreo.repository;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
public class UserRepositoryStub implements UserRepository {
private ObservableList<String> users = FXCollections.observableArrayList();
private Long idIndex = 1L;
{
users.add("Anubis... | true |
0ecaa455b6f1b24b0728bf64c7eb9b40d089b9fb | Java | yordylopez/AppApuesta | /app/src/main/java/com/yordy/ecoresi/fragments/JugadasFragment.java | UTF-8 | 13,867 | 1.59375 | 2 | [] | no_license | package com.yordy.ecoresi.fragments;
import android.app.Activity;
import android.app.ProgressDialog;
import android.content.DialogInterface;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v7.app.AlertDialog;
import android.support.v7.app.AppCompatActivity;
import android.suppo... | true |
a9b1672e049714d103121b10db00ab730ace73f1 | Java | khashayarghamati/ModelFragmentController | /app/src/main/java/ghamati/com/mfc/adapter/CoreAdapter.java | UTF-8 | 2,020 | 2.328125 | 2 | [
"MIT"
] | permissive | package ghamati.com.mfc.adapter;
import android.support.annotation.NonNull;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import java.util.ArrayList;
import ghamati.com.mfc.fragment.listener.ItemListener;
/**
* Created b... | true |
1592b81e2a87349b6e215073ec7ec16c19f3cc9a | Java | rpython/spring-framework | /spring-websocket/src/main/java/org/springframework/web/socket/adapter/StandardWebSocketSessionAdapter.java | UTF-8 | 3,001 | 2.125 | 2 | [
"Apache-2.0"
] | permissive | /*
* Copyright 2002-2013 the original author or authors.
*
* 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 applica... | true |
213c0bb4780306af9e133ca8a3e870e151c059ab | Java | KuntanSutar/Home-PC-Practice | /Home PC Practice/FileIO9.java | UTF-8 | 438 | 2.96875 | 3 | [] | no_license | // BufferedWriter Example 1
import java.io.*;
class BufferedWriterDemo
{
public static void main(String[ ] args) throws IOException
{
FileWriter fw = new FileWriter("cricket.txt");
BufferedWriter bw = new BufferedWriter(fw);
bw.write(68);
bw.newLine( );
char[ ] ch={'a','b','c','d'};
bw.write(ch);
bw.n... | true |
489e95ced4f0cb28071c3e56778315116548c4ee | Java | owain-Biddulph/projetJava | /Hospital/src/core/Variables.java | UTF-8 | 17,296 | 2.953125 | 3 | [] | no_license | package core;
import java.util.Scanner;
public class Variables {
public static class Arrival {
private static int cost = 0;
public static int getCost() {return cost;}
public static void setCost(int cost) {Arrival.cost = cost;}
}
public static class Registration {
private static int time = 2;
private... | true |
12c59aeeeebc47b5eaad4805a0fbd9791cc373f7 | Java | Ashokvallakeerthi/sample | /src/Onlineshoppings/Mousehoveractions.java | UTF-8 | 2,051 | 2.28125 | 2 | [] | no_license | package Onlineshoppings;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.openqa.selenium.interactions.Actions;
public class Mousehoveractions {
//WebDriver driver=new FirefoxDriver();
//driver.manage().window().maximize();
// dr... | true |
8fa8d052d9668087541333b8d26dca693022c3fc | Java | ravibgupta/ILoveZappos | /app/src/main/java/in/ravi/ilovezappos/model/ProductResponse.java | UTF-8 | 538 | 1.960938 | 2 | [] | no_license | package in.ravi.ilovezappos.model;
import com.google.gson.annotations.SerializedName;
import java.util.List;
public class ProductResponse {
@SerializedName("originalTerm")
private String originalTerm;
@SerializedName("results")
private List<Product> results;
@SerializedName("term")
private... | true |
715b98e58792670fb75a28d4becf3762adff1cc7 | Java | Sk1erLLC/AutoTree | /src/main/java/club/sk1er/mods/tree/CommandTreePlantOffset.java | UTF-8 | 1,152 | 2.5625 | 3 | [
"MIT"
] | permissive | package club.sk1er.mods.tree;
import net.minecraft.command.CommandBase;
import net.minecraft.command.CommandException;
import net.minecraft.command.ICommandSender;
import net.minecraft.util.ChatComponentText;
import org.apache.commons.lang3.math.NumberUtils;
public class CommandTreePlantOffset extends CommandBase {
... | true |