code stringlengths 3 1.04M | repo_name stringlengths 5 109 | path stringlengths 6 306 | language stringclasses 1
value | license stringclasses 15
values | size int64 3 1.04M |
|---|---|---|---|---|---|
/*----------------------------------------------------------------------------*
* This file is part of Pitaya. *
* Copyright (C) 2012-2016 Osman KOCAK <kocakosm@gmail.com> *
* *
... | kocakosm/pitaya | src/org/kocakosm/pitaya/io/TextFiles.java | Java | lgpl-3.0 | 15,156 |
// Catalano Imaging Library
// The Catalano Framework
//
// Copyright © Diego Catalano, 2015
// diego.catalano at live.com
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Found... | cswaroop/Catalano-Framework | Catalano.Android.Image/src/Catalano/Imaging/Filters/Threshold.java | Java | lgpl-3.0 | 3,408 |
/*
* Copyright (C) 2014 The AppCan Open Source Project.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later versi... | pingping-jiang6141/Engine-Master | Engine/src/org/zywx/wbpalmstar/engine/EBrowserView.java | Java | lgpl-3.0 | 49,210 |
package ecologylab.serialization.deserializers.parsers.bibtex.entrytypes;
import ecologylab.serialization.annotations.bibtex_tag;
import ecologylab.serialization.annotations.bibtex_type;
import ecologylab.serialization.annotations.simpl_inherit;
import ecologylab.serialization.annotations.simpl_scalar;
import ec... | ecologylab/ecologylabFundamental | src/ecologylab/serialization/deserializers/parsers/bibtex/entrytypes/BibTeXTechReport.java | Java | lgpl-3.0 | 1,351 |
package org.orchestra.client;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.io.Reader;
import java.io.Unsuppor... | bigorc/orchestra | src/main/java/org/orchestra/client/ClientAuthHelper.java | Java | lgpl-3.0 | 7,259 |
package com.mocha.util.queue;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
/**
* <strong>Title : ConcurrentLinkedQueueExtendsHandler </strong>. <br>
* <strong>Description : 队列管理.</strong> <br>
* <strong>Create on ... | lewjeen/framework | unitecore-parent/unitecore/unitecore-tools/src/main/java/com/mocha/util/queue/ConcurrentLinkedQueueExtendsHandler.java | Java | unlicense | 11,926 |
/*
* NOTE: This copyright does *not* cover user programs that use HQ
* program services by normal system calls through the application
* program interfaces provided as part of the Hyperic Plug-in Development
* Kit or the Hyperic Client Development Kit - this is merely considered
* normal use of the program, and do... | cc14514/hq6 | hq-util/src/main/java/org/hyperic/util/xmlparser/XmlParser.java | Java | unlicense | 18,165 |
package android.support.v7.app;
import android.content.Context;
import android.content.res.Configuration;
import android.graphics.drawable.Drawable;
import android.support.v7.b.b;
import android.view.KeyEvent;
import android.view.View;
public abstract class a
{
public android.support.v7.b.a a(b paramb)
{
retu... | clilystudio/NetBook | allsrc/android/support/v7/app/a(1).java | Java | unlicense | 1,431 |
package com.ximalaya.ting.android.opensdk.datatrasfer;
import com.google.gson.reflect.TypeToken;
import com.ximalaya.ting.android.opensdk.model.album.HotAggregation;
import java.util.List;
class CommonRequest$29$1 extends TypeToken<List<HotAggregation>>
{
}
/* Location: E:\Progs\Dev\Android\Decompile\apkto... | clilystudio/NetBook | allsrc/com/ximalaya/ting/android/opensdk/datatrasfer/CommonRequest$29$1.java | Java | unlicense | 465 |
/**
* NOTE: This copyright does *not* cover user programs that use HQ
* program services by normal system calls through the application
* program interfaces provided as part of the Hyperic Plug-in Development
* Kit or the Hyperic Client Development Kit - this is merely considered
* normal use of the program, and d... | cc14514/hq6 | hq-server/src/main/java/org/hyperic/hq/livedata/server/session/LiveDataCacheKey.java | Java | unlicense | 2,028 |
/*
* ImgHeaderCallback.java
*
* Copyright 2001-2007 Goldin-Rudahl Associates
*
* Created by Sally Goldin, 5/16/2001
*
* $Id: ImgHeaderCallback.java,v 1.20 2007/01/05 07:41:57 rudahl Exp $
* $Log: ImgHeaderCallback.java,v $
* Revision 1.20 2007/01/05 07:41:57 rudahl
* added Whatis info
*
* Revision 1.19 ... | patinyanudklin/git_testing | cpe-2015-projects/DragonCommon/javasrc/com/grs/dragon/ui/ImgHeaderCallback.java | Java | unlicense | 9,258 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package model;
import controller.GestorLocalidad;
import java.util.ArrayList;
import org.w3c.dom.Document;
/**
*
* @author soriagal
*/
public class ManejadorUbicar {
private WebUbicar webUbicar;
private Ges... | facundofarias/iBee | Source/WeatherService/src/model/ManejadorUbicar.java | Java | unlicense | 1,255 |
package com.stech.meetat.service;
public interface SchedulerService {
}
| vijayvelpula/MeetAt | src/main/java/com/stech/meetat/service/SchedulerService.java | Java | unlicense | 74 |
/*
* SmartGWT Mobile
* Copyright 2008 and beyond, Isomorphic Software, Inc.
*
* SmartGWT Mobile is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License version 3
* as published by the Free Software Foundation. SmartGWT Mobile is also
* available unde... | will-gilbert/SmartGWT-Mobile | mobile/src/main/java/com/smartgwt/mobile/client/widgets/toolbar/ToolStripButton.java | Java | unlicense | 2,366 |
package fr.mvanbesien.projecteuler.from001to020;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.Callable;
public class Problem015 implements Callable<Long> {
public static void main(String[] args) throws Exception {
long nanotime = System.nanoTime();
System.out.println("Answer is... | mvanbesien/projecteuler | fr.mvanbesien.projecteuler/src/main/java/fr/mvanbesien/projecteuler/from001to020/Problem015.java | Java | unlicense | 846 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package consolefps.views;
import consolefps.models.elements.Elements;
/**
*
* @author krilivye
*/
public interface IAffichage {
public String afficher(Elements element);
}
| BTS-SIO2-2013/ZombieKiller | src/consolefps/views/IAffichage.java | Java | unlicense | 280 |
package bronz.accounting.bunk.ui.model;
import java.util.Calendar;
import java.util.GregorianCalendar;
import javax.swing.table.AbstractTableModel;
import bronz.accounting.bunk.ui.panel.CalendarPanel;
import bronz.utilities.custom.CustomCalendar;
import bronz.utilities.general.DateUtil;
public class CalendarTableMo... | robbinmathew/centbunk | java/BunkAccountingApplication/BunkAccountingSwingApp/src/main/java/bronz/accounting/bunk/ui/model/CalendarTableModel.java | Java | unlicense | 2,231 |
package discord.jar;
import java.awt.*;
import java.util.ArrayList;
import java.util.List;
public class EmbedBuilder {
private String title;
private String type;
private String description;
private String url;
private Color color;
private Embed.EmbedFooter footer;
private Embed.EmbedImage ... | discord-java/discord.jar | src/main/java/discord/jar/EmbedBuilder.java | Java | unlicense | 3,220 |
package cz.muni.fi.pv243.et.model;
import org.hibernate.annotations.LazyCollection;
import org.hibernate.annotations.LazyCollectionOption;
import org.hibernate.search.annotations.Field;
import org.hibernate.search.annotations.Indexed;
import org.hibernate.search.annotations.IndexedEmbedded;
import java.io.Serializabl... | rsmeral/pv243-jboss | project/project-et-ejb/src/main/java/cz/muni/fi/pv243/et/model/ExpenseReport.java | Java | unlicense | 4,903 |
package com.ushaqi.zhuishushenqi.util;
import com.ushaqi.zhuishushenqi.a.e;
import com.ushaqi.zhuishushenqi.api.ApiService;
import com.ushaqi.zhuishushenqi.api.b;
import com.ushaqi.zhuishushenqi.model.ResultStatus;
final class l extends e<String, Void, ResultStatus>
{
private l(k paramk)
{
}
private static R... | clilystudio/NetBook | allsrc/com/ushaqi/zhuishushenqi/util/l(1).java | Java | unlicense | 833 |
package com.smartgwt.mobile.client.internal.widgets.events;
import com.google.gwt.event.shared.GwtEvent;
import com.google.gwt.event.shared.HasHandlers;
public class ValuesSelectedEvent extends GwtEvent<ValuesSelectedHandler> {
private static Type<ValuesSelectedHandler> TYPE = null;
public static Type<Value... | will-gilbert/SmartGWT-Mobile | mobile/src/main/java/com/smartgwt/mobile/client/internal/widgets/events/ValuesSelectedEvent.java | Java | unlicense | 1,137 |
/**
* NOTE: This copyright does *not* cover user programs that use HQ
* program services by normal system calls through the application
* program interfaces provided as part of the Hyperic Plug-in Development
* Kit or the Hyperic Client Development Kit - this is merely considered
* normal use of the program, and d... | cc14514/hq6 | hq-server/src/main/java/org/hyperic/hq/bizapp/shared/EventsBoss.java | Java | unlicense | 17,838 |
/*
* 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 mx.neftaly.hackerrank.algorithms;
import java.util.Scanner;
/**
*
* @author samas
*/
public class Kangaroo {
/**
... | neftalyluis/HRSolutions | src/main/java/mx/neftaly/hackerrank/algorithms/Kangaroo.java | Java | unlicense | 882 |
package us.aaronweiss.pixalia.core;
import us.aaronweiss.pixalia.tools.Vector;
public class Player extends Pixal {
public Player(String hostname) {
super(hostname);
}
public void setColor(Vector color) {
this.color = color;
}
}
| aatxe/pixalia | src/main/java/us/aaronweiss/pixalia/core/Player.java | Java | unlicense | 240 |
package code.one;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
//Given an array of strings, group anagrams together.
//
//For example, given: ["eat", "tea", "tan", "ate", "nat", "bat"],
//Return:
//
//[
// ["ate", "eat","te... | POKLpokl112/leetcode | leetcode/src/code/one/GroupAnagrams_time.java | Java | unlicense | 1,763 |
package net.lardcave.keepassnfc.nfccomms;
import android.content.Intent;
import android.content.IntentFilter;
import android.nfc.FormatException;
import android.nfc.NdefMessage;
import android.nfc.NdefRecord;
import android.nfc.NfcAdapter;
import android.nfc.Tag;
import android.os.Parcelable;
import net.lardcave.keep... | nfd/KeePassNFC | app/src/main/java/net/lardcave/keepassnfc/nfccomms/KPNdef.java | Java | unlicense | 3,998 |
/*******************************************************************************
* 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... | ofbizfriends/vogue | framework/widget/src/org/ofbiz/widget/tree/ModelTreeCondition.java | Java | apache-2.0 | 20,242 |
/*
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... | dump247/aws-sdk-java | aws-java-sdk-elastictranscoder/src/main/java/com/amazonaws/services/elastictranscoder/model/transform/CreateJobPlaylistJsonUnmarshaller.java | Java | apache-2.0 | 4,113 |
/*
* #%L
* GwtMaterial
* %%
* Copyright (C) 2015 - 2018 GwtMaterialDesign
* %%
* 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
* ... | GwtMaterialDesign/gwt-material-addins | src/main/java/gwt/material/design/incubator/client/keyboard/events/ChangeEvent.java | Java | apache-2.0 | 1,811 |
package com.compomics.pride_asa_pipeline.core.repository.impl.webservice;
import com.compomics.pride_asa_pipeline.core.model.modification.source.PRIDEModificationFactory;
import com.compomics.pride_asa_pipeline.core.model.modification.impl.AsapModificationAdapter;
import com.compomics.pride_asa_pipeline.core.repos... | compomics/pride-asa-pipeline | pride-asa-pipeline-core/src/main/java/com/compomics/pride_asa_pipeline/core/repository/impl/webservice/WSModificationRepository.java | Java | apache-2.0 | 1,930 |
/*
Copyright 2019 Nationale-Nederlanden
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... | ibissource/iaf | cmis/src/main/java/nl/nn/adapterframework/extensions/cmis/servlets/AtomPub10.java | Java | apache-2.0 | 985 |
package com.benjaminsproule.platform.binder;
import com.benjaminsproule.platform.Properties;
import org.glassfish.hk2.utilities.binding.AbstractBinder;
public class PlatformBinder extends AbstractBinder {
@Override
protected void configure() {
bind(Properties.class).to(Properties.class);
}
}
| gigaSproule/platform | src/main/java/com/benjaminsproule/platform/binder/PlatformBinder.java | Java | apache-2.0 | 315 |
package alien4cloud.tosca.parser.impl.base;
import java.util.Map;
import java.util.Set;
import org.yaml.snakeyaml.nodes.MappingNode;
import org.yaml.snakeyaml.nodes.Node;
import org.yaml.snakeyaml.nodes.NodeTuple;
import org.yaml.snakeyaml.nodes.ScalarNode;
import alien4cloud.tosca.parser.INodeParser;
import alien4c... | PierreLemordant/alien4cloud | alien4cloud-core/src/main/java/alien4cloud/tosca/parser/impl/base/KeyDiscriminatorParser.java | Java | apache-2.0 | 3,172 |
package com.meituan.davy.myapplication.github;
import android.support.v4.app.Fragment;
import com.meituan.davy.myapplication.ContainerActivity;
public class GithubActivity extends ContainerActivity {
@Override
protected Fragment getFragment() {
return new GithubFragment();
}
} | davyjoneswang/UsefulDemSuit | app/src/main/java/com/meituan/davy/myapplication/github/GithubActivity.java | Java | apache-2.0 | 300 |
/**
* 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... | BUPTAnderson/apache-hive-2.1.1-src | ql/src/java/org/apache/hadoop/hive/ql/exec/spark/status/impl/JobMetricsListener.java | Java | apache-2.0 | 3,467 |
/*
* Copyright 2002-2018 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | eddumelendez/spring-security | config/src/test/java/org/springframework/security/config/annotation/web/WebSecurityConfigurerAdapterTests.java | Java | apache-2.0 | 16,385 |
package servicios.validacion;
public final class RegexValidation {
public static final class ValidaNombres {
private ValidaNombres() {
}
// public static final String INICIALES = "[a-z,A-Z,ñ,Ñ]{2}$+";
public static final String NOMBRE = "[A-Z]+[a-z,ñ]*+[ ]+[A-Z]+[a-z,ñ]*";
}
public static final cl... | TesisTarjetasMejorar/TarjetasISIS | dom/src/main/java/servicios/validacion/RegexValidation.java | Java | apache-2.0 | 1,016 |
/*
* Copyright 2011 The Apache Software Foundation
*
* 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 ... | ay65535/hbase-0.94.0 | src/main/java/org/apache/hadoop/hbase/io/hfile/HFileWriterV2.java | Java | apache-2.0 | 16,662 |
/*
* Copyright (c) 2010-2013 Evolveum and contributors
*
* This work is dual-licensed under the Apache License 2.0
* and European Union Public License. See LICENSE file for details.
*/
package com.evolveum.midpoint.notifications.impl.helpers;
import com.evolveum.midpoint.notifications.api.events.Event;
import co... | bshp/midPoint | model/notifications-impl/src/main/java/com/evolveum/midpoint/notifications/impl/helpers/OperationFilterHelper.java | Java | apache-2.0 | 1,574 |
/*
* 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 ... | waans11/incubator-asterixdb | hyracks-fullstack/hyracks/hyracks-storage-am-lsm-rtree/src/main/java/org/apache/hyracks/storage/am/lsm/rtree/dataflow/LSMRTreeWithAntiMatterTuplesDataflowHelperFactory.java | Java | apache-2.0 | 4,634 |
package sk.util;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import sk.mmap.Constants;
import sk.mmap.IUnsafeAllocator;
import java.util.Map;
import java.util.HashMap;
// Memory mapped hash set of Long
public class MUHSetLong {
private static final Logger logger = LoggerFactory.getLogger(MUHSetLong... | soumitrak/mmap-ds | src/main/java/sk/util/MUHSetLong.java | Java | apache-2.0 | 3,408 |
/*
* Copyright 2017 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... | olivergierke/sos | 00-monolith/src/main/java/example/sos/monolith/MonolithApplication.java | Java | apache-2.0 | 1,646 |
/*
* Copyright 2014 University of Zürich, SIB, and others.
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with th... | meringlab/stringdb-psicquic | src/main/java/org/string_db/psicquic/SearchServer.java | Java | apache-2.0 | 1,651 |
package com.example.denizalp.thefirst;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.Button;
import android.widget.TextView... | bounswe/bounswe2016group7 | TheFirst/app/src/main/java/com/example/denizalp/thefirst/TopicAdapter.java | Java | apache-2.0 | 2,061 |
package utils;
import java.util.ArrayList;
import java.util.List;
/**
* Utility tree class, where the children are not necessarily ordered in any
* particular way besides their locations.
*
* @author tetigi
*
* @param <T>
* Type of the data node
*/
public class UnorderedTree<T> implements Tree<T>... | tetigi/toucan | java/src/utils/UnorderedTree.java | Java | apache-2.0 | 2,232 |
/*
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wr... | googleapis/java-bigquery | samples/snippets/src/test/java/com/example/bigquery/CreateClusteredTableIT.java | Java | apache-2.0 | 2,864 |
/*
* Copyright 2020 Google LLC
*
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | googleapis/java-datastream | proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DeleteConnectionProfileRequest.java | Java | apache-2.0 | 32,578 |
/*
* 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 co.edu.sena.mavenproject2.model.entities;
import java.io.Serializable;
import java.util.Collection;
import javax.persistence.C... | SENA-CEET/1349397-Trimestre-4 | java/JSF/mavenproject2/src/main/java/co/edu/sena/mavenproject2/model/entities/InstructorFicha.java | Java | apache-2.0 | 4,558 |
// Copyright 2017 Yahoo Inc.
// Licensed under the terms of the Apache license. Please see LICENSE.md file distributed with this work for terms.
package com.yahoo.bard.webservice.table;
import com.yahoo.bard.webservice.data.time.Granularity;
import com.yahoo.bard.webservice.util.Utils;
import java.util.LinkedHashSet;... | yahoo/fili | fili-core/src/main/java/com/yahoo/bard/webservice/table/Schema.java | Java | apache-2.0 | 1,788 |
/*
* Copyright 2014-2016 Samsung Research America, 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 applica... | csgordon/SJS | sjsc/src/main/java/com/samsung/sjs/backend/asts/ir/Str.java | Java | apache-2.0 | 1,266 |
/*
* 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 ... | cshannon/activemq-artemis | tests/artemis-test-support/src/main/java/org/apache/activemq/transport/amqp/client/transport/NettyWSTransport.java | Java | apache-2.0 | 6,723 |
package br.com.caelum.designpatterns.decorator.imposto;
import br.com.caelum.designpatterns.modelo.Orcamento;
public class ICMS extends Imposto{
public ICMS(Imposto outroImposto) {
super(outroImposto);
}
public ICMS() {
}
public double calcula(Orcamento orcamento){
return orcamento.getValor() * 0.1 + c... | sedesdev/design-patterns | src/br/com/caelum/designpatterns/decorator/imposto/ICMS.java | Java | apache-2.0 | 358 |
package com.xinqihd.sns.gameserver.admin.i18n;
import java.util.HashMap;
public class ColumnNames {
private static HashMap<String, String> map = new HashMap<String, String>();
static {
map.put("profile" , "profile");
map.put("vip" , "vip");
map.put("ability" , "ability");
map.put("login" , "登陆");
map.p... | wangqi/gameserver | admin/src/main/java/com/xinqihd/sns/gameserver/admin/i18n/ColumnNames.java | Java | apache-2.0 | 3,924 |
package com.anteoy.coreJava.reflect;
import java.lang.reflect.Method;
public class BeanUtil {
/**
* ���ݱ�javaBean�������������ȡ������ֵ
*
* @param obj
* @param propertyName
* @return
*/
public static Object getValueByPropertyName(Object obj, String propertyName) {
// 1.��... | Anteoy/jottings | src/main/java/com/anteoy/coreJava/reflect/BeanUtil.java | Java | apache-2.0 | 1,049 |
package com.adobe.aem.scf.extensions;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Map;
import javax.jcr.Session;
import org.apache.felix.scr.annotations.Component;
import org.apache.felix.scr.annotations.Service;
import org.apache.sling.api.resource.Resource;
import o... | Adobe-Marketing-Cloud/aem-scf-sample-components-extension | bundles/aem-scf-extensions/src/main/java/com/adobe/aem/scf/extensions/IdeationStatusExtension.java | Java | apache-2.0 | 2,104 |
package org.nnsoft.trudeau.spanning;
/*
* Copyright 2013 The Trudeau 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... | trudeau/spanning | src/test/java/org/nnsoft/trudeau/spanning/BoruvkaTestCase.java | Java | apache-2.0 | 8,095 |
/**
* <copyright>
* </copyright>
*
* $Id$
*/
package net.opengis.gml;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.util.FeatureMap;
import org.w3._1999.xlink.ActuateType;
import org.w3._1999.xlink.ShowType;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Featu... | markus1978/citygml4emf | de.hub.citygml.emf.ecore/src/net/opengis/gml/FeaturePropertyType.java | Java | apache-2.0 | 14,502 |
/*
* 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 edu.iit.sat.itmd4515.yzhan214.fp.web.hospital;
import edu.iit.sat.itmd4515.yzhan214.fp.web.hospital.AbstractJSFBean;
... | Langenoir1878/vet_web | src/main/java/web/hospital/LoginBean.java | Java | apache-2.0 | 4,588 |
package com.twopillar.jiba.activity;
import android.graphics.Color;
import android.graphics.drawable.Drawable;
import android.os.Bundle;
import android.support.v4.app.FragmentTabHost;
import android.view.KeyEvent;
import android.view.View;
import android.widget.RadioButton;
import android.widget.RadioGroup;
import and... | TwoPillar/jiba | src/com/twopillar/jiba/activity/MainActivity.java | Java | apache-2.0 | 8,696 |
/*******************************************************************************
* Copyright 2013 SAP AG
*
* 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/l... | SAP/cloud-odata-java | odata-core/src/main/java/com/sap/core/odata/core/uri/expression/OrderExpressionImpl.java | Java | apache-2.0 | 2,356 |
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... | metatron-app/metatron-discovery | discovery-server/src/main/java/app/metatron/discovery/common/geospatial/geojson/PointGeometry.java | Java | apache-2.0 | 975 |
/**
* Copyright 2011-2016 GatlingCorp (http://gatling.io)
*
* 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 appl... | e-biz/gatling-liferay | src/main/java/io/gatling/liferay/model/impl/ProcessModelImpl.java | Java | apache-2.0 | 11,680 |
package gov.va.med.imaging.exceptions;
public class StudyURNFormatException
extends URNFormatException
{
private static final long serialVersionUID = 6271193731031546478L;
public StudyURNFormatException()
{
super();
}
public StudyURNFormatException(String message)
{
super(message);
}
public StudyURNFor... | VHAINNOVATIONS/Telepathology | Source/Java/ImagingCommon/main/src/java/gov/va/med/imaging/exceptions/StudyURNFormatException.java | Java | apache-2.0 | 472 |
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribute... | opentelecoms-org/jsmpp | jsmpp/src/main/java/org/jsmpp/session/state/SMPPSessionState.java | Java | apache-2.0 | 6,024 |
/*
* Licensed to David Pilato (the "Author") under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. Author licenses this
* file to you under the Apache License, Version 2.0 (the
* "License"); you may not use... | dadoonet/spring-elasticsearch | src/test/java/fr/pilato/spring/elasticsearch/it/annotation/SecurityOptionalConfig.java | Java | apache-2.0 | 1,399 |
// vim: et sw=4 sts=4 tabstop=4
/*
* 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... | ISSC/Bluebit | src/com/issc/widget/LoadingFragment.java | Java | apache-2.0 | 1,195 |
package io.particle.android.sdk.cloud;
import android.annotation.SuppressLint;
import android.os.Parcel;
import android.os.Parcelable;
import android.support.annotation.MainThread;
import android.support.annotation.Nullable;
import android.support.annotation.WorkerThread;
import org.greenrobot.eventbus.EventBus;
impo... | spark/spark-sdk-android | cloudsdk/src/main/java/io/particle/android/sdk/cloud/ParticleDevice.java | Java | apache-2.0 | 26,059 |
package org.grobid.core.features;
import org.grobid.core.layout.LayoutToken;
import org.grobid.core.utilities.TextUtilities;
/**
* Class for features used for fulltext parsing.
*
*/
public class FeaturesVectorFulltext {
public LayoutToken token = null; // not a feature, reference value
public String string... | kermitt2/grobid | grobid-core/src/main/java/org/grobid/core/features/FeaturesVectorFulltext.java | Java | apache-2.0 | 5,369 |
/*
* Copyright 2017-2022 Amazon.com, Inc. or its affiliates. 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. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... | aws/aws-sdk-java | aws-java-sdk-glue/src/main/java/com/amazonaws/services/glue/model/transform/GetCatalogImportStatusRequestMarshaller.java | Java | apache-2.0 | 2,076 |
/*
* Copyright 2016 Pivotal Software, 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 ... | warrenmnocos/oauth2 | oauth2-security/src/main/java/org/filetec/oauth2/security/AuthorizationServerConfiguration.java | Java | apache-2.0 | 2,994 |
/*
* Copyright (c) 2020, Peter Abeles. All Rights Reserved.
*
* This file is part of BoofCV (http://boofcv.org).
*
* 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.apac... | lessthanoptimal/BoofCV | main/boofcv-types/src/test/java/boofcv/struct/TestListIntPoint2D.java | Java | apache-2.0 | 2,929 |
/*
* Copyright 2017 Seven Bridges Genomics, Inc. 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
*
* Unless re... | sbg/sevenbridges-java | api/src/main/java/com/sevenbridges/apiclient/transfer/UploadContext.java | Java | apache-2.0 | 5,821 |
package test_JLabel;
import java.awt.Color;
import java.awt.Container;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.Point;
import javax.swing.JFrame;
import javax.swing.JLabel;
public class JLabel02 {
public static void main(String args[]){
JFrame fra = new JFrame("Swing ´°Ìå±êÌâ");
JLabel l... | xgqfrms/JavaWeb | JavaGUI/src/test_JLabel/JLabel02.java | Java | apache-2.0 | 810 |
/*******************************************************************************
* Copyright (c) 2015-2018 Skymind, Inc.
*
* This program and the accompanying materials are made available under the
* terms of the Apache License, Version 2.0 which is available at
* https://www.apache.org/licenses/LICENSE-2.0.
*
*... | deeplearning4j/deeplearning4j | nd4j/nd4j-remote/nd4j-grpc-client/src/test/java/org/nd4j/graph/GraphInferenceGrpcClientTest.java | Java | apache-2.0 | 4,034 |
package com.nvapp.android.libs.view;
public interface TitleProvider {
/**
* Returns the title of the view at position
*
* @param position
* @return
*/
public String getTitle(int position);
}
| nvapp/nv-android-libs | src/com/nvapp/android/libs/view/TitleProvider.java | Java | apache-2.0 | 205 |
package com.xing.sample.actionbarcompat_basic;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* To work on unit tests, switch the Test Artifact in the Build Variants view.
*/
public class ExampleUnitTest {
@Test
public void addition_isCorrect() throws Exception {
assertEquals(4, 2 + 2... | sunshine763/GoogleAndroidSamples | actionbarcompat-basic/src/test/java/com/xing/sample/actionbarcompat_basic/ExampleUnitTest.java | Java | apache-2.0 | 330 |
package com.fifino.patterns.strategy;
/**
* Created by porfiriopartida on 2/13/16.
*/
public class ItFlys implements Flys {
@Override
public String fly() {
return "Flying high!";
}
}
| ppartida/jdesign-patterns | src/com/fifino/patterns/strategy/ItFlys.java | Java | apache-2.0 | 206 |
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed u... | hambroperks/j2objc | translator/src/main/java/com/google/devtools/j2objc/translate/CastResolver.java | Java | apache-2.0 | 12,986 |
package textures;
public class TerrainTexturePack {
private TerrainTexture backgroundTexture;
private TerrainTexture rTexture;
private TerrainTexture gTexture;
private TerrainTexture bTexture;
public TerrainTexture getBackgroundTexture() {
return backgroundTexture;
}
public void setBackgroundTexture(Terrain... | fillipesouza/mygame | src/textures/TerrainTexturePack.java | Java | apache-2.0 | 1,125 |
package com.zst.xposed.halo.floatingwindow3.prefs;
import android.app.*;
import android.content.SharedPreferences.OnSharedPreferenceChangeListener;
import android.content.*;
import android.os.*;
import com.zst.xposed.halo.floatingwindow3.*;
import java.util.prefs.*;
import android.widget.*;
import android.graphics.*;
... | shooash/XHFW3 | app/src/main/java/com/zst/xposed/halo/floatingwindow3/prefs/FloatDotActivity.java | Java | apache-2.0 | 5,002 |
package org.nutz.resource;
import static org.junit.Assert.*;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.net.MalformedURLException;
import java.util.Collections;
import java.util.Comparator;
import java.util.List;
import javax.servlet.Servlet;
import junit.... | 007slm/nutz | test/org/nutz/resource/ScansTest.java | Java | apache-2.0 | 5,137 |
/**********************************************************************************
* $URL: https://source.sakaiproject.org/svn/providers/tags/sakai-10.6/jldap-mock/src/java/edu/amc/sakai/user/ResourcePropertiesEditStub.java $
* $Id: ResourcePropertiesEditStub.java 105079 2012-02-24 23:08:11Z ottenhoff@longsight.com ... | eemirtekin/Sakai-10.6-TR | providers/jldap-mock/src/java/edu/amc/sakai/user/ResourcePropertiesEditStub.java | Java | apache-2.0 | 4,899 |
/*
* DBeaver - Universal Database Manager
* Copyright (C) 2010-2019 Serge Rider (serge@jkiss.org)
*
* 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/license... | liuyuanyuan/dbeaver | plugins/org.jkiss.dbeaver.ext.postgresql/src/org/jkiss/dbeaver/ext/postgresql/PostgreServerHome.java | Java | apache-2.0 | 1,764 |
/*
* 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 ... | InspurUSA/nifi | nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/java/org/apache/nifi/web/controller/ControllerFacade.java | Java | apache-2.0 | 86,923 |
/*
* Copyright 2017 David Karnok
*
* 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... | akarnokd/Reactive4JavaFlow | src/main/java/hu/akarnokd/reactive4javaflow/processors/EsetlegProcessor.java | Java | apache-2.0 | 1,100 |
package com.github.mzule.androidweekly.ui.view;
import android.app.Activity;
import android.content.Context;
import android.content.res.TypedArray;
import android.util.AttributeSet;
import android.widget.TextView;
import com.github.mzule.androidweekly.R;
import com.github.mzule.androidweekly.ui.view.base.BaseLinearLa... | mzule/AndroidWeekly | app/src/main/java/com/github/mzule/androidweekly/ui/view/NaviBar.java | Java | apache-2.0 | 1,740 |
package ar_ubin.benotified.base;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentTransaction;
import android.support.v7.app.AppCompatActivity;
import javax.inject.Inject;
import ar_ubin.benotified.ActivityModule;
import ar_ubin.benotified.ApplicationComponent;... | ar-ubin/BeNotified | app/src/main/java/ar_ubin/benotified/base/BaseActivity.java | Java | apache-2.0 | 1,440 |
package com.example.a226;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
public class MainActivity extends Activity {
EditText et;
@Override
protected void onCreate(Bundle savedInstanceSt... | zelig81/hyperactive-class | A226/src/com/example/a226/MainActivity.java | Java | apache-2.0 | 776 |
/*
* Copyright 2010-2011 Raisonne Techonologies.
*
* 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 la... | umeshawasthi/blooddonor | src/main/java/com/raisonne/quartz/scheduler/job/service/impl/JobUtil.java | Java | apache-2.0 | 935 |
package ftp.v4;
import java.io.IOException;
import java.nio.file.attribute.UserPrincipalLookupService;
import java.util.Arrays;
import java.util.Collections;
import java.util.HashSet;
import java.util.Set;
import org.apache.sshd.common.file.util.BaseFileSystem;
import org.apache.sshd.common.file.util.ImmutableList;
... | innocentliny/SFTP_demo | v4/My4FileSystem.java | Java | apache-2.0 | 1,470 |
/*
* Copyright 2011 Gian Perrone
*
* 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 agree... | bendisposto/JVersionNumberer | JVersionNumberer/src/main/java/de/hhu/jversionnumberer/annotations/ImplementableByClient.java | Java | apache-2.0 | 1,173 |
/*
* Copyright 2012 Mike Adamson
*
* 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... | assemblade/CAT | cat-server/src/test/java/com/assemblade/server/security/UserManagerTest.java | Java | apache-2.0 | 1,709 |
/**
* 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... | zzy6395/drill | exec/java-exec/src/test/java/org/apache/drill/exec/vector/complex/writer/TestJsonReader.java | Java | apache-2.0 | 12,785 |
package service.handler.twostep;
import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.File;
import java.io.IOException;
import java.net.Socket;
import java.security.KeyPair;
import java.security.PublicKey;
import java.security.SignatureException;
import java.util.concurrent.locks.ReentrantLo... | CloudComLab/Voting-CAP | src/service/handler/twostep/CSNHandler.java | Java | apache-2.0 | 3,838 |
/*
* (C) Copyright IBM Corp. 2019, 2020.
*
* 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 t... | watson-developer-cloud/java-sdk | visual-recognition/src/main/java/com/ibm/watson/visual_recognition/v4/model/AddImagesOptions.java | Java | apache-2.0 | 6,096 |
/*
* Copyright 2005 JBoss 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... | reynoldsm88/drools | drools-model/drools-model-compiler/src/test/java/org/drools/modelcompiler/domain/TargetPolicy.java | Java | apache-2.0 | 1,281 |
package com.cell.user.web.shrio.filter.authc;
import javax.servlet.ServletRequest;
import org.apache.shiro.SecurityUtils;
import org.apache.shiro.authc.AuthenticationException;
import org.apache.shiro.web.filter.authc.FormAuthenticationFilter;
import org.springframework.beans.factory.annotation.Autowired;
imp... | TonyYang9527/Magic-Web | src/main/java/com/cell/user/web/shrio/filter/authc/CustomFormAuthenticationFilter.java | Java | apache-2.0 | 1,780 |
/**
* Copyright 2014 Netflix, 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 t... | mttkay/RxJava | rxjava-core/src/test/java/rx/internal/operators/OperatorOnBackpressureBufferTest.java | Java | apache-2.0 | 3,022 |
package com.ua.hower.house;
/**
* Created by poliveira on 27/10/2014.
*/
public interface NavigationDrawerCallbacks {
void onNavigationDrawerItemSelected(int position);
}
| PrudhviRaju123/Tour | app/src/main/java/com/ua/hower/house/NavigationDrawerCallbacks.java | Java | apache-2.0 | 178 |
/*
* Copyright 2015-2020 OpenCB
*
* 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 ... | j-coll/opencga | opencga-core/src/main/java/org/opencb/opencga/core/models/study/VariableSetCreateParams.java | Java | apache-2.0 | 3,818 |