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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
dd1d21ffa32740626f9bbaebc2fede16de41e67a | Java | potis/sergeant | /src/main/java/edu/mayo/qia/qin/sergeant/ProcessJobInfo.java | UTF-8 | 1,083 | 2.3125 | 2 | [
"BSD-3-Clause"
] | permissive | package edu.mayo.qia.qin.sergeant;
import java.util.concurrent.ExecutionException;
import org.zeroturnaround.exec.StartedProcess;
import com.fasterxml.jackson.annotation.JsonIgnore;
public class ProcessJobInfo extends JobInfo {
@JsonIgnore
public StartedProcess startedProcess;
@Override
public String getSt... | true |
394c3cc904f87da364ee56bcba3ce10b089e7a0a | Java | JosuePoli/Java_proyecto1 | /Proyecto1/Ejercicio7/CifradoCesar.java | UTF-8 | 3,415 | 3.8125 | 4 | [] | no_license | import java.io.IOException;
import java.util.Scanner;
/**
*Clase para el cifrado Cesar
*@author: Flores García Karina #9
*@author:Josué González Policarpo #7
*@version: 06/10/18
*/
public class CifradoCesar {
/**
*Método de la clase principal
*@param args Paso de argumentos por terminal
*/
public st... | true |
1a56bf1c29b62f01121d4130a098665bf1301f2d | Java | alexf2/GuanaIsland | /G_APPL/G_APPL/IMDataControl.java | UTF-8 | 1,498 | 1.789063 | 2 | [] | no_license | package G_APPL;
import java.awt.*;
import java.awt.event.*;
import borland.jbcl.layout.*;
import borland.jbcl.control.*;
import borland.jbcl.dataset.*;
import java.rmi.*;
import java.io.Serializable;
class TDataRet implements Serializable
{
TDataRet()
{
m_iReturnedPage = 0;
m_iPages = 1;
}
... | true |
a971e2421087c0bc2c4559e611ba3e80f975b8bb | Java | janeduncan/BookingSystem | /src/main/java/com/example/codeclan/bookingsystem/repositories/booking/customerRepository/CustomerRepositoryImpl.java | UTF-8 | 2,736 | 2.40625 | 2 | [] | no_license | package com.example.codeclan.bookingsystem.repositories.booking.customerRepository;
import com.example.codeclan.bookingsystem.models.Customer;
import org.hibernate.Criteria;
import org.hibernate.HibernateException;
import org.hibernate.Session;
import org.hibernate.criterion.Restrictions;
import org.springframework.bea... | true |
e09c73c201c6c998be437bd619e887d22f025079 | Java | Ret-Mode/android | /android/src/com/android/tools/idea/experimental/codeanalysis/datastructs/graph/node/LoopBranchingNode.java | UTF-8 | 3,378 | 2.375 | 2 | [
"Apache-2.0"
] | permissive | /*
* Copyright (C) 2016 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | true |
7e70ccb2d8360be2426aca6772601c757f5bfce5 | Java | luizjacomn/eagle-sync | /eaglesync/core/src/main/java/br/com/cybereagletechnology/eaglesync/metadata/ParseType.java | UTF-8 | 501 | 2.25 | 2 | [] | no_license | package br.com.cybereagletechnology.eaglesync.metadata;
/**
* Identifica como deve ser feita a serialização Quando definida em uma
* Classe, define o padrão de como será a serialização dos campos da classe.
* Quando definido no campo, sobrepõe o padrão, Seus valores são os seguintes<br>
* COMPLETE: Monta uma nova... | true |
6ba0faf3b38ef3c1f18d3954c540c2da5c4f7ef0 | Java | ofekkazes/slender_clone | /src/com/strawberry/engine/OLD/Statics.java | WINDOWS-1255 | 3,719 | 2.734375 | 3 | [
"Apache-2.0"
] | permissive | package com.strawberry.engine.OLD;
import static org.lwjgl.opengl.GL11.GL_BLEND;
import static org.lwjgl.opengl.GL11.GL_CULL_FACE;
import static org.lwjgl.opengl.GL11.GL_DEPTH_TEST;
import static org.lwjgl.opengl.GL11.GL_ONE_MINUS_SRC_ALPHA;
import static org.lwjgl.opengl.GL11.GL_QUADS;
import static org.lwjgl.opengl.... | true |
0feacfd801de6602a49dd16b788bc2d95318f5f2 | Java | dohaiha1703/DemoMVP | /demomvp/data/source/local/LocalStudentDataSource.java | UTF-8 | 1,054 | 2.53125 | 3 | [] | no_license | package com.duan1.nhom4.demomvp.data.source.local;
import com.duan1.nhom4.demomvp.data.Callback;
import com.duan1.nhom4.demomvp.data.model.Student;
import com.duan1.nhom4.demomvp.data.source.StudentDataSource;
import com.duan1.nhom4.demomvp.data.source.StudentDatabaseManager;
import java.util.List;
public class Loca... | true |
46c1e5b36ebba36b759d159f82c94619cde76945 | Java | IlkoPanchev/top-depot-app | /Project/src/main/java/warehouse/orderline/model/OrderLineViewServiceModel.java | UTF-8 | 913 | 2.1875 | 2 | [] | no_license | package warehouse.orderline.model;
import warehouse.items.model.ItemAddServiceModel;
import warehouse.items.model.ItemViewServiceModel;
import java.math.BigDecimal;
public class OrderLineViewServiceModel {
private Long id;
private ItemViewServiceModel item;
private int quantity;
private BigDecimal su... | true |
353ca7fd2f1ee1cf47bc17d81551c64b8ec01aa1 | Java | thebaz73/social-media | /social-media-services/social-media-services-repository/src/main/java/crossover/social/media/repository/CommentRepository.java | UTF-8 | 1,964 | 2.109375 | 2 | [] | no_license | package crossover.social.media.repository;
import crossover.social.media.domain.Comment;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.mongodb.repository.MongoRepository;
import java.util.List;
/**
* CmsPageRepository
* Created by theb... | true |
94e06de597c6bd8b00f87abf7c4c6c7455d3dc8f | Java | EsterMarcos/PAM-aula6 | /app/src/main/java/com/example/cadastro/AdicionalActivity.java | UTF-8 | 343 | 1.59375 | 2 | [] | no_license | package com.example.cadastro;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
public class AdicionalActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activi... | true |
611904f020dbd87df549568b2b9076c0f2eb2353 | Java | gulcbyrm/Java-Projeler | /eczaneOtomasyonu/EczaneOtomasyon/src/eczaneotomasyon/dao/MusteriDAO.java | UTF-8 | 6,763 | 2.8125 | 3 | [] | no_license |
package eczaneotomasyon.dao;
import eczaneotomasyon.model.Musteri;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import javax.swing.JOptionPane;
/**
* Alt tabakada olup iş yapan katmanlar DAO sınıfları olarak adlandırılır.
*
* Dao sınıfımız... | true |
3d2ce9cd5802d88617adc74e2f0bf5da88c67958 | Java | Redtom213/JAVAStudyApril18 | /programmers.co.kr.learn.courses/lesson18/Test1AddDigitsAnswer.java | UTF-8 | 427 | 3.03125 | 3 | [] | no_license | package lesson18;
import java.util.*;
public class Test1AddDigitsAnswer {
public static int solution(int n) {
int answer = 0;
while(n>0) {
answer+=n%10;
n/=10;
}
return answer;
}
public Test1AddDigitsAnswer() {
// TODO Auto-generated constructor stub
}
public static void main(String[] args) {
... | true |
349f427045e903d66f01045a13c0168359c77002 | Java | mahardhikuncoro/collection | /app/src/main/java/base/sqlite/TasklistHistoryModel.java | UTF-8 | 3,913 | 1.710938 | 2 | [] | no_license | package base.sqlite;
public class TasklistHistoryModel {
private String userid,
custname,
appnumber,
currtrcode,
track_code,
track_desc,
product_id,
finish_track,
tr_desc,
nexttrby,
processby,
... | true |
08dae5da26706398ef66fa12c0a6b608c13ca93f | Java | baalel/fudge | /src/uk/gov/tna/fudge/jExtractor/Main/IndexFromFiles.java | UTF-8 | 2,430 | 2.21875 | 2 | [] | no_license | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package uk.gov.tna.fudge.jExtractor.Main;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.nio.file.FileSystems;
import java.nio.file.PathMatcher;
import java.util.ArrayList;
i... | true |
659d0109f0459b58dd473f1a719c3e1095656f0a | Java | DrDarkfire/GBURGCS | /MP3Fun.java | UTF-8 | 1,283 | 3.0625 | 3 | [] | no_license | import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.control.Label;
import javafx.scene.layout.Pane;
import javafx.scene.media.Media;
import javafx.scene.media.MediaPlayer;
import javafx.stage.Stage;
public class MP3Fun extends Application {
// Source: http://www.orangefree... | true |
210314bf07fce254eb0e1090e24fad99ee5acf16 | Java | itjhDev/mitjh | /src/main/java/cn/com/itjh/mitjh/domain/Article.java | UTF-8 | 3,226 | 2.390625 | 2 | [] | no_license | package cn.com.itjh.mitjh.domain;
import java.io.Serializable;
/**
*
* 文章实体类. <br>
* 文章实体类
* @Copyright itjh
* @Project
* @author 宋立君
* @date 2014年10月30日 下午3:37:28
* @Version
* @JDK version used 8.0
* @Modification history none
* @Modified by none
*/
public class Article implements Seri... | true |
afd10849346334f633a28ea0c019d86c50fe4487 | Java | Mounusha/backend | /ShopBack/src/main/java/com/niit/shopback/DAO/ProductDAO.java | UTF-8 | 280 | 2.140625 | 2 | [] | no_license | package com.niit.shopback.DAO;
import java.util.List;
import com.niit.shopback.model.Product;
public interface ProductDAO {
public List<Product>list();
public Product get(String Id);
public void saveOrUpdate(Product product);
public void delete(String Id);
}
| true |
5e20552e89b874318ce4ff65e26ad4ed73187b6a | Java | soaexpert/mule-dsl | /core/src/test/java/org/mule/config/dsl/TestInvokeCustomMP.java | UTF-8 | 2,120 | 2.171875 | 2 | [] | no_license | /*
* ---------------------------------------------------------------------------
* Copyright (c) MuleSoft, Inc. All rights reserved. http://www.mulesoft.com
*
* The software in this package is published under the terms of the CPAL v1.0
* license, a copy of which has been included with this distribution in the... | true |
06e99909f0982a7dbe2a7dcff89b8f461f830f98 | Java | poroyliev/graphql | /src/test/java/com/cs/grapql/graphql/SubscriptionQuery.java | UTF-8 | 709 | 2.203125 | 2 | [] | no_license | package com.cs.grapql.graphql;
import com.coxautodev.graphql.tools.GraphQLSubscriptionResolver;
import com.cs.grapql.model.Tyre;
import graphql.schema.DataFetchingEnvironment;
import org.springframework.stereotype.Component;
import reactor.core.publisher.Flux;
import java.io.IOException;
import java.time.Duration;
im... | true |
dda3111f16a249b2f407073245b4b863c9d5c54a | Java | wubh576/BBSOne | /src/main/java/com/bluemsun/BBS/service/PlateService.java | UTF-8 | 2,346 | 1.992188 | 2 | [] | no_license | package com.bluemsun.BBS.service;
import com.bluemsun.BBS.common.ServerResponse;
import com.bluemsun.BBS.dto.PageDto;
import com.bluemsun.BBS.dto.PlateIdAndName;
import com.bluemsun.BBS.dto.PlateShow;
import com.bluemsun.BBS.entity.Plate;
import java.util.List;
public interface PlateService {
/**
* 新增板块
... | true |
4449db747400a15e01509868785f73ef968fae1e | Java | HenryGuaman/Practica-de-laboratorio-03-EJB-JSF-y-JPA | /Practica_de_laboratorio_03_EJB_JSF_JPA/src/ec/edu/ups/entidades/Usuario.java | UTF-8 | 1,449 | 2.484375 | 2 | [] | no_license | package ec.edu.ups.entidades;
import java.io.Serializable;
import javax.persistence.*;
/**
* Entity implementation class for Entity: Usuario
*
*/
@Entity
public class Usuario extends Persona implements Serializable {
private static final long serialVersionUID = 1L;
private String correo;
privat... | true |
f64500623f1076608dade5da889869102bcccd9e | Java | charles-zheng/freecell | /cs3500/hw02/src/FreeCell.java | UTF-8 | 935 | 3.25 | 3 | [] | no_license | /**
* Created by Charles on 9/14/16.
*/
import java.util.ArrayList;
public class FreeCell {
public static void main(String[] args) {
ArrayList<Card> deck = new ArrayList<>();
for (int i = 1; i < 14; i++) {
for (Card.Suit s : Card.Suit.values()) {
deck.add(new Card(i, s));
}
}
... | true |
edc05b436a0c244e2ed29eee4124338a5ee3d779 | Java | cph-jh332/SP3_Joachim | /opgave 4/src/main/java/REST/PetResource.java | UTF-8 | 2,358 | 2.6875 | 3 | [] | no_license | package REST;
import Entity.Pet;
import Factory.Factory;
import com.google.gson.Gson;
import com.google.gson.JsonArray;
import com.google.gson.JsonObject;
import java.util.List;
import javax.persistence.EntityManagerFactory;
import javax.persistence.Persistence;
import javax.ws.rs.core.Context;
import javax.ws.rs.core... | true |
a884c31906795ddf3bc4c9e5765e2fff29d0bfd1 | Java | mangeshsontakke/assignment1 | /src/Program13.java | UTF-8 | 1,256 | 3.921875 | 4 | [] | no_license | import java.util.Scanner;
public class Program13 {
// Scanner
/*13. Get a integer array as input.
Find the average of the elements which are in the position
of prime index
output:21
input:{1,2,3,4,5,6,7,8,9,10}
0,1,2,3,4,5,6,7,8,9
logic:3+4+6+8(the index are prime numbers)
*/
public static void m... | true |
3fd27bc7b61d77edbc5114383fa7f3724b84516d | Java | ololokiras/just-simple-client | /app/src/main/java/com/ds24/ds24android/adapters/filterAdapters/ReasonAdapter.java | UTF-8 | 2,371 | 2.40625 | 2 | [] | no_license | package com.ds24.ds24android.adapters.filterAdapters;
import android.content.Context;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.TextView;
import com.ds24.ds24android... | true |
7b7e1d8dd10ed44272f9b3861287a8052b0653f2 | Java | mrzon/GraphBT | /org.be.graphbt.graphiti/src/org/be/graphbt/graphiti/features/CreateGeneralBtNodeFeature.java | UTF-8 | 4,953 | 1.875 | 2 | [] | no_license | package org.be.graphbt.graphiti.features;
import java.io.IOException;
import java.util.HashMap;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.emf.ecore.resource.Resource;
import org.eclipse.graphiti.features.ICreateFeature;
import org.eclipse.graphiti.features.IFeatureProvider;
import org... | true |
86df31bbdb52e2e76faaa412f2fb6065cb4baea0 | Java | ziemm/basic-code | /basic-code/src/cn/xie/base02/demo04FunctionalInterface/DemoFunctionalInterface.java | UTF-8 | 475 | 3.078125 | 3 | [] | no_license | package cn.xie.base02.demo04FunctionalInterface;
/**
* @author: xie
* @create: 2019-10-11 10:37
**/
public class DemoFunctionalInterface {
public static void main(String[] args) {
doSomthing(()->System.out.println("Lambda执行啦!"));
}
/**
* @Description: 函数式接口作为方法的参数
* @Param: [inter]
... | true |
5dece0d9fec39a2b004169fd12e6e083c338f01c | Java | u19900101/Spring | /2_AOP/src/dao/UserDao.java | UTF-8 | 162 | 1.8125 | 2 | [] | no_license | package dao;
/**
* @author lppppp
* @create 2021-01-13 20:02
*/
public interface UserDao {
public int add(int a,int b);
public void update(int a);
}
| true |
f5d3ee7878e60f31d63b8d9e2d3d7331803f9ac7 | Java | dexmo007/ostfalia-gdp | /GdPSS15A9/src/de/ostfalia/gdp/ss15/TimeTableTest2.java | UTF-8 | 6,706 | 2.25 | 2 | [] | no_license | package de.ostfalia.gdp.ss15.test;
import static org.junit.Assert.*;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import de.ostfalia.gdp.ss15.Room;
import de.ostfalia.gdp.ss15.DateTime;
import de.ostfalia.gdp.ss15.TimeTable;
import de.ostfalia.gdp.ss15.Lecture;
public class TimeTableTest2... | true |
12c87c9f2b7858924262f77f634f4703a3dd7935 | Java | newbieyuan/AndroidGeneralModule | /app/src/main/java/yy/androidgeneralmodule/baseUi/UIActivity.java | UTF-8 | 590 | 1.882813 | 2 | [] | no_license | package yy.androidgeneralmodule.baseUi;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import yy.androidgeneralmodule.R;
public class UIActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInst... | true |
3031839e2acd1d1745e562d39d3b46f18f0dd88b | Java | treejames/mofi | /mofi/src/main/java/qianyan/mofi/dao/ApplyInfoDao.java | UTF-8 | 450 | 1.78125 | 2 | [] | no_license | package qianyan.mofi.dao;
import java.util.List;
import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Transactional;
import qianyan.mofi.entity.ApplyInfo;
@Transactional
public interface ApplyInfoDao extends BaseDao<ApplyInfo, Long> {
public List<ApplyInfo> listbyName(... | true |
4ffcd932daa932783f05c7edc522ecf78ada40f4 | Java | ao9-demos/java-learning | /Abstraction/src/com/company/Bird.java | UTF-8 | 600 | 3.734375 | 4 | [] | no_license | package com.company;
public abstract class Bird extends Animal implements CanFly, CanWalk {
public Bird(String name) {
super(name);
}
@Override
public void breathe() {
System.out.println(getName() + " is breathing...as a bird");
}
@Override
public void eat() {
Syst... | true |
c5afc2c5c4b2bfaadeefbacfada6f06f88360e38 | Java | z3r0k3n/codebasic | /java/Kethua/Bai2.1/Bai3/Test.java | UTF-8 | 2,171 | 3.28125 | 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 Bai3;
/**
*
* @author ASM
*/
import java.util.Scanner;
public class Test {
public static void main (String[] args)
... | true |
3df223afb91b0cf71dc873c09f81b05bf2525273 | Java | ydlx002/pms | /src/main/java/com/ydlx/domain/vo/ResultVO.java | UTF-8 | 1,192 | 2.4375 | 2 | [] | no_license | package com.ydlx.domain.vo;
import com.ydlx.constants.ResultType;
import java.io.Serializable;
/**
* Created by ydlx on 2017/5/3.
*/
public class ResultVO implements Serializable{
/***结果码*/
private String resultCode;
/**结果描述*/
private String resultDesc;
/**结果集*/
private Object data;
... | true |
1b4d5ccb6dba819d09f9e911893ac3838c487ac4 | Java | xinaml/luck | /modules/user/src/main/java/com/xinaml/user/act/RegisterAct.java | UTF-8 | 831 | 1.882813 | 2 | [] | no_license | package com.xinaml.user.act;
import com.xinaml.jpa.verify.ADD;
import com.xinaml.user.ser.UserSer;
import com.xinaml.user.to.RegisterTO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.validation.BindingResult;
import org.springframework.validation.annotation.Validated;
import... | true |
298b55d4bff3a283e24484d872481b7c49568d4a | Java | hamzah-hayat/MSci-Team-Project | /app/src/main/java/com/group/msci/puzzlegenerator/dottodot/DotToDotMainScreen.java | UTF-8 | 4,752 | 2.03125 | 2 | [] | no_license | package com.group.msci.puzzlegenerator.dottodot;
import android.app.Activity;
import android.content.DialogInterface;
import android.content.Intent;
import android.media.MediaPlayer;
import android.os.Bundle;
import android.support.v7.app.AlertDialog;
import android.view.View;
import android.widget.Button;
import andr... | true |
f2a57c83018e2cbea4a4aee0fc921709bddfbf91 | Java | robertfg/Sandbox | /s/h/src/main/java/mdx/Olap4jTutorial.java | UTF-8 | 5,812 | 1.984375 | 2 | [] | no_license | package mdx;
import java.sql.DriverManager;
import java.sql.SQLException;
import org.olap4j.CellSet;
import org.olap4j.OlapConnection;
import org.olap4j.OlapException;
import org.olap4j.OlapStatement;
import org.olap4j.metadata.Catalog;
import org.olap4j.metadata.Cube;
import org.olap4j.metadata.Dimension;
... | true |
1785a2e888585c1951f68961b269a0a78d06184c | Java | NickyMouse/bcds-library | /GoldRoom-Integrity/trunk/src/main/java/com/alibaba/intl/bcds/goldroom/action/IndexAction.java | UTF-8 | 5,894 | 2.125 | 2 | [] | no_license | /**
*
*/
package com.alibaba.intl.bcds.goldroom.action;
import java.util.ArrayList;
import java.util.List;
import org.compass.core.CompassQuery.SortDirection;
import com.alibaba.intl.bcds.goldroom.action.base.BaseAction;
import com.alibaba.intl.bcds.goldroom.dataobject.BookInfo;
import com.alibaba.intl... | true |
d5f77b7d627509113472fbccaa9b75f9760ccec9 | Java | rafibarash/Data-Structures-Cheat-Sheet | /src/DataStructures/Dictionary/SortedArrayDictionary.java | UTF-8 | 2,590 | 3.84375 | 4 | [] | no_license | package DataStructures.Dictionary;
/**
* Time Complexity Analysis of Operations
* Addition: O(n)
* Removal: O(n)
* Retrieval: O(log(n))
* Traversal: O(n)
*/
public class SortedArrayDictionary<K extends Comparable<? super K>, V> extends UnsortedArrayDictionary<K, V>
implements DictionaryInterface<K, V> {... | true |
c0d8c43ee9a90b25aad649e4a302769daef2082d | Java | kariwhiteside/PickYourPizza | /app/src/main/java/edu/ucsb/cs/cs184/pickyourpizza/pickyourpizza/PizzaPlaceAdapter.java | UTF-8 | 1,760 | 2.515625 | 3 | [] | no_license | package edu.ucsb.cs.cs184.pickyourpizza.pickyourpizza;
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.w... | true |
d9b318ec3a0f46a092d229fb7b16dae23e9a3aca | Java | aneanar/learning-JavaSelenium | /src/main/java/Framework/PageObjects/HomePage.java | UTF-8 | 731 | 2.265625 | 2 | [] | no_license | package Framework.PageObjects;
import Framework.Commons.BaseClass;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
import org.openqa.selenium.support.PageFactory;
public class HomePage extends PageObjectBase{
//Objects list starts here=======... | true |
13e7e80d94694a355f545be492badd0fedc0313f | Java | yeungeek/AndroidRoad | /component/ModularTraning/app/src/main/java/com/yeungeek/modulartraning/fragment/FragmentAdapter.java | UTF-8 | 2,094 | 2.296875 | 2 | [
"Apache-2.0"
] | permissive | package com.yeungeek.modulartraning.fragment;
import android.support.annotation.NonNull;
import android.support.v4.app.FragmentManager;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import co... | true |
d6ea40ec3aaea53332068a4b2aa7f58ee9536b77 | Java | dguja/delac | /src/main/java/hr/fer/zemris/composite/generator/model/DirectionType.java | UTF-8 | 176 | 1.898438 | 2 | [] | no_license | package hr.fer.zemris.composite.generator.model;
/**
* Direction of reliability calculation.
*
* @author mmilisic
*
*/
public enum DirectionType {
PARENT, CHILD;
}
| true |
e4a3b57cfa312fd7f27b87878ee92bbeebd3cc1c | Java | jalpedersen/jetty-couchdb | /src/main/java/org/signaut/jetty/deploy/providers/couchdb/CouchDbAppProvider.java | UTF-8 | 18,078 | 1.578125 | 2 | [
"BSD-2-Clause"
] | permissive | /*
Copyright (c) 2010, Jesper André Lyngesen Pedersen
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
- Redistributions of source code must retain the above copyright
notice, this list of conditions... | true |
35a9fbc09727e73b9695ccab2bf22626ff8615a6 | Java | ronimour/delivarius-java-client | /src/main/java/com/delivarius/api/dto/HistoryStatusOrder.java | UTF-8 | 1,055 | 2.203125 | 2 | [] | no_license | package com.delivarius.api.dto;
import java.time.LocalDateTime;
import com.delivarius.api.dto.StatusOrder;
import com.delivarius.api.dto.utils.DataTransferObjectUtil;
public class HistoryStatusOrder implements DataTransferObject{
private static final long serialVersionUID = 1L;
private Long id;
private Status... | true |
972b10ed8e400978b630f7f160fdd03be6f2a746 | Java | Dragana99/SalonLepote | /SalonLepote/PSseminarski/src/NadogradnjaTrepavica.java | UTF-8 | 5,901 | 2.53125 | 3 | [] | no_license | import java.awt.BorderLayout;
import java.awt.EventQueue;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import java.awt.Toolkit;
import java.awt.Color;
import javax.swing.JTextField;
import java.awt.Font;
import javax.swing.JLabel;
import javax.swing.ImageIcon;
import jav... | true |
8e014046eb6f7e742acb72d904b1b6da4d4edf33 | Java | miguelgarcia210/edabit-java | /src/ex_3_hard/FindTheOddInteger.java | UTF-8 | 1,069 | 3.84375 | 4 | [] | no_license | package ex_3_hard;
import java.util.HashMap;
import java.util.Map;
public class FindTheOddInteger {
public static int findOdd(int[] arr) {
HashMap<Integer, Integer> myMap = new HashMap<>();
for (int element : arr) { // iterate through array
if (myMap.containsKey(element)) { // if key ... | true |
5d2e21977e2c40fead47c61b4e05735840859fcb | Java | producted/learning | /src/main/java/com/haohuo/lambda/StreamTest.java | UTF-8 | 1,827 | 3.25 | 3 | [] | no_license | package com.haohuo.lambda;
import lombok.Data;
import java.util.*;
import java.util.stream.Collectors;
/**
* 计算 集合中 DeptId 和 Type 相同的数据的num总和
* @author zhangpeike
* @date 12:09 2019/1/12
*/
public class StreamTest {
public static void main(String[] args) {
List<DataBean> totalStocks = new ArrayList<... | true |
9d4e4dc580a06500b54e6de336a03525d3fc186e | Java | NehaDeshmukh18/java-programs | /src/Program1.java | UTF-8 | 768 | 3.1875 | 3 | [] | no_license | public class Program1 {
private Program1(){
int a=10;
}
static int b=10;
int c;
public void print(){
System.out.println(b);
}
public static void main(String []args){
Program1 p=new Program1();
p.print();
p.b=20;
Program1 p2=new Program1();
... | true |
d42f1172c00701ce88393ec4f7a5cb6bfeb7d6cd | Java | polkrai/jitavej-client | /src/com/neural/jitavej/client/dialog/InformationDialog.java | UTF-8 | 902 | 1.984375 | 2 | [] | no_license | package com.neural.jitavej.client.dialog;
import com.google.gwt.user.client.ui.HTML;
import com.google.gwt.user.client.ui.HorizontalPanel;
import com.google.gwt.user.client.ui.ScrollPanel;
import com.google.gwt.user.client.ui.VerticalPanel;
import com.neural.jitavej.client.Jitavej;
public class InformationDialog exte... | true |
768526d09e66f2c65db077a47f4e78f057f29912 | Java | juliav9/javacore | /src/main/java/com/juliazubets/runners/classwork/NarrowingCastingRunner.java | UTF-8 | 369 | 2.671875 | 3 | [] | no_license | package com.juliazubets.runners.classwork;
import com.juliazubets.app.classwork.lesson3.NarrowingCasting;
/**
* Created by julia on 10/8/2016.
*/
public class NarrowingCastingRunner {
public static void main(String[] args) {
NarrowingCasting casting = new NarrowingCasting();
float float1 = 3.141... | true |
2b27cffce25e9311f1cd3817fe2c60b97bdd6928 | Java | SolitaryEagle/leetcode | /src/main/java/com/leetcode/程序员面试宝典/medium/面试题_16_25_LRU缓存.java | UTF-8 | 3,193 | 3.421875 | 3 | [] | no_license | package com.leetcode.程序员面试宝典.medium;
/**
* @author 覃国强
* @date 2021-03-06 14:37
*/
public class 面试题_16_25_LRU缓存 {
public static void main(String[] args) {
LRUCache cache = new LRUCache(2);
cache.put(2, 1);
cache.put(1, 1);
cache.put(2, 3);
cache.put(4, 1);
System.out.println(cache.get(1))... | true |
6d38a3809e8fbc3199771ff65dd882edb59bf6f4 | Java | gitgud-software/FlansMod | /src/main/java/com/flansmod/apocalypse/common/FlansModApocalypse.java | UTF-8 | 10,377 | 1.65625 | 2 | [] | no_license | package com.flansmod.apocalypse.common;
import com.flansmod.apocalypse.common.blocks.BlockPowerCube;
import com.flansmod.apocalypse.common.blocks.BlockStatic;
import com.flansmod.apocalypse.common.blocks.BlockSulphur;
import com.flansmod.apocalypse.common.blocks.BlockSulphuricAcid;
import com.flansmod.apocalypse.commo... | true |
b7d1f218f7de5970e03c9e09070f4b2212a587d1 | Java | aleto1119/PODNorris | /Diego/Java8Lessons/src/com/java/lessons/lambda/complex/Exercise2ComplexLambdas.java | UTF-8 | 1,013 | 3.890625 | 4 | [] | no_license | package com.java.lessons.lambda.complex;
/**
* Created by diego.joya on 9/28/2017.
*/
public class Exercise2ComplexLambdas {
public static void main(String[] args) {
String a = "Amarillo";
String b = "Rojo";
String result = betterString(a, b, new TwoStringPredicate() {
@Ove... | true |
fe14fcd696a9d79e3c69dd16f5292ca5bdf4b49e | Java | GabrielleBarbosa/ProjetoChat | /02-Classes/AvisoDeSalaInvalida.java | UTF-8 | 60 | 1.507813 | 2 | [
"MIT"
] | permissive | public class AvisoDeSalaInvalida implements Enviavel
{
} | true |
410f46b5ec0c43a426468114beeef10d192ed85b | Java | sonia-pink/SeleniumProject | /src/main/java/com/amazon/util/WebEventListener.java | UTF-8 | 3,393 | 2.265625 | 2 | [] | no_license | //Webdriver fire event -- To generate selenium action logs
package com.amazon.util;
import com.amazon.base.Base;
import org.openqa.selenium.By;
import org.openqa.selenium.OutputType;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.events.WebDriverEventLis... | true |
38fe08aaff3b620cd59f7a654f05fd8ae6af1603 | Java | cpc6128/tp11_facturation | /src/main/java/fr/codevallee/formation/tp/modele/LigneFacture.java | UTF-8 | 694 | 2.109375 | 2 | [] | no_license | package fr.codevallee.formation.tp.modele;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.OneToOne;
@Entity
public class LigneFacture {
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
priv... | true |
3a0ab9f520a6b5c9d7c6e4dbc0411a3599fd0d7b | Java | flywind2/joeis | /src/irvine/oeis/a002/A002999.java | UTF-8 | 410 | 2.90625 | 3 | [] | no_license | package irvine.oeis.a002;
import irvine.math.z.Z;
import irvine.oeis.Sequence;
/**
* A002999 Expansion of <code>(1+x*exp(x))^2</code>.
* @author Sean A. Irvine
*/
public class A002999 implements Sequence {
private int mN = -1;
@Override
public Z next() {
if (++mN == 0) {
return Z.ONE;
}
f... | true |
c5db5c4759d29a2e9e807d06d74dd0abc363a97b | Java | zzc-ff/rtmap-ruian | /onemap-ruian/.svn/pristine/0e/0e07ab9c66b97e8c1cb561d6c98093540bd27705.svn-base | UTF-8 | 273 | 1.648438 | 2 | [
"Apache-2.0"
] | permissive | package com.rtmap.modules.app.entity;
import lombok.Data;
@Data
public class sortMallEntity {
/**
* mall id
*/
private String mallId;
/**
* 排序
*/
private int sort;
/**
* 指标数据
*/
private long resultData;
}
| true |
f4bcc80b02d137d699604f2c73a03391934b6f32 | Java | jetlv/MilanooCompatibility | /src/main/java/com/milanoo/prepare/Preparation.java | UTF-8 | 7,136 | 2.359375 | 2 | [] | no_license | package com.milanoo.prepare;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStreamWriter;
import java.io.UnsupportedEncodingException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.u... | true |
98fc8b0d41072866c7e0916c4e8e9aad603ef7ca | Java | eawaun/YiMQ | /common/src/main/java/com/yimq/common/util/IdGenerator.java | UTF-8 | 3,357 | 2.78125 | 3 | [] | no_license | package com.yimq.common.util;
import java.net.InetAddress;
import java.net.NetworkInterface;
import java.net.SocketException;
import java.net.UnknownHostException;
/**
* SnowFlake实现
* 生成64位的ID,ID格式为
* 41位的时间戳 + 10位截断的mac地址 + 12位递增序列
* 即
* 0 | timestamp | machineId | sequence
* 0 | 41 | 10 | 12
*... | true |
487f03d8100ebd96cad0618082aa9e540fd3d376 | Java | rentacarPDF/ProyectoIsis | /rentacarPDF/objstore-jdo/src/main/java/objstore/jdo/auto/AutosJdo.java | UTF-8 | 381 | 1.8125 | 2 | [] | no_license | package objstore.jdo.auto;
import dom.autos.AutoServicio;
import dom.autos.Auto;
import org.apache.isis.applib.query.QueryDefault;
import java.util.List;
public class AutosJdo extends AutoServicio{
@Override
public List<Auto> AutosActivos() {
return allMatches(
new QueryDefault<Auto>(Aut... | true |
a072675f63d8161e115c1f4b4fe6364a4a19122e | Java | aliangolkongxin/Android-QQ6.2.0UI | /src/com/hz/oo/BaseActivity.java | GB18030 | 3,748 | 2.046875 | 2 | [] | no_license | package com.hz.oo;
import java.lang.reflect.Field;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import com.hz.oo.system.SystemBarTintManager;
import com.hz.oo.utils.FlymeUtils;
import com.hz.oo.utils.MIUIUtils;
import android.annotation.TargetApi;
import android.app.Activity;
... | true |
78e01c5c71d175df5944947e9043c206ddd3d6d8 | Java | Atif072/Testing-Challenges | /THREAD_CONCURRENCY/src/DeadLock/Util.java | UTF-8 | 464 | 2.84375 | 3 | [] | no_license | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package DeadLock;
/**
*
* @author Atif
*/
// Java program to illustrate Deadlock
// in multithreading.
class Util
{
// Util class to sleep a thread
static void sleep(long millis)
{
try
{
... | true |
91660ad032be478f3a219ac675d356a7bf20c8f0 | Java | 5l1v3r1/sony-headphones-hack | /base-dex2jar.jar.src--files/com/google/android/gms/internal/zzcx.java | UTF-8 | 4,944 | 2.140625 | 2 | [] | no_license | package com.google.android.gms.internal;
import java.nio.ByteBuffer;
import java.security.InvalidAlgorithmParameterException;
import java.security.InvalidKeyException;
import java.security.NoSuchAlgorithmException;
import java.security.SecureRandom;
import javax.crypto.BadPaddingException;
import javax.crypto.Cipher;
... | true |
aeb865ff8110629c129f9f247d980ef5df872517 | Java | SoftwareImpacts/SIMPAC-2020-43 | /src/main/java/pulse/ui/components/DataLoader.java | UTF-8 | 6,851 | 2.390625 | 2 | [
"Apache-2.0"
] | permissive | package pulse.ui.components;
import static pulse.io.readers.ReaderManager.datasetReaders;
import static pulse.io.readers.ReaderManager.read;
import java.awt.Window;
import java.io.File;
import java.io.IOException;
import java.net.URISyntaxException;
import java.util.Arrays;
import java.util.List;
import java.util.Obj... | true |
e18cabdfb9dc59b4eca814048ed6fe1b5bc2ad12 | Java | andregeorgis/INFO1113-Assignment-2 | /src/test/java/invadem/assets/ArmouredInvaderTest.java | UTF-8 | 2,065 | 2.65625 | 3 | [] | no_license | package invadem.assets;
import processing.core.PApplet;
import processing.core.PImage;
import java.util.List;
import java.util.ArrayList;
import org.junit.Test;
import org.junit.Before;
import static org.junit.Assert.*;
public class ArmouredInvaderTest {
private ArmouredInvader invaderOne;
private ArmouredInvad... | true |
9eaaa05958dc33db953810eee0de9647c47e5cde | Java | wangyong0716/JNIDemo | /app/src/main/java/com/example/jnidemo/MainActivity.java | UTF-8 | 6,570 | 1.992188 | 2 | [] | no_license | package com.example.jnidemo;
import android.Manifest;
import android.content.Context;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.os.Build;
import android.os.Bundle;
import android.os.Environment;
import android.os.Handler;
import android.util.Log;
import android.view.View;
... | true |
a5693b11029844c3cf16f163dd02aae48c35cdf9 | Java | 1004770234/barge | /barge-rpc-proto/src/test/java/org/robotninjas/barge/ProtoUtilsTest.java | UTF-8 | 3,464 | 2.015625 | 2 | [
"Apache-2.0"
] | permissive | /**
* Copyright 2013-2014 David Rusek <dave dot rusek at gmail dot com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requ... | true |
2e045d5480dafd0b9543679add9d5a8bf8a9b3a0 | Java | Hauffe/Marple | /app/src/main/java/com/pucpr/alexandre/marple/bc/ProductBC.java | UTF-8 | 4,679 | 2.4375 | 2 | [] | no_license | package com.pucpr.alexandre.marple.bc;
import android.content.Context;
import com.pucpr.alexandre.marple.entity.Ingredient;
import com.pucpr.alexandre.marple.entity.Product;
import com.pucpr.alexandre.marple.entity.ProductWithIngredients;
import com.pucpr.alexandre.marple.entity.Restriction;
import com.pucpr.alexandr... | true |
8e8e7301d18eab8c8ae5c9df4fc9874c57cca5a2 | Java | Miaosen1202/1126Java | /core/src/main/java/com/wdcloud/lms/core/base/mapper/ext/UserExtMapper.java | UTF-8 | 1,516 | 1.703125 | 2 | [] | no_license | package com.wdcloud.lms.core.base.mapper.ext;
import com.wdcloud.lms.core.base.model.User;
import com.wdcloud.lms.core.base.vo.AdminUserDetailVO;
import com.wdcloud.lms.core.base.vo.AdminUserVo;
import com.wdcloud.lms.core.base.vo.UserSettingVo;
import com.wdcloud.lms.core.base.vo.UserVo;
import org.apache.ibatis.anno... | true |
1c03adf86380e7aefe5fe5972e7fe89e09af6032 | Java | phamtuanchip/cloudtask | /ecore/src/main/java/com/cloud/service/ServiceDAO.java | UTF-8 | 445 | 1.929688 | 2 | [] | no_license | package com.cloud.service;
import java.util.List;
import com.cloud.admin.dao.DAOInterface;
import com.cloud.admin.model.Customer;
import com.cloud.admin.model.Item;
import com.cloud.model.Report;
import com.cloud.model.Province;
public interface ServiceDAO<T> extends DAOInterface<T>{
public void orderIn(T i);
pu... | true |
91c6b21edc121312978184c79eab500bceb39faf | Java | furk2sahin/SimpleChatProject-Java | /src/HomePage.java | UTF-8 | 8,167 | 2.53125 | 3 | [] | no_license |
import java.awt.Color;
import java.util.ArrayList;
import javax.swing.JLabel;
public class HomePage extends javax.swing.JFrame {
private DatabaseOperations databaseOperations = new DatabaseOperations();
public HomePage() {
initComponents();
}
@SuppressWarnings("unchecked")
// <editor-fold... | true |
7b4d525fdb8291f653cd070052f8ec50b4938702 | Java | manuelgentile/pxlab | /pxlab/src/main/java/de/pxlab/util/Praxis.java | UTF-8 | 25,264 | 2.59375 | 3 | [
"MIT"
] | permissive | package de.pxlab.util;
/*********************************************************************/
/* f u n c t i o n p r a x i s */
/* */
/* praxis is a general purpose routine for the minimization of a */
/* fun... | true |
0095b194146dc0f136e883d306babc0bd2fc8128 | Java | hyeriii/ezen_java | /ch07/HankukTire.java | WINDOWS-1252 | 146 | 2.125 | 2 | [] | no_license | package ch07;
public class HankukTire extends Tire{
@Override
public void run() {
System.out.println("ѱ ϴ");
}
}
| true |
559b1fa2dd21de6b722a81b53aec6fad6f81ff93 | Java | AtulDwivedi/MyStore | /src/com/mystore/model/Product.java | UTF-8 | 1,549 | 2.578125 | 3 | [] | no_license | package com.mystore.model;
public class Product {
private String productId;
private String productName;
private String category;
private String description;
private String specifications;
private int quantityInStock;
private double price;
public String getProductId() {
return productId;
}
public void s... | true |
9f00b0978b6bc1cdc47d6726c368b6cca13ec30f | Java | regenbar/pocket-knife | /src/main/java/resource/JsonToClassResourceReader.java | UTF-8 | 556 | 2.390625 | 2 | [
"MIT"
] | permissive | package resource;
import com.google.gson.Gson;
import io.ResourceRead;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
public abstract class JsonToClassResourceReader<T> {
public abstract String getResourceFilePath();
protected T readConfig(Class<T> contentClass){
Lis... | true |
23a2eac1f4554ebdf05ba533085b74126d8d784b | Java | Georodin/OCA_learning | /DAY11_Interfaces/src/ml/schulzke/bauernhofAbstract/flora/APflanze.java | UTF-8 | 125 | 1.507813 | 2 | [] | no_license | package ml.schulzke.bauernhofAbstract.flora;
public abstract class APflanze {
public abstract void wirdGefressen();
}
| true |
9c5b4f02e8be219734d6aead413cb4cfb9b8371d | Java | GrishaLeps/Java-Practice | /LinearSearch/Main.java | UTF-8 | 783 | 3.359375 | 3 | [] | no_license | package com.company;
public class Main {
public static void main(String[] args) {
long startTime = System.currentTimeMillis();
int [] Array = {5, 4, 3, 2, 1};
int z = 2;
int temp;
int operations = 0;
for (int i = 0; i < Array.length; i++) {
ope... | true |
18396d9d4f7bfa2dfeef2783661a2cb960758809 | Java | PereraKS/PAF_WD_G4 | /IT18037548_Research_Management/src/com/ResearchApprovalStatusManagementService.java | UTF-8 | 414 | 2.359375 | 2 | [] | no_license | package com;
import model.ResearchApprovalStatus;
//For REST Service
import javax.ws.rs.*;
import javax.ws.rs.core.MediaType;
@Path("/ResearchStatus")
public class ResearchApprovalStatusManagementService {
ResearchApprovalStatus ApprovalStatus = new ResearchApprovalStatus();
@GET
@Path("/")
@Produces(MediaType.... | true |
4dda377f42e30592299eca8c2f3ffa95f3c73f5a | Java | jmapper-framework/jmapper-test | /JMapper Test/src/test/java/com/googlecode/jmapper/integrationtest/configurations/bean/JMapAccDest.java | UTF-8 | 846 | 1.929688 | 2 | [
"Apache-2.0"
] | permissive | package com.googlecode.jmapper.integrationtest.configurations.bean;
import com.googlecode.jmapper.annotations.JMap;
import com.googlecode.jmapper.annotations.JMapAccessor;
public class JMapAccDest {
@JMap("sField1")
@JMapAccessor(get="getDestField",set="setDestField1")
private String dField1;
@JMap("sF... | true |
b47b7af2c14fd75c9cb751b587affdcf044d9768 | Java | CJSCommonPlatform/jsonschema-pojo-generator | /pojo-generation-core/src/test/java/uk/gov/justice/generation/pojo/core/PojoGeneratorPropertiesTest.java | UTF-8 | 5,063 | 2.140625 | 2 | [] | no_license | package uk.gov.justice.generation.pojo.core;
import static java.util.Collections.singletonList;
import static org.hamcrest.core.Is.is;
import static org.junit.Assert.assertThat;
import static uk.gov.justice.generation.utils.PojoGeneratorPropertiesBuilder.pojoGeneratorPropertiesBuilder;
import java.util.List;
import j... | true |
9ad2b9a5bafb4e60ba38bb45a458ed7e5c8d4e1a | Java | RavenLeaks/BetterCraft-src | /net/minecraft/network/play/client/CPacketAnimation.java | UTF-8 | 1,574 | 2.046875 | 2 | [] | no_license | /* */ package net.minecraft.network.play.client;
/* */
/* */ import java.io.IOException;
/* */ import net.minecraft.network.INetHandler;
/* */ import net.minecraft.network.Packet;
/* */ import net.minecraft.network.PacketBuffer;
/* */ import net.minecraft.network.play.INetHandlerPlayServer;
/* ... | true |
c53b89afea32be0be6f1906a7b598effe6058a48 | Java | zhtmf/bytesutil | /src/io/github/zhtmf/annotations/types/RAW.java | UTF-8 | 1,043 | 2.46875 | 2 | [
"Apache-2.0"
] | permissive | package io.github.zhtmf.annotations.types;
import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
import io.github.zhtmf.annotations.modifiers.Length;
/**
* <p>
* Consecutive bytes... | true |
4a156d791d4fe9e237fef1f5b79640c4ffc8d01d | Java | junges521/src_awe | /src/main/java/io/reactivex/internal/operators/observable/ObservableDetach.java | UTF-8 | 2,088 | 2.328125 | 2 | [] | no_license | package io.reactivex.internal.operators.observable;
import io.reactivex.ObservableSource;
import io.reactivex.Observer;
import io.reactivex.disposables.Disposable;
import io.reactivex.internal.disposables.DisposableHelper;
import io.reactivex.internal.util.EmptyComponent;
public final class ObservableDetach<T> extend... | true |
429ea1aa2fe2da91b2afebf496074fa2702ddd2c | Java | lhyazst/coding | /shouba/Zeus/zeus-web/src/main/java/com/zeus/service/ArticleService.java | UTF-8 | 331 | 1.546875 | 2 | [] | no_license | package com.zeus.service;
import com.zeus.common.QueryResponseResult;
import com.zeus.common.Response;
import com.zeus.entity.Address;
/**
* @Description 物品
* @Author wangdi
* @Date 16/12/2018 21:56
* @Version V1.0
*/
public interface ArticleService {
QueryResponseResult articleServicefandOne(String userna... | true |
63f35104b4c0a181a6656eaa85098d42e7da0544 | Java | wso2/integration-studio | /components/studio-platform/plugins/org.wso2.integrationstudio.distribution.project/src/org/wso2/integrationstudio/distribution/project/model/DistributionProjectModel.java | UTF-8 | 1,951 | 1.953125 | 2 | [
"Apache-2.0"
] | permissive | /*
* Copyright (c) 2011, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* 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
*
* Un... | true |
829aea4eaca17d65deb9dc36341b06a61c0a0d67 | Java | Anelisi/Java-Nelio-Alves-falando | /src/main/java/Comparable/Main_Comparable.java | UTF-8 | 1,025 | 3.3125 | 3 | [] | no_license | package Comparable;
import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
public class Main_Comparable {
public static void main(String[] args) {
List<Family> list = new ArrayList<>();
... | true |
b260805df949a8a1e1106e3872ae34203e8dc3ef | Java | zburlea9/RentGym_frontend | /src/main/java/com/example/rentGymsFrontEnd/dto/UserDTOG.java | UTF-8 | 2,387 | 2.15625 | 2 | [] | no_license | package com.example.rentGymsFrontEnd.dto;
public class UserDTOG {
private String user_id;
private String user_username;
private String user_password;
private String user_last_name;
private String user_first_name;
private String user_email;
private String user_phone_number;
private Stri... | true |
d6bb50bf43f46b7f096f2c3ef85bf96668ae0475 | Java | FlashChenZhi/exercise | /wms/WEB-INF/src/jp/co/daifuku/wms/base/dbhandler/TerminalAreaAlterKey.java | UTF-8 | 15,373 | 2.09375 | 2 | [] | no_license | // $Id: TerminalAreaAlterKey.java 87 2008-10-04 03:07:38Z admin $
// Handler v3.8
package jp.co.daifuku.wms.base.dbhandler;
/*
* Copyright(c) 2000-2007 DAIFUKU Co.,Ltd. All Rights Reserved.
*
* This software is the proprietary information of DAIFUKU Co.,Ltd.
* Use is subject to license terms.
*/
import java.math... | true |
e7f190ac0bd80c83b466655db439435fe9b248c9 | Java | 568/appDarkDemo | /MyApplication/app/src/main/java/com/haste/lv/faith/ui/maintab/mainbehavior/HeadStateViewPager.java | UTF-8 | 995 | 2.109375 | 2 | [] | no_license | package com.haste.lv.faith.ui.maintab.mainbehavior;
import android.content.Context;
import android.support.v4.view.ViewPager;
import android.util.AttributeSet;
import android.view.MotionEvent;
/**
* Created by lv on 18-11-30.
*/
public class HeadStateViewPager extends ViewPager {
private MainBehaviorHelper mHe... | true |
0d968f276928f229d7ce449198a049bb141e50ac | Java | biaotang/springcloud-learning | /01-Greenwich/eureka-consumer-upload-feign/src/test/java/com/springcloud/EurekaConsumerUploadFeignApplicationTests.java | UTF-8 | 1,484 | 2.171875 | 2 | [] | no_license | package com.springcloud;
import java.io.File;
import java.io.FileInputStream;
import java.io.InputStream;
import java.io.OutputStream;
import org.apache.commons.fileupload.disk.DiskFileItem;
import org.apache.commons.fileupload.disk.DiskFileItemFactory;
import org.apache.commons.io.IOUtils;
import org.junit.Test;
imp... | true |
d802b5c5d6f3b0560508235c827d1519a01b018a | Java | devanegas/SnowAirlines | /SnowWestAirlines/src/Wifi.java | UTF-8 | 336 | 2.40625 | 2 | [] | no_license | public class Wifi extends PurchaseExtra {
Flight flight;
public Wifi(Flight f){
this.flight = f;
}
@Override
public String getDescription() {
return flight.getDescription() + ", Wifi Service";
}
@Override
public double cost() {
return flight.cost() ... | true |
3d1c9af04cc74bee84fe96cfaec5c12391a19d2f | Java | YYaKe/Conquer | /app/src/main/java/app/hanks/com/conquer/base/BaseFragment.java | UTF-8 | 1,003 | 2.078125 | 2 | [
"Apache-2.0"
] | permissive | package app.hanks.com.conquer.base;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
/**
* auth... | true |
5a3598567f65b5eff262f98545ffa15de045c4e6 | Java | zLShy/Mydemo | /app/src/main/java/demo/zl/com/BuyView.java | UTF-8 | 4,524 | 2.3125 | 2 | [
"MIT"
] | permissive | package demo.zl.com;
import android.animation.Animator;
import android.animation.TypeEvaluator;
import android.animation.ValueAnimator;
import android.content.Context;
import android.content.res.Resources;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.grap... | true |
7d3c82a615f01c5e8cb1975d8e35f7ef6dd019e3 | Java | Riya-Chaudhary-dev/java | /Part1.java | UTF-8 | 1,130 | 3.921875 | 4 | [] | no_license | import java.util.*;
import java.io.*;
class Part1{
public static void main(String[] args) throws IOException{
Scanner sc= new Scanner(System.in);
Part1 obj = new Part1();
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
System.out.println("ENTER");
System.out.println(... | true |
bdb7919557a2206daebb71546689277b058b7ae1 | Java | Azure/autorest.java | /extension-base/src/main/java/com/azure/autorest/extension/base/model/codemodel/Protocol.java | UTF-8 | 2,413 | 1.90625 | 2 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-generic-cla"
] | permissive | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.azure.autorest.extension.base.model.codemodel;
import java.util.List;
/**
* the bare-minimum fields for per-protocol metadata on a given aspect
*
*/
public class Protocol {
private RequestParameterLoc... | true |
06c3c48f6edc0007cbd025ec4329418bfd516ac2 | Java | Wellhaw/tcmap | /src/main/java/cn/xy/tcmap/modules/catchup/csly/web/TouristMultiscenicVolueController.java | UTF-8 | 7,700 | 1.773438 | 2 | [] | no_license | /**
* Copyright © 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
*/
package cn.xy.tcmap.modules.catchup.csly.web;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.List;
import cn.xy.tcmap.common.utils.DateUti... | true |
2022447af627f1ecce80611bbc85a5ca3dfb3dfd | Java | tamutamu-archive/masterSpringMvc | /src/test/java/masterSpringMvc/user/api/UserApiControllerAuthTest.java | UTF-8 | 2,007 | 2.15625 | 2 | [] | no_license | package masterSpringMvc.user.api;
import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.get;
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status;
import java.util.Base64;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
im... | true |