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 |
|---|---|---|---|---|---|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/ads/googleads/v9/services/ad_group_ad_service.proto
package com.google.ads.googleads.v9.services;
public interface MutateAdGroupAdResultOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.ads.googleads.v9.services.Mut... | googleads/google-ads-java | google-ads-stubs-v9/src/main/java/com/google/ads/googleads/v9/services/MutateAdGroupAdResultOrBuilder.java | Java | apache-2.0 | 1,960 |
/*
* Copyright 2012-2020 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... | olegz/spring-cloud-function | spring-cloud-function-web/src/main/java/org/springframework/cloud/function/web/mvc/ReactorAutoConfiguration.java | Java | apache-2.0 | 2,664 |
/*
* CWS, Cryptographic Web Share - open source Cryptographic Sharing system.
* Copyright (c) 2016-2022, haugr.net
* mailto: cws AT haugr DOT net
*
* CWS is free software; you can redistribute it and/or modify it under the
* terms of the Apache License, as published by the Apache Software Foundation.
*
* CWS is... | JavaDogs/cws | cws-core/src/test/java/net/haugr/cws/core/ShareBeanTest.java | Java | apache-2.0 | 4,161 |
/**
* Copyright 2012 Neovera 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 a... | neovera/jdiablo | src/main/java/org/neovera/jdiablo/OptionPropertyAccessor.java | Java | apache-2.0 | 1,138 |
/*
* Artifactory is a binaries repository manager.
* Copyright (C) 2012 JFrog Ltd.
*
* Artifactory 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 o... | alancnet/artifactory | base/api/src/main/java/org/artifactory/api/repo/Request.java | Java | apache-2.0 | 1,561 |
/*
* JBoss, Home of Professional Open Source.
* Copyright 2016 Red Hat, Inc., and individual contributors
* as indicated by the @author tags.
*
* 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 Licen... | sguilhen/wildfly-elytron | src/main/java/org/wildfly/security/auth/client/SetCredentialsConfiguration.java | Java | apache-2.0 | 5,677 |
/*
* 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-emr/src/main/java/com/amazonaws/services/elasticmapreduce/model/transform/ClusterJsonMarshaller.java | Java | apache-2.0 | 7,285 |
/*
* JBoss, Home of Professional Open Source
* Copyright 2011 Red Hat Inc. and/or its affiliates and other contributors
* as indicated by the @authors tag. All rights reserved.
* See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* Licensed under the Apache License, Vers... | arquillian/arquillian-core | junit/container/src/test/java/org/jboss/arquillian/junit/container/JUnitTestBaseClass.java | Java | apache-2.0 | 6,363 |
/*
* 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 under t... | googleapis/google-api-java-client-services | clients/google-api-services-streetviewpublish/v1/1.31.0/com/google/api/services/streetviewpublish/v1/StreetViewPublish.java | Java | apache-2.0 | 65,530 |
/*
* Copyright 2010-2011 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... | apetresc/aws-sdk-for-java-on-gae | src/main/java/com/amazonaws/services/identitymanagement/model/transform/RemoveUserFromGroupRequestMarshaller.java | Java | apache-2.0 | 2,071 |
/**
* Copyright 2003-2010 Shane Isbell
*
* 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 requir... | sisbell/jvending | javax-provisioning/src/main/java/javax/provisioning/Deliverable.java | Java | apache-2.0 | 2,591 |
/* JAT: Java Astrodynamics Toolkit
*
* Copyright (c) 2003 The JAT Project. All rights reserved.
*
* This file is part of JAT. JAT is free software; you can
* redistribute it and/or modify it under the terms of the
* NASA Open Source Agreement, version 1.3 or later.
*
* This program is distributed in the ho... | MaximTar/satellite | src/main/resources/libs/JAT/jat/measurements/ObservationMeasurementList.java | Java | apache-2.0 | 19,780 |
package link.anyauto.smartkey.apt;
import com.google.common.collect.Sets;
import com.squareup.javapoet.ClassName;
import com.squareup.javapoet.ParameterizedTypeName;
import com.squareup.javapoet.TypeName;
import java.util.Set;
public class ClazzNames {
public static final ClassName APPLICATION = ClassName.get("... | foreveruseful/smartkey | apt/src/main/java/link/anyauto/smartkey/apt/ClazzNames.java | Java | apache-2.0 | 4,050 |
package com.enetwiz;
import com.vaadin.navigator.ViewChangeListener.ViewChangeEvent;
import com.vaadin.spring.annotation.SpringView;
import com.vaadin.spring.annotation.UIScope;
import com.vaadin.ui.Button;
import com.vaadin.ui.Component;
import com.vaadin.ui.Label;
import com.vaadin.ui.VerticalLayout;
import javax.an... | enetwiz/vaadin-examples | mvp-example/src/main/java/com.enetwiz/BodyViewImpl.java | Java | apache-2.0 | 1,371 |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2018.02.... | amedia/meteo | meteo-jaxb/src/main/java/no/api/meteo/jaxb/sunrise/v1_1/Astrodata.java | Java | apache-2.0 | 2,744 |
package com.harmazing.openbridge.mod.operations.elasticsearch.bean;
import java.util.HashMap;
import java.util.Map;
public class AppMonitorForm {
private String appId;
private String containId;
private String envId;
private String beginDate;
private String endDate;
//d h m
private... | gavin2lee/incubator | docs/sourcecodes/OpenBridge-base/ob-elk/src/main/java/com/harmazing/openbridge/mod/operations/elasticsearch/bean/AppMonitorForm.java | Java | apache-2.0 | 1,910 |
package com.hbase;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.hbase.HBaseConfiguration;
import org.apache.hadoop.hbase.HColumnDescriptor;
import org.apache.hadoo... | guohan/hadoop | tdh_hbase/src/com/hbase/HBaseTest.java | Java | apache-2.0 | 7,249 |
package kr.co.shineware.nlp.komoran.benchmark;
import kr.co.shineware.nlp.komoran.corpus.model.Dictionary;
import kr.co.shineware.nlp.komoran.parser.KoreanUnitParser;
import java.util.List;
public interface DataStructureSpeedTestInterface {
KoreanUnitParser koreanUnitParser = new KoreanUnitParser();
void loa... | shin285/KOMORAN | core/src/test/java/kr/co/shineware/nlp/komoran/benchmark/DataStructureSpeedTestInterface.java | Java | apache-2.0 | 409 |
/*
* Copyright 2014 Dan Haywood
*
* 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 a... | isisaddons/isis-app-kitchensink | fixture/src/main/java/org/isisaddons/app/kitchensink/fixture/other/OtherBoundedObjectsFixture.java | Java | apache-2.0 | 1,448 |
package com.guitar.db;
import static org.junit.Assert.*;
import java.util.List;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.... | sabotuer99/SpringDataJpaTutorial | src/test/java/com/guitar/db/LocationPersistenceTests.java | Java | apache-2.0 | 4,667 |
/**
*
* Copyright (c) 2017, Emil Forslund. 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 required b... | Pyknic/stiletto | src/main/java/com/github/pyknic/stiletto/internal/util/ReflectionUtil.java | Java | apache-2.0 | 2,883 |
package com.zlg.blog.dao;
import com.zlg.blog.core.Mapper;
import com.zlg.blog.model.ContentModel;
public interface ContentModelMapper extends Mapper<ContentModel> {
} | zuolg/MagazineBlog | src/main/java/com/zlg/blog/dao/ContentModelMapper.java | Java | apache-2.0 | 169 |
package org.lnu.is.web.rest.controller.person.award;
import static org.mockito.Matchers.any;
import static org.mockito.Matchers.anyLong;
import static org.mockito.Mockito.doThrow;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;
import static org.springframework.test.web.servlet.reques... | ifnul/ums-backend | is-lnu-rest-api/src/test/java/org/lnu/is/web/rest/controller/person/award/PersonAwardControllerTest.java | Java | apache-2.0 | 6,111 |
/*
* 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 ... | csuarez/gridcake | src/org/glite/gridcake/gridftp/GridFTPService.java | Java | apache-2.0 | 4,948 |
package ru.szhernovoy.carstore.dao;
import org.junit.Assert;
import org.junit.Test;
import ru.szhernovoy.carstore.model.*;
import static org.hamcrest.core.Is.is;
import static org.junit.Assert.*;
/**
* Created by Admin on 25.01.2017.
*/
public class CarPartyDBManagerTest {
@Test
public void whenWeCreatePar... | SergeyZhernovoy/Java-education | PartX/lesson2/src/test/java/ru/szhernovoy/carstore/dao/CarPartyDBManagerTest.java | Java | apache-2.0 | 1,667 |
/*
* Copyright 2014-present Facebook, 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... | k21/buck | src/com/facebook/buck/python/CxxPythonExtensionDescription.java | Java | apache-2.0 | 19,331 |
/*
* Copyright 2013-2014 Urs Wolfer
*
* 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 ... | sstafford/gerrit-rest-java-client | src/main/java/com/urswolfer/gerrit/client/rest/http/accounts/AccountsRestClient.java | Java | apache-2.0 | 3,021 |
package jp.sourceforge.ea2ddl.dao.cbean.cq;
import jp.sourceforge.ea2ddl.dao.cbean.cq.bs.BsTObjecteffortCQ;
import org.seasar.dbflute.cbean.ConditionQuery;
import org.seasar.dbflute.cbean.sqlclause.SqlClause;
/**
* The condition-query of t_objecteffort.
* <p>
* You can implement your original methods ... | taktos/ea2ddl | ea2ddl-dao/src/main/java/jp/sourceforge/ea2ddl/dao/cbean/cq/TObjecteffortCQ.java | Java | apache-2.0 | 1,647 |
/*
* 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-mediaconnect/src/main/java/com/amazonaws/services/mediaconnect/model/transform/DescribeOfferingRequestMarshaller.java | Java | apache-2.0 | 2,043 |
/*
* 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 ... | wenzhucjy/tomcat_source | tomcat-8.0.9-sourcecode/java/org/apache/catalina/core/AsyncListenerWrapper.java | Java | apache-2.0 | 1,686 |
package com.bjsxt.tank;
import java.awt.*;
public class Wall {
int x, y, w, h;
TankClient tc ;
public Wall(int x, int y, int w, int h, TankClient tc) {
this.x = x;
this.y = y;
this.w = w;
this.h = h;
this.tc = tc;
}
public void draw(Graphics g) {
Color c = g.getColor();
g.setC... | gdutxiaoxu/git- | src/com/bjsxt/tank/Wall.java | Java | apache-2.0 | 471 |
package com.ss.editor.model.undo.impl;
import com.jme3.scene.Node;
import com.jme3.scene.Spatial;
import com.ss.editor.Messages;
import com.ss.editor.model.undo.editor.ModelChangeConsumer;
import com.ss.editor.model.undo.impl.AbstractEditorOperation;
import com.ss.editor.plugin.api.RenderFilterExtension;
import org.je... | JavaSaBr/jME3-SpaceShift-Editor | src/main/java/com/ss/editor/model/undo/impl/AddChildOperation.java | Java | apache-2.0 | 2,122 |
// Generated code from Butter Knife. Do not modify!
package com.ameron32.apps.projectbandit.core.trial;
import android.view.View;
import butterknife.ButterKnife.Finder;
public class GridPagerFragment$$ViewInjector {
public static void inject(Finder finder, final com.ameron32.apps.projectbandit.core.trial.GridPagerF... | ameron32/ProjectBandit | ProjectBandit/.apt_generated/com/ameron32/apps/projectbandit/core/trial/GridPagerFragment$$ViewInjector.java | Java | apache-2.0 | 853 |
/*
* Copyright (C) 2017 Simon Vig Therkildsen
*
* 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 ... | SimonVT/cathode | cathode/src/main/java/net/simonvt/cathode/ui/history/AddToHistoryDialog.java | Java | apache-2.0 | 5,632 |
package com.zykmanhua.app.activity;
import android.app.Application;
import com.nostra13.universalimageloader.core.ImageLoader;
import com.nostra13.universalimageloader.core.ImageLoaderConfiguration;
import com.thinkland.sdk.android.JuheSDKInitializer;
public class ZYKManhuaApplication extends Application {
@Overrid... | ZhaoYukai/ManhuaHouse | src/com/zykmanhua/app/activity/ZYKManhuaApplication.java | Java | apache-2.0 | 607 |
/* The contents of this file are subject to the Health Level-7 Public
* License Version 1.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.hl7.org/HPL/
*
* Software distributed under the License is distributed on an "AS IS"
... | markusgumbel/dshl7 | hl7-javasig/src/org/hl7/types/impl/EDimpl.java | Java | apache-2.0 | 2,042 |
package org.misc;
import java.util.HashMap;
/**
*
* There are n bombs in a road going from left to right,and each bomb has a
* value and a 'effect range'.If you detonated a bomb,you will get this bomb's
* value,but a bomb can have effect on the neighbors which the
* distance(difference between index) between the... | sandeepmukho/sample-data-structures | src/org/misc/BombDiffuse2.java | Java | apache-2.0 | 2,179 |
/*
* The MIT License (MIT)
*
* Copyright (c) 2014-2016 abel533@gmail.com
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
... | wangshijun101/JavaSenior | spider-web/src/main/java/tk/mybatis/springboot/model/City.java | Java | apache-2.0 | 1,614 |
/*
* Copyright 2014-2019 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... | jentfoo/aws-sdk-java | aws-java-sdk-route53/src/main/java/com/amazonaws/services/route53domains/model/transform/ViewBillingResultJsonUnmarshaller.java | Java | apache-2.0 | 3,094 |
/*
* Copyright 2010-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Portions copyright 2006-2009 James Murty. Please see LICENSE.txt
* for applicable license terms and NOTICE.txt for applicable notices.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this f... | jentfoo/aws-sdk-java | aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/model/BucketPolicy.java | Java | apache-2.0 | 2,501 |
package net.webservicex;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.ws.RequestWrapper;
import javax.xml.ws.ResponseWrapper;
/**
* This class was generated by Apache CXF 3.1.12
* 2017-07... | MariaSergeeva/sergeeva | soap-sample/src/main/java/net/webservicex/GeoIPServiceSoap.java | Java | apache-2.0 | 1,957 |
package com.coolweather.android.util;
import okhttp3.OkHttpClient;
import okhttp3.Request;
/**
* Created by wang on 2017/4/25 0025.
*/
public class HttpUtil {
public static void sendOkHttpRequest(String address, okhttp3.Callback callback) {
OkHttpClient client = new OkHttpClient();
Request requ... | gan-wang/coolweather | app/src/main/java/com/coolweather/android/util/HttpUtil.java | Java | apache-2.0 | 430 |
/**
* Copyright 2015 Cerner Corporation.
* Copyright 2015 Cloudera, 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 re... | mkwhitacre/kite-apps | kite-apps-cli/src/main/java/org/kitesdk/apps/cli/Main.java | Java | apache-2.0 | 5,446 |
package com.parse.starter;
import android.content.Intent;
import android.graphics.Bitmap;
import android.net.Uri;
import android.os.Bundle;
import android.provider.MediaStore;
import android.support.design.widget.FloatingActionButton;
import android.support.design.widget.Snackbar;
import android.support.v7.app.AppComp... | EllisMin/st | ParseStarterProject/src/main/java/com/parse/starter/Register.java | Java | apache-2.0 | 6,081 |
package com.github.dactiv.showcase.test.manager.foundation.audit;
import static org.junit.Assert.assertEquals;
import java.util.Date;
import com.github.bean.showcase.common.enumeration.entity.OperatingState;
import com.github.bean.showcase.entity.foundation.audit.OperatingRecord;
import com.github.bean.showc... | yangwn/ordering | showcase/base-curd/src/test/java/com/github/dactiv/showcase/test/manager/foundation/audit/TestOperatingRecordManager.java | Java | apache-2.0 | 1,607 |
/*
* 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 not
* ... | eduosi/buessionframework | buession-core/src/main/java/com/buession/core/mcrypt/RSAMcrypt.java | Java | apache-2.0 | 8,555 |
/*
* 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-ec2/src/main/java/com/amazonaws/services/ec2/model/transform/ModifySnapshotAttributeResultStaxUnmarshaller.java | Java | apache-2.0 | 2,323 |
/*
* Copyright 2010-2020 Alfresco Software, Ltd.
*
* 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 ... | Activiti/Activiti | activiti-api/activiti-api-process-model/src/main/java/org/activiti/api/process/model/builders/GetProcessDefinitionsPayloadBuilder.java | Java | apache-2.0 | 1,777 |
/**
* Copyright (C) [2013] [The FURTHeR 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 applica... | openfurther/further-open-core | security/security-impl/src/main/java/edu/utah/further/security/impl/domain/UserPropertyEntity.java | Java | apache-2.0 | 4,384 |
///////////////////////////////////////////////////////////////////////////
// __ _ _ ________ //
// / / ____ ____ _(_)____/ | / / ____/ //
// / / / __ \/ __ `/ / ___/ |/ / / __ //
// ... | logic-ng/LogicNG | src/main/java/org/logicng/functions/MinimumPrimeImplicantFunction.java | Java | apache-2.0 | 5,106 |
/**
* Copyright (c) 2000-present Liferay, Inc. All rights reserved.
*
* 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 Foundation; either version 2.1 of the License, or (at your option)
* any la... | openegovplatform/OEPv2 | oep-core-datamgt-portlet/docroot/WEB-INF/service/org/oep/core/datamgt/service/DictAttributeServiceClp.java | Java | apache-2.0 | 2,536 |
/*
* Copyright 2014 Ranjan Kumar
*
* 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... | Jason-Chen-2017/restfeel | src/main/java/com/restfeel/dto/TagDTO.java | Java | apache-2.0 | 1,086 |
/*
* Copyright 2008 JRimum 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
* applicable law or agreed to in ... | jrimum/texgit | src/main/java/org/jrimum/texgit/type/component/RecordFactory.java | Java | apache-2.0 | 1,669 |
package com.cowthan.pattern1.builder;
import java.util.ArrayList;
public class BMWBuilder extends CarBuilder{
private BMW bmw = new BMW();
@Override
public void setSequence(ArrayList<String> sequence) {
this.bmw.setSequence(sequence);
}
@Override
public ICar getCar() {
return this.bmw;
}
public ICar ge... | cowthan/JavaAyo | src/com/cowthan/pattern1/builder/BMWBuilder.java | Java | apache-2.0 | 425 |
/*
* 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-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/ListLabelingJobsForWorkteamSortByOptions.java | Java | apache-2.0 | 1,921 |
/*
* @Author Wei-Tsung Lin
* @Date 03/11/2016
* @Description Show all products in the wishlist
*/
package cs263w16;
import java.io.IOException;
import java.util.Date;
import java.util.List;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletRe... | fasthall/cs263w16 | base_project/base/src/main/java/cs263w16/WishlistServlet.java | Java | apache-2.0 | 3,026 |
package com.yy.cloud.common.utils.reflect.criteria.expression;
import com.yy.cloud.common.utils.reflect.filter.PropertyFilter;
/**
* @author wejia
* @create Jul 6, 2016
*/
public interface PropertyExpression {
public PropertyFilter toFilter();
}
| YY-ORG/yycloud | yy-common/yy-common-utils/src/main/java/com/yy/cloud/common/utils/reflect/criteria/expression/PropertyExpression.java | Java | apache-2.0 | 255 |
package com.jj.game.boost.wifi4g;
/**
* Created by huzd on 2017/7/6.
*/
public class WIFI_DATA_Manager {
private static AbstractWIFI_DATA instance = null;
private WIFI_DATA_Manager(){
}
public static AbstractWIFI_DATA getInstance(){
if(null == instance){
synchronized (WIFI_DATA_... | stone83/ping_tools | app/src/main/java/com/jj/game/boost/wifi4g/WIFI_DATA_Manager.java | Java | apache-2.0 | 803 |
/*
* Copyright 2021 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-scheduler | google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/stub/GrpcCloudSchedulerCallableFactory.java | Java | apache-2.0 | 4,816 |
package com.bmob.im.demo.util;
public class Constant {
public static String IMAGE_BASE_URL = "http://sp.woaisp.com/";
public static String API_KEY = "H1WWduPFjM1z6dqvTIyBrswb";
public static final String KEY = "123566646614654564L";
public static String url = "http://api.androidhive.info/contacts/";
public stat... | Domonlee/Bmob_IM | src/com/bmob/im/demo/util/Constant.java | Java | apache-2.0 | 7,715 |
package net.lecousin.framework.event;
/** Class that implements SimpleListenable and delegate to an event of type T which is lazily instantiated on its first listener.
* @param <T> type of event
*/
public abstract class SimpleListenableContainer<T extends SimpleListenable> implements SimpleListenable {
protected T... | lecousin/java-framework-core | net.lecousin.core/src/main/java/net/lecousin/framework/event/SimpleListenableContainer.java | Java | apache-2.0 | 772 |
package smbModel;
import java.io.File;
import javax.sound.midi.MidiSystem;
import javax.sound.midi.Sequence;
import javax.sound.midi.Sequencer;
import javax.sound.sampled.AudioSystem;
import javax.sound.sampled.Clip;
public class MusicPlayer {
private String[] soundPaths = new String[] { "Assets/Sounds/smbTheme.MI... | cmurat/CS434-Project | SuperMarioBros/src/smbModel/MusicPlayer.java | Java | apache-2.0 | 2,264 |
/*
* Copyright (C) 2016 Singular Studios (a.k.a Atom Tecnologia) - www.opensingular.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
... | opensingular/singular-core | lib/wicket-utils/src/main/java/org/opensingular/lib/wicket/util/bootstrap/layout/TemplatePanel.java | Java | apache-2.0 | 5,362 |
/*
* Licensed to ObjectStyle LLC under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ObjectStyle LLC licenses
* this file to you under the Apache License, Version 2.0 (the
* "License"); you may not u... | nhl/bootique-linkrest | bootique-agrest-cayenne42-swagger/src/main/java/io/bootique/agrest/cayenne42/swagger/AgrestSwaggerModule.java | Java | apache-2.0 | 1,177 |
/*
* Copyright © 2017-2019 Cask Data, 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 ... | hydrator/wrangler | wrangler-core/src/main/java/io/cdap/directives/transformation/Upper.java | Java | apache-2.0 | 2,549 |
/*
* 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")... | mike10004/appengine-imaging | gaecompat-awt-imaging/src/awt-windowing/com/google/code/appengine/awt/peer/ListPeer.java | Java | apache-2.0 | 945 |
/*
* Source https://github.com/evanx by @evanxsummers
*
*/
package chronic.type;
import vellum.bundle.Bundle;
import vellum.type.Labelled;
/**
*
* @author evan.summers
*/
public enum EventType implements Labelled {
ERROR,
INITIAL;
@Override
public String getLabel() {
... | evanx/chronic | src/chronic/type/EventType.java | Java | apache-2.0 | 467 |
/*******************************************************************************
* Copyright 2011-2013 Sergey Tarasevich
*
* 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... | lyandyjoe/slogan-taoxian | Wallapop/src/com/example/wallapop/utils/imageloader/core/display/FakeBitmapDisplayer.java | Java | apache-2.0 | 1,972 |
package com.github.megatronking.svg.iconlibs;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.ColorFilter;
import android.graphics.Paint;
import com.github.megatronking.svg.support.SVGRenderer;
/**
* AUTO-GENERATED FILE. DO NOT MODIFY.
*
* This class was autom... | MegatronKing/SVG-Android | docs/image/java/ic_center_focus_weak.java | Java | apache-2.0 | 3,592 |
/**
*
* @author grog (at) myrobotlab.org
*
* This file is part of MyRobotLab (http://myrobotlab.org).
*
* MyRobotLab is free software: you can redistribute it and/or modify it under
* the terms of the Apache License 2.0 as published by the Free Software
* Foundation, either version 2 of the License, or ... | MyRobotLab/myrobotlab | src/main/java/org/myrobotlab/swing/GpsGui.java | Java | apache-2.0 | 3,844 |
/**
* Copyright (C) 2018 - present McLeod Moores Software Limited. All rights reserved.
*/
package com.opengamma.core.holiday.impl;
import static org.testng.Assert.assertEquals;
import static org.testng.Assert.assertFalse;
import static org.testng.Assert.assertTrue;
import java.util.Arrays;
import java.util.Collec... | McLeodMoores/starling | projects/core/src/test/java/com/opengamma/core/holiday/impl/SchemeAlteringHolidaySourceTest.java | Java | apache-2.0 | 8,227 |
package com.whitebearsolutions.imagine.wbsairback.disk;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.StringTokenizer;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.whitebearsolutions.util.Command;
p... | WhiteBearSolutions/WBSAirback | src/com/whitebearsolutions/imagine/wbsairback/disk/RaidManager.java | Java | apache-2.0 | 38,084 |
/*
* Copyright 1999-2015 dangdang.com.
* <p>
* 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... | artoderk/elastic-jobx | elastic-jobx-spring/src/test/java/com/dangdang/ddframe/job/spring/WithoutNamespaceTest.java | Java | apache-2.0 | 1,027 |
/*
* The aspiredb project
*
* Copyright (c) 2013 University of British Columbia
*
* 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... | ppavlidis/aspiredb | aspiredb/src/main/java/ubc/pavlab/aspiredb/server/service/LabelServiceImpl.java | Java | apache-2.0 | 7,233 |
/**
* 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... | telefonicaid/fiware-cosmos-ambari | ambari-server/src/test/java/org/apache/ambari/server/configuration/ConfigurationTest.java | Java | apache-2.0 | 9,093 |
/**
* 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... | ucare-uchicago/cass-fate-system | src/java/org/apache/cassandra/net/MessagingService.java | Java | apache-2.0 | 18,798 |
package org.example;
public class Sample
{
public static final String VERSION = "<${project.version}>";
}
| mojohaus/templating-maven-plugin | src/test/resources/sample-simple/src/main/java-templates/org/example/Sample.java | Java | apache-2.0 | 111 |
/*
* Copyright (c) 2015 Pactera. 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
*
* THIS CODE IS PROVIDED AS IS B... | PacteraMobile/pacterapulse-android | app/src/main/java/au/com/pactera/pacterapulse/helper/VoteManager.java | Java | apache-2.0 | 2,283 |
/*
* Copyright 2014 Daniel Nilsson
*
* 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 w... | dannil/scb-java-client | src/main/java/com/github/dannil/scbjavaclient/client/SCBClient.java | Java | apache-2.0 | 12,887 |
package com.smassive.comicviewr.app;
import android.app.Application;
import android.test.ApplicationTestCase;
/**
* <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a>
*/
public class ApplicationTest extends ApplicationTestCase<Application> {
public ApplicationTest() {
... | SmasSive/MarvelSuperHeroComicViewr | app/src/androidTest/java/com/smassive/comicviewr/app/ApplicationTest.java | Java | apache-2.0 | 358 |
/*
* Copyright 2011-2016 B2i Healthcare Pte Ltd, http://b2i.sg
*
* 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 require... | IHTSDO/snow-owl | snomed/com.b2international.snowowl.snomed.importer/src/com/b2international/snowowl/snomed/importer/net4j/SnomedSubsetImportUtil.java | Java | apache-2.0 | 10,566 |
/**
* Copyright 2012 Twitter, 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... | julienledem/redelm | parquet-column/src/main/java/parquet/example/data/simple/BooleanValue.java | Java | apache-2.0 | 1,067 |
package com.in28minutes.java.others.garbagecollection;
import java.util.Calendar;
import java.util.GregorianCalendar;
public class GarbageCollectionExamples {
void method() {
Calendar calendar = new GregorianCalendar(2000, 10, 30);
System.out.println(calendar);
}
}
| jamalgithub/workdev | in28Minutes-javaInterview/src/main/java/com/in28minutes/java/others/garbagecollection/GarbageCollectionExamples.java | Java | apache-2.0 | 274 |
/*
* 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 ... | afiantara/apache-wicket-1.5.7 | src/wicket-core/src/main/java/org/apache/wicket/markup/html/navigation/paging/PagingNavigation.java | Java | apache-2.0 | 11,276 |
/*
* 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 ... | afiantara/apache-wicket-1.5.7 | src/wicket-util/src/test/java/org/apache/wicket/util/LongEncoderTest.java | Java | apache-2.0 | 1,425 |
package com.bigr.applestore.subcategories;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.Menu;
import android.view.MenuInflater;
import android.view.MenuItem;
import android.view.View;
import android.view.ViewGro... | RanaAhmedHamdy/Apple-Store | app/src/main/java/com/bigr/applestore/subcategories/SubCategoriesFragment.java | Java | apache-2.0 | 3,627 |
package me.champeau.gradle.japicmp;
public class A {
public String bad;
public String unchanged;
}
| melix/japicmp-gradle-plugin | src/test/test-projects/filtering/field/src/main2/java/A.java | Java | apache-2.0 | 108 |
/*
* Orika - simpler, better and faster Java bean mapping
*
* Copyright (C) 2011-2013 Orika 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/lic... | orika-mapper/orika | core/src/test/java/ma/glasnost/orika/test/community/Issue19TestCase.java | Java | apache-2.0 | 1,877 |
package com.bigkoo.pickerview.view;
import android.graphics.Typeface;
import android.view.View;
import com.bigkoo.pickerview.R;
import com.bigkoo.pickerview.adapter.ArrayWheelAdapter;
import com.bigkoo.pickerview.lib.WheelView;
import com.bigkoo.pickerview.listener.OnItemSelectedListener;
import java.util.List;
pub... | hopjojo/PublicWidget | pickerview/src/main/java/com/bigkoo/pickerview/view/WheelOptions.java | Java | apache-2.0 | 12,735 |
/*
* Copyright 2015 Torridity.
*
* 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... | extremeCrazyCoder/dsworkbench | Core/src/main/java/de/tor/tribes/util/bb/TroopListFormatter.java | Java | apache-2.0 | 2,847 |
package com.svbio.cloudkeeper.model.beans.element.module;
import com.svbio.cloudkeeper.model.bare.element.module.BareModuleVisitor;
import com.svbio.cloudkeeper.model.bare.element.module.BareProxyModule;
import com.svbio.cloudkeeper.model.beans.CopyOption;
import com.svbio.cloudkeeper.model.beans.element.MutableQualif... | priimak/cloudkeeper | cloudkeeper-core/cloudkeeper-model/src/main/java/com/svbio/cloudkeeper/model/beans/element/module/MutableProxyModule.java | Java | apache-2.0 | 2,597 |
/*
* Copyright Kay Stenschke
*
* 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 writ... | kstenschke/shifter-plugin | src/com/kstenschke/shifter/models/shiftable_types/Css.java | Java | apache-2.0 | 4,628 |
/*
* Copyright (c) "Neo4j"
* Neo4j Sweden AB [http://neo4j.com]
*
* This file is part of Neo4j.
*
* 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... | neo4j/neo4j-java-driver | driver/src/main/java/org/neo4j/driver/internal/handlers/pulln/AutoPullResponseHandler.java | Java | apache-2.0 | 9,854 |
package com.riskitbiskit.gameofflicks;
import android.content.Context;
import android.support.test.InstrumentationRegistry;
import android.support.test.runner.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.junit.Assert.*;
/**
* Instrumentation test, which will execute on a... | CarloAntonio/Game-Of-Flicks | GameOfFlicks/app/src/androidTest/java/com/riskitbiskit/gameofflicks/ExampleInstrumentedTest.java | Java | apache-2.0 | 762 |
package com.coolweather.app.util;
import java.io.BufferedReader;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.net.HttpURLConnection;
import java.net.URL;
public class HttpUtil {
public static void sendHttpRequest(final String address ,final HttpCallbackListener listener){
... | murreIsCoding/coolweather | src/com/coolweather/app/util/HttpUtil.java | Java | apache-2.0 | 1,287 |
package com.ptoceti.osgi.pi.impl;
/*
* #%L
* **********************************************************************
* ORGANIZATION : ptoceti
* PROJECT : Pi
* FILENAME : ConfigReader.java
*
* This file is part of the Ptoceti project. More information about
* this project can be found here: http://www.ptoceti.c... | lathil/Ptoceti | com.ptoceti.osgi.pi/src/main/java/com/ptoceti/osgi/pi/impl/ConfigReader.java | Java | apache-2.0 | 6,022 |
package com.fatuhiva.touch.controller.grid;
import com.fatuhiva.model.grid.FatuGrid;
import com.fatuhiva.touch.controller.IJextAction;
public class JextGridAction {
public enum GridEvent {
GETDATA
}
private IJextAction<FatuGrid> webAction;
private GridEvent evt;
public JextGridAction(IJextA... | patrickweege/SaGUI | sagui-parent/sagui-render-mobile/src/main/java/com/fatuhiva/touch/controller/grid/JextGridAction.java | Java | apache-2.0 | 516 |
package com.example.android_tcp_server;
import java.util.Arrays;
import java.util.List;
import com.example.android_tcp_server.EnumsAndStatics.MessageTypes;
public class EnumsAndStatics {
public enum MessageTypes{MessageFromServer,MessageFromClient,REGISTRATION_APPROVED}
public static final String MESSAGE_TY... | sht5/Android-tcp-server-and-client | client/AndroidTCPServer/src/com/example/android_tcp_server/EnumsAndStatics.java | Java | apache-2.0 | 986 |
/*
* 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-cloudtrail/src/main/java/com/amazonaws/services/cloudtrail/model/transform/InvalidCloudWatchLogsLogGroupArnExceptionUnmarshaller.java | Java | apache-2.0 | 3,122 |
// Copyright 2000-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.ide.util.treeView;
import com.intellij.ide.IdeBundle;
import com.intellij.ide.UiActivity;
import com.intellij.ide.UiActivityMonitor;
import com.intellij.ide.... | dahlstrom-g/intellij-community | platform/platform-api/src/com/intellij/ide/util/treeView/AbstractTreeUi.java | Java | apache-2.0 | 162,794 |