text
stringlengths
7
995k
package org.synyx.urlaubsverwaltung.statistics.web; import liquibase.util.csv.CSVWriter; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.Mock; import org.mockito.junit.MockitoJUnitRunner; import org.springframework.test.web.servlet.ResultActions; import org.springfra...
/* * Copyright (C) 2010 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
/* * GIPO COPYRIGHT NOTICE, LICENSE AND DISCLAIMER. * * Copyright 2001 - 2003 by R.M.Simpson W.Zhao T.L.McCLuskey D Liu D. Kitchin * * Permission to use, copy, modify, and distribute this software and its * documentation for any purpose and without fee is hereby granted, * provided that the above copyright notic...
package io.typefox.yang.diagram; import com.google.inject.Inject; import io.typefox.sprotty.api.HtmlRoot; import io.typefox.sprotty.api.IDiagramServer; import io.typefox.sprotty.api.IPopupModelFactory; import io.typefox.sprotty.api.PreRenderedElement; import io.typefox.sprotty.api.RequestPopupModelAction; import io.ty...
package com.imooc.mall.service.impl; import com.github.pagehelper.PageHelper; import com.github.pagehelper.PageInfo; import com.imooc.mall.dao.ShippingMapper; import com.imooc.mall.enums.ResponseEnum; import com.imooc.mall.form.ShippingForm; import com.imooc.mall.pojo.Shipping; import com.imooc.mall.service.IShippingS...
package com.github.terefang.template_maven_plugin.jinjava; import com.github.terefang.template_maven_plugin.AbstractStandardMojo; import org.apache.maven.plugins.annotations.LifecyclePhase; import org.apache.maven.plugins.annotations.Mojo; @Mojo(name = "jinjava-standard", defaultPhase = LifecyclePhase.GENERATE_RESOU...
package com.example.jiyanxin.loginui.others; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.content.SharedPreferences; import android.os.Bundle; import android.os.Handler; import android.os.Message; import and...
package org.sakaiproject.gradebookng.tool.model; import java.util.LinkedHashMap; import java.util.Map; import org.apache.commons.lang3.builder.ToStringBuilder; import lombok.Getter; import lombok.Setter; /** * Class that wraps up the summary of grades for an assignment or course grade. Provides the dataset, config...
/** * Copyright [2012-2014] eBay Software Foundation * * 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...
/* * Copyright (C) 2016 yydcdut (yuyidong2015@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 ap...
/* * 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 * dis...
/* * This source file is part of Cube. * * The MIT License (MIT) * * Copyright (c) 2020-2021 Shixin Cube Team. * * 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, ...
/* * 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 com.example.p2pinvest.util.pay; public final class Base64 { private static final int BASELENGTH = 128; private static final int LOOKUPLENGTH = 64; private static final int TWENTYFOURBITGROUP = 24; private static final int EIGHTBIT = 8; private static final int SIXTEENBIT = 16; private static final int F...
package com.alfianyusufabdullah.alquranq.ui.ListSurah; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; import com.alfianyusufabdullah.alquranq.R; import com.alfianyusufabdullah.alquranq.model.Su...
package dataflux.datagenerator; import dataflux.common.type.WebTxnData; import dataflux.datagenerator.types.ShoppingItem; import dataflux.datagenerator.types.TxnType; import dataflux.datagenerator.types.WebTxn; import dataflux.datagenerator.types.WebTxnFlow; import dataflux.datagenerator.util.DataSetLoader; import dat...
public class Solution { public boolean hasCycle(ListNode head) { ListNode slow = head; ListNode fast = head; while (fast != null && fast.next != null) { slow = slow.next; fast = fast.next.next; if (slow == fast) return true; } return false; } }
package cn.zzrfdsn.cloudlandshop.search.service.impl; import cn.zzrfdsn.cloudlandShop.util.CloudlandShopResult; import cn.zzrfdsn.cloudlandShop.vo.ItemSearchData; import cn.zzrfdsn.cloudlandShop.vo.ItemSearchResult; import cn.zzrfdsn.cloudlandshop.search.mapper.ItemMapper; import cn.zzrfdsn.cloudlandshop.search.servic...
/* * Copyright 2011-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 "licen...
package de.johannes_rabauer.micromigration.examples.reflective; import java.util.Date; import de.johannes_rabauer.micromigration.MigrationEmbeddedStorage; import de.johannes_rabauer.micromigration.MigrationEmbeddedStorageManager; import de.johannes_rabauer.micromigration.migrater.ReflectiveMigrater; import de.johanne...
/* * RADOS Java - Java bindings for librados * * Copyright (C) 2014 1&1 - Behar Veliqi <behar.veliqi@1und1.de> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apac...
/** * * 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 fr.ippon.tatami.config; import fr.ippon.tatami.web.syndic.SyndicView; import org.apache.commons.lang.CharEncoding; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.springframework.context.MessageSource; import org.springframework.context.annotation.Bean; import or...
package org.swb.processor; import java.io.File; import java.util.Map; import java.util.Properties; import org.apache.commons.io.FileUtils; import org.swb.Processor; public class DeleteDir implements Processor { private File dir = null; @Override public void execute(Map context) throws Exception ...
package pgcon1.m; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.Collections; import java.util.StringTokenizer; public class Q1 { static BufferedReader br; static String line; static StringTokenizer token; public static v...
package com.aws.lambdalimits; import com.amazonaws.services.lambda.invoke.LambdaFunction; public interface GoodService { @LambdaFunction(functionName="lambdalimits-goodlambda") String testMe(String input) throws LambdaLimitsError; }
package just.niubi.json; import org.junit.Assert; import org.junit.Test; import org.junit.runner.JUnitCore; import org.junit.runner.Request; import org.junit.runner.Result; import org.junit.runner.notification.Failure; import static just.niubi.json.Json.*; public class TestParser { @Test(expected = Json.Malforme...
package arrays; import annotation.Platform; import annotation.Quality; import annotation.Site; import annotation.Stage; /** * @author g1patil * 528. Random Pick with Weight */ @Quality(Stage.TESTED) @Platform(Site.LEETCODE) public class RandomPickwithWeight { int[] presum ; int total; public RandomPic...
/* * Copyright (C) 2015 Jeremy Wildsmith. * * 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 later version. * * This l...
package com.bluelinelabs.conductor.lint; import com.android.tools.lint.client.api.JavaEvaluator; import com.android.tools.lint.client.api.UElementHandler; import com.android.tools.lint.detector.api.Category; import com.android.tools.lint.detector.api.Detector; import com.android.tools.lint.detector.api.Implementation;...
package eu.bcvsolutions.idm.core.api.domain; /** * Identity contract state * * @author Radek Tomiška * */ public enum ContractState { /** * Excluded from evidence - remains valid, but roles assigned for this contract are not added for logged identity. * Excluded contract is not valid for managers - manager...
package recipes.recipes.api.domain.model.dto; import com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBAutoGeneratedKey; import com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBHashKey; import com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBRangeKey; import com.amazonaws.services.dynamodbv2.datamodel...
/** * Copyright &copy; 2012-2016 <a href="https://github.com/tlkzzz/jeesite">JeeSite</a> All rights reserved. */ package com.tlkzzz.jeesite.common.supcan.treelist.cols; import com.tlkzzz.jeesite.common.supcan.annotation.treelist.cols.SupCol; import com.tlkzzz.jeesite.common.utils.ObjectUtils; import com.thoughtworks...
/** * 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 m...
/* * 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...
package com.kasisoft.libs.plex.impl; import static com.kasisoft.libs.plex.internal.Messages.*; import com.kasisoft.libs.plex.*; import com.kasisoft.libs.plex.api.*; import org.apache.poi.ss.usermodel.*; import javax.validation.constraints.*; import java.util.*; import lombok.experimental.*; import lombok.*; /**...
package com.message.wechat.config; import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.context.annotation.Configuration; import lombok.Data; @Data @Configuration @ConfigurationProperties(prefix = "wechat") public class WeChatProperties { /** * 企业微信 base-URL...
package org.quartz.impl.calendar; import java.text.ParseException; import java.util.ArrayList; import java.util.Date; import java.util.TimeZone; import org.quartz.Calendar; import org.quartz.CronExpression; /** * This implementation of the Calendar excludes the set of times expressed by a * given {@link org.quartz...
package constants; public final class ModelConstants { public static final Integer minPointNumber = 7; public static final Integer maxPointNumber = 11; public static final String GRID_VIEW_RECTANGLE = "Rectangle"; public static final String GRID_VIEW_BOX = "Box"; public static final String SEX_MODE_BETTERWO...
package deepdive.cnm.edu.trips.model.entity; import android.arch.persistence.room.ColumnInfo; import android.arch.persistence.room.Entity; import android.arch.persistence.room.ForeignKey; import android.arch.persistence.room.PrimaryKey; import java.util.Date; @Entity //(foreignKeys = { // @ForeignKey(entity =...
package com.ds.ce.diy.domain; import com.ds.ce.diy.domain.audit.AbstractAuditableEntity; import lombok.AccessLevel; import lombok.EqualsAndHashCode; import lombok.NoArgsConstructor; import lombok.NonNull; import lombok.RequiredArgsConstructor; import org.hibernate.search.annotations.Analyzer; import org.hibernate.sear...
/** * 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...
/* * Hibernate, Relational Persistence for Idiomatic Java * * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>. */ package org.hibernate.engine.query.spi; import java.io.Serializable; import java.u...
/* * Copyright (c) 2010-2018 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 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 ...
// Copyright 2000-2017 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 org.jetbrains.java.decompiler.main; import org.jetbrains.java.decompiler.main.collectors.BytecodeSourceMapper; import org.jetbrains.java.decompiler.main.collectors.Counte...
package io.mercury.serialization.json; import org.junit.Test; public class JsonParserTest { @Test public void test() { String json = "{\"A\":\"1\",\"B\":\"2\",\"C\":\"11\",\"D\":null,\"E\":null}"; System.out.println(JsonParser.isJsonObject(json)); System.out.println(JsonParser.toImmutableMap(json)); } }
package de.jstco.proxies.proxy; import java.lang.reflect.InvocationHandler; import java.lang.reflect.Method; import java.lang.reflect.Proxy; import java.util.Arrays; public class JdkProxy<T> implements InvocationHandler { private final T actualImpl; public JdkProxy(T actualImpl) { this.actualImpl = ...
/* * Copyright 2014 Jim. 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 applicable law...
/* * JBoss, Home of Professional Open Source * Copyright 2010, Red Hat Inc., and individual contributors as indicated * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * This is free software; you can redistribute it and/or modify it * under the term...
package ee.taltech.cs.mbt.tdl.scenario.scenario_composer.trapset.model.trapset.evaluated; import ee.taltech.cs.mbt.tdl.scenario.scenario_composer.trapset.model.trapset.evaluated.impl.AbsoluteComplementTrapsetEvaluation; import ee.taltech.cs.mbt.tdl.scenario.scenario_composer.trapset.model.trapset.evaluated.impl.Linked...
package test.example2.bus; import static se.jbee.lang.Type.raw; import se.jbee.inject.binder.LocalEnvModule; import se.jbee.inject.config.NamesBy; import se.jbee.inject.config.ProducesBy; import test.example2.Bus; public class BusEnvModule extends LocalEnvModule { @Override protected void declare() { bind(N...
package com.benny.openlauncher.core.interfaces; import java.util.List; public interface AppDeleteListener<A extends App> { /** * @param apps list of apps * @return true, if the listener should be removed */ boolean onAppDeleted(List<A> apps); }
/* * 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...
package com.join.module.util.httpInvoke.Interface; import java.util.HashMap; public interface AcceptMassage { //接收普通数据 public HashMap<String,Object> acceptMassage(HashMap<String,Object> massage); //接收普通数据 public HashMap<String,Object> acceptCommand(HashMap<String,Object> massage); }
//package com.wildbeeslabs.jentle.algorithms.vector; // //import java.io.Serializable; // //public class AxisAngle4d implements Serializable, Cloneable { // static final long serialVersionUID = 3644296204459140589L; // public double x; // public double y; // public double z; // public double angle; // ...
/* * 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...
// Copyright 2017 The Nomulus 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 a...
/* * 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 may ...
/* $Id$ * * 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"); ...
package cn.shopee.common.sms.disruptor; import cn.shopee.common.sms.config.SmsConfigProperties; import java.io.Serializable; import java.util.Map; public class SmsData implements Serializable { private String phone; private String smsTemplate; private SmsConfigProperties smsConfigProperties; private Map<String,Ob...
/* * 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.codepath.apps.restclienttemplate.models; import androidx.room.ColumnInfo; import androidx.room.Entity; import androidx.room.PrimaryKey; import org.json.JSONException; import org.json.JSONObject; import org.parceler.Parcel; import java.util.ArrayList; import java.util.List; @Parcel @Entity public class U...
/* * 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...
/** * The MIT License (MIT) * * Copyright (c) 2014-2017 Marc de Verdelhan, 2017-2019 Ta4j Organization & respective * authors (see AUTHORS) * * 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 So...
/** * 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 * <p> * http://www.apache.org/licenses/LICENSE-2.0 * <p> * Unless required by applicable law or agreed to in writing, software * dist...
package com.example.httpsender; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.view.View; import com.rxjava.rxlife.RxLife; import java.io.File; import java.util.ArrayList; import java.util.List; import io.reactivex.Observable; import io.reactivex.android.schedulers.Android...
package org.testng.collections; import java.util.Set; /** * A container to hold sets indexed by a key. */ public class SetMultiMap<K, V> extends MultiMap<K, V, Set<V>> { public SetMultiMap(boolean isSorted) { super(isSorted); } @Override protected Set<V> createValue() { return Sets.newHashSet(); ...
package com.android.tools.profiler; import java.io.File; import java.io.IOException; import java.io.PrintStream; import org.junit.Assert; import org.junit.rules.ExternalResource; /** * This class writes out a properties file that is used by perfd to determine device settings. The * file written indicates the SDK an...
/* * 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: ...
/* * 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.osgi; import lombok.extern.slf4j.Slf4j; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import java.text.MessageFormat; import java.util.Set; import java.util.stream.Collectors; import ...
package Kurama.Annotations; import java.lang.annotation.Inherited; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; @Retention(RetentionPolicy.RUNTIME) @Inherited public @interface Property_Getter { String value(); //The name of the field connected to this method boolean is...
package com.github.dumars.mybatis.generator.ext.plugin; import java.text.Format; import java.text.SimpleDateFormat; import java.util.Date; import java.util.Properties; import org.mybatis.generator.api.CommentGenerator; import org.mybatis.generator.api.IntrospectedColumn; import org.mybatis.generator.api.IntrospectedT...
/* * Copyright 2017-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 ...
package com.roncoo.education.system.service.common; import java.util.List; import java.util.concurrent.TimeUnit; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.redis.core.RedisTemplate; import org.springframework.stereotype.Component; import com.roncoo.education.util.t...
/* * Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * 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 right...
/** * Copyright © 2020 Carlos Macasaet * * 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 ag...
package com.ztesoft.dispatcher.springboot.config.filter; import com.opensymphony.sitemesh.webapp.SiteMeshFilter; import org.springframework.boot.web.servlet.FilterRegistrationBean; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; /** * Description: * 初...
package com.baidu.baidu_mob_stat; import android.content.Context; import androidx.annotation.NonNull; import com.baidu.mobstat.StatService; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import io.flu...
package oisisi.models.parameterTypes; import java.io.Serializable; import javax.swing.JPanel; import javax.swing.JTextField; import oisisi.models.Parameter; public class ParameterOneLineText extends Parameter implements Serializable { private static final long serialVersionUID = -2842236680618166154L; public st...
/* * Copyright 2018-present KunMinX * * 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 ...
package moe.pine.profile.models; import lombok.Getter; import lombok.RequiredArgsConstructor; @RequiredArgsConstructor public enum Page { INDEX("index", "/", "トップページ", "Top Page"), PROGRAM("program", "/program", "プログラミング", "Programming"), ANIME("anime", "/anime", "アニメ", "Anime"), LIGHT_NOVEL("light_no...
/** * Copyright (c) 2017 Ariel Favio Carrizo * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list o...
package net.minecraft.network.protocol.game; import com.google.common.collect.ImmutableList; import com.google.common.collect.Lists; import java.util.List; import java.util.Optional; import net.minecraft.network.FriendlyByteBuf; import net.minecraft.network.protocol.Packet; public class ServerboundEditBookPacket impl...
package org.hl7.fhir.convertors.conv40_50.resources40_50; import org.hl7.fhir.convertors.context.ConversionContext40_50; import org.hl7.fhir.convertors.conv40_50.datatypes40_50.general40_50.Annotation40_50; import org.hl7.fhir.convertors.conv40_50.datatypes40_50.general40_50.CodeableConcept40_50; import org.hl7.fhir.c...
/* * 03/21/2010 * * Copyright (C) 2010 Robert Futrell * robert_futrell at users.sourceforge.net * http://fifesoft.com/rsyntaxtextarea * * This library is distributed under a modified BSD license. See the included * RSTALanguageSupport.License.txt file for details. */ package org.fife.rsta.ac; import java.bea...
package seedu.restaurant.commons.core; import java.util.logging.Logger; import com.google.common.eventbus.EventBus; import seedu.restaurant.commons.events.BaseEvent; /** * Manages the event dispatching of the app. */ public class EventsCenter { private static final Logger logger = LogsCenter.getLogger(EventsC...
package com.jowney.player.player; import android.content.Context; /** * 此接口使用方法: * 1.继承{@link AbstractPlayer}扩展自己的播放器。 * 2.继承此接口并实现{@link #createPlayer(Context)},返回步骤1中的播放器。 * 可参照{@link AndroidMediaPlayer}和{@link AndroidMediaPlayerFactory}的实现。 */ public abstract class PlayerFactory<P extends AbstractPlayer> { ...
package com.anlia.recyclerviews; import org.junit.Test; import static org.junit.Assert.*; /** * Example local unit test, which will execute on the development machine (host). * * @see <a href="http://d.android.com/tools/testing">Testing documentation</a> */ public class ExampleUnitTest { @Test public voi...
//,temp,sample_935.java,2,12,temp,sample_3450.java,2,10 //,3 public class xxx { private ProtocolType createProxy(final LlapNodeId nodeId, Token<TokenType> nodeToken) { if (nodeToken == null && token == null) { if (LOG.isDebugEnabled()) { log.info("creating a client without a token for"); } } } };
//************************************** // Name: Snow Particles Animation // Description: This is the simple program which helps a newbie to understand the concept of particles in Animation field. // By: Deepak Monster //************************************** import javax.swing.*; import java.awt.*; import java.awt.e...
package com.wwpass.cas.support.authentication.credential; import org.jasig.cas.authentication.UsernamePasswordCredential; import javax.validation.constraints.NotNull; /** * WwpassWithUsernamePasswordCredentials.java * * @author Stanislav Panyushkin <s.panyushkin@wwpass.com> * <p/> * Licensed und...
/* * Copyright © 2017 camunda services GmbH (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.0 * * Unless required ...
package com.ashish; import org.testng.annotations.BeforeMethod; import org.testng.annotations.Test; /** * <B>Cracking The Coding Interview : Edition : 6</B> * <p> * 8.3 * <p> * <B>Magic Index:</B> * <p> * A magic index in an array A[ 1 ... n-1] is defined to be an index such that A[i] = i. * Given a sorted ar...
/* * Copyright 2008 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/automl/v1beta1/service.proto package com.google.cloud.automl.v1beta1; /** * * * <pre> * Request message for [AutoMl.GetModelEvaluation][google.cloud.automl.v1beta1.AutoMl.GetModelEvaluation]. * </pre> * * Protobuf type {@code g...
/* * Copyright 2016 akashche at redhat.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 applicable law or agr...