text stringlengths 7 995k |
|---|
/*
* MIT License
*
* Copyright (c) 2017-2018 nuls.io
*
* 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
* to use, copy, mod... |
package uk.gov.dvsa.motr.elements;
import org.openqa.selenium.By;
import org.openqa.selenium.SearchContext;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.pagefactory.Annotations;
import org.openqa.selenium.support.pagefactory.ElementLocator;
import java.lang.reflect.Field;
import java.util... |
package com.didi.drouter.utils;
import android.net.Uri;
import android.os.Bundle;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.annotation.RestrictTo;
import androidx.collection.ArrayMap;
import java.util.Collections;
import java.util.Map;
/**
* Created by gaowei on 2018... |
/*
* 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 org.apereo.cas.oidc.jwks.rotation;
import lombok.Getter;
import lombok.RequiredArgsConstructor;
import lombok.val;
import org.jose4j.jwk.JsonWebKey;
import org.jose4j.jwk.JsonWebKeySet;
import java.util.Arrays;
/**
* This is {@link OidcJsonWebKeystoreRotationService}.
*
* @author Misagh Moayyed
* @since ... |
/*
* 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 n... |
package com.github.brainlag.nsq.exceptions;
public class DisconnectedException extends NSQException {
public DisconnectedException(String message, Throwable cause) {
super(message, cause);
}
} |
package io.jeffrey.vector;
/** a register bank that contains 6 vectors along with all possible operations */
public class VectorRegister6 extends VectorRegister5 {
public double x_5;
public double y_5;
public VectorRegister6() {
x_5 = 0.0;
y_5 = 0.0;
}
/** add the 5 and 0 together and store the res... |
package io.swagger.codegen.languages;
import io.swagger.codegen.*;
import io.swagger.codegen.languages.features.BeanValidationFeatures;
import io.swagger.models.Operation;
import io.swagger.models.Path;
import io.swagger.models.Swagger;
import java.io.File;
import java.util.*;
public class SpringCodegen extends Abst... |
import java.io.EOFException;
import java.io.IOException;
import net.runelite.mapping.Export;
import net.runelite.mapping.Implements;
import net.runelite.mapping.ObfuscatedGetter;
import net.runelite.mapping.ObfuscatedName;
import net.runelite.mapping.ObfuscatedSignature;
@ObfuscatedName("ms")
@Implements("ArchiveDisk"... |
/*
* Copyright 2015 Red Hat, Inc. and/or its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, soft... |
/*
* 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 2018 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 writi... |
/*
* 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 ... |
package info.puzz.graphanything.models2;
import lombok.Data;
/**
* @see Graph#statsPeriod
*/
@Data
public class GraphStats {
private Double avgEntriesDaily;
private Double avg;
private Double avgLatestPeriod;
private Double avgPreviousPeriod;
private Double sum;
private Double sumLatestPerio... |
/*
* Copyright 2018 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 ... |
package tlschannel;
import java.io.IOException;
import java.nio.channels.ByteChannel;
/**
* Base class for exceptions used to control flow.
* <p>
* Because exceptions of this class are not used to signal errors, they don't
* contain stack traces, to improve efficiency.
* <p>
* This class inherits from {@link IO... |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
// 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: 2012.0... |
package controller;
import common.exception.InvalidDeliveryInfoException;
import entity.cart.Cart;
import entity.cart.CartItem;
import entity.invoice.Invoice;
import entity.order.Order;
import entity.order.OrderItem;
import entity.shipping.DeliveryInfo;
import entity.shipping.LastestDistanceCalculate;
import entity.sh... |
/*
* Copyright 2006-2021 Prowide
*
* 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 com.validation.demo.controller;
import org.springframework.web.bind.annotation.ControllerAdvice;
@ControllerAdvice
public class GlobController {
// @ExceptionHandler(value = Exception.class)
// public void test(Exception e){
// e.printStackTrace();
// }
} |
package io.github.nnkwrik.userservice.service.impl;
import io.github.nnkwrik.common.dto.SimpleUser;
import io.github.nnkwrik.userservice.dao.UserMapper;
import io.github.nnkwrik.userservice.model.User;
import io.github.nnkwrik.userservice.service.UserService;
import org.springframework.beans.BeanUtils;
import org.spri... |
package com.github.mmolimar.kafka.connect.fs.policy;
import com.github.mmolimar.kafka.connect.fs.FsSourceTaskConfig;
import com.github.mmolimar.kafka.connect.fs.file.FileMetadata;
import com.github.mmolimar.kafka.connect.fs.file.reader.TextFileReader;
import com.github.mmolimar.kafka.connect.fs.util.ReflectionUtils;
... |
package unipi.di.socc.ramp.cli.parser;
import java.io.IOException;
import java.io.Reader;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import c... |
package jetbrains.mps.lang.structure.behavior;
/*Generated by MPS */
import jetbrains.mps.core.aspects.behaviour.BaseBHDescriptor;
import org.jetbrains.mps.openapi.language.SAbstractConcept;
import jetbrains.mps.smodel.adapter.structure.MetaAdapterFactory;
import jetbrains.mps.core.aspects.behaviour.api.SMethod;
impo... |
package com.assistne.example;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.util.Log;
import com.assistne.imagepickerandsaver.ImageFolder;
import com.assistne.imagepickerandsaver.ImageItem;
import com.assistne.imagepickerandsaver.ImagePicker;
import com.assistne.imagepicker... |
/*
* Copyright 2016-2021 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... |
/*
* Copyright 2002-2016 The Jamocha Team
*
*
* 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.jamocha.org/
*
* Unless required by applicable law or agreed to in writing, s... |
package com.zl.sell.converter;
import com.google.gson.Gson;
import com.google.gson.reflect.TypeToken;
import com.zl.sell.dataobject.OrderDetail;
import com.zl.sell.dto.OrderDTO;
import com.zl.sell.enums.ResultEnum;
import com.zl.sell.exception.SellException;
import com.zl.sell.form.OrderForm;
import lombok.extern.slf4... |
/*
* Copyright 2011 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... |
/*
* Copyright (c) 2013-2018, Bingo.Chen (finesoft@gmail.com).
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appl... |
/*
* Copyright 2019 LINE Corporation
*
* LINE Corporation 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:
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless r... |
/*
* Copyright (c) 1997, 2018 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Distribution License v. 1.0, which is available at
* http://www.eclipse.org/org/documents/edl-v10.php.
*
* SPDX-License-Identifier: ... |
package com.wblog.info.service;
import com.wblog.common.module.info.vo.ArticleLabelVo;
import com.wblog.common.module.info.vo.ArticleVo;
import io.github.fallingsoulm.easy.archetype.framework.page.PageInfo;
import io.github.fallingsoulm.easy.archetype.framework.page.PageRequestParams;
import java.util.List;
/**
* ... |
/*
Copyright 2006 by Sean Luke
Licensed under the Academic Free License version 3.0
See the file "LICENSE" for more information
*/
package ec.gp;
import ec.Clique;
import ec.EvolutionState;
import ec.util.Parameter;
/* GPNodeConstraints.java
*
* Created: Fri Aug 27 17:40:40 1999
* By: Sean Luke
*
*/
/**... |
/*
* Copyright (c) 2017 m2049r et al.
*
* 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... |
/*
* Copyright 2016-2019 MESRI
* Apache License 2.0
*/
package fr.gouv.recherche.scanr.db.repository.impl;
import fr.gouv.recherche.scanr.companies.util.MongoTemplateExtended;
import fr.gouv.recherche.scanr.db.model.Person;
import fr.gouv.recherche.scanr.db.repository.PersonRepositoryCustom;
import org.springframe... |
/*
* 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 (C) 2020 Testsigma Technologies Inc.
* All rights reserved.
* ****************************************************************************
*/
package com.testsigma.controller;
import com.testsigma.config.StorageServ... |
package coursework;
import java.util.Scanner;
import java.util.Calendar;
/**
* @author Lolipop
* @lastUpdate 2019/10/25
*/
public class MyDate {
public static void main (String[] args) {
Date date = new Date();
date.initDate();
Scanner scan = new Scanner(System.in);
int choice,... |
package com.otaliastudios.cameraview;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.PointF;
import android.support.test.filters.MediumTest;
import android.support.test.runner.AndroidJUnit4;
import android.view.ViewGroup;
import org.juni... |
/*
* 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 (c) Gustavo Claramunt (AnderWeb) 2014.
*
* 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... |
/*
* This file is part of LuckPerms, licensed under the MIT License.
*
* Copyright (c) lucko (Luck) <luck@lucko.me>
* Copyright (c) contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* ... |
package roguelike;
import roguelike.ui.UI;
import roguelike.util.ServerConnection;
/**
* Main client class
*/
public class Client {
public static void main(String[] args) throws Exception {
String username = (args.length == 0) ? "anonymous" : args[0];
UI.init(new ServerConnection(username));
... |
package ru.job4j.monitore;
import org.junit.Test;
import static org.junit.Assert.*;
import static org.hamcrest.core.Is.is;
public class CountTest {
private class ThreadCount extends Thread {
private final Count count;
private ThreadCount(final Count count) {
this.count = count;
... |
/**
* Copyright 2019 ForgeRock AS.
*
* 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, ... |
package org.motechproject.openmrs.resource;
import org.motechproject.openmrs.config.Config;
import org.motechproject.openmrs.domain.Form;
/**
* Interface for forms management.
*/
public interface FormResource {
/**
* Gets the form by its UUID. The given {@code config} will be used while performing this a... |
package com.rubbish.community.rubbish_community.bean.vo.req;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
* @author Leo Wang
* @version 1.0
* @date 2019/7/30 20:03
*/
@Data
@ApiModel(value = "UserAndPassword",description = "用户名和密码")
public class U... |
package kbasesearchengine.test.system;
import static org.hamcrest.CoreMatchers.is;
import static org.junit.Assert.assertThat;
import static org.junit.Assert.fail;
import static org.mockito.Mockito.any;
import static org.mockito.Mockito.argThat;
import static org.mockito.Mockito.doReturn;
import static org.mockito.Mock... |
/**
* Copyright (c) 2016-2017 Evolveum
*
* 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 agr... |
package com.example.application.backend.security;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder;
import org.springframework.security.config.anno... |
/*
*
* Copyright 2015 GWT OpenLayers Team.
*
* 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... |
/*
* 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 ... |
package com.example.android.bookstore;
import android.app.AlertDialog;
import android.app.LoaderManager;
import android.content.ContentUris;
import android.content.ContentValues;
import android.content.CursorLoader;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.Loader;
i... |
/*
* 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 ... |
/**
* Contains the the service interfaces and implementations which are used as the bridge between the controllers and the
* repositories. These implementations are REST-Interface agnostic and also do not depend on a specific Triple Store
* used as the database backend. They can therefore be generically implemented ... |
package rouchuan.viewpagerlayoutmanager.circlescale;
import android.annotation.SuppressLint;
import android.content.Context;
import android.support.v7.widget.RecyclerView;
import android.support.v7.widget.SwitchCompat;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.CompoundButton;
... |
/*
* Copyright (c) [2021] Huawei Technologies Co.,Ltd.All rights reserved.
*
* OpenArkCompiler is licensed under Mulan PSL v2.
* You can use this software according to the terms and conditions of the Mulan PSL v2.
*
* http://license.coscl.org.cn/MulanPSL2
*
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, W... |
/*
* Jitsi, the OpenSource Java VoIP and Instant Messaging client.
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
*/
package org.jitsi.impl.neomedia;
import org.jitsi.impl.neomedia.device.AbstractMediaDevice;
import org.jitsi.impl.neomedia.device.MediaDeviceSession;
import org.jitsi.impl... |
package com.jdawg3636.icbm.common.thread;
import com.jdawg3636.icbm.common.reg.BlockReg;
import net.minecraft.util.math.BlockPos;
import net.minecraft.world.World;
public class NuclearBlastManagerThread extends RaytracedBlastManagerThread {
@Override
public String getRegistryName() {
return "icbm:nuc... |
/*
* Copyright 2016 Tino Siegmund, Michael Wodniok
*
* 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... |
// MoonAPIDataWXURLBlock.java
package com.moonapi.demo;
import com.fasterxml.jackson.annotation.*;
@JsonIgnoreProperties(ignoreUnknown = true)
public class MoonAPIDataWXURLBlock {
private String status;
private String data;
private long time;
private String code;
private String message;
@Js... |
/*
* Copyright 2015-2020 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... |
package com.cezarykluczynski.stapi.model.organization.dto;
import com.cezarykluczynski.stapi.model.common.dto.RequestSortDTO;
import lombok.Data;
import lombok.EqualsAndHashCode;
@Data
@EqualsAndHashCode
public class OrganizationRequestDTO {
private String uid;
private String name;
private Boolean government;
... |
/*
This file is part of the OdinMS Maple Story Server
Copyright (C) 2008 ~ 2010 Patrick Huy <patrick.huy@frz.cc>
Matthias Butz <matze@odinms.de>
Jan Christian Meyer <vimes@odinms.de>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License versio... |
/*
* 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 ... |
package wang.ismy.push.connector.entity;
import lombok.Data;
/**
* @author MY
* @date 2020/10/5 20:13
*/
@Data
public class ResourceInfo {
private String os;
private Long totalMemory;
private Long memoryAvailable;
} |
/**
* Copyright (C) 2011 the original author or authors.
* See the notice.md file distributed with this work for additional
* information regarding copyright ownership.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may... |
package br.com.semanalixozero.app.aboutevent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.View;
import br.com.semanalixozero.app.R;
import br.com.semanalixozero.app.base.BaseFragment;
/**
* @author Filipe Bezerra
*/
public class AboutEventFragment extends BaseFragment ... |
/*
* Copyright (C) 2015-present, Ant Financial Services 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 a... |
package com.howietian.chenyan.utils;
import android.app.Activity;
import android.app.Application;
import android.content.Context;
import android.content.res.Resources;
import android.os.Bundle;
import android.util.Log;
/**
* Created by 83624 on 2017/cup_7/19.
*/
public class AppContext {
private static final ... |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.weinyc.sa.app.dao;
import com.weinyc.sa.app.model.ClientAddress;
import com.weinyc.sa.core.dao.AbstractModelDAO;
/**
*
... |
package com.deepoove.cargo.application.command.cmd;
public class CargoBookCommand {
private String senderPhone;
private String description;
private String originLocationCode;
private String destinationLocationCode;
public String getSenderPhone() {
return senderPhone;
}
public voi... |
package UnitTest.AlgorithmTest.combineTest.backpackTest;
import Algorithm.comprehensive.backpack.Backpack;
import Algorithm.comprehensive.backpack.Backpack_Dynamic;
import org.junit.Test;
/**
* @author liujun
* @version 1.0
* @date 2018-9-21 下午08:18:31
* @author—Email liujunfirst@outlook.com
* @description 背包问题的... |
/*
*
*/
package org.exparity.data.types.writers;
import java.io.IOException;
import java.io.OutputStream;
import java.io.PrintStream;
import org.exparity.data.types.Row;
import org.exparity.data.types.Table;
import org.exparity.data.types.Table.TableWriter;
/**
* Writes the contents of {@link org.exparity.data.t... |
/*
* Copyright 2016 rdbc 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 applicable law or agre... |
/*
* Copyright 2019 Haulmont.
*
* 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... |
package com.ares.utils.chat.modifiers;
public class Reverse extends ChatModifier
{
@Override
public String getName() {
/*SL:8*/return "Reverse";
}
@Override
public String mutate(final String a1) {
/*SL:14*/return new StringBuilder(a1).reverse().toString();
}
} |
package org.jrimum.bopepo;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;
import java.util.ArrayList;
import org.junit.BeforeClass;
import org.junit.Test;
/**
* @author <a href="http://gilmatryx.googlepages.com/">Gilmar P.S.L.</a>
*/
pu... |
package com.github.zhenwei.pkix.util.asn1.cms;
import com.github.zhenwei.core.asn1.ASN1Encodable;
import com.github.zhenwei.core.asn1.ASN1Integer;
import com.github.zhenwei.core.asn1.ASN1OctetString;
import com.github.zhenwei.core.asn1.ASN1SequenceParser;
import com.github.zhenwei.core.asn1.ASN1SetParser;
import com.g... |
package net.lemonsoft.lemonbubble.samples;
import android.content.Context;
import android.view.View;
/**
* Created by LiuRi on 2016/12/27.
*/
public class RoundFunctionButton extends View {
public RoundFunctionButton(Context context) {
super(context);
}
} |
/* This file is part of VoltDB.
* Copyright (C) 2008-2020 VoltDB Inc.
*
* 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 to... |
package java_8_in_action.functionalprograming;
import java.util.function.Predicate;
import java.util.function.Supplier;
public class CustomLazyList {
public static void main(String[] args) {
/** 기본적인 연결 리스트 */
MyList<Integer> l = new MyLinkedList<>(5, new MyLinkedList<>(10, new Empty<>()));
System.out.println(... |
/*
Modified by Yan Huang <yhuang@virginia.edu>
* 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... |
package com.bindschaedel.controller.util;
import org.springframework.http.HttpStatus;
import org.springframework.transaction.TransactionSystemException;
import org.springframework.web.bind.annotation.ExceptionHandler;
import org.springframework.web.bind.annotation.ResponseStatus;
import org.springframework.web.bind.an... |
package jp.ac.osaka_u.ist.sdl.c20r.ui.controller;
public enum PanelDirection {
LEFT_UP, LEFT_DOWN, RIGHT_UP, RIGHT_DOWN;
} |
package com.codingpixel.healingbudz.DataModel;
import com.thoughtbot.expandablerecyclerview.models.ExpandableGroup;
import java.util.ArrayList;
public class ReviewsDataModel extends ExpandableGroup<BudzMapReviews> {
public ReviewsDataModel(String title, ArrayList<BudzMapReviews> items) {
super(title, ite... |
package socialite.tables;
import socialite.util.HashCode;
import java.io.Externalizable;
import java.io.ObjectInput;
import java.io.ObjectOutput;
import java.io.IOException;
import socialite.util.SociaLiteException;
public class Tuple_long_int_int extends Tuple implements Externalizable {
private static final long se... |
package com.sequenceiq.cloudbreak.auth.altus;
import static com.google.common.base.Preconditions.checkNotNull;
import org.springframework.util.StringUtils;
import com.cloudera.thunderhead.service.authorization.AuthorizationGrpc;
import com.cloudera.thunderhead.service.authorization.AuthorizationProto;
import io.grp... |
/*
* Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* U... |
package org.sj.verb.trilateral;
public interface TrilateralRoot {
public char getC1();
public char getC2();
public char getC3();
} |
/*
* ***** BEGIN LICENSE BLOCK *****
* Zimbra Collaboration Suite Server
* Copyright (C) 2012, 2013, 2014, 2016 Synacor, Inc.
*
* This program is free software: you can redistribute it and/or modify it under
* the terms of the GNU General Public License as published by the Free Software Foundation,
* version 2 o... |
/*
* 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 ... |
package com.metao.springboot.redis.controller;
import com.metao.springboot.redis.model.User;
import com.metao.springboot.redis.model.exception.UserNotExist;
import com.metao.springboot.redis.repository.UserRepository;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annot... |
package org.hisp.dhis.expression.dataitem;
/*
* Copyright (c) 2004-2020, University of Oslo
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the ... |
package cn.chain33.javasdk.model.rpcresult;
import java.io.Serializable;
public class NetResult implements Serializable{
private static final long serialVersionUID = 1L;
/**
* 表示自身的外网地址信息
*/
private String externaladdr;
/**
* 表示节点监听的本地地址信息,例如:192.168.1.108:13802
*/
private String localaddr;
/**
... |
/*
* Copyright 2012 ios-driver committers.
*
* 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 agr... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.