text stringlengths 7 995k |
|---|
package com.wildbeeslabs.jentle.algorithms.bucket;
import java.util.List;
public class Planet {
private final Point max;
public Point getMax() {
return max;
}
private List<Point> obstacles;
public List<Point> getObstacles() {
return obstacles;
}
public void setObstacles(L... |
/*
* Copyright (c) 2011-2017 Pivotal Software 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unle... |
package com.codemagic.magica;
import java.io.File;
import java.io.PrintStream;
import java.io.StringReader;
import java.io.StringWriter;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Properties;
import javax.xml.bind.JAXBContext;
import j... |
package com.tom.storage.tileentity;
import com.tom.lib.Configs;
public class TileEntityBasicTank extends TMTank {
public TileEntityBasicTank() {
super(Configs.BASIC_TANK_SIZE);
}
} |
package com.sap.primetime.util.configuration;
import java.util.List;
import java.util.Properties;
import org.apache.commons.lang3.StringUtils;
import com.sap.primetime.dao.ConfigDAO;
import com.sap.primetime.dao.entities.Config;
public class ConfigDBAdapter implements ConfigAdapter {
@Override
public Properties g... |
/*
* 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 ... |
/*
* 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 ... |
/*
* 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 ... |
package js.lang.external.highcharts.modules;
import com.github.fluorumlabs.disconnect.core.annotations.Import;
import com.github.fluorumlabs.disconnect.core.annotations.NpmPackage;
import java.lang.UnsupportedOperationException;
import js.lang.Any;
import js.lang.Unknown /* _Highcharts */;
import js.lang.external.high... |
/*************************************************
* MailerSend Java SDK
* https://github.com/mailersend/mailersend-java
*
* @author MailerSend <support@mailersend.com>
* https://mailersend.com
**************************************************/
package com.mailersend.sdk.templates;
import com.google.gson.annot... |
package com.f5704.util;
public class WeiXinReport {
private String data ;
private long subs ;
private long unsubs;
public String getData() {
return data;
}
public void setData(String data) {
this.data = data;
}
public long getSubs() {
return subs;
}
public void setSubs(long subs) {
this.subs = subs;... |
/*******************************************************************************
* Copyright 2021 Ironblaster
*
* 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... |
/*
* Copyright 2002-2016 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 ap... |
package com.goit.popov.restaurant.service.dataTables.service;
import com.goit.popov.restaurant.dao.DishDAO;
import com.goit.popov.restaurant.model.Dish;
import com.goit.popov.restaurant.service.dataTables.DataTablesInputExtendedDTO;
import com.goit.popov.restaurant.service.dataTables.DataTablesServiceServerSideSearch;... |
package net.sourceforge.jaad.mp4.boxes.impl.fd;
import java.io.IOException;
import java.util.HashMap;
import java.util.Map;
import net.sourceforge.jaad.mp4.MP4InputStream;
import net.sourceforge.jaad.mp4.boxes.FullBox;
public class GroupIDToNameBox extends FullBox {
private final Map<Long, String> map;
public Gro... |
package daitnu.daitnus2.MailCategory;
import com.fasterxml.jackson.databind.ObjectMapper;
import daitnu.daitnus2.accounts.AccountsDTO;
import daitnu.daitnus2.accounts.AccountsService;
import daitnu.daitnus2.accounts.AccountsSession;
import daitnu.daitnus2.database.entity.MailCategory;
import daitnu.daitnus2.database.e... |
package com.example.android.learnitalian;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
public class PhrasesActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.lay... |
package com.hyphenate.chatuidemo.circle.spannable;
import android.text.Layout;
import android.text.Selection;
import android.text.Spannable;
import android.text.method.BaseMovementMethod;
import android.text.method.Touch;
import android.text.style.BackgroundColorSpan;
import android.text.style.ClickableSpan;
import an... |
package com.leonardo.cursojava.aulaEx2;
import java.util.Scanner;
import javax.swing.UIManager;
import org.omg.CosNaming.NamingContextExt;
import javafx.scene.PerspectiveCamera;
import javafx.scene.shape.ObservableFaceArray;
public class Exercicios1 {
public static void main(String[] args) {
// Ex 1 - Faca um ... |
/**
* 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... |
package behaviours;
import java.awt.event.KeyEvent;
import java.awt.event.MouseEvent;
import java.util.HashSet;
import java.util.Iterator;
import org.jogamp.java3d.Behavior;
import org.jogamp.java3d.BoundingSphere;
import org.jogamp.java3d.Transform3D;
import org.jogamp.java3d.TransformGroup;
import org.jogamp.java3d.... |
/**
*
*/
package com.egoveris.workflow.designer.module.model;
import java.util.ArrayList;
import java.util.List;
/**
* @author difarias
*
*/
public class Task {
private int x;
private int y;
private String name;
private List<Transition> transitions;
private String type;
/**
* @return the x
*/
publ... |
/*
* Copyright 2000-2015 JetBrains s.r.o.
*
* 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 agre... |
/*
* Copyright 2000-2009 JetBrains s.r.o.
*
* 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 agre... |
package android.support.p000v4.app;
import android.os.Bundle;
import android.os.Parcelable;
import android.support.annotation.NonNull;
import android.support.p000v4.app.Fragment;
import android.support.p000v4.view.PagerAdapter;
import android.util.Log;
import android.view.View;
import android.view.ViewGroup;
import ja... |
package zdream.nsfplayer.core;
import java.util.Arrays;
/**
* <p>抽象的音源的渲染器, 用于输出以 byte / short 数组组织的 PCM 音频数据
* <p>在 {@link AbstractNsfRenderer} 基础上作进一步的抽象
* </p>
*
* @author Zdream
* @since v0.3.1
*/
public abstract class AbstractRenderer<T> {
/* **********
* 准备部分 *
********** */
/**
* <p>让该渲染器读取... |
package b.h.a.m.v;
import androidx.annotation.NonNull;
import b.h.a.m.a;
import b.h.a.m.m;
import b.h.a.m.u.d;
import b.h.a.m.v.g;
import b.h.a.m.w.n;
import java.io.File;
import java.util.List;
public class d implements g, d.a<Object> {
/* renamed from: h reason: collision with root package name */
public ... |
package org.apereo.cas;
import org.apereo.cas.authentication.HttpBasedServiceCredentialTests;
import org.apereo.cas.authentication.handler.support.HttpBasedServiceCredentialsAuthenticationHandlerTests;
import org.apereo.cas.authentication.principal.ResponseTests;
import org.apereo.cas.authentication.principal.Shibbole... |
/*
* 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 ... |
/*
* 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 ... |
/**
* Copyright 2010-2016 the original author or authors.
*
* 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 ... |
/*
* RV-Logger
* version: 1.0.0
* modified: Feb 17, 2015
*/
package com.risevision.dap;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.logging.Logger;
import com.google.appengine.api.modules.ModulesServiceFactory;
import com.google.appengine.api.taskqueue.Queue;
import com.google.appe... |
package com.prowidesoftware.swift.model.mx.dic;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotat... |
/*
* Copyright 2015-2016 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 app... |
/**
* Copyright (c) 2016, 2021, Oracle and/or its affiliates. All rights reserved.
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose eith... |
package net.wisedragoon.bonk.procedures;
import net.minecraftforge.eventbus.api.SubscribeEvent;
import net.minecraftforge.event.TickEvent;
import net.minecraftforge.common.MinecraftForge;
import net.minecraft.world.level.block.state.BlockState;
import net.minecraft.world.level.block.Blocks;
import net.minecraft.world... |
/**
* Copyright (c) 2016-present, RxJava Contributors.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicabl... |
package com.zzd.gulimall.product.entity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
/**
* 商品评价回复关系
*
* @author zzd
* @email zhongzuda@qq.com
* @date 2020-06-07 19:02:50
*/
@Da... |
package wondang.icehs.kr.whdghks913.wondanghighschool.widget;
import android.app.PendingIntent;
import android.appwidget.AppWidgetManager;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.widget.RemoteViews;
import java.util.Calendar;
import wondang.... |
/*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... |
package fr.myguild.server.exception;
public abstract class FunctionalException extends RuntimeException{
public FunctionalException(final String message){
super(message);
}
public FunctionalException(final Exception exception){
super(exception);
}
public FunctionalException(){
... |
package co.yixiang.modules.activity.rest;
import cn.hutool.core.util.StrUtil;
import co.yixiang.aop.log.Log;
import co.yixiang.exception.BadRequestException;
import co.yixiang.modules.activity.domain.YxStorePink;
import co.yixiang.modules.activity.service.YxStorePinkService;
import co.yixiang.modules.activity.service.... |
package com.itjing.webchat.idworker;
public interface RandomCodeStrategy {
void init();
int prefix();
int next();
void release();
} |
package net.mizucoffee.hatsuyuki_chinachu.tools;
import net.mizucoffee.hatsuyuki_chinachu.model.ProgramItem;
import java.util.Comparator;
public class CategoryComparator implements Comparator<ProgramItem> {
@Override
public int compare(ProgramItem r1, ProgramItem r2) {
return getId(r1.getCategory()) ... |
/*******************************************************************************
* Copyright 2020 Stefan Holm
*
* 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.apach... |
package com.github.binarywang.profitsharing.bean.request;
import com.thoughtworks.xstream.annotations.XStreamAlias;
/**
* <pre>
* 支付请求默认对象类
* Created by BinaryWang on 2017/6/18.
* </pre>
*
* @author <a href="https://github.com/binarywang">Binary Wang</a>
*/
@XStreamAlias("xml")
public class WxProfitSharingDe... |
/*
* Copyright (c) 2019, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.... |
package com.googlecode.jsonrpc4j;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertSame;
import java.lang.reflect.Method;
import java.util.Map;
import java.util.Set;
import org.junit.Test;
public class ReflectionUtilTest {
@Test
public void noParams() throws Exception {
ass... |
package com.mobius.software.mqttsn.parser.tests;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;
import io.netty.buffer.ByteBuf;
import io.netty.buffer.ByteBufUtil;
import io.netty.buffer.Unpooled;
import org.junit.BeforeClass;
import org.ju... |
/*
* Copyright 2019 KS-plus e.V.
*
* 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... |
package org.jesperancinha.std.mastery1.french.music.api;
public interface LabelService {
} |
/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
package co... |
/**
* Classes providing readable and writable in-memory queues for jobs and results.
*/
package de.felixbrandt.ceva.queue; |
package apps.kool.tms.api.reqres;
import lombok.Builder;
import lombok.Data;
@Data
@Builder
public class WorkFlowResponse {
private String goToRoute;
} |
// 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... |
/*
* 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 keyline.command;
/**
*
* @author KMY
*/
public class CharacterModelViewCommand {
} |
/*
* OpenAPI Petstore
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
*
* The version of the OpenAPI document: 1.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-gener... |
/*
* Copyright 2013 MovingBlocks
*
* 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... |
package elemental2.dom;
import jsinterop.annotations.JsFunction;
@JsFunction
public interface MediaQueryListListener {
void onInvoke(MediaQueryList p0);
} |
package dna;
import java.util.Arrays;
public class MotifProbsN extends Motif {
public static void main(String args[]){
String s1="ATN";
String s2="CTATGCCCATCTGATGGCATGAGGATGAA";
// if(args.length>0){s1=args[0];}
// if(args.length>1){s2=args[1];}
MotifProbsN m=makeMotif("Exon Stops MP3", 10, 3, 3)... |
package com.alissonpedrina.entity;
import java.util.List;
import org.bson.types.ObjectId;
import org.springframework.data.annotation.Id;
import org.springframework.data.annotation.Transient;
import org.springframework.data.mongodb.core.mapping.Document;
import com.alissonpedrina.web.dto.Building;
@Document("buildin... |
/*
* #%L
* omakase
* %%
* Copyright (C) 2015 Project Omakase 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
*
* Unles... |
package top.hubby.http.robbinretry.feign;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;
/**
* @author asd <br>
* @create 2021-... |
package com.ms.projectlecturer.model;
import com.google.firebase.database.IgnoreExtraProperties;
import com.ms.projectlecturer.R;
import android.content.Context;
import android.content.res.Resources;
import java.util.HashMap;
import java.util.Map;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoA... |
/*
* 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 ... |
/*
* Copyright 2017 The Mifos Initiative.
*
* 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... |
package cybersoft.javabackend.girajava14vietan.user.repository;
import java.util.Optional;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;
import cybersoft.javabackend.girajava14vietan.security.dto.L... |
package com.kgc.mapper;
import com.kgc.pojo.Meetngroom;
import com.kgc.pojo.MeetngroomExample;
import org.apache.ibatis.annotations.Param;
import java.util.List;
public interface MeetngroomMapper {
int countByExample(MeetngroomExample example);
int deleteByExample(MeetngroomExample example);
int delete... |
package com.sciome.bmdexpress2.shared.eventbus.analysis;
import com.sciome.bmdexpress2.mvp.model.DoseResponseExperiment;
import com.sciome.bmdexpress2.shared.eventbus.BMDExpressEventBase;
public class ExpressionDataSelectedForProcessingEvent extends BMDExpressEventBase<DoseResponseExperiment>
{
public ExpressionDat... |
/*
* Copyright 1999-2101 Alibaba Group.
*
* 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... |
package site.wanjiahao.gulimall.member.entity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
/**
* 积分变化历史记录
*
* @author haodada
* @email 1725136424@qq.com
* @date 2020-10-01 15:58... |
package com.kentaurus.jsqlquery.view;
import java.awt.BorderLayout;
import java.awt.Font;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.JTextArea;
public class QueryPanel extends JPanel {
private static final long serialVersionUID = 1L;
private JTextArea txtQuery;
public QueryPan... |
/*
* 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 ... |
/*
* Copyright (c) 2021. Yash Kasera
*
* 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... |
package io.deephaven.grpc_api.runner;
import io.deephaven.db.tables.live.LiveTableMonitor;
import io.deephaven.db.util.AbstractScriptSession;
import io.deephaven.db.v2.utils.MemoryTableLoggers;
import io.deephaven.grpc_api.appmode.ApplicationInjector;
import io.deephaven.grpc_api.appmode.ApplicationServiceGrpcImpl;
im... |
package com.cjean.exercise.exercise01.algorithm.countsoft;
import java.util.Arrays;
/**
*排序数据 :缺点 占空间,计数数组大小未知
* 优点:一定程度上比 归并算法,冒泡算法要快
*/
public class CountSoft01 {
private static void soft(int[] arr) {
//获取排序数组最大值 最小值
int min = arr[0];
int max = arr[0];
int arrLen = arr.length... |
/*
* Copyright 2012-2019 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... |
/*
* Copyright (C) 2004 - 2014 Brian McCallister
*
* 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 ... |
/**
* Copyright 2013 Canada Health Infoway, 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 applicab... |
/*
* Licensed to the University Corporation for Advanced Internet Development,
* Inc. (UCAID) under one or more contributor license agreements. See the
* NOTICE file distributed with this work for additional information regarding
* copyright ownership. The UCAID licenses this file to You under the Apache
* Lic... |
/*
Copyright 2007 Olaf Delgado-Friedrichs
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 agre... |
/*
* 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 ... |
/*
* Copyright (c) 2018, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org... |
package com.astoev.cave.survey.util;
/**
* @author jivko
*
*/
public class LocationUtil {
private static final String DEGREE = "\u00B0";
/** Template for formatting latitude and longitude */
private static final String LAT_LON_TEMPLATE = "%f" + DEGREE + "%s";
private static final String N = "N";
... |
package com.wordsaretoys.quencher.voices;
import android.app.Activity;
import android.content.Context;
import android.content.SharedPreferences;
import android.os.Bundle;
import com.wordsaretoys.quencher.common.Catalogable.OnDataChangedListener;
import com.wordsaretoys.quencher.common.Notifier;
import com.wordsaretoy... |
package org.kyojo.schemaorg.m3n5.core.impl;
import java.util.ArrayList;
import java.util.List;
import org.kyojo.schemaorg.SimpleJsonBuilder;
import org.kyojo.schemaorg.m3n5.bib.Container.PublisherImprint;
import org.kyojo.schemaorg.m3n5.bib.Container.TranslationOfWork;
import org.kyojo.schemaorg.m3n5.bib.Container.Wo... |
package com.vce.loadbuild.jenkins.plugins.rally;
import java.io.IOException;
import java.net.URI;
import java.net.URISyntaxException;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
import com.google.gson.JsonArray;
import com.google.gson.JsonElement;
import c... |
/* Copyright Airship and Contributors */
package com.urbanairship.util;
import android.content.Context;
import android.content.res.XmlResourceParser;
import androidx.annotation.NonNull;
import androidx.annotation.RestrictTo;
import android.util.AttributeSet;
import android.util.Xml;
import org.xmlpull.v1.XmlPullPars... |
package com.btech.model;
import com.fasterxml.jackson.annotation.JsonIgnore;
import javax.persistence.*;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
@Entity
@Table(name="user")
public class User {
@Id
@GeneratedValue
@Column(name="id")
private Long id;
@Column(name="us... |
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License;
* you may not use this file except in compliance with the Elastic License.
*/
package org.elasticsearch.xpack.core.ml.job.config;
import org.elasticsearch.... |
/*
* Copyright © 2013-2018 camunda services GmbH and various authors (info@camunda.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... |
package uk.co.jpawlak.maptoobjectconverter.exceptions;
/**
* Thrown when registered converter:
* <ul>
* <li>returns null for non-Optional field</li>
* <li>or throws exception</li>
* <li>or it returned value of type which is not assignable to field</li>
* </ul>
*/
public class RegisteredConverterExce... |
package de.androbit.nibbler.test;
import de.androbit.nibbler.RestServiceBuilder;
public class TestServices {
public static RestServiceBuilder pingService = new RestServiceBuilder() {
@Override
public void define() {
path("/ping")
.get((request, response) -> response.body("pong"))
.pos... |
/*
* Copyright © 2020 Richard de Jong
*
* 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 applic... |
/*
* tuProlog - Copyright (C) 2001-2006 aliCE team at deis.unibo.it
*
* 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 l... |
package io.quarkus.arc;
import java.lang.annotation.Annotation;
import java.lang.reflect.Constructor;
import java.lang.reflect.Method;
import java.util.HashMap;
import java.util.Map;
import java.util.Set;
import java.util.function.Function;
import javax.interceptor.InvocationContext;
public abstract class AbstractInv... |
package org.egov.repository;
import lombok.extern.slf4j.Slf4j;
import org.egov.repository.queryBuilder.DepartmentHierarchyLevelQueryBuilder;
import org.egov.web.models.DepartmentHierarchyLevel;
import org.egov.web.models.DepartmentHierarchyLevelSearchCriteria;
import org.springframework.beans.factory.annotation.Autow... |
package app.domain.dtos.photographers;
import java.util.Set;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import app.domain.entities.Lens;
public class LandscapePhotographerExportJsonDto {
@Expose
@SerializedName(value = "FirstName")
private String firstName;
... |
// Copyright 2018 The Bazel Authors. 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 by appl... |
/*
*
* Copyright 2017-2019 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 req... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.